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

841 lines
3.8 MiB

This file contains invisible Unicode characters!

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

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

(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+BJd":function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("6MrE"),g=d.n(b)},"+QRC":function(k,B,d){"use strict";var w=d("E9nw"),A={"text/plain":"Text","text/html":"Url",default:"Text"},b="Copy to clipboard: #{key}, Enter";function g(f){var l=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return f.replace(/#{\s*key\s*}/g,l)}function v(f,l){var u,o,e,n,i,r,s=!1;l||(l={}),u=l.debug||!1;try{e=w(),n=document.createRange(),i=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(a){if(a.stopPropagation(),l.format)if(a.preventDefault(),typeof a.clipboardData=="undefined"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var c=A[l.format]||A.default;window.clipboardData.setData(c,f)}else a.clipboardData.clearData(),a.clipboardData.setData(l.format,f);l.onCopy&&(a.preventDefault(),l.onCopy(a.clipboardData))}),document.body.appendChild(r),n.selectNodeContents(r),i.addRange(n);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");s=!0}catch(a){u&&console.error("unable to copy using execCommand: ",a),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(l.format||"text",f),l.onCopy&&l.onCopy(window.clipboardData),s=!0}catch(c){u&&console.error("unable to copy using clipboardData: ",c),u&&console.error("falling back to prompt"),o=g("message"in l?l.message:b),window.prompt(o,f)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(n):i.removeAllRanges()),r&&document.body.removeChild(r),e()}return s}k.exports=v},"+TT/":function(k,B,d){var w=d("bYtY"),A=d("mFDi"),b=d("OELB"),g=b.parsePercent,v=d("7aKB"),f=w.each,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function o(m,S,y,x,C){var T=0,_=0;x==null&&(x=Infinity),C==null&&(C=Infinity);var E=0;S.eachChild(function(I,L){var D=I.position,F=I.getBoundingRect(),N=S.childAt(L+1),P=N&&N.getBoundingRect(),W,R;if(m==="horizontal"){var j=F.width+(P?-P.x+F.x:0);W=T+j,W>x||I.newline?(T=0,W=j,_+=E+y,E=F.height):E=Math.max(E,F.height)}else{var H=F.height+(P?-P.y+F.y:0);R=_+H,R>C||I.newline?(T+=E+y,_=0,R=H,E=F.width):E=Math.max(E,F.width)}if(I.newline)return;D[0]=T,D[1]=_,m==="horizontal"?T=W+y:_=R+y})}var e=o,n=w.curry(o,"vertical"),i=w.curry(o,"horizontal");function r(m,S,y){var x=S.width,C=S.height,T=g(m.x,x),_=g(m.y,C),E=g(m.x2,x),I=g(m.y2,C);return(isNaN(T)||isNaN(parseFloat(m.x)))&&(T=0),(isNaN(E)||isNaN(parseFloat(m.x2)))&&(E=x),(isNaN(_)||isNaN(parseFloat(m.y)))&&(_=0),(isNaN(I)||isNaN(parseFloat(m.y2)))&&(I=C),y=v.normalizeCssArray(y||0),{width:Math.max(E-T-y[1]-y[3],0),height:Math.max(I-_-y[0]-y[2],0)}}function s(m,S,y){y=v.normalizeCssArray(y||0);var x=S.width,C=S.height,T=g(m.left,x),_=g(m.top,C),E=g(m.right,x),I=g(m.bottom,C),L=g(m.width,x),D=g(m.height,C),F=y[2]+y[0],N=y[1]+y[3],P=m.aspect;isNaN(L)&&(L=x-E-N-T),isNaN(D)&&(D=C-I-F-_),P!=null&&(isNaN(L)&&isNaN(D)&&(P>x/C?L=x*.8:D=C*.8),isNaN(L)&&(L=P*D),isNaN(D)&&(D=L/P)),isNaN(T)&&(T=x-E-L-N),isNaN(_)&&(_=C-I-D-F);switch(m.left||m.right){case"center":T=x/2-L/2-y[3];break;case"right":T=x-L-N;break}switch(m.top||m.bottom){case"middle":case"center":_=C/2-D/2-y[0];break;case"bottom":_=C-D-F;break}T=T||0,_=_||0,isNaN(L)&&(L=x-N-T-(E||0)),isNaN(D)&&(D=C-F-_-(I||0));var W=new A(T+y[3],_+y[0],L,D);return W.margin=y,W}function t(m,S,y,x,C){var T=!C||!C.hv||C.hv[0],_=!C||!C.hv||C.hv[1],E=C&&C.boundingMode||"all";if(!T&&!_)return;var I;if(E==="raw")I=m.type==="group"?new A(0,0,+S.width||0,+S.height||0):m.getBoundingRect();else if(I=m.getBoundingRect(),m.needLocalTransform()){var L=m.getLocalTransform();I=I.clone(),I.applyTransform(L)}S=s(w.defaults({width:I.width,height:I.height},S),y,x);var D=m.position,F=T?S.x-I.x:0,N=_?S.y-I.y:0;m.attr("position",E==="raw"?[F,N]:[D[0]+F,D[1]+N])}function a(m,S){return m[u[S][0]]!=null||m[u[S][1]]!=null&&m[u[S][2]]!=null}function c(m,S,y){!w.isObject(y)&&(y={});var x=y.ignoreSize;!w.isArray(x)&&(x=[x,x]);var C=_(u[0],0),T=_(u[1],1);L(u[0],m,C),L(u[1],m,T);function _(D,F){var N={},P=0,W={},R=0,j=2;if(f(D,function(U){W[U]=m[U]}),f(D,function(U){E(S,U)&&(N[U]=W[U]=S[U]),I(N,U)&&P++,I(W,U)&&R++}),x[F])return I(S,D[1])?W[D[2]]=null:I(S,D[2])&&(W[D[1]]=null),W;if(R===j||!P)return W;if(P>=j)return N;for(var H=0;H<D.length;H++){var K=D[H];if(!E(N,K)&&E(m,K)){N[K]=m[K];break}}return N}function E(D,F){return D.hasOwnProperty(F)}function I(D,F){return D[F]!=null&&D[F]!=="auto"}function L(D,F,N){f(D,function(P){F[P]=N[P]})}}function h(m){return p({},m)}function p(m,S){return S&&m&&f(l,function(y){S.hasOwnProperty(y)&&(m[y]=S[y])}),m}B.LOCATION_PARAMS=l,B.HV_NAMES=u,B.box=e,B.vbox=n,B.hbox=i,B.getAvailableSize=r,B.getLayoutRect=s,B.positionElement=t,B.sizeCalculable=a,B.mergeLayoutParam=c,B.getLayoutParams=h,B.copyLayoutParams=p},"+eQT":function(k,B,d){"use strict";var w=d("wd/R"),A=d.n(w),b=d("Kwbf"),g={getNow:function(){return A()()},getFixedDate:function(kt){return A()(kt,"YYYY-MM-DD")},getEndDate:function(kt){var or=kt.clone();return or.endOf("month")},getWeekDay:function(kt){var or=kt.clone().locale("en_US");return or.weekday()+or.localeData().firstDayOfWeek()},getYear:function(kt){return kt.year()},getMonth:function(kt){return kt.month()},getDate:function(kt){return kt.date()},getHour:function(kt){return kt.hour()},getMinute:function(kt){return kt.minute()},getSecond:function(kt){return kt.second()},addYear:function(kt,or){var tr=kt.clone();return tr.add(or,"year")},addMonth:function(kt,or){var tr=kt.clone();return tr.add(or,"month")},addDate:function(kt,or){var tr=kt.clone();return tr.add(or,"day")},setYear:function(kt,or){var tr=kt.clone();return tr.year(or)},setMonth:function(kt,or){var tr=kt.clone();return tr.month(or)},setDate:function(kt,or){var tr=kt.clone();return tr.date(or)},setHour:function(kt,or){var tr=kt.clone();return tr.hour(or)},setMinute:function(kt,or){var tr=kt.clone();return tr.minute(or)},setSecond:function(kt,or){var tr=kt.clone();return tr.second(or)},isAfter:function(kt,or){return kt.isAfter(or)},isValidate:function(kt){return kt.isValid()},locale:{getWeekFirstDay:function(kt){var or=A()().locale(kt);return or.localeData().firstDayOfWeek()},getWeekFirstDate:function(kt,or){var tr=or.clone(),Or=tr.locale(kt);return Or.weekday(0)},getWeek:function(kt,or){var tr=or.clone(),Or=tr.locale(kt);return Or.week()},getShortWeekDays:function(kt){var or=A()().locale(kt);return or.localeData().weekdaysMin()},getShortMonths:function(kt){var or=A()().locale(kt);return or.localeData().monthsShort()},format:function(kt,or,tr){var Or=or.clone(),wr=Or.locale(kt);return wr.format(tr)},parse:function(kt,or,tr){for(var Or=[],wr=0;wr<tr.length;wr+=1){var Xr=tr[wr],Qr=or;if(Xr.includes("wo")||Xr.includes("Wo")){Xr=Xr.replace(/wo/g,"w").replace(/Wo/g,"W");var cn=Xr.match(/[-YyMmDdHhSsWwGg]+/g),Ln=Qr.match(/[-\d]+/g);cn&&Ln?(Xr=cn.join(""),Qr=Ln.join("")):Or.push(Xr.replace(/o/g,""))}var Cn=A()(Qr,Xr,kt,!0);if(Cn.isValid())return Cn}for(var Bn=0;Bn<Or.length;Bn+=1){var nn=A()(or,Or[Bn],kt,!1);if(nn.isValid())return Object(b.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),nn}return null}}},v=g,f=d("wx14"),l=d("q1tI"),u=d("2/Rp");function o($e){return l.createElement(u.a,Object(f.a)({size:"small",type:"primary"},$e))}var e=d("mr32");function n($e){return l.createElement(e.a,Object(f.a)({color:"blue"},$e))}var i=d("rePB"),r=d("1OyB"),s=d("vuIU"),t=d("Ji7U"),a=d("LK+K"),c=d("TSYQ"),h=d.n(c),p=d("VTBJ"),m={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"},S=m,y=d("6VBw"),x=function(kt,or){return l.createElement(y.a,Object(p.a)(Object(p.a)({},kt),{},{ref:or,icon:S}))};x.displayName="CalendarOutlined";var C=l.forwardRef(x),T={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"},_=T,E=function(kt,or){return l.createElement(y.a,Object(p.a)(Object(p.a)({},kt),{},{ref:or,icon:_}))};E.displayName="ClockCircleOutlined";var I=l.forwardRef(E),L=d("jN4g"),D=d("ODXe"),F=d("6cGi"),N=d("U8pU"),P=d("4IlW"),W=l.createContext({}),R=W,j={visibility:"hidden"};function H($e){var kt=$e.prefixCls,or=$e.prevIcon,tr=or===void 0?"\u2039":or,Or=$e.nextIcon,wr=Or===void 0?"\u203A":Or,Xr=$e.superPrevIcon,Qr=Xr===void 0?"\xAB":Xr,cn=$e.superNextIcon,Ln=cn===void 0?"\xBB":cn,Cn=$e.onSuperPrev,Bn=$e.onSuperNext,nn=$e.onPrev,Dn=$e.onNext,hn=$e.children,An=l.useContext(R),xn=An.hideNextBtn,Rn=An.hidePrevBtn;return l.createElement("div",{className:kt},Cn&&l.createElement("button",{type:"button",onClick:Cn,tabIndex:-1,className:"".concat(kt,"-super-prev-btn"),style:Rn?j:{}},Qr),nn&&l.createElement("button",{type:"button",onClick:nn,tabIndex:-1,className:"".concat(kt,"-prev-btn"),style:Rn?j:{}},tr),l.createElement("div",{className:"".concat(kt,"-view")},hn),Dn&&l.createElement("button",{type:"button",onClick:Dn,tabIndex:-1,className:"".concat(kt,"-next-btn"),style:xn?j:{}},wr),Bn&&l.createElement("button",{type:"button",onClick:Bn,tabIndex:-1,className:"".concat(kt,"-super-next-btn"),style:xn?j:{}},Ln))}var K=H;function U($e){var kt=$e.prefixCls,or=$e.generateConfig,tr=$e.viewDate,Or=$e.onPrevDecades,wr=$e.onNextDecades,Xr=l.useContext(R),Qr=Xr.hideHeader;if(Qr)return null;var cn="".concat(kt,"-header"),Ln=or.getYear(tr),Cn=Math.floor(Ln/St)*St,Bn=Cn+St-1;return l.createElement(K,Object(f.a)({},$e,{prefixCls:cn,onSuperPrev:Or,onSuperNext:wr}),Cn,"-",Bn)}var G=U;function z($e,kt,or,tr,Or){var wr=$e.setHour(kt,or);return wr=$e.setMinute(wr,tr),wr=$e.setSecond(wr,Or),wr}function Y($e,kt,or){if(!or)return kt;var tr=kt;return tr=$e.setHour(tr,$e.getHour(or)),tr=$e.setMinute(tr,$e.getMinute(or)),tr=$e.setSecond(tr,$e.getSecond(or)),tr}function q($e,kt,or,tr,Or,wr){var Xr=Math.floor($e/tr)*tr;if(Xr<$e)return[Xr,60-Or,60-wr];var Qr=Math.floor(kt/Or)*Or;if(Qr<kt)return[Xr,Qr,60-wr];var cn=Math.floor(or/wr)*wr;return[Xr,Qr,cn]}function oe($e,kt){var or=$e.getYear(kt),tr=$e.getMonth(kt)+1,Or=$e.getEndDate($e.getFixedDate("".concat(or,"-").concat(tr,"-01"))),wr=$e.getDate(Or),Xr=tr<10?"0".concat(tr):"".concat(tr);return"".concat(or,"-").concat(Xr,"-").concat(wr)}function ie($e){for(var kt=$e.prefixCls,or=$e.disabledDate,tr=$e.onSelect,Or=$e.picker,wr=$e.rowNum,Xr=$e.colNum,Qr=$e.prefixColumn,cn=$e.rowClassName,Ln=$e.baseDate,Cn=$e.getCellClassName,Bn=$e.getCellText,nn=$e.getCellNode,Dn=$e.getCellDate,hn=$e.generateConfig,An=$e.titleCell,xn=$e.headerCells,Rn=l.useContext(R),ui=Rn.onDateMouseEnter,gi=Rn.onDateMouseLeave,Fi=Rn.mode,di="".concat(kt,"-cell"),ii=[],Yi=0;Yi<wr;Yi+=1){for(var _i=[],Mi=void 0,Bi=function(Ma){var La,fa=Yi*Xr+Ma,xa=Dn(Ln,fa),ea=jt({cellDate:xa,mode:Fi,disabledDate:or,generateConfig:hn});Ma===0&&(Mi=xa,Qr&&_i.push(Qr(Mi)));var ya=An&&An(xa);_i.push(l.createElement("td",{key:Ma,title:ya,className:h()(di,Object(p.a)((La={},Object(i.a)(La,"".concat(di,"-disabled"),ea),Object(i.a)(La,"".concat(di,"-start"),Bn(xa)===1||Or==="year"&&Number(ya)%10===0),Object(i.a)(La,"".concat(di,"-end"),ya===oe(hn,xa)||Or==="year"&&Number(ya)%10===9),La),Cn(xa))),onClick:function(){ea||tr(xa)},onMouseEnter:function(){!ea&&ui&&ui(xa)},onMouseLeave:function(){!ea&&gi&&gi(xa)}},nn?nn(xa):l.createElement("div",{className:"".concat(di,"-inner")},Bn(xa))))},Zi=0;Zi<Xr;Zi+=1)Bi(Zi);ii.push(l.createElement("tr",{key:Yi,className:cn&&cn(Mi)},_i))}return l.createElement("div",{className:"".concat(kt,"-body")},l.createElement("table",{className:"".concat(kt,"-content")},xn&&l.createElement("thead",null,l.createElement("tr",null,xn)),l.createElement("tbody",null,ii)))}var se=3,he=4;function pe($e){var kt=Ne-1,or=$e.prefixCls,tr=$e.viewDate,Or=$e.generateConfig,wr="".concat(or,"-cell"),Xr=Or.getYear(tr),Qr=Math.floor(Xr/Ne)*Ne,cn=Math.floor(Xr/St)*St,Ln=cn+St-1,Cn=Or.setYear(tr,cn-Math.ceil((se*he*Ne-St)/2)),Bn=function(Dn){var hn,An=Or.getYear(Dn),xn=An+kt;return hn={},Object(i.a)(hn,"".concat(wr,"-in-view"),cn<=An&&xn<=Ln),Object(i.a)(hn,"".concat(wr,"-selected"),An===Qr),hn};return l.createElement(ie,Object(f.a)({},$e,{rowNum:he,colNum:se,baseDate:Cn,getCellText:function(Dn){var hn=Or.getYear(Dn);return"".concat(hn,"-").concat(hn+kt)},getCellClassName:Bn,getCellDate:function(Dn,hn){return Or.addYear(Dn,hn*Ne)}}))}var _e=pe,De=d("KQm4"),Xe=d("wgJM"),J=d("x/xZ"),Ee=new Map;function qe($e,kt){var or;function tr(){Object(J.a)($e)?kt():or=Object(Xe.a)(function(){tr()})}return tr(),function(){Xe.a.cancel(or)}}function ae($e,kt,or){if(Ee.get($e)&&cancelAnimationFrame(Ee.get($e)),or<=0){Ee.set($e,requestAnimationFrame(function(){$e.scrollTop=kt}));return}var tr=kt-$e.scrollTop,Or=tr/or*10;Ee.set($e,requestAnimationFrame(function(){$e.scrollTop+=Or,$e.scrollTop!==kt&&ae($e,kt,or-10)}))}function V($e,kt){var or=kt.onLeftRight,tr=kt.onCtrlLeftRight,Or=kt.onUpDown,wr=kt.onPageUpDown,Xr=kt.onEnter,Qr=$e.which,cn=$e.ctrlKey,Ln=$e.metaKey;switch(Qr){case P.a.LEFT:if(cn||Ln){if(tr)return tr(-1),!0}else if(or)return or(-1),!0;break;case P.a.RIGHT:if(cn||Ln){if(tr)return tr(1),!0}else if(or)return or(1),!0;break;case P.a.UP:if(Or)return Or(-1),!0;break;case P.a.DOWN:if(Or)return Or(1),!0;break;case P.a.PAGE_UP:if(wr)return wr(-1),!0;break;case P.a.PAGE_DOWN:if(wr)return wr(1),!0;break;case P.a.ENTER:if(Xr)return Xr(),!0;break}return!1}function X($e,kt,or,tr){var Or=$e;if(!Or)switch(kt){case"time":Or=tr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Or="gggg-wo";break;case"month":Or="YYYY-MM";break;case"quarter":Or="YYYY-[Q]Q";break;case"year":Or="YYYY";break;default:Or=or?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Or}function Z($e,kt,or){var tr=$e==="time"?8:10,Or=typeof kt=="function"?kt(or.getNow()).length:kt.length;return Math.max(tr,Or)+2}var ge=null,le=new Set;function Se($e){return!ge&&typeof window!="undefined"&&window.addEventListener&&(ge=function(or){Object(De.a)(le).forEach(function(tr){tr(or)})},window.addEventListener("mousedown",ge)),le.add($e),function(){le.delete($e),le.size===0&&(window.removeEventListener("mousedown",ge),ge=null)}}function me($e){var kt=$e.target;if($e.composed&&kt.shadowRoot){var or;return((or=$e.composedPath)===null||or===void 0?void 0:or.call($e)[0])||kt}return kt}var $=function(kt){return kt==="month"||kt==="date"?"year":kt},we=function(kt){return kt==="date"?"month":kt},xe=function(kt){return kt==="month"||kt==="date"?"quarter":kt},We=function(kt){return kt==="date"?"week":kt},st={year:$,month:we,quarter:xe,week:We,time:null,date:null};function nt($e,kt){return $e.some(function(or){return or&&or.contains(kt)})}var Ne=10,St=Ne*10;function Ye($e){var kt=$e.prefixCls,or=$e.onViewDateChange,tr=$e.generateConfig,Or=$e.viewDate,wr=$e.operationRef,Xr=$e.onSelect,Qr=$e.onPanelChange,cn="".concat(kt,"-decade-panel");wr.current={onKeyDown:function(nn){return V(nn,{onLeftRight:function(hn){Xr(tr.addYear(Or,hn*Ne),"key")},onCtrlLeftRight:function(hn){Xr(tr.addYear(Or,hn*St),"key")},onUpDown:function(hn){Xr(tr.addYear(Or,hn*Ne*se),"key")},onEnter:function(){Qr("year",Or)}})}};var Ln=function(nn){var Dn=tr.addYear(Or,nn*St);or(Dn),Qr(null,Dn)},Cn=function(nn){Xr(nn,"mouse"),Qr("year",nn)};return l.createElement("div",{className:cn},l.createElement(G,Object(f.a)({},$e,{prefixCls:kt,onPrevDecades:function(){Ln(-1)},onNextDecades:function(){Ln(1)}})),l.createElement(_e,Object(f.a)({},$e,{prefixCls:kt,onSelect:Cn})))}var vt=Ye,It=7;function Ut($e,kt){return!$e&&!kt?!0:!$e||!kt?!1:void 0}function xt($e,kt,or){var tr=Ut(kt,or);if(typeof tr=="boolean")return tr;var Or=Math.floor($e.getYear(kt)/10),wr=Math.floor($e.getYear(or)/10);return Or===wr}function Bt($e,kt,or){var tr=Ut(kt,or);return typeof tr=="boolean"?tr:$e.getYear(kt)===$e.getYear(or)}function Qe($e,kt){var or=Math.floor($e.getMonth(kt)/3);return or+1}function te($e,kt,or){var tr=Ut(kt,or);return typeof tr=="boolean"?tr:Bt($e,kt,or)&&Qe($e,kt)===Qe($e,or)}function Q($e,kt,or){var tr=Ut(kt,or);return typeof tr=="boolean"?tr:Bt($e,kt,or)&&$e.getMonth(kt)===$e.getMonth(or)}function Me($e,kt,or){var tr=Ut(kt,or);return typeof tr=="boolean"?tr:$e.getYear(kt)===$e.getYear(or)&&$e.getMonth(kt)===$e.getMonth(or)&&$e.getDate(kt)===$e.getDate(or)}function Ce($e,kt,or){var tr=Ut(kt,or);return typeof tr=="boolean"?tr:$e.getHour(kt)===$e.getHour(or)&&$e.getMinute(kt)===$e.getMinute(or)&&$e.getSecond(kt)===$e.getSecond(or)}function ue($e,kt,or,tr){var Or=Ut(or,tr);return typeof Or=="boolean"?Or:$e.locale.getWeek(kt,or)===$e.locale.getWeek(kt,tr)}function ot($e,kt,or){return Me($e,kt,or)&&Ce($e,kt,or)}function rt($e,kt,or,tr){return!kt||!or||!tr?!1:!Me($e,kt,tr)&&!Me($e,or,tr)&&$e.isAfter(tr,kt)&&$e.isAfter(or,tr)}function Ue($e,kt,or){var tr=kt.locale.getWeekFirstDay($e),Or=kt.setDate(or,1),wr=kt.getWeekDay(Or),Xr=kt.addDate(Or,tr-wr);return kt.getMonth(Xr)===kt.getMonth(or)&&kt.getDate(Xr)>1&&(Xr=kt.addDate(Xr,-7)),Xr}function Ge($e,kt,or){var tr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(kt){case"year":return or.addYear($e,tr*10);case"quarter":case"month":return or.addYear($e,tr);default:return or.addMonth($e,tr)}}function tt($e,kt){var or=kt.generateConfig,tr=kt.locale,Or=kt.format;return typeof Or=="function"?Or($e):or.locale.format(tr.locale,$e,Or)}function Wt($e,kt){var or=kt.generateConfig,tr=kt.locale,Or=kt.formatList;return!$e||typeof Or[0]=="function"?null:or.locale.parse(tr.locale,$e,Or)}function jt($e){var kt=$e.cellDate,or=$e.mode,tr=$e.disabledDate,Or=$e.generateConfig;if(!tr)return!1;var wr=function(hn,An,xn){for(var Rn=An;Rn<=xn;){var ui=void 0;switch(hn){case"date":{if(ui=Or.setDate(kt,Rn),!tr(ui))return!1;break}case"month":{if(ui=Or.setMonth(kt,Rn),!jt({cellDate:ui,mode:"month",generateConfig:Or,disabledDate:tr}))return!1;break}case"year":{if(ui=Or.setYear(kt,Rn),!jt({cellDate:ui,mode:"year",generateConfig:Or,disabledDate:tr}))return!1;break}}Rn+=1}return!0};switch(or){case"date":case"week":return tr(kt);case"month":{var Xr=1,Qr=Or.getDate(Or.getEndDate(kt));return wr("date",Xr,Qr)}case"quarter":{var cn=Math.floor(Or.getMonth(kt)/3)*3,Ln=cn+2;return wr("month",cn,Ln)}case"year":return wr("month",0,11);case"decade":{var Cn=Or.getYear(kt),Bn=Math.floor(Cn/Ne)*Ne,nn=Bn+Ne-1;return wr("year",Bn,nn)}}}function Yt($e){var kt=l.useContext(R),or=kt.hideHeader;if(or)return null;var tr=$e.prefixCls,Or=$e.generateConfig,wr=$e.locale,Xr=$e.value,Qr=$e.format,cn="".concat(tr,"-header");return l.createElement(K,{prefixCls:cn},Xr?tt(Xr,{locale:wr,format:Qr,generateConfig:Or}):"\xA0")}var Tt=Yt,Rt=d("YrtM");function yt($e){var kt=$e.prefixCls,or=$e.units,tr=$e.onSelect,Or=$e.value,wr=$e.active,Xr=$e.hideDisabledOptions,Qr="".concat(kt,"-cell"),cn=l.useContext(R),Ln=cn.open,Cn=Object(l.useRef)(null),Bn=Object(l.useRef)(new Map),nn=Object(l.useRef)();return Object(l.useLayoutEffect)(function(){var Dn=Bn.current.get(Or);Dn&&Ln!==!1&&ae(Cn.current,Dn.offsetTop,120)},[Or]),Object(l.useLayoutEffect)(function(){if(Ln){var Dn=Bn.current.get(Or);Dn&&(nn.current=qe(Dn,function(){ae(Cn.current,Dn.offsetTop,0)}))}return function(){var hn;(hn=nn.current)===null||hn===void 0||hn.call(nn)}},[Ln]),l.createElement("ul",{className:h()("".concat(kt,"-column"),Object(i.a)({},"".concat(kt,"-column-active"),wr)),ref:Cn,style:{position:"relative"}},or.map(function(Dn){var hn;return Xr&&Dn.disabled?null:l.createElement("li",{key:Dn.value,ref:function(xn){Bn.current.set(Dn.value,xn)},className:h()(Qr,(hn={},Object(i.a)(hn,"".concat(Qr,"-disabled"),Dn.disabled),Object(i.a)(hn,"".concat(Qr,"-selected"),Or===Dn.value),hn)),onClick:function(){if(Dn.disabled)return;tr(Dn.value)}},l.createElement("div",{className:"".concat(Qr,"-inner")},Dn.label))}))}var Jt=yt;function Lr($e,kt){for(var or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",tr=String($e);tr.length<kt;)tr="".concat(or).concat($e);return tr}var zr=function(){for(var kt=arguments.length,or=new Array(kt),tr=0;tr<kt;tr++)or[tr]=arguments[tr];return or};function rn($e){return $e==null?[]:Array.isArray($e)?$e:[$e]}function ei($e){var kt={};return Object.keys($e).forEach(function(or){(or.substr(0,5)==="data-"||or.substr(0,5)==="aria-"||or==="role"||or==="name")&&or.substr(0,7)!=="data-__"&&(kt[or]=$e[or])}),kt}function fn($e,kt){return $e?$e[kt]:null}function Zr($e,kt,or){var tr=[fn($e,0),fn($e,1)];return tr[or]=typeof kt=="function"?kt(tr[or]):kt,!tr[0]&&!tr[1]?null:tr}function bt($e,kt){if($e.length!==kt.length)return!0;for(var or=0;or<$e.length;or+=1)if($e[or].disabled!==kt[or].disabled)return!0;return!1}function ut($e,kt,or,tr){for(var Or=[],wr=$e;wr<=kt;wr+=or)Or.push({label:Lr(wr,2),value:wr,disabled:(tr||[]).includes(wr)});return Or}function Oe($e){var kt=$e.generateConfig,or=$e.prefixCls,tr=$e.operationRef,Or=$e.activeColumnIndex,wr=$e.value,Xr=$e.showHour,Qr=$e.showMinute,cn=$e.showSecond,Ln=$e.use12Hours,Cn=$e.hourStep,Bn=Cn===void 0?1:Cn,nn=$e.minuteStep,Dn=nn===void 0?1:nn,hn=$e.secondStep,An=hn===void 0?1:hn,xn=$e.disabledHours,Rn=$e.disabledMinutes,ui=$e.disabledSeconds,gi=$e.hideDisabledOptions,Fi=$e.onSelect,di=[],ii="".concat(or,"-content"),Yi="".concat(or,"-time-panel"),_i,Mi=wr?kt.getHour(wr):-1,Bi=Mi,Zi=wr?kt.getMinute(wr):-1,da=wr?kt.getSecond(wr):-1,Ma=function(Xi,Gi,Ta,ka){var ha=wr||kt.getNow(),Ua=Math.max(0,Gi),ao=Math.max(0,Ta),Ao=Math.max(0,ka);return ha=z(kt,ha,!Ln||!Xi?Ua:Ua+12,ao,Ao),ha},La=ut(0,23,Bn,xn&&xn()),fa=Object(Rt.a)(function(){return La},La,bt);Ln&&(_i=Bi>=12,Bi%=12);var xa=l.useMemo(function(){if(!Ln)return[!1,!1];var ta=[!0,!0];return fa.forEach(function(Xi){var Gi=Xi.disabled,Ta=Xi.value;if(Gi)return;Ta>=12?ta[1]=!1:ta[0]=!1}),ta},[Ln,fa]),ea=Object(D.a)(xa,2),ya=ea[0],sa=ea[1],Fa=l.useMemo(function(){return Ln?fa.filter(_i?function(ta){return ta.value>=12}:function(ta){return ta.value<12}).map(function(ta){var Xi=ta.value%12,Gi=Xi===0?"12":Lr(Xi,2);return Object(p.a)(Object(p.a)({},ta),{},{label:Gi,value:Xi})}):fa},[Ln,_i,fa]),uo=ut(0,59,Dn,Rn&&Rn(Mi)),za=ut(0,59,An,ui&&ui(Mi,Zi));tr.current={onUpDown:function(Xi){var Gi=di[Or];if(Gi)for(var Ta=Gi.units.findIndex(function(ao){return ao.value===Gi.value}),ka=Gi.units.length,ha=1;ha<ka;ha+=1){var Ua=Gi.units[(Ta+Xi*ha+ka)%ka];if(Ua.disabled!==!0){Gi.onSelect(Ua.value);break}}}};function Ya(ta,Xi,Gi,Ta,ka){ta!==!1&&di.push({node:l.cloneElement(Xi,{prefixCls:Yi,value:Gi,active:Or===di.length,onSelect:ka,units:Ta,hideDisabledOptions:gi}),onSelect:ka,value:Gi,units:Ta})}Ya(Xr,l.createElement(Jt,{key:"hour"}),Bi,Fa,function(ta){Fi(Ma(_i,ta,Zi,da),"mouse")}),Ya(Qr,l.createElement(Jt,{key:"minute"}),Zi,uo,function(ta){Fi(Ma(_i,Bi,ta,da),"mouse")}),Ya(cn,l.createElement(Jt,{key:"second"}),da,za,function(ta){Fi(Ma(_i,Bi,Zi,ta),"mouse")});var lo=-1;return typeof _i=="boolean"&&(lo=_i?1:0),Ya(Ln===!0,l.createElement(Jt,{key:"12hours"}),lo,[{label:"AM",value:0,disabled:ya},{label:"PM",value:1,disabled:sa}],function(ta){Fi(Ma(!!ta,Bi,Zi,da),"mouse")}),l.createElement("div",{className:ii},di.map(function(ta){var Xi=ta.node;return Xi}))}var be=Oe,Fe=function(kt){return kt.filter(function(or){return or!==!1}).length};function it($e){var kt=$e.generateConfig,or=$e.format,tr=or===void 0?"HH:mm:ss":or,Or=$e.prefixCls,wr=$e.active,Xr=$e.operationRef,Qr=$e.showHour,cn=$e.showMinute,Ln=$e.showSecond,Cn=$e.use12Hours,Bn=Cn===void 0?!1:Cn,nn=$e.onSelect,Dn=$e.value,hn="".concat(Or,"-time-panel"),An=l.useRef(),xn=l.useState(-1),Rn=Object(D.a)(xn,2),ui=Rn[0],gi=Rn[1],Fi=Fe([Qr,cn,Ln,Bn]);return Xr.current={onKeyDown:function(ii){return V(ii,{onLeftRight:function(_i){gi((ui+_i+Fi)%Fi)},onUpDown:function(_i){ui===-1?gi(0):An.current&&An.current.onUpDown(_i)},onEnter:function(){nn(Dn||kt.getNow(),"key"),gi(-1)}})},onBlur:function(){gi(-1)}},l.createElement("div",{className:h()(hn,Object(i.a)({},"".concat(hn,"-active"),wr))},l.createElement(Tt,Object(f.a)({},$e,{format:tr,prefixCls:Or})),l.createElement(be,Object(f.a)({},$e,{prefixCls:Or,activeColumnIndex:ui,operationRef:An})))}var wt=it,nr=l.createContext({}),sr=nr;function Ar($e){var kt=$e.cellPrefixCls,or=$e.generateConfig,tr=$e.rangedValue,Or=$e.hoverRangedValue,wr=$e.isInView,Xr=$e.isSameCell,Qr=$e.offsetCell,cn=$e.today,Ln=$e.value;function Cn(Bn){var nn,Dn=Qr(Bn,-1),hn=Qr(Bn,1),An=fn(tr,0),xn=fn(tr,1),Rn=fn(Or,0),ui=fn(Or,1),gi=rt(or,Rn,ui,Bn);function Fi(Bi){return Xr(An,Bi)}function di(Bi){return Xr(xn,Bi)}var ii=Xr(Rn,Bn),Yi=Xr(ui,Bn),_i=(gi||Yi)&&(!wr(Dn)||di(Dn)),Mi=(gi||ii)&&(!wr(hn)||Fi(hn));return nn={},Object(i.a)(nn,"".concat(kt,"-in-view"),wr(Bn)),Object(i.a)(nn,"".concat(kt,"-in-range"),rt(or,An,xn,Bn)),Object(i.a)(nn,"".concat(kt,"-range-start"),Fi(Bn)),Object(i.a)(nn,"".concat(kt,"-range-end"),di(Bn)),Object(i.a)(nn,"".concat(kt,"-range-start-single"),Fi(Bn)&&!xn),Object(i.a)(nn,"".concat(kt,"-range-end-single"),di(Bn)&&!An),Object(i.a)(nn,"".concat(kt,"-range-start-near-hover"),Fi(Bn)&&(Xr(Dn,Rn)||rt(or,Rn,ui,Dn))),Object(i.a)(nn,"".concat(kt,"-range-end-near-hover"),di(Bn)&&(Xr(hn,ui)||rt(or,Rn,ui,hn))),Object(i.a)(nn,"".concat(kt,"-range-hover"),gi),Object(i.a)(nn,"".concat(kt,"-range-hover-start"),ii),Object(i.a)(nn,"".concat(kt,"-range-hover-end"),Yi),Object(i.a)(nn,"".concat(kt,"-range-hover-edge-start"),_i),Object(i.a)(nn,"".concat(kt,"-range-hover-edge-end"),Mi),Object(i.a)(nn,"".concat(kt,"-range-hover-edge-start-near-range"),_i&&Xr(Dn,xn)),Object(i.a)(nn,"".concat(kt,"-range-hover-edge-end-near-range"),Mi&&Xr(hn,An)),Object(i.a)(nn,"".concat(kt,"-today"),Xr(cn,Bn)),Object(i.a)(nn,"".concat(kt,"-selected"),Xr(Ln,Bn)),nn}return Cn}function Hr($e){var kt=$e.prefixCls,or=$e.generateConfig,tr=$e.prefixColumn,Or=$e.locale,wr=$e.rowCount,Xr=$e.viewDate,Qr=$e.value,cn=$e.dateRender,Ln=l.useContext(sr),Cn=Ln.rangedValue,Bn=Ln.hoverRangedValue,nn=Ue(Or.locale,or,Xr),Dn="".concat(kt,"-cell"),hn=or.locale.getWeekFirstDay(Or.locale),An=or.getNow(),xn=[],Rn=Or.shortWeekDays||(or.locale.getShortWeekDays?or.locale.getShortWeekDays(Or.locale):[]);tr&&xn.push(l.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var ui=0;ui<It;ui+=1)xn.push(l.createElement("th",{key:ui},Rn[(ui+hn)%It]));var gi=Ar({cellPrefixCls:Dn,today:An,value:Qr,generateConfig:or,rangedValue:tr?null:Cn,hoverRangedValue:tr?null:Bn,isSameCell:function(ii,Yi){return Me(or,ii,Yi)},isInView:function(ii){return Q(or,ii,Xr)},offsetCell:function(ii,Yi){return or.addDate(ii,Yi)}}),Fi=cn?function(di){return cn(di,An)}:void 0;return l.createElement(ie,Object(f.a)({},$e,{rowNum:wr,colNum:It,baseDate:nn,getCellNode:Fi,getCellText:or.getDate,getCellClassName:gi,getCellDate:or.addDate,titleCell:function(ii){return tt(ii,{locale:Or,format:"YYYY-MM-DD",generateConfig:or})},headerCells:xn}))}var $r=Hr;function Qt($e){var kt=$e.prefixCls,or=$e.generateConfig,tr=$e.locale,Or=$e.viewDate,wr=$e.onNextMonth,Xr=$e.onPrevMonth,Qr=$e.onNextYear,cn=$e.onPrevYear,Ln=$e.onYearClick,Cn=$e.onMonthClick,Bn=l.useContext(R),nn=Bn.hideHeader;if(nn)return null;var Dn="".concat(kt,"-header"),hn=tr.shortMonths||(or.locale.getShortMonths?or.locale.getShortMonths(tr.locale):[]),An=or.getMonth(Or),xn=l.createElement("button",{type:"button",key:"year",onClick:Ln,tabIndex:-1,className:"".concat(kt,"-year-btn")},tt(Or,{locale:tr,format:tr.yearFormat,generateConfig:or})),Rn=l.createElement("button",{type:"button",key:"month",onClick:Cn,tabIndex:-1,className:"".concat(kt,"-month-btn")},tr.monthFormat?tt(Or,{locale:tr,format:tr.monthFormat,generateConfig:or}):hn[An]),ui=tr.monthBeforeYear?[Rn,xn]:[xn,Rn];return l.createElement(K,Object(f.a)({},$e,{prefixCls:Dn,onSuperPrev:cn,onPrev:Xr,onNext:wr,onSuperNext:Qr}),ui)}var Ot=Qt,Ft=6;function pr($e){var kt=$e.prefixCls,or=$e.panelName,tr=or===void 0?"date":or,Or=$e.keyboardConfig,wr=$e.active,Xr=$e.operationRef,Qr=$e.generateConfig,cn=$e.value,Ln=$e.viewDate,Cn=$e.onViewDateChange,Bn=$e.onPanelChange,nn=$e.onSelect,Dn="".concat(kt,"-").concat(tr,"-panel");Xr.current={onKeyDown:function(Rn){return V(Rn,Object(p.a)({onLeftRight:function(gi){nn(Qr.addDate(cn||Ln,gi),"key")},onCtrlLeftRight:function(gi){nn(Qr.addYear(cn||Ln,gi),"key")},onUpDown:function(gi){nn(Qr.addDate(cn||Ln,gi*It),"key")},onPageUpDown:function(gi){nn(Qr.addMonth(cn||Ln,gi),"key")}},Or))}};var hn=function(Rn){var ui=Qr.addYear(Ln,Rn);Cn(ui),Bn(null,ui)},An=function(Rn){var ui=Qr.addMonth(Ln,Rn);Cn(ui),Bn(null,ui)};return l.createElement("div",{className:h()(Dn,Object(i.a)({},"".concat(Dn,"-active"),wr))},l.createElement(Ot,Object(f.a)({},$e,{prefixCls:kt,value:cn,viewDate:Ln,onPrevYear:function(){hn(-1)},onNextYear:function(){hn(1)},onPrevMonth:function(){An(-1)},onNextMonth:function(){An(1)},onMonthClick:function(){Bn("month",Ln)},onYearClick:function(){Bn("year",Ln)}})),l.createElement($r,Object(f.a)({},$e,{onSelect:function(Rn){return nn(Rn,"mouse")},prefixCls:kt,value:cn,viewDate:Ln,rowCount:Ft})))}var Rr=pr,Pr=zr("date","time");function an($e){var kt=$e.prefixCls,or=$e.operationRef,tr=$e.generateConfig,Or=$e.value,wr=$e.defaultValue,Xr=$e.disabledTime,Qr=$e.showTime,cn=$e.onSelect,Ln="".concat(kt,"-datetime-panel"),Cn=l.useState(null),Bn=Object(D.a)(Cn,2),nn=Bn[0],Dn=Bn[1],hn=l.useRef({}),An=l.useRef({}),xn=Object(N.a)(Qr)==="object"?Object(p.a)({},Qr):{};function Rn(di){var ii=Pr.indexOf(nn)+di,Yi=Pr[ii]||null;return Yi}var ui=function(ii){An.current.onBlur&&An.current.onBlur(ii),Dn(null)};or.current={onKeyDown:function(ii){if(ii.which===P.a.TAB){var Yi=Rn(ii.shiftKey?-1:1);return Dn(Yi),Yi&&ii.preventDefault(),!0}if(nn){var _i=nn==="date"?hn:An;return _i.current&&_i.current.onKeyDown&&_i.current.onKeyDown(ii),!0}return[P.a.LEFT,P.a.RIGHT,P.a.UP,P.a.DOWN].includes(ii.which)?(Dn("date"),!0):!1},onBlur:ui,onClose:ui};var gi=function(ii,Yi){var _i=ii;Yi==="date"&&!Or&&xn.defaultValue?(_i=tr.setHour(_i,tr.getHour(xn.defaultValue)),_i=tr.setMinute(_i,tr.getMinute(xn.defaultValue)),_i=tr.setSecond(_i,tr.getSecond(xn.defaultValue))):Yi==="time"&&!Or&&wr&&(_i=tr.setYear(_i,tr.getYear(wr)),_i=tr.setMonth(_i,tr.getMonth(wr)),_i=tr.setDate(_i,tr.getDate(wr))),cn&&cn(_i,"mouse")},Fi=Xr?Xr(Or||null):{};return l.createElement("div",{className:h()(Ln,Object(i.a)({},"".concat(Ln,"-active"),nn))},l.createElement(Rr,Object(f.a)({},$e,{operationRef:hn,active:nn==="date",onSelect:function(ii){gi(Y(tr,ii,Qr&&Object(N.a)(Qr)==="object"?Qr.defaultValue:null),"date")}})),l.createElement(wt,Object(f.a)({},$e,{format:void 0},xn,Fi,{defaultValue:void 0,operationRef:An,active:nn==="time",onSelect:function(ii){gi(ii,"time")}})))}var Xt=an;function hr($e){var kt=$e.prefixCls,or=$e.generateConfig,tr=$e.locale,Or=$e.value,wr="".concat(kt,"-cell"),Xr=function(Cn){return l.createElement("td",{key:"week",className:h()(wr,"".concat(wr,"-week"))},or.locale.getWeek(tr.locale,Cn))},Qr="".concat(kt,"-week-panel-row"),cn=function(Cn){return h()(Qr,Object(i.a)({},"".concat(Qr,"-selected"),ue(or,tr.locale,Or,Cn)))};return l.createElement(Rr,Object(f.a)({},$e,{panelName:"week",prefixColumn:Xr,rowClassName:cn,keyboardConfig:{onLeftRight:null}}))}var Tr=hr;function Wr($e){var kt=$e.prefixCls,or=$e.generateConfig,tr=$e.locale,Or=$e.viewDate,wr=$e.onNextYear,Xr=$e.onPrevYear,Qr=$e.onYearClick,cn=l.useContext(R),Ln=cn.hideHeader;if(Ln)return null;var Cn="".concat(kt,"-header");return l.createElement(K,Object(f.a)({},$e,{prefixCls:Cn,onSuperPrev:Xr,onSuperNext:wr}),l.createElement("button",{type:"button",onClick:Qr,className:"".concat(kt,"-year-btn")},tt(Or,{locale:tr,format:tr.yearFormat,generateConfig:or})))}var Gr=Wr,Tn=3,gn=4;function In($e){var kt=$e.prefixCls,or=$e.locale,tr=$e.value,Or=$e.viewDate,wr=$e.generateConfig,Xr=$e.monthCellRender,Qr=l.useContext(sr),cn=Qr.rangedValue,Ln=Qr.hoverRangedValue,Cn="".concat(kt,"-cell"),Bn=Ar({cellPrefixCls:Cn,value:tr,generateConfig:wr,rangedValue:cn,hoverRangedValue:Ln,isSameCell:function(xn,Rn){return Q(wr,xn,Rn)},isInView:function(){return!0},offsetCell:function(xn,Rn){return wr.addMonth(xn,Rn)}}),nn=or.shortMonths||(wr.locale.getShortMonths?wr.locale.getShortMonths(or.locale):[]),Dn=wr.setMonth(Or,0),hn=Xr?function(An){return Xr(An,or)}:void 0;return l.createElement(ie,Object(f.a)({},$e,{rowNum:gn,colNum:Tn,baseDate:Dn,getCellNode:hn,getCellText:function(xn){return or.monthFormat?tt(xn,{locale:or,format:or.monthFormat,generateConfig:wr}):nn[wr.getMonth(xn)]},getCellClassName:Bn,getCellDate:wr.addMonth,titleCell:function(xn){return tt(xn,{locale:or,format:"YYYY-MM",generateConfig:wr})}}))}var Fn=In;function Xn($e){var kt=$e.prefixCls,or=$e.operationRef,tr=$e.onViewDateChange,Or=$e.generateConfig,wr=$e.value,Xr=$e.viewDate,Qr=$e.onPanelChange,cn=$e.onSelect,Ln="".concat(kt,"-month-panel");or.current={onKeyDown:function(nn){return V(nn,{onLeftRight:function(hn){cn(Or.addMonth(wr||Xr,hn),"key")},onCtrlLeftRight:function(hn){cn(Or.addYear(wr||Xr,hn),"key")},onUpDown:function(hn){cn(Or.addMonth(wr||Xr,hn*Tn),"key")},onEnter:function(){Qr("date",wr||Xr)}})}};var Cn=function(nn){var Dn=Or.addYear(Xr,nn);tr(Dn),Qr(null,Dn)};return l.createElement("div",{className:Ln},l.createElement(Gr,Object(f.a)({},$e,{prefixCls:kt,onPrevYear:function(){Cn(-1)},onNextYear:function(){Cn(1)},onYearClick:function(){Qr("year",Xr)}})),l.createElement(Fn,Object(f.a)({},$e,{prefixCls:kt,onSelect:function(nn){cn(nn,"mouse"),Qr("date",nn)}})))}var fi=Xn;function pi($e){var kt=$e.prefixCls,or=$e.generateConfig,tr=$e.locale,Or=$e.viewDate,wr=$e.onNextYear,Xr=$e.onPrevYear,Qr=$e.onYearClick,cn=l.useContext(R),Ln=cn.hideHeader;if(Ln)return null;var Cn="".concat(kt,"-header");return l.createElement(K,Object(f.a)({},$e,{prefixCls:Cn,onSuperPrev:Xr,onSuperNext:wr}),l.createElement("button",{type:"button",onClick:Qr,className:"".concat(kt,"-year-btn")},tt(Or,{locale:tr,format:tr.yearFormat,generateConfig:or})))}var bi=pi,et=4,Le=1;function Pe($e){var kt=$e.prefixCls,or=$e.locale,tr=$e.value,Or=$e.viewDate,wr=$e.generateConfig,Xr=l.useContext(sr),Qr=Xr.rangedValue,cn=Xr.hoverRangedValue,Ln="".concat(kt,"-cell"),Cn=Ar({cellPrefixCls:Ln,value:tr,generateConfig:wr,rangedValue:Qr,hoverRangedValue:cn,isSameCell:function(Dn,hn){return te(wr,Dn,hn)},isInView:function(){return!0},offsetCell:function(Dn,hn){return wr.addMonth(Dn,hn*3)}}),Bn=wr.setDate(wr.setMonth(Or,0),1);return l.createElement(ie,Object(f.a)({},$e,{rowNum:Le,colNum:et,baseDate:Bn,getCellText:function(Dn){return tt(Dn,{locale:or,format:or.quarterFormat||"[Q]Q",generateConfig:wr})},getCellClassName:Cn,getCellDate:function(Dn,hn){return wr.addMonth(Dn,hn*3)},titleCell:function(Dn){return tt(Dn,{locale:or,format:"YYYY-[Q]Q",generateConfig:wr})}}))}var je=Pe;function Je($e){var kt=$e.prefixCls,or=$e.operationRef,tr=$e.onViewDateChange,Or=$e.generateConfig,wr=$e.value,Xr=$e.viewDate,Qr=$e.onPanelChange,cn=$e.onSelect,Ln="".concat(kt,"-quarter-panel");or.current={onKeyDown:function(nn){return V(nn,{onLeftRight:function(hn){cn(Or.addMonth(wr||Xr,hn*3),"key")},onCtrlLeftRight:function(hn){cn(Or.addYear(wr||Xr,hn),"key")},onUpDown:function(hn){cn(Or.addYear(wr||Xr,hn),"key")}})}};var Cn=function(nn){var Dn=Or.addYear(Xr,nn);tr(Dn),Qr(null,Dn)};return l.createElement("div",{className:Ln},l.createElement(bi,Object(f.a)({},$e,{prefixCls:kt,onPrevYear:function(){Cn(-1)},onNextYear:function(){Cn(1)},onYearClick:function(){Qr("year",Xr)}})),l.createElement(je,Object(f.a)({},$e,{prefixCls:kt,onSelect:function(nn){cn(nn,"mouse")}})))}var Ve=Je;function Ze($e){var kt=$e.prefixCls,or=$e.generateConfig,tr=$e.viewDate,Or=$e.onPrevDecade,wr=$e.onNextDecade,Xr=$e.onDecadeClick,Qr=l.useContext(R),cn=Qr.hideHeader;if(cn)return null;var Ln="".concat(kt,"-header"),Cn=or.getYear(tr),Bn=Math.floor(Cn/cr)*cr,nn=Bn+cr-1;return l.createElement(K,Object(f.a)({},$e,{prefixCls:Ln,onSuperPrev:Or,onSuperNext:wr}),l.createElement("button",{type:"button",onClick:Xr,className:"".concat(kt,"-decade-btn")},Bn,"-",nn))}var At=Ze,dt=3,Kt=4;function $t($e){var kt=$e.prefixCls,or=$e.value,tr=$e.viewDate,Or=$e.locale,wr=$e.generateConfig,Xr=l.useContext(sr),Qr=Xr.rangedValue,cn=Xr.hoverRangedValue,Ln="".concat(kt,"-cell"),Cn=wr.getYear(tr),Bn=Math.floor(Cn/cr)*cr,nn=Bn+cr-1,Dn=wr.setYear(tr,Bn-Math.ceil((dt*Kt-cr)/2)),hn=function(Rn){var ui=wr.getYear(Rn);return Bn<=ui&&ui<=nn},An=Ar({cellPrefixCls:Ln,value:or,generateConfig:wr,rangedValue:Qr,hoverRangedValue:cn,isSameCell:function(Rn,ui){return Bt(wr,Rn,ui)},isInView:hn,offsetCell:function(Rn,ui){return wr.addYear(Rn,ui)}});return l.createElement(ie,Object(f.a)({},$e,{rowNum:Kt,colNum:dt,baseDate:Dn,getCellText:wr.getYear,getCellClassName:An,getCellDate:wr.addYear,titleCell:function(Rn){return tt(Rn,{locale:Or,format:"YYYY",generateConfig:wr})}}))}var er=$t,cr=10;function Ct($e){var kt=$e.prefixCls,or=$e.operationRef,tr=$e.onViewDateChange,Or=$e.generateConfig,wr=$e.value,Xr=$e.viewDate,Qr=$e.sourceMode,cn=$e.onSelect,Ln=$e.onPanelChange,Cn="".concat(kt,"-year-panel");or.current={onKeyDown:function(Dn){return V(Dn,{onLeftRight:function(An){cn(Or.addYear(wr||Xr,An),"key")},onCtrlLeftRight:function(An){cn(Or.addYear(wr||Xr,An*cr),"key")},onUpDown:function(An){cn(Or.addYear(wr||Xr,An*dt),"key")},onEnter:function(){Ln(Qr==="date"?"date":"month",wr||Xr)}})}};var Bn=function(Dn){var hn=Or.addYear(Xr,Dn*10);tr(hn),Ln(null,hn)};return l.createElement("div",{className:Cn},l.createElement(At,Object(f.a)({},$e,{prefixCls:kt,onPrevDecade:function(){Bn(-1)},onNextDecade:function(){Bn(1)},onDecadeClick:function(){Ln("decade",Xr)}})),l.createElement(er,Object(f.a)({},$e,{prefixCls:kt,onSelect:function(Dn){Ln(Qr==="date"?"date":"month",Dn),cn(Dn,"mouse")}})))}var Nr=Ct;function Zt($e,kt,or){return or?l.createElement("div",{className:"".concat($e,"-footer-extra")},or(kt)):null}function Ir($e){var kt=$e.prefixCls,or=$e.rangeList,tr=or===void 0?[]:or,Or=$e.components,wr=Or===void 0?{}:Or,Xr=$e.needConfirmButton,Qr=$e.onNow,cn=$e.onOk,Ln=$e.okDisabled,Cn=$e.showNow,Bn=$e.locale,nn,Dn;if(tr.length){var hn=wr.rangeItem||"span";nn=l.createElement(l.Fragment,null,tr.map(function(xn){var Rn=xn.label,ui=xn.onClick,gi=xn.onMouseEnter,Fi=xn.onMouseLeave;return l.createElement("li",{key:Rn,className:"".concat(kt,"-preset")},l.createElement(hn,{onClick:ui,onMouseEnter:gi,onMouseLeave:Fi},Rn))}))}if(Xr){var An=wr.button||"button";Qr&&!nn&&Cn!==!1&&(nn=l.createElement("li",{className:"".concat(kt,"-now")},l.createElement("a",{className:"".concat(kt,"-now-btn"),onClick:Qr},Bn.now))),Dn=Xr&&l.createElement("li",{className:"".concat(kt,"-ok")},l.createElement(An,{disabled:Ln,onClick:cn},Bn.ok))}return!nn&&!Dn?null:l.createElement("ul",{className:"".concat(kt,"-ranges")},nn,Dn)}function xr($e){var kt,or=$e.prefixCls,tr=or===void 0?"rc-picker":or,Or=$e.className,wr=$e.style,Xr=$e.locale,Qr=$e.generateConfig,cn=$e.value,Ln=$e.defaultValue,Cn=$e.pickerValue,Bn=$e.defaultPickerValue,nn=$e.disabledDate,Dn=$e.mode,hn=$e.picker,An=hn===void 0?"date":hn,xn=$e.tabIndex,Rn=xn===void 0?0:xn,ui=$e.showNow,gi=$e.showTime,Fi=$e.showToday,di=$e.renderExtraFooter,ii=$e.hideHeader,Yi=$e.onSelect,_i=$e.onChange,Mi=$e.onPanelChange,Bi=$e.onMouseDown,Zi=$e.onPickerValueChange,da=$e.onOk,Ma=$e.components,La=$e.direction,fa=$e.hourStep,xa=fa===void 0?1:fa,ea=$e.minuteStep,ya=ea===void 0?1:ea,sa=$e.secondStep,Fa=sa===void 0?1:sa,uo=An==="date"&&!!gi||An==="time",za=24%xa===0,Ya=60%ya===0,lo=60%Fa===0,ta=l.useContext(R),Xi=ta.operationRef,Gi=ta.panelRef,Ta=ta.onSelect,ka=ta.hideRanges,ha=ta.defaultOpenValue,Ua=l.useContext(sr),ao=Ua.inRange,Ao=Ua.panelPosition,ho=Ua.rangedValue,ro=Ua.hoverRangedValue,qa=l.useRef({}),no=l.useRef(!0),Wi=Object(F.a)(null,{value:cn,defaultValue:Ln,postState:function(Ai){return!Ai&&ha&&An==="time"?ha:Ai}}),Ci=Object(D.a)(Wi,2),Di=Ci[0],ma=Ci[1],ga=Object(F.a)(null,{value:Cn,defaultValue:Bn||Di,postState:function(Ai){var ba=Qr.getNow();return Ai?!Di&&gi?Object(N.a)(gi)==="object"?Y(Qr,Array.isArray(Ai)?Ai[0]:Ai,gi.defaultValue||ba):Ln?Y(Qr,Array.isArray(Ai)?Ai[0]:Ai,Ln):Y(Qr,Array.isArray(Ai)?Ai[0]:Ai,ba):Ai:ba}}),Aa=Object(D.a)(ga,2),wa=Aa[0],la=Aa[1],Hi=function(Ai){la(Ai),Zi&&Zi(Ai)},Ba=function(Ai){var ba=st[An];return ba?ba(Ai):Ai},Ia=Object(F.a)(function(){return An==="time"?"time":Ba("date")},{value:Dn}),fo=Object(D.a)(Ia,2),Na=fo[0],po=fo[1];l.useEffect(function(){po(An)},[An]);var vo=l.useState(function(){return Na}),Ko=Object(D.a)(vo,2),zo=Ko[0],yo=Ko[1],ra=function(Ai,ba){var $a=Ba(Ai||Na);yo(Na),po($a),Mi&&(Na!==$a||ot(Qr,wa,wa))&&Mi(ba,$a)},oo=function(Ai,ba){var $a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Na===An||$a)&&(ma(Ai),Yi&&Yi(Ai),Ta&&Ta(Ai,ba),_i&&!ot(Qr,Ai,Di)&&!(nn==null?void 0:nn(Ai))&&_i(Ai))},to=function(Ai){return qa.current&&qa.current.onKeyDown?([P.a.LEFT,P.a.RIGHT,P.a.UP,P.a.DOWN,P.a.PAGE_UP,P.a.PAGE_DOWN,P.a.ENTER].includes(Ai.which)&&Ai.preventDefault(),qa.current.onKeyDown(Ai)):(Object(b.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Za=function(Ai){qa.current&&qa.current.onBlur&&qa.current.onBlur(Ai)};Xi&&Ao!=="right"&&(Xi.current={onKeyDown:to,onClose:function(){qa.current&&qa.current.onClose&&qa.current.onClose()}}),l.useEffect(function(){cn&&!no.current&&la(cn)},[cn]),l.useEffect(function(){no.current=!1},[]);var Lo,io=Object(p.a)(Object(p.a)({},$e),{},{operationRef:qa,prefixCls:tr,viewDate:wa,value:Di,onViewDateChange:Hi,sourceMode:zo,onPanelChange:ra,disabledDate:nn});delete io.onChange,delete io.onSelect;switch(Na){case"decade":Lo=l.createElement(vt,Object(f.a)({},io,{onSelect:function(Ai,ba){Hi(Ai),oo(Ai,ba)}}));break;case"year":Lo=l.createElement(Nr,Object(f.a)({},io,{onSelect:function(Ai,ba){Hi(Ai),oo(Ai,ba)}}));break;case"month":Lo=l.createElement(fi,Object(f.a)({},io,{onSelect:function(Ai,ba){Hi(Ai),oo(Ai,ba)}}));break;case"quarter":Lo=l.createElement(Ve,Object(f.a)({},io,{onSelect:function(Ai,ba){Hi(Ai),oo(Ai,ba)}}));break;case"week":Lo=l.createElement(Tr,Object(f.a)({},io,{onSelect:function(Ai,ba){Hi(Ai),oo(Ai,ba)}}));break;case"time":delete io.showTime,Lo=l.createElement(wt,Object(f.a)({},io,Object(N.a)(gi)==="object"?gi:null,{onSelect:function(Ai,ba){Hi(Ai),oo(Ai,ba)}}));break;default:gi?Lo=l.createElement(Xt,Object(f.a)({},io,{onSelect:function(Ai,ba){Hi(Ai),oo(Ai,ba)}})):Lo=l.createElement(Rr,Object(f.a)({},io,{onSelect:function(Ai,ba){Hi(Ai),oo(Ai,ba)}}))}var Da,Co,$o=function(){var Ai=Qr.getNow(),ba=q(Qr.getHour(Ai),Qr.getMinute(Ai),Qr.getSecond(Ai),za?xa:1,Ya?ya:1,lo?Fa:1),$a=z(Qr,Ai,ba[0],ba[1],ba[2]);oo($a,"submit")};ka||(Da=Zt(tr,Na,di),Co=Ir({prefixCls:tr,components:Ma,needConfirmButton:uo,okDisabled:!Di||nn&&nn(Di),locale:Xr,showNow:ui,onNow:uo&&$o,onOk:function(){Di&&(oo(Di,"submit",!0),da&&da(Di))}}));var ns;if(Fi&&Na==="date"&&An==="date"&&!gi){var es=Qr.getNow(),va="".concat(tr,"-today-btn"),pa=nn&&nn(es);ns=l.createElement("a",{className:h()(va,pa&&"".concat(va,"-disabled")),"aria-disabled":pa,onClick:function(){pa||oo(es,"mouse",!0)}},Xr.today)}return l.createElement(R.Provider,{value:Object(p.a)(Object(p.a)({},ta),{},{mode:Na,hideHeader:"hideHeader"in $e?ii:ta.hideHeader,hidePrevBtn:ao&&Ao==="right",hideNextBtn:ao&&Ao==="left"})},l.createElement("div",{tabIndex:Rn,className:h()("".concat(tr,"-panel"),Or,(kt={},Object(i.a)(kt,"".concat(tr,"-panel-has-range"),ho&&ho[0]&&ho[1]),Object(i.a)(kt,"".concat(tr,"-panel-has-range-hover"),ro&&ro[0]&&ro[1]),Object(i.a)(kt,"".concat(tr,"-panel-rtl"),La==="rtl"),kt)),style:wr,onKeyDown:to,onBlur:Za,onMouseDown:Bi,ref:Gi},Lo,Da||Co||ns?l.createElement("div",{className:"".concat(tr,"-footer")},Da,Co,ns):null))}var ur=xr,on=d("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 Vn($e){var kt,or=$e.prefixCls,tr=$e.popupElement,Or=$e.popupStyle,wr=$e.visible,Xr=$e.dropdownClassName,Qr=$e.dropdownAlign,cn=$e.transitionName,Ln=$e.getPopupContainer,Cn=$e.children,Bn=$e.range,nn=$e.popupPlacement,Dn=$e.direction,hn="".concat(or,"-dropdown"),An=function(){return nn!==void 0?nn:Dn==="rtl"?"bottomRight":"bottomLeft"};return l.createElement(on.a,{showAction:[],hideAction:[],popupPlacement:An(),builtinPlacements:Yn,prefixCls:hn,popupTransitionName:cn,popup:tr,popupAlign:Qr,popupVisible:wr,popupClassName:h()(Xr,(kt={},Object(i.a)(kt,"".concat(hn,"-range"),Bn),Object(i.a)(kt,"".concat(hn,"-rtl"),Dn==="rtl"),kt)),popupStyle:Or,getPopupContainer:Ln},Cn)}var Wn=Vn;function jn($e){var kt=$e.open,or=$e.value,tr=$e.isClickOutside,Or=$e.triggerOpen,wr=$e.forwardKeyDown,Xr=$e.onKeyDown,Qr=$e.blurToCancel,cn=$e.onSubmit,Ln=$e.onCancel,Cn=$e.onFocus,Bn=$e.onBlur,nn=Object(l.useState)(!1),Dn=Object(D.a)(nn,2),hn=Dn[0],An=Dn[1],xn=Object(l.useState)(!1),Rn=Object(D.a)(xn,2),ui=Rn[0],gi=Rn[1],Fi=Object(l.useRef)(!1),di=Object(l.useRef)(!1),ii=Object(l.useRef)(!1),Yi={onMouseDown:function(){An(!0),Or(!0)},onKeyDown:function(Mi){var Bi=function(){ii.current=!0};if(Xr(Mi,Bi),ii.current)return;switch(Mi.which){case P.a.ENTER:{kt?cn()!==!1&&An(!0):Or(!0),Mi.preventDefault();return}case P.a.TAB:{hn&&kt&&!Mi.shiftKey?(An(!1),Mi.preventDefault()):!hn&&kt&&(!wr(Mi)&&Mi.shiftKey&&(An(!0),Mi.preventDefault()));return}case P.a.ESC:{An(!0),Ln();return}}!kt&&![P.a.SHIFT].includes(Mi.which)?Or(!0):hn||wr(Mi)},onFocus:function(Mi){An(!0),gi(!0),Cn&&Cn(Mi)},onBlur:function(Mi){if(Fi.current||!tr(document.activeElement)){Fi.current=!1;return}Qr?setTimeout(function(){for(var Bi=document,Zi=Bi.activeElement;Zi&&Zi.shadowRoot;)Zi=Zi.shadowRoot.activeElement;tr(Zi)&&Ln()},0):kt&&(Or(!1),di.current&&cn()),gi(!1),Bn&&Bn(Mi)}};return Object(l.useEffect)(function(){di.current=!1},[kt]),Object(l.useEffect)(function(){di.current=!0},[or]),Object(l.useEffect)(function(){return Se(function(_i){var Mi=me(_i);if(kt){var Bi=tr(Mi);Bi?(!ui||Bi)&&Or(!1):(Fi.current=!0,requestAnimationFrame(function(){Fi.current=!1}))}})}),[Yi,{focused:ui,typing:hn}]}function Gn($e){var kt=$e.valueTexts,or=$e.onTextChange,tr=l.useState(""),Or=Object(D.a)(tr,2),wr=Or[0],Xr=Or[1],Qr=l.useRef([]);Qr.current=kt;function cn(Cn){Xr(Cn),or(Cn)}function Ln(){Xr(Qr.current[0])}return l.useEffect(function(){kt.every(function(Cn){return Cn!==wr})&&Ln()},[kt.join("||")]),[wr,cn,Ln]}var Nn=d("Gytx"),mi=d.n(Nn);function en($e,kt){var or=kt.formatList,tr=kt.generateConfig,Or=kt.locale;return Object(Rt.a)(function(){if(!$e)return[[""],""];for(var wr="",Xr=[],Qr=0;Qr<or.length;Qr+=1){var cn=or[Qr],Ln=tt($e,{generateConfig:tr,locale:Or,format:cn});Xr.push(Ln),Qr===0&&(wr=Ln)}return[Xr,wr]},[$e,or],function(wr,Xr){return wr[0]!==Xr[0]||!mi()(wr[1],Xr[1])})}function Kr($e,kt){var or=kt.formatList,tr=kt.generateConfig,Or=kt.locale,wr=Object(l.useState)(null),Xr=Object(D.a)(wr,2),Qr=Xr[0],cn=Xr[1],Ln=Object(l.useRef)(null);function Cn(xn){var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Ln.current),Rn){cn(xn);return}Ln.current=requestAnimationFrame(function(){cn(xn)})}var Bn=en(Qr,{formatList:or,generateConfig:tr,locale:Or}),nn=Object(D.a)(Bn,2),Dn=nn[1];function hn(xn){Cn(xn)}function An(){var xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Cn(null,xn)}return Object(l.useEffect)(function(){An(!0)},[$e]),Object(l.useEffect)(function(){return function(){return cancelAnimationFrame(Ln.current)}},[]),[Dn,hn,An]}function dn($e){var kt,or=$e.prefixCls,tr=or===void 0?"rc-picker":or,Or=$e.id,wr=$e.tabIndex,Xr=$e.style,Qr=$e.className,cn=$e.dropdownClassName,Ln=$e.dropdownAlign,Cn=$e.popupStyle,Bn=$e.transitionName,nn=$e.generateConfig,Dn=$e.locale,hn=$e.inputReadOnly,An=$e.allowClear,xn=$e.autoFocus,Rn=$e.showTime,ui=$e.picker,gi=ui===void 0?"date":ui,Fi=$e.format,di=$e.use12Hours,ii=$e.value,Yi=$e.defaultValue,_i=$e.open,Mi=$e.defaultOpen,Bi=$e.defaultOpenValue,Zi=$e.suffixIcon,da=$e.clearIcon,Ma=$e.disabled,La=$e.disabledDate,fa=$e.placeholder,xa=$e.getPopupContainer,ea=$e.pickerRef,ya=$e.panelRender,sa=$e.onChange,Fa=$e.onOpenChange,uo=$e.onFocus,za=$e.onBlur,Ya=$e.onMouseDown,lo=$e.onMouseUp,ta=$e.onMouseEnter,Xi=$e.onMouseLeave,Gi=$e.onContextMenu,Ta=$e.onClick,ka=$e.onKeyDown,ha=$e.onSelect,Ua=$e.direction,ao=$e.autoComplete,Ao=ao===void 0?"off":ao,ho=l.useRef(null),ro=gi==="date"&&!!Rn||gi==="time",qa=rn(X(Fi,gi,Rn,di)),no=l.useRef(null),Wi=l.useRef(null),Ci=l.useRef(null),Di=Object(F.a)(null,{value:ii,defaultValue:Yi}),ma=Object(D.a)(Di,2),ga=ma[0],Aa=ma[1],wa=l.useState(ga),la=Object(D.a)(wa,2),Hi=la[0],Ba=la[1],Ia=l.useRef(null),fo=Object(F.a)(!1,{value:_i,defaultValue:Mi,postState:function(Wa){return Ma?!1:Wa},onChange:function(Wa){Fa&&Fa(Wa),!Wa&&Ia.current&&Ia.current.onClose&&Ia.current.onClose()}}),Na=Object(D.a)(fo,2),po=Na[0],vo=Na[1],Ko=en(Hi,{formatList:qa,generateConfig:nn,locale:Dn}),zo=Object(D.a)(Ko,2),yo=zo[0],ra=zo[1],oo=Gn({valueTexts:yo,onTextChange:function(Wa){var Bo=Wt(Wa,{locale:Dn,formatList:qa,generateConfig:nn});Bo&&(!La||!La(Bo))&&Ba(Bo)}}),to=Object(D.a)(oo,3),Za=to[0],Lo=to[1],io=to[2],Da=function(Wa){Ba(Wa),Aa(Wa),sa&&!ot(nn,ga,Wa)&&sa(Wa,Wa?tt(Wa,{generateConfig:nn,locale:Dn,format:qa[0]}):"")},Co=function(Wa){if(Ma&&Wa)return;vo(Wa)},$o=function(Wa){return po&&Ia.current&&Ia.current.onKeyDown?Ia.current.onKeyDown(Wa):(Object(b.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ns=function(){lo&&lo.apply(void 0,arguments),ho.current&&(ho.current.focus(),Co(!0))},es=jn({blurToCancel:ro,open:po,value:Za,triggerOpen:Co,forwardKeyDown:$o,isClickOutside:function(Wa){return!nt([no.current,Wi.current,Ci.current],Wa)},onSubmit:function(){return!Hi||La&&La(Hi)?!1:(Da(Hi),Co(!1),io(),!0)},onCancel:function(){Co(!1),Ba(ga),io()},onKeyDown:function(Wa,Bo){ka==null||ka(Wa,Bo)},onFocus:uo,onBlur:za}),va=Object(D.a)(es,2),pa=va[0],ca=va[1],Ai=ca.focused,ba=ca.typing;l.useEffect(function(){po||(Ba(ga),!yo.length||yo[0]===""?Lo(""):ra!==Za&&io())},[po,yo]),l.useEffect(function(){po||io()},[gi]),l.useEffect(function(){Ba(ga)},[ga]),ea&&(ea.current={focus:function(){ho.current&&ho.current.focus()},blur:function(){ho.current&&ho.current.blur()}});var $a=Kr(Za,{formatList:qa,generateConfig:nn,locale:Dn}),ms=Object(D.a)($a,3),Wo=ms[0],Rs=ms[1],Ms=ms[2],al=Object(p.a)(Object(p.a)({},$e),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),gs=l.createElement(ur,Object(f.a)({},al,{generateConfig:nn,className:h()(Object(i.a)({},"".concat(tr,"-panel-focused"),!ba)),value:Hi,locale:Dn,tabIndex:-1,onSelect:function(Wa){ha==null||ha(Wa),Ba(Wa)},direction:Ua,onPanelChange:function(Wa,Bo){var No=$e.onPanelChange;Ms(!0),No==null||No(Wa,Bo)}}));ya&&(gs=ya(gs));var Vo=l.createElement("div",{className:"".concat(tr,"-panel-container"),onMouseDown:function(Wa){Wa.preventDefault()}},gs),Xo;Zi&&(Xo=l.createElement("span",{className:"".concat(tr,"-suffix")},Zi));var el;An&&ga&&!Ma&&(el=l.createElement("span",{onMouseDown:function(Wa){Wa.preventDefault(),Wa.stopPropagation()},onMouseUp:function(Wa){Wa.preventDefault(),Wa.stopPropagation(),Da(null),Co(!1)},className:"".concat(tr,"-clear"),role:"button"},da||l.createElement("span",{className:"".concat(tr,"-clear-btn")})));var js=function(Wa,Bo){(Bo==="submit"||Bo!=="key"&&!ro)&&(Da(Wa),Co(!1))},bo=Ua==="rtl"?"bottomRight":"bottomLeft";return l.createElement(R.Provider,{value:{operationRef:Ia,hideHeader:gi==="time",panelRef:no,onSelect:js,open:po,defaultOpenValue:Bi,onDateMouseEnter:Rs,onDateMouseLeave:Ms}},l.createElement(Wn,{visible:po,popupElement:Vo,popupStyle:Cn,prefixCls:tr,dropdownClassName:cn,dropdownAlign:Ln,getPopupContainer:xa,transitionName:Bn,popupPlacement:bo,direction:Ua},l.createElement("div",{ref:Ci,className:h()(tr,Qr,(kt={},Object(i.a)(kt,"".concat(tr,"-disabled"),Ma),Object(i.a)(kt,"".concat(tr,"-focused"),Ai),Object(i.a)(kt,"".concat(tr,"-rtl"),Ua==="rtl"),kt)),style:Xr,onMouseDown:Ya,onMouseUp:ns,onMouseEnter:ta,onMouseLeave:Xi,onContextMenu:Gi,onClick:Ta},l.createElement("div",{className:h()("".concat(tr,"-input"),Object(i.a)({},"".concat(tr,"-input-placeholder"),!!Wo)),ref:Wi},l.createElement("input",Object(f.a)({id:Or,tabIndex:wr,disabled:Ma,readOnly:hn||typeof qa[0]=="function"||!ba,value:Wo||Za,onChange:function(Wa){Lo(Wa.target.value)},autoFocus:xn,placeholder:fa,ref:ho,title:Za},pa,{size:Z(gi,qa[0],nn)},ei($e),{autoComplete:Ao})),Xo,el))))}var Vr=function($e){Object(t.a)(or,$e);var kt=Object(a.a)(or);function or(){var tr;Object(r.a)(this,or);for(var Or=arguments.length,wr=new Array(Or),Xr=0;Xr<Or;Xr++)wr[Xr]=arguments[Xr];return tr=kt.call.apply(kt,[this].concat(wr)),tr.pickerRef=l.createRef(),tr.focus=function(){tr.pickerRef.current&&tr.pickerRef.current.focus()},tr.blur=function(){tr.pickerRef.current&&tr.pickerRef.current.blur()},tr}return Object(s.a)(or,[{key:"render",value:function(){return l.createElement(dn,Object(f.a)({},this.props,{pickerRef:this.pickerRef}))}}]),or}(l.Component),ni=Vr;function Hn($e,kt,or){var tr=$e.picker,Or=$e.locale,wr=$e.selectedValue,Xr=$e.disabledDate,Qr=$e.disabled,cn=$e.generateConfig,Ln=fn(wr,0),Cn=fn(wr,1);function Bn(xn){return cn.locale.getWeekFirstDate(Or.locale,xn)}function nn(xn){var Rn=cn.getYear(xn),ui=cn.getMonth(xn);return Rn*100+ui}function Dn(xn){var Rn=cn.getYear(xn),ui=Qe(cn,xn);return Rn*10+ui}var hn=l.useCallback(function(xn){if(Xr&&Xr(xn))return!0;if(Qr[1]&&Cn)return!Me(cn,xn,Cn)&&cn.isAfter(xn,Cn);if(kt&&Cn)switch(tr){case"quarter":return Dn(xn)>Dn(Cn);case"month":return nn(xn)>nn(Cn);case"week":return Bn(xn)>Bn(Cn);default:return!Me(cn,xn,Cn)&&cn.isAfter(xn,Cn)}return!1},[Xr,Qr[1],Cn,kt]),An=l.useCallback(function(xn){if(Xr&&Xr(xn))return!0;if(Qr[0]&&Ln)return!Me(cn,xn,Cn)&&cn.isAfter(Ln,xn);if(or&&Ln)switch(tr){case"quarter":return Dn(xn)<Dn(Ln);case"month":return nn(xn)<nn(Ln);case"week":return Bn(xn)<Bn(Ln);default:return!Me(cn,xn,Ln)&&cn.isAfter(Ln,xn)}return!1},[Xr,Qr[0],Ln,or]);return[hn,An]}function Kn($e,kt,or,tr){var Or=Ge($e,or,tr,1);function wr(Xr){return Xr($e,kt)?"same":Xr(Or,kt)?"closing":"far"}switch(or){case"year":return wr(function(Xr,Qr){return xt(tr,Xr,Qr)});case"quarter":case"month":return wr(function(Xr,Qr){return Bt(tr,Xr,Qr)});default:return wr(function(Xr,Qr){return Q(tr,Xr,Qr)})}}function bn($e,kt,or,tr){var Or=fn($e,0),wr=fn($e,1);if(kt===0)return Or;if(Or&&wr){var Xr=Kn(Or,wr,or,tr);switch(Xr){case"same":return Or;case"closing":return Or;default:return Ge(wr,or,tr,-1)}}return Or}function wi($e){var kt=$e.values,or=$e.picker,tr=$e.defaultDates,Or=$e.generateConfig,wr=l.useState(function(){return[fn(tr,0),fn(tr,1)]}),Xr=Object(D.a)(wr,2),Qr=Xr[0],cn=Xr[1],Ln=l.useState(null),Cn=Object(D.a)(Ln,2),Bn=Cn[0],nn=Cn[1],Dn=fn(kt,0),hn=fn(kt,1);function An(Rn){return Qr[Rn]?Qr[Rn]:fn(Bn,Rn)||bn(kt,Rn,or,Or)||Dn||hn||Or.getNow()}function xn(Rn,ui){if(Rn){var gi=Zr(Bn,Rn,ui);cn(Zr(Qr,null,ui)||[null,null]);var Fi=(ui+1)%2;fn(kt,Fi)||(gi=Zr(gi,Rn,Fi)),nn(gi)}else(Dn||hn)&&nn(null)}return[An,xn]}function si($e,kt){return $e&&$e[0]&&$e[1]&&kt.isAfter($e[0],$e[1])?[$e[1],$e[0]]:$e}function Oi($e,kt,or,tr){return $e||tr&&tr[kt]?!0:!!or[(kt+1)%2]}function qr($e){var kt,or,tr,Or=$e.prefixCls,wr=Or===void 0?"rc-picker":Or,Xr=$e.id,Qr=$e.style,cn=$e.className,Ln=$e.popupStyle,Cn=$e.dropdownClassName,Bn=$e.transitionName,nn=$e.dropdownAlign,Dn=$e.getPopupContainer,hn=$e.generateConfig,An=$e.locale,xn=$e.placeholder,Rn=$e.autoFocus,ui=$e.disabled,gi=$e.format,Fi=$e.picker,di=Fi===void 0?"date":Fi,ii=$e.showTime,Yi=$e.use12Hours,_i=$e.separator,Mi=_i===void 0?"~":_i,Bi=$e.value,Zi=$e.defaultValue,da=$e.defaultPickerValue,Ma=$e.open,La=$e.defaultOpen,fa=$e.disabledDate,xa=$e.disabledTime,ea=$e.dateRender,ya=$e.panelRender,sa=$e.ranges,Fa=$e.allowEmpty,uo=$e.allowClear,za=$e.suffixIcon,Ya=$e.clearIcon,lo=$e.pickerRef,ta=$e.inputReadOnly,Xi=$e.mode,Gi=$e.renderExtraFooter,Ta=$e.onChange,ka=$e.onOpenChange,ha=$e.onPanelChange,Ua=$e.onCalendarChange,ao=$e.onFocus,Ao=$e.onBlur,ho=$e.onMouseEnter,ro=$e.onMouseLeave,qa=$e.onOk,no=$e.onKeyDown,Wi=$e.components,Ci=$e.order,Di=$e.direction,ma=$e.activePickerIndex,ga=$e.autoComplete,Aa=ga===void 0?"off":ga,wa=di==="date"&&!!ii||di==="time",la=Object(l.useRef)({}),Hi=Object(l.useRef)(null),Ba=Object(l.useRef)(null),Ia=Object(l.useRef)(null),fo=Object(l.useRef)(null),Na=Object(l.useRef)(null),po=Object(l.useRef)(null),vo=Object(l.useRef)(null),Ko=rn(X(gi,di,ii,Yi)),zo=Object(F.a)(0,{value:ma}),yo=Object(D.a)(zo,2),ra=yo[0],oo=yo[1],to=Object(l.useRef)(null),Za=l.useMemo(function(){return Array.isArray(ui)?ui:[ui||!1,ui||!1]},[ui]),Lo=Object(F.a)(null,{value:Bi,defaultValue:Zi,postState:function(Li){return di==="time"&&!Ci?Li:si(Li,hn)}}),io=Object(D.a)(Lo,2),Da=io[0],Co=io[1],$o=wi({values:Da,picker:di,defaultDates:da,generateConfig:hn}),ns=Object(D.a)($o,2),es=ns[0],va=ns[1],pa=Object(F.a)(Da,{postState:function(Li){var Ji=Li;if(Za[0]&&Za[1])return Ji;for(var Ea=0;Ea<2;Ea+=1)Za[Ea]&&!fn(Ji,Ea)&&!fn(Fa,Ea)&&(Ji=Zr(Ji,hn.getNow(),Ea));return Ji}}),ca=Object(D.a)(pa,2),Ai=ca[0],ba=ca[1],$a=Object(F.a)([di,di],{value:Xi}),ms=Object(D.a)($a,2),Wo=ms[0],Rs=ms[1];Object(l.useEffect)(function(){Rs([di,di])},[di]);var Ms=function(Li,Ji){Rs(Li),ha&&ha(Ji,Li)},al=Hn({picker:di,selectedValue:Ai,locale:An,disabled:Za,disabledDate:fa,generateConfig:hn},la.current[1],la.current[0]),gs=Object(D.a)(al,2),Vo=gs[0],Xo=gs[1],el=Object(F.a)(!1,{value:Ma,defaultValue:La,postState:function(Li){return Za[ra]?!1:Li},onChange:function(Li){ka&&ka(Li),!Li&&to.current&&to.current.onClose&&to.current.onClose()}}),js=Object(D.a)(el,2),bo=js[0],wo=js[1],Wa=bo&&ra===0,Bo=bo&&ra===1,No=Object(l.useState)(0),Do=Object(D.a)(No,2),Go=Do[0],Po=Do[1];Object(l.useEffect)(function(){!bo&&Hi.current&&Po(Hi.current.offsetWidth)},[bo]);var Uo=l.useRef();function Cr(Sa,Li){if(Sa)clearTimeout(Uo.current),la.current[Li]=!0,oo(Li),wo(Sa),bo||va(null,Li);else if(ra===Li){wo(Sa);var Ji=la.current;Uo.current=setTimeout(function(){Ji===la.current&&(la.current={})})}}function Qn(Sa){Cr(!0,Sa),setTimeout(function(){var Li=[po,vo][Sa];Li.current&&Li.current.focus()},0)}function Ga(Sa,Li){var Ji=Sa,Ea=fn(Ji,0),co=fn(Ji,1);Ea&&co&&hn.isAfter(Ea,co)&&(di==="week"&&!ue(hn,An.locale,Ea,co)||di==="quarter"&&!te(hn,Ea,co)||di!=="week"&&di!=="quarter"&&di!=="time"&&!Me(hn,Ea,co)?(Li===0?(Ji=[Ea,null],co=null):(Ea=null,Ji=[null,co]),la.current=Object(i.a)({},Li,!0)):(di!=="time"||Ci!==!1)&&(Ji=si(Ji,hn))),ba(Ji);var Ps=Ji&&Ji[0]?tt(Ji[0],{generateConfig:hn,locale:An,format:Ko[0]}):"",ws=Ji&&Ji[1]?tt(Ji[1],{generateConfig:hn,locale:An,format:Ko[0]}):"";if(Ua){var Ws={range:Li===0?"start":"end"};Ua(Ji,[Ps,ws],Ws)}var Ys=Oi(Ea,0,Za,Fa),pl=Oi(co,1,Za,Fa),Ls=Ji===null||Ys&&pl;Ls&&(Co(Ji),Ta&&(!ot(hn,fn(Da,0),Ea)||!ot(hn,fn(Da,1),co))&&Ta(Ji,[Ps,ws]));var hs=null;Li===0&&!Za[1]?hs=1:Li===1&&!Za[0]&&(hs=0),hs!==null&&hs!==ra&&(!la.current[hs]||!fn(Ji,hs))&&fn(Ji,Li)?Qn(hs):Cr(!1,Li)}var Mo=function(Li){return bo&&to.current&&to.current.onKeyDown?to.current.onKeyDown(Li):(Object(b.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Qo={formatList:Ko,generateConfig:hn,locale:An},Vs=en(fn(Ai,0),Qo),xs=Object(D.a)(Vs,2),Es=xs[0],vs=xs[1],Hs=en(fn(Ai,1),Qo),_s=Object(D.a)(Hs,2),Fs=_s[0],wl=_s[1],ol=function(Li,Ji){var Ea=Wt(Li,{locale:An,formatList:Ko,generateConfig:hn}),co=Ji===0?Vo:Xo;Ea&&!co(Ea)&&(ba(Zr(Ai,Ea,Ji)),va(Ea,Ji))},vl=Gn({valueTexts:Es,onTextChange:function(Li){return ol(Li,0)}}),ks=Object(D.a)(vl,3),us=ks[0],Et=ks[1],Lt=ks[2],Ur=Gn({valueTexts:Fs,onTextChange:function(Li){return ol(Li,1)}}),un=Object(D.a)(Ur,3),kn=un[0],gt=un[1],ce=un[2],ve=Object(l.useState)(null),Ie=Object(D.a)(ve,2),Ke=Ie[0],mt=Ie[1],Pt=Object(l.useState)(null),lr=Object(D.a)(Pt,2),yr=lr[0],kr=lr[1],ln=Kr(us,{formatList:Ko,generateConfig:hn,locale:An}),En=Object(D.a)(ln,3),oi=En[0],yi=En[1],Ti=En[2],ji=Kr(kn,{formatList:Ko,generateConfig:hn,locale:An}),na=Object(D.a)(ji,3),Pa=na[0],Va=na[1],Qa=na[2],To=function(Li){kr(Zr(Ai,Li,ra)),ra===0?yi(Li):Va(Li)},eo=function(){kr(Zr(Ai,null,ra)),ra===0?Ti():Qa()},Io=function(Li,Ji){return{blurToCancel:wa,forwardKeyDown:Mo,onBlur:Ao,isClickOutside:function(co){return!nt([Ba.current,Ia.current,fo.current,Hi.current],co)},onFocus:function(co){oo(Li),ao&&ao(co)},triggerOpen:function(co){Cr(co,Li)},onSubmit:function(){Ga(Ai,Li),Ji()},onCancel:function(){Cr(!1,Li),ba(Da),Ji()}}},Ha=jn(Object(p.a)(Object(p.a)({},Io(0,Lt)),{},{open:Wa,value:us,onKeyDown:function(Li,Ji){no==null||no(Li,Ji)}})),Oo=Object(D.a)(Ha,2),is=Oo[0],mo=Oo[1],go=mo.focused,ss=mo.typing,ys=jn(Object(p.a)(Object(p.a)({},Io(1,ce)),{},{open:Bo,value:kn,onKeyDown:function(Li,Ji){no==null||no(Li,Ji)}})),Yo=Object(D.a)(ys,2),So=Yo[0],Ks=Yo[1],ls=Ks.focused,sl=Ks.typing,ll=function(Li){!bo&&!po.current.contains(Li.target)&&!vo.current.contains(Li.target)&&(Za[0]?Za[1]||Qn(1):Qn(0))},bs=function(Li){bo&&(go||ls)&&!po.current.contains(Li.target)&&!vo.current.contains(Li.target)&&Li.preventDefault()},Fo=Da&&Da[0]?tt(Da[0],{locale:An,format:"YYYYMMDDHHmmss",generateConfig:hn}):"",Ui=Da&&Da[1]?tt(Da[1],{locale:An,format:"YYYYMMDDHHmmss",generateConfig:hn}):"";Object(l.useEffect)(function(){bo||(ba(Da),!Es.length||Es[0]===""?Et(""):vs!==us&&Lt(),!Fs.length||Fs[0]===""?gt(""):wl!==kn&&ce())},[bo,Es,Fs]),Object(l.useEffect)(function(){ba(Da)},[Fo,Ui]),lo&&(lo.current={focus:function(){po.current&&po.current.focus()},blur:function(){po.current&&po.current.blur(),vo.current&&vo.current.blur()}});var zs=Object.keys(sa||{}),tl=zs.map(function(Sa){var Li=sa[Sa],Ji=typeof Li=="function"?Li():Li;return{label:Sa,onClick:function(){Ga(Ji,null),Cr(!1,ra)},onMouseEnter:function(){mt(Ji)},onMouseLeave:function(){mt(null)}}});function As(){var Sa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Li=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ji=null;bo&&yr&&yr[0]&&yr[1]&&hn.isAfter(yr[1],yr[0])&&(Ji=yr);var Ea=ii;if(ii&&Object(N.a)(ii)==="object"&&ii.defaultValue){var co=ii.defaultValue;Ea=Object(p.a)(Object(p.a)({},ii),{},{defaultValue:fn(co,ra)||void 0})}var Ps=null;return ea&&(Ps=function(Ws,Ys){return ea(Ws,Ys,{range:ra?"end":"start"})}),l.createElement(sr.Provider,{value:{inRange:!0,panelPosition:Sa,rangedValue:Ke||Ai,hoverRangedValue:Ji}},l.createElement(ur,Object(f.a)({},$e,Li,{dateRender:Ps,showTime:Ea,mode:Wo[ra],generateConfig:hn,style:void 0,direction:Di,disabledDate:ra===0?Vo:Xo,disabledTime:function(Ws){return xa?xa(Ws,ra===0?"start":"end"):!1},className:h()(Object(i.a)({},"".concat(wr,"-panel-focused"),ra===0?!ss:!sl)),value:fn(Ai,ra),locale:An,tabIndex:-1,onPanelChange:function(Ws,Ys){ra===0&&Ti(!0),ra===1&&Qa(!0),Ms(Zr(Wo,Ys,ra),Zr(Ai,Ws,ra));var pl=Ws;Sa==="right"&&Wo[ra]===Ys&&(pl=Ge(pl,Ys,hn,-1)),va(pl,ra)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:ra===0?fn(Ai,1):fn(Ai,0)})))}var Jo=0,fl=0;ra&&Ia.current&&Na.current&&Ba.current&&(Jo=Ia.current.offsetWidth+Na.current.offsetWidth,Ba.current.offsetWidth&&Jo>Ba.current.offsetWidth&&(fl=Jo));var rl=Di==="rtl"?{right:Jo}:{left:Jo};function Cs(){var Sa,Li=Zt(wr,Wo[ra],Gi),Ji=Ir({prefixCls:wr,components:Wi,needConfirmButton:wa,okDisabled:!fn(Ai,ra)||fa&&fa(Ai[ra]),locale:An,rangeList:tl,onOk:function(){fn(Ai,ra)&&(Ga(Ai,ra),qa&&qa(Ai))}});if(di!=="time"&&!ii){var Ea=es(ra),co=Ge(Ea,di,hn),Ps=Wo[ra],ws=Ps===di,Ws=As(ws?"left":!1,{pickerValue:Ea,onPickerValueChange:function(hs){va(hs,ra)}}),Ys=As("right",{pickerValue:co,onPickerValueChange:function(hs){va(Ge(hs,di,hn,-1),ra)}});Di==="rtl"?Sa=l.createElement(l.Fragment,null,Ys,ws&&Ws):Sa=l.createElement(l.Fragment,null,Ws,ws&&Ys)}else Sa=As();var pl=l.createElement(l.Fragment,null,l.createElement("div",{className:"".concat(wr,"-panels")},Sa),(Li||Ji)&&l.createElement("div",{className:"".concat(wr,"-footer")},Li,Ji));return ya&&(pl=ya(pl)),l.createElement("div",{className:"".concat(wr,"-panel-container"),style:{marginLeft:fl},ref:Ba,onMouseDown:function(hs){hs.preventDefault()}},pl)}var Bs=l.createElement("div",{className:h()("".concat(wr,"-range-wrapper"),"".concat(wr,"-").concat(di,"-range-wrapper")),style:{minWidth:Go}},l.createElement("div",{className:"".concat(wr,"-range-arrow"),style:rl}),Cs()),Ts;za&&(Ts=l.createElement("span",{className:"".concat(wr,"-suffix")},za));var Is;uo&&(fn(Da,0)&&!Za[0]||fn(Da,1)&&!Za[1])&&(Is=l.createElement("span",{onMouseDown:function(Li){Li.preventDefault(),Li.stopPropagation()},onMouseUp:function(Li){Li.preventDefault(),Li.stopPropagation();var Ji=Da;Za[0]||(Ji=Zr(Ji,null,0)),Za[1]||(Ji=Zr(Ji,null,1)),Ga(Ji,null),Cr(!1,ra)},className:"".concat(wr,"-clear")},Ya||l.createElement("span",{className:"".concat(wr,"-clear-btn")})));var cl={size:Z(di,Ko[0],hn)},Os=0,Xs=0;Ia.current&&fo.current&&Na.current&&(ra===0?Xs=Ia.current.offsetWidth:(Os=Jo,Xs=fo.current.offsetWidth));var Gs=Di==="rtl"?{right:Os}:{left:Os},Qs=function(Li,Ji){var Ea=Zr(Ai,Li,ra);Ji==="submit"||Ji!=="key"&&!wa?(Ga(Ea,ra),ra===0?Ti():Qa()):ba(Ea)};return l.createElement(R.Provider,{value:{operationRef:to,hideHeader:di==="time",onDateMouseEnter:To,onDateMouseLeave:eo,hideRanges:!0,onSelect:Qs,open:bo}},l.createElement(Wn,{visible:bo,popupElement:Bs,popupStyle:Ln,prefixCls:wr,dropdownClassName:Cn,dropdownAlign:nn,getPopupContainer:Dn,transitionName:Bn,range:!0,direction:Di},l.createElement("div",Object(f.a)({ref:Hi,className:h()(wr,"".concat(wr,"-range"),cn,(kt={},Object(i.a)(kt,"".concat(wr,"-disabled"),Za[0]&&Za[1]),Object(i.a)(kt,"".concat(wr,"-focused"),ra===0?go:ls),Object(i.a)(kt,"".concat(wr,"-rtl"),Di==="rtl"),kt)),style:Qr,onClick:ll,onMouseEnter:ho,onMouseLeave:ro,onMouseDown:bs},ei($e)),l.createElement("div",{className:h()("".concat(wr,"-input"),(or={},Object(i.a)(or,"".concat(wr,"-input-active"),ra===0),Object(i.a)(or,"".concat(wr,"-input-placeholder"),!!oi),or)),ref:Ia},l.createElement("input",Object(f.a)({id:Xr,disabled:Za[0],readOnly:ta||typeof Ko[0]=="function"||!ss,value:oi||us,onChange:function(Li){Et(Li.target.value)},autoFocus:Rn,placeholder:fn(xn,0)||"",ref:po},is,cl,{autoComplete:Aa}))),l.createElement("div",{className:"".concat(wr,"-range-separator"),ref:Na},Mi),l.createElement("div",{className:h()("".concat(wr,"-input"),(tr={},Object(i.a)(tr,"".concat(wr,"-input-active"),ra===1),Object(i.a)(tr,"".concat(wr,"-input-placeholder"),!!Pa),tr)),ref:fo},l.createElement("input",Object(f.a)({disabled:Za[1],readOnly:ta||typeof Ko[0]=="function"||!sl,value:Pa||kn,onChange:function(Li){gt(Li.target.value)},placeholder:fn(xn,1)||"",ref:vo},So,cl,{autoComplete:Aa}))),l.createElement("div",{className:"".concat(wr,"-active-bar"),style:Object(p.a)(Object(p.a)({},Gs),{},{width:Xs,position:"absolute"})}),Ts,Is)))}var Sr=function($e){Object(t.a)(or,$e);var kt=Object(a.a)(or);function or(){var tr;Object(r.a)(this,or);for(var Or=arguments.length,wr=new Array(Or),Xr=0;Xr<Or;Xr++)wr[Xr]=arguments[Xr];return tr=kt.call.apply(kt,[this].concat(wr)),tr.pickerRef=l.createRef(),tr.focus=function(){tr.pickerRef.current&&tr.pickerRef.current.focus()},tr.blur=function(){tr.pickerRef.current&&tr.pickerRef.current.blur()},tr}return Object(s.a)(or,[{key:"render",value:function(){return l.createElement(qr,Object(f.a)({},this.props,{pickerRef:this.pickerRef}))}}]),or}(l.Component),sn=Sr,yn=ni,On=d("61s2");function Pn($e,kt,or){return or!==void 0?or:$e==="year"&&kt.lang.yearPlaceholder?kt.lang.yearPlaceholder:$e==="quarter"&&kt.lang.quarterPlaceholder?kt.lang.quarterPlaceholder:$e==="month"&&kt.lang.monthPlaceholder?kt.lang.monthPlaceholder:$e==="week"&&kt.lang.weekPlaceholder?kt.lang.weekPlaceholder:$e==="time"&&kt.timePickerLocale.placeholder?kt.timePickerLocale.placeholder:kt.lang.placeholder}function ti($e,kt,or){return or!==void 0?or:$e==="year"&&kt.lang.yearPlaceholder?kt.lang.rangeYearPlaceholder:$e==="month"&&kt.lang.monthPlaceholder?kt.lang.rangeMonthPlaceholder:$e==="week"&&kt.lang.weekPlaceholder?kt.lang.rangeWeekPlaceholder:$e==="time"&&kt.timePickerLocale.placeholder?kt.timePickerLocale.rangePlaceholder:kt.lang.rangePlaceholder}var ai=d("uaoM"),qn=d("H84U"),xi=d("YMnH"),Pi=d("3Nzz"),ki=function($e,kt){var or={};for(var tr in $e)Object.prototype.hasOwnProperty.call($e,tr)&&kt.indexOf(tr)<0&&(or[tr]=$e[tr]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,tr=Object.getOwnPropertySymbols($e);Or<tr.length;Or++)kt.indexOf(tr[Or])<0&&Object.prototype.propertyIsEnumerable.call($e,tr[Or])&&(or[tr[Or]]=$e[tr[Or]]);return or};function ja($e){function kt(cn,Ln){var Cn=function(Bn){Object(t.a)(Dn,Bn);var nn=Object(a.a)(Dn);function Dn(hn){var An;return Object(r.a)(this,Dn),An=nn.call(this,hn),An.pickerRef=l.createRef(),An.focus=function(){An.pickerRef.current&&An.pickerRef.current.focus()},An.blur=function(){An.pickerRef.current&&An.pickerRef.current.blur()},An.getDefaultLocale=function(){var xn=An.props.locale,Rn=Object(f.a)(Object(f.a)({},On.a),xn);return Rn.lang=Object(f.a)(Object(f.a)({},Rn.lang),(xn||{}).lang),Rn},An.renderPicker=function(xn){var Rn=An.context,ui=Rn.getPrefixCls,gi=Rn.direction,Fi=Rn.getPopupContainer,di=An.props,ii=di.prefixCls,Yi=di.getPopupContainer,_i=di.className,Mi=di.size,Bi=di.bordered,Zi=Bi===void 0?!0:Bi,da=di.placeholder,Ma=ki(di,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),La=An.props,fa=La.format,xa=La.showTime,ea=ui("picker",ii),ya={showToday:!0},sa={};cn&&(sa.picker=cn);var Fa=cn||An.props.picker;return sa=Object(f.a)(Object(f.a)(Object(f.a)({},sa),xa?mn(Object(f.a)({format:fa,picker:Fa},xa)):{}),Fa==="time"?mn(Object(f.a)(Object(f.a)({format:fa},An.props),{picker:Fa})):{}),l.createElement(Pi.b.Consumer,null,function(uo){var za,Ya=Mi||uo;return l.createElement(yn,Object(f.a)({ref:An.pickerRef,placeholder:Pn(Fa,xn,da),suffixIcon:Fa==="time"?l.createElement(I,null):l.createElement(C,null),clearIcon:l.createElement(L.a,null),allowClear:!0,transitionName:"slide-up"},ya,Ma,sa,{locale:xn.lang,className:h()((za={},Object(i.a)(za,"".concat(ea,"-").concat(Ya),Ya),Object(i.a)(za,"".concat(ea,"-borderless"),!Zi),za),_i),prefixCls:ea,getPopupContainer:Yi||Fi,generateConfig:$e,prevIcon:l.createElement("span",{className:"".concat(ea,"-prev-icon")}),nextIcon:l.createElement("span",{className:"".concat(ea,"-next-icon")}),superPrevIcon:l.createElement("span",{className:"".concat(ea,"-super-prev-icon")}),superNextIcon:l.createElement("span",{className:"".concat(ea,"-super-next-icon")}),components:Br,direction:gi}))})},Object(ai.a)(cn!=="quarter",Ln,"DatePicker.".concat(Ln," is legacy usage. Please use DatePicker[picker='").concat(cn,"'] directly.")),An}return Object(s.a)(Dn,[{key:"render",value:function(){return l.createElement(xi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Dn}(l.Component);return Cn.contextType=qn.b,Ln&&(Cn.displayName=Ln),Cn}var or=kt(),tr=kt("week","WeekPicker"),Or=kt("month","MonthPicker"),wr=kt("year","YearPicker"),Xr=kt("time","TimePicker"),Qr=kt("quarter","QuarterPicker");return{DatePicker:or,WeekPicker:tr,MonthPicker:Or,YearPicker:wr,TimePicker:Xr,QuarterPicker:Qr}}var ri={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"},pt=ri,gr=function(kt,or){return l.createElement(y.a,Object(p.a)(Object(p.a)({},kt),{},{ref:or,icon:pt}))};gr.displayName="SwapRightOutlined";var _r=l.forwardRef(gr),Dr=function($e,kt){var or={};for(var tr in $e)Object.prototype.hasOwnProperty.call($e,tr)&&kt.indexOf(tr)<0&&(or[tr]=$e[tr]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,tr=Object.getOwnPropertySymbols($e);Or<tr.length;Or++)kt.indexOf(tr[Or])<0&&Object.prototype.propertyIsEnumerable.call($e,tr[Or])&&(or[tr[Or]]=$e[tr[Or]]);return or};function tn($e){var kt=function(or){Object(t.a)(Or,or);var tr=Object(a.a)(Or);function Or(){var wr;return Object(r.a)(this,Or),wr=tr.apply(this,arguments),wr.pickerRef=l.createRef(),wr.focus=function(){wr.pickerRef.current&&wr.pickerRef.current.focus()},wr.blur=function(){wr.pickerRef.current&&wr.pickerRef.current.blur()},wr.getDefaultLocale=function(){var Xr=wr.props.locale,Qr=Object(f.a)(Object(f.a)({},On.a),Xr);return Qr.lang=Object(f.a)(Object(f.a)({},Qr.lang),(Xr||{}).lang),Qr},wr.renderPicker=function(Xr){var Qr=wr.context,cn=Qr.getPrefixCls,Ln=Qr.direction,Cn=Qr.getPopupContainer,Bn=wr.props,nn=Bn.prefixCls,Dn=Bn.getPopupContainer,hn=Bn.className,An=Bn.size,xn=Bn.bordered,Rn=xn===void 0?!0:xn,ui=Bn.placeholder,gi=Dr(Bn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Fi=wr.props,di=Fi.format,ii=Fi.showTime,Yi=Fi.picker,_i=cn("picker",nn),Mi={};return Mi=Object(f.a)(Object(f.a)(Object(f.a)({},Mi),ii?mn(Object(f.a)({format:di,picker:Yi},ii)):{}),Yi==="time"?mn(Object(f.a)(Object(f.a)({format:di},wr.props),{picker:Yi})):{}),l.createElement(Pi.b.Consumer,null,function(Bi){var Zi,da=An||Bi;return l.createElement(sn,Object(f.a)({separator:l.createElement("span",{"aria-label":"to",className:"".concat(_i,"-separator")},l.createElement(_r,null)),ref:wr.pickerRef,placeholder:ti(Yi,Xr,ui),suffixIcon:Yi==="time"?l.createElement(I,null):l.createElement(C,null),clearIcon:l.createElement(L.a,null),allowClear:!0,transitionName:"slide-up"},gi,Mi,{className:h()((Zi={},Object(i.a)(Zi,"".concat(_i,"-").concat(da),da),Object(i.a)(Zi,"".concat(_i,"-borderless"),!Rn),Zi),hn),locale:Xr.lang,prefixCls:_i,getPopupContainer:Dn||Cn,generateConfig:$e,prevIcon:l.createElement("span",{className:"".concat(_i,"-prev-icon")}),nextIcon:l.createElement("span",{className:"".concat(_i,"-next-icon")}),superPrevIcon:l.createElement("span",{className:"".concat(_i,"-super-prev-icon")}),superNextIcon:l.createElement("span",{className:"".concat(_i,"-super-next-icon")}),components:Br,direction:Ln}))})},wr}return Object(s.a)(Or,[{key:"render",value:function(){return l.createElement(xi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Or}(l.Component);return kt.contextType=qn.b,kt}var Br={button:o,rangeItem:n};function wn($e){return $e?Array.isArray($e)?$e:[$e]:[]}function mn($e){var kt=$e.format,or=$e.picker,tr=$e.showHour,Or=$e.showMinute,wr=$e.showSecond,Xr=$e.use12Hours,Qr=wn(kt)[0],cn=Object(f.a)({},$e);return Qr&&typeof Qr=="string"&&(!Qr.includes("s")&&wr===void 0&&(cn.showSecond=!1),!Qr.includes("m")&&Or===void 0&&(cn.showMinute=!1),!Qr.includes("H")&&!Qr.includes("h")&&tr===void 0&&(cn.showHour=!1),(Qr.includes("a")||Qr.includes("A"))&&Xr===void 0&&(cn.use12Hours=!0)),or==="time"?cn:(typeof Qr=="function"&&delete cn.format,{showTime:cn})}function _n($e){var kt=ja($e),or=kt.DatePicker,tr=kt.WeekPicker,Or=kt.MonthPicker,wr=kt.YearPicker,Xr=kt.TimePicker,Qr=kt.QuarterPicker,cn=tn($e),Ln=or;return Ln.WeekPicker=tr,Ln.MonthPicker=Or,Ln.YearPicker=wr,Ln.RangePicker=cn,Ln.TimePicker=Xr,Ln.QuarterPicker=Qr,Ln}var hi=_n,li=hi(v),Zn=B.a=li},"+lIL":function(k,B,d){var w=d("ProS");d("/ry/"),d("3OrL");var A=d("L5E0"),b=d("7Phj");w.registerVisual(A),w.registerLayout(b)},"+nKL":function(k,B,d){"use strict";var w=d("q1tI"),A=d("TSYQ"),b=d.n(A),g=d("t23M");function v(te,Q){var Me=Object.keys(te);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(te);Q&&(Ce=Ce.filter(function(ue){return Object.getOwnPropertyDescriptor(te,ue).enumerable})),Me.push.apply(Me,Ce)}return Me}function f(te){for(var Q=1;Q<arguments.length;Q++){var Me=arguments[Q]!=null?arguments[Q]:{};Q%2?v(Object(Me),!0).forEach(function(Ce){l(te,Ce,Me[Ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(Me)):v(Object(Me)).forEach(function(Ce){Object.defineProperty(te,Ce,Object.getOwnPropertyDescriptor(Me,Ce))})}return te}function l(te,Q,Me){return Q in te?Object.defineProperty(te,Q,{value:Me,enumerable:!0,configurable:!0,writable:!0}):te[Q]=Me,te}var u=w.forwardRef(function(te,Q){var Me=te.height,Ce=te.offset,ue=te.children,ot=te.prefixCls,rt=te.onInnerResize,Ue={},Ge={display:"flex",flexDirection:"column"};return Ce!==void 0&&(Ue={height:Me,position:"relative",overflow:"hidden"},Ge=f(f({},Ge),{},{transform:"translateY(".concat(Ce,"px)"),position:"absolute",left:0,right:0,top:0})),w.createElement("div",{style:Ue},w.createElement(g.a,{onResize:function(Wt){var jt=Wt.offsetHeight;jt&&rt&&rt()}},w.createElement("div",{style:Ge,className:b()(l({},"".concat(ot,"-holder-inner"),ot)),ref:Q},ue)))});u.displayName="Filler";var o=u,e=d("wgJM");function n(te){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(Me){return typeof Me}:n=function(Me){return Me&&typeof Symbol=="function"&&Me.constructor===Symbol&&Me!==Symbol.prototype?"symbol":typeof Me},n(te)}function i(te,Q,Me){return Q in te?Object.defineProperty(te,Q,{value:Me,enumerable:!0,configurable:!0,writable:!0}):te[Q]=Me,te}function r(te,Q){if(!(te instanceof Q))throw new TypeError("Cannot call a class as a function")}function s(te,Q){for(var Me=0;Me<Q.length;Me++){var Ce=Q[Me];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(te,Ce.key,Ce)}}function t(te,Q,Me){return Q&&s(te.prototype,Q),Me&&s(te,Me),te}function a(te,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");te.prototype=Object.create(Q&&Q.prototype,{constructor:{value:te,writable:!0,configurable:!0}}),Q&&c(te,Q)}function c(te,Q){return c=Object.setPrototypeOf||function(Ce,ue){return Ce.__proto__=ue,Ce},c(te,Q)}function h(te){var Q=S();return function(){var Ce=y(te),ue;if(Q){var ot=y(this).constructor;ue=Reflect.construct(Ce,arguments,ot)}else ue=Ce.apply(this,arguments);return p(this,ue)}}function p(te,Q){if(Q&&(n(Q)==="object"||typeof Q=="function"))return Q;if(Q!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return m(te)}function m(te){if(te===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return te}function S(){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(te){return!1}}function y(te){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(Me){return Me.__proto__||Object.getPrototypeOf(Me)},y(te)}var x=20;function C(te){return"touches"in te?te.touches[0].pageY:te.pageY}var T=function(te){a(Me,te);var Q=h(Me);function Me(){var Ce;r(this,Me);for(var ue=arguments.length,ot=new Array(ue),rt=0;rt<ue;rt++)ot[rt]=arguments[rt];return Ce=Q.call.apply(Q,[this].concat(ot)),Ce.moveRaf=null,Ce.scrollbarRef=w.createRef(),Ce.thumbRef=w.createRef(),Ce.visibleTimeout=null,Ce.state={dragging:!1,pageY:null,startTop:null,visible:!1},Ce.delayHidden=function(){clearTimeout(Ce.visibleTimeout),Ce.setState({visible:!0}),Ce.visibleTimeout=setTimeout(function(){Ce.setState({visible:!1})},2e3)},Ce.onScrollbarTouchStart=function(Ue){Ue.preventDefault()},Ce.onContainerMouseDown=function(Ue){Ue.stopPropagation(),Ue.preventDefault()},Ce.patchEvents=function(){window.addEventListener("mousemove",Ce.onMouseMove),window.addEventListener("mouseup",Ce.onMouseUp),Ce.thumbRef.current.addEventListener("touchmove",Ce.onMouseMove),Ce.thumbRef.current.addEventListener("touchend",Ce.onMouseUp)},Ce.removeEvents=function(){window.removeEventListener("mousemove",Ce.onMouseMove),window.removeEventListener("mouseup",Ce.onMouseUp),Ce.scrollbarRef.current.removeEventListener("touchstart",Ce.onScrollbarTouchStart),Ce.thumbRef.current.removeEventListener("touchstart",Ce.onMouseDown),Ce.thumbRef.current.removeEventListener("touchmove",Ce.onMouseMove),Ce.thumbRef.current.removeEventListener("touchend",Ce.onMouseUp),e.a.cancel(Ce.moveRaf)},Ce.onMouseDown=function(Ue){var Ge=Ce.props.onStartMove;Ce.setState({dragging:!0,pageY:C(Ue),startTop:Ce.getTop()}),Ge(),Ce.patchEvents(),Ue.stopPropagation(),Ue.preventDefault()},Ce.onMouseMove=function(Ue){var Ge=Ce.state,tt=Ge.dragging,Wt=Ge.pageY,jt=Ge.startTop,Yt=Ce.props.onScroll;if(e.a.cancel(Ce.moveRaf),tt){var Tt=C(Ue)-Wt,Rt=jt+Tt,yt=Ce.getEnableScrollRange(),Jt=Ce.getEnableHeightRange(),Lr=Jt?Rt/Jt:0,zr=Math.ceil(Lr*yt);Ce.moveRaf=Object(e.a)(function(){Yt(zr)})}},Ce.onMouseUp=function(){var Ue=Ce.props.onStopMove;Ce.setState({dragging:!1}),Ue(),Ce.removeEvents()},Ce.getSpinHeight=function(){var Ue=Ce.props,Ge=Ue.height,tt=Ue.count,Wt=Ge/tt*10;return Wt=Math.max(Wt,x),Wt=Math.min(Wt,Ge/2),Math.floor(Wt)},Ce.getEnableScrollRange=function(){var Ue=Ce.props,Ge=Ue.scrollHeight,tt=Ue.height;return Ge-tt||0},Ce.getEnableHeightRange=function(){var Ue=Ce.props.height,Ge=Ce.getSpinHeight();return Ue-Ge||0},Ce.getTop=function(){var Ue=Ce.props.scrollTop,Ge=Ce.getEnableScrollRange(),tt=Ce.getEnableHeightRange();if(Ue===0||Ge===0)return 0;var Wt=Ue/Ge;return Wt*tt},Ce.showScroll=function(){var Ue=Ce.props,Ge=Ue.height,tt=Ue.scrollHeight;return tt>Ge},Ce}return t(Me,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(ue){ue.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var ue=this.state,ot=ue.dragging,rt=ue.visible,Ue=this.props.prefixCls,Ge=this.getSpinHeight(),tt=this.getTop(),Wt=this.showScroll(),jt=Wt&&rt;return w.createElement("div",{ref:this.scrollbarRef,className:b()("".concat(Ue,"-scrollbar"),i({},"".concat(Ue,"-scrollbar-show"),Wt)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:jt?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},w.createElement("div",{ref:this.thumbRef,className:b()("".concat(Ue,"-scrollbar-thumb"),i({},"".concat(Ue,"-scrollbar-thumb-moving"),ot)),style:{width:"100%",height:Ge,top:tt,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),Me}(w.Component);function _(te){var Q=te.children,Me=te.setRef,Ce=w.useCallback(function(ue){Me(ue)},[]);return w.cloneElement(Q,{ref:Ce})}function E(te,Q,Me,Ce,ue,ot){var rt=ot.getKey;return te.slice(Q,Me+1).map(function(Ue,Ge){var tt=Q+Ge,Wt=ue(Ue,tt,{}),jt=rt(Ue);return w.createElement(_,{key:jt,setRef:function(Tt){return Ce(Ue,Tt)}},Wt)})}var I=d("m+aA");function L(te,Q){if(!(te instanceof Q))throw new TypeError("Cannot call a class as a function")}function D(te,Q){for(var Me=0;Me<Q.length;Me++){var Ce=Q[Me];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(te,Ce.key,Ce)}}function F(te,Q,Me){return Q&&D(te.prototype,Q),Me&&D(te,Me),te}var N=function(){function te(){L(this,te),this.maps=void 0,this.maps=Object.create(null)}return F(te,[{key:"set",value:function(Me,Ce){this.maps[Me]=Ce}},{key:"get",value:function(Me){return this.maps[Me]}}]),te}(),P=N;function W(te,Q){return U(te)||K(te,Q)||j(te,Q)||R()}function R(){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 j(te,Q){if(!te)return;if(typeof te=="string")return H(te,Q);var Me=Object.prototype.toString.call(te).slice(8,-1);if(Me==="Object"&&te.constructor&&(Me=te.constructor.name),Me==="Map"||Me==="Set")return Array.from(te);if(Me==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Me))return H(te,Q)}function H(te,Q){(Q==null||Q>te.length)&&(Q=te.length);for(var Me=0,Ce=new Array(Q);Me<Q;Me++)Ce[Me]=te[Me];return Ce}function K(te,Q){var Me=te==null?null:typeof Symbol!="undefined"&&te[Symbol.iterator]||te["@@iterator"];if(Me==null)return;var Ce=[],ue=!0,ot=!1,rt,Ue;try{for(Me=Me.call(te);!(ue=(rt=Me.next()).done)&&!(Ce.push(rt.value),Q&&Ce.length===Q);ue=!0);}catch(Ge){ot=!0,Ue=Ge}finally{try{!ue&&Me.return!=null&&Me.return()}finally{if(ot)throw Ue}}return Ce}function U(te){if(Array.isArray(te))return te}function G(te,Q,Me){var Ce=w.useState(0),ue=W(Ce,2),ot=ue[0],rt=ue[1],Ue=Object(w.useRef)(new Map),Ge=Object(w.useRef)(new P),tt=Object(w.useRef)(0);function Wt(){tt.current+=1;var Yt=tt.current;Promise.resolve().then(function(){if(Yt!==tt.current)return;Ue.current.forEach(function(Tt,Rt){if(Tt&&Tt.offsetParent){var yt=Object(I.a)(Tt),Jt=yt.offsetHeight;Ge.current.get(Rt)!==Jt&&Ge.current.set(Rt,yt.offsetHeight)}}),rt(function(Tt){return Tt+1})})}function jt(Yt,Tt){var Rt=te(Yt),yt=Ue.current.get(Rt);Tt?(Ue.current.set(Rt,Tt),Wt()):Ue.current.delete(Rt),!yt!==!Tt&&(Tt?Q==null||Q(Yt):Me==null||Me(Yt))}return[jt,Wt,Ge.current,ot]}function z(te){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(Me){return typeof Me}:z=function(Me){return Me&&typeof Symbol=="function"&&Me.constructor===Symbol&&Me!==Symbol.prototype?"symbol":typeof Me},z(te)}function Y(te,Q,Me,Ce,ue,ot,rt,Ue){var Ge=w.useRef();return function(tt){if(tt==null){Ue();return}if(e.a.cancel(Ge.current),typeof tt=="number")rt(tt);else if(tt&&z(tt)==="object"){var Wt,jt=tt.align;"index"in tt?Wt=tt.index:Wt=Q.findIndex(function(yt){return ue(yt)===tt.key});var Yt=tt.offset,Tt=Yt===void 0?0:Yt,Rt=function yt(Jt,Lr){if(Jt<0||!te.current)return;var zr=te.current.clientHeight,rn=!1,ei=Lr;if(zr){for(var fn=Lr||jt,Zr=0,bt=0,ut=0,Oe=Math.min(Q.length,Wt),be=0;be<=Oe;be+=1){var Fe=ue(Q[be]);bt=Zr;var it=Me.get(Fe);ut=bt+(it===void 0?Ce:it),Zr=ut,be===Wt&&it===void 0&&(rn=!0)}var wt=null;switch(fn){case"top":wt=bt-Tt;break;case"bottom":wt=ut-zr+Tt;break;default:{var nr=te.current.scrollTop,sr=nr+zr;bt<nr?ei="top":ut>sr&&(ei="bottom")}}wt!==null&&wt!==te.current.scrollTop&&rt(wt)}Ge.current=Object(e.a)(function(){rn&&ot(),yt(Jt-1,ei)})};Rt(3)}}}function q(te,Q,Me,Ce){var ue=Me-te,ot=Q-Me,rt=Math.min(ue,ot)*2;if(Ce<=rt){var Ue=Math.floor(Ce/2);return Ce%2?Me+Ue+1:Me-Ue}return ue>ot?Me-(Ce-ot):Me+(Ce-ue)}function oe(te,Q,Me){var Ce=te.length,ue=Q.length,ot,rt;if(Ce===0&&ue===0)return null;Ce<ue?(ot=te,rt=Q):(ot=Q,rt=te);var Ue={__EMPTY_ITEM__:!0};function Ge(Rt){return Rt!==void 0?Me(Rt):Ue}for(var tt=null,Wt=Math.abs(Ce-ue)!==1,jt=0;jt<rt.length;jt+=1){var Yt=Ge(ot[jt]),Tt=Ge(rt[jt]);if(Yt!==Tt){tt=jt,Wt=Wt||Yt!==Ge(rt[jt+1]);break}}return tt===null?null:{index:tt,multiple:Wt}}function ie(te,Q){return De(te)||_e(te,Q)||he(te,Q)||se()}function se(){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 he(te,Q){if(!te)return;if(typeof te=="string")return pe(te,Q);var Me=Object.prototype.toString.call(te).slice(8,-1);if(Me==="Object"&&te.constructor&&(Me=te.constructor.name),Me==="Map"||Me==="Set")return Array.from(te);if(Me==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Me))return pe(te,Q)}function pe(te,Q){(Q==null||Q>te.length)&&(Q=te.length);for(var Me=0,Ce=new Array(Q);Me<Q;Me++)Ce[Me]=te[Me];return Ce}function _e(te,Q){var Me=te==null?null:typeof Symbol!="undefined"&&te[Symbol.iterator]||te["@@iterator"];if(Me==null)return;var Ce=[],ue=!0,ot=!1,rt,Ue;try{for(Me=Me.call(te);!(ue=(rt=Me.next()).done)&&!(Ce.push(rt.value),Q&&Ce.length===Q);ue=!0);}catch(Ge){ot=!0,Ue=Ge}finally{try{!ue&&Me.return!=null&&Me.return()}finally{if(ot)throw Ue}}return Ce}function De(te){if(Array.isArray(te))return te}function Xe(te,Q,Me){var Ce=w.useState(te),ue=ie(Ce,2),ot=ue[0],rt=ue[1],Ue=w.useState(null),Ge=ie(Ue,2),tt=Ge[0],Wt=Ge[1];return w.useEffect(function(){var jt=oe(ot||[],te||[],Q);(jt==null?void 0:jt.index)!==void 0&&(Me==null||Me(jt.index),Wt(te[jt.index])),rt(te)},[te]),[tt]}function J(te){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?J=function(Me){return typeof Me}:J=function(Me){return Me&&typeof Symbol=="function"&&Me.constructor===Symbol&&Me!==Symbol.prototype?"symbol":typeof Me},J(te)}var Ee=(typeof navigator=="undefined"?"undefined":J(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),qe=Ee,ae=function(te,Q){var Me=Object(w.useRef)(!1),Ce=Object(w.useRef)(null);function ue(){clearTimeout(Ce.current),Me.current=!0,Ce.current=setTimeout(function(){Me.current=!1},50)}var ot=Object(w.useRef)({top:te,bottom:Q});return ot.current.top=te,ot.current.bottom=Q,function(rt){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ge=rt<0&&ot.current.top||rt>0&&ot.current.bottom;return Ue&&Ge?(clearTimeout(Ce.current),Me.current=!1):(!Ge||Me.current)&&ue(),!Me.current&&Ge}};function V(te,Q,Me,Ce){var ue=Object(w.useRef)(0),ot=Object(w.useRef)(null),rt=Object(w.useRef)(null),Ue=Object(w.useRef)(!1),Ge=ae(Q,Me);function tt(jt){if(!te)return;e.a.cancel(ot.current);var Yt=jt.deltaY;if(ue.current+=Yt,rt.current=Yt,Ge(Yt))return;qe||jt.preventDefault(),ot.current=Object(e.a)(function(){var Tt=Ue.current?10:1;Ce(ue.current*Tt),ue.current=0})}function Wt(jt){if(!te)return;Ue.current=jt.detail===rt.current}return[tt,Wt]}var X=14/15;function Z(te,Q,Me){var Ce=Object(w.useRef)(!1),ue=Object(w.useRef)(0),ot=Object(w.useRef)(null),rt=Object(w.useRef)(null),Ue,Ge=function(Yt){if(Ce.current){var Tt=Math.ceil(Yt.touches[0].pageY),Rt=ue.current-Tt;ue.current=Tt,Me(Rt)&&Yt.preventDefault(),clearInterval(rt.current),rt.current=setInterval(function(){Rt*=X,(!Me(Rt,!0)||Math.abs(Rt)<=.1)&&clearInterval(rt.current)},16)}},tt=function(){Ce.current=!1,Ue()},Wt=function(Yt){Ue(),Yt.touches.length===1&&!Ce.current&&(Ce.current=!0,ue.current=Math.ceil(Yt.touches[0].pageY),ot.current=Yt.target,ot.current.addEventListener("touchmove",Ge),ot.current.addEventListener("touchend",tt))};Ue=function(){ot.current&&(ot.current.removeEventListener("touchmove",Ge),ot.current.removeEventListener("touchend",tt))},w.useLayoutEffect(function(){return te&&Q.current.addEventListener("touchstart",Wt),function(){Q.current.removeEventListener("touchstart",Wt),Ue(),clearInterval(rt.current)}},[te])}var ge=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function le(){return le=Object.assign||function(te){for(var Q=1;Q<arguments.length;Q++){var Me=arguments[Q];for(var Ce in Me)Object.prototype.hasOwnProperty.call(Me,Ce)&&(te[Ce]=Me[Ce])}return te},le.apply(this,arguments)}function Se(te,Q){var Me=Object.keys(te);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(te);Q&&(Ce=Ce.filter(function(ue){return Object.getOwnPropertyDescriptor(te,ue).enumerable})),Me.push.apply(Me,Ce)}return Me}function me(te){for(var Q=1;Q<arguments.length;Q++){var Me=arguments[Q]!=null?arguments[Q]:{};Q%2?Se(Object(Me),!0).forEach(function(Ce){$(te,Ce,Me[Ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(Me)):Se(Object(Me)).forEach(function(Ce){Object.defineProperty(te,Ce,Object.getOwnPropertyDescriptor(Me,Ce))})}return te}function $(te,Q,Me){return Q in te?Object.defineProperty(te,Q,{value:Me,enumerable:!0,configurable:!0,writable:!0}):te[Q]=Me,te}function we(te,Q){return Ne(te)||nt(te,Q)||We(te,Q)||xe()}function xe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function We(te,Q){if(!te)return;if(typeof te=="string")return st(te,Q);var Me=Object.prototype.toString.call(te).slice(8,-1);if(Me==="Object"&&te.constructor&&(Me=te.constructor.name),Me==="Map"||Me==="Set")return Array.from(te);if(Me==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Me))return st(te,Q)}function st(te,Q){(Q==null||Q>te.length)&&(Q=te.length);for(var Me=0,Ce=new Array(Q);Me<Q;Me++)Ce[Me]=te[Me];return Ce}function nt(te,Q){var Me=te==null?null:typeof Symbol!="undefined"&&te[Symbol.iterator]||te["@@iterator"];if(Me==null)return;var Ce=[],ue=!0,ot=!1,rt,Ue;try{for(Me=Me.call(te);!(ue=(rt=Me.next()).done)&&!(Ce.push(rt.value),Q&&Ce.length===Q);ue=!0);}catch(Ge){ot=!0,Ue=Ge}finally{try{!ue&&Me.return!=null&&Me.return()}finally{if(ot)throw Ue}}return Ce}function Ne(te){if(Array.isArray(te))return te}function St(te,Q){if(te==null)return{};var Me=Ye(te,Q),Ce,ue;if(Object.getOwnPropertySymbols){var ot=Object.getOwnPropertySymbols(te);for(ue=0;ue<ot.length;ue++){if(Ce=ot[ue],Q.indexOf(Ce)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(te,Ce))continue;Me[Ce]=te[Ce]}}return Me}function Ye(te,Q){if(te==null)return{};var Me={},Ce=Object.keys(te),ue,ot;for(ot=0;ot<Ce.length;ot++){if(ue=Ce[ot],Q.indexOf(ue)>=0)continue;Me[ue]=te[ue]}return Me}var vt=[],It={overflowY:"auto",overflowAnchor:"none"};function Ut(te,Q){var Me=te.prefixCls,Ce=Me===void 0?"rc-virtual-list":Me,ue=te.className,ot=te.height,rt=te.itemHeight,Ue=te.fullHeight,Ge=Ue===void 0?!0:Ue,tt=te.style,Wt=te.data,jt=te.children,Yt=te.itemKey,Tt=te.virtual,Rt=te.component,yt=Rt===void 0?"div":Rt,Jt=te.onScroll,Lr=te.onVisibleChange,zr=St(te,ge),rn=!!(Tt!==!1&&ot&&rt),ei=rn&&Wt&&rt*Wt.length>ot,fn=Object(w.useState)(0),Zr=we(fn,2),bt=Zr[0],ut=Zr[1],Oe=Object(w.useState)(!1),be=we(Oe,2),Fe=be[0],it=be[1],wt=b()(Ce,ue),nr=Wt||vt,sr=Object(w.useRef)(),Ar=Object(w.useRef)(),Hr=Object(w.useRef)(),$r=w.useCallback(function(Ct){return typeof Yt=="function"?Yt(Ct):Ct==null?void 0:Ct[Yt]},[Yt]),Qt={getKey:$r};function Ot(Ct){ut(function(Nr){var Zt;typeof Ct=="function"?Zt=Ct(Nr):Zt=Ct;var Ir=et(Zt);return sr.current.scrollTop=Ir,Ir})}var Ft=Object(w.useRef)({start:0,end:nr.length}),pr=Object(w.useRef)(),Rr=Xe(nr,$r),Pr=we(Rr,1),an=Pr[0];pr.current=an;var Xt=G($r,null,null),hr=we(Xt,4),Tr=hr[0],Wr=hr[1],Gr=hr[2],Tn=hr[3],gn=w.useMemo(function(){if(!rn)return{scrollHeight:void 0,start:0,end:nr.length-1,offset:void 0};if(!ei){var Ct;return{scrollHeight:((Ct=Ar.current)===null||Ct===void 0?void 0:Ct.offsetHeight)||0,start:0,end:nr.length-1,offset:void 0}}for(var Nr=0,Zt,Ir,xr,ur=nr.length,on=0;on<ur;on+=1){var Yn=nr[on],Vn=$r(Yn),Wn=Gr.get(Vn),jn=Nr+(Wn===void 0?rt:Wn);jn>=bt&&Zt===void 0&&(Zt=on,Ir=Nr),jn>bt+ot&&xr===void 0&&(xr=on),Nr=jn}return Zt===void 0&&(Zt=0,Ir=0),xr===void 0&&(xr=nr.length-1),xr=Math.min(xr+1,nr.length),{scrollHeight:Nr,start:Zt,end:xr,offset:Ir}},[ei,rn,bt,nr,Tn,ot]),In=gn.scrollHeight,Fn=gn.start,Xn=gn.end,fi=gn.offset;Ft.current.start=Fn,Ft.current.end=Xn;var pi=In-ot,bi=Object(w.useRef)(pi);bi.current=pi;function et(Ct){var Nr=Ct;return Number.isNaN(bi.current)||(Nr=Math.min(Nr,bi.current)),Nr=Math.max(Nr,0),Nr}var Le=bt<=0,Pe=bt>=pi,je=ae(Le,Pe);function Je(Ct){var Nr=Ct;Ot(Nr)}function Ve(Ct){var Nr=Ct.currentTarget.scrollTop;Nr!==bt&&Ot(Nr),Jt==null||Jt(Ct)}var Ze=V(rn,Le,Pe,function(Ct){Ot(function(Nr){var Zt=Nr+Ct;return Zt})}),At=we(Ze,2),dt=At[0],Kt=At[1];Z(rn,sr,function(Ct,Nr){return je(Ct,Nr)?!1:(dt({preventDefault:function(){},deltaY:Ct}),!0)}),Object(w.useLayoutEffect)(function(){function Ct(Nr){rn&&Nr.preventDefault()}return sr.current.addEventListener("wheel",dt),sr.current.addEventListener("DOMMouseScroll",Kt),sr.current.addEventListener("MozMousePixelScroll",Ct),function(){sr.current.removeEventListener("wheel",dt),sr.current.removeEventListener("DOMMouseScroll",Kt),sr.current.removeEventListener("MozMousePixelScroll",Ct)}},[rn]);var $t=Y(sr,nr,Gr,rt,$r,Wr,Ot,function(){var Ct;(Ct=Hr.current)===null||Ct===void 0||Ct.delayHidden()});w.useImperativeHandle(Q,function(){return{scrollTo:$t}}),Object(w.useLayoutEffect)(function(){if(Lr){var Ct=nr.slice(Fn,Xn+1);Lr(Ct,nr)}},[Fn,Xn,nr]);var er=E(nr,Fn,Xn,Tr,jt,Qt),cr=null;return ot&&(cr=me($({},Ge?"height":"maxHeight",ot),It),rn&&(cr.overflowY="hidden",Fe&&(cr.pointerEvents="none"))),w.createElement("div",le({style:me(me({},tt),{},{position:"relative"}),className:wt},zr),w.createElement(yt,{className:"".concat(Ce,"-holder"),style:cr,ref:sr,onScroll:Ve},w.createElement(o,{prefixCls:Ce,height:In,offset:fi,onInnerResize:Wr,ref:Ar},er)),rn&&w.createElement(T,{ref:Hr,prefixCls:Ce,scrollTop:bt,height:ot,scrollHeight:In,count:nr.length,onScroll:Je,onStartMove:function(){it(!0)},onStopMove:function(){it(!1)}}))}var xt=w.forwardRef(Ut);xt.displayName="List";var Bt=xt,Qe=B.a=Bt},"+rIm":function(k,B,d){var w=d("bYtY"),A=w.retrieve,b=w.defaults,g=w.extend,v=w.each,f=d("7aKB"),l=d("IwbS"),u=d("Qxkt"),o=d("OELB"),e=o.isRadianAroundZero,n=o.remRadian,i=d("oVpE"),r=i.createSymbol,s=d("Fofx"),t=d("QBsz"),a=t.applyTransform,c=d("aX7z"),h=c.shouldShowAllLabels,p=Math.PI,m=function(R,j){this.opt=j,this.axisModel=R,b(j,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new l.Group;var H=new l.Group({position:j.position.slice(),rotation:j.rotation});H.updateTransform(),this._transform=H.transform,this._dumbGroup=H};m.prototype={constructor:m,hasBuilder:function(R){return!!S[R]},add:function(R){S[R].call(this)},getGroup:function(){return this.group}};var S={axisLine:function(){var R=this.opt,j=this.axisModel;if(!j.get("axisLine.show"))return;var H=this.axisModel.axis.getExtent(),K=this._transform,U=[H[0],0],G=[H[1],0];K&&(a(U,U,K),a(G,G,K));var z=g({lineCap:"round"},j.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new l.Line({anid:"line",subPixelOptimize:!0,shape:{x1:U[0],y1:U[1],x2:G[0],y2:G[1]},style:z,strokeContainThreshold:R.strokeContainThreshold||5,silent:!0,z2:1}));var Y=j.get("axisLine.symbol"),q=j.get("axisLine.symbolSize"),oe=j.get("axisLine.symbolOffset")||0;if(typeof oe=="number"&&(oe=[oe,oe]),Y!=null){typeof Y=="string"&&(Y=[Y,Y]),(typeof q=="string"||typeof q=="number")&&(q=[q,q]);var ie=q[0],se=q[1];v([{rotate:R.rotation+Math.PI/2,offset:oe[0],r:0},{rotate:R.rotation-Math.PI/2,offset:oe[1],r:Math.sqrt((U[0]-G[0])*(U[0]-G[0])+(U[1]-G[1])*(U[1]-G[1]))}],function(he,pe){if(Y[pe]!=="none"&&Y[pe]!=null){var _e=r(Y[pe],-ie/2,-se/2,ie,se,z.stroke,!0),De=he.r+he.offset,Xe=[U[0]+De*Math.cos(R.rotation),U[1]-De*Math.sin(R.rotation)];_e.attr({rotation:he.rotate,position:Xe,silent:!0,z2:11}),this.group.add(_e)}},this)}},axisTickLabel:function(){var R=this.axisModel,j=this.opt,H=F(this,R,j),K=P(this,R,j);_(R,K,H),N(this,R,j)},axisName:function(){var R=this.opt,j=this.axisModel,H=A(R.axisName,j.get("name"));if(!H)return;var K=j.get("nameLocation"),U=R.nameDirection,G=j.getModel("nameTextStyle"),z=j.get("nameGap")||0,Y=this.axisModel.axis.getExtent(),q=Y[0]>Y[1]?-1:1,oe=[K==="start"?Y[0]-q*z:K==="end"?Y[1]+q*z:(Y[0]+Y[1])/2,L(K)?R.labelOffset+U*z:0],ie,se=j.get("nameRotate");se!=null&&(se=se*p/180);var he;L(K)?ie=x(R.rotation,se!=null?se:R.rotation,U):(ie=C(R,K,se||0,Y),he=R.axisNameAvailableWidth,he!=null&&(he=Math.abs(he/Math.sin(ie.rotation)),!isFinite(he)&&(he=null)));var pe=G.getFont(),_e=j.get("nameTruncate",!0)||{},De=_e.ellipsis,Xe=A(R.nameTruncateMaxWidth,_e.maxWidth,he),J=De!=null&&Xe!=null?f.truncateText(H,Xe,pe,De,{minChar:2,placeholder:_e.placeholder}):H,Ee=j.get("tooltip",!0),qe=j.mainType,ae={componentType:qe,name:H,$vars:["name"]};ae[qe+"Index"]=j.componentIndex;var V=new l.Text({anid:"name",__fullText:H,__truncatedText:J,position:oe,rotation:ie.rotation,silent:T(j),z2:1,tooltip:Ee&&Ee.show?g({content:H,formatter:function(){return H},formatterParams:ae},Ee):null});l.setTextStyle(V.style,G,{text:J,textFont:pe,textFill:G.getTextColor()||j.get("axisLine.lineStyle.color"),textAlign:G.get("align")||ie.textAlign,textVerticalAlign:G.get("verticalAlign")||ie.textVerticalAlign}),j.get("triggerEvent")&&(V.eventData=y(j),V.eventData.targetType="axisName",V.eventData.name=H),this._dumbGroup.add(V),V.updateTransform(),this.group.add(V),V.decomposeTransform()}},y=m.makeAxisEventDataBase=function(R){var j={componentType:R.mainType,componentIndex:R.componentIndex};return j[R.mainType+"Index"]=R.componentIndex,j},x=m.innerTextLayout=function(R,j,H){var K=n(j-R),U,G;return e(K)?(G=H>0?"top":"bottom",U="center"):e(K-p)?(G=H>0?"bottom":"top",U="center"):(G="middle",K>0&&K<p?U=H>0?"right":"left":U=H>0?"left":"right"),{rotation:K,textAlign:U,textVerticalAlign:G}};function C(R,j,H,K){var U=n(H-R.rotation),G,z,Y=K[0]>K[1],q=j==="start"&&!Y||j!=="start"&&Y;return e(U-p/2)?(z=q?"bottom":"top",G="center"):e(U-p*1.5)?(z=q?"top":"bottom",G="center"):(z="middle",U<p*1.5&&U>p/2?G=q?"left":"right":G=q?"right":"left"),{rotation:U,textAlign:G,textVerticalAlign:z}}var T=m.isLabelSilent=function(R){var j=R.get("tooltip");return R.get("silent")||!(R.get("triggerEvent")||j&&j.show)};function _(R,j,H){if(h(R.axis))return;var K=R.get("axisLabel.showMinLabel"),U=R.get("axisLabel.showMaxLabel");j=j||[],H=H||[];var G=j[0],z=j[1],Y=j[j.length-1],q=j[j.length-2],oe=H[0],ie=H[1],se=H[H.length-1],he=H[H.length-2];K===!1?(E(G),E(oe)):I(G,z)&&(K?(E(z),E(ie)):(E(G),E(oe))),U===!1?(E(Y),E(se)):I(q,Y)&&(U?(E(q),E(he)):(E(Y),E(se)))}function E(R){R&&(R.ignore=!0)}function I(R,j,H){var K=R&&R.getBoundingRect().clone(),U=j&&j.getBoundingRect().clone();if(!K||!U)return;var G=s.identity([]);return s.rotate(G,G,-R.rotation),K.applyTransform(s.mul([],G,R.getLocalTransform())),U.applyTransform(s.mul([],G,j.getLocalTransform())),K.intersect(U)}function L(R){return R==="middle"||R==="center"}function D(R,j,H,K,U){for(var G=[],z=[],Y=[],q=0;q<R.length;q++){var oe=R[q].coord;z[0]=oe,z[1]=0,Y[0]=oe,Y[1]=H,j&&(a(z,z,j),a(Y,Y,j));var ie=new l.Line({anid:U+"_"+R[q].tickValue,subPixelOptimize:!0,shape:{x1:z[0],y1:z[1],x2:Y[0],y2:Y[1]},style:K,z2:2,silent:!0});G.push(ie)}return G}function F(R,j,H){var K=j.axis,U=j.getModel("axisTick");if(!U.get("show")||K.scale.isBlank())return;for(var G=U.getModel("lineStyle"),z=H.tickDirection*U.get("length"),Y=K.getTicksCoords(),q=D(Y,R._transform,z,b(G.getLineStyle(),{stroke:j.get("axisLine.lineStyle.color")}),"ticks"),oe=0;oe<q.length;oe++)R.group.add(q[oe]);return q}function N(R,j,H){var K=j.axis,U=j.getModel("minorTick");if(!U.get("show")||K.scale.isBlank())return;var G=K.getMinorTicksCoords();if(!G.length)return;for(var z=U.getModel("lineStyle"),Y=H.tickDirection*U.get("length"),q=b(z.getLineStyle(),b(j.getModel("axisTick").getLineStyle(),{stroke:j.get("axisLine.lineStyle.color")})),oe=0;oe<G.length;oe++)for(var ie=D(G[oe],R._transform,Y,q,"minorticks_"+oe),se=0;se<ie.length;se++)R.group.add(ie[se])}function P(R,j,H){var K=j.axis,U=A(H.axisLabelShow,j.get("axisLabel.show"));if(!U||K.scale.isBlank())return;var G=j.getModel("axisLabel"),z=G.get("margin"),Y=K.getViewLabels(),q=(A(H.labelRotate,G.get("rotate"))||0)*p/180,oe=x(H.rotation,q,H.labelDirection),ie=j.getCategories&&j.getCategories(!0),se=[],he=T(j),pe=j.get("triggerEvent");return v(Y,function(_e,De){var Xe=_e.tickValue,J=_e.formattedLabel,Ee=_e.rawLabel,qe=G;ie&&ie[Xe]&&ie[Xe].textStyle&&(qe=new u(ie[Xe].textStyle,G,j.ecModel));var ae=qe.getTextColor()||j.get("axisLine.lineStyle.color"),V=K.dataToCoord(Xe),X=[V,H.labelOffset+H.labelDirection*z],Z=new l.Text({anid:"label_"+Xe,position:X,rotation:oe.rotation,silent:he,z2:10});l.setTextStyle(Z.style,qe,{text:J,textAlign:qe.getShallow("align",!0)||oe.textAlign,textVerticalAlign:qe.getShallow("verticalAlign",!0)||qe.getShallow("baseline",!0)||oe.textVerticalAlign,textFill:typeof ae=="function"?ae(K.type==="category"?Ee:K.type==="value"?Xe+"":Xe,De):ae}),pe&&(Z.eventData=y(j),Z.eventData.targetType="axisLabel",Z.eventData.value=Ee),R._dumbGroup.add(Z),Z.updateTransform(),se.push(Z),R.group.add(Z),Z.decomposeTransform()}),se}var W=m;k.exports=W},"+wW9":function(k,B,d){var w=d("bYtY"),A=w.each,b=w.isArray,g=w.isObject,v=d("JuEJ"),f=d("4NO4"),l=f.normalizeToArray;function u(s,t){t=t.split(",");for(var a=s,c=0;c<t.length&&!(a=a&&a[t[c]],a==null);c++);return a}function o(s,t,a,c){t=t.split(",");for(var h=s,p,m=0;m<t.length-1;m++)p=t[m],h[p]==null&&(h[p]={}),h=h[p];(c||h[t[m]]==null)&&(h[t[m]]=a)}function e(s){A(n,function(t){t[0]in s&&!(t[1]in s)&&(s[t[1]]=s[t[0]])})}var n=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],i=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function r(s,t){v(s,t),s.series=l(s.series),A(s.series,function(a){if(!g(a))return;var c=a.type;if(c==="line")a.clipOverflow!=null&&(a.clip=a.clipOverflow);else if(c==="pie"||c==="gauge")a.clockWise!=null&&(a.clockwise=a.clockWise);else if(c==="gauge"){var h=u(a,"pointer.color");h!=null&&o(a,"itemStyle.color",h)}e(a)}),s.dataRange&&(s.visualMap=s.dataRange),A(i,function(a){var c=s[a];c&&(b(c)||(c=[c]),A(c,function(h){e(h)}))})}k.exports=r},"/IIm":function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=d("H6uX"),v=d("IwbS"),f=d("pP6R"),l=d("gPAo"),u=b.curry,o=b.each,e=b.map,n=Math.min,i=Math.max,r=Math.pow,s=1e4,t=6,a=6,c="globalPan",h={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},p={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},m={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},S=0;function y($){g.call(this),this._zr=$,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_"+S++,this._handlers={},o(X,function(we,xe){this._handlers[xe]=b.bind(we,this)},this)}y.prototype={constructor:y,enableBrush:function($){return this._brushType&&C(this),$.brushType&&x(this,$),this},setPanels:function($){if($&&$.length){var we=this._panels={};b.each($,function(xe){we[xe.panelId]=b.clone(xe)})}else this._panels=null;return this},mount:function($){$=$||{},this._enableGlobalPan=$.enableGlobalPan;var we=this.group;return this._zr.add(we),we.attr({position:$.position||[0,0],rotation:$.rotation||0,scale:$.scale||[1,1]}),this._transform=we.getLocalTransform(),this},eachCover:function($,we){o(this._covers,$,we)},updateCovers:function($){$=b.map($,function(It){return b.merge(b.clone(m),It,!0)});var we="\0-brush-index-",xe=this._covers,We=this._covers=[],st=this,nt=this._creatingCover;return new l(xe,$,St,Ne).add(Ye).update(Ye).remove(vt).execute(),this;function Ne(It,Ut){return(It.id!=null?It.id:we+Ut)+"-"+It.brushType}function St(It,Ut){return Ne(It.__brushOption,Ut)}function Ye(It,Ut){var xt=$[It];if(Ut!=null&&xe[Ut]===nt)We[It]=xe[Ut];else{var Bt=We[It]=Ut!=null?(xe[Ut].__brushOption=xt,xe[Ut]):I(st,E(st,xt));F(st,Bt)}}function vt(It){xe[It]!==nt&&st.group.remove(xe[It])}},unmount:function(){return this.enableBrush(!1),R(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},b.mixin(y,g);function x($,we){var xe=$._zr;$._enableGlobalPan||f.take(xe,c,$._uid),T(xe,$._handlers),$._brushType=we.brushType,$._brushOption=b.merge(b.clone(m),we,!0)}function C($){var we=$._zr;f.release(we,c,$._uid),_(we,$._handlers),$._brushType=$._brushOption=null}function T($,we){o(we,function(xe,We){$.on(We,xe)})}function _($,we){o(we,function(xe,We){$.off(We,xe)})}function E($,we){var xe=le[we.brushType].createCover($,we);return xe.__brushOption=we,D(xe,we),$.group.add(xe),xe}function I($,we){var xe=N(we);return xe.endCreating&&(xe.endCreating($,we),D(we,we.__brushOption)),we}function L($,we){var xe=we.__brushOption;N(we).updateCoverShape($,we,xe.range,xe)}function D($,we){var xe=we.z;xe==null&&(xe=s),$.traverse(function(We){We.z=xe,We.z2=xe})}function F($,we){N(we).updateCommon($,we),L($,we)}function N($){return le[$.__brushOption.brushType]}function P($,we,xe){var We=$._panels;if(!We)return!0;var st,nt=$._transform;return o(We,function(Ne){Ne.isTargetByCursor(we,xe,nt)&&(st=Ne)}),st}function W($,we){var xe=$._panels;if(!xe)return!0;var We=we.__brushOption.panelId;return We!=null?xe[We]:!0}function R($){var we=$._covers,xe=we.length;return o(we,function(We){$.group.remove(We)},$),we.length=0,!!xe}function j($,we){var xe=e($._covers,function(We){var st=We.__brushOption,nt=b.clone(st.range);return{brushType:st.brushType,panelId:st.panelId,range:nt}});$.trigger("brush",xe,{isEnd:!!we.isEnd,removeOnClick:!!we.removeOnClick})}function H($){var we=$._track;if(!we.length)return!1;var xe=we[we.length-1],We=we[0],st=xe[0]-We[0],nt=xe[1]-We[1],Ne=r(st*st+nt*nt,.5);return Ne>t}function K($){var we=$.length-1;return we<0&&(we=0),[$[0],$[we]]}function U($,we,xe,We){var st=new v.Group;return st.add(new v.Rect({name:"main",style:q(xe),silent:!0,draggable:!0,cursor:"move",drift:u($,we,st,"nswe"),ondragend:u(j,we,{isEnd:!0})})),o(We,function(nt){st.add(new v.Rect({name:nt,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:u($,we,st,nt),ondragend:u(j,we,{isEnd:!0})}))}),st}function G($,we,xe,We){var st=We.brushStyle.lineWidth||0,nt=i(st,a),Ne=xe[0][0],St=xe[1][0],Ye=Ne-st/2,vt=St-st/2,It=xe[0][1],Ut=xe[1][1],xt=It-nt+st/2,Bt=Ut-nt+st/2,Qe=It-Ne,te=Ut-St,Q=Qe+st,Me=te+st;Y($,we,"main",Ne,St,Qe,te),We.transformable&&(Y($,we,"w",Ye,vt,nt,Me),Y($,we,"e",xt,vt,nt,Me),Y($,we,"n",Ye,vt,Q,nt),Y($,we,"s",Ye,Bt,Q,nt),Y($,we,"nw",Ye,vt,nt,nt),Y($,we,"ne",xt,vt,nt,nt),Y($,we,"sw",Ye,Bt,nt,nt),Y($,we,"se",xt,Bt,nt,nt))}function z($,we){var xe=we.__brushOption,We=xe.transformable,st=we.childAt(0);st.useStyle(q(xe)),st.attr({silent:!We,cursor:We?"move":"default"}),o(["w","e","n","s","se","sw","ne","nw"],function(nt){var Ne=we.childOfName(nt),St=se($,nt);Ne&&Ne.attr({silent:!We,invisible:!We,cursor:We?p[St]+"-resize":null})})}function Y($,we,xe,We,st,nt,Ne){var St=we.childOfName(xe);St&&St.setShape(Xe(De($,we,[[We,st],[We+nt,st+Ne]])))}function q($){return b.defaults({strokeNoScale:!0},$.brushStyle)}function oe($,we,xe,We){var st=[n($,xe),n(we,We)],nt=[i($,xe),i(we,We)];return[[st[0],nt[0]],[st[1],nt[1]]]}function ie($){return v.getTransform($.group)}function se($,we){if(we.length>1){we=we.split("");var xe=[se($,we[0]),se($,we[1])];return(xe[0]==="e"||xe[0]==="w")&&xe.reverse(),xe.join("")}else{var We={w:"left",e:"right",n:"top",s:"bottom"},st={left:"w",right:"e",top:"n",bottom:"s"},xe=v.transformDirection(We[we],ie($));return st[xe]}}function he($,we,xe,We,st,nt,Ne,St){var Ye=We.__brushOption,vt=$(Ye.range),It=_e(xe,nt,Ne);o(st.split(""),function(Ut){var xt=h[Ut];vt[xt[0]][xt[1]]+=It[xt[0]]}),Ye.range=we(oe(vt[0][0],vt[1][0],vt[0][1],vt[1][1])),F(xe,We),j(xe,{isEnd:!1})}function pe($,we,xe,We,st){var nt=we.__brushOption.range,Ne=_e($,xe,We);o(nt,function(St){St[0]+=Ne[0],St[1]+=Ne[1]}),F($,we),j($,{isEnd:!1})}function _e($,we,xe){var We=$.group,st=We.transformCoordToLocal(we,xe),nt=We.transformCoordToLocal(0,0);return[st[0]-nt[0],st[1]-nt[1]]}function De($,we,xe){var We=W($,we);return We&&We!==!0?We.clipPath(xe,$._transform):b.clone(xe)}function Xe($){var we=n($[0][0],$[1][0]),xe=n($[0][1],$[1][1]),We=i($[0][0],$[1][0]),st=i($[0][1],$[1][1]);return{x:we,y:xe,width:We-we,height:st-xe}}function J($,we,xe){if(!$._brushType||ge($,we))return;var We=$._zr,st=$._covers,nt=P($,we,xe);if(!$._dragging)for(var Ne=0;Ne<st.length;Ne++){var St=st[Ne].__brushOption;if(nt&&(nt===!0||St.panelId===nt.panelId)&&le[St.brushType].contain(st[Ne],xe[0],xe[1]))return}nt&&We.setCursorStyle("crosshair")}function Ee($){var we=$.event;we.preventDefault&&we.preventDefault()}function qe($,we,xe){return $.childOfName("main").contain(we,xe)}function ae($,we,xe,We){var st=$._creatingCover,nt=$._creatingPanel,Ne=$._brushOption,St;if($._track.push(xe.slice()),H($)||st){if(nt&&!st){Ne.brushMode==="single"&&R($);var Ye=b.clone(Ne);Ye.brushType=V(Ye.brushType,nt),Ye.panelId=nt===!0?null:nt.panelId,st=$._creatingCover=E($,Ye),$._covers.push(st)}if(st){var vt=le[V($._brushType,nt)],It=st.__brushOption;It.range=vt.getCreatingRange(De($,st,$._track)),We&&(I($,st),vt.updateCommon($,st)),L($,st),St={isEnd:We}}}else We&&Ne.brushMode==="single"&&Ne.removeOnClick&&(P($,we,xe)&&R($)&&(St={isEnd:We,removeOnClick:!0}));return St}function V($,we){return $==="auto"?we.defaultBrushType:$}var X={mousedown:function($){if(this._dragging)Z(this,$);else if(!$.target||!$.target.draggable){Ee($);var we=this.group.transformCoordToLocal($.offsetX,$.offsetY);this._creatingCover=null;var xe=this._creatingPanel=P(this,$,we);xe&&(this._dragging=!0,this._track=[we.slice()])}},mousemove:function($){var we=$.offsetX,xe=$.offsetY,We=this.group.transformCoordToLocal(we,xe);if(J(this,$,We),this._dragging){Ee($);var st=ae(this,$,We,!1);st&&j(this,st)}},mouseup:function($){Z(this,$)}};function Z($,we){if($._dragging){Ee(we);var xe=we.offsetX,We=we.offsetY,st=$.group.transformCoordToLocal(xe,We),nt=ae($,we,st,!0);$._dragging=!1,$._track=[],$._creatingCover=null,nt&&j($,nt)}}function ge($,we,xe){var We=$._zr;return we<0||we>We.getWidth()||xe<0||xe>We.getHeight()}var le={lineX:Se(0),lineY:Se(1),rect:{createCover:function($,we){return U(u(he,function(xe){return xe},function(xe){return xe}),$,we,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function($){var we=K($);return oe(we[1][0],we[1][1],we[0][0],we[0][1])},updateCoverShape:function($,we,xe,We){G($,we,xe,We)},updateCommon:z,contain:qe},polygon:{createCover:function($,we){var xe=new v.Group;return xe.add(new v.Polyline({name:"main",style:q(we),silent:!0})),xe},getCreatingRange:function($){return $},endCreating:function($,we){we.remove(we.childAt(0)),we.add(new v.Polygon({name:"main",draggable:!0,drift:u(pe,$,we),ondragend:u(j,$,{isEnd:!0})}))},updateCoverShape:function($,we,xe,We){we.childAt(0).setShape({points:De($,we,xe)})},updateCommon:z,contain:qe}};function Se($){return{createCover:function(we,xe){return U(u(he,function(We){var st=[We,[0,100]];return $&&st.reverse(),st},function(We){return We[$]}),we,xe,[["w","e"],["n","s"]][$])},getCreatingRange:function(we){var xe=K(we),We=n(xe[0][$],xe[1][$]),st=i(xe[0][$],xe[1][$]);return[We,st]},updateCoverShape:function(we,xe,We,st){var nt,Ne=W(we,xe);if(Ne!==!0&&Ne.getLinearBrushOtherExtent)nt=Ne.getLinearBrushOtherExtent($,we._transform);else{var St=we._zr;nt=[0,[St.getWidth(),St.getHeight()][1-$]]}var Ye=[We,nt];$&&Ye.reverse(),G(we,xe,Ye,st)},updateCommon:z,contain:qe}}var me=y;k.exports=me},"/MfK":function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="DeleteOutlined";var l=B.a=A.forwardRef(f)},"/POA":function(k,B,d){!function(w,A){if(!0)k.exports=A();else var b,g}(window,function(){return function(w){var A={};function b(g){if(A[g])return A[g].exports;var v=A[g]={i:g,l:!1,exports:{}};return w[g].call(v.exports,v,v.exports,b),v.l=!0,v.exports}return b.m=w,b.c=A,b.d=function(g,v,f){b.o(g,v)||Object.defineProperty(g,v,{enumerable:!0,get:f})},b.r=function(g){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(g,"__esModule",{value:!0})},b.t=function(g,v){if(1&v&&(g=b(g)),8&v)return g;if(4&v&&typeof g=="object"&&g&&g.__esModule)return g;var f=Object.create(null);if(b.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:g}),2&v&&typeof g!="string")for(var l in g)b.d(f,l,function(u){return g[u]}.bind(null,l));return f},b.n=function(g){var v=g&&g.__esModule?function(){return g.default}:function(){return g};return b.d(v,"a",v),v},b.o=function(g,v){return Object.prototype.hasOwnProperty.call(g,v)},b.p="",b(b.s=34)}([function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.forwardEvent=A.EventEmitter=void 0;var g=function(){function v(){this._listeners=[],this._disposed=!1}return Object.defineProperty(v.prototype,"event",{get:function(){var l=this;return this._event||(this._event=function(u){return l._listeners.push(u),{dispose:function(){if(!l._disposed){for(var e=0;e<l._listeners.length;e++)if(l._listeners[e]===u)return void l._listeners.splice(e,1)}}}}),this._event},enumerable:!1,configurable:!0}),v.prototype.fire=function(f,l){for(var u=[],o=0;o<this._listeners.length;o++)u.push(this._listeners[o]);for(o=0;o<u.length;o++)u[o].call(void 0,f,l)},v.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},v}();A.EventEmitter=g,A.forwardEvent=function(v,f){return v(function(l){return f.fire(l)})}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.IUnicodeService=A.IOptionsService=A.ILogService=A.IInstantiationService=A.IDirtyRowService=A.ICharsetService=A.ICoreService=A.ICoreMouseService=A.IBufferService=void 0;var g=b(14);A.IBufferService=g.createDecorator("BufferService"),A.ICoreMouseService=g.createDecorator("CoreMouseService"),A.ICoreService=g.createDecorator("CoreService"),A.ICharsetService=g.createDecorator("CharsetService"),A.IDirtyRowService=g.createDecorator("DirtyRowService"),A.IInstantiationService=g.createDecorator("InstantiationService"),A.ILogService=g.createDecorator("LogService"),A.IOptionsService=g.createDecorator("OptionsService"),A.IUnicodeService=g.createDecorator("UnicodeService")},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.getDisposeArrayDisposable=A.disposeArray=A.Disposable=void 0;var g=function(){function f(){this._disposables=[],this._isDisposed=!1}return f.prototype.dispose=function(){this._isDisposed=!0;for(var l=0,u=this._disposables;l<u.length;l++)u[l].dispose();this._disposables.length=0},f.prototype.register=function(l){return this._disposables.push(l),l},f.prototype.unregister=function(l){var u=this._disposables.indexOf(l);u!==-1&&this._disposables.splice(u,1)},f}();function v(f){for(var l=0,u=f;l<u.length;l++)u[l].dispose();f.length=0}A.Disposable=g,A.disposeArray=v,A.getDisposeArrayDisposable=function(f){return{dispose:function(){return v(f)}}}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.WHITESPACE_CELL_CODE=A.WHITESPACE_CELL_WIDTH=A.WHITESPACE_CELL_CHAR=A.NULL_CELL_CODE=A.NULL_CELL_WIDTH=A.NULL_CELL_CHAR=A.CHAR_DATA_CODE_INDEX=A.CHAR_DATA_WIDTH_INDEX=A.CHAR_DATA_CHAR_INDEX=A.CHAR_DATA_ATTR_INDEX=A.DEFAULT_ATTR=A.DEFAULT_COLOR=void 0,A.DEFAULT_COLOR=256,A.DEFAULT_ATTR=256|A.DEFAULT_COLOR<<9,A.CHAR_DATA_ATTR_INDEX=0,A.CHAR_DATA_CHAR_INDEX=1,A.CHAR_DATA_WIDTH_INDEX=2,A.CHAR_DATA_CODE_INDEX=3,A.NULL_CELL_CHAR="",A.NULL_CELL_WIDTH=1,A.NULL_CELL_CODE=0,A.WHITESPACE_CELL_CHAR=" ",A.WHITESPACE_CELL_WIDTH=1,A.WHITESPACE_CELL_CODE=32},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(n,i){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var t in s)s.hasOwnProperty(t)&&(r[t]=s[t])})(n,i)},function(e,n){function i(){this.constructor=e}g(e,n),e.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(A,"__esModule",{value:!0}),A.CellData=void 0;var f=b(8),l=b(3),u=b(6),o=function(e){function n(){var i=e!==null&&e.apply(this,arguments)||this;return i.content=0,i.fg=0,i.bg=0,i.extended=new u.ExtendedAttrs,i.combinedData="",i}return v(n,e),n.fromCharData=function(i){var r=new n;return r.setFromCharData(i),r},n.prototype.isCombined=function(){return 2097152&this.content},n.prototype.getWidth=function(){return this.content>>22},n.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?f.stringFromCodePoint(2097151&this.content):""},n.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},n.prototype.setFromCharData=function(i){this.fg=i[l.CHAR_DATA_ATTR_INDEX],this.bg=0;var r=!1;if(i[l.CHAR_DATA_CHAR_INDEX].length>2)r=!0;else if(i[l.CHAR_DATA_CHAR_INDEX].length===2){var s=i[l.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=s&&s<=56319){var t=i[l.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=t&&t<=57343?this.content=1024*(s-55296)+t-56320+65536|i[l.CHAR_DATA_WIDTH_INDEX]<<22:r=!0}else r=!0}else this.content=i[l.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|i[l.CHAR_DATA_WIDTH_INDEX]<<22;r&&(this.combinedData=i[l.CHAR_DATA_CHAR_INDEX],this.content=2097152|i[l.CHAR_DATA_WIDTH_INDEX]<<22)},n.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},n}(u.AttributeData);A.CellData=o},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ISoundService=A.ISelectionService=A.IRenderService=A.IMouseService=A.ICoreBrowserService=A.ICharSizeService=void 0;var g=b(14);A.ICharSizeService=g.createDecorator("CharSizeService"),A.ICoreBrowserService=g.createDecorator("CoreBrowserService"),A.IMouseService=g.createDecorator("MouseService"),A.IRenderService=g.createDecorator("RenderService"),A.ISelectionService=g.createDecorator("SelectionService"),A.ISoundService=g.createDecorator("SoundService")},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ExtendedAttrs=A.AttributeData=void 0;var g=function(){function f(){this.fg=0,this.bg=0,this.extended=new v}return f.toColorRGB=function(l){return[l>>>16&255,l>>>8&255,255&l]},f.fromColorRGB=function(l){return(255&l[0])<<16|(255&l[1])<<8|255&l[2]},f.prototype.clone=function(){var l=new f;return l.fg=this.fg,l.bg=this.bg,l.extended=this.extended.clone(),l},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}();A.AttributeData=g;var v=function(){function f(l,u){l===void 0&&(l=0),u===void 0&&(u=-1),this.underlineStyle=l,this.underlineColor=u}return f.prototype.clone=function(){return new f(this.underlineStyle,this.underlineColor)},f.prototype.isEmpty=function(){return this.underlineStyle===0},f}();A.ExtendedAttrs=v},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.addDisposableDomListener=void 0,A.addDisposableDomListener=function(g,v,f,l){g.addEventListener(v,f,l);var u=!1;return{dispose:function(){u||(u=!0,g.removeEventListener(v,f,l))}}}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Utf8ToUtf32=A.StringToUtf32=A.utf32ToString=A.stringFromCodePoint=void 0,A.stringFromCodePoint=function(f){return f>65535?(f-=65536,String.fromCharCode(55296+(f>>10))+String.fromCharCode(f%1024+56320)):String.fromCharCode(f)},A.utf32ToString=function(f,l,u){l===void 0&&(l=0),u===void 0&&(u=f.length);for(var o="",e=l;e<u;++e){var n=f[e];n>65535?(n-=65536,o+=String.fromCharCode(55296+(n>>10))+String.fromCharCode(n%1024+56320)):o+=String.fromCharCode(n)}return o};var g=function(){function f(){this._interim=0}return f.prototype.clear=function(){this._interim=0},f.prototype.decode=function(l,u){var o=l.length;if(!o)return 0;var e=0,n=0;this._interim&&(56320<=(s=l.charCodeAt(n++))&&s<=57343?u[e++]=1024*(this._interim-55296)+s-56320+65536:(u[e++]=this._interim,u[e++]=s),this._interim=0);for(var i=n;i<o;++i){var r=l.charCodeAt(i);if(55296<=r&&r<=56319){if(++i>=o)return this._interim=r,e;var s;56320<=(s=l.charCodeAt(i))&&s<=57343?u[e++]=1024*(r-55296)+s-56320+65536:(u[e++]=r,u[e++]=s)}else u[e++]=r}return e},f}();A.StringToUtf32=g;var v=function(){function f(){this.interim=new Uint8Array(3)}return f.prototype.clear=function(){this.interim.fill(0)},f.prototype.decode=function(l,u){var o=l.length;if(!o)return 0;var e,n,i,r,s=0,t=0,a=0;if(this.interim[0]){var c=!1,h=this.interim[0];h&=(224&h)==192?31:(240&h)==224?15:7;for(var p=0,m=void 0;(m=63&this.interim[++p])&&p<4;)h<<=6,h|=m;for(var S=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,y=S-p;a<y;){if(a>=o)return 0;if((192&(m=l[a++]))!=128){a--,c=!0;break}this.interim[p++]=m,h<<=6,h|=63&m}c||(S===2?h<128?a--:u[s++]=h:S===3?h<2048||h>=55296&&h<=57343||(u[s++]=h):h<65536||h>1114111||(u[s++]=h)),this.interim.fill(0)}for(var x=o-4,C=a;C<o;){for(;!(!(C<x)||128&(e=l[C])||128&(n=l[C+1])||128&(i=l[C+2])||128&(r=l[C+3]));)u[s++]=e,u[s++]=n,u[s++]=i,u[s++]=r,C+=4;if((e=l[C++])<128)u[s++]=e;else if((224&e)==192){if(C>=o)return this.interim[0]=e,s;if((192&(n=l[C++]))!=128){C--;continue}if((t=(31&e)<<6|63&n)<128){C--;continue}u[s++]=t}else if((240&e)==224){if(C>=o)return this.interim[0]=e,s;if((192&(n=l[C++]))!=128){C--;continue}if(C>=o)return this.interim[0]=e,this.interim[1]=n,s;if((192&(i=l[C++]))!=128){C--;continue}if((t=(15&e)<<12|(63&n)<<6|63&i)<2048||t>=55296&&t<=57343)continue;u[s++]=t}else if((248&e)==240){if(C>=o)return this.interim[0]=e,s;if((192&(n=l[C++]))!=128){C--;continue}if(C>=o)return this.interim[0]=e,this.interim[1]=n,s;if((192&(i=l[C++]))!=128){C--;continue}if(C>=o)return this.interim[0]=e,this.interim[1]=n,this.interim[2]=i,s;if((192&(r=l[C++]))!=128){C--;continue}if((t=(7&e)<<18|(63&n)<<12|(63&i)<<6|63&r)<65536||t>1114111)continue;u[s++]=t}}return s},f}();A.Utf8ToUtf32=v},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CHAR_ATLAS_CELL_SPACING=A.DIM_OPACITY=A.INVERTED_DEFAULT_COLOR=void 0,A.INVERTED_DEFAULT_COLOR=257,A.DIM_OPACITY=.5,A.CHAR_ATLAS_CELL_SPACING=1},function(w,A,b){"use strict";var g,v,f,l;function u(e){var n=e.toString(16);return n.length<2?"0"+n:n}function o(e,n){return e<n?(n+.05)/(e+.05):(e+.05)/(n+.05)}Object.defineProperty(A,"__esModule",{value:!0}),A.contrastRatio=A.toPaddedHex=A.rgba=A.rgb=A.css=A.color=A.channels=void 0,function(e){e.toCss=function(n,i,r,s){return s!==void 0?"#"+u(n)+u(i)+u(r)+u(s):"#"+u(n)+u(i)+u(r)},e.toRgba=function(n,i,r,s){return s===void 0&&(s=255),(n<<24|i<<16|r<<8|s)>>>0}}(g=A.channels||(A.channels={})),(v=A.color||(A.color={})).blend=function(e,n){var i=(255&n.rgba)/255;if(i===1)return{css:n.css,rgba:n.rgba};var r=n.rgba>>24&255,s=n.rgba>>16&255,t=n.rgba>>8&255,a=e.rgba>>24&255,c=e.rgba>>16&255,h=e.rgba>>8&255,p=a+Math.round((r-a)*i),m=c+Math.round((s-c)*i),S=h+Math.round((t-h)*i);return{css:g.toCss(p,m,S),rgba:g.toRgba(p,m,S)}},v.isOpaque=function(e){return(255&e.rgba)==255},v.ensureContrastRatio=function(e,n,i){var r=l.ensureContrastRatio(e.rgba,n.rgba,i);if(r)return l.toColor(r>>24&255,r>>16&255,r>>8&255)},v.opaque=function(e){var n=(255|e.rgba)>>>0,i=l.toChannels(n),r=i[0],s=i[1],t=i[2];return{css:g.toCss(r,s,t),rgba:n}},v.opacity=function(e,n){var i=Math.round(255*n),r=l.toChannels(e.rgba),s=r[0],t=r[1],a=r[2];return{css:g.toCss(s,t,a,i),rgba:g.toRgba(s,t,a,i)}},(A.css||(A.css={})).toColor=function(e){switch(e.length){case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(e){function n(i,r,s){var t=i/255,a=r/255,c=s/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.0722*(c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4))}e.relativeLuminance=function(i){return n(i>>16&255,i>>8&255,255&i)},e.relativeLuminance2=n}(f=A.rgb||(A.rgb={})),function(e){function n(r,s,t){for(var a=r>>24&255,c=r>>16&255,h=r>>8&255,p=s>>24&255,m=s>>16&255,S=s>>8&255,y=o(f.relativeLuminance2(p,S,m),f.relativeLuminance2(a,c,h));y<t&&(p>0||m>0||S>0);)p-=Math.max(0,Math.ceil(.1*p)),m-=Math.max(0,Math.ceil(.1*m)),S-=Math.max(0,Math.ceil(.1*S)),y=o(f.relativeLuminance2(p,S,m),f.relativeLuminance2(a,c,h));return(p<<24|m<<16|S<<8|255)>>>0}function i(r,s,t){for(var a=r>>24&255,c=r>>16&255,h=r>>8&255,p=s>>24&255,m=s>>16&255,S=s>>8&255,y=o(f.relativeLuminance2(p,S,m),f.relativeLuminance2(a,c,h));y<t&&(p<255||m<255||S<255);)p=Math.min(255,p+Math.ceil(.1*(255-p))),m=Math.min(255,m+Math.ceil(.1*(255-m))),S=Math.min(255,S+Math.ceil(.1*(255-S))),y=o(f.relativeLuminance2(p,S,m),f.relativeLuminance2(a,c,h));return(p<<24|m<<16|S<<8|255)>>>0}e.ensureContrastRatio=function(r,s,t){var a=f.relativeLuminance(r>>8),c=f.relativeLuminance(s>>8);if(o(a,c)<t)return c<a?n(r,s,t):i(r,s,t)},e.reduceLuminance=n,e.increaseLuminance=i,e.toChannels=function(r){return[r>>24&255,r>>16&255,r>>8&255,255&r]},e.toColor=function(r,s,t){return{css:g.toCss(r,s,t),rgba:g.toRgba(r,s,t)}}}(l=A.rgba||(A.rgba={})),A.toPaddedHex=u,A.contrastRatio=o},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.isLinux=A.isWindows=A.isIphone=A.isIpad=A.isMac=A.isSafari=A.isFirefox=void 0;var g=typeof navigator=="undefined",v=g?"node":navigator.userAgent,f=g?"node":navigator.platform;function l(u,o){return u.indexOf(o)>=0}A.isFirefox=!!~v.indexOf("Firefox"),A.isSafari=/^((?!chrome|android).)*safari/i.test(v),A.isMac=l(["Macintosh","MacIntel","MacPPC","Mac68K"],f),A.isIpad=f==="iPad",A.isIphone=f==="iPhone",A.isWindows=l(["Windows","Win16","Win32","WinCE"],f),A.isLinux=f.indexOf("Linux")>=0},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.C1=A.C0=void 0,function(g){g.NUL="\0",g.SOH="",g.STX="",g.ETX="",g.EOT="",g.ENQ="",g.ACK="",g.BEL="\x07",g.BS="\b",g.HT=" ",g.LF=`
`,g.VT="\v",g.FF="\f",g.CR="\r",g.SO="",g.SI="",g.DLE="",g.DC1="",g.DC2="",g.DC3="",g.DC4="",g.NAK="",g.SYN="",g.ETB="",g.CAN="",g.EM="",g.SUB="",g.ESC="",g.FS="",g.GS="",g.RS="",g.US="",g.SP=" ",g.DEL="\x7F"}(A.C0||(A.C0={})),function(g){g.PAD="\x80",g.HOP="\x81",g.BPH="\x82",g.NBH="\x83",g.IND="\x84",g.NEL="\x85",g.SSA="\x86",g.ESA="\x87",g.HTS="\x88",g.HTJ="\x89",g.VTS="\x8A",g.PLD="\x8B",g.PLU="\x8C",g.RI="\x8D",g.SS2="\x8E",g.SS3="\x8F",g.DCS="\x90",g.PU1="\x91",g.PU2="\x92",g.STS="\x93",g.CCH="\x94",g.MW="\x95",g.SPA="\x96",g.EPA="\x97",g.SOS="\x98",g.SGCI="\x99",g.SCI="\x9A",g.CSI="\x9B",g.ST="\x9C",g.OSC="\x9D",g.PM="\x9E",g.APC="\x9F"}(A.C1||(A.C1={}))},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BaseRenderLayer=void 0;var g=b(3),v=b(9),f=b(25),l=b(6),u=b(28),o=b(10),e=b(17),n=function(){function i(r,s,t,a,c,h,p,m){this._container=r,this._alpha=a,this._colors=c,this._rendererId=h,this._bufferService=p,this._optionsService=m,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+s+"-layer"),this._canvas.style.zIndex=t.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return i.prototype.dispose=function(){var r;e.removeElementFromParent(this._canvas),(r=this._charAtlas)===null||r===void 0||r.dispose()},i.prototype._initCanvas=function(){this._ctx=u.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},i.prototype.onOptionsChanged=function(){},i.prototype.onBlur=function(){},i.prototype.onFocus=function(){},i.prototype.onCursorMove=function(){},i.prototype.onGridChanged=function(r,s){},i.prototype.onSelectionChanged=function(r,s,t){t===void 0&&(t=!1)},i.prototype.setColors=function(r){this._refreshCharAtlas(r)},i.prototype._setTransparency=function(r){if(r!==this._alpha){var s=this._canvas;this._alpha=r,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,s),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},i.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())},i.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)},i.prototype._fillCells=function(r,s,t,a){this._ctx.fillRect(r*this._scaledCellWidth,s*this._scaledCellHeight,t*this._scaledCellWidth,a*this._scaledCellHeight)},i.prototype._fillBottomLineAtCells=function(r,s,t){t===void 0&&(t=1),this._ctx.fillRect(r*this._scaledCellWidth,(s+1)*this._scaledCellHeight-window.devicePixelRatio-1,t*this._scaledCellWidth,window.devicePixelRatio)},i.prototype._fillLeftLineAtCell=function(r,s,t){this._ctx.fillRect(r*this._scaledCellWidth,s*this._scaledCellHeight,window.devicePixelRatio*t,this._scaledCellHeight)},i.prototype._strokeRectAtCell=function(r,s,t,a){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(r*this._scaledCellWidth+window.devicePixelRatio/2,s*this._scaledCellHeight+window.devicePixelRatio/2,t*this._scaledCellWidth-window.devicePixelRatio,a*this._scaledCellHeight-window.devicePixelRatio)},i.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))},i.prototype._clearCells=function(r,s,t,a){this._alpha?this._ctx.clearRect(r*this._scaledCellWidth,s*this._scaledCellHeight,t*this._scaledCellWidth,a*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(r*this._scaledCellWidth,s*this._scaledCellHeight,t*this._scaledCellWidth,a*this._scaledCellHeight))},i.prototype._fillCharTrueColor=function(r,s,t){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(t),this._ctx.fillText(r.getChars(),s*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},i.prototype._drawChars=function(r,s,t){var a,c,h=this._getContrastColor(r);h||r.isFgRGB()||r.isBgRGB()?this._drawUncachedChars(r,s,t,h):(r.isInverse()?(a=r.isBgDefault()?v.INVERTED_DEFAULT_COLOR:r.getBgColor(),c=r.isFgDefault()?v.INVERTED_DEFAULT_COLOR:r.getFgColor()):(c=r.isBgDefault()?g.DEFAULT_COLOR:r.getBgColor(),a=r.isFgDefault()?g.DEFAULT_COLOR:r.getFgColor()),a+=this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&a<8?8:0,this._currentGlyphIdentifier.chars=r.getChars()||g.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=r.getCode()||g.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=c,this._currentGlyphIdentifier.fg=a,this._currentGlyphIdentifier.bold=!!r.isBold(),this._currentGlyphIdentifier.dim=!!r.isDim(),this._currentGlyphIdentifier.italic=!!r.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,s*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(r,s,t))},i.prototype._drawUncachedChars=function(r,s,t,a){if(this._ctx.save(),this._ctx.font=this._getFont(!!r.isBold(),!!r.isItalic()),this._ctx.textBaseline="middle",r.isInverse())if(a)this._ctx.fillStyle=a.css;else if(r.isBgDefault())this._ctx.fillStyle=o.color.opaque(this._colors.background).css;else if(r.isBgRGB())this._ctx.fillStyle="rgb("+l.AttributeData.toColorRGB(r.getBgColor()).join(",")+")";else{var c=r.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&c<8&&(c+=8),this._ctx.fillStyle=this._colors.ansi[c].css}else if(a)this._ctx.fillStyle=a.css;else if(r.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(r.isFgRGB())this._ctx.fillStyle="rgb("+l.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(t),r.isDim()&&(this._ctx.globalAlpha=v.DIM_OPACITY),this._ctx.fillText(r.getChars(),s*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},i.prototype._clipRow=function(r){this._ctx.beginPath(),this._ctx.rect(0,r*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},i.prototype._getFont=function(r,s){return(s?"italic":"")+" "+(r?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},i.prototype._getContrastColor=function(r){if(this._optionsService.options.minimumContrastRatio!==1){var s=this._colors.contrastCache.getColor(r.bg,r.fg);if(s!==void 0)return s||void 0;var t=r.getFgColor(),a=r.getFgColorMode(),c=r.getBgColor(),h=r.getBgColorMode(),p=!!r.isInverse(),m=!!r.isInverse();if(p){var S=t;t=c,c=S;var y=a;a=h,h=y}var x=this._resolveBackgroundRgba(h,c,p),C=this._resolveForegroundRgba(a,t,p,m),T=o.rgba.ensureContrastRatio(x,C,this._optionsService.options.minimumContrastRatio);if(T){var _={css:o.channels.toCss(T>>24&255,T>>16&255,T>>8&255),rgba:T};return this._colors.contrastCache.setColor(r.bg,r.fg,_),_}this._colors.contrastCache.setColor(r.bg,r.fg,null)}},i.prototype._resolveBackgroundRgba=function(r,s,t){switch(r){case 16777216:case 33554432:return this._colors.ansi[s].rgba;case 50331648:return s<<8;case 0:default:return t?this._colors.foreground.rgba:this._colors.background.rgba}},i.prototype._resolveForegroundRgba=function(r,s,t,a){switch(r){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&a&&s<8&&(s+=8),this._colors.ansi[s].rgba;case 50331648:return s<<8;case 0:default:return t?this._colors.background.rgba:this._colors.foreground.rgba}},i}();A.BaseRenderLayer=n},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.createDecorator=A.getServiceDependencies=A.serviceRegistry=void 0;function g(v,f,l){f.di$target===f?f.di$dependencies.push({id:v,index:l}):(f.di$dependencies=[{id:v,index:l}],f.di$target=f)}A.serviceRegistry=new Map,A.getServiceDependencies=function(v){return v.di$dependencies||[]},A.createDecorator=function(v){if(A.serviceRegistry.has(v))return A.serviceRegistry.get(v);var f=function l(u,o,e){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");g(l,u,e)};return f.toString=function(){return v},A.serviceRegistry.set(v,f),f}},function(w,A,b){"use strict";function g(v,f,l,u){if(l===void 0&&(l=0),u===void 0&&(u=v.length),l>=v.length)return v;l=(v.length+l)%v.length,u=u>=v.length?v.length:(v.length+u)%v.length;for(var o=l;o<u;++o)v[o]=f;return v}Object.defineProperty(A,"__esModule",{value:!0}),A.concat=A.fillFallback=A.fill=void 0,A.fill=function(v,f,l,u){return v.fill?v.fill(f,l,u):g(v,f,l,u)},A.fillFallback=g,A.concat=function(v,f){var l=new v.constructor(v.length+f.length);return l.set(v),l.set(f,v.length),l}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BufferLine=A.DEFAULT_ATTR_DATA=void 0;var g=b(8),v=b(3),f=b(4),l=b(6);A.DEFAULT_ATTR_DATA=Object.freeze(new l.AttributeData);var u=function(){function o(e,n,i){i===void 0&&(i=!1),this.isWrapped=i,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*e);for(var r=n||f.CellData.fromCharData([0,v.NULL_CELL_CHAR,v.NULL_CELL_WIDTH,v.NULL_CELL_CODE]),s=0;s<e;++s)this.setCell(s,r);this.length=e}return o.prototype.get=function(e){var n=this._data[3*e+0],i=2097151&n;return[this._data[3*e+1],2097152&n?this._combined[e]:i?g.stringFromCodePoint(i):"",n>>22,2097152&n?this._combined[e].charCodeAt(this._combined[e].length-1):i]},o.prototype.set=function(e,n){this._data[3*e+1]=n[v.CHAR_DATA_ATTR_INDEX],n[v.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=n[1],this._data[3*e+0]=2097152|e|n[v.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=n[v.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|n[v.CHAR_DATA_WIDTH_INDEX]<<22},o.prototype.getWidth=function(e){return this._data[3*e+0]>>22},o.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},o.prototype.getFg=function(e){return this._data[3*e+1]},o.prototype.getBg=function(e){return this._data[3*e+2]},o.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},o.prototype.getCodePoint=function(e){var n=this._data[3*e+0];return 2097152&n?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&n},o.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},o.prototype.getString=function(e){var n=this._data[3*e+0];return 2097152&n?this._combined[e]:2097151&n?g.stringFromCodePoint(2097151&n):""},o.prototype.loadCell=function(e,n){var i=3*e;return n.content=this._data[i+0],n.fg=this._data[i+1],n.bg=this._data[i+2],2097152&n.content&&(n.combinedData=this._combined[e]),268435456&n.bg&&(n.extended=this._extendedAttrs[e]),n},o.prototype.setCell=function(e,n){2097152&n.content&&(this._combined[e]=n.combinedData),268435456&n.bg&&(this._extendedAttrs[e]=n.extended),this._data[3*e+0]=n.content,this._data[3*e+1]=n.fg,this._data[3*e+2]=n.bg},o.prototype.setCellFromCodePoint=function(e,n,i,r,s,t){268435456&s&&(this._extendedAttrs[e]=t),this._data[3*e+0]=n|i<<22,this._data[3*e+1]=r,this._data[3*e+2]=s},o.prototype.addCodepointToCell=function(e,n){var i=this._data[3*e+0];2097152&i?this._combined[e]+=g.stringFromCodePoint(n):(2097151&i?(this._combined[e]=g.stringFromCodePoint(2097151&i)+g.stringFromCodePoint(n),i&=-2097152,i|=2097152):i=n|1<<22,this._data[3*e+0]=i)},o.prototype.insertCells=function(e,n,i,r){if((e%=this.length)&&this.getWidth(e-1)===2&&this.setCellFromCodePoint(e-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new l.ExtendedAttrs),n<this.length-e){for(var s=new f.CellData,t=this.length-e-n-1;t>=0;--t)this.setCell(e+n+t,this.loadCell(e+t,s));for(t=0;t<n;++t)this.setCell(e+t,i)}else for(t=e;t<this.length;++t)this.setCell(t,i);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 l.ExtendedAttrs)},o.prototype.deleteCells=function(e,n,i,r){if(e%=this.length,n<this.length-e){for(var s=new f.CellData,t=0;t<this.length-e-n;++t)this.setCell(e+t,this.loadCell(e+n+t,s));for(t=this.length-n;t<this.length;++t)this.setCell(t,i)}else for(t=e;t<this.length;++t)this.setCell(t,i);e&&this.getWidth(e-1)===2&&this.setCellFromCodePoint(e-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new l.ExtendedAttrs),this.getWidth(e)!==0||this.hasContent(e)||this.setCellFromCodePoint(e,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new l.ExtendedAttrs)},o.prototype.replaceCells=function(e,n,i,r){for(e&&this.getWidth(e-1)===2&&this.setCellFromCodePoint(e-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new l.ExtendedAttrs),n<this.length&&this.getWidth(n-1)===2&&this.setCellFromCodePoint(n,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new l.ExtendedAttrs);e<n&&e<this.length;)this.setCell(e++,i)},o.prototype.resize=function(e,n){if(e!==this.length){if(e>this.length){var i=new Uint32Array(3*e);this.length&&(3*e<this._data.length?i.set(this._data.subarray(0,3*e)):i.set(this._data)),this._data=i;for(var r=this.length;r<e;++r)this.setCell(r,n)}else if(e){(i=new Uint32Array(3*e)).set(this._data.subarray(0,3*e)),this._data=i;var s=Object.keys(this._combined);for(r=0;r<s.length;r++){var t=parseInt(s[r],10);t>=e&&delete this._combined[t]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},o.prototype.fill=function(e){this._combined={},this._extendedAttrs={};for(var n=0;n<this.length;++n)this.setCell(n,e)},o.prototype.copyFrom=function(e){for(var n in this.length!==e.length?this._data=new Uint32Array(e._data):this._data.set(e._data),this.length=e.length,this._combined={},e._combined)this._combined[n]=e._combined[n];for(var n in this._extendedAttrs={},e._extendedAttrs)this._extendedAttrs[n]=e._extendedAttrs[n];this.isWrapped=e.isWrapped},o.prototype.clone=function(){var e=new o(0);for(var n in e._data=new Uint32Array(this._data),e.length=this.length,this._combined)e._combined[n]=this._combined[n];for(var n in this._extendedAttrs)e._extendedAttrs[n]=this._extendedAttrs[n];return e.isWrapped=this.isWrapped,e},o.prototype.getTrimmedLength=function(){for(var e=this.length-1;e>=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},o.prototype.copyCellsFrom=function(e,n,i,r,s){var t=e._data;if(s)for(var a=r-1;a>=0;a--)for(var c=0;c<3;c++)this._data[3*(i+a)+c]=t[3*(n+a)+c];else for(a=0;a<r;a++)for(c=0;c<3;c++)this._data[3*(i+a)+c]=t[3*(n+a)+c];var h=Object.keys(e._combined);for(c=0;c<h.length;c++){var p=parseInt(h[c],10);p>=n&&(this._combined[p-n+i]=e._combined[p])}},o.prototype.translateToString=function(e,n,i){e===void 0&&(e=!1),n===void 0&&(n=0),i===void 0&&(i=this.length),e&&(i=Math.min(i,this.getTrimmedLength()));for(var r="";n<i;){var s=this._data[3*n+0],t=2097151&s;r+=2097152&s?this._combined[n]:t?g.stringFromCodePoint(t):v.WHITESPACE_CELL_CHAR,n+=s>>22||1}return r},o}();A.BufferLine=u},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.removeElementFromParent=void 0,A.removeElementFromParent=function(){for(var g,v=[],f=0;f<arguments.length;f++)v[f]=arguments[f];for(var l=0,u=v;l<u.length;l++){var o=u[l];(g=o==null?void 0:o.parentElement)===null||g===void 0||g.removeChild(o)}}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.tooMuchOutput=A.promptLabel=void 0,A.promptLabel="Terminal input",A.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(T,_){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(T,_)},function(C,T){function _(){this.constructor=C}g(C,T),C.prototype=T===null?Object.create(T):(_.prototype=T.prototype,new _)});Object.defineProperty(A,"__esModule",{value:!0}),A.InputHandler=A.WindowsOptionsReportType=void 0;var f,l=b(12),u=b(20),o=b(39),e=b(2),n=b(15),i=b(8),r=b(16),s=b(0),t=b(3),a=b(4),c=b(6),h=b(22),p=b(24),m={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function S(C,T){if(C>24)return T.setWinLines||!1;switch(C){case 1:return!!T.restoreWin;case 2:return!!T.minimizeWin;case 3:return!!T.setWinPosition;case 4:return!!T.setWinSizePixels;case 5:return!!T.raiseWin;case 6:return!!T.lowerWin;case 7:return!!T.refreshWin;case 8:return!!T.setWinSizeChars;case 9:return!!T.maximizeWin;case 10:return!!T.fullscreenWin;case 11:return!!T.getWinState;case 13:return!!T.getWinPosition;case 14:return!!T.getWinSizePixels;case 15:return!!T.getScreenSizePixels;case 16:return!!T.getCellSizePixels;case 18:return!!T.getWinSizeChars;case 19:return!!T.getScreenSizeChars;case 20:return!!T.getIconTitle;case 21:return!!T.getWinTitle;case 22:return!!T.pushTitle;case 23:return!!T.popTitle;case 24:return!!T.setWinLines}return!1}!function(C){C[C.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",C[C.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(f=A.WindowsOptionsReportType||(A.WindowsOptionsReportType={}));var y=function(){function C(T,_,E,I){this._bufferService=T,this._coreService=_,this._logService=E,this._optionsService=I,this._data=new Uint32Array(0)}return C.prototype.hook=function(T){this._data=new Uint32Array(0)},C.prototype.put=function(T,_,E){this._data=n.concat(this._data,T.subarray(_,E))},C.prototype.unhook=function(T){if(T){var _=i.utf32ToString(this._data);switch(this._data=new Uint32Array(0),_){case'"q':return this._coreService.triggerDataEvent(l.C0.ESC+'P1$r0"q'+l.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(l.C0.ESC+'P1$r61;1"p'+l.C0.ESC+"\\");case"r":var E=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(l.C0.ESC+"P1$r"+E+l.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(l.C0.ESC+"P1$r0m"+l.C0.ESC+"\\");case" q":var I={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return I-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(l.C0.ESC+"P1$r"+I+" q"+l.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",_),this._coreService.triggerDataEvent(l.C0.ESC+"P0$r"+l.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},C}(),x=function(C){function T(_,E,I,L,D,F,N,P,W){W===void 0&&(W=new o.EscapeSequenceParser);var R=C.call(this)||this;R._bufferService=_,R._charsetService=E,R._coreService=I,R._dirtyRowService=L,R._logService=D,R._optionsService=F,R._coreMouseService=N,R._unicodeService=P,R._parser=W,R._parseBuffer=new Uint32Array(4096),R._stringDecoder=new i.StringToUtf32,R._utf8Decoder=new i.Utf8ToUtf32,R._workCell=new a.CellData,R._windowTitle="",R._iconName="",R._windowTitleStack=[],R._iconNameStack=[],R._curAttrData=r.DEFAULT_ATTR_DATA.clone(),R._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone(),R._onRequestBell=new s.EventEmitter,R._onRequestRefreshRows=new s.EventEmitter,R._onRequestReset=new s.EventEmitter,R._onRequestScroll=new s.EventEmitter,R._onRequestSyncScrollBar=new s.EventEmitter,R._onRequestWindowsOptionsReport=new s.EventEmitter,R._onA11yChar=new s.EventEmitter,R._onA11yTab=new s.EventEmitter,R._onCursorMove=new s.EventEmitter,R._onLineFeed=new s.EventEmitter,R._onScroll=new s.EventEmitter,R._onTitleChange=new s.EventEmitter,R.register(R._parser),R._parser.setCsiHandlerFallback(function(U,G){R._logService.debug("Unknown CSI code: ",{identifier:R._parser.identToString(U),params:G.toArray()})}),R._parser.setEscHandlerFallback(function(U){R._logService.debug("Unknown ESC code: ",{identifier:R._parser.identToString(U)})}),R._parser.setExecuteHandlerFallback(function(U){R._logService.debug("Unknown EXECUTE code: ",{code:U})}),R._parser.setOscHandlerFallback(function(U,G,z){R._logService.debug("Unknown OSC code: ",{identifier:U,action:G,data:z})}),R._parser.setDcsHandlerFallback(function(U,G,z){G==="HOOK"&&(z=z.toArray()),R._logService.debug("Unknown DCS code: ",{identifier:R._parser.identToString(U),action:G,payload:z})}),R._parser.setPrintHandler(function(U,G,z){return R.print(U,G,z)}),R._parser.setCsiHandler({final:"@"},function(U){return R.insertChars(U)}),R._parser.setCsiHandler({intermediates:" ",final:"@"},function(U){return R.scrollLeft(U)}),R._parser.setCsiHandler({final:"A"},function(U){return R.cursorUp(U)}),R._parser.setCsiHandler({intermediates:" ",final:"A"},function(U){return R.scrollRight(U)}),R._parser.setCsiHandler({final:"B"},function(U){return R.cursorDown(U)}),R._parser.setCsiHandler({final:"C"},function(U){return R.cursorForward(U)}),R._parser.setCsiHandler({final:"D"},function(U){return R.cursorBackward(U)}),R._parser.setCsiHandler({final:"E"},function(U){return R.cursorNextLine(U)}),R._parser.setCsiHandler({final:"F"},function(U){return R.cursorPrecedingLine(U)}),R._parser.setCsiHandler({final:"G"},function(U){return R.cursorCharAbsolute(U)}),R._parser.setCsiHandler({final:"H"},function(U){return R.cursorPosition(U)}),R._parser.setCsiHandler({final:"I"},function(U){return R.cursorForwardTab(U)}),R._parser.setCsiHandler({final:"J"},function(U){return R.eraseInDisplay(U)}),R._parser.setCsiHandler({prefix:"?",final:"J"},function(U){return R.eraseInDisplay(U)}),R._parser.setCsiHandler({final:"K"},function(U){return R.eraseInLine(U)}),R._parser.setCsiHandler({prefix:"?",final:"K"},function(U){return R.eraseInLine(U)}),R._parser.setCsiHandler({final:"L"},function(U){return R.insertLines(U)}),R._parser.setCsiHandler({final:"M"},function(U){return R.deleteLines(U)}),R._parser.setCsiHandler({final:"P"},function(U){return R.deleteChars(U)}),R._parser.setCsiHandler({final:"S"},function(U){return R.scrollUp(U)}),R._parser.setCsiHandler({final:"T"},function(U){return R.scrollDown(U)}),R._parser.setCsiHandler({final:"X"},function(U){return R.eraseChars(U)}),R._parser.setCsiHandler({final:"Z"},function(U){return R.cursorBackwardTab(U)}),R._parser.setCsiHandler({final:"`"},function(U){return R.charPosAbsolute(U)}),R._parser.setCsiHandler({final:"a"},function(U){return R.hPositionRelative(U)}),R._parser.setCsiHandler({final:"b"},function(U){return R.repeatPrecedingCharacter(U)}),R._parser.setCsiHandler({final:"c"},function(U){return R.sendDeviceAttributesPrimary(U)}),R._parser.setCsiHandler({prefix:">",final:"c"},function(U){return R.sendDeviceAttributesSecondary(U)}),R._parser.setCsiHandler({final:"d"},function(U){return R.linePosAbsolute(U)}),R._parser.setCsiHandler({final:"e"},function(U){return R.vPositionRelative(U)}),R._parser.setCsiHandler({final:"f"},function(U){return R.hVPosition(U)}),R._parser.setCsiHandler({final:"g"},function(U){return R.tabClear(U)}),R._parser.setCsiHandler({final:"h"},function(U){return R.setMode(U)}),R._parser.setCsiHandler({prefix:"?",final:"h"},function(U){return R.setModePrivate(U)}),R._parser.setCsiHandler({final:"l"},function(U){return R.resetMode(U)}),R._parser.setCsiHandler({prefix:"?",final:"l"},function(U){return R.resetModePrivate(U)}),R._parser.setCsiHandler({final:"m"},function(U){return R.charAttributes(U)}),R._parser.setCsiHandler({final:"n"},function(U){return R.deviceStatus(U)}),R._parser.setCsiHandler({prefix:"?",final:"n"},function(U){return R.deviceStatusPrivate(U)}),R._parser.setCsiHandler({intermediates:"!",final:"p"},function(U){return R.softReset(U)}),R._parser.setCsiHandler({intermediates:" ",final:"q"},function(U){return R.setCursorStyle(U)}),R._parser.setCsiHandler({final:"r"},function(U){return R.setScrollRegion(U)}),R._parser.setCsiHandler({final:"s"},function(U){return R.saveCursor(U)}),R._parser.setCsiHandler({final:"t"},function(U){return R.windowOptions(U)}),R._parser.setCsiHandler({final:"u"},function(U){return R.restoreCursor(U)}),R._parser.setCsiHandler({intermediates:"'",final:"}"},function(U){return R.insertColumns(U)}),R._parser.setCsiHandler({intermediates:"'",final:"~"},function(U){return R.deleteColumns(U)}),R._parser.setExecuteHandler(l.C0.BEL,function(){return R.bell()}),R._parser.setExecuteHandler(l.C0.LF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(l.C0.VT,function(){return R.lineFeed()}),R._parser.setExecuteHandler(l.C0.FF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(l.C0.CR,function(){return R.carriageReturn()}),R._parser.setExecuteHandler(l.C0.BS,function(){return R.backspace()}),R._parser.setExecuteHandler(l.C0.HT,function(){return R.tab()}),R._parser.setExecuteHandler(l.C0.SO,function(){return R.shiftOut()}),R._parser.setExecuteHandler(l.C0.SI,function(){return R.shiftIn()}),R._parser.setExecuteHandler(l.C1.IND,function(){return R.index()}),R._parser.setExecuteHandler(l.C1.NEL,function(){return R.nextLine()}),R._parser.setExecuteHandler(l.C1.HTS,function(){return R.tabSet()}),R._parser.setOscHandler(0,new h.OscHandler(function(U){R.setTitle(U),R.setIconName(U)})),R._parser.setOscHandler(1,new h.OscHandler(function(U){return R.setIconName(U)})),R._parser.setOscHandler(2,new h.OscHandler(function(U){return R.setTitle(U)})),R._parser.setEscHandler({final:"7"},function(){return R.saveCursor()}),R._parser.setEscHandler({final:"8"},function(){return R.restoreCursor()}),R._parser.setEscHandler({final:"D"},function(){return R.index()}),R._parser.setEscHandler({final:"E"},function(){return R.nextLine()}),R._parser.setEscHandler({final:"H"},function(){return R.tabSet()}),R._parser.setEscHandler({final:"M"},function(){return R.reverseIndex()}),R._parser.setEscHandler({final:"="},function(){return R.keypadApplicationMode()}),R._parser.setEscHandler({final:">"},function(){return R.keypadNumericMode()}),R._parser.setEscHandler({final:"c"},function(){return R.fullReset()}),R._parser.setEscHandler({final:"n"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"o"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"|"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"}"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"~"},function(){return R.setgLevel(1)}),R._parser.setEscHandler({intermediates:"%",final:"@"},function(){return R.selectDefaultCharset()}),R._parser.setEscHandler({intermediates:"%",final:"G"},function(){return R.selectDefaultCharset()});var j=function(G){H._parser.setEscHandler({intermediates:"(",final:G},function(){return R.selectCharset("("+G)}),H._parser.setEscHandler({intermediates:")",final:G},function(){return R.selectCharset(")"+G)}),H._parser.setEscHandler({intermediates:"*",final:G},function(){return R.selectCharset("*"+G)}),H._parser.setEscHandler({intermediates:"+",final:G},function(){return R.selectCharset("+"+G)}),H._parser.setEscHandler({intermediates:"-",final:G},function(){return R.selectCharset("-"+G)}),H._parser.setEscHandler({intermediates:".",final:G},function(){return R.selectCharset("."+G)}),H._parser.setEscHandler({intermediates:"/",final:G},function(){return R.selectCharset("/"+G)})},H=this;for(var K in u.CHARSETS)j(K);return R._parser.setEscHandler({intermediates:"#",final:"8"},function(){return R.screenAlignmentPattern()}),R._parser.setErrorHandler(function(U){return R._logService.error("Parsing error: ",U),U}),R._parser.setDcsHandler({intermediates:"$",final:"q"},new y(R._bufferService,R._coreService,R._logService,R._optionsService)),R}return v(T,C),Object.defineProperty(T.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),T.prototype.dispose=function(){C.prototype.dispose.call(this)},T.prototype.parse=function(_){var E=this._bufferService.buffer,I=E.x,L=E.y;if(this._logService.debug("parsing data",_),this._parseBuffer.length<_.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(_.length,131072))),this._dirtyRowService.clearRange(),_.length>131072)for(var D=0;D<_.length;D+=131072){var F=D+131072<_.length?D+131072:_.length,N=typeof _=="string"?this._stringDecoder.decode(_.substring(D,F),this._parseBuffer):this._utf8Decoder.decode(_.subarray(D,F),this._parseBuffer);this._parser.parse(this._parseBuffer,N)}else N=typeof _=="string"?this._stringDecoder.decode(_,this._parseBuffer):this._utf8Decoder.decode(_,this._parseBuffer),this._parser.parse(this._parseBuffer,N);(E=this._bufferService.buffer).x===I&&E.y===L||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},T.prototype.print=function(_,E,I){var L,D,F=this._bufferService.buffer,N=this._charsetService.charset,P=this._optionsService.options.screenReaderMode,W=this._bufferService.cols,R=this._coreService.decPrivateModes.wraparound,j=this._coreService.modes.insertMode,H=this._curAttrData,K=F.lines.get(F.ybase+F.y);this._dirtyRowService.markDirty(F.y),F.x&&I-E>0&&K.getWidth(F.x-1)===2&&K.setCellFromCodePoint(F.x-1,0,1,H.fg,H.bg,H.extended);for(var U=E;U<I;++U){if(L=_[U],D=this._unicodeService.wcwidth(L),L<127&&N){var G=N[String.fromCharCode(L)];G&&(L=G.charCodeAt(0))}if(P&&this._onA11yChar.fire(i.stringFromCodePoint(L)),D||!F.x){if(F.x+D-1>=W){if(R){for(;F.x<W;)K.setCellFromCodePoint(F.x++,0,1,H.fg,H.bg,H.extended);F.x=0,F.y++,F.y===F.scrollBottom+1?(F.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(F.y>=this._bufferService.rows&&(F.y=this._bufferService.rows-1),F.lines.get(F.ybase+F.y).isWrapped=!0),K=F.lines.get(F.ybase+F.y)}else if(F.x=W-1,D===2)continue}if(j&&(K.insertCells(F.x,D,F.getNullCell(H),H),K.getWidth(W-1)===2&&K.setCellFromCodePoint(W-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,H.fg,H.bg,H.extended)),K.setCellFromCodePoint(F.x++,L,D,H.fg,H.bg,H.extended),D>0)for(;--D;)K.setCellFromCodePoint(F.x++,0,0,H.fg,H.bg,H.extended)}else K.getWidth(F.x-1)?K.addCodepointToCell(F.x-1,L):K.addCodepointToCell(F.x-2,L)}I-E>0&&(K.loadCell(F.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),F.x<W&&I-E>0&&K.getWidth(F.x)===0&&!K.hasContent(F.x)&&K.setCellFromCodePoint(F.x,0,1,H.fg,H.bg,H.extended),this._dirtyRowService.markDirty(F.y)},T.prototype.addCsiHandler=function(_,E){var I=this;return _.final!=="t"||_.prefix||_.intermediates?this._parser.addCsiHandler(_,E):this._parser.addCsiHandler(_,function(L){return!S(L.params[0],I._optionsService.options.windowOptions)||E(L)})},T.prototype.addDcsHandler=function(_,E){return this._parser.addDcsHandler(_,new p.DcsHandler(E))},T.prototype.addEscHandler=function(_,E){return this._parser.addEscHandler(_,E)},T.prototype.addOscHandler=function(_,E){return this._parser.addOscHandler(_,new h.OscHandler(E))},T.prototype.bell=function(){this._onRequestBell.fire()},T.prototype.lineFeed=function(){var _=this._bufferService.buffer;this._dirtyRowService.markDirty(_.y),this._optionsService.options.convertEol&&(_.x=0),_.y++,_.y===_.scrollBottom+1?(_.y--,this._onRequestScroll.fire(this._eraseAttrData())):_.y>=this._bufferService.rows&&(_.y=this._bufferService.rows-1),_.x>=this._bufferService.cols&&_.x--,this._dirtyRowService.markDirty(_.y),this._onLineFeed.fire()},T.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},T.prototype.backspace=function(){var _,E=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(E.x>0&&E.x--);if(this._restrictCursor(this._bufferService.cols),E.x>0)E.x--;else if(E.x===0&&E.y>E.scrollTop&&E.y<=E.scrollBottom&&((_=E.lines.get(E.ybase+E.y))===null||_===void 0?void 0:_.isWrapped)){E.lines.get(E.ybase+E.y).isWrapped=!1,E.y--,E.x=this._bufferService.cols-1;var I=E.lines.get(E.ybase+E.y);I.hasWidth(E.x)&&!I.hasContent(E.x)&&E.x--}this._restrictCursor()},T.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var _=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-_)}},T.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},T.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},T.prototype._restrictCursor=function(_){_===void 0&&(_=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(_,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype._setCursor=function(_,E){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=_,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+E):(this._bufferService.buffer.x=_,this._bufferService.buffer.y=E),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype._moveCursor=function(_,E){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+_,this._bufferService.buffer.y+E)},T.prototype.cursorUp=function(_){var E=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;E>=0?this._moveCursor(0,-Math.min(E,_.params[0]||1)):this._moveCursor(0,-(_.params[0]||1))},T.prototype.cursorDown=function(_){var E=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;E>=0?this._moveCursor(0,Math.min(E,_.params[0]||1)):this._moveCursor(0,_.params[0]||1)},T.prototype.cursorForward=function(_){this._moveCursor(_.params[0]||1,0)},T.prototype.cursorBackward=function(_){this._moveCursor(-(_.params[0]||1),0)},T.prototype.cursorNextLine=function(_){this.cursorDown(_),this._bufferService.buffer.x=0},T.prototype.cursorPrecedingLine=function(_){this.cursorUp(_),this._bufferService.buffer.x=0},T.prototype.cursorCharAbsolute=function(_){this._setCursor((_.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.cursorPosition=function(_){this._setCursor(_.length>=2?(_.params[1]||1)-1:0,(_.params[0]||1)-1)},T.prototype.charPosAbsolute=function(_){this._setCursor((_.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.hPositionRelative=function(_){this._moveCursor(_.params[0]||1,0)},T.prototype.linePosAbsolute=function(_){this._setCursor(this._bufferService.buffer.x,(_.params[0]||1)-1)},T.prototype.vPositionRelative=function(_){this._moveCursor(0,_.params[0]||1)},T.prototype.hVPosition=function(_){this.cursorPosition(_)},T.prototype.tabClear=function(_){var E=_.params[0];E===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:E===3&&(this._bufferService.buffer.tabs={})},T.prototype.cursorForwardTab=function(_){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var E=_.params[0]||1;E--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},T.prototype.cursorBackwardTab=function(_){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var E=_.params[0]||1,I=this._bufferService.buffer;E--;)I.x=I.prevStop()},T.prototype._eraseInBufferLine=function(_,E,I,L){L===void 0&&(L=!1);var D=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+_);D.replaceCells(E,I,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L&&(D.isWrapped=!1)},T.prototype._resetBufferLine=function(_){var E=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+_);E.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),E.isWrapped=!1},T.prototype.eraseInDisplay=function(_){var E;switch(this._restrictCursor(),_.params[0]){case 0:for(E=this._bufferService.buffer.y,this._dirtyRowService.markDirty(E),this._eraseInBufferLine(E++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);E<this._bufferService.rows;E++)this._resetBufferLine(E);this._dirtyRowService.markDirty(E);break;case 1:for(E=this._bufferService.buffer.y,this._dirtyRowService.markDirty(E),this._eraseInBufferLine(E,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(E+1).isWrapped=!1);E--;)this._resetBufferLine(E);this._dirtyRowService.markDirty(0);break;case 2:for(E=this._bufferService.rows,this._dirtyRowService.markDirty(E-1);E--;)this._resetBufferLine(E);this._dirtyRowService.markDirty(0);break;case 3:var I=this._bufferService.buffer.lines.length-this._bufferService.rows;I>0&&(this._bufferService.buffer.lines.trimStart(I),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-I,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-I,0),this._onScroll.fire(0))}},T.prototype.eraseInLine=function(_){switch(this._restrictCursor(),_.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype.insertLines=function(_){this._restrictCursor();var E=_.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.y<I.scrollTop)){for(var L=I.ybase+I.y,D=this._bufferService.rows-1-I.scrollBottom,F=this._bufferService.rows-1+I.ybase-D+1;E--;)I.lines.splice(F-1,1),I.lines.splice(L,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},T.prototype.deleteLines=function(_){this._restrictCursor();var E=_.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.y<I.scrollTop)){var L,D=I.ybase+I.y;for(L=this._bufferService.rows-1-I.scrollBottom,L=this._bufferService.rows-1+I.ybase-L;E--;)I.lines.splice(D,1),I.lines.splice(L,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},T.prototype.insertChars=function(_){this._restrictCursor();var E=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);E&&(E.insertCells(this._bufferService.buffer.x,_.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.deleteChars=function(_){this._restrictCursor();var E=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);E&&(E.deleteCells(this._bufferService.buffer.x,_.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.scrollUp=function(_){for(var E=_.params[0]||1,I=this._bufferService.buffer;E--;)I.lines.splice(I.ybase+I.scrollTop,1),I.lines.splice(I.ybase+I.scrollBottom,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.scrollTop,I.scrollBottom)},T.prototype.scrollDown=function(_){for(var E=_.params[0]||1,I=this._bufferService.buffer;E--;)I.lines.splice(I.ybase+I.scrollBottom,1),I.lines.splice(I.ybase+I.scrollTop,0,I.getBlankLine(r.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(I.scrollTop,I.scrollBottom)},T.prototype.scrollLeft=function(_){var E=this._bufferService.buffer;if(!(E.y>E.scrollBottom||E.y<E.scrollTop)){for(var I=_.params[0]||1,L=E.scrollTop;L<=E.scrollBottom;++L){var D=E.lines.get(E.ybase+L);D.deleteCells(0,I,E.getNullCell(this._eraseAttrData()),this._eraseAttrData()),D.isWrapped=!1}this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom)}},T.prototype.scrollRight=function(_){var E=this._bufferService.buffer;if(!(E.y>E.scrollBottom||E.y<E.scrollTop)){for(var I=_.params[0]||1,L=E.scrollTop;L<=E.scrollBottom;++L){var D=E.lines.get(E.ybase+L);D.insertCells(0,I,E.getNullCell(this._eraseAttrData()),this._eraseAttrData()),D.isWrapped=!1}this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom)}},T.prototype.insertColumns=function(_){var E=this._bufferService.buffer;if(!(E.y>E.scrollBottom||E.y<E.scrollTop)){for(var I=_.params[0]||1,L=E.scrollTop;L<=E.scrollBottom;++L){var D=this._bufferService.buffer.lines.get(E.ybase+L);D.insertCells(E.x,I,E.getNullCell(this._eraseAttrData()),this._eraseAttrData()),D.isWrapped=!1}this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom)}},T.prototype.deleteColumns=function(_){var E=this._bufferService.buffer;if(!(E.y>E.scrollBottom||E.y<E.scrollTop)){for(var I=_.params[0]||1,L=E.scrollTop;L<=E.scrollBottom;++L){var D=E.lines.get(E.ybase+L);D.deleteCells(E.x,I,E.getNullCell(this._eraseAttrData()),this._eraseAttrData()),D.isWrapped=!1}this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom)}},T.prototype.eraseChars=function(_){this._restrictCursor();var E=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);E&&(E.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(_.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.repeatPrecedingCharacter=function(_){if(this._parser.precedingCodepoint){for(var E=_.params[0]||1,I=new Uint32Array(E),L=0;L<E;++L)I[L]=this._parser.precedingCodepoint;this.print(I,0,I.length)}},T.prototype.sendDeviceAttributesPrimary=function(_){_.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(l.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(l.C0.ESC+"[?6c"))},T.prototype.sendDeviceAttributesSecondary=function(_){_.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(l.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(l.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(_.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(l.C0.ESC+"[>83;40003;0c"))},T.prototype._is=function(_){return(this._optionsService.options.termName+"").indexOf(_)===0},T.prototype.setMode=function(_){for(var E=0;E<_.length;E++)switch(_.params[E]){case 4:this._coreService.modes.insertMode=!0}},T.prototype.setModePrivate=function(_){for(var E=0;E<_.length;E++)switch(_.params[E]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,u.DEFAULT_CHARSET),this._charsetService.setgCharset(1,u.DEFAULT_CHARSET),this._charsetService.setgCharset(2,u.DEFAULT_CHARSET),this._charsetService.setgCharset(3,u.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},T.prototype.resetMode=function(_){for(var E=0;E<_.length;E++)switch(_.params[E]){case 4:this._coreService.modes.insertMode=!1}},T.prototype.resetModePrivate=function(_){for(var E=0;E<_.length;E++)switch(_.params[E]){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(),_.params[E]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},T.prototype._updateAttrColor=function(_,E,I,L,D){return E===2?(_|=50331648,_&=-16777216,_|=c.AttributeData.fromColorRGB([I,L,D])):E===5&&(_&=-50331904,_|=33554432|255&I),_},T.prototype._extractColor=function(_,E,I){var L=[0,0,-1,0,0,0],D=0,F=0;do{if(L[F+D]=_.params[E+F],_.hasSubParams(E+F)){var N=_.getSubParams(E+F),P=0;do L[1]===5&&(D=1),L[F+P+1+D]=N[P];while(++P<N.length&&P+F+1+D<L.length);break}if(L[1]===5&&F+D>=2||L[1]===2&&F+D>=5)break;L[1]&&(D=1)}while(++F+E<_.length&&F+D<L.length);for(P=2;P<L.length;++P)L[P]===-1&&(L[P]=0);switch(L[0]){case 38:I.fg=this._updateAttrColor(I.fg,L[1],L[3],L[4],L[5]);break;case 48:I.bg=this._updateAttrColor(I.bg,L[1],L[3],L[4],L[5]);break;case 58:I.extended=I.extended.clone(),I.extended.underlineColor=this._updateAttrColor(I.extended.underlineColor,L[1],L[3],L[4],L[5])}return F},T.prototype._processUnderline=function(_,E){E.extended=E.extended.clone(),(!~_||_>5)&&(_=1),E.extended.underlineStyle=_,E.fg|=268435456,_===0&&(E.fg&=-268435457),E.updateExtended()},T.prototype.charAttributes=function(_){if(_.length===1&&_.params[0]===0)return this._curAttrData.fg=r.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=r.DEFAULT_ATTR_DATA.bg);for(var E,I=_.length,L=this._curAttrData,D=0;D<I;D++)(E=_.params[D])>=30&&E<=37?(L.fg&=-50331904,L.fg|=16777216|E-30):E>=40&&E<=47?(L.bg&=-50331904,L.bg|=16777216|E-40):E>=90&&E<=97?(L.fg&=-50331904,L.fg|=16777224|E-90):E>=100&&E<=107?(L.bg&=-50331904,L.bg|=16777224|E-100):E===0?(L.fg=r.DEFAULT_ATTR_DATA.fg,L.bg=r.DEFAULT_ATTR_DATA.bg):E===1?L.fg|=134217728:E===3?L.bg|=67108864:E===4?(L.fg|=268435456,this._processUnderline(_.hasSubParams(D)?_.getSubParams(D)[0]:1,L)):E===5?L.fg|=536870912:E===7?L.fg|=67108864:E===8?L.fg|=1073741824:E===2?L.bg|=134217728:E===21?this._processUnderline(2,L):E===22?(L.fg&=-134217729,L.bg&=-134217729):E===23?L.bg&=-67108865:E===24?L.fg&=-268435457:E===25?L.fg&=-536870913:E===27?L.fg&=-67108865:E===28?L.fg&=-1073741825:E===39?(L.fg&=-67108864,L.fg|=16777215&r.DEFAULT_ATTR_DATA.fg):E===49?(L.bg&=-67108864,L.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):E===38||E===48||E===58?D+=this._extractColor(_,D,L):E===59?(L.extended=L.extended.clone(),L.extended.underlineColor=-1,L.updateExtended()):E===100?(L.fg&=-67108864,L.fg|=16777215&r.DEFAULT_ATTR_DATA.fg,L.bg&=-67108864,L.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",E)},T.prototype.deviceStatus=function(_){switch(_.params[0]){case 5:this._coreService.triggerDataEvent(l.C0.ESC+"[0n");break;case 6:var E=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(l.C0.ESC+"["+E+";"+I+"R")}},T.prototype.deviceStatusPrivate=function(_){switch(_.params[0]){case 6:var E=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(l.C0.ESC+"[?"+E+";"+I+"R")}},T.prototype.softReset=function(_){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},T.prototype.setCursorStyle=function(_){var E=_.params[0]||1;switch(E){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 I=E%2==1;this._optionsService.options.cursorBlink=I},T.prototype.setScrollRegion=function(_){var E,I=_.params[0]||1;(_.length<2||(E=_.params[1])>this._bufferService.rows||E===0)&&(E=this._bufferService.rows),E>I&&(this._bufferService.buffer.scrollTop=I-1,this._bufferService.buffer.scrollBottom=E-1,this._setCursor(0,0))},T.prototype.windowOptions=function(_){if(S(_.params[0],this._optionsService.options.windowOptions)){var E=_.length>1?_.params[1]:0;switch(_.params[0]){case 14:E!==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(l.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:E!==0&&E!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),E!==0&&E!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:E!==0&&E!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),E!==0&&E!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},T.prototype.saveCursor=function(_){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},T.prototype.restoreCursor=function(_){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},T.prototype.setTitle=function(_){this._windowTitle=_,this._onTitleChange.fire(_)},T.prototype.setIconName=function(_){this._iconName=_},T.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},T.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},T.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},T.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,u.DEFAULT_CHARSET)},T.prototype.selectCharset=function(_){_.length===2?_[0]!=="/"&&this._charsetService.setgCharset(m[_[0]],u.CHARSETS[_[1]]||u.DEFAULT_CHARSET):this.selectDefaultCharset()},T.prototype.index=function(){this._restrictCursor();var _=this._bufferService.buffer;this._bufferService.buffer.y++,_.y===_.scrollBottom+1?(_.y--,this._onRequestScroll.fire(this._eraseAttrData())):_.y>=this._bufferService.rows&&(_.y=this._bufferService.rows-1),this._restrictCursor()},T.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},T.prototype.reverseIndex=function(){this._restrictCursor();var _=this._bufferService.buffer;if(_.y===_.scrollTop){var E=_.scrollBottom-_.scrollTop;_.lines.shiftElements(_.ybase+_.y,E,1),_.lines.set(_.ybase+_.y,_.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}else _.y--,this._restrictCursor()},T.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},T.prototype.reset=function(){this._curAttrData=r.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone()},T.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},T.prototype.setgLevel=function(_){this._charsetService.setgLevel(_)},T.prototype.screenAlignmentPattern=function(){var _=new a.CellData;_.content=1<<22|"E".charCodeAt(0),_.fg=this._curAttrData.fg,_.bg=this._curAttrData.bg;var E=this._bufferService.buffer;this._setCursor(0,0);for(var I=0;I<this._bufferService.rows;++I){var L=E.ybase+E.y+I,D=E.lines.get(L);D&&(D.fill(_),D.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},T}(e.Disposable);A.InputHandler=x},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.DEFAULT_CHARSET=A.CHARSETS=void 0,A.CHARSETS={},A.DEFAULT_CHARSET=A.CHARSETS.B,A.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"},A.CHARSETS.A={"#":"\xA3"},A.CHARSETS.B=void 0,A.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},A.CHARSETS.C=A.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},A.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},A.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},A.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},A.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},A.CHARSETS.E=A.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},A.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},A.CHARSETS.H=A.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},A.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Params=void 0;var g=function(){function v(f,l){if(f===void 0&&(f=32),l===void 0&&(l=32),this.maxLength=f,this.maxSubParamsLength=l,l>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(f),this.length=0,this._subParams=new Int32Array(l),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(f),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return v.fromArray=function(f){var l=new v;if(!f.length)return l;for(var u=f[0]instanceof Array?1:0;u<f.length;++u){var o=f[u];if(o instanceof Array)for(var e=0;e<o.length;++e)l.addSubParam(o[e]);else l.addParam(o)}return l},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=[],l=0;l<this.length;++l){f.push(this.params[l]);var u=this._subParamsIdx[l]>>8,o=255&this._subParamsIdx[l];o-u>0&&f.push(Array.prototype.slice.call(this._subParams,u,o))}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 l=this._subParamsIdx[f]>>8,u=255&this._subParamsIdx[f];return u-l>0?this._subParams.subarray(l,u):null},v.prototype.getSubParamsAll=function(){for(var f={},l=0;l<this.length;++l){var u=this._subParamsIdx[l]>>8,o=255&this._subParamsIdx[l];o-u>0&&(f[l]=this._subParams.slice(u,o))}return f},v.prototype.addDigit=function(f){var l;if(!(this._rejectDigits||!(l=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var u=this._digitIsSub?this._subParams:this.params,o=u[l-1];u[l-1]=~o?Math.min(10*o+f,2147483647):f}},v}();A.Params=g},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.OscHandler=A.OscParser=void 0;var g=b(23),v=b(8),f=function(){function u(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return u.prototype.addHandler=function(o,e){this._handlers[o]===void 0&&(this._handlers[o]=[]);var n=this._handlers[o];return n.push(e),{dispose:function(){var r=n.indexOf(e);r!==-1&&n.splice(r,1)}}},u.prototype.setHandler=function(o,e){this._handlers[o]=[e]},u.prototype.clearHandler=function(o){this._handlers[o]&&delete this._handlers[o]},u.prototype.setHandlerFallback=function(o){this._handlerFb=o},u.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},u.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},u.prototype._start=function(){var o=this._handlers[this._id];if(o)for(var e=o.length-1;e>=0;e--)o[e].start();else this._handlerFb(this._id,"START")},u.prototype._put=function(o,e,n){var i=this._handlers[this._id];if(i)for(var r=i.length-1;r>=0;r--)i[r].put(o,e,n);else this._handlerFb(this._id,"PUT",v.utf32ToString(o,e,n))},u.prototype._end=function(o){var e=this._handlers[this._id];if(e){for(var n=e.length-1;n>=0&&e[n].end(o)===!1;n--);for(n--;n>=0;n--)e[n].end(!1)}else this._handlerFb(this._id,"END",o)},u.prototype.start=function(){this.reset(),this._id=-1,this._state=1},u.prototype.put=function(o,e,n){if(this._state!==3){if(this._state===1)for(;e<n;){var i=o[e++];if(i===59){this._state=2,this._start();break}if(i<48||57<i)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+i-48}this._state===2&&n-e>0&&this._put(o,e,n)}},u.prototype.end=function(o){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(o)),this._id=-1,this._state=0)},u}();A.OscParser=f;var l=function(){function u(o){this._handler=o,this._data="",this._hitLimit=!1}return u.prototype.start=function(){this._data="",this._hitLimit=!1},u.prototype.put=function(o,e,n){this._hitLimit||(this._data+=v.utf32ToString(o,e,n),this._data.length>g.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},u.prototype.end=function(o){var e;return this._hitLimit?e=!1:o&&(e=this._handler(this._data)),this._data="",this._hitLimit=!1,e},u}();A.OscHandler=l},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PAYLOAD_LIMIT=void 0,A.PAYLOAD_LIMIT=1e7},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.DcsHandler=A.DcsParser=void 0;var g=b(8),v=b(21),f=b(23),l=[],u=function(){function e(){this._handlers=Object.create(null),this._active=l,this._ident=0,this._handlerFb=function(){}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.addHandler=function(n,i){this._handlers[n]===void 0&&(this._handlers[n]=[]);var r=this._handlers[n];return r.push(i),{dispose:function(){var t=r.indexOf(i);t!==-1&&r.splice(t,1)}}},e.prototype.setHandler=function(n,i){this._handlers[n]=[i]},e.prototype.clearHandler=function(n){this._handlers[n]&&delete this._handlers[n]},e.prototype.setHandlerFallback=function(n){this._handlerFb=n},e.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=l,this._ident=0},e.prototype.hook=function(n,i){if(this.reset(),this._ident=n,this._active=this._handlers[n]||l,this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].hook(i);else this._handlerFb(this._ident,"HOOK",i)},e.prototype.put=function(n,i,r){if(this._active.length)for(var s=this._active.length-1;s>=0;s--)this._active[s].put(n,i,r);else this._handlerFb(this._ident,"PUT",g.utf32ToString(n,i,r))},e.prototype.unhook=function(n){if(this._active.length){for(var i=this._active.length-1;i>=0&&this._active[i].unhook(n)===!1;i--);for(i--;i>=0;i--)this._active[i].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",n);this._active=l,this._ident=0},e}();A.DcsParser=u;var o=function(){function e(n){this._handler=n,this._data="",this._hitLimit=!1}return e.prototype.hook=function(n){this._params=n.clone(),this._data="",this._hitLimit=!1},e.prototype.put=function(n,i,r){this._hitLimit||(this._data+=g.utf32ToString(n,i,r),this._data.length>f.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(n){var i;return this._hitLimit?i=!1:n&&(i=this._handler(this._data,this._params||new v.Params)),this._params=void 0,this._data="",this._hitLimit=!1,i},e}();A.DcsHandler=o},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.removeTerminalFromCache=A.acquireCharAtlas=void 0;var g=b(26),v=b(43),f=[];A.acquireCharAtlas=function(l,u,o,e,n){for(var i=g.generateConfig(e,n,l,o),r=0;r<f.length;r++){var s=(t=f[r]).ownedBy.indexOf(u);if(s>=0){if(g.configEquals(t.config,i))return t.atlas;t.ownedBy.length===1?(t.atlas.dispose(),f.splice(r,1)):t.ownedBy.splice(s,1);break}}for(r=0;r<f.length;r++){var t=f[r];if(g.configEquals(t.config,i))return t.ownedBy.push(u),t.atlas}var a={atlas:new v.DynamicCharAtlas(document,i),config:i,ownedBy:[u]};return f.push(a),a.atlas},A.removeTerminalFromCache=function(l){for(var u=0;u<f.length;u++){var o=f[u].ownedBy.indexOf(l);if(o!==-1){f[u].ownedBy.length===1?(f[u].atlas.dispose(),f.splice(u,1)):f[u].ownedBy.splice(o,1);break}}}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.is256Color=A.configEquals=A.generateConfig=void 0;var g=b(3);A.generateConfig=function(v,f,l,u){var o={foreground:u.foreground,background:u.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:u.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:v,scaledCharHeight:f,fontFamily:l.fontFamily,fontSize:l.fontSize,fontWeight:l.fontWeight,fontWeightBold:l.fontWeightBold,allowTransparency:l.allowTransparency,colors:o}},A.configEquals=function(v,f){for(var l=0;l<v.colors.ansi.length;l++)if(v.colors.ansi[l].rgba!==f.colors.ansi[l].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},A.is256Color=function(v){return v<g.DEFAULT_COLOR}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ColorManager=A.DEFAULT_ANSI_COLORS=void 0;var g=b(10),v=b(45),f=g.css.toColor("#ffffff"),l=g.css.toColor("#000000"),u=g.css.toColor("#ffffff"),o=g.css.toColor("#000000"),e={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};A.DEFAULT_ANSI_COLORS=function(){for(var i=[g.css.toColor("#2e3436"),g.css.toColor("#cc0000"),g.css.toColor("#4e9a06"),g.css.toColor("#c4a000"),g.css.toColor("#3465a4"),g.css.toColor("#75507b"),g.css.toColor("#06989a"),g.css.toColor("#d3d7cf"),g.css.toColor("#555753"),g.css.toColor("#ef2929"),g.css.toColor("#8ae234"),g.css.toColor("#fce94f"),g.css.toColor("#729fcf"),g.css.toColor("#ad7fa8"),g.css.toColor("#34e2e2"),g.css.toColor("#eeeeec")],r=[0,95,135,175,215,255],s=0;s<216;s++){var t=r[s/36%6|0],a=r[s/6%6|0],c=r[s%6];i.push({css:g.channels.toCss(t,a,c),rgba:g.channels.toRgba(t,a,c)})}for(s=0;s<24;s++){var h=8+10*s;i.push({css:g.channels.toCss(h,h,h),rgba:g.channels.toRgba(h,h,h)})}return i}();var n=function(){function i(r,s){this.allowTransparency=s;var t=r.createElement("canvas");t.width=1,t.height=1;var a=t.getContext("2d");if(!a)throw new Error("Could not get rendering context");this._ctx=a,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new v.ColorContrastCache,this.colors={foreground:f,background:l,cursor:u,cursorAccent:o,selectionTransparent:e,selectionOpaque:g.color.blend(l,e),ansi:A.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return i.prototype.onOptionsChange=function(r){r==="minimumContrastRatio"&&this._contrastCache.clear()},i.prototype.setTheme=function(r){(r===void 0&&(r={}),this.colors.foreground=this._parseColor(r.foreground,f),this.colors.background=this._parseColor(r.background,l),this.colors.cursor=this._parseColor(r.cursor,u,!0),this.colors.cursorAccent=this._parseColor(r.cursorAccent,o,!0),this.colors.selectionTransparent=this._parseColor(r.selection,e,!0),this.colors.selectionOpaque=g.color.blend(this.colors.background,this.colors.selectionTransparent),g.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=g.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(r.black,A.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(r.red,A.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(r.green,A.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(r.yellow,A.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(r.blue,A.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(r.magenta,A.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(r.cyan,A.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(r.white,A.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(r.brightBlack,A.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(r.brightRed,A.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(r.brightGreen,A.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(r.brightYellow,A.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(r.brightBlue,A.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(r.brightMagenta,A.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(r.brightCyan,A.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(r.brightWhite,A.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},i.prototype._parseColor=function(r,s,t){if(t===void 0&&(t=this.allowTransparency),r===void 0)return s;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=r,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+r+" is invalid using fallback "+s.css),s;this._ctx.fillRect(0,0,1,1);var a=this._ctx.getImageData(0,0,1,1).data;if(a[3]!==255){if(!t)return console.warn("Color: "+r+" is using transparency, but allowTransparency is false. Using fallback "+s.css+"."),s;var c=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(x){return Number(x)}),h=c[0],p=c[1],m=c[2],S=c[3],y=Math.round(255*S);return{rgba:g.channels.toRgba(h,p,m,y),css:r}}return{css:this._ctx.fillStyle,rgba:g.channels.toRgba(a[0],a[1],a[2],a[3])}},i}();A.ColorManager=n},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.throwIfFalsy=void 0,A.throwIfFalsy=function(g){if(!g)throw new Error("value must not be falsy");return g}},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(i,r){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,t){s.__proto__=t}||function(s,t){for(var a in t)t.hasOwnProperty(a)&&(s[a]=t[a])})(i,r)},function(n,i){function r(){this.constructor=n}g(n,i),n.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)});Object.defineProperty(A,"__esModule",{value:!0}),A.CharacterJoinerRegistry=A.JoinedCellData=void 0;var f=b(6),l=b(3),u=b(4),o=function(n){function i(r,s,t){var a=n.call(this)||this;return a.content=0,a.combinedData="",a.fg=r.fg,a.bg=r.bg,a.combinedData=s,a._width=t,a}return v(i,n),i.prototype.isCombined=function(){return 2097152},i.prototype.getWidth=function(){return this._width},i.prototype.getChars=function(){return this.combinedData},i.prototype.getCode=function(){return 2097151},i.prototype.setFromCharData=function(r){throw new Error("not implemented")},i.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},i}(f.AttributeData);A.JoinedCellData=o;var e=function(){function n(i){this._bufferService=i,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new u.CellData}return n.prototype.registerCharacterJoiner=function(i){var r={id:this._nextCharacterJoinerId++,handler:i};return this._characterJoiners.push(r),r.id},n.prototype.deregisterCharacterJoiner=function(i){for(var r=0;r<this._characterJoiners.length;r++)if(this._characterJoiners[r].id===i)return this._characterJoiners.splice(r,1),!0;return!1},n.prototype.getJoinedCharacters=function(i){if(this._characterJoiners.length===0)return[];var r=this._bufferService.buffer.lines.get(i);if(!r||r.length===0)return[];for(var s=[],t=r.translateToString(!0),a=0,c=0,h=0,p=r.getFg(0),m=r.getBg(0),S=0;S<r.getTrimmedLength();S++)if(r.loadCell(S,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==p||this._workCell.bg!==m){if(S-a>1)for(var y=this._getJoinedRanges(t,h,c,r,a),x=0;x<y.length;x++)s.push(y[x]);a=S,h=c,p=this._workCell.fg,m=this._workCell.bg}c+=this._workCell.getChars().length||l.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-a>1)for(y=this._getJoinedRanges(t,h,c,r,a),x=0;x<y.length;x++)s.push(y[x]);return s},n.prototype._getJoinedRanges=function(i,r,s,t,a){for(var c=i.substring(r,s),h=this._characterJoiners[0].handler(c),p=1;p<this._characterJoiners.length;p++)for(var m=this._characterJoiners[p].handler(c),S=0;S<m.length;S++)n._mergeRanges(h,m[S]);return this._stringRangesToCellRanges(h,t,a),h},n.prototype._stringRangesToCellRanges=function(i,r,s){var t=0,a=!1,c=0,h=i[t];if(h){for(var p=s;p<this._bufferService.cols;p++){var m=r.getWidth(p),S=r.getString(p).length||l.WHITESPACE_CELL_CHAR.length;if(m!==0){if(!a&&h[0]<=c&&(h[0]=p,a=!0),h[1]<=c){if(h[1]=p,!(h=i[++t]))break;h[0]<=c?(h[0]=p,a=!0):a=!1}c+=S}}h&&(h[1]=this._bufferService.cols)}},n._mergeRanges=function(i,r){for(var s=!1,t=0;t<i.length;t++){var a=i[t];if(s){if(r[1]<=a[0])return i[t-1][1]=r[1],i;if(r[1]<=a[1])return i[t-1][1]=Math.max(r[1],a[1]),i.splice(t,1),i;i.splice(t,1),t--}else{if(r[1]<=a[0])return i.splice(t,0,r),i;if(r[1]<=a[1])return a[0]=Math.min(r[0],a[0]),i;r[0]<a[1]&&(a[0]=Math.min(r[0],a[0]),s=!0)}}return s?i[i.length-1][1]=r[1]:i.push(r),i},n}();A.CharacterJoinerRegistry=e},function(w,A,b){"use strict";function g(v,f){var l=f.getBoundingClientRect();return[v.clientX-l.left,v.clientY-l.top]}Object.defineProperty(A,"__esModule",{value:!0}),A.getRawByteCoords=A.getCoords=A.getCoordsRelativeToElement=void 0,A.getCoordsRelativeToElement=g,A.getCoords=function(v,f,l,u,o,e,n,i){if(o){var r=g(v,f);if(r)return r[0]=Math.ceil((r[0]+(i?e/2:0))/e),r[1]=Math.ceil(r[1]/n),r[0]=Math.min(Math.max(r[0],1),l+(i?1:0)),r[1]=Math.min(Math.max(r[1],1),u),r}},A.getRawByteCoords=function(v){if(v)return{x:v[0]+32,y:v[1]+32}}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.RenderDebouncer=void 0;var g=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,l,u){var o=this;this._rowCount=u,f=f!==void 0?f:0,l=l!==void 0?l: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,l):l,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return o._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),l=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(f,l)}},v}();A.RenderDebouncer=g},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(u,o){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])})(u,o)},function(l,u){function o(){this.constructor=l}g(l,u),l.prototype=u===null?Object.create(u):(o.prototype=u.prototype,new o)});Object.defineProperty(A,"__esModule",{value:!0}),A.ScreenDprMonitor=void 0;var f=function(l){function u(){var o=l!==null&&l.apply(this,arguments)||this;return o._currentDevicePixelRatio=window.devicePixelRatio,o}return v(u,l),u.prototype.setListener=function(o){var e=this;this._listener&&this.clearListener(),this._listener=o,this._outerListener=function(){e._listener&&(e._listener(window.devicePixelRatio,e._currentDevicePixelRatio),e._updateDpr())},this._updateDpr()},u.prototype.dispose=function(){l.prototype.dispose.call(this),this.clearListener()},u.prototype._updateDpr=function(){var o;this._outerListener&&((o=this._resolutionMediaMatchList)===null||o===void 0||o.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},u.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)},u}(b(2).Disposable);A.ScreenDprMonitor=f},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.clone=void 0,A.clone=function g(v,f){if(f===void 0&&(f=5),typeof v!="object")return v;var l=Array.isArray(v)?[]:{};for(var u in v)l[u]=f<=1?v[u]:v[u]?g(v[u],f-1):v[u];return l}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Terminal=void 0;var g=b(4),v=b(35),f=b(18),l=b(0),u=b(83),o=function(){function t(a){this._core=new v.Terminal(a),this._addonManager=new u.AddonManager}return t.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new r(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unicode",{get:function(){return this._checkProposedApi(),new s(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffer",{get:function(){return this._checkProposedApi(),new n(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),t.prototype.blur=function(){this._core.blur()},t.prototype.focus=function(){this._core.focus()},t.prototype.resize=function(a,c){this._verifyIntegers(a,c),this._core.resize(a,c)},t.prototype.open=function(a){this._core.open(a)},t.prototype.attachCustomKeyEventHandler=function(a){this._core.attachCustomKeyEventHandler(a)},t.prototype.registerLinkMatcher=function(a,c,h){return this._checkProposedApi(),this._core.registerLinkMatcher(a,c,h)},t.prototype.deregisterLinkMatcher=function(a){this._checkProposedApi(),this._core.deregisterLinkMatcher(a)},t.prototype.registerLinkProvider=function(a){return this._checkProposedApi(),this._core.registerLinkProvider(a)},t.prototype.registerCharacterJoiner=function(a){return this._checkProposedApi(),this._core.registerCharacterJoiner(a)},t.prototype.deregisterCharacterJoiner=function(a){this._checkProposedApi(),this._core.deregisterCharacterJoiner(a)},t.prototype.registerMarker=function(a){return this._checkProposedApi(),this._verifyIntegers(a),this._core.addMarker(a)},t.prototype.addMarker=function(a){return this.registerMarker(a)},t.prototype.hasSelection=function(){return this._core.hasSelection()},t.prototype.select=function(a,c,h){this._verifyIntegers(a,c,h),this._core.select(a,c,h)},t.prototype.getSelection=function(){return this._core.getSelection()},t.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},t.prototype.clearSelection=function(){this._core.clearSelection()},t.prototype.selectAll=function(){this._core.selectAll()},t.prototype.selectLines=function(a,c){this._verifyIntegers(a,c),this._core.selectLines(a,c)},t.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},t.prototype.scrollLines=function(a){this._verifyIntegers(a),this._core.scrollLines(a)},t.prototype.scrollPages=function(a){this._verifyIntegers(a),this._core.scrollPages(a)},t.prototype.scrollToTop=function(){this._core.scrollToTop()},t.prototype.scrollToBottom=function(){this._core.scrollToBottom()},t.prototype.scrollToLine=function(a){this._verifyIntegers(a),this._core.scrollToLine(a)},t.prototype.clear=function(){this._core.clear()},t.prototype.write=function(a,c){this._core.write(a,c)},t.prototype.writeUtf8=function(a,c){this._core.write(a,c)},t.prototype.writeln=function(a,c){this._core.write(a),this._core.write(`\r
`,c)},t.prototype.paste=function(a){this._core.paste(a)},t.prototype.getOption=function(a){return this._core.optionsService.getOption(a)},t.prototype.setOption=function(a,c){this._core.optionsService.setOption(a,c)},t.prototype.refresh=function(a,c){this._verifyIntegers(a,c),this._core.refresh(a,c)},t.prototype.reset=function(){this._core.reset()},t.prototype.loadAddon=function(a){return this._addonManager.loadAddon(this,a)},Object.defineProperty(t,"strings",{get:function(){return f},enumerable:!1,configurable:!0}),t.prototype._verifyIntegers=function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];for(var h=0,p=a;h<p.length;h++){var m=p[h];if(m===1/0||isNaN(m)||m%1!=0)throw new Error("This API only accepts integers")}},t}();A.Terminal=o;var e=function(){function t(a,c){this._buffer=a,this.type=c}return t.prototype.init=function(a){return this._buffer=a,this},Object.defineProperty(t.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),t.prototype.getLine=function(a){var c=this._buffer.lines.get(a);if(c)return new i(c)},t.prototype.getNullCell=function(){return new g.CellData},t}(),n=function(){function t(a){var c=this;this._buffers=a,this._onBufferChange=new l.EventEmitter,this._normal=new e(this._buffers.normal,"normal"),this._alternate=new e(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return c._onBufferChange.fire(c.active)})}return Object.defineProperty(t.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),t}(),i=function(){function t(a){this._line=a}return Object.defineProperty(t.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),t.prototype.getCell=function(a,c){if(!(a<0||a>=this._line.length))return c?(this._line.loadCell(a,c),c):this._line.loadCell(a,new g.CellData)},t.prototype.translateToString=function(a,c,h){return this._line.translateToString(a,c,h)},t}(),r=function(){function t(a){this._core=a}return t.prototype.registerCsiHandler=function(a,c){return this._core.addCsiHandler(a,function(h){return c(h.toArray())})},t.prototype.addCsiHandler=function(a,c){return this.registerCsiHandler(a,c)},t.prototype.registerDcsHandler=function(a,c){return this._core.addDcsHandler(a,function(h,p){return c(h,p.toArray())})},t.prototype.addDcsHandler=function(a,c){return this.registerDcsHandler(a,c)},t.prototype.registerEscHandler=function(a,c){return this._core.addEscHandler(a,c)},t.prototype.addEscHandler=function(a,c){return this.registerEscHandler(a,c)},t.prototype.registerOscHandler=function(a,c){return this._core.addOscHandler(a,c)},t.prototype.addOscHandler=function(a,c){return this.registerOscHandler(a,c)},t}(),s=function(){function t(a){this._core=a}return t.prototype.register=function(a){this._core.unicodeService.register(a)},Object.defineProperty(t.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(c){this._core.unicodeService.activeVersion=c},enumerable:!1,configurable:!0}),t}()},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(R,j){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,K){H.__proto__=K}||function(H,K){for(var U in K)K.hasOwnProperty(U)&&(H[U]=K[U])})(R,j)},function(W,R){function j(){this.constructor=W}g(W,R),W.prototype=R===null?Object.create(R):(j.prototype=R.prototype,new j)});Object.defineProperty(A,"__esModule",{value:!0}),A.Terminal=void 0;var f=b(36),l=b(37),u=b(38),o=b(12),e=b(19),n=b(40),i=b(50),r=b(51),s=b(11),t=b(7),a=b(18),c=b(54),h=b(55),p=b(56),m=b(57),S=b(59),y=b(0),x=b(16),C=b(27),T=b(60),_=b(5),E=b(61),I=b(62),L=b(63),D=b(64),F=b(65),N=typeof window!="undefined"?window.document:null,P=function(W){function R(j){j===void 0&&(j={});var H=W.call(this,j)||this;return H.browser=s,H._keyDownHandled=!1,H._onCursorMove=new y.EventEmitter,H._onKey=new y.EventEmitter,H._onRender=new y.EventEmitter,H._onSelectionChange=new y.EventEmitter,H._onTitleChange=new y.EventEmitter,H._onFocus=new y.EventEmitter,H._onBlur=new y.EventEmitter,H._onA11yCharEmitter=new y.EventEmitter,H._onA11yTabEmitter=new y.EventEmitter,H._setup(),H.linkifier=H._instantiationService.createInstance(i.Linkifier),H.linkifier2=H.register(H._instantiationService.createInstance(L.Linkifier2)),H.register(H._inputHandler.onRequestBell(function(){return H.bell()})),H.register(H._inputHandler.onRequestRefreshRows(function(K,U){return H.refresh(K,U)})),H.register(H._inputHandler.onRequestReset(function(){return H.reset()})),H.register(H._inputHandler.onRequestScroll(function(K,U){return H.scroll(K,U||void 0)})),H.register(H._inputHandler.onRequestWindowsOptionsReport(function(K){return H._reportWindowsOptions(K)})),H.register(y.forwardEvent(H._inputHandler.onCursorMove,H._onCursorMove)),H.register(y.forwardEvent(H._inputHandler.onTitleChange,H._onTitleChange)),H.register(y.forwardEvent(H._inputHandler.onA11yChar,H._onA11yCharEmitter)),H.register(y.forwardEvent(H._inputHandler.onA11yTab,H._onA11yTabEmitter)),H.register(H._bufferService.onResize(function(K){return H._afterResize(K.cols,K.rows)})),H}return v(R,W),Object.defineProperty(R.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),R.prototype.dispose=function(){var j,H,K;this._isDisposed||(W.prototype.dispose.call(this),(j=this._renderService)===null||j===void 0||j.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(K=(H=this.element)===null||H===void 0?void 0:H.parentNode)===null||K===void 0||K.removeChild(this.element))},R.prototype._setup=function(){W.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(R.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),R.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},R.prototype._updateOptions=function(j){var H,K,U,G;switch(W.prototype._updateOptions.call(this,j),j){case"fontFamily":case"fontSize":(H=this._renderService)===null||H===void 0||H.clear(),(K=this._charSizeService)===null||K===void 0||K.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":(U=this.viewport)===null||U===void 0||U.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new p.AccessibilityManager(this,this._renderService)):((G=this._accessibilityManager)===null||G===void 0||G.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},R.prototype._onTextAreaFocus=function(j){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[I"),this.updateCursorStyle(j),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},R.prototype.blur=function(){var j;return(j=this.textarea)===null||j===void 0?void 0:j.blur()},R.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},R.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var j=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),H=this._bufferService.buffer.y*j,K=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=K+"px",this.textarea.style.top=H+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=j+"px",this.textarea.style.lineHeight=j+"px",this.textarea.style.zIndex="-5"}},R.prototype._initGlobal=function(){var j=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(K){j.hasSelection()&&u.copyHandler(K,j._selectionService)}));var H=function(U){return u.handlePasteEvent(U,j.textarea,j._coreService)};this.register(t.addDisposableDomListener(this.textarea,"paste",H)),this.register(t.addDisposableDomListener(this.element,"paste",H)),s.isFirefox?this.register(t.addDisposableDomListener(this.element,"mousedown",function(K){K.button===2&&u.rightClickHandler(K,j.textarea,j.screenElement,j._selectionService,j.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(K){u.rightClickHandler(K,j.textarea,j.screenElement,j._selectionService,j.options.rightClickSelectsWord)})),s.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(K){K.button===1&&u.moveTextAreaUnderMouseCursor(K,j.textarea,j.screenElement)}))},R.prototype._bindKeys=function(){var j=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(H){return j._keyUp(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(H){return j._keyDown(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(H){return j._keyPress(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return j._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(H){return j._compositionHelper.compositionupdate(H)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return j._compositionHelper.compositionend()})),this.register(this.onRender(function(){return j._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(H){return j._queueLinkification(H.start,H.end)}))},R.prototype.open=function(j){var H=this;if(!j)throw new Error("Terminal requires a parent element.");N.body.contains(j)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=j.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"),j.appendChild(this.element);var K=N.createDocumentFragment();this._viewportElement=N.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),K.appendChild(this._viewportElement),this._viewportScrollArea=N.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=N.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=N.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),K.appendChild(this.screenElement),this.textarea=N.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",a.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(t.addDisposableDomListener(this.textarea,"focus",function(z){return H._onTextAreaFocus(z)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return H._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var U=this._instantiationService.createInstance(D.CoreBrowserService,this.textarea);this._instantiationService.setService(_.ICoreBrowserService,U),this._charSizeService=this._instantiationService.createInstance(E.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(_.ICharSizeService,this._charSizeService),this._compositionView=N.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(K),this._theme=this.options.theme||this._theme,this._colorManager=new C.ColorManager(N,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(z){return H._colorManager.onOptionsChange(z)})),this._colorManager.setTheme(this._theme);var G=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(T.RenderService,G,this.rows,this.screenElement)),this._instantiationService.setService(_.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(z){return H._onRender.fire(z)})),this.onResize(function(z){return H._renderService.resize(z.cols,z.rows)}),this._soundService=this._instantiationService.createInstance(c.SoundService),this._instantiationService.setService(_.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(I.MouseService),this._instantiationService.setService(_.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(l.Viewport,function(z,Y){return H.scrollLines(z,Y)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return H.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){H._renderService.onCursorMove(),H._syncTextArea()})),this.register(this.onResize(function(){return H._renderService.onResize(H.cols,H.rows)})),this.register(this.onBlur(function(){return H._renderService.onBlur()})),this.register(this.onFocus(function(){return H._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return H.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(r.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(_.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(z){return H.scrollLines(z.amount,z.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return H._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(z){return H._renderService.onSelectionChanged(z.start,z.end,z.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(z){H.textarea.value=z,H.textarea.focus(),H.textarea.select()})),this.register(this.onScroll(function(){H.viewport.syncScrollArea(),H._selectionService.refresh()})),this.register(t.addDisposableDomListener(this._viewportElement,"scroll",function(){return H._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(h.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return H._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(t.addDisposableDomListener(this.element,"mousedown",function(z){return H._selectionService.onMouseDown(z)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new p.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},R.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(n.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(m.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},R.prototype._setTheme=function(j){var H,K,U;this._theme=j,(H=this._colorManager)===null||H===void 0||H.setTheme(j),(K=this._renderService)===null||K===void 0||K.setColors(this._colorManager.colors),(U=this.viewport)===null||U===void 0||U.onThemeChange(this._colorManager.colors)},R.prototype.bindMouse=function(){var j=this,H=this,K=this.element;function U(ie){var se,he,pe=H._mouseService.getRawByteCoords(ie,H.screenElement,H.cols,H.rows);if(!pe)return!1;switch(ie.overrideType||ie.type){case"mousemove":he=32,ie.buttons===void 0?(se=3,ie.button!==void 0&&(se=ie.button<3?ie.button:3)):se=1&ie.buttons?0:4&ie.buttons?1:2&ie.buttons?2:3;break;case"mouseup":he=0,se=ie.button<3?ie.button:3;break;case"mousedown":he=1,se=ie.button<3?ie.button:3;break;case"wheel":ie.deltaY!==0&&(he=ie.deltaY<0?0:1),se=4;break;default:return!1}return!(he===void 0||se===void 0||se>4)&&H._coreMouseService.triggerMouseEvent({col:pe.x-33,row:pe.y-33,button:se,action:he,ctrl:ie.ctrlKey,alt:ie.altKey,shift:ie.shiftKey})}var G={mouseup:null,wheel:null,mousedrag:null,mousemove:null},z=function(se){return U(se),se.buttons||(j._document.removeEventListener("mouseup",G.mouseup),G.mousedrag&&j._document.removeEventListener("mousemove",G.mousedrag)),j.cancel(se)},Y=function(se){return U(se),se.preventDefault(),j.cancel(se)},q=function(se){se.buttons&&U(se)},oe=function(se){se.buttons||U(se)};this.register(this._coreMouseService.onProtocolChange(function(ie){ie?(j.optionsService.options.logLevel==="debug"&&j._logService.debug("Binding to mouse events:",j._coreMouseService.explainEvents(ie)),j.element.classList.add("enable-mouse-events"),j._selectionService.disable()):(j._logService.debug("Unbinding from mouse events."),j.element.classList.remove("enable-mouse-events"),j._selectionService.enable()),8&ie?G.mousemove||(K.addEventListener("mousemove",oe),G.mousemove=oe):(K.removeEventListener("mousemove",G.mousemove),G.mousemove=null),16&ie?G.wheel||(K.addEventListener("wheel",Y,{passive:!1}),G.wheel=Y):(K.removeEventListener("wheel",G.wheel),G.wheel=null),2&ie?G.mouseup||(G.mouseup=z):(j._document.removeEventListener("mouseup",G.mouseup),G.mouseup=null),4&ie?G.mousedrag||(G.mousedrag=q):(j._document.removeEventListener("mousemove",G.mousedrag),G.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(K,"mousedown",function(ie){if(ie.preventDefault(),j.focus(),j._coreMouseService.areMouseEventsActive&&!j._selectionService.shouldForceSelection(ie))return U(ie),G.mouseup&&j._document.addEventListener("mouseup",G.mouseup),G.mousedrag&&j._document.addEventListener("mousemove",G.mousedrag),j.cancel(ie)})),this.register(t.addDisposableDomListener(K,"wheel",function(ie){if(!G.wheel){if(!j.buffer.hasScrollback){var se=j.viewport.getLinesScrolled(ie);if(se===0)return;for(var he=o.C0.ESC+(j._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ie.deltaY<0?"A":"B"),pe="",_e=0;_e<Math.abs(se);_e++)pe+=he;j._coreService.triggerDataEvent(pe,!0)}}},{passive:!0})),this.register(t.addDisposableDomListener(K,"wheel",function(ie){if(!G.wheel)return j.viewport.onWheel(ie)?void 0:j.cancel(ie)},{passive:!1})),this.register(t.addDisposableDomListener(K,"touchstart",function(ie){if(!j._coreMouseService.areMouseEventsActive)return j.viewport.onTouchStart(ie),j.cancel(ie)},{passive:!0})),this.register(t.addDisposableDomListener(K,"touchmove",function(ie){if(!j._coreMouseService.areMouseEventsActive)return j.viewport.onTouchMove(ie)?void 0:j.cancel(ie)},{passive:!1}))},R.prototype.refresh=function(j,H){var K;(K=this._renderService)===null||K===void 0||K.refreshRows(j,H)},R.prototype._queueLinkification=function(j,H){var K;(K=this.linkifier)===null||K===void 0||K.linkifyRows(j,H)},R.prototype.updateCursorStyle=function(j){this._selectionService&&this._selectionService.shouldColumnSelect(j)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},R.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},R.prototype.scrollLines=function(j,H){W.prototype.scrollLines.call(this,j,H),this.refresh(0,this.rows-1)},R.prototype.paste=function(j){u.paste(j,this.textarea,this._coreService)},R.prototype.attachCustomKeyEventHandler=function(j){this._customKeyEventHandler=j},R.prototype.registerLinkMatcher=function(j,H,K){var U=this.linkifier.registerLinkMatcher(j,H,K);return this.refresh(0,this.rows-1),U},R.prototype.deregisterLinkMatcher=function(j){this.linkifier.deregisterLinkMatcher(j)&&this.refresh(0,this.rows-1)},R.prototype.registerLinkProvider=function(j){return this.linkifier2.registerLinkProvider(j)},R.prototype.registerCharacterJoiner=function(j){var H=this._renderService.registerCharacterJoiner(j);return this.refresh(0,this.rows-1),H},R.prototype.deregisterCharacterJoiner=function(j){this._renderService.deregisterCharacterJoiner(j)&&this.refresh(0,this.rows-1)},Object.defineProperty(R.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),R.prototype.addMarker=function(j){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+j)},R.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},R.prototype.select=function(j,H,K){this._selectionService.setSelection(j,H,K)},R.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},R.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},R.prototype.clearSelection=function(){var j;(j=this._selectionService)===null||j===void 0||j.clearSelection()},R.prototype.selectAll=function(){var j;(j=this._selectionService)===null||j===void 0||j.selectAll()},R.prototype.selectLines=function(j,H){var K;(K=this._selectionService)===null||K===void 0||K.selectLines(j,H)},R.prototype._keyDown=function(j){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(j)===!1)return!1;if(!this._compositionHelper.keydown(j))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var H=S.evaluateKeyboardEvent(j,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(j),H.type===3||H.type===2){var K=this.rows-1;return this.scrollLines(H.type===2?-K:K),this.cancel(j,!0)}return H.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,j)||(H.cancel&&this.cancel(j,!0),!H.key||(H.key!==o.C0.ETX&&H.key!==o.C0.CR||(this.textarea.value=""),this._onKey.fire({key:H.key,domEvent:j}),this._showCursor(),this._coreService.triggerDataEvent(H.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(j,!0)))},R.prototype._isThirdLevelShift=function(j,H){var K=j.isMac&&!this.options.macOptionIsMeta&&H.altKey&&!H.ctrlKey&&!H.metaKey||j.isWindows&&H.altKey&&H.ctrlKey&&!H.metaKey;return H.type==="keypress"?K:K&&(!H.keyCode||H.keyCode>47)},R.prototype._keyUp=function(j){this._customKeyEventHandler&&this._customKeyEventHandler(j)===!1||(function(H){return H.keyCode===16||H.keyCode===17||H.keyCode===18}(j)||this.focus(),this.updateCursorStyle(j))},R.prototype._keyPress=function(j){var H;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(j)===!1)return!1;if(this.cancel(j),j.charCode)H=j.charCode;else if(j.which===null||j.which===void 0)H=j.keyCode;else{if(j.which===0||j.charCode===0)return!1;H=j.which}return!(!H||(j.altKey||j.ctrlKey||j.metaKey)&&!this._isThirdLevelShift(this.browser,j))&&(H=String.fromCharCode(H),this._onKey.fire({key:H,domEvent:j}),this._showCursor(),this._coreService.triggerDataEvent(H,!0),!0)},R.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},R.prototype.resize=function(j,H){j!==this.cols||H!==this.rows?W.prototype.resize.call(this,j,H):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},R.prototype._afterResize=function(j,H){var K,U;(K=this._charSizeService)===null||K===void 0||K.measure(),(U=this.viewport)===null||U===void 0||U.syncScrollArea(!0)},R.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var j=1;j<this.rows;j++)this.buffer.lines.push(this.buffer.getBlankLine(x.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},R.prototype.reset=function(){var j,H;this.options.rows=this.rows,this.options.cols=this.cols;var K=this._customKeyEventHandler;this._setup(),W.prototype.reset.call(this),(j=this._selectionService)===null||j===void 0||j.reset(),this._customKeyEventHandler=K,this.refresh(0,this.rows-1),(H=this.viewport)===null||H===void 0||H.syncScrollArea()},R.prototype._reportWindowsOptions=function(j){if(this._renderService)switch(j){case e.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var H=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),K=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(o.C0.ESC+"[4;"+K+";"+H+"t");break;case e.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var U=this._renderService.dimensions.scaledCellWidth.toFixed(0),G=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(o.C0.ESC+"[6;"+G+";"+U+"t")}},R.prototype.cancel=function(j,H){if(this.options.cancelEvents||H)return j.preventDefault(),j.stopPropagation(),!1},R.prototype._visualBell=function(){return!1},R.prototype._soundBell=function(){return this.options.bellStyle==="sound"},R}(F.CoreTerminal);A.Terminal=P},function(w,A,b){"use strict";var g=this&&this.__decorate||function(o,e,n,i){var r,s=arguments.length,t=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(o,e,n,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(t=(s<3?r(t):s>3?r(e,n,t):r(e,n))||t);return s>3&&t&&Object.defineProperty(e,n,t),t},v=this&&this.__param||function(o,e){return function(n,i){e(n,i,o)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CompositionHelper=void 0;var f=b(5),l=b(1),u=function(){function o(e,n,i,r,s,t){this._textarea=e,this._compositionView=n,this._bufferService=i,this._optionsService=r,this._charSizeService=s,this._coreService=t,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(o.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),o.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},o.prototype.compositionupdate=function(e){var n=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout(function(){n._compositionPosition.end=n._textarea.value.length},0)},o.prototype.compositionend=function(){this._finalizeComposition(!0)},o.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(e.keyCode===229)return!1;if(e.keyCode===16||e.keyCode===17||e.keyCode===18)return!1;this._finalizeComposition(!1)}return e.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},o.prototype._finalizeComposition=function(e){var n=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,e){var i={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(n._isSendingComposition){n._isSendingComposition=!1;var s=void 0;s=n._isComposing?n._textarea.value.substring(i.start,i.end):n._textarea.value.substring(i.start),n._coreService.triggerDataEvent(s,!0)}},0)}else{this._isSendingComposition=!1;var r=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(r,!0)}},o.prototype._handleAnyTextareaChanges=function(){var e=this,n=this._textarea.value;setTimeout(function(){if(!e._isComposing){var i=e._textarea.value.replace(n,"");i.length>0&&e._coreService.triggerDataEvent(i,!0)}},0)},o.prototype.updateCompositionElements=function(e){var n=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var i=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),r=this._bufferService.buffer.y*i,s=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=s+"px",this._compositionView.style.top=r+"px",this._compositionView.style.height=i+"px",this._compositionView.style.lineHeight=i+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var t=this._compositionView.getBoundingClientRect();this._textarea.style.left=s+"px",this._textarea.style.top=r+"px",this._textarea.style.width=t.width+"px",this._textarea.style.height=t.height+"px",this._textarea.style.lineHeight=t.height+"px"}e||setTimeout(function(){return n.updateCompositionElements(!0)},0)}},o=g([v(2,l.IBufferService),v(3,l.IOptionsService),v(4,f.ICharSizeService),v(5,l.ICoreService)],o)}();A.CompositionHelper=u},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(s,t){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(s,t)},function(r,s){function t(){this.constructor=r}g(r,s),r.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)}),f=this&&this.__decorate||function(r,s,t,a){var c,h=arguments.length,p=h<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(r,s,t,a);else for(var m=r.length-1;m>=0;m--)(c=r[m])&&(p=(h<3?c(p):h>3?c(s,t,p):c(s,t))||p);return h>3&&p&&Object.defineProperty(s,t,p),p},l=this&&this.__param||function(r,s){return function(t,a){s(t,a,r)}};Object.defineProperty(A,"__esModule",{value:!0}),A.Viewport=void 0;var u=b(2),o=b(7),e=b(5),n=b(1),i=function(r){function s(t,a,c,h,p,m,S){var y=r.call(this)||this;return y._scrollLines=t,y._viewportElement=a,y._scrollArea=c,y._bufferService=h,y._optionsService=p,y._charSizeService=m,y._renderService=S,y.scrollBarWidth=0,y._currentRowHeight=0,y._lastRecordedBufferLength=0,y._lastRecordedViewportHeight=0,y._lastRecordedBufferHeight=0,y._lastTouchY=0,y._lastScrollTop=0,y._wheelPartialScroll=0,y._refreshAnimationFrame=null,y._ignoreNextScrollEvent=!1,y.scrollBarWidth=y._viewportElement.offsetWidth-y._scrollArea.offsetWidth||15,y.register(o.addDisposableDomListener(y._viewportElement,"scroll",y._onScroll.bind(y))),setTimeout(function(){return y.syncScrollArea()},0),y}return v(s,r),s.prototype.onThemeChange=function(t){this._viewportElement.style.backgroundColor=t.background.css},s.prototype._refresh=function(t){var a=this;if(t)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return a._innerRefresh()}))},s.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var t=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==t&&(this._lastRecordedBufferHeight=t,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var a=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==a&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=a),this._refreshAnimationFrame=null},s.prototype.syncScrollArea=function(t){if(t===void 0&&(t=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(t);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var a=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===a&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(t)}else this._refresh(t)},s.prototype._onScroll=function(t){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var a=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(a,!0)}},s.prototype._bubbleScroll=function(t,a){var c=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(a<0&&this._viewportElement.scrollTop!==0||a>0&&c<this._lastRecordedBufferHeight)||(t.cancelable&&t.preventDefault(),!1)},s.prototype.onWheel=function(t){var a=this._getPixelsScrolled(t);return a!==0&&(this._viewportElement.scrollTop+=a,this._bubbleScroll(t,a))},s.prototype._getPixelsScrolled=function(t){if(t.deltaY===0)return 0;var a=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_LINE?a*=this._currentRowHeight:t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(a*=this._currentRowHeight*this._bufferService.rows),a},s.prototype.getLinesScrolled=function(t){if(t.deltaY===0)return 0;var a=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(a/=this._currentRowHeight+0,this._wheelPartialScroll+=a,a=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(a*=this._bufferService.rows),a},s.prototype._applyScrollModifier=function(t,a){var c=this._optionsService.options.fastScrollModifier;return c==="alt"&&a.altKey||c==="ctrl"&&a.ctrlKey||c==="shift"&&a.shiftKey?t*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:t*this._optionsService.options.scrollSensitivity},s.prototype.onTouchStart=function(t){this._lastTouchY=t.touches[0].pageY},s.prototype.onTouchMove=function(t){var a=this._lastTouchY-t.touches[0].pageY;return this._lastTouchY=t.touches[0].pageY,a!==0&&(this._viewportElement.scrollTop+=a,this._bubbleScroll(t,a))},s=f([l(3,n.IBufferService),l(4,n.IOptionsService),l(5,e.ICharSizeService),l(6,e.IRenderService)],s)}(u.Disposable);A.Viewport=i},function(w,A,b){"use strict";function g(u){return u.replace(/\r?\n/g,"\r")}function v(u,o){return o?"[200~"+u+"[201~":u}function f(u,o,e){u=v(u=g(u),e.decPrivateModes.bracketedPasteMode),e.triggerDataEvent(u,!0),o.value=""}function l(u,o,e){var n=e.getBoundingClientRect(),i=u.clientX-n.left-10,r=u.clientY-n.top-10;o.style.width="20px",o.style.height="20px",o.style.left=i+"px",o.style.top=r+"px",o.style.zIndex="1000",o.focus()}Object.defineProperty(A,"__esModule",{value:!0}),A.rightClickHandler=A.moveTextAreaUnderMouseCursor=A.paste=A.handlePasteEvent=A.copyHandler=A.bracketTextForPaste=A.prepareTextForTerminal=void 0,A.prepareTextForTerminal=g,A.bracketTextForPaste=v,A.copyHandler=function(u,o){u.clipboardData&&u.clipboardData.setData("text/plain",o.selectionText),u.preventDefault()},A.handlePasteEvent=function(u,o,e){u.stopPropagation(),u.clipboardData&&f(u.clipboardData.getData("text/plain"),o,e)},A.paste=f,A.moveTextAreaUnderMouseCursor=l,A.rightClickHandler=function(u,o,e,n,i){l(u,o,e),i&&!n.isClickInSelection(u)&&n.selectWordAtCursor(u),o.value=n.selectionText,o.select()}},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(s,t){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(s,t)},function(r,s){function t(){this.constructor=r}g(r,s),r.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)});Object.defineProperty(A,"__esModule",{value:!0}),A.EscapeSequenceParser=A.VT500_TRANSITION_TABLE=A.TransitionTable=void 0;var f=b(2),l=b(15),u=b(21),o=b(22),e=b(24),n=function(){function r(s){this.table=new Uint8Array(s)}return r.prototype.setDefault=function(s,t){l.fill(this.table,s<<4|t)},r.prototype.add=function(s,t,a,c){this.table[t<<8|s]=a<<4|c},r.prototype.addMany=function(s,t,a,c){for(var h=0;h<s.length;h++)this.table[t<<8|s[h]]=a<<4|c},r}();A.TransitionTable=n,A.VT500_TRANSITION_TABLE=function(){var r=new n(4095),s=Array.apply(null,Array(256)).map(function(m,S){return S}),t=function(S,y){return s.slice(S,y)},a=t(32,127),c=t(0,24);c.push(25),c.push.apply(c,t(28,32));var h,p=t(0,14);for(h in r.setDefault(1,0),r.addMany(a,0,2,0),p)r.addMany([24,26,153,154],h,3,0),r.addMany(t(128,144),h,3,0),r.addMany(t(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(c,0,3,0),r.addMany(c,1,3,1),r.add(127,1,0,1),r.addMany(c,8,0,8),r.addMany(c,3,3,3),r.add(127,3,0,3),r.addMany(c,4,3,4),r.add(127,4,0,4),r.addMany(c,6,3,6),r.addMany(c,5,3,5),r.add(127,5,0,5),r.addMany(c,2,3,2),r.add(127,2,0,2),r.add(93,1,4,8),r.addMany(a,8,5,8),r.add(127,8,5,8),r.addMany([156,27,24,26,7],8,6,0),r.addMany(t(28,32),8,0,8),r.addMany([88,94,95],1,0,7),r.addMany(a,7,0,7),r.addMany(c,7,0,7),r.add(156,7,0,0),r.add(127,7,0,7),r.add(91,1,11,3),r.addMany(t(64,127),3,7,0),r.addMany(t(48,60),3,8,4),r.addMany([60,61,62,63],3,9,4),r.addMany(t(48,60),4,8,4),r.addMany(t(64,127),4,7,0),r.addMany([60,61,62,63],4,0,6),r.addMany(t(32,64),6,0,6),r.add(127,6,0,6),r.addMany(t(64,127),6,0,0),r.addMany(t(32,48),3,9,5),r.addMany(t(32,48),5,9,5),r.addMany(t(48,64),5,0,6),r.addMany(t(64,127),5,7,0),r.addMany(t(32,48),4,9,5),r.addMany(t(32,48),1,9,2),r.addMany(t(32,48),2,9,2),r.addMany(t(48,127),2,10,0),r.addMany(t(48,80),1,10,0),r.addMany(t(81,88),1,10,0),r.addMany([89,90,92],1,10,0),r.addMany(t(96,127),1,10,0),r.add(80,1,11,9),r.addMany(c,9,0,9),r.add(127,9,0,9),r.addMany(t(28,32),9,0,9),r.addMany(t(32,48),9,9,12),r.addMany(t(48,60),9,8,10),r.addMany([60,61,62,63],9,9,10),r.addMany(c,11,0,11),r.addMany(t(32,128),11,0,11),r.addMany(t(28,32),11,0,11),r.addMany(c,10,0,10),r.add(127,10,0,10),r.addMany(t(28,32),10,0,10),r.addMany(t(48,60),10,8,10),r.addMany([60,61,62,63],10,0,11),r.addMany(t(32,48),10,9,12),r.addMany(c,12,0,12),r.add(127,12,0,12),r.addMany(t(28,32),12,0,12),r.addMany(t(32,48),12,9,12),r.addMany(t(48,64),12,0,11),r.addMany(t(64,127),12,12,13),r.addMany(t(64,127),10,12,13),r.addMany(t(64,127),9,12,13),r.addMany(c,13,13,13),r.addMany(a,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 i=function(r){function s(t){t===void 0&&(t=A.VT500_TRANSITION_TABLE);var a=r.call(this)||this;return a._transitions=t,a.initialState=0,a.currentState=a.initialState,a._params=new u.Params,a._params.addParam(0),a._collect=0,a.precedingCodepoint=0,a._printHandlerFb=function(c,h,p){},a._executeHandlerFb=function(c){},a._csiHandlerFb=function(c,h){},a._escHandlerFb=function(c){},a._errorHandlerFb=function(c){return c},a._printHandler=a._printHandlerFb,a._executeHandlers=Object.create(null),a._csiHandlers=Object.create(null),a._escHandlers=Object.create(null),a._oscParser=new o.OscParser,a._dcsParser=new e.DcsParser,a._errorHandler=a._errorHandlerFb,a.setEscHandler({final:"\\"},function(){}),a}return v(s,r),s.prototype._identifier=function(t,a){a===void 0&&(a=[64,126]);var c=0;if(t.prefix){if(t.prefix.length>1)throw new Error("only one byte as prefix supported");if((c=t.prefix.charCodeAt(0))&&60>c||c>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(t.intermediates){if(t.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var h=0;h<t.intermediates.length;++h){var p=t.intermediates.charCodeAt(h);if(32>p||p>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");c<<=8,c|=p}}if(t.final.length!==1)throw new Error("final must be a single byte");var m=t.final.charCodeAt(0);if(a[0]>m||m>a[1])throw new Error("final must be in range "+a[0]+" .. "+a[1]);return c<<=8,c|=m},s.prototype.identToString=function(t){for(var a=[];t;)a.push(String.fromCharCode(255&t)),t>>=8;return a.reverse().join("")},s.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},s.prototype.setPrintHandler=function(t){this._printHandler=t},s.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},s.prototype.addEscHandler=function(t,a){var c=this._identifier(t,[48,126]);this._escHandlers[c]===void 0&&(this._escHandlers[c]=[]);var h=this._escHandlers[c];return h.push(a),{dispose:function(){var m=h.indexOf(a);m!==-1&&h.splice(m,1)}}},s.prototype.setEscHandler=function(t,a){this._escHandlers[this._identifier(t,[48,126])]=[a]},s.prototype.clearEscHandler=function(t){this._escHandlers[this._identifier(t,[48,126])]&&delete this._escHandlers[this._identifier(t,[48,126])]},s.prototype.setEscHandlerFallback=function(t){this._escHandlerFb=t},s.prototype.setExecuteHandler=function(t,a){this._executeHandlers[t.charCodeAt(0)]=a},s.prototype.clearExecuteHandler=function(t){this._executeHandlers[t.charCodeAt(0)]&&delete this._executeHandlers[t.charCodeAt(0)]},s.prototype.setExecuteHandlerFallback=function(t){this._executeHandlerFb=t},s.prototype.addCsiHandler=function(t,a){var c=this._identifier(t);this._csiHandlers[c]===void 0&&(this._csiHandlers[c]=[]);var h=this._csiHandlers[c];return h.push(a),{dispose:function(){var m=h.indexOf(a);m!==-1&&h.splice(m,1)}}},s.prototype.setCsiHandler=function(t,a){this._csiHandlers[this._identifier(t)]=[a]},s.prototype.clearCsiHandler=function(t){this._csiHandlers[this._identifier(t)]&&delete this._csiHandlers[this._identifier(t)]},s.prototype.setCsiHandlerFallback=function(t){this._csiHandlerFb=t},s.prototype.addDcsHandler=function(t,a){return this._dcsParser.addHandler(this._identifier(t),a)},s.prototype.setDcsHandler=function(t,a){this._dcsParser.setHandler(this._identifier(t),a)},s.prototype.clearDcsHandler=function(t){this._dcsParser.clearHandler(this._identifier(t))},s.prototype.setDcsHandlerFallback=function(t){this._dcsParser.setHandlerFallback(t)},s.prototype.addOscHandler=function(t,a){return this._oscParser.addHandler(t,a)},s.prototype.setOscHandler=function(t,a){this._oscParser.setHandler(t,a)},s.prototype.clearOscHandler=function(t){this._oscParser.clearHandler(t)},s.prototype.setOscHandlerFallback=function(t){this._oscParser.setHandlerFallback(t)},s.prototype.setErrorHandler=function(t){this._errorHandler=t},s.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},s.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},s.prototype.parse=function(t,a){for(var c=0,h=0,p=this.currentState,m=this._oscParser,S=this._dcsParser,y=this._collect,x=this._params,C=this._transitions.table,T=0;T<a;++T){switch((h=C[p<<8|((c=t[T])<160?c:160)])>>4){case 2:for(var _=T+1;;++_){if(_>=a||(c=t[_])<32||c>126&&c<160){this._printHandler(t,T,_),T=_-1;break}if(++_>=a||(c=t[_])<32||c>126&&c<160){this._printHandler(t,T,_),T=_-1;break}if(++_>=a||(c=t[_])<32||c>126&&c<160){this._printHandler(t,T,_),T=_-1;break}if(++_>=a||(c=t[_])<32||c>126&&c<160){this._printHandler(t,T,_),T=_-1;break}}break;case 3:this._executeHandlers[c]?this._executeHandlers[c]():this._executeHandlerFb(c),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:T,code:c,currentState:p,collect:y,params:x,abort:!1}).abort)return;break;case 7:for(var E=this._csiHandlers[y<<8|c],I=E?E.length-1:-1;I>=0&&E[I](x)===!1;I--);I<0&&this._csiHandlerFb(y<<8|c,x),this.precedingCodepoint=0;break;case 8:do switch(c){case 59:x.addParam(0);break;case 58:x.addSubParam(-1);break;default:x.addDigit(c-48)}while(++T<a&&(c=t[T])>47&&c<60);T--;break;case 9:y<<=8,y|=c;break;case 10:for(var L=this._escHandlers[y<<8|c],D=L?L.length-1:-1;D>=0&&L[D]()===!1;D--);D<0&&this._escHandlerFb(y<<8|c),this.precedingCodepoint=0;break;case 11:x.reset(),x.addParam(0),y=0;break;case 12:S.hook(y<<8|c,x);break;case 13:for(var F=T+1;;++F)if(F>=a||(c=t[F])===24||c===26||c===27||c>127&&c<160){S.put(t,T,F),T=F-1;break}break;case 14:S.unhook(c!==24&&c!==26),c===27&&(h|=1),x.reset(),x.addParam(0),y=0,this.precedingCodepoint=0;break;case 4:m.start();break;case 5:for(var N=T+1;;N++)if(N>=a||(c=t[N])<32||c>127&&c<=159){m.put(t,T,N),T=N-1;break}break;case 6:m.end(c!==24&&c!==26),c===27&&(h|=1),x.reset(),x.addParam(0),y=0,this.precedingCodepoint=0}p=15&h}this._collect=y,this.currentState=p},s}(f.Disposable);A.EscapeSequenceParser=i},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(S,y){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,C){x.__proto__=C}||function(x,C){for(var T in C)C.hasOwnProperty(T)&&(x[T]=C[T])})(S,y)},function(m,S){function y(){this.constructor=m}g(m,S),m.prototype=S===null?Object.create(S):(y.prototype=S.prototype,new y)}),f=this&&this.__decorate||function(m,S,y,x){var C,T=arguments.length,_=T<3?S:x===null?x=Object.getOwnPropertyDescriptor(S,y):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate(m,S,y,x);else for(var E=m.length-1;E>=0;E--)(C=m[E])&&(_=(T<3?C(_):T>3?C(S,y,_):C(S,y))||_);return T>3&&_&&Object.defineProperty(S,y,_),_},l=this&&this.__param||function(m,S){return function(y,x){S(y,x,m)}};Object.defineProperty(A,"__esModule",{value:!0}),A.Renderer=void 0;var u=b(41),o=b(47),e=b(48),n=b(49),i=b(29),r=b(2),s=b(5),t=b(1),a=b(25),c=b(0),h=1,p=function(m){function S(y,x,C,T,_,E,I,L,D){var F=m.call(this)||this;F._colors=y,F._screenElement=x,F._bufferService=_,F._charSizeService=E,F._optionsService=I,F._id=h++,F._onRequestRedraw=new c.EventEmitter;var N=F._optionsService.options.allowTransparency;return F._characterJoinerRegistry=new i.CharacterJoinerRegistry(F._bufferService),F._renderLayers=[new u.TextRenderLayer(F._screenElement,0,F._colors,F._characterJoinerRegistry,N,F._id,F._bufferService,I),new o.SelectionRenderLayer(F._screenElement,1,F._colors,F._id,F._bufferService,I),new n.LinkRenderLayer(F._screenElement,2,F._colors,F._id,C,T,F._bufferService,I),new e.CursorRenderLayer(F._screenElement,3,F._colors,F._id,F._onRequestRedraw,F._bufferService,I,L,D)],F.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},F._devicePixelRatio=window.devicePixelRatio,F._updateDimensions(),F.onOptionsChanged(),F}return v(S,m),Object.defineProperty(S.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){for(var y=0,x=this._renderLayers;y<x.length;y++)x[y].dispose();m.prototype.dispose.call(this),a.removeTerminalFromCache(this._id)},S.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},S.prototype.setColors=function(y){this._colors=y;for(var x=0,C=this._renderLayers;x<C.length;x++){var T=C[x];T.setColors(this._colors),T.reset()}},S.prototype.onResize=function(y,x){this._updateDimensions();for(var C=0,T=this._renderLayers;C<T.length;C++)T[C].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},S.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},S.prototype.onBlur=function(){this._runOperation(function(y){return y.onBlur()})},S.prototype.onFocus=function(){this._runOperation(function(y){return y.onFocus()})},S.prototype.onSelectionChanged=function(y,x,C){C===void 0&&(C=!1),this._runOperation(function(T){return T.onSelectionChanged(y,x,C)})},S.prototype.onCursorMove=function(){this._runOperation(function(y){return y.onCursorMove()})},S.prototype.onOptionsChanged=function(){this._runOperation(function(y){return y.onOptionsChanged()})},S.prototype.clear=function(){this._runOperation(function(y){return y.reset()})},S.prototype._runOperation=function(y){for(var x=0,C=this._renderLayers;x<C.length;x++)y(C[x])},S.prototype.renderRows=function(y,x){for(var C=0,T=this._renderLayers;C<T.length;C++)T[C].onGridChanged(y,x)},S.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)},S.prototype.registerCharacterJoiner=function(y){return this._characterJoinerRegistry.registerCharacterJoiner(y)},S.prototype.deregisterCharacterJoiner=function(y){return this._characterJoinerRegistry.deregisterCharacterJoiner(y)},S=f([l(4,t.IBufferService),l(5,s.ICharSizeService),l(6,t.IOptionsService),l(7,t.ICoreService),l(8,s.ICoreBrowserService)],S)}(r.Disposable);A.Renderer=p},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(s,t){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(s,t)},function(r,s){function t(){this.constructor=r}g(r,s),r.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)});Object.defineProperty(A,"__esModule",{value:!0}),A.TextRenderLayer=void 0;var f=b(42),l=b(13),u=b(6),o=b(3),e=b(29),n=b(4),i=function(r){function s(t,a,c,h,p,m,S,y){var x=r.call(this,t,"text",a,p,c,m,S,y)||this;return x._characterWidth=0,x._characterFont="",x._characterOverlapCache={},x._workCell=new n.CellData,x._state=new f.GridCache,x._characterJoinerRegistry=h,x}return v(s,r),s.prototype.resize=function(t){r.prototype.resize.call(this,t);var a=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===a||(this._characterWidth=t.scaledCharWidth,this._characterFont=a,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},s.prototype.reset=function(){this._state.clear(),this._clearAll()},s.prototype._forEachCell=function(t,a,c,h){for(var p=t;p<=a;p++)for(var m=p+this._bufferService.buffer.ydisp,S=this._bufferService.buffer.lines.get(m),y=c?c.getJoinedCharacters(m):[],x=0;x<this._bufferService.cols;x++){S.loadCell(x,this._workCell);var C=this._workCell,T=!1,_=x;if(C.getWidth()!==0){if(y.length>0&&x===y[0][0]){T=!0;var E=y.shift();C=new e.JoinedCellData(this._workCell,S.translateToString(!0,E[0],E[1]),E[1]-E[0]),_=E[1]-1}!T&&this._isOverlapping(C)&&_<S.length-1&&S.getCodePoint(_+1)===o.NULL_CELL_CODE&&(C.content&=-12582913,C.content|=2<<22),h(C,x,p),x=_}}},s.prototype._drawBackground=function(t,a){var c=this,h=this._ctx,p=this._bufferService.cols,m=0,S=0,y=null;h.save(),this._forEachCell(t,a,null,function(x,C,T){var _=null;x.isInverse()?_=x.isFgDefault()?c._colors.foreground.css:x.isFgRGB()?"rgb("+u.AttributeData.toColorRGB(x.getFgColor()).join(",")+")":c._colors.ansi[x.getFgColor()].css:x.isBgRGB()?_="rgb("+u.AttributeData.toColorRGB(x.getBgColor()).join(",")+")":x.isBgPalette()&&(_=c._colors.ansi[x.getBgColor()].css),y===null&&(m=C,S=T),T!==S?(h.fillStyle=y||"",c._fillCells(m,S,p-m,1),m=C,S=T):y!==_&&(h.fillStyle=y||"",c._fillCells(m,S,C-m,1),m=C,S=T),y=_}),y!==null&&(h.fillStyle=y,this._fillCells(m,S,p-m,1)),h.restore()},s.prototype._drawForeground=function(t,a){var c=this;this._forEachCell(t,a,this._characterJoinerRegistry,function(h,p,m){if(!h.isInvisible()&&(c._drawChars(h,p,m),h.isUnderline())){if(c._ctx.save(),h.isInverse())if(h.isBgDefault())c._ctx.fillStyle=c._colors.background.css;else if(h.isBgRGB())c._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(h.getBgColor()).join(",")+")";else{var S=h.getBgColor();c._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&S<8&&(S+=8),c._ctx.fillStyle=c._colors.ansi[S].css}else if(h.isFgDefault())c._ctx.fillStyle=c._colors.foreground.css;else if(h.isFgRGB())c._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(h.getFgColor()).join(",")+")";else{var y=h.getFgColor();c._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&y<8&&(y+=8),c._ctx.fillStyle=c._colors.ansi[y].css}c._fillBottomLineAtCells(p,m,h.getWidth()),c._ctx.restore()}})},s.prototype.onGridChanged=function(t,a){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,t,this._bufferService.cols,a-t+1),this._drawBackground(t,a),this._drawForeground(t,a))},s.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},s.prototype._isOverlapping=function(t){if(t.getWidth()!==1)return!1;if(t.getCode()<256)return!1;var a=t.getChars();if(this._characterOverlapCache.hasOwnProperty(a))return this._characterOverlapCache[a];this._ctx.save(),this._ctx.font=this._characterFont;var c=Math.floor(this._ctx.measureText(a).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[a]=c,c},s}(l.BaseRenderLayer);A.TextRenderLayer=i},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.GridCache=void 0;var g=function(){function v(){this.cache=[]}return v.prototype.resize=function(f,l){for(var u=0;u<f;u++){this.cache.length<=u&&this.cache.push([]);for(var o=this.cache[u].length;o<l;o++)this.cache[u].push(void 0);this.cache[u].length=l}this.cache.length=f},v.prototype.clear=function(){for(var f=0;f<this.cache.length;f++)for(var l=0;l<this.cache[f].length;l++)this.cache[f][l]=void 0},v}();A.GridCache=g},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(h,p){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,S){m.__proto__=S}||function(m,S){for(var y in S)S.hasOwnProperty(y)&&(m[y]=S[y])})(h,p)},function(c,h){function p(){this.constructor=c}g(c,h),c.prototype=h===null?Object.create(h):(p.prototype=h.prototype,new p)});Object.defineProperty(A,"__esModule",{value:!0}),A.NoneCharAtlas=A.DynamicCharAtlas=A.getGlyphCacheKey=void 0;var f=b(9),l=b(44),u=b(27),o=b(46),e=b(11),n=b(28),i=b(10),r={css:"rgba(0, 0, 0, 0)",rgba:0};function s(c){return c.code<<21|c.bg<<12|c.fg<<3|(c.bold?0:4)+(c.dim?0:2)+(c.italic?0:1)}A.getGlyphCacheKey=s;var t=function(c){function h(p,m){var S=c.call(this)||this;S._config=m,S._drawToCacheCount=0,S._glyphsWaitingOnBitmap=[],S._bitmapCommitTimeout=null,S._bitmap=null,S._cacheCanvas=p.createElement("canvas"),S._cacheCanvas.width=1024,S._cacheCanvas.height=1024,S._cacheCtx=n.throwIfFalsy(S._cacheCanvas.getContext("2d",{alpha:!0}));var y=p.createElement("canvas");y.width=S._config.scaledCharWidth,y.height=S._config.scaledCharHeight,S._tmpCtx=n.throwIfFalsy(y.getContext("2d",{alpha:S._config.allowTransparency})),S._width=Math.floor(1024/S._config.scaledCharWidth),S._height=Math.floor(1024/S._config.scaledCharHeight);var x=S._width*S._height;return S._cacheMap=new o.LRUMap(x),S._cacheMap.prealloc(x),S}return v(h,c),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(p,m,S,y){if(m.code===32)return!0;if(!this._canCache(m))return!1;var x=s(m),C=this._cacheMap.get(x);if(C!=null)return this._drawFromCache(p,C,S,y),!0;if(this._drawToCacheCount<100){var T=void 0;T=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var _=this._drawToCache(m,T);return this._cacheMap.set(x,_),this._drawFromCache(p,_,S,y),!0}return!1},h.prototype._canCache=function(p){return p.code<256},h.prototype._toCoordinateX=function(p){return p%this._width*this._config.scaledCharWidth},h.prototype._toCoordinateY=function(p){return Math.floor(p/this._width)*this._config.scaledCharHeight},h.prototype._drawFromCache=function(p,m,S,y){if(!m.isEmpty){var x=this._toCoordinateX(m.index),C=this._toCoordinateY(m.index);p.drawImage(m.inBitmap?this._bitmap:this._cacheCanvas,x,C,this._config.scaledCharWidth,this._config.scaledCharHeight,S,y,this._config.scaledCharWidth,this._config.scaledCharHeight)}},h.prototype._getColorFromAnsiIndex=function(p){return p<this._config.colors.ansi.length?this._config.colors.ansi[p]:u.DEFAULT_ANSI_COLORS[p]},h.prototype._getBackgroundColor=function(p){return this._config.allowTransparency?r:p.bg===f.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:p.bg<256?this._getColorFromAnsiIndex(p.bg):this._config.colors.background},h.prototype._getForegroundColor=function(p){return p.fg===f.INVERTED_DEFAULT_COLOR?i.color.opaque(this._config.colors.background):p.fg<256?this._getColorFromAnsiIndex(p.fg):this._config.colors.foreground},h.prototype._drawToCache=function(p,m){this._drawToCacheCount++,this._tmpCtx.save();var S=this._getBackgroundColor(p);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=S.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var y=p.bold?this._config.fontWeightBold:this._config.fontWeight,x=p.italic?"italic":"";this._tmpCtx.font=x+" "+y+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(p).css,p.dim&&(this._tmpCtx.globalAlpha=f.DIM_OPACITY),this._tmpCtx.fillText(p.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var C=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),T=!1;this._config.allowTransparency||(T=function(L,D){for(var F=!0,N=D.rgba>>>24,P=D.rgba>>>16&255,W=D.rgba>>>8&255,R=0;R<L.data.length;R+=4)L.data[R]===N&&L.data[R+1]===P&&L.data[R+2]===W?L.data[R+3]=0:F=!1;return F}(C,S));var _=this._toCoordinateX(m),E=this._toCoordinateY(m);this._cacheCtx.putImageData(C,_,E);var I={index:m,isEmpty:T,inBitmap:!1};return this._addGlyphToBitmap(I),I},h.prototype._addGlyphToBitmap=function(p){var m=this;!("createImageBitmap"in window)||e.isFirefox||e.isSafari||(this._glyphsWaitingOnBitmap.push(p),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return m._generateBitmap()},100)))},h.prototype._generateBitmap=function(){var p=this,m=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(S){p._bitmap=S;for(var y=0;y<m.length;y++)m[y].inBitmap=!0}),this._bitmapCommitTimeout=null},h}(l.BaseCharAtlas);A.DynamicCharAtlas=t;var a=function(c){function h(p,m){return c.call(this)||this}return v(h,c),h.prototype.draw=function(p,m,S,y){return!1},h}(l.BaseCharAtlas);A.NoneCharAtlas=a},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BaseCharAtlas=void 0;var g=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}();A.BaseCharAtlas=g},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ColorContrastCache=void 0;var g=function(){function v(){this._color={},this._rgba={}}return v.prototype.clear=function(){this._color={},this._rgba={}},v.prototype.setCss=function(f,l,u){this._rgba[f]||(this._rgba[f]={}),this._rgba[f][l]=u},v.prototype.getCss=function(f,l){return this._rgba[f]?this._rgba[f][l]:void 0},v.prototype.setColor=function(f,l,u){this._color[f]||(this._color[f]={}),this._color[f][l]=u},v.prototype.getColor=function(f,l){return this._color[f]?this._color[f][l]:void 0},v}();A.ColorContrastCache=g},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.LRUMap=void 0;var g=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 l=f.prev,u=f.next;f===this._head&&(this._head=u),f===this._tail&&(this._tail=l),l!==null&&(l.next=u),u!==null&&(u.prev=l)},v.prototype._appendNode=function(f){var l=this._tail;l!==null&&(l.next=f),f.prev=l,f.next=null,this._tail=f,this._head===null&&(this._head=f)},v.prototype.prealloc=function(f){for(var l=this._nodePool,u=0;u<f;u++)l.push({prev:null,next:null,key:null,value:null})},v.prototype.get=function(f){var l=this._map[f];return l!==void 0?(this._unlinkNode(l),this._appendNode(l),l.value):null},v.prototype.peekValue=function(f){var l=this._map[f];return l!==void 0?l.value:null},v.prototype.peek=function(){var f=this._head;return f===null?null:f.value},v.prototype.set=function(f,l){var u=this._map[f];if(u!==void 0)u=this._map[f],this._unlinkNode(u),u.value=l;else if(this.size>=this.capacity)u=this._head,this._unlinkNode(u),delete this._map[u.key],u.key=f,u.value=l,this._map[f]=u;else{var o=this._nodePool;o.length>0?((u=o.pop()).key=f,u.value=l):u={prev:null,next:null,key:f,value:l},this._map[f]=u,this.size++}this._appendNode(u)},v}();A.LRUMap=g},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(u,o){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])})(u,o)},function(l,u){function o(){this.constructor=l}g(l,u),l.prototype=u===null?Object.create(u):(o.prototype=u.prototype,new o)});Object.defineProperty(A,"__esModule",{value:!0}),A.SelectionRenderLayer=void 0;var f=function(l){function u(o,e,n,i,r,s){var t=l.call(this,o,"selection",e,!0,n,i,r,s)||this;return t._clearState(),t}return v(u,l),u.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},u.prototype.resize=function(o){l.prototype.resize.call(this,o),this._clearState()},u.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},u.prototype.onSelectionChanged=function(o,e,n){if(this._didStateChange(o,e,n,this._bufferService.buffer.ydisp))if(this._clearAll(),o&&e){var i=o[1]-this._bufferService.buffer.ydisp,r=e[1]-this._bufferService.buffer.ydisp,s=Math.max(i,0),t=Math.min(r,this._bufferService.rows-1);if(!(s>=this._bufferService.rows||t<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,n){var a=o[0],c=e[0]-a,h=t-s+1;this._fillCells(a,s,c,h)}else{a=i===s?o[0]:0;var p=s===t?e[0]:this._bufferService.cols;this._fillCells(a,s,p-a,1);var m=Math.max(t-s-1,0);if(this._fillCells(0,s+1,this._bufferService.cols,m),s!==t){var S=r===t?e[0]:this._bufferService.cols;this._fillCells(0,t,S,1)}}this._state.start=[o[0],o[1]],this._state.end=[e[0],e[1]],this._state.columnSelectMode=n,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},u.prototype._didStateChange=function(o,e,n,i){return!this._areCoordinatesEqual(o,this._state.start)||!this._areCoordinatesEqual(e,this._state.end)||n!==this._state.columnSelectMode||i!==this._state.ydisp},u.prototype._areCoordinatesEqual=function(o,e){return!(!o||!e)&&o[0]===e[0]&&o[1]===e[1]},u}(b(13).BaseRenderLayer);A.SelectionRenderLayer=f},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(n,i){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var t in s)s.hasOwnProperty(t)&&(r[t]=s[t])})(n,i)},function(e,n){function i(){this.constructor=e}g(e,n),e.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(A,"__esModule",{value:!0}),A.CursorRenderLayer=void 0;var f=b(13),l=b(4),u=function(e){function n(i,r,s,t,a,c,h,p,m){var S=e.call(this,i,"cursor",r,!0,s,t,c,h)||this;return S._onRequestRedraw=a,S._coreService=p,S._coreBrowserService=m,S._cell=new l.CellData,S._state={x:0,y:0,isFocused:!1,style:"",width:0},S._cursorRenderers={bar:S._renderBarCursor.bind(S),block:S._renderBlockCursor.bind(S),underline:S._renderUnderlineCursor.bind(S)},S}return v(n,e),n.prototype.resize=function(i){e.prototype.resize.call(this,i),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},n.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},n.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},n.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},n.prototype.onOptionsChanged=function(){var i,r=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new o(this._coreBrowserService.isFocused,function(){r._render(!0)})):((i=this._cursorBlinkStateManager)===null||i===void 0||i.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},n.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},n.prototype.onGridChanged=function(i,r){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},n.prototype._render=function(i){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var r=this._bufferService.buffer.ybase+this._bufferService.buffer.y,s=r-this._bufferService.buffer.ydisp;if(s<0||s>=this._bufferService.rows)this._clearCursor();else{var t=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(r).loadCell(t,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var a=this._optionsService.options.cursorStyle;return a&&a!=="block"?this._cursorRenderers[a](t,s,this._cell):this._renderBlurCursor(t,s,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=s,this._state.isFocused=!1,this._state.style=a,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===t&&this._state.y===s&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](t,s,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=s,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},n.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})},n.prototype._renderBarCursor=function(i,r,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(i,r,this._optionsService.options.cursorWidth),this._ctx.restore()},n.prototype._renderBlockCursor=function(i,r,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(i,r,s.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(s,i,r),this._ctx.restore()},n.prototype._renderUnderlineCursor=function(i,r,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(i,r),this._ctx.restore()},n.prototype._renderBlurCursor=function(i,r,s){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(i,r,s.getWidth(),1),this._ctx.restore()},n}(f.BaseRenderLayer);A.CursorRenderLayer=u;var o=function(){function e(n,i){this._renderCallback=i,this.isCursorVisible=!0,n&&this._restartInterval()}return Object.defineProperty(e.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),e.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)},e.prototype.restartBlinkAnimation=function(){var n=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){n._renderCallback(),n._animationFrame=void 0})))},e.prototype._restartInterval=function(n){var i=this;n===void 0&&(n=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(i._animationTimeRestarted){var r=600-(Date.now()-i._animationTimeRestarted);if(i._animationTimeRestarted=void 0,r>0)return void i._restartInterval(r)}i.isCursorVisible=!1,i._animationFrame=window.requestAnimationFrame(function(){i._renderCallback(),i._animationFrame=void 0}),i._blinkInterval=window.setInterval(function(){if(i._animationTimeRestarted){var s=600-(Date.now()-i._animationTimeRestarted);return i._animationTimeRestarted=void 0,void i._restartInterval(s)}i.isCursorVisible=!i.isCursorVisible,i._animationFrame=window.requestAnimationFrame(function(){i._renderCallback(),i._animationFrame=void 0})},600)},n)},e.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)},e.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},e}()},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(n,i){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var t in s)s.hasOwnProperty(t)&&(r[t]=s[t])})(n,i)},function(e,n){function i(){this.constructor=e}g(e,n),e.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(A,"__esModule",{value:!0}),A.LinkRenderLayer=void 0;var f=b(13),l=b(9),u=b(26),o=function(e){function n(i,r,s,t,a,c,h,p){var m=e.call(this,i,"link",r,!0,s,t,h,p)||this;return a.onShowLinkUnderline(function(S){return m._onShowLinkUnderline(S)}),a.onHideLinkUnderline(function(S){return m._onHideLinkUnderline(S)}),c.onShowLinkUnderline(function(S){return m._onShowLinkUnderline(S)}),c.onHideLinkUnderline(function(S){return m._onHideLinkUnderline(S)}),m}return v(n,e),n.prototype.resize=function(i){e.prototype.resize.call(this,i),this._state=void 0},n.prototype.reset=function(){this._clearCurrentLink()},n.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var i=this._state.y2-this._state.y1-1;i>0&&this._clearCells(0,this._state.y1+1,this._state.cols,i),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},n.prototype._onShowLinkUnderline=function(i){if(i.fg===l.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:i.fg&&u.is256Color(i.fg)?this._ctx.fillStyle=this._colors.ansi[i.fg].css:this._ctx.fillStyle=this._colors.foreground.css,i.y1===i.y2)this._fillBottomLineAtCells(i.x1,i.y1,i.x2-i.x1);else{this._fillBottomLineAtCells(i.x1,i.y1,i.cols-i.x1);for(var r=i.y1+1;r<i.y2;r++)this._fillBottomLineAtCells(0,r,i.cols);this._fillBottomLineAtCells(0,i.y2,i.x2)}this._state=i},n.prototype._onHideLinkUnderline=function(i){this._clearCurrentLink()},n}(f.BaseRenderLayer);A.LinkRenderLayer=o},function(w,A,b){"use strict";var g=this&&this.__decorate||function(e,n,i,r){var s,t=arguments.length,a=t<3?n:r===null?r=Object.getOwnPropertyDescriptor(n,i):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,n,i,r);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(t<3?s(a):t>3?s(n,i,a):s(n,i))||a);return t>3&&a&&Object.defineProperty(n,i,a),a},v=this&&this.__param||function(e,n){return function(i,r){n(i,r,e)}};Object.defineProperty(A,"__esModule",{value:!0}),A.MouseZone=A.Linkifier=void 0;var f=b(0),l=b(1),u=function(){function e(n,i,r){this._bufferService=n,this._logService=i,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(e.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),e.prototype.attachToDom=function(n,i){this._element=n,this._mouseZoneManager=i},e.prototype.linkifyRows=function(n,i){var r=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=n,this._rowsToLinkify.end=i):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,n),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,i)),this._mouseZoneManager.clearAll(n,i),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return r._linkifyRows()},e._timeBeforeLatency))},e.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var n=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var i=n.ydisp+this._rowsToLinkify.start;if(!(i>=n.lines.length)){for(var r=n.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,s=Math.ceil(2e3/this._bufferService.cols),t=this._bufferService.buffer.iterator(!1,i,r,s,s);t.hasNext();)for(var a=t.next(),c=0;c<this._linkMatchers.length;c++)this._doLinkifyRow(a.range.first,a.content,this._linkMatchers[c]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},e.prototype.registerLinkMatcher=function(n,i,r){if(r===void 0&&(r={}),!i)throw new Error("handler must be defined");var s={id:this._nextLinkMatcherId++,regex:n,handler:i,matchIndex:r.matchIndex,validationCallback:r.validationCallback,hoverTooltipCallback:r.tooltipCallback,hoverLeaveCallback:r.leaveCallback,willLinkActivate:r.willLinkActivate,priority:r.priority||0};return this._addLinkMatcherToList(s),s.id},e.prototype._addLinkMatcherToList=function(n){if(this._linkMatchers.length!==0){for(var i=this._linkMatchers.length-1;i>=0;i--)if(n.priority<=this._linkMatchers[i].priority)return void this._linkMatchers.splice(i+1,0,n);this._linkMatchers.splice(0,0,n)}else this._linkMatchers.push(n)},e.prototype.deregisterLinkMatcher=function(n){for(var i=0;i<this._linkMatchers.length;i++)if(this._linkMatchers[i].id===n)return this._linkMatchers.splice(i,1),!0;return!1},e.prototype._doLinkifyRow=function(n,i,r){for(var s,t=this,a=new RegExp(r.regex.source,(r.regex.flags||"")+"g"),c=-1,h=function(){var S=s[typeof r.matchIndex!="number"?0:r.matchIndex];if(!S)return p._logService.debug("match found without corresponding matchIndex",s,r),"break";if(c=i.indexOf(S,c+1),a.lastIndex=c+S.length,c<0)return"break";var y=p._bufferService.buffer.stringIndexToBufferIndex(n,c);if(y[0]<0)return"break";var x=p._bufferService.buffer.lines.get(y[0]);if(!x)return"break";var C=x.getFg(y[1]),T=C?C>>9&511:void 0;r.validationCallback?r.validationCallback(S,function(_){t._rowsTimeoutId||_&&t._addLink(y[1],y[0]-t._bufferService.buffer.ydisp,S,r,T)}):p._addLink(y[1],y[0]-p._bufferService.buffer.ydisp,S,r,T)},p=this;(s=a.exec(i))!==null&&!(h()==="break"););},e.prototype._addLink=function(n,i,r,s,t){var a=this;if(this._mouseZoneManager&&this._element){var c=this._unicodeService.getStringCellWidth(r),h=n%this._bufferService.cols,p=i+Math.floor(n/this._bufferService.cols),m=(h+c)%this._bufferService.cols,S=p+Math.floor((h+c)/this._bufferService.cols);m===0&&(m=this._bufferService.cols,S--),this._mouseZoneManager.add(new o(h+1,p+1,m+1,S+1,function(y){if(s.handler)return s.handler(y,r);var x=window.open();x?(x.opener=null,x.location.href=r):console.warn("Opening link blocked as opener could not be cleared")},function(){a._onShowLinkUnderline.fire(a._createLinkHoverEvent(h,p,m,S,t)),a._element.classList.add("xterm-cursor-pointer")},function(y){a._onLinkTooltip.fire(a._createLinkHoverEvent(h,p,m,S,t)),s.hoverTooltipCallback&&s.hoverTooltipCallback(y,r,{start:{x:h,y:p},end:{x:m,y:S}})},function(){a._onHideLinkUnderline.fire(a._createLinkHoverEvent(h,p,m,S,t)),a._element.classList.remove("xterm-cursor-pointer"),s.hoverLeaveCallback&&s.hoverLeaveCallback()},function(y){return!s.willLinkActivate||s.willLinkActivate(y,r)}))}},e.prototype._createLinkHoverEvent=function(n,i,r,s,t){return{x1:n,y1:i,x2:r,y2:s,cols:this._bufferService.cols,fg:t}},e._timeBeforeLatency=200,e=g([v(0,l.IBufferService),v(1,l.ILogService),v(2,l.IUnicodeService)],e)}();A.Linkifier=u;var o=function(n,i,r,s,t,a,c,h,p){this.x1=n,this.y1=i,this.x2=r,this.y2=s,this.clickCallback=t,this.hoverCallback=a,this.tooltipCallback=c,this.leaveCallback=h,this.willLinkActivate=p};A.MouseZone=o},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(S,y){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,C){x.__proto__=C}||function(x,C){for(var T in C)C.hasOwnProperty(T)&&(x[T]=C[T])})(S,y)},function(m,S){function y(){this.constructor=m}g(m,S),m.prototype=S===null?Object.create(S):(y.prototype=S.prototype,new y)}),f=this&&this.__decorate||function(m,S,y,x){var C,T=arguments.length,_=T<3?S:x===null?x=Object.getOwnPropertyDescriptor(S,y):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate(m,S,y,x);else for(var E=m.length-1;E>=0;E--)(C=m[E])&&(_=(T<3?C(_):T>3?C(S,y,_):C(S,y))||_);return T>3&&_&&Object.defineProperty(S,y,_),_},l=this&&this.__param||function(m,S){return function(y,x){S(y,x,m)}};Object.defineProperty(A,"__esModule",{value:!0}),A.SelectionService=void 0;var u=b(11),o=b(52),e=b(4),n=b(0),i=b(5),r=b(1),s=b(30),t=b(53),a=b(2),c=String.fromCharCode(160),h=new RegExp(c,"g"),p=function(m){function S(y,x,C,T,_,E,I){var L=m.call(this)||this;return L._element=y,L._screenElement=x,L._bufferService=C,L._coreService=T,L._mouseService=_,L._optionsService=E,L._renderService=I,L._dragScrollAmount=0,L._enabled=!0,L._workCell=new e.CellData,L._mouseDownTimeStamp=0,L._onLinuxMouseSelection=L.register(new n.EventEmitter),L._onRedrawRequest=L.register(new n.EventEmitter),L._onSelectionChange=L.register(new n.EventEmitter),L._onRequestScrollLines=L.register(new n.EventEmitter),L._mouseMoveListener=function(D){return L._onMouseMove(D)},L._mouseUpListener=function(D){return L._onMouseUp(D)},L._coreService.onUserInput(function(){L.hasSelection&&L.clearSelection()}),L._trimListener=L._bufferService.buffer.lines.onTrim(function(D){return L._onTrim(D)}),L.register(L._bufferService.buffers.onBufferActivate(function(D){return L._onBufferActivate(D)})),L.enable(),L._model=new o.SelectionModel(L._bufferService),L._activeSelectionMode=0,L}return v(S,m),Object.defineProperty(S.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){this._removeMouseDownListeners()},S.prototype.reset=function(){this.clearSelection()},S.prototype.disable=function(){this.clearSelection(),this._enabled=!1},S.prototype.enable=function(){this._enabled=!0},Object.defineProperty(S.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"hasSelection",{get:function(){var x=this._model.finalSelectionStart,C=this._model.finalSelectionEnd;return!(!x||!C)&&(x[0]!==C[0]||x[1]!==C[1])},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"selectionText",{get:function(){var x=this._model.finalSelectionStart,C=this._model.finalSelectionEnd;if(!x||!C)return"";var T=this._bufferService.buffer,_=[];if(this._activeSelectionMode===3){if(x[0]===C[0])return"";for(var E=x[1];E<=C[1];E++){var I=T.translateBufferLineToString(E,!0,x[0],C[0]);_.push(I)}}else{var L=x[1]===C[1]?C[0]:void 0;for(_.push(T.translateBufferLineToString(x[1],!0,x[0],L)),E=x[1]+1;E<=C[1]-1;E++){var D=T.lines.get(E);I=T.translateBufferLineToString(E,!0),D&&D.isWrapped?_[_.length-1]+=I:_.push(I)}x[1]!==C[1]&&(D=T.lines.get(C[1]),I=T.translateBufferLineToString(C[1],!0,0,C[0]),D&&D.isWrapped?_[_.length-1]+=I:_.push(I))}return _.map(function(F){return F.replace(h," ")}).join(u.isWindows?`\r
`:`
`)},enumerable:!1,configurable:!0}),S.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},S.prototype.refresh=function(y){var x=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return x._refresh()})),u.isLinux&&y)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},S.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},S.prototype.isClickInSelection=function(y){var x=this._getMouseBufferCoords(y),C=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!!(C&&T&&x)&&this._areCoordsInSelection(x,C,T)},S.prototype._areCoordsInSelection=function(y,x,C){return y[1]>x[1]&&y[1]<C[1]||x[1]===C[1]&&y[1]===x[1]&&y[0]>=x[0]&&y[0]<C[0]||x[1]<C[1]&&y[1]===C[1]&&y[0]<C[0]||x[1]<C[1]&&y[1]===x[1]&&y[0]>=x[0]},S.prototype.selectWordAtCursor=function(y){var x=this._getMouseBufferCoords(y);x&&(this._selectWordAt(x,!1),this._model.selectionEnd=void 0,this.refresh(!0))},S.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},S.prototype.selectLines=function(y,x){this._model.clearSelection(),y=Math.max(y,0),x=Math.min(x,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,y],this._model.selectionEnd=[this._bufferService.cols,x],this.refresh(),this._onSelectionChange.fire()},S.prototype._onTrim=function(y){this._model.onTrim(y)&&this.refresh()},S.prototype._getMouseBufferCoords=function(y){var x=this._mouseService.getCoords(y,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(x)return x[0]--,x[1]--,x[1]+=this._bufferService.buffer.ydisp,x},S.prototype._getMouseEventScrollAmount=function(y){var x=s.getCoordsRelativeToElement(y,this._screenElement)[1],C=this._renderService.dimensions.canvasHeight;return x>=0&&x<=C?0:(x>C&&(x-=C),x=Math.min(Math.max(x,-50),50),(x/=50)/Math.abs(x)+Math.round(14*x))},S.prototype.shouldForceSelection=function(y){return u.isMac?y.altKey&&this._optionsService.options.macOptionClickForcesSelection:y.shiftKey},S.prototype.onMouseDown=function(y){if(this._mouseDownTimeStamp=y.timeStamp,(y.button!==2||!this.hasSelection)&&y.button===0){if(!this._enabled){if(!this.shouldForceSelection(y))return;y.stopPropagation()}y.preventDefault(),this._dragScrollAmount=0,this._enabled&&y.shiftKey?this._onIncrementalClick(y):y.detail===1?this._onSingleClick(y):y.detail===2?this._onDoubleClick(y):y.detail===3&&this._onTripleClick(y),this._addMouseDownListeners(),this.refresh(!0)}},S.prototype._addMouseDownListeners=function(){var y=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return y._dragScroll()},50)},S.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},S.prototype._onIncrementalClick=function(y){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(y))},S.prototype._onSingleClick=function(y){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(y)?3:0,this._model.selectionStart=this._getMouseBufferCoords(y),this._model.selectionStart){this._model.selectionEnd=void 0;var x=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);x&&x.length!==this._model.selectionStart[0]&&x.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},S.prototype._onDoubleClick=function(y){var x=this._getMouseBufferCoords(y);x&&(this._activeSelectionMode=1,this._selectWordAt(x,!0))},S.prototype._onTripleClick=function(y){var x=this._getMouseBufferCoords(y);x&&(this._activeSelectionMode=2,this._selectLineAt(x[1]))},S.prototype.shouldColumnSelect=function(y){return y.altKey&&!(u.isMac&&this._optionsService.options.macOptionClickForcesSelection)},S.prototype._onMouseMove=function(y){if(y.stopImmediatePropagation(),this._model.selectionStart){var x=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(y),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(y),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var C=this._bufferService.buffer;if(this._model.selectionEnd[1]<C.lines.length){var T=C.lines.get(this._model.selectionEnd[1]);T&&T.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}x&&x[0]===this._model.selectionEnd[0]&&x[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},S.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var y=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(y.ydisp+this._bufferService.rows,y.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=y.ydisp),this.refresh()}},S.prototype._onMouseUp=function(y){var x=y.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&x<500&&y.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var C=this._mouseService.getCoords(y,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(C&&C[0]!==void 0&&C[1]!==void 0){var T=t.moveToCellSequence(C[0]-1,C[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(T,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},S.prototype._onBufferActivate=function(y){var x=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=y.activeBuffer.lines.onTrim(function(C){return x._onTrim(C)})},S.prototype._convertViewportColToCharacterIndex=function(y,x){for(var C=x[0],T=0;x[0]>=T;T++){var _=y.loadCell(T,this._workCell).getChars().length;this._workCell.getWidth()===0?C--:_>1&&x[0]!==T&&(C+=_-1)}return C},S.prototype.setSelection=function(y,x,C){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[y,x],this._model.selectionStartLength=C,this.refresh()},S.prototype._getWordAt=function(y,x,C,T){if(C===void 0&&(C=!0),T===void 0&&(T=!0),!(y[0]>=this._bufferService.cols)){var _=this._bufferService.buffer,E=_.lines.get(y[1]);if(E){var I=_.translateBufferLineToString(y[1],!1),L=this._convertViewportColToCharacterIndex(E,y),D=L,F=y[0]-L,N=0,P=0,W=0,R=0;if(I.charAt(L)===" "){for(;L>0&&I.charAt(L-1)===" ";)L--;for(;D<I.length&&I.charAt(D+1)===" ";)D++}else{var j=y[0],H=y[0];E.getWidth(j)===0&&(N++,j--),E.getWidth(H)===2&&(P++,H++);var K=E.getString(H).length;for(K>1&&(R+=K-1,D+=K-1);j>0&&L>0&&!this._isCharWordSeparator(E.loadCell(j-1,this._workCell));){E.loadCell(j-1,this._workCell);var U=this._workCell.getChars().length;this._workCell.getWidth()===0?(N++,j--):U>1&&(W+=U-1,L-=U-1),L--,j--}for(;H<E.length&&D+1<I.length&&!this._isCharWordSeparator(E.loadCell(H+1,this._workCell));){E.loadCell(H+1,this._workCell);var G=this._workCell.getChars().length;this._workCell.getWidth()===2?(P++,H++):G>1&&(R+=G-1,D+=G-1),D++,H++}}D++;var z=L+F-N+W,Y=Math.min(this._bufferService.cols,D-L+N+P-W-R);if(x||I.slice(L,D).trim()!==""){if(C&&z===0&&E.getCodePoint(0)!==32){var q=_.lines.get(y[1]-1);if(q&&E.isWrapped&&q.getCodePoint(this._bufferService.cols-1)!==32){var oe=this._getWordAt([this._bufferService.cols-1,y[1]-1],!1,!0,!1);if(oe){var ie=this._bufferService.cols-oe.start;z-=ie,Y+=ie}}}if(T&&z+Y===this._bufferService.cols&&E.getCodePoint(this._bufferService.cols-1)!==32){var se=_.lines.get(y[1]+1);if(se&&se.isWrapped&&se.getCodePoint(0)!==32){var he=this._getWordAt([0,y[1]+1],!1,!1,!0);he&&(Y+=he.length)}}return{start:z,length:Y}}}}},S.prototype._selectWordAt=function(y,x){var C=this._getWordAt(y,x);if(C){for(;C.start<0;)C.start+=this._bufferService.cols,y[1]--;this._model.selectionStart=[C.start,y[1]],this._model.selectionStartLength=C.length}},S.prototype._selectToWordAt=function(y){var x=this._getWordAt(y,!0);if(x){for(var C=y[1];x.start<0;)x.start+=this._bufferService.cols,C--;if(!this._model.areSelectionValuesReversed())for(;x.start+x.length>this._bufferService.cols;)x.length-=this._bufferService.cols,C++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?x.start:x.start+x.length,C]}},S.prototype._isCharWordSeparator=function(y){return y.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(y.getChars())>=0},S.prototype._selectLineAt=function(y){var x=this._bufferService.buffer.getWrappedRangeForLine(y);this._model.selectionStart=[0,x.first],this._model.selectionEnd=[this._bufferService.cols,x.last],this._model.selectionStartLength=0},S=f([l(2,r.IBufferService),l(3,r.ICoreService),l(4,i.IMouseService),l(5,r.IOptionsService),l(6,i.IRenderService)],S)}(a.Disposable);A.SelectionService=p},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.SelectionModel=void 0;var g=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 l=this.selectionStart[0]+this.selectionStartLength;return l>this._bufferService.cols?[l%this._bufferService.cols,this.selectionStart[1]+Math.floor(l/this._bufferService.cols)]:[l,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,l=this.selectionEnd;return!(!f||!l)&&(f[1]>l[1]||f[1]===l[1]&&f[0]>l[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}();A.SelectionModel=g},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.moveToCellSequence=void 0;var g=b(12);function v(n,i,r,s){var t=n-f(r,n),a=i-f(r,i);return e(Math.abs(t-a)-function(c,h,p){for(var m=0,S=c-f(p,c),y=h-f(p,h),x=0;x<Math.abs(S-y);x++){var C=l(c,h)==="A"?-1:1,T=p.buffer.lines.get(S+C*x);T&&T.isWrapped&&m++}return m}(n,i,r),o(l(n,i),s))}function f(n,i){for(var r=0,s=n.buffer.lines.get(i),t=s&&s.isWrapped;t&&i>=0&&i<n.rows;)r++,t=(s=n.buffer.lines.get(--i))&&s.isWrapped;return r}function l(n,i){return n>i?"A":"B"}function u(n,i,r,s,t,a){for(var c=n,h=i,p="";c!==r||h!==s;)c+=t?1:-1,t&&c>a.cols-1?(p+=a.buffer.translateBufferLineToString(h,!1,n,c),c=0,n=0,h++):!t&&c<0&&(p+=a.buffer.translateBufferLineToString(h,!1,0,n+1),n=c=a.cols-1,h--);return p+a.buffer.translateBufferLineToString(h,!1,n,c)}function o(n,i){var r=i?"O":"[";return g.C0.ESC+r+n}function e(n,i){n=Math.floor(n);for(var r="",s=0;s<n;s++)r+=i;return r}A.moveToCellSequence=function(n,i,r,s){var t,a=r.buffer.x,c=r.buffer.y;if(!r.buffer.hasScrollback)return function(p,m,S,y,x,C){return v(m,y,x,C).length===0?"":e(u(p,m,p,m-f(x,m),!1,x).length,o("D",C))}(a,c,0,i,r,s)+v(c,i,r,s)+function(p,m,S,y,x,C){var T;T=v(m,y,x,C).length>0?y-f(x,y):m;var _=y,E=function(I,L,D,F,N,P){var W;return W=v(D,F,N,P).length>0?F-f(N,F):L,I<D&&W<=F||I>=D&&W<F?"C":"D"}(p,m,S,y,x,C);return e(u(p,T,S,_,E==="C",x).length,o(E,C))}(a,c,n,i,r,s);if(c===i)return t=a>n?"D":"C",e(Math.abs(a-n),o(t,s));t=c>i?"D":"C";var h=Math.abs(c-i);return e(function(p,m){return m.cols-p}(c>i?n:a,r)+(h-1)*r.cols+1+((c>i?a:n)-1),o(t,s))}},function(w,A,b){"use strict";var g=this&&this.__decorate||function(u,o,e,n){var i,r=arguments.length,s=r<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,e):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(u,o,e,n);else for(var t=u.length-1;t>=0;t--)(i=u[t])&&(s=(r<3?i(s):r>3?i(o,e,s):i(o,e))||s);return r>3&&s&&Object.defineProperty(o,e,s),s},v=this&&this.__param||function(u,o){return function(e,n){o(e,n,u)}};Object.defineProperty(A,"__esModule",{value:!0}),A.SoundService=void 0;var f=b(1),l=function(){function u(o){this._optionsService=o}return Object.defineProperty(u,"audioContext",{get:function(){if(!u._audioContext){var e=window.AudioContext||window.webkitAudioContext;if(!e)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;u._audioContext=new e}return u._audioContext},enumerable:!1,configurable:!0}),u.prototype.playBellSound=function(){var o=u.audioContext;if(o){var e=o.createBufferSource();o.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(n){e.buffer=n,e.connect(o.destination),e.start(0)})}},u.prototype._base64ToArrayBuffer=function(o){for(var e=window.atob(o),n=e.length,i=new Uint8Array(n),r=0;r<n;r++)i[r]=e.charCodeAt(r);return i.buffer},u.prototype._removeMimeType=function(o){return o.split(",")[1]},u=g([v(0,f.IOptionsService)],u)}();A.SoundService=l},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(s,t){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(s,t)},function(r,s){function t(){this.constructor=r}g(r,s),r.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)}),f=this&&this.__decorate||function(r,s,t,a){var c,h=arguments.length,p=h<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(r,s,t,a);else for(var m=r.length-1;m>=0;m--)(c=r[m])&&(p=(h<3?c(p):h>3?c(s,t,p):c(s,t))||p);return h>3&&p&&Object.defineProperty(s,t,p),p},l=this&&this.__param||function(r,s){return function(t,a){s(t,a,r)}};Object.defineProperty(A,"__esModule",{value:!0}),A.MouseZoneManager=void 0;var u=b(2),o=b(7),e=b(5),n=b(1),i=function(r){function s(t,a,c,h,p,m){var S=r.call(this)||this;return S._element=t,S._screenElement=a,S._bufferService=c,S._mouseService=h,S._selectionService=p,S._optionsService=m,S._zones=[],S._areZonesActive=!1,S._lastHoverCoords=[void 0,void 0],S._initialSelectionLength=0,S.register(o.addDisposableDomListener(S._element,"mousedown",function(y){return S._onMouseDown(y)})),S._mouseMoveListener=function(y){return S._onMouseMove(y)},S._mouseLeaveListener=function(y){return S._onMouseLeave(y)},S._clickListener=function(y){return S._onClick(y)},S}return v(s,r),s.prototype.dispose=function(){r.prototype.dispose.call(this),this._deactivate()},s.prototype.add=function(t){this._zones.push(t),this._zones.length===1&&this._activate()},s.prototype.clearAll=function(t,a){if(this._zones.length!==0){t&&a||(t=0,a=this._bufferService.rows-1);for(var c=0;c<this._zones.length;c++){var h=this._zones[c];(h.y1>t&&h.y1<=a+1||h.y2>t&&h.y2<=a+1||h.y1<t&&h.y2>a+1)&&(this._currentZone&&this._currentZone===h&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(c--,1))}this._zones.length===0&&this._deactivate()}},s.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))},s.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))},s.prototype._onMouseMove=function(t){this._lastHoverCoords[0]===t.pageX&&this._lastHoverCoords[1]===t.pageY||(this._onHover(t),this._lastHoverCoords=[t.pageX,t.pageY])},s.prototype._onHover=function(t){var a=this,c=this._findZoneEventAt(t);c!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),c&&(this._currentZone=c,c.hoverCallback&&c.hoverCallback(t),this._tooltipTimeout=window.setTimeout(function(){return a._onTooltip(t)},this._optionsService.options.linkTooltipHoverDuration)))},s.prototype._onTooltip=function(t){this._tooltipTimeout=void 0;var a=this._findZoneEventAt(t);a&&a.tooltipCallback&&a.tooltipCallback(t)},s.prototype._onMouseDown=function(t){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var a=this._findZoneEventAt(t);(a==null?void 0:a.willLinkActivate(t))&&(t.preventDefault(),t.stopImmediatePropagation())}},s.prototype._onMouseLeave=function(t){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},s.prototype._onClick=function(t){var a=this._findZoneEventAt(t),c=this._getSelectionLength();a&&c===this._initialSelectionLength&&(a.clickCallback(t),t.preventDefault(),t.stopImmediatePropagation())},s.prototype._getSelectionLength=function(){var t=this._selectionService.selectionText;return t?t.length:0},s.prototype._findZoneEventAt=function(t){var a=this._mouseService.getCoords(t,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(a)for(var c=a[0],h=a[1],p=0;p<this._zones.length;p++){var m=this._zones[p];if(m.y1===m.y2){if(h===m.y1&&c>=m.x1&&c<m.x2)return m}else if(h===m.y1&&c>=m.x1||h===m.y2&&c<m.x2||h>m.y1&&h<m.y2)return m}},s=f([l(2,n.IBufferService),l(3,e.IMouseService),l(4,e.ISelectionService),l(5,n.IOptionsService)],s)}(u.Disposable);A.MouseZoneManager=i},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(t,a){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var p in h)h.hasOwnProperty(p)&&(c[p]=h[p])})(t,a)},function(s,t){function a(){this.constructor=s}g(s,t),s.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)});Object.defineProperty(A,"__esModule",{value:!0}),A.AccessibilityManager=void 0;var f=b(18),l=b(11),u=b(31),o=b(7),e=b(2),n=b(32),i=b(17),r=function(s){function t(a,c){var h=s.call(this)||this;h._terminal=a,h._renderService=c,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 p=0;p<h._terminal.rows;p++)h._rowElements[p]=h._createAccessibilityTreeNode(),h._rowContainer.appendChild(h._rowElements[p]);if(h._topBoundaryFocusListener=function(m){return h._onBoundaryFocus(m,0)},h._bottomBoundaryFocusListener=function(m){return h._onBoundaryFocus(m,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 u.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(m){return h._onResize(m.rows)})),h.register(h._terminal.onRender(function(m){return h._refreshRows(m.start,m.end)})),h.register(h._terminal.onScroll(function(){return h._refreshRows()})),h.register(h._terminal.onA11yChar(function(m){return h._onChar(m)})),h.register(h._terminal.onLineFeed(function(){return h._onChar(`
`)})),h.register(h._terminal.onA11yTab(function(m){return h._onTab(m)})),h.register(h._terminal.onKey(function(m){return h._onKey(m.key)})),h.register(h._terminal.onBlur(function(){return h._clearLiveRegion()})),h.register(h._renderService.onDimensionsChange(function(){return h._refreshRowsDimensions()})),h._screenDprMonitor=new n.ScreenDprMonitor,h.register(h._screenDprMonitor),h._screenDprMonitor.setListener(function(){return h._refreshRowsDimensions()}),h.register(o.addDisposableDomListener(window,"resize",function(){return h._refreshRowsDimensions()})),h}return v(t,s),t.prototype.dispose=function(){s.prototype.dispose.call(this),i.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(a,c){var h=a.target,p=this._rowElements[c===0?1:this._rowElements.length-2];if(h.getAttribute("aria-posinset")!==(c===0?"1":""+this._terminal.buffer.lines.length)&&a.relatedTarget===p){var m,S;if(c===0?(m=h,S=this._rowElements.pop(),this._rowContainer.removeChild(S)):(m=this._rowElements.shift(),S=h,this._rowContainer.removeChild(m)),m.removeEventListener("focus",this._topBoundaryFocusListener),S.removeEventListener("focus",this._bottomBoundaryFocusListener),c===0){var y=this._createAccessibilityTreeNode();this._rowElements.unshift(y),this._rowContainer.insertAdjacentElement("afterbegin",y)}else y=this._createAccessibilityTreeNode(),this._rowElements.push(y),this._rowContainer.appendChild(y);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(c===0?-1:1),this._rowElements[c===0?1:this._rowElements.length-2].focus(),a.preventDefault(),a.stopImmediatePropagation()}},t.prototype._onResize=function(a){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var c=this._rowContainer.children.length;c<this._terminal.rows;c++)this._rowElements[c]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[c]);for(;this._rowElements.length>a;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var a=document.createElement("div");return a.setAttribute("role","listitem"),a.tabIndex=-1,this._refreshRowDimensions(a),a},t.prototype._onTab=function(a){for(var c=0;c<a;c++)this._onChar(" ")},t.prototype._onChar=function(a){var c=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==a&&(this._charsToAnnounce+=a):this._charsToAnnounce+=a,a===`
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=f.tooMuchOutput)),l.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){c._accessibilityTreeRoot.appendChild(c._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,l.isMac&&i.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(a){this._clearLiveRegion(),this._charsToConsume.push(a)},t.prototype._refreshRows=function(a,c){this._renderRowsDebouncer.refresh(a,c,this._terminal.rows)},t.prototype._renderRows=function(a,c){for(var h=this._terminal.buffer,p=h.lines.length.toString(),m=a;m<=c;m++){var S=h.translateBufferLineToString(h.ydisp+m,!0),y=(h.ydisp+m+1).toString(),x=this._rowElements[m];x&&(S.length===0?x.innerHTML="&nbsp;":x.textContent=S,x.setAttribute("aria-posinset",y),x.setAttribute("aria-setsize",p))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var a=0;a<this._terminal.rows;a++)this._refreshRowDimensions(this._rowElements[a])}},t.prototype._refreshRowDimensions=function(a){a.style.height=this._renderService.dimensions.actualCellHeight+"px"},t.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},t}(e.Disposable);A.AccessibilityManager=r},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(p,m){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,y){S.__proto__=y}||function(S,y){for(var x in y)y.hasOwnProperty(x)&&(S[x]=y[x])})(p,m)},function(h,p){function m(){this.constructor=h}g(h,p),h.prototype=p===null?Object.create(p):(m.prototype=p.prototype,new m)}),f=this&&this.__decorate||function(h,p,m,S){var y,x=arguments.length,C=x<3?p:S===null?S=Object.getOwnPropertyDescriptor(p,m):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")C=Reflect.decorate(h,p,m,S);else for(var T=h.length-1;T>=0;T--)(y=h[T])&&(C=(x<3?y(C):x>3?y(p,m,C):y(p,m))||C);return x>3&&C&&Object.defineProperty(p,m,C),C},l=this&&this.__param||function(h,p){return function(m,S){p(m,S,h)}};Object.defineProperty(A,"__esModule",{value:!0}),A.DomRenderer=void 0;var u=b(58),o=b(9),e=b(2),n=b(5),i=b(1),r=b(0),s=b(10),t=b(17),a=1,c=function(h){function p(m,S,y,x,C,T,_,E,I){var L=h.call(this)||this;return L._colors=m,L._element=S,L._screenElement=y,L._viewportElement=x,L._linkifier=C,L._linkifier2=T,L._charSizeService=_,L._optionsService=E,L._bufferService=I,L._terminalClass=a++,L._rowElements=[],L._rowContainer=document.createElement("div"),L._rowContainer.classList.add("xterm-rows"),L._rowContainer.style.lineHeight="normal",L._rowContainer.setAttribute("aria-hidden","true"),L._refreshRowElements(L._bufferService.cols,L._bufferService.rows),L._selectionContainer=document.createElement("div"),L._selectionContainer.classList.add("xterm-selection"),L._selectionContainer.setAttribute("aria-hidden","true"),L.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},L._updateDimensions(),L._injectCss(),L._rowFactory=new u.DomRendererRowFactory(document,L._optionsService,L._colors),L._element.classList.add("xterm-dom-renderer-owner-"+L._terminalClass),L._screenElement.appendChild(L._rowContainer),L._screenElement.appendChild(L._selectionContainer),L._linkifier.onShowLinkUnderline(function(D){return L._onLinkHover(D)}),L._linkifier.onHideLinkUnderline(function(D){return L._onLinkLeave(D)}),L._linkifier2.onShowLinkUnderline(function(D){return L._onLinkHover(D)}),L._linkifier2.onHideLinkUnderline(function(D){return L._onLinkLeave(D)}),L}return v(p,h),Object.defineProperty(p.prototype,"onRequestRedraw",{get:function(){return new r.EventEmitter().event},enumerable:!1,configurable:!0}),p.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),t.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),h.prototype.dispose.call(this)},p.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var m=0,S=this._rowElements;m<S.length;m++){var y=S[m];y.style.width=this.dimensions.canvasWidth+"px",y.style.height=this.dimensions.actualCellHeight+"px",y.style.lineHeight=this.dimensions.actualCellHeight+"px",y.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var x=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=x,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},p.prototype.setColors=function(m){this._colors=m,this._injectCss()},p.prototype._injectCss=function(){var m=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var S=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";S+=this._terminalSelector+" span:not(."+u.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+u.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+u.ITALIC_CLASS+" { font-style: italic;}",S+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",S+="@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+"; }}",S+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+u.CURSOR_CLASS+"."+u.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+u.CURSOR_CLASS+"."+u.CURSOR_BLINK_CLASS+":not(."+u.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+u.CURSOR_CLASS+"."+u.CURSOR_BLINK_CLASS+"."+u.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+u.CURSOR_CLASS+"."+u.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+u.CURSOR_CLASS+"."+u.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+u.CURSOR_CLASS+"."+u.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",S+=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(y,x){S+=m._terminalSelector+" .xterm-fg-"+x+" { color: "+y.css+"; }"+m._terminalSelector+" .xterm-bg-"+x+" { background-color: "+y.css+"; }"}),S+=this._terminalSelector+" .xterm-fg-"+o.INVERTED_DEFAULT_COLOR+" { color: "+s.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+o.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=S},p.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},p.prototype._refreshRowElements=function(m,S){for(var y=this._rowElements.length;y<=S;y++){var x=document.createElement("div");this._rowContainer.appendChild(x),this._rowElements.push(x)}for(;this._rowElements.length>S;)this._rowContainer.removeChild(this._rowElements.pop())},p.prototype.onResize=function(m,S){this._refreshRowElements(m,S),this._updateDimensions()},p.prototype.onCharSizeChanged=function(){this._updateDimensions()},p.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},p.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},p.prototype.onSelectionChanged=function(m,S,y){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(m&&S){var x=m[1]-this._bufferService.buffer.ydisp,C=S[1]-this._bufferService.buffer.ydisp,T=Math.max(x,0),_=Math.min(C,this._bufferService.rows-1);if(!(T>=this._bufferService.rows||_<0)){var E=document.createDocumentFragment();if(y)E.appendChild(this._createSelectionElement(T,m[0],S[0],_-T+1));else{var I=x===T?m[0]:0,L=T===_?S[0]:this._bufferService.cols;E.appendChild(this._createSelectionElement(T,I,L));var D=_-T-1;if(E.appendChild(this._createSelectionElement(T+1,0,this._bufferService.cols,D)),T!==_){var F=C===_?S[0]:this._bufferService.cols;E.appendChild(this._createSelectionElement(_,0,F))}}this._selectionContainer.appendChild(E)}}},p.prototype._createSelectionElement=function(m,S,y,x){x===void 0&&(x=1);var C=document.createElement("div");return C.style.height=x*this.dimensions.actualCellHeight+"px",C.style.top=m*this.dimensions.actualCellHeight+"px",C.style.left=S*this.dimensions.actualCellWidth+"px",C.style.width=this.dimensions.actualCellWidth*(y-S)+"px",C},p.prototype.onCursorMove=function(){},p.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},p.prototype.clear=function(){for(var m=0,S=this._rowElements;m<S.length;m++)S[m].innerHTML=""},p.prototype.renderRows=function(m,S){for(var y=this._bufferService.buffer.ybase+this._bufferService.buffer.y,x=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),C=this._optionsService.options.cursorBlink,T=m;T<=S;T++){var _=this._rowElements[T];_.innerHTML="";var E=T+this._bufferService.buffer.ydisp,I=this._bufferService.buffer.lines.get(E),L=this._optionsService.options.cursorStyle;_.appendChild(this._rowFactory.createRow(I,E===y,L,x,C,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(p.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),p.prototype.registerCharacterJoiner=function(m){return-1},p.prototype.deregisterCharacterJoiner=function(m){return!1},p.prototype._onLinkHover=function(m){this._setCellUnderline(m.x1,m.x2,m.y1,m.y2,m.cols,!0)},p.prototype._onLinkLeave=function(m){this._setCellUnderline(m.x1,m.x2,m.y1,m.y2,m.cols,!1)},p.prototype._setCellUnderline=function(m,S,y,x,C,T){for(;m!==S||y!==x;){var _=this._rowElements[y];if(!_)return;var E=_.children[m];E&&(E.style.textDecoration=T?"underline":"none"),++m>=C&&(m=0,y++)}},p=f([l(6,n.ICharSizeService),l(7,i.IOptionsService),l(8,i.IBufferService)],p)}(e.Disposable);A.DomRenderer=c},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.DomRendererRowFactory=A.CURSOR_STYLE_UNDERLINE_CLASS=A.CURSOR_STYLE_BAR_CLASS=A.CURSOR_STYLE_BLOCK_CLASS=A.CURSOR_BLINK_CLASS=A.CURSOR_CLASS=A.UNDERLINE_CLASS=A.ITALIC_CLASS=A.DIM_CLASS=A.BOLD_CLASS=void 0;var g=b(9),v=b(3),f=b(4),l=b(10);A.BOLD_CLASS="xterm-bold",A.DIM_CLASS="xterm-dim",A.ITALIC_CLASS="xterm-italic",A.UNDERLINE_CLASS="xterm-underline",A.CURSOR_CLASS="xterm-cursor",A.CURSOR_BLINK_CLASS="xterm-cursor-blink",A.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",A.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",A.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var u=function(){function e(n,i,r){this._document=n,this._optionsService=i,this._colors=r,this._workCell=new f.CellData}return e.prototype.setColors=function(n){this._colors=n},e.prototype.createRow=function(n,i,r,s,t,a,c){for(var h=this._document.createDocumentFragment(),p=0,m=Math.min(n.length,c)-1;m>=0;m--)if(n.loadCell(m,this._workCell).getCode()!==v.NULL_CELL_CODE||i&&m===s){p=m+1;break}for(m=0;m<p;m++){n.loadCell(m,this._workCell);var S=this._workCell.getWidth();if(S!==0){var y=this._document.createElement("span");if(S>1&&(y.style.width=a*S+"px"),i&&m===s)switch(y.classList.add(A.CURSOR_CLASS),t&&y.classList.add(A.CURSOR_BLINK_CLASS),r){case"bar":y.classList.add(A.CURSOR_STYLE_BAR_CLASS);break;case"underline":y.classList.add(A.CURSOR_STYLE_UNDERLINE_CLASS);break;default:y.classList.add(A.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&y.classList.add(A.BOLD_CLASS),this._workCell.isItalic()&&y.classList.add(A.ITALIC_CLASS),this._workCell.isDim()&&y.classList.add(A.DIM_CLASS),this._workCell.isUnderline()&&y.classList.add(A.UNDERLINE_CLASS),this._workCell.isInvisible()?y.textContent=v.WHITESPACE_CELL_CHAR:y.textContent=this._workCell.getChars()||v.WHITESPACE_CELL_CHAR;var x=this._workCell.getFgColor(),C=this._workCell.getFgColorMode(),T=this._workCell.getBgColor(),_=this._workCell.getBgColorMode(),E=!!this._workCell.isInverse();if(E){var I=x;x=T,T=I;var L=C;C=_,_=L}switch(C){case 16777216:case 33554432:this._workCell.isBold()&&x<8&&this._optionsService.options.drawBoldTextInBrightColors&&(x+=8),this._applyMinimumContrast(y,this._colors.background,this._colors.ansi[x])||y.classList.add("xterm-fg-"+x);break;case 50331648:var D=l.rgba.toColor(x>>16&255,x>>8&255,255&x);this._applyMinimumContrast(y,this._colors.background,D)||this._addStyle(y,"color:#"+o(x.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(y,this._colors.background,this._colors.foreground)||E&&y.classList.add("xterm-fg-"+g.INVERTED_DEFAULT_COLOR)}switch(_){case 16777216:case 33554432:y.classList.add("xterm-bg-"+T);break;case 50331648:this._addStyle(y,"background-color:#"+o(T.toString(16),"0",6));break;case 0:default:E&&y.classList.add("xterm-bg-"+g.INVERTED_DEFAULT_COLOR)}h.appendChild(y)}}return h},e.prototype._applyMinimumContrast=function(n,i,r){if(this._optionsService.options.minimumContrastRatio===1)return!1;var s=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return s===void 0&&(s=l.color.ensureContrastRatio(i,r,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,s!=null?s:null)),!!s&&(this._addStyle(n,"color:"+s.css),!0)},e.prototype._addStyle=function(n,i){n.setAttribute("style",""+(n.getAttribute("style")||"")+i+";")},e}();function o(e,n,i){for(;e.length<i;)e=n+e;return e}A.DomRendererRowFactory=u},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.evaluateKeyboardEvent=void 0;var g=b(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:["'",'"']};A.evaluateKeyboardEvent=function(f,l,u,o){var e={type:0,cancel:!1,key:void 0},n=(f.shiftKey?1:0)|(f.altKey?2:0)|(f.ctrlKey?4:0)|(f.metaKey?8:0);switch(f.keyCode){case 0:f.key==="UIKeyInputUpArrow"?e.key=l?g.C0.ESC+"OA":g.C0.ESC+"[A":f.key==="UIKeyInputLeftArrow"?e.key=l?g.C0.ESC+"OD":g.C0.ESC+"[D":f.key==="UIKeyInputRightArrow"?e.key=l?g.C0.ESC+"OC":g.C0.ESC+"[C":f.key==="UIKeyInputDownArrow"&&(e.key=l?g.C0.ESC+"OB":g.C0.ESC+"[B");break;case 8:if(f.shiftKey){e.key=g.C0.BS;break}if(f.altKey){e.key=g.C0.ESC+g.C0.DEL;break}e.key=g.C0.DEL;break;case 9:if(f.shiftKey){e.key=g.C0.ESC+"[Z";break}e.key=g.C0.HT,e.cancel=!0;break;case 13:e.key=f.altKey?g.C0.ESC+g.C0.CR:g.C0.CR,e.cancel=!0;break;case 27:e.key=g.C0.ESC,f.altKey&&(e.key=g.C0.ESC+g.C0.ESC),e.cancel=!0;break;case 37:if(f.metaKey)break;n?(e.key=g.C0.ESC+"[1;"+(n+1)+"D",e.key===g.C0.ESC+"[1;3D"&&(e.key=g.C0.ESC+(u?"b":"[1;5D"))):e.key=l?g.C0.ESC+"OD":g.C0.ESC+"[D";break;case 39:if(f.metaKey)break;n?(e.key=g.C0.ESC+"[1;"+(n+1)+"C",e.key===g.C0.ESC+"[1;3C"&&(e.key=g.C0.ESC+(u?"f":"[1;5C"))):e.key=l?g.C0.ESC+"OC":g.C0.ESC+"[C";break;case 38:if(f.metaKey)break;n?(e.key=g.C0.ESC+"[1;"+(n+1)+"A",u||e.key!==g.C0.ESC+"[1;3A"||(e.key=g.C0.ESC+"[1;5A")):e.key=l?g.C0.ESC+"OA":g.C0.ESC+"[A";break;case 40:if(f.metaKey)break;n?(e.key=g.C0.ESC+"[1;"+(n+1)+"B",u||e.key!==g.C0.ESC+"[1;3B"||(e.key=g.C0.ESC+"[1;5B")):e.key=l?g.C0.ESC+"OB":g.C0.ESC+"[B";break;case 45:f.shiftKey||f.ctrlKey||(e.key=g.C0.ESC+"[2~");break;case 46:e.key=n?g.C0.ESC+"[3;"+(n+1)+"~":g.C0.ESC+"[3~";break;case 36:e.key=n?g.C0.ESC+"[1;"+(n+1)+"H":l?g.C0.ESC+"OH":g.C0.ESC+"[H";break;case 35:e.key=n?g.C0.ESC+"[1;"+(n+1)+"F":l?g.C0.ESC+"OF":g.C0.ESC+"[F";break;case 33:f.shiftKey?e.type=2:e.key=g.C0.ESC+"[5~";break;case 34:f.shiftKey?e.type=3:e.key=g.C0.ESC+"[6~";break;case 112:e.key=n?g.C0.ESC+"[1;"+(n+1)+"P":g.C0.ESC+"OP";break;case 113:e.key=n?g.C0.ESC+"[1;"+(n+1)+"Q":g.C0.ESC+"OQ";break;case 114:e.key=n?g.C0.ESC+"[1;"+(n+1)+"R":g.C0.ESC+"OR";break;case 115:e.key=n?g.C0.ESC+"[1;"+(n+1)+"S":g.C0.ESC+"OS";break;case 116:e.key=n?g.C0.ESC+"[15;"+(n+1)+"~":g.C0.ESC+"[15~";break;case 117:e.key=n?g.C0.ESC+"[17;"+(n+1)+"~":g.C0.ESC+"[17~";break;case 118:e.key=n?g.C0.ESC+"[18;"+(n+1)+"~":g.C0.ESC+"[18~";break;case 119:e.key=n?g.C0.ESC+"[19;"+(n+1)+"~":g.C0.ESC+"[19~";break;case 120:e.key=n?g.C0.ESC+"[20;"+(n+1)+"~":g.C0.ESC+"[20~";break;case 121:e.key=n?g.C0.ESC+"[21;"+(n+1)+"~":g.C0.ESC+"[21~";break;case 122:e.key=n?g.C0.ESC+"[23;"+(n+1)+"~":g.C0.ESC+"[23~";break;case 123:e.key=n?g.C0.ESC+"[24;"+(n+1)+"~":g.C0.ESC+"[24~";break;default:if(!f.ctrlKey||f.shiftKey||f.altKey||f.metaKey)if(u&&!o||!f.altKey||f.metaKey)u&&!f.altKey&&!f.ctrlKey&&f.metaKey?f.keyCode===65&&(e.type=1):f.key&&!f.ctrlKey&&!f.altKey&&!f.metaKey&&f.keyCode>=48&&f.key.length===1?e.key=f.key:f.key&&f.ctrlKey&&f.key==="_"&&(e.key=g.C0.US);else{var i=v[f.keyCode],r=i&&i[f.shiftKey?1:0];if(r)e.key=g.C0.ESC+r;else if(f.keyCode>=65&&f.keyCode<=90){var s=f.ctrlKey?f.keyCode-64:f.keyCode+32;e.key=g.C0.ESC+String.fromCharCode(s)}}else f.keyCode>=65&&f.keyCode<=90?e.key=String.fromCharCode(f.keyCode-64):f.keyCode===32?e.key=g.C0.NUL:f.keyCode>=51&&f.keyCode<=55?e.key=String.fromCharCode(f.keyCode-51+27):f.keyCode===56?e.key=g.C0.DEL:f.keyCode===219?e.key=g.C0.ESC:f.keyCode===220?e.key=g.C0.FS:f.keyCode===221&&(e.key=g.C0.GS)}return e}},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(c,h){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,m){p.__proto__=m}||function(p,m){for(var S in m)m.hasOwnProperty(S)&&(p[S]=m[S])})(c,h)},function(a,c){function h(){this.constructor=a}g(a,c),a.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}),f=this&&this.__decorate||function(a,c,h,p){var m,S=arguments.length,y=S<3?c:p===null?p=Object.getOwnPropertyDescriptor(c,h):p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(a,c,h,p);else for(var x=a.length-1;x>=0;x--)(m=a[x])&&(y=(S<3?m(y):S>3?m(c,h,y):m(c,h))||y);return S>3&&y&&Object.defineProperty(c,h,y),y},l=this&&this.__param||function(a,c){return function(h,p){c(h,p,a)}};Object.defineProperty(A,"__esModule",{value:!0}),A.RenderService=void 0;var u=b(31),o=b(0),e=b(2),n=b(32),i=b(7),r=b(1),s=b(5),t=function(a){function c(h,p,m,S,y,x){var C=a.call(this)||this;if(C._renderer=h,C._rowCount=p,C._isPaused=!1,C._needsFullRefresh=!1,C._isNextRenderRedrawOnly=!0,C._needsSelectionRefresh=!1,C._canvasWidth=0,C._canvasHeight=0,C._selectionState={start:void 0,end:void 0,columnSelectMode:!1},C._onDimensionsChange=new o.EventEmitter,C._onRender=new o.EventEmitter,C._onRefreshRequest=new o.EventEmitter,C.register({dispose:function(){return C._renderer.dispose()}}),C._renderDebouncer=new u.RenderDebouncer(function(_,E){return C._renderRows(_,E)}),C.register(C._renderDebouncer),C._screenDprMonitor=new n.ScreenDprMonitor,C._screenDprMonitor.setListener(function(){return C.onDevicePixelRatioChange()}),C.register(C._screenDprMonitor),C.register(x.onResize(function(_){return C._fullRefresh()})),C.register(S.onOptionChange(function(){return C._renderer.onOptionsChanged()})),C.register(y.onCharSizeChange(function(){return C.onCharSizeChanged()})),C._renderer.onRequestRedraw(function(_){return C.refreshRows(_.start,_.end,!0)}),C.register(i.addDisposableDomListener(window,"resize",function(){return C.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var T=new IntersectionObserver(function(_){return C._onIntersectionChange(_[_.length-1])},{threshold:0});T.observe(m),C.register({dispose:function(){return T.disconnect()}})}return C}return v(c,a),Object.defineProperty(c.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),c.prototype._onIntersectionChange=function(h){this._isPaused=h.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},c.prototype.refreshRows=function(h,p,m){m===void 0&&(m=!1),this._isPaused?this._needsFullRefresh=!0:(m||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(h,p,this._rowCount))},c.prototype._renderRows=function(h,p){this._renderer.renderRows(h,p),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:p}),this._isNextRenderRedrawOnly=!0},c.prototype.resize=function(h,p){this._rowCount=p,this._fireOnCanvasResize()},c.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},c.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},c.prototype.dispose=function(){a.prototype.dispose.call(this)},c.prototype.setRenderer=function(h){var p=this;this._renderer.dispose(),this._renderer=h,this._renderer.onRequestRedraw(function(m){return p.refreshRows(m.start,m.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},c.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},c.prototype.setColors=function(h){this._renderer.setColors(h),this._fullRefresh()},c.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},c.prototype.onResize=function(h,p){this._renderer.onResize(h,p),this._fullRefresh()},c.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},c.prototype.onBlur=function(){this._renderer.onBlur()},c.prototype.onFocus=function(){this._renderer.onFocus()},c.prototype.onSelectionChanged=function(h,p,m){this._selectionState.start=h,this._selectionState.end=p,this._selectionState.columnSelectMode=m,this._renderer.onSelectionChanged(h,p,m)},c.prototype.onCursorMove=function(){this._renderer.onCursorMove()},c.prototype.clear=function(){this._renderer.clear()},c.prototype.registerCharacterJoiner=function(h){return this._renderer.registerCharacterJoiner(h)},c.prototype.deregisterCharacterJoiner=function(h){return this._renderer.deregisterCharacterJoiner(h)},c=f([l(3,r.IOptionsService),l(4,s.ICharSizeService),l(5,r.IBufferService)],c)}(e.Disposable);A.RenderService=t},function(w,A,b){"use strict";var g=this&&this.__decorate||function(e,n,i,r){var s,t=arguments.length,a=t<3?n:r===null?r=Object.getOwnPropertyDescriptor(n,i):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,n,i,r);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(t<3?s(a):t>3?s(n,i,a):s(n,i))||a);return t>3&&a&&Object.defineProperty(n,i,a),a},v=this&&this.__param||function(e,n){return function(i,r){n(i,r,e)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CharSizeService=void 0;var f=b(1),l=b(0),u=function(){function e(n,i,r){this._optionsService=r,this.width=0,this.height=0,this._onCharSizeChange=new l.EventEmitter,this._measureStrategy=new o(n,i,this._optionsService)}return Object.defineProperty(e.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),e.prototype.measure=function(){var n=this._measureStrategy.measure();n.width===this.width&&n.height===this.height||(this.width=n.width,this.height=n.height,this._onCharSizeChange.fire())},e=g([v(2,f.IOptionsService)],e)}();A.CharSizeService=u;var o=function(){function e(n,i,r){this._document=n,this._parentElement=i,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 e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var n=this._measureElement.getBoundingClientRect();return n.width!==0&&n.height!==0&&(this._result.width=n.width,this._result.height=Math.ceil(n.height)),this._result},e}()},function(w,A,b){"use strict";var g=this&&this.__decorate||function(o,e,n,i){var r,s=arguments.length,t=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(o,e,n,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(t=(s<3?r(t):s>3?r(e,n,t):r(e,n))||t);return s>3&&t&&Object.defineProperty(e,n,t),t},v=this&&this.__param||function(o,e){return function(n,i){e(n,i,o)}};Object.defineProperty(A,"__esModule",{value:!0}),A.MouseService=void 0;var f=b(5),l=b(30),u=function(){function o(e,n){this._renderService=e,this._charSizeService=n}return o.prototype.getCoords=function(e,n,i,r,s){return l.getCoords(e,n,i,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,s)},o.prototype.getRawByteCoords=function(e,n,i,r){var s=this.getCoords(e,n,i,r);return l.getRawByteCoords(s)},o=g([v(0,f.IRenderService),v(1,f.ICharSizeService)],o)}();A.MouseService=u},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(s,t){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(s,t)},function(r,s){function t(){this.constructor=r}g(r,s),r.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)}),f=this&&this.__decorate||function(r,s,t,a){var c,h=arguments.length,p=h<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(r,s,t,a);else for(var m=r.length-1;m>=0;m--)(c=r[m])&&(p=(h<3?c(p):h>3?c(s,t,p):c(s,t))||p);return h>3&&p&&Object.defineProperty(s,t,p),p},l=this&&this.__param||function(r,s){return function(t,a){s(t,a,r)}};Object.defineProperty(A,"__esModule",{value:!0}),A.Linkifier2=void 0;var u=b(1),o=b(0),e=b(2),n=b(7),i=function(r){function s(t){var a=r.call(this)||this;return a._bufferService=t,a._linkProviders=[],a._linkCacheDisposables=[],a._isMouseOut=!0,a._activeLine=-1,a._onShowLinkUnderline=a.register(new o.EventEmitter),a._onHideLinkUnderline=a.register(new o.EventEmitter),a.register(e.getDisposeArrayDisposable(a._linkCacheDisposables)),a}return v(s,r),Object.defineProperty(s.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),s.prototype.registerLinkProvider=function(t){var a=this;return this._linkProviders.push(t),{dispose:function(){var h=a._linkProviders.indexOf(t);h!==-1&&a._linkProviders.splice(h,1)}}},s.prototype.attachToDom=function(t,a,c){var h=this;this._element=t,this._mouseService=a,this._renderService=c,this.register(n.addDisposableDomListener(this._element,"mouseleave",function(){h._isMouseOut=!0,h._clearCurrentLink()})),this.register(n.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(n.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},s.prototype._onMouseMove=function(t){if(this._lastMouseEvent=t,this._element&&this._mouseService){var a=this._positionFromMouseEvent(t,this._element,this._mouseService);if(a){this._isMouseOut=!1;for(var c=t.composedPath(),h=0;h<c.length;h++){var p=c[h];if(p.classList.contains("xterm"))break;if(p.classList.contains("xterm-hover"))return}this._lastBufferCell&&a.x===this._lastBufferCell.x&&a.y===this._lastBufferCell.y||(this._onHover(a),this._lastBufferCell=a)}}},s.prototype._onHover=function(t){if(this._activeLine!==t.y)return this._clearCurrentLink(),void this._askForLink(t,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,t)||(this._clearCurrentLink(),this._askForLink(t,!0))},s.prototype._askForLink=function(t,a){var c=this;this._activeProviderReplies&&a||(this._activeProviderReplies=new Map,this._activeLine=t.y);var h=!1;this._linkProviders.forEach(function(p,m){var S;a?((S=c._activeProviderReplies)===null||S===void 0?void 0:S.get(m))&&(h=c._checkLinkProviderResult(m,t,h)):p.provideLinks(t.y,function(y){var x,C;if(!c._isMouseOut){var T=y==null?void 0:y.map(function(_){return{link:_}});(x=c._activeProviderReplies)===null||x===void 0||x.set(m,T),h=c._checkLinkProviderResult(m,t,h),((C=c._activeProviderReplies)===null||C===void 0?void 0:C.size)===c._linkProviders.length&&c._removeIntersectingLinks(t.y,c._activeProviderReplies)}})})},s.prototype._removeIntersectingLinks=function(t,a){for(var c=new Set,h=0;h<a.size;h++){var p=a.get(h);if(p)for(var m=0;m<p.length;m++)for(var S=p[m],y=S.link.range.start.y<t?0:S.link.range.start.x,x=S.link.range.end.y>t?this._bufferService.cols:S.link.range.end.x,C=y;C<=x;C++){if(c.has(C)){p.splice(m--,1);break}c.add(C)}}},s.prototype._checkLinkProviderResult=function(t,a,c){var h,p=this;if(!this._activeProviderReplies)return c;for(var m=this._activeProviderReplies.get(t),S=!1,y=0;y<t;y++)this._activeProviderReplies.has(y)&&!this._activeProviderReplies.get(y)||(S=!0);if(!S&&m){var x=m.find(function(T){return p._linkAtPosition(T.link,a)});x&&(c=!0,this._handleNewLink(x))}if(this._activeProviderReplies.size===this._linkProviders.length&&!c)for(y=0;y<this._activeProviderReplies.size;y++){var C=(h=this._activeProviderReplies.get(y))===null||h===void 0?void 0:h.find(function(T){return p._linkAtPosition(T.link,a)});if(C){c=!0,this._handleNewLink(C);break}}return c},s.prototype._onClick=function(t){if(this._element&&this._mouseService&&this._currentLink){var a=this._positionFromMouseEvent(t,this._element,this._mouseService);a&&this._linkAtPosition(this._currentLink.link,a)&&this._currentLink.link.activate(t,this._currentLink.link.text)}},s.prototype._clearCurrentLink=function(t,a){this._element&&this._currentLink&&this._lastMouseEvent&&(!t||!a||this._currentLink.link.range.start.y>=t&&this._currentLink.link.range.end.y<=a)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,e.disposeArray(this._linkCacheDisposables))},s.prototype._handleNewLink=function(t){var a=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var c=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);c&&this._linkAtPosition(t.link,c)&&(this._currentLink=t,this._currentLink.state={decorations:{underline:t.link.decorations===void 0||t.link.decorations.underline,pointerCursor:t.link.decorations===void 0||t.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,t.link,this._lastMouseEvent),t.link.decorations={},Object.defineProperties(t.link.decorations,{pointerCursor:{get:function(){var p,m;return(m=(p=a._currentLink)===null||p===void 0?void 0:p.state)===null||m===void 0?void 0:m.decorations.pointerCursor},set:function(p){var m,S;((m=a._currentLink)===null||m===void 0?void 0:m.state)&&a._currentLink.state.decorations.pointerCursor!==p&&(a._currentLink.state.decorations.pointerCursor=p,a._currentLink.state.isHovered&&((S=a._element)===null||S===void 0||S.classList.toggle("xterm-cursor-pointer",p)))}},underline:{get:function(){var p,m;return(m=(p=a._currentLink)===null||p===void 0?void 0:p.state)===null||m===void 0?void 0:m.decorations.underline},set:function(p){var m,S,y;((m=a._currentLink)===null||m===void 0?void 0:m.state)&&((y=(S=a._currentLink)===null||S===void 0?void 0:S.state)===null||y===void 0?void 0:y.decorations.underline)!==p&&(a._currentLink.state.decorations.underline=p,a._currentLink.state.isHovered&&a._fireUnderlineEvent(t.link,p))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(h){var p=h.start===0?0:h.start+1+a._bufferService.buffer.ydisp;a._clearCurrentLink(p,h.end+1+a._bufferService.buffer.ydisp)})))}},s.prototype._linkHover=function(t,a,c){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(a,!0),this._currentLink.state.decorations.pointerCursor&&t.classList.add("xterm-cursor-pointer")),a.hover&&a.hover(c,a.text)},s.prototype._fireUnderlineEvent=function(t,a){var c=t.range,h=this._bufferService.buffer.ydisp,p=this._createLinkUnderlineEvent(c.start.x-1,c.start.y-h-1,c.end.x,c.end.y-h-1,void 0);(a?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(p)},s.prototype._linkLeave=function(t,a,c){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(a,!1),this._currentLink.state.decorations.pointerCursor&&t.classList.remove("xterm-cursor-pointer")),a.leave&&a.leave(c,a.text)},s.prototype._linkAtPosition=function(t,a){var c=t.range.start.y===t.range.end.y,h=t.range.start.y<a.y,p=t.range.end.y>a.y;return(c&&t.range.start.x<=a.x&&t.range.end.x>=a.x||h&&t.range.end.x>=a.x||p&&t.range.start.x<=a.x||h&&p)&&t.range.start.y<=a.y&&t.range.end.y>=a.y},s.prototype._positionFromMouseEvent=function(t,a,c){var h=c.getCoords(t,a,this._bufferService.cols,this._bufferService.rows);if(h)return{x:h[0],y:h[1]+this._bufferService.buffer.ydisp}},s.prototype._createLinkUnderlineEvent=function(t,a,c,h,p){return{x1:t,y1:a,x2:c,y2:h,cols:this._bufferService.cols,fg:p}},s=f([l(0,u.IBufferService)],s)}(e.Disposable);A.Linkifier2=i},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CoreBrowserService=void 0;var g=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}();A.CoreBrowserService=g},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(x,C){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,_){T.__proto__=_}||function(T,_){for(var E in _)_.hasOwnProperty(E)&&(T[E]=_[E])})(x,C)},function(y,x){function C(){this.constructor=y}g(y,x),y.prototype=x===null?Object.create(x):(C.prototype=x.prototype,new C)});Object.defineProperty(A,"__esModule",{value:!0}),A.CoreTerminal=void 0;var f=b(2),l=b(1),u=b(66),o=b(67),e=b(68),n=b(74),i=b(75),r=b(0),s=b(76),t=b(77),a=b(78),c=b(80),h=b(81),p=b(19),m=b(82),S=function(y){function x(C){var T=y.call(this)||this;return T._onBinary=new r.EventEmitter,T._onData=new r.EventEmitter,T._onLineFeed=new r.EventEmitter,T._onResize=new r.EventEmitter,T._onScroll=new r.EventEmitter,T._instantiationService=new u.InstantiationService,T.optionsService=new n.OptionsService(C),T._instantiationService.setService(l.IOptionsService,T.optionsService),T._bufferService=T.register(T._instantiationService.createInstance(e.BufferService)),T._instantiationService.setService(l.IBufferService,T._bufferService),T._logService=T._instantiationService.createInstance(o.LogService),T._instantiationService.setService(l.ILogService,T._logService),T._coreService=T.register(T._instantiationService.createInstance(i.CoreService,function(){return T.scrollToBottom()})),T._instantiationService.setService(l.ICoreService,T._coreService),T._coreMouseService=T._instantiationService.createInstance(s.CoreMouseService),T._instantiationService.setService(l.ICoreMouseService,T._coreMouseService),T._dirtyRowService=T._instantiationService.createInstance(t.DirtyRowService),T._instantiationService.setService(l.IDirtyRowService,T._dirtyRowService),T.unicodeService=T._instantiationService.createInstance(a.UnicodeService),T._instantiationService.setService(l.IUnicodeService,T.unicodeService),T._charsetService=T._instantiationService.createInstance(c.CharsetService),T._instantiationService.setService(l.ICharsetService,T._charsetService),T._inputHandler=new p.InputHandler(T._bufferService,T._charsetService,T._coreService,T._dirtyRowService,T._logService,T.optionsService,T._coreMouseService,T.unicodeService),T.register(r.forwardEvent(T._inputHandler.onLineFeed,T._onLineFeed)),T.register(T._inputHandler),T.register(r.forwardEvent(T._bufferService.onResize,T._onResize)),T.register(r.forwardEvent(T._coreService.onData,T._onData)),T.register(r.forwardEvent(T._coreService.onBinary,T._onBinary)),T.register(T.optionsService.onOptionChange(function(_){return T._updateOptions(_)})),T._writeBuffer=new m.WriteBuffer(function(_){return T._inputHandler.parse(_)}),T}return v(x,y),Object.defineProperty(x.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){var C;this._isDisposed||(y.prototype.dispose.call(this),(C=this._windowsMode)===null||C===void 0||C.dispose(),this._windowsMode=void 0)},x.prototype.write=function(C,T){this._writeBuffer.write(C,T)},x.prototype.writeSync=function(C){this._writeBuffer.writeSync(C)},x.prototype.resize=function(C,T){isNaN(C)||isNaN(T)||(C=Math.max(C,e.MINIMUM_COLS),T=Math.max(T,e.MINIMUM_ROWS),this._bufferService.resize(C,T))},x.prototype.scroll=function(C,T){T===void 0&&(T=!1);var _,E=this._bufferService.buffer;(_=this._cachedBlankLine)&&_.length===this.cols&&_.getFg(0)===C.fg&&_.getBg(0)===C.bg||(_=E.getBlankLine(C,T),this._cachedBlankLine=_),_.isWrapped=T;var I=E.ybase+E.scrollTop,L=E.ybase+E.scrollBottom;if(E.scrollTop===0){var D=E.lines.isFull;L===E.lines.length-1?D?E.lines.recycle().copyFrom(_):E.lines.push(_.clone()):E.lines.splice(L+1,0,_.clone()),D?this._bufferService.isUserScrolling&&(E.ydisp=Math.max(E.ydisp-1,0)):(E.ybase++,this._bufferService.isUserScrolling||E.ydisp++)}else{var F=L-I+1;E.lines.shiftElements(I+1,F-1,-1),E.lines.set(L,_.clone())}this._bufferService.isUserScrolling||(E.ydisp=E.ybase),this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom),this._onScroll.fire(E.ydisp)},x.prototype.scrollLines=function(C,T){var _=this._bufferService.buffer;if(C<0){if(_.ydisp===0)return;this._bufferService.isUserScrolling=!0}else C+_.ydisp>=_.ybase&&(this._bufferService.isUserScrolling=!1);var E=_.ydisp;_.ydisp=Math.max(Math.min(_.ydisp+C,_.ybase),0),E!==_.ydisp&&(T||this._onScroll.fire(_.ydisp))},x.prototype.scrollPages=function(C){this.scrollLines(C*(this.rows-1))},x.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},x.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},x.prototype.scrollToLine=function(C){var T=C-this._bufferService.buffer.ydisp;T!==0&&this.scrollLines(T)},x.prototype.addEscHandler=function(C,T){return this._inputHandler.addEscHandler(C,T)},x.prototype.addDcsHandler=function(C,T){return this._inputHandler.addDcsHandler(C,T)},x.prototype.addCsiHandler=function(C,T){return this._inputHandler.addCsiHandler(C,T)},x.prototype.addOscHandler=function(C,T){return this._inputHandler.addOscHandler(C,T)},x.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},x.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},x.prototype._updateOptions=function(C){var T;switch(C){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)}},x.prototype._enableWindowsMode=function(){var C=this;if(!this._windowsMode){var T=[];T.push(this.onLineFeed(h.updateWindowsModeWrappedState.bind(null,this._bufferService))),T.push(this.addCsiHandler({final:"H"},function(){return h.updateWindowsModeWrappedState(C._bufferService),!1})),this._windowsMode={dispose:function(){for(var E=0,I=T;E<I.length;E++)I[E].dispose()}}}},x}(f.Disposable);A.CoreTerminal=S},function(w,A,b){"use strict";var g=this&&this.__spreadArrays||function(){for(var o=0,e=0,n=arguments.length;e<n;e++)o+=arguments[e].length;var i=Array(o),r=0;for(e=0;e<n;e++)for(var s=arguments[e],t=0,a=s.length;t<a;t++,r++)i[r]=s[t];return i};Object.defineProperty(A,"__esModule",{value:!0}),A.InstantiationService=A.ServiceCollection=void 0;var v=b(1),f=b(14),l=function(){function o(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._entries=new Map;for(var i=0,r=e;i<r.length;i++){var s=r[i],t=s[0],a=s[1];this.set(t,a)}}return o.prototype.set=function(e,n){var i=this._entries.get(e);return this._entries.set(e,n),i},o.prototype.forEach=function(e){this._entries.forEach(function(n,i){return e(i,n)})},o.prototype.has=function(e){return this._entries.has(e)},o.prototype.get=function(e){return this._entries.get(e)},o}();A.ServiceCollection=l;var u=function(){function o(){this._services=new l,this._services.set(v.IInstantiationService,this)}return o.prototype.setService=function(e,n){this._services.set(e,n)},o.prototype.getService=function(e){return this._services.get(e)},o.prototype.createInstance=function(e){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];for(var r=f.getServiceDependencies(e).sort(function(m,S){return m.index-S.index}),s=[],t=0,a=r;t<a.length;t++){var c=a[t],h=this._services.get(c.id);if(!h)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+c.id+".");s.push(h)}var p=r.length>0?r[0].index:n.length;if(n.length!==p)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(p+1)+" conflicts with "+n.length+" static arguments");return new(e.bind.apply(e,g([void 0],g(n,s))))},o}();A.InstantiationService=u},function(w,A,b){"use strict";var g=this&&this.__decorate||function(n,i,r,s){var t,a=arguments.length,c=a<3?i:s===null?s=Object.getOwnPropertyDescriptor(i,r):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(n,i,r,s);else for(var h=n.length-1;h>=0;h--)(t=n[h])&&(c=(a<3?t(c):a>3?t(i,r,c):t(i,r))||c);return a>3&&c&&Object.defineProperty(i,r,c),c},v=this&&this.__param||function(n,i){return function(r,s){i(r,s,n)}},f=this&&this.__spreadArrays||function(){for(var n=0,i=0,r=arguments.length;i<r;i++)n+=arguments[i].length;var s=Array(n),t=0;for(i=0;i<r;i++)for(var a=arguments[i],c=0,h=a.length;c<h;c++,t++)s[t]=a[c];return s};Object.defineProperty(A,"__esModule",{value:!0}),A.LogService=A.LogLevel=void 0;var l,u=b(1);!function(n){n[n.DEBUG=0]="DEBUG",n[n.INFO=1]="INFO",n[n.WARN=2]="WARN",n[n.ERROR=3]="ERROR",n[n.OFF=4]="OFF"}(l=A.LogLevel||(A.LogLevel={}));var o={debug:l.DEBUG,info:l.INFO,warn:l.WARN,error:l.ERROR,off:l.OFF},e=function(){function n(i){var r=this;this._optionsService=i,this._updateLogLevel(),this._optionsService.onOptionChange(function(s){s==="logLevel"&&r._updateLogLevel()})}return n.prototype._updateLogLevel=function(){this._logLevel=o[this._optionsService.options.logLevel]},n.prototype._evalLazyOptionalParams=function(i){for(var r=0;r<i.length;r++)typeof i[r]=="function"&&(i[r]=i[r]())},n.prototype._log=function(i,r,s){this._evalLazyOptionalParams(s),i.call.apply(i,f([console,"xterm.js: "+r],s))},n.prototype.debug=function(i){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];this._logLevel<=l.DEBUG&&this._log(console.log,i,r)},n.prototype.info=function(i){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];this._logLevel<=l.INFO&&this._log(console.info,i,r)},n.prototype.warn=function(i){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];this._logLevel<=l.WARN&&this._log(console.warn,i,r)},n.prototype.error=function(i){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];this._logLevel<=l.ERROR&&this._log(console.error,i,r)},n=g([v(0,u.IOptionsService)],n)}();A.LogService=e},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(s,t){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(s,t)},function(r,s){function t(){this.constructor=r}g(r,s),r.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)}),f=this&&this.__decorate||function(r,s,t,a){var c,h=arguments.length,p=h<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(r,s,t,a);else for(var m=r.length-1;m>=0;m--)(c=r[m])&&(p=(h<3?c(p):h>3?c(s,t,p):c(s,t))||p);return h>3&&p&&Object.defineProperty(s,t,p),p},l=this&&this.__param||function(r,s){return function(t,a){s(t,a,r)}};Object.defineProperty(A,"__esModule",{value:!0}),A.BufferService=A.MINIMUM_ROWS=A.MINIMUM_COLS=void 0;var u=b(1),o=b(69),e=b(0),n=b(2);A.MINIMUM_COLS=2,A.MINIMUM_ROWS=1;var i=function(r){function s(t){var a=r.call(this)||this;return a._optionsService=t,a.isUserScrolling=!1,a._onResize=new e.EventEmitter,a.cols=Math.max(t.options.cols,A.MINIMUM_COLS),a.rows=Math.max(t.options.rows,A.MINIMUM_ROWS),a.buffers=new o.BufferSet(t,a),a}return v(s,r),Object.defineProperty(s.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),s.prototype.dispose=function(){r.prototype.dispose.call(this),this.buffers.dispose()},s.prototype.resize=function(t,a){this.cols=t,this.rows=a,this.buffers.resize(t,a),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:t,rows:a})},s.prototype.reset=function(){this.buffers.dispose(),this.buffers=new o.BufferSet(this._optionsService,this),this.isUserScrolling=!1},s=f([l(0,u.IOptionsService)],s)}(n.Disposable);A.BufferService=i},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(e,n){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var s in r)r.hasOwnProperty(s)&&(i[s]=r[s])})(e,n)},function(o,e){function n(){this.constructor=o}g(o,e),o.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(A,"__esModule",{value:!0}),A.BufferSet=void 0;var f=b(70),l=b(0),u=function(o){function e(n,i){var r=o.call(this)||this;return r._onBufferActivate=r.register(new l.EventEmitter),r._normal=new f.Buffer(!0,n,i),r._normal.fillViewportRows(),r._alt=new f.Buffer(!1,n,i),r._activeBuffer=r._normal,r.setupTabStops(),r}return v(e,o),Object.defineProperty(e.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),e.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}))},e.prototype.activateAltBuffer=function(n){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(n),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}))},e.prototype.resize=function(n,i){this._normal.resize(n,i),this._alt.resize(n,i)},e.prototype.setupTabStops=function(n){this._normal.setupTabStops(n),this._alt.setupTabStops(n)},e}(b(2).Disposable);A.BufferSet=u},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BufferStringIterator=A.Buffer=A.MAX_BUFFER_SIZE=void 0;var g=b(71),v=b(16),f=b(4),l=b(3),u=b(72),o=b(73),e=b(20),n=b(6);A.MAX_BUFFER_SIZE=4294967295;var i=function(){function s(t,a,c){this._hasScrollback=t,this._optionsService=a,this._bufferService=c,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=e.DEFAULT_CHARSET,this.markers=[],this._nullCell=f.CellData.fromCharData([0,l.NULL_CELL_CHAR,l.NULL_CELL_WIDTH,l.NULL_CELL_CODE]),this._whitespaceCell=f.CellData.fromCharData([0,l.WHITESPACE_CELL_CHAR,l.WHITESPACE_CELL_WIDTH,l.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new g.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return s.prototype.getNullCell=function(t){return t?(this._nullCell.fg=t.fg,this._nullCell.bg=t.bg,this._nullCell.extended=t.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new n.ExtendedAttrs),this._nullCell},s.prototype.getWhitespaceCell=function(t){return t?(this._whitespaceCell.fg=t.fg,this._whitespaceCell.bg=t.bg,this._whitespaceCell.extended=t.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new n.ExtendedAttrs),this._whitespaceCell},s.prototype.getBlankLine=function(t,a){return new v.BufferLine(this._bufferService.cols,this.getNullCell(t),a)},Object.defineProperty(s.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isCursorInViewport",{get:function(){var a=this.ybase+this.y-this.ydisp;return a>=0&&a<this._rows},enumerable:!1,configurable:!0}),s.prototype._getCorrectBufferLength=function(t){if(!this._hasScrollback)return t;var a=t+this._optionsService.options.scrollback;return a>A.MAX_BUFFER_SIZE?A.MAX_BUFFER_SIZE:a},s.prototype.fillViewportRows=function(t){if(this.lines.length===0){t===void 0&&(t=v.DEFAULT_ATTR_DATA);for(var a=this._rows;a--;)this.lines.push(this.getBlankLine(t))}},s.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new g.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},s.prototype.resize=function(t,a){var c=this.getNullCell(v.DEFAULT_ATTR_DATA),h=this._getCorrectBufferLength(a);if(h>this.lines.maxLength&&(this.lines.maxLength=h),this.lines.length>0){if(this._cols<t)for(var p=0;p<this.lines.length;p++)this.lines.get(p).resize(t,c);var m=0;if(this._rows<a)for(var S=this._rows;S<a;S++)this.lines.length<a+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new v.BufferLine(t,c)):this.ybase>0&&this.lines.length<=this.ybase+this.y+m+1?(this.ybase--,m++,this.ydisp>0&&this.ydisp--):this.lines.push(new v.BufferLine(t,c)));else for(S=this._rows;S>a;S--)this.lines.length>a+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(h<this.lines.maxLength){var y=this.lines.length-h;y>0&&(this.lines.trimStart(y),this.ybase=Math.max(this.ybase-y,0),this.ydisp=Math.max(this.ydisp-y,0),this.savedY=Math.max(this.savedY-y,0)),this.lines.maxLength=h}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,a-1),m&&(this.y+=m),this.savedX=Math.min(this.savedX,t-1),this.scrollTop=0}if(this.scrollBottom=a-1,this._isReflowEnabled&&(this._reflow(t,a),this._cols>t))for(p=0;p<this.lines.length;p++)this.lines.get(p).resize(t,c);this._cols=t,this._rows=a},Object.defineProperty(s.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),s.prototype._reflow=function(t,a){this._cols!==t&&(t>this._cols?this._reflowLarger(t,a):this._reflowSmaller(t,a))},s.prototype._reflowLarger=function(t,a){var c=u.reflowLargerGetLinesToRemove(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(v.DEFAULT_ATTR_DATA));if(c.length>0){var h=u.reflowLargerCreateNewLayout(this.lines,c);u.reflowLargerApplyNewLayout(this.lines,h.layout),this._reflowLargerAdjustViewport(t,a,h.countRemoved)}},s.prototype._reflowLargerAdjustViewport=function(t,a,c){for(var h=this.getNullCell(v.DEFAULT_ATTR_DATA),p=c;p-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<a&&this.lines.push(new v.BufferLine(t,h))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-c,0)},s.prototype._reflowSmaller=function(t,a){for(var c=this.getNullCell(v.DEFAULT_ATTR_DATA),h=[],p=0,m=this.lines.length-1;m>=0;m--){var S=this.lines.get(m);if(!(!S||!S.isWrapped&&S.getTrimmedLength()<=t)){for(var y=[S];S.isWrapped&&m>0;)S=this.lines.get(--m),y.unshift(S);var x=this.ybase+this.y;if(!(x>=m&&x<m+y.length)){var C=y[y.length-1].getTrimmedLength(),T=u.reflowSmallerGetNewLineLengths(y,this._cols,t),_=T.length-y.length,E=void 0;E=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+_):Math.max(0,this.lines.length-this.lines.maxLength+_);for(var I=[],L=0;L<_;L++){var D=this.getBlankLine(v.DEFAULT_ATTR_DATA,!0);I.push(D)}I.length>0&&(h.push({start:m+y.length+p,newLines:I}),p+=I.length),y.push.apply(y,I);var F=T.length-1,N=T[F];N===0&&(N=T[--F]);for(var P=y.length-_-1,W=C;P>=0;){var R=Math.min(W,N);if(y[F].copyCellsFrom(y[P],W-R,N-R,R,!0),(N-=R)===0&&(N=T[--F]),(W-=R)===0){P--;var j=Math.max(P,0);W=u.getWrappedLineTrimmedLength(y,j,this._cols)}}for(L=0;L<y.length;L++)T[L]<t&&y[L].setCell(T[L],c);for(var H=_-E;H-- >0;)this.ybase===0?this.y<a-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+p)-a&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+_,this.ybase+a-1)}}}if(h.length>0){var K=[],U=[];for(L=0;L<this.lines.length;L++)U.push(this.lines.get(L));var G=this.lines.length,z=G-1,Y=0,q=h[Y];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+p);var oe=0;for(L=Math.min(this.lines.maxLength-1,G+p-1);L>=0;L--)if(q&&q.start>z+oe){for(var ie=q.newLines.length-1;ie>=0;ie--)this.lines.set(L--,q.newLines[ie]);L++,K.push({index:z+1,amount:q.newLines.length}),oe+=q.newLines.length,q=h[++Y]}else this.lines.set(L,U[z--]);var se=0;for(L=K.length-1;L>=0;L--)K[L].index+=se,this.lines.onInsertEmitter.fire(K[L]),se+=K[L].amount;var he=Math.max(0,G+p-this.lines.maxLength);he>0&&this.lines.onTrimEmitter.fire(he)}},s.prototype.stringIndexToBufferIndex=function(t,a,c){for(c===void 0&&(c=!1);a;){var h=this.lines.get(t);if(!h)return[-1,-1];for(var p=c?h.getTrimmedLength():h.length,m=0;m<p;++m)if(h.get(m)[l.CHAR_DATA_WIDTH_INDEX]&&(a-=h.get(m)[l.CHAR_DATA_CHAR_INDEX].length||1),a<0)return[t,m];t++}return[t,0]},s.prototype.translateBufferLineToString=function(t,a,c,h){c===void 0&&(c=0);var p=this.lines.get(t);return p?p.translateToString(a,c,h):""},s.prototype.getWrappedRangeForLine=function(t){for(var a=t,c=t;a>0&&this.lines.get(a).isWrapped;)a--;for(;c+1<this.lines.length&&this.lines.get(c+1).isWrapped;)c++;return{first:a,last:c}},s.prototype.setupTabStops=function(t){for(t!=null?this.tabs[t]||(t=this.prevStop(t)):(this.tabs={},t=0);t<this._cols;t+=this._optionsService.options.tabStopWidth)this.tabs[t]=!0},s.prototype.prevStop=function(t){for(t==null&&(t=this.x);!this.tabs[--t]&&t>0;);return t>=this._cols?this._cols-1:t<0?0:t},s.prototype.nextStop=function(t){for(t==null&&(t=this.x);!this.tabs[++t]&&t<this._cols;);return t>=this._cols?this._cols-1:t<0?0:t},s.prototype.addMarker=function(t){var a=this,c=new o.Marker(t);return this.markers.push(c),c.register(this.lines.onTrim(function(h){c.line-=h,c.line<0&&c.dispose()})),c.register(this.lines.onInsert(function(h){c.line>=h.index&&(c.line+=h.amount)})),c.register(this.lines.onDelete(function(h){c.line>=h.index&&c.line<h.index+h.amount&&c.dispose(),c.line>h.index&&(c.line-=h.amount)})),c.register(c.onDispose(function(){return a._removeMarker(c)})),c},s.prototype._removeMarker=function(t){this.markers.splice(this.markers.indexOf(t),1)},s.prototype.iterator=function(t,a,c,h,p){return new r(this,t,a,c,h,p)},s}();A.Buffer=i;var r=function(){function s(t,a,c,h,p,m){c===void 0&&(c=0),h===void 0&&(h=t.lines.length),p===void 0&&(p=0),m===void 0&&(m=0),this._buffer=t,this._trimRight=a,this._startIndex=c,this._endIndex=h,this._startOverscan=p,this._endOverscan=m,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return s.prototype.hasNext=function(){return this._current<this._endIndex},s.prototype.next=function(){var t=this._buffer.getWrappedRangeForLine(this._current);t.first<this._startIndex-this._startOverscan&&(t.first=this._startIndex-this._startOverscan),t.last>this._endIndex+this._endOverscan&&(t.last=this._endIndex+this._endOverscan),t.first=Math.max(t.first,0),t.last=Math.min(t.last,this._buffer.lines.length);for(var a="",c=t.first;c<=t.last;++c)a+=this._buffer.translateBufferLineToString(c,this._trimRight);return this._current=t.last+1,{range:t,content:a}},s}();A.BufferStringIterator=r},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CircularList=void 0;var g=b(0),v=function(){function f(l){this._maxLength=l,this.onDeleteEmitter=new g.EventEmitter,this.onInsertEmitter=new g.EventEmitter,this.onTrimEmitter=new g.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(u){if(this._maxLength!==u){for(var o=new Array(u),e=0;e<Math.min(u,this.length);e++)o[e]=this._array[this._getCyclicIndex(e)];this._array=o,this._maxLength=u,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"length",{get:function(){return this._length},set:function(u){if(u>this._length)for(var o=this._length;o<u;o++)this._array[o]=void 0;this._length=u},enumerable:!1,configurable:!0}),f.prototype.get=function(l){return this._array[this._getCyclicIndex(l)]},f.prototype.set=function(l,u){this._array[this._getCyclicIndex(l)]=u},f.prototype.push=function(l){this._array[this._getCyclicIndex(this._length)]=l,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(l,u){for(var o=[],e=2;e<arguments.length;e++)o[e-2]=arguments[e];if(u){for(var n=l;n<this._length-u;n++)this._array[this._getCyclicIndex(n)]=this._array[this._getCyclicIndex(n+u)];this._length-=u}for(n=this._length-1;n>=l;n--)this._array[this._getCyclicIndex(n+o.length)]=this._array[this._getCyclicIndex(n)];for(n=0;n<o.length;n++)this._array[this._getCyclicIndex(l+n)]=o[n];if(this._length+o.length>this._maxLength){var i=this._length+o.length-this._maxLength;this._startIndex+=i,this._length=this._maxLength,this.onTrimEmitter.fire(i)}else this._length+=o.length},f.prototype.trimStart=function(l){l>this._length&&(l=this._length),this._startIndex+=l,this._length-=l,this.onTrimEmitter.fire(l)},f.prototype.shiftElements=function(l,u,o){if(!(u<=0)){if(l<0||l>=this._length)throw new Error("start argument out of range");if(l+o<0)throw new Error("Cannot shift elements in list beyond index 0");if(o>0){for(var e=u-1;e>=0;e--)this.set(l+e+o,this.get(l+e));var n=l+u+o-this._length;if(n>0)for(this._length+=n;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(e=0;e<u;e++)this.set(l+e+o,this.get(l+e))}},f.prototype._getCyclicIndex=function(l){return(this._startIndex+l)%this._maxLength},f}();A.CircularList=v},function(w,A,b){"use strict";function g(v,f,l){if(f===v.length-1)return v[f].getTrimmedLength();var u=!v[f].hasContent(l-1)&&v[f].getWidth(l-1)===1,o=v[f+1].getWidth(0)===2;return u&&o?l-1:l}Object.defineProperty(A,"__esModule",{value:!0}),A.getWrappedLineTrimmedLength=A.reflowSmallerGetNewLineLengths=A.reflowLargerApplyNewLayout=A.reflowLargerCreateNewLayout=A.reflowLargerGetLinesToRemove=void 0,A.reflowLargerGetLinesToRemove=function(v,f,l,u,o){for(var e=[],n=0;n<v.length-1;n++){var i=n,r=v.get(++i);if(r.isWrapped){for(var s=[v.get(n)];i<v.length&&r.isWrapped;)s.push(r),r=v.get(++i);if(u>=n&&u<i)n+=s.length-1;else{for(var t=0,a=g(s,t,f),c=1,h=0;c<s.length;){var p=g(s,c,f),m=p-h,S=l-a,y=Math.min(m,S);s[t].copyCellsFrom(s[c],h,a,y,!1),(a+=y)===l&&(t++,a=0),(h+=y)===p&&(c++,h=0),a===0&&t!==0&&s[t-1].getWidth(l-1)===2&&(s[t].copyCellsFrom(s[t-1],l-1,a++,1,!1),s[t-1].setCell(l-1,o))}s[t].replaceCells(a,l,o);for(var x=0,C=s.length-1;C>0&&(C>t||s[C].getTrimmedLength()===0);C--)x++;x>0&&(e.push(n+s.length-x),e.push(x)),n+=s.length-1}}}return e},A.reflowLargerCreateNewLayout=function(v,f){for(var l=[],u=0,o=f[u],e=0,n=0;n<v.length;n++)if(o===n){var i=f[++u];v.onDeleteEmitter.fire({index:n-e,amount:i}),n+=i-1,e+=i,o=f[++u]}else l.push(n);return{layout:l,countRemoved:e}},A.reflowLargerApplyNewLayout=function(v,f){for(var l=[],u=0;u<f.length;u++)l.push(v.get(f[u]));for(u=0;u<l.length;u++)v.set(u,l[u]);v.length=f.length},A.reflowSmallerGetNewLineLengths=function(v,f,l){for(var u=[],o=v.map(function(a,c){return g(v,c,f)}).reduce(function(a,c){return a+c}),e=0,n=0,i=0;i<o;){if(o-i<l){u.push(o-i);break}e+=l;var r=g(v,n,f);e>r&&(e-=r,n++);var s=v[n].getWidth(e-1)===2;s&&e--;var t=s?l-1:l;u.push(t),i+=t}return u},A.getWrappedLineTrimmedLength=g},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(o,e){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)i.hasOwnProperty(r)&&(n[r]=i[r])})(o,e)},function(u,o){function e(){this.constructor=u}g(u,o),u.prototype=o===null?Object.create(o):(e.prototype=o.prototype,new e)});Object.defineProperty(A,"__esModule",{value:!0}),A.Marker=void 0;var f=b(0),l=function(u){function o(e){var n=u.call(this)||this;return n.line=e,n._id=o._nextId++,n.isDisposed=!1,n._onDispose=new f.EventEmitter,n}return v(o,u),Object.defineProperty(o.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),o.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},o._nextId=1,o}(b(2).Disposable);A.Marker=l},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.OptionsService=A.DEFAULT_OPTIONS=A.DEFAULT_BELL_SOUND=void 0;var g=b(0),v=b(11),f=b(33);A.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",A.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:A.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 l=["cols","rows"],u=function(){function o(e){this._onOptionChange=new g.EventEmitter,this.options=f.clone(A.DEFAULT_OPTIONS);for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];if(r in this.options){var s=e[r];this.options[r]=s}}}return Object.defineProperty(o.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),o.prototype.setOption=function(e,n){if(!(e in A.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');if(l.indexOf(e)!==-1)throw new Error('Option "'+e+'" can only be set in the constructor');this.options[e]!==n&&(n=this._sanitizeAndValidateOption(e,n),this.options[e]!==n&&(this.options[e]=n,this._onOptionChange.fire(e)))},o.prototype._sanitizeAndValidateOption=function(e,n){switch(e){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":n||(n=A.DEFAULT_OPTIONS[e]);break;case"cursorWidth":n=Math.floor(n);case"lineHeight":case"tabStopWidth":if(n<1)throw new Error(e+" cannot be less than 1, value: "+n);break;case"minimumContrastRatio":n=Math.max(1,Math.min(21,Math.round(10*n)/10));break;case"scrollback":if((n=Math.min(n,4294967295))<0)throw new Error(e+" cannot be less than 0, value: "+n);break;case"fastScrollSensitivity":case"scrollSensitivity":if(n<=0)throw new Error(e+" cannot be less than or equal to 0, value: "+n)}return n},o.prototype.getOption=function(e){if(!(e in A.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');return this.options[e]},o}();A.OptionsService=u},function(w,A,b){"use strict";var g,v=this&&this.__extends||(g=function(a,c){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var m in p)p.hasOwnProperty(m)&&(h[m]=p[m])})(a,c)},function(t,a){function c(){this.constructor=t}g(t,a),t.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),f=this&&this.__decorate||function(t,a,c,h){var p,m=arguments.length,S=m<3?a:h===null?h=Object.getOwnPropertyDescriptor(a,c):h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(t,a,c,h);else for(var y=t.length-1;y>=0;y--)(p=t[y])&&(S=(m<3?p(S):m>3?p(a,c,S):p(a,c))||S);return m>3&&S&&Object.defineProperty(a,c,S),S},l=this&&this.__param||function(t,a){return function(c,h){a(c,h,t)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CoreService=void 0;var u=b(1),o=b(0),e=b(33),n=b(2),i=Object.freeze({insertMode:!1}),r=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),s=function(t){function a(c,h,p,m){var S=t.call(this)||this;return S._bufferService=h,S._logService=p,S._optionsService=m,S.isCursorInitialized=!1,S.isCursorHidden=!1,S._onData=S.register(new o.EventEmitter),S._onUserInput=S.register(new o.EventEmitter),S._onBinary=S.register(new o.EventEmitter),S._scrollToBottom=c,S.register({dispose:function(){return S._scrollToBottom=void 0}}),S.modes=e.clone(i),S.decPrivateModes=e.clone(r),S}return v(a,t),Object.defineProperty(a.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),a.prototype.reset=function(){this.modes=e.clone(i),this.decPrivateModes=e.clone(r)},a.prototype.triggerDataEvent=function(c,h){if(h===void 0&&(h=!1),!this._optionsService.options.disableStdin){var p=this._bufferService.buffer;p.ybase!==p.ydisp&&this._scrollToBottom(),h&&this._onUserInput.fire(),this._logService.debug('sending data "'+c+'"',function(){return c.split("").map(function(m){return m.charCodeAt(0)})}),this._onData.fire(c)}},a.prototype.triggerBinaryEvent=function(c){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+c+'"',function(){return c.split("").map(function(h){return h.charCodeAt(0)})}),this._onBinary.fire(c))},a=f([l(1,u.IBufferService),l(2,u.ILogService),l(3,u.IOptionsService)],a)}(n.Disposable);A.CoreService=s},function(w,A,b){"use strict";var g=this&&this.__decorate||function(r,s,t,a){var c,h=arguments.length,p=h<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(r,s,t,a);else for(var m=r.length-1;m>=0;m--)(c=r[m])&&(p=(h<3?c(p):h>3?c(s,t,p):c(s,t))||p);return h>3&&p&&Object.defineProperty(s,t,p),p},v=this&&this.__param||function(r,s){return function(t,a){s(t,a,r)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CoreMouseService=void 0;var f=b(1),l=b(0),u={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(s){return s.button!==4&&s.action===1&&(s.ctrl=!1,s.alt=!1,s.shift=!1,!0)}},VT200:{events:19,restrict:function(s){return s.action!==32}},DRAG:{events:23,restrict:function(s){return s.action!==32||s.button!==3}},ANY:{events:31,restrict:function(s){return!0}}};function o(r,s){var t=(r.ctrl?16:0)|(r.shift?4:0)|(r.alt?8:0);return r.button===4?(t|=64,t|=r.action):(t|=3&r.button,4&r.button&&(t|=64),8&r.button&&(t|=128),r.action===32?t|=32:r.action!==0||s||(t|=3)),t}var e=String.fromCharCode,n={DEFAULT:function(s){var t=[o(s,!1)+32,s.col+32,s.row+32];return t[0]>255||t[1]>255||t[2]>255?"":""+e(t[0])+e(t[1])+e(t[2])},SGR:function(s){var t=s.action===0&&s.button!==4?"m":"M";return"[<"+o(s,!0)+";"+s.col+";"+s.row+t}},i=function(){function r(s,t){this._bufferService=s,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new l.EventEmitter,this._lastEvent=null;for(var a=0,c=Object.keys(u);a<c.length;a++){var h=c[a];this.addProtocol(h,u[h])}for(var p=0,m=Object.keys(n);p<m.length;p++){var S=m[p];this.addEncoding(S,n[S])}this.reset()}return r.prototype.addProtocol=function(s,t){this._protocols[s]=t},r.prototype.addEncoding=function(s,t){this._encodings[s]=t},Object.defineProperty(r.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(t){if(!this._protocols[t])throw new Error('unknown protocol "'+t+'"');this._activeProtocol=t,this._onProtocolChange.fire(this._protocols[t].events)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(t){if(!this._encodings[t])throw new Error('unknown encoding "'+t+'"');this._activeEncoding=t},enumerable:!1,configurable:!0}),r.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(r.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),r.prototype.triggerMouseEvent=function(s){if(s.col<0||s.col>=this._bufferService.cols||s.row<0||s.row>=this._bufferService.rows)return!1;if(s.button===4&&s.action===32)return!1;if(s.button===3&&s.action!==32)return!1;if(s.button!==4&&(s.action===2||s.action===3))return!1;if(s.col++,s.row++,s.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,s))return!1;if(!this._protocols[this._activeProtocol].restrict(s))return!1;var t=this._encodings[this._activeEncoding](s);return t&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=s,!0},r.prototype.explainEvents=function(s){return{down:!!(1&s),up:!!(2&s),drag:!!(4&s),move:!!(8&s),wheel:!!(16&s)}},r.prototype._compareEvents=function(s,t){return s.col===t.col&&s.row===t.row&&s.button===t.button&&s.action===t.action&&s.ctrl===t.ctrl&&s.alt===t.alt&&s.shift===t.shift},r=g([v(0,f.IBufferService),v(1,f.ICoreService)],r)}();A.CoreMouseService=i},function(w,A,b){"use strict";var g=this&&this.__decorate||function(u,o,e,n){var i,r=arguments.length,s=r<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,e):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(u,o,e,n);else for(var t=u.length-1;t>=0;t--)(i=u[t])&&(s=(r<3?i(s):r>3?i(o,e,s):i(o,e))||s);return r>3&&s&&Object.defineProperty(o,e,s),s},v=this&&this.__param||function(u,o){return function(e,n){o(e,n,u)}};Object.defineProperty(A,"__esModule",{value:!0}),A.DirtyRowService=void 0;var f=b(1),l=function(){function u(o){this._bufferService=o,this.clearRange()}return Object.defineProperty(u.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),u.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},u.prototype.markDirty=function(o){o<this._start?this._start=o:o>this._end&&(this._end=o)},u.prototype.markRangeDirty=function(o,e){if(o>e){var n=o;o=e,e=n}o<this._start&&(this._start=o),e>this._end&&(this._end=e)},u.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},u=g([v(0,f.IBufferService)],u)}();A.DirtyRowService=l},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.UnicodeService=void 0;var g=b(0),v=b(79),f=function(){function l(){this._providers=Object.create(null),this._active="",this._onChange=new g.EventEmitter;var u=new v.UnicodeV6;this.register(u),this._active=u.version,this._activeProvider=u}return Object.defineProperty(l.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"activeVersion",{get:function(){return this._active},set:function(o){if(!this._providers[o])throw new Error('unknown Unicode version "'+o+'"');this._active=o,this._activeProvider=this._providers[o],this._onChange.fire(o)},enumerable:!1,configurable:!0}),l.prototype.register=function(u){this._providers[u.version]=u},l.prototype.wcwidth=function(u){return this._activeProvider.wcwidth(u)},l.prototype.getStringCellWidth=function(u){for(var o=0,e=u.length,n=0;n<e;++n){var i=u.charCodeAt(n);if(55296<=i&&i<=56319){if(++n>=e)return o+this.wcwidth(i);var r=u.charCodeAt(n);56320<=r&&r<=57343?i=1024*(i-55296)+r-56320+65536:o+=this.wcwidth(r)}o+=this.wcwidth(i)}return o},l}();A.UnicodeService=f},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.UnicodeV6=void 0;var g,v=b(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]],l=[[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]],u=function(){function o(){if(this.version="6",!g){g=new Uint8Array(65536),v.fill(g,1),g[0]=0,v.fill(g,0,1,32),v.fill(g,0,127,160),v.fill(g,2,4352,4448),g[9001]=2,g[9002]=2,v.fill(g,2,11904,42192),g[12351]=1,v.fill(g,2,44032,55204),v.fill(g,2,63744,64256),v.fill(g,2,65040,65050),v.fill(g,2,65072,65136),v.fill(g,2,65280,65377),v.fill(g,2,65504,65511);for(var e=0;e<f.length;++e)v.fill(g,0,f[e][0],f[e][1]+1)}}return o.prototype.wcwidth=function(e){return e<32?0:e<127?1:e<65536?g[e]:function(n,i){var r,s=0,t=i.length-1;if(n<i[0][0]||n>i[t][1])return!1;for(;t>=s;)if(n>i[r=s+t>>1][1])s=r+1;else{if(!(n<i[r][0]))return!0;t=r-1}return!1}(e,l)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1},o}();A.UnicodeV6=u},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CharsetService=void 0;var g=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,l){this._charsets[f]=l,this.glevel===f&&(this.charset=l)},v}();A.CharsetService=g},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.updateWindowsModeWrappedState=void 0;var g=b(3);A.updateWindowsModeWrappedState=function(v){var f=v.buffer.lines.get(v.buffer.ybase+v.buffer.y-1),l=f==null?void 0:f.get(v.cols-1),u=v.buffer.lines.get(v.buffer.ybase+v.buffer.y);u&&l&&(u.isWrapped=l[g.CHAR_DATA_CODE_INDEX]!==g.NULL_CELL_CODE&&l[g.CHAR_DATA_CODE_INDEX]!==g.WHITESPACE_CELL_CODE)}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.WriteBuffer=void 0;var g=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 l=this._bufferOffset;l<this._writeBuffer.length;++l){var u=this._writeBuffer[l],o=this._callbacks[l];this._action(u),o&&o()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(f)},v.prototype.write=function(f,l){var u=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 u._innerWrite()})),this._pendingData+=f.length,this._writeBuffer.push(f),this._callbacks.push(l)},v.prototype._innerWrite=function(){for(var f=this,l=Date.now();this._writeBuffer.length>this._bufferOffset;){var u=this._writeBuffer[this._bufferOffset],o=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(u),this._pendingData-=u.length,o&&o(),Date.now()-l>=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}();A.WriteBuffer=g},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.AddonManager=void 0;var g=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,l){var u=this,o={instance:l,dispose:l.dispose,isDisposed:!1};this._addons.push(o),l.dispose=function(){return u._wrappedAddonDispose(o)},l.activate(f)},v.prototype._wrappedAddonDispose=function(f){if(!f.isDisposed){for(var l=-1,u=0;u<this._addons.length;u++)if(this._addons[u]===f){l=u;break}if(l===-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(l,1)}},v}();A.AddonManager=g}])})},"/SeX":function(k,B,d){var w=d("knOB"),A=d("qZFw"),b=function(v){this.name=v||"",this.cx=0,this.cy=0,this._radiusAxis=new w,this._angleAxis=new A,this._radiusAxis.polar=this._angleAxis.polar=this};b.prototype={type:"polar",axisPointerEnabled:!0,constructor:b,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=[],l=this._angleAxis,u=this._radiusAxis;return l.scale.type===v&&f.push(l),u.scale.type===v&&f.push(u),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 l=this.pointToCoord(v);return[this._radiusAxis.radiusToData(l[0],f),this._angleAxis.angleToData(l[1],f)]},pointToCoord:function(v){var f=v[0]-this.cx,l=v[1]-this.cy,u=this.getAngleAxis(),o=u.getExtent(),e=Math.min(o[0],o[1]),n=Math.max(o[0],o[1]);u.inverse?e=n-360:n=e+360;var i=Math.sqrt(f*f+l*l);f/=i,l/=i;for(var r=Math.atan2(-l,f)/Math.PI*180,s=r<e?1:-1;r<e||r>n;)r+=s*360;return[i,r]},coordToPoint:function(v){var f=v[0],l=v[1]/180*Math.PI,u=Math.cos(l)*f+this.cx,o=-Math.sin(l)*f+this.cy;return[u,o]},getArea:function(){var v=this.getAngleAxis(),f=this.getRadiusAxis(),l=f.getExtent().slice();l[0]>l[1]&&l.reverse();var u=v.getExtent(),o=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:l[0],r:l[1],startAngle:-u[0]*o,endAngle:-u[1]*o,clockwise:v.inverse,contain:function(e,n){var i=e-this.cx,r=n-this.cy,s=i*i+r*r,t=this.r,a=this.r0;return s<=t*t&&s>=a*a}}}};var g=b;k.exports=g},"/WM3":function(k,B,d){var w=d("QuXc"),A=d("bYtY"),b=A.isFunction,g={createOnAllSeries:!0,performRawSeries:!0,reset:function(v,f){var l=v.getData(),u=(v.visualColorAccessPath||"itemStyle.color").split("."),o=v.get(u),e=b(o)&&!(o instanceof w)?o:null;(!o||e)&&(o=v.getColorFromPalette(v.name,null,f.getSeriesCount())),l.setVisual("color",o);var n=(v.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),i=v.get(n);if(l.setVisual("borderColor",i),!f.isSeriesFiltered(v)){e&&l.each(function(s){l.setItemVisual(s,"color",e(v.getDataParams(s)))});var r=function(s,t){var a=s.getItemModel(t),c=a.get(u,!0),h=a.get(n,!0);c!=null&&s.setItemVisual(t,"color",c),h!=null&&s.setItemVisual(t,"borderColor",h)};return{dataEach:l.hasItemOption?r:null}}}};k.exports=g},"/d5a":function(k,B){var d={average:function(b){for(var g=0,v=0,f=0;f<b.length;f++)isNaN(b[f])||(g+=b[f],v++);return v===0?NaN:g/v},sum:function(b){for(var g=0,v=0;v<b.length;v++)g+=b[v]||0;return g},max:function(b){for(var g=-Infinity,v=0;v<b.length;v++)b[v]>g&&(g=b[v]);return isFinite(g)?g:NaN},min:function(b){for(var g=Infinity,v=0;v<b.length;v++)b[v]<g&&(g=b[v]);return isFinite(g)?g:NaN},nearest:function(b){return b[0]}},w=function(b,g){return Math.round(b.length/2)};function A(b){return{seriesType:b,modifyOutputEnd:!0,reset:function(g,v,f){var l=g.getData(),u=g.get("sampling"),o=g.coordinateSystem;if(o.type==="cartesian2d"&&u){var e=o.getBaseAxis(),n=o.getOtherAxis(e),i=e.getExtent(),r=i[1]-i[0],s=Math.round(l.count()/r);if(s>1){var t;typeof u=="string"?t=d[u]:typeof u=="function"&&(t=u),t&&g.setData(l.downSample(l.mapDimension(n.dim),1/s,t,w))}}}}}k.exports=A},"/ezw":function(k,B,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("U8pU"),g=d("q1tI"),v=d("TSYQ"),f=d.n(v),l=function(P){var W=P.prefixCls,R=P.className,j=P.width,H=P.style;return g.createElement("h3",{className:f()(W,R),style:Object(A.a)({width:j},H)})},u=l,o=d("KQm4"),e=function(P){var W=function(z){var Y=P.width,q=P.rows,oe=q===void 0?2:q;return Array.isArray(Y)?Y[z]:oe-1===z?Y:void 0},R=P.prefixCls,j=P.className,H=P.style,K=P.rows,U=Object(o.a)(Array(K)).map(function(G,z){return g.createElement("li",{key:z,style:{width:W(z)}})});return g.createElement("ul",{className:f()(R,j),style:H},U)},n=e,i=d("H84U"),r=function(P){var W,R,j=P.prefixCls,H=P.className,K=P.style,U=P.size,G=P.shape,z=f()((W={},Object(w.a)(W,"".concat(j,"-lg"),U==="large"),Object(w.a)(W,"".concat(j,"-sm"),U==="small"),W)),Y=f()((R={},Object(w.a)(R,"".concat(j,"-circle"),G==="circle"),Object(w.a)(R,"".concat(j,"-square"),G==="square"),Object(w.a)(R,"".concat(j,"-round"),G==="round"),R)),q=typeof U=="number"?{width:U,height:U,lineHeight:"".concat(U,"px")}:{};return g.createElement("span",{className:f()(j,z,Y,H),style:Object(A.a)(Object(A.a)({},q),K)})},s=r,t=d("bT9E"),a=function(P){var W=function(j){var H=j.getPrefixCls,K=P.prefixCls,U=P.className,G=P.active,z=H("skeleton",K),Y=Object(t.a)(P,["prefixCls"]),q=f()(z,"".concat(z,"-element"),Object(w.a)({},"".concat(z,"-active"),G),U);return g.createElement("div",{className:q},g.createElement(s,Object(A.a)({prefixCls:"".concat(z,"-avatar")},Y)))};return g.createElement(i.a,null,W)};a.defaultProps={size:"default",shape:"circle"};var c=a,h=function(P){var W=function(j){var H=j.getPrefixCls,K=P.prefixCls,U=P.className,G=P.active,z=H("skeleton",K),Y=Object(t.a)(P,["prefixCls"]),q=f()(z,"".concat(z,"-element"),Object(w.a)({},"".concat(z,"-active"),G),U);return g.createElement("div",{className:q},g.createElement(s,Object(A.a)({prefixCls:"".concat(z,"-button")},Y)))};return g.createElement(i.a,null,W)};h.defaultProps={size:"default"};var p=h,m=function(P){var W=function(j){var H=j.getPrefixCls,K=P.prefixCls,U=P.className,G=P.active,z=H("skeleton",K),Y=Object(t.a)(P,["prefixCls"]),q=f()(z,"".concat(z,"-element"),Object(w.a)({},"".concat(z,"-active"),G),U);return g.createElement("div",{className:q},g.createElement(s,Object(A.a)({prefixCls:"".concat(z,"-input")},Y)))};return g.createElement(i.a,null,W)};m.defaultProps={size:"default"};var S=m,y="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",x=function(P){var W=function(j){var H=j.getPrefixCls,K=P.prefixCls,U=P.className,G=P.style,z=H("skeleton",K),Y=f()(z,"".concat(z,"-element"),U);return g.createElement("div",{className:Y},g.createElement("div",{className:f()("".concat(z,"-image"),U),style:G},g.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(z,"-image-svg")},g.createElement("path",{d:y,className:"".concat(z,"-image-path")}))))};return g.createElement(i.a,null,W)},C=x;function T(N){return N&&Object(b.a)(N)==="object"?N:{}}function _(N,P){return N&&!P?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function E(N,P){return!N&&P?{width:"38%"}:N&&P?{width:"50%"}:{}}function I(N,P){var W={};return(!N||!P)&&(W.width="61%"),!N&&P?W.rows=3:W.rows=2,W}var L=function(P){var W=function(j){var H=j.getPrefixCls,K=j.direction,U=P.prefixCls,G=P.loading,z=P.className,Y=P.children,q=P.avatar,oe=P.title,ie=P.paragraph,se=P.active,he=P.round,pe=H("skeleton",U);if(G||!("loading"in P)){var _e,De=!!q,Xe=!!oe,J=!!ie,Ee;if(De){var qe=Object(A.a)(Object(A.a)({prefixCls:"".concat(pe,"-avatar")},_(Xe,J)),T(q));Ee=g.createElement("div",{className:"".concat(pe,"-header")},g.createElement(s,qe))}var ae;if(Xe||J){var V;if(Xe){var X=Object(A.a)(Object(A.a)({prefixCls:"".concat(pe,"-title")},E(De,J)),T(oe));V=g.createElement(u,X)}var Z;if(J){var ge=Object(A.a)(Object(A.a)({prefixCls:"".concat(pe,"-paragraph")},I(De,Xe)),T(ie));Z=g.createElement(n,ge)}ae=g.createElement("div",{className:"".concat(pe,"-content")},V,Z)}var le=f()(pe,(_e={},Object(w.a)(_e,"".concat(pe,"-with-avatar"),De),Object(w.a)(_e,"".concat(pe,"-active"),se),Object(w.a)(_e,"".concat(pe,"-rtl"),K==="rtl"),Object(w.a)(_e,"".concat(pe,"-round"),he),_e),z);return g.createElement("div",{className:le},Ee,ae)}return Y};return g.createElement(i.a,null,W)};L.defaultProps={avatar:!1,title:!0,paragraph:!0},L.Button=p,L.Avatar=c,L.Input=S,L.Image=C;var D=L,F=B.a=D},"/iHx":function(k,B,d){var w=d("6GrX"),A=d("IwbS"),b=["textStyle","color"],g={getTextColor:function(v){var f=this.ecModel;return this.getShallow("color")||(!v&&f?f.get(b):null)},getFont:function(){return A.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(v){return w.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"))}};k.exports=g},"/ry/":function(k,B,d){var w=d("bYtY"),A=d("T4UG"),b=d("5GhG"),g=b.seriesModelMixin,v=A.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}});w.mixin(v,g,!0);var f=v;k.exports=f},"/stD":function(k,B,d){var w=d("bYtY"),A=d("IUWy"),b=d("Kagy"),g=b.toolbox.brush;function v(u,o,e){this.model=u,this.ecModel=o,this.api=e,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:w.clone(g.title)};var f=v.prototype;f.render=f.updateView=function(u,o,e){var n,i,r;o.eachComponent({mainType:"brush"},function(s){n=s.brushType,i=s.brushOption.brushMode||"single",r|=s.areas.length}),this._brushType=n,this._brushMode=i,w.each(u.get("type",!0),function(s){u.setIconStatus(s,(s==="keep"?i==="multiple":s==="clear"?r:s===n)?"emphasis":"normal")})},f.getIcons=function(){var u=this.model,o=u.get("icon",!0),e={};return w.each(u.get("type",!0),function(n){o[n]&&(e[n]=o[n])}),e},f.onclick=function(u,o,e){var n=this._brushType,i=this._brushMode;e==="clear"?(o.dispatchAction({type:"axisAreaSelect",intervals:[]}),o.dispatchAction({type:"brush",command:"clear",areas:[]})):o.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:e==="keep"?n:n===e?!1:e,brushMode:e==="keep"?i==="multiple"?"single":"multiple":i}})},A.register("brush",v);var l=v;k.exports=l},"/wGt":function(k,B,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("1OyB"),g=d("vuIU"),v=d("JX7q"),f=d("Ji7U"),l=d("LK+K"),u=d("q1tI"),o=d("Ff2n"),e=d("1W/9"),n=d("TSYQ"),i=d.n(n),r=d("qx4F"),s=d("4IlW"),t=d("bT9E");function a(Y){return Array.isArray(Y)?Y:[Y]}var c={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},h=Object.keys(c).filter(function(Y){if(typeof document=="undefined")return!1;var q=document.getElementsByTagName("html")[0];return Y in(q?q.style:{})})[0],p=c[h];function m(Y,q,oe,ie){Y.addEventListener?Y.addEventListener(q,oe,ie):Y.attachEvent&&Y.attachEvent("on".concat(q),oe)}function S(Y,q,oe,ie){Y.removeEventListener?Y.removeEventListener(q,oe,ie):Y.attachEvent&&Y.detachEvent("on".concat(q),oe)}function y(Y,q){var oe=typeof Y=="function"?Y(q):Y;return Array.isArray(oe)?oe.length===2?oe:[oe[0],oe[1]]:[oe]}var x=function(q){return!isNaN(parseFloat(q))&&isFinite(q)},C=!(typeof window!="undefined"&&window.document&&window.document.createElement),T=function Y(q,oe,ie,se){if(!oe||oe===document||oe instanceof Document)return!1;if(oe===q.parentNode)return!0;var he=Math.max(Math.abs(ie),Math.abs(se))===Math.abs(se),pe=Math.max(Math.abs(ie),Math.abs(se))===Math.abs(ie),_e=oe.scrollHeight-oe.clientHeight,De=oe.scrollWidth-oe.clientWidth,Xe=document.defaultView.getComputedStyle(oe),J=Xe.overflowY==="auto"||Xe.overflowY==="scroll",Ee=Xe.overflowX==="auto"||Xe.overflowX==="scroll",qe=_e&&J,ae=De&&Ee;return he&&(!qe||qe&&(oe.scrollTop>=_e&&se<0||oe.scrollTop<=0&&se>0))||pe&&(!ae||ae&&(oe.scrollLeft>=De&&ie<0||oe.scrollLeft<=0&&ie>0))?Y(q,oe.parentNode,ie,se):!1},_={},E=function(Y){Object(f.a)(oe,Y);var q=Object(l.a)(oe);function oe(ie){var se;return Object(b.a)(this,oe),se=q.call(this,ie),se.domFocus=function(){se.dom&&se.dom.focus()},se.removeStartHandler=function(he){if(he.touches.length>1)return;se.startPos={x:he.touches[0].clientX,y:he.touches[0].clientY}},se.removeMoveHandler=function(he){if(he.changedTouches.length>1)return;var pe=he.currentTarget,_e=he.changedTouches[0].clientX-se.startPos.x,De=he.changedTouches[0].clientY-se.startPos.y;(pe===se.maskDom||pe===se.handlerDom||pe===se.contentDom&&T(pe,he.target,_e,De))&&he.cancelable&&he.preventDefault()},se.transitionEnd=function(he){var pe=he.target;S(pe,p,se.transitionEnd),pe.style.transition=""},se.onKeyDown=function(he){if(he.keyCode===s.a.ESC){var pe=se.props.onClose;he.stopPropagation(),pe&&pe(he)}},se.onWrapperTransitionEnd=function(he){var pe=se.props,_e=pe.open,De=pe.afterVisibleChange;he.target===se.contentWrapper&&he.propertyName.match(/transform$/)&&(se.dom.style.transition="",!_e&&se.getCurrentDrawerSome()&&(document.body.style.overflowX="",se.maskDom&&(se.maskDom.style.left="",se.maskDom.style.width="")),De&&De(!!_e))},se.openLevelTransition=function(){var he=se.props,pe=he.open,_e=he.width,De=he.height,Xe=se.getHorizontalBoolAndPlacementName(),J=Xe.isHorizontal,Ee=Xe.placementName,qe=se.contentDom?se.contentDom.getBoundingClientRect()[J?"width":"height"]:0,ae=(J?_e:De)||qe;se.setLevelAndScrolling(pe,Ee,ae)},se.setLevelTransform=function(he,pe,_e,De){var Xe=se.props,J=Xe.placement,Ee=Xe.levelMove,qe=Xe.duration,ae=Xe.ease,V=Xe.showMask;se.levelDom.forEach(function(X){X.style.transition="transform ".concat(qe," ").concat(ae),m(X,p,se.transitionEnd);var Z=he?_e:0;if(Ee){var ge=y(Ee,{target:X,open:he});Z=he?ge[0]:ge[1]||0}var le=typeof Z=="number"?"".concat(Z,"px"):Z,Se=J==="left"||J==="top"?le:"-".concat(le);Se=V&&J==="right"&&De?"calc(".concat(Se," + ").concat(De,"px)"):Se,X.style.transform=Z?"".concat(pe,"(").concat(Se,")"):""})},se.setLevelAndScrolling=function(he,pe,_e){var De=se.props.onChange;if(!C){var Xe=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(r.a)(!0):0;se.setLevelTransform(he,pe,_e,Xe),se.toggleScrollingToDrawerAndBody(Xe)}De&&De(he)},se.toggleScrollingToDrawerAndBody=function(he){var pe=se.props,_e=pe.getContainer,De=pe.showMask,Xe=pe.open,J=_e&&_e();if(J&&J.parentNode===document.body&&De){var Ee=["touchstart"],qe=[document.body,se.maskDom,se.handlerDom,se.contentDom];Xe&&document.body.style.overflow!=="hidden"?(he&&se.addScrollingEffect(he),document.body.style.touchAction="none",qe.forEach(function(ae,V){if(!ae)return;m(ae,Ee[V]||"touchmove",V?se.removeMoveHandler:se.removeStartHandler,se.passive)})):se.getCurrentDrawerSome()&&(document.body.style.touchAction="",he&&se.remScrollingEffect(he),qe.forEach(function(ae,V){if(!ae)return;S(ae,Ee[V]||"touchmove",V?se.removeMoveHandler:se.removeStartHandler,se.passive)}))}},se.addScrollingEffect=function(he){var pe=se.props,_e=pe.placement,De=pe.duration,Xe=pe.ease,J="width ".concat(De," ").concat(Xe),Ee="transform ".concat(De," ").concat(Xe);se.dom.style.transition="none";switch(_e){case"right":se.dom.style.transform="translateX(-".concat(he,"px)");break;case"top":case"bottom":se.dom.style.width="calc(100% - ".concat(he,"px)"),se.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(se.timeout),se.timeout=setTimeout(function(){se.dom&&(se.dom.style.transition="".concat(Ee,",").concat(J),se.dom.style.width="",se.dom.style.transform="")})},se.remScrollingEffect=function(he){var pe=se.props,_e=pe.placement,De=pe.duration,Xe=pe.ease;h&&(document.body.style.overflowX="hidden"),se.dom.style.transition="none";var J,Ee="width ".concat(De," ").concat(Xe),qe="transform ".concat(De," ").concat(Xe);switch(_e){case"left":{se.dom.style.width="100%",Ee="width 0s ".concat(Xe," ").concat(De);break}case"right":{se.dom.style.transform="translateX(".concat(he,"px)"),se.dom.style.width="100%",Ee="width 0s ".concat(Xe," ").concat(De),se.maskDom&&(se.maskDom.style.left="-".concat(he,"px"),se.maskDom.style.width="calc(100% + ".concat(he,"px)"));break}case"top":case"bottom":{se.dom.style.width="calc(100% + ".concat(he,"px)"),se.dom.style.height="100%",se.dom.style.transform="translateZ(0)",J="height 0s ".concat(Xe," ").concat(De);break}default:break}clearTimeout(se.timeout),se.timeout=setTimeout(function(){se.dom&&(se.dom.style.transition="".concat(qe,",").concat(J?"".concat(J,","):"").concat(Ee),se.dom.style.transform="",se.dom.style.width="",se.dom.style.height="")})},se.getCurrentDrawerSome=function(){return!Object.keys(_).some(function(he){return _[he]})},se.getLevelDom=function(he){var pe=he.level,_e=he.getContainer;if(C)return;var De=_e&&_e(),Xe=De?De.parentNode:null;if(se.levelDom=[],pe==="all"){var J=Xe?Array.prototype.slice.call(Xe.children):[];J.forEach(function(Ee){Ee.nodeName!=="SCRIPT"&&Ee.nodeName!=="STYLE"&&Ee.nodeName!=="LINK"&&Ee!==De&&se.levelDom.push(Ee)})}else pe&&a(pe).forEach(function(Ee){document.querySelectorAll(Ee).forEach(function(qe){se.levelDom.push(qe)})})},se.getHorizontalBoolAndPlacementName=function(){var he=se.props.placement,pe=he==="left"||he==="right",_e="translate".concat(pe?"X":"Y");return{isHorizontal:pe,placementName:_e}},se.state={_self:Object(v.a)(se)},se}return Object(g.a)(oe,[{key:"componentDidMount",value:function(){var se=this;if(!C){var he=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return he=!0,null}}))}catch(Ee){}this.passive=he?{passive:!1}:!1}var pe=this.props,_e=pe.open,De=pe.getContainer,Xe=De&&De();if(this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),_e){var J;Xe&&Xe.parentNode===document.body&&(_[this.drawerId]=_e),this.openLevelTransition(),this.forceUpdate(function(){se.domFocus()}),(J=this.props.scrollLocker)===null||J===void 0||J.lock()}}},{key:"componentDidUpdate",value:function(se){var he=this.props,pe=he.open,_e=he.getContainer,De=he.scrollLocker,Xe=_e&&_e();pe!==se.open&&(Xe&&Xe.parentNode===document.body&&(_[this.drawerId]=!!pe),this.openLevelTransition(),pe?(this.domFocus(),De==null||De.lock()):De==null||De.unLock())}},{key:"componentWillUnmount",value:function(){var se=this.props,he=se.open,pe=se.scrollLocker;delete _[this.drawerId],he&&(this.setLevelTransform(!1),document.body.style.touchAction=""),pe==null||pe.unLock()}},{key:"render",value:function(){var se,he=this,pe=this.props,_e=pe.className,De=pe.children,Xe=pe.style,J=pe.width,Ee=pe.height,qe=pe.defaultOpen,ae=pe.open,V=pe.prefixCls,X=pe.placement,Z=pe.level,ge=pe.levelMove,le=pe.ease,Se=pe.duration,me=pe.getContainer,$=pe.handler,we=pe.onChange,xe=pe.afterVisibleChange,We=pe.showMask,st=pe.maskClosable,nt=pe.maskStyle,Ne=pe.onClose,St=pe.onHandleClick,Ye=pe.keyboard,vt=pe.getOpenCount,It=pe.scrollLocker,Ut=Object(o.a)(pe,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","scrollLocker"]),xt=this.dom?ae:!1,Bt=i()(V,(se={},Object(w.a)(se,"".concat(V,"-").concat(X),!0),Object(w.a)(se,"".concat(V,"-open"),xt),Object(w.a)(se,_e||"",!!_e),Object(w.a)(se,"no-mask",!We),se)),Qe=this.getHorizontalBoolAndPlacementName(),te=Qe.placementName,Q=X==="left"||X==="top"?"-100%":"100%",Me=xt?"":"".concat(te,"(").concat(Q,")"),Ce=$&&u.cloneElement($,{onClick:function(ot){$.props.onClick&&$.props.onClick(),St&&St(ot)},ref:function(ot){he.handlerDom=ot}});return u.createElement("div",Object(A.a)({},Object(t.a)(Ut,["switchScrollingEffect"]),{tabIndex:-1,className:Bt,style:Xe,ref:function(ot){he.dom=ot},onKeyDown:xt&&Ye?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),We&&u.createElement("div",{className:"".concat(V,"-mask"),onClick:st?Ne:void 0,style:nt,ref:function(ot){he.maskDom=ot}}),u.createElement("div",{className:"".concat(V,"-content-wrapper"),style:{transform:Me,msTransform:Me,width:x(J)?"".concat(J,"px"):J,height:x(Ee)?"".concat(Ee,"px"):Ee},ref:function(ot){he.contentWrapper=ot}},u.createElement("div",{className:"".concat(V,"-content"),ref:function(ot){he.contentDom=ot},onTouchStart:xt&&We?this.removeStartHandler:void 0,onTouchMove:xt&&We?this.removeMoveHandler:void 0},De),Ce))}}],[{key:"getDerivedStateFromProps",value:function(se,he){var pe=he.prevProps,_e=he._self,De={prevProps:se};if(pe!==void 0){var Xe=se.placement,J=se.level;Xe!==pe.placement&&(_e.contentDom=null),J!==pe.level&&_e.getLevelDom(se)}return De}}]),oe}(u.Component),I=E,L=function(Y){Object(f.a)(oe,Y);var q=Object(l.a)(oe);function oe(ie){var se;Object(b.a)(this,oe),se=q.call(this,ie),se.onHandleClick=function(pe){var _e=se.props,De=_e.onHandleClick,Xe=_e.open;if(De&&De(pe),typeof Xe=="undefined"){var J=se.state.open;se.setState({open:!J})}},se.onClose=function(pe){var _e=se.props,De=_e.onClose,Xe=_e.open;De&&De(pe),typeof Xe=="undefined"&&se.setState({open:!1})};var he=typeof ie.open!="undefined"?ie.open:!!ie.defaultOpen;return se.state={open:he},"onMaskClick"in ie&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),se}return Object(g.a)(oe,[{key:"render",value:function(){var se=this,he=this.props,pe=he.defaultOpen,_e=he.getContainer,De=he.wrapperClassName,Xe=he.forceRender,J=he.handler,Ee=Object(o.a)(he,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),qe=this.state.open;if(!_e)return u.createElement("div",{className:De,ref:function(X){se.dom=X}},u.createElement(I,Object(A.a)({},Ee,{open:qe,handler:J,getContainer:function(){return se.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var ae=!!J||Xe;return u.createElement(e.a,{visible:qe,forceRender:ae,getContainer:_e,wrapperClassName:De},function(V){var X=V.visible,Z=V.afterClose,ge=Object(o.a)(V,["visible","afterClose"]);return u.createElement(I,Object(A.a)({},Ee,ge,{open:X!==void 0?X:qe,afterVisibleChange:Z!==void 0?Z:Ee.afterVisibleChange,handler:J,onClose:se.onClose,onHandleClick:se.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(se,he){var pe=he.prevProps,_e={prevProps:se};return typeof pe!="undefined"&&se.open!==pe.open&&(_e.open=se.open),_e}}]),oe}(u.Component);L.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:u.createElement("div",{className:"drawer-handle"},u.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var D=L,F=D,N=d("4i/N"),P=d("H84U"),W=d("CWQg"),R=function(Y,q){var oe={};for(var ie in Y)Object.prototype.hasOwnProperty.call(Y,ie)&&q.indexOf(ie)<0&&(oe[ie]=Y[ie]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,ie=Object.getOwnPropertySymbols(Y);se<ie.length;se++)q.indexOf(ie[se])<0&&Object.prototype.propertyIsEnumerable.call(Y,ie[se])&&(oe[ie[se]]=Y[ie[se]]);return oe},j=u.createContext(null),H=Object(W.a)("top","right","bottom","left"),K={distance:180},U=function(Y){Object(f.a)(oe,Y);var q=Object(l.a)(oe);function oe(){var ie;return Object(b.a)(this,oe),ie=q.apply(this,arguments),ie.state={push:!1},ie.push=function(){ie.props.push&&ie.setState({push:!0})},ie.pull=function(){ie.props.push&&ie.setState({push:!1})},ie.onDestroyTransitionEnd=function(){var se=ie.getDestroyOnClose();if(!se)return;ie.props.visible||(ie.destroyClose=!0,ie.forceUpdate())},ie.getDestroyOnClose=function(){return ie.props.destroyOnClose&&!ie.props.visible},ie.getPushDistance=function(){var se=ie.props.push,he;return typeof se=="boolean"?he=se?K.distance:0:he=se.distance,parseFloat(String(he||0))},ie.getPushTransform=function(se){var he=ie.getPushDistance();if(se==="left"||se==="right")return"translateX(".concat(se==="left"?he:-he,"px)");if(se==="top"||se==="bottom")return"translateY(".concat(se==="top"?he:-he,"px)")},ie.getRcDrawerStyle=function(){var se=ie.props,he=se.zIndex,pe=se.placement,_e=se.mask,De=se.style,Xe=ie.state.push,J=_e?{}:ie.getOffsetStyle();return Object(A.a)(Object(A.a)({zIndex:he,transform:Xe?ie.getPushTransform(pe):void 0},J),De)},ie.renderBody=function(){var se=ie.props,he=se.bodyStyle,pe=se.drawerStyle,_e=se.prefixCls,De=se.visible;if(ie.destroyClose&&!De)return null;ie.destroyClose=!1;var Xe={},J=ie.getDestroyOnClose();return J&&(Xe.opacity=0,Xe.transition="opacity .3s"),u.createElement("div",{className:"".concat(_e,"-wrapper-body"),style:Object(A.a)(Object(A.a)({},Xe),pe),onTransitionEnd:ie.onDestroyTransitionEnd},ie.renderHeader(),u.createElement("div",{className:"".concat(_e,"-body"),style:he},ie.props.children),ie.renderFooter())},ie.renderProvider=function(se){ie.parentDrawer=se;var he=ie.props,pe=he.prefixCls,_e=he.placement,De=he.className,Xe=he.mask,J=he.direction,Ee=he.visible,qe=R(he,["prefixCls","placement","className","mask","direction","visible"]),ae=i()(Object(w.a)({"no-mask":!Xe},"".concat(pe,"-rtl"),J==="rtl"),De),V=Xe?ie.getOffsetStyle():{};return u.createElement(j.Provider,{value:Object(v.a)(ie)},u.createElement(F,Object(A.a)({handler:!1},Object(t.a)(qe,["zIndex","closable","closeIcon","destroyOnClose","drawerStyle","headerStyle","bodyStyle","footerStyle","footer","title","push","width","height"]),V,{prefixCls:pe,open:Ee,showMask:Xe,placement:_e,style:ie.getRcDrawerStyle(),className:ae}),ie.renderBody()))},ie}return Object(g.a)(oe,[{key:"componentDidMount",value:function(){var se=this.props.visible;se&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(se){var he=this.props.visible;se.visible!==he&&this.parentDrawer&&(he?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var se=this.props,he=se.placement,pe=se.width,_e=se.height,De=se.visible,Xe=se.mask;if(!De&&!Xe)return{};var J={};return he==="left"||he==="right"?J.width=pe:J.height=_e,J}},{key:"renderHeader",value:function(){var se=this.props,he=se.title,pe=se.prefixCls,_e=se.closable,De=se.headerStyle;if(!he&&!_e)return null;var Xe=he?"".concat(pe,"-header"):"".concat(pe,"-header-no-title");return u.createElement("div",{className:Xe,style:De},he&&u.createElement("div",{className:"".concat(pe,"-title")},he),_e&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var se=this.props,he=se.footer,pe=se.footerStyle,_e=se.prefixCls;if(!he)return null;var De="".concat(_e,"-footer");return u.createElement("div",{className:De,style:pe},he)}},{key:"renderCloseIcon",value:function(){var se=this.props,he=se.closable,pe=se.closeIcon,_e=pe===void 0?u.createElement(N.a,null):pe,De=se.prefixCls,Xe=se.onClose;return he&&u.createElement("button",{type:"button",onClick:Xe,"aria-label":"Close",className:"".concat(De,"-close"),style:{"--scroll-bar":"".concat(Object(r.a)(),"px")}},_e)}},{key:"render",value:function(){return u.createElement(j.Consumer,null,this.renderProvider)}}]),oe}(u.Component);U.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:K};var G=function(q){var oe=q.prefixCls,ie=q.getContainer,se=u.useContext(P.b),he=se.getPopupContainer,pe=se.getPrefixCls,_e=se.direction,De=pe("drawer",oe),Xe=ie===void 0&&he?function(){return he(document.body)}:ie;return u.createElement(U,Object(A.a)({},q,{prefixCls:De,getContainer:Xe,direction:_e}))};G.displayName="DrawerWrapper";var z=B.a=G},"/y7N":function(k,B,d){var w=d("bYtY"),A=d("IwbS"),b=d("6GrX"),g=d("7aKB"),v=d("Fofx"),f=d("aX7z"),l=d("+rIm");function u(c){var h=c.get("type"),p=c.getModel(h+"Style"),m;return h==="line"?(m=p.getLineStyle(),m.fill=null):h==="shadow"&&(m=p.getAreaStyle(),m.stroke=null),m}function o(c,h,p,m,S){var y=p.get("value"),x=n(y,h.axis,h.ecModel,p.get("seriesDataIndices"),{precision:p.get("label.precision"),formatter:p.get("label.formatter")}),C=p.getModel("label"),T=g.normalizeCssArray(C.get("padding")||0),_=C.getFont(),E=b.getBoundingRect(x,_),I=S.position,L=E.width+T[1]+T[3],D=E.height+T[0]+T[2],F=S.align;F==="right"&&(I[0]-=L),F==="center"&&(I[0]-=L/2);var N=S.verticalAlign;N==="bottom"&&(I[1]-=D),N==="middle"&&(I[1]-=D/2),e(I,L,D,m);var P=C.get("backgroundColor");(!P||P==="auto")&&(P=h.get("axisLine.lineStyle.color")),c.label={shape:{x:0,y:0,width:L,height:D,r:C.get("borderRadius")},position:I.slice(),style:{text:x,textFont:_,textFill:C.getTextColor(),textPosition:"inside",textPadding:T,fill:P,stroke:C.get("borderColor")||"transparent",lineWidth:C.get("borderWidth")||0,shadowBlur:C.get("shadowBlur"),shadowColor:C.get("shadowColor"),shadowOffsetX:C.get("shadowOffsetX"),shadowOffsetY:C.get("shadowOffsetY")},z2:10}}function e(c,h,p,m){var S=m.getWidth(),y=m.getHeight();c[0]=Math.min(c[0]+h,S)-h,c[1]=Math.min(c[1]+p,y)-p,c[0]=Math.max(c[0],0),c[1]=Math.max(c[1],0)}function n(c,h,p,m,S){c=h.scale.parse(c);var y=h.scale.getLabel(c,{precision:S.precision}),x=S.formatter;if(x){var C={value:f.getAxisRawValue(h,c),axisDimension:h.dim,axisIndex:h.index,seriesData:[]};w.each(m,function(T){var _=p.getSeriesByIndex(T.seriesIndex),E=T.dataIndexInside,I=_&&_.getDataParams(E);I&&C.seriesData.push(I)}),w.isString(x)?y=x.replace("{value}",y):w.isFunction(x)&&(y=x(C))}return y}function i(c,h,p){var m=v.create();return v.rotate(m,m,p.rotation),v.translate(m,m,p.position),A.applyTransform([c.dataToCoord(h),(p.labelOffset||0)+(p.labelDirection||1)*(p.labelMargin||0)],m)}function r(c,h,p,m,S,y){var x=l.innerTextLayout(p.rotation,0,p.labelDirection);p.labelMargin=S.get("label.margin"),o(h,m,S,y,{position:i(m.axis,c,p),align:x.textAlign,verticalAlign:x.textVerticalAlign})}function s(c,h,p){return p=p||0,{x1:c[p],y1:c[1-p],x2:h[p],y2:h[1-p]}}function t(c,h,p){return p=p||0,{x:c[p],y:c[1-p],width:h[p],height:h[1-p]}}function a(c,h,p,m,S,y){return{cx:c,cy:h,r0:p,r:m,startAngle:S,endAngle:y,clockwise:!0}}B.buildElStyle=u,B.buildLabelElOption=o,B.getValueLabel=n,B.getTransformedPosition=i,B.buildCartesianSingleLabelElOption=r,B.makeLineShape=s,B.makeRectShape=t,B.makeSectorShape=a},"/zsF":function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("bE4E"),g=d.n(b)},"0/Rx":function(k,B){function d(w){return{seriesType:w,reset:function(A,b){var g=b.findComponents({mainType:"legend"});if(!g||!g.length)return;var v=A.getData();v.filterSelf(function(f){for(var l=v.getName(f),u=0;u<g.length;u++)if(!g[u].isSelected(l))return!1;return!0})}}}k.exports=d},"01d+":function(k,B,d){var w=d("bYtY"),A=w.each,b=d("HF/U"),g=b.simpleLayout,v=b.simpleLayoutEdge;function f(l,u){l.eachSeriesByType("graph",function(o){var e=o.get("layout"),n=o.coordinateSystem;if(n&&n.type!=="view"){var i=o.getData(),r=[];A(n.dimensions,function(p){r=r.concat(i.mapDimension(p,!0))});for(var s=0;s<i.count();s++){for(var t=[],a=!1,c=0;c<r.length;c++){var h=i.get(r[c],s);isNaN(h)||(a=!0),t.push(h)}a?i.setItemLayout(s,n.dataToPoint(t)):i.setItemLayout(s,[NaN,NaN])}v(i.graph)}else(!e||e==="none")&&g(o)})}k.exports=f},"06DH":function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("Kagy"),g=d("IUWy"),v=b.toolbox.magicType,f="__ec_magicType_stack__";function l(i){this.model=i}l.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:A.clone(v.title),option:{},seriesIndex:{}};var u=l.prototype;u.getIcons=function(){var i=this.model,r=i.get("icon"),s={};return A.each(i.get("type"),function(t){r[t]&&(s[t]=r[t])}),s};var o={line:function(i,r,s,t){if(i==="bar")return A.merge({id:r,type:"line",data:s.get("data"),stack:s.get("stack"),markPoint:s.get("markPoint"),markLine:s.get("markLine")},t.get("option.line")||{},!0)},bar:function(i,r,s,t){if(i==="line")return A.merge({id:r,type:"bar",data:s.get("data"),stack:s.get("stack"),markPoint:s.get("markPoint"),markLine:s.get("markLine")},t.get("option.bar")||{},!0)},stack:function(i,r,s,t){var a=s.get("stack")===f;if(i==="line"||i==="bar")return t.setIconStatus("stack",a?"normal":"emphasis"),A.merge({id:r,stack:a?"":f},t.get("option.stack")||{},!0)}},e=[["line","bar"],["stack"]];u.onclick=function(i,r,s){var t=this.model,a=t.get("seriesIndex."+s);if(!o[s])return;var c={series:[]},h=function(S){var y=S.subType,x=S.id,C=o[s](y,x,S,t);C&&(A.defaults(C,S.option),c.series.push(C));var T=S.coordinateSystem;if(T&&T.type==="cartesian2d"&&(s==="line"||s==="bar")){var _=T.getAxesByScale("ordinal")[0];if(_){var E=_.dim,I=E+"Axis",L=i.queryComponents({mainType:I,index:S.get(name+"Index"),id:S.get(name+"Id")})[0],D=L.componentIndex;c[I]=c[I]||[];for(var F=0;F<=D;F++)c[I][D]=c[I][D]||{};c[I][D].boundaryGap=s==="bar"}}};A.each(e,function(S){A.indexOf(S,s)>=0&&A.each(S,function(y){t.setIconStatus(y,"normal")})}),t.setIconStatus(s,"emphasis"),i.eachComponent({mainType:"series",query:a==null?null:{seriesIndex:a}},h);var p;if(s==="stack"){var m=c.series&&c.series[0]&&c.series[0].stack===f;p=m?A.merge({stack:v.title.tiled},v.title):A.clone(v.title)}r.dispatchAction({type:"changeMagicType",currentType:s,newOption:c,newTitle:p,featureName:"magicType"})},w.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(i,r){r.mergeOption(i.newOption)}),g.register("magicType",l);var n=l;k.exports=n},"06Qe":function(k,B,d){var w=d("ItGF"),A="urn:schemas-microsoft-com:vml",b=typeof window=="undefined"?null:window,g=!1,v=b&&b.document;function f(o){return l(o)}var l;if(v&&!w.canvasSupported)try{!v.namespaces.zrvml&&v.namespaces.add("zrvml",A),l=function(e){return v.createElement("<zrvml:"+e+' class="zrvml">')}}catch(o){l=function(n){return v.createElement("<"+n+' xmlns="'+A+'" class="zrvml">')}}function u(){if(g||!v)return;g=!0;var o=v.styleSheets;o.length<31?v.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):o[0].addRule(".zrvml","behavior:url(#default#VML)")}B.doc=v,B.createNode=f,B.initVML=u},"09Wf":function(k,B,d){"use strict";d.d(B,"b",function(){return A}),d.d(B,"a",function(){return b});var w=d("CWQg"),A=Object(w.a)("success","processing","error","default","warning"),b=Object(w.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(k,B,d){var w=d("T4UG"),A=d("I3/A"),b=d("7aKB"),g=b.encodeHTML,v=d("Qxkt"),f=d("Tghj"),l=f.__DEV__,u=w.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(e,n){for(var i=e.edges||e.links,r=e.data||e.nodes,s=e.levels,t=this.levelModels={},a=0;a<s.length;a++)s[a].depth!=null&&s[a].depth>=0&&(t[s[a].depth]=new v(s[a],this,n));if(r&&i){var c=A(r,i,this,!0,h);return c.data}function h(p,m){p.wrapMethod("getItemModel",function(S,y){return S.customizeGetParent(function(x){var C=this.parentModel,T=C.getData().getItemLayout(y).depth,_=C.levelModels[T];return _||this.parentModel}),S}),m.wrapMethod("getItemModel",function(S,y){return S.customizeGetParent(function(x){var C=this.parentModel,T=C.getGraph().getEdgeByIndex(y),_=T.node1.getLayout().depth,E=C.levelModels[_];return E||this.parentModel}),S})}},setNodePosition:function(e,n){var i=this.option.data[e];i.localX=n[0],i.localY=n[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,n,i){if(i==="edge"){var r=this.getDataParams(e,i),s=r.data,t=s.source+" -- "+s.target;return r.value&&(t+=" : "+r.value),g(t)}else if(i==="node"){var a=this.getGraph().getNodeByIndex(e),c=a.getLayout().value,h=this.getDataParams(e,i).data.name;if(c)var t=h+" : "+c;return g(t)}return u.superCall(this,"formatTooltip",e,n)},optionUpdated:function(){var e=this.option;e.focusNodeAdjacency===!0&&(e.focusNodeAdjacency="allEdges")},getDataParams:function(e,n){var i=u.superCall(this,"getDataParams",e,n);if(i.value==null&&n==="node"){var r=this.getGraph().getNodeByIndex(e),s=r.getLayout().value;i.value=s}return i},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),o=u;k.exports=o},"0HBW":function(k,B,d){var w=d("ProS"),A=d("bYtY");d("Hxpc"),d("7uqq"),d("dmGj"),d("SehX");function b(g,v){v.update="updateView",w.registerAction(v,function(f,l){var u={};return l.eachComponent({mainType:"geo",query:f},function(o){o[g](f.name);var e=o.coordinateSystem;A.each(e.regions,function(n){u[n.name]=o.isSelected(n.name)||!1})}),{selected:u,name:f.name}})}b("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),b("select",{type:"geoSelect",event:"geoselected"}),b("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(k,B,d){var w=d("bYtY"),A=d("+TT/"),b=d("OELB"),g=d("IDmD"),v=864e5;function f(o,e,n){this._model=o}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(o){o=b.parseDate(o);var e=o.getFullYear(),n=o.getMonth()+1;n=n<10?"0"+n:n;var i=o.getDate();i=i<10?"0"+i:i;var r=o.getDay();return r=Math.abs((r+7-this.getFirstDayOfWeek())%7),{y:e,m:n,d:i,day:r,time:o.getTime(),formatedDate:e+"-"+n+"-"+i,date:o}},getNextNDay:function(o,e){return e=e||0,e===0?this.getDateInfo(o):(o=new Date(this.getDateInfo(o).time),o.setDate(o.getDate()+e),this.getDateInfo(o))},update:function(o,e){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 n=this._rangeInfo.weeks||1,i=["width","height"],r=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[n,7]:[7,n];w.each([0,1],function(p){h(r,p)&&(s[i[p]]=r[p]*t[p])});var a={width:e.getWidth(),height:e.getHeight()},c=this._rect=A.getLayoutRect(s,a);w.each([0,1],function(p){h(r,p)||(r[p]=c[i[p]]/t[p])});function h(p,m){return p[m]!=null&&p[m]!=="auto"}this._sw=r[0],this._sh=r[1]},dataToPoint:function(o,e){w.isArray(o)&&(o=o[0]),e==null&&(e=!0);var n=this.getDateInfo(o),i=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+v))return[NaN,NaN];var s=n.day,t=this._getRangeInfo([i.start.time,r]).nthWeek;return this._orient==="vertical"?[this._rect.x+s*this._sw+this._sw/2,this._rect.y+t*this._sh+this._sh/2]:[this._rect.x+t*this._sw+this._sw/2,this._rect.y+s*this._sh+this._sh/2]},pointToData:function(o){var e=this.pointToDate(o);return e&&e.time},dataToRect:function(o,e){var n=this.dataToPoint(o,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},pointToDate:function(o){var e=Math.floor((o[0]-this._rect.x)/this._sw)+1,n=Math.floor((o[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},convertToPixel:w.curry(l,"dataToPoint"),convertFromPixel:w.curry(l,"pointToData"),_initRangeOption:function(){var o=this._model.get("range"),e=o;if(w.isArray(e)&&e.length===1&&(e=e[0]),/^\d{4}$/.test(e)&&(o=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var n=this.getDateInfo(e),i=n.date;i.setMonth(i.getMonth()+1);var r=this.getNextNDay(i,-1);o=[n.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(o=[e,e]);var s=this._getRangeInfo(o);return s.start.time>s.end.time&&o.reverse(),o},_getRangeInfo:function(o){o=[this.getDateInfo(o[0]),this.getDateInfo(o[1])];var e;o[0].time>o[1].time&&(e=!0,o.reverse());var n=Math.floor(o[1].time/v)-Math.floor(o[0].time/v)+1,i=new Date(o[0].time),r=i.getDate(),s=o[1].date.getDate();i.setDate(r+n-1);var t=i.getDate();if(t!==s)for(var a=i.getTime()-o[1].time>0?1:-1;(t=i.getDate())!==s&&(i.getTime()-o[1].time)*a>0;)n-=a,i.setDate(t-a);var c=Math.floor((n+o[0].day+6)/7),h=e?-c+1:c-1;return e&&o.reverse(),{range:[o[0].formatedDate,o[1].formatedDate],start:o[0],end:o[1],allDay:n,weeks:c,nthWeek:h,fweek:o[0].day,lweek:o[1].day}},_getDateByWeeksAndDay:function(o,e,n){var i=this._getRangeInfo(n);if(o>i.weeks||o===0&&e<i.fweek||o===i.weeks&&e>i.lweek)return!1;var r=(o-1)*7-i.fweek+e,s=new Date(i.start.time);return s.setDate(i.start.d+r),this.getDateInfo(s)}},f.dimensions=f.prototype.dimensions,f.getDimensionsInfo=f.prototype.getDimensionsInfo,f.create=function(o,e){var n=[];return o.eachComponent("calendar",function(i){var r=new f(i,o,e);n.push(r),i.coordinateSystem=r}),o.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=n[i.get("calendarIndex")||0])}),n};function l(o,e,n,i){var r=n.calendarModel,s=n.seriesModel,t=r?r.coordinateSystem:s?s.coordinateSystem:null;return t===this?t[o](i):null}g.register("calendar",f);var u=f;k.exports=u},"0JQy":function(k,B){var d="\\ud800-\\udfff",w="\\u0300-\\u036f",A="\\ufe20-\\ufe2f",b="\\u20d0-\\u20ff",g=w+A+b,v="\\ufe0e\\ufe0f",f="["+d+"]",l="["+g+"]",u="\\ud83c[\\udffb-\\udfff]",o="(?:"+l+"|"+u+")",e="[^"+d+"]",n="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",s=o+"?",t="["+v+"]?",a="(?:"+r+"(?:"+[e,n,i].join("|")+")"+t+s+")*",c=t+s+a,h="(?:"+[e+l+"?",l,n,i,f].join("|")+")",p=RegExp(u+"(?="+u+")|"+h+c,"g");function m(S){return S.match(p)||[]}k.exports=m},"0NbB":function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="CaretDownOutlined";var l=B.a=A.forwardRef(f)},"0V0F":function(k,B,d){var w=d("bYtY"),A=w.createHashMap,b=w.each;function g(f){var l=A();f.eachSeries(function(u){var o=u.get("stack");if(o){var e=l.get(o)||l.set(o,[]),n=u.getData(),i={stackResultDimension:n.getCalculationInfo("stackResultDimension"),stackedOverDimension:n.getCalculationInfo("stackedOverDimension"),stackedDimension:n.getCalculationInfo("stackedDimension"),stackedByDimension:n.getCalculationInfo("stackedByDimension"),isStackedByIndex:n.getCalculationInfo("isStackedByIndex"),data:n,seriesModel:u};if(!i.stackedDimension||!(i.isStackedByIndex||i.stackedByDimension))return;e.length&&n.setCalculationInfo("stackedOnSeries",e[e.length-1].seriesModel),e.push(i)}}),l.each(v)}function v(f){b(f,function(l,u){var o=[],e=[NaN,NaN],n=[l.stackResultDimension,l.stackedOverDimension],i=l.data,r=l.isStackedByIndex,s=i.map(n,function(t,a,c){var h=i.get(l.stackedDimension,c);if(isNaN(h))return e;var p,m;r?m=i.getRawIndex(c):p=i.get(l.stackedByDimension,c);for(var S=NaN,y=u-1;y>=0;y--){var x=f[y];if(r||(m=x.data.rawIndexOf(x.stackedByDimension,p)),m>=0){var C=x.data.getByRawIndex(x.stackResultDimension,m);if(h>=0&&C>0||h<=0&&C<0){h+=C,S=C;break}}}return o[0]=h,o[1]=S,o});i.hostModel.setData(s),l.data=s})}k.exports=g},"0XgM":function(k,B,d){},"0fbx":function(k,B,d){},"0o9m":function(k,B,d){var w=d("ProS");d("hNWo"),d("RlCK"),d("XpcN");var A=d("kDyi"),b=d("bLfw");w.registerProcessor(w.PRIORITY.PROCESSOR.SERIES_FILTER,A),b.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(k,B,d){var w=d("ProS");w.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),w.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(k,B){var d=arguments[3],w=arguments[4],A=arguments[5],b=JSON.stringify;k.exports=function(g,v){for(var f,l=Object.keys(A),u=0,o=l.length;u<o;u++){var e=l[u],n=A[e].exports;if(n===g||n&&n.default===g){f=e;break}}if(!f){f=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var i={},u=0,o=l.length;u<o;u++){var e=l[u];i[e]=e}w[f]=["function(require,module,exports){"+g+"(self); }",i]}var r=Math.floor(Math.pow(16,8)*Math.random()).toString(16),s={};s[f]=f,w[r]=["function(require,module,exports){var f = require("+b(f)+");(f.default ? f.default : f)(self);}",s];var t={};a(r);function a(y){t[y]=!0;for(var x in w[y][1]){var C=w[y][1][x];t[C]||a(C)}}var c="("+d+")({"+Object.keys(t).map(function(y){return b(y)+":["+w[y][0]+","+b(w[y][1])+"]"}).join(",")+"},{},["+b(r)+"])",h=window.URL||window.webkitURL||window.mozURL||window.msURL,p=new Blob([c],{type:"text/javascript"});if(v&&v.bare)return p;var m=h.createObjectURL(p),S=new Worker(m);return S.objectURL=m,S}},"0s+r":function(k,B,d){var w=d("bYtY"),A=d("QBsz"),b=d("y23F"),g=d("H6uX"),v=d("YH21"),f=d("C0SR"),l="silent";function u(a,c,h){return{type:a,event:h,target:c.target,topTarget:c.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:o}}function o(){v.stop(this.event)}function e(){}e.prototype.dispose=function(){};var n=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],i=function(c,h,p,m){g.call(this),this.storage=c,this.painter=h,this.painterRoot=m,p=p||new e,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,b.call(this),this.setHandlerProxy(p)};i.prototype={constructor:i,setHandlerProxy:function(c){this.proxy&&this.proxy.dispose(),c&&(w.each(n,function(h){c.on&&c.on(h,this[h],this)},this),c.handler=this),this.proxy=c},mousemove:function(c){var h=c.zrX,p=c.zrY,m=s(this,h,p),S=this._hovered,y=S.target;y&&!y.__zr&&(S=this.findHover(S.x,S.y),y=S.target);var x=this._hovered=m?{x:h,y:p}:this.findHover(h,p),C=x.target,T=this.proxy;T.setCursor&&T.setCursor(C?C.cursor:"default"),y&&C!==y&&this.dispatchToElement(S,"mouseout",c),this.dispatchToElement(x,"mousemove",c),C&&C!==y&&this.dispatchToElement(x,"mouseover",c)},mouseout:function(c){var h=c.zrEventControl,p=c.zrIsToLocalDOM;h!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",c),h!=="no_globalout"&&(!p&&this.trigger("globalout",{type:"globalout",event:c}))},resize:function(c){this._hovered={}},dispatch:function(c,h){var p=this[c];p&&p.call(this,h)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(c){var h=this.proxy;h.setCursor&&h.setCursor(c)},dispatchToElement:function(c,h,p){c=c||{};var m=c.target;if(m&&m.silent)return;for(var S="on"+h,y=u(h,c,p);m&&!(m[S]&&(y.cancelBubble=m[S].call(m,y)),m.trigger(h,y),m=m.parent,y.cancelBubble););y.cancelBubble||(this.trigger(h,y),this.painter&&this.painter.eachOtherLayer(function(x){typeof x[S]=="function"&&x[S].call(x,y),x.trigger&&x.trigger(h,y)}))},findHover:function(c,h,p){for(var m=this.storage.getDisplayList(),S={x:c,y:h},y=m.length-1;y>=0;y--){var x;if(m[y]!==p&&!m[y].ignore&&(x=r(m[y],c,h))&&(!S.topTarget&&(S.topTarget=m[y]),x!==l)){S.target=m[y];break}}return S},processGesture:function(c,h){this._gestureMgr||(this._gestureMgr=new f);var p=this._gestureMgr;h==="start"&&p.clear();var m=p.recognize(c,this.findHover(c.zrX,c.zrY,null).target,this.proxy.dom);if(h==="end"&&p.clear(),m){var S=m.type;c.gestureEvent=S,this.dispatchToElement({target:m.target},S,m.event)}}},w.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){i.prototype[a]=function(c){var h=c.zrX,p=c.zrY,m=s(this,h,p),S,y;if((a!=="mouseup"||!m)&&(S=this.findHover(h,p),y=S.target),a==="mousedown")this._downEl=y,this._downPoint=[c.zrX,c.zrY],this._upEl=y;else if(a==="mouseup")this._upEl=y;else if(a==="click"){if(this._downEl!==this._upEl||!this._downPoint||A.dist(this._downPoint,[c.zrX,c.zrY])>4)return;this._downPoint=null}this.dispatchToElement(S,a,c)}});function r(a,c,h){if(a[a.rectHover?"rectContain":"contain"](c,h)){for(var p=a,m;p;){if(p.clipPath&&!p.clipPath.contain(c,h))return!1;p.silent&&(m=!0),p=p.parent}return m?l:!0}return!1}function s(a,c,h){var p=a.painter;return c<0||c>p.getWidth()||h<0||h>p.getHeight()}w.mixin(i,g),w.mixin(i,b);var t=i;k.exports=t},"10cm":function(k,B,d){var w=d("ProS"),A=d("2B6p"),b=A.updateCenterAndZoom;d("0qV/");var g={type:"graphRoam",event:"graphRoam",update:"none"};w.registerAction(g,function(v,f){f.eachComponent({mainType:"series",query:v},function(l){var u=l.coordinateSystem,o=b(u,v);l.setCenter&&l.setCenter(o.center),l.setZoom&&l.setZoom(o.zoom)})})},"15/o":function(k,B,d){},"19Vz":function(k,B,d){(function(w){w(d("VrN/"))})(function(w){w.defineOption("placeholder","",function(u,o,e){var n=e&&e!=w.Init;if(o&&!n)u.on("blur",v),u.on("change",f),u.on("swapDoc",f),w.on(u.getInputField(),"compositionupdate",u.state.placeholderCompose=function(){g(u)}),f(u);else if(!o&&n){u.off("blur",v),u.off("change",f),u.off("swapDoc",f),w.off(u.getInputField(),"compositionupdate",u.state.placeholderCompose),A(u);var i=u.getWrapperElement();i.className=i.className.replace(" CodeMirror-empty","")}o&&!u.hasFocus()&&v(u)});function A(u){u.state.placeholder&&(u.state.placeholder.parentNode.removeChild(u.state.placeholder),u.state.placeholder=null)}function b(u){A(u);var o=u.state.placeholder=document.createElement("pre");o.style.cssText="height: 0; overflow: visible",o.style.direction=u.getOption("direction"),o.className="CodeMirror-placeholder CodeMirror-line-like";var e=u.getOption("placeholder");typeof e=="string"&&(e=document.createTextNode(e)),o.appendChild(e),u.display.lineSpace.insertBefore(o,u.display.lineSpace.firstChild)}function g(u){setTimeout(function(){var o=!1,e=u.getInputField();e.nodeName=="TEXTAREA"?o=!e.value:u.lineCount()==1&&(o=!/[^\u200b]/.test(e.querySelector(".CodeMirror-line").textContent)),o?b(u):A(u)},20)}function v(u){l(u)&&b(u)}function f(u){var o=u.getWrapperElement(),e=l(u);o.className=o.className.replace(" CodeMirror-empty","")+(e?" CodeMirror-empty":""),e?b(u):A(u)}function l(u){return u.lineCount()===1&&u.getLine(0)===""}})},"1Jh7":function(k,B,d){var w=d("y+Vt"),A=d("T6xi"),b=w.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(v,f){A.buildPath(v,f,!1)}});k.exports=b},"1LEl":function(k,B,d){var w=d("ProS"),A=d("F9bG"),b=w.extendComponentView({type:"axisPointer",render:function(v,f,l){var u=f.getComponent("tooltip"),o=v.get("triggerOn")||u&&u.get("triggerOn")||"mousemove|click";A.register("axisPointer",l,function(e,n,i){o!=="none"&&(e==="leave"||o.indexOf(e)>=0)&&i({type:"updateAxisPointer",currTrigger:e,x:n&&n.offsetX,y:n&&n.offsetY})})},remove:function(v,f){A.unregister(f.getZr(),"axisPointer"),b.superApply(this._model,"remove",arguments)},dispose:function(v,f){A.unregister("axisPointer",f),b.superApply(this._model,"dispose",arguments)}}),g=b;k.exports=g},"1MYJ":function(k,B,d){var w=d("y+Vt"),A=w.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var g=this.__dirtyPath,v=this.shape.paths,f=0;f<v.length;f++)g=g||v[f].__dirtyPath;this.__dirtyPath=g,this.__dirty=this.__dirty||g},beforeBrush:function(){this._updatePathDirty();for(var g=this.shape.paths||[],v=this.getGlobalScale(),f=0;f<g.length;f++)g[f].path||g[f].createPathProxy(),g[f].path.setScale(v[0],v[1],g[f].segmentIgnoreThreshold)},buildPath:function(g,v){for(var f=v.paths||[],l=0;l<f.length;l++)f[l].buildPath(g,f[l].shape,!0)},afterBrush:function(){for(var g=this.shape.paths||[],v=0;v<g.length;v++)g[v].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),w.prototype.getBoundingRect.call(this)}});k.exports=A},"1NG9":function(k,B,d){var w=d("y+Vt"),A=d("QBsz"),b=d("iXp4"),g=A.min,v=A.max,f=A.scaleAndAdd,l=A.copy,u=[],o=[],e=[];function n(h){return isNaN(h[0])||isNaN(h[1])}function i(h,p,m,S,y,x,C,T,_,E,I){return E==="none"||!E?s.apply(this,arguments):r.apply(this,arguments)}function r(h,p,m,S,y,x,C,T,_,E,I){for(var L=0,D=m,F=0;F<S;F++){var N=p[D];if(D>=y||D<0)break;if(n(N)){if(I){D+=x;continue}break}if(D===m)h[x>0?"moveTo":"lineTo"](N[0],N[1]);else if(_>0){var P=p[L],W=E==="y"?1:0,R=(N[W]-P[W])*_;l(o,P),o[W]=P[W]+R,l(e,N),e[W]=N[W]-R,h.bezierCurveTo(o[0],o[1],e[0],e[1],N[0],N[1])}else h.lineTo(N[0],N[1]);L=D,D+=x}return F}function s(h,p,m,S,y,x,C,T,_,E,I){for(var L=0,D=m,F=0;F<S;F++){var N=p[D];if(D>=y||D<0)break;if(n(N)){if(I){D+=x;continue}break}if(D===m)h[x>0?"moveTo":"lineTo"](N[0],N[1]),l(o,N);else if(_>0){var P=D+x,W=p[P];if(I)for(;W&&n(p[P]);)P+=x,W=p[P];var R=.5,j=p[L],W=p[P];if(!W||n(W))l(e,N);else{n(W)&&!I&&(W=N),A.sub(u,W,j);var H,K;if(E==="x"||E==="y"){var U=E==="x"?0:1;H=Math.abs(N[U]-j[U]),K=Math.abs(N[U]-W[U])}else H=A.dist(N,j),K=A.dist(N,W);R=K/(K+H),f(e,N,u,-_*(1-R))}g(o,o,T),v(o,o,C),g(e,e,T),v(e,e,C),h.bezierCurveTo(o[0],o[1],e[0],e[1],N[0],N[1]),f(o,N,u,_*R)}else h.lineTo(N[0],N[1]);L=D,D+=x}return F}function t(h,p){var m=[Infinity,Infinity],S=[-Infinity,-Infinity];if(p)for(var y=0;y<h.length;y++){var x=h[y];x[0]<m[0]&&(m[0]=x[0]),x[1]<m[1]&&(m[1]=x[1]),x[0]>S[0]&&(S[0]=x[0]),x[1]>S[1]&&(S[1]=x[1])}return{min:p?m:S,max:p?S:m}}var a=w.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:b(w.prototype.brush),buildPath:function(h,p){var m=p.points,S=0,y=m.length,x=t(m,p.smoothConstraint);if(p.connectNulls){for(;y>0&&n(m[y-1]);y--);for(;S<y&&n(m[S]);S++);}for(;S<y;)S+=i(h,m,S,y,y,1,x.min,x.max,p.smooth,p.smoothMonotone,p.connectNulls)+1}}),c=w.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:b(w.prototype.brush),buildPath:function(h,p){var m=p.points,S=p.stackedOnPoints,y=0,x=m.length,C=p.smoothMonotone,T=t(m,p.smoothConstraint),_=t(S,p.smoothConstraint);if(p.connectNulls){for(;x>0&&n(m[x-1]);x--);for(;y<x&&n(m[y]);y++);}for(;y<x;){var E=i(h,m,y,x,x,1,T.min,T.max,p.smooth,C,p.connectNulls);i(h,S,y+E-1,E,x,-1,_.min,_.max,p.stackedOnSmooth,C,p.connectNulls),y+=E+1,h.closePath()}}});B.Polyline=a,B.Polygon=c},"1RvN":function(k,B){var d=function(){this.head=null,this.tail=null,this._len=0},w=d.prototype;w.insert=function(f){var l=new A(f);return this.insertEntry(l),l},w.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++},w.remove=function(f){var l=f.prev,u=f.next;l?l.next=u:this.head=u,u?u.prev=l:this.tail=l,f.next=f.prev=null,this._len--},w.len=function(){return this._len},w.clear=function(){this.head=this.tail=null,this._len=0};var A=function(l){this.value=l,this.next,this.prev},b=function(l){this._list=new d,this._map={},this._maxSize=l||10,this._lastRemovedEntry=null},g=b.prototype;g.put=function(f,l){var u=this._list,o=this._map,e=null;if(o[f]==null){var n=u.len(),i=this._lastRemovedEntry;if(n>=this._maxSize&&n>0){var r=u.head;u.remove(r),delete o[r.key],e=r.value,this._lastRemovedEntry=r}i?i.value=l:i=new A(l),i.key=f,u.insertEntry(i),o[f]=i}return e},g.get=function(f){var l=this._map[f],u=this._list;if(l!=null)return l!==u.tail&&(u.remove(l),u.insertEntry(l)),l.value},g.clear=function(){this._list.clear(),this._map={}};var v=b;k.exports=v},"1bdT":function(k,B,d){var w=d("3gBT"),A=d("H6uX"),b=d("DN4a"),g=d("vWvF"),v=d("bYtY"),f=function(o){b.call(this,o),A.call(this,o),g.call(this,o),this.id=o.id||w()};f.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(o,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":o=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=o,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(o,e){},attrKV:function(o,e){if(o==="position"||o==="scale"||o==="origin"){if(e){var n=this[o];n||(n=this[o]=[]),n[0]=e[0],n[1]=e[1]}}else this[o]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(o,e){if(typeof o=="string")this.attrKV(o,e);else if(v.isObject(o))for(var n in o)o.hasOwnProperty(n)&&this.attrKV(n,o[n]);return this.dirty(!1),this},setClipPath:function(o){var e=this.__zr;e&&o.addSelfToZr(e),this.clipPath&&this.clipPath!==o&&this.removeClipPath(),this.clipPath=o,o.__zr=e,o.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var o=this.clipPath;o&&(o.__zr&&o.removeSelfFromZr(o.__zr),o.__zr=null,o.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(o){this.__zr=o;var e=this.animators;if(e)for(var n=0;n<e.length;n++)o.animation.addAnimator(e[n]);this.clipPath&&this.clipPath.addSelfToZr(o)},removeSelfFromZr:function(o){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)o.animation.removeAnimator(e[n]);this.clipPath&&this.clipPath.removeSelfFromZr(o)}},v.mixin(f,g),v.mixin(f,b),v.mixin(f,A);var l=f;k.exports=l},"1dTM":function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=d("GQ8N"),A=E(d("Lo0S")),b=d("VSMT"),g=d("GdRQ"),v=d("SZEN"),f=d("vewr"),l=T(d("YJ9k")),u=T(d("MZdM")),o=T(d("ItS6")),e=T(d("whVF")),n=T(d("Fv0C")),i=T(d("LCi9")),r=T(d("rwxt")),s=T(d("Mmt2")),t=T(d("iUHT")),a=T(d("mHUz")),c=T(d("P2ho")),h=d("NBmB");d("mdZa");var p=T(d("34/K")),m=T(d("hXwI")),S=T(d("SgaC")),y=T(d("3690")),x=T(d("8K/p")),C=T(d("xO64"));function T(ge){return ge&&ge.__esModule?ge:{default:ge}}function _(){if(typeof WeakMap!="function")return null;var ge=new WeakMap;return _=function(){return ge},ge}function E(ge){if(ge&&ge.__esModule)return ge;if(ge===null||I(ge)!=="object"&&typeof ge!="function")return{default:ge};var le=_();if(le&&le.has(ge))return le.get(ge);var Se={},me=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in ge)if(Object.prototype.hasOwnProperty.call(ge,$)){var we=me?Object.getOwnPropertyDescriptor(ge,$):null;we&&(we.get||we.set)?Object.defineProperty(Se,$,we):Se[$]=ge[$]}return Se.default=ge,le&&le.set(ge,Se),Se}function I(ge){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(Se){return typeof Se}:I=function(Se){return Se&&typeof Symbol=="function"&&Se.constructor===Symbol&&Se!==Symbol.prototype?"symbol":typeof Se},I(ge)}function L(ge,le){if(!(ge instanceof le))throw new TypeError("Cannot call a class as a function")}function D(ge,le){for(var Se=0;Se<le.length;Se++){var me=le[Se];me.enumerable=me.enumerable||!1,me.configurable=!0,"value"in me&&(me.writable=!0),Object.defineProperty(ge,me.key,me)}}function F(ge,le,Se){return le&&D(ge.prototype,le),Se&&D(ge,Se),ge}function N(ge,le){if(typeof le!="function"&&le!==null)throw new TypeError("Super expression must either be null or a function");ge.prototype=Object.create(le&&le.prototype,{constructor:{value:ge,writable:!0,configurable:!0}}),le&&P(ge,le)}function P(ge,le){return P=Object.setPrototypeOf||function(me,$){return me.__proto__=$,me},P(ge,le)}function W(ge){var le=H();return function(){var me=K(ge),$;if(le){var we=K(this).constructor;$=Reflect.construct(me,arguments,we)}else $=me.apply(this,arguments);return R(this,$)}}function R(ge,le){return le&&(I(le)==="object"||typeof le=="function")?le:j(ge)}function j(ge){if(ge===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ge}function H(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ge){return!1}}function K(ge){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(Se){return Se.__proto__||Object.getPrototypeOf(Se)},K(ge)}var U=3,G="rgb(40, 40, 40)",z=17,Y=50,q=19,oe=75,ie=50,se=1e3,he=50,pe=1,_e=1<<1,De=1<<2,Xe=1<<3,J=1<<4,Ee=1<<24,qe=1<<25,ae=1<<26,V=1<<27,X=1<<28,Z=function(ge){N(Se,ge);var le=W(Se);function Se(me,$,we){var xe;if(L(this,Se),!me)throw new Error("Must specify target");if(!$)throw new Error("Must specify URL");xe=le.call(this),xe._target=me,xe._url=$,we=we||{},xe._rfbCredentials=we.credentials||{},xe._shared="shared"in we?!!we.shared:!0,xe._repeaterID=we.repeaterID||"",xe._wsProtocols=we.wsProtocols||[],xe._rfbConnectionState="",xe._rfbInitState="",xe._rfbAuthScheme=-1,xe._rfbCleanDisconnect=!0,xe._rfbVersion=0,xe._rfbMaxVersion=3.8,xe._rfbTightVNC=!1,xe._rfbVeNCryptState=0,xe._rfbXvpVer=0,xe._fbWidth=0,xe._fbHeight=0,xe._fbName="",xe._capabilities={power:!1},xe._supportsFence=!1,xe._supportsContinuousUpdates=!1,xe._enabledContinuousUpdates=!1,xe._supportsSetDesktopSize=!1,xe._screenID=0,xe._screenFlags=0,xe._qemuExtKeyEventSupported=!1,xe._clipboardText=null,xe._clipboardServerCapabilitiesActions={},xe._clipboardServerCapabilitiesFormats={},xe._sock=null,xe._display=null,xe._flushing=!1,xe._keyboard=null,xe._gestures=null,xe._disconnTimer=null,xe._resizeTimeout=null,xe._mouseMoveTimer=null,xe._decoders={},xe._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},xe._mousePos={},xe._mouseButtonMask=0,xe._mouseLastMoveTime=0,xe._viewportDragging=!1,xe._viewportDragPos={},xe._viewportHasMoved=!1,xe._accumulatedWheelDeltaX=0,xe._accumulatedWheelDeltaY=0,xe._gestureLastTapTime=null,xe._gestureFirstDoubleTapEv=null,xe._gestureLastMagnitudeX=0,xe._gestureLastMagnitudeY=0,xe._eventHandlers={focusCanvas:xe._focusCanvas.bind(j(xe)),windowResize:xe._windowResize.bind(j(xe)),handleMouse:xe._handleMouse.bind(j(xe)),handleWheel:xe._handleWheel.bind(j(xe)),handleGesture:xe._handleGesture.bind(j(xe))},A.Debug(">> RFB.constructor"),xe._screen=document.createElement("div"),xe._screen.style.display="flex",xe._screen.style.width="100%",xe._screen.style.height="100%",xe._screen.style.overflow="auto",xe._screen.style.background=G,xe._canvas=document.createElement("canvas"),xe._canvas.style.margin="auto",xe._canvas.style.outline="none",xe._canvas.style.flexShrink="0",xe._canvas.width=0,xe._canvas.height=0,xe._canvas.tabIndex=-1,xe._screen.appendChild(xe._canvas),xe._cursor=new r.default,xe._cursorImage=Se.cursors.none,xe._decoders[h.encodings.encodingRaw]=new p.default,xe._decoders[h.encodings.encodingCopyRect]=new m.default,xe._decoders[h.encodings.encodingRRE]=new S.default,xe._decoders[h.encodings.encodingHextile]=new y.default,xe._decoders[h.encodings.encodingTight]=new x.default,xe._decoders[h.encodings.encodingTightPNG]=new C.default;try{xe._display=new u.default(xe._canvas)}catch(We){throw A.Error("Display exception: "+We),We}return xe._display.onflush=xe._onFlush.bind(j(xe)),xe._keyboard=new n.default(xe._canvas),xe._keyboard.onkeyevent=xe._handleKeyEvent.bind(j(xe)),xe._gestures=new i.default,xe._sock=new s.default,xe._sock.on("message",function(){xe._handleMessage()}),xe._sock.on("open",function(){xe._rfbConnectionState==="connecting"&&xe._rfbInitState===""?(xe._rfbInitState="ProtocolVersion",A.Debug("Starting VNC handshake")):xe._fail("Unexpected server connection while "+xe._rfbConnectionState)}),xe._sock.on("close",function(We){A.Debug("WebSocket on-close event");var st="";We.code&&(st="(code: "+We.code,We.reason&&(st+=", reason: "+We.reason),st+=")");switch(xe._rfbConnectionState){case"connecting":xe._fail("Connection closed "+st);break;case"connected":xe._updateConnectionState("disconnecting"),xe._updateConnectionState("disconnected");break;case"disconnecting":xe._updateConnectionState("disconnected");break;case"disconnected":xe._fail("Unexpected server disconnect when already disconnected "+st);break;default:xe._fail("Unexpected server disconnect before connecting "+st);break}xe._sock.off("close")}),xe._sock.on("error",function(We){return A.Warn("WebSocket on-error event")}),setTimeout(xe._updateConnectionState.bind(j(xe),"connecting")),A.Debug("<< RFB.constructor"),xe.dragViewport=!1,xe.focusOnClick=!0,xe._viewOnly=!1,xe._clipViewport=!1,xe._scaleViewport=!1,xe._resizeSession=!1,xe._showDotCursor=!1,we.showDotCursor!==void 0&&(A.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),xe._showDotCursor=we.showDotCursor),xe._qualityLevel=6,xe._compressionLevel=2,xe}return F(Se,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function($){this._rfbCredentials=$,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;A.Info("Sending Ctrl-Alt-Del"),this.sendKey(a.default.XK_Control_L,"ControlLeft",!0),this.sendKey(a.default.XK_Alt_L,"AltLeft",!0),this.sendKey(a.default.XK_Delete,"Delete",!0),this.sendKey(a.default.XK_Delete,"Delete",!1),this.sendKey(a.default.XK_Alt_L,"AltLeft",!1),this.sendKey(a.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function($,we,xe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(xe===void 0){this.sendKey($,we,!0),this.sendKey($,we,!1);return}var We=c.default[we];if(this._qemuExtKeyEventSupported&&We)$=$||0,A.Info("Sending key ("+(xe?"down":"up")+"): keysym "+$+", scancode "+We),Se.messages.QEMUExtendedKeyEvent(this._sock,$,xe,We);else{if(!$)return;A.Info("Sending keysym ("+(xe?"down":"up")+"): "+$),Se.messages.keyEvent(this._sock,$,xe?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function($){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[pe]&&this._clipboardServerCapabilitiesActions[V])this._clipboardText=$,Se.messages.extendedClipboardNotify(this._sock,[pe]);else{for(var we=new Uint8Array($.length),xe=0;xe<$.length;xe++)we[xe]=$.charCodeAt(xe);Se.messages.clientCutText(this._sock,we)}}},{key:"_connect",value:function(){A.Debug(">> RFB.connect"),A.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch($){$.name==="SyntaxError"?this._fail("Invalid host or port ("+$+")"):this._fail("Error when opening socket ("+$+")")}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),A.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){A.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($){if(!($.name==="NotFoundError"))throw $}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),A.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function($){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function($){this._fbName=$,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function($){var we=this;window.requestAnimationFrame(function(){we._updateClip(),we._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var $=this._display.clipViewport,we=this._clipViewport;if(this._scaleViewport&&(we=!1),$!==we&&(this._display.clipViewport=we),we){var xe=this._screenSize();this._display.viewportChangeSize(xe.w,xe.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var $=this._screenSize();this._display.autoscale($.w,$.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var $=this._screenSize();Se.messages.setDesktopSize(this._sock,Math.floor($.w),Math.floor($.h),this._screenID,this._screenFlags),A.Debug("Requested new desktop size: "+$.w+"x"+$.h)}},{key:"_screenSize",value:function(){var $=this._screen.getBoundingClientRect();return{w:$.width,h:$.height}}},{key:"_fixScrollbars",value:function(){var $=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=$}},{key:"_updateConnectionState",value:function($){var we=this,xe=this._rfbConnectionState;if($===xe){A.Debug("Already in state '"+$+"', ignoring");return}if(xe==="disconnected"){A.Error("Tried changing state of a disconnected RFB object");return}switch($){case"connected":if(xe!=="connecting"){A.Error("Bad transition to connected state, previous connection state: "+xe);return}break;case"disconnected":if(xe!=="disconnecting"){A.Error("Bad transition to disconnected state, previous connection state: "+xe);return}break;case"connecting":if(xe!==""){A.Error("Bad transition to connecting state, previous connection state: "+xe);return}break;case"disconnecting":if(xe!=="connected"&&xe!=="connecting"){A.Error("Bad transition to disconnecting state, previous connection state: "+xe);return}break;default:A.Error("Unknown connection state: "+$);return}this._rfbConnectionState=$,A.Debug("New state '"+$+"', was '"+xe+"'."),this._disconnTimer&&$!=="disconnecting"&&(A.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch($){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){A.Error("Disconnection timed out."),we._updateConnectionState("disconnected")},U*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function($){switch(this._rfbConnectionState){case"disconnecting":A.Error("Failed when disconnecting: "+$);break;case"connected":A.Error("Failed while connected: "+$);break;case"connecting":A.Error("Failed when connecting: "+$);break;default:A.Error("RFB failure: "+$);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function($,we){this._capabilities[$]=we,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){A.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":A.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($,we,xe){this.sendKey($,we,xe)}},{key:"_handleMouse",value:function($){if($.type==="click"&&$.target!==this._canvas)return;if($.stopPropagation(),$.preventDefault(),$.type==="click"||$.type==="contextmenu")return;var we=(0,v.clientToElement)($.clientX,$.clientY,this._canvas);switch($.type){case"mousedown":(0,f.setCapture)(this._canvas),this._handleMouseButton(we.x,we.y,!0,1<<$.button);break;case"mouseup":this._handleMouseButton(we.x,we.y,!1,1<<$.button);break;case"mousemove":this._handleMouseMove(we.x,we.y);break}}},{key:"_handleMouseButton",value:function($,we,xe,We){if(this.dragViewport)if(xe&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:$,y:we},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse($,we,We)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse($,we,this._mouseButtonMask)),xe?this._mouseButtonMask|=We:this._mouseButtonMask&=~We,this._sendMouse($,we,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function($,we){var xe=this;if(this._viewportDragging){var We=this._viewportDragPos.x-$,st=this._viewportDragPos.y-we;(this._viewportHasMoved||Math.abs(We)>g.dragThreshold||Math.abs(st)>g.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:$,y:we},this._display.viewportChangePos(We,st));return}if(this._mousePos={x:$,y:we},this._mouseMoveTimer==null){var nt=Date.now()-this._mouseLastMoveTime;nt>z?(this._sendMouse($,we,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){xe._handleDelayedMouseMove()},z-nt)}}},{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($,we,xe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Se.messages.pointerEvent(this._sock,this._display.absX($),this._display.absY(we),xe)}},{key:"_handleWheel",value:function($){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;$.stopPropagation(),$.preventDefault();var we=(0,v.clientToElement)($.clientX,$.clientY,this._canvas),xe=$.deltaX,We=$.deltaY;$.deltaMode!==0&&(xe*=q,We*=q),this._accumulatedWheelDeltaX+=xe,this._accumulatedWheelDeltaY+=We,Math.abs(this._accumulatedWheelDeltaX)>=Y&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(we.x,we.y,!0,1<<5),this._handleMouseButton(we.x,we.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(we.x,we.y,!0,1<<6),this._handleMouseButton(we.x,we.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=Y&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(we.x,we.y,!0,1<<3),this._handleMouseButton(we.x,we.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(we.x,we.y,!0,1<<4),this._handleMouseButton(we.x,we.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function($,we,xe){this._handleMouseMove(we,xe),this._cursor.move($.detail.clientX,$.detail.clientY)}},{key:"_handleTapEvent",value:function($,we){var xe=(0,v.clientToElement)($.detail.clientX,$.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<se&&this._gestureFirstDoubleTapEv.detail.type===$.detail.type){var We=this._gestureFirstDoubleTapEv.detail.clientX-$.detail.clientX,st=this._gestureFirstDoubleTapEv.detail.clientY-$.detail.clientY,nt=Math.hypot(We,st);nt<he?xe=(0,v.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=$}else this._gestureFirstDoubleTapEv=$;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,we),this._handleMouseButton(xe.x,xe.y,!1,we)}},{key:"_handleGesture",value:function($){var we,xe=(0,v.clientToElement)($.detail.clientX,$.detail.clientY,this._canvas);switch($.type){case"gesturestart":switch($.detail.type){case"onetap":this._handleTapEvent($,1);break;case"twotap":this._handleTapEvent($,4);break;case"threetap":this._handleTapEvent($,2);break;case"drag":this._fakeMouseMove($,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,1);break;case"longpress":this._fakeMouseMove($,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=$.detail.magnitudeX,this._gestureLastMagnitudeY=$.detail.magnitudeY,this._fakeMouseMove($,xe.x,xe.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot($.detail.magnitudeX,$.detail.magnitudeY),this._fakeMouseMove($,xe.x,xe.y);break}break;case"gesturemove":switch($.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove($,xe.x,xe.y);break;case"twodrag":for(this._fakeMouseMove($,xe.x,xe.y);$.detail.magnitudeY-this._gestureLastMagnitudeY>ie;)this._handleMouseButton(xe.x,xe.y,!0,8),this._handleMouseButton(xe.x,xe.y,!1,8),this._gestureLastMagnitudeY+=ie;for(;$.detail.magnitudeY-this._gestureLastMagnitudeY<-ie;)this._handleMouseButton(xe.x,xe.y,!0,16),this._handleMouseButton(xe.x,xe.y,!1,16),this._gestureLastMagnitudeY-=ie;for(;$.detail.magnitudeX-this._gestureLastMagnitudeX>ie;)this._handleMouseButton(xe.x,xe.y,!0,32),this._handleMouseButton(xe.x,xe.y,!1,32),this._gestureLastMagnitudeX+=ie;for(;$.detail.magnitudeX-this._gestureLastMagnitudeX<-ie;)this._handleMouseButton(xe.x,xe.y,!0,64),this._handleMouseButton(xe.x,xe.y,!1,64),this._gestureLastMagnitudeX-=ie;break;case"pinch":if(this._fakeMouseMove($,xe.x,xe.y),we=Math.hypot($.detail.magnitudeX,$.detail.magnitudeY),Math.abs(we-this._gestureLastMagnitudeX)>oe){for(this._handleKeyEvent(a.default.XK_Control_L,"ControlLeft",!0);we-this._gestureLastMagnitudeX>oe;)this._handleMouseButton(xe.x,xe.y,!0,8),this._handleMouseButton(xe.x,xe.y,!1,8),this._gestureLastMagnitudeX+=oe;for(;we-this._gestureLastMagnitudeX<-oe;)this._handleMouseButton(xe.x,xe.y,!0,16),this._handleMouseButton(xe.x,xe.y,!1,16),this._gestureLastMagnitudeX-=oe}this._handleKeyEvent(a.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch($.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove($,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!1,1);break;case"longpress":this._fakeMouseMove($,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var $=this._sock.rQshiftStr(12).substr(4,7);A.Info("Server ProtocolVersion: "+$);var we=0;switch($){case"000.000":we=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 "+$)}if(we){for(var xe="ID:"+this._repeaterID;xe.length<250;)xe+="\0";return this._sock.sendString(xe),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var We="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+We+`
`),A.Debug("Sent ProtocolVersion: "+We),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function $(We,st){for(var nt=0;nt<st.length;nt++)if(st[nt]===We)return!0;return!1}if(this._rfbVersion>=3.7){var we=this._sock.rQshift8();if(this._sock.rQwait("security type",we,1))return!1;if(we===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var xe=this._sock.rQshiftBytes(we);if(A.Debug("Server security types: "+xe),$(1,xe))this._rfbAuthScheme=1;else if($(22,xe))this._rfbAuthScheme=22;else if($(16,xe))this._rfbAuthScheme=16;else if($(2,xe))this._rfbAuthScheme=2;else if($(19,xe))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+xe+")");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",A.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var $=this._sock.rQshift32(),we="";if($>0){if(this._sock.rQwait("reason",$,4))return!1;we=this._sock.rQshiftStr($)}return we!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:we}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+we+")")):(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 $=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString($),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var $=this._sock.rQshift8(),we=this._sock.rQshift8();if(!($==0&&we==2))return this._fail("Unsupported VeNCrypt version "+$+"."+we);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var xe=this._sock.rQshift8();if(xe!=0)return this._fail("VeNCrypt failure "+xe);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var We=this._sock.rQshift8();if(We<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=We,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var st=[],nt=0;nt<this._rfbVeNCryptSubtypesLength;nt++)st.push(this._sock.rQshift32());if(st.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 Ne=(0,b.encodeUTF8)(this._rfbCredentials.username),St=(0,b.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Ne.length]),this._sock.send([0,0,0,St.length]),this._sock.sendString(Ne),this._sock.sendString(St),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 $=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),we=Se.genDES(this._rfbCredentials.password,$);return this._sock.send(we),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($){for(var we={0:{vendor:"TGHT",signature:"NOTUNNEL"}},xe={},We=0;We<$;We++){var st=this._sock.rQshift32(),nt=this._sock.rQshiftStr(4),Ne=this._sock.rQshiftStr(8);xe[st]={vendor:nt,signature:Ne}}return A.Debug("Server Tight tunnel types: "+xe),xe[1]&&xe[1].vendor==="SICR"&&xe[1].signature==="SCHANNEL"&&(A.Debug("Detected Siemens server. Assuming NOTUNNEL support."),xe[0]={vendor:"TGHT",signature:"NOTUNNEL"}),xe[0]?xe[0].vendor!=we[0].vendor||xe[0].signature!=we[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(A.Debug("Selected tunnel type: "+we[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 $=this._sock.rQshift32();if($>0&&this._sock.rQwait("tunnel capabilities",16*$,4))return!1;if(this._rfbTightVNC=!0,$>0)return this._negotiateTightTunnels($),!1}if(this._sock.rQwait("sub auth count",4))return!1;var we=this._sock.rQshift32();if(we===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*we,4))return!1;for(var xe={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},We=[],st=0;st<we;st++){this._sock.rQshift32();var nt=this._sock.rQshiftStr(12);We.push(nt)}A.Debug("Server Tight authentication types: "+We);for(var Ne in xe)if(We.indexOf(Ne)!=-1){this._sock.send([0,0,0,xe[Ne]]),A.Debug("Selected authentication type: "+Ne);switch(Ne){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: "+Ne+")")}}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 $=this._sock.rQshift32();return $===0?(this._rfbInitState="ClientInitialisation",A.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=$,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:$}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var $=this._sock.rQshift16(),we=this._sock.rQshift16(),xe=this._sock.rQshift8(),We=this._sock.rQshift8(),st=this._sock.rQshift8(),nt=this._sock.rQshift8(),Ne=this._sock.rQshift16(),St=this._sock.rQshift16(),Ye=this._sock.rQshift16(),vt=this._sock.rQshift8(),It=this._sock.rQshift8(),Ut=this._sock.rQshift8();this._sock.rQskipBytes(3);var xt=this._sock.rQshift32();if(this._sock.rQwait("server init name",xt,24))return!1;var Bt=this._sock.rQshiftStr(xt);if(Bt=(0,b.decodeUTF8)(Bt,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+xt))return!1;var Qe=this._sock.rQshift16(),te=this._sock.rQshift16(),Q=this._sock.rQshift16();this._sock.rQskipBytes(2);var Me=(Qe+te+Q)*16;if(this._sock.rQwait("TightVNC extended server init header",Me,32+xt))return!1;this._sock.rQskipBytes(16*Qe),this._sock.rQskipBytes(16*te),this._sock.rQskipBytes(16*Q)}return A.Info("Screen: "+$+"x"+we+", bpp: "+xe+", depth: "+We+", bigEndian: "+st+", trueColor: "+nt+", redMax: "+Ne+", greenMax: "+St+", blueMax: "+Ye+", redShift: "+vt+", greenShift: "+It+", blueShift: "+Ut),this._setDesktopName(Bt),this._resize($,we),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(A.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Se.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Se.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var $=[];$.push(h.encodings.encodingCopyRect),this._fbDepth==24&&($.push(h.encodings.encodingTight),$.push(h.encodings.encodingTightPNG),$.push(h.encodings.encodingHextile),$.push(h.encodings.encodingRRE)),$.push(h.encodings.encodingRaw),$.push(h.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),$.push(h.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),$.push(h.encodings.pseudoEncodingDesktopSize),$.push(h.encodings.pseudoEncodingLastRect),$.push(h.encodings.pseudoEncodingQEMUExtendedKeyEvent),$.push(h.encodings.pseudoEncodingExtendedDesktopSize),$.push(h.encodings.pseudoEncodingXvp),$.push(h.encodings.pseudoEncodingFence),$.push(h.encodings.pseudoEncodingContinuousUpdates),$.push(h.encodings.pseudoEncodingDesktopName),$.push(h.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&($.push(h.encodings.pseudoEncodingVMwareCursor),$.push(h.encodings.pseudoEncodingCursor)),Se.messages.clientEncodings(this._sock,$)}},{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 A.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(A.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var $=this._sock.rQshift32();if($=(0,w.toSigned32bit)($),this._sock.rQwait("ServerCutText content",Math.abs($),8))return!1;if($>=0){var we=this._sock.rQshiftStr($);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:we}}))}else{$=Math.abs($);var xe=this._sock.rQshift32(),We=xe&65535,st=xe&4278190080,nt=!!(st&Ee);if(nt){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Ne=0;Ne<=15;Ne++){var St=1<<Ne;We&St&&(this._clipboardServerCapabilitiesFormats[St]=!0,this._sock.rQshift32())}for(var Ye=24;Ye<=31;Ye++){var vt=1<<Ye;this._clipboardServerCapabilitiesActions[vt]=!!(st&vt)}var It=[Ee,qe,ae,V,X];Se.messages.extendedClipboardCaps(this._sock,It,{extendedClipboardFormatText:0})}else if(st===qe){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[X]&&(We&pe&&Se.messages.extendedClipboardProvide(this._sock,[pe],[this._clipboardText]))}else if(st===ae){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[V]&&(this._clipboardText!=null?Se.messages.extendedClipboardNotify(this._sock,[pe]):Se.messages.extendedClipboardNotify(this._sock,[]))}else if(st===V){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[qe]&&(We&pe&&Se.messages.extendedClipboardRequest(this._sock,[pe]))}else if(st===X){if(this._viewOnly)return!0;if(!(We&pe))return!0;this._clipboardText=null;var Ut=this._sock.rQshiftBytes($-4),xt=new o.default,Bt=null;xt.setInput(Ut);for(var Qe=0;Qe<=15;Qe++){var te=1<<Qe;if(We&te){var Q=0,Me=xt.inflate(4);Q|=Me[0]<<24,Q|=Me[1]<<16,Q|=Me[2]<<8,Q|=Me[3];var Ce=xt.inflate(Q);te===pe&&(Bt=Ce)}}if(xt.setInput(null),Bt!==null){for(var ue="",ot=0;ot<Bt.length;ot++)ue+=String.fromCharCode(Bt[ot]);Bt=ue,Bt=(0,b.decodeUTF8)(Bt),Bt.length>0&&Bt.charAt(Bt.length-1)==="\0"&&(Bt=Bt.slice(0,-1)),Bt=Bt.replace(`\r
`,`
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Bt}}))}}else return this._fail("Unexpected action in extended clipboard message: "+st)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var $=this._sock.rQshift32(),we=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",we,9))return!1;we>64&&(A.Warn("Bad payload length ("+we+") in fence response"),we=64);var xe=this._sock.rQshiftStr(we);return this._supportsFence=!0,$&1<<31?($&=1<<0|1<<1,Se.messages.clientFence(this._sock,$,xe),!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 $=this._sock.rQshift8(),we=this._sock.rQshift8();switch(we){case 0:A.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=$,A.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+we+")");break}return!0}},{key:"_normalMsg",value:function(){var $;this._FBU.rects>0?$=0:$=this._sock.rQshift8();var we,xe;switch($){case 0:return xe=this._framebufferUpdate(),xe&&!this._enabledContinuousUpdates&&Se.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),xe;case 1:return this._handleSetColourMapMsg();case 2:return A.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return we=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,we&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),A.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+$+")"),A.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 $=this._sock.rQshiftBytes(12);this._FBU.x=($[0]<<8)+$[1],this._FBU.y=($[2]<<8)+$[3],this._FBU.width=($[4]<<8)+$[5],this._FBU.height=($[6]<<8)+$[7],this._FBU.encoding=parseInt(($[8]<<24)+($[9]<<16)+($[10]<<8)+$[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 $=document.createEvent("keyboardEvent");$.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(we){}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 $=this._FBU.x,we=this._FBU.y,xe=this._FBU.width,We=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var st=this._sock.rQshift8();this._sock.rQshift8();var nt,Ne=4;if(st==0){var St=4294967040|0;if(nt=new Array(xe*We*Ne),this._sock.rQwait("VMware cursor classic encoding",xe*We*Ne*2,2))return!1;for(var Ye=new Array(xe*We),vt=0;vt<xe*We;vt++)Ye[vt]=this._sock.rQshift32();for(var It=new Array(xe*We),Ut=0;Ut<xe*We;Ut++)It[Ut]=this._sock.rQshift32();for(var xt=0;xt<xe*We;xt++)if(Ye[xt]==0){var Bt=It[xt],Qe=Bt>>8&255,te=Bt>>16&255,Q=Bt>>24&255;nt[xt*Ne]=Qe,nt[xt*Ne+1]=te,nt[xt*Ne+2]=Q,nt[xt*Ne+3]=255}else(Ye[xt]&St)==St?It[xt]==0?(nt[xt*Ne]=0,nt[xt*Ne+1]=0,nt[xt*Ne+2]=0,nt[xt*Ne+3]=0):((It[xt]&St)==St,nt[xt*Ne]=0,nt[xt*Ne+1]=0,nt[xt*Ne+2]=0,nt[xt*Ne+3]=255):(nt[xt*Ne]=0,nt[xt*Ne+1]=0,nt[xt*Ne+2]=0,nt[xt*Ne+3]=255)}else if(st==1){if(this._sock.rQwait("VMware cursor alpha encoding",xe*We*4,2))return!1;nt=new Array(xe*We*Ne);for(var Me=0;Me<xe*We;Me++){var Ce=this._sock.rQshift32();nt[Me*4]=Ce>>24&255,nt[Me*4+1]=Ce>>16&255,nt[Me*4+2]=Ce>>8&255,nt[Me*4+3]=Ce&255}}else return A.Warn("The given cursor type is not supported: "+st+" given."),!1;return this._updateCursor(nt,$,we,xe,We),!0}},{key:"_handleCursor",value:function(){var $=this._FBU.x,we=this._FBU.y,xe=this._FBU.width,We=this._FBU.height,st=xe*We*4,nt=Math.ceil(xe/8)*We,Ne=st+nt;if(this._sock.rQwait("cursor encoding",Ne))return!1;for(var St=this._sock.rQshiftBytes(st),Ye=this._sock.rQshiftBytes(nt),vt=new Uint8Array(xe*We*4),It=0,Ut=0;Ut<We;Ut++)for(var xt=0;xt<xe;xt++){var Bt=Ut*Math.ceil(xe/8)+Math.floor(xt/8),Qe=Ye[Bt]<<xt%8&128?255:0;vt[It]=St[It+2],vt[It+1]=St[It+1],vt[It+2]=St[It],vt[It+3]=Qe,It+=4}return this._updateCursor(vt,$,we,xe,We),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var $=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",$,4))return!1;var we=this._sock.rQshiftStr($);return we=(0,b.decodeUTF8)(we,!0),this._setDesktopName(we),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var $=this._sock.rQpeek8(),we=4+$*16;if(this._sock.rQwait("ExtendedDesktopSize",we))return!1;var xe=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,xe&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var We=0;We<$;We+=1)We===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 st="";switch(this._FBU.y){case 1:st="Resize is administratively prohibited";break;case 2:st="Out of resources";break;case 3:st="Invalid screen layout";break;default:st="Unknown reason";break}A.Warn("Server did not accept the resize request: "+st)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var $=this._decoders[this._FBU.encoding];if(!$)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return $.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(we){return this._fail("Error decoding rect: "+we),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Se.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function($,we){this._fbWidth=$,this._fbHeight=we,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function($,we){if(this._rfbXvpVer<$)return;A.Info("Sending XVP operation "+we+" (version "+$+")"),Se.messages.xvpOp(this._sock,$,we)}},{key:"_updateCursor",value:function($,we,xe,We,st){this._cursorImage={rgbaPixels:$,hotx:we,hoty:xe,w:We,h:st},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var $=3;$<this._cursorImage.rgbaPixels.length;$+=4)if(this._cursorImage.rgbaPixels[$])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var $=this._shouldShowDotCursor()?Se.cursors.dot:this._cursorImage;this._cursor.change($.rgbaPixels,$.hotx,$.hoty,$.w,$.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function($){this._viewOnly=$,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&($?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function($){A.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function($){this._clipViewport=$,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function($){this._scaleViewport=$,$&&this._clipViewport&&this._updateClip(),this._updateScale(),!$&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function($){this._resizeSession=$,$&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function($){this._showDotCursor=$,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function($){this._screen.style.background=$}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function($){if(!Number.isInteger($)||$<0||$>9){A.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===$)return;this._qualityLevel=$,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function($){if(!Number.isInteger($)||$<0||$>9){A.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===$)return;this._compressionLevel=$,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function($,we){var xe=$.split("").map(function(We){return We.charCodeAt(0)});return new t.default(xe).encrypt(we)}}]),Se}(l.default);B.default=Z,Z.messages={keyEvent:function(le,Se,me){var $=le._sQ,we=le._sQlen;$[we]=4,$[we+1]=me,$[we+2]=0,$[we+3]=0,$[we+4]=Se>>24,$[we+5]=Se>>16,$[we+6]=Se>>8,$[we+7]=Se,le._sQlen+=8,le.flush()},QEMUExtendedKeyEvent:function(le,Se,me,$){function we(nt){var Ne=$>>8,St=$&255;return Ne===224&&St<127?St|128:nt}var xe=le._sQ,We=le._sQlen;xe[We]=255,xe[We+1]=0,xe[We+2]=me>>8,xe[We+3]=me,xe[We+4]=Se>>24,xe[We+5]=Se>>16,xe[We+6]=Se>>8,xe[We+7]=Se;var st=we($);xe[We+8]=st>>24,xe[We+9]=st>>16,xe[We+10]=st>>8,xe[We+11]=st,le._sQlen+=12,le.flush()},pointerEvent:function(le,Se,me,$){var we=le._sQ,xe=le._sQlen;we[xe]=5,we[xe+1]=$,we[xe+2]=Se>>8,we[xe+3]=Se,we[xe+4]=me>>8,we[xe+5]=me,le._sQlen+=6,le.flush()},_buildExtendedClipboardFlags:function(le,Se){for(var me=new Uint8Array(4),$=0,we=0,xe=0;xe<le.length;xe++)we|=le[xe];for(var We=0;We<Se.length;We++)$|=Se[We];return me[0]=we>>24,me[1]=0,me[2]=0,me[3]=$,me},extendedClipboardProvide:function(le,Se,me){for(var $=new e.default,we=[],xe=0;xe<Se.length;xe++){if(Se[xe]!=pe)throw new Error("Unsupported extended clipboard format for Provide message.");me[xe]=me[xe].replace(/\r\n|\r|\n/gm,`\r
`);var We=(0,b.encodeUTF8)(me[xe]+"\0");we.push(We.length>>24&255,We.length>>16&255,We.length>>8&255,We.length&255);for(var st=0;st<We.length;st++)we.push(We.charCodeAt(st))}var nt=$.deflate(new Uint8Array(we)),Ne=new Uint8Array(4+nt.length);Ne.set(Z.messages._buildExtendedClipboardFlags([X],Se)),Ne.set(nt,4),Z.messages.clientCutText(le,Ne,!0)},extendedClipboardNotify:function(le,Se){var me=Z.messages._buildExtendedClipboardFlags([V],Se);Z.messages.clientCutText(le,me,!0)},extendedClipboardRequest:function(le,Se){var me=Z.messages._buildExtendedClipboardFlags([qe],Se);Z.messages.clientCutText(le,me,!0)},extendedClipboardCaps:function(le,Se,me){var $=Object.keys(me),we=new Uint8Array(4+4*$.length);$.map(function(st){return parseInt(st)}),$.sort(function(st,nt){return st-nt}),we.set(Z.messages._buildExtendedClipboardFlags(Se,[]));for(var xe=4,We=0;We<$.length;We++)we[xe]=me[$[We]]>>24,we[xe+1]=me[$[We]]>>16,we[xe+2]=me[$[We]]>>8,we[xe+3]=me[$[We]]>>0,xe+=4,we[3]|=1<<$[We];Z.messages.clientCutText(le,we,!0)},clientCutText:function(le,Se){var me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,$=le._sQ,we=le._sQlen;$[we]=6,$[we+1]=0,$[we+2]=0,$[we+3]=0;var xe;me?xe=(0,w.toUnsigned32bit)(-Se.length):xe=Se.length,$[we+4]=xe>>24,$[we+5]=xe>>16,$[we+6]=xe>>8,$[we+7]=xe,le._sQlen+=8;for(var We=0,st=Se.length;st>0;){for(var nt=Math.min(st,le._sQbufferSize-le._sQlen),Ne=0;Ne<nt;Ne++)$[le._sQlen+Ne]=Se[We+Ne];le._sQlen+=nt,le.flush(),st-=nt,We+=nt}},setDesktopSize:function(le,Se,me,$,we){var xe=le._sQ,We=le._sQlen;xe[We]=251,xe[We+1]=0,xe[We+2]=Se>>8,xe[We+3]=Se,xe[We+4]=me>>8,xe[We+5]=me,xe[We+6]=1,xe[We+7]=0,xe[We+8]=$>>24,xe[We+9]=$>>16,xe[We+10]=$>>8,xe[We+11]=$,xe[We+12]=0,xe[We+13]=0,xe[We+14]=0,xe[We+15]=0,xe[We+16]=Se>>8,xe[We+17]=Se,xe[We+18]=me>>8,xe[We+19]=me,xe[We+20]=we>>24,xe[We+21]=we>>16,xe[We+22]=we>>8,xe[We+23]=we,le._sQlen+=24,le.flush()},clientFence:function(le,Se,me){var $=le._sQ,we=le._sQlen;$[we]=248,$[we+1]=0,$[we+2]=0,$[we+3]=0,$[we+4]=Se>>24,$[we+5]=Se>>16,$[we+6]=Se>>8,$[we+7]=Se;var xe=me.length;$[we+8]=xe;for(var We=0;We<xe;We++)$[we+9+We]=me.charCodeAt(We);le._sQlen+=9+xe,le.flush()},enableContinuousUpdates:function(le,Se,me,$,we,xe){var We=le._sQ,st=le._sQlen;We[st]=150,We[st+1]=Se,We[st+2]=me>>8,We[st+3]=me,We[st+4]=$>>8,We[st+5]=$,We[st+6]=we>>8,We[st+7]=we,We[st+8]=xe>>8,We[st+9]=xe,le._sQlen+=10,le.flush()},pixelFormat:function(le,Se,me){var $=le._sQ,we=le._sQlen,xe;Se>16?xe=32:Se>8?xe=16:xe=8;var We=Math.floor(Se/3);$[we]=0,$[we+1]=0,$[we+2]=0,$[we+3]=0,$[we+4]=xe,$[we+5]=Se,$[we+6]=0,$[we+7]=me?1:0,$[we+8]=0,$[we+9]=(1<<We)-1,$[we+10]=0,$[we+11]=(1<<We)-1,$[we+12]=0,$[we+13]=(1<<We)-1,$[we+14]=We*2,$[we+15]=We*1,$[we+16]=We*0,$[we+17]=0,$[we+18]=0,$[we+19]=0,le._sQlen+=20,le.flush()},clientEncodings:function(le,Se){var me=le._sQ,$=le._sQlen;me[$]=2,me[$+1]=0,me[$+2]=Se.length>>8,me[$+3]=Se.length;for(var we=$+4,xe=0;xe<Se.length;xe++){var We=Se[xe];me[we]=We>>24,me[we+1]=We>>16,me[we+2]=We>>8,me[we+3]=We,we+=4}le._sQlen+=we-$,le.flush()},fbUpdateRequest:function(le,Se,me,$,we,xe){var We=le._sQ,st=le._sQlen;typeof me=="undefined"&&(me=0),typeof $=="undefined"&&($=0),We[st]=3,We[st+1]=Se?1:0,We[st+2]=me>>8&255,We[st+3]=me&255,We[st+4]=$>>8&255,We[st+5]=$&255,We[st+6]=we>>8&255,We[st+7]=we&255,We[st+8]=xe>>8&255,We[st+9]=xe&255,le._sQlen+=10,le.flush()},xvpOp:function(le,Se,me){var $=le._sQ,we=le._sQlen;$[we]=250,$[we+1]=0,$[we+2]=Se,$[we+3]=me,le._sQlen+=4,le.flush()}},Z.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(k,B,d){(function(w){w(d("VrN/"))})(function(w){"use strict";var A={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},b={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};w.defineMode("xml",function(g,v){var f=g.indentUnit,l={},u=v.htmlMode?A:b;for(var o in u)l[o]=u[o];for(var o in v)l[o]=v[o];var e,n;function i(L,D){function F(W){return D.tokenize=W,W(L,D)}var N=L.next();if(N=="<")return L.eat("!")?L.eat("[")?L.match("CDATA[")?F(t("atom","]]>")):null:L.match("--")?F(t("comment","-->")):L.match("DOCTYPE",!0,!0)?(L.eatWhile(/[\w\._\-]/),F(a(1))):null:L.eat("?")?(L.eatWhile(/[\w\._\-]/),D.tokenize=t("meta","?>"),"meta"):(e=L.eat("/")?"closeTag":"openTag",D.tokenize=r,"tag bracket");if(N=="&"){var P;return L.eat("#")?L.eat("x")?P=L.eatWhile(/[a-fA-F\d]/)&&L.eat(";"):P=L.eatWhile(/[\d]/)&&L.eat(";"):P=L.eatWhile(/[\w\.\-:]/)&&L.eat(";"),P?"atom":"error"}else return L.eatWhile(/[^&<]/),null}i.isInText=!0;function r(L,D){var F=L.next();if(F==">"||F=="/"&&L.eat(">"))return D.tokenize=i,e=F==">"?"endTag":"selfcloseTag","tag bracket";if(F=="=")return e="equals",null;if(F=="<"){D.tokenize=i,D.state=m,D.tagName=D.tagStart=null;var N=D.tokenize(L,D);return N?N+" tag error":"tag error"}else return/[\'\"]/.test(F)?(D.tokenize=s(F),D.stringStartCol=L.column(),D.tokenize(L,D)):(L.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function s(L){var D=function(N,P){for(;!N.eol();)if(N.next()==L){P.tokenize=r;break}return"string"};return D.isInAttribute=!0,D}function t(L,D){return function(F,N){for(;!F.eol();){if(F.match(D)){N.tokenize=i;break}F.next()}return L}}function a(L){return function(D,F){for(var N;(N=D.next())!=null;){if(N=="<")return F.tokenize=a(L+1),F.tokenize(D,F);if(N==">")if(L==1){F.tokenize=i;break}else return F.tokenize=a(L-1),F.tokenize(D,F)}return"meta"}}function c(L,D,F){this.prev=L.context,this.tagName=D,this.indent=L.indented,this.startOfLine=F,(l.doNotIndent.hasOwnProperty(D)||L.context&&L.context.noIndent)&&(this.noIndent=!0)}function h(L){L.context&&(L.context=L.context.prev)}function p(L,D){for(var F;;){if(!L.context)return;if(F=L.context.tagName,!l.contextGrabbers.hasOwnProperty(F)||!l.contextGrabbers[F].hasOwnProperty(D))return;h(L)}}function m(L,D,F){return L=="openTag"?(F.tagStart=D.column(),S):L=="closeTag"?y:m}function S(L,D,F){return L=="word"?(F.tagName=D.current(),n="tag",T):l.allowMissingTagName&&L=="endTag"?(n="tag bracket",T(L,D,F)):(n="error",S)}function y(L,D,F){if(L=="word"){var N=D.current();return F.context&&F.context.tagName!=N&&l.implicitlyClosed.hasOwnProperty(F.context.tagName)&&h(F),F.context&&F.context.tagName==N||l.matchClosing===!1?(n="tag",x):(n="tag error",C)}else return l.allowMissingTagName&&L=="endTag"?(n="tag bracket",x(L,D,F)):(n="error",C)}function x(L,D,F){return L!="endTag"?(n="error",x):(h(F),m)}function C(L,D,F){return n="error",x(L,D,F)}function T(L,D,F){if(L=="word")return n="attribute",_;if(L=="endTag"||L=="selfcloseTag"){var N=F.tagName,P=F.tagStart;return F.tagName=F.tagStart=null,L=="selfcloseTag"||l.autoSelfClosers.hasOwnProperty(N)?p(F,N):(p(F,N),F.context=new c(F,N,P==F.indented)),m}return n="error",T}function _(L,D,F){return L=="equals"?E:(l.allowMissing||(n="error"),T(L,D,F))}function E(L,D,F){return L=="string"?I:L=="word"&&l.allowUnquoted?(n="string",T):(n="error",T(L,D,F))}function I(L,D,F){return L=="string"?I:T(L,D,F)}return{startState:function(D){var F={tokenize:i,state:m,indented:D||0,tagName:null,tagStart:null,context:null};return D!=null&&(F.baseIndent=D),F},token:function(D,F){if(!F.tagName&&D.sol()&&(F.indented=D.indentation()),D.eatSpace())return null;e=null;var N=F.tokenize(D,F);return(N||e)&&N!="comment"&&(n=null,F.state=F.state(e||N,D,F),n&&(N=n=="error"?N+" error":n)),N},indent:function(D,F,N){var P=D.context;if(D.tokenize.isInAttribute)return D.tagStart==D.indented?D.stringStartCol+1:D.indented+f;if(P&&P.noIndent)return w.Pass;if(D.tokenize!=r&&D.tokenize!=i)return N?N.match(/^(\s*)/)[0].length:0;if(D.tagName)return l.multilineTagIndentPastTag!==!1?D.tagStart+D.tagName.length+2:D.tagStart+f*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(F))return 0;var W=F&&/^<(\/)?([\w_:\.-]*)/.exec(F);if(W&&W[1])for(;P;)if(P.tagName==W[2]){P=P.prev;break}else if(l.implicitlyClosed.hasOwnProperty(P.tagName))P=P.prev;else break;else if(W)for(;P;){var R=l.contextGrabbers[P.tagName];if(R&&R.hasOwnProperty(W[2]))P=P.prev;else break}for(;P&&P.prev&&!P.startOfLine;)P=P.prev;return P?P.indent+f:D.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(D){D.state==E&&(D.state=T)},xmlCurrentTag:function(D){return D.tagName?{name:D.tagName,close:D.type=="closeTag"}:null},xmlCurrentContext:function(D){for(var F=[],N=D.context;N;N=N.prev)N.tagName&&F.push(N.tagName);return F.reverse()}}}),w.defineMIME("text/xml","xml"),w.defineMIME("application/xml","xml"),w.mimeModes.hasOwnProperty("text/html")||w.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1j5w":function(k,B,d){"use strict";d.d(B,"e",function(){return xt}),d.d(B,"b",function(){return Jt}),d.d(B,"d",function(){return Jt}),d.d(B,"c",function(){return zr}),d.d(B,"a",function(){return ei});var w=d("wx14"),A=d("VTBJ"),b=d("1OyB"),g=d("vuIU"),v=d("JX7q"),f=d("Ji7U"),l=d("LK+K"),u=d("q1tI"),o=function(){var Zr=function(ut,Oe){return Zr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(be,Fe){be.__proto__=Fe}||function(be,Fe){for(var it in Fe)Fe.hasOwnProperty(it)&&(be[it]=Fe[it])},Zr(ut,Oe)};return function(bt,ut){Zr(bt,ut);function Oe(){this.constructor=bt}bt.prototype=ut===null?Object.create(ut):(Oe.prototype=ut.prototype,new Oe)}}(),e=u.createContext(null),n=function(Zr){o(bt,Zr);function bt(){return Zr!==null&&Zr.apply(this,arguments)||this}return bt.prototype.render=function(){return u.createElement(e.Provider,{value:this.props.store},this.props.children)},bt}(u.Component),i=d("Gytx"),r=d.n(i),s=d("2mql"),t=d.n(s),a=function(){var Zr=function(ut,Oe){return Zr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(be,Fe){be.__proto__=Fe}||function(be,Fe){for(var it in Fe)Fe.hasOwnProperty(it)&&(be[it]=Fe[it])},Zr(ut,Oe)};return function(bt,ut){Zr(bt,ut);function Oe(){this.constructor=bt}bt.prototype=ut===null?Object.create(ut):(Oe.prototype=ut.prototype,new Oe)}}(),c=function(){return c=Object.assign||function(Zr){for(var bt,ut=1,Oe=arguments.length;ut<Oe;ut++){bt=arguments[ut];for(var be in bt)Object.prototype.hasOwnProperty.call(bt,be)&&(Zr[be]=bt[be])}return Zr},c.apply(this,arguments)};function h(Zr){return Zr.displayName||Zr.name||"Component"}var p=function(){return{}};function m(Zr,bt){bt===void 0&&(bt={});var ut=!!Zr,Oe=Zr||p;return function(Fe){var it=function(nr){a(sr,nr);function sr(Ar,Hr){var $r=nr.call(this,Ar,Hr)||this;return $r.unsubscribe=null,$r.handleChange=function(){if(!$r.unsubscribe)return;var Qt=Oe($r.store.getState(),$r.props);$r.setState({subscribed:Qt})},$r.store=$r.context,$r.state={subscribed:Oe($r.store.getState(),Ar),store:$r.store,props:Ar},$r}return sr.getDerivedStateFromProps=function(Ar,Hr){return Zr&&Zr.length===2&&Ar!==Hr.props?{subscribed:Oe(Hr.store.getState(),Ar),props:Ar}:{props:Ar}},sr.prototype.componentDidMount=function(){this.trySubscribe()},sr.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},sr.prototype.shouldComponentUpdate=function(Ar,Hr){return!r()(this.props,Ar)||!r()(this.state.subscribed,Hr.subscribed)},sr.prototype.trySubscribe=function(){ut&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},sr.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},sr.prototype.render=function(){var Ar=c(c(c({},this.props),this.state.subscribed),{store:this.store});return u.createElement(Fe,c({},Ar,{ref:this.props.miniStoreForwardedRef}))},sr.displayName="Connect("+h(Fe)+")",sr.contextType=e,sr}(u.Component);if(bt.forwardRef){var wt=u.forwardRef(function(nr,sr){return u.createElement(it,c({},nr,{miniStoreForwardedRef:sr}))});return t()(wt,Fe)}return t()(it,Fe)}}var S=function(){return S=Object.assign||function(Zr){for(var bt,ut=1,Oe=arguments.length;ut<Oe;ut++){bt=arguments[ut];for(var be in bt)Object.prototype.hasOwnProperty.call(bt,be)&&(Zr[be]=bt[be])}return Zr},S.apply(this,arguments)};function y(Zr){var bt=Zr,ut=[];function Oe(it){bt=S(S({},bt),it);for(var wt=0;wt<ut.length;wt++)ut[wt]()}function be(){return bt}function Fe(it){return ut.push(it),function(){var nr=ut.indexOf(it);ut.splice(nr,1)}}return{setState:Oe,getState:be,subscribe:Fe}}var x=d("bT9E"),C=d("rePB"),T=d("4IlW");function _(){var Zr=[].slice.call(arguments,0);return Zr.length===1?Zr[0]:function(){for(var ut=0;ut<Zr.length;ut++)Zr[ut]&&Zr[ut].apply&&Zr[ut].apply(this,arguments)}}var E=d("Zm9Q"),I=d("TSYQ"),L=d.n(I),D=d("U8pU"),F=d("ODXe"),N=/iPhone/i,P=/iPod/i,W=/iPad/i,R=/\bAndroid(?:.+)Mobile\b/i,j=/Android/i,H=/\bAndroid(?:.+)SD4930UR\b/i,K=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,U=/Windows Phone/i,G=/\bWindows(?:.+)ARM\b/i,z=/BlackBerry/i,Y=/BB10/i,q=/Opera Mini/i,oe=/\b(CriOS|Chrome)(?:.+)Mobile/i,ie=/Mobile(?:.+)Firefox\b/i;function se(Zr,bt){return Zr.test(bt)}function he(Zr){var bt=Zr||(typeof navigator!="undefined"?navigator.userAgent:""),ut=(bt||"").split("[FBAN");if(typeof ut[1]!="undefined"){var Oe=ut,be=Object(F.a)(Oe,1);bt=be[0]}if(ut=bt.split("Twitter"),typeof ut[1]!="undefined"){var Fe=ut,it=Object(F.a)(Fe,1);bt=it[0]}var wt={apple:{phone:se(N,bt)&&!se(U,bt),ipod:se(P,bt),tablet:!se(N,bt)&&se(W,bt)&&!se(U,bt),device:(se(N,bt)||se(P,bt)||se(W,bt))&&!se(U,bt)},amazon:{phone:se(H,bt),tablet:!se(H,bt)&&se(K,bt),device:se(H,bt)||se(K,bt)},android:{phone:!se(U,bt)&&se(H,bt)||!se(U,bt)&&se(R,bt),tablet:!se(U,bt)&&!se(H,bt)&&!se(R,bt)&&(se(K,bt)||se(j,bt)),device:!se(U,bt)&&(se(H,bt)||se(K,bt)||se(R,bt)||se(j,bt))||se(/\bokhttp\b/i,bt)},windows:{phone:se(U,bt),tablet:se(G,bt),device:se(U,bt)||se(G,bt)},other:{blackberry:se(z,bt),blackberry10:se(Y,bt),opera:se(q,bt),firefox:se(ie,bt),chrome:se(oe,bt),device:se(z,bt)||se(Y,bt)||se(q,bt)||se(ie,bt)||se(oe,bt)},any:null,phone:null,tablet:null};return wt.any=wt.apple.device||wt.android.device||wt.windows.device||wt.other.device,wt.phone=wt.apple.phone||wt.android.phone||wt.windows.phone,wt.tablet=wt.apple.tablet||wt.android.tablet||wt.windows.tablet,wt}var pe=Object(A.a)(Object(A.a)({},he()),{},{isMobile:he}),_e=pe;function De(){}function Xe(Zr,bt,ut){var Oe=bt||"";return Zr.key||"".concat(Oe,"item_").concat(ut)}function J(Zr){return"".concat(Zr,"-menu-")}function Ee(Zr,bt){var ut=-1;u.Children.forEach(Zr,function(Oe){ut+=1,Oe&&Oe.type&&Oe.type.isMenuItemGroup?u.Children.forEach(Oe.props.children,function(be){ut+=1,bt(be,ut)}):bt(Oe,ut)})}function qe(Zr,bt,ut){if(!Zr||ut.find)return;u.Children.forEach(Zr,function(Oe){if(Oe){var be=Oe.type;if(!be||!(be.isSubMenu||be.isMenuItem||be.isMenuItemGroup))return;bt.indexOf(Oe.key)!==-1?ut.find=!0:Oe.props.children&&qe(Oe.props.children,bt,ut)}})}var ae=["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"],V=function(bt){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Oe=bt&&typeof bt.getBoundingClientRect=="function"&&bt.getBoundingClientRect().width;if(Oe){if(ut){var be=getComputedStyle(bt),Fe=be.marginLeft,it=be.marginRight;Oe+=+Fe.replace("px","")+ +it.replace("px","")}Oe=+Oe.toFixed(6)}return Oe||0},X=function(bt,ut,Oe){bt&&Object(D.a)(bt.style)==="object"&&(bt.style[ut]=Oe)},Z=function(){return _e.any},ge=d("KQm4"),le=d("Ff2n"),Se=d("bdgK"),me=d("i8i4"),$=d("uciX"),we=d("wgJM"),xe=d("8XRh"),We={adjustX:1,adjustY:1},st={topLeft:{points:["bl","tl"],overflow:We,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:We,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:We,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:We,offset:[4,0]}},nt={topLeft:{points:["bl","tl"],overflow:We,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:We,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:We,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:We,offset:[4,0]}},Ne=st,St=0,Ye={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},vt=function(bt,ut,Oe){var be=J(ut),Fe=bt.getState();bt.setState({defaultActiveFirst:Object(A.a)(Object(A.a)({},Fe.defaultActiveFirst),{},Object(C.a)({},be,Oe))})},It=function(Zr){Object(f.a)(ut,Zr);var bt=Object(l.a)(ut);function ut(Oe){var be;Object(b.a)(this,ut),be=bt.call(this,Oe),be.onDestroy=function(Ar){be.props.onDestroy(Ar)},be.onKeyDown=function(Ar){var Hr=Ar.keyCode,$r=be.menuInstance,Qt=be.props.store,Ot=be.getVisible();if(Hr===T.a.ENTER)return be.onTitleClick(Ar),vt(Qt,be.props.eventKey,!0),!0;if(Hr===T.a.RIGHT)return Ot?$r.onKeyDown(Ar):(be.triggerOpenChange(!0),vt(Qt,be.props.eventKey,!0)),!0;if(Hr===T.a.LEFT){var Ft;if(Ot)Ft=$r.onKeyDown(Ar);else return;return Ft||(be.triggerOpenChange(!1),Ft=!0),Ft}return Ot&&(Hr===T.a.UP||Hr===T.a.DOWN)?$r.onKeyDown(Ar):void 0},be.onOpenChange=function(Ar){be.props.onOpenChange(Ar)},be.onPopupVisibleChange=function(Ar){be.triggerOpenChange(Ar,Ar?"mouseenter":"mouseleave")},be.onMouseEnter=function(Ar){var Hr=be.props,$r=Hr.eventKey,Qt=Hr.onMouseEnter,Ot=Hr.store;vt(Ot,be.props.eventKey,!1),Qt({key:$r,domEvent:Ar})},be.onMouseLeave=function(Ar){var Hr=be.props,$r=Hr.parentMenu,Qt=Hr.eventKey,Ot=Hr.onMouseLeave;$r.subMenuInstance=Object(v.a)(be),Ot({key:Qt,domEvent:Ar})},be.onTitleMouseEnter=function(Ar){var Hr=be.props,$r=Hr.eventKey,Qt=Hr.onItemHover,Ot=Hr.onTitleMouseEnter;Qt({key:$r,hover:!0}),Ot({key:$r,domEvent:Ar})},be.onTitleMouseLeave=function(Ar){var Hr=be.props,$r=Hr.parentMenu,Qt=Hr.eventKey,Ot=Hr.onItemHover,Ft=Hr.onTitleMouseLeave;$r.subMenuInstance=Object(v.a)(be),Ot({key:Qt,hover:!1}),Ft({key:Qt,domEvent:Ar})},be.onTitleClick=function(Ar){var Hr=Object(v.a)(be),$r=Hr.props;if($r.onTitleClick({key:$r.eventKey,domEvent:Ar}),$r.triggerSubMenuAction==="hover")return;be.triggerOpenChange(!be.getVisible(),"click"),vt($r.store,be.props.eventKey,!1)},be.onSubMenuClick=function(Ar){typeof be.props.onClick=="function"&&be.props.onClick(be.addKeyPath(Ar))},be.onSelect=function(Ar){be.props.onSelect(Ar)},be.onDeselect=function(Ar){be.props.onDeselect(Ar)},be.getPrefixCls=function(){return"".concat(be.props.rootPrefixCls,"-submenu")},be.getActiveClassName=function(){return"".concat(be.getPrefixCls(),"-active")},be.getDisabledClassName=function(){return"".concat(be.getPrefixCls(),"-disabled")},be.getSelectedClassName=function(){return"".concat(be.getPrefixCls(),"-selected")},be.getOpenClassName=function(){return"".concat(be.props.rootPrefixCls,"-submenu-open")},be.getVisible=function(){return be.state.isOpen},be.getMode=function(){return be.state.mode},be.saveMenuInstance=function(Ar){be.menuInstance=Ar},be.addKeyPath=function(Ar){return Object(A.a)(Object(A.a)({},Ar),{},{keyPath:(Ar.keyPath||[]).concat(be.props.eventKey)})},be.triggerOpenChange=function(Ar,Hr){var $r=be.props.eventKey,Qt=function(){be.onOpenChange({key:$r,item:Object(v.a)(be),trigger:Hr,open:Ar})};Hr==="mouseenter"?be.mouseenterTimeout=setTimeout(function(){Qt()},0):Qt()},be.isChildrenSelected=function(){var Ar={find:!1};return qe(be.props.children,be.props.selectedKeys,Ar),Ar.find},be.isInlineMode=function(){return be.getMode()==="inline"},be.adjustWidth=function(){if(!be.subMenuTitle||!be.menuInstance)return;var Ar=me.findDOMNode(be.menuInstance);if(Ar.offsetWidth>=be.subMenuTitle.offsetWidth)return;Ar.style.minWidth="".concat(be.subMenuTitle.offsetWidth,"px")},be.saveSubMenuTitle=function(Ar){be.subMenuTitle=Ar},be.getBaseProps=function(){var Ar=Object(v.a)(be),Hr=Ar.props,$r=be.getMode();return{mode:$r==="horizontal"?"vertical":$r,visible:be.getVisible(),level:Hr.level+1,inlineIndent:Hr.inlineIndent,focusable:!1,onClick:be.onSubMenuClick,onSelect:be.onSelect,onDeselect:be.onDeselect,onDestroy:be.onDestroy,selectedKeys:Hr.selectedKeys,eventKey:"".concat(Hr.eventKey,"-menu-"),openKeys:Hr.openKeys,motion:Hr.motion,onOpenChange:be.onOpenChange,subMenuOpenDelay:Hr.subMenuOpenDelay,parentMenu:Object(v.a)(be),subMenuCloseDelay:Hr.subMenuCloseDelay,forceSubMenuRender:Hr.forceSubMenuRender,triggerSubMenuAction:Hr.triggerSubMenuAction,builtinPlacements:Hr.builtinPlacements,defaultActiveFirst:Hr.store.getState().defaultActiveFirst[J(Hr.eventKey)],multiple:Hr.multiple,prefixCls:Hr.rootPrefixCls,id:be.internalMenuId,manualRef:be.saveMenuInstance,itemIcon:Hr.itemIcon,expandIcon:Hr.expandIcon,direction:Hr.direction}},be.getMotion=function(Ar,Hr){var $r=Object(v.a)(be),Qt=$r.haveRendered,Ot=be.props,Ft=Ot.motion,pr=Ot.rootPrefixCls,Rr=Object(A.a)(Object(A.a)({},Ft),{},{leavedClassName:"".concat(pr,"-hidden"),removeOnLeave:!1,motionAppear:Qt||!Hr||Ar!=="inline"});return Rr};var Fe=Oe.store,it=Oe.eventKey,wt=Fe.getState(),nr=wt.defaultActiveFirst;be.isRootMenu=!1;var sr=!1;return nr&&(sr=nr[it]),vt(Fe,it,sr),be.state={mode:Oe.mode,isOpen:Oe.isOpen},be}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var be=this,Fe=this.props,it=Fe.mode,wt=Fe.parentMenu,nr=Fe.manualRef,sr=Fe.isOpen,Ar=function(){be.setState({mode:it,isOpen:sr})},Hr=sr!==this.state.isOpen,$r=it!==this.state.mode;if(($r||Hr)&&(we.a.cancel(this.updateStateRaf),$r?this.updateStateRaf=Object(we.a)(Ar):Ar()),nr&&nr(this),it!=="horizontal"||!(wt==null?void 0:wt.isRootMenu)||!sr)return;this.minWidthTimeout=setTimeout(function(){return be.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var be=this.props,Fe=be.onDestroy,it=be.eventKey;Fe&&Fe(it),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),we.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(be,Fe){var it=this.getBaseProps();return u.createElement(tt,Object(w.a)({},it,{id:this.internalMenuId,className:be,style:Fe}),this.props.children)}},{key:"renderChildren",value:function(){var be=this,Fe=this.getBaseProps(),it=Fe.mode,wt=Fe.visible,nr=Fe.forceSubMenuRender,sr=Fe.direction,Ar=this.getMotion(it,wt);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||wt||nr,!this.haveOpened)return u.createElement("div",null);var Hr=L()("".concat(Fe.prefixCls,"-sub"),Object(C.a)({},"".concat(Fe.prefixCls,"-rtl"),sr==="rtl"));return this.isInlineMode()?u.createElement(xe.default,Object(w.a)({visible:Fe.visible,forceRender:nr},Ar),function($r){var Qt=$r.className,Ot=$r.style,Ft=L()(Hr,Qt);return be.renderPopupMenu(Ft,Ot)}):this.renderPopupMenu(Hr)}},{key:"render",value:function(){var be,Fe,it,wt=Object(A.a)({},this.props),nr=this.getVisible(),sr=this.getPrefixCls(),Ar=this.isInlineMode(),Hr=this.getMode(),$r=L()(sr,"".concat(sr,"-").concat(Hr),(be={},Object(C.a)(be,wt.className,!!wt.className),Object(C.a)(be,this.getOpenClassName(),nr),Object(C.a)(be,this.getActiveClassName(),wt.active||nr&&!Ar),Object(C.a)(be,this.getDisabledClassName(),wt.disabled),Object(C.a)(be,this.getSelectedClassName(),this.isChildrenSelected()),be));this.internalMenuId||(wt.eventKey?this.internalMenuId="".concat(wt.eventKey,"$Menu"):(St+=1,this.internalMenuId="$__$".concat(St,"$Menu")));var Qt={},Ot={},Ft={};wt.disabled||(Qt={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Ot={onClick:this.onTitleClick},Ft={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var pr={},Rr=wt.direction,Pr=Rr==="rtl";Ar&&(Pr?pr.paddingRight=wt.inlineIndent*wt.level:pr.paddingLeft=wt.inlineIndent*wt.level);var an={};this.getVisible()&&(an={"aria-owns":this.internalMenuId});var Xt=null;Hr!=="horizontal"&&(Xt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Xt=u.createElement(this.props.expandIcon,Object(A.a)({},this.props))));var hr=u.createElement("div",Object(w.a)({ref:this.saveSubMenuTitle,style:pr,className:"".concat(sr,"-title"),role:"button"},Ft,Ot,{"aria-expanded":nr},an,{"aria-haspopup":"true",title:typeof wt.title=="string"?wt.title:void 0}),wt.title,Xt||u.createElement("i",{className:"".concat(sr,"-arrow")})),Tr=this.renderChildren(),Wr=((Fe=wt.parentMenu)===null||Fe===void 0?void 0:Fe.isRootMenu)?wt.parentMenu.props.getPopupContainer:function(je){return je.parentNode},Gr=Ye[Hr],Tn=wt.popupOffset?{offset:wt.popupOffset}:{},gn=L()((it={},Object(C.a)(it,wt.popupClassName,wt.popupClassName&&!Ar),Object(C.a)(it,"".concat(sr,"-rtl"),Pr),it)),In=wt.disabled,Fn=wt.triggerSubMenuAction,Xn=wt.subMenuOpenDelay,fi=wt.forceSubMenuRender,pi=wt.subMenuCloseDelay,bi=wt.builtinPlacements;ae.forEach(function(je){return delete wt[je]}),delete wt.onClick;var et=Pr?Object(A.a)(Object(A.a)({},nt),bi):Object(A.a)(Object(A.a)({},st),bi);delete wt.direction;var Le=this.getBaseProps(),Pe=Ar?null:this.getMotion(Le.mode,Le.visible);return u.createElement("li",Object(w.a)({},wt,Qt,{className:$r,role:"menuitem"}),u.createElement($.a,{prefixCls:sr,popupClassName:L()("".concat(sr,"-popup"),gn),getPopupContainer:Wr,builtinPlacements:et,popupPlacement:Gr,popupVisible:Ar?!1:nr,popupAlign:Tn,popup:Ar?null:Tr,action:In||Ar?[]:[Fn],mouseEnterDelay:Xn,mouseLeaveDelay:pi,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:fi,popupMotion:Pe},hr),Ar?Tr:null)}}]),ut}(u.Component);It.defaultProps={onMouseEnter:De,onMouseLeave:De,onTitleMouseEnter:De,onTitleMouseLeave:De,onTitleClick:De,manualRef:De,mode:"vertical",title:""};var Ut=m(function(Zr,bt){var ut=Zr.openKeys,Oe=Zr.activeKey,be=Zr.selectedKeys,Fe=bt.eventKey,it=bt.subMenuKey;return{isOpen:ut.indexOf(Fe)>-1,active:Oe[it]===Fe,selectedKeys:be}})(It);Ut.isSubMenu=!0;var xt=Ut,Bt="menuitem-overflowed",Qe=.5,te=function(Zr){Object(f.a)(ut,Zr);var bt=Object(l.a)(ut);function ut(){var Oe;return Object(b.a)(this,ut),Oe=bt.apply(this,arguments),Oe.resizeObserver=null,Oe.mutationObserver=null,Oe.originalTotalWidth=0,Oe.overflowedItems=[],Oe.menuItemSizes=[],Oe.cancelFrameId=null,Oe.state={lastVisibleIndex:void 0},Oe.childRef=u.createRef(),Oe.getMenuItemNodes=function(){var be=Oe.props.prefixCls,Fe=Oe.childRef.current;return Fe?[].slice.call(Fe.children).filter(function(it){return it.className.split(" ").indexOf("".concat(be,"-overflowed-submenu"))<0}):[]},Oe.getOverflowedSubMenuItem=function(be,Fe,it){var wt=Oe.props,nr=wt.overflowedIndicator,sr=wt.level,Ar=wt.mode,Hr=wt.prefixCls,$r=wt.theme;if(sr!==1||Ar!=="horizontal")return null;var Qt=Oe.props.children[0],Ot=Qt.props,Ft=Ot.children,pr=Ot.title,Rr=Ot.style,Pr=Object(le.a)(Ot,["children","title","style"]),an=Object(A.a)({},Rr),Xt="".concat(be,"-overflowed-indicator"),hr="".concat(be,"-overflowed-indicator");Fe.length===0&&it!==!0?an=Object(A.a)(Object(A.a)({},an),{},{display:"none"}):it&&(an=Object(A.a)(Object(A.a)({},an),{},{visibility:"hidden",position:"absolute"}),Xt="".concat(Xt,"-placeholder"),hr="".concat(hr,"-placeholder"));var Tr=$r?"".concat(Hr,"-").concat($r):"",Wr={};return ae.forEach(function(Gr){Pr[Gr]!==void 0&&(Wr[Gr]=Pr[Gr])}),u.createElement(xt,Object(w.a)({title:nr,className:"".concat(Hr,"-overflowed-submenu"),popupClassName:Tr},Wr,{key:Xt,eventKey:hr,disabled:!1,style:an}),Fe)},Oe.setChildrenWidthAndResize=function(){if(Oe.props.mode!=="horizontal")return;var be=Oe.childRef.current;if(!be)return;var Fe=be.children;if(!Fe||Fe.length===0)return;var it=be.children[Fe.length-1];X(it,"display","inline-block");var wt=Oe.getMenuItemNodes(),nr=wt.filter(function(sr){return sr.className.split(" ").indexOf(Bt)>=0});nr.forEach(function(sr){X(sr,"display","inline-block")}),Oe.menuItemSizes=wt.map(function(sr){return V(sr,!0)}),nr.forEach(function(sr){X(sr,"display","none")}),Oe.overflowedIndicatorWidth=V(be.children[be.children.length-1],!0),Oe.originalTotalWidth=Oe.menuItemSizes.reduce(function(sr,Ar){return sr+Ar},0),Oe.handleResize(),X(it,"display","none")},Oe.handleResize=function(){if(Oe.props.mode!=="horizontal")return;var be=Oe.childRef.current;if(!be)return;var Fe=V(be);Oe.overflowedItems=[];var it=0,wt;Oe.originalTotalWidth>Fe+Qe&&(wt=-1,Oe.menuItemSizes.forEach(function(nr){it+=nr,it+Oe.overflowedIndicatorWidth<=Fe&&(wt+=1)})),Oe.setState({lastVisibleIndex:wt})},Oe}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){var be=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Fe=this.childRef.current;if(!Fe)return;this.resizeObserver=new Se.a(function(it){it.forEach(function(){var wt=be.cancelFrameId;cancelAnimationFrame(wt),be.cancelFrameId=requestAnimationFrame(be.setChildrenWidthAndResize)})}),[].slice.call(Fe.children).concat(Fe).forEach(function(it){be.resizeObserver.observe(it)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){be.resizeObserver.disconnect(),[].slice.call(Fe.children).concat(Fe).forEach(function(it){be.resizeObserver.observe(it)}),be.setChildrenWidthAndResize()}),this.mutationObserver.observe(Fe,{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(be){var Fe=this,it=this.state.lastVisibleIndex;return(be||[]).reduce(function(wt,nr,sr){var Ar=nr;if(Fe.props.mode==="horizontal"){var Hr=Fe.getOverflowedSubMenuItem(nr.props.eventKey,[]);it!==void 0&&Fe.props.className.indexOf("".concat(Fe.props.prefixCls,"-root"))!==-1&&(sr>it&&(Ar=u.cloneElement(nr,{style:{display:"none"},eventKey:"".concat(nr.props.eventKey,"-hidden"),className:"".concat(Bt)})),sr===it+1&&(Fe.overflowedItems=be.slice(it+1).map(function(Qt){return u.cloneElement(Qt,{key:Qt.props.eventKey,mode:"vertical-left"})}),Hr=Fe.getOverflowedSubMenuItem(nr.props.eventKey,Fe.overflowedItems)));var $r=[].concat(Object(ge.a)(wt),[Hr,Ar]);return sr===be.length-1&&$r.push(Fe.getOverflowedSubMenuItem(nr.props.eventKey,[],!0)),$r}return[].concat(Object(ge.a)(wt),[Ar])},[])}},{key:"render",value:function(){var be=this.props,Fe=be.visible,it=be.prefixCls,wt=be.overflowedIndicator,nr=be.mode,sr=be.level,Ar=be.tag,Hr=be.children,$r=be.theme,Qt=Object(le.a)(be,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Ot=Ar;return u.createElement(Ot,Object(w.a)({ref:this.childRef},Qt),this.renderChildren(Hr))}}]),ut}(u.Component);te.defaultProps={tag:"div",className:""};var Q=te;function Me(Zr){return Zr.length?Zr.every(function(bt){return!!bt.props.disabled}):!0}function Ce(Zr,bt,ut){var Oe=Zr.getState();Zr.setState({activeKey:Object(A.a)(Object(A.a)({},Oe.activeKey),{},Object(C.a)({},bt,ut))})}function ue(Zr){return Zr.eventKey||"0-menu-"}function ot(Zr,bt){var ut=bt,Oe=Zr.children,be=Zr.eventKey;if(ut){var Fe;if(Ee(Oe,function(it,wt){it&&it.props&&!it.props.disabled&&ut===Xe(it,be,wt)&&(Fe=!0)}),Fe)return ut}return ut=null,Zr.defaultActiveFirst&&Ee(Oe,function(it,wt){!ut&&it&&!it.props.disabled&&(ut=Xe(it,be,wt))}),ut}function rt(Zr){if(!Zr)return;var bt=this.instanceArray.indexOf(Zr);bt!==-1?this.instanceArray[bt]=Zr:this.instanceArray.push(Zr)}var Ue=function(Zr){Object(f.a)(ut,Zr);var bt=Object(l.a)(ut);function ut(Oe){var be;return Object(b.a)(this,ut),be=bt.call(this,Oe),be.onKeyDown=function(Fe,it){var wt=Fe.keyCode,nr;if(be.getFlatInstanceArray().forEach(function(Ar){Ar&&Ar.props.active&&Ar.onKeyDown&&(nr=Ar.onKeyDown(Fe))}),nr)return 1;var sr=null;return(wt===T.a.UP||wt===T.a.DOWN)&&(sr=be.step(wt===T.a.UP?-1:1)),sr?(Fe.preventDefault(),Ce(be.props.store,ue(be.props),sr.props.eventKey),typeof it=="function"&&it(sr),1):void 0},be.onItemHover=function(Fe){var it=Fe.key,wt=Fe.hover;Ce(be.props.store,ue(be.props),wt?it:null)},be.onDeselect=function(Fe){be.props.onDeselect(Fe)},be.onSelect=function(Fe){be.props.onSelect(Fe)},be.onClick=function(Fe){be.props.onClick(Fe)},be.onOpenChange=function(Fe){be.props.onOpenChange(Fe)},be.onDestroy=function(Fe){be.props.onDestroy(Fe)},be.getFlatInstanceArray=function(){return be.instanceArray},be.step=function(Fe){var it=be.getFlatInstanceArray(),wt=be.props.store.getState().activeKey[ue(be.props)],nr=it.length;if(!nr)return null;Fe<0&&(it=it.concat().reverse());var sr=-1;if(it.every(function(Qt,Ot){return Qt&&Qt.props.eventKey===wt?(sr=Ot,!1):!0}),!be.props.defaultActiveFirst&&sr!==-1&&Me(it.slice(sr,nr-1)))return;var Ar=(sr+1)%nr,Hr=Ar;do{var $r=it[Hr];if(!$r||$r.props.disabled)Hr=(Hr+1)%nr;else return $r}while(Hr!==Ar);return null},be.renderCommonMenuItem=function(Fe,it,wt){var nr=be.props.store.getState(),sr=Object(v.a)(be),Ar=sr.props,Hr=Xe(Fe,Ar.eventKey,it),$r=Fe.props;if(!$r||typeof Fe.type=="string")return Fe;var Qt=Hr===nr.activeKey,Ot=Object(A.a)(Object(A.a)({mode:$r.mode||Ar.mode,level:Ar.level,inlineIndent:Ar.inlineIndent,renderMenuItem:be.renderMenuItem,rootPrefixCls:Ar.prefixCls,index:it,parentMenu:Ar.parentMenu,manualRef:$r.disabled?void 0:_(Fe.ref,rt.bind(Object(v.a)(be))),eventKey:Hr,active:!$r.disabled&&Qt,multiple:Ar.multiple,onClick:function(pr){($r.onClick||De)(pr),be.onClick(pr)},onItemHover:be.onItemHover,motion:Ar.motion,subMenuOpenDelay:Ar.subMenuOpenDelay,subMenuCloseDelay:Ar.subMenuCloseDelay,forceSubMenuRender:Ar.forceSubMenuRender,onOpenChange:be.onOpenChange,onDeselect:be.onDeselect,onSelect:be.onSelect,builtinPlacements:Ar.builtinPlacements,itemIcon:$r.itemIcon||be.props.itemIcon,expandIcon:$r.expandIcon||be.props.expandIcon},wt),{},{direction:Ar.direction});return(Ar.mode==="inline"||Z())&&(Ot.triggerSubMenuAction="click"),u.cloneElement(Fe,Object(A.a)(Object(A.a)({},Ot),{},{key:Hr||it}))},be.renderMenuItem=function(Fe,it,wt){if(!Fe)return null;var nr=be.props.store.getState(),sr={openKeys:nr.openKeys,selectedKeys:nr.selectedKeys,triggerSubMenuAction:be.props.triggerSubMenuAction,subMenuKey:wt};return be.renderCommonMenuItem(Fe,it,sr)},Oe.store.setState({activeKey:Object(A.a)(Object(A.a)({},Oe.store.getState().activeKey),{},Object(C.a)({},Oe.eventKey,ot(Oe,Oe.activeKey)))}),be.instanceArray=[],be}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(be){return this.props.visible||be.visible||this.props.className!==be.className||!r()(this.props.style,be.style)}},{key:"componentDidUpdate",value:function(be){var Fe=this.props,it="activeKey"in Fe?Fe.activeKey:Fe.store.getState().activeKey[ue(Fe)],wt=ot(Fe,it);if(wt!==it)Ce(Fe.store,ue(Fe),wt);else if("activeKey"in be){var nr=ot(be,be.activeKey);wt!==nr&&Ce(Fe.store,ue(Fe),wt)}}},{key:"render",value:function(){var be=this,Fe=Object(w.a)({},this.props);this.instanceArray=[];var it=L()(Fe.prefixCls,Fe.className,"".concat(Fe.prefixCls,"-").concat(Fe.mode)),wt={className:it,role:Fe.role||"menu"};Fe.id&&(wt.id=Fe.id),Fe.focusable&&(wt.tabIndex=0,wt.onKeyDown=this.onKeyDown);var nr=Fe.prefixCls,sr=Fe.eventKey,Ar=Fe.visible,Hr=Fe.level,$r=Fe.mode,Qt=Fe.overflowedIndicator,Ot=Fe.theme;return ae.forEach(function(Ft){return delete Fe[Ft]}),delete Fe.onClick,u.createElement(Q,Object(w.a)({},Fe,{prefixCls:nr,mode:$r,tag:"ul",level:Hr,theme:Ot,visible:Ar,overflowedIndicator:Qt},wt),Object(E.a)(Fe.children).map(function(Ft,pr){return be.renderMenuItem(Ft,pr,sr||"0-menu-")}))}}]),ut}(u.Component);Ue.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:De};var Ge=m()(Ue),tt=Ge,Wt=d("Kwbf");function jt(Zr,bt,ut){var Oe=Zr.prefixCls,be=Zr.motion,Fe=Zr.defaultMotions,it=Fe===void 0?{}:Fe,wt=Zr.openAnimation,nr=Zr.openTransitionName,sr=bt.switchingModeFromInline;if(be)return be;if(Object(D.a)(wt)==="object"&&wt)Object(Wt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof wt=="string")return{motionName:"".concat(Oe,"-open-").concat(wt)};if(nr)return{motionName:nr};var Ar=it[ut];return Ar||(sr?null:it.other)}var Yt=function(Zr){Object(f.a)(ut,Zr);var bt=Object(l.a)(ut);function ut(Oe){var be;Object(b.a)(this,ut),be=bt.call(this,Oe),be.onSelect=function(wt){var nr=Object(v.a)(be),sr=nr.props;if(sr.selectable){var Ar=be.store.getState(),Hr=Ar.selectedKeys,$r=wt.key;sr.multiple?Hr=Hr.concat([$r]):Hr=[$r],"selectedKeys"in sr||be.store.setState({selectedKeys:Hr}),sr.onSelect(Object(A.a)(Object(A.a)({},wt),{},{selectedKeys:Hr}))}},be.onClick=function(wt){var nr=be.getRealMenuMode(),sr=Object(v.a)(be),Ar=sr.store,Hr=sr.props.onOpenChange;nr!=="inline"&&!("openKeys"in be.props)&&(Ar.setState({openKeys:[]}),Hr([])),be.props.onClick(wt)},be.onKeyDown=function(wt,nr){be.innerMenu.getWrappedInstance().onKeyDown(wt,nr)},be.onOpenChange=function(wt){var nr=Object(v.a)(be),sr=nr.props,Ar=be.store.getState().openKeys.concat(),Hr=!1,$r=function(Ot){var Ft=!1;if(Ot.open)Ft=Ar.indexOf(Ot.key)===-1,Ft&&Ar.push(Ot.key);else{var pr=Ar.indexOf(Ot.key);Ft=pr!==-1,Ft&&Ar.splice(pr,1)}Hr=Hr||Ft};Array.isArray(wt)?wt.forEach($r):$r(wt),Hr&&("openKeys"in be.props||be.store.setState({openKeys:Ar}),sr.onOpenChange(Ar))},be.onDeselect=function(wt){var nr=Object(v.a)(be),sr=nr.props;if(sr.selectable){var Ar=be.store.getState().selectedKeys.concat(),Hr=wt.key,$r=Ar.indexOf(Hr);$r!==-1&&Ar.splice($r,1),"selectedKeys"in sr||be.store.setState({selectedKeys:Ar}),sr.onDeselect(Object(A.a)(Object(A.a)({},wt),{},{selectedKeys:Ar}))}},be.onMouseEnter=function(wt){be.restoreModeVerticalFromInline();var nr=be.props.onMouseEnter;nr&&nr(wt)},be.onTransitionEnd=function(wt){var nr=wt.propertyName==="width"&&wt.target===wt.currentTarget,sr=wt.target.className,Ar=Object.prototype.toString.call(sr)==="[object SVGAnimatedString]"?sr.animVal:sr,Hr=wt.propertyName==="font-size"&&Ar.indexOf("anticon")>=0;(nr||Hr)&&be.restoreModeVerticalFromInline()},be.setInnerMenu=function(wt){be.innerMenu=wt},be.isRootMenu=!0;var Fe=Oe.defaultSelectedKeys,it=Oe.defaultOpenKeys;return"selectedKeys"in Oe&&(Fe=Oe.selectedKeys||[]),"openKeys"in Oe&&(it=Oe.openKeys||[]),be.store=y({selectedKeys:Fe,openKeys:it,activeKey:{"0-menu-":ot(Oe,Oe.activeKey)}}),be.state={switchingModeFromInline:!1,prevProps:Oe,inlineOpenKeys:[],store:be.store},be}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(be){var Fe=this.props,it=Fe.siderCollapsed,wt=Fe.inlineCollapsed,nr=Fe.onOpenChange;(!be.inlineCollapsed&&wt||!be.siderCollapsed&&it)&&nr([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var be=this.props.collapsedWidth,Fe=this.store,it=this.prevOpenKeys,wt=this.getInlineCollapsed()&&(be===0||be==="0"||be==="0px");wt?(this.prevOpenKeys=Fe.getState().openKeys.concat(),this.store.setState({openKeys:[]})):it&&(this.store.setState({openKeys:it}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var be=this.props.mode,Fe=this.state.switchingModeFromInline,it=this.getInlineCollapsed();return Fe&&it?"inline":it?"vertical":be}},{key:"getInlineCollapsed",value:function(){var be=this.props,Fe=be.inlineCollapsed,it=be.siderCollapsed;return it!==void 0?it:Fe}},{key:"restoreModeVerticalFromInline",value:function(){var be=this.state.switchingModeFromInline;be&&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 be=Object(A.a)({},Object(x.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Fe=this.getRealMenuMode();return be.className+=" ".concat(be.prefixCls,"-root"),be.direction==="rtl"&&(be.className+=" ".concat(be.prefixCls,"-rtl")),be=Object(A.a)(Object(A.a)({},be),{},{mode:Fe,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:jt(this.props,this.state,Fe)}),delete be.openAnimation,delete be.openTransitionName,u.createElement(n,{store:this.store},u.createElement(tt,Object(w.a)({},be,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(be,Fe){var it=Fe.prevProps,wt=Fe.store,nr=wt.getState(),sr={},Ar={prevProps:be};return it.mode==="inline"&&be.mode!=="inline"&&(Ar.switchingModeFromInline=!0),"openKeys"in be?sr.openKeys=be.openKeys||[]:((be.inlineCollapsed&&!it.inlineCollapsed||be.siderCollapsed&&!it.siderCollapsed)&&(Ar.switchingModeFromInline=!0,Ar.inlineOpenKeys=nr.openKeys,sr.openKeys=[]),(!be.inlineCollapsed&&it.inlineCollapsed||!be.siderCollapsed&&it.siderCollapsed)&&(sr.openKeys=Fe.inlineOpenKeys,Ar.inlineOpenKeys=[])),Object.keys(sr).length&&wt.setState(sr),Ar}}]),ut}(u.Component);Yt.defaultProps={selectable:!0,onClick:De,onSelect:De,onOpenChange:De,onDeselect:De,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:u.createElement("span",null,"\xB7\xB7\xB7")};var Tt=Yt,Rt=function(Zr){Object(f.a)(ut,Zr);var bt=Object(l.a)(ut);function ut(){var Oe;return Object(b.a)(this,ut),Oe=bt.apply(this,arguments),Oe.onKeyDown=function(be){var Fe=be.keyCode;return Fe===T.a.ENTER?(Oe.onClick(be),!0):void 0},Oe.onMouseLeave=function(be){var Fe=Oe.props,it=Fe.eventKey,wt=Fe.onItemHover,nr=Fe.onMouseLeave;wt({key:it,hover:!1}),nr({key:it,domEvent:be})},Oe.onMouseEnter=function(be){var Fe=Oe.props,it=Fe.eventKey,wt=Fe.onItemHover,nr=Fe.onMouseEnter;wt({key:it,hover:!0}),nr({key:it,domEvent:be})},Oe.onClick=function(be){var Fe=Oe.props,it=Fe.eventKey,wt=Fe.multiple,nr=Fe.onClick,sr=Fe.onSelect,Ar=Fe.onDeselect,Hr=Fe.isSelected,$r={key:it,keyPath:[it],item:Object(v.a)(Oe),domEvent:be};nr($r),wt?Hr?Ar($r):sr($r):Hr||sr($r)},Oe.saveNode=function(be){Oe.node=be},Oe}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var be=this.props;be.onDestroy&&be.onDestroy(be.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 be,Fe=Object(A.a)({},this.props),it=L()(this.getPrefixCls(),Fe.className,(be={},Object(C.a)(be,this.getActiveClassName(),!Fe.disabled&&Fe.active),Object(C.a)(be,this.getSelectedClassName(),Fe.isSelected),Object(C.a)(be,this.getDisabledClassName(),Fe.disabled),be)),wt=Object(A.a)(Object(A.a)({},Fe.attribute),{},{title:typeof Fe.title=="string"?Fe.title:void 0,className:it,role:Fe.role||"menuitem","aria-disabled":Fe.disabled});Fe.role==="option"?wt=Object(A.a)(Object(A.a)({},wt),{},{role:"option","aria-selected":Fe.isSelected}):(Fe.role===null||Fe.role==="none")&&(wt.role="none");var nr={onClick:Fe.disabled?null:this.onClick,onMouseLeave:Fe.disabled?null:this.onMouseLeave,onMouseEnter:Fe.disabled?null:this.onMouseEnter},sr=Object(A.a)({},Fe.style);Fe.mode==="inline"&&(Fe.direction==="rtl"?sr.paddingRight=Fe.inlineIndent*Fe.level:sr.paddingLeft=Fe.inlineIndent*Fe.level),ae.forEach(function(Hr){return delete Fe[Hr]}),delete Fe.direction;var Ar=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Ar=u.createElement(this.props.itemIcon,this.props)),u.createElement("li",Object(w.a)({},Object(x.a)(Fe,["onClick","onMouseEnter","onMouseLeave","onSelect"]),wt,nr,{style:sr,ref:this.saveNode}),Fe.children,Ar)}}]),ut}(u.Component);Rt.isMenuItem=!0,Rt.defaultProps={onSelect:De,onMouseEnter:De,onMouseLeave:De,manualRef:De};var yt=m(function(Zr,bt){var ut=Zr.activeKey,Oe=Zr.selectedKeys,be=bt.eventKey,Fe=bt.subMenuKey;return{active:ut[Fe]===be,isSelected:Array.isArray(Oe)?Oe.indexOf(be)!==-1:Oe===be}})(Rt),Jt=yt,Lr=function(Zr){Object(f.a)(ut,Zr);var bt=Object(l.a)(ut);function ut(){var Oe;return Object(b.a)(this,ut),Oe=bt.apply(this,arguments),Oe.renderInnerMenuItem=function(be){var Fe=Oe.props,it=Fe.renderMenuItem,wt=Fe.index;return it(be,wt,Oe.props.subMenuKey)},Oe}return Object(g.a)(ut,[{key:"render",value:function(){var be=Object(w.a)({},this.props),Fe=be.className,it=Fe===void 0?"":Fe,wt=be.rootPrefixCls,nr="".concat(wt,"-item-group-title"),sr="".concat(wt,"-item-group-list"),Ar=be.title,Hr=be.children;return ae.forEach(function($r){return delete be[$r]}),delete be.direction,u.createElement("li",Object(w.a)({},be,{onClick:function(Qt){return Qt.stopPropagation()},className:"".concat(it," ").concat(wt,"-item-group")}),u.createElement("div",{className:nr,title:typeof Ar=="string"?Ar:void 0},Ar),u.createElement("ul",{className:sr},u.Children.map(Hr,this.renderInnerMenuItem)))}}]),ut}(u.Component);Lr.isMenuItemGroup=!0,Lr.defaultProps={disabled:!0};var zr=Lr,rn=function(bt){var ut=bt.className,Oe=bt.rootPrefixCls,be=bt.style;return u.createElement("li",{className:"".concat(ut," ").concat(Oe,"-item-divider"),style:be})};rn.defaultProps={disabled:!0,className:"",style:{}};var ei=rn,fn=B.f=Tt},"1n7x":function(k,B,d){(function(w,A){/*!
* html2pdf.js v0.10.1
* Copyright (c) 2021 Erik Koopmans
* Released under the MIT License.
*/(function(g,v){k.exports=v(d("dtIV"),d("wOnQ"))})(self,function(b,g){return function(){var v={"./src/plugin/hyperlinks.js":function(e,n,i){"use strict";i.r(n);var r=i("./node_modules/core-js/modules/web.dom-collections.for-each.js"),s=i.n(r),t=i("./node_modules/core-js/modules/es.string.link.js"),a=i.n(t),c=i("./src/worker.js"),h=i("./src/utils.js"),p=[],m={toContainer:c.default.prototype.toContainer,toPdf:c.default.prototype.toPdf};c.default.prototype.toContainer=function(){return m.toContainer.call(this).then(function(){if(this.opt.enableLinks){var x=this.prop.container,C=x.querySelectorAll("a"),T=(0,h.unitConvert)(x.getBoundingClientRect(),this.prop.pageSize.k);p=[],Array.prototype.forEach.call(C,function(_){for(var E=_.getClientRects(),I=0;I<E.length;I++){var L=(0,h.unitConvert)(E[I],this.prop.pageSize.k);L.left-=T.left,L.top-=T.top;var D=Math.floor(L.top/this.prop.pageSize.inner.height)+1,F=this.opt.margin[0]+L.top%this.prop.pageSize.inner.height,N=this.opt.margin[1]+L.left;p.push({page:D,top:F,left:N,clientRect:L,link:_})}},this)}})},c.default.prototype.toPdf=function(){return m.toPdf.call(this).then(function(){if(this.opt.enableLinks){p.forEach(function(C){this.prop.pdf.setPage(C.page),this.prop.pdf.link(C.left,C.top,C.clientRect.width,C.clientRect.height,{url:C.link.href})},this);var x=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(x)}})}},"./src/plugin/jspdf-plugin.js":function(e,n,i){"use strict";i.r(n);var r=i("./node_modules/core-js/modules/es.symbol.js"),s=i.n(r),t=i("./node_modules/core-js/modules/es.symbol.description.js"),a=i.n(t),c=i("./node_modules/core-js/modules/es.object.to-string.js"),h=i.n(c),p=i("./node_modules/core-js/modules/es.symbol.iterator.js"),m=i.n(p),S=i("./node_modules/core-js/modules/es.array.iterator.js"),y=i.n(S),x=i("./node_modules/core-js/modules/es.string.iterator.js"),C=i.n(x),T=i("./node_modules/core-js/modules/web.dom-collections.iterator.js"),_=i.n(T),E=i("jspdf"),I=i.n(E);function L(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(N){return typeof N}:L=function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},L(D)}E.jsPDF.getPageSize=function(D,F,N){if(L(D)==="object"){var P=D;D=P.orientation,F=P.unit||F,N=P.format||N}F=F||"mm",N=N||"a4",D=(""+(D||"P")).toLowerCase();var W=(""+N).toLowerCase(),R={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(F){case"pt":var j=1;break;case"mm":var j=72/25.4;break;case"cm":var j=72/2.54;break;case"in":var j=72;break;case"px":var j=72/96;break;case"pc":var j=12;break;case"em":var j=12;break;case"ex":var j=6;break;default:throw"Invalid unit: "+F}if(R.hasOwnProperty(W))var H=R[W][1]/j,K=R[W][0]/j;else try{var H=N[1],K=N[0]}catch(z){throw new Error("Invalid format: "+N)}if(D==="p"||D==="portrait"){if(D="p",K>H){var U=K;K=H,H=U}}else if(D==="l"||D==="landscape"){if(D="l",H>K){var U=K;K=H,H=U}}else throw"Invalid orientation: "+D;var G={width:K,height:H,unit:F,k:j};return G},n.default=E.jsPDF},"./src/plugin/pagebreaks.js":function(e,n,i){"use strict";i.r(n);var r=i("./node_modules/core-js/modules/es.array.concat.js"),s=i.n(r),t=i("./node_modules/core-js/modules/es.array.slice.js"),a=i.n(t),c=i("./node_modules/core-js/modules/es.array.join.js"),h=i.n(c),p=i("./node_modules/core-js/modules/web.dom-collections.for-each.js"),m=i.n(p),S=i("./node_modules/core-js/modules/es.object.keys.js"),y=i.n(S),x=i("./src/worker.js"),C=i("./src/utils.js"),T={toContainer:x.default.prototype.toContainer};x.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},x.default.prototype.toContainer=function(){return T.toContainer.call(this).then(function(){var I=this.prop.container,L=this.prop.pageSize.inner.px.height,D=[].concat(this.opt.pagebreak.mode),F={avoidAll:D.indexOf("avoid-all")!==-1,css:D.indexOf("css")!==-1,legacy:D.indexOf("legacy")!==-1},N={},P=this;["before","after","avoid"].forEach(function(j){var H=F.avoidAll&&j==="avoid";N[j]=H?[]:[].concat(P.opt.pagebreak[j]||[]),N[j].length>0&&(N[j]=Array.prototype.slice.call(I.querySelectorAll(N[j].join(", "))))});var W=I.querySelectorAll(".html2pdf__page-break");W=Array.prototype.slice.call(W);var R=I.querySelectorAll("*");Array.prototype.forEach.call(R,function(H){var K={before:!1,after:F.legacy&&W.indexOf(H)!==-1,avoid:F.avoidAll};if(F.css){var U=window.getComputedStyle(H),G=["always","page","left","right"],z=["avoid","avoid-page"];K={before:K.before||G.indexOf(U.breakBefore||U.pageBreakBefore)!==-1,after:K.after||G.indexOf(U.breakAfter||U.pageBreakAfter)!==-1,avoid:K.avoid||z.indexOf(U.breakInside||U.pageBreakInside)!==-1}}Object.keys(K).forEach(function(he){K[he]=K[he]||N[he].indexOf(H)!==-1});var Y=H.getBoundingClientRect();if(K.avoid&&!K.before){var q=Math.floor(Y.top/L),oe=Math.floor(Y.bottom/L),ie=Math.abs(Y.bottom-Y.top)/L;oe!==q&&ie<=1&&(K.before=!0)}if(K.before){var se=(0,C.createElement)("div",{style:{display:"block",height:L-Y.top%L+"px"}});H.parentNode.insertBefore(se,H)}if(K.after){var se=(0,C.createElement)("div",{style:{display:"block",height:L-Y.bottom%L+"px"}});H.parentNode.insertBefore(se,H.nextSibling)}})})}},"./src/utils.js":function(e,n,i){"use strict";i.r(n),i.d(n,{objType:function(){return D},createElement:function(){return F},cloneNode:function(){return N},unitConvert:function(){return P},toPx:function(){return W}});var r=i("./node_modules/core-js/modules/es.number.constructor.js"),s=i.n(r),t=i("./node_modules/core-js/modules/es.symbol.js"),a=i.n(t),c=i("./node_modules/core-js/modules/es.symbol.description.js"),h=i.n(c),p=i("./node_modules/core-js/modules/es.object.to-string.js"),m=i.n(p),S=i("./node_modules/core-js/modules/es.symbol.iterator.js"),y=i.n(S),x=i("./node_modules/core-js/modules/es.array.iterator.js"),C=i.n(x),T=i("./node_modules/core-js/modules/es.string.iterator.js"),_=i.n(T),E=i("./node_modules/core-js/modules/web.dom-collections.iterator.js"),I=i.n(E);function L(R){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(H){return typeof H}:L=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},L(R)}var D=function(j){var H=L(j);return H==="undefined"?"undefined":H==="string"||j instanceof String?"string":H==="number"||j instanceof Number?"number":H==="function"||j instanceof Function?"function":!!j&&j.constructor===Array?"array":j&&j.nodeType===1?"element":H==="object"?"object":"unknown"},F=function(j,H){var K=document.createElement(j);if(H.className&&(K.className=H.className),H.innerHTML){K.innerHTML=H.innerHTML;for(var U=K.getElementsByTagName("script"),G=U.length;G-- >0;null)U[G].parentNode.removeChild(U[G])}for(var z in H.style)K.style[z]=H.style[z];return K},N=function R(j,H){for(var K=j.nodeType===3?document.createTextNode(j.nodeValue):j.cloneNode(!1),U=j.firstChild;U;U=U.nextSibling)(H===!0||U.nodeType!==1||U.nodeName!=="SCRIPT")&&K.appendChild(R(U,H));return j.nodeType===1&&(j.nodeName==="CANVAS"?(K.width=j.width,K.height=j.height,K.getContext("2d").drawImage(j,0,0)):(j.nodeName==="TEXTAREA"||j.nodeName==="SELECT")&&(K.value=j.value),K.addEventListener("load",function(){K.scrollTop=j.scrollTop,K.scrollLeft=j.scrollLeft},!0)),K},P=function(j,H){if(D(j)==="number")return j*72/96/H;var K={};for(var U in j)K[U]=j[U]*72/96/H;return K},W=function(j,H){return Math.floor(j*H/72*96)}},"./src/worker.js":function(e,n,i){"use strict";i.r(n);var r=i("./node_modules/core-js/modules/es.object.assign.js"),s=i.n(r),t=i("./node_modules/core-js/modules/es.array.map.js"),a=i.n(t),c=i("./node_modules/core-js/modules/es.object.keys.js"),h=i.n(c),p=i("./node_modules/core-js/modules/es.array.concat.js"),m=i.n(p),S=i("./node_modules/core-js/modules/es.object.to-string.js"),y=i.n(S),x=i("./node_modules/core-js/modules/es.regexp.to-string.js"),C=i.n(x),T=i("./node_modules/core-js/modules/es.function.name.js"),_=i.n(T),E=i("./node_modules/core-js/modules/web.dom-collections.for-each.js"),I=i.n(E),L=i("jspdf"),D=i.n(L),F=i("html2canvas"),N=i.n(F),P=i("./src/utils.js"),W=i("./node_modules/es6-promise/dist/es6-promise.js"),R=i.n(W),j=R().Promise,H=function K(U){var G=Object.assign(K.convert(j.resolve()),JSON.parse(JSON.stringify(K.template))),z=K.convert(j.resolve(),G);return z=z.setProgress(1,K,1,[K]),z=z.set(U),z};H.prototype=Object.create(j.prototype),H.prototype.constructor=H,H.convert=function(U,G){return U.__proto__=G||H.prototype,U},H.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:{}}},H.prototype.from=function(U,G){function z(Y){switch((0,P.objType)(Y)){case"string":return"string";case"element":return Y.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){G=G||z(U);switch(G){case"string":return this.set({src:(0,P.createElement)("div",{innerHTML:U})});case"element":return this.set({src:U});case"canvas":return this.set({canvas:U});case"img":return this.set({img:U});default:return this.error("Unknown source type.")}})},H.prototype.to=function(U){switch(U){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.")}},H.prototype.toContainer=function(){var U=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(U).then(function(){var z={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Y={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};z.opacity=0;var q=(0,P.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,P.createElement)("div",{className:"html2pdf__overlay",style:z}),this.prop.container=(0,P.createElement)("div",{className:"html2pdf__container",style:Y}),this.prop.container.appendChild(q),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},H.prototype.toCanvas=function(){var U=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(U).then(function(){var z=Object.assign({},this.opt.html2canvas);return delete z.onrendered,F(this.prop.container,z)}).then(function(z){var Y=this.opt.html2canvas.onrendered||function(){};Y(z),this.prop.canvas=z,document.body.removeChild(this.prop.overlay)})},H.prototype.toImg=function(){var U=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(U).then(function(){var z=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=z})},H.prototype.toPdf=function(){var U=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(U).then(function(){var z=this.prop.canvas,Y=this.opt,q=z.height,oe=Math.floor(z.width*this.prop.pageSize.inner.ratio),ie=Math.ceil(q/oe),se=this.prop.pageSize.inner.height,he=document.createElement("canvas"),pe=he.getContext("2d");he.width=z.width,he.height=oe,this.prop.pdf=this.prop.pdf||new L.jsPDF(Y.jsPDF);for(var _e=0;_e<ie;_e++){_e===ie-1&&q%oe!==0&&(he.height=q%oe,se=he.height*this.prop.pageSize.inner.width/he.width);var De=he.width,Xe=he.height;pe.fillStyle="white",pe.fillRect(0,0,De,Xe),pe.drawImage(z,0,_e*oe,De,Xe,0,0,De,Xe),_e&&this.prop.pdf.addPage();var J=he.toDataURL("image/"+Y.image.type,Y.image.quality);this.prop.pdf.addImage(J,Y.image.type,Y.margin[1],Y.margin[0],this.prop.pageSize.inner.width,se)}})},H.prototype.output=function(U,G,z){return z=z||"pdf",z.toLowerCase()==="img"||z.toLowerCase()==="image"?this.outputImg(U,G):this.outputPdf(U,G)},H.prototype.outputPdf=function(U,G){var z=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(z).then(function(){return this.prop.pdf.output(U,G)})},H.prototype.outputImg=function(U,G){var z=[function(){return this.prop.img||this.toImg()}];return this.thenList(z).then(function(){switch(U){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 "'+U+'" is not supported.'}})},H.prototype.save=function(U){var G=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(G).set(U?{filename:U}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},H.prototype.set=function(U){if((0,P.objType)(U)!=="object")return this;var G=Object.keys(U||{}).map(function(z){switch(z){case"margin":return this.setMargin.bind(this,U.margin);case"jsPDF":return function(){return this.opt.jsPDF=U.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,U.pageSize);default:return z in H.template.prop?function(){this.prop[z]=U[z]}:function(){this.opt[z]=U[z]}}},this);return this.then(function(){return this.thenList(G)})},H.prototype.get=function(U,G){return this.then(function(){var Y=U in H.template.prop?this.prop[U]:this.opt[U];return G?G(Y):Y})},H.prototype.setMargin=function(U){return this.then(function(){switch((0,P.objType)(U)){case"number":U=[U,U,U,U];case"array":if(U.length===2&&(U=[U[0],U[1],U[0],U[1]]),U.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=U}).then(this.setPageSize)},H.prototype.setPageSize=function(U){return this.then(function(){U=U||L.jsPDF.getPageSize(this.opt.jsPDF),U.hasOwnProperty("inner")||(U.inner={width:U.width-this.opt.margin[1]-this.opt.margin[3],height:U.height-this.opt.margin[0]-this.opt.margin[2]},U.inner.px={width:(0,P.toPx)(U.inner.width,U.k),height:(0,P.toPx)(U.inner.height,U.k)},U.inner.ratio=U.inner.height/U.inner.width),this.prop.pageSize=U})},H.prototype.setProgress=function(U,G,z,Y){return U!=null&&(this.progress.val=U),G!=null&&(this.progress.state=G),z!=null&&(this.progress.n=z),Y!=null&&(this.progress.stack=Y),this.progress.ratio=this.progress.val/this.progress.state,this},H.prototype.updateProgress=function(U,G,z,Y){return this.setProgress(U?this.progress.val+U:null,G||null,z?this.progress.n+z:null,Y?this.progress.stack.concat(Y):null)},H.prototype.then=function(U,G){var z=this;return this.thenCore(U,G,function(q,oe){return z.updateProgress(null,null,1,[q]),j.prototype.then.call(this,function(se){return z.updateProgress(null,q),se}).then(q,oe).then(function(se){return z.updateProgress(1),se})})},H.prototype.thenCore=function(U,G,z){z=z||j.prototype.then;var Y=this;U&&(U=U.bind(Y)),G&&(G=G.bind(Y));var q=j.toString().indexOf("[native code]")!==-1&&j.name==="Promise",oe=q?Y:H.convert(Object.assign({},Y),j.prototype),ie=z.call(oe,U,G);return H.convert(ie,Y.__proto__)},H.prototype.thenExternal=function(U,G){return j.prototype.then.call(this,U,G)},H.prototype.thenList=function(U){var G=this;return U.forEach(function(Y){G=G.thenCore(Y)}),G},H.prototype.catch=function(K){K&&(K=K.bind(this));var U=j.prototype.catch.call(this,K);return H.convert(U,this)},H.prototype.catchExternal=function(U){return j.prototype.catch.call(this,U)},H.prototype.error=function(U){return this.then(function(){throw new Error(U)})},H.prototype.using=H.prototype.set,H.prototype.saveAs=H.prototype.save,H.prototype.export=H.prototype.output,H.prototype.run=H.prototype.then,n.default=H},"./node_modules/core-js/internals/a-function.js":function(e){e.exports=function(n){if(typeof n!="function")throw TypeError(String(n)+" is not a function");return n}},"./node_modules/core-js/internals/a-possible-prototype.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js");e.exports=function(s){if(!r(s)&&s!==null)throw TypeError("Can't set "+String(s)+" as a prototype");return s}},"./node_modules/core-js/internals/add-to-unscopables.js":function(e,n,i){var r=i("./node_modules/core-js/internals/well-known-symbol.js"),s=i("./node_modules/core-js/internals/object-create.js"),t=i("./node_modules/core-js/internals/object-define-property.js"),a=r("unscopables"),c=Array.prototype;c[a]==null&&t.f(c,a,{configurable:!0,value:s(null)}),e.exports=function(h){c[a][h]=!0}},"./node_modules/core-js/internals/an-object.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js");e.exports=function(s){if(!r(s))throw TypeError(String(s)+" is not an object");return s}},"./node_modules/core-js/internals/array-for-each.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/array-iteration.js").forEach,s=i("./node_modules/core-js/internals/array-method-is-strict.js"),t=s("forEach");e.exports=t?[].forEach:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-indexed-object.js"),s=i("./node_modules/core-js/internals/to-length.js"),t=i("./node_modules/core-js/internals/to-absolute-index.js"),a=function(h){return function(p,m,S){var y=r(p),x=s(y.length),C=t(S,x),T;if(h&&m!=m){for(;x>C;)if(T=y[C++],T!=T)return!0}else for(;x>C;C++)if((h||C in y)&&y[C]===m)return h||C||0;return!h&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(e,n,i){var r=i("./node_modules/core-js/internals/function-bind-context.js"),s=i("./node_modules/core-js/internals/indexed-object.js"),t=i("./node_modules/core-js/internals/to-object.js"),a=i("./node_modules/core-js/internals/to-length.js"),c=i("./node_modules/core-js/internals/array-species-create.js"),h=[].push,p=function(S){var y=S==1,x=S==2,C=S==3,T=S==4,_=S==6,E=S==7,I=S==5||_;return function(L,D,F,N){for(var P=t(L),W=s(P),R=r(D,F,3),j=a(W.length),H=0,K=N||c,U=y?K(L,j):x||E?K(L,0):void 0,G,z;j>H;H++)if((I||H in W)&&(G=W[H],z=R(G,H,P),S))if(y)U[H]=z;else if(z)switch(S){case 3:return!0;case 5:return G;case 6:return H;case 2:h.call(U,G)}else switch(S){case 4:return!1;case 7:h.call(U,G)}return _?-1:C||T?T:U}};e.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6),filterReject:p(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,n,i){var r=i("./node_modules/core-js/internals/fails.js"),s=i("./node_modules/core-js/internals/well-known-symbol.js"),t=i("./node_modules/core-js/internals/engine-v8-version.js"),a=s("species");e.exports=function(c){return t>=51||!r(function(){var h=[],p=h.constructor={};return p[a]=function(){return{foo:1}},h[c](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/fails.js");e.exports=function(s,t){var a=[][s];return!!a&&r(function(){a.call(null,t||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js"),s=i("./node_modules/core-js/internals/is-array.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),a=t("species");e.exports=function(c){var h;return s(c)&&(h=c.constructor,typeof h=="function"&&(h===Array||s(h.prototype))?h=void 0:r(h)&&(h=h[a],h===null&&(h=void 0))),h===void 0?Array:h}},"./node_modules/core-js/internals/array-species-create.js":function(e,n,i){var r=i("./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(s,t){return new(r(s))(t===0?0:t)}},"./node_modules/core-js/internals/classof-raw.js":function(e){var n={}.toString;e.exports=function(i){return n.call(i).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-string-tag-support.js"),s=i("./node_modules/core-js/internals/classof-raw.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),a=t("toStringTag"),c=s(function(){return arguments}())=="Arguments",h=function(m,S){try{return m[S]}catch(y){}};e.exports=r?s:function(p){var m,S,y;return p===void 0?"Undefined":p===null?"Null":typeof(S=h(m=Object(p),a))=="string"?S:c?s(m):(y=s(m))=="Object"&&typeof m.callee=="function"?"Arguments":y}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,n,i){var r=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/own-keys.js"),t=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=i("./node_modules/core-js/internals/object-define-property.js");e.exports=function(c,h){for(var p=s(h),m=a.f,S=t.f,y=0;y<p.length;y++){var x=p[y];r(c,x)||m(c,x,S(h,x))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,n,i){var r=i("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){function s(){}return s.prototype.constructor=null,Object.getPrototypeOf(new s)!==s.prototype})},"./node_modules/core-js/internals/create-html.js":function(e,n,i){var r=i("./node_modules/core-js/internals/require-object-coercible.js"),s=i("./node_modules/core-js/internals/to-string.js"),t=/"/g;e.exports=function(a,c,h,p){var m=s(r(a)),S="<"+c;return h!==""&&(S+=" "+h+'="'+s(p).replace(t,"&quot;")+'"'),S+">"+m+"</"+c+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,s=i("./node_modules/core-js/internals/object-create.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js"),a=i("./node_modules/core-js/internals/set-to-string-tag.js"),c=i("./node_modules/core-js/internals/iterators.js"),h=function(){return this};e.exports=function(p,m,S){var y=m+" Iterator";return p.prototype=s(r,{next:t(1,S)}),a(p,y,!1,!0),c[y]=h,p}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=r?function(a,c,h){return s.f(a,c,t(1,h))}:function(a,c,h){return a[c]=h,a}},"./node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(n,i){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:i}}},"./node_modules/core-js/internals/create-property.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/to-property-key.js"),s=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(a,c,h){var p=r(c);p in a?s.f(a,p,t(0,h)):a[p]=h}},"./node_modules/core-js/internals/define-iterator.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/create-iterator-constructor.js"),t=i("./node_modules/core-js/internals/object-get-prototype-of.js"),a=i("./node_modules/core-js/internals/object-set-prototype-of.js"),c=i("./node_modules/core-js/internals/set-to-string-tag.js"),h=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),p=i("./node_modules/core-js/internals/redefine.js"),m=i("./node_modules/core-js/internals/well-known-symbol.js"),S=i("./node_modules/core-js/internals/is-pure.js"),y=i("./node_modules/core-js/internals/iterators.js"),x=i("./node_modules/core-js/internals/iterators-core.js"),C=x.IteratorPrototype,T=x.BUGGY_SAFARI_ITERATORS,_=m("iterator"),E="keys",I="values",L="entries",D=function(){return this};e.exports=function(F,N,P,W,R,j,H){s(P,N,W);var K=function(_e){if(_e===R&&q)return q;if(!T&&_e in z)return z[_e];switch(_e){case E:return function(){return new P(this,_e)};case I:return function(){return new P(this,_e)};case L:return function(){return new P(this,_e)}}return function(){return new P(this)}},U=N+" Iterator",G=!1,z=F.prototype,Y=z[_]||z["@@iterator"]||R&&z[R],q=!T&&Y||K(R),oe=N=="Array"&&z.entries||Y,ie,se,he;if(oe&&(ie=t(oe.call(new F)),C!==Object.prototype&&ie.next&&(!S&&t(ie)!==C&&(a?a(ie,C):typeof ie[_]!="function"&&h(ie,_,D)),c(ie,U,!0,!0),S&&(y[U]=D))),R==I&&Y&&Y.name!==I&&(G=!0,q=function(){return Y.call(this)}),(!S||H)&&z[_]!==q&&h(z,_,q),y[N]=q,R)if(se={values:K(I),keys:j?q:K(E),entries:K(L)},H)for(he in se)(T||G||!(he in z))&&p(z,he,se[he]);else r({target:N,proto:!0,forced:T||G},se);return se}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(e,n,i){var r=i("./node_modules/core-js/internals/path.js"),s=i("./node_modules/core-js/internals/has.js"),t=i("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),a=i("./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(c){var h=r.Symbol||(r.Symbol={});s(h,c)||a(h,c,{value:t.f(c)})}},"./node_modules/core-js/internals/descriptors.js":function(e,n,i){var r=i("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/is-object.js"),t=r.document,a=s(t)&&s(t.createElement);e.exports=function(c){return a?t.createElement(c):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(e){e.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(e,n,i){var r=i("./node_modules/core-js/internals/get-built-in.js");e.exports=r("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/engine-user-agent.js"),t=r.process,a=r.Deno,c=t&&t.versions||a&&a.version,h=c&&c.v8,p,m;h?(p=h.split("."),m=p[0]<4?1:p[0]+p[1]):s&&(p=s.match(/Edge\/(\d+)/),(!p||p[1]>=74)&&(p=s.match(/Chrome\/(\d+)/),p&&(m=p[1]))),e.exports=m&&+m},"./node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,t=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=i("./node_modules/core-js/internals/redefine.js"),c=i("./node_modules/core-js/internals/set-global.js"),h=i("./node_modules/core-js/internals/copy-constructor-properties.js"),p=i("./node_modules/core-js/internals/is-forced.js");e.exports=function(m,S){var y=m.target,x=m.global,C=m.stat,T,_,E,I,L,D;if(x?_=r:C?_=r[y]||c(y,{}):_=(r[y]||{}).prototype,_)for(E in S){if(L=S[E],m.noTargetGet?(D=s(_,E),I=D&&D.value):I=_[E],T=p(x?E:y+(C?".":"#")+E,m.forced),!T&&I!==void 0){if(typeof L===typeof I)continue;h(L,I)}(m.sham||I&&I.sham)&&t(L,"sham",!0),a(_,E,L,m)}}},"./node_modules/core-js/internals/fails.js":function(e){e.exports=function(n){try{return!!n()}catch(i){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(e,n,i){var r=i("./node_modules/core-js/internals/a-function.js");e.exports=function(s,t,a){if(r(s),t===void 0)return s;switch(a){case 0:return function(){return s.call(t)};case 1:return function(c){return s.call(t,c)};case 2:return function(c,h){return s.call(t,c,h)};case 3:return function(c,h,p){return s.call(t,c,h,p)}}return function(){return s.apply(t,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),s=function(a){return typeof a=="function"?a:void 0};e.exports=function(t,a){return arguments.length<2?s(r[t]):r[t]&&r[t][a]}},"./node_modules/core-js/internals/global.js":function(e){var n=function(r){return r&&r.Math==Math&&r};e.exports=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof w=="object"&&w)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-object.js"),s={}.hasOwnProperty;e.exports=Object.hasOwn||function(a,c){return s.call(r(a),c)}},"./node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"./node_modules/core-js/internals/html.js":function(e,n,i){var r=i("./node_modules/core-js/internals/get-built-in.js");e.exports=r("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/document-create-element.js");e.exports=!r&&!s(function(){return Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(e,n,i){var r=i("./node_modules/core-js/internals/fails.js"),s=i("./node_modules/core-js/internals/classof-raw.js"),t="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return s(a)=="String"?t.call(a,""):Object(a)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js"),s=i("./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(t,a,c){var h,p;return s&&typeof(h=a.constructor)=="function"&&h!==c&&r(p=h.prototype)&&p!==c.prototype&&s(t,p),t}},"./node_modules/core-js/internals/inspect-source.js":function(e,n,i){var r=i("./node_modules/core-js/internals/shared-store.js"),s=Function.toString;typeof r.inspectSource!="function"&&(r.inspectSource=function(t){return s.call(t)}),e.exports=r.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(e,n,i){var r=i("./node_modules/core-js/internals/native-weak-map.js"),s=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/is-object.js"),a=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=i("./node_modules/core-js/internals/has.js"),h=i("./node_modules/core-js/internals/shared-store.js"),p=i("./node_modules/core-js/internals/shared-key.js"),m=i("./node_modules/core-js/internals/hidden-keys.js"),S="Object already initialized",y=s.WeakMap,x,C,T,_=function(W){return T(W)?C(W):x(W,{})},E=function(W){return function(R){var j;if(!t(R)||(j=C(R)).type!==W)throw TypeError("Incompatible receiver, "+W+" required");return j}};if(r||h.state){var I=h.state||(h.state=new y),L=I.get,D=I.has,F=I.set;x=function(W,R){if(D.call(I,W))throw new TypeError(S);return R.facade=W,F.call(I,W,R),R},C=function(W){return L.call(I,W)||{}},T=function(W){return D.call(I,W)}}else{var N=p("state");m[N]=!0,x=function(W,R){if(c(W,N))throw new TypeError(S);return R.facade=W,a(W,N,R),R},C=function(W){return c(W,N)?W[N]:{}},T=function(W){return c(W,N)}}e.exports={set:x,get:C,has:T,enforce:_,getterFor:E}},"./node_modules/core-js/internals/is-array.js":function(e,n,i){var r=i("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(t){return r(t)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(e,n,i){var r=i("./node_modules/core-js/internals/fails.js"),s=/#|\.prototype\./,t=function(S,y){var x=c[a(S)];return x==p?!0:x==h?!1:typeof y=="function"?r(y):!!y},a=t.normalize=function(m){return String(m).replace(s,".").toLowerCase()},c=t.data={},h=t.NATIVE="N",p=t.POLYFILL="P";e.exports=t},"./node_modules/core-js/internals/is-object.js":function(e){e.exports=function(n){return typeof n=="object"?n!==null:typeof n=="function"}},"./node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(e,n,i){var r=i("./node_modules/core-js/internals/get-built-in.js"),s=i("./node_modules/core-js/internals/use-symbol-as-uid.js");e.exports=s?function(t){return typeof t=="symbol"}:function(t){var a=r("Symbol");return typeof a=="function"&&Object(t)instanceof a}},"./node_modules/core-js/internals/iterators-core.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/fails.js"),s=i("./node_modules/core-js/internals/object-get-prototype-of.js"),t=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=i("./node_modules/core-js/internals/has.js"),c=i("./node_modules/core-js/internals/well-known-symbol.js"),h=i("./node_modules/core-js/internals/is-pure.js"),p=c("iterator"),m=!1,S=function(){return this},y,x,C;[].keys&&(C=[].keys(),"next"in C?(x=s(s(C)),x!==Object.prototype&&(y=x)):m=!0);var T=y==null||r(function(){var _={};return y[p].call(_)!==_});T&&(y={}),(!h||T)&&!a(y,p)&&t(y,p,S),e.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:m}},"./node_modules/core-js/internals/iterators.js":function(e){e.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(e,n,i){var r=i("./node_modules/core-js/internals/engine-v8-version.js"),s=i("./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!s(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},"./node_modules/core-js/internals/native-weak-map.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/inspect-source.js"),t=r.WeakMap;e.exports=typeof t=="function"&&/native code/.test(s(t))},"./node_modules/core-js/internals/object-assign.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/object-keys.js"),a=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),c=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),h=i("./node_modules/core-js/internals/to-object.js"),p=i("./node_modules/core-js/internals/indexed-object.js"),m=Object.assign,S=Object.defineProperty;e.exports=!m||s(function(){if(r&&m({b:1},m(S({},"a",{enumerable:!0,get:function(){S(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var y={},x={},C=Symbol(),T="abcdefghijklmnopqrst";return y[C]=7,T.split("").forEach(function(_){x[_]=_}),m({},y)[C]!=7||t(m({},x)).join("")!=T})?function(x,C){for(var T=h(x),_=arguments.length,E=1,I=a.f,L=c.f;_>E;)for(var D=p(arguments[E++]),F=I?t(D).concat(I(D)):t(D),N=F.length,P=0,W;N>P;)W=F[P++],(!r||L.call(D,W))&&(T[W]=D[W]);return T}:m},"./node_modules/core-js/internals/object-create.js":function(e,n,i){var r=i("./node_modules/core-js/internals/an-object.js"),s=i("./node_modules/core-js/internals/object-define-properties.js"),t=i("./node_modules/core-js/internals/enum-bug-keys.js"),a=i("./node_modules/core-js/internals/hidden-keys.js"),c=i("./node_modules/core-js/internals/html.js"),h=i("./node_modules/core-js/internals/document-create-element.js"),p=i("./node_modules/core-js/internals/shared-key.js"),m=">",S="<",y="prototype",x="script",C=p("IE_PROTO"),T=function(){},_=function(N){return S+x+m+N+S+"/"+x+m},E=function(N){N.write(_("")),N.close();var P=N.parentWindow.Object;return N=null,P},I=function(){var N=h("iframe"),P="java"+x+":",W;if(N.style)return N.style.display="none",c.appendChild(N),N.src=String(P),W=N.contentWindow.document,W.open(),W.write(_("document.F=Object")),W.close(),W.F},L,D=function(){try{L=new ActiveXObject("htmlfile")}catch(P){}D=document.domain&&L?E(L):I()||E(L);for(var N=t.length;N--;)delete D[y][t[N]];return D()};a[C]=!0,e.exports=Object.create||function(N,P){var W;return N!==null?(T[y]=r(N),W=new T,T[y]=null,W[C]=N):W=D(),P===void 0?W:s(W,P)}},"./node_modules/core-js/internals/object-define-properties.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/an-object.js"),a=i("./node_modules/core-js/internals/object-keys.js");e.exports=r?Object.defineProperties:function(h,p){t(h);for(var m=a(p),S=m.length,y=0,x;S>y;)s.f(h,x=m[y++],p[x]);return h}},"./node_modules/core-js/internals/object-define-property.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/ie8-dom-define.js"),t=i("./node_modules/core-js/internals/an-object.js"),a=i("./node_modules/core-js/internals/to-property-key.js"),c=Object.defineProperty;n.f=r?c:function(p,m,S){if(t(p),m=a(m),t(S),s)try{return c(p,m,S)}catch(y){}if("get"in S||"set"in S)throw TypeError("Accessors not supported");return"value"in S&&(p[m]=S.value),p}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js"),a=i("./node_modules/core-js/internals/to-indexed-object.js"),c=i("./node_modules/core-js/internals/to-property-key.js"),h=i("./node_modules/core-js/internals/has.js"),p=i("./node_modules/core-js/internals/ie8-dom-define.js"),m=Object.getOwnPropertyDescriptor;n.f=r?m:function(y,x){if(y=a(y),x=c(x),p)try{return m(y,x)}catch(C){}if(h(y,x))return t(!s.f.call(y,x),y[x])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-indexed-object.js"),s=i("./node_modules/core-js/internals/object-get-own-property-names.js").f,t={}.toString,a=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(p){try{return s(p)}catch(m){return a.slice()}};e.exports.f=function(p){return a&&t.call(p)=="[object Window]"?c(p):s(r(p))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,n,i){var r=i("./node_modules/core-js/internals/object-keys-internal.js"),s=i("./node_modules/core-js/internals/enum-bug-keys.js"),t=s.concat("length","prototype");n.f=Object.getOwnPropertyNames||function(c){return r(c,t)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,n){n.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,n,i){var r=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/to-object.js"),t=i("./node_modules/core-js/internals/shared-key.js"),a=i("./node_modules/core-js/internals/correct-prototype-getter.js"),c=t("IE_PROTO"),h=Object.prototype;e.exports=a?Object.getPrototypeOf:function(p){return p=s(p),r(p,c)?p[c]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?h:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(e,n,i){var r=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/to-indexed-object.js"),t=i("./node_modules/core-js/internals/array-includes.js").indexOf,a=i("./node_modules/core-js/internals/hidden-keys.js");e.exports=function(c,h){var p=s(c),m=0,S=[],y;for(y in p)!r(a,y)&&r(p,y)&&S.push(y);for(;h.length>m;)r(p,y=h[m++])&&(~t(S,y)||S.push(y));return S}},"./node_modules/core-js/internals/object-keys.js":function(e,n,i){var r=i("./node_modules/core-js/internals/object-keys-internal.js"),s=i("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(a){return r(a,s)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!i.call({1:2},1);n.f=s?function(a){var c=r(this,a);return!!c&&c.enumerable}:i},"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,n,i){var r=i("./node_modules/core-js/internals/an-object.js"),s=i("./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,a={},c;try{c=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,c.call(a,[]),t=a instanceof Array}catch(h){}return function(p,m){return r(p),s(m),t?c.call(p,m):p.__proto__=m,p}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/to-string-tag-support.js"),s=i("./node_modules/core-js/internals/classof.js");e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js");e.exports=function(s,t){var a,c;if(t==="string"&&typeof(a=s.toString)=="function"&&!r(c=a.call(s)))return c;if(typeof(a=s.valueOf)=="function"&&!r(c=a.call(s)))return c;if(t!=="string"&&typeof(a=s.toString)=="function"&&!r(c=a.call(s)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(e,n,i){var r=i("./node_modules/core-js/internals/get-built-in.js"),s=i("./node_modules/core-js/internals/object-get-own-property-names.js"),t=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=i("./node_modules/core-js/internals/an-object.js");e.exports=r("Reflect","ownKeys")||function(h){var p=s.f(a(h)),m=t.f;return m?p.concat(m(h)):p}},"./node_modules/core-js/internals/path.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js");e.exports=r},"./node_modules/core-js/internals/redefine.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),t=i("./node_modules/core-js/internals/has.js"),a=i("./node_modules/core-js/internals/set-global.js"),c=i("./node_modules/core-js/internals/inspect-source.js"),h=i("./node_modules/core-js/internals/internal-state.js"),p=h.get,m=h.enforce,S=String(String).split("String");(e.exports=function(y,x,C,T){var _=T?!!T.unsafe:!1,E=T?!!T.enumerable:!1,I=T?!!T.noTargetGet:!1,L;if(typeof C=="function"&&(typeof x=="string"&&!t(C,"name")&&s(C,"name",x),L=m(C),L.source||(L.source=S.join(typeof x=="string"?x:""))),y===r){E?y[x]=C:a(x,C);return}else _?!I&&y[x]&&(E=!0):delete y[x];E?y[x]=C:s(y,x,C)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||c(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/an-object.js");e.exports=function(){var s=r(this),t="";return s.global&&(t+="g"),s.ignoreCase&&(t+="i"),s.multiline&&(t+="m"),s.dotAll&&(t+="s"),s.unicode&&(t+="u"),s.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/require-object-coercible.js":function(e){e.exports=function(n){if(n==null)throw TypeError("Can't call method on "+n);return n}},"./node_modules/core-js/internals/set-global.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js");e.exports=function(s,t){try{Object.defineProperty(r,s,{value:t,configurable:!0,writable:!0})}catch(a){r[s]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js":function(e,n,i){var r=i("./node_modules/core-js/internals/object-define-property.js").f,s=i("./node_modules/core-js/internals/has.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),a=t("toStringTag");e.exports=function(c,h,p){c&&!s(c=p?c:c.prototype,a)&&r(c,a,{configurable:!0,value:h})}},"./node_modules/core-js/internals/shared-key.js":function(e,n,i){var r=i("./node_modules/core-js/internals/shared.js"),s=i("./node_modules/core-js/internals/uid.js"),t=r("keys");e.exports=function(a){return t[a]||(t[a]=s(a))}},"./node_modules/core-js/internals/shared-store.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/set-global.js"),t="__core-js_shared__",a=r[t]||s(t,{});e.exports=a},"./node_modules/core-js/internals/shared.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-pure.js"),s=i("./node_modules/core-js/internals/shared-store.js");(e.exports=function(t,a){return s[t]||(s[t]=a!==void 0?a:{})})("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(e,n,i){var r=i("./node_modules/core-js/internals/fails.js");e.exports=function(s){return r(function(){var t=""[s]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-integer.js"),s=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/require-object-coercible.js"),a=function(h){return function(p,m){var S=s(t(p)),y=r(m),x=S.length,C,T;return y<0||y>=x?h?"":void 0:(C=S.charCodeAt(y),C<55296||C>56319||y+1===x||(T=S.charCodeAt(y+1))<56320||T>57343?h?S.charAt(y):C:h?S.slice(y,y+2):(C-55296<<10)+(T-56320)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},"./node_modules/core-js/internals/string-trim.js":function(e,n,i){var r=i("./node_modules/core-js/internals/require-object-coercible.js"),s=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/whitespaces.js"),a="["+t+"]",c=RegExp("^"+a+a+"*"),h=RegExp(a+a+"*$"),p=function(S){return function(y){var x=s(r(y));return S&1&&(x=x.replace(c,"")),S&2&&(x=x.replace(h,"")),x}};e.exports={start:p(1),end:p(2),trim:p(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-integer.js"),s=Math.max,t=Math.min;e.exports=function(a,c){var h=r(a);return h<0?s(h+c,0):t(h,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(e,n,i){var r=i("./node_modules/core-js/internals/indexed-object.js"),s=i("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(t){return r(s(t))}},"./node_modules/core-js/internals/to-integer.js":function(e){var n=Math.ceil,i=Math.floor;e.exports=function(r){return isNaN(r=+r)?0:(r>0?i:n)(r)}},"./node_modules/core-js/internals/to-length.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-integer.js"),s=Math.min;e.exports=function(t){return t>0?s(r(t),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(e,n,i){var r=i("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(s){return Object(r(s))}},"./node_modules/core-js/internals/to-primitive.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js"),s=i("./node_modules/core-js/internals/is-symbol.js"),t=i("./node_modules/core-js/internals/ordinary-to-primitive.js"),a=i("./node_modules/core-js/internals/well-known-symbol.js"),c=a("toPrimitive");e.exports=function(h,p){if(!r(h)||s(h))return h;var m=h[c],S;if(m!==void 0){if(p===void 0&&(p="default"),S=m.call(h,p),!r(S)||s(S))return S;throw TypeError("Can't convert object to primitive value")}return p===void 0&&(p="number"),t(h,p)}},"./node_modules/core-js/internals/to-property-key.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-primitive.js"),s=i("./node_modules/core-js/internals/is-symbol.js");e.exports=function(t){var a=r(t,"string");return s(a)?a:String(a)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(e,n,i){var r=i("./node_modules/core-js/internals/well-known-symbol.js"),s=r("toStringTag"),t={};t[s]="z",e.exports=String(t)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-symbol.js");e.exports=function(s){if(r(s))throw TypeError("Cannot convert a Symbol value to a string");return String(s)}},"./node_modules/core-js/internals/uid.js":function(e){var n=0,i=Math.random();e.exports=function(r){return"Symbol("+String(r===void 0?"":r)+")_"+(++n+i).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(e,n,i){var r=i("./node_modules/core-js/internals/native-symbol.js");e.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(e,n,i){var r=i("./node_modules/core-js/internals/well-known-symbol.js");n.f=r},"./node_modules/core-js/internals/well-known-symbol.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/shared.js"),t=i("./node_modules/core-js/internals/has.js"),a=i("./node_modules/core-js/internals/uid.js"),c=i("./node_modules/core-js/internals/native-symbol.js"),h=i("./node_modules/core-js/internals/use-symbol-as-uid.js"),p=s("wks"),m=r.Symbol,S=h?m:m&&m.withoutSetter||a;e.exports=function(y){return(!t(p,y)||!(c||typeof p[y]=="string"))&&(c&&t(m,y)?p[y]=m[y]:p[y]=S("Symbol."+y)),p[y]}},"./node_modules/core-js/internals/whitespaces.js":function(e){e.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(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/is-array.js"),a=i("./node_modules/core-js/internals/is-object.js"),c=i("./node_modules/core-js/internals/to-object.js"),h=i("./node_modules/core-js/internals/to-length.js"),p=i("./node_modules/core-js/internals/create-property.js"),m=i("./node_modules/core-js/internals/array-species-create.js"),S=i("./node_modules/core-js/internals/array-method-has-species-support.js"),y=i("./node_modules/core-js/internals/well-known-symbol.js"),x=i("./node_modules/core-js/internals/engine-v8-version.js"),C=y("isConcatSpreadable"),T=9007199254740991,_="Maximum allowed index exceeded",E=x>=51||!s(function(){var F=[];return F[C]=!1,F.concat()[0]!==F}),I=S("concat"),L=function(N){if(!a(N))return!1;var P=N[C];return P!==void 0?!!P:t(N)},D=!E||!I;r({target:"Array",proto:!0,forced:D},{concat:function(N){var P=c(this),W=m(P,0),R=0,j,H,K,U,G;for(j=-1,K=arguments.length;j<K;j++)if(G=j===-1?P:arguments[j],L(G)){if(U=h(G.length),R+U>T)throw TypeError(_);for(H=0;H<U;H++,R++)H in G&&p(W,R,G[H])}else{if(R>=T)throw TypeError(_);p(W,R++,G)}return W.length=R,W}})},"./node_modules/core-js/modules/es.array.iterator.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/to-indexed-object.js"),s=i("./node_modules/core-js/internals/add-to-unscopables.js"),t=i("./node_modules/core-js/internals/iterators.js"),a=i("./node_modules/core-js/internals/internal-state.js"),c=i("./node_modules/core-js/internals/define-iterator.js"),h="Array Iterator",p=a.set,m=a.getterFor(h);e.exports=c(Array,"Array",function(S,y){p(this,{type:h,target:r(S),index:0,kind:y})},function(){var S=m(this),y=S.target,x=S.kind,C=S.index++;return!y||C>=y.length?(S.target=void 0,{value:void 0,done:!0}):x=="keys"?{value:C,done:!1}:x=="values"?{value:y[C],done:!1}:{value:[C,y[C]],done:!1}},"values"),t.Arguments=t.Array,s("keys"),s("values"),s("entries")},"./node_modules/core-js/modules/es.array.join.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/indexed-object.js"),t=i("./node_modules/core-js/internals/to-indexed-object.js"),a=i("./node_modules/core-js/internals/array-method-is-strict.js"),c=[].join,h=s!=Object,p=a("join",",");r({target:"Array",proto:!0,forced:h||!p},{join:function(S){return c.call(t(this),S===void 0?",":S)}})},"./node_modules/core-js/modules/es.array.map.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/array-iteration.js").map,t=i("./node_modules/core-js/internals/array-method-has-species-support.js"),a=t("map");r({target:"Array",proto:!0,forced:!a},{map:function(h){return s(this,h,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/is-object.js"),t=i("./node_modules/core-js/internals/is-array.js"),a=i("./node_modules/core-js/internals/to-absolute-index.js"),c=i("./node_modules/core-js/internals/to-length.js"),h=i("./node_modules/core-js/internals/to-indexed-object.js"),p=i("./node_modules/core-js/internals/create-property.js"),m=i("./node_modules/core-js/internals/well-known-symbol.js"),S=i("./node_modules/core-js/internals/array-method-has-species-support.js"),y=S("slice"),x=m("species"),C=[].slice,T=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(E,I){var L=h(this),D=c(L.length),F=a(E,D),N=a(I===void 0?D:I,D),P,W,R;if(t(L)&&(P=L.constructor,typeof P=="function"&&(P===Array||t(P.prototype))?P=void 0:s(P)&&(P=P[x],P===null&&(P=void 0)),P===Array||P===void 0))return C.call(L,F,N);for(W=new(P===void 0?Array:P)(T(N-F,0)),R=0;F<N;F++,R++)F in L&&p(W,R,L[F]);return W.length=R,W}})},"./node_modules/core-js/modules/es.function.name.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/object-define-property.js").f,t=Function.prototype,a=t.toString,c=/^\s*function ([^ (]*)/,h="name";r&&!(h in t)&&s(t,h,{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(m){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/is-forced.js"),a=i("./node_modules/core-js/internals/redefine.js"),c=i("./node_modules/core-js/internals/has.js"),h=i("./node_modules/core-js/internals/classof-raw.js"),p=i("./node_modules/core-js/internals/inherit-if-required.js"),m=i("./node_modules/core-js/internals/is-symbol.js"),S=i("./node_modules/core-js/internals/to-primitive.js"),y=i("./node_modules/core-js/internals/fails.js"),x=i("./node_modules/core-js/internals/object-create.js"),C=i("./node_modules/core-js/internals/object-get-own-property-names.js").f,T=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,_=i("./node_modules/core-js/internals/object-define-property.js").f,E=i("./node_modules/core-js/internals/string-trim.js").trim,I="Number",L=s[I],D=L.prototype,F=h(x(D))==I,N=function(K){if(m(K))throw TypeError("Cannot convert a Symbol value to a number");var U=S(K,"number"),G,z,Y,q,oe,ie,se,he;if(typeof U=="string"&&U.length>2){if(U=E(U),G=U.charCodeAt(0),G===43||G===45){if(z=U.charCodeAt(2),z===88||z===120)return NaN}else if(G===48){switch(U.charCodeAt(1)){case 66:case 98:Y=2,q=49;break;case 79:case 111:Y=8,q=55;break;default:return+U}for(oe=U.slice(2),ie=oe.length,se=0;se<ie;se++)if(he=oe.charCodeAt(se),he<48||he>q)return NaN;return parseInt(oe,Y)}}return+U};if(t(I,!L(" 0o1")||!L("0b1")||L("+0x1"))){for(var P=function(K){var U=arguments.length<1?0:K,G=this;return G instanceof P&&(F?y(function(){D.valueOf.call(G)}):h(G)!=I)?p(new L(N(U)),G,P):N(U)},W=r?C(L):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),R=0,j;W.length>R;R++)c(L,j=W[R])&&!c(P,j)&&_(P,j,T(L,j));P.prototype=D,D.constructor=P,a(s,I,P)}},"./node_modules/core-js/modules/es.object.assign.js":function(e,n,i){var r=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/object-assign.js");r({target:"Object",stat:!0,forced:Object.assign!==s},{assign:s})},"./node_modules/core-js/modules/es.object.keys.js":function(e,n,i){var r=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/to-object.js"),t=i("./node_modules/core-js/internals/object-keys.js"),a=i("./node_modules/core-js/internals/fails.js"),c=a(function(){t(1)});r({target:"Object",stat:!0,forced:c},{keys:function(p){return t(s(p))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-string-tag-support.js"),s=i("./node_modules/core-js/internals/redefine.js"),t=i("./node_modules/core-js/internals/object-to-string.js");r||s(Object.prototype,"toString",t,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/redefine.js"),s=i("./node_modules/core-js/internals/an-object.js"),t=i("./node_modules/core-js/internals/to-string.js"),a=i("./node_modules/core-js/internals/fails.js"),c=i("./node_modules/core-js/internals/regexp-flags.js"),h="toString",p=RegExp.prototype,m=p[h],S=a(function(){return m.call({source:"a",flags:"b"})!="/a/b"}),y=m.name!=h;(S||y)&&r(RegExp.prototype,h,function(){var C=s(this),T=t(C.source),_=C.flags,E=t(_===void 0&&C instanceof RegExp&&!("flags"in p)?c.call(C):_);return"/"+T+"/"+E},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/string-multibyte.js").charAt,s=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/internal-state.js"),a=i("./node_modules/core-js/internals/define-iterator.js"),c="String Iterator",h=t.set,p=t.getterFor(c);a(String,"String",function(m){h(this,{type:c,string:s(m),index:0})},function(){var S=p(this),y=S.string,x=S.index,C;return x>=y.length?{value:void 0,done:!0}:(C=r(y,x),S.index+=C.length,{value:C,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/create-html.js"),t=i("./node_modules/core-js/internals/string-html-forced.js");r({target:"String",proto:!0,forced:t("link")},{link:function(c){return s(this,"a","href",c)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/descriptors.js"),t=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/has.js"),c=i("./node_modules/core-js/internals/is-object.js"),h=i("./node_modules/core-js/internals/object-define-property.js").f,p=i("./node_modules/core-js/internals/copy-constructor-properties.js"),m=t.Symbol;if(s&&typeof m=="function"&&(!("description"in m.prototype)||m().description!==void 0)){var S={},y=function(){var I=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof y?new m(I):I===void 0?m():m(I);return I===""&&(S[L]=!0),L};p(y,m);var x=y.prototype=m.prototype;x.constructor=y;var C=x.toString,T=String(m("test"))=="Symbol(test)",_=/^Symbol\((.*)\)[^)]+$/;h(x,"description",{configurable:!0,get:function(){var I=c(this)?this.valueOf():this,L=C.call(I);if(a(S,I))return"";var D=T?L.slice(7,-1):L.replace(_,"$1");return D===""?void 0:D}}),r({global:!0,forced:!0},{Symbol:y})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(e,n,i){var r=i("./node_modules/core-js/internals/define-well-known-symbol.js");r("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/get-built-in.js"),a=i("./node_modules/core-js/internals/is-pure.js"),c=i("./node_modules/core-js/internals/descriptors.js"),h=i("./node_modules/core-js/internals/native-symbol.js"),p=i("./node_modules/core-js/internals/fails.js"),m=i("./node_modules/core-js/internals/has.js"),S=i("./node_modules/core-js/internals/is-array.js"),y=i("./node_modules/core-js/internals/is-object.js"),x=i("./node_modules/core-js/internals/is-symbol.js"),C=i("./node_modules/core-js/internals/an-object.js"),T=i("./node_modules/core-js/internals/to-object.js"),_=i("./node_modules/core-js/internals/to-indexed-object.js"),E=i("./node_modules/core-js/internals/to-property-key.js"),I=i("./node_modules/core-js/internals/to-string.js"),L=i("./node_modules/core-js/internals/create-property-descriptor.js"),D=i("./node_modules/core-js/internals/object-create.js"),F=i("./node_modules/core-js/internals/object-keys.js"),N=i("./node_modules/core-js/internals/object-get-own-property-names.js"),P=i("./node_modules/core-js/internals/object-get-own-property-names-external.js"),W=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),R=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),j=i("./node_modules/core-js/internals/object-define-property.js"),H=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),K=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),U=i("./node_modules/core-js/internals/redefine.js"),G=i("./node_modules/core-js/internals/shared.js"),z=i("./node_modules/core-js/internals/shared-key.js"),Y=i("./node_modules/core-js/internals/hidden-keys.js"),q=i("./node_modules/core-js/internals/uid.js"),oe=i("./node_modules/core-js/internals/well-known-symbol.js"),ie=i("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),se=i("./node_modules/core-js/internals/define-well-known-symbol.js"),he=i("./node_modules/core-js/internals/set-to-string-tag.js"),pe=i("./node_modules/core-js/internals/internal-state.js"),_e=i("./node_modules/core-js/internals/array-iteration.js").forEach,De=z("hidden"),Xe="Symbol",J="prototype",Ee=oe("toPrimitive"),qe=pe.set,ae=pe.getterFor(Xe),V=Object[J],X=s.Symbol,Z=t("JSON","stringify"),ge=R.f,le=j.f,Se=P.f,me=H.f,$=G("symbols"),we=G("op-symbols"),xe=G("string-to-symbol-registry"),We=G("symbol-to-string-registry"),st=G("wks"),nt=s.QObject,Ne=!nt||!nt[J]||!nt[J].findChild,St=c&&p(function(){return D(le({},"a",{get:function(){return le(this,"a",{value:7}).a}})).a!=7})?function(Me,Ce,ue){var ot=ge(V,Ce);ot&&delete V[Ce],le(Me,Ce,ue),ot&&Me!==V&&le(V,Ce,ot)}:le,Ye=function(Ce,ue){var ot=$[Ce]=D(X[J]);return qe(ot,{type:Xe,tag:Ce,description:ue}),c||(ot.description=ue),ot},vt=function(Ce,ue,ot){Ce===V&&vt(we,ue,ot),C(Ce);var rt=E(ue);return C(ot),m($,rt)?(ot.enumerable?(m(Ce,De)&&Ce[De][rt]&&(Ce[De][rt]=!1),ot=D(ot,{enumerable:L(0,!1)})):(m(Ce,De)||le(Ce,De,L(1,{})),Ce[De][rt]=!0),St(Ce,rt,ot)):le(Ce,rt,ot)},It=function(Ce,ue){C(Ce);var ot=_(ue),rt=F(ot).concat(te(ot));return _e(rt,function(Ue){(!c||xt.call(ot,Ue))&&vt(Ce,Ue,ot[Ue])}),Ce},Ut=function(Ce,ue){return ue===void 0?D(Ce):It(D(Ce),ue)},xt=function(Ce){var ue=E(Ce),ot=me.call(this,ue);return this===V&&m($,ue)&&!m(we,ue)?!1:ot||!m(this,ue)||!m($,ue)||m(this,De)&&this[De][ue]?ot:!0},Bt=function(Ce,ue){var ot=_(Ce),rt=E(ue);if(ot===V&&m($,rt)&&!m(we,rt))return;var Ue=ge(ot,rt);return Ue&&m($,rt)&&!(m(ot,De)&&ot[De][rt])&&(Ue.enumerable=!0),Ue},Qe=function(Ce){var ue=Se(_(Ce)),ot=[];return _e(ue,function(rt){!m($,rt)&&!m(Y,rt)&&ot.push(rt)}),ot},te=function(Ce){var ue=Ce===V,ot=Se(ue?we:_(Ce)),rt=[];return _e(ot,function(Ue){m($,Ue)&&(!ue||m(V,Ue))&&rt.push($[Ue])}),rt};if(h||(X=function(){if(this instanceof X)throw TypeError("Symbol is not a constructor");var Ce=!arguments.length||arguments[0]===void 0?void 0:I(arguments[0]),ue=q(Ce),ot=function rt(Ue){this===V&&rt.call(we,Ue),m(this,De)&&m(this[De],ue)&&(this[De][ue]=!1),St(this,ue,L(1,Ue))};return c&&Ne&&St(V,ue,{configurable:!0,set:ot}),Ye(ue,Ce)},U(X[J],"toString",function(){return ae(this).tag}),U(X,"withoutSetter",function(Me){return Ye(q(Me),Me)}),H.f=xt,j.f=vt,R.f=Bt,N.f=P.f=Qe,W.f=te,ie.f=function(Me){return Ye(oe(Me),Me)},c&&(le(X[J],"description",{configurable:!0,get:function(){return ae(this).description}}),a||U(V,"propertyIsEnumerable",xt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:X}),_e(F(st),function(Me){se(Me)}),r({target:Xe,stat:!0,forced:!h},{for:function(Ce){var ue=I(Ce);if(m(xe,ue))return xe[ue];var ot=X(ue);return xe[ue]=ot,We[ot]=ue,ot},keyFor:function(Ce){if(!x(Ce))throw TypeError(Ce+" is not a symbol");if(m(We,Ce))return We[Ce]},useSetter:function(){Ne=!0},useSimple:function(){Ne=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!c},{create:Ut,defineProperty:vt,defineProperties:It,getOwnPropertyDescriptor:Bt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Qe,getOwnPropertySymbols:te}),r({target:"Object",stat:!0,forced:p(function(){W.f(1)})},{getOwnPropertySymbols:function(Ce){return W.f(T(Ce))}}),Z){var Q=!h||p(function(){var Me=X();return Z([Me])!="[null]"||Z({a:Me})!="{}"||Z(Object(Me))!="{}"});r({target:"JSON",stat:!0,forced:Q},{stringify:function(Ce,ue,ot){for(var rt=[Ce],Ue=1,Ge;arguments.length>Ue;)rt.push(arguments[Ue++]);return Ge=ue,!y(ue)&&Ce===void 0||x(Ce)?void 0:(S(ue)||(ue=function(Wt,jt){if(typeof Ge=="function"&&(jt=Ge.call(this,Wt,jt)),!x(jt))return jt}),rt[1]=ue,Z.apply(null,rt))}})}X[J][Ee]||K(X[J],Ee,X[J].valueOf),he(X,Xe),Y[De]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/dom-iterables.js"),t=i("./node_modules/core-js/internals/array-for-each.js"),a=i("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var c in s){var h=r[c],p=h&&h.prototype;if(p&&p.forEach!==t)try{a(p,"forEach",t)}catch(m){p.forEach=t}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/dom-iterables.js"),t=i("./node_modules/core-js/modules/es.array.iterator.js"),a=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=i("./node_modules/core-js/internals/well-known-symbol.js"),h=c("iterator"),p=c("toStringTag"),m=t.values;for(var S in s){var y=r[S],x=y&&y.prototype;if(x){if(x[h]!==m)try{a(x,h,m)}catch(T){x[h]=m}if(x[p]||a(x,p,S),s[S]){for(var C in t)if(x[C]!==t[C])try{a(x,C,t[C])}catch(T){x[C]=t[C]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(e){/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.8+1e68dce6
*/(function(n,i){e.exports=i()})(this,function(){"use strict";function n(nt){var Ne=typeof nt;return nt!==null&&(Ne==="object"||Ne==="function")}function i(nt){return typeof nt=="function"}var r=void 0;Array.isArray?r=Array.isArray:r=function(Ne){return Object.prototype.toString.call(Ne)==="[object Array]"};var s=r,t=0,a=void 0,c=void 0,h=function(Ne,St){F[t]=Ne,F[t+1]=St,t+=2,t===2&&(c?c(N):W())};function p(nt){c=nt}function m(nt){h=nt}var S=typeof window!="undefined"?window:void 0,y=S||{},x=y.MutationObserver||y.WebKitMutationObserver,C=typeof self=="undefined"&&typeof A!="undefined"&&{}.toString.call(A)==="[object process]",T=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function _(){return function(){return A.nextTick(N)}}function E(){return typeof a!="undefined"?function(){a(N)}:D()}function I(){var nt=0,Ne=new x(N),St=document.createTextNode("");return Ne.observe(St,{characterData:!0}),function(){St.data=nt=++nt%2}}function L(){var nt=new MessageChannel;return nt.port1.onmessage=N,function(){return nt.port2.postMessage(0)}}function D(){var nt=setTimeout;return function(){return nt(N,1)}}var F=new Array(1e3);function N(){for(var nt=0;nt<t;nt+=2){var Ne=F[nt],St=F[nt+1];Ne(St),F[nt]=void 0,F[nt+1]=void 0}t=0}function P(){try{var nt=Function("return this")().require("vertx");return a=nt.runOnLoop||nt.runOnContext,E()}catch(Ne){return D()}}var W=void 0;C?W=_():x?W=I():T?W=L():S===void 0&&!0?W=P():W=D();function R(nt,Ne){var St=this,Ye=new this.constructor(K);Ye[H]===void 0&&Z(Ye);var vt=St._state;if(vt){var It=arguments[vt-1];h(function(){return qe(vt,Ye,It,St._result)})}else J(St,Ye,nt,Ne);return Ye}function j(nt){var Ne=this;if(nt&&typeof nt=="object"&&nt.constructor===Ne)return nt;var St=new Ne(K);return pe(St,nt),St}var H=Math.random().toString(36).substring(2);function K(){}var U=void 0,G=1,z=2;function Y(){return new TypeError("You cannot resolve a promise with itself")}function q(){return new TypeError("A promises callback cannot return that same promise.")}function oe(nt,Ne,St,Ye){try{nt.call(Ne,St,Ye)}catch(vt){return vt}}function ie(nt,Ne,St){h(function(Ye){var vt=!1,It=oe(St,Ne,function(Ut){if(vt)return;vt=!0,Ne!==Ut?pe(Ye,Ut):De(Ye,Ut)},function(Ut){if(vt)return;vt=!0,Xe(Ye,Ut)},"Settle: "+(Ye._label||" unknown promise"));!vt&&It&&(vt=!0,Xe(Ye,It))},nt)}function se(nt,Ne){Ne._state===G?De(nt,Ne._result):Ne._state===z?Xe(nt,Ne._result):J(Ne,void 0,function(St){return pe(nt,St)},function(St){return Xe(nt,St)})}function he(nt,Ne,St){Ne.constructor===nt.constructor&&St===R&&Ne.constructor.resolve===j?se(nt,Ne):St===void 0?De(nt,Ne):i(St)?ie(nt,Ne,St):De(nt,Ne)}function pe(nt,Ne){if(nt===Ne)Xe(nt,Y());else if(n(Ne)){var St=void 0;try{St=Ne.then}catch(Ye){Xe(nt,Ye);return}he(nt,Ne,St)}else De(nt,Ne)}function _e(nt){nt._onerror&&nt._onerror(nt._result),Ee(nt)}function De(nt,Ne){if(nt._state!==U)return;nt._result=Ne,nt._state=G,nt._subscribers.length!==0&&h(Ee,nt)}function Xe(nt,Ne){if(nt._state!==U)return;nt._state=z,nt._result=Ne,h(_e,nt)}function J(nt,Ne,St,Ye){var vt=nt._subscribers,It=vt.length;nt._onerror=null,vt[It]=Ne,vt[It+G]=St,vt[It+z]=Ye,It===0&&nt._state&&h(Ee,nt)}function Ee(nt){var Ne=nt._subscribers,St=nt._state;if(Ne.length===0)return;for(var Ye=void 0,vt=void 0,It=nt._result,Ut=0;Ut<Ne.length;Ut+=3)Ye=Ne[Ut],vt=Ne[Ut+St],Ye?qe(St,Ye,vt,It):vt(It);nt._subscribers.length=0}function qe(nt,Ne,St,Ye){var vt=i(St),It=void 0,Ut=void 0,xt=!0;if(vt){try{It=St(Ye)}catch(Bt){xt=!1,Ut=Bt}if(Ne===It){Xe(Ne,q());return}}else It=Ye;Ne._state!==U||(vt&&xt?pe(Ne,It):xt===!1?Xe(Ne,Ut):nt===G?De(Ne,It):nt===z&&Xe(Ne,It))}function ae(nt,Ne){try{Ne(function(Ye){pe(nt,Ye)},function(Ye){Xe(nt,Ye)})}catch(St){Xe(nt,St)}}var V=0;function X(){return V++}function Z(nt){nt[H]=V++,nt._state=void 0,nt._result=void 0,nt._subscribers=[]}function ge(){return new Error("Array Methods must be provided an Array")}var le=function(){function nt(Ne,St){this._instanceConstructor=Ne,this.promise=new Ne(K),this.promise[H]||Z(this.promise),s(St)?(this.length=St.length,this._remaining=St.length,this._result=new Array(this.length),this.length===0?De(this.promise,this._result):(this.length=this.length||0,this._enumerate(St),this._remaining===0&&De(this.promise,this._result))):Xe(this.promise,ge())}return nt.prototype._enumerate=function(St){for(var Ye=0;this._state===U&&Ye<St.length;Ye++)this._eachEntry(St[Ye],Ye)},nt.prototype._eachEntry=function(St,Ye){var vt=this._instanceConstructor,It=vt.resolve;if(It===j){var Ut=void 0,xt=void 0,Bt=!1;try{Ut=St.then}catch(te){Bt=!0,xt=te}if(Ut===R&&St._state!==U)this._settledAt(St._state,Ye,St._result);else if(typeof Ut!="function")this._remaining--,this._result[Ye]=St;else if(vt===We){var Qe=new vt(K);Bt?Xe(Qe,xt):he(Qe,St,Ut),this._willSettleAt(Qe,Ye)}else this._willSettleAt(new vt(function(te){return te(St)}),Ye)}else this._willSettleAt(It(St),Ye)},nt.prototype._settledAt=function(St,Ye,vt){var It=this.promise;It._state===U&&(this._remaining--,St===z?Xe(It,vt):this._result[Ye]=vt),this._remaining===0&&De(It,this._result)},nt.prototype._willSettleAt=function(St,Ye){var vt=this;J(St,void 0,function(It){return vt._settledAt(G,Ye,It)},function(It){return vt._settledAt(z,Ye,It)})},nt}();function Se(nt){return new le(this,nt).promise}function me(nt){var Ne=this;return s(nt)?new Ne(function(St,Ye){for(var vt=nt.length,It=0;It<vt;It++)Ne.resolve(nt[It]).then(St,Ye)}):new Ne(function(St,Ye){return Ye(new TypeError("You must pass an array to race."))})}function $(nt){var Ne=this,St=new Ne(K);return Xe(St,nt),St}function we(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function xe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var We=function(){function nt(Ne){this[H]=X(),this._result=this._state=void 0,this._subscribers=[],K!==Ne&&(typeof Ne!="function"&&we(),this instanceof nt?ae(this,Ne):xe())}return nt.prototype.catch=function(St){return this.then(null,St)},nt.prototype.finally=function(St){var Ye=this,vt=Ye.constructor;return i(St)?Ye.then(function(It){return vt.resolve(St()).then(function(){return It})},function(It){return vt.resolve(St()).then(function(){throw It})}):Ye.then(St,St)},nt}();We.prototype.then=R,We.all=Se,We.race=me,We.resolve=j,We.reject=$,We._setScheduler=p,We._setAsap=m,We._asap=h;function st(){var nt=void 0;if(typeof w!="undefined")nt=w;else if(typeof self!="undefined")nt=self;else try{nt=Function("return this")()}catch(Ye){throw new Error("polyfill failed because global object is unavailable in this environment")}var Ne=nt.Promise;if(Ne){var St=null;try{St=Object.prototype.toString.call(Ne.resolve())}catch(Ye){}if(St==="[object Promise]"&&!Ne.cast)return}nt.Promise=We}return We.polyfill=st,We.Promise=We,We})},html2canvas:function(e){"use strict";e.exports=g},jspdf:function(e){"use strict";e.exports=b}},f={};function l(o){var e=f[o];if(e!==void 0)return e.exports;var n=f[o]={exports:{}};return v[o].call(n.exports,n,n.exports,l),n.exports}!function(){l.n=function(o){var e=o&&o.__esModule?function(){return o.default}:function(){return o};return l.d(e,{a:e}),e}}(),!function(){l.d=function(o,e){for(var n in e)l.o(e,n)&&!l.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:e[n]})}}(),!function(){l.o=function(o,e){return Object.prototype.hasOwnProperty.call(o,e)}}(),!function(){l.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}}();var u={};return!function(){"use strict";/*!**********************!*\
!*** ./src/index.js ***!
\**********************/l.r(u);var o=l("./src/worker.js"),e=l("./src/plugin/jspdf-plugin.js"),n=l("./src/plugin/pagebreaks.js"),i=l("./src/plugin/hyperlinks.js"),r=function s(t,a){var c=new s.Worker(a);return t?c.from(t).save():c};r.Worker=o.default,u.default=r}(),u=u.default,u}()})}).call(this,d("IyRk"),d("Q2Ig"))},"1q3G":function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=w;function w(){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(k,B,d){var w=d("MBQ8"),A=w.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(g){return g.stack=null,A.superApply(this,"getInitialData",arguments)}}),b=A;k.exports=b},"1u/T":function(k,B,d){var w=d("ProS"),A={type:"selectDataRange",event:"dataRangeSelected",update:"update"};w.registerAction(A,function(b,g){g.eachComponent({mainType:"visualMap",query:b},function(v){v.setSelected(b.selected)})})},"1vzs":function(k,B,d){"use strict";d.d(B,"a",function(){return o});var w=d("q1tI"),A=d.n(w),b=d("8Skl"),g=d("ye1Q"),v=d("bRQS"),f=d("4i/N"),l=d("jN4g"),u=d("l+S1");function o(e){var n=e.suffixIcon,i=e.clearIcon,r=e.menuItemSelectedIcon,s=e.removeIcon,t=e.loading,a=e.multiple,c=e.prefixCls,h=i;i||(h=w.createElement(l.a,null));var p=null;if(n!==void 0)p=n;else if(t)p=w.createElement(g.a,{spin:!0});else{var m="".concat(c,"-suffix");p=function(C){var T=C.open,_=C.showSearch;return T&&_?w.createElement(u.a,{className:m}):w.createElement(b.a,{className:m})}}var S=null;r!==void 0?S=r:a?S=w.createElement(v.a,null):S=null;var y=null;return s!==void 0?y=s:y=w.createElement(f.a,null),{clearIcon:h,suffixIcon:p,itemIcon:S,removeIcon:y}}},"1xaR":function(k,B,d){var w=d("ProS"),A=d("bYtY");d("qgGe"),d("NA0q"),d("RPvy");var b=d("mOdp"),g=d("y3NT"),v=d("0/Rx");w.registerVisual(A.curry(b,"sunburst")),w.registerLayout(A.curry(g,"sunburst")),w.registerProcessor(A.curry(v,"sunburst"))},"24YM":function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.SensorTabIndex=B.SensorClassName=B.SizeSensorId=void 0;var w="size-sensor-id";B.SizeSensorId=w;var A="size-sensor-object";B.SensorClassName=A;var b="-1";B.SensorTabIndex=b},"2548":function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("6GrX"),g=d("IUWy"),v=d("IwbS"),f=d("Qxkt"),l=d("gPAo"),u=d("eRkO"),o=w.extendComponentView({type:"toolbox",render:function(n,i,r,s){var t=this.group;if(t.removeAll(),!n.get("show"))return;var a=+n.get("itemSize"),c=n.get("feature")||{},h=this._features||(this._features={}),p=[];A.each(c,function(y,x){p.push(x)}),new l(this._featureNames||[],p).add(m).update(m).remove(A.curry(m,null)).execute(),this._featureNames=p;function m(y,x){var C=p[y],T=p[x],_=c[C],E=new f(_,n,n.ecModel),I;if(s&&s.newTitle!=null&&s.featureName===C&&(_.title=s.newTitle),C&&!T){if(e(C))I={model:E,onclick:E.option.onclick,featureName:C};else{var L=g.get(C);if(!L)return;I=new L(E,i,r)}h[C]=I}else{if(I=h[T],!I)return;I.model=E,I.ecModel=i,I.api=r}if(!C&&T){I.dispose&&I.dispose(i,r);return}if(!E.get("show")||I.unusable){I.remove&&I.remove(i,r);return}S(E,I,C),E.setIconStatus=function(D,F){var N=this.option,P=this.iconPaths;N.iconStatus=N.iconStatus||{},N.iconStatus[D]=F,P[D]&&P[D].trigger(F)},I.render&&I.render(E,i,r,s)}function S(y,x,C){var T=y.getModel("iconStyle"),_=y.getModel("emphasis.iconStyle"),E=x.getIcons?x.getIcons():y.get("icon"),I=y.get("title")||{};if(typeof E=="string"){var L=E,D=I;E={},I={},E[C]=L,I[C]=D}var F=y.iconPaths={};A.each(E,function(N,P){var W=v.createIcon(N,{},{x:-a/2,y:-a/2,width:a,height:a});W.setStyle(T.getItemStyle()),W.hoverStyle=_.getItemStyle(),W.setStyle({text:I[P],textAlign:_.get("textAlign"),textBorderRadius:_.get("textBorderRadius"),textPadding:_.get("textPadding"),textFill:null});var R=n.getModel("tooltip");R&&R.get("show")&&W.attr("tooltip",A.extend({content:I[P],formatter:R.get("formatter",!0)||function(){return I[P]},formatterParams:{componentType:"toolbox",name:P,title:I[P],$vars:["name","title"]},position:R.get("position",!0)||"bottom"},R.option)),v.setHoverStyle(W),n.get("showTitle")&&(W.__title=I[P],W.on("mouseover",function(){var j=_.getItemStyle(),H=n.get("orient")==="vertical"?n.get("right")==null?"right":"left":n.get("bottom")==null?"bottom":"top";W.setStyle({textFill:_.get("textFill")||j.fill||j.stroke||"#000",textBackgroundColor:_.get("textBackgroundColor"),textPosition:_.get("textPosition")||H})}).on("mouseout",function(){W.setStyle({textFill:null,textBackgroundColor:null})})),W.trigger(y.get("iconStatus."+P)||"normal"),t.add(W),W.on("click",A.bind(x.onclick,x,i,r,P)),F[P]=W})}u.layout(t,n,r),t.add(u.makeBackground(t.getBoundingRect(),n)),t.eachChild(function(y){var x=y.__title,C=y.hoverStyle;if(C&&x){var T=b.getBoundingRect(x,b.makeFont(C)),_=y.position[0]+t.position[0],E=y.position[1]+t.position[1]+a,I=!1;E+T.height>r.getHeight()&&(C.textPosition="top",I=!0);var L=I?-5-T.height:a+8;_+T.width/2>r.getWidth()?(C.textPosition=["100%",L],C.textAlign="right"):_-T.width/2<0&&(C.textPosition=[0,L],C.textAlign="left")}})},updateView:function(n,i,r,s){A.each(this._features,function(t){t.updateView&&t.updateView(t.model,i,r,s)})},remove:function(n,i){A.each(this._features,function(r){r.remove&&r.remove(n,i)}),this.group.removeAll()},dispose:function(n,i){A.each(this._features,function(r){r.dispose&&r.dispose(n,i)})}});function e(n){return n.indexOf("my")===0}k.exports=o},"2B6p":function(k,B){function d(w,A,b){var g=w.getZoom(),v=w.getCenter(),f=A.zoom,l=w.dataToPoint(v);if(A.dx!=null&&A.dy!=null){l[0]-=A.dx,l[1]-=A.dy;var v=w.pointToData(l);w.setCenter(v)}if(f!=null){if(b){var u=b.min||0,o=b.max||Infinity;f=Math.max(Math.min(g*f,o),u)/g}w.scale[0]*=f,w.scale[1]*=f;var e=w.position,n=(A.originX-e[0])*(f-1),i=(A.originY-e[1])*(f-1);e[0]-=n,e[1]-=i,w.updateTransform();var v=w.pointToData(l);w.setCenter(v),w.setZoom(f*g)}return{center:w.getCenter(),zoom:w.getZoom()}}B.updateCenterAndZoom=d},"2DNl":function(k,B,d){var w=d("IMiH"),A=d("loD1"),b=d("59Ip"),g=d("aKvl"),v=d("n1HI"),f=d("hX1E"),l=f.normalizeRadian,u=d("Sj9i"),o=d("hyiK"),e=w.CMD,n=Math.PI*2,i=1e-4;function r(x,C){return Math.abs(x-C)<i}var s=[-1,-1,-1],t=[-1,-1];function a(){var x=t[0];t[0]=t[1],t[1]=x}function c(x,C,T,_,E,I,L,D,F,N){if(N>C&&N>_&&N>I&&N>D||N<C&&N<_&&N<I&&N<D)return 0;var P=u.cubicRootAt(C,_,I,D,N,s);if(P===0)return 0;for(var W=0,R=-1,j,H,K=0;K<P;K++){var U=s[K],G=U===0||U===1?.5:1,z=u.cubicAt(x,T,E,L,U);if(z<F)continue;R<0&&(R=u.cubicExtrema(C,_,I,D,t),t[1]<t[0]&&R>1&&a(),j=u.cubicAt(C,_,I,D,t[0]),R>1&&(H=u.cubicAt(C,_,I,D,t[1]))),R===2?U<t[0]?W+=j<C?G:-G:U<t[1]?W+=H<j?G:-G:W+=D<H?G:-G:U<t[0]?W+=j<C?G:-G:W+=D<j?G:-G}return W}function h(x,C,T,_,E,I,L,D){if(D>C&&D>_&&D>I||D<C&&D<_&&D<I)return 0;var F=u.quadraticRootAt(C,_,I,D,s);if(F===0)return 0;var N=u.quadraticExtremum(C,_,I);if(N>=0&&N<=1){for(var P=0,W=u.quadraticAt(C,_,I,N),R=0;R<F;R++){var j=s[R]===0||s[R]===1?.5:1,H=u.quadraticAt(x,T,E,s[R]);if(H<L)continue;s[R]<N?P+=W<C?j:-j:P+=I<W?j:-j}return P}else{var j=s[0]===0||s[0]===1?.5:1,H=u.quadraticAt(x,T,E,s[0]);return H<L?0:I<C?j:-j}}function p(x,C,T,_,E,I,L,D){if(D-=C,D>T||D<-T)return 0;var F=Math.sqrt(T*T-D*D);s[0]=-F,s[1]=F;var N=Math.abs(_-E);if(N<1e-4)return 0;if(N%n<1e-4){_=0,E=n;var P=I?1:-1;return L>=s[0]+x&&L<=s[1]+x?P:0}if(I){var F=_;_=l(E),E=l(F)}else _=l(_),E=l(E);_>E&&(E+=n);for(var W=0,R=0;R<2;R++){var j=s[R];if(j+x>L){var H=Math.atan2(D,j),P=I?1:-1;H<0&&(H=n+H),(H>=_&&H<=E||H+n>=_&&H+n<=E)&&(H>Math.PI/2&&H<Math.PI*1.5&&(P=-P),W+=P)}}return W}function m(x,C,T,_,E){for(var I=0,L=0,D=0,F=0,N=0,P=0;P<x.length;){var W=x[P++];W===e.M&&P>1&&(T||(I+=o(L,D,F,N,_,E))),P===1&&(L=x[P],D=x[P+1],F=L,N=D);switch(W){case e.M:F=x[P++],N=x[P++],L=F,D=N;break;case e.L:if(T){if(A.containStroke(L,D,x[P],x[P+1],C,_,E))return!0}else I+=o(L,D,x[P],x[P+1],_,E)||0;L=x[P++],D=x[P++];break;case e.C:if(T){if(b.containStroke(L,D,x[P++],x[P++],x[P++],x[P++],x[P],x[P+1],C,_,E))return!0}else I+=c(L,D,x[P++],x[P++],x[P++],x[P++],x[P],x[P+1],_,E)||0;L=x[P++],D=x[P++];break;case e.Q:if(T){if(g.containStroke(L,D,x[P++],x[P++],x[P],x[P+1],C,_,E))return!0}else I+=h(L,D,x[P++],x[P++],x[P],x[P+1],_,E)||0;L=x[P++],D=x[P++];break;case e.A:var R=x[P++],j=x[P++],H=x[P++],K=x[P++],U=x[P++],G=x[P++];P+=1;var z=1-x[P++],Y=Math.cos(U)*H+R,q=Math.sin(U)*K+j;P>1?I+=o(L,D,Y,q,_,E):(F=Y,N=q);var oe=(_-R)*K/H+R;if(T){if(v.containStroke(R,j,K,U,U+G,z,C,oe,E))return!0}else I+=p(R,j,K,U,U+G,z,oe,E);L=Math.cos(U+G)*H+R,D=Math.sin(U+G)*K+j;break;case e.R:F=L=x[P++],N=D=x[P++];var ie=x[P++],se=x[P++],Y=F+ie,q=N+se;if(T){if(A.containStroke(F,N,Y,N,C,_,E)||A.containStroke(Y,N,Y,q,C,_,E)||A.containStroke(Y,q,F,q,C,_,E)||A.containStroke(F,q,F,N,C,_,E))return!0}else I+=o(Y,N,Y,q,_,E),I+=o(F,q,F,N,_,E);break;case e.Z:if(T){if(A.containStroke(L,D,F,N,C,_,E))return!0}else I+=o(L,D,F,N,_,E);L=F,D=N;break}}return!T&&!r(D,N)&&(I+=o(L,D,F,N,_,E)||0),I!==0}function S(x,C,T){return m(x,0,!1,C,T)}function y(x,C,T,_){return m(x,C,!0,T,_)}B.contain=S,B.containStroke=y},"2KFj":function(k,B,d){"use strict";d.d(B,"a",function(){return b});var w=d("XPR9");function A(g,v){for(;!Object.prototype.hasOwnProperty.call(g,v)&&!(g=Object(w.a)(g),g===null););return g}function b(g,v,f){return typeof Reflect!="undefined"&&Reflect.get?b=Reflect.get:b=function(u,o,e){var n=A(u,o);if(!n)return;var i=Object.getOwnPropertyDescriptor(n,o);return i.get?i.get.call(e):i.value},b(g,v,f||g)}},"2Qr1":function(k,B,d){"use strict";d.d(B,"d",function(){return o}),d.d(B,"c",function(){return n}),d.d(B,"e",function(){return i}),d.d(B,"b",function(){return t}),d.d(B,"f",function(){return a}),d.d(B,"g",function(){return c}),d.d(B,"a",function(){return h});var w=d("rePB"),A=d("T5bk"),b=d("KQm4"),g=d("U8pU"),v=d("VTBJ"),f=d("Kwbf"),l=d("WKfj");function u(p,m){var S=p.key,y;return"value"in p&&(y=p.value),S!=null?S:y!==void 0?y:"rc-index-key-".concat(m)}function o(p){var m=[];function S(y,x){y.forEach(function(C){x||!("options"in C)?m.push({key:u(C,m.length),groupOption:x,data:C}):(m.push({key:u(C,m.length),group:!0,data:C}),S(C.options,!0))})}return S(p,!1),m}function e(p){var m=Object(v.a)({},p);return"props"in m||Object.defineProperty(m,"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`."),m}}),m}function n(p,m){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},y=S.prevValueOptions,x=y===void 0?[]:y,C=new Map;return m.forEach(function(T){if(!T.group){var _=T.data;C.set(_.value,_)}}),p.map(function(T){var _=C.get(T);return _||(_=Object(v.a)({},x.find(function(E){return E._INTERNAL_OPTION_VALUE_===T}))),e(_)})}var i=function(m,S){var y=S.options,x=S.prevValueMap,C=S.labelInValue,T=S.optionLabelProp,_=n([m],y)[0],E={value:m},I=C?x.get(m):void 0;return I&&Object(g.a)(I)==="object"&&"label"in I?(E.label=I.label,_&&typeof I.label=="string"&&typeof _[T]=="string"&&I.label.trim()!==_[T].trim()&&Object(f.a)(!1,"`label` of `value` is not same as `label` in Select options.")):_&&T in _?E.label=_[T]:(E.label=m,E.isCacheable=!0),E.key=E.value,E};function r(p){return Object(l.d)(p).join("")}function s(p){return function(m,S){var y=m.toLowerCase();if("options"in S)return r(S.label).toLowerCase().includes(y);var x=S[p],C=r(x).toLowerCase();return C.includes(y)}}function t(p,m,S){var y=S.optionFilterProp,x=S.filterOption,C=[],T;return x===!1?Object(b.a)(m):(typeof x=="function"?T=x:T=s(y),m.forEach(function(_){if("options"in _){var E=T(p,_);if(E)C.push(_);else{var I=_.options.filter(function(L){return T(p,L)});I.length&&C.push(Object(v.a)(Object(v.a)({},_),{},{options:I}))}return}T(p,e(_))&&C.push(_)}),C)}function a(p,m){if(!m||!m.length)return null;var S=!1;function y(C,T){var _=Object(A.a)(T),E=_[0],I=_.slice(1);if(!E)return[C];var L=C.split(E);return S=S||L.length>1,L.reduce(function(D,F){return[].concat(Object(b.a)(D),Object(b.a)(y(F,I)))},[]).filter(function(D){return D})}var x=y(p,m);return S?x:null}function c(p,m){var S=n([p],m)[0];return S.disabled}function h(p,m,S,y){var x=Object(l.d)(m).slice().sort(),C=Object(b.a)(p),T=new Set;return p.forEach(function(_){_.options?_.options.forEach(function(E){T.add(E.value)}):T.add(_.value)}),x.forEach(function(_){var E=y?_.value:_;if(!T.has(E)){var I;C.push(y?(I={},Object(w.a)(I,S,_.label),Object(w.a)(I,"value",E),I):{value:E})}}),C}},"2dDv":function(k,B,d){var w=d("bYtY"),A=d("Fofx"),b=d("+TT/"),g=d("aX7z"),v=d("D1WM"),f=d("IwbS"),l=d("OELB"),u=d("72pK"),o=w.each,e=Math.min,n=Math.max,i=Math.floor,r=Math.ceil,s=l.round,t=Math.PI;function a(S,y,x){this._axesMap=w.createHashMap(),this._axesLayout={},this.dimensions=S.dimensions,this._rect,this._model=S,this._init(S,y,x)}a.prototype={type:"parallel",constructor:a,_init:function(S,y,x){var C=S.dimensions,T=S.parallelAxisIndex;o(C,function(_,E){var I=T[E],L=y.getComponent("parallelAxis",I),D=this._axesMap.set(_,new v(_,g.createScaleByModel(L),[0,0],L.get("type"),I)),F=D.type==="category";D.onBand=F&&L.get("boundaryGap"),D.inverse=L.get("inverse"),L.axis=D,D.model=L,D.coordinateSystem=L.coordinateSystem=this},this)},update:function(S,y){this._updateAxesFromSeries(this._model,S)},containPoint:function(S){var y=this._makeLayoutInfo(),x=y.axisBase,C=y.layoutBase,T=y.pixelDimIndex,_=S[1-T],E=S[T];return _>=x&&_<=x+y.axisLength&&E>=C&&E<=C+y.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(S,y){y.eachSeries(function(x){if(!S.contains(x,y))return;var C=x.getData();o(this.dimensions,function(T){var _=this._axesMap.get(T);_.scale.unionExtentFromData(C,C.mapDimension(T)),g.niceScaleExtent(_.scale,_.model)},this)},this)},resize:function(S,y){this._rect=b.getLayoutRect(S.getBoxLayoutParams(),{width:y.getWidth(),height:y.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var S=this._model,y=this._rect,x=["x","y"],C=["width","height"],T=S.get("layout"),_=T==="horizontal"?0:1,E=y[C[_]],I=[0,E],L=this.dimensions.length,D=c(S.get("axisExpandWidth"),I),F=c(S.get("axisExpandCount")||0,[0,L]),N=S.get("axisExpandable")&&L>3&&L>F&&F>1&&D>0&&E>0,P=S.get("axisExpandWindow"),W;if(P)W=c(P[1]-P[0],I),P[1]=P[0]+W;else{W=c(D*(F-1),I);var R=S.get("axisExpandCenter")||i(L/2);P=[D*R-W/2],P[1]=P[0]+W}var j=(E-W)/(L-F);j<3&&(j=0);var H=[i(s(P[0]/D,1))+1,r(s(P[1]/D,1))-1],K=j/D*P[0];return{layout:T,pixelDimIndex:_,layoutBase:y[x[_]],layoutLength:E,axisBase:y[x[1-_]],axisLength:y[C[1-_]],axisExpandable:N,axisExpandWidth:D,axisCollapseWidth:j,axisExpandWindow:P,axisCount:L,winInnerIndices:H,axisExpandWindow0Pos:K}},_layoutAxes:function(){var S=this._rect,y=this._axesMap,x=this.dimensions,C=this._makeLayoutInfo(),T=C.layout;y.each(function(_){var E=[0,C.axisLength],I=_.inverse?1:0;_.setExtent(E[I],E[1-I])}),o(x,function(_,E){var I=(C.axisExpandable?p:h)(E,C),L={horizontal:{x:I.position,y:C.axisLength},vertical:{x:0,y:I.position}},D={horizontal:t/2,vertical:0},F=[L[T].x+S.x,L[T].y+S.y],N=D[T],P=A.create();A.rotate(P,P,N),A.translate(P,P,F),this._axesLayout[_]={position:F,rotation:N,transform:P,axisNameAvailableWidth:I.axisNameAvailableWidth,axisLabelShow:I.axisLabelShow,nameTruncateMaxWidth:I.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(S){return this._axesMap.get(S)},dataToPoint:function(S,y){return this.axisCoordToPoint(this._axesMap.get(y).dataToCoord(S),y)},eachActiveState:function(S,y,x,C){x==null&&(x=0),C==null&&(C=S.count());var T=this._axesMap,_=this.dimensions,E=[],I=[];w.each(_,function(j){E.push(S.mapDimension(j)),I.push(T.get(j).model)});for(var L=this.hasAxisBrushed(),D=x;D<C;D++){var F;if(!L)F="normal";else{F="active";for(var N=S.getValues(E,D),P=0,W=_.length;P<W;P++){var R=I[P].getActiveState(N[P]);if(R==="inactive"){F="inactive";break}}}y(F,D)}},hasAxisBrushed:function(){for(var S=this.dimensions,y=this._axesMap,x=!1,C=0,T=S.length;C<T;C++)y.get(S[C]).model.getActiveState()!=="normal"&&(x=!0);return x},axisCoordToPoint:function(S,y){var x=this._axesLayout[y];return f.applyTransform([S,0],x.transform)},getAxisLayout:function(S){return w.clone(this._axesLayout[S])},getSlidedAxisExpandWindow:function(S){var y=this._makeLayoutInfo(),x=y.pixelDimIndex,C=y.axisExpandWindow.slice(),T=C[1]-C[0],_=[0,y.axisExpandWidth*(y.axisCount-1)];if(!this.containPoint(S))return{behavior:"none",axisExpandWindow:C};var E=S[x]-y.layoutBase-y.axisExpandWindow0Pos,I,L="slide",D=y.axisCollapseWidth,F=this._model.get("axisExpandSlideTriggerArea"),N=F[0]!=null;if(D)N&&D&&E<T*F[0]?(L="jump",I=E-T*F[2]):N&&D&&E>T*(1-F[0])?(L="jump",I=E-T*(1-F[2])):(I=E-T*F[1])>=0&&(I=E-T*(1-F[1]))<=0&&(I=0),I*=y.axisExpandWidth/D,I?u(I,C,_,"all"):L="none";else{var T=C[1]-C[0],P=_[1]*E/T;C=[n(0,P-T/2)],C[1]=e(_[1],C[0]+T),C[0]=C[1]-T}return{axisExpandWindow:C,behavior:L}}};function c(S,y){return e(n(S,y[0]),y[1])}function h(S,y){var x=y.layoutLength/(y.axisCount-1);return{position:x*S,axisNameAvailableWidth:x,axisLabelShow:!0}}function p(S,y){var x=y.layoutLength,C=y.axisExpandWidth,T=y.axisCount,_=y.axisCollapseWidth,E=y.winInnerIndices,I,L=_,D=!1,F;return S<E[0]?(I=S*_,F=_):S<=E[1]?(I=y.axisExpandWindow0Pos+S*C-y.axisExpandWindow[0],L=C,D=!0):(I=x-(T-1-S)*_,F=_),{position:I,axisNameAvailableWidth:L,axisLabelShow:D,nameTruncateMaxWidth:F}}var m=a;k.exports=m},"2fGM":function(k,B,d){var w=d("bYtY"),A=d("bLfw"),b=d("nkfE"),g=d("ICMv"),v=A.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});w.merge(v.prototype,g);var f={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function l(u,o){return o.type||(o.data?"category":"value")}b("angle",v,l,f.angle),b("radius",v,l,f.radius)},"2fM7":function(k,B,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),g=d("bT9E"),v=d("TSYQ"),f=d.n(v),l=d("1OyB"),u=d("vuIU"),o=d("Ji7U"),e=d("LK+K"),n=d("Ff2n"),i=d("ODXe"),r=d("4IlW"),s=d("bX4T"),t=d("YrtM"),a=d("+nKL"),c=d("8OUc"),h=function(De,Xe){var J=De.prefixCls,Ee=De.id,qe=De.flattenOptions,ae=De.childrenAsData,V=De.values,X=De.searchValue,Z=De.multiple,ge=De.defaultActiveFirstOption,le=De.height,Se=De.itemHeight,me=De.notFoundContent,$=De.open,we=De.menuItemSelectedIcon,xe=De.virtual,We=De.onSelect,st=De.onToggleOpen,nt=De.onActiveValue,Ne=De.onScroll,St=De.onMouseEnter,Ye="".concat(J,"-item"),vt=Object(t.a)(function(){return qe},[$,qe],function(rt,Ue){return Ue[0]&&rt[1]!==Ue[1]}),It=b.useRef(null),Ut=function(Ue){Ue.preventDefault()},xt=function(Ue){It.current&&It.current.scrollTo({index:Ue})},Bt=function(Ue){for(var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,tt=vt.length,Wt=0;Wt<tt;Wt+=1){var jt=(Ue+Wt*Ge+tt)%tt,Yt=vt[jt],Tt=Yt.group,Rt=Yt.data;if(!Tt&&!Rt.disabled)return jt}return-1},Qe=b.useState(function(){return Bt(0)}),te=Object(i.a)(Qe,2),Q=te[0],Me=te[1],Ce=function(Ue){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Me(Ue);var tt={source:Ge?"keyboard":"mouse"},Wt=vt[Ue];if(!Wt){nt(null,-1,tt);return}nt(Wt.data.value,Ue,tt)};b.useEffect(function(){Ce(ge!==!1?Bt(0):-1)},[vt.length,X]),b.useEffect(function(){var rt=setTimeout(function(){if(!Z&&$&&V.size===1){var Ge=Array.from(V)[0],tt=vt.findIndex(function(Wt){var jt=Wt.data;return jt.value===Ge});Ce(tt),xt(tt)}});if($){var Ue;(Ue=It.current)===null||Ue===void 0||Ue.scrollTo(void 0)}return function(){return clearTimeout(rt)}},[$]);var ue=function(Ue){Ue!==void 0&&We(Ue,{selected:!V.has(Ue)}),Z||st(!1)};if(b.useImperativeHandle(Xe,function(){return{onKeyDown:function(Ue){var Ge=Ue.which;switch(Ge){case r.a.UP:case r.a.DOWN:{var tt=0;if(Ge===r.a.UP?tt=-1:Ge===r.a.DOWN&&(tt=1),tt!==0){var Wt=Bt(Q+tt,tt);xt(Wt),Ce(Wt,!0)}break}case r.a.ENTER:{var jt=vt[Q];jt&&!jt.data.disabled?ue(jt.data.value):ue(void 0),$&&Ue.preventDefault();break}case r.a.ESC:st(!1),$&&Ue.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ue){xt(Ue)}}}),vt.length===0)return b.createElement("div",{role:"listbox",id:"".concat(Ee,"_list"),className:"".concat(Ye,"-empty"),onMouseDown:Ut},me);function ot(rt){var Ue=vt[rt];if(!Ue)return null;var Ge=Ue.data||{},tt=Ge.value,Wt=Ge.label,jt=Ge.children,Yt=Object(s.a)(Ge,!0),Tt=ae?jt:Wt;return Ue?b.createElement("div",Object(A.a)({"aria-label":typeof Tt=="string"?Tt:null},Yt,{key:rt,role:"option",id:"".concat(Ee,"_list_").concat(rt),"aria-selected":V.has(tt)}),tt):null}return b.createElement(b.Fragment,null,b.createElement("div",{role:"listbox",id:"".concat(Ee,"_list"),style:{height:0,width:0,overflow:"hidden"}},ot(Q-1),ot(Q),ot(Q+1)),b.createElement(a.a,{itemKey:"key",ref:It,data:vt,height:le,itemHeight:Se,fullHeight:!1,onMouseDown:Ut,onScroll:Ne,virtual:xe,onMouseEnter:St},function(rt,Ue){var Ge,tt=rt.group,Wt=rt.groupOption,jt=rt.data,Yt=jt.label,Tt=jt.key;if(tt)return b.createElement("div",{className:f()(Ye,"".concat(Ye,"-group"))},Yt!==void 0?Yt:Tt);var Rt=jt.disabled,yt=jt.value,Jt=jt.title,Lr=jt.children,zr=jt.style,rn=jt.className,ei=Object(n.a)(jt,["disabled","value","title","children","style","className"]),fn=V.has(yt),Zr="".concat(Ye,"-option"),bt=f()(Ye,Zr,rn,(Ge={},Object(w.a)(Ge,"".concat(Zr,"-grouped"),Wt),Object(w.a)(Ge,"".concat(Zr,"-active"),Q===Ue&&!Rt),Object(w.a)(Ge,"".concat(Zr,"-disabled"),Rt),Object(w.a)(Ge,"".concat(Zr,"-selected"),fn),Ge)),ut=ae?Lr:Yt,Oe=!we||typeof we=="function"||fn,be=ut||yt,Fe=typeof be=="string"||typeof be=="number"?be.toString():void 0;return Jt!==void 0&&(Fe=Jt),b.createElement("div",Object(A.a)({},ei,{"aria-selected":fn,className:bt,title:Fe,onMouseMove:function(){if(Q===Ue||Rt)return;Ce(Ue)},onClick:function(){Rt||ue(yt)},style:zr}),b.createElement("div",{className:"".concat(Zr,"-content")},be),b.isValidElement(we)||fn,Oe&&b.createElement(c.a,{className:"".concat(Ye,"-option-state"),customizeIcon:we,customizeIconProps:{isSelected:fn}},fn?"\u2713":null))}))},p=b.forwardRef(h);p.displayName="OptionList";var m=p,S=function(){return null};S.isSelectOption=!0;var y=S,x=function(){return null};x.isSelectOptGroup=!0;var C=x,T=d("VTBJ"),_=d("Zm9Q");function E(_e){var De=_e.key,Xe=_e.props,J=Xe.children,Ee=Xe.value,qe=Object(n.a)(Xe,["children","value"]);return Object(T.a)({key:De,value:Ee!==void 0?Ee:De,children:J},qe)}function I(_e){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(_.a)(_e).map(function(Xe,J){if(!b.isValidElement(Xe)||!Xe.type)return null;var Ee=Xe.type.isSelectOptGroup,qe=Xe.key,ae=Xe.props,V=ae.children,X=Object(n.a)(ae,["children"]);return De||!Ee?E(Xe):Object(T.a)(Object(T.a)({key:"__RC_SELECT_GRP__".concat(qe===null?J:qe,"__"),label:qe},X),{},{options:I(V)})}).filter(function(Xe){return Xe})}var L=d("2Qr1"),D=d("qNPg"),F=d("U8pU"),N=d("Kwbf"),P=d("WKfj");function W(_e){var De=_e.mode,Xe=_e.options,J=_e.children,Ee=_e.backfill,qe=_e.allowClear,ae=_e.placeholder,V=_e.getInputElement,X=_e.showSearch,Z=_e.onSearch,ge=_e.defaultOpen,le=_e.autoFocus,Se=_e.labelInValue,me=_e.value,$=_e.inputValue,we=_e.optionLabelProp,xe=De==="multiple"||De==="tags",We=X!==void 0?X:xe||De==="combobox",st=Xe||I(J);if(Object(N.a)(De!=="tags"||st.every(function(Ye){return!Ye.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),De==="tags"||De==="combobox"){var nt=st.some(function(Ye){return Ye.options?Ye.options.some(function(vt){return typeof("value"in vt?vt.value:vt.key)=="number"}):typeof("value"in Ye?Ye.value:Ye.key)=="number"});Object(N.a)(!nt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(N.a)(De!=="combobox"||!we,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(N.a)(De==="combobox"||!Ee,"`backfill` only works with `combobox` mode."),Object(N.a)(De==="combobox"||!V,"`getInputElement` only work with `combobox` mode."),Object(N.b)(De!=="combobox"||!V||!qe||!ae,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Z&&!We&&De!=="combobox"&&De!=="tags"&&Object(N.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(N.b)(!ge||le,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),me!=null){var Ne=Object(P.d)(me);Object(N.a)(!Se||Ne.every(function(Ye){return Object(F.a)(Ye)==="object"&&("key"in Ye||"value"in Ye)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(N.a)(!xe||Array.isArray(me),"`value` should be array when `mode` is `multiple` or `tags`")}if(J){var St=null;Object(_.a)(J).some(function(Ye){if(!b.isValidElement(Ye)||!Ye.type)return!1;var vt=Ye.type;if(vt.isSelectOption)return!1;if(vt.isSelectOptGroup){var It=Object(_.a)(Ye.props.children).every(function(Ut){return!b.isValidElement(Ut)||!Ye.type||Ut.type.isSelectOption?!0:(St=Ut.type,!1)});return!It}return St=vt,!0}),St&&Object(N.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(St.displayName||St.name||St,"`.")),Object(N.a)($===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var R=W,j=Object(D.a)({prefixCls:"rc-select",components:{optionList:m},convertChildrenToData:I,flattenOptions:L.d,getLabeledValue:L.e,filterOptions:L.b,isValueDisabled:L.g,findValueOption:L.c,warningProps:R,fillOptionsWithMissingValue:L.a}),H=function(_e){Object(o.a)(Xe,_e);var De=Object(e.a)(Xe);function Xe(){var J;return Object(l.a)(this,Xe),J=De.apply(this,arguments),J.selectRef=b.createRef(),J.focus=function(){J.selectRef.current.focus()},J.blur=function(){J.selectRef.current.blur()},J}return Object(u.a)(Xe,[{key:"render",value:function(){return b.createElement(j,Object(A.a)({ref:this.selectRef},this.props))}}]),Xe}(b.Component);H.Option=y,H.OptGroup=C;var K=H,U=K,G=d("H84U"),z=d("1vzs"),Y=d("3Nzz"),q=function(_e,De){var Xe={};for(var J in _e)Object.prototype.hasOwnProperty.call(_e,J)&&De.indexOf(J)<0&&(Xe[J]=_e[J]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,J=Object.getOwnPropertySymbols(_e);Ee<J.length;Ee++)De.indexOf(J[Ee])<0&&Object.prototype.propertyIsEnumerable.call(_e,J[Ee])&&(Xe[J[Ee]]=_e[J[Ee]]);return Xe},oe="SECRET_COMBOBOX_MODE_DO_NOT_USE",ie=function(De,Xe){var J,Ee=De.prefixCls,qe=De.bordered,ae=qe===void 0?!0:qe,V=De.className,X=De.getPopupContainer,Z=De.dropdownClassName,ge=De.listHeight,le=ge===void 0?256:ge,Se=De.listItemHeight,me=Se===void 0?24:Se,$=De.size,we=De.notFoundContent,xe=De.transitionName,We=xe===void 0?"slide-up":xe,st=q(De,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","listHeight","listItemHeight","size","notFoundContent","transitionName"]),nt=b.useContext(G.b),Ne=nt.getPopupContainer,St=nt.getPrefixCls,Ye=nt.renderEmpty,vt=nt.direction,It=nt.virtual,Ut=nt.dropdownMatchSelectWidth,xt=b.useContext(Y.b),Bt=St("select",Ee),Qe=b.useMemo(function(){var jt=st.mode;return jt==="combobox"?void 0:jt===oe?"combobox":jt},[st.mode]),te=Qe==="multiple"||Qe==="tags",Q;we!==void 0?Q=we:Qe==="combobox"?Q=null:Q=Ye("Select");var Me=Object(z.a)(Object(A.a)(Object(A.a)({},st),{multiple:te,prefixCls:Bt})),Ce=Me.suffixIcon,ue=Me.itemIcon,ot=Me.removeIcon,rt=Me.clearIcon,Ue=Object(g.a)(st,["suffixIcon","itemIcon"]),Ge=f()(Z,Object(w.a)({},"".concat(Bt,"-dropdown-").concat(vt),vt==="rtl")),tt=$||xt,Wt=f()((J={},Object(w.a)(J,"".concat(Bt,"-lg"),tt==="large"),Object(w.a)(J,"".concat(Bt,"-sm"),tt==="small"),Object(w.a)(J,"".concat(Bt,"-rtl"),vt==="rtl"),Object(w.a)(J,"".concat(Bt,"-borderless"),!ae),J),V);return b.createElement(U,Object(A.a)({ref:Xe,virtual:It,dropdownMatchSelectWidth:Ut},Ue,{transitionName:We,listHeight:le,listItemHeight:me,mode:Qe,prefixCls:Bt,direction:vt,inputIcon:Ce,menuItemSelectedIcon:ue,removeIcon:ot,clearIcon:rt,notFoundContent:Q,className:Wt,getPopupContainer:X||Ne,dropdownClassName:Ge}))},se=b.forwardRef(ie),he=se;he.SECRET_COMBOBOX_MODE_DO_NOT_USE=oe,he.Option=y,he.OptGroup=C;var pe=B.a=he},"2fw6":function(k,B,d){var w=d("y+Vt"),A=w.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(g,v,f){f&&g.moveTo(v.cx+v.r,v.cy),g.arc(v.cx,v.cy,v.r,0,Math.PI*2,!0)}});k.exports=A},"2jpz":function(k,B,d){"use strict";d.d(B,"a",function(){return a});var w=d("U8pU"),A=d("q1tI"),b=d("TSYQ"),g=d.n(b),v=d("ye1Q"),f=d("9jjd"),l=d("gUdW"),u=d("xGfz"),o=d("VTBJ"),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:"filled"},n=e,i=d("6VBw"),r=function(h,p){return A.createElement(i.a,Object(o.a)(Object(o.a)({},h),{},{ref:p,icon:n}))};r.displayName="CaretDownFilled";var s=A.forwardRef(r),t=d("0n0R");function a(c,h,p,m){var S=m.isLeaf,y=m.expanded,x=m.loading;if(x)return A.createElement(v.a,{className:"".concat(c,"-switcher-loading-icon")});var C;if(p&&Object(w.a)(p)==="object"&&(C=p.showLeafIcon),S)return p?Object(w.a)(p)==="object"&&!C?A.createElement("span",{className:"".concat(c,"-switcher-leaf-line")}):A.createElement(f.a,{className:"".concat(c,"-switcher-line-icon")}):null;var T="".concat(c,"-switcher-icon");return Object(t.b)(h)?Object(t.a)(h,{className:g()(h.props.className||"",T)}):h||(p?y?A.createElement(l.a,{className:"".concat(c,"-switcher-line-icon")}):A.createElement(u.a,{className:"".concat(c,"-switcher-line-icon")}):A.createElement(s,{className:T}))}},"2uGb":function(k,B,d){var w=d("ProS");d("ko1b"),d("s2lz"),d("RBEP");var A=d("kMLO"),b=d("nKiI");w.registerVisual(A),w.registerLayout(b)},"2w7y":function(k,B,d){var w=d("ProS");d("qMZE"),d("g0SD"),w.registerPreprocessor(function(A){A.markPoint=A.markPoint||{}})},"33Ds":function(k,B,d){var w=d("ProS"),A=d("b9oc"),b=d("Kagy"),g=d("IUWy"),v=b.toolbox.restore;function f(o){this.model=o}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 l=f.prototype;l.onclick=function(o,e,n){A.clear(o),e.dispatchAction({type:"restore",from:this.uid})},g.register("restore",f),w.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(o,e){e.resetOption("recreate")});var u=f;k.exports=u},"34/K":function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function A(v,f){for(var l=0;l<f.length;l++){var u=f[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(v,u.key,u)}}function b(v,f,l){return f&&A(v.prototype,f),l&&A(v,l),v}var g=function(){function v(){w(this,v),this._lines=0}return b(v,[{key:"decodeRect",value:function(l,u,o,e,n,i,r){this._lines===0&&(this._lines=e);var s=r==8?1:4,t=o*s;if(n.rQwait("RAW",t))return!1;var a=u+(e-this._lines),c=Math.min(this._lines,Math.floor(n.rQlen/t)),h=n.rQ,p=n.rQi;if(r==8){for(var m=o*c,S=new Uint8Array(m*4),y=0;y<m;y++)S[y*4+0]=(h[p+y]>>0&3)*255/3,S[y*4+1]=(h[p+y]>>2&3)*255/3,S[y*4+2]=(h[p+y]>>4&3)*255/3,S[y*4+4]=0;h=S,p=0}return i.blitImage(l,a,o,c,h,p),n.rQskipBytes(c*t),this._lines-=c,!(this._lines>0)}}]),v}();B.default=g},"3690":function(k,B,d){"use strict";function w(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(n){return typeof n}:w=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},w(o)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var A=g(d("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return b=function(){return o},o}function g(o){if(o&&o.__esModule)return o;if(o===null||w(o)!=="object"&&typeof o!="function")return{default:o};var e=b();if(e&&e.has(o))return e.get(o);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in o)if(Object.prototype.hasOwnProperty.call(o,r)){var s=i?Object.getOwnPropertyDescriptor(o,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=o[r]}return n.default=o,e&&e.set(o,n),n}function v(o,e){if(!(o instanceof e))throw new TypeError("Cannot call a class as a function")}function f(o,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(o,i.key,i)}}function l(o,e,n){return e&&f(o.prototype,e),n&&f(o,n),o}var u=function(){function o(){v(this,o),this._tiles=0,this._lastsubencoding=0}return l(o,[{key:"decodeRect",value:function(n,i,r,s,t,a,c){for(this._tiles===0&&(this._tilesX=Math.ceil(r/16),this._tilesY=Math.ceil(s/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var h=1;if(t.rQwait("HEXTILE",h))return!1;var p=t.rQ,m=t.rQi,S=p[m];if(S>30)throw new Error("Illegal hextile subencoding (subencoding: "+S+")");var y=this._totalTiles-this._tiles,x=y%this._tilesX,C=Math.floor(y/this._tilesX),T=n+x*16,_=i+C*16,E=Math.min(16,n+r-T),I=Math.min(16,i+s-_);if(S&1)h+=E*I*4;else if(S&2&&(h+=4),S&4&&(h+=4),S&8){if(h++,t.rQwait("HEXTILE",h))return!1;var L=p[m+h-1];S&16?h+=L*(4+2):h+=L*2}if(t.rQwait("HEXTILE",h))return!1;if(m++,S===0)this._lastsubencoding&1?A.Debug(" Ignoring blank after RAW"):a.fillRect(T,_,E,I,this._background);else if(S&1)a.blitImage(T,_,E,I,p,m),m+=h-1;else{if(S&2&&(this._background=[p[m],p[m+1],p[m+2],p[m+3]],m+=4),S&4&&(this._foreground=[p[m],p[m+1],p[m+2],p[m+3]],m+=4),a.startTile(T,_,E,I,this._background),S&8){var D=p[m];m++;for(var F=0;F<D;F++){var N=void 0;S&16?(N=[p[m],p[m+1],p[m+2],p[m+3]],m+=4):N=this._foreground;var P=p[m];m++;var W=P>>4,R=P&15,j=p[m];m++;var H=(j>>4)+1,K=(j&15)+1;a.subTile(W,R,H,K,N)}}a.finishTile()}t.rQi=m,this._lastsubencoding=S,this._tiles--}return!0}}]),o}();B.default=u},"3C/r":function(k,B){var d=function(b,g){this.image=b,this.repeat=g,this.type="pattern"};d.prototype.getCanvasPattern=function(A){return A.createPattern(this.image,this.repeat||"repeat")};var w=d;k.exports=w},"3CBa":function(k,B,d){var w=d("hydK"),A=w.createElement,b=d("bYtY"),g=d("SUKs"),v=d("y+Vt"),f=d("Dagg"),l=d("dqUG"),u=d("DBLp"),o=d("sW+o"),e=d("n6Mw"),n=d("vKoX"),i=d("P47w"),r=i.path,s=i.image,t=i.text;function a(E){return parseInt(E,10)}function c(E){return E instanceof v?r:E instanceof f?s:E instanceof l?t:r}function h(E,I){return I&&E&&I.parentNode!==E}function p(E,I,L){if(h(E,I)&&L){var D=L.nextSibling;D?E.insertBefore(I,D):E.appendChild(I)}}function m(E,I){if(h(E,I)){var L=E.firstChild;L?E.insertBefore(I,L):E.appendChild(I)}}function S(E,I){I&&E&&I.parentNode===E&&E.removeChild(I)}function y(E){return E.__textSvgEl}function x(E){return E.__svgEl}var C=function(I,L,D,F){this.root=I,this.storage=L,this._opts=D=b.extend({},D||{});var N=A("svg");N.setAttribute("xmlns","http://www.w3.org/2000/svg"),N.setAttribute("version","1.1"),N.setAttribute("baseProfile","full"),N.style.cssText="user-select:none;position:absolute;left:0;top:0;";var P=A("g");N.appendChild(P);var W=A("g");N.appendChild(W),this.gradientManager=new o(F,W),this.clipPathManager=new e(F,W),this.shadowManager=new n(F,W);var R=document.createElement("div");R.style.cssText="overflow:hidden;position:relative",this._svgDom=N,this._svgRoot=W,this._backgroundRoot=P,this._viewport=R,I.appendChild(R),R.appendChild(N),this.resize(D.width,D.height),this._visibleList=[]};C.prototype={constructor:C,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var I=this.getViewportRoot();if(I)return{offsetLeft:I.offsetLeft||0,offsetTop:I.offsetTop||0}},refresh:function(){var I=this.storage.getDisplayList(!0);this._paintList(I)},setBackgroundColor:function(I){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var L=A("rect");L.setAttribute("width",this.getWidth()),L.setAttribute("height",this.getHeight()),L.setAttribute("x",0),L.setAttribute("y",0),L.setAttribute("id",0),L.style.fill=I,this._backgroundRoot.appendChild(L),this._backgroundNode=L},_paintList:function(I){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var L=this._svgRoot,D=this._visibleList,F=I.length,N=[],P;for(P=0;P<F;P++){var W=I[P],R=c(W),j=x(W)||y(W);W.invisible||(W.__dirty&&(R&&R.brush(W),this.clipPathManager.update(W),W.style&&(this.gradientManager.update(W.style.fill),this.gradientManager.update(W.style.stroke),this.shadowManager.update(j,W)),W.__dirty=!1),N.push(W))}var H=u(D,N),K;for(P=0;P<H.length;P++){var U=H[P];if(U.removed)for(var G=0;G<U.count;G++){var W=D[U.indices[G]],j=x(W),z=y(W);S(L,j),S(L,z)}}for(P=0;P<H.length;P++){var U=H[P];if(U.added)for(var G=0;G<U.count;G++){var W=N[U.indices[G]],j=x(W),z=y(W);K?p(L,j,K):m(L,j),j?p(L,z,j):K?p(L,z,K):m(L,z),p(L,z,j),K=z||j||K,this.gradientManager.addWithoutUpdate(j||z,W),this.shadowManager.addWithoutUpdate(j||z,W),this.clipPathManager.markUsed(W)}else if(!U.removed)for(var G=0;G<U.count;G++){var W=N[U.indices[G]],j=x(W),z=y(W),j=x(W),z=y(W);this.gradientManager.markUsed(W),this.gradientManager.addWithoutUpdate(j||z,W),this.shadowManager.markUsed(W),this.shadowManager.addWithoutUpdate(j||z,W),this.clipPathManager.markUsed(W),z&&p(L,z,j),K=j||z||K}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=N},_getDefs:function(I){var L=this._svgDom,D=L.getElementsByTagName("defs");if(D.length===0)if(I){var D=L.insertBefore(A("defs"),L.firstChild);return D.contains||(D.contains=function(N){var P=D.children;if(!P)return!1;for(var W=P.length-1;W>=0;--W)if(P[W]===N)return!0;return!1}),D}else return null;else return D[0]},resize:function(I,L){var D=this._viewport;D.style.display="none";var F=this._opts;if(I!=null&&(F.width=I),L!=null&&(F.height=L),I=this._getSize(0),L=this._getSize(1),D.style.display="",this._width!==I||this._height!==L){this._width=I,this._height=L;var N=D.style;N.width=I+"px",N.height=L+"px";var P=this._svgDom;P.setAttribute("width",I),P.setAttribute("height",L)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",I),this._backgroundNode.setAttribute("height",L))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(I){var L=this._opts,D=["width","height"][I],F=["clientWidth","clientHeight"][I],N=["paddingLeft","paddingTop"][I],P=["paddingRight","paddingBottom"][I];if(L[D]!=null&&L[D]!=="auto")return parseFloat(L[D]);var W=this.root,R=document.defaultView.getComputedStyle(W);return(W[F]||a(R[D])||a(W.style[D]))-(a(R[N])||0)-(a(R[P])||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 I=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
\r<`));return"data:image/svg+xml;charset=UTF-8,"+I}};function T(E){return function(){g('In SVG mode painter not support method "'+E+'"')}}b.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(E){C.prototype[E]=T(E)});var _=C;k.exports=_},"3LNs":function(k,B,d){var w=d("bYtY"),A=d("Yl7c"),b=d("IwbS"),g=d("zTMp"),v=d("YH21"),f=d("iLNv"),l=d("4NO4"),u=l.makeInner,o=u(),e=w.clone,n=w.bind;function i(){}i.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(p,m,S,y){var x=m.get("value"),C=m.get("status");if(this._axisModel=p,this._axisPointerModel=m,this._api=S,!y&&this._lastValue===x&&this._lastStatus===C)return;this._lastValue=x,this._lastStatus=C;var T=this._group,_=this._handle;if(!C||C==="hide"){T&&T.hide(),_&&_.hide();return}T&&T.show(),_&&_.show();var E={};this.makeElOption(E,x,p,m,S);var I=E.graphicKey;I!==this._lastGraphicKey&&this.clear(S),this._lastGraphicKey=I;var L=this._moveAnimation=this.determineAnimation(p,m);if(!T)T=this._group=new b.Group,this.createPointerEl(T,E,p,m),this.createLabelEl(T,E,p,m),S.getZr().add(T);else{var D=w.curry(r,m,L);this.updatePointerEl(T,E,D,m),this.updateLabelEl(T,E,D,m)}c(T,m,!0),this._renderHandle(x)},remove:function(p){this.clear(p)},dispose:function(p){this.clear(p)},determineAnimation:function(p,m){var S=m.get("animation"),y=p.axis,x=y.type==="category",C=m.get("snap");if(!C&&!x)return!1;if(S==="auto"||S==null){var T=this.animationThreshold;if(x&&y.getBandWidth()>T)return!0;if(C){var _=g.getAxisInfo(p).seriesDataCount,E=y.getExtent();return Math.abs(E[0]-E[1])/_>T}return!1}return S===!0},makeElOption:function(p,m,S,y,x){},createPointerEl:function(p,m,S,y){var x=m.pointer;if(x){var C=o(p).pointerEl=new b[x.type](e(m.pointer));p.add(C)}},createLabelEl:function(p,m,S,y){if(m.label){var x=o(p).labelEl=new b.Rect(e(m.label));p.add(x),t(x,y)}},updatePointerEl:function(p,m,S){var y=o(p).pointerEl;y&&m.pointer&&(y.setStyle(m.pointer.style),S(y,{shape:m.pointer.shape}))},updateLabelEl:function(p,m,S,y){var x=o(p).labelEl;x&&(x.setStyle(m.label.style),S(x,{shape:m.label.shape,position:m.label.position}),t(x,y))},_renderHandle:function(p){if(this._dragging||!this.updateHandleTransform)return;var m=this._axisPointerModel,S=this._api.getZr(),y=this._handle,x=m.getModel("handle"),C=m.get("status");if(!x.get("show")||!C||C==="hide"){y&&S.remove(y),this._handle=null;return}var T;this._handle||(T=!0,y=this._handle=b.createIcon(x.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(I){v.stop(I.event)},onmousedown:n(this._onHandleDragMove,this,0,0),drift:n(this._onHandleDragMove,this),ondragend:n(this._onHandleDragEnd,this)}),S.add(y)),c(y,m,!1);var _=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];y.setStyle(x.getItemStyle(null,_));var E=x.get("size");w.isArray(E)||(E=[E,E]),y.attr("scale",[E[0]/2,E[1]/2]),f.createOrUpdate(this,"_doDispatchAxisPointer",x.get("throttle")||0,"fixRate"),this._moveHandleToValue(p,T)},_moveHandleToValue:function(p,m){r(this._axisPointerModel,!m&&this._moveAnimation,this._handle,a(this.getHandleTransform(p,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(p,m){var S=this._handle;if(!S)return;this._dragging=!0;var y=this.updateHandleTransform(a(S),[p,m],this._axisModel,this._axisPointerModel);this._payloadInfo=y,S.stopAnimation(),S.attr(a(y)),o(S).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var p=this._handle;if(!p)return;var m=this._payloadInfo,S=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:m.cursorPoint[0],y:m.cursorPoint[1],tooltipOption:m.tooltipOption,axesInfo:[{axisDim:S.axis.dim,axisIndex:S.componentIndex}]})},_onHandleDragEnd:function(p){this._dragging=!1;var m=this._handle;if(!m)return;var S=this._axisPointerModel.get("value");this._moveHandleToValue(S),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(p){this._lastValue=null,this._lastStatus=null;var m=p.getZr(),S=this._group,y=this._handle;m&&S&&(this._lastGraphicKey=null,S&&m.remove(S),y&&m.remove(y),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(p,m,S){return S=S||0,{x:p[S],y:p[1-S],width:m[S],height:m[1-S]}}},i.prototype.constructor=i;function r(p,m,S,y){s(o(S).lastProp,y)||(o(S).lastProp=y,m?b.updateProps(S,y,p):(S.stopAnimation(),S.attr(y)))}function s(p,m){if(w.isObject(p)&&w.isObject(m)){var S=!0;return w.each(m,function(y,x){S=S&&s(p[x],y)}),!!S}else return p===m}function t(p,m){p[m.get("label.show")?"show":"hide"]()}function a(p){return{position:p.position.slice(),rotation:p.rotation||0}}function c(p,m,S){var y=m.get("z"),x=m.get("zlevel");p&&p.traverse(function(C){C.type!=="group"&&(y!=null&&(C.z=y),x!=null&&(C.zlevel=x),C.silent=S)})}A.enableClassExtend(i);var h=i;k.exports=h},"3OrL":function(k,B,d){var w=d("bYtY"),A=d("6Ic6"),b=d("IwbS"),g=d("y+Vt"),v=["itemStyle"],f=["emphasis","itemStyle"],l=A.extend({type:"boxplot",render:function(r,s,t){var a=r.getData(),c=this.group,h=this._data;this._data||c.removeAll();var p=r.get("layout")==="horizontal"?1:0;a.diff(h).add(function(m){if(a.hasValue(m)){var S=a.getItemLayout(m),y=o(S,a,m,p,!0);a.setItemGraphicEl(m,y),c.add(y)}}).update(function(m,S){var y=h.getItemGraphicEl(S);if(!a.hasValue(m)){c.remove(y);return}var x=a.getItemLayout(m);y?e(x,y,a,m):y=o(x,a,m,p),c.add(y),a.setItemGraphicEl(m,y)}).remove(function(m){var S=h.getItemGraphicEl(m);S&&c.remove(S)}).execute(),this._data=a},remove:function(r){var s=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(a){a&&s.remove(a)})},dispose:w.noop}),u=g.extend({type:"boxplotBoxPath",shape:{},buildPath:function(r,s){var t=s.points,a=0;for(r.moveTo(t[a][0],t[a][1]),a++;a<4;a++)r.lineTo(t[a][0],t[a][1]);for(r.closePath();a<t.length;a++)r.moveTo(t[a][0],t[a][1]),a++,r.lineTo(t[a][0],t[a][1])}});function o(r,s,t,a,c){var h=r.ends,p=new u({shape:{points:c?n(h,a,r):h}});return e(r,p,s,t,c),p}function e(r,s,t,a,c){var h=t.hostModel,p=b[c?"initProps":"updateProps"];p(s,{shape:{points:r.ends}},h,a);var m=t.getItemModel(a),S=m.getModel(v),y=t.getItemVisual(a,"color"),x=S.getItemStyle(["borderColor"]);x.stroke=y,x.strokeNoScale=!0,s.useStyle(x),s.z2=100;var C=m.getModel(f).getItemStyle();b.setHoverStyle(s,C)}function n(r,s,t){return w.map(r,function(a){return a=a.slice(),a[s]=t.initBaseline,a})}var i=l;k.exports=i},"3S7+":function(k,B,d){"use strict";var w=d("rePB"),A=d("ODXe"),b=d("wx14"),g=d("q1tI"),v=d("U8pU"),f=d("VTBJ"),l=d("Ff2n"),u=d("uciX"),o={adjustX:1,adjustY:1},e=[0,0],n={left:{points:["cr","cl"],overflow:o,offset:[-4,0],targetOffset:e},right:{points:["cl","cr"],overflow:o,offset:[4,0],targetOffset:e},top:{points:["bc","tc"],overflow:o,offset:[0,-4],targetOffset:e},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:e},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:e},leftTop:{points:["tr","tl"],overflow:o,offset:[-4,0],targetOffset:e},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:e},rightTop:{points:["tl","tr"],overflow:o,offset:[4,0],targetOffset:e},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:e},rightBottom:{points:["bl","br"],overflow:o,offset:[4,0],targetOffset:e},bottomLeft:{points:["tl","bl"],overflow:o,offset:[0,4],targetOffset:e},leftBottom:{points:["br","bl"],overflow:o,offset:[-4,0],targetOffset:e}},i=n,r=function(W){var R=W.overlay,j=W.prefixCls,H=W.id,K=W.overlayInnerStyle;return g.createElement("div",{className:"".concat(j,"-inner"),id:H,role:"tooltip",style:K},typeof R=="function"?R():R)},s=r,t=function(W,R){var j=W.overlayClassName,H=W.trigger,K=H===void 0?["hover"]:H,U=W.mouseEnterDelay,G=U===void 0?0:U,z=W.mouseLeaveDelay,Y=z===void 0?.1:z,q=W.overlayStyle,oe=W.prefixCls,ie=oe===void 0?"rc-tooltip":oe,se=W.children,he=W.onVisibleChange,pe=W.afterVisibleChange,_e=W.transitionName,De=W.animation,Xe=W.placement,J=Xe===void 0?"right":Xe,Ee=W.align,qe=Ee===void 0?{}:Ee,ae=W.destroyTooltipOnHide,V=ae===void 0?!1:ae,X=W.defaultVisible,Z=W.getTooltipContainer,ge=W.overlayInnerStyle,le=Object(l.a)(W,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),Se=Object(g.useRef)(null);Object(g.useImperativeHandle)(R,function(){return Se.current});var me=Object(f.a)({},le);"visible"in W&&(me.popupVisible=W.visible);var $=function(){var nt=W.arrowContent,Ne=nt===void 0?null:nt,St=W.overlay,Ye=W.id;return[g.createElement("div",{className:"".concat(ie,"-arrow"),key:"arrow"},Ne),g.createElement(s,{key:"content",prefixCls:ie,id:Ye,overlay:St,overlayInnerStyle:ge})]},we=!1,xe=!1;if(typeof V=="boolean")we=V;else if(V&&Object(v.a)(V)==="object"){var We=V.keepParent;we=We===!0,xe=We===!1}return g.createElement(u.a,Object.assign({popupClassName:j,prefixCls:ie,popup:$,action:K,builtinPlacements:n,popupPlacement:J,ref:Se,popupAlign:qe,getPopupContainer:Z,onPopupVisibleChange:he,afterPopupVisibleChange:pe,popupTransitionName:_e,popupAnimation:De,defaultPopupVisible:X,destroyPopupOnHide:we,autoDestroy:xe,mouseLeaveDelay:Y,popupStyle:q,mouseEnterDelay:G},me),se)},a=Object(g.forwardRef)(t),c=a,h=d("TSYQ"),p=d.n(h),m={adjustX:1,adjustY:1},S={adjustX:0,adjustY:0},y=[0,0];function x(P){return typeof P=="boolean"?P?m:S:Object(b.a)(Object(b.a)({},S),P)}function C(P){var W=P.arrowWidth,R=W===void 0?5:W,j=P.horizontalArrowShift,H=j===void 0?16:j,K=P.verticalArrowShift,U=K===void 0?8:K,G=P.autoAdjustOverflow,z={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(H+R),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(U+R)]},topRight:{points:["br","tc"],offset:[H+R,-4]},rightTop:{points:["tl","cr"],offset:[4,-(U+R)]},bottomRight:{points:["tr","bc"],offset:[H+R,4]},rightBottom:{points:["bl","cr"],offset:[4,U+R]},bottomLeft:{points:["tl","bc"],offset:[-(H+R),4]},leftBottom:{points:["br","cl"],offset:[-4,U+R]}};return Object.keys(z).forEach(function(Y){z[Y]=P.arrowPointAtCenter?Object(b.a)(Object(b.a)({},z[Y]),{overflow:x(G),targetOffset:y}):Object(b.a)(Object(b.a)({},n[Y]),{overflow:x(G)}),z[Y].ignoreShake=!0}),z}var T=d("0n0R"),_=d("H84U"),E=d("09Wf"),I=function(W,R){var j={},H=Object(b.a)({},W);return R.forEach(function(K){W&&K in W&&(j[K]=W[K],delete H[K])}),{picked:j,omitted:H}},L=new RegExp("^(".concat(E.a.join("|"),")(-inverse)?$"));function D(P,W){var R=P.type;if((R.__ANT_BUTTON===!0||R.__ANT_SWITCH===!0||R.__ANT_CHECKBOX===!0||P.type==="button")&&P.props.disabled){var j=I(P.props.style,["position","left","right","top","bottom","float","display","zIndex"]),H=j.picked,K=j.omitted,U=Object(b.a)(Object(b.a)({display:"inline-block"},H),{cursor:"not-allowed",width:P.props.block?"100%":null}),G=Object(b.a)(Object(b.a)({},K),{pointerEvents:"none"}),z=Object(T.a)(P,{style:G,className:null});return g.createElement("span",{style:U,className:p()(P.props.className,"".concat(W,"-disabled-compatible-wrapper"))},z)}return P}var F=g.forwardRef(function(P,W){var R,j=g.useContext(_.b),H=j.getPopupContainer,K=j.getPrefixCls,U=j.direction,G=g.useState(!!P.visible||!!P.defaultVisible),z=Object(A.a)(G,2),Y=z[0],q=z[1];g.useEffect(function(){"visible"in P&&q(P.visible)},[P.visible]);var oe=function(){var We=P.title,st=P.overlay;return!We&&!st&&We!==0},ie=function(We){"visible"in P||q(oe()?!1:We),P.onVisibleChange&&!oe()&&P.onVisibleChange(We)},se=function(){var We=P.builtinPlacements,st=P.arrowPointAtCenter,nt=P.autoAdjustOverflow;return We||C({arrowPointAtCenter:st,autoAdjustOverflow:nt})},he=function(We,st){var nt=se(),Ne=Object.keys(nt).filter(function(vt){return nt[vt].points[0]===st.points[0]&&nt[vt].points[1]===st.points[1]})[0];if(!Ne)return;var St=We.getBoundingClientRect(),Ye={top:"50%",left:"50%"};Ne.indexOf("top")>=0||Ne.indexOf("Bottom")>=0?Ye.top="".concat(St.height-st.offset[1],"px"):(Ne.indexOf("Top")>=0||Ne.indexOf("bottom")>=0)&&(Ye.top="".concat(-st.offset[1],"px")),Ne.indexOf("left")>=0||Ne.indexOf("Right")>=0?Ye.left="".concat(St.width-st.offset[0],"px"):(Ne.indexOf("right")>=0||Ne.indexOf("Left")>=0)&&(Ye.left="".concat(-st.offset[0],"px")),We.style.transformOrigin="".concat(Ye.left," ").concat(Ye.top)},pe=function(){var We=P.title,st=P.overlay;return We===0?We:st||We||""},_e=P.prefixCls,De=P.openClassName,Xe=P.getPopupContainer,J=P.getTooltipContainer,Ee=P.overlayClassName,qe=P.color,ae=P.overlayInnerStyle,V=P.children,X=K("tooltip",_e),Z=Y;!("visible"in P)&&oe()&&(Z=!1);var ge=D(Object(T.b)(V)?V:g.createElement("span",null,V),X),le=ge.props,Se=p()(le.className,Object(w.a)({},De||"".concat(X,"-open"),!0)),me=p()(Ee,(R={},Object(w.a)(R,"".concat(X,"-rtl"),U==="rtl"),Object(w.a)(R,"".concat(X,"-").concat(qe),qe&&L.test(qe)),R)),$=ae,we;return qe&&!L.test(qe)&&($=Object(b.a)(Object(b.a)({},ae),{background:qe}),we={background:qe}),g.createElement(c,Object(b.a)({},P,{prefixCls:X,overlayClassName:me,getTooltipContainer:Xe||J||H,ref:W,builtinPlacements:se(),overlay:pe(),visible:Z,onVisibleChange:ie,onPopupAlign:he,overlayInnerStyle:$,arrowContent:g.createElement("span",{className:"".concat(X,"-arrow-content"),style:we})}),Z?Object(T.a)(ge,{className:Se}):ge)});F.displayName="Tooltip",F.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var N=B.a=F},"3TkU":function(k,B,d){d("aTJb"),d("OlYY"),d("fc+c"),d("QUw5"),d("Swgg"),d("LBfv"),d("noeP")},"3X6L":function(k,B,d){var w=d("bYtY"),A=d("7a+S"),b=d("OKJ2"),g=A.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:[]}});w.mixin(g,b);var v=g;k.exports=v},"3dVZ":function(k,B,d){},"3e3G":function(k,B,d){var w=d("bYtY"),A=d("QuXc"),b=function(f,l,u,o,e){this.x=f==null?.5:f,this.y=l==null?.5:l,this.r=u==null?.5:u,this.type="radial",this.global=e||!1,A.call(this,o)};b.prototype={constructor:b},w.inherits(b,A);var g=b;k.exports=g},"3gBT":function(k,B){var d=2311;function w(){return d++}k.exports=w},"3hzK":function(k,B){var d={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};k.exports=d},"3m61":function(k,B){function d(A){return A instanceof Array||(A=[A,A]),A}function w(A){A.eachSeriesByType("graph",function(b){var g=b.getGraph(),v=b.getEdgeData(),f=d(b.get("edgeSymbol")),l=d(b.get("edgeSymbolSize")),u="lineStyle.color".split("."),o="lineStyle.opacity".split(".");v.setVisual("fromSymbol",f&&f[0]),v.setVisual("toSymbol",f&&f[1]),v.setVisual("fromSymbolSize",l&&l[0]),v.setVisual("toSymbolSize",l&&l[1]),v.setVisual("color",b.get(u)),v.setVisual("opacity",b.get(o)),v.each(function(e){var n=v.getItemModel(e),i=g.getEdgeByIndex(e),r=d(n.getShallow("symbol",!0)),s=d(n.getShallow("symbolSize",!0)),t=n.get(u),a=n.get(o);switch(t){case"source":t=i.node1.getVisual("color");break;case"target":t=i.node2.getVisual("color");break}r[0]&&i.setVisual("fromSymbol",r[0]),r[1]&&i.setVisual("toSymbol",r[1]),s[0]&&i.setVisual("fromSymbolSize",s[0]),s[1]&&i.setVisual("toSymbolSize",s[1]),i.setVisual("color",t),i.setVisual("opacity",a)})})}k.exports=w},"3ouR":function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="CloseSquareOutlined";var l=B.a=A.forwardRef(f)},"3zoK":function(k,B,d){var w=d("bYtY"),A=d("bLfw"),b=d("KCsZ"),g=d("nkfE"),v=d("OELB"),f=d("ICMv"),l=A.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return b([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(n){var i=this.activeIntervals=w.clone(n);if(i)for(var r=i.length-1;r>=0;r--)v.asc(i[r])},getActiveState:function(n){var i=this.activeIntervals;if(!i.length)return"normal";if(n==null||isNaN(n))return"inactive";if(i.length===1){var r=i[0];if(r[0]<=n&&n<=r[1])return"active"}else for(var s=0,t=i.length;s<t;s++)if(i[s][0]<=n&&n<=i[s][1])return"active";return"inactive"}}),u={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};w.merge(l.prototype,f);function o(n,i){return i.type||(i.data?"category":"value")}g("parallel",l,o,u);var e=l;k.exports=e},"4Feb":function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=d("IwbS"),v=d("x3X8"),f=v.getDefaultLabel,l=d("MwEJ"),u=d("nVfU"),o=u.getLayoutOnAxis,e=d("gPAo"),n=d("T4UG"),i=d("Qxkt"),r=d("6Ic6"),s=d("sK/D"),t=s.createClipPath,a=d("qj72"),c=d("ANjR"),h=d("MHtr"),p=d("6usn"),m=d("Rx6q"),S=g.CACHED_LABEL_STYLE_PROPERTIES,y=["itemStyle"],x=["emphasis","itemStyle"],C=["label"],T=["emphasis","label"],_="e\0\0",E={cartesian2d:a,geo:c,singleAxis:h,polar:p,calendar:m};n.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,se){return l(this.getSource(),this)},getDataParams:function(ie,se,he){var pe=n.prototype.getDataParams.apply(this,arguments);return he&&(pe.info=he.info),pe}}),r.extend({type:"custom",_data:null,render:function(ie,se,he,pe){var _e=this._data,De=ie.getData(),Xe=this.group,J=F(ie,De,se,he);De.diff(_e).add(function(qe){P(null,qe,J(qe,pe),ie,Xe,De)}).update(function(qe,ae){var V=_e.getItemGraphicEl(ae);P(V,qe,J(qe,pe),ie,Xe,De)}).remove(function(qe){var ae=_e.getItemGraphicEl(qe);ae&&Xe.remove(ae)}).execute();var Ee=ie.get("clip",!0)?t(ie.coordinateSystem,!1,ie):null;Ee?Xe.setClipPath(Ee):Xe.removeClipPath(),this._data=De},incrementalPrepareRender:function(ie,se,he){this.group.removeAll(),this._data=null},incrementalRender:function(ie,se,he,pe,_e){var De=se.getData(),Xe=F(se,De,he,pe);function J(ae){ae.isGroup||(ae.incremental=!0,ae.useHoverLayer=!0)}for(var Ee=ie.start;Ee<ie.end;Ee++){var qe=P(null,Ee,Xe(Ee,_e),se,this.group,De);qe.traverse(J)}},dispose:b.noop,filterForExposedEvent:function(ie,se,he,pe){var _e=se.element;if(_e==null||he.name===_e)return!0;for(;(he=he.parent)&&he!==this.group;)if(he.name===_e)return!0;return!1}});function I(ie){var se=ie.type,he;if(se==="path"){var pe=ie.shape,_e=pe.width!=null&&pe.height!=null?{x:pe.x||0,y:pe.y||0,width:pe.width,height:pe.height}:null,De=Y(pe);he=g.makePath(De,null,_e,pe.layout||"center"),he.__customPathData=De}else if(se==="image")he=new g.Image({}),he.__customImagePath=ie.style.image;else if(se==="text")he=new g.Text({}),he.__customText=ie.style.text;else if(se==="group")he=new g.Group;else{if(se==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var Xe=g.getShapeClass(se);he=new Xe}return he.__customGraphicType=se,he.name=ie.name,he}function L(ie,se,he,pe,_e,De,Xe){var J={},Ee=he.style||{};if(he.shape&&(J.shape=b.clone(he.shape)),he.position&&(J.position=he.position.slice()),he.scale&&(J.scale=he.scale.slice()),he.origin&&(J.origin=he.origin.slice()),he.rotation&&(J.rotation=he.rotation),ie.type==="image"&&he.style){var qe=J.style={};b.each(["x","y","width","height"],function(X){D(X,qe,Ee,ie.style,De)})}if(ie.type==="text"&&he.style){var qe=J.style={};b.each(["x","y"],function(Z){D(Z,qe,Ee,ie.style,De)}),!Ee.hasOwnProperty("textFill")&&Ee.fill&&(Ee.textFill=Ee.fill),!Ee.hasOwnProperty("textStroke")&&Ee.stroke&&(Ee.textStroke=Ee.stroke)}if(ie.type!=="group"&&(ie.useStyle(Ee),De)){ie.style.opacity=0;var ae=Ee.opacity;ae==null&&(ae=1),g.initProps(ie,{style:{opacity:ae}},pe,se)}De?ie.attr(J):g.updateProps(ie,J,pe,se),he.hasOwnProperty("z2")&&ie.attr("z2",he.z2||0),he.hasOwnProperty("silent")&&ie.attr("silent",he.silent),he.hasOwnProperty("invisible")&&ie.attr("invisible",he.invisible),he.hasOwnProperty("ignore")&&ie.attr("ignore",he.ignore),he.hasOwnProperty("info")&&ie.attr("info",he.info);var V=he.styleEmphasis;g.setElementHoverStyle(ie,V),Xe&&g.setAsHighDownDispatcher(ie,V!==!1)}function D(ie,se,he,pe,_e){he[ie]!=null&&!_e&&(se[ie]=he[ie],he[ie]=pe[ie])}function F(ie,se,he,pe){var _e=ie.get("renderItem"),De=ie.coordinateSystem,Xe={};De&&(Xe=De.prepareCustoms?De.prepareCustoms():E[De.type](De));var J=b.defaults({getWidth:pe.getWidth,getHeight:pe.getHeight,getZr:pe.getZr,getDevicePixelRatio:pe.getDevicePixelRatio,value:Se,style:me,styleEmphasis:$,visual:we,barLayout:xe,currentSeriesIndices:We,font:st},Xe.api||{}),Ee={context:{},seriesId:ie.id,seriesName:ie.name,seriesIndex:ie.seriesIndex,coordSys:Xe.coordSys,dataInsideLength:se.count(),encode:N(ie.getData())},qe,ae=!0,V,X,Z,ge;return function(nt,Ne){return qe=nt,ae=!0,_e&&_e(b.defaults({dataIndexInside:nt,dataIndex:se.getRawIndex(nt),actionType:Ne?Ne.type:null},Ee),J)};function le(nt){nt==null&&(nt=qe),ae&&(V=se.getItemModel(nt),X=V.getModel(C),Z=V.getModel(T),ge=se.getItemVisual(nt,"color"),ae=!1)}function Se(nt,Ne){return Ne==null&&(Ne=qe),se.get(se.getDimension(nt||0),Ne)}function me(nt,Ne){Ne==null&&(Ne=qe),le(Ne);var St=V.getModel(y).getItemStyle();ge!=null&&(St.fill=ge);var Ye=se.getItemVisual(Ne,"opacity");Ye!=null&&(St.opacity=Ye);var vt=nt?U(nt,X):X;return g.setTextStyle(St,vt,null,{autoColor:ge,isRectText:!0}),St.text=vt.getShallow("show")?b.retrieve2(ie.getFormattedLabel(Ne,"normal"),f(se,Ne)):null,nt&&G(St,nt),St}function $(nt,Ne){Ne==null&&(Ne=qe),le(Ne);var St=V.getModel(x).getItemStyle(),Ye=nt?U(nt,Z):Z;return g.setTextStyle(St,Ye,null,{isRectText:!0},!0),St.text=Ye.getShallow("show")?b.retrieve3(ie.getFormattedLabel(Ne,"emphasis"),ie.getFormattedLabel(Ne,"normal"),f(se,Ne)):null,nt&&G(St,nt),St}function we(nt,Ne){return Ne==null&&(Ne=qe),se.getItemVisual(Ne,nt)}function xe(nt){if(De.getBaseAxis){var Ne=De.getBaseAxis();return o(b.defaults({axis:Ne},nt),pe)}}function We(){return he.getCurrentSeriesIndices()}function st(nt){return g.getFont(nt,he)}}function N(ie){var se={};return b.each(ie.dimensions,function(he,pe){var _e=ie.getDimensionInfo(he);if(!_e.isExtraCoord){var De=_e.coordDim,Xe=se[De]=se[De]||[];Xe[_e.coordDimIndex]=pe}}),se}function P(ie,se,he,pe,_e,De){return ie=W(ie,se,he,pe,_e,De,!0),ie&&De.setItemGraphicEl(se,ie),ie}function W(ie,se,he,pe,_e,De,Xe){var J=!he;he=he||{};var Ee=he.type,qe=he.shape,ae=he.style;if(ie&&(J||Ee!=null&&Ee!==ie.__customGraphicType||Ee==="path"&&q(qe)&&Y(qe)!==ie.__customPathData||Ee==="image"&&oe(ae,"image")&&ae.image!==ie.__customImagePath||Ee==="text"&&oe(qe,"text")&&ae.text!==ie.__customText)&&(_e.remove(ie),ie=null),J)return;var V=!ie;return!ie&&(ie=I(he)),L(ie,se,he,pe,De,V,Xe),Ee==="group"&&R(ie,se,he,pe,De),_e.add(ie),ie}function R(ie,se,he,pe,_e){var De=he.children,Xe=De?De.length:0,J=he.$mergeChildren,Ee=J==="byName"||he.diffChildrenByName,qe=J===!1;if(!Xe&&!Ee&&!qe)return;if(Ee){j({oldChildren:ie.children()||[],newChildren:De||[],dataIndex:se,animatableModel:pe,group:ie,data:_e});return}qe&&ie.removeAll();for(var ae=0;ae<Xe;ae++)De[ae]&&W(ie.childAt(ae),se,De[ae],pe,ie,_e)}function j(ie){new e(ie.oldChildren,ie.newChildren,H,H,ie).add(K).update(K).remove(z).execute()}function H(ie,se){var he=ie&&ie.name;return he!=null?he:_+se}function K(ie,se){var he=this.context,pe=ie!=null?he.newChildren[ie]:null,_e=se!=null?he.oldChildren[se]:null;W(_e,he.dataIndex,pe,he.animatableModel,he.group,he.data)}function U(ie,se){var he=new i({},se);return b.each(S,function(pe,_e){ie.hasOwnProperty(pe)&&(he.option[_e]=ie[pe])}),he}function G(ie,se){for(var he in se)(se.hasOwnProperty(he)||!S.hasOwnProperty(he))&&(ie[he]=se[he])}function z(ie){var se=this.context,he=se.oldChildren[ie];he&&se.group.remove(he)}function Y(ie){return ie&&(ie.pathData||ie.d)}function q(ie){return ie&&(ie.hasOwnProperty("pathData")||ie.hasOwnProperty("d"))}function oe(ie,se){return ie&&ie.hasOwnProperty(se)}},"4HMb":function(k,B,d){var w=d("bYtY"),A=d("6GrX"),b=d("4NO4"),g=b.makeInner,v=d("aX7z"),f=v.makeLabelFormatter,l=v.getOptionCategoryInterval,u=v.shouldShowAllLabels,o=g();function e(C){return C.type==="category"?i(C):t(C)}function n(C,T){return C.type==="category"?s(C,T):{ticks:C.scale.getTicks()}}function i(C){var T=C.getLabelModel(),_=r(C,T);return!T.get("show")||C.scale.isBlank()?{labels:[],labelCategoryInterval:_.labelCategoryInterval}:_}function r(C,T){var _=a(C,"labels"),E=l(T),I=c(_,E);if(I)return I;var L,D;return w.isFunction(E)?L=x(C,E):(D=E==="auto"?p(C):E,L=y(C,D)),h(_,E,{labels:L,labelCategoryInterval:D})}function s(C,T){var _=a(C,"ticks"),E=l(T),I=c(_,E);if(I)return I;var L,D;if((!T.get("show")||C.scale.isBlank())&&(L=[]),w.isFunction(E))L=x(C,E,!0);else if(E==="auto"){var F=r(C,C.getLabelModel());D=F.labelCategoryInterval,L=w.map(F.labels,function(N){return N.tickValue})}else D=E,L=y(C,D,!0);return h(_,E,{ticks:L,tickCategoryInterval:D})}function t(C){var T=C.scale.getTicks(),_=f(C);return{labels:w.map(T,function(E,I){return{formattedLabel:_(E,I),rawLabel:C.scale.getLabel(E),tickValue:E}})}}function a(C,T){return o(C)[T]||(o(C)[T]=[])}function c(C,T){for(var _=0;_<C.length;_++)if(C[_].key===T)return C[_].value}function h(C,T,_){return C.push({key:T,value:_}),_}function p(C){var T=o(C).autoInterval;return T!=null?T:o(C).autoInterval=C.calculateCategoryInterval()}function m(C){var T=S(C),_=f(C),E=(T.axisRotate-T.labelRotate)/180*Math.PI,I=C.scale,L=I.getExtent(),D=I.count();if(L[1]-L[0]<1)return 0;var F=1;D>40&&(F=Math.max(1,Math.floor(D/40)));for(var N=L[0],P=C.dataToCoord(N+1)-C.dataToCoord(N),W=Math.abs(P*Math.cos(E)),R=Math.abs(P*Math.sin(E)),j=0,H=0;N<=L[1];N+=F){var K=0,U=0,G=A.getBoundingRect(_(N),T.font,"center","top");K=G.width*1.3,U=G.height*1.3,j=Math.max(j,K,7),H=Math.max(H,U,7)}var z=j/W,Y=H/R;isNaN(z)&&(z=Infinity),isNaN(Y)&&(Y=Infinity);var q=Math.max(0,Math.floor(Math.min(z,Y))),oe=o(C.model),ie=C.getExtent(),se=oe.lastAutoInterval,he=oe.lastTickCount;return se!=null&&he!=null&&Math.abs(se-q)<=1&&Math.abs(he-D)<=1&&se>q&&oe.axisExtend0===ie[0]&&oe.axisExtend1===ie[1]?q=se:(oe.lastTickCount=D,oe.lastAutoInterval=q,oe.axisExtend0=ie[0],oe.axisExtend1=ie[1]),q}function S(C){var T=C.getLabelModel();return{axisRotate:C.getRotate?C.getRotate():C.isHorizontal&&!C.isHorizontal()?90:0,labelRotate:T.get("rotate")||0,font:T.getFont()}}function y(C,T,_){var E=f(C),I=C.scale,L=I.getExtent(),D=C.getLabelModel(),F=[],N=Math.max((T||0)+1,1),P=L[0],W=I.count();P!==0&&N>1&&W/N>2&&(P=Math.round(Math.ceil(P/N)*N));var R=u(C),j=D.get("showMinLabel")||R,H=D.get("showMaxLabel")||R;j&&P!==L[0]&&U(L[0]);for(var K=P;K<=L[1];K+=N)U(K);H&&K-N!==L[1]&&U(L[1]);function U(G){F.push(_?G:{formattedLabel:E(G),rawLabel:I.getLabel(G),tickValue:G})}return F}function x(C,T,_){var E=C.scale,I=f(C),L=[];return w.each(E.getTicks(),function(D){var F=E.getLabel(D);T(D,F)&&L.push(_?D:{formattedLabel:I(D),rawLabel:F,tickValue:D})}),L}B.createAxisLabels=e,B.createAxisTicks=n,B.calculateCategoryInterval=m},"4NO4":function(k,B,d){var w=d("bYtY"),A=d("ItGF"),b=w.each,g=w.isObject,v=w.isArray,f="series\0";function l(_){return _ instanceof Array?_:_==null?[]:[_]}function u(_,E,I){if(_){_[E]=_[E]||{},_.emphasis=_.emphasis||{},_.emphasis[E]=_.emphasis[E]||{};for(var L=0,D=I.length;L<D;L++){var F=I[L];!_.emphasis[E].hasOwnProperty(F)&&_[E].hasOwnProperty(F)&&(_.emphasis[E][F]=_[E][F])}}}var o=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function e(_){return g(_)&&!v(_)&&!(_ instanceof Date)?_.value:_}function n(_){return g(_)&&!(_ instanceof Array)}function i(_,E){E=(E||[]).slice();var I=w.map(_||[],function(L,D){return{exist:L}});return b(E,function(L,D){if(!g(L))return;for(var F=0;F<I.length;F++)if(!I[F].option&&L.id!=null&&I[F].exist.id===L.id+""){I[F].option=L,E[D]=null;return}for(var F=0;F<I.length;F++){var N=I[F].exist;if(!I[F].option&&(N.id==null||L.id==null)&&L.name!=null&&!t(L)&&!t(N)&&N.name===L.name+""){I[F].option=L,E[D]=null;return}}}),b(E,function(L,D){if(!g(L))return;for(var F=0;F<I.length;F++){var N=I[F].exist;if(!I[F].option&&!t(N)&&L.id==null){I[F].option=L;break}}F>=I.length&&I.push({option:L})}),I}function r(_){var E=w.createHashMap();b(_,function(I,L){var D=I.exist;D&&E.set(D.id,I)}),b(_,function(I,L){var D=I.option;w.assert(!D||D.id==null||!E.get(D.id)||E.get(D.id)===I,"id duplicates: "+(D&&D.id)),D&&D.id!=null&&E.set(D.id,I),!I.keyInfo&&(I.keyInfo={})}),b(_,function(I,L){var D=I.exist,F=I.option,N=I.keyInfo;if(!g(F))return;if(N.name=F.name!=null?F.name+"":D?D.name:f+L,D)N.id=D.id;else if(F.id!=null)N.id=F.id+"";else{var P=0;do N.id="\0"+N.name+"\0"+P++;while(E.get(N.id))}E.set(N.id,I)})}function s(_){var E=_.name;return!!(E&&E.indexOf(f))}function t(_){return g(_)&&_.id&&(_.id+"").indexOf("\0_ec_\0")===0}function a(_,E){var I={},L={};return D(_||[],I),D(E||[],L,I),[F(I),F(L)];function D(N,P,W){for(var R=0,j=N.length;R<j;R++)for(var H=N[R].seriesId,K=l(N[R].dataIndex),U=W&&W[H],G=0,z=K.length;G<z;G++){var Y=K[G];U&&U[Y]?U[Y]=null:(P[H]||(P[H]={}))[Y]=1}}function F(N,P){var W=[];for(var R in N)if(N.hasOwnProperty(R)&&N[R]!=null)if(P)W.push(+R);else{var j=F(N[R],!0);j.length&&W.push({seriesId:R,dataIndex:j})}return W}}function c(_,E){if(E.dataIndexInside!=null)return E.dataIndexInside;if(E.dataIndex!=null)return w.isArray(E.dataIndex)?w.map(E.dataIndex,function(I){return _.indexOfRawIndex(I)}):_.indexOfRawIndex(E.dataIndex);if(E.name!=null)return w.isArray(E.name)?w.map(E.name,function(I){return _.indexOfName(I)}):_.indexOfName(E.name)}function h(){var _="__\0ec_inner_"+p+++"_"+Math.random().toFixed(5);return function(E){return E[_]||(E[_]={})}}var p=0;function m(_,E,I){if(w.isString(E)){var L={};L[E+"Index"]=0,E=L}var D=I&&I.defaultMainType;D&&!S(E,D+"Index")&&!S(E,D+"Id")&&!S(E,D+"Name")&&(E[D+"Index"]=0);var F={};return b(E,function(N,P){var N=E[P];if(P==="dataIndex"||P==="dataIndexInside"){F[P]=N;return}var W=P.match(/^(\w+)(Index|Id|Name)$/)||[],R=W[1],j=(W[2]||"").toLowerCase();if(!R||!j||N==null||j==="index"&&N==="none"||I&&I.includeMainTypes&&w.indexOf(I.includeMainTypes,R)<0)return;var H={mainType:R};(j!=="index"||N!=="all")&&(H[j]=N);var K=_.queryComponents(H);F[R+"Models"]=K,F[R+"Model"]=K[0]}),F}function S(_,E){return _&&_.hasOwnProperty(E)}function y(_,E,I){_.setAttribute?_.setAttribute(E,I):_[E]=I}function x(_,E){return _.getAttribute?_.getAttribute(E):_[E]}function C(_){return _==="auto"?A.domSupported?"html":"richText":_||"html"}function T(_,E){var I=w.createHashMap(),L=[];return w.each(_,function(D){var F=E(D);(I.get(F)||(L.push(F),I.set(F,[]))).push(D)}),{keys:L,buckets:I}}B.normalizeToArray=l,B.defaultEmphasis=u,B.TEXT_STYLE_OPTIONS=o,B.getDataItemValue=e,B.isDataItemOption=n,B.mappingToExists=i,B.makeIdAndName=r,B.isNameSpecified=s,B.isIdInner=t,B.compressBatches=a,B.queryDataIndex=c,B.makeInner=h,B.parseFinder=m,B.setAttribute=y,B.getAttribute=x,B.getTooltipRenderMode=C,B.groupData=T},"4NgU":function(k,B,d){var w=d("Yl7c");function A(g){this._setting=g||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}A.prototype.parse=function(g){return g},A.prototype.getSetting=function(g){return this._setting[g]},A.prototype.contain=function(g){var v=this._extent;return g>=v[0]&&g<=v[1]},A.prototype.normalize=function(g){var v=this._extent;return v[1]===v[0]?.5:(g-v[0])/(v[1]-v[0])},A.prototype.scale=function(g){var v=this._extent;return g*(v[1]-v[0])+v[0]},A.prototype.unionExtent=function(g){var v=this._extent;g[0]<v[0]&&(v[0]=g[0]),g[1]>v[1]&&(v[1]=g[1])},A.prototype.unionExtentFromData=function(g,v){this.unionExtent(g.getApproximateExtent(v))},A.prototype.getExtent=function(){return this._extent.slice()},A.prototype.setExtent=function(g,v){var f=this._extent;isNaN(g)||(f[0]=g),isNaN(v)||(f[1]=v)},A.prototype.isBlank=function(){return this._isBlank},A.prototype.setBlank=function(g){this._isBlank=g},A.prototype.getLabel=null,w.enableClassExtend(A),w.enableClassManagement(A,{registerWhenExtend:!0});var b=A;k.exports=b},"4fz+":function(k,B,d){var w=d("bYtY"),A=d("1bdT"),b=d("mFDi"),g=function(l){l=l||{},A.call(this,l);for(var u in l)l.hasOwnProperty(u)&&(this[u]=l[u]);this._children=[],this.__storage=null,this.__dirty=!0};g.prototype={constructor:g,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(l){return this._children[l]},childOfName:function(l){for(var u=this._children,o=0;o<u.length;o++)if(u[o].name===l)return u[o]},childCount:function(){return this._children.length},add:function(l){return l&&l!==this&&l.parent!==this&&(this._children.push(l),this._doAdd(l)),this},addBefore:function(l,u){if(l&&l!==this&&l.parent!==this&&u&&u.parent===this){var o=this._children,e=o.indexOf(u);e>=0&&(o.splice(e,0,l),this._doAdd(l))}return this},_doAdd:function(l){l.parent&&l.parent.remove(l),l.parent=this;var u=this.__storage,o=this.__zr;u&&u!==l.__storage&&(u.addToStorage(l),l instanceof g&&l.addChildrenToStorage(u)),o&&o.refresh()},remove:function(l){var u=this.__zr,o=this.__storage,e=this._children,n=w.indexOf(e,l);return n<0?this:(e.splice(n,1),l.parent=null,o&&(o.delFromStorage(l),l instanceof g&&l.delChildrenFromStorage(o)),u&&u.refresh(),this)},removeAll:function(){var l=this._children,u=this.__storage,o,e;for(e=0;e<l.length;e++)o=l[e],u&&(u.delFromStorage(o),o instanceof g&&o.delChildrenFromStorage(u)),o.parent=null;return l.length=0,this},eachChild:function(l,u){for(var o=this._children,e=0;e<o.length;e++){var n=o[e];l.call(u,n,e)}return this},traverse:function(l,u){for(var o=0;o<this._children.length;o++){var e=this._children[o];l.call(u,e),e.type==="group"&&e.traverse(l,u)}return this},addChildrenToStorage:function(l){for(var u=0;u<this._children.length;u++){var o=this._children[u];l.addToStorage(o),o instanceof g&&o.addChildrenToStorage(l)}},delChildrenFromStorage:function(l){for(var u=0;u<this._children.length;u++){var o=this._children[u];l.delFromStorage(o),o instanceof g&&o.delChildrenFromStorage(l)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(l){for(var u=null,o=new b(0,0,0,0),e=l||this._children,n=[],i=0;i<e.length;i++){var r=e[i];if(r.ignore||r.invisible)continue;var s=r.getBoundingRect(),t=r.getLocalTransform(n);t?(o.copy(s),o.applyTransform(t),u=u||o.clone(),u.union(o)):(u=u||s.clone(),u.union(s))}return u||o}},w.inherits(g,A);var v=g;k.exports=v},"4mN7":function(k,B,d){var w=d("QBsz"),A=d("Sj9i"),b=Math.min,g=Math.max,v=Math.sin,f=Math.cos,l=Math.PI*2,u=w.create(),o=w.create(),e=w.create();function n(h,p,m){if(h.length===0)return;var S=h[0],y=S[0],x=S[0],C=S[1],T=S[1],_;for(_=1;_<h.length;_++)S=h[_],y=b(y,S[0]),x=g(x,S[0]),C=b(C,S[1]),T=g(T,S[1]);p[0]=y,p[1]=C,m[0]=x,m[1]=T}function i(h,p,m,S,y,x){y[0]=b(h,m),y[1]=b(p,S),x[0]=g(h,m),x[1]=g(p,S)}var r=[],s=[];function t(h,p,m,S,y,x,C,T,_,E){var I=A.cubicExtrema,L=A.cubicAt,D,F=I(h,m,y,C,r);for(_[0]=Infinity,_[1]=Infinity,E[0]=-Infinity,E[1]=-Infinity,D=0;D<F;D++){var N=L(h,m,y,C,r[D]);_[0]=b(N,_[0]),E[0]=g(N,E[0])}for(F=I(p,S,x,T,s),D=0;D<F;D++){var P=L(p,S,x,T,s[D]);_[1]=b(P,_[1]),E[1]=g(P,E[1])}_[0]=b(h,_[0]),E[0]=g(h,E[0]),_[0]=b(C,_[0]),E[0]=g(C,E[0]),_[1]=b(p,_[1]),E[1]=g(p,E[1]),_[1]=b(T,_[1]),E[1]=g(T,E[1])}function a(h,p,m,S,y,x,C,T){var _=A.quadraticExtremum,E=A.quadraticAt,I=g(b(_(h,m,y),1),0),L=g(b(_(p,S,x),1),0),D=E(h,m,y,I),F=E(p,S,x,L);C[0]=b(h,y,D),C[1]=b(p,x,F),T[0]=g(h,y,D),T[1]=g(p,x,F)}function c(h,p,m,S,y,x,C,T,_){var E=w.min,I=w.max,L=Math.abs(y-x);if(L%l<1e-4&&L>1e-4){T[0]=h-m,T[1]=p-S,_[0]=h+m,_[1]=p+S;return}if(u[0]=f(y)*m+h,u[1]=v(y)*S+p,o[0]=f(x)*m+h,o[1]=v(x)*S+p,E(T,u,o),I(_,u,o),y=y%l,y<0&&(y=y+l),x=x%l,x<0&&(x=x+l),y>x&&!C?x+=l:y<x&&C&&(y+=l),C){var D=x;x=y,y=D}for(var F=0;F<x;F+=Math.PI/2)F>y&&(e[0]=f(F)*m+h,e[1]=v(F)*S+p,E(T,e,T),I(_,e,_))}B.fromPoints=n,B.fromLine=i,B.fromCubic=t,B.fromQuadratic=a,B.fromArc=c},"56rv":function(k,B,d){var w=d("IwbS"),A=d("x3X8"),b=A.getDefaultLabel;function g(f,l,u,o,e,n,i){var r=u.getModel("label"),s=u.getModel("emphasis.label");w.setLabelStyle(f,l,r,s,{labelFetcher:e,labelDataIndex:n,defaultText:b(e.getData(),n),isRectText:!0,autoColor:o}),v(f),v(l)}function v(f,l){f.textPosition==="outside"&&(f.textPosition=l)}B.setLabel=g},"59Ip":function(k,B,d){var w=d("Sj9i");function A(b,g,v,f,l,u,o,e,n,i,r){if(n===0)return!1;var s=n;if(r>g+s&&r>f+s&&r>u+s&&r>e+s||r<g-s&&r<f-s&&r<u-s&&r<e-s||i>b+s&&i>v+s&&i>l+s&&i>o+s||i<b-s&&i<v-s&&i<l-s&&i<o-s)return!1;var t=w.cubicProjectPoint(b,g,v,f,l,u,o,e,i,r,null);return t<=s/2}B.containStroke=A},"5Dmo":function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("5YgA"),g=d.n(b)},"5GOC":function(k,B,d){"use strict";var w=d("cIOH"),A=d("b56q"),b=d("15/o")},"5GhG":function(k,B,d){var w=d("5GtS"),A=d("bYtY"),b=d("L0Ub"),g=b.getDimensionTypeByAxis,v=d("D5nY"),f=v.makeSeriesEncodeForAxisCoordSys,l={_baseAxisDim:null,getInitialData:function(u,o){var e,n=o.getComponent("xAxis",this.get("xAxisIndex")),i=o.getComponent("yAxis",this.get("yAxisIndex")),r=n.get("type"),s=i.get("type"),t;r==="category"?(u.layout="horizontal",e=n.getOrdinalMeta(),t=!0):s==="category"?(u.layout="vertical",e=i.getOrdinalMeta(),t=!0):u.layout=u.layout||"horizontal";var a=["x","y"],c=u.layout==="horizontal"?0:1,h=this._baseAxisDim=a[c],p=a[1-c],m=[n,i],S=m[c].get("type"),y=m[1-c].get("type"),x=u.data;if(x&&t){var C=[];A.each(x,function(E,I){var L;E.value&&A.isArray(E.value)?(L=E.value.slice(),E.value.unshift(I)):A.isArray(E)?(L=E.slice(),E.unshift(I)):L=E,C.push(L)}),u.data=C}var T=this.defaultValueDimensions,_=[{name:h,type:g(S),ordinalMeta:e,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:p,type:g(y),dimsDef:T.slice()}];return w(this,{coordDimensions:_,dimensionsCount:T.length+1,encodeDefaulter:A.curry(f,_,this)})},getBaseAxis:function(){var u=this._baseAxisDim;return this.ecModel.getComponent(u+"Axis",this.get(u+"AxisIndex")).axis}};B.seriesModelMixin=l},"5GtS":function(k,B,d){var w=d("sdST"),A=d("YXkt"),b=d("bYtY"),g=b.extend,v=b.isArray;function f(l,u,o){u=v(u)&&{coordDimensions:u}||g({},u);var e=l.getSource(),n=w(e,u),i=new A(n,l);return i.initData(e,o),i}k.exports=f},"5Hur":function(k,B,d){var w=d("4NO4"),A=w.makeInner,b=w.normalizeToArray,g=A();function v(l,u){for(var o=l.length,e=0;e<o;e++)if(l[e].length>u)return l[e];return l[o-1]}var f={clearColorPalette:function(){g(this).colorIdx=0,g(this).colorNameMap={}},getColorFromPalette:function(l,u,o){u=u||this;var e=g(u),n=e.colorIdx||0,i=e.colorNameMap=e.colorNameMap||{};if(i.hasOwnProperty(l))return i[l];var r=b(this.get("color",!0)),s=this.get("colorLayer",!0),t=o==null||!s?r:v(s,o);if(t=t||r,!t||!t.length)return;var a=t[n];return l&&(i[l]=a),e.colorIdx=(n+1)%t.length,a}};k.exports=f},"5NDa":function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("OnYD"),g=d.n(b),v=d("+L6B")},"5NHt":function(k,B,d){d("aTJb"),d("OlYY"),d("fc+c"),d("N5BQ"),d("IyUQ"),d("LBfv"),d("noeP")},"5OYt":function(k,B,d){"use strict";var w=d("ODXe"),A=d("q1tI"),b=d.n(A),g=d("ACnJ");function v(){var f=Object(A.useState)({}),l=Object(w.a)(f,2),u=l[0],o=l[1];return Object(A.useEffect)(function(){var e=g.a.subscribe(function(n){o(n)});return function(){return g.a.unsubscribe(e)}},[]),u}B.a=v},"5RzL":function(k,B,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),g=d("1OyB"),v=d("vuIU"),f=d("Ji7U"),l=d("LK+K"),u=d("KQm4"),o=d("U8pU"),e=d("ODXe"),n=d("VTBJ"),i=d("qNPg"),r=d("2Qr1"),s=d("815F"),t=d("NvD2"),a=d("wPlo"),c=d("6cGi"),h=d("Kwbf"),p=d("4IlW"),m=d("YrtM"),S=d("fAei"),y=b.createContext(null);function x(te,Q){if(!te)return!0;var Me=te.data,Ce=Me.disabled,ue=Me.disableCheckbox;switch(Q){case"select":return Ce;case"checkbox":return Ce||ue}return!1}function C(te,Q){var Me=b.useCallback(function(ue){var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",rt=arguments.length>2?arguments[2]:void 0,Ue=te.get(ue);return!rt&&x(Ue,ot)?null:Ue},[te]),Ce=b.useCallback(function(ue){var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",rt=arguments.length>2?arguments[2]:void 0,Ue=Q.get(ue);return!rt&&x(Ue,ot)?null:Ue},[Q]);return[Me,Ce]}function T(te){return b.useMemo(function(){var Q=new Map,Me=new Map;return te.forEach(function(Ce){Q.set(Ce.key,Ce),Me.set(Ce.data.value,Ce)}),[Q,Me]},[te])}var _={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},E=function(Q,Me){var Ce=Q.prefixCls,ue=Q.height,ot=Q.itemHeight,rt=Q.virtual,Ue=Q.options,Ge=Q.flattenOptions,tt=Q.multiple,Wt=Q.searchValue,jt=Q.onSelect,Yt=Q.onToggleOpen,Tt=Q.open,Rt=Q.notFoundContent,yt=Q.onMouseEnter,Jt=b.useContext(y),Lr=Jt.checkable,zr=Jt.checkedKeys,rn=Jt.halfCheckedKeys,ei=Jt.treeExpandedKeys,fn=Jt.treeDefaultExpandAll,Zr=Jt.treeDefaultExpandedKeys,bt=Jt.onTreeExpand,ut=Jt.treeIcon,Oe=Jt.showTreeIcon,be=Jt.switcherIcon,Fe=Jt.treeLine,it=Jt.treeNodeFilterProp,wt=Jt.loadData,nr=Jt.treeLoadedKeys,sr=Jt.treeMotion,Ar=Jt.onTreeLoad,Hr=b.useRef(),$r=Object(m.a)(function(){return Ue},[Tt,Ue],function($t,er){return er[0]&&$t[1]!==er[1]}),Qt=T(Ge),Ot=Object(e.a)(Qt,2),Ft=Ot[0],pr=Ot[1],Rr=C(Ft,pr),Pr=Object(e.a)(Rr,2),an=Pr[0],Xt=Pr[1],hr=b.useMemo(function(){return zr.map(function($t){var er=Xt($t);return er?er.key:null})},[zr,Xt]),Tr=b.useMemo(function(){return Lr?{checked:hr,halfChecked:rn}:null},[hr,rn,Lr]);b.useEffect(function(){if(Tt&&!tt&&hr.length){var $t;($t=Hr.current)===null||$t===void 0||$t.scrollTo({key:hr[0]})}},[Tt]);var Wr=String(Wt).toLowerCase(),Gr=function(er){return Wr?String(er[it]).toLowerCase().includes(Wr):!1},Tn=b.useState(Zr),gn=Object(e.a)(Tn,2),In=gn[0],Fn=gn[1],Xn=b.useState(null),fi=Object(e.a)(Xn,2),pi=fi[0],bi=fi[1],et=b.useMemo(function(){return ei?Object(u.a)(ei):Wt?pi:In},[In,pi,Wr,ei]);b.useEffect(function(){Wt&&bi(Ge.map(function($t){return $t.key}))},[Wt]);var Le=function(er){Fn(er),bi(er),bt&&bt(er)},Pe=function(er){er.preventDefault()},je=function(er,cr){var Ct=cr.node.key,Nr=an(Ct,Lr?"checkbox":"select");Nr!==null&&jt(Nr.data.value,{selected:!zr.includes(Nr.data.value)}),tt||Yt(!1)},Je=b.useState(null),Ve=Object(e.a)(Je,2),Ze=Ve[0],At=Ve[1],dt=an(Ze);if(b.useImperativeHandle(Me,function(){var $t;return{scrollTo:($t=Hr.current)===null||$t===void 0?void 0:$t.scrollTo,onKeyDown:function(cr){var Ct,Nr=cr.which;switch(Nr){case p.a.UP:case p.a.DOWN:case p.a.LEFT:case p.a.RIGHT:(Ct=Hr.current)===null||Ct===void 0||Ct.onKeyDown(cr);break;case p.a.ENTER:{var Zt=(dt==null?void 0:dt.data)||{},Ir=Zt.selectable,xr=Zt.value;Ir!==!1&&je(null,{node:{key:Ze},selected:!zr.includes(xr)});break}case p.a.ESC:Yt(!1)}},onKeyUp:function(){}}}),$r.length===0)return b.createElement("div",{role:"listbox",className:"".concat(Ce,"-empty"),onMouseDown:Pe},Rt);var Kt={};return nr&&(Kt.loadedKeys=nr),et&&(Kt.expandedKeys=et),b.createElement("div",{onMouseDown:Pe,onMouseEnter:yt},dt&&Tt&&b.createElement("span",{style:_,"aria-live":"assertive"},dt.data.value),b.createElement(S.b,Object(w.a)({ref:Hr,focusable:!1,prefixCls:"".concat(Ce,"-tree"),treeData:$r,height:ue,itemHeight:ot,virtual:rt,multiple:tt,icon:ut,showIcon:Oe,switcherIcon:be,showLine:Fe,loadData:Wt?null:wt,motion:sr,checkable:Lr,checkStrictly:!0,checkedKeys:Tr,selectedKeys:Lr?[]:hr,defaultExpandAll:fn},Kt,{onActiveChange:At,onSelect:je,onCheck:je,onExpand:Le,onLoad:Ar,filterTreeNode:Gr})))},I=b.forwardRef(E);I.displayName="OptionList";var L=I,D=function(){return null},F=D,N=d("Ff2n"),P=d("Zm9Q");function W(te){return Object(P.a)(te).map(function(Q){if(!b.isValidElement(Q)||!Q.type)return null;var Me=Q.key,Ce=Q.props,ue=Ce.children,ot=Ce.value,rt=Object(N.a)(Ce,["children","value"]),Ue=Object(n.a)({key:Me,value:ot},rt),Ge=W(ue);return Ge.length&&(Ue.children=Ge),Ue}).filter(function(Q){return Q})}function R(te){if(!te)return te;var Q=Object(n.a)({},te);return"props"in Q||Object.defineProperty(Q,"props",{get:function(){return Object(h.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Q}}),Q}function j(te,Q,Me,Ce,ue){var ot=null,rt=null;function Ue(){function Ge(tt){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return tt.map(function(Yt,Tt){var Rt="".concat(Wt,"-").concat(Tt),yt=Me.includes(Yt.value),Jt=Ge(Yt.children||[],Rt,yt),Lr=b.createElement(F,Yt,Jt.map(function(rn){return rn.node}));if(Q===Yt.value&&(ot=Lr),yt){var zr={pos:Rt,node:Lr,children:Jt};return jt||rt.push(zr),zr}return null}).filter(function(Yt){return Yt})}rt||(rt=[],Ge(Ce),rt.sort(function(tt,Wt){var jt=tt.node.props.value,Yt=Wt.node.props.value,Tt=Me.indexOf(jt),Rt=Me.indexOf(Yt);return Tt-Rt}))}Object.defineProperty(te,"triggerNode",{get:function(){return Object(h.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Ue(),ot}}),Object.defineProperty(te,"allCheckedNodes",{get:function(){return Object(h.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Ue(),ue?rt:rt.map(function(tt){var Wt=tt.node;return Wt})}})}function H(te){return Array.isArray(te)?te:te!==void 0?[te]:[]}function K(te,Q){var Me=new Map;return Q.forEach(function(Ce){var ue=Ce.data;Me.set(ue.value,ue)}),te.map(function(Ce){return R(Me.get(Ce))})}function U(te,Q){var Me=K([te],Q)[0];return Me?Me.disabled:!1}function G(te){return te.disabled||te.disableCheckbox||te.checkable===!1}function z(te){for(var Q=te.parent,Me=0,Ce=Q;Ce;)Ce=Ce.parent,Me+=1;return Me}function Y(te){function Q(Ce){return(Ce||[]).map(function(ue){var ot=ue.value,rt=ue.key,Ue=ue.children,Ge=Object(n.a)(Object(n.a)({},ue),{},{key:"key"in ue?rt:ot});return Ue&&(Ge.children=Q(Ue)),Ge})}var Me=Object(s.d)(Q(te),!0);return Me.map(function(Ce){return{key:Ce.data.key,data:Ce.data,level:z(Ce)}})}function q(te){return function(Q,Me){var Ce=Me[te];return String(Ce).toLowerCase().includes(String(Q).toLowerCase())}}function oe(te,Q,Me){var Ce=Me.optionFilterProp,ue=Me.filterOption;if(ue===!1)return Q;var ot;typeof ue=="function"?ot=ue:ot=q(Ce);function rt(Ue){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ue.map(function(tt){var Wt=tt.children,jt=Ge||ot(te,R(tt)),Yt=rt(Wt||[],jt);return jt||Yt.length?Object(n.a)(Object(n.a)({},tt),{},{children:Yt}):null}).filter(function(tt){return tt})}return rt(Q)}function ie(te,Q,Me,Ce){var ue=new Map;return H(Q).forEach(function(ot){ot&&Object(o.a)(ot)==="object"&&"value"in ot&&ue.set(ot.value,ot)}),te.map(function(ot){var rt={value:ot},Ue=Me(ot,"select",!0),Ge=Ue?Ce(Ue.data):ot;if(ue.has(ot)){var tt=ue.get(ot);rt.label="label"in tt?tt.label:Ge,"halfChecked"in tt&&(rt.halfChecked=tt.halfChecked)}else rt.label=Ge;return rt})}function se(te,Q){var Me=new Set(te);return Me.add(Q),Array.from(Me)}function he(te,Q){var Me=new Set(te);return Me.delete(Q),Array.from(Me)}function pe(te){var Q=te.searchPlaceholder,Me=te.treeCheckStrictly,Ce=te.treeCheckable,ue=te.labelInValue,ot=te.value,rt=te.multiple;Object(h.a)(!Q,"`searchPlaceholder` has been removed."),Me&&ue===!1&&Object(h.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(ue||Me)&&Object(h.a)(H(ot).every(function(Ue){return Ue&&Object(o.a)(Ue)==="object"&&"value"in Ue}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Me||rt||Ce?Object(h.a)(!ot||Array.isArray(ot),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(h.a)(!Array.isArray(ot),"`value` should not be array when `TreeSelect` is single mode.")}var _e=pe,De=10;function Xe(te,Q){var Me=Q.id,Ce=Q.pId,ue=Q.rootPId,ot={},rt=[],Ue=te.map(function(Ge){var tt=Object(n.a)({},Ge),Wt=tt[Me];return ot[Wt]=tt,tt.key=tt.key||Wt,tt});return Ue.forEach(function(Ge){var tt=Ge[Ce],Wt=ot[tt];Wt&&(Wt.children=Wt.children||[],Wt.children.push(Ge)),(tt===ue||!Wt&&ue===null)&&rt.push(Ge)}),rt}function J(te,Q){var Me=0,Ce=new Set;function ue(ot){return(ot||[]).map(function(rt){var Ue=rt.key,Ge=rt.value,tt=rt.children,Wt=Object(N.a)(rt,["key","value","children"]),jt="value"in rt?Ge:Ue,Yt=Object(n.a)(Object(n.a)({},Wt),{},{key:Ue!=null?Ue:jt,value:jt,title:Q(rt)});return"children"in rt&&(Yt.children=ue(tt)),Yt})}return ue(te)}function Ee(te,Q,Me){var Ce=Me.getLabelProp,ue=Me.simpleMode,ot=b.useRef({});return te?(ot.current.formatTreeData=ot.current.treeData===te?ot.current.formatTreeData:J(ue?Xe(te,Object(n.a)({id:"id",pId:"pId",rootPId:null},ue!==!0?ue:{})):te,Ce),ot.current.treeData=te):ot.current.formatTreeData=ot.current.children===Q?ot.current.formatTreeData:J(W(Q),Ce),ot.current.formatTreeData}var qe="SHOW_ALL",ae="SHOW_PARENT",V="SHOW_CHILD";function X(te,Q,Me){var Ce=new Set(te);return Q===V?te.filter(function(ue){var ot=Me[ue];return!(ot&&ot.children&&ot.children.every(function(rt){var Ue=rt.node;return G(Ue)||Ce.has(Ue.key)}))}):Q===ae?te.filter(function(ue){var ot=Me[ue],rt=ot?ot.parent:null;return!(rt&&!G(rt.node)&&Ce.has(rt.node.key))}):te}function Z(te,Q){var Me=Q.value,Ce=Q.getEntityByValue,ue=Q.getEntityByKey,ot=Q.treeConduction,rt=Q.showCheckedStrategy,Ue=Q.conductKeyEntities,Ge=Q.getLabelProp;return b.useMemo(function(){var tt=te;if(ot){var Wt=X(te.map(function(jt){var Yt=Ce(jt);return Yt?Yt.key:jt}),rt,Ue);tt=Wt.map(function(jt){var Yt=ue(jt);return Yt?Yt.data.value:jt})}return ie(tt,Me,Ce,Ge)},[te,Me,ot,rt,Ce])}var ge=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],le=Object(i.a)({prefixCls:"rc-tree-select",components:{optionList:L},convertChildrenToData:function(){return null},flattenOptions:Y,getLabeledValue:r.e,filterOptions:oe,isValueDisabled:U,findValueOption:K,omitDOMProps:function(Q){var Me=Object(n.a)({},Q);return ge.forEach(function(Ce){delete Me[Ce]}),Me}});le.displayName="Select";var Se=b.forwardRef(function(te,Q){var Me=te.multiple,Ce=te.treeCheckable,ue=te.treeCheckStrictly,ot=te.showCheckedStrategy,rt=ot===void 0?"SHOW_CHILD":ot,Ue=te.labelInValue,Ge=te.loadData,tt=te.treeLoadedKeys,Wt=te.treeNodeFilterProp,jt=Wt===void 0?"value":Wt,Yt=te.treeNodeLabelProp,Tt=te.treeDataSimpleMode,Rt=te.treeData,yt=te.treeExpandedKeys,Jt=te.treeDefaultExpandedKeys,Lr=te.treeDefaultExpandAll,zr=te.children,rn=te.treeIcon,ei=te.showTreeIcon,fn=te.switcherIcon,Zr=te.treeLine,bt=te.treeMotion,ut=te.filterTreeNode,Oe=te.dropdownPopupAlign,be=te.onChange,Fe=te.onTreeExpand,it=te.onTreeLoad,wt=te.onDropdownVisibleChange,nr=te.onSelect,sr=te.onDeselect,Ar=Ce||ue,Hr=Me||Ar,$r=Ce&&!ue,Qt=ue||Ue,Ot=b.useRef(null);b.useImperativeHandle(Q,function(){return{scrollTo:Ot.current.scrollTo,focus:Ot.current.focus,blur:Ot.current.blur}});var Ft=function(Ct){return Rt&&Ct.label||Ct.title},pr=function(Ct){return Yt?Ct[Yt]:Ft(Ct)},Rr=Ee(Rt,zr,{getLabelProp:Ft,simpleMode:Tt}),Pr=Object(b.useMemo)(function(){return Y(Rr)},[Rr]),an=T(Pr),Xt=Object(e.a)(an,2),hr=Xt[0],Tr=Xt[1],Wr=C(hr,Tr),Gr=Object(e.a)(Wr,2),Tn=Gr[0],gn=Gr[1],In=Object(b.useMemo)(function(){return $r?Object(s.a)(Rr):{keyEntities:null}},[Rr,Ce,ue]),Fn=In.keyEntities,Xn=Object(c.a)(te.defaultValue,{value:te.value}),fi=Object(e.a)(Xn,2),pi=fi[0],bi=fi[1],et=function(Ct){var Nr=[],Zt=[];return Ct.forEach(function(Ir){gn(Ir)?Zt.push(Ir):Nr.push(Ir)}),{missingRawValues:Nr,existRawValues:Zt}},Le=Object(b.useMemo)(function(){var cr=[],Ct=[];if(H(pi).forEach(function(Vn){if(Vn&&Object(o.a)(Vn)==="object"&&"value"in Vn)if(Vn.halfChecked&&ue){var Wn=gn(Vn.value);cr.push(Wn?Wn.key:Vn.value)}else Ct.push(Vn.value);else Ct.push(Vn)}),$r){var Nr=et(Ct),Zt=Nr.missingRawValues,Ir=Nr.existRawValues,xr=Ir.map(function(Vn){return gn(Vn).key}),ur=Object(t.a)(xr,!0,Fn),on=ur.checkedKeys,Yn=ur.halfCheckedKeys;return[[].concat(Object(u.a)(Zt),Object(u.a)(on.map(function(Vn){return Tn(Vn).data.value}))),Yn]}return[Ct,cr]},[pi,Hr,Qt,Ce,ue]),Pe=Object(e.a)(Le,2),je=Pe[0],Je=Pe[1],Ve=Z(je,{treeConduction:$r,value:pi,showCheckedStrategy:rt,conductKeyEntities:Fn,getEntityByValue:gn,getEntityByKey:Tn,getLabelProp:pr}),Ze=function(Ct,Nr,Zt){if(bi(Hr?Ct:Ct[0]),be){var Ir=Ct;if($r&&rt!=="SHOW_ALL"){var xr=Ct.map(function(mi){var en=gn(mi);return en?en.key:mi}),ur=X(xr,rt,Fn);Ir=ur.map(function(mi){var en=Tn(mi);return en?en.data.value:mi})}var on=Nr||{triggerValue:void 0,selected:void 0},Yn=on.triggerValue,Vn=on.selected,Wn=Qt?ie(Ir,pi,gn,pr):Ir;if(ue){var jn=Je.map(function(mi){var en=Tn(mi);return en?en.data.value:mi}).filter(function(mi){return!Ir.includes(mi)});Wn=[].concat(Object(u.a)(Wn),Object(u.a)(ie(jn,pi,gn,pr)))}var Gn={preValue:Ve,triggerValue:Yn},Nn=!0;(ue||Zt==="selection"&&!Vn)&&(Nn=!1),j(Gn,Yn,Ct,Rr,Nn),Ar?Gn.checked=Vn:Gn.selected=Vn,be(Hr?Wn:Wn[0],Qt?null:Ir.map(function(mi){var en=gn(mi);return en?pr(en.data):null}),Gn)}},At=function(Ct,Nr,Zt){var Ir=Ct;if(!Hr)Ze([Ct],{selected:!0,triggerValue:Ct},Zt);else{var xr=se(je,Ct);if($r){var ur=et(xr),on=ur.missingRawValues,Yn=ur.existRawValues,Vn=Yn.map(function(Gn){return gn(Gn).key}),Wn=Object(t.a)(Vn,!0,Fn),jn=Wn.checkedKeys;xr=[].concat(Object(u.a)(on),Object(u.a)(jn.map(function(Gn){return Tn(Gn).data.value})))}Ze(xr,{selected:!0,triggerValue:Ct},Zt)}nr&&nr(Ir,Nr)},dt=function(Ct,Nr,Zt){var Ir=Ct,xr=he(je,Ct);if($r){var ur=et(xr),on=ur.missingRawValues,Yn=ur.existRawValues,Vn=Yn.map(function(Gn){return gn(Gn).key}),Wn=Object(t.a)(Vn,{checked:!1,halfCheckedKeys:Je},Fn),jn=Wn.checkedKeys;xr=[].concat(Object(u.a)(on),Object(u.a)(jn.map(function(Gn){return Tn(Gn).data.value})))}Ze(xr,{selected:!1,triggerValue:Ct},Zt),sr&&sr(Ir,Nr)},Kt=function(){Ze([],null,"clear")},$t=b.useCallback(function(cr){if(wt){var Ct={};Object.defineProperty(Ct,"documentClickClose",{get:function(){return Object(h.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),wt(cr,Ct)}},[wt]),er={optionLabelProp:null,optionFilterProp:jt,dropdownAlign:Oe,internalProps:{mark:a.a,onClear:Kt,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:At,onRawDeselect:dt}};return"filterTreeNode"in te&&(er.filterOption=ut),b.createElement(y.Provider,{value:{checkable:Ar,loadData:Ge,treeLoadedKeys:tt,onTreeLoad:it,checkedKeys:je,halfCheckedKeys:Je,treeDefaultExpandAll:Lr,treeExpandedKeys:yt,treeDefaultExpandedKeys:Jt,onTreeExpand:Fe,treeIcon:rn,treeMotion:bt,showTreeIcon:ei,switcherIcon:fn,treeLine:Zr,treeNodeFilterProp:jt}},b.createElement(le,Object(w.a)({ref:Ot,mode:Hr?"multiple":null},te,er,{value:Ve,labelInValue:!0,options:Rr,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:$t})))}),me=function(te){Object(f.a)(Me,te);var Q=Object(l.a)(Me);function Me(){var Ce;return Object(g.a)(this,Me),Ce=Q.apply(this,arguments),Ce.selectRef=b.createRef(),Ce.focus=function(){Ce.selectRef.current.focus()},Ce.blur=function(){Ce.selectRef.current.blur()},Ce}return Object(v.a)(Me,[{key:"render",value:function(){return b.createElement(Se,Object(w.a)({ref:this.selectRef},this.props))}}]),Me}(b.Component);me.TreeNode=F,me.SHOW_ALL=qe,me.SHOW_PARENT=ae,me.SHOW_CHILD=V;var $=me,we=$,xe=d("TSYQ"),We=d.n(xe),st=d("bT9E"),nt=d("H84U"),Ne=d("uaoM"),St=d("1vzs"),Ye=d("2jpz"),vt=d("3Nzz"),It=function(te,Q){var Me={};for(var Ce in te)Object.prototype.hasOwnProperty.call(te,Ce)&&Q.indexOf(Ce)<0&&(Me[Ce]=te[Ce]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Ce=Object.getOwnPropertySymbols(te);ue<Ce.length;ue++)Q.indexOf(Ce[ue])<0&&Object.prototype.propertyIsEnumerable.call(te,Ce[ue])&&(Me[Ce[ue]]=te[Ce[ue]]);return Me},Ut=function(Q,Me){var Ce,ue=Q.prefixCls,ot=Q.size,rt=Q.bordered,Ue=rt===void 0?!0:rt,Ge=Q.className,tt=Q.treeCheckable,Wt=Q.multiple,jt=Q.listHeight,Yt=jt===void 0?256:jt,Tt=Q.listItemHeight,Rt=Tt===void 0?26:Tt,yt=Q.notFoundContent,Jt=Q.switcherIcon,Lr=Q.treeLine,zr=Q.getPopupContainer,rn=Q.dropdownClassName,ei=Q.treeIcon,fn=ei===void 0?!1:ei,Zr=Q.transitionName,bt=Zr===void 0?"slide-up":Zr,ut=Q.choiceTransitionName,Oe=ut===void 0?"":ut,be=It(Q,["prefixCls","size","bordered","className","treeCheckable","multiple","listHeight","listItemHeight","notFoundContent","switcherIcon","treeLine","getPopupContainer","dropdownClassName","treeIcon","transitionName","choiceTransitionName"]),Fe=b.useContext(nt.b),it=Fe.getPopupContainer,wt=Fe.getPrefixCls,nr=Fe.renderEmpty,sr=Fe.direction,Ar=Fe.virtual,Hr=Fe.dropdownMatchSelectWidth,$r=b.useContext(vt.b);Object(Ne.a)(Wt!==!1||!tt,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true");var Qt=wt("select",ue),Ot=wt("select-tree",ue),Ft=wt("tree-select",ue),pr=We()(rn,"".concat(Ft,"-dropdown"),Object(A.a)({},"".concat(Ft,"-dropdown-rtl"),sr==="rtl")),Rr=!!(tt||Wt),Pr=Object(St.a)(Object(w.a)(Object(w.a)({},be),{multiple:Rr,prefixCls:Qt})),an=Pr.suffixIcon,Xt=Pr.removeIcon,hr=Pr.clearIcon,Tr;yt!==void 0?Tr=yt:Tr=nr("Select");var Wr=Object(st.a)(be,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Gr=ot||$r,Tn=We()(!ue&&Ft,(Ce={},Object(A.a)(Ce,"".concat(Qt,"-lg"),Gr==="large"),Object(A.a)(Ce,"".concat(Qt,"-sm"),Gr==="small"),Object(A.a)(Ce,"".concat(Qt,"-rtl"),sr==="rtl"),Object(A.a)(Ce,"".concat(Qt,"-borderless"),!Ue),Ce),Ge);return b.createElement(we,Object(w.a)({virtual:Ar,dropdownMatchSelectWidth:Hr},Wr,{ref:Me,prefixCls:Qt,className:Tn,listHeight:Yt,listItemHeight:Rt,treeCheckable:tt&&b.createElement("span",{className:"".concat(Qt,"-tree-checkbox-inner")}),inputIcon:an,multiple:Wt,removeIcon:Xt,clearIcon:hr,switcherIcon:function(In){return Object(Ye.a)(Ot,Jt,Lr,In)},showTreeIcon:fn,notFoundContent:Tr,getPopupContainer:zr||it,treeMotion:null,dropdownClassName:pr,choiceTransitionName:Oe,transitionName:bt}))},xt=b.forwardRef(Ut),Bt=xt;Bt.TreeNode=F,Bt.SHOW_ALL=qe,Bt.SHOW_PARENT=ae,Bt.SHOW_CHILD=V;var Qe=B.a=Bt},"5YgA":function(k,B,d){},"5bA4":function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="LeftOutlined";var l=B.a=A.forwardRef(f)},"5nXd":function(k,B,d){var w=d("MFOe"),A=w.slice,b=w.pluck,g=w.each,v=w.bind,f=w.create,l=w.isList,u=w.isFunction,o=w.isObject;k.exports={createStore:i};var e={version:"2.0.12",enabled:!1,get:function(s,t){var a=this.storage.read(this._namespacePrefix+s);return this._deserialize(a,t)},set:function(s,t){return t===void 0?this.remove(s):(this.storage.write(this._namespacePrefix+s,this._serialize(t)),t)},remove:function(s){this.storage.remove(this._namespacePrefix+s)},each:function(s){var t=this;this.storage.each(function(a,c){s.call(t,t._deserialize(a),(c||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(s){return this._namespacePrefix=="__storejs_"+s+"_"},createStore:function(){return i.apply(this,arguments)},addPlugin:function(s){this._addPlugin(s)},namespace:function(s){return i(this.storage,this.plugins,s)}};function n(){var r=typeof console=="undefined"?null:console;if(!r)return;var s=r.warn?r.warn:r.log;s.apply(r,arguments)}function i(r,s,t){t||(t=""),r&&!l(r)&&(r=[r]),s&&!l(s)&&(s=[s]);var a=t?"__storejs_"+t+"_":"",c=t?new RegExp("^"+a):null,h=/^[a-zA-Z0-9_\-]*$/;if(!h.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var p={_namespacePrefix:a,_namespaceRegexp:c,_testStorage:function(y){try{var x="__storejs__test__";y.write(x,x);var C=y.read(x)===x;return y.remove(x),C}catch(T){return!1}},_assignPluginFnProp:function(y,x){var C=this[x];this[x]=function(){var _=A(arguments,0),E=this;function I(){return C?(g(arguments,function(D,F){_[F]=D}),C.apply(E,_)):void 0}var L=[I].concat(_);return y.apply(E,L)}},_serialize:function(y){return JSON.stringify(y)},_deserialize:function(y,x){if(!y)return x;var C="";try{C=JSON.parse(y)}catch(T){C=y}return C!==void 0?C:x},_addStorage:function(y){if(this.enabled)return;this._testStorage(y)&&(this.storage=y,this.enabled=!0)},_addPlugin:function(y){var x=this;if(l(y)){g(y,function(_){x._addPlugin(_)});return}var C=b(this.plugins,function(_){return y===_});if(C)return;if(this.plugins.push(y),!u(y))throw new Error("Plugins must be function values that return objects");var T=y.call(this);if(!o(T))throw new Error("Plugins must return an object of function properties");g(T,function(_,E){if(!u(_))throw new Error("Bad plugin property: "+E+" from plugin "+y.name+". Plugins should only return functions.");x._assignPluginFnProp(_,E)})},addStorage:function(y){n("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(y)}},m=f(p,e,{plugins:[]});return m.raw={},g(m,function(S,y){u(S)&&(m.raw[y]=v(m,S))}),g(r,function(S){m._addStorage(S)}),g(s,function(S){m._addPlugin(S)}),m}},"5rEg":function(k,B,d){"use strict";var w=d("wx14"),A=d("1OyB"),b=d("vuIU"),g=d("Ji7U"),v=d("LK+K"),f=d("rePB"),l=d("q1tI"),u=d("TSYQ"),o=d.n(u),e=d("bT9E"),n=d("jN4g"),i=d("CWQg"),r=d("0n0R"),s=Object(i.a)("text","input");function t(V){return!!(V.prefix||V.suffix||V.allowClear)}function a(V){return!!(V.addonBefore||V.addonAfter)}var c=function(V){Object(g.a)(Z,V);var X=Object(v.a)(Z);function Z(){var ge;return Object(A.a)(this,Z),ge=X.apply(this,arguments),ge.containerRef=l.createRef(),ge.onInputMouseUp=function(le){var Se;if((Se=ge.containerRef.current)===null||Se===void 0?void 0:Se.contains(le.target)){var me=ge.props.triggerFocus;me==null||me()}},ge}return Object(b.a)(Z,[{key:"renderClearIcon",value:function(le){var Se=this.props,me=Se.allowClear,$=Se.value,we=Se.disabled,xe=Se.readOnly,We=Se.handleReset;if(!me)return null;var st=!we&&!xe&&$,nt="".concat(le,"-clear-icon");return l.createElement(n.a,{onClick:We,className:o()(Object(f.a)({},"".concat(nt,"-hidden"),!st),nt),role:"button"})}},{key:"renderSuffix",value:function(le){var Se=this.props,me=Se.suffix,$=Se.allowClear;return me||$?l.createElement("span",{className:"".concat(le,"-suffix")},this.renderClearIcon(le),me):null}},{key:"renderLabeledIcon",value:function(le,Se){var me,$=this.props,we=$.focused,xe=$.value,We=$.prefix,st=$.className,nt=$.size,Ne=$.suffix,St=$.disabled,Ye=$.allowClear,vt=$.direction,It=$.style,Ut=$.readOnly,xt=$.bordered,Bt=this.renderSuffix(le);if(!t(this.props))return Object(r.a)(Se,{value:xe});var Qe=We?l.createElement("span",{className:"".concat(le,"-prefix")},We):null,te=o()("".concat(le,"-affix-wrapper"),(me={},Object(f.a)(me,"".concat(le,"-affix-wrapper-focused"),we),Object(f.a)(me,"".concat(le,"-affix-wrapper-disabled"),St),Object(f.a)(me,"".concat(le,"-affix-wrapper-sm"),nt==="small"),Object(f.a)(me,"".concat(le,"-affix-wrapper-lg"),nt==="large"),Object(f.a)(me,"".concat(le,"-affix-wrapper-input-with-clear-btn"),Ne&&Ye&&xe),Object(f.a)(me,"".concat(le,"-affix-wrapper-rtl"),vt==="rtl"),Object(f.a)(me,"".concat(le,"-affix-wrapper-readonly"),Ut),Object(f.a)(me,"".concat(le,"-affix-wrapper-borderless"),!xt),Object(f.a)(me,"".concat(st),!a(this.props)&&st),me));return l.createElement("span",{ref:this.containerRef,className:te,style:It,onMouseUp:this.onInputMouseUp},Qe,Object(r.a)(Se,{style:null,value:xe,className:C(le,xt,nt,St)}),Bt)}},{key:"renderInputWithLabel",value:function(le,Se){var me,$=this.props,we=$.addonBefore,xe=$.addonAfter,We=$.style,st=$.size,nt=$.className,Ne=$.direction;if(!a(this.props))return Se;var St="".concat(le,"-group"),Ye="".concat(St,"-addon"),vt=we?l.createElement("span",{className:Ye},we):null,It=xe?l.createElement("span",{className:Ye},xe):null,Ut=o()("".concat(le,"-wrapper"),St,Object(f.a)({},"".concat(St,"-rtl"),Ne==="rtl")),xt=o()("".concat(le,"-group-wrapper"),(me={},Object(f.a)(me,"".concat(le,"-group-wrapper-sm"),st==="small"),Object(f.a)(me,"".concat(le,"-group-wrapper-lg"),st==="large"),Object(f.a)(me,"".concat(le,"-group-wrapper-rtl"),Ne==="rtl"),me),nt);return l.createElement("span",{className:xt,style:We},l.createElement("span",{className:Ut},vt,Object(r.a)(Se,{style:null}),It))}},{key:"renderTextAreaWithClearIcon",value:function(le,Se){var me,$=this.props,we=$.value,xe=$.allowClear,We=$.className,st=$.style,nt=$.direction,Ne=$.bordered;if(!xe)return Object(r.a)(Se,{value:we});var St=o()("".concat(le,"-affix-wrapper"),"".concat(le,"-affix-wrapper-textarea-with-clear-btn"),(me={},Object(f.a)(me,"".concat(le,"-affix-wrapper-rtl"),nt==="rtl"),Object(f.a)(me,"".concat(le,"-affix-wrapper-borderless"),!Ne),Object(f.a)(me,"".concat(We),!a(this.props)&&We),me));return l.createElement("span",{className:St,style:st},Object(r.a)(Se,{style:null,value:we}),this.renderClearIcon(le))}},{key:"render",value:function(){var le=this.props,Se=le.prefixCls,me=le.inputType,$=le.element;return me===s[0]?this.renderTextAreaWithClearIcon(Se,$):this.renderInputWithLabel(Se,this.renderLabeledIcon(Se,$))}}]),Z}(l.Component),h=c,p=d("H84U"),m=d("3Nzz"),S=d("uaoM");function y(V){return typeof V=="undefined"||V===null?"":V}function x(V,X,Z){if(Z){var ge=X;if(X.type==="click"){ge=Object.create(X),ge.target=V,ge.currentTarget=V;var le=V.value;V.value="",Z(ge),V.value=le;return}Z(ge)}}function C(V,X,Z,ge,le){var Se;return o()(V,(Se={},Object(f.a)(Se,"".concat(V,"-sm"),Z==="small"),Object(f.a)(Se,"".concat(V,"-lg"),Z==="large"),Object(f.a)(Se,"".concat(V,"-disabled"),ge),Object(f.a)(Se,"".concat(V,"-rtl"),le==="rtl"),Object(f.a)(Se,"".concat(V,"-borderless"),!X),Se))}function T(V,X){if(!V)return;V.focus(X);var Z=X||{},ge=Z.cursor;if(ge){var le=V.value.length;switch(ge){case"start":V.setSelectionRange(0,0);break;case"end":V.setSelectionRange(le,le);break;default:V.setSelectionRange(0,le)}}}var _=function(V){Object(g.a)(Z,V);var X=Object(v.a)(Z);function Z(ge){var le;Object(A.a)(this,Z),le=X.call(this,ge),le.direction="ltr",le.focus=function(me){T(le.input,me)},le.saveClearableInput=function(me){le.clearableInput=me},le.saveInput=function(me){le.input=me},le.onFocus=function(me){var $=le.props.onFocus;le.setState({focused:!0},le.clearPasswordValueAttribute),$&&$(me)},le.onBlur=function(me){var $=le.props.onBlur;le.setState({focused:!1},le.clearPasswordValueAttribute),$&&$(me)},le.handleReset=function(me){le.setValue("",function(){le.focus()}),x(le.input,me,le.props.onChange)},le.renderInput=function(me,$,we){var xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},We=le.props,st=We.className,nt=We.addonBefore,Ne=We.addonAfter,St=We.size,Ye=We.disabled,vt=Object(e.a)(le.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return l.createElement("input",Object(w.a)({autoComplete:xe.autoComplete},vt,{onChange:le.handleChange,onFocus:le.onFocus,onBlur:le.onBlur,onKeyDown:le.handleKeyDown,className:o()(C(me,we,St||$,Ye,le.direction),Object(f.a)({},st,st&&!nt&&!Ne)),ref:le.saveInput}))},le.clearPasswordValueAttribute=function(){le.removePasswordTimeout=setTimeout(function(){le.input&&le.input.getAttribute("type")==="password"&&le.input.hasAttribute("value")&&le.input.removeAttribute("value")})},le.handleChange=function(me){le.setValue(me.target.value,le.clearPasswordValueAttribute),x(le.input,me,le.props.onChange)},le.handleKeyDown=function(me){var $=le.props,we=$.onPressEnter,xe=$.onKeyDown;me.keyCode===13&&we&&we(me),xe&&xe(me)},le.renderComponent=function(me){var $=me.getPrefixCls,we=me.direction,xe=me.input,We=le.state,st=We.value,nt=We.focused,Ne=le.props,St=Ne.prefixCls,Ye=Ne.bordered,vt=Ye===void 0?!0:Ye,It=$("input",St);return le.direction=we,l.createElement(m.b.Consumer,null,function(Ut){return l.createElement(h,Object(w.a)({size:Ut},le.props,{prefixCls:It,inputType:"input",value:y(st),element:le.renderInput(It,Ut,vt,xe),handleReset:le.handleReset,ref:le.saveClearableInput,direction:we,focused:nt,triggerFocus:le.focus,bordered:vt}))})};var Se=typeof ge.value=="undefined"?ge.defaultValue:ge.value;return le.state={value:Se,focused:!1,prevValue:ge.value},le}return Object(b.a)(Z,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(le){return t(le)!==t(this.props)&&Object(S.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:"setSelectionRange",value:function(le,Se,me){this.input.setSelectionRange(le,Se,me)}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(le,Se){this.props.value===void 0?this.setState({value:le},Se):Se==null||Se()}},{key:"render",value:function(){return l.createElement(p.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(le,Se){var me=Se.prevValue,$={prevValue:le.value};return(le.value!==void 0||me!==le.value)&&($.value=le.value),$}}]),Z}(l.Component);_.defaultProps={type:"text"};var E=_,I=function(X){return l.createElement(p.a,null,function(Z){var ge,le=Z.getPrefixCls,Se=Z.direction,me=X.prefixCls,$=X.className,we=$===void 0?"":$,xe=le("input-group",me),We=o()(xe,(ge={},Object(f.a)(ge,"".concat(xe,"-lg"),X.size==="large"),Object(f.a)(ge,"".concat(xe,"-sm"),X.size==="small"),Object(f.a)(ge,"".concat(xe,"-compact"),X.compact),Object(f.a)(ge,"".concat(xe,"-rtl"),Se==="rtl"),ge),we);return l.createElement("span",{className:We,style:X.style,onMouseEnter:X.onMouseEnter,onMouseLeave:X.onMouseLeave,onFocus:X.onFocus,onBlur:X.onBlur},X.children)})},L=I,D=d("c+Xe"),F=d("l+S1"),N=d("2/Rp"),P=function(V,X){var Z={};for(var ge in V)Object.prototype.hasOwnProperty.call(V,ge)&&X.indexOf(ge)<0&&(Z[ge]=V[ge]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ge=Object.getOwnPropertySymbols(V);le<ge.length;le++)X.indexOf(ge[le])<0&&Object.prototype.propertyIsEnumerable.call(V,ge[le])&&(Z[ge[le]]=V[ge[le]]);return Z},W=l.forwardRef(function(V,X){var Z,ge=V.prefixCls,le=V.inputPrefixCls,Se=V.className,me=V.size,$=V.suffix,we=V.enterButton,xe=we===void 0?!1:we,We=V.addonAfter,st=V.loading,nt=V.disabled,Ne=V.onSearch,St=V.onChange,Ye=P(V,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange"]),vt=l.useContext(p.b),It=vt.getPrefixCls,Ut=vt.direction,xt=l.useContext(m.b),Bt=me||xt,Qe=l.useRef(null),te=function(Yt){Yt&&Yt.target&&Yt.type==="click"&&Ne&&Ne(Yt.target.value,Yt),St&&St(Yt)},Q=function(Yt){var Tt;document.activeElement===((Tt=Qe.current)===null||Tt===void 0?void 0:Tt.input)&&Yt.preventDefault()},Me=function(Yt){var Tt;Ne&&Ne((Tt=Qe.current)===null||Tt===void 0?void 0:Tt.input.value,Yt)},Ce=It("input-search",ge),ue=It("input",le),ot=typeof xe=="boolean"||typeof xe=="undefined"?l.createElement(F.a,null):null,rt="".concat(Ce,"-button"),Ue,Ge=xe||{},tt=Ge.type&&Ge.type.__ANT_BUTTON===!0;tt||Ge.type==="button"?Ue=Object(r.a)(Ge,Object(w.a)({onMouseDown:Q,onClick:Me,key:"enterButton"},tt?{className:rt,size:Bt}:{})):Ue=l.createElement(N.a,{className:rt,type:xe?"primary":void 0,size:Bt,disabled:nt,key:"enterButton",onMouseDown:Q,onClick:Me,loading:st,icon:ot},xe),We&&(Ue=[Ue,Object(r.a)(We,{key:"addonAfter"})]);var Wt=o()(Ce,(Z={},Object(f.a)(Z,"".concat(Ce,"-rtl"),Ut==="rtl"),Object(f.a)(Z,"".concat(Ce,"-").concat(Bt),!!Bt),Object(f.a)(Z,"".concat(Ce,"-with-button"),!!xe),Z),Se);return l.createElement(E,Object(w.a)({ref:Object(D.a)(Qe,X),onPressEnter:Me},Ye,{size:Bt,prefixCls:ue,addonAfter:Ue,suffix:$,onChange:te,className:Wt,disabled:nt}))});W.displayName="Search";var R=W,j=d("U8pU"),H=d("KQm4"),K=d("ODXe"),U=d("Y1PL"),G=d("6cGi"),z=function(V,X){var Z={};for(var ge in V)Object.prototype.hasOwnProperty.call(V,ge)&&X.indexOf(ge)<0&&(Z[ge]=V[ge]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ge=Object.getOwnPropertySymbols(V);le<ge.length;le++)X.indexOf(ge[le])<0&&Object.prototype.propertyIsEnumerable.call(V,ge[le])&&(Z[ge[le]]=V[ge[le]]);return Z},Y=l.forwardRef(function(V,X){var Z,ge=V.prefixCls,le=V.bordered,Se=le===void 0?!0:le,me=V.showCount,$=me===void 0?!1:me,we=V.maxLength,xe=V.className,We=V.style,st=V.size,nt=z(V,["prefixCls","bordered","showCount","maxLength","className","style","size"]),Ne=l.useContext(p.b),St=Ne.getPrefixCls,Ye=Ne.direction,vt=l.useContext(m.b),It=l.useRef(null),Ut=l.useRef(null),xt=Object(G.a)(nt.defaultValue,{value:nt.value}),Bt=Object(K.a)(xt,2),Qe=Bt[0],te=Bt[1],Q=l.useRef(nt.value);l.useEffect(function(){(nt.value!==void 0||Q.current!==nt.value)&&(te(nt.value),Q.current=nt.value)},[nt.value,Q.current]);var Me=function(Tt,Rt){nt.value===void 0&&(te(Tt),Rt==null||Rt())},Ce=function(Tt){Me(Tt.target.value),x(It.current,Tt,nt.onChange)},ue=function(Tt){Me("",function(){var Rt;(Rt=It.current)===null||Rt===void 0||Rt.focus()}),x(It.current,Tt,nt.onChange)},ot=St("input",ge);l.useImperativeHandle(X,function(){var Yt;return{resizableTextArea:(Yt=It.current)===null||Yt===void 0?void 0:Yt.resizableTextArea,focus:function(Rt){var yt,Jt;T((Jt=(yt=It.current)===null||yt===void 0?void 0:yt.resizableTextArea)===null||Jt===void 0?void 0:Jt.textArea,Rt)},blur:function(){var Rt;return(Rt=It.current)===null||Rt===void 0?void 0:Rt.blur()}}});var rt=l.createElement(U.default,Object(w.a)({},Object(e.a)(nt,["allowClear"]),{maxLength:we,className:o()((Z={},Object(f.a)(Z,"".concat(ot,"-borderless"),!Se),Object(f.a)(Z,xe,xe&&!$),Object(f.a)(Z,"".concat(ot,"-sm"),vt==="small"||st==="small"),Object(f.a)(Z,"".concat(ot,"-lg"),vt==="large"||st==="large"),Z)),style:$?void 0:We,prefixCls:ot,onChange:Ce,ref:It})),Ue=y(Qe),Ge=Number(we)>0;Ue=Ge?Object(H.a)(Ue).slice(0,we).join(""):Ue;var tt=l.createElement(h,Object(w.a)({},nt,{prefixCls:ot,direction:Ye,inputType:"text",value:Ue,element:rt,handleReset:ue,ref:Ut,bordered:Se}));if($){var Wt=Object(H.a)(Ue).length,jt="";return Object(j.a)($)==="object"?jt=$.formatter({count:Wt,maxLength:we}):jt="".concat(Wt).concat(Ge?" / ".concat(we):""),l.createElement("div",{className:o()("".concat(ot,"-textarea"),Object(f.a)({},"".concat(ot,"-textarea-rtl"),Ye==="rtl"),"".concat(ot,"-textarea-show-count"),xe),style:We,"data-count":jt},tt)}return tt}),q=Y,oe=d("9BLJ"),ie=d("VTBJ"),se={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"},he=se,pe=d("6VBw"),_e=function(X,Z){return l.createElement(pe.a,Object(ie.a)(Object(ie.a)({},X),{},{ref:Z,icon:he}))};_e.displayName="EyeInvisibleOutlined";var De=l.forwardRef(_e),Xe=function(V,X){var Z={};for(var ge in V)Object.prototype.hasOwnProperty.call(V,ge)&&X.indexOf(ge)<0&&(Z[ge]=V[ge]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ge=Object.getOwnPropertySymbols(V);le<ge.length;le++)X.indexOf(ge[le])<0&&Object.prototype.propertyIsEnumerable.call(V,ge[le])&&(Z[ge[le]]=V[ge[le]]);return Z},J={click:"onClick",hover:"onMouseOver"},Ee=l.forwardRef(function(V,X){var Z=Object(l.useState)(!1),ge=Object(K.a)(Z,2),le=ge[0],Se=ge[1],me=function(){var We=V.disabled;if(We)return;Se(!le)},$=function(We){var st,nt=V.action,Ne=V.iconRender,St=Ne===void 0?function(){return null}:Ne,Ye=J[nt]||"",vt=St(le),It=(st={},Object(f.a)(st,Ye,me),Object(f.a)(st,"className","".concat(We,"-icon")),Object(f.a)(st,"key","passwordIcon"),Object(f.a)(st,"onMouseDown",function(xt){xt.preventDefault()}),Object(f.a)(st,"onMouseUp",function(xt){xt.preventDefault()}),st);return l.cloneElement(l.isValidElement(vt)?vt:l.createElement("span",null,vt),It)},we=function(We){var st=We.getPrefixCls,nt=V.className,Ne=V.prefixCls,St=V.inputPrefixCls,Ye=V.size,vt=V.visibilityToggle,It=Xe(V,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),Ut=st("input",St),xt=st("input-password",Ne),Bt=vt&&$(xt),Qe=o()(xt,nt,Object(f.a)({},"".concat(xt,"-").concat(Ye),!!Ye)),te=Object(w.a)(Object(w.a)({},Object(e.a)(It,["suffix","iconRender"])),{type:le?"text":"password",className:Qe,prefixCls:Ut,suffix:Bt});return Ye&&(te.size=Ye),l.createElement(E,Object(w.a)({ref:X},te))};return l.createElement(p.a,null,we)});Ee.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(X){return X?l.createElement(oe.a,null):l.createElement(De,null)}},Ee.displayName="Password";var qe=Ee;E.Group=L,E.Search=R,E.TextArea=q,E.Password=qe;var ae=B.a=E},"5s0K":function(k,B,d){var w=d("bYtY");function A(){var b=[],g={},v;return{add:function(f,l,u,o,e){return w.isString(o)&&(e=o,o=0),g[f.id]?!1:(g[f.id]=1,b.push({el:f,target:l,time:u,delay:o,easing:e}),!0)},done:function(f){return v=f,this},start:function(){for(var f=b.length,l=0,u=b.length;l<u;l++){var o=b[l];o.el.animateTo(o.target,o.time,o.delay,o.easing,e)}return this;function e(){f--,f||(b.length=0,g={},v&&v())}}}}B.createWrap=A},"6/nd":function(k,B,d){var w=d("ProS");w.registerAction("legendScroll","legendscroll",function(A,b){var g=A.scrollDataIndex;g!=null&&b.eachComponent({mainType:"legend",subType:"scroll",query:A},function(v){v.setScrollDataIndex(g)})})},"62sa":function(k,B,d){var w=d("bYtY"),A=d("4NO4"),b=A.makeInner,g=d("zTMp"),v=d("Ez2D"),f=w.each,l=w.curry,u=b();function o(m,S,y){var x=m.currTrigger,C=[m.x,m.y],T=m,_=m.dispatchAction||w.bind(y.dispatchAction,y),E=S.getComponent("axisPointer").coordSysAxesInfo;if(!E)return;p(C)&&(C=v({seriesIndex:T.seriesIndex,dataIndex:T.dataIndex},S).point);var I=p(C),L=T.axesInfo,D=E.axesInfo,F=x==="leave"||p(C),N={},P={},W={list:[],map:{}},R={showPointer:l(i,P),showTooltip:l(r,W)};f(E.coordSysMap,function(H,K){var U=I||H.containPoint(C);f(E.coordSysAxesInfo[K],function(G,z){var Y=G.axis,q=c(L,G);if(!F&&U&&(!L||q)){var oe=q&&q.value;oe==null&&!I&&(oe=Y.pointToData(C)),oe!=null&&e(G,oe,R,!1,N)}})});var j={};return f(D,function(H,K){var U=H.linkGroup;U&&!P[K]&&f(U.axesInfo,function(G,z){var Y=P[z];if(G!==H&&Y){var q=Y.value;U.mapper&&(q=H.axis.scale.parse(U.mapper(q,h(G),h(H)))),j[H.key]=q}})}),f(j,function(H,K){e(D[K],H,R,!0,N)}),s(P,D,N),t(W,C,m,_),a(D,_,y),N}function e(m,S,y,x,C){var T=m.axis;if(T.scale.isBlank()||!T.containData(S))return;if(!m.involveSeries){y.showPointer(m,S);return}var _=n(S,m),E=_.payloadBatch,I=_.snapToValue;E[0]&&C.seriesIndex==null&&w.extend(C,E[0]),!x&&m.snap&&(T.containData(I)&&I!=null&&(S=I)),y.showPointer(m,S,E,C),y.showTooltip(m,_,I)}function n(m,S){var y=S.axis,x=y.dim,C=m,T=[],_=Number.MAX_VALUE,E=-1;return f(S.seriesModels,function(I,L){var D=I.getData().mapDimension(x,!0),F,N;if(I.getAxisTooltipData){var P=I.getAxisTooltipData(D,m,y);N=P.dataIndices,F=P.nestestValue}else{if(N=I.getData().indicesOfNearest(D[0],m,y.type==="category"?.5:null),!N.length)return;F=I.getData().get(D[0],N[0])}if(F==null||!isFinite(F))return;var W=m-F,R=Math.abs(W);R<=_&&((R<_||W>=0&&E<0)&&(_=R,E=W,C=F,T.length=0),f(N,function(j){T.push({seriesIndex:I.seriesIndex,dataIndexInside:j,dataIndex:I.getData().getRawIndex(j)})}))}),{payloadBatch:T,snapToValue:C}}function i(m,S,y,x){m[S.key]={value:y,payloadBatch:x}}function r(m,S,y,x){var C=y.payloadBatch,T=S.axis,_=T.model,E=S.axisPointerModel;if(!S.triggerTooltip||!C.length)return;var I=S.coordSys.model,L=g.makeKey(I),D=m.map[L];D||(D=m.map[L]={coordSysId:I.id,coordSysIndex:I.componentIndex,coordSysType:I.type,coordSysMainType:I.mainType,dataByAxis:[]},m.list.push(D)),D.dataByAxis.push({axisDim:T.dim,axisIndex:_.componentIndex,axisType:_.type,axisId:_.id,value:x,valueLabelOpt:{precision:E.get("label.precision"),formatter:E.get("label.formatter")},seriesDataIndices:C.slice()})}function s(m,S,y){var x=y.axesInfo=[];f(S,function(C,T){var _=C.axisPointerModel.option,E=m[T];E?(!C.useHandle&&(_.status="show"),_.value=E.value,_.seriesDataIndices=(E.payloadBatch||[]).slice()):!C.useHandle&&(_.status="hide"),_.status==="show"&&x.push({axisDim:C.axis.dim,axisIndex:C.axis.model.componentIndex,value:_.value})})}function t(m,S,y,x){if(p(S)||!m.list.length){x({type:"hideTip"});return}var C=((m.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};x({type:"showTip",escapeConnect:!0,x:S[0],y:S[1],tooltipOption:y.tooltipOption,position:y.position,dataIndexInside:C.dataIndexInside,dataIndex:C.dataIndex,seriesIndex:C.seriesIndex,dataByCoordSys:m.list})}function a(m,S,y){var x=y.getZr(),C="axisPointerLastHighlights",T=u(x)[C]||{},_=u(x)[C]={};f(m,function(L,D){var F=L.axisPointerModel.option;F.status==="show"&&f(F.seriesDataIndices,function(N){var P=N.seriesIndex+" | "+N.dataIndex;_[P]=N})});var E=[],I=[];w.each(T,function(L,D){!_[D]&&I.push(L)}),w.each(_,function(L,D){!T[D]&&E.push(L)}),I.length&&y.dispatchAction({type:"downplay",escapeConnect:!0,batch:I}),E.length&&y.dispatchAction({type:"highlight",escapeConnect:!0,batch:E})}function c(m,S){for(var y=0;y<(m||[]).length;y++){var x=m[y];if(S.axis.dim===x.axisDim&&S.axis.model.componentIndex===x.axisIndex)return x}}function h(m){var S=m.axis.model,y={},x=y.axisDim=m.axis.dim;return y.axisIndex=y[x+"AxisIndex"]=S.componentIndex,y.axisName=y[x+"AxisName"]=S.name,y.axisId=y[x+"AxisId"]=S.id,y}function p(m){return!m||m[0]==null||isNaN(m[0])||m[1]==null||isNaN(m[1])}k.exports=o},"6BzB":function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.shrinkBuf=w,B.arraySet=A,B.flattenChunks=b,B.Buf32=B.Buf16=B.Buf8=void 0;function w(l,u){return l.length===u?l:l.subarray?l.subarray(0,u):(l.length=u,l)}function A(l,u,o,e,n){if(u.subarray&&l.subarray){l.set(u.subarray(o,o+e),n);return}for(var i=0;i<e;i++)l[n+i]=u[o+i]}function b(l){var u,o,e,n,i,r;for(e=0,u=0,o=l.length;u<o;u++)e+=l[u].length;for(r=new Uint8Array(e),n=0,u=0,o=l.length;u<o;u++)i=l[u],r.set(i,n),n+=i.length;return r}var g=Uint8Array;B.Buf8=g;var v=Uint16Array;B.Buf16=v;var f=Int32Array;B.Buf32=f},"6D9b":function(k,B,d){},"6GrX":function(k,B,d){var w=d("mFDi"),A=d("Xnb7"),b=d("bYtY"),g=b.getContext,v=b.extend,f=b.retrieve2,l=b.retrieve3,u=b.trim,o={},e=0,n=5e3,i=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,r="12px sans-serif",s={};function t(W,R){s[W]=R}function a(W,R){R=R||r;var j=W+":"+R;if(o[j])return o[j];for(var H=(W+"").split(`
`),K=0,U=0,G=H.length;U<G;U++)K=Math.max(L(H[U],R).width,K);return e>n&&(e=0,o={}),e++,o[j]=K,K}function c(W,R,j,H,K,U,G,z){return G?p(W,R,j,H,K,U,G,z):h(W,R,j,H,K,U,z)}function h(W,R,j,H,K,U,G){var z=D(W,R,K,U,G),Y=a(W,R);K&&(Y+=K[1]+K[3]);var q=z.outerHeight,oe=m(0,Y,j),ie=S(0,q,H),se=new w(oe,ie,Y,q);return se.lineHeight=z.lineHeight,se}function p(W,R,j,H,K,U,G,z){var Y=F(W,{rich:G,truncate:z,font:R,textAlign:j,textPadding:K,textLineHeight:U}),q=Y.outerWidth,oe=Y.outerHeight,ie=m(0,q,j),se=S(0,oe,H);return new w(ie,se,q,oe)}function m(W,R,j){return j==="right"?W-=R:j==="center"&&(W-=R/2),W}function S(W,R,j){return j==="middle"?W-=R/2:j==="bottom"&&(W-=R),W}function y(W,R,j){var H=R.textPosition,K=R.textDistance,U=j.x,G=j.y;K=K||0;var z=j.height,Y=j.width,q=z/2,oe="left",ie="top";switch(H){case"left":U-=K,G+=q,oe="right",ie="middle";break;case"right":U+=K+Y,G+=q,ie="middle";break;case"top":U+=Y/2,G-=K,oe="center",ie="bottom";break;case"bottom":U+=Y/2,G+=z+K,oe="center";break;case"inside":U+=Y/2,G+=q,oe="center",ie="middle";break;case"insideLeft":U+=K,G+=q,ie="middle";break;case"insideRight":U+=Y-K,G+=q,oe="right",ie="middle";break;case"insideTop":U+=Y/2,G+=K,oe="center";break;case"insideBottom":U+=Y/2,G+=z-K,oe="center",ie="bottom";break;case"insideTopLeft":U+=K,G+=K;break;case"insideTopRight":U+=Y-K,G+=K,oe="right";break;case"insideBottomLeft":U+=K,G+=z-K,ie="bottom";break;case"insideBottomRight":U+=Y-K,G+=z-K,oe="right",ie="bottom";break}return W=W||{},W.x=U,W.y=G,W.textAlign=oe,W.textVerticalAlign=ie,W}function x(W,R,j){var H={textPosition:W,textDistance:j};return y({},H,R)}function C(W,R,j,H,K){if(!R)return"";var U=(W+"").split(`
`);K=T(R,j,H,K);for(var G=0,z=U.length;G<z;G++)U[G]=_(U[G],K);return U.join(`
`)}function T(W,R,j,H){H=v({},H),H.font=R;var j=f(j,"...");H.maxIterations=f(H.maxIterations,2);var K=H.minChar=f(H.minChar,0);H.cnCharWidth=a("\u56FD",R);var U=H.ascCharWidth=a("a",R);H.placeholder=f(H.placeholder,"");for(var G=W=Math.max(0,W-1),z=0;z<K&&G>=U;z++)G-=U;var Y=a(j,R);return Y>G&&(j="",Y=0),G=W-Y,H.ellipsis=j,H.ellipsisWidth=Y,H.contentWidth=G,H.containerWidth=W,H}function _(W,R){var j=R.containerWidth,H=R.font,K=R.contentWidth;if(!j)return"";var U=a(W,H);if(U<=j)return W;for(var G=0;;G++){if(U<=K||G>=R.maxIterations){W+=R.ellipsis;break}var z=G===0?E(W,K,R.ascCharWidth,R.cnCharWidth):U>0?Math.floor(W.length*K/U):0;W=W.substr(0,z),U=a(W,H)}return W===""&&(W=R.placeholder),W}function E(W,R,j,H){for(var K=0,U=0,G=W.length;U<G&&K<R;U++){var z=W.charCodeAt(U);K+=0<=z&&z<=127?j:H}return U}function I(W){return a("\u56FD",W)}function L(W,R){return s.measureText(W,R)}s.measureText=function(W,R){var j=g();return j.font=R||r,j.measureText(W)};function D(W,R,j,H,K){W!=null&&(W+="");var U=f(H,I(R)),G=W?W.split(`
`):[],z=G.length*U,Y=z,q=!0;if(j&&(Y+=j[0]+j[2]),W&&K){q=!1;var oe=K.outerHeight,ie=K.outerWidth;if(oe!=null&&Y>oe)W="",G=[];else if(ie!=null)for(var se=T(ie-(j?j[1]+j[3]:0),R,K.ellipsis,{minChar:K.minChar,placeholder:K.placeholder}),he=0,pe=G.length;he<pe;he++)G[he]=_(G[he],se)}return{lines:G,height:z,outerHeight:Y,lineHeight:U,canCacheByTextString:q}}function F(W,R){var j={lines:[],width:0,height:0};if(W!=null&&(W+=""),!W)return j;for(var H=i.lastIndex=0,K;(K=i.exec(W))!=null;){var U=K.index;U>H&&N(j,W.substring(H,U)),N(j,K[2],K[1]),H=i.lastIndex}H<W.length&&N(j,W.substring(H,W.length));var G=j.lines,z=0,Y=0,q=[],oe=R.textPadding,ie=R.truncate,se=ie&&ie.outerWidth,he=ie&&ie.outerHeight;oe&&(se!=null&&(se-=oe[1]+oe[3]),he!=null&&(he-=oe[0]+oe[2]));for(var pe=0;pe<G.length;pe++){for(var _e=G[pe],De=0,Xe=0,J=0;J<_e.tokens.length;J++){var Ee=_e.tokens[J],qe=Ee.styleName&&R.rich[Ee.styleName]||{},ae=Ee.textPadding=qe.textPadding,V=Ee.font=qe.font||R.font,X=Ee.textHeight=f(qe.textHeight,I(V));if(ae&&(X+=ae[0]+ae[2]),Ee.height=X,Ee.lineHeight=l(qe.textLineHeight,R.textLineHeight,X),Ee.textAlign=qe&&qe.textAlign||R.textAlign,Ee.textVerticalAlign=qe&&qe.textVerticalAlign||"middle",he!=null&&z+Ee.lineHeight>he)return{lines:[],width:0,height:0};Ee.textWidth=a(Ee.text,V);var Z=qe.textWidth,ge=Z==null||Z==="auto";if(typeof Z=="string"&&Z.charAt(Z.length-1)==="%")Ee.percentWidth=Z,q.push(Ee),Z=0;else{if(ge){Z=Ee.textWidth;var le=qe.textBackgroundColor,Se=le&&le.image;Se&&(Se=A.findExistImage(Se),A.isImageReady(Se)&&(Z=Math.max(Z,Se.width*X/Se.height)))}var me=ae?ae[1]+ae[3]:0;Z+=me;var $=se!=null?se-Xe:null;$!=null&&$<Z&&(!ge||$<me?(Ee.text="",Ee.textWidth=Z=0):(Ee.text=C(Ee.text,$-me,V,ie.ellipsis,{minChar:ie.minChar}),Ee.textWidth=a(Ee.text,V),Z=Ee.textWidth+me))}Xe+=Ee.width=Z,qe&&(De=Math.max(De,Ee.lineHeight))}_e.width=Xe,_e.lineHeight=De,z+=De,Y=Math.max(Y,Xe)}j.outerWidth=j.width=f(R.textWidth,Y),j.outerHeight=j.height=f(R.textHeight,z),oe&&(j.outerWidth+=oe[1]+oe[3],j.outerHeight+=oe[0]+oe[2]);for(var pe=0;pe<q.length;pe++){var Ee=q[pe],we=Ee.percentWidth;Ee.width=parseInt(we,10)/100*Y}return j}function N(W,R,j){for(var H=R==="",K=R.split(`
`),U=W.lines,G=0;G<K.length;G++){var z=K[G],Y={styleName:j,text:z,isLineHolder:!z&&!H};if(G)U.push({tokens:[Y]});else{var q=(U[U.length-1]||(U[0]={tokens:[]})).tokens,oe=q.length;oe===1&&q[0].isLineHolder?q[0]=Y:(z||!oe||H)&&q.push(Y)}}}function P(W){var R=(W.fontSize||W.fontFamily)&&[W.fontStyle,W.fontWeight,(W.fontSize||12)+"px",W.fontFamily||"sans-serif"].join(" ");return R&&u(R)||W.textFont||W.font}B.DEFAULT_FONT=r,B.$override=t,B.getWidth=a,B.getBoundingRect=c,B.adjustTextX=m,B.adjustTextY=S,B.calculateTextPosition=y,B.adjustTextPositionOnRect=x,B.truncateText=C,B.getLineHeight=I,B.measureText=L,B.parsePlainText=D,B.parseRichText=F,B.makeFont=P},"6Ic6":function(k,B,d){var w=d("bYtY"),A=w.each,b=d("4fz+"),g=d("iRjW"),v=d("Yl7c"),f=d("4NO4"),l=d("IwbS"),u=d("9H2F"),o=u.createTask,e=d("zM3Q"),n=f.makeInner(),i=e();function r(){this.group=new b,this.uid=g.getUID("viewChart"),this.renderTask=o({plan:c,reset:h}),this.renderTask.context={view:this}}r.prototype={type:"chart",init:function(S,y){},render:function(S,y,x,C){},highlight:function(S,y,x,C){a(S.getData(),C,"emphasis")},downplay:function(S,y,x,C){a(S.getData(),C,"normal")},remove:function(S,y){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var s=r.prototype;s.updateView=s.updateLayout=s.updateVisual=function(S,y,x,C){this.render(S,y,x,C)};function t(S,y,x){if(S&&(S.trigger(y,x),S.isGroup&&!l.isHighDownDispatcher(S)))for(var C=0,T=S.childCount();C<T;C++)t(S.childAt(C),y,x)}function a(S,y,x){var C=f.queryDataIndex(S,y),T=y&&y.highlightKey!=null?l.getHighlightDigit(y.highlightKey):null;C!=null?A(f.normalizeToArray(C),function(_){t(S.getItemGraphicEl(_),x,T)}):S.eachItemGraphicEl(function(_){t(_,x,T)})}v.enableClassExtend(r,["dispose"]),v.enableClassManagement(r,{registerWhenExtend:!0}),r.markUpdateMethod=function(S,y){n(S).updateMethod=y};function c(S){return i(S.model)}function h(S){var y=S.model,x=S.ecModel,C=S.api,T=S.payload,_=y.pipelineContext.progressiveRender,E=S.view,I=T&&n(T).updateMethod,L=_?"incrementalPrepareRender":I&&E[I]?I:"render";return L!=="render"&&E[L](y,x,C,T),p[L]}var p={incrementalPrepareRender:{progress:function(S,y){y.view.incrementalRender(S,y.model,y.ecModel,y.api,y.payload)}},render:{forceFirstProgress:!0,progress:function(S,y){y.view.render(y.model,y.ecModel,y.api,y.payload)}}},m=r;k.exports=m},"6MrE":function(k,B,d){},"6Qwc":function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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"};B.default=w},"6UJt":function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("v56E"),g=d.n(b),v=d("R9oj"),f=d("5NDa")},"6cGi":function(k,B,d){"use strict";d.d(B,"a",function(){return g});var w=d("ODXe"),A=d("q1tI"),b=d.n(A);function g(v,f){var l=f||{},u=l.defaultValue,o=l.value,e=l.onChange,n=l.postState,i=A.useState(function(){return o!==void 0?o:u!==void 0?typeof u=="function"?u():u:typeof v=="function"?v():v}),r=Object(w.a)(i,2),s=r[0],t=r[1],a=o!==void 0?o:s;n&&(a=n(a));function c(p){t(p),a!==p&&e&&e(p,a)}var h=A.useRef(!0);return A.useEffect(function(){if(h.current){h.current=!1;return}o===void 0&&t(o)},[o]),[a,c]}},"6fms":function(k,B,d){var w=d("SUKs"),A=d("06Qe"),b=d("bYtY"),g=b.each;function v(o){return parseInt(o,10)}function f(o,e){A.initVML(),this.root=o,this.storage=e;var n=document.createElement("div"),i=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",o.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize();var r=e.delFromStorage,s=e.addToStorage;e.delFromStorage=function(t){r.call(e,t),t&&(t.onRemove&&t.onRemove(i))},e.addToStorage=function(t){t.onAdd&&t.onAdd(i),s.call(e,t)},this._firstPaint=!0}f.prototype={constructor:f,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0,!0);this._paintList(e)},_paintList:function(e){for(var n=this._vmlRoot,i=0;i<e.length;i++){var r=e[i];r.invisible||r.ignore?(r.__alreadyNotVisible||r.onRemove(n),r.__alreadyNotVisible=!0):(r.__alreadyNotVisible&&r.onAdd(n),r.__alreadyNotVisible=!1,r.__dirty&&(r.beforeBrush&&r.beforeBrush(),(r.brushVML||r.brush).call(r,n),r.afterBrush&&r.afterBrush())),r.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(n),this._firstPaint=!1)},resize:function(e,n){var e=e==null?this._getWidth():e,n=n==null?this._getHeight():n;if(this._width!==e||this._height!==n){this._width=e,this._height=n;var i=this._vmlViewport.style;i.width=e+"px",i.height=n+"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 e=this.root,n=e.currentStyle;return(e.clientWidth||v(n.width))-v(n.paddingLeft)-v(n.paddingRight)|0},_getHeight:function(){var e=this.root,n=e.currentStyle;return(e.clientHeight||v(n.height))-v(n.paddingTop)-v(n.paddingBottom)|0}};function l(o){return function(){w('In IE8.0 VML mode painter not support method "'+o+'"')}}g(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(o){f.prototype[o]=l(o)});var u=f;k.exports=u},"6r85":function(k,B,d){var w=d("bYtY");function A(b){if(!b||!w.isArray(b.series))return;w.each(b.series,function(g){w.isObject(g)&&g.type==="k"&&(g.type="candlestick")})}k.exports=A},"6uqw":function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("ItGF"),g=d("YOMW"),v=d("XxSj"),f=d("K4ya"),l=d("4NO4"),u=d("OELB"),o=v.mapVisual,e=v.eachVisual,n=A.isArray,i=A.each,r=u.asc,s=u.linearMap,t=A.noop,a=w.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,p,m){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(h,m)},optionUpdated:function(h,p){var m=this.option;b.canvasSupported||(m.realtime=!1),!p&&f.replaceVisualOption(m,h,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(h){var p=this.stateList;h=A.bind(h,this),this.controllerVisuals=f.createVisualMappings(this.option.controller,p,h),this.targetVisuals=f.createVisualMappings(this.option.target,p,h)},getTargetSeriesIndices:function(){var h=this.option.seriesIndex,p=[];return h==null||h==="all"?this.ecModel.eachSeries(function(m,S){p.push(S)}):p=l.normalizeToArray(h),p},eachTargetSeries:function(h,p){A.each(this.getTargetSeriesIndices(),function(m){h.call(p,this.ecModel.getSeriesByIndex(m))},this)},isTargetSeries:function(h){var p=!1;return this.eachTargetSeries(function(m){m===h&&(p=!0)}),p},formatValueText:function(h,p,m){var S=this.option,y=S.precision,x=this.dataBound,C=S.formatter,T,_;if(m=m||["<",">"],A.isArray(h)&&(h=h.slice(),T=!0),_=p?h:T?[E(h[0]),E(h[1])]:E(h),A.isString(C))return C.replace("{value}",T?_[0]:_).replace("{value2}",T?_[1]:_);if(A.isFunction(C))return T?C(h[0],h[1]):C(h);if(T)return h[0]===x[0]?m[0]+" "+_[1]:h[1]===x[1]?m[1]+" "+_[0]:_[0]+" - "+_[1];return _;function E(I){return I===x[0]?"min":I===x[1]?"max":(+I).toFixed(Math.min(y,20))}},resetExtent:function(){var h=this.option,p=r([h.min,h.max]);this._dataExtent=p},getDataDimension:function(h){var p=this.option.dimension,m=h.dimensions;if(p==null&&!m.length)return;if(p!=null)return h.getDimension(p);for(var S=h.dimensions,y=S.length-1;y>=0;y--){var x=S[y],C=h.getDimensionInfo(x);if(!C.isCalculationCoord)return x}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var h=this.ecModel,p=this.option,m={inRange:p.inRange,outOfRange:p.outOfRange},S=p.target||(p.target={}),y=p.controller||(p.controller={});A.merge(S,m),A.merge(y,m);var x=this.isCategory();C.call(this,S),C.call(this,y),T.call(this,S,"inRange","outOfRange"),_.call(this,y);function C(E){n(p.color)&&!E.inRange&&(E.inRange={color:p.color.slice().reverse()}),E.inRange=E.inRange||{color:h.get("gradientColor")},i(this.stateList,function(I){var L=E[I];if(A.isString(L)){var D=g.get(L,"active",x);D?(E[I]={},E[I][L]=D):delete E[I]}},this)}function T(E,I,L){var D=E[I],F=E[L];D&&!F&&(F=E[L]={},i(D,function(N,P){if(!v.isValidType(P))return;var W=g.get(P,"inactive",x);W!=null&&(F[P]=W,P==="color"&&!F.hasOwnProperty("opacity")&&!F.hasOwnProperty("colorAlpha")&&(F.opacity=[0,0]))}))}function _(E){var I=(E.inRange||{}).symbol||(E.outOfRange||{}).symbol,L=(E.inRange||{}).symbolSize||(E.outOfRange||{}).symbolSize,D=this.get("inactiveColor");i(this.stateList,function(F){var N=this.itemSize,P=E[F];P||(P=E[F]={color:x?D:[D]}),P.symbol==null&&(P.symbol=I&&A.clone(I)||(x?"roundRect":["roundRect"])),P.symbolSize==null&&(P.symbolSize=L&&A.clone(L)||(x?N[0]:[N[0],N[0]])),P.symbol=o(P.symbol,function(j){return j==="none"||j==="square"?"roundRect":j});var W=P.symbolSize;if(W!=null){var R=-Infinity;e(W,function(j){j>R&&(R=j)}),P.symbolSize=o(W,function(j){return s(j,[0,R],[0,N[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:t,getValueState:t,getVisualMeta:t}),c=a;k.exports=c},"6usn":function(k,B,d){var w=d("bYtY");function A(g,v){return w.map(["Radius","Angle"],function(f,l){var u=this["get"+f+"Axis"](),o=v[l],e=g[l]/2,n="dataTo"+f,i=u.type==="category"?u.getBandWidth():Math.abs(u[n](o-e)-u[n](o+e));return f==="Angle"&&(i=i*Math.PI/180),i},this)}function b(g){var v=g.getRadiusAxis(),f=g.getAngleAxis(),l=v.getExtent();return l[0]>l[1]&&l.reverse(),{coordSys:{type:"polar",cx:g.cx,cy:g.cy,r:l[1],r0:l[0]},api:{coord:w.bind(function(u){var o=v.dataToRadius(u[0]),e=f.dataToAngle(u[1]),n=g.coordToPoint([o,e]);return n.push(o,e*Math.PI/180),n}),size:w.bind(A,g)}}}k.exports=b},"711d":function(k,B){function d(w){return function(A){return A==null?void 0:A[w]}}k.exports=d},"72pK":function(k,B){function d(b,g,v,f,l,u){b=b||0;var o=v[1]-v[0];if(l!=null&&(l=A(l,[0,o])),u!=null&&(u=Math.max(u,l!=null?l:0)),f==="all"){var e=Math.abs(g[1]-g[0]);e=A(e,[0,o]),l=u=A(e,[l,u]),f=0}g[0]=A(g[0],v),g[1]=A(g[1],v);var n=w(g,f);g[f]+=b;var i=l||0,r=v.slice();n.sign<0?r[0]+=i:r[1]-=i,g[f]=A(g[f],r);var s=w(g,f);l!=null&&(s.sign!==n.sign||s.span<l)&&(g[1-f]=g[f]+n.sign*l);var s=w(g,f);return u!=null&&s.span>u&&(g[1-f]=g[f]+s.sign*u),g}function w(b,g){var v=b[g]-b[1-g];return{span:Math.abs(v),sign:v>0?-1:v<0?1:g?-1:1}}function A(b,g){return Math.min(g[1]!=null?g[1]:Infinity,Math.max(g[0]!=null?g[0]:-Infinity,b))}k.exports=d},"75ce":function(k,B,d){var w=d("ProS");d("IXuL"),d("8X+K");var A=d("f5Yq"),b=d("h8O9"),g=d("/d5a");d("Ae16"),w.registerVisual(A("line","circle","line")),w.registerLayout(b("line")),w.registerProcessor(w.PRIORITY.PROCESSOR.STATISTIC,g("line"))},"75ev":function(k,B,d){var w=d("ProS");d("IWNH"),d("bNin"),d("v5uJ");var A=d("f5Yq"),b=d("yik8");w.registerVisual(A("tree","circle")),w.registerLayout(b)},"7AJT":function(k,B,d){var w=d("bYtY"),A=d("hM6l"),b=function(v,f,l,u,o){A.call(this,v,f,l),this.type=u||"value",this.position=o||"bottom"};b.prototype={constructor:b,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},w.inherits(b,A);var g=b;k.exports=g},"7Cbv":function(k,B,d){"use strict";var w=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),A=new Uint8Array(16);function b(){if(!w)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return w(A)}var g=/^(?:[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"&&g.test(r)}for(var f=v,l=[],u=0;u<256;++u)l.push((u+256).toString(16).substr(1));function o(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=(l[r[s+0]]+l[r[s+1]]+l[r[s+2]]+l[r[s+3]]+"-"+l[r[s+4]]+l[r[s+5]]+"-"+l[r[s+6]]+l[r[s+7]]+"-"+l[r[s+8]]+l[r[s+9]]+"-"+l[r[s+10]]+l[r[s+11]]+l[r[s+12]]+l[r[s+13]]+l[r[s+14]]+l[r[s+15]]).toLowerCase();if(!f(t))throw TypeError("Stringified UUID is invalid");return t}var e=o;function n(r,s,t){r=r||{};var a=r.random||(r.rng||b)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,s){t=t||0;for(var c=0;c<16;++c)s[t+c]=a[c];return s}return e(a)}var i=B.a=n},"7DRL":function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=b.createHashMap,v=b.isString,f=b.isArray,l=b.each,u=b.assert,o=d("MEGo"),e=o.parseXML,n=g(),i={registerMap:function(s,t,a){var c;return f(t)?c=t:t.svg?c=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(a=t.specialAreas,t=t.geoJson),c=[{type:"geoJSON",source:t,specialAreas:a}]),l(c,function(h){var p=h.type;p==="geoJson"&&(p=h.type="geoJSON");var m=r[p];m(h)}),n.set(s,c)},retrieveMap:function(s){return n.get(s)}},r={geoJSON:function(s){var t=s.source;s.geoJSON=v(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(s){s.svgXML=e(s.source)}};k.exports=i},"7G+c":function(k,B,d){var w=d("bYtY"),A=w.createHashMap,b=w.isTypedArray,g=d("Yl7c"),v=g.enableClassCheck,f=d("k9D9"),l=f.SOURCE_FORMAT_ORIGINAL,u=f.SERIES_LAYOUT_BY_COLUMN,o=f.SOURCE_FORMAT_UNKNOWN,e=f.SOURCE_FORMAT_TYPED_ARRAY,n=f.SOURCE_FORMAT_KEYED_COLUMNS;function i(s){this.fromDataset=s.fromDataset,this.data=s.data||(s.sourceFormat===n?{}:[]),this.sourceFormat=s.sourceFormat||o,this.seriesLayoutBy=s.seriesLayoutBy||u,this.dimensionsDefine=s.dimensionsDefine,this.encodeDefine=s.encodeDefine&&A(s.encodeDefine),this.startIndex=s.startIndex||0,this.dimensionsDetectCount=s.dimensionsDetectCount}i.seriesDataToSource=function(s){return new i({data:s,sourceFormat:b(s)?e:l,fromDataset:!1})},v(i);var r=i;k.exports=r},"7Kak":function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("KPFz"),g=d.n(b)},"7Phj":function(k,B,d){var w=d("bYtY"),A=d("OELB"),b=A.parsePercent,g=w.each;function v(o){var e=f(o);g(e,function(n){var i=n.seriesModels;if(!i.length)return;l(n),g(i,function(r,s){u(r,n.boxOffsetList[s],n.boxWidthList[s])})})}function f(o){var e=[],n=[];return o.eachSeriesByType("boxplot",function(i){var r=i.getBaseAxis(),s=w.indexOf(n,r);s<0&&(s=n.length,n[s]=r,e[s]={axis:r,seriesModels:[]}),e[s].seriesModels.push(i)}),e}function l(o){var e,n=o.axis,i=o.seriesModels,r=i.length,s=o.boxWidthList=[],t=o.boxOffsetList=[],a=[],c;if(n.type==="category")c=n.getBandWidth();else{var h=0;g(i,function(x){h=Math.max(h,x.getData().count())}),e=n.getExtent(),Math.abs(e[1]-e[0])/h}g(i,function(x){var C=x.get("boxWidth");w.isArray(C)||(C=[C,C]),a.push([b(C[0],c)||0,b(C[1],c)||0])});var p=c*.8-2,m=p/r*.3,S=(p-m*(r-1))/r,y=S/2-p/2;g(i,function(x,C){t.push(y),y+=m+S,s.push(Math.min(Math.max(S,a[C][0]),a[C][1]))})}function u(o,e,n){var i=o.coordinateSystem,r=o.getData(),s=n/2,t=o.get("layout")==="horizontal"?0:1,a=1-t,c=["x","y"],h=r.mapDimension(c[t]),p=r.mapDimension(c[a],!0);if(h==null||p.length<5)return;for(var m=0;m<r.count();m++){var S=r.get(h,m),y=I(S,p[2],m),x=I(S,p[0],m),C=I(S,p[1],m),T=I(S,p[3],m),_=I(S,p[4],m),E=[];L(E,C,0),L(E,T,1),E.push(x,C,_,T),D(E,x),D(E,_),D(E,y),r.setItemLayout(m,{initBaseline:y[a],ends:E})}function I(F,N,P){var W=r.get(N,P),R=[];R[t]=F,R[a]=W;var j;return isNaN(F)||isNaN(W)?j=[NaN,NaN]:(j=i.dataToPoint(R),j[t]+=e),j}function L(F,N,P){var W=N.slice(),R=N.slice();W[t]+=s,R[t]-=s,P?F.push(W,R):F.push(R,W)}function D(F,N){var P=N.slice(),W=N.slice();P[t]-=s,W[t]+=s,F.push(P,W)}}k.exports=v},"7SHv":function(k,B,d){var w=d("LPTA"),A=w.devicePixelRatio,b=d("bYtY"),g=d("SUKs"),v=d("mFDi"),f=d("BPZU"),l=d("Xmg4"),u=d("mLcG"),o=d("Dagg"),e=d("ItGF"),n=1e5,i=314159,r=.01,s=.001;function t(T){return parseInt(T,10)}function a(T){return T?T.__builtin__?!0:!(typeof T.resize!="function"||typeof T.refresh!="function"):!1}var c=new v(0,0,0,0),h=new v(0,0,0,0);function p(T,_,E){return c.copy(T.getBoundingRect()),T.transform&&c.applyTransform(T.transform),h.width=_,h.height=E,!c.intersect(h)}function m(T,_){if(T===_)return!1;if(!T||!_||T.length!==_.length)return!0;for(var E=0;E<T.length;E++)if(T[E]!==_[E])return!0;return!1}function S(T,_){for(var E=0;E<T.length;E++){var I=T[E];I.setTransform(_),_.beginPath(),I.buildPath(_,I.shape),_.clip(),I.restoreTransform(_)}}function y(T,_){var E=document.createElement("div");return E.style.cssText=["position:relative","width:"+T+"px","height:"+_+"px","padding:0","margin:0","border-width:0"].join(";")+";",E}var x=function(_,E,I){this.type="canvas";var L=!_.nodeName||_.nodeName.toUpperCase()==="CANVAS";this._opts=I=b.extend({},I||{}),this.dpr=I.devicePixelRatio||A,this._singleCanvas=L,this.root=_;var D=_.style;D&&(D["-webkit-tap-highlight-color"]="transparent",D["-webkit-user-select"]=D["user-select"]=D["-webkit-touch-callout"]="none",_.innerHTML=""),this.storage=E;var F=this._zlevelList=[],N=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,L){var W=_.width,R=_.height;I.width!=null&&(W=I.width),I.height!=null&&(R=I.height),this.dpr=I.devicePixelRatio||1,_.width=W*this.dpr,_.height=R*this.dpr,this._width=W,this._height=R;var j=new l(_,this,this.dpr);j.__builtin__=!0,j.initContext(),N[i]=j,j.zlevel=i,F.push(i),this._domRoot=_}else{this._width=this._getSize(0),this._height=this._getSize(1);var P=this._domRoot=y(this._width,this._height);_.appendChild(P)}this._hoverlayer=null,this._hoverElements=[]};x.prototype={constructor:x,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var _=this.getViewportRoot();if(_)return{offsetLeft:_.offsetLeft||0,offsetTop:_.offsetTop||0}},refresh:function(_){var E=this.storage.getDisplayList(!0),I=this._zlevelList;this._redrawId=Math.random(),this._paintList(E,_,this._redrawId);for(var L=0;L<I.length;L++){var D=I[L],F=this._layers[D];if(!F.__builtin__&&F.refresh){var N=L===0?this._backgroundColor:null;F.refresh(N)}}return this.refreshHover(),this},addHover:function(_,E){if(_.__hoverMir)return;var I=new _.constructor({style:_.style,shape:_.shape,z:_.z,z2:_.z2,silent:_.silent});return I.__from=_,_.__hoverMir=I,E&&I.setStyle(E),this._hoverElements.push(I),I},removeHover:function(_){var E=_.__hoverMir,I=this._hoverElements,L=b.indexOf(I,E);L>=0&&I.splice(L,1),_.__hoverMir=null},clearHover:function(_){for(var E=this._hoverElements,I=0;I<E.length;I++){var L=E[I].__from;L&&(L.__hoverMir=null)}E.length=0},refreshHover:function(){var _=this._hoverElements,E=_.length,I=this._hoverlayer;if(I&&I.clear(),!E)return;f(_,this.storage.displayableSortFunc),I||(I=this._hoverlayer=this.getLayer(n));var L={};I.ctx.save();for(var D=0;D<E;){var F=_[D],N=F.__from;if(!(N&&N.__zr)){_.splice(D,1),N.__hoverMir=null,E--;continue}D++,N.invisible||(F.transform=N.transform,F.invTransform=N.invTransform,F.__clipPaths=N.__clipPaths,this._doPaintEl(F,I,!0,L))}I.ctx.restore()},getHoverLayer:function(){return this.getLayer(n)},_paintList:function(_,E,I){if(this._redrawId!==I)return;E=E||!1,this._updateLayerStatus(_);var L=this._doPaintList(_,E);if(this._needsManuallyCompositing&&this._compositeManually(),!L){var D=this;u(function(){D._paintList(_,E,I)})}},_compositeManually:function(){var _=this.getLayer(i).ctx,E=this._domRoot.width,I=this._domRoot.height;_.clearRect(0,0,E,I),this.eachBuiltinLayer(function(L){L.virtual&&_.drawImage(L.dom,0,0,E,I)})},_doPaintList:function(_,E){for(var I=[],L=0;L<this._zlevelList.length;L++){var D=this._zlevelList[L],F=this._layers[D];F.__builtin__&&F!==this._hoverlayer&&(F.__dirty||E)&&I.push(F)}for(var N=!0,P=0;P<I.length;P++){var F=I[P],W=F.ctx,R={};W.save();var j=E?F.__startIndex:F.__drawIndex,H=!E&&F.incremental&&Date.now,K=H&&Date.now(),U=F.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(F.__startIndex===F.__endIndex)F.clear(!1,U);else if(j===F.__startIndex){var G=_[j];(!G.incremental||!G.notClear||E)&&F.clear(!1,U)}j===-1&&(console.error("For some unknown reason. drawIndex is -1"),j=F.__startIndex);for(var z=j;z<F.__endIndex;z++){var Y=_[z];if(this._doPaintEl(Y,F,E,R),Y.__dirty=Y.__dirtyText=!1,H){var q=Date.now()-K;if(q>15)break}}F.__drawIndex=z,F.__drawIndex<F.__endIndex&&(N=!1),R.prevElClipPaths&&W.restore(),W.restore()}return e.wxa&&b.each(this._layers,function(oe){oe&&oe.ctx&&oe.ctx.draw&&oe.ctx.draw()}),N},_doPaintEl:function(_,E,I,L){var D=E.ctx,F=_.transform;if((E.__dirty||I)&&!_.invisible&&_.style.opacity!==0&&!(F&&!F[0]&&!F[3])&&!(_.culling&&p(_,this._width,this._height))){var N=_.__clipPaths,P=L.prevElClipPaths;(!P||m(N,P))&&(P&&(D.restore(),L.prevElClipPaths=null,L.prevEl=null),N&&(D.save(),S(N,D),L.prevElClipPaths=N)),_.beforeBrush&&_.beforeBrush(D),_.brush(D,L.prevEl||null),L.prevEl=_,_.afterBrush&&_.afterBrush(D)}},getLayer:function(_,E){this._singleCanvas&&!this._needsManuallyCompositing&&(_=i);var I=this._layers[_];return I||(I=new l("zr_"+_,this,this.dpr),I.zlevel=_,I.__builtin__=!0,this._layerConfig[_]?b.merge(I,this._layerConfig[_],!0):this._layerConfig[_-r]&&b.merge(I,this._layerConfig[_-r],!0),E&&(I.virtual=E),this.insertLayer(_,I),I.initContext()),I},insertLayer:function(_,E){var I=this._layers,L=this._zlevelList,D=L.length,F=null,N=-1,P=this._domRoot;if(I[_]){g("ZLevel "+_+" has been used already");return}if(!a(E)){g("Layer of zlevel "+_+" is not valid");return}if(D>0&&_>L[0]){for(N=0;N<D-1&&!(L[N]<_&&L[N+1]>_);N++);F=I[L[N]]}if(L.splice(N+1,0,_),I[_]=E,!E.virtual)if(F){var W=F.dom;W.nextSibling?P.insertBefore(E.dom,W.nextSibling):P.appendChild(E.dom)}else P.firstChild?P.insertBefore(E.dom,P.firstChild):P.appendChild(E.dom)},eachLayer:function(_,E){var I=this._zlevelList,L,D;for(D=0;D<I.length;D++)L=I[D],_.call(E,this._layers[L],L)},eachBuiltinLayer:function(_,E){var I=this._zlevelList,L,D,F;for(F=0;F<I.length;F++)D=I[F],L=this._layers[D],L.__builtin__&&_.call(E,L,D)},eachOtherLayer:function(_,E){var I=this._zlevelList,L,D,F;for(F=0;F<I.length;F++)D=I[F],L=this._layers[D],L.__builtin__||_.call(E,L,D)},getLayers:function(){return this._layers},_updateLayerStatus:function(_){this.eachBuiltinLayer(function(R,j){R.__dirty=R.__used=!1});function E(R){D&&(D.__endIndex!==R&&(D.__dirty=!0),D.__endIndex=R)}if(this._singleCanvas)for(var I=1;I<_.length;I++){var L=_[I];if(L.zlevel!==_[I-1].zlevel||L.incremental){this._needsManuallyCompositing=!0;break}}for(var D=null,F=0,N,I=0;I<_.length;I++){var L=_[I],P=L.zlevel,W;N!==P&&(N=P,F=0),L.incremental?(W=this.getLayer(P+s,this._needsManuallyCompositing),W.incremental=!0,F=1):W=this.getLayer(P+(F>0?r:0),this._needsManuallyCompositing),W.__builtin__||g("ZLevel "+P+" has been used by unkown layer "+W.id),W!==D&&(W.__used=!0,W.__startIndex!==I&&(W.__dirty=!0),W.__startIndex=I,W.incremental?W.__drawIndex=-1:W.__drawIndex=I,E(I),D=W),L.__dirty&&(W.__dirty=!0,W.incremental&&W.__drawIndex<0&&(W.__drawIndex=I))}E(I),this.eachBuiltinLayer(function(R,j){!R.__used&&R.getElementCount()>0&&(R.__dirty=!0,R.__startIndex=R.__endIndex=R.__drawIndex=0),R.__dirty&&R.__drawIndex<0&&(R.__drawIndex=R.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(_){_.clear()},setBackgroundColor:function(_){this._backgroundColor=_},configLayer:function(_,E){if(E){var I=this._layerConfig;I[_]?b.merge(I[_],E,!0):I[_]=E;for(var L=0;L<this._zlevelList.length;L++){var D=this._zlevelList[L];if(D===_||D===_+r){var F=this._layers[D];b.merge(F,I[_],!0)}}}},delLayer:function(_){var E=this._layers,I=this._zlevelList,L=E[_];if(!L)return;L.dom.parentNode.removeChild(L.dom),delete E[_],I.splice(b.indexOf(I,_),1)},resize:function(_,E){if(this._domRoot.style){var I=this._domRoot;I.style.display="none";var L=this._opts;if(_!=null&&(L.width=_),E!=null&&(L.height=E),_=this._getSize(0),E=this._getSize(1),I.style.display="",this._width!==_||E!==this._height){I.style.width=_+"px",I.style.height=E+"px";for(var D in this._layers)this._layers.hasOwnProperty(D)&&this._layers[D].resize(_,E);b.each(this._progressiveLayers,function(F){F.resize(_,E)}),this.refresh(!0)}this._width=_,this._height=E}else{if(_==null||E==null)return;this._width=_,this._height=E,this.getLayer(i).resize(_,E)}return this},clearLayer:function(_){var E=this._layers[_];E&&E.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(_){if(_=_||{},this._singleCanvas&&!this._compositeManually)return this._layers[i].dom;var E=new l("image",this,_.pixelRatio||this.dpr);if(E.initContext(),E.clear(!1,_.backgroundColor||this._backgroundColor),_.pixelRatio<=this.dpr){this.refresh();var I=E.dom.width,L=E.dom.height,D=E.ctx;this.eachLayer(function(R){R.__builtin__?D.drawImage(R.dom,0,0,I,L):R.renderToCanvas&&(E.ctx.save(),R.renderToCanvas(E.ctx),E.ctx.restore())})}else for(var F={},N=this.storage.getDisplayList(!0),P=0;P<N.length;P++){var W=N[P];this._doPaintEl(W,E,!0,F)}return E.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(_){var E=this._opts,I=["width","height"][_],L=["clientWidth","clientHeight"][_],D=["paddingLeft","paddingTop"][_],F=["paddingRight","paddingBottom"][_];if(E[I]!=null&&E[I]!=="auto")return parseFloat(E[I]);var N=this.root,P=document.defaultView.getComputedStyle(N);return(N[L]||t(P[I])||t(N.style[I]))-(t(P[D])||0)-(t(P[F])||0)|0},pathToImage:function(_,E){E=E||this.dpr;var I=document.createElement("canvas"),L=I.getContext("2d"),D=_.getBoundingRect(),F=_.style,N=F.shadowBlur*E,P=F.shadowOffsetX*E,W=F.shadowOffsetY*E,R=F.hasStroke()?F.lineWidth:0,j=Math.max(R/2,-P+N),H=Math.max(R/2,P+N),K=Math.max(R/2,-W+N),U=Math.max(R/2,W+N),G=D.width+j+H,z=D.height+K+U;I.width=G*E,I.height=z*E,L.scale(E,E),L.clearRect(0,0,G,z),L.dpr=E;var Y={position:_.position,rotation:_.rotation,scale:_.scale};_.position=[j-D.x,K-D.y],_.rotation=0,_.scale=[1,1],_.updateTransform(),_&&_.brush(L);var q=o,oe=new q({style:{x:0,y:0,image:I}});return Y.position!=null&&(oe.position=_.position=Y.position),Y.rotation!=null&&(oe.rotation=_.rotation=Y.rotation),Y.scale!=null&&(oe.scale=_.scale=Y.scale),oe}};var C=x;k.exports=C},"7a+S":function(k,B,d){var w=d("bYtY"),A=d("bLfw"),b=d("YXkt"),g=d("4NO4"),v=A.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(l,u,o){this._data,this._names,this.mergeDefaultAndTheme(l,o),this._initData()},mergeOption:function(l){v.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(l){l==null&&(l=this.option.currentIndex);var u=this._data.count();this.option.loop?l=(l%u+u)%u:(l>=u&&(l=u-1),l<0&&(l=0)),this.option.currentIndex=l},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(l){this.option.autoPlay=!!l},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var l=this.option,u=l.data||[],o=l.axisType,e=this._names=[];if(o==="category"){var n=[];w.each(u,function(s,t){var a=g.getDataItemValue(s),c;w.isObject(s)?(c=w.clone(s),c.value=t):c=t,n.push(c),!w.isString(a)&&(a==null||isNaN(a))&&(a=""),e.push(a+"")}),u=n}var i={category:"ordinal",time:"time"}[o]||"number",r=this._data=new b([{name:"value",type:i}],this);r.initData(u,e)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),f=v;k.exports=f},"7aKB":function(k,B,d){var w=d("bYtY"),A=d("6GrX"),b=d("OELB");function g(y){return isNaN(y)?"-":(y=(y+"").split("."),y[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(y.length>1?"."+y[1]:""))}function v(y,x){return y=(y||"").toLowerCase().replace(/-(.)/g,function(C,T){return T.toUpperCase()}),x&&y&&(y=y.charAt(0).toUpperCase()+y.slice(1)),y}var f=w.normalizeCssArray,l=/([&<>"'])/g,u={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function o(y){return y==null?"":(y+"").replace(l,function(x,C){return u[C]})}var e=["a","b","c","d","e","f","g"],n=function(y,x){return"{"+y+(x==null?"":x)+"}"};function i(y,x,C){w.isArray(x)||(x=[x]);var T=x.length;if(!T)return"";for(var _=x[0].$vars||[],E=0;E<_.length;E++){var I=e[E];y=y.replace(n(I),n(I,0))}for(var L=0;L<T;L++)for(var D=0;D<_.length;D++){var F=x[L][_[D]];y=y.replace(n(e[D],L),C?o(F):F)}return y}function r(y,x,C){return w.each(x,function(T,_){y=y.replace("{"+_+"}",C?o(T):T)}),y}function s(y,x){y=w.isString(y)?{color:y,extraCssText:x}:y||{};var C=y.color,T=y.type,x=y.extraCssText,_=y.renderMode||"html",E=y.markerId||"X";return C?_==="html"?T==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+o(C)+";"+(x||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+o(C)+";"+(x||"")+'"></span>':{renderMode:_,content:"{marker"+E+"|} ",style:{color:C}}:""}function t(y,x){return y+="","0000".substr(0,x-y.length)+y}function a(y,x,C){(y==="week"||y==="month"||y==="quarter"||y==="half-year"||y==="year")&&(y=`MM-dd
yyyy`);var T=b.parseDate(x),_=C?"UTC":"",E=T["get"+_+"FullYear"](),I=T["get"+_+"Month"]()+1,L=T["get"+_+"Date"](),D=T["get"+_+"Hours"](),F=T["get"+_+"Minutes"](),N=T["get"+_+"Seconds"](),P=T["get"+_+"Milliseconds"]();return y=y.replace("MM",t(I,2)).replace("M",I).replace("yyyy",E).replace("yy",E%100).replace("dd",t(L,2)).replace("d",L).replace("hh",t(D,2)).replace("h",D).replace("mm",t(F,2)).replace("m",F).replace("ss",t(N,2)).replace("s",N).replace("SSS",t(P,3)),y}function c(y){return y&&y.charAt(0).toUpperCase()+y.substr(1)}var h=A.truncateText;function p(y){return A.getBoundingRect(y.text,y.font,y.textAlign,y.textVerticalAlign,y.textPadding,y.textLineHeight,y.rich,y.truncate)}function m(y,x,C,T,_,E,I,L){return A.getBoundingRect(y,x,C,T,_,L,E,I)}function S(y,x){if(x==="_blank"||x==="blank"){var C=window.open();C.opener=null,C.location=y}else window.open(y,x)}B.addCommas=g,B.toCamelCase=v,B.normalizeCssArray=f,B.encodeHTML=o,B.formatTpl=i,B.formatTplSimple=r,B.getTooltipMarker=s,B.formatTime=a,B.capitalFirst=c,B.truncateText=h,B.getTextBoundingRect=p,B.getTextRect=m,B.windowOpen=S},"7bkD":function(k,B,d){var w=d("bYtY");function A(b,g){g=g||{};var v=b.coordinateSystem,f=b.axis,l={},u=f.position,o=f.orient,e=v.getRect(),n=[e.x,e.x+e.width,e.y,e.y+e.height],i={horizontal:{top:n[2],bottom:n[3]},vertical:{left:n[0],right:n[1]}};l.position=[o==="vertical"?i.vertical[u]:n[0],o==="horizontal"?i.horizontal[u]:n[3]];var r={horizontal:0,vertical:1};l.rotation=Math.PI/2*r[o];var s={top:-1,bottom:1,right:1,left:-1};l.labelDirection=l.tickDirection=l.nameDirection=s[u],b.get("axisTick.inside")&&(l.tickDirection=-l.tickDirection),w.retrieve(g.labelInside,b.get("axisLabel.inside"))&&(l.labelDirection=-l.labelDirection);var t=g.rotate;return t==null&&(t=b.get("axisLabel.rotate")),l.labelRotation=u==="top"?-t:t,l.z2=1,l}B.layout=A},"7hqr":function(k,B,d){var w=d("bYtY"),A=w.each,b=w.isString;function g(l,u,o){o=o||{};var e=o.byIndex,n=o.stackedCoordDimension,i=!!(l&&l.get("stack")),r,s,t,a;if(A(u,function(m,S){b(m)&&(u[S]=m={name:m}),i&&!m.isExtraCoord&&(!e&&!r&&m.ordinalMeta&&(r=m),!s&&m.type!=="ordinal"&&m.type!=="time"&&(!n||n===m.coordDim)&&(s=m))}),s&&!e&&!r&&(e=!0),s){t="__\0ecstackresult",a="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var c=s.coordDim,h=s.type,p=0;A(u,function(m){m.coordDim===c&&p++}),u.push({name:t,coordDim:c,coordDimIndex:p,type:h,isExtraCoord:!0,isCalculationCoord:!0}),p++,u.push({name:a,coordDim:a,coordDimIndex:p,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:s&&s.name,stackedByDimension:r&&r.name,isStackedByIndex:e,stackedOverDimension:a,stackResultDimension:t}}function v(l,u){return!!u&&u===l.getCalculationInfo("stackedDimension")}function f(l,u){return v(l,u)?l.getCalculationInfo("stackResultDimension"):u}B.enableDataStack=g,B.isDimensionStacked=v,B.getStackedDimension=f},"7mYs":function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS"),g=d("7aKB"),v=d("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"]},l={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},u=w.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(o,e,n){var i=this.group;i.removeAll();var r=o.coordinateSystem,s=r.getRangeInfo(),t=r.getOrient();this._renderDayRect(o,s,i),this._renderLines(o,s,t,i),this._renderYearText(o,s,t,i),this._renderMonthText(o,t,i),this._renderWeekText(o,s,t,i)},_renderDayRect:function(o,e,n){for(var i=o.coordinateSystem,r=o.getModel("itemStyle").getItemStyle(),s=i.getCellWidth(),t=i.getCellHeight(),a=e.start.time;a<=e.end.time;a=i.getNextNDay(a,1).time){var c=i.dataToRect([a],!1).tl,h=new b.Rect({shape:{x:c[0],y:c[1],width:s,height:t},cursor:"default",style:r});n.add(h)}},_renderLines:function(o,e,n,i){var r=this,s=o.coordinateSystem,t=o.getModel("splitLine.lineStyle").getLineStyle(),a=o.get("splitLine.show"),c=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=e.start,p=0;h.time<=e.end.time;p++){S(h.formatedDate),p===0&&(h=s.getDateInfo(e.start.y+"-"+e.start.m));var m=h.date;m.setMonth(m.getMonth()+1),h=s.getDateInfo(m)}S(s.getNextNDay(e.end.time,1).formatedDate);function S(y){r._firstDayOfMonth.push(s.getDateInfo(y)),r._firstDayPoints.push(s.dataToRect([y],!1).tl);var x=r._getLinePointsOfOneWeek(o,y,n);r._tlpoints.push(x[0]),r._blpoints.push(x[x.length-1]),a&&r._drawSplitline(x,t,i)}a&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,c,n),t,i),a&&this._drawSplitline(r._getEdgesPoints(r._blpoints,c,n),t,i)},_getEdgesPoints:function(o,e,n){var i=[o[0].slice(),o[o.length-1].slice()],r=n==="horizontal"?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},_drawSplitline:function(o,e,n){var i=new b.Polyline({z2:20,shape:{points:o},style:e});n.add(i)},_getLinePointsOfOneWeek:function(o,e,n){var i=o.coordinateSystem;e=i.getDateInfo(e);for(var r=[],s=0;s<7;s++){var t=i.getNextNDay(e.time,s),a=i.dataToRect([t.time],!1);r[2*t.day]=a.tl,r[2*t.day+1]=a[n==="horizontal"?"bl":"tr"]}return r},_formatterLabel:function(o,e){return typeof o=="string"&&o?g.formatTplSimple(o,e):typeof o=="function"?o(e):e.nameMap},_yearTextPositionControl:function(o,e,n,i,r){e=e.slice();var s=["center","bottom"];i==="bottom"?(e[1]+=r,s=["center","top"]):i==="left"?e[0]-=r:i==="right"?(e[0]+=r,s=["center","top"]):e[1]-=r;var t=0;return(i==="left"||i==="right")&&(t=Math.PI/2),{rotation:t,position:e,style:{textAlign:s[0],textVerticalAlign:s[1]}}},_renderYearText:function(o,e,n,i){var r=o.getModel("yearLabel");if(!r.get("show"))return;var s=r.get("margin"),t=r.get("position");t||(t=n!=="horizontal"?"top":"left");var a=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(a[0][0]+a[1][0])/2,h=(a[0][1]+a[1][1])/2,p=n==="horizontal"?0:1,m={top:[c,a[p][1]],bottom:[c,a[1-p][1]],left:[a[1-p][0],h],right:[a[p][0],h]},S=e.start.y;+e.end.y>+e.start.y&&(S=S+"-"+e.end.y);var y=r.get("formatter"),x={start:e.start.y,end:e.end.y,nameMap:S},C=this._formatterLabel(y,x),T=new b.Text({z2:30});b.setTextStyle(T.style,r,{text:C}),T.attr(this._yearTextPositionControl(T,m[t],n,t,s)),i.add(T)},_monthTextPositionControl:function(o,e,n,i,r){var s="left",t="top",a=o[0],c=o[1];return n==="horizontal"?(c=c+r,e&&(s="center"),i==="start"&&(t="bottom")):(a=a+r,e&&(t="middle"),i==="start"&&(s="right")),{x:a,y:c,textAlign:s,textVerticalAlign:t}},_renderMonthText:function(o,e,n){var i=o.getModel("monthLabel");if(!i.get("show"))return;var r=i.get("nameMap"),s=i.get("margin"),t=i.get("position"),a=i.get("align"),c=[this._tlpoints,this._blpoints];A.isString(r)&&(r=f[r.toUpperCase()]||[]);var h=t==="start"?0:1,p=e==="horizontal"?0:1;s=t==="start"?-s:s;for(var m=a==="center",S=0;S<c[h].length-1;S++){var y=c[h][S].slice(),x=this._firstDayOfMonth[S];if(m){var C=this._firstDayPoints[S];y[p]=(C[p]+c[0][S+1][p])/2}var T=i.get("formatter"),_=r[+x.m-1],E={yyyy:x.y,yy:(x.y+"").slice(2),MM:x.m,M:+x.m,nameMap:_},I=this._formatterLabel(T,E),L=new b.Text({z2:30});A.extend(b.setTextStyle(L.style,i,{text:I}),this._monthTextPositionControl(y,m,e,t,s)),n.add(L)}},_weekTextPositionControl:function(o,e,n,i,r){var s="center",t="middle",a=o[0],c=o[1],h=n==="start";return e==="horizontal"?(a=a+i+(h?1:-1)*r[0]/2,s=h?"right":"left"):(c=c+i+(h?1:-1)*r[1]/2,t=h?"bottom":"top"),{x:a,y:c,textAlign:s,textVerticalAlign:t}},_renderWeekText:function(o,e,n,i){var r=o.getModel("dayLabel");if(!r.get("show"))return;var s=o.coordinateSystem,t=r.get("position"),a=r.get("nameMap"),c=r.get("margin"),h=s.getFirstDayOfWeek();A.isString(a)&&(a=l[a.toUpperCase()]||[]);var p=s.getNextNDay(e.end.time,7-e.lweek).time,m=[s.getCellWidth(),s.getCellHeight()];c=v.parsePercent(c,m[n==="horizontal"?0:1]),t==="start"&&(p=s.getNextNDay(e.start.time,-(7+e.fweek)).time,c=-c);for(var S=0;S<7;S++){var y=s.getNextNDay(p,S),x=s.dataToRect([y.time],!1).center,C=S;C=Math.abs((S+h)%7);var T=new b.Text({z2:30});A.extend(b.setTextStyle(T.style,r,{text:a[C]}),this._weekTextPositionControl(x,n,t,c,m)),i.add(T)}}});k.exports=u},"7oTu":function(k,B,d){var w=d("IMiH"),A=d("QBsz"),b=A.applyTransform,g=w.CMD,v=[[],[],[]],f=Math.sqrt,l=Math.atan2;function u(o,e){var n=o.data,i,r,s,t,a,c,h=g.M,p=g.C,m=g.L,S=g.R,y=g.A,x=g.Q;for(s=0,t=0;s<n.length;){i=n[s++],t=s,r=0;switch(i){case h:r=1;break;case m:r=1;break;case p:r=3;break;case x:r=2;break;case y:var C=e[4],T=e[5],_=f(e[0]*e[0]+e[1]*e[1]),E=f(e[2]*e[2]+e[3]*e[3]),I=l(-e[1]/E,e[0]/_);n[s]*=_,n[s++]+=C,n[s]*=E,n[s++]+=T,n[s++]*=_,n[s++]*=E,n[s++]+=I,n[s++]+=I,s+=2,t=s;break;case S:c[0]=n[s++],c[1]=n[s++],b(c,c,e),n[t++]=c[0],n[t++]=c[1],c[0]+=n[s++],c[1]+=n[s++],b(c,c,e),n[t++]=c[0],n[t++]=c[1]}for(a=0;a<r;a++){var c=v[a];c[0]=n[s++],c[1]=n[s++],b(c,c,e),n[t++]=c[0],n[t++]=c[1]}}}k.exports=u},"7pVf":function(k,B,d){var w=d("ProS"),A=d("ZqQs");d("oE7X"),d("OUJF"),d("3X6L"),d("NH9N"),w.registerPreprocessor(A)},"7ph2":function(k,B){function d(b){return b instanceof Array||(b=[b,b]),b}var w="lineStyle.opacity".split("."),A={seriesType:"lines",reset:function(b,g,v){var f=d(b.get("symbol")),l=d(b.get("symbolSize")),u=b.getData();u.setVisual("fromSymbol",f&&f[0]),u.setVisual("toSymbol",f&&f[1]),u.setVisual("fromSymbolSize",l&&l[0]),u.setVisual("toSymbolSize",l&&l[1]),u.setVisual("opacity",b.get(w));function o(e,n){var i=e.getItemModel(n),r=d(i.getShallow("symbol",!0)),s=d(i.getShallow("symbolSize",!0)),t=i.get(w);r[0]&&e.setItemVisual(n,"fromSymbol",r[0]),r[1]&&e.setItemVisual(n,"toSymbol",r[1]),s[0]&&e.setItemVisual(n,"fromSymbolSize",s[0]),s[1]&&e.setItemVisual(n,"toSymbolSize",s[1]),e.setItemVisual(n,"opacity",t)}return{dataEach:u.hasItemOption?o:null}}};k.exports=A},"7uqq":function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),g=d("bYtY"),v=d("AUH6"),f=d("+TT/"),l=d("OELB"),u=d("W4dC"),o=d("7DRL");function e(s,t){var a=s.get("boundingCoords");if(a!=null){var c=a[0],h=a[1];isNaN(c[0])||isNaN(c[1])||isNaN(h[0])||isNaN(h[1])||this.setBoundingRect(c[0],c[1],h[0]-c[0],h[1]-c[1])}var p=this.getBoundingRect(),m,S=s.get("layoutCenter"),y=s.get("layoutSize"),x=t.getWidth(),C=t.getHeight(),T=p.width/p.height*this.aspectScale,_=!1;S&&y&&(S=[l.parsePercent(S[0],x),l.parsePercent(S[1],C)],y=l.parsePercent(y,Math.min(x,C)),!isNaN(S[0])&&!isNaN(S[1])&&!isNaN(y)&&(_=!0));var E;if(_){var E={};T>1?(E.width=y,E.height=y/T):(E.height=y,E.width=y*T),E.y=S[1]-E.height/2,E.x=S[0]-E.width/2}else m=s.getBoxLayoutParams(),m.aspect=T,E=f.getLayoutRect(m,{width:x,height:C});this.setViewRect(E.x,E.y,E.width,E.height),this.setCenter(s.get("center")),this.setZoom(s.get("zoom"))}function n(s,t){g.each(t.get("geoCoord"),function(a,c){s.addGeoCoord(c,a)})}var i={dimensions:v.prototype.dimensions,create:function(s,t){var a=[];s.eachComponent("geo",function(h,p){var m=h.get("map"),S=h.get("aspectScale"),y=!0,x=o.retrieveMap(m);x&&x[0]&&x[0].type==="svg"?(S==null&&(S=1),y=!1):S==null&&(S=.75);var C=new v(m+p,m,h.get("nameMap"),y);C.aspectScale=S,C.zoomLimit=h.get("scaleLimit"),a.push(C),n(C,h),h.coordinateSystem=C,C.model=h,C.resize=e,C.resize(h,t)}),s.eachSeries(function(h){var p=h.get("coordinateSystem");if(p==="geo"){var m=h.get("geoIndex")||0;h.coordinateSystem=a[m]}});var c={};return s.eachSeriesByType("map",function(h){if(!h.getHostGeoModel()){var p=h.getMapType();c[p]=c[p]||[],c[p].push(h)}}),g.each(c,function(h,p){var m=g.map(h,function(y){return y.get("nameMap")}),S=new v(p,p,g.mergeAll(m));S.zoomLimit=g.retrieve.apply(null,g.map(h,function(y){return y.get("scaleLimit")})),a.push(S),S.resize=e,S.aspectScale=h[0].get("aspectScale"),S.resize(h[0],t),g.each(h,function(y){y.coordinateSystem=S,n(S,y)})}),a},getFilledRegions:function(s,t,a){for(var c=(s||[]).slice(),h=g.createHashMap(),p=0;p<c.length;p++)h.set(c[p].name,c[p]);var m=u.load(t,a);return g.each(m.regions,function(S){var y=S.name;!h.get(y)&&c.push({name:y})}),c}};b.registerCoordinateSystem("geo",i);var r=i;k.exports=r},"7yuC":function(k,B,d){var w=d("QBsz"),A=w.scaleAndAdd;function b(g,v,f){for(var l=f.rect,u=l.width,o=l.height,e=[l.x+u/2,l.y+o/2],n=f.gravity==null?.1:f.gravity,i=0;i<g.length;i++){var r=g[i];r.p||(r.p=w.create(u*(Math.random()-.5)+e[0],o*(Math.random()-.5)+e[1])),r.pp=w.clone(r.p),r.edges=null}var s=f.friction==null?.6:f.friction,t=s;return{warmUp:function(){t=s*.8},setFixed:function(a){g[a].fixed=!0},setUnfixed:function(a){g[a].fixed=!1},step:function(a){for(var c=[],h=g.length,p=0;p<v.length;p++){var m=v[p];if(m.ignoreForceLayout)continue;var S=m.n1,y=m.n2;w.sub(c,y.p,S.p);var x=w.len(c)-m.d,C=y.w/(S.w+y.w);isNaN(C)&&(C=0),w.normalize(c,c),!S.fixed&&A(S.p,S.p,c,C*x*t),!y.fixed&&A(y.p,y.p,c,-(1-C)*x*t)}for(var p=0;p<h;p++){var T=g[p];T.fixed||(w.sub(c,e,T.p),A(T.p,T.p,c,n*t))}for(var p=0;p<h;p++)for(var S=g[p],_=p+1;_<h;_++){var y=g[_];w.sub(c,y.p,S.p);var x=w.len(c);x===0&&(w.set(c,Math.random()-.5,Math.random()-.5),x=1);var E=(S.rep+y.rep)/x/x;!S.fixed&&A(S.pp,S.pp,c,E),!y.fixed&&A(y.pp,y.pp,c,-E)}for(var I=[],p=0;p<h;p++){var T=g[p];T.fixed||(w.sub(I,T.p,T.pp),A(T.p,T.p,I,t),w.copy(T.pp,T.p))}t=t*.992,a&&a(g,v,t<.01)}}}B.forceLayout=b},"8+yF":function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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},A={lookup:function(g){if(g>=32&&g<=255)return g;var v=w[g];return v!==void 0?v:16777216|g}};B.default=A},"815F":function(k,B,d){"use strict";d.d(B,"e",function(){return u}),d.d(B,"c",function(){return e}),d.d(B,"d",function(){return n}),d.d(B,"a",function(){return r}),d.d(B,"f",function(){return s}),d.d(B,"b",function(){return t});var w=d("U8pU"),A=d("KQm4"),b=d("VTBJ"),g=d("Ff2n"),v=d("Zm9Q"),f=d("Kwbf"),l=d("OZM5");function u(a,c){return a!=null?a:c}function o(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=new Map;function h(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(p||[]).forEach(function(S){var y=S.key,x=S.children;Object(f.a)(y!=null,"Tree node must have a certain key: [".concat(m).concat(y,"]"));var C=String(y);Object(f.a)(!c.has(C)||y===null||y===void 0,"Same 'key' exist in the Tree: ".concat(C)),c.set(C,!0),h(x,"".concat(m).concat(C," > "))})}h(a)}function e(a){function c(h){var p=Object(v.a)(h);return p.map(function(m){if(!Object(l.i)(m))return Object(f.a)(!m,"Tree/TreeNode can only accept TreeNode as children."),null;var S=m.key,y=m.props,x=y.children,C=Object(g.a)(y,["children"]),T=Object(b.a)({key:S},C),_=c(x);return _.length&&(T.children=_),T}).filter(function(m){return m})}return c(a)}function n(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],h=new Set(c===!0?[]:c),p=[];function m(S){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return S.map(function(x,C){var T=Object(l.h)(y?y.pos:"0",C),_=u(x.key,T),E=Object(b.a)(Object(b.a)({},x),{},{parent:y,pos:T,children:null,data:x,isStart:[].concat(Object(A.a)(y?y.isStart:[]),[C===0]),isEnd:[].concat(Object(A.a)(y?y.isEnd:[]),[C===S.length-1])});return p.push(E),c===!0||h.has(_)?E.children=m(x.children||[],E):E.children=[],E})}return m(a),p}function i(a,c,h){var p=null,m,S=Object(w.a)(h);S==="function"||S==="string"?p=h:h&&S==="object"&&(m=h.childrenPropName,p=h.externalGetKey),m=m||"children";var y;p?typeof p=="string"?y=function(T){return T[p]}:typeof p=="function"&&(y=function(T){return p(T)}):y=function(T,_){return u(T.key,_)};function x(C,T,_){var E=C?C[m]:a,I=C?Object(l.h)(_.pos,T):"0";if(C){var L=y(C,I),D={node:C,index:T,pos:I,key:L,parentPos:_.node?_.pos:null,level:_.level+1};c(D)}E&&E.forEach(function(F,N){x(F,N,{node:C,pos:I,level:_?_.level+1:-1})})}x(null)}function r(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=c.initWrapper,p=c.processEntity,m=c.onProcessFinished,S=c.externalGetKey,y=c.childrenPropName,x=arguments.length>2?arguments[2]:void 0,C=S||x,T={},_={},E={posEntities:T,keyEntities:_};return h&&(E=h(E)||E),i(a,function(I){var L=I.node,D=I.index,F=I.pos,N=I.key,P=I.parentPos,W=I.level,R={node:L,index:D,key:N,pos:F,level:W},j=u(N,F);T[F]=R,_[j]=R,R.parent=T[P],R.parent&&(R.parent.children=R.parent.children||[],R.parent.children.push(R)),p&&p(R,E)},{externalGetKey:C,childrenPropName:y}),m&&m(E),E}function s(a,c){var h=c.expandedKeys,p=c.selectedKeys,m=c.loadedKeys,S=c.loadingKeys,y=c.checkedKeys,x=c.halfCheckedKeys,C=c.dragOverNodeKey,T=c.dropPosition,_=c.keyEntities,E=_[a],I={eventKey:a,expanded:h.indexOf(a)!==-1,selected:p.indexOf(a)!==-1,loaded:m.indexOf(a)!==-1,loading:S.indexOf(a)!==-1,checked:y.indexOf(a)!==-1,halfChecked:x.indexOf(a)!==-1,pos:String(E?E.pos:""),dragOver:C===a&&T===0,dragOverGapTop:C===a&&T===-1,dragOverGapBottom:C===a&&T===1};return I}function t(a){var c=a.data,h=a.expanded,p=a.selected,m=a.checked,S=a.loaded,y=a.loading,x=a.halfChecked,C=a.dragOver,T=a.dragOverGapTop,_=a.dragOverGapBottom,E=a.pos,I=a.active,L=Object(b.a)(Object(b.a)({},c),{},{expanded:h,selected:p,checked:m,loaded:S,loading:y,halfChecked:x,dragOver:C,dragOverGapTop:T,dragOverGapBottom:_,pos:E,active:I});return"props"in L||Object.defineProperty(L,"props",{get:function(){return Object(f.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),a}}),L}},"8CQX":function(k,B,d){"use strict";function w(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(a){return typeof a}:w=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},w(s)}Object.defineProperty(B,"__esModule",{value:!0}),B.getKeycode=n,B.getKey=i,B.getKeysym=r;var A=e(d("mHUz")),b=e(d("8+yF")),g=e(d("6Qwc")),v=e(d("gIYZ")),f=e(d("mTgk")),l=o(d("GdRQ"));function u(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return u=function(){return s},s}function o(s){if(s&&s.__esModule)return s;if(s===null||w(s)!=="object"&&typeof s!="function")return{default:s};var t=u();if(t&&t.has(s))return t.get(s);var a={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in s)if(Object.prototype.hasOwnProperty.call(s,h)){var p=c?Object.getOwnPropertyDescriptor(s,h):null;p&&(p.get||p.set)?Object.defineProperty(a,h,p):a[h]=s[h]}return a.default=s,t&&t.set(s,a),a}function e(s){return s&&s.__esModule?s:{default:s}}function n(s){if(s.code){switch(s.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return s.code}if(s.type!=="keypress"&&s.keyCode in g.default){var t=g.default[s.keyCode];if(l.isMac()&&t==="ContextMenu"&&(t="MetaRight"),s.location===2)switch(t){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(s.location===3)switch(t){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return t}return"Unidentified"}function i(s){if(s.key!==void 0){switch(s.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 s.char}switch(s.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(s.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(s.key==="\0"&&s.code==="NumpadDecimal")return"Delete";if(!l.isIE()&&!l.isEdge())return s.key;if(s.key.length!==1&&s.key!=="Unidentified")return s.key}var t=n(s);return t in v.default?v.default[t]:s.charCode?String.fromCharCode(s.charCode):"Unidentified"}function r(s){var t=i(s);if(t==="Unidentified")return null;if(t in f.default){var a=s.location;if(t==="Meta"&&a===0&&(a=2),t==="Clear"&&a===3){var c=n(s);c==="NumLock"&&(a=0)}if((a===void 0||a>3)&&(a=0),t==="Meta"){var h=n(s);if(h==="AltLeft")return A.default.XK_Meta_L;if(h==="AltRight")return A.default.XK_Meta_R}if(t==="Clear"){var p=n(s);if(p==="NumLock")return A.default.XK_Num_Lock}return f.default[t][a]}if(t.length!==1)return null;var m=t.charCodeAt();return m?b.default.lookup(m):null}},"8EBN":function(k,B,d){(function(w){w(d("VrN/"))})(function(w){"use strict";w.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 A=0;A<w.modeInfo.length;A++){var b=w.modeInfo[A];b.mimes&&(b.mime=b.mimes[0])}w.findModeByMIME=function(g){g=g.toLowerCase();for(var v=0;v<w.modeInfo.length;v++){var f=w.modeInfo[v];if(f.mime==g)return f;if(f.mimes){for(var l=0;l<f.mimes.length;l++)if(f.mimes[l]==g)return f}}if(/\+xml$/.test(g))return w.findModeByMIME("application/xml");if(/\+json$/.test(g))return w.findModeByMIME("application/json")},w.findModeByExtension=function(g){g=g.toLowerCase();for(var v=0;v<w.modeInfo.length;v++){var f=w.modeInfo[v];if(f.ext){for(var l=0;l<f.ext.length;l++)if(f.ext[l]==g)return f}}},w.findModeByFileName=function(g){for(var v=0;v<w.modeInfo.length;v++){var f=w.modeInfo[v];if(f.file&&f.file.test(g))return f}var l=g.lastIndexOf("."),u=l>-1&&g.substring(l+1,g.length);if(u)return w.findModeByExtension(u)},w.findModeByName=function(g){g=g.toLowerCase();for(var v=0;v<w.modeInfo.length;v++){var f=w.modeInfo[v];if(f.name.toLowerCase()==g)return f;if(f.alias){for(var l=0;l<f.alias.length;l++)if(f.alias[l].toLowerCase()==g)return f}}}})},"8K/p":function(k,B,d){"use strict";function w(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(r){return typeof r}:w=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},w(n)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var A=f(d("Lo0S")),b=g(d("ItS6"));function g(n){return n&&n.__esModule?n:{default:n}}function v(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return v=function(){return n},n}function f(n){if(n&&n.__esModule)return n;if(n===null||w(n)!=="object"&&typeof n!="function")return{default:n};var i=v();if(i&&i.has(n))return i.get(n);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t)){var a=s?Object.getOwnPropertyDescriptor(n,t):null;a&&(a.get||a.set)?Object.defineProperty(r,t,a):r[t]=n[t]}return r.default=n,i&&i.set(n,r),r}function l(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function u(n,i){for(var r=0;r<i.length;r++){var s=i[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,s.key,s)}}function o(n,i,r){return i&&u(n.prototype,i),r&&u(n,r),n}var e=function(){function n(){l(this,n),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var i=0;i<4;i++)this._zlibs[i]=new b.default}return o(n,[{key:"decodeRect",value:function(r,s,t,a,c,h,p){if(this._ctl===null){if(c.rQwait("TIGHT compression-control",1))return!1;this._ctl=c.rQshift8();for(var m=0;m<4;m++)this._ctl>>m&1&&(this._zlibs[m].reset(),A.Info("Reset zlib stream "+m));this._ctl=this._ctl>>4}var S;if(this._ctl===8)S=this._fillRect(r,s,t,a,c,h,p);else if(this._ctl===9)S=this._jpegRect(r,s,t,a,c,h,p);else if(this._ctl===10)S=this._pngRect(r,s,t,a,c,h,p);else if((this._ctl&128)==0)S=this._basicRect(this._ctl,r,s,t,a,c,h,p);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return S&&(this._ctl=null),S}},{key:"_fillRect",value:function(r,s,t,a,c,h,p){if(c.rQwait("TIGHT",3))return!1;var m=c.rQi,S=c.rQ;return h.fillRect(r,s,t,a,[S[m+2],S[m+1],S[m]],!1),c.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(r,s,t,a,c,h,p){var m=this._readData(c);return m===null?!1:(h.imageRect(r,s,t,a,"image/jpeg",m),!0)}},{key:"_pngRect",value:function(r,s,t,a,c,h,p){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(r,s,t,a,c,h,p,m){if(this._filter===null)if(r&4){if(h.rQwait("TIGHT",1))return!1;this._filter=h.rQshift8()}else this._filter=0;var S=r&3,y;switch(this._filter){case 0:y=this._copyFilter(S,s,t,a,c,h,p,m);break;case 1:y=this._paletteFilter(S,s,t,a,c,h,p,m);break;case 2:y=this._gradientFilter(S,s,t,a,c,h,p,m);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return y&&(this._filter=null),y}},{key:"_copyFilter",value:function(r,s,t,a,c,h,p,m){var S=a*c*3,y;if(S<12){if(h.rQwait("TIGHT",S))return!1;y=h.rQshiftBytes(S)}else{if(y=this._readData(h),y===null)return!1;this._zlibs[r].setInput(y),y=this._zlibs[r].inflate(S),this._zlibs[r].setInput(null)}return p.blitRgbImage(s,t,a,c,y,0,!1),!0}},{key:"_paletteFilter",value:function(r,s,t,a,c,h,p,m){if(this._numColors===0){if(h.rQwait("TIGHT palette",1))return!1;var S=h.rQpeek8()+1,y=S*3;if(h.rQwait("TIGHT palette",1+y))return!1;this._numColors=S,h.rQskipBytes(1),h.rQshiftTo(this._palette,y)}var x=this._numColors<=2?1:8,C=Math.floor((a*x+7)/8),T=C*c,_;if(T<12){if(h.rQwait("TIGHT",T))return!1;_=h.rQshiftBytes(T)}else{if(_=this._readData(h),_===null)return!1;this._zlibs[r].setInput(_),_=this._zlibs[r].inflate(T),this._zlibs[r].setInput(null)}return this._numColors==2?this._monoRect(s,t,a,c,_,this._palette,p):this._paletteRect(s,t,a,c,_,this._palette,p),this._numColors=0,!0}},{key:"_monoRect",value:function(r,s,t,a,c,h,p){for(var m=this._getScratchBuffer(t*a*4),S=Math.floor((t+7)/8),y=Math.floor(t/8),x=0;x<a;x++){var C=void 0,T=void 0,_=void 0;for(_=0;_<y;_++)for(var E=7;E>=0;E--)C=(x*t+_*8+7-E)*4,T=(c[x*S+_]>>E&1)*3,m[C]=h[T],m[C+1]=h[T+1],m[C+2]=h[T+2],m[C+3]=255;for(var I=7;I>=8-t%8;I--)C=(x*t+_*8+7-I)*4,T=(c[x*S+_]>>I&1)*3,m[C]=h[T],m[C+1]=h[T+1],m[C+2]=h[T+2],m[C+3]=255}p.blitRgbxImage(r,s,t,a,m,0,!1)}},{key:"_paletteRect",value:function(r,s,t,a,c,h,p){for(var m=this._getScratchBuffer(t*a*4),S=t*a*4,y=0,x=0;y<S;y+=4,x++){var C=c[x]*3;m[y]=h[C],m[y+1]=h[C+1],m[y+2]=h[C+2],m[y+3]=255}p.blitRgbxImage(r,s,t,a,m,0,!1)}},{key:"_gradientFilter",value:function(r,s,t,a,c,h,p,m){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(r){if(this._len===0){if(r.rQwait("TIGHT",3))return null;var s;s=r.rQshift8(),this._len=s&127,s&128&&(s=r.rQshift8(),this._len|=(s&127)<<7,s&128&&(s=r.rQshift8(),this._len|=s<<14))}if(r.rQwait("TIGHT",this._len))return null;var t=r.rQshiftBytes(this._len);return this._len=0,t}},{key:"_getScratchBuffer",value:function(r){return(!this._scratchBuffer||this._scratchBuffer.length<r)&&(this._scratchBuffer=new Uint8Array(r)),this._scratchBuffer}}]),n}();B.default=e},"8OUc":function(k,B,d){"use strict";var w=d("q1tI"),A=d.n(w),b=d("TSYQ"),g=d.n(b),v=function(l){var u=l.className,o=l.customizeIcon,e=l.customizeIconProps,n=l.onMouseDown,i=l.onClick,r=l.children,s;return typeof o=="function"?s=o(e):s=o,w.createElement("span",{className:u,onMouseDown:function(a){a.preventDefault(),n&&n(a)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},s!==void 0?s:w.createElement("span",{className:g()(u.split(/\s+/).map(function(t){return"".concat(t,"-icon")}))},r))};B.a=v},"8SMY":function(k,B,d){var w=d("n4Lv"),A=w.prepareDataCoordInfo,b=w.getStackedOnPoint;function g(f,l){var u=[];return l.diff(f).add(function(o){u.push({cmd:"+",idx:o})}).update(function(o,e){u.push({cmd:"=",idx:e,idx1:o})}).remove(function(o){u.push({cmd:"-",idx:o})}).execute(),u}function v(f,l,u,o,e,n,i,r){for(var s=g(f,l),t=[],a=[],c=[],h=[],p=[],m=[],S=[],y=A(e,l,i),x=A(n,f,r),C=0;C<s.length;C++){var T=s[C],_=!0;switch(T.cmd){case"=":var E=f.getItemLayout(T.idx),I=l.getItemLayout(T.idx1);(isNaN(E[0])||isNaN(E[1]))&&(E=I.slice()),t.push(E),a.push(I),c.push(u[T.idx]),h.push(o[T.idx1]),S.push(l.getRawIndex(T.idx1));break;case"+":var L=T.idx;t.push(e.dataToPoint([l.get(y.dataDimsForPoint[0],L),l.get(y.dataDimsForPoint[1],L)])),a.push(l.getItemLayout(L).slice()),c.push(b(y,e,l,L)),h.push(o[L]),S.push(l.getRawIndex(L));break;case"-":var L=T.idx,D=f.getRawIndex(L);D!==L?(t.push(f.getItemLayout(L)),a.push(n.dataToPoint([f.get(x.dataDimsForPoint[0],L),f.get(x.dataDimsForPoint[1],L)])),c.push(u[L]),h.push(b(x,n,f,L)),S.push(D)):_=!1}_&&(p.push(T),m.push(m.length))}m.sort(function(j,H){return S[j]-S[H]});for(var F=[],N=[],P=[],W=[],R=[],C=0;C<m.length;C++){var L=m[C];F[C]=t[L],N[C]=a[L],P[C]=c[L],W[C]=h[L],R[C]=p[L]}return{current:F,next:N,stackedOnCurrent:P,stackedOnNext:W,status:R}}k.exports=v},"8Skl":function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="DownOutlined";var l=B.a=A.forwardRef(f)},"8Th4":function(k,B,d){var w=d("3LNs"),A=d("/y7N"),b=d("7bkD"),g=d("Znkb"),v=["x","y"],f=["width","height"],l=w.extend({makeElOption:function(i,r,s,t,a){var c=s.axis,h=c.coordinateSystem,p=e(h,1-o(c)),m=h.dataToPoint(r)[0],S=t.get("type");if(S&&S!=="none"){var y=A.buildElStyle(t),x=u[S](c,m,p);x.style=y,i.graphicKey=x.type,i.pointer=x}var C=b.layout(s);A.buildCartesianSingleLabelElOption(r,i,C,s,t,a)},getHandleTransform:function(i,r,s){var t=b.layout(r,{labelInside:!1});return t.labelMargin=s.get("handle.margin"),{position:A.getTransformedPosition(r.axis,i,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(i,r,s,t){var a=s.axis,c=a.coordinateSystem,h=o(a),p=e(c,h),m=i.position;m[h]+=r[h],m[h]=Math.min(p[1],m[h]),m[h]=Math.max(p[0],m[h]);var S=e(c,1-h),y=(S[1]+S[0])/2,x=[y,y];return x[h]=m[h],{position:m,rotation:i.rotation,cursorPoint:x,tooltipOption:{verticalAlign:"middle"}}}}),u={line:function(i,r,s){var t=A.makeLineShape([r,s[0]],[r,s[1]],o(i));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(i,r,s){var t=i.getBandWidth(),a=s[1]-s[0];return{type:"Rect",shape:A.makeRectShape([r-t/2,s[0]],[t,a],o(i))}}};function o(i){return i.isHorizontal()?0:1}function e(i,r){var s=i.getRect();return[s[v[r]],s[v[r]]+s[f[r]]]}g.registerAxisPointerClass("SingleAxisPointer",l);var n=l;k.exports=n},"8Uz6":function(k,B,d){var w=d("hNWo"),A=d("+TT/"),b=A.mergeLayoutParam,g=A.getLayoutParams,v=w.extend({type:"legend.scroll",setScrollDataIndex:function(u){this.option.scrollDataIndex=u},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(u,o,e,n){var i=g(u);v.superCall(this,"init",u,o,e,n),f(this,u,i)},mergeOption:function(u,o){v.superCall(this,"mergeOption",u,o),f(this,this.option,u)}});function f(u,o,e){var n=u.getOrient(),i=[1,1];i[n.index]=0,b(o,e,{type:"box",ignoreSize:i})}var l=v;k.exports=l},"8X+K":function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=d("4mN7"),v=g.fromPoints,f=d("9wZj"),l=d("FBjb"),u=d("8SMY"),o=d("IwbS"),e=d("4NO4"),n=d("1NG9"),i=n.Polyline,r=n.Polygon,s=d("6Ic6"),t=d("n4Lv"),a=t.prepareDataCoordInfo,c=t.getStackedOnPoint,h=d("sK/D"),p=h.createGridClipPath,m=h.createPolarClipPath;function S(F,N){if(F.length!==N.length)return;for(var P=0;P<F.length;P++){var W=F[P],R=N[P];if(W[0]!==R[0]||W[1]!==R[1])return}return!0}function y(F,N){var P=[],W=[],R=[],j=[];return v(F,P,W),v(N,R,j),Math.max(Math.abs(P[0]-R[0]),Math.abs(P[1]-R[1]),Math.abs(W[0]-j[0]),Math.abs(W[1]-j[1]))}function x(F){return typeof F=="number"?F:F?.5:0}function C(F,N,P){if(!P.valueDim)return[];for(var W=[],R=0,j=N.count();R<j;R++)W.push(c(P,F,N,R));return W}function T(F,N,P){for(var W=N.getBaseAxis(),R=W.dim==="x"||W.dim==="radius"?0:1,j=[],H=0;H<F.length-1;H++){var K=F[H+1],U=F[H];j.push(U);var G=[];switch(P){case"end":G[R]=K[R],G[1-R]=U[1-R],j.push(G);break;case"middle":var z=(U[R]+K[R])/2,Y=[];G[R]=Y[R]=z,G[1-R]=U[1-R],Y[1-R]=K[1-R],j.push(G),j.push(Y);break;default:G[R]=U[R],G[1-R]=K[1-R],j.push(G)}}return F[H]&&j.push(F[H]),j}function _(F,N){var P=F.getVisual("visualMeta");if(!P||!P.length||!F.count())return;if(N.type!=="cartesian2d")return;for(var W,R,j=P.length-1;j>=0;j--){var H=P[j].dimension,K=F.dimensions[H],U=F.getDimensionInfo(K);if(W=U&&U.coordDim,W==="x"||W==="y"){R=P[j];break}}if(!R)return;var G=N.getAxis(W),z=b.map(R.stops,function(_e){return{coord:G.toGlobalCoord(G.dataToCoord(_e.value)),color:_e.color}}),Y=z.length,q=R.outerColors.slice();Y&&z[0].coord>z[Y-1].coord&&(z.reverse(),q.reverse());var oe=10,ie=z[0].coord-oe,se=z[Y-1].coord+oe,he=se-ie;if(he<.001)return"transparent";b.each(z,function(_e){_e.offset=(_e.coord-ie)/he}),z.push({offset:Y?z[Y-1].offset:.5,color:q[1]||"transparent"}),z.unshift({offset:Y?z[0].offset:.5,color:q[0]||"transparent"});var pe=new o.LinearGradient(0,0,0,0,z,!0);return pe[W]=ie,pe[W+"2"]=se,pe}function E(F,N,P){var W=F.get("showAllSymbol"),R=W==="auto";if(W&&!R)return;var j=P.getAxesByScale("ordinal")[0];if(!j)return;if(R&&I(j,N))return;var H=N.mapDimension(j.dim),K={};return b.each(j.getViewLabels(),function(U){K[U.tickValue]=1}),function(U){return!K.hasOwnProperty(N.get(H,U))}}function I(F,N){var P=F.getExtent(),W=Math.abs(P[1]-P[0])/F.scale.count();isNaN(W)&&(W=0);for(var R=N.count(),j=Math.max(1,Math.round(R/5)),H=0;H<R;H+=j)if(l.getSymbolSize(N,H)[F.isHorizontal()?1:0]*1.5>W)return!1;return!0}function L(F,N,P){if(F.type==="cartesian2d"){var W=F.getBaseAxis().isHorizontal(),R=p(F,N,P);if(!P.get("clip",!0)){var j=R.shape,H=Math.max(j.width,j.height);W?(j.y-=H,j.height+=H*2):(j.x-=H,j.width+=H*2)}return R}else return m(F,N,P)}var D=s.extend({type:"line",init:function(){var F=new o.Group,N=new f;this.group.add(N.group),this._symbolDraw=N,this._lineGroup=F},render:function(F,N,P){var W=F.coordinateSystem,R=this.group,j=F.getData(),H=F.getModel("lineStyle"),K=F.getModel("areaStyle"),U=j.mapArray(j.getItemLayout),G=W.type==="polar",z=this._coordSys,Y=this._symbolDraw,q=this._polyline,oe=this._polygon,ie=this._lineGroup,se=F.get("animation"),he=!K.isEmpty(),pe=K.get("origin"),_e=a(W,j,pe),De=C(W,j,_e),Xe=F.get("showSymbol"),J=Xe&&!G&&E(F,j,W),Ee=this._data;Ee&&Ee.eachItemGraphicEl(function(le,Se){le.__temp&&(R.remove(le),Ee.setItemGraphicEl(Se,null))}),Xe||Y.remove(),R.add(ie);var qe=!G&&F.get("step"),ae;W&&W.getArea&&F.get("clip",!0)&&(ae=W.getArea(),ae.width!=null?(ae.x-=.1,ae.y-=.1,ae.width+=.2,ae.height+=.2):ae.r0&&(ae.r0-=.5,ae.r1+=.5)),this._clipShapeForSymbol=ae,q&&z.type===W.type&&qe===this._step?(he&&!oe?oe=this._newPolygon(U,De,W,se):oe&&!he&&(ie.remove(oe),oe=this._polygon=null),ie.setClipPath(L(W,!1,F)),Xe&&Y.updateData(j,{isIgnore:J,clipShape:ae}),j.eachItemGraphicEl(function(le){le.stopAnimation(!0)}),(!S(this._stackedOnPoints,De)||!S(this._points,U))&&(se?this._updateAnimation(j,De,W,P,qe,pe):(qe&&(U=T(U,W,qe),De=T(De,W,qe)),q.setShape({points:U}),oe&&oe.setShape({points:U,stackedOnPoints:De})))):(Xe&&Y.updateData(j,{isIgnore:J,clipShape:ae}),qe&&(U=T(U,W,qe),De=T(De,W,qe)),q=this._newPolyline(U,W,se),he&&(oe=this._newPolygon(U,De,W,se)),ie.setClipPath(L(W,!0,F)));var V=_(j,W)||j.getVisual("color");q.useStyle(b.defaults(H.getLineStyle(),{fill:"none",stroke:V,lineJoin:"bevel"}));var X=F.get("smooth");if(X=x(F.get("smooth")),q.setShape({smooth:X,smoothMonotone:F.get("smoothMonotone"),connectNulls:F.get("connectNulls")}),oe){var Z=j.getCalculationInfo("stackedOnSeries"),ge=0;oe.useStyle(b.defaults(K.getAreaStyle(),{fill:V,opacity:.7,lineJoin:"bevel"})),Z&&(ge=x(Z.get("smooth"))),oe.setShape({smooth:X,stackedOnSmooth:ge,smoothMonotone:F.get("smoothMonotone"),connectNulls:F.get("connectNulls")})}this._data=j,this._coordSys=W,this._stackedOnPoints=De,this._points=U,this._step=qe,this._valueOrigin=pe},dispose:function(){},highlight:function(F,N,P,W){var R=F.getData(),j=e.queryDataIndex(R,W);if(!(j instanceof Array)&&j!=null&&j>=0){var H=R.getItemGraphicEl(j);if(!H){var K=R.getItemLayout(j);if(!K)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(K[0],K[1]))return;H=new l(R,j),H.position=K,H.setZ(F.get("zlevel"),F.get("z")),H.ignore=isNaN(K[0])||isNaN(K[1]),H.__temp=!0,R.setItemGraphicEl(j,H),H.stopSymbolAnimation(!0),this.group.add(H)}H.highlight()}else s.prototype.highlight.call(this,F,N,P,W)},downplay:function(F,N,P,W){var R=F.getData(),j=e.queryDataIndex(R,W);if(j!=null&&j>=0){var H=R.getItemGraphicEl(j);H&&(H.__temp?(R.setItemGraphicEl(j,null),this.group.remove(H)):H.downplay())}else s.prototype.downplay.call(this,F,N,P,W)},_newPolyline:function(F){var N=this._polyline;return N&&this._lineGroup.remove(N),N=new i({shape:{points:F},silent:!0,z2:10}),this._lineGroup.add(N),this._polyline=N,N},_newPolygon:function(F,N){var P=this._polygon;return P&&this._lineGroup.remove(P),P=new r({shape:{points:F,stackedOnPoints:N},silent:!0}),this._lineGroup.add(P),this._polygon=P,P},_updateAnimation:function(F,N,P,W,R,j){var H=this._polyline,K=this._polygon,U=F.hostModel,G=u(this._data,F,this._stackedOnPoints,N,this._coordSys,P,this._valueOrigin,j),z=G.current,Y=G.stackedOnCurrent,q=G.next,oe=G.stackedOnNext;if(R&&(z=T(G.current,P,R),Y=T(G.stackedOnCurrent,P,R),q=T(G.next,P,R),oe=T(G.stackedOnNext,P,R)),y(z,q)>3e3||K&&y(Y,oe)>3e3){H.setShape({points:q}),K&&K.setShape({points:q,stackedOnPoints:oe});return}H.shape.__points=G.current,H.shape.points=z,o.updateProps(H,{shape:{points:q}},U),K&&(K.setShape({points:z,stackedOnPoints:Y}),o.updateProps(K,{shape:{points:q,stackedOnPoints:oe}},U));for(var ie=[],se=G.status,he=0;he<se.length;he++){var pe=se[he].cmd;if(pe==="="){var _e=F.getItemGraphicEl(se[he].idx1);_e&&ie.push({el:_e,ptIdx:he})}}H.animators&&H.animators.length&&H.animators[0].during(function(){for(var De=0;De<ie.length;De++){var Xe=ie[De].el;Xe.attr("position",H.shape.__points[ie[De].ptIdx])}})},remove:function(F){var N=this.group,P=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),P&&P.eachItemGraphicEl(function(W,R){W.__temp&&(N.remove(W),P.setItemGraphicEl(R,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});k.exports=D},"8XDt":function(k,B,d){d("qH13");var w=d("aX58"),A=w.registerPainter,b=d("6fms");A("vml",b)},"8hn6":function(k,B){var d="#eee",w=function(){return{axisLine:{lineStyle:{color:d}},axisTick:{lineStyle:{color:d}},axisLabel:{textStyle:{color:d}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:d}}}},A=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],b={color:A,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:d},crossStyle:{color:d},label:{color:"#000"}}},legend:{textStyle:{color:d}},textStyle:{color:d},title:{textStyle:{color:d}},toolbox:{iconStyle:{normal:{borderColor:d}}},dataZoom:{textStyle:{color:d}},visualMap:{textStyle:{color:d}},timeline:{lineStyle:{color:d},itemStyle:{normal:{color:A[1]}},label:{normal:{textStyle:{color:d}}},controlStyle:{normal:{color:d,borderColor:d}}},timeAxis:w(),logAxis:w(),valueAxis:w(),categoryAxis:w(),line:{symbol:"circle"},graph:{color:A},gauge:{title:{textStyle:{color:d}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};b.categoryAxis.splitLine.show=!1;var g=b;k.exports=g},"8nMs":function(k,B,d){var w=d("bYtY"),A=d("IwbS"),b=d("+rIm"),g=d("Znkb"),v=d("AVZG"),f=d("WN+l"),l=f.rectCoordAxisBuildSplitArea,u=f.rectCoordAxisHandleRemove,o=["axisLine","axisTickLabel","axisName"],e=["splitArea","splitLine","minorSplitLine"],n=g.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(i,r,s,t){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new A.Group,this.group.add(this._axisGroup),!i.get("show"))return;var c=i.getCoordSysModel(),h=v.layout(c,i),p=new b(i,h);w.each(o,p.add,p),this._axisGroup.add(p.getGroup()),w.each(e,function(m){i.get(m+".show")&&this["_"+m](i,c)},this),A.groupTransition(a,this._axisGroup,i),n.superCall(this,"render",i,r,s,t)},remove:function(){u(this)},_splitLine:function(i,r){var s=i.axis;if(s.scale.isBlank())return;var t=i.getModel("splitLine"),a=t.getModel("lineStyle"),c=a.get("color");c=w.isArray(c)?c:[c];for(var h=r.coordinateSystem.getRect(),p=s.isHorizontal(),m=0,S=s.getTicksCoords({tickModel:t}),y=[],x=[],C=a.getLineStyle(),T=0;T<S.length;T++){var _=s.toGlobalCoord(S[T].coord);p?(y[0]=_,y[1]=h.y,x[0]=_,x[1]=h.y+h.height):(y[0]=h.x,y[1]=_,x[0]=h.x+h.width,x[1]=_);var E=m++%c.length,I=S[T].tickValue;this._axisGroup.add(new A.Line({anid:I!=null?"line_"+S[T].tickValue:null,subPixelOptimize:!0,shape:{x1:y[0],y1:y[1],x2:x[0],y2:x[1]},style:w.defaults({stroke:c[E]},C),silent:!0}))}},_minorSplitLine:function(i,r){var s=i.axis,t=i.getModel("minorSplitLine"),a=t.getModel("lineStyle"),c=r.coordinateSystem.getRect(),h=s.isHorizontal(),p=s.getMinorTicksCoords();if(!p.length)return;for(var m=[],S=[],y=a.getLineStyle(),x=0;x<p.length;x++)for(var C=0;C<p[x].length;C++){var T=s.toGlobalCoord(p[x][C].coord);h?(m[0]=T,m[1]=c.y,S[0]=T,S[1]=c.y+c.height):(m[0]=c.x,m[1]=T,S[0]=c.x+c.width,S[1]=T),this._axisGroup.add(new A.Line({anid:"minor_line_"+p[x][C].tickValue,subPixelOptimize:!0,shape:{x1:m[0],y1:m[1],x2:S[0],y2:S[1]},style:y,silent:!0}))}},_splitArea:function(i,r){l(this,this._axisGroup,i,r)}});n.extend({type:"xAxis"}),n.extend({type:"yAxis"})},"8nly":function(k,B,d){var w=d("mFDi"),A=d("4mN7"),b=d("QBsz"),g=d("BlVb");function v(l,u,o){if(this.name=l,this.geometries=u,o)o=[o[0],o[1]];else{var e=this.getBoundingRect();o=[e.x+e.width/2,e.y+e.height/2]}this.center=o}v.prototype={constructor:v,properties:null,getBoundingRect:function(){var l=this._rect;if(l)return l;for(var u=Number.MAX_VALUE,o=[u,u],e=[-u,-u],n=[],i=[],r=this.geometries,s=0;s<r.length;s++){if(r[s].type!=="polygon")continue;var t=r[s].exterior;A.fromPoints(t,n,i),b.min(o,o,n),b.max(e,e,i)}return s===0&&(o[0]=o[1]=e[0]=e[1]=0),this._rect=new w(o[0],o[1],e[0]-o[0],e[1]-o[1])},contain:function(l){var u=this.getBoundingRect(),o=this.geometries;if(!u.contain(l[0],l[1]))return!1;e:for(var e=0,n=o.length;e<n;e++){if(o[e].type!=="polygon")continue;var i=o[e].exterior,r=o[e].interiors;if(g.contain(i,l[0],l[1])){for(var s=0;s<(r?r.length:0);s++)if(g.contain(r[s]))continue e;return!0}}return!1},transformTo:function(l,u,o,e){var n=this.getBoundingRect(),i=n.width/n.height;o?e||(e=o/i):o=i*e;for(var r=new w(l,u,o,e),s=n.calculateTransform(r),t=this.geometries,a=0;a<t.length;a++){if(t[a].type!=="polygon")continue;for(var c=t[a].exterior,h=t[a].interiors,p=0;p<c.length;p++)b.applyTransform(c[p],c[p],s);for(var m=0;m<(h?h.length:0);m++)for(var p=0;p<h[m].length;p++)b.applyTransform(h[m][p],h[m][p],s)}n=this._rect,n.copy(r),this.center=[n.x+n.width/2,n.y+n.height/2]},cloneShallow:function(l){l==null&&(l=this.name);var u=new v(l,this.geometries,this.center);return u._rect=this._rect,u.transformTo=null,u}};var f=v;k.exports=f},"8waO":function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("iLNv"),g=d("ZWlE");d("hJvP"),d("IXyC"),d("xRUu");var v=5;w.extendComponentView({type:"parallel",render:function(u,o,e){this._model=u,this._api=e,this._handlers||(this._handlers={},A.each(f,function(n,i){e.getZr().on(i,this._handlers[i]=A.bind(n,this))},this)),b.createOrUpdate(this,"_throttledDispatchExpand",u.get("axisExpandRate"),"fixRate")},dispose:function(u,o){A.each(this._handlers,function(e,n){o.getZr().off(n,e)}),this._handlers=null},_throttledDispatchExpand:function(u){this._dispatchExpand(u)},_dispatchExpand:function(u){u&&this._api.dispatchAction(A.extend({type:"parallelAxisExpand"},u))}});var f={mousedown:function(u){l(this,"click")&&(this._mouseDownPoint=[u.offsetX,u.offsetY])},mouseup:function(u){var o=this._mouseDownPoint;if(l(this,"click")&&o){var e=[u.offsetX,u.offsetY],n=Math.pow(o[0]-e[0],2)+Math.pow(o[1]-e[1],2);if(n>v)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([u.offsetX,u.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(u){if(this._mouseDownPoint||!l(this,"mousemove"))return;var o=this._model,e=o.coordinateSystem.getSlidedAxisExpandWindow([u.offsetX,u.offsetY]),n=e.behavior;n==="jump"&&this._throttledDispatchExpand.debounceNextCall(o.get("axisExpandDebounce")),this._throttledDispatchExpand(n==="none"?null:{axisExpandWindow:e.axisExpandWindow,animation:n==="jump"?null:!1})}};function l(u,o){var e=u._model;return e.get("axisExpandable")&&e.get("axisExpandTriggerOn")===o}w.registerPreprocessor(g)},"8x+h":function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),g=d("bYtY"),v=d("K4ya"),f=d("Qxkt"),l=["#ddd"],u=b.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(n,i){var r=this.option;!i&&v.replaceVisualOption(r,n,["inBrush","outOfBrush"]);var s=r.inBrush=r.inBrush||{};r.outOfBrush=r.outOfBrush||{color:l},s.hasOwnProperty("liftZ")||(s.liftZ=5)},setAreas:function(n){if(!n)return;this.areas=g.map(n,function(i){return o(this.option,i)},this)},setBrushOption:function(n){this.brushOption=o(this.option,n),this.brushType=this.brushOption.brushType}});function o(n,i){return g.merge({brushType:n.brushType,brushMode:n.brushMode,transformable:n.transformable,brushStyle:new f(n.brushStyle).getItemStyle(),removeOnClick:n.removeOnClick,z:n.z},i,!0)}var e=u;k.exports=e},"8z0m":function(k,B,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("KQm4"),g=d("ODXe"),v=d("q1tI"),f=d.n(v),l=d("1OyB"),u=d("vuIU"),o=d("Ji7U"),e=d("LK+K"),n=d("Ff2n"),i=d("TSYQ"),r=d.n(i),s=d("bX4T");function t(Ge,tt){var Wt="cannot ".concat(Ge.method," ").concat(Ge.action," ").concat(tt.status,"'"),jt=new Error(Wt);return jt.status=tt.status,jt.method=Ge.method,jt.url=Ge.action,jt}function a(Ge){var tt=Ge.responseText||Ge.response;if(!tt)return tt;try{return JSON.parse(tt)}catch(Wt){return tt}}function c(Ge){var tt=new XMLHttpRequest;Ge.onProgress&&tt.upload&&(tt.upload.onprogress=function(Tt){Tt.total>0&&(Tt.percent=Tt.loaded/Tt.total*100),Ge.onProgress(Tt)});var Wt=new FormData;Ge.data&&Object.keys(Ge.data).forEach(function(Yt){var Tt=Ge.data[Yt];if(Array.isArray(Tt)){Tt.forEach(function(Rt){Wt.append("".concat(Yt,"[]"),Rt)});return}Wt.append(Yt,Ge.data[Yt])}),Ge.file instanceof Blob?Wt.append(Ge.filename,Ge.file,Ge.file.name):Wt.append(Ge.filename,Ge.file),tt.onerror=function(Tt){Ge.onError(Tt)},tt.onload=function(){return tt.status<200||tt.status>=300?Ge.onError(t(Ge,tt),a(tt)):Ge.onSuccess(a(tt),tt)},tt.open(Ge.method,Ge.action,!0),Ge.withCredentials&&"withCredentials"in tt&&(tt.withCredentials=!0);var jt=Ge.headers||{};return jt["X-Requested-With"]!==null&&tt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(jt).forEach(function(Yt){jt[Yt]!==null&&tt.setRequestHeader(Yt,jt[Yt])}),tt.send(Wt),{abort:function(){tt.abort()}}}var h=+new Date,p=0;function m(){return"rc-upload-".concat(h,"-").concat(++p)}function S(Ge,tt){return Ge.indexOf(tt,Ge.length-tt.length)!==-1}var y=function(Ge,tt){if(Ge&&tt){var Wt=Array.isArray(tt)?tt:tt.split(","),jt=Ge.name||"",Yt=Ge.type||"",Tt=Yt.replace(/\/.*$/,"");return Wt.some(function(Rt){var yt=Rt.trim();return yt.charAt(0)==="."?S(jt.toLowerCase(),yt.toLowerCase()):/\/\*$/.test(yt)?Tt===yt.replace(/\/.*$/,""):Yt===yt})}return!0};function x(Ge,tt){var Wt=Ge.createReader(),jt=[];function Yt(){Wt.readEntries(function(Tt){var Rt=Array.prototype.slice.apply(Tt);jt=jt.concat(Rt);var yt=!Rt.length;yt?tt(jt):Yt()})}Yt()}var C=function(tt,Wt,jt){var Yt=function Tt(Rt,yt){Rt.path=yt||"",Rt.isFile?Rt.file(function(Jt){jt(Jt)&&(Rt.fullPath&&!Jt.webkitRelativePath&&(Object.defineProperties(Jt,{webkitRelativePath:{writable:!0}}),Jt.webkitRelativePath=Rt.fullPath.replace(/^\//,""),Object.defineProperties(Jt,{webkitRelativePath:{writable:!1}})),Wt([Jt]))}):Rt.isDirectory&&x(Rt,function(Jt){Jt.forEach(function(Lr){Tt(Lr,"".concat(yt).concat(Rt.name,"/"))})})};tt.forEach(function(Tt){Yt(Tt.webkitGetAsEntry())})},T=C,_=function(Ge){Object(o.a)(Wt,Ge);var tt=Object(e.a)(Wt);function Wt(){var jt;return Object(l.a)(this,Wt),jt=tt.apply(this,arguments),jt.state={uid:m()},jt.reqs={},jt.onChange=function(Yt){var Tt=Yt.target.files;jt.uploadFiles(Tt),jt.reset()},jt.onClick=function(Yt){var Tt=jt.fileInput;if(!Tt)return;var Rt=jt.props,yt=Rt.children,Jt=Rt.onClick;if(yt&&yt.type==="button"){var Lr=Tt.parentNode;Lr.focus(),Lr.querySelector("button").blur()}Tt.click(),Jt&&Jt(Yt)},jt.onKeyDown=function(Yt){Yt.key==="Enter"&&jt.onClick(Yt)},jt.onFileDrop=function(Yt){var Tt=jt.props.multiple;if(Yt.preventDefault(),Yt.type==="dragover")return;if(jt.props.directory)T(Array.prototype.slice.call(Yt.dataTransfer.items),jt.uploadFiles,function(yt){return y(yt,jt.props.accept)});else{var Rt=Array.prototype.slice.call(Yt.dataTransfer.files).filter(function(yt){return y(yt,jt.props.accept)});Tt===!1&&(Rt=Rt.slice(0,1)),jt.uploadFiles(Rt)}},jt.uploadFiles=function(Yt){var Tt=Array.prototype.slice.call(Yt);Tt.map(function(Rt){return Rt.uid=m(),Rt}).forEach(function(Rt){jt.upload(Rt,Tt)})},jt.saveFileInput=function(Yt){jt.fileInput=Yt},jt}return Object(u.a)(Wt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(Yt,Tt){var Rt=this,yt=this.props;if(!yt.beforeUpload){Promise.resolve().then(function(){Rt.post(Yt)});return}var Jt=yt.beforeUpload(Yt,Tt);Jt&&typeof Jt!="boolean"&&Jt.then?Jt.then(function(Lr){var zr=Object.prototype.toString.call(Lr);if(zr==="[object File]"||zr==="[object Blob]"){Rt.post(Lr);return}Rt.post(Yt)}).catch(function(Lr){console.log(Lr)}):Jt!==!1&&Promise.resolve().then(function(){Rt.post(Yt)})}},{key:"post",value:function(Yt){var Tt=this;if(!this._isMounted)return;var Rt=this.props,yt=Rt.onStart,Jt=Rt.onProgress,Lr=Rt.transformFile,zr=Lr===void 0?function(rn){return rn}:Lr;new Promise(function(rn){var ei=Rt.action;return typeof ei=="function"&&(ei=ei(Yt)),rn(ei)}).then(function(rn){var ei=Yt.uid,fn=Rt.customRequest||c,Zr=Promise.resolve(zr(Yt)).then(function(bt){var ut=Rt.data;return typeof ut=="function"&&(ut=ut(bt)),Promise.all([bt,ut])}).catch(function(bt){console.error(bt)});Zr.then(function(bt){var ut=Object(g.a)(bt,2),Oe=ut[0],be=ut[1],Fe={action:rn,filename:Rt.name,data:be,file:Oe,headers:Rt.headers,withCredentials:Rt.withCredentials,method:Rt.method||"post",onProgress:Jt?function(it){Jt(it,Yt)}:null,onSuccess:function(wt,nr){delete Tt.reqs[ei],Rt.onSuccess(wt,Yt,nr)},onError:function(wt,nr){delete Tt.reqs[ei],Rt.onError(wt,nr,Yt)}};yt(Yt),Tt.reqs[ei]=fn(Fe)})})}},{key:"reset",value:function(){this.setState({uid:m()})}},{key:"abort",value:function(Yt){var Tt=this.reqs;if(Yt){var Rt=Yt.uid?Yt.uid:Yt;Tt[Rt]&&Tt[Rt].abort&&Tt[Rt].abort(),delete Tt[Rt]}else Object.keys(Tt).forEach(function(yt){Tt[yt]&&Tt[yt].abort&&Tt[yt].abort(),delete Tt[yt]})}},{key:"render",value:function(){var Yt,Tt=this.props,Rt=Tt.component,yt=Tt.prefixCls,Jt=Tt.className,Lr=Tt.disabled,zr=Tt.id,rn=Tt.style,ei=Tt.multiple,fn=Tt.accept,Zr=Tt.children,bt=Tt.directory,ut=Tt.openFileDialogOnClick,Oe=Tt.onMouseEnter,be=Tt.onMouseLeave,Fe=Object(n.a)(Tt,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),it=r()((Yt={},Object(w.a)(Yt,yt,!0),Object(w.a)(Yt,"".concat(yt,"-disabled"),Lr),Object(w.a)(Yt,Jt,Jt),Yt)),wt=bt?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},nr=Lr?{}:{onClick:ut?this.onClick:function(){},onKeyDown:ut?this.onKeyDown:function(){},onMouseEnter:Oe,onMouseLeave:be,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return f.a.createElement(Rt,Object(A.a)({},nr,{className:it,role:"button",style:rn}),f.a.createElement("input",Object(A.a)({},Object(s.a)(Fe,{aria:!0,data:!0}),{id:zr,type:"file",ref:this.saveFileInput,onClick:function(Ar){return Ar.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:fn},wt,{multiple:ei,onChange:this.onChange})),Zr)}}]),Wt}(v.Component),E=_;function I(){}var L=function(Ge){Object(o.a)(Wt,Ge);var tt=Object(e.a)(Wt);function Wt(){var jt;return Object(l.a)(this,Wt),jt=tt.apply(this,arguments),jt.saveUploader=function(Yt){jt.uploader=Yt},jt}return Object(u.a)(Wt,[{key:"abort",value:function(Yt){this.uploader.abort(Yt)}},{key:"render",value:function(){return f.a.createElement(E,Object(A.a)({},this.props,{ref:this.saveUploader}))}}]),Wt}(v.Component);L.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:I,onError:I,onSuccess:I,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var D=L,F=D,N=function(Ge,tt){var Wt={};for(var jt in Ge)Object.prototype.hasOwnProperty.call(Ge,jt)&&tt.indexOf(jt)<0&&(Wt[jt]=Ge[jt]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,jt=Object.getOwnPropertySymbols(Ge);Yt<jt.length;Yt++)tt.indexOf(jt[Yt])<0&&Object.prototype.propertyIsEnumerable.call(Ge,jt[Yt])&&(Wt[jt[Yt]]=Ge[jt[Yt]]);return Wt},P=function(tt,Wt){var jt=tt.style,Yt=tt.height,Tt=N(tt,["style","height"]);return v.createElement(rt,Object(A.a)({ref:Wt},Tt,{type:"drag",style:Object(A.a)(Object(A.a)({},jt),{height:Yt})}))},W=v.forwardRef(P);W.displayName="Dragger";var R=W,j=d("8XRh"),H=d("ye1Q"),K=d("VTBJ"),U={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"},G=U,z=d("6VBw"),Y=function(tt,Wt){return v.createElement(z.a,Object(K.a)(Object(K.a)({},tt),{},{ref:Wt,icon:G}))};Y.displayName="PaperClipOutlined";var q=v.forwardRef(Y),oe={icon:function(tt,Wt){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:tt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Wt}},{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:Wt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Wt}},{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:tt}}]}},name:"picture",theme:"twotone"},ie=oe,se=function(tt,Wt){return v.createElement(z.a,Object(K.a)(Object(K.a)({},tt),{},{ref:Wt,icon:ie}))};se.displayName="PictureTwoTone";var he=v.forwardRef(se),pe={icon:function(tt,Wt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Wt}},{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:tt}}]}},name:"file",theme:"twotone"},_e=pe,De=function(tt,Wt){return v.createElement(z.a,Object(K.a)(Object(K.a)({},tt),{},{ref:Wt,icon:_e}))};De.displayName="FileTwoTone";var Xe=v.forwardRef(De),J=d("0n0R");function Ee(){return!0}function qe(Ge){return Object(A.a)(Object(A.a)({},Ge),{lastModified:Ge.lastModified,lastModifiedDate:Ge.lastModifiedDate,name:Ge.name,size:Ge.size,type:Ge.type,uid:Ge.uid,percent:0,originFileObj:Ge})}function ae(Ge,tt){var Wt=Ge.uid!==void 0?"uid":"name";return tt.filter(function(jt){return jt[Wt]===Ge[Wt]})[0]}function V(Ge,tt){var Wt=Ge.uid!==void 0?"uid":"name",jt=tt.filter(function(Yt){return Yt[Wt]!==Ge[Wt]});return jt.length===tt.length?null:jt}var X=function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Wt=tt.split("/"),jt=Wt[Wt.length-1],Yt=jt.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Yt)||[""])[0]},Z=function(tt){return tt.indexOf("image/")===0},ge=function(tt){if(tt.type&&!tt.thumbUrl)return Z(tt.type);var Wt=tt.thumbUrl||tt.url,jt=X(Wt);return/^data:image\//.test(Wt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(jt)?!0:/^data:/.test(Wt)?!1:!jt},le=200;function Se(Ge){return new Promise(function(tt){if(!Ge.type||!Z(Ge.type)){tt("");return}var Wt=document.createElement("canvas");Wt.width=le,Wt.height=le,Wt.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(le,"px; height: ").concat(le,"px; z-index: 9999; display: none;"),document.body.appendChild(Wt);var jt=Wt.getContext("2d"),Yt=new Image;Yt.onload=function(){var Tt=Yt.width,Rt=Yt.height,yt=le,Jt=le,Lr=0,zr=0;Tt>Rt?(Jt=Rt*(le/Tt),zr=-(Jt-yt)/2):(yt=Tt*(le/Rt),Lr=-(yt-Jt)/2),jt.drawImage(Yt,Lr,zr,yt,Jt);var rn=Wt.toDataURL();document.body.removeChild(Wt),tt(rn)},Yt.src=window.URL.createObjectURL(Ge)})}var me=d("EXcs"),$=d("H84U"),we=d("2/Rp"),xe=d("hkKa"),We=d("9BLJ"),st=d("/MfK"),nt=d("dF/Y"),Ne=d("3S7+"),St=d("CFYs"),Ye=v.forwardRef(function(Ge,tt){var Wt,jt=Ge.prefixCls,Yt=Ge.className,Tt=Ge.style,Rt=Ge.locale,yt=Ge.listType,Jt=Ge.file,Lr=Ge.items,zr=Ge.progress,rn=Ge.iconRender,ei=Ge.actionIconRender,fn=Ge.itemRender,Zr=Ge.isImgUrl,bt=Ge.showPreviewIcon,ut=Ge.showRemoveIcon,Oe=Ge.showDownloadIcon,be=Ge.removeIcon,Fe=Ge.downloadIcon,it=Ge.onPreview,wt=Ge.onDownload,nr=Ge.onClose,sr,Ar,Hr=v.useState(!1),$r=Object(g.a)(Hr,2),Qt=$r[0],Ot=$r[1],Ft=v.useRef();v.useEffect(function(){return Ft.current=setTimeout(function(){Ot(!0)},300),function(){window.clearTimeout(Ft.current)}},[]);var pr="".concat(jt,"-span"),Rr=rn(Jt),Pr=v.createElement("div",{className:"".concat(jt,"-text-icon")},Rr);if(yt==="picture"||yt==="picture-card")if(Jt.status==="uploading"||!Jt.thumbUrl&&!Jt.url){var an,Xt=r()((an={},Object(w.a)(an,"".concat(jt,"-list-item-thumbnail"),!0),Object(w.a)(an,"".concat(jt,"-list-item-file"),Jt.status!=="uploading"),an));Pr=v.createElement("div",{className:Xt},Rr)}else{var hr,Tr=(Zr==null?void 0:Zr(Jt))?v.createElement("img",{src:Jt.thumbUrl||Jt.url,alt:Jt.name,className:"".concat(jt,"-list-item-image")}):Rr,Wr=r()((hr={},Object(w.a)(hr,"".concat(jt,"-list-item-thumbnail"),!0),Object(w.a)(hr,"".concat(jt,"-list-item-file"),Zr&&!Zr(Jt)),hr));Pr=v.createElement("a",{className:Wr,onClick:function(At){return it(Jt,At)},href:Jt.url||Jt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Tr)}var Gr=r()((Wt={},Object(w.a)(Wt,"".concat(jt,"-list-item"),!0),Object(w.a)(Wt,"".concat(jt,"-list-item-").concat(Jt.status),!0),Object(w.a)(Wt,"".concat(jt,"-list-item-list-type-").concat(yt),!0),Wt)),Tn=typeof Jt.linkProps=="string"?JSON.parse(Jt.linkProps):Jt.linkProps,gn=ut?ei((typeof be=="function"?be(Jt):be)||v.createElement(st.a,null),function(){return nr(Jt)},jt,Rt.removeFile):null,In=Oe&&Jt.status==="done"?ei((typeof Fe=="function"?Fe(Jt):Fe)||v.createElement(nt.a,null),function(){return wt(Jt)},jt,Rt.downloadFile):null,Fn=yt!=="picture-card"&&v.createElement("span",{key:"download-delete",className:r()("".concat(jt,"-list-item-card-actions"),{picture:yt==="picture"})},In,gn),Xn=r()("".concat(jt,"-list-item-name")),fi=Jt.url?[v.createElement("a",Object(A.a)({key:"view",target:"_blank",rel:"noopener noreferrer",className:Xn,title:Jt.name},Tn,{href:Jt.url,onClick:function(At){return it(Jt,At)}}),Jt.name),Fn]:[v.createElement("span",{key:"view",className:Xn,onClick:function(At){return it(Jt,At)},title:Jt.name},Jt.name),Fn],pi={pointerEvents:"none",opacity:.5},bi=bt?v.createElement("a",{href:Jt.url||Jt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Jt.url||Jt.thumbUrl?void 0:pi,onClick:function(At){return it(Jt,At)},title:Rt.previewFile},v.createElement(We.a,null)):null,et=yt==="picture-card"&&Jt.status!=="uploading"&&v.createElement("span",{className:"".concat(jt,"-list-item-actions")},bi,Jt.status==="done"&&In,gn),Le;Jt.response&&typeof Jt.response=="string"?Le=Jt.response:Le=((sr=Jt.error)===null||sr===void 0?void 0:sr.statusText)||((Ar=Jt.error)===null||Ar===void 0?void 0:Ar.message)||Rt.uploadError;var Pe=v.createElement("span",{className:pr},Pr,fi),je=v.createElement("div",{className:Gr},v.createElement("div",{className:"".concat(jt,"-list-item-info")},Pe),et,Qt&&v.createElement(j.default,{motionName:"fade",visible:Jt.status==="uploading"},function(Ze){var At=Ze.className,dt="percent"in Jt?v.createElement(St.a,Object(A.a)({},zr,{type:"line",percent:Jt.percent})):null;return v.createElement("div",{className:r()("".concat(jt,"-list-item-progress"),At)},dt)})),Je=r()("".concat(jt,"-list-").concat(yt,"-container"),Yt),Ve=Jt.status==="error"?v.createElement(Ne.a,{title:Le,getPopupContainer:function(At){return At.parentNode}},je):je;return v.createElement("div",{className:Je,style:Tt,ref:tt},fn?fn(Ve,Jt,Lr):Ve)}),vt=Ye,It=Object(A.a)({},me.a);delete It.onAppearEnd,delete It.onEnterEnd,delete It.onLeaveEnd;var Ut=function(tt,Wt){var jt,Yt=tt.listType,Tt=tt.previewFile,Rt=tt.onPreview,yt=tt.onDownload,Jt=tt.onRemove,Lr=tt.locale,zr=tt.iconRender,rn=tt.isImageUrl,ei=tt.prefixCls,fn=tt.items,Zr=fn===void 0?[]:fn,bt=tt.showPreviewIcon,ut=tt.showRemoveIcon,Oe=tt.showDownloadIcon,be=tt.removeIcon,Fe=tt.downloadIcon,it=tt.progress,wt=tt.appendAction,nr=tt.itemRender,sr=Object(xe.a)(),Ar=v.useState(!1),Hr=Object(g.a)(Ar,2),$r=Hr[0],Qt=Hr[1];v.useEffect(function(){if(Yt!=="picture"&&Yt!=="picture-card")return;(Zr||[]).forEach(function(In){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(In.originFileObj instanceof File||In.originFileObj instanceof Blob)||In.thumbUrl!==void 0)return;In.thumbUrl="",Tt&&Tt(In.originFileObj).then(function(Fn){In.thumbUrl=Fn||"",sr()})})},[Yt,Zr,Tt]),v.useEffect(function(){Qt(!0)},[]);var Ot=function(Fn,Xn){return Rt?(Xn.preventDefault(),Rt(Fn)):void 0},Ft=function(Fn){typeof yt=="function"?yt(Fn):Fn.url&&window.open(Fn.url)},pr=function(Fn){Jt&&Jt(Fn)},Rr=function(Fn){if(zr)return zr(Fn,Yt);var Xn=Fn.status==="uploading",fi=rn&&rn(Fn)?v.createElement(he,null):v.createElement(Xe,null),pi=Xn?v.createElement(H.a,null):v.createElement(q,null);return Yt==="picture"?pi=Xn?v.createElement(H.a,null):fi:Yt==="picture-card"&&(pi=Xn?Lr.uploading:fi),pi},Pr=function(Fn,Xn,fi,pi){var bi={type:"text",size:"small",title:pi,onClick:function(Pe){Xn(),Object(J.b)(Fn)&&Fn.props.onClick&&Fn.props.onClick(Pe)},className:"".concat(fi,"-list-item-card-actions-btn")};if(Object(J.b)(Fn)){var et=Object(J.a)(Fn,Object(A.a)(Object(A.a)({},Fn.props),{onClick:function(){}}));return v.createElement(we.a,Object(A.a)({},bi,{icon:et}))}return v.createElement(we.a,bi,v.createElement("span",null,Fn))};v.useImperativeHandle(Wt,function(){return{handlePreview:Ot,handleDownload:Ft}});var an=v.useContext($.b),Xt=an.getPrefixCls,hr=an.direction,Tr=Xt("upload",ei),Wr=r()((jt={},Object(w.a)(jt,"".concat(Tr,"-list"),!0),Object(w.a)(jt,"".concat(Tr,"-list-").concat(Yt),!0),Object(w.a)(jt,"".concat(Tr,"-list-rtl"),hr==="rtl"),jt)),Gr=Object(b.a)(Zr.map(function(In){return{key:In.uid,file:In}})),Tn=Yt==="picture-card"?"animate-inline":"animate",gn={motionName:"".concat(Tr,"-").concat(Tn),keys:Gr,motionAppear:$r};return Yt!=="picture-card"&&(gn=Object(A.a)(Object(A.a)({},It),gn)),v.createElement("div",{className:Wr},v.createElement(j.CSSMotionList,Object(A.a)({},gn,{component:!1}),function(In){var Fn=In.key,Xn=In.file,fi=In.className,pi=In.style;return v.createElement(vt,{key:Fn,locale:Lr,prefixCls:Tr,className:fi,style:pi,file:Xn,items:Zr,progress:it,listType:Yt,isImgUrl:rn,showPreviewIcon:bt,showRemoveIcon:ut,showDownloadIcon:Oe,removeIcon:be,downloadIcon:Fe,iconRender:Rr,actionIconRender:Pr,itemRender:nr,onPreview:Ot,onDownload:Ft,onClose:pr})}),wt&&v.createElement(j.default,gn,function(In){var Fn=In.className,Xn=In.style;return Object(J.a)(wt,function(fi){return{className:r()(fi.className,Fn),style:Object(A.a)(Object(A.a)({},Xn),fi.style)}})}))},xt=v.forwardRef(Ut);xt.displayName="UploadList",xt.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:Se,isImageUrl:ge};var Bt=xt,Qe=d("YMnH"),te=d("ZvpZ"),Q=d("uaoM"),Me=d("wgJM");function Ce(Ge,tt){var Wt=Object(v.useRef)(Ge),jt=Object(xe.a)(),Yt=Object(v.useRef)();function Tt(Lr){Wt.current=Lr,jt()}function Rt(){Me.a.cancel(Yt.current)}function yt(Lr){Rt(),Yt.current=Object(Me.a)(function(){Tt(Lr)})}function Jt(){var Lr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Lr&&tt||Wt.current}return Object(v.useEffect)(function(){tt&&yt(tt)},[tt]),Object(v.useEffect)(function(){return function(){Rt()}},[]),[Jt,Tt]}var ue=function(tt,Wt){var jt,Yt=tt.fileList,Tt=tt.defaultFileList,Rt=tt.onRemove,yt=tt.showUploadList,Jt=tt.listType,Lr=tt.onPreview,zr=tt.onDownload,rn=tt.onChange,ei=tt.previewFile,fn=tt.disabled,Zr=tt.locale,bt=tt.iconRender,ut=tt.isImageUrl,Oe=tt.progress,be=tt.prefixCls,Fe=tt.className,it=tt.type,wt=tt.children,nr=tt.style,sr=tt.itemRender,Ar=tt.maxCount,Hr=v.useState("drop"),$r=Object(g.a)(Hr,2),Qt=$r[0],Ot=$r[1],Ft=Object(xe.a)(),pr=Ce(Yt||Tt||[],Yt),Rr=Object(g.a)(pr,2),Pr=Rr[0],an=Rr[1],Xt=v.useRef();v.useEffect(function(){Object(Q.a)("fileList"in tt||!("value"in tt),"Upload","`value` is not a valid prop, do you mean `fileList`?"),Object(Q.a)(!("transformFile"in tt),"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly.")},[]),v.useEffect(function(){var Ze=Date.now();(Yt||[]).forEach(function(At,dt){var Kt;At.uid=(Kt=At.uid)!==null&&Kt!==void 0?Kt:"__AUTO__".concat(Ze,"_").concat(dt,"__")})},[Yt]);var hr=function(At){var dt=Object(b.a)(At.fileList);Ar===1?dt=dt.slice(-1):Ar&&(dt=dt.slice(0,Ar)),an(dt),rn==null||rn(Object(A.a)(Object(A.a)({},At),{fileList:dt}))},Tr=function(At){var dt=qe(At);dt.status="uploading";var Kt=Pr().concat(),$t=Kt.findIndex(function(er){var cr=er.uid;return cr===dt.uid});$t===-1?Kt.push(dt):Kt[$t]=dt,hr({file:dt,fileList:Kt})},Wr=function(At,dt,Kt){try{typeof At=="string"&&(At=JSON.parse(At))}catch(er){}var $t=ae(dt,Pr());if(!$t)return;$t.status="done",$t.response=At,$t.xhr=Kt,hr({file:Object(A.a)({},$t),fileList:Pr().concat()})},Gr=function(At,dt){var Kt=ae(dt,Pr());if(!Kt)return;Kt.percent=At.percent,hr({event:At,file:Object(A.a)({},Kt),fileList:Pr().concat()})},Tn=function(At,dt,Kt){var $t=ae(Kt,Pr());if(!$t)return;$t.error=At,$t.response=dt,$t.status="error",hr({file:Object(A.a)({},$t),fileList:Pr().concat()})},gn=function(At){var dt;Promise.resolve(typeof Rt=="function"?Rt(At):Rt).then(function(Kt){var $t;if(Kt===!1)return;var er=Pr(),cr=V(At,er);cr&&(dt=Object(A.a)(Object(A.a)({},At),{status:"removed"}),er==null||er.forEach(function(Ct){var Nr=dt.uid!==void 0?"uid":"name";Ct[Nr]===dt[Nr]&&(Ct.status="removed")}),($t=Xt.current)===null||$t===void 0||$t.abort(dt),hr({file:dt,fileList:cr}))})},In=function(At){Ot(At.type)},Fn=function(At,dt){var Kt=tt.beforeUpload;if(!Kt)return!0;var $t=Kt(At,dt);if($t===!1){var er=[];return Pr().concat(dt.map(qe)).forEach(function(cr){er.every(function(Ct){return Ct.uid!==cr.uid})&&er.push(cr)}),hr({file:At,fileList:er}),!1}return $t&&$t.then?$t:!0};v.useImperativeHandle(Wt,function(){return{onStart:Tr,onSuccess:Wr,onProgress:Gr,onError:Tn,fileList:Pr(),upload:Xt.current,forceUpdate:Ft}});var Xn=v.useContext($.b),fi=Xn.getPrefixCls,pi=Xn.direction,bi=fi("upload",be),et=Object(A.a)(Object(A.a)({onStart:Tr,onError:Tn,onProgress:Gr,onSuccess:Wr},tt),{prefixCls:bi,beforeUpload:Fn,onChange:void 0});delete et.className,delete et.style,(!wt||fn)&&delete et.id;var Le=function(At){return yt?v.createElement(Qe.a,{componentName:"Upload",defaultLocale:te.a.Upload},function(dt){var Kt=typeof yt=="boolean"?{}:yt,$t=Kt.showRemoveIcon,er=Kt.showPreviewIcon,cr=Kt.showDownloadIcon,Ct=Kt.removeIcon,Nr=Kt.downloadIcon;return v.createElement(Bt,{listType:Jt,items:Pr(!0),previewFile:ei,onPreview:Lr,onDownload:zr,onRemove:gn,showRemoveIcon:!fn&&$t,showPreviewIcon:er,showDownloadIcon:cr,removeIcon:Ct,downloadIcon:Nr,iconRender:bt,locale:Object(A.a)(Object(A.a)({},dt),Zr),isImageUrl:ut,progress:Oe,appendAction:At,itemRender:sr})}):At};if(it==="drag"){var Pe,je=r()(bi,(Pe={},Object(w.a)(Pe,"".concat(bi,"-drag"),!0),Object(w.a)(Pe,"".concat(bi,"-drag-uploading"),Pr().some(function(Ze){return Ze.status==="uploading"})),Object(w.a)(Pe,"".concat(bi,"-drag-hover"),Qt==="dragover"),Object(w.a)(Pe,"".concat(bi,"-disabled"),fn),Object(w.a)(Pe,"".concat(bi,"-rtl"),pi==="rtl"),Pe),Fe);return v.createElement("span",null,v.createElement("div",{className:je,onDrop:In,onDragOver:In,onDragLeave:In,style:nr},v.createElement(F,Object(A.a)({},et,{ref:Xt,className:"".concat(bi,"-btn")}),v.createElement("div",{className:"".concat(bi,"-drag-container")},wt))),Le())}var Je=r()(bi,(jt={},Object(w.a)(jt,"".concat(bi,"-select"),!0),Object(w.a)(jt,"".concat(bi,"-select-").concat(Jt),!0),Object(w.a)(jt,"".concat(bi,"-disabled"),fn),Object(w.a)(jt,"".concat(bi,"-rtl"),pi==="rtl"),jt)),Ve=v.createElement("div",{className:Je,style:wt?void 0:{display:"none"}},v.createElement(F,Object(A.a)({},et,{ref:Xt})));return Jt==="picture-card"?v.createElement("span",{className:r()("".concat(bi,"-picture-card-wrapper"),Fe)},Le(Ve)):v.createElement("span",{className:Fe},Ve,Le())},ot=v.forwardRef(ue);ot.Dragger=R,ot.displayName="Upload",ot.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:Ee,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var rt=ot;rt.Dragger=R;var Ue=B.a=rt},"98bh":function(k,B,d){var w=d("ProS"),A=d("5GtS"),b=d("bYtY"),g=d("4NO4"),v=d("OELB"),f=v.getPercentWithPrecision,l=d("cCMj"),u=d("KxfA"),o=u.retrieveRawAttr,e=d("D5nY"),n=e.makeSeriesEncodeForNameBased,i=d("xKMd"),r=w.extendSeriesModel({type:"series.pie",init:function(t){r.superApply(this,"init",arguments),this.legendVisualProvider=new i(b.bind(this.getData,this),b.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){r.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,a){return A(this,{coordDimensions:["value"],encodeDefaulter:b.curry(n,this)})},_createSelectableList:function(){for(var t=this.getRawData(),a=t.mapDimension("value"),c=[],h=0,p=t.count();h<p;h++)c.push({name:t.getName(h),value:t.get(a,h),selected:o(t,h,"selected")});return c},getDataParams:function(t){var a=this.getData(),c=r.superCall(this,"getDataParams",t),h=[];return a.each(a.mapDimension("value"),function(p){h.push(p)}),c.percent=f(h,t,a.hostModel.get("percentPrecision")),c.$vars.push("percent"),c},_defaultLabelLine:function(t){g.defaultEmphasis(t,"labelLine",["show"]);var a=t.labelLine,c=t.emphasis.labelLine;a.show=a.show&&t.label.show,c.show=c.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});b.mixin(r,l);var s=r;k.exports=s},"9BLJ":function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="EyeOutlined";var l=B.a=A.forwardRef(f)},"9H2F":function(k,B,d){var w=d("bYtY"),A=w.assert,b=w.isArray,g=d("Tghj"),v=g.__DEV__;function f(i){return new l(i)}function l(i){i=i||{},this._reset=i.reset,this._plan=i.plan,this._count=i.count,this._onDirty=i.onDirty,this._dirty=!0,this.context}var u=l.prototype;u.perform=function(i){var r=this._upstream,s=i&&i.skip;if(this._dirty&&r){var t=this.context;t.data=t.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!s&&(a=this._plan(this.context));var c=S(this._modBy),h=this._modDataCount||0,p=S(i&&i.modBy),m=i&&i.modDataCount||0;(c!==p||h!==m)&&(a="reset");function S(L){return!(L>=1)&&(L=1),L}var y;(this._dirty||a==="reset")&&(this._dirty=!1,y=n(this,s)),this._modBy=p,this._modDataCount=m;var x=i&&i.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var C=this._dueIndex,T=Math.min(x!=null?this._dueIndex+x:Infinity,this._dueEnd);if(!s&&(y||C<T)){var _=this._progress;if(b(_))for(var E=0;E<_.length;E++)e(this,_[E],C,T,p,m);else e(this,_,C,T,p,m)}this._dueIndex=T;var I=this._settedOutputEnd!=null?this._settedOutputEnd:T;this._outputDueEnd=I}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var o=function(){var i,r,s,t,a,c={reset:function(m,S,y,x){r=m,i=S,s=y,t=x,a=Math.ceil(t/s),c.next=s>1&&t>0?p:h}};return c;function h(){return r<i?r++:null}function p(){var m=r%a*s+Math.ceil(r/a),S=r>=i?null:m<t?m:r;return r++,S}}();u.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function e(i,r,s,t,a,c){o.reset(s,t,a,c),i._callingProgress=r,i._callingProgress({start:s,end:t,count:t-s,next:o.next},i.context)}function n(i,r){i._dueIndex=i._outputDueEnd=i._dueEnd=0,i._settedOutputEnd=null;var s,t;!r&&i._reset&&(s=i._reset(i.context),s&&s.progress&&(t=s.forceFirstProgress,s=s.progress),b(s)&&!s.length&&(s=null)),i._progress=s,i._modBy=i._modDataCount=null;var a=i._downstream;return a&&a.dirty(),t}u.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},u.pipe=function(i){(this._downstream!==i||this._dirty)&&(this._downstream=i,i._upstream=this,i.dirty())},u.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},u.getUpstream=function(){return this._upstream},u.getDownstream=function(){return this._downstream},u.setOutputEnd=function(i){this._outputDueEnd=this._settedOutputEnd=i},B.createTask=f},"9KIM":function(k,B,d){var w=d("mFDi"),A=d("xSat"),b=A.onIrrelevantElement,g=d("IwbS");function v(o){return o=u(o),function(e,n){return g.clipPointsByRect(e,o)}}function f(o,e){return o=u(o),function(n){var i=e!=null?e:n,r=i?o.width:o.height,s=i?o.x:o.y;return[s,s+(r||0)]}}function l(o,e,n){return o=u(o),function(i,r,s){return o.contain(r[0],r[1])&&!b(i,e,n)}}function u(o){return w.create(o)}B.makeRectPanelClipPath=v,B.makeLinearBrushOtherExtent=f,B.makeRectIsTargetByCursor=l},"9ama":function(k,B,d){},"9eas":function(k,B,d){d("HM/N"),d("tBnm")},"9hCq":function(k,B,d){var w=d("IwbS"),A=d("+TT/"),b=d("bYtY"),g=d("VaxA"),v=g.wrapTreePathInfo,f=8,l=8,u=5;function o(r){this.group=new w.Group,r.add(this.group)}o.prototype={constructor:o,render:function(r,s,t,a){var c=r.getModel("breadcrumb"),h=this.group;if(h.removeAll(),!c.get("show")||!t)return;var p=c.getModel("itemStyle"),m=p.getModel("textStyle"),S={pos:{left:c.get("left"),right:c.get("right"),top:c.get("top"),bottom:c.get("bottom")},box:{width:s.getWidth(),height:s.getHeight()},emptyItemWidth:c.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(t,S,m),this._renderContent(r,S,p,m,a),A.positionElement(h,S.pos,S.box)},_prepare:function(r,s,t){for(var a=r;a;a=a.parentNode){var c=a.getModel().get("name"),h=t.getTextRect(c),p=Math.max(h.width+f*2,s.emptyItemWidth);s.totalWidth+=p+l,s.renderList.push({node:a,text:c,width:p})}},_renderContent:function(r,s,t,a,c){for(var h=0,p=s.emptyItemWidth,m=r.get("breadcrumb.height"),S=A.getAvailableSize(s.pos,s.box),y=s.totalWidth,x=s.renderList,C=x.length-1;C>=0;C--){var T=x[C],_=T.node,E=T.width,I=T.text;y>S.width&&(y-=E-p,E=p,I=null);var L=new w.Polygon({shape:{points:e(h,0,E,m,C===x.length-1,C===0)},style:b.defaults(t.getItemStyle(),{lineJoin:"bevel",text:I,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:b.curry(c,_)});this.group.add(L),n(L,r,_),h+=E+l}},remove:function(){this.group.removeAll()}};function e(r,s,t,a,c,h){var p=[[c?r:r-u,s],[r+t,s],[r+t,s+a],[c?r:r-u,s+a]];return!h&&p.splice(2,0,[r+t+u,s+a/2]),!c&&p.push([r,s+a/2]),p}function n(r,s,t){r.eventData={componentType:"series",componentSubType:"treemap",componentIndex:s.componentIndex,seriesIndex:s.componentIndex,seriesName:s.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&v(t,s)}}var i=o;k.exports=i},"9jjd":function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="FileOutlined";var l=B.a=A.forwardRef(f)},"9u0u":function(k,B,d){var w=d("bYtY");function A(g,v){var f={};return w.each(g,function(l){l.each(l.mapDimension("value"),function(u,o){var e="ec-"+l.getName(o);f[e]=f[e]||[],isNaN(u)||f[e].push(u)})}),g[0].map(g[0].mapDimension("value"),function(l,u){for(var o="ec-"+g[0].getName(u),e=0,n=Infinity,i=-Infinity,r=f[o].length,s=0;s<r;s++)n=Math.min(n,f[o][s]),i=Math.max(i,f[o][s]),e+=f[o][s];var t;return v==="min"?t=n:v==="max"?t=i:v==="average"?t=e/r:t=e,r===0?NaN:t})}function b(g){var v={};g.eachSeriesByType("map",function(f){var l=f.getHostGeoModel(),u=l?"o"+l.id:"i"+f.getMapType();(v[u]=v[u]||[]).push(f)}),w.each(v,function(f,l){for(var u=A(w.map(f,function(e){return e.getData()}),f[0].get("mapValueCalculation")),o=0;o<f.length;o++)f[o].originalData=f[o].getData();for(var o=0;o<f.length;o++)f[o].seriesGroup=f,f[o].needsDrawMap=o===0&&!f[o].getHostGeoModel(),f[o].setData(u.cloneShallow()),f[o].mainSeries=f[0]})}k.exports=b},"9wZj":function(k,B,d){var w=d("IwbS"),A=d("FBjb"),b=d("bYtY"),g=b.isObject;function v(n){this.group=new w.Group,this._symbolCtor=n||A}var f=v.prototype;function l(n,i,r,s){return i&&!isNaN(i[0])&&!isNaN(i[1])&&!(s.isIgnore&&s.isIgnore(r))&&!(s.clipShape&&!s.clipShape.contain(i[0],i[1]))&&n.getItemVisual(r,"symbol")!=="none"}f.updateData=function(n,i){i=u(i);var r=this.group,s=n.hostModel,t=this._data,a=this._symbolCtor,c=o(n);t||r.removeAll(),n.diff(t).add(function(h){var p=n.getItemLayout(h);if(l(n,p,h,i)){var m=new a(n,h,c);m.attr("position",p),n.setItemGraphicEl(h,m),r.add(m)}}).update(function(h,p){var m=t.getItemGraphicEl(p),S=n.getItemLayout(h);if(!l(n,S,h,i)){r.remove(m);return}m?(m.updateData(n,h,c),w.updateProps(m,{position:S},s)):(m=new a(n,h),m.attr("position",S)),r.add(m),n.setItemGraphicEl(h,m)}).remove(function(h){var p=t.getItemGraphicEl(h);p&&p.fadeOut(function(){r.remove(p)})}).execute(),this._data=n},f.isPersistent=function(){return!0},f.updateLayout=function(){var n=this._data;n&&n.eachItemGraphicEl(function(i,r){var s=n.getItemLayout(r);i.attr("position",s)})},f.incrementalPrepareUpdate=function(n){this._seriesScope=o(n),this._data=null,this.group.removeAll()},f.incrementalUpdate=function(n,i,r){r=u(r);function s(h){h.isGroup||(h.incremental=h.useHoverLayer=!0)}for(var t=n.start;t<n.end;t++){var a=i.getItemLayout(t);if(l(i,a,t,r)){var c=new this._symbolCtor(i,t,this._seriesScope);c.traverse(s),c.attr("position",a),this.group.add(c),i.setItemGraphicEl(t,c)}}};function u(n){return n!=null&&!g(n)&&(n={isIgnore:n}),n||{}}f.remove=function(n){var i=this.group,r=this._data;r&&n?r.eachItemGraphicEl(function(s){s.fadeOut(function(){i.remove(s)})}):i.removeAll()};function o(n){var i=n.hostModel;return{itemStyle:i.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:i.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:i.get("symbolRotate"),symbolOffset:i.get("symbolOffset"),hoverAnimation:i.get("hoverAnimation"),labelModel:i.getModel("label"),hoverLabelModel:i.getModel("emphasis.label"),cursorStyle:i.get("cursor")}}var e=v;k.exports=e},"9yH6":function(k,B,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),g=d("x1Ya"),v=d("TSYQ"),f=d.n(v),l=d("c+Xe"),u=d("H84U"),o=b.createContext(null),e=o.Provider,n=o,i=d("uaoM"),r=function(E,I){var L={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&I.indexOf(D)<0&&(L[D]=E[D]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,D=Object.getOwnPropertySymbols(E);F<D.length;F++)I.indexOf(D[F])<0&&Object.prototype.propertyIsEnumerable.call(E,D[F])&&(L[D[F]]=E[D[F]]);return L},s=function(I,L){var D,F=b.useContext(n),N=b.useContext(u.b),P=N.getPrefixCls,W=N.direction,R=b.useRef(),j=Object(l.a)(L,R);b.useEffect(function(){Object(i.a)(!("optionType"in I),"Radio","`optionType` is only support in Radio.Group.")},[]);var H=function(he){I.onChange&&I.onChange(he),(F==null?void 0:F.onChange)&&F.onChange(he)},K=I.prefixCls,U=I.className,G=I.children,z=I.style,Y=r(I,["prefixCls","className","children","style"]),q=P("radio",K),oe=Object(A.a)({},Y);F&&(oe.name=F.name,oe.onChange=H,oe.checked=I.value===F.value,oe.disabled=I.disabled||F.disabled);var ie=f()("".concat(q,"-wrapper"),(D={},Object(w.a)(D,"".concat(q,"-wrapper-checked"),oe.checked),Object(w.a)(D,"".concat(q,"-wrapper-disabled"),oe.disabled),Object(w.a)(D,"".concat(q,"-wrapper-rtl"),W==="rtl"),D),U);return b.createElement("label",{className:ie,style:z,onMouseEnter:I.onMouseEnter,onMouseLeave:I.onMouseLeave},b.createElement(g.a,Object(A.a)({},oe,{prefixCls:q,ref:j})),G!==void 0?b.createElement("span",null,G):null)},t=b.forwardRef(s);t.displayName="Radio",t.defaultProps={type:"radio"};var a=t,c=d("ODXe"),h=d("6cGi"),p=d("3Nzz"),m=b.forwardRef(function(E,I){var L=b.useContext(u.b),D=L.getPrefixCls,F=L.direction,N=b.useContext(p.b),P=Object(h.a)(E.defaultValue,{value:E.value}),W=Object(c.a)(P,2),R=W[0],j=W[1],H=function(G){var z=R,Y=G.target.value;"value"in E||j(Y);var q=E.onChange;q&&Y!==z&&q(G)},K=function(){var G,z=E.prefixCls,Y=E.className,q=Y===void 0?"":Y,oe=E.options,ie=E.optionType,se=E.buttonStyle,he=se===void 0?"outline":se,pe=E.disabled,_e=E.children,De=E.size,Xe=E.style,J=E.id,Ee=E.onMouseEnter,qe=E.onMouseLeave,ae=D("radio",z),V="".concat(ae,"-group"),X=_e;if(oe&&oe.length>0){var Z=ie==="button"?"".concat(ae,"-button"):ae;X=oe.map(function(Se){return typeof Se=="string"?b.createElement(a,{key:Se,prefixCls:Z,disabled:pe,value:Se,checked:R===Se},Se):b.createElement(a,{key:"radio-group-value-options-".concat(Se.value),prefixCls:Z,disabled:Se.disabled||pe,value:Se.value,checked:R===Se.value,style:Se.style},Se.label)})}var ge=De||N,le=f()(V,"".concat(V,"-").concat(he),(G={},Object(w.a)(G,"".concat(V,"-").concat(ge),ge),Object(w.a)(G,"".concat(V,"-rtl"),F==="rtl"),G),q);return b.createElement("div",{className:le,style:Xe,onMouseEnter:Ee,onMouseLeave:qe,id:J,ref:I},X)};return b.createElement(e,{value:{onChange:H,value:R,disabled:E.disabled,name:E.name}},K())}),S=b.memo(m),y=function(E,I){var L={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&I.indexOf(D)<0&&(L[D]=E[D]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,D=Object.getOwnPropertySymbols(E);F<D.length;F++)I.indexOf(D[F])<0&&Object.prototype.propertyIsEnumerable.call(E,D[F])&&(L[D[F]]=E[D[F]]);return L},x=function(I,L){var D=b.useContext(n),F=b.useContext(u.b),N=F.getPrefixCls,P=I.prefixCls,W=y(I,["prefixCls"]),R=N("radio-button",P);return D&&(W.checked=I.value===D.value,W.disabled=I.disabled||D.disabled),b.createElement(a,Object(A.a)({prefixCls:R},W,{type:"radio",ref:L}))},C=b.forwardRef(x),T=a;T.Button=C,T.Group=S;var _=B.a=T},A1Ka:function(k,B,d){var w=d("bLfw"),A=d("sS/r"),b=d("D5nY"),g=b.detectSourceFormat,v=d("k9D9"),f=v.SERIES_LAYOUT_BY_COLUMN;w.extend({type:"dataset",defaultOption:{seriesLayoutBy:f,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){g(this)}}),A.extend({type:"dataset"})},AE9C:function(k,B,d){var w=d("bYtY"),A=d("crZl"),b=d("IwbS"),g=d("oVpE"),v=g.createSymbol,f=d("+TT/"),l=d("y7Aq"),u=A.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var n=this.visualMapModel,i=n.get("textGap"),r=n.textStyleModel,s=r.getFont(),t=r.getTextColor(),a=this._getItemAlign(),c=n.itemSize,h=this._getViewData(),p=h.endsText,m=w.retrieve(n.get("showLabel",!0),!p);p&&this._renderEndsText(e,p[0],c,m,a),w.each(h.viewPieceList,S,this),p&&this._renderEndsText(e,p[1],c,m,a),f.box(n.get("orient"),e,n.get("itemGap")),this.renderBackground(e),this.positionGroup(e);function S(y){var x=y.piece,C=new b.Group;C.onclick=w.bind(this._onItemClick,this,x),this._enableHoverLink(C,y.indexInModelPieceList);var T=n.getRepresentValue(x);if(this._createItemSymbol(C,T,[0,0,c[0],c[1]]),m){var _=this.visualMapModel.getValueState(T);C.add(new b.Text({style:{x:a==="right"?-i:c[0]+i,y:c[1]/2,text:x.text,textVerticalAlign:"middle",textAlign:a,textFont:s,textFill:t,opacity:_==="outOfRange"?.5:1}}))}e.add(C)}},_enableHoverLink:function(e,n){e.on("mouseover",w.bind(i,this,"highlight")).on("mouseout",w.bind(i,this,"downplay"));function i(r){var s=this.visualMapModel;s.option.hoverLink&&this.api.dispatchAction({type:r,batch:l.makeHighDownBatch(s.findTargetDataIndices(n),s)})}},_getItemAlign:function(){var e=this.visualMapModel,n=e.option;if(n.orient==="vertical")return l.getItemAlign(e,this.api,e.itemSize);var i=n.align;return(!i||i==="auto")&&(i="left"),i},_renderEndsText:function(e,n,i,r,s){if(!n)return;var t=new b.Group,a=this.visualMapModel.textStyleModel;t.add(new b.Text({style:{x:r?s==="right"?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:r?s:"center",text:n,textFont:a.getFont(),textFill:a.getTextColor()}})),e.add(t)},_getViewData:function(){var e=this.visualMapModel,n=w.map(e.getPieceList(),function(t,a){return{piece:t,indexInModelPieceList:a}}),i=e.get("text"),r=e.get("orient"),s=e.get("inverse");return(r==="horizontal"?s:!s)?n.reverse():i&&(i=i.slice().reverse()),{viewPieceList:n,endsText:i}},_createItemSymbol:function(e,n,i){e.add(v(this.getControllerVisual(n,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(n,"color")))},_onItemClick:function(e){var n=this.visualMapModel,i=n.option,r=w.clone(i.selected),s=n.getSelectedMapKey(e);i.selectedMode==="single"?(r[s]=!0,w.each(r,function(t,a){r[a]=a===s})):r[s]=!r[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}}),o=u;k.exports=o},AEZ6:function(k,B,d){var w=d("bYtY"),A=w.each,b=w.createHashMap,g=d("T4UG"),v=d("MwEJ"),f=g.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(o,e){var n=this.getSource();return l(n,this),v(n,this)},getRawIndicesByActiveState:function(o){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,function(r,s){o===r&&i.push(n.getRawIndex(s))}),i},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 l(o,e){if(o.encodeDefine)return;var n=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(!n)return;var i=o.encodeDefine=b();A(n.dimensions,function(r){var s=u(r);i.set(r,s)})}function u(o){return+o.replace("dim","")}k.exports=f},AH3D:function(k,B,d){var w=d("ProS");d("y4/Y"),d("qWt2"),d("Qvb6"),w.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),w.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("5GtS"),g=d("4NO4"),v=g.defaultEmphasis,f=d("D5nY"),l=f.makeSeriesEncodeForNameBased,u=d("xKMd"),o=w.extendSeriesModel({type:"series.funnel",init:function(n){o.superApply(this,"init",arguments),this.legendVisualProvider=new u(A.bind(this.getData,this),A.bind(this.getRawData,this)),this._defaultLabelLine(n)},getInitialData:function(n,i){return b(this,{coordDimensions:["value"],encodeDefaulter:A.curry(l,this)})},_defaultLabelLine:function(n){v(n,"labelLine",["show"]);var i=n.labelLine,r=n.emphasis.labelLine;i.show=i.show&&n.label.show,r.show=r.show&&n.emphasis.label.show},getDataParams:function(n){var i=this.getData(),r=o.superCall(this,"getDataParams",n),s=i.mapDimension("value"),t=i.getSum(s);return r.percent=t?+(i.get(s,n)/t*100).toFixed(2):0,r.$vars.push("percent"),r},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),e=o;k.exports=e},ANjR:function(k,B,d){var w=d("bYtY");function A(g,v){return v=v||[0,0],w.map([0,1],function(f){var l=v[f],u=g[f]/2,o=[],e=[];return o[f]=l-u,e[f]=l+u,o[1-f]=e[1-f]=v[1-f],Math.abs(this.dataToPoint(o)[f]-this.dataToPoint(e)[f])},this)}function b(g){var v=g.getBoundingRect();return{coordSys:{type:"geo",x:v.x,y:v.y,width:v.width,height:v.height,zoom:g.getZoom()},api:{coord:function(f){return g.dataToPoint(f)},size:w.bind(A,g)}}}k.exports=b},AOa7:function(k,B,d){},AUH6:function(k,B,d){var w=d("bYtY"),A=d("mFDi"),b=d("bMXI"),g=d("W4dC");function v(u,o,e,n){b.call(this,u),this.map=o;var i=g.load(o,e);this._nameCoordMap=i.nameCoordMap,this._regionsMap=i.regionsMap,this._invertLongitute=n==null?!0:n,this.regions=i.regions,this._rect=i.boundingRect}v.prototype={constructor:v,type:"geo",dimensions:["lng","lat"],containCoord:function(u){for(var o=this.regions,e=0;e<o.length;e++)if(o[e].contain(u))return!0;return!1},transformTo:function(u,o,e,n){var i=this.getBoundingRect(),r=this._invertLongitute;i=i.clone(),r&&(i.y=-i.y-i.height);var s=this._rawTransformable;if(s.transform=i.calculateTransform(new A(u,o,e,n)),s.decomposeTransform(),r){var t=s.scale;t[1]=-t[1]}s.updateTransform(),this._updateTransform()},getRegion:function(u){return this._regionsMap.get(u)},getRegionByCoord:function(u){for(var o=this.regions,e=0;e<o.length;e++)if(o[e].contain(u))return o[e]},addGeoCoord:function(u,o){this._nameCoordMap.set(u,o)},getGeoCoord:function(u){return this._nameCoordMap.get(u)},getBoundingRect:function(){return this._rect},dataToPoint:function(u,o,e){if(typeof u=="string"&&(u=this.getGeoCoord(u)),u)return b.prototype.dataToPoint.call(this,u,o,e)},convertToPixel:w.curry(f,"dataToPoint"),convertFromPixel:w.curry(f,"pointToData")},w.mixin(v,b);function f(u,o,e,n){var i=e.geoModel,r=e.seriesModel,s=i?i.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return s===this?s[u](n):null}var l=v;k.exports=l},AVZG:function(k,B,d){var w=d("bYtY");function A(b,g,v){v=v||{};var f=b.coordinateSystem,l=g.axis,u={},o=l.getAxesOnZeroOf()[0],e=l.position,n=o?"onZero":e,i=l.dim,r=f.getRect(),s=[r.x,r.x+r.width,r.y,r.y+r.height],t={left:0,right:1,top:0,bottom:1,onZero:2},a=g.get("offset")||0,c=i==="x"?[s[2]-a,s[3]+a]:[s[0]-a,s[1]+a];if(o){var h=o.toGlobalCoord(o.dataToCoord(0));c[t.onZero]=Math.max(Math.min(h,c[1]),c[0])}u.position=[i==="y"?c[t[n]]:s[0],i==="x"?c[t[n]]:s[3]],u.rotation=Math.PI/2*(i==="x"?0:1);var p={top:-1,bottom:1,left:-1,right:1};u.labelDirection=u.tickDirection=u.nameDirection=p[e],u.labelOffset=o?c[t[e]]-c[t.onZero]:0,g.get("axisTick.inside")&&(u.tickDirection=-u.tickDirection),w.retrieve(v.labelInside,g.get("axisLabel.inside"))&&(u.labelDirection=-u.labelDirection);var m=g.get("axisLabel.rotate");return u.labelRotate=n==="top"?-m:m,u.z2=1,u}B.layout=A},"Ae+d":function(k,B){function d(A,b,g){var v=A.target,f=v.position;f[0]+=b,f[1]+=g,v.dirty()}function w(A,b,g,v){var f=A.target,l=A.zoomLimit,u=f.position,o=f.scale,e=A.zoom=A.zoom||1;if(e*=b,l){var n=l.min||0,i=l.max||Infinity;e=Math.max(Math.min(i,e),n)}var r=e/A.zoom;A.zoom=e,u[0]-=(g-u[0])*(r-1),u[1]-=(v-u[1])*(r-1),o[0]*=r,o[1]*=r,f.dirty()}B.updateViewOnPan=d,B.updateViewOnZoom=w},Ae16:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS");d("Wqna"),d("rySg"),w.extendComponentView({type:"grid",render:function(g,v){this.group.removeAll(),g.get("show")&&this.group.add(new b.Rect({shape:g.coordinateSystem.getRect(),style:A.defaults({fill:g.get("backgroundColor")},g.getItemStyle()),silent:!0,z2:-1}))}}),w.registerPreprocessor(function(g){g.xAxis&&g.yAxis&&!g.grid&&(g.grid={})})},Awhp:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("PQMj"),g=d.n(b)},"B+YJ":function(k,B,d){d("TYVI"),d("p1MT")},"B6l+":function(k,B,d){var w=d("Sq3C"),A=d("Z1HP"),b=d("Sxd8"),g=d("dt0z");function v(f,l,u){f=g(f),l=b(l);var o=l?A(f):0;return l&&o<l?f+w(l-o,u):f}k.exports=v},B9cy:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("0XgM"),g=d.n(b)},B9fm:function(k,B,d){var w=d("bYtY"),A=d("Qe9p"),b=d("YH21"),g=d("Ze12"),v=d("ItGF"),f=d("7aKB"),l=w.each,u=f.toCamelCase,o=["","-webkit-","-moz-","-o-"],e="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function n(c){var h="cubic-bezier(0.23, 1, 0.32, 1)",p="left "+c+"s "+h+",top "+c+"s "+h;return w.map(o,function(m){return m+"transition:"+p}).join(";")}function i(c){var h=[],p=c.get("fontSize"),m=c.getTextColor();return m&&h.push("color:"+m),h.push("font:"+c.getFont()),p&&h.push("line-height:"+Math.round(p*3/2)+"px"),l(["decoration","align"],function(S){var y=c.get(S);y&&h.push("text-"+S+":"+y)}),h.join(";")}function r(c){var h=[],p=c.get("transitionDuration"),m=c.get("backgroundColor"),S=c.getModel("textStyle"),y=c.get("padding");return p&&h.push(n(p)),m&&(v.canvasSupported?h.push("background-Color:"+m):(h.push("background-Color:#"+A.toHex(m)),h.push("filter:alpha(opacity=70)"))),l(["width","color","radius"],function(x){var C="border-"+x,T=u(C),_=c.get(T);_!=null&&h.push(C+":"+_+(x==="color"?"":"px"))}),h.push(i(S)),y!=null&&h.push("padding:"+f.normalizeCssArray(y).join("px ")+"px"),h.join(";")+";"}function s(c,h,p,m,S){var y=h&&h.painter;if(p){var x=y&&y.getViewportRoot();x&&g.transformLocalCoord(c,x,document.body,m,S)}else{c[0]=m,c[1]=S;var C=y&&y.getViewportRootOffset();C&&(c[0]+=C.offsetLeft,c[1]+=C.offsetTop)}}function t(c,h,p){if(v.wxa)return null;var m=document.createElement("div");m.domBelongToZr=!0,this.el=m;var S=this._zr=h.getZr(),y=this._appendToBody=p&&p.appendToBody;this._styleCoord=[0,0],s(this._styleCoord,S,y,h.getWidth()/2,h.getHeight()/2),y?document.body.appendChild(m):c.appendChild(m),this._container=c,this._show=!1,this._hideTimeout;var x=this;m.onmouseenter=function(){x._enterable&&(clearTimeout(x._hideTimeout),x._show=!0),x._inContent=!0},m.onmousemove=function(C){if(C=C||window.event,!x._enterable){var T=S.handler,_=S.painter.getViewportRoot();b.normalizeEvent(_,C,!0),T.dispatch("mousemove",C)}},m.onmouseleave=function(){x._enterable&&(x._show&&x.hideLater(x._hideDelay)),x._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var c=this._container,h=c.currentStyle||document.defaultView.getComputedStyle(c),p=c.style;p.position!=="absolute"&&h.position!=="absolute"&&(p.position="relative")},show:function(c){clearTimeout(this._hideTimeout);var h=this.el,p=this._styleCoord;h.style.cssText=e+r(c)+";left:"+p[0]+"px;top:"+p[1]+"px;"+(c.get("extraCssText")||""),h.style.display=h.innerHTML?"block":"none",h.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(c){this.el.innerHTML=c==null?"":c},setEnterable:function(c){this._enterable=c},getSize:function(){var c=this.el;return[c.clientWidth,c.clientHeight]},moveTo:function(c,h){var p=this._styleCoord;s(p,this._zr,this._appendToBody,c,h);var m=this.el.style;m.left=p[0]+"px",m.top=p[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(c){this._show&&!(this._inContent&&this._enterable)&&(c?(this._hideDelay=c,this._show=!1,this._hideTimeout=setTimeout(w.bind(this.hide,this),c)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var c=this.el.clientWidth,h=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var p=document.defaultView.getComputedStyle(this.el);p&&(c+=parseInt(p.borderLeftWidth,10)+parseInt(p.borderRightWidth,10),h+=parseInt(p.borderTopWidth,10)+parseInt(p.borderBottomWidth,10))}return{width:c,height:h}}};var a=t;k.exports=a},BPZU:function(k,B){var d=32,w=7,A=256;function b(n){for(var i=0;n>=d;)i|=n&1,n>>=1;return n+i}function g(n,i,r,s){var t=i+1;if(t===r)return 1;if(s(n[t++],n[i])<0){for(;t<r&&s(n[t],n[t-1])<0;)t++;v(n,i,t)}else for(;t<r&&s(n[t],n[t-1])>=0;)t++;return t-i}function v(n,i,r){for(r--;i<r;){var s=n[i];n[i++]=n[r],n[r--]=s}}function f(n,i,r,s,t){for(s===i&&s++;s<r;s++){for(var a=n[s],c=i,h=s,p;c<h;)p=c+h>>>1,t(a,n[p])<0?h=p:c=p+1;var m=s-c;switch(m){case 3:n[c+3]=n[c+2];case 2:n[c+2]=n[c+1];case 1:n[c+1]=n[c];break;default:for(;m>0;)n[c+m]=n[c+m-1],m--}n[c]=a}}function l(n,i,r,s,t,a){var c=0,h=0,p=1;if(a(n,i[r+t])>0){for(h=s-t;p<h&&a(n,i[r+t+p])>0;)c=p,p=(p<<1)+1,p<=0&&(p=h);p>h&&(p=h),c+=t,p+=t}else{for(h=t+1;p<h&&a(n,i[r+t-p])<=0;)c=p,p=(p<<1)+1,p<=0&&(p=h);p>h&&(p=h);var m=c;c=t-p,p=t-m}for(c++;c<p;){var S=c+(p-c>>>1);a(n,i[r+S])>0?c=S+1:p=S}return p}function u(n,i,r,s,t,a){var c=0,h=0,p=1;if(a(n,i[r+t])<0){for(h=t+1;p<h&&a(n,i[r+t-p])<0;)c=p,p=(p<<1)+1,p<=0&&(p=h);p>h&&(p=h);var m=c;c=t-p,p=t-m}else{for(h=s-t;p<h&&a(n,i[r+t+p])>=0;)c=p,p=(p<<1)+1,p<=0&&(p=h);p>h&&(p=h),c+=t,p+=t}for(c++;c<p;){var S=c+(p-c>>>1);a(n,i[r+S])<0?p=S:c=S+1}return p}function o(n,i){var r=w,s=0,t=A,a=0,c,h,p=0;s=n.length,s<2*A&&(t=s>>>1);var m=[];a=s<120?5:s<1542?10:s<119151?19:40,c=[],h=[];function S(E,I){c[p]=E,h[p]=I,p+=1}function y(){for(;p>1;){var E=p-2;if(E>=1&&h[E-1]<=h[E]+h[E+1]||E>=2&&h[E-2]<=h[E]+h[E-1])h[E-1]<h[E+1]&&E--;else if(h[E]>h[E+1])break;C(E)}}function x(){for(;p>1;){var E=p-2;E>0&&h[E-1]<h[E+1]&&E--,C(E)}}function C(E){var I=c[E],L=h[E],D=c[E+1],F=h[E+1];h[E]=L+F,E===p-3&&(c[E+1]=c[E+2],h[E+1]=h[E+2]),p--;var N=u(n[D],n,I,L,0,i);if(I+=N,L-=N,L===0)return;if(F=l(n[I+L-1],n,D,F,F-1,i),F===0)return;L<=F?T(I,L,D,F):_(I,L,D,F)}function T(E,I,L,D){var F=0;for(F=0;F<I;F++)m[F]=n[E+F];var N=0,P=L,W=E;if(n[W++]=n[P++],--D===0){for(F=0;F<I;F++)n[W+F]=m[N+F];return}if(I===1){for(F=0;F<D;F++)n[W+F]=n[P+F];n[W+D]=m[N];return}for(var R=r,j,H,K;;){j=0,H=0,K=!1;do if(i(n[P],m[N])<0){if(n[W++]=n[P++],H++,j=0,--D===0){K=!0;break}}else if(n[W++]=m[N++],j++,H=0,--I===1){K=!0;break}while((j|H)<R);if(K)break;do{if(j=u(n[P],m,N,I,0,i),j!==0){for(F=0;F<j;F++)n[W+F]=m[N+F];if(W+=j,N+=j,I-=j,I<=1){K=!0;break}}if(n[W++]=n[P++],--D===0){K=!0;break}if(H=l(m[N],n,P,D,0,i),H!==0){for(F=0;F<H;F++)n[W+F]=n[P+F];if(W+=H,P+=H,D-=H,D===0){K=!0;break}}if(n[W++]=m[N++],--I===1){K=!0;break}R--}while(j>=w||H>=w);if(K)break;R<0&&(R=0),R+=2}if(r=R,r<1&&(r=1),I===1){for(F=0;F<D;F++)n[W+F]=n[P+F];n[W+D]=m[N]}else{if(I===0)throw new Error;for(F=0;F<I;F++)n[W+F]=m[N+F]}}function _(E,I,L,D){var F=0;for(F=0;F<D;F++)m[F]=n[L+F];var N=E+I-1,P=D-1,W=L+D-1,R=0,j=0;if(n[W--]=n[N--],--I===0){for(R=W-(D-1),F=0;F<D;F++)n[R+F]=m[F];return}if(D===1){for(W-=I,N-=I,j=W+1,R=N+1,F=I-1;F>=0;F--)n[j+F]=n[R+F];n[W]=m[P];return}for(var H=r;;){var K=0,U=0,G=!1;do if(i(m[P],n[N])<0){if(n[W--]=n[N--],K++,U=0,--I===0){G=!0;break}}else if(n[W--]=m[P--],U++,K=0,--D===1){G=!0;break}while((K|U)<H);if(G)break;do{if(K=I-u(m[P],n,E,I,I-1,i),K!==0){for(W-=K,N-=K,I-=K,j=W+1,R=N+1,F=K-1;F>=0;F--)n[j+F]=n[R+F];if(I===0){G=!0;break}}if(n[W--]=m[P--],--D===1){G=!0;break}if(U=D-l(n[N],m,0,D,D-1,i),U!==0){for(W-=U,P-=U,D-=U,j=W+1,R=P+1,F=0;F<U;F++)n[j+F]=m[R+F];if(D<=1){G=!0;break}}if(n[W--]=n[N--],--I===0){G=!0;break}H--}while(K>=w||U>=w);if(G)break;H<0&&(H=0),H+=2}if(r=H,r<1&&(r=1),D===1){for(W-=I,N-=I,j=W+1,R=N+1,F=I-1;F>=0;F--)n[j+F]=n[R+F];n[W]=m[P]}else{if(D===0)throw new Error;for(R=W-(D-1),F=0;F<D;F++)n[R+F]=m[F]}}this.mergeRuns=y,this.forceMergeRuns=x,this.pushRun=S}function e(n,i,r,s){r||(r=0),s||(s=n.length);var t=s-r;if(t<2)return;var a=0;if(t<d){a=g(n,r,s,i),f(n,r,s,r+a,i);return}var c=new o(n,i),h=b(t);do{if(a=g(n,r,s,i),a<h){var p=t;p>h&&(p=h),f(n,r,r+p,r+a,i),a=p}c.pushRun(r,a),c.mergeRuns(),t-=a,r+=a}while(t!==0);c.forceMergeRuns()}k.exports=e},Bd2K:function(k,B,d){(function(w){w(d("VrN/"),d("osHv"))})(function(w){w.defineOption("autoCloseTags",!1,function(o,e,n){if(n!=w.Init&&n&&o.removeKeyMap("autoCloseTags"),!e)return;var i={name:"autoCloseTags"};(typeof e!="object"||e.whenClosing!==!1)&&(i["'/'"]=function(r){return f(r)}),(typeof e!="object"||e.whenOpening!==!1)&&(i["'>'"]=function(r){return g(r)}),o.addKeyMap(i)});var A=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],b=["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 g(o){if(o.getOption("disableInput"))return w.Pass;for(var e=o.listSelections(),n=[],i=o.getOption("autoCloseTags"),r=0;r<e.length;r++){if(!e[r].empty())return w.Pass;var s=e[r].head,t=o.getTokenAt(s),a=w.innerMode(o.getMode(),t.state),c=a.state,h=a.mode.xmlCurrentTag&&a.mode.xmlCurrentTag(c),p=h&&h.name;if(!p)return w.Pass;var m=a.mode.configuration=="html",S=typeof i=="object"&&i.dontCloseTags||m&&A,y=typeof i=="object"&&i.indentTags||m&&b;t.end>s.ch&&(p=p.slice(0,p.length-t.end+s.ch));var x=p.toLowerCase();if(!p||t.type=="string"&&(t.end!=s.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&h.close||t.string.indexOf("/")==s.ch-t.start-1||S&&l(S,x)>-1||u(o,a.mode.xmlCurrentContext&&a.mode.xmlCurrentContext(c)||[],p,s,!0))return w.Pass;var C=typeof i=="object"&&i.emptyTags;if(C&&l(C,p)>-1){n[r]={text:"/>",newPos:w.Pos(s.line,s.ch+2)};continue}var T=y&&l(y,x)>-1;n[r]={indent:T,text:">"+(T?`
`:"")+"</"+p+">",newPos:T?w.Pos(s.line+1,0):w.Pos(s.line,s.ch+1)}}for(var _=typeof i=="object"&&i.dontIndentOnAutoClose,r=e.length-1;r>=0;r--){var E=n[r];o.replaceRange(E.text,e[r].head,e[r].anchor,"+insert");var I=o.listSelections().slice(0);I[r]={head:E.newPos,anchor:E.newPos},o.setSelections(I),!_&&E.indent&&(o.indentLine(E.newPos.line,null,!0),o.indentLine(E.newPos.line+1,null,!0))}}function v(o,e){for(var n=o.listSelections(),i=[],r=e?"/":"</",s=o.getOption("autoCloseTags"),t=typeof s=="object"&&s.dontIndentOnSlash,a=0;a<n.length;a++){if(!n[a].empty())return w.Pass;var c=n[a].head,h=o.getTokenAt(c),p=w.innerMode(o.getMode(),h.state),m=p.state;if(e&&(h.type=="string"||h.string.charAt(0)!="<"||h.start!=c.ch-1))return w.Pass;var S,y=p.mode.name!="xml"&&o.getMode().name=="htmlmixed";if(y&&p.mode.name=="javascript")S=r+"script";else if(y&&p.mode.name=="css")S=r+"style";else{var x=p.mode.xmlCurrentContext&&p.mode.xmlCurrentContext(m);if(!x||x.length&&u(o,x,x[x.length-1],c))return w.Pass;S=r+x[x.length-1]}o.getLine(c.line).charAt(h.end)!=">"&&(S+=">"),i[a]=S}if(o.replaceSelections(i),n=o.listSelections(),!t)for(var a=0;a<n.length;a++)(a==n.length-1||n[a].head.line<n[a+1].head.line)&&o.indentLine(n[a].head.line)}function f(o){return o.getOption("disableInput")?w.Pass:v(o,!0)}w.commands.closeTag=function(o){return v(o)};function l(o,e){if(o.indexOf)return o.indexOf(e);for(var n=0,i=o.length;n<i;++n)if(o[n]==e)return n;return-1}function u(o,e,n,i,r){if(!w.scanForClosingTag)return!1;var s=Math.min(o.lastLine()+1,i.line+500),t=w.scanForClosingTag(o,i,null,s);if(!t||t.tag!=n)return!1;for(var a=r?1:0,c=e.length-1;c>=0&&e[c]==n;c--)++a;i=t.to;for(var c=1;c<a;c++){var h=w.scanForClosingTag(o,i,null,s);if(!h||h.tag!=n)return!1;i=h.to}return!0}})},BlVb:function(k,B,d){var w=d("hyiK"),A=1e-8;function b(v,f){return Math.abs(v-f)<A}function g(v,f,l){var u=0,o=v[0];if(!o)return!1;for(var e=1;e<v.length;e++){var n=v[e];u+=w(o[0],o[1],n[0],n[1],f,l),o=n}var i=v[0];return(!b(o[0],i[0])||!b(o[1],i[1]))&&(u+=w(o[0],o[1],i[0],i[1],f,l)),u!==0}B.contain=g},BoS7:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("czTT"),g=d.n(b)},Bq2U:function(k,B,d){var w=d("RDYZ"),A=d("Qe9p"),b=d("bYtY"),g=b.isArrayLike,v=Array.prototype.slice;function f(S,y){return S[y]}function l(S,y,x){S[y]=x}function u(S,y,x){return(y-S)*x+S}function o(S,y,x){return x>.5?y:S}function e(S,y,x,C,T){var _=S.length;if(T===1)for(var E=0;E<_;E++)C[E]=u(S[E],y[E],x);else for(var I=_&&S[0].length,E=0;E<_;E++)for(var L=0;L<I;L++)C[E][L]=u(S[E][L],y[E][L],x)}function n(S,y,x){var C=S.length,T=y.length;if(C!==T){var _=C>T;if(_)S.length=T;else for(var E=C;E<T;E++)S.push(x===1?y[E]:v.call(y[E]))}for(var I=S[0]&&S[0].length,E=0;E<S.length;E++)if(x===1)isNaN(S[E])&&(S[E]=y[E]);else for(var L=0;L<I;L++)isNaN(S[E][L])&&(S[E][L]=y[E][L])}function i(S,y,x){if(S===y)return!0;var C=S.length;if(C!==y.length)return!1;if(x===1){for(var T=0;T<C;T++)if(S[T]!==y[T])return!1}else for(var _=S[0].length,T=0;T<C;T++)for(var E=0;E<_;E++)if(S[T][E]!==y[T][E])return!1;return!0}function r(S,y,x,C,T,_,E,I,L){var D=S.length;if(L===1)for(var F=0;F<D;F++)I[F]=s(S[F],y[F],x[F],C[F],T,_,E);else for(var N=S[0].length,F=0;F<D;F++)for(var P=0;P<N;P++)I[F][P]=s(S[F][P],y[F][P],x[F][P],C[F][P],T,_,E)}function s(S,y,x,C,T,_,E){var I=(x-S)*.5,L=(C-y)*.5;return(2*(y-x)+I+L)*E+(-3*(y-x)-2*I-L)*_+I*T+y}function t(S){if(g(S)){var y=S.length;if(g(S[0])){for(var x=[],C=0;C<y;C++)x.push(v.call(S[C]));return x}return v.call(S)}return S}function a(S){return S[0]=Math.floor(S[0]),S[1]=Math.floor(S[1]),S[2]=Math.floor(S[2]),"rgba("+S.join(",")+")"}function c(S){var y=S[S.length-1].value;return g(y&&y[0])?2:1}function h(S,y,x,C,T,_){var E=S._getter,I=S._setter,L=y==="spline",D=C.length;if(!D)return;var F=C[0].value,N=g(F),P=!1,W=!1,R=N?c(C):0,j;C.sort(function(V,X){return V.time-X.time}),j=C[D-1].time;for(var H=[],K=[],U=C[0].value,G=!0,z=0;z<D;z++){H.push(C[z].time/j);var Y=C[z].value;if(N&&i(Y,U,R)||!N&&Y===U||(G=!1),U=Y,typeof Y=="string"){var q=A.parse(Y);q?(Y=q,P=!0):W=!0}K.push(Y)}if(!_&&G)return;for(var oe=K[D-1],z=0;z<D-1;z++)N?n(K[z],oe,R):isNaN(K[z])&&!isNaN(oe)&&!W&&!P&&(K[z]=oe);N&&n(E(S._target,T),oe,R);var ie=0,se=0,he,pe,_e,De,Xe,J;if(P)var Ee=[0,0,0,0];var qe=function(X,Z){var ge;if(Z<0)ge=0;else if(Z<se){for(he=Math.min(ie+1,D-1),ge=he;ge>=0&&!(H[ge]<=Z);ge--);ge=Math.min(ge,D-2)}else{for(ge=ie;ge<D&&!(H[ge]>Z);ge++);ge=Math.min(ge-1,D-2)}ie=ge,se=Z;var le=H[ge+1]-H[ge];if(le===0)return;if(pe=(Z-H[ge])/le,L)if(De=K[ge],_e=K[ge===0?ge:ge-1],Xe=K[ge>D-2?D-1:ge+1],J=K[ge>D-3?D-1:ge+2],N)r(_e,De,Xe,J,pe,pe*pe,pe*pe*pe,E(X,T),R);else{var Se;if(P)Se=r(_e,De,Xe,J,pe,pe*pe,pe*pe*pe,Ee,1),Se=a(Ee);else{if(W)return o(De,Xe,pe);Se=s(_e,De,Xe,J,pe,pe*pe,pe*pe*pe)}I(X,T,Se)}else if(N)e(K[ge],K[ge+1],pe,E(X,T),R);else{var Se;if(P)e(K[ge],K[ge+1],pe,Ee,1),Se=a(Ee);else{if(W)return o(K[ge],K[ge+1],pe);Se=u(K[ge],K[ge+1],pe)}I(X,T,Se)}},ae=new w({target:S._target,life:j,loop:S._loop,delay:S._delay,onframe:qe,ondestroy:x});return y&&y!=="spline"&&(ae.easing=y),ae}var p=function(y,x,C,T){this._tracks={},this._target=y,this._loop=x||!1,this._getter=C||f,this._setter=T||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};p.prototype={when:function(y,x){var C=this._tracks;for(var T in x){if(!x.hasOwnProperty(T))continue;if(!C[T]){C[T]=[];var _=this._getter(this._target,T);if(_==null)continue;y!==0&&C[T].push({time:0,value:t(_)})}C[T].push({time:y,value:x[T]})}return this},during:function(y){return this._onframeList.push(y),this},pause:function(){for(var y=0;y<this._clipList.length;y++)this._clipList[y].pause();this._paused=!0},resume:function(){for(var y=0;y<this._clipList.length;y++)this._clipList[y].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var y=this._doneList,x=y.length,C=0;C<x;C++)y[C].call(this)},start:function(y,x){var C=this,T=0,_=function(){T--,T||C._doneCallback()},E;for(var I in this._tracks){if(!this._tracks.hasOwnProperty(I))continue;var L=h(this,y,_,this._tracks[I],I,x);L&&(this._clipList.push(L),T++,this.animation&&this.animation.addClip(L),E=L)}if(E){var D=E.onframe;E.onframe=function(F,N){D(F,N);for(var P=0;P<C._onframeList.length;P++)C._onframeList[P](F,N)}}return T||this._doneCallback(),this},stop:function(y){for(var x=this._clipList,C=this.animation,T=0;T<x.length;T++){var _=x[T];y&&_.onframe(this._target,1),C&&C.removeClip(_)}x.length=0},delay:function(y){return this._delay=y,this},done:function(y){return y&&this._doneList.push(y),this},getClips:function(){return this._clipList}};var m=p;k.exports=m},Bsck:function(k,B,d){var w=d("bYtY"),A=d("Qxkt"),b=d("Mdki"),g=d("YXkt"),v=d("sdST"),f=function(e,n){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=n};f.prototype={constructor:f,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,n,i){typeof e=="function"&&(i=n,n=e,e=null),e=e||{},w.isString(e)&&(e={order:e});var r=e.order||"preorder",s=this[e.attr||"children"],t;r==="preorder"&&(t=n.call(i,this));for(var a=0;!t&&a<s.length;a++)s[a].eachNode(e,n,i);r==="postorder"&&n.call(i,this)},updateDepthAndHeight:function(e){var n=0;this.depth=e;for(var i=0;i<this.children.length;i++){var r=this.children[i];r.updateDepthAndHeight(e+1),r.height>n&&(n=r.height)}this.height=n+1},getNodeById:function(e){if(this.getId()===e)return this;for(var n=0,i=this.children,r=i.length;n<r;n++){var s=i[n].getNodeById(e);if(s)return s}},contains:function(e){if(e===this)return!0;for(var n=0,i=this.children,r=i.length;n<r;n++){var s=i[n].contains(e);if(s)return s}},getAncestors:function(e){for(var n=[],i=e?this:this.parentNode;i;)n.push(i),i=i.parentNode;return n.reverse(),n},getValue:function(e){var n=this.hostTree.data;return n.get(n.getDimension(e||"value"),this.dataIndex)},setLayout:function(e,n){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,n)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(this.dataIndex<0)return;var n=this.hostTree,i=n.data.getItemModel(this.dataIndex),r=this.getLevelModel();return r?i.getModel(e,r.getModel(e)):i.getModel(e)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(e,n){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,n)},getVisual:function(e,n){return this.hostTree.data.getItemVisual(this.dataIndex,e,n)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){for(var n=e.parentNode;n;){if(n===this)return!0;n=n.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}};function l(e,n){this.root,this.data,this._nodes=[],this.hostModel=e,this.levelModels=w.map(n||[],function(i){return new A(i,e,e.ecModel)})}l.prototype={constructor:l,type:"tree",eachNode:function(e,n,i){this.root.eachNode(e,n,i)},getNodeByDataIndex:function(e){var n=this.data.getRawIndex(e);return this._nodes[n]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,n=this._nodes,i=0,r=n.length;i<r;i++)n[i].dataIndex=-1;for(var i=0,r=e.count();i<r;i++)n[e.getRawIndex(i)].dataIndex=i},clearLayouts:function(){this.data.clearItemLayouts()}},l.createTree=function(e,n,i,r){var s=new l(n,i&&i.levels),t=[],a=1;c(e);function c(m,S){var y=m.value;a=Math.max(a,w.isArray(y)?y.length:1),t.push(m);var x=new f(m.name,s);S?u(x,S):s.root=x,s._nodes.push(x);var C=m.children;if(C)for(var T=0;T<C.length;T++)c(C[T],x)}s.root.updateDepthAndHeight(0);var h=v(t,{coordDimensions:["value"],dimensionsCount:a}),p=new g(h,n);return p.initData(t),r&&r(p),b({mainData:p,struct:s,structAttr:"tree"}),s.update(),s};function u(e,n){var i=n.children;if(e.parentNode===n)return;i.push(e),e.parentNode=n}var o=l;k.exports=o},BtR2:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="LikeOutlined";var l=B.a=A.forwardRef(f)},BuqR:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=d("6uqw"),v=d("XxSj"),f=d("YOMW"),l=d("OELB"),u=l.reformIntervals,o=g.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,s){o.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var t=this._mode=this._determineMode();e[this._mode].call(this),this._resetSelected(r,s);var a=this.option.categories;this.resetVisual(function(c,h){t==="categories"?(c.mappingMethod="category",c.categories=b.clone(a)):(c.dataExtent=this.getExtent(),c.mappingMethod="piecewise",c.pieceList=b.map(this._pieceList,function(p){var p=b.clone(p);return h!=="inRange"&&(p.visual=null),p}))})},completeVisualOption:function(){var r=this.option,s={},t=v.listVisualTypes(),a=this.isCategory();b.each(r.pieces,function(h){b.each(t,function(p){h.hasOwnProperty(p)&&(s[p]=1)})}),b.each(s,function(h,p){var m=0;b.each(this.stateList,function(S){m|=c(r,S,p)||c(r.target,S,p)},this),!m&&b.each(this.stateList,function(S){(r[S]||(r[S]={}))[p]=f.get(p,S==="inRange"?"active":"inactive",a)})},this);function c(h,p,m){return h&&h[p]&&(b.isObject(h[p])?h[p].hasOwnProperty(m):h[p]===m)}g.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(r,s){var t=this.option,a=this._pieceList,c=(s?t:r).selected||{};if(t.selected=c,b.each(a,function(p,m){var S=this.getSelectedMapKey(p);c.hasOwnProperty(S)||(c[S]=!0)},this),t.selectedMode==="single"){var h=!1;b.each(a,function(p,m){var S=this.getSelectedMapKey(p);c[S]&&(h?c[S]=!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=b.clone(r)},getValueState:function(r){var s=v.findPieceIndex(r,this._pieceList);return s!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[s])]?"inRange":"outOfRange"},findTargetDataIndices:function(r){var s=[];return this.eachTargetSeries(function(t){var a=[],c=t.getData();c.each(this.getDataDimension(c),function(h,p){var m=v.findPieceIndex(h,this._pieceList);m===r&&a.push(p)},this),s.push({seriesId:t.id,dataIndex:a})},this),s},getRepresentValue:function(r){var s;if(this.isCategory())s=r.value;else if(r.value!=null)s=r.value;else{var t=r.interval||[];s=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return s},getVisualMeta:function(r){if(this.isCategory())return;var s=[],t=[],a=this;function c(S,y){var x=a.getRepresentValue({interval:S});y||(y=a.getValueState(x));var C=r(x,y);S[0]===-Infinity?t[0]=C:S[1]===Infinity?t[1]=C:s.push({value:S[0],color:C},{value:S[1],color:C})}var h=this._pieceList.slice();if(!h.length)h.push({interval:[-Infinity,Infinity]});else{var p=h[0].interval[0];p!==-Infinity&&h.unshift({interval:[-Infinity,p]}),p=h[h.length-1].interval[1],p!==Infinity&&h.push({interval:[p,Infinity]})}var m=-Infinity;return b.each(h,function(S){var y=S.interval;y&&(y[0]>m&&c([m,y[0]],"outOfRange"),c(y.slice()),m=y[1])},this),{stops:s,outerColors:t}}}),e={splitNumber:function(){var r=this.option,s=this._pieceList,t=Math.min(r.precision,20),a=this.getExtent(),c=r.splitNumber;c=Math.max(parseInt(c,10),1),r.splitNumber=c;for(var h=(a[1]-a[0])/c;+h.toFixed(t)!==h&&t<5;)t++;r.precision=t,h=+h.toFixed(t),r.minOpen&&s.push({interval:[-Infinity,a[0]],close:[0,0]});for(var p=0,m=a[0];p<c;m+=h,p++){var S=p===c-1?a[1]:m+h;s.push({interval:[m,S],close:[1,1]})}r.maxOpen&&s.push({interval:[a[1],Infinity],close:[0,0]}),u(s),b.each(s,function(y,x){y.index=x,y.text=this.formatValueText(y.interval)},this)},categories:function(){var r=this.option;b.each(r.categories,function(s){this._pieceList.push({text:this.formatValueText(s,!0),value:s})},this),n(r,this._pieceList)},pieces:function(){var r=this.option,s=this._pieceList;b.each(r.pieces,function(t,a){b.isObject(t)||(t={value:t});var c={text:"",index:a};if(t.label!=null&&(c.text=t.label),t.hasOwnProperty("value")){var h=c.value=t.value;c.interval=[h,h],c.close=[1,1]}else{for(var p=c.interval=[],m=c.close=[0,0],S=[1,0,1],y=[-Infinity,Infinity],x=[],C=0;C<2;C++){for(var T=[["gte","gt","min"],["lte","lt","max"]][C],_=0;_<3&&p[C]==null;_++)p[C]=t[T[_]],m[C]=S[_],x[C]=_===2;p[C]==null&&(p[C]=y[C])}x[0]&&p[1]===Infinity&&(m[0]=0),x[1]&&p[0]===-Infinity&&(m[1]=0),p[0]===p[1]&&m[0]&&m[1]&&(c.value=p[0])}c.visual=v.retrieveVisuals(t),s.push(c)},this),n(r,s),u(s),b.each(s,function(t){var a=t.close,c=[["<","\u2264"][a[1]],[">","\u2265"][a[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,c)},this)}};function n(r,s){var t=r.inverse;(r.orient==="vertical"?!t:t)&&s.reverse()}var i=o;k.exports=i},BvKs:function(k,B,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("1OyB"),g=d("vuIU"),v=d("Ji7U"),f=d("LK+K"),l=d("q1tI"),u=d("1j5w"),o=d("TSYQ"),e=d.n(o),n=d("bT9E"),i=Object(l.createContext)({inlineCollapsed:!1}),r=i,s=d("0n0R"),t=function(I){Object(v.a)(D,I);var L=Object(f.a)(D);function D(){return Object(b.a)(this,D),L.apply(this,arguments)}return Object(g.a)(D,[{key:"renderTitle",value:function(N){var P=this.props,W=P.icon,R=P.title,j=P.level,H=P.rootPrefixCls;if(!W)return N&&j===1&&R&&typeof R=="string"?l.createElement("div",{className:"".concat(H,"-inline-collapsed-noicon")},R.charAt(0)):R;var K=Object(s.b)(R)&&R.type==="span";return l.createElement(l.Fragment,null,W,K?R:l.createElement("span",null,R))}},{key:"render",value:function(){var N=this,P=this.props,W=P.rootPrefixCls,R=P.popupClassName;return l.createElement(r.Consumer,null,function(j){var H=j.inlineCollapsed,K=j.antdMenuTheme;return l.createElement(u.e,Object(w.a)({},Object(n.a)(N.props,["icon"]),{title:N.renderTitle(H),popupClassName:e()(W,"".concat(W,"-").concat(K),R)}))})}}]),D}(l.Component);t.contextType=r,t.isSubMenu=1;var a=t,c=d("Zm9Q"),h=d("3S7+"),p=d("ZX9x"),m=function(I,L){var D={};for(var F in I)Object.prototype.hasOwnProperty.call(I,F)&&L.indexOf(F)<0&&(D[F]=I[F]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,F=Object.getOwnPropertySymbols(I);N<F.length;N++)L.indexOf(F[N])<0&&Object.prototype.propertyIsEnumerable.call(I,F[N])&&(D[F[N]]=I[F[N]]);return D},S=function(I){Object(v.a)(D,I);var L=Object(f.a)(D);function D(){var F;return Object(b.a)(this,D),F=L.apply(this,arguments),F.renderItem=function(N){var P=N.siderCollapsed,W=F.props,R=W.level,j=W.className,H=W.children,K=W.rootPrefixCls,U=F.props,G=U.title,z=U.icon,Y=U.danger,q=m(U,["title","icon","danger"]);return l.createElement(r.Consumer,null,function(oe){var ie,se=oe.inlineCollapsed,he=oe.direction,pe,_e=G;typeof G=="undefined"?_e=R===1?H:"":G===!1&&(_e="");var De={title:_e};!P&&!se&&(De.title=null,De.visible=!1);var Xe=Object(c.a)(H).length;return l.createElement(h.a,Object(w.a)({},De,{placement:he==="rtl"?"left":"right",overlayClassName:"".concat(K,"-inline-collapsed-tooltip")}),l.createElement(u.b,Object(w.a)({},q,{className:e()((ie={},Object(A.a)(ie,"".concat(K,"-item-danger"),Y),Object(A.a)(ie,"".concat(K,"-item-only-child"),(z?Xe+1:Xe)===1),ie),j),title:G}),Object(s.a)(z,{className:e()(Object(s.b)(z)?(pe=z.props)===null||pe===void 0?void 0:pe.className:"","".concat(K,"-item-icon"))}),F.renderItemChildren(se)))})},F}return Object(g.a)(D,[{key:"renderItemChildren",value:function(N){var P=this.props,W=P.icon,R=P.children,j=P.level,H=P.rootPrefixCls;return!W||Object(s.b)(R)&&R.type==="span"?R&&N&&j===1&&typeof R=="string"?l.createElement("div",{className:"".concat(H,"-inline-collapsed-noicon")},R.charAt(0)):R:l.createElement("span",null,R)}},{key:"render",value:function(){return l.createElement(p.a.Consumer,null,this.renderItem)}}]),D}(l.Component);S.isMenuItem=!0;var y=d("H84U"),x=d("uaoM"),C=d("EXcs"),T=function(I){Object(v.a)(D,I);var L=Object(f.a)(D);function D(F){var N;return Object(b.a)(this,D),N=L.call(this,F),N.renderMenu=function(P){var W=P.getPopupContainer,R=P.getPrefixCls,j=P.direction,H=N.props,K=H.prefixCls,U=H.className,G=H.theme,z=H.expandIcon,Y={horizontal:{motionName:"slide-up"},inline:C.a,other:{motionName:"zoom-big"}},q=R("menu",K),oe=e()("".concat(q,"-").concat(G),Object(A.a)({},"".concat(q,"-inline-collapsed"),N.getInlineCollapsed()),U);return l.createElement(r.Provider,{value:{inlineCollapsed:N.getInlineCollapsed()||!1,antdMenuTheme:G,direction:j}},l.createElement(u.f,Object(w.a)({getPopupContainer:W},N.props,{className:oe,prefixCls:q,direction:j,defaultMotions:Y,expandIcon:Object(s.a)(z,{className:"".concat(q,"-submenu-expand-icon")})})))},Object(x.a)(!("inlineCollapsed"in F&&F.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(x.a)(!(F.siderCollapsed!==void 0&&"inlineCollapsed"in F),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),N}return Object(g.a)(D,[{key:"getInlineCollapsed",value:function(){var N=this.props,P=N.inlineCollapsed,W=N.siderCollapsed;return W!==void 0?W:P}},{key:"render",value:function(){return l.createElement(y.a,null,this.renderMenu)}}]),D}(l.Component);T.defaultProps={className:"",theme:"light",focusable:!1};var _=function(I){Object(v.a)(D,I);var L=Object(f.a)(D);function D(){return Object(b.a)(this,D),L.apply(this,arguments)}return Object(g.a)(D,[{key:"render",value:function(){var N=this;return l.createElement(p.a.Consumer,null,function(P){return l.createElement(T,Object(w.a)({},N.props,P))})}}]),D}(l.Component);_.Divider=u.a,_.Item=S,_.SubMenu=a,_.ItemGroup=u.c;var E=B.a=_},C0SR:function(k,B,d){var w=d("YH21"),A=function(){this._track=[]};A.prototype={constructor:A,recognize:function(u,o,e){return this._doTrack(u,o,e),this._recognize(u)},clear:function(){return this._track.length=0,this},_doTrack:function(u,o,e){var n=u.touches;if(!n)return;for(var i={points:[],touches:[],target:o,event:u},r=0,s=n.length;r<s;r++){var t=n[r],a=w.clientToLocal(e,t,{});i.points.push([a.zrX,a.zrY]),i.touches.push(t)}this._track.push(i)},_recognize:function(u){for(var o in v)if(v.hasOwnProperty(o)){var e=v[o](this._track,u);if(e)return e}}};function b(l){var u=l[1][0]-l[0][0],o=l[1][1]-l[0][1];return Math.sqrt(u*u+o*o)}function g(l){return[(l[0][0]+l[1][0])/2,(l[0][1]+l[1][1])/2]}var v={pinch:function(u,o){var e=u.length;if(!e)return;var n=(u[e-1]||{}).points,i=(u[e-2]||{}).points||n;if(i&&i.length>1&&n&&n.length>1){var r=b(n)/b(i);!isFinite(r)&&(r=1),o.pinchScale=r;var s=g(n);return o.pinchX=s[0],o.pinchY=s[1],{type:"pinch",target:u[0].target,event:o}}}},f=A;k.exports=f},C0tN:function(k,B,d){d("0o9m"),d("8Uz6"),d("Ducp"),d("6/nd")},CBdT:function(k,B,d){var w=d("ProS");d("8waO"),d("AEZ6"),d("YNf1");var A=d("q3GZ");w.registerVisual(A)},CF2D:function(k,B,d){var w=d("ProS");d("vZI5"),d("GeKi");var A=d("6r85"),b=d("TJmX"),g=d("CbHG");w.registerPreprocessor(A),w.registerVisual(b),w.registerLayout(g)},CFYs:function(k,B,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("1OyB"),g=d("vuIU"),v=d("JX7q"),f=d("Ji7U"),l=d("LK+K"),u=d("q1tI"),o=d("TSYQ"),e=d.n(o),n=d("bT9E"),i=d("4i/N"),r=d("bRQS"),s=d("jO45"),t=d("jN4g"),a=d("H84U"),c=d("CWQg"),h=d("uaoM"),p=d("FER5"),m=d("iNWh"),S=d("LuSS"),y=d("b3aT"),x=function(){function rt(Ue,Ge){Ue===void 0&&(Ue=""),Ge===void 0&&(Ge={});var tt;if(Ue instanceof rt)return Ue;typeof Ue=="number"&&(Ue=Object(p.d)(Ue)),this.originalInput=Ue;var Wt=Object(S.a)(Ue);this.originalInput=Ue,this.r=Wt.r,this.g=Wt.g,this.b=Wt.b,this.a=Wt.a,this.roundA=Math.round(100*this.a)/100,this.format=(tt=Ge.format)!==null&&tt!==void 0?tt:Wt.format,this.gradientType=Ge.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=Wt.ok}return rt.prototype.isDark=function(){return this.getBrightness()<128},rt.prototype.isLight=function(){return!this.isDark()},rt.prototype.getBrightness=function(){var Ue=this.toRgb();return(Ue.r*299+Ue.g*587+Ue.b*114)/1e3},rt.prototype.getLuminance=function(){var Ue=this.toRgb(),Ge,tt,Wt,jt=Ue.r/255,Yt=Ue.g/255,Tt=Ue.b/255;return jt<=.03928?Ge=jt/12.92:Ge=Math.pow((jt+.055)/1.055,2.4),Yt<=.03928?tt=Yt/12.92:tt=Math.pow((Yt+.055)/1.055,2.4),Tt<=.03928?Wt=Tt/12.92:Wt=Math.pow((Tt+.055)/1.055,2.4),.2126*Ge+.7152*tt+.0722*Wt},rt.prototype.getAlpha=function(){return this.a},rt.prototype.setAlpha=function(Ue){return this.a=Object(y.b)(Ue),this.roundA=Math.round(100*this.a)/100,this},rt.prototype.toHsv=function(){var Ue=Object(p.h)(this.r,this.g,this.b);return{h:Ue.h*360,s:Ue.s,v:Ue.v,a:this.a}},rt.prototype.toHsvString=function(){var Ue=Object(p.h)(this.r,this.g,this.b),Ge=Math.round(Ue.h*360),tt=Math.round(Ue.s*100),Wt=Math.round(Ue.v*100);return this.a===1?"hsv("+Ge+", "+tt+"%, "+Wt+"%)":"hsva("+Ge+", "+tt+"%, "+Wt+"%, "+this.roundA+")"},rt.prototype.toHsl=function(){var Ue=Object(p.g)(this.r,this.g,this.b);return{h:Ue.h*360,s:Ue.s,l:Ue.l,a:this.a}},rt.prototype.toHslString=function(){var Ue=Object(p.g)(this.r,this.g,this.b),Ge=Math.round(Ue.h*360),tt=Math.round(Ue.s*100),Wt=Math.round(Ue.l*100);return this.a===1?"hsl("+Ge+", "+tt+"%, "+Wt+"%)":"hsla("+Ge+", "+tt+"%, "+Wt+"%, "+this.roundA+")"},rt.prototype.toHex=function(Ue){return Ue===void 0&&(Ue=!1),Object(p.f)(this.r,this.g,this.b,Ue)},rt.prototype.toHexString=function(Ue){return Ue===void 0&&(Ue=!1),"#"+this.toHex(Ue)},rt.prototype.toHex8=function(Ue){return Ue===void 0&&(Ue=!1),Object(p.j)(this.r,this.g,this.b,this.a,Ue)},rt.prototype.toHex8String=function(Ue){return Ue===void 0&&(Ue=!1),"#"+this.toHex8(Ue)},rt.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},rt.prototype.toRgbString=function(){var Ue=Math.round(this.r),Ge=Math.round(this.g),tt=Math.round(this.b);return this.a===1?"rgb("+Ue+", "+Ge+", "+tt+")":"rgba("+Ue+", "+Ge+", "+tt+", "+this.roundA+")"},rt.prototype.toPercentageRgb=function(){var Ue=function(tt){return Math.round(Object(y.a)(tt,255)*100)+"%"};return{r:Ue(this.r),g:Ue(this.g),b:Ue(this.b),a:this.a}},rt.prototype.toPercentageRgbString=function(){var Ue=function(tt){return Math.round(Object(y.a)(tt,255)*100)};return this.a===1?"rgb("+Ue(this.r)+"%, "+Ue(this.g)+"%, "+Ue(this.b)+"%)":"rgba("+Ue(this.r)+"%, "+Ue(this.g)+"%, "+Ue(this.b)+"%, "+this.roundA+")"},rt.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var Ue="#"+Object(p.f)(this.r,this.g,this.b,!1),Ge=0,tt=Object.entries(m.a);Ge<tt.length;Ge++){var Wt=tt[Ge],jt=Wt[0],Yt=Wt[1];if(Ue===Yt)return jt}return!1},rt.prototype.toString=function(Ue){var Ge=Boolean(Ue);Ue=Ue!=null?Ue:this.format;var tt=!1,Wt=this.a<1&&this.a>=0,jt=!Ge&&Wt&&(Ue.startsWith("hex")||Ue==="name");return jt?Ue==="name"&&this.a===0?this.toName():this.toRgbString():(Ue==="rgb"&&(tt=this.toRgbString()),Ue==="prgb"&&(tt=this.toPercentageRgbString()),(Ue==="hex"||Ue==="hex6")&&(tt=this.toHexString()),Ue==="hex3"&&(tt=this.toHexString(!0)),Ue==="hex4"&&(tt=this.toHex8String(!0)),Ue==="hex8"&&(tt=this.toHex8String()),Ue==="name"&&(tt=this.toName()),Ue==="hsl"&&(tt=this.toHslString()),Ue==="hsv"&&(tt=this.toHsvString()),tt||this.toHexString())},rt.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},rt.prototype.clone=function(){return new rt(this.toString())},rt.prototype.lighten=function(Ue){Ue===void 0&&(Ue=10);var Ge=this.toHsl();return Ge.l+=Ue/100,Ge.l=Object(y.c)(Ge.l),new rt(Ge)},rt.prototype.brighten=function(Ue){Ue===void 0&&(Ue=10);var Ge=this.toRgb();return Ge.r=Math.max(0,Math.min(255,Ge.r-Math.round(255*-(Ue/100)))),Ge.g=Math.max(0,Math.min(255,Ge.g-Math.round(255*-(Ue/100)))),Ge.b=Math.max(0,Math.min(255,Ge.b-Math.round(255*-(Ue/100)))),new rt(Ge)},rt.prototype.darken=function(Ue){Ue===void 0&&(Ue=10);var Ge=this.toHsl();return Ge.l-=Ue/100,Ge.l=Object(y.c)(Ge.l),new rt(Ge)},rt.prototype.tint=function(Ue){return Ue===void 0&&(Ue=10),this.mix("white",Ue)},rt.prototype.shade=function(Ue){return Ue===void 0&&(Ue=10),this.mix("black",Ue)},rt.prototype.desaturate=function(Ue){Ue===void 0&&(Ue=10);var Ge=this.toHsl();return Ge.s-=Ue/100,Ge.s=Object(y.c)(Ge.s),new rt(Ge)},rt.prototype.saturate=function(Ue){Ue===void 0&&(Ue=10);var Ge=this.toHsl();return Ge.s+=Ue/100,Ge.s=Object(y.c)(Ge.s),new rt(Ge)},rt.prototype.greyscale=function(){return this.desaturate(100)},rt.prototype.spin=function(Ue){var Ge=this.toHsl(),tt=(Ge.h+Ue)%360;return Ge.h=tt<0?360+tt:tt,new rt(Ge)},rt.prototype.mix=function(Ue,Ge){Ge===void 0&&(Ge=50);var tt=this.toRgb(),Wt=new rt(Ue).toRgb(),jt=Ge/100,Yt={r:(Wt.r-tt.r)*jt+tt.r,g:(Wt.g-tt.g)*jt+tt.g,b:(Wt.b-tt.b)*jt+tt.b,a:(Wt.a-tt.a)*jt+tt.a};return new rt(Yt)},rt.prototype.analogous=function(Ue,Ge){Ue===void 0&&(Ue=6),Ge===void 0&&(Ge=30);var tt=this.toHsl(),Wt=360/Ge,jt=[this];for(tt.h=(tt.h-(Wt*Ue>>1)+720)%360;--Ue;)tt.h=(tt.h+Wt)%360,jt.push(new rt(tt));return jt},rt.prototype.complement=function(){var Ue=this.toHsl();return Ue.h=(Ue.h+180)%360,new rt(Ue)},rt.prototype.monochromatic=function(Ue){Ue===void 0&&(Ue=6);for(var Ge=this.toHsv(),tt=Ge.h,Wt=Ge.s,jt=Ge.v,Yt=[],Tt=1/Ue;Ue--;)Yt.push(new rt({h:tt,s:Wt,v:jt})),jt=(jt+Tt)%1;return Yt},rt.prototype.splitcomplement=function(){var Ue=this.toHsl(),Ge=Ue.h;return[this,new rt({h:(Ge+72)%360,s:Ue.s,l:Ue.l}),new rt({h:(Ge+216)%360,s:Ue.s,l:Ue.l})]},rt.prototype.onBackground=function(Ue){var Ge=this.toRgb(),tt=new rt(Ue).toRgb();return new rt({r:tt.r+(Ge.r-tt.r)*Ge.a,g:tt.g+(Ge.g-tt.g)*Ge.a,b:tt.b+(Ge.b-tt.b)*Ge.a})},rt.prototype.triad=function(){return this.polyad(3)},rt.prototype.tetrad=function(){return this.polyad(4)},rt.prototype.polyad=function(Ue){for(var Ge=this.toHsl(),tt=Ge.h,Wt=[this],jt=360/Ue,Yt=1;Yt<Ue;Yt++)Wt.push(new rt({h:(tt+Yt*jt)%360,s:Ge.s,l:Ge.l}));return Wt},rt.prototype.equals=function(Ue){return this.toRgbString()===new rt(Ue).toRgbString()},rt}();function C(rt,Ue){return rt===void 0&&(rt=""),Ue===void 0&&(Ue={}),new x(rt,Ue)}var T=2,_=.16,E=.05,I=.05,L=.15,D=5,F=4,N=[{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 P(rt,Ue,Ge){var tt;return Math.round(rt.h)>=60&&Math.round(rt.h)<=240?tt=Ge?Math.round(rt.h)-T*Ue:Math.round(rt.h)+T*Ue:tt=Ge?Math.round(rt.h)+T*Ue:Math.round(rt.h)-T*Ue,tt<0?tt+=360:tt>=360&&(tt-=360),tt}function W(rt,Ue,Ge){if(rt.h===0&&rt.s===0)return rt.s;var tt;return Ge?tt=rt.s-_*Ue:Ue===F?tt=rt.s+_:tt=rt.s+E*Ue,tt>1&&(tt=1),Ge&&Ue===D&&tt>.1&&(tt=.1),tt<.06&&(tt=.06),Number(tt.toFixed(2))}function R(rt,Ue,Ge){var tt;return Ge?tt=rt.v+I*Ue:tt=rt.v-L*Ue,tt>1&&(tt=1),Number(tt.toFixed(2))}function j(rt){for(var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ge=[],tt=new x(rt),Wt=D;Wt>0;Wt-=1){var jt=tt.toHsv(),Yt=new x({h:P(jt,Wt,!0),s:W(jt,Wt,!0),v:R(jt,Wt,!0)}).toHexString();Ge.push(Yt)}Ge.push(tt.toHexString());for(var Tt=1;Tt<=F;Tt+=1){var Rt=tt.toHsv(),yt=new x({h:P(Rt,Tt),s:W(Rt,Tt),v:R(Rt,Tt)}).toHexString();Ge.push(yt)}return Ue.theme==="dark"?N.map(function(Jt){var Lr=Jt.index,zr=Jt.opacity,rn=new x(Ue.backgroundColor||"#141414").mix(Ge[Lr],zr*100).toHexString();return rn}):Ge}var H={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"},K={},U={};Object.keys(H).forEach(function(rt){K[rt]=j(H[rt]),K[rt].primary=K[rt][5],U[rt]=j(H[rt],{theme:"dark",backgroundColor:"#141414"}),U[rt].primary=U[rt][5]});var G=K.red,z=K.volcano,Y=K.gold,q=K.orange,oe=K.yellow,ie=K.lime,se=K.green,he=K.cyan,pe=K.blue,_e=K.geekblue,De=K.purple,Xe=K.magenta,J=K.grey;function Ee(rt){return!rt||rt<0?0:rt>100?100:rt}function qe(rt){var Ue=rt.success,Ge=rt.successPercent,tt=Ge;return Ue&&"progress"in Ue&&(Object(h.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),tt=Ue.progress),Ue&&"percent"in Ue&&(tt=Ue.percent),tt}var ae=function(rt,Ue){var Ge={};for(var tt in rt)Object.prototype.hasOwnProperty.call(rt,tt)&&Ue.indexOf(tt)<0&&(Ge[tt]=rt[tt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,tt=Object.getOwnPropertySymbols(rt);Wt<tt.length;Wt++)Ue.indexOf(tt[Wt])<0&&Object.prototype.propertyIsEnumerable.call(rt,tt[Wt])&&(Ge[tt[Wt]]=rt[tt[Wt]]);return Ge},V=function(Ue){var Ge=[];return Object.keys(Ue).forEach(function(tt){var Wt=parseFloat(tt.replace(/%/g,""));isNaN(Wt)||Ge.push({key:Wt,value:Ue[tt]})}),Ge=Ge.sort(function(tt,Wt){return tt.key-Wt.key}),Ge.map(function(tt){var Wt=tt.key,jt=tt.value;return"".concat(jt," ").concat(Wt,"%")}).join(", ")},X=function(Ue,Ge){var tt=Ue.from,Wt=tt===void 0?H.blue:tt,jt=Ue.to,Yt=jt===void 0?H.blue:jt,Tt=Ue.direction,Rt=Tt===void 0?Ge==="rtl"?"to left":"to right":Tt,yt=ae(Ue,["from","to","direction"]);if(Object.keys(yt).length!==0){var Jt=V(yt);return{backgroundImage:"linear-gradient(".concat(Rt,", ").concat(Jt,")")}}return{backgroundImage:"linear-gradient(".concat(Rt,", ").concat(Wt,", ").concat(Yt,")")}},Z=function(Ue){var Ge=Ue.prefixCls,tt=Ue.direction,Wt=Ue.percent,jt=Ue.strokeWidth,Yt=Ue.size,Tt=Ue.strokeColor,Rt=Ue.strokeLinecap,yt=Ue.children,Jt=Ue.trailColor,Lr=Ue.success,zr=Tt&&typeof Tt!="string"?X(Tt,tt):{background:Tt},rn=Jt?{backgroundColor:Jt}:void 0,ei=Object(A.a)({width:"".concat(Ee(Wt),"%"),height:jt||(Yt==="small"?6:8),borderRadius:Rt==="square"?0:""},zr),fn=qe(Ue),Zr={width:"".concat(Ee(fn),"%"),height:jt||(Yt==="small"?6:8),borderRadius:Rt==="square"?0:"",backgroundColor:Lr==null?void 0:Lr.strokeColor},bt=fn!==void 0?u.createElement("div",{className:"".concat(Ge,"-success-bg"),style:Zr}):null;return u.createElement(u.Fragment,null,u.createElement("div",{className:"".concat(Ge,"-outer")},u.createElement("div",{className:"".concat(Ge,"-inner"),style:rn},u.createElement("div",{className:"".concat(Ge,"-bg"),style:ei}),bt)),yt)},ge=Z,le=d("ODXe"),Se=d("Ff2n"),me={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},$=function(Ue){var Ge=Ue.map(function(){return Object(u.useRef)()}),tt=Object(u.useRef)(null);return Object(u.useEffect)(function(){var Wt=Date.now(),jt=!1;Object.keys(Ge).forEach(function(Yt){var Tt=Ge[Yt].current;if(!Tt)return;jt=!0;var Rt=Tt.style;Rt.transitionDuration=".3s, .3s, .3s, .06s",tt.current&&Wt-tt.current<100&&(Rt.transitionDuration="0s, 0s")}),jt&&(tt.current=Date.now())}),[Ge]},we=function(Ue){var Ge=Ue.className,tt=Ue.percent,Wt=Ue.prefixCls,jt=Ue.strokeColor,Yt=Ue.strokeLinecap,Tt=Ue.strokeWidth,Rt=Ue.style,yt=Ue.trailColor,Jt=Ue.trailWidth,Lr=Ue.transition,zr=Object(Se.a)(Ue,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete zr.gapPosition;var rn=Array.isArray(tt)?tt:[tt],ei=Array.isArray(jt)?jt:[jt],fn=$(rn),Zr=Object(le.a)(fn,1),bt=Zr[0],ut=Tt/2,Oe=100-Tt/2,be="M ".concat(Yt==="round"?ut:0,",").concat(ut,`
L `).concat(Yt==="round"?Oe:100,",").concat(ut),Fe="0 0 100 ".concat(Tt),it=0;return u.createElement("svg",Object(A.a)({className:e()("".concat(Wt,"-line"),Ge),viewBox:Fe,preserveAspectRatio:"none",style:Rt},zr),u.createElement("path",{className:"".concat(Wt,"-line-trail"),d:be,strokeLinecap:Yt,stroke:yt,strokeWidth:Jt||Tt,fillOpacity:"0"}),rn.map(function(wt,nr){var sr=1;switch(Yt){case"round":sr=1-Tt/100;break;case"square":sr=1-Tt/2/100;break;default:sr=1;break}var Ar={strokeDasharray:"".concat(wt*sr,"px, 100px"),strokeDashoffset:"-".concat(it,"px"),transition:Lr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Hr=ei[nr]||ei[ei.length-1];return it+=wt,u.createElement("path",{key:nr,className:"".concat(Wt,"-line-path"),d:be,strokeLinecap:Yt,stroke:Hr,strokeWidth:Tt,fillOpacity:"0",ref:bt[nr],style:Ar})}))};we.defaultProps=me,we.displayName="Line";var xe=we,We=0;function st(rt){return+rt.replace("%","")}function nt(rt){return Array.isArray(rt)?rt:[rt]}function Ne(rt,Ue,Ge,tt){var Wt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,jt=arguments.length>5?arguments[5]:void 0,Yt=50-tt/2,Tt=0,Rt=-Yt,yt=0,Jt=-2*Yt;switch(jt){case"left":Tt=-Yt,Rt=0,yt=2*Yt,Jt=0;break;case"right":Tt=Yt,Rt=0,yt=-2*Yt,Jt=0;break;case"bottom":Rt=Yt,Jt=2*Yt;break;default:}var Lr="M 50,50 m ".concat(Tt,",").concat(Rt,`
a `).concat(Yt,",").concat(Yt," 0 1 1 ").concat(yt,",").concat(-Jt,`
a `).concat(Yt,",").concat(Yt," 0 1 1 ").concat(-yt,",").concat(Jt),zr=Math.PI*2*Yt,rn={stroke:typeof Ge=="string"?Ge:void 0,strokeDasharray:"".concat(Ue/100*(zr-Wt),"px ").concat(zr,"px"),strokeDashoffset:"-".concat(Wt/2+rt/100*(zr-Wt),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s"};return{pathString:Lr,pathStyle:rn}}var St=function(Ue){var Ge=Ue.prefixCls,tt=Ue.strokeWidth,Wt=Ue.trailWidth,jt=Ue.gapDegree,Yt=Ue.gapPosition,Tt=Ue.trailColor,Rt=Ue.strokeLinecap,yt=Ue.style,Jt=Ue.className,Lr=Ue.strokeColor,zr=Ue.percent,rn=Object(Se.a)(Ue,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),ei=u.useMemo(function(){return We+=1,We},[]),fn=Ne(0,100,Tt,tt,jt,Yt),Zr=fn.pathString,bt=fn.pathStyle,ut=nt(zr),Oe=nt(Lr),be=Oe.find(function(sr){return Object.prototype.toString.call(sr)==="[object Object]"}),Fe=$(ut),it=Object(le.a)(Fe,1),wt=it[0],nr=function(){var Ar=0;return ut.map(function(Hr,$r){var Qt=Oe[$r]||Oe[Oe.length-1],Ot=Object.prototype.toString.call(Qt)==="[object Object]"?"url(#".concat(Ge,"-gradient-").concat(ei,")"):"",Ft=Ne(Ar,Hr,Qt,tt,jt,Yt);return Ar+=Hr,u.createElement("path",{key:$r,className:"".concat(Ge,"-circle-path"),d:Ft.pathString,stroke:Ot,strokeLinecap:Rt,strokeWidth:tt,opacity:Hr===0?0:1,fillOpacity:"0",style:Ft.pathStyle,ref:wt[$r]})})};return u.createElement("svg",Object(A.a)({className:e()("".concat(Ge,"-circle"),Jt),viewBox:"0 0 100 100",style:yt},rn),be&&u.createElement("defs",null,u.createElement("linearGradient",{id:"".concat(Ge,"-gradient-").concat(ei),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(be).sort(function(sr,Ar){return st(sr)-st(Ar)}).map(function(sr,Ar){return u.createElement("stop",{key:Ar,offset:sr,stopColor:be[sr]})}))),u.createElement("path",{className:"".concat(Ge,"-circle-trail"),d:Zr,stroke:Tt,strokeLinecap:Rt,strokeWidth:Wt||tt,fillOpacity:"0",style:bt}),nr().reverse())};St.defaultProps=me,St.displayName="Circle";var Ye=St,vt={Line:xe,Circle:Ye};function It(rt){var Ue=rt.percent,Ge=rt.success,tt=rt.successPercent,Wt=Ee(Ue),jt=qe({success:Ge,successPercent:tt});return jt?[Ee(jt),Ee(Wt-Ee(jt))]:Wt}function Ut(rt){var Ue=rt.success,Ge=rt.strokeColor,tt=rt.successPercent,Wt=Ge||null,jt=qe({success:Ue,successPercent:tt});return jt?[H.green,Wt]:Wt}var xt=function(Ue){var Ge=Ue.prefixCls,tt=Ue.width,Wt=Ue.strokeWidth,jt=Ue.trailColor,Yt=Ue.strokeLinecap,Tt=Ue.gapPosition,Rt=Ue.gapDegree,yt=Ue.type,Jt=Ue.children,Lr=tt||120,zr={width:Lr,height:Lr,fontSize:Lr*.15+6},rn=Wt||6,ei=Tt||yt==="dashboard"&&"bottom"||"top",fn=function(){return Rt||Rt===0?Rt:yt==="dashboard"?75:void 0},Zr=Ut(Ue),bt=Object.prototype.toString.call(Zr)==="[object Object]",ut=e()("".concat(Ge,"-inner"),Object(w.a)({},"".concat(Ge,"-circle-gradient"),bt));return u.createElement("div",{className:ut,style:zr},u.createElement(Ye,{percent:It(Ue),strokeWidth:rn,trailWidth:rn,strokeColor:Zr,strokeLinecap:Yt,trailColor:jt,prefixCls:Ge,gapDegree:fn(),gapPosition:ei}),Jt)},Bt=xt,Qe=function(Ue){for(var Ge=Ue.size,tt=Ue.steps,Wt=Ue.percent,jt=Wt===void 0?0:Wt,Yt=Ue.strokeWidth,Tt=Yt===void 0?8:Yt,Rt=Ue.strokeColor,yt=Ue.trailColor,Jt=Ue.prefixCls,Lr=Ue.children,zr=Math.round(tt*(jt/100)),rn=Ge==="small"?2:14,ei=[],fn=0;fn<tt;fn+=1)ei.push(u.createElement("div",{key:fn,className:e()("".concat(Jt,"-steps-item"),Object(w.a)({},"".concat(Jt,"-steps-item-active"),fn<=zr-1)),style:{backgroundColor:fn<=zr-1?Rt:yt,width:rn,height:Tt}}));return u.createElement("div",{className:"".concat(Jt,"-steps-outer")},ei,Lr)},te=Qe,Q=function(rt,Ue){var Ge={};for(var tt in rt)Object.prototype.hasOwnProperty.call(rt,tt)&&Ue.indexOf(tt)<0&&(Ge[tt]=rt[tt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,tt=Object.getOwnPropertySymbols(rt);Wt<tt.length;Wt++)Ue.indexOf(tt[Wt])<0&&Object.prototype.propertyIsEnumerable.call(rt,tt[Wt])&&(Ge[tt[Wt]]=rt[tt[Wt]]);return Ge},Me=Object(c.a)("line","circle","dashboard"),Ce=Object(c.a)("normal","exception","active","success"),ue=function(rt){Object(f.a)(Ge,rt);var Ue=Object(l.a)(Ge);function Ge(){var tt;return Object(b.a)(this,Ge),tt=Ue.apply(this,arguments),tt.renderProgress=function(Wt){var jt,Yt=Wt.getPrefixCls,Tt=Wt.direction,Rt=Object(v.a)(tt),yt=Rt.props,Jt=yt.prefixCls,Lr=yt.className,zr=yt.size,rn=yt.type,ei=yt.steps,fn=yt.showInfo,Zr=yt.strokeColor,bt=Q(yt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),ut=Yt("progress",Jt),Oe=tt.getProgressStatus(),be=tt.renderProcessInfo(ut,Oe);Object(h.a)(!("successPercent"in yt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var Fe;rn==="line"?Fe=ei?u.createElement(te,Object(A.a)({},tt.props,{strokeColor:typeof Zr=="string"?Zr:void 0,prefixCls:ut,steps:ei}),be):u.createElement(ge,Object(A.a)({},tt.props,{prefixCls:ut,direction:Tt}),be):(rn==="circle"||rn==="dashboard")&&(Fe=u.createElement(Bt,Object(A.a)({},tt.props,{prefixCls:ut,progressStatus:Oe}),be));var it=e()(ut,(jt={},Object(w.a)(jt,"".concat(ut,"-").concat(rn==="dashboard"&&"circle"||ei&&"steps"||rn),!0),Object(w.a)(jt,"".concat(ut,"-status-").concat(Oe),!0),Object(w.a)(jt,"".concat(ut,"-show-info"),fn),Object(w.a)(jt,"".concat(ut,"-").concat(zr),zr),Object(w.a)(jt,"".concat(ut,"-rtl"),Tt==="rtl"),jt),Lr);return u.createElement("div",Object(A.a)({},Object(n.a)(bt,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","percent","success","successPercent"]),{className:it}),Fe)},tt}return Object(g.a)(Ge,[{key:"getPercentNumber",value:function(){var Wt=this.props.percent,jt=Wt===void 0?0:Wt,Yt=qe(this.props);return parseInt(Yt!==void 0?Yt.toString():jt.toString(),10)}},{key:"getProgressStatus",value:function(){var Wt=this.props.status;return Ce.indexOf(Wt)<0&&this.getPercentNumber()>=100?"success":Wt||"normal"}},{key:"renderProcessInfo",value:function(Wt,jt){var Yt=this.props,Tt=Yt.showInfo,Rt=Yt.format,yt=Yt.type,Jt=Yt.percent,Lr=qe(this.props);if(!Tt)return null;var zr,rn=Rt||function(fn){return"".concat(fn,"%")},ei=yt==="line";return Rt||jt!=="exception"&&jt!=="success"?zr=rn(Ee(Jt),Ee(Lr)):jt==="exception"?zr=ei?u.createElement(t.a,null):u.createElement(i.a,null):jt==="success"&&(zr=ei?u.createElement(s.a,null):u.createElement(r.a,null)),u.createElement("span",{className:"".concat(Wt,"-text"),title:typeof zr=="string"?zr:void 0},zr)}},{key:"render",value:function(){return u.createElement(a.a,null,this.renderProgress)}}]),Ge}(u.Component);ue.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var ot=B.a=ue},"CMP+":function(k,B,d){var w=d("bYtY"),A=d("hM6l"),b=function(v,f,l,u){A.call(this,v,f,l),this.type=u||"value",this.model=null};b.prototype={constructor:b,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},w.inherits(b,A);var g=b;k.exports=g},"CWI+":function(k,B,d){},CbHG:function(k,B,d){var w=d("IwbS"),A=w.subPixelOptimize,b=d("zM3Q"),g=d("OELB"),v=g.parsePercent,f=d("bYtY"),l=f.retrieve2,u=typeof Float32Array!="undefined"?Float32Array:Array,o={seriesType:"candlestick",plan:b(),reset:function(i){var r=i.coordinateSystem,s=i.getData(),t=n(i,s),a=0,c=1,h=["x","y"],p=s.mapDimension(h[a]),m=s.mapDimension(h[c],!0),S=m[0],y=m[1],x=m[2],C=m[3];if(s.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),p==null||m.length<4)return;return{progress:i.pipelineContext.large?_:T};function T(E,I){for(var L;(L=E.next())!=null;){var D=I.get(p,L),F=I.get(S,L),N=I.get(y,L),P=I.get(x,L),W=I.get(C,L),R=Math.min(F,N),j=Math.max(F,N),H=Y(R,D),K=Y(j,D),U=Y(P,D),G=Y(W,D),z=[];q(z,K,0),q(z,H,1),z.push(ie(G),ie(K),ie(U),ie(H)),I.setItemLayout(L,{sign:e(I,L,F,N,y),initBaseline:F>N?K[c]:H[c],ends:z,brushRect:oe(P,W,D)})}function Y(se,he){var pe=[];return pe[a]=he,pe[c]=se,isNaN(he)||isNaN(se)?[NaN,NaN]:r.dataToPoint(pe)}function q(se,he,pe){var _e=he.slice(),De=he.slice();_e[a]=A(_e[a]+t/2,1,!1),De[a]=A(De[a]-t/2,1,!0),pe?se.push(_e,De):se.push(De,_e)}function oe(se,he,pe){var _e=Y(se,pe),De=Y(he,pe);return _e[a]-=t/2,De[a]-=t/2,{x:_e[0],y:_e[1],width:c?t:De[0]-_e[0],height:c?De[1]-_e[1]:t}}function ie(se){return se[a]=A(se[a],1),se}}function _(E,I){for(var L=new u(E.count*4),D=0,F,N=[],P=[],W;(W=E.next())!=null;){var R=I.get(p,W),j=I.get(S,W),H=I.get(y,W),K=I.get(x,W),U=I.get(C,W);if(isNaN(R)||isNaN(K)||isNaN(U)){L[D++]=NaN,D+=3;continue}L[D++]=e(I,W,j,H,y),N[a]=R,N[c]=K,F=r.dataToPoint(N,null,P),L[D++]=F?F[0]:NaN,L[D++]=F?F[1]:NaN,N[c]=U,F=r.dataToPoint(N,null,P),L[D++]=F?F[1]:NaN}I.setLayout("largePoints",L)}}};function e(i,r,s,t,a){var c;return s>t?c=-1:s<t?c=1:c=r>0?i.get(a,r-1)<=t?1:-1:1,c}function n(i,r){var s=i.getBaseAxis(),t,a=s.type==="category"?s.getBandWidth():(t=s.getExtent(),Math.abs(t[1]-t[0])/r.count()),c=v(l(i.get("barMaxWidth"),a),a),h=v(l(i.get("barMinWidth"),1),a),p=i.get("barWidth");return p!=null?v(p,a):Math.max(Math.min(a/2,c),h)}k.exports=o},Cm0C:function(k,B,d){d("5NHt"),d("f3JH")},Cmcn:function(k,B,d){"use strict";d.d(B,"a",function(){return A});var w=d("0HTW");function A(b,g){var v;if(typeof Symbol=="undefined"||b[Symbol.iterator]==null){if(Array.isArray(b)||(v=Object(w.a)(b))||g&&b&&typeof b.length=="number"){v&&(b=v);var f=0,l=function(){};return{s:l,n:function(){return f>=b.length?{done:!0}:{done:!1,value:b[f++]}},e:function(i){throw i},f:l}}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 u=!0,o=!1,e;return{s:function(){v=b[Symbol.iterator]()},n:function(){var i=v.next();return u=i.done,i},e:function(i){o=!0,e=i},f:function(){try{!u&&v.return!=null&&v.return()}finally{if(o)throw e}}}}},CrYA:function(k,B,d){var w=d("MFOe"),A=w.Global;k.exports={name:"sessionStorage",read:g,write:v,each:f,remove:l,clearAll:u};function b(){return A.sessionStorage}function g(o){return b().getItem(o)}function v(o,e){return b().setItem(o,e)}function f(o){for(var e=b().length-1;e>=0;e--){var n=b().key(e);o(g(n),n)}}function l(o){return b().removeItem(o)}function u(){return b().clear()}},D1WM:function(k,B,d){var w=d("bYtY"),A=d("hM6l"),b=function(v,f,l,u,o){A.call(this,v,f,l),this.type=u||"value",this.axisIndex=o};b.prototype={constructor:b,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},w.inherits(b,A);var g=b;k.exports=g},D5nY:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("4NO4"),g=b.makeInner,v=b.getDataItemValue,f=d("bYtY"),l=f.createHashMap,u=f.each,o=f.map,e=f.isArray,n=f.isString,i=f.isObject,r=f.isTypedArray,s=f.isArrayLike,t=f.extend,a=f.assert,c=d("7G+c"),h=d("k9D9"),p=h.SOURCE_FORMAT_ORIGINAL,m=h.SOURCE_FORMAT_ARRAY_ROWS,S=h.SOURCE_FORMAT_OBJECT_ROWS,y=h.SOURCE_FORMAT_KEYED_COLUMNS,x=h.SOURCE_FORMAT_UNKNOWN,C=h.SOURCE_FORMAT_TYPED_ARRAY,T=h.SERIES_LAYOUT_BY_ROW,_={Must:1,Might:2,Not:3},E=g();function I(z){var Y=z.option.source,q=x;if(r(Y))q=C;else if(e(Y)){Y.length===0&&(q=m);for(var oe=0,ie=Y.length;oe<ie;oe++){var se=Y[oe];if(se==null)continue;if(e(se)){q=m;break}else if(i(se)){q=S;break}}}else if(i(Y)){for(var he in Y)if(Y.hasOwnProperty(he)&&s(Y[he])){q=y;break}}else if(Y!=null)throw new Error("Invalid data");E(z).sourceFormat=q}function L(z){return E(z).source}function D(z){E(z).datasetMap=l()}function F(z){var Y=z.option,q=Y.data,oe=r(q)?C:p,ie=!1,se=Y.seriesLayoutBy,he=Y.sourceHeader,pe=Y.dimensions,_e=K(z);if(_e){var De=_e.option;q=De.source,oe=E(_e).sourceFormat,ie=!0,se=se||De.seriesLayoutBy,he==null&&(he=De.sourceHeader),pe=pe||De.dimensions}var Xe=N(q,oe,se,he,pe);E(z).source=new c({data:q,fromDataset:ie,seriesLayoutBy:se,sourceFormat:oe,dimensionsDefine:Xe.dimensionsDefine,startIndex:Xe.startIndex,dimensionsDetectCount:Xe.dimensionsDetectCount,encodeDefine:Y.encode})}function N(z,Y,q,oe,ie){if(!z)return{dimensionsDefine:P(ie)};var se,he;if(Y===m)oe==="auto"||oe==null?W(function(_e){_e!=null&&_e!=="-"&&(n(_e)?he==null&&(he=1):he=0)},q,z,10):he=oe?1:0,!ie&&he===1&&(ie=[],W(function(_e,De){ie[De]=_e!=null?_e:""},q,z)),se=ie?ie.length:q===T?z.length:z[0]?z[0].length:null;else if(Y===S)ie||(ie=R(z));else if(Y===y)ie||(ie=[],u(z,function(_e,De){ie.push(De)}));else if(Y===p){var pe=v(z[0]);se=e(pe)&&pe.length||1}else Y===C;return{startIndex:he,dimensionsDefine:P(ie),dimensionsDetectCount:se}}function P(z){if(!z)return;var Y=l();return o(z,function(q,oe){if(q=t({},i(q)?q:{name:q}),q.name==null)return q;q.name+="",q.displayName==null&&(q.displayName=q.name);var ie=Y.get(q.name);return ie?q.name+="-"+ie.count++:Y.set(q.name,{count:1}),q})}function W(z,Y,q,oe){if(oe==null&&(oe=Infinity),Y===T)for(var ie=0;ie<q.length&&ie<oe;ie++)z(q[ie]?q[ie][0]:null,ie);else for(var se=q[0]||[],ie=0;ie<se.length&&ie<oe;ie++)z(se[ie],ie)}function R(z){for(var Y=0,q;Y<z.length&&!(q=z[Y++]););if(q){var oe=[];return u(q,function(ie,se){oe.push(se)}),oe}}function j(z,Y,q){var oe={},ie=K(Y);if(!ie||!z)return oe;var se=[],he=[],pe=Y.ecModel,_e=E(pe).datasetMap,De=ie.uid+"_"+q.seriesLayoutBy,Xe,J;z=z.slice(),u(z,function(V,X){!i(V)&&(z[X]={name:V}),V.type==="ordinal"&&Xe==null&&(Xe=X,J=ae(z[X])),oe[V.name]=[]});var Ee=_e.get(De)||_e.set(De,{categoryWayDim:J,valueWayDim:0});u(z,function(V,X){var Z=V.name,ge=ae(V);if(Xe==null){var le=Ee.valueWayDim;qe(oe[Z],le,ge),qe(he,le,ge),Ee.valueWayDim+=ge}else if(Xe===X)qe(oe[Z],0,ge),qe(se,0,ge);else{var le=Ee.categoryWayDim;qe(oe[Z],le,ge),qe(he,le,ge),Ee.categoryWayDim+=ge}});function qe(V,X,Z){for(var ge=0;ge<Z;ge++)V.push(X+ge)}function ae(V){var X=V.dimsDef;return X?X.length:1}return se.length&&(oe.itemName=se),he.length&&(oe.seriesName=he),oe}function H(z,Y,q){var oe={},ie=K(z);if(!ie)return oe;var se=Y.sourceFormat,he=Y.dimensionsDefine,pe;(se===S||se===y)&&u(he,function(Xe,J){(i(Xe)?Xe.name:Xe)==="name"&&(pe=J)});var _e=function(){for(var Xe={},J={},Ee=[],qe=0,ae=Math.min(5,q);qe<ae;qe++){var V=G(Y.data,se,Y.seriesLayoutBy,he,Y.startIndex,qe);Ee.push(V);var X=V===_.Not;if(X&&Xe.v==null&&qe!==pe&&(Xe.v=qe),(Xe.n==null||Xe.n===Xe.v||!X&&Ee[Xe.n]===_.Not)&&(Xe.n=qe),Z(Xe)&&Ee[Xe.n]!==_.Not)return Xe;X||(V===_.Might&&J.v==null&&qe!==pe&&(J.v=qe),(J.n==null||J.n===J.v)&&(J.n=qe))}function Z(ge){return ge.v!=null&&ge.n!=null}return Z(Xe)?Xe:Z(J)?J:null}();if(_e){oe.value=_e.v;var De=pe!=null?pe:_e.n;oe.itemName=[De],oe.seriesName=[De]}return oe}function K(z){var Y=z.option,q=Y.data;if(!q)return z.ecModel.getComponent("dataset",Y.datasetIndex||0)}function U(z,Y){return G(z.data,z.sourceFormat,z.seriesLayoutBy,z.dimensionsDefine,z.startIndex,Y)}function G(z,Y,q,oe,ie,se){var he,pe=5;if(r(z))return _.Not;var _e,De;if(oe){var Xe=oe[se];i(Xe)?(_e=Xe.name,De=Xe.type):n(Xe)&&(_e=Xe)}if(De!=null)return De==="ordinal"?_.Must:_.Not;if(Y===m)if(q===T){for(var J=z[se],Ee=0;Ee<(J||[]).length&&Ee<pe;Ee++)if((he=X(J[ie+Ee]))!=null)return he}else for(var Ee=0;Ee<z.length&&Ee<pe;Ee++){var qe=z[ie+Ee];if(qe&&(he=X(qe[se]))!=null)return he}else if(Y===S){if(!_e)return _.Not;for(var Ee=0;Ee<z.length&&Ee<pe;Ee++){var ae=z[Ee];if(ae&&(he=X(ae[_e]))!=null)return he}}else if(Y===y){if(!_e)return _.Not;var J=z[_e];if(!J||r(J))return _.Not;for(var Ee=0;Ee<J.length&&Ee<pe;Ee++)if((he=X(J[Ee]))!=null)return he}else if(Y===p)for(var Ee=0;Ee<z.length&&Ee<pe;Ee++){var ae=z[Ee],V=v(ae);if(!e(V))return _.Not;if((he=X(V[se]))!=null)return he}function X(Z){var ge=n(Z);if(Z!=null&&isFinite(Z)&&Z!=="")return ge?_.Might:_.Not;if(ge&&Z!=="-")return _.Must}return _.Not}B.BE_ORDINAL=_,B.detectSourceFormat=I,B.getSource=L,B.resetSourceDefaulter=D,B.prepareSource=F,B.makeSeriesEncodeForAxisCoordSys=j,B.makeSeriesEncodeForNameBased=H,B.guessOrdinal=U},D7Yy:function(k,B,d){"use strict";var w=d("ZvpZ");B.a=w.a},D9ME:function(k,B,d){var w=d("IwbS"),A=d("fls0"),b=d("bYtY"),g=d("oVpE"),v=g.createSymbol,f=d("QBsz"),l=d("Sj9i");function u(n,i,r){w.Group.call(this),this.add(this.createLine(n,i,r)),this._updateEffectSymbol(n,i)}var o=u.prototype;o.createLine=function(n,i,r){return new A(n,i,r)},o._updateEffectSymbol=function(n,i){var r=n.getItemModel(i),s=r.getModel("effect"),t=s.get("symbolSize"),a=s.get("symbol");b.isArray(t)||(t=[t,t]);var c=s.get("color")||n.getItemVisual(i,"color"),h=this.childAt(1);if(this._symbolType!==a&&(this.remove(h),h=v(a,-.5,-.5,1,1,c),h.z2=100,h.culling=!0,this.add(h)),!h)return;h.setStyle("shadowColor",c),h.setStyle(s.getItemStyle(["color"])),h.attr("scale",t),h.setColor(c),h.attr("scale",t),this._symbolType=a,this._symbolScale=t,this._updateEffectAnimation(n,s,i)},o._updateEffectAnimation=function(n,i,r){var s=this.childAt(1);if(!s)return;var t=this,a=n.getItemLayout(r),c=i.get("period")*1e3,h=i.get("loop"),p=i.get("constantSpeed"),m=b.retrieve(i.get("delay"),function(C){return C/n.count()*c/3}),S=typeof m=="function";if(s.ignore=!0,this.updateAnimationPoints(s,a),p>0&&(c=this.getLineLength(s)/p*1e3),c!==this._period||h!==this._loop){s.stopAnimation();var y=m;S&&(y=m(r)),s.__t>0&&(y=-c*s.__t),s.__t=0;var x=s.animate("",h).when(c,{__t:1}).delay(y).during(function(){t.updateSymbolPosition(s)});h||x.done(function(){t.remove(s)}),x.start()}this._period=c,this._loop=h},o.getLineLength=function(n){return f.dist(n.__p1,n.__cp1)+f.dist(n.__cp1,n.__p2)},o.updateAnimationPoints=function(n,i){n.__p1=i[0],n.__p2=i[1],n.__cp1=i[2]||[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2]},o.updateData=function(n,i,r){this.childAt(0).updateData(n,i,r),this._updateEffectSymbol(n,i)},o.updateSymbolPosition=function(n){var i=n.__p1,r=n.__p2,s=n.__cp1,t=n.__t,a=n.position,c=[a[0],a[1]],h=l.quadraticAt,p=l.quadraticDerivativeAt;a[0]=h(i[0],s[0],r[0],t),a[1]=h(i[1],s[1],r[1],t);var m=p(i[0],s[0],r[0],t),S=p(i[1],s[1],r[1],t);if(n.rotation=-Math.atan2(S,m)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(n.__lastT!==void 0&&n.__lastT<n.__t){var y=f.dist(c,a)*1.05;n.attr("scale",[n.scale[0],y]),t===1&&(a[0]=c[0]+(a[0]-c[0])/2,a[1]=c[1]+(a[1]-c[1])/2)}else if(n.__lastT===1){var y=2*f.dist(i,a);n.attr("scale",[n.scale[0],y])}else n.attr("scale",this._symbolScale);n.__lastT=n.__t,n.ignore=!1},o.updateLayout=function(n,i){this.childAt(0).updateLayout(n,i);var r=n.getItemModel(i).getModel("effect");this._updateEffectAnimation(n,r,i)},b.inherits(u,w.Group);var e=u;k.exports=e},DBLp:function(k,B){function d(){}d.prototype={diff:function(f,l,u){u||(u=function(S,y){return S===y}),this.equals=u;var o=this;f=f.slice(),l=l.slice();var e=l.length,n=f.length,i=1,r=e+n,s=[{newPos:-1,components:[]}],t=this.extractCommon(s[0],l,f,0);if(s[0].newPos+1>=e&&t+1>=n){for(var a=[],c=0;c<l.length;c++)a.push(c);return[{indices:a,count:l.length}]}function h(){for(var m=-1*i;m<=i;m+=2){var S,y=s[m-1],x=s[m+1],C=(x?x.newPos:0)-m;y&&(s[m-1]=void 0);var T=y&&y.newPos+1<e,_=x&&0<=C&&C<n;if(!T&&!_){s[m]=void 0;continue}if(!T||_&&y.newPos<x.newPos?(S=A(x),o.pushComponent(S.components,void 0,!0)):(S=y,S.newPos++,o.pushComponent(S.components,!0,void 0)),C=o.extractCommon(S,l,f,m),S.newPos+1>=e&&C+1>=n)return w(o,S.components,l,f);s[m]=S}i++}for(;i<=r;){var p=h();if(p)return p}},pushComponent:function(f,l,u){var o=f[f.length-1];o&&o.added===l&&o.removed===u?f[f.length-1]={count:o.count+1,added:l,removed:u}:f.push({count:1,added:l,removed:u})},extractCommon:function(f,l,u,o){for(var e=l.length,n=u.length,i=f.newPos,r=i-o,s=0;i+1<e&&r+1<n&&this.equals(l[i+1],u[r+1]);)i++,r++,s++;return s&&f.components.push({count:s}),f.newPos=i,r},tokenize:function(f){return f.slice()},join:function(f){return f.slice()}};function w(v,f,l,u){for(var o=0,e=f.length,n=0,i=0;o<e;o++){var r=f[o];if(r.removed){for(var s=[],t=i;t<i+r.count;t++)s.push(t);r.indices=s,i+=r.count}else{for(var s=[],t=n;t<n+r.count;t++)s.push(t);r.indices=s,n+=r.count,r.added||(i+=r.count)}}return f}function A(v){return{newPos:v.newPos,components:v.components.slice(0)}}var b=new d;function g(v,f,l){return b.diff(v,f,l)}k.exports=g},DEFe:function(k,B,d){var w=d("bYtY"),A=d("SgGq"),b=d("Ae+d"),g=d("xSat"),v=g.onIrrelevantElement,f=d("IwbS"),l=d("W4dC"),u=d("iRjW"),o=u.getUID,e=d("DN4a");function n(a){var c=a.getItemStyle(),h=a.get("areaColor");return h!=null&&(c.fill=h),c}function i(a,c,h,p,m){h.off("click"),h.off("mousedown"),c.get("selectedMode")&&(h.on("mousedown",function(){a._mouseDownFlag=!0}),h.on("click",function(S){if(!a._mouseDownFlag)return;a._mouseDownFlag=!1;for(var y=S.target;!y.__regions;)y=y.parent;if(!y)return;var x={type:(c.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:w.map(y.__regions,function(C){return{name:C.name,from:m.uid}})};x[c.mainType+"Id"]=c.id,p.dispatchAction(x),r(c,h)}))}function r(a,c){c.eachChild(function(h){w.each(h.__regions,function(p){h.trigger(a.isSelected(p.name)?"emphasis":"normal")})})}function s(a,c){var h=new f.Group;this.uid=o("ec_map_draw"),this._controller=new A(a.getZr()),this._controllerHost={target:c?h:null},this.group=h,this._updateGroup=c,this._mouseDownFlag,this._mapName,this._initialized,h.add(this._regionsGroup=new f.Group),h.add(this._backgroundGroup=new f.Group)}s.prototype={constructor:s,draw:function(a,c,h,p,m){var S=a.mainType==="geo",y=a.getData&&a.getData();S&&c.eachComponent({mainType:"series",subType:"map"},function(K){!y&&K.getHostGeoModel()===a&&(y=K.getData())});var x=a.coordinateSystem;this._updateBackground(x);var C=this._regionsGroup,T=this.group,_=x.getTransformInfo(),E=!C.childAt(0)||m,I;if(E)T.transform=_.roamTransform,T.decomposeTransform(),T.dirty();else{var L=new e;L.transform=_.roamTransform,L.decomposeTransform();var D={scale:L.scale,position:L.position};I=L.scale,f.updateProps(T,D,a)}var F=_.rawScale,N=_.rawPosition;C.removeAll();var P=["itemStyle"],W=["emphasis","itemStyle"],R=["label"],j=["emphasis","label"],H=w.createHashMap();w.each(x.regions,function(K){var U=H.get(K.name)||H.set(K.name,new f.Group),G=new f.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});U.add(G);var z=a.getRegionModel(K.name)||a,Y=z.getModel(P),q=z.getModel(W),oe=n(Y),ie=n(q),se=z.getModel(R),he=z.getModel(j),pe;if(y){pe=y.indexOfName(K.name);var _e=y.getItemVisual(pe,"color",!0);_e&&(oe.fill=_e)}var De=function(le){return[le[0]*F[0]+N[0],le[1]*F[1]+N[1]]};w.each(K.geometries,function(le){if(le.type!=="polygon")return;for(var Se=[],me=0;me<le.exterior.length;++me)Se.push(De(le.exterior[me]));G.shape.paths.push(new f.Polygon({segmentIgnoreThreshold:1,shape:{points:Se}}));for(var me=0;me<(le.interiors?le.interiors.length:0);++me){for(var $=le.interiors[me],Se=[],we=0;we<$.length;++we)Se.push(De($[we]));G.shape.paths.push(new f.Polygon({segmentIgnoreThreshold:1,shape:{points:Se}}))}}),G.setStyle(oe),G.style.strokeNoScale=!0,G.culling=!0;var Xe=se.get("show"),J=he.get("show"),Ee=y&&isNaN(y.get(y.mapDimension("value"),pe)),qe=y&&y.getItemLayout(pe);if(S||Ee&&(Xe||J)||qe&&qe.showLabel){var ae=S?K.name:pe,V;(!y||pe>=0)&&(V=a);var X=new f.Text({position:De(K.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(f.setLabelStyle(X.style,X.hoverStyle={},se,he,{labelFetcher:V,labelDataIndex:ae,defaultText:K.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!E){var Z=[1/I[0],1/I[1]];f.updateProps(X,{scale:Z},a)}U.add(X)}if(y)y.setItemGraphicEl(pe,U);else{var z=a.getRegionModel(K.name);G.eventData={componentType:"geo",componentIndex:a.componentIndex,geoIndex:a.componentIndex,name:K.name,region:z&&z.option||{}}}var ge=U.__regions||(U.__regions=[]);ge.push(K),U.highDownSilentOnTouch=!!a.get("selectedMode"),f.setHoverStyle(U,ie),C.add(U)}),this._updateController(a,c,h),i(this,a,C,h,p),r(a,C)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&l.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(a){var c=a.map;this._mapName!==c&&w.each(l.makeGraphic(c,this.uid),function(h){this._backgroundGroup.add(h)},this),this._mapName=c},_updateController:function(a,c,h){var p=a.coordinateSystem,m=this._controller,S=this._controllerHost;S.zoomLimit=a.get("scaleLimit"),S.zoom=p.getZoom(),m.enable(a.get("roam")||!1);var y=a.mainType;function x(){var C={type:"geoRoam",componentType:y};return C[y+"Id"]=a.id,C}m.off("pan").on("pan",function(C){this._mouseDownFlag=!1,b.updateViewOnPan(S,C.dx,C.dy),h.dispatchAction(w.extend(x(),{dx:C.dx,dy:C.dy}))},this),m.off("zoom").on("zoom",function(C){if(this._mouseDownFlag=!1,b.updateViewOnZoom(S,C.scale,C.originX,C.originY),h.dispatchAction(w.extend(x(),{zoom:C.scale,originX:C.originX,originY:C.originY})),this._updateGroup){var T=this.group.scale;this._regionsGroup.traverse(function(_){_.type==="text"&&_.attr("scale",[1/T[0],1/T[1]])})}},this),m.setPointerChecker(function(C,T,_){return p.getViewRectAfterRoam().contain(T,_)&&!v(C,h,a)})}};var t=s;k.exports=t},DFOY:function(k,B,d){"use strict";var w=d("wx14"),A=d("1OyB"),b=d("vuIU"),g=d("JX7q"),v=d("Ji7U"),f=d("LK+K"),l=d("rePB"),u=d("q1tI"),o=d("Ff2n"),e=d("KQm4"),n=d("uciX"),i=d("2W6z"),r=d.n(i),s=d("4IlW"),t=d("uK0f"),a=d.n(t);function c(ge,le){if(ge===le)return!0;if(!ge||!le)return!1;var Se=ge.length;if(le.length!==Se)return!1;for(var me=0;me<Se;me++)if(ge[me]!==le[me])return!1;return!0}var h=function(ge){Object(v.a)(Se,ge);var le=Object(f.a)(Se);function Se(){var me;return Object(A.a)(this,Se),me=le.apply(this,arguments),me.menuItems={},me.saveMenuItem=function($){return function(we){me.menuItems[$]=we}},me}return Object(b.a)(Se,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function($){!$.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function($){var we=this.props,xe=we.fieldNames,We=we.defaultFieldNames;return xe[$]||We[$]}},{key:"getOption",value:function($,we){var xe=this.props,We=xe.prefixCls,st=xe.expandTrigger,nt=xe.expandIcon,Ne=xe.loadingIcon,St=this.props.onSelect.bind(this,$,we),Ye=this.props.onItemDoubleClick.bind(this,$,we),vt={onClick:St,onDoubleClick:Ye},It="".concat(We,"-menu-item"),Ut=null,xt=$[this.getFieldName("children")]&&$[this.getFieldName("children")].length>0;(xt||$.isLeaf===!1)&&(It+=" ".concat(We,"-menu-item-expand"),$.loading||(Ut=u.createElement("span",{className:"".concat(We,"-menu-item-expand-icon")},nt))),st==="hover"&&(xt||$.isLeaf===!1)&&(vt={onMouseEnter:this.delayOnSelect.bind(this,St),onMouseLeave:this.delayOnSelect.bind(this),onClick:St}),this.isActiveOption($,we)&&(It+=" ".concat(We,"-menu-item-active"),vt.ref=this.saveMenuItem(we)),$.disabled&&(It+=" ".concat(We,"-menu-item-disabled"));var Bt=null;$.loading&&(It+=" ".concat(We,"-menu-item-loading"),Bt=Ne||null);var Qe="";return"title"in $?Qe=$.title:typeof $[this.getFieldName("label")]=="string"&&(Qe=$[this.getFieldName("label")]),u.createElement("li",Object(w.a)({key:$[this.getFieldName("value")],className:It,title:Qe},vt,{role:"menuitem",onMouseDown:function(Q){return Q.preventDefault()}}),$[this.getFieldName("label")],Ut,Bt)}},{key:"getActiveOptions",value:function($){var we=this,xe=this.props.options,We=$||this.props.activeValue;return a()(xe,function(st,nt){return st[we.getFieldName("value")]===We[nt]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var $=this,we=this.props.options,xe=this.getActiveOptions().map(function(We){return We[$.getFieldName("children")]}).filter(function(We){return!!We&&We.length>0});return xe.unshift(we),xe}},{key:"delayOnSelect",value:function($){for(var we=this,xe=arguments.length,We=new Array(xe>1?xe-1:0),st=1;st<xe;st++)We[st-1]=arguments[st];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof $=="function"&&(this.delayTimer=window.setTimeout(function(){$(We),we.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var $=this.getShowOptions().length,we=0;we<$;we++){var xe=this.menuItems[we];xe&&xe.parentElement&&(xe.parentElement.scrollTop=xe.offsetTop)}}},{key:"isActiveOption",value:function($,we){var xe=this.props.activeValue,We=xe===void 0?[]:xe;return We[we]===$[this.getFieldName("value")]}},{key:"render",value:function(){var $=this,we=this.props,xe=we.prefixCls,We=we.dropdownMenuColumnStyle;return u.createElement("div",null,this.getShowOptions().map(function(st,nt){return u.createElement("ul",{className:"".concat(xe,"-menu"),key:nt,style:We},st.map(function(Ne){return $.getOption(Ne,nt)}))}))}}]),Se}(u.Component);h.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"};var p=h,m={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},S=m,y=function(ge){Object(v.a)(Se,ge);var le=Object(f.a)(Se);function Se(me){var $;Object(A.a)(this,Se),$=le.call(this,me),$.setPopupVisible=function(xe){var We=$.state.value;"popupVisible"in $.props||$.setState({popupVisible:xe}),xe&&!$.state.popupVisible&&$.setState({activeValue:We}),$.props.onPopupVisibleChange(xe)},$.handleChange=function(xe,We,st){var nt=We.visible;(st.type!=="keydown"||st.keyCode===s.a.ENTER)&&($.props.onChange(xe.map(function(Ne){return Ne[$.getFieldName("value")]}),xe),$.setPopupVisible(nt))},$.handlePopupVisibleChange=function(xe){$.setPopupVisible(xe)},$.handleMenuSelect=function(xe,We,st){var nt=$.trigger.getRootDomNode();nt&&nt.focus&&nt.focus();var Ne=$.props,St=Ne.changeOnSelect,Ye=Ne.loadData,vt=Ne.expandTrigger;if(!xe||xe.disabled)return;var It=$.state.activeValue;It=It.slice(0,We+1),It[We]=xe[$.getFieldName("value")];var Ut=$.getActiveOptions(It);if(xe.isLeaf===!1&&!xe[$.getFieldName("children")]&&Ye){St&&$.handleChange(Ut,{visible:!0},st),$.setState({activeValue:It}),Ye(Ut);return}var xt={};!xe[$.getFieldName("children")]||!xe[$.getFieldName("children")].length?($.handleChange(Ut,{visible:!1},st),xt.value=It):St&&(st.type==="click"||st.type==="keydown")&&(vt==="hover"?$.handleChange(Ut,{visible:!1},st):$.handleChange(Ut,{visible:!0},st),xt.value=It),xt.activeValue=It,("value"in $.props||st.type==="keydown"&&st.keyCode!==s.a.ENTER)&&delete xt.value,$.setState(xt)},$.handleItemDoubleClick=function(){var xe=$.props.changeOnSelect;xe&&$.setPopupVisible(!1)},$.handleKeyDown=function(xe){var We=$.props.children;if(We&&We.props.onKeyDown){We.props.onKeyDown(xe);return}var st=Object(e.a)($.state.activeValue),nt=st.length-1<0?0:st.length-1,Ne=$.getCurrentLevelOptions(),St=Ne.map(function(Ut){return Ut[$.getFieldName("value")]}).indexOf(st[nt]);if(xe.keyCode!==s.a.DOWN&&xe.keyCode!==s.a.UP&&xe.keyCode!==s.a.LEFT&&xe.keyCode!==s.a.RIGHT&&xe.keyCode!==s.a.ENTER&&xe.keyCode!==s.a.SPACE&&xe.keyCode!==s.a.BACKSPACE&&xe.keyCode!==s.a.ESC&&xe.keyCode!==s.a.TAB)return;if(!$.state.popupVisible&&xe.keyCode!==s.a.BACKSPACE&&xe.keyCode!==s.a.LEFT&&xe.keyCode!==s.a.RIGHT&&xe.keyCode!==s.a.ESC&&xe.keyCode!==s.a.TAB){$.setPopupVisible(!0),$.props.onKeyDown&&$.props.onKeyDown(xe);return}if(xe.keyCode===s.a.DOWN||xe.keyCode===s.a.UP){xe.preventDefault();var Ye=St;Ye!==-1?xe.keyCode===s.a.DOWN?(Ye+=1,Ye=Ye>=Ne.length?0:Ye):(Ye-=1,Ye=Ye<0?Ne.length-1:Ye):Ye=0,st[nt]=Ne[Ye][$.getFieldName("value")]}else if(xe.keyCode===s.a.LEFT||xe.keyCode===s.a.BACKSPACE)xe.preventDefault(),st.splice(st.length-1,1);else if(xe.keyCode===s.a.RIGHT)xe.preventDefault(),Ne[St]&&Ne[St][$.getFieldName("children")]&&st.push(Ne[St][$.getFieldName("children")][0][$.getFieldName("value")]);else if(xe.keyCode===s.a.ESC||xe.keyCode===s.a.TAB){$.setPopupVisible(!1),$.props.onKeyDown&&$.props.onKeyDown(xe);return}(!st||st.length===0)&&$.setPopupVisible(!1);var vt=$.getActiveOptions(st),It=vt[vt.length-1];$.handleMenuSelect(It,vt.length-1,xe),$.props.onKeyDown&&$.props.onKeyDown(xe)},$.saveTrigger=function(xe){$.trigger=xe};var we=[];return"value"in me?we=me.value||[]:"defaultValue"in me&&(we=me.defaultValue||[]),r()(!("filedNames"in me),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),$.state={popupVisible:me.popupVisible,activeValue:we,value:we,prevProps:me},$.defaultFieldNames={label:"label",value:"value",children:"children"},$}return Object(b.a)(Se,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function($){var we=this.defaultFieldNames,xe=this.props,We=xe.fieldNames,st=xe.filedNames;return"filedNames"in this.props?st[$]||we[$]:We[$]||we[$]}},{key:"getFieldNames",value:function(){var $=this.props,we=$.fieldNames,xe=$.filedNames;return"filedNames"in this.props?xe:we}},{key:"getCurrentLevelOptions",value:function(){var $=this,we=this.props.options,xe=we===void 0?[]:we,We=this.state.activeValue,st=We===void 0?[]:We,nt=a()(xe,function(Ne,St){return Ne[$.getFieldName("value")]===st[St]},{childrenKeyName:this.getFieldName("children")});return nt[nt.length-2]?nt[nt.length-2][this.getFieldName("children")]:Object(e.a)(xe).filter(function(Ne){return!Ne.disabled})}},{key:"getActiveOptions",value:function($){var we=this;return a()(this.props.options||[],function(xe,We){return xe[we.getFieldName("value")]===$[We]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var $=this.props,we=$.prefixCls,xe=$.transitionName,We=$.popupClassName,st=$.options,nt=st===void 0?[]:st,Ne=$.disabled,St=$.builtinPlacements,Ye=$.popupPlacement,vt=$.children,It=$.dropdownRender,Ut=Object(o.a)($,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),xt=u.createElement("div",null),Bt="";nt&&nt.length>0?xt=u.createElement(p,Object(w.a)({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Bt=" ".concat(we,"-menus-empty");var Qe=xt;return It&&(Qe=It(xt)),u.createElement(n.a,Object(w.a)({ref:this.saveTrigger},Ut,{popupPlacement:Ye,builtinPlacements:St,popupTransitionName:xe,action:Ne?[]:["click"],popupVisible:Ne?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(we,"-menus"),popupClassName:We+Bt,popup:Qe}),u.cloneElement(vt,{onKeyDown:this.handleKeyDown,tabIndex:Ne?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function($,we){var xe=we.prevProps,We=xe===void 0?{}:xe,st={prevProps:$};return"value"in $&&!c(We.value,$.value)&&(st.value=$.value||[],"loadData"in $||(st.activeValue=$.value||[])),"popupVisible"in $&&(st.popupVisible=$.popupVisible),st}}]),Se}(u.Component);y.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:S,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"};var x=y,C=x,T=d("TSYQ"),_=d.n(T),E=d("bT9E"),I=d("jN4g"),L=d("8Skl"),D=d("UESt"),F=d("VTBJ"),N={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"},P=N,W=d("6VBw"),R=function(le,Se){return u.createElement(W.a,Object(F.a)(Object(F.a)({},le),{},{ref:Se,icon:P}))};R.displayName="RedoOutlined";var j=u.forwardRef(R),H=d("5bA4"),K=d("5rEg"),U=d("H84U"),G=d("YMnH"),z=d("uaoM"),Y=d("3Nzz"),q=d("0n0R"),oe=function(ge,le){var Se={};for(var me in ge)Object.prototype.hasOwnProperty.call(ge,me)&&le.indexOf(me)<0&&(Se[me]=ge[me]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,me=Object.getOwnPropertySymbols(ge);$<me.length;$++)le.indexOf(me[$])<0&&Object.prototype.propertyIsEnumerable.call(ge,me[$])&&(Se[me[$]]=ge[me[$]]);return Se},ie=50,se="__KEEP_FILTERED_OPTION_VALUE";function he(ge,le,Se){return ge.split(le).map(function(me,$){return $===0?me:[u.createElement("span",{className:"".concat(Se,"-menu-item-keyword"),key:"seperator"},le),me]})}function pe(ge,le,Se){return le.some(function(me){return me[Se.label].indexOf(ge)>-1})}function _e(ge,le,Se,me){return le.map(function($,we){var xe=$[me.label],We=xe.indexOf(ge)>-1?he(xe,ge,Se):xe;return we===0?We:[" / ",We]})}function De(ge,le,Se,me){function $(we){return we[me.label].indexOf(Se)>-1}return ge.findIndex($)-le.findIndex($)}function Xe(ge){var le=ge.fieldNames;return le}function J(ge){var le=Xe(ge)||{},Se={children:le.children||"children",label:le.label||"label",value:le.value||"value"};return Se}function Ee(ge,le){var Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],me=J(le),$=[],we=me.children;return ge.forEach(function(xe){var We=Se.concat(xe);(le.changeOnSelect||!xe[we]||!xe[we].length)&&$.push(We),xe[we]&&($=$.concat(Ee(xe[we],le,We)))}),$}var qe=function(le){return le.join(" / ")};function ae(ge){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(ge||[]).forEach(function(Se){var me=le.value||"value";Object(z.a)(me in Se,"Cascader","Not found `value` in `options`."),ae(Se[le.children||"children"],le)})}function V(ge,le,Se){var me;return me={},Object(l.a)(me,le.value,"ANT_CASCADER_NOT_FOUND"),Object(l.a)(me,le.label,Se||ge("Cascader")),Object(l.a)(me,"disabled",!0),Object(l.a)(me,"isEmptyNode",!0),me}var X=function(ge){Object(v.a)(Se,ge);var le=Object(f.a)(Se);function Se(me){var $;return Object(A.a)(this,Se),$=le.call(this,me),$.cachedOptions=[],$.setValue=function(we){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in $.props||$.setState({value:we});var We=$.props.onChange;We&&We(we,xe)},$.saveInput=function(we){$.input=we},$.handleChange=function(we,xe){if($.setState({inputValue:""}),xe[0].__IS_FILTERED_OPTION){var We=xe[0][se]===void 0?we[0]:xe[0][se],st=xe[0].path;$.setValue(We,st);return}$.setValue(we,xe)},$.handlePopupVisibleChange=function(we){"popupVisible"in $.props||$.setState(function(We){return{popupVisible:we,inputFocused:we,inputValue:we?We.inputValue:""}});var xe=$.props.onPopupVisibleChange;xe&&xe(we)},$.handleInputBlur=function(){$.setState({inputFocused:!1})},$.handleInputClick=function(we){var xe=$.state,We=xe.inputFocused,st=xe.popupVisible;(We||st)&&we.stopPropagation()},$.handleKeyDown=function(we){(we.keyCode===s.a.BACKSPACE||we.keyCode===s.a.SPACE)&&we.stopPropagation()},$.handleInputChange=function(we){var xe=$.state.popupVisible,We=we.target.value;xe||$.handlePopupVisibleChange(!0),$.setState({inputValue:We})},$.clearSelection=function(we){var xe=$.state.inputValue;we.preventDefault(),we.stopPropagation(),xe?$.setState({inputValue:""}):($.handlePopupVisibleChange(!1),$.clearSelectionTimeout=setTimeout(function(){$.setValue([])},200))},$.renderCascader=function(we,xe){var We=we.getPopupContainer,st=we.getPrefixCls,nt=we.renderEmpty,Ne=we.direction;return u.createElement(Y.b.Consumer,null,function(St){var Ye,vt,It,Ut,xt=Object(g.a)($),Bt=xt.props,Qe=xt.state,te=Bt.prefixCls,Q=Bt.inputPrefixCls,Me=Bt.children,Ce=Bt.placeholder,ue=Ce===void 0?xe.placeholder||"Please select":Ce,ot=Bt.size,rt=Bt.disabled,Ue=Bt.className,Ge=Bt.style,tt=Bt.allowClear,Wt=Bt.showSearch,jt=Wt===void 0?!1:Wt,Yt=Bt.suffixIcon,Tt=Bt.expandIcon,Rt=Bt.notFoundContent,yt=Bt.popupClassName,Jt=Bt.bordered,Lr=Bt.dropdownRender,zr=oe(Bt,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),rn=ot||St,ei=Qe.value,fn=Qe.inputFocused,Zr=Ne==="rtl",bt=st("cascader",te),ut=st("input",Q),Oe=_()((Ye={},Object(l.a)(Ye,"".concat(ut,"-lg"),rn==="large"),Object(l.a)(Ye,"".concat(ut,"-sm"),rn==="small"),Ye)),be=tt&&!rt&&ei.length>0||Qe.inputValue?u.createElement(I.a,{className:"".concat(bt,"-picker-clear"),onClick:$.clearSelection}):null,Fe=_()((vt={},Object(l.a)(vt,"".concat(bt,"-picker-arrow"),!0),Object(l.a)(vt,"".concat(bt,"-picker-arrow-expand"),Qe.popupVisible),vt)),it=_()("".concat(bt,"-picker"),(It={},Object(l.a)(It,"".concat(bt,"-picker-rtl"),Zr),Object(l.a)(It,"".concat(bt,"-picker-with-value"),Qe.inputValue),Object(l.a)(It,"".concat(bt,"-picker-disabled"),rt),Object(l.a)(It,"".concat(bt,"-picker-").concat(rn),!!rn),Object(l.a)(It,"".concat(bt,"-picker-show-search"),!!jt),Object(l.a)(It,"".concat(bt,"-picker-focused"),fn),Object(l.a)(It,"".concat(bt,"-picker-borderless"),!Jt),It),Ue),wt=Object(E.a)(zr,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","filterOption","renderFilteredOption","sortFilteredOption","fieldNames"]),nr=Bt.options,sr=J($.props);nr&&nr.length>0?Qe.inputValue&&(nr=$.generateFilteredOptions(bt,nt)):nr=[V(nt,sr,Rt)],Qe.popupVisible?$.cachedOptions=nr:nr=$.cachedOptions;var Ar={},Hr=(nr||[]).length===1&&nr[0].isEmptyNode;Hr&&(Ar.height="auto");var $r=jt.matchInputWidth!==!1;$r&&(Qe.inputValue||Hr)&&$.input&&(Ar.width=$.input.input.offsetWidth);var Qt;Yt?Qt=Object(q.c)(Yt,u.createElement("span",{className:"".concat(bt,"-picker-arrow")},Yt),function(){var Xt;return{className:_()((Xt={},Object(l.a)(Xt,Yt.props.className,Yt.props.className),Object(l.a)(Xt,"".concat(bt,"-picker-arrow"),!0),Xt))}}):Qt=u.createElement(L.a,{className:Fe});var Ot=Me||u.createElement("span",{style:Ge,className:it},u.createElement("span",{className:"".concat(bt,"-picker-label")},$.getLabel()),u.createElement(K.a,Object(w.a)({},wt,{tabIndex:-1,ref:$.saveInput,prefixCls:ut,placeholder:ei&&ei.length>0?void 0:ue,className:"".concat(bt,"-input ").concat(Oe),value:Qe.inputValue,disabled:rt,readOnly:!jt,autoComplete:wt.autoComplete||"off",onClick:jt?$.handleInputClick:void 0,onBlur:jt?$.handleInputBlur:void 0,onKeyDown:$.handleKeyDown,onChange:jt?$.handleInputChange:void 0})),be,Qt),Ft;Tt?Ft=Tt:Ft=Zr?u.createElement(H.a,null):u.createElement(D.a,null);var pr=u.createElement("span",{className:"".concat(bt,"-menu-item-loading-icon")},u.createElement(j,{spin:!0})),Rr=Bt.getPopupContainer||We,Pr=Object(E.a)(Bt,["inputIcon","expandIcon","loadingIcon","bordered","className"]),an=_()(yt,(Ut={},Object(l.a)(Ut,"".concat(bt,"-menu-").concat(Ne),Ne==="rtl"),Object(l.a)(Ut,"".concat(bt,"-menu-empty"),nr.length===1&&nr[0].value==="ANT_CASCADER_NOT_FOUND"),Ut));return u.createElement(C,Object(w.a)({},Pr,{prefixCls:bt,getPopupContainer:Rr,options:nr,value:ei,popupVisible:Qe.popupVisible,onPopupVisibleChange:$.handlePopupVisibleChange,onChange:$.handleChange,dropdownMenuColumnStyle:Ar,expandIcon:Ft,loadingIcon:pr,popupClassName:an,popupPlacement:$.getPopupPlacement(Ne),dropdownRender:Lr}),Ot)})},$.state={value:me.value||me.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:me.popupVisible,flattenOptions:me.showSearch?Ee(me.options,me):void 0,prevProps:me},$}return Object(b.a)(Se,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var $=this.props,we=$.options,xe=$.displayRender,We=xe===void 0?qe:xe,st=J(this.props),nt=this.state.value,Ne=Array.isArray(nt[0])?nt[0]:nt,St=a()(we,function(vt,It){return vt[st.value]===Ne[It]},{childrenKeyName:st.children}),Ye=St.length?St.map(function(vt){return vt[st.label]}):nt;return We(Ye,St)}},{key:"generateFilteredOptions",value:function($,we){var xe=this,We=this.props,st=We.showSearch,nt=We.notFoundContent,Ne=J(this.props),St=st.filter,Ye=St===void 0?pe:St,vt=st.render,It=vt===void 0?_e:vt,Ut=st.sort,xt=Ut===void 0?De:Ut,Bt=st.limit,Qe=Bt===void 0?ie:Bt,te=this.state,Q=te.flattenOptions,Me=Q===void 0?[]:Q,Ce=te.inputValue,ue;if(Qe>0){ue=[];var ot=0;Me.some(function(Ue){var Ge=Ye(xe.state.inputValue,Ue,Ne);return Ge&&(ue.push(Ue),ot+=1),ot>=Qe})}else Object(z.a)(typeof Qe!="number","Cascader","'limit' of showSearch should be positive number or false."),ue=Me.filter(function(Ue){return Ye(xe.state.inputValue,Ue,Ne)});if(ue=ue.sort(function(Ue,Ge){return xt(Ue,Ge,Ce,Ne)}),ue.length>0){var rt=Ne.value===Ne.label?se:Ne.value;return ue.map(function(Ue){var Ge;return Ge={__IS_FILTERED_OPTION:!0,path:Ue},Object(l.a)(Ge,rt,Ue.map(function(tt){return tt[Ne.value]})),Object(l.a)(Ge,Ne.label,It(Ce,Ue,$,Ne)),Object(l.a)(Ge,"disabled",Ue.some(function(tt){return!!tt.disabled})),Object(l.a)(Ge,"isEmptyNode",!0),Ge})}return[V(we,Ne,nt)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",we=this.props.popupPlacement;return we!==void 0?we:$==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var $=this;return u.createElement(U.a,null,function(we){return u.createElement(G.a,null,function(xe){return $.renderCascader(we,xe)})})}}],[{key:"getDerivedStateFromProps",value:function($,we){var xe=we.prevProps,We={prevProps:$};return"value"in $&&(We.value=$.value||[]),"popupVisible"in $&&(We.popupVisible=$.popupVisible),$.showSearch&&xe.options!==$.options&&(We.flattenOptions=Ee($.options,$)),We}}]),Se}(u.Component);X.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var Z=B.a=X},DN4a:function(k,B,d){var w=d("Fofx"),A=d("QBsz"),b=w.identity,g=5e-5;function v(i){return i>g||i<-g}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},l=f.prototype;l.transform=null,l.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 u=[];l.updateTransform=function(){var i=this.parent,r=i&&i.transform,s=this.needLocalTransform(),t=this.transform;if(!(s||r)){t&&b(t);return}t=t||w.create(),s?this.getLocalTransform(t):b(t),r&&(s?w.mul(t,i.transform,t):w.copy(t,i.transform)),this.transform=t;var a=this.globalScaleRatio;if(a!=null&&a!==1){this.getGlobalScale(u);var c=u[0]<0?-1:1,h=u[1]<0?-1:1,p=((u[0]-c)*a+c)/u[0]||0,m=((u[1]-h)*a+h)/u[1]||0;t[0]*=p,t[1]*=p,t[2]*=m,t[3]*=m}this.invTransform=this.invTransform||w.create(),w.invert(this.invTransform,t)},l.getLocalTransform=function(i){return f.getLocalTransform(this,i)},l.setTransform=function(i){var r=this.transform,s=i.dpr||1;r?i.setTransform(s*r[0],s*r[1],s*r[2],s*r[3],s*r[4],s*r[5]):i.setTransform(s,0,0,s,0,0)},l.restoreTransform=function(i){var r=i.dpr||1;i.setTransform(r,0,0,r,0,0)};var o=[],e=w.create();l.setLocalTransform=function(i){if(!i)return;var r=i[0]*i[0]+i[1]*i[1],s=i[2]*i[2]+i[3]*i[3],t=this.position,a=this.scale;v(r-1)&&(r=Math.sqrt(r)),v(s-1)&&(s=Math.sqrt(s)),i[0]<0&&(r=-r),i[3]<0&&(s=-s),t[0]=i[4],t[1]=i[5],a[0]=r,a[1]=s,this.rotation=Math.atan2(-i[1]/s,i[0]/r)},l.decomposeTransform=function(){if(!this.transform)return;var i=this.parent,r=this.transform;i&&i.transform&&(w.mul(o,i.invTransform,r),r=o);var s=this.origin;s&&(s[0]||s[1])&&(e[4]=s[0],e[5]=s[1],w.mul(o,r,e),o[4]-=s[0],o[5]-=s[1],r=o),this.setLocalTransform(r)},l.getGlobalScale=function(i){var r=this.transform;return i=i||[],r?(i[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),i[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(i[0]=-i[0]),r[3]<0&&(i[1]=-i[1]),i):(i[0]=1,i[1]=1,i)},l.transformCoordToLocal=function(i,r){var s=[i,r],t=this.invTransform;return t&&A.applyTransform(s,s,t),s},l.transformCoordToGlobal=function(i,r){var s=[i,r],t=this.transform;return t&&A.applyTransform(s,s,t),s},f.getLocalTransform=function(i,r){r=r||[],b(r);var s=i.origin,t=i.scale||[1,1],a=i.rotation||0,c=i.position||[0,0];return s&&(r[4]-=s[0],r[5]-=s[1]),w.scale(r,r,t),a&&w.rotate(r,r,a),s&&(r[4]+=s[0],r[5]+=s[1]),r[4]+=c[0],r[5]+=c[1],r};var n=f;k.exports=n},DYRE:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("OPEp"),g=d.n(b)},DZo9:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("JGo8"),g=d.n(b),v=d("+L6B"),f=d("MXD1"),l=d("5Dmo")},Dagg:function(k,B,d){var w=d("Gev7"),A=d("mFDi"),b=d("bYtY"),g=d("Xnb7");function v(l){w.call(this,l)}v.prototype={constructor:v,type:"image",brush:function(u,o){var e=this.style,n=e.image;e.bind(u,this,o);var i=this._image=g.createOrUpdateImage(n,this._image,this,this.onload);if(!i||!g.isImageReady(i))return;var r=e.x||0,s=e.y||0,t=e.width,a=e.height,c=i.width/i.height;if(t==null&&a!=null?t=a*c:a==null&&t!=null?a=t/c:t==null&&a==null&&(t=i.width,a=i.height),this.setTransform(u),e.sWidth&&e.sHeight){var h=e.sx||0,p=e.sy||0;u.drawImage(i,h,p,e.sWidth,e.sHeight,r,s,t,a)}else if(e.sx&&e.sy){var h=e.sx,p=e.sy,m=t-h,S=a-p;u.drawImage(i,h,p,m,S,r,s,t,a)}else u.drawImage(i,r,s,t,a);e.text!=null&&(this.restoreTransform(u),this.drawRectText(u,this.getBoundingRect()))},getBoundingRect:function(){var u=this.style;return this._rect||(this._rect=new A(u.x||0,u.y||0,u.width||0,u.height||0)),this._rect}},b.inherits(v,w);var f=v;k.exports=f},Dg8C:function(k,B,d){var w=d("XxSj"),A=d("bYtY");function b(g,v){g.eachSeriesByType("sankey",function(f){var l=f.getGraph(),u=l.nodes;if(u.length){var o=Infinity,e=-Infinity;A.each(u,function(n){var i=n.getLayout().value;i<o&&(o=i),i>e&&(e=i)}),A.each(u,function(n){var i=new w({type:"color",mappingMethod:"linear",dataExtent:[o,e],visual:f.get("color")}),r=i.mapValueToVisual(n.getLayout().value),s=n.getModel().get("itemStyle.color");s!=null?n.setVisual("color",s):n.setVisual("color",r)})}})}k.exports=b},DjyN:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("Urep"),g=d.n(b),v=d("OaEy")},DlQD:function(k,B,d){(function(w,A){k.exports=A()})(this,function(){"use strict";function w(Ut,xt){for(var Bt=0;Bt<xt.length;Bt++){var Qe=xt[Bt];Qe.enumerable=Qe.enumerable||!1,Qe.configurable=!0,"value"in Qe&&(Qe.writable=!0),Object.defineProperty(Ut,Qe.key,Qe)}}function A(Ut,xt,Bt){return xt&&w(Ut.prototype,xt),Bt&&w(Ut,Bt),Ut}function b(Ut,xt){if(!Ut)return;if(typeof Ut=="string")return g(Ut,xt);var Bt=Object.prototype.toString.call(Ut).slice(8,-1);if(Bt==="Object"&&Ut.constructor&&(Bt=Ut.constructor.name),Bt==="Map"||Bt==="Set")return Array.from(Ut);if(Bt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Bt))return g(Ut,xt)}function g(Ut,xt){(xt==null||xt>Ut.length)&&(xt=Ut.length);for(var Bt=0,Qe=new Array(xt);Bt<xt;Bt++)Qe[Bt]=Ut[Bt];return Qe}function v(Ut,xt){var Bt;if(typeof Symbol=="undefined"||Ut[Symbol.iterator]==null){if(Array.isArray(Ut)||(Bt=b(Ut))||xt&&Ut&&typeof Ut.length=="number"){Bt&&(Ut=Bt);var Qe=0;return function(){return Qe>=Ut.length?{done:!0}:{done:!1,value:Ut[Qe++]}}}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 Bt=Ut[Symbol.iterator](),Bt.next.bind(Bt)}function f(Ut,xt){return xt={exports:{}},Ut(xt,xt.exports),xt.exports}var l=f(function(Ut){function xt(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function Bt(Qe){Ut.exports.defaults=Qe}Ut.exports={defaults:xt(),getDefaults:xt,changeDefaults:Bt}}),u=l.defaults,o=l.getDefaults,e=l.changeDefaults,n=/[&<>"']/,i=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},a=function(xt){return t[xt]};function c(Ut,xt){if(xt){if(n.test(Ut))return Ut.replace(i,a)}else if(r.test(Ut))return Ut.replace(s,a);return Ut}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function p(Ut){return Ut.replace(h,function(xt,Bt){return Bt=Bt.toLowerCase(),Bt==="colon"?":":Bt.charAt(0)==="#"?Bt.charAt(1)==="x"?String.fromCharCode(parseInt(Bt.substring(2),16)):String.fromCharCode(+Bt.substring(1)):""})}var m=/(^|[^\[])\^/g;function S(Ut,xt){Ut=Ut.source||Ut,xt=xt||"";var Bt={replace:function(te,Q){return Q=Q.source||Q,Q=Q.replace(m,"$1"),Ut=Ut.replace(te,Q),Bt},getRegex:function(){return new RegExp(Ut,xt)}};return Bt}var y=/[^\w:]/g,x=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function C(Ut,xt,Bt){if(Ut){var Qe;try{Qe=decodeURIComponent(p(Bt)).replace(y,"").toLowerCase()}catch(te){return null}if(Qe.indexOf("javascript:")===0||Qe.indexOf("vbscript:")===0||Qe.indexOf("data:")===0)return null}xt&&!x.test(Bt)&&(Bt=L(xt,Bt));try{Bt=encodeURI(Bt).replace(/%25/g,"%")}catch(te){return null}return Bt}var T={},_=/^[^:]+:\/*[^/]*$/,E=/^([^:]+:)[\s\S]*$/,I=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(Ut,xt){T[" "+Ut]||(_.test(Ut)?T[" "+Ut]=Ut+"/":T[" "+Ut]=P(Ut,"/",!0)),Ut=T[" "+Ut];var Bt=Ut.indexOf(":")===-1;return xt.substring(0,2)==="//"?Bt?xt:Ut.replace(E,"$1")+xt:xt.charAt(0)==="/"?Bt?xt:Ut.replace(I,"$1")+xt:Ut+xt}var D={exec:function(){}};function F(Ut){for(var xt=1,Bt,Qe;xt<arguments.length;xt++){Bt=arguments[xt];for(Qe in Bt)Object.prototype.hasOwnProperty.call(Bt,Qe)&&(Ut[Qe]=Bt[Qe])}return Ut}function N(Ut,xt){var Bt=Ut.replace(/\|/g,function(Q,Me,Ce){for(var ue=!1,ot=Me;--ot>=0&&Ce[ot]==="\\";)ue=!ue;return ue?"|":" |"}),Qe=Bt.split(/ \|/),te=0;if(Qe.length>xt)Qe.splice(xt);else for(;Qe.length<xt;)Qe.push("");for(;te<Qe.length;te++)Qe[te]=Qe[te].trim().replace(/\\\|/g,"|");return Qe}function P(Ut,xt,Bt){var Qe=Ut.length;if(Qe===0)return"";for(var te=0;te<Qe;){var Q=Ut.charAt(Qe-te-1);if(Q===xt&&!Bt)te++;else if(Q!==xt&&Bt)te++;else break}return Ut.substr(0,Qe-te)}function W(Ut,xt){if(Ut.indexOf(xt[1])===-1)return-1;for(var Bt=Ut.length,Qe=0,te=0;te<Bt;te++)if(Ut[te]==="\\")te++;else if(Ut[te]===xt[0])Qe++;else if(Ut[te]===xt[1]&&(Qe--,Qe<0))return te;return-1}function R(Ut){Ut&&Ut.sanitize&&!Ut.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 j={escape:c,unescape:p,edit:S,cleanUrl:C,resolveUrl:L,noopTest:D,merge:F,splitCells:N,rtrim:P,findClosingBracket:W,checkSanitizeDeprecation:R},H=l.defaults,K=j.rtrim,U=j.splitCells,G=j.escape,z=j.findClosingBracket;function Y(Ut,xt,Bt){var Qe=xt.href,te=xt.title?G(xt.title):null,Q=Ut[1].replace(/\\([\[\]])/g,"$1");return Ut[0].charAt(0)!=="!"?{type:"link",raw:Bt,href:Qe,title:te,text:Q}:{type:"image",raw:Bt,href:Qe,title:te,text:G(Q)}}function q(Ut,xt){var Bt=Ut.match(/^(\s+)(?:```)/);if(Bt===null)return xt;var Qe=Bt[1];return xt.split(`
`).map(function(te){var Q=te.match(/^\s+/);if(Q===null)return te;var Me=Q[0];return Me.length>=Qe.length?te.slice(Qe.length):te}).join(`
`)}var oe=function(){function Ut(Bt){this.options=Bt||H}var xt=Ut.prototype;return xt.space=function(Qe){var te=this.rules.block.newline.exec(Qe);if(te)return te[0].length>1?{type:"space",raw:te[0]}:{raw:`
`}},xt.code=function(Qe,te){var Q=this.rules.block.code.exec(Qe);if(Q){var Me=te[te.length-1];if(Me&&Me.type==="paragraph")return{raw:Q[0],text:Q[0].trimRight()};var Ce=Q[0].replace(/^ {4}/gm,"");return{type:"code",raw:Q[0],codeBlockStyle:"indented",text:this.options.pedantic?Ce:K(Ce,`
`)}}},xt.fences=function(Qe){var te=this.rules.block.fences.exec(Qe);if(te){var Q=te[0],Me=q(Q,te[3]||"");return{type:"code",raw:Q,lang:te[2]?te[2].trim():te[2],text:Me}}},xt.heading=function(Qe){var te=this.rules.block.heading.exec(Qe);if(te)return{type:"heading",raw:te[0],depth:te[1].length,text:te[2]}},xt.nptable=function(Qe){var te=this.rules.block.nptable.exec(Qe);if(te){var Q={type:"table",header:U(te[1].replace(/^ *| *\| *$/g,"")),align:te[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:te[3]?te[3].replace(/\n$/,"").split(`
`):[],raw:te[0]};if(Q.header.length===Q.align.length){var Me=Q.align.length,Ce;for(Ce=0;Ce<Me;Ce++)/^ *-+: *$/.test(Q.align[Ce])?Q.align[Ce]="right":/^ *:-+: *$/.test(Q.align[Ce])?Q.align[Ce]="center":/^ *:-+ *$/.test(Q.align[Ce])?Q.align[Ce]="left":Q.align[Ce]=null;for(Me=Q.cells.length,Ce=0;Ce<Me;Ce++)Q.cells[Ce]=U(Q.cells[Ce],Q.header.length);return Q}}},xt.hr=function(Qe){var te=this.rules.block.hr.exec(Qe);if(te)return{type:"hr",raw:te[0]}},xt.blockquote=function(Qe){var te=this.rules.block.blockquote.exec(Qe);if(te){var Q=te[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:te[0],text:Q}}},xt.list=function(Qe){var te=this.rules.block.list.exec(Qe);if(te){for(var Q=te[0],Me=te[2],Ce=Me.length>1,ue=Me[Me.length-1]===")",ot={type:"list",raw:Q,ordered:Ce,start:Ce?+Me.slice(0,-1):"",loose:!1,items:[]},rt=te[0].match(this.rules.block.item),Ue=!1,Ge,tt,Wt,jt,Yt,Tt,Rt,yt=rt.length,Jt=0;Jt<yt;Jt++)Ge=rt[Jt],Q=Ge,tt=Ge.length,Ge=Ge.replace(/^ *([*+-]|\d+[.)]) */,""),~Ge.indexOf(`
`)&&(tt-=Ge.length,Ge=this.options.pedantic?Ge.replace(/^ {1,4}/gm,""):Ge.replace(new RegExp("^ {1,"+tt+"}","gm"),"")),Jt!==yt-1&&(Wt=this.rules.block.bullet.exec(rt[Jt+1])[0],(Ce?Wt.length===1||!ue&&Wt[Wt.length-1]===")":Wt.length>1||this.options.smartLists&&Wt!==Me)&&(jt=rt.slice(Jt+1).join(`
`),ot.raw=ot.raw.substring(0,ot.raw.length-jt.length),Jt=yt-1)),Yt=Ue||/\n\n(?!\s*$)/.test(Ge),Jt!==yt-1&&(Ue=Ge.charAt(Ge.length-1)===`
`,Yt||(Yt=Ue)),Yt&&(ot.loose=!0),Tt=/^\[[ xX]\] /.test(Ge),Rt=void 0,Tt&&(Rt=Ge[1]!==" ",Ge=Ge.replace(/^\[[ xX]\] +/,"")),ot.items.push({type:"list_item",raw:Q,task:Tt,checked:Rt,loose:Yt,text:Ge});return ot}},xt.html=function(Qe){var te=this.rules.block.html.exec(Qe);if(te)return{type:this.options.sanitize?"paragraph":"html",raw:te[0],pre:!this.options.sanitizer&&(te[1]==="pre"||te[1]==="script"||te[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(te[0]):G(te[0]):te[0]}},xt.def=function(Qe){var te=this.rules.block.def.exec(Qe);if(te){te[3]&&(te[3]=te[3].substring(1,te[3].length-1));var Q=te[1].toLowerCase().replace(/\s+/g," ");return{tag:Q,raw:te[0],href:te[2],title:te[3]}}},xt.table=function(Qe){var te=this.rules.block.table.exec(Qe);if(te){var Q={type:"table",header:U(te[1].replace(/^ *| *\| *$/g,"")),align:te[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:te[3]?te[3].replace(/\n$/,"").split(`
`):[]};if(Q.header.length===Q.align.length){Q.raw=te[0];var Me=Q.align.length,Ce;for(Ce=0;Ce<Me;Ce++)/^ *-+: *$/.test(Q.align[Ce])?Q.align[Ce]="right":/^ *:-+: *$/.test(Q.align[Ce])?Q.align[Ce]="center":/^ *:-+ *$/.test(Q.align[Ce])?Q.align[Ce]="left":Q.align[Ce]=null;for(Me=Q.cells.length,Ce=0;Ce<Me;Ce++)Q.cells[Ce]=U(Q.cells[Ce].replace(/^ *\| *| *\| *$/g,""),Q.header.length);return Q}}},xt.lheading=function(Qe){var te=this.rules.block.lheading.exec(Qe);if(te)return{type:"heading",raw:te[0],depth:te[2].charAt(0)==="="?1:2,text:te[1]}},xt.paragraph=function(Qe){var te=this.rules.block.paragraph.exec(Qe);if(te)return{type:"paragraph",raw:te[0],text:te[1].charAt(te[1].length-1)===`
`?te[1].slice(0,-1):te[1]}},xt.text=function(Qe,te){var Q=this.rules.block.text.exec(Qe);if(Q){var Me=te[te.length-1];return Me&&Me.type==="text"?{raw:Q[0],text:Q[0]}:{type:"text",raw:Q[0],text:Q[0]}}},xt.escape=function(Qe){var te=this.rules.inline.escape.exec(Qe);if(te)return{type:"escape",raw:te[0],text:G(te[1])}},xt.tag=function(Qe,te,Q){var Me=this.rules.inline.tag.exec(Qe);if(Me)return!te&&/^<a /i.test(Me[0])?te=!0:te&&/^<\/a>/i.test(Me[0])&&(te=!1),!Q&&/^<(pre|code|kbd|script)(\s|>)/i.test(Me[0])?Q=!0:Q&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Me[0])&&(Q=!1),{type:this.options.sanitize?"text":"html",raw:Me[0],inLink:te,inRawBlock:Q,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Me[0]):G(Me[0]):Me[0]}},xt.link=function(Qe){var te=this.rules.inline.link.exec(Qe);if(te){var Q=z(te[2],"()");if(Q>-1){var Me=te[0].indexOf("!")===0?5:4,Ce=Me+te[1].length+Q;te[2]=te[2].substring(0,Q),te[0]=te[0].substring(0,Ce).trim(),te[3]=""}var ue=te[2],ot="";if(this.options.pedantic){var rt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ue);rt?(ue=rt[1],ot=rt[3]):ot=""}else ot=te[3]?te[3].slice(1,-1):"";ue=ue.trim().replace(/^<([\s\S]*)>$/,"$1");var Ue=Y(te,{href:ue&&ue.replace(this.rules.inline._escapes,"$1"),title:ot&&ot.replace(this.rules.inline._escapes,"$1")},te[0]);return Ue}},xt.reflink=function(Qe,te){var Q;if((Q=this.rules.inline.reflink.exec(Qe))||(Q=this.rules.inline.nolink.exec(Qe))){var Me=(Q[2]||Q[1]).replace(/\s+/g," ");if(Me=te[Me.toLowerCase()],!Me||!Me.href){var Ce=Q[0].charAt(0);return{type:"text",raw:Ce,text:Ce}}var ue=Y(Q,Me,Q[0]);return ue}},xt.strong=function(Qe,te,Q){Q===void 0&&(Q="");var Me=this.rules.inline.strong.start.exec(Qe);if(Me&&(!Me[1]||Me[1]&&(Q===""||this.rules.inline.punctuation.exec(Q)))){te=te.slice(-1*Qe.length);var Ce=Me[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Ce.lastIndex=0;for(var ue;(Me=Ce.exec(te))!=null;)if(ue=this.rules.inline.strong.middle.exec(te.slice(0,Me.index+3)),ue)return{type:"strong",raw:Qe.slice(0,ue[0].length),text:Qe.slice(2,ue[0].length-2)}}},xt.em=function(Qe,te,Q){Q===void 0&&(Q="");var Me=this.rules.inline.em.start.exec(Qe);if(Me&&(!Me[1]||Me[1]&&(Q===""||this.rules.inline.punctuation.exec(Q)))){te=te.slice(-1*Qe.length);var Ce=Me[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Ce.lastIndex=0;for(var ue;(Me=Ce.exec(te))!=null;)if(ue=this.rules.inline.em.middle.exec(te.slice(0,Me.index+2)),ue)return{type:"em",raw:Qe.slice(0,ue[0].length),text:Qe.slice(1,ue[0].length-1)}}},xt.codespan=function(Qe){var te=this.rules.inline.code.exec(Qe);if(te){var Q=te[2].replace(/\n/g," "),Me=/[^ ]/.test(Q),Ce=Q.startsWith(" ")&&Q.endsWith(" ");return Me&&Ce&&(Q=Q.substring(1,Q.length-1)),Q=G(Q,!0),{type:"codespan",raw:te[0],text:Q}}},xt.br=function(Qe){var te=this.rules.inline.br.exec(Qe);if(te)return{type:"br",raw:te[0]}},xt.del=function(Qe){var te=this.rules.inline.del.exec(Qe);if(te)return{type:"del",raw:te[0],text:te[1]}},xt.autolink=function(Qe,te){var Q=this.rules.inline.autolink.exec(Qe);if(Q){var Me,Ce;return Q[2]==="@"?(Me=G(this.options.mangle?te(Q[1]):Q[1]),Ce="mailto:"+Me):(Me=G(Q[1]),Ce=Me),{type:"link",raw:Q[0],text:Me,href:Ce,tokens:[{type:"text",raw:Me,text:Me}]}}},xt.url=function(Qe,te){var Q;if(Q=this.rules.inline.url.exec(Qe)){var Me,Ce;if(Q[2]==="@")Me=G(this.options.mangle?te(Q[0]):Q[0]),Ce="mailto:"+Me;else{var ue;do ue=Q[0],Q[0]=this.rules.inline._backpedal.exec(Q[0])[0];while(ue!==Q[0]);Me=G(Q[0]),Q[1]==="www."?Ce="http://"+Me:Ce=Me}return{type:"link",raw:Q[0],text:Me,href:Ce,tokens:[{type:"text",raw:Me,text:Me}]}}},xt.inlineText=function(Qe,te,Q){var Me=this.rules.inline.text.exec(Qe);if(Me){var Ce;return te?Ce=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Me[0]):G(Me[0]):Me[0]:Ce=G(this.options.smartypants?Q(Me[0]):Me[0]),{type:"text",raw:Me[0],text:Ce}}},Ut}(),ie=j.noopTest,se=j.edit,he=j.merge,pe={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:ie,table:ie,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};pe._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,pe._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,pe.def=se(pe.def).replace("label",pe._label).replace("title",pe._title).getRegex(),pe.bullet=/(?:[*+-]|\d{1,9}[.)])/,pe.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,pe.item=se(pe.item,"gm").replace(/bull/g,pe.bullet).getRegex(),pe.list=se(pe.list).replace(/bull/g,pe.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+pe.def.source+")").getRegex(),pe._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",pe._comment=/<!--(?!-?>)[\s\S]*?-->/,pe.html=se(pe.html,"i").replace("comment",pe._comment).replace("tag",pe._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),pe.paragraph=se(pe._paragraph).replace("hr",pe.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",pe._tag).getRegex(),pe.blockquote=se(pe.blockquote).replace("paragraph",pe.paragraph).getRegex(),pe.normal=he({},pe),pe.gfm=he({},pe.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),pe.gfm.nptable=se(pe.gfm.nptable).replace("hr",pe.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",pe._tag).getRegex(),pe.gfm.table=se(pe.gfm.table).replace("hr",pe.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",pe._tag).getRegex(),pe.pedantic=he({},pe.normal,{html:se(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",pe._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:ie,paragraph:se(pe.normal._paragraph).replace("hr",pe.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",pe.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var _e={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])/};_e._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",_e.punctuation=se(_e.punctuation).replace(/punctuation/g,_e._punctuation).getRegex(),_e._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",_e._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",_e.em.start=se(_e.em.start).replace(/punctuation/g,_e._punctuation).getRegex(),_e.em.middle=se(_e.em.middle).replace(/punctuation/g,_e._punctuation).replace(/overlapSkip/g,_e._overlapSkip).getRegex(),_e.em.endAst=se(_e.em.endAst,"g").replace(/punctuation/g,_e._punctuation).getRegex(),_e.em.endUnd=se(_e.em.endUnd,"g").replace(/punctuation/g,_e._punctuation).getRegex(),_e.strong.start=se(_e.strong.start).replace(/punctuation/g,_e._punctuation).getRegex(),_e.strong.middle=se(_e.strong.middle).replace(/punctuation/g,_e._punctuation).replace(/blockSkip/g,_e._blockSkip).getRegex(),_e.strong.endAst=se(_e.strong.endAst,"g").replace(/punctuation/g,_e._punctuation).getRegex(),_e.strong.endUnd=se(_e.strong.endUnd,"g").replace(/punctuation/g,_e._punctuation).getRegex(),_e.blockSkip=se(_e._blockSkip,"g").getRegex(),_e.overlapSkip=se(_e._overlapSkip,"g").getRegex(),_e._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,_e._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,_e._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])?)+(?![-_])/,_e.autolink=se(_e.autolink).replace("scheme",_e._scheme).replace("email",_e._email).getRegex(),_e._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,_e.tag=se(_e.tag).replace("comment",pe._comment).replace("attribute",_e._attribute).getRegex(),_e._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,_e._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,_e._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,_e.link=se(_e.link).replace("label",_e._label).replace("href",_e._href).replace("title",_e._title).getRegex(),_e.reflink=se(_e.reflink).replace("label",_e._label).getRegex(),_e.reflinkSearch=se(_e.reflinkSearch,"g").replace("reflink",_e.reflink).replace("nolink",_e.nolink).getRegex(),_e.normal=he({},_e),_e.pedantic=he({},_e.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:se(/^!?\[(label)\]\((.*?)\)/).replace("label",_e._label).getRegex(),reflink:se(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_e._label).getRegex()}),_e.gfm=he({},_e.normal,{escape:se(_e.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),_e.gfm.url=se(_e.gfm.url,"i").replace("email",_e.gfm._extended_email).getRegex(),_e.breaks=he({},_e.gfm,{br:se(_e.br).replace("{2,}","*").getRegex(),text:se(_e.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var De={block:pe,inline:_e},Xe=l.defaults,J=De.block,Ee=De.inline;function qe(Ut){return Ut.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 ae(Ut){var xt="",Bt,Qe,te=Ut.length;for(Bt=0;Bt<te;Bt++)Qe=Ut.charCodeAt(Bt),Math.random()>.5&&(Qe="x"+Qe.toString(16)),xt+="&#"+Qe+";";return xt}var V=function(){function Ut(Bt){this.tokens=[],this.tokens.links=Object.create(null),this.options=Bt||Xe,this.options.tokenizer=this.options.tokenizer||new oe,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Qe={block:J.normal,inline:Ee.normal};this.options.pedantic?(Qe.block=J.pedantic,Qe.inline=Ee.pedantic):this.options.gfm&&(Qe.block=J.gfm,this.options.breaks?Qe.inline=Ee.breaks:Qe.inline=Ee.gfm),this.tokenizer.rules=Qe}Ut.lex=function(Qe,te){var Q=new Ut(te);return Q.lex(Qe)};var xt=Ut.prototype;return xt.lex=function(Qe){return Qe=Qe.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(Qe,this.tokens,!0),this.inline(this.tokens),this.tokens},xt.blockTokens=function(Qe,te,Q){te===void 0&&(te=[]),Q===void 0&&(Q=!0),Qe=Qe.replace(/^ +$/gm,"");for(var Me,Ce,ue,ot;Qe;){if(Me=this.tokenizer.space(Qe)){Qe=Qe.substring(Me.raw.length),Me.type&&te.push(Me);continue}if(Me=this.tokenizer.code(Qe,te)){Qe=Qe.substring(Me.raw.length),Me.type?te.push(Me):(ot=te[te.length-1],ot.raw+=`
`+Me.raw,ot.text+=`
`+Me.text);continue}if(Me=this.tokenizer.fences(Qe)){Qe=Qe.substring(Me.raw.length),te.push(Me);continue}if(Me=this.tokenizer.heading(Qe)){Qe=Qe.substring(Me.raw.length),te.push(Me);continue}if(Me=this.tokenizer.nptable(Qe)){Qe=Qe.substring(Me.raw.length),te.push(Me);continue}if(Me=this.tokenizer.hr(Qe)){Qe=Qe.substring(Me.raw.length),te.push(Me);continue}if(Me=this.tokenizer.blockquote(Qe)){Qe=Qe.substring(Me.raw.length),Me.tokens=this.blockTokens(Me.text,[],Q),te.push(Me);continue}if(Me=this.tokenizer.list(Qe)){for(Qe=Qe.substring(Me.raw.length),ue=Me.items.length,Ce=0;Ce<ue;Ce++)Me.items[Ce].tokens=this.blockTokens(Me.items[Ce].text,[],!1);te.push(Me);continue}if(Me=this.tokenizer.html(Qe)){Qe=Qe.substring(Me.raw.length),te.push(Me);continue}if(Q&&(Me=this.tokenizer.def(Qe))){Qe=Qe.substring(Me.raw.length),this.tokens.links[Me.tag]||(this.tokens.links[Me.tag]={href:Me.href,title:Me.title});continue}if(Me=this.tokenizer.table(Qe)){Qe=Qe.substring(Me.raw.length),te.push(Me);continue}if(Me=this.tokenizer.lheading(Qe)){Qe=Qe.substring(Me.raw.length),te.push(Me);continue}if(Q&&(Me=this.tokenizer.paragraph(Qe))){Qe=Qe.substring(Me.raw.length),te.push(Me);continue}if(Me=this.tokenizer.text(Qe,te)){Qe=Qe.substring(Me.raw.length),Me.type?te.push(Me):(ot=te[te.length-1],ot.raw+=`
`+Me.raw,ot.text+=`
`+Me.text);continue}if(Qe){var rt="Infinite loop on byte: "+Qe.charCodeAt(0);if(this.options.silent){console.error(rt);break}else throw new Error(rt)}}return te},xt.inline=function(Qe){var te,Q,Me,Ce,ue,ot,rt=Qe.length;for(te=0;te<rt;te++){ot=Qe[te];switch(ot.type){case"paragraph":case"text":case"heading":{ot.tokens=[],this.inlineTokens(ot.text,ot.tokens);break}case"table":{for(ot.tokens={header:[],cells:[]},Ce=ot.header.length,Q=0;Q<Ce;Q++)ot.tokens.header[Q]=[],this.inlineTokens(ot.header[Q],ot.tokens.header[Q]);for(Ce=ot.cells.length,Q=0;Q<Ce;Q++)for(ue=ot.cells[Q],ot.tokens.cells[Q]=[],Me=0;Me<ue.length;Me++)ot.tokens.cells[Q][Me]=[],this.inlineTokens(ue[Me],ot.tokens.cells[Q][Me]);break}case"blockquote":{this.inline(ot.tokens);break}case"list":{for(Ce=ot.items.length,Q=0;Q<Ce;Q++)this.inline(ot.items[Q].tokens);break}}}return Qe},xt.inlineTokens=function(Qe,te,Q,Me,Ce){te===void 0&&(te=[]),Q===void 0&&(Q=!1),Me===void 0&&(Me=!1),Ce===void 0&&(Ce="");var ue,ot=Qe,rt;if(this.tokens.links){var Ue=Object.keys(this.tokens.links);if(Ue.length>0)for(;(rt=this.tokenizer.rules.inline.reflinkSearch.exec(ot))!=null;)Ue.includes(rt[0].slice(rt[0].lastIndexOf("[")+1,-1))&&(ot=ot.slice(0,rt.index)+"["+"a".repeat(rt[0].length-2)+"]"+ot.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(rt=this.tokenizer.rules.inline.blockSkip.exec(ot))!=null;)ot=ot.slice(0,rt.index)+"["+"a".repeat(rt[0].length-2)+"]"+ot.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Qe;){if(ue=this.tokenizer.escape(Qe)){Qe=Qe.substring(ue.raw.length),te.push(ue);continue}if(ue=this.tokenizer.tag(Qe,Q,Me)){Qe=Qe.substring(ue.raw.length),Q=ue.inLink,Me=ue.inRawBlock,te.push(ue);continue}if(ue=this.tokenizer.link(Qe)){Qe=Qe.substring(ue.raw.length),ue.type==="link"&&(ue.tokens=this.inlineTokens(ue.text,[],!0,Me)),te.push(ue);continue}if(ue=this.tokenizer.reflink(Qe,this.tokens.links)){Qe=Qe.substring(ue.raw.length),ue.type==="link"&&(ue.tokens=this.inlineTokens(ue.text,[],!0,Me)),te.push(ue);continue}if(ue=this.tokenizer.strong(Qe,ot,Ce)){Qe=Qe.substring(ue.raw.length),ue.tokens=this.inlineTokens(ue.text,[],Q,Me),te.push(ue);continue}if(ue=this.tokenizer.em(Qe,ot,Ce)){Qe=Qe.substring(ue.raw.length),ue.tokens=this.inlineTokens(ue.text,[],Q,Me),te.push(ue);continue}if(ue=this.tokenizer.codespan(Qe)){Qe=Qe.substring(ue.raw.length),te.push(ue);continue}if(ue=this.tokenizer.br(Qe)){Qe=Qe.substring(ue.raw.length),te.push(ue);continue}if(ue=this.tokenizer.del(Qe)){Qe=Qe.substring(ue.raw.length),ue.tokens=this.inlineTokens(ue.text,[],Q,Me),te.push(ue);continue}if(ue=this.tokenizer.autolink(Qe,ae)){Qe=Qe.substring(ue.raw.length),te.push(ue);continue}if(!Q&&(ue=this.tokenizer.url(Qe,ae))){Qe=Qe.substring(ue.raw.length),te.push(ue);continue}if(ue=this.tokenizer.inlineText(Qe,Me,qe)){Qe=Qe.substring(ue.raw.length),Ce=ue.raw.slice(-1),te.push(ue);continue}if(Qe){var Ge="Infinite loop on byte: "+Qe.charCodeAt(0);if(this.options.silent){console.error(Ge);break}else throw new Error(Ge)}}return te},A(Ut,null,[{key:"rules",get:function(){return{block:J,inline:Ee}}}]),Ut}(),X=l.defaults,Z=j.cleanUrl,ge=j.escape,le=function(){function Ut(Bt){this.options=Bt||X}var xt=Ut.prototype;return xt.code=function(Qe,te,Q){var Me=(te||"").match(/\S*/)[0];if(this.options.highlight){var Ce=this.options.highlight(Qe,Me);Ce!=null&&Ce!==Qe&&(Q=!0,Qe=Ce)}return Me?'<pre><code class="'+this.options.langPrefix+ge(Me,!0)+'">'+(Q?Qe:ge(Qe,!0))+`</code></pre>
`:"<pre><code>"+(Q?Qe:ge(Qe,!0))+`</code></pre>
`},xt.blockquote=function(Qe){return`<blockquote>
`+Qe+`</blockquote>
`},xt.html=function(Qe){return Qe},xt.heading=function(Qe,te,Q,Me){return this.options.headerIds?"<h"+te+' id="'+this.options.headerPrefix+Me.slug(Q)+'">'+Qe+"</h"+te+`>
`:"<h"+te+">"+Qe+"</h"+te+`>
`},xt.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},xt.list=function(Qe,te,Q){var Me=te?"ol":"ul",Ce=te&&Q!==1?' start="'+Q+'"':"";return"<"+Me+Ce+`>
`+Qe+"</"+Me+`>
`},xt.listitem=function(Qe){return"<li>"+Qe+`</li>
`},xt.checkbox=function(Qe){return"<input "+(Qe?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},xt.paragraph=function(Qe){return"<p>"+Qe+`</p>
`},xt.table=function(Qe,te){return te&&(te="<tbody>"+te+"</tbody>"),`<table>
<thead>
`+Qe+`</thead>
`+te+`</table>
`},xt.tablerow=function(Qe){return`<tr>
`+Qe+`</tr>
`},xt.tablecell=function(Qe,te){var Q=te.header?"th":"td",Me=te.align?"<"+Q+' align="'+te.align+'">':"<"+Q+">";return Me+Qe+"</"+Q+`>
`},xt.strong=function(Qe){return"<strong>"+Qe+"</strong>"},xt.em=function(Qe){return"<em>"+Qe+"</em>"},xt.codespan=function(Qe){return"<code>"+Qe+"</code>"},xt.br=function(){return this.options.xhtml?"<br/>":"<br>"},xt.del=function(Qe){return"<del>"+Qe+"</del>"},xt.link=function(Qe,te,Q){if(Qe=Z(this.options.sanitize,this.options.baseUrl,Qe),Qe===null)return Q;var Me='<a href="'+ge(Qe)+'"';return te&&(Me+=' title="'+te+'"'),Me+=">"+Q+"</a>",Me},xt.image=function(Qe,te,Q){if(Qe=Z(this.options.sanitize,this.options.baseUrl,Qe),Qe===null)return Q;var Me='<img src="'+Qe+'" alt="'+Q+'"';return te&&(Me+=' title="'+te+'"'),Me+=this.options.xhtml?"/>":">",Me},xt.text=function(Qe){return Qe},Ut}(),Se=function(){function Ut(){}var xt=Ut.prototype;return xt.strong=function(Qe){return Qe},xt.em=function(Qe){return Qe},xt.codespan=function(Qe){return Qe},xt.del=function(Qe){return Qe},xt.html=function(Qe){return Qe},xt.text=function(Qe){return Qe},xt.link=function(Qe,te,Q){return""+Q},xt.image=function(Qe,te,Q){return""+Q},xt.br=function(){return""},Ut}(),me=function(){function Ut(){this.seen={}}var xt=Ut.prototype;return xt.slug=function(Qe){var te=Qe.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(te)){var Q=te;do this.seen[Q]++,te=Q+"-"+this.seen[Q];while(this.seen.hasOwnProperty(te))}return this.seen[te]=0,te},Ut}(),$=l.defaults,we=j.unescape,xe=function(){function Ut(Bt){this.options=Bt||$,this.options.renderer=this.options.renderer||new le,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Se,this.slugger=new me}Ut.parse=function(Qe,te){var Q=new Ut(te);return Q.parse(Qe)};var xt=Ut.prototype;return xt.parse=function(Qe,te){te===void 0&&(te=!0);var Q="",Me,Ce,ue,ot,rt,Ue,Ge,tt,Wt,jt,Yt,Tt,Rt,yt,Jt,Lr,zr,rn,ei=Qe.length;for(Me=0;Me<ei;Me++){jt=Qe[Me];switch(jt.type){case"space":continue;case"hr":{Q+=this.renderer.hr();continue}case"heading":{Q+=this.renderer.heading(this.parseInline(jt.tokens),jt.depth,we(this.parseInline(jt.tokens,this.textRenderer)),this.slugger);continue}case"code":{Q+=this.renderer.code(jt.text,jt.lang,jt.escaped);continue}case"table":{for(tt="",Ge="",ot=jt.header.length,Ce=0;Ce<ot;Ce++)Ge+=this.renderer.tablecell(this.parseInline(jt.tokens.header[Ce]),{header:!0,align:jt.align[Ce]});for(tt+=this.renderer.tablerow(Ge),Wt="",ot=jt.cells.length,Ce=0;Ce<ot;Ce++){for(Ue=jt.tokens.cells[Ce],Ge="",rt=Ue.length,ue=0;ue<rt;ue++)Ge+=this.renderer.tablecell(this.parseInline(Ue[ue]),{header:!1,align:jt.align[ue]});Wt+=this.renderer.tablerow(Ge)}Q+=this.renderer.table(tt,Wt);continue}case"blockquote":{Wt=this.parse(jt.tokens),Q+=this.renderer.blockquote(Wt);continue}case"list":{for(Yt=jt.ordered,Tt=jt.start,Rt=jt.loose,ot=jt.items.length,Wt="",Ce=0;Ce<ot;Ce++)Jt=jt.items[Ce],Lr=Jt.checked,zr=Jt.task,yt="",Jt.task&&(rn=this.renderer.checkbox(Lr),Rt?Jt.tokens.length>0&&Jt.tokens[0].type==="text"?(Jt.tokens[0].text=rn+" "+Jt.tokens[0].text,Jt.tokens[0].tokens&&Jt.tokens[0].tokens.length>0&&Jt.tokens[0].tokens[0].type==="text"&&(Jt.tokens[0].tokens[0].text=rn+" "+Jt.tokens[0].tokens[0].text)):Jt.tokens.unshift({type:"text",text:rn}):yt+=rn),yt+=this.parse(Jt.tokens,Rt),Wt+=this.renderer.listitem(yt,zr,Lr);Q+=this.renderer.list(Wt,Yt,Tt);continue}case"html":{Q+=this.renderer.html(jt.text);continue}case"paragraph":{Q+=this.renderer.paragraph(this.parseInline(jt.tokens));continue}case"text":{for(Wt=jt.tokens?this.parseInline(jt.tokens):jt.text;Me+1<ei&&Qe[Me+1].type==="text";)jt=Qe[++Me],Wt+=`
`+(jt.tokens?this.parseInline(jt.tokens):jt.text);Q+=te?this.renderer.paragraph(Wt):Wt;continue}default:{var fn='Token with "'+jt.type+'" type was not found.';if(this.options.silent){console.error(fn);return}else throw new Error(fn)}}}return Q},xt.parseInline=function(Qe,te){te=te||this.renderer;var Q="",Me,Ce,ue=Qe.length;for(Me=0;Me<ue;Me++){Ce=Qe[Me];switch(Ce.type){case"escape":{Q+=te.text(Ce.text);break}case"html":{Q+=te.html(Ce.text);break}case"link":{Q+=te.link(Ce.href,Ce.title,this.parseInline(Ce.tokens,te));break}case"image":{Q+=te.image(Ce.href,Ce.title,Ce.text);break}case"strong":{Q+=te.strong(this.parseInline(Ce.tokens,te));break}case"em":{Q+=te.em(this.parseInline(Ce.tokens,te));break}case"codespan":{Q+=te.codespan(Ce.text);break}case"br":{Q+=te.br();break}case"del":{Q+=te.del(this.parseInline(Ce.tokens,te));break}case"text":{Q+=te.text(Ce.text);break}default:{var ot='Token with "'+Ce.type+'" type was not found.';if(this.options.silent){console.error(ot);return}else throw new Error(ot)}}}return Q},Ut}(),We=j.merge,st=j.checkSanitizeDeprecation,nt=j.escape,Ne=l.getDefaults,St=l.changeDefaults,Ye=l.defaults;function vt(Ut,xt,Bt){if(typeof Ut=="undefined"||Ut===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Ut!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Ut)+", string expected");if(typeof xt=="function"&&(Bt=xt,xt=null),xt=We({},vt.defaults,xt||{}),st(xt),Bt){var Qe=xt.highlight,te;try{te=V.lex(Ut,xt)}catch(ue){return Bt(ue)}var Q=function(ot){var rt;if(!ot)try{rt=xe.parse(te,xt)}catch(Ue){ot=Ue}return xt.highlight=Qe,ot?Bt(ot):Bt(null,rt)};if(!Qe||Qe.length<3)return Q();if(delete xt.highlight,!te.length)return Q();var Me=0;vt.walkTokens(te,function(ue){ue.type==="code"&&(Me++,setTimeout(function(){Qe(ue.text,ue.lang,function(ot,rt){if(ot)return Q(ot);rt!=null&&rt!==ue.text&&(ue.text=rt,ue.escaped=!0),Me--,Me===0&&Q()})},0))}),Me===0&&Q();return}try{var Ce=V.lex(Ut,xt);return xt.walkTokens&&vt.walkTokens(Ce,xt.walkTokens),xe.parse(Ce,xt)}catch(ue){if(ue.message+=`
Please report this to https://github.com/markedjs/marked.`,xt.silent)return"<p>An error occurred:</p><pre>"+nt(ue.message+"",!0)+"</pre>";throw ue}}vt.options=vt.setOptions=function(Ut){return We(vt.defaults,Ut),St(vt.defaults),vt},vt.getDefaults=Ne,vt.defaults=Ye,vt.use=function(Ut){var xt=We({},Ut);if(Ut.renderer&&function(){var Qe=vt.defaults.renderer||new le,te=function(Ce){var ue=Qe[Ce];Qe[Ce]=function(){for(var ot=arguments.length,rt=new Array(ot),Ue=0;Ue<ot;Ue++)rt[Ue]=arguments[Ue];var Ge=Ut.renderer[Ce].apply(Qe,rt);return Ge===!1&&(Ge=ue.apply(Qe,rt)),Ge}};for(var Q in Ut.renderer)te(Q);xt.renderer=Qe}(),Ut.tokenizer&&function(){var Qe=vt.defaults.tokenizer||new oe,te=function(Ce){var ue=Qe[Ce];Qe[Ce]=function(){for(var ot=arguments.length,rt=new Array(ot),Ue=0;Ue<ot;Ue++)rt[Ue]=arguments[Ue];var Ge=Ut.tokenizer[Ce].apply(Qe,rt);return Ge===!1&&(Ge=ue.apply(Qe,rt)),Ge}};for(var Q in Ut.tokenizer)te(Q);xt.tokenizer=Qe}(),Ut.walkTokens){var Bt=vt.defaults.walkTokens;xt.walkTokens=function(Qe){Ut.walkTokens(Qe),Bt&&Bt(Qe)}}vt.setOptions(xt)},vt.walkTokens=function(Ut,xt){for(var Bt=v(Ut),Qe;!(Qe=Bt()).done;){var te=Qe.value;xt(te);switch(te.type){case"table":{for(var Q=v(te.tokens.header),Me;!(Me=Q()).done;){var Ce=Me.value;vt.walkTokens(Ce,xt)}for(var ue=v(te.tokens.cells),ot;!(ot=ue()).done;)for(var rt=ot.value,Ue=v(rt),Ge;!(Ge=Ue()).done;){var tt=Ge.value;vt.walkTokens(tt,xt)}break}case"list":{vt.walkTokens(te.items,xt);break}default:te.tokens&&vt.walkTokens(te.tokens,xt)}}},vt.Parser=xe,vt.parser=xe.parse,vt.Renderer=le,vt.TextRenderer=Se,vt.Lexer=V,vt.lexer=V.lex,vt.Tokenizer=oe,vt.Slugger=me,vt.parse=vt;var It=vt;return It})},"DlR+":function(k,B,d){var w=d("MFOe"),A=w.Global,b=w.trim;k.exports={name:"cookieStorage",read:v,write:l,each:f,remove:u,clearAll:o};var g=A.document;function v(n){if(!n||!e(n))return null;var i="(?:^|.*;\\s*)"+escape(n).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(g.cookie.replace(new RegExp(i),"$1"))}function f(n){for(var i=g.cookie.split(/; ?/g),r=i.length-1;r>=0;r--){if(!b(i[r]))continue;var s=i[r].split("="),t=unescape(s[0]),a=unescape(s[1]);n(a,t)}}function l(n,i){if(!n)return;g.cookie=escape(n)+"="+escape(i)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function u(n){if(!n||!e(n))return;g.cookie=escape(n)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function o(){f(function(n,i){u(i)})}function e(n){return new RegExp("(?:^|;\\s*)"+escape(n).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(g.cookie)}},Ducp:function(k,B,d){var w=d("bYtY"),A=d("IwbS"),b=d("+TT/"),g=d("XpcN"),v=A.Group,f=["width","height"],l=["x","y"],u=g.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){u.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(){u.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,n,i,r,s,t,a){var c=this;u.superCall(this,"renderInner",e,n,i,r,s,t,a);var h=this._controllerGroup,p=n.get("pageIconSize",!0);w.isArray(p)||(p=[p,p]),S("pagePrev",0);var m=n.getModel("pageTextStyle");h.add(new A.Text({name:"pageText",style:{textFill:m.getTextColor(),font:m.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),S("pageNext",1);function S(y,x){var C=y+"DataIndex",T=A.createIcon(n.get("pageIcons",!0)[n.getOrient().name][x],{onclick:w.bind(c._pageGo,c,C,n,r)},{x:-p[0]/2,y:-p[1]/2,width:p[0],height:p[1]});T.name=y,h.add(T)}},layoutInner:function(e,n,i,r,s,t){var a=this.getSelectorGroup(),c=e.getOrient().index,h=f[c],p=l[c],m=f[1-c],S=l[1-c];s&&b.box("horizontal",a,e.get("selectorItemGap",!0));var y=e.get("selectorButtonGap",!0),x=a.getBoundingRect(),C=[-x.x,-x.y],T=w.clone(i);s&&(T[h]=i[h]-x[h]-y);var _=this._layoutContentAndController(e,r,T,c,h,m,S);if(s){if(t==="end")C[c]+=_[h]+y;else{var E=x[h]+y;C[c]-=E,_[p]-=E}_[h]+=x[h]+y,C[1-c]+=_[S]+_[m]/2-x[m]/2,_[m]=Math.max(_[m],x[m]),_[S]=Math.min(_[S],x[S]+C[1-c]),a.attr("position",C)}return _},_layoutContentAndController:function(e,n,i,r,s,t,a){var c=this.getContentGroup(),h=this._containerGroup,p=this._controllerGroup;b.box(e.get("orient"),c,e.get("itemGap"),r?i.width:null,r?null:i.height),b.box("horizontal",p,e.get("pageButtonItemGap",!0));var m=c.getBoundingRect(),S=p.getBoundingRect(),y=this._showController=m[s]>i[s],x=[-m.x,-m.y];n||(x[r]=c.position[r]);var C=[0,0],T=[-S.x,-S.y],_=w.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(y){var E=e.get("pageButtonPosition",!0);E==="end"?T[r]+=i[s]-S[s]:C[r]+=S[s]+_}T[1-r]+=m[t]/2-S[t]/2,c.attr("position",x),h.attr("position",C),p.attr("position",T);var I={x:0,y:0};if(I[s]=y?i[s]:m[s],I[t]=Math.max(m[t],S[t]),I[a]=Math.min(0,S[a]+T[1-r]),h.__rectSize=i[s],y){var L={x:0,y:0};L[s]=Math.max(i[s]-S[s]-_,0),L[t]=I[t],h.setClipPath(new A.Rect({shape:L})),h.__rectSize=L[s]}else p.eachChild(function(F){F.attr({invisible:!0,silent:!0})});var D=this._getPageInfo(e);return D.pageIndex!=null&&A.updateProps(c,{position:D.contentPosition},y?e:!1),this._updatePageInfoView(e,D),I},_pageGo:function(e,n,i){var r=this._getPageInfo(n)[e];r!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:n.id})},_updatePageInfoView:function(e,n){var i=this._controllerGroup;w.each(["pagePrev","pageNext"],function(h){var p=n[h+"DataIndex"]!=null,m=i.childOfName(h);m&&(m.setStyle("fill",p?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),m.cursor=p?"pointer":"default")});var r=i.childOfName("pageText"),s=e.get("pageFormatter"),t=n.pageIndex,a=t!=null?t+1:0,c=n.pageCount;r&&s&&r.setStyle("text",w.isString(s)?s.replace("{current}",a).replace("{total}",c):s({current:a,total:c}))},_getPageInfo:function(e){var n=e.get("scrollDataIndex",!0),i=this.getContentGroup(),r=this._containerGroup.__rectSize,s=e.getOrient().index,t=f[s],a=l[s],c=this._findTargetItemIndex(n),h=i.children(),p=h[c],m=h.length,S=m?1:0,y={contentPosition:i.position.slice(),pageCount:S,pageIndex:S-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!p)return y;var x=I(p);y.contentPosition[s]=-x.s;for(var C=c+1,T=x,_=x,E=null;C<=m;++C)E=I(h[C]),(!E&&_.e>T.s+r||E&&!L(E,T.s))&&(_.i>T.i?T=_:T=E,T&&(y.pageNextDataIndex==null&&(y.pageNextDataIndex=T.i),++y.pageCount)),_=E;for(var C=c-1,T=x,_=x,E=null;C>=-1;--C)E=I(h[C]),(!E||!L(_,E.s))&&T.i<_.i&&(_=T,y.pagePrevDataIndex==null&&(y.pagePrevDataIndex=T.i),++y.pageCount,++y.pageIndex),T=E;return y;function I(D){if(D){var F=D.getBoundingRect(),N=F[a]+D.position[s];return{s:N,e:N+F[t],i:D.__legendDataIndex}}}function L(D,F){return D.e>=F&&D.s<=F+r}},_findTargetItemIndex:function(e){if(!this._showController)return 0;var n,i=this.getContentGroup(),r;return i.eachChild(function(s,t){var a=s.__legendDataIndex;r==null&&a!=null&&(r=t),a===e&&(n=t)}),n!=null?n:r}}),o=u;k.exports=o},E2g8:function(k,B,d){(function(w,A){/*!
* @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(b,g){k.exports=g()})(this,function(){"use strict";function b(le){var Se=typeof le;return le!==null&&(Se==="object"||Se==="function")}function g(le){return typeof le=="function"}var v=void 0;Array.isArray?v=Array.isArray:v=function(Se){return Object.prototype.toString.call(Se)==="[object Array]"};var f=v,l=0,u=void 0,o=void 0,e=function(Se,me){x[l]=Se,x[l+1]=me,l+=2,l===2&&(o?o(C):_())};function n(le){o=le}function i(le){e=le}var r=typeof window!="undefined"?window:void 0,s=r||{},t=s.MutationObserver||s.WebKitMutationObserver,a=typeof self=="undefined"&&typeof w!="undefined"&&{}.toString.call(w)==="[object process]",c=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function h(){return function(){return w.nextTick(C)}}function p(){return typeof u!="undefined"?function(){u(C)}:y()}function m(){var le=0,Se=new t(C),me=document.createTextNode("");return Se.observe(me,{characterData:!0}),function(){me.data=le=++le%2}}function S(){var le=new MessageChannel;return le.port1.onmessage=C,function(){return le.port2.postMessage(0)}}function y(){var le=setTimeout;return function(){return le(C,1)}}var x=new Array(1e3);function C(){for(var le=0;le<l;le+=2){var Se=x[le],me=x[le+1];Se(me),x[le]=void 0,x[le+1]=void 0}l=0}function T(){try{var le=Function("return this")().require("vertx");return u=le.runOnLoop||le.runOnContext,p()}catch(Se){return y()}}var _=void 0;a?_=h():t?_=m():c?_=S():r===void 0&&!0?_=T():_=y();function E(le,Se){var me=this,$=new this.constructor(D);$[L]===void 0&&De($);var we=me._state;if(we){var xe=arguments[we-1];e(function(){return se(we,$,xe,me._result)})}else oe(me,$,le,Se);return $}function I(le){var Se=this;if(le&&typeof le=="object"&&le.constructor===Se)return le;var me=new Se(D);return G(me,le),me}var L=Math.random().toString(36).substring(2);function D(){}var F=void 0,N=1,P=2;function W(){return new TypeError("You cannot resolve a promise with itself")}function R(){return new TypeError("A promises callback cannot return that same promise.")}function j(le,Se,me,$){try{le.call(Se,me,$)}catch(we){return we}}function H(le,Se,me){e(function($){var we=!1,xe=j(me,Se,function(We){if(we)return;we=!0,Se!==We?G($,We):Y($,We)},function(We){if(we)return;we=!0,q($,We)},"Settle: "+($._label||" unknown promise"));!we&&xe&&(we=!0,q($,xe))},le)}function K(le,Se){Se._state===N?Y(le,Se._result):Se._state===P?q(le,Se._result):oe(Se,void 0,function(me){return G(le,me)},function(me){return q(le,me)})}function U(le,Se,me){Se.constructor===le.constructor&&me===E&&Se.constructor.resolve===I?K(le,Se):me===void 0?Y(le,Se):g(me)?H(le,Se,me):Y(le,Se)}function G(le,Se){if(le===Se)q(le,W());else if(b(Se)){var me=void 0;try{me=Se.then}catch($){q(le,$);return}U(le,Se,me)}else Y(le,Se)}function z(le){le._onerror&&le._onerror(le._result),ie(le)}function Y(le,Se){if(le._state!==F)return;le._result=Se,le._state=N,le._subscribers.length!==0&&e(ie,le)}function q(le,Se){if(le._state!==F)return;le._state=P,le._result=Se,e(z,le)}function oe(le,Se,me,$){var we=le._subscribers,xe=we.length;le._onerror=null,we[xe]=Se,we[xe+N]=me,we[xe+P]=$,xe===0&&le._state&&e(ie,le)}function ie(le){var Se=le._subscribers,me=le._state;if(Se.length===0)return;for(var $=void 0,we=void 0,xe=le._result,We=0;We<Se.length;We+=3)$=Se[We],we=Se[We+me],$?se(me,$,we,xe):we(xe);le._subscribers.length=0}function se(le,Se,me,$){var we=g(me),xe=void 0,We=void 0,st=!0;if(we){try{xe=me($)}catch(nt){st=!1,We=nt}if(Se===xe){q(Se,R());return}}else xe=$;Se._state!==F||(we&&st?G(Se,xe):st===!1?q(Se,We):le===N?Y(Se,xe):le===P&&q(Se,xe))}function he(le,Se){try{Se(function($){G(le,$)},function($){q(le,$)})}catch(me){q(le,me)}}var pe=0;function _e(){return pe++}function De(le){le[L]=pe++,le._state=void 0,le._result=void 0,le._subscribers=[]}function Xe(){return new Error("Array Methods must be provided an Array")}var J=function(){function le(Se,me){this._instanceConstructor=Se,this.promise=new Se(D),this.promise[L]||De(this.promise),f(me)?(this.length=me.length,this._remaining=me.length,this._result=new Array(this.length),this.length===0?Y(this.promise,this._result):(this.length=this.length||0,this._enumerate(me),this._remaining===0&&Y(this.promise,this._result))):q(this.promise,Xe())}return le.prototype._enumerate=function(me){for(var $=0;this._state===F&&$<me.length;$++)this._eachEntry(me[$],$)},le.prototype._eachEntry=function(me,$){var we=this._instanceConstructor,xe=we.resolve;if(xe===I){var We=void 0,st=void 0,nt=!1;try{We=me.then}catch(St){nt=!0,st=St}if(We===E&&me._state!==F)this._settledAt(me._state,$,me._result);else if(typeof We!="function")this._remaining--,this._result[$]=me;else if(we===Z){var Ne=new we(D);nt?q(Ne,st):U(Ne,me,We),this._willSettleAt(Ne,$)}else this._willSettleAt(new we(function(St){return St(me)}),$)}else this._willSettleAt(xe(me),$)},le.prototype._settledAt=function(me,$,we){var xe=this.promise;xe._state===F&&(this._remaining--,me===P?q(xe,we):this._result[$]=we),this._remaining===0&&Y(xe,this._result)},le.prototype._willSettleAt=function(me,$){var we=this;oe(me,void 0,function(xe){return we._settledAt(N,$,xe)},function(xe){return we._settledAt(P,$,xe)})},le}();function Ee(le){return new J(this,le).promise}function qe(le){var Se=this;return f(le)?new Se(function(me,$){for(var we=le.length,xe=0;xe<we;xe++)Se.resolve(le[xe]).then(me,$)}):new Se(function(me,$){return $(new TypeError("You must pass an array to race."))})}function ae(le){var Se=this,me=new Se(D);return q(me,le),me}function V(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function X(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Z=function(){function le(Se){this[L]=_e(),this._result=this._state=void 0,this._subscribers=[],D!==Se&&(typeof Se!="function"&&V(),this instanceof le?he(this,Se):X())}return le.prototype.catch=function(me){return this.then(null,me)},le.prototype.finally=function(me){var $=this,we=$.constructor;return g(me)?$.then(function(xe){return we.resolve(me()).then(function(){return xe})},function(xe){return we.resolve(me()).then(function(){throw xe})}):$.then(me,me)},le}();Z.prototype.then=E,Z.all=Ee,Z.race=qe,Z.resolve=I,Z.reject=ae,Z._setScheduler=n,Z._setAsap=i,Z._asap=e;function ge(){var le=void 0;if(typeof A!="undefined")le=A;else if(typeof self!="undefined")le=self;else try{le=Function("return this")()}catch($){throw new Error("polyfill failed because global object is unavailable in this environment")}var Se=le.Promise;if(Se){var me=null;try{me=Object.prototype.toString.call(Se.resolve())}catch($){}if(me==="[object Promise]"&&!Se.cast)return}le.Promise=Z}return Z.polyfill=ge,Z.Promise=Z,Z})}).call(this,d("Q2Ig"),d("IyRk"))},E9nw:function(k,B){k.exports=function(){var d=document.getSelection();if(!d.rangeCount)return function(){};for(var w=document.activeElement,A=[],b=0;b<d.rangeCount;b++)A.push(d.getRangeAt(b));switch(w.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":w.blur();break;default:w=null;break}return d.removeAllRanges(),function(){d.type==="Caret"&&d.removeAllRanges(),d.rangeCount||A.forEach(function(g){d.addRange(g)}),w&&w.focus()}}},ELLl:function(k,B,d){(function(w){w(d("VrN/"))})(function(w){var A={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},b=w.Pos;w.defineOption("autoCloseBrackets",!1,function(t,a,c){c&&c!=w.Init&&(t.removeKeyMap(v),t.state.closeBrackets=null),a&&(f(g(a,"pairs")),t.state.closeBrackets=a,t.addKeyMap(v))});function g(t,a){return a=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[a]!=null?t[a]:A[a]}var v={Backspace:o,Enter:e};function f(t){for(var a=0;a<t.length;a++){var c=t.charAt(a),h="'"+c+"'";v[h]||(v[h]=l(c))}}f(A.pairs+"`");function l(t){return function(a){return i(a,t)}}function u(t){var a=t.state.closeBrackets;if(!a||a.override)return a;var c=t.getModeAt(t.getCursor());return c.closeBrackets||a}function o(t){var a=u(t);if(!a||t.getOption("disableInput"))return w.Pass;for(var c=g(a,"pairs"),h=t.listSelections(),p=0;p<h.length;p++){if(!h[p].empty())return w.Pass;var m=r(t,h[p].head);if(!m||c.indexOf(m)%2!=0)return w.Pass}for(var p=h.length-1;p>=0;p--){var S=h[p].head;t.replaceRange("",b(S.line,S.ch-1),b(S.line,S.ch+1),"+delete")}}function e(t){var a=u(t),c=a&&g(a,"explode");if(!c||t.getOption("disableInput"))return w.Pass;for(var h=t.listSelections(),p=0;p<h.length;p++){if(!h[p].empty())return w.Pass;var m=r(t,h[p].head);if(!m||c.indexOf(m)%2!=0)return w.Pass}t.operation(function(){var S=t.lineSeparator()||`
`;t.replaceSelection(S+S,null),t.execCommand("goCharLeft"),h=t.listSelections();for(var y=0;y<h.length;y++){var x=h[y].head.line;t.indentLine(x,null,!0),t.indentLine(x+1,null,!0)}})}function n(t){var a=w.cmpPos(t.anchor,t.head)>0;return{anchor:new b(t.anchor.line,t.anchor.ch+(a?-1:1)),head:new b(t.head.line,t.head.ch+(a?1:-1))}}function i(t,a){var c=u(t);if(!c||t.getOption("disableInput"))return w.Pass;var h=g(c,"pairs"),p=h.indexOf(a);if(p==-1)return w.Pass;for(var m=g(c,"closeBefore"),S=g(c,"triples"),y=h.charAt(p+1)==a,x=t.listSelections(),C=p%2==0,T,_=0;_<x.length;_++){var E=x[_],I=E.head,L,D=t.getRange(I,b(I.line,I.ch+1));if(C&&!E.empty())L="surround";else if((y||!C)&&D==a)y&&s(t,I)?L="both":S.indexOf(a)>=0&&t.getRange(I,b(I.line,I.ch+3))==a+a+a?L="skipThree":L="skip";else if(y&&I.ch>1&&S.indexOf(a)>=0&&t.getRange(b(I.line,I.ch-2),I)==a+a){if(I.ch>2&&/\bstring/.test(t.getTokenTypeAt(b(I.line,I.ch-2))))return w.Pass;L="addFour"}else if(y){var F=I.ch==0?" ":t.getRange(b(I.line,I.ch-1),I);if(!w.isWordChar(D)&&F!=a&&!w.isWordChar(F))L="both";else return w.Pass}else if(C&&(D.length===0||/\s/.test(D)||m.indexOf(D)>-1))L="both";else return w.Pass;if(!T)T=L;else if(T!=L)return w.Pass}var N=p%2?h.charAt(p-1):a,P=p%2?a:h.charAt(p+1);t.operation(function(){if(T=="skip")t.execCommand("goCharRight");else if(T=="skipThree")for(var W=0;W<3;W++)t.execCommand("goCharRight");else if(T=="surround"){for(var R=t.getSelections(),W=0;W<R.length;W++)R[W]=N+R[W]+P;t.replaceSelections(R,"around"),R=t.listSelections().slice();for(var W=0;W<R.length;W++)R[W]=n(R[W]);t.setSelections(R)}else T=="both"?(t.replaceSelection(N+P,null),t.triggerElectric(N+P),t.execCommand("goCharLeft")):T=="addFour"&&(t.replaceSelection(N+N+N+N,"before"),t.execCommand("goCharRight"))})}function r(t,a){var c=t.getRange(b(a.line,a.ch-1),b(a.line,a.ch+1));return c.length==2?c:null}function s(t,a){var c=t.getTokenAt(b(a.line,a.ch+1));return/\bstring/.test(c.type)&&c.start==a.ch&&(a.ch==0||!/\bstring/.test(t.getTokenTypeAt(a)))}})},EMyp:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("mFDi"),g=d("K4ya"),v=d("qJCg"),f=d("iLNv"),l=d("vZ6x"),u=["inBrush","outOfBrush"],o="__ecBrushSelect",e="__ecInBrushSelectEvent",n=w.PRIORITY.VISUAL.BRUSH;w.registerLayout(n,function(S,y,x){S.eachComponent({mainType:"brush"},function(C){x&&x.type==="takeGlobalCursor"&&C.setBrushOption(x.key==="brush"?x.brushOption:{brushType:!1})}),i(S)});function i(S){S.eachComponent({mainType:"brush"},function(y){var x=y.brushTargetManager=new l(y.option,S);x.setInputRanges(y.areas,S)})}w.registerVisual(n,function(S,y,x){var C=[],T,_;S.eachComponent({mainType:"brush"},function(E,I){var L={brushId:E.id,brushIndex:I,brushName:E.name,areas:A.clone(E.areas),selected:[]};C.push(L);var D=E.option,F=D.brushLink,N=[],P=[],W=[],R=0;I||(T=D.throttleType,_=D.throttleDelay);var j=A.map(E.areas,function(Y){return h(A.defaults({boundingRect:p[Y.brushType](Y)},Y))}),H=g.createVisualMappings(E.option,u,function(Y){Y.mappingMethod="fixed"});A.isArray(F)&&A.each(F,function(Y){N[Y]=1});function K(Y){return F==="all"||N[Y]}function U(Y){return!!Y.length}S.eachSeries(function(Y,q){var oe=W[q]=[];Y.subType==="parallel"?G(Y,q,oe):z(Y,q,oe)});function G(Y,q){var oe=Y.coordinateSystem;R|=oe.hasAxisBrushed(),K(q)&&oe.eachActiveState(Y.getData(),function(ie,se){ie==="active"&&(P[se]=1)})}function z(Y,q,oe){var ie=a(Y);if(!ie||c(E,q))return;if(A.each(j,function(he){ie[he.brushType]&&E.brushTargetManager.controlSeries(he,Y,S)&&oe.push(he),R|=U(oe)}),K(q)&&U(oe)){var se=Y.getData();se.each(function(he){t(ie,oe,se,he)&&(P[he]=1)})}}S.eachSeries(function(Y,q){var oe={seriesId:Y.id,seriesIndex:q,seriesName:Y.name,dataIndex:[]};L.selected.push(oe);var ie=a(Y),se=W[q],he=Y.getData(),pe=K(q)?function(_e){return P[_e]?(oe.dataIndex.push(he.getRawIndex(_e)),"inBrush"):"outOfBrush"}:function(_e){return t(ie,se,he,_e)?(oe.dataIndex.push(he.getRawIndex(_e)),"inBrush"):"outOfBrush"};(K(q)?R:U(se))&&g.applyVisual(u,H,he,pe)})}),r(y,T,_,C,x)});function r(S,y,x,C,T){if(!T)return;var _=S.getZr();if(_[e])return;_[o]||(_[o]=s);var E=f.createOrUpdate(_,o,x,y);E(S,C)}function s(S,y){if(!S.isDisposed()){var x=S.getZr();x[e]=!0,S.dispatchAction({type:"brushSelect",batch:y}),x[e]=!1}}function t(S,y,x,C){for(var T=0,_=y.length;T<_;T++){var E=y[T];if(S[E.brushType](C,x,E.selectors,E))return!0}}function a(S){var y=S.brushSelector;if(A.isString(y)){var x=[];return A.each(v,function(T,_){x[_]=function(E,I,L,D){var F=I.getItemLayout(E);return T[y](F,L,D)}}),x}else if(A.isFunction(y)){var C={};return A.each(v,function(T,_){C[_]=y}),C}return y}function c(S,y){var x=S.option.seriesIndex;return x!=null&&x!=="all"&&(A.isArray(x)?A.indexOf(x,y)<0:y!==x)}function h(S){var y=S.selectors={};return A.each(v[S.brushType],function(x,C){y[C]=function(T){return x(T,y,S)}}),S}var p={lineX:A.noop,lineY:A.noop,rect:function(S){return m(S.range)},polygon:function(S){for(var y,x=S.range,C=0,T=x.length;C<T;C++){y=y||[[Infinity,-Infinity],[Infinity,-Infinity]];var _=x[C];_[0]<y[0][0]&&(y[0][0]=_[0]),_[0]>y[0][1]&&(y[0][1]=_[0]),_[1]<y[1][0]&&(y[1][0]=_[1]),_[1]>y[1][1]&&(y[1][1]=_[1])}return y&&m(y)}};function m(S){return new b(S[0][0],S[1][0],S[0][1]-S[0][0],S[1][1]-S[1][0])}B.layoutCovers=i},ERHi:function(k,B,d){var w=d("ProS");d("Z6js"),d("R4Th");var A=d("f5Yq"),b=d("h8O9");w.registerVisual(A("effectScatter","circle")),w.registerLayout(b("effectScatter"))},EXcs:function(k,B,d){"use strict";var w=function(){return{height:0,opacity:0}},A=function(l){return{height:l.scrollHeight,opacity:1}},b=function(l){return{height:l.offsetHeight}},g=function(l,u){return u.propertyName==="height"},v={motionName:"ant-motion-collapse",onAppearStart:w,onEnterStart:w,onAppearActive:A,onEnterActive:A,onLeaveStart:b,onLeaveActive:w,onAppearEnd:g,onEnterEnd:g,onLeaveEnd:g,motionDeadline:500};B.a=v},Em2t:function(k,B,d){var w=d("bahg"),A=d("quyA"),b=d("0JQy");function g(v){return A(v)?b(v):w(v)}k.exports=g},Ez2D:function(k,B,d){var w=d("bYtY"),A=d("4NO4");function b(g,v){var f=[],l=g.seriesIndex,u;if(l==null||!(u=v.getSeriesByIndex(l)))return{point:[]};var o=u.getData(),e=A.queryDataIndex(o,g);if(e==null||e<0||w.isArray(e))return{point:[]};var n=o.getItemGraphicEl(e),i=u.coordinateSystem;if(u.getTooltipPosition)f=u.getTooltipPosition(e)||[];else if(i&&i.dataToPoint)f=i.dataToPoint(o.getValues(w.map(i.dimensions,function(s){return o.mapDimension(s)}),e,!0))||[];else if(n){var r=n.getBoundingRect().clone();r.applyTransform(n.transform),f=[r.x+r.width/2,r.y+r.height/2]}return{point:f,el:n}}k.exports=b},F0hE:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("ca2m"),g=d("Qxkt"),v=d("ICMv"),f=b.valueAxis;function l(e,n){return A.defaults({show:n},e)}var u=w.extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),n=this.get("splitNumber"),i=this.get("scale"),r=this.get("axisLine"),s=this.get("axisTick"),t=this.get("axisType"),a=this.get("axisLabel"),c=this.get("name"),h=this.get("name.show"),p=this.get("name.formatter"),m=this.get("nameGap"),S=this.get("triggerEvent"),y=A.map(this.get("indicator")||[],function(x){x.max!=null&&x.max>0&&!x.min?x.min=0:x.min!=null&&x.min<0&&!x.max&&(x.max=0);var C=c;if(x.color!=null&&(C=A.defaults({color:x.color},c)),x=A.merge(A.clone(x),{boundaryGap:e,splitNumber:n,scale:i,axisLine:r,axisTick:s,axisType:t,axisLabel:a,name:x.text,nameLocation:"end",nameGap:m,nameTextStyle:C,triggerEvent:S},!1),h||(x.name=""),typeof p=="string"){var T=x.name;x.name=p.replace("{value}",T!=null?T:"")}else typeof p=="function"&&(x.name=p(x.name,x));var _=A.extend(new g(x,null,this.ecModel),v);return _.mainType="radar",_.componentIndex=this.componentIndex,_},this);this.getIndicatorModels=function(){return y}},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:A.merge({lineStyle:{color:"#bbb"}},f.axisLine),axisLabel:l(f.axisLabel,!1),axisTick:l(f.axisTick,!1),axisType:"interval",splitLine:l(f.splitLine,!0),splitArea:l(f.splitArea,!0),indicator:[]}}),o=u;k.exports=o},F5Ls:function(k,B){var d={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function w(A,b){if(A==="china"){var g=d[b.name];if(g){var v=b.center;v[0]+=g[0]/10.5,v[1]+=-g[1]/(10.5/.75)}}}k.exports=w},F7hV:function(k,B,d){var w=d("MBQ8"),A=w.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var b=this.get("progressiveThreshold"),g=this.get("largeThreshold");return g>b&&(b=g),b},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}}});k.exports=A},F9bG:function(k,B,d){var w=d("bYtY"),A=d("ItGF"),b=d("4NO4"),g=b.makeInner,v=g(),f=w.each;function l(s,t,a){if(A.node)return;var c=t.getZr();v(c).records||(v(c).records={}),u(c,t);var h=v(c).records[s]||(v(c).records[s]={});h.handler=a}function u(s,t){if(v(s).initialized)return;v(s).initialized=!0,a("click",w.curry(n,"click")),a("mousemove",w.curry(n,"mousemove")),a("globalout",e);function a(c,h){s.on(c,function(p){var m=i(t);f(v(s).records,function(S){S&&h(S,p,m.dispatchAction)}),o(m.pendings,t)})}}function o(s,t){var a=s.showTip.length,c=s.hideTip.length,h;a?h=s.showTip[a-1]:c&&(h=s.hideTip[c-1]),h&&(h.dispatchAction=null,t.dispatchAction(h))}function e(s,t,a){s.handler("leave",null,a)}function n(s,t,a,c){t.handler(s,a,c)}function i(s){var t={showTip:[],hideTip:[]},a=function(c){var h=t[c.type];h?h.push(c):(c.dispatchAction=a,s.dispatchAction(c))};return{dispatchAction:a,pendings:t}}function r(s,t){if(A.node)return;var a=t.getZr(),c=(v(a).records||{})[s];c&&(v(a).records[s]=null)}B.register=l,B.unregister=r},FBjb:function(k,B,d){var w=d("bYtY"),A=d("oVpE"),b=A.createSymbol,g=d("IwbS"),v=d("OELB"),f=v.parsePercent,l=d("x3X8"),u=l.getDefaultLabel;function o(m,S,y){g.Group.call(this),this.updateData(m,S,y)}var e=o.prototype,n=o.getSymbolSize=function(m,S){var y=m.getItemVisual(S,"symbolSize");return y instanceof Array?y.slice():[+y,+y]};function i(m){return[m[0]/2,m[1]/2]}function r(m,S){this.parent.drift(m,S)}e._createSymbol=function(m,S,y,x,C){this.removeAll();var T=S.getItemVisual(y,"color"),_=b(m,-1,-1,2,2,T,C);_.attr({z2:100,culling:!0,scale:i(x)}),_.drift=r,this._symbolType=m,this.add(_)},e.stopSymbolAnimation=function(m){this.childAt(0).stopAnimation(m)},e.getSymbolPath=function(){return this.childAt(0)},e.getScale=function(){return this.childAt(0).scale},e.highlight=function(){this.childAt(0).trigger("emphasis")},e.downplay=function(){this.childAt(0).trigger("normal")},e.setZ=function(m,S){var y=this.childAt(0);y.zlevel=m,y.z=S},e.setDraggable=function(m){var S=this.childAt(0);S.draggable=m,S.cursor=m?"move":S.cursor},e.updateData=function(m,S,y){this.silent=!1;var x=m.getItemVisual(S,"symbol")||"circle",C=m.hostModel,T=n(m,S),_=x!==this._symbolType;if(_){var E=m.getItemVisual(S,"symbolKeepAspect");this._createSymbol(x,m,S,T,E)}else{var I=this.childAt(0);I.silent=!1,g.updateProps(I,{scale:i(T)},C,S)}if(this._updateCommon(m,S,T,y),_){var I=this.childAt(0),L=y&&y.fadeIn,D={scale:I.scale.slice()};L&&(D.style={opacity:I.style.opacity}),I.scale=[0,0],L&&(I.style.opacity=0),g.initProps(I,D,C,S)}this._seriesModel=C};var s=["itemStyle"],t=["emphasis","itemStyle"],a=["label"],c=["emphasis","label"];e._updateCommon=function(m,S,y,x){var C=this.childAt(0),T=m.hostModel,_=m.getItemVisual(S,"color");C.type!=="image"?C.useStyle({strokeNoScale:!0}):C.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var E=x&&x.itemStyle,I=x&&x.hoverItemStyle,L=x&&x.symbolOffset,D=x&&x.labelModel,F=x&&x.hoverLabelModel,N=x&&x.hoverAnimation,P=x&&x.cursorStyle;if(!x||m.hasItemOption){var W=x&&x.itemModel?x.itemModel:m.getItemModel(S);E=W.getModel(s).getItemStyle(["color"]),I=W.getModel(t).getItemStyle(),L=W.getShallow("symbolOffset"),D=W.getModel(a),F=W.getModel(c),N=W.getShallow("hoverAnimation"),P=W.getShallow("cursor")}else I=w.extend({},I);var R=C.style,j=m.getItemVisual(S,"symbolRotate");C.attr("rotation",(j||0)*Math.PI/180||0),L&&C.attr("position",[f(L[0],y[0]),f(L[1],y[1])]),P&&C.attr("cursor",P),C.setColor(_,x&&x.symbolInnerColor),C.setStyle(E);var H=m.getItemVisual(S,"opacity");H!=null&&(R.opacity=H);var K=m.getItemVisual(S,"liftZ"),U=C.__z2Origin;K!=null?U==null&&(C.__z2Origin=C.z2,C.z2+=K):U!=null&&(C.z2=U,C.__z2Origin=null);var G=x&&x.useNameLabel;g.setLabelStyle(R,I,D,F,{labelFetcher:T,labelDataIndex:S,defaultText:z,isRectText:!0,autoColor:_});function z(Y,q){return G?m.getName(Y):u(m,Y)}C.__symbolOriginalScale=i(y),C.hoverStyle=I,C.highDownOnUpdate=N&&T.isAnimationEnabled()?h:null,g.setHoverStyle(C)};function h(m,S){if(this.incremental||this.useHoverLayer)return;if(S==="emphasis"){var y=this.__symbolOriginalScale,x=y[1]/y[0],C={scale:[Math.max(y[0]*1.1,y[0]+3),Math.max(y[1]*1.1,y[1]+3*x)]};this.animateTo(C,400,"elasticOut")}else S==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}e.fadeOut=function(m,S){var y=this.childAt(0);this.silent=y.silent=!0,!(S&&S.keepLabel)&&(y.style.text=null),g.updateProps(y,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,m)},w.inherits(o,g.Group);var p=o;k.exports=p},FGaS:function(k,B,d){var w=d("ProS"),A=d("IwbS"),b=d("bYtY"),g=d("oVpE");function v(l){return b.isArray(l)||(l=[+l,+l]),l}var f=w.extendChartView({type:"radar",render:function(l,u,o){var e=l.coordinateSystem,n=this.group,i=l.getData(),r=this._data;function s(c,h){var p=c.getItemVisual(h,"symbol")||"circle",m=c.getItemVisual(h,"color");if(p==="none")return;var S=v(c.getItemVisual(h,"symbolSize")),y=g.createSymbol(p,-1,-1,2,2,m);return y.attr({style:{strokeNoScale:!0},z2:100,scale:[S[0]/2,S[1]/2]}),y}function t(c,h,p,m,S,y){p.removeAll();for(var x=0;x<h.length-1;x++){var C=s(m,S);C&&(C.__dimIdx=x,c[x]?(C.attr("position",c[x]),A[y?"initProps":"updateProps"](C,{position:h[x]},l,S)):C.attr("position",h[x]),p.add(C))}}function a(c){return b.map(c,function(h){return[e.cx,e.cy]})}i.diff(r).add(function(c){var h=i.getItemLayout(c);if(!h)return;var p=new A.Polygon,m=new A.Polyline,S={shape:{points:h}};p.shape.points=a(h),m.shape.points=a(h),A.initProps(p,S,l,c),A.initProps(m,S,l,c);var y=new A.Group,x=new A.Group;y.add(m),y.add(p),y.add(x),t(m.shape.points,h,x,i,c,!0),i.setItemGraphicEl(c,y)}).update(function(c,h){var p=r.getItemGraphicEl(h),m=p.childAt(0),S=p.childAt(1),y=p.childAt(2),x={shape:{points:i.getItemLayout(c)}};if(!x.shape.points)return;t(m.shape.points,x.shape.points,y,i,c,!1),A.updateProps(m,x,l),A.updateProps(S,x,l),i.setItemGraphicEl(c,p)}).remove(function(c){n.remove(r.getItemGraphicEl(c))}).execute(),i.eachItemGraphicEl(function(c,h){var p=i.getItemModel(h),m=c.childAt(0),S=c.childAt(1),y=c.childAt(2),x=i.getItemVisual(h,"color");n.add(c),m.useStyle(b.defaults(p.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:x})),m.hoverStyle=p.getModel("emphasis.lineStyle").getLineStyle();var C=p.getModel("areaStyle"),T=p.getModel("emphasis.areaStyle"),_=C.isEmpty()&&C.parentModel.isEmpty(),E=T.isEmpty()&&T.parentModel.isEmpty();E=E&&_,S.ignore=_,S.useStyle(b.defaults(C.getAreaStyle(),{fill:x,opacity:.7})),S.hoverStyle=T.getAreaStyle();var I=p.getModel("itemStyle").getItemStyle(["color"]),L=p.getModel("emphasis.itemStyle").getItemStyle(),D=p.getModel("label"),F=p.getModel("emphasis.label");y.eachChild(function(N){N.setStyle(I),N.hoverStyle=b.clone(L);var P=i.get(i.dimensions[N.__dimIdx],h);(P==null||isNaN(P))&&(P=""),A.setLabelStyle(N.style,N.hoverStyle,D,F,{labelFetcher:i.hostModel,labelDataIndex:h,labelDimIndex:N.__dimIdx,defaultText:P,autoColor:x,isRectText:!0})}),c.highDownOnUpdate=function(N,P){S.attr("ignore",P==="emphasis"?E:_)},A.setHoverStyle(c)}),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});k.exports=f},FNN5:function(k,B,d){var w=d("bYtY"),A=d("IwbS"),b=d("+rIm"),g=d("Znkb"),v=["axisLine","axisTickLabel","axisName"],f=["splitLine","splitArea","minorSplitLine"],l=g.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(o,e){if(this.group.removeAll(),!o.get("show"))return;var n=o.axis,i=n.polar,r=i.getAngleAxis(),s=n.getTicksCoords(),t=n.getMinorTicksCoords(),a=r.getExtent()[0],c=n.getExtent(),h=u(i,o,a),p=new b(o,h);w.each(v,p.add,p),this.group.add(p.getGroup()),w.each(f,function(m){o.get(m+".show")&&!n.scale.isBlank()&&this["_"+m](o,i,a,c,s,t)},this)},_splitLine:function(o,e,n,i,r){var s=o.getModel("splitLine"),t=s.getModel("lineStyle"),a=t.get("color"),c=0;a=a instanceof Array?a:[a];for(var h=[],p=0;p<r.length;p++){var m=c++%a.length;h[m]=h[m]||[],h[m].push(new A.Circle({shape:{cx:e.cx,cy:e.cy,r:r[p].coord}}))}for(var p=0;p<h.length;p++)this.group.add(A.mergePath(h[p],{style:w.defaults({stroke:a[p%a.length],fill:null},t.getLineStyle()),silent:!0}))},_minorSplitLine:function(o,e,n,i,r,s){if(!s.length)return;for(var t=o.getModel("minorSplitLine"),a=t.getModel("lineStyle"),c=[],h=0;h<s.length;h++)for(var p=0;p<s[h].length;p++)c.push(new A.Circle({shape:{cx:e.cx,cy:e.cy,r:s[h][p].coord}}));this.group.add(A.mergePath(c,{style:w.defaults({fill:null},a.getLineStyle()),silent:!0}))},_splitArea:function(o,e,n,i,r){if(!r.length)return;var s=o.getModel("splitArea"),t=s.getModel("areaStyle"),a=t.get("color"),c=0;a=a instanceof Array?a:[a];for(var h=[],p=r[0].coord,m=1;m<r.length;m++){var S=c++%a.length;h[S]=h[S]||[],h[S].push(new A.Sector({shape:{cx:e.cx,cy:e.cy,r0:p,r:r[m].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),p=r[m].coord}for(var m=0;m<h.length;m++)this.group.add(A.mergePath(h[m],{style:w.defaults({fill:a[m%a.length]},t.getAreaStyle()),silent:!0}))}});function u(o,e,n){return{position:[o.cx,o.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}k.exports=l},FUi9:function(k,B,d){var w=d("bYtY"),A=d("MwEJ"),b=d("aX7z"),g=d("ICMv"),v=d("Qxkt"),f=d("+TT/"),l=f.getLayoutRect;B.getLayoutRect=f.getLayoutRect;var u=d("7hqr"),o=u.enableDataStack,e=u.isDimensionStacked,n=u.getStackedDimension,i=d("hi0g");B.completeDimensions=i;var r=d("sdST");B.createDimensions=r;var s=d("oVpE");B.createSymbol=s.createSymbol;function t(p){return A(p.getSource(),p)}var a={isDimensionStacked:e,enableDataStack:o,getStackedDimension:n};function c(p,m){var S=m;v.isInstance(m)||(S=new v(m),w.mixin(S,g));var y=b.createScaleByModel(S);return y.setExtent(p[0],p[1]),b.niceScaleExtent(y,S),y}function h(p){w.mixin(p,g)}B.createList=t,B.dataStack=a,B.createScale=c,B.mixinAxisModelCommonMethods=h},"Fa/5":function(k,B,d){var w=d("ProS");d("y2l5"),d("q/+u");var A=d("f5Yq"),b=d("h8O9");d("Ae16"),w.registerVisual(A("scatter","circle")),w.registerLayout(b("scatter"))},Fofx:function(k,B){var d=typeof Float32Array=="undefined"?Array:Float32Array;function w(){var e=new d(6);return A(e),e}function A(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function b(e,n){return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e}function g(e,n,i){var r=n[0]*i[0]+n[2]*i[1],s=n[1]*i[0]+n[3]*i[1],t=n[0]*i[2]+n[2]*i[3],a=n[1]*i[2]+n[3]*i[3],c=n[0]*i[4]+n[2]*i[5]+n[4],h=n[1]*i[4]+n[3]*i[5]+n[5];return e[0]=r,e[1]=s,e[2]=t,e[3]=a,e[4]=c,e[5]=h,e}function v(e,n,i){return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4]+i[0],e[5]=n[5]+i[1],e}function f(e,n,i){var r=n[0],s=n[2],t=n[4],a=n[1],c=n[3],h=n[5],p=Math.sin(i),m=Math.cos(i);return e[0]=r*m+a*p,e[1]=-r*p+a*m,e[2]=s*m+c*p,e[3]=-s*p+m*c,e[4]=m*t+p*h,e[5]=m*h-p*t,e}function l(e,n,i){var r=i[0],s=i[1];return e[0]=n[0]*r,e[1]=n[1]*s,e[2]=n[2]*r,e[3]=n[3]*s,e[4]=n[4]*r,e[5]=n[5]*s,e}function u(e,n){var i=n[0],r=n[2],s=n[4],t=n[1],a=n[3],c=n[5],h=i*a-t*r;return h?(h=1/h,e[0]=a*h,e[1]=-t*h,e[2]=-r*h,e[3]=i*h,e[4]=(r*c-a*s)*h,e[5]=(t*s-i*c)*h,e):null}function o(e){var n=w();return b(n,e),n}B.create=w,B.identity=A,B.copy=b,B.mul=g,B.translate=v,B.rotate=f,B.scale=l,B.invert=u,B.clone=o},Fv0C:function(k,B,d){"use strict";function w(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(a){return typeof a}:w=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},w(s)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var A=o(d("Lo0S")),b=d("vewr"),g=o(d("8CQX")),v=l(d("mHUz")),f=o(d("GdRQ"));function l(s){return s&&s.__esModule?s:{default:s}}function u(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return u=function(){return s},s}function o(s){if(s&&s.__esModule)return s;if(s===null||w(s)!=="object"&&typeof s!="function")return{default:s};var t=u();if(t&&t.has(s))return t.get(s);var a={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in s)if(Object.prototype.hasOwnProperty.call(s,h)){var p=c?Object.getOwnPropertyDescriptor(s,h):null;p&&(p.get||p.set)?Object.defineProperty(a,h,p):a[h]=s[h]}return a.default=s,t&&t.set(s,a),a}function e(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function n(s,t){for(var a=0;a<t.length;a++){var c=t[a];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(s,c.key,c)}}function i(s,t,a){return t&&n(s.prototype,t),a&&n(s,a),s}var r=function(){function s(t){e(this,s),this._target=t||null,this._keyDownList={},this._pendingKey=null,this._altGrArmed=!1,this._eventHandlers={keyup:this._handleKeyUp.bind(this),keydown:this._handleKeyDown.bind(this),keypress:this._handleKeyPress.bind(this),blur:this._allKeysUp.bind(this),checkalt:this._checkAlt.bind(this)},this.onkeyevent=function(){}}return i(s,[{key:"_sendKeyEvent",value:function(a,c,h){if(h)this._keyDownList[c]=a;else{if(!(c in this._keyDownList))return;delete this._keyDownList[c]}A.Debug("onkeyevent "+(h?"down":"up")+", keysym: "+a,", code: "+c),this.onkeyevent(a,c,h)}},{key:"_getKeyCode",value:function(a){var c=g.getKeycode(a);if(c!=="Unidentified")return c;if(a.keyCode&&a.type!=="keypress"&&a.keyCode!==229)return"Platform"+a.keyCode;if(a.keyIdentifier){if(a.keyIdentifier.substr(0,2)!=="U+")return a.keyIdentifier;var h=parseInt(a.keyIdentifier.substr(2),16),p=String.fromCharCode(h).toUpperCase();return"Platform"+p.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(a){var c=this._getKeyCode(a),h=g.getKeysym(a);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),c==="AltRight"&&a.timeStamp-this._altGrCtrlTime<50?h=v.default.XK_ISO_Level3_Shift:this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),c==="Unidentified"){h&&(this._sendKeyEvent(h,c,!0),this._sendKeyEvent(h,c,!1)),(0,b.stopEvent)(a);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(c in this._keyDownList&&(h=this._keyDownList[c]),(f.isMac()||f.isIOS())&&c==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1),(0,b.stopEvent)(a);return}if(!h&&(!a.key||f.isIE()||f.isEdge())){this._pendingKey=c,setTimeout(this._handleKeyPressTimeout.bind(this),10,a);return}if(this._pendingKey=null,(0,b.stopEvent)(a),c==="ControlLeft"&&f.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=a.timeStamp;return}this._sendKeyEvent(h,c,!0)}},{key:"_handleKeyPress",value:function(a){if((0,b.stopEvent)(a),this._pendingKey===null)return;var c=this._getKeyCode(a),h=g.getKeysym(a);if(c!=="Unidentified"&&c!=this._pendingKey)return;if(c=this._pendingKey,this._pendingKey=null,!h){A.Info("keypress with no keysym:",a);return}this._sendKeyEvent(h,c,!0)}},{key:"_handleKeyPressTimeout",value:function(a){if(this._pendingKey===null)return;var c,h=this._pendingKey;if(this._pendingKey=null,a.keyCode>=48&&a.keyCode<=57)c=a.keyCode;else if(a.keyCode>=65&&a.keyCode<=90){var p=String.fromCharCode(a.keyCode);a.shiftKey?p=p.toUpperCase():p=p.toLowerCase(),c=p.charCodeAt()}else c=0;this._sendKeyEvent(c,h,!0)}},{key:"_handleKeyUp",value:function(a){(0,b.stopEvent)(a);var c=this._getKeyCode(a);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),(f.isMac()||f.isIOS())&&c==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[c],c,!1),f.isWindows()&&(c==="ShiftLeft"||c==="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(){A.Debug(">> Keyboard.allKeysUp");for(var a in this._keyDownList)this._sendKeyEvent(this._keyDownList[a],a,!1);A.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(a){if(a.skipCheckAlt)return;if(a.altKey)return;var c=this._target,h=this._keyDownList;["AltLeft","AltRight"].forEach(function(p){if(!(p in h))return;var m=new KeyboardEvent("keyup",{key:h[p],code:p});m.skipCheckAlt=!0,c.dispatchEvent(m)})}},{key:"grab",value:function(){if(this._target.addEventListener("keydown",this._eventHandlers.keydown),this._target.addEventListener("keyup",this._eventHandlers.keyup),this._target.addEventListener("keypress",this._eventHandlers.keypress),window.addEventListener("blur",this._eventHandlers.blur),f.isWindows()&&f.isFirefox()){var a=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(c){return document.addEventListener(c,a,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(f.isWindows()&&f.isFirefox()){var a=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(c){return document.removeEventListener(c,a)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),s}();B.default=r},FxDU:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.createSensor=void 0;var w=d("QO+J"),A=d("j5sG"),b=typeof ResizeObserver!="undefined"?A.createSensor:w.createSensor;B.createSensor=b},GIiI:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="PoweroffOutlined";var l=B.a=A.forwardRef(f)},GMDS:function(k,B,d){var w=d("bYtY"),A=d("4NgU"),b=d("jkPA"),g=A.prototype,v=A.extend({type:"ordinal",init:function(l,u){(!l||w.isArray(l))&&(l=new b({categories:l})),this._ordinalMeta=l,this._extent=u||[0,l.categories.length-1]},parse:function(l){return typeof l=="string"?this._ordinalMeta.getOrdinal(l):Math.round(l)},contain:function(l){return l=this.parse(l),g.contain.call(this,l)&&this._ordinalMeta.categories[l]!=null},normalize:function(l){return g.normalize.call(this,this.parse(l))},scale:function(l){return Math.round(g.scale.call(this,l))},getTicks:function(){for(var l=[],u=this._extent,o=u[0];o<=u[1];)l.push(o),o++;return l},getLabel:function(l){if(!this.isBlank())return this._ordinalMeta.categories[l]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(l,u){this.unionExtent(l.getApproximateExtent(u))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:w.noop,niceExtent:w.noop});v.create=function(){return new v};var f=v;k.exports=f},GQ8N:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.toUnsigned32bit=w,B.toSigned32bit=A;function w(b){return b>>>0}function A(b){return b|0}},GUcZ:function(k,B,d){"use strict";var w=d("XKWP"),A=d("N7Kx"),b=function(){function bt(){Object(w.a)(this,bt)}return Object(A.a)(bt,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(Oe,be){return Oe.__proto__=be,Oe},Object.assign=Object.assign||function(Oe){if(Oe==null)throw new TypeError("Cannot convert undefined or null to object");for(var be=Object(Oe),Fe=1;Fe<arguments.length;Fe++){var it=arguments[Fe];if(it!=null)for(var wt in it)it.hasOwnProperty(wt)&&(be[wt]=it[wt])}return be},typeof self.Promise!="function"&&d("E2g8").polyfill()}}]),bt}();b.install();var g=b,v=d("+qE3"),f=d.n(v),l=function(){function bt(){Object(w.a)(this,bt)}return Object(A.a)(bt,null,[{key:"e",value:function(Oe,be){(!Oe||bt.FORCE_GLOBAL_TAG)&&(Oe=bt.GLOBAL_TAG);var Fe="[".concat(Oe,"] > ").concat(be);if(bt.ENABLE_CALLBACK&&bt.emitter.emit("log","error",Fe),!bt.ENABLE_ERROR)return;console.error?console.error(Fe):console.warn?console.warn(Fe):console.log(Fe)}},{key:"i",value:function(Oe,be){(!Oe||bt.FORCE_GLOBAL_TAG)&&(Oe=bt.GLOBAL_TAG);var Fe="[".concat(Oe,"] > ").concat(be);if(bt.ENABLE_CALLBACK&&bt.emitter.emit("log","info",Fe),!bt.ENABLE_INFO)return;console.info?console.info(Fe):console.log(Fe)}},{key:"w",value:function(Oe,be){(!Oe||bt.FORCE_GLOBAL_TAG)&&(Oe=bt.GLOBAL_TAG);var Fe="[".concat(Oe,"] > ").concat(be);if(bt.ENABLE_CALLBACK&&bt.emitter.emit("log","warn",Fe),!bt.ENABLE_WARN)return;console.warn?console.warn(Fe):console.log(Fe)}},{key:"d",value:function(Oe,be){(!Oe||bt.FORCE_GLOBAL_TAG)&&(Oe=bt.GLOBAL_TAG);var Fe="[".concat(Oe,"] > ").concat(be);if(bt.ENABLE_CALLBACK&&bt.emitter.emit("log","debug",Fe),!bt.ENABLE_DEBUG)return;console.debug?console.debug(Fe):console.log(Fe)}},{key:"v",value:function(Oe,be){(!Oe||bt.FORCE_GLOBAL_TAG)&&(Oe=bt.GLOBAL_TAG);var Fe="[".concat(Oe,"] > ").concat(be);if(bt.ENABLE_CALLBACK&&bt.emitter.emit("log","verbose",Fe),!bt.ENABLE_VERBOSE)return;console.log(Fe)}}]),bt}();l.GLOBAL_TAG="flv.js",l.FORCE_GLOBAL_TAG=!1,l.ENABLE_ERROR=!0,l.ENABLE_INFO=!0,l.ENABLE_WARN=!0,l.ENABLE_DEBUG=!0,l.ENABLE_VERBOSE=!0,l.ENABLE_CALLBACK=!1,l.emitter=new f.a;var u=l,o=function(){function bt(){Object(w.a)(this,bt),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(A.a)(bt,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(Oe){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=Oe,this._totalBytes+=Oe):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=Oe,this._totalBytes+=Oe):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=Oe,this._totalBytes+=Oe,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var Oe=(this._now()-this._lastCheckpoint)/1e3;return Oe==0&&(Oe=1),this._intervalBytes/Oe/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 Oe=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/Oe/1024}}]),bt}(),e=o,n=d("kFHX"),i=d("4jIl"),r=function(){function bt(ut){Object(w.a)(this,bt),this._message=ut}return Object(A.a)(bt,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),bt}(),s=function(bt){Object(n.a)(Oe,bt);var ut=Object(i.a)(Oe);function Oe(be){return Object(w.a)(this,Oe),ut.call(this,be)}return Object(A.a)(Oe,[{key:"name",get:function(){return"IllegalStateException"}}]),Oe}(r),t=function(bt){Object(n.a)(Oe,bt);var ut=Object(i.a)(Oe);function Oe(be){return Object(w.a)(this,Oe),ut.call(this,be)}return Object(A.a)(Oe,[{key:"name",get:function(){return"InvalidArgumentException"}}]),Oe}(r),a=function(bt){Object(n.a)(Oe,bt);var ut=Object(i.a)(Oe);function Oe(be){return Object(w.a)(this,Oe),ut.call(this,be)}return Object(A.a)(Oe,[{key:"name",get:function(){return"NotImplementedException"}}]),Oe}(r),c={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"},p=function(){function bt(ut){Object(w.a)(this,bt),this._type=ut||"undefined",this._status=c.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(A.a)(bt,[{key:"destroy",value:function(){this._status=c.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===c.kConnecting||this._status===c.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(Oe){this._onContentLengthKnown=Oe}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(Oe){this._onURLRedirect=Oe}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Oe){this._onDataArrival=Oe}},{key:"onError",get:function(){return this._onError},set:function(Oe){this._onError=Oe}},{key:"onComplete",get:function(){return this._onComplete},set:function(Oe){this._onComplete=Oe}},{key:"open",value:function(Oe,be){throw new a("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new a("Unimplemented abstract function!")}}]),bt}(),m=d("2KFj"),S=d("XPR9"),y={};function x(){var bt=self.navigator.userAgent.toLowerCase(),ut=/(edge)\/([\w.]+)/.exec(bt)||/(opr)[\/]([\w.]+)/.exec(bt)||/(chrome)[ \/]([\w.]+)/.exec(bt)||/(iemobile)[\/]([\w.]+)/.exec(bt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(bt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(bt)||/(webkit)[ \/]([\w.]+)/.exec(bt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(bt)||/(msie) ([\w.]+)/.exec(bt)||bt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(bt)||bt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(bt)||[],Oe=/(ipad)/.exec(bt)||/(ipod)/.exec(bt)||/(windows phone)/.exec(bt)||/(iphone)/.exec(bt)||/(kindle)/.exec(bt)||/(android)/.exec(bt)||/(windows)/.exec(bt)||/(mac)/.exec(bt)||/(linux)/.exec(bt)||/(cros)/.exec(bt)||[],be={browser:ut[5]||ut[3]||ut[1]||"",version:ut[2]||ut[4]||"0",majorVersion:ut[4]||ut[2]||"0",platform:Oe[0]||""},Fe={};if(be.browser){Fe[be.browser]=!0;var it=be.majorVersion.split(".");Fe.version={major:parseInt(be.majorVersion,10),string:be.version},it.length>1&&(Fe.version.minor=parseInt(it[1],10)),it.length>2&&(Fe.version.build=parseInt(it[2],10))}if(be.platform&&(Fe[be.platform]=!0),(Fe.chrome||Fe.opr||Fe.safari)&&(Fe.webkit=!0),Fe.rv||Fe.iemobile){Fe.rv&&delete Fe.rv;var wt="msie";be.browser=wt,Fe[wt]=!0}if(Fe.edge){delete Fe.edge;var nr="msedge";be.browser=nr,Fe[nr]=!0}if(Fe.opr){var sr="opera";be.browser=sr,Fe[sr]=!0}if(Fe.safari&&Fe.android){var Ar="android";be.browser=Ar,Fe[Ar]=!0}Fe.name=be.browser,Fe.platform=be.platform;for(var Hr in y)y.hasOwnProperty(Hr)&&delete y[Hr];Object.assign(y,Fe)}x();var C=y,T=function(bt){Object(n.a)(Oe,bt);var ut=Object(i.a)(Oe);function Oe(be,Fe){var it;return Object(w.a)(this,Oe),it=ut.call(this,"fetch-stream-loader"),it.TAG="FetchStreamLoader",it._seekHandler=be,it._config=Fe,it._needStash=!0,it._requestAbort=!1,it._contentLength=null,it._receivedLength=0,it}return Object(A.a)(Oe,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(m.a)(Object(S.a)(Oe.prototype),"destroy",this).call(this)}},{key:"open",value:function(Fe,it){var wt=this;this._dataSource=Fe,this._range=it;var nr=Fe.url;this._config.reuseRedirectedURL&&Fe.redirectedURL!=null&&(nr=Fe.redirectedURL);var sr=this._seekHandler.getConfig(nr,it),Ar=new self.Headers;if(typeof sr.headers=="object"){var Hr=sr.headers;for(var $r in Hr)Hr.hasOwnProperty($r)&&Ar.append($r,Hr[$r])}var Qt={method:"GET",headers:Ar,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var Ot in this._config.headers)Ar.append(Ot,this._config.headers[Ot]);Fe.cors===!1&&(Qt.mode="same-origin"),Fe.withCredentials&&(Qt.credentials="include"),Fe.referrerPolicy&&(Qt.referrerPolicy=Fe.referrerPolicy),this._status=c.kConnecting,self.fetch(sr.url,Qt).then(function(Ft){if(wt._requestAbort){wt._requestAbort=!1,wt._status=c.kIdle;return}if(Ft.ok&&Ft.status>=200&&Ft.status<=299){if(Ft.url!==sr.url&&wt._onURLRedirect){var pr=wt._seekHandler.removeURLParameters(Ft.url);wt._onURLRedirect(pr)}var Rr=Ft.headers.get("Content-Length");return Rr!=null&&(wt._contentLength=parseInt(Rr),wt._contentLength!==0&&(wt._onContentLengthKnown&&wt._onContentLengthKnown(wt._contentLength))),wt._pump.call(wt,Ft.body.getReader())}else if(wt._status=c.kError,wt._onError)wt._onError(h.HTTP_STATUS_CODE_INVALID,{code:Ft.status,msg:Ft.statusText});else throw new r("FetchStreamLoader: Http code invalid, "+Ft.status+" "+Ft.statusText)}).catch(function(Ft){if(wt._status=c.kError,wt._onError)wt._onError(h.EXCEPTION,{code:-1,msg:Ft.message});else throw Ft})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Fe){var it=this;return Fe.read().then(function(wt){if(wt.done)if(it._contentLength!==null&&it._receivedLength<it._contentLength){it._status=c.kError;var nr=h.EARLY_EOF,sr={code:-1,msg:"Fetch stream meet Early-EOF"};if(it._onError)it._onError(nr,sr);else throw new r(sr.msg)}else it._status=c.kComplete,it._onComplete&&it._onComplete(it._range.from,it._range.from+it._receivedLength-1);else{if(it._requestAbort===!0)return it._requestAbort=!1,it._status=c.kComplete,Fe.cancel();it._status=c.kBuffering;var Ar=wt.value.buffer,Hr=it._range.from+it._receivedLength;it._receivedLength+=Ar.byteLength,it._onDataArrival&&it._onDataArrival(Ar,Hr,it._receivedLength),it._pump(Fe)}}).catch(function(wt){if(wt.code===11&&C.msedge)return;it._status=c.kError;var nr=0,sr=null;if((wt.code===19||wt.message==="network error")&&(it._contentLength===null||it._contentLength!==null&&it._receivedLength<it._contentLength)?(nr=h.EARLY_EOF,sr={code:wt.code,msg:"Fetch stream meet Early-EOF"}):(nr=h.EXCEPTION,sr={code:wt.code,msg:wt.message}),it._onError)it._onError(nr,sr);else throw new r(sr.msg)})}}],[{key:"isSupported",value:function(){try{var Fe=C.msedge&&C.version.minor>=15048,it=C.msedge?Fe:!0;return self.fetch&&self.ReadableStream&&it}catch(wt){return!1}}}]),Oe}(p),_=T,E=function(bt){Object(n.a)(Oe,bt);var ut=Object(i.a)(Oe);function Oe(be,Fe){var it;return Object(w.a)(this,Oe),it=ut.call(this,"xhr-moz-chunked-loader"),it.TAG="MozChunkedLoader",it._seekHandler=be,it._config=Fe,it._needStash=!0,it._xhr=null,it._requestAbort=!1,it._contentLength=null,it._receivedLength=0,it}return Object(A.a)(Oe,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),Object(m.a)(Object(S.a)(Oe.prototype),"destroy",this).call(this)}},{key:"open",value:function(Fe,it){this._dataSource=Fe,this._range=it;var wt=Fe.url;this._config.reuseRedirectedURL&&Fe.redirectedURL!=null&&(wt=Fe.redirectedURL);var nr=this._seekHandler.getConfig(wt,it);this._requestURL=nr.url;var sr=this._xhr=new XMLHttpRequest;if(sr.open("GET",nr.url,!0),sr.responseType="moz-chunked-arraybuffer",sr.onreadystatechange=this._onReadyStateChange.bind(this),sr.onprogress=this._onProgress.bind(this),sr.onloadend=this._onLoadEnd.bind(this),sr.onerror=this._onXhrError.bind(this),Fe.withCredentials&&(sr.withCredentials=!0),typeof nr.headers=="object"){var Ar=nr.headers;for(var Hr in Ar)Ar.hasOwnProperty(Hr)&&sr.setRequestHeader(Hr,Ar[Hr])}if(typeof this._config.headers=="object"){var $r=this._config.headers;for(var Qt in $r)$r.hasOwnProperty(Qt)&&sr.setRequestHeader(Qt,$r[Qt])}this._status=c.kConnecting,sr.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=c.kComplete}},{key:"_onReadyStateChange",value:function(Fe){var it=Fe.target;if(it.readyState===2){if(it.responseURL!=null&&it.responseURL!==this._requestURL&&this._onURLRedirect){var wt=this._seekHandler.removeURLParameters(it.responseURL);this._onURLRedirect(wt)}if(it.status!==0&&(it.status<200||it.status>299))if(this._status=c.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:it.status,msg:it.statusText});else throw new r("MozChunkedLoader: Http code invalid, "+it.status+" "+it.statusText);else this._status=c.kBuffering}}},{key:"_onProgress",value:function(Fe){if(this._status===c.kError)return;this._contentLength===null&&(Fe.total!==null&&Fe.total!==0&&(this._contentLength=Fe.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var it=Fe.target.response,wt=this._range.from+this._receivedLength;this._receivedLength+=it.byteLength,this._onDataArrival&&this._onDataArrival(it,wt,this._receivedLength)}},{key:"_onLoadEnd",value:function(Fe){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===c.kError)return;this._status=c.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(Fe){this._status=c.kError;var it=0,wt=null;if(this._contentLength&&Fe.loaded<this._contentLength?(it=h.EARLY_EOF,wt={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(it=h.EXCEPTION,wt={code:-1,msg:Fe.constructor.name+" "+Fe.type}),this._onError)this._onError(it,wt);else throw new r(wt.msg)}}],[{key:"isSupported",value:function(){try{var Fe=new XMLHttpRequest;return Fe.open("GET","https://example.com",!0),Fe.responseType="moz-chunked-arraybuffer",Fe.responseType==="moz-chunked-arraybuffer"}catch(it){return u.w("MozChunkedLoader",it.message),!1}}}]),Oe}(p),I=E,L=function(bt){Object(n.a)(Oe,bt);var ut=Object(i.a)(Oe);function Oe(be,Fe){var it;return Object(w.a)(this,Oe),it=ut.call(this,"xhr-msstream-loader"),it.TAG="MSStreamLoader",it._seekHandler=be,it._config=Fe,it._needStash=!0,it._xhr=null,it._reader=null,it._totalRange=null,it._currentRange=null,it._currentRequestURL=null,it._currentRedirectedURL=null,it._contentLength=null,it._receivedLength=0,it._bufferLimit=16*1024*1024,it._lastTimeBufferSize=0,it._isReconnecting=!1,it}return Object(A.a)(Oe,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),Object(m.a)(Object(S.a)(Oe.prototype),"destroy",this).call(this)}},{key:"open",value:function(Fe,it){this._internalOpen(Fe,it,!1)}},{key:"_internalOpen",value:function(Fe,it,wt){this._dataSource=Fe,wt?this._currentRange=it:this._totalRange=it;var nr=Fe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?nr=this._currentRedirectedURL:Fe.redirectedURL!=null&&(nr=Fe.redirectedURL));var sr=this._seekHandler.getConfig(nr,it);this._currentRequestURL=sr.url;var Ar=this._reader=new self.MSStreamReader;Ar.onprogress=this._msrOnProgress.bind(this),Ar.onload=this._msrOnLoad.bind(this),Ar.onerror=this._msrOnError.bind(this);var Hr=this._xhr=new XMLHttpRequest;if(Hr.open("GET",sr.url,!0),Hr.responseType="ms-stream",Hr.onreadystatechange=this._xhrOnReadyStateChange.bind(this),Hr.onerror=this._xhrOnError.bind(this),Fe.withCredentials&&(Hr.withCredentials=!0),typeof sr.headers=="object"){var $r=sr.headers;for(var Qt in $r)$r.hasOwnProperty(Qt)&&Hr.setRequestHeader(Qt,$r[Qt])}if(typeof this._config.headers=="object"){var Ot=this._config.headers;for(var Ft in Ot)Ot.hasOwnProperty(Ft)&&Hr.setRequestHeader(Ft,Ot[Ft])}this._isReconnecting?this._isReconnecting=!1:this._status=c.kConnecting,Hr.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=c.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(Fe){var it=Fe.target;if(it.readyState===2)if(it.status>=200&&it.status<=299){if(this._status=c.kBuffering,it.responseURL!=null){var wt=this._seekHandler.removeURLParameters(it.responseURL);it.responseURL!==this._currentRequestURL&&wt!==this._currentRedirectedURL&&(this._currentRedirectedURL=wt,this._onURLRedirect&&this._onURLRedirect(wt))}var nr=it.getResponseHeader("Content-Length");if(nr!=null&&this._contentLength==null){var sr=parseInt(nr);sr>0&&(this._contentLength=sr,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=c.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:it.status,msg:it.statusText});else throw new r("MSStreamLoader: Http code invalid, "+it.status+" "+it.statusText);else if(it.readyState===3&&(it.status>=200&&it.status<=299)){this._status=c.kBuffering;var Ar=it.response;this._reader.readAsArrayBuffer(Ar)}}},{key:"_xhrOnError",value:function(Fe){this._status=c.kError;var it=h.EXCEPTION,wt={code:-1,msg:Fe.constructor.name+" "+Fe.type};if(this._onError)this._onError(it,wt);else throw new r(wt.msg)}},{key:"_msrOnProgress",value:function(Fe){var it=Fe.target,wt=it.result;if(wt==null){this._doReconnectIfNeeded();return}var nr=wt.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=wt.byteLength;var sr=this._totalRange.from+this._receivedLength;this._receivedLength+=nr.byteLength,this._onDataArrival&&this._onDataArrival(nr,sr,this._receivedLength),wt.byteLength>=this._bufferLimit&&(u.v(this.TAG,"MSStream buffer exceeded max size near ".concat(sr+nr.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 Fe={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Fe,!0)}}},{key:"_msrOnLoad",value:function(Fe){this._status=c.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Fe){this._status=c.kError;var it=0,wt=null;if(this._contentLength&&this._receivedLength<this._contentLength?(it=h.EARLY_EOF,wt={code:-1,msg:"MSStream meet Early-Eof"}):(it=h.EARLY_EOF,wt={code:-1,msg:Fe.constructor.name+" "+Fe.type}),this._onError)this._onError(it,wt);else throw new r(wt.msg)}}],[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Fe=new XMLHttpRequest;return Fe.open("GET","https://example.com",!0),Fe.responseType="ms-stream",Fe.responseType==="ms-stream"}catch(it){return u.w("MSStreamLoader",it.message),!1}}}]),Oe}(p),D=L,F=function(bt){Object(n.a)(Oe,bt);var ut=Object(i.a)(Oe);function Oe(be,Fe){var it;return Object(w.a)(this,Oe),it=ut.call(this,"xhr-range-loader"),it.TAG="RangeLoader",it._seekHandler=be,it._config=Fe,it._needStash=!1,it._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],it._currentChunkSizeKB=384,it._currentSpeedNormalized=0,it._zeroSpeedChunkCount=0,it._xhr=null,it._speedSampler=new e,it._requestAbort=!1,it._waitForTotalLength=!1,it._totalLengthReceived=!1,it._currentRequestURL=null,it._currentRedirectedURL=null,it._currentRequestRange=null,it._totalLength=null,it._contentLength=null,it._receivedLength=0,it._lastTimeLoaded=0,it}return Object(A.a)(Oe,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),Object(m.a)(Object(S.a)(Oe.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(Fe,it){this._dataSource=Fe,this._range=it,this._status=c.kConnecting;var wt=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(wt=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!wt?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Fe=this._currentChunkSizeKB*1024,it=this._range.from+this._receivedLength,wt=it+Fe;this._contentLength!=null&&(wt-this._range.from>=this._contentLength&&(wt=this._range.from+this._contentLength-1)),this._currentRequestRange={from:it,to:wt},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Fe,it){this._lastTimeLoaded=0;var wt=Fe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?wt=this._currentRedirectedURL:Fe.redirectedURL!=null&&(wt=Fe.redirectedURL));var nr=this._seekHandler.getConfig(wt,it);this._currentRequestURL=nr.url;var sr=this._xhr=new XMLHttpRequest;if(sr.open("GET",nr.url,!0),sr.responseType="arraybuffer",sr.onreadystatechange=this._onReadyStateChange.bind(this),sr.onprogress=this._onProgress.bind(this),sr.onload=this._onLoad.bind(this),sr.onerror=this._onXhrError.bind(this),Fe.withCredentials&&(sr.withCredentials=!0),typeof nr.headers=="object"){var Ar=nr.headers;for(var Hr in Ar)Ar.hasOwnProperty(Hr)&&sr.setRequestHeader(Hr,Ar[Hr])}if(typeof this._config.headers=="object"){var $r=this._config.headers;for(var Qt in $r)$r.hasOwnProperty(Qt)&&sr.setRequestHeader(Qt,$r[Qt])}sr.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=c.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(Fe){var it=Fe.target;if(it.readyState===2){if(it.responseURL!=null){var wt=this._seekHandler.removeURLParameters(it.responseURL);it.responseURL!==this._currentRequestURL&&wt!==this._currentRedirectedURL&&(this._currentRedirectedURL=wt,this._onURLRedirect&&this._onURLRedirect(wt))}if(it.status>=200&&it.status<=299){if(this._waitForTotalLength)return;this._status=c.kBuffering}else if(this._status=c.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:it.status,msg:it.statusText});else throw new r("RangeLoader: Http code invalid, "+it.status+" "+it.statusText)}}},{key:"_onProgress",value:function(Fe){if(this._status===c.kError)return;if(this._contentLength===null){var it=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,it=!0;var wt=Fe.total;this._internalAbort(),wt!=null&wt!==0&&(this._totalLength=wt)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,it){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var nr=Fe.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Fe.loaded,this._speedSampler.addBytes(nr)}},{key:"_normalizeSpeed",value:function(Fe){var it=this._chunkSizeKBList,wt=it.length-1,nr=0,sr=0,Ar=wt;if(Fe<it[0])return it[0];for(;sr<=Ar;){if(nr=sr+Math.floor((Ar-sr)/2),nr===wt||Fe>=it[nr]&&Fe<it[nr+1])return it[nr];it[nr]<Fe?sr=nr+1:Ar=nr-1}}},{key:"_onLoad",value:function(Fe){if(this._status===c.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var it=this._speedSampler.lastSecondKBps;if(it===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(it=this._speedSampler.currentKBps)),it!==0){var wt=this._normalizeSpeed(it);this._currentSpeedNormalized!==wt&&(this._currentSpeedNormalized=wt,this._currentChunkSizeKB=wt)}var nr=Fe.target.response,sr=this._range.from+this._receivedLength;this._receivedLength+=nr.byteLength;var Ar=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Ar=!0,this._onDataArrival&&this._onDataArrival(nr,sr,this._receivedLength),Ar&&(this._status=c.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Fe){this._status=c.kError;var it=0,wt=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(it=h.EARLY_EOF,wt={code:-1,msg:"RangeLoader meet Early-Eof"}):(it=h.EXCEPTION,wt={code:-1,msg:Fe.constructor.name+" "+Fe.type}),this._onError)this._onError(it,wt);else throw new r(wt.msg)}}],[{key:"isSupported",value:function(){try{var Fe=new XMLHttpRequest;return Fe.open("GET","https://example.com",!0),Fe.responseType="arraybuffer",Fe.responseType==="arraybuffer"}catch(it){return u.w("RangeLoader",it.message),!1}}}]),Oe}(p),N=F,P=function(bt){Object(n.a)(Oe,bt);var ut=Object(i.a)(Oe);function Oe(){var be;return Object(w.a)(this,Oe),be=ut.call(this,"websocket-loader"),be.TAG="WebSocketLoader",be._needStash=!0,be._ws=null,be._requestAbort=!1,be._receivedLength=0,be}return Object(A.a)(Oe,[{key:"destroy",value:function(){this._ws&&this.abort(),Object(m.a)(Object(S.a)(Oe.prototype),"destroy",this).call(this)}},{key:"open",value:function(Fe){try{var it=this._ws=new self.WebSocket(Fe.url);it.binaryType="arraybuffer",it.onopen=this._onWebSocketOpen.bind(this),it.onclose=this._onWebSocketClose.bind(this),it.onmessage=this._onWebSocketMessage.bind(this),it.onerror=this._onWebSocketError.bind(this),this._status=c.kConnecting}catch(nr){this._status=c.kError;var wt={code:nr.code,msg:nr.message};if(this._onError)this._onError(h.EXCEPTION,wt);else throw new r(wt.msg)}}},{key:"abort",value:function(){var Fe=this._ws;Fe&&(Fe.readyState===0||Fe.readyState===1)&&(this._requestAbort=!0,Fe.close()),this._ws=null,this._status=c.kComplete}},{key:"_onWebSocketOpen",value:function(Fe){this._status=c.kBuffering}},{key:"_onWebSocketClose",value:function(Fe){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=c.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Fe){var it=this;if(Fe.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Fe.data);else if(Fe.data instanceof Blob){var wt=new FileReader;wt.onload=function(){it._dispatchArrayBuffer(wt.result)},wt.readAsArrayBuffer(Fe.data)}else{this._status=c.kError;var nr={code:-1,msg:"Unsupported WebSocket message type: "+Fe.data.constructor.name};if(this._onError)this._onError(h.EXCEPTION,nr);else throw new r(nr.msg)}}},{key:"_dispatchArrayBuffer",value:function(Fe){var it=Fe,wt=this._receivedLength;this._receivedLength+=it.byteLength,this._onDataArrival&&this._onDataArrival(it,wt,this._receivedLength)}},{key:"_onWebSocketError",value:function(Fe){this._status=c.kError;var it={code:Fe.code,msg:Fe.message};if(this._onError)this._onError(h.EXCEPTION,it);else throw new r(it.msg)}}],[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Fe){return!1}}}]),Oe}(p),W=P,R=function(){function bt(ut){Object(w.a)(this,bt),this._zeroStart=ut||!1}return Object(A.a)(bt,[{key:"getConfig",value:function(Oe,be){var Fe={};if(be.from!==0||be.to!==-1){var it;be.to!==-1?it="bytes=".concat(be.from.toString(),"-").concat(be.to.toString()):it="bytes=".concat(be.from.toString(),"-"),Fe.Range=it}else this._zeroStart&&(Fe.Range="bytes=0-");return{url:Oe,headers:Fe}}},{key:"removeURLParameters",value:function(Oe){return Oe}}]),bt}(),j=R,H=function(){function bt(ut,Oe){Object(w.a)(this,bt),this._startName=ut,this._endName=Oe}return Object(A.a)(bt,[{key:"getConfig",value:function(Oe,be){var Fe=Oe;if(be.from!==0||be.to!==-1){var it=!0;Fe.indexOf("?")===-1&&(Fe+="?",it=!1),it&&(Fe+="&"),Fe+="".concat(this._startName,"=").concat(be.from.toString()),be.to!==-1&&(Fe+="&".concat(this._endName,"=").concat(be.to.toString()))}return{url:Fe,headers:{}}}},{key:"removeURLParameters",value:function(Oe){var be=Oe.split("?")[0],Fe=void 0,it=Oe.indexOf("?");it!==-1&&(Fe=Oe.substring(it+1));var wt="";if(Fe!=null&&Fe.length>0)for(var nr=Fe.split("&"),sr=0;sr<nr.length;sr++){var Ar=nr[sr].split("="),Hr=sr>0;Ar[0]!==this._startName&&Ar[0]!==this._endName&&(Hr&&(wt+="&"),wt+=nr[sr])}return wt.length===0?be:be+"?"+wt}}]),bt}(),K=H,U=function(){function bt(ut,Oe,be){Object(w.a)(this,bt),this.TAG="IOController",this._config=Oe,this._extraData=be,this._stashInitialSize=1024*384,Oe.stashInitialSize!=null&&Oe.stashInitialSize>0&&(this._stashInitialSize=Oe.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,Oe.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=ut,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(ut.url),this._refTotalLength=ut.filesize?ut.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new e,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(A.a)(bt,[{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(Oe){this._extraData=Oe}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Oe){this._onDataArrival=Oe}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(Oe){this._onSeeked=Oe}},{key:"onError",get:function(){return this._onError},set:function(Oe){this._onError=Oe}},{key:"onComplete",get:function(){return this._onComplete},set:function(Oe){this._onComplete=Oe}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(Oe){this._onRedirect=Oe}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(Oe){this._onRecoveredEarlyEof=Oe}},{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===N?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var Oe=this._config;if(Oe.seekType==="range")this._seekHandler=new j(this._config.rangeLoadZeroStart);else if(Oe.seekType==="param"){var be=Oe.seekParamStart||"bstart",Fe=Oe.seekParamEnd||"bend";this._seekHandler=new K(be,Fe)}else if(Oe.seekType==="custom"){if(typeof Oe.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new Oe.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(Oe.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=W;else if(_.isSupported())this._loaderClass=_;else if(I.isSupported())this._loaderClass=I;else if(N.isSupported())this._loaderClass=N;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(Oe){this._currentRange={from:0,to:-1},Oe&&(this._currentRange.from=Oe),this._speedSampler.reset(),Oe||(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 Oe=this._resumeFrom;this._resumeFrom=0,this._internalSeek(Oe,!0)}}},{key:"seek",value:function(Oe){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(Oe,!0)}},{key:"_internalSeek",value:function(Oe,be){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(be),this._loader.destroy(),this._loader=null;var Fe={from:Oe,to:-1};this._currentRange={from:Fe.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Fe),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(Oe){if(!Oe||typeof Oe!="string"||Oe.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=Oe}},{key:"_expandBuffer",value:function(Oe){for(var be=this._stashSize;be+1024*1024*1<Oe;)be*=2;if(be+=1024*1024*1,be===this._bufferSize)return;var Fe=new ArrayBuffer(be);if(this._stashUsed>0){var it=new Uint8Array(this._stashBuffer,0,this._stashUsed),wt=new Uint8Array(Fe,0,be);wt.set(it,0)}this._stashBuffer=Fe,this._bufferSize=be}},{key:"_normalizeSpeed",value:function(Oe){var be=this._speedNormalizeList,Fe=be.length-1,it=0,wt=0,nr=Fe;if(Oe<be[0])return be[0];for(;wt<=nr;){if(it=wt+Math.floor((nr-wt)/2),it===Fe||Oe>=be[it]&&Oe<be[it+1])return be[it];be[it]<Oe?wt=it+1:nr=it-1}}},{key:"_adjustStashSize",value:function(Oe){var be=0;this._config.isLive||Oe<512?be=Oe:Oe>=512&&Oe<=1024?be=Math.floor(Oe*1.5):be=Oe*2,be>8192&&(be=8192);var Fe=be*1024+1024*1024*1;this._bufferSize<Fe&&this._expandBuffer(Fe),this._stashSize=be*1024}},{key:"_dispatchChunks",value:function(Oe,be){return this._currentRange.to=be+Oe.byteLength-1,this._onDataArrival(Oe,be)}},{key:"_onURLRedirect",value:function(Oe){this._redirectedURL=Oe,this._onRedirect&&this._onRedirect(Oe)}},{key:"_onContentLengthKnown",value:function(Oe){Oe&&this._fullRequestFlag&&(this._totalLength=Oe,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(Oe,be,Fe){if(!this._onDataArrival)throw new s("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(Oe.byteLength);var it=this._speedSampler.lastSecondKBps;if(it!==0){var wt=this._normalizeSpeed(it);this._speedNormalized!==wt&&(this._speedNormalized=wt,this._adjustStashSize(wt))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=be),this._stashUsed+Oe.byteLength<=this._stashSize){var Ot=new Uint8Array(this._stashBuffer,0,this._stashSize);Ot.set(new Uint8Array(Oe),this._stashUsed),this._stashUsed+=Oe.byteLength}else{var Ft=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var pr=this._stashBuffer.slice(0,this._stashUsed),Rr=this._dispatchChunks(pr,this._stashByteStart);if(Rr<pr.byteLength){if(Rr>0){var Pr=new Uint8Array(pr,Rr);Ft.set(Pr,0),this._stashUsed=Pr.byteLength,this._stashByteStart+=Rr}}else this._stashUsed=0,this._stashByteStart+=Rr;this._stashUsed+Oe.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+Oe.byteLength),Ft=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Ft.set(new Uint8Array(Oe),this._stashUsed),this._stashUsed+=Oe.byteLength}else{var an=this._dispatchChunks(Oe,be);if(an<Oe.byteLength){var Xt=Oe.byteLength-an;Xt>this._bufferSize&&(this._expandBuffer(Xt),Ft=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Ft.set(new Uint8Array(Oe,an),0),this._stashUsed+=Xt,this._stashByteStart=be+an}}}else if(this._stashUsed===0){var nr=this._dispatchChunks(Oe,be);if(nr<Oe.byteLength){var sr=Oe.byteLength-nr;sr>this._bufferSize&&this._expandBuffer(sr);var Ar=new Uint8Array(this._stashBuffer,0,this._bufferSize);Ar.set(new Uint8Array(Oe,nr),0),this._stashUsed+=sr,this._stashByteStart=be+nr}}else{this._stashUsed+Oe.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+Oe.byteLength);var Hr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Hr.set(new Uint8Array(Oe),this._stashUsed),this._stashUsed+=Oe.byteLength;var $r=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if($r<this._stashUsed&&$r>0){var Qt=new Uint8Array(this._stashBuffer,$r);Hr.set(Qt,0)}this._stashUsed-=$r,this._stashByteStart+=$r}}},{key:"_flushStashBuffer",value:function(Oe){if(this._stashUsed>0){var be=this._stashBuffer.slice(0,this._stashUsed),Fe=this._dispatchChunks(be,this._stashByteStart),it=be.byteLength-Fe;if(Fe<be.byteLength)if(Oe)u.w(this.TAG,"".concat(it," bytes unconsumed data remain when flush buffer, dropped"));else{if(Fe>0){var wt=new Uint8Array(this._stashBuffer,0,this._bufferSize),nr=new Uint8Array(be,Fe);wt.set(nr,0),this._stashUsed=nr.byteLength,this._stashByteStart+=Fe}return 0}return this._stashUsed=0,this._stashByteStart=0,it}return 0}},{key:"_onLoaderComplete",value:function(Oe,be){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(Oe,be){u.e(this.TAG,"Loader error, code = ".concat(be.code,", msg = ").concat(be.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,Oe=h.UNRECOVERABLE_EARLY_EOF);switch(Oe){case h.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Fe=this._currentRange.to+1;Fe<this._totalLength&&(u.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Fe,!1));return}Oe=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(Oe,be);else throw new r("IOException: "+be.msg)}}]),bt}(),G=U,z={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 Y(){return Object.assign({},z)}var q=function(){function bt(){Object(w.a)(this,bt)}return Object(A.a)(bt,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var Oe=new G({},Y()),be=Oe.loaderType;return Oe.destroy(),be=="fetch-stream-loader"||be=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var Oe=new G({},Y()),be=Oe.loaderType;return Oe.destroy(),be}},{key:"supportNativeMediaPlayback",value:function(Oe){bt.videoElement==null&&(bt.videoElement=window.document.createElement("video"));var be=bt.videoElement.canPlayType(Oe);return be==="probably"||be=="maybe"}},{key:"getFeatureList",value:function(){var Oe={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return Oe.mseFlvPlayback=bt.supportMSEH264Playback(),Oe.networkStreamIO=bt.supportNetworkStreamIO(),Oe.networkLoaderName=bt.getNetworkLoaderTypeName(),Oe.mseLiveFlvPlayback=Oe.mseFlvPlayback&&Oe.networkStreamIO,Oe.nativeMP4H264Playback=bt.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),Oe.nativeWebmVP8Playback=bt.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),Oe.nativeWebmVP9Playback=bt.supportNativeMediaPlayback('video/webm; codecs="vp9"'),Oe}}]),bt}(),oe=q,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"},se=ie,he=function(){function bt(){Object(w.a)(this,bt)}return Object(A.a)(bt,null,[{key:"forceGlobalTag",get:function(){return u.FORCE_GLOBAL_TAG},set:function(Oe){u.FORCE_GLOBAL_TAG=Oe,bt._notifyChange()}},{key:"globalTag",get:function(){return u.GLOBAL_TAG},set:function(Oe){u.GLOBAL_TAG=Oe,bt._notifyChange()}},{key:"enableAll",get:function(){return u.ENABLE_VERBOSE&&u.ENABLE_DEBUG&&u.ENABLE_INFO&&u.ENABLE_WARN&&u.ENABLE_ERROR},set:function(Oe){u.ENABLE_VERBOSE=Oe,u.ENABLE_DEBUG=Oe,u.ENABLE_INFO=Oe,u.ENABLE_WARN=Oe,u.ENABLE_ERROR=Oe,bt._notifyChange()}},{key:"enableDebug",get:function(){return u.ENABLE_DEBUG},set:function(Oe){u.ENABLE_DEBUG=Oe,bt._notifyChange()}},{key:"enableVerbose",get:function(){return u.ENABLE_VERBOSE},set:function(Oe){u.ENABLE_VERBOSE=Oe,bt._notifyChange()}},{key:"enableInfo",get:function(){return u.ENABLE_INFO},set:function(Oe){u.ENABLE_INFO=Oe,bt._notifyChange()}},{key:"enableWarn",get:function(){return u.ENABLE_WARN},set:function(Oe){u.ENABLE_WARN=Oe,bt._notifyChange()}},{key:"enableError",get:function(){return u.ENABLE_ERROR},set:function(Oe){u.ENABLE_ERROR=Oe,bt._notifyChange()}},{key:"getConfig",value:function(){return{globalTag:u.GLOBAL_TAG,forceGlobalTag:u.FORCE_GLOBAL_TAG,enableVerbose:u.ENABLE_VERBOSE,enableDebug:u.ENABLE_DEBUG,enableInfo:u.ENABLE_INFO,enableWarn:u.ENABLE_WARN,enableError:u.ENABLE_ERROR,enableCallback:u.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(Oe){u.GLOBAL_TAG=Oe.globalTag,u.FORCE_GLOBAL_TAG=Oe.forceGlobalTag,u.ENABLE_VERBOSE=Oe.enableVerbose,u.ENABLE_DEBUG=Oe.enableDebug,u.ENABLE_INFO=Oe.enableInfo,u.ENABLE_WARN=Oe.enableWarn,u.ENABLE_ERROR=Oe.enableError,u.ENABLE_CALLBACK=Oe.enableCallback}},{key:"_notifyChange",value:function(){var Oe=bt.emitter;if(Oe.listenerCount("change")>0){var be=bt.getConfig();Oe.emit("change",be)}}},{key:"registerListener",value:function(Oe){bt.emitter.addListener("change",Oe)}},{key:"removeListener",value:function(Oe){bt.emitter.removeListener("change",Oe)}},{key:"addLogListener",value:function(Oe){u.emitter.addListener("log",Oe),u.emitter.listenerCount("log")>0&&(u.ENABLE_CALLBACK=!0,bt._notifyChange())}},{key:"removeLogListener",value:function(Oe){u.emitter.removeListener("log",Oe),u.emitter.listenerCount("log")===0&&(u.ENABLE_CALLBACK=!1,bt._notifyChange())}}]),bt}();he.emitter=new f.a;var pe=he,_e=function(){function bt(){Object(w.a)(this,bt),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(A.a)(bt,[{key:"isComplete",value:function(){var Oe=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,be=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&&Oe&&be}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(Oe){if(this.keyframesIndex==null)return null;var be=this.keyframesIndex,Fe=this._search(be.times,Oe);return{index:Fe,milliseconds:be.times[Fe],fileposition:be.filepositions[Fe]}}},{key:"_search",value:function(Oe,be){var Fe=0,it=Oe.length-1,wt=0,nr=0,sr=it;for(be<Oe[0]&&(Fe=0,nr=sr+1);nr<=sr;)if(wt=nr+Math.floor((sr-nr)/2),wt===it||be>=Oe[wt]&&be<Oe[wt+1]){Fe=wt;break}else Oe[wt]<be?nr=wt+1:sr=wt-1;return Fe}}]),bt}(),De=_e;function Xe(bt,ut,Oe){var be=bt;if(ut+Oe<be.length){for(;Oe--;)if((be[++ut]&192)!==128)return!1;return!0}else return!1}function J(bt){for(var ut=[],Oe=bt,be=0,Fe=bt.length;be<Fe;){if(Oe[be]<128){ut.push(String.fromCharCode(Oe[be])),++be;continue}else if(!(Oe[be]<192)){if(Oe[be]<224){if(Xe(Oe,be,1)){var it=(Oe[be]&31)<<6|Oe[be+1]&63;if(it>=128){ut.push(String.fromCharCode(it&65535)),be+=2;continue}}}else if(Oe[be]<240){if(Xe(Oe,be,2)){var wt=(Oe[be]&15)<<12|(Oe[be+1]&63)<<6|Oe[be+2]&63;if(wt>=2048&&(wt&63488)!==55296){ut.push(String.fromCharCode(wt&65535)),be+=3;continue}}}else if(Oe[be]<248&&Xe(Oe,be,3)){var nr=(Oe[be]&7)<<18|(Oe[be+1]&63)<<12|(Oe[be+2]&63)<<6|Oe[be+3]&63;if(nr>65536&&nr<1114112){nr-=65536,ut.push(String.fromCharCode(nr>>>10|55296)),ut.push(String.fromCharCode(nr&1023|56320)),be+=4;continue}}}ut.push(String.fromCharCode(65533)),++be}return ut.join("")}var Ee=J,qe=function(){var bt=new ArrayBuffer(2);return new DataView(bt).setInt16(0,256,!0),new Int16Array(bt)[0]===256}(),ae=function(){function bt(){Object(w.a)(this,bt)}return Object(A.a)(bt,null,[{key:"parseScriptData",value:function(Oe,be,Fe){var it={};try{var wt=bt.parseValue(Oe,be,Fe),nr=bt.parseValue(Oe,be+wt.size,Fe-wt.size);it[wt.data]=nr.data}catch(sr){u.e("AMF",sr.toString())}return it}},{key:"parseObject",value:function(Oe,be,Fe){if(Fe<3)throw new s("Data not enough when parse ScriptDataObject");var it=bt.parseString(Oe,be,Fe),wt=bt.parseValue(Oe,be+it.size,Fe-it.size),nr=wt.objectEnd;return{data:{name:it.data,value:wt.data},size:it.size+wt.size,objectEnd:nr}}},{key:"parseVariable",value:function(Oe,be,Fe){return bt.parseObject(Oe,be,Fe)}},{key:"parseString",value:function(Oe,be,Fe){if(Fe<2)throw new s("Data not enough when parse String");var it=new DataView(Oe,be,Fe),wt=it.getUint16(0,!qe),nr;return wt>0?nr=Ee(new Uint8Array(Oe,be+2,wt)):nr="",{data:nr,size:2+wt}}},{key:"parseLongString",value:function(Oe,be,Fe){if(Fe<4)throw new s("Data not enough when parse LongString");var it=new DataView(Oe,be,Fe),wt=it.getUint32(0,!qe),nr;return wt>0?nr=Ee(new Uint8Array(Oe,be+4,wt)):nr="",{data:nr,size:4+wt}}},{key:"parseDate",value:function(Oe,be,Fe){if(Fe<10)throw new s("Data size invalid when parse Date");var it=new DataView(Oe,be,Fe),wt=it.getFloat64(0,!qe),nr=it.getInt16(8,!qe);return wt+=nr*60*1e3,{data:new Date(wt),size:8+2}}},{key:"parseValue",value:function(Oe,be,Fe){if(Fe<1)throw new s("Data not enough when parse Value");var it=new DataView(Oe,be,Fe),wt=1,nr=it.getUint8(0),sr,Ar=!1;try{switch(nr){case 0:sr=it.getFloat64(1,!qe),wt+=8;break;case 1:{var Hr=it.getUint8(1);sr=!!Hr,wt+=1;break}case 2:{var $r=bt.parseString(Oe,be+1,Fe-1);sr=$r.data,wt+=$r.size;break}case 3:{sr={};var Qt=0;for((it.getUint32(Fe-4,!qe)&16777215)===9&&(Qt=3);wt<Fe-4;){var Ot=bt.parseObject(Oe,be+wt,Fe-wt-Qt);if(Ot.objectEnd)break;sr[Ot.data.name]=Ot.data.value,wt+=Ot.size}if(wt<=Fe-3){var Ft=it.getUint32(wt-1,!qe)&16777215;Ft===9&&(wt+=3)}break}case 8:{sr={},wt+=4;var pr=0;for((it.getUint32(Fe-4,!qe)&16777215)===9&&(pr=3);wt<Fe-8;){var Rr=bt.parseVariable(Oe,be+wt,Fe-wt-pr);if(Rr.objectEnd)break;sr[Rr.data.name]=Rr.data.value,wt+=Rr.size}if(wt<=Fe-3){var Pr=it.getUint32(wt-1,!qe)&16777215;Pr===9&&(wt+=3)}break}case 9:sr=void 0,wt=1,Ar=!0;break;case 10:{sr=[];var an=it.getUint32(1,!qe);wt+=4;for(var Xt=0;Xt<an;Xt++){var hr=bt.parseValue(Oe,be+wt,Fe-wt);sr.push(hr.data),wt+=hr.size}break}case 11:{var Tr=bt.parseDate(Oe,be+1,Fe-1);sr=Tr.data,wt+=Tr.size;break}case 12:{var Wr=bt.parseString(Oe,be+1,Fe-1);sr=Wr.data,wt+=Wr.size;break}default:wt=Fe,u.w("AMF","Unsupported AMF value type "+nr)}}catch(Gr){u.e("AMF",Gr.toString())}return{data:sr,size:wt,objectEnd:Ar}}}]),bt}(),V=ae,X=function(){function bt(ut){Object(w.a)(this,bt),this.TAG="ExpGolomb",this._buffer=ut,this._buffer_index=0,this._total_bytes=ut.byteLength,this._total_bits=ut.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(A.a)(bt,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var Oe=this._total_bytes-this._buffer_index;if(Oe<=0)throw new s("ExpGolomb: _fillCurrentWord() but no bytes available");var be=Math.min(4,Oe),Fe=new Uint8Array(4);Fe.set(this._buffer.subarray(this._buffer_index,this._buffer_index+be)),this._current_word=new DataView(Fe.buffer).getUint32(0,!1),this._buffer_index+=be,this._current_word_bits_left=be*8}},{key:"readBits",value:function(Oe){if(Oe>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(Oe<=this._current_word_bits_left){var be=this._current_word>>>32-Oe;return this._current_word<<=Oe,this._current_word_bits_left-=Oe,be}var Fe=this._current_word_bits_left?this._current_word:0;Fe=Fe>>>32-this._current_word_bits_left;var it=Oe-this._current_word_bits_left;this._fillCurrentWord();var wt=Math.min(it,this._current_word_bits_left),nr=this._current_word>>>32-wt;return this._current_word<<=wt,this._current_word_bits_left-=wt,Fe=Fe<<wt|nr,Fe}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var Oe;for(Oe=0;Oe<this._current_word_bits_left;Oe++)if((this._current_word&2147483648>>>Oe)!==0)return this._current_word<<=Oe,this._current_word_bits_left-=Oe,Oe;return this._fillCurrentWord(),Oe+this._skipLeadingZero()}},{key:"readUEG",value:function(){var Oe=this._skipLeadingZero();return this.readBits(Oe+1)-1}},{key:"readSEG",value:function(){var Oe=this.readUEG();return Oe&1?Oe+1>>>1:-1*(Oe>>>1)}}]),bt}(),Z=X,ge=function(){function bt(){Object(w.a)(this,bt)}return Object(A.a)(bt,null,[{key:"_ebsp2rbsp",value:function(Oe){for(var be=Oe,Fe=be.byteLength,it=new Uint8Array(Fe),wt=0,nr=0;nr<Fe;nr++){if(nr>=2&&(be[nr]===3&&be[nr-1]===0&&be[nr-2]===0))continue;it[wt]=be[nr],wt++}return new Uint8Array(it.buffer,0,wt)}},{key:"parseSPS",value:function(Oe){var be=bt._ebsp2rbsp(Oe),Fe=new Z(be);Fe.readByte();var it=Fe.readByte();Fe.readByte();var wt=Fe.readByte();Fe.readUEG();var nr=bt.getProfileString(it),sr=bt.getLevelString(wt),Ar=1,Hr=420,$r=[0,420,422,444],Qt=8;if((it===100||it===110||it===122||it===244||it===44||it===83||it===86||it===118||it===128||it===138||it===144)&&(Ar=Fe.readUEG(),Ar===3&&Fe.readBits(1),Ar<=3&&(Hr=$r[Ar]),Qt=Fe.readUEG()+8,Fe.readUEG(),Fe.readBits(1),Fe.readBool()))for(var Ot=Ar!==3?8:12,Ft=0;Ft<Ot;Ft++)Fe.readBool()&&(Ft<6?bt._skipScalingList(Fe,16):bt._skipScalingList(Fe,64));Fe.readUEG();var pr=Fe.readUEG();if(pr===0)Fe.readUEG();else if(pr===1){Fe.readBits(1),Fe.readSEG(),Fe.readSEG();for(var Rr=Fe.readUEG(),Pr=0;Pr<Rr;Pr++)Fe.readSEG()}var an=Fe.readUEG();Fe.readBits(1);var Xt=Fe.readUEG(),hr=Fe.readUEG(),Tr=Fe.readBits(1);Tr===0&&Fe.readBits(1),Fe.readBits(1);var Wr=0,Gr=0,Tn=0,gn=0,In=Fe.readBool();In&&(Wr=Fe.readUEG(),Gr=Fe.readUEG(),Tn=Fe.readUEG(),gn=Fe.readUEG());var Fn=1,Xn=1,fi=0,pi=!0,bi=0,et=0,Le=Fe.readBool();if(Le){if(Fe.readBool()){var Pe=Fe.readByte(),je=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Je=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Pe>0&&Pe<16?(Fn=je[Pe-1],Xn=Je[Pe-1]):Pe===255&&(Fn=Fe.readByte()<<8|Fe.readByte(),Xn=Fe.readByte()<<8|Fe.readByte())}if(Fe.readBool()&&Fe.readBool(),Fe.readBool()&&(Fe.readBits(4),Fe.readBool()&&Fe.readBits(24)),Fe.readBool()&&(Fe.readUEG(),Fe.readUEG()),Fe.readBool()){var Ve=Fe.readBits(32),Ze=Fe.readBits(32);pi=Fe.readBool(),bi=Ze,et=Ve*2,fi=bi/et}}var At=1;(Fn!==1||Xn!==1)&&(At=Fn/Xn);var dt=0,Kt=0;if(Ar===0)dt=1,Kt=2-Tr;else{var $t=Ar===3?1:2,er=Ar===1?2:1;dt=$t,Kt=er*(2-Tr)}var cr=(Xt+1)*16,Ct=(2-Tr)*((hr+1)*16);cr-=(Wr+Gr)*dt,Ct-=(Tn+gn)*Kt;var Nr=Math.ceil(cr*At);return Fe.destroy(),Fe=null,{profile_string:nr,level_string:sr,bit_depth:Qt,ref_frames:an,chroma_format:Hr,chroma_format_string:bt.getChromaFormatString(Hr),frame_rate:{fixed:pi,fps:fi,fps_den:et,fps_num:bi},sar_ratio:{width:Fn,height:Xn},codec_size:{width:cr,height:Ct},present_size:{width:Nr,height:Ct}}}},{key:"_skipScalingList",value:function(Oe,be){for(var Fe=8,it=8,wt=0,nr=0;nr<be;nr++)it!==0&&(wt=Oe.readSEG(),it=(Fe+wt+256)%256),Fe=it===0?Fe:it}},{key:"getProfileString",value:function(Oe){switch(Oe){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(Oe){return(Oe/10).toFixed(1)}},{key:"getChromaFormatString",value:function(Oe){switch(Oe){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),bt}(),le=ge,Se={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},me=Se;function $(bt){return bt>>>8&255|(bt&255)<<8}function we(bt){return(bt&4278190080)>>>24|(bt&16711680)>>>8|(bt&65280)<<8|(bt&255)<<24}function xe(bt,ut){return bt[ut]<<24|bt[ut+1]<<16|bt[ut+2]<<8|bt[ut+3]}var We=function(){function bt(ut,Oe){Object(w.a)(this,bt),this.TAG="FLVDemuxer",this._config=Oe,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=ut.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=ut.hasAudioTrack,this._hasVideo=ut.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new De,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 be=new ArrayBuffer(2);return new DataView(be).setInt16(0,256,!0),new Int16Array(be)[0]===256}()}return Object(A.a)(bt,[{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(Oe){return Oe.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(Oe){this._onTrackMetadata=Oe}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(Oe){this._onMediaInfo=Oe}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(Oe){this._onMetaDataArrived=Oe}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(Oe){this._onScriptDataArrived=Oe}},{key:"onError",get:function(){return this._onError},set:function(Oe){this._onError=Oe}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(Oe){this._onDataAvailable=Oe}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(Oe){this._timestampBase=Oe}},{key:"overridedDuration",get:function(){return this._duration},set:function(Oe){this._durationOverrided=!0,this._duration=Oe,this._mediaInfo.duration=Oe}},{key:"overridedHasAudio",set:function(Oe){this._hasAudioFlagOverrided=!0,this._hasAudio=Oe,this._mediaInfo.hasAudio=Oe}},{key:"overridedHasVideo",set:function(Oe){this._hasVideoFlagOverrided=!0,this._hasVideo=Oe,this._mediaInfo.hasVideo=Oe}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new De}},{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(Oe,be){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new s("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Fe=0,it=this._littleEndian;if(be===0)if(Oe.byteLength>13){var wt=bt.probe(Oe);Fe=wt.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,be+Fe!==this._dataOffset&&u.w(this.TAG,"First time parsing but chunk byteStart invalid!");var nr=new DataView(Oe,Fe),sr=nr.getUint32(0,!it);sr!==0&&u.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Fe+=4}for(;Fe<Oe.byteLength;){this._dispatch=!0;var Ar=new DataView(Oe,Fe);if(Fe+11+4>Oe.byteLength)break;var Hr=Ar.getUint8(0),$r=Ar.getUint32(0,!it)&16777215;if(Fe+11+$r+4>Oe.byteLength)break;if(Hr!==8&&Hr!==9&&Hr!==18){u.w(this.TAG,"Unsupported tag type ".concat(Hr,", skipped")),Fe+=11+$r+4;continue}var Qt=Ar.getUint8(4),Ot=Ar.getUint8(5),Ft=Ar.getUint8(6),pr=Ar.getUint8(7),Rr=Ft|Ot<<8|Qt<<16|pr<<24,Pr=Ar.getUint32(7,!it)&16777215;Pr!==0&&u.w(this.TAG,"Meet tag which has StreamID != 0!");var an=Fe+11;switch(Hr){case 8:this._parseAudioData(Oe,an,$r,Rr);break;case 9:this._parseVideoData(Oe,an,$r,Rr,be+Fe);break;case 18:this._parseScriptData(Oe,an,$r);break}var Xt=Ar.getUint32(11+$r,!it);Xt!==11+$r&&u.w(this.TAG,"Invalid PrevTagSize ".concat(Xt)),Fe+=11+$r+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Fe}},{key:"_parseScriptData",value:function(Oe,be,Fe){var it=V.parseScriptData(Oe,be,Fe);if(it.hasOwnProperty("onMetaData")){if(it.onMetaData==null||typeof it.onMetaData!="object"){u.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&u.w(this.TAG,"Found another onMetaData tag!"),this._metadata=it;var wt=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},wt)),typeof wt.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=wt.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof wt.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=wt.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof wt.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=wt.audiodatarate),typeof wt.videodatarate=="number"&&(this._mediaInfo.videoDataRate=wt.videodatarate),typeof wt.width=="number"&&(this._mediaInfo.width=wt.width),typeof wt.height=="number"&&(this._mediaInfo.height=wt.height),typeof wt.duration=="number"){if(!this._durationOverrided){var nr=Math.floor(wt.duration*this._timescale);this._duration=nr,this._mediaInfo.duration=nr}}else this._mediaInfo.duration=0;if(typeof wt.framerate=="number"){var sr=Math.floor(wt.framerate*1e3);if(sr>0){var Ar=sr/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Ar,this._referenceFrameRate.fps_num=sr,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Ar}}if(typeof wt.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var Hr=wt.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Hr),wt.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=wt,u.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(it).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},it)))}},{key:"_parseKeyframesIndex",value:function(Oe){for(var be=[],Fe=[],it=1;it<Oe.times.length;it++){var wt=this._timestampBase+Math.floor(Oe.times[it]*1e3);be.push(wt),Fe.push(Oe.filepositions[it])}return{times:be,filepositions:Fe}}},{key:"_parseAudioData",value:function(Oe,be,Fe,it){if(Fe<=1){u.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var wt=this._littleEndian,nr=new DataView(Oe,be,Fe),sr=nr.getUint8(0),Ar=sr>>>4;if(Ar!==2&&Ar!==10){this._onError(me.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Ar);return}var Hr=0,$r=(sr&12)>>>2;if($r>=0&&$r<=4)Hr=this._flvSoundRateTable[$r];else{this._onError(me.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+$r);return}var Qt=(sr&2)>>>1,Ot=sr&1,Ft=this._audioMetadata,pr=this._audioTrack;if(Ft||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Ft=this._audioMetadata={},Ft.type="audio",Ft.id=pr.id,Ft.timescale=this._timescale,Ft.duration=this._duration,Ft.audioSampleRate=Hr,Ft.channelCount=Ot===0?1:2),Ar===10){var Rr=this._parseAACAudioData(Oe,be+1,Fe-1);if(Rr==null)return;if(Rr.packetType===0){Ft.config&&u.w(this.TAG,"Found another AudioSpecificConfig!");var Pr=Rr.data;Ft.audioSampleRate=Pr.samplingRate,Ft.channelCount=Pr.channelCount,Ft.codec=Pr.codec,Ft.originalCodec=Pr.originalCodec,Ft.config=Pr.config,Ft.refSampleDuration=1024/Ft.audioSampleRate*Ft.timescale,u.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",Ft);var an=this._mediaInfo;an.audioCodec=Ft.originalCodec,an.audioSampleRate=Ft.audioSampleRate,an.audioChannelCount=Ft.channelCount,an.hasVideo?an.videoCodec!=null&&(an.mimeType='video/x-flv; codecs="'+an.videoCodec+","+an.audioCodec+'"'):an.mimeType='video/x-flv; codecs="'+an.audioCodec+'"',an.isComplete()&&this._onMediaInfo(an)}else if(Rr.packetType===1){var Xt=this._timestampBase+it,hr={unit:Rr.data,length:Rr.data.byteLength,dts:Xt,pts:Xt};pr.samples.push(hr),pr.length+=Rr.data.length}else u.e(this.TAG,"Flv: Unsupported AAC data type ".concat(Rr.packetType))}else if(Ar===2){if(!Ft.codec){var Tr=this._parseMP3AudioData(Oe,be+1,Fe-1,!0);if(Tr==null)return;Ft.audioSampleRate=Tr.samplingRate,Ft.channelCount=Tr.channelCount,Ft.codec=Tr.codec,Ft.originalCodec=Tr.originalCodec,Ft.refSampleDuration=1152/Ft.audioSampleRate*Ft.timescale,u.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Ft);var Wr=this._mediaInfo;Wr.audioCodec=Ft.codec,Wr.audioSampleRate=Ft.audioSampleRate,Wr.audioChannelCount=Ft.channelCount,Wr.audioDataRate=Tr.bitRate,Wr.hasVideo?Wr.videoCodec!=null&&(Wr.mimeType='video/x-flv; codecs="'+Wr.videoCodec+","+Wr.audioCodec+'"'):Wr.mimeType='video/x-flv; codecs="'+Wr.audioCodec+'"',Wr.isComplete()&&this._onMediaInfo(Wr)}var Gr=this._parseMP3AudioData(Oe,be+1,Fe-1,!1);if(Gr==null)return;var Tn=this._timestampBase+it,gn={unit:Gr,length:Gr.byteLength,dts:Tn,pts:Tn};pr.samples.push(gn),pr.length+=Gr.length}}},{key:"_parseAACAudioData",value:function(Oe,be,Fe){if(Fe<=1){u.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var it={},wt=new Uint8Array(Oe,be,Fe);return it.packetType=wt[0],wt[0]===0?it.data=this._parseAACAudioSpecificConfig(Oe,be+1,Fe-1):it.data=wt.subarray(1),it}},{key:"_parseAACAudioSpecificConfig",value:function(Oe,be,Fe){var it=new Uint8Array(Oe,be,Fe),wt=null,nr=0,sr=0,Ar=null,Hr=0,$r=null;if(nr=sr=it[0]>>>3,Hr=(it[0]&7)<<1|it[1]>>>7,Hr<0||Hr>=this._mpegSamplingRates.length){this._onError(me.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Qt=this._mpegSamplingRates[Hr],Ot=(it[1]&120)>>>3;if(Ot<0||Ot>=8){this._onError(me.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}nr===5&&($r=(it[1]&7)<<1|it[2]>>>7,Ar=(it[2]&124)>>>2);var Ft=self.navigator.userAgent.toLowerCase();return Ft.indexOf("firefox")!==-1?Hr>=6?(nr=5,wt=new Array(4),$r=Hr-3):(nr=2,wt=new Array(2),$r=Hr):Ft.indexOf("android")!==-1?(nr=2,wt=new Array(2),$r=Hr):(nr=5,$r=Hr,wt=new Array(4),Hr>=6?$r=Hr-3:Ot===1&&(nr=2,wt=new Array(2),$r=Hr)),wt[0]=nr<<3,wt[0]|=(Hr&15)>>>1,wt[1]=(Hr&15)<<7,wt[1]|=(Ot&15)<<3,nr===5&&(wt[1]|=($r&15)>>>1,wt[2]=($r&1)<<7,wt[2]|=2<<2,wt[3]=0),{config:wt,samplingRate:Qt,channelCount:Ot,codec:"mp4a.40."+nr,originalCodec:"mp4a.40."+sr}}},{key:"_parseMP3AudioData",value:function(Oe,be,Fe,it){if(Fe<4){u.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var wt=this._littleEndian,nr=new Uint8Array(Oe,be,Fe),sr=null;if(it){if(nr[0]!==255)return;var Ar=nr[1]>>>3&3,Hr=(nr[1]&6)>>1,$r=(nr[2]&240)>>>4,Qt=(nr[2]&12)>>>2,Ot=nr[3]>>>6&3,Ft=Ot!==3?2:1,pr=0,Rr=0,Pr=34,an="mp3";switch(Ar){case 0:pr=this._mpegAudioV25SampleRateTable[Qt];break;case 2:pr=this._mpegAudioV20SampleRateTable[Qt];break;case 3:pr=this._mpegAudioV10SampleRateTable[Qt];break}switch(Hr){case 1:Pr=34,$r<this._mpegAudioL3BitRateTable.length&&(Rr=this._mpegAudioL3BitRateTable[$r]);break;case 2:Pr=33,$r<this._mpegAudioL2BitRateTable.length&&(Rr=this._mpegAudioL2BitRateTable[$r]);break;case 3:Pr=32,$r<this._mpegAudioL1BitRateTable.length&&(Rr=this._mpegAudioL1BitRateTable[$r]);break}sr={bitRate:Rr,samplingRate:pr,channelCount:Ft,codec:an,originalCodec:an}}else sr=nr;return sr}},{key:"_parseVideoData",value:function(Oe,be,Fe,it,wt){if(Fe<=1){u.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var nr=new Uint8Array(Oe,be,Fe)[0],sr=(nr&240)>>>4,Ar=nr&15;if(Ar!==7){this._onError(me.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Ar));return}this._parseAVCVideoPacket(Oe,be+1,Fe-1,it,wt,sr)}},{key:"_parseAVCVideoPacket",value:function(Oe,be,Fe,it,wt,nr){if(Fe<4){u.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var sr=this._littleEndian,Ar=new DataView(Oe,be,Fe),Hr=Ar.getUint8(0),$r=Ar.getUint32(0,!sr)&16777215,Qt=$r<<8>>8;if(Hr===0)this._parseAVCDecoderConfigurationRecord(Oe,be+4,Fe-4);else if(Hr===1)this._parseAVCVideoData(Oe,be+4,Fe-4,it,wt,nr,Qt);else if(!(Hr===2)){this._onError(me.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(Hr));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(Oe,be,Fe){if(Fe<7){u.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var it=this._videoMetadata,wt=this._videoTrack,nr=this._littleEndian,sr=new DataView(Oe,be,Fe);it?typeof it.avcc!="undefined"&&u.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),it=this._videoMetadata={},it.type="video",it.id=wt.id,it.timescale=this._timescale,it.duration=this._duration);var Ar=sr.getUint8(0),Hr=sr.getUint8(1),$r=sr.getUint8(2),Qt=sr.getUint8(3);if(Ar!==1||Hr===0){this._onError(me.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(sr.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(me.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Ot=sr.getUint8(5)&31;if(Ot===0){this._onError(me.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Ot>1&&u.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Ot));for(var Ft=6,pr=0;pr<Ot;pr++){var Rr=sr.getUint16(Ft,!nr);if(Ft+=2,Rr===0)continue;var Pr=new Uint8Array(Oe,be+Ft,Rr);Ft+=Rr;var an=le.parseSPS(Pr);if(pr!==0)continue;it.codecWidth=an.codec_size.width,it.codecHeight=an.codec_size.height,it.presentWidth=an.present_size.width,it.presentHeight=an.present_size.height,it.profile=an.profile_string,it.level=an.level_string,it.bitDepth=an.bit_depth,it.chromaFormat=an.chroma_format,it.sarRatio=an.sar_ratio,it.frameRate=an.frame_rate,(an.frame_rate.fixed===!1||an.frame_rate.fps_num===0||an.frame_rate.fps_den===0)&&(it.frameRate=this._referenceFrameRate);var Xt=it.frameRate.fps_den,hr=it.frameRate.fps_num;it.refSampleDuration=it.timescale*(Xt/hr);for(var Tr=Pr.subarray(1,4),Wr="avc1.",Gr=0;Gr<3;Gr++){var Tn=Tr[Gr].toString(16);Tn.length<2&&(Tn="0"+Tn),Wr+=Tn}it.codec=Wr;var gn=this._mediaInfo;gn.width=it.codecWidth,gn.height=it.codecHeight,gn.fps=it.frameRate.fps,gn.profile=it.profile,gn.level=it.level,gn.refFrames=an.ref_frames,gn.chromaFormat=an.chroma_format_string,gn.sarNum=it.sarRatio.width,gn.sarDen=it.sarRatio.height,gn.videoCodec=Wr,gn.hasAudio?gn.audioCodec!=null&&(gn.mimeType='video/x-flv; codecs="'+gn.videoCodec+","+gn.audioCodec+'"'):gn.mimeType='video/x-flv; codecs="'+gn.videoCodec+'"',gn.isComplete()&&this._onMediaInfo(gn)}var In=sr.getUint8(Ft);if(In===0){this._onError(me.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else In>1&&u.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(In));Ft++;for(var Fn=0;Fn<In;Fn++){var Xn=sr.getUint16(Ft,!nr);if(Ft+=2,Xn===0)continue;Ft+=Xn}it.avcc=new Uint8Array(Fe),it.avcc.set(new Uint8Array(Oe,be,Fe),0),u.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",it)}},{key:"_parseAVCVideoData",value:function(Oe,be,Fe,it,wt,nr,sr){for(var Ar=this._littleEndian,Hr=new DataView(Oe,be,Fe),$r=[],Qt=0,Ot=0,Ft=this._naluLengthSize,pr=this._timestampBase+it,Rr=nr===1;Ot<Fe;){if(Ot+4>=Fe){u.w(this.TAG,"Malformed Nalu near timestamp ".concat(pr,", offset = ").concat(Ot,", dataSize = ").concat(Fe));break}var Pr=Hr.getUint32(Ot,!Ar);if(Ft===3&&(Pr>>>=8),Pr>Fe-Ft){u.w(this.TAG,"Malformed Nalus near timestamp ".concat(pr,", NaluSize > DataSize!"));return}var an=Hr.getUint8(Ot+Ft)&31;an===5&&(Rr=!0);var Xt=new Uint8Array(Oe,be+Ot,Ft+Pr),hr={type:an,data:Xt};$r.push(hr),Qt+=Xt.byteLength,Ot+=Ft+Pr}if($r.length){var Tr=this._videoTrack,Wr={units:$r,length:Qt,isKeyframe:Rr,dts:pr,cts:sr,pts:pr+sr};Rr&&(Wr.fileposition=wt),Tr.samples.push(Wr),Tr.length+=Qt}}}],[{key:"probe",value:function(Oe){var be=new Uint8Array(Oe),Fe={match:!1};if(be[0]!==70||be[1]!==76||be[2]!==86||be[3]!==1)return Fe;var it=(be[4]&4)>>>2!==0,wt=(be[4]&1)!==0,nr=xe(be,5);return nr<9?Fe:{match:!0,consumed:nr,dataOffset:nr,hasAudioTrack:it,hasVideoTrack:wt}}}]),bt}(),st=We,nt=function(){function bt(){Object(w.a)(this,bt)}return Object(A.a)(bt,null,[{key:"init",value:function(){bt.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 Oe in bt.types)bt.types.hasOwnProperty(Oe)&&(bt.types[Oe]=[Oe.charCodeAt(0),Oe.charCodeAt(1),Oe.charCodeAt(2),Oe.charCodeAt(3)]);var be=bt.constants={};be.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),be.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),be.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),be.STSC=be.STCO=be.STTS,be.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),be.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]),be.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]),be.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),be.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),be.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(Oe){for(var be=8,Fe=null,it=Array.prototype.slice.call(arguments,1),wt=it.length,nr=0;nr<wt;nr++)be+=it[nr].byteLength;Fe=new Uint8Array(be),Fe[0]=be>>>24&255,Fe[1]=be>>>16&255,Fe[2]=be>>>8&255,Fe[3]=be&255,Fe.set(Oe,4);for(var sr=8,Ar=0;Ar<wt;Ar++)Fe.set(it[Ar],sr),sr+=it[Ar].byteLength;return Fe}},{key:"generateInitSegment",value:function(Oe){var be=bt.box(bt.types.ftyp,bt.constants.FTYP),Fe=bt.moov(Oe),it=new Uint8Array(be.byteLength+Fe.byteLength);return it.set(be,0),it.set(Fe,be.byteLength),it}},{key:"moov",value:function(Oe){var be=bt.mvhd(Oe.timescale,Oe.duration),Fe=bt.trak(Oe),it=bt.mvex(Oe);return bt.box(bt.types.moov,be,Fe,it)}},{key:"mvhd",value:function(Oe,be){return bt.box(bt.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255,be>>>24&255,be>>>16&255,be>>>8&255,be&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(Oe){return bt.box(bt.types.trak,bt.tkhd(Oe),bt.mdia(Oe))}},{key:"tkhd",value:function(Oe){var be=Oe.id,Fe=Oe.duration,it=Oe.presentWidth,wt=Oe.presentHeight;return bt.box(bt.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&255,0,0,0,0,Fe>>>24&255,Fe>>>16&255,Fe>>>8&255,Fe&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,it>>>8&255,it&255,0,0,wt>>>8&255,wt&255,0,0]))}},{key:"mdia",value:function(Oe){return bt.box(bt.types.mdia,bt.mdhd(Oe),bt.hdlr(Oe),bt.minf(Oe))}},{key:"mdhd",value:function(Oe){var be=Oe.timescale,Fe=Oe.duration;return bt.box(bt.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&255,Fe>>>24&255,Fe>>>16&255,Fe>>>8&255,Fe&255,85,196,0,0]))}},{key:"hdlr",value:function(Oe){var be=null;return Oe.type==="audio"?be=bt.constants.HDLR_AUDIO:be=bt.constants.HDLR_VIDEO,bt.box(bt.types.hdlr,be)}},{key:"minf",value:function(Oe){var be=null;return Oe.type==="audio"?be=bt.box(bt.types.smhd,bt.constants.SMHD):be=bt.box(bt.types.vmhd,bt.constants.VMHD),bt.box(bt.types.minf,be,bt.dinf(),bt.stbl(Oe))}},{key:"dinf",value:function(){var Oe=bt.box(bt.types.dinf,bt.box(bt.types.dref,bt.constants.DREF));return Oe}},{key:"stbl",value:function(Oe){var be=bt.box(bt.types.stbl,bt.stsd(Oe),bt.box(bt.types.stts,bt.constants.STTS),bt.box(bt.types.stsc,bt.constants.STSC),bt.box(bt.types.stsz,bt.constants.STSZ),bt.box(bt.types.stco,bt.constants.STCO));return be}},{key:"stsd",value:function(Oe){return Oe.type==="audio"?Oe.codec==="mp3"?bt.box(bt.types.stsd,bt.constants.STSD_PREFIX,bt.mp3(Oe)):bt.box(bt.types.stsd,bt.constants.STSD_PREFIX,bt.mp4a(Oe)):bt.box(bt.types.stsd,bt.constants.STSD_PREFIX,bt.avc1(Oe))}},{key:"mp3",value:function(Oe){var be=Oe.channelCount,Fe=Oe.audioSampleRate,it=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,be,0,16,0,0,0,0,Fe>>>8&255,Fe&255,0,0]);return bt.box(bt.types[".mp3"],it)}},{key:"mp4a",value:function(Oe){var be=Oe.channelCount,Fe=Oe.audioSampleRate,it=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,be,0,16,0,0,0,0,Fe>>>8&255,Fe&255,0,0]);return bt.box(bt.types.mp4a,it,bt.esds(Oe))}},{key:"esds",value:function(Oe){var be=Oe.config||[],Fe=be.length,it=new Uint8Array([0,0,0,0,3,23+Fe,0,1,0,4,15+Fe,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Fe]).concat(be).concat([6,1,2]));return bt.box(bt.types.esds,it)}},{key:"avc1",value:function(Oe){var be=Oe.avcc,Fe=Oe.codecWidth,it=Oe.codecHeight,wt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Fe>>>8&255,Fe&255,it>>>8&255,it&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 bt.box(bt.types.avc1,wt,bt.box(bt.types.avcC,be))}},{key:"mvex",value:function(Oe){return bt.box(bt.types.mvex,bt.trex(Oe))}},{key:"trex",value:function(Oe){var be=Oe.id,Fe=new Uint8Array([0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return bt.box(bt.types.trex,Fe)}},{key:"moof",value:function(Oe,be){return bt.box(bt.types.moof,bt.mfhd(Oe.sequenceNumber),bt.traf(Oe,be))}},{key:"mfhd",value:function(Oe){var be=new Uint8Array([0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255]);return bt.box(bt.types.mfhd,be)}},{key:"traf",value:function(Oe,be){var Fe=Oe.id,it=bt.box(bt.types.tfhd,new Uint8Array([0,0,0,0,Fe>>>24&255,Fe>>>16&255,Fe>>>8&255,Fe&255])),wt=bt.box(bt.types.tfdt,new Uint8Array([0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&255])),nr=bt.sdtp(Oe),sr=bt.trun(Oe,nr.byteLength+16+16+8+16+8+8);return bt.box(bt.types.traf,it,wt,sr,nr)}},{key:"sdtp",value:function(Oe){for(var be=Oe.samples||[],Fe=be.length,it=new Uint8Array(4+Fe),wt=0;wt<Fe;wt++){var nr=be[wt].flags;it[wt+4]=nr.isLeading<<6|nr.dependsOn<<4|nr.isDependedOn<<2|nr.hasRedundancy}return bt.box(bt.types.sdtp,it)}},{key:"trun",value:function(Oe,be){var Fe=Oe.samples||[],it=Fe.length,wt=12+16*it,nr=new Uint8Array(wt);be+=8+wt,nr.set([0,0,15,1,it>>>24&255,it>>>16&255,it>>>8&255,it&255,be>>>24&255,be>>>16&255,be>>>8&255,be&255],0);for(var sr=0;sr<it;sr++){var Ar=Fe[sr].duration,Hr=Fe[sr].size,$r=Fe[sr].flags,Qt=Fe[sr].cts;nr.set([Ar>>>24&255,Ar>>>16&255,Ar>>>8&255,Ar&255,Hr>>>24&255,Hr>>>16&255,Hr>>>8&255,Hr&255,$r.isLeading<<2|$r.dependsOn,$r.isDependedOn<<6|$r.hasRedundancy<<4|$r.isNonSync,0,0,Qt>>>24&255,Qt>>>16&255,Qt>>>8&255,Qt&255],12+16*sr)}return bt.box(bt.types.trun,nr)}},{key:"mdat",value:function(Oe){return bt.box(bt.types.mdat,Oe)}}]),bt}();nt.init();var Ne=nt,St=function(){function bt(){Object(w.a)(this,bt)}return Object(A.a)(bt,null,[{key:"getSilentFrame",value:function(Oe,be){if(Oe==="mp4a.40.2"){if(be===1)return new Uint8Array([0,200,0,128,35,128]);if(be===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(be===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(be===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(be===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(be===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(be===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(be===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(be===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}}]),bt}(),Ye=St,vt=function bt(ut,Oe,be,Fe,it){Object(w.a)(this,bt),this.dts=ut,this.pts=Oe,this.duration=be,this.originalDts=Fe,this.isSyncPoint=it,this.fileposition=null},It=function(){function bt(){Object(w.a)(this,bt),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(A.a)(bt,[{key:"appendSyncPoint",value:function(Oe){Oe.isSyncPoint=!0,this.syncPoints.push(Oe)}}]),bt}(),Ut=function(){function bt(){Object(w.a)(this,bt),this._list=[]}return Object(A.a)(bt,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(Oe){var be=this._list;if(Oe.length===0)return;be.length>0&&Oe[0].originalDts<be[be.length-1].originalDts&&this.clear(),Array.prototype.push.apply(be,Oe)}},{key:"getLastSyncPointBeforeDts",value:function(Oe){if(this._list.length==0)return null;var be=this._list,Fe=0,it=be.length-1,wt=0,nr=0,sr=it;for(Oe<be[0].dts&&(Fe=0,nr=sr+1);nr<=sr;)if(wt=nr+Math.floor((sr-nr)/2),wt===it||Oe>=be[wt].dts&&Oe<be[wt+1].dts){Fe=wt;break}else be[wt].dts<Oe?nr=wt+1:sr=wt-1;return this._list[Fe]}}]),bt}(),xt=function(){function bt(ut){Object(w.a)(this,bt),this._type=ut,this._list=[],this._lastAppendLocation=-1}return Object(A.a)(bt,[{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(Oe){var be=this._list;if(be.length===0)return-2;var Fe=be.length-1,it=0,wt=0,nr=Fe,sr=0;if(Oe<be[0].originalBeginDts)return sr=-1,sr;for(;wt<=nr;)if(it=wt+Math.floor((nr-wt)/2),it===Fe||Oe>be[it].lastSample.originalDts&&Oe<be[it+1].originalBeginDts){sr=it;break}else be[it].originalBeginDts<Oe?wt=it+1:nr=it-1;return sr}},{key:"_searchNearestSegmentAfter",value:function(Oe){return this._searchNearestSegmentBefore(Oe)+1}},{key:"append",value:function(Oe){var be=this._list,Fe=Oe,it=this._lastAppendLocation,wt=0;it!==-1&&it<be.length&&Fe.originalBeginDts>=be[it].lastSample.originalDts&&(it===be.length-1||it<be.length-1&&Fe.originalBeginDts<be[it+1].originalBeginDts)?wt=it+1:be.length>0&&(wt=this._searchNearestSegmentBefore(Fe.originalBeginDts)+1),this._lastAppendLocation=wt,this._list.splice(wt,0,Fe)}},{key:"getLastSegmentBefore",value:function(Oe){var be=this._searchNearestSegmentBefore(Oe);return be>=0?this._list[be]:null}},{key:"getLastSampleBefore",value:function(Oe){var be=this.getLastSegmentBefore(Oe);return be!=null?be.lastSample:null}},{key:"getLastSyncPointBefore",value:function(Oe){for(var be=this._searchNearestSegmentBefore(Oe),Fe=this._list[be].syncPoints;Fe.length===0&&be>0;)be--,Fe=this._list[be].syncPoints;return Fe.length>0?Fe[Fe.length-1]:null}}]),bt}(),Bt=function(){function bt(ut){Object(w.a)(this,bt),this.TAG="MP4Remuxer",this._config=ut,this._isLive=ut.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new xt("audio"),this._videoSegmentInfoList=new xt("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(C.chrome&&(C.version.major<50||C.version.major===50&&C.version.build<2661)),this._fillSilentAfterSeek=C.msedge||C.msie,this._mp3UseMpegAudio=!C.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(A.a)(bt,[{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(Oe){return Oe.onDataAvailable=this.remux.bind(this),Oe.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(Oe){this._onInitSegment=Oe}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(Oe){this._onMediaSegment=Oe}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(Oe){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(Oe,be){if(!this._onMediaSegment)throw new s("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(Oe,be),this._remuxVideo(be),this._remuxAudio(Oe)}},{key:"_onTrackMetadataReceived",value:function(Oe,be){var Fe=null,it="mp4",wt=be.codec;if(Oe==="audio")this._audioMeta=be,be.codec==="mp3"&&this._mp3UseMpegAudio?(it="mpeg",wt="",Fe=new Uint8Array):Fe=Ne.generateInitSegment(be);else if(Oe==="video")this._videoMeta=be,Fe=Ne.generateInitSegment(be);else return;if(!this._onInitSegment)throw new s("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(Oe,{type:Oe,data:Fe.buffer,codec:wt,container:"".concat(Oe,"/").concat(it),mediaDuration:be.duration})}},{key:"_calculateDtsBase",value:function(Oe,be){if(this._dtsBaseInited)return;Oe.samples&&Oe.samples.length&&(this._audioDtsBase=Oe.samples[0].dts),be.samples&&be.samples.length&&(this._videoDtsBase=be.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var Oe=this._videoStashedLastSample,be=this._audioStashedLastSample,Fe={type:"video",id:1,sequenceNumber:0,samples:[],length:0};Oe!=null&&(Fe.samples.push(Oe),Fe.length=Oe.length);var it={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};be!=null&&(it.samples.push(be),it.length=be.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Fe,!0),this._remuxAudio(it,!0)}},{key:"_remuxAudio",value:function(Oe,be){if(this._audioMeta==null)return;var Fe=Oe,it=Fe.samples,wt=void 0,nr=-1,sr=-1,Ar=-1,Hr=this._audioMeta.refSampleDuration,$r=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Qt=this._dtsBaseInited&&this._audioNextDts===void 0,Ot=!1;if(!it||it.length===0)return;if(it.length===1&&!be)return;var Ft=0,pr=null,Rr=0;$r?(Ft=0,Rr=Fe.length):(Ft=8,Rr=8+Fe.length);var Pr=null;if(it.length>1&&(Pr=it.pop(),Rr-=Pr.length),this._audioStashedLastSample!=null){var an=this._audioStashedLastSample;this._audioStashedLastSample=null,it.unshift(an),Rr+=an.length}Pr!=null&&(this._audioStashedLastSample=Pr);var Xt=it[0].dts-this._dtsBase;if(this._audioNextDts)wt=Xt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())wt=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Ot=!0));else{var hr=this._audioSegmentInfoList.getLastSampleBefore(Xt);if(hr!=null){var Tr=Xt-(hr.originalDts+hr.duration);Tr<=3&&(Tr=0);var Wr=hr.dts+hr.duration+Tr;wt=Xt-Wr}else wt=0}if(Ot){var Gr=Xt-wt,Tn=this._videoSegmentInfoList.getLastSegmentBefore(Xt);if(Tn!=null&&Tn.beginDts<Gr){var gn=Ye.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(gn){var In=Tn.beginDts,Fn=Gr-Tn.beginDts;u.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(In,", duration: ").concat(Fn)),it.unshift({unit:gn,dts:In,pts:In}),Rr+=gn.byteLength}}else Ot=!1}for(var Xn=[],fi=0;fi<it.length;fi++){var pi=it[fi],bi=pi.unit,et=pi.dts-this._dtsBase,Le=et-wt;nr===-1&&(nr=Le);var Pe=0;if(fi!==it.length-1){var je=it[fi+1].dts-this._dtsBase-wt;Pe=je-Le}else if(Pr!=null){var Je=Pr.dts-this._dtsBase-wt;Pe=Je-Le}else Xn.length>=1?Pe=Xn[Xn.length-1].duration:Pe=Math.floor(Hr);var Ve=!1,Ze=null;if(Pe>Hr*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!C.safari){Ve=!0;var At=Math.abs(Pe-Hr),dt=Math.ceil(At/Hr),Kt=Le+Hr;u.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
`+"dts: ".concat(Le+Pe," ms, expected: ").concat(Le+Math.round(Hr)," ms, ")+"delta: ".concat(Math.round(At)," ms, generate: ").concat(dt," frames"));var $t=Ye.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);$t==null&&(u.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),$t=bi),Ze=[];for(var er=0;er<dt;er++){var cr=Math.round(Kt);if(Ze.length>0){var Ct=Ze[Ze.length-1];Ct.duration=cr-Ct.dts}var Nr={dts:cr,pts:cr,cts:0,unit:$t,size:$t.byteLength,duration:0,originalDts:et,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};Ze.push(Nr),Rr+=Nr.size,Kt+=Hr}var Zt=Ze[Ze.length-1];Zt.duration=Le+Pe-Zt.dts,Pe=Math.round(Hr)}Xn.push({dts:Le,pts:Le,cts:0,unit:pi.unit,size:pi.unit.byteLength,duration:Pe,originalDts:et,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Ve&&Xn.push.apply(Xn,Ze)}$r?pr=new Uint8Array(Rr):(pr=new Uint8Array(Rr),pr[0]=Rr>>>24&255,pr[1]=Rr>>>16&255,pr[2]=Rr>>>8&255,pr[3]=Rr&255,pr.set(Ne.types.mdat,4));for(var Ir=0;Ir<Xn.length;Ir++){var xr=Xn[Ir].unit;pr.set(xr,Ft),Ft+=xr.byteLength}var ur=Xn[Xn.length-1];sr=ur.dts+ur.duration,this._audioNextDts=sr;var on=new It;on.beginDts=nr,on.endDts=sr,on.beginPts=nr,on.endPts=sr,on.originalBeginDts=Xn[0].originalDts,on.originalEndDts=ur.originalDts+ur.duration,on.firstSample=new vt(Xn[0].dts,Xn[0].pts,Xn[0].duration,Xn[0].originalDts,!1),on.lastSample=new vt(ur.dts,ur.pts,ur.duration,ur.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(on),Fe.samples=Xn,Fe.sequenceNumber++;var Yn=null;$r?Yn=new Uint8Array:Yn=Ne.moof(Fe,nr),Fe.samples=[],Fe.length=0;var Vn={type:"audio",data:this._mergeBoxes(Yn,pr).buffer,sampleCount:Xn.length,info:on};$r&&Qt&&(Vn.timestampOffset=nr),this._onMediaSegment("audio",Vn)}},{key:"_remuxVideo",value:function(Oe,be){if(this._videoMeta==null)return;var Fe=Oe,it=Fe.samples,wt=void 0,nr=-1,sr=-1,Ar=-1,Hr=-1;if(!it||it.length===0)return;if(it.length===1&&!be)return;var $r=8,Qt=null,Ot=8+Oe.length,Ft=null;if(it.length>1&&(Ft=it.pop(),Ot-=Ft.length),this._videoStashedLastSample!=null){var pr=this._videoStashedLastSample;this._videoStashedLastSample=null,it.unshift(pr),Ot+=pr.length}Ft!=null&&(this._videoStashedLastSample=Ft);var Rr=it[0].dts-this._dtsBase;if(this._videoNextDts)wt=Rr-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())wt=0;else{var Pr=this._videoSegmentInfoList.getLastSampleBefore(Rr);if(Pr!=null){var an=Rr-(Pr.originalDts+Pr.duration);an<=3&&(an=0);var Xt=Pr.dts+Pr.duration+an;wt=Rr-Xt}else wt=0}for(var hr=new It,Tr=[],Wr=0;Wr<it.length;Wr++){var Gr=it[Wr],Tn=Gr.dts-this._dtsBase,gn=Gr.isKeyframe,In=Tn-wt,Fn=Gr.cts,Xn=In+Fn;nr===-1&&(nr=In,Ar=Xn);var fi=0;if(Wr!==it.length-1){var pi=it[Wr+1].dts-this._dtsBase-wt;fi=pi-In}else if(Ft!=null){var bi=Ft.dts-this._dtsBase-wt;fi=bi-In}else Tr.length>=1?fi=Tr[Tr.length-1].duration:fi=Math.floor(this._videoMeta.refSampleDuration);if(gn){var et=new vt(In,Xn,fi,Gr.dts,!0);et.fileposition=Gr.fileposition,hr.appendSyncPoint(et)}Tr.push({dts:In,pts:Xn,cts:Fn,units:Gr.units,size:Gr.length,isKeyframe:gn,duration:fi,originalDts:Tn,flags:{isLeading:0,dependsOn:gn?2:1,isDependedOn:gn?1:0,hasRedundancy:0,isNonSync:gn?0:1}})}Qt=new Uint8Array(Ot),Qt[0]=Ot>>>24&255,Qt[1]=Ot>>>16&255,Qt[2]=Ot>>>8&255,Qt[3]=Ot&255,Qt.set(Ne.types.mdat,4);for(var Le=0;Le<Tr.length;Le++)for(var Pe=Tr[Le].units;Pe.length;){var je=Pe.shift(),Je=je.data;Qt.set(Je,$r),$r+=Je.byteLength}var Ve=Tr[Tr.length-1];if(sr=Ve.dts+Ve.duration,Hr=Ve.pts+Ve.duration,this._videoNextDts=sr,hr.beginDts=nr,hr.endDts=sr,hr.beginPts=Ar,hr.endPts=Hr,hr.originalBeginDts=Tr[0].originalDts,hr.originalEndDts=Ve.originalDts+Ve.duration,hr.firstSample=new vt(Tr[0].dts,Tr[0].pts,Tr[0].duration,Tr[0].originalDts,Tr[0].isKeyframe),hr.lastSample=new vt(Ve.dts,Ve.pts,Ve.duration,Ve.originalDts,Ve.isKeyframe),this._isLive||this._videoSegmentInfoList.append(hr),Fe.samples=Tr,Fe.sequenceNumber++,this._forceFirstIDR){var Ze=Tr[0].flags;Ze.dependsOn=2,Ze.isNonSync=0}var At=Ne.moof(Fe,nr);Fe.samples=[],Fe.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(At,Qt).buffer,sampleCount:Tr.length,info:hr})}},{key:"_mergeBoxes",value:function(Oe,be){var Fe=new Uint8Array(Oe.byteLength+be.byteLength);return Fe.set(Oe,0),Fe.set(be,Oe.byteLength),Fe}}]),bt}(),Qe=Bt,te={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"},Q=te,Me=function(){function bt(ut,Oe){Object(w.a)(this,bt),this.TAG="TransmuxingController",this._emitter=new f.a,this._config=Oe,ut.segments||(ut.segments=[{duration:ut.duration,filesize:ut.filesize,url:ut.url}]),typeof ut.cors!="boolean"&&(ut.cors=!0),typeof ut.withCredentials!="boolean"&&(ut.withCredentials=!1),this._mediaDataSource=ut,this._currentSegmentIndex=0;var be=0;this._mediaDataSource.segments.forEach(function(Fe){Fe.timestampBase=be,be+=Fe.duration,Fe.cors=ut.cors,Fe.withCredentials=ut.withCredentials,Oe.referrerPolicy&&(Fe.referrerPolicy=Oe.referrerPolicy)}),!isNaN(be)&&this._mediaDataSource.duration!==be&&(this._mediaDataSource.duration=be),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(A.a)(bt,[{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(Oe,be){this._emitter.addListener(Oe,be)}},{key:"off",value:function(Oe,be){this._emitter.removeListener(Oe,be)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(Oe,be){this._currentSegmentIndex=Oe;var Fe=this._mediaDataSource.segments[Oe],it=this._ioctl=new G(Fe,this._config,Oe);it.onError=this._onIOException.bind(this),it.onSeeked=this._onIOSeeked.bind(this),it.onComplete=this._onIOComplete.bind(this),it.onRedirect=this._onIORedirect.bind(this),it.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),be?this._demuxer.bindDataSource(this._ioctl):it.onDataArrival=this._onInitChunkArrival.bind(this),it.open(be)}},{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(Oe){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var be=this._searchSegmentIndexContains(Oe);if(be===this._currentSegmentIndex){var Fe=this._mediaInfo.segments[be];if(Fe==null)this._pendingSeekTime=Oe;else{var it=Fe.getNearestKeyframe(Oe);this._remuxer.seek(it.milliseconds),this._ioctl.seek(it.fileposition),this._pendingResolveSeekPoint=it.milliseconds}}else{var wt=this._mediaInfo.segments[be];if(wt==null)this._pendingSeekTime=Oe,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(be);else{var nr=wt.getNearestKeyframe(Oe);this._internalAbort(),this._remuxer.seek(Oe),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[be].timestampBase,this._loadSegment(be,nr.fileposition),this._pendingResolveSeekPoint=nr.milliseconds,this._reportSegmentMediaInfo(be)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(Oe){for(var be=this._mediaDataSource.segments,Fe=be.length-1,it=0;it<be.length;it++)if(Oe<be[it].timestampBase){Fe=it-1;break}return Fe}},{key:"_onInitChunkArrival",value:function(Oe,be){var Fe=this,it=null,wt=0;if(be>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,wt=this._demuxer.parseChunks(Oe,be);else if((it=st.probe(Oe)).match){this._demuxer=new st(it,this._config),this._remuxer||(this._remuxer=new Qe(this._config));var nr=this._mediaDataSource;nr.duration!=null&&!isNaN(nr.duration)&&(this._demuxer.overridedDuration=nr.duration),typeof nr.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=nr.hasAudio),typeof nr.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=nr.hasVideo),this._demuxer.timestampBase=nr.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),wt=this._demuxer.parseChunks(Oe,be)}else it=null,u.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Fe._internalAbort()}),this._emitter.emit(Q.DEMUX_ERROR,me.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),wt=0;return wt}},{key:"_onMediaInfo",value:function(Oe){var be=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},Oe),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,De.prototype));var Fe=Object.assign({},Oe);Object.setPrototypeOf(Fe,De.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Fe,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var it=be._pendingSeekTime;be._pendingSeekTime=null,be.seek(it)})}},{key:"_onMetaDataArrived",value:function(Oe){this._emitter.emit(Q.METADATA_ARRIVED,Oe)}},{key:"_onScriptDataArrived",value:function(Oe){this._emitter.emit(Q.SCRIPTDATA_ARRIVED,Oe)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(Oe){var be=Oe,Fe=be+1;Fe<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Fe)):(this._remuxer.flushStashedSamples(),this._emitter.emit(Q.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(Oe){var be=this._ioctl.extraData;this._mediaDataSource.segments[be].redirectedURL=Oe}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(Q.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(Oe,be){u.e(this.TAG,"IOException: type = ".concat(Oe,", code = ").concat(be.code,", msg = ").concat(be.msg)),this._emitter.emit(Q.IO_ERROR,Oe,be),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(Oe,be){u.e(this.TAG,"DemuxException: type = ".concat(Oe,", info = ").concat(be)),this._emitter.emit(Q.DEMUX_ERROR,Oe,be)}},{key:"_onRemuxerInitSegmentArrival",value:function(Oe,be){this._emitter.emit(Q.INIT_SEGMENT,Oe,be)}},{key:"_onRemuxerMediaSegmentArrival",value:function(Oe,be){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(Q.MEDIA_SEGMENT,Oe,be),this._pendingResolveSeekPoint!=null&&Oe==="video"){var Fe=be.info.syncPoints,it=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,C.safari&&Fe.length>0&&Fe[0].originalDts===it&&(it=Fe[0].pts),this._emitter.emit(Q.RECOMMEND_SEEKPOINT,it)}}},{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(Oe){var be=this._mediaInfo.segments[Oe],Fe=Object.assign({},be);Fe.duration=this._mediaInfo.duration,Fe.segmentCount=this._mediaInfo.segmentCount,delete Fe.segments,delete Fe.keyframesIndex,this._emitter.emit(Q.MEDIA_INFO,Fe)}},{key:"_reportStatisticsInfo",value:function(){var Oe={};Oe.url=this._ioctl.currentURL,Oe.hasRedirect=this._ioctl.hasRedirect,Oe.hasRedirect&&(Oe.redirectedURL=this._ioctl.currentRedirectedURL),Oe.speed=this._ioctl.currentSpeed,Oe.loaderType=this._ioctl.loaderType,Oe.currentSegmentIndex=this._currentSegmentIndex,Oe.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(Q.STATISTICS_INFO,Oe)}}]),bt}(),Ce=Me,ue=function(ut){var Oe="TransmuxingWorker",be=null,Fe=Rr.bind(this);g.install(),ut.addEventListener("message",function(Pr){switch(Pr.data.cmd){case"init":be=new Ce(Pr.data.param[0],Pr.data.param[1]),be.on(Q.IO_ERROR,Ot.bind(this)),be.on(Q.DEMUX_ERROR,Ft.bind(this)),be.on(Q.INIT_SEGMENT,it.bind(this)),be.on(Q.MEDIA_SEGMENT,wt.bind(this)),be.on(Q.LOADING_COMPLETE,nr.bind(this)),be.on(Q.RECOVERED_EARLY_EOF,sr.bind(this)),be.on(Q.MEDIA_INFO,Ar.bind(this)),be.on(Q.METADATA_ARRIVED,Hr.bind(this)),be.on(Q.SCRIPTDATA_ARRIVED,$r.bind(this)),be.on(Q.STATISTICS_INFO,Qt.bind(this)),be.on(Q.RECOMMEND_SEEKPOINT,pr.bind(this));break;case"destroy":be&&(be.destroy(),be=null),ut.postMessage({msg:"destroyed"});break;case"start":be.start();break;case"stop":be.stop();break;case"seek":be.seek(Pr.data.param);break;case"pause":be.pause();break;case"resume":be.resume();break;case"logging_config":{var an=Pr.data.param;pe.applyConfig(an),an.enableCallback===!0?pe.addLogListener(Fe):pe.removeLogListener(Fe);break}}});function it(Pr,an){var Xt={msg:Q.INIT_SEGMENT,data:{type:Pr,data:an}};ut.postMessage(Xt,[an.data])}function wt(Pr,an){var Xt={msg:Q.MEDIA_SEGMENT,data:{type:Pr,data:an}};ut.postMessage(Xt,[an.data])}function nr(){var Pr={msg:Q.LOADING_COMPLETE};ut.postMessage(Pr)}function sr(){var Pr={msg:Q.RECOVERED_EARLY_EOF};ut.postMessage(Pr)}function Ar(Pr){var an={msg:Q.MEDIA_INFO,data:Pr};ut.postMessage(an)}function Hr(Pr){var an={msg:Q.METADATA_ARRIVED,data:Pr};ut.postMessage(an)}function $r(Pr){var an={msg:Q.SCRIPTDATA_ARRIVED,data:Pr};ut.postMessage(an)}function Qt(Pr){var an={msg:Q.STATISTICS_INFO,data:Pr};ut.postMessage(an)}function Ot(Pr,an){ut.postMessage({msg:Q.IO_ERROR,data:{type:Pr,info:an}})}function Ft(Pr,an){ut.postMessage({msg:Q.DEMUX_ERROR,data:{type:Pr,info:an}})}function pr(Pr){ut.postMessage({msg:Q.RECOMMEND_SEEKPOINT,data:Pr})}function Rr(Pr,an){ut.postMessage({msg:"logcat_callback",data:{type:Pr,logcat:an}})}},ot=ue,rt=function(){function bt(ut,Oe){if(Object(w.a)(this,bt),this.TAG="Transmuxer",this._emitter=new f.a,Oe.enableWorker&&typeof Worker!="undefined")try{var be=d("0r65");this._worker=be(ot),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[ut,Oe]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},pe.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:pe.getConfig()})}catch(it){u.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Ce(ut,Oe)}else this._controller=new Ce(ut,Oe);if(this._controller){var Fe=this._controller;Fe.on(Q.IO_ERROR,this._onIOError.bind(this)),Fe.on(Q.DEMUX_ERROR,this._onDemuxError.bind(this)),Fe.on(Q.INIT_SEGMENT,this._onInitSegment.bind(this)),Fe.on(Q.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Fe.on(Q.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Fe.on(Q.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Fe.on(Q.MEDIA_INFO,this._onMediaInfo.bind(this)),Fe.on(Q.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Fe.on(Q.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Fe.on(Q.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Fe.on(Q.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(A.a)(bt,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),pe.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Oe,be){this._emitter.addListener(Oe,be)}},{key:"off",value:function(Oe,be){this._emitter.removeListener(Oe,be)}},{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(Oe){this._worker?this._worker.postMessage({cmd:"seek",param:Oe}):this._controller.seek(Oe)}},{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(Oe,be){var Fe=this;Promise.resolve().then(function(){Fe._emitter.emit(Q.INIT_SEGMENT,Oe,be)})}},{key:"_onMediaSegment",value:function(Oe,be){var Fe=this;Promise.resolve().then(function(){Fe._emitter.emit(Q.MEDIA_SEGMENT,Oe,be)})}},{key:"_onLoadingComplete",value:function(){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(Q.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(Q.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(Oe){var be=this;Promise.resolve().then(function(){be._emitter.emit(Q.MEDIA_INFO,Oe)})}},{key:"_onMetaDataArrived",value:function(Oe){var be=this;Promise.resolve().then(function(){be._emitter.emit(Q.METADATA_ARRIVED,Oe)})}},{key:"_onScriptDataArrived",value:function(Oe){var be=this;Promise.resolve().then(function(){be._emitter.emit(Q.SCRIPTDATA_ARRIVED,Oe)})}},{key:"_onStatisticsInfo",value:function(Oe){var be=this;Promise.resolve().then(function(){be._emitter.emit(Q.STATISTICS_INFO,Oe)})}},{key:"_onIOError",value:function(Oe,be){var Fe=this;Promise.resolve().then(function(){Fe._emitter.emit(Q.IO_ERROR,Oe,be)})}},{key:"_onDemuxError",value:function(Oe,be){var Fe=this;Promise.resolve().then(function(){Fe._emitter.emit(Q.DEMUX_ERROR,Oe,be)})}},{key:"_onRecommendSeekpoint",value:function(Oe){var be=this;Promise.resolve().then(function(){be._emitter.emit(Q.RECOMMEND_SEEKPOINT,Oe)})}},{key:"_onLoggingConfigChanged",value:function(Oe){this._worker&&this._worker.postMessage({cmd:"logging_config",param:Oe})}},{key:"_onWorkerMessage",value:function(Oe){var be=Oe.data,Fe=be.data;if(be.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(be.msg){case Q.INIT_SEGMENT:case Q.MEDIA_SEGMENT:this._emitter.emit(be.msg,Fe.type,Fe.data);break;case Q.LOADING_COMPLETE:case Q.RECOVERED_EARLY_EOF:this._emitter.emit(be.msg);break;case Q.MEDIA_INFO:Object.setPrototypeOf(Fe,De.prototype),this._emitter.emit(be.msg,Fe);break;case Q.METADATA_ARRIVED:case Q.SCRIPTDATA_ARRIVED:case Q.STATISTICS_INFO:this._emitter.emit(be.msg,Fe);break;case Q.IO_ERROR:case Q.DEMUX_ERROR:this._emitter.emit(be.msg,Fe.type,Fe.info);break;case Q.RECOMMEND_SEEKPOINT:this._emitter.emit(be.msg,Fe);break;case"logcat_callback":u.emitter.emit("log",Fe.type,Fe.logcat);break;default:break}}}]),bt}(),Ue=rt,Ge={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},tt=Ge,Wt=function(){function bt(ut){Object(w.a)(this,bt),this.TAG="MSEController",this._config=ut,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 Ut}return Object(A.a)(bt,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Oe,be){this._emitter.addListener(Oe,be)}},{key:"off",value:function(Oe,be){this._emitter.removeListener(Oe,be)}},{key:"attachMediaElement",value:function(Oe){if(this._mediaSource)throw new s("MediaSource has been attached to an HTMLMediaElement!");var be=this._mediaSource=new window.MediaSource;be.addEventListener("sourceopen",this.e.onSourceOpen),be.addEventListener("sourceended",this.e.onSourceEnded),be.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=Oe,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),Oe.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var Oe=this._mediaSource;for(var be in this._sourceBuffers){var Fe=this._pendingSegments[be];Fe.splice(0,Fe.length),this._pendingSegments[be]=null,this._pendingRemoveRanges[be]=null,this._lastInitSegments[be]=null;var it=this._sourceBuffers[be];if(it){if(Oe.readyState!=="closed"){try{Oe.removeSourceBuffer(it)}catch(wt){u.e(this.TAG,wt.message)}it.removeEventListener("error",this.e.onSourceBufferError),it.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[be]=null,this._sourceBuffers[be]=null}}if(Oe.readyState==="open")try{Oe.endOfStream()}catch(wt){u.e(this.TAG,wt.message)}Oe.removeEventListener("sourceopen",this.e.onSourceOpen),Oe.removeEventListener("sourceended",this.e.onSourceEnded),Oe.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(Oe,be){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(Oe),this._pendingSegments[Oe.type].push(Oe);return}var Fe=Oe,it="".concat(Fe.container);Fe.codec&&Fe.codec.length>0&&(it+=";codecs=".concat(Fe.codec));var wt=!1;if(u.v(this.TAG,"Received Initialization Segment, mimeType: "+it),this._lastInitSegments[Fe.type]=Fe,it!==this._mimeTypes[Fe.type]){if(this._mimeTypes[Fe.type])u.v(this.TAG,"Notice: ".concat(Fe.type," mimeType changed, origin: ").concat(this._mimeTypes[Fe.type],", target: ").concat(it));else{wt=!0;try{var nr=this._sourceBuffers[Fe.type]=this._mediaSource.addSourceBuffer(it);nr.addEventListener("error",this.e.onSourceBufferError),nr.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(sr){u.e(this.TAG,sr.message),this._emitter.emit(tt.ERROR,{code:sr.code,msg:sr.message});return}}this._mimeTypes[Fe.type]=it}be||this._pendingSegments[Fe.type].push(Fe),wt||this._sourceBuffers[Fe.type]&&!this._sourceBuffers[Fe.type].updating&&this._doAppendSegments(),C.safari&&Fe.container==="audio/mpeg"&&Fe.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Fe.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(Oe){var be=Oe;this._pendingSegments[be.type].push(be),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Fe=this._sourceBuffers[be.type];Fe&&!Fe.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(Oe){for(var be in this._sourceBuffers){if(!this._sourceBuffers[be])continue;var Fe=this._sourceBuffers[be];if(this._mediaSource.readyState==="open")try{Fe.abort()}catch(Hr){u.e(this.TAG,Hr.message)}this._idrList.clear();var it=this._pendingSegments[be];if(it.splice(0,it.length),this._mediaSource.readyState==="closed")continue;for(var wt=0;wt<Fe.buffered.length;wt++){var nr=Fe.buffered.start(wt),sr=Fe.buffered.end(wt);this._pendingRemoveRanges[be].push({start:nr,end:sr})}if(Fe.updating||this._doRemoveRanges(),C.safari){var Ar=this._lastInitSegments[be];Ar&&(this._pendingSegments[be].push(Ar),Fe.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var Oe=this._mediaSource,be=this._sourceBuffers;if(!Oe||Oe.readyState!=="open"){Oe&&Oe.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}be.video&&be.video.updating||be.audio&&be.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,Oe.endOfStream())}},{key:"getNearestKeyframe",value:function(Oe){return this._idrList.getLastSyncPointBeforeDts(Oe)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var Oe=this._mediaElement.currentTime;for(var be in this._sourceBuffers){var Fe=this._sourceBuffers[be];if(Fe){var it=Fe.buffered;if(it.length>=1&&Oe-it.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var Oe=this._mediaElement.currentTime;for(var be in this._sourceBuffers){var Fe=this._sourceBuffers[be];if(Fe){for(var it=Fe.buffered,wt=!1,nr=0;nr<it.length;nr++){var sr=it.start(nr),Ar=it.end(nr);if(sr<=Oe&&Oe<Ar+3){if(Oe-sr>=this._config.autoCleanupMaxBackwardDuration){wt=!0;var Hr=Oe-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[be].push({start:sr,end:Hr})}}else Ar<Oe&&(wt=!0,this._pendingRemoveRanges[be].push({start:sr,end:Ar}))}wt&&!Fe.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var Oe=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(Oe.video&&Oe.video.updating||Oe.audio&&Oe.audio.updating)return;var be=this._mediaSource.duration,Fe=this._pendingMediaDuration;Fe>0&&(isNaN(be)||Fe>be)&&(u.v(this.TAG,"Update MediaSource duration from ".concat(be," to ").concat(Fe)),this._mediaSource.duration=Fe),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var Oe in this._pendingRemoveRanges){if(!this._sourceBuffers[Oe]||this._sourceBuffers[Oe].updating)continue;for(var be=this._sourceBuffers[Oe],Fe=this._pendingRemoveRanges[Oe];Fe.length&&!be.updating;){var it=Fe.shift();be.remove(it.start,it.end)}}}},{key:"_doAppendSegments",value:function(){var Oe=this._pendingSegments;for(var be in Oe){if(!this._sourceBuffers[be]||this._sourceBuffers[be].updating)continue;if(Oe[be].length>0){var Fe=Oe[be].shift();if(Fe.timestampOffset){var it=this._sourceBuffers[be].timestampOffset,wt=Fe.timestampOffset/1e3,nr=Math.abs(it-wt);nr>.1&&(u.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(it," to ").concat(wt)),this._sourceBuffers[be].timestampOffset=wt),delete Fe.timestampOffset}if(!Fe.data||Fe.data.byteLength===0)continue;try{this._sourceBuffers[be].appendBuffer(Fe.data),this._isBufferFull=!1,be==="video"&&Fe.hasOwnProperty("info")&&this._idrList.appendArray(Fe.info.syncPoints)}catch(sr){this._pendingSegments[be].unshift(Fe),sr.code===22?(this._isBufferFull||this._emitter.emit(tt.BUFFER_FULL),this._isBufferFull=!0):(u.e(this.TAG,sr.message),this._emitter.emit(tt.ERROR,{code:sr.code,msg:sr.message}))}}}}},{key:"_onSourceOpen",value:function(){if(u.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var Oe=this._pendingSourceBufferInit;Oe.length;){var be=Oe.shift();this.appendInitSegment(be,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(tt.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){u.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){u.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 Oe=this._pendingSegments;return Oe.video.length>0||Oe.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var Oe=this._pendingRemoveRanges;return Oe.video.length>0||Oe.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(tt.UPDATE_END)}},{key:"_onSourceBufferError",value:function(Oe){u.e(this.TAG,"SourceBuffer Error: ".concat(Oe))}}]),bt}(),jt=Wt,Yt={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Tt={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:me.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:me.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:me.CODEC_UNSUPPORTED},Rt=function(){function bt(ut,Oe){if(Object(w.a)(this,bt),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new f.a,this._config=Y(),typeof Oe=="object"&&Object.assign(this._config,Oe),ut.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");ut.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=ut,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 be=C.chrome&&(C.version.major<50||C.version.major===50&&C.version.build<2661);this._alwaysSeekKeyframe=!!(be||C.msedge||C.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(A.a)(bt,[{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(Oe,be){var Fe=this;Oe===se.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Fe._emitter.emit(se.MEDIA_INFO,Fe.mediaInfo)}):Oe===se.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Fe._emitter.emit(se.STATISTICS_INFO,Fe.statisticsInfo)})),this._emitter.addListener(Oe,be)}},{key:"off",value:function(Oe,be){this._emitter.removeListener(Oe,be)}},{key:"attachMediaElement",value:function(Oe){var be=this;if(this._mediaElement=Oe,Oe.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),Oe.addEventListener("seeking",this.e.onvSeeking),Oe.addEventListener("canplay",this.e.onvCanPlay),Oe.addEventListener("stalled",this.e.onvStalled),Oe.addEventListener("progress",this.e.onvProgress),this._msectl=new jt(this._config),this._msectl.on(tt.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(tt.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(tt.SOURCE_OPEN,function(){be._mseSourceOpened=!0,be._hasPendingLoad&&(be._hasPendingLoad=!1,be.load())}),this._msectl.on(tt.ERROR,function(Fe){be._emitter.emit(se.ERROR,Yt.MEDIA_ERROR,Tt.MEDIA_MSE_ERROR,Fe)}),this._msectl.attachMediaElement(Oe),this._pendingSeekTime!=null)try{Oe.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Fe){}}},{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 Oe=this;if(!this._mediaElement)throw new s("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new s("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 Ue(this._mediaDataSource,this._config),this._transmuxer.on(Q.INIT_SEGMENT,function(be,Fe){Oe._msectl.appendInitSegment(Fe)}),this._transmuxer.on(Q.MEDIA_SEGMENT,function(be,Fe){if(Oe._msectl.appendMediaSegment(Fe),Oe._config.lazyLoad&&!Oe._config.isLive){var it=Oe._mediaElement.currentTime;Fe.info.endDts>=(it+Oe._config.lazyLoadMaxDuration)*1e3&&(Oe._progressChecker==null&&(u.v(Oe.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),Oe._suspendTransmuxer()))}}),this._transmuxer.on(Q.LOADING_COMPLETE,function(){Oe._msectl.endOfStream(),Oe._emitter.emit(se.LOADING_COMPLETE)}),this._transmuxer.on(Q.RECOVERED_EARLY_EOF,function(){Oe._emitter.emit(se.RECOVERED_EARLY_EOF)}),this._transmuxer.on(Q.IO_ERROR,function(be,Fe){Oe._emitter.emit(se.ERROR,Yt.NETWORK_ERROR,be,Fe)}),this._transmuxer.on(Q.DEMUX_ERROR,function(be,Fe){Oe._emitter.emit(se.ERROR,Yt.MEDIA_ERROR,be,{code:-1,msg:Fe})}),this._transmuxer.on(Q.MEDIA_INFO,function(be){Oe._mediaInfo=be,Oe._emitter.emit(se.MEDIA_INFO,Object.assign({},be))}),this._transmuxer.on(Q.METADATA_ARRIVED,function(be){Oe._emitter.emit(se.METADATA_ARRIVED,be)}),this._transmuxer.on(Q.SCRIPTDATA_ARRIVED,function(be){Oe._emitter.emit(se.SCRIPTDATA_ARRIVED,be)}),this._transmuxer.on(Q.STATISTICS_INFO,function(be){Oe._statisticsInfo=Oe._fillStatisticsInfo(be),Oe._emitter.emit(se.STATISTICS_INFO,Object.assign({},Oe._statisticsInfo))}),this._transmuxer.on(Q.RECOMMEND_SEEKPOINT,function(be){Oe._mediaElement&&!Oe._config.accurateSeek&&(Oe._requestSetTime=!0,Oe._mediaElement.currentTime=be/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(Oe){this._mediaElement.volume=Oe}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Oe){this._mediaElement.muted=Oe}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Oe){this._mediaElement?this._internalSeek(Oe):this._pendingSeekTime=Oe}},{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(Oe){if(Oe.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return Oe;var be=!0,Fe=0,it=0;if(this._mediaElement.getVideoPlaybackQuality){var wt=this._mediaElement.getVideoPlaybackQuality();Fe=wt.totalVideoFrames,it=wt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Fe=this._mediaElement.webkitDecodedFrameCount,it=this._mediaElement.webkitDroppedFrameCount):be=!1;return be&&(Oe.decodedFrames=Fe,Oe.droppedFrames=it),Oe}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var Oe=this._mediaElement.buffered,be=this._mediaElement.currentTime,Fe=0,it=0,wt=0;wt<Oe.length;wt++){var nr=Oe.start(wt),sr=Oe.end(wt);if(nr<=be&&be<sr){Fe=nr,it=sr;break}}it>=be+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(u.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){u.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 Oe=this._mediaElement.currentTime,be=this._mediaElement.buffered,Fe=!1,it=0;it<be.length;it++){var wt=be.start(it),nr=be.end(it);if(Oe>=wt&&Oe<nr){Oe>=nr-this._config.lazyLoadRecoverDuration&&(Fe=!0);break}}Fe&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Fe&&(u.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(Oe){for(var be=this._mediaElement.buffered,Fe=0;Fe<be.length;Fe++){var it=be.start(Fe),wt=be.end(Fe);if(Oe>=it&&Oe<wt)return!0}return!1}},{key:"_internalSeek",value:function(Oe){var be=this._isTimepointBuffered(Oe),Fe=!1,it=0;if(Oe<1&&this._mediaElement.buffered.length>0){var wt=this._mediaElement.buffered.start(0);(wt<1&&Oe<wt||C.safari)&&(Fe=!0,it=C.safari?.1:wt)}if(Fe)this._requestSetTime=!0,this._mediaElement.currentTime=it;else if(be){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=Oe;else{var nr=this._msectl.getNearestKeyframe(Math.floor(Oe*1e3));this._requestSetTime=!0,nr!=null?this._mediaElement.currentTime=nr.dts/1e3:this._mediaElement.currentTime=Oe}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(Oe),this._transmuxer.seek(Math.floor(Oe*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Oe)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var Oe=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(Oe)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(Oe),this._transmuxer.seek(Math.floor(Oe*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Oe))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(Oe){var be=this._mediaElement;if(Oe||!this._receivedCanPlay||be.readyState<2){var Fe=be.buffered;Fe.length>0&&be.currentTime<Fe.start(0)&&(u.w(this.TAG,"Playback seems stuck at ".concat(be.currentTime,", seek to ").concat(Fe.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Fe.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(Oe){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(Oe){var be=this._mediaElement.currentTime,Fe=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(be<1&&Fe.length>0){var it=Fe.start(0);if(it<1&&be<it||C.safari){this._requestSetTime=!0,this._mediaElement.currentTime=C.safari?.1:it;return}}if(this._isTimepointBuffered(be)){if(this._alwaysSeekKeyframe){var wt=this._msectl.getNearestKeyframe(Math.floor(be*1e3));wt!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=wt.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:be,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(Oe){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(Oe){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(Oe){this._checkAndResumeStuckPlayback()}}]),bt}(),yt=Rt,Jt=function(){function bt(ut,Oe){if(Object(w.a)(this,bt),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new f.a,this._config=Y(),typeof Oe=="object"&&Object.assign(this._config,Oe),ut.type.toLowerCase()==="flv")throw new t("NativePlayer does't support flv MediaDataSource input!");if(ut.hasOwnProperty("segments"))throw new t("NativePlayer(".concat(ut.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=ut,this._mediaElement=null}return Object(A.a)(bt,[{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(Oe,be){var Fe=this;Oe===se.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Fe._emitter.emit(se.MEDIA_INFO,Fe.mediaInfo)}):Oe===se.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Fe._emitter.emit(se.STATISTICS_INFO,Fe.statisticsInfo)})),this._emitter.addListener(Oe,be)}},{key:"off",value:function(Oe,be){this._emitter.removeListener(Oe,be)}},{key:"attachMediaElement",value:function(Oe){if(this._mediaElement=Oe,Oe.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{Oe.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(be){}}},{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 s("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(Oe){this._mediaElement.volume=Oe}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Oe){this._mediaElement.muted=Oe}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Oe){this._mediaElement?this._mediaElement.currentTime=Oe:this._pendingSeekTime=Oe}},{key:"mediaInfo",get:function(){var Oe=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",be={mimeType:Oe+this._mediaDataSource.type};return this._mediaElement&&(be.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(be.width=this._mediaElement.videoWidth,be.height=this._mediaElement.videoHeight)),be}},{key:"statisticsInfo",get:function(){var Oe={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return Oe;var be=!0,Fe=0,it=0;if(this._mediaElement.getVideoPlaybackQuality){var wt=this._mediaElement.getVideoPlaybackQuality();Fe=wt.totalVideoFrames,it=wt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Fe=this._mediaElement.webkitDecodedFrameCount,it=this._mediaElement.webkitDroppedFrameCount):be=!1;return be&&(Oe.decodedFrames=Fe,Oe.droppedFrames=it),Oe}},{key:"_onvLoadedMetadata",value:function(Oe){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(se.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(se.STATISTICS_INFO,this.statisticsInfo)}}]),bt}(),Lr=Jt;g.install();function zr(bt,ut){var Oe=bt;if(Oe==null||typeof Oe!="object")throw new t("MediaDataSource must be an javascript object!");if(!Oe.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(Oe.type){case"flv":return new yt(Oe,ut);default:return new Lr(Oe,ut)}}function rn(){return oe.supportMSEH264Playback()}function ei(){return oe.getFeatureList()}var fn={};fn.createPlayer=zr,fn.isSupported=rn,fn.getFeatureList=ei,fn.BaseLoader=p,fn.LoaderStatus=c,fn.LoaderErrors=h,fn.Events=se,fn.ErrorTypes=Yt,fn.ErrorDetails=Tt,fn.FlvPlayer=yt,fn.NativePlayer=Lr,fn.LoggingControl=pe,Object.defineProperty(fn,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Zr=B.a=fn},GVMX:function(k,B,d){var w=d("JEkh"),A=w.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"}});k.exports=A},GdRQ:function(k,B,d){"use strict";function w(C){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(_){return typeof _}:w=function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},w(C)}Object.defineProperty(B,"__esModule",{value:!0}),B.isMac=c,B.isWindows=h,B.isIOS=p,B.isSafari=m,B.isIE=S,B.isEdge=y,B.isFirefox=x,B.hasScrollbarGutter=B.supportsImageMetadata=B.supportsCursorURIs=B.dragThreshold=B.isTouchDevice=void 0;var A=g(d("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var C=new WeakMap;return b=function(){return C},C}function g(C){if(C&&C.__esModule)return C;if(C===null||w(C)!=="object"&&typeof C!="function")return{default:C};var T=b();if(T&&T.has(C))return T.get(C);var _={},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in C)if(Object.prototype.hasOwnProperty.call(C,I)){var L=E?Object.getOwnPropertyDescriptor(C,I):null;L&&(L.get||L.set)?Object.defineProperty(_,I,L):_[I]=C[I]}return _.default=C,T&&T.set(C,_),_}var v="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;B.isTouchDevice=v,window.addEventListener("touchstart",function C(){B.isTouchDevice=v=!0,window.removeEventListener("touchstart",C,!1)},!1);var f=10*(window.devicePixelRatio||1);B.dragThreshold=f;var l=!1;try{var u=document.createElement("canvas");u.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',u.style.cursor.indexOf("url")===0?(A.Info("Data URI scheme cursor supported"),l=!0):A.Warn("Data URI scheme cursor not supported")}catch(C){A.Error("Data URI scheme cursor test exception: "+C)}var o=l;B.supportsCursorURIs=o;var e=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),e=!0}catch(C){}var n=e;B.supportsImageMetadata=n;var i=!0;try{var r=document.createElement("div");r.style.visibility="hidden",r.style.overflow="scroll",document.body.appendChild(r);var s=document.createElement("div");r.appendChild(s);var t=r.offsetWidth-s.offsetWidth;r.parentNode.removeChild(r),i=t!=0}catch(C){A.Error("Scrollbar test exception: "+C)}var a=i;B.hasScrollbarGutter=a;function c(){return navigator&&!!/mac/i.exec(navigator.platform)}function h(){return navigator&&!!/win/i.exec(navigator.platform)}function p(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function m(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function S(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function y(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function x(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(k,B,d){var w=d("bYtY"),A=d("6Ic6"),b=d("IwbS"),g=d("y+Vt"),v=d("sK/D"),f=v.createClipPath,l=["itemStyle"],u=["emphasis","itemStyle"],o=["color","color0","borderColor","borderColor0"],e=A.extend({type:"candlestick",render:function(m,S,y){this.group.removeClipPath(),this._updateDrawMode(m),this._isLargeDraw?this._renderLarge(m):this._renderNormal(m)},incrementalPrepareRender:function(m,S,y){this._clear(),this._updateDrawMode(m)},incrementalRender:function(m,S,y,x){this._isLargeDraw?this._incrementalRenderLarge(m,S):this._incrementalRenderNormal(m,S)},_updateDrawMode:function(m){var S=m.pipelineContext.large;(this._isLargeDraw==null||S^this._isLargeDraw)&&(this._isLargeDraw=S,this._clear())},_renderNormal:function(m){var S=m.getData(),y=this._data,x=this.group,C=S.getLayout("isSimpleBox"),T=m.get("clip",!0),_=m.coordinateSystem,E=_.getArea&&_.getArea();this._data||x.removeAll(),S.diff(y).add(function(I){if(S.hasValue(I)){var L,D=S.getItemLayout(I);if(T&&r(E,D))return;L=i(D,I,!0),b.initProps(L,{shape:{points:D.ends}},m,I),s(L,S,I,C),x.add(L),S.setItemGraphicEl(I,L)}}).update(function(I,L){var D=y.getItemGraphicEl(L);if(!S.hasValue(I)){x.remove(D);return}var F=S.getItemLayout(I);if(T&&r(E,F)){x.remove(D);return}D?b.updateProps(D,{shape:{points:F.ends}},m,I):D=i(F,I),s(D,S,I,C),x.add(D),S.setItemGraphicEl(I,D)}).remove(function(I){var L=y.getItemGraphicEl(I);L&&x.remove(L)}).execute(),this._data=S},_renderLarge:function(m){this._clear(),c(m,this.group);var S=m.get("clip",!0)?f(m.coordinateSystem,!1,m):null;S?this.group.setClipPath(S):this.group.removeClipPath()},_incrementalRenderNormal:function(m,S){for(var y=S.getData(),x=y.getLayout("isSimpleBox"),C;(C=m.next())!=null;){var T,_=y.getItemLayout(C);T=i(_,C),s(T,y,C,x),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(m,S){c(S,this.group,!0)},remove:function(m){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:w.noop}),n=g.extend({type:"normalCandlestickBox",shape:{},buildPath:function(m,S){var y=S.points;this.__simpleBox?(m.moveTo(y[4][0],y[4][1]),m.lineTo(y[6][0],y[6][1])):(m.moveTo(y[0][0],y[0][1]),m.lineTo(y[1][0],y[1][1]),m.lineTo(y[2][0],y[2][1]),m.lineTo(y[3][0],y[3][1]),m.closePath(),m.moveTo(y[4][0],y[4][1]),m.lineTo(y[5][0],y[5][1]),m.moveTo(y[6][0],y[6][1]),m.lineTo(y[7][0],y[7][1]))}});function i(m,S,y){var x=m.ends;return new n({shape:{points:y?t(x,m):x},z2:100})}function r(m,S){for(var y=!0,x=0;x<S.ends.length;x++)if(m.contain(S.ends[x][0],S.ends[x][1])){y=!1;break}return y}function s(m,S,y,x){var C=S.getItemModel(y),T=C.getModel(l),_=S.getItemVisual(y,"color"),E=S.getItemVisual(y,"borderColor")||_,I=T.getItemStyle(o);m.useStyle(I),m.style.strokeNoScale=!0,m.style.fill=_,m.style.stroke=E,m.__simpleBox=x;var L=C.getModel(u).getItemStyle();b.setHoverStyle(m,L)}function t(m,S){return w.map(m,function(y){return y=y.slice(),y[1]=S.initBaseline,y})}var a=g.extend({type:"largeCandlestickBox",shape:{},buildPath:function(m,S){for(var y=S.points,x=0;x<y.length;)if(this.__sign===y[x++]){var C=y[x++];m.moveTo(C,y[x++]),m.lineTo(C,y[x++])}else x+=3}});function c(m,S,y){var x=m.getData(),C=x.getLayout("largePoints"),T=new a({shape:{points:C},__sign:1});S.add(T);var _=new a({shape:{points:C},__sign:-1});S.add(_),h(1,T,m,x),h(-1,_,m,x),y&&(T.incremental=!0,_.incremental=!0)}function h(m,S,y,x){var C=m>0?"P":"N",T=x.getVisual("borderColor"+C)||x.getVisual("color"+C),_=y.getModel(l).getItemStyle(o);S.useStyle(_),S.style.fill=null,S.style.stroke=T}var p=e;k.exports=p},Gev7:function(k,B,d){var w=d("bYtY"),A=d("K2GJ"),b=d("1bdT"),g=d("ni6a");function v(l){l=l||{},b.call(this,l);for(var u in l)l.hasOwnProperty(u)&&u!=="style"&&(this[u]=l[u]);this.style=new A(l.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(u){},afterBrush:function(u){},brush:function(u,o){},getBoundingRect:function(){},contain:function(u,o){return this.rectContain(u,o)},traverse:function(u,o){u.call(o,this)},rectContain:function(u,o){var e=this.transformCoordToLocal(u,o),n=this.getBoundingRect();return n.contain(e[0],e[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(u){return this.animate("style",u)},attrKV:function(u,o){u!=="style"?b.prototype.attrKV.call(this,u,o):this.style.set(o)},setStyle:function(u,o){return this.style.set(u,o),this.dirty(!1),this},useStyle:function(u){return this.style=new A(u,this),this.dirty(!1),this},calculateTextPosition:null},w.inherits(v,b),w.mixin(v,g);var f=v;k.exports=f},GrNh:function(k,B,d){var w=d("bYtY"),A=d("IwbS"),b=d("6Ic6");function g(e,n,i,r){var s=n.getData(),t=this.dataIndex,a=s.getName(t),c=n.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:e,name:a,seriesId:n.id}),s.each(function(h){v(s.getItemGraphicEl(h),s.getItemLayout(h),n.isSelected(s.getName(h)),c,i)})}function v(e,n,i,r,s){var t=(n.startAngle+n.endAngle)/2,a=Math.cos(t),c=Math.sin(t),h=i?r:0,p=[a*h,c*h];s?e.animate().when(200,{position:p}).start("bounceOut"):e.attr("position",p)}function f(e,n){A.Group.call(this);var i=new A.Sector({z2:2}),r=new A.Polyline,s=new A.Text;this.add(i),this.add(r),this.add(s),this.updateData(e,n,!0)}var l=f.prototype;l.updateData=function(e,n,i){var r=this.childAt(0),s=this.childAt(1),t=this.childAt(2),a=e.hostModel,c=e.getItemModel(n),h=e.getItemLayout(n),p=w.extend({},h);p.label=null;var m=a.getShallow("animationTypeUpdate");if(i){r.setShape(p);var S=a.getShallow("animationType");S==="scale"?(r.shape.r=h.r0,A.initProps(r,{shape:{r:h.r}},a,n)):(r.shape.endAngle=h.startAngle,A.updateProps(r,{shape:{endAngle:h.endAngle}},a,n))}else m==="expansion"?r.setShape(p):A.updateProps(r,{shape:p},a,n);var y=e.getItemVisual(n,"color");r.useStyle(w.defaults({lineJoin:"bevel",fill:y},c.getModel("itemStyle").getItemStyle())),r.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle();var x=c.getShallow("cursor");x&&r.attr("cursor",x),v(this,e.getItemLayout(n),a.isSelected(e.getName(n)),a.get("selectedOffset"),a.get("animation"));var C=!i&&m==="transition";this._updateLabel(e,n,C),this.highDownOnUpdate=a.get("silent")?null:function(T,_){var E=a.isAnimationEnabled()&&c.get("hoverAnimation");_==="emphasis"?(s.ignore=s.hoverIgnore,t.ignore=t.hoverIgnore,E&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r+a.get("hoverOffset")}},300,"elasticOut"))):(s.ignore=s.normalIgnore,t.ignore=t.normalIgnore,E&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r}},300,"elasticOut")))},A.setHoverStyle(this)},l._updateLabel=function(e,n,i){var r=this.childAt(1),s=this.childAt(2),t=e.hostModel,a=e.getItemModel(n),c=e.getItemLayout(n),h=c.label,p=e.getItemVisual(n,"color");if(!h||isNaN(h.x)||isNaN(h.y)){s.ignore=s.normalIgnore=s.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;return}var m={points:h.linePoints||[[h.x,h.y],[h.x,h.y],[h.x,h.y]]},S={x:h.x,y:h.y};i?(A.updateProps(r,{shape:m},t,n),A.updateProps(s,{style:S},t,n)):(r.attr({shape:m}),s.attr({style:S})),s.attr({rotation:h.rotation,origin:[h.x,h.y],z2:10});var y=a.getModel("label"),x=a.getModel("emphasis.label"),C=a.getModel("labelLine"),T=a.getModel("emphasis.labelLine"),p=e.getItemVisual(n,"color");A.setLabelStyle(s.style,s.hoverStyle={},y,x,{labelFetcher:e.hostModel,labelDataIndex:n,defaultText:h.text,autoColor:p,useInsideStyle:!!h.inside},{textAlign:h.textAlign,textVerticalAlign:h.verticalAlign,opacity:e.getItemVisual(n,"opacity")}),s.ignore=s.normalIgnore=!y.get("show"),s.hoverIgnore=!x.get("show"),r.ignore=r.normalIgnore=!C.get("show"),r.hoverIgnore=!T.get("show"),r.setStyle({stroke:p,opacity:e.getItemVisual(n,"opacity")}),r.setStyle(C.getModel("lineStyle").getLineStyle()),r.hoverStyle=T.getModel("lineStyle").getLineStyle();var _=C.get("smooth");_&&_===!0&&(_=.4),r.setShape({smooth:_})},w.inherits(f,A.Group);var u=b.extend({type:"pie",init:function(){var e=new A.Group;this._sectorGroup=e},render:function(e,n,i,r){if(r&&r.from===this.uid)return;var s=e.getData(),t=this._data,a=this.group,c=n.get("animation"),h=!t,p=e.get("animationType"),m=e.get("animationTypeUpdate"),S=w.curry(g,this.uid,e,c,i),y=e.get("selectedMode");if(s.diff(t).add(function(E){var I=new f(s,E);h&&p!=="scale"&&I.eachChild(function(L){L.stopAnimation(!0)}),y&&I.on("click",S),s.setItemGraphicEl(E,I),a.add(I)}).update(function(E,I){var L=t.getItemGraphicEl(I);!h&&m!=="transition"&&L.eachChild(function(D){D.stopAnimation(!0)}),L.updateData(s,E),L.off("click"),y&&L.on("click",S),a.add(L),s.setItemGraphicEl(E,L)}).remove(function(E){var I=t.getItemGraphicEl(E);a.remove(I)}).execute(),c&&s.count()>0&&(h?p!=="scale":m!=="transition")){for(var x=s.getItemLayout(0),C=1;isNaN(x.startAngle)&&C<s.count();++C)x=s.getItemLayout(C);var T=Math.max(i.getWidth(),i.getHeight())/2,_=w.bind(a.removeClipPath,a);a.setClipPath(this._createClipPath(x.cx,x.cy,T,x.startAngle,x.clockwise,_,e,h))}else a.removeClipPath();this._data=s},dispose:function(){},_createClipPath:function(e,n,i,r,s,t,a,c){var h=new A.Sector({shape:{cx:e,cy:n,r0:0,r:i,startAngle:r,endAngle:r,clockwise:s}}),p=c?A.initProps:A.updateProps;return p(h,{shape:{endAngle:r+(s?1:-1)*Math.PI*2}},a,t),h},containPoint:function(e,n){var i=n.getData(),r=i.getItemLayout(0);if(r){var s=e[0]-r.cx,t=e[1]-r.cy,a=Math.sqrt(s*s+t*t);return a<=r.r&&a>=r.r0}}}),o=u;k.exports=o},Gytx:function(k,B){k.exports=function(w,A,b,g){var v=b?b.call(g,w,A):void 0;if(v!==void 0)return!!v;if(w===A)return!0;if(typeof w!="object"||!w||typeof A!="object"||!A)return!1;var f=Object.keys(w),l=Object.keys(A);if(f.length!==l.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(A),o=0;o<f.length;o++){var e=f[o];if(!u(e))return!1;var n=w[e],i=A[e];if(v=b?b.call(g,n,i,e):void 0,v===!1||v===void 0&&n!==i)return!1}return!0}},GzdX:function(k,B,d){"use strict";var w=d("wx14"),A=d("q1tI"),b=d.n(A),g=d("VTBJ"),v=d("rePB"),f=d("1OyB"),l=d("vuIU"),u=d("Ji7U"),o=d("LK+K"),e=d("m+aA"),n=d("TSYQ"),i=d.n(n),r=d("4IlW");function s(N){var P=N.pageXOffset,W="scrollLeft";if(typeof P!="number"){var R=N.document;P=R.documentElement[W],typeof P!="number"&&(P=R.body[W])}return P}function t(N){var P,W,R=N.ownerDocument,j=R.body,H=R&&R.documentElement,K=N.getBoundingClientRect();return P=K.left,W=K.top,P-=H.clientLeft||j.clientLeft||0,W-=H.clientTop||j.clientTop||0,{left:P,top:W}}function a(N){var P=t(N),W=N.ownerDocument,R=W.defaultView||W.parentWindow;return P.left+=s(R),P.left}var c=function(N){Object(u.a)(W,N);var P=Object(o.a)(W);function W(){var R;return Object(f.a)(this,W),R=P.apply(this,arguments),R.onHover=function(j){var H=R.props,K=H.onHover,U=H.index;K(j,U)},R.onClick=function(j){var H=R.props,K=H.onClick,U=H.index;K(j,U)},R.onKeyDown=function(j){var H=R.props,K=H.onClick,U=H.index;j.keyCode===13&&K(j,U)},R}return Object(l.a)(W,[{key:"getClassName",value:function(){var j=this.props,H=j.prefixCls,K=j.index,U=j.value,G=j.allowHalf,z=j.focused,Y=K+1,q=H;return U===0&&K===0&&z?q+=" ".concat(H,"-focused"):G&&U+.5>=Y&&U<Y?(q+=" ".concat(H,"-half ").concat(H,"-active"),z&&(q+=" ".concat(H,"-focused"))):(q+=Y<=U?" ".concat(H,"-full"):" ".concat(H,"-zero"),Y===U&&z&&(q+=" ".concat(H,"-focused"))),q}},{key:"render",value:function(){var j=this.onHover,H=this.onClick,K=this.onKeyDown,U=this.props,G=U.disabled,z=U.prefixCls,Y=U.character,q=U.characterRender,oe=U.index,ie=U.count,se=U.value,he=typeof Y=="function"?Y(this.props):Y,pe=b.a.createElement("li",{className:this.getClassName()},b.a.createElement("div",{onClick:G?null:H,onKeyDown:G?null:K,onMouseMove:G?null:j,role:"radio","aria-checked":se>oe?"true":"false","aria-posinset":oe+1,"aria-setsize":ie,tabIndex:G?-1:0},b.a.createElement("div",{className:"".concat(z,"-first")},he),b.a.createElement("div",{className:"".concat(z,"-second")},he)));return q&&(pe=q(pe,this.props)),pe}}]),W}(b.a.Component);function h(){}var p=function(N){Object(u.a)(W,N);var P=Object(o.a)(W);function W(R){var j;Object(f.a)(this,W),j=P.call(this,R),j.onHover=function(K,U){var G=j.props.onHoverChange,z=j.getStarValue(U,K.pageX),Y=j.state.cleanedValue;z!==Y&&j.setState({hoverValue:z,cleanedValue:null}),G(z)},j.onMouseLeave=function(){var K=j.props.onHoverChange;j.setState({hoverValue:void 0,cleanedValue:null}),K(void 0)},j.onClick=function(K,U){var G=j.props.allowClear,z=j.state.value,Y=j.getStarValue(U,K.pageX),q=!1;G&&(q=Y===z),j.onMouseLeave(),j.changeValue(q?0:Y),j.setState({cleanedValue:q?Y:null})},j.onFocus=function(){var K=j.props.onFocus;j.setState({focused:!0}),K&&K()},j.onBlur=function(){var K=j.props.onBlur;j.setState({focused:!1}),K&&K()},j.onKeyDown=function(K){var U=K.keyCode,G=j.props,z=G.count,Y=G.allowHalf,q=G.onKeyDown,oe=G.direction,ie=oe==="rtl",se=j.state.value;U===r.a.RIGHT&&se<z&&!ie?(Y?se+=.5:se+=1,j.changeValue(se),K.preventDefault()):U===r.a.LEFT&&se>0&&!ie||U===r.a.RIGHT&&se>0&&ie?(Y?se-=.5:se-=1,j.changeValue(se),K.preventDefault()):U===r.a.LEFT&&se<z&&ie&&(Y?se+=.5:se+=1,j.changeValue(se),K.preventDefault()),q&&q(K)},j.saveRef=function(K){return function(U){j.stars[K]=U}},j.saveRate=function(K){j.rate=K};var H=R.value;return H===void 0&&(H=R.defaultValue),j.stars={},j.state={value:H,focused:!1,cleanedValue:null},j}return Object(l.a)(W,[{key:"componentDidMount",value:function(){var j=this.props,H=j.autoFocus,K=j.disabled;H&&!K&&this.focus()}},{key:"getStarDOM",value:function(j){return Object(e.a)(this.stars[j])}},{key:"getStarValue",value:function(j,H){var K=this.props,U=K.allowHalf,G=K.direction,z=G==="rtl",Y=j+1;if(U){var q=this.getStarDOM(j),oe=a(q),ie=q.clientWidth;(z&&H-oe>ie/2||!z&&H-oe<ie/2)&&(Y-=.5)}return Y}},{key:"focus",value:function(){var j=this.props.disabled;j||this.rate.focus()}},{key:"blur",value:function(){var j=this.props.disabled;j||this.rate.blur()}},{key:"changeValue",value:function(j){var H=this.props.onChange;"value"in this.props||this.setState({value:j}),H(j)}},{key:"render",value:function(){for(var j=this.props,H=j.count,K=j.allowHalf,U=j.style,G=j.prefixCls,z=j.disabled,Y=j.className,q=j.character,oe=j.characterRender,ie=j.tabIndex,se=j.direction,he=this.state,pe=he.value,_e=he.hoverValue,De=he.focused,Xe=[],J=z?"".concat(G,"-disabled"):"",Ee=0;Ee<H;Ee+=1)Xe.push(b.a.createElement(c,{ref:this.saveRef(Ee),index:Ee,count:H,disabled:z,prefixCls:"".concat(G,"-star"),allowHalf:K,value:_e===void 0?pe:_e,onClick:this.onClick,onHover:this.onHover,key:Ee,character:q,characterRender:oe,focused:De}));var qe=i()(G,J,Y,Object(v.a)({},"".concat(G,"-rtl"),se==="rtl"));return b.a.createElement("ul",{className:qe,style:U,onMouseLeave:z?null:this.onMouseLeave,tabIndex:z?-1:ie,onFocus:z?null:this.onFocus,onBlur:z?null:this.onBlur,onKeyDown:z?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},Xe)}}],[{key:"getDerivedStateFromProps",value:function(j,H){return"value"in j&&j.value!==void 0?Object(g.a)(Object(g.a)({},H),{},{value:j.value}):H}}]),W}(b.a.Component);p.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:h,character:"\u2605",onHoverChange:h,tabIndex:0,direction:"ltr"};var m=p,S=m,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"},x=y,C=d("6VBw"),T=function(P,W){return A.createElement(C.a,Object(g.a)(Object(g.a)({},P),{},{ref:W,icon:x}))};T.displayName="StarFilled";var _=A.forwardRef(T),E=d("3S7+"),I=d("H84U"),L=function(N,P){var W={};for(var R in N)Object.prototype.hasOwnProperty.call(N,R)&&P.indexOf(R)<0&&(W[R]=N[R]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,R=Object.getOwnPropertySymbols(N);j<R.length;j++)P.indexOf(R[j])<0&&Object.prototype.propertyIsEnumerable.call(N,R[j])&&(W[R[j]]=N[R[j]]);return W},D=A.forwardRef(function(N,P){var W=N.prefixCls,R=N.tooltips,j=L(N,["prefixCls","tooltips"]),H=function(q,oe){var ie=oe.index;return R?A.createElement(E.a,{title:R[ie]},q):q},K=A.useContext(I.b),U=K.getPrefixCls,G=K.direction,z=U("rate",W);return A.createElement(S,Object(w.a)({ref:P,characterRender:H},j,{prefixCls:z,direction:G}))});D.displayName="Rate",D.defaultProps={character:A.createElement(_,null)};var F=B.a=D},H6uX:function(k,B){var d=Array.prototype.slice,w=function(f){this._$handlers={},this._$eventProcessor=f};w.prototype={constructor:w,one:function(f,l,u,o){return b(this,f,l,u,o,!0)},on:function(f,l,u,o){return b(this,f,l,u,o,!1)},isSilent:function(f){var l=this._$handlers;return!l[f]||!l[f].length},off:function(f,l){var u=this._$handlers;if(!f)return this._$handlers={},this;if(l){if(u[f]){for(var o=[],e=0,n=u[f].length;e<n;e++)u[f][e].h!==l&&o.push(u[f][e]);u[f]=o}u[f]&&u[f].length===0&&delete u[f]}else delete u[f];return this},trigger:function(f){var l=this._$handlers[f],u=this._$eventProcessor;if(l){var o=arguments,e=o.length;e>3&&(o=d.call(o,1));for(var n=l.length,i=0;i<n;){var r=l[i];if(u&&u.filter&&r.query!=null&&!u.filter(f,r.query)){i++;continue}switch(e){case 1:r.h.call(r.ctx);break;case 2:r.h.call(r.ctx,o[1]);break;case 3:r.h.call(r.ctx,o[1],o[2]);break;default:r.h.apply(r.ctx,o);break}r.one?(l.splice(i,1),n--):i++}}return u&&u.afterTrigger&&u.afterTrigger(f),this},triggerWithContext:function(f){var l=this._$handlers[f],u=this._$eventProcessor;if(l){var o=arguments,e=o.length;e>4&&(o=d.call(o,1,o.length-1));for(var n=o[o.length-1],i=l.length,r=0;r<i;){var s=l[r];if(u&&u.filter&&s.query!=null&&!u.filter(f,s.query)){r++;continue}switch(e){case 1:s.h.call(n);break;case 2:s.h.call(n,o[1]);break;case 3:s.h.call(n,o[1],o[2]);break;default:s.h.apply(n,o);break}s.one?(l.splice(r,1),i--):r++}}return u&&u.afterTrigger&&u.afterTrigger(f),this}};function A(v,f){var l=v._$eventProcessor;return f!=null&&l&&l.normalizeQuery&&(f=l.normalizeQuery(f)),f}function b(v,f,l,u,o,e){var n=v._$handlers;if(typeof l=="function"&&(o=u,u=l,l=null),!u||!f)return v;l=A(v,l),n[f]||(n[f]=[]);for(var i=0;i<n[f].length;i++)if(n[f][i].h===u)return v;var r={h:u,one:e,query:l,ctx:o||v,callAtLast:u.zrEventfulCallAtLast},s=n[f].length-1,t=n[f][s];return t&&t.callAtLast?n[f].splice(s,0,r):n[f].push(r),v}var g=w;k.exports=g},H7XF:function(k,B,d){"use strict";B.byteLength=u,B.toByteArray=e,B.fromByteArray=r;for(var w=[],A=[],b=typeof Uint8Array!="undefined"?Uint8Array:Array,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,f=g.length;v<f;++v)w[v]=g[v],A[g.charCodeAt(v)]=v;A["-".charCodeAt(0)]=62,A["_".charCodeAt(0)]=63;function l(s){var t=s.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=s.indexOf("=");a===-1&&(a=t);var c=a===t?0:4-a%4;return[a,c]}function u(s){var t=l(s),a=t[0],c=t[1];return(a+c)*3/4-c}function o(s,t,a){return(t+a)*3/4-a}function e(s){var t,a=l(s),c=a[0],h=a[1],p=new b(o(s,c,h)),m=0,S=h>0?c-4:c,y;for(y=0;y<S;y+=4)t=A[s.charCodeAt(y)]<<18|A[s.charCodeAt(y+1)]<<12|A[s.charCodeAt(y+2)]<<6|A[s.charCodeAt(y+3)],p[m++]=t>>16&255,p[m++]=t>>8&255,p[m++]=t&255;return h===2&&(t=A[s.charCodeAt(y)]<<2|A[s.charCodeAt(y+1)]>>4,p[m++]=t&255),h===1&&(t=A[s.charCodeAt(y)]<<10|A[s.charCodeAt(y+1)]<<4|A[s.charCodeAt(y+2)]>>2,p[m++]=t>>8&255,p[m++]=t&255),p}function n(s){return w[s>>18&63]+w[s>>12&63]+w[s>>6&63]+w[s&63]}function i(s,t,a){for(var c,h=[],p=t;p<a;p+=3)c=(s[p]<<16&16711680)+(s[p+1]<<8&65280)+(s[p+2]&255),h.push(n(c));return h.join("")}function r(s){for(var t,a=s.length,c=a%3,h=[],p=16383,m=0,S=a-c;m<S;m+=p)h.push(i(s,m,m+p>S?S:m+p));return c===1?(t=s[a-1],h.push(w[t>>2]+w[t<<4&63]+"==")):c===2&&(t=(s[a-2]<<8)+s[a-1],h.push(w[t>>10]+w[t>>4&63]+w[t<<2&63]+"=")),h.join("")}},HDXh:function(k,B,d){"use strict";(function(w){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/var A=d("H7XF"),b=d("kVK+"),g=d("v3Qx");B.Buffer=u,B.SlowBuffer=h,B.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=w.TYPED_ARRAY_SUPPORT!==void 0?w.TYPED_ARRAY_SUPPORT:v(),B.kMaxLength=f();function v(){try{var ae=new Uint8Array(1);return ae.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ae.foo()===42&&typeof ae.subarray=="function"&&ae.subarray(1,1).byteLength===0}catch(V){return!1}}function f(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(ae,V){if(f()<V)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(ae=new Uint8Array(V),ae.__proto__=u.prototype):(ae===null&&(ae=new u(V)),ae.length=V),ae}function u(ae,V,X){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(ae,V,X);if(typeof ae=="number"){if(typeof V=="string")throw new Error("If encoding is specified then the first argument must be a string");return i(this,ae)}return o(this,ae,V,X)}u.poolSize=8192,u._augment=function(ae){return ae.__proto__=u.prototype,ae};function o(ae,V,X,Z){if(typeof V=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&V instanceof ArrayBuffer?t(ae,V,X,Z):typeof V=="string"?r(ae,V,X):a(ae,V)}u.from=function(ae,V,X){return o(null,ae,V,X)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0}));function e(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be a number');if(ae<0)throw new RangeError('"size" argument must not be negative')}function n(ae,V,X,Z){return e(V),V<=0?l(ae,V):X!==void 0?typeof Z=="string"?l(ae,V).fill(X,Z):l(ae,V).fill(X):l(ae,V)}u.alloc=function(ae,V,X){return n(null,ae,V,X)};function i(ae,V){if(e(V),ae=l(ae,V<0?0:c(V)|0),!u.TYPED_ARRAY_SUPPORT)for(var X=0;X<V;++X)ae[X]=0;return ae}u.allocUnsafe=function(ae){return i(null,ae)},u.allocUnsafeSlow=function(ae){return i(null,ae)};function r(ae,V,X){if((typeof X!="string"||X==="")&&(X="utf8"),!u.isEncoding(X))throw new TypeError('"encoding" must be a valid string encoding');var Z=p(V,X)|0;ae=l(ae,Z);var ge=ae.write(V,X);return ge!==Z&&(ae=ae.slice(0,ge)),ae}function s(ae,V){var X=V.length<0?0:c(V.length)|0;ae=l(ae,X);for(var Z=0;Z<X;Z+=1)ae[Z]=V[Z]&255;return ae}function t(ae,V,X,Z){if(V.byteLength,X<0||V.byteLength<X)throw new RangeError("'offset' is out of bounds");if(V.byteLength<X+(Z||0))throw new RangeError("'length' is out of bounds");return X===void 0&&Z===void 0?V=new Uint8Array(V):Z===void 0?V=new Uint8Array(V,X):V=new Uint8Array(V,X,Z),u.TYPED_ARRAY_SUPPORT?(ae=V,ae.__proto__=u.prototype):ae=s(ae,V),ae}function a(ae,V){if(u.isBuffer(V)){var X=c(V.length)|0;return ae=l(ae,X),ae.length===0||V.copy(ae,0,0,X),ae}if(V){if(typeof ArrayBuffer!="undefined"&&V.buffer instanceof ArrayBuffer||"length"in V)return typeof V.length!="number"||qe(V.length)?l(ae,0):s(ae,V);if(V.type==="Buffer"&&g(V.data))return s(ae,V.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function c(ae){if(ae>=f())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+f().toString(16)+" bytes");return ae|0}function h(ae){return+ae!=ae&&(ae=0),u.alloc(+ae)}u.isBuffer=function(V){return!!(V!=null&&V._isBuffer)},u.compare=function(V,X){if(!u.isBuffer(V)||!u.isBuffer(X))throw new TypeError("Arguments must be Buffers");if(V===X)return 0;for(var Z=V.length,ge=X.length,le=0,Se=Math.min(Z,ge);le<Se;++le)if(V[le]!==X[le]){Z=V[le],ge=X[le];break}return Z<ge?-1:ge<Z?1:0},u.isEncoding=function(V){switch(String(V).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}},u.concat=function(V,X){if(!g(V))throw new TypeError('"list" argument must be an Array of Buffers');if(V.length===0)return u.alloc(0);var Z;if(X===void 0)for(X=0,Z=0;Z<V.length;++Z)X+=V[Z].length;var ge=u.allocUnsafe(X),le=0;for(Z=0;Z<V.length;++Z){var Se=V[Z];if(!u.isBuffer(Se))throw new TypeError('"list" argument must be an Array of Buffers');Se.copy(ge,le),le+=Se.length}return ge};function p(ae,V){if(u.isBuffer(ae))return ae.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(ae)||ae instanceof ArrayBuffer))return ae.byteLength;typeof ae!="string"&&(ae=""+ae);var X=ae.length;if(X===0)return 0;for(var Z=!1;;)switch(V){case"ascii":case"latin1":case"binary":return X;case"utf8":case"utf-8":case void 0:return _e(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X*2;case"hex":return X>>>1;case"base64":return J(ae).length;default:if(Z)return _e(ae).length;V=(""+V).toLowerCase(),Z=!0}}u.byteLength=p;function m(ae,V,X){var Z=!1;if((V===void 0||V<0)&&(V=0),V>this.length)return"";if((X===void 0||X>this.length)&&(X=this.length),X<=0)return"";if(X>>>=0,V>>>=0,X<=V)return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return j(this,V,X);case"utf8":case"utf-8":return F(this,V,X);case"ascii":return W(this,V,X);case"latin1":case"binary":return R(this,V,X);case"base64":return D(this,V,X);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,V,X);default:if(Z)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),Z=!0}}u.prototype._isBuffer=!0;function S(ae,V,X){var Z=ae[V];ae[V]=ae[X],ae[X]=Z}u.prototype.swap16=function(){var V=this.length;if(V%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var X=0;X<V;X+=2)S(this,X,X+1);return this},u.prototype.swap32=function(){var V=this.length;if(V%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var X=0;X<V;X+=4)S(this,X,X+3),S(this,X+1,X+2);return this},u.prototype.swap64=function(){var V=this.length;if(V%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var X=0;X<V;X+=8)S(this,X,X+7),S(this,X+1,X+6),S(this,X+2,X+5),S(this,X+3,X+4);return this},u.prototype.toString=function(){var V=this.length|0;return V===0?"":arguments.length===0?F(this,0,V):m.apply(this,arguments)},u.prototype.equals=function(V){if(!u.isBuffer(V))throw new TypeError("Argument must be a Buffer");return this===V?!0:u.compare(this,V)===0},u.prototype.inspect=function(){var V="",X=B.INSPECT_MAX_BYTES;return this.length>0&&(V=this.toString("hex",0,X).match(/.{2}/g).join(" "),this.length>X&&(V+=" ... ")),"<Buffer "+V+">"},u.prototype.compare=function(V,X,Z,ge,le){if(!u.isBuffer(V))throw new TypeError("Argument must be a Buffer");if(X===void 0&&(X=0),Z===void 0&&(Z=V?V.length:0),ge===void 0&&(ge=0),le===void 0&&(le=this.length),X<0||Z>V.length||ge<0||le>this.length)throw new RangeError("out of range index");if(ge>=le&&X>=Z)return 0;if(ge>=le)return-1;if(X>=Z)return 1;if(X>>>=0,Z>>>=0,ge>>>=0,le>>>=0,this===V)return 0;for(var Se=le-ge,me=Z-X,$=Math.min(Se,me),we=this.slice(ge,le),xe=V.slice(X,Z),We=0;We<$;++We)if(we[We]!==xe[We]){Se=we[We],me=xe[We];break}return Se<me?-1:me<Se?1:0};function y(ae,V,X,Z,ge){if(ae.length===0)return-1;if(typeof X=="string"?(Z=X,X=0):X>2147483647?X=2147483647:X<-2147483648&&(X=-2147483648),X=+X,isNaN(X)&&(X=ge?0:ae.length-1),X<0&&(X=ae.length+X),X>=ae.length){if(ge)return-1;X=ae.length-1}else if(X<0)if(ge)X=0;else return-1;if(typeof V=="string"&&(V=u.from(V,Z)),u.isBuffer(V))return V.length===0?-1:x(ae,V,X,Z,ge);if(typeof V=="number")return V=V&255,u.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ge?Uint8Array.prototype.indexOf.call(ae,V,X):Uint8Array.prototype.lastIndexOf.call(ae,V,X):x(ae,[V],X,Z,ge);throw new TypeError("val must be string, number or Buffer")}function x(ae,V,X,Z,ge){var le=1,Se=ae.length,me=V.length;if(Z!==void 0&&(Z=String(Z).toLowerCase(),Z==="ucs2"||Z==="ucs-2"||Z==="utf16le"||Z==="utf-16le")){if(ae.length<2||V.length<2)return-1;le=2,Se/=2,me/=2,X/=2}function $(nt,Ne){return le===1?nt[Ne]:nt.readUInt16BE(Ne*le)}var we;if(ge){var xe=-1;for(we=X;we<Se;we++)if($(ae,we)===$(V,xe===-1?0:we-xe)){if(xe===-1&&(xe=we),we-xe+1===me)return xe*le}else xe!==-1&&(we-=we-xe),xe=-1}else for(X+me>Se&&(X=Se-me),we=X;we>=0;we--){for(var We=!0,st=0;st<me;st++)if($(ae,we+st)!==$(V,st)){We=!1;break}if(We)return we}return-1}u.prototype.includes=function(V,X,Z){return this.indexOf(V,X,Z)!==-1},u.prototype.indexOf=function(V,X,Z){return y(this,V,X,Z,!0)},u.prototype.lastIndexOf=function(V,X,Z){return y(this,V,X,Z,!1)};function C(ae,V,X,Z){X=Number(X)||0;var ge=ae.length-X;Z?(Z=Number(Z),Z>ge&&(Z=ge)):Z=ge;var le=V.length;if(le%2!==0)throw new TypeError("Invalid hex string");Z>le/2&&(Z=le/2);for(var Se=0;Se<Z;++Se){var me=parseInt(V.substr(Se*2,2),16);if(isNaN(me))return Se;ae[X+Se]=me}return Se}function T(ae,V,X,Z){return Ee(_e(V,ae.length-X),ae,X,Z)}function _(ae,V,X,Z){return Ee(De(V),ae,X,Z)}function E(ae,V,X,Z){return _(ae,V,X,Z)}function I(ae,V,X,Z){return Ee(J(V),ae,X,Z)}function L(ae,V,X,Z){return Ee(Xe(V,ae.length-X),ae,X,Z)}u.prototype.write=function(V,X,Z,ge){if(X===void 0)ge="utf8",Z=this.length,X=0;else if(Z===void 0&&typeof X=="string")ge=X,Z=this.length,X=0;else if(isFinite(X))X=X|0,isFinite(Z)?(Z=Z|0,ge===void 0&&(ge="utf8")):(ge=Z,Z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var le=this.length-X;if((Z===void 0||Z>le)&&(Z=le),V.length>0&&(Z<0||X<0)||X>this.length)throw new RangeError("Attempt to write outside buffer bounds");ge||(ge="utf8");for(var Se=!1;;)switch(ge){case"hex":return C(this,V,X,Z);case"utf8":case"utf-8":return T(this,V,X,Z);case"ascii":return _(this,V,X,Z);case"latin1":case"binary":return E(this,V,X,Z);case"base64":return I(this,V,X,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,V,X,Z);default:if(Se)throw new TypeError("Unknown encoding: "+ge);ge=(""+ge).toLowerCase(),Se=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function D(ae,V,X){return V===0&&X===ae.length?A.fromByteArray(ae):A.fromByteArray(ae.slice(V,X))}function F(ae,V,X){X=Math.min(ae.length,X);for(var Z=[],ge=V;ge<X;){var le=ae[ge],Se=null,me=le>239?4:le>223?3:le>191?2:1;if(ge+me<=X){var $,we,xe,We;switch(me){case 1:le<128&&(Se=le);break;case 2:$=ae[ge+1],($&192)===128&&(We=(le&31)<<6|$&63,We>127&&(Se=We));break;case 3:$=ae[ge+1],we=ae[ge+2],($&192)===128&&(we&192)===128&&(We=(le&15)<<12|($&63)<<6|we&63,We>2047&&(We<55296||We>57343)&&(Se=We));break;case 4:$=ae[ge+1],we=ae[ge+2],xe=ae[ge+3],($&192)===128&&(we&192)===128&&(xe&192)===128&&(We=(le&15)<<18|($&63)<<12|(we&63)<<6|xe&63,We>65535&&We<1114112&&(Se=We))}}Se===null?(Se=65533,me=1):Se>65535&&(Se-=65536,Z.push(Se>>>10&1023|55296),Se=56320|Se&1023),Z.push(Se),ge+=me}return P(Z)}var N=4096;function P(ae){var V=ae.length;if(V<=N)return String.fromCharCode.apply(String,ae);for(var X="",Z=0;Z<V;)X+=String.fromCharCode.apply(String,ae.slice(Z,Z+=N));return X}function W(ae,V,X){var Z="";X=Math.min(ae.length,X);for(var ge=V;ge<X;++ge)Z+=String.fromCharCode(ae[ge]&127);return Z}function R(ae,V,X){var Z="";X=Math.min(ae.length,X);for(var ge=V;ge<X;++ge)Z+=String.fromCharCode(ae[ge]);return Z}function j(ae,V,X){var Z=ae.length;(!V||V<0)&&(V=0),(!X||X<0||X>Z)&&(X=Z);for(var ge="",le=V;le<X;++le)ge+=pe(ae[le]);return ge}function H(ae,V,X){for(var Z=ae.slice(V,X),ge="",le=0;le<Z.length;le+=2)ge+=String.fromCharCode(Z[le]+Z[le+1]*256);return ge}u.prototype.slice=function(V,X){var Z=this.length;V=~~V,X=X===void 0?Z:~~X,V<0?(V+=Z,V<0&&(V=0)):V>Z&&(V=Z),X<0?(X+=Z,X<0&&(X=0)):X>Z&&(X=Z),X<V&&(X=V);var ge;if(u.TYPED_ARRAY_SUPPORT)ge=this.subarray(V,X),ge.__proto__=u.prototype;else{var le=X-V;ge=new u(le,void 0);for(var Se=0;Se<le;++Se)ge[Se]=this[Se+V]}return ge};function K(ae,V,X){if(ae%1!==0||ae<0)throw new RangeError("offset is not uint");if(ae+V>X)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUIntLE=function(V,X,Z){V=V|0,X=X|0,Z||K(V,X,this.length);for(var ge=this[V],le=1,Se=0;++Se<X&&(le*=256);)ge+=this[V+Se]*le;return ge},u.prototype.readUIntBE=function(V,X,Z){V=V|0,X=X|0,Z||K(V,X,this.length);for(var ge=this[V+--X],le=1;X>0&&(le*=256);)ge+=this[V+--X]*le;return ge},u.prototype.readUInt8=function(V,X){return X||K(V,1,this.length),this[V]},u.prototype.readUInt16LE=function(V,X){return X||K(V,2,this.length),this[V]|this[V+1]<<8},u.prototype.readUInt16BE=function(V,X){return X||K(V,2,this.length),this[V]<<8|this[V+1]},u.prototype.readUInt32LE=function(V,X){return X||K(V,4,this.length),(this[V]|this[V+1]<<8|this[V+2]<<16)+this[V+3]*16777216},u.prototype.readUInt32BE=function(V,X){return X||K(V,4,this.length),this[V]*16777216+(this[V+1]<<16|this[V+2]<<8|this[V+3])},u.prototype.readIntLE=function(V,X,Z){V=V|0,X=X|0,Z||K(V,X,this.length);for(var ge=this[V],le=1,Se=0;++Se<X&&(le*=256);)ge+=this[V+Se]*le;return le*=128,ge>=le&&(ge-=Math.pow(2,8*X)),ge},u.prototype.readIntBE=function(V,X,Z){V=V|0,X=X|0,Z||K(V,X,this.length);for(var ge=X,le=1,Se=this[V+--ge];ge>0&&(le*=256);)Se+=this[V+--ge]*le;return le*=128,Se>=le&&(Se-=Math.pow(2,8*X)),Se},u.prototype.readInt8=function(V,X){return X||K(V,1,this.length),this[V]&128?(255-this[V]+1)*-1:this[V]},u.prototype.readInt16LE=function(V,X){X||K(V,2,this.length);var Z=this[V]|this[V+1]<<8;return Z&32768?Z|4294901760:Z},u.prototype.readInt16BE=function(V,X){X||K(V,2,this.length);var Z=this[V+1]|this[V]<<8;return Z&32768?Z|4294901760:Z},u.prototype.readInt32LE=function(V,X){return X||K(V,4,this.length),this[V]|this[V+1]<<8|this[V+2]<<16|this[V+3]<<24},u.prototype.readInt32BE=function(V,X){return X||K(V,4,this.length),this[V]<<24|this[V+1]<<16|this[V+2]<<8|this[V+3]},u.prototype.readFloatLE=function(V,X){return X||K(V,4,this.length),b.read(this,V,!0,23,4)},u.prototype.readFloatBE=function(V,X){return X||K(V,4,this.length),b.read(this,V,!1,23,4)},u.prototype.readDoubleLE=function(V,X){return X||K(V,8,this.length),b.read(this,V,!0,52,8)},u.prototype.readDoubleBE=function(V,X){return X||K(V,8,this.length),b.read(this,V,!1,52,8)};function U(ae,V,X,Z,ge,le){if(!u.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(V>ge||V<le)throw new RangeError('"value" argument is out of bounds');if(X+Z>ae.length)throw new RangeError("Index out of range")}u.prototype.writeUIntLE=function(V,X,Z,ge){if(V=+V,X=X|0,Z=Z|0,!ge){var le=Math.pow(2,8*Z)-1;U(this,V,X,Z,le,0)}var Se=1,me=0;for(this[X]=V&255;++me<Z&&(Se*=256);)this[X+me]=V/Se&255;return X+Z},u.prototype.writeUIntBE=function(V,X,Z,ge){if(V=+V,X=X|0,Z=Z|0,!ge){var le=Math.pow(2,8*Z)-1;U(this,V,X,Z,le,0)}var Se=Z-1,me=1;for(this[X+Se]=V&255;--Se>=0&&(me*=256);)this[X+Se]=V/me&255;return X+Z},u.prototype.writeUInt8=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,1,255,0),u.TYPED_ARRAY_SUPPORT||(V=Math.floor(V)),this[X]=V&255,X+1};function G(ae,V,X,Z){V<0&&(V=65535+V+1);for(var ge=0,le=Math.min(ae.length-X,2);ge<le;++ge)ae[X+ge]=(V&255<<8*(Z?ge:1-ge))>>>(Z?ge:1-ge)*8}u.prototype.writeUInt16LE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[X]=V&255,this[X+1]=V>>>8):G(this,V,X,!0),X+2},u.prototype.writeUInt16BE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[X]=V>>>8,this[X+1]=V&255):G(this,V,X,!1),X+2};function z(ae,V,X,Z){V<0&&(V=4294967295+V+1);for(var ge=0,le=Math.min(ae.length-X,4);ge<le;++ge)ae[X+ge]=V>>>(Z?ge:3-ge)*8&255}u.prototype.writeUInt32LE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[X+3]=V>>>24,this[X+2]=V>>>16,this[X+1]=V>>>8,this[X]=V&255):z(this,V,X,!0),X+4},u.prototype.writeUInt32BE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[X]=V>>>24,this[X+1]=V>>>16,this[X+2]=V>>>8,this[X+3]=V&255):z(this,V,X,!1),X+4},u.prototype.writeIntLE=function(V,X,Z,ge){if(V=+V,X=X|0,!ge){var le=Math.pow(2,8*Z-1);U(this,V,X,Z,le-1,-le)}var Se=0,me=1,$=0;for(this[X]=V&255;++Se<Z&&(me*=256);)V<0&&$===0&&this[X+Se-1]!==0&&($=1),this[X+Se]=(V/me>>0)-$&255;return X+Z},u.prototype.writeIntBE=function(V,X,Z,ge){if(V=+V,X=X|0,!ge){var le=Math.pow(2,8*Z-1);U(this,V,X,Z,le-1,-le)}var Se=Z-1,me=1,$=0;for(this[X+Se]=V&255;--Se>=0&&(me*=256);)V<0&&$===0&&this[X+Se+1]!==0&&($=1),this[X+Se]=(V/me>>0)-$&255;return X+Z},u.prototype.writeInt8=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,1,127,-128),u.TYPED_ARRAY_SUPPORT||(V=Math.floor(V)),V<0&&(V=255+V+1),this[X]=V&255,X+1},u.prototype.writeInt16LE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[X]=V&255,this[X+1]=V>>>8):G(this,V,X,!0),X+2},u.prototype.writeInt16BE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[X]=V>>>8,this[X+1]=V&255):G(this,V,X,!1),X+2},u.prototype.writeInt32LE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[X]=V&255,this[X+1]=V>>>8,this[X+2]=V>>>16,this[X+3]=V>>>24):z(this,V,X,!0),X+4},u.prototype.writeInt32BE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,4,2147483647,-2147483648),V<0&&(V=4294967295+V+1),u.TYPED_ARRAY_SUPPORT?(this[X]=V>>>24,this[X+1]=V>>>16,this[X+2]=V>>>8,this[X+3]=V&255):z(this,V,X,!1),X+4};function Y(ae,V,X,Z,ge,le){if(X+Z>ae.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("Index out of range")}function q(ae,V,X,Z,ge){return ge||Y(ae,V,X,4,34028234663852886e22,-34028234663852886e22),b.write(ae,V,X,Z,23,4),X+4}u.prototype.writeFloatLE=function(V,X,Z){return q(this,V,X,!0,Z)},u.prototype.writeFloatBE=function(V,X,Z){return q(this,V,X,!1,Z)};function oe(ae,V,X,Z,ge){return ge||Y(ae,V,X,8,17976931348623157e292,-17976931348623157e292),b.write(ae,V,X,Z,52,8),X+8}u.prototype.writeDoubleLE=function(V,X,Z){return oe(this,V,X,!0,Z)},u.prototype.writeDoubleBE=function(V,X,Z){return oe(this,V,X,!1,Z)},u.prototype.copy=function(V,X,Z,ge){if(Z||(Z=0),!ge&&ge!==0&&(ge=this.length),X>=V.length&&(X=V.length),X||(X=0),ge>0&&ge<Z&&(ge=Z),ge===Z)return 0;if(V.length===0||this.length===0)return 0;if(X<0)throw new RangeError("targetStart out of bounds");if(Z<0||Z>=this.length)throw new RangeError("sourceStart out of bounds");if(ge<0)throw new RangeError("sourceEnd out of bounds");ge>this.length&&(ge=this.length),V.length-X<ge-Z&&(ge=V.length-X+Z);var le=ge-Z,Se;if(this===V&&Z<X&&X<ge)for(Se=le-1;Se>=0;--Se)V[Se+X]=this[Se+Z];else if(le<1e3||!u.TYPED_ARRAY_SUPPORT)for(Se=0;Se<le;++Se)V[Se+X]=this[Se+Z];else Uint8Array.prototype.set.call(V,this.subarray(Z,Z+le),X);return le},u.prototype.fill=function(V,X,Z,ge){if(typeof V=="string"){if(typeof X=="string"?(ge=X,X=0,Z=this.length):typeof Z=="string"&&(ge=Z,Z=this.length),V.length===1){var le=V.charCodeAt(0);le<256&&(V=le)}if(ge!==void 0&&typeof ge!="string")throw new TypeError("encoding must be a string");if(typeof ge=="string"&&!u.isEncoding(ge))throw new TypeError("Unknown encoding: "+ge)}else typeof V=="number"&&(V=V&255);if(X<0||this.length<X||this.length<Z)throw new RangeError("Out of range index");if(Z<=X)return this;X=X>>>0,Z=Z===void 0?this.length:Z>>>0,V||(V=0);var Se;if(typeof V=="number")for(Se=X;Se<Z;++Se)this[Se]=V;else{var me=u.isBuffer(V)?V:_e(new u(V,ge).toString()),$=me.length;for(Se=0;Se<Z-X;++Se)this[Se+X]=me[Se%$]}return this};var ie=/[^+\/0-9A-Za-z-_]/g;function se(ae){if(ae=he(ae).replace(ie,""),ae.length<2)return"";for(;ae.length%4!==0;)ae=ae+"=";return ae}function he(ae){return ae.trim?ae.trim():ae.replace(/^\s+|\s+$/g,"")}function pe(ae){return ae<16?"0"+ae.toString(16):ae.toString(16)}function _e(ae,V){V=V||Infinity;for(var X,Z=ae.length,ge=null,le=[],Se=0;Se<Z;++Se){if(X=ae.charCodeAt(Se),X>55295&&X<57344){if(!ge){if(X>56319){(V-=3)>-1&&le.push(239,191,189);continue}else if(Se+1===Z){(V-=3)>-1&&le.push(239,191,189);continue}ge=X;continue}if(X<56320){(V-=3)>-1&&le.push(239,191,189),ge=X;continue}X=(ge-55296<<10|X-56320)+65536}else ge&&((V-=3)>-1&&le.push(239,191,189));if(ge=null,X<128){if((V-=1)<0)break;le.push(X)}else if(X<2048){if((V-=2)<0)break;le.push(X>>6|192,X&63|128)}else if(X<65536){if((V-=3)<0)break;le.push(X>>12|224,X>>6&63|128,X&63|128)}else if(X<1114112){if((V-=4)<0)break;le.push(X>>18|240,X>>12&63|128,X>>6&63|128,X&63|128)}else throw new Error("Invalid code point")}return le}function De(ae){for(var V=[],X=0;X<ae.length;++X)V.push(ae.charCodeAt(X)&255);return V}function Xe(ae,V){for(var X,Z,ge,le=[],Se=0;Se<ae.length&&!((V-=2)<0);++Se)X=ae.charCodeAt(Se),Z=X>>8,ge=X%256,le.push(ge),le.push(Z);return le}function J(ae){return A.toByteArray(se(ae))}function Ee(ae,V,X,Z){for(var ge=0;ge<Z&&!(ge+X>=V.length||ge>=ae.length);++ge)V[ge+X]=ae[ge];return ge}function qe(ae){return ae!==ae}}).call(this,d("IyRk"))},"HF/U":function(k,B,d){var w=d("QBsz");function A(g){var v=g.coordinateSystem;if(v&&v.type!=="view")return;var f=g.getGraph();f.eachNode(function(l){var u=l.getModel();l.setLayout([+u.get("x"),+u.get("y")])}),b(f)}function b(g){g.eachEdge(function(v){var f=v.getModel().get("lineStyle.curveness")||0,l=w.clone(v.node1.getLayout()),u=w.clone(v.node2.getLayout()),o=[l,u];+f&&o.push([(l[0]+u[0])/2-(l[1]-u[1])*f,(l[1]+u[1])/2-(u[0]-l[0])*f]),v.setLayout(o)})}B.simpleLayout=A,B.simpleLayoutEdge=b},"HM/N":function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=d("/SeX"),v=d("OELB"),f=v.parsePercent,l=d("aX7z"),u=l.createScaleByModel,o=l.niceScaleExtent,e=d("IDmD"),n=d("7hqr"),i=n.getStackedDimension;d("ePAk");function r(c,h,p){var m=h.get("center"),S=p.getWidth(),y=p.getHeight();c.cx=f(m[0],S),c.cy=f(m[1],y);var x=c.getRadiusAxis(),C=Math.min(S,y)/2,T=h.get("radius");T==null?T=[0,"100%"]:b.isArray(T)||(T=[0,T]),T=[f(T[0],C),f(T[1],C)],x.inverse?x.setExtent(T[1],T[0]):x.setExtent(T[0],T[1])}function s(c,h){var p=this,m=p.getAngleAxis(),S=p.getRadiusAxis();if(m.scale.setExtent(Infinity,-Infinity),S.scale.setExtent(Infinity,-Infinity),c.eachSeries(function(C){if(C.coordinateSystem===p){var T=C.getData();b.each(T.mapDimension("radius",!0),function(_){S.scale.unionExtentFromData(T,i(T,_))}),b.each(T.mapDimension("angle",!0),function(_){m.scale.unionExtentFromData(T,i(T,_))})}}),o(m.scale,m.model),o(S.scale,S.model),m.type==="category"&&!m.onBand){var y=m.getExtent(),x=360/m.scale.count();m.inverse?y[1]+=x:y[1]-=x,m.setExtent(y[0],y[1])}}function t(c,h){if(c.type=h.get("type"),c.scale=u(h),c.onBand=h.get("boundaryGap")&&c.type==="category",c.inverse=h.get("inverse"),h.mainType==="angleAxis"){c.inverse^=h.get("clockwise");var p=h.get("startAngle");c.setExtent(p,p+(c.inverse?-360:360))}h.axis=c,c.model=h}var a={dimensions:g.prototype.dimensions,create:function(c,h){var p=[];return c.eachComponent("polar",function(m,S){var y=new g(S);y.update=s;var x=y.getRadiusAxis(),C=y.getAngleAxis(),T=m.findAxisModel("radiusAxis"),_=m.findAxisModel("angleAxis");t(x,T),t(C,_),r(y,m,h),p.push(y),m.coordinateSystem=y,y.model=m}),c.eachSeries(function(m){if(m.get("coordinateSystem")==="polar"){var S=c.queryComponents({mainType:"polar",index:m.get("polarIndex"),id:m.get("polarId")})[0];m.coordinateSystem=S.coordinateSystem}}),p}};e.register("polar",a)},HjIi:function(k,B,d){var w=d("bYtY"),A=d("OELB"),b=A.parsePercent,g=d("7hqr"),v=g.isDimensionStacked;function f(n){return n.get("stack")||"__ec_stack_"+n.seriesIndex}function l(n,i){return i.dim+n.model.componentIndex}function u(n,i,r){var s={},t=o(w.filter(i.getSeriesByType(n),function(a){return!i.isSeriesFiltered(a)&&a.coordinateSystem&&a.coordinateSystem.type==="polar"}));i.eachSeriesByType(n,function(a){if(a.coordinateSystem.type!=="polar")return;var c=a.getData(),h=a.coordinateSystem,p=h.getBaseAxis(),m=l(h,p),S=f(a),y=t[m][S],x=y.offset,C=y.width,T=h.getOtherAxis(p),_=a.coordinateSystem.cx,E=a.coordinateSystem.cy,I=a.get("barMinHeight")||0,L=a.get("barMinAngle")||0;s[S]=s[S]||[];for(var D=c.mapDimension(T.dim),F=c.mapDimension(p.dim),N=v(c,D),P=p.dim!=="radius"||!a.get("roundCap",!0),W=T.getExtent()[0],R=0,j=c.count();R<j;R++){var H=c.get(D,R),K=c.get(F,R),U=H>=0?"p":"n",G=W;N&&(s[S][K]||(s[S][K]={p:W,n:W}),G=s[S][K][U]);var z,Y,q,oe;if(T.dim==="radius"){var ie=T.dataToRadius(H)-W,se=p.dataToAngle(K);Math.abs(ie)<I&&(ie=(ie<0?-1:1)*I),z=G,Y=G+ie,q=se-x,oe=q-C,N&&(s[S][K][U]=Y)}else{var he=T.dataToAngle(H,P)-W,pe=p.dataToRadius(K);Math.abs(he)<L&&(he=(he<0?-1:1)*L),z=pe+x,Y=z+C,q=G,oe=G+he,N&&(s[S][K][U]=oe)}c.setItemLayout(R,{cx:_,cy:E,r0:z,r:Y,startAngle:-q*Math.PI/180,endAngle:-oe*Math.PI/180})}},this)}function o(n,i){var r={};w.each(n,function(t,a){var c=t.getData(),h=t.coordinateSystem,p=h.getBaseAxis(),m=l(h,p),S=p.getExtent(),y=p.type==="category"?p.getBandWidth():Math.abs(S[1]-S[0])/c.count(),x=r[m]||{bandWidth:y,remainedWidth:y,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},C=x.stacks;r[m]=x;var T=f(t);C[T]||x.autoWidthCount++,C[T]=C[T]||{width:0,maxWidth:0};var _=b(t.get("barWidth"),y),E=b(t.get("barMaxWidth"),y),I=t.get("barGap"),L=t.get("barCategoryGap");_&&!C[T].width&&(_=Math.min(x.remainedWidth,_),C[T].width=_,x.remainedWidth-=_),E&&(C[T].maxWidth=E),I!=null&&(x.gap=I),L!=null&&(x.categoryGap=L)});var s={};return w.each(r,function(t,a){s[a]={};var c=t.stacks,h=t.bandWidth,p=b(t.categoryGap,h),m=b(t.gap,1),S=t.remainedWidth,y=t.autoWidthCount,x=(S-p)/(y+(y-1)*m);x=Math.max(x,0),w.each(c,function(E,I){var L=E.maxWidth;L&&L<x&&(L=Math.min(L,S),E.width&&(L=Math.min(L,E.width)),S-=L,E.width=L,y--)}),x=(S-p)/(y+(y-1)*m),x=Math.max(x,0);var C=0,T;w.each(c,function(E,I){E.width||(E.width=x),T=E,C+=E.width*(1+m)}),T&&(C-=T.width*m);var _=-C/2;w.each(c,function(E,I){s[a][I]=s[a][I]||{offset:_,width:E.width},_+=E.width*(1+m)})}),s}var e=u;k.exports=e},HjOm:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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"},A=w;B.default=A},Hw7h:function(k,B,d){var w=d("y+Vt"),A=w.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(b,g){var v=Math.cos,f=Math.sin,l=g.r,u=g.width,o=g.angle,e=g.x-v(o)*u*(u>=l/3?1:2),n=g.y-f(o)*u*(u>=l/3?1:2);o=g.angle-Math.PI/2,b.moveTo(e,n),b.lineTo(g.x+v(o)*u,g.y+f(o)*u),b.lineTo(g.x+v(g.angle)*l,g.y+f(g.angle)*l),b.lineTo(g.x-v(o)*u,g.y-f(o)*u),b.lineTo(e,n);return}});k.exports=A},Hxpc:function(k,B,d){var w=d("bYtY"),A=d("4NO4"),b=d("bLfw"),g=d("Qxkt"),v=d("cCMj"),f=d("7uqq"),l=b.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(o){b.prototype.init.apply(this,arguments),A.defaultEmphasis(o,"label",["show"])},optionUpdated:function(){var o=this.option,e=this;o.regions=f.getFilledRegions(o.regions,o.map,o.nameMap),this._optionModelMap=w.reduce(o.regions||[],function(n,i){return i.name&&n.set(i.name,new g(i,e)),n},w.createHashMap()),this.updateSelectedMap(o.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(o){return this._optionModelMap.get(o)||new g(null,this,this.ecModel)},getFormattedLabel:function(o,e){var n=this.getRegionModel(o),i=n.get("label"+(e==="normal"?".":e+".")+"formatter"),r={name:o};if(typeof i=="function")return r.status=e,i(r);if(typeof i=="string")return i.replace("{a}",o!=null?o:"")},setZoom:function(o){this.option.zoom=o},setCenter:function(o){this.option.center=o}});w.mixin(l,v);var u=l;k.exports=u},"I+77":function(k,B,d){var w=d("ProS");d("h54F"),d("lwQL"),d("10cm");var A=d("Z1r0"),b=d("f5Yq"),g=d("KUOm"),v=d("3m61"),f=d("01d+"),l=d("rdor"),u=d("WGYa"),o=d("ewwo");w.registerProcessor(A),w.registerVisual(b("graph","circle",null)),w.registerVisual(g),w.registerVisual(v),w.registerLayout(f),w.registerLayout(w.PRIORITY.VISUAL.POST_CHART_LAYOUT,l),w.registerLayout(u),w.registerCoordinateSystem("graphView",{create:o})},"I+Bx":function(k,B,d){var w=d("bYtY"),A=d("eIcI"),b=d("ieMj"),g=d("OELB"),v=d("aX7z"),f=v.getScaleExtent,l=v.niceScaleExtent,u=d("IDmD"),o=d("jCoz");function e(i,r,s){this._model=i,this.dimensions=[],this._indicatorAxes=w.map(i.getIndicatorModels(),function(t,a){var c="indicator_"+a,h=new A(c,t.get("axisType")==="log"?new o:new b);return h.name=t.get("name"),h.model=t,t.axis=h,this.dimensions.push(c),h},this),this.resize(i,s),this.cx,this.cy,this.r,this.r0,this.startAngle}e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(i,r){var s=this._indicatorAxes[r];return this.coordToPoint(s.dataToCoord(i),r)},e.prototype.coordToPoint=function(i,r){var s=this._indicatorAxes[r],t=s.angle,a=this.cx+i*Math.cos(t),c=this.cy-i*Math.sin(t);return[a,c]},e.prototype.pointToData=function(i){var r=i[0]-this.cx,s=i[1]-this.cy,t=Math.sqrt(r*r+s*s);r/=t,s/=t;for(var a=Math.atan2(-s,r),c=Infinity,h,p=-1,m=0;m<this._indicatorAxes.length;m++){var S=this._indicatorAxes[m],y=Math.abs(a-S.angle);y<c&&(h=S,p=m,c=y)}return[p,+(h&&h.coordToData(t))]},e.prototype.resize=function(i,r){var s=i.get("center"),t=r.getWidth(),a=r.getHeight(),c=Math.min(t,a)/2;this.cx=g.parsePercent(s[0],t),this.cy=g.parsePercent(s[1],a),this.startAngle=i.get("startAngle")*Math.PI/180;var h=i.get("radius");(typeof h=="string"||typeof h=="number")&&(h=[0,h]),this.r0=g.parsePercent(h[0],c),this.r=g.parsePercent(h[1],c),w.each(this._indicatorAxes,function(p,m){p.setExtent(this.r0,this.r);var S=this.startAngle+m*Math.PI*2/this._indicatorAxes.length;S=Math.atan2(Math.sin(S),Math.cos(S)),p.angle=S},this)},e.prototype.update=function(i,r){var s=this._indicatorAxes,t=this._model;w.each(s,function(h){h.scale.setExtent(Infinity,-Infinity)}),i.eachSeriesByType("radar",function(h,p){if(h.get("coordinateSystem")!=="radar"||i.getComponent("radar",h.get("radarIndex"))!==t)return;var m=h.getData();w.each(s,function(S){S.scale.unionExtentFromData(m,m.mapDimension(S.dim))})},this);var a=t.get("splitNumber");function c(h){var p=Math.pow(10,Math.floor(Math.log(h)/Math.LN10)),m=h/p;return m===2?m=5:m*=2,m*p}w.each(s,function(h,p){var m=f(h.scale,h.model).extent;l(h.scale,h.model);var S=h.model,y=h.scale,x=S.getMin(),C=S.getMax(),T=y.getInterval();if(x!=null&&C!=null)y.setExtent(+x,+C),y.setInterval((C-x)/a);else if(x!=null){var _;do _=x+T*a,y.setExtent(+x,_),y.setInterval(T),T=c(T);while(_<m[1]&&isFinite(_)&&isFinite(m[1]))}else if(C!=null){var E;do E=C-T*a,y.setExtent(E,+C),y.setInterval(T),T=c(T);while(E>m[0]&&isFinite(E)&&isFinite(m[0]))}else{var I=y.getTicks().length-1;I>a&&(T=c(T));var _=Math.ceil(m[1]/T)*T,E=g.round(_-T*a);y.setExtent(E,_),y.setInterval(T)}})},e.dimensions=[],e.create=function(i,r){var s=[];return i.eachComponent("radar",function(t){var a=new e(t,i,r);s.push(a),t.coordinateSystem=a}),i.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=s[t.get("radarIndex")||0])}),s},u.register("radar",e);var n=e;k.exports=n},"I3/A":function(k,B,d){var w=d("bYtY"),A=d("YXkt"),b=d("c2i1"),g=d("Mdki"),v=d("sdST"),f=d("IDmD"),l=d("MwEJ");function u(o,e,n,i,r){for(var s=new b(i),t=0;t<o.length;t++)s.addNode(w.retrieve(o[t].id,o[t].name,t),t);for(var a=[],c=[],h=0,t=0;t<e.length;t++){var p=e[t],m=p.source,S=p.target;s.addEdge(m,S,h)&&(c.push(p),a.push(w.retrieve(p.id,m+" > "+S)),h++)}var y=n.get("coordinateSystem"),x;if(y==="cartesian2d"||y==="polar")x=l(o,n);else{var C=f.get(y),T=C&&C.type!=="view"?C.dimensions||[]:[];w.indexOf(T,"value")<0&&T.concat(["value"]);var _=v(o,{coordDimensions:T});x=new A(_,n),x.initData(o)}var E=new A(["value"],n);return E.initData(c,a),r&&r(x,E),g({mainData:x,struct:s,structAttr:"graph",datas:{node:x,edge:E},datasAttr:{node:"data",edge:"edgeData"}}),s.update(),s}k.exports=u},ICMv:function(k,B,d){var w=d("bYtY"),A={getMin:function(b){var g=this.option,v=!b&&g.rangeStart!=null?g.rangeStart:g.min;return this.axis&&v!=null&&v!=="dataMin"&&typeof v!="function"&&!w.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getMax:function(b){var g=this.option,v=!b&&g.rangeEnd!=null?g.rangeEnd:g.max;return this.axis&&v!=null&&v!=="dataMax"&&typeof v!="function"&&!w.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getNeedCrossZero:function(){var b=this.option;return b.rangeStart!=null||b.rangeEnd!=null?!1:!b.scale},getCoordSysModel:w.noop,setRange:function(b,g){this.option.rangeStart=b,this.option.rangeEnd=g},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};k.exports=A},IDmD:function(k,B,d){var w=d("bYtY"),A={};function b(){this._coordinateSystems=[]}b.prototype={constructor:b,create:function(v,f){var l=[];w.each(A,function(u,o){var e=u.create(v,f);l=l.concat(e||[])}),this._coordinateSystems=l},update:function(v,f){w.each(this._coordinateSystems,function(l){l.update&&l.update(v,f)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},b.register=function(v,f){A[v]=f},b.get=function(v){return A[v]};var g=b;k.exports=g},IMiH:function(k,B,d){var w=d("Sj9i"),A=d("QBsz"),b=d("4mN7"),g=d("mFDi"),v=d("LPTA"),f=v.devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],o=[],e=[],n=[],i=Math.min,r=Math.max,s=Math.cos,t=Math.sin,a=Math.sqrt,c=Math.abs,h=typeof Float32Array!="undefined",p=function(y){this._saveData=!(y||!1),this._saveData&&(this.data=[]),this._ctx=null};p.prototype={constructor:p,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(y,x,C){C=C||0,this._ux=c(C/f/y)||0,this._uy=c(C/f/x)||0},getContext:function(){return this._ctx},beginPath:function(y){return this._ctx=y,y&&y.beginPath(),y&&(this.dpr=y.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(y,x){return this.addData(l.M,y,x),this._ctx&&this._ctx.moveTo(y,x),this._x0=y,this._y0=x,this._xi=y,this._yi=x,this},lineTo:function(y,x){var C=c(y-this._xi)>this._ux||c(x-this._yi)>this._uy||this._len<5;return this.addData(l.L,y,x),this._ctx&&C&&(this._needsDash()?this._dashedLineTo(y,x):this._ctx.lineTo(y,x)),C&&(this._xi=y,this._yi=x),this},bezierCurveTo:function(y,x,C,T,_,E){return this.addData(l.C,y,x,C,T,_,E),this._ctx&&(this._needsDash()?this._dashedBezierTo(y,x,C,T,_,E):this._ctx.bezierCurveTo(y,x,C,T,_,E)),this._xi=_,this._yi=E,this},quadraticCurveTo:function(y,x,C,T){return this.addData(l.Q,y,x,C,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(y,x,C,T):this._ctx.quadraticCurveTo(y,x,C,T)),this._xi=C,this._yi=T,this},arc:function(y,x,C,T,_,E){return this.addData(l.A,y,x,C,C,T,_-T,0,E?0:1),this._ctx&&this._ctx.arc(y,x,C,T,_,E),this._xi=s(_)*C+y,this._yi=t(_)*C+x,this},arcTo:function(y,x,C,T,_){return this._ctx&&this._ctx.arcTo(y,x,C,T,_),this},rect:function(y,x,C,T){return this._ctx&&this._ctx.rect(y,x,C,T),this.addData(l.R,y,x,C,T),this},closePath:function(){this.addData(l.Z);var y=this._ctx,x=this._x0,C=this._y0;return y&&(this._needsDash()&&this._dashedLineTo(x,C),y.closePath()),this._xi=x,this._yi=C,this},fill:function(y){y&&y.fill(),this.toStatic()},stroke:function(y){y&&y.stroke(),this.toStatic()},setLineDash:function(y){if(y instanceof Array){this._lineDash=y,this._dashIdx=0;for(var x=0,C=0;C<y.length;C++)x+=y[C];this._dashSum=x}return this},setLineDashOffset:function(y){return this._dashOffset=y,this},len:function(){return this._len},setData:function(y){var x=y.length;!(this.data&&this.data.length===x)&&h&&(this.data=new Float32Array(x));for(var C=0;C<x;C++)this.data[C]=y[C];this._len=x},appendPath:function(y){y instanceof Array||(y=[y]);for(var x=y.length,C=0,T=this._len,_=0;_<x;_++)C+=y[_].len();h&&this.data instanceof Float32Array&&(this.data=new Float32Array(T+C));for(var _=0;_<x;_++)for(var E=y[_].data,I=0;I<E.length;I++)this.data[T++]=E[I];this._len=T},addData:function(y){if(!this._saveData)return;var x=this.data;this._len+arguments.length>x.length&&(this._expandData(),x=this.data);for(var C=0;C<arguments.length;C++)x[this._len++]=arguments[C];this._prevCmd=y},_expandData:function(){if(!(this.data instanceof Array)){for(var y=[],x=0;x<this._len;x++)y[x]=this.data[x];this.data=y}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(y,x){var C=this._dashSum,T=this._dashOffset,_=this._lineDash,E=this._ctx,I=this._xi,L=this._yi,D=y-I,F=x-L,N=a(D*D+F*F),P=I,W=L,R,j=_.length,H;for(D/=N,F/=N,T<0&&(T=C+T),T%=C,P-=T*D,W-=T*F;D>0&&P<=y||D<0&&P>=y||D===0&&(F>0&&W<=x||F<0&&W>=x);){if(H=this._dashIdx,R=_[H],P+=D*R,W+=F*R,this._dashIdx=(H+1)%j,D>0&&P<I||D<0&&P>I||F>0&&W<L||F<0&&W>L)continue;E[H%2?"moveTo":"lineTo"](D>=0?i(P,y):r(P,y),F>=0?i(W,x):r(W,x))}D=P-y,F=W-x,this._dashOffset=-a(D*D+F*F)},_dashedBezierTo:function(y,x,C,T,_,E){var I=this._dashSum,L=this._dashOffset,D=this._lineDash,F=this._ctx,N=this._xi,P=this._yi,W,R,j,H=w.cubicAt,K=0,U=this._dashIdx,G=D.length,z,Y,q=0;for(L<0&&(L=I+L),L%=I,W=0;W<1;W+=.1)R=H(N,y,C,_,W+.1)-H(N,y,C,_,W),j=H(P,x,T,E,W+.1)-H(P,x,T,E,W),K+=a(R*R+j*j);for(;U<G&&!(q+=D[U],q>L);U++);for(W=(q-L)/K;W<=1;)z=H(N,y,C,_,W),Y=H(P,x,T,E,W),U%2?F.moveTo(z,Y):F.lineTo(z,Y),W+=D[U]/K,U=(U+1)%G;U%2!==0&&F.lineTo(_,E),R=_-z,j=E-Y,this._dashOffset=-a(R*R+j*j)},_dashedQuadraticTo:function(y,x,C,T){var _=C,E=T;C=(C+2*y)/3,T=(T+2*x)/3,y=(this._xi+2*y)/3,x=(this._yi+2*x)/3,this._dashedBezierTo(y,x,C,T,_,E)},toStatic:function(){var y=this.data;y instanceof Array&&(y.length=this._len,h&&(this.data=new Float32Array(y)))},getBoundingRect:function(){u[0]=u[1]=e[0]=e[1]=Number.MAX_VALUE,o[0]=o[1]=n[0]=n[1]=-Number.MAX_VALUE;for(var y=this.data,x=0,C=0,T=0,_=0,E=0;E<y.length;){var I=y[E++];E===1&&(x=y[E],C=y[E+1],T=x,_=C);switch(I){case l.M:T=y[E++],_=y[E++],x=T,C=_,e[0]=T,e[1]=_,n[0]=T,n[1]=_;break;case l.L:b.fromLine(x,C,y[E],y[E+1],e,n),x=y[E++],C=y[E++];break;case l.C:b.fromCubic(x,C,y[E++],y[E++],y[E++],y[E++],y[E],y[E+1],e,n),x=y[E++],C=y[E++];break;case l.Q:b.fromQuadratic(x,C,y[E++],y[E++],y[E],y[E+1],e,n),x=y[E++],C=y[E++];break;case l.A:var L=y[E++],D=y[E++],F=y[E++],N=y[E++],P=y[E++],W=y[E++]+P;E+=1;var R=1-y[E++];E===1&&(T=s(P)*F+L,_=t(P)*N+D),b.fromArc(L,D,F,N,P,W,R,e,n),x=s(W)*F+L,C=t(W)*N+D;break;case l.R:T=x=y[E++],_=C=y[E++];var j=y[E++],H=y[E++];b.fromLine(T,_,T+j,_+H,e,n);break;case l.Z:x=T,C=_;break}A.min(u,u,e),A.max(o,o,n)}return E===0&&(u[0]=u[1]=o[0]=o[1]=0),new g(u[0],u[1],o[0]-u[0],o[1]-u[1])},rebuildPath:function(y){for(var x=this.data,C,T,_,E,I,L,D=this._ux,F=this._uy,N=this._len,P=0;P<N;){var W=x[P++];P===1&&(_=x[P],E=x[P+1],C=_,T=E);switch(W){case l.M:C=_=x[P++],T=E=x[P++],y.moveTo(_,E);break;case l.L:I=x[P++],L=x[P++],(c(I-_)>D||c(L-E)>F||P===N-1)&&(y.lineTo(I,L),_=I,E=L);break;case l.C:y.bezierCurveTo(x[P++],x[P++],x[P++],x[P++],x[P++],x[P++]),_=x[P-2],E=x[P-1];break;case l.Q:y.quadraticCurveTo(x[P++],x[P++],x[P++],x[P++]),_=x[P-2],E=x[P-1];break;case l.A:var R=x[P++],j=x[P++],H=x[P++],K=x[P++],U=x[P++],G=x[P++],z=x[P++],Y=x[P++],q=H>K?H:K,oe=H>K?1:H/K,ie=H>K?K/H:1,se=Math.abs(H-K)>.001,he=U+G;se?(y.translate(R,j),y.rotate(z),y.scale(oe,ie),y.arc(0,0,q,U,he,1-Y),y.scale(1/oe,1/ie),y.rotate(-z),y.translate(-R,-j)):y.arc(R,j,q,U,he,1-Y),P===1&&(C=s(U)*H+R,T=t(U)*K+j),_=s(he)*H+R,E=t(he)*K+j;break;case l.R:C=_=x[P],T=E=x[P+1],y.rect(x[P++],x[P++],x[P++],x[P++]);break;case l.Z:y.closePath(),_=C,E=T}}}},p.CMD=l;var m=p;k.exports=m},IUWy:function(k,B){var d={};function w(b,g){d[b]=g}function A(b){return d[b]}B.register=w,B.get=A},IWNH:function(k,B,d){var w=d("T4UG"),A=d("Bsck"),b=d("7aKB"),g=b.encodeHTML,v=d("Qxkt"),f=w.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(l){var u={name:l.name,children:l.data},o=l.leaves||{},e=new v(o,this,this.ecModel),n=A.createTree(u,this,{},i);function i(a){a.wrapMethod("getItemModel",function(c,h){var p=n.getNodeByDataIndex(h);return(!p.children.length||!p.isExpand)&&(c.parentModel=e),c})}var r=0;n.eachNode("preorder",function(a){a.depth>r&&(r=a.depth)});var s=l.expandAndCollapse,t=s&&l.initialTreeDepth>=0?l.initialTreeDepth:r;return n.root.eachNode("preorder",function(a){var c=a.hostTree.data.getRawDataItem(a.dataIndex);a.isExpand=c&&c.collapsed!=null?!c.collapsed:a.depth<=t}),n.data},getOrient:function(){var l=this.get("orient");return l==="horizontal"?l="LR":l==="vertical"&&(l="TB"),l},setZoom:function(l){this.option.zoom=l},setCenter:function(l){this.option.center=l},formatTooltip:function(l){for(var u=this.getData().tree,o=u.root.children[0],e=u.getNodeByDataIndex(l),n=e.getValue(),i=e.name;e&&e!==o;)i=e.parentNode.name+"."+i,e=e.parentNode;return g(i+(isNaN(n)||n==null?"":" : "+n))},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}});k.exports=f},IWp7:function(k,B,d){var w=d("bYtY"),A=d("OELB"),b=d("7aKB"),g=d("lE7J"),v=d("ieMj"),f=v.prototype,l=Math.ceil,u=Math.floor,o=1e3,e=o*60,n=e*60,i=n*24,r=function(c,h,p,m){for(;p<m;){var S=p+m>>>1;c[S][1]<h?p=S+1:m=S}return p},s=v.extend({type:"time",getLabel:function(c){var h=this._stepLvl,p=new Date(c);return b.formatTime(h[0],p,this.getSetting("useUTC"))},niceExtent:function(c){var h=this._extent;if(h[0]===h[1]&&(h[0]-=i,h[1]+=i),h[1]===-Infinity&&h[0]===Infinity){var p=new Date;h[1]=+new Date(p.getFullYear(),p.getMonth(),p.getDate()),h[0]=h[1]-i}this.niceTicks(c.splitNumber,c.minInterval,c.maxInterval);var m=this._interval;c.fixMin||(h[0]=A.round(u(h[0]/m)*m)),c.fixMax||(h[1]=A.round(l(h[1]/m)*m))},niceTicks:function(c,h,p){c=c||10;var m=this._extent,S=m[1]-m[0],y=S/c;h!=null&&y<h&&(y=h),p!=null&&y>p&&(y=p);var x=t.length,C=r(t,y,0,x),T=t[Math.min(C,x-1)],_=T[1];if(T[0]==="year"){var E=S/_,I=A.nice(E/c,!0);_*=I}var L=this.getSetting("useUTC")?0:new Date(+m[0]||+m[1]).getTimezoneOffset()*60*1e3,D=[Math.round(l((m[0]-L)/_)*_+L),Math.round(u((m[1]-L)/_)*_+L)];g.fixExtent(D,m),this._stepLvl=T,this._interval=_,this._niceExtent=D},parse:function(c){return+A.parseDate(c)}});w.each(["contain","normalize"],function(c){s.prototype[c]=function(h){return f[c].call(this,this.parse(h))}});var t=[["hh:mm:ss",o],["hh:mm:ss",o*5],["hh:mm:ss",o*10],["hh:mm:ss",o*15],["hh:mm:ss",o*30],[`hh:mm
MM-dd`,e],[`hh:mm
MM-dd`,e*5],[`hh:mm
MM-dd`,e*10],[`hh:mm
MM-dd`,e*15],[`hh:mm
MM-dd`,e*30],[`hh:mm
MM-dd`,n],[`hh:mm
MM-dd`,n*2],[`hh:mm
MM-dd`,n*6],[`hh:mm
MM-dd`,n*12],[`MM-dd
yyyy`,i],[`MM-dd
yyyy`,i*2],[`MM-dd
yyyy`,i*3],[`MM-dd
yyyy`,i*4],[`MM-dd
yyyy`,i*5],[`MM-dd
yyyy`,i*6],["week",i*7],[`MM-dd
yyyy`,i*10],["week",i*14],["week",i*21],["month",i*31],["week",i*42],["month",i*62],["week",i*70],["quarter",i*95],["month",i*31*4],["month",i*31*5],["half-year",i*380/2],["month",i*31*8],["month",i*31*10],["year",i*380]];s.create=function(c){return new s({useUTC:c.ecModel.get("useUTC")})};var a=s;k.exports=a},IXuL:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("MwEJ"),g=d("T4UG"),v=g.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(f,l){return b(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}});k.exports=v},IXyC:function(k,B,d){var w=d("bYtY"),A=d("bLfw");d("3zoK");var b=A.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(){A.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(g){var v=this.option;g&&w.merge(v,g,!0),this._initDimensions()},contains:function(g,v){var f=g.get("parallelIndex");return f!=null&&v.getComponent("parallel",f)===this},setAxisExpand:function(g){w.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(v){g.hasOwnProperty(v)&&(this.option[v]=g[v])},this)},_initDimensions:function(){var g=this.dimensions=[],v=this.parallelAxisIndex=[],f=w.filter(this.dependentModels.parallelAxis,function(l){return(l.get("parallelIndex")||0)===this.componentIndex},this);w.each(f,function(l){g.push("dim"+l.get("dim")),v.push(l.componentIndex)})}});k.exports=b},ItGF:function(k,B){var d={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?d={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?d={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?d={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:d=A(navigator.userAgent);var w=d;function A(b){var g={},v={},f=b.match(/Firefox\/([\d.]+)/),l=b.match(/MSIE\s([\d.]+)/)||b.match(/Trident\/.+?rv:(([\d.]+))/),u=b.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(b);return f&&(v.firefox=!0,v.version=f[1]),l&&(v.ie=!0,v.version=l[1]),u&&(v.edge=!0,v.version=u[1]),o&&(v.weChat=!0),{browser:v,os:g,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"}}k.exports=w},ItS6:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=d("eP3c"),A=b(d("1q3G"));function b(u){return u&&u.__esModule?u:{default:u}}function g(u,o){if(!(u instanceof o))throw new TypeError("Cannot call a class as a function")}function v(u,o){for(var e=0;e<o.length;e++){var n=o[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,n.key,n)}}function f(u,o,e){return o&&v(u.prototype,o),e&&v(u,e),u}var l=function(){function u(){g(this,u),this.strm=new A.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,w.inflateInit)(this.strm,this.windowBits)}return f(u,[{key:"setInput",value:function(e){e?(this.strm.input=e,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(e){e>this.chunkSize&&(this.chunkSize=e,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=e;var n=(0,w.inflate)(this.strm,0);if(n<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=e)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,w.inflateReset)(this.strm)}}]),u}();B.default=l},Itpr:function(k,B,d){var w=d("+TT/");function A(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var a=[t],c,h;c=a.pop();)if(h=c.children,c.isExpand&&h.length)for(var p=h.length,m=p-1;m>=0;m--){var S=h[m];S.hierNode={defaultAncestor:null,ancestor:S,prelim:0,modifier:0,change:0,shift:0,i:m,thread:null},a.push(S)}}function b(t,a){var c=t.isExpand?t.children:[],h=t.parentNode.children,p=t.hierNode.i?h[t.hierNode.i-1]:null;if(c.length){u(t);var m=(c[0].hierNode.prelim+c[c.length-1].hierNode.prelim)/2;p?(t.hierNode.prelim=p.hierNode.prelim+a(t,p),t.hierNode.modifier=t.hierNode.prelim-m):t.hierNode.prelim=m}else p&&(t.hierNode.prelim=p.hierNode.prelim+a(t,p));t.parentNode.hierNode.defaultAncestor=o(t,p,t.parentNode.hierNode.defaultAncestor||h[0],a)}function g(t){var a=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:a},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function v(t){return arguments.length?t:s}function f(t,a){var c={};return t-=Math.PI/2,c.x=a*Math.cos(t),c.y=a*Math.sin(t),c}function l(t,a){return w.getLayoutRect(t.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})}function u(t){for(var a=t.children,c=a.length,h=0,p=0;--c>=0;){var m=a[c];m.hierNode.prelim+=h,m.hierNode.modifier+=h,p+=m.hierNode.change,h+=m.hierNode.shift+p}}function o(t,a,c,h){if(a){for(var p=t,m=t,S=m.parentNode.children[0],y=a,x=p.hierNode.modifier,C=m.hierNode.modifier,T=S.hierNode.modifier,_=y.hierNode.modifier;y=e(y),m=n(m),y&&m;){p=e(p),S=n(S),p.hierNode.ancestor=t;var E=y.hierNode.prelim+_-m.hierNode.prelim-C+h(y,m);E>0&&(r(i(y,t,c),t,E),C+=E,x+=E),_+=y.hierNode.modifier,C+=m.hierNode.modifier,x+=p.hierNode.modifier,T+=S.hierNode.modifier}y&&!e(p)&&(p.hierNode.thread=y,p.hierNode.modifier+=_-x),m&&!n(S)&&(S.hierNode.thread=m,S.hierNode.modifier+=C-T,c=t)}return c}function e(t){var a=t.children;return a.length&&t.isExpand?a[a.length-1]:t.hierNode.thread}function n(t){var a=t.children;return a.length&&t.isExpand?a[0]:t.hierNode.thread}function i(t,a,c){return t.hierNode.ancestor.parentNode===a.parentNode?t.hierNode.ancestor:c}function r(t,a,c){var h=c/(a.hierNode.i-t.hierNode.i);a.hierNode.change-=h,a.hierNode.shift+=c,a.hierNode.modifier+=c,a.hierNode.prelim+=c,t.hierNode.change+=h}function s(t,a){return t.parentNode===a.parentNode?1:2}B.init=A,B.firstWalk=b,B.secondWalk=g,B.separation=v,B.radialCoordinate=f,B.getViewRect=l},IwbS:function(k,B,d){var w=d("bYtY"),A=d("NC18"),b=d("Qe9p"),g=d("Fofx"),v=d("QBsz"),f=d("y+Vt"),l=d("DN4a"),u=d("Dagg");B.Image=u;var o=d("4fz+");B.Group=o;var e=d("dqUG");B.Text=e;var n=d("2fw6");B.Circle=n;var i=d("SqI9");B.Sector=i;var r=d("RXMa");B.Ring=r;var s=d("h7HQ");B.Polygon=s;var t=d("1Jh7");B.Polyline=t;var a=d("x6Kt");B.Rect=a;var c=d("yxFR");B.Line=c;var h=d("rA99");B.BezierCurve=h;var p=d("jTL6");B.Arc=p;var m=d("1MYJ");B.CompoundPath=m;var S=d("SKnc");B.LinearGradient=S;var y=d("3e3G");B.RadialGradient=y;var x=d("mFDi");B.BoundingRect=x;var C=d("OS9S");B.IncrementalDisplayable=C;var T=d("nPnh"),_=Math.max,E=Math.min,I={},L=1,D={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},F="emphasis",N="normal",P=1,W={},R={};function j(Rt){return f.extend(Rt)}function H(Rt,yt){return A.extendFromString(Rt,yt)}function K(Rt,yt){R[Rt]=yt}function U(Rt){if(R.hasOwnProperty(Rt))return R[Rt]}function G(Rt,yt,Jt,Lr){var zr=A.createFromString(Rt,yt);return Jt&&(Lr==="center"&&(Jt=Y(Jt,zr.getBoundingRect())),oe(zr,Jt)),zr}function z(Rt,yt,Jt){var Lr=new u({style:{image:Rt,x:yt.x,y:yt.y,width:yt.width,height:yt.height},onload:function(zr){if(Jt==="center"){var rn={width:zr.width,height:zr.height};Lr.setStyle(Y(yt,rn))}}});return Lr}function Y(Rt,yt){var Jt=yt.width/yt.height,Lr=Rt.height*Jt,zr;Lr<=Rt.width?zr=Rt.height:(Lr=Rt.width,zr=Lr/Jt);var rn=Rt.x+Rt.width/2,ei=Rt.y+Rt.height/2;return{x:rn-Lr/2,y:ei-zr/2,width:Lr,height:zr}}var q=A.mergePath;function oe(Rt,yt){if(!Rt.applyTransform)return;var Jt=Rt.getBoundingRect(),Lr=Jt.calculateTransform(yt);Rt.applyTransform(Lr)}function ie(Rt){return T.subPixelOptimizeLine(Rt.shape,Rt.shape,Rt.style),Rt}function se(Rt){return T.subPixelOptimizeRect(Rt.shape,Rt.shape,Rt.style),Rt}var he=T.subPixelOptimize;function pe(Rt){return Rt!=null&&Rt!=="none"}var _e=w.createHashMap(),De=0;function Xe(Rt){if(typeof Rt!="string")return Rt;var yt=_e.get(Rt);return yt||(yt=b.lift(Rt,-.1),De<1e4&&(_e.set(Rt,yt),De++)),yt}function J(Rt){if(!Rt.__hoverStlDirty)return;Rt.__hoverStlDirty=!1;var yt=Rt.__hoverStl;if(!yt){Rt.__cachedNormalStl=Rt.__cachedNormalZ2=null;return}var Jt=Rt.__cachedNormalStl={};Rt.__cachedNormalZ2=Rt.z2;var Lr=Rt.style;for(var zr in yt)yt[zr]!=null&&(Jt[zr]=Lr[zr]);Jt.fill=Lr.fill,Jt.stroke=Lr.stroke}function Ee(Rt){var yt=Rt.__hoverStl;if(!yt||Rt.__highlighted)return;var Jt=Rt.__zr,Lr=Rt.useHoverLayer&&Jt&&Jt.painter.type==="canvas";if(Rt.__highlighted=Lr?"layer":"plain",Rt.isGroup||!Jt&&Rt.useHoverLayer)return;var zr=Rt,rn=Rt.style;Lr&&(zr=Jt.addHover(Rt),rn=zr.style),Bt(rn),Lr||J(zr),rn.extendFrom(yt),qe(rn,yt,"fill"),qe(rn,yt,"stroke"),xt(rn),Lr||(Rt.dirty(!1),Rt.z2+=L)}function qe(Rt,yt,Jt){!pe(yt[Jt])&&pe(Rt[Jt])&&(Rt[Jt]=Xe(Rt[Jt]))}function ae(Rt){var yt=Rt.__highlighted;if(!yt)return;if(Rt.__highlighted=!1,Rt.isGroup)return;if(yt==="layer")Rt.__zr&&Rt.__zr.removeHover(Rt);else{var Jt=Rt.style,Lr=Rt.__cachedNormalStl;Lr&&(Bt(Jt),Rt.setStyle(Lr),xt(Jt));var zr=Rt.__cachedNormalZ2;zr!=null&&Rt.z2-zr===L&&(Rt.z2=zr)}}function V(Rt,yt,Jt){var Lr=N,zr=N,rn;Rt.__highlighted&&(Lr=F,rn=!0),yt(Rt,Jt),Rt.__highlighted&&(zr=F,rn=!0),Rt.isGroup&&Rt.traverse(function(ei){!ei.isGroup&&yt(ei,Jt)}),rn&&Rt.__highDownOnUpdate&&Rt.__highDownOnUpdate(Lr,zr)}function X(Rt,yt){yt=Rt.__hoverStl=yt!==!1&&(Rt.hoverStyle||yt||{}),Rt.__hoverStlDirty=!0,Rt.__highlighted&&(Rt.__cachedNormalStl=null,ae(Rt),Ee(Rt))}function Z(Rt){!me(this,Rt)&&!this.__highByOuter&&V(this,Ee)}function ge(Rt){!me(this,Rt)&&!this.__highByOuter&&V(this,ae)}function le(Rt){this.__highByOuter|=1<<(Rt||0),V(this,Ee)}function Se(Rt){!(this.__highByOuter&=~(1<<(Rt||0)))&&V(this,ae)}function me(Rt,yt){return Rt.__highDownSilentOnTouch&&yt.zrByTouch}function $(Rt,yt){we(Rt,!0),V(Rt,X,yt)}function we(Rt,yt){var Jt=yt===!1;if(Rt.__highDownSilentOnTouch=Rt.highDownSilentOnTouch,Rt.__highDownOnUpdate=Rt.highDownOnUpdate,!Jt||Rt.__highDownDispatcher){var Lr=Jt?"off":"on";Rt[Lr]("mouseover",Z)[Lr]("mouseout",ge),Rt[Lr]("emphasis",le)[Lr]("normal",Se),Rt.__highByOuter=Rt.__highByOuter||0,Rt.__highDownDispatcher=!Jt}}function xe(Rt){return!!(Rt&&Rt.__highDownDispatcher)}function We(Rt){var yt=W[Rt];return yt==null&&P<=32&&(yt=W[Rt]=P++),yt}function st(Rt,yt,Jt,Lr,zr,rn,ei){zr=zr||I;var fn=zr.labelFetcher,Zr=zr.labelDataIndex,bt=zr.labelDimIndex,ut=zr.labelProp,Oe=Jt.getShallow("show"),be=Lr.getShallow("show"),Fe;(Oe||be)&&(fn&&(Fe=fn.getFormattedLabel(Zr,"normal",null,bt,ut)),Fe==null&&(Fe=w.isFunction(zr.defaultText)?zr.defaultText(Zr,zr):zr.defaultText));var it=Oe?Fe:null,wt=be?w.retrieve2(fn?fn.getFormattedLabel(Zr,"emphasis",null,bt,ut):null,Fe):null;(it!=null||wt!=null)&&(Ne(Rt,Jt,rn,zr),Ne(yt,Lr,ei,zr,!0)),Rt.text=it,yt.text=wt}function nt(Rt,yt,Jt){var Lr=Rt.style;yt&&(Bt(Lr),Rt.setStyle(yt),xt(Lr)),Lr=Rt.__hoverStl,Jt&&Lr&&(Bt(Lr),w.extend(Lr,Jt),xt(Lr))}function Ne(Rt,yt,Jt,Lr,zr){return Ye(Rt,yt,Lr,zr),Jt&&w.extend(Rt,Jt),Rt}function St(Rt,yt,Jt){var Lr={isRectText:!0},zr;Jt===!1?zr=!0:Lr.autoColor=Jt,Ye(Rt,yt,Lr,zr)}function Ye(Rt,yt,Jt,Lr){if(Jt=Jt||I,Jt.isRectText){var zr;Jt.getTextPosition?zr=Jt.getTextPosition(yt,Lr):(zr=yt.getShallow("position")||(Lr?null:"inside"),zr==="outside"&&(zr="top")),Rt.textPosition=zr,Rt.textOffset=yt.getShallow("offset");var rn=yt.getShallow("rotate");rn!=null&&(rn*=Math.PI/180),Rt.textRotation=rn,Rt.textDistance=w.retrieve2(yt.getShallow("distance"),Lr?null:5)}var ei=yt.ecModel,fn=ei&&ei.option.textStyle,Zr=vt(yt),bt;if(Zr){bt={};for(var ut in Zr)if(Zr.hasOwnProperty(ut)){var Oe=yt.getModel(["rich",ut]);It(bt[ut]={},Oe,fn,Jt,Lr)}}return Rt.rich=bt,It(Rt,yt,fn,Jt,Lr,!0),Jt.forceRich&&!Jt.textStyle&&(Jt.textStyle={}),Rt}function vt(Rt){for(var yt;Rt&&Rt!==Rt.ecModel;){var Jt=(Rt.option||I).rich;if(Jt){yt=yt||{};for(var Lr in Jt)Jt.hasOwnProperty(Lr)&&(yt[Lr]=1)}Rt=Rt.parentModel}return yt}function It(Rt,yt,Jt,Lr,zr,rn){Jt=!zr&&Jt||I,Rt.textFill=Ut(yt.getShallow("color"),Lr)||Jt.color,Rt.textStroke=Ut(yt.getShallow("textBorderColor"),Lr)||Jt.textBorderColor,Rt.textStrokeWidth=w.retrieve2(yt.getShallow("textBorderWidth"),Jt.textBorderWidth),zr||(rn&&(Rt.insideRollbackOpt=Lr,xt(Rt)),Rt.textFill==null&&(Rt.textFill=Lr.autoColor)),Rt.fontStyle=yt.getShallow("fontStyle")||Jt.fontStyle,Rt.fontWeight=yt.getShallow("fontWeight")||Jt.fontWeight,Rt.fontSize=yt.getShallow("fontSize")||Jt.fontSize,Rt.fontFamily=yt.getShallow("fontFamily")||Jt.fontFamily,Rt.textAlign=yt.getShallow("align"),Rt.textVerticalAlign=yt.getShallow("verticalAlign")||yt.getShallow("baseline"),Rt.textLineHeight=yt.getShallow("lineHeight"),Rt.textWidth=yt.getShallow("width"),Rt.textHeight=yt.getShallow("height"),Rt.textTag=yt.getShallow("tag"),(!rn||!Lr.disableBox)&&(Rt.textBackgroundColor=Ut(yt.getShallow("backgroundColor"),Lr),Rt.textPadding=yt.getShallow("padding"),Rt.textBorderColor=Ut(yt.getShallow("borderColor"),Lr),Rt.textBorderWidth=yt.getShallow("borderWidth"),Rt.textBorderRadius=yt.getShallow("borderRadius"),Rt.textBoxShadowColor=yt.getShallow("shadowColor"),Rt.textBoxShadowBlur=yt.getShallow("shadowBlur"),Rt.textBoxShadowOffsetX=yt.getShallow("shadowOffsetX"),Rt.textBoxShadowOffsetY=yt.getShallow("shadowOffsetY")),Rt.textShadowColor=yt.getShallow("textShadowColor")||Jt.textShadowColor,Rt.textShadowBlur=yt.getShallow("textShadowBlur")||Jt.textShadowBlur,Rt.textShadowOffsetX=yt.getShallow("textShadowOffsetX")||Jt.textShadowOffsetX,Rt.textShadowOffsetY=yt.getShallow("textShadowOffsetY")||Jt.textShadowOffsetY}function Ut(Rt,yt){return Rt!=="auto"?Rt:yt&&yt.autoColor?yt.autoColor:null}function xt(Rt){var yt=Rt.textPosition,Jt=Rt.insideRollbackOpt,Lr;if(Jt&&Rt.textFill==null){var zr=Jt.autoColor,rn=Jt.isRectText,ei=Jt.useInsideStyle,fn=ei!==!1&&(ei===!0||rn&&yt&&typeof yt=="string"&&yt.indexOf("inside")>=0),Zr=!fn&&zr!=null;(fn||Zr)&&(Lr={textFill:Rt.textFill,textStroke:Rt.textStroke,textStrokeWidth:Rt.textStrokeWidth}),fn&&(Rt.textFill="#fff",Rt.textStroke==null&&(Rt.textStroke=zr,Rt.textStrokeWidth==null&&(Rt.textStrokeWidth=2))),Zr&&(Rt.textFill=zr)}Rt.insideRollback=Lr}function Bt(Rt){var yt=Rt.insideRollback;yt&&(Rt.textFill=yt.textFill,Rt.textStroke=yt.textStroke,Rt.textStrokeWidth=yt.textStrokeWidth,Rt.insideRollback=null)}function Qe(Rt,yt){var Jt=yt&&yt.getModel("textStyle");return w.trim([Rt.fontStyle||Jt&&Jt.getShallow("fontStyle")||"",Rt.fontWeight||Jt&&Jt.getShallow("fontWeight")||"",(Rt.fontSize||Jt&&Jt.getShallow("fontSize")||12)+"px",Rt.fontFamily||Jt&&Jt.getShallow("fontFamily")||"sans-serif"].join(" "))}function te(Rt,yt,Jt,Lr,zr,rn){typeof zr=="function"&&(rn=zr,zr=null);var ei=Lr&&Lr.isAnimationEnabled();if(ei){var fn=Rt?"Update":"",Zr=Lr.getShallow("animationDuration"+fn),bt=Lr.getShallow("animationEasing"+fn),ut=Lr.getShallow("animationDelay"+fn);typeof ut=="function"&&(ut=ut(zr,Lr.getAnimationDelayParams?Lr.getAnimationDelayParams(yt,zr):null)),typeof Zr=="function"&&(Zr=Zr(zr)),Zr>0?yt.animateTo(Jt,Zr,ut||0,bt,rn,!!rn):(yt.stopAnimation(),yt.attr(Jt),rn&&rn())}else yt.stopAnimation(),yt.attr(Jt),rn&&rn()}function Q(Rt,yt,Jt,Lr,zr){te(!0,Rt,yt,Jt,Lr,zr)}function Me(Rt,yt,Jt,Lr,zr){te(!1,Rt,yt,Jt,Lr,zr)}function Ce(Rt,yt){for(var Jt=g.identity([]);Rt&&Rt!==yt;)g.mul(Jt,Rt.getLocalTransform(),Jt),Rt=Rt.parent;return Jt}function ue(Rt,yt,Jt){return yt&&!w.isArrayLike(yt)&&(yt=l.getLocalTransform(yt)),Jt&&(yt=g.invert([],yt)),v.applyTransform([],Rt,yt)}function ot(Rt,yt,Jt){var Lr=yt[4]===0||yt[5]===0||yt[0]===0?1:Math.abs(2*yt[4]/yt[0]),zr=yt[4]===0||yt[5]===0||yt[2]===0?1:Math.abs(2*yt[4]/yt[2]),rn=[Rt==="left"?-Lr:Rt==="right"?Lr:0,Rt==="top"?-zr:Rt==="bottom"?zr:0];return rn=ue(rn,yt,Jt),Math.abs(rn[0])>Math.abs(rn[1])?rn[0]>0?"right":"left":rn[1]>0?"bottom":"top"}function rt(Rt,yt,Jt,Lr){if(!Rt||!yt)return;function zr(fn){var Zr={};return fn.traverse(function(bt){!bt.isGroup&&bt.anid&&(Zr[bt.anid]=bt)}),Zr}function rn(fn){var Zr={position:v.clone(fn.position),rotation:fn.rotation};return fn.shape&&(Zr.shape=w.extend({},fn.shape)),Zr}var ei=zr(Rt);yt.traverse(function(fn){if(!fn.isGroup&&fn.anid){var Zr=ei[fn.anid];if(Zr){var bt=rn(fn);fn.attr(rn(Zr)),Q(fn,bt,Jt,fn.dataIndex)}}})}function Ue(Rt,yt){return w.map(Rt,function(Jt){var Lr=Jt[0];Lr=_(Lr,yt.x),Lr=E(Lr,yt.x+yt.width);var zr=Jt[1];return zr=_(zr,yt.y),zr=E(zr,yt.y+yt.height),[Lr,zr]})}function Ge(Rt,yt){var Jt=_(Rt.x,yt.x),Lr=E(Rt.x+Rt.width,yt.x+yt.width),zr=_(Rt.y,yt.y),rn=E(Rt.y+Rt.height,yt.y+yt.height);if(Lr>=Jt&&rn>=zr)return{x:Jt,y:zr,width:Lr-Jt,height:rn-zr}}function tt(Rt,yt,Jt){yt=w.extend({rectHover:!0},yt);var Lr=yt.style={strokeNoScale:!0};if(Jt=Jt||{x:-1,y:-1,width:2,height:2},Rt)return Rt.indexOf("image://")===0?(Lr.image=Rt.slice(8),w.defaults(Lr,Jt),new u(yt)):G(Rt.replace("path://",""),yt,Jt,"center")}function Wt(Rt,yt,Jt,Lr,zr){for(var rn=0,ei=zr[zr.length-1];rn<zr.length;rn++){var fn=zr[rn];if(jt(Rt,yt,Jt,Lr,fn[0],fn[1],ei[0],ei[1]))return!0;ei=fn}}function jt(Rt,yt,Jt,Lr,zr,rn,ei,fn){var Zr=Jt-Rt,bt=Lr-yt,ut=ei-zr,Oe=fn-rn,be=Yt(ut,Oe,Zr,bt);if(Tt(be))return!1;var Fe=Rt-zr,it=yt-rn,wt=Yt(Fe,it,Zr,bt)/be;if(wt<0||wt>1)return!1;var nr=Yt(Fe,it,ut,Oe)/be;return!(nr<0||nr>1)}function Yt(Rt,yt,Jt,Lr){return Rt*Lr-Jt*yt}function Tt(Rt){return Rt<=1e-6&&Rt>=-1e-6}K("circle",n),K("sector",i),K("ring",r),K("polygon",s),K("polyline",t),K("rect",a),K("line",c),K("bezierCurve",h),K("arc",p),B.Z2_EMPHASIS_LIFT=L,B.CACHED_LABEL_STYLE_PROPERTIES=D,B.extendShape=j,B.extendPath=H,B.registerShape=K,B.getShapeClass=U,B.makePath=G,B.makeImage=z,B.mergePath=q,B.resizePath=oe,B.subPixelOptimizeLine=ie,B.subPixelOptimizeRect=se,B.subPixelOptimize=he,B.setElementHoverStyle=X,B.setHoverStyle=$,B.setAsHighDownDispatcher=we,B.isHighDownDispatcher=xe,B.getHighlightDigit=We,B.setLabelStyle=st,B.modifyLabelStyle=nt,B.setTextStyle=Ne,B.setText=St,B.getFont=Qe,B.updateProps=Q,B.initProps=Me,B.getTransform=Ce,B.applyTransform=ue,B.transformDirection=ot,B.groupTransition=rt,B.clipPointsByRect=Ue,B.clipRectByRect=Ge,B.createIcon=tt,B.linePolygonIntersect=Wt,B.lineLineIntersect=jt},IyUQ:function(k,B,d){var w=d("bYtY"),A=d("YH21"),b=d("IwbS"),g=d("iLNv"),v=d("fc+c"),f=d("OELB"),l=d("+TT/"),u=d("72pK"),o=b.Rect,e=f.linearMap,n=f.asc,i=w.bind,r=w.each,s=7,t=1,a=30,c="horizontal",h="vertical",p=5,m=["line","bar","candlestick","scatter"],S=v.extend({type:"dataZoom.slider",init:function(T,_){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=_},render:function(T,_,E,I){if(S.superApply(this,"render",arguments),g.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=T.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!I||I.type!=="dataZoom"||I.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){S.superApply(this,"remove",arguments),g.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),g.clear(this,"_dispatchZoomAction")},_buildView:function(){var T=this.group;T.removeAll(),this._resetLocation(),this._resetInterval();var _=this._displayables.barGroup=new b.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),T.add(_),this._positionGroup()},_resetLocation:function(){var T=this.dataZoomModel,_=this.api,E=this._findCoordRect(),I={width:_.getWidth(),height:_.getHeight()},L=this._orient===c?{right:I.width-E.x-E.width,top:I.height-a-s,width:E.width,height:a}:{right:s,top:E.y,width:a,height:E.height},D=l.getLayoutParams(T.option);w.each(["right","top","width","height"],function(N){D[N]==="ph"&&(D[N]=L[N])});var F=l.getLayoutRect(D,I,T.padding);this._location={x:F.x,y:F.y},this._size=[F.width,F.height],this._orient===h&&this._size.reverse()},_positionGroup:function(){var T=this.group,_=this._location,E=this._orient,I=this.dataZoomModel.getFirstTargetAxisModel(),L=I&&I.get("inverse"),D=this._displayables.barGroup,F=(this._dataShadowInfo||{}).otherAxisInverse;D.attr(E===c&&!L?{scale:F?[1,1]:[1,-1]}:E===c&&L?{scale:F?[-1,1]:[-1,-1]}:E===h&&!L?{scale:F?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:F?[-1,-1]:[-1,1],rotation:Math.PI/2});var N=T.getBoundingRect([D]);T.attr("position",[_.x-N.x,_.y-N.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,_=this._size,E=this._displayables.barGroup;E.add(new o({silent:!0,shape:{x:0,y:0,width:_[0],height:_[1]},style:{fill:T.get("backgroundColor")},z2:-40})),E.add(new o({shape:{x:0,y:0,width:_[0],height:_[1]},style:{fill:"transparent"},z2:0,onclick:w.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var T=this._dataShadowInfo=this._prepareDataShadowInfo();if(!T)return;var _=this._size,E=T.series,I=E.getRawData(),L=E.getShadowDim?E.getShadowDim():T.otherDim;if(L==null)return;var D=I.getDataExtent(L),F=(D[1]-D[0])*.3;D=[D[0]-F,D[1]+F];var N=[0,_[1]],P=[0,_[0]],W=[[_[0],0],[0,0]],R=[],j=P[1]/(I.count()-1),H=0,K=Math.round(I.count()/_[0]),U;I.each([L],function(z,Y){if(K>0&&Y%K){H+=j;return}var q=z==null||isNaN(z)||z==="",oe=q?0:e(z,D,N,!0);q&&!U&&Y?(W.push([W[W.length-1][0],0]),R.push([R[R.length-1][0],0])):!q&&U&&(W.push([H,0]),R.push([H,0])),W.push([H,oe]),R.push([H,oe]),H+=j,U=q});var G=this.dataZoomModel;this._displayables.barGroup.add(new b.Polygon({shape:{points:W},style:w.defaults({fill:G.get("dataBackgroundColor")},G.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new b.Polyline({shape:{points:R},style:G.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var T=this.dataZoomModel,_=T.get("showDataShadow");if(_===!1)return;var E,I=this.ecModel;return T.eachTargetAxis(function(L,D){var F=T.getAxisProxy(L.name,D).getTargetSeriesModels();w.each(F,function(N){if(E)return;if(_!==!0&&w.indexOf(m,N.get("type"))<0)return;var P=I.getComponent(L.axis,D).axis,W=y(L.name),R,j=N.coordinateSystem;W!=null&&j.getOtherAxis&&(R=j.getOtherAxis(P).inverse),W=N.getData().mapDimension(W),E={thisAxis:P,series:N,thisDim:L.name,otherDim:W,otherAxisInverse:R}},this)},this),E},_renderHandle:function(){var T=this._displayables,_=T.handles=[],E=T.handleLabels=[],I=this._displayables.barGroup,L=this._size,D=this.dataZoomModel;I.add(T.filler=new o({draggable:!0,cursor:x(this._orient),drift:i(this._onDragMove,this,"all"),ondragstart:i(this._showDataInfo,this,!0),ondragend:i(this._onDragEnd,this),onmouseover:i(this._showDataInfo,this,!0),onmouseout:i(this._showDataInfo,this,!1),style:{fill:D.get("fillerColor"),textPosition:"inside"}})),I.add(new o({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:L[0],height:L[1]},style:{stroke:D.get("dataBackgroundColor")||D.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),r([0,1],function(F){var N=b.createIcon(D.get("handleIcon"),{cursor:x(this._orient),draggable:!0,drift:i(this._onDragMove,this,F),ondragend:i(this._onDragEnd,this),onmouseover:i(this._showDataInfo,this,!0),onmouseout:i(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),P=N.getBoundingRect();this._handleHeight=f.parsePercent(D.get("handleSize"),this._size[1]),this._handleWidth=P.width/P.height*this._handleHeight,N.setStyle(D.getModel("handleStyle").getItemStyle());var W=D.get("handleColor");W!=null&&(N.style.fill=W),I.add(_[F]=N);var R=D.textStyleModel;this.group.add(E[F]=new b.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:R.getTextColor(),textFont:R.getFont()},z2:10}))},this)},_resetInterval:function(){var T=this._range=this.dataZoomModel.getPercentRange(),_=this._getViewExtent();this._handleEnds=[e(T[0],[0,100],_,!0),e(T[1],[0,100],_,!0)]},_updateInterval:function(T,_){var E=this.dataZoomModel,I=this._handleEnds,L=this._getViewExtent(),D=E.findRepresentativeAxisProxy().getMinMaxSpan(),F=[0,100];u(_,I,L,E.get("zoomLock")?"all":T,D.minSpan!=null?e(D.minSpan,F,L,!0):null,D.maxSpan!=null?e(D.maxSpan,F,L,!0):null);var N=this._range,P=this._range=n([e(I[0],L,F,!0),e(I[1],L,F,!0)]);return!N||N[0]!==P[0]||N[1]!==P[1]},_updateView:function(T){var _=this._displayables,E=this._handleEnds,I=n(E.slice()),L=this._size;r([0,1],function(D){var F=_.handles[D],N=this._handleHeight;F.attr({scale:[N/2,N/2],position:[E[D],L[1]/2-N/2]})},this),_.filler.setShape({x:I[0],y:0,width:I[1]-I[0],height:L[1]}),this._updateDataInfo(T)},_updateDataInfo:function(T){var _=this.dataZoomModel,E=this._displayables,I=E.handleLabels,L=this._orient,D=["",""];if(_.get("showDetail")){var F=_.findRepresentativeAxisProxy();if(F){var N=F.getAxisModel().axis,P=this._range,W=T?F.calculateDataWindow({start:P[0],end:P[1]}).valueWindow:F.getDataValueWindow();D=[this._formatLabel(W[0],N),this._formatLabel(W[1],N)]}}var R=n(this._handleEnds.slice());j.call(this,0),j.call(this,1);function j(H){var K=b.getTransform(E.handles[H].parent,this.group),U=b.transformDirection(H===0?"right":"left",K),G=this._handleWidth/2+p,z=b.applyTransform([R[H]+(H===0?-G:G),this._size[1]/2],K);I[H].setStyle({x:z[0],y:z[1],textVerticalAlign:L===c?"middle":U,textAlign:L===c?U:"center",text:D[H]})}},_formatLabel:function(T,_){var E=this.dataZoomModel,I=E.get("labelFormatter"),L=E.get("labelPrecision");(L==null||L==="auto")&&(L=_.getPixelPrecision());var D=T==null||isNaN(T)?"":_.type==="category"||_.type==="time"?_.scale.getLabel(Math.round(T)):T.toFixed(Math.min(L,20));return w.isFunction(I)?I(T,D):w.isString(I)?I.replace("{value}",D):D},_showDataInfo:function(T){T=this._dragging||T;var _=this._displayables.handleLabels;_[0].attr("invisible",!T),_[1].attr("invisible",!T)},_onDragMove:function(T,_,E,I){this._dragging=!0,A.stop(I.event);var L=this._displayables.barGroup.getLocalTransform(),D=b.applyTransform([_,E],L,!0),F=this._updateInterval(T,D[0]),N=this.dataZoomModel.get("realtime");this._updateView(!N),F&&N&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var T=this.dataZoomModel.get("realtime");!T&&this._dispatchZoomAction()},_onClickPanelClick:function(T){var _=this._size,E=this._displayables.barGroup.transformCoordToLocal(T.offsetX,T.offsetY);if(E[0]<0||E[0]>_[0]||E[1]<0||E[1]>_[1])return;var I=this._handleEnds,L=(I[0]+I[1])/2,D=this._updateInterval("all",E[0]-L);this._updateView(),D&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var T=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:T[0],end:T[1]})},_findCoordRect:function(){var T;if(r(this.getTargetCoordInfo(),function(I){if(!T&&I.length){var L=I[0].model.coordinateSystem;T=L.getRect&&L.getRect()}}),!T){var _=this.api.getWidth(),E=this.api.getHeight();T={x:_*.2,y:E*.2,width:_*.6,height:E*.6}}return T}});function y(T){var _={x:"y",y:"x",radius:"angle",angle:"radius"};return _[T]}function x(T){return T==="vertical"?"ns-resize":"ew-resize"}var C=S;k.exports=C},IzEo:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("lnY3"),g=d.n(b),v=d("Znn+"),f=d("14J3"),l=d("jCWc")},J66h:function(k,B,d){(function(w){var A,b;(function(g,v){k.exports=v(g)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof w!="undefined"?w:this,function(g){"use strict";g=g||{};var v=g.Base64,f="2.6.4",l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=function(N){for(var P={},W=0,R=N.length;W<R;W++)P[N.charAt(W)]=W;return P}(l),o=String.fromCharCode,e=function(P){if(P.length<2){var W=P.charCodeAt(0);return W<128?P:W<2048?o(192|W>>>6)+o(128|W&63):o(224|W>>>12&15)+o(128|W>>>6&63)+o(128|W&63)}else{var W=65536+(P.charCodeAt(0)-55296)*1024+(P.charCodeAt(1)-56320);return o(240|W>>>18&7)+o(128|W>>>12&63)+o(128|W>>>6&63)+o(128|W&63)}},n=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,i=function(P){return P.replace(n,e)},r=function(P){var W=[0,2,1][P.length%3],R=P.charCodeAt(0)<<16|(P.length>1?P.charCodeAt(1):0)<<8|(P.length>2?P.charCodeAt(2):0),j=[l.charAt(R>>>18),l.charAt(R>>>12&63),W>=2?"=":l.charAt(R>>>6&63),W>=1?"=":l.charAt(R&63)];return j.join("")},s=g.btoa&&typeof g.btoa=="function"?function(N){return g.btoa(N)}:function(N){if(N.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return N.replace(/[\s\S]{1,3}/g,r)},t=function(P){return s(i(String(P)))},a=function(P){return P.replace(/[+\/]/g,function(W){return W=="+"?"-":"_"}).replace(/=/g,"")},c=function(P,W){return W?a(t(P)):t(P)},h=function(P){return c(P,!0)},p;g.Uint8Array&&(p=function(P,W){for(var R="",j=0,H=P.length;j<H;j+=3){var K=P[j],U=P[j+1],G=P[j+2],z=K<<16|U<<8|G;R+=l.charAt(z>>>18)+l.charAt(z>>>12&63)+(typeof U!="undefined"?l.charAt(z>>>6&63):"=")+(typeof G!="undefined"?l.charAt(z&63):"=")}return W?a(R):R});var m=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,S=function(P){switch(P.length){case 4:var W=(7&P.charCodeAt(0))<<18|(63&P.charCodeAt(1))<<12|(63&P.charCodeAt(2))<<6|63&P.charCodeAt(3),R=W-65536;return o((R>>>10)+55296)+o((R&1023)+56320);case 3:return o((15&P.charCodeAt(0))<<12|(63&P.charCodeAt(1))<<6|63&P.charCodeAt(2));default:return o((31&P.charCodeAt(0))<<6|63&P.charCodeAt(1))}},y=function(P){return P.replace(m,S)},x=function(P){var W=P.length,R=W%4,j=(W>0?u[P.charAt(0)]<<18:0)|(W>1?u[P.charAt(1)]<<12:0)|(W>2?u[P.charAt(2)]<<6:0)|(W>3?u[P.charAt(3)]:0),H=[o(j>>>16),o(j>>>8&255),o(j&255)];return H.length-=[0,0,2,1][R],H.join("")},C=g.atob&&typeof g.atob=="function"?function(N){return g.atob(N)}:function(N){return N.replace(/\S{1,4}/g,x)},T=function(P){return C(String(P).replace(/[^A-Za-z0-9\+\/]/g,""))},_=function(P){return y(C(P))},E=function(P){return String(P).replace(/[-_]/g,function(W){return W=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(P){return _(E(P))},L;g.Uint8Array&&(L=function(P){return Uint8Array.from(T(E(P)),function(W){return W.charCodeAt(0)})});var D=function(){var P=g.Base64;return g.Base64=v,P};if(g.Base64={VERSION:f,atob:T,btoa:s,fromBase64:I,toBase64:c,utob:i,encode:c,encodeURI:h,btou:y,decode:I,noConflict:D,fromUint8Array:p,toUint8Array:L},typeof Object.defineProperty=="function"){var F=function(P){return{value:P,enumerable:!1,writable:!0,configurable:!0}};g.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",F(function(){return I(this)})),Object.defineProperty(String.prototype,"toBase64",F(function(N){return c(this,N)})),Object.defineProperty(String.prototype,"toBase64URI",F(function(){return c(this,!0)}))}}return g.Meteor&&(Base64=g.Base64),k.exports?k.exports.Base64=g.Base64:!(A=[],b=function(){return g.Base64}.apply(B,A),b!==void 0&&(k.exports=b)),{Base64:g.Base64}})}).call(this,d("IyRk"))},JEkh:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),g=d("bYtY"),v=d("ItGF"),f=d("4NO4"),l=d("7aKB"),u=d("OKJ2"),o=l.addCommas,e=l.encodeHTML;function n(s){f.defaultEmphasis(s,"label",["show"])}var i=b.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(s,t,a){this.mergeDefaultAndTheme(s,a),this._mergeOption(s,a,!1,!0)},isAnimationEnabled:function(){if(v.node)return!1;var s=this.__hostSeries;return this.getShallow("animation")&&s&&s.isAnimationEnabled()},mergeOption:function(s,t){this._mergeOption(s,t,!1,!1)},_mergeOption:function(s,t,a,c){var h=this.constructor,p=this.mainType+"Model";a||t.eachSeries(function(m){var S=m.get(this.mainType,!0),y=m[p];if(!S||!S.data){m[p]=null;return}y?y._mergeOption(S,t,!0):(c&&n(S),g.each(S.data,function(x){x instanceof Array?(n(x[0]),n(x[1])):n(x)}),y=new h(S,this,t),g.extend(y,{mainType:this.mainType,seriesIndex:m.seriesIndex,name:m.name,createdBySelf:!0}),y.__hostSeries=m),m[p]=y},this)},formatTooltip:function(s){var t=this.getData(),a=this.getRawValue(s),c=g.isArray(a)?g.map(a,o).join(", "):o(a),h=t.getName(s),p=e(this.name);return(a!=null||h)&&(p+="<br />"),h&&(p+=e(h),a!=null&&(p+=" : ")),a!=null&&(p+=e(c)),p},getData:function(){return this._data},setData:function(s){this._data=s}});g.mixin(i,u);var r=i;k.exports=r},JGo8:function(k,B,d){},JLnu:function(k,B,d){var w=d("+TT/"),A=d("OELB"),b=A.parsePercent,g=A.linearMap;function v(o,e){return w.getLayoutRect(o.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function f(o,e){for(var n=o.mapDimension("value"),i=o.mapArray(n,function(c){return c}),r=[],s=e==="ascending",t=0,a=o.count();t<a;t++)r[t]=t;return typeof e=="function"?r.sort(e):e!=="none"&&r.sort(function(c,h){return s?i[c]-i[h]:i[h]-i[c]}),r}function l(o){o.each(function(e){var n=o.getItemModel(e),i=n.getModel("label"),r=i.get("position"),s=n.getModel("labelLine"),t=o.getItemLayout(e),a=t.points,c=r==="inner"||r==="inside"||r==="center"||r==="insideLeft"||r==="insideRight",h,p,m,S;if(c)r==="insideLeft"?(p=(a[0][0]+a[3][0])/2+5,m=(a[0][1]+a[3][1])/2,h="left"):r==="insideRight"?(p=(a[1][0]+a[2][0])/2-5,m=(a[1][1]+a[2][1])/2,h="right"):(p=(a[0][0]+a[1][0]+a[2][0]+a[3][0])/4,m=(a[0][1]+a[1][1]+a[2][1]+a[3][1])/4,h="center"),S=[[p,m],[p,m]];else{var y,x,C,T=s.get("length");r==="left"?(y=(a[3][0]+a[0][0])/2,x=(a[3][1]+a[0][1])/2,C=y-T,p=C-5,h="right"):r==="right"?(y=(a[1][0]+a[2][0])/2,x=(a[1][1]+a[2][1])/2,C=y+T,p=C+5,h="left"):r==="rightTop"?(y=a[1][0],x=a[1][1],C=y+T,p=C+5,h="top"):r==="rightBottom"?(y=a[2][0],x=a[2][1],C=y+T,p=C+5,h="bottom"):r==="leftTop"?(y=a[0][0],x=a[1][1],C=y-T,p=C-5,h="right"):r==="leftBottom"?(y=a[3][0],x=a[2][1],C=y-T,p=C-5,h="right"):(y=(a[1][0]+a[2][0])/2,x=(a[1][1]+a[2][1])/2,C=y+T,p=C+5,h="left");var _=x;S=[[y,x],[C,_]],m=_}t.label={linePoints:S,x:p,y:m,verticalAlign:"middle",textAlign:h,inside:c}})}function u(o,e,n){o.eachSeriesByType("funnel",function(i){var r=i.getData(),s=r.mapDimension("value"),t=i.get("sort"),a=v(i,e),c=f(r,t),h=[b(i.get("minSize"),a.width),b(i.get("maxSize"),a.width)],p=r.getDataExtent(s),m=i.get("min"),S=i.get("max");m==null&&(m=Math.min(p[0],0)),S==null&&(S=p[1]);var y=i.get("funnelAlign"),x=i.get("gap"),C=(a.height-x*(r.count()-1))/r.count(),T=a.y,_=function(W,R){var j=r.get(s,W)||0,H=g(j,[m,S],h,!0),K;switch(y){case"left":K=a.x;break;case"center":K=a.x+(a.width-H)/2;break;case"right":K=a.x+a.width-H;break}return[[K,R],[K+H,R]]};t==="ascending"&&(C=-C,x=-x,T+=a.height,c=c.reverse());for(var E=0;E<c.length;E++){var I=c[E],L=c[E+1],D=r.getItemModel(I),F=D.get("itemStyle.height");F==null?F=C:(F=b(F,a.height),t==="ascending"&&(F=-F));var N=_(I,T),P=_(L,T+F);T+=F+x,r.setItemLayout(I,{points:N.concat(P.slice().reverse())})}l(r)})}k.exports=u},JSwD:function(k,B,d){"use strict";function w(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(h){return typeof h}:w=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},w(a)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=t;var A=g(d("6BzB"));function b(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return b=function(){return a},a}function g(a){if(a&&a.__esModule)return a;if(a===null||w(a)!=="object"&&typeof a!="function")return{default:a};var c=b();if(c&&c.has(a))return c.get(a);var h={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in a)if(Object.prototype.hasOwnProperty.call(a,m)){var S=p?Object.getOwnPropertyDescriptor(a,m):null;S&&(S.get||S.set)?Object.defineProperty(h,m,S):h[m]=a[m]}return h.default=a,c&&c.set(a,h),h}var v=15,f=852,l=592,u=0,o=1,e=2,n=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],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],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function t(a,c,h,p,m,S,y,x){var C=x.bits,T=0,_=0,E=0,I=0,L=0,D=0,F=0,N=0,P=0,W=0,R,j,H,K,U,G=null,z=0,Y,q=new A.Buf16(v+1),oe=new A.Buf16(v+1),ie=null,se=0,he,pe,_e;for(T=0;T<=v;T++)q[T]=0;for(_=0;_<p;_++)q[c[h+_]]++;for(L=C,I=v;I>=1&&!(q[I]!==0);I--);if(L>I&&(L=I),I===0)return m[S++]=1<<24|64<<16|0,m[S++]=1<<24|64<<16|0,x.bits=1,0;for(E=1;E<I&&!(q[E]!==0);E++);for(L<E&&(L=E),N=1,T=1;T<=v;T++)if(N<<=1,N-=q[T],N<0)return-1;if(N>0&&(a===u||I!==1))return-1;for(oe[1]=0,T=1;T<v;T++)oe[T+1]=oe[T]+q[T];for(_=0;_<p;_++)c[h+_]!==0&&(y[oe[c[h+_]]++]=_);if(a===u?(G=ie=y,Y=19):a===o?(G=n,z-=257,ie=i,se-=257,Y=256):(G=r,ie=s,Y=-1),W=0,_=0,T=E,U=S,D=L,F=0,H=-1,P=1<<L,K=P-1,a===o&&P>f||a===e&&P>l)return 1;for(;;){he=T-F,y[_]<Y?(pe=0,_e=y[_]):y[_]>Y?(pe=ie[se+y[_]],_e=G[z+y[_]]):(pe=32+64,_e=0),R=1<<T-F,j=1<<D,E=j;do j-=R,m[U+(W>>F)+j]=he<<24|pe<<16|_e|0;while(j!==0);for(R=1<<T-1;W&R;)R>>=1;if(R!==0?(W&=R-1,W+=R):W=0,_++,--q[T]===0){if(T===I)break;T=c[h+y[_]]}if(T>L&&(W&K)!==H){for(F===0&&(F=L),U+=E,D=T-F,N=1<<D;D+F<I&&!(N-=q[D+F],N<=0);)D++,N<<=1;if(P+=1<<D,a===o&&P>f||a===e&&P>l)return 1;H=W&K,m[H]=L<<24|D<<16|U-S|0}}return W!==0&&(m[U+W]=T-F<<24|64<<16|0),x.bits=L,0}},JVwQ:function(k,B,d){var w=d("ProS"),A=d("1NG9"),b=A.Polygon,g=d("IwbS"),v=d("bYtY"),f=v.bind,l=v.extend,u=d("gPAo"),o=w.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(n,i,r){var s=n.getData(),t=this.group,a=n.getLayerSeries(),c=s.getLayout("layoutInfo"),h=c.rect,p=c.boundaryGap;t.attr("position",[0,h.y+p[0]]);function m(C){return C.name}var S=new u(this._layersSeries||[],a,m,m),y={};S.add(f(x,this,"add")).update(f(x,this,"update")).remove(f(x,this,"remove")).execute();function x(C,T,_){var E=this._layers;if(C==="remove"){t.remove(E[T]);return}for(var I=[],L=[],D,F=a[T].indices,N=0;N<F.length;N++){var P=s.getItemLayout(F[N]),W=P.x,R=P.y0,j=P.y;I.push([W,R]),L.push([W,R+j]),D=s.getItemVisual(F[N],"color")}var H,K,U=s.getItemLayout(F[0]),G=s.getItemModel(F[N-1]),z=G.getModel("label"),Y=z.get("margin");if(C==="add"){var q=y[T]=new g.Group;H=new b({shape:{points:I,stackedOnPoints:L,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),K=new g.Text({style:{x:U.x-Y,y:U.y0+U.y/2}}),q.add(H),q.add(K),t.add(q),H.setClipPath(e(H.getBoundingRect(),n,function(){H.removeClipPath()}))}else{var q=E[_];H=q.childAt(0),K=q.childAt(1),t.add(q),y[T]=q,g.updateProps(H,{shape:{points:I,stackedOnPoints:L}},n),g.updateProps(K,{style:{x:U.x-Y,y:U.y0+U.y/2}},n)}var oe=G.getModel("emphasis.itemStyle"),ie=G.getModel("itemStyle");g.setTextStyle(K.style,z,{text:z.get("show")?n.getFormattedLabel(F[N-1],"normal")||s.getName(F[N-1]):null,textVerticalAlign:"middle"}),H.setStyle(l({fill:D},ie.getItemStyle(["color"]))),g.setHoverStyle(H,oe.getItemStyle())}this._layersSeries=a,this._layers=y},dispose:function(){}});function e(n,i,r){var s=new g.Rect({shape:{x:n.x-10,y:n.y-10,width:0,height:n.height+20}});return g.initProps(s,{shape:{width:n.width+20,height:n.height+20}},i,r),s}k.exports=o},JsLm:function(k,B,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("1OyB"),g=d("vuIU"),v=d("JX7q"),f=d("Ji7U"),l=d("LK+K"),u=d("q1tI"),o=d("TSYQ"),e=d.n(o),n=d("zT1h"),i=d("U8pU"),r=d("bT9E"),s=d("t23M"),t=d("H84U"),a=d("PEeC");function c(z){return z!==window?z.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function h(z,Y,q){return q!==void 0&&Y.top>z.top-q?q+Y.top:void 0}function p(z,Y,q){if(q!==void 0&&Y.bottom<z.bottom+q){var oe=window.innerHeight-Y.bottom;return q+oe}return}var m=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],S=[];function y(){return S}function x(z,Y){if(!z)return;var q=S.find(function(oe){return oe.target===z});q?q.affixList.push(Y):(q={target:z,affixList:[Y],eventHandlers:{}},S.push(q),m.forEach(function(oe){q.eventHandlers[oe]=Object(n.a)(z,oe,function(){q.affixList.forEach(function(ie){ie.lazyUpdatePosition()})})}))}function C(z){var Y=S.find(function(q){var oe=q.affixList.some(function(ie){return ie===z});return oe&&(q.affixList=q.affixList.filter(function(ie){return ie!==z})),oe});Y&&Y.affixList.length===0&&(S=S.filter(function(q){return q!==Y}),m.forEach(function(q){var oe=Y.eventHandlers[q];oe&&oe.remove&&oe.remove()}))}var T=function(z,Y,q,oe){var ie=arguments.length,se=ie<3?Y:oe===null?oe=Object.getOwnPropertyDescriptor(Y,q):oe,he;if((typeof Reflect=="undefined"?"undefined":Object(i.a)(Reflect))==="object"&&typeof Reflect.decorate=="function")se=Reflect.decorate(z,Y,q,oe);else for(var pe=z.length-1;pe>=0;pe--)(he=z[pe])&&(se=(ie<3?he(se):ie>3?he(Y,q,se):he(Y,q))||se);return ie>3&&se&&Object.defineProperty(Y,q,se),se};function _(){return typeof window!="undefined"?window:null}var E;(function(z){z[z.None=0]="None",z[z.Prepare=1]="Prepare"})(E||(E={}));var I=function(z){Object(f.a)(q,z);var Y=Object(l.a)(q);function q(){var oe;return Object(b.a)(this,q),oe=Y.apply(this,arguments),oe.state={status:E.None,lastAffix:!1,prevTarget:null},oe.getOffsetTop=function(){var ie=oe.props.offsetBottom,se=oe.props.offsetTop;return ie===void 0&&se===void 0&&(se=0),se},oe.getOffsetBottom=function(){return oe.props.offsetBottom},oe.savePlaceholderNode=function(ie){oe.placeholderNode=ie},oe.saveFixedNode=function(ie){oe.fixedNode=ie},oe.measure=function(){var ie=oe.state,se=ie.status,he=ie.lastAffix,pe=oe.props.onChange,_e=oe.getTargetFunc();if(se!==E.Prepare||!oe.fixedNode||!oe.placeholderNode||!_e)return;var De=oe.getOffsetTop(),Xe=oe.getOffsetBottom(),J=_e();if(!J)return;var Ee={status:E.None},qe=c(J),ae=c(oe.placeholderNode),V=h(ae,qe,De),X=p(ae,qe,Xe);V!==void 0?(Ee.affixStyle={position:"fixed",top:V,width:ae.width,height:ae.height},Ee.placeholderStyle={width:ae.width,height:ae.height}):X!==void 0&&(Ee.affixStyle={position:"fixed",bottom:X,width:ae.width,height:ae.height},Ee.placeholderStyle={width:ae.width,height:ae.height}),Ee.lastAffix=!!Ee.affixStyle,pe&&he!==Ee.lastAffix&&pe(Ee.lastAffix),oe.setState(Ee)},oe.prepareMeasure=function(){if(oe.setState({status:E.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var ie},oe.render=function(){var ie=oe.context.getPrefixCls,se=oe.state,he=se.affixStyle,pe=se.placeholderStyle,_e=oe.props,De=_e.prefixCls,Xe=_e.children,J=e()(Object(A.a)({},ie("affix",De),he)),Ee=Object(r.a)(oe.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return u.createElement(s.a,{onResize:function(){oe.updatePosition()}},u.createElement("div",Object(w.a)({},Ee,{ref:oe.savePlaceholderNode}),he&&u.createElement("div",{style:pe,"aria-hidden":"true"}),u.createElement("div",{className:J,ref:oe.saveFixedNode,style:he},u.createElement(s.a,{onResize:function(){oe.updatePosition()}},Xe))))},oe}return Object(g.a)(q,[{key:"getTargetFunc",value:function(){var ie=this.context.getTargetContainer,se=this.props.target;return se!==void 0?se:ie||_}},{key:"componentDidMount",value:function(){var ie=this,se=this.getTargetFunc();se&&(this.timeout=setTimeout(function(){x(se(),ie),ie.updatePosition()}))}},{key:"componentDidUpdate",value:function(ie){var se=this.state.prevTarget,he=this.getTargetFunc(),pe=null;he&&(pe=he()||null),se!==pe&&(C(this),pe&&(x(pe,this),this.updatePosition()),this.setState({prevTarget:pe})),(ie.offsetTop!==this.props.offsetTop||ie.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),C(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var ie=this.getTargetFunc(),se=this.state.affixStyle;if(ie&&se){var he=this.getOffsetTop(),pe=this.getOffsetBottom(),_e=ie();if(_e&&this.placeholderNode){var De=c(_e),Xe=c(this.placeholderNode),J=h(Xe,De,he),Ee=p(Xe,De,pe);if(J!==void 0&&se.top===J||Ee!==void 0&&se.bottom===Ee)return}}this.prepareMeasure()}}]),q}(u.Component);I.contextType=t.b,T([Object(a.b)()],I.prototype,"updatePosition",null),T([Object(a.b)()],I.prototype,"lazyUpdatePosition",null);var L=I,D=d("zAh6"),F=d("i6bk"),N=u.createContext(null),P=N;function W(){return window}function R(z,Y){if(!z.getClientRects().length)return 0;var q=z.getBoundingClientRect();return q.width||q.height?Y===window?(Y=z.ownerDocument.documentElement,q.top-Y.clientTop):q.top-Y.getBoundingClientRect().top:q.top}var j=/#(\S+)$/,H=function(z){Object(f.a)(q,z);var Y=Object(l.a)(q);function q(){var oe;return Object(b.a)(this,q),oe=Y.apply(this,arguments),oe.state={activeLink:null},oe.wrapperRef=u.createRef(),oe.links=[],oe.registerLink=function(ie){oe.links.includes(ie)||oe.links.push(ie)},oe.unregisterLink=function(ie){var se=oe.links.indexOf(ie);se!==-1&&oe.links.splice(se,1)},oe.getContainer=function(){var ie=oe.context.getTargetContainer,se=oe.props.getContainer,he=se||ie||W;return he()},oe.handleScrollTo=function(ie){var se=oe.props,he=se.offsetTop,pe=se.targetOffset;oe.setCurrentActiveLink(ie);var _e=oe.getContainer(),De=Object(F.a)(_e,!0),Xe=j.exec(ie);if(!Xe)return;var J=document.getElementById(Xe[1]);if(!J)return;var Ee=R(J,_e),qe=De+Ee;qe-=pe!==void 0?pe:he||0,oe.animating=!0,Object(D.a)(qe,{callback:function(){oe.animating=!1},getContainer:oe.getContainer})},oe.saveInkNode=function(ie){oe.inkNode=ie},oe.setCurrentActiveLink=function(ie){var se=oe.state.activeLink,he=oe.props.onChange;se!==ie&&(oe.setState({activeLink:ie}),he&&he(ie))},oe.handleScroll=function(){if(oe.animating)return;var ie=oe.props,se=ie.offsetTop,he=ie.bounds,pe=ie.targetOffset,_e=oe.getCurrentAnchor(pe!==void 0?pe:se||0,he);oe.setCurrentActiveLink(_e)},oe.updateInk=function(){var ie=Object(v.a)(oe),se=ie.prefixCls,he=ie.wrapperRef,pe=he.current,_e=pe==null?void 0:pe.getElementsByClassName("".concat(se,"-link-title-active"))[0];_e&&(oe.inkNode.style.top="".concat(_e.offsetTop+_e.clientHeight/2-4.5,"px"))},oe.render=function(){var ie=oe.context,se=ie.getPrefixCls,he=ie.direction,pe=oe.props,_e=pe.prefixCls,De=pe.className,Xe=De===void 0?"":De,J=pe.style,Ee=pe.offsetTop,qe=pe.affix,ae=pe.showInkInFixed,V=pe.children,X=oe.state.activeLink,Z=se("anchor",_e);oe.prefixCls=Z;var ge=e()("".concat(Z,"-ink-ball"),{visible:X}),le=e()("".concat(Z,"-wrapper"),Object(A.a)({},"".concat(Z,"-rtl"),he==="rtl"),Xe),Se=e()(Z,{fixed:!qe&&!ae}),me=Object(w.a)({maxHeight:Ee?"calc(100vh - ".concat(Ee,"px)"):"100vh"},J),$=u.createElement("div",{ref:oe.wrapperRef,className:le,style:me},u.createElement("div",{className:Se},u.createElement("div",{className:"".concat(Z,"-ink")},u.createElement("span",{className:ge,ref:oe.saveInkNode})),V));return u.createElement(P.Provider,{value:{registerLink:oe.registerLink,unregisterLink:oe.unregisterLink,activeLink:oe.state.activeLink,scrollTo:oe.handleScrollTo,onClick:oe.props.onClick}},qe?u.createElement(L,{offsetTop:Ee,target:oe.getContainer},$):$)},oe}return Object(g.a)(q,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(n.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var ie=this.getContainer();this.scrollContainer!==ie&&(this.scrollContainer=ie,this.scrollEvent.remove(),this.scrollEvent=Object(n.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,he=this.props.getCurrentAnchor;if(typeof he=="function")return he();var pe=[],_e=this.getContainer();if(this.links.forEach(function(Xe){var J=j.exec(Xe.toString());if(!J)return;var Ee=document.getElementById(J[1]);if(Ee){var qe=R(Ee,_e);qe<ie+se&&pe.push({link:Xe,top:qe})}}),pe.length){var De=pe.reduce(function(Xe,J){return J.top>Xe.top?J:Xe});return De.link}return""}}]),q}(u.Component);H.defaultProps={affix:!0,showInkInFixed:!1},H.contextType=t.b;var K=function(z){Object(f.a)(q,z);var Y=Object(l.a)(q);function q(){var oe;return Object(b.a)(this,q),oe=Y.apply(this,arguments),oe.handleClick=function(ie){var se=oe.context,he=se.scrollTo,pe=se.onClick,_e=oe.props,De=_e.href,Xe=_e.title;pe&&pe(ie,{title:Xe,href:De}),he(De)},oe.renderAnchorLink=function(ie){var se=ie.getPrefixCls,he=oe.props,pe=he.prefixCls,_e=he.href,De=he.title,Xe=he.children,J=he.className,Ee=he.target,qe=se("anchor",pe),ae=oe.context.activeLink===_e,V=e()("".concat(qe,"-link"),Object(A.a)({},"".concat(qe,"-link-active"),ae),J),X=e()("".concat(qe,"-link-title"),Object(A.a)({},"".concat(qe,"-link-title-active"),ae));return u.createElement("div",{className:V},u.createElement("a",{className:X,href:_e,title:typeof De=="string"?De:"",target:Ee,onClick:oe.handleClick},De),Xe)},oe}return Object(g.a)(q,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(ie){var se=ie.href,he=this.props.href;se!==he&&(this.context.unregisterLink(se),this.context.registerLink(he))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return u.createElement(t.a,null,this.renderAnchorLink)}}]),q}(u.Component);K.defaultProps={href:"#"},K.contextType=P;var U=K;H.Link=U;var G=B.a=H},JuEJ:function(k,B,d){var w=d("bYtY"),A=d("4NO4"),b=w.each,g=w.isObject,v=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function f(t){var a=t&&t.itemStyle;if(!a)return;for(var c=0,h=v.length;c<h;c++){var p=v[c],m=a.normal,S=a.emphasis;m&&m[p]&&(t[p]=t[p]||{},t[p].normal?w.merge(t[p].normal,m[p]):t[p].normal=m[p],m[p]=null),S&&S[p]&&(t[p]=t[p]||{},t[p].emphasis?w.merge(t[p].emphasis,S[p]):t[p].emphasis=S[p],S[p]=null)}}function l(t,a,c){if(t&&t[a]&&(t[a].normal||t[a].emphasis)){var h=t[a].normal,p=t[a].emphasis;h&&(c?(t[a].normal=t[a].emphasis=null,w.defaults(t[a],h)):t[a]=h),p&&(t.emphasis=t.emphasis||{},t.emphasis[a]=p)}}function u(t){l(t,"itemStyle"),l(t,"lineStyle"),l(t,"areaStyle"),l(t,"label"),l(t,"labelLine"),l(t,"upperLabel"),l(t,"edgeLabel")}function o(t,a){var c=g(t)&&t[a],h=g(c)&&c.textStyle;if(h)for(var p=0,m=A.TEXT_STYLE_OPTIONS.length;p<m;p++){var a=A.TEXT_STYLE_OPTIONS[p];h.hasOwnProperty(a)&&(c[a]=h[a])}}function e(t){t&&(u(t),o(t,"label"),t.emphasis&&o(t.emphasis,"label"))}function n(t){if(!g(t))return;f(t),u(t),o(t,"label"),o(t,"upperLabel"),o(t,"edgeLabel"),t.emphasis&&(o(t.emphasis,"label"),o(t.emphasis,"upperLabel"),o(t.emphasis,"edgeLabel"));var a=t.markPoint;a&&(f(a),e(a));var c=t.markLine;c&&(f(c),e(c));var h=t.markArea;h&&e(h);var p=t.data;if(t.type==="graph"){p=p||t.nodes;var m=t.links||t.edges;if(m&&!w.isTypedArray(m))for(var S=0;S<m.length;S++)e(m[S]);w.each(t.categories,function(C){u(C)})}if(p&&!w.isTypedArray(p))for(var S=0;S<p.length;S++)e(p[S]);var a=t.markPoint;if(a&&a.data)for(var y=a.data,S=0;S<y.length;S++)e(y[S]);var c=t.markLine;if(c&&c.data)for(var x=c.data,S=0;S<x.length;S++)w.isArray(x[S])?(e(x[S][0]),e(x[S][1])):e(x[S]);t.type==="gauge"?(o(t,"axisLabel"),o(t,"title"),o(t,"detail")):t.type==="treemap"?(l(t.breadcrumb,"itemStyle"),w.each(t.levels,function(C){u(C)})):t.type==="tree"&&u(t.leaves)}function i(t){return w.isArray(t)?t:t?[t]:[]}function r(t){return(w.isArray(t)?t[0]:t)||{}}function s(t,a){b(i(t.series),function(h){g(h)&&n(h)});var c=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];a&&c.push("valueAxis","categoryAxis","logAxis","timeAxis"),b(c,function(h){b(i(t[h]),function(p){p&&(o(p,"axisLabel"),o(p.axisPointer,"label"))})}),b(i(t.parallel),function(h){var p=h&&h.parallelAxisDefault;o(p,"axisLabel"),o(p&&p.axisPointer,"label")}),b(i(t.calendar),function(h){l(h,"itemStyle"),o(h,"dayLabel"),o(h,"monthLabel"),o(h,"yearLabel")}),b(i(t.radar),function(h){o(h,"name")}),b(i(t.geo),function(h){g(h)&&(e(h),b(i(h.regions),function(p){e(p)}))}),b(i(t.timeline),function(h){e(h),l(h,"label"),l(h,"itemStyle"),l(h,"controlStyle",!0);var p=h.data;w.isArray(p)&&w.each(p,function(m){w.isObject(m)&&(l(m,"label"),l(m,"itemStyle"))})}),b(i(t.toolbox),function(h){l(h,"iconStyle"),b(h.feature,function(p){l(p,"iconStyle")})}),o(r(t.axisPointer),"label"),o(r(t.tooltip).axisPointer,"label")}k.exports=s},K2GJ:function(k,B,d){var w=d("fW2E"),A=d("gut8"),b=A.ContextCachedBy,g=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],v=function(r){this.extendFrom(r,!1)};function f(i,r,s){var t=r.x==null?0:r.x,a=r.x2==null?1:r.x2,c=r.y==null?0:r.y,h=r.y2==null?0:r.y2;r.global||(t=t*s.width+s.x,a=a*s.width+s.x,c=c*s.height+s.y,h=h*s.height+s.y),t=isNaN(t)?0:t,a=isNaN(a)?1:a,c=isNaN(c)?0:c,h=isNaN(h)?0:h;var p=i.createLinearGradient(t,c,a,h);return p}function l(i,r,s){var t=s.width,a=s.height,c=Math.min(t,a),h=r.x==null?.5:r.x,p=r.y==null?.5:r.y,m=r.r==null?.5:r.r;r.global||(h=h*t+s.x,p=p*a+s.y,m=m*c);var S=i.createRadialGradient(h,p,0,h,p,m);return S}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,s,t){var a=this,c=t&&t.style,h=!c||r.__attrCachedBy!==b.STYLE_BIND;r.__attrCachedBy=b.STYLE_BIND;for(var p=0;p<g.length;p++){var m=g[p],S=m[0];(h||a[S]!==c[S])&&(r[S]=w(r,S,a[S]||m[1]))}if((h||a.fill!==c.fill)&&(r.fillStyle=a.fill),(h||a.stroke!==c.stroke)&&(r.strokeStyle=a.stroke),(h||a.opacity!==c.opacity)&&(r.globalAlpha=a.opacity==null?1:a.opacity),(h||a.blend!==c.blend)&&(r.globalCompositeOperation=a.blend||"source-over"),this.hasStroke()){var y=a.lineWidth;r.lineWidth=y/(this.strokeNoScale&&s&&s.getLineScale?s.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,s){if(r)for(var t in r)r.hasOwnProperty(t)&&(s===!0||(s===!1?!this.hasOwnProperty(t):r[t]!=null))&&(this[t]=r[t])},set:function(r,s){typeof r=="string"?this[r]=s:this.extendFrom(r,!0)},clone:function(){var r=new this.constructor;return r.extendFrom(this,!0),r},getGradient:function(r,s,t){for(var a=s.type==="radial"?l:f,c=a(r,s,t),h=s.colorStops,p=0;p<h.length;p++)c.addColorStop(h[p].offset,h[p].color);return c}};for(var u=v.prototype,o=0;o<g.length;o++){var e=g[o];e[0]in u||(u[e[0]]=e[1])}v.getGradient=u.getGradient;var n=v;k.exports=n},K4ya:function(k,B,d){var w=d("bYtY"),A=d("XxSj"),b=w.each;function g(o){if(o){for(var e in o)if(o.hasOwnProperty(e))return!0}}function v(o,e,n){var i={};return b(e,function(s){var t=i[s]=r();b(o[s],function(a,c){if(!A.isValidType(c))return;var h={type:c,visual:a};n&&n(h,s),t[c]=new A(h),c==="opacity"&&(h=w.clone(h),h.type="colorAlpha",t.__hidden.__alphaForOpacity=new A(h))})}),i;function r(){var s=function(){};s.prototype.__hidden=s.prototype;var t=new s;return t}}function f(o,e,n){var i;w.each(n,function(r){e.hasOwnProperty(r)&&g(e[r])&&(i=!0)}),i&&w.each(n,function(r){e.hasOwnProperty(r)&&g(e[r])?o[r]=w.clone(e[r]):delete o[r]})}function l(o,e,n,i,r,s){var t={};w.each(o,function(m){var S=A.prepareVisualTypes(e[m]);t[m]=S});var a;function c(m){return n.getItemVisual(a,m)}function h(m,S){n.setItemVisual(a,m,S)}s==null?n.each(p):n.each([s],p);function p(m,S){a=s==null?m:S;var y=n.getRawDataItem(a);if(y&&y.visualMap===!1)return;for(var x=i.call(r,m),C=e[x],T=t[x],_=0,E=T.length;_<E;_++){var I=T[_];C[I]&&C[I].applyVisual(m,c,h)}}}function u(o,e,n,i){var r={};w.each(o,function(t){var a=A.prepareVisualTypes(e[t]);r[t]=a});function s(t,a){i!=null&&(i=a.getDimension(i));function c(I){return a.getItemVisual(p,I)}function h(I,L){a.setItemVisual(p,I,L)}for(var p;(p=t.next())!=null;){var m=a.getRawDataItem(p);if(m&&m.visualMap===!1)continue;for(var S=i!=null?a.get(i,p,!0):p,y=n(S),x=e[y],C=r[y],T=0,_=C.length;T<_;T++){var E=C[T];x[E]&&x[E].applyVisual(S,c,h)}}}return{progress:s}}B.createVisualMappings=v,B.replaceVisualOption=f,B.applyVisual=l,B.incrementalApplyVisual=u},KCsZ:function(k,B,d){var w=d("bYtY");function A(b){for(var g=0;g<b.length;g++)b[g][1]||(b[g][1]=b[g][0]);return function(v,f,l){for(var u={},o=0;o<b.length;o++){var e=b[o][1];if(f&&w.indexOf(f,e)>=0||l&&w.indexOf(l,e)<0)continue;var n=v.getShallow(e);n!=null&&(u[b[o][0]]=n)}return u}}k.exports=A},KPFz:function(k,B,d){},KS52:function(k,B,d){var w=d("OELB"),A=w.parsePercent,b=w.linearMap,g=d("+TT/"),v=d("u3DP"),f=d("bYtY"),l=Math.PI*2,u=Math.PI/180;function o(n,i){return g.getLayoutRect(n.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})}function e(n,i,r,s){i.eachSeriesByType(n,function(t){var a=t.getData(),c=a.mapDimension("value"),h=o(t,r),p=t.get("center"),m=t.get("radius");f.isArray(m)||(m=[0,m]),f.isArray(p)||(p=[p,p]);var S=A(h.width,r.getWidth()),y=A(h.height,r.getHeight()),x=Math.min(S,y),C=A(p[0],S)+h.x,T=A(p[1],y)+h.y,_=A(m[0],x/2),E=A(m[1],x/2),I=-t.get("startAngle")*u,L=t.get("minAngle")*u,D=0;a.each(c,function(Y){!isNaN(Y)&&D++});var F=a.getSum(c),N=Math.PI/(F||D)*2,P=t.get("clockwise"),W=t.get("roseType"),R=t.get("stillShowZeroSum"),j=a.getDataExtent(c);j[0]=0;var H=l,K=0,U=I,G=P?1:-1;if(a.each(c,function(Y,q){var oe;if(isNaN(Y)){a.setItemLayout(q,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:P,cx:C,cy:T,r0:_,r:W?NaN:E,viewRect:h});return}W!=="area"?oe=F===0&&R?N:Y*N:oe=l/D,oe<L?(oe=L,H-=L):K+=Y;var ie=U+G*oe;a.setItemLayout(q,{angle:oe,startAngle:U,endAngle:ie,clockwise:P,cx:C,cy:T,r0:_,r:W?b(Y,j,[_,E]):E,viewRect:h}),U=ie}),H<l&&D)if(H<=.001){var z=l/D;a.each(c,function(Y,q){if(!isNaN(Y)){var oe=a.getItemLayout(q);oe.angle=z,oe.startAngle=I+G*q*z,oe.endAngle=I+G*(q+1)*z}})}else N=H/K,U=I,a.each(c,function(Y,q){if(!isNaN(Y)){var oe=a.getItemLayout(q),ie=oe.angle===L?L:Y*N;oe.startAngle=U,oe.endAngle=U+G*ie,U+=G*ie}});v(t,E,h.width,h.height,h.x,h.y)})}k.exports=e},KUOm:function(k,B){function d(w){var A={};w.eachSeriesByType("graph",function(b){var g=b.getCategoriesData(),v=b.getData(),f={};g.each(function(l){var u=g.getName(l);f["ec-"+u]=l;var o=g.getItemModel(l),e=o.get("itemStyle.color")||b.getColorFromPalette(u,A);g.setItemVisual(l,"color",e);for(var n=["opacity","symbol","symbolSize","symbolKeepAspect"],i=0;i<n.length;i++){var r=o.getShallow(n[i],!0);r!=null&&g.setItemVisual(l,n[i],r)}}),g.count()&&v.each(function(l){var u=v.getItemModel(l),o=u.getShallow("category");if(o!=null){typeof o=="string"&&(o=f["ec-"+o]);for(var e=["color","opacity","symbol","symbolSize","symbolKeepAspect"],n=0;n<e.length;n++)v.getItemVisual(l,e[n],!0)==null&&v.setItemVisual(l,e[n],g.getItemVisual(o,e[n]))}})})}k.exports=d},Kagy:function(k,B){var d={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};k.exports=d},KamJ:function(k,B,d){var w=d("ProS"),A=d("szbU");d("vF/C"),d("qwVE"),d("BuqR"),d("AE9C"),d("1u/T"),w.registerPreprocessor(A)},KrTs:function(k,B,d){"use strict";var w=d("rePB"),A=d("U8pU"),b=d("wx14"),g=d("q1tI"),v=d("8XRh"),f=d("TSYQ"),l=d.n(f),u=d("ODXe"),o=d("H84U"),e=d("0n0R"),n=function(x,C){var T={};for(var _ in x)Object.prototype.hasOwnProperty.call(x,_)&&C.indexOf(_)<0&&(T[_]=x[_]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,_=Object.getOwnPropertySymbols(x);E<_.length;E++)C.indexOf(_[E])<0&&Object.prototype.propertyIsEnumerable.call(x,_[E])&&(T[_[E]]=x[_[E]]);return T};function i(x){return x?x.toString().split("").reverse().map(function(C){var T=Number(C);return isNaN(T)?C:T}):[]}function r(x,C){for(var T=[],_=0;_<30;_++)T.push(g.createElement("p",{key:_.toString(),className:l()(C,{current:x===_})},_%10));return T}var s=function(C){var T=C.prefixCls,_=C.count,E=C.className,I=C.style,L=C.title,D=C.show,F=C.component,N=F===void 0?"sup":F,P=C.children,W=C.onAnimated,R=W===void 0?function(){}:W,j=n(C,["prefixCls","count","className","style","title","show","component","children","onAnimated"]),H=Object(g.useState)(!0),K=Object(u.a)(H,2),U=K[0],G=K[1],z=Object(g.useState)(_),Y=Object(u.a)(z,2),q=Y[0],oe=Y[1],ie=Object(g.useState)(_),se=Object(u.a)(ie,2),he=se[0],pe=se[1],_e=Object(g.useState)(_),De=Object(u.a)(_e,2),Xe=De[0],J=De[1],Ee=g.useContext(o.b),qe=Ee.getPrefixCls,ae=qe("scroll-number",T);he!==_&&(G(!0),pe(_)),g.useEffect(function(){J(q);var le;return U&&(le=setTimeout(function(){G(!1),oe(_),R()})),function(){le&&clearTimeout(le)}},[U,_,R]);var V=function(Se,me){var $=Math.abs(Number(q)),we=Math.abs(Number(Xe)),xe=Math.abs(i(q)[me]),We=Math.abs(i(we)[me]);return U?10+Se:$>we?xe>=We?10+Se:20+Se:xe<=We?10+Se:Se},X=Object(b.a)(Object(b.a)({},j),{"data-show":D,style:I,className:l()(ae,E),title:L}),Z=function(Se,me){if(typeof Se=="number"){var $=V(Se,me),we=U||i(Xe)[me]===void 0;return g.createElement("span",{className:"".concat(ae,"-only"),style:{transition:we?"none":void 0,msTransform:"translateY(".concat(-$*100,"%)"),WebkitTransform:"translateY(".concat(-$*100,"%)"),transform:"translateY(".concat(-$*100,"%)")},key:me},r($,"".concat(ae,"-only-unit")))}return g.createElement("span",{key:"symbol",className:"".concat(ae,"-symbol")},Se)},ge=q&&Number(q)%1===0?i(q).map(function(le,Se){return Z(le,Se)}).reverse():q;return I&&I.borderColor&&(X.style=Object(b.a)(Object(b.a)({},I),{boxShadow:"0 0 0 1px ".concat(I.borderColor," inset")})),P?Object(e.a)(P,function(le){return{className:l()("".concat(ae,"-custom-component"),le==null?void 0:le.className)}}):g.createElement(N,X,ge)},t=s,a=d("09Wf");function c(x){return a.a.indexOf(x)!==-1}var h=function(C){var T,_=C.className,E=C.prefixCls,I=C.style,L=C.color,D=C.children,F=C.text,N=C.placement,P=N===void 0?"end":N,W=g.useContext(o.b),R=W.getPrefixCls,j=W.direction,H=R("ribbon",E),K=c(L),U=l()(H,"".concat(H,"-placement-").concat(P),(T={},Object(w.a)(T,"".concat(H,"-rtl"),j==="rtl"),Object(w.a)(T,"".concat(H,"-color-").concat(L),K),T),_),G={},z={};return L&&!K&&(G.background=L,z.color=L),g.createElement("div",{className:"".concat(H,"-wrapper")},D,g.createElement("div",{className:U,style:Object(b.a)(Object(b.a)({},G),I)},g.createElement("span",{className:"".concat(H,"-text")},F),g.createElement("div",{className:"".concat(H,"-corner"),style:z})))},p=h,m=function(x,C){var T={};for(var _ in x)Object.prototype.hasOwnProperty.call(x,_)&&C.indexOf(_)<0&&(T[_]=x[_]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,_=Object.getOwnPropertySymbols(x);E<_.length;E++)C.indexOf(_[E])<0&&Object.prototype.propertyIsEnumerable.call(x,_[E])&&(T[_[E]]=x[_[E]]);return T},S=function(C){var T,_,E=C.prefixCls,I=C.scrollNumberPrefixCls,L=C.children,D=C.status,F=C.text,N=C.color,P=C.count,W=P===void 0?null:P,R=C.overflowCount,j=R===void 0?99:R,H=C.dot,K=H===void 0?!1:H,U=C.size,G=U===void 0?"default":U,z=C.title,Y=C.offset,q=C.style,oe=C.className,ie=C.showZero,se=ie===void 0?!1:ie,he=m(C,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),pe=g.useContext(o.b),_e=pe.getPrefixCls,De=pe.direction,Xe=_e("badge",E),J=W>j?"".concat(j,"+"):W,Ee=D!=null||N!=null,qe=J==="0"||J===0,ae=K&&!qe||Ee,V=ae?"":J,X=Object(g.useMemo)(function(){var Ne=V==null||V==="";return(Ne||qe&&!se)&&!ae},[V,qe,se,ae]),Z=Object(g.useRef)(V);X||(Z.current=V);var ge=Z.current,le=Object(g.useRef)(ae);X||(le.current=ae);var Se=Object(g.useMemo)(function(){if(!Y)return Object(b.a)({},q);var Ne={marginTop:Y[1]};return De==="rtl"?Ne.left=parseInt(Y[0],10):Ne.right=-parseInt(Y[0],10),Object(b.a)(Object(b.a)({},Ne),q)},[De,Y,q]),me=z!=null?z:typeof W=="string"||typeof W=="number"?W:void 0,$=X||!F?null:g.createElement("span",{className:"".concat(Xe,"-status-text")},F),we=!W||Object(A.a)(W)!=="object"?void 0:Object(e.a)(W,function(Ne){return{style:Object(b.a)(Object(b.a)({},Se),Ne.style)}}),xe=l()((T={},Object(w.a)(T,"".concat(Xe,"-status-dot"),Ee),Object(w.a)(T,"".concat(Xe,"-status-").concat(D),!!D),Object(w.a)(T,"".concat(Xe,"-status-").concat(N),c(N)),T)),We={};N&&!c(N)&&(We.background=N);var st=l()(Xe,(_={},Object(w.a)(_,"".concat(Xe,"-status"),Ee),Object(w.a)(_,"".concat(Xe,"-not-a-wrapper"),!L),Object(w.a)(_,"".concat(Xe,"-rtl"),De==="rtl"),_),oe);if(!L&&Ee){var nt=Se.color;return g.createElement("span",Object(b.a)({},he,{className:st,style:Se}),g.createElement("span",{className:xe,style:We}),g.createElement("span",{style:{color:nt},className:"".concat(Xe,"-status-text")},F))}return g.createElement("span",Object(b.a)({},he,{className:st}),L,g.createElement(v.default,{visible:!X,motionName:"".concat(Xe,"-zoom"),motionAppear:!1},function(Ne){var St,Ye=Ne.className,vt=_e("scroll-number",I),It=le.current,Ut=l()((St={},Object(w.a)(St,"".concat(Xe,"-dot"),It),Object(w.a)(St,"".concat(Xe,"-count"),!It),Object(w.a)(St,"".concat(Xe,"-count-sm"),G==="small"),Object(w.a)(St,"".concat(Xe,"-multiple-words"),!It&&ge&&(ge==null?void 0:ge.toString().length)>1),Object(w.a)(St,"".concat(Xe,"-status-").concat(D),!!D),Object(w.a)(St,"".concat(Xe,"-status-").concat(N),c(N)),St)),xt=Object(b.a)({},Se);return N&&!c(N)&&(xt=xt||{},xt.background=N),g.createElement(t,{prefixCls:vt,show:!X,className:l()(Ye,Ut),count:ge,title:me,style:xt,key:"scrollNumber"},we)}),$)};S.Ribbon=p;var y=B.a=S},Kvyg:function(k,B,d){},KxBF:function(k,B){function d(w,A,b){var g=-1,v=w.length;A<0&&(A=-A>v?0:v+A),b=b>v?v:b,b<0&&(b+=v),v=A>b?0:b-A>>>0,A>>>=0;for(var f=Array(v);++g<v;)f[g]=w[g+A];return f}k.exports=d},KxFI:function(k,B,d){},KxfA:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=b.isTypedArray,v=b.extend,f=b.assert,l=b.each,u=b.isObject,o=d("4NO4"),e=o.getDataItemValue,n=o.isDataItemOption,i=d("OELB"),r=i.parseDate,s=d("7G+c"),t=d("k9D9"),a=t.SOURCE_FORMAT_TYPED_ARRAY,c=t.SOURCE_FORMAT_ARRAY_ROWS,h=t.SOURCE_FORMAT_ORIGINAL,p=t.SOURCE_FORMAT_OBJECT_ROWS;function m(P,W){s.isInstance(P)||(P=s.seriesDataToSource(P)),this._source=P;var R=this._data=P.data,j=P.sourceFormat;j===a&&(this._offset=0,this._dimSize=W,this._data=R);var H=y[j===c?j+"_"+P.seriesLayoutBy:j];v(this,H)}var S=m.prototype;S.pure=!1,S.persistent=!0,S.getSource=function(){return this._source};var y={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(P){return this._data[P+this._source.startIndex]},appendData:T},arrayRows_row:{pure:!0,count:function(){var P=this._data[0];return P?Math.max(0,P.length-this._source.startIndex):0},getItem:function(P){P+=this._source.startIndex;for(var W=[],R=this._data,j=0;j<R.length;j++){var H=R[j];W.push(H?H[P]:null)}return W},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:x,getItem:C,appendData:T},keyedColumns:{pure:!0,count:function(){var P=this._source.dimensionsDefine[0].name,W=this._data[P];return W?W.length:0},getItem:function(P){for(var W=[],R=this._source.dimensionsDefine,j=0;j<R.length;j++){var H=this._data[R[j].name];W.push(H?H[P]:null)}return W},appendData:function(P){var W=this._data;l(P,function(R,j){for(var H=W[j]||(W[j]=[]),K=0;K<(R||[]).length;K++)H.push(R[K])})}},original:{count:x,getItem:C,appendData:T},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(P,W){P=P-this._offset,W=W||[];for(var R=this._dimSize*P,j=0;j<this._dimSize;j++)W[j]=this._data[R+j];return W},appendData:function(P){this._data=P},clean:function(){this._offset+=this.count(),this._data=null}}};function x(){return this._data.length}function C(P){return this._data[P]}function T(P){for(var W=0;W<P.length;W++)this._data.push(P[W])}var _={arrayRows:E,objectRows:function(P,W,R,j){return R!=null?P[j]:P},keyedColumns:E,original:function(P,W,R,j){var H=e(P);return R==null||!(H instanceof Array)?H:H[R]},typedArray:E};function E(P,W,R,j){return R!=null?P[R]:P}var I={arrayRows:L,objectRows:function(P,W,R,j){return D(P[W],this._dimensionInfos[W])},keyedColumns:L,original:function(P,W,R,j){var H=P&&(P.value==null?P:P.value);return!this._rawData.pure&&n(P)&&(this.hasItemOption=!0),D(H instanceof Array?H[j]:H,this._dimensionInfos[W])},typedArray:function(P,W,R,j){return P[j]}};function L(P,W,R,j){return D(P[j],this._dimensionInfos[W])}function D(P,W){var R=W&&W.type;if(R==="ordinal"){var j=W&&W.ordinalMeta;return j?j.parseAndCollect(P):P}return R==="time"&&typeof P!="number"&&P!=null&&P!=="-"&&(P=+r(P)),P==null||P===""?NaN:+P}function F(P,W,R){if(!P)return;var j=P.getRawDataItem(W);if(j==null)return;var H=P.getProvider().getSource().sourceFormat,K,U,G=P.getDimensionInfo(R);return G&&(K=G.name,U=G.index),_[H](j,W,U,K)}function N(P,W,R){if(!P)return;var j=P.getProvider().getSource().sourceFormat;if(j!==h&&j!==p)return;var H=P.getRawDataItem(W);if(j===h&&!u(H)&&(H=null),H)return H[R]}B.DefaultDataProvider=m,B.defaultDimValueGetters=I,B.retrieveRawValue=F,B.retrieveRawAttr=N},L0Ub:function(k,B,d){var w=d("bYtY"),A=w.each,b=w.createHashMap,g=w.assert,v=d("Tghj"),f=v.__DEV__,l=b(["tooltip","label","itemName","itemId","seriesName"]);function u(i){var r={},s=r.encode={},t=b(),a=[],c=[],h=r.userOutput={dimensionNames:i.dimensions.slice(),encode:{}};A(i.dimensions,function(x){var C=i.getDimensionInfo(x),T=C.coordDim;if(T){var _=C.coordDimIndex;o(s,T)[_]=x,C.isExtraCoord||(t.set(T,1),n(C.type)&&(a[0]=x),o(h.encode,T)[_]=C.index),C.defaultTooltip&&c.push(x)}l.each(function(E,I){var L=o(s,I),D=C.otherDims[I];D!=null&&D!==!1&&(L[D]=C.name)})});var p=[],m={};t.each(function(x,C){var T=s[C];m[C]=T[0],p=p.concat(T)}),r.dataDimsOnCoord=p,r.encodeFirstDimNotExtra=m;var S=s.label;S&&S.length&&(a=S.slice());var y=s.tooltip;return y&&y.length?c=y.slice():c.length||(c=a.slice()),s.defaultedLabel=a,s.defaultedTooltip=c,r}function o(i,r){return i.hasOwnProperty(r)||(i[r]=[]),i[r]}function e(i){return i==="category"?"ordinal":i==="time"?"time":"float"}function n(i){return!(i==="ordinal"||i==="time")}B.OTHER_DIMENSIONS=l,B.summarizeDimensions=u,B.getDimensionTypeByAxis=e},L3Oj:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("HjIi");d("HM/N"),d("9eas"),d("eS4l"),d("y4/Y"),d("as94"),w.registerLayout(A.curry(b,"bar")),w.extendComponentView({type:"polar"})},L5E0:function(k,B){var d=["itemStyle","borderColor"];function w(A,b){var g=A.get("color");A.eachRawSeriesByType("boxplot",function(v){var f=g[v.seriesIndex%g.length],l=v.getData();l.setVisual({legendSymbol:"roundRect",color:v.get(d)||f}),A.isSeriesFiltered(v)||l.each(function(u){var o=l.getItemModel(u);l.setItemVisual(u,{color:o.get(d,!0)})})})}k.exports=w},LBfv:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=A.createHashMap,g=A.each;w.registerProcessor({getTargetSeries:function(v){var f=b();return v.eachComponent("dataZoom",function(l){l.eachTargetAxis(function(u,o,e){var n=e.getAxisProxy(u.name,o);g(n.getTargetSeriesModels(),function(i){f.set(i.uid,i)})})}),f},modifyOutputEnd:!0,overallReset:function(v,f){v.eachComponent("dataZoom",function(l){l.eachTargetAxis(function(u,o,e){e.getAxisProxy(u.name,o).reset(e,f)}),l.eachTargetAxis(function(u,o,e){e.getAxisProxy(u.name,o).filterData(e,f)})}),v.eachComponent("dataZoom",function(l){var u=l.findRepresentativeAxisProxy(),o=u.getDataPercentWindow(),e=u.getDataValueWindow();l.setCalculatedRange({start:o[0],end:o[1],startValue:e[0],endValue:e[1]})})}})},LCi9:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(m,S){if(!(m instanceof S))throw new TypeError("Cannot call a class as a function")}function A(m,S){for(var y=0;y<S.length;y++){var x=S[y];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}function b(m,S,y){return S&&A(m.prototype,S),y&&A(m,y),m}var g=0,v=1,f=2,l=4,u=8,o=16,e=32,n=64,i=127,r=50,s=90,t=250,a=1e3,c=1e3,h=50,p=function(){function m(){w(this,m),this._target=null,this._state=i,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return b(m,[{key:"attach",value:function(y){this.detach(),this._target=y,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(y){var x;y.stopPropagation(),y.preventDefault();switch(y.type){case"touchstart":x=this._touchStart;break;case"touchmove":x=this._touchMove;break;case"touchend":case"touchcancel":x=this._touchEnd;break}for(var C=0;C<y.changedTouches.length;C++){var T=y.changedTouches[C];x.call(this,T.identifier,T.clientX,T.clientY)}}},{key:"_touchStart",value:function(y,x,C){if(this._hasDetectedGesture()||this._state===g){this._ignored.push(y);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>t){this._state=g,this._ignored.push(y);return}if(this._waitingRelease){this._state=g,this._ignored.push(y);return}this._tracked.push({id:y,started:Date.now(),active:!0,firstX:x,firstY:C,lastX:x,lastY:C,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(v|u|o),this._stopLongpressTimeout();break;case 3:this._state&=~(f|e|n);break;default:this._state=g}}},{key:"_touchMove",value:function(y,x,C){var T=this._tracked.find(function(F){return F.id===y});if(T===void 0)return;T.lastX=x,T.lastY=C;var _=x-T.firstX,E=C-T.firstY;if((T.firstX!==T.lastX||T.firstY!==T.lastY)&&(T.angle=Math.atan2(E,_)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(_,E)<r)return;if(this._state&=~(v|f|l|o),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~u),this._tracked.length!==2&&(this._state&=~(e|n)),this._tracked.length===2){var I=this._tracked.find(function(F){return F.id!==y}),L=Math.hypot(I.firstX-I.lastX,I.firstY-I.lastY);if(L>r){var D=Math.abs(T.angle-I.angle);D=Math.abs((D+180)%360-180),D>s?this._state&=~e:this._state&=~n,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(y,x,C){if(this._ignored.indexOf(y)!==-1){this._ignored.splice(this._ignored.indexOf(y),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=i,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=g),!this._hasDetectedGesture()&&(this._state&=~(u|e|n),this._state&=~o,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(f|l);break;case 2:this._state&=~(v|l);break}}if(this._waitingRelease){Date.now()-this._releaseStart>t&&(this._state=g),this._tracked.some(function(E){return Date.now()-E.started>a})&&(this._state=g);var T=this._tracked.find(function(E){return E.id===y});if(T.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==g)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var _=0;_<this._tracked.length;_++)this._tracked[_].active&&this._ignored.push(this._tracked[_].id);this._tracked=[],this._state=g,this._ignored.indexOf(y)!==-1&&this._ignored.splice(this._ignored.indexOf(y),1),this._ignored.length===0&&(this._state=i,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===g||this._state&this._state-1?!1:!(this._state&(v|f|l)&&this._tracked.some(function(y){return y.active}))}},{key:"_startLongpressTimeout",value:function(){var y=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return y._longpressTimeout()},c)}},{key:"_stopLongpressTimeout",value:function(){clearTimeout(this._longpressTimeoutId),this._longpressTimeoutId=null}},{key:"_longpressTimeout",value:function(){if(this._hasDetectedGesture())throw new Error("A longpress gesture failed, conflict with a different gesture");this._state=o,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var y=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return y._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 y=this._getAverageMovement(),x=Math.abs(y.x),C=Math.abs(y.y),T=this._getAverageDistance(),_=Math.abs(Math.hypot(T.first.x,T.first.y)-Math.hypot(T.last.x,T.last.y));C<_&&x<_?this._state=n:this._state=e,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(y){var x={type:this._stateToGesture(this._state)},C=this._getPosition(),T=C.last;y==="gesturestart"&&(T=C.first);switch(this._state){case e:case n:T=C.first;break}if(x.clientX=T.x,x.clientY=T.y,this._state===n){var _=this._getAverageDistance();y==="gesturestart"?(x.magnitudeX=_.first.x,x.magnitudeY=_.first.y):(x.magnitudeX=_.last.x,x.magnitudeY=_.last.y)}else if(this._state===e)if(y==="gesturestart")x.magnitudeX=0,x.magnitudeY=0;else{var E=this._getAverageMovement();x.magnitudeX=E.x,x.magnitudeY=E.y}var I=new CustomEvent(y,{detail:x});this._target.dispatchEvent(I)}},{key:"_stateToGesture",value:function(y){switch(y){case v:return"onetap";case f:return"twotap";case l:return"threetap";case u:return"drag";case o:return"longpress";case e:return"twodrag";case n:return"pinch"}throw new Error("Unknown gesture state: "+y)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var y=this._tracked.length,x=0,C=0,T=0,_=0,E=0;E<this._tracked.length;E++)x+=this._tracked[E].firstX,C+=this._tracked[E].firstY,T+=this._tracked[E].lastX,_+=this._tracked[E].lastY;return{first:{x:x/y,y:C/y},last:{x:T/y,y:_/y}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var y,x;y=x=0;for(var C=this._tracked.length,T=0;T<this._tracked.length;T++)y+=this._tracked[T].lastX-this._tracked[T].firstX,x+=this._tracked[T].lastY-this._tracked[T].firstY;return{x:y/C,y:x/C}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var y=this._tracked[0],x=this._tracked[this._tracked.length-1],C=Math.abs(x.firstX-y.firstX),T=Math.abs(x.firstY-y.firstY),_=Math.abs(x.lastX-y.lastX),E=Math.abs(x.lastY-y.lastY);return{first:{x:C,y:T},last:{x:_,y:E}}}}]),m}();B.default=p},LPTA:function(k,B){var d=1;typeof window!="undefined"&&(d=Math.max(window.devicePixelRatio||1,1));var w=0,A=d;B.debugMode=w,B.devicePixelRatio=A},LPzL:function(k,B,d){var w=d("ProS");d("QzjZ"),d("vL6D"),d("xiyX"),d("y4/Y"),d("8Th4"),w.extendComponentView({type:"single"})},LSTS:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var w=function(){function i(r,s){for(var t=0;t<s.length;t++){var a=s[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(r,a.key,a)}}return function(r,s,t){return s&&i(r.prototype,s),t&&i(r,t),r}}(),A=d("q1tI"),b=f(A),g=d("17x9"),v=f(g);function f(i){return i&&i.__esModule?i:{default:i}}function l(i,r){var s={};for(var t in i){if(r.indexOf(t)>=0)continue;if(!Object.prototype.hasOwnProperty.call(i,t))continue;s[t]=i[t]}return s}function u(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function o(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function e(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var n=function(i){e(r,i);function r(s){u(this,r);var t=o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,s));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return w(r,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var t=!1,a={get passive(){t=!0}};try{document.addEventListener("test",null,a),document.removeEventListener("test",null,a)}catch(c){}return t}},{key:"eventListenerOptions",value:function(){var t=this.props.useCapture;return this.isPassiveSupported()&&(t={useCapture:this.props.useCapture,passive:!0}),t}},{key:"setDefaultLoader",value:function(t){this.defaultLoader=t}},{key:"detachMousewheelListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.scrollComponent.parentNode),t.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.getParentElement(this.scrollComponent)),t.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(t){var a=this.props.getScrollParent&&this.props.getScrollParent();return a!=null?a:t&&t.parentNode}},{key:"filterProps",value:function(t){return t}},{key:"attachScrollListener",value:function(){var t=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!t)return;var a=window;this.props.useWindow===!1&&(a=t),a.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),a.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(t){t.deltaY===1&&!this.isPassiveSupported()&&t.preventDefault()}},{key:"scrollListener",value:function(){var t=this.scrollComponent,a=window,c=this.getParentElement(t),h=void 0;if(this.props.useWindow){var p=document.documentElement||document.body.parentNode||document.body,m=a.pageYOffset!==void 0?a.pageYOffset:p.scrollTop;this.props.isReverse?h=m:h=this.calculateOffset(t,m)}else this.props.isReverse?h=c.scrollTop:h=t.scrollHeight-c.scrollTop-c.clientHeight;h<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=c.scrollHeight,this.beforeScrollTop=c.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(t,a){return t?this.calculateTopPosition(t)+(t.offsetHeight-a-window.innerHeight):0}},{key:"calculateTopPosition",value:function(t){return t?t.offsetTop+this.calculateTopPosition(t.offsetParent):0}},{key:"render",value:function(){var t=this,a=this.filterProps(this.props),c=a.children,h=a.element,p=a.hasMore,m=a.initialLoad,S=a.isReverse,y=a.loader,x=a.loadMore,C=a.pageStart,T=a.ref,_=a.threshold,E=a.useCapture,I=a.useWindow,L=a.getScrollParent,D=l(a,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);D.ref=function(N){t.scrollComponent=N,T&&T(N)};var F=[c];return p&&(y?S?F.unshift(y):F.push(y):this.defaultLoader&&(S?F.unshift(this.defaultLoader):F.push(this.defaultLoader))),b.default.createElement(h,D,F)}}]),r}(A.Component);n.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},n.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},B.default=n,k.exports=B.default},Llu2:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="DeliveredProcedureOutlined";var l=B.a=A.forwardRef(f)},Lo0S:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.initLogging=f,B.getLogging=l,B.Error=B.Warn=B.Info=B.Debug=void 0;var w="warn",A=function(){};B.Debug=A;var b=function(){};B.Info=b;var g=function(){};B.Warn=g;var v=function(){};B.Error=v;function f(u){if(typeof u=="undefined"?u=w:w=u,B.Debug=A=B.Info=b=B.Warn=g=B.Error=v=function(){},typeof window.console!="undefined")switch(u){case"debug":B.Debug=A=console.debug.bind(window.console);case"info":B.Info=b=console.info.bind(window.console);case"warn":B.Warn=g=console.warn.bind(window.console);case"error":B.Error=v=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+u+"'")}}function l(){return w}f()},LtfV:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="InboxOutlined";var l=B.a=A.forwardRef(f)},Lyp1:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="QuestionCircleOutlined";var l=B.a=A.forwardRef(f)},LzGr:function(k,B,d){var w=d("ProS"),A=d("rnVJ");d("EMyp"),d("8x+h"),d("wt3j"),d("uOyE"),d("/stD"),w.registerPreprocessor(A)},MBQ8:function(k,B,d){var w=d("T4UG"),A=d("MwEJ"),b=w.extend({type:"series.__base_bar__",getInitialData:function(g,v){return A(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(g){var v=this.coordinateSystem;if(v){var f=v.dataToPoint(v.clampData(g)),l=this.getData(),u=l.getLayout("offset"),o=l.getLayout("size"),e=v.getBaseAxis().isHorizontal()?0:1;return f[e]+=u+o/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:{}}});k.exports=b},MEGo:function(k,B,d){var w=d("4fz+"),A=d("Dagg"),b=d("dqUG"),g=d("2fw6"),v=d("x6Kt"),f=d("rmlV"),l=d("yxFR"),u=d("y+Vt"),o=d("h7HQ"),e=d("1Jh7"),n=d("SKnc"),i=d("K2GJ"),r=d("Fofx"),s=d("NC18"),t=s.createFromString,a=d("bYtY"),c=a.isString,h=a.extend,p=a.defaults,m=a.trim,S=a.each,y=/[\s,]+/;function x(G){if(c(G)){var z=new DOMParser;G=z.parseFromString(G,"text/xml")}for(G.nodeType===9&&(G=G.firstChild);G.nodeName.toLowerCase()!=="svg"||G.nodeType!==1;)G=G.nextSibling;return G}function C(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}C.prototype.parse=function(G,z){z=z||{};var Y=x(G);if(!Y)throw new Error("Illegal svg");var q=new w;this._root=q;var oe=Y.getAttribute("viewBox")||"",ie=parseFloat(Y.getAttribute("width")||z.width),se=parseFloat(Y.getAttribute("height")||z.height);isNaN(ie)&&(ie=null),isNaN(se)&&(se=null),F(Y,q,null,!0);for(var he=Y.firstChild;he;)this._parseNode(he,q),he=he.nextSibling;var pe,_e;if(oe){var De=m(oe).split(y);De.length>=4&&(pe={x:parseFloat(De[0]||0),y:parseFloat(De[1]||0),width:parseFloat(De[2]),height:parseFloat(De[3])})}if(pe&&ie!=null&&se!=null&&(_e=K(pe,ie,se),!z.ignoreViewBox)){var Xe=q;q=new w,q.add(Xe),Xe.scale=_e.scale.slice(),Xe.position=_e.position.slice()}return!z.ignoreRootClip&&ie!=null&&se!=null&&q.setClipPath(new v({shape:{x:0,y:0,width:ie,height:se}})),{root:q,width:ie,height:se,viewBoxRect:pe,viewBoxTransform:_e}},C.prototype._parseNode=function(G,z){var Y=G.nodeName.toLowerCase();Y==="defs"?this._isDefine=!0:Y==="text"&&(this._isText=!0);var q;if(this._isDefine){var oe=_[Y];if(oe){var ie=oe.call(this,G),se=G.getAttribute("id");se&&(this._defs[se]=ie)}}else{var oe=T[Y];oe&&(q=oe.call(this,G,z),z.add(q))}for(var he=G.firstChild;he;)he.nodeType===1&&this._parseNode(he,q),he.nodeType===3&&this._isText&&this._parseText(he,q),he=he.nextSibling;Y==="defs"?this._isDefine=!1:Y==="text"&&(this._isText=!1)},C.prototype._parseText=function(G,z){if(G.nodeType===1){var Y=G.getAttribute("dx")||0,q=G.getAttribute("dy")||0;this._textX+=parseFloat(Y),this._textY+=parseFloat(q)}var oe=new b({style:{text:G.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(z,oe),F(G,oe,this._defs);var ie=oe.style.fontSize;ie&&ie<9&&(oe.style.fontSize=9,oe.scale=oe.scale||[1,1],oe.scale[0]*=ie/9,oe.scale[1]*=ie/9);var se=oe.getBoundingRect();return this._textX+=se.width,z.add(oe),oe};var T={g:function(z,Y){var q=new w;return I(Y,q),F(z,q,this._defs),q},rect:function(z,Y){var q=new v;return I(Y,q),F(z,q,this._defs),q.setShape({x:parseFloat(z.getAttribute("x")||0),y:parseFloat(z.getAttribute("y")||0),width:parseFloat(z.getAttribute("width")||0),height:parseFloat(z.getAttribute("height")||0)}),q},circle:function(z,Y){var q=new g;return I(Y,q),F(z,q,this._defs),q.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),r:parseFloat(z.getAttribute("r")||0)}),q},line:function(z,Y){var q=new l;return I(Y,q),F(z,q,this._defs),q.setShape({x1:parseFloat(z.getAttribute("x1")||0),y1:parseFloat(z.getAttribute("y1")||0),x2:parseFloat(z.getAttribute("x2")||0),y2:parseFloat(z.getAttribute("y2")||0)}),q},ellipse:function(z,Y){var q=new f;return I(Y,q),F(z,q,this._defs),q.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),rx:parseFloat(z.getAttribute("rx")||0),ry:parseFloat(z.getAttribute("ry")||0)}),q},polygon:function(z,Y){var q=z.getAttribute("points");q&&(q=L(q));var oe=new o({shape:{points:q||[]}});return I(Y,oe),F(z,oe,this._defs),oe},polyline:function(z,Y){var q=new u;I(Y,q),F(z,q,this._defs);var oe=z.getAttribute("points");oe&&(oe=L(oe));var ie=new e({shape:{points:oe||[]}});return ie},image:function(z,Y){var q=new A;return I(Y,q),F(z,q,this._defs),q.setStyle({image:z.getAttribute("xlink:href"),x:z.getAttribute("x"),y:z.getAttribute("y"),width:z.getAttribute("width"),height:z.getAttribute("height")}),q},text:function(z,Y){var q=z.getAttribute("x")||0,oe=z.getAttribute("y")||0,ie=z.getAttribute("dx")||0,se=z.getAttribute("dy")||0;this._textX=parseFloat(q)+parseFloat(ie),this._textY=parseFloat(oe)+parseFloat(se);var he=new w;return I(Y,he),F(z,he,this._defs),he},tspan:function(z,Y){var q=z.getAttribute("x"),oe=z.getAttribute("y");q!=null&&(this._textX=parseFloat(q)),oe!=null&&(this._textY=parseFloat(oe));var ie=z.getAttribute("dx")||0,se=z.getAttribute("dy")||0,he=new w;return I(Y,he),F(z,he,this._defs),this._textX+=ie,this._textY+=se,he},path:function(z,Y){var q=z.getAttribute("d")||"",oe=t(q);return I(Y,oe),F(z,oe,this._defs),oe}},_={lineargradient:function(z){var Y=parseInt(z.getAttribute("x1")||0,10),q=parseInt(z.getAttribute("y1")||0,10),oe=parseInt(z.getAttribute("x2")||10,10),ie=parseInt(z.getAttribute("y2")||0,10),se=new n(Y,q,oe,ie);return E(z,se),se},radialgradient:function(z){}};function E(G,z){for(var Y=G.firstChild;Y;){if(Y.nodeType===1){var q=Y.getAttribute("offset");q.indexOf("%")>0?q=parseInt(q,10)/100:q?q=parseFloat(q):q=0;var oe=Y.getAttribute("stop-color")||"#000000";z.addColorStop(q,oe)}Y=Y.nextSibling}}function I(G,z){G&&G.__inheritedStyle&&(z.__inheritedStyle||(z.__inheritedStyle={}),p(z.__inheritedStyle,G.__inheritedStyle))}function L(G){for(var z=m(G).split(y),Y=[],q=0;q<z.length;q+=2){var oe=parseFloat(z[q]),ie=parseFloat(z[q+1]);Y.push([oe,ie])}return Y}var D={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function F(G,z,Y,q){var oe=z.__inheritedStyle||{},ie=z.type==="text";if(G.nodeType===1&&(R(G,z),h(oe,H(G)),!q)){for(var se in D)if(D.hasOwnProperty(se)){var he=G.getAttribute(se);he!=null&&(oe[D[se]]=he)}}var pe=ie?"textFill":"fill",_e=ie?"textStroke":"stroke";z.style=z.style||new i;var De=z.style;oe.fill!=null&&De.set(pe,P(oe.fill,Y)),oe.stroke!=null&&De.set(_e,P(oe.stroke,Y)),S(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(Xe){var J=Xe==="lineWidth"&&ie?"textStrokeWidth":Xe;oe[Xe]!=null&&De.set(J,parseFloat(oe[Xe]))}),(!oe.textBaseline||oe.textBaseline==="auto")&&(oe.textBaseline="alphabetic"),oe.textBaseline==="alphabetic"&&(oe.textBaseline="bottom"),oe.textAlign==="start"&&(oe.textAlign="left"),oe.textAlign==="end"&&(oe.textAlign="right"),S(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(Xe){oe[Xe]!=null&&De.set(Xe,oe[Xe])}),oe.lineDash&&(z.style.lineDash=m(oe.lineDash).split(y)),De[_e]&&De[_e]!=="none"&&(z[_e]=!0),z.__inheritedStyle=oe}var N=/url\(\s*#(.*?)\)/;function P(G,z){var Y=z&&G&&G.match(N);if(Y){var q=m(Y[1]),oe=z[q];return oe}return G}var W=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function R(G,z){var Y=G.getAttribute("transform");if(Y){Y=Y.replace(/,/g," ");var q=null,oe=[];Y.replace(W,function(pe,_e,De){oe.push(_e,De)});for(var ie=oe.length-1;ie>0;ie-=2){var se=oe[ie],he=oe[ie-1];q=q||r.create();switch(he){case"translate":se=m(se).split(y),r.translate(q,q,[parseFloat(se[0]),parseFloat(se[1]||0)]);break;case"scale":se=m(se).split(y),r.scale(q,q,[parseFloat(se[0]),parseFloat(se[1]||se[0])]);break;case"rotate":se=m(se).split(y),r.rotate(q,q,parseFloat(se[0]));break;case"skew":se=m(se).split(y),console.warn("Skew transform is not supported yet");break;case"matrix":var se=m(se).split(y);q[0]=parseFloat(se[0]),q[1]=parseFloat(se[1]),q[2]=parseFloat(se[2]),q[3]=parseFloat(se[3]),q[4]=parseFloat(se[4]),q[5]=parseFloat(se[5]);break}}z.setLocalTransform(q)}}var j=/([^\s:;]+)\s*:\s*([^:;]+)/g;function H(G){var z=G.getAttribute("style"),Y={};if(!z)return Y;var q={};j.lastIndex=0;for(var oe;(oe=j.exec(z))!=null;)q[oe[1]]=oe[2];for(var ie in D)D.hasOwnProperty(ie)&&q[ie]!=null&&(Y[D[ie]]=q[ie]);return Y}function K(G,z,Y){var q=z/G.width,oe=Y/G.height,ie=Math.min(q,oe),se=[ie,ie],he=[-(G.x+G.width/2)*ie+z/2,-(G.y+G.height/2)*ie+Y/2];return{scale:se,position:he}}function U(G,z){var Y=new C;return Y.parse(G,z)}B.parseXML=x,B.makeViewBoxTransform=K,B.parseSVG=U},MFOe:function(k,B,d){(function(w){var A=f(),b=l(),g=u(),v=typeof window!="undefined"?window:w;k.exports={assign:A,create:b,trim:g,bind:o,slice:e,each:n,map:i,pluck:r,isList:s,isFunction:t,isObject:a,Global:v};function f(){return Object.assign?Object.assign:function(h,p,m,S){for(var y=1;y<arguments.length;y++)n(Object(arguments[y]),function(x,C){h[C]=x});return h}}function l(){if(Object.create)return function(p,m,S,y){var x=e(arguments,1);return A.apply(this,[Object.create(p)].concat(x))};var c=function(){};return function(p,m,S,y){var x=e(arguments,1);return c.prototype=p,A.apply(this,[new c].concat(x))}}function u(){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 o(c,h){return function(){return h.apply(c,Array.prototype.slice.call(arguments,0))}}function e(c,h){return Array.prototype.slice.call(c,h||0)}function n(c,h){r(c,function(p,m){return h(p,m),!1})}function i(c,h){var p=s(c)?[]:{};return r(c,function(m,S){return p[S]=h(m,S),!1}),p}function r(c,h){if(s(c)){for(var p=0;p<c.length;p++)if(h(c[p],p))return c[p]}else for(var m in c)if(c.hasOwnProperty(m)&&h(c[m],m))return c[m]}function s(c){return c!=null&&typeof c!="function"&&typeof c.length=="number"}function t(c){return c&&{}.toString.call(c)==="[object Function]"}function a(c){return c&&{}.toString.call(c)==="[object Object]"}}).call(this,d("IyRk"))},MH26:function(k,B,d){var w=d("bYtY"),A=d("YXkt"),b=d("OELB"),g=d("kj2x"),v=d("c8qY"),f=d("iPDy"),l=d("7hqr"),u=l.getStackedDimension,o=function(a,c,h,p){var m=a.getData(),S=p.type;if(!w.isArray(p)&&(S==="min"||S==="max"||S==="average"||S==="median"||p.xAxis!=null||p.yAxis!=null)){var y,x;if(p.yAxis!=null||p.xAxis!=null)y=c.getAxis(p.yAxis!=null?"y":"x"),x=w.retrieve(p.yAxis,p.xAxis);else{var C=g.getAxisInfo(p,m,c,a);y=C.valueAxis;var T=u(m,C.valueDataDim);x=g.numCalculate(m,T,S)}var _=y.dim==="x"?0:1,E=1-_,I=w.clone(p),L={};I.type=null,I.coord=[],L.coord=[],I.coord[E]=-Infinity,L.coord[E]=Infinity;var D=h.get("precision");D>=0&&typeof x=="number"&&(x=+x.toFixed(Math.min(D,20))),I.coord[_]=L.coord[_]=x,p=[I,L,{type:S,valueIndex:p.valueIndex,value:x}]}return p=[g.dataTransform(a,p[0]),g.dataTransform(a,p[1]),w.extend({},p[2])],p[2].type=p[2].type||"",w.merge(p[2],p[0]),w.merge(p[2],p[1]),p};function e(a){return!isNaN(a)&&!isFinite(a)}function n(a,c,h,p){var m=1-a,S=p.dimensions[a];return e(c[m])&&e(h[m])&&c[a]===h[a]&&p.getAxis(S).containData(c[a])}function i(a,c){if(a.type==="cartesian2d"){var h=c[0].coord,p=c[1].coord;if(h&&p&&(n(1,h,p,a)||n(0,h,p,a)))return!0}return g.dataFilter(a,c[0])&&g.dataFilter(a,c[1])}function r(a,c,h,p,m){var S=p.coordinateSystem,y=a.getItemModel(c),x,C=b.parsePercent(y.get("x"),m.getWidth()),T=b.parsePercent(y.get("y"),m.getHeight());if(!isNaN(C)&&!isNaN(T))x=[C,T];else{if(p.getMarkerPosition)x=p.getMarkerPosition(a.getValues(a.dimensions,c));else{var _=S.dimensions,E=a.get(_[0],c),I=a.get(_[1],c);x=S.dataToPoint([E,I])}if(S.type==="cartesian2d"){var L=S.getAxis("x"),D=S.getAxis("y"),_=S.dimensions;e(a.get(_[0],c))?x[0]=L.toGlobalCoord(L.getExtent()[h?0:1]):e(a.get(_[1],c))&&(x[1]=D.toGlobalCoord(D.getExtent()[h?0:1]))}isNaN(C)||(x[0]=C),isNaN(T)||(x[1]=T)}a.setItemLayout(c,x)}var s=f.extend({type:"markLine",updateTransform:function(a,c,h){c.eachSeries(function(p){var m=p.markLineModel;if(m){var S=m.getData(),y=m.__from,x=m.__to;y.each(function(C){r(y,C,!0,p,h),r(x,C,!1,p,h)}),S.each(function(C){S.setItemLayout(C,[y.getItemLayout(C),x.getItemLayout(C)])}),this.markerGroupMap.get(p.id).updateLayout()}},this)},renderSeries:function(a,c,h,p){var m=a.coordinateSystem,S=a.id,y=a.getData(),x=this.markerGroupMap,C=x.get(S)||x.set(S,new v);this.group.add(C.group);var T=t(m,a,c),_=T.from,E=T.to,I=T.line;c.__from=_,c.__to=E,c.setData(I);var L=c.get("symbol"),D=c.get("symbolSize");w.isArray(L)||(L=[L,L]),typeof D=="number"&&(D=[D,D]),T.from.each(function(N){F(_,N,!0),F(E,N,!1)}),I.each(function(N){var P=I.getItemModel(N).get("lineStyle.color");I.setItemVisual(N,{color:P||_.getItemVisual(N,"color")}),I.setItemLayout(N,[_.getItemLayout(N),E.getItemLayout(N)]),I.setItemVisual(N,{fromSymbolSize:_.getItemVisual(N,"symbolSize"),fromSymbol:_.getItemVisual(N,"symbol"),toSymbolSize:E.getItemVisual(N,"symbolSize"),toSymbol:E.getItemVisual(N,"symbol")})}),C.updateData(I),T.line.eachItemGraphicEl(function(N,P){N.traverse(function(W){W.dataModel=c})});function F(N,P,W){var R=N.getItemModel(P);r(N,P,W,a,p),N.setItemVisual(P,{symbolSize:R.get("symbolSize")||D[W?0:1],symbol:R.get("symbol",!0)||L[W?0:1],color:R.get("itemStyle.color")||y.getVisual("color")})}C.__keep=!0,C.group.silent=c.get("silent")||a.get("silent")}});function t(a,c,h){var p;a?p=w.map(a&&a.dimensions,function(T){var _=c.getData().getDimensionInfo(c.getData().mapDimension(T))||{};return w.defaults({name:T},_)}):p=[{name:"value",type:"float"}];var m=new A(p,h),S=new A(p,h),y=new A([],h),x=w.map(h.get("data"),w.curry(o,c,a,h));a&&(x=w.filter(x,w.curry(i,a)));var C=a?g.dimValueGetter:function(T){return T.value};return m.initData(w.map(x,function(T){return T[0]}),null,C),S.initData(w.map(x,function(T){return T[1]}),null,C),y.initData(w.map(x,function(T){return T[2]})),y.hasItemOption=!0,{from:m,to:S,line:y}}k.exports=s},MHoB:function(k,B,d){var w=d("bYtY"),A=d("6uqw"),b=d("OELB"),g=[20,140],v=A.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(u,o){v.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){v.superApply(this,"resetItemSize",arguments);var u=this.itemSize;this._orient==="horizontal"&&u.reverse(),(u[0]==null||isNaN(u[0]))&&(u[0]=g[0]),(u[1]==null||isNaN(u[1]))&&(u[1]=g[1])},_resetRange:function(){var u=this.getExtent(),o=this.option.range;!o||o.auto?(u.auto=1,this.option.range=u):w.isArray(o)&&(o[0]>o[1]&&o.reverse(),o[0]=Math.max(o[0],u[0]),o[1]=Math.min(o[1],u[1]))},completeVisualOption:function(){A.prototype.completeVisualOption.apply(this,arguments),w.each(this.stateList,function(u){var o=this.option.controller[u].symbolSize;o&&o[0]!==o[1]&&(o[0]=0)},this)},setSelected:function(u){this.option.range=u.slice(),this._resetRange()},getSelected:function(){var u=this.getExtent(),o=b.asc((this.get("range")||[]).slice());return o[0]>u[1]&&(o[0]=u[1]),o[1]>u[1]&&(o[1]=u[1]),o[0]<u[0]&&(o[0]=u[0]),o[1]<u[0]&&(o[1]=u[0]),o},getValueState:function(u){var o=this.option.range,e=this.getExtent();return(o[0]<=e[0]||o[0]<=u)&&(o[1]>=e[1]||u<=o[1])?"inRange":"outOfRange"},findTargetDataIndices:function(u){var o=[];return this.eachTargetSeries(function(e){var n=[],i=e.getData();i.each(this.getDataDimension(i),function(r,s){u[0]<=r&&r<=u[1]&&n.push(s)},this),o.push({seriesId:e.id,dataIndex:n})},this),o},getVisualMeta:function(u){var o=f(this,"outOfRange",this.getExtent()),e=f(this,"inRange",this.option.range.slice()),n=[];function i(p,m){n.push({value:p,color:u(p,m)})}for(var r=0,s=0,t=e.length,a=o.length;s<a&&(!e.length||o[s]<=e[0]);s++)o[s]<e[r]&&i(o[s],"outOfRange");for(var c=1;r<t;r++,c=0)c&&n.length&&i(e[r],"outOfRange"),i(e[r],"inRange");for(var c=1;s<a;s++)(!e.length||e[e.length-1]<o[s])&&(c&&(n.length&&i(n[n.length-1].value,"outOfRange"),c=0),i(o[s],"outOfRange"));var h=n.length;return{stops:n,outerColors:[h?n[0].color:"transparent",h?n[h-1].color:"transparent"]}}});function f(u,o,e){if(e[0]===e[1])return e.slice();for(var n=200,i=(e[1]-e[0])/n,r=e[0],s=[],t=0;t<=n&&r<e[1];t++)s.push(r),r+=i;return s.push(e[1]),s}var l=v;k.exports=l},MHtr:function(k,B,d){var w=d("bYtY");function A(g,v){var f=this.getAxis(),l=v instanceof Array?v[0]:v,u=(g instanceof Array?g[0]:g)/2;return f.type==="category"?f.getBandWidth():Math.abs(f.dataToCoord(l-u)-f.dataToCoord(l+u))}function b(g){var v=g.getRect();return{coordSys:{type:"singleAxis",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(f){return g.dataToPoint(f)},size:w.bind(A,g)}}}k.exports=b},MJZm:function(k,B,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),g=d.n(b),v=d("fAei"),f=d("TSYQ"),l=d.n(f),u=d("KQm4"),o=d("ODXe"),e=d("sEfC"),n=d.n(e),i=d("OZM5"),r=d("815F"),s=d("9jjd"),t=d("VTBJ"),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},c=a,h=d("6VBw"),p=function(oe,ie){return b.createElement(h.a,Object(t.a)(Object(t.a)({},oe),{},{ref:ie,icon:c}))};p.displayName="FolderOpenOutlined";var m=b.forwardRef(p),S={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"},y=S,x=function(oe,ie){return b.createElement(h.a,Object(t.a)(Object(t.a)({},oe),{},{ref:ie,icon:y}))};x.displayName="FolderOutlined";var C=b.forwardRef(x),T=d("H84U"),_;(function(q){q[q.None=0]="None",q[q.Start=1]="Start",q[q.End=2]="End"})(_||(_={}));function E(q,oe){function ie(se){var he=se.key,pe=se.children;oe(he,se)!==!1&&E(pe||[],oe)}q.forEach(ie)}function I(q){var oe=q.treeData,ie=q.expandedKeys,se=q.startKey,he=q.endKey,pe=[],_e=_.None;if(se&&se===he)return[se];if(!se||!he)return[];function De(Xe){return Xe===se||Xe===he}return E(oe,function(Xe){if(_e===_.End)return!1;if(De(Xe)){if(pe.push(Xe),_e===_.None)_e=_.Start;else if(_e===_.Start)return _e=_.End,!1}else _e===_.Start&&pe.push(Xe);return!(ie.indexOf(Xe)===-1)}),pe}function L(q,oe){var ie=Object(u.a)(oe),se=[];return E(q,function(he,pe){var _e=ie.indexOf(he);return _e!==-1&&(se.push(pe),ie.splice(_e,1)),!!ie.length}),se}var D=function(q,oe){var ie={};for(var se in q)Object.prototype.hasOwnProperty.call(q,se)&&oe.indexOf(se)<0&&(ie[se]=q[se]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,se=Object.getOwnPropertySymbols(q);he<se.length;he++)oe.indexOf(se[he])<0&&Object.prototype.propertyIsEnumerable.call(q,se[he])&&(ie[se[he]]=q[se[he]]);return ie};function F(q){var oe=q.isLeaf,ie=q.expanded;return oe?b.createElement(s.a,null):ie?b.createElement(m,null):b.createElement(C,null)}function N(q){var oe=q.treeData,ie=q.children;return oe||Object(r.c)(ie)}var P=function(oe,ie){var se=oe.defaultExpandAll,he=oe.defaultExpandParent,pe=oe.defaultExpandedKeys,_e=D(oe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),De=b.useRef(),Xe=b.useRef(),J=b.createRef();b.useImperativeHandle(ie,function(){return J.current});var Ee=function(){var Qe=Object(r.a)(N(_e)),te=Qe.keyEntities,Q;return se?Q=Object.keys(te):he?Q=Object(i.e)(_e.expandedKeys||pe,te):Q=_e.expandedKeys||pe,Q},qe=b.useState(_e.selectedKeys||_e.defaultSelectedKeys||[]),ae=Object(o.a)(qe,2),V=ae[0],X=ae[1],Z=b.useState(Ee()),ge=Object(o.a)(Z,2),le=ge[0],Se=ge[1];b.useEffect(function(){"selectedKeys"in _e&&X(_e.selectedKeys)},[_e.selectedKeys]),b.useEffect(function(){"expandedKeys"in _e&&Se(_e.expandedKeys)},[_e.expandedKeys]);var me=function(Qe,te){var Q=te.isLeaf;if(Q||Qe.shiftKey||Qe.metaKey||Qe.ctrlKey)return;J.current.onNodeExpand(Qe,te)},$=n()(me,200,{leading:!0}),we=function(Qe,te){return"expandedKeys"in _e||Se(Qe),_e.onExpand?_e.onExpand(Qe,te):void 0},xe=function(Qe,te){var Q=_e.expandAction;Q==="click"&&$(Qe,te),_e.onClick&&_e.onClick(Qe,te)},We=function(Qe,te){var Q=_e.expandAction;Q==="doubleClick"&&$(Qe,te),_e.onDoubleClick&&_e.onDoubleClick(Qe,te)},st=function(Qe,te){var Q=_e.multiple,Me=te.node,Ce=te.nativeEvent,ue=Me.key,ot=ue===void 0?"":ue,rt=N(_e),Ue=Object(A.a)(Object(A.a)({},te),{selected:!0}),Ge=Ce.ctrlKey||Ce.metaKey,tt=Ce.shiftKey,Wt;Q&&Ge?(Wt=Qe,De.current=ot,Xe.current=Wt,Ue.selectedNodes=L(rt,Wt)):Q&&tt?(Wt=Array.from(new Set([].concat(Object(u.a)(Xe.current||[]),Object(u.a)(I({treeData:rt,expandedKeys:le,startKey:ot,endKey:De.current}))))),Ue.selectedNodes=L(rt,Wt)):(Wt=[ot],De.current=ot,Xe.current=Wt,Ue.selectedNodes=L(rt,Wt)),_e.onSelect&&_e.onSelect(Wt,Ue),"selectedKeys"in _e||X(Wt)},nt=b.useContext(T.b),Ne=nt.getPrefixCls,St=nt.direction,Ye=_e.prefixCls,vt=_e.className,It=D(_e,["prefixCls","className"]),Ut=Ne("tree",Ye),xt=l()("".concat(Ut,"-directory"),Object(w.a)({},"".concat(Ut,"-directory-rtl"),St==="rtl"),vt);return b.createElement(z,Object(A.a)({icon:F,ref:J,blockNode:!0},It,{prefixCls:Ut,className:xt,expandedKeys:le,selectedKeys:V,onSelect:st,onClick:xe,onDoubleClick:We,onExpand:we}))},W=b.forwardRef(P);W.displayName="DirectoryTree",W.defaultProps={showIcon:!0,expandAction:"click"};var R=W,j=d("EXcs"),H=d("2jpz"),K=4;function U(q){var oe,ie=q.dropPosition,se=q.dropLevelOffset,he=q.prefixCls,pe=q.indent,_e=q.direction,De=_e===void 0?"ltr":_e,Xe=De==="ltr"?"left":"right",J=De==="ltr"?"right":"left",Ee=(oe={},Object(w.a)(oe,Xe,-se*pe+K),Object(w.a)(oe,J,0),oe);switch(ie){case-1:Ee.top=-3;break;case 1:Ee.bottom=-3;break;default:Ee.bottom=-3,Ee[Xe]=pe+K;break}return g.a.createElement("div",{style:Ee,className:"".concat(he,"-drop-indicator")})}var G=b.forwardRef(function(q,oe){var ie,se=b.useContext(T.b),he=se.getPrefixCls,pe=se.direction,_e=se.virtual,De=q.prefixCls,Xe=q.className,J=q.showIcon,Ee=q.showLine,qe=q.switcherIcon,ae=q.blockNode,V=q.children,X=q.checkable,Z=q.selectable,ge=he("tree",De),le=Object(A.a)(Object(A.a)({},q),{showLine:Boolean(Ee),dropIndicatorRender:U});return b.createElement(v.b,Object(A.a)({itemHeight:20,ref:oe,virtual:_e},le,{prefixCls:ge,className:l()((ie={},Object(w.a)(ie,"".concat(ge,"-icon-hide"),!J),Object(w.a)(ie,"".concat(ge,"-block-node"),ae),Object(w.a)(ie,"".concat(ge,"-unselectable"),!Z),Object(w.a)(ie,"".concat(ge,"-rtl"),pe==="rtl"),ie),Xe),direction:pe,checkable:X&&b.createElement("span",{className:"".concat(ge,"-checkbox-inner")}),selectable:Z,switcherIcon:function(me){return Object(H.a)(ge,qe,Ee,me)}}),V)});G.TreeNode=v.a,G.DirectoryTree=R,G.defaultProps={checkable:!1,selectable:!0,showIcon:!1,motion:Object(A.a)(Object(A.a)({},j.a),{motionAppear:!1}),blockNode:!1};var z=G,Y=B.a=z},MKOG:function(k,B,d){var w=d("bYtY"),A=d("YH21"),b=A.Dispatcher,g=d("mLcG"),v=d("Bq2U"),f=function(o){o=o||{},this.stage=o.stage||{},this.onframe=o.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,b.call(this)};f.prototype={constructor:f,addClip:function(o){this._clips.push(o)},addAnimator:function(o){o.animation=this;for(var e=o.getClips(),n=0;n<e.length;n++)this.addClip(e[n])},removeClip:function(o){var e=w.indexOf(this._clips,o);e>=0&&this._clips.splice(e,1)},removeAnimator:function(o){for(var e=o.getClips(),n=0;n<e.length;n++)this.removeClip(e[n]);o.animation=null},_update:function(){for(var o=new Date().getTime()-this._pausedTime,e=o-this._time,n=this._clips,i=n.length,r=[],s=[],t=0;t<i;t++){var a=n[t],c=a.step(o,e);c&&(r.push(c),s.push(a))}for(var t=0;t<i;)n[t]._needsRemove?(n[t]=n[i-1],n.pop(),i--):t++;i=r.length;for(var t=0;t<i;t++)s[t].fire(r[t]);this._time=o,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var o=this;this._running=!0;function e(){o._running&&(g(e),!o._paused&&o._update())}g(e)},start:function(){this._time=new Date().getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=new Date().getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=new Date().getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(o,e){e=e||{};var n=new v(o,e.loop,e.getter,e.setter);return this.addAnimator(n),n}},w.mixin(f,b);var l=f;k.exports=l},MRoa:function(k,B,d){var w=d("ProS");d("0Bwj"),d("W2nI"),d("vcCh");var A=d("gawk"),b=d("Dg8C");w.registerLayout(A),w.registerVisual(b)},MT78:function(k,B,d){var w=d("ProS");(function(){for(var b in w){if(w==null||!w.hasOwnProperty(b)||b==="default"||b==="__esModule")return;B[b]=w[b]}})();var A=d("txkQ");(function(){for(var b in A){if(A==null||!A.hasOwnProperty(b)||b==="default"||b==="__esModule")return;B[b]=A[b]}})(),d("A1Ka"),d("75ce"),d("lLGD"),d("wDdD"),d("Fa/5"),d("jett"),d("Z1wy"),d("75ev"),d("2uGb"),d("I+77"),d("B+YJ"),d("pLH3"),d("CBdT"),d("MRoa"),d("+lIL"),d("CF2D"),d("ERHi"),d("p+If"),d("XOKv"),d("qt/9"),d("bBL8"),d("1xaR"),d("4Feb"),d("zRKj"),d("L3Oj"),d("0HBW"),d("LPzL"),d("8waO"),d("k5C7"),d("f1nB"),d("sRwP"),d("AH3D"),d("y4/Y"),d("LzGr"),d("Ynxi"),d("7pVf"),d("2w7y"),d("laiN"),d("fjKi"),d("C0tN"),d("0o9m"),d("Cm0C"),d("f3JH"),d("5NHt"),d("VFCP"),d("dBmv"),d("KamJ"),d("8XDt"),d("juDX")},MXD1:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("Kvyg"),g=d.n(b)},MZdM:function(k,B,d){"use strict";function w(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(t){return typeof t}:w=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(r)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var A=u(d("Lo0S")),b=f(d("N/zr")),g=d("GdRQ"),v=d("GQ8N");function f(r){return r&&r.__esModule?r:{default:r}}function l(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return l=function(){return r},r}function u(r){if(r&&r.__esModule)return r;if(r===null||w(r)!=="object"&&typeof r!="function")return{default:r};var s=l();if(s&&s.has(r))return s.get(r);var t={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in r)if(Object.prototype.hasOwnProperty.call(r,c)){var h=a?Object.getOwnPropertyDescriptor(r,c):null;h&&(h.get||h.set)?Object.defineProperty(t,c,h):t[c]=r[c]}return t.default=r,s&&s.set(r,t),t}function o(r,s){if(!(r instanceof s))throw new TypeError("Cannot call a class as a function")}function e(r,s){for(var t=0;t<s.length;t++){var a=s[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(r,a.key,a)}}function n(r,s,t){return s&&e(r.prototype,s),t&&e(r,t),r}var i=function(){function r(s){if(o(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,A.Debug(">> Display.constructor"),this._target=s,!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},A.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),A.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return n(r,[{key:"viewportChangePos",value:function(t,a){var c=this._viewportLoc;t=Math.floor(t),a=Math.floor(a),this._clipViewport||(t=-c.w,a=-c.h);var h=c.x+c.w-1,p=c.y+c.h-1;if(t<0&&c.x+t<0&&(t=-c.x),h+t>=this._fbWidth&&(t-=h+t-this._fbWidth+1),c.y+a<0&&(a=-c.y),p+a>=this._fbHeight&&(a-=p+a-this._fbHeight+1),t===0&&a===0)return;A.Debug("viewportChange deltaX: "+t+", deltaY: "+a),c.x+=t,c.y+=a,this._damage(c.x,c.y,c.w,c.h),this.flip()}},{key:"viewportChangeSize",value:function(t,a){(!this._clipViewport||typeof t=="undefined"||typeof a=="undefined")&&(A.Debug("Setting viewport to full display region"),t=this._fbWidth,a=this._fbHeight),t=Math.floor(t),a=Math.floor(a),t>this._fbWidth&&(t=this._fbWidth),a>this._fbHeight&&(a=this._fbHeight);var c=this._viewportLoc;if(c.w!==t||c.h!==a){c.w=t,c.h=a;var h=this._target;h.width=t,h.height=a,this.viewportChangePos(0,0),this._damage(c.x,c.y,c.w,c.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(t,a){this._prevDrawStyle="",this._fbWidth=t,this._fbHeight=a;var c=this._backbuffer;if(c.width!==t||c.height!==a){var h=null;c.width>0&&c.height>0&&(h=this._drawCtx.getImageData(0,0,c.width,c.height)),c.width!==t&&(c.width=t),c.height!==a&&(c.height=a),h&&this._drawCtx.putImageData(h,0,0)}var p=this._viewportLoc;this.viewportChangeSize(p.w,p.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(t,a,c,h){t<this._damageBounds.left&&(this._damageBounds.left=t),a<this._damageBounds.top&&(this._damageBounds.top=a),t+c>this._damageBounds.right&&(this._damageBounds.right=t+c),a+h>this._damageBounds.bottom&&(this._damageBounds.bottom=a+h)}},{key:"flip",value:function(t){if(this._renderQ.length!==0&&!t)this._renderQPush({type:"flip"});else{var a=this._damageBounds.left,c=this._damageBounds.top,h=this._damageBounds.right-a,p=this._damageBounds.bottom-c,m=a-this._viewportLoc.x,S=c-this._viewportLoc.y;m<0&&(h+=m,a-=m,m=0),S<0&&(p+=S,c-=S,S=0),m+h>this._viewportLoc.w&&(h=this._viewportLoc.w-m),S+p>this._viewportLoc.h&&(p=this._viewportLoc.h-S),h>0&&p>0&&this._targetCtx.drawImage(this._backbuffer,a,c,h,p,m,S,h,p),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(t,a,c,h,p,m){this._renderQ.length!==0&&!m?this._renderQPush({type:"fill",x:t,y:a,width:c,height:h,color:p}):(this._setFillColor(p),this._drawCtx.fillRect(t,a,c,h),this._damage(t,a,c,h))}},{key:"copyImage",value:function(t,a,c,h,p,m,S){this._renderQ.length!==0&&!S?this._renderQPush({type:"copy",oldX:t,oldY:a,x:c,y:h,width:p,height:m}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,t,a,p,m,c,h,p,m),this._damage(c,h,p,m))}},{key:"imageRect",value:function(t,a,c,h,p,m){if(c===0||h===0)return;var S=new Image;S.src="data: "+p+";base64,"+b.default.encode(m),this._renderQPush({type:"img",img:S,x:t,y:a,width:c,height:h})}},{key:"startTile",value:function(t,a,c,h,p){this._tileX=t,this._tileY=a,c===16&&h===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(c,h);for(var m=p[2],S=p[1],y=p[0],x=this._tile.data,C=0;C<c*h*4;C+=4)x[C]=m,x[C+1]=S,x[C+2]=y,x[C+3]=255}},{key:"subTile",value:function(t,a,c,h,p){for(var m=p[2],S=p[1],y=p[0],x=t+c,C=a+h,T=this._tile.data,_=this._tile.width,E=a;E<C;E++)for(var I=t;I<x;I++){var L=(I+E*_)*4;T[L]=m,T[L+1]=S,T[L+2]=y,T[L+3]=255}}},{key:"finishTile",value:function(){this._drawCtx.putImageData(this._tile,this._tileX,this._tileY),this._damage(this._tileX,this._tileY,this._tile.width,this._tile.height)}},{key:"blitImage",value:function(t,a,c,h,p,m,S){if(this._renderQ.length!==0&&!S){var y=new Uint8Array(c*h*4);y.set(new Uint8Array(p.buffer,0,y.length)),this._renderQPush({type:"blit",data:y,x:t,y:a,width:c,height:h})}else this._bgrxImageData(t,a,c,h,p,m)}},{key:"blitRgbImage",value:function(t,a,c,h,p,m,S){if(this._renderQ.length!==0&&!S){var y=new Uint8Array(c*h*3);y.set(new Uint8Array(p.buffer,0,y.length)),this._renderQPush({type:"blitRgb",data:y,x:t,y:a,width:c,height:h})}else this._rgbImageData(t,a,c,h,p,m)}},{key:"blitRgbxImage",value:function(t,a,c,h,p,m,S){if(this._renderQ.length!==0&&!S){var y=new Uint8Array(c*h*4);y.set(new Uint8Array(p.buffer,0,y.length)),this._renderQPush({type:"blitRgbx",data:y,x:t,y:a,width:c,height:h})}else this._rgbxImageData(t,a,c,h,p,m)}},{key:"drawImage",value:function(t,a,c){this._drawCtx.drawImage(t,a,c),this._damage(a,c,t.width,t.height)}},{key:"autoscale",value:function(t,a){var c;if(t===0||a===0)c=0;else{var h=this._viewportLoc,p=t/a,m=h.w/h.h;m>=p?c=t/h.w:c=a/h.h}this._rescale(c)}},{key:"_rescale",value:function(t){this._scale=t;var a=this._viewportLoc,c=t*a.w+"px",h=t*a.h+"px";(this._target.style.width!==c||this._target.style.height!==h)&&(this._target.style.width=c,this._target.style.height=h)}},{key:"_setFillColor",value:function(t){var a="rgb("+t[2]+","+t[1]+","+t[0]+")";a!==this._prevDrawStyle&&(this._drawCtx.fillStyle=a,this._prevDrawStyle=a)}},{key:"_rgbImageData",value:function(t,a,c,h,p,m){for(var S=this._drawCtx.createImageData(c,h),y=S.data,x=0,C=m;x<c*h*4;x+=4,C+=3)y[x]=p[C],y[x+1]=p[C+1],y[x+2]=p[C+2],y[x+3]=255;this._drawCtx.putImageData(S,t,a),this._damage(t,a,S.width,S.height)}},{key:"_bgrxImageData",value:function(t,a,c,h,p,m){for(var S=this._drawCtx.createImageData(c,h),y=S.data,x=0,C=m;x<c*h*4;x+=4,C+=4)y[x]=p[C+2],y[x+1]=p[C+1],y[x+2]=p[C],y[x+3]=255;this._drawCtx.putImageData(S,t,a),this._damage(t,a,S.width,S.height)}},{key:"_rgbxImageData",value:function(t,a,c,h,p,m){var S;g.supportsImageMetadata?S=new ImageData(new Uint8ClampedArray(p.buffer,p.byteOffset,c*h*4),c,h):(S=this._drawCtx.createImageData(c,h),S.data.set(new Uint8ClampedArray(p.buffer,p.byteOffset,c*h*4))),this._drawCtx.putImageData(S,t,a),this._damage(t,a,S.width,S.height)}},{key:"_renderQPush",value:function(t){this._renderQ.push(t),this._renderQ.length===1&&this._scanRenderQ()}},{key:"_resumeRenderQ",value:function(){this.removeEventListener("load",this._noVNCDisplay._resumeRenderQ),this._noVNCDisplay._scanRenderQ()}},{key:"_scanRenderQ",value:function(){for(var t=!0;t&&this._renderQ.length>0;){var a=this._renderQ[0];switch(a.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(a.oldX,a.oldY,a.x,a.y,a.width,a.height,!0);break;case"fill":this.fillRect(a.x,a.y,a.width,a.height,a.color,!0);break;case"blit":this.blitImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"blitRgb":this.blitRgbImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"img":if(a.img.complete&&a.img.width!==0&&a.img.height!==0){if(a.img.width!==a.width||a.img.height!==a.height){A.Error("Decoded image has incorrect dimensions. Got "+a.img.width+"x"+a.img.height+". Expected "+a.width+"x"+a.height+".");return}this.drawImage(a.img,a.x,a.y)}else a.img._noVNCDisplay=this,a.img.addEventListener("load",this._resumeRenderQ),t=!1;break}t&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(t){this._rescale(t)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(t){this._clipViewport=t;var a=this._viewportLoc;this.viewportChangeSize(a.w,a.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),r}();B.default=i},Mdki:function(k,B,d){var w=d("bYtY"),A=w.each,b="\0__link_datas",g="\0__link_mainData";function v(s){var t=s.mainData,a=s.datas;a||(a={main:t},s.datasAttr={main:"data"}),s.datas=s.mainData=null,n(t,a,s),A(a,function(c){A(t.TRANSFERABLE_METHODS,function(h){c.wrapMethod(h,w.curry(f,s))})}),t.wrapMethod("cloneShallow",w.curry(u,s)),A(t.CHANGABLE_METHODS,function(c){t.wrapMethod(c,w.curry(l,s))}),w.assert(a[t.dataType]===t)}function f(s,t){if(e(this)){var a=w.extend({},this[b]);a[this.dataType]=t,n(t,a,s)}else i(t,this.dataType,this[g],s);return t}function l(s,t){return s.struct&&s.struct.update(this),t}function u(s,t){return A(t[b],function(a,c){a!==t&&i(a.cloneShallow(),c,t,s)}),t}function o(s){var t=this[g];return s==null||t==null?t:t[b][s]}function e(s){return s[g]===s}function n(s,t,a){s[b]={},A(t,function(c,h){i(c,h,s,a)})}function i(s,t,a,c){a[b][t]=s,s[g]=a,s.dataType=t,c.struct&&(s[c.structAttr]=c.struct,c.struct[c.datasAttr[t]]=s),s.getLinkedData=o}var r=v;k.exports=r},Mgri:function(k,B,d){for(var w=d("bYtY"),A=d("8nly"),b=[126,25],g=[[[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<g.length;v++)for(var f=0;f<g[v].length;f++)g[v][f][0]/=10.5,g[v][f][1]/=-10.5/.75,g[v][f][0]+=b[0],g[v][f][1]+=b[1];function l(u,o){u==="china"&&o.push(new A("\u5357\u6D77\u8BF8\u5C9B",w.map(g,function(e){return{type:"polygon",exterior:e}}),b))}k.exports=l},Mmt2:function(k,B,d){"use strict";function w(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(r){return typeof r}:w=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},w(n)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var A=g(d("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return b=function(){return n},n}function g(n){if(n&&n.__esModule)return n;if(n===null||w(n)!=="object"&&typeof n!="function")return{default:n};var i=b();if(i&&i.has(n))return i.get(n);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t)){var a=s?Object.getOwnPropertyDescriptor(n,t):null;a&&(a.get||a.set)?Object.defineProperty(r,t,a):r[t]=n[t]}return r.default=n,i&&i.set(n,r),r}function v(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function f(n,i){for(var r=0;r<i.length;r++){var s=i[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,s.key,s)}}function l(n,i,r){return i&&f(n.prototype,i),r&&f(n,r),n}var u=!1,o=40*1024*1024,e=function(){function n(){v(this,n),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 l(n,[{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 s=0,t=r-1;t>=0;t--)s+=this._rQ[this._rQi++]<<t*8;return s}},{key:"rQshiftStr",value:function(r){typeof r=="undefined"&&(r=this.rQlen);for(var s="",t=0;t<r;t+=4096){var a=this.rQshiftBytes(Math.min(4096,r-t));s+=String.fromCharCode.apply(null,a)}return s}},{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,s){s===void 0&&(s=this.rQlen),r.set(new Uint8Array(this._rQ.buffer,this._rQi,s)),this._rQi+=s}},{key:"rQslice",value:function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+r,s-r)}},{key:"rQwait",value:function(r,s,t){if(this.rQlen<s){if(t){if(this._rQi<t)throw new Error("rQwait cannot backup "+t+" bytes");this._rQi-=t}return!0}return!1}},{key:"flush",value:function(){this._sQlen>0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(r){this._sQ.set(r,this._sQlen),this._sQlen+=r.length,this.flush()}},{key:"sendString",value:function(r){this.send(r.split("").map(function(s){return s.charCodeAt(0)}))}},{key:"off",value:function(r){this._eventHandlers[r]=function(){}}},{key:"on",value:function(r,s){this._eventHandlers[r]=s}},{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,s){var t=this;this.init(),this._websocket=new WebSocket(r,s),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){A.Debug(">> WebSock.onopen"),t._websocket.protocol&&A.Info("Server choose sub-protocol: "+t._websocket.protocol),t._eventHandlers.open(),A.Debug("<< WebSock.onopen")},this._websocket.onclose=function(a){A.Debug(">> WebSock.onclose"),t._eventHandlers.close(a),A.Debug("<< WebSock.onclose")},this._websocket.onerror=function(a){A.Debug(">> WebSock.onerror: "+a),t._eventHandlers.error(a),A.Debug("<< WebSock.onerror: "+a)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(A.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 s=(this._rQlen-this._rQi+r)*8,t=this._rQbufferSize<s;if(t&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,s)),this._rQbufferSize>o&&(this._rQbufferSize=o,this._rQbufferSize-this.rQlen<r))throw new Error("Receive Queue buffer exceeded "+o+" bytes, and the new message could not fit");if(t){var a=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(a,this._rQi,this._rQlen-this._rQi))}else u?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 s=new Uint8Array(r);s.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(s.length),this._rQ.set(s,this._rQlen),this._rQlen+=s.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)):A.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}}]),n}();B.default=e},MqEG:function(k,B,d){var w=d("bYtY"),A=d("fc+c"),b=d("72pK"),g=d("VXYp"),v=w.bind,f=A.extend({type:"dataZoom.inside",init:function(n,i){this._range},render:function(n,i,r,s){f.superApply(this,"render",arguments),this._range=n.getPercentRange(),w.each(this.getTargetCoordInfo(),function(t,a){var c=w.map(t,function(h){return g.generateCoordId(h.model)});w.each(t,function(h){var p=h.model,m={};w.each(["pan","zoom","scrollMove"],function(S){m[S]=v(l[S],this,h,a)},this),g.register(r,{coordId:g.generateCoordId(p),allCoordIds:c,containsPoint:function(S,y,x){return p.coordinateSystem.containPoint([y,x])},dataZoomId:n.id,dataZoomModel:n,getRange:m})},this)},this)},dispose:function(){g.unregister(this.api,this.dataZoomModel.id),f.superApply(this,"dispose",arguments),this._range=null}}),l={zoom:function(n,i,r,s){var t=this._range,a=t.slice(),c=n.axisModels[0];if(!c)return;var h=o[i](null,[s.originX,s.originY],c,r,n),p=(h.signal>0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(a[1]-a[0])+a[0],m=Math.max(1/s.scale,0);a[0]=(a[0]-p)*m+p,a[1]=(a[1]-p)*m+p;var S=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(b(0,a,[0,100],0,S.minSpan,S.maxSpan),this._range=a,t[0]!==a[0]||t[1]!==a[1])return a},pan:u(function(n,i,r,s,t,a){var c=o[s]([a.oldX,a.oldY],[a.newX,a.newY],i,t,r);return c.signal*(n[1]-n[0])*c.pixel/c.pixelLength}),scrollMove:u(function(n,i,r,s,t,a){var c=o[s]([0,0],[a.scrollDelta,a.scrollDelta],i,t,r);return c.signal*(n[1]-n[0])*a.scrollDelta})};function u(n){return function(i,r,s,t){var a=this._range,c=a.slice(),h=i.axisModels[0];if(!h)return;var p=n(c,h,i,r,s,t);if(b(p,c,[0,100],"all"),this._range=c,a[0]!==c[0]||a[1]!==c[1])return c}}var o={grid:function(n,i,r,s,t){var a=r.axis,c={},h=t.model.coordinateSystem.getRect();return n=n||[0,0],a.dim==="x"?(c.pixel=i[0]-n[0],c.pixelLength=h.width,c.pixelStart=h.x,c.signal=a.inverse?1:-1):(c.pixel=i[1]-n[1],c.pixelLength=h.height,c.pixelStart=h.y,c.signal=a.inverse?-1:1),c},polar:function(n,i,r,s,t){var a=r.axis,c={},h=t.model.coordinateSystem,p=h.getRadiusAxis().getExtent(),m=h.getAngleAxis().getExtent();return n=n?h.pointToCoord(n):[0,0],i=h.pointToCoord(i),r.mainType==="radiusAxis"?(c.pixel=i[0]-n[0],c.pixelLength=p[1]-p[0],c.pixelStart=p[0],c.signal=a.inverse?1:-1):(c.pixel=i[1]-n[1],c.pixelLength=m[1]-m[0],c.pixelStart=m[0],c.signal=a.inverse?-1:1),c},singleAxis:function(n,i,r,s,t){var a=r.axis,c=t.model.coordinateSystem.getRect(),h={};return n=n||[0,0],a.orient==="horizontal"?(h.pixel=i[0]-n[0],h.pixelLength=c.width,h.pixelStart=c.x,h.signal=a.inverse?1:-1):(h.pixel=i[1]-n[1],h.pixelLength=c.height,h.pixelStart=c.y,h.signal=a.inverse?-1:1),h}},e=f;k.exports=e},MwEJ:function(k,B,d){var w=d("bYtY"),A=d("YXkt"),b=d("sdST"),g=d("k9D9"),v=g.SOURCE_FORMAT_ORIGINAL,f=d("L0Ub"),l=f.getDimensionTypeByAxis,u=d("4NO4"),o=u.getDataItemValue,e=d("IDmD"),n=d("i38C"),i=n.getCoordSysInfoBySeries,r=d("7G+c"),s=d("7hqr"),t=s.enableDataStack,a=d("D5nY"),c=a.makeSeriesEncodeForAxisCoordSys;function h(y,x,C){C=C||{},r.isInstance(y)||(y=r.seriesDataToSource(y));var T=x.get("coordinateSystem"),_=e.get(T),E=i(x),I;E&&(I=w.map(E.coordSysDims,function(R){var j={name:R},H=E.axisMap.get(R);if(H){var K=H.get("type");j.type=l(K)}return j})),I||(I=_&&(_.getDimensionsInfo?_.getDimensionsInfo():_.dimensions.slice())||["x","y"]);var L=b(y,{coordDimensions:I,generateCoord:C.generateCoord,encodeDefaulter:C.useEncodeDefaulter?w.curry(c,I,x):null}),D,F;E&&w.each(L,function(R,j){var H=R.coordDim,K=E.categoryAxisMap.get(H);K&&(D==null&&(D=j),R.ordinalMeta=K.getOrdinalMeta()),R.otherDims.itemName!=null&&(F=!0)}),!F&&D!=null&&(L[D].otherDims.itemName=0);var N=t(x,L),P=new A(L,x);P.setCalculationInfo(N);var W=D!=null&&p(y)?function(R,j,H,K){return K===D?H:this.defaultDimValueGetter(R,j,H,K)}:null;return P.hasItemOption=!1,P.initData(y,null,W),P}function p(y){if(y.sourceFormat===v){var x=m(y.data||[]);return x!=null&&!w.isArray(o(x))}}function m(y){for(var x=0;x<y.length&&y[x]==null;)x++;return y[x]}var S=h;k.exports=S},Mylv:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS"),g=d("oVpE"),v=g.createSymbol,f=d("OELB"),l=f.parsePercent,u=f.isNumeric,o=d("56rv"),e=o.setLabel,n=["itemStyle","borderWidth"],i=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],r=new b.Circle,s=w.extendChartView({type:"pictorialBar",render:function(U,G,z){var Y=this.group,q=U.getData(),oe=this._data,ie=U.coordinateSystem,se=ie.getBaseAxis(),he=!!se.isHorizontal(),pe=ie.grid.getRect(),_e={ecSize:{width:z.getWidth(),height:z.getHeight()},seriesModel:U,coordSys:ie,coordSysExtent:[[pe.x,pe.x+pe.width],[pe.y,pe.y+pe.height]],isHorizontal:he,valueDim:i[+he],categoryDim:i[1-he]};return q.diff(oe).add(function(De){if(!q.hasValue(De))return;var Xe=_(q,De),J=t(q,De,Xe,_e),Ee=D(q,_e,J);q.setItemGraphicEl(De,Ee),Y.add(Ee),j(Ee,_e,J)}).update(function(De,Xe){var J=oe.getItemGraphicEl(Xe);if(!q.hasValue(De)){Y.remove(J);return}var Ee=_(q,De),qe=t(q,De,Ee,_e),ae=P(q,qe);J&&ae!==J.__pictorialShapeStr&&(Y.remove(J),q.setItemGraphicEl(De,null),J=null),J?F(J,_e,qe):J=D(q,_e,qe,!0),q.setItemGraphicEl(De,J),J.__pictorialSymbolMeta=qe,Y.add(J),j(J,_e,qe)}).remove(function(De){var Xe=oe.getItemGraphicEl(De);Xe&&N(oe,De,Xe.__pictorialSymbolMeta.animationModel,Xe)}).execute(),this._data=q,this.group},dispose:A.noop,remove:function(U,G){var z=this.group,Y=this._data;U.get("animation")?Y&&Y.eachItemGraphicEl(function(q){N(Y,q.dataIndex,U,q)}):z.removeAll()}});function t(U,G,z,Y){var q=U.getItemLayout(G),oe=z.get("symbolRepeat"),ie=z.get("symbolClip"),se=z.get("symbolPosition")||"start",he=z.get("symbolRotate"),pe=(he||0)*Math.PI/180||0,_e=z.get("symbolPatternSize")||2,De=z.isAnimationEnabled(),Xe={dataIndex:G,layout:q,itemModel:z,symbolType:U.getItemVisual(G,"symbol")||"circle",color:U.getItemVisual(G,"color"),symbolClip:ie,symbolRepeat:oe,symbolRepeatDirection:z.get("symbolRepeatDirection"),symbolPatternSize:_e,rotation:pe,animationModel:De?z:null,hoverAnimation:De&&z.get("hoverAnimation"),z2:z.getShallow("z",!0)||0};a(z,oe,q,Y,Xe),h(U,G,q,oe,ie,Xe.boundingLength,Xe.pxSign,_e,Y,Xe),p(z,Xe.symbolScale,pe,Y,Xe);var J=Xe.symbolSize,Ee=z.get("symbolOffset");return A.isArray(Ee)&&(Ee=[l(Ee[0],J[0]),l(Ee[1],J[1])]),m(z,J,q,oe,ie,Ee,se,Xe.valueLineWidth,Xe.boundingLength,Xe.repeatCutLength,Y,Xe),Xe}function a(U,G,z,Y,q){var oe=Y.valueDim,ie=U.get("symbolBoundingData"),se=Y.coordSys.getOtherAxis(Y.coordSys.getBaseAxis()),he=se.toGlobalCoord(se.dataToCoord(0)),pe=1-+(z[oe.wh]<=0),_e;if(A.isArray(ie)){var De=[c(se,ie[0])-he,c(se,ie[1])-he];De[1]<De[0]&&De.reverse(),_e=De[pe]}else ie!=null?_e=c(se,ie)-he:G?_e=Y.coordSysExtent[oe.index][pe]-he:_e=z[oe.wh];q.boundingLength=_e,G&&(q.repeatCutLength=z[oe.wh]),q.pxSign=_e>0?1:_e<0?-1:0}function c(U,G){return U.toGlobalCoord(U.dataToCoord(U.scale.parse(G)))}function h(U,G,z,Y,q,oe,ie,se,he,pe){var _e=he.valueDim,De=he.categoryDim,Xe=Math.abs(z[De.wh]),J=U.getItemVisual(G,"symbolSize");A.isArray(J)?J=J.slice():(J==null&&(J="100%"),J=[J,J]),J[De.index]=l(J[De.index],Xe),J[_e.index]=l(J[_e.index],Y?Xe:Math.abs(oe)),pe.symbolSize=J;var Ee=pe.symbolScale=[J[0]/se,J[1]/se];Ee[_e.index]*=(he.isHorizontal?-1:1)*ie}function p(U,G,z,Y,q){var oe=U.get(n)||0;oe&&(r.attr({scale:G.slice(),rotation:z}),r.updateTransform(),oe/=r.getLineScale(),oe*=G[Y.valueDim.index]),q.valueLineWidth=oe}function m(U,G,z,Y,q,oe,ie,se,he,pe,_e,De){var Xe=_e.categoryDim,J=_e.valueDim,Ee=De.pxSign,qe=Math.max(G[J.index]+se,0),ae=qe;if(Y){var V=Math.abs(he),X=A.retrieve(U.get("symbolMargin"),"15%")+"",Z=!1;X.lastIndexOf("!")===X.length-1&&(Z=!0,X=X.slice(0,X.length-1)),X=l(X,G[J.index]);var ge=Math.max(qe+X*2,0),le=Z?0:X*2,Se=u(Y),me=Se?Y:H((V+le)/ge),$=V-me*qe;X=$/2/(Z?me:me-1),ge=qe+X*2,le=Z?0:X*2,!Se&&Y!=="fixed"&&(me=pe?H((Math.abs(pe)+le)/ge):0),ae=me*ge-le,De.repeatTimes=me,De.symbolMargin=X}var we=Ee*(ae/2),xe=De.pathPosition=[];xe[Xe.index]=z[Xe.wh]/2,xe[J.index]=ie==="start"?we:ie==="end"?he-we:he/2,oe&&(xe[0]+=oe[0],xe[1]+=oe[1]);var We=De.bundlePosition=[];We[Xe.index]=z[Xe.xy],We[J.index]=z[J.xy];var st=De.barRectShape=A.extend({},z);st[J.wh]=Ee*Math.max(Math.abs(z[J.wh]),Math.abs(xe[J.index]+we)),st[Xe.wh]=z[Xe.wh];var nt=De.clipShape={};nt[Xe.xy]=-z[Xe.xy],nt[Xe.wh]=_e.ecSize[Xe.wh],nt[J.xy]=0,nt[J.wh]=z[J.wh]}function S(U){var G=U.symbolPatternSize,z=v(U.symbolType,-G/2,-G/2,G,G,U.color);return z.attr({culling:!0}),z.type!=="image"&&z.setStyle({strokeNoScale:!0}),z}function y(U,G,z,Y){var q=U.__pictorialBundle,oe=z.symbolSize,ie=z.valueLineWidth,se=z.pathPosition,he=G.valueDim,pe=z.repeatTimes||0,_e=0,De=oe[G.valueDim.index]+ie+z.symbolMargin*2;for(W(U,function(V){V.__pictorialAnimationIndex=_e,V.__pictorialRepeatTimes=pe,_e<pe?R(V,null,Ee(_e),z,Y):R(V,null,{scale:[0,0]},z,Y,function(){q.remove(V)}),L(V,z),_e++});_e<pe;_e++){var Xe=S(z);Xe.__pictorialAnimationIndex=_e,Xe.__pictorialRepeatTimes=pe,q.add(Xe);var J=Ee(_e);R(Xe,{position:J.position,scale:[0,0]},{scale:J.scale,rotation:J.rotation},z,Y),Xe.on("mouseover",qe).on("mouseout",ae),L(Xe,z)}function Ee(V){var X=se.slice(),Z=z.pxSign,ge=V;return(z.symbolRepeatDirection==="start"?Z>0:Z<0)&&(ge=pe-1-V),X[he.index]=De*(ge-pe/2+.5)+se[he.index],{position:X,scale:z.symbolScale.slice(),rotation:z.rotation}}function qe(){W(U,function(V){V.trigger("emphasis")})}function ae(){W(U,function(V){V.trigger("normal")})}}function x(U,G,z,Y){var q=U.__pictorialBundle,oe=U.__pictorialMainPath;oe?R(oe,null,{position:z.pathPosition.slice(),scale:z.symbolScale.slice(),rotation:z.rotation},z,Y):(oe=U.__pictorialMainPath=S(z),q.add(oe),R(oe,{position:z.pathPosition.slice(),scale:[0,0],rotation:z.rotation},{scale:z.symbolScale.slice()},z,Y),oe.on("mouseover",ie).on("mouseout",se)),L(oe,z);function ie(){this.trigger("emphasis")}function se(){this.trigger("normal")}}function C(U,G,z){var Y=A.extend({},G.barRectShape),q=U.__pictorialBarRect;q?R(q,null,{shape:Y},G,z):(q=U.__pictorialBarRect=new b.Rect({z2:2,shape:Y,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),U.add(q))}function T(U,G,z,Y){if(z.symbolClip){var q=U.__pictorialClipPath,oe=A.extend({},z.clipShape),ie=G.valueDim,se=z.animationModel,he=z.dataIndex;if(q)b.updateProps(q,{shape:oe},se,he);else{oe[ie.wh]=0,q=new b.Rect({shape:oe}),U.__pictorialBundle.setClipPath(q),U.__pictorialClipPath=q;var pe={};pe[ie.wh]=z.clipShape[ie.wh],b[Y?"updateProps":"initProps"](q,{shape:pe},se,he)}}}function _(U,G){var z=U.getItemModel(G);return z.getAnimationDelayParams=E,z.isAnimationEnabled=I,z}function E(U){return{index:U.__pictorialAnimationIndex,count:U.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function L(U,G){U.off("emphasis").off("normal");var z=G.symbolScale.slice();G.hoverAnimation&&U.on("emphasis",function(){this.animateTo({scale:[z[0]*1.1,z[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:z.slice()},400,"elasticOut")})}function D(U,G,z,Y){var q=new b.Group,oe=new b.Group;return q.add(oe),q.__pictorialBundle=oe,oe.attr("position",z.bundlePosition.slice()),z.symbolRepeat?y(q,G,z):x(q,G,z),C(q,z,Y),T(q,G,z,Y),q.__pictorialShapeStr=P(U,z),q.__pictorialSymbolMeta=z,q}function F(U,G,z){var Y=z.animationModel,q=z.dataIndex,oe=U.__pictorialBundle;b.updateProps(oe,{position:z.bundlePosition.slice()},Y,q),z.symbolRepeat?y(U,G,z,!0):x(U,G,z,!0),C(U,z,!0),T(U,G,z,!0)}function N(U,G,z,Y){var q=Y.__pictorialBarRect;q&&(q.style.text=null);var oe=[];W(Y,function(ie){oe.push(ie)}),Y.__pictorialMainPath&&oe.push(Y.__pictorialMainPath),Y.__pictorialClipPath&&(z=null),A.each(oe,function(ie){b.updateProps(ie,{scale:[0,0]},z,G,function(){Y.parent&&Y.parent.remove(Y)})}),U.setItemGraphicEl(G,null)}function P(U,G){return[U.getItemVisual(G.dataIndex,"symbol")||"none",!!G.symbolRepeat,!!G.symbolClip].join(":")}function W(U,G,z){A.each(U.__pictorialBundle.children(),function(Y){Y!==U.__pictorialBarRect&&G.call(z,Y)})}function R(U,G,z,Y,q,oe){G&&U.attr(G),Y.symbolClip&&!q?z&&U.attr(z):z&&b[q?"updateProps":"initProps"](U,z,Y.animationModel,Y.dataIndex,oe)}function j(U,G,z){var Y=z.color,q=z.dataIndex,oe=z.itemModel,ie=oe.getModel("itemStyle").getItemStyle(["color"]),se=oe.getModel("emphasis.itemStyle").getItemStyle(),he=oe.getShallow("cursor");W(U,function(Xe){Xe.setColor(Y),Xe.setStyle(A.defaults({fill:Y,opacity:z.opacity},ie)),b.setHoverStyle(Xe,se),he&&(Xe.cursor=he),Xe.z2=z.z2});var pe={},_e=G.valueDim.posDesc[+(z.boundingLength>0)],De=U.__pictorialBarRect;e(De.style,pe,oe,Y,G.seriesModel,q,_e),b.setHoverStyle(De,pe)}function H(U){var G=Math.round(U);return Math.abs(U-G)<1e-4?G:Math.ceil(U)}var K=s;k.exports=K},"N/zr":function(k,B,d){"use strict";function w(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(u){return typeof u}:w=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},w(f)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var A=g(d("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var f=new WeakMap;return b=function(){return f},f}function g(f){if(f&&f.__esModule)return f;if(f===null||w(f)!=="object"&&typeof f!="function")return{default:f};var l=b();if(l&&l.has(f))return l.get(f);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in f)if(Object.prototype.hasOwnProperty.call(f,e)){var n=o?Object.getOwnPropertyDescriptor(f,e):null;n&&(n.get||n.set)?Object.defineProperty(u,e,n):u[e]=f[e]}return u.default=f,l&&l.set(f,u),u}var v={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(l){"use strict";for(var u="",o=l.length,e=o%3,n=0;n<o-2;n+=3)u+=this.toBase64Table[l[n]>>2],u+=this.toBase64Table[((l[n]&3)<<4)+(l[n+1]>>4)],u+=this.toBase64Table[((l[n+1]&15)<<2)+(l[n+2]>>6)],u+=this.toBase64Table[l[n+2]&63];var i=o-e;return e===2?(u+=this.toBase64Table[l[i]>>2],u+=this.toBase64Table[((l[i]&3)<<4)+(l[i+1]>>4)],u+=this.toBase64Table[(l[i+1]&15)<<2],u+=this.toBase64Table[64]):e===1&&(u+=this.toBase64Table[l[i]>>2],u+=this.toBase64Table[(l[i]&3)<<4],u+=this.toBase64Table[64],u+=this.toBase64Table[64]),u},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(l){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=l.indexOf("=")-u;o<0&&(o=l.length-u);for(var e=(o>>2)*3+Math.floor(o%4/1.5),n=new Array(e),i=0,r=0,s=0,t=u;t<l.length;t++){var a=this.toBinaryTable[l.charCodeAt(t)&127],c=l.charAt(t)===this.base64Pad;if(a===-1){A.Error("Illegal character code "+l.charCodeAt(t)+" at position "+t);continue}r=r<<6|a,i+=6,i>=8&&(i-=8,c||(n[s++]=r>>i&255),r&=(1<<i)-1)}if(i){var h=new Error("Corrupted base64 string");throw h.name="Base64-Error",h}return n}};B.default=v},N5BQ:function(k,B,d){var w=d("OlYY"),A=w.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"}}}),b=A;k.exports=b},NA0q:function(k,B,d){var w=d("bYtY"),A=d("6Ic6"),b=d("TkdX"),g=d("gPAo"),v=d("7aKB"),f=v.windowOpen,l="sunburstRootToNode",u=A.extend({type:"sunburst",init:function(){},render:function(e,n,i,r){var s=this;this.seriesModel=e,this.api=i,this.ecModel=n;var t=e.getData(),a=t.tree.root,c=e.getViewRoot(),h=this.group,p=e.get("renderLabelForZeroData"),m=[];c.eachNode(function(I){m.push(I)});var S=this._oldChildren||[];if(C(m,S),E(a,c),r&&r.highlight&&r.highlight.piece){var y=e.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(y)}else if(r&&r.unhighlight){var x=this.virtualPiece;!x&&a.children.length&&(x=a.children[0].piece),x&&x.onNormal()}this._initEvents(),this._oldChildren=m;function C(I,L){if(I.length===0&&L.length===0)return;new g(L,I,D,D).add(F).update(F).remove(w.curry(F,null)).execute();function D(N){return N.getId()}function F(N,P){var W=N==null?null:I[N],R=P==null?null:L[P];T(W,R)}}function T(I,L){if(!p&&I&&!I.getValue()&&(I=null),I!==a&&L!==a){if(L&&L.piece)I?(L.piece.updateData(!1,I,"normal",e,n),t.setItemGraphicEl(I.dataIndex,L.piece)):_(L);else if(I){var D=new b(I,e,n);h.add(D),t.setItemGraphicEl(I.dataIndex,D)}}}function _(I){if(!I)return;I.piece&&(h.remove(I.piece),I.piece=null)}function E(I,L){if(L.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,I,"normal",e,n):(s.virtualPiece=new b(I,e,n),h.add(s.virtualPiece)),L.piece._onclickEvent&&L.piece.off("click",L.piece._onclickEvent);var D=function(F){s._rootToNode(L.parentNode)};L.piece._onclickEvent=D,s.virtualPiece.on("click",D)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var e=this,n=function(i){var r=!1,s=e.seriesModel.getViewRoot();s.eachNode(function(t){if(!r&&t.piece&&t.piece.childAt(0)===i.target){var a=t.getModel().get("nodeClick");if(a==="rootToNode")e._rootToNode(t);else if(a==="link"){var c=t.getModel(),h=c.get("link");if(h){var p=c.get("target",!0)||"_blank";f(h,p)}}r=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",n),this.group._onclickEvent=n},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:l,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,n){var i=n.getData(),r=i.getItemLayout(0);if(r){var s=e[0]-r.cx,t=e[1]-r.cy,a=Math.sqrt(s*s+t*t);return a<=r.r&&a>=r.r0}}}),o=u;k.exports=o},NBmB:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.encodingName=A,B.encodings=void 0;var w={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};B.encodings=w;function A(b){switch(b){case w.encodingRaw:return"Raw";case w.encodingCopyRect:return"CopyRect";case w.encodingRRE:return"RRE";case w.encodingHextile:return"Hextile";case w.encodingTight:return"Tight";case w.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+b+"]"}}},NC18:function(k,B,d){var w=d("y+Vt"),A=d("IMiH"),b=d("7oTu"),g=Math.sqrt,v=Math.sin,f=Math.cos,l=Math.PI,u=function(m){return Math.sqrt(m[0]*m[0]+m[1]*m[1])},o=function(m,S){return(m[0]*S[0]+m[1]*S[1])/(u(m)*u(S))},e=function(m,S){return(m[0]*S[1]<m[1]*S[0]?-1:1)*Math.acos(o(m,S))};function n(p,m,S,y,x,C,T,_,E,I,L){var D=E*(l/180),F=f(D)*(p-S)/2+v(D)*(m-y)/2,N=-1*v(D)*(p-S)/2+f(D)*(m-y)/2,P=F*F/(T*T)+N*N/(_*_);P>1&&(T*=g(P),_*=g(P));var W=(x===C?-1:1)*g((T*T*(_*_)-T*T*(N*N)-_*_*(F*F))/(T*T*(N*N)+_*_*(F*F)))||0,R=W*T*N/_,j=W*-_*F/T,H=(p+S)/2+f(D)*R-v(D)*j,K=(m+y)/2+v(D)*R+f(D)*j,U=e([1,0],[(F-R)/T,(N-j)/_]),G=[(F-R)/T,(N-j)/_],z=[(-1*F-R)/T,(-1*N-j)/_],Y=e(G,z);o(G,z)<=-1&&(Y=l),o(G,z)>=1&&(Y=0),C===0&&Y>0&&(Y=Y-2*l),C===1&&Y<0&&(Y=Y+2*l),L.addData(I,H,K,T,_,U,Y,D,C)}var i=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,r=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function s(p){if(!p)return new A;for(var m=0,S=0,y=m,x=S,C,T=new A,_=A.CMD,E=p.match(i),I=0;I<E.length;I++){for(var L=E[I],D=L.charAt(0),F,N=L.match(r)||[],P=N.length,W=0;W<P;W++)N[W]=parseFloat(N[W]);for(var R=0;R<P;){var j,H,K,U,G,z,Y,q=m,oe=S;switch(D){case"l":m+=N[R++],S+=N[R++],F=_.L,T.addData(F,m,S);break;case"L":m=N[R++],S=N[R++],F=_.L,T.addData(F,m,S);break;case"m":m+=N[R++],S+=N[R++],F=_.M,T.addData(F,m,S),y=m,x=S,D="l";break;case"M":m=N[R++],S=N[R++],F=_.M,T.addData(F,m,S),y=m,x=S,D="L";break;case"h":m+=N[R++],F=_.L,T.addData(F,m,S);break;case"H":m=N[R++],F=_.L,T.addData(F,m,S);break;case"v":S+=N[R++],F=_.L,T.addData(F,m,S);break;case"V":S=N[R++],F=_.L,T.addData(F,m,S);break;case"C":F=_.C,T.addData(F,N[R++],N[R++],N[R++],N[R++],N[R++],N[R++]),m=N[R-2],S=N[R-1];break;case"c":F=_.C,T.addData(F,N[R++]+m,N[R++]+S,N[R++]+m,N[R++]+S,N[R++]+m,N[R++]+S),m+=N[R-2],S+=N[R-1];break;case"S":j=m,H=S;var ie=T.len(),se=T.data;C===_.C&&(j+=m-se[ie-4],H+=S-se[ie-3]),F=_.C,q=N[R++],oe=N[R++],m=N[R++],S=N[R++],T.addData(F,j,H,q,oe,m,S);break;case"s":j=m,H=S;var ie=T.len(),se=T.data;C===_.C&&(j+=m-se[ie-4],H+=S-se[ie-3]),F=_.C,q=m+N[R++],oe=S+N[R++],m+=N[R++],S+=N[R++],T.addData(F,j,H,q,oe,m,S);break;case"Q":q=N[R++],oe=N[R++],m=N[R++],S=N[R++],F=_.Q,T.addData(F,q,oe,m,S);break;case"q":q=N[R++]+m,oe=N[R++]+S,m+=N[R++],S+=N[R++],F=_.Q,T.addData(F,q,oe,m,S);break;case"T":j=m,H=S;var ie=T.len(),se=T.data;C===_.Q&&(j+=m-se[ie-4],H+=S-se[ie-3]),m=N[R++],S=N[R++],F=_.Q,T.addData(F,j,H,m,S);break;case"t":j=m,H=S;var ie=T.len(),se=T.data;C===_.Q&&(j+=m-se[ie-4],H+=S-se[ie-3]),m+=N[R++],S+=N[R++],F=_.Q,T.addData(F,j,H,m,S);break;case"A":K=N[R++],U=N[R++],G=N[R++],z=N[R++],Y=N[R++],q=m,oe=S,m=N[R++],S=N[R++],F=_.A,n(q,oe,m,S,z,Y,K,U,G,F,T);break;case"a":K=N[R++],U=N[R++],G=N[R++],z=N[R++],Y=N[R++],q=m,oe=S,m+=N[R++],S+=N[R++],F=_.A,n(q,oe,m,S,z,Y,K,U,G,F,T);break}}(D==="z"||D==="Z")&&(F=_.Z,T.addData(F),m=y,S=x),C=F}return T.toStatic(),T}function t(p,m){var S=s(p);return m=m||{},m.buildPath=function(y){if(y.setData){y.setData(S.data);var x=y.getContext();x&&y.rebuildPath(x)}else{var x=y;S.rebuildPath(x)}},m.applyTransform=function(y){b(S,y),this.dirty(!0)},m}function a(p,m){return new w(t(p,m))}function c(p,m){return w.extend(t(p,m))}function h(p,m){for(var S=[],y=p.length,x=0;x<y;x++){var C=p[x];C.path||C.createPathProxy(),C.__dirtyPath&&C.buildPath(C.path,C.shape,!0),S.push(C.path)}var T=new w(m);return T.createPathProxy(),T.buildPath=function(_){_.appendPath(S);var E=_.getContext();E&&_.rebuildPath(E)},T}B.createFromString=a,B.extendFromString=c,B.mergePath=h},NH9N:function(k,B,d){var w=d("bYtY"),A=d("mFDi"),b=d("Fofx"),g=d("IwbS"),v=d("+TT/"),f=d("kzvK"),l=d("CMP+"),u=d("oVpE"),o=u.createSymbol,e=d("aX7z"),n=d("OELB"),i=d("7aKB"),r=i.encodeHTML,s=w.bind,t=w.each,a=Math.PI,c=f.extend({type:"timeline.slider",init:function(y,x){this.api=x,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(y,x,C,T){if(this.model=y,this.api=C,this.ecModel=x,this.group.removeAll(),y.get("show",!0)){var _=this._layout(y,C),E=this._createGroup("mainGroup"),I=this._createGroup("labelGroup"),L=this._axis=this._createAxis(_,y);y.formatTooltip=function(D){return r(L.scale.getLabel(D))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(D){this["_render"+D](_,E,L,y)},this),this._renderAxisLabel(_,I,L,y),this._position(_,y)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(y,x){var C=y.get("label.position"),T=y.get("orient"),_=h(y,x);C==null||C==="auto"?C=T==="horizontal"?_.y+_.height/2<x.getHeight()/2?"-":"+":_.x+_.width/2<x.getWidth()/2?"+":"-":isNaN(C)&&(C={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[T][C]);var E={horizontal:"center",vertical:C>=0||C==="+"?"left":"right"},I={horizontal:C>=0||C==="+"?"top":"bottom",vertical:"middle"},L={horizontal:0,vertical:a/2},D=T==="vertical"?_.height:_.width,F=y.getModel("controlStyle"),N=F.get("show",!0),P=N?F.get("itemSize"):0,W=N?F.get("itemGap"):0,R=P+W,j=y.get("label.rotate")||0;j=j*a/180;var H,K,U,G,z=F.get("position",!0),Y=N&&F.get("showPlayBtn",!0),q=N&&F.get("showPrevBtn",!0),oe=N&&F.get("showNextBtn",!0),ie=0,se=D;return z==="left"||z==="bottom"?(Y&&(H=[0,0],ie+=R),q&&(K=[ie,0],ie+=R),oe&&(U=[se-P,0],se-=R)):(Y&&(H=[se-P,0],se-=R),q&&(K=[0,0],ie+=R),oe&&(U=[se-P,0],se-=R)),G=[ie,se],y.get("inverse")&&G.reverse(),{viewRect:_,mainLength:D,orient:T,rotation:L[T],labelRotation:j,labelPosOpt:C,labelAlign:y.get("label.align")||E[T],labelBaseline:y.get("label.verticalAlign")||y.get("label.baseline")||I[T],playPosition:H,prevBtnPosition:K,nextBtnPosition:U,axisExtent:G,controlSize:P,controlGap:W}},_position:function(y,x){var C=this._mainGroup,T=this._labelGroup,_=y.viewRect;if(y.orient==="vertical"){var E=b.create(),I=_.x,L=_.y+_.height;b.translate(E,E,[-I,-L]),b.rotate(E,E,-a/2),b.translate(E,E,[I,L]),_=_.clone(),_.applyTransform(E)}var D=K(_),F=K(C.getBoundingRect()),N=K(T.getBoundingRect()),P=C.position,W=T.position;W[0]=P[0]=D[0][0];var R=y.labelPosOpt;if(isNaN(R)){var j=R==="+"?0:1;U(P,F,D,1,j),U(W,N,D,1,1-j)}else{var j=R>=0?0:1;U(P,F,D,1,j),W[1]=P[1]+R}C.attr("position",P),T.attr("position",W),C.rotation=T.rotation=y.rotation,H(C),H(T);function H(G){var z=G.position;G.origin=[D[0][0]-z[0],D[1][0]-z[1]]}function K(G){return[[G.x,G.x+G.width],[G.y,G.y+G.height]]}function U(G,z,Y,q,oe){G[q]+=Y[q][oe]-z[q][oe]}},_createAxis:function(y,x){var C=x.getData(),T=x.get("axisType"),_=e.createScaleByModel(x,T);_.getTicks=function(){return C.mapArray(["value"],function(L){return L})};var E=C.getDataExtent("value");_.setExtent(E[0],E[1]),_.niceTicks();var I=new l("value",_,y.axisExtent,T);return I.model=x,I},_createGroup:function(y){var x=this["_"+y]=new g.Group;return this.group.add(x),x},_renderAxisLine:function(y,x,C,T){var _=C.getExtent();if(!T.get("lineStyle.show"))return;x.add(new g.Line({shape:{x1:_[0],y1:0,x2:_[1],y2:0},style:w.extend({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(y,x,C,T){var _=T.getData(),E=C.scale.getTicks();t(E,function(I){var L=C.dataToCoord(I),D=_.getItemModel(I),F=D.getModel("itemStyle"),N=D.getModel("emphasis.itemStyle"),P={position:[L,0],onclick:s(this._changeTimeline,this,I)},W=m(D,F,x,P);g.setHoverStyle(W,N.getItemStyle()),D.get("tooltip")?(W.dataIndex=I,W.dataModel=T):W.dataIndex=W.dataModel=null},this)},_renderAxisLabel:function(y,x,C,T){var _=C.getLabelModel();if(!_.get("show"))return;var E=T.getData(),I=C.getViewLabels();t(I,function(L){var D=L.tickValue,F=E.getItemModel(D),N=F.getModel("label"),P=F.getModel("emphasis.label"),W=C.dataToCoord(L.tickValue),R=new g.Text({position:[W,0],rotation:y.labelRotation-y.rotation,onclick:s(this._changeTimeline,this,D),silent:!1});g.setTextStyle(R.style,N,{text:L.formattedLabel,textAlign:y.labelAlign,textVerticalAlign:y.labelBaseline}),x.add(R),g.setHoverStyle(R,g.setTextStyle({},P))},this)},_renderControl:function(y,x,C,T){var _=y.controlSize,E=y.rotation,I=T.getModel("controlStyle").getItemStyle(),L=T.getModel("emphasis.controlStyle").getItemStyle(),D=[0,-_/2,_,_],F=T.getPlayState(),N=T.get("inverse",!0);P(y.nextBtnPosition,"controlStyle.nextIcon",s(this._changeTimeline,this,N?"-":"+")),P(y.prevBtnPosition,"controlStyle.prevIcon",s(this._changeTimeline,this,N?"+":"-")),P(y.playPosition,"controlStyle."+(F?"stopIcon":"playIcon"),s(this._handlePlayClick,this,!F),!0);function P(W,R,j,H){if(!W)return;var K={position:W,origin:[_/2,0],rotation:H?-E:0,rectHover:!0,style:I,onclick:j},U=p(T,R,D,K);x.add(U),g.setHoverStyle(U,L)}},_renderCurrentPointer:function(y,x,C,T){var _=T.getData(),E=T.getCurrentIndex(),I=_.getItemModel(E).getModel("checkpointStyle"),L=this,D={onCreate:function(F){F.draggable=!0,F.drift=s(L._handlePointerDrag,L),F.ondragend=s(L._handlePointerDragend,L),S(F,E,C,T,!0)},onUpdate:function(F){S(F,E,C,T)}};this._currentPointer=m(I,I,this._mainGroup,{},this._currentPointer,D)},_handlePlayClick:function(y){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:y,from:this.uid})},_handlePointerDrag:function(y,x,C){this._clearTimer(),this._pointerChangeTimeline([C.offsetX,C.offsetY])},_handlePointerDragend:function(y){this._pointerChangeTimeline([y.offsetX,y.offsetY],!0)},_pointerChangeTimeline:function(y,x){var C=this._toAxisCoord(y)[0],T=this._axis,_=n.asc(T.getExtent().slice());C>_[1]&&(C=_[1]),C<_[0]&&(C=_[0]),this._currentPointer.position[0]=C,this._currentPointer.dirty();var E=this._findNearestTick(C),I=this.model;(x||E!==I.getCurrentIndex()&&I.get("realtime"))&&this._changeTimeline(E)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(s(y,this),this.model.get("playInterval")));function y(){var x=this.model;this._changeTimeline(x.getCurrentIndex()+(x.get("rewind",!0)?-1:1))}},_toAxisCoord:function(y){var x=this._mainGroup.getLocalTransform();return g.applyTransform(y,x,!0)},_findNearestTick:function(y){var x=this.model.getData(),C=Infinity,T,_=this._axis;return x.each(["value"],function(E,I){var L=_.dataToCoord(E),D=Math.abs(L-y);D<C&&(C=D,T=I)}),T},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(y){var x=this.model.getCurrentIndex();y==="+"?y=x+1:y==="-"&&(y=x-1),this.api.dispatchAction({type:"timelineChange",currentIndex:y,from:this.uid})}});function h(y,x){return v.getLayoutRect(y.getBoxLayoutParams(),{width:x.getWidth(),height:x.getHeight()},y.get("padding"))}function p(y,x,C,T){var _=g.makePath(y.get(x).replace(/^path:\/\//,""),w.clone(T||{}),new A(C[0],C[1],C[2],C[3]),"center");return _}function m(y,x,C,T,_,E){var I=x.get("color");if(_)_.setColor(I),C.add(_),E&&E.onUpdate(_);else{var L=y.get("symbol");_=o(L,-1,-1,2,2,I),_.setStyle("strokeNoScale",!0),C.add(_),E&&E.onCreate(_)}var D=x.getItemStyle(["color","symbol","symbolSize"]);_.setStyle(D),T=w.merge({rectHover:!0,z2:100},T,!0);var F=y.get("symbolSize");F=F instanceof Array?F.slice():[+F,+F],F[0]/=2,F[1]/=2,T.scale=F;var N=y.get("symbolOffset");if(N){var P=T.position=T.position||[0,0];P[0]+=n.parsePercent(N[0],F[0]),P[1]+=n.parsePercent(N[1],F[1])}var W=y.get("symbolRotate");return T.rotation=(W||0)*Math.PI/180||0,_.attr(T),_.updateTransform(),_}function S(y,x,C,T,_){if(y.dragging)return;var E=T.getModel("checkpointStyle"),I=C.dataToCoord(T.getData().get(["value"],x));_||!E.get("animation",!0)?y.attr({position:[I,0]}):(y.stopAnimation(!0),y.animateTo({position:[I,0]},E.get("animationDuration",!0),E.get("animationEasing",!0)))}k.exports=c},NJEC:function(k,B,d){"use strict";var w=d("wx14"),A=d("ODXe"),b=d("q1tI"),g=d.n(b),v=d("TSYQ"),f=d.n(v),l=d("IMoZ"),u=d("4IlW"),o=d("3S7+"),e=d("2/Rp"),n=d("zvFY"),i=d("YMnH"),r=d("ZvpZ"),s=d("H84U"),t=d("bogI"),a=d("0n0R"),c=void 0,h=function(m,S){var y={};for(var x in m)Object.prototype.hasOwnProperty.call(m,x)&&S.indexOf(x)<0&&(y[x]=m[x]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,x=Object.getOwnPropertySymbols(m);C<x.length;C++)S.indexOf(x[C])<0&&Object.prototype.propertyIsEnumerable.call(m,x[C])&&(y[x[C]]=m[x[C]]);return y},p=b.forwardRef(function(m,S){var y=b.useState(m.visible),x=Object(A.a)(y,2),C=x[0],T=x[1];b.useEffect(function(){"visible"in m&&T(m.visible)},[m.visible]),b.useEffect(function(){"defaultVisible"in m&&T(m.defaultVisible)},[m.defaultVisible]);var _=function(oe,ie){"visible"in m||T(oe),m.onVisibleChange&&m.onVisibleChange(oe,ie)},E=function(oe){_(!1,oe),m.onConfirm&&m.onConfirm.call(c,oe)},I=function(oe){_(!1,oe),m.onCancel&&m.onCancel.call(c,oe)},L=function(oe){oe.keyCode===u.a.ESC&&C&&_(!1,oe)},D=function(oe){var ie=m.disabled;if(ie)return;_(oe)},F=function(oe,ie){var se=m.okButtonProps,he=m.cancelButtonProps,pe=m.title,_e=m.cancelText,De=m.okText,Xe=m.okType,J=m.icon;return b.createElement("div",{className:"".concat(oe,"-inner-content")},b.createElement("div",{className:"".concat(oe,"-message")},J,b.createElement("div",{className:"".concat(oe,"-message-title")},Object(t.a)(pe))),b.createElement("div",{className:"".concat(oe,"-buttons")},b.createElement(e.a,Object(w.a)({onClick:I,size:"small"},he),_e||ie.cancelText),b.createElement(e.a,Object(w.a)({onClick:E},Object(n.a)(Xe),{size:"small"},se),De||ie.okText)))},N=b.useContext(s.b),P=N.getPrefixCls,W=m.prefixCls,R=m.placement,j=m.children,H=m.overlayClassName,K=h(m,["prefixCls","placement","children","overlayClassName"]),U=P("popover",W),G=P("popconfirm",W),z=f()(G,H),Y=b.createElement(i.a,{componentName:"Popconfirm",defaultLocale:r.a.Popconfirm},function(q){return F(U,q)});return b.createElement(o.a,Object(w.a)({},K,{prefixCls:U,placement:R,onVisibleChange:D,visible:C,overlay:Y,overlayClassName:z,ref:S}),Object(a.a)(j,{onKeyDown:function(oe){var ie,se;b.isValidElement(j)&&((se=j==null?void 0:(ie=j.props).onKeyDown)===null||se===void 0||se.call(ie,oe)),L(oe)}}))});p.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:b.createElement(l.a,null),disabled:!1},B.a=p},NUBc:function(k,B,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),g=d.n(b),v=d("VTBJ"),f=d("1OyB"),l=d("vuIU"),u=d("Ji7U"),o=d("LK+K"),e=d("TSYQ"),n=d.n(e),i=function(oe){var ie,se="".concat(oe.rootPrefixCls,"-item"),he=n()(se,"".concat(se,"-").concat(oe.page),(ie={},Object(w.a)(ie,"".concat(se,"-active"),oe.active),Object(w.a)(ie,"".concat(se,"-disabled"),!oe.page),Object(w.a)(ie,oe.className,!!oe.className),ie)),pe=function(){oe.onClick(oe.page)},_e=function(Xe){oe.onKeyPress(Xe,oe.onClick,oe.page)};return g.a.createElement("li",{title:oe.showTitle?oe.page:null,className:he,onClick:pe,onKeyPress:_e,tabIndex:"0"},oe.itemRender(oe.page,"page",g.a.createElement("a",{rel:"nofollow"},oe.page)))},r=i,s={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},t=function(q){Object(u.a)(ie,q);var oe=Object(o.a)(ie);function ie(){var se;Object(f.a)(this,ie);for(var he=arguments.length,pe=new Array(he),_e=0;_e<he;_e++)pe[_e]=arguments[_e];return se=oe.call.apply(oe,[this].concat(pe)),se.state={goInputText:""},se.buildOptionText=function(De){return"".concat(De," ").concat(se.props.locale.items_per_page)},se.changeSize=function(De){se.props.changeSize(Number(De))},se.handleChange=function(De){se.setState({goInputText:De.target.value})},se.handleBlur=function(De){var Xe=se.props,J=Xe.goButton,Ee=Xe.quickGo,qe=Xe.rootPrefixCls,ae=se.state.goInputText;if(J||ae==="")return;if(se.setState({goInputText:""}),De.relatedTarget&&(De.relatedTarget.className.indexOf("".concat(qe,"-item-link"))>=0||De.relatedTarget.className.indexOf("".concat(qe,"-item"))>=0))return;Ee(se.getValidValue())},se.go=function(De){var Xe=se.state.goInputText;if(Xe==="")return;(De.keyCode===s.ENTER||De.type==="click")&&(se.setState({goInputText:""}),se.props.quickGo(se.getValidValue()))},se}return Object(l.a)(ie,[{key:"getValidValue",value:function(){var he=this.state.goInputText;return!he||isNaN(he)?void 0:Number(he)}},{key:"getPageSizeOptions",value:function(){var he=this.props,pe=he.pageSize,_e=he.pageSizeOptions;return _e.some(function(De){return De.toString()===pe.toString()})?_e:_e.concat([pe.toString()]).sort(function(De,Xe){var J=isNaN(Number(De))?0:Number(De),Ee=isNaN(Number(Xe))?0:Number(Xe);return J-Ee})}},{key:"render",value:function(){var he=this,pe=this.props,_e=pe.pageSize,De=pe.locale,Xe=pe.rootPrefixCls,J=pe.changeSize,Ee=pe.quickGo,qe=pe.goButton,ae=pe.selectComponentClass,V=pe.buildOptionText,X=pe.selectPrefixCls,Z=pe.disabled,ge=this.state.goInputText,le="".concat(Xe,"-options"),Se=ae,me=null,$=null,we=null;if(!J&&!Ee)return null;var xe=this.getPageSizeOptions();if(J&&Se){var We=xe.map(function(st,nt){return g.a.createElement(Se.Option,{key:nt,value:st.toString()},(V||he.buildOptionText)(st))});me=g.a.createElement(Se,{disabled:Z,prefixCls:X,showSearch:!1,className:"".concat(le,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(_e||xe[0]).toString(),onChange:this.changeSize,getPopupContainer:function(nt){return nt.parentNode},"aria-label":De.page_size,defaultOpen:!1},We)}return Ee&&(qe&&(we=typeof qe=="boolean"?g.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Z,className:"".concat(le,"-quick-jumper-button")},De.jump_to_confirm):g.a.createElement("span",{onClick:this.go,onKeyUp:this.go},qe)),$=g.a.createElement("div",{className:"".concat(le,"-quick-jumper")},De.jump_to,g.a.createElement("input",{disabled:Z,type:"text",value:ge,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":De.page}),De.page,we)),g.a.createElement("li",{className:"".concat(le)},me,$)}}]),ie}(g.a.Component);t.defaultProps={pageSizeOptions:["10","20","50","100"]};var a=t,c=d("N2Kk");function h(){}function p(q){var oe=Number(q);return typeof oe=="number"&&!isNaN(oe)&&isFinite(oe)&&Math.floor(oe)===oe}function m(q,oe,ie){return ie}function S(q,oe,ie){var se=typeof q=="undefined"?oe.pageSize:q;return Math.floor((ie.total-1)/se)+1}var y=function(q){Object(u.a)(ie,q);var oe=Object(o.a)(ie);function ie(se){var he;Object(f.a)(this,ie),he=oe.call(this,se),he.getJumpPrevPage=function(){return Math.max(1,he.state.current-(he.props.showLessItems?3:5))},he.getJumpNextPage=function(){return Math.min(S(void 0,he.state,he.props),he.state.current+(he.props.showLessItems?3:5))},he.getItemIcon=function(J,Ee){var qe=he.props.prefixCls,ae=J||g.a.createElement("button",{type:"button","aria-label":Ee,className:"".concat(qe,"-item-link")});return typeof J=="function"&&(ae=g.a.createElement(J,Object(v.a)({},he.props))),ae},he.savePaginationNode=function(J){he.paginationNode=J},he.isValid=function(J){var Ee=he.props.total;return p(J)&&J!==he.state.current&&p(Ee)&&Ee>0},he.shouldDisplayQuickJumper=function(){var J=he.props,Ee=J.showQuickJumper,qe=J.total,ae=he.state.pageSize;return qe<=ae?!1:Ee},he.handleKeyDown=function(J){(J.keyCode===s.ARROW_UP||J.keyCode===s.ARROW_DOWN)&&J.preventDefault()},he.handleKeyUp=function(J){var Ee=he.getValidValue(J),qe=he.state.currentInputValue;Ee!==qe&&he.setState({currentInputValue:Ee}),J.keyCode===s.ENTER?he.handleChange(Ee):J.keyCode===s.ARROW_UP?he.handleChange(Ee-1):J.keyCode===s.ARROW_DOWN&&he.handleChange(Ee+1)},he.handleBlur=function(J){var Ee=he.getValidValue(J);he.handleChange(Ee)},he.changePageSize=function(J){var Ee=he.state.current,qe=S(J,he.state,he.props);Ee=Ee>qe?qe:Ee,qe===0&&(Ee=he.state.current),typeof J=="number"&&("pageSize"in he.props||he.setState({pageSize:J}),"current"in he.props||he.setState({current:Ee,currentInputValue:Ee})),he.props.onShowSizeChange(Ee,J),"onChange"in he.props&&he.props.onChange&&he.props.onChange(Ee,J)},he.handleChange=function(J){var Ee=he.props.disabled,qe=J;if(he.isValid(qe)&&!Ee){var ae=S(void 0,he.state,he.props);qe>ae?qe=ae:qe<1&&(qe=1),"current"in he.props||he.setState({current:qe,currentInputValue:qe});var V=he.state.pageSize;return he.props.onChange(qe,V),qe}return he.state.current},he.prev=function(){he.hasPrev()&&he.handleChange(he.state.current-1)},he.next=function(){he.hasNext()&&he.handleChange(he.state.current+1)},he.jumpPrev=function(){he.handleChange(he.getJumpPrevPage())},he.jumpNext=function(){he.handleChange(he.getJumpNextPage())},he.hasPrev=function(){return he.state.current>1},he.hasNext=function(){return he.state.current<S(void 0,he.state,he.props)},he.runIfEnter=function(J,Ee){if(J.key==="Enter"||J.charCode===13){for(var qe=arguments.length,ae=new Array(qe>2?qe-2:0),V=2;V<qe;V++)ae[V-2]=arguments[V];Ee.apply(void 0,ae)}},he.runIfEnterPrev=function(J){he.runIfEnter(J,he.prev)},he.runIfEnterNext=function(J){he.runIfEnter(J,he.next)},he.runIfEnterJumpPrev=function(J){he.runIfEnter(J,he.jumpPrev)},he.runIfEnterJumpNext=function(J){he.runIfEnter(J,he.jumpNext)},he.handleGoTO=function(J){(J.keyCode===s.ENTER||J.type==="click")&&he.handleChange(he.state.currentInputValue)};var pe=se.onChange!==h,_e="current"in se;_e&&!pe&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var De=se.defaultCurrent;"current"in se&&(De=se.current);var Xe=se.defaultPageSize;return"pageSize"in se&&(Xe=se.pageSize),De=Math.min(De,S(Xe,void 0,se)),he.state={current:De,currentInputValue:De,pageSize:Xe},he}return Object(l.a)(ie,[{key:"componentDidUpdate",value:function(he,pe){var _e=this.props.prefixCls;if(pe.current!==this.state.current&&this.paginationNode){var De=this.paginationNode.querySelector(".".concat(_e,"-item-").concat(pe.current));De&&document.activeElement===De&&De.blur()}}},{key:"getValidValue",value:function(he){var pe=he.target.value,_e=S(void 0,this.state,this.props),De=this.state.currentInputValue,Xe;return pe===""?Xe=pe:isNaN(Number(pe))?Xe=De:pe>=_e?Xe=_e:Xe=Number(pe),Xe}},{key:"getShowSizeChanger",value:function(){var he=this.props,pe=he.showSizeChanger,_e=he.total,De=he.totalBoundaryShowSizeChanger;return typeof pe!="undefined"?pe:_e>De}},{key:"renderPrev",value:function(he){var pe=this.props,_e=pe.prevIcon,De=pe.itemRender,Xe=De(he,"prev",this.getItemIcon(_e,"prev page")),J=!this.hasPrev();return Object(b.isValidElement)(Xe)?Object(b.cloneElement)(Xe,{disabled:J}):Xe}},{key:"renderNext",value:function(he){var pe=this.props,_e=pe.nextIcon,De=pe.itemRender,Xe=De(he,"next",this.getItemIcon(_e,"next page")),J=!this.hasNext();return Object(b.isValidElement)(Xe)?Object(b.cloneElement)(Xe,{disabled:J}):Xe}},{key:"render",value:function(){var he=this,pe=this.props,_e=pe.prefixCls,De=pe.className,Xe=pe.style,J=pe.disabled,Ee=pe.hideOnSinglePage,qe=pe.total,ae=pe.locale,V=pe.showQuickJumper,X=pe.showLessItems,Z=pe.showTitle,ge=pe.showTotal,le=pe.simple,Se=pe.itemRender,me=pe.showPrevNextJumpers,$=pe.jumpPrevIcon,we=pe.jumpNextIcon,xe=pe.selectComponentClass,We=pe.selectPrefixCls,st=pe.pageSizeOptions,nt=this.state,Ne=nt.current,St=nt.pageSize,Ye=nt.currentInputValue;if(Ee===!0&&qe<=St)return null;var vt=S(void 0,this.state,this.props),It=[],Ut=null,xt=null,Bt=null,Qe=null,te=null,Q=V&&V.goButton,Me=X?1:2,Ce=Ne-1>0?Ne-1:0,ue=Ne+1<vt?Ne+1:vt,ot=Object.keys(this.props).reduce(function(zr,rn){return(rn.substr(0,5)==="data-"||rn.substr(0,5)==="aria-"||rn==="role")&&(zr[rn]=he.props[rn]),zr},{});if(le)return Q&&(typeof Q=="boolean"?te=g.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ae.jump_to_confirm):te=g.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Q),te=g.a.createElement("li",{title:Z?"".concat(ae.jump_to).concat(Ne,"/").concat(vt):null,className:"".concat(_e,"-simple-pager")},te)),g.a.createElement("ul",Object(A.a)({className:n()(_e,"".concat(_e,"-simple"),Object(w.a)({},"".concat(_e,"-disabled"),J),De),style:Xe,ref:this.savePaginationNode},ot),g.a.createElement("li",{title:Z?ae.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:n()("".concat(_e,"-prev"),Object(w.a)({},"".concat(_e,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(Ce)),g.a.createElement("li",{title:Z?"".concat(Ne,"/").concat(vt):null,className:"".concat(_e,"-simple-pager")},g.a.createElement("input",{type:"text",value:Ye,disabled:J,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:"3"}),g.a.createElement("span",{className:"".concat(_e,"-slash")},"/"),vt),g.a.createElement("li",{title:Z?ae.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:n()("".concat(_e,"-next"),Object(w.a)({},"".concat(_e,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(ue)),te);if(vt<=3+Me*2){var rt={locale:ae,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Z,itemRender:Se};vt||It.push(g.a.createElement(r,Object(A.a)({},rt,{key:"noPager",page:1,className:"".concat(_e,"-item-disabled")})));for(var Ue=1;Ue<=vt;Ue+=1){var Ge=Ne===Ue;It.push(g.a.createElement(r,Object(A.a)({},rt,{key:Ue,page:Ue,active:Ge})))}}else{var tt=X?ae.prev_3:ae.prev_5,Wt=X?ae.next_3:ae.next_5;me&&(Ut=g.a.createElement("li",{title:Z?tt:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:n()("".concat(_e,"-jump-prev"),Object(w.a)({},"".concat(_e,"-jump-prev-custom-icon"),!!$))},Se(this.getJumpPrevPage(),"jump-prev",this.getItemIcon($,"prev page"))),xt=g.a.createElement("li",{title:Z?Wt:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:n()("".concat(_e,"-jump-next"),Object(w.a)({},"".concat(_e,"-jump-next-custom-icon"),!!we))},Se(this.getJumpNextPage(),"jump-next",this.getItemIcon(we,"next page")))),Qe=g.a.createElement(r,{locale:ae,last:!0,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:vt,page:vt,active:!1,showTitle:Z,itemRender:Se}),Bt=g.a.createElement(r,{locale:ae,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Z,itemRender:Se});var jt=Math.max(1,Ne-Me),Yt=Math.min(Ne+Me,vt);Ne-1<=Me&&(Yt=1+Me*2),vt-Ne<=Me&&(jt=vt-Me*2);for(var Tt=jt;Tt<=Yt;Tt+=1){var Rt=Ne===Tt;It.push(g.a.createElement(r,{locale:ae,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Tt,page:Tt,active:Rt,showTitle:Z,itemRender:Se}))}Ne-1>=Me*2&&Ne!==1+2&&(It[0]=Object(b.cloneElement)(It[0],{className:"".concat(_e,"-item-after-jump-prev")}),It.unshift(Ut)),vt-Ne>=Me*2&&Ne!==vt-2&&(It[It.length-1]=Object(b.cloneElement)(It[It.length-1],{className:"".concat(_e,"-item-before-jump-next")}),It.push(xt)),jt!==1&&It.unshift(Bt),Yt!==vt&&It.push(Qe)}var yt=null;ge&&(yt=g.a.createElement("li",{className:"".concat(_e,"-total-text")},ge(qe,[qe===0?0:(Ne-1)*St+1,Ne*St>qe?qe:Ne*St])));var Jt=!this.hasPrev()||!vt,Lr=!this.hasNext()||!vt;return g.a.createElement("ul",Object(A.a)({className:n()(_e,De,Object(w.a)({},"".concat(_e,"-disabled"),J)),style:Xe,unselectable:"unselectable",ref:this.savePaginationNode},ot),yt,g.a.createElement("li",{title:Z?ae.prev_page:null,onClick:this.prev,tabIndex:Jt?null:0,onKeyPress:this.runIfEnterPrev,className:n()("".concat(_e,"-prev"),Object(w.a)({},"".concat(_e,"-disabled"),Jt)),"aria-disabled":Jt},this.renderPrev(Ce)),It,g.a.createElement("li",{title:Z?ae.next_page:null,onClick:this.next,tabIndex:Lr?null:0,onKeyPress:this.runIfEnterNext,className:n()("".concat(_e,"-next"),Object(w.a)({},"".concat(_e,"-disabled"),Lr)),"aria-disabled":Lr},this.renderNext(ue)),g.a.createElement(a,{disabled:J,locale:ae,rootPrefixCls:_e,selectComponentClass:xe,selectPrefixCls:We,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Ne,pageSize:St,pageSizeOptions:st,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Q}))}}],[{key:"getDerivedStateFromProps",value:function(he,pe){var _e={};if("current"in he&&(_e.current=he.current,he.current!==pe.current&&(_e.currentInputValue=_e.current)),"pageSize"in he&&he.pageSize!==pe.pageSize){var De=pe.current,Xe=S(he.pageSize,pe,he);De=De>Xe?Xe:De,"current"in he||(_e.current=De,_e.currentInputValue=De),_e.pageSize=he.pageSize}return _e}}]),ie}(g.a.Component);y.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:h,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:h,locale:c.a,style:{},itemRender:m,totalBoundaryShowSizeChanger:50};var x=y,C=d("H4fg"),T=d("5bA4"),_=d("UESt"),E={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"},I=E,L=d("6VBw"),D=function(oe,ie){return b.createElement(L.a,Object(v.a)(Object(v.a)({},oe),{},{ref:ie,icon:I}))};D.displayName="DoubleLeftOutlined";var F=b.forwardRef(D),N=d("zs7G"),P=d("2fM7"),W=function(oe){return b.createElement(P.a,Object(A.a)({size:"small"},oe))};W.Option=P.a.Option;var R=W,j=d("YMnH"),H=d("H84U"),K=d("5OYt"),U=function(q,oe){var ie={};for(var se in q)Object.prototype.hasOwnProperty.call(q,se)&&oe.indexOf(se)<0&&(ie[se]=q[se]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,se=Object.getOwnPropertySymbols(q);he<se.length;he++)oe.indexOf(se[he])<0&&Object.prototype.propertyIsEnumerable.call(q,se[he])&&(ie[se[he]]=q[se[he]]);return ie},G=function(oe){var ie=oe.prefixCls,se=oe.selectPrefixCls,he=oe.className,pe=oe.size,_e=oe.locale,De=U(oe,["prefixCls","selectPrefixCls","className","size","locale"]),Xe=Object(K.a)(),J=Xe.xs,Ee=b.useContext(H.b),qe=Ee.getPrefixCls,ae=Ee.direction,V=qe("pagination",ie),X=function(){var le=b.createElement("span",{className:"".concat(V,"-item-ellipsis")},"\u2022\u2022\u2022"),Se=b.createElement("button",{className:"".concat(V,"-item-link"),type:"button",tabIndex:-1},b.createElement(T.a,null)),me=b.createElement("button",{className:"".concat(V,"-item-link"),type:"button",tabIndex:-1},b.createElement(_.a,null)),$=b.createElement("a",{className:"".concat(V,"-item-link")},b.createElement("div",{className:"".concat(V,"-item-container")},b.createElement(F,{className:"".concat(V,"-item-link-icon")}),le)),we=b.createElement("a",{className:"".concat(V,"-item-link")},b.createElement("div",{className:"".concat(V,"-item-container")},b.createElement(N.a,{className:"".concat(V,"-item-link-icon")}),le));if(ae==="rtl"){var xe=[me,Se];Se=xe[0],me=xe[1];var We=[we,$];$=We[0],we=We[1]}return{prevIcon:Se,nextIcon:me,jumpPrevIcon:$,jumpNextIcon:we}},Z=function(le){var Se=Object(A.a)(Object(A.a)({},le),_e),me=pe==="small"||!!(J&&!pe&&De.responsive),$=qe("select",se),we=n()(Object(w.a)({mini:me},"".concat(V,"-rtl"),ae==="rtl"),he);return b.createElement(x,Object(A.a)({},De,{prefixCls:V,selectPrefixCls:$},X(),{className:we,selectComponentClass:me?R:P.a,locale:Se}))};return b.createElement(j.a,{componentName:"Pagination",defaultLocale:C.a},Z)},z=G,Y=B.a=z},NohK:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=function(b){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,v=null;return function(){for(var f=this,l=arguments.length,u=new Array(l),o=0;o<l;o++)u[o]=arguments[o];clearTimeout(v),v=setTimeout(function(){b.apply(f,u)},g)}};B.default=w},NvD2:function(k,B,d){"use strict";d.d(B,"a",function(){return f});var w=d("Kwbf");function A(l,u){var o=new Set;return l.forEach(function(e){u.has(e)||o.add(e)}),o}function b(l){var u=l||{},o=u.disabled,e=u.disableCheckbox,n=u.checkable;return!!(o||e)||n===!1}function g(l,u,o,e){for(var n=new Set(l),i=new Set,r=0;r<=o;r+=1){var s=u.get(r)||new Set;s.forEach(function(h){var p=h.key,m=h.node,S=h.children,y=S===void 0?[]:S;n.has(p)&&!e(m)&&y.filter(function(x){return!e(x.node)}).forEach(function(x){n.add(x.key)})})}for(var t=new Set,a=o;a>=0;a-=1){var c=u.get(a)||new Set;c.forEach(function(h){var p=h.parent,m=h.node;if(e(m)||!h.parent||t.has(h.parent.key))return;if(e(h.parent.node)){t.add(p.key);return}var S=!0,y=!1;(p.children||[]).filter(function(x){return!e(x.node)}).forEach(function(x){var C=x.key,T=n.has(C);S&&!T&&(S=!1),!y&&(T||i.has(C))&&(y=!0)}),S&&n.add(p.key),y&&i.add(p.key),t.add(p.key)})}return{checkedKeys:Array.from(n),halfCheckedKeys:Array.from(A(i,n))}}function v(l,u,o,e,n){for(var i=new Set(l),r=new Set(u),s=0;s<=e;s+=1){var t=o.get(s)||new Set;t.forEach(function(p){var m=p.key,S=p.node,y=p.children,x=y===void 0?[]:y;!i.has(m)&&!r.has(m)&&!n(S)&&x.filter(function(C){return!n(C.node)}).forEach(function(C){i.delete(C.key)})})}r=new Set;for(var a=new Set,c=e;c>=0;c-=1){var h=o.get(c)||new Set;h.forEach(function(p){var m=p.parent,S=p.node;if(n(S)||!p.parent||a.has(p.parent.key))return;if(n(p.parent.node)){a.add(m.key);return}var y=!0,x=!1;(m.children||[]).filter(function(C){return!n(C.node)}).forEach(function(C){var T=C.key,_=i.has(T);y&&!_&&(y=!1),!x&&(_||r.has(T))&&(x=!0)}),y||i.delete(m.key),x&&r.add(m.key),a.add(m.key)})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(A(r,i))}}function f(l,u,o,e){var n=[],i;e?i=e:i=b;var r=new Set(l.filter(function(c){var h=!!o[c];return h||n.push(c),h})),s=new Map,t=0;Object.keys(o).forEach(function(c){var h=o[c],p=h.level,m=s.get(p);m||(m=new Set,s.set(p,m)),m.add(h),t=Math.max(t,p)}),Object(w.a)(!n.length,"Tree missing follow keys: ".concat(n.slice(0,100).map(function(c){return"'".concat(c,"'")}).join(", ")));var a;return u===!0?a=g(r,s,t,i):a=v(r,u.halfCheckedKeys,s,t,i),a}},"O/iA":function(k,B,d){},O3gP:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("O/iA"),g=d.n(b),v=d("OaEy")},OELB:function(k,B,d){var w=d("bYtY"),A=1e-4;function b(x){return x.replace(/^\s+|\s+$/g,"")}function g(x,C,T,_){var E=C[1]-C[0],I=T[1]-T[0];if(E===0)return I===0?T[0]:(T[0]+T[1])/2;if(_)if(E>0){if(x<=C[0])return T[0];if(x>=C[1])return T[1]}else{if(x>=C[0])return T[0];if(x<=C[1])return T[1]}else{if(x===C[0])return T[0];if(x===C[1])return T[1]}return(x-C[0])/E*I+T[0]}function v(x,C){switch(x){case"center":case"middle":x="50%";break;case"left":case"top":x="0%";break;case"right":case"bottom":x="100%";break}return typeof x=="string"?b(x).match(/%$/)?parseFloat(x)/100*C:parseFloat(x):x==null?NaN:+x}function f(x,C,T){return C==null&&(C=10),C=Math.min(Math.max(0,C),20),x=(+x).toFixed(C),T?x:+x}function l(x){return x.sort(function(C,T){return C-T}),x}function u(x){if(x=+x,isNaN(x))return 0;for(var C=1,T=0;Math.round(x*C)/C!==x;)C*=10,T++;return T}function o(x){var C=x.toString(),T=C.indexOf("e");if(T>0){var _=+C.slice(T+1);return _<0?-_:0}else{var E=C.indexOf(".");return E<0?0:C.length-1-E}}function e(x,C){var T=Math.log,_=Math.LN10,E=Math.floor(T(x[1]-x[0])/_),I=Math.round(T(Math.abs(C[1]-C[0]))/_),L=Math.min(Math.max(-E+I,0),20);return isFinite(L)?L:20}function n(x,C,T){if(!x[C])return 0;var _=w.reduce(x,function(H,K){return H+(isNaN(K)?0:K)},0);if(_===0)return 0;for(var E=Math.pow(10,T),I=w.map(x,function(H){return(isNaN(H)?0:H)/_*E*100}),L=E*100,D=w.map(I,function(H){return Math.floor(H)}),F=w.reduce(D,function(H,K){return H+K},0),N=w.map(I,function(H,K){return H-D[K]});F<L;){for(var P=Number.NEGATIVE_INFINITY,W=null,R=0,j=N.length;R<j;++R)N[R]>P&&(P=N[R],W=R);++D[W],N[W]=0,++F}return D[C]/E}var i=9007199254740991;function r(x){var C=Math.PI*2;return(x%C+C)%C}function s(x){return x>-A&&x<A}var t=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function a(x){if(x instanceof Date)return x;if(typeof x=="string"){var C=t.exec(x);if(!C)return new Date(NaN);if(C[8]){var T=+C[4]||0;return C[8].toUpperCase()!=="Z"&&(T-=C[8].slice(0,3)),new Date(Date.UTC(+C[1],+(C[2]||1)-1,+C[3]||1,T,+(C[5]||0),+C[6]||0,+C[7]||0))}else return new Date(+C[1],+(C[2]||1)-1,+C[3]||1,+C[4]||0,+(C[5]||0),+C[6]||0,+C[7]||0)}else if(x==null)return new Date(NaN);return new Date(Math.round(x))}function c(x){return Math.pow(10,h(x))}function h(x){if(x===0)return 0;var C=Math.floor(Math.log(x)/Math.LN10);return x/Math.pow(10,C)>=10&&C++,C}function p(x,C){var T=h(x),_=Math.pow(10,T),E=x/_,I;return C?E<1.5?I=1:E<2.5?I=2:E<4?I=3:E<7?I=5:I=10:E<1?I=1:E<2?I=2:E<3?I=3:E<5?I=5:I=10,x=I*_,T>=-20?+x.toFixed(T<0?-T:0):x}function m(x,C){var T=(x.length-1)*C+1,_=Math.floor(T),E=+x[_-1],I=T-_;return I?E+I*(x[_]-E):E}function S(x){x.sort(function(F,N){return D(F,N,0)?-1:1});for(var C=-Infinity,T=1,_=0;_<x.length;){for(var E=x[_].interval,I=x[_].close,L=0;L<2;L++)E[L]<=C&&(E[L]=C,I[L]=L?1:1-T),C=E[L],T=I[L];E[0]===E[1]&&I[0]*I[1]!==1?x.splice(_,1):_++}return x;function D(F,N,P){return F.interval[P]<N.interval[P]||F.interval[P]===N.interval[P]&&(F.close[P]-N.close[P]===(P?-1:1)||!P&&D(F,N,1))}}function y(x){return x-parseFloat(x)>=0}B.linearMap=g,B.parsePercent=v,B.round=f,B.asc=l,B.getPrecision=u,B.getPrecisionSafe=o,B.getPixelPrecision=e,B.getPercentWithPrecision=n,B.MAX_SAFE_INTEGER=i,B.remRadian=r,B.isRadianAroundZero=s,B.parseDate=a,B.quantity=c,B.quantityExponent=h,B.nice=p,B.quantile=m,B.reformIntervals=S,B.isNumeric=y},OKJ2:function(k,B,d){var w=d("KxfA"),A=w.retrieveRawValue,b=d("7aKB"),g=b.getTooltipMarker,v=b.formatTpl,f=d("4NO4"),l=f.getTooltipRenderMode,u=/\{@(.+?)\}/g,o={getDataParams:function(e,n){var i=this.getData(n),r=this.getRawValue(e,n),s=i.getRawIndex(e),t=i.getName(e),a=i.getRawDataItem(e),c=i.getItemVisual(e,"color"),h=i.getItemVisual(e,"borderColor"),p=this.ecModel.getComponent("tooltip"),m=p&&p.get("renderMode"),S=l(m),y=this.mainType,x=y==="series",C=i.userOutput;return{componentType:y,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:x?this.subType:null,seriesIndex:this.seriesIndex,seriesId:x?this.id:null,seriesName:x?this.name:null,name:t,dataIndex:s,data:a,dataType:n,value:r,color:c,borderColor:h,dimensionNames:C?C.dimensionNames:null,encode:C?C.encode:null,marker:g({color:c,renderMode:S}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,n,i,r,s){n=n||"normal";var t=this.getData(i),a=t.getItemModel(e),c=this.getDataParams(e,i);r!=null&&c.value instanceof Array&&(c.value=c.value[r]);var h=a.get(n==="normal"?[s||"label","formatter"]:[n,s||"label","formatter"]);if(typeof h=="function")return c.status=n,c.dimensionIndex=r,h(c);if(typeof h=="string"){var p=v(h,c);return p.replace(u,function(m,S){var y=S.length;return S.charAt(0)==="["&&S.charAt(y-1)==="]"&&(S=+S.slice(1,y-1)),A(t,e,S)})}},getRawValue:function(e,n){return A(this.getData(n),e)},formatTooltip:function(){}};k.exports=o},OPEp:function(k,B,d){},OQFs:function(k,B,d){var w=d("KCsZ"),A=w([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),b={getLineStyle:function(g){var v=A(this,g);return v.lineDash=this.getLineDash(v.lineWidth),v},getLineDash:function(g){g==null&&(g=1);var v=this.get("type"),f=Math.max(g,2),l=g*4;return v==="solid"||v==null?!1:v==="dashed"?[l,l]:[f,f]}};k.exports=b},OS9S:function(k,B,d){var w=d("bYtY"),A=w.inherits,b=d("Gev7"),g=d("mFDi");function v(u){b.call(this,u),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(u,o){o?this._temporaryDisplayables.push(u):this._displayables.push(u),this.dirty()},v.prototype.addDisplayables=function(u,o){o=o||!1;for(var e=0;e<u.length;e++)this.addDisplayable(u[e],o)},v.prototype.eachPendingDisplayable=function(u){for(var o=this._cursor;o<this._displayables.length;o++)u&&u(this._displayables[o]);for(var o=0;o<this._temporaryDisplayables.length;o++)u&&u(this._temporaryDisplayables[o])},v.prototype.update=function(){this.updateTransform();for(var u=this._cursor;u<this._displayables.length;u++){var o=this._displayables[u];o.parent=this,o.update(),o.parent=null}for(var u=0;u<this._temporaryDisplayables.length;u++){var o=this._temporaryDisplayables[u];o.parent=this,o.update(),o.parent=null}},v.prototype.brush=function(u,o){for(var e=this._cursor;e<this._displayables.length;e++){var n=this._displayables[e];n.beforeBrush&&n.beforeBrush(u),n.brush(u,e===this._cursor?null:this._displayables[e-1]),n.afterBrush&&n.afterBrush(u)}this._cursor=e;for(var e=0;e<this._temporaryDisplayables.length;e++){var n=this._temporaryDisplayables[e];n.beforeBrush&&n.beforeBrush(u),n.brush(u,e===0?null:this._temporaryDisplayables[e-1]),n.afterBrush&&n.afterBrush(u)}this._temporaryDisplayables=[],this.notClear=!0};var f=[];v.prototype.getBoundingRect=function(){if(!this._rect){for(var u=new g(Infinity,Infinity,-Infinity,-Infinity),o=0;o<this._displayables.length;o++){var e=this._displayables[o],n=e.getBoundingRect().clone();e.needLocalTransform()&&n.applyTransform(e.getLocalTransform(f)),u.union(n)}this._rect=u}return this._rect},v.prototype.contain=function(u,o){var e=this.transformCoordToLocal(u,o),n=this.getBoundingRect();if(n.contain(e[0],e[1]))for(var i=0;i<this._displayables.length;i++){var r=this._displayables[i];if(r.contain(u,o))return!0}return!1},A(v,b);var l=v;k.exports=l},OUJF:function(k,B,d){var w=d("ProS"),A=d("bYtY");w.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(b,g){var v=g.getComponent("timeline");return v&&b.currentIndex!=null&&(v.setCurrentIndex(b.currentIndex),!v.get("loop",!0)&&v.isIndexMax()&&v.setPlayState(!1)),g.resetOption("timeline"),A.defaults({currentIndex:v.option.currentIndex},b)}),w.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(b,g){var v=g.getComponent("timeline");v&&b.playState!=null&&v.setPlayState(b.playState)})},OXB0:function(k,B,d){var w=d("T4UG"),A=d("MwEJ"),b=d("IDmD"),g=w.extend({type:"series.heatmap",getInitialData:function(v,f){return A(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var v=b.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}});k.exports=g},OZM5:function(k,B,d){"use strict";d.d(B,"b",function(){return u}),d.d(B,"a",function(){return o}),d.d(B,"k",function(){return e}),d.d(B,"h",function(){return n}),d.d(B,"i",function(){return i}),d.d(B,"g",function(){return r}),d.d(B,"c",function(){return a}),d.d(B,"d",function(){return c}),d.d(B,"j",function(){return m}),d.d(B,"e",function(){return S}),d.d(B,"f",function(){return y});var w=d("KQm4"),A=d("U8pU"),b=d("Ff2n"),g=d("q1tI"),v=d.n(g),f=d("Kwbf"),l=d("WaYH");function u(x,C){var T=x.slice(),_=T.indexOf(C);return _>=0&&T.splice(_,1),T}function o(x,C){var T=x.slice();return T.indexOf(C)===-1&&T.push(C),T}function e(x){return x.split("-")}function n(x,C){return"".concat(x,"-").concat(C)}function i(x){return x&&x.type&&x.type.isTreeNode}function r(x,C){var T=[],_=C[x];function E(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];I.forEach(function(L){var D=L.key,F=L.children;T.push(D),E(F)})}return E(_.children),T}function s(x){if(x.parent){var C=e(x.pos);return Number(C[C.length-1])===x.parent.children.length-1}return!1}function t(x){var C=e(x.pos);return Number(C[C.length-1])===0}function a(x,C,T,_,E,I,L,D,F,N){var P,W=x.clientX,R=x.clientY,j=x.target.getBoundingClientRect(),H=j.top,K=j.height,U=(N==="rtl"?-1:1)*(((E==null?void 0:E.x)||0)-W),G=(U-12)/_,z=D[T.props.eventKey];if(R<H+K/2){var Y=L.findIndex(function(Ee){return Ee.data.key===z.key}),q=Y<=0?0:Y-1,oe=L[q].data.key;z=D[oe]}var ie=z.key,se=z,he=z.key,pe=0,_e=0;if(!F.includes(ie))for(var De=0;De<G&&s(z);De+=1)z=z.parent,_e+=1;var Xe=z.node,J=!0;return t(z)&&z.level===0&&R<H+K/2&&I({dropNode:Xe,dropPosition:-1})&&z.key===T.props.eventKey?pe=-1:(se.children||[]).length&&F.includes(he)?I({dropNode:Xe,dropPosition:0})?pe=0:J=!1:_e===0?G>-1.5?I({dropNode:Xe,dropPosition:1})?pe=1:J=!1:I({dropNode:Xe,dropPosition:0})?pe=0:I({dropNode:Xe,dropPosition:1})?pe=1:J=!1:I({dropNode:Xe,dropPosition:1})?pe=1:J=!1,{dropPosition:pe,dropLevelOffset:_e,dropTargetKey:z.key,dropTargetPos:z.pos,dragOverNodeKey:he,dropContainerKey:pe===0?null:((P=z.parent)===null||P===void 0?void 0:P.key)||null,dropAllowed:J}}function c(x,C){if(!x)return;var T=C.multiple;return T?x.slice():x.length?[x[0]]:x}var h=function(C){return C};function p(x,C){if(!x)return[];var T=C||{},_=T.processProps,E=_===void 0?h:_,I=Array.isArray(x)?x:[x];return I.map(function(L){var D=L.children,F=Object(b.a)(L,["children"]),N=p(D,C);return v.a.createElement(l.a,E(F),N)})}function m(x){if(!x)return null;var C;if(Array.isArray(x))C={checkedKeys:x,halfCheckedKeys:void 0};else if(Object(A.a)(x)==="object")C={checkedKeys:x.checked||void 0,halfCheckedKeys:x.halfChecked||void 0};else return Object(f.a)(!1,"`checkedKeys` is not an array or an object"),null;return C}function S(x,C){var T=new Set;function _(E){if(T.has(E))return;var I=C[E];if(!I)return;T.add(E);var L=I.parent,D=I.node;if(D.disabled)return;L&&_(L.key)}return(x||[]).forEach(function(E){_(E)}),Object(w.a)(T)}function y(x){var C={};return Object.keys(x).forEach(function(T){(T.startsWith("data-")||T.startsWith("aria-"))&&(C[T]=x[T])}),C}},OaEy:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("bKJz"),g=d.n(b),v=d("R9oj")},Ol7k:function(k,B,d){"use strict";var w=d("PKem"),A=d("ZX9x"),b=w.e;b.Header=w.c,b.Footer=w.b,b.Content=w.a,b.Sider=A.b,B.a=b},OlYY:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),g=d("bYtY"),v=d("ItGF"),f=d("4NO4"),l=d("UOVi"),u=d("zDms"),o=g.each,e=l.eachAxisDim,n=b.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,a,c){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var h=i(t);this.settledOption=h,this.mergeDefaultAndTheme(t,c),this.doInit(h)},mergeOption:function(t){var a=i(t);g.merge(this.option,t,!0),g.merge(this.settledOption,a,!0),this.doInit(a)},doInit:function(t){var a=this.option;v.canvasSupported||(a.realtime=!1),this._setDefaultThrottle(t),r(this,t);var c=this.settledOption;o([["start","startValue"],["end","endValue"]],function(h,p){this._rangePropMode[p]==="value"&&(a[h[0]]=c[h[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(a,c,h,p){var m=this.dependentModels[a.axis][c],S=m.__dzAxisProxy||(m.__dzAxisProxy=new u(a.name,c,this,p));t[a.name+"_"+c]=S},this)},_resetTarget:function(){var t=this.option,a=this._judgeAutoMode();e(function(c){var h=c.axisIndex;t[h]=f.normalizeToArray(t[h])},this),a==="axisIndex"?this._autoSetAxisIndex():a==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,a=!1;e(function(h){t[h.axisIndex]!=null&&(a=!0)},this);var c=t.orient;if(c==null&&a)return"orient";if(!a)return c==null&&(t.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var t=!0,a=this.get("orient",!0),c=this.option,h=this.dependentModels;if(t){var p=a==="vertical"?"y":"x";h[p+"Axis"].length?(c[p+"AxisIndex"]=[0],t=!1):o(h.singleAxis,function(m){t&&m.get("orient",!0)===a&&(c.singleAxisIndex=[m.componentIndex],t=!1)})}t&&e(function(m){if(!t)return;var S=[],y=this.dependentModels[m.axis];if(y.length&&!S.length)for(var x=0,C=y.length;x<C;x++)y[x].get("type")==="category"&&S.push(x);c[m.axisIndex]=S,S.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(m){this._isSeriesHasAllAxesTypeOf(m,"value")&&e(function(S){var y=c[S.axisIndex],x=m.get(S.axisIndex),C=m.get(S.axisId),T=m.ecModel.queryComponents({mainType:S.axis,index:x,id:C})[0];x=T.componentIndex,g.indexOf(y,x)<0&&y.push(x)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(a){!t&&(t=a.name)},this),this.option.orient=t==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,a){var c=!0;return e(function(h){var p=t.get(h.axisIndex),m=this.dependentModels[h.axis][p];(!m||m.get("type")!==a)&&(c=!1)},this),c},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return e(function(a){if(t==null){var c=this.get(a.axisIndex);c.length&&(t=this.dependentModels[a.axis][c[0]])}},this),t},eachTargetAxis:function(t,a){var c=this.ecModel;e(function(h){o(this.get(h.axisIndex),function(p){t.call(a,h,p,this,c)},this)},this)},getAxisProxy:function(t,a){return this._axisProxies[t+"_"+a]},getAxisModel:function(t,a){var c=this.getAxisProxy(t,a);return c&&c.getAxisModel()},setRawRange:function(t){var a=this.option,c=this.settledOption;o([["start","startValue"],["end","endValue"]],function(h){(t[h[0]]!=null||t[h[1]]!=null)&&(a[h[0]]=c[h[0]]=t[h[0]],a[h[1]]=c[h[1]]=t[h[1]])},this),r(this,t)},setCalculatedRange:function(t){var a=this.option;o(["start","startValue","end","endValue"],function(c){a[c]=t[c]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,a){if(t==null&&a==null){var c=this.findRepresentativeAxisProxy();if(c)return c.getDataValueWindow()}else return this.getAxisProxy(t,a).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var a=this._axisProxies;for(var c in a)if(a.hasOwnProperty(c)&&a[c].hostedBy(this))return a[c];for(var c in a)if(a.hasOwnProperty(c)&&!a[c].hostedBy(this))return a[c]},getRangePropMode:function(){return this._rangePropMode.slice()}});function i(t){var a={};return o(["start","end","startValue","endValue","throttle"],function(c){t.hasOwnProperty(c)&&(a[c]=t[c])}),a}function r(t,a){var c=t._rangePropMode,h=t.get("rangeMode");o([["start","startValue"],["end","endValue"]],function(p,m){var S=a[p[0]]!=null,y=a[p[1]]!=null;S&&!y?c[m]="percent":!S&&y?c[m]="value":h?c[m]=h[m]:S&&(c[m]="percent")})}var s=n;k.exports=s},OnYD:function(k,B,d){},"Oy/b":function(k,B,d){(function(A,b){k.exports=b()})(typeof self!="undefined"?self:this,function(){return function(w){var A={};function b(g){if(A[g])return A[g].exports;var v=A[g]={i:g,l:!1,exports:{}};return w[g].call(v.exports,v,v.exports,b),v.l=!0,v.exports}return b.m=w,b.c=A,b.d=function(g,v,f){b.o(g,v)||Object.defineProperty(g,v,{enumerable:!0,get:f})},b.r=function(g){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(g,"__esModule",{value:!0})},b.t=function(g,v){if(v&1&&(g=b(g)),v&8)return g;if(v&4&&typeof g=="object"&&g&&g.__esModule)return g;var f=Object.create(null);if(b.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:g}),v&2&&typeof g!="string")for(var l in g)b.d(f,l,function(u){return g[u]}.bind(null,l));return f},b.n=function(g){var v=g&&g.__esModule?function(){return g.default}:function(){return g};return b.d(v,"a",v),v},b.o=function(g,v){return Object.prototype.hasOwnProperty.call(g,v)},b.p="",b(b.s=1)}([function(w,A,b){},function(w,A,b){"use strict";b.r(A);var g=b(0),v=function(){function gt(ce,ve,Ie){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=ce,this.start=ve,this.end=Ie}return gt.range=function(ve,Ie){return Ie?!ve||!ve.loc||!Ie.loc||ve.loc.lexer!==Ie.loc.lexer?null:new gt(ve.loc.lexer,ve.loc.start,Ie.loc.end):ve&&ve.loc},gt}(),f=function(){function gt(ve,Ie){this.text=void 0,this.loc=void 0,this.text=ve,this.loc=Ie}var ce=gt.prototype;return ce.range=function(Ie,Ke){return new gt(Ke,v.range(this,Ie))},gt}(),l=function gt(ce,ve){this.position=void 0;var Ie="KaTeX parse error: "+ce,Ke,mt=ve&&ve.loc;if(mt&&mt.start<=mt.end){var Pt=mt.lexer.input;Ke=mt.start;var lr=mt.end;Ke===Pt.length?Ie+=" at end of input: ":Ie+=" at position "+(Ke+1)+": ";var yr=Pt.slice(Ke,lr).replace(/[^]/g,"$&\u0332"),kr;Ke>15?kr="\u2026"+Pt.slice(Ke-15,Ke):kr=Pt.slice(0,Ke);var ln;lr+15<Pt.length?ln=Pt.slice(lr,lr+15)+"\u2026":ln=Pt.slice(lr),Ie+=kr+yr+ln}var En=new Error(Ie);return En.name="ParseError",En.__proto__=gt.prototype,En.position=Ke,En};l.prototype.__proto__=Error.prototype;var u=l,o=function(ce,ve){return ce.indexOf(ve)!==-1},e=function(ce,ve){return ce===void 0?ve:ce},n=/([A-Z])/g,i=function(ce){return ce.replace(n,"-$1").toLowerCase()},r={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},s=/[&><"']/g;function t(gt){return String(gt).replace(s,function(ce){return r[ce]})}var a=function gt(ce){return ce.type==="ordgroup"||ce.type==="color"?ce.body.length===1?gt(ce.body[0]):ce:ce.type==="font"?gt(ce.body):ce},c=function(ce){var ve=a(ce);return ve.type==="mathord"||ve.type==="textord"||ve.type==="atom"},h=function(ce){if(!ce)throw new Error("Expected non-null, but got "+String(ce));return ce},p=function(ce){var ve=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(ce);return ve!=null?ve[1]:"_relative"},m={contains:o,deflt:e,escape:t,hyphenate:i,getBaseElem:a,isCharacterBox:c,protocolFromUrl:p},S=function(){function gt(ve){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,ve=ve||{},this.displayMode=m.deflt(ve.displayMode,!1),this.output=m.deflt(ve.output,"htmlAndMathml"),this.leqno=m.deflt(ve.leqno,!1),this.fleqn=m.deflt(ve.fleqn,!1),this.throwOnError=m.deflt(ve.throwOnError,!0),this.errorColor=m.deflt(ve.errorColor,"#cc0000"),this.macros=ve.macros||{},this.minRuleThickness=Math.max(0,m.deflt(ve.minRuleThickness,0)),this.colorIsTextColor=m.deflt(ve.colorIsTextColor,!1),this.strict=m.deflt(ve.strict,"warn"),this.trust=m.deflt(ve.trust,!1),this.maxSize=Math.max(0,m.deflt(ve.maxSize,Infinity)),this.maxExpand=Math.max(0,m.deflt(ve.maxExpand,1e3))}var ce=gt.prototype;return ce.reportNonstrict=function(Ie,Ke,mt){var Pt=this.strict;if(typeof Pt=="function"&&(Pt=Pt(Ie,Ke,mt)),!Pt||Pt==="ignore")return;if(Pt===!0||Pt==="error")throw new u("LaTeX-incompatible input and strict mode is set to 'error': "+(Ke+" ["+Ie+"]"),mt);Pt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Ke+" ["+Ie+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Pt+"': "+Ke+" ["+Ie+"]"))},ce.useStrictBehavior=function(Ie,Ke,mt){var Pt=this.strict;if(typeof Pt=="function")try{Pt=Pt(Ie,Ke,mt)}catch(lr){Pt="error"}return!Pt||Pt==="ignore"?!1:Pt===!0||Pt==="error"?!0:Pt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Ke+" ["+Ie+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Pt+"': "+Ke+" ["+Ie+"]")),!1)},ce.isTrusted=function(Ie){Ie.url&&!Ie.protocol&&(Ie.protocol=m.protocolFromUrl(Ie.url));var Ke=typeof this.trust=="function"?this.trust(Ie):this.trust;return Boolean(Ke)},gt}(),y=function(){function gt(ve,Ie,Ke){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=ve,this.size=Ie,this.cramped=Ke}var ce=gt.prototype;return ce.sup=function(){return F[N[this.id]]},ce.sub=function(){return F[P[this.id]]},ce.fracNum=function(){return F[W[this.id]]},ce.fracDen=function(){return F[R[this.id]]},ce.cramp=function(){return F[j[this.id]]},ce.text=function(){return F[H[this.id]]},ce.isTight=function(){return this.size>=2},gt}(),x=0,C=1,T=2,_=3,E=4,I=5,L=6,D=7,F=[new y(x,0,!1),new y(C,0,!0),new y(T,1,!1),new y(_,1,!0),new y(E,2,!1),new y(I,2,!0),new y(L,3,!1),new y(D,3,!0)],N=[E,I,E,I,L,D,L,D],P=[I,I,I,I,D,D,D,D],W=[T,_,E,I,L,D,L,D],R=[_,_,I,I,D,D,D,D],j=[C,C,_,_,I,I,D,D],H=[x,C,T,_,T,_,T,_],K={DISPLAY:F[x],TEXT:F[T],SCRIPT:F[E],SCRIPTSCRIPT:F[L]},U=[{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 G(gt){for(var ce=0;ce<U.length;ce++)for(var ve=U[ce],Ie=0;Ie<ve.blocks.length;Ie++){var Ke=ve.blocks[Ie];if(gt>=Ke[0]&&gt<=Ke[1])return ve.name}return null}var z=[];U.forEach(function(gt){return gt.blocks.forEach(function(ce){return z.push.apply(z,ce)})});function Y(gt){for(var ce=0;ce<z.length;ce+=2)if(gt>=z[ce]&&gt<=z[ce+1])return!0;return!1}var q=80,oe=function(ce,ve){return"M95,"+(622+ce+ve)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+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)+" "+ve+"h400000v"+(40+ce)+"h-400000z"},ie=function(ce,ve){return"M263,"+(601+ce+ve)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+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)+" "+ve+"h400000v"+(40+ce)+"h-400000z"},se=function(ce,ve){return"M983 "+(10+ce+ve)+`
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)+" "+ve+"h400000v"+(40+ce)+"h-400000z"},he=function(ce,ve){return"M424,"+(2398+ce+ve)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+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)+" "+ve+`
h400000v`+(40+ce)+"h-400000z"},pe=function(ce,ve){return"M473,"+(2713+ce+ve)+`
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)+" "+ve+"h400000v"+(40+ce)+"H1017.7z"},_e=function(ce,ve,Ie){var Ke=Ie-54-ve-ce;return"M702 "+(ce+ve)+"H400000"+(40+ce)+`
H742v`+Ke+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+ve+"H400000v"+(40+ce)+"H742z"},De=function(ce,ve,Ie){ve=1e3*ve;var Ke="";switch(ce){case"sqrtMain":Ke=oe(ve,q);break;case"sqrtSize1":Ke=ie(ve,q);break;case"sqrtSize2":Ke=se(ve,q);break;case"sqrtSize3":Ke=he(ve,q);break;case"sqrtSize4":Ke=pe(ve,q);break;case"sqrtTall":Ke=_e(ve,q,Ie)}return Ke},Xe={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},J=function(){function gt(ve){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=ve,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var ce=gt.prototype;return ce.hasClass=function(Ie){return m.contains(this.classes,Ie)},ce.toNode=function(){for(var Ie=document.createDocumentFragment(),Ke=0;Ke<this.children.length;Ke++)Ie.appendChild(this.children[Ke].toNode());return Ie},ce.toMarkup=function(){for(var Ie="",Ke=0;Ke<this.children.length;Ke++)Ie+=this.children[Ke].toMarkup();return Ie},ce.toText=function(){var Ie=function(mt){return mt.toText()};return this.children.map(Ie).join("")},gt}(),Ee=function(ce){return ce.filter(function(ve){return ve}).join(" ")},qe=function(ce,ve,Ie){if(this.classes=ce||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Ie||{},ve){ve.style.isTight()&&this.classes.push("mtight");var Ke=ve.getColor();Ke&&(this.style.color=Ke)}},ae=function(ce){var ve=document.createElement(ce);ve.className=Ee(this.classes);for(var Ie in this.style)this.style.hasOwnProperty(Ie)&&(ve.style[Ie]=this.style[Ie]);for(var Ke in this.attributes)this.attributes.hasOwnProperty(Ke)&&ve.setAttribute(Ke,this.attributes[Ke]);for(var mt=0;mt<this.children.length;mt++)ve.appendChild(this.children[mt].toNode());return ve},V=function(ce){var ve="<"+ce;this.classes.length&&(ve+=' class="'+m.escape(Ee(this.classes))+'"');var Ie="";for(var Ke in this.style)this.style.hasOwnProperty(Ke)&&(Ie+=m.hyphenate(Ke)+":"+this.style[Ke]+";");Ie&&(ve+=' style="'+m.escape(Ie)+'"');for(var mt in this.attributes)this.attributes.hasOwnProperty(mt)&&(ve+=" "+mt+'="'+m.escape(this.attributes[mt])+'"');ve+=">";for(var Pt=0;Pt<this.children.length;Pt++)ve+=this.children[Pt].toMarkup();return ve+="</"+ce+">",ve},X=function(){function gt(ve,Ie,Ke,mt){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,qe.call(this,ve,Ke,mt),this.children=Ie||[]}var ce=gt.prototype;return ce.setAttribute=function(Ie,Ke){this.attributes[Ie]=Ke},ce.hasClass=function(Ie){return m.contains(this.classes,Ie)},ce.toNode=function(){return ae.call(this,"span")},ce.toMarkup=function(){return V.call(this,"span")},gt}(),Z=function(){function gt(ve,Ie,Ke,mt){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,qe.call(this,Ie,mt),this.children=Ke||[],this.setAttribute("href",ve)}var ce=gt.prototype;return ce.setAttribute=function(Ie,Ke){this.attributes[Ie]=Ke},ce.hasClass=function(Ie){return m.contains(this.classes,Ie)},ce.toNode=function(){return ae.call(this,"a")},ce.toMarkup=function(){return V.call(this,"a")},gt}(),ge=function(){function gt(ve,Ie,Ke){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=Ie,this.src=ve,this.classes=["mord"],this.style=Ke}var ce=gt.prototype;return ce.hasClass=function(Ie){return m.contains(this.classes,Ie)},ce.toNode=function(){var Ie=document.createElement("img");Ie.src=this.src,Ie.alt=this.alt,Ie.className="mord";for(var Ke in this.style)this.style.hasOwnProperty(Ke)&&(Ie.style[Ke]=this.style[Ke]);return Ie},ce.toMarkup=function(){var Ie="<img src='"+this.src+" 'alt='"+this.alt+"' ",Ke="";for(var mt in this.style)this.style.hasOwnProperty(mt)&&(Ke+=m.hyphenate(mt)+":"+this.style[mt]+";");return Ke&&(Ie+=' style="'+m.escape(Ke)+'"'),Ie+="'/>",Ie},gt}(),le={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Se=function(){function gt(ve,Ie,Ke,mt,Pt,lr,yr,kr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=ve,this.height=Ie||0,this.depth=Ke||0,this.italic=mt||0,this.skew=Pt||0,this.width=lr||0,this.classes=yr||[],this.style=kr||{},this.maxFontSize=0;var ln=G(this.text.charCodeAt(0));ln&&this.classes.push(ln+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=le[this.text])}var ce=gt.prototype;return ce.hasClass=function(Ie){return m.contains(this.classes,Ie)},ce.toNode=function(){var Ie=document.createTextNode(this.text),Ke=null;this.italic>0&&(Ke=document.createElement("span"),Ke.style.marginRight=this.italic+"em"),this.classes.length>0&&(Ke=Ke||document.createElement("span"),Ke.className=Ee(this.classes));for(var mt in this.style)this.style.hasOwnProperty(mt)&&(Ke=Ke||document.createElement("span"),Ke.style[mt]=this.style[mt]);return Ke?(Ke.appendChild(Ie),Ke):Ie},ce.toMarkup=function(){var Ie=!1,Ke="<span";this.classes.length&&(Ie=!0,Ke+=' class="',Ke+=m.escape(Ee(this.classes)),Ke+='"');var mt="";this.italic>0&&(mt+="margin-right:"+this.italic+"em;");for(var Pt in this.style)this.style.hasOwnProperty(Pt)&&(mt+=m.hyphenate(Pt)+":"+this.style[Pt]+";");mt&&(Ie=!0,Ke+=' style="'+m.escape(mt)+'"');var lr=m.escape(this.text);return Ie?(Ke+=">",Ke+=lr,Ke+="</span>",Ke):lr},gt}(),me=function(){function gt(ve,Ie){this.children=void 0,this.attributes=void 0,this.children=ve||[],this.attributes=Ie||{}}var ce=gt.prototype;return ce.toNode=function(){var Ie="http://www.w3.org/2000/svg",Ke=document.createElementNS(Ie,"svg");for(var mt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,mt)&&Ke.setAttribute(mt,this.attributes[mt]);for(var Pt=0;Pt<this.children.length;Pt++)Ke.appendChild(this.children[Pt].toNode());return Ke},ce.toMarkup=function(){var Ie="<svg";for(var Ke in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ke)&&(Ie+=" "+Ke+"='"+this.attributes[Ke]+"'");Ie+=">";for(var mt=0;mt<this.children.length;mt++)Ie+=this.children[mt].toMarkup();return Ie+="</svg>",Ie},gt}(),$=function(){function gt(ve,Ie){this.pathName=void 0,this.alternate=void 0,this.pathName=ve,this.alternate=Ie}var ce=gt.prototype;return ce.toNode=function(){var Ie="http://www.w3.org/2000/svg",Ke=document.createElementNS(Ie,"path");return this.alternate?Ke.setAttribute("d",this.alternate):Ke.setAttribute("d",Xe[this.pathName]),Ke},ce.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Xe[this.pathName]+"'/>"},gt}(),we=function(){function gt(ve){this.attributes=void 0,this.attributes=ve||{}}var ce=gt.prototype;return ce.toNode=function(){var Ie="http://www.w3.org/2000/svg",Ke=document.createElementNS(Ie,"line");for(var mt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,mt)&&Ke.setAttribute(mt,this.attributes[mt]);return Ke},ce.toMarkup=function(){var Ie="<line";for(var Ke in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ke)&&(Ie+=" "+Ke+"='"+this.attributes[Ke]+"'");return Ie+="/>",Ie},gt}();function xe(gt){if(gt instanceof Se)return gt;throw new Error("Expected symbolNode but got "+String(gt)+".")}function We(gt){if(gt instanceof X)return gt;throw new Error("Expected span<HtmlDomNode> but got "+String(gt)+".")}var st={"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]}},nt={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]},Ne={\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 St(gt,ce){st[gt]=ce}function Ye(gt,ce,ve){if(!st[ce])throw new Error("Font metrics not found for font: "+ce+".");var Ie=gt.charCodeAt(0),Ke=st[ce][Ie];if(!Ke&&gt[0]in Ne&&(Ie=Ne[gt[0]].charCodeAt(0),Ke=st[ce][Ie]),!Ke&&ve==="text"&&(Y(Ie)&&(Ke=st[ce][77])),Ke)return{depth:Ke[0],height:Ke[1],italic:Ke[2],skew:Ke[3],width:Ke[4]}}var vt={};function It(gt){var ce;if(gt>=5?ce=0:gt>=3?ce=1:ce=2,!vt[ce]){var ve=vt[ce]={cssEmPerMu:nt.quad[ce]/18};for(var Ie in nt)nt.hasOwnProperty(Ie)&&(ve[Ie]=nt[Ie][ce])}return vt[ce]}var Ut={bin:1,close:1,inner:1,open:1,punct:1,rel:1},xt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Bt={math:{},text:{}},Qe=Bt;function te(gt,ce,ve,Ie,Ke,mt){Bt[gt][Ke]={font:ce,group:ve,replace:Ie},mt&&Ie&&(Bt[gt][Ie]=Bt[gt][Ke])}var Q="math",Me="text",Ce="main",ue="ams",ot="accent-token",rt="bin",Ue="close",Ge="inner",tt="mathord",Wt="op-token",jt="open",Yt="punct",Tt="rel",Rt="spacing",yt="textord";te(Q,Ce,Tt,"\u2261","\\equiv",!0),te(Q,Ce,Tt,"\u227A","\\prec",!0),te(Q,Ce,Tt,"\u227B","\\succ",!0),te(Q,Ce,Tt,"\u223C","\\sim",!0),te(Q,Ce,Tt,"\u22A5","\\perp"),te(Q,Ce,Tt,"\u2AAF","\\preceq",!0),te(Q,Ce,Tt,"\u2AB0","\\succeq",!0),te(Q,Ce,Tt,"\u2243","\\simeq",!0),te(Q,Ce,Tt,"\u2223","\\mid",!0),te(Q,Ce,Tt,"\u226A","\\ll",!0),te(Q,Ce,Tt,"\u226B","\\gg",!0),te(Q,Ce,Tt,"\u224D","\\asymp",!0),te(Q,Ce,Tt,"\u2225","\\parallel"),te(Q,Ce,Tt,"\u22C8","\\bowtie",!0),te(Q,Ce,Tt,"\u2323","\\smile",!0),te(Q,Ce,Tt,"\u2291","\\sqsubseteq",!0),te(Q,Ce,Tt,"\u2292","\\sqsupseteq",!0),te(Q,Ce,Tt,"\u2250","\\doteq",!0),te(Q,Ce,Tt,"\u2322","\\frown",!0),te(Q,Ce,Tt,"\u220B","\\ni",!0),te(Q,Ce,Tt,"\u221D","\\propto",!0),te(Q,Ce,Tt,"\u22A2","\\vdash",!0),te(Q,Ce,Tt,"\u22A3","\\dashv",!0),te(Q,Ce,Tt,"\u220B","\\owns"),te(Q,Ce,Yt,".","\\ldotp"),te(Q,Ce,Yt,"\u22C5","\\cdotp"),te(Q,Ce,yt,"#","\\#"),te(Me,Ce,yt,"#","\\#"),te(Q,Ce,yt,"&","\\&"),te(Me,Ce,yt,"&","\\&"),te(Q,Ce,yt,"\u2135","\\aleph",!0),te(Q,Ce,yt,"\u2200","\\forall",!0),te(Q,Ce,yt,"\u210F","\\hbar",!0),te(Q,Ce,yt,"\u2203","\\exists",!0),te(Q,Ce,yt,"\u2207","\\nabla",!0),te(Q,Ce,yt,"\u266D","\\flat",!0),te(Q,Ce,yt,"\u2113","\\ell",!0),te(Q,Ce,yt,"\u266E","\\natural",!0),te(Q,Ce,yt,"\u2663","\\clubsuit",!0),te(Q,Ce,yt,"\u2118","\\wp",!0),te(Q,Ce,yt,"\u266F","\\sharp",!0),te(Q,Ce,yt,"\u2662","\\diamondsuit",!0),te(Q,Ce,yt,"\u211C","\\Re",!0),te(Q,Ce,yt,"\u2661","\\heartsuit",!0),te(Q,Ce,yt,"\u2111","\\Im",!0),te(Q,Ce,yt,"\u2660","\\spadesuit",!0),te(Me,Ce,yt,"\xA7","\\S",!0),te(Me,Ce,yt,"\xB6","\\P",!0),te(Q,Ce,yt,"\u2020","\\dag"),te(Me,Ce,yt,"\u2020","\\dag"),te(Me,Ce,yt,"\u2020","\\textdagger"),te(Q,Ce,yt,"\u2021","\\ddag"),te(Me,Ce,yt,"\u2021","\\ddag"),te(Me,Ce,yt,"\u2021","\\textdaggerdbl"),te(Q,Ce,Ue,"\u23B1","\\rmoustache",!0),te(Q,Ce,jt,"\u23B0","\\lmoustache",!0),te(Q,Ce,Ue,"\u27EF","\\rgroup",!0),te(Q,Ce,jt,"\u27EE","\\lgroup",!0),te(Q,Ce,rt,"\u2213","\\mp",!0),te(Q,Ce,rt,"\u2296","\\ominus",!0),te(Q,Ce,rt,"\u228E","\\uplus",!0),te(Q,Ce,rt,"\u2293","\\sqcap",!0),te(Q,Ce,rt,"\u2217","\\ast"),te(Q,Ce,rt,"\u2294","\\sqcup",!0),te(Q,Ce,rt,"\u25EF","\\bigcirc"),te(Q,Ce,rt,"\u2219","\\bullet"),te(Q,Ce,rt,"\u2021","\\ddagger"),te(Q,Ce,rt,"\u2240","\\wr",!0),te(Q,Ce,rt,"\u2A3F","\\amalg"),te(Q,Ce,rt,"&","\\And"),te(Q,Ce,Tt,"\u27F5","\\longleftarrow",!0),te(Q,Ce,Tt,"\u21D0","\\Leftarrow",!0),te(Q,Ce,Tt,"\u27F8","\\Longleftarrow",!0),te(Q,Ce,Tt,"\u27F6","\\longrightarrow",!0),te(Q,Ce,Tt,"\u21D2","\\Rightarrow",!0),te(Q,Ce,Tt,"\u27F9","\\Longrightarrow",!0),te(Q,Ce,Tt,"\u2194","\\leftrightarrow",!0),te(Q,Ce,Tt,"\u27F7","\\longleftrightarrow",!0),te(Q,Ce,Tt,"\u21D4","\\Leftrightarrow",!0),te(Q,Ce,Tt,"\u27FA","\\Longleftrightarrow",!0),te(Q,Ce,Tt,"\u21A6","\\mapsto",!0),te(Q,Ce,Tt,"\u27FC","\\longmapsto",!0),te(Q,Ce,Tt,"\u2197","\\nearrow",!0),te(Q,Ce,Tt,"\u21A9","\\hookleftarrow",!0),te(Q,Ce,Tt,"\u21AA","\\hookrightarrow",!0),te(Q,Ce,Tt,"\u2198","\\searrow",!0),te(Q,Ce,Tt,"\u21BC","\\leftharpoonup",!0),te(Q,Ce,Tt,"\u21C0","\\rightharpoonup",!0),te(Q,Ce,Tt,"\u2199","\\swarrow",!0),te(Q,Ce,Tt,"\u21BD","\\leftharpoondown",!0),te(Q,Ce,Tt,"\u21C1","\\rightharpoondown",!0),te(Q,Ce,Tt,"\u2196","\\nwarrow",!0),te(Q,Ce,Tt,"\u21CC","\\rightleftharpoons",!0),te(Q,ue,Tt,"\u226E","\\nless",!0),te(Q,ue,Tt,"\uE010","\\@nleqslant"),te(Q,ue,Tt,"\uE011","\\@nleqq"),te(Q,ue,Tt,"\u2A87","\\lneq",!0),te(Q,ue,Tt,"\u2268","\\lneqq",!0),te(Q,ue,Tt,"\uE00C","\\@lvertneqq"),te(Q,ue,Tt,"\u22E6","\\lnsim",!0),te(Q,ue,Tt,"\u2A89","\\lnapprox",!0),te(Q,ue,Tt,"\u2280","\\nprec",!0),te(Q,ue,Tt,"\u22E0","\\npreceq",!0),te(Q,ue,Tt,"\u22E8","\\precnsim",!0),te(Q,ue,Tt,"\u2AB9","\\precnapprox",!0),te(Q,ue,Tt,"\u2241","\\nsim",!0),te(Q,ue,Tt,"\uE006","\\@nshortmid"),te(Q,ue,Tt,"\u2224","\\nmid",!0),te(Q,ue,Tt,"\u22AC","\\nvdash",!0),te(Q,ue,Tt,"\u22AD","\\nvDash",!0),te(Q,ue,Tt,"\u22EA","\\ntriangleleft"),te(Q,ue,Tt,"\u22EC","\\ntrianglelefteq",!0),te(Q,ue,Tt,"\u228A","\\subsetneq",!0),te(Q,ue,Tt,"\uE01A","\\@varsubsetneq"),te(Q,ue,Tt,"\u2ACB","\\subsetneqq",!0),te(Q,ue,Tt,"\uE017","\\@varsubsetneqq"),te(Q,ue,Tt,"\u226F","\\ngtr",!0),te(Q,ue,Tt,"\uE00F","\\@ngeqslant"),te(Q,ue,Tt,"\uE00E","\\@ngeqq"),te(Q,ue,Tt,"\u2A88","\\gneq",!0),te(Q,ue,Tt,"\u2269","\\gneqq",!0),te(Q,ue,Tt,"\uE00D","\\@gvertneqq"),te(Q,ue,Tt,"\u22E7","\\gnsim",!0),te(Q,ue,Tt,"\u2A8A","\\gnapprox",!0),te(Q,ue,Tt,"\u2281","\\nsucc",!0),te(Q,ue,Tt,"\u22E1","\\nsucceq",!0),te(Q,ue,Tt,"\u22E9","\\succnsim",!0),te(Q,ue,Tt,"\u2ABA","\\succnapprox",!0),te(Q,ue,Tt,"\u2246","\\ncong",!0),te(Q,ue,Tt,"\uE007","\\@nshortparallel"),te(Q,ue,Tt,"\u2226","\\nparallel",!0),te(Q,ue,Tt,"\u22AF","\\nVDash",!0),te(Q,ue,Tt,"\u22EB","\\ntriangleright"),te(Q,ue,Tt,"\u22ED","\\ntrianglerighteq",!0),te(Q,ue,Tt,"\uE018","\\@nsupseteqq"),te(Q,ue,Tt,"\u228B","\\supsetneq",!0),te(Q,ue,Tt,"\uE01B","\\@varsupsetneq"),te(Q,ue,Tt,"\u2ACC","\\supsetneqq",!0),te(Q,ue,Tt,"\uE019","\\@varsupsetneqq"),te(Q,ue,Tt,"\u22AE","\\nVdash",!0),te(Q,ue,Tt,"\u2AB5","\\precneqq",!0),te(Q,ue,Tt,"\u2AB6","\\succneqq",!0),te(Q,ue,Tt,"\uE016","\\@nsubseteqq"),te(Q,ue,rt,"\u22B4","\\unlhd"),te(Q,ue,rt,"\u22B5","\\unrhd"),te(Q,ue,Tt,"\u219A","\\nleftarrow",!0),te(Q,ue,Tt,"\u219B","\\nrightarrow",!0),te(Q,ue,Tt,"\u21CD","\\nLeftarrow",!0),te(Q,ue,Tt,"\u21CF","\\nRightarrow",!0),te(Q,ue,Tt,"\u21AE","\\nleftrightarrow",!0),te(Q,ue,Tt,"\u21CE","\\nLeftrightarrow",!0),te(Q,ue,Tt,"\u25B3","\\vartriangle"),te(Q,ue,yt,"\u210F","\\hslash"),te(Q,ue,yt,"\u25BD","\\triangledown"),te(Q,ue,yt,"\u25CA","\\lozenge"),te(Q,ue,yt,"\u24C8","\\circledS"),te(Q,ue,yt,"\xAE","\\circledR"),te(Me,ue,yt,"\xAE","\\circledR"),te(Q,ue,yt,"\u2221","\\measuredangle",!0),te(Q,ue,yt,"\u2204","\\nexists"),te(Q,ue,yt,"\u2127","\\mho"),te(Q,ue,yt,"\u2132","\\Finv",!0),te(Q,ue,yt,"\u2141","\\Game",!0),te(Q,ue,yt,"\u2035","\\backprime"),te(Q,ue,yt,"\u25B2","\\blacktriangle"),te(Q,ue,yt,"\u25BC","\\blacktriangledown"),te(Q,ue,yt,"\u25A0","\\blacksquare"),te(Q,ue,yt,"\u29EB","\\blacklozenge"),te(Q,ue,yt,"\u2605","\\bigstar"),te(Q,ue,yt,"\u2222","\\sphericalangle",!0),te(Q,ue,yt,"\u2201","\\complement",!0),te(Q,ue,yt,"\xF0","\\eth",!0),te(Q,ue,yt,"\u2571","\\diagup"),te(Q,ue,yt,"\u2572","\\diagdown"),te(Q,ue,yt,"\u25A1","\\square"),te(Q,ue,yt,"\u25A1","\\Box"),te(Q,ue,yt,"\u25CA","\\Diamond"),te(Q,ue,yt,"\xA5","\\yen",!0),te(Me,ue,yt,"\xA5","\\yen",!0),te(Q,ue,yt,"\u2713","\\checkmark",!0),te(Me,ue,yt,"\u2713","\\checkmark"),te(Q,ue,yt,"\u2136","\\beth",!0),te(Q,ue,yt,"\u2138","\\daleth",!0),te(Q,ue,yt,"\u2137","\\gimel",!0),te(Q,ue,yt,"\u03DD","\\digamma",!0),te(Q,ue,yt,"\u03F0","\\varkappa"),te(Q,ue,jt,"\u250C","\\ulcorner",!0),te(Q,ue,Ue,"\u2510","\\urcorner",!0),te(Q,ue,jt,"\u2514","\\llcorner",!0),te(Q,ue,Ue,"\u2518","\\lrcorner",!0),te(Q,ue,Tt,"\u2266","\\leqq",!0),te(Q,ue,Tt,"\u2A7D","\\leqslant",!0),te(Q,ue,Tt,"\u2A95","\\eqslantless",!0),te(Q,ue,Tt,"\u2272","\\lesssim",!0),te(Q,ue,Tt,"\u2A85","\\lessapprox",!0),te(Q,ue,Tt,"\u224A","\\approxeq",!0),te(Q,ue,rt,"\u22D6","\\lessdot"),te(Q,ue,Tt,"\u22D8","\\lll",!0),te(Q,ue,Tt,"\u2276","\\lessgtr",!0),te(Q,ue,Tt,"\u22DA","\\lesseqgtr",!0),te(Q,ue,Tt,"\u2A8B","\\lesseqqgtr",!0),te(Q,ue,Tt,"\u2251","\\doteqdot"),te(Q,ue,Tt,"\u2253","\\risingdotseq",!0),te(Q,ue,Tt,"\u2252","\\fallingdotseq",!0),te(Q,ue,Tt,"\u223D","\\backsim",!0),te(Q,ue,Tt,"\u22CD","\\backsimeq",!0),te(Q,ue,Tt,"\u2AC5","\\subseteqq",!0),te(Q,ue,Tt,"\u22D0","\\Subset",!0),te(Q,ue,Tt,"\u228F","\\sqsubset",!0),te(Q,ue,Tt,"\u227C","\\preccurlyeq",!0),te(Q,ue,Tt,"\u22DE","\\curlyeqprec",!0),te(Q,ue,Tt,"\u227E","\\precsim",!0),te(Q,ue,Tt,"\u2AB7","\\precapprox",!0),te(Q,ue,Tt,"\u22B2","\\vartriangleleft"),te(Q,ue,Tt,"\u22B4","\\trianglelefteq"),te(Q,ue,Tt,"\u22A8","\\vDash",!0),te(Q,ue,Tt,"\u22AA","\\Vvdash",!0),te(Q,ue,Tt,"\u2323","\\smallsmile"),te(Q,ue,Tt,"\u2322","\\smallfrown"),te(Q,ue,Tt,"\u224F","\\bumpeq",!0),te(Q,ue,Tt,"\u224E","\\Bumpeq",!0),te(Q,ue,Tt,"\u2267","\\geqq",!0),te(Q,ue,Tt,"\u2A7E","\\geqslant",!0),te(Q,ue,Tt,"\u2A96","\\eqslantgtr",!0),te(Q,ue,Tt,"\u2273","\\gtrsim",!0),te(Q,ue,Tt,"\u2A86","\\gtrapprox",!0),te(Q,ue,rt,"\u22D7","\\gtrdot"),te(Q,ue,Tt,"\u22D9","\\ggg",!0),te(Q,ue,Tt,"\u2277","\\gtrless",!0),te(Q,ue,Tt,"\u22DB","\\gtreqless",!0),te(Q,ue,Tt,"\u2A8C","\\gtreqqless",!0),te(Q,ue,Tt,"\u2256","\\eqcirc",!0),te(Q,ue,Tt,"\u2257","\\circeq",!0),te(Q,ue,Tt,"\u225C","\\triangleq",!0),te(Q,ue,Tt,"\u223C","\\thicksim"),te(Q,ue,Tt,"\u2248","\\thickapprox"),te(Q,ue,Tt,"\u2AC6","\\supseteqq",!0),te(Q,ue,Tt,"\u22D1","\\Supset",!0),te(Q,ue,Tt,"\u2290","\\sqsupset",!0),te(Q,ue,Tt,"\u227D","\\succcurlyeq",!0),te(Q,ue,Tt,"\u22DF","\\curlyeqsucc",!0),te(Q,ue,Tt,"\u227F","\\succsim",!0),te(Q,ue,Tt,"\u2AB8","\\succapprox",!0),te(Q,ue,Tt,"\u22B3","\\vartriangleright"),te(Q,ue,Tt,"\u22B5","\\trianglerighteq"),te(Q,ue,Tt,"\u22A9","\\Vdash",!0),te(Q,ue,Tt,"\u2223","\\shortmid"),te(Q,ue,Tt,"\u2225","\\shortparallel"),te(Q,ue,Tt,"\u226C","\\between",!0),te(Q,ue,Tt,"\u22D4","\\pitchfork",!0),te(Q,ue,Tt,"\u221D","\\varpropto"),te(Q,ue,Tt,"\u25C0","\\blacktriangleleft"),te(Q,ue,Tt,"\u2234","\\therefore",!0),te(Q,ue,Tt,"\u220D","\\backepsilon"),te(Q,ue,Tt,"\u25B6","\\blacktriangleright"),te(Q,ue,Tt,"\u2235","\\because",!0),te(Q,ue,Tt,"\u22D8","\\llless"),te(Q,ue,Tt,"\u22D9","\\gggtr"),te(Q,ue,rt,"\u22B2","\\lhd"),te(Q,ue,rt,"\u22B3","\\rhd"),te(Q,ue,Tt,"\u2242","\\eqsim",!0),te(Q,Ce,Tt,"\u22C8","\\Join"),te(Q,ue,Tt,"\u2251","\\Doteq",!0),te(Q,ue,rt,"\u2214","\\dotplus",!0),te(Q,ue,rt,"\u2216","\\smallsetminus"),te(Q,ue,rt,"\u22D2","\\Cap",!0),te(Q,ue,rt,"\u22D3","\\Cup",!0),te(Q,ue,rt,"\u2A5E","\\doublebarwedge",!0),te(Q,ue,rt,"\u229F","\\boxminus",!0),te(Q,ue,rt,"\u229E","\\boxplus",!0),te(Q,ue,rt,"\u22C7","\\divideontimes",!0),te(Q,ue,rt,"\u22C9","\\ltimes",!0),te(Q,ue,rt,"\u22CA","\\rtimes",!0),te(Q,ue,rt,"\u22CB","\\leftthreetimes",!0),te(Q,ue,rt,"\u22CC","\\rightthreetimes",!0),te(Q,ue,rt,"\u22CF","\\curlywedge",!0),te(Q,ue,rt,"\u22CE","\\curlyvee",!0),te(Q,ue,rt,"\u229D","\\circleddash",!0),te(Q,ue,rt,"\u229B","\\circledast",!0),te(Q,ue,rt,"\u22C5","\\centerdot"),te(Q,ue,rt,"\u22BA","\\intercal",!0),te(Q,ue,rt,"\u22D2","\\doublecap"),te(Q,ue,rt,"\u22D3","\\doublecup"),te(Q,ue,rt,"\u22A0","\\boxtimes",!0),te(Q,ue,Tt,"\u21E2","\\dashrightarrow",!0),te(Q,ue,Tt,"\u21E0","\\dashleftarrow",!0),te(Q,ue,Tt,"\u21C7","\\leftleftarrows",!0),te(Q,ue,Tt,"\u21C6","\\leftrightarrows",!0),te(Q,ue,Tt,"\u21DA","\\Lleftarrow",!0),te(Q,ue,Tt,"\u219E","\\twoheadleftarrow",!0),te(Q,ue,Tt,"\u21A2","\\leftarrowtail",!0),te(Q,ue,Tt,"\u21AB","\\looparrowleft",!0),te(Q,ue,Tt,"\u21CB","\\leftrightharpoons",!0),te(Q,ue,Tt,"\u21B6","\\curvearrowleft",!0),te(Q,ue,Tt,"\u21BA","\\circlearrowleft",!0),te(Q,ue,Tt,"\u21B0","\\Lsh",!0),te(Q,ue,Tt,"\u21C8","\\upuparrows",!0),te(Q,ue,Tt,"\u21BF","\\upharpoonleft",!0),te(Q,ue,Tt,"\u21C3","\\downharpoonleft",!0),te(Q,ue,Tt,"\u22B8","\\multimap",!0),te(Q,ue,Tt,"\u21AD","\\leftrightsquigarrow",!0),te(Q,ue,Tt,"\u21C9","\\rightrightarrows",!0),te(Q,ue,Tt,"\u21C4","\\rightleftarrows",!0),te(Q,ue,Tt,"\u21A0","\\twoheadrightarrow",!0),te(Q,ue,Tt,"\u21A3","\\rightarrowtail",!0),te(Q,ue,Tt,"\u21AC","\\looparrowright",!0),te(Q,ue,Tt,"\u21B7","\\curvearrowright",!0),te(Q,ue,Tt,"\u21BB","\\circlearrowright",!0),te(Q,ue,Tt,"\u21B1","\\Rsh",!0),te(Q,ue,Tt,"\u21CA","\\downdownarrows",!0),te(Q,ue,Tt,"\u21BE","\\upharpoonright",!0),te(Q,ue,Tt,"\u21C2","\\downharpoonright",!0),te(Q,ue,Tt,"\u21DD","\\rightsquigarrow",!0),te(Q,ue,Tt,"\u21DD","\\leadsto"),te(Q,ue,Tt,"\u21DB","\\Rrightarrow",!0),te(Q,ue,Tt,"\u21BE","\\restriction"),te(Q,Ce,yt,"\u2018","`"),te(Q,Ce,yt,"$","\\$"),te(Me,Ce,yt,"$","\\$"),te(Me,Ce,yt,"$","\\textdollar"),te(Q,Ce,yt,"%","\\%"),te(Me,Ce,yt,"%","\\%"),te(Q,Ce,yt,"_","\\_"),te(Me,Ce,yt,"_","\\_"),te(Me,Ce,yt,"_","\\textunderscore"),te(Q,Ce,yt,"\u2220","\\angle",!0),te(Q,Ce,yt,"\u221E","\\infty",!0),te(Q,Ce,yt,"\u2032","\\prime"),te(Q,Ce,yt,"\u25B3","\\triangle"),te(Q,Ce,yt,"\u0393","\\Gamma",!0),te(Q,Ce,yt,"\u0394","\\Delta",!0),te(Q,Ce,yt,"\u0398","\\Theta",!0),te(Q,Ce,yt,"\u039B","\\Lambda",!0),te(Q,Ce,yt,"\u039E","\\Xi",!0),te(Q,Ce,yt,"\u03A0","\\Pi",!0),te(Q,Ce,yt,"\u03A3","\\Sigma",!0),te(Q,Ce,yt,"\u03A5","\\Upsilon",!0),te(Q,Ce,yt,"\u03A6","\\Phi",!0),te(Q,Ce,yt,"\u03A8","\\Psi",!0),te(Q,Ce,yt,"\u03A9","\\Omega",!0),te(Q,Ce,yt,"A","\u0391"),te(Q,Ce,yt,"B","\u0392"),te(Q,Ce,yt,"E","\u0395"),te(Q,Ce,yt,"Z","\u0396"),te(Q,Ce,yt,"H","\u0397"),te(Q,Ce,yt,"I","\u0399"),te(Q,Ce,yt,"K","\u039A"),te(Q,Ce,yt,"M","\u039C"),te(Q,Ce,yt,"N","\u039D"),te(Q,Ce,yt,"O","\u039F"),te(Q,Ce,yt,"P","\u03A1"),te(Q,Ce,yt,"T","\u03A4"),te(Q,Ce,yt,"X","\u03A7"),te(Q,Ce,yt,"\xAC","\\neg",!0),te(Q,Ce,yt,"\xAC","\\lnot"),te(Q,Ce,yt,"\u22A4","\\top"),te(Q,Ce,yt,"\u22A5","\\bot"),te(Q,Ce,yt,"\u2205","\\emptyset"),te(Q,ue,yt,"\u2205","\\varnothing"),te(Q,Ce,tt,"\u03B1","\\alpha",!0),te(Q,Ce,tt,"\u03B2","\\beta",!0),te(Q,Ce,tt,"\u03B3","\\gamma",!0),te(Q,Ce,tt,"\u03B4","\\delta",!0),te(Q,Ce,tt,"\u03F5","\\epsilon",!0),te(Q,Ce,tt,"\u03B6","\\zeta",!0),te(Q,Ce,tt,"\u03B7","\\eta",!0),te(Q,Ce,tt,"\u03B8","\\theta",!0),te(Q,Ce,tt,"\u03B9","\\iota",!0),te(Q,Ce,tt,"\u03BA","\\kappa",!0),te(Q,Ce,tt,"\u03BB","\\lambda",!0),te(Q,Ce,tt,"\u03BC","\\mu",!0),te(Q,Ce,tt,"\u03BD","\\nu",!0),te(Q,Ce,tt,"\u03BE","\\xi",!0),te(Q,Ce,tt,"\u03BF","\\omicron",!0),te(Q,Ce,tt,"\u03C0","\\pi",!0),te(Q,Ce,tt,"\u03C1","\\rho",!0),te(Q,Ce,tt,"\u03C3","\\sigma",!0),te(Q,Ce,tt,"\u03C4","\\tau",!0),te(Q,Ce,tt,"\u03C5","\\upsilon",!0),te(Q,Ce,tt,"\u03D5","\\phi",!0),te(Q,Ce,tt,"\u03C7","\\chi",!0),te(Q,Ce,tt,"\u03C8","\\psi",!0),te(Q,Ce,tt,"\u03C9","\\omega",!0),te(Q,Ce,tt,"\u03B5","\\varepsilon",!0),te(Q,Ce,tt,"\u03D1","\\vartheta",!0),te(Q,Ce,tt,"\u03D6","\\varpi",!0),te(Q,Ce,tt,"\u03F1","\\varrho",!0),te(Q,Ce,tt,"\u03C2","\\varsigma",!0),te(Q,Ce,tt,"\u03C6","\\varphi",!0),te(Q,Ce,rt,"\u2217","*"),te(Q,Ce,rt,"+","+"),te(Q,Ce,rt,"\u2212","-"),te(Q,Ce,rt,"\u22C5","\\cdot",!0),te(Q,Ce,rt,"\u2218","\\circ"),te(Q,Ce,rt,"\xF7","\\div",!0),te(Q,Ce,rt,"\xB1","\\pm",!0),te(Q,Ce,rt,"\xD7","\\times",!0),te(Q,Ce,rt,"\u2229","\\cap",!0),te(Q,Ce,rt,"\u222A","\\cup",!0),te(Q,Ce,rt,"\u2216","\\setminus"),te(Q,Ce,rt,"\u2227","\\land"),te(Q,Ce,rt,"\u2228","\\lor"),te(Q,Ce,rt,"\u2227","\\wedge",!0),te(Q,Ce,rt,"\u2228","\\vee",!0),te(Q,Ce,yt,"\u221A","\\surd"),te(Q,Ce,jt,"(","("),te(Q,Ce,jt,"[","["),te(Q,Ce,jt,"\u27E8","\\langle",!0),te(Q,Ce,jt,"\u2223","\\lvert"),te(Q,Ce,jt,"\u2225","\\lVert"),te(Q,Ce,Ue,")",")"),te(Q,Ce,Ue,"]","]"),te(Q,Ce,Ue,"?","?"),te(Q,Ce,Ue,"!","!"),te(Q,Ce,Ue,"\u27E9","\\rangle",!0),te(Q,Ce,Ue,"\u2223","\\rvert"),te(Q,Ce,Ue,"\u2225","\\rVert"),te(Q,Ce,Tt,"=","="),te(Q,Ce,Tt,"<","<"),te(Q,Ce,Tt,">",">"),te(Q,Ce,Tt,":",":"),te(Q,Ce,Tt,"\u2248","\\approx",!0),te(Q,Ce,Tt,"\u2245","\\cong",!0),te(Q,Ce,Tt,"\u2265","\\ge"),te(Q,Ce,Tt,"\u2265","\\geq",!0),te(Q,Ce,Tt,"\u2190","\\gets"),te(Q,Ce,Tt,">","\\gt"),te(Q,Ce,Tt,"\u2208","\\in",!0),te(Q,Ce,Tt,"\uE020","\\@not"),te(Q,Ce,Tt,"\u2282","\\subset",!0),te(Q,Ce,Tt,"\u2283","\\supset",!0),te(Q,Ce,Tt,"\u2286","\\subseteq",!0),te(Q,Ce,Tt,"\u2287","\\supseteq",!0),te(Q,ue,Tt,"\u2288","\\nsubseteq",!0),te(Q,ue,Tt,"\u2289","\\nsupseteq",!0),te(Q,Ce,Tt,"\u22A8","\\models"),te(Q,Ce,Tt,"\u2190","\\leftarrow",!0),te(Q,Ce,Tt,"\u2264","\\le"),te(Q,Ce,Tt,"\u2264","\\leq",!0),te(Q,Ce,Tt,"<","\\lt"),te(Q,Ce,Tt,"\u2192","\\rightarrow",!0),te(Q,Ce,Tt,"\u2192","\\to"),te(Q,ue,Tt,"\u2271","\\ngeq",!0),te(Q,ue,Tt,"\u2270","\\nleq",!0),te(Q,Ce,Rt,"\xA0","\\ "),te(Q,Ce,Rt,"\xA0","~"),te(Q,Ce,Rt,"\xA0","\\space"),te(Q,Ce,Rt,"\xA0","\\nobreakspace"),te(Me,Ce,Rt,"\xA0","\\ "),te(Me,Ce,Rt,"\xA0","~"),te(Me,Ce,Rt,"\xA0","\\space"),te(Me,Ce,Rt,"\xA0","\\nobreakspace"),te(Q,Ce,Rt,null,"\\nobreak"),te(Q,Ce,Rt,null,"\\allowbreak"),te(Q,Ce,Yt,",",","),te(Q,Ce,Yt,";",";"),te(Q,ue,rt,"\u22BC","\\barwedge",!0),te(Q,ue,rt,"\u22BB","\\veebar",!0),te(Q,Ce,rt,"\u2299","\\odot",!0),te(Q,Ce,rt,"\u2295","\\oplus",!0),te(Q,Ce,rt,"\u2297","\\otimes",!0),te(Q,Ce,yt,"\u2202","\\partial",!0),te(Q,Ce,rt,"\u2298","\\oslash",!0),te(Q,ue,rt,"\u229A","\\circledcirc",!0),te(Q,ue,rt,"\u22A1","\\boxdot",!0),te(Q,Ce,rt,"\u25B3","\\bigtriangleup"),te(Q,Ce,rt,"\u25BD","\\bigtriangledown"),te(Q,Ce,rt,"\u2020","\\dagger"),te(Q,Ce,rt,"\u22C4","\\diamond"),te(Q,Ce,rt,"\u22C6","\\star"),te(Q,Ce,rt,"\u25C3","\\triangleleft"),te(Q,Ce,rt,"\u25B9","\\triangleright"),te(Q,Ce,jt,"{","\\{"),te(Me,Ce,yt,"{","\\{"),te(Me,Ce,yt,"{","\\textbraceleft"),te(Q,Ce,Ue,"}","\\}"),te(Me,Ce,yt,"}","\\}"),te(Me,Ce,yt,"}","\\textbraceright"),te(Q,Ce,jt,"{","\\lbrace"),te(Q,Ce,Ue,"}","\\rbrace"),te(Q,Ce,jt,"[","\\lbrack"),te(Me,Ce,yt,"[","\\lbrack"),te(Q,Ce,Ue,"]","\\rbrack"),te(Me,Ce,yt,"]","\\rbrack"),te(Q,Ce,jt,"(","\\lparen"),te(Q,Ce,Ue,")","\\rparen"),te(Me,Ce,yt,"<","\\textless"),te(Me,Ce,yt,">","\\textgreater"),te(Q,Ce,jt,"\u230A","\\lfloor",!0),te(Q,Ce,Ue,"\u230B","\\rfloor",!0),te(Q,Ce,jt,"\u2308","\\lceil",!0),te(Q,Ce,Ue,"\u2309","\\rceil",!0),te(Q,Ce,yt,"\\","\\backslash"),te(Q,Ce,yt,"\u2223","|"),te(Q,Ce,yt,"\u2223","\\vert"),te(Me,Ce,yt,"|","\\textbar"),te(Q,Ce,yt,"\u2225","\\|"),te(Q,Ce,yt,"\u2225","\\Vert"),te(Me,Ce,yt,"\u2225","\\textbardbl"),te(Me,Ce,yt,"~","\\textasciitilde"),te(Me,Ce,yt,"\\","\\textbackslash"),te(Me,Ce,yt,"^","\\textasciicircum"),te(Q,Ce,Tt,"\u2191","\\uparrow",!0),te(Q,Ce,Tt,"\u21D1","\\Uparrow",!0),te(Q,Ce,Tt,"\u2193","\\downarrow",!0),te(Q,Ce,Tt,"\u21D3","\\Downarrow",!0),te(Q,Ce,Tt,"\u2195","\\updownarrow",!0),te(Q,Ce,Tt,"\u21D5","\\Updownarrow",!0),te(Q,Ce,Wt,"\u2210","\\coprod"),te(Q,Ce,Wt,"\u22C1","\\bigvee"),te(Q,Ce,Wt,"\u22C0","\\bigwedge"),te(Q,Ce,Wt,"\u2A04","\\biguplus"),te(Q,Ce,Wt,"\u22C2","\\bigcap"),te(Q,Ce,Wt,"\u22C3","\\bigcup"),te(Q,Ce,Wt,"\u222B","\\int"),te(Q,Ce,Wt,"\u222B","\\intop"),te(Q,Ce,Wt,"\u222C","\\iint"),te(Q,Ce,Wt,"\u222D","\\iiint"),te(Q,Ce,Wt,"\u220F","\\prod"),te(Q,Ce,Wt,"\u2211","\\sum"),te(Q,Ce,Wt,"\u2A02","\\bigotimes"),te(Q,Ce,Wt,"\u2A01","\\bigoplus"),te(Q,Ce,Wt,"\u2A00","\\bigodot"),te(Q,Ce,Wt,"\u222E","\\oint"),te(Q,Ce,Wt,"\u222F","\\oiint"),te(Q,Ce,Wt,"\u2230","\\oiiint"),te(Q,Ce,Wt,"\u2A06","\\bigsqcup"),te(Q,Ce,Wt,"\u222B","\\smallint"),te(Me,Ce,Ge,"\u2026","\\textellipsis"),te(Q,Ce,Ge,"\u2026","\\mathellipsis"),te(Me,Ce,Ge,"\u2026","\\ldots",!0),te(Q,Ce,Ge,"\u2026","\\ldots",!0),te(Q,Ce,Ge,"\u22EF","\\@cdots",!0),te(Q,Ce,Ge,"\u22F1","\\ddots",!0),te(Q,Ce,yt,"\u22EE","\\varvdots"),te(Q,Ce,ot,"\u02CA","\\acute"),te(Q,Ce,ot,"\u02CB","\\grave"),te(Q,Ce,ot,"\xA8","\\ddot"),te(Q,Ce,ot,"~","\\tilde"),te(Q,Ce,ot,"\u02C9","\\bar"),te(Q,Ce,ot,"\u02D8","\\breve"),te(Q,Ce,ot,"\u02C7","\\check"),te(Q,Ce,ot,"^","\\hat"),te(Q,Ce,ot,"\u20D7","\\vec"),te(Q,Ce,ot,"\u02D9","\\dot"),te(Q,Ce,ot,"\u02DA","\\mathring"),te(Q,Ce,tt,"\u0131","\\imath",!0),te(Q,Ce,tt,"\u0237","\\jmath",!0),te(Me,Ce,yt,"\u0131","\\i",!0),te(Me,Ce,yt,"\u0237","\\j",!0),te(Me,Ce,yt,"\xDF","\\ss",!0),te(Me,Ce,yt,"\xE6","\\ae",!0),te(Me,Ce,yt,"\xE6","\\ae",!0),te(Me,Ce,yt,"\u0153","\\oe",!0),te(Me,Ce,yt,"\xF8","\\o",!0),te(Me,Ce,yt,"\xC6","\\AE",!0),te(Me,Ce,yt,"\u0152","\\OE",!0),te(Me,Ce,yt,"\xD8","\\O",!0),te(Me,Ce,ot,"\u02CA","\\'"),te(Me,Ce,ot,"\u02CB","\\`"),te(Me,Ce,ot,"\u02C6","\\^"),te(Me,Ce,ot,"\u02DC","\\~"),te(Me,Ce,ot,"\u02C9","\\="),te(Me,Ce,ot,"\u02D8","\\u"),te(Me,Ce,ot,"\u02D9","\\."),te(Me,Ce,ot,"\u02DA","\\r"),te(Me,Ce,ot,"\u02C7","\\v"),te(Me,Ce,ot,"\xA8",'\\"'),te(Me,Ce,ot,"\u02DD","\\H"),te(Me,Ce,ot,"\u25EF","\\textcircled");var Jt={"--":!0,"---":!0,"``":!0,"''":!0};te(Me,Ce,yt,"\u2013","--"),te(Me,Ce,yt,"\u2013","\\textendash"),te(Me,Ce,yt,"\u2014","---"),te(Me,Ce,yt,"\u2014","\\textemdash"),te(Me,Ce,yt,"\u2018","`"),te(Me,Ce,yt,"\u2018","\\textquoteleft"),te(Me,Ce,yt,"\u2019","'"),te(Me,Ce,yt,"\u2019","\\textquoteright"),te(Me,Ce,yt,"\u201C","``"),te(Me,Ce,yt,"\u201C","\\textquotedblleft"),te(Me,Ce,yt,"\u201D","''"),te(Me,Ce,yt,"\u201D","\\textquotedblright"),te(Q,Ce,yt,"\xB0","\\degree",!0),te(Me,Ce,yt,"\xB0","\\degree"),te(Me,Ce,yt,"\xB0","\\textdegree",!0),te(Q,Ce,tt,"\xA3","\\pounds"),te(Q,Ce,tt,"\xA3","\\mathsterling",!0),te(Me,Ce,tt,"\xA3","\\pounds"),te(Me,Ce,tt,"\xA3","\\textsterling",!0),te(Q,ue,yt,"\u2720","\\maltese"),te(Me,ue,yt,"\u2720","\\maltese"),te(Me,Ce,Rt,"\xA0","\\ "),te(Me,Ce,Rt,"\xA0"," "),te(Me,Ce,Rt,"\xA0","~");for(var Lr='0123456789/@."',zr=0;zr<Lr.length;zr++){var rn=Lr.charAt(zr);te(Q,Ce,yt,rn,rn)}for(var ei='0123456789!@*()-=+[]<>|";:?/.,',fn=0;fn<ei.length;fn++){var Zr=ei.charAt(fn);te(Me,Ce,yt,Zr,Zr)}for(var bt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ut=0;ut<bt.length;ut++){var Oe=bt.charAt(ut);te(Q,Ce,tt,Oe,Oe),te(Me,Ce,yt,Oe,Oe)}te(Q,ue,yt,"C","\u2102"),te(Me,ue,yt,"C","\u2102"),te(Q,ue,yt,"H","\u210D"),te(Me,ue,yt,"H","\u210D"),te(Q,ue,yt,"N","\u2115"),te(Me,ue,yt,"N","\u2115"),te(Q,ue,yt,"P","\u2119"),te(Me,ue,yt,"P","\u2119"),te(Q,ue,yt,"Q","\u211A"),te(Me,ue,yt,"Q","\u211A"),te(Q,ue,yt,"R","\u211D"),te(Me,ue,yt,"R","\u211D"),te(Q,ue,yt,"Z","\u2124"),te(Me,ue,yt,"Z","\u2124"),te(Q,Ce,tt,"h","\u210E"),te(Me,Ce,tt,"h","\u210E");for(var be="",Fe=0;Fe<bt.length;Fe++){var it=bt.charAt(Fe);be=String.fromCharCode(55349,56320+Fe),te(Q,Ce,tt,it,be),te(Me,Ce,yt,it,be),be=String.fromCharCode(55349,56372+Fe),te(Q,Ce,tt,it,be),te(Me,Ce,yt,it,be),be=String.fromCharCode(55349,56424+Fe),te(Q,Ce,tt,it,be),te(Me,Ce,yt,it,be),be=String.fromCharCode(55349,56580+Fe),te(Q,Ce,tt,it,be),te(Me,Ce,yt,it,be),be=String.fromCharCode(55349,56736+Fe),te(Q,Ce,tt,it,be),te(Me,Ce,yt,it,be),be=String.fromCharCode(55349,56788+Fe),te(Q,Ce,tt,it,be),te(Me,Ce,yt,it,be),be=String.fromCharCode(55349,56840+Fe),te(Q,Ce,tt,it,be),te(Me,Ce,yt,it,be),be=String.fromCharCode(55349,56944+Fe),te(Q,Ce,tt,it,be),te(Me,Ce,yt,it,be),Fe<26&&(be=String.fromCharCode(55349,56632+Fe),te(Q,Ce,tt,it,be),te(Me,Ce,yt,it,be),be=String.fromCharCode(55349,56476+Fe),te(Q,Ce,tt,it,be),te(Me,Ce,yt,it,be))}be=String.fromCharCode(55349,56668),te(Q,Ce,tt,"k",be),te(Me,Ce,yt,"k",be);for(var wt=0;wt<10;wt++){var nr=wt.toString();be=String.fromCharCode(55349,57294+wt),te(Q,Ce,tt,nr,be),te(Me,Ce,yt,nr,be),be=String.fromCharCode(55349,57314+wt),te(Q,Ce,tt,nr,be),te(Me,Ce,yt,nr,be),be=String.fromCharCode(55349,57324+wt),te(Q,Ce,tt,nr,be),te(Me,Ce,yt,nr,be),be=String.fromCharCode(55349,57334+wt),te(Q,Ce,tt,nr,be),te(Me,Ce,yt,nr,be)}for(var sr="\xC7\xD0\xDE\xE7\xFE",Ar=0;Ar<sr.length;Ar++){var Hr=sr.charAt(Ar);te(Q,Ce,tt,Hr,Hr),te(Me,Ce,yt,Hr,Hr)}te(Me,Ce,yt,"\xF0","\xF0"),te(Me,Ce,yt,"\u2013","\u2013"),te(Me,Ce,yt,"\u2014","\u2014"),te(Me,Ce,yt,"\u2018","\u2018"),te(Me,Ce,yt,"\u2019","\u2019"),te(Me,Ce,yt,"\u201C","\u201C"),te(Me,Ce,yt,"\u201D","\u201D");var $r=[["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"]],Ot=function(ce,ve){var Ie=ce.charCodeAt(0),Ke=ce.charCodeAt(1),mt=(Ie-55296)*1024+(Ke-56320)+65536,Pt=ve==="math"?0:1;if(119808<=mt&&mt<120484){var lr=Math.floor((mt-119808)/26);return[$r[lr][2],$r[lr][Pt]]}else if(120782<=mt&&mt<=120831){var yr=Math.floor((mt-120782)/10);return[Qt[yr][2],Qt[yr][Pt]]}else{if(mt===120485||mt===120486)return[$r[0][2],$r[0][Pt]];if(120486<mt&&mt<120782)return["",""];throw new u("Unsupported character: "+ce)}},Ft=[[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]],pr=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Rr=function(ce,ve){return ve.size<2?ce:Ft[ce-1][ve.size-1]},Pr=function(){function gt(ve){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=ve.style,this.color=ve.color,this.size=ve.size||gt.BASESIZE,this.textSize=ve.textSize||this.size,this.phantom=!!ve.phantom,this.font=ve.font||"",this.fontFamily=ve.fontFamily||"",this.fontWeight=ve.fontWeight||"",this.fontShape=ve.fontShape||"",this.sizeMultiplier=pr[this.size-1],this.maxSize=ve.maxSize,this.minRuleThickness=ve.minRuleThickness,this._fontMetrics=void 0}var ce=gt.prototype;return ce.extend=function(Ie){var Ke={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 mt in Ie)Ie.hasOwnProperty(mt)&&(Ke[mt]=Ie[mt]);return new gt(Ke)},ce.havingStyle=function(Ie){return this.style===Ie?this:this.extend({style:Ie,size:Rr(this.textSize,Ie)})},ce.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},ce.havingSize=function(Ie){return this.size===Ie&&this.textSize===Ie?this:this.extend({style:this.style.text(),size:Ie,textSize:Ie,sizeMultiplier:pr[Ie-1]})},ce.havingBaseStyle=function(Ie){Ie=Ie||this.style.text();var Ke=Rr(gt.BASESIZE,Ie);return this.size===Ke&&this.textSize===gt.BASESIZE&&this.style===Ie?this:this.extend({style:Ie,size:Ke})},ce.havingBaseSizing=function(){var Ie;switch(this.style.id){case 4:case 5:Ie=3;break;case 6:case 7:Ie=1;break;default:Ie=6}return this.extend({style:this.style.text(),size:Ie})},ce.withColor=function(Ie){return this.extend({color:Ie})},ce.withPhantom=function(){return this.extend({phantom:!0})},ce.withFont=function(Ie){return this.extend({font:Ie})},ce.withTextFontFamily=function(Ie){return this.extend({fontFamily:Ie,font:""})},ce.withTextFontWeight=function(Ie){return this.extend({fontWeight:Ie,font:""})},ce.withTextFontShape=function(Ie){return this.extend({fontShape:Ie,font:""})},ce.sizingClasses=function(Ie){return Ie.size!==this.size?["sizing","reset-size"+Ie.size,"size"+this.size]:[]},ce.baseSizingClasses=function(){return this.size!==gt.BASESIZE?["sizing","reset-size"+this.size,"size"+gt.BASESIZE]:[]},ce.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=It(this.size)),this._fontMetrics},ce.getColor=function(){return this.phantom?"transparent":this.color},gt}();Pr.BASESIZE=6;var an=Pr,Xt={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},hr={ex:!0,em:!0,mu:!0},Tr=function(ce){return typeof ce!="string"&&(ce=ce.unit),ce in Xt||ce in hr||ce==="ex"},Wr=function(ce,ve){var Ie;if(ce.unit in Xt)Ie=Xt[ce.unit]/ve.fontMetrics().ptPerEm/ve.sizeMultiplier;else if(ce.unit==="mu")Ie=ve.fontMetrics().cssEmPerMu;else{var Ke;if(ve.style.isTight()?Ke=ve.havingStyle(ve.style.text()):Ke=ve,ce.unit==="ex")Ie=Ke.fontMetrics().xHeight;else if(ce.unit==="em")Ie=Ke.fontMetrics().quad;else throw new u("Invalid unit: '"+ce.unit+"'");Ke!==ve&&(Ie*=Ke.sizeMultiplier/ve.sizeMultiplier)}return Math.min(ce.number*Ie,ve.maxSize)},Gr=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Tn=function(ce,ve,Ie){return Qe[Ie][ce]&&Qe[Ie][ce].replace&&(ce=Qe[Ie][ce].replace),{value:ce,metrics:Ye(ce,ve,Ie)}},gn=function(ce,ve,Ie,Ke,mt){var Pt=Tn(ce,ve,Ie),lr=Pt.metrics;ce=Pt.value;var yr;if(lr){var kr=lr.italic;(Ie==="text"||Ke&&Ke.font==="mathit")&&(kr=0),yr=new Se(ce,lr.height,lr.depth,kr,lr.skew,lr.width,mt)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+ce+"' in style '"+ve+"' and mode '"+Ie+"'")),yr=new Se(ce,0,0,0,0,0,mt);if(Ke){yr.maxFontSize=Ke.sizeMultiplier,Ke.style.isTight()&&yr.classes.push("mtight");var ln=Ke.getColor();ln&&(yr.style.color=ln)}return yr},In=function(ce,ve,Ie,Ke){return Ke===void 0&&(Ke=[]),Ie.font==="boldsymbol"&&Tn(ce,"Main-Bold",ve).metrics?gn(ce,"Main-Bold",ve,Ie,Ke.concat(["mathbf"])):ce==="\\"||Qe[ve][ce].font==="main"?gn(ce,"Main-Regular",ve,Ie,Ke):gn(ce,"AMS-Regular",ve,Ie,Ke.concat(["amsrm"]))},Fn=function(ce,ve,Ie,Ke){return/[0-9]/.test(ce.charAt(0))||m.contains(Gr,ce)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Xn=function(ce,ve,Ie,Ke){return m.contains(Gr,ce)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(ce.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},fi=function(ce,ve,Ie,Ke){return Tn(ce,"Math-BoldItalic",ve).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},pi=function(ce,ve,Ie){var Ke=ce.mode,mt=ce.text,Pt=["mord"],lr=Ke==="math"||Ke==="text"&&ve.font,yr=lr?ve.font:ve.fontFamily;if(mt.charCodeAt(0)===55349){var kr=Ot(mt,Ke),ln=kr[0],En=kr[1];return gn(mt,ln,Ke,ve,Pt.concat(En))}else if(yr){var oi,yi;if(yr==="boldsymbol"||yr==="mathnormal"){var Ti=yr==="boldsymbol"?fi(mt,Ke,ve,Pt):Xn(mt,Ke,ve,Pt);oi=Ti.fontName,yi=[Ti.fontClass]}else m.contains(Gr,mt)?(oi="Main-Italic",yi=["mathit"]):lr?(oi=cr[yr].fontName,yi=[yr]):(oi=er(yr,ve.fontWeight,ve.fontShape),yi=[yr,ve.fontWeight,ve.fontShape]);if(Tn(mt,oi,Ke).metrics)return gn(mt,oi,Ke,ve,Pt.concat(yi));if(Jt.hasOwnProperty(mt)&&oi.substr(0,10)==="Typewriter"){for(var ji=[],na=0;na<mt.length;na++)ji.push(gn(mt[na],oi,Ke,ve,Pt.concat(yi)));return Ze(ji)}}if(Ie==="mathord"){var Pa=Fn(mt,Ke,ve,Pt);return gn(mt,Pa.fontName,Ke,ve,Pt.concat([Pa.fontClass]))}else if(Ie==="textord"){var Va=Qe[Ke][mt]&&Qe[Ke][mt].font;if(Va==="ams"){var Qa=er("amsrm",ve.fontWeight,ve.fontShape);return gn(mt,Qa,Ke,ve,Pt.concat("amsrm",ve.fontWeight,ve.fontShape))}else if(Va==="main"||!Va){var To=er("textrm",ve.fontWeight,ve.fontShape);return gn(mt,To,Ke,ve,Pt.concat(ve.fontWeight,ve.fontShape))}else{var eo=er(Va,ve.fontWeight,ve.fontShape);return gn(mt,eo,Ke,ve,Pt.concat(eo,ve.fontWeight,ve.fontShape))}}else throw new Error("unexpected type: "+Ie+" in makeOrd")},bi=function(ce,ve){if(Ee(ce.classes)!==Ee(ve.classes)||ce.skew!==ve.skew||ce.maxFontSize!==ve.maxFontSize)return!1;for(var Ie in ce.style)if(ce.style.hasOwnProperty(Ie)&&ce.style[Ie]!==ve.style[Ie])return!1;for(var Ke in ve.style)if(ve.style.hasOwnProperty(Ke)&&ce.style[Ke]!==ve.style[Ke])return!1;return!0},et=function(ce){for(var ve=0;ve<ce.length-1;ve++){var Ie=ce[ve],Ke=ce[ve+1];Ie instanceof Se&&Ke instanceof Se&&bi(Ie,Ke)&&(Ie.text+=Ke.text,Ie.height=Math.max(Ie.height,Ke.height),Ie.depth=Math.max(Ie.depth,Ke.depth),Ie.italic=Ke.italic,ce.splice(ve+1,1),ve--)}return ce},Le=function(ce){for(var ve=0,Ie=0,Ke=0,mt=0;mt<ce.children.length;mt++){var Pt=ce.children[mt];Pt.height>ve&&(ve=Pt.height),Pt.depth>Ie&&(Ie=Pt.depth),Pt.maxFontSize>Ke&&(Ke=Pt.maxFontSize)}ce.height=ve,ce.depth=Ie,ce.maxFontSize=Ke},Pe=function(ce,ve,Ie,Ke){var mt=new X(ce,ve,Ie,Ke);return Le(mt),mt},je=function(ce,ve,Ie,Ke){return new X(ce,ve,Ie,Ke)},Je=function(ce,ve,Ie){var Ke=Pe([ce],[],ve);return Ke.height=Math.max(Ie||ve.fontMetrics().defaultRuleThickness,ve.minRuleThickness),Ke.style.borderBottomWidth=Ke.height+"em",Ke.maxFontSize=1,Ke},Ve=function(ce,ve,Ie,Ke){var mt=new Z(ce,ve,Ie,Ke);return Le(mt),mt},Ze=function(ce){var ve=new J(ce);return Le(ve),ve},At=function(ce,ve){return ce instanceof J?Pe([],[ce],ve):ce},dt=function(ce){if(ce.positionType==="individualShift"){for(var ve=ce.children,Ie=[ve[0]],Ke=-ve[0].shift-ve[0].elem.depth,mt=Ke,Pt=1;Pt<ve.length;Pt++){var lr=-ve[Pt].shift-mt-ve[Pt].elem.depth,yr=lr-(ve[Pt-1].elem.height+ve[Pt-1].elem.depth);mt=mt+lr,Ie.push({type:"kern",size:yr}),Ie.push(ve[Pt])}return{children:Ie,depth:Ke}}var kr;if(ce.positionType==="top"){for(var ln=ce.positionData,En=0;En<ce.children.length;En++){var oi=ce.children[En];ln-=oi.type==="kern"?oi.size:oi.elem.height+oi.elem.depth}kr=ln}else if(ce.positionType==="bottom")kr=-ce.positionData;else{var yi=ce.children[0];if(yi.type!=="elem")throw new Error('First child must have type "elem".');if(ce.positionType==="shift")kr=-yi.elem.depth-ce.positionData;else if(ce.positionType==="firstBaseline")kr=-yi.elem.depth;else throw new Error("Invalid positionType "+ce.positionType+".")}return{children:ce.children,depth:kr}},Kt=function(ce,ve){for(var Ie=dt(ce),Ke=Ie.children,mt=Ie.depth,Pt=0,lr=0;lr<Ke.length;lr++){var yr=Ke[lr];if(yr.type==="elem"){var kr=yr.elem;Pt=Math.max(Pt,kr.maxFontSize,kr.height)}}Pt+=2;var ln=Pe(["pstrut"],[]);ln.style.height=Pt+"em";for(var En=[],oi=mt,yi=mt,Ti=mt,ji=0;ji<Ke.length;ji++){var na=Ke[ji];if(na.type==="kern")Ti+=na.size;else{var Pa=na.elem,Va=na.wrapperClasses||[],Qa=na.wrapperStyle||{},To=Pe(Va,[ln,Pa],void 0,Qa);To.style.top=-Pt-Ti-Pa.depth+"em",na.marginLeft&&(To.style.marginLeft=na.marginLeft),na.marginRight&&(To.style.marginRight=na.marginRight),En.push(To),Ti+=Pa.height+Pa.depth}oi=Math.min(oi,Ti),yi=Math.max(yi,Ti)}var eo=Pe(["vlist"],En);eo.style.height=yi+"em";var Io;if(oi<0){var Ha=Pe([],[]),Oo=Pe(["vlist"],[Ha]);Oo.style.height=-oi+"em";var is=Pe(["vlist-s"],[new Se("\u200B")]);Io=[Pe(["vlist-r"],[eo,is]),Pe(["vlist-r"],[Oo])]}else Io=[Pe(["vlist-r"],[eo])];var mo=Pe(["vlist-t"],Io);return Io.length===2&&mo.classes.push("vlist-t2"),mo.height=yi,mo.depth=-oi,mo},$t=function(ce,ve){var Ie=Pe(["mspace"],[],ve),Ke=Wr(ce,ve);return Ie.style.marginRight=Ke+"em",Ie},er=function(ce,ve,Ie){var Ke="";switch(ce){case"amsrm":Ke="AMS";break;case"textrm":Ke="Main";break;case"textsf":Ke="SansSerif";break;case"texttt":Ke="Typewriter";break;default:Ke=ce}var mt;return ve==="textbf"&&Ie==="textit"?mt="BoldItalic":ve==="textbf"?mt="Bold":ve==="textit"?mt="Italic":mt="Regular",Ke+"-"+mt},cr={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"}},Ct={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Nr=function(ce,ve){var Ie=Ct[ce],Ke=Ie[0],mt=Ie[1],Pt=Ie[2],lr=new $(Ke),yr=new me([lr],{width:mt+"em",height:Pt+"em",style:"width:"+mt+"em",viewBox:"0 0 "+1e3*mt+" "+1e3*Pt,preserveAspectRatio:"xMinYMin"}),kr=je(["overlay"],[yr],ve);return kr.height=Pt,kr.style.height=Pt+"em",kr.style.width=mt+"em",kr},Zt={fontMap:cr,makeSymbol:gn,mathsym:In,makeSpan:Pe,makeSvgSpan:je,makeLineSpan:Je,makeAnchor:Ve,makeFragment:Ze,wrapFragment:At,makeVList:Kt,makeOrd:pi,makeGlue:$t,staticSvg:Nr,svgData:Ct,tryCombineChars:et};function Ir(gt,ce){var ve=xr(gt,ce);if(!ve)throw new Error("Expected node of type "+ce+", but got "+(gt?"node of type "+gt.type:String(gt)));return ve}function xr(gt,ce){return gt&&gt.type===ce?gt:null}function ur(gt,ce){var ve=on(gt,ce);if(!ve)throw new Error('Expected node of type "atom" and family "'+ce+'", but got '+(gt?gt.type==="atom"?"atom of family "+gt.family:"node of type "+gt.type:String(gt)));return ve}function on(gt,ce){return gt&&gt.type==="atom"&&gt.family===ce?gt:null}function Yn(gt){var ce=Vn(gt);if(!ce)throw new Error("Expected node of symbol group type, but got "+(gt?"node of type "+gt.type:String(gt)));return ce}function Vn(gt){return gt&&(gt.type==="atom"||xt.hasOwnProperty(gt.type))?gt:null}var Wn={number:3,unit:"mu"},jn={number:4,unit:"mu"},Gn={number:5,unit:"mu"},Nn={mord:{mop:Wn,mbin:jn,mrel:Gn,minner:Wn},mop:{mord:Wn,mop:Wn,mrel:Gn,minner:Wn},mbin:{mord:jn,mop:jn,mopen:jn,minner:jn},mrel:{mord:Gn,mop:Gn,mopen:Gn,minner:Gn},mopen:{},mclose:{mop:Wn,mbin:jn,mrel:Gn,minner:Wn},mpunct:{mord:Wn,mop:Wn,mrel:Gn,mopen:Wn,mclose:Wn,mpunct:Wn,minner:Wn},minner:{mord:Wn,mop:Wn,mbin:jn,mrel:Gn,mopen:Wn,mpunct:Wn,minner:Wn}},mi={mord:{mop:Wn},mop:{mord:Wn,mop:Wn},mbin:{},mrel:{},mopen:{},mclose:{mop:Wn},mpunct:{},minner:{mop:Wn}},en={},Kr={},dn={};function Vr(gt){for(var ce=gt.type,ve=gt.names,Ie=gt.props,Ke=gt.handler,mt=gt.htmlBuilder,Pt=gt.mathmlBuilder,lr={type:ce,numArgs:Ie.numArgs,argTypes:Ie.argTypes,greediness:Ie.greediness===void 0?1:Ie.greediness,allowedInText:!!Ie.allowedInText,allowedInMath:Ie.allowedInMath===void 0?!0:Ie.allowedInMath,numOptionalArgs:Ie.numOptionalArgs||0,infix:!!Ie.infix,handler:Ke},yr=0;yr<ve.length;++yr)en[ve[yr]]=lr;ce&&(mt&&(Kr[ce]=mt),Pt&&(dn[ce]=Pt))}function ni(gt){var ce=gt.type,ve=gt.htmlBuilder,Ie=gt.mathmlBuilder;Vr({type:ce,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:ve,mathmlBuilder:Ie})}var Hn=function(ce){var ve=xr(ce,"ordgroup");return ve?ve.body:[ce]},Kn=Zt.makeSpan,bn=["leftmost","mbin","mopen","mrel","mop","mpunct"],wi=["rightmost","mrel","mclose","mpunct"],si={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT},Oi={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},qr=function(ce,ve,Ie,Ke){Ke===void 0&&(Ke=[null,null]);for(var mt=[],Pt=0;Pt<ce.length;Pt++){var lr=ti(ce[Pt],ve);if(lr instanceof J){var yr=lr.children;mt.push.apply(mt,yr)}else mt.push(lr)}if(!Ie)return mt;var kr=ve;if(ce.length===1){var ln=xr(ce[0],"sizing")||xr(ce[0],"styling");ln&&(ln.type==="sizing"?kr=ve.havingSize(ln.size):ln.type==="styling"&&(kr=ve.havingStyle(si[ln.style])))}var En=Kn([Ke[0]||"leftmost"],[],ve),oi=Kn([Ke[1]||"rightmost"],[],ve);return Sr(mt,function(yi,Ti){var ji=Ti.classes[0],na=yi.classes[0];ji==="mbin"&&m.contains(wi,na)?Ti.classes[0]="mord":na==="mbin"&&m.contains(bn,ji)&&(yi.classes[0]="mord")},{node:En},oi),Sr(mt,function(yi,Ti){var ji=On(Ti),na=On(yi),Pa=ji&&na?yi.hasClass("mtight")?mi[ji][na]:Nn[ji][na]:null;if(Pa)return Zt.makeGlue(Pa,kr)},{node:En},oi),mt},Sr=function gt(ce,ve,Ie,Ke){Ke&&ce.push(Ke);for(var mt=0;mt<ce.length;mt++){var Pt=ce[mt],lr=sn(Pt);if(lr){gt(lr.children,ve,Ie);continue}if(Pt.classes[0]==="mspace")continue;var yr=ve(Pt,Ie.node);yr&&(Ie.insertAfter?Ie.insertAfter(yr):(ce.unshift(yr),mt++)),Ie.node=Pt,Ie.insertAfter=function(kr){return function(ln){ce.splice(kr+1,0,ln),mt++}}(mt)}Ke&&ce.pop()},sn=function(ce){return ce instanceof J||ce instanceof Z?ce:null},yn=function gt(ce,ve){var Ie=sn(ce);if(Ie){var Ke=Ie.children;if(Ke.length){if(ve==="right")return gt(Ke[Ke.length-1],"right");if(ve==="left")return gt(Ke[0],"left")}}return ce},On=function(ce,ve){return ce?(ve&&(ce=yn(ce,ve)),Oi[ce.classes[0]]||null):null},Pn=function(ce,ve){var Ie=["nulldelimiter"].concat(ce.baseSizingClasses());return Kn(ve.concat(Ie))},ti=function(ce,ve,Ie){if(!ce)return Kn();if(Kr[ce.type]){var Ke=Kr[ce.type](ce,ve);if(Ie&&ve.size!==Ie.size){Ke=Kn(ve.sizingClasses(Ie),[Ke],ve);var mt=ve.sizeMultiplier/Ie.sizeMultiplier;Ke.height*=mt,Ke.depth*=mt}return Ke}else throw new u("Got group of unknown type: '"+ce.type+"'")};function ai(gt,ce){var ve=Kn(["base"],gt,ce),Ie=Kn(["strut"]);return Ie.style.height=ve.height+ve.depth+"em",Ie.style.verticalAlign=-ve.depth+"em",ve.children.unshift(Ie),ve}function qn(gt,ce){var ve=null;gt.length===1&&gt[0].type==="tag"&&(ve=gt[0].tag,gt=gt[0].body);for(var Ie=qr(gt,ce,!0),Ke=[],mt=[],Pt=0;Pt<Ie.length;Pt++)if(mt.push(Ie[Pt]),Ie[Pt].hasClass("mbin")||Ie[Pt].hasClass("mrel")||Ie[Pt].hasClass("allowbreak")){for(var lr=!1;Pt<Ie.length-1&&Ie[Pt+1].hasClass("mspace")&&!Ie[Pt+1].hasClass("newline");)Pt++,mt.push(Ie[Pt]),Ie[Pt].hasClass("nobreak")&&(lr=!0);lr||(Ke.push(ai(mt,ce)),mt=[])}else Ie[Pt].hasClass("newline")&&(mt.pop(),mt.length>0&&(Ke.push(ai(mt,ce)),mt=[]),Ke.push(Ie[Pt]));mt.length>0&&Ke.push(ai(mt,ce));var yr;ve&&(yr=ai(qr(ve,ce,!0)),yr.classes=["tag"],Ke.push(yr));var kr=Kn(["katex-html"],Ke);if(kr.setAttribute("aria-hidden","true"),yr){var ln=yr.children[0];ln.style.height=kr.height+kr.depth+"em",ln.style.verticalAlign=-kr.depth+"em"}return kr}function xi(gt){return new J(gt)}var Pi=function(){function gt(ve,Ie){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=ve,this.attributes={},this.children=Ie||[]}var ce=gt.prototype;return ce.setAttribute=function(Ie,Ke){this.attributes[Ie]=Ke},ce.getAttribute=function(Ie){return this.attributes[Ie]},ce.toNode=function(){var Ie=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Ke in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ke)&&Ie.setAttribute(Ke,this.attributes[Ke]);for(var mt=0;mt<this.children.length;mt++)Ie.appendChild(this.children[mt].toNode());return Ie},ce.toMarkup=function(){var Ie="<"+this.type;for(var Ke in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ke)&&(Ie+=" "+Ke+'="',Ie+=m.escape(this.attributes[Ke]),Ie+='"');Ie+=">";for(var mt=0;mt<this.children.length;mt++)Ie+=this.children[mt].toMarkup();return Ie+="</"+this.type+">",Ie},ce.toText=function(){return this.children.map(function(Ie){return Ie.toText()}).join("")},gt}(),ki=function(){function gt(ve){this.text=void 0,this.text=ve}var ce=gt.prototype;return ce.toNode=function(){return document.createTextNode(this.text)},ce.toMarkup=function(){return m.escape(this.toText())},ce.toText=function(){return this.text},gt}(),ja=function(){function gt(ve){this.width=void 0,this.character=void 0,this.width=ve,ve>=.05555&&ve<=.05556?this.character="\u200A":ve>=.1666&&ve<=.1667?this.character="\u2009":ve>=.2222&&ve<=.2223?this.character="\u2005":ve>=.2777&&ve<=.2778?this.character="\u2005\u200A":ve>=-.05556&&ve<=-.05555?this.character="\u200A\u2063":ve>=-.1667&&ve<=-.1666?this.character="\u2009\u2063":ve>=-.2223&&ve<=-.2222?this.character="\u205F\u2063":ve>=-.2778&&ve<=-.2777?this.character="\u2005\u2063":this.character=null}var ce=gt.prototype;return ce.toNode=function(){if(this.character)return document.createTextNode(this.character);var Ie=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Ie.setAttribute("width",this.width+"em"),Ie},ce.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},ce.toText=function(){return this.character?this.character:" "},gt}(),ri={MathNode:Pi,TextNode:ki,SpaceNode:ja,newDocumentFragment:xi},pt=function(ce,ve,Ie){return Qe[ve][ce]&&Qe[ve][ce].replace&&ce.charCodeAt(0)!==55349&&!(Jt.hasOwnProperty(ce)&&Ie&&(Ie.fontFamily&&Ie.fontFamily.substr(4,2)==="tt"||Ie.font&&Ie.font.substr(4,2)==="tt"))&&(ce=Qe[ve][ce].replace),new ri.TextNode(ce)},gr=function(ce){return ce.length===1?ce[0]:new ri.MathNode("mrow",ce)},_r=function(ce,ve){if(ve.fontFamily==="texttt")return"monospace";if(ve.fontFamily==="textsf")return ve.fontShape==="textit"&&ve.fontWeight==="textbf"?"sans-serif-bold-italic":ve.fontShape==="textit"?"sans-serif-italic":ve.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(ve.fontShape==="textit"&&ve.fontWeight==="textbf")return"bold-italic";if(ve.fontShape==="textit")return"italic";if(ve.fontWeight==="textbf")return"bold";var Ie=ve.font;if(!Ie||Ie==="mathnormal")return null;var Ke=ce.mode;if(Ie==="mathit")return"italic";if(Ie==="boldsymbol")return"bold-italic";if(Ie==="mathbf")return"bold";if(Ie==="mathbb")return"double-struck";if(Ie==="mathfrak")return"fraktur";if(Ie==="mathscr"||Ie==="mathcal")return"script";if(Ie==="mathsf")return"sans-serif";if(Ie==="mathtt")return"monospace";var mt=ce.text;if(m.contains(["\\imath","\\jmath"],mt))return null;Qe[Ke][mt]&&Qe[Ke][mt].replace&&(mt=Qe[Ke][mt].replace);var Pt=Zt.fontMap[Ie].fontName;return Ye(mt,Pt,Ke)?Zt.fontMap[Ie].variant:null},Dr=function(ce,ve,Ie){if(ce.length===1){var Ke=Br(ce[0],ve);return Ie&&Ke instanceof Pi&&Ke.type==="mo"&&(Ke.setAttribute("lspace","0em"),Ke.setAttribute("rspace","0em")),[Ke]}for(var mt=[],Pt,lr=0;lr<ce.length;lr++){var yr=Br(ce[lr],ve);if(yr instanceof Pi&&Pt instanceof Pi){if(yr.type==="mtext"&&Pt.type==="mtext"&&yr.getAttribute("mathvariant")===Pt.getAttribute("mathvariant")){var kr;(kr=Pt.children).push.apply(kr,yr.children);continue}else if(yr.type==="mn"&&Pt.type==="mn"){var ln;(ln=Pt.children).push.apply(ln,yr.children);continue}else if(yr.type==="mi"&&yr.children.length===1&&Pt.type==="mn"){var En=yr.children[0];if(En instanceof ki&&En.text==="."){var oi;(oi=Pt.children).push.apply(oi,yr.children);continue}}else if(Pt.type==="mi"&&Pt.children.length===1){var yi=Pt.children[0];if(yi instanceof ki&&yi.text==="\u0338"&&(yr.type==="mo"||yr.type==="mi"||yr.type==="mn")){var Ti=yr.children[0];Ti instanceof ki&&Ti.text.length>0&&(Ti.text=Ti.text.slice(0,1)+"\u0338"+Ti.text.slice(1),mt.pop())}}}mt.push(yr),Pt=yr}return mt},tn=function(ce,ve,Ie){return gr(Dr(ce,ve,Ie))},Br=function(ce,ve){if(!ce)return new ri.MathNode("mrow");if(dn[ce.type]){var Ie=dn[ce.type](ce,ve);return Ie}else throw new u("Got group of unknown type: '"+ce.type+"'")};function wn(gt,ce,ve,Ie){var Ke=Dr(gt,ve),mt;Ke.length===1&&Ke[0]instanceof Pi&&m.contains(["mrow","mtable"],Ke[0].type)?mt=Ke[0]:mt=new ri.MathNode("mrow",Ke);var Pt=new ri.MathNode("annotation",[new ri.TextNode(ce)]);Pt.setAttribute("encoding","application/x-tex");var lr=new ri.MathNode("semantics",[mt,Pt]),yr=new ri.MathNode("math",[lr]);yr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var kr=Ie?"katex":"katex-mathml";return Zt.makeSpan([kr],[yr])}var mn=function(ce){return new an({style:ce.displayMode?K.DISPLAY:K.TEXT,maxSize:ce.maxSize,minRuleThickness:ce.minRuleThickness})},_n=function(ce,ve){if(ve.displayMode){var Ie=["katex-display"];ve.leqno&&Ie.push("leqno"),ve.fleqn&&Ie.push("fleqn"),ce=Zt.makeSpan(Ie,[ce])}return ce},hi=function(ce,ve,Ie){var Ke=mn(Ie),mt;if(Ie.output==="mathml")return wn(ce,ve,Ke,!0);if(Ie.output==="html"){var Pt=qn(ce,Ke);mt=Zt.makeSpan(["katex"],[Pt])}else{var lr=wn(ce,ve,Ke,!1),yr=qn(ce,Ke);mt=Zt.makeSpan(["katex"],[lr,yr])}return _n(mt,Ie)},li=function(ce,ve,Ie){var Ke=mn(Ie),mt=qn(ce,Ke),Pt=Zt.makeSpan(["katex"],[mt]);return _n(Pt,Ie)},Zn=hi,$e={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"},kt=function(ce){var ve=new ri.MathNode("mo",[new ri.TextNode($e[ce.substr(1)])]);return ve.setAttribute("stretchy","true"),ve},or={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]},tr=function(ce){return ce.type==="ordgroup"?ce.body.length:1},Or=function(ce,ve){function Ie(){var yr=4e5,kr=ce.label.substr(1);if(m.contains(["widehat","widecheck","widetilde","utilde"],kr)){var ln=ce,En=tr(ln.base),oi,yi,Ti;if(En>5)kr==="widehat"||kr==="widecheck"?(oi=420,yr=2364,Ti=.42,yi=kr+"4"):(oi=312,yr=2340,Ti=.34,yi="tilde4");else{var ji=[1,1,2,2,3,3][En];kr==="widehat"||kr==="widecheck"?(yr=[0,1062,2364,2364,2364][ji],oi=[0,239,300,360,420][ji],Ti=[0,.24,.3,.3,.36,.42][ji],yi=kr+ji):(yr=[0,600,1033,2339,2340][ji],oi=[0,260,286,306,312][ji],Ti=[0,.26,.286,.3,.306,.34][ji],yi="tilde"+ji)}var na=new $(yi),Pa=new me([na],{width:"100%",height:Ti+"em",viewBox:"0 0 "+yr+" "+oi,preserveAspectRatio:"none"});return{span:Zt.makeSvgSpan([],[Pa],ve),minWidth:0,height:Ti}}else{var Va=[],Qa=or[kr],To=Qa[0],eo=Qa[1],Io=Qa[2],Ha=Io/1e3,Oo=To.length,is,mo;if(Oo===1){var go=Qa[3];is=["hide-tail"],mo=[go]}else if(Oo===2)is=["halfarrow-left","halfarrow-right"],mo=["xMinYMin","xMaxYMin"];else if(Oo===3)is=["brace-left","brace-center","brace-right"],mo=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Oo+" children.");for(var ss=0;ss<Oo;ss++){var ys=new $(To[ss]),Yo=new me([ys],{width:"400em",height:Ha+"em",viewBox:"0 0 "+yr+" "+Io,preserveAspectRatio:mo[ss]+" slice"}),So=Zt.makeSvgSpan([is[ss]],[Yo],ve);if(Oo===1)return{span:So,minWidth:eo,height:Ha};So.style.height=Ha+"em",Va.push(So)}return{span:Zt.makeSpan(["stretchy"],Va,ve),minWidth:eo,height:Ha}}}var Ke=Ie(),mt=Ke.span,Pt=Ke.minWidth,lr=Ke.height;return mt.height=lr,mt.style.height=lr+"em",Pt>0&&(mt.style.minWidth=Pt+"em"),mt},wr=function(ce,ve,Ie,Ke){var mt,Pt=ce.height+ce.depth+2*Ie;if(/fbox|color/.test(ve)){if(mt=Zt.makeSpan(["stretchy",ve],[],Ke),ve==="fbox"){var lr=Ke.color&&Ke.getColor();lr&&(mt.style.borderColor=lr)}}else{var yr=[];/^[bx]cancel$/.test(ve)&&yr.push(new we({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(ve)&&yr.push(new we({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var kr=new me(yr,{width:"100%",height:Pt+"em"});mt=Zt.makeSvgSpan([],[kr],Ke)}return mt.height=Pt,mt.style.height=Pt+"em",mt},Xr={encloseSpan:wr,mathMLnode:kt,svgSpan:Or},Qr=function(ce,ve){var Ie,Ke,mt=xr(ce,"supsub"),Pt;mt?(Ke=Ir(mt.base,"accent"),Ie=Ke.base,mt.base=Ie,Pt=We(ti(mt,ve)),mt.base=Ke):(Ke=Ir(ce,"accent"),Ie=Ke.base);var lr=ti(Ie,ve.havingCrampedStyle()),yr=Ke.isShifty&&m.isCharacterBox(Ie),kr=0;if(yr){var ln=m.getBaseElem(Ie),En=ti(ln,ve.havingCrampedStyle());kr=xe(En).skew}var oi=Math.min(lr.height,ve.fontMetrics().xHeight),yi;if(Ke.isStretchy)yi=Xr.svgSpan(Ke,ve),yi=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:lr},{type:"elem",elem:yi,wrapperClasses:["svg-align"],wrapperStyle:kr>0?{width:"calc(100% - "+2*kr+"em)",marginLeft:2*kr+"em"}:void 0}]},ve);else{var Ti,ji;Ke.label==="\\vec"?(Ti=Zt.staticSvg("vec",ve),ji=Zt.svgData.vec[1]):(Ti=Zt.makeOrd({mode:Ke.mode,text:Ke.label},ve,"textord"),Ti=xe(Ti),Ti.italic=0,ji=Ti.width),yi=Zt.makeSpan(["accent-body"],[Ti]);var na=Ke.label==="\\textcircled";na&&(yi.classes.push("accent-full"),oi=lr.height);var Pa=kr;na||(Pa-=ji/2),yi.style.left=Pa+"em",Ke.label==="\\textcircled"&&(yi.style.top=".2em"),yi=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:lr},{type:"kern",size:-oi},{type:"elem",elem:yi}]},ve)}var Va=Zt.makeSpan(["mord","accent"],[yi],ve);return Pt?(Pt.children[0]=Va,Pt.height=Math.max(Va.height,Pt.height),Pt.classes[0]="mord",Pt):Va},cn=function(ce,ve){var Ie=ce.isStretchy?Xr.mathMLnode(ce.label):new ri.MathNode("mo",[pt(ce.label,ce.mode)]),Ke=new ri.MathNode("mover",[Br(ce.base,ve),Ie]);return Ke.setAttribute("accent","true"),Ke},Ln=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(gt){return"\\"+gt}).join("|"));Vr({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,ve){var Ie=ve[0],Ke=!Ln.test(ce.funcName),mt=!Ke||ce.funcName==="\\widehat"||ce.funcName==="\\widetilde"||ce.funcName==="\\widecheck";return{type:"accent",mode:ce.parser.mode,label:ce.funcName,isStretchy:Ke,isShifty:mt,base:Ie}},htmlBuilder:Qr,mathmlBuilder:cn}),Vr({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(ce,ve){var Ie=ve[0];return{type:"accent",mode:ce.parser.mode,label:ce.funcName,isStretchy:!1,isShifty:!0,base:Ie}},htmlBuilder:Qr,mathmlBuilder:cn}),Vr({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ve[0];return{type:"accentUnder",mode:Ie.mode,label:Ke,base:mt}},htmlBuilder:function(ce,ve){var Ie=ti(ce.base,ve),Ke=Xr.svgSpan(ce,ve),mt=ce.label==="\\utilde"?.12:0,Pt=Zt.makeVList({positionType:"bottom",positionData:Ke.height+mt,children:[{type:"elem",elem:Ke,wrapperClasses:["svg-align"]},{type:"kern",size:mt},{type:"elem",elem:Ie}]},ve);return Zt.makeSpan(["mord","accentunder"],[Pt],ve)},mathmlBuilder:function(ce,ve){var Ie=Xr.mathMLnode(ce.label),Ke=new ri.MathNode("munder",[Br(ce.base,ve),Ie]);return Ke.setAttribute("accentunder","true"),Ke}});var Cn=function(ce){var ve=new ri.MathNode("mpadded",ce?[ce]:[]);return ve.setAttribute("width","+0.6em"),ve.setAttribute("lspace","0.3em"),ve};Vr({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,ve,Ie){var Ke=ce.parser,mt=ce.funcName;return{type:"xArrow",mode:Ke.mode,label:mt,body:ve[0],below:Ie[0]}},htmlBuilder:function(ce,ve){var Ie=ve.style,Ke=ve.havingStyle(Ie.sup()),mt=Zt.wrapFragment(ti(ce.body,Ke,ve),ve);mt.classes.push("x-arrow-pad");var Pt;ce.below&&(Ke=ve.havingStyle(Ie.sub()),Pt=Zt.wrapFragment(ti(ce.below,Ke,ve),ve),Pt.classes.push("x-arrow-pad"));var lr=Xr.svgSpan(ce,ve),yr=-ve.fontMetrics().axisHeight+.5*lr.height,kr=-ve.fontMetrics().axisHeight-.5*lr.height-.111;(mt.depth>.25||ce.label==="\\xleftequilibrium")&&(kr-=mt.depth);var ln;if(Pt){var En=-ve.fontMetrics().axisHeight+Pt.height+.5*lr.height+.111;ln=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:mt,shift:kr},{type:"elem",elem:lr,shift:yr},{type:"elem",elem:Pt,shift:En}]},ve)}else ln=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:mt,shift:kr},{type:"elem",elem:lr,shift:yr}]},ve);return ln.children[0].children[0].children[1].classes.push("svg-align"),Zt.makeSpan(["mrel","x-arrow"],[ln],ve)},mathmlBuilder:function(ce,ve){var Ie=Xr.mathMLnode(ce.label),Ke;if(ce.body){var mt=Cn(Br(ce.body,ve));if(ce.below){var Pt=Cn(Br(ce.below,ve));Ke=new ri.MathNode("munderover",[Ie,Pt,mt])}else Ke=new ri.MathNode("mover",[Ie,mt])}else if(ce.below){var lr=Cn(Br(ce.below,ve));Ke=new ri.MathNode("munder",[Ie,lr])}else Ke=Cn(),Ke=new ri.MathNode("mover",[Ie,Ke]);return Ke}}),Vr({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){for(var Ie=ce.parser,Ke=Ir(ve[0],"ordgroup"),mt=Ke.body,Pt="",lr=0;lr<mt.length;lr++){var yr=Ir(mt[lr],"textord");Pt+=yr.text}var kr=parseInt(Pt);if(isNaN(kr))throw new u("\\@char has non-numeric argument "+Pt);return{type:"textord",mode:Ie.mode,text:String.fromCharCode(kr)}}});var Bn=function(ce,ve){var Ie=qr(ce.body,ve.withColor(ce.color),!1);return Zt.makeFragment(Ie)},nn=function(ce,ve){var Ie=Dr(ce.body,ve.withColor(ce.color)),Ke=new ri.MathNode("mstyle",Ie);return Ke.setAttribute("mathcolor",ce.color),Ke};Vr({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(ce,ve){var Ie=ce.parser,Ke=Ir(ve[0],"color-token").color,mt=ve[1];return{type:"color",mode:Ie.mode,color:Ke,body:Hn(mt)}},htmlBuilder:Bn,mathmlBuilder:nn}),Vr({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.breakOnTokenText,mt=Ir(ve[0],"color-token").color;Ie.gullet.macros.set("\\current@color",mt);var Pt=Ie.parseExpression(!0,Ke);return{type:"color",mode:Ie.mode,color:mt,body:Pt}},htmlBuilder:Bn,mathmlBuilder:nn}),Vr({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ce,ve,Ie){var Ke=ce.parser,mt=ce.funcName,Pt=Ie[0],lr=mt==="\\cr",yr=!1;return lr||(Ke.settings.displayMode&&Ke.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?yr=!1:yr=!0),{type:"cr",mode:Ke.mode,newLine:yr,newRow:lr,size:Pt&&Ir(Pt,"size").value}},htmlBuilder:function(ce,ve){if(ce.newRow)throw new u("\\cr valid only within a tabular/array environment");var Ie=Zt.makeSpan(["mspace"],[],ve);return ce.newLine&&(Ie.classes.push("newline"),ce.size&&(Ie.style.marginTop=Wr(ce.size,ve)+"em")),Ie},mathmlBuilder:function(ce,ve){var Ie=new ri.MathNode("mspace");return ce.newLine&&(Ie.setAttribute("linebreak","newline"),ce.size&&Ie.setAttribute("height",Wr(ce.size,ve)+"em")),Ie}});var Dn=function(ce,ve,Ie){var Ke=Qe.math[ce]&&Qe.math[ce].replace,mt=Ye(Ke||ce,ve,Ie);if(!mt)throw new Error("Unsupported symbol "+ce+" and font size "+ve+".");return mt},hn=function(ce,ve,Ie,Ke){var mt=Ie.havingBaseStyle(ve),Pt=Zt.makeSpan(Ke.concat(mt.sizingClasses(Ie)),[ce],Ie),lr=mt.sizeMultiplier/Ie.sizeMultiplier;return Pt.height*=lr,Pt.depth*=lr,Pt.maxFontSize=mt.sizeMultiplier,Pt},An=function(ce,ve,Ie){var Ke=ve.havingBaseStyle(Ie),mt=(1-ve.sizeMultiplier/Ke.sizeMultiplier)*ve.fontMetrics().axisHeight;ce.classes.push("delimcenter"),ce.style.top=mt+"em",ce.height-=mt,ce.depth+=mt},xn=function(ce,ve,Ie,Ke,mt,Pt){var lr=Zt.makeSymbol(ce,"Main-Regular",mt,Ke),yr=hn(lr,ve,Ke,Pt);return Ie&&An(yr,Ke,ve),yr},Rn=function(ce,ve,Ie,Ke){return Zt.makeSymbol(ce,"Size"+ve+"-Regular",Ie,Ke)},ui=function(ce,ve,Ie,Ke,mt,Pt){var lr=Rn(ce,ve,mt,Ke),yr=hn(Zt.makeSpan(["delimsizing","size"+ve],[lr],Ke),K.TEXT,Ke,Pt);return Ie&&An(yr,Ke,K.TEXT),yr},gi=function(ce,ve,Ie){var Ke;ve==="Size1-Regular"?Ke="delim-size1":Ke="delim-size4";var mt=Zt.makeSpan(["delimsizinginner",Ke],[Zt.makeSpan([],[Zt.makeSymbol(ce,ve,Ie)])]);return{type:"elem",elem:mt}},Fi={type:"kern",size:-.005},di=function(ce,ve,Ie,Ke,mt,Pt){var lr,yr,kr,ln;lr=kr=ln=ce,yr=null;var En="Size1-Regular";ce==="\\uparrow"?kr=ln="\u23D0":ce==="\\Uparrow"?kr=ln="\u2016":ce==="\\downarrow"?lr=kr="\u23D0":ce==="\\Downarrow"?lr=kr="\u2016":ce==="\\updownarrow"?(lr="\\uparrow",kr="\u23D0",ln="\\downarrow"):ce==="\\Updownarrow"?(lr="\\Uparrow",kr="\u2016",ln="\\Downarrow"):ce==="["||ce==="\\lbrack"?(lr="\u23A1",kr="\u23A2",ln="\u23A3",En="Size4-Regular"):ce==="]"||ce==="\\rbrack"?(lr="\u23A4",kr="\u23A5",ln="\u23A6",En="Size4-Regular"):ce==="\\lfloor"||ce==="\u230A"?(kr=lr="\u23A2",ln="\u23A3",En="Size4-Regular"):ce==="\\lceil"||ce==="\u2308"?(lr="\u23A1",kr=ln="\u23A2",En="Size4-Regular"):ce==="\\rfloor"||ce==="\u230B"?(kr=lr="\u23A5",ln="\u23A6",En="Size4-Regular"):ce==="\\rceil"||ce==="\u2309"?(lr="\u23A4",kr=ln="\u23A5",En="Size4-Regular"):ce==="("||ce==="\\lparen"?(lr="\u239B",kr="\u239C",ln="\u239D",En="Size4-Regular"):ce===")"||ce==="\\rparen"?(lr="\u239E",kr="\u239F",ln="\u23A0",En="Size4-Regular"):ce==="\\{"||ce==="\\lbrace"?(lr="\u23A7",yr="\u23A8",ln="\u23A9",kr="\u23AA",En="Size4-Regular"):ce==="\\}"||ce==="\\rbrace"?(lr="\u23AB",yr="\u23AC",ln="\u23AD",kr="\u23AA",En="Size4-Regular"):ce==="\\lgroup"||ce==="\u27EE"?(lr="\u23A7",ln="\u23A9",kr="\u23AA",En="Size4-Regular"):ce==="\\rgroup"||ce==="\u27EF"?(lr="\u23AB",ln="\u23AD",kr="\u23AA",En="Size4-Regular"):ce==="\\lmoustache"||ce==="\u23B0"?(lr="\u23A7",ln="\u23AD",kr="\u23AA",En="Size4-Regular"):(ce==="\\rmoustache"||ce==="\u23B1")&&(lr="\u23AB",ln="\u23A9",kr="\u23AA",En="Size4-Regular");var oi=Dn(lr,En,mt),yi=oi.height+oi.depth,Ti=Dn(kr,En,mt),ji=Ti.height+Ti.depth,na=Dn(ln,En,mt),Pa=na.height+na.depth,Va=0,Qa=1;if(yr!==null){var To=Dn(yr,En,mt);Va=To.height+To.depth,Qa=2}var eo=yi+Pa+Va,Io=Math.max(0,Math.ceil((ve-eo)/(Qa*ji))),Ha=eo+Io*Qa*ji,Oo=Ke.fontMetrics().axisHeight;Ie&&(Oo*=Ke.sizeMultiplier);var is=Ha/2-Oo,mo=(Io+1)*.005-ji,go=[];if(go.push(gi(ln,En,mt)),yr===null)for(var ss=0;ss<Io;ss++)go.push(Fi),go.push(gi(kr,En,mt));else{for(var ys=0;ys<Io;ys++)go.push(Fi),go.push(gi(kr,En,mt));go.push({type:"kern",size:mo}),go.push(gi(kr,En,mt)),go.push(Fi),go.push(gi(yr,En,mt));for(var Yo=0;Yo<Io;Yo++)go.push(Fi),go.push(gi(kr,En,mt))}go.push({type:"kern",size:mo}),go.push(gi(kr,En,mt)),go.push(Fi),go.push(gi(lr,En,mt));var So=Ke.havingBaseStyle(K.TEXT),Ks=Zt.makeVList({positionType:"bottom",positionData:is,children:go},So);return hn(Zt.makeSpan(["delimsizing","mult"],[Ks],So),K.TEXT,Ke,Pt)},ii=80,Yi=.08,_i=function(ce,ve,Ie,Ke,mt){var Pt=De(ce,Ke,Ie),lr=new $(ce,Pt),yr=new me([lr],{width:"400em",height:ve+"em",viewBox:"0 0 400000 "+Ie,preserveAspectRatio:"xMinYMin slice"});return Zt.makeSvgSpan(["hide-tail"],[yr],mt)},Mi=function(ce,ve){var Ie=ve.havingBaseSizing(),Ke=sa("\\surd",ce*Ie.sizeMultiplier,ea,Ie),mt=Ie.sizeMultiplier,Pt=Math.max(0,ve.minRuleThickness-ve.fontMetrics().sqrtRuleThickness),lr,yr=0,kr=0,ln=0,En;return Ke.type==="small"?(ln=1e3+1e3*Pt+ii,ce<1?mt=1:ce<1.4&&(mt=.7),yr=(1+Pt+Yi)/mt,kr=(1+Pt)/mt,lr=_i("sqrtMain",yr,ln,Pt,ve),lr.style.minWidth="0.853em",En=.833/mt):Ke.type==="large"?(ln=(1e3+ii)*Ma[Ke.size],kr=(Ma[Ke.size]+Pt)/mt,yr=(Ma[Ke.size]+Pt+Yi)/mt,lr=_i("sqrtSize"+Ke.size,yr,ln,Pt,ve),lr.style.minWidth="1.02em",En=1/mt):(yr=ce+Pt+Yi,kr=ce+Pt,ln=Math.floor(1e3*ce+Pt)+ii,lr=_i("sqrtTall",yr,ln,Pt,ve),lr.style.minWidth="0.742em",En=1.056),lr.height=kr,lr.style.height=yr+"em",{span:lr,advanceWidth:En,ruleWidth:(ve.fontMetrics().sqrtRuleThickness+Pt)*mt}},Bi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Zi=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],da=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ma=[0,1.2,1.8,2.4,3],La=function(ce,ve,Ie,Ke,mt){if(ce==="<"||ce==="\\lt"||ce==="\u27E8"?ce="\\langle":(ce===">"||ce==="\\gt"||ce==="\u27E9")&&(ce="\\rangle"),m.contains(Bi,ce)||m.contains(da,ce))return ui(ce,ve,!1,Ie,Ke,mt);if(m.contains(Zi,ce))return di(ce,Ma[ve],!1,Ie,Ke,mt);throw new u("Illegal delimiter: '"+ce+"'")},fa=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],xa=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"stack"}],ea=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ya=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.")},sa=function(ce,ve,Ie,Ke){for(var mt=Math.min(2,3-Ke.style.size),Pt=mt;Pt<Ie.length&&!(Ie[Pt].type==="stack");Pt++){var lr=Dn(ce,ya(Ie[Pt]),"math"),yr=lr.height+lr.depth;if(Ie[Pt].type==="small"){var kr=Ke.havingBaseStyle(Ie[Pt].style);yr*=kr.sizeMultiplier}if(yr>ve)return Ie[Pt]}return Ie[Ie.length-1]},Fa=function(ce,ve,Ie,Ke,mt,Pt){ce==="<"||ce==="\\lt"||ce==="\u27E8"?ce="\\langle":(ce===">"||ce==="\\gt"||ce==="\u27E9")&&(ce="\\rangle");var lr;m.contains(da,ce)?lr=fa:m.contains(Bi,ce)?lr=ea:lr=xa;var yr=sa(ce,ve,lr,Ke);return yr.type==="small"?xn(ce,yr.style,Ie,Ke,mt,Pt):yr.type==="large"?ui(ce,yr.size,Ie,Ke,mt,Pt):di(ce,ve,Ie,Ke,mt,Pt)},uo=function(ce,ve,Ie,Ke,mt,Pt){var lr=Ke.fontMetrics().axisHeight*Ke.sizeMultiplier,yr=901,kr=5/Ke.fontMetrics().ptPerEm,ln=Math.max(ve-lr,Ie+lr),En=Math.max(ln/500*yr,2*ln-kr);return Fa(ce,En,!0,Ke,mt,Pt)},za={sqrtImage:Mi,sizedDelim:La,customSizedDelim:Fa,leftRightDelim:uo},Ya={"\\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}},lo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function ta(gt,ce){var ve=Vn(gt);if(ve&&m.contains(lo,ve.text))return ve;throw new u("Invalid delimiter: '"+(ve?ve.text:JSON.stringify(gt))+"' after '"+ce.funcName+"'",gt)}Vr({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,ve){var Ie=ta(ve[0],ce);return{type:"delimsizing",mode:ce.parser.mode,size:Ya[ce.funcName].size,mclass:Ya[ce.funcName].mclass,delim:Ie.text}},htmlBuilder:function(ce,ve){return ce.delim==="."?Zt.makeSpan([ce.mclass]):za.sizedDelim(ce.delim,ce.size,ve,ce.mode,[ce.mclass])},mathmlBuilder:function(ce){var ve=[];ce.delim!=="."&&ve.push(pt(ce.delim,ce.mode));var Ie=new ri.MathNode("mo",ve);return ce.mclass==="mopen"||ce.mclass==="mclose"?Ie.setAttribute("fence","true"):Ie.setAttribute("fence","false"),Ie}});function Xi(gt){if(!gt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Vr({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(ce,ve){var Ie=ce.parser.gullet.macros.get("\\current@color");if(Ie&&typeof Ie!="string")throw new u("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:ce.parser.mode,delim:ta(ve[0],ce).text,color:Ie}}}),Vr({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(ce,ve){var Ie=ta(ve[0],ce),Ke=ce.parser;++Ke.leftrightDepth;var mt=Ke.parseExpression(!1);--Ke.leftrightDepth,Ke.expect("\\right",!1);var Pt=Ir(Ke.parseFunction(),"leftright-right");return{type:"leftright",mode:Ke.mode,body:mt,left:Ie.text,right:Pt.delim,rightColor:Pt.color}},htmlBuilder:function(ce,ve){Xi(ce);for(var Ie=qr(ce.body,ve,!0,["mopen","mclose"]),Ke=0,mt=0,Pt=!1,lr=0;lr<Ie.length;lr++)Ie[lr].isMiddle?Pt=!0:(Ke=Math.max(Ie[lr].height,Ke),mt=Math.max(Ie[lr].depth,mt));Ke*=ve.sizeMultiplier,mt*=ve.sizeMultiplier;var yr;if(ce.left==="."?yr=Pn(ve,["mopen"]):yr=za.leftRightDelim(ce.left,Ke,mt,ve,ce.mode,["mopen"]),Ie.unshift(yr),Pt)for(var kr=1;kr<Ie.length;kr++){var ln=Ie[kr],En=ln.isMiddle;En&&(Ie[kr]=za.leftRightDelim(En.delim,Ke,mt,En.options,ce.mode,[]))}var oi;if(ce.right===".")oi=Pn(ve,["mclose"]);else{var yi=ce.rightColor?ve.withColor(ce.rightColor):ve;oi=za.leftRightDelim(ce.right,Ke,mt,yi,ce.mode,["mclose"])}return Ie.push(oi),Zt.makeSpan(["minner"],Ie,ve)},mathmlBuilder:function(ce,ve){Xi(ce);var Ie=Dr(ce.body,ve);if(ce.left!=="."){var Ke=new ri.MathNode("mo",[pt(ce.left,ce.mode)]);Ke.setAttribute("fence","true"),Ie.unshift(Ke)}if(ce.right!=="."){var mt=new ri.MathNode("mo",[pt(ce.right,ce.mode)]);mt.setAttribute("fence","true"),ce.rightColor&&mt.setAttribute("mathcolor",ce.rightColor),Ie.push(mt)}return gr(Ie)}}),Vr({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(ce,ve){var Ie=ta(ve[0],ce);if(!ce.parser.leftrightDepth)throw new u("\\middle without preceding \\left",Ie);return{type:"middle",mode:ce.parser.mode,delim:Ie.text}},htmlBuilder:function(ce,ve){var Ie;if(ce.delim===".")Ie=Pn(ve,[]);else{Ie=za.sizedDelim(ce.delim,1,ve,ce.mode,[]);var Ke={delim:ce.delim,options:ve};Ie.isMiddle=Ke}return Ie},mathmlBuilder:function(ce,ve){var Ie=ce.delim==="\\vert"||ce.delim==="|"?pt("|","text"):pt(ce.delim,ce.mode),Ke=new ri.MathNode("mo",[Ie]);return Ke.setAttribute("fence","true"),Ke.setAttribute("lspace","0.05em"),Ke.setAttribute("rspace","0.05em"),Ke}});var Gi=function(ce,ve){var Ie=Zt.wrapFragment(ti(ce.body,ve),ve),Ke=ce.label.substr(1),mt=ve.sizeMultiplier,Pt,lr=0,yr=m.isCharacterBox(ce.body);if(Ke==="sout")Pt=Zt.makeSpan(["stretchy","sout"]),Pt.height=ve.fontMetrics().defaultRuleThickness/mt,lr=-.5*ve.fontMetrics().xHeight;else{/cancel/.test(Ke)?yr||Ie.classes.push("cancel-pad"):Ie.classes.push("boxpad");var kr=0,ln=0;/box/.test(Ke)?(ln=Math.max(ve.fontMetrics().fboxrule,ve.minRuleThickness),kr=ve.fontMetrics().fboxsep+(Ke==="colorbox"?0:ln)):kr=yr?.2:0,Pt=Xr.encloseSpan(Ie,Ke,kr,ve),/fbox|boxed|fcolorbox/.test(Ke)&&(Pt.style.borderStyle="solid",Pt.style.borderWidth=ln+"em"),lr=Ie.depth+kr,ce.backgroundColor&&(Pt.style.backgroundColor=ce.backgroundColor,ce.borderColor&&(Pt.style.borderColor=ce.borderColor))}var En;return ce.backgroundColor?En=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Pt,shift:lr},{type:"elem",elem:Ie,shift:0}]},ve):En=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ie,shift:0},{type:"elem",elem:Pt,shift:lr,wrapperClasses:/cancel/.test(Ke)?["svg-align"]:[]}]},ve),/cancel/.test(Ke)&&(En.height=Ie.height,En.depth=Ie.depth),/cancel/.test(Ke)&&!yr?Zt.makeSpan(["mord","cancel-lap"],[En],ve):Zt.makeSpan(["mord"],[En],ve)},Ta=function(ce,ve){var Ie=0,Ke=new ri.MathNode(ce.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Br(ce.body,ve)]);switch(ce.label){case"\\cancel":Ke.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Ke.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Ke.setAttribute("notation","horizontalstrike");break;case"\\fbox":Ke.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Ie=ve.fontMetrics().fboxsep*ve.fontMetrics().ptPerEm,Ke.setAttribute("width","+"+2*Ie+"pt"),Ke.setAttribute("height","+"+2*Ie+"pt"),Ke.setAttribute("lspace",Ie+"pt"),Ke.setAttribute("voffset",Ie+"pt"),ce.label==="\\fcolorbox"){var mt=Math.max(ve.fontMetrics().fboxrule,ve.minRuleThickness);Ke.setAttribute("style","border: "+mt+"em solid "+String(ce.borderColor))}break;case"\\xcancel":Ke.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return ce.backgroundColor&&Ke.setAttribute("mathbackground",ce.backgroundColor),Ke};Vr({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(ce,ve,Ie){var Ke=ce.parser,mt=ce.funcName,Pt=Ir(ve[0],"color-token").color,lr=ve[1];return{type:"enclose",mode:Ke.mode,label:mt,backgroundColor:Pt,body:lr}},htmlBuilder:Gi,mathmlBuilder:Ta}),Vr({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(ce,ve,Ie){var Ke=ce.parser,mt=ce.funcName,Pt=Ir(ve[0],"color-token").color,lr=Ir(ve[1],"color-token").color,yr=ve[2];return{type:"enclose",mode:Ke.mode,label:mt,backgroundColor:lr,borderColor:Pt,body:yr}},htmlBuilder:Gi,mathmlBuilder:Ta}),Vr({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser;return{type:"enclose",mode:Ie.mode,label:"\\fbox",body:ve[0]}}}),Vr({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(ce,ve,Ie){var Ke=ce.parser,mt=ce.funcName,Pt=ve[0];return{type:"enclose",mode:Ke.mode,label:mt,body:Pt}},htmlBuilder:Gi,mathmlBuilder:Ta});var ka={};function ha(gt){for(var ce=gt.type,ve=gt.names,Ie=gt.props,Ke=gt.handler,mt=gt.htmlBuilder,Pt=gt.mathmlBuilder,lr={type:ce,numArgs:Ie.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Ke},yr=0;yr<ve.length;++yr)ka[ve[yr]]=lr;mt&&(Kr[ce]=mt),Pt&&(dn[ce]=Pt)}function Ua(gt){var ce=[];gt.consumeSpaces();for(var ve=gt.fetch().text;ve==="\\hline"||ve==="\\hdashline";)gt.consume(),ce.push(ve==="\\hdashline"),gt.consumeSpaces(),ve=gt.fetch().text;return ce}function ao(gt,ce,ve){var Ie=ce.hskipBeforeAndAfter,Ke=ce.addJot,mt=ce.cols,Pt=ce.arraystretch,lr=ce.colSeparationType;if(gt.gullet.beginGroup(),gt.gullet.macros.set("\\\\","\\cr"),!Pt){var yr=gt.gullet.expandMacroAsText("\\arraystretch");if(yr==null)Pt=1;else if(Pt=parseFloat(yr),!Pt||Pt<0)throw new u("Invalid \\arraystretch: "+yr)}gt.gullet.beginGroup();var kr=[],ln=[kr],En=[],oi=[];for(oi.push(Ua(gt));;){var yi=gt.parseExpression(!1,"\\cr");gt.gullet.endGroup(),gt.gullet.beginGroup(),yi={type:"ordgroup",mode:gt.mode,body:yi},ve&&(yi={type:"styling",mode:gt.mode,style:ve,body:[yi]}),kr.push(yi);var Ti=gt.fetch().text;if(Ti==="&")gt.consume();else if(Ti==="\\end"){kr.length===1&&yi.type==="styling"&&yi.body[0].body.length===0&&ln.pop(),oi.length<ln.length+1&&oi.push([]);break}else if(Ti==="\\cr"){var ji=Ir(gt.parseFunction(),"cr");En.push(ji.size),oi.push(Ua(gt)),kr=[],ln.push(kr)}else throw new u("Expected & or \\\\ or \\cr or \\end",gt.nextToken)}return gt.gullet.endGroup(),gt.gullet.endGroup(),{type:"array",mode:gt.mode,addJot:Ke,arraystretch:Pt,body:ln,cols:mt,rowGaps:En,hskipBeforeAndAfter:Ie,hLinesBeforeRow:oi,colSeparationType:lr}}function Ao(gt){return gt.substr(0,1)==="d"?"display":"text"}var ho=function(ce,ve){var Ie,Ke,mt=ce.body.length,Pt=ce.hLinesBeforeRow,lr=0,yr=new Array(mt),kr=[],ln=Math.max(ve.fontMetrics().arrayRuleWidth,ve.minRuleThickness),En=1/ve.fontMetrics().ptPerEm,oi=5*En;if(ce.colSeparationType&&ce.colSeparationType==="small"){var yi=ve.havingStyle(K.SCRIPT).sizeMultiplier;oi=.2778*(yi/ve.sizeMultiplier)}var Ti=12*En,ji=3*En,na=ce.arraystretch*Ti,Pa=.7*na,Va=.3*na,Qa=0;function To(Ts){for(var Is=0;Is<Ts.length;++Is)Is>0&&(Qa+=.25),kr.push({pos:Qa,isDashed:Ts[Is]})}for(To(Pt[0]),Ie=0;Ie<ce.body.length;++Ie){var eo=ce.body[Ie],Io=Pa,Ha=Va;lr<eo.length&&(lr=eo.length);var Oo=new Array(eo.length);for(Ke=0;Ke<eo.length;++Ke){var is=ti(eo[Ke],ve);Ha<is.depth&&(Ha=is.depth),Io<is.height&&(Io=is.height),Oo[Ke]=is}var mo=ce.rowGaps[Ie],go=0;mo&&(go=Wr(mo,ve),go>0&&(go+=Va,Ha<go&&(Ha=go),go=0)),ce.addJot&&(Ha+=ji),Oo.height=Io,Oo.depth=Ha,Qa+=Io,Oo.pos=Qa,Qa+=Ha+go,yr[Ie]=Oo,To(Pt[Ie+1])}var ss=Qa/2+ve.fontMetrics().axisHeight,ys=ce.cols||[],Yo=[],So,Ks;for(Ke=0,Ks=0;Ke<lr||Ks<ys.length;++Ke,++Ks){for(var ls=ys[Ks]||{},sl=!0;ls.type==="separator";){if(sl||(So=Zt.makeSpan(["arraycolsep"],[]),So.style.width=ve.fontMetrics().doubleRuleSep+"em",Yo.push(So)),ls.separator==="|"||ls.separator===":"){var ll=ls.separator==="|"?"solid":"dashed",bs=Zt.makeSpan(["vertical-separator"],[],ve);bs.style.height=Qa+"em",bs.style.borderRightWidth=ln+"em",bs.style.borderRightStyle=ll,bs.style.margin="0 -"+ln/2+"em",bs.style.verticalAlign=-(Qa-ss)+"em",Yo.push(bs)}else throw new u("Invalid separator type: "+ls.separator);Ks++,ls=ys[Ks]||{},sl=!1}if(Ke>=lr)continue;var Fo=void 0;(Ke>0||ce.hskipBeforeAndAfter)&&(Fo=m.deflt(ls.pregap,oi),Fo!==0&&(So=Zt.makeSpan(["arraycolsep"],[]),So.style.width=Fo+"em",Yo.push(So)));var Ui=[];for(Ie=0;Ie<mt;++Ie){var zs=yr[Ie],tl=zs[Ke];if(!tl)continue;var As=zs.pos-ss;tl.depth=zs.depth,tl.height=zs.height,Ui.push({type:"elem",elem:tl,shift:As})}Ui=Zt.makeVList({positionType:"individualShift",children:Ui},ve),Ui=Zt.makeSpan(["col-align-"+(ls.align||"c")],[Ui]),Yo.push(Ui),(Ke<lr-1||ce.hskipBeforeAndAfter)&&(Fo=m.deflt(ls.postgap,oi),Fo!==0&&(So=Zt.makeSpan(["arraycolsep"],[]),So.style.width=Fo+"em",Yo.push(So)))}if(yr=Zt.makeSpan(["mtable"],Yo),kr.length>0){for(var Jo=Zt.makeLineSpan("hline",ve,ln),fl=Zt.makeLineSpan("hdashline",ve,ln),rl=[{type:"elem",elem:yr,shift:0}];kr.length>0;){var Cs=kr.pop(),Bs=Cs.pos-ss;Cs.isDashed?rl.push({type:"elem",elem:fl,shift:Bs}):rl.push({type:"elem",elem:Jo,shift:Bs})}yr=Zt.makeVList({positionType:"individualShift",children:rl},ve)}return Zt.makeSpan(["mord"],[yr],ve)},ro={c:"center ",l:"left ",r:"right "},qa=function(ce,ve){var Ie=new ri.MathNode("mtable",ce.body.map(function(Qa){return new ri.MathNode("mtr",Qa.map(function(To){return new ri.MathNode("mtd",[Br(To,ve)])}))})),Ke=ce.arraystretch===.5?.1:.16+ce.arraystretch-1+(ce.addJot?.09:0);Ie.setAttribute("rowspacing",Ke+"em");var mt="",Pt="";if(ce.cols){var lr=ce.cols,yr="",kr=!1,ln=0,En=lr.length;lr[0].type==="separator"&&(mt+="top ",ln=1),lr[lr.length-1].type==="separator"&&(mt+="bottom ",En-=1);for(var oi=ln;oi<En;oi++)lr[oi].type==="align"?(Pt+=ro[lr[oi].align],kr&&(yr+="none "),kr=!0):lr[oi].type==="separator"&&(kr&&(yr+=lr[oi].separator==="|"?"solid ":"dashed ",kr=!1));Ie.setAttribute("columnalign",Pt.trim()),/[sd]/.test(yr)&&Ie.setAttribute("columnlines",yr.trim())}if(ce.colSeparationType==="align"){for(var yi=ce.cols||[],Ti="",ji=1;ji<yi.length;ji++)Ti+=ji%2?"0em ":"1em ";Ie.setAttribute("columnspacing",Ti.trim())}else ce.colSeparationType==="alignat"?Ie.setAttribute("columnspacing","0em"):ce.colSeparationType==="small"?Ie.setAttribute("columnspacing","0.2778em"):Ie.setAttribute("columnspacing","1em");var na="",Pa=ce.hLinesBeforeRow;mt+=Pa[0].length>0?"left ":"",mt+=Pa[Pa.length-1].length>0?"right ":"";for(var Va=1;Va<Pa.length-1;Va++)na+=Pa[Va].length===0?"none ":Pa[Va][0]?"dashed ":"solid ";return/[sd]/.test(na)&&Ie.setAttribute("rowlines",na.trim()),mt!==""&&(Ie=new ri.MathNode("menclose",[Ie]),Ie.setAttribute("notation",mt.trim())),ce.arraystretch&&ce.arraystretch<1&&(Ie=new ri.MathNode("mstyle",[Ie]),Ie.setAttribute("scriptlevel","1")),Ie},no=function(ce,ve){var Ie=[],Ke=ao(ce.parser,{cols:Ie,addJot:!0},"display"),mt,Pt=0,lr={type:"ordgroup",mode:ce.mode,body:[]},yr=xr(ve[0],"ordgroup");if(yr){for(var kr="",ln=0;ln<yr.body.length;ln++){var En=Ir(yr.body[ln],"textord");kr+=En.text}mt=Number(kr),Pt=mt*2}var oi=!Pt;Ke.body.forEach(function(na){for(var Pa=1;Pa<na.length;Pa+=2){var Va=Ir(na[Pa],"styling"),Qa=Ir(Va.body[0],"ordgroup");Qa.body.unshift(lr)}if(oi)Pt<na.length&&(Pt=na.length);else{var To=na.length/2;if(mt<To)throw new u("Too many math in a row: "+("expected "+mt+", but got "+To),na[0])}});for(var yi=0;yi<Pt;++yi){var Ti="r",ji=0;yi%2===1?Ti="l":yi>0&&oi&&(ji=1),Ie[yi]={type:"align",align:Ti,pregap:ji,postgap:0}}return Ke.colSeparationType=oi?"align":"alignat",Ke};ha({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(ce,ve){var Ie=Vn(ve[0]),Ke=Ie?[ve[0]]:Ir(ve[0],"ordgroup").body,mt=Ke.map(function(lr){var yr=Yn(lr),kr=yr.text;if("lcr".indexOf(kr)!==-1)return{type:"align",align:kr};if(kr==="|")return{type:"separator",separator:"|"};if(kr===":")return{type:"separator",separator:":"};throw new u("Unknown column alignment: "+kr,lr)}),Pt={cols:mt,hskipBeforeAndAfter:!0};return ao(ce.parser,Pt,Ao(ce.envName))},htmlBuilder:ho,mathmlBuilder:qa}),ha({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(ce){var ve={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[ce.envName],Ie={hskipBeforeAndAfter:!1},Ke=ao(ce.parser,Ie,Ao(ce.envName));return ve?{type:"leftright",mode:ce.mode,body:[Ke],left:ve[0],right:ve[1],rightColor:void 0}:Ke},htmlBuilder:ho,mathmlBuilder:qa}),ha({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(ce){var ve={arraystretch:.5},Ie=ao(ce.parser,ve,"script");return Ie.colSeparationType="small",Ie},htmlBuilder:ho,mathmlBuilder:qa}),ha({type:"array",names:["subarray"],props:{numArgs:1},handler:function(ce,ve){var Ie=Vn(ve[0]),Ke=Ie?[ve[0]]:Ir(ve[0],"ordgroup").body,mt=Ke.map(function(lr){var yr=Yn(lr),kr=yr.text;if("lc".indexOf(kr)!==-1)return{type:"align",align:kr};throw new u("Unknown column alignment: "+kr,lr)});if(mt.length>1)throw new u("{subarray} can contain only one column");var Pt={cols:mt,hskipBeforeAndAfter:!1,arraystretch:.5};if(Pt=ao(ce.parser,Pt,"script"),Pt.body[0].length>1)throw new u("{subarray} can contain only one column");return Pt},htmlBuilder:ho,mathmlBuilder:qa}),ha({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(ce){var ve={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ie=ao(ce.parser,ve,Ao(ce.envName));return{type:"leftright",mode:ce.mode,body:[Ie],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:ho,mathmlBuilder:qa}),ha({type:"array",names:["aligned"],props:{numArgs:0},handler:no,htmlBuilder:ho,mathmlBuilder:qa}),ha({type:"array",names:["gathered"],props:{numArgs:0},handler:function(ce){var ve={cols:[{type:"align",align:"c"}],addJot:!0};return ao(ce.parser,ve,"display")},htmlBuilder:ho,mathmlBuilder:qa}),ha({type:"array",names:["alignedat"],props:{numArgs:1},handler:no,htmlBuilder:ho,mathmlBuilder:qa}),Vr({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(ce,ve){throw new u(ce.funcName+" valid only within array environment")}});var Wi=ka,Ci=Wi;Vr({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ve[0];if(mt.type!=="ordgroup")throw new u("Invalid environment name",mt);for(var Pt="",lr=0;lr<mt.body.length;++lr)Pt+=Ir(mt.body[lr],"textord").text;if(Ke==="\\begin"){if(!Ci.hasOwnProperty(Pt))throw new u("No such environment: "+Pt,mt);var yr=Ci[Pt],kr=Ie.parseArguments("\\begin{"+Pt+"}",yr),ln=kr.args,En=kr.optArgs,oi={mode:Ie.mode,envName:Pt,parser:Ie},yi=yr.handler(oi,ln,En);Ie.expect("\\end",!1);var Ti=Ie.nextToken,ji=Ir(Ie.parseFunction(),"environment");if(ji.name!==Pt)throw new u("Mismatch: \\begin{"+Pt+"} matched by \\end{"+ji.name+"}",Ti);return yi}return{type:"environment",mode:Ie.mode,name:Pt,nameGroup:mt}}});var Di=Zt.makeSpan;function ma(gt,ce){var ve=qr(gt.body,ce,!0);return Di([gt.mclass],ve,ce)}function ga(gt,ce){var ve,Ie=Dr(gt.body,ce);return gt.mclass==="minner"?ri.newDocumentFragment(Ie):(gt.mclass==="mord"?gt.isCharacterBox?(ve=Ie[0],ve.type="mi"):ve=new ri.MathNode("mi",Ie):(gt.isCharacterBox?(ve=Ie[0],ve.type="mo"):ve=new ri.MathNode("mo",Ie),gt.mclass==="mbin"?(ve.attributes.lspace="0.22em",ve.attributes.rspace="0.22em"):gt.mclass==="mpunct"?(ve.attributes.lspace="0em",ve.attributes.rspace="0.17em"):(gt.mclass==="mopen"||gt.mclass==="mclose")&&(ve.attributes.lspace="0em",ve.attributes.rspace="0em")),ve)}Vr({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ve[0];return{type:"mclass",mode:Ie.mode,mclass:"m"+Ke.substr(5),body:Hn(mt),isCharacterBox:m.isCharacterBox(mt)}},htmlBuilder:ma,mathmlBuilder:ga});var Aa=function(ce){var ve=ce.type==="ordgroup"&&ce.body.length?ce.body[0]:ce;return ve.type==="atom"&&(ve.family==="bin"||ve.family==="rel")?"m"+ve.family:"mord"};Vr({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(ce,ve){var Ie=ce.parser;return{type:"mclass",mode:Ie.mode,mclass:Aa(ve[0]),body:[ve[1]],isCharacterBox:m.isCharacterBox(ve[1])}}}),Vr({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ve[1],Pt=ve[0],lr;Ke!=="\\stackrel"?lr=Aa(mt):lr="mrel";var yr={type:"op",mode:mt.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Ke!=="\\stackrel",body:Hn(mt)},kr={type:"supsub",mode:Pt.mode,base:yr,sup:Ke==="\\underset"?null:Pt,sub:Ke==="\\underset"?Pt:null};return{type:"mclass",mode:Ie.mode,mclass:lr,body:[kr],isCharacterBox:m.isCharacterBox(kr)}},htmlBuilder:ma,mathmlBuilder:ga});var wa=function(ce,ve){var Ie=ce.font,Ke=ve.withFont(Ie);return ti(ce.body,Ke)},la=function(ce,ve){var Ie=ce.font,Ke=ve.withFont(Ie);return Br(ce.body,Ke)},Hi={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Vr({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ve[0],Pt=Ke;return Pt in Hi&&(Pt=Hi[Pt]),{type:"font",mode:Ie.mode,font:Pt.slice(1),body:mt}},htmlBuilder:wa,mathmlBuilder:la}),Vr({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(ce,ve){var Ie=ce.parser,Ke=ve[0],mt=m.isCharacterBox(Ke);return{type:"mclass",mode:Ie.mode,mclass:Aa(Ke),body:[{type:"font",mode:Ie.mode,font:"boldsymbol",body:Ke}],isCharacterBox:mt}}}),Vr({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ce.breakOnTokenText,Pt=Ie.mode,lr=Ie.parseExpression(!0,mt),yr="math"+Ke.slice(1);return{type:"font",mode:Pt,font:yr,body:{type:"ordgroup",mode:Ie.mode,body:lr}}},htmlBuilder:wa,mathmlBuilder:la});var Ba=function(ce,ve){var Ie=ve;return ce==="display"?Ie=Ie.id>=K.SCRIPT.id?Ie.text():K.DISPLAY:ce==="text"&&Ie.size===K.DISPLAY.size?Ie=K.TEXT:ce==="script"?Ie=K.SCRIPT:ce==="scriptscript"&&(Ie=K.SCRIPTSCRIPT),Ie},Ia=function(ce,ve){var Ie=Ba(ce.size,ve.style),Ke=Ie.fracNum(),mt=Ie.fracDen(),Pt;Pt=ve.havingStyle(Ke);var lr=ti(ce.numer,Pt,ve);if(ce.continued){var yr=8.5/ve.fontMetrics().ptPerEm,kr=3.5/ve.fontMetrics().ptPerEm;lr.height=lr.height<yr?yr:lr.height,lr.depth=lr.depth<kr?kr:lr.depth}Pt=ve.havingStyle(mt);var ln=ti(ce.denom,Pt,ve),En,oi,yi;ce.hasBarLine?(ce.barSize?(oi=Wr(ce.barSize,ve),En=Zt.makeLineSpan("frac-line",ve,oi)):En=Zt.makeLineSpan("frac-line",ve),oi=En.height,yi=En.height):(En=null,oi=0,yi=ve.fontMetrics().defaultRuleThickness);var Ti,ji,na;Ie.size===K.DISPLAY.size||ce.size==="display"?(Ti=ve.fontMetrics().num1,oi>0?ji=3*yi:ji=7*yi,na=ve.fontMetrics().denom1):(oi>0?(Ti=ve.fontMetrics().num2,ji=yi):(Ti=ve.fontMetrics().num3,ji=3*yi),na=ve.fontMetrics().denom2);var Pa;if(En){var Qa=ve.fontMetrics().axisHeight;Ti-lr.depth-(Qa+.5*oi)<ji&&(Ti+=ji-(Ti-lr.depth-(Qa+.5*oi))),Qa-.5*oi-(ln.height-na)<ji&&(na+=ji-(Qa-.5*oi-(ln.height-na)));var To=-(Qa-.5*oi);Pa=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ln,shift:na},{type:"elem",elem:En,shift:To},{type:"elem",elem:lr,shift:-Ti}]},ve)}else{var Va=Ti-lr.depth-(ln.height-na);Va<ji&&(Ti+=.5*(ji-Va),na+=.5*(ji-Va)),Pa=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ln,shift:na},{type:"elem",elem:lr,shift:-Ti}]},ve)}Pt=ve.havingStyle(Ie),Pa.height*=Pt.sizeMultiplier/ve.sizeMultiplier,Pa.depth*=Pt.sizeMultiplier/ve.sizeMultiplier;var eo;Ie.size===K.DISPLAY.size?eo=ve.fontMetrics().delim1:eo=ve.fontMetrics().delim2;var Io,Ha;return ce.leftDelim==null?Io=Pn(ve,["mopen"]):Io=za.customSizedDelim(ce.leftDelim,eo,!0,ve.havingStyle(Ie),ce.mode,["mopen"]),ce.continued?Ha=Zt.makeSpan([]):ce.rightDelim==null?Ha=Pn(ve,["mclose"]):Ha=za.customSizedDelim(ce.rightDelim,eo,!0,ve.havingStyle(Ie),ce.mode,["mclose"]),Zt.makeSpan(["mord"].concat(Pt.sizingClasses(ve)),[Io,Zt.makeSpan(["mfrac"],[Pa]),Ha],ve)},fo=function(ce,ve){var Ie=new ri.MathNode("mfrac",[Br(ce.numer,ve),Br(ce.denom,ve)]);if(!ce.hasBarLine)Ie.setAttribute("linethickness","0px");else if(ce.barSize){var Ke=Wr(ce.barSize,ve);Ie.setAttribute("linethickness",Ke+"em")}var mt=Ba(ce.size,ve.style);if(mt.size!==ve.style.size){Ie=new ri.MathNode("mstyle",[Ie]);var Pt=mt.size===K.DISPLAY.size?"true":"false";Ie.setAttribute("displaystyle",Pt),Ie.setAttribute("scriptlevel","0")}if(ce.leftDelim!=null||ce.rightDelim!=null){var lr=[];if(ce.leftDelim!=null){var yr=new ri.MathNode("mo",[new ri.TextNode(ce.leftDelim.replace("\\",""))]);yr.setAttribute("fence","true"),lr.push(yr)}if(lr.push(Ie),ce.rightDelim!=null){var kr=new ri.MathNode("mo",[new ri.TextNode(ce.rightDelim.replace("\\",""))]);kr.setAttribute("fence","true"),lr.push(kr)}return gr(lr)}return Ie};Vr({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ve[0],Pt=ve[1],lr,yr=null,kr=null,ln="auto";switch(Ke){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":lr=!0;break;case"\\\\atopfrac":lr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":lr=!1,yr="(",kr=")";break;case"\\\\bracefrac":lr=!1,yr="\\{",kr="\\}";break;case"\\\\brackfrac":lr=!1,yr="[",kr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Ke){case"\\cfrac":case"\\dfrac":case"\\dbinom":ln="display";break;case"\\tfrac":case"\\tbinom":ln="text";break}return{type:"genfrac",mode:Ie.mode,continued:Ke==="\\cfrac",numer:mt,denom:Pt,hasBarLine:lr,leftDelim:yr,rightDelim:kr,size:ln,barSize:null}},htmlBuilder:Ia,mathmlBuilder:fo}),Vr({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(ce){var ve=ce.parser,Ie=ce.funcName,Ke=ce.token,mt;switch(Ie){case"\\over":mt="\\frac";break;case"\\choose":mt="\\binom";break;case"\\atop":mt="\\\\atopfrac";break;case"\\brace":mt="\\\\bracefrac";break;case"\\brack":mt="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:ve.mode,replaceWith:mt,token:Ke}}});var Na=["display","text","script","scriptscript"],po=function(ce){var ve=null;return ce.length>0&&(ve=ce,ve=ve==="."?null:ve),ve};Vr({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(ce,ve){var Ie=ce.parser,Ke=ve[4],mt=ve[5],Pt=xr(ve[0],"atom");Pt&&(Pt=ur(ve[0],"open"));var lr=Pt?po(Pt.text):null,yr=xr(ve[1],"atom");yr&&(yr=ur(ve[1],"close"));var kr=yr?po(yr.text):null,ln=Ir(ve[2],"size"),En,oi=null;ln.isBlank?En=!0:(oi=ln.value,En=oi.number>0);var yi="auto",Ti=xr(ve[3],"ordgroup");if(Ti){if(Ti.body.length>0){var ji=Ir(Ti.body[0],"textord");yi=Na[Number(ji.text)]}}else Ti=Ir(ve[3],"textord"),yi=Na[Number(Ti.text)];return{type:"genfrac",mode:Ie.mode,numer:Ke,denom:mt,continued:!1,hasBarLine:En,barSize:oi,leftDelim:lr,rightDelim:kr,size:yi}},htmlBuilder:Ia,mathmlBuilder:fo}),Vr({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ce.token;return{type:"infix",mode:Ie.mode,replaceWith:"\\\\abovefrac",size:Ir(ve[0],"size").value,token:mt}}}),Vr({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ve[0],Pt=h(Ir(ve[1],"infix").size),lr=ve[2],yr=Pt.number>0;return{type:"genfrac",mode:Ie.mode,numer:mt,denom:lr,continued:!1,hasBarLine:yr,barSize:Pt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ia,mathmlBuilder:fo});var vo=function(ce,ve){var Ie=ve.style,Ke,mt,Pt=xr(ce,"supsub");Pt?(Ke=Pt.sup?ti(Pt.sup,ve.havingStyle(Ie.sup()),ve):ti(Pt.sub,ve.havingStyle(Ie.sub()),ve),mt=Ir(Pt.base,"horizBrace")):mt=Ir(ce,"horizBrace");var lr=ti(mt.base,ve.havingBaseStyle(K.DISPLAY)),yr=Xr.svgSpan(mt,ve),kr;if(mt.isOver?(kr=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:lr},{type:"kern",size:.1},{type:"elem",elem:yr}]},ve),kr.children[0].children[0].children[1].classes.push("svg-align")):(kr=Zt.makeVList({positionType:"bottom",positionData:lr.depth+.1+yr.height,children:[{type:"elem",elem:yr},{type:"kern",size:.1},{type:"elem",elem:lr}]},ve),kr.children[0].children[0].children[0].classes.push("svg-align")),Ke){var ln=Zt.makeSpan(["mord",mt.isOver?"mover":"munder"],[kr],ve);mt.isOver?kr=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ln},{type:"kern",size:.2},{type:"elem",elem:Ke}]},ve):kr=Zt.makeVList({positionType:"bottom",positionData:ln.depth+.2+Ke.height+Ke.depth,children:[{type:"elem",elem:Ke},{type:"kern",size:.2},{type:"elem",elem:ln}]},ve)}return Zt.makeSpan(["mord",mt.isOver?"mover":"munder"],[kr],ve)},Ko=function(ce,ve){var Ie=Xr.mathMLnode(ce.label);return new ri.MathNode(ce.isOver?"mover":"munder",[Br(ce.base,ve),Ie])};Vr({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName;return{type:"horizBrace",mode:Ie.mode,label:Ke,isOver:/^\\over/.test(Ke),base:ve[0]}},htmlBuilder:vo,mathmlBuilder:Ko}),Vr({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser,Ke=ve[1],mt=Ir(ve[0],"url").url;return Ie.settings.isTrusted({command:"\\href",url:mt})?{type:"href",mode:Ie.mode,href:mt,body:Hn(Ke)}:Ie.formatUnsupportedCmd("\\href")},htmlBuilder:function(ce,ve){var Ie=qr(ce.body,ve,!1);return Zt.makeAnchor(ce.href,[],Ie,ve)},mathmlBuilder:function(ce,ve){var Ie=tn(ce.body,ve);return Ie instanceof Pi||(Ie=new Pi("mrow",[Ie])),Ie.setAttribute("href",ce.href),Ie}}),Vr({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser,Ke=Ir(ve[0],"url").url;if(!Ie.settings.isTrusted({command:"\\url",url:Ke}))return Ie.formatUnsupportedCmd("\\url");for(var mt=[],Pt=0;Pt<Ke.length;Pt++){var lr=Ke[Pt];lr==="~"&&(lr="\\textasciitilde"),mt.push({type:"textord",mode:"text",text:lr})}var yr={type:"text",mode:Ie.mode,font:"\\texttt",body:mt};return{type:"href",mode:Ie.mode,href:Ke,body:Hn(yr)}}}),Vr({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser;return{type:"htmlmathml",mode:Ie.mode,html:Hn(ve[0]),mathml:Hn(ve[1])}},htmlBuilder:function(ce,ve){var Ie=qr(ce.html,ve,!1);return Zt.makeFragment(Ie)},mathmlBuilder:function(ce,ve){return tn(ce.mathml,ve)}});var zo=function(ce){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(ce))return{number:+ce,unit:"bp"};var ve=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(ce);if(!ve)throw new u("Invalid size: '"+ce+"' in \\includegraphics");var Ie={number:+(ve[1]+ve[2]),unit:ve[3]};if(!Tr(Ie))throw new u("Invalid unit: '"+Ie.unit+"' in \\includegraphics.");return Ie};Vr({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(ce,ve,Ie){var Ke=ce.parser,mt={number:0,unit:"em"},Pt={number:.9,unit:"em"},lr={number:0,unit:"em"},yr="";if(Ie[0])for(var kr=Ir(Ie[0],"raw").string,ln=kr.split(","),En=0;En<ln.length;En++){var oi=ln[En].split("=");if(oi.length===2){var yi=oi[1].trim();switch(oi[0].trim()){case"alt":yr=yi;break;case"width":mt=zo(yi);break;case"height":Pt=zo(yi);break;case"totalheight":lr=zo(yi);break;default:throw new u("Invalid key: '"+oi[0]+"' in \\includegraphics.")}}}var Ti=Ir(ve[0],"url").url;return yr===""&&(yr=Ti,yr=yr.replace(/^.*[\\/]/,""),yr=yr.substring(0,yr.lastIndexOf("."))),Ke.settings.isTrusted({command:"\\includegraphics",url:Ti})?{type:"includegraphics",mode:Ke.mode,alt:yr,width:mt,height:Pt,totalheight:lr,src:Ti}:Ke.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(ce,ve){var Ie=Wr(ce.height,ve),Ke=0;ce.totalheight.number>0&&(Ke=Wr(ce.totalheight,ve)-Ie,Ke=Number(Ke.toFixed(2)));var mt=0;ce.width.number>0&&(mt=Wr(ce.width,ve));var Pt={height:Ie+Ke+"em"};mt>0&&(Pt.width=mt+"em"),Ke>0&&(Pt.verticalAlign=-Ke+"em");var lr=new ge(ce.src,ce.alt,Pt);return lr.height=Ie,lr.depth=Ke,lr},mathmlBuilder:function(ce,ve){var Ie=new ri.MathNode("mglyph",[]);Ie.setAttribute("alt",ce.alt);var Ke=Wr(ce.height,ve),mt=0;if(ce.totalheight.number>0&&(mt=Wr(ce.totalheight,ve)-Ke,mt=mt.toFixed(2),Ie.setAttribute("valign","-"+mt+"em")),Ie.setAttribute("height",Ke+mt+"em"),ce.width.number>0){var Pt=Wr(ce.width,ve);Ie.setAttribute("width",Pt+"em")}return Ie.setAttribute("src",ce.src),Ie}}),Vr({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=Ir(ve[0],"size");if(Ie.settings.strict){var Pt=Ke[1]==="m",lr=mt.value.unit==="mu";Pt?(lr||Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ke+" supports only mu units, "+("not "+mt.value.unit+" units")),Ie.mode!=="math"&&Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ke+" works only in math mode")):lr&&Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ke+" doesn't support mu units")}return{type:"kern",mode:Ie.mode,dimension:mt.value}},htmlBuilder:function(ce,ve){return Zt.makeGlue(ce.dimension,ve)},mathmlBuilder:function(ce,ve){var Ie=Wr(ce.dimension,ve);return new ri.SpaceNode(Ie)}}),Vr({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ve[0];return{type:"lap",mode:Ie.mode,alignment:Ke.slice(5),body:mt}},htmlBuilder:function(ce,ve){var Ie;ce.alignment==="clap"?(Ie=Zt.makeSpan([],[ti(ce.body,ve)]),Ie=Zt.makeSpan(["inner"],[Ie],ve)):Ie=Zt.makeSpan(["inner"],[ti(ce.body,ve)]);var Ke=Zt.makeSpan(["fix"],[]),mt=Zt.makeSpan([ce.alignment],[Ie,Ke],ve),Pt=Zt.makeSpan(["strut"]);return Pt.style.height=mt.height+mt.depth+"em",Pt.style.verticalAlign=-mt.depth+"em",mt.children.unshift(Pt),mt=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:mt}]},ve),Zt.makeSpan(["mord"],[mt],ve)},mathmlBuilder:function(ce,ve){var Ie=new ri.MathNode("mpadded",[Br(ce.body,ve)]);if(ce.alignment!=="rlap"){var Ke=ce.alignment==="llap"?"-1":"-0.5";Ie.setAttribute("lspace",Ke+"width")}return Ie.setAttribute("width","0px"),Ie}}),Vr({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ce,ve){var Ie=ce.funcName,Ke=ce.parser,mt=Ke.mode;Ke.switchMode("math");var Pt=Ie==="\\("?"\\)":"$",lr=Ke.parseExpression(!1,Pt);return Ke.expect(Pt),Ke.switchMode(mt),{type:"styling",mode:Ke.mode,style:"text",body:lr}}}),Vr({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ce,ve){throw new u("Mismatched "+ce.funcName)}});var yo=function(ce,ve){switch(ve.style.size){case K.DISPLAY.size:return ce.display;case K.TEXT.size:return ce.text;case K.SCRIPT.size:return ce.script;case K.SCRIPTSCRIPT.size:return ce.scriptscript;default:return ce.text}};Vr({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(ce,ve){var Ie=ce.parser;return{type:"mathchoice",mode:Ie.mode,display:Hn(ve[0]),text:Hn(ve[1]),script:Hn(ve[2]),scriptscript:Hn(ve[3])}},htmlBuilder:function(ce,ve){var Ie=yo(ce,ve),Ke=qr(Ie,ve,!1);return Zt.makeFragment(Ke)},mathmlBuilder:function(ce,ve){var Ie=yo(ce,ve);return tn(Ie,ve)}});var ra=function(ce,ve,Ie,Ke,mt,Pt,lr){ce=Zt.makeSpan([],[ce]);var yr,kr;if(ve){var ln=ti(ve,Ke.havingStyle(mt.sup()),Ke);kr={elem:ln,kern:Math.max(Ke.fontMetrics().bigOpSpacing1,Ke.fontMetrics().bigOpSpacing3-ln.depth)}}if(Ie){var En=ti(Ie,Ke.havingStyle(mt.sub()),Ke);yr={elem:En,kern:Math.max(Ke.fontMetrics().bigOpSpacing2,Ke.fontMetrics().bigOpSpacing4-En.height)}}var oi;if(kr&&yr){var yi=Ke.fontMetrics().bigOpSpacing5+yr.elem.height+yr.elem.depth+yr.kern+ce.depth+lr;oi=Zt.makeVList({positionType:"bottom",positionData:yi,children:[{type:"kern",size:Ke.fontMetrics().bigOpSpacing5},{type:"elem",elem:yr.elem,marginLeft:-Pt+"em"},{type:"kern",size:yr.kern},{type:"elem",elem:ce},{type:"kern",size:kr.kern},{type:"elem",elem:kr.elem,marginLeft:Pt+"em"},{type:"kern",size:Ke.fontMetrics().bigOpSpacing5}]},Ke)}else if(yr){var Ti=ce.height-lr;oi=Zt.makeVList({positionType:"top",positionData:Ti,children:[{type:"kern",size:Ke.fontMetrics().bigOpSpacing5},{type:"elem",elem:yr.elem,marginLeft:-Pt+"em"},{type:"kern",size:yr.kern},{type:"elem",elem:ce}]},Ke)}else if(kr){var ji=ce.depth+lr;oi=Zt.makeVList({positionType:"bottom",positionData:ji,children:[{type:"elem",elem:ce},{type:"kern",size:kr.kern},{type:"elem",elem:kr.elem,marginLeft:Pt+"em"},{type:"kern",size:Ke.fontMetrics().bigOpSpacing5}]},Ke)}else return ce;return Zt.makeSpan(["mop","op-limits"],[oi],Ke)},oo=["\\smallint"],to=function(ce,ve){var Ie,Ke,mt=!1,Pt,lr=xr(ce,"supsub");lr?(Ie=lr.sup,Ke=lr.sub,Pt=Ir(lr.base,"op"),mt=!0):Pt=Ir(ce,"op");var yr=ve.style,kr=!1;yr.size===K.DISPLAY.size&&Pt.symbol&&!m.contains(oo,Pt.name)&&(kr=!0);var ln;if(Pt.symbol){var En=kr?"Size2-Regular":"Size1-Regular",oi="";if((Pt.name==="\\oiint"||Pt.name==="\\oiiint")&&(oi=Pt.name.substr(1),Pt.name=oi==="oiint"?"\\iint":"\\iiint"),ln=Zt.makeSymbol(Pt.name,En,"math",ve,["mop","op-symbol",kr?"large-op":"small-op"]),oi.length>0){var yi=ln.italic,Ti=Zt.staticSvg(oi+"Size"+(kr?"2":"1"),ve);ln=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ln,shift:0},{type:"elem",elem:Ti,shift:kr?.08:0}]},ve),Pt.name="\\"+oi,ln.classes.unshift("mop"),ln.italic=yi}}else if(Pt.body){var ji=qr(Pt.body,ve,!0);ji.length===1&&ji[0]instanceof Se?(ln=ji[0],ln.classes[0]="mop"):ln=Zt.makeSpan(["mop"],Zt.tryCombineChars(ji),ve)}else{for(var na=[],Pa=1;Pa<Pt.name.length;Pa++)na.push(Zt.mathsym(Pt.name[Pa],Pt.mode,ve));ln=Zt.makeSpan(["mop"],na,ve)}var Va=0,Qa=0;return(ln instanceof Se||Pt.name==="\\oiint"||Pt.name==="\\oiiint")&&!Pt.suppressBaseShift&&(Va=(ln.height-ln.depth)/2-ve.fontMetrics().axisHeight,Qa=ln.italic),mt?ra(ln,Ie,Ke,ve,yr,Qa,Va):(Va&&(ln.style.position="relative",ln.style.top=Va+"em"),ln)},Za=function(ce,ve){var Ie;if(ce.symbol)Ie=new Pi("mo",[pt(ce.name,ce.mode)]),m.contains(oo,ce.name)&&Ie.setAttribute("largeop","false");else if(ce.body)Ie=new Pi("mo",Dr(ce.body,ve));else{Ie=new Pi("mi",[new ki(ce.name.slice(1))]);var Ke=new Pi("mo",[pt("\u2061","text")]);ce.parentIsSupSub?Ie=new Pi("mo",[Ie,Ke]):Ie=xi([Ie,Ke])}return Ie},Lo={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Vr({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,ve){var Ie=ce.parser,Ke=ce.funcName,mt=Ke;return mt.length===1&&(mt=Lo[mt]),{type:"op",mode:Ie.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:mt}},htmlBuilder:to,mathmlBuilder:Za}),Vr({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(ce,ve){var Ie=ce.parser,Ke=ve[0];return{type:"op",mode:Ie.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Hn(Ke)}},htmlBuilder:to,mathmlBuilder:Za});var io={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Vr({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 ve=ce.parser,Ie=ce.funcName;return{type:"op",mode:ve.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:Ie}},htmlBuilder:to,mathmlBuilder:Za}),Vr({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(ce){var ve=ce.parser,Ie=ce.funcName;return{type:"op",mode:ve.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:Ie}},htmlBuilder:to,mathmlBuilder:Za}),Vr({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(ce){var ve=ce.parser,Ie=ce.funcName,Ke=Ie;return Ke.length===1&&(Ke=io[Ke]),{type:"op",mode:ve.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Ke}},htmlBuilder:to,mathmlBuilder:Za});var Da=function(ce,ve){var Ie,Ke,mt=!1,Pt,lr=xr(ce,"supsub");lr?(Ie=lr.sup,Ke=lr.sub,Pt=Ir(lr.base,"operatorname"),mt=!0):Pt=Ir(ce,"operatorname");var yr;if(Pt.body.length>0){for(var kr=Pt.body.map(function(yi){var Ti=yi.text;return typeof Ti=="string"?{type:"textord",mode:yi.mode,text:Ti}:yi}),ln=qr(kr,ve.withFont("mathrm"),!0),En=0;En<ln.length;En++){var oi=ln[En];oi instanceof Se&&(oi.text=oi.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}yr=Zt.makeSpan(["mop"],ln,ve)}else yr=Zt.makeSpan(["mop"],[],ve);return mt?ra(yr,Ie,Ke,ve,ve.style,0,0):yr},Co=function(ce,ve){for(var Ie=Dr(ce.body,ve.withFont("mathrm")),Ke=!0,mt=0;mt<Ie.length;mt++){var Pt=Ie[mt];if(!(Pt instanceof ri.SpaceNode))if(Pt instanceof ri.MathNode)switch(Pt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var lr=Pt.children[0];Pt.children.length===1&&lr instanceof ri.TextNode?lr.text=lr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Ke=!1;break}default:Ke=!1}else Ke=!1}if(Ke){var yr=Ie.map(function(En){return En.toText()}).join("");Ie=[new ri.TextNode(yr)]}var kr=new ri.MathNode("mi",Ie);kr.setAttribute("mathvariant","normal");var ln=new ri.MathNode("mo",[pt("\u2061","text")]);return ce.parentIsSupSub?new ri.MathNode("mo",[kr,ln]):ri.newDocumentFragment([kr,ln])};Vr({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ve[0];return{type:"operatorname",mode:Ie.mode,body:Hn(mt),alwaysHandleSupSub:Ke==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Da,mathmlBuilder:Co}),ni({type:"ordgroup",htmlBuilder:function(ce,ve){return ce.semisimple?Zt.makeFragment(qr(ce.body,ve,!1)):Zt.makeSpan(["mord"],qr(ce.body,ve,!0),ve)},mathmlBuilder:function(ce,ve){return tn(ce.body,ve,!0)}}),Vr({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(ce,ve){var Ie=ce.parser,Ke=ve[0];return{type:"overline",mode:Ie.mode,body:Ke}},htmlBuilder:function(ce,ve){var Ie=ti(ce.body,ve.havingCrampedStyle()),Ke=Zt.makeLineSpan("overline-line",ve),mt=ve.fontMetrics().defaultRuleThickness,Pt=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie},{type:"kern",size:3*mt},{type:"elem",elem:Ke},{type:"kern",size:mt}]},ve);return Zt.makeSpan(["mord","overline"],[Pt],ve)},mathmlBuilder:function(ce,ve){var Ie=new ri.MathNode("mo",[new ri.TextNode("\u203E")]);Ie.setAttribute("stretchy","true");var Ke=new ri.MathNode("mover",[Br(ce.body,ve),Ie]);return Ke.setAttribute("accent","true"),Ke}}),Vr({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser,Ke=ve[0];return{type:"phantom",mode:Ie.mode,body:Hn(Ke)}},htmlBuilder:function(ce,ve){var Ie=qr(ce.body,ve.withPhantom(),!1);return Zt.makeFragment(Ie)},mathmlBuilder:function(ce,ve){var Ie=Dr(ce.body,ve);return new ri.MathNode("mphantom",Ie)}}),Vr({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser,Ke=ve[0];return{type:"hphantom",mode:Ie.mode,body:Ke}},htmlBuilder:function(ce,ve){var Ie=Zt.makeSpan([],[ti(ce.body,ve.withPhantom())]);if(Ie.height=0,Ie.depth=0,Ie.children)for(var Ke=0;Ke<Ie.children.length;Ke++)Ie.children[Ke].height=0,Ie.children[Ke].depth=0;return Ie=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie}]},ve),Zt.makeSpan(["mord"],[Ie],ve)},mathmlBuilder:function(ce,ve){var Ie=Dr(Hn(ce.body),ve),Ke=new ri.MathNode("mphantom",Ie),mt=new ri.MathNode("mpadded",[Ke]);return mt.setAttribute("height","0px"),mt.setAttribute("depth","0px"),mt}}),Vr({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser,Ke=ve[0];return{type:"vphantom",mode:Ie.mode,body:Ke}},htmlBuilder:function(ce,ve){var Ie=Zt.makeSpan(["inner"],[ti(ce.body,ve.withPhantom())]),Ke=Zt.makeSpan(["fix"],[]);return Zt.makeSpan(["mord","rlap"],[Ie,Ke],ve)},mathmlBuilder:function(ce,ve){var Ie=Dr(Hn(ce.body),ve),Ke=new ri.MathNode("mphantom",Ie),mt=new ri.MathNode("mpadded",[Ke]);return mt.setAttribute("width","0px"),mt}}),Vr({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser,Ke=Ir(ve[0],"size").value,mt=ve[1];return{type:"raisebox",mode:Ie.mode,dy:Ke,body:mt}},htmlBuilder:function(ce,ve){var Ie=ti(ce.body,ve),Ke=Wr(ce.dy,ve);return Zt.makeVList({positionType:"shift",positionData:-Ke,children:[{type:"elem",elem:Ie}]},ve)},mathmlBuilder:function(ce,ve){var Ie=new ri.MathNode("mpadded",[Br(ce.body,ve)]),Ke=ce.dy.number+ce.dy.unit;return Ie.setAttribute("voffset",Ke),Ie}}),Vr({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(ce,ve,Ie){var Ke=ce.parser,mt=Ie[0],Pt=Ir(ve[0],"size"),lr=Ir(ve[1],"size");return{type:"rule",mode:Ke.mode,shift:mt&&Ir(mt,"size").value,width:Pt.value,height:lr.value}},htmlBuilder:function(ce,ve){var Ie=Zt.makeSpan(["mord","rule"],[],ve),Ke=Wr(ce.width,ve),mt=Wr(ce.height,ve),Pt=ce.shift?Wr(ce.shift,ve):0;return Ie.style.borderRightWidth=Ke+"em",Ie.style.borderTopWidth=mt+"em",Ie.style.bottom=Pt+"em",Ie.width=Ke,Ie.height=mt+Pt,Ie.depth=-Pt,Ie.maxFontSize=mt*1.125*ve.sizeMultiplier,Ie},mathmlBuilder:function(ce,ve){var Ie=Wr(ce.width,ve),Ke=Wr(ce.height,ve),mt=ce.shift?Wr(ce.shift,ve):0,Pt=ve.color&&ve.getColor()||"black",lr=new ri.MathNode("mspace");lr.setAttribute("mathbackground",Pt),lr.setAttribute("width",Ie+"em"),lr.setAttribute("height",Ke+"em");var yr=new ri.MathNode("mpadded",[lr]);return mt>=0?yr.setAttribute("height","+"+mt+"em"):(yr.setAttribute("height",mt+"em"),yr.setAttribute("depth","+"+-mt+"em")),yr.setAttribute("voffset",mt+"em"),yr}});function $o(gt,ce,ve){for(var Ie=qr(gt,ce,!1),Ke=ce.sizeMultiplier/ve.sizeMultiplier,mt=0;mt<Ie.length;mt++){var Pt=Ie[mt].classes.indexOf("sizing");Pt<0?Array.prototype.push.apply(Ie[mt].classes,ce.sizingClasses(ve)):Ie[mt].classes[Pt+1]==="reset-size"+ce.size&&(Ie[mt].classes[Pt+1]="reset-size"+ve.size),Ie[mt].height*=Ke,Ie[mt].depth*=Ke}return Zt.makeFragment(Ie)}var ns=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],es=function(ce,ve){var Ie=ve.havingSize(ce.size);return $o(ce.body,Ie,ve)};Vr({type:"sizing",names:ns,props:{numArgs:0,allowedInText:!0},handler:function(ce,ve){var Ie=ce.breakOnTokenText,Ke=ce.funcName,mt=ce.parser,Pt=mt.parseExpression(!1,Ie);return{type:"sizing",mode:mt.mode,size:ns.indexOf(Ke)+1,body:Pt}},htmlBuilder:es,mathmlBuilder:function(ce,ve){var Ie=ve.havingSize(ce.size),Ke=Dr(ce.body,Ie),mt=new ri.MathNode("mstyle",Ke);return mt.setAttribute("mathsize",Ie.sizeMultiplier+"em"),mt}}),Vr({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(ce,ve,Ie){var Ke=ce.parser,mt=!1,Pt=!1,lr=Ie[0]&&Ir(Ie[0],"ordgroup");if(lr)for(var yr="",kr=0;kr<lr.body.length;++kr){var ln=lr.body[kr];if(yr=ln.text,yr==="t")mt=!0;else if(yr==="b")Pt=!0;else{mt=!1,Pt=!1;break}}else mt=!0,Pt=!0;var En=ve[0];return{type:"smash",mode:Ke.mode,body:En,smashHeight:mt,smashDepth:Pt}},htmlBuilder:function(ce,ve){var Ie=Zt.makeSpan([],[ti(ce.body,ve)]);if(!ce.smashHeight&&!ce.smashDepth)return Ie;if(ce.smashHeight&&(Ie.height=0,Ie.children))for(var Ke=0;Ke<Ie.children.length;Ke++)Ie.children[Ke].height=0;if(ce.smashDepth&&(Ie.depth=0,Ie.children))for(var mt=0;mt<Ie.children.length;mt++)Ie.children[mt].depth=0;var Pt=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie}]},ve);return Zt.makeSpan(["mord"],[Pt],ve)},mathmlBuilder:function(ce,ve){var Ie=new ri.MathNode("mpadded",[Br(ce.body,ve)]);return ce.smashHeight&&Ie.setAttribute("height","0px"),ce.smashDepth&&Ie.setAttribute("depth","0px"),Ie}}),Vr({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(ce,ve,Ie){var Ke=ce.parser,mt=Ie[0],Pt=ve[0];return{type:"sqrt",mode:Ke.mode,body:Pt,index:mt}},htmlBuilder:function(ce,ve){var Ie=ti(ce.body,ve.havingCrampedStyle());Ie.height===0&&(Ie.height=ve.fontMetrics().xHeight),Ie=Zt.wrapFragment(Ie,ve);var Ke=ve.fontMetrics(),mt=Ke.defaultRuleThickness,Pt=mt;ve.style.id<K.TEXT.id&&(Pt=ve.fontMetrics().xHeight);var lr=mt+Pt/4,yr=Ie.height+Ie.depth+lr+mt,kr=za.sqrtImage(yr,ve),ln=kr.span,En=kr.ruleWidth,oi=kr.advanceWidth,yi=ln.height-En;yi>Ie.height+Ie.depth+lr&&(lr=(lr+yi-Ie.height-Ie.depth)/2);var Ti=ln.height-Ie.height-lr-En;Ie.style.paddingLeft=oi+"em";var ji=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie,wrapperClasses:["svg-align"]},{type:"kern",size:-(Ie.height+Ti)},{type:"elem",elem:ln},{type:"kern",size:En}]},ve);if(ce.index){var na=ve.havingStyle(K.SCRIPTSCRIPT),Pa=ti(ce.index,na,ve),Va=.6*(ji.height-ji.depth),Qa=Zt.makeVList({positionType:"shift",positionData:-Va,children:[{type:"elem",elem:Pa}]},ve),To=Zt.makeSpan(["root"],[Qa]);return Zt.makeSpan(["mord","sqrt"],[To,ji],ve)}else return Zt.makeSpan(["mord","sqrt"],[ji],ve)},mathmlBuilder:function(ce,ve){var Ie=ce.body,Ke=ce.index;return Ke?new ri.MathNode("mroot",[Br(Ie,ve),Br(Ke,ve)]):new ri.MathNode("msqrt",[Br(Ie,ve)])}});var va={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT};Vr({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(ce,ve){var Ie=ce.breakOnTokenText,Ke=ce.funcName,mt=ce.parser,Pt=mt.parseExpression(!0,Ie),lr=Ke.slice(1,Ke.length-5);return{type:"styling",mode:mt.mode,style:lr,body:Pt}},htmlBuilder:function(ce,ve){var Ie=va[ce.style],Ke=ve.havingStyle(Ie).withFont("");return $o(ce.body,Ke,ve)},mathmlBuilder:function(ce,ve){var Ie=va[ce.style],Ke=ve.havingStyle(Ie),mt=Dr(ce.body,Ke),Pt=new ri.MathNode("mstyle",mt),lr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},yr=lr[ce.style];return Pt.setAttribute("scriptlevel",yr[0]),Pt.setAttribute("displaystyle",yr[1]),Pt}});var pa=function(ce,ve){var Ie=ce.base;if(Ie)if(Ie.type==="op"){var Ke=Ie.limits&&(ve.style.size===K.DISPLAY.size||Ie.alwaysHandleSupSub);return Ke?to:null}else if(Ie.type==="operatorname"){var mt=Ie.alwaysHandleSupSub&&(ve.style.size===K.DISPLAY.size||Ie.limits);return mt?Da:null}else{if(Ie.type==="accent")return m.isCharacterBox(Ie.base)?Qr:null;if(Ie.type==="horizBrace"){var Pt=!ce.sub;return Pt===Ie.isOver?vo:null}else return null}else return null};ni({type:"supsub",htmlBuilder:function(ce,ve){var Ie=pa(ce,ve);if(Ie)return Ie(ce,ve);var Ke=ce.base,mt=ce.sup,Pt=ce.sub,lr=ti(Ke,ve),yr,kr,ln=ve.fontMetrics(),En=0,oi=0,yi=Ke&&m.isCharacterBox(Ke);if(mt){var Ti=ve.havingStyle(ve.style.sup());yr=ti(mt,Ti,ve),yi||(En=lr.height-Ti.fontMetrics().supDrop*Ti.sizeMultiplier/ve.sizeMultiplier)}if(Pt){var ji=ve.havingStyle(ve.style.sub());kr=ti(Pt,ji,ve),yi||(oi=lr.depth+ji.fontMetrics().subDrop*ji.sizeMultiplier/ve.sizeMultiplier)}var na;ve.style===K.DISPLAY?na=ln.sup1:ve.style.cramped?na=ln.sup3:na=ln.sup2;var Pa=ve.sizeMultiplier,Va=.5/ln.ptPerEm/Pa+"em",Qa=null;if(kr){var To=ce.base&&ce.base.type==="op"&&ce.base.name&&(ce.base.name==="\\oiint"||ce.base.name==="\\oiiint");(lr instanceof Se||To)&&(Qa=-lr.italic+"em")}var eo;if(yr&&kr){En=Math.max(En,na,yr.depth+.25*ln.xHeight),oi=Math.max(oi,ln.sub2);var Io=ln.defaultRuleThickness,Ha=4*Io;if(En-yr.depth-(kr.height-oi)<Ha){oi=Ha-(En-yr.depth)+kr.height;var Oo=.8*ln.xHeight-(En-yr.depth);Oo>0&&(En+=Oo,oi-=Oo)}var is=[{type:"elem",elem:kr,shift:oi,marginRight:Va,marginLeft:Qa},{type:"elem",elem:yr,shift:-En,marginRight:Va}];eo=Zt.makeVList({positionType:"individualShift",children:is},ve)}else if(kr){oi=Math.max(oi,ln.sub1,kr.height-.8*ln.xHeight);var mo=[{type:"elem",elem:kr,marginLeft:Qa,marginRight:Va}];eo=Zt.makeVList({positionType:"shift",positionData:oi,children:mo},ve)}else if(yr)En=Math.max(En,na,yr.depth+.25*ln.xHeight),eo=Zt.makeVList({positionType:"shift",positionData:-En,children:[{type:"elem",elem:yr,marginRight:Va}]},ve);else throw new Error("supsub must have either sup or sub.");var go=On(lr,"right")||"mord";return Zt.makeSpan([go],[lr,Zt.makeSpan(["msupsub"],[eo])],ve)},mathmlBuilder:function(ce,ve){var Ie=!1,Ke,mt,Pt=xr(ce.base,"horizBrace");Pt&&(mt=!!ce.sup,mt===Pt.isOver&&(Ie=!0,Ke=Pt.isOver)),ce.base&&(ce.base.type==="op"||ce.base.type==="operatorname")&&(ce.base.parentIsSupSub=!0);var lr=[Br(ce.base,ve)];ce.sub&&lr.push(Br(ce.sub,ve)),ce.sup&&lr.push(Br(ce.sup,ve));var yr;if(Ie)yr=Ke?"mover":"munder";else if(ce.sub)if(ce.sup){var En=ce.base;En&&En.type==="op"&&En.limits&&ve.style===K.DISPLAY||En&&En.type==="operatorname"&&En.alwaysHandleSupSub&&(ve.style===K.DISPLAY||En.limits)?yr="munderover":yr="msubsup"}else{var ln=ce.base;ln&&ln.type==="op"&&ln.limits&&(ve.style===K.DISPLAY||ln.alwaysHandleSupSub)||ln&&ln.type==="operatorname"&&ln.alwaysHandleSupSub&&(ln.limits||ve.style===K.DISPLAY)?yr="munder":yr="msub"}else{var kr=ce.base;kr&&kr.type==="op"&&kr.limits&&(ve.style===K.DISPLAY||kr.alwaysHandleSupSub)||kr&&kr.type==="operatorname"&&kr.alwaysHandleSupSub&&(kr.limits||ve.style===K.DISPLAY)?yr="mover":yr="msup"}var oi=new ri.MathNode(yr,lr);return oi}}),ni({type:"atom",htmlBuilder:function(ce,ve){return Zt.mathsym(ce.text,ce.mode,ve,["m"+ce.family])},mathmlBuilder:function(ce,ve){var Ie=new ri.MathNode("mo",[pt(ce.text,ce.mode)]);if(ce.family==="bin"){var Ke=_r(ce,ve);Ke==="bold-italic"&&Ie.setAttribute("mathvariant",Ke)}else ce.family==="punct"?Ie.setAttribute("separator","true"):(ce.family==="open"||ce.family==="close")&&Ie.setAttribute("stretchy","false");return Ie}});var ca={mi:"italic",mn:"normal",mtext:"normal"};ni({type:"mathord",htmlBuilder:function(ce,ve){return Zt.makeOrd(ce,ve,"mathord")},mathmlBuilder:function(ce,ve){var Ie=new ri.MathNode("mi",[pt(ce.text,ce.mode,ve)]),Ke=_r(ce,ve)||"italic";return Ke!==ca[Ie.type]&&Ie.setAttribute("mathvariant",Ke),Ie}}),ni({type:"textord",htmlBuilder:function(ce,ve){return Zt.makeOrd(ce,ve,"textord")},mathmlBuilder:function(ce,ve){var Ie=pt(ce.text,ce.mode,ve),Ke=_r(ce,ve)||"normal",mt;return ce.mode==="text"?mt=new ri.MathNode("mtext",[Ie]):/[0-9]/.test(ce.text)?mt=new ri.MathNode("mn",[Ie]):ce.text==="\\prime"?mt=new ri.MathNode("mo",[Ie]):mt=new ri.MathNode("mi",[Ie]),Ke!==ca[mt.type]&&mt.setAttribute("mathvariant",Ke),mt}});var Ai={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ba={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ni({type:"spacing",htmlBuilder:function(ce,ve){if(ba.hasOwnProperty(ce.text)){var Ie=ba[ce.text].className||"";if(ce.mode==="text"){var Ke=Zt.makeOrd(ce,ve,"textord");return Ke.classes.push(Ie),Ke}else return Zt.makeSpan(["mspace",Ie],[Zt.mathsym(ce.text,ce.mode,ve)],ve)}else{if(Ai.hasOwnProperty(ce.text))return Zt.makeSpan(["mspace",Ai[ce.text]],[],ve);throw new u('Unknown type of space "'+ce.text+'"')}},mathmlBuilder:function(ce,ve){var Ie;if(ba.hasOwnProperty(ce.text))Ie=new ri.MathNode("mtext",[new ri.TextNode("\xA0")]);else{if(Ai.hasOwnProperty(ce.text))return new ri.MathNode("mspace");throw new u('Unknown type of space "'+ce.text+'"')}return Ie}});var $a=function(){var ce=new ri.MathNode("mtd",[]);return ce.setAttribute("width","50%"),ce};ni({type:"tag",mathmlBuilder:function(ce,ve){var Ie=new ri.MathNode("mtable",[new ri.MathNode("mtr",[$a(),new ri.MathNode("mtd",[tn(ce.body,ve)]),$a(),new ri.MathNode("mtd",[tn(ce.tag,ve)])])]);return Ie.setAttribute("width","100%"),Ie}});var ms={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Wo={"\\textbf":"textbf","\\textmd":"textmd"},Rs={"\\textit":"textit","\\textup":"textup"},Ms=function(ce,ve){var Ie=ce.font;return Ie?ms[Ie]?ve.withTextFontFamily(ms[Ie]):Wo[Ie]?ve.withTextFontWeight(Wo[Ie]):ve.withTextFontShape(Rs[Ie]):ve};Vr({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser,Ke=ce.funcName,mt=ve[0];return{type:"text",mode:Ie.mode,body:Hn(mt),font:Ke}},htmlBuilder:function(ce,ve){var Ie=Ms(ce,ve),Ke=qr(ce.body,Ie,!0);return Zt.makeSpan(["mord","text"],Zt.tryCombineChars(Ke),Ie)},mathmlBuilder:function(ce,ve){var Ie=Ms(ce,ve);return tn(ce.body,Ie)}}),Vr({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){var Ie=ce.parser;return{type:"underline",mode:Ie.mode,body:ve[0]}},htmlBuilder:function(ce,ve){var Ie=ti(ce.body,ve),Ke=Zt.makeLineSpan("underline-line",ve),mt=ve.fontMetrics().defaultRuleThickness,Pt=Zt.makeVList({positionType:"top",positionData:Ie.height,children:[{type:"kern",size:mt},{type:"elem",elem:Ke},{type:"kern",size:3*mt},{type:"elem",elem:Ie}]},ve);return Zt.makeSpan(["mord","underline"],[Pt],ve)},mathmlBuilder:function(ce,ve){var Ie=new ri.MathNode("mo",[new ri.TextNode("\u203E")]);Ie.setAttribute("stretchy","true");var Ke=new ri.MathNode("munder",[Br(ce.body,ve),Ie]);return Ke.setAttribute("accentunder","true"),Ke}}),Vr({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(ce,ve,Ie){throw new u("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(ce,ve){for(var Ie=al(ce),Ke=[],mt=ve.havingStyle(ve.style.text()),Pt=0;Pt<Ie.length;Pt++){var lr=Ie[Pt];lr==="~"&&(lr="\\textasciitilde"),Ke.push(Zt.makeSymbol(lr,"Typewriter-Regular",ce.mode,mt,["mord","texttt"]))}return Zt.makeSpan(["mord","text"].concat(mt.sizingClasses(ve)),Zt.tryCombineChars(Ke),mt)},mathmlBuilder:function(ce,ve){var Ie=new ri.TextNode(al(ce)),Ke=new ri.MathNode("mtext",[Ie]);return Ke.setAttribute("mathvariant","monospace"),Ke}});var al=function(ce){return ce.body.replace(/ /g,ce.star?"\u2423":"\xA0")},gs=en,Vo=gs,Xo=`[ \r
]`,el="\\\\[a-zA-Z@]+",js="\\\\[^\uD800-\uDFFF]",bo=""+el+Xo+"*",wo=new RegExp("^("+el+")"+Xo+"*$"),Wa="[\u0300-\u036F]",Bo=new RegExp(Wa+"+$"),No="("+Xo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Wa+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Wa+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+bo)+("|"+js+")"),Do=function(){function gt(ve,Ie){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=ve,this.settings=Ie,this.tokenRegex=new RegExp(No,"g"),this.catcodes={"%":14}}var ce=gt.prototype;return ce.setCatcode=function(Ie,Ke){this.catcodes[Ie]=Ke},ce.lex=function(){var Ie=this.input,Ke=this.tokenRegex.lastIndex;if(Ke===Ie.length)return new f("EOF",new v(this,Ke,Ke));var mt=this.tokenRegex.exec(Ie);if(mt===null||mt.index!==Ke)throw new u("Unexpected character: '"+Ie[Ke]+"'",new f(Ie[Ke],new v(this,Ke,Ke+1)));var Pt=mt[2]||" ";if(this.catcodes[Pt]===14){var lr=Ie.indexOf(`
`,this.tokenRegex.lastIndex);return lr===-1?(this.tokenRegex.lastIndex=Ie.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=lr+1,this.lex()}var yr=Pt.match(wo);return yr&&(Pt=yr[1]),new f(Pt,new v(this,Ke,this.tokenRegex.lastIndex))},gt}(),Go=function(){function gt(ve,Ie){ve===void 0&&(ve={}),Ie===void 0&&(Ie={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Ie,this.builtins=ve,this.undefStack=[]}var ce=gt.prototype;return ce.beginGroup=function(){this.undefStack.push({})},ce.endGroup=function(){if(this.undefStack.length===0)throw new u("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var Ie=this.undefStack.pop();for(var Ke in Ie)Ie.hasOwnProperty(Ke)&&(Ie[Ke]===void 0?delete this.current[Ke]:this.current[Ke]=Ie[Ke])},ce.has=function(Ie){return this.current.hasOwnProperty(Ie)||this.builtins.hasOwnProperty(Ie)},ce.get=function(Ie){return this.current.hasOwnProperty(Ie)?this.current[Ie]:this.builtins[Ie]},ce.set=function(Ie,Ke,mt){if(mt===void 0&&(mt=!1),mt){for(var Pt=0;Pt<this.undefStack.length;Pt++)delete this.undefStack[Pt][Ie];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Ie]=Ke)}else{var lr=this.undefStack[this.undefStack.length-1];lr&&!lr.hasOwnProperty(Ie)&&(lr[Ie]=this.current[Ie])}this.current[Ie]=Ke},gt}(),Po={},Uo=Po;function Cr(gt,ce){Po[gt]=ce}Cr("\\@firstoftwo",function(gt){var ce=gt.consumeArgs(2);return{tokens:ce[0],numArgs:0}}),Cr("\\@secondoftwo",function(gt){var ce=gt.consumeArgs(2);return{tokens:ce[1],numArgs:0}}),Cr("\\@ifnextchar",function(gt){var ce=gt.consumeArgs(3),ve=gt.future();return ce[0].length===1&&ce[0][0].text===ve.text?{tokens:ce[1],numArgs:0}:{tokens:ce[2],numArgs:0}}),Cr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Cr("\\TextOrMath",function(gt){var ce=gt.consumeArgs(2);return gt.mode==="text"?{tokens:ce[0],numArgs:0}:{tokens:ce[1],numArgs:0}});var Qn={"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};Cr("\\char",function(gt){var ce=gt.popToken(),ve,Ie="";if(ce.text==="'")ve=8,ce=gt.popToken();else if(ce.text==='"')ve=16,ce=gt.popToken();else if(ce.text==="`")if(ce=gt.popToken(),ce.text[0]==="\\")Ie=ce.text.charCodeAt(1);else{if(ce.text==="EOF")throw new u("\\char` missing argument");Ie=ce.text.charCodeAt(0)}else ve=10;if(ve){if(Ie=Qn[ce.text],Ie==null||Ie>=ve)throw new u("Invalid base-"+ve+" digit "+ce.text);for(var Ke;(Ke=Qn[gt.future().text])!=null&&Ke<ve;)Ie*=ve,Ie+=Ke,gt.popToken()}return"\\@char{"+Ie+"}"});var Ga=function(ce,ve){var Ie=ce.consumeArgs(1)[0];if(Ie.length!==1)throw new u("\\gdef's first argument must be a macro name");var Ke=Ie[0].text,mt=0;for(Ie=ce.consumeArgs(1)[0];Ie.length===1&&Ie[0].text==="#";){if(Ie=ce.consumeArgs(1)[0],Ie.length!==1)throw new u('Invalid argument number length "'+Ie.length+'"');if(!/^[1-9]$/.test(Ie[0].text))throw new u('Invalid argument number "'+Ie[0].text+'"');if(mt++,parseInt(Ie[0].text)!==mt)throw new u('Argument number "'+Ie[0].text+'" out of order');Ie=ce.consumeArgs(1)[0]}return ce.macros.set(Ke,{tokens:Ie,numArgs:mt},ve),""};Cr("\\gdef",function(gt){return Ga(gt,!0)}),Cr("\\def",function(gt){return Ga(gt,!1)}),Cr("\\global",function(gt){var ce=gt.consumeArgs(1)[0];if(ce.length!==1)throw new u("Invalid command after \\global");var ve=ce[0].text;if(ve==="\\def")return Ga(gt,!0);throw new u("Invalid command '"+ve+"' after \\global")});var Mo=function(ce,ve,Ie){var Ke=ce.consumeArgs(1)[0];if(Ke.length!==1)throw new u("\\newcommand's first argument must be a macro name");var mt=Ke[0].text,Pt=ce.isDefined(mt);if(Pt&&!ve)throw new u("\\newcommand{"+mt+"} attempting to redefine "+(mt+"; use \\renewcommand"));if(!Pt&&!Ie)throw new u("\\renewcommand{"+mt+"} when command "+mt+" does not yet exist; use \\newcommand");var lr=0;if(Ke=ce.consumeArgs(1)[0],Ke.length===1&&Ke[0].text==="["){for(var yr="",kr=ce.expandNextToken();kr.text!=="]"&&kr.text!=="EOF";)yr+=kr.text,kr=ce.expandNextToken();if(!yr.match(/^\s*[0-9]+\s*$/))throw new u("Invalid number of arguments: "+yr);lr=parseInt(yr),Ke=ce.consumeArgs(1)[0]}return ce.macros.set(mt,{tokens:Ke,numArgs:lr}),""};Cr("\\newcommand",function(gt){return Mo(gt,!1,!0)}),Cr("\\renewcommand",function(gt){return Mo(gt,!0,!1)}),Cr("\\providecommand",function(gt){return Mo(gt,!0,!0)}),Cr("\\bgroup","{"),Cr("\\egroup","}"),Cr("\\lq","`"),Cr("\\rq","'"),Cr("\\aa","\\r a"),Cr("\\AA","\\r A"),Cr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Cr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Cr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Cr("\u212C","\\mathscr{B}"),Cr("\u2130","\\mathscr{E}"),Cr("\u2131","\\mathscr{F}"),Cr("\u210B","\\mathscr{H}"),Cr("\u2110","\\mathscr{I}"),Cr("\u2112","\\mathscr{L}"),Cr("\u2133","\\mathscr{M}"),Cr("\u211B","\\mathscr{R}"),Cr("\u212D","\\mathfrak{C}"),Cr("\u210C","\\mathfrak{H}"),Cr("\u2128","\\mathfrak{Z}"),Cr("\\Bbbk","\\Bbb{k}"),Cr("\xB7","\\cdotp"),Cr("\\llap","\\mathllap{\\textrm{#1}}"),Cr("\\rlap","\\mathrlap{\\textrm{#1}}"),Cr("\\clap","\\mathclap{\\textrm{#1}}"),Cr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Cr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Cr("\\ne","\\neq"),Cr("\u2260","\\neq"),Cr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Cr("\u2209","\\notin"),Cr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Cr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Cr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Cr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Cr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Cr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Cr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Cr("\u27C2","\\perp"),Cr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Cr("\u220C","\\notni"),Cr("\u231C","\\ulcorner"),Cr("\u231D","\\urcorner"),Cr("\u231E","\\llcorner"),Cr("\u231F","\\lrcorner"),Cr("\xA9","\\copyright"),Cr("\xAE","\\textregistered"),Cr("\uFE0F","\\textregistered"),Cr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Cr("\u22EE","\\vdots"),Cr("\\varGamma","\\mathit{\\Gamma}"),Cr("\\varDelta","\\mathit{\\Delta}"),Cr("\\varTheta","\\mathit{\\Theta}"),Cr("\\varLambda","\\mathit{\\Lambda}"),Cr("\\varXi","\\mathit{\\Xi}"),Cr("\\varPi","\\mathit{\\Pi}"),Cr("\\varSigma","\\mathit{\\Sigma}"),Cr("\\varUpsilon","\\mathit{\\Upsilon}"),Cr("\\varPhi","\\mathit{\\Phi}"),Cr("\\varPsi","\\mathit{\\Psi}"),Cr("\\varOmega","\\mathit{\\Omega}"),Cr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Cr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Cr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Cr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Cr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Cr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Qo={",":"\\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"};Cr("\\dots",function(gt){var ce="\\dotso",ve=gt.expandAfterFuture().text;return ve in Qo?ce=Qo[ve]:ve.substr(0,4)==="\\not"?ce="\\dotsb":ve in Qe.math&&(m.contains(["bin","rel"],Qe.math[ve].group)&&(ce="\\dotsb")),ce});var Vs={")":!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};Cr("\\dotso",function(gt){var ce=gt.future().text;return ce in Vs?"\\ldots\\,":"\\ldots"}),Cr("\\dotsc",function(gt){var ce=gt.future().text;return ce in Vs&&ce!==","?"\\ldots\\,":"\\ldots"}),Cr("\\cdots",function(gt){var ce=gt.future().text;return ce in Vs?"\\@cdots\\,":"\\@cdots"}),Cr("\\dotsb","\\cdots"),Cr("\\dotsm","\\cdots"),Cr("\\dotsi","\\!\\cdots"),Cr("\\dotsx","\\ldots\\,"),Cr("\\DOTSI","\\relax"),Cr("\\DOTSB","\\relax"),Cr("\\DOTSX","\\relax"),Cr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Cr("\\,","\\tmspace+{3mu}{.1667em}"),Cr("\\thinspace","\\,"),Cr("\\>","\\mskip{4mu}"),Cr("\\:","\\tmspace+{4mu}{.2222em}"),Cr("\\medspace","\\:"),Cr("\\;","\\tmspace+{5mu}{.2777em}"),Cr("\\thickspace","\\;"),Cr("\\!","\\tmspace-{3mu}{.1667em}"),Cr("\\negthinspace","\\!"),Cr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Cr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Cr("\\enspace","\\kern.5em "),Cr("\\enskip","\\hskip.5em\\relax"),Cr("\\quad","\\hskip1em\\relax"),Cr("\\qquad","\\hskip2em\\relax"),Cr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Cr("\\tag@paren","\\tag@literal{({#1})}"),Cr("\\tag@literal",function(gt){if(gt.macros.get("\\df@tag"))throw new u("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Cr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Cr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Cr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Cr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Cr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Cr("\\\\","\\newline"),Cr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var xs=st["Main-Regular"]["T".charCodeAt(0)][1]-.7*st["Main-Regular"]["A".charCodeAt(0)][1]+"em";Cr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+xs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Cr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+xs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Cr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Cr("\\@hspace","\\hskip #1\\relax"),Cr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Cr("\\ordinarycolon",":"),Cr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Cr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Cr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Cr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Cr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Cr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Cr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Cr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Cr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Cr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Cr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Cr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Cr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Cr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Cr("\u2237","\\dblcolon"),Cr("\u2239","\\eqcolon"),Cr("\u2254","\\coloneqq"),Cr("\u2255","\\eqqcolon"),Cr("\u2A74","\\Coloneqq"),Cr("\\ratio","\\vcentcolon"),Cr("\\coloncolon","\\dblcolon"),Cr("\\colonequals","\\coloneqq"),Cr("\\coloncolonequals","\\Coloneqq"),Cr("\\equalscolon","\\eqqcolon"),Cr("\\equalscoloncolon","\\Eqqcolon"),Cr("\\colonminus","\\coloneq"),Cr("\\coloncolonminus","\\Coloneq"),Cr("\\minuscolon","\\eqcolon"),Cr("\\minuscoloncolon","\\Eqcolon"),Cr("\\coloncolonapprox","\\Colonapprox"),Cr("\\coloncolonsim","\\Colonsim"),Cr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Cr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Cr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Cr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Cr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Cr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Cr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Cr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Cr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Cr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Cr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Cr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Cr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Cr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Cr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Cr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Cr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Cr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Cr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Cr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Cr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Cr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Cr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Cr("\u27E6","\\llbracket"),Cr("\u27E7","\\rrbracket"),Cr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Cr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Cr("\u2983","\\lBrace"),Cr("\u2984","\\rBrace"),Cr("\\darr","\\downarrow"),Cr("\\dArr","\\Downarrow"),Cr("\\Darr","\\Downarrow"),Cr("\\lang","\\langle"),Cr("\\rang","\\rangle"),Cr("\\uarr","\\uparrow"),Cr("\\uArr","\\Uparrow"),Cr("\\Uarr","\\Uparrow"),Cr("\\N","\\mathbb{N}"),Cr("\\R","\\mathbb{R}"),Cr("\\Z","\\mathbb{Z}"),Cr("\\alef","\\aleph"),Cr("\\alefsym","\\aleph"),Cr("\\Alpha","\\mathrm{A}"),Cr("\\Beta","\\mathrm{B}"),Cr("\\bull","\\bullet"),Cr("\\Chi","\\mathrm{X}"),Cr("\\clubs","\\clubsuit"),Cr("\\cnums","\\mathbb{C}"),Cr("\\Complex","\\mathbb{C}"),Cr("\\Dagger","\\ddagger"),Cr("\\diamonds","\\diamondsuit"),Cr("\\empty","\\emptyset"),Cr("\\Epsilon","\\mathrm{E}"),Cr("\\Eta","\\mathrm{H}"),Cr("\\exist","\\exists"),Cr("\\harr","\\leftrightarrow"),Cr("\\hArr","\\Leftrightarrow"),Cr("\\Harr","\\Leftrightarrow"),Cr("\\hearts","\\heartsuit"),Cr("\\image","\\Im"),Cr("\\infin","\\infty"),Cr("\\Iota","\\mathrm{I}"),Cr("\\isin","\\in"),Cr("\\Kappa","\\mathrm{K}"),Cr("\\larr","\\leftarrow"),Cr("\\lArr","\\Leftarrow"),Cr("\\Larr","\\Leftarrow"),Cr("\\lrarr","\\leftrightarrow"),Cr("\\lrArr","\\Leftrightarrow"),Cr("\\Lrarr","\\Leftrightarrow"),Cr("\\Mu","\\mathrm{M}"),Cr("\\natnums","\\mathbb{N}"),Cr("\\Nu","\\mathrm{N}"),Cr("\\Omicron","\\mathrm{O}"),Cr("\\plusmn","\\pm"),Cr("\\rarr","\\rightarrow"),Cr("\\rArr","\\Rightarrow"),Cr("\\Rarr","\\Rightarrow"),Cr("\\real","\\Re"),Cr("\\reals","\\mathbb{R}"),Cr("\\Reals","\\mathbb{R}"),Cr("\\Rho","\\mathrm{P}"),Cr("\\sdot","\\cdot"),Cr("\\sect","\\S"),Cr("\\spades","\\spadesuit"),Cr("\\sub","\\subset"),Cr("\\sube","\\subseteq"),Cr("\\supe","\\supseteq"),Cr("\\Tau","\\mathrm{T}"),Cr("\\thetasym","\\vartheta"),Cr("\\weierp","\\wp"),Cr("\\Zeta","\\mathrm{Z}"),Cr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Cr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Cr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Cr("\\blue","\\textcolor{##6495ed}{#1}"),Cr("\\orange","\\textcolor{##ffa500}{#1}"),Cr("\\pink","\\textcolor{##ff00af}{#1}"),Cr("\\red","\\textcolor{##df0030}{#1}"),Cr("\\green","\\textcolor{##28ae7b}{#1}"),Cr("\\gray","\\textcolor{gray}{#1}"),Cr("\\purple","\\textcolor{##9d38bd}{#1}"),Cr("\\blueA","\\textcolor{##ccfaff}{#1}"),Cr("\\blueB","\\textcolor{##80f6ff}{#1}"),Cr("\\blueC","\\textcolor{##63d9ea}{#1}"),Cr("\\blueD","\\textcolor{##11accd}{#1}"),Cr("\\blueE","\\textcolor{##0c7f99}{#1}"),Cr("\\tealA","\\textcolor{##94fff5}{#1}"),Cr("\\tealB","\\textcolor{##26edd5}{#1}"),Cr("\\tealC","\\textcolor{##01d1c1}{#1}"),Cr("\\tealD","\\textcolor{##01a995}{#1}"),Cr("\\tealE","\\textcolor{##208170}{#1}"),Cr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Cr("\\greenB","\\textcolor{##8af281}{#1}"),Cr("\\greenC","\\textcolor{##74cf70}{#1}"),Cr("\\greenD","\\textcolor{##1fab54}{#1}"),Cr("\\greenE","\\textcolor{##0d923f}{#1}"),Cr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Cr("\\goldB","\\textcolor{##ffbb71}{#1}"),Cr("\\goldC","\\textcolor{##ff9c39}{#1}"),Cr("\\goldD","\\textcolor{##e07d10}{#1}"),Cr("\\goldE","\\textcolor{##a75a05}{#1}"),Cr("\\redA","\\textcolor{##fca9a9}{#1}"),Cr("\\redB","\\textcolor{##ff8482}{#1}"),Cr("\\redC","\\textcolor{##f9685d}{#1}"),Cr("\\redD","\\textcolor{##e84d39}{#1}"),Cr("\\redE","\\textcolor{##bc2612}{#1}"),Cr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Cr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Cr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Cr("\\maroonD","\\textcolor{##ca337c}{#1}"),Cr("\\maroonE","\\textcolor{##9e034e}{#1}"),Cr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Cr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Cr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Cr("\\purpleD","\\textcolor{##7854ab}{#1}"),Cr("\\purpleE","\\textcolor{##543b78}{#1}"),Cr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Cr("\\mintB","\\textcolor{##edf2df}{#1}"),Cr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Cr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Cr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Cr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Cr("\\grayD","\\textcolor{##d6d8da}{#1}"),Cr("\\grayE","\\textcolor{##babec2}{#1}"),Cr("\\grayF","\\textcolor{##888d93}{#1}"),Cr("\\grayG","\\textcolor{##626569}{#1}"),Cr("\\grayH","\\textcolor{##3b3e40}{#1}"),Cr("\\grayI","\\textcolor{##21242c}{#1}"),Cr("\\kaBlue","\\textcolor{##314453}{#1}"),Cr("\\kaGreen","\\textcolor{##71B307}{#1}");var Es={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},vs=function(){function gt(ve,Ie,Ke){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=Ie,this.expansionCount=0,this.feed(ve),this.macros=new Go(Uo,Ie.macros),this.mode=Ke,this.stack=[]}var ce=gt.prototype;return ce.feed=function(Ie){this.lexer=new Do(Ie,this.settings)},ce.switchMode=function(Ie){this.mode=Ie},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(Ie){this.stack.push(Ie)},ce.pushTokens=function(Ie){var Ke;(Ke=this.stack).push.apply(Ke,Ie)},ce.consumeSpaces=function(){for(;;){var Ie=this.future();if(Ie.text===" ")this.stack.pop();else break}},ce.consumeArgs=function(Ie){for(var Ke=[],mt=0;mt<Ie;++mt){this.consumeSpaces();var Pt=this.popToken();if(Pt.text==="{"){for(var lr=[],yr=1;yr!==0;){var kr=this.popToken();if(lr.push(kr),kr.text==="{")++yr;else if(kr.text==="}")--yr;else if(kr.text==="EOF")throw new u("End of input in macro argument",Pt)}lr.pop(),lr.reverse(),Ke[mt]=lr}else{if(Pt.text==="EOF")throw new u("End of input expecting macro argument");Ke[mt]=[Pt]}}return Ke},ce.expandOnce=function(){var Ie=this.popToken(),Ke=Ie.text,mt=this._getExpansion(Ke);if(mt==null)return this.pushToken(Ie),Ie;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new u("Too many expansions: infinite loop or need to increase maxExpand setting");var Pt=mt.tokens;if(mt.numArgs){var lr=this.consumeArgs(mt.numArgs);Pt=Pt.slice();for(var yr=Pt.length-1;yr>=0;--yr){var kr=Pt[yr];if(kr.text==="#"){if(yr===0)throw new u("Incomplete placeholder at end of macro body",kr);if(kr=Pt[--yr],kr.text==="#")Pt.splice(yr+1,1);else if(/^[1-9]$/.test(kr.text)){var ln;(ln=Pt).splice.apply(ln,[yr,2].concat(lr[+kr.text-1]))}else throw new u("Not a valid argument number",kr)}}}return this.pushTokens(Pt),Pt},ce.expandAfterFuture=function(){return this.expandOnce(),this.future()},ce.expandNextToken=function(){for(;;){var Ie=this.expandOnce();if(Ie instanceof f)if(Ie.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},ce.expandMacro=function(Ie){if(!this.macros.get(Ie))return;var Ke=[],mt=this.stack.length;for(this.pushToken(new f(Ie));this.stack.length>mt;){var Pt=this.expandOnce();Pt instanceof f&&Ke.push(this.stack.pop())}return Ke},ce.expandMacroAsText=function(Ie){var Ke=this.expandMacro(Ie);return Ke&&Ke.map(function(mt){return mt.text}).join("")},ce._getExpansion=function(Ie){var Ke=this.macros.get(Ie);if(Ke==null)return Ke;var mt=typeof Ke=="function"?Ke(this):Ke;if(typeof mt=="string"){var Pt=0;if(mt.indexOf("#")!==-1)for(var lr=mt.replace(/##/g,"");lr.indexOf("#"+(Pt+1))!==-1;)++Pt;for(var yr=new Do(mt,this.settings),kr=[],ln=yr.lex();ln.text!=="EOF";)kr.push(ln),ln=yr.lex();kr.reverse();var En={tokens:kr,numArgs:Pt};return En}return mt},ce.isDefined=function(Ie){return this.macros.has(Ie)||Vo.hasOwnProperty(Ie)||Qe.math.hasOwnProperty(Ie)||Qe.text.hasOwnProperty(Ie)||Es.hasOwnProperty(Ie)},gt}(),Hs={"\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"}},_s={\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"},Fs=function(){function gt(ve,Ie){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 vs(ve,Ie,this.mode),this.settings=Ie,this.leftrightDepth=0}var ce=gt.prototype;return ce.expect=function(Ie,Ke){if(Ke===void 0&&(Ke=!0),this.fetch().text!==Ie)throw new u("Expected '"+Ie+"', got '"+this.fetch().text+"'",this.fetch());Ke&&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(Ie){this.mode=Ie,this.gullet.switchMode(Ie)},ce.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Ie=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Ie},ce.parseExpression=function(Ie,Ke){for(var mt=[];;){this.mode==="math"&&this.consumeSpaces();var Pt=this.fetch();if(gt.endOfExpression.indexOf(Pt.text)!==-1)break;if(Ke&&Pt.text===Ke)break;if(Ie&&Vo[Pt.text]&&Vo[Pt.text].infix)break;var lr=this.parseAtom(Ke);if(!lr)break;mt.push(lr)}return this.mode==="text"&&this.formLigatures(mt),this.handleInfixNodes(mt)},ce.handleInfixNodes=function(Ie){for(var Ke=-1,mt,Pt=0;Pt<Ie.length;Pt++){var lr=xr(Ie[Pt],"infix");if(lr){if(Ke!==-1)throw new u("only one infix operator per group",lr.token);Ke=Pt,mt=lr.replaceWith}}if(Ke!==-1&&mt){var yr,kr,ln=Ie.slice(0,Ke),En=Ie.slice(Ke+1);ln.length===1&&ln[0].type==="ordgroup"?yr=ln[0]:yr={type:"ordgroup",mode:this.mode,body:ln},En.length===1&&En[0].type==="ordgroup"?kr=En[0]:kr={type:"ordgroup",mode:this.mode,body:En};var oi;return mt==="\\\\abovefrac"?oi=this.callFunction(mt,[yr,Ie[Ke],kr],[]):oi=this.callFunction(mt,[yr,kr],[]),[oi]}else return Ie},ce.handleSupSubscript=function(Ie){var Ke=this.fetch(),mt=Ke.text;this.consume();var Pt=this.parseGroup(Ie,!1,gt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Pt)throw new u("Expected group after '"+mt+"'",Ke);return Pt},ce.formatUnsupportedCmd=function(Ie){for(var Ke=[],mt=0;mt<Ie.length;mt++)Ke.push({type:"textord",mode:"text",text:Ie[mt]});var Pt={type:"text",mode:this.mode,body:Ke},lr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Pt]};return lr},ce.parseAtom=function(Ie){var Ke=this.parseGroup("atom",!1,null,Ie);if(this.mode==="text")return Ke;for(var mt,Pt;;){this.consumeSpaces();var lr=this.fetch();if(lr.text==="\\limits"||lr.text==="\\nolimits"){var yr=xr(Ke,"op");if(yr){var kr=lr.text==="\\limits";yr.limits=kr,yr.alwaysHandleSupSub=!0}else if(yr=xr(Ke,"operatorname"),yr&&yr.alwaysHandleSupSub){var ln=lr.text==="\\limits";yr.limits=ln}else throw new u("Limit controls must follow a math operator",lr);this.consume()}else if(lr.text==="^"){if(mt)throw new u("Double superscript",lr);mt=this.handleSupSubscript("superscript")}else if(lr.text==="_"){if(Pt)throw new u("Double subscript",lr);Pt=this.handleSupSubscript("subscript")}else if(lr.text==="'"){if(mt)throw new u("Double superscript",lr);var En={type:"textord",mode:this.mode,text:"\\prime"},oi=[En];for(this.consume();this.fetch().text==="'";)oi.push(En),this.consume();this.fetch().text==="^"&&oi.push(this.handleSupSubscript("superscript")),mt={type:"ordgroup",mode:this.mode,body:oi}}else break}return mt||Pt?{type:"supsub",mode:this.mode,base:Ke,sup:mt,sub:Pt}:Ke},ce.parseFunction=function(Ie,Ke,mt){var Pt=this.fetch(),lr=Pt.text,yr=Vo[lr];if(!yr)return null;if(this.consume(),mt!=null&&yr.greediness<=mt)throw new u("Got function '"+lr+"' with no arguments"+(Ke?" as "+Ke:""),Pt);if(this.mode==="text"&&!yr.allowedInText)throw new u("Can't use function '"+lr+"' in text mode",Pt);if(this.mode==="math"&&yr.allowedInMath===!1)throw new u("Can't use function '"+lr+"' in math mode",Pt);var kr=this.parseArguments(lr,yr),ln=kr.args,En=kr.optArgs;return this.callFunction(lr,ln,En,Pt,Ie)},ce.callFunction=function(Ie,Ke,mt,Pt,lr){var yr={funcName:Ie,parser:this,token:Pt,breakOnTokenText:lr},kr=Vo[Ie];if(kr&&kr.handler)return kr.handler(yr,Ke,mt);throw new u("No function handler for "+Ie)},ce.parseArguments=function(Ie,Ke){var mt=Ke.numArgs+Ke.numOptionalArgs;if(mt===0)return{args:[],optArgs:[]};for(var Pt=Ke.greediness,lr=[],yr=[],kr=0;kr<mt;kr++){var ln=Ke.argTypes&&Ke.argTypes[kr],En=kr<Ke.numOptionalArgs,oi=kr>0&&!En||kr===0&&!En&&this.mode==="math",yi=this.parseGroupOfType("argument to '"+Ie+"'",ln,En,Pt,oi);if(!yi){if(En){yr.push(null);continue}throw new u("Expected group after '"+Ie+"'",this.fetch())}(En?yr:lr).push(yi)}return{args:lr,optArgs:yr}},ce.parseGroupOfType=function(Ie,Ke,mt,Pt,lr){switch(Ke){case"color":return lr&&this.consumeSpaces(),this.parseColorGroup(mt);case"size":return lr&&this.consumeSpaces(),this.parseSizeGroup(mt);case"url":return this.parseUrlGroup(mt,lr);case"math":case"text":return this.parseGroup(Ie,mt,Pt,void 0,Ke,lr);case"hbox":{var yr=this.parseGroup(Ie,mt,Pt,void 0,"text",lr);if(!yr)return yr;var kr={type:"styling",mode:yr.mode,body:[yr],style:"text"};return kr}case"raw":{if(lr&&this.consumeSpaces(),mt&&this.fetch().text==="{")return null;var ln=this.parseStringGroup("raw",mt,!0);if(ln)return{type:"raw",mode:"text",string:ln.text};throw new u("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Ie,mt,Pt,void 0,void 0,lr);default:throw new u("Unknown group type as "+Ie,this.fetch())}},ce.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},ce.parseStringGroup=function(Ie,Ke,mt){var Pt=Ke?"[":"{",lr=Ke?"]":"}",yr=this.fetch();if(yr.text!==Pt){if(Ke)return null;if(mt&&yr.text!=="EOF"&&/[^{}[\]]/.test(yr.text))return this.consume(),yr}var kr=this.mode;this.mode="text",this.expect(Pt);for(var ln="",En=this.fetch(),oi=0,yi=En,Ti;(Ti=this.fetch()).text!==lr||mt&&oi>0;){switch(Ti.text){case"EOF":throw new u("Unexpected end of input in "+Ie,En.range(yi,ln));case Pt:oi++;break;case lr:oi--;break}yi=Ti,ln+=yi.text,this.consume()}return this.expect(lr),this.mode=kr,En.range(yi,ln)},ce.parseRegexGroup=function(Ie,Ke){var mt=this.mode;this.mode="text";for(var Pt=this.fetch(),lr=Pt,yr="",kr;(kr=this.fetch()).text!=="EOF"&&Ie.test(yr+kr.text);)lr=kr,yr+=lr.text,this.consume();if(yr==="")throw new u("Invalid "+Ke+": '"+Pt.text+"'",Pt);return this.mode=mt,Pt.range(lr,yr)},ce.parseColorGroup=function(Ie){var Ke=this.parseStringGroup("color",Ie);if(!Ke)return null;var mt=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Ke.text);if(!mt)throw new u("Invalid color: '"+Ke.text+"'",Ke);var Pt=mt[0];return/^[0-9a-f]{6}$/i.test(Pt)&&(Pt="#"+Pt),{type:"color-token",mode:this.mode,color:Pt}},ce.parseSizeGroup=function(Ie){var Ke,mt=!1;if(!Ie&&this.fetch().text!=="{"?Ke=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Ke=this.parseStringGroup("size",Ie),!Ke)return null;!Ie&&Ke.text.length===0&&(Ke.text="0pt",mt=!0);var Pt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Ke.text);if(!Pt)throw new u("Invalid size: '"+Ke.text+"'",Ke);var lr={number:+(Pt[1]+Pt[2]),unit:Pt[3]};if(!Tr(lr))throw new u("Invalid unit: '"+lr.unit+"'",Ke);return{type:"size",mode:this.mode,value:lr,isBlank:mt}},ce.parseUrlGroup=function(Ie,Ke){this.gullet.lexer.setCatcode("%",13);var mt=this.parseStringGroup("url",Ie,!0);if(this.gullet.lexer.setCatcode("%",14),!mt)return null;var Pt=mt.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Pt}},ce.parseGroup=function(Ie,Ke,mt,Pt,lr,yr){var kr=this.mode;lr&&this.switchMode(lr),yr&&this.consumeSpaces();var ln=this.fetch(),En=ln.text,oi;if(Ke?En==="[":En==="{"||En==="\\begingroup"){this.consume();var yi=gt.endOfGroup[En];this.gullet.beginGroup();var Ti=this.parseExpression(!1,yi),ji=this.fetch();this.expect(yi),this.gullet.endGroup(),oi={type:"ordgroup",mode:this.mode,loc:v.range(ln,ji),body:Ti,semisimple:En==="\\begingroup"||void 0}}else if(Ke)oi=null;else if(oi=this.parseFunction(Pt,Ie,mt)||this.parseSymbol(),oi==null&&En[0]==="\\"&&!Es.hasOwnProperty(En)){if(this.settings.throwOnError)throw new u("Undefined control sequence: "+En,ln);oi=this.formatUnsupportedCmd(En),this.consume()}return lr&&this.switchMode(kr),oi},ce.formLigatures=function(Ie){for(var Ke=Ie.length-1,mt=0;mt<Ke;++mt){var Pt=Ie[mt],lr=Pt.text;lr==="-"&&Ie[mt+1].text==="-"&&(mt+1<Ke&&Ie[mt+2].text==="-"?(Ie.splice(mt,3,{type:"textord",mode:"text",loc:v.range(Pt,Ie[mt+2]),text:"---"}),Ke-=2):(Ie.splice(mt,2,{type:"textord",mode:"text",loc:v.range(Pt,Ie[mt+1]),text:"--"}),Ke-=1)),(lr==="'"||lr==="`")&&Ie[mt+1].text===lr&&(Ie.splice(mt,2,{type:"textord",mode:"text",loc:v.range(Pt,Ie[mt+1]),text:lr+lr}),Ke-=1)}},ce.parseSymbol=function(){var Ie=this.fetch(),Ke=Ie.text;if(/^\\verb[^a-zA-Z]/.test(Ke)){this.consume();var mt=Ke.slice(5),Pt=mt.charAt(0)==="*";if(Pt&&(mt=mt.slice(1)),mt.length<2||mt.charAt(0)!==mt.slice(-1))throw new u(`\\verb assertion failed --
please report what input caused this bug`);return mt=mt.slice(1,-1),{type:"verb",mode:"text",body:mt,star:Pt}}_s.hasOwnProperty(Ke[0])&&!Qe[this.mode][Ke[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Ke[0]+'" used in math mode',Ie),Ke=_s[Ke[0]]+Ke.substr(1));var lr=Bo.exec(Ke);lr&&(Ke=Ke.substring(0,lr.index),Ke==="i"?Ke="\u0131":Ke==="j"&&(Ke="\u0237"));var yr;if(Qe[this.mode][Ke]){this.settings.strict&&this.mode==="math"&&sr.indexOf(Ke)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Ke[0]+'" used in math mode',Ie);var kr=Qe[this.mode][Ke].group,ln=v.range(Ie),En;if(Ut.hasOwnProperty(kr)){var oi=kr;En={type:"atom",mode:this.mode,family:oi,loc:ln,text:Ke}}else En={type:kr,mode:this.mode,loc:ln,text:Ke};yr=En}else if(Ke.charCodeAt(0)>=128)this.settings.strict&&(Y(Ke.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Ke[0]+'" used in math mode',Ie):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Ke[0]+'"'+(" ("+Ke.charCodeAt(0)+")"),Ie)),yr={type:"textord",mode:"text",loc:v.range(Ie),text:Ke};else return null;if(this.consume(),lr)for(var yi=0;yi<lr[0].length;yi++){var Ti=lr[0][yi];if(!Hs[Ti])throw new u("Unknown accent ' "+Ti+"'",Ie);var ji=Hs[Ti][this.mode];if(!ji)throw new u("Accent "+Ti+" unsupported in "+this.mode+" mode",Ie);yr={type:"accent",mode:this.mode,loc:v.range(Ie),label:ji,isStretchy:!1,isShifty:!0,base:yr}}return yr},gt}();Fs.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Fs.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Fs.SUPSUB_GREEDINESS=1;var wl=function(ce,ve){if(!(typeof ce=="string"||ce instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Ie=new Fs(ce,ve);delete Ie.gullet.macros.current["\\df@tag"];var Ke=Ie.parse();if(Ie.gullet.macros.get("\\df@tag")){if(!ve.displayMode)throw new u("\\tag works only in display equations");Ie.gullet.feed("\\df@tag"),Ke=[{type:"tag",mode:"text",body:Ke,tag:Ie.parse()}]}return Ke},ol=wl,vl=function(ce,ve,Ie){ve.textContent="";var Ke=Lt(ce,Ie).toNode();ve.appendChild(Ke)};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."),vl=function(){throw new u("KaTeX doesn't work in quirks mode.")}));var ks=function(ce,ve){var Ie=Lt(ce,ve).toMarkup();return Ie},us=function(ce,ve){var Ie=new S(ve);return ol(ce,Ie)},Et=function(ce,ve,Ie){if(Ie.throwOnError||!(ce instanceof u))throw ce;var Ke=Zt.makeSpan(["katex-error"],[new Se(ve)]);return Ke.setAttribute("title",ce.toString()),Ke.setAttribute("style","color:"+Ie.errorColor),Ke},Lt=function(ce,ve){var Ie=new S(ve);try{var Ke=ol(ce,Ie);return hi(Ke,ce,Ie)}catch(mt){return Et(mt,ce,Ie)}},Ur=function(ce,ve){var Ie=new S(ve);try{var Ke=ol(ce,Ie);return li(Ke,ce,Ie)}catch(mt){return Et(mt,ce,Ie)}},un={version:"0.11.1",render:vl,renderToString:ks,ParseError:u,__parse:us,__renderToDomTree:Lt,__renderToHTMLTree:Ur,__setFontMetrics:St,__defineSymbol:te,__defineMacro:Cr,__domTree:{Span:X,Anchor:Z,SymbolNode:Se,SvgNode:me,PathNode:$,LineNode:we}},kn=A.default=un}]).default})},P2fV:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("Q9mQ"),g=d("+L6B"),v=d("sE09"),f=d.n(v)},P2ho:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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};B.default=w},P47w:function(k,B,d){var w=d("hydK"),A=w.createElement,b=d("IMiH"),g=d("mFDi"),v=d("Fofx"),f=d("6GrX"),l=d("pzxd"),u=d("dqUG"),o=b.CMD,e=Array.prototype.join,n="none",i=Math.round,r=Math.sin,s=Math.cos,t=Math.PI,a=Math.PI*2,c=180/t,h=1e-4;function p(G){return i(G*1e4)/1e4}function m(G){return G<h&&G>-h}function S(G,z){var Y=z?G.textFill:G.fill;return Y!=null&&Y!==n}function y(G,z){var Y=z?G.textStroke:G.stroke;return Y!=null&&Y!==n}function x(G,z){z&&C(G,"transform","matrix("+e.call(z,",")+")")}function C(G,z,Y){(!Y||Y.type!=="linear"&&Y.type!=="radial")&&G.setAttribute(z,Y)}function T(G,z,Y){G.setAttributeNS("http://www.w3.org/1999/xlink",z,Y)}function _(G,z,Y,q){if(S(z,Y)){var oe=Y?z.textFill:z.fill;oe=oe==="transparent"?n:oe,C(G,"fill",oe),C(G,"fill-opacity",z.fillOpacity!=null?z.fillOpacity*z.opacity:z.opacity)}else C(G,"fill",n);if(y(z,Y)){var ie=Y?z.textStroke:z.stroke;ie=ie==="transparent"?n:ie,C(G,"stroke",ie);var se=Y?z.textStrokeWidth:z.lineWidth,he=!Y&&z.strokeNoScale?q.getLineScale():1;C(G,"stroke-width",se/he),C(G,"paint-order",Y?"stroke":"fill"),C(G,"stroke-opacity",z.strokeOpacity!=null?z.strokeOpacity:z.opacity);var pe=z.lineDash;pe?(C(G,"stroke-dasharray",z.lineDash.join(",")),C(G,"stroke-dashoffset",i(z.lineDashOffset||0))):C(G,"stroke-dasharray",""),z.lineCap&&C(G,"stroke-linecap",z.lineCap),z.lineJoin&&C(G,"stroke-linejoin",z.lineJoin),z.miterLimit&&C(G,"stroke-miterlimit",z.miterLimit)}else C(G,"stroke",n)}function E(G){for(var z=[],Y=G.data,q=G.len(),oe=0;oe<q;){var ie=Y[oe++],se="",he=0;switch(ie){case o.M:se="M",he=2;break;case o.L:se="L",he=2;break;case o.Q:se="Q",he=4;break;case o.C:se="C",he=6;break;case o.A:var pe=Y[oe++],_e=Y[oe++],De=Y[oe++],Xe=Y[oe++],J=Y[oe++],Ee=Y[oe++],qe=Y[oe++],ae=Y[oe++],V=Math.abs(Ee),X=m(V-a)||(ae?Ee>=a:-Ee>=a),Z=Ee>0?Ee%a:Ee%a+a,ge=!1;X?ge=!0:m(V)?ge=!1:ge=Z>=t===!!ae;var le=p(pe+De*s(J)),Se=p(_e+Xe*r(J));X&&(ae?Ee=a-1e-4:Ee=-a+1e-4,ge=!0,oe===9&&z.push("M",le,Se));var me=p(pe+De*s(J+Ee)),$=p(_e+Xe*r(J+Ee));z.push("A",p(De),p(Xe),i(qe*c),+ge,+ae,me,$);break;case o.Z:se="Z";break;case o.R:var me=p(Y[oe++]),$=p(Y[oe++]),we=p(Y[oe++]),xe=p(Y[oe++]);z.push("M",me,$,"L",me+we,$,"L",me+we,$+xe,"L",me,$+xe,"L",me,$);break}se&&z.push(se);for(var We=0;We<he;We++)z.push(p(Y[oe++]))}return z.join(" ")}var I={};I.brush=function(G){var z=G.style,Y=G.__svgEl;Y||(Y=A("path"),G.__svgEl=Y),G.path||G.createPathProxy();var q=G.path;if(G.__dirtyPath){q.beginPath(),q.subPixelOptimize=!1,G.buildPath(q,G.shape),G.__dirtyPath=!1;var oe=E(q);oe.indexOf("NaN")<0&&C(Y,"d",oe)}_(Y,z,!1,G),x(Y,G.transform),z.text!=null?R(G,G.getBoundingRect()):U(G)};var L={};L.brush=function(G){var z=G.style,Y=z.image;if(Y instanceof HTMLImageElement){var q=Y.src;Y=q}if(!Y)return;var oe=z.x||0,ie=z.y||0,se=z.width,he=z.height,pe=G.__svgEl;pe||(pe=A("image"),G.__svgEl=pe),Y!==G.__imageSrc&&(T(pe,"href",Y),G.__imageSrc=Y),C(pe,"width",se),C(pe,"height",he),C(pe,"x",oe),C(pe,"y",ie),x(pe,G.transform),z.text!=null?R(G,G.getBoundingRect()):U(G)};var D={},F=new g,N={},P=[],W={left:"start",right:"end",center:"middle",middle:"middle"},R=function(z,Y){var q=z.style,oe=z.transform,ie=z instanceof u||q.transformText;z.__dirty&&l.normalizeTextStyle(q,!0);var se=q.text;if(se!=null&&(se+=""),!l.needDrawText(se,q))return;se==null&&(se=""),!ie&&oe&&(F.copy(Y),F.applyTransform(oe),Y=F);var he=z.__textSvgEl;he||(he=A("text"),z.__textSvgEl=he);var pe=he.style,_e=q.font||f.DEFAULT_FONT,De=he.__computedFont;_e!==he.__styleFont&&(pe.font=he.__styleFont=_e,De=he.__computedFont=pe.font);var Xe=q.textPadding,J=q.textLineHeight,Ee=z.__textCotentBlock;(!Ee||z.__dirtyText)&&(Ee=z.__textCotentBlock=f.parsePlainText(se,De,Xe,J,q.truncate));var qe=Ee.outerHeight,ae=Ee.lineHeight;l.getBoxPosition(N,z,q,Y);var V=N.baseX,X=N.baseY,Z=N.textAlign||"left",ge=N.textVerticalAlign;j(he,ie,oe,q,Y,V,X);var le=f.adjustTextY(X,qe,ge),Se=V,me=le;Xe&&(Se=H(V,Z,Xe),me+=Xe[0]),me+=ae/2,_(he,q,!0,z);var $=Ee.canCacheByTextString,we=z.__tspanList||(z.__tspanList=[]),xe=we.length;if($&&z.__canCacheByTextString&&z.__text===se){if(z.__dirtyText&&xe)for(var We=0;We<xe;++We)K(we[We],Z,Se,me+We*ae)}else{z.__text=se,z.__canCacheByTextString=$;for(var st=Ee.lines,nt=st.length,We=0;We<nt;We++){var Ne=we[We],St=st[We];Ne?Ne.__zrText!==St&&(Ne.innerHTML="",Ne.appendChild(document.createTextNode(St))):(Ne=we[We]=A("tspan"),he.appendChild(Ne),Ne.appendChild(document.createTextNode(St))),K(Ne,Z,Se,me+We*ae)}if(xe>nt){for(;We<xe;We++)he.removeChild(we[We]);we.length=nt}}};function j(G,z,Y,q,oe,ie,se){v.identity(P),z&&Y&&v.copy(P,Y);var he=q.textRotation;if(oe&&he){var pe=q.textOrigin;pe==="center"?(ie=oe.width/2+oe.x,se=oe.height/2+oe.y):pe&&(ie=pe[0]+oe.x,se=pe[1]+oe.y),P[4]-=ie,P[5]-=se,v.rotate(P,P,he),P[4]+=ie,P[5]+=se}x(G,P)}function H(G,z,Y){return z==="right"?G-Y[1]:z==="center"?G+Y[3]/2-Y[1]/2:G+Y[3]}function K(G,z,Y,q){C(G,"dominant-baseline","middle"),C(G,"text-anchor",W[z]),C(G,"x",Y),C(G,"y",q)}function U(G){G&&G.__textSvgEl&&(G.__textSvgEl.parentNode&&G.__textSvgEl.parentNode.removeChild(G.__textSvgEl),G.__textSvgEl=null,G.__tspanList=[],G.__text=null)}D.drawRectText=R,D.brush=function(G){var z=G.style;z.text!=null?R(G,!1):U(G)},B.path=I,B.image=L,B.text=D},P4Qj:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.removeSensor=B.getSensor=void 0;var w=g(d("chpo")),A=d("FxDU"),b=d("24YM");function g(u){return u&&u.__esModule?u:{default:u}}var v={},f=function(o){var e=o.getAttribute(b.SizeSensorId);if(e&&v[e])return v[e];var n=(0,w.default)();o.setAttribute(b.SizeSensorId,n);var i=(0,A.createSensor)(o);return v[n]=i,i};B.getSensor=f;var l=function(o){var e=o.element.getAttribute(b.SizeSensorId);o.element.removeAttribute(b.SizeSensorId),o.destroy(),e&&v[e]&&delete v[e]};B.removeSensor=l},P5Jw:function(k,B,d){"use strict";var w=d("rHrb"),A=w.CopyToClipboard;A.CopyToClipboard=A,k.exports=A},PArb:function(k,B,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),g=d.n(b),v=d("TSYQ"),f=d.n(v),l=d("H84U"),u=function(e,n){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)n.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(i[r[s]]=e[r[s]]);return i},o=function(n){return b.createElement(l.a,null,function(i){var r,s=i.getPrefixCls,t=i.direction,a=n.prefixCls,c=n.type,h=c===void 0?"horizontal":c,p=n.orientation,m=p===void 0?"center":p,S=n.className,y=n.children,x=n.dashed,C=n.plain,T=u(n,["prefixCls","type","orientation","className","children","dashed","plain"]),_=s("divider",a),E=m.length>0?"-".concat(m):m,I=!!y,L=f()(_,"".concat(_,"-").concat(h),(r={},Object(A.a)(r,"".concat(_,"-with-text"),I),Object(A.a)(r,"".concat(_,"-with-text").concat(E),I),Object(A.a)(r,"".concat(_,"-dashed"),!!x),Object(A.a)(r,"".concat(_,"-plain"),!!C),Object(A.a)(r,"".concat(_,"-rtl"),t==="rtl"),r),S);return b.createElement("div",Object(w.a)({className:L},T,{role:"separator"}),y&&b.createElement("span",{className:"".concat(_,"-inner-text")},y))})};B.a=o},PD8m:function(k,B){k.exports={name:"memoryStorage",read:w,write:A,each:b,remove:g,clearAll:v};var d={};function w(f){return d[f]}function A(f,l){d[f]=l}function b(f){for(var l in d)d.hasOwnProperty(l)&&f(d[l],l)}function g(f){delete d[f]}function v(f){d={}}},PEeC:function(k,B,d){"use strict";d.d(B,"a",function(){return b}),d.d(B,"b",function(){return g});var w=d("KQm4"),A=d("wgJM");function b(v){var f,l=function(e){return function(){f=null,v.apply(void 0,Object(w.a)(e))}},u=function(){if(f==null){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];f=Object(A.a)(l(n))}};return u.cancel=function(){return A.a.cancel(f)},u}function g(){return function(f,l,u){var o=u.value,e=!1;return{configurable:!0,get:function(){if(e||this===f.prototype||this.hasOwnProperty(l))return o;var i=b(o.bind(this));return e=!0,Object.defineProperty(this,l,{value:i,configurable:!0,writable:!0}),e=!1,i}}}}},PKem:function(k,B,d){"use strict";d.d(B,"d",function(){return n}),d.d(B,"c",function(){return a}),d.d(B,"b",function(){return c}),d.d(B,"a",function(){return h});var w=d("KQm4"),A=d("rePB"),b=d("ODXe"),g=d("wx14"),v=d("q1tI"),f=d.n(v),l=d("TSYQ"),u=d.n(l),o=d("H84U"),e=function(p,m){var S={};for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&m.indexOf(y)<0&&(S[y]=p[y]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(p);x<y.length;x++)m.indexOf(y[x])<0&&Object.prototype.propertyIsEnumerable.call(p,y[x])&&(S[y[x]]=p[y[x]]);return S},n=v.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function i(p){var m=p.suffixCls,S=p.tagName,y=p.displayName;return function(x){var C=function(_){var E=v.useContext(o.b),I=E.getPrefixCls,L=_.prefixCls,D=I(m,L);return v.createElement(x,Object(g.a)({prefixCls:D,tagName:S},_))};return C.displayName=y,C}}var r=function(m){var S=m.prefixCls,y=m.className,x=m.children,C=m.tagName,T=e(m,["prefixCls","className","children","tagName"]),_=u()(S,y);return v.createElement(C,Object(g.a)({className:_},T),x)},s=function(m){var S,y=v.useContext(o.b),x=y.direction,C=v.useState([]),T=Object(b.a)(C,2),_=T[0],E=T[1],I=m.prefixCls,L=m.className,D=m.children,F=m.hasSider,N=m.tagName,P=e(m,["prefixCls","className","children","hasSider","tagName"]),W=u()(I,(S={},Object(A.a)(S,"".concat(I,"-has-sider"),typeof F=="boolean"?F:_.length>0),Object(A.a)(S,"".concat(I,"-rtl"),x==="rtl"),S),L);return v.createElement(n.Provider,{value:{siderHook:{addSider:function(j){E(function(H){return[].concat(Object(w.a)(H),[j])})},removeSider:function(j){E(function(H){return H.filter(function(K){return K!==j})})}}}},v.createElement(N,Object(g.a)({className:W},P),D))},t=i({suffixCls:"layout",tagName:"section",displayName:"Layout"})(s),a=i({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(r),c=i({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(r),h=i({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(r);B.e=t},PNag:function(k,B,d){var w=d("bYtY"),A=d("SKnc"),b=d("YH21"),g=d("crZl"),v=d("IwbS"),f=d("OELB"),l=d("72pK"),u=d("y7Aq"),o=d("4NO4"),e=f.linearMap,n=w.each,i=Math.min,r=Math.max,s=12,t=6,a=g.extend({type:"visualMap.continuous",init:function(){a.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(C,T,_,E){(!E||E.type!=="selectDataRange"||E.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var C=this.visualMapModel,T=this.group;this._orient=C.get("orient"),this._useHandle=C.get("calculable"),this._resetInterval(),this._renderBar(T);var _=C.get("text");this._renderEndsText(T,_,0),this._renderEndsText(T,_,1),this._updateView(!0),this.renderBackground(T),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(T)},_renderEndsText:function(C,T,_){if(!T)return;var E=T[1-_];E=E!=null?E+"":"";var I=this.visualMapModel,L=I.get("textGap"),D=I.itemSize,F=this._shapes.barGroup,N=this._applyTransform([D[0]/2,_===0?-L:D[1]+L],F),P=this._applyTransform(_===0?"bottom":"top",F),W=this._orient,R=this.visualMapModel.textStyleModel;this.group.add(new v.Text({style:{x:N[0],y:N[1],textVerticalAlign:W==="horizontal"?"middle":P,textAlign:W==="horizontal"?P:"center",text:E,textFont:R.getFont(),textFill:R.getTextColor()}}))},_renderBar:function(C){var T=this.visualMapModel,_=this._shapes,E=T.itemSize,I=this._orient,L=this._useHandle,D=u.getItemAlign(T,this.api,E),F=_.barGroup=this._createBarGroup(D);F.add(_.outOfRange=c()),F.add(_.inRange=c(null,L?y(this._orient):null,w.bind(this._dragHandle,this,"all",!1),w.bind(this._dragHandle,this,"all",!0)));var N=T.textStyleModel.getTextRect("\u56FD"),P=r(N.width,N.height);L&&(_.handleThumbs=[],_.handleLabels=[],_.handleLabelPoints=[],this._createHandle(F,0,E,P,I,D),this._createHandle(F,1,E,P,I,D)),this._createIndicator(F,E,P,I),C.add(F)},_createHandle:function(C,T,_,E,I){var L=w.bind(this._dragHandle,this,T,!1),D=w.bind(this._dragHandle,this,T,!0),F=c(h(T,E),y(this._orient),L,D);F.position[0]=_[0],C.add(F);var N=this.visualMapModel.textStyleModel,P=new v.Text({draggable:!0,drift:L,onmousemove:function(j){b.stop(j.event)},ondragend:D,style:{x:0,y:0,text:"",textFont:N.getFont(),textFill:N.getTextColor()}});this.group.add(P);var W=[I==="horizontal"?E/2:E*1.5,I==="horizontal"?T===0?-(E*1.5):E*1.5:T===0?-E/2:E/2],R=this._shapes;R.handleThumbs[T]=F,R.handleLabelPoints[T]=W,R.handleLabels[T]=P},_createIndicator:function(C,T,_,E){var I=c([[0,0]],"move");I.position[0]=T[0],I.attr({invisible:!0,silent:!0}),C.add(I);var L=this.visualMapModel.textStyleModel,D=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:L.getFont(),textFill:L.getTextColor()}});this.group.add(D);var F=[E==="horizontal"?_/2:t+3,0],N=this._shapes;N.indicator=I,N.indicatorLabel=D,N.indicatorLabelPoint=F},_dragHandle:function(C,T,_,E){if(!this._useHandle)return;if(this._dragging=!T,!T){var I=this._applyTransform([_,E],this._shapes.barGroup,!0);this._updateInterval(C,I[1]),this._updateView()}T===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),T?!this._hovering&&this._clearHoverLinkToSeries():S(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[C],!1)},_resetInterval:function(){var C=this.visualMapModel,T=this._dataInterval=C.getSelected(),_=C.getExtent(),E=[0,C.itemSize[1]];this._handleEnds=[e(T[0],_,E,!0),e(T[1],_,E,!0)]},_updateInterval:function(C,T){T=T||0;var _=this.visualMapModel,E=this._handleEnds,I=[0,_.itemSize[1]];l(T,E,I,C,0);var L=_.getExtent();this._dataInterval=[e(E[0],I,L,!0),e(E[1],I,L,!0)]},_updateView:function(C){var T=this.visualMapModel,_=T.getExtent(),E=this._shapes,I=[0,T.itemSize[1]],L=C?I:this._handleEnds,D=this._createBarVisual(this._dataInterval,_,L,"inRange"),F=this._createBarVisual(_,_,I,"outOfRange");E.inRange.setStyle({fill:D.barColor,opacity:D.opacity}).setShape("points",D.barPoints),E.outOfRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),this._updateHandle(L,D)},_createBarVisual:function(C,T,_,E){var I={forceState:E,convertOpacityToAlpha:!0},L=this._makeColorGradient(C,I),D=[this.getControllerVisual(C[0],"symbolSize",I),this.getControllerVisual(C[1],"symbolSize",I)],F=this._createBarPoints(_,D);return{barColor:new A(0,0,0,1,L),barPoints:F,handlesColor:[L[0].color,L[L.length-1].color]}},_makeColorGradient:function(C,T){var _=100,E=[],I=(C[1]-C[0])/_;E.push({color:this.getControllerVisual(C[0],"color",T),offset:0});for(var L=1;L<_;L++){var D=C[0]+I*L;if(D>C[1])break;E.push({color:this.getControllerVisual(D,"color",T),offset:L/_})}return E.push({color:this.getControllerVisual(C[1],"color",T),offset:1}),E},_createBarPoints:function(C,T){var _=this.visualMapModel.itemSize;return[[_[0]-T[0],C[0]],[_[0],C[0]],[_[0],C[1]],[_[0]-T[1],C[1]]]},_createBarGroup:function(C){var T=this._orient,_=this.visualMapModel.get("inverse");return new v.Group(T==="horizontal"&&!_?{scale:C==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:T==="horizontal"&&_?{scale:C==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:T==="vertical"&&!_?{scale:C==="left"?[1,-1]:[-1,-1]}:{scale:C==="left"?[1,1]:[-1,1]})},_updateHandle:function(C,T){if(!this._useHandle)return;var _=this._shapes,E=this.visualMapModel,I=_.handleThumbs,L=_.handleLabels;n([0,1],function(D){var F=I[D];F.setStyle("fill",T.handlesColor[D]),F.position[1]=C[D];var N=v.applyTransform(_.handleLabelPoints[D],v.getTransform(F,this.group));L[D].setStyle({x:N[0],y:N[1],text:E.formatValueText(this._dataInterval[D]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?D===0?"bottom":"top":"left",_.barGroup)})},this)},_showIndicator:function(C,T,_,E){var I=this.visualMapModel,L=I.getExtent(),D=I.itemSize,F=[0,D[1]],N=e(C,L,F,!0),P=this._shapes,W=P.indicator;if(!W)return;W.position[1]=N,W.attr("invisible",!1),W.setShape("points",p(!!_,E,N,D[1]));var R={convertOpacityToAlpha:!0},j=this.getControllerVisual(C,"color",R);W.setStyle("fill",j);var H=v.applyTransform(P.indicatorLabelPoint,v.getTransform(W,this.group)),K=P.indicatorLabel;K.attr("invisible",!1);var U=this._applyTransform("left",P.barGroup),G=this._orient;K.setStyle({text:(_||"")+I.formatValueText(T),textVerticalAlign:G==="horizontal"?U:"middle",textAlign:G==="horizontal"?"center":U,x:H[0],y:H[1]})},_enableHoverLinkToSeries:function(){var C=this;this._shapes.barGroup.on("mousemove",function(T){if(C._hovering=!0,!C._dragging){var _=C.visualMapModel.itemSize,E=C._applyTransform([T.offsetX,T.offsetY],C._shapes.barGroup,!0,!0);E[1]=i(r(0,E[1]),_[1]),C._doHoverLinkToSeries(E[1],0<=E[0]&&E[0]<=_[0])}}).on("mouseout",function(){C._hovering=!1,!C._dragging&&C._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var C=this.api.getZr();this.visualMapModel.option.hoverLink?(C.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),C.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(C,T){var _=this.visualMapModel,E=_.itemSize;if(!_.option.hoverLink)return;var I=[0,E[1]],L=_.getExtent();C=i(r(I[0],C),I[1]);var D=m(_,L,I),F=[C-D,C+D],N=e(C,I,L,!0),P=[e(F[0],I,L,!0),e(F[1],I,L,!0)];F[0]<I[0]&&(P[0]=-Infinity),F[1]>I[1]&&(P[1]=Infinity),T&&(P[0]===-Infinity?this._showIndicator(N,P[1],"< ",D):P[1]===Infinity?this._showIndicator(N,P[0],"> ",D):this._showIndicator(N,N,"\u2248 ",D));var W=this._hoverLinkDataIndices,R=[];(T||S(_))&&(R=this._hoverLinkDataIndices=_.findTargetDataIndices(P));var j=o.compressBatches(W,R);this._dispatchHighDown("downplay",u.makeHighDownBatch(j[0],_)),this._dispatchHighDown("highlight",u.makeHighDownBatch(j[1],_))},_hoverLinkFromSeriesMouseOver:function(C){var T=C.target,_=this.visualMapModel;if(!T||T.dataIndex==null)return;var E=this.ecModel.getSeriesByIndex(T.seriesIndex);if(!_.isTargetSeries(E))return;var I=E.getData(T.dataType),L=I.get(_.getDataDimension(I),T.dataIndex,!0);isNaN(L)||this._showIndicator(L,L)},_hideIndicator:function(){var C=this._shapes;C.indicator&&C.indicator.attr("invisible",!0),C.indicatorLabel&&C.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var C=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",u.makeHighDownBatch(C,this.visualMapModel)),C.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var C=this.api.getZr();C.off("mouseover",this._hoverLinkFromSeriesMouseOver),C.off("mouseout",this._hideIndicator)},_applyTransform:function(C,T,_,E){var I=v.getTransform(T,E?null:this.group);return v[w.isArray(C)?"applyTransform":"transformDirection"](C,I,_)},_dispatchHighDown:function(C,T){T&&T.length&&this.api.dispatchAction({type:C,batch:T})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function c(C,T,_,E){return new v.Polygon({shape:{points:C},draggable:!!_,cursor:T,drift:_,onmousemove:function(I){b.stop(I.event)},ondragend:E})}function h(C,T){return C===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function p(C,T,_,E){return C?[[0,-i(T,r(_,0))],[t,0],[0,i(T,r(E-_,0))]]:[[0,0],[5,-5],[5,5]]}function m(C,T,_){var E=s/2,I=C.get("hoverLinkDataSize");return I&&(E=e(I,T,_,!0)/2),E}function S(C){var T=C.get("hoverLinkOnHandle");return!!(T==null?C.get("realtime"):T)}function y(C){return C==="vertical"?"ns-resize":"ew-resize"}var x=a;k.exports=x},PQMj:function(k,B,d){},ProS:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("aX58"),g=d("bYtY"),v=d("Qe9p"),f=d("ItGF"),l=d("BPZU"),u=d("H6uX"),o=d("fmMI"),e=d("hD7B"),n=d("IDmD"),i=d("ypgQ"),r=d("+wW9"),s=d("0V0F"),t=d("bLfw"),a=d("T4UG"),c=d("sS/r"),h=d("6Ic6"),p=d("IwbS"),m=d("4NO4"),S=d("iLNv"),y=S.throttle,x=d("/WM3"),C=d("uAnK"),T=d("mYwL"),_=d("af/B"),E=d("xTNl"),I=d("8hn6");d("A1Ka");var L=d("7DRL"),D=g.assert,F=g.each,N=g.isFunction,P=g.isObject,W=t.parseClassType,R="4.8.0",j={zrender:"4.3.1"},H=1,K=1e3,U=800,G=900,z=5e3,Y=1e3,q=1100,oe=2e3,ie=3e3,se=3500,he=4e3,pe=5e3,_e={PROCESSOR:{FILTER:K,SERIES_FILTER:U,STATISTIC:z},VISUAL:{LAYOUT:Y,PROGRESSIVE_LAYOUT:q,GLOBAL:oe,CHART:ie,POST_CHART_LAYOUT:se,COMPONENT:he,BRUSH:pe}},De="__flagInMainProcess",Xe="__optionUpdated",J=/^[a-zA-Z0-9_]+$/;function Ee(Xt,hr){return function(Tr,Wr,Gr){if(!hr&&this._disposed){It(this.id);return}Tr=Tr&&Tr.toLowerCase(),u.prototype[Xt].call(this,Tr,Wr,Gr)}}function qe(){u.call(this)}qe.prototype.on=Ee("on",!0),qe.prototype.off=Ee("off",!0),qe.prototype.one=Ee("one",!0),g.mixin(qe,u);function ae(Xt,hr,Tr){Tr=Tr||{},typeof hr=="string"&&(hr=Ue[hr]),this.id,this.group,this._dom=Xt;var Wr="canvas",Gr=this._zr=b.init(Xt,{renderer:Tr.renderer||Wr,devicePixelRatio:Tr.devicePixelRatio,width:Tr.width,height:Tr.height});this._throttledZrFlush=y(g.bind(Gr.flush,Gr),17);var hr=g.clone(hr);hr&&r(hr,!0),this._theme=hr,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new n;var Tn=this._api=Qe(this);function gn(In,Fn){return In.__prio-Fn.__prio}l(rt,gn),l(Ce,gn),this._scheduler=new _(this,Tn,Ce,rt),u.call(this,this._ecEventProcessor=new te),this._messageCenter=new qe,this._initEvents(),this.resize=g.bind(this.resize,this),this._pendingActions=[],Gr.animation.on("frame",this._onframe,this),xe(Gr,this),g.setAsPrimitive(this)}var V=ae.prototype;V._onframe=function(){if(this._disposed)return;var Xt=this._scheduler;if(this[Xe]){var hr=this[Xe].silent;this[De]=!0,ge(this),Z.update.call(this),this[De]=!1,this[Xe]=!1,$.call(this,hr),we.call(this,hr)}else if(Xt.unfinished){var Tr=H,Wr=this._model,Gr=this._api;Xt.unfinished=!1;do{var Tn=+new Date;Xt.performSeriesTasks(Wr),Xt.performDataProcessorTasks(Wr),Se(this,Wr),Xt.performVisualTasks(Wr),St(this,this._model,Gr,"remain"),Tr-=+new Date-Tn}while(Tr>0&&Xt.unfinished);Xt.unfinished||this._zr.flush()}},V.getDom=function(){return this._dom},V.getZr=function(){return this._zr},V.setOption=function(Xt,hr,Tr){if(this._disposed){It(this.id);return}var Wr;if(P(hr)&&(Tr=hr.lazyUpdate,Wr=hr.silent,hr=hr.notMerge),this[De]=!0,!this._model||hr){var Gr=new i(this._api),Tn=this._theme,gn=this._model=new o;gn.scheduler=this._scheduler,gn.init(null,null,Tn,Gr)}this._model.setOption(Xt,ue),Tr?(this[Xe]={silent:Wr},this[De]=!1):(ge(this),Z.update.call(this),this._zr.flush(),this[Xe]=!1,this[De]=!1,$.call(this,Wr),we.call(this,Wr))},V.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},V.getModel=function(){return this._model},V.getOption=function(){return this._model&&this._model.getOption()},V.getWidth=function(){return this._zr.getWidth()},V.getHeight=function(){return this._zr.getHeight()},V.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},V.getRenderedCanvas=function(Xt){if(!f.canvasSupported)return;Xt=Xt||{},Xt.pixelRatio=Xt.pixelRatio||1,Xt.backgroundColor=Xt.backgroundColor||this._model.get("backgroundColor");var hr=this._zr;return hr.painter.getRenderedCanvas(Xt)},V.getSvgDataURL=function(){if(!f.svgSupported)return;var Xt=this._zr,hr=Xt.storage.getDisplayList();return g.each(hr,function(Tr){Tr.stopAnimation(!0)}),Xt.painter.toDataURL()},V.getDataURL=function(Xt){if(this._disposed){It(this.id);return}Xt=Xt||{};var hr=Xt.excludeComponents,Tr=this._model,Wr=[],Gr=this;F(hr,function(gn){Tr.eachComponent({mainType:gn},function(In){var Fn=Gr._componentsMap[In.__viewId];Fn.group.ignore||(Wr.push(Fn),Fn.group.ignore=!0)})});var Tn=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(Xt).toDataURL("image/"+(Xt&&Xt.type||"png"));return F(Wr,function(gn){gn.group.ignore=!1}),Tn},V.getConnectedDataURL=function(Xt){if(this._disposed){It(this.id);return}if(!f.canvasSupported)return;var hr=Xt.type==="svg",Tr=this.group,Wr=Math.min,Gr=Math.max,Tn=Infinity;if(Wt[Tr]){var gn=Tn,In=Tn,Fn=-Tn,Xn=-Tn,fi=[],pi=Xt&&Xt.pixelRatio||1;g.each(tt,function(Je,Ve){if(Je.group===Tr){var Ze=hr?Je.getZr().painter.getSvgDom().innerHTML:Je.getRenderedCanvas(g.clone(Xt)),At=Je.getDom().getBoundingClientRect();gn=Wr(At.left,gn),In=Wr(At.top,In),Fn=Gr(At.right,Fn),Xn=Gr(At.bottom,Xn),fi.push({dom:Ze,left:At.left,top:At.top})}}),gn*=pi,In*=pi,Fn*=pi,Xn*=pi;var bi=Fn-gn,et=Xn-In,Le=g.createCanvas(),Pe=b.init(Le,{renderer:hr?"svg":"canvas"});if(Pe.resize({width:bi,height:et}),hr){var je="";return F(fi,function(Je){var Ve=Je.left-gn,Ze=Je.top-In;je+='<g transform="translate('+Ve+","+Ze+')">'+Je.dom+"</g>"}),Pe.painter.getSvgRoot().innerHTML=je,Xt.connectedBackgroundColor&&Pe.painter.setBackgroundColor(Xt.connectedBackgroundColor),Pe.refreshImmediately(),Pe.painter.toDataURL()}else return Xt.connectedBackgroundColor&&Pe.add(new p.Rect({shape:{x:0,y:0,width:bi,height:et},style:{fill:Xt.connectedBackgroundColor}})),F(fi,function(Je){var Ve=new p.Image({style:{x:Je.left*pi-gn,y:Je.top*pi-In,image:Je.dom}});Pe.add(Ve)}),Pe.refreshImmediately(),Le.toDataURL("image/"+(Xt&&Xt.type||"png"))}else return this.getDataURL(Xt)},V.convertToPixel=g.curry(X,"convertToPixel"),V.convertFromPixel=g.curry(X,"convertFromPixel");function X(Xt,hr,Tr){if(this._disposed){It(this.id);return}var Wr=this._model,Gr=this._coordSysMgr.getCoordinateSystems(),Tn;hr=m.parseFinder(Wr,hr);for(var gn=0;gn<Gr.length;gn++){var In=Gr[gn];if(In[Xt]&&(Tn=In[Xt](Wr,hr,Tr))!=null)return Tn}}V.containPixel=function(Xt,hr){if(this._disposed){It(this.id);return}var Tr=this._model,Wr;return Xt=m.parseFinder(Tr,Xt),g.each(Xt,function(Gr,Tn){Tn.indexOf("Models")>=0&&g.each(Gr,function(gn){var In=gn.coordinateSystem;if(In&&In.containPoint)Wr|=!!In.containPoint(hr);else if(Tn==="seriesModels"){var Fn=this._chartsMap[gn.__viewId];Fn&&Fn.containPoint&&(Wr|=Fn.containPoint(hr,gn))}},this)},this),!!Wr},V.getVisual=function(Xt,hr){var Tr=this._model;Xt=m.parseFinder(Tr,Xt,{defaultMainType:"series"});var Wr=Xt.seriesModel,Gr=Wr.getData(),Tn=Xt.hasOwnProperty("dataIndexInside")?Xt.dataIndexInside:Xt.hasOwnProperty("dataIndex")?Gr.indexOfRawIndex(Xt.dataIndex):null;return Tn!=null?Gr.getItemVisual(Tn,hr):Gr.getVisual(hr)},V.getViewOfComponentModel=function(Xt){return this._componentsMap[Xt.__viewId]},V.getViewOfSeriesModel=function(Xt){return this._chartsMap[Xt.__viewId]};var Z={prepareAndUpdate:function(Xt){ge(this),Z.update.call(this,Xt)},update:function(Xt){var hr=this._model,Tr=this._api,Wr=this._zr,Gr=this._coordSysMgr,Tn=this._scheduler;if(!hr)return;Tn.restoreData(hr,Xt),Tn.performSeriesTasks(hr),Gr.create(hr,Tr),Tn.performDataProcessorTasks(hr,Xt),Se(this,hr),Gr.update(hr,Tr),st(hr),Tn.performVisualTasks(hr,Xt),nt(this,hr,Tr,Xt);var gn=hr.get("backgroundColor")||"transparent";if(f.canvasSupported)Wr.setBackgroundColor(gn);else{var In=v.parse(gn);gn=v.stringify(In,"rgb"),In[3]===0&&(gn="transparent")}Ye(hr,Tr)},updateTransform:function(Xt){var hr=this._model,Tr=this,Wr=this._api;if(!hr)return;var Gr=[];hr.eachComponent(function(gn,In){var Fn=Tr.getViewOfComponentModel(In);if(Fn&&Fn.__alive)if(Fn.updateTransform){var Xn=Fn.updateTransform(In,hr,Wr,Xt);Xn&&Xn.update&&Gr.push(Fn)}else Gr.push(Fn)});var Tn=g.createHashMap();hr.eachSeries(function(gn){var In=Tr._chartsMap[gn.__viewId];if(In.updateTransform){var Fn=In.updateTransform(gn,hr,Wr,Xt);Fn&&Fn.update&&Tn.set(gn.uid,1)}else Tn.set(gn.uid,1)}),st(hr),this._scheduler.performVisualTasks(hr,Xt,{setDirty:!0,dirtyMap:Tn}),St(Tr,hr,Wr,Xt,Tn),Ye(hr,this._api)},updateView:function(Xt){var hr=this._model;if(!hr)return;h.markUpdateMethod(Xt,"updateView"),st(hr),this._scheduler.performVisualTasks(hr,Xt,{setDirty:!0}),nt(this,this._model,this._api,Xt),Ye(hr,this._api)},updateVisual:function(Xt){Z.update.call(this,Xt)},updateLayout:function(Xt){Z.update.call(this,Xt)}};function ge(Xt){var hr=Xt._model,Tr=Xt._scheduler;Tr.restorePipelines(hr),Tr.prepareStageTasks(),We(Xt,"component",hr,Tr),We(Xt,"chart",hr,Tr),Tr.plan()}function le(Xt,hr,Tr,Wr,Gr){var Tn=Xt._model;if(!Wr){F(Xt._componentsViews.concat(Xt._chartsViews),Xn);return}var gn={};gn[Wr+"Id"]=Tr[Wr+"Id"],gn[Wr+"Index"]=Tr[Wr+"Index"],gn[Wr+"Name"]=Tr[Wr+"Name"];var In={mainType:Wr,query:gn};Gr&&(In.subType=Gr);var Fn=Tr.excludeSeriesId;Fn!=null&&(Fn=g.createHashMap(m.normalizeToArray(Fn))),Tn&&Tn.eachComponent(In,function(fi){(!Fn||Fn.get(fi.id)==null)&&Xn(Xt[Wr==="series"?"_chartsMap":"_componentsMap"][fi.__viewId])},Xt);function Xn(fi){fi&&fi.__alive&&fi[hr]&&fi[hr](fi.__model,Tn,Xt._api,Tr)}}V.resize=function(Xt){if(this._disposed){It(this.id);return}this._zr.resize(Xt);var hr=this._model;if(this._loadingFX&&this._loadingFX.resize(),!hr)return;var Tr=hr.resetOption("media"),Wr=Xt&&Xt.silent;this[De]=!0,Tr&&ge(this),Z.update.call(this),this[De]=!1,$.call(this,Wr),we.call(this,Wr)};function Se(Xt,hr){var Tr=Xt._chartsMap,Wr=Xt._scheduler;hr.eachSeries(function(Gr){Wr.updateStreamModes(Gr,Tr[Gr.__viewId])})}V.showLoading=function(Xt,hr){if(this._disposed){It(this.id);return}if(P(Xt)&&(hr=Xt,Xt=""),Xt=Xt||"default",this.hideLoading(),!Ge[Xt])return;var Tr=Ge[Xt](this._api,hr),Wr=this._zr;this._loadingFX=Tr,Wr.add(Tr)},V.hideLoading=function(){if(this._disposed){It(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},V.makeActionFromEvent=function(Xt){var hr=g.extend({},Xt);return hr.type=Me[Xt.type],hr},V.dispatchAction=function(Xt,hr){if(this._disposed){It(this.id);return}if(P(hr)||(hr={silent:!!hr}),!Q[Xt.type])return;if(!this._model)return;if(this[De]){this._pendingActions.push(Xt);return}me.call(this,Xt,hr.silent),hr.flush?this._zr.flush(!0):hr.flush!==!1&&f.browser.weChat&&this._throttledZrFlush(),$.call(this,hr.silent),we.call(this,hr.silent)};function me(Xt,hr){var Tr=Xt.type,Wr=Xt.escapeConnect,Gr=Q[Tr],Tn=Gr.actionInfo,gn=(Tn.update||"update").split(":"),In=gn.pop();gn=gn[0]!=null&&W(gn[0]),this[De]=!0;var Fn=[Xt],Xn=!1;Xt.batch&&(Xn=!0,Fn=g.map(Xt.batch,function(et){return et=g.defaults(g.extend({},et),Xt),et.batch=null,et}));var fi=[],pi,bi=Tr==="highlight"||Tr==="downplay";F(Fn,function(et){pi=Gr.action(et,this._model,this._api),pi=pi||g.extend({},et),pi.type=Tn.event||pi.type,fi.push(pi),bi?le(this,In,et,"series"):gn&&le(this,In,et,gn.main,gn.sub)},this),In!=="none"&&!bi&&!gn&&(this[Xe]?(ge(this),Z.update.call(this,Xt),this[Xe]=!1):Z[In].call(this,Xt)),Xn?pi={type:Tn.event||Tr,escapeConnect:Wr,batch:fi}:pi=fi[0],this[De]=!1,!hr&&this._messageCenter.trigger(pi.type,pi)}function $(Xt){for(var hr=this._pendingActions;hr.length;){var Tr=hr.shift();me.call(this,Tr,Xt)}}function we(Xt){!Xt&&this.trigger("updated")}function xe(Xt,hr){Xt.on("rendered",function(){hr.trigger("rendered"),Xt.animation.isFinished()&&!hr[Xe]&&!hr._scheduler.unfinished&&!hr._pendingActions.length&&hr.trigger("finished")})}V.appendData=function(Xt){if(this._disposed){It(this.id);return}var hr=Xt.seriesIndex,Tr=this.getModel(),Wr=Tr.getSeriesByIndex(hr);Wr.appendData(Xt),this._scheduler.unfinished=!0},V.on=Ee("on",!1),V.off=Ee("off",!1),V.one=Ee("one",!1);function We(Xt,hr,Tr,Wr){for(var Gr=hr==="component",Tn=Gr?Xt._componentsViews:Xt._chartsViews,gn=Gr?Xt._componentsMap:Xt._chartsMap,In=Xt._zr,Fn=Xt._api,Xn=0;Xn<Tn.length;Xn++)Tn[Xn].__alive=!1;Gr?Tr.eachComponent(function(bi,et){bi!=="series"&&fi(et)}):Tr.eachSeries(fi);function fi(bi){var et="_ec_"+bi.id+"_"+bi.type,Le=gn[et];if(!Le){var Pe=W(bi.type),je=Gr?c.getClass(Pe.main,Pe.sub):h.getClass(Pe.sub);Le=new je,Le.init(Tr,Fn),gn[et]=Le,Tn.push(Le),In.add(Le.group)}bi.__viewId=Le.__id=et,Le.__alive=!0,Le.__model=bi,Le.group.__ecComponentInfo={mainType:bi.mainType,index:bi.componentIndex},!Gr&&Wr.prepareView(Le,bi,Tr,Fn)}for(var Xn=0;Xn<Tn.length;){var pi=Tn[Xn];pi.__alive?Xn++:(!Gr&&pi.renderTask.dispose(),In.remove(pi.group),pi.dispose(Tr,Fn),Tn.splice(Xn,1),delete gn[pi.__id],pi.__id=pi.group.__ecComponentInfo=null)}}function st(Xt){Xt.clearColorPalette(),Xt.eachSeries(function(hr){hr.clearColorPalette()})}function nt(Xt,hr,Tr,Wr){Ne(Xt,hr,Tr,Wr),F(Xt._chartsViews,function(Gr){Gr.__alive=!1}),St(Xt,hr,Tr,Wr),F(Xt._chartsViews,function(Gr){Gr.__alive||Gr.remove(hr,Tr)})}function Ne(Xt,hr,Tr,Wr,Gr){F(Gr||Xt._componentsViews,function(Tn){var gn=Tn.__model;Tn.render(gn,hr,Tr,Wr),Bt(gn,Tn)})}function St(Xt,hr,Tr,Wr,Gr){var Tn=Xt._scheduler,gn;hr.eachSeries(function(In){var Fn=Xt._chartsMap[In.__viewId];Fn.__alive=!0;var Xn=Fn.renderTask;Tn.updatePayload(Xn,Wr),Gr&&Gr.get(In.uid)&&Xn.dirty(),gn|=Xn.perform(Tn.getPerformArgs(Xn)),Fn.group.silent=!!In.get("silent"),Bt(In,Fn),xt(In,Fn)}),Tn.unfinished|=gn,Ut(Xt,hr),C(Xt._zr.dom,hr)}function Ye(Xt,hr){F(ot,function(Tr){Tr(Xt,hr)})}var vt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];V._initEvents=function(){F(vt,function(Xt){var hr=function(Tr){var Wr=this.getModel(),Gr=Tr.target,Tn,gn=Xt==="globalout";if(gn)Tn={};else if(Gr&&Gr.dataIndex!=null){var In=Gr.dataModel||Wr.getSeriesByIndex(Gr.seriesIndex);Tn=In&&In.getDataParams(Gr.dataIndex,Gr.dataType,Gr)||{}}else Gr&&Gr.eventData&&(Tn=g.extend({},Gr.eventData));if(Tn){var Fn=Tn.componentType,Xn=Tn.componentIndex;(Fn==="markLine"||Fn==="markPoint"||Fn==="markArea")&&(Fn="series",Xn=Tn.seriesIndex);var fi=Fn&&Xn!=null&&Wr.getComponent(Fn,Xn),pi=fi&&this[fi.mainType==="series"?"_chartsMap":"_componentsMap"][fi.__viewId];Tn.event=Tr,Tn.type=Xt,this._ecEventProcessor.eventInfo={targetEl:Gr,packedEvent:Tn,model:fi,view:pi},this.trigger(Xt,Tn)}};hr.zrEventfulCallAtLast=!0,this._zr.on(Xt,hr,this)},this),F(Me,function(Xt,hr){this._messageCenter.on(hr,function(Tr){this.trigger(hr,Tr)},this)},this)},V.isDisposed=function(){return this._disposed},V.clear=function(){if(this._disposed){It(this.id);return}this.setOption({series:[]},!0)},V.dispose=function(){if(this._disposed){It(this.id);return}this._disposed=!0,m.setAttribute(this.getDom(),Tt,"");var Xt=this._api,hr=this._model;F(this._componentsViews,function(Tr){Tr.dispose(hr,Xt)}),F(this._chartsViews,function(Tr){Tr.dispose(hr,Xt)}),this._zr.dispose(),delete tt[this.id]},g.mixin(ae,u);function It(Xt){}function Ut(Xt,hr){var Tr=Xt._zr,Wr=Tr.storage,Gr=0;Wr.traverse(function(Tn){Gr++}),Gr>hr.get("hoverLayerThreshold")&&!f.node&&hr.eachSeries(function(Tn){if(Tn.preventUsingHoverLayer)return;var gn=Xt._chartsMap[Tn.__viewId];gn.__alive&&gn.group.traverse(function(In){In.useHoverLayer=!0})})}function xt(Xt,hr){var Tr=Xt.get("blendMode")||null;hr.group.traverse(function(Wr){Wr.isGroup||Wr.style.blend!==Tr&&Wr.setStyle("blend",Tr),Wr.eachPendingDisplayable&&Wr.eachPendingDisplayable(function(Gr){Gr.setStyle("blend",Tr)})})}function Bt(Xt,hr){var Tr=Xt.get("z"),Wr=Xt.get("zlevel");hr.group.traverse(function(Gr){Gr.type!=="group"&&(Tr!=null&&(Gr.z=Tr),Wr!=null&&(Gr.zlevel=Wr))})}function Qe(Xt){var hr=Xt._coordSysMgr;return g.extend(new e(Xt),{getCoordinateSystems:g.bind(hr.getCoordinateSystems,hr),getComponentByElement:function(Tr){for(;Tr;){var Wr=Tr.__ecComponentInfo;if(Wr!=null)return Xt._model.getComponent(Wr.mainType,Wr.index);Tr=Tr.parent}}})}function te(){this.eventInfo}te.prototype={constructor:te,normalizeQuery:function(Xt){var hr={},Tr={},Wr={};if(g.isString(Xt)){var Gr=W(Xt);hr.mainType=Gr.main||null,hr.subType=Gr.sub||null}else{var Tn=["Index","Name","Id"],gn={name:1,dataIndex:1,dataType:1};g.each(Xt,function(In,Fn){for(var Xn=!1,fi=0;fi<Tn.length;fi++){var pi=Tn[fi],bi=Fn.lastIndexOf(pi);if(bi>0&&bi===Fn.length-pi.length){var et=Fn.slice(0,bi);et!=="data"&&(hr.mainType=et,hr[pi.toLowerCase()]=In,Xn=!0)}}gn.hasOwnProperty(Fn)&&(Tr[Fn]=In,Xn=!0),Xn||(Wr[Fn]=In)})}return{cptQuery:hr,dataQuery:Tr,otherQuery:Wr}},filter:function(Xt,hr,Tr){var Wr=this.eventInfo;if(!Wr)return!0;var Gr=Wr.targetEl,Tn=Wr.packedEvent,gn=Wr.model,In=Wr.view;if(!gn||!In)return!0;var Fn=hr.cptQuery,Xn=hr.dataQuery;return fi(Fn,gn,"mainType")&&fi(Fn,gn,"subType")&&fi(Fn,gn,"index","componentIndex")&&fi(Fn,gn,"name")&&fi(Fn,gn,"id")&&fi(Xn,Tn,"name")&&fi(Xn,Tn,"dataIndex")&&fi(Xn,Tn,"dataType")&&(!In.filterForExposedEvent||In.filterForExposedEvent(Xt,hr.otherQuery,Gr,Tn));function fi(pi,bi,et,Le){return pi[et]==null||bi[Le||et]===pi[et]}},afterTrigger:function(){this.eventInfo=null}};var Q={},Me={},Ce=[],ue=[],ot=[],rt=[],Ue={},Ge={},tt={},Wt={},jt=new Date-0,Yt=new Date-0,Tt="_echarts_instance_";function Rt(Xt){var hr=0,Tr=1,Wr=2,Gr="__connectUpdateStatus";function Tn(gn,In){for(var Fn=0;Fn<gn.length;Fn++){var Xn=gn[Fn];Xn[Gr]=In}}F(Me,function(gn,In){Xt._messageCenter.on(In,function(Fn){if(Wt[Xt.group]&&Xt[Gr]!==hr){if(Fn&&Fn.escapeConnect)return;var Xn=Xt.makeActionFromEvent(Fn),fi=[];F(tt,function(pi){pi!==Xt&&pi.group===Xt.group&&fi.push(pi)}),Tn(fi,hr),F(fi,function(pi){pi[Gr]!==Tr&&pi.dispatchAction(Xn)}),Tn(fi,Wr)}})})}function yt(Xt,hr,Tr){var Wr=ei(Xt);if(Wr)return Wr;var Gr=new ae(Xt,hr,Tr);return Gr.id="ec_"+jt++,tt[Gr.id]=Gr,m.setAttribute(Xt,Tt,Gr.id),Rt(Gr),Gr}function Jt(Xt){if(g.isArray(Xt)){var hr=Xt;Xt=null,F(hr,function(Tr){Tr.group!=null&&(Xt=Tr.group)}),Xt=Xt||"g_"+Yt++,F(hr,function(Tr){Tr.group=Xt})}return Wt[Xt]=!0,Xt}function Lr(Xt){Wt[Xt]=!1}var zr=Lr;function rn(Xt){typeof Xt=="string"?Xt=tt[Xt]:Xt instanceof ae||(Xt=ei(Xt)),Xt instanceof ae&&!Xt.isDisposed()&&Xt.dispose()}function ei(Xt){return tt[m.getAttribute(Xt,Tt)]}function fn(Xt){return tt[Xt]}function Zr(Xt,hr){Ue[Xt]=hr}function bt(Xt){ue.push(Xt)}function ut(Xt,hr){sr(Ce,Xt,hr,K)}function Oe(Xt){ot.push(Xt)}function be(Xt,hr,Tr){typeof hr=="function"&&(Tr=hr,hr="");var Wr=P(Xt)?Xt.type:[Xt,Xt={event:hr}][0];Xt.event=(Xt.event||Wr).toLowerCase(),hr=Xt.event,D(J.test(Wr)&&J.test(hr)),Q[Wr]||(Q[Wr]={action:Tr,actionInfo:Xt}),Me[hr]=Wr}function Fe(Xt,hr){n.register(Xt,hr)}function it(Xt){var hr=n.get(Xt);if(hr)return hr.getDimensionsInfo?hr.getDimensionsInfo():hr.dimensions.slice()}function wt(Xt,hr){sr(rt,Xt,hr,Y,"layout")}function nr(Xt,hr){sr(rt,Xt,hr,ie,"visual")}function sr(Xt,hr,Tr,Wr,Gr){(N(hr)||P(hr))&&(Tr=hr,hr=Wr);var Tn=_.wrapStageHandler(Tr,Gr);return Tn.__prio=hr,Tn.__raw=Tr,Xt.push(Tn),Tn}function Ar(Xt,hr){Ge[Xt]=hr}function Hr(Xt){return t.extend(Xt)}function $r(Xt){return c.extend(Xt)}function Qt(Xt){return a.extend(Xt)}function Ot(Xt){return h.extend(Xt)}function Ft(Xt){g.$override("createCanvas",Xt)}function pr(Xt,hr,Tr){L.registerMap(Xt,hr,Tr)}function Rr(Xt){var hr=L.retrieveMap(Xt);return hr&&hr[0]&&{geoJson:hr[0].geoJSON,specialAreas:hr[0].specialAreas}}nr(oe,x),bt(r),ut(G,s),Ar("default",T),be({type:"highlight",event:"highlight",update:"highlight"},g.noop),be({type:"downplay",event:"downplay",update:"downplay"},g.noop),Zr("light",E),Zr("dark",I);var Pr={};B.version=R,B.dependencies=j,B.PRIORITY=_e,B.init=yt,B.connect=Jt,B.disConnect=Lr,B.disconnect=zr,B.dispose=rn,B.getInstanceByDom=ei,B.getInstanceById=fn,B.registerTheme=Zr,B.registerPreprocessor=bt,B.registerProcessor=ut,B.registerPostUpdate=Oe,B.registerAction=be,B.registerCoordinateSystem=Fe,B.getCoordinateSystemDimensions=it,B.registerLayout=wt,B.registerVisual=nr,B.registerLoading=Ar,B.extendComponentModel=Hr,B.extendComponentView=$r,B.extendSeriesModel=Qt,B.extendChartView=Ot,B.setCanvasCreator=Ft,B.registerMap=pr,B.getMap=Rr,B.dataTool=Pr;var an=d("txkQ");(function(){for(var Xt in an)an.hasOwnProperty(Xt)&&(B[Xt]=an[Xt])})()},Q7if:function(k,B,d){var w=d("JEkh"),A=w.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"}}}});k.exports=A},Q9mQ:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("UADf"),g=d.n(b)},QBsz:function(k,B){var d=typeof Float32Array=="undefined"?Array:Float32Array;function w(_,E){var I=new d(2);return _==null&&(_=0),E==null&&(E=0),I[0]=_,I[1]=E,I}function A(_,E){return _[0]=E[0],_[1]=E[1],_}function b(_){var E=new d(2);return E[0]=_[0],E[1]=_[1],E}function g(_,E,I){return _[0]=E,_[1]=I,_}function v(_,E,I){return _[0]=E[0]+I[0],_[1]=E[1]+I[1],_}function f(_,E,I,L){return _[0]=E[0]+I[0]*L,_[1]=E[1]+I[1]*L,_}function l(_,E,I){return _[0]=E[0]-I[0],_[1]=E[1]-I[1],_}function u(_){return Math.sqrt(e(_))}var o=u;function e(_){return _[0]*_[0]+_[1]*_[1]}var n=e;function i(_,E,I){return _[0]=E[0]*I[0],_[1]=E[1]*I[1],_}function r(_,E,I){return _[0]=E[0]/I[0],_[1]=E[1]/I[1],_}function s(_,E){return _[0]*E[0]+_[1]*E[1]}function t(_,E,I){return _[0]=E[0]*I,_[1]=E[1]*I,_}function a(_,E){var I=u(E);return I===0?(_[0]=0,_[1]=0):(_[0]=E[0]/I,_[1]=E[1]/I),_}function c(_,E){return Math.sqrt((_[0]-E[0])*(_[0]-E[0])+(_[1]-E[1])*(_[1]-E[1]))}var h=c;function p(_,E){return(_[0]-E[0])*(_[0]-E[0])+(_[1]-E[1])*(_[1]-E[1])}var m=p;function S(_,E){return _[0]=-E[0],_[1]=-E[1],_}function y(_,E,I,L){return _[0]=E[0]+L*(I[0]-E[0]),_[1]=E[1]+L*(I[1]-E[1]),_}function x(_,E,I){var L=E[0],D=E[1];return _[0]=I[0]*L+I[2]*D+I[4],_[1]=I[1]*L+I[3]*D+I[5],_}function C(_,E,I){return _[0]=Math.min(E[0],I[0]),_[1]=Math.min(E[1],I[1]),_}function T(_,E,I){return _[0]=Math.max(E[0],I[0]),_[1]=Math.max(E[1],I[1]),_}B.create=w,B.copy=A,B.clone=b,B.set=g,B.add=v,B.scaleAndAdd=f,B.sub=l,B.len=u,B.length=o,B.lenSquare=e,B.lengthSquare=n,B.mul=i,B.div=r,B.dot=s,B.scale=t,B.normalize=a,B.distance=c,B.dist=h,B.distanceSquare=p,B.distSquare=m,B.negate=S,B.lerp=y,B.applyTransform=x,B.min=C,B.max=T},"QO+J":function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.createSensor=void 0;var w=b(d("NohK")),A=d("24YM");function b(v){return v&&v.__esModule?v:{default:v}}var g=function(f){var l=void 0,u=[],o=function(){getComputedStyle(f).position==="static"&&(f.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",e),e()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class",A.SensorClassName),t.setAttribute("tabindex",A.SensorTabIndex),t.type="text/html",f.appendChild(t),t.data="about:blank",t},e=(0,w.default)(function(){u.forEach(function(s){s(f)})}),n=function(t){l||(l=o()),u.indexOf(t)===-1&&u.push(t)},i=function(){l&&l.parentNode&&(l.contentDocument&&l.contentDocument.defaultView.removeEventListener("resize",e),l.parentNode.removeChild(l),l=void 0,u=[])},r=function(t){var a=u.indexOf(t);a!==-1&&u.splice(a,1),u.length===0&&l&&i()};return{element:f,bind:n,destroy:i,unbind:r}};B.createSensor=g},"QQZ/":function(k,B,d){var w=d("Sq3C"),A=d("Z1HP"),b=d("Sxd8"),g=d("dt0z");function v(f,l,u){f=g(f),l=b(l);var o=l?A(f):0;return l&&o<l?w(l-o,u)+f:f}k.exports=v},QUw5:function(k,B,d){var w=d("OlYY"),A=w.extend({type:"dataZoom.select"});k.exports=A},QV2g:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=w;function w(){for(var g,v=[],f=0;f<256;f++){g=f;for(var l=0;l<8;l++)g=g&1?3988292384^g>>>1:g>>>1;v[f]=g}return v}var A=w();function b(g,v,f,l){var u=A,o=l+f;g^=-1;for(var e=l;e<o;e++)g=g>>>8^u[(g^v[e])&255];return g^-1}},QbM5:function(k,B,d){},Qe9p:function(k,B,d){var w=d("1RvN"),A={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 b(E){return E=Math.round(E),E<0?0:E>255?255:E}function g(E){return E=Math.round(E),E<0?0:E>360?360:E}function v(E){return E<0?0:E>1?1:E}function f(E){return E.length&&E.charAt(E.length-1)==="%"?b(parseFloat(E)/100*255):b(parseInt(E,10))}function l(E){return E.length&&E.charAt(E.length-1)==="%"?v(parseFloat(E)/100):v(parseFloat(E))}function u(E,I,L){return L<0?L+=1:L>1&&(L-=1),L*6<1?E+(I-E)*L*6:L*2<1?I:L*3<2?E+(I-E)*(2/3-L)*6:E}function o(E,I,L){return E+(I-E)*L}function e(E,I,L,D,F){return E[0]=I,E[1]=L,E[2]=D,E[3]=F,E}function n(E,I){return E[0]=I[0],E[1]=I[1],E[2]=I[2],E[3]=I[3],E}var i=new w(20),r=null;function s(E,I){r&&n(r,I),r=i.put(E,r||I.slice())}function t(E,I){if(!E)return;I=I||[];var L=i.get(E);if(L)return n(I,L);E=E+"";var D=E.replace(/ /g,"").toLowerCase();if(D in A)return n(I,A[D]),s(E,I),I;if(D.charAt(0)==="#"){if(D.length===4){var F=parseInt(D.substr(1),16);if(!(F>=0&&F<=4095)){e(I,0,0,0,1);return}return e(I,(F&3840)>>4|(F&3840)>>8,F&240|(F&240)>>4,F&15|(F&15)<<4,1),s(E,I),I}else if(D.length===7){var F=parseInt(D.substr(1),16);if(!(F>=0&&F<=16777215)){e(I,0,0,0,1);return}return e(I,(F&16711680)>>16,(F&65280)>>8,F&255,1),s(E,I),I}return}var N=D.indexOf("("),P=D.indexOf(")");if(N!==-1&&P+1===D.length){var W=D.substr(0,N),R=D.substr(N+1,P-(N+1)).split(","),j=1;switch(W){case"rgba":if(R.length!==4){e(I,0,0,0,1);return}j=l(R.pop());case"rgb":if(R.length!==3){e(I,0,0,0,1);return}return e(I,f(R[0]),f(R[1]),f(R[2]),j),s(E,I),I;case"hsla":if(R.length!==4){e(I,0,0,0,1);return}return R[3]=l(R[3]),a(R,I),s(E,I),I;case"hsl":if(R.length!==3){e(I,0,0,0,1);return}return a(R,I),s(E,I),I;default:return}}e(I,0,0,0,1);return}function a(E,I){var L=(parseFloat(E[0])%360+360)%360/360,D=l(E[1]),F=l(E[2]),N=F<=.5?F*(D+1):F+D-F*D,P=F*2-N;return I=I||[],e(I,b(u(P,N,L+1/3)*255),b(u(P,N,L)*255),b(u(P,N,L-1/3)*255),1),E.length===4&&(I[3]=E[3]),I}function c(E){if(!E)return;var I=E[0]/255,L=E[1]/255,D=E[2]/255,F=Math.min(I,L,D),N=Math.max(I,L,D),P=N-F,W=(N+F)/2,R,j;if(P===0)R=0,j=0;else{W<.5?j=P/(N+F):j=P/(2-N-F);var H=((N-I)/6+P/2)/P,K=((N-L)/6+P/2)/P,U=((N-D)/6+P/2)/P;I===N?R=U-K:L===N?R=1/3+H-U:D===N&&(R=2/3+K-H),R<0&&(R+=1),R>1&&(R-=1)}var G=[R*360,j,W];return E[3]!=null&&G.push(E[3]),G}function h(E,I){var L=t(E);if(L){for(var D=0;D<3;D++)I<0?L[D]=L[D]*(1-I)|0:L[D]=(255-L[D])*I+L[D]|0,L[D]>255?L[D]=255:E[D]<0&&(L[D]=0);return _(L,L.length===4?"rgba":"rgb")}}function p(E){var I=t(E);if(I)return((1<<24)+(I[0]<<16)+(I[1]<<8)+ +I[2]).toString(16).slice(1)}function m(E,I,L){if(!(I&&I.length)||!(E>=0&&E<=1))return;L=L||[];var D=E*(I.length-1),F=Math.floor(D),N=Math.ceil(D),P=I[F],W=I[N],R=D-F;return L[0]=b(o(P[0],W[0],R)),L[1]=b(o(P[1],W[1],R)),L[2]=b(o(P[2],W[2],R)),L[3]=v(o(P[3],W[3],R)),L}var S=m;function y(E,I,L){if(!(I&&I.length)||!(E>=0&&E<=1))return;var D=E*(I.length-1),F=Math.floor(D),N=Math.ceil(D),P=t(I[F]),W=t(I[N]),R=D-F,j=_([b(o(P[0],W[0],R)),b(o(P[1],W[1],R)),b(o(P[2],W[2],R)),v(o(P[3],W[3],R))],"rgba");return L?{color:j,leftIndex:F,rightIndex:N,value:D}:j}var x=y;function C(E,I,L,D){if(E=t(E),E)return E=c(E),I!=null&&(E[0]=g(I)),L!=null&&(E[1]=l(L)),D!=null&&(E[2]=l(D)),_(a(E),"rgba")}function T(E,I){if(E=t(E),E&&I!=null)return E[3]=v(I),_(E,"rgba")}function _(E,I){if(!E||!E.length)return;var L=E[0]+","+E[1]+","+E[2];return(I==="rgba"||I==="hsva"||I==="hsla")&&(L+=","+E[3]),I+"("+L+")"}B.parse=t,B.lift=h,B.toHex=p,B.fastLerp=m,B.fastMapToColor=S,B.lerp=y,B.mapToColor=x,B.modifyHSL=C,B.modifyAlpha=T,B.stringify=_},QuXc:function(k,B){var d=function(b){this.colorStops=b||[]};d.prototype={constructor:d,addColorStop:function(b,g){this.colorStops.push({offset:b,color:g})}};var w=d;k.exports=w},Qvb6:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("ItGF"),g=d("B9fm"),v=d("gvm7"),f=d("7aKB"),l=d("OELB"),u=d("IwbS"),o=d("Ez2D"),e=d("+TT/"),n=d("Qxkt"),i=d("F9bG"),r=d("aX7z"),s=d("/y7N"),t=d("4NO4"),a=t.getTooltipRenderMode,c=A.bind,h=A.each,p=l.parsePercent,m=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=w.extendComponentView({type:"tooltip",init:function(I,L){if(b.node)return;var D=I.getComponent("tooltip"),F=D.get("renderMode");this._renderMode=a(F);var N;this._renderMode==="html"?(N=new g(L.getDom(),L,{appendToBody:D.get("appendToBody",!0)}),this._newLine="<br/>"):(N=new v(L),this._newLine=`
`),this._tooltipContent=N},render:function(I,L,D){if(b.node)return;this.group.removeAll(),this._tooltipModel=I,this._ecModel=L,this._api=D,this._lastDataByCoordSys=null,this._alwaysShowContent=I.get("alwaysShowContent");var F=this._tooltipContent;F.update(),F.setEnterable(I.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var I=this._tooltipModel,L=I.get("triggerOn");i.register("itemTooltip",this._api,c(function(D,F,N){L!=="none"&&(L.indexOf(D)>=0?this._tryShow(F,N):D==="leave"&&this._hide(N))},this))},_keepShow:function(){var I=this._tooltipModel,L=this._ecModel,D=this._api;if(this._lastX!=null&&this._lastY!=null&&I.get("triggerOn")!=="none"){var F=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!D.isDisposed()&&F.manuallyShowTip(I,L,D,{x:F._lastX,y:F._lastY})})}},manuallyShowTip:function(I,L,D,F){if(F.from===this.uid||b.node)return;var N=x(F,D);this._ticket="";var P=F.dataByCoordSys;if(F.tooltip&&F.x!=null&&F.y!=null){var W=m;W.position=[F.x,F.y],W.update(),W.tooltip=F.tooltip,this._tryShow({offsetX:F.x,offsetY:F.y,target:W},N)}else if(P)this._tryShow({offsetX:F.x,offsetY:F.y,position:F.position,dataByCoordSys:F.dataByCoordSys,tooltipOption:F.tooltipOption},N);else if(F.seriesIndex!=null){if(this._manuallyAxisShowTip(I,L,D,F))return;var R=o(F,L),j=R.point[0],H=R.point[1];j!=null&&H!=null&&this._tryShow({offsetX:j,offsetY:H,position:F.position,target:R.el},N)}else F.x!=null&&F.y!=null&&(D.dispatchAction({type:"updateAxisPointer",x:F.x,y:F.y}),this._tryShow({offsetX:F.x,offsetY:F.y,position:F.position,target:D.getZr().findHover(F.x,F.y).target},N))},manuallyHideTip:function(I,L,D,F){var N=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&N.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,F.from!==this.uid&&this._hide(x(F,D))},_manuallyAxisShowTip:function(I,L,D,F){var N=F.seriesIndex,P=F.dataIndex,W=L.getComponent("axisPointer").coordSysAxesInfo;if(N==null||P==null||W==null)return;var R=L.getSeriesByIndex(N);if(!R)return;var j=R.getData(),I=y([j.getItemModel(P),R,(R.coordinateSystem||{}).model,I]);return I.get("trigger")!=="axis"?void 0:(D.dispatchAction({type:"updateAxisPointer",seriesIndex:N,dataIndex:P,position:F.position}),!0)},_tryShow:function(I,L){var D=I.target,F=this._tooltipModel;if(!F)return;this._lastX=I.offsetX,this._lastY=I.offsetY;var N=I.dataByCoordSys;N&&N.length?this._showAxisTooltip(N,I):D&&D.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(I,D,L)):D&&D.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(I,D,L)):(this._lastDataByCoordSys=null,this._hide(L))},_showOrMove:function(I,L){var D=I.get("showDelay");L=A.bind(L,this),clearTimeout(this._showTimout),D>0?this._showTimout=setTimeout(L,D):L()},_showAxisTooltip:function(I,L){var D=this._ecModel,F=this._tooltipModel,N=[L.offsetX,L.offsetY],P=[],W=[],R=y([L.tooltipOption,F]),j=this._renderMode,H=this._newLine,K={};h(I,function(G){h(G.dataByAxis,function(z){var Y=D.getComponent(z.axisDim+"Axis",z.axisIndex),q=z.value,oe=[];if(!Y||q==null)return;var ie=s.getValueLabel(q,Y.axis,D,z.seriesDataIndices,z.valueLabelOpt);A.each(z.seriesDataIndices,function(he){var pe=D.getSeriesByIndex(he.seriesIndex),_e=he.dataIndexInside,De=pe&&pe.getDataParams(_e);if(De.axisDim=z.axisDim,De.axisIndex=z.axisIndex,De.axisType=z.axisType,De.axisId=z.axisId,De.axisValue=r.getAxisRawValue(Y.axis,q),De.axisValueLabel=ie,De){W.push(De);var Xe=pe.formatTooltip(_e,!0,null,j),J;if(A.isObject(Xe)){J=Xe.html;var Ee=Xe.markers;A.merge(K,Ee)}else J=Xe;oe.push(J)}});var se=ie;j!=="html"?P.push(oe.join(H)):P.push((se?f.encodeHTML(se)+H:"")+oe.join(H))})},this),P.reverse(),P=P.join(this._newLine+this._newLine);var U=L.position;this._showOrMove(R,function(){this._updateContentNotChangedOnAxis(I)?this._updatePosition(R,U,N[0],N[1],this._tooltipContent,W):this._showTooltipContent(R,P,W,Math.random(),N[0],N[1],U,void 0,K)})},_showSeriesItemTooltip:function(I,L,D){var F=this._ecModel,N=L.seriesIndex,P=F.getSeriesByIndex(N),W=L.dataModel||P,R=L.dataIndex,j=L.dataType,H=W.getData(j),K=y([H.getItemModel(R),W,P&&(P.coordinateSystem||{}).model,this._tooltipModel]),U=K.get("trigger");if(U!=null&&U!=="item")return;var G=W.getDataParams(R,j),z=W.formatTooltip(R,!1,j,this._renderMode),Y,q;A.isObject(z)?(Y=z.html,q=z.markers):(Y=z,q=null);var oe="item_"+W.name+"_"+R;this._showOrMove(K,function(){this._showTooltipContent(K,Y,G,oe,I.offsetX,I.offsetY,I.position,I.target,q)}),D({type:"showTip",dataIndexInside:R,dataIndex:H.getRawIndex(R),seriesIndex:N,from:this.uid})},_showComponentItemTooltip:function(I,L,D){var F=L.tooltip;if(typeof F=="string"){var N=F;F={content:N,formatter:N}}var P=new n(F,this._tooltipModel,this._ecModel),W=P.get("content"),R=Math.random();this._showOrMove(P,function(){this._showTooltipContent(P,W,P.get("formatterParams")||{},R,I.offsetX,I.offsetY,I.position,L)}),D({type:"showTip",from:this.uid})},_showTooltipContent:function(I,L,D,F,N,P,W,R,j){if(this._ticket="",!I.get("showContent")||!I.get("show"))return;var H=this._tooltipContent,K=I.get("formatter");W=W||I.get("position");var U=L;if(K&&typeof K=="string")U=f.formatTpl(K,D,!0);else if(typeof K=="function"){var G=c(function(z,Y){z===this._ticket&&(H.setContent(Y,j,I),this._updatePosition(I,W,N,P,H,D,R))},this);this._ticket=F,U=K(D,F,G)}H.setContent(U,j,I),H.show(I),this._updatePosition(I,W,N,P,H,D,R)},_updatePosition:function(I,L,D,F,N,P,W){var R=this._api.getWidth(),j=this._api.getHeight();L=L||I.get("position");var H=N.getSize(),K=I.get("align"),U=I.get("verticalAlign"),G=W&&W.getBoundingRect().clone();if(W&&G.applyTransform(W.transform),typeof L=="function"&&(L=L([D,F],P,N.el,G,{viewSize:[R,j],contentSize:H.slice()})),A.isArray(L))D=p(L[0],R),F=p(L[1],j);else if(A.isObject(L)){L.width=H[0],L.height=H[1];var z=e.getLayoutRect(L,{width:R,height:j});D=z.x,F=z.y,K=null,U=null}else if(typeof L=="string"&&W){var Y=_(L,G,H);D=Y[0],F=Y[1]}else{var Y=C(D,F,N,R,j,K?null:20,U?null:20);D=Y[0],F=Y[1]}if(K&&(D-=E(K)?H[0]/2:K==="right"?H[0]:0),U&&(F-=E(U)?H[1]/2:U==="bottom"?H[1]:0),I.get("confine")){var Y=T(D,F,N,R,j);D=Y[0],F=Y[1]}N.moveTo(D,F)},_updateContentNotChangedOnAxis:function(I){var L=this._lastDataByCoordSys,D=!!L&&L.length===I.length;return D&&h(L,function(F,N){var P=F.dataByAxis||{},W=I[N]||{},R=W.dataByAxis||[];D&=P.length===R.length,D&&h(P,function(j,H){var K=R[H]||{},U=j.seriesDataIndices||[],G=K.seriesDataIndices||[];D&=j.value===K.value&&j.axisType===K.axisType&&j.axisId===K.axisId&&U.length===G.length,D&&h(U,function(z,Y){var q=G[Y];D&=z.seriesIndex===q.seriesIndex&&z.dataIndex===q.dataIndex})})}),this._lastDataByCoordSys=I,!!D},_hide:function(I){this._lastDataByCoordSys=null,I({type:"hideTip",from:this.uid})},dispose:function(I,L){if(b.node)return;this._tooltipContent.dispose(),i.unregister("itemTooltip",L)}});function y(I){for(var L=I.pop();I.length;){var D=I.pop();D&&(n.isInstance(D)&&(D=D.get("tooltip",!0)),typeof D=="string"&&(D={formatter:D}),L=new n(D,L,L.ecModel))}return L}function x(I,L){return I.dispatchAction||A.bind(L.dispatchAction,L)}function C(I,L,D,F,N,P,W){var R=D.getOuterSize(),j=R.width,H=R.height;return P!=null&&(I+j+P>F?I-=j+P:I+=P),W!=null&&(L+H+W>N?L-=H+W:L+=W),[I,L]}function T(I,L,D,F,N){var P=D.getOuterSize(),W=P.width,R=P.height;return I=Math.min(I+W,F)-W,L=Math.min(L+R,N)-R,I=Math.max(I,0),L=Math.max(L,0),[I,L]}function _(I,L,D){var F=D[0],N=D[1],P=5,W=0,R=0,j=L.width,H=L.height;switch(I){case"inside":W=L.x+j/2-F/2,R=L.y+H/2-N/2;break;case"top":W=L.x+j/2-F/2,R=L.y-N-P;break;case"bottom":W=L.x+j/2-F/2,R=L.y+H+P;break;case"left":W=L.x-F-P,R=L.y+H/2-N/2;break;case"right":W=L.x+j+P,R=L.y+H/2-N/2}return[W,R]}function E(I){return I==="center"||I==="middle"}k.exports=S},Qxkt:function(k,B,d){var w=d("bYtY"),A=d("ItGF"),b=d("4NO4"),g=b.makeInner,v=d("Yl7c"),f=v.enableClassExtend,l=v.enableClassCheck,u=d("OQFs"),o=d("m9t5"),e=d("/iHx"),n=d("VR9l"),i=w.mixin,r=g();function s(h,p,m){this.parentModel=p,this.ecModel=m,this.option=h}s.prototype={constructor:s,init:null,mergeOption:function(h){w.merge(this.option,h,!0)},get:function(h,p){return h==null?this.option:t(this.option,this.parsePath(h),!p&&a(this,h))},getShallow:function(h,p){var m=this.option,S=m==null?m:m[h],y=!p&&a(this,h);return S==null&&y&&(S=y.getShallow(h)),S},getModel:function(h,p){var m=h==null?this.option:t(this.option,h=this.parsePath(h)),S;return p=p||(S=a(this,h))&&S.getModel(h),new s(m,p,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var h=this.constructor;return new h(w.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(!A.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(h,p,m){for(var S=0;S<p.length;S++){if(!p[S])continue;if(h=h&&typeof h=="object"?h[p[S]]:null,h==null)break}return h==null&&m&&(h=m.get(p)),h}function a(h,p){var m=r(h).getParent;return m?m.call(h,p):h.parentModel}f(s),l(s),i(s,u),i(s,o),i(s,e),i(s,n);var c=s;k.exports=c},QzjZ:function(k,B,d){var w=d("S/Yl"),A=d("IDmD");function b(g,v){var f=[];return g.eachComponent("singleAxis",function(l,u){var o=new w(l,g,v);o.name="single_"+u,o.resize(l,v),l.coordinateSystem=o,f.push(o)}),g.eachSeries(function(l){if(l.get("coordinateSystem")==="singleAxis"){var u=g.queryComponents({mainType:"singleAxis",index:l.get("singleAxisIndex"),id:l.get("singleAxisId")})[0];l.coordinateSystem=u&&u.coordinateSystem}}),f}A.register("single",{create:b,dimensions:w.prototype.dimensions})},R4Th:function(k,B,d){var w=d("ProS"),A=d("9wZj"),b=d("yO87"),g=d("Fofx"),v=d("h8O9"),f=w.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new A(b)},render:function(l,u,o){var e=l.getData(),n=this._symbolDraw;n.updateData(e),this.group.add(n.group)},updateTransform:function(l,u,o){var e=l.getData();this.group.dirty();var n=v().reset(l);n.progress&&n.progress({start:0,end:e.count()},e),this._symbolDraw.updateLayout(e)},_updateGroupTransform:function(l){var u=l.coordinateSystem;u&&u.getRoamTransform&&(this.group.transform=g.clone(u.getRoamTransform()),this.group.decomposeTransform())},remove:function(l,u){this._symbolDraw&&this._symbolDraw.remove(u)},dispose:function(){}});k.exports=f},R9oj:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("pwpV"),g=d.n(b)},RBEP:function(k,B,d){for(var w=d("ProS"),A=d("VaxA"),b=function(){},g=["treemapZoomToNode","treemapRender","treemapMove"],v=0;v<g.length;v++)w.registerAction({type:g[v],update:"updateView"},b);w.registerAction({type:"treemapRootToNode",update:"updateView"},function(f,l){l.eachComponent({mainType:"series",subType:"treemap",query:f},u);function u(o,e){var n=["treemapZoomToNode","treemapRootToNode"],i=A.retrieveTargetInfo(f,n,o);if(i){var r=o.getViewRoot();r&&(f.direction=A.aboveViewRoot(r,i.node)?"rollUp":"drillDown"),o.resetViewRoot(i.node)}}})},RDYZ:function(k,B,d){var w=d("dMvE");function A(g){this._target=g.target,this._life=g.life||1e3,this._delay=g.delay||0,this._initialized=!1,this.loop=g.loop==null?!1:g.loop,this.gap=g.gap||0,this.easing=g.easing||"Linear",this.onframe=g.onframe,this.ondestroy=g.ondestroy,this.onrestart=g.onrestart,this._pausedTime=0,this._paused=!1}A.prototype={constructor:A,step:function(v,f){if(this._initialized||(this._startTime=v+this._delay,this._initialized=!0),this._paused){this._pausedTime+=f;return}var l=(v-this._startTime-this._pausedTime)/this._life;if(l<0)return;l=Math.min(l,1);var u=this.easing,o=typeof u=="string"?w[u]:u,e=typeof o=="function"?o(l):l;return this.fire("frame",e),l===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 b=A;k.exports=b},RELg:function(k,B,d){var w=d("MFOe"),A=w.Global;k.exports={name:"oldIE-userDataStorage",write:l,read:u,each:o,remove:e,clearAll:n};var b="storejs",g=A.document,v=s(),f=(A.navigator?A.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function l(t,a){if(f)return;var c=r(t);v(function(h){h.setAttribute(c,a),h.save(b)})}function u(t){if(f)return;var a=r(t),c=null;return v(function(h){c=h.getAttribute(a)}),c}function o(t){v(function(a){for(var c=a.XMLDocument.documentElement.attributes,h=c.length-1;h>=0;h--){var p=c[h];t(a.getAttribute(p.name),p.name)}})}function e(t){var a=r(t);v(function(c){c.removeAttribute(a),c.save(b)})}function n(){v(function(t){var a=t.XMLDocument.documentElement.attributes;t.load(b);for(var c=a.length-1;c>=0;c--)t.removeAttribute(a[c].name);t.save(b)})}var i=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function r(t){return t.replace(/^\d/,"___$&").replace(i,"___")}function s(){if(!g||!g.documentElement||!g.documentElement.addBehavior)return null;var t="script",a,c,h;try{c=new ActiveXObject("htmlfile"),c.open(),c.write("<"+t+">document.w=window</"+t+'><iframe src="/favicon.ico"></iframe>'),c.close(),a=c.w.frames[0].document,h=a.createElement("div")}catch(p){h=g.createElement("div"),a=g.body}return function(p){var m=[].slice.call(arguments,0);m.unshift(h),a.appendChild(h),h.addBehavior("#default#userData"),h.load(b),p.apply(this,m),a.removeChild(h);return}}},RPvy:function(k,B,d){var w=d("ProS"),A=d("VaxA"),b="sunburstRootToNode";w.registerAction({type:b,update:"updateView"},function(f,l){l.eachComponent({mainType:"series",subType:"sunburst",query:f},u);function u(o,e){var n=A.retrieveTargetInfo(f,[b],o);if(n){var i=o.getViewRoot();i&&(f.direction=A.aboveViewRoot(i,n.node)?"rollUp":"drillDown"),o.resetViewRoot(n.node)}}});var g="sunburstHighlight";w.registerAction({type:g,update:"updateView"},function(f,l){l.eachComponent({mainType:"series",subType:"sunburst",query:f},u);function u(o,e){var n=A.retrieveTargetInfo(f,[g],o);n&&(f.highlight=n.node)}});var v="sunburstUnhighlight";w.registerAction({type:v,update:"updateView"},function(f,l){l.eachComponent({mainType:"series",subType:"sunburst",query:f},u);function u(o,e){f.unhighlight=!0}})},RSch:function(k,B,d){var w=d("IwbS"),A=d("bYtY");function b(f,l,u){w.Group.call(this),this._createPolyline(f,l,u)}var g=b.prototype;g._createPolyline=function(f,l,u){var o=f.getItemLayout(l),e=new w.Polyline({shape:{points:o}});this.add(e),this._updateCommonStl(f,l,u)},g.updateData=function(f,l,u){var o=f.hostModel,e=this.childAt(0),n={shape:{points:f.getItemLayout(l)}};w.updateProps(e,n,o,l),this._updateCommonStl(f,l,u)},g._updateCommonStl=function(f,l,u){var o=this.childAt(0),e=f.getItemModel(l),n=f.getItemVisual(l,"color"),i=u&&u.lineStyle,r=u&&u.hoverLineStyle;(!u||f.hasItemOption)&&(i=e.getModel("lineStyle").getLineStyle(),r=e.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(A.defaults({strokeNoScale:!0,fill:"none",stroke:n},i)),o.hoverStyle=r,w.setHoverStyle(this)},g.updateLayout=function(f,l){var u=this.childAt(0);u.setShape("points",f.getItemLayout(l))},A.inherits(b,w.Group);var v=b;k.exports=v},RXMa:function(k,B,d){var w=d("y+Vt"),A=w.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(g,v){var f=v.cx,l=v.cy,u=Math.PI*2;g.moveTo(f+v.r,l),g.arc(f,l,v.r,0,u,!1),g.moveTo(f+v.r0,l),g.arc(f,l,v.r0,0,u,!0)}});k.exports=A},RlCK:function(k,B,d){var w=d("ProS"),A=d("bYtY");function b(g,v,f){var l={},u=g==="toggleSelected",o;return f.eachComponent("legend",function(e){u&&o!=null?e[o?"select":"unSelect"](v.name):g==="allSelect"||g==="inverseSelect"?e[g]():(e[g](v.name),o=e.isSelected(v.name));var n=e.getData();A.each(n,function(i){var r=i.get("name");if(r===`
`||r==="")return;var s=e.isSelected(r);l.hasOwnProperty(r)?l[r]=l[r]&&s:l[r]=s})}),g==="allSelect"||g==="inverseSelect"?{selected:l}:{name:v.name,selected:l}}w.registerAction("legendToggleSelect","legendselectchanged",A.curry(b,"toggleSelected")),w.registerAction("legendAllSelect","legendselectall",A.curry(b,"allSelect")),w.registerAction("legendInverseSelect","legendinverseselect",A.curry(b,"inverseSelect")),w.registerAction("legendSelect","legendselected",A.curry(b,"select")),w.registerAction("legendUnSelect","legendunselected",A.curry(b,"unSelect"))},RotF:function(k,B,d){k.exports=d("LSTS")},Rx6q:function(k,B){function d(w){var A=w.getRect(),b=w.getRangeInfo();return{coordSys:{type:"calendar",x:A.x,y:A.y,width:A.width,height:A.height,cellWidth:w.getCellWidth(),cellHeight:w.getCellHeight(),rangeInfo:{start:b.start,end:b.end,weeks:b.weeks,dayCount:b.allDay}},api:{coord:function(g,v){return w.dataToPoint(g,v)}}}}k.exports=d},"S/Yl":function(k,B,d){var w=d("Zvw2"),A=d("aX7z"),b=d("+TT/"),g=b.getLayoutRect,v=d("bYtY"),f=v.each;function l(o,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(o,e,n),this.model=o}l.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:l,_init:function(o,e,n){var i=this.dimension,r=new w(i,A.createScaleByModel(o),[0,0],o.get("type"),o.get("position")),s=r.type==="category";r.onBand=s&&o.get("boundaryGap"),r.inverse=o.get("inverse"),r.orient=o.get("orient"),o.axis=r,r.model=o,r.coordinateSystem=this,this._axis=r},update:function(o,e){o.eachSeries(function(n){if(n.coordinateSystem===this){var i=n.getData();f(i.mapDimension(this.dimension,!0),function(r){this._axis.scale.unionExtentFromData(i,r)},this),A.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(o,e){this._rect=g({left:o.get("left"),top:o.get("top"),right:o.get("right"),bottom:o.get("bottom"),width:o.get("width"),height:o.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var o=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,o.width]:[0,o.height],r=e.reverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?o.x:o.y)},_updateAxisTransform:function(o,e){var n=o.getExtent(),i=n[0]+n[1],r=o.isHorizontal();o.toGlobalCoord=r?function(s){return s+e}:function(s){return i-s+e},o.toLocalCoord=r?function(s){return s-e}:function(s){return i-s+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(o){var e=this.getRect(),n=this.getAxis(),i=n.orient;return i==="horizontal"?n.contain(n.toLocalCoord(o[0]))&&o[1]>=e.y&&o[1]<=e.y+e.height:n.contain(n.toLocalCoord(o[1]))&&o[0]>=e.y&&o[0]<=e.y+e.height},pointToData:function(o){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(o[e.orient==="horizontal"?0:1]))]},dataToPoint:function(o){var e=this.getAxis(),n=this.getRect(),i=[],r=e.orient==="horizontal"?0:1;return o instanceof Array&&(o=o[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+o)),i[1-r]=r===0?n.y+n.height/2:n.x+n.width/2,i}};var u=l;k.exports=u},"SA4+":function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),g=d("IwbS"),v=d("zYTA"),f=d("bYtY");function l(n,i,r){var s=n[1]-n[0];i=f.map(i,function(c){return{interval:[(c.interval[0]-n[0])/s,(c.interval[1]-n[0])/s]}});var t=i.length,a=0;return function(c){for(var h=a;h<t;h++){var p=i[h].interval;if(p[0]<=c&&c<=p[1]){a=h;break}}if(h===t)for(var h=a-1;h>=0;h--){var p=i[h].interval;if(p[0]<=c&&c<=p[1]){a=h;break}}return h>=0&&h<t&&r[h]}}function u(n,i){var r=n[1]-n[0];return i=[(i[0]-n[0])/r,(i[1]-n[0])/r],function(s){return s>=i[0]&&s<=i[1]}}function o(n){var i=n.dimensions;return i[0]==="lng"&&i[1]==="lat"}var e=b.extendChartView({type:"heatmap",render:function(n,i,r){var s;i.eachComponent("visualMap",function(a){a.eachTargetSeries(function(c){c===n&&(s=a)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=n.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(n,r,0,n.getData().count()):o(t)&&this._renderOnGeo(t,n,s,r)},incrementalPrepareRender:function(n,i,r){this.group.removeAll()},incrementalRender:function(n,i,r,s){var t=i.coordinateSystem;t&&this._renderOnCartesianAndCalendar(i,s,n.start,n.end,!0)},_renderOnCartesianAndCalendar:function(n,i,r,s,t){var a=n.coordinateSystem,c,h;if(a.type==="cartesian2d"){var p=a.getAxis("x"),m=a.getAxis("y");c=p.getBandWidth(),h=m.getBandWidth()}for(var S=this.group,y=n.getData(),x="itemStyle",C="emphasis.itemStyle",T="label",_="emphasis.label",E=n.getModel(x).getItemStyle(["color"]),I=n.getModel(C).getItemStyle(),L=n.getModel(T),D=n.getModel(_),F=a.type,N=F==="cartesian2d"?[y.mapDimension("x"),y.mapDimension("y"),y.mapDimension("value")]:[y.mapDimension("time"),y.mapDimension("value")],P=r;P<s;P++){var W;if(F==="cartesian2d"){if(isNaN(y.get(N[2],P)))continue;var R=a.dataToPoint([y.get(N[0],P),y.get(N[1],P)]);W=new g.Rect({shape:{x:Math.floor(Math.round(R[0])-c/2),y:Math.floor(Math.round(R[1])-h/2),width:Math.ceil(c),height:Math.ceil(h)},style:{fill:y.getItemVisual(P,"color"),opacity:y.getItemVisual(P,"opacity")}})}else{if(isNaN(y.get(N[1],P)))continue;W=new g.Rect({z2:1,shape:a.dataToRect([y.get(N[0],P)]).contentShape,style:{fill:y.getItemVisual(P,"color"),opacity:y.getItemVisual(P,"opacity")}})}var j=y.getItemModel(P);y.hasItemOption&&(E=j.getModel(x).getItemStyle(["color"]),I=j.getModel(C).getItemStyle(),L=j.getModel(T),D=j.getModel(_));var H=n.getRawValue(P),K="-";H&&H[2]!=null&&(K=H[2]),g.setLabelStyle(E,I,L,D,{labelFetcher:n,labelDataIndex:P,defaultText:K,isRectText:!0}),W.setStyle(E),g.setHoverStyle(W,y.hasItemOption?I:f.extend({},I)),W.incremental=t,t&&(W.useHoverLayer=!0),S.add(W),y.setItemGraphicEl(P,W)}},_renderOnGeo:function(n,i,r,s){var t=r.targetVisuals.inRange,a=r.targetVisuals.outOfRange,c=i.getData(),h=this._hmLayer||this._hmLayer||new v;h.blurSize=i.get("blurSize"),h.pointSize=i.get("pointSize"),h.minOpacity=i.get("minOpacity"),h.maxOpacity=i.get("maxOpacity");var p=n.getViewRect().clone(),m=n.getRoamTransform();p.applyTransform(m);var S=Math.max(p.x,0),y=Math.max(p.y,0),x=Math.min(p.width+p.x,s.getWidth()),C=Math.min(p.height+p.y,s.getHeight()),T=x-S,_=C-y,E=[c.mapDimension("lng"),c.mapDimension("lat"),c.mapDimension("value")],I=c.mapArray(E,function(N,P,W){var R=n.dataToPoint([N,P]);return R[0]-=S,R[1]-=y,R.push(W),R}),L=r.getExtent(),D=r.type==="visualMap.continuous"?u(L,r.option.range):l(L,r.getPieceList(),r.option.selected);h.update(I,T,_,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:a.color.getColorMapper()},D);var F=new g.Image({style:{width:T,height:_,x:S,y,image:h.canvas},silent:!0});this.group.add(F)},dispose:function(){}});k.exports=e},SA8n:function(k,B,d){var w=d("Sj9i"),A=d("QBsz"),b=d("U/Mo"),g=b.getSymbolSize,v=[],f=[],l=[],u=w.quadraticAt,o=A.distSquare,e=Math.abs;function n(r,s,t){for(var a=r[0],c=r[1],h=r[2],p=Infinity,m,S=t*t,y=.1,x=.1;x<=.9;x+=.1){v[0]=u(a[0],c[0],h[0],x),v[1]=u(a[1],c[1],h[1],x);var C=e(o(v,s)-S);C<p&&(p=C,m=x)}for(var T=0;T<32;T++){var _=m+y;f[0]=u(a[0],c[0],h[0],m),f[1]=u(a[1],c[1],h[1],m),l[0]=u(a[0],c[0],h[0],_),l[1]=u(a[1],c[1],h[1],_);var C=o(f,s)-S;if(e(C)<.01)break;var E=o(l,s)-S;y/=2,C<0?E>=0?m=m+y:m=m-y:E>=0?m=m-y:m=m+y}return m}function i(r,s){var t=[],a=w.quadraticSubdivide,c=[[],[],[]],h=[[],[]],p=[];s/=2,r.eachEdge(function(m,S){var y=m.getLayout(),x=m.getVisual("fromSymbol"),C=m.getVisual("toSymbol");y.__original||(y.__original=[A.clone(y[0]),A.clone(y[1])],y[2]&&y.__original.push(A.clone(y[2])));var T=y.__original;if(y[2]!=null){if(A.copy(c[0],T[0]),A.copy(c[1],T[2]),A.copy(c[2],T[1]),x&&x!=="none"){var _=g(m.node1),E=n(c,T[0],_*s);a(c[0][0],c[1][0],c[2][0],E,t),c[0][0]=t[3],c[1][0]=t[4],a(c[0][1],c[1][1],c[2][1],E,t),c[0][1]=t[3],c[1][1]=t[4]}if(C&&C!=="none"){var _=g(m.node2),E=n(c,T[1],_*s);a(c[0][0],c[1][0],c[2][0],E,t),c[1][0]=t[1],c[2][0]=t[2],a(c[0][1],c[1][1],c[2][1],E,t),c[1][1]=t[1],c[2][1]=t[2]}A.copy(y[0],c[0]),A.copy(y[1],c[2]),A.copy(y[2],c[1])}else{if(A.copy(h[0],T[0]),A.copy(h[1],T[1]),A.sub(p,h[1],h[0]),A.normalize(p,p),x&&x!=="none"){var _=g(m.node1);A.scaleAndAdd(h[0],h[0],p,_*s)}if(C&&C!=="none"){var _=g(m.node2);A.scaleAndAdd(h[1],h[1],p,-_*s)}A.copy(y[0],h[0]),A.copy(y[1],h[1])}})}k.exports=i},SJMd:function(k,B){/**
* @license
* Copyright (C) 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var d,w,A,b=!1,g,v;window.PR_SHOULD_USE_CONTINUATION=!0;var f,l;(function(){var u=window,o=["break,continue,do,else,for,if,return,while"],e=[o,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],n=[e,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],i=[n,"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=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],s=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],t="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",a=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],c="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=[o,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],p=[o,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],m=[o,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],S=[i,s,r,a,c,h,p,m],y=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,x="str",C="kwd",T="com",_="typ",E="lit",I="pun",L="pln",D="tag",F="dec",N="src",P="atn",W="atv",R="nocode",j="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function H(ae){for(var V=0,X=!1,Z=!1,ge=0,le=ae.length;ge<le;++ge){var Se=ae[ge];if(Se.ignoreCase)Z=!0;else if(/[a-z]/i.test(Se.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){X=!0,Z=!1;break}}var me={b:8,t:9,n:10,v:11,f:12,r:13};function $(nt){var Ne=nt.charCodeAt(0);if(Ne!==92)return Ne;var St=nt.charAt(1);return Ne=me[St],Ne||("0"<=St&&St<="7"?parseInt(nt.substring(1),8):St==="u"||St==="x"?parseInt(nt.substring(2),16):nt.charCodeAt(1))}function we(nt){if(nt<32)return(nt<16?"\\x0":"\\x")+nt.toString(16);var Ne=String.fromCharCode(nt);return Ne==="\\"||Ne==="-"||Ne==="]"||Ne==="^"?"\\"+Ne:Ne}function xe(nt){var Ne=nt.substring(1,nt.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")),St=[],Ye=Ne[0]==="^",vt=["["];Ye&&vt.push("^");for(var It=Ye?1:0,Ut=Ne.length;It<Ut;++It){var xt=Ne[It];if(/\\[bdsw]/i.test(xt))vt.push(xt);else{var Bt=$(xt),Qe;It+2<Ut&&Ne[It+1]==="-"?(Qe=$(Ne[It+2]),It+=2):Qe=Bt,St.push([Bt,Qe]),Qe<65||Bt>122||(Qe<65||Bt>90||St.push([Math.max(65,Bt)|32,Math.min(Qe,90)|32]),Qe<97||Bt>122||St.push([Math.max(97,Bt)&~32,Math.min(Qe,122)&~32]))}}St.sort(function(Ce,ue){return Ce[0]-ue[0]||ue[1]-Ce[1]});for(var te=[],Q=[],It=0;It<St.length;++It){var Me=St[It];Me[0]<=Q[1]+1?Q[1]=Math.max(Q[1],Me[1]):te.push(Q=Me)}for(var It=0;It<te.length;++It){var Me=te[It];vt.push(we(Me[0])),Me[1]>Me[0]&&(Me[1]+1>Me[0]&&vt.push("-"),vt.push(we(Me[1])))}return vt.push("]"),vt.join("")}function We(nt){for(var Ne=nt.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")),St=Ne.length,Ye=[],vt=0,It=0;vt<St;++vt){var Ut=Ne[vt];if(Ut==="(")++It;else if(Ut.charAt(0)==="\\"){var xt=+Ut.substring(1);xt&&(xt<=It?Ye[xt]=-1:Ne[vt]=we(xt))}}for(var vt=1;vt<Ye.length;++vt)Ye[vt]===-1&&(Ye[vt]=++V);for(var vt=0,It=0;vt<St;++vt){var Ut=Ne[vt];if(Ut==="(")++It,Ye[It]||(Ne[vt]="(?:");else if(Ut.charAt(0)==="\\"){var xt=+Ut.substring(1);xt&&xt<=It&&(Ne[vt]="\\"+Ye[xt])}}for(var vt=0;vt<St;++vt)Ne[vt]==="^"&&Ne[vt+1]!=="^"&&(Ne[vt]="");if(nt.ignoreCase&&X)for(var vt=0;vt<St;++vt){var Ut=Ne[vt],Bt=Ut.charAt(0);Ut.length>=2&&Bt==="["?Ne[vt]=xe(Ut):Bt!=="\\"&&(Ne[vt]=Ut.replace(/[a-zA-Z]/g,function(Q){var Me=Q.charCodeAt(0);return"["+String.fromCharCode(Me&~32,Me|32)+"]"}))}return Ne.join("")}for(var st=[],ge=0,le=ae.length;ge<le;++ge){var Se=ae[ge];if(Se.global||Se.multiline)throw new Error(""+Se);st.push("(?:"+We(Se)+")")}return new RegExp(st.join("|"),Z?"gi":"g")}function K(ae,V){var X=/(?:^|\s)nocode(?:\s|$)/,Z=[],ge=0,le=[],Se=0;function me($){var we=$.nodeType;if(we==1){if(X.test($.className))return;for(var xe=$.firstChild;xe;xe=xe.nextSibling)me(xe);var We=$.nodeName.toLowerCase();(We==="br"||We==="li")&&(Z[Se]=`
`,le[Se<<1]=ge++,le[Se++<<1|1]=$)}else if(we==3||we==4){var st=$.nodeValue;st.length&&(V?st=st.replace(/\r\n?/g,`
`):st=st.replace(/[ \t\r\n]+/g," "),Z[Se]=st,le[Se<<1]=ge,ge+=st.length,le[Se++<<1|1]=$)}}return me(ae),{sourceCode:Z.join("").replace(/\n$/,""),spans:le}}function U(ae,V,X,Z,ge){if(!X)return;var le={sourceNode:ae,pre:1,langExtension:null,numberLines:null,sourceCode:X,spans:null,basePos:V,decorations:null};Z(le),ge.push.apply(ge,le.decorations)}var G=/\S/;function z(ae){for(var V=void 0,X=ae.firstChild;X;X=X.nextSibling){var Z=X.nodeType;V=Z===1?V?ae:X:Z===3&&G.test(X.nodeValue)?ae:V}return V===ae?void 0:V}function Y(ae,V){var X={},Z;(function(){for(var Se=ae.concat(V),me=[],$={},we=0,xe=Se.length;we<xe;++we){var We=Se[we],st=We[3];if(st)for(var nt=st.length;--nt>=0;)X[st.charAt(nt)]=We;var Ne=We[1],St=""+Ne;$.hasOwnProperty(St)||(me.push(Ne),$[St]=null)}me.push(/[\0-\uffff]/),Z=H(me)})();var ge=V.length,le=function Se(me){for(var $=me.sourceCode,we=me.basePos,xe=me.sourceNode,We=[we,L],st=0,nt=$.match(Z)||[],Ne={},St=0,Ye=nt.length;St<Ye;++St){var vt=nt[St],It=Ne[vt],Ut=void 0,xt;if(typeof It=="string")xt=!1;else{var Bt=X[vt.charAt(0)];if(Bt)Ut=vt.match(Bt[1]),It=Bt[0];else{for(var Qe=0;Qe<ge;++Qe)if(Bt=V[Qe],Ut=vt.match(Bt[1]),Ut){It=Bt[0];break}Ut||(It=L)}xt=It.length>=5&&It.substring(0,5)==="lang-",xt&&!(Ut&&typeof Ut[1]=="string")&&(xt=!1,It=N),xt||(Ne[vt]=It)}var te=st;if(st+=vt.length,!xt)We.push(we+te,It);else{var Q=Ut[1],Me=vt.indexOf(Q),Ce=Me+Q.length;Ut[2]&&(Ce=vt.length-Ut[2].length,Me=Ce-Q.length);var ue=It.substring(5);U(xe,we+te,vt.substring(0,Me),Se,We),U(xe,we+te+Me,Q,_e(ue,Q),We),U(xe,we+te+Ce,vt.substring(Ce),Se,We)}}me.decorations=We};return le}function q(ae){var V=[],X=[];ae.tripleQuotedStrings?V.push([x,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):ae.multiLineStrings?V.push([x,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):V.push([x,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),ae.verbatimStrings&&X.push([x,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Z=ae.hashComments;Z&&(ae.cStyleComments?(Z>1?V.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):V.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),X.push([x,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):V.push([T,/^#[^\r\n]*/,null,"#"])),ae.cStyleComments&&(X.push([T,/^\/\/[^\r\n]*/,null]),X.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var ge=ae.regexLiterals;if(ge){var le=ge>1?"":`
\r`,Se=le?".":"[\\S\\s]",me="/(?=[^/*"+le+"])(?:[^/\\x5B\\x5C"+le+"]|\\x5C"+Se+"|\\x5B(?:[^\\x5C\\x5D"+le+"]|\\x5C"+Se+")*(?:\\x5D|$))+/";X.push(["lang-regex",RegExp("^"+j+"("+me+")")])}var $=ae.types;$&&X.push([_,$]);var we=(""+ae.keywords).replace(/^ | $/g,"");we.length&&X.push([C,new RegExp("^(?:"+we.replace(/[\s,]+/g,"|")+")\\b"),null]),V.push([L,/^\s+/,null,` \r
\xA0`]);var xe="^.[^\\s\\w.$@'\"`/\\\\]*";return ae.regexLiterals&&(xe+="(?!s*/)"),X.push([E,/^@[a-z_$][a-z_$@0-9]*/i,null],[_,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[L,/^[a-z_$][a-z_$@0-9]*/i,null],[E,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[L,/^\\[\s\S]?/,null],[I,new RegExp(xe),null]),Y(V,X)}var oe=q({keywords:S,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function ie(ae,V,X){for(var Z=/(?:^|\s)nocode(?:\s|$)/,ge=/\r\n?|\n/,le=ae.ownerDocument,Se=le.createElement("li");ae.firstChild;)Se.appendChild(ae.firstChild);var me=[Se];function $(Ne){var St=Ne.nodeType;if(St==1&&!Z.test(Ne.className))if(Ne.nodeName==="br")we(Ne),Ne.parentNode&&Ne.parentNode.removeChild(Ne);else for(var Ye=Ne.firstChild;Ye;Ye=Ye.nextSibling)$(Ye);else if((St==3||St==4)&&X){var vt=Ne.nodeValue,It=vt.match(ge);if(It){var Ut=vt.substring(0,It.index);Ne.nodeValue=Ut;var xt=vt.substring(It.index+It[0].length);if(xt){var Bt=Ne.parentNode;Bt.insertBefore(le.createTextNode(xt),Ne.nextSibling)}we(Ne),Ut||Ne.parentNode.removeChild(Ne)}}}function we(Ne){for(;!Ne.nextSibling;)if(Ne=Ne.parentNode,!Ne)return;function St(It,Ut){var xt=Ut?It.cloneNode(!1):It,Bt=It.parentNode;if(Bt){var Qe=St(Bt,1),te=It.nextSibling;Qe.appendChild(xt);for(var Q=te;Q;Q=te)te=Q.nextSibling,Qe.appendChild(Q)}return xt}for(var Ye=St(Ne.nextSibling,0),vt;(vt=Ye.parentNode)&&vt.nodeType===1;)Ye=vt;me.push(Ye)}for(var xe=0;xe<me.length;++xe)$(me[xe]);V===(V|0)&&me[0].setAttribute("value",V);var We=le.createElement("ol");We.className="linenums";for(var st=Math.max(0,V-1|0)||0,xe=0,nt=me.length;xe<nt;++xe)Se=me[xe],Se.className="L"+(xe+st)%10,Se.firstChild||Se.appendChild(le.createTextNode("\xA0")),We.appendChild(Se);ae.appendChild(We)}function se(ae){var V=/\bMSIE\s(\d+)/.exec(navigator.userAgent);V=V&&+V[1]<=8;var X=/\n/g,Z=ae.sourceCode,ge=Z.length,le=0,Se=ae.spans,me=Se.length,$=0,we=ae.decorations,xe=we.length,We=0;we[xe]=ge;var st,nt;for(nt=st=0;nt<xe;)we[nt]!==we[nt+2]?(we[st++]=we[nt++],we[st++]=we[nt++]):nt+=2;for(xe=st,nt=st=0;nt<xe;){for(var Ne=we[nt],St=we[nt+1],Ye=nt+2;Ye+2<=xe&&we[Ye+1]===St;)Ye+=2;we[st++]=Ne,we[st++]=St,nt=Ye}xe=we.length=st;var vt=ae.sourceNode,It="";vt&&(It=vt.style.display,vt.style.display="none");try{for(var Ut=null;$<me;){var xt=Se[$],Bt=Se[$+2]||ge,Qe=we[We+2]||ge,Ye=Math.min(Bt,Qe),te=Se[$+1],Q;if(te.nodeType!==1&&(Q=Z.substring(le,Ye))){V&&(Q=Q.replace(X,"\r")),te.nodeValue=Q;var Me=te.ownerDocument,Ce=Me.createElement("span");Ce.className=we[We+1];var ue=te.parentNode;ue.replaceChild(Ce,te),Ce.appendChild(te),le<Bt&&(Se[$+1]=te=Me.createTextNode(Z.substring(Ye,Bt)),ue.insertBefore(te,Ce.nextSibling))}le=Ye,le>=Bt&&($+=2),le>=Qe&&(We+=2)}}finally{vt&&(vt.style.display=It)}}var he={};function pe(ae,V){for(var X=V.length;--X>=0;){var Z=V[X];he.hasOwnProperty(Z)?u.console&&console.warn("cannot override language handler %s",Z):he[Z]=ae}}function _e(ae,V){return ae&&he.hasOwnProperty(ae)||(ae=/^\s*</.test(V)?"default-markup":"default-code"),he[ae]}pe(oe,["default-code"]),pe(Y([],[[L,/^[^<?]+/],[F,/^<!\w[^>]*(?:>|$)/],[T,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[I,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),pe(Y([[L,/^[\s]+/,null,` \r
`],[W,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[D,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[I,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),pe(Y([],[[W,/^[\s\S]+/]]),["uq.val"]),pe(q({keywords:i,hashComments:!0,cStyleComments:!0,types:y}),["c","cc","cpp","cxx","cyc","m"]),pe(q({keywords:"null,true,false"}),["json"]),pe(q({keywords:s,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:y}),["cs"]),pe(q({keywords:r,cStyleComments:!0}),["java"]),pe(q({keywords:m,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),pe(q({keywords:h,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),pe(q({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),pe(q({keywords:p,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),pe(q({keywords:a,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),pe(q({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),pe(Y([],[[x,/^[\s\S]+/]]),["regex"]);function De(ae){var V=ae.langExtension;try{var X=K(ae.sourceNode,ae.pre),Z=X.sourceCode;ae.sourceCode=Z,ae.spans=X.spans,ae.basePos=0,_e(V,Z)(ae),se(ae)}catch(ge){u.console&&console.log(ge&&ge.stack||ge)}}function Xe(ae,V,X){var Z=X||!1,ge=V||null,le=document.createElement("div");le.innerHTML="<pre>"+ae+"</pre>",le=le.firstChild,Z&&ie(le,Z,!0);var Se={langExtension:ge,numberLines:Z,sourceNode:le,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return De(Se),le.innerHTML}function J(ae,V){var X=V||document.body,Z=X.ownerDocument||document;function ge(xt){return X.getElementsByTagName(xt)}for(var le=[ge("pre"),ge("code"),ge("xmp")],Se=[],me=0;me<le.length;++me)for(var $=0,we=le[me].length;$<we;++$)Se.push(le[me][$]);le=null;var xe=Date;xe.now||(xe={now:function(){return+new Date}});var We=0,st=/\blang(?:uage)?-([\w.]+)(?!\S)/,nt=/\bprettyprint\b/,Ne=/\bprettyprinted\b/,St=/pre|xmp/i,Ye=/^code$/i,vt=/^(?:pre|code|xmp)$/i,It={};function Ut(){for(var xt=u.PR_SHOULD_USE_CONTINUATION?xe.now()+250:Infinity;We<Se.length&&xe.now()<xt;We++){for(var Bt=Se[We],Qe=It,te=Bt;te=te.previousSibling;){var Q=te.nodeType,Me=(Q===7||Q===8)&&te.nodeValue;if(Me?!/^\??prettify\b/.test(Me):Q!==3||/\S/.test(te.nodeValue))break;if(Me){Qe={},Me.replace(/\b(\w+)=([\w:.%+-]+)/g,function(yt,Jt,Lr){Qe[Jt]=Lr});break}}var Ce=Bt.className;if((Qe!==It||nt.test(Ce))&&!Ne.test(Ce)){for(var ue=!1,ot=Bt.parentNode;ot;ot=ot.parentNode){var rt=ot.tagName;if(vt.test(rt)&&ot.className&&nt.test(ot.className)){ue=!0;break}}if(!ue){Bt.className+=" prettyprinted";var Ue=Qe.lang;if(!Ue){Ue=Ce.match(st);var Ge;!Ue&&(Ge=z(Bt))&&Ye.test(Ge.tagName)&&(Ue=Ge.className.match(st)),Ue&&(Ue=Ue[1])}var tt;if(St.test(Bt.tagName))tt=1;else{var Wt=Bt.currentStyle,jt=Z.defaultView,Yt=Wt?Wt.whiteSpace:jt&&jt.getComputedStyle?jt.getComputedStyle(Bt,null).getPropertyValue("white-space"):0;tt=Yt&&Yt.substring(0,3)==="pre"}var Tt=Qe.linenums;(Tt=Tt==="true"||+Tt)||(Tt=Ce.match(/\blinenums\b(?::(\d+))?/),Tt=Tt?Tt[1]&&Tt[1].length?+Tt[1]:!0:!1),Tt&&ie(Bt,Tt,tt);var Rt={langExtension:Ue,sourceNode:Bt,numberLines:Tt,pre:tt,sourceCode:null,basePos:null,spans:null,decorations:null};De(Rt)}}}We<Se.length?u.setTimeout(Ut,250):typeof ae=="function"&&ae()}Ut()}var Ee=u.PR={createSimpleLexer:Y,registerLangHandler:pe,sourceDecorator:q,PR_ATTRIB_NAME:P,PR_ATTRIB_VALUE:W,PR_COMMENT:T,PR_DECLARATION:F,PR_KEYWORD:C,PR_LITERAL:E,PR_NOCODE:R,PR_PLAIN:L,PR_PUNCTUATION:I,PR_SOURCE:N,PR_STRING:x,PR_TAG:D,PR_TYPE:_,prettyPrintOne:b?u.prettyPrintOne=Xe:f=Xe,prettyPrint:l=b?u.prettyPrint=J:l=J},qe=u.define;typeof qe=="function"&&qe.amd&&qe("google-code-prettify",[],function(){return Ee})})()},SKnc:function(k,B,d){var w=d("bYtY"),A=d("QuXc"),b=function(f,l,u,o,e,n){this.x=f==null?0:f,this.y=l==null?0:l,this.x2=u==null?1:u,this.y2=o==null?0:o,this.type="linear",this.global=n||!1,A.call(this,e)};b.prototype={constructor:b},w.inherits(b,A);var g=b;k.exports=g},"SKx+":function(k,B,d){var w=d("ProS"),A=w.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}}}),b=A;k.exports=b},SMc4:function(k,B,d){var w=d("bYtY"),A=d("bLfw"),b=d("nkfE"),g=d("ICMv"),v=A.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(o,e){return e.type||(e.data?"category":"value")}w.merge(v.prototype,g);var l={offset:0};b("x",v,f,l),b("y",v,f,l);var u=v;k.exports=u},SUKs:function(k,B,d){var w=d("LPTA"),A=w.debugMode,b=function(){};A===1&&(b=console.error);var g=b;k.exports=g},SZEN:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.clientToElement=w;function w(A,b,g){var v=g.getBoundingClientRect(),f={x:0,y:0};return A<v.left?f.x=0:A>=v.right?f.x=v.width-1:f.x=A-v.left,b<v.top?f.y=0:b>=v.bottom?f.y=v.height-1:f.y=b-v.top,f}},Sdc0:function(k,B,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),g=d("ODXe"),v=d("Ff2n"),f=d("TSYQ"),l=d.n(f),u=d("6cGi"),o=d("4IlW"),e=b.forwardRef(function(m,S){var y,x=m.prefixCls,C=x===void 0?"rc-switch":x,T=m.className,_=m.checked,E=m.defaultChecked,I=m.disabled,L=m.loadingIcon,D=m.checkedChildren,F=m.unCheckedChildren,N=m.onClick,P=m.onChange,W=m.onKeyDown,R=Object(v.a)(m,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),j=Object(u.a)(!1,{value:_,defaultValue:E}),H=Object(g.a)(j,2),K=H[0],U=H[1];function G(oe,ie){var se=K;return I||(se=oe,U(se),P==null||P(se,ie)),se}function z(oe){oe.which===o.a.LEFT?G(!1,oe):oe.which===o.a.RIGHT&&G(!0,oe),W==null||W(oe)}function Y(oe){var ie=G(!K,oe);N==null||N(ie,oe)}var q=l()(C,T,(y={},Object(A.a)(y,"".concat(C,"-checked"),K),Object(A.a)(y,"".concat(C,"-disabled"),I),y));return b.createElement("button",Object.assign({},R,{type:"button",role:"switch","aria-checked":K,disabled:I,className:q,ref:S,onKeyDown:z,onClick:Y}),L,b.createElement("span",{className:"".concat(C,"-inner")},K?D:F))});e.displayName="Switch";var n=e,i=d("ye1Q"),r=d("g0mS"),s=d("H84U"),t=d("3Nzz"),a=d("uaoM"),c=function(m,S){var y={};for(var x in m)Object.prototype.hasOwnProperty.call(m,x)&&S.indexOf(x)<0&&(y[x]=m[x]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,x=Object.getOwnPropertySymbols(m);C<x.length;C++)S.indexOf(x[C])<0&&Object.prototype.propertyIsEnumerable.call(m,x[C])&&(y[x[C]]=m[x[C]]);return y},h=b.forwardRef(function(m,S){var y,x=m.prefixCls,C=m.size,T=m.loading,_=m.className,E=_===void 0?"":_,I=m.disabled,L=c(m,["prefixCls","size","loading","className","disabled"]);Object(a.a)("checked"in L||!("value"in L),"Switch","`value` is not a valid prop, do you mean `checked`?");var D=b.useContext(s.b),F=D.getPrefixCls,N=D.direction,P=b.useContext(t.b),W=F("switch",x),R=b.createElement("div",{className:"".concat(W,"-handle")},T&&b.createElement(i.a,{className:"".concat(W,"-loading-icon")})),j=l()((y={},Object(A.a)(y,"".concat(W,"-small"),(C||P)==="small"),Object(A.a)(y,"".concat(W,"-loading"),T),Object(A.a)(y,"".concat(W,"-rtl"),N==="rtl"),y),E);return b.createElement(r.a,{insertExtraNode:!0},b.createElement(n,Object(w.a)({},L,{prefixCls:W,className:j,disabled:I||T,ref:S,loadingIcon:R})))});h.__ANT_SWITCH=!0,h.displayName="Switch";var p=B.a=h},SehX:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("2B6p"),g=b.updateCenterAndZoom;w.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(v,f){var l=v.componentType||"series";f.eachComponent({mainType:l,query:v},function(u){var o=u.coordinateSystem;if(o.type!=="geo")return;var e=g(o,v,u.get("scaleLimit"));u.setCenter&&u.setCenter(e.center),u.setZoom&&u.setZoom(e.zoom),l==="series"&&A.each(u.seriesGroup,function(n){n.setCenter(e.center),n.setZoom(e.zoom)})})})},SgGq:function(k,B,d){var w=d("bYtY"),A=d("H6uX"),b=d("YH21"),g=d("pP6R");function v(t){this.pointerChecker,this._zr=t,this._opt={};var a=w.bind,c=a(f,this),h=a(l,this),p=a(u,this),m=a(o,this),S=a(e,this);A.call(this),this.setPointerChecker=function(y){this.pointerChecker=y},this.enable=function(y,x){this.disable(),this._opt=w.defaults(w.clone(x)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),y==null&&(y=!0),(y===!0||y==="move"||y==="pan")&&(t.on("mousedown",c),t.on("mousemove",h),t.on("mouseup",p)),(y===!0||y==="scale"||y==="zoom")&&(t.on("mousewheel",m),t.on("pinch",S))},this.disable=function(){t.off("mousedown",c),t.off("mousemove",h),t.off("mouseup",p),t.off("mousewheel",m),t.off("pinch",S)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}w.mixin(v,A);function f(t){if(b.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)return;var a=t.offsetX,c=t.offsetY;this.pointerChecker&&this.pointerChecker(t,a,c)&&(this._x=a,this._y=c,this._dragging=!0)}function l(t){if(!this._dragging||!r("moveOnMouseMove",t,this._opt)||t.gestureEvent==="pinch"||g.isTaken(this._zr,"globalPan"))return;var a=t.offsetX,c=t.offsetY,h=this._x,p=this._y,m=a-h,S=c-p;this._x=a,this._y=c,this._opt.preventDefaultMouseMove&&b.stop(t.event),i(this,"pan","moveOnMouseMove",t,{dx:m,dy:S,oldX:h,oldY:p,newX:a,newY:c})}function u(t){b.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function o(t){var a=r("zoomOnMouseWheel",t,this._opt),c=r("moveOnMouseWheel",t,this._opt),h=t.wheelDelta,p=Math.abs(h),m=t.offsetX,S=t.offsetY;if(h===0||!a&&!c)return;if(a){var y=p>3?1.4:p>1?1.2:1.1,x=h>0?y:1/y;n(this,"zoom","zoomOnMouseWheel",t,{scale:x,originX:m,originY:S})}if(c){var C=Math.abs(h),T=(h>0?1:-1)*(C>3?.4:C>1?.15:.05);n(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:T,originX:m,originY:S})}}function e(t){if(g.isTaken(this._zr,"globalPan"))return;var a=t.pinchScale>1?1.1:1/1.1;n(this,"zoom",null,t,{scale:a,originX:t.pinchX,originY:t.pinchY})}function n(t,a,c,h,p){t.pointerChecker&&t.pointerChecker(h,p.originX,p.originY)&&(b.stop(h.event),i(t,a,c,h,p))}function i(t,a,c,h,p){p.isAvailableBehavior=w.bind(r,null,c,h),t.trigger(a,p)}function r(t,a,c){var h=c[t];return!t||h&&(!w.isString(h)||a.event[h+"Key"])}var s=v;k.exports=s},SgaC:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function A(v,f){for(var l=0;l<f.length;l++){var u=f[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(v,u.key,u)}}function b(v,f,l){return f&&A(v.prototype,f),l&&A(v,l),v}var g=function(){function v(){w(this,v),this._subrects=0}return b(v,[{key:"decodeRect",value:function(l,u,o,e,n,i,r){if(this._subrects===0){if(n.rQwait("RRE",4+4))return!1;this._subrects=n.rQshift32();var s=n.rQshiftBytes(4);i.fillRect(l,u,o,e,s)}for(;this._subrects>0;){if(n.rQwait("RRE",4+8))return!1;var t=n.rQshiftBytes(4),a=n.rQshift16(),c=n.rQshift16(),h=n.rQshift16(),p=n.rQshift16();i.fillRect(l+a,u+c,h,p,t),this._subrects--}return!0}}]),v}();B.default=g},Sj9i:function(k,B,d){var w=d("QBsz"),A=w.create,b=w.distSquare,g=Math.pow,v=Math.sqrt,f=1e-8,l=1e-4,u=v(3),o=1/3,e=A(),n=A(),i=A();function r(E){return E>-f&&E<f}function s(E){return E>f||E<-f}function t(E,I,L,D,F){var N=1-F;return N*N*(N*E+3*F*I)+F*F*(F*D+3*N*L)}function a(E,I,L,D,F){var N=1-F;return 3*(((I-E)*N+2*(L-I)*F)*N+(D-L)*F*F)}function c(E,I,L,D,F,N){var P=D+3*(I-L)-E,W=3*(L-I*2+E),R=3*(I-E),j=E-F,H=W*W-3*P*R,K=W*R-9*P*j,U=R*R-3*W*j,G=0;if(r(H)&&r(K))if(r(W))N[0]=0;else{var z=-R/W;z>=0&&z<=1&&(N[G++]=z)}else{var Y=K*K-4*H*U;if(r(Y)){var q=K/H,z=-W/P+q,oe=-q/2;z>=0&&z<=1&&(N[G++]=z),oe>=0&&oe<=1&&(N[G++]=oe)}else if(Y>0){var ie=v(Y),se=H*W+1.5*P*(-K+ie),he=H*W+1.5*P*(-K-ie);se<0?se=-g(-se,o):se=g(se,o),he<0?he=-g(-he,o):he=g(he,o);var z=(-W-(se+he))/(3*P);z>=0&&z<=1&&(N[G++]=z)}else{var pe=(2*H*W-3*P*K)/(2*v(H*H*H)),_e=Math.acos(pe)/3,De=v(H),Xe=Math.cos(_e),z=(-W-2*De*Xe)/(3*P),oe=(-W+De*(Xe+u*Math.sin(_e)))/(3*P),J=(-W+De*(Xe-u*Math.sin(_e)))/(3*P);z>=0&&z<=1&&(N[G++]=z),oe>=0&&oe<=1&&(N[G++]=oe),J>=0&&J<=1&&(N[G++]=J)}}return G}function h(E,I,L,D,F){var N=6*L-12*I+6*E,P=9*I+3*D-3*E-9*L,W=3*I-3*E,R=0;if(r(P)){if(s(N)){var j=-W/N;j>=0&&j<=1&&(F[R++]=j)}}else{var H=N*N-4*P*W;if(r(H))F[0]=-N/(2*P);else if(H>0){var K=v(H),j=(-N+K)/(2*P),U=(-N-K)/(2*P);j>=0&&j<=1&&(F[R++]=j),U>=0&&U<=1&&(F[R++]=U)}}return R}function p(E,I,L,D,F,N){var P=(I-E)*F+E,W=(L-I)*F+I,R=(D-L)*F+L,j=(W-P)*F+P,H=(R-W)*F+W,K=(H-j)*F+j;N[0]=E,N[1]=P,N[2]=j,N[3]=K,N[4]=K,N[5]=H,N[6]=R,N[7]=D}function m(E,I,L,D,F,N,P,W,R,j,H){var K,U=.005,G=Infinity,z,Y,q,oe;e[0]=R,e[1]=j;for(var ie=0;ie<1;ie+=.05)n[0]=t(E,L,F,P,ie),n[1]=t(I,D,N,W,ie),q=b(e,n),q<G&&(K=ie,G=q);G=Infinity;for(var se=0;se<32&&!(U<l);se++)z=K-U,Y=K+U,n[0]=t(E,L,F,P,z),n[1]=t(I,D,N,W,z),q=b(n,e),z>=0&&q<G?(K=z,G=q):(i[0]=t(E,L,F,P,Y),i[1]=t(I,D,N,W,Y),oe=b(i,e),Y<=1&&oe<G?(K=Y,G=oe):U*=.5);return H&&(H[0]=t(E,L,F,P,K),H[1]=t(I,D,N,W,K)),v(G)}function S(E,I,L,D){var F=1-D;return F*(F*E+2*D*I)+D*D*L}function y(E,I,L,D){return 2*((1-D)*(I-E)+D*(L-I))}function x(E,I,L,D,F){var N=E-2*I+L,P=2*(I-E),W=E-D,R=0;if(r(N)){if(s(P)){var j=-W/P;j>=0&&j<=1&&(F[R++]=j)}}else{var H=P*P-4*N*W;if(r(H)){var j=-P/(2*N);j>=0&&j<=1&&(F[R++]=j)}else if(H>0){var K=v(H),j=(-P+K)/(2*N),U=(-P-K)/(2*N);j>=0&&j<=1&&(F[R++]=j),U>=0&&U<=1&&(F[R++]=U)}}return R}function C(E,I,L){var D=E+L-2*I;return D===0?.5:(E-I)/D}function T(E,I,L,D,F){var N=(I-E)*D+E,P=(L-I)*D+I,W=(P-N)*D+N;F[0]=E,F[1]=N,F[2]=W,F[3]=W,F[4]=P,F[5]=L}function _(E,I,L,D,F,N,P,W,R){var j,H=.005,K=Infinity;e[0]=P,e[1]=W;for(var U=0;U<1;U+=.05){n[0]=S(E,L,F,U),n[1]=S(I,D,N,U);var G=b(e,n);G<K&&(j=U,K=G)}K=Infinity;for(var z=0;z<32&&!(H<l);z++){var Y=j-H,q=j+H;n[0]=S(E,L,F,Y),n[1]=S(I,D,N,Y);var G=b(n,e);if(Y>=0&&G<K)j=Y,K=G;else{i[0]=S(E,L,F,q),i[1]=S(I,D,N,q);var oe=b(i,e);q<=1&&oe<K?(j=q,K=oe):H*=.5}}return R&&(R[0]=S(E,L,F,j),R[1]=S(I,D,N,j)),v(K)}B.cubicAt=t,B.cubicDerivativeAt=a,B.cubicRootAt=c,B.cubicExtrema=h,B.cubicSubdivide=p,B.cubicProjectPoint=m,B.quadraticAt=S,B.quadraticDerivativeAt=y,B.quadraticRootAt=x,B.quadraticExtremum=C,B.quadraticSubdivide=T,B.quadraticProjectPoint=_},Sp2Z:function(k,B,d){var w=d("3LNs"),A=d("/y7N"),b=d("AVZG"),g=d("Znkb"),v=w.extend({makeElOption:function(e,n,i,r,s){var t=i.axis,a=t.grid,c=r.get("type"),h=f(a,t).getOtherAxis(t).getGlobalExtent(),p=t.toGlobalCoord(t.dataToCoord(n,!0));if(c&&c!=="none"){var m=A.buildElStyle(r),S=l[c](t,p,h);S.style=m,e.graphicKey=S.type,e.pointer=S}var y=b.layout(a.model,i);A.buildCartesianSingleLabelElOption(n,e,y,i,r,s)},getHandleTransform:function(e,n,i){var r=b.layout(n.axis.grid.model,n,{labelInside:!1});return r.labelMargin=i.get("handle.margin"),{position:A.getTransformedPosition(n.axis,e,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,n,i,r){var s=i.axis,t=s.grid,a=s.getGlobalExtent(!0),c=f(t,s).getOtherAxis(s).getGlobalExtent(),h=s.dim==="x"?0:1,p=e.position;p[h]+=n[h],p[h]=Math.min(a[1],p[h]),p[h]=Math.max(a[0],p[h]);var m=(c[1]+c[0])/2,S=[m,m];S[h]=p[h];var y=[{verticalAlign:"middle"},{align:"center"}];return{position:p,rotation:e.rotation,cursorPoint:S,tooltipOption:y[h]}}});function f(e,n){var i={};return i[n.dim+"AxisIndex"]=n.index,e.getCartesian(i)}var l={line:function(e,n,i){var r=A.makeLineShape([n,i[0]],[n,i[1]],u(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,n,i){var r=Math.max(1,e.getBandWidth()),s=i[1]-i[0];return{type:"Rect",shape:A.makeRectShape([n-r/2,i[0]],[r,s],u(e))}}};function u(e){return e.dim==="x"?0:1}g.registerAxisPointerClass("CartesianAxisPointer",v);var o=v;k.exports=o},Sq3C:function(k,B,d){var w=d("sKgW"),A=d("zoYe"),b=d("wy8a"),g=d("quyA"),v=d("Z1HP"),f=d("Em2t"),l=Math.ceil;function u(o,e){e=e===void 0?" ":A(e);var n=e.length;if(n<2)return n?w(e,o):e;var i=w(e,l(o/v(e)));return g(e)?b(f(i),0,o).join(""):i.slice(0,o)}k.exports=u},SqI9:function(k,B,d){var w=d("y+Vt"),A=d("iXp4"),b=w.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:A(w.prototype.brush),buildPath:function(v,f){var l=f.cx,u=f.cy,o=Math.max(f.r0||0,0),e=Math.max(f.r,0),n=f.startAngle,i=f.endAngle,r=f.clockwise,s=Math.cos(n),t=Math.sin(n);v.moveTo(s*o+l,t*o+u),v.lineTo(s*e+l,t*e+u),v.arc(l,u,e,n,i,!r),v.lineTo(Math.cos(i)*o+l,Math.sin(i)*o+u),o!==0&&v.arc(l,u,o,i,n,r),v.closePath()}});k.exports=b},SrGk:function(k,B,d){var w=d("hydK"),A=w.createElement,b=d("bYtY"),g=d("y+Vt"),v=d("Dagg"),f=d("dqUG"),l=d("P47w"),u=l.path,o=l.image,e=l.text,n="0",i="1";function r(t,a,c,h,p){this._zrId=t,this._svgRoot=a,this._tagNames=typeof c=="string"?[c]:c,this._markLabel=h,this._domName=p||"_dom",this.nextId=0}r.prototype.createElement=A,r.prototype.getDefs=function(t){var a=this._svgRoot,c=this._svgRoot.getElementsByTagName("defs");return c.length===0?t?(c=a.insertBefore(this.createElement("defs"),a.firstChild),c.contains||(c.contains=function(h){var p=c.children;if(!p)return!1;for(var m=p.length-1;m>=0;--m)if(p[m]===h)return!0;return!1}),c):null:c[0]},r.prototype.update=function(t,a){if(!t)return;var c=this.getDefs(!1);if(t[this._domName]&&c.contains(t[this._domName]))typeof a=="function"&&a(t);else{var h=this.add(t);h&&(t[this._domName]=h)}},r.prototype.addDom=function(t){var a=this.getDefs(!0);a.appendChild(t)},r.prototype.removeDom=function(t){var a=this.getDefs(!1);a&&t[this._domName]&&(a.removeChild(t[this._domName]),t[this._domName]=null)},r.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var a=[];return b.each(this._tagNames,function(c){var h=t.getElementsByTagName(c);a=a.concat([].slice.call(h))}),a},r.prototype.markAllUnused=function(){var t=this.getDoms(),a=this;b.each(t,function(c){c[a._markLabel]=n})},r.prototype.markUsed=function(t){t&&(t[this._markLabel]=i)},r.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var a=this.getDoms(),c=this;b.each(a,function(h){h[c._markLabel]!==i&&t.removeChild(h)})},r.prototype.getSvgProxy=function(t){return t instanceof g?u:t instanceof v?o:t instanceof f?e:u},r.prototype.getTextSvgElement=function(t){return t.__textSvgEl},r.prototype.getSvgElement=function(t){return t.__svgEl};var s=r;k.exports=s},Swgg:function(k,B,d){var w=d("fc+c"),A=w.extend({type:"dataZoom.select"});k.exports=A},Sxd8:function(k,B,d){var w=d("ZCgT");function A(b){var g=w(b),v=g%1;return g===g?v?g-v:g:0}k.exports=A},T4UG:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=d("ItGF"),v=d("7aKB"),f=v.formatTime,l=v.encodeHTML,u=v.addCommas,o=v.getTooltipMarker,e=d("4NO4"),n=d("bLfw"),i=d("5Hur"),r=d("OKJ2"),s=d("+TT/"),t=s.getLayoutParams,a=s.mergeLayoutParam,c=d("9H2F"),h=c.createTask,p=d("D5nY"),m=p.prepareSource,S=p.getSource,y=d("KxfA"),x=y.retrieveRawValue,C=e.makeInner(),T=n.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(R,j,H,K){this.seriesIndex=this.componentIndex,this.dataTask=h({count:I,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(R,H),m(this);var U=this.getInitialData(R,H);F(U,this),this.dataTask.context.data=U,C(this).dataBeforeProcessed=U,_(this)},mergeDefaultAndTheme:function(R,j){var H=this.layoutMode,K=H?t(R):{},U=this.subType;n.hasClass(U)&&(U+="Series"),b.merge(R,j.getTheme().get(this.subType)),b.merge(R,this.getDefaultOption()),e.defaultEmphasis(R,"label",["show"]),this.fillDataTextStyle(R.data),H&&a(R,K,H)},mergeOption:function(R,j){R=b.merge(this.option,R,!0),this.fillDataTextStyle(R.data);var H=this.layoutMode;H&&a(this.option,R,H),m(this);var K=this.getInitialData(R,j);F(K,this),this.dataTask.dirty(),this.dataTask.context.data=K,C(this).dataBeforeProcessed=K,_(this)},fillDataTextStyle:function(R){if(R&&!b.isTypedArray(R))for(var j=["show"],H=0;H<R.length;H++)R[H]&&R[H].label&&e.defaultEmphasis(R[H],"label",j)},getInitialData:function(){},appendData:function(R){var j=this.getRawData();j.appendData(R.data)},getData:function(R){var j=P(this);if(j){var H=j.context.data;return R==null?H:H.getLinkedData(R)}else return C(this).data},setData:function(R){var j=P(this);if(j){var H=j.context;H.data!==R&&j.modifyOutputEnd&&j.setOutputEnd(R.count()),H.outputData=R,j!==this.dataTask&&(H.data=R)}C(this).data=R},getSource:function(){return S(this)},getRawData:function(){return C(this).dataBeforeProcessed},getBaseAxis:function(){var R=this.coordinateSystem;return R&&R.getBaseAxis&&R.getBaseAxis()},formatTooltip:function(R,j,H,K){var U=this;K=K||"html";var G=K==="html"?"<br/>":`
`,z=K==="richText",Y={},q=0;function oe(le){var Se=b.reduce(le,function(We,st,nt){var Ne=se.getDimensionInfo(nt);return We|=Ne&&Ne.tooltip!==!1&&Ne.displayName!=null},0),me=[];he.length?b.each(he,function(We){$(x(se,R,We),We)}):b.each(le,$);function $(We,st){var nt=se.getDimensionInfo(st);if(!nt||nt.otherDims.tooltip===!1)return;var Ne=nt.type,St="sub"+U.seriesIndex+"at"+q,Ye=o({color:Xe,type:"subItem",renderMode:K,markerId:St}),vt=typeof Ye=="string"?Ye:Ye.content,It=(Se?vt+l(nt.displayName||"-")+": ":"")+l(Ne==="ordinal"?We+"":Ne==="time"?j?"":f("yyyy/MM/dd hh:mm:ss",We):u(We));It&&me.push(It),z&&(Y[St]=Xe,++q)}var we=Se?z?`
`:"<br/>":"",xe=we+me.join(we||", ");return{renderMode:K,content:xe,style:Y}}function ie(le){return{renderMode:K,content:l(u(le)),style:Y}}var se=this.getData(),he=se.mapDimension("defaultedTooltip",!0),pe=he.length,_e=this.getRawValue(R),De=b.isArray(_e),Xe=se.getItemVisual(R,"color");b.isObject(Xe)&&Xe.colorStops&&(Xe=(Xe.colorStops[0]||{}).color),Xe=Xe||"transparent";var J=pe>1||De&&!pe?oe(_e):ie(pe?x(se,R,he[0]):De?_e[0]:_e),Ee=J.content,qe=U.seriesIndex+"at"+q,ae=o({color:Xe,type:"item",renderMode:K,markerId:qe});Y[qe]=Xe,++q;var V=se.getName(R),X=this.name;e.isNameSpecified(this)||(X=""),X=X?l(X)+(j?": ":G):"";var Z=typeof ae=="string"?ae:ae.content,ge=j?Z+X+Ee:X+Z+(V?l(V)+": "+Ee:Ee);return{html:ge,markers:Y}},isAnimationEnabled:function(){if(g.node)return!1;var R=this.getShallow("animation");return R&&(this.getData().count()>this.getShallow("animationThreshold")&&(R=!1)),R},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(R,j,H){var K=this.ecModel,U=i.getColorFromPalette.call(this,R,j,H);return U||(U=K.getColorFromPalette(R,j,H)),U},coordDimToDataDim:function(R){return this.getRawData().mapDimension(R,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});b.mixin(T,r),b.mixin(T,i);function _(R){var j=R.name;e.isNameSpecified(R)||(R.name=E(R)||j)}function E(R){var j=R.getRawData(),H=j.mapDimension("seriesName",!0),K=[];return b.each(H,function(U){var G=j.getDimensionInfo(U);G.displayName&&K.push(G.displayName)}),K.join(" ")}function I(R){return R.model.getRawData().count()}function L(R){var j=R.model;return j.setData(j.getRawData().cloneShallow()),D}function D(R,j){j.outputData&&R.end>j.outputData.count()&&j.model.getRawData().cloneShallow(j.outputData)}function F(R,j){b.each(R.CHANGABLE_METHODS,function(H){R.wrapMethod(H,b.curry(N,j))})}function N(R){var j=P(R);j&&j.setOutputEnd(this.count())}function P(R){var j=(R.ecModel||{}).scheduler,H=j&&j.getPipeline(R.uid);if(H){var K=H.currentTask;if(K){var U=K.agentStubMap;U&&(K=U.get(R.uid))}return K}}var W=T;k.exports=W},T6xi:function(k,B,d){var w=d("YgsL"),A=d("nCxF");function b(g,v,f){var l=v.points,u=v.smooth;if(l&&l.length>=2){if(u&&u!=="spline"){var o=A(l,u,f,v.smoothConstraint);g.moveTo(l[0][0],l[0][1]);for(var e=l.length,n=0;n<(f?e:e-1);n++){var i=o[n*2],r=o[n*2+1],s=l[(n+1)%e];g.bezierCurveTo(i[0],i[1],r[0],r[1],s[0],s[1])}}else{u==="spline"&&(l=w(l,f)),g.moveTo(l[0][0],l[0][1]);for(var n=1,t=l.length;n<t;n++)g.lineTo(l[n][0],l[n][1])}f&&g.closePath()}}B.buildPath=b},TIY9:function(k,B,d){var w=d("bYtY"),A=w.each,b=d("vafp"),g=d("4NO4"),v=g.makeInner,f=d("Mgri"),l=d("F5Ls"),u=d("a9QJ"),o=d("p/La"),e=v(),n={load:function(r,s,t){var a=e(s).parsed;if(a)return a;var c=s.specialAreas||{},h=s.geoJSON,p;try{p=h?b(h,t):[]}catch(m){throw new Error(`Invalid geoJson format
`+m.message)}return f(r,p),A(p,function(m){var S=m.name;l(r,m),u(r,m),o(r,m);var y=c[S];y&&m.transformTo(y.left,y.top,y.width,y.height)}),e(s).parsed={regions:p,boundingRect:i(p)}}};function i(r){for(var s,t=0;t<r.length;t++){var a=r[t].getBoundingRect();s=s||a.clone(),s.union(a)}return s}k.exports=n},TJmX:function(k,B,d){var w=d("zM3Q"),A=["itemStyle","borderColor"],b=["itemStyle","borderColor0"],g=["itemStyle","color"],v=["itemStyle","color0"],f={seriesType:"candlestick",plan:w(),performRawSeries:!0,reset:function(l,u){var o=l.getData();if(o.setVisual({legendSymbol:"roundRect",colorP:i(1,l),colorN:i(-1,l),borderColorP:r(1,l),borderColorN:r(-1,l)}),u.isSeriesFiltered(l))return;var e=l.pipelineContext.large;return!e&&{progress:n};function n(s,t){for(var a;(a=s.next())!=null;){var c=t.getItemModel(a),h=t.getItemLayout(a).sign;t.setItemVisual(a,{color:i(h,c),borderColor:r(h,c)})}}function i(s,t){return t.get(s>0?g:v)}function r(s,t){return t.get(s>0?A:b)}}};k.exports=f},TWL2:function(k,B,d){var w=d("IwbS"),A=d("bYtY"),b=d("6Ic6");function g(o,e){w.Group.call(this);var n=new w.Polygon,i=new w.Polyline,r=new w.Text;this.add(n),this.add(i),this.add(r),this.highDownOnUpdate=function(s,t){t==="emphasis"?(i.ignore=i.hoverIgnore,r.ignore=r.hoverIgnore):(i.ignore=i.normalIgnore,r.ignore=r.normalIgnore)},this.updateData(o,e,!0)}var v=g.prototype,f=["itemStyle","opacity"];v.updateData=function(o,e,n){var i=this.childAt(0),r=o.hostModel,s=o.getItemModel(e),t=o.getItemLayout(e),a=o.getItemModel(e).get(f);a=a==null?1:a,i.useStyle({}),n?(i.setShape({points:t.points}),i.setStyle({opacity:0}),w.initProps(i,{style:{opacity:a}},r,e)):w.updateProps(i,{style:{opacity:a},shape:{points:t.points}},r,e);var c=s.getModel("itemStyle"),h=o.getItemVisual(e,"color");i.setStyle(A.defaults({lineJoin:"round",fill:h},c.getItemStyle(["opacity"]))),i.hoverStyle=c.getModel("emphasis").getItemStyle(),this._updateLabel(o,e),w.setHoverStyle(this)},v._updateLabel=function(o,e){var n=this.childAt(1),i=this.childAt(2),r=o.hostModel,s=o.getItemModel(e),t=o.getItemLayout(e),a=t.label,c=o.getItemVisual(e,"color");w.updateProps(n,{shape:{points:a.linePoints||a.linePoints}},r,e),w.updateProps(i,{style:{x:a.x,y:a.y}},r,e),i.attr({rotation:a.rotation,origin:[a.x,a.y],z2:10});var h=s.getModel("label"),p=s.getModel("emphasis.label"),m=s.getModel("labelLine"),S=s.getModel("emphasis.labelLine"),c=o.getItemVisual(e,"color");w.setLabelStyle(i.style,i.hoverStyle={},h,p,{labelFetcher:o.hostModel,labelDataIndex:e,defaultText:o.getName(e),autoColor:c,useInsideStyle:!!a.inside},{textAlign:a.textAlign,textVerticalAlign:a.verticalAlign}),i.ignore=i.normalIgnore=!h.get("show"),i.hoverIgnore=!p.get("show"),n.ignore=n.normalIgnore=!m.get("show"),n.hoverIgnore=!S.get("show"),n.setStyle({stroke:c}),n.setStyle(m.getModel("lineStyle").getLineStyle()),n.hoverStyle=S.getModel("lineStyle").getLineStyle()},A.inherits(g,w.Group);var l=b.extend({type:"funnel",render:function(o,e,n){var i=o.getData(),r=this._data,s=this.group;i.diff(r).add(function(t){var a=new g(i,t);i.setItemGraphicEl(t,a),s.add(a)}).update(function(t,a){var c=r.getItemGraphicEl(a);c.updateData(i,t),s.add(c),i.setItemGraphicEl(t,c)}).remove(function(t){var a=r.getItemGraphicEl(t);s.remove(a)}).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),u=l;k.exports=u},TYVI:function(k,B,d){var w=d("5GtS"),A=d("T4UG"),b=A.extend({type:"series.gauge",getInitialData:function(v,f){return w(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}}}),g=b;k.exports=g},Tghj:function(k,B,d){(function(w){var A;typeof window!="undefined"?A=window.__DEV__:typeof w!="undefined"&&(A=w.__DEV__),typeof A=="undefined"&&(A=!0);var b=A;B.__DEV__=b}).call(this,d("IyRk"))},ThAp:function(k,B,d){var w=d("bYtY"),A=d("5GtS"),b=d("T4UG"),g=d("7aKB"),v=g.encodeHTML,f=g.addCommas,l=d("cCMj"),u=d("KxfA"),o=u.retrieveRawAttr,e=d("W4dC"),n=d("D5nY"),i=n.makeSeriesEncodeForNameBased,r=b.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var a=A(this,{coordDimensions:["value"],encodeDefaulter:w.curry(i,this)}),c=a.mapDimension("value"),h=w.createHashMap(),p=[],m=[],S=0,y=a.count();S<y;S++){var x=a.getName(S);h.set(x,!0),p.push({name:x,value:a.get(c,S),selected:o(a,S,"selected")})}var C=e.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return w.each(C.regions,function(T){var _=T.name;h.get(_)||(p.push({name:_}),m.push(_))}),this.updateSelectedMap(p),a.appendValues([],m),a},getHostGeoModel:function(){var t=this.option.geoIndex;return t!=null?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var a=this.getData();return a.get(a.mapDimension("value"),t)},getRegionModel:function(t){var a=this.getData();return a.getItemModel(a.indexOfName(t))},formatTooltip:function(t){for(var a=this.getData(),c=f(this.getRawValue(t)),h=a.getName(t),p=this.seriesGroup,m=[],S=0;S<p.length;S++){var y=p[S].originalData.indexOfName(h),x=a.mapDimension("value");isNaN(p[S].originalData.get(x,y))||m.push(v(p[S].name))}return m.join(", ")+"<br />"+v(h+" : "+c)},getTooltipPosition:function(t){if(t!=null){var a=this.getData().getName(t),c=this.coordinateSystem,h=c.getRegion(a);return h&&c.dataToPoint(h.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});w.mixin(r,l);var s=r;k.exports=s},TkdX:function(k,B,d){var w=d("bYtY"),A=d("IwbS"),b={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},g=2,v=4;function f(r,s,t){A.Group.call(this);var a=new A.Sector({z2:g});a.seriesIndex=s.seriesIndex;var c=new A.Text({z2:v,silent:r.getModel("label").get("silent")});this.add(a),this.add(c),this.updateData(!0,r,"normal",s,t);function h(){c.ignore=c.hoverIgnore}function p(){c.ignore=c.normalIgnore}this.on("emphasis",h).on("normal",p).on("mouseover",h).on("mouseout",p)}var l=f.prototype;l.updateData=function(r,s,t,a,c){this.node=s,s.piece=this,a=a||this._seriesModel,c=c||this._ecModel;var h=this.childAt(0);h.dataIndex=s.dataIndex;var p=s.getModel(),m=s.getLayout(),S=w.extend({},m);S.label=null;var y=o(s,a,c);i(s,a,y);var x=p.getModel("itemStyle").getItemStyle(),C;if(t==="normal")C=x;else{var T=p.getModel(t+".itemStyle").getItemStyle();C=w.merge(T,x)}C=w.defaults({lineJoin:"bevel",fill:C.fill||y},C),r?(h.setShape(S),h.shape.r=m.r0,A.updateProps(h,{shape:{r:m.r}},a,s.dataIndex),h.useStyle(C)):typeof C.fill=="object"&&C.fill.type||typeof h.style.fill=="object"&&h.style.fill.type?(A.updateProps(h,{shape:S},a),h.useStyle(C)):A.updateProps(h,{shape:S,style:C},a),this._updateLabel(a,y,t);var _=p.getShallow("cursor");if(_&&h.attr("cursor",_),r){var E=a.getShallow("highlightPolicy");this._initEvents(h,s,a,E)}this._seriesModel=a||this._seriesModel,this._ecModel=c||this._ecModel,A.setHoverStyle(this)},l.onEmphasis=function(r){var s=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(s.node===t?t.piece.updateData(!1,t,"emphasis"):n(t,s.node,r)?t.piece.childAt(0).trigger("highlight"):r!==b.NONE&&t.piece.childAt(0).trigger("downplay"))})},l.onNormal=function(){this.node.hostTree.root.eachNode(function(r){r.piece&&r.piece.updateData(!1,r,"normal")})},l.onHighlight=function(){this.updateData(!1,this.node,"highlight")},l.onDownplay=function(){this.updateData(!1,this.node,"downplay")},l._updateLabel=function(r,s,t){var a=this.node.getModel(),c=a.getModel("label"),h=t==="normal"||t==="emphasis"?c:a.getModel(t+".label"),p=a.getModel("emphasis.label"),m=w.retrieve(r.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);j("show")===!1&&(m="");var S=this.node.getLayout(),y=h.get("minAngle");y==null&&(y=c.get("minAngle")),y=y/180*Math.PI;var x=S.endAngle-S.startAngle;y!=null&&Math.abs(x)<y&&(m="");var C=this.childAt(1);A.setLabelStyle(C.style,C.hoverStyle||{},c,p,{defaultText:h.getShallow("show")?m:null,autoColor:s,useInsideStyle:!0});var T=(S.startAngle+S.endAngle)/2,_=Math.cos(T),E=Math.sin(T),I,L=j("position"),D=j("distance")||0,F=j("align");L==="outside"?(I=S.r+D,F=T>Math.PI/2?"right":"left"):!F||F==="center"?(I=(S.r+S.r0)/2,F="center"):F==="left"?(I=S.r0+D,T>Math.PI/2&&(F="right")):F==="right"&&(I=S.r-D,T>Math.PI/2&&(F="left")),C.attr("style",{text:m,textAlign:F,textVerticalAlign:j("verticalAlign")||"middle",opacity:j("opacity")});var N=I*_+S.cx,P=I*E+S.cy;C.attr("position",[N,P]);var W=j("rotate"),R=0;W==="radial"?(R=-T,R<-Math.PI/2&&(R+=Math.PI)):W==="tangential"?(R=Math.PI/2-T,R>Math.PI/2?R-=Math.PI:R<-Math.PI/2&&(R+=Math.PI)):typeof W=="number"&&(R=W*Math.PI/180),C.attr("rotation",R);function j(H){var K=h.get(H);return K==null?c.get(H):K}},l._initEvents=function(r,s,t,a){r.off("mouseover").off("mouseout").off("emphasis").off("normal");var c=this,h=function(){c.onEmphasis(a)},p=function(){c.onNormal()},m=function(){c.onDownplay()},S=function(){c.onHighlight()};t.isAnimationEnabled()&&r.on("mouseover",h).on("mouseout",p).on("emphasis",h).on("normal",p).on("downplay",m).on("highlight",S)},w.inherits(f,A.Group);var u=f;function o(r,s,t){var a=r.getVisual("color"),c=r.getVisual("visualMeta");(!c||c.length===0)&&(a=null);var h=r.getModel("itemStyle").get("color");if(h)return h;if(a)return a;if(r.depth===0)return t.option.color[0];var p=t.option.color.length;return h=t.option.color[e(r)%p],h}function e(r){for(var s=r;s.depth>1;)s=s.parentNode;var t=r.getAncestors()[0];return w.indexOf(t.children,s)}function n(r,s,t){return t===b.NONE?!1:t===b.SELF?r===s:t===b.ANCESTOR?r===s||r.isAncestorOf(s):r===s||r.isDescendantOf(s)}function i(r,s,t){var a=s.getData();a.setItemVisual(r.dataIndex,"color",t)}k.exports=u},Tp9H:function(k,B,d){var w=d("ItGF"),A=d("Kagy"),b=d("IUWy"),g=A.toolbox.saveAsImage;function v(u){this.model=u}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:g.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:g.lang.slice()},v.prototype.unusable=!w.canvasSupported;var f=v.prototype;f.onclick=function(u,o){var e=this.model,n=e.get("name")||u.get("title.0.text")||"echarts",i=o.getZr().painter.getType()==="svg",r=i?"svg":e.get("type",!0)||"png",s=o.getConnectedDataURL({type:r,backgroundColor:e.get("backgroundColor",!0)||u.get("backgroundColor")||"#fff",connectedBackgroundColor:e.get("connectedBackgroundColor"),excludeComponents:e.get("excludeComponents"),pixelRatio:e.get("pixelRatio")});if(typeof MouseEvent=="function"&&!w.browser.ie&&!w.browser.edge){var t=document.createElement("a");t.download=n+"."+r,t.target="_blank",t.href=s;var a=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(a)}else if(window.navigator.msSaveOrOpenBlob){for(var c=atob(s.split(",")[1]),h=c.length,p=new Uint8Array(h);h--;)p[h]=c.charCodeAt(h);var m=new Blob([p]);window.navigator.msSaveOrOpenBlob(m,n+"."+r)}else{var S=e.get("lang"),y='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(S&&S[0]||"")+'" /></body>',x=window.open();x.document.write(y)}},b.register("saveAsImage",v);var l=v;k.exports=l},TqRt:function(k,B){function d(w){return w&&w.__esModule?w:{default:w}}k.exports=d,k.exports.default=k.exports,k.exports.__esModule=!0},"U/Mo":function(k,B){function d(A){var b=A.coordinateSystem;if(b.type!=="view")return 1;var g=A.option.nodeScaleRatio,v=b.scale,f=v&&v[0]||1,l=b.getZoom(),u=(l-1)*g+1;return u/f}function w(A){var b=A.getVisual("symbolSize");return b instanceof Array&&(b=(b[0]+b[1])/2),+b}B.getNodeGlobalScale=d,B.getSymbolSize=w},UADf:function(k,B,d){},UOVi:function(k,B,d){var w=d("bYtY"),A=d("7aKB"),b=["x","y","z","radius","angle","single"],g=["cartesian2d","polar","singleAxis"];function v(o){return w.indexOf(g,o)>=0}function f(o,e){o=o.slice();var n=w.map(o,A.capitalFirst);e=(e||[]).slice();var i=w.map(e,A.capitalFirst);return function(r,s){w.each(o,function(t,a){for(var c={name:t,capital:n[a]},h=0;h<e.length;h++)c[e[h]]=t+i[h];r.call(s,c)})}}var l=f(b,["axisIndex","axis","index","id"]);function u(o,e,n){return function(t){var a={nodes:[],records:{}};if(e(function(p){a.records[p.name]={}}),!t)return a;s(t,a);var c;do c=!1,o(h);while(c);function h(p){!i(p,a)&&r(p,a)&&(s(p,a),c=!0)}return a};function i(t,a){return w.indexOf(a.nodes,t)>=0}function r(t,a){var c=!1;return e(function(h){w.each(n(t,h)||[],function(p){a.records[h.name][p]&&(c=!0)})}),c}function s(t,a){a.nodes.push(t),e(function(c){w.each(n(t,c)||[],function(h){a.records[c.name][h]=!0})})}}B.isCoordSupported=v,B.createNameEach=f,B.eachAxisDim=l,B.createLinkedNodesFinder=u},UnoB:function(k,B,d){var w=d("bYtY"),A=d("OELB");function b(f,l){f.eachSeriesByType("themeRiver",function(u){var o=u.getData(),e=u.coordinateSystem,n={},i=e.getRect();n.rect=i;var r=u.get("boundaryGap"),s=e.getAxis();if(n.boundaryGap=r,s.orient==="horizontal"){r[0]=A.parsePercent(r[0],i.height),r[1]=A.parsePercent(r[1],i.height);var t=i.height-r[0]-r[1];g(o,u,t)}else{r[0]=A.parsePercent(r[0],i.width),r[1]=A.parsePercent(r[1],i.width);var a=i.width-r[0]-r[1];g(o,u,a)}o.setLayout("layoutInfo",n)})}function g(f,l,u){if(!f.count())return;for(var o=l.coordinateSystem,e=l.getLayerSeries(),n=f.mapDimension("single"),i=f.mapDimension("value"),r=w.map(e,function(y){return w.map(y.indices,function(x){var C=o.dataToPoint(f.get(n,x));return C[1]=f.get(i,x),C})}),s=v(r),t=s.y0,a=u/s.max,c=e.length,h=e[0].indices.length,p,m=0;m<h;++m){p=t[m]*a,f.setItemLayout(e[0].indices[m],{layerIndex:0,x:r[0][m][0],y0:p,y:r[0][m][1]*a});for(var S=1;S<c;++S)p+=r[S-1][m][1]*a,f.setItemLayout(e[S].indices[m],{layerIndex:S,x:r[S][m][0],y0:p,y:r[S][m][1]*a})}}function v(f){for(var l=f.length,u=f[0].length,o=[],e=[],n=0,i,r={},s=0;s<u;++s){for(var t=0,i=0;t<l;++t)i+=f[t][s][1];i>n&&(n=i),o.push(i)}for(var a=0;a<u;++a)e[a]=(n-o[a])/2;n=0;for(var c=0;c<u;++c){var h=o[c]+e[c];h>n&&(n=h)}return r.y0=e,r.max=n,r}k.exports=b},Urep:function(k,B,d){},VFCP:function(k,B,d){d("dBmv"),d("KamJ")},VPsl:function(k,B){function d(w){w.eachSeriesByType("map",function(A){var b=A.get("color"),g=A.getModel("itemStyle"),v=g.get("areaColor"),f=g.get("color")||b[A.seriesIndex%b.length];A.getData().setVisual({areaColor:v,color:f})})}k.exports=d},VR9l:function(k,B,d){var w=d("KCsZ"),A=w([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),b={getItemStyle:function(g,v){var f=A(this,g,v),l=this.getBorderLineDash();return l&&(f.lineDash=l),f},getBorderLineDash:function(){var g=this.get("borderType");return g==="solid"||g==null?null:g==="dashed"?[5,5]:[1,1]}};k.exports=b},VSLf:function(k,B,d){d("I+Bx"),d("F0hE"),d("bBKM")},VSMT:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.decodeUTF8=w,B.encodeUTF8=A;function w(b){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(b))}catch(v){if(v instanceof URIError&&g)return b;throw v}}function A(b){return unescape(encodeURIComponent(b))}},VXYp:function(k,B,d){var w=d("bYtY"),A=d("SgGq"),b=d("iLNv"),g="\0_ec_dataZoom_roams";function v(r,s){var t=u(r),a=s.dataZoomId,c=s.coordId;w.each(t,function(m,S){var y=m.dataZoomInfos;y[a]&&w.indexOf(s.allCoordIds,c)<0&&(delete y[a],m.count--)}),e(t);var h=t[c];h||(h=t[c]={coordId:c,dataZoomInfos:{},count:0},h.controller=o(r,h),h.dispatchAction=w.curry(n,r)),!h.dataZoomInfos[a]&&h.count++,h.dataZoomInfos[a]=s;var p=i(h.dataZoomInfos);h.controller.enable(p.controlType,p.opt),h.controller.setPointerChecker(s.containsPoint),b.createOrUpdate(h,"dispatchAction",s.dataZoomModel.get("throttle",!0),"fixRate")}function f(r,s){var t=u(r);w.each(t,function(a){a.controller.dispose();var c=a.dataZoomInfos;c[s]&&(delete c[s],a.count--)}),e(t)}function l(r){return r.type+"\0_"+r.id}function u(r){var s=r.getZr();return s[g]||(s[g]={})}function o(r,s){var t=new A(r.getZr());return w.each(["pan","zoom","scrollMove"],function(a){t.on(a,function(c){var h=[];w.each(s.dataZoomInfos,function(p){if(!c.isAvailableBehavior(p.dataZoomModel.option))return;var m=(p.getRange||{})[a],S=m&&m(s.controller,c);!p.dataZoomModel.get("disabled",!0)&&S&&h.push({dataZoomId:p.dataZoomId,start:S[0],end:S[1]})}),h.length&&s.dispatchAction(h)})}),t}function e(r){w.each(r,function(s,t){s.count||(s.controller.dispose(),delete r[t])})}function n(r,s){r.dispatchAction({type:"dataZoom",batch:s})}function i(r){var s,t="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},c=!0;return w.each(r,function(h){var p=h.dataZoomModel,m=p.get("disabled",!0)?!1:p.get("zoomLock",!0)?"move":!0;a[t+m]>a[t+s]&&(s=m),c&=p.get("preventDefaultMouseMove",!0)}),{controlType:s,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!c}}}B.register=v,B.unregister=f,B.generateCoordId=l},VaxA:function(k,B,d){var w=d("bYtY");function A(f,l,u){if(f&&w.indexOf(l,f.type)>=0){var o=u.getData().tree.root,e=f.targetNode;if(typeof e=="string"&&(e=o.getNodeById(e)),e&&o.contains(e))return{node:e};var n=f.targetNodeId;if(n!=null&&(e=o.getNodeById(n)))return{node:e}}}function b(f){for(var l=[];f;)f=f.parentNode,f&&l.push(f);return l.reverse()}function g(f,l){var u=b(f);return w.indexOf(u,l)>=0}function v(f,l){for(var u=[];f;){var o=f.dataIndex;u.push({name:f.name,dataIndex:o,value:l.getRawValue(o)}),f=f.parentNode}return u.reverse(),u}B.retrieveTargetInfo=A,B.getPathToRoot=b,B.aboveViewRoot=g,B.wrapTreePathInfo=v},Vi4m:function(k,B,d){var w=d("bYtY");function A(g){g!=null&&w.extend(this,g),this.otherDims={}}var b=A;k.exports=b},Vl3Y:function(k,B,d){"use strict";var w=d("wx14"),A=d("U8pU"),b=d("ODXe"),g=d("rePB"),v=d("q1tI"),f=d("TSYQ"),l=d.n(f),u=d("85Yc"),o=d("H84U"),e=d("bT9E"),n=v.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),i=v.createContext({updateItemErrors:function(){}}),r=function(Ce){var ue=Object(e.a)(Ce,["prefixCls"]);return v.createElement(u.FormProvider,ue)},s=v.createContext({prefixCls:""});function t(Me){return typeof Me=="object"&&Me!=null&&Me.nodeType===1}function a(Me,Ce){return(!Ce||Me!=="hidden")&&Me!=="visible"&&Me!=="clip"}function c(Me,Ce){if(Me.clientHeight<Me.scrollHeight||Me.clientWidth<Me.scrollWidth){var ue=getComputedStyle(Me,null);return a(ue.overflowY,Ce)||a(ue.overflowX,Ce)||function(ot){var rt=function(Ue){if(!Ue.ownerDocument||!Ue.ownerDocument.defaultView)return null;try{return Ue.ownerDocument.defaultView.frameElement}catch(Ge){return null}}(ot);return!!rt&&(rt.clientHeight<ot.scrollHeight||rt.clientWidth<ot.scrollWidth)}(Me)}return!1}function h(Me,Ce,ue,ot,rt,Ue,Ge,tt){return Ue<Me&&Ge>Ce||Ue>Me&&Ge<Ce?0:Ue<=Me&&tt<=ue||Ge>=Ce&&tt>=ue?Ue-Me-ot:Ge>Ce&&tt<ue||Ue<Me&&tt>ue?Ge-Ce+rt:0}var p=function(Me,Ce){var ue=window,ot=Ce.scrollMode,rt=Ce.block,Ue=Ce.inline,Ge=Ce.boundary,tt=Ce.skipOverflowHiddenElements,Wt=typeof Ge=="function"?Ge:function(gn){return gn!==Ge};if(!t(Me))throw new TypeError("Invalid target");for(var jt=document.scrollingElement||document.documentElement,Yt=[],Tt=Me;t(Tt)&&Wt(Tt);){if((Tt=Tt.parentElement)===jt){Yt.push(Tt);break}Tt!=null&&Tt===document.body&&c(Tt)&&!c(document.documentElement)||Tt!=null&&c(Tt,tt)&&Yt.push(Tt)}for(var Rt=ue.visualViewport?ue.visualViewport.width:innerWidth,yt=ue.visualViewport?ue.visualViewport.height:innerHeight,Jt=window.scrollX||pageXOffset,Lr=window.scrollY||pageYOffset,zr=Me.getBoundingClientRect(),rn=zr.height,ei=zr.width,fn=zr.top,Zr=zr.right,bt=zr.bottom,ut=zr.left,Oe=rt==="start"||rt==="nearest"?fn:rt==="end"?bt:fn+rn/2,be=Ue==="center"?ut+ei/2:Ue==="end"?Zr:ut,Fe=[],it=0;it<Yt.length;it++){var wt=Yt[it],nr=wt.getBoundingClientRect(),sr=nr.height,Ar=nr.width,Hr=nr.top,$r=nr.right,Qt=nr.bottom,Ot=nr.left;if(ot==="if-needed"&&fn>=0&&ut>=0&&bt<=yt&&Zr<=Rt&&fn>=Hr&&bt<=Qt&&ut>=Ot&&Zr<=$r)return Fe;var Ft=getComputedStyle(wt),pr=parseInt(Ft.borderLeftWidth,10),Rr=parseInt(Ft.borderTopWidth,10),Pr=parseInt(Ft.borderRightWidth,10),an=parseInt(Ft.borderBottomWidth,10),Xt=0,hr=0,Tr="offsetWidth"in wt?wt.offsetWidth-wt.clientWidth-pr-Pr:0,Wr="offsetHeight"in wt?wt.offsetHeight-wt.clientHeight-Rr-an:0;if(jt===wt)Xt=rt==="start"?Oe:rt==="end"?Oe-yt:rt==="nearest"?h(Lr,Lr+yt,yt,Rr,an,Lr+Oe,Lr+Oe+rn,rn):Oe-yt/2,hr=Ue==="start"?be:Ue==="center"?be-Rt/2:Ue==="end"?be-Rt:h(Jt,Jt+Rt,Rt,pr,Pr,Jt+be,Jt+be+ei,ei),Xt=Math.max(0,Xt+Lr),hr=Math.max(0,hr+Jt);else{Xt=rt==="start"?Oe-Hr-Rr:rt==="end"?Oe-Qt+an+Wr:rt==="nearest"?h(Hr,Qt,sr,Rr,an+Wr,Oe,Oe+rn,rn):Oe-(Hr+sr/2)+Wr/2,hr=Ue==="start"?be-Ot-pr:Ue==="center"?be-(Ot+Ar/2)+Tr/2:Ue==="end"?be-$r+Pr+Tr:h(Ot,$r,Ar,pr,Pr+Tr,be,be+ei,ei);var Gr=wt.scrollLeft,Tn=wt.scrollTop;Oe+=Tn-(Xt=Math.max(0,Math.min(Tn+Xt,wt.scrollHeight-sr+Wr))),be+=Gr-(hr=Math.max(0,Math.min(Gr+hr,wt.scrollWidth-Ar+Tr)))}Fe.push({el:wt,top:Xt,left:hr})}return Fe};function m(Me){return Me===Object(Me)&&Object.keys(Me).length!==0}function S(Me,Ce){Ce===void 0&&(Ce="auto");var ue="scrollBehavior"in document.body.style;Me.forEach(function(ot){var rt=ot.el,Ue=ot.top,Ge=ot.left;rt.scroll&&ue?rt.scroll({top:Ue,left:Ge,behavior:Ce}):(rt.scrollTop=Ue,rt.scrollLeft=Ge)})}function y(Me){return Me===!1?{block:"end",inline:"nearest"}:m(Me)?Me:{block:"start",inline:"nearest"}}function x(Me,Ce){var ue=!Me.ownerDocument.documentElement.contains(Me);if(m(Ce)&&typeof Ce.behavior=="function")return Ce.behavior(ue?[]:p(Me,Ce));if(ue)return;var ot=y(Ce);return S(p(Me,ot),ot.behavior)}var C=x;function T(Me){return Me===void 0||Me===!1?[]:Array.isArray(Me)?Me:[Me]}function _(Me,Ce){if(!Me.length)return;var ue=Me.join("_");return Ce?"".concat(Ce,"_").concat(ue):ue}function E(Me){var Ce=T(Me);return Ce.join("_")}function I(Me){var Ce=Object(u.useForm)(),ue=Object(b.a)(Ce,1),ot=ue[0],rt=v.useRef({}),Ue=v.useMemo(function(){return Me||Object(w.a)(Object(w.a)({},ot),{__INTERNAL__:{itemRef:function(tt){return function(Wt){var jt=E(tt);Wt?rt.current[jt]=Wt:delete rt.current[jt]}}},scrollToField:function(tt){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jt=T(tt),Yt=_(jt,Ue.__INTERNAL__.name),Tt=Yt?document.getElementById(Yt):null;Tt&&C(Tt,Object(w.a)({scrollMode:"if-needed",block:"nearest"},Wt))},getFieldInstance:function(tt){var Wt=E(tt);return rt.current[Wt]}})},[Me,ot]);return[Ue]}var L=d("3Nzz"),D=function(Me,Ce){var ue={};for(var ot in Me)Object.prototype.hasOwnProperty.call(Me,ot)&&Ce.indexOf(ot)<0&&(ue[ot]=Me[ot]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,ot=Object.getOwnPropertySymbols(Me);rt<ot.length;rt++)Ce.indexOf(ot[rt])<0&&Object.prototype.propertyIsEnumerable.call(Me,ot[rt])&&(ue[ot[rt]]=Me[ot[rt]]);return ue},F=function(Ce,ue){var ot,rt=v.useContext(L.b),Ue=v.useContext(o.b),Ge=Ue.getPrefixCls,tt=Ue.direction,Wt=Ue.form,jt=Ce.prefixCls,Yt=Ce.className,Tt=Yt===void 0?"":Yt,Rt=Ce.size,yt=Rt===void 0?rt:Rt,Jt=Ce.form,Lr=Ce.colon,zr=Ce.labelAlign,rn=Ce.labelCol,ei=Ce.wrapperCol,fn=Ce.hideRequiredMark,Zr=Ce.layout,bt=Zr===void 0?"horizontal":Zr,ut=Ce.scrollToFirstError,Oe=Ce.requiredMark,be=Ce.onFinishFailed,Fe=Ce.name,it=D(Ce,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),wt=Object(v.useMemo)(function(){return Oe!==void 0?Oe:Wt&&Wt.requiredMark!==void 0?Wt.requiredMark:!fn},[fn,Oe,Wt]),nr=Ge("form",jt),sr=l()(nr,(ot={},Object(g.a)(ot,"".concat(nr,"-").concat(bt),!0),Object(g.a)(ot,"".concat(nr,"-hide-required-mark"),wt===!1),Object(g.a)(ot,"".concat(nr,"-rtl"),tt==="rtl"),Object(g.a)(ot,"".concat(nr,"-").concat(yt),yt),ot),Tt),Ar=I(Jt),Hr=Object(b.a)(Ar,1),$r=Hr[0],Qt=$r.__INTERNAL__;Qt.name=Fe;var Ot=Object(v.useMemo)(function(){return{name:Fe,labelAlign:zr,labelCol:rn,wrapperCol:ei,vertical:bt==="vertical",colon:Lr,requiredMark:wt,itemRef:Qt.itemRef}},[Fe,zr,rn,ei,bt,Lr,wt]);v.useImperativeHandle(ue,function(){return $r});var Ft=function(Rr){be&&be(Rr);var Pr={block:"nearest"};ut&&Rr.errorFields.length&&(Object(A.a)(ut)==="object"&&(Pr=ut),$r.scrollToField(Rr.errorFields[0].name,Pr))};return v.createElement(L.a,{size:yt},v.createElement(n.Provider,{value:Ot},v.createElement(u.default,Object(w.a)({id:Fe},it,{name:Fe,onFinishFailed:Ft,form:$r,className:sr}))))},N=v.forwardRef(F),P=N,W=d("KQm4"),R=d("Y+p1"),j=d.n(R),H=d("KW7l"),K=d("c+Xe"),U=d("qrJ5"),G=d("CWQg"),z=d("uaoM"),Y=d("Lyp1"),q=d("/kpp"),oe=d("YMnH"),ie=d("ZvpZ"),se=d("3S7+"),he=function(Me,Ce){var ue={};for(var ot in Me)Object.prototype.hasOwnProperty.call(Me,ot)&&Ce.indexOf(ot)<0&&(ue[ot]=Me[ot]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,ot=Object.getOwnPropertySymbols(Me);rt<ot.length;rt++)Ce.indexOf(ot[rt])<0&&Object.prototype.propertyIsEnumerable.call(Me,ot[rt])&&(ue[ot[rt]]=Me[ot[rt]]);return ue};function pe(Me){return Me?Object(A.a)(Me)==="object"&&!v.isValidElement(Me)?Me:{title:Me}:null}var _e=function(Ce){var ue=Ce.prefixCls,ot=Ce.label,rt=Ce.htmlFor,Ue=Ce.labelCol,Ge=Ce.labelAlign,tt=Ce.colon,Wt=Ce.required,jt=Ce.requiredMark,Yt=Ce.tooltip,Tt=Object(oe.b)("Form"),Rt=Object(b.a)(Tt,1),yt=Rt[0];return ot?v.createElement(n.Consumer,{key:"label"},function(Jt){var Lr,zr=Jt.vertical,rn=Jt.labelAlign,ei=Jt.labelCol,fn=Jt.colon,Zr,bt=Ue||ei||{},ut=Ge||rn,Oe="".concat(ue,"-item-label"),be=l()(Oe,ut==="left"&&"".concat(Oe,"-left"),bt.className),Fe=ot,it=tt===!0||fn!==!1&&tt!==!1,wt=it&&!zr;wt&&typeof ot=="string"&&ot.trim()!==""&&(Fe=ot.replace(/[:|]\s*$/,""));var nr=pe(Yt);if(nr){var sr=nr.icon,Ar=sr===void 0?v.createElement(Y.a,null):sr,Hr=he(nr,["icon"]),$r=v.createElement(se.a,Hr,v.cloneElement(Ar,{className:"".concat(ue,"-item-tooltip")}));Fe=v.createElement(v.Fragment,null,Fe,$r)}jt==="optional"&&!Wt&&(Fe=v.createElement(v.Fragment,null,Fe,v.createElement("span",{className:"".concat(ue,"-item-optional")},(yt==null?void 0:yt.optional)||((Zr=ie.a.Form)===null||Zr===void 0?void 0:Zr.optional))));var Qt=l()((Lr={},Object(g.a)(Lr,"".concat(ue,"-item-required"),Wt),Object(g.a)(Lr,"".concat(ue,"-item-required-mark-optional"),jt==="optional"),Object(g.a)(Lr,"".concat(ue,"-item-no-colon"),!it),Lr));return v.createElement(q.a,Object(w.a)({},bt,{className:be}),v.createElement("label",{htmlFor:rt,className:Qt,title:typeof ot=="string"?ot:""},Fe))}):null},De=_e,Xe=d("ye1Q"),J=d("jN4g"),Ee=d("jO45"),qe=d("IMoZ"),ae=d("8XRh"),V=d("YrtM"),X=d("hkKa");function Z(Me,Ce,ue){var ot=v.useRef({errors:Me,visible:!!Me.length}),rt=Object(X.a)(),Ue=function(){var tt=ot.current.visible,Wt=!!Me.length,jt=ot.current.errors;ot.current.errors=Me,ot.current.visible=Wt,tt!==Wt?Ce(Wt):(jt.length!==Me.length||jt.some(function(Yt,Tt){return Yt!==Me[Tt]}))&&rt()};return v.useEffect(function(){if(!ue){var Ge=setTimeout(Ue,10);return function(){return clearTimeout(Ge)}}},[Me]),ue&&Ue(),[ot.current.visible,ot.current.errors]}var ge=[];function le(Me){var Ce=Me.errors,ue=Ce===void 0?ge:Ce,ot=Me.help,rt=Me.onDomErrorVisibleChange,Ue=Object(X.a)(),Ge=v.useContext(s),tt=Ge.prefixCls,Wt=Ge.status,jt=Z(ue,function(fn){fn&&Promise.resolve().then(function(){rt==null||rt(!0)}),Ue()},!!ot),Yt=Object(b.a)(jt,2),Tt=Yt[0],Rt=Yt[1],yt=Object(V.a)(function(){return Rt},Tt,function(fn,Zr){return Zr}),Jt=v.useState(Wt),Lr=Object(b.a)(Jt,2),zr=Lr[0],rn=Lr[1];v.useEffect(function(){Tt&&Wt&&rn(Wt)},[Tt,Wt]);var ei="".concat(tt,"-item-explain");return v.createElement(ae.default,{motionDeadline:500,visible:Tt,motionName:"show-help",onLeaveEnd:function(){rt==null||rt(!1)},motionAppear:!0,removeOnLeave:!0},function(fn){var Zr=fn.className;return v.createElement("div",{className:l()(ei,Object(g.a)({},"".concat(ei,"-").concat(zr),zr),Zr),key:"help"},yt.map(function(bt,ut){return v.createElement("div",{key:ut,role:"alert"},bt)}))})}var Se={success:Ee.a,warning:qe.a,error:J.a,validating:Xe.a},me=function(Ce){var ue=Ce.prefixCls,ot=Ce.status,rt=Ce.wrapperCol,Ue=Ce.children,Ge=Ce.help,tt=Ce.errors,Wt=Ce.onDomErrorVisibleChange,jt=Ce.hasFeedback,Yt=Ce._internalItemRender,Tt=Ce.validateStatus,Rt=Ce.extra,yt="".concat(ue,"-item"),Jt=v.useContext(n),Lr=rt||Jt.wrapperCol||{},zr=l()("".concat(yt,"-control"),Lr.className);v.useEffect(function(){return function(){Wt(!1)}},[]);var rn=Tt&&Se[Tt],ei=jt&&rn?v.createElement("span",{className:"".concat(yt,"-children-icon")},v.createElement(rn,null)):null,fn=Object(w.a)({},Jt);delete fn.labelCol,delete fn.wrapperCol;var Zr=v.createElement("div",{className:"".concat(yt,"-control-input")},v.createElement("div",{className:"".concat(yt,"-control-input-content")},Ue),ei),bt=v.createElement(s.Provider,{value:{prefixCls:ue,status:ot}},v.createElement(le,{errors:tt,help:Ge,onDomErrorVisibleChange:Wt})),ut=Rt?v.createElement("div",{className:"".concat(yt,"-extra")},Rt):null,Oe=Yt&&Yt.mark==="pro_table_render"&&Yt.render?Yt.render(Ce,{input:Zr,errorList:bt,extra:ut}):v.createElement(v.Fragment,null,Zr,bt,ut);return v.createElement(n.Provider,{value:fn},v.createElement(q.a,Object(w.a)({},Lr,{className:zr}),Oe))},$=me,we=d("0n0R"),xe=d("wgJM");function We(Me){var Ce=v.useState(Me),ue=Object(b.a)(Ce,2),ot=ue[0],rt=ue[1],Ue=Object(v.useRef)(null),Ge=Object(v.useRef)([]),tt=Object(v.useRef)(!1);v.useEffect(function(){return function(){tt.current=!0,xe.a.cancel(Ue.current)}},[]);function Wt(jt){if(tt.current)return;Ue.current===null&&(Ge.current=[],Ue.current=Object(xe.a)(function(){Ue.current=null,rt(function(Yt){var Tt=Yt;return Ge.current.forEach(function(Rt){Tt=Rt(Tt)}),Tt})})),Ge.current.push(jt)}return[ot,Wt]}function st(){var Me=v.useContext(n),Ce=Me.itemRef,ue=v.useRef({});function ot(rt,Ue){var Ge=Ue&&Object(A.a)(Ue)==="object"&&Ue.ref,tt=rt.join("_");return(ue.current.name!==tt||ue.current.originRef!==Ge)&&(ue.current.name=tt,ue.current.originRef=Ge,ue.current.ref=Object(K.a)(Ce(rt),Ge)),ue.current.ref}return ot}var nt=function(Me,Ce){var ue={};for(var ot in Me)Object.prototype.hasOwnProperty.call(Me,ot)&&Ce.indexOf(ot)<0&&(ue[ot]=Me[ot]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,ot=Object.getOwnPropertySymbols(Me);rt<ot.length;rt++)Ce.indexOf(ot[rt])<0&&Object.prototype.propertyIsEnumerable.call(Me,ot[rt])&&(ue[ot[rt]]=Me[ot[rt]]);return ue},Ne="__SPLIT__",St=Object(G.a)("success","warning","error","validating",""),Ye=v.memo(function(Me){var Ce=Me.children;return Ce},function(Me,Ce){return Me.value===Ce.value&&Me.update===Ce.update});function vt(Me){return Me===null&&Object(z.a)(!1,"Form.Item","`null` is passed as `name` property"),!(Me==null)}function It(Me){var Ce=Me.name,ue=Me.fieldKey,ot=Me.noStyle,rt=Me.dependencies,Ue=Me.prefixCls,Ge=Me.style,tt=Me.className,Wt=Me.shouldUpdate,jt=Me.hasFeedback,Yt=Me.help,Tt=Me.rules,Rt=Me.validateStatus,yt=Me.children,Jt=Me.required,Lr=Me.label,zr=Me.messageVariables,rn=Me.trigger,ei=rn===void 0?"onChange":rn,fn=Me.validateTrigger,Zr=Me.hidden,bt=nt(Me,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","messageVariables","trigger","validateTrigger","hidden"]),ut=Object(v.useRef)(!1),Oe=Object(v.useContext)(o.b),be=Oe.getPrefixCls,Fe=Object(v.useContext)(n),it=Fe.name,wt=Fe.requiredMark,nr=Object(v.useContext)(i),sr=nr.updateItemErrors,Ar=v.useState(!!Yt),Hr=Object(b.a)(Ar,2),$r=Hr[0],Qt=Hr[1],Ot=We({}),Ft=Object(b.a)(Ot,2),pr=Ft[0],Rr=Ft[1],Pr=Object(v.useContext)(H.b),an=Pr.validateTrigger,Xt=fn!==void 0?fn:an;function hr(pi){ut.current||Qt(pi)}var Tr=vt(Ce),Wr=Object(v.useRef)([]);v.useEffect(function(){return function(){ut.current=!0,sr(Wr.current.join(Ne),[])}},[]);var Gr=be("form",Ue),Tn=ot?sr:function(pi,bi,et){Rr(function(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return et!==pi&&delete Le[et],j()(Le[pi],bi)?Le:Object(w.a)(Object(w.a)({},Le),Object(g.a)({},pi,bi))})},gn=st();function In(pi,bi,et,Le){var Pe,je;if(ot&&!Zr)return pi;var Je=[];Object.keys(pr).forEach(function(dt){Je=[].concat(Object(W.a)(Je),Object(W.a)(pr[dt]||[]))});var Ve;Yt!=null?Ve=T(Yt):(Ve=et?et.errors:[],Ve=[].concat(Object(W.a)(Ve),Object(W.a)(Je)));var Ze="";Rt!==void 0?Ze=Rt:(et==null?void 0:et.validating)?Ze="validating":((je=et==null?void 0:et.errors)===null||je===void 0?void 0:je.length)||Je.length?Ze="error":(et==null?void 0:et.touched)&&(Ze="success");var At=(Pe={},Object(g.a)(Pe,"".concat(Gr,"-item"),!0),Object(g.a)(Pe,"".concat(Gr,"-item-with-help"),$r||Yt),Object(g.a)(Pe,"".concat(tt),!!tt),Object(g.a)(Pe,"".concat(Gr,"-item-has-feedback"),Ze&&jt),Object(g.a)(Pe,"".concat(Gr,"-item-has-success"),Ze==="success"),Object(g.a)(Pe,"".concat(Gr,"-item-has-warning"),Ze==="warning"),Object(g.a)(Pe,"".concat(Gr,"-item-has-error"),Ze==="error"),Object(g.a)(Pe,"".concat(Gr,"-item-is-validating"),Ze==="validating"),Object(g.a)(Pe,"".concat(Gr,"-item-hidden"),Zr),Pe);return v.createElement(U.a,Object(w.a)({className:l()(At),style:Ge,key:"row"},Object(e.a)(bt,["colon","extra","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","labelAlign","labelCol","normalize","preserve","tooltip","validateFirst","valuePropName","wrapperCol","_internalItemRender"])),v.createElement(De,Object(w.a)({htmlFor:bi,required:Le,requiredMark:wt},Me,{prefixCls:Gr})),v.createElement($,Object(w.a)({},Me,et,{errors:Ve,prefixCls:Gr,status:Ze,onDomErrorVisibleChange:hr,validateStatus:Ze}),v.createElement(i.Provider,{value:{updateItemErrors:Tn}},pi)))}var Fn=typeof yt=="function",Xn=Object(v.useRef)(0);if(Xn.current+=1,!Tr&&!Fn&&!rt)return In(yt);var fi={};return typeof Lr=="string"&&(fi.label=Lr),zr&&(fi=Object(w.a)(Object(w.a)({},fi),zr)),v.createElement(u.Field,Object(w.a)({},Me,{messageVariables:fi,trigger:ei,validateTrigger:Xt,onReset:function(){hr(!1)}}),function(pi,bi,et){var Le=bi.errors,Pe=T(Ce).length&&bi?bi.name:[],je=_(Pe,it);if(ot){var Je=Wr.current.join(Ne);if(Wr.current=Object(W.a)(Pe),ue){var Ve=Array.isArray(ue)?ue:[ue];Wr.current=[].concat(Object(W.a)(Pe.slice(0,-1)),Object(W.a)(Ve))}sr(Wr.current.join(Ne),Le,Je)}var Ze=Jt!==void 0?Jt:!!(Tt&&Tt.some(function(er){if(er&&Object(A.a)(er)==="object"&&er.required)return!0;if(typeof er=="function"){var cr=er(et);return cr&&cr.required}return!1})),At=Object(w.a)({},pi),dt=null;if(Object(z.a)(!(Wt&&rt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(yt)&&Tr)Object(z.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),dt=yt;else if(Fn&&(!(Wt||rt)||Tr))Object(z.a)(!!(Wt||rt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(z.a)(!Tr,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(rt&&!Fn&&!Tr)Object(z.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(we.b)(yt)){Object(z.a)(yt.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Kt=Object(w.a)(Object(w.a)({},yt.props),At);Kt.id||(Kt.id=je),Object(K.c)(yt)&&(Kt.ref=gn(Pe,yt));var $t=new Set([].concat(Object(W.a)(T(ei)),Object(W.a)(T(Xt))));$t.forEach(function(er){Kt[er]=function(){for(var cr,Ct,Nr,Zt,Ir,xr=arguments.length,ur=new Array(xr),on=0;on<xr;on++)ur[on]=arguments[on];(Nr=At[er])===null||Nr===void 0||(cr=Nr).call.apply(cr,[At].concat(ur)),(Ir=(Zt=yt.props)[er])===null||Ir===void 0||(Ct=Ir).call.apply(Ct,[Zt].concat(ur))}}),dt=v.createElement(Ye,{value:At[Me.valuePropName||"value"],update:Xn.current},Object(we.a)(yt,Kt))}else Fn&&(Wt||rt)&&!Tr?dt=yt(et):(Object(z.a)(!Pe.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),dt=yt);return In(dt,je,bi,Ze)})}var Ut=It,xt=function(Me,Ce){var ue={};for(var ot in Me)Object.prototype.hasOwnProperty.call(Me,ot)&&Ce.indexOf(ot)<0&&(ue[ot]=Me[ot]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,ot=Object.getOwnPropertySymbols(Me);rt<ot.length;rt++)Ce.indexOf(ot[rt])<0&&Object.prototype.propertyIsEnumerable.call(Me,ot[rt])&&(ue[ot[rt]]=Me[ot[rt]]);return ue},Bt=function(Ce){var ue=Ce.prefixCls,ot=Ce.children,rt=xt(Ce,["prefixCls","children"]);Object(z.a)(!!rt.name,"Form.List","Miss `name` prop.");var Ue=v.useContext(o.b),Ge=Ue.getPrefixCls,tt=Ge("form",ue);return v.createElement(u.List,rt,function(Wt,jt,Yt){return v.createElement(s.Provider,{value:{prefixCls:tt,status:"error"}},ot(Wt.map(function(Tt){return Object(w.a)(Object(w.a)({},Tt),{fieldKey:Tt.key})}),jt,{errors:Yt.errors}))})},Qe=Bt,te=P;te.Item=Ut,te.List=Qe,te.ErrorList=le,te.useForm=I,te.Provider=r,te.create=function(){Object(z.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Q=B.a=te},VpOo:function(k,B){function d(w,A){var b=A.x,g=A.y,v=A.width,f=A.height,l=A.r,u,o,e,n;v<0&&(b=b+v,v=-v),f<0&&(g=g+f,f=-f),typeof l=="number"?u=o=e=n=l:l instanceof Array?l.length===1?u=o=e=n=l[0]:l.length===2?(u=e=l[0],o=n=l[1]):l.length===3?(u=l[0],o=n=l[1],e=l[2]):(u=l[0],o=l[1],e=l[2],n=l[3]):u=o=e=n=0;var i;u+o>v&&(i=u+o,u*=v/i,o*=v/i),e+n>v&&(i=e+n,e*=v/i,n*=v/i),o+e>f&&(i=o+e,o*=f/i,e*=f/i),u+n>f&&(i=u+n,u*=f/i,n*=f/i),w.moveTo(b+u,g),w.lineTo(b+v-o,g),o!==0&&w.arc(b+v-o,g+o,o,-Math.PI/2,0),w.lineTo(b+v,g+f-e),e!==0&&w.arc(b+v-e,g+f-e,e,0,Math.PI/2),w.lineTo(b+n,g+f),n!==0&&w.arc(b+n,g+f-n,n,Math.PI/2,Math.PI),w.lineTo(b,g+u),u!==0&&w.arc(b+u,g+u,u,Math.PI,Math.PI*1.5)}B.buildPath=d},"VrN/":function(k,B,d){(function(w,A){k.exports=A()})(this,function(){"use strict";var w=navigator.userAgent,A=navigator.platform,b=/gecko\/\d/i.test(w),g=/MSIE \d/.test(w),v=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(w),f=/Edge\/(\d+)/.exec(w),l=g||v||f,u=l&&(g?document.documentMode||6:+(f||v)[1]),o=!f&&/WebKit\//.test(w),e=o&&/Qt\/\d+\.\d+/.test(w),n=!f&&/Chrome\//.test(w),i=/Opera\//.test(w),r=/Apple Computer/.test(navigator.vendor),s=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(w),t=/PhantomJS/.test(w),a=!f&&/AppleWebKit/.test(w)&&/Mobile\/\w+/.test(w),c=/Android/.test(w),h=a||c||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(w),p=a||/Mac/.test(A),m=/\bCrOS\b/.test(w),S=/win/i.test(A),y=i&&w.match(/Version\/(\d*\.\d*)/);y&&(y=Number(y[1])),y&&y>=15&&(i=!1,o=!0);var x=p&&(e||i&&(y==null||y<12.11)),C=b||l&&u>=9;function T(O){return new RegExp("(^|\\s)"+O+"(?:$|\\s)\\s*")}var _=function(M,ee){var ne=M.className,de=T(ee).exec(ne);if(de){var Be=ne.slice(de.index+de[0].length);M.className=ne.slice(0,de.index)+(Be?de[1]+Be:"")}};function E(O){for(var M=O.childNodes.length;M>0;--M)O.removeChild(O.firstChild);return O}function I(O,M){return E(O).appendChild(M)}function L(O,M,ee,ne){var de=document.createElement(O);if(ee&&(de.className=ee),ne&&(de.style.cssText=ne),typeof M=="string")de.appendChild(document.createTextNode(M));else if(M)for(var Be=0;Be<M.length;++Be)de.appendChild(M[Be]);return de}function D(O,M,ee,ne){var de=L(O,M,ee,ne);return de.setAttribute("role","presentation"),de}var F;document.createRange?F=function(M,ee,ne,de){var Be=document.createRange();return Be.setEnd(de||M,ne),Be.setStart(M,ee),Be}:F=function(M,ee,ne){var de=document.body.createTextRange();try{de.moveToElementText(M.parentNode)}catch(Be){return de}return de.collapse(!0),de.moveEnd("character",ne),de.moveStart("character",ee),de};function N(O,M){if(M.nodeType==3&&(M=M.parentNode),O.contains)return O.contains(M);do if(M.nodeType==11&&(M=M.host),M==O)return!0;while(M=M.parentNode)}function P(){var O;try{O=document.activeElement}catch(M){O=document.body||null}for(;O&&O.shadowRoot&&O.shadowRoot.activeElement;)O=O.shadowRoot.activeElement;return O}function W(O,M){var ee=O.className;T(M).test(ee)||(O.className+=(ee?" ":"")+M)}function R(O,M){for(var ee=O.split(" "),ne=0;ne<ee.length;ne++)ee[ne]&&!T(ee[ne]).test(M)&&(M+=" "+ee[ne]);return M}var j=function(M){M.select()};a?j=function(M){M.selectionStart=0,M.selectionEnd=M.value.length}:l&&(j=function(M){try{M.select()}catch(ee){}});function H(O){var M=Array.prototype.slice.call(arguments,1);return function(){return O.apply(null,M)}}function K(O,M,ee){M||(M={});for(var ne in O)O.hasOwnProperty(ne)&&(ee!==!1||!M.hasOwnProperty(ne))&&(M[ne]=O[ne]);return M}function U(O,M,ee,ne,de){M==null&&(M=O.search(/[^\s\u00a0]/),M==-1&&(M=O.length));for(var Be=ne||0,ft=de||0;;){var Nt=O.indexOf(" ",Be);if(Nt<0||Nt>=M)return ft+(M-Be);ft+=Nt-Be,ft+=ee-ft%ee,Be=Nt+1}}var G=function(){this.id=null,this.f=null,this.time=0,this.handler=H(this.onTimeout,this)};G.prototype.onTimeout=function(O){O.id=0,O.time<=+new Date?O.f():setTimeout(O.handler,O.time-+new Date)},G.prototype.set=function(O,M){this.f=M;var ee=+new Date+O;(!this.id||ee<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,O),this.time=ee)};function z(O,M){for(var ee=0;ee<O.length;++ee)if(O[ee]==M)return ee;return-1}var Y=50,q={toString:function(){return"CodeMirror.Pass"}},oe={scroll:!1},ie={origin:"*mouse"},se={origin:"+move"};function he(O,M,ee){for(var ne=0,de=0;;){var Be=O.indexOf(" ",ne);Be==-1&&(Be=O.length);var ft=Be-ne;if(Be==O.length||de+ft>=M)return ne+Math.min(ft,M-de);if(de+=Be-ne,de+=ee-de%ee,ne=Be+1,de>=M)return ne}}var pe=[""];function _e(O){for(;pe.length<=O;)pe.push(De(pe)+" ");return pe[O]}function De(O){return O[O.length-1]}function Xe(O,M){for(var ee=[],ne=0;ne<O.length;ne++)ee[ne]=M(O[ne],ne);return ee}function J(O,M,ee){for(var ne=0,de=ee(M);ne<O.length&&ee(O[ne])<=de;)ne++;O.splice(ne,0,M)}function Ee(){}function qe(O,M){var ee;return Object.create?ee=Object.create(O):(Ee.prototype=O,ee=new Ee),M&&K(M,ee),ee}var ae=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function V(O){return/\w/.test(O)||O>"\x80"&&(O.toUpperCase()!=O.toLowerCase()||ae.test(O))}function X(O,M){return M?M.source.indexOf("\\w")>-1&&V(O)?!0:M.test(O):V(O)}function Z(O){for(var M in O)if(O.hasOwnProperty(M)&&O[M])return!1;return!0}var ge=/[\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 le(O){return O.charCodeAt(0)>=768&&ge.test(O)}function Se(O,M,ee){for(;(ee<0?M>0:M<O.length)&&le(O.charAt(M));)M+=ee;return M}function me(O,M,ee){for(var ne=M>ee?-1:1;;){if(M==ee)return M;var de=(M+ee)/2,Be=ne<0?Math.ceil(de):Math.floor(de);if(Be==M)return O(Be)?M:ee;O(Be)?ee=Be:M=Be+ne}}function $(O,M,ee,ne){if(!O)return ne(M,ee,"ltr",0);for(var de=!1,Be=0;Be<O.length;++Be){var ft=O[Be];(ft.from<ee&&ft.to>M||M==ee&&ft.to==M)&&(ne(Math.max(ft.from,M),Math.min(ft.to,ee),ft.level==1?"rtl":"ltr",Be),de=!0)}de||ne(M,ee,"ltr")}var we=null;function xe(O,M,ee){var ne;we=null;for(var de=0;de<O.length;++de){var Be=O[de];if(Be.from<M&&Be.to>M)return de;Be.to==M&&(Be.from!=Be.to&&ee=="before"?ne=de:we=de),Be.from==M&&(Be.from!=Be.to&&ee!="before"?ne=de:we=de)}return ne!=null?ne:we}var We=function(){var O="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",M="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ee(Gt){return Gt<=247?O.charAt(Gt):1424<=Gt&&Gt<=1524?"R":1536<=Gt&&Gt<=1785?M.charAt(Gt-1536):1774<=Gt&&Gt<=2220?"r":8192<=Gt&&Gt<=8203?"w":Gt==8204?"b":"L"}var ne=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,de=/[stwN]/,Be=/[LRr]/,ft=/[Lb1n]/,Nt=/[1n]/;function Vt(Gt,Fr,Jr){this.level=Gt,this.from=Fr,this.to=Jr}return function(Gt,Fr){var Jr=Fr=="ltr"?"L":"R";if(Gt.length==0||Fr=="ltr"&&!ne.test(Gt))return!1;for(var pn=Gt.length,vn=[],ci=0;ci<pn;++ci)vn.push(ee(Gt.charCodeAt(ci)));for(var Si=0,Ri=Jr;Si<pn;++Si){var Ni=vn[Si];Ni=="m"?vn[Si]=Ri:Ri=Ni}for(var Ii=0,Vi=Jr;Ii<pn;++Ii){var ia=vn[Ii];ia=="1"&&Vi=="r"?vn[Ii]="n":Be.test(ia)&&(Vi=ia,ia=="r"&&(vn[Ii]="R"))}for(var Ka=1,Oa=vn[0];Ka<pn-1;++Ka){var so=vn[Ka];so=="+"&&Oa=="1"&&vn[Ka+1]=="1"?vn[Ka]="1":so==","&&Oa==vn[Ka+1]&&(Oa=="1"||Oa=="n")&&(vn[Ka]=Oa),Oa=so}for(var xo=0;xo<pn;++xo){var Zo=vn[xo];if(Zo==",")vn[xo]="N";else if(Zo=="%"){var jo=void 0;for(jo=xo+1;jo<pn&&vn[jo]=="%";++jo);for(var Ns=xo&&vn[xo-1]=="!"||jo<pn&&vn[jo]=="1"?"1":"N",dl=xo;dl<jo;++dl)vn[dl]=Ns;xo=jo-1}}for(var ds=0,hl=Jr;ds<pn;++ds){var Ds=vn[ds];hl=="L"&&Ds=="1"?vn[ds]="L":Be.test(Ds)&&(hl=Ds)}for(var Ss=0;Ss<pn;++Ss)if(de.test(vn[Ss])){var fs=void 0;for(fs=Ss+1;fs<pn&&de.test(vn[fs]);++fs);for(var os=(Ss?vn[Ss-1]:Jr)=="L",il=(fs<pn?vn[fs]:Jr)=="L",Ac=os==il?os?"L":"R":Jr,El=Ss;El<fs;++El)vn[El]=Ac;Ss=fs-1}for(var ps=[],bl,Us=0;Us<pn;)if(ft.test(vn[Us])){var tu=Us;for(++Us;Us<pn&&ft.test(vn[Us]);++Us);ps.push(new Vt(0,tu,Us))}else{var $i=Us,gl=ps.length,Nl=Fr=="rtl"?1:0;for(++Us;Us<pn&&vn[Us]!="L";++Us);for(var ts=$i;ts<Us;)if(Nt.test(vn[ts])){$i<ts&&(ps.splice(gl,0,new Vt(1,$i,ts)),gl+=Nl);var zl=ts;for(++ts;ts<Us&&Nt.test(vn[ts]);++ts);ps.splice(gl,0,new Vt(2,zl,ts)),gl+=Nl,$i=ts}else++ts;$i<Us&&ps.splice(gl,0,new Vt(1,$i,Us))}return Fr=="ltr"&&(ps[0].level==1&&(bl=Gt.match(/^\s+/))&&(ps[0].from=bl[0].length,ps.unshift(new Vt(0,0,bl[0].length))),De(ps).level==1&&(bl=Gt.match(/\s+$/))&&(De(ps).to-=bl[0].length,ps.push(new Vt(0,pn-bl[0].length,pn)))),Fr=="rtl"?ps.reverse():ps}}();function st(O,M){var ee=O.order;return ee==null&&(ee=O.order=We(O.text,M)),ee}var nt=[],Ne=function(M,ee,ne){if(M.addEventListener)M.addEventListener(ee,ne,!1);else if(M.attachEvent)M.attachEvent("on"+ee,ne);else{var de=M._handlers||(M._handlers={});de[ee]=(de[ee]||nt).concat(ne)}};function St(O,M){return O._handlers&&O._handlers[M]||nt}function Ye(O,M,ee){if(O.removeEventListener)O.removeEventListener(M,ee,!1);else if(O.detachEvent)O.detachEvent("on"+M,ee);else{var ne=O._handlers,de=ne&&ne[M];if(de){var Be=z(de,ee);Be>-1&&(ne[M]=de.slice(0,Be).concat(de.slice(Be+1)))}}}function vt(O,M){var ee=St(O,M);if(!ee.length)return;for(var ne=Array.prototype.slice.call(arguments,2),de=0;de<ee.length;++de)ee[de].apply(null,ne)}function It(O,M,ee){return typeof M=="string"&&(M={type:M,preventDefault:function(){this.defaultPrevented=!0}}),vt(O,ee||M.type,O,M),Q(M)||M.codemirrorIgnore}function Ut(O){var M=O._handlers&&O._handlers.cursorActivity;if(!M)return;for(var ee=O.curOp.cursorActivityHandlers||(O.curOp.cursorActivityHandlers=[]),ne=0;ne<M.length;++ne)z(ee,M[ne])==-1&&ee.push(M[ne])}function xt(O,M){return St(O,M).length>0}function Bt(O){O.prototype.on=function(M,ee){Ne(this,M,ee)},O.prototype.off=function(M,ee){Ye(this,M,ee)}}function Qe(O){O.preventDefault?O.preventDefault():O.returnValue=!1}function te(O){O.stopPropagation?O.stopPropagation():O.cancelBubble=!0}function Q(O){return O.defaultPrevented!=null?O.defaultPrevented:O.returnValue==!1}function Me(O){Qe(O),te(O)}function Ce(O){return O.target||O.srcElement}function ue(O){var M=O.which;return M==null&&(O.button&1?M=1:O.button&2?M=3:O.button&4&&(M=2)),p&&O.ctrlKey&&M==1&&(M=3),M}var ot=function(){if(l&&u<9)return!1;var O=L("div");return"draggable"in O||"dragDrop"in O}(),rt;function Ue(O){if(rt==null){var M=L("span","\u200B");I(O,L("span",[M,document.createTextNode("x")])),O.firstChild.offsetHeight!=0&&(rt=M.offsetWidth<=1&&M.offsetHeight>2&&!(l&&u<8))}var ee=rt?L("span","\u200B"):L("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ee.setAttribute("cm-text",""),ee}var Ge;function tt(O){if(Ge!=null)return Ge;var M=I(O,document.createTextNode("A\u062EA")),ee=F(M,0,1).getBoundingClientRect(),ne=F(M,1,2).getBoundingClientRect();return E(O),!ee||ee.left==ee.right?!1:Ge=ne.right-ee.right<3}var Wt=`
b`.split(/\n/).length!=3?function(O){for(var M=0,ee=[],ne=O.length;M<=ne;){var de=O.indexOf(`
`,M);de==-1&&(de=O.length);var Be=O.slice(M,O.charAt(de-1)=="\r"?de-1:de),ft=Be.indexOf("\r");ft!=-1?(ee.push(Be.slice(0,ft)),M+=ft+1):(ee.push(Be),M=de+1)}return ee}:function(O){return O.split(/\r\n?|\n/)},jt=window.getSelection?function(O){try{return O.selectionStart!=O.selectionEnd}catch(M){return!1}}:function(O){var M;try{M=O.ownerDocument.selection.createRange()}catch(ee){}return!M||M.parentElement()!=O?!1:M.compareEndPoints("StartToEnd",M)!=0},Yt=function(){var O=L("div");return"oncopy"in O?!0:(O.setAttribute("oncopy","return;"),typeof O.oncopy=="function")}(),Tt=null;function Rt(O){if(Tt!=null)return Tt;var M=I(O,L("span","x")),ee=M.getBoundingClientRect(),ne=F(M,0,1).getBoundingClientRect();return Tt=Math.abs(ee.left-ne.left)>1}var yt={},Jt={};function Lr(O,M){arguments.length>2&&(M.dependencies=Array.prototype.slice.call(arguments,2)),yt[O]=M}function zr(O,M){Jt[O]=M}function rn(O){if(typeof O=="string"&&Jt.hasOwnProperty(O))O=Jt[O];else if(O&&typeof O.name=="string"&&Jt.hasOwnProperty(O.name)){var M=Jt[O.name];typeof M=="string"&&(M={name:M}),O=qe(M,O),O.name=M.name}else{if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(O))return rn("application/xml");if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(O))return rn("application/json")}return typeof O=="string"?{name:O}:O||{name:"null"}}function ei(O,M){M=rn(M);var ee=yt[M.name];if(!ee)return ei(O,"text/plain");var ne=ee(O,M);if(fn.hasOwnProperty(M.name)){var de=fn[M.name];for(var Be in de){if(!de.hasOwnProperty(Be))continue;ne.hasOwnProperty(Be)&&(ne["_"+Be]=ne[Be]),ne[Be]=de[Be]}}if(ne.name=M.name,M.helperType&&(ne.helperType=M.helperType),M.modeProps)for(var ft in M.modeProps)ne[ft]=M.modeProps[ft];return ne}var fn={};function Zr(O,M){var ee=fn.hasOwnProperty(O)?fn[O]:fn[O]={};K(M,ee)}function bt(O,M){if(M===!0)return M;if(O.copyState)return O.copyState(M);var ee={};for(var ne in M){var de=M[ne];de instanceof Array&&(de=de.concat([])),ee[ne]=de}return ee}function ut(O,M){for(var ee;O.innerMode&&!(ee=O.innerMode(M),!ee||ee.mode==O);)M=ee.state,O=ee.mode;return ee||{mode:O,state:M}}function Oe(O,M,ee){return O.startState?O.startState(M,ee):!0}var be=function(M,ee,ne){this.pos=this.start=0,this.string=M,this.tabSize=ee||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ne};be.prototype.eol=function(){return this.pos>=this.string.length},be.prototype.sol=function(){return this.pos==this.lineStart},be.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},be.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},be.prototype.eat=function(O){var M=this.string.charAt(this.pos),ee;if(typeof O=="string"?ee=M==O:ee=M&&(O.test?O.test(M):O(M)),ee)return++this.pos,M},be.prototype.eatWhile=function(O){for(var M=this.pos;this.eat(O););return this.pos>M},be.prototype.eatSpace=function(){for(var O=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>O},be.prototype.skipToEnd=function(){this.pos=this.string.length},be.prototype.skipTo=function(O){var M=this.string.indexOf(O,this.pos);if(M>-1)return this.pos=M,!0},be.prototype.backUp=function(O){this.pos-=O},be.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=U(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?U(this.string,this.lineStart,this.tabSize):0)},be.prototype.indentation=function(){return U(this.string,null,this.tabSize)-(this.lineStart?U(this.string,this.lineStart,this.tabSize):0)},be.prototype.match=function(O,M,ee){if(typeof O=="string"){var ne=function(Nt){return ee?Nt.toLowerCase():Nt},de=this.string.substr(this.pos,O.length);if(ne(de)==ne(O))return M!==!1&&(this.pos+=O.length),!0}else{var Be=this.string.slice(this.pos).match(O);return Be&&Be.index>0?null:(Be&&M!==!1&&(this.pos+=Be[0].length),Be)}},be.prototype.current=function(){return this.string.slice(this.start,this.pos)},be.prototype.hideFirstChars=function(O,M){this.lineStart+=O;try{return M()}finally{this.lineStart-=O}},be.prototype.lookAhead=function(O){var M=this.lineOracle;return M&&M.lookAhead(O)},be.prototype.baseToken=function(){var O=this.lineOracle;return O&&O.baseToken(this.pos)};function Fe(O,M){if(M-=O.first,M<0||M>=O.size)throw new Error("There is no line "+(M+O.first)+" in the document.");for(var ee=O;!ee.lines;)for(var ne=0;;++ne){var de=ee.children[ne],Be=de.chunkSize();if(M<Be){ee=de;break}M-=Be}return ee.lines[M]}function it(O,M,ee){var ne=[],de=M.line;return O.iter(M.line,ee.line+1,function(Be){var ft=Be.text;de==ee.line&&(ft=ft.slice(0,ee.ch)),de==M.line&&(ft=ft.slice(M.ch)),ne.push(ft),++de}),ne}function wt(O,M,ee){var ne=[];return O.iter(M,ee,function(de){ne.push(de.text)}),ne}function nr(O,M){var ee=M-O.height;if(ee)for(var ne=O;ne;ne=ne.parent)ne.height+=ee}function sr(O){if(O.parent==null)return null;for(var M=O.parent,ee=z(M.lines,O),ne=M.parent;ne;M=ne,ne=ne.parent)for(var de=0;!(ne.children[de]==M);++de)ee+=ne.children[de].chunkSize();return ee+M.first}function Ar(O,M){var ee=O.first;e:do{for(var ne=0;ne<O.children.length;++ne){var de=O.children[ne],Be=de.height;if(M<Be){O=de;continue e}M-=Be,ee+=de.chunkSize()}return ee}while(!O.lines);for(var ft=0;ft<O.lines.length;++ft){var Nt=O.lines[ft],Vt=Nt.height;if(M<Vt)break;M-=Vt}return ee+ft}function Hr(O,M){return M>=O.first&&M<O.first+O.size}function $r(O,M){return String(O.lineNumberFormatter(M+O.firstLineNumber))}function Qt(O,M,ee){if(ee===void 0&&(ee=null),!(this instanceof Qt))return new Qt(O,M,ee);this.line=O,this.ch=M,this.sticky=ee}function Ot(O,M){return O.line-M.line||O.ch-M.ch}function Ft(O,M){return O.sticky==M.sticky&&Ot(O,M)==0}function pr(O){return Qt(O.line,O.ch)}function Rr(O,M){return Ot(O,M)<0?M:O}function Pr(O,M){return Ot(O,M)<0?O:M}function an(O,M){return Math.max(O.first,Math.min(M,O.first+O.size-1))}function Xt(O,M){if(M.line<O.first)return Qt(O.first,0);var ee=O.first+O.size-1;return M.line>ee?Qt(ee,Fe(O,ee).text.length):hr(M,Fe(O,M.line).text.length)}function hr(O,M){var ee=O.ch;return ee==null||ee>M?Qt(O.line,M):ee<0?Qt(O.line,0):O}function Tr(O,M){for(var ee=[],ne=0;ne<M.length;ne++)ee[ne]=Xt(O,M[ne]);return ee}var Wr=function(M,ee){this.state=M,this.lookAhead=ee},Gr=function(M,ee,ne,de){this.state=ee,this.doc=M,this.line=ne,this.maxLookAhead=de||0,this.baseTokens=null,this.baseTokenPos=1};Gr.prototype.lookAhead=function(O){var M=this.doc.getLine(this.line+O);return M!=null&&O>this.maxLookAhead&&(this.maxLookAhead=O),M},Gr.prototype.baseToken=function(O){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=O;)this.baseTokenPos+=2;var M=this.baseTokens[this.baseTokenPos+1];return{type:M&&M.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-O}},Gr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Gr.fromSaved=function(O,M,ee){return M instanceof Wr?new Gr(O,bt(O.mode,M.state),ee,M.lookAhead):new Gr(O,bt(O.mode,M),ee)},Gr.prototype.save=function(O){var M=O!==!1?bt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Wr(M,this.maxLookAhead):M};function Tn(O,M,ee,ne){var de=[O.state.modeGen],Be={};Le(O,M.text,O.doc.mode,ee,function(Gt,Fr){return de.push(Gt,Fr)},Be,ne);for(var ft=ee.state,Nt=function(Fr){ee.baseTokens=de;var Jr=O.state.overlays[Fr],pn=1,vn=0;ee.state=!0,Le(O,M.text,Jr.mode,ee,function(ci,Si){for(var Ri=pn;vn<ci;){var Ni=de[pn];Ni>ci&&de.splice(pn,1,ci,de[pn+1],Ni),pn+=2,vn=Math.min(ci,Ni)}if(!Si)return;if(Jr.opaque)de.splice(Ri,pn-Ri,ci,"overlay "+Si),pn=Ri+2;else for(;Ri<pn;Ri+=2){var Ii=de[Ri+1];de[Ri+1]=(Ii?Ii+" ":"")+"overlay "+Si}},Be),ee.state=ft,ee.baseTokens=null,ee.baseTokenPos=1},Vt=0;Vt<O.state.overlays.length;++Vt)Nt(Vt);return{styles:de,classes:Be.bgClass||Be.textClass?Be:null}}function gn(O,M,ee){if(!M.styles||M.styles[0]!=O.state.modeGen){var ne=In(O,sr(M)),de=M.text.length>O.options.maxHighlightLength&&bt(O.doc.mode,ne.state),Be=Tn(O,M,ne);de&&(ne.state=de),M.stateAfter=ne.save(!de),M.styles=Be.styles,Be.classes?M.styleClasses=Be.classes:M.styleClasses&&(M.styleClasses=null),ee===O.doc.highlightFrontier&&(O.doc.modeFrontier=Math.max(O.doc.modeFrontier,++O.doc.highlightFrontier))}return M.styles}function In(O,M,ee){var ne=O.doc,de=O.display;if(!ne.mode.startState)return new Gr(ne,!0,M);var Be=Pe(O,M,ee),ft=Be>ne.first&&Fe(ne,Be-1).stateAfter,Nt=ft?Gr.fromSaved(ne,ft,Be):new Gr(ne,Oe(ne.mode),Be);return ne.iter(Be,M,function(Vt){Fn(O,Vt.text,Nt);var Gt=Nt.line;Vt.stateAfter=Gt==M-1||Gt%5==0||Gt>=de.viewFrom&&Gt<de.viewTo?Nt.save():null,Nt.nextLine()}),ee&&(ne.modeFrontier=Nt.line),Nt}function Fn(O,M,ee,ne){var de=O.doc.mode,Be=new be(M,O.options.tabSize,ee);for(Be.start=Be.pos=ne||0,M==""&&Xn(de,ee.state);!Be.eol();)fi(de,Be,ee.state),Be.start=Be.pos}function Xn(O,M){if(O.blankLine)return O.blankLine(M);if(!O.innerMode)return;var ee=ut(O,M);if(ee.mode.blankLine)return ee.mode.blankLine(ee.state)}function fi(O,M,ee,ne){for(var de=0;de<10;de++){ne&&(ne[0]=ut(O,ee).mode);var Be=O.token(M,ee);if(M.pos>M.start)return Be}throw new Error("Mode "+O.name+" failed to advance stream.")}var pi=function(M,ee,ne){this.start=M.start,this.end=M.pos,this.string=M.current(),this.type=ee||null,this.state=ne};function bi(O,M,ee,ne){var de=O.doc,Be=de.mode,ft;M=Xt(de,M);var Nt=Fe(de,M.line),Vt=In(O,M.line,ee),Gt=new be(Nt.text,O.options.tabSize,Vt),Fr;for(ne&&(Fr=[]);(ne||Gt.pos<M.ch)&&!Gt.eol();)Gt.start=Gt.pos,ft=fi(Be,Gt,Vt.state),ne&&Fr.push(new pi(Gt,ft,bt(de.mode,Vt.state)));return ne?Fr:new pi(Gt,ft,Vt.state)}function et(O,M){if(O)for(;;){var ee=O.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ee)break;O=O.slice(0,ee.index)+O.slice(ee.index+ee[0].length);var ne=ee[1]?"bgClass":"textClass";M[ne]==null?M[ne]=ee[2]:new RegExp("(?:^|\\s)"+ee[2]+"(?:$|\\s)").test(M[ne])||(M[ne]+=" "+ee[2])}return O}function Le(O,M,ee,ne,de,Be,ft){var Nt=ee.flattenSpans;Nt==null&&(Nt=O.options.flattenSpans);var Vt=0,Gt=null,Fr=new be(M,O.options.tabSize,ne),Jr,pn=O.options.addModeClass&&[null];for(M==""&&et(Xn(ee,ne.state),Be);!Fr.eol();){if(Fr.pos>O.options.maxHighlightLength?(Nt=!1,ft&&Fn(O,M,ne,Fr.pos),Fr.pos=M.length,Jr=null):Jr=et(fi(ee,Fr,ne.state,pn),Be),pn){var vn=pn[0].name;vn&&(Jr="m-"+(Jr?vn+" "+Jr:vn))}if(!Nt||Gt!=Jr){for(;Vt<Fr.start;)Vt=Math.min(Fr.start,Vt+5e3),de(Vt,Gt);Gt=Jr}Fr.start=Fr.pos}for(;Vt<Fr.pos;){var ci=Math.min(Fr.pos,Vt+5e3);de(ci,Gt),Vt=ci}}function Pe(O,M,ee){for(var ne,de,Be=O.doc,ft=ee?-1:M-(O.doc.mode.innerMode?1e3:100),Nt=M;Nt>ft;--Nt){if(Nt<=Be.first)return Be.first;var Vt=Fe(Be,Nt-1),Gt=Vt.stateAfter;if(Gt&&(!ee||Nt+(Gt instanceof Wr?Gt.lookAhead:0)<=Be.modeFrontier))return Nt;var Fr=U(Vt.text,null,O.options.tabSize);(de==null||ne>Fr)&&(de=Nt-1,ne=Fr)}return de}function je(O,M){if(O.modeFrontier=Math.min(O.modeFrontier,M),O.highlightFrontier<M-10)return;for(var ee=O.first,ne=M-1;ne>ee;ne--){var de=Fe(O,ne).stateAfter;if(de&&(!(de instanceof Wr)||ne+de.lookAhead<M)){ee=ne+1;break}}O.highlightFrontier=Math.min(O.highlightFrontier,ee)}var Je=!1,Ve=!1;function Ze(){Je=!0}function At(){Ve=!0}function dt(O,M,ee){this.marker=O,this.from=M,this.to=ee}function Kt(O,M){if(O)for(var ee=0;ee<O.length;++ee){var ne=O[ee];if(ne.marker==M)return ne}}function $t(O,M){for(var ee,ne=0;ne<O.length;++ne)O[ne]!=M&&(ee||(ee=[])).push(O[ne]);return ee}function er(O,M){O.markedSpans=O.markedSpans?O.markedSpans.concat([M]):[M],M.marker.attachLine(O)}function cr(O,M,ee){var ne;if(O)for(var de=0;de<O.length;++de){var Be=O[de],ft=Be.marker,Nt=Be.from==null||(ft.inclusiveLeft?Be.from<=M:Be.from<M);if(Nt||Be.from==M&&ft.type=="bookmark"&&(!ee||!Be.marker.insertLeft)){var Vt=Be.to==null||(ft.inclusiveRight?Be.to>=M:Be.to>M);(ne||(ne=[])).push(new dt(ft,Be.from,Vt?null:Be.to))}}return ne}function Ct(O,M,ee){var ne;if(O)for(var de=0;de<O.length;++de){var Be=O[de],ft=Be.marker,Nt=Be.to==null||(ft.inclusiveRight?Be.to>=M:Be.to>M);if(Nt||Be.from==M&&ft.type=="bookmark"&&(!ee||Be.marker.insertLeft)){var Vt=Be.from==null||(ft.inclusiveLeft?Be.from<=M:Be.from<M);(ne||(ne=[])).push(new dt(ft,Vt?null:Be.from-M,Be.to==null?null:Be.to-M))}}return ne}function Nr(O,M){if(M.full)return null;var ee=Hr(O,M.from.line)&&Fe(O,M.from.line).markedSpans,ne=Hr(O,M.to.line)&&Fe(O,M.to.line).markedSpans;if(!ee&&!ne)return null;var de=M.from.ch,Be=M.to.ch,ft=Ot(M.from,M.to)==0,Nt=cr(ee,de,ft),Vt=Ct(ne,Be,ft),Gt=M.text.length==1,Fr=De(M.text).length+(Gt?de:0);if(Nt)for(var Jr=0;Jr<Nt.length;++Jr){var pn=Nt[Jr];if(pn.to==null){var vn=Kt(Vt,pn.marker);vn?Gt&&(pn.to=vn.to==null?null:vn.to+Fr):pn.to=de}}if(Vt)for(var ci=0;ci<Vt.length;++ci){var Si=Vt[ci];if(Si.to!=null&&(Si.to+=Fr),Si.from==null){var Ri=Kt(Nt,Si.marker);Ri||(Si.from=Fr,Gt&&(Nt||(Nt=[])).push(Si))}else Si.from+=Fr,Gt&&(Nt||(Nt=[])).push(Si)}Nt&&(Nt=Zt(Nt)),Vt&&Vt!=Nt&&(Vt=Zt(Vt));var Ni=[Nt];if(!Gt){var Ii=M.text.length-2,Vi;if(Ii>0&&Nt)for(var ia=0;ia<Nt.length;++ia)Nt[ia].to==null&&(Vi||(Vi=[])).push(new dt(Nt[ia].marker,null,null));for(var Ka=0;Ka<Ii;++Ka)Ni.push(Vi);Ni.push(Vt)}return Ni}function Zt(O){for(var M=0;M<O.length;++M){var ee=O[M];ee.from!=null&&ee.from==ee.to&&ee.marker.clearWhenEmpty!==!1&&O.splice(M--,1)}return O.length?O:null}function Ir(O,M,ee){var ne=null;if(O.iter(M.line,ee.line+1,function(vn){if(vn.markedSpans)for(var ci=0;ci<vn.markedSpans.length;++ci){var Si=vn.markedSpans[ci].marker;Si.readOnly&&(!ne||z(ne,Si)==-1)&&(ne||(ne=[])).push(Si)}}),!ne)return null;for(var de=[{from:M,to:ee}],Be=0;Be<ne.length;++Be)for(var ft=ne[Be],Nt=ft.find(0),Vt=0;Vt<de.length;++Vt){var Gt=de[Vt];if(Ot(Gt.to,Nt.from)<0||Ot(Gt.from,Nt.to)>0)continue;var Fr=[Vt,1],Jr=Ot(Gt.from,Nt.from),pn=Ot(Gt.to,Nt.to);(Jr<0||!ft.inclusiveLeft&&!Jr)&&Fr.push({from:Gt.from,to:Nt.from}),(pn>0||!ft.inclusiveRight&&!pn)&&Fr.push({from:Nt.to,to:Gt.to}),de.splice.apply(de,Fr),Vt+=Fr.length-3}return de}function xr(O){var M=O.markedSpans;if(!M)return;for(var ee=0;ee<M.length;++ee)M[ee].marker.detachLine(O);O.markedSpans=null}function ur(O,M){if(!M)return;for(var ee=0;ee<M.length;++ee)M[ee].marker.attachLine(O);O.markedSpans=M}function on(O){return O.inclusiveLeft?-1:0}function Yn(O){return O.inclusiveRight?1:0}function Vn(O,M){var ee=O.lines.length-M.lines.length;if(ee!=0)return ee;var ne=O.find(),de=M.find(),Be=Ot(ne.from,de.from)||on(O)-on(M);if(Be)return-Be;var ft=Ot(ne.to,de.to)||Yn(O)-Yn(M);return ft||M.id-O.id}function Wn(O,M){var ee=Ve&&O.markedSpans,ne;if(ee)for(var de=void 0,Be=0;Be<ee.length;++Be)de=ee[Be],de.marker.collapsed&&(M?de.from:de.to)==null&&(!ne||Vn(ne,de.marker)<0)&&(ne=de.marker);return ne}function jn(O){return Wn(O,!0)}function Gn(O){return Wn(O,!1)}function Nn(O,M){var ee=Ve&&O.markedSpans,ne;if(ee)for(var de=0;de<ee.length;++de){var Be=ee[de];Be.marker.collapsed&&(Be.from==null||Be.from<M)&&(Be.to==null||Be.to>M)&&(!ne||Vn(ne,Be.marker)<0)&&(ne=Be.marker)}return ne}function mi(O,M,ee,ne,de){var Be=Fe(O,M),ft=Ve&&Be.markedSpans;if(ft)for(var Nt=0;Nt<ft.length;++Nt){var Vt=ft[Nt];if(!Vt.marker.collapsed)continue;var Gt=Vt.marker.find(0),Fr=Ot(Gt.from,ee)||on(Vt.marker)-on(de),Jr=Ot(Gt.to,ne)||Yn(Vt.marker)-Yn(de);if(Fr>=0&&Jr<=0||Fr<=0&&Jr>=0)continue;if(Fr<=0&&(Vt.marker.inclusiveRight&&de.inclusiveLeft?Ot(Gt.to,ee)>=0:Ot(Gt.to,ee)>0)||Fr>=0&&(Vt.marker.inclusiveRight&&de.inclusiveLeft?Ot(Gt.from,ne)<=0:Ot(Gt.from,ne)<0))return!0}}function en(O){for(var M;M=jn(O);)O=M.find(-1,!0).line;return O}function Kr(O){for(var M;M=Gn(O);)O=M.find(1,!0).line;return O}function dn(O){for(var M,ee;M=Gn(O);)O=M.find(1,!0).line,(ee||(ee=[])).push(O);return ee}function Vr(O,M){var ee=Fe(O,M),ne=en(ee);return ee==ne?M:sr(ne)}function ni(O,M){if(M>O.lastLine())return M;var ee=Fe(O,M),ne;if(!Hn(O,ee))return M;for(;ne=Gn(ee);)ee=ne.find(1,!0).line;return sr(ee)+1}function Hn(O,M){var ee=Ve&&M.markedSpans;if(ee)for(var ne=void 0,de=0;de<ee.length;++de){if(ne=ee[de],!ne.marker.collapsed)continue;if(ne.from==null)return!0;if(ne.marker.widgetNode)continue;if(ne.from==0&&ne.marker.inclusiveLeft&&Kn(O,M,ne))return!0}}function Kn(O,M,ee){if(ee.to==null){var ne=ee.marker.find(1,!0);return Kn(O,ne.line,Kt(ne.line.markedSpans,ee.marker))}if(ee.marker.inclusiveRight&&ee.to==M.text.length)return!0;for(var de=void 0,Be=0;Be<M.markedSpans.length;++Be)if(de=M.markedSpans[Be],de.marker.collapsed&&!de.marker.widgetNode&&de.from==ee.to&&(de.to==null||de.to!=ee.from)&&(de.marker.inclusiveLeft||ee.marker.inclusiveRight)&&Kn(O,M,de))return!0}function bn(O){O=en(O);for(var M=0,ee=O.parent,ne=0;ne<ee.lines.length;++ne){var de=ee.lines[ne];if(de==O)break;M+=de.height}for(var Be=ee.parent;Be;ee=Be,Be=ee.parent)for(var ft=0;ft<Be.children.length;++ft){var Nt=Be.children[ft];if(Nt==ee)break;M+=Nt.height}return M}function wi(O){if(O.height==0)return 0;for(var M=O.text.length,ee,ne=O;ee=jn(ne);){var de=ee.find(0,!0);ne=de.from.line,M+=de.from.ch-de.to.ch}for(ne=O;ee=Gn(ne);){var Be=ee.find(0,!0);M-=ne.text.length-Be.from.ch,ne=Be.to.line,M+=ne.text.length-Be.to.ch}return M}function si(O){var M=O.display,ee=O.doc;M.maxLine=Fe(ee,ee.first),M.maxLineLength=wi(M.maxLine),M.maxLineChanged=!0,ee.iter(function(ne){var de=wi(ne);de>M.maxLineLength&&(M.maxLineLength=de,M.maxLine=ne)})}var Oi=function(M,ee,ne){this.text=M,ur(this,ee),this.height=ne?ne(this):1};Oi.prototype.lineNo=function(){return sr(this)},Bt(Oi);function qr(O,M,ee,ne){O.text=M,O.stateAfter&&(O.stateAfter=null),O.styles&&(O.styles=null),O.order!=null&&(O.order=null),xr(O),ur(O,ee);var de=ne?ne(O):1;de!=O.height&&nr(O,de)}function Sr(O){O.parent=null,xr(O)}var sn={},yn={};function On(O,M){if(!O||/^\s*$/.test(O))return null;var ee=M.addModeClass?yn:sn;return ee[O]||(ee[O]=O.replace(/\S+/g,"cm-$&"))}function Pn(O,M){var ee=D("span",null,null,o?"padding-right: .1px":null),ne={pre:D("pre",[ee],"CodeMirror-line"),content:ee,col:0,pos:0,cm:O,trailingSpace:!1,splitSpaces:O.getOption("lineWrapping")};M.measure={};for(var de=0;de<=(M.rest?M.rest.length:0);de++){var Be=de?M.rest[de-1]:M.line,ft=void 0;ne.pos=0,ne.addToken=ai,tt(O.display.measure)&&(ft=st(Be,O.doc.direction))&&(ne.addToken=xi(ne.addToken,ft)),ne.map=[];var Nt=M!=O.display.externalMeasured&&sr(Be);ki(Be,ne,gn(O,Be,Nt)),Be.styleClasses&&(Be.styleClasses.bgClass&&(ne.bgClass=R(Be.styleClasses.bgClass,ne.bgClass||"")),Be.styleClasses.textClass&&(ne.textClass=R(Be.styleClasses.textClass,ne.textClass||""))),ne.map.length==0&&ne.map.push(0,0,ne.content.appendChild(Ue(O.display.measure))),de==0?(M.measure.map=ne.map,M.measure.cache={}):((M.measure.maps||(M.measure.maps=[])).push(ne.map),(M.measure.caches||(M.measure.caches=[])).push({}))}if(o){var Vt=ne.content.lastChild;(/\bcm-tab\b/.test(Vt.className)||Vt.querySelector&&Vt.querySelector(".cm-tab"))&&(ne.content.className="cm-tab-wrap-hack")}return vt(O,"renderLine",O,M.line,ne.pre),ne.pre.className&&(ne.textClass=R(ne.pre.className,ne.textClass||"")),ne}function ti(O){var M=L("span","\u2022","cm-invalidchar");return M.title="\\u"+O.charCodeAt(0).toString(16),M.setAttribute("aria-label",M.title),M}function ai(O,M,ee,ne,de,Be,ft){if(!M)return;var Nt=O.splitSpaces?qn(M,O.trailingSpace):M,Vt=O.cm.state.specialChars,Gt=!1,Fr;if(!Vt.test(M))O.col+=M.length,Fr=document.createTextNode(Nt),O.map.push(O.pos,O.pos+M.length,Fr),l&&u<9&&(Gt=!0),O.pos+=M.length;else{Fr=document.createDocumentFragment();for(var Jr=0;;){Vt.lastIndex=Jr;var pn=Vt.exec(M),vn=pn?pn.index-Jr:M.length-Jr;if(vn){var ci=document.createTextNode(Nt.slice(Jr,Jr+vn));l&&u<9?Fr.appendChild(L("span",[ci])):Fr.appendChild(ci),O.map.push(O.pos,O.pos+vn,ci),O.col+=vn,O.pos+=vn}if(!pn)break;Jr+=vn+1;var Si=void 0;if(pn[0]==" "){var Ri=O.cm.options.tabSize,Ni=Ri-O.col%Ri;Si=Fr.appendChild(L("span",_e(Ni),"cm-tab")),Si.setAttribute("role","presentation"),Si.setAttribute("cm-text"," "),O.col+=Ni}else pn[0]=="\r"||pn[0]==`
`?(Si=Fr.appendChild(L("span",pn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Si.setAttribute("cm-text",pn[0]),O.col+=1):(Si=O.cm.options.specialCharPlaceholder(pn[0]),Si.setAttribute("cm-text",pn[0]),l&&u<9?Fr.appendChild(L("span",[Si])):Fr.appendChild(Si),O.col+=1);O.map.push(O.pos,O.pos+1,Si),O.pos++}}if(O.trailingSpace=Nt.charCodeAt(M.length-1)==32,ee||ne||de||Gt||Be||ft){var Ii=ee||"";ne&&(Ii+=ne),de&&(Ii+=de);var Vi=L("span",[Fr],Ii,Be);if(ft)for(var ia in ft)ft.hasOwnProperty(ia)&&ia!="style"&&ia!="class"&&Vi.setAttribute(ia,ft[ia]);return O.content.appendChild(Vi)}O.content.appendChild(Fr)}function qn(O,M){if(O.length>1&&!/ /.test(O))return O;for(var ee=M,ne="",de=0;de<O.length;de++){var Be=O.charAt(de);Be==" "&&ee&&(de==O.length-1||O.charCodeAt(de+1)==32)&&(Be="\xA0"),ne+=Be,ee=Be==" "}return ne}function xi(O,M){return function(ee,ne,de,Be,ft,Nt,Vt){de=de?de+" cm-force-border":"cm-force-border";for(var Gt=ee.pos,Fr=Gt+ne.length;;){for(var Jr=void 0,pn=0;pn<M.length&&!(Jr=M[pn],Jr.to>Gt&&Jr.from<=Gt);pn++);if(Jr.to>=Fr)return O(ee,ne,de,Be,ft,Nt,Vt);O(ee,ne.slice(0,Jr.to-Gt),de,Be,null,Nt,Vt),Be=null,ne=ne.slice(Jr.to-Gt),Gt=Jr.to}}}function Pi(O,M,ee,ne){var de=!ne&&ee.widgetNode;de&&O.map.push(O.pos,O.pos+M,de),!ne&&O.cm.display.input.needsContentAttribute&&(de||(de=O.content.appendChild(document.createElement("span"))),de.setAttribute("cm-marker",ee.id)),de&&(O.cm.display.input.setUneditable(de),O.content.appendChild(de)),O.pos+=M,O.trailingSpace=!1}function ki(O,M,ee){var ne=O.markedSpans,de=O.text,Be=0;if(!ne){for(var ft=1;ft<ee.length;ft+=2)M.addToken(M,de.slice(Be,Be=ee[ft]),On(ee[ft+1],M.cm.options));return}for(var Nt=de.length,Vt=0,Gt=1,Fr="",Jr,pn,vn=0,ci,Si,Ri,Ni,Ii;;){if(vn==Vt){ci=Si=Ri=pn="",Ii=null,Ni=null,vn=Infinity;for(var Vi=[],ia=void 0,Ka=0;Ka<ne.length;++Ka){var Oa=ne[Ka],so=Oa.marker;if(so.type=="bookmark"&&Oa.from==Vt&&so.widgetNode)Vi.push(so);else if(Oa.from<=Vt&&(Oa.to==null||Oa.to>Vt||so.collapsed&&Oa.to==Vt&&Oa.from==Vt)){if(Oa.to!=null&&Oa.to!=Vt&&vn>Oa.to&&(vn=Oa.to,Si=""),so.className&&(ci+=" "+so.className),so.css&&(pn=(pn?pn+";":"")+so.css),so.startStyle&&Oa.from==Vt&&(Ri+=" "+so.startStyle),so.endStyle&&Oa.to==vn&&(ia||(ia=[])).push(so.endStyle,Oa.to),so.title&&((Ii||(Ii={})).title=so.title),so.attributes)for(var xo in so.attributes)(Ii||(Ii={}))[xo]=so.attributes[xo];so.collapsed&&(!Ni||Vn(Ni.marker,so)<0)&&(Ni=Oa)}else Oa.from>Vt&&vn>Oa.from&&(vn=Oa.from)}if(ia)for(var Zo=0;Zo<ia.length;Zo+=2)ia[Zo+1]==vn&&(Si+=" "+ia[Zo]);if(!Ni||Ni.from==Vt)for(var jo=0;jo<Vi.length;++jo)Pi(M,0,Vi[jo]);if(Ni&&(Ni.from||0)==Vt){if(Pi(M,(Ni.to==null?Nt+1:Ni.to)-Vt,Ni.marker,Ni.from==null),Ni.to==null)return;Ni.to==Vt&&(Ni=!1)}}if(Vt>=Nt)break;for(var Ns=Math.min(Nt,vn);;){if(Fr){var dl=Vt+Fr.length;if(!Ni){var ds=dl>Ns?Fr.slice(0,Ns-Vt):Fr;M.addToken(M,ds,Jr?Jr+ci:ci,Ri,Vt+ds.length==vn?Si:"",pn,Ii)}if(dl>=Ns){Fr=Fr.slice(Ns-Vt),Vt=Ns;break}Vt=dl,Ri=""}Fr=de.slice(Be,Be=ee[Gt++]),Jr=On(ee[Gt++],M.cm.options)}}}function ja(O,M,ee){this.line=M,this.rest=dn(M),this.size=this.rest?sr(De(this.rest))-ee+1:1,this.node=this.text=null,this.hidden=Hn(O,M)}function ri(O,M,ee){for(var ne=[],de,Be=M;Be<ee;Be=de){var ft=new ja(O.doc,Fe(O.doc,Be),Be);de=Be+ft.size,ne.push(ft)}return ne}var pt=null;function gr(O){pt?pt.ops.push(O):O.ownsGroup=pt={ops:[O],delayedCallbacks:[]}}function _r(O){var M=O.delayedCallbacks,ee=0;do{for(;ee<M.length;ee++)M[ee].call(null);for(var ne=0;ne<O.ops.length;ne++){var de=O.ops[ne];if(de.cursorActivityHandlers)for(;de.cursorActivityCalled<de.cursorActivityHandlers.length;)de.cursorActivityHandlers[de.cursorActivityCalled++].call(null,de.cm)}}while(ee<M.length)}function Dr(O,M){var ee=O.ownsGroup;if(!ee)return;try{_r(ee)}finally{pt=null,M(ee)}}var tn=null;function Br(O,M){var ee=St(O,M);if(!ee.length)return;var ne=Array.prototype.slice.call(arguments,2),de;pt?de=pt.delayedCallbacks:tn?de=tn:(de=tn=[],setTimeout(wn,0));for(var Be=function(Vt){de.push(function(){return ee[Vt].apply(null,ne)})},ft=0;ft<ee.length;++ft)Be(ft)}function wn(){var O=tn;tn=null;for(var M=0;M<O.length;++M)O[M]()}function mn(O,M,ee,ne){for(var de=0;de<M.changes.length;de++){var Be=M.changes[de];Be=="text"?Zn(O,M):Be=="gutter"?kt(O,M,ee,ne):Be=="class"?$e(O,M):Be=="widget"&&or(O,M,ne)}M.changes=null}function _n(O){return O.node==O.text&&(O.node=L("div",null,null,"position: relative"),O.text.parentNode&&O.text.parentNode.replaceChild(O.node,O.text),O.node.appendChild(O.text),l&&u<8&&(O.node.style.zIndex=2)),O.node}function hi(O,M){var ee=M.bgClass?M.bgClass+" "+(M.line.bgClass||""):M.line.bgClass;if(ee&&(ee+=" CodeMirror-linebackground"),M.background)ee?M.background.className=ee:(M.background.parentNode.removeChild(M.background),M.background=null);else if(ee){var ne=_n(M);M.background=ne.insertBefore(L("div",null,ee),ne.firstChild),O.display.input.setUneditable(M.background)}}function li(O,M){var ee=O.display.externalMeasured;return ee&&ee.line==M.line?(O.display.externalMeasured=null,M.measure=ee.measure,ee.built):Pn(O,M)}function Zn(O,M){var ee=M.text.className,ne=li(O,M);M.text==M.node&&(M.node=ne.pre),M.text.parentNode.replaceChild(ne.pre,M.text),M.text=ne.pre,ne.bgClass!=M.bgClass||ne.textClass!=M.textClass?(M.bgClass=ne.bgClass,M.textClass=ne.textClass,$e(O,M)):ee&&(M.text.className=ee)}function $e(O,M){hi(O,M),M.line.wrapClass?_n(M).className=M.line.wrapClass:M.node!=M.text&&(M.node.className="");var ee=M.textClass?M.textClass+" "+(M.line.textClass||""):M.line.textClass;M.text.className=ee||""}function kt(O,M,ee,ne){if(M.gutter&&(M.node.removeChild(M.gutter),M.gutter=null),M.gutterBackground&&(M.node.removeChild(M.gutterBackground),M.gutterBackground=null),M.line.gutterClass){var de=_n(M);M.gutterBackground=L("div",null,"CodeMirror-gutter-background "+M.line.gutterClass,"left: "+(O.options.fixedGutter?ne.fixedPos:-ne.gutterTotalWidth)+"px; width: "+ne.gutterTotalWidth+"px"),O.display.input.setUneditable(M.gutterBackground),de.insertBefore(M.gutterBackground,M.text)}var Be=M.line.gutterMarkers;if(O.options.lineNumbers||Be){var ft=_n(M),Nt=M.gutter=L("div",null,"CodeMirror-gutter-wrapper","left: "+(O.options.fixedGutter?ne.fixedPos:-ne.gutterTotalWidth)+"px");if(O.display.input.setUneditable(Nt),ft.insertBefore(Nt,M.text),M.line.gutterClass&&(Nt.className+=" "+M.line.gutterClass),O.options.lineNumbers&&(!Be||!Be["CodeMirror-linenumbers"])&&(M.lineNumber=Nt.appendChild(L("div",$r(O.options,ee),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+ne.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+O.display.lineNumInnerWidth+"px"))),Be)for(var Vt=0;Vt<O.display.gutterSpecs.length;++Vt){var Gt=O.display.gutterSpecs[Vt].className,Fr=Be.hasOwnProperty(Gt)&&Be[Gt];Fr&&Nt.appendChild(L("div",[Fr],"CodeMirror-gutter-elt","left: "+ne.gutterLeft[Gt]+"px; width: "+ne.gutterWidth[Gt]+"px"))}}}function or(O,M,ee){M.alignable&&(M.alignable=null);for(var ne=T("CodeMirror-linewidget"),de=M.node.firstChild,Be=void 0;de;de=Be)Be=de.nextSibling,ne.test(de.className)&&M.node.removeChild(de);Or(O,M,ee)}function tr(O,M,ee,ne){var de=li(O,M);return M.text=M.node=de.pre,de.bgClass&&(M.bgClass=de.bgClass),de.textClass&&(M.textClass=de.textClass),$e(O,M),kt(O,M,ee,ne),Or(O,M,ne),M.node}function Or(O,M,ee){if(wr(O,M.line,M,ee,!0),M.rest)for(var ne=0;ne<M.rest.length;ne++)wr(O,M.rest[ne],M,ee,!1)}function wr(O,M,ee,ne,de){if(!M.widgets)return;for(var Be=_n(ee),ft=0,Nt=M.widgets;ft<Nt.length;++ft){var Vt=Nt[ft],Gt=L("div",[Vt.node],"CodeMirror-linewidget"+(Vt.className?" "+Vt.className:""));Vt.handleMouseEvents||Gt.setAttribute("cm-ignore-events","true"),Xr(Vt,Gt,ee,ne),O.display.input.setUneditable(Gt),de&&Vt.above?Be.insertBefore(Gt,ee.gutter||ee.text):Be.appendChild(Gt),Br(Vt,"redraw")}}function Xr(O,M,ee,ne){if(O.noHScroll){(ee.alignable||(ee.alignable=[])).push(M);var de=ne.wrapperWidth;M.style.left=ne.fixedPos+"px",O.coverGutter||(de-=ne.gutterTotalWidth,M.style.paddingLeft=ne.gutterTotalWidth+"px"),M.style.width=de+"px"}O.coverGutter&&(M.style.zIndex=5,M.style.position="relative",O.noHScroll||(M.style.marginLeft=-ne.gutterTotalWidth+"px"))}function Qr(O){if(O.height!=null)return O.height;var M=O.doc.cm;if(!M)return 0;if(!N(document.body,O.node)){var ee="position: relative;";O.coverGutter&&(ee+="margin-left: -"+M.display.gutters.offsetWidth+"px;"),O.noHScroll&&(ee+="width: "+M.display.wrapper.clientWidth+"px;"),I(M.display.measure,L("div",[O.node],null,ee))}return O.height=O.node.parentNode.offsetHeight}function cn(O,M){for(var ee=Ce(M);ee!=O.wrapper;ee=ee.parentNode)if(!ee||ee.nodeType==1&&ee.getAttribute("cm-ignore-events")=="true"||ee.parentNode==O.sizer&&ee!=O.mover)return!0}function Ln(O){return O.lineSpace.offsetTop}function Cn(O){return O.mover.offsetHeight-O.lineSpace.offsetHeight}function Bn(O){if(O.cachedPaddingH)return O.cachedPaddingH;var M=I(O.measure,L("pre","x","CodeMirror-line-like")),ee=window.getComputedStyle?window.getComputedStyle(M):M.currentStyle,ne={left:parseInt(ee.paddingLeft),right:parseInt(ee.paddingRight)};return!isNaN(ne.left)&&!isNaN(ne.right)&&(O.cachedPaddingH=ne),ne}function nn(O){return Y-O.display.nativeBarWidth}function Dn(O){return O.display.scroller.clientWidth-nn(O)-O.display.barWidth}function hn(O){return O.display.scroller.clientHeight-nn(O)-O.display.barHeight}function An(O,M,ee){var ne=O.options.lineWrapping,de=ne&&Dn(O);if(!M.measure.heights||ne&&M.measure.width!=de){var Be=M.measure.heights=[];if(ne){M.measure.width=de;for(var ft=M.text.firstChild.getClientRects(),Nt=0;Nt<ft.length-1;Nt++){var Vt=ft[Nt],Gt=ft[Nt+1];Math.abs(Vt.bottom-Gt.bottom)>2&&Be.push((Vt.bottom+Gt.top)/2-ee.top)}}Be.push(ee.bottom-ee.top)}}function xn(O,M,ee){if(O.line==M)return{map:O.measure.map,cache:O.measure.cache};for(var ne=0;ne<O.rest.length;ne++)if(O.rest[ne]==M)return{map:O.measure.maps[ne],cache:O.measure.caches[ne]};for(var de=0;de<O.rest.length;de++)if(sr(O.rest[de])>ee)return{map:O.measure.maps[de],cache:O.measure.caches[de],before:!0}}function Rn(O,M){M=en(M);var ee=sr(M),ne=O.display.externalMeasured=new ja(O.doc,M,ee);ne.lineN=ee;var de=ne.built=Pn(O,ne);return ne.text=de.pre,I(O.display.lineMeasure,de.pre),ne}function ui(O,M,ee,ne){return di(O,Fi(O,M),ee,ne)}function gi(O,M){if(M>=O.display.viewFrom&&M<O.display.viewTo)return O.display.view[Wi(O,M)];var ee=O.display.externalMeasured;if(ee&&M>=ee.lineN&&M<ee.lineN+ee.size)return ee}function Fi(O,M){var ee=sr(M),ne=gi(O,ee);ne&&!ne.text?ne=null:ne&&ne.changes&&(mn(O,ne,ee,Ao(O)),O.curOp.forceUpdate=!0),ne||(ne=Rn(O,M));var de=xn(ne,M,ee);return{line:M,view:ne,rect:null,map:de.map,cache:de.cache,before:de.before,hasHeights:!1}}function di(O,M,ee,ne,de){M.before&&(ee=-1);var Be=ee+(ne||""),ft;return M.cache.hasOwnProperty(Be)?ft=M.cache[Be]:(M.rect||(M.rect=M.view.text.getBoundingClientRect()),M.hasHeights||(An(O,M.view,M.rect),M.hasHeights=!0),ft=Mi(O,M,ee,ne),ft.bogus||(M.cache[Be]=ft)),{left:ft.left,right:ft.right,top:de?ft.rtop:ft.top,bottom:de?ft.rbottom:ft.bottom}}var ii={left:0,right:0,top:0,bottom:0};function Yi(O,M,ee){for(var ne,de,Be,ft,Nt,Vt,Gt=0;Gt<O.length;Gt+=3)if(Nt=O[Gt],Vt=O[Gt+1],M<Nt?(de=0,Be=1,ft="left"):M<Vt?(de=M-Nt,Be=de+1):(Gt==O.length-3||M==Vt&&O[Gt+3]>M)&&(Be=Vt-Nt,de=Be-1,M>=Vt&&(ft="right")),de!=null){if(ne=O[Gt+2],Nt==Vt&&ee==(ne.insertLeft?"left":"right")&&(ft=ee),ee=="left"&&de==0)for(;Gt&&O[Gt-2]==O[Gt-3]&&O[Gt-1].insertLeft;)ne=O[(Gt-=3)+2],ft="left";if(ee=="right"&&de==Vt-Nt)for(;Gt<O.length-3&&O[Gt+3]==O[Gt+4]&&!O[Gt+5].insertLeft;)ne=O[(Gt+=3)+2],ft="right";break}return{node:ne,start:de,end:Be,collapse:ft,coverStart:Nt,coverEnd:Vt}}function _i(O,M){var ee=ii;if(M=="left")for(var ne=0;ne<O.length&&!((ee=O[ne]).left!=ee.right);ne++);else for(var de=O.length-1;de>=0&&!((ee=O[de]).left!=ee.right);de--);return ee}function Mi(O,M,ee,ne){var de=Yi(M.map,ee,ne),Be=de.node,ft=de.start,Nt=de.end,Vt=de.collapse,Gt;if(Be.nodeType==3){for(var Fr=0;Fr<4;Fr++){for(;ft&&le(M.line.text.charAt(de.coverStart+ft));)--ft;for(;de.coverStart+Nt<de.coverEnd&&le(M.line.text.charAt(de.coverStart+Nt));)++Nt;if(l&&u<9&&ft==0&&Nt==de.coverEnd-de.coverStart?Gt=Be.parentNode.getBoundingClientRect():Gt=_i(F(Be,ft,Nt).getClientRects(),ne),Gt.left||Gt.right||ft==0)break;Nt=ft,ft=ft-1,Vt="right"}l&&u<11&&(Gt=Bi(O.display.measure,Gt))}else{ft>0&&(Vt=ne="right");var Jr;O.options.lineWrapping&&(Jr=Be.getClientRects()).length>1?Gt=Jr[ne=="right"?Jr.length-1:0]:Gt=Be.getBoundingClientRect()}if(l&&u<9&&!ft&&(!Gt||!Gt.left&&!Gt.right)){var pn=Be.parentNode.getClientRects()[0];pn?Gt={left:pn.left,right:pn.left+ao(O.display),top:pn.top,bottom:pn.bottom}:Gt=ii}for(var vn=Gt.top-M.rect.top,ci=Gt.bottom-M.rect.top,Si=(vn+ci)/2,Ri=M.view.measure.heights,Ni=0;Ni<Ri.length-1&&!(Si<Ri[Ni]);Ni++);var Ii=Ni?Ri[Ni-1]:0,Vi=Ri[Ni],ia={left:(Vt=="right"?Gt.right:Gt.left)-M.rect.left,right:(Vt=="left"?Gt.left:Gt.right)-M.rect.left,top:Ii,bottom:Vi};return!Gt.left&&!Gt.right&&(ia.bogus=!0),O.options.singleCursorHeightPerLine||(ia.rtop=vn,ia.rbottom=ci),ia}function Bi(O,M){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Rt(O))return M;var ee=screen.logicalXDPI/screen.deviceXDPI,ne=screen.logicalYDPI/screen.deviceYDPI;return{left:M.left*ee,right:M.right*ee,top:M.top*ne,bottom:M.bottom*ne}}function Zi(O){if(O.measure&&(O.measure.cache={},O.measure.heights=null,O.rest))for(var M=0;M<O.rest.length;M++)O.measure.caches[M]={}}function da(O){O.display.externalMeasure=null,E(O.display.lineMeasure);for(var M=0;M<O.display.view.length;M++)Zi(O.display.view[M])}function Ma(O){da(O),O.display.cachedCharWidth=O.display.cachedTextHeight=O.display.cachedPaddingH=null,O.options.lineWrapping||(O.display.maxLineChanged=!0),O.display.lineNumChars=null}function La(){return n&&c?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function fa(){return n&&c?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function xa(O){var M=0;if(O.widgets)for(var ee=0;ee<O.widgets.length;++ee)O.widgets[ee].above&&(M+=Qr(O.widgets[ee]));return M}function ea(O,M,ee,ne,de){if(!de){var Be=xa(M);ee.top+=Be,ee.bottom+=Be}if(ne=="line")return ee;ne||(ne="local");var ft=bn(M);if(ne=="local"?ft+=Ln(O.display):ft-=O.display.viewOffset,ne=="page"||ne=="window"){var Nt=O.display.lineSpace.getBoundingClientRect();ft+=Nt.top+(ne=="window"?0:fa());var Vt=Nt.left+(ne=="window"?0:La());ee.left+=Vt,ee.right+=Vt}return ee.top+=ft,ee.bottom+=ft,ee}function ya(O,M,ee){if(ee=="div")return M;var ne=M.left,de=M.top;if(ee=="page")ne-=La(),de-=fa();else if(ee=="local"||!ee){var Be=O.display.sizer.getBoundingClientRect();ne+=Be.left,de+=Be.top}var ft=O.display.lineSpace.getBoundingClientRect();return{left:ne-ft.left,top:de-ft.top}}function sa(O,M,ee,ne,de){return ne||(ne=Fe(O.doc,M.line)),ea(O,ne,ui(O,ne,M.ch,de),ee)}function Fa(O,M,ee,ne,de,Be){ne=ne||Fe(O.doc,M.line),de||(de=Fi(O,ne));function ft(ci,Si){var Ri=di(O,de,ci,Si?"right":"left",Be);return Si?Ri.left=Ri.right:Ri.right=Ri.left,ea(O,ne,Ri,ee)}var Nt=st(ne,O.doc.direction),Vt=M.ch,Gt=M.sticky;if(Vt>=ne.text.length?(Vt=ne.text.length,Gt="before"):Vt<=0&&(Vt=0,Gt="after"),!Nt)return ft(Gt=="before"?Vt-1:Vt,Gt=="before");function Fr(ci,Si,Ri){var Ni=Nt[Si],Ii=Ni.level==1;return ft(Ri?ci-1:ci,Ii!=Ri)}var Jr=xe(Nt,Vt,Gt),pn=we,vn=Fr(Vt,Jr,Gt=="before");return pn!=null&&(vn.other=Fr(Vt,pn,Gt!="before")),vn}function uo(O,M){var ee=0;M=Xt(O.doc,M),O.options.lineWrapping||(ee=ao(O.display)*M.ch);var ne=Fe(O.doc,M.line),de=bn(ne)+Ln(O.display);return{left:ee,right:ee,top:de,bottom:de+ne.height}}function za(O,M,ee,ne,de){var Be=Qt(O,M,ee);return Be.xRel=de,ne&&(Be.outside=ne),Be}function Ya(O,M,ee){var ne=O.doc;if(ee+=O.display.viewOffset,ee<0)return za(ne.first,0,null,-1,-1);var de=Ar(ne,ee),Be=ne.first+ne.size-1;if(de>Be)return za(ne.first+ne.size-1,Fe(ne,Be).text.length,null,1,1);M<0&&(M=0);for(var ft=Fe(ne,de);;){var Nt=Gi(O,ft,de,M,ee),Vt=Nn(ft,Nt.ch+(Nt.xRel>0||Nt.outside>0?1:0));if(!Vt)return Nt;var Gt=Vt.find(1);if(Gt.line==de)return Gt;ft=Fe(ne,de=Gt.line)}}function lo(O,M,ee,ne){ne-=xa(M);var de=M.text.length,Be=me(function(ft){return di(O,ee,ft-1).bottom<=ne},de,0);return de=me(function(ft){return di(O,ee,ft).top>ne},Be,de),{begin:Be,end:de}}function ta(O,M,ee,ne){ee||(ee=Fi(O,M));var de=ea(O,M,di(O,ee,ne),"line").top;return lo(O,M,ee,de)}function Xi(O,M,ee,ne){return O.bottom<=ee?!1:O.top>ee?!0:(ne?O.left:O.right)>M}function Gi(O,M,ee,ne,de){de-=bn(M);var Be=Fi(O,M),ft=xa(M),Nt=0,Vt=M.text.length,Gt=!0,Fr=st(M,O.doc.direction);if(Fr){var Jr=(O.options.lineWrapping?ka:Ta)(O,M,ee,Be,Fr,ne,de);Gt=Jr.level!=1,Nt=Gt?Jr.from:Jr.to-1,Vt=Gt?Jr.to:Jr.from-1}var pn=null,vn=null,ci=me(function(Ka){var Oa=di(O,Be,Ka);return Oa.top+=ft,Oa.bottom+=ft,Xi(Oa,ne,de,!1)?(Oa.top<=de&&Oa.left<=ne&&(pn=Ka,vn=Oa),!0):!1},Nt,Vt),Si,Ri,Ni=!1;if(vn){var Ii=ne-vn.left<vn.right-ne,Vi=Ii==Gt;ci=pn+(Vi?0:1),Ri=Vi?"after":"before",Si=Ii?vn.left:vn.right}else{!Gt&&(ci==Vt||ci==Nt)&&ci++,Ri=ci==0?"after":ci==M.text.length?"before":di(O,Be,ci-(Gt?1:0)).bottom+ft<=de==Gt?"after":"before";var ia=Fa(O,Qt(ee,ci,Ri),"line",M,Be);Si=ia.left,Ni=de<ia.top?-1:de>=ia.bottom?1:0}return ci=Se(M.text,ci,1),za(ee,ci,Ri,Ni,ne-Si)}function Ta(O,M,ee,ne,de,Be,ft){var Nt=me(function(Jr){var pn=de[Jr],vn=pn.level!=1;return Xi(Fa(O,Qt(ee,vn?pn.to:pn.from,vn?"before":"after"),"line",M,ne),Be,ft,!0)},0,de.length-1),Vt=de[Nt];if(Nt>0){var Gt=Vt.level!=1,Fr=Fa(O,Qt(ee,Gt?Vt.from:Vt.to,Gt?"after":"before"),"line",M,ne);Xi(Fr,Be,ft,!0)&&Fr.top>ft&&(Vt=de[Nt-1])}return Vt}function ka(O,M,ee,ne,de,Be,ft){var Nt=lo(O,M,ne,ft),Vt=Nt.begin,Gt=Nt.end;/\s/.test(M.text.charAt(Gt-1))&&Gt--;for(var Fr=null,Jr=null,pn=0;pn<de.length;pn++){var vn=de[pn];if(vn.from>=Gt||vn.to<=Vt)continue;var ci=vn.level!=1,Si=di(O,ne,ci?Math.min(Gt,vn.to)-1:Math.max(Vt,vn.from)).right,Ri=Si<Be?Be-Si+1e9:Si-Be;(!Fr||Jr>Ri)&&(Fr=vn,Jr=Ri)}return Fr||(Fr=de[de.length-1]),Fr.from<Vt&&(Fr={from:Vt,to:Fr.to,level:Fr.level}),Fr.to>Gt&&(Fr={from:Fr.from,to:Gt,level:Fr.level}),Fr}var ha;function Ua(O){if(O.cachedTextHeight!=null)return O.cachedTextHeight;if(ha==null){ha=L("pre",null,"CodeMirror-line-like");for(var M=0;M<49;++M)ha.appendChild(document.createTextNode("x")),ha.appendChild(L("br"));ha.appendChild(document.createTextNode("x"))}I(O.measure,ha);var ee=ha.offsetHeight/50;return ee>3&&(O.cachedTextHeight=ee),E(O.measure),ee||1}function ao(O){if(O.cachedCharWidth!=null)return O.cachedCharWidth;var M=L("span","xxxxxxxxxx"),ee=L("pre",[M],"CodeMirror-line-like");I(O.measure,ee);var ne=M.getBoundingClientRect(),de=(ne.right-ne.left)/10;return de>2&&(O.cachedCharWidth=de),de||10}function Ao(O){for(var M=O.display,ee={},ne={},de=M.gutters.clientLeft,Be=M.gutters.firstChild,ft=0;Be;Be=Be.nextSibling,++ft){var Nt=O.display.gutterSpecs[ft].className;ee[Nt]=Be.offsetLeft+Be.clientLeft+de,ne[Nt]=Be.clientWidth}return{fixedPos:ho(M),gutterTotalWidth:M.gutters.offsetWidth,gutterLeft:ee,gutterWidth:ne,wrapperWidth:M.wrapper.clientWidth}}function ho(O){return O.scroller.getBoundingClientRect().left-O.sizer.getBoundingClientRect().left}function ro(O){var M=Ua(O.display),ee=O.options.lineWrapping,ne=ee&&Math.max(5,O.display.scroller.clientWidth/ao(O.display)-3);return function(de){if(Hn(O.doc,de))return 0;var Be=0;if(de.widgets)for(var ft=0;ft<de.widgets.length;ft++)de.widgets[ft].height&&(Be+=de.widgets[ft].height);return ee?Be+(Math.ceil(de.text.length/ne)||1)*M:Be+M}}function qa(O){var M=O.doc,ee=ro(O);M.iter(function(ne){var de=ee(ne);de!=ne.height&&nr(ne,de)})}function no(O,M,ee,ne){var de=O.display;if(!ee&&Ce(M).getAttribute("cm-not-content")=="true")return null;var Be,ft,Nt=de.lineSpace.getBoundingClientRect();try{Be=M.clientX-Nt.left,ft=M.clientY-Nt.top}catch(Jr){return null}var Vt=Ya(O,Be,ft),Gt;if(ne&&Vt.xRel>0&&(Gt=Fe(O.doc,Vt.line).text).length==Vt.ch){var Fr=U(Gt,Gt.length,O.options.tabSize)-Gt.length;Vt=Qt(Vt.line,Math.max(0,Math.round((Be-Bn(O.display).left)/ao(O.display))-Fr))}return Vt}function Wi(O,M){if(M>=O.display.viewTo)return null;if(M-=O.display.viewFrom,M<0)return null;for(var ee=O.display.view,ne=0;ne<ee.length;ne++)if(M-=ee[ne].size,M<0)return ne}function Ci(O,M,ee,ne){M==null&&(M=O.doc.first),ee==null&&(ee=O.doc.first+O.doc.size),ne||(ne=0);var de=O.display;if(ne&&ee<de.viewTo&&(de.updateLineNumbers==null||de.updateLineNumbers>M)&&(de.updateLineNumbers=M),O.curOp.viewChanged=!0,M>=de.viewTo)Ve&&Vr(O.doc,M)<de.viewTo&&ma(O);else if(ee<=de.viewFrom)Ve&&ni(O.doc,ee+ne)>de.viewFrom?ma(O):(de.viewFrom+=ne,de.viewTo+=ne);else if(M<=de.viewFrom&&ee>=de.viewTo)ma(O);else if(M<=de.viewFrom){var Be=ga(O,ee,ee+ne,1);Be?(de.view=de.view.slice(Be.index),de.viewFrom=Be.lineN,de.viewTo+=ne):ma(O)}else if(ee>=de.viewTo){var ft=ga(O,M,M,-1);ft?(de.view=de.view.slice(0,ft.index),de.viewTo=ft.lineN):ma(O)}else{var Nt=ga(O,M,M,-1),Vt=ga(O,ee,ee+ne,1);Nt&&Vt?(de.view=de.view.slice(0,Nt.index).concat(ri(O,Nt.lineN,Vt.lineN)).concat(de.view.slice(Vt.index)),de.viewTo+=ne):ma(O)}var Gt=de.externalMeasured;Gt&&(ee<Gt.lineN?Gt.lineN+=ne:M<Gt.lineN+Gt.size&&(de.externalMeasured=null))}function Di(O,M,ee){O.curOp.viewChanged=!0;var ne=O.display,de=O.display.externalMeasured;if(de&&M>=de.lineN&&M<de.lineN+de.size&&(ne.externalMeasured=null),M<ne.viewFrom||M>=ne.viewTo)return;var Be=ne.view[Wi(O,M)];if(Be.node==null)return;var ft=Be.changes||(Be.changes=[]);z(ft,ee)==-1&&ft.push(ee)}function ma(O){O.display.viewFrom=O.display.viewTo=O.doc.first,O.display.view=[],O.display.viewOffset=0}function ga(O,M,ee,ne){var de=Wi(O,M),Be,ft=O.display.view;if(!Ve||ee==O.doc.first+O.doc.size)return{index:de,lineN:ee};for(var Nt=O.display.viewFrom,Vt=0;Vt<de;Vt++)Nt+=ft[Vt].size;if(Nt!=M){if(ne>0){if(de==ft.length-1)return null;Be=Nt+ft[de].size-M,de++}else Be=Nt-M;M+=Be,ee+=Be}for(;Vr(O.doc,ee)!=ee;){if(de==(ne<0?0:ft.length-1))return null;ee+=ne*ft[de-(ne<0?1:0)].size,de+=ne}return{index:de,lineN:ee}}function Aa(O,M,ee){var ne=O.display,de=ne.view;de.length==0||M>=ne.viewTo||ee<=ne.viewFrom?(ne.view=ri(O,M,ee),ne.viewFrom=M):(ne.viewFrom>M?ne.view=ri(O,M,ne.viewFrom).concat(ne.view):ne.viewFrom<M&&(ne.view=ne.view.slice(Wi(O,M))),ne.viewFrom=M,ne.viewTo<ee?ne.view=ne.view.concat(ri(O,ne.viewTo,ee)):ne.viewTo>ee&&(ne.view=ne.view.slice(0,Wi(O,ee)))),ne.viewTo=ee}function wa(O){for(var M=O.display.view,ee=0,ne=0;ne<M.length;ne++){var de=M[ne];!de.hidden&&(!de.node||de.changes)&&++ee}return ee}function la(O){O.display.input.showSelection(O.display.input.prepareSelection())}function Hi(O,M){M===void 0&&(M=!0);for(var ee=O.doc,ne={},de=ne.cursors=document.createDocumentFragment(),Be=ne.selection=document.createDocumentFragment(),ft=0;ft<ee.sel.ranges.length;ft++){if(!M&&ft==ee.sel.primIndex)continue;var Nt=ee.sel.ranges[ft];if(Nt.from().line>=O.display.viewTo||Nt.to().line<O.display.viewFrom)continue;var Vt=Nt.empty();(Vt||O.options.showCursorWhenSelecting)&&Ba(O,Nt.head,de),Vt||fo(O,Nt,Be)}return ne}function Ba(O,M,ee){var ne=Fa(O,M,"div",null,null,!O.options.singleCursorHeightPerLine),de=ee.appendChild(L("div","\xA0","CodeMirror-cursor"));if(de.style.left=ne.left+"px",de.style.top=ne.top+"px",de.style.height=Math.max(0,ne.bottom-ne.top)*O.options.cursorHeight+"px",ne.other){var Be=ee.appendChild(L("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Be.style.display="",Be.style.left=ne.other.left+"px",Be.style.top=ne.other.top+"px",Be.style.height=(ne.other.bottom-ne.other.top)*.85+"px"}}function Ia(O,M){return O.top-M.top||O.left-M.left}function fo(O,M,ee){var ne=O.display,de=O.doc,Be=document.createDocumentFragment(),ft=Bn(O.display),Nt=ft.left,Vt=Math.max(ne.sizerWidth,Dn(O)-ne.sizer.offsetLeft)-ft.right,Gt=de.direction=="ltr";function Fr(Vi,ia,Ka,Oa){ia<0&&(ia=0),ia=Math.round(ia),Oa=Math.round(Oa),Be.appendChild(L("div",null,"CodeMirror-selected","position: absolute; left: "+Vi+`px;
top: `+ia+"px; width: "+(Ka==null?Vt-Vi:Ka)+`px;
height: `+(Oa-ia)+"px"))}function Jr(Vi,ia,Ka){var Oa=Fe(de,Vi),so=Oa.text.length,xo,Zo;function jo(ds,hl){return sa(O,Qt(Vi,ds),"div",Oa,hl)}function Ns(ds,hl,Ds){var Ss=ta(O,Oa,null,ds),fs=hl=="ltr"==(Ds=="after")?"left":"right",os=Ds=="after"?Ss.begin:Ss.end-(/\s/.test(Oa.text.charAt(Ss.end-1))?2:1);return jo(os,fs)[fs]}var dl=st(Oa,de.direction);return $(dl,ia||0,Ka==null?so:Ka,function(ds,hl,Ds,Ss){var fs=Ds=="ltr",os=jo(ds,fs?"left":"right"),il=jo(hl-1,fs?"right":"left"),Ac=ia==null&&ds==0,El=Ka==null&&hl==so,ps=Ss==0,bl=!dl||Ss==dl.length-1;if(il.top-os.top<=3){var Us=(Gt?Ac:El)&&ps,tu=(Gt?El:Ac)&&bl,$i=Us?Nt:(fs?os:il).left,gl=tu?Vt:(fs?il:os).right;Fr($i,os.top,gl-$i,os.bottom)}else{var Nl,ts,zl,ko;fs?(Nl=Gt&&Ac&&ps?Nt:os.left,ts=Gt?Vt:Ns(ds,Ds,"before"),zl=Gt?Nt:Ns(hl,Ds,"after"),ko=Gt&&El&&bl?Vt:il.right):(Nl=Gt?Ns(ds,Ds,"before"):Nt,ts=!Gt&&Ac&&ps?Vt:os.right,zl=!Gt&&El&&bl?Nt:il.left,ko=Gt?Ns(hl,Ds,"after"):Vt),Fr(Nl,os.top,ts-Nl,os.bottom),os.bottom<il.top&&Fr(Nt,os.bottom,null,il.top),Fr(zl,il.top,ko-zl,il.bottom)}(!xo||Ia(os,xo)<0)&&(xo=os),Ia(il,xo)<0&&(xo=il),(!Zo||Ia(os,Zo)<0)&&(Zo=os),Ia(il,Zo)<0&&(Zo=il)}),{start:xo,end:Zo}}var pn=M.from(),vn=M.to();if(pn.line==vn.line)Jr(pn.line,pn.ch,vn.ch);else{var ci=Fe(de,pn.line),Si=Fe(de,vn.line),Ri=en(ci)==en(Si),Ni=Jr(pn.line,pn.ch,Ri?ci.text.length+1:null).end,Ii=Jr(vn.line,Ri?0:null,vn.ch).start;Ri&&(Ni.top<Ii.top-2?(Fr(Ni.right,Ni.top,null,Ni.bottom),Fr(Nt,Ii.top,Ii.left,Ii.bottom)):Fr(Ni.right,Ni.top,Ii.left-Ni.right,Ni.bottom)),Ni.bottom<Ii.top&&Fr(Nt,Ni.bottom,null,Ii.top)}ee.appendChild(Be)}function Na(O){if(!O.state.focused)return;var M=O.display;clearInterval(M.blinker);var ee=!0;M.cursorDiv.style.visibility="",O.options.cursorBlinkRate>0?M.blinker=setInterval(function(){O.hasFocus()||zo(O),M.cursorDiv.style.visibility=(ee=!ee)?"":"hidden"},O.options.cursorBlinkRate):O.options.cursorBlinkRate<0&&(M.cursorDiv.style.visibility="hidden")}function po(O){O.state.focused||(O.display.input.focus(),Ko(O))}function vo(O){O.state.delayingBlurEvent=!0,setTimeout(function(){O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1,zo(O))},100)}function Ko(O,M){if(O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1),O.options.readOnly=="nocursor")return;O.state.focused||(vt(O,"focus",O,M),O.state.focused=!0,W(O.display.wrapper,"CodeMirror-focused"),!O.curOp&&O.display.selForContextMenu!=O.doc.sel&&(O.display.input.reset(),o&&setTimeout(function(){return O.display.input.reset(!0)},20)),O.display.input.receivedFocus()),Na(O)}function zo(O,M){if(O.state.delayingBlurEvent)return;O.state.focused&&(vt(O,"blur",O,M),O.state.focused=!1,_(O.display.wrapper,"CodeMirror-focused")),clearInterval(O.display.blinker),setTimeout(function(){O.state.focused||(O.display.shift=!1)},150)}function yo(O){for(var M=O.display,ee=M.lineDiv.offsetTop,ne=0;ne<M.view.length;ne++){var de=M.view[ne],Be=O.options.lineWrapping,ft=void 0,Nt=0;if(de.hidden)continue;if(l&&u<8){var Vt=de.node.offsetTop+de.node.offsetHeight;ft=Vt-ee,ee=Vt}else{var Gt=de.node.getBoundingClientRect();ft=Gt.bottom-Gt.top,!Be&&de.text.firstChild&&(Nt=de.text.firstChild.getBoundingClientRect().right-Gt.left-1)}var Fr=de.line.height-ft;if((Fr>.005||Fr<-.005)&&(nr(de.line,ft),ra(de.line),de.rest))for(var Jr=0;Jr<de.rest.length;Jr++)ra(de.rest[Jr]);if(Nt>O.display.sizerWidth){var pn=Math.ceil(Nt/ao(O.display));pn>O.display.maxLineLength&&(O.display.maxLineLength=pn,O.display.maxLine=de.line,O.display.maxLineChanged=!0)}}}function ra(O){if(O.widgets)for(var M=0;M<O.widgets.length;++M){var ee=O.widgets[M],ne=ee.node.parentNode;ne&&(ee.height=ne.offsetHeight)}}function oo(O,M,ee){var ne=ee&&ee.top!=null?Math.max(0,ee.top):O.scroller.scrollTop;ne=Math.floor(ne-Ln(O));var de=ee&&ee.bottom!=null?ee.bottom:ne+O.wrapper.clientHeight,Be=Ar(M,ne),ft=Ar(M,de);if(ee&&ee.ensure){var Nt=ee.ensure.from.line,Vt=ee.ensure.to.line;Nt<Be?(Be=Nt,ft=Ar(M,bn(Fe(M,Nt))+O.wrapper.clientHeight)):Math.min(Vt,M.lastLine())>=ft&&(Be=Ar(M,bn(Fe(M,Vt))-O.wrapper.clientHeight),ft=Vt)}return{from:Be,to:Math.max(ft,Be+1)}}function to(O,M){if(It(O,"scrollCursorIntoView"))return;var ee=O.display,ne=ee.sizer.getBoundingClientRect(),de=null;if(M.top+ne.top<0?de=!0:M.bottom+ne.top>(window.innerHeight||document.documentElement.clientHeight)&&(de=!1),de!=null&&!t){var Be=L("div","\u200B",null,`position: absolute;
top: `+(M.top-ee.viewOffset-Ln(O.display))+`px;
height: `+(M.bottom-M.top+nn(O)+ee.barHeight)+`px;
left: `+M.left+"px; width: "+Math.max(2,M.right-M.left)+"px;");O.display.lineSpace.appendChild(Be),Be.scrollIntoView(de),O.display.lineSpace.removeChild(Be)}}function Za(O,M,ee,ne){ne==null&&(ne=0);var de;!O.options.lineWrapping&&M==ee&&(M=M.ch?Qt(M.line,M.sticky=="before"?M.ch-1:M.ch,"after"):M,ee=M.sticky=="before"?Qt(M.line,M.ch+1,"before"):M);for(var Be=0;Be<5;Be++){var ft=!1,Nt=Fa(O,M),Vt=!ee||ee==M?Nt:Fa(O,ee);de={left:Math.min(Nt.left,Vt.left),top:Math.min(Nt.top,Vt.top)-ne,right:Math.max(Nt.left,Vt.left),bottom:Math.max(Nt.bottom,Vt.bottom)+ne};var Gt=io(O,de),Fr=O.doc.scrollTop,Jr=O.doc.scrollLeft;if(Gt.scrollTop!=null&&(pa(O,Gt.scrollTop),Math.abs(O.doc.scrollTop-Fr)>1&&(ft=!0)),Gt.scrollLeft!=null&&(Ai(O,Gt.scrollLeft),Math.abs(O.doc.scrollLeft-Jr)>1&&(ft=!0)),!ft)break}return de}function Lo(O,M){var ee=io(O,M);ee.scrollTop!=null&&pa(O,ee.scrollTop),ee.scrollLeft!=null&&Ai(O,ee.scrollLeft)}function io(O,M){var ee=O.display,ne=Ua(O.display);M.top<0&&(M.top=0);var de=O.curOp&&O.curOp.scrollTop!=null?O.curOp.scrollTop:ee.scroller.scrollTop,Be=hn(O),ft={};M.bottom-M.top>Be&&(M.bottom=M.top+Be);var Nt=O.doc.height+Cn(ee),Vt=M.top<ne,Gt=M.bottom>Nt-ne;if(M.top<de)ft.scrollTop=Vt?0:M.top;else if(M.bottom>de+Be){var Fr=Math.min(M.top,(Gt?Nt:M.bottom)-Be);Fr!=de&&(ft.scrollTop=Fr)}var Jr=O.options.fixedGutter?0:ee.gutters.offsetWidth,pn=O.curOp&&O.curOp.scrollLeft!=null?O.curOp.scrollLeft:ee.scroller.scrollLeft-Jr,vn=Dn(O)-ee.gutters.offsetWidth,ci=M.right-M.left>vn;return ci&&(M.right=M.left+vn),M.left<10?ft.scrollLeft=0:M.left<pn?ft.scrollLeft=Math.max(0,M.left+Jr-(ci?0:10)):M.right>vn+pn-3&&(ft.scrollLeft=M.right+(ci?0:10)-vn),ft}function Da(O,M){if(M==null)return;es(O),O.curOp.scrollTop=(O.curOp.scrollTop==null?O.doc.scrollTop:O.curOp.scrollTop)+M}function Co(O){es(O);var M=O.getCursor();O.curOp.scrollToPos={from:M,to:M,margin:O.options.cursorScrollMargin}}function $o(O,M,ee){(M!=null||ee!=null)&&es(O),M!=null&&(O.curOp.scrollLeft=M),ee!=null&&(O.curOp.scrollTop=ee)}function ns(O,M){es(O),O.curOp.scrollToPos=M}function es(O){var M=O.curOp.scrollToPos;if(M){O.curOp.scrollToPos=null;var ee=uo(O,M.from),ne=uo(O,M.to);va(O,ee,ne,M.margin)}}function va(O,M,ee,ne){var de=io(O,{left:Math.min(M.left,ee.left),top:Math.min(M.top,ee.top)-ne,right:Math.max(M.right,ee.right),bottom:Math.max(M.bottom,ee.bottom)+ne});$o(O,de.scrollLeft,de.scrollTop)}function pa(O,M){if(Math.abs(O.doc.scrollTop-M)<2)return;b||Es(O,{top:M}),ca(O,M,!0),b&&Es(O),Uo(O,100)}function ca(O,M,ee){if(M=Math.max(0,Math.min(O.display.scroller.scrollHeight-O.display.scroller.clientHeight,M)),O.display.scroller.scrollTop==M&&!ee)return;O.doc.scrollTop=M,O.display.scrollbars.setScrollTop(M),O.display.scroller.scrollTop!=M&&(O.display.scroller.scrollTop=M)}function Ai(O,M,ee,ne){if(M=Math.max(0,Math.min(M,O.display.scroller.scrollWidth-O.display.scroller.clientWidth)),(ee?M==O.doc.scrollLeft:Math.abs(O.doc.scrollLeft-M)<2)&&!ne)return;O.doc.scrollLeft=M,Fs(O),O.display.scroller.scrollLeft!=M&&(O.display.scroller.scrollLeft=M),O.display.scrollbars.setScrollLeft(M)}function ba(O){var M=O.display,ee=M.gutters.offsetWidth,ne=Math.round(O.doc.height+Cn(O.display));return{clientHeight:M.scroller.clientHeight,viewHeight:M.wrapper.clientHeight,scrollWidth:M.scroller.scrollWidth,clientWidth:M.scroller.clientWidth,viewWidth:M.wrapper.clientWidth,barLeft:O.options.fixedGutter?ee:0,docHeight:ne,scrollHeight:ne+nn(O)+M.barHeight,nativeBarWidth:M.nativeBarWidth,gutterWidth:ee}}var $a=function(M,ee,ne){this.cm=ne;var de=this.vert=L("div",[L("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Be=this.horiz=L("div",[L("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");de.tabIndex=Be.tabIndex=-1,M(de),M(Be),Ne(de,"scroll",function(){de.clientHeight&&ee(de.scrollTop,"vertical")}),Ne(Be,"scroll",function(){Be.clientWidth&&ee(Be.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,l&&u<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};$a.prototype.update=function(O){var M=O.scrollWidth>O.clientWidth+1,ee=O.scrollHeight>O.clientHeight+1,ne=O.nativeBarWidth;if(ee){this.vert.style.display="block",this.vert.style.bottom=M?ne+"px":"0";var de=O.viewHeight-(M?ne:0);this.vert.firstChild.style.height=Math.max(0,O.scrollHeight-O.clientHeight+de)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(M){this.horiz.style.display="block",this.horiz.style.right=ee?ne+"px":"0",this.horiz.style.left=O.barLeft+"px";var Be=O.viewWidth-O.barLeft-(ee?ne:0);this.horiz.firstChild.style.width=Math.max(0,O.scrollWidth-O.clientWidth+Be)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&O.clientHeight>0&&(ne==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ee?ne:0,bottom:M?ne:0}},$a.prototype.setScrollLeft=function(O){this.horiz.scrollLeft!=O&&(this.horiz.scrollLeft=O),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},$a.prototype.setScrollTop=function(O){this.vert.scrollTop!=O&&(this.vert.scrollTop=O),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},$a.prototype.zeroWidthHack=function(){var O=p&&!s?"12px":"18px";this.horiz.style.height=this.vert.style.width=O,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new G,this.disableVert=new G},$a.prototype.enableZeroWidthBar=function(O,M,ee){O.style.pointerEvents="auto";function ne(){var de=O.getBoundingClientRect(),Be=ee=="vert"?document.elementFromPoint(de.right-1,(de.top+de.bottom)/2):document.elementFromPoint((de.right+de.left)/2,de.bottom-1);Be!=O?O.style.pointerEvents="none":M.set(1e3,ne)}M.set(1e3,ne)},$a.prototype.clear=function(){var O=this.horiz.parentNode;O.removeChild(this.horiz),O.removeChild(this.vert)};var ms=function(){};ms.prototype.update=function(){return{bottom:0,right:0}},ms.prototype.setScrollLeft=function(){},ms.prototype.setScrollTop=function(){},ms.prototype.clear=function(){};function Wo(O,M){M||(M=ba(O));var ee=O.display.barWidth,ne=O.display.barHeight;Rs(O,M);for(var de=0;de<4&&ee!=O.display.barWidth||ne!=O.display.barHeight;de++)ee!=O.display.barWidth&&O.options.lineWrapping&&yo(O),Rs(O,ba(O)),ee=O.display.barWidth,ne=O.display.barHeight}function Rs(O,M){var ee=O.display,ne=ee.scrollbars.update(M);ee.sizer.style.paddingRight=(ee.barWidth=ne.right)+"px",ee.sizer.style.paddingBottom=(ee.barHeight=ne.bottom)+"px",ee.heightForcer.style.borderBottom=ne.bottom+"px solid transparent",ne.right&&ne.bottom?(ee.scrollbarFiller.style.display="block",ee.scrollbarFiller.style.height=ne.bottom+"px",ee.scrollbarFiller.style.width=ne.right+"px"):ee.scrollbarFiller.style.display="",ne.bottom&&O.options.coverGutterNextToScrollbar&&O.options.fixedGutter?(ee.gutterFiller.style.display="block",ee.gutterFiller.style.height=ne.bottom+"px",ee.gutterFiller.style.width=M.gutterWidth+"px"):ee.gutterFiller.style.display=""}var Ms={native:$a,null:ms};function al(O){O.display.scrollbars&&(O.display.scrollbars.clear(),O.display.scrollbars.addClass&&_(O.display.wrapper,O.display.scrollbars.addClass)),O.display.scrollbars=new Ms[O.options.scrollbarStyle](function(M){O.display.wrapper.insertBefore(M,O.display.scrollbarFiller),Ne(M,"mousedown",function(){O.state.focused&&setTimeout(function(){return O.display.input.focus()},0)}),M.setAttribute("cm-not-content","true")},function(M,ee){ee=="horizontal"?Ai(O,M):pa(O,M)},O),O.display.scrollbars.addClass&&W(O.display.wrapper,O.display.scrollbars.addClass)}var gs=0;function Vo(O){O.curOp={cm:O,viewChanged:!1,startHeight:O.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:++gs},gr(O.curOp)}function Xo(O){var M=O.curOp;M&&Dr(M,function(ee){for(var ne=0;ne<ee.ops.length;ne++)ee.ops[ne].cm.curOp=null;el(ee)})}function el(O){for(var M=O.ops,ee=0;ee<M.length;ee++)js(M[ee]);for(var ne=0;ne<M.length;ne++)bo(M[ne]);for(var de=0;de<M.length;de++)wo(M[de]);for(var Be=0;Be<M.length;Be++)Wa(M[Be]);for(var ft=0;ft<M.length;ft++)Bo(M[ft])}function js(O){var M=O.cm,ee=M.display;Ga(M),O.updateMaxLine&&si(M),O.mustUpdate=O.viewChanged||O.forceUpdate||O.scrollTop!=null||O.scrollToPos&&(O.scrollToPos.from.line<ee.viewFrom||O.scrollToPos.to.line>=ee.viewTo)||ee.maxLineChanged&&M.options.lineWrapping,O.update=O.mustUpdate&&new Qn(M,O.mustUpdate&&{top:O.scrollTop,ensure:O.scrollToPos},O.forceUpdate)}function bo(O){O.updatedDisplay=O.mustUpdate&&Vs(O.cm,O.update)}function wo(O){var M=O.cm,ee=M.display;O.updatedDisplay&&yo(M),O.barMeasure=ba(M),ee.maxLineChanged&&!M.options.lineWrapping&&(O.adjustWidthTo=ui(M,ee.maxLine,ee.maxLine.text.length).left+3,M.display.sizerWidth=O.adjustWidthTo,O.barMeasure.scrollWidth=Math.max(ee.scroller.clientWidth,ee.sizer.offsetLeft+O.adjustWidthTo+nn(M)+M.display.barWidth),O.maxScrollLeft=Math.max(0,ee.sizer.offsetLeft+O.adjustWidthTo-Dn(M))),(O.updatedDisplay||O.selectionChanged)&&(O.preparedSelection=ee.input.prepareSelection())}function Wa(O){var M=O.cm;O.adjustWidthTo!=null&&(M.display.sizer.style.minWidth=O.adjustWidthTo+"px",O.maxScrollLeft<M.doc.scrollLeft&&Ai(M,Math.min(M.display.scroller.scrollLeft,O.maxScrollLeft),!0),M.display.maxLineChanged=!1);var ee=O.focus&&O.focus==P();O.preparedSelection&&M.display.input.showSelection(O.preparedSelection,ee),(O.updatedDisplay||O.startHeight!=M.doc.height)&&Wo(M,O.barMeasure),O.updatedDisplay&&_s(M,O.barMeasure),O.selectionChanged&&Na(M),M.state.focused&&O.updateInput&&M.display.input.reset(O.typing),ee&&po(O.cm)}function Bo(O){var M=O.cm,ee=M.display,ne=M.doc;if(O.updatedDisplay&&xs(M,O.update),ee.wheelStartX!=null&&(O.scrollTop!=null||O.scrollLeft!=null||O.scrollToPos)&&(ee.wheelStartX=ee.wheelStartY=null),O.scrollTop!=null&&ca(M,O.scrollTop,O.forceScroll),O.scrollLeft!=null&&Ai(M,O.scrollLeft,!0,!0),O.scrollToPos){var de=Za(M,Xt(ne,O.scrollToPos.from),Xt(ne,O.scrollToPos.to),O.scrollToPos.margin);to(M,de)}var Be=O.maybeHiddenMarkers,ft=O.maybeUnhiddenMarkers;if(Be)for(var Nt=0;Nt<Be.length;++Nt)Be[Nt].lines.length||vt(Be[Nt],"hide");if(ft)for(var Vt=0;Vt<ft.length;++Vt)ft[Vt].lines.length&&vt(ft[Vt],"unhide");ee.wrapper.offsetHeight&&(ne.scrollTop=M.display.scroller.scrollTop),O.changeObjs&&vt(M,"changes",M,O.changeObjs),O.update&&O.update.finish()}function No(O,M){if(O.curOp)return M();Vo(O);try{return M()}finally{Xo(O)}}function Do(O,M){return function(){if(O.curOp)return M.apply(O,arguments);Vo(O);try{return M.apply(O,arguments)}finally{Xo(O)}}}function Go(O){return function(){if(this.curOp)return O.apply(this,arguments);Vo(this);try{return O.apply(this,arguments)}finally{Xo(this)}}}function Po(O){return function(){var M=this.cm;if(!M||M.curOp)return O.apply(this,arguments);Vo(M);try{return O.apply(this,arguments)}finally{Xo(M)}}}function Uo(O,M){O.doc.highlightFrontier<O.display.viewTo&&O.state.highlight.set(M,H(Cr,O))}function Cr(O){var M=O.doc;if(M.highlightFrontier>=O.display.viewTo)return;var ee=+new Date+O.options.workTime,ne=In(O,M.highlightFrontier),de=[];M.iter(ne.line,Math.min(M.first+M.size,O.display.viewTo+500),function(Be){if(ne.line>=O.display.viewFrom){var ft=Be.styles,Nt=Be.text.length>O.options.maxHighlightLength?bt(M.mode,ne.state):null,Vt=Tn(O,Be,ne,!0);Nt&&(ne.state=Nt),Be.styles=Vt.styles;var Gt=Be.styleClasses,Fr=Vt.classes;Fr?Be.styleClasses=Fr:Gt&&(Be.styleClasses=null);for(var Jr=!ft||ft.length!=Be.styles.length||Gt!=Fr&&(!Gt||!Fr||Gt.bgClass!=Fr.bgClass||Gt.textClass!=Fr.textClass),pn=0;!Jr&&pn<ft.length;++pn)Jr=ft[pn]!=Be.styles[pn];Jr&&de.push(ne.line),Be.stateAfter=ne.save(),ne.nextLine()}else Be.text.length<=O.options.maxHighlightLength&&Fn(O,Be.text,ne),Be.stateAfter=ne.line%5==0?ne.save():null,ne.nextLine();if(+new Date>ee)return Uo(O,O.options.workDelay),!0}),M.highlightFrontier=ne.line,M.modeFrontier=Math.max(M.modeFrontier,ne.line),de.length&&No(O,function(){for(var Be=0;Be<de.length;Be++)Di(O,de[Be],"text")})}var Qn=function(M,ee,ne){var de=M.display;this.viewport=ee,this.visible=oo(de,M.doc,ee),this.editorIsHidden=!de.wrapper.offsetWidth,this.wrapperHeight=de.wrapper.clientHeight,this.wrapperWidth=de.wrapper.clientWidth,this.oldDisplayWidth=Dn(M),this.force=ne,this.dims=Ao(M),this.events=[]};Qn.prototype.signal=function(O,M){xt(O,M)&&this.events.push(arguments)},Qn.prototype.finish=function(){for(var O=0;O<this.events.length;O++)vt.apply(null,this.events[O])};function Ga(O){var M=O.display;!M.scrollbarsClipped&&M.scroller.offsetWidth&&(M.nativeBarWidth=M.scroller.offsetWidth-M.scroller.clientWidth,M.heightForcer.style.height=nn(O)+"px",M.sizer.style.marginBottom=-M.nativeBarWidth+"px",M.sizer.style.borderRightWidth=nn(O)+"px",M.scrollbarsClipped=!0)}function Mo(O){if(O.hasFocus())return null;var M=P();if(!M||!N(O.display.lineDiv,M))return null;var ee={activeElt:M};if(window.getSelection){var ne=window.getSelection();ne.anchorNode&&ne.extend&&N(O.display.lineDiv,ne.anchorNode)&&(ee.anchorNode=ne.anchorNode,ee.anchorOffset=ne.anchorOffset,ee.focusNode=ne.focusNode,ee.focusOffset=ne.focusOffset)}return ee}function Qo(O){if(!O||!O.activeElt||O.activeElt==P())return;if(O.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(O.activeElt.nodeName)&&O.anchorNode&&N(document.body,O.anchorNode)&&N(document.body,O.focusNode)){var M=window.getSelection(),ee=document.createRange();ee.setEnd(O.anchorNode,O.anchorOffset),ee.collapse(!1),M.removeAllRanges(),M.addRange(ee),M.extend(O.focusNode,O.focusOffset)}}function Vs(O,M){var ee=O.display,ne=O.doc;if(M.editorIsHidden)return ma(O),!1;if(!M.force&&M.visible.from>=ee.viewFrom&&M.visible.to<=ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo)&&ee.renderedView==ee.view&&wa(O)==0)return!1;wl(O)&&(ma(O),M.dims=Ao(O));var de=ne.first+ne.size,Be=Math.max(M.visible.from-O.options.viewportMargin,ne.first),ft=Math.min(de,M.visible.to+O.options.viewportMargin);ee.viewFrom<Be&&Be-ee.viewFrom<20&&(Be=Math.max(ne.first,ee.viewFrom)),ee.viewTo>ft&&ee.viewTo-ft<20&&(ft=Math.min(de,ee.viewTo)),Ve&&(Be=Vr(O.doc,Be),ft=ni(O.doc,ft));var Nt=Be!=ee.viewFrom||ft!=ee.viewTo||ee.lastWrapHeight!=M.wrapperHeight||ee.lastWrapWidth!=M.wrapperWidth;Aa(O,Be,ft),ee.viewOffset=bn(Fe(O.doc,ee.viewFrom)),O.display.mover.style.top=ee.viewOffset+"px";var Vt=wa(O);if(!Nt&&Vt==0&&!M.force&&ee.renderedView==ee.view&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo))return!1;var Gt=Mo(O);return Vt>4&&(ee.lineDiv.style.display="none"),vs(O,ee.updateLineNumbers,M.dims),Vt>4&&(ee.lineDiv.style.display=""),ee.renderedView=ee.view,Qo(Gt),E(ee.cursorDiv),E(ee.selectionDiv),ee.gutters.style.height=ee.sizer.style.minHeight=0,Nt&&(ee.lastWrapHeight=M.wrapperHeight,ee.lastWrapWidth=M.wrapperWidth,Uo(O,400)),ee.updateLineNumbers=null,!0}function xs(O,M){for(var ee=M.viewport,ne=!0;;ne=!1){if(!ne||!O.options.lineWrapping||M.oldDisplayWidth==Dn(O)){if(ee&&ee.top!=null&&(ee={top:Math.min(O.doc.height+Cn(O.display)-hn(O),ee.top)}),M.visible=oo(O.display,O.doc,ee),M.visible.from>=O.display.viewFrom&&M.visible.to<=O.display.viewTo)break}else ne&&(M.visible=oo(O.display,O.doc,ee));if(!Vs(O,M))break;yo(O);var de=ba(O);la(O),Wo(O,de),_s(O,de),M.force=!1}M.signal(O,"update",O),(O.display.viewFrom!=O.display.reportedViewFrom||O.display.viewTo!=O.display.reportedViewTo)&&(M.signal(O,"viewportChange",O,O.display.viewFrom,O.display.viewTo),O.display.reportedViewFrom=O.display.viewFrom,O.display.reportedViewTo=O.display.viewTo)}function Es(O,M){var ee=new Qn(O,M);if(Vs(O,ee)){yo(O),xs(O,ee);var ne=ba(O);la(O),Wo(O,ne),_s(O,ne),ee.finish()}}function vs(O,M,ee){var ne=O.display,de=O.options.lineNumbers,Be=ne.lineDiv,ft=Be.firstChild;function Nt(ci){var Si=ci.nextSibling;return o&&p&&O.display.currentWheelTarget==ci?ci.style.display="none":ci.parentNode.removeChild(ci),Si}for(var Vt=ne.view,Gt=ne.viewFrom,Fr=0;Fr<Vt.length;Fr++){var Jr=Vt[Fr];if(!Jr.hidden)if(!Jr.node||Jr.node.parentNode!=Be){var pn=tr(O,Jr,Gt,ee);Be.insertBefore(pn,ft)}else{for(;ft!=Jr.node;)ft=Nt(ft);var vn=de&&M!=null&&M<=Gt&&Jr.lineNumber;Jr.changes&&(z(Jr.changes,"gutter")>-1&&(vn=!1),mn(O,Jr,Gt,ee)),vn&&(E(Jr.lineNumber),Jr.lineNumber.appendChild(document.createTextNode($r(O.options,Gt)))),ft=Jr.node.nextSibling}Gt+=Jr.size}for(;ft;)ft=Nt(ft)}function Hs(O){var M=O.gutters.offsetWidth;O.sizer.style.marginLeft=M+"px"}function _s(O,M){O.display.sizer.style.minHeight=M.docHeight+"px",O.display.heightForcer.style.top=M.docHeight+"px",O.display.gutters.style.height=M.docHeight+O.display.barHeight+nn(O)+"px"}function Fs(O){var M=O.display,ee=M.view;if(!M.alignWidgets&&(!M.gutters.firstChild||!O.options.fixedGutter))return;for(var ne=ho(M)-M.scroller.scrollLeft+O.doc.scrollLeft,de=M.gutters.offsetWidth,Be=ne+"px",ft=0;ft<ee.length;ft++)if(!ee[ft].hidden){O.options.fixedGutter&&(ee[ft].gutter&&(ee[ft].gutter.style.left=Be),ee[ft].gutterBackground&&(ee[ft].gutterBackground.style.left=Be));var Nt=ee[ft].alignable;if(Nt)for(var Vt=0;Vt<Nt.length;Vt++)Nt[Vt].style.left=Be}O.options.fixedGutter&&(M.gutters.style.left=ne+de+"px")}function wl(O){if(!O.options.lineNumbers)return!1;var M=O.doc,ee=$r(O.options,M.first+M.size-1),ne=O.display;if(ee.length!=ne.lineNumChars){var de=ne.measure.appendChild(L("div",[L("div",ee)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Be=de.firstChild.offsetWidth,ft=de.offsetWidth-Be;return ne.lineGutter.style.width="",ne.lineNumInnerWidth=Math.max(Be,ne.lineGutter.offsetWidth-ft)+1,ne.lineNumWidth=ne.lineNumInnerWidth+ft,ne.lineNumChars=ne.lineNumInnerWidth?ee.length:-1,ne.lineGutter.style.width=ne.lineNumWidth+"px",Hs(O.display),!0}return!1}function ol(O,M){for(var ee=[],ne=!1,de=0;de<O.length;de++){var Be=O[de],ft=null;if(typeof Be!="string"&&(ft=Be.style,Be=Be.className),Be=="CodeMirror-linenumbers")if(M)ne=!0;else continue;ee.push({className:Be,style:ft})}return M&&!ne&&ee.push({className:"CodeMirror-linenumbers",style:null}),ee}function vl(O){var M=O.gutters,ee=O.gutterSpecs;E(M),O.lineGutter=null;for(var ne=0;ne<ee.length;++ne){var de=ee[ne],Be=de.className,ft=de.style,Nt=M.appendChild(L("div",null,"CodeMirror-gutter "+Be));ft&&(Nt.style.cssText=ft),Be=="CodeMirror-linenumbers"&&(O.lineGutter=Nt,Nt.style.width=(O.lineNumWidth||1)+"px")}M.style.display=ee.length?"":"none",Hs(O)}function ks(O){vl(O.display),Ci(O),Fs(O)}function us(O,M,ee,ne){var de=this;this.input=ee,de.scrollbarFiller=L("div",null,"CodeMirror-scrollbar-filler"),de.scrollbarFiller.setAttribute("cm-not-content","true"),de.gutterFiller=L("div",null,"CodeMirror-gutter-filler"),de.gutterFiller.setAttribute("cm-not-content","true"),de.lineDiv=D("div",null,"CodeMirror-code"),de.selectionDiv=L("div",null,null,"position: relative; z-index: 1"),de.cursorDiv=L("div",null,"CodeMirror-cursors"),de.measure=L("div",null,"CodeMirror-measure"),de.lineMeasure=L("div",null,"CodeMirror-measure"),de.lineSpace=D("div",[de.measure,de.lineMeasure,de.selectionDiv,de.cursorDiv,de.lineDiv],null,"position: relative; outline: none");var Be=D("div",[de.lineSpace],"CodeMirror-lines");de.mover=L("div",[Be],null,"position: relative"),de.sizer=L("div",[de.mover],"CodeMirror-sizer"),de.sizerWidth=null,de.heightForcer=L("div",null,null,"position: absolute; height: "+Y+"px; width: 1px;"),de.gutters=L("div",null,"CodeMirror-gutters"),de.lineGutter=null,de.scroller=L("div",[de.sizer,de.heightForcer,de.gutters],"CodeMirror-scroll"),de.scroller.setAttribute("tabIndex","-1"),de.wrapper=L("div",[de.scrollbarFiller,de.gutterFiller,de.scroller],"CodeMirror"),l&&u<8&&(de.gutters.style.zIndex=-1,de.scroller.style.paddingRight=0),!o&&!(b&&h)&&(de.scroller.draggable=!0),O&&(O.appendChild?O.appendChild(de.wrapper):O(de.wrapper)),de.viewFrom=de.viewTo=M.first,de.reportedViewFrom=de.reportedViewTo=M.first,de.view=[],de.renderedView=null,de.externalMeasured=null,de.viewOffset=0,de.lastWrapHeight=de.lastWrapWidth=0,de.updateLineNumbers=null,de.nativeBarWidth=de.barHeight=de.barWidth=0,de.scrollbarsClipped=!1,de.lineNumWidth=de.lineNumInnerWidth=de.lineNumChars=null,de.alignWidgets=!1,de.cachedCharWidth=de.cachedTextHeight=de.cachedPaddingH=null,de.maxLine=null,de.maxLineLength=0,de.maxLineChanged=!1,de.wheelDX=de.wheelDY=de.wheelStartX=de.wheelStartY=null,de.shift=!1,de.selForContextMenu=null,de.activeTouch=null,de.gutterSpecs=ol(ne.gutters,ne.lineNumbers),vl(de),ee.init(de)}var Et=0,Lt=null;l?Lt=-.53:b?Lt=15:n?Lt=-.7:r&&(Lt=-1/3);function Ur(O){var M=O.wheelDeltaX,ee=O.wheelDeltaY;return M==null&&O.detail&&O.axis==O.HORIZONTAL_AXIS&&(M=O.detail),ee==null&&O.detail&&O.axis==O.VERTICAL_AXIS?ee=O.detail:ee==null&&(ee=O.wheelDelta),{x:M,y:ee}}function un(O){var M=Ur(O);return M.x*=Lt,M.y*=Lt,M}function kn(O,M){var ee=Ur(M),ne=ee.x,de=ee.y,Be=O.display,ft=Be.scroller,Nt=ft.scrollWidth>ft.clientWidth,Vt=ft.scrollHeight>ft.clientHeight;if(!(ne&&Nt||de&&Vt))return;if(de&&p&&o){e:for(var Gt=M.target,Fr=Be.view;Gt!=ft;Gt=Gt.parentNode)for(var Jr=0;Jr<Fr.length;Jr++)if(Fr[Jr].node==Gt){O.display.currentWheelTarget=Gt;break e}}if(ne&&!b&&!i&&Lt!=null){de&&Vt&&pa(O,Math.max(0,ft.scrollTop+de*Lt)),Ai(O,Math.max(0,ft.scrollLeft+ne*Lt)),(!de||de&&Vt)&&Qe(M),Be.wheelStartX=null;return}if(de&&Lt!=null){var pn=de*Lt,vn=O.doc.scrollTop,ci=vn+Be.wrapper.clientHeight;pn<0?vn=Math.max(0,vn+pn-50):ci=Math.min(O.doc.height,ci+pn+50),Es(O,{top:vn,bottom:ci})}Et<20&&(Be.wheelStartX==null?(Be.wheelStartX=ft.scrollLeft,Be.wheelStartY=ft.scrollTop,Be.wheelDX=ne,Be.wheelDY=de,setTimeout(function(){if(Be.wheelStartX==null)return;var Si=ft.scrollLeft-Be.wheelStartX,Ri=ft.scrollTop-Be.wheelStartY,Ni=Ri&&Be.wheelDY&&Ri/Be.wheelDY||Si&&Be.wheelDX&&Si/Be.wheelDX;if(Be.wheelStartX=Be.wheelStartY=null,!Ni)return;Lt=(Lt*Et+Ni)/(Et+1),++Et},200)):(Be.wheelDX+=ne,Be.wheelDY+=de))}var gt=function(M,ee){this.ranges=M,this.primIndex=ee};gt.prototype.primary=function(){return this.ranges[this.primIndex]},gt.prototype.equals=function(O){if(O==this)return!0;if(O.primIndex!=this.primIndex||O.ranges.length!=this.ranges.length)return!1;for(var M=0;M<this.ranges.length;M++){var ee=this.ranges[M],ne=O.ranges[M];if(!Ft(ee.anchor,ne.anchor)||!Ft(ee.head,ne.head))return!1}return!0},gt.prototype.deepCopy=function(){for(var O=[],M=0;M<this.ranges.length;M++)O[M]=new ce(pr(this.ranges[M].anchor),pr(this.ranges[M].head));return new gt(O,this.primIndex)},gt.prototype.somethingSelected=function(){for(var O=0;O<this.ranges.length;O++)if(!this.ranges[O].empty())return!0;return!1},gt.prototype.contains=function(O,M){M||(M=O);for(var ee=0;ee<this.ranges.length;ee++){var ne=this.ranges[ee];if(Ot(M,ne.from())>=0&&Ot(O,ne.to())<=0)return ee}return-1};var ce=function(M,ee){this.anchor=M,this.head=ee};ce.prototype.from=function(){return Pr(this.anchor,this.head)},ce.prototype.to=function(){return Rr(this.anchor,this.head)},ce.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ve(O,M,ee){var ne=O&&O.options.selectionsMayTouch,de=M[ee];M.sort(function(pn,vn){return Ot(pn.from(),vn.from())}),ee=z(M,de);for(var Be=1;Be<M.length;Be++){var ft=M[Be],Nt=M[Be-1],Vt=Ot(Nt.to(),ft.from());if(ne&&!ft.empty()?Vt>0:Vt>=0){var Gt=Pr(Nt.from(),ft.from()),Fr=Rr(Nt.to(),ft.to()),Jr=Nt.empty()?ft.from()==ft.head:Nt.from()==Nt.head;Be<=ee&&--ee,M.splice(--Be,2,new ce(Jr?Fr:Gt,Jr?Gt:Fr))}}return new gt(M,ee)}function Ie(O,M){return new gt([new ce(O,M||O)],0)}function Ke(O){return O.text?Qt(O.from.line+O.text.length-1,De(O.text).length+(O.text.length==1?O.from.ch:0)):O.to}function mt(O,M){if(Ot(O,M.from)<0)return O;if(Ot(O,M.to)<=0)return Ke(M);var ee=O.line+M.text.length-(M.to.line-M.from.line)-1,ne=O.ch;return O.line==M.to.line&&(ne+=Ke(M).ch-M.to.ch),Qt(ee,ne)}function Pt(O,M){for(var ee=[],ne=0;ne<O.sel.ranges.length;ne++){var de=O.sel.ranges[ne];ee.push(new ce(mt(de.anchor,M),mt(de.head,M)))}return ve(O.cm,ee,O.sel.primIndex)}function lr(O,M,ee){return O.line==M.line?Qt(ee.line,O.ch-M.ch+ee.ch):Qt(ee.line+(O.line-M.line),O.ch)}function yr(O,M,ee){for(var ne=[],de=Qt(O.first,0),Be=de,ft=0;ft<M.length;ft++){var Nt=M[ft],Vt=lr(Nt.from,de,Be),Gt=lr(Ke(Nt),de,Be);if(de=Nt.to,Be=Gt,ee=="around"){var Fr=O.sel.ranges[ft],Jr=Ot(Fr.head,Fr.anchor)<0;ne[ft]=new ce(Jr?Gt:Vt,Jr?Vt:Gt)}else ne[ft]=new ce(Vt,Vt)}return new gt(ne,O.sel.primIndex)}function kr(O){O.doc.mode=ei(O.options,O.doc.modeOption),ln(O)}function ln(O){O.doc.iter(function(M){M.stateAfter&&(M.stateAfter=null),M.styles&&(M.styles=null)}),O.doc.modeFrontier=O.doc.highlightFrontier=O.doc.first,Uo(O,100),O.state.modeGen++,O.curOp&&Ci(O)}function En(O,M){return M.from.ch==0&&M.to.ch==0&&De(M.text)==""&&(!O.cm||O.cm.options.wholeLineUpdateBefore)}function oi(O,M,ee,ne){function de(Ii){return ee?ee[Ii]:null}function Be(Ii,Vi,ia){qr(Ii,Vi,ia,ne),Br(Ii,"change",Ii,M)}function ft(Ii,Vi){for(var ia=[],Ka=Ii;Ka<Vi;++Ka)ia.push(new Oi(Gt[Ka],de(Ka),ne));return ia}var Nt=M.from,Vt=M.to,Gt=M.text,Fr=Fe(O,Nt.line),Jr=Fe(O,Vt.line),pn=De(Gt),vn=de(Gt.length-1),ci=Vt.line-Nt.line;if(M.full)O.insert(0,ft(0,Gt.length)),O.remove(Gt.length,O.size-Gt.length);else if(En(O,M)){var Si=ft(0,Gt.length-1);Be(Jr,Jr.text,vn),ci&&O.remove(Nt.line,ci),Si.length&&O.insert(Nt.line,Si)}else if(Fr==Jr)if(Gt.length==1)Be(Fr,Fr.text.slice(0,Nt.ch)+pn+Fr.text.slice(Vt.ch),vn);else{var Ri=ft(1,Gt.length-1);Ri.push(new Oi(pn+Fr.text.slice(Vt.ch),vn,ne)),Be(Fr,Fr.text.slice(0,Nt.ch)+Gt[0],de(0)),O.insert(Nt.line+1,Ri)}else if(Gt.length==1)Be(Fr,Fr.text.slice(0,Nt.ch)+Gt[0]+Jr.text.slice(Vt.ch),de(0)),O.remove(Nt.line+1,ci);else{Be(Fr,Fr.text.slice(0,Nt.ch)+Gt[0],de(0)),Be(Jr,pn+Jr.text.slice(Vt.ch),vn);var Ni=ft(1,Gt.length-1);ci>1&&O.remove(Nt.line+1,ci-1),O.insert(Nt.line+1,Ni)}Br(O,"change",O,M)}function yi(O,M,ee){function ne(de,Be,ft){if(de.linked)for(var Nt=0;Nt<de.linked.length;++Nt){var Vt=de.linked[Nt];if(Vt.doc==Be)continue;var Gt=ft&&Vt.sharedHist;if(ee&&!Gt)continue;M(Vt.doc,Gt),ne(Vt.doc,de,Gt)}}ne(O,null,!0)}function Ti(O,M){if(M.cm)throw new Error("This document is already in use.");O.doc=M,M.cm=O,qa(O),kr(O),ji(O),O.options.lineWrapping||si(O),O.options.mode=M.modeOption,Ci(O)}function ji(O){(O.doc.direction=="rtl"?W:_)(O.display.lineDiv,"CodeMirror-rtl")}function na(O){No(O,function(){ji(O),Ci(O)})}function Pa(O){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=O||1}function Va(O,M){var ee={from:pr(M.from),to:Ke(M),text:it(O,M.from,M.to)};return is(O,ee,M.from.line,M.to.line+1),yi(O,function(ne){return is(ne,ee,M.from.line,M.to.line+1)},!0),ee}function Qa(O){for(;O.length;){var M=De(O);if(M.ranges)O.pop();else break}}function To(O,M){if(M)return Qa(O.done),De(O.done);if(O.done.length&&!De(O.done).ranges)return De(O.done);if(O.done.length>1&&!O.done[O.done.length-2].ranges)return O.done.pop(),De(O.done)}function eo(O,M,ee,ne){var de=O.history;de.undone.length=0;var Be=+new Date,ft,Nt;if((de.lastOp==ne||de.lastOrigin==M.origin&&M.origin&&(M.origin.charAt(0)=="+"&&de.lastModTime>Be-(O.cm?O.cm.options.historyEventDelay:500)||M.origin.charAt(0)=="*"))&&(ft=To(de,de.lastOp==ne)))Nt=De(ft.changes),Ot(M.from,M.to)==0&&Ot(M.from,Nt.to)==0?Nt.to=Ke(M):ft.changes.push(Va(O,M));else{var Vt=De(de.done);for((!Vt||!Vt.ranges)&&Oo(O.sel,de.done),ft={changes:[Va(O,M)],generation:de.generation},de.done.push(ft);de.done.length>de.undoDepth;)de.done.shift(),de.done[0].ranges||de.done.shift()}de.done.push(ee),de.generation=++de.maxGeneration,de.lastModTime=de.lastSelTime=Be,de.lastOp=de.lastSelOp=ne,de.lastOrigin=de.lastSelOrigin=M.origin,Nt||vt(O,"historyAdded")}function Io(O,M,ee,ne){var de=M.charAt(0);return de=="*"||de=="+"&&ee.ranges.length==ne.ranges.length&&ee.somethingSelected()==ne.somethingSelected()&&new Date-O.history.lastSelTime<=(O.cm?O.cm.options.historyEventDelay:500)}function Ha(O,M,ee,ne){var de=O.history,Be=ne&&ne.origin;ee==de.lastSelOp||Be&&de.lastSelOrigin==Be&&(de.lastModTime==de.lastSelTime&&de.lastOrigin==Be||Io(O,Be,De(de.done),M))?de.done[de.done.length-1]=M:Oo(M,de.done),de.lastSelTime=+new Date,de.lastSelOrigin=Be,de.lastSelOp=ee,ne&&ne.clearRedo!==!1&&Qa(de.undone)}function Oo(O,M){var ee=De(M);ee&&ee.ranges&&ee.equals(O)||M.push(O)}function is(O,M,ee,ne){var de=M["spans_"+O.id],Be=0;O.iter(Math.max(O.first,ee),Math.min(O.first+O.size,ne),function(ft){ft.markedSpans&&((de||(de=M["spans_"+O.id]={}))[Be]=ft.markedSpans),++Be})}function mo(O){if(!O)return null;for(var M,ee=0;ee<O.length;++ee)O[ee].marker.explicitlyCleared?M||(M=O.slice(0,ee)):M&&M.push(O[ee]);return M?M.length?M:null:O}function go(O,M){var ee=M["spans_"+O.id];if(!ee)return null;for(var ne=[],de=0;de<M.text.length;++de)ne.push(mo(ee[de]));return ne}function ss(O,M){var ee=go(O,M),ne=Nr(O,M);if(!ee)return ne;if(!ne)return ee;for(var de=0;de<ee.length;++de){var Be=ee[de],ft=ne[de];if(Be&&ft){e:for(var Nt=0;Nt<ft.length;++Nt){for(var Vt=ft[Nt],Gt=0;Gt<Be.length;++Gt)if(Be[Gt].marker==Vt.marker)continue e;Be.push(Vt)}}else ft&&(ee[de]=ft)}return ee}function ys(O,M,ee){for(var ne=[],de=0;de<O.length;++de){var Be=O[de];if(Be.ranges){ne.push(ee?gt.prototype.deepCopy.call(Be):Be);continue}var ft=Be.changes,Nt=[];ne.push({changes:Nt});for(var Vt=0;Vt<ft.length;++Vt){var Gt=ft[Vt],Fr=void 0;if(Nt.push({from:Gt.from,to:Gt.to,text:Gt.text}),M)for(var Jr in Gt)(Fr=Jr.match(/^spans_(\d+)$/))&&(z(M,Number(Fr[1]))>-1&&(De(Nt)[Jr]=Gt[Jr],delete Gt[Jr]))}}return ne}function Yo(O,M,ee,ne){if(ne){var de=O.anchor;if(ee){var Be=Ot(M,de)<0;Be!=Ot(ee,de)<0?(de=M,M=ee):Be!=Ot(M,ee)<0&&(M=ee)}return new ce(de,M)}else return new ce(ee||M,M)}function So(O,M,ee,ne,de){de==null&&(de=O.cm&&(O.cm.display.shift||O.extend)),Fo(O,new gt([Yo(O.sel.primary(),M,ee,de)],0),ne)}function Ks(O,M,ee){for(var ne=[],de=O.cm&&(O.cm.display.shift||O.extend),Be=0;Be<O.sel.ranges.length;Be++)ne[Be]=Yo(O.sel.ranges[Be],M[Be],null,de);var ft=ve(O.cm,ne,O.sel.primIndex);Fo(O,ft,ee)}function ls(O,M,ee,ne){var de=O.sel.ranges.slice(0);de[M]=ee,Fo(O,ve(O.cm,de,O.sel.primIndex),ne)}function sl(O,M,ee,ne){Fo(O,Ie(M,ee),ne)}function ll(O,M,ee){var ne={ranges:M.ranges,update:function(Be){this.ranges=[];for(var ft=0;ft<Be.length;ft++)this.ranges[ft]=new ce(Xt(O,Be[ft].anchor),Xt(O,Be[ft].head))},origin:ee&&ee.origin};return vt(O,"beforeSelectionChange",O,ne),O.cm&&vt(O.cm,"beforeSelectionChange",O.cm,ne),ne.ranges!=M.ranges?ve(O.cm,ne.ranges,ne.ranges.length-1):M}function bs(O,M,ee){var ne=O.history.done,de=De(ne);de&&de.ranges?(ne[ne.length-1]=M,Ui(O,M,ee)):Fo(O,M,ee)}function Fo(O,M,ee){Ui(O,M,ee),Ha(O,O.sel,O.cm?O.cm.curOp.id:NaN,ee)}function Ui(O,M,ee){(xt(O,"beforeSelectionChange")||O.cm&&xt(O.cm,"beforeSelectionChange"))&&(M=ll(O,M,ee));var ne=ee&&ee.bias||(Ot(M.primary().head,O.sel.primary().head)<0?-1:1);zs(O,As(O,M,ne,!0)),!(ee&&ee.scroll===!1)&&O.cm&&Co(O.cm)}function zs(O,M){if(M.equals(O.sel))return;O.sel=M,O.cm&&(O.cm.curOp.updateInput=1,O.cm.curOp.selectionChanged=!0,Ut(O.cm)),Br(O,"cursorActivity",O)}function tl(O){zs(O,As(O,O.sel,null,!1))}function As(O,M,ee,ne){for(var de,Be=0;Be<M.ranges.length;Be++){var ft=M.ranges[Be],Nt=M.ranges.length==O.sel.ranges.length&&O.sel.ranges[Be],Vt=fl(O,ft.anchor,Nt&&Nt.anchor,ee,ne),Gt=fl(O,ft.head,Nt&&Nt.head,ee,ne);(de||Vt!=ft.anchor||Gt!=ft.head)&&(de||(de=M.ranges.slice(0,Be)),de[Be]=new ce(Vt,Gt))}return de?ve(O.cm,de,M.primIndex):M}function Jo(O,M,ee,ne,de){var Be=Fe(O,M.line);if(Be.markedSpans)for(var ft=0;ft<Be.markedSpans.length;++ft){var Nt=Be.markedSpans[ft],Vt=Nt.marker,Gt="selectLeft"in Vt?!Vt.selectLeft:Vt.inclusiveLeft,Fr="selectRight"in Vt?!Vt.selectRight:Vt.inclusiveRight;if((Nt.from==null||(Gt?Nt.from<=M.ch:Nt.from<M.ch))&&(Nt.to==null||(Fr?Nt.to>=M.ch:Nt.to>M.ch))){if(de&&(vt(Vt,"beforeCursorEnter"),Vt.explicitlyCleared))if(Be.markedSpans){--ft;continue}else break;if(!Vt.atomic)continue;if(ee){var Jr=Vt.find(ne<0?1:-1),pn=void 0;if((ne<0?Fr:Gt)&&(Jr=rl(O,Jr,-ne,Jr&&Jr.line==M.line?Be:null)),Jr&&Jr.line==M.line&&(pn=Ot(Jr,ee))&&(ne<0?pn<0:pn>0))return Jo(O,Jr,M,ne,de)}var vn=Vt.find(ne<0?-1:1);return(ne<0?Gt:Fr)&&(vn=rl(O,vn,ne,vn.line==M.line?Be:null)),vn?Jo(O,vn,M,ne,de):null}}return M}function fl(O,M,ee,ne,de){var Be=ne||1,ft=Jo(O,M,ee,Be,de)||!de&&Jo(O,M,ee,Be,!0)||Jo(O,M,ee,-Be,de)||!de&&Jo(O,M,ee,-Be,!0);return ft||(O.cantEdit=!0,Qt(O.first,0))}function rl(O,M,ee,ne){return ee<0&&M.ch==0?M.line>O.first?Xt(O,Qt(M.line-1)):null:ee>0&&M.ch==(ne||Fe(O,M.line)).text.length?M.line<O.first+O.size-1?Qt(M.line+1,0):null:new Qt(M.line,M.ch+ee)}function Cs(O){O.setSelection(Qt(O.firstLine(),0),Qt(O.lastLine()),oe)}function Bs(O,M,ee){var ne={canceled:!1,from:M.from,to:M.to,text:M.text,origin:M.origin,cancel:function(){return ne.canceled=!0}};return ee&&(ne.update=function(de,Be,ft,Nt){de&&(ne.from=Xt(O,de)),Be&&(ne.to=Xt(O,Be)),ft&&(ne.text=ft),Nt!==void 0&&(ne.origin=Nt)}),vt(O,"beforeChange",O,ne),O.cm&&vt(O.cm,"beforeChange",O.cm,ne),ne.canceled?(O.cm&&(O.cm.curOp.updateInput=2),null):{from:ne.from,to:ne.to,text:ne.text,origin:ne.origin}}function Ts(O,M,ee){if(O.cm){if(!O.cm.curOp)return Do(O.cm,Ts)(O,M,ee);if(O.cm.state.suppressEdits)return}if((xt(O,"beforeChange")||O.cm&&xt(O.cm,"beforeChange"))&&(M=Bs(O,M,!0),!M))return;var ne=Je&&!ee&&Ir(O,M.from,M.to);if(ne)for(var de=ne.length-1;de>=0;--de)Is(O,{from:ne[de].from,to:ne[de].to,text:de?[""]:M.text,origin:M.origin});else Is(O,M)}function Is(O,M){if(M.text.length==1&&M.text[0]==""&&Ot(M.from,M.to)==0)return;var ee=Pt(O,M);eo(O,M,ee,O.cm?O.cm.curOp.id:NaN),Xs(O,M,ee,Nr(O,M));var ne=[];yi(O,function(de,Be){!Be&&z(ne,de.history)==-1&&(Ji(de.history,M),ne.push(de.history)),Xs(de,M,null,Nr(de,M))})}function cl(O,M,ee){var ne=O.cm&&O.cm.state.suppressEdits;if(ne&&!ee)return;for(var de=O.history,Be,ft=O.sel,Nt=M=="undo"?de.done:de.undone,Vt=M=="undo"?de.undone:de.done,Gt=0;Gt<Nt.length&&!(Be=Nt[Gt],ee?Be.ranges&&!Be.equals(O.sel):!Be.ranges);Gt++);if(Gt==Nt.length)return;for(de.lastOrigin=de.lastSelOrigin=null;;)if(Be=Nt.pop(),Be.ranges){if(Oo(Be,Vt),ee&&!Be.equals(O.sel)){Fo(O,Be,{clearRedo:!1});return}ft=Be}else if(ne){Nt.push(Be);return}else break;var Fr=[];Oo(ft,Vt),Vt.push({changes:Fr,generation:de.generation}),de.generation=Be.generation||++de.maxGeneration;for(var Jr=xt(O,"beforeChange")||O.cm&&xt(O.cm,"beforeChange"),pn=function(Ri){var Ni=Be.changes[Ri];if(Ni.origin=M,Jr&&!Bs(O,Ni,!1))return Nt.length=0,{};Fr.push(Va(O,Ni));var Ii=Ri?Pt(O,Ni):De(Nt);Xs(O,Ni,Ii,ss(O,Ni)),!Ri&&O.cm&&O.cm.scrollIntoView({from:Ni.from,to:Ke(Ni)});var Vi=[];yi(O,function(ia,Ka){!Ka&&z(Vi,ia.history)==-1&&(Ji(ia.history,Ni),Vi.push(ia.history)),Xs(ia,Ni,null,ss(ia,Ni))})},vn=Be.changes.length-1;vn>=0;--vn){var ci=pn(vn);if(ci)return ci.v}}function Os(O,M){if(M==0)return;if(O.first+=M,O.sel=new gt(Xe(O.sel.ranges,function(de){return new ce(Qt(de.anchor.line+M,de.anchor.ch),Qt(de.head.line+M,de.head.ch))}),O.sel.primIndex),O.cm){Ci(O.cm,O.first,O.first-M,M);for(var ee=O.cm.display,ne=ee.viewFrom;ne<ee.viewTo;ne++)Di(O.cm,ne,"gutter")}}function Xs(O,M,ee,ne){if(O.cm&&!O.cm.curOp)return Do(O.cm,Xs)(O,M,ee,ne);if(M.to.line<O.first){Os(O,M.text.length-1-(M.to.line-M.from.line));return}if(M.from.line>O.lastLine())return;if(M.from.line<O.first){var de=M.text.length-1-(O.first-M.from.line);Os(O,de),M={from:Qt(O.first,0),to:Qt(M.to.line+de,M.to.ch),text:[De(M.text)],origin:M.origin}}var Be=O.lastLine();M.to.line>Be&&(M={from:M.from,to:Qt(Be,Fe(O,Be).text.length),text:[M.text[0]],origin:M.origin}),M.removed=it(O,M.from,M.to),ee||(ee=Pt(O,M)),O.cm?Gs(O.cm,M,ne):oi(O,M,ne),Ui(O,ee,oe),O.cantEdit&&fl(O,Qt(O.firstLine(),0))&&(O.cantEdit=!1)}function Gs(O,M,ee){var ne=O.doc,de=O.display,Be=M.from,ft=M.to,Nt=!1,Vt=Be.line;O.options.lineWrapping||(Vt=sr(en(Fe(ne,Be.line))),ne.iter(Vt,ft.line+1,function(vn){if(vn==de.maxLine)return Nt=!0,!0})),ne.sel.contains(M.from,M.to)>-1&&Ut(O),oi(ne,M,ee,ro(O)),O.options.lineWrapping||(ne.iter(Vt,Be.line+M.text.length,function(vn){var ci=wi(vn);ci>de.maxLineLength&&(de.maxLine=vn,de.maxLineLength=ci,de.maxLineChanged=!0,Nt=!1)}),Nt&&(O.curOp.updateMaxLine=!0)),je(ne,Be.line),Uo(O,400);var Gt=M.text.length-(ft.line-Be.line)-1;M.full?Ci(O):Be.line==ft.line&&M.text.length==1&&!En(O.doc,M)?Di(O,Be.line,"text"):Ci(O,Be.line,ft.line+1,Gt);var Fr=xt(O,"changes"),Jr=xt(O,"change");if(Jr||Fr){var pn={from:Be,to:ft,text:M.text,removed:M.removed,origin:M.origin};Jr&&Br(O,"change",O,pn),Fr&&(O.curOp.changeObjs||(O.curOp.changeObjs=[])).push(pn)}O.display.selForContextMenu=null}function Qs(O,M,ee,ne,de){var Be;ne||(ne=ee),Ot(ne,ee)<0&&(Be=[ne,ee],ee=Be[0],ne=Be[1]),typeof M=="string"&&(M=O.splitLines(M)),Ts(O,{from:ee,to:ne,text:M,origin:de})}function Sa(O,M,ee,ne){ee<O.line?O.line+=ne:M<O.line&&(O.line=M,O.ch=0)}function Li(O,M,ee,ne){for(var de=0;de<O.length;++de){var Be=O[de],ft=!0;if(Be.ranges){Be.copied||(Be=O[de]=Be.deepCopy(),Be.copied=!0);for(var Nt=0;Nt<Be.ranges.length;Nt++)Sa(Be.ranges[Nt].anchor,M,ee,ne),Sa(Be.ranges[Nt].head,M,ee,ne);continue}for(var Vt=0;Vt<Be.changes.length;++Vt){var Gt=Be.changes[Vt];if(ee<Gt.from.line)Gt.from=Qt(Gt.from.line+ne,Gt.from.ch),Gt.to=Qt(Gt.to.line+ne,Gt.to.ch);else if(M<=Gt.to.line){ft=!1;break}}ft||(O.splice(0,de+1),de=0)}}function Ji(O,M){var ee=M.from.line,ne=M.to.line,de=M.text.length-(ne-ee)-1;Li(O.done,ee,ne,de),Li(O.undone,ee,ne,de)}function Ea(O,M,ee,ne){var de=M,Be=M;return typeof M=="number"?Be=Fe(O,an(O,M)):de=sr(M),de==null?null:(ne(Be,de)&&O.cm&&Di(O.cm,de,ee),Be)}function co(O){this.lines=O,this.parent=null;for(var M=0,ee=0;ee<O.length;++ee)O[ee].parent=this,M+=O[ee].height;this.height=M}co.prototype={chunkSize:function(){return this.lines.length},removeInner:function(M,ee){for(var ne=M,de=M+ee;ne<de;++ne){var Be=this.lines[ne];this.height-=Be.height,Sr(Be),Br(Be,"delete")}this.lines.splice(M,ee)},collapse:function(M){M.push.apply(M,this.lines)},insertInner:function(M,ee,ne){this.height+=ne,this.lines=this.lines.slice(0,M).concat(ee).concat(this.lines.slice(M));for(var de=0;de<ee.length;++de)ee[de].parent=this},iterN:function(M,ee,ne){for(var de=M+ee;M<de;++M)if(ne(this.lines[M]))return!0}};function Ps(O){this.children=O;for(var M=0,ee=0,ne=0;ne<O.length;++ne){var de=O[ne];M+=de.chunkSize(),ee+=de.height,de.parent=this}this.size=M,this.height=ee,this.parent=null}Ps.prototype={chunkSize:function(){return this.size},removeInner:function(M,ee){this.size-=ee;for(var ne=0;ne<this.children.length;++ne){var de=this.children[ne],Be=de.chunkSize();if(M<Be){var ft=Math.min(ee,Be-M),Nt=de.height;if(de.removeInner(M,ft),this.height-=Nt-de.height,Be==ft&&(this.children.splice(ne--,1),de.parent=null),(ee-=ft)==0)break;M=0}else M-=Be}if(this.size-ee<25&&(this.children.length>1||!(this.children[0]instanceof co))){var Vt=[];this.collapse(Vt),this.children=[new co(Vt)],this.children[0].parent=this}},collapse:function(M){for(var ee=0;ee<this.children.length;++ee)this.children[ee].collapse(M)},insertInner:function(M,ee,ne){this.size+=ee.length,this.height+=ne;for(var de=0;de<this.children.length;++de){var Be=this.children[de],ft=Be.chunkSize();if(M<=ft){if(Be.insertInner(M,ee,ne),Be.lines&&Be.lines.length>50){for(var Nt=Be.lines.length%25+25,Vt=Nt;Vt<Be.lines.length;){var Gt=new co(Be.lines.slice(Vt,Vt+=25));Be.height-=Gt.height,this.children.splice(++de,0,Gt),Gt.parent=this}Be.lines=Be.lines.slice(0,Nt),this.maybeSpill()}break}M-=ft}},maybeSpill:function(){if(this.children.length<=10)return;var M=this;do{var ee=M.children.splice(M.children.length-5,5),ne=new Ps(ee);if(M.parent){M.size-=ne.size,M.height-=ne.height;var Be=z(M.parent.children,M);M.parent.children.splice(Be+1,0,ne)}else{var de=new Ps(M.children);de.parent=M,M.children=[de,ne],M=de}ne.parent=M.parent}while(M.children.length>10);M.parent.maybeSpill()},iterN:function(M,ee,ne){for(var de=0;de<this.children.length;++de){var Be=this.children[de],ft=Be.chunkSize();if(M<ft){var Nt=Math.min(ee,ft-M);if(Be.iterN(M,Nt,ne))return!0;if((ee-=Nt)==0)break;M=0}else M-=ft}}};var ws=function(M,ee,ne){if(ne)for(var de in ne)ne.hasOwnProperty(de)&&(this[de]=ne[de]);this.doc=M,this.node=ee};ws.prototype.clear=function(){var O=this.doc.cm,M=this.line.widgets,ee=this.line,ne=sr(ee);if(ne==null||!M)return;for(var de=0;de<M.length;++de)M[de]==this&&M.splice(de--,1);M.length||(ee.widgets=null);var Be=Qr(this);nr(ee,Math.max(0,ee.height-Be)),O&&(No(O,function(){Ws(O,ee,-Be),Di(O,ne,"widget")}),Br(O,"lineWidgetCleared",O,this,ne))},ws.prototype.changed=function(){var O=this,M=this.height,ee=this.doc.cm,ne=this.line;this.height=null;var de=Qr(this)-M;if(!de)return;Hn(this.doc,ne)||nr(ne,ne.height+de),ee&&No(ee,function(){ee.curOp.forceUpdate=!0,Ws(ee,ne,de),Br(ee,"lineWidgetChanged",ee,O,sr(ne))})},Bt(ws);function Ws(O,M,ee){bn(M)<(O.curOp&&O.curOp.scrollTop||O.doc.scrollTop)&&Da(O,ee)}function Ys(O,M,ee,ne){var de=new ws(O,ee,ne),Be=O.cm;return Be&&de.noHScroll&&(Be.display.alignWidgets=!0),Ea(O,M,"widget",function(ft){var Nt=ft.widgets||(ft.widgets=[]);if(de.insertAt==null?Nt.push(de):Nt.splice(Math.min(Nt.length-1,Math.max(0,de.insertAt)),0,de),de.line=ft,Be&&!Hn(O,ft)){var Vt=bn(ft)<O.scrollTop;nr(ft,ft.height+Qr(de)),Vt&&Da(Be,de.height),Be.curOp.forceUpdate=!0}return!0}),Be&&Br(Be,"lineWidgetAdded",Be,de,typeof M=="number"?M:sr(M)),de}var pl=0,Ls=function(M,ee){this.lines=[],this.type=ee,this.doc=M,this.id=++pl};Ls.prototype.clear=function(){if(this.explicitlyCleared)return;var O=this.doc.cm,M=O&&!O.curOp;if(M&&Vo(O),xt(this,"clear")){var ee=this.find();ee&&Br(this,"clear",ee.from,ee.to)}for(var ne=null,de=null,Be=0;Be<this.lines.length;++Be){var ft=this.lines[Be],Nt=Kt(ft.markedSpans,this);O&&!this.collapsed?Di(O,sr(ft),"text"):O&&(Nt.to!=null&&(de=sr(ft)),Nt.from!=null&&(ne=sr(ft))),ft.markedSpans=$t(ft.markedSpans,Nt),Nt.from==null&&this.collapsed&&!Hn(this.doc,ft)&&O&&nr(ft,Ua(O.display))}if(O&&this.collapsed&&!O.options.lineWrapping)for(var Vt=0;Vt<this.lines.length;++Vt){var Gt=en(this.lines[Vt]),Fr=wi(Gt);Fr>O.display.maxLineLength&&(O.display.maxLine=Gt,O.display.maxLineLength=Fr,O.display.maxLineChanged=!0)}ne!=null&&O&&this.collapsed&&Ci(O,ne,de+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,O&&tl(O.doc)),O&&Br(O,"markerCleared",O,this,ne,de),M&&Xo(O),this.parent&&this.parent.clear()},Ls.prototype.find=function(O,M){O==null&&this.type=="bookmark"&&(O=1);for(var ee,ne,de=0;de<this.lines.length;++de){var Be=this.lines[de],ft=Kt(Be.markedSpans,this);if(ft.from!=null&&(ee=Qt(M?Be:sr(Be),ft.from),O==-1))return ee;if(ft.to!=null&&(ne=Qt(M?Be:sr(Be),ft.to),O==1))return ne}return ee&&{from:ee,to:ne}},Ls.prototype.changed=function(){var O=this,M=this.find(-1,!0),ee=this,ne=this.doc.cm;if(!M||!ne)return;No(ne,function(){var de=M.line,Be=sr(M.line),ft=gi(ne,Be);if(ft&&(Zi(ft),ne.curOp.selectionChanged=ne.curOp.forceUpdate=!0),ne.curOp.updateMaxLine=!0,!Hn(ee.doc,de)&&ee.height!=null){var Nt=ee.height;ee.height=null;var Vt=Qr(ee)-Nt;Vt&&nr(de,de.height+Vt)}Br(ne,"markerChanged",ne,O)})},Ls.prototype.attachLine=function(O){if(!this.lines.length&&this.doc.cm){var M=this.doc.cm.curOp;(!M.maybeHiddenMarkers||z(M.maybeHiddenMarkers,this)==-1)&&(M.maybeUnhiddenMarkers||(M.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(O)},Ls.prototype.detachLine=function(O){if(this.lines.splice(z(this.lines,O),1),!this.lines.length&&this.doc.cm){var M=this.doc.cm.curOp;(M.maybeHiddenMarkers||(M.maybeHiddenMarkers=[])).push(this)}},Bt(Ls);function hs(O,M,ee,ne,de){if(ne&&ne.shared)return kc(O,M,ee,ne,de);if(O.cm&&!O.cm.curOp)return Do(O.cm,hs)(O,M,ee,ne,de);var Be=new Ls(O,de),ft=Ot(M,ee);if(ne&&K(ne,Be,!1),ft>0||ft==0&&Be.clearWhenEmpty!==!1)return Be;if(Be.replacedWith&&(Be.collapsed=!0,Be.widgetNode=D("span",[Be.replacedWith],"CodeMirror-widget"),ne.handleMouseEvents||Be.widgetNode.setAttribute("cm-ignore-events","true"),ne.insertLeft&&(Be.widgetNode.insertLeft=!0)),Be.collapsed){if(mi(O,M.line,M,ee,Be)||M.line!=ee.line&&mi(O,ee.line,M,ee,Be))throw new Error("Inserting collapsed marker partially overlapping an existing one");At()}Be.addToHistory&&eo(O,{from:M,to:ee,origin:"markText"},O.sel,NaN);var Nt=M.line,Vt=O.cm,Gt;if(O.iter(Nt,ee.line+1,function(Jr){Vt&&Be.collapsed&&!Vt.options.lineWrapping&&en(Jr)==Vt.display.maxLine&&(Gt=!0),Be.collapsed&&Nt!=M.line&&nr(Jr,0),er(Jr,new dt(Be,Nt==M.line?M.ch:null,Nt==ee.line?ee.ch:null)),++Nt}),Be.collapsed&&O.iter(M.line,ee.line+1,function(Jr){Hn(O,Jr)&&nr(Jr,0)}),Be.clearOnEnter&&Ne(Be,"beforeCursorEnter",function(){return Be.clear()}),Be.readOnly&&(Ze(),(O.history.done.length||O.history.undone.length)&&O.clearHistory()),Be.collapsed&&(Be.id=++pl,Be.atomic=!0),Vt){if(Gt&&(Vt.curOp.updateMaxLine=!0),Be.collapsed)Ci(Vt,M.line,ee.line+1);else if(Be.className||Be.startStyle||Be.endStyle||Be.css||Be.attributes||Be.title)for(var Fr=M.line;Fr<=ee.line;Fr++)Di(Vt,Fr,"text");Be.atomic&&tl(Vt.doc),Br(Vt,"markerAdded",Vt,Be)}return Be}var Ul=function(M,ee){this.markers=M,this.primary=ee;for(var ne=0;ne<M.length;++ne)M[ne].parent=this};Ul.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var O=0;O<this.markers.length;++O)this.markers[O].clear();Br(this,"clear")},Ul.prototype.find=function(O,M){return this.primary.find(O,M)},Bt(Ul);function kc(O,M,ee,ne,de){ne=K(ne),ne.shared=!1;var Be=[hs(O,M,ee,ne,de)],ft=Be[0],Nt=ne.widgetNode;return yi(O,function(Vt){Nt&&(ne.widgetNode=Nt.cloneNode(!0)),Be.push(hs(Vt,Xt(Vt,M),Xt(Vt,ee),ne,de));for(var Gt=0;Gt<Vt.linked.length;++Gt)if(Vt.linked[Gt].isParent)return;ft=De(Be)}),new Ul(Be,ft)}function wc(O){return O.findMarks(Qt(O.first,0),O.clipPos(Qt(O.lastLine())),function(M){return M.parent})}function Bc(O,M){for(var ee=0;ee<M.length;ee++){var ne=M[ee],de=ne.find(),Be=O.clipPos(de.from),ft=O.clipPos(de.to);if(Ot(Be,ft)){var Nt=hs(O,Be,ft,ne.primary,ne.primary.type);ne.markers.push(Nt),Nt.parent=ne}}}function Pc(O){for(var M=function(de){var Be=O[de],ft=[Be.primary.doc];yi(Be.primary.doc,function(Gt){return ft.push(Gt)});for(var Nt=0;Nt<Be.markers.length;Nt++){var Vt=Be.markers[Nt];z(ft,Vt.doc)==-1&&(Vt.parent=null,Be.markers.splice(Nt--,1))}},ee=0;ee<O.length;ee++)M(ee)}var Dl=0,Zs=function O(M,ee,ne,de,Be){if(!(this instanceof O))return new O(M,ee,ne,de,Be);ne==null&&(ne=0),Ps.call(this,[new co([new Oi("",null)])]),this.first=ne,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ne;var ft=Qt(ne,0);this.sel=Ie(ft),this.history=new Pa(null),this.id=++Dl,this.modeOption=ee,this.lineSep=de,this.direction=Be=="rtl"?"rtl":"ltr",this.extend=!1,typeof M=="string"&&(M=this.splitLines(M)),oi(this,{from:ft,to:ft,text:M}),Fo(this,Ie(ft),oe)};Zs.prototype=qe(Ps.prototype,{constructor:Zs,iter:function(M,ee,ne){ne?this.iterN(M-this.first,ee-M,ne):this.iterN(this.first,this.first+this.size,M)},insert:function(M,ee){for(var ne=0,de=0;de<ee.length;++de)ne+=ee[de].height;this.insertInner(M-this.first,ee,ne)},remove:function(M,ee){this.removeInner(M-this.first,ee)},getValue:function(M){var ee=wt(this,this.first,this.first+this.size);return M===!1?ee:ee.join(M||this.lineSeparator())},setValue:Po(function(O){var M=Qt(this.first,0),ee=this.first+this.size-1;Ts(this,{from:M,to:Qt(ee,Fe(this,ee).text.length),text:this.splitLines(O),origin:"setValue",full:!0},!0),this.cm&&$o(this.cm,0,0),Fo(this,Ie(M),oe)}),replaceRange:function(M,ee,ne,de){ee=Xt(this,ee),ne=ne?Xt(this,ne):ee,Qs(this,M,ee,ne,de)},getRange:function(M,ee,ne){var de=it(this,Xt(this,M),Xt(this,ee));return ne===!1?de:de.join(ne||this.lineSeparator())},getLine:function(M){var ee=this.getLineHandle(M);return ee&&ee.text},getLineHandle:function(M){if(Hr(this,M))return Fe(this,M)},getLineNumber:function(M){return sr(M)},getLineHandleVisualStart:function(M){return typeof M=="number"&&(M=Fe(this,M)),en(M)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(M){return Xt(this,M)},getCursor:function(M){var ee=this.sel.primary(),ne;return M==null||M=="head"?ne=ee.head:M=="anchor"?ne=ee.anchor:M=="end"||M=="to"||M===!1?ne=ee.to():ne=ee.from(),ne},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Po(function(O,M,ee){sl(this,Xt(this,typeof O=="number"?Qt(O,M||0):O),null,ee)}),setSelection:Po(function(O,M,ee){sl(this,Xt(this,O),Xt(this,M||O),ee)}),extendSelection:Po(function(O,M,ee){So(this,Xt(this,O),M&&Xt(this,M),ee)}),extendSelections:Po(function(O,M){Ks(this,Tr(this,O),M)}),extendSelectionsBy:Po(function(O,M){var ee=Xe(this.sel.ranges,O);Ks(this,Tr(this,ee),M)}),setSelections:Po(function(O,M,ee){if(!O.length)return;for(var ne=[],de=0;de<O.length;de++)ne[de]=new ce(Xt(this,O[de].anchor),Xt(this,O[de].head));M==null&&(M=Math.min(O.length-1,this.sel.primIndex)),Fo(this,ve(this.cm,ne,M),ee)}),addSelection:Po(function(O,M,ee){var ne=this.sel.ranges.slice(0);ne.push(new ce(Xt(this,O),Xt(this,M||O))),Fo(this,ve(this.cm,ne,ne.length-1),ee)}),getSelection:function(M){for(var ee=this.sel.ranges,ne,de=0;de<ee.length;de++){var Be=it(this,ee[de].from(),ee[de].to());ne=ne?ne.concat(Be):Be}return M===!1?ne:ne.join(M||this.lineSeparator())},getSelections:function(M){for(var ee=[],ne=this.sel.ranges,de=0;de<ne.length;de++){var Be=it(this,ne[de].from(),ne[de].to());M!==!1&&(Be=Be.join(M||this.lineSeparator())),ee[de]=Be}return ee},replaceSelection:function(M,ee,ne){for(var de=[],Be=0;Be<this.sel.ranges.length;Be++)de[Be]=M;this.replaceSelections(de,ee,ne||"+input")},replaceSelections:Po(function(O,M,ee){for(var ne=[],de=this.sel,Be=0;Be<de.ranges.length;Be++){var ft=de.ranges[Be];ne[Be]={from:ft.from(),to:ft.to(),text:this.splitLines(O[Be]),origin:ee}}for(var Nt=M&&M!="end"&&yr(this,ne,M),Vt=ne.length-1;Vt>=0;Vt--)Ts(this,ne[Vt]);Nt?bs(this,Nt):this.cm&&Co(this.cm)}),undo:Po(function(){cl(this,"undo")}),redo:Po(function(){cl(this,"redo")}),undoSelection:Po(function(){cl(this,"undo",!0)}),redoSelection:Po(function(){cl(this,"redo",!0)}),setExtending:function(M){this.extend=M},getExtending:function(){return this.extend},historySize:function(){for(var M=this.history,ee=0,ne=0,de=0;de<M.done.length;de++)M.done[de].ranges||++ee;for(var Be=0;Be<M.undone.length;Be++)M.undone[Be].ranges||++ne;return{undo:ee,redo:ne}},clearHistory:function(){var M=this;this.history=new Pa(this.history.maxGeneration),yi(this,function(ee){return ee.history=M.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(M){return M&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(M){return this.history.generation==(M||this.cleanGeneration)},getHistory:function(){return{done:ys(this.history.done),undone:ys(this.history.undone)}},setHistory:function(M){var ee=this.history=new Pa(this.history.maxGeneration);ee.done=ys(M.done.slice(0),null,!0),ee.undone=ys(M.undone.slice(0),null,!0)},setGutterMarker:Po(function(O,M,ee){return Ea(this,O,"gutter",function(ne){var de=ne.gutterMarkers||(ne.gutterMarkers={});return de[M]=ee,!ee&&Z(de)&&(ne.gutterMarkers=null),!0})}),clearGutter:Po(function(O){var M=this;this.iter(function(ee){ee.gutterMarkers&&ee.gutterMarkers[O]&&Ea(M,ee,"gutter",function(){return ee.gutterMarkers[O]=null,Z(ee.gutterMarkers)&&(ee.gutterMarkers=null),!0})})}),lineInfo:function(M){var ee;if(typeof M=="number"){if(!Hr(this,M))return null;if(ee=M,M=Fe(this,M),!M)return null}else if(ee=sr(M),ee==null)return null;return{line:ee,handle:M,text:M.text,gutterMarkers:M.gutterMarkers,textClass:M.textClass,bgClass:M.bgClass,wrapClass:M.wrapClass,widgets:M.widgets}},addLineClass:Po(function(O,M,ee){return Ea(this,O,M=="gutter"?"gutter":"class",function(ne){var de=M=="text"?"textClass":M=="background"?"bgClass":M=="gutter"?"gutterClass":"wrapClass";if(!ne[de])ne[de]=ee;else{if(T(ee).test(ne[de]))return!1;ne[de]+=" "+ee}return!0})}),removeLineClass:Po(function(O,M,ee){return Ea(this,O,M=="gutter"?"gutter":"class",function(ne){var de=M=="text"?"textClass":M=="background"?"bgClass":M=="gutter"?"gutterClass":"wrapClass",Be=ne[de];if(Be)if(ee==null)ne[de]=null;else{var ft=Be.match(T(ee));if(!ft)return!1;var Nt=ft.index+ft[0].length;ne[de]=Be.slice(0,ft.index)+(!ft.index||Nt==Be.length?"":" ")+Be.slice(Nt)||null}else return!1;return!0})}),addLineWidget:Po(function(O,M,ee){return Ys(this,O,M,ee)}),removeLineWidget:function(M){M.clear()},markText:function(M,ee,ne){return hs(this,Xt(this,M),Xt(this,ee),ne,ne&&ne.type||"range")},setBookmark:function(M,ee){var ne={replacedWith:ee&&(ee.nodeType==null?ee.widget:ee),insertLeft:ee&&ee.insertLeft,clearWhenEmpty:!1,shared:ee&&ee.shared,handleMouseEvents:ee&&ee.handleMouseEvents};return M=Xt(this,M),hs(this,M,M,ne,"bookmark")},findMarksAt:function(M){M=Xt(this,M);var ee=[],ne=Fe(this,M.line).markedSpans;if(ne)for(var de=0;de<ne.length;++de){var Be=ne[de];(Be.from==null||Be.from<=M.ch)&&(Be.to==null||Be.to>=M.ch)&&ee.push(Be.marker.parent||Be.marker)}return ee},findMarks:function(M,ee,ne){M=Xt(this,M),ee=Xt(this,ee);var de=[],Be=M.line;return this.iter(M.line,ee.line+1,function(ft){var Nt=ft.markedSpans;if(Nt)for(var Vt=0;Vt<Nt.length;Vt++){var Gt=Nt[Vt];!(Gt.to!=null&&Be==M.line&&M.ch>=Gt.to||Gt.from==null&&Be!=M.line||Gt.from!=null&&Be==ee.line&&Gt.from>=ee.ch)&&(!ne||ne(Gt.marker))&&de.push(Gt.marker.parent||Gt.marker)}++Be}),de},getAllMarks:function(){var M=[];return this.iter(function(ee){var ne=ee.markedSpans;if(ne)for(var de=0;de<ne.length;++de)ne[de].from!=null&&M.push(ne[de].marker)}),M},posFromIndex:function(M){var ee,ne=this.first,de=this.lineSeparator().length;return this.iter(function(Be){var ft=Be.text.length+de;if(ft>M)return ee=M,!0;M-=ft,++ne}),Xt(this,Qt(ne,ee))},indexFromPos:function(M){M=Xt(this,M);var ee=M.ch;if(M.line<this.first||M.ch<0)return 0;var ne=this.lineSeparator().length;return this.iter(this.first,M.line,function(de){ee+=de.text.length+ne}),ee},copy:function(M){var ee=new Zs(wt(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return ee.scrollTop=this.scrollTop,ee.scrollLeft=this.scrollLeft,ee.sel=this.sel,ee.extend=!1,M&&(ee.history.undoDepth=this.history.undoDepth,ee.setHistory(this.getHistory())),ee},linkedDoc:function(M){M||(M={});var ee=this.first,ne=this.first+this.size;M.from!=null&&M.from>ee&&(ee=M.from),M.to!=null&&M.to<ne&&(ne=M.to);var de=new Zs(wt(this,ee,ne),M.mode||this.modeOption,ee,this.lineSep,this.direction);return M.sharedHist&&(de.history=this.history),(this.linked||(this.linked=[])).push({doc:de,sharedHist:M.sharedHist}),de.linked=[{doc:this,isParent:!0,sharedHist:M.sharedHist}],Bc(de,wc(this)),de},unlinkDoc:function(M){if(M instanceof rr&&(M=M.doc),this.linked)for(var ee=0;ee<this.linked.length;++ee){var ne=this.linked[ee];if(ne.doc!=M)continue;this.linked.splice(ee,1),M.unlinkDoc(this),Pc(wc(this));break}if(M.history==this.history){var de=[M.id];yi(M,function(Be){return de.push(Be.id)},!0),M.history=new Pa(null),M.history.done=ys(this.history.done,de),M.history.undone=ys(this.history.undone,de)}},iterLinkedDocs:function(M){yi(this,M)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(M){return this.lineSep?M.split(this.lineSep):Wt(M)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Po(function(O){if(O!="rtl"&&(O="ltr"),O==this.direction)return;this.direction=O,this.iter(function(M){return M.order=null}),this.cm&&na(this.cm)})}),Zs.prototype.eachLine=Zs.prototype.iter;var Js=0;function ul(O){var M=this;if(lc(M),It(M,O)||cn(M.display,O))return;Qe(O),l&&(Js=+new Date);var ee=no(M,O,!0),ne=O.dataTransfer.files;if(!ee||M.isReadOnly())return;if(ne&&ne.length&&window.FileReader&&window.File)for(var de=ne.length,Be=Array(de),ft=0,Nt=function(){++ft==de&&Do(M,function(){ee=Xt(M.doc,ee);var ci={from:ee,to:ee,text:M.doc.splitLines(Be.filter(function(Si){return Si!=null}).join(M.doc.lineSeparator())),origin:"paste"};Ts(M.doc,ci),bs(M.doc,Ie(Xt(M.doc,ee),Xt(M.doc,Ke(ci))))})()},Vt=function(ci,Si){if(M.options.allowDropFileTypes&&z(M.options.allowDropFileTypes,ci.type)==-1){Nt();return}var Ri=new FileReader;Ri.onerror=function(){return Nt()},Ri.onload=function(){var Ni=Ri.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Ni)){Nt();return}Be[Si]=Ni,Nt()},Ri.readAsText(ci)},Gt=0;Gt<ne.length;Gt++)Vt(ne[Gt],Gt);else{if(M.state.draggingText&&M.doc.sel.contains(ee)>-1){M.state.draggingText(O),setTimeout(function(){return M.display.input.focus()},20);return}try{var Fr=O.dataTransfer.getData("Text");if(Fr){var Jr;if(M.state.draggingText&&!M.state.draggingText.copy&&(Jr=M.listSelections()),Ui(M.doc,Ie(ee,ee)),Jr)for(var pn=0;pn<Jr.length;++pn)Qs(M.doc,"",Jr[pn].anchor,Jr[pn].head,"drag");M.replaceSelection(Fr,"around","paste"),M.display.input.focus()}}catch(vn){}}}function Vl(O,M){if(l&&(!O.state.draggingText||+new Date-Js<100)){Me(M);return}if(It(O,M)||cn(O.display,M))return;if(M.dataTransfer.setData("Text",O.getSelection()),M.dataTransfer.effectAllowed="copyMove",M.dataTransfer.setDragImage&&!r){var ee=L("img",null,null,"position: fixed; left: 0; top: 0;");ee.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",i&&(ee.width=ee.height=1,O.display.wrapper.appendChild(ee),ee._top=ee.offsetTop),M.dataTransfer.setDragImage(ee,0,0),i&&ee.parentNode.removeChild(ee)}}function ql(O,M){var ee=no(O,M);if(!ee)return;var ne=document.createDocumentFragment();Ba(O,ee,ne),O.display.dragCursor||(O.display.dragCursor=L("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),O.display.lineSpace.insertBefore(O.display.dragCursor,O.display.cursorDiv)),I(O.display.dragCursor,ne)}function lc(O){O.display.dragCursor&&(O.display.lineSpace.removeChild(O.display.dragCursor),O.display.dragCursor=null)}function Xl(O){if(!document.getElementsByClassName)return;for(var M=document.getElementsByClassName("CodeMirror"),ee=[],ne=0;ne<M.length;ne++){var de=M[ne].CodeMirror;de&&ee.push(de)}ee.length&&ee[0].operation(function(){for(var Be=0;Be<ee.length;Be++)O(ee[Be])})}var Rl=!1;function cc(){if(Rl)return;$l(),Rl=!0}function $l(){var O;Ne(window,"resize",function(){O==null&&(O=setTimeout(function(){O=null,Xl(uc)},100))}),Ne(window,"blur",function(){return Xl(zo)})}function uc(O){var M=O.display;M.cachedCharWidth=M.cachedTextHeight=M.cachedPaddingH=null,M.scrollbarsClipped=!1,O.setSize()}for(var Sl={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"},_l=0;_l<10;_l++)Sl[_l+48]=Sl[_l+96]=String(_l);for(var Ml=65;Ml<=90;Ml++)Sl[Ml]=String.fromCharCode(Ml);for(var ec=1;ec<=12;ec++)Sl[ec+111]=Sl[ec+63235]="F"+ec;var Cl={};Cl.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"},Cl.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"},Cl.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"},Cl.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"]},Cl.default=p?Cl.macDefault:Cl.pcDefault;function Uc(O){var M=O.split(/-(?!$)/);O=M[M.length-1];for(var ee,ne,de,Be,ft=0;ft<M.length-1;ft++){var Nt=M[ft];if(/^(cmd|meta|m)$/i.test(Nt))Be=!0;else if(/^a(lt)?$/i.test(Nt))ee=!0;else if(/^(c|ctrl|control)$/i.test(Nt))ne=!0;else if(/^s(hift)?$/i.test(Nt))de=!0;else throw new Error("Unrecognized modifier name: "+Nt)}return ee&&(O="Alt-"+O),ne&&(O="Ctrl-"+O),Be&&(O="Cmd-"+O),de&&(O="Shift-"+O),O}function ml(O){var M={};for(var ee in O)if(O.hasOwnProperty(ee)){var ne=O[ee];if(/^(name|fallthrough|(de|at)tach)$/.test(ee))continue;if(ne=="..."){delete O[ee];continue}for(var de=Xe(ee.split(" "),Uc),Be=0;Be<de.length;Be++){var ft=void 0,Nt=void 0;Be==de.length-1?(Nt=de.join(" "),ft=ne):(Nt=de.slice(0,Be+1).join(" "),ft="...");var Vt=M[Nt];if(!Vt)M[Nt]=ft;else if(Vt!=ft)throw new Error("Inconsistent bindings for "+Nt)}delete O[ee]}for(var Gt in M)O[Gt]=M[Gt];return O}function xl(O,M,ee,ne){M=Fl(M);var de=M.call?M.call(O,ne):M[O];if(de===!1)return"nothing";if(de==="...")return"multi";if(de!=null&&ee(de))return"handled";if(M.fallthrough){if(Object.prototype.toString.call(M.fallthrough)!="[object Array]")return xl(O,M.fallthrough,ee,ne);for(var Be=0;Be<M.fallthrough.length;Be++){var ft=xl(O,M.fallthrough[Be],ee,ne);if(ft)return ft}}}function tc(O){var M=typeof O=="string"?O:Sl[O.keyCode];return M=="Ctrl"||M=="Alt"||M=="Shift"||M=="Mod"}function jc(O,M,ee){var ne=O;return M.altKey&&ne!="Alt"&&(O="Alt-"+O),(x?M.metaKey:M.ctrlKey)&&ne!="Ctrl"&&(O="Ctrl-"+O),(x?M.ctrlKey:M.metaKey)&&ne!="Mod"&&(O="Cmd-"+O),!ee&&M.shiftKey&&ne!="Shift"&&(O="Shift-"+O),O}function dc(O,M){if(i&&O.keyCode==34&&O.char)return!1;var ee=Sl[O.keyCode];return ee==null||O.altGraphKey?!1:(O.keyCode==3&&O.code&&(ee=O.code),jc(ee,O,M))}function Fl(O){return typeof O=="string"?Cl[O]:O}function kl(O,M){for(var ee=O.doc.sel.ranges,ne=[],de=0;de<ee.length;de++){for(var Be=M(ee[de]);ne.length&&Ot(Be.from,De(ne).to)<=0;){var ft=ne.pop();if(Ot(ft.from,Be.from)<0){Be.from=ft.from;break}}ne.push(Be)}No(O,function(){for(var Nt=ne.length-1;Nt>=0;Nt--)Qs(O.doc,"",ne[Nt].from,ne[Nt].to,"+delete");Co(O)})}function jl(O,M,ee){var ne=Se(O.text,M+ee,ee);return ne<0||ne>O.text.length?null:ne}function Sc(O,M,ee){var ne=jl(O,M.ch,ee);return ne==null?null:new Qt(M.line,ne,ee<0?"after":"before")}function xc(O,M,ee,ne,de){if(O){M.doc.direction=="rtl"&&(de=-de);var Be=st(ee,M.doc.direction);if(Be){var ft=de<0?De(Be):Be[0],Nt=de<0==(ft.level==1),Vt=Nt?"after":"before",Gt;if(ft.level>0||M.doc.direction=="rtl"){var Fr=Fi(M,ee);Gt=de<0?ee.text.length-1:0;var Jr=di(M,Fr,Gt).top;Gt=me(function(pn){return di(M,Fr,pn).top==Jr},de<0==(ft.level==1)?ft.from:ft.to-1,Gt),Vt=="before"&&(Gt=jl(ee,Gt,1))}else Gt=de<0?ft.to:ft.from;return new Qt(ne,Gt,Vt)}}return new Qt(ne,de<0?ee.text.length:0,de<0?"before":"after")}function hc(O,M,ee,ne){var de=st(M,O.doc.direction);if(!de)return Sc(M,ee,ne);ee.ch>=M.text.length?(ee.ch=M.text.length,ee.sticky="before"):ee.ch<=0&&(ee.ch=0,ee.sticky="after");var Be=xe(de,ee.ch,ee.sticky),ft=de[Be];if(O.doc.direction=="ltr"&&ft.level%2==0&&(ne>0?ft.to>ee.ch:ft.from<ee.ch))return Sc(M,ee,ne);var Nt=function(Ii,Vi){return jl(M,Ii instanceof Qt?Ii.ch:Ii,Vi)},Vt,Gt=function(Ii){return O.options.lineWrapping?(Vt=Vt||Fi(O,M),ta(O,M,Vt,Ii)):{begin:0,end:M.text.length}},Fr=Gt(ee.sticky=="before"?Nt(ee,-1):ee.ch);if(O.doc.direction=="rtl"||ft.level==1){var Jr=ft.level==1==ne<0,pn=Nt(ee,Jr?1:-1);if(pn!=null&&(Jr?pn<=ft.to&&pn<=Fr.end:pn>=ft.from&&pn>=Fr.begin)){var vn=Jr?"before":"after";return new Qt(ee.line,pn,vn)}}var ci=function(Ii,Vi,ia){for(var Ka=function(jo,Ns){return Ns?new Qt(ee.line,Nt(jo,1),"before"):new Qt(ee.line,jo,"after")};Ii>=0&&Ii<de.length;Ii+=Vi){var Oa=de[Ii],so=Vi>0==(Oa.level!=1),xo=so?ia.begin:Nt(ia.end,-1);if(Oa.from<=xo&&xo<Oa.to)return Ka(xo,so);if(xo=so?Oa.from:Nt(Oa.to,-1),ia.begin<=xo&&xo<ia.end)return Ka(xo,so)}},Si=ci(Be+ne,ne,Fr);if(Si)return Si;var Ri=ne>0?Fr.end:Nt(Fr.begin,-1);return Ri!=null&&!(ne>0&&Ri==M.text.length)&&(Si=ci(ne>0?0:de.length-1,ne,Gt(Ri)),Si)?Si:null}var Hl={selectAll:Cs,singleSelection:function(M){return M.setSelection(M.getCursor("anchor"),M.getCursor("head"),oe)},killLine:function(M){return kl(M,function(ee){if(ee.empty()){var ne=Fe(M.doc,ee.head.line).text.length;return ee.head.ch==ne&&ee.head.line<M.lastLine()?{from:ee.head,to:Qt(ee.head.line+1,0)}:{from:ee.head,to:Qt(ee.head.line,ne)}}else return{from:ee.from(),to:ee.to()}})},deleteLine:function(M){return kl(M,function(ee){return{from:Qt(ee.from().line,0),to:Xt(M.doc,Qt(ee.to().line+1,0))}})},delLineLeft:function(M){return kl(M,function(ee){return{from:Qt(ee.from().line,0),to:ee.from()}})},delWrappedLineLeft:function(M){return kl(M,function(ee){var ne=M.charCoords(ee.head,"div").top+5,de=M.coordsChar({left:0,top:ne},"div");return{from:de,to:ee.from()}})},delWrappedLineRight:function(M){return kl(M,function(ee){var ne=M.charCoords(ee.head,"div").top+5,de=M.coordsChar({left:M.display.lineDiv.offsetWidth+100,top:ne},"div");return{from:ee.from(),to:de}})},undo:function(M){return M.undo()},redo:function(M){return M.redo()},undoSelection:function(M){return M.undoSelection()},redoSelection:function(M){return M.redoSelection()},goDocStart:function(M){return M.extendSelection(Qt(M.firstLine(),0))},goDocEnd:function(M){return M.extendSelection(Qt(M.lastLine()))},goLineStart:function(M){return M.extendSelectionsBy(function(ee){return fc(M,ee.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(M){return M.extendSelectionsBy(function(ee){return Ec(M,ee.head)},{origin:"+move",bias:1})},goLineEnd:function(M){return M.extendSelectionsBy(function(ee){return rc(M,ee.head.line)},{origin:"+move",bias:-1})},goLineRight:function(M){return M.extendSelectionsBy(function(ee){var ne=M.cursorCoords(ee.head,"div").top+5;return M.coordsChar({left:M.display.lineDiv.offsetWidth+100,top:ne},"div")},se)},goLineLeft:function(M){return M.extendSelectionsBy(function(ee){var ne=M.cursorCoords(ee.head,"div").top+5;return M.coordsChar({left:0,top:ne},"div")},se)},goLineLeftSmart:function(M){return M.extendSelectionsBy(function(ee){var ne=M.cursorCoords(ee.head,"div").top+5,de=M.coordsChar({left:0,top:ne},"div");return de.ch<M.getLine(de.line).search(/\S/)?Ec(M,ee.head):de},se)},goLineUp:function(M){return M.moveV(-1,"line")},goLineDown:function(M){return M.moveV(1,"line")},goPageUp:function(M){return M.moveV(-1,"page")},goPageDown:function(M){return M.moveV(1,"page")},goCharLeft:function(M){return M.moveH(-1,"char")},goCharRight:function(M){return M.moveH(1,"char")},goColumnLeft:function(M){return M.moveH(-1,"column")},goColumnRight:function(M){return M.moveH(1,"column")},goWordLeft:function(M){return M.moveH(-1,"word")},goGroupRight:function(M){return M.moveH(1,"group")},goGroupLeft:function(M){return M.moveH(-1,"group")},goWordRight:function(M){return M.moveH(1,"word")},delCharBefore:function(M){return M.deleteH(-1,"codepoint")},delCharAfter:function(M){return M.deleteH(1,"char")},delWordBefore:function(M){return M.deleteH(-1,"word")},delWordAfter:function(M){return M.deleteH(1,"word")},delGroupBefore:function(M){return M.deleteH(-1,"group")},delGroupAfter:function(M){return M.deleteH(1,"group")},indentAuto:function(M){return M.indentSelection("smart")},indentMore:function(M){return M.indentSelection("add")},indentLess:function(M){return M.indentSelection("subtract")},insertTab:function(M){return M.replaceSelection(" ")},insertSoftTab:function(M){for(var ee=[],ne=M.listSelections(),de=M.options.tabSize,Be=0;Be<ne.length;Be++){var ft=ne[Be].from(),Nt=U(M.getLine(ft.line),ft.ch,de);ee.push(_e(de-Nt%de))}M.replaceSelections(ee)},defaultTab:function(M){M.somethingSelected()?M.indentSelection("add"):M.execCommand("insertTab")},transposeChars:function(M){return No(M,function(){for(var ee=M.listSelections(),ne=[],de=0;de<ee.length;de++){if(!ee[de].empty())continue;var Be=ee[de].head,ft=Fe(M.doc,Be.line).text;if(ft){if(Be.ch==ft.length&&(Be=new Qt(Be.line,Be.ch-1)),Be.ch>0)Be=new Qt(Be.line,Be.ch+1),M.replaceRange(ft.charAt(Be.ch-1)+ft.charAt(Be.ch-2),Qt(Be.line,Be.ch-2),Be,"+transpose");else if(Be.line>M.doc.first){var Nt=Fe(M.doc,Be.line-1).text;Nt&&(Be=new Qt(Be.line,1),M.replaceRange(ft.charAt(0)+M.doc.lineSeparator()+Nt.charAt(Nt.length-1),Qt(Be.line-1,Nt.length-1),Be,"+transpose"))}}ne.push(new ce(Be,Be))}M.setSelections(ne)})},newlineAndIndent:function(M){return No(M,function(){for(var ee=M.listSelections(),ne=ee.length-1;ne>=0;ne--)M.replaceRange(M.doc.lineSeparator(),ee[ne].anchor,ee[ne].head,"+input");ee=M.listSelections();for(var de=0;de<ee.length;de++)M.indentLine(ee[de].from().line,null,!0);Co(M)})},openLine:function(M){return M.replaceSelection(`
`,"start")},toggleOverwrite:function(M){return M.toggleOverwrite()}};function fc(O,M){var ee=Fe(O.doc,M),ne=en(ee);return ne!=ee&&(M=sr(ne)),xc(!0,O,ne,M,1)}function rc(O,M){var ee=Fe(O.doc,M),ne=Kr(ee);return ne!=ee&&(M=sr(ne)),xc(!0,O,ee,M,-1)}function Ec(O,M){var ee=fc(O,M.line),ne=Fe(O.doc,ee.line),de=st(ne,O.doc.direction);if(!de||de[0].level==0){var Be=Math.max(ee.ch,ne.text.search(/\S/)),ft=M.line==ee.line&&M.ch<=Be&&M.ch;return Qt(ee.line,ft?0:Be,ee.sticky)}return ee}function as(O,M,ee){if(typeof M=="string"&&(M=Hl[M],!M))return!1;O.display.input.ensurePolled();var ne=O.display.shift,de=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),ee&&(O.display.shift=!1),de=M(O)!=q}finally{O.display.shift=ne,O.state.suppressEdits=!1}return de}function nl(O,M,ee){for(var ne=0;ne<O.state.keyMaps.length;ne++){var de=xl(M,O.state.keyMaps[ne],ee,O);if(de)return de}return O.options.extraKeys&&xl(M,O.options.extraKeys,ee,O)||xl(M,O.options.keyMap,ee,O)}var Tl=new G;function nc(O,M,ee,ne){var de=O.state.keySeq;if(de){if(tc(M))return"handled";if(/\'$/.test(M)?O.state.keySeq=null:Tl.set(50,function(){O.state.keySeq==de&&(O.state.keySeq=null,O.display.input.reset())}),ic(O,de+" "+M,ee,ne))return!0}return ic(O,M,ee,ne)}function ic(O,M,ee,ne){var de=nl(O,M,ne);return de=="multi"&&(O.state.keySeq=M),de=="handled"&&Br(O,"keyHandled",O,M,ee),(de=="handled"||de=="multi")&&(Qe(ee),Na(O)),!!de}function Il(O,M){var ee=dc(M,!0);return ee?M.shiftKey&&!O.state.keySeq?nc(O,"Shift-"+ee,M,function(ne){return as(O,ne,!0)})||nc(O,ee,M,function(ne){if(typeof ne=="string"?/^go[A-Z]/.test(ne):ne.motion)return as(O,ne)}):nc(O,ee,M,function(ne){return as(O,ne)}):!1}function yl(O,M,ee){return nc(O,"'"+ee+"'",M,function(ne){return as(O,ne,!0)})}var _c=null;function Hc(O){var M=this;if(O.target&&O.target!=M.display.input.getField())return;if(M.curOp.focus=P(),It(M,O))return;l&&u<11&&O.keyCode==27&&(O.returnValue=!1);var ee=O.keyCode;M.display.shift=ee==16||O.shiftKey;var ne=Il(M,O);i&&(_c=ne?ee:null,!ne&&ee==88&&!Yt&&(p?O.metaKey:O.ctrlKey)&&M.replaceSelection("",null,"cut")),b&&!p&&!ne&&ee==46&&O.shiftKey&&!O.ctrlKey&&document.execCommand&&document.execCommand("cut"),ee==18&&!/\bCodeMirror-crosshair\b/.test(M.display.lineDiv.className)&&Kc(M)}function Kc(O){var M=O.display.lineDiv;W(M,"CodeMirror-crosshair");function ee(ne){(ne.keyCode==18||!ne.altKey)&&(_(M,"CodeMirror-crosshair"),Ye(document,"keyup",ee),Ye(document,"mouseover",ee))}Ne(document,"keyup",ee),Ne(document,"mouseover",ee)}function Cc(O){O.keyCode==16&&(this.doc.sel.shift=!1),It(this,O)}function Tc(O){var M=this;if(O.target&&O.target!=M.display.input.getField())return;if(cn(M.display,O)||It(M,O)||O.ctrlKey&&!O.altKey||p&&O.metaKey)return;var ee=O.keyCode,ne=O.charCode;if(i&&ee==_c){_c=null,Qe(O);return}if(i&&(!O.which||O.which<10)&&Il(M,O))return;var de=String.fromCharCode(ne==null?ee:ne);if(de=="\b")return;if(yl(M,O,de))return;M.display.input.onKeyPress(O)}var zc=400,pc=function(M,ee,ne){this.time=M,this.pos=ee,this.button=ne};pc.prototype.compare=function(O,M,ee){return this.time+zc>O&&Ot(M,this.pos)==0&&ee==this.button};var Ol,Ll;function Gl(O,M){var ee=+new Date;return Ll&&Ll.compare(ee,O,M)?(Ol=Ll=null,"triple"):Ol&&Ol.compare(ee,O,M)?(Ll=new pc(ee,O,M),Ol=null,"double"):(Ol=new pc(ee,O,M),Ll=null,"single")}function Kl(O){var M=this,ee=M.display;if(It(M,O)||ee.activeTouch&&ee.input.supportsTouch())return;if(ee.input.ensurePolled(),ee.shift=O.shiftKey,cn(ee,O)){o||(ee.scroller.draggable=!1,setTimeout(function(){return ee.scroller.draggable=!0},100));return}if(ac(M,O))return;var ne=no(M,O),de=ue(O),Be=ne?Gl(ne,de):"single";if(window.focus(),de==1&&M.state.selectingText&&M.state.selectingText(O),ne&&Ic(M,de,ne,Be,O))return;de==1?ne?Wc(M,ne,Be,O):Ce(O)==ee.scroller&&Qe(O):de==2?(ne&&So(M.doc,ne),setTimeout(function(){return ee.input.focus()},20)):de==3&&(C?M.display.input.onContextMenu(O):vo(M))}function Ic(O,M,ee,ne,de){var Be="Click";return ne=="double"?Be="Double"+Be:ne=="triple"&&(Be="Triple"+Be),Be=(M==1?"Left":M==2?"Middle":"Right")+Be,nc(O,jc(Be,de),de,function(ft){if(typeof ft=="string"&&(ft=Hl[ft]),!ft)return!1;var Nt=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),Nt=ft(O,ee)!=q}finally{O.state.suppressEdits=!1}return Nt})}function qc(O,M,ee){var ne=O.getOption("configureMouse"),de=ne?ne(O,M,ee):{};if(de.unit==null){var Be=m?ee.shiftKey&&ee.metaKey:ee.altKey;de.unit=Be?"rectangle":M=="single"?"char":M=="double"?"word":"line"}return(de.extend==null||O.doc.extend)&&(de.extend=O.doc.extend||ee.shiftKey),de.addNew==null&&(de.addNew=p?ee.metaKey:ee.ctrlKey),de.moveOnDrag==null&&(de.moveOnDrag=!(p?ee.altKey:ee.ctrlKey)),de}function Wc(O,M,ee,ne){l?setTimeout(H(po,O),0):O.curOp.focus=P();var de=qc(O,ee,ne),Be=O.doc.sel,ft;O.options.dragDrop&&ot&&!O.isReadOnly()&&ee=="single"&&(ft=Be.contains(M))>-1&&(Ot((ft=Be.ranges[ft]).from(),M)<0||M.xRel>0)&&(Ot(ft.to(),M)>0||M.xRel<0)?$c(O,ne,M,de):mc(O,ne,M,de)}function $c(O,M,ee,ne){var de=O.display,Be=!1,ft=Do(O,function(Gt){o&&(de.scroller.draggable=!1),O.state.draggingText=!1,Ye(de.wrapper.ownerDocument,"mouseup",ft),Ye(de.wrapper.ownerDocument,"mousemove",Nt),Ye(de.scroller,"dragstart",Vt),Ye(de.scroller,"drop",ft),Be||(Qe(Gt),ne.addNew||So(O.doc,ee,null,null,ne.extend),o&&!r||l&&u==9?setTimeout(function(){de.wrapper.ownerDocument.body.focus({preventScroll:!0}),de.input.focus()},20):de.input.focus())}),Nt=function(Fr){Be=Be||Math.abs(M.clientX-Fr.clientX)+Math.abs(M.clientY-Fr.clientY)>=10},Vt=function(){return Be=!0};o&&(de.scroller.draggable=!0),O.state.draggingText=ft,ft.copy=!ne.moveOnDrag,de.scroller.dragDrop&&de.scroller.dragDrop(),Ne(de.wrapper.ownerDocument,"mouseup",ft),Ne(de.wrapper.ownerDocument,"mousemove",Nt),Ne(de.scroller,"dragstart",Vt),Ne(de.scroller,"drop",ft),vo(O),setTimeout(function(){return de.input.focus()},20)}function Ql(O,M,ee){if(ee=="char")return new ce(M,M);if(ee=="word")return O.findWordAt(M);if(ee=="line")return new ce(Qt(M.line,0),Xt(O.doc,Qt(M.line+1,0)));var ne=ee(O,M);return new ce(ne.from,ne.to)}function mc(O,M,ee,ne){var de=O.display,Be=O.doc;Qe(M);var ft,Nt,Vt=Be.sel,Gt=Vt.ranges;if(ne.addNew&&!ne.extend?(Nt=Be.sel.contains(ee),Nt>-1?ft=Gt[Nt]:ft=new ce(ee,ee)):(ft=Be.sel.primary(),Nt=Be.sel.primIndex),ne.unit=="rectangle")ne.addNew||(ft=new ce(ee,ee)),ee=no(O,M,!0,!0),Nt=-1;else{var Fr=Ql(O,ee,ne.unit);ne.extend?ft=Yo(ft,Fr.anchor,Fr.head,ne.extend):ft=Fr}ne.addNew?Nt==-1?(Nt=Gt.length,Fo(Be,ve(O,Gt.concat([ft]),Nt),{scroll:!1,origin:"*mouse"})):Gt.length>1&&Gt[Nt].empty()&&ne.unit=="char"&&!ne.extend?(Fo(Be,ve(O,Gt.slice(0,Nt).concat(Gt.slice(Nt+1)),0),{scroll:!1,origin:"*mouse"}),Vt=Be.sel):ls(Be,Nt,ft,ie):(Nt=0,Fo(Be,new gt([ft],0),ie),Vt=Be.sel);var Jr=ee;function pn(Vi){if(Ot(Jr,Vi)==0)return;if(Jr=Vi,ne.unit=="rectangle"){for(var ia=[],Ka=O.options.tabSize,Oa=U(Fe(Be,ee.line).text,ee.ch,Ka),so=U(Fe(Be,Vi.line).text,Vi.ch,Ka),xo=Math.min(Oa,so),Zo=Math.max(Oa,so),jo=Math.min(ee.line,Vi.line),Ns=Math.min(O.lastLine(),Math.max(ee.line,Vi.line));jo<=Ns;jo++){var dl=Fe(Be,jo).text,ds=he(dl,xo,Ka);xo==Zo?ia.push(new ce(Qt(jo,ds),Qt(jo,ds))):dl.length>ds&&ia.push(new ce(Qt(jo,ds),Qt(jo,he(dl,Zo,Ka))))}ia.length||ia.push(new ce(ee,ee)),Fo(Be,ve(O,Vt.ranges.slice(0,Nt).concat(ia),Nt),{origin:"*mouse",scroll:!1}),O.scrollIntoView(Vi)}else{var hl=ft,Ds=Ql(O,Vi,ne.unit),Ss=hl.anchor,fs;Ot(Ds.anchor,Ss)>0?(fs=Ds.head,Ss=Pr(hl.from(),Ds.anchor)):(fs=Ds.anchor,Ss=Rr(hl.to(),Ds.head));var os=Vt.ranges.slice(0);os[Nt]=eu(O,new ce(Xt(Be,Ss),fs)),Fo(Be,ve(O,os,Nt),ie)}}var vn=de.wrapper.getBoundingClientRect(),ci=0;function Si(Vi){var ia=++ci,Ka=no(O,Vi,!0,ne.unit=="rectangle");if(!Ka)return;if(Ot(Ka,Jr)!=0){O.curOp.focus=P(),pn(Ka);var Oa=oo(de,Be);(Ka.line>=Oa.to||Ka.line<Oa.from)&&setTimeout(Do(O,function(){ci==ia&&Si(Vi)}),150)}else{var so=Vi.clientY<vn.top?-20:Vi.clientY>vn.bottom?20:0;so&&setTimeout(Do(O,function(){if(ci!=ia)return;de.scroller.scrollTop+=so,Si(Vi)}),50)}}function Ri(Vi){O.state.selectingText=!1,ci=Infinity,Vi&&(Qe(Vi),de.input.focus()),Ye(de.wrapper.ownerDocument,"mousemove",Ni),Ye(de.wrapper.ownerDocument,"mouseup",Ii),Be.history.lastSelOrigin=null}var Ni=Do(O,function(Vi){Vi.buttons===0||!ue(Vi)?Ri(Vi):Si(Vi)}),Ii=Do(O,Ri);O.state.selectingText=Ii,Ne(de.wrapper.ownerDocument,"mousemove",Ni),Ne(de.wrapper.ownerDocument,"mouseup",Ii)}function eu(O,M){var ee=M.anchor,ne=M.head,de=Fe(O.doc,ee.line);if(Ot(ee,ne)==0&&ee.sticky==ne.sticky)return M;var Be=st(de);if(!Be)return M;var ft=xe(Be,ee.ch,ee.sticky),Nt=Be[ft];if(Nt.from!=ee.ch&&Nt.to!=ee.ch)return M;var Vt=ft+(Nt.from==ee.ch==(Nt.level!=1)?0:1);if(Vt==0||Vt==Be.length)return M;var Gt;if(ne.line!=ee.line)Gt=(ne.line-ee.line)*(O.doc.direction=="ltr"?1:-1)>0;else{var Fr=xe(Be,ne.ch,ne.sticky),Jr=Fr-ft||(ne.ch-ee.ch)*(Nt.level==1?-1:1);Fr==Vt-1||Fr==Vt?Gt=Jr<0:Gt=Jr>0}var pn=Be[Vt+(Gt?-1:0)],vn=Gt==(pn.level==1),ci=vn?pn.from:pn.to,Si=vn?"after":"before";return ee.ch==ci&&ee.sticky==Si?M:new ce(new Qt(ee.line,ci,Si),ne)}function Oc(O,M,ee,ne){var de,Be;if(M.touches)de=M.touches[0].clientX,Be=M.touches[0].clientY;else try{de=M.clientX,Be=M.clientY}catch(pn){return!1}if(de>=Math.floor(O.display.gutters.getBoundingClientRect().right))return!1;ne&&Qe(M);var ft=O.display,Nt=ft.lineDiv.getBoundingClientRect();if(Be>Nt.bottom||!xt(O,ee))return Q(M);Be-=Nt.top-ft.viewOffset;for(var Vt=0;Vt<O.display.gutterSpecs.length;++Vt){var Gt=ft.gutters.childNodes[Vt];if(Gt&&Gt.getBoundingClientRect().right>=de){var Fr=Ar(O.doc,Be),Jr=O.display.gutterSpecs[Vt];return vt(O,ee,O,Fr,Jr.className,M),Q(M)}}}function ac(O,M){return Oc(O,M,"gutterClick",!0)}function gc(O,M){if(cn(O.display,M)||Yl(O,M))return;if(It(O,M,"contextmenu"))return;C||O.display.input.onContextMenu(M)}function Yl(O,M){return xt(O,"gutterContextMenu")?Oc(O,M,"gutterContextMenu",!1):!1}function Lc(O){O.display.wrapper.className=O.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+O.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ma(O)}var Zl={toString:function(){return"CodeMirror.Init"}},oc={},Ae={};function He(O){var M=O.optionHandlers;function ee(ne,de,Be,ft){O.defaults[ne]=de,Be&&(M[ne]=ft?function(Nt,Vt,Gt){Gt!=Zl&&Be(Nt,Vt,Gt)}:Be)}O.defineOption=ee,O.Init=Zl,ee("value","",function(ne,de){return ne.setValue(de)},!0),ee("mode",null,function(ne,de){ne.doc.modeOption=de,kr(ne)},!0),ee("indentUnit",2,kr,!0),ee("indentWithTabs",!1),ee("smartIndent",!0),ee("tabSize",4,function(ne){ln(ne),Ma(ne),Ci(ne)},!0),ee("lineSeparator",null,function(ne,de){if(ne.doc.lineSep=de,!de)return;var Be=[],ft=ne.doc.first;ne.doc.iter(function(Vt){for(var Gt=0;;){var Fr=Vt.text.indexOf(de,Gt);if(Fr==-1)break;Gt=Fr+de.length,Be.push(Qt(ft,Fr))}ft++});for(var Nt=Be.length-1;Nt>=0;Nt--)Qs(ne.doc,de,Be[Nt],Qt(Be[Nt].line,Be[Nt].ch+de.length))}),ee("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ne,de,Be){ne.state.specialChars=new RegExp(de.source+(de.test(" ")?"":"| "),"g"),Be!=Zl&&ne.refresh()}),ee("specialCharPlaceholder",ti,function(ne){return ne.refresh()},!0),ee("electricChars",!0),ee("inputStyle",h?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ee("spellcheck",!1,function(ne,de){return ne.getInputField().spellcheck=de},!0),ee("autocorrect",!1,function(ne,de){return ne.getInputField().autocorrect=de},!0),ee("autocapitalize",!1,function(ne,de){return ne.getInputField().autocapitalize=de},!0),ee("rtlMoveVisually",!S),ee("wholeLineUpdateBefore",!0),ee("theme","default",function(ne){Lc(ne),ks(ne)},!0),ee("keyMap","default",function(ne,de,Be){var ft=Fl(de),Nt=Be!=Zl&&Fl(Be);Nt&&Nt.detach&&Nt.detach(ne,ft),ft.attach&&ft.attach(ne,Nt||null)}),ee("extraKeys",null),ee("configureMouse",null),ee("lineWrapping",!1,zt,!0),ee("gutters",[],function(ne,de){ne.display.gutterSpecs=ol(de,ne.options.lineNumbers),ks(ne)},!0),ee("fixedGutter",!0,function(ne,de){ne.display.gutters.style.left=de?ho(ne.display)+"px":"0",ne.refresh()},!0),ee("coverGutterNextToScrollbar",!1,function(ne){return Wo(ne)},!0),ee("scrollbarStyle","native",function(ne){al(ne),Wo(ne),ne.display.scrollbars.setScrollTop(ne.doc.scrollTop),ne.display.scrollbars.setScrollLeft(ne.doc.scrollLeft)},!0),ee("lineNumbers",!1,function(ne,de){ne.display.gutterSpecs=ol(ne.options.gutters,de),ks(ne)},!0),ee("firstLineNumber",1,ks,!0),ee("lineNumberFormatter",function(ne){return ne},ks,!0),ee("showCursorWhenSelecting",!1,la,!0),ee("resetSelectionOnContextMenu",!0),ee("lineWiseCopyCut",!0),ee("pasteLinesPerSelection",!0),ee("selectionsMayTouch",!1),ee("readOnly",!1,function(ne,de){de=="nocursor"&&(zo(ne),ne.display.input.blur()),ne.display.input.readOnlyChanged(de)}),ee("screenReaderLabel",null,function(ne,de){de=de===""?null:de,ne.display.input.screenReaderLabelChanged(de)}),ee("disableInput",!1,function(ne,de){de||ne.display.input.reset()},!0),ee("dragDrop",!0,ht),ee("allowDropFileTypes",null),ee("cursorBlinkRate",530),ee("cursorScrollMargin",0),ee("cursorHeight",1,la,!0),ee("singleCursorHeightPerLine",!0,la,!0),ee("workTime",100),ee("workDelay",100),ee("flattenSpans",!0,ln,!0),ee("addModeClass",!1,ln,!0),ee("pollInterval",100),ee("undoDepth",200,function(ne,de){return ne.doc.history.undoDepth=de}),ee("historyEventDelay",1250),ee("viewportMargin",10,function(ne){return ne.refresh()},!0),ee("maxHighlightLength",1e4,ln,!0),ee("moveInputWithCursor",!0,function(ne,de){de||ne.display.input.resetPosition()}),ee("tabindex",null,function(ne,de){return ne.display.input.getField().tabIndex=de||""}),ee("autofocus",null),ee("direction","ltr",function(ne,de){return ne.doc.setDirection(de)},!0),ee("phrases",null)}function ht(O,M,ee){var ne=ee&&ee!=Zl;if(!M!=!ne){var de=O.display.dragFunctions,Be=M?Ne:Ye;Be(O.display.scroller,"dragstart",de.start),Be(O.display.scroller,"dragenter",de.enter),Be(O.display.scroller,"dragover",de.over),Be(O.display.scroller,"dragleave",de.leave),Be(O.display.scroller,"drop",de.drop)}}function zt(O){O.options.lineWrapping?(W(O.display.wrapper,"CodeMirror-wrap"),O.display.sizer.style.minWidth="",O.display.sizerWidth=null):(_(O.display.wrapper,"CodeMirror-wrap"),si(O)),qa(O),Ci(O),Ma(O),setTimeout(function(){return Wo(O)},100)}function rr(O,M){var ee=this;if(!(this instanceof rr))return new rr(O,M);this.options=M=M?K(M):{},K(oc,M,!1);var ne=M.value;typeof ne=="string"?ne=new Zs(ne,M.mode,null,M.lineSeparator,M.direction):M.mode&&(ne.modeOption=M.mode),this.doc=ne;var de=new rr.inputStyles[M.inputStyle](this),Be=this.display=new us(O,ne,de,M);Be.wrapper.CodeMirror=this,Lc(this),M.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),al(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 G,keySeq:null,specialChars:null},M.autofocus&&!h&&Be.input.focus(),l&&u<11&&setTimeout(function(){return ee.display.input.reset(!0)},20),mr(this),cc(),Vo(this),this.curOp.forceUpdate=!0,Ti(this,ne),M.autofocus&&!h||this.hasFocus()?setTimeout(function(){ee.hasFocus()&&!ee.state.focused&&Ko(ee)},20):zo(this);for(var ft in Ae)Ae.hasOwnProperty(ft)&&Ae[ft](this,M[ft],Zl);wl(this),M.finishInit&&M.finishInit(this);for(var Nt=0;Nt<Re.length;++Nt)Re[Nt](this);Xo(this),o&&M.lineWrapping&&getComputedStyle(Be.lineDiv).textRendering=="optimizelegibility"&&(Be.lineDiv.style.textRendering="auto")}rr.defaults=oc,rr.optionHandlers=Ae;function mr(O){var M=O.display;Ne(M.scroller,"mousedown",Do(O,Kl)),l&&u<11?Ne(M.scroller,"dblclick",Do(O,function(Vt){if(It(O,Vt))return;var Gt=no(O,Vt);if(!Gt||ac(O,Vt)||cn(O.display,Vt))return;Qe(Vt);var Fr=O.findWordAt(Gt);So(O.doc,Fr.anchor,Fr.head)})):Ne(M.scroller,"dblclick",function(Vt){return It(O,Vt)||Qe(Vt)}),Ne(M.scroller,"contextmenu",function(Vt){return gc(O,Vt)}),Ne(M.input.getField(),"contextmenu",function(Vt){M.scroller.contains(Vt.target)||gc(O,Vt)});var ee,ne={end:0};function de(){M.activeTouch&&(ee=setTimeout(function(){return M.activeTouch=null},1e3),ne=M.activeTouch,ne.end=+new Date)}function Be(Vt){if(Vt.touches.length!=1)return!1;var Gt=Vt.touches[0];return Gt.radiusX<=1&&Gt.radiusY<=1}function ft(Vt,Gt){if(Gt.left==null)return!0;var Fr=Gt.left-Vt.left,Jr=Gt.top-Vt.top;return Fr*Fr+Jr*Jr>20*20}Ne(M.scroller,"touchstart",function(Vt){if(!It(O,Vt)&&!Be(Vt)&&!ac(O,Vt)){M.input.ensurePolled(),clearTimeout(ee);var Gt=+new Date;M.activeTouch={start:Gt,moved:!1,prev:Gt-ne.end<=300?ne:null},Vt.touches.length==1&&(M.activeTouch.left=Vt.touches[0].pageX,M.activeTouch.top=Vt.touches[0].pageY)}}),Ne(M.scroller,"touchmove",function(){M.activeTouch&&(M.activeTouch.moved=!0)}),Ne(M.scroller,"touchend",function(Vt){var Gt=M.activeTouch;if(Gt&&!cn(M,Vt)&&Gt.left!=null&&!Gt.moved&&new Date-Gt.start<300){var Fr=O.coordsChar(M.activeTouch,"page"),Jr;!Gt.prev||ft(Gt,Gt.prev)?Jr=new ce(Fr,Fr):!Gt.prev.prev||ft(Gt,Gt.prev.prev)?Jr=O.findWordAt(Fr):Jr=new ce(Qt(Fr.line,0),Xt(O.doc,Qt(Fr.line+1,0))),O.setSelection(Jr.anchor,Jr.head),O.focus(),Qe(Vt)}de()}),Ne(M.scroller,"touchcancel",de),Ne(M.scroller,"scroll",function(){M.scroller.clientHeight&&(pa(O,M.scroller.scrollTop),Ai(O,M.scroller.scrollLeft,!0),vt(O,"scroll",O))}),Ne(M.scroller,"mousewheel",function(Vt){return kn(O,Vt)}),Ne(M.scroller,"DOMMouseScroll",function(Vt){return kn(O,Vt)}),Ne(M.wrapper,"scroll",function(){return M.wrapper.scrollTop=M.wrapper.scrollLeft=0}),M.dragFunctions={enter:function(Gt){It(O,Gt)||Me(Gt)},over:function(Gt){It(O,Gt)||(ql(O,Gt),Me(Gt))},start:function(Gt){return Vl(O,Gt)},drop:Do(O,ul),leave:function(Gt){It(O,Gt)||lc(O)}};var Nt=M.input.getField();Ne(Nt,"keyup",function(Vt){return Cc.call(O,Vt)}),Ne(Nt,"keydown",Do(O,Hc)),Ne(Nt,"keypress",Do(O,Tc)),Ne(Nt,"focus",function(Vt){return Ko(O,Vt)}),Ne(Nt,"blur",function(Vt){return zo(O,Vt)})}var Re=[];rr.defineInitHook=function(O){return Re.push(O)};function re(O,M,ee,ne){var de=O.doc,Be;ee==null&&(ee="add"),ee=="smart"&&(de.mode.indent?Be=In(O,M).state:ee="prev");var ft=O.options.tabSize,Nt=Fe(de,M),Vt=U(Nt.text,null,ft);Nt.stateAfter&&(Nt.stateAfter=null);var Gt=Nt.text.match(/^\s*/)[0],Fr;if(!ne&&!/\S/.test(Nt.text))Fr=0,ee="not";else if(ee=="smart"&&(Fr=de.mode.indent(Be,Nt.text.slice(Gt.length),Nt.text),Fr==q||Fr>150)){if(!ne)return;ee="prev"}ee=="prev"?M>de.first?Fr=U(Fe(de,M-1).text,null,ft):Fr=0:ee=="add"?Fr=Vt+O.options.indentUnit:ee=="subtract"?Fr=Vt-O.options.indentUnit:typeof ee=="number"&&(Fr=Vt+ee),Fr=Math.max(0,Fr);var Jr="",pn=0;if(O.options.indentWithTabs)for(var vn=Math.floor(Fr/ft);vn;--vn)pn+=ft,Jr+=" ";if(pn<Fr&&(Jr+=_e(Fr-pn)),Jr!=Gt)return Qs(de,Jr,Qt(M,0),Qt(M,Gt.length),"+input"),Nt.stateAfter=null,!0;for(var ci=0;ci<de.sel.ranges.length;ci++){var Si=de.sel.ranges[ci];if(Si.head.line==M&&Si.head.ch<Gt.length){var Ri=Qt(M,Gt.length);ls(de,ci,new ce(Ri,Ri));break}}}var ye=null;function ze(O){ye=O}function lt(O,M,ee,ne,de){var Be=O.doc;O.display.shift=!1,ne||(ne=Be.sel);var ft=+new Date-200,Nt=de=="paste"||O.state.pasteIncoming>ft,Vt=Wt(M),Gt=null;if(Nt&&ne.ranges.length>1)if(ye&&ye.text.join(`
`)==M){if(ne.ranges.length%ye.text.length==0){Gt=[];for(var Fr=0;Fr<ye.text.length;Fr++)Gt.push(Be.splitLines(ye.text[Fr]))}}else Vt.length==ne.ranges.length&&O.options.pasteLinesPerSelection&&(Gt=Xe(Vt,function(Ni){return[Ni]}));for(var Jr=O.curOp.updateInput,pn=ne.ranges.length-1;pn>=0;pn--){var vn=ne.ranges[pn],ci=vn.from(),Si=vn.to();vn.empty()&&(ee&&ee>0?ci=Qt(ci.line,ci.ch-ee):O.state.overwrite&&!Nt?Si=Qt(Si.line,Math.min(Fe(Be,Si.line).text.length,Si.ch+De(Vt).length)):Nt&&ye&&ye.lineWise&&ye.text.join(`
`)==Vt.join(`
`)&&(ci=Si=Qt(ci.line,0)));var Ri={from:ci,to:Si,text:Gt?Gt[pn%Gt.length]:Vt,origin:de||(Nt?"paste":O.state.cutIncoming>ft?"cut":"+input")};Ts(O.doc,Ri),Br(O,"inputRead",O,Ri)}M&&!Nt&&Dt(O,M),Co(O),O.curOp.updateInput<2&&(O.curOp.updateInput=Jr),O.curOp.typing=!0,O.state.pasteIncoming=O.state.cutIncoming=-1}function _t(O,M){var ee=O.clipboardData&&O.clipboardData.getData("Text");if(ee)return O.preventDefault(),!M.isReadOnly()&&!M.options.disableInput&&No(M,function(){return lt(M,ee,0,null,"paste")}),!0}function Dt(O,M){if(!O.options.electricChars||!O.options.smartIndent)return;for(var ee=O.doc.sel,ne=ee.ranges.length-1;ne>=0;ne--){var de=ee.ranges[ne];if(de.head.ch>100||ne&&ee.ranges[ne-1].head.line==de.head.line)continue;var Be=O.getModeAt(de.head),ft=!1;if(Be.electricChars){for(var Nt=0;Nt<Be.electricChars.length;Nt++)if(M.indexOf(Be.electricChars.charAt(Nt))>-1){ft=re(O,de.head.line,"smart");break}}else Be.electricInput&&(Be.electricInput.test(Fe(O.doc,de.head.line).text.slice(0,de.head.ch))&&(ft=re(O,de.head.line,"smart")));ft&&Br(O,"electricInput",O,de.head.line)}}function Mt(O){for(var M=[],ee=[],ne=0;ne<O.doc.sel.ranges.length;ne++){var de=O.doc.sel.ranges[ne].head.line,Be={anchor:Qt(de,0),head:Qt(de+1,0)};ee.push(Be),M.push(O.getRange(Be.anchor,Be.head))}return{text:M,ranges:ee}}function ar(O,M,ee,ne){O.setAttribute("autocorrect",ee?"":"off"),O.setAttribute("autocapitalize",ne?"":"off"),O.setAttribute("spellcheck",!!M)}function vr(){var O=L("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),M=L("div",[O],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return o?O.style.width="1000px":O.setAttribute("wrap","off"),a&&(O.style.border="1px solid black"),ar(O),M}function ir(O){var M=O.optionHandlers,ee=O.helpers={};O.prototype={constructor:O,focus:function(){window.focus(),this.display.input.focus()},setOption:function(de,Be){var ft=this.options,Nt=ft[de];if(ft[de]==Be&&de!="mode")return;ft[de]=Be,M.hasOwnProperty(de)&&Do(this,M[de])(this,Be,Nt),vt(this,"optionChange",this,de)},getOption:function(de){return this.options[de]},getDoc:function(){return this.doc},addKeyMap:function(de,Be){this.state.keyMaps[Be?"push":"unshift"](Fl(de))},removeKeyMap:function(de){for(var Be=this.state.keyMaps,ft=0;ft<Be.length;++ft)if(Be[ft]==de||Be[ft].name==de)return Be.splice(ft,1),!0},addOverlay:Go(function(ne,de){var Be=ne.token?ne:O.getMode(this.options,ne);if(Be.startState)throw new Error("Overlays may not be stateful.");J(this.state.overlays,{mode:Be,modeSpec:ne,opaque:de&&de.opaque,priority:de&&de.priority||0},function(ft){return ft.priority}),this.state.modeGen++,Ci(this)}),removeOverlay:Go(function(ne){for(var de=this.state.overlays,Be=0;Be<de.length;++Be){var ft=de[Be].modeSpec;if(ft==ne||typeof ne=="string"&&ft.name==ne){de.splice(Be,1),this.state.modeGen++,Ci(this);return}}}),indentLine:Go(function(ne,de,Be){typeof de!="string"&&typeof de!="number"&&(de==null?de=this.options.smartIndent?"smart":"prev":de=de?"add":"subtract"),Hr(this.doc,ne)&&re(this,ne,de,Be)}),indentSelection:Go(function(ne){for(var de=this.doc.sel.ranges,Be=-1,ft=0;ft<de.length;ft++){var Nt=de[ft];if(Nt.empty())Nt.head.line>Be&&(re(this,Nt.head.line,ne,!0),Be=Nt.head.line,ft==this.doc.sel.primIndex&&Co(this));else{var Vt=Nt.from(),Gt=Nt.to(),Fr=Math.max(Be,Vt.line);Be=Math.min(this.lastLine(),Gt.line-(Gt.ch?0:1))+1;for(var Jr=Fr;Jr<Be;++Jr)re(this,Jr,ne);var pn=this.doc.sel.ranges;Vt.ch==0&&de.length==pn.length&&pn[ft].from().ch>0&&ls(this.doc,ft,new ce(Vt,pn[ft].to()),oe)}}}),getTokenAt:function(de,Be){return bi(this,de,Be)},getLineTokens:function(de,Be){return bi(this,Qt(de),Be,!0)},getTokenTypeAt:function(de){de=Xt(this.doc,de);var Be=gn(this,Fe(this.doc,de.line)),ft=0,Nt=(Be.length-1)/2,Vt=de.ch,Gt;if(Vt==0)Gt=Be[2];else for(;;){var Fr=ft+Nt>>1;if((Fr?Be[Fr*2-1]:0)>=Vt)Nt=Fr;else if(Be[Fr*2+1]<Vt)ft=Fr+1;else{Gt=Be[Fr*2+2];break}}var Jr=Gt?Gt.indexOf("overlay "):-1;return Jr<0?Gt:Jr==0?null:Gt.slice(0,Jr-1)},getModeAt:function(de){var Be=this.doc.mode;return Be.innerMode?O.innerMode(Be,this.getTokenAt(de).state).mode:Be},getHelper:function(de,Be){return this.getHelpers(de,Be)[0]},getHelpers:function(de,Be){var ft=[];if(!ee.hasOwnProperty(Be))return ft;var Nt=ee[Be],Vt=this.getModeAt(de);if(typeof Vt[Be]=="string")Nt[Vt[Be]]&&ft.push(Nt[Vt[Be]]);else if(Vt[Be])for(var Gt=0;Gt<Vt[Be].length;Gt++){var Fr=Nt[Vt[Be][Gt]];Fr&&ft.push(Fr)}else Vt.helperType&&Nt[Vt.helperType]?ft.push(Nt[Vt.helperType]):Nt[Vt.name]&&ft.push(Nt[Vt.name]);for(var Jr=0;Jr<Nt._global.length;Jr++){var pn=Nt._global[Jr];pn.pred(Vt,this)&&z(ft,pn.val)==-1&&ft.push(pn.val)}return ft},getStateAfter:function(de,Be){var ft=this.doc;return de=an(ft,de==null?ft.first+ft.size-1:de),In(this,de+1,Be).state},cursorCoords:function(de,Be){var ft,Nt=this.doc.sel.primary();return de==null?ft=Nt.head:typeof de=="object"?ft=Xt(this.doc,de):ft=de?Nt.from():Nt.to(),Fa(this,ft,Be||"page")},charCoords:function(de,Be){return sa(this,Xt(this.doc,de),Be||"page")},coordsChar:function(de,Be){return de=ya(this,de,Be||"page"),Ya(this,de.left,de.top)},lineAtHeight:function(de,Be){return de=ya(this,{top:de,left:0},Be||"page").top,Ar(this.doc,de+this.display.viewOffset)},heightAtLine:function(de,Be,ft){var Nt=!1,Vt;if(typeof de=="number"){var Gt=this.doc.first+this.doc.size-1;de<this.doc.first?de=this.doc.first:de>Gt&&(de=Gt,Nt=!0),Vt=Fe(this.doc,de)}else Vt=de;return ea(this,Vt,{top:0,left:0},Be||"page",ft||Nt).top+(Nt?this.doc.height-bn(Vt):0)},defaultTextHeight:function(){return Ua(this.display)},defaultCharWidth:function(){return ao(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(de,Be,ft,Nt,Vt){var Gt=this.display;de=Fa(this,Xt(this.doc,de));var Fr=de.bottom,Jr=de.left;if(Be.style.position="absolute",Be.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Be),Gt.sizer.appendChild(Be),Nt=="over")Fr=de.top;else if(Nt=="above"||Nt=="near"){var pn=Math.max(Gt.wrapper.clientHeight,this.doc.height),vn=Math.max(Gt.sizer.clientWidth,Gt.lineSpace.clientWidth);(Nt=="above"||de.bottom+Be.offsetHeight>pn)&&de.top>Be.offsetHeight?Fr=de.top-Be.offsetHeight:de.bottom+Be.offsetHeight<=pn&&(Fr=de.bottom),Jr+Be.offsetWidth>vn&&(Jr=vn-Be.offsetWidth)}Be.style.top=Fr+"px",Be.style.left=Be.style.right="",Vt=="right"?(Jr=Gt.sizer.clientWidth-Be.offsetWidth,Be.style.right="0px"):(Vt=="left"?Jr=0:Vt=="middle"&&(Jr=(Gt.sizer.clientWidth-Be.offsetWidth)/2),Be.style.left=Jr+"px"),ft&&Lo(this,{left:Jr,top:Fr,right:Jr+Be.offsetWidth,bottom:Fr+Be.offsetHeight})},triggerOnKeyDown:Go(Hc),triggerOnKeyPress:Go(Tc),triggerOnKeyUp:Cc,triggerOnMouseDown:Go(Kl),execCommand:function(de){if(Hl.hasOwnProperty(de))return Hl[de].call(null,this)},triggerElectric:Go(function(ne){Dt(this,ne)}),findPosH:function(de,Be,ft,Nt){var Vt=1;Be<0&&(Vt=-1,Be=-Be);for(var Gt=Xt(this.doc,de),Fr=0;Fr<Be&&!(Gt=qt(this.doc,Gt,Vt,ft,Nt),Gt.hitSide);++Fr);return Gt},moveH:Go(function(ne,de){var Be=this;this.extendSelectionsBy(function(ft){return Be.display.shift||Be.doc.extend||ft.empty()?qt(Be.doc,ft.head,ne,de,Be.options.rtlMoveVisually):ne<0?ft.from():ft.to()},se)}),deleteH:Go(function(ne,de){var Be=this.doc.sel,ft=this.doc;Be.somethingSelected()?ft.replaceSelection("",null,"+delete"):kl(this,function(Nt){var Vt=qt(ft,Nt.head,ne,de,!1);return ne<0?{from:Vt,to:Nt.head}:{from:Nt.head,to:Vt}})}),findPosV:function(de,Be,ft,Nt){var Vt=1,Gt=Nt;Be<0&&(Vt=-1,Be=-Be);for(var Fr=Xt(this.doc,de),Jr=0;Jr<Be;++Jr){var pn=Fa(this,Fr,"div");if(Gt==null?Gt=pn.left:pn.left=Gt,Fr=fr(this,pn,Vt,ft),Fr.hitSide)break}return Fr},moveV:Go(function(ne,de){var Be=this,ft=this.doc,Nt=[],Vt=!this.display.shift&&!ft.extend&&ft.sel.somethingSelected();if(ft.extendSelectionsBy(function(Fr){if(Vt)return ne<0?Fr.from():Fr.to();var Jr=Fa(Be,Fr.head,"div");Fr.goalColumn!=null&&(Jr.left=Fr.goalColumn),Nt.push(Jr.left);var pn=fr(Be,Jr,ne,de);return de=="page"&&Fr==ft.sel.primary()&&Da(Be,sa(Be,pn,"div").top-Jr.top),pn},se),Nt.length)for(var Gt=0;Gt<ft.sel.ranges.length;Gt++)ft.sel.ranges[Gt].goalColumn=Nt[Gt]}),findWordAt:function(de){var Be=this.doc,ft=Fe(Be,de.line).text,Nt=de.ch,Vt=de.ch;if(ft){var Gt=this.getHelper(de,"wordChars");(de.sticky=="before"||Vt==ft.length)&&Nt?--Nt:++Vt;for(var Fr=ft.charAt(Nt),Jr=X(Fr,Gt)?function(pn){return X(pn,Gt)}:/\s/.test(Fr)?function(pn){return/\s/.test(pn)}:function(pn){return!/\s/.test(pn)&&!X(pn)};Nt>0&&Jr(ft.charAt(Nt-1));)--Nt;for(;Vt<ft.length&&Jr(ft.charAt(Vt));)++Vt}return new ce(Qt(de.line,Nt),Qt(de.line,Vt))},toggleOverwrite:function(de){if(de!=null&&de==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?W(this.display.cursorDiv,"CodeMirror-overwrite"):_(this.display.cursorDiv,"CodeMirror-overwrite"),vt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==P()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Go(function(ne,de){$o(this,ne,de)}),getScrollInfo:function(){var de=this.display.scroller;return{left:de.scrollLeft,top:de.scrollTop,height:de.scrollHeight-nn(this)-this.display.barHeight,width:de.scrollWidth-nn(this)-this.display.barWidth,clientHeight:hn(this),clientWidth:Dn(this)}},scrollIntoView:Go(function(ne,de){ne==null?(ne={from:this.doc.sel.primary().head,to:null},de==null&&(de=this.options.cursorScrollMargin)):typeof ne=="number"?ne={from:Qt(ne,0),to:null}:ne.from==null&&(ne={from:ne,to:null}),ne.to||(ne.to=ne.from),ne.margin=de||0,ne.from.line!=null?ns(this,ne):va(this,ne.from,ne.to,ne.margin)}),setSize:Go(function(ne,de){var Be=this,ft=function(Gt){return typeof Gt=="number"||/^\d+$/.test(String(Gt))?Gt+"px":Gt};ne!=null&&(this.display.wrapper.style.width=ft(ne)),de!=null&&(this.display.wrapper.style.height=ft(de)),this.options.lineWrapping&&da(this);var Nt=this.display.viewFrom;this.doc.iter(Nt,this.display.viewTo,function(Vt){if(Vt.widgets){for(var Gt=0;Gt<Vt.widgets.length;Gt++)if(Vt.widgets[Gt].noHScroll){Di(Be,Nt,"widget");break}}++Nt}),this.curOp.forceUpdate=!0,vt(this,"refresh",this)}),operation:function(de){return No(this,de)},startOperation:function(){return Vo(this)},endOperation:function(){return Xo(this)},refresh:Go(function(){var ne=this.display.cachedTextHeight;Ci(this),this.curOp.forceUpdate=!0,Ma(this),$o(this,this.doc.scrollLeft,this.doc.scrollTop),Hs(this.display),(ne==null||Math.abs(ne-Ua(this.display))>.5||this.options.lineWrapping)&&qa(this),vt(this,"refresh",this)}),swapDoc:Go(function(ne){var de=this.doc;return de.cm=null,this.state.selectingText&&this.state.selectingText(),Ti(this,ne),Ma(this),this.display.input.reset(),$o(this,ne.scrollLeft,ne.scrollTop),this.curOp.forceScroll=!0,Br(this,"swapDoc",this,de),de}),phrase:function(de){var Be=this.options.phrases;return Be&&Object.prototype.hasOwnProperty.call(Be,de)?Be[de]:de},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}},Bt(O),O.registerHelper=function(ne,de,Be){ee.hasOwnProperty(ne)||(ee[ne]=O[ne]={_global:[]}),ee[ne][de]=Be},O.registerGlobalHelper=function(ne,de,Be,ft){O.registerHelper(ne,de,ft),ee[ne]._global.push({pred:Be,val:ft})}}function qt(O,M,ee,ne,de){var Be=M,ft=ee,Nt=Fe(O,M.line),Vt=de&&O.direction=="rtl"?-ee:ee;function Gt(){var Ii=M.line+Vt;return Ii<O.first||Ii>=O.first+O.size?!1:(M=new Qt(Ii,M.ch,M.sticky),Nt=Fe(O,Ii))}function Fr(Ii){var Vi;if(ne=="codepoint"){var ia=Nt.text.charCodeAt(M.ch+(ne>0?0:-1));isNaN(ia)?Vi=null:Vi=new Qt(M.line,Math.max(0,Math.min(Nt.text.length,M.ch+ee*(ia>=55296&&ia<56320?2:1))),-ee)}else de?Vi=hc(O.cm,Nt,M,ee):Vi=Sc(Nt,M,ee);if(Vi==null)if(!Ii&&Gt())M=xc(de,O.cm,Nt,M.line,Vt);else return!1;else M=Vi;return!0}if(ne=="char"||ne=="codepoint")Fr();else if(ne=="column")Fr(!0);else if(ne=="word"||ne=="group")for(var Jr=null,pn=ne=="group",vn=O.cm&&O.cm.getHelper(M,"wordChars"),ci=!0;!(ee<0&&!Fr(!ci));ci=!1){var Si=Nt.text.charAt(M.ch)||`
`,Ri=X(Si,vn)?"w":pn&&Si==`
`?"n":!pn||/\s/.test(Si)?null:"p";if(pn&&!ci&&!Ri&&(Ri="s"),Jr&&Jr!=Ri){ee<0&&(ee=1,Fr(),M.sticky="after");break}if(Ri&&(Jr=Ri),ee>0&&!Fr(!ci))break}var Ni=fl(O,M,Be,ft,!0);return Ft(Be,Ni)&&(Ni.hitSide=!0),Ni}function fr(O,M,ee,ne){var de=O.doc,Be=M.left,ft;if(ne=="page"){var Nt=Math.min(O.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Vt=Math.max(Nt-.5*Ua(O.display),3);ft=(ee>0?M.bottom:M.top)+ee*Vt}else ne=="line"&&(ft=ee>0?M.bottom+3:M.top-3);for(var Gt;!(Gt=Ya(O,Be,ft),!Gt.outside);){if(ee<0?ft<=0:ft>=de.height){Gt.hitSide=!0;break}ft+=ee*5}return Gt}var br=function(M){this.cm=M,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new G,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};br.prototype.init=function(O){var M=this,ee=this,ne=ee.cm,de=ee.div=O.lineDiv;ar(de,ne.options.spellcheck,ne.options.autocorrect,ne.options.autocapitalize);function Be(Nt){for(var Vt=Nt.target;Vt;Vt=Vt.parentNode){if(Vt==de)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Vt.className))break}return!1}Ne(de,"paste",function(Nt){if(!Be(Nt)||It(ne,Nt)||_t(Nt,ne))return;u<=11&&setTimeout(Do(ne,function(){return M.updateFromDOM()}),20)}),Ne(de,"compositionstart",function(Nt){M.composing={data:Nt.data,done:!1}}),Ne(de,"compositionupdate",function(Nt){M.composing||(M.composing={data:Nt.data,done:!1})}),Ne(de,"compositionend",function(Nt){M.composing&&(Nt.data!=M.composing.data&&M.readFromDOMSoon(),M.composing.done=!0)}),Ne(de,"touchstart",function(){return ee.forceCompositionEnd()}),Ne(de,"input",function(){M.composing||M.readFromDOMSoon()});function ft(Nt){if(!Be(Nt)||It(ne,Nt))return;if(ne.somethingSelected())ze({lineWise:!1,text:ne.getSelections()}),Nt.type=="cut"&&ne.replaceSelection("",null,"cut");else if(ne.options.lineWiseCopyCut){var Vt=Mt(ne);ze({lineWise:!0,text:Vt.text}),Nt.type=="cut"&&ne.operation(function(){ne.setSelections(Vt.ranges,0,oe),ne.replaceSelection("",null,"cut")})}else return;if(Nt.clipboardData){Nt.clipboardData.clearData();var Gt=ye.text.join(`
`);if(Nt.clipboardData.setData("Text",Gt),Nt.clipboardData.getData("Text")==Gt){Nt.preventDefault();return}}var Fr=vr(),Jr=Fr.firstChild;ne.display.lineSpace.insertBefore(Fr,ne.display.lineSpace.firstChild),Jr.value=ye.text.join(`
`);var pn=document.activeElement;j(Jr),setTimeout(function(){ne.display.lineSpace.removeChild(Fr),pn.focus(),pn==de&&ee.showPrimarySelection()},50)}Ne(de,"copy",ft),Ne(de,"cut",ft)},br.prototype.screenReaderLabelChanged=function(O){O?this.div.setAttribute("aria-label",O):this.div.removeAttribute("aria-label")},br.prototype.prepareSelection=function(){var O=Hi(this.cm,!1);return O.focus=document.activeElement==this.div,O},br.prototype.showSelection=function(O,M){if(!O||!this.cm.display.view.length)return;(O.focus||M)&&this.showPrimarySelection(),this.showMultipleSelections(O)},br.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},br.prototype.showPrimarySelection=function(){var O=this.getSelection(),M=this.cm,ee=M.doc.sel.primary(),ne=ee.from(),de=ee.to();if(M.display.viewTo==M.display.viewFrom||ne.line>=M.display.viewTo||de.line<M.display.viewFrom){O.removeAllRanges();return}var Be=$n(M,O.anchorNode,O.anchorOffset),ft=$n(M,O.focusNode,O.focusOffset);if(Be&&!Be.bad&&ft&&!ft.bad&&Ot(Pr(Be,ft),ne)==0&&Ot(Rr(Be,ft),de)==0)return;var Nt=M.display.view,Vt=ne.line>=M.display.viewFrom&&jr(M,ne)||{node:Nt[0].measure.map[2],offset:0},Gt=de.line<M.display.viewTo&&jr(M,de);if(!Gt){var Fr=Nt[Nt.length-1].measure,Jr=Fr.maps?Fr.maps[Fr.maps.length-1]:Fr.map;Gt={node:Jr[Jr.length-1],offset:Jr[Jr.length-2]-Jr[Jr.length-3]}}if(!Vt||!Gt){O.removeAllRanges();return}var pn=O.rangeCount&&O.getRangeAt(0),vn;try{vn=F(Vt.node,Vt.offset,Gt.offset,Gt.node)}catch(ci){}vn&&(!b&&M.state.focused?(O.collapse(Vt.node,Vt.offset),vn.collapsed||(O.removeAllRanges(),O.addRange(vn))):(O.removeAllRanges(),O.addRange(vn)),pn&&O.anchorNode==null?O.addRange(pn):b&&this.startGracePeriod()),this.rememberSelection()},br.prototype.startGracePeriod=function(){var O=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){O.gracePeriod=!1,O.selectionChanged()&&O.cm.operation(function(){return O.cm.curOp.selectionChanged=!0})},20)},br.prototype.showMultipleSelections=function(O){I(this.cm.display.cursorDiv,O.cursors),I(this.cm.display.selectionDiv,O.selection)},br.prototype.rememberSelection=function(){var O=this.getSelection();this.lastAnchorNode=O.anchorNode,this.lastAnchorOffset=O.anchorOffset,this.lastFocusNode=O.focusNode,this.lastFocusOffset=O.focusOffset},br.prototype.selectionInEditor=function(){var O=this.getSelection();if(!O.rangeCount)return!1;var M=O.getRangeAt(0).commonAncestorContainer;return N(this.div,M)},br.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},br.prototype.blur=function(){this.div.blur()},br.prototype.getField=function(){return this.div},br.prototype.supportsTouch=function(){return!0},br.prototype.receivedFocus=function(){var O=this;this.selectionInEditor()?this.pollSelection():No(this.cm,function(){return O.cm.curOp.selectionChanged=!0});function M(){O.cm.state.focused&&(O.pollSelection(),O.polling.set(O.cm.options.pollInterval,M))}this.polling.set(this.cm.options.pollInterval,M)},br.prototype.selectionChanged=function(){var O=this.getSelection();return O.anchorNode!=this.lastAnchorNode||O.anchorOffset!=this.lastAnchorOffset||O.focusNode!=this.lastFocusNode||O.focusOffset!=this.lastFocusOffset},br.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var O=this.getSelection(),M=this.cm;if(c&&n&&this.cm.display.gutterSpecs.length&&Sn(O.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var ee=$n(M,O.anchorNode,O.anchorOffset),ne=$n(M,O.focusNode,O.focusOffset);ee&&ne&&No(M,function(){Fo(M.doc,Ie(ee,ne),oe),(ee.bad||ne.bad)&&(M.curOp.selectionChanged=!0)})},br.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var O=this.cm,M=O.display,ee=O.doc.sel.primary(),ne=ee.from(),de=ee.to();if(ne.ch==0&&ne.line>O.firstLine()&&(ne=Qt(ne.line-1,Fe(O.doc,ne.line-1).length)),de.ch==Fe(O.doc,de.line).text.length&&de.line<O.lastLine()&&(de=Qt(de.line+1,0)),ne.line<M.viewFrom||de.line>M.viewTo-1)return!1;var Be,ft,Nt;ne.line==M.viewFrom||(Be=Wi(O,ne.line))==0?(ft=sr(M.view[0].line),Nt=M.view[0].node):(ft=sr(M.view[Be].line),Nt=M.view[Be-1].node.nextSibling);var Vt=Wi(O,de.line),Gt,Fr;if(Vt==M.view.length-1?(Gt=M.viewTo-1,Fr=M.lineDiv.lastChild):(Gt=sr(M.view[Vt+1].line)-1,Fr=M.view[Vt+1].node.previousSibling),!Nt)return!1;for(var Jr=O.doc.splitLines(vi(O,Nt,Fr,ft,Gt)),pn=it(O.doc,Qt(ft,0),Qt(Gt,Fe(O.doc,Gt).text.length));Jr.length>1&&pn.length>1;)if(De(Jr)==De(pn))Jr.pop(),pn.pop(),Gt--;else if(Jr[0]==pn[0])Jr.shift(),pn.shift(),ft++;else break;for(var vn=0,ci=0,Si=Jr[0],Ri=pn[0],Ni=Math.min(Si.length,Ri.length);vn<Ni&&Si.charCodeAt(vn)==Ri.charCodeAt(vn);)++vn;for(var Ii=De(Jr),Vi=De(pn),ia=Math.min(Ii.length-(Jr.length==1?vn:0),Vi.length-(pn.length==1?vn:0));ci<ia&&Ii.charCodeAt(Ii.length-ci-1)==Vi.charCodeAt(Vi.length-ci-1);)++ci;if(Jr.length==1&&pn.length==1&&ft==ne.line)for(;vn&&vn>ne.ch&&Ii.charCodeAt(Ii.length-ci-1)==Vi.charCodeAt(Vi.length-ci-1);)vn--,ci++;Jr[Jr.length-1]=Ii.slice(0,Ii.length-ci).replace(/^\u200b+/,""),Jr[0]=Jr[0].slice(vn).replace(/\u200b+$/,"");var Ka=Qt(ft,vn),Oa=Qt(Gt,pn.length?De(pn).length-ci:0);if(Jr.length>1||Jr[0]||Ot(Ka,Oa))return Qs(O.doc,Jr,Ka,Oa,"+input"),!0},br.prototype.ensurePolled=function(){this.forceCompositionEnd()},br.prototype.reset=function(){this.forceCompositionEnd()},br.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},br.prototype.readFromDOMSoon=function(){var O=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(O.readDOMTimeout=null,O.composing)if(O.composing.done)O.composing=null;else return;O.updateFromDOM()},80)},br.prototype.updateFromDOM=function(){var O=this;(this.cm.isReadOnly()||!this.pollContent())&&No(this.cm,function(){return Ci(O.cm)})},br.prototype.setUneditable=function(O){O.contentEditable="false"},br.prototype.onKeyPress=function(O){if(O.charCode==0||this.composing)return;O.preventDefault(),this.cm.isReadOnly()||Do(this.cm,lt)(this.cm,String.fromCharCode(O.charCode==null?O.keyCode:O.charCode),0)},br.prototype.readOnlyChanged=function(O){this.div.contentEditable=String(O!="nocursor")},br.prototype.onContextMenu=function(){},br.prototype.resetPosition=function(){},br.prototype.needsContentAttribute=!0;function jr(O,M){var ee=gi(O,M.line);if(!ee||ee.hidden)return null;var ne=Fe(O.doc,M.line),de=xn(ee,ne,M.line),Be=st(ne,O.doc.direction),ft="left";if(Be){var Nt=xe(Be,M.ch);ft=Nt%2?"right":"left"}var Vt=Yi(de.map,M.ch,ft);return Vt.offset=Vt.collapse=="right"?Vt.end:Vt.start,Vt}function Sn(O){for(var M=O;M;M=M.parentNode)if(/CodeMirror-gutter-wrapper/.test(M.className))return!0;return!1}function Un(O,M){return M&&(O.bad=!0),O}function vi(O,M,ee,ne,de){var Be="",ft=!1,Nt=O.doc.lineSeparator(),Vt=!1;function Gt(vn){return function(ci){return ci.id==vn}}function Fr(){ft&&(Be+=Nt,Vt&&(Be+=Nt),ft=Vt=!1)}function Jr(vn){vn&&(Fr(),Be+=vn)}function pn(vn){if(vn.nodeType==1){var ci=vn.getAttribute("cm-text");if(ci){Jr(ci);return}var Si=vn.getAttribute("cm-marker"),Ri;if(Si){var Ni=O.findMarks(Qt(ne,0),Qt(de+1,0),Gt(+Si));Ni.length&&(Ri=Ni[0].find(0))&&Jr(it(O.doc,Ri.from,Ri.to).join(Nt));return}if(vn.getAttribute("contenteditable")=="false")return;var Ii=/^(pre|div|p|li|table|br)$/i.test(vn.nodeName);if(!/^br$/i.test(vn.nodeName)&&vn.textContent.length==0)return;Ii&&Fr();for(var Vi=0;Vi<vn.childNodes.length;Vi++)pn(vn.childNodes[Vi]);/^(pre|p)$/i.test(vn.nodeName)&&(Vt=!0),Ii&&(ft=!0)}else vn.nodeType==3&&Jr(vn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(pn(M),M==ee);)M=M.nextSibling,Vt=!1;return Be}function $n(O,M,ee){var ne;if(M==O.display.lineDiv){if(ne=O.display.lineDiv.childNodes[ee],!ne)return Un(O.clipPos(Qt(O.display.viewTo-1)),!0);M=null,ee=0}else for(ne=M;;ne=ne.parentNode){if(!ne||ne==O.display.lineDiv)return null;if(ne.parentNode&&ne.parentNode==O.display.lineDiv)break}for(var de=0;de<O.display.view.length;de++){var Be=O.display.view[de];if(Be.node==ne)return Qi(Be,M,ee)}}function Qi(O,M,ee){var ne=O.text.firstChild,de=!1;if(!M||!N(ne,M))return Un(Qt(sr(O.line),0),!0);if(M==ne&&(de=!0,M=ne.childNodes[ee],ee=0,!M)){var Be=O.rest?De(O.rest):O.line;return Un(Qt(sr(Be),Be.text.length),de)}var ft=M.nodeType==3?M:null,Nt=M;for(!ft&&M.childNodes.length==1&&M.firstChild.nodeType==3&&(ft=M.firstChild,ee&&(ee=ft.nodeValue.length));Nt.parentNode!=ne;)Nt=Nt.parentNode;var Vt=O.measure,Gt=Vt.maps;function Fr(Ri,Ni,Ii){for(var Vi=-1;Vi<(Gt?Gt.length:0);Vi++)for(var ia=Vi<0?Vt.map:Gt[Vi],Ka=0;Ka<ia.length;Ka+=3){var Oa=ia[Ka+2];if(Oa==Ri||Oa==Ni){var so=sr(Vi<0?O.line:O.rest[Vi]),xo=ia[Ka]+Ii;return(Ii<0||Oa!=Ri)&&(xo=ia[Ka+(Ii?1:0)]),Qt(so,xo)}}}var Jr=Fr(ft,Nt,ee);if(Jr)return Un(Jr,de);for(var pn=Nt.nextSibling,vn=ft?ft.nodeValue.length-ee:0;pn;pn=pn.nextSibling){if(Jr=Fr(pn,pn.firstChild,0),Jr)return Un(Qt(Jr.line,Jr.ch-vn),de);vn+=pn.textContent.length}for(var ci=Nt.previousSibling,Si=ee;ci;ci=ci.previousSibling){if(Jr=Fr(ci,ci.firstChild,-1),Jr)return Un(Qt(Jr.line,Jr.ch+Si),de);Si+=ci.textContent.length}}var Ei=function(M){this.cm=M,this.prevInput="",this.pollingFast=!1,this.polling=new G,this.hasSelection=!1,this.composing=null};Ei.prototype.init=function(O){var M=this,ee=this,ne=this.cm;this.createField(O);var de=this.textarea;O.wrapper.insertBefore(this.wrapper,O.wrapper.firstChild),a&&(de.style.width="0px"),Ne(de,"input",function(){l&&u>=9&&M.hasSelection&&(M.hasSelection=null),ee.poll()}),Ne(de,"paste",function(ft){if(It(ne,ft)||_t(ft,ne))return;ne.state.pasteIncoming=+new Date,ee.fastPoll()});function Be(ft){if(It(ne,ft))return;if(ne.somethingSelected())ze({lineWise:!1,text:ne.getSelections()});else if(ne.options.lineWiseCopyCut){var Nt=Mt(ne);ze({lineWise:!0,text:Nt.text}),ft.type=="cut"?ne.setSelections(Nt.ranges,null,oe):(ee.prevInput="",de.value=Nt.text.join(`
`),j(de))}else return;ft.type=="cut"&&(ne.state.cutIncoming=+new Date)}Ne(de,"cut",Be),Ne(de,"copy",Be),Ne(O.scroller,"paste",function(ft){if(cn(O,ft)||It(ne,ft))return;if(!de.dispatchEvent){ne.state.pasteIncoming=+new Date,ee.focus();return}var Nt=new Event("paste");Nt.clipboardData=ft.clipboardData,de.dispatchEvent(Nt)}),Ne(O.lineSpace,"selectstart",function(ft){cn(O,ft)||Qe(ft)}),Ne(de,"compositionstart",function(){var ft=ne.getCursor("from");ee.composing&&ee.composing.range.clear(),ee.composing={start:ft,range:ne.markText(ft,ne.getCursor("to"),{className:"CodeMirror-composing"})}}),Ne(de,"compositionend",function(){ee.composing&&(ee.poll(),ee.composing.range.clear(),ee.composing=null)})},Ei.prototype.createField=function(O){this.wrapper=vr(),this.textarea=this.wrapper.firstChild},Ei.prototype.screenReaderLabelChanged=function(O){O?this.textarea.setAttribute("aria-label",O):this.textarea.removeAttribute("aria-label")},Ei.prototype.prepareSelection=function(){var O=this.cm,M=O.display,ee=O.doc,ne=Hi(O);if(O.options.moveInputWithCursor){var de=Fa(O,ee.sel.primary().head,"div"),Be=M.wrapper.getBoundingClientRect(),ft=M.lineDiv.getBoundingClientRect();ne.teTop=Math.max(0,Math.min(M.wrapper.clientHeight-10,de.top+ft.top-Be.top)),ne.teLeft=Math.max(0,Math.min(M.wrapper.clientWidth-10,de.left+ft.left-Be.left))}return ne},Ei.prototype.showSelection=function(O){var M=this.cm,ee=M.display;I(ee.cursorDiv,O.cursors),I(ee.selectionDiv,O.selection),O.teTop!=null&&(this.wrapper.style.top=O.teTop+"px",this.wrapper.style.left=O.teLeft+"px")},Ei.prototype.reset=function(O){if(this.contextMenuPending||this.composing)return;var M=this.cm;if(M.somethingSelected()){this.prevInput="";var ee=M.getSelection();this.textarea.value=ee,M.state.focused&&j(this.textarea),l&&u>=9&&(this.hasSelection=ee)}else O||(this.prevInput=this.textarea.value="",l&&u>=9&&(this.hasSelection=null))},Ei.prototype.getField=function(){return this.textarea},Ei.prototype.supportsTouch=function(){return!1},Ei.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!h||P()!=this.textarea))try{this.textarea.focus()}catch(O){}},Ei.prototype.blur=function(){this.textarea.blur()},Ei.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ei.prototype.receivedFocus=function(){this.slowPoll()},Ei.prototype.slowPoll=function(){var O=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){O.poll(),O.cm.state.focused&&O.slowPoll()})},Ei.prototype.fastPoll=function(){var O=!1,M=this;M.pollingFast=!0;function ee(){var ne=M.poll();!ne&&!O?(O=!0,M.polling.set(60,ee)):(M.pollingFast=!1,M.slowPoll())}M.polling.set(20,ee)},Ei.prototype.poll=function(){var O=this,M=this.cm,ee=this.textarea,ne=this.prevInput;if(this.contextMenuPending||!M.state.focused||jt(ee)&&!ne&&!this.composing||M.isReadOnly()||M.options.disableInput||M.state.keySeq)return!1;var de=ee.value;if(de==ne&&!M.somethingSelected())return!1;if(l&&u>=9&&this.hasSelection===de||p&&/[\uf700-\uf7ff]/.test(de))return M.display.input.reset(),!1;if(M.doc.sel==M.display.selForContextMenu){var Be=de.charCodeAt(0);if(Be==8203&&!ne&&(ne="\u200B"),Be==8666)return this.reset(),this.cm.execCommand("undo")}for(var ft=0,Nt=Math.min(ne.length,de.length);ft<Nt&&ne.charCodeAt(ft)==de.charCodeAt(ft);)++ft;return No(M,function(){lt(M,de.slice(ft),ne.length-ft,null,O.composing?"*compose":null),de.length>1e3||de.indexOf(`
`)>-1?ee.value=O.prevInput="":O.prevInput=de,O.composing&&(O.composing.range.clear(),O.composing.range=M.markText(O.composing.start,M.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ei.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ei.prototype.onKeyPress=function(){l&&u>=9&&(this.hasSelection=null),this.fastPoll()},Ei.prototype.onContextMenu=function(O){var M=this,ee=M.cm,ne=ee.display,de=M.textarea;M.contextMenuPending&&M.contextMenuPending();var Be=no(ee,O),ft=ne.scroller.scrollTop;if(!Be||i)return;var Nt=ee.options.resetSelectionOnContextMenu;Nt&&ee.doc.sel.contains(Be)==-1&&Do(ee,Fo)(ee.doc,Ie(Be),oe);var Vt=de.style.cssText,Gt=M.wrapper.style.cssText,Fr=M.wrapper.offsetParent.getBoundingClientRect();M.wrapper.style.cssText="position: static",de.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(O.clientY-Fr.top-5)+"px; left: "+(O.clientX-Fr.left-5)+`px;
z-index: 1000; background: `+(l?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Jr;o&&(Jr=window.scrollY),ne.input.focus(),o&&window.scrollTo(null,Jr),ne.input.reset(),ee.somethingSelected()||(de.value=M.prevInput=" "),M.contextMenuPending=vn,ne.selForContextMenu=ee.doc.sel,clearTimeout(ne.detectingSelectAll);function pn(){if(de.selectionStart!=null){var Si=ee.somethingSelected(),Ri="\u200B"+(Si?de.value:"");de.value="\u21DA",de.value=Ri,M.prevInput=Si?"":"\u200B",de.selectionStart=1,de.selectionEnd=Ri.length,ne.selForContextMenu=ee.doc.sel}}function vn(){if(M.contextMenuPending!=vn)return;if(M.contextMenuPending=!1,M.wrapper.style.cssText=Gt,de.style.cssText=Vt,l&&u<9&&ne.scrollbars.setScrollTop(ne.scroller.scrollTop=ft),de.selectionStart!=null){(!l||l&&u<9)&&pn();var Si=0,Ri=function Ni(){ne.selForContextMenu==ee.doc.sel&&de.selectionStart==0&&de.selectionEnd>0&&M.prevInput=="\u200B"?Do(ee,Cs)(ee):Si++<10?ne.detectingSelectAll=setTimeout(Ni,500):(ne.selForContextMenu=null,ne.input.reset())};ne.detectingSelectAll=setTimeout(Ri,200)}}if(l&&u>=9&&pn(),C){Me(O);var ci=function Si(){Ye(window,"mouseup",Si),setTimeout(vn,20)};Ne(window,"mouseup",ci)}else setTimeout(vn,50)},Ei.prototype.readOnlyChanged=function(O){O||this.reset(),this.textarea.disabled=O=="nocursor",this.textarea.readOnly=!!O},Ei.prototype.setUneditable=function(){},Ei.prototype.needsContentAttribute=!1;function ua(O,M){if(M=M?K(M):{},M.value=O.value,!M.tabindex&&O.tabIndex&&(M.tabindex=O.tabIndex),!M.placeholder&&O.placeholder&&(M.placeholder=O.placeholder),M.autofocus==null){var ee=P();M.autofocus=ee==O||O.getAttribute("autofocus")!=null&&ee==document.body}function ne(){O.value=Nt.getValue()}var de;if(O.form&&(Ne(O.form,"submit",ne),!M.leaveSubmitMethodAlone)){var Be=O.form;de=Be.submit;try{var ft=Be.submit=function(){ne(),Be.submit=de,Be.submit(),Be.submit=ft}}catch(Vt){}}M.finishInit=function(Vt){Vt.save=ne,Vt.getTextArea=function(){return O},Vt.toTextArea=function(){Vt.toTextArea=isNaN,ne(),O.parentNode.removeChild(Vt.getWrapperElement()),O.style.display="",O.form&&(Ye(O.form,"submit",ne),!M.leaveSubmitMethodAlone&&typeof O.form.submit=="function"&&(O.form.submit=de))}},O.style.display="none";var Nt=rr(function(Vt){return O.parentNode.insertBefore(Vt,O.nextSibling)},M);return Nt}function qi(O){O.off=Ye,O.on=Ne,O.wheelEventPixels=un,O.Doc=Zs,O.splitLines=Wt,O.countColumn=U,O.findColumn=he,O.isWordChar=V,O.Pass=q,O.signal=vt,O.Line=Oi,O.changeEnd=Ke,O.scrollbarModel=Ms,O.Pos=Qt,O.cmpPos=Ot,O.modes=yt,O.mimeModes=Jt,O.resolveMode=rn,O.getMode=ei,O.modeExtensions=fn,O.extendMode=Zr,O.copyState=bt,O.startState=Oe,O.innerMode=ut,O.commands=Hl,O.keyMap=Cl,O.keyName=dc,O.isModifierKey=tc,O.lookupKey=xl,O.normalizeKeyMap=ml,O.StringStream=be,O.SharedTextMarker=Ul,O.TextMarker=Ls,O.LineWidget=ws,O.e_preventDefault=Qe,O.e_stopPropagation=te,O.e_stop=Me,O.addClass=W,O.contains=N,O.rmClass=_,O.keyNames=Sl}He(rr),ir(rr);var aa="iter insert remove copy getEditor constructor".split(" ");for(var Xa in Zs.prototype)Zs.prototype.hasOwnProperty(Xa)&&z(aa,Xa)<0&&(rr.prototype[Xa]=function(O){return function(){return O.apply(this.doc,arguments)}}(Zs.prototype[Xa]));return Bt(Zs),rr.inputStyles={textarea:Ei,contenteditable:br},rr.defineMode=function(O){!rr.defaults.mode&&O!="null"&&(rr.defaults.mode=O),Lr.apply(this,arguments)},rr.defineMIME=zr,rr.defineMode("null",function(){return{token:function(M){return M.skipToEnd()}}}),rr.defineMIME("text/plain","null"),rr.defineExtension=function(O,M){rr.prototype[O]=M},rr.defineDocExtension=function(O,M){Zs.prototype[O]=M},rr.fromTextArea=ua,qi(rr),rr.version="5.58.2",rr})},W2nI:function(k,B,d){var w=d("IwbS"),A=d("ProS"),b=d("bYtY"),g=["itemStyle","opacity"],v=["emphasis","itemStyle","opacity"],f=["lineStyle","opacity"],l=["emphasis","lineStyle","opacity"];function u(s,t){return s.getVisual("opacity")||s.getModel().get(t)}function o(s,t,a){var c=s.getGraphicEl(),h=u(s,t);a!=null&&(h==null&&(h=1),h*=a),c.downplay&&c.downplay(),c.traverse(function(p){p.type!=="group"&&p.setStyle("opacity",h)})}function e(s,t){var a=u(s,t),c=s.getGraphicEl();c.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",a)}),c.highlight&&c.highlight()}var n=w.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(s,t){var a=t.extent;s.moveTo(t.x1,t.y1),s.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(s.lineTo(t.x2+a,t.y2),s.bezierCurveTo(t.cpx2+a,t.cpy2,t.cpx1+a,t.cpy1,t.x1+a,t.y1)):(s.lineTo(t.x2,t.y2+a),s.bezierCurveTo(t.cpx2,t.cpy2+a,t.cpx1,t.cpy1+a,t.x1,t.y1+a)),s.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),i=A.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(s,t,a){var c=this,h=s.getGraph(),p=this.group,m=s.layoutInfo,S=m.width,y=m.height,x=s.getData(),C=s.getData("edge"),T=s.get("orient");this._model=s,p.removeAll(),p.attr("position",[m.x,m.y]),h.eachEdge(function(_){var E=new n;E.dataIndex=_.dataIndex,E.seriesIndex=s.seriesIndex,E.dataType="edge";var I=_.getModel("lineStyle"),L=I.get("curveness"),D=_.node1.getLayout(),F=_.node1.getModel(),N=F.get("localX"),P=F.get("localY"),W=_.node2.getLayout(),R=_.node2.getModel(),j=R.get("localX"),H=R.get("localY"),K=_.getLayout(),U,G,z,Y,q,oe,ie,se;E.shape.extent=Math.max(1,K.dy),E.shape.orient=T,T==="vertical"?(U=(N!=null?N*S:D.x)+K.sy,G=(P!=null?P*y:D.y)+D.dy,z=(j!=null?j*S:W.x)+K.ty,Y=H!=null?H*y:W.y,q=U,oe=G*(1-L)+Y*L,ie=z,se=G*L+Y*(1-L)):(U=(N!=null?N*S:D.x)+D.dx,G=(P!=null?P*y:D.y)+K.sy,z=j!=null?j*S:W.x,Y=(H!=null?H*y:W.y)+K.ty,q=U*(1-L)+z*L,oe=G,ie=U*L+z*(1-L),se=Y),E.setShape({x1:U,y1:G,x2:z,y2:Y,cpx1:q,cpy1:oe,cpx2:ie,cpy2:se}),E.setStyle(I.getItemStyle());switch(E.style.fill){case"source":E.style.fill=_.node1.getVisual("color");break;case"target":E.style.fill=_.node2.getVisual("color");break}w.setHoverStyle(E,_.getModel("emphasis.lineStyle").getItemStyle()),p.add(E),C.setItemGraphicEl(_.dataIndex,E)}),h.eachNode(function(_){var E=_.getLayout(),I=_.getModel(),L=I.get("localX"),D=I.get("localY"),F=I.getModel("label"),N=I.getModel("emphasis.label"),P=new w.Rect({shape:{x:L!=null?L*S:E.x,y:D!=null?D*y:E.y,width:E.dx,height:E.dy},style:I.getModel("itemStyle").getItemStyle()}),W=_.getModel("emphasis.itemStyle").getItemStyle();w.setLabelStyle(P.style,W,F,N,{labelFetcher:s,labelDataIndex:_.dataIndex,defaultText:_.id,isRectText:!0}),P.setStyle("fill",_.getVisual("color")),w.setHoverStyle(P,W),p.add(P),x.setItemGraphicEl(_.dataIndex,P),P.dataType="node"}),x.eachItemGraphicEl(function(_,E){var I=x.getItemModel(E);I.get("draggable")&&(_.drift=function(L,D){c._focusAdjacencyDisabled=!0,this.shape.x+=L,this.shape.y+=D,this.dirty(),a.dispatchAction({type:"dragNode",seriesId:s.id,dataIndex:x.getRawIndex(E),localX:this.shape.x/S,localY:this.shape.y/y})},_.ondragend=function(){c._focusAdjacencyDisabled=!1},_.draggable=!0,_.cursor="move"),_.highlight=function(){this.trigger("emphasis")},_.downplay=function(){this.trigger("normal")},_.focusNodeAdjHandler&&_.off("mouseover",_.focusNodeAdjHandler),_.unfocusNodeAdjHandler&&_.off("mouseout",_.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(_.on("mouseover",_.focusNodeAdjHandler=function(){c._focusAdjacencyDisabled||(c._clearTimer(),a.dispatchAction({type:"focusNodeAdjacency",seriesId:s.id,dataIndex:_.dataIndex}))}),_.on("mouseout",_.unfocusNodeAdjHandler=function(){c._focusAdjacencyDisabled||c._dispatchUnfocus(a)}))}),C.eachItemGraphicEl(function(_,E){var I=C.getItemModel(E);_.focusNodeAdjHandler&&_.off("mouseover",_.focusNodeAdjHandler),_.unfocusNodeAdjHandler&&_.off("mouseout",_.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(_.on("mouseover",_.focusNodeAdjHandler=function(){c._focusAdjacencyDisabled||(c._clearTimer(),a.dispatchAction({type:"focusNodeAdjacency",seriesId:s.id,edgeDataIndex:_.dataIndex}))}),_.on("mouseout",_.unfocusNodeAdjHandler=function(){c._focusAdjacencyDisabled||c._dispatchUnfocus(a)}))}),!this._data&&s.get("animation")&&p.setClipPath(r(p.getBoundingRect(),s,function(){p.removeClipPath()})),this._data=s.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(s){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,s.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(s,t,a,c){var h=s.getData(),p=h.graph,m=c.dataIndex,S=h.getItemModel(m),y=c.edgeDataIndex;if(m==null&&y==null)return;var x=p.getNodeByIndex(m),C=p.getEdgeByIndex(y);if(p.eachNode(function(_){o(_,g,.1)}),p.eachEdge(function(_){o(_,f,.1)}),x){e(x,v);var T=S.get("focusNodeAdjacency");T==="outEdges"?b.each(x.outEdges,function(_){if(_.dataIndex<0)return;e(_,l),e(_.node2,v)}):T==="inEdges"?b.each(x.inEdges,function(_){if(_.dataIndex<0)return;e(_,l),e(_.node1,v)}):T==="allEdges"&&b.each(x.edges,function(_){if(_.dataIndex<0)return;e(_,l),_.node1!==x&&e(_.node1,v),_.node2!==x&&e(_.node2,v)})}C&&(e(C,l),e(C.node1,v),e(C.node2,v))},unfocusNodeAdjacency:function(s,t,a,c){var h=s.getGraph();h.eachNode(function(p){o(p,g)}),h.eachEdge(function(p){o(p,f)})}});function r(s,t,a){var c=new w.Rect({shape:{x:s.x-10,y:s.y-10,width:0,height:s.height+20}});return w.initProps(c,{shape:{width:s.width+20}},t,a),c}k.exports=i},W4dC:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=b.each,v=b.createHashMap,f=d("7DRL"),l=d("TIY9"),u=d("yS9w"),o=d("mFDi"),e={geoJSON:l,svg:u},n={load:function(t,a,c){var h=[],p=v(),m=v(),S,y=s(t);return g(y,function(x){var C=e[x.type].load(t,x,c);g(C.regions,function(_){var E=_.name;a&&a.hasOwnProperty(E)&&(_=_.cloneShallow(E=a[E])),h.push(_),p.set(E,_),m.set(E,_.center)});var T=C.boundingRect;T&&(S?S.union(T):S=T.clone())}),{regions:h,regionsMap:p,nameCoordMap:m,boundingRect:S||new o(0,0,0,0)}},makeGraphic:i("makeGraphic"),removeGraphic:i("removeGraphic")};function i(t){return function(a,c){var h=s(a),p=[];return g(h,function(m){var S=e[m.type][t];S&&p.push(S(a,m,c))}),p}}function r(t){}function s(t){var a=f.retrieveMap(t)||[];return a}k.exports=n},WGYa:function(k,B,d){var w=d("7yuC"),A=w.forceLayout,b=d("HF/U"),g=b.simpleLayout,v=d("lOQZ"),f=v.circularLayout,l=d("OELB"),u=l.linearMap,o=d("QBsz"),e=d("bYtY");function n(i){i.eachSeriesByType("graph",function(r){var s=r.coordinateSystem;if(s&&s.type!=="view")return;if(r.get("layout")==="force"){var t=r.preservedPoints||{},a=r.getGraph(),c=a.data,h=a.edgeData,p=r.getModel("force"),m=p.get("initLayout");r.preservedPoints?c.each(function(F){var N=c.getId(F);c.setItemLayout(F,t[N]||[NaN,NaN])}):!m||m==="none"?g(r):m==="circular"&&f(r,"value");var S=c.getDataExtent("value"),y=h.getDataExtent("value"),x=p.get("repulsion"),C=p.get("edgeLength");e.isArray(x)||(x=[x,x]),e.isArray(C)||(C=[C,C]),C=[C[1],C[0]];var T=c.mapArray("value",function(F,N){var P=c.getItemLayout(N),W=u(F,S,x);return isNaN(W)&&(W=(x[0]+x[1])/2),{w:W,rep:W,fixed:c.getItemModel(N).get("fixed"),p:!P||isNaN(P[0])||isNaN(P[1])?null:P}}),_=h.mapArray("value",function(F,N){var P=a.getEdgeByIndex(N),W=u(F,y,C);isNaN(W)&&(W=(C[0]+C[1])/2);var R=P.getModel();return{n1:T[P.node1.dataIndex],n2:T[P.node2.dataIndex],d:W,curveness:R.get("lineStyle.curveness")||0,ignoreForceLayout:R.get("ignoreForceLayout")}}),s=r.coordinateSystem,E=s.getBoundingRect(),I=A(T,_,{rect:E,gravity:p.get("gravity"),friction:p.get("friction")}),L=I.step;I.step=function(F){for(var N=0,P=T.length;N<P;N++)T[N].fixed&&o.copy(T[N].p,a.getNodeByIndex(N).getLayout());L(function(W,R,j){for(var H=0,K=W.length;H<K;H++)W[H].fixed||a.getNodeByIndex(H).setLayout(W[H].p),t[c.getId(H)]=W[H].p;for(var H=0,K=R.length;H<K;H++){var U=R[H],G=a.getEdgeByIndex(H),z=U.n1.p,Y=U.n2.p,q=G.getLayout();q=q?q.slice():[],q[0]=q[0]||[],q[1]=q[1]||[],o.copy(q[0],z),o.copy(q[1],Y),+U.curveness&&(q[2]=[(z[0]+Y[0])/2-(z[1]-Y[1])*U.curveness,(z[1]+Y[1])/2-(Y[0]-z[0])*U.curveness]),G.setLayout(q)}F&&F(j)})},r.forceLayout=I,r.preservedPoints=t,I.step()}else r.forceLayout=null})}k.exports=n},WKfj:function(k,B,d){"use strict";d.d(B,"d",function(){return A}),d.d(B,"e",function(){return b}),d.d(B,"f",function(){return g}),d.d(B,"c",function(){return v}),d.d(B,"b",function(){return l}),d.d(B,"a",function(){return o});var w=d("KQm4");function A(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function b(e,n){var i=n.labelInValue,r=n.combobox,s=new Map;if(e===void 0||e===""&&r)return[[],s];var t=Array.isArray(e)?e:[e],a=t;return i&&(a=t.filter(function(c){return c!==null}).map(function(c){var h=c.key,p=c.value,m=p!==void 0?p:h;return s.set(m,c),m})),[a,s]}function g(e,n){var i=n.optionLabelProp,r=n.labelInValue,s=n.prevValueMap,t=n.options,a=n.getLabeledValue,c=e;return r&&(c=c.map(function(h){return a(h,{options:t,prevValueMap:s,labelInValue:r,optionLabelProp:i})})),c}function v(e,n){var i=Object(w.a)(n),r;for(r=e.length-1;r>=0&&e[r].disabled;r-=1);var s=null;return r!==-1&&(s=i[r],i.splice(r,1)),{values:i,removedValue:s}}var f=typeof window!="undefined"&&window.document&&window.document.documentElement,l=f,u=0;function o(){var e;return l?(e=u,u+=1):e="TEST_OR_SSR",e}},"WN+l":function(k,B,d){var w=d("bYtY"),A=d("IwbS");function b(v,f,l,u){var o=l.axis;if(o.scale.isBlank())return;var e=l.getModel("splitArea"),n=e.getModel("areaStyle"),i=n.get("color"),r=u.coordinateSystem.getRect(),s=o.getTicksCoords({tickModel:e,clamp:!0});if(!s.length)return;var t=i.length,a=v.__splitAreaColors,c=w.createHashMap(),h=0;if(a)for(var p=0;p<s.length;p++){var m=a.get(s[p].tickValue);if(m!=null){h=(m+(t-1)*p)%t;break}}var S=o.toGlobalCoord(s[0].coord),y=n.getAreaStyle();i=w.isArray(i)?i:[i];for(var p=1;p<s.length;p++){var x=o.toGlobalCoord(s[p].coord),C,T,_,E;o.isHorizontal()?(C=S,T=r.y,_=x-C,E=r.height,S=C+_):(C=r.x,T=S,_=r.width,E=x-T,S=T+E);var I=s[p-1].tickValue;I!=null&&c.set(I,h),f.add(new A.Rect({anid:I!=null?"area_"+I:null,shape:{x:C,y:T,width:_,height:E},style:w.defaults({fill:i[h]},y),silent:!0})),h=(h+1)%t}v.__splitAreaColors=c}function g(v){v.__splitAreaColors=null}B.rectCoordAxisBuildSplitArea=b,B.rectCoordAxisHandleRemove=g},WaYH:function(k,B,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("Ff2n"),g=d("VTBJ"),v=d("1OyB"),f=d("vuIU"),l=d("JX7q"),u=d("Ji7U"),o=d("LK+K"),e=d("q1tI"),n=d("TSYQ"),i=d.n(n),r=d("sboe"),s=d("OZM5"),t=function(T){for(var _=T.prefixCls,E=T.level,I=T.isStart,L=T.isEnd,D="".concat(_,"-indent-unit"),F=[],N=0;N<E;N+=1){var P;F.push(e.createElement("span",{key:N,className:i()(D,(P={},Object(A.a)(P,"".concat(D,"-start"),I[N]),Object(A.a)(P,"".concat(D,"-end"),L[N]),P))}))}return e.createElement("span",{"aria-hidden":"true",className:"".concat(_,"-indent")},F)},a=t,c=d("815F"),h="open",p="close",m="---",S=function(C){Object(u.a)(_,C);var T=Object(o.a)(_);function _(){var E;return Object(v.a)(this,_),E=T.apply(this,arguments),E.state={dragNodeHighlight:!1},E.onSelectorClick=function(I){var L=E.props.context.onNodeClick;L(I,Object(c.b)(E.props)),E.isSelectable()?E.onSelect(I):E.onCheck(I)},E.onSelectorDoubleClick=function(I){var L=E.props.context.onNodeDoubleClick;L(I,Object(c.b)(E.props))},E.onSelect=function(I){if(E.isDisabled())return;var L=E.props.context.onNodeSelect;I.preventDefault(),L(I,Object(c.b)(E.props))},E.onCheck=function(I){if(E.isDisabled())return;var L=E.props,D=L.disableCheckbox,F=L.checked,N=E.props.context.onNodeCheck;if(!E.isCheckable()||D)return;I.preventDefault();var P=!F;N(I,Object(c.b)(E.props),P)},E.onMouseEnter=function(I){var L=E.props.context.onNodeMouseEnter;L(I,Object(c.b)(E.props))},E.onMouseLeave=function(I){var L=E.props.context.onNodeMouseLeave;L(I,Object(c.b)(E.props))},E.onContextMenu=function(I){var L=E.props.context.onNodeContextMenu;L(I,Object(c.b)(E.props))},E.onDragStart=function(I){var L=E.props.context.onNodeDragStart;I.stopPropagation(),E.setState({dragNodeHighlight:!0}),L(I,Object(l.a)(E));try{I.dataTransfer.setData("text/plain","")}catch(D){}},E.onDragEnter=function(I){var L=E.props.context.onNodeDragEnter;I.preventDefault(),I.stopPropagation(),L(I,Object(l.a)(E))},E.onDragOver=function(I){var L=E.props.context.onNodeDragOver;I.preventDefault(),I.stopPropagation(),L(I,Object(l.a)(E))},E.onDragLeave=function(I){var L=E.props.context.onNodeDragLeave;I.stopPropagation(),L(I,Object(l.a)(E))},E.onDragEnd=function(I){var L=E.props.context.onNodeDragEnd;I.stopPropagation(),E.setState({dragNodeHighlight:!1}),L(I,Object(l.a)(E))},E.onDrop=function(I){var L=E.props.context.onNodeDrop;I.preventDefault(),I.stopPropagation(),E.setState({dragNodeHighlight:!1}),L(I,Object(l.a)(E))},E.onExpand=function(I){var L=E.props,D=L.loading,F=L.context.onNodeExpand;if(D)return;F(I,Object(c.b)(E.props))},E.setSelectHandle=function(I){E.selectHandle=I},E.getNodeState=function(){var I=E.props.expanded;return E.isLeaf()?null:I?h:p},E.hasChildren=function(){var I=E.props.eventKey,L=E.props.context.keyEntities,D=L[I]||{},F=D.children;return!!(F||[]).length},E.isLeaf=function(){var I=E.props,L=I.isLeaf,D=I.loaded,F=E.props.context.loadData,N=E.hasChildren();return L===!1?!1:L||!F&&!N||F&&D&&!N},E.isDisabled=function(){var I=E.props.disabled,L=E.props.context.disabled;return!!(L||I)},E.isCheckable=function(){var I=E.props.checkable,L=E.props.context.checkable;return!L||I===!1?!1:L},E.syncLoadData=function(I){var L=I.expanded,D=I.loading,F=I.loaded,N=E.props.context,P=N.loadData,W=N.onNodeLoad;if(D)return;P&&L&&!E.isLeaf()&&(!E.hasChildren()&&!F&&W(Object(c.b)(E.props)))},E.renderSwitcherIconDom=function(I){var L=E.props.switcherIcon,D=E.props.context.switcherIcon,F=L||D;return typeof F=="function"?F(Object(g.a)(Object(g.a)({},E.props),{},{isLeaf:I})):F},E.renderSwitcher=function(){var I=E.props.expanded,L=E.props.context.prefixCls;if(E.isLeaf()){var D=E.renderSwitcherIconDom(!0);return D!==!1?e.createElement("span",{className:i()("".concat(L,"-switcher"),"".concat(L,"-switcher-noop"))},D):null}var F=i()("".concat(L,"-switcher"),"".concat(L,"-switcher_").concat(I?h:p)),N=E.renderSwitcherIconDom(!1);return N!==!1?e.createElement("span",{onClick:E.onExpand,className:F},N):null},E.renderCheckbox=function(){var I=E.props,L=I.checked,D=I.halfChecked,F=I.disableCheckbox,N=E.props.context.prefixCls,P=E.isDisabled(),W=E.isCheckable();if(!W)return null;var R=typeof W!="boolean"?W:null;return e.createElement("span",{className:i()("".concat(N,"-checkbox"),L&&"".concat(N,"-checkbox-checked"),!L&&D&&"".concat(N,"-checkbox-indeterminate"),(P||F)&&"".concat(N,"-checkbox-disabled")),onClick:E.onCheck},R)},E.renderIcon=function(){var I=E.props.loading,L=E.props.context.prefixCls;return e.createElement("span",{className:i()("".concat(L,"-iconEle"),"".concat(L,"-icon__").concat(E.getNodeState()||"docu"),I&&"".concat(L,"-icon_loading"))})},E.renderSelector=function(){var I=E.state.dragNodeHighlight,L=E.props,D=L.title,F=L.selected,N=L.icon,P=L.loading,W=L.data,R=E.props.context,j=R.prefixCls,H=R.showIcon,K=R.icon,U=R.draggable,G=R.loadData,z=R.titleRender,Y=E.isDisabled(),q=typeof U=="function"?U(W):U,oe="".concat(j,"-node-content-wrapper"),ie;if(H){var se=N||K;ie=se?e.createElement("span",{className:i()("".concat(j,"-iconEle"),"".concat(j,"-icon__customize"))},typeof se=="function"?se(E.props):se):E.renderIcon()}else G&&P&&(ie=E.renderIcon());var he;typeof D=="function"?he=D(W):z?he=z(W):he=D;var pe=e.createElement("span",{className:"".concat(j,"-title")},he);return e.createElement("span",{ref:E.setSelectHandle,title:typeof D=="string"?D:"",className:i()("".concat(oe),"".concat(oe,"-").concat(E.getNodeState()||"normal"),!Y&&(F||I)&&"".concat(j,"-node-selected"),!Y&&q&&"draggable"),draggable:!Y&&q||void 0,"aria-grabbed":!Y&&q||void 0,onMouseEnter:E.onMouseEnter,onMouseLeave:E.onMouseLeave,onContextMenu:E.onContextMenu,onClick:E.onSelectorClick,onDoubleClick:E.onSelectorDoubleClick,onDragStart:q?E.onDragStart:void 0},ie,pe,E.renderDropIndicator())},E.renderDropIndicator=function(){var I=E.props,L=I.disabled,D=I.eventKey,F=E.props.context,N=F.draggable,P=F.dropLevelOffset,W=F.dropPosition,R=F.prefixCls,j=F.indent,H=F.dropIndicatorRender,K=F.dragOverNodeKey,U=F.direction,G=N!==!1,z=!L&&G&&K===D;return z?H({dropPosition:W,dropLevelOffset:P,indent:j,prefixCls:R,direction:U}):null},E}return Object(f.a)(_,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var I=this.props.selectable,L=this.props.context.selectable;return typeof I=="boolean"?I:L}},{key:"render",value:function(){var I,L=this.props,D=L.eventKey,F=L.className,N=L.style,P=L.dragOver,W=L.dragOverGapTop,R=L.dragOverGapBottom,j=L.isLeaf,H=L.isStart,K=L.isEnd,U=L.expanded,G=L.selected,z=L.checked,Y=L.halfChecked,q=L.loading,oe=L.domRef,ie=L.active,se=L.data,he=L.onMouseMove,pe=Object(b.a)(L,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove"]),_e=this.props.context,De=_e.prefixCls,Xe=_e.filterTreeNode,J=_e.draggable,Ee=_e.keyEntities,qe=_e.dropContainerKey,ae=_e.dropTargetKey,V=this.isDisabled(),X=Object(s.f)(pe),Z=Ee[D]||{},ge=Z.level,le=K[K.length-1],Se=typeof J=="function"?J(se):J;return e.createElement("div",Object(w.a)({ref:oe,className:i()(F,"".concat(De,"-treenode"),(I={},Object(A.a)(I,"".concat(De,"-treenode-disabled"),V),Object(A.a)(I,"".concat(De,"-treenode-switcher-").concat(U?"open":"close"),!j),Object(A.a)(I,"".concat(De,"-treenode-checkbox-checked"),z),Object(A.a)(I,"".concat(De,"-treenode-checkbox-indeterminate"),Y),Object(A.a)(I,"".concat(De,"-treenode-selected"),G),Object(A.a)(I,"".concat(De,"-treenode-loading"),q),Object(A.a)(I,"".concat(De,"-treenode-active"),ie),Object(A.a)(I,"".concat(De,"-treenode-leaf-last"),le),Object(A.a)(I,"drop-target",ae===D),Object(A.a)(I,"drop-container",qe===D),Object(A.a)(I,"drag-over",!V&&P),Object(A.a)(I,"drag-over-gap-top",!V&&W),Object(A.a)(I,"drag-over-gap-bottom",!V&&R),Object(A.a)(I,"filter-node",Xe&&Xe(Object(c.b)(this.props))),I)),style:N,onDragEnter:Se?this.onDragEnter:void 0,onDragOver:Se?this.onDragOver:void 0,onDragLeave:Se?this.onDragLeave:void 0,onDrop:Se?this.onDrop:void 0,onDragEnd:Se?this.onDragEnd:void 0,onMouseMove:he},X),e.createElement(a,{prefixCls:De,level:ge,isStart:H,isEnd:K}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),_}(e.Component),y=function(T){return e.createElement(r.a.Consumer,null,function(_){return e.createElement(S,Object(w.a)({},T,{context:_}))})};y.displayName="TreeNode",y.defaultProps={title:m},y.isTreeNode=1;var x=B.a=y},Wqna:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=b.isObject,v=b.each,f=b.map,l=b.indexOf,u=b.retrieve,o=d("+TT/"),e=o.getLayoutRect,n=d("aX7z"),i=n.createScaleByModel,r=n.ifAxisCrossZero,s=n.niceScaleExtent,t=n.estimateLabelUnionRect,a=d("y+lR"),c=d("7AJT"),h=d("IDmD"),p=d("7hqr"),m=p.getStackedDimension;d("jtI2");function S(F,N,P){return F.getCoordSysModel()===N}function y(F,N,P){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(F,N,P),this.model=F}var x=y.prototype;x.type="grid",x.axisPointerEnabled=!0,x.getRect=function(){return this._rect},x.update=function(F,N){var P=this._axesMap;this._updateScale(F,this.model),v(P.x,function(R){s(R.scale,R.model)}),v(P.y,function(R){s(R.scale,R.model)});var W={};v(P.x,function(R){C(P,"y",R,W)}),v(P.y,function(R){C(P,"x",R,W)}),this.resize(this.model,N)};function C(F,N,P,W){P.getAxesOnZeroOf=function(){return j?[j]:[]};var R=F[N],j,H=P.model,K=H.get("axisLine.onZero"),U=H.get("axisLine.onZeroAxisIndex");if(!K)return;if(U!=null)T(R[U])&&(j=R[U]);else for(var G in R)if(R.hasOwnProperty(G)&&T(R[G])&&!W[z(R[G])]){j=R[G];break}j&&(W[z(j)]=!0);function z(Y){return Y.dim+"_"+Y.index}}function T(F){return F&&F.type!=="category"&&F.type!=="time"&&r(F)}x.resize=function(F,N,P){var W=e(F.getBoxLayoutParams(),{width:N.getWidth(),height:N.getHeight()});this._rect=W;var R=this._axesList;j(),!P&&F.get("containLabel")&&(v(R,function(H){if(!H.model.get("axisLabel.inside")){var K=t(H);if(K){var U=H.isHorizontal()?"height":"width",G=H.model.get("axisLabel.margin");W[U]-=K[U]+G,H.position==="top"?W.y+=K.height+G:H.position==="left"&&(W.x+=K.width+G)}}}),j());function j(){v(R,function(H){var K=H.isHorizontal(),U=K?[0,W.width]:[0,W.height],G=H.inverse?1:0;H.setExtent(U[G],U[1-G]),_(H,K?W.x:W.y)})}},x.getAxis=function(F,N){var P=this._axesMap[F];if(P!=null){if(N==null){for(var W in P)if(P.hasOwnProperty(W))return P[W]}return P[N]}},x.getAxes=function(){return this._axesList.slice()},x.getCartesian=function(F,N){if(F!=null&&N!=null){var P="x"+F+"y"+N;return this._coordsMap[P]}g(F)&&(N=F.yAxisIndex,F=F.xAxisIndex);for(var W=0,R=this._coordsList;W<R.length;W++)if(R[W].getAxis("x").index===F||R[W].getAxis("y").index===N)return R[W]},x.getCartesians=function(){return this._coordsList.slice()},x.convertToPixel=function(F,N,P){var W=this._findConvertTarget(F,N);return W.cartesian?W.cartesian.dataToPoint(P):W.axis?W.axis.toGlobalCoord(W.axis.dataToCoord(P)):null},x.convertFromPixel=function(F,N,P){var W=this._findConvertTarget(F,N);return W.cartesian?W.cartesian.pointToData(P):W.axis?W.axis.coordToData(W.axis.toLocalCoord(P)):null},x._findConvertTarget=function(F,N){var P=N.seriesModel,W=N.xAxisModel||P&&P.getReferringComponents("xAxis")[0],R=N.yAxisModel||P&&P.getReferringComponents("yAxis")[0],j=N.gridModel,H=this._coordsList,K,U;if(P)K=P.coordinateSystem,l(H,K)<0&&(K=null);else if(W&&R)K=this.getCartesian(W.componentIndex,R.componentIndex);else if(W)U=this.getAxis("x",W.componentIndex);else if(R)U=this.getAxis("y",R.componentIndex);else if(j){var G=j.coordinateSystem;G===this&&(K=this._coordsList[0])}return{cartesian:K,axis:U}},x.containPoint=function(F){var N=this._coordsList[0];if(N)return N.containPoint(F)},x._initCartesian=function(F,N,P){var W={left:!1,right:!1,top:!1,bottom:!1},R={x:{},y:{}},j={x:0,y:0};if(N.eachComponent("xAxis",H("x"),this),N.eachComponent("yAxis",H("y"),this),!j.x||!j.y){this._axesMap={},this._axesList=[];return}this._axesMap=R,v(R.x,function(K,U){v(R.y,function(G,z){var Y="x"+U+"y"+z,q=new a(Y);q.grid=this,q.model=F,this._coordsMap[Y]=q,this._coordsList.push(q),q.addAxis(K),q.addAxis(G)},this)},this);function H(K){return function(U,G){if(!S(U,F,N))return;var z=U.get("position");K==="x"?z!=="top"&&z!=="bottom"&&(z=W.bottom?"top":"bottom"):z!=="left"&&z!=="right"&&(z=W.left?"right":"left"),W[z]=!0;var Y=new c(K,i(U),[0,0],U.get("type"),z),q=Y.type==="category";Y.onBand=q&&U.get("boundaryGap"),Y.inverse=U.get("inverse"),U.axis=Y,Y.model=U,Y.grid=this,Y.index=G,this._axesList.push(Y),R[K][G]=Y,j[K]++}}},x._updateScale=function(F,N){v(this._axesList,function(W){W.scale.setExtent(Infinity,-Infinity)}),F.eachSeries(function(W){if(L(W)){var R=I(W,F),j=R[0],H=R[1];if(!S(j,N,F)||!S(H,N,F))return;var K=this.getCartesian(j.componentIndex,H.componentIndex),U=W.getData(),G=K.getAxis("x"),z=K.getAxis("y");U.type==="list"&&(P(U,G,W),P(U,z,W))}},this);function P(W,R,j){v(W.mapDimension(R.dim,!0),function(H){R.scale.unionExtentFromData(W,m(W,H))})}},x.getTooltipAxes=function(F){var N=[],P=[];return v(this.getCartesians(),function(W){var R=F!=null&&F!=="auto"?W.getAxis(F):W.getBaseAxis(),j=W.getOtherAxis(R);l(N,R)<0&&N.push(R),l(P,j)<0&&P.push(j)}),{baseAxes:N,otherAxes:P}};function _(F,N){var P=F.getExtent(),W=P[0]+P[1];F.toGlobalCoord=F.dim==="x"?function(R){return R+N}:function(R){return W-R+N},F.toLocalCoord=F.dim==="x"?function(R){return R-N}:function(R){return W-R+N}}var E=["xAxis","yAxis"];function I(F,N){return f(E,function(P){var W=F.getReferringComponents(P)[0];return W})}function L(F){return F.get("coordinateSystem")==="cartesian2d"}y.create=function(F,N){var P=[];return F.eachComponent("grid",function(W,R){var j=new y(W,F,N);j.name="grid_"+R,j.resize(W,N,!0),W.coordinateSystem=j,P.push(j)}),F.eachSeries(function(W){if(!L(W))return;var R=I(W,F),j=R[0],H=R[1],K=j.getCoordSysModel(),U=K.coordinateSystem;W.coordinateSystem=U.getCartesian(j.componentIndex,H.componentIndex)}),P},y.dimensions=y.prototype.dimensions=a.prototype.dimensions,h.register("cartesian2d",y);var D=y;k.exports=D},XOKv:function(k,B,d){d("OXB0"),d("SA4+")},Xmg4:function(k,B,d){var w=d("bYtY"),A=d("LPTA"),b=A.devicePixelRatio,g=d("K2GJ"),v=d("3C/r");function f(){return!1}function l(e,n,i){var r=w.createCanvas(),s=n.getWidth(),t=n.getHeight(),a=r.style;return a&&(a.position="absolute",a.left=0,a.top=0,a.width=s+"px",a.height=t+"px",r.setAttribute("data-zr-dom-id",e)),r.width=s*i,r.height=t*i,r}var u=function(n,i,r){var s;r=r||b,typeof n=="string"?s=l(n,i,r):w.isObject(n)&&(s=n,n=s.id),this.id=n,this.dom=s;var t=s.style;t&&(s.onselectstart=f,t["-webkit-user-select"]="none",t["user-select"]="none",t["-webkit-touch-callout"]="none",t["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",t.padding=0,t.margin=0,t["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=i,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=r};u.prototype={constructor:u,__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 n=this.dpr;this.domBack=l("back-"+this.id,this.painter,n),this.ctxBack=this.domBack.getContext("2d"),n!==1&&this.ctxBack.scale(n,n)},resize:function(n,i){var r=this.dpr,s=this.dom,t=s.style,a=this.domBack;t&&(t.width=n+"px",t.height=i+"px"),s.width=n*r,s.height=i*r,a&&(a.width=n*r,a.height=i*r,r!==1&&this.ctxBack.scale(r,r))},clear:function(n,i){var r=this.dom,s=this.ctx,t=r.width,a=r.height,i=i||this.clearColor,c=this.motionBlur&&!n,h=this.lastFrameAlpha,p=this.dpr;if(c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,t/p,a/p)),s.clearRect(0,0,t,a),i&&i!=="transparent"){var m;i.colorStops?(m=i.__canvasGradient||g.getGradient(s,i,{x:0,y:0,width:t,height:a}),i.__canvasGradient=m):i.image&&(m=v.prototype.getCanvasPattern.call(i,s)),s.save(),s.fillStyle=m||i,s.fillRect(0,0,t,a),s.restore()}if(c){var S=this.domBack;s.save(),s.globalAlpha=h,s.drawImage(S,0,0,t,a),s.restore()}}};var o=u;k.exports=o},Xnb7:function(k,B,d){var w=d("1RvN"),A=new w(50);function b(l){if(typeof l=="string"){var u=A.get(l);return u&&u.image}else return l}function g(l,u,o,e,n){if(l)if(typeof l=="string"){if(u&&u.__zrImageSrc===l||!o)return u;var i=A.get(l),r={hostEl:o,cb:e,cbPayload:n};return i?(u=i.image,!f(u)&&i.pending.push(r)):(u=new Image,u.onload=u.onerror=v,A.put(l,u.__cachedImgObj={image:u,pending:[r]}),u.src=u.__zrImageSrc=l),u}else return l;else return u}function v(){var l=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var u=0;u<l.pending.length;u++){var o=l.pending[u],e=o.cb;e&&e(this,o.cbPayload),o.hostEl.dirty()}l.pending.length=0}function f(l){return l&&l.width&&l.height}B.findExistImage=b,B.createOrUpdateImage=g,B.isImageReady=f},XpcN:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),g=d("bYtY"),v=d("oVpE"),f=v.createSymbol,l=d("IwbS"),u=d("eRkO"),o=u.makeBackground,e=d("+TT/"),n=g.curry,i=g.each,r=l.Group,s=b.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(p,m,S){var y=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!p.get("show",!0))return;var x=p.get("align"),C=p.get("orient");(!x||x==="auto")&&(x=p.get("left")==="right"&&C==="vertical"?"right":"left");var T=p.get("selector",!0),_=p.get("selectorPosition",!0);T&&(!_||_==="auto")&&(_=C==="horizontal"?"end":"start"),this.renderInner(x,p,m,S,T,C,_);var E=p.getBoxLayoutParams(),I={width:S.getWidth(),height:S.getHeight()},L=p.get("padding"),D=e.getLayoutRect(E,I,L),F=this.layoutInner(p,x,D,y,T,_),N=e.getLayoutRect(g.defaults({width:F.width,height:F.height},E),I,L);this.group.attr("position",[N.x-F.x,N.y-F.y]),this.group.add(this._backgroundEl=o(F,p))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(p,m,S,y,x,C,T){var _=this.getContentGroup(),E=g.createHashMap(),I=m.get("selectedMode"),L=[];S.eachRawSeries(function(D){!D.get("legendHoverLink")&&L.push(D.id)}),i(m.getData(),function(D,F){var N=D.get("name");if(!this.newlineDisabled&&(N===""||N===`
`)){_.add(new r({newline:!0}));return}var P=S.getSeriesByName(N)[0];if(E.get(N))return;if(P){var W=P.getData(),R=W.getVisual("color"),j=W.getVisual("borderColor");typeof R=="function"&&(R=R(P.getDataParams(0))),typeof j=="function"&&(j=j(P.getDataParams(0)));var H=W.getVisual("legendSymbol")||"roundRect",K=W.getVisual("symbol"),U=this._createItem(N,F,D,m,H,K,p,R,j,I);U.on("click",n(a,N,null,y,L)).on("mouseover",n(c,P.name,null,y,L)).on("mouseout",n(h,P.name,null,y,L)),E.set(N,!0)}else S.eachRawSeries(function(G){if(E.get(N))return;if(G.legendVisualProvider){var z=G.legendVisualProvider;if(!z.containName(N))return;var Y=z.indexOfName(N),q=z.getItemVisual(Y,"color"),oe=z.getItemVisual(Y,"borderColor"),ie="roundRect",se=this._createItem(N,F,D,m,ie,null,p,q,oe,I);se.on("click",n(a,null,N,y,L)).on("mouseover",n(c,null,N,y,L)).on("mouseout",n(h,null,N,y,L)),E.set(N,!0)}},this)},this),x&&this._createSelector(x,m,y,C,T)},_createSelector:function(p,m,S,y,x){var C=this.getSelectorGroup();i(p,function(_){T(_)});function T(_){var E=_.type,I=new l.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){S.dispatchAction({type:E==="all"?"legendAllSelect":"legendInverseSelect"})}});C.add(I);var L=m.getModel("selectorLabel"),D=m.getModel("emphasis.selectorLabel");l.setLabelStyle(I.style,I.hoverStyle={},L,D,{defaultText:_.title,isRectText:!1}),l.setHoverStyle(I)}},_createItem:function(p,m,S,y,x,C,T,_,E,I){var L=y.get("itemWidth"),D=y.get("itemHeight"),F=y.get("inactiveColor"),N=y.get("inactiveBorderColor"),P=y.get("symbolKeepAspect"),W=y.getModel("itemStyle"),R=y.isSelected(p),j=new r,H=S.getModel("textStyle"),K=S.get("icon"),U=S.getModel("tooltip"),G=U.parentModel;x=K||x;var z=f(x,0,0,L,D,R?_:F,P==null?!0:P);if(j.add(t(z,x,W,E,N,R)),!K&&C&&(C!==x||C==="none")){var Y=D*.8;C==="none"&&(C="circle");var q=f(C,(L-Y)/2,(D-Y)/2,Y,Y,R?_:F,P==null?!0:P);j.add(t(q,C,W,E,N,R))}var oe=T==="left"?L+5:-5,ie=T,se=y.get("formatter"),he=p;typeof se=="string"&&se?he=se.replace("{name}",p!=null?p:""):typeof se=="function"&&(he=se(p)),j.add(new l.Text({style:l.setTextStyle({},H,{text:he,x:oe,y:D/2,textFill:R?H.getTextColor():F,textAlign:ie,textVerticalAlign:"middle"})}));var pe=new l.Rect({shape:j.getBoundingRect(),invisible:!0,tooltip:U.get("show")?g.extend({content:p,formatter:G.get("formatter",!0)||function(){return p},formatterParams:{componentType:"legend",legendIndex:y.componentIndex,name:p,$vars:["name"]}},U.option):null});return j.add(pe),j.eachChild(function(_e){_e.silent=!0}),pe.silent=!I,this.getContentGroup().add(j),l.setHoverStyle(j),j.__legendDataIndex=m,j},layoutInner:function(p,m,S,y,x,C){var T=this.getContentGroup(),_=this.getSelectorGroup();e.box(p.get("orient"),T,p.get("itemGap"),S.width,S.height);var E=T.getBoundingRect(),I=[-E.x,-E.y];if(x){e.box("horizontal",_,p.get("selectorItemGap",!0));var L=_.getBoundingRect(),D=[-L.x,-L.y],F=p.get("selectorButtonGap",!0),N=p.getOrient().index,P=N===0?"width":"height",W=N===0?"height":"width",R=N===0?"y":"x";C==="end"?D[N]+=E[P]+F:I[N]+=L[P]+F,D[1-N]+=E[W]/2-L[W]/2,_.attr("position",D),T.attr("position",I);var j={x:0,y:0};return j[P]=E[P]+F+L[P],j[W]=Math.max(E[W],L[W]),j[R]=Math.min(0,L[R]+D[1-N]),j}else return T.attr("position",I),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(p,m,S,y,x,C){var T;return m!=="line"&&m.indexOf("empty")<0?(T=S.getItemStyle(),p.style.stroke=y,C||(T.stroke=x)):T=S.getItemStyle(["borderWidth","borderColor"]),p.setStyle(T)}function a(p,m,S,y){h(p,m,S,y),S.dispatchAction({type:"legendToggleSelect",name:p!=null?p:m}),c(p,m,S,y)}function c(p,m,S,y){var x=S.getZr().storage.getDisplayList()[0];x&&x.useHoverLayer||S.dispatchAction({type:"highlight",seriesName:p,name:m,excludeSeriesId:y})}function h(p,m,S,y){var x=S.getZr().storage.getDisplayList()[0];x&&x.useHoverLayer||S.dispatchAction({type:"downplay",seriesName:p,name:m,excludeSeriesId:y})}k.exports=s},XxSj:function(k,B,d){var w=d("bYtY"),A=d("Qe9p"),b=d("OELB"),g=b.linearMap,v=w.each,f=w.isObject,l=-1,u=function(C){var T=C.mappingMethod,_=C.type,E=this.option=w.clone(C);this.type=_,this.mappingMethod=T,this._normalizeData=S[T];var I=o[_];this.applyVisual=I.applyVisual,this.getColorMapper=I.getColorMapper,this._doMap=I._doMap[T],T==="piecewise"?(i(E),e(E)):T==="category"?E.categories?n(E):i(E,!0):(w.assert(T!=="linear"||E.dataExtent),i(E))};u.prototype={constructor:u,mapValueToVisual:function(C){var T=this._normalizeData(C);return this._doMap(T,C)},getNormalizer:function(){return w.bind(this._normalizeData,this)}};var o=u.visualHandlers={color:{applyVisual:t("color"),getColorMapper:function(){var C=this.option;return w.bind(C.mappingMethod==="category"?function(T,_){return!_&&(T=this._normalizeData(T)),a.call(this,T)}:function(T,_,E){var I=!!E;return!_&&(T=this._normalizeData(T)),E=A.fastLerp(T,C.parsedVisual,E),I?E:A.stringify(E,"rgba")},this)},_doMap:{linear:function(C){return A.stringify(A.fastLerp(C,this.option.parsedVisual),"rgba")},category:a,piecewise:function(C,T){var _=p.call(this,T);return _==null&&(_=A.stringify(A.fastLerp(C,this.option.parsedVisual),"rgba")),_},fixed:c}},colorHue:r(function(C,T){return A.modifyHSL(C,T)}),colorSaturation:r(function(C,T){return A.modifyHSL(C,null,T)}),colorLightness:r(function(C,T){return A.modifyHSL(C,null,null,T)}),colorAlpha:r(function(C,T){return A.modifyAlpha(C,T)}),opacity:{applyVisual:t("opacity"),_doMap:h([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:c,category:c,piecewise:c,fixed:c}},symbol:{applyVisual:function(C,T,_){var E=this.mapValueToVisual(C);if(w.isString(E))_("symbol",E);else if(f(E))for(var I in E)E.hasOwnProperty(I)&&_(I,E[I])},_doMap:{linear:s,category:a,piecewise:function(C,T){var _=p.call(this,T);return _==null&&(_=s.call(this,C)),_},fixed:c}},symbolSize:{applyVisual:t("symbolSize"),_doMap:h([0,1])}};function e(C){var T=C.pieceList;C.hasSpecialVisual=!1,w.each(T,function(_,E){_.originIndex=E,_.visual!=null&&(C.hasSpecialVisual=!0)})}function n(C){var T=C.categories,_=C.visual,E=C.categoryMap={};if(v(T,function(D,F){E[D]=F}),!w.isArray(_)){var I=[];w.isObject(_)?v(_,function(D,F){var N=E[F];I[N!=null?N:l]=D}):I[l]=_,_=m(C,I)}for(var L=T.length-1;L>=0;L--)_[L]==null&&(delete E[T[L]],T.pop())}function i(C,T){var _=C.visual,E=[];w.isObject(_)?v(_,function(L){E.push(L)}):_!=null&&E.push(_);var I={color:1,symbol:1};!T&&E.length===1&&!I.hasOwnProperty(C.type)&&(E[1]=E[0]),m(C,E)}function r(C){return{applyVisual:function(T,_,E){T=this.mapValueToVisual(T),E("color",C(_("color"),T))},_doMap:h([0,1])}}function s(C){var T=this.option.visual;return T[Math.round(g(C,[0,1],[0,T.length-1],!0))]||{}}function t(C){return function(T,_,E){E(C,this.mapValueToVisual(T))}}function a(C){var T=this.option.visual;return T[this.option.loop&&C!==l?C%T.length:C]}function c(){return this.option.visual[0]}function h(C){return{linear:function(T){return g(T,C,this.option.visual,!0)},category:a,piecewise:function(T,_){var E=p.call(this,_);return E==null&&(E=g(T,C,this.option.visual,!0)),E},fixed:c}}function p(C){var T=this.option,_=T.pieceList;if(T.hasSpecialVisual){var E=u.findPieceIndex(C,_),I=_[E];if(I&&I.visual)return I.visual[this.type]}}function m(C,T){return C.visual=T,C.type==="color"&&(C.parsedVisual=w.map(T,function(_){return A.parse(_)})),T}var S={linear:function(C){return g(C,this.option.dataExtent,[0,1],!0)},piecewise:function(C){var T=this.option.pieceList,_=u.findPieceIndex(C,T,!0);if(_!=null)return g(_,[0,T.length-1],[0,1],!0)},category:function(C){var T=this.option.categories?this.option.categoryMap[C]:C;return T==null?l:T},fixed:w.noop};u.listVisualTypes=function(){var C=[];return w.each(o,function(T,_){C.push(_)}),C},u.addVisualHandler=function(C,T){o[C]=T},u.isValidType=function(C){return o.hasOwnProperty(C)},u.eachVisual=function(C,T,_){w.isObject(C)?w.each(C,T,_):T.call(_,C)},u.mapVisual=function(C,T,_){var E,I=w.isArray(C)?[]:w.isObject(C)?{}:(E=!0,null);return u.eachVisual(C,function(L,D){var F=T.call(_,L,D);E?I=F:I[D]=F}),I},u.retrieveVisuals=function(C){var T={},_;return C&&v(o,function(E,I){C.hasOwnProperty(I)&&(T[I]=C[I],_=!0)}),_?T:null},u.prepareVisualTypes=function(C){if(f(C)){var T=[];v(C,function(_,E){T.push(E)}),C=T}else if(w.isArray(C))C=C.slice();else return[];return C.sort(function(_,E){return E==="color"&&_!=="color"&&_.indexOf("color")===0?1:-1}),C},u.dependsOn=function(C,T){return T==="color"?!!(C&&C.indexOf(T)===0):C===T},u.findPieceIndex=function(C,T,_){for(var E,I=Infinity,L=0,D=T.length;L<D;L++){var F=T[L].value;if(F!=null){if(F===C||typeof F=="string"&&F===C+"")return L;_&&R(F,L)}}for(var L=0,D=T.length;L<D;L++){var N=T[L],P=N.interval,W=N.close;if(P){if(P[0]===-Infinity){if(y(W[1],C,P[1]))return L}else if(P[1]===Infinity){if(y(W[0],P[0],C))return L}else if(y(W[0],P[0],C)&&y(W[1],C,P[1]))return L;_&&R(P[0],L),_&&R(P[1],L)}}if(_)return C===Infinity?T.length-1:C===-Infinity?0:E;function R(j,H){var K=Math.abs(j-C);K<I&&(I=K,E=H)}};function y(C,T,_){return C?T<=_:T<_}var x=u;k.exports=x},Y1PL:function(k,B,d){"use strict";d.r(B),d.d(B,"ResizableTextArea",function(){return S});var w=d("wx14"),A=d("1OyB"),b=d("vuIU"),g=d("Ji7U"),v=d("LK+K"),f=d("q1tI"),l=d("VTBJ"),u=d("rePB"),o=d("t23M"),e=d("bT9E"),n=d("TSYQ"),i=d.n(n),r=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important
`,s=["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"],t={},a;function c(C){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=C.getAttribute("id")||C.getAttribute("data-reactid")||C.getAttribute("name");if(T&&t[_])return t[_];var E=window.getComputedStyle(C),I=E.getPropertyValue("box-sizing")||E.getPropertyValue("-moz-box-sizing")||E.getPropertyValue("-webkit-box-sizing"),L=parseFloat(E.getPropertyValue("padding-bottom"))+parseFloat(E.getPropertyValue("padding-top")),D=parseFloat(E.getPropertyValue("border-bottom-width"))+parseFloat(E.getPropertyValue("border-top-width")),F=s.map(function(P){return"".concat(P,":").concat(E.getPropertyValue(P))}).join(";"),N={sizingStyle:F,paddingSize:L,borderSize:D,boxSizing:I};return T&&_&&(t[_]=N),N}function h(C){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;a||(a=document.createElement("textarea"),a.setAttribute("tab-index","-1"),a.setAttribute("aria-hidden","true"),document.body.appendChild(a)),C.getAttribute("wrap")?a.setAttribute("wrap",C.getAttribute("wrap")):a.removeAttribute("wrap");var I=c(C,T),L=I.paddingSize,D=I.borderSize,F=I.boxSizing,N=I.sizingStyle;a.setAttribute("style","".concat(N,";").concat(r)),a.value=C.value||C.placeholder||"";var P=Number.MIN_SAFE_INTEGER,W=Number.MAX_SAFE_INTEGER,R=a.scrollHeight,j;if(F==="border-box"?R+=D:F==="content-box"&&(R-=L),_!==null||E!==null){a.value=" ";var H=a.scrollHeight-L;_!==null&&(P=H*_,F==="border-box"&&(P=P+L+D),R=Math.max(P,R)),E!==null&&(W=H*E,F==="border-box"&&(W=W+L+D),j=R>W?"":"hidden",R=Math.min(W,R))}return{height:R,minHeight:P,maxHeight:W,overflowY:j,resize:"none"}}var p;(function(C){C[C.NONE=0]="NONE",C[C.RESIZING=1]="RESIZING",C[C.RESIZED=2]="RESIZED"})(p||(p={}));var m=function(C){Object(g.a)(_,C);var T=Object(v.a)(_);function _(E){var I;return Object(A.a)(this,_),I=T.call(this,E),I.nextFrameActionId=void 0,I.resizeFrameId=void 0,I.textArea=void 0,I.saveTextArea=function(L){I.textArea=L},I.handleResize=function(L){var D=I.state.resizeStatus,F=I.props,N=F.autoSize,P=F.onResize;if(D!==p.NONE)return;typeof P=="function"&&P(L),N&&I.resizeOnNextFrame()},I.resizeOnNextFrame=function(){cancelAnimationFrame(I.nextFrameActionId),I.nextFrameActionId=requestAnimationFrame(I.resizeTextarea)},I.resizeTextarea=function(){var L=I.props.autoSize;if(!L||!I.textArea)return;var D=L.minRows,F=L.maxRows,N=h(I.textArea,!1,D,F);I.setState({textareaStyles:N,resizeStatus:p.RESIZING},function(){cancelAnimationFrame(I.resizeFrameId),I.resizeFrameId=requestAnimationFrame(function(){I.setState({resizeStatus:p.RESIZED},function(){I.resizeFrameId=requestAnimationFrame(function(){I.setState({resizeStatus:p.NONE}),I.fixFirefoxAutoScroll()})})})})},I.renderTextArea=function(){var L=I.props,D=L.prefixCls,F=D===void 0?"rc-textarea":D,N=L.autoSize,P=L.onResize,W=L.className,R=L.disabled,j=I.state,H=j.textareaStyles,K=j.resizeStatus,U=Object(e.a)(I.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),G=i()(F,W,Object(u.a)({},"".concat(F,"-disabled"),R));"value"in U&&(U.value=U.value||"");var z=Object(l.a)(Object(l.a)(Object(l.a)({},I.props.style),H),K===p.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return f.createElement(o.a,{onResize:I.handleResize,disabled:!(N||P)},f.createElement("textarea",Object(w.a)({},U,{className:G,style:z,ref:I.saveTextArea})))},I.state={textareaStyles:{},resizeStatus:p.NONE},I}return Object(b.a)(_,[{key:"componentDidUpdate",value:function(I){I.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var I=this.textArea.selectionStart,L=this.textArea.selectionEnd;this.textArea.setSelectionRange(I,L)}}catch(D){}}},{key:"render",value:function(){return this.renderTextArea()}}]),_}(f.Component),S=m,y=function(C){Object(g.a)(_,C);var T=Object(v.a)(_);function _(E){var I;Object(A.a)(this,_),I=T.call(this,E),I.resizableTextArea=void 0,I.focus=function(){I.resizableTextArea.textArea.focus()},I.saveTextArea=function(D){I.resizableTextArea=D},I.handleChange=function(D){var F=I.props.onChange;I.setValue(D.target.value,function(){I.resizableTextArea.resizeTextarea()}),F&&F(D)},I.handleKeyDown=function(D){var F=I.props,N=F.onPressEnter,P=F.onKeyDown;D.keyCode===13&&N&&N(D),P&&P(D)};var L=typeof E.value=="undefined"||E.value===null?E.defaultValue:E.value;return I.state={value:L},I}return Object(b.a)(_,[{key:"setValue",value:function(I,L){"value"in this.props||this.setState({value:I},L)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return f.createElement(S,Object(w.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(I){return"value"in I?{value:I.value}:null}}]),_}(f.Component),x=B.default=y},YH21:function(k,B,d){var w=d("H6uX");B.Dispatcher=w;var A=d("ItGF"),b=d("Ze12"),g=b.isCanvasEl,v=b.transformCoordWithViewport,f=typeof window!="undefined"&&!!window.addEventListener,l=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,u=[];function o(h,p,m,S){return m=m||{},S||!A.canvasSupported?e(h,p,m):A.browser.firefox&&p.layerX!=null&&p.layerX!==p.offsetX?(m.zrX=p.layerX,m.zrY=p.layerY):p.offsetX!=null?(m.zrX=p.offsetX,m.zrY=p.offsetY):e(h,p,m),m}function e(h,p,m){if(A.domSupported&&h.getBoundingClientRect){var S=p.clientX,y=p.clientY;if(g(h)){var x=h.getBoundingClientRect();m.zrX=S-x.left,m.zrY=y-x.top;return}else if(v(u,h,S,y)){m.zrX=u[0],m.zrY=u[1];return}}m.zrX=m.zrY=0}function n(h){return h||window.event}function i(h,p,m){if(p=n(p),p.zrX!=null)return p;var S=p.type,y=S&&S.indexOf("touch")>=0;if(!y)o(h,p,p,m),p.zrDelta=p.wheelDelta?p.wheelDelta/120:-(p.detail||0)/3;else{var x=S!=="touchend"?p.targetTouches[0]:p.changedTouches[0];x&&o(h,x,p,m)}var C=p.button;return p.which==null&&C!==void 0&&l.test(p.type)&&(p.which=C&1?1:C&2?3:C&4?2:0),p}function r(h,p,m,S){f?h.addEventListener(p,m,S):h.attachEvent("on"+p,m)}function s(h,p,m,S){f?h.removeEventListener(p,m,S):h.detachEvent("on"+p,m)}var t=f?function(h){h.preventDefault(),h.stopPropagation(),h.cancelBubble=!0}:function(h){h.returnValue=!1,h.cancelBubble=!0};function a(h){return h.which===2||h.which===3}function c(h){return h.which>1}B.clientToLocal=o,B.getNativeEvent=n,B.normalizeEvent=i,B.addEventListener=r,B.removeEventListener=s,B.stop=t,B.isMiddleOrRightButtonOnMouseUpDown=a,B.notLeftMouse=c},YJ9k:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function A(v,f){for(var l=0;l<f.length;l++){var u=f[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(v,u.key,u)}}function b(v,f,l){return f&&A(v.prototype,f),l&&A(v,l),v}var g=function(){function v(){w(this,v),this._listeners=new Map}return b(v,[{key:"addEventListener",value:function(l,u){this._listeners.has(l)||this._listeners.set(l,new Set),this._listeners.get(l).add(u)}},{key:"removeEventListener",value:function(l,u){this._listeners.has(l)&&this._listeners.get(l).delete(u)}},{key:"dispatchEvent",value:function(l){var u=this;return this._listeners.has(l.type)?(this._listeners.get(l.type).forEach(function(o){return o.call(u,l)}),!l.defaultPrevented):!0}}]),v}();B.default=g},YJCA:function(k,B,d){"use strict";d.d(B,"a",function(){return Z}),d.d(B,"b",function(){return Se});var w=d("wx14"),A=d("ODXe"),b=d("vpQ4"),g=d("1OyB"),v=d("vuIU"),f=d("md7G"),l=d("foSv"),u=d("Ji7U"),o=d("JX7q"),e=d("rePB"),n=d("q1tI"),i=d.n(n),r=d("17x9"),s=d.n(r),t=d("i8i4"),a=d.n(t),c=d("QLaP"),h=d.n(c),p=d("KQm4"),m=function(){function me(){Object(g.a)(this,me),Object(e.a)(this,"refs",{})}return Object(v.a)(me,[{key:"add",value:function(we,xe){this.refs[we]||(this.refs[we]=[]),this.refs[we].push(xe)}},{key:"remove",value:function(we,xe){var We=this.getIndex(we,xe);We!==-1&&this.refs[we].splice(We,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var we=this;return this.refs[this.active.collection].find(function(xe){var We=xe.node;return We.sortableInfo.index==we.active.index})}},{key:"getIndex",value:function(we,xe){return this.refs[we].indexOf(xe)}},{key:"getOrderedRefs",value:function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[we].sort(S)}}]),me}();function S(me,$){var we=me.node.sortableInfo.index,xe=$.node.sortableInfo.index;return we-xe}function y(me,$,we){return me=me.slice(),me.splice(we<0?me.length+we:we,0,me.splice($,1)[0]),me}function x(me,$){return Object.keys(me).reduce(function(we,xe){return $.indexOf(xe)===-1&&(we[xe]=me[xe]),we},{})}var C={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var me=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],$=(Array.prototype.slice.call(me).join("").match(/-(moz|webkit|ms)-/)||me.OLink===""&&["","o"])[1];switch($){case"ms":return"ms";default:return $&&$.length?$[0].toUpperCase()+$.substr(1):""}}();function _(me,$){Object.keys($).forEach(function(we){me.style[we]=$[we]})}function E(me,$){me.style["".concat(T,"Transform")]=$==null?"":"translate3d(".concat($.x,"px,").concat($.y,"px,0)")}function I(me,$){me.style["".concat(T,"TransitionDuration")]=$==null?"":"".concat($,"ms")}function L(me,$){for(;me;){if($(me))return me;me=me.parentNode}return null}function D(me,$,we){return Math.max(me,Math.min(we,$))}function F(me){return me.substr(-2)==="px"?parseFloat(me):0}function N(me){var $=window.getComputedStyle(me);return{bottom:F($.marginBottom),left:F($.marginLeft),right:F($.marginRight),top:F($.marginTop)}}function P(me,$){var we=$.displayName||$.name;return we?"".concat(me,"(").concat(we,")"):me}function W(me,$){var we=me.getBoundingClientRect();return{top:we.top+$.top,left:we.left+$.left}}function R(me){return me.touches&&me.touches.length?{x:me.touches[0].pageX,y:me.touches[0].pageY}:me.changedTouches&&me.changedTouches.length?{x:me.changedTouches[0].pageX,y:me.changedTouches[0].pageY}:{x:me.pageX,y:me.pageY}}function j(me){return me.touches&&me.touches.length||me.changedTouches&&me.changedTouches.length}function H(me,$){var we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!me)return;var xe={left:we.left+me.offsetLeft,top:we.top+me.offsetTop};return me.parentNode===$?xe:H(me.parentNode,$,xe)}function K(me,$,we){return me<we&&me>$?me-1:me>we&&me<$?me+1:me}function U(me){var $=me.lockOffset,we=me.width,xe=me.height,We=$,st=$,nt="px";if(typeof $=="string"){var Ne=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec($);h()(Ne!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',$),We=parseFloat($),st=parseFloat($),nt=Ne[1]}return h()(isFinite(We)&&isFinite(st),"lockOffset value should be a finite. Given %s",$),nt==="%"&&(We=We*we/100,st=st*xe/100),{x:We,y:st}}function G(me){var $=me.height,we=me.width,xe=me.lockOffset,We=Array.isArray(xe)?xe:[xe,xe];h()(We.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",xe);var st=Object(A.a)(We,2),nt=st[0],Ne=st[1];return[U({height:$,lockOffset:nt,width:we}),U({height:$,lockOffset:Ne,width:we})]}function z(me){var $=window.getComputedStyle(me),we=/(auto|scroll)/,xe=["overflow","overflowX","overflowY"];return xe.find(function(We){return we.test($[We])})}function Y(me){return me instanceof HTMLElement?z(me)?me:Y(me.parentNode):null}function q(me){var $=window.getComputedStyle(me);return $.display==="grid"?{x:F($.gridColumnGap),y:F($.gridRowGap)}:{x:0,y:0}}var oe={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 se(me){var $="input, textarea, select, canvas, [contenteditable]",we=me.querySelectorAll($),xe=me.cloneNode(!0),We=Object(p.a)(xe.querySelectorAll($));return We.forEach(function(st,nt){if(st.type!=="file"&&(st.value=we[nt].value),st.type==="radio"&&st.name&&(st.name="__sortableClone__".concat(st.name)),st.tagName===ie.Canvas&&we[nt].width>0&&we[nt].height>0){var Ne=st.getContext("2d");Ne.drawImage(we[nt],0,0)}}),xe}function he(me){var $,we,xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return we=$=function(We){Object(u.a)(st,We);function st(){return Object(g.a)(this,st),Object(f.a)(this,Object(l.a)(st).apply(this,arguments))}return Object(v.a)(st,[{key:"componentDidMount",value:function(){var Ne=Object(t.findDOMNode)(this);Ne.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return h()(xe.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 Ne=xe.withRef?"wrappedInstance":null;return Object(n.createElement)(me,Object(w.a)({ref:Ne},this.props))}}]),st}(n.Component),Object(e.a)($,"displayName",P("sortableHandle",me)),we}function pe(me){return me.sortableHandle!=null}var _e=function(){function me($,we){Object(g.a)(this,me),this.container=$,this.onScrollCallback=we}return Object(v.a)(me,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(we){var xe=this,We=we.translate,st=we.minTranslate,nt=we.maxTranslate,Ne=we.width,St=we.height,Ye={x:0,y:0},vt={x:1,y:1},It={x:10,y:10},Ut=this.container,xt=Ut.scrollTop,Bt=Ut.scrollLeft,Qe=Ut.scrollHeight,te=Ut.scrollWidth,Q=Ut.clientHeight,Me=Ut.clientWidth,Ce=xt===0,ue=Qe-xt-Q===0,ot=Bt===0,rt=te-Bt-Me===0;We.y>=nt.y-St/2&&!ue?(Ye.y=1,vt.y=It.y*Math.abs((nt.y-St/2-We.y)/St)):We.x>=nt.x-Ne/2&&!rt?(Ye.x=1,vt.x=It.x*Math.abs((nt.x-Ne/2-We.x)/Ne)):We.y<=st.y+St/2&&!Ce?(Ye.y=-1,vt.y=It.y*Math.abs((We.y-St/2-st.y)/St)):We.x<=st.x+Ne/2&&!ot&&(Ye.x=-1,vt.x=It.x*Math.abs((We.x-Ne/2-st.x)/Ne)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Ye.x!==0||Ye.y!==0)&&(this.interval=setInterval(function(){xe.isAutoScrolling=!0;var Ue={left:vt.x*Ye.x,top:vt.y*Ye.y};xe.container.scrollTop+=Ue.top,xe.container.scrollLeft+=Ue.left,xe.onScrollCallback(Ue)},5))}}]),me}();function De(me){var $=me.node;return{height:$.offsetHeight,width:$.offsetWidth}}function Xe(me){var $=[ie.Input,ie.Textarea,ie.Select,ie.Option,ie.Button];return $.indexOf(me.target.tagName)!==-1?!0:!!L(me.target,function(we){return we.contentEditable==="true"})}var J={axis:s.a.oneOf(["x","y","xy"]),contentWindow:s.a.any,disableAutoscroll:s.a.bool,distance:s.a.number,getContainer:s.a.func,getHelperDimensions:s.a.func,helperClass:s.a.string,helperContainer:s.a.oneOfType([s.a.func,typeof HTMLElement=="undefined"?s.a.any:s.a.instanceOf(HTMLElement)]),hideSortableGhost:s.a.bool,keyboardSortingTransitionDuration:s.a.number,lockAxis:s.a.string,lockOffset:s.a.oneOfType([s.a.number,s.a.string,s.a.arrayOf(s.a.oneOfType([s.a.number,s.a.string]))]),lockToContainerEdges:s.a.bool,onSortEnd:s.a.func,onSortMove:s.a.func,onSortOver:s.a.func,onSortStart:s.a.func,pressDelay:s.a.number,pressThreshold:s.a.number,keyCodes:s.a.shape({lift:s.a.arrayOf(s.a.number),drop:s.a.arrayOf(s.a.number),cancel:s.a.arrayOf(s.a.number),up:s.a.arrayOf(s.a.number),down:s.a.arrayOf(s.a.number)}),shouldCancelStart:s.a.func,transitionDuration:s.a.number,updateBeforeSortStart:s.a.func,useDragHandle:s.a.bool,useWindowAsScrollContainer:s.a.bool},Ee={lift:[oe.SPACE],drop:[oe.SPACE],cancel:[oe.ESC],up:[oe.UP,oe.LEFT],down:[oe.DOWN,oe.RIGHT]},qe={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:De,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Ee,shouldCancelStart:Xe,transitionDuration:300,useWindowAsScrollContainer:!1},ae=Object.keys(J);function V(me){h()(!(me.distance&&me.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 X(me,$){try{var we=me()}catch(xe){return $(!0,xe)}return we&&we.then?we.then($.bind(null,!1),$.bind(null,!0)):$(!1,value)}function Z(me){var $,we,xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return we=$=function(We){Object(u.a)(st,We);function st(nt){var Ne;return Object(g.a)(this,st),Ne=Object(f.a)(this,Object(l.a)(st).call(this,nt)),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"state",{}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"handleStart",function(St){var Ye=Ne.props,vt=Ye.distance,It=Ye.shouldCancelStart;if(St.button===2||It(St))return;Ne.touched=!0,Ne.position=R(St);var Ut=L(St.target,function(Me){return Me.sortableInfo!=null});if(Ut&&Ut.sortableInfo&&Ne.nodeIsChild(Ut)&&!Ne.state.sorting){var xt=Ne.props.useDragHandle,Bt=Ut.sortableInfo,Qe=Bt.index,te=Bt.collection,Q=Bt.disabled;if(Q)return;if(xt&&!L(St.target,pe))return;Ne.manager.active={collection:te,index:Qe},!j(St)&&St.target.tagName===ie.Anchor&&St.preventDefault(),vt||(Ne.props.pressDelay===0?Ne.handlePress(St):Ne.pressTimer=setTimeout(function(){return Ne.handlePress(St)},Ne.props.pressDelay))}}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"nodeIsChild",function(St){return St.sortableInfo.manager===Ne.manager}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"handleMove",function(St){var Ye=Ne.props,vt=Ye.distance,It=Ye.pressThreshold;if(!Ne.state.sorting&&Ne.touched&&!Ne._awaitingUpdateBeforeSortStart){var Ut=R(St),xt={x:Ne.position.x-Ut.x,y:Ne.position.y-Ut.y},Bt=Math.abs(xt.x)+Math.abs(xt.y);Ne.delta=xt,!vt&&(!It||Bt>=It)?(clearTimeout(Ne.cancelTimer),Ne.cancelTimer=setTimeout(Ne.cancel,0)):vt&&Bt>=vt&&Ne.manager.isActive()&&Ne.handlePress(St)}}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"handleEnd",function(){Ne.touched=!1,Ne.cancel()}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"cancel",function(){var St=Ne.props.distance,Ye=Ne.state.sorting;Ye||(St||clearTimeout(Ne.pressTimer),Ne.manager.active=null)}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"handlePress",function(St){try{var Ye=Ne.manager.getActive(),vt=function(){if(Ye){var It=function(){var tt=ue.sortableInfo.index,Wt=N(ue),jt=q(Ne.container),Yt=Ne.scrollContainer.getBoundingClientRect(),Tt=Bt({index:tt,node:ue,collection:ot});if(Ne.node=ue,Ne.margin=Wt,Ne.gridGap=jt,Ne.width=Tt.width,Ne.height=Tt.height,Ne.marginOffset={x:Ne.margin.left+Ne.margin.right+Ne.gridGap.x,y:Math.max(Ne.margin.top,Ne.margin.bottom,Ne.gridGap.y)},Ne.boundingClientRect=ue.getBoundingClientRect(),Ne.containerBoundingRect=Yt,Ne.index=tt,Ne.newIndex=tt,Ne.axis={x:xt.indexOf("x")>=0,y:xt.indexOf("y")>=0},Ne.offsetEdge=H(ue,Ne.container),rt?Ne.initialOffset=R(Object(b.a)({},St,{pageX:Ne.boundingClientRect.left,pageY:Ne.boundingClientRect.top})):Ne.initialOffset=R(St),Ne.initialScroll={left:Ne.scrollContainer.scrollLeft,top:Ne.scrollContainer.scrollTop},Ne.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Ne.helper=Ne.helperContainer.appendChild(se(ue)),_(Ne.helper,{boxSizing:"border-box",height:"".concat(Ne.height,"px"),left:"".concat(Ne.boundingClientRect.left-Wt.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Ne.boundingClientRect.top-Wt.top,"px"),width:"".concat(Ne.width,"px")}),rt&&Ne.helper.focus(),te&&(Ne.sortableGhost=ue,_(ue,{opacity:0,visibility:"hidden"})),Ne.minTranslate={},Ne.maxTranslate={},rt){var Rt=Ce?{top:0,left:0,width:Ne.contentWindow.innerWidth,height:Ne.contentWindow.innerHeight}:Ne.containerBoundingRect,yt=Rt.top,Jt=Rt.left,Lr=Rt.width,zr=Rt.height,rn=yt+zr,ei=Jt+Lr;Ne.axis.x&&(Ne.minTranslate.x=Jt-Ne.boundingClientRect.left,Ne.maxTranslate.x=ei-(Ne.boundingClientRect.left+Ne.width)),Ne.axis.y&&(Ne.minTranslate.y=yt-Ne.boundingClientRect.top,Ne.maxTranslate.y=rn-(Ne.boundingClientRect.top+Ne.height))}else Ne.axis.x&&(Ne.minTranslate.x=(Ce?0:Yt.left)-Ne.boundingClientRect.left-Ne.width/2,Ne.maxTranslate.x=(Ce?Ne.contentWindow.innerWidth:Yt.left+Yt.width)-Ne.boundingClientRect.left-Ne.width/2),Ne.axis.y&&(Ne.minTranslate.y=(Ce?0:Yt.top)-Ne.boundingClientRect.top-Ne.height/2,Ne.maxTranslate.y=(Ce?Ne.contentWindow.innerHeight:Yt.top+Yt.height)-Ne.boundingClientRect.top-Ne.height/2);Qe&&Qe.split(" ").forEach(function(fn){return Ne.helper.classList.add(fn)}),Ne.listenerNode=St.touches?ue:Ne.contentWindow,rt?(Ne.listenerNode.addEventListener("wheel",Ne.handleKeyEnd,!0),Ne.listenerNode.addEventListener("mousedown",Ne.handleKeyEnd,!0),Ne.listenerNode.addEventListener("keydown",Ne.handleKeyDown)):(C.move.forEach(function(fn){return Ne.listenerNode.addEventListener(fn,Ne.handleSortMove,!1)}),C.end.forEach(function(fn){return Ne.listenerNode.addEventListener(fn,Ne.handleSortEnd,!1)})),Ne.setState({sorting:!0,sortingIndex:tt}),Me&&Me({node:ue,index:tt,collection:ot,isKeySorting:rt,nodes:Ne.manager.getOrderedRefs(),helper:Ne.helper},St),rt&&Ne.keyMove(0)},Ut=Ne.props,xt=Ut.axis,Bt=Ut.getHelperDimensions,Qe=Ut.helperClass,te=Ut.hideSortableGhost,Q=Ut.updateBeforeSortStart,Me=Ut.onSortStart,Ce=Ut.useWindowAsScrollContainer,ue=Ye.node,ot=Ye.collection,rt=Ne.manager.isKeySorting,Ue=function(){if(typeof Q=="function"){Ne._awaitingUpdateBeforeSortStart=!0;var Ge=X(function(){var tt=ue.sortableInfo.index;return Promise.resolve(Q({collection:ot,index:tt,node:ue,isKeySorting:rt},St)).then(function(){})},function(tt,Wt){if(Ne._awaitingUpdateBeforeSortStart=!1,tt)throw Wt;return Wt});if(Ge&&Ge.then)return Ge.then(function(){})}}();return Ue&&Ue.then?Ue.then(It):It(Ue)}}();return Promise.resolve(vt&&vt.then?vt.then(function(){}):void 0)}catch(It){return Promise.reject(It)}}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"handleSortMove",function(St){var Ye=Ne.props.onSortMove;typeof St.preventDefault=="function"&&St.preventDefault(),Ne.updateHelperPosition(St),Ne.animateNodes(),Ne.autoscroll(),Ye&&Ye(St)}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"handleSortEnd",function(St){var Ye=Ne.props,vt=Ye.hideSortableGhost,It=Ye.onSortEnd,Ut=Ne.manager,xt=Ut.active.collection,Bt=Ut.isKeySorting,Qe=Ne.manager.getOrderedRefs();Ne.listenerNode&&(Bt?(Ne.listenerNode.removeEventListener("wheel",Ne.handleKeyEnd,!0),Ne.listenerNode.removeEventListener("mousedown",Ne.handleKeyEnd,!0),Ne.listenerNode.removeEventListener("keydown",Ne.handleKeyDown)):(C.move.forEach(function(ue){return Ne.listenerNode.removeEventListener(ue,Ne.handleSortMove)}),C.end.forEach(function(ue){return Ne.listenerNode.removeEventListener(ue,Ne.handleSortEnd)}))),Ne.helper.parentNode.removeChild(Ne.helper),vt&&Ne.sortableGhost&&_(Ne.sortableGhost,{opacity:"",visibility:""});for(var te=0,Q=Qe.length;te<Q;te++){var Me=Qe[te],Ce=Me.node;Me.edgeOffset=null,Me.boundingClientRect=null,E(Ce,null),I(Ce,null),Me.translate=null}Ne.autoScroller.clear(),Ne.manager.active=null,Ne.manager.isKeySorting=!1,Ne.setState({sorting:!1,sortingIndex:null}),typeof It=="function"&&It({collection:xt,newIndex:Ne.newIndex,oldIndex:Ne.index,isKeySorting:Bt,nodes:Qe},St),Ne.touched=!1}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"autoscroll",function(){var St=Ne.props.disableAutoscroll,Ye=Ne.manager.isKeySorting;if(St){Ne.autoScroller.clear();return}if(Ye){var vt=Object(b.a)({},Ne.translate),It=0,Ut=0;Ne.axis.x&&(vt.x=Math.min(Ne.maxTranslate.x,Math.max(Ne.minTranslate.x,Ne.translate.x)),It=Ne.translate.x-vt.x),Ne.axis.y&&(vt.y=Math.min(Ne.maxTranslate.y,Math.max(Ne.minTranslate.y,Ne.translate.y)),Ut=Ne.translate.y-vt.y),Ne.translate=vt,E(Ne.helper,Ne.translate),Ne.scrollContainer.scrollLeft+=It,Ne.scrollContainer.scrollTop+=Ut;return}Ne.autoScroller.update({height:Ne.height,maxTranslate:Ne.maxTranslate,minTranslate:Ne.minTranslate,translate:Ne.translate,width:Ne.width})}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"onAutoScroll",function(St){Ne.translate.x+=St.left,Ne.translate.y+=St.top,Ne.animateNodes()}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"handleKeyDown",function(St){var Ye=St.keyCode,vt=Ne.props,It=vt.shouldCancelStart,Ut=vt.keyCodes,xt=Ut===void 0?{}:Ut,Bt=Object(b.a)({},Ee,xt);if(Ne.manager.active&&!Ne.manager.isKeySorting||!Ne.manager.active&&(!Bt.lift.includes(Ye)||It(St)||!Ne.isValidSortingTarget(St)))return;St.stopPropagation(),St.preventDefault(),Bt.lift.includes(Ye)&&!Ne.manager.active?Ne.keyLift(St):Bt.drop.includes(Ye)&&Ne.manager.active?Ne.keyDrop(St):Bt.cancel.includes(Ye)?(Ne.newIndex=Ne.manager.active.index,Ne.keyDrop(St)):Bt.up.includes(Ye)?Ne.keyMove(-1):Bt.down.includes(Ye)&&Ne.keyMove(1)}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"keyLift",function(St){var Ye=St.target,vt=L(Ye,function(Bt){return Bt.sortableInfo!=null}),It=vt.sortableInfo,Ut=It.index,xt=It.collection;Ne.initialFocusedNode=Ye,Ne.manager.isKeySorting=!0,Ne.manager.active={index:Ut,collection:xt},Ne.handlePress(St)}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"keyMove",function(St){var Ye=Ne.manager.getOrderedRefs(),vt=Ye[Ye.length-1].node.sortableInfo.index,It=Ne.newIndex+St,Ut=Ne.newIndex;if(It<0||It>vt)return;Ne.prevIndex=Ut,Ne.newIndex=It;var xt=K(Ne.newIndex,Ne.prevIndex,Ne.index),Bt=Ye.find(function(rt){var Ue=rt.node;return Ue.sortableInfo.index===xt}),Qe=Bt.node,te=Ne.containerScrollDelta,Q=Bt.boundingClientRect||W(Qe,te),Me=Bt.translate||{x:0,y:0},Ce={top:Q.top+Me.y-te.top,left:Q.left+Me.x-te.left},ue=Ut<It,ot={x:ue&&Ne.axis.x?Qe.offsetWidth-Ne.width:0,y:ue&&Ne.axis.y?Qe.offsetHeight-Ne.height:0};Ne.handleSortMove({pageX:Ce.left+ot.x,pageY:Ce.top+ot.y,ignoreTransition:St===0})}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"keyDrop",function(St){Ne.handleSortEnd(St),Ne.initialFocusedNode&&Ne.initialFocusedNode.focus()}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"handleKeyEnd",function(St){Ne.manager.active&&Ne.keyDrop(St)}),Object(e.a)(Object(o.a)(Object(o.a)(Ne)),"isValidSortingTarget",function(St){var Ye=Ne.props.useDragHandle,vt=St.target,It=L(vt,function(Ut){return Ut.sortableInfo!=null});return It&&It.sortableInfo&&!It.sortableInfo.disabled&&(Ye?pe(vt):vt.sortableInfo)}),V(nt),Ne.manager=new m,Ne.events={end:Ne.handleEnd,move:Ne.handleMove,start:Ne.handleStart},Ne}return Object(v.a)(st,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Ne=this,St=this.props.useWindowAsScrollContainer,Ye=this.getContainer();Promise.resolve(Ye).then(function(vt){Ne.container=vt,Ne.document=Ne.container.ownerDocument||document;var It=Ne.props.contentWindow||Ne.document.defaultView||window;Ne.contentWindow=typeof It=="function"?It():It,Ne.scrollContainer=St?Ne.document.scrollingElement||Ne.document.documentElement:Y(Ne.container)||Ne.container,Ne.autoScroller=new _e(Ne.scrollContainer,Ne.onAutoScroll),Object.keys(Ne.events).forEach(function(Ut){return C[Ut].forEach(function(xt){return Ne.container.addEventListener(xt,Ne.events[Ut],!1)})}),Ne.container.addEventListener("keydown",Ne.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Ne=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(St){return C[St].forEach(function(Ye){return Ne.container.removeEventListener(Ye,Ne.events[St])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Ne){var St=this.props,Ye=St.lockAxis,vt=St.lockOffset,It=St.lockToContainerEdges,Ut=St.transitionDuration,xt=St.keyboardSortingTransitionDuration,Bt=xt===void 0?Ut:xt,Qe=this.manager.isKeySorting,te=Ne.ignoreTransition,Q=R(Ne),Me={x:Q.x-this.initialOffset.x,y:Q.y-this.initialOffset.y};if(Me.y-=window.pageYOffset-this.initialWindowScroll.top,Me.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=Me,It){var Ce=G({height:this.height,lockOffset:vt,width:this.width}),ue=Object(A.a)(Ce,2),ot=ue[0],rt=ue[1],Ue={x:this.width/2-ot.x,y:this.height/2-ot.y},Ge={x:this.width/2-rt.x,y:this.height/2-rt.y};Me.x=D(this.minTranslate.x+Ue.x,this.maxTranslate.x-Ge.x,Me.x),Me.y=D(this.minTranslate.y+Ue.y,this.maxTranslate.y-Ge.y,Me.y)}Ye==="x"?Me.y=0:Ye==="y"&&(Me.x=0),Qe&&Bt&&!te&&I(this.helper,Bt),E(this.helper,Me)}},{key:"animateNodes",value:function(){var Ne=this.props,St=Ne.transitionDuration,Ye=Ne.hideSortableGhost,vt=Ne.onSortOver,It=this.containerScrollDelta,Ut=this.windowScrollDelta,xt=this.manager.getOrderedRefs(),Bt={left:this.offsetEdge.left+this.translate.x+It.left,top:this.offsetEdge.top+this.translate.y+It.top},Qe=this.manager.isKeySorting,te=this.newIndex;this.newIndex=null;for(var Q=0,Me=xt.length;Q<Me;Q++){var Ce=xt[Q].node,ue=Ce.sortableInfo.index,ot=Ce.offsetWidth,rt=Ce.offsetHeight,Ue={height:this.height>rt?rt/2:this.height/2,width:this.width>ot?ot/2:this.width/2},Ge=Qe&&ue>this.index&&ue<=te,tt=Qe&&ue<this.index&&ue>=te,Wt={x:0,y:0},jt=xt[Q].edgeOffset;jt||(jt=H(Ce,this.container),xt[Q].edgeOffset=jt,Qe&&(xt[Q].boundingClientRect=W(Ce,It)));var Yt=Q<xt.length-1&&xt[Q+1],Tt=Q>0&&xt[Q-1];if(Yt&&!Yt.edgeOffset&&(Yt.edgeOffset=H(Yt.node,this.container),Qe&&(Yt.boundingClientRect=W(Yt.node,It))),ue===this.index){Ye&&(this.sortableGhost=Ce,_(Ce,{opacity:0,visibility:"hidden"}));continue}St&&I(Ce,St),this.axis.x?this.axis.y?tt||ue<this.index&&(Bt.left+Ut.left-Ue.width<=jt.left&&Bt.top+Ut.top<=jt.top+Ue.height||Bt.top+Ut.top+Ue.height<=jt.top)?(Wt.x=this.width+this.marginOffset.x,jt.left+Wt.x>this.containerBoundingRect.width-Ue.width&&(Yt&&(Wt.x=Yt.edgeOffset.left-jt.left,Wt.y=Yt.edgeOffset.top-jt.top)),this.newIndex===null&&(this.newIndex=ue)):(Ge||ue>this.index&&(Bt.left+Ut.left+Ue.width>=jt.left&&Bt.top+Ut.top+Ue.height>=jt.top||Bt.top+Ut.top+Ue.height>=jt.top+rt))&&(Wt.x=-(this.width+this.marginOffset.x),jt.left+Wt.x<this.containerBoundingRect.left+Ue.width&&(Tt&&(Wt.x=Tt.edgeOffset.left-jt.left,Wt.y=Tt.edgeOffset.top-jt.top)),this.newIndex=ue):Ge||ue>this.index&&Bt.left+Ut.left+Ue.width>=jt.left?(Wt.x=-(this.width+this.marginOffset.x),this.newIndex=ue):(tt||ue<this.index&&Bt.left+Ut.left<=jt.left+Ue.width)&&(Wt.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=ue)):this.axis.y&&(Ge||ue>this.index&&Bt.top+Ut.top+Ue.height>=jt.top?(Wt.y=-(this.height+this.marginOffset.y),this.newIndex=ue):(tt||ue<this.index&&Bt.top+Ut.top<=jt.top+Ue.height)&&(Wt.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=ue))),E(Ce,Wt),xt[Q].translate=Wt}this.newIndex==null&&(this.newIndex=this.index),Qe&&(this.newIndex=te);var Rt=Qe?this.prevIndex:te;vt&&this.newIndex!==Rt&&vt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:Rt,isKeySorting:Qe,nodes:xt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return h()(xe.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 Ne=this.props.getContainer;return typeof Ne!="function"?Object(t.findDOMNode)(this):Ne(xe.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Ne=xe.withRef?"wrappedInstance":null;return Object(n.createElement)(me,Object(w.a)({ref:Ne},x(this.props,ae)))}},{key:"helperContainer",get:function(){var Ne=this.props.helperContainer;return typeof Ne=="function"?Ne():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Ne=this.props.useWindowAsScrollContainer;return Ne?{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}}}]),st}(n.Component),Object(e.a)($,"displayName",P("sortableList",me)),Object(e.a)($,"defaultProps",qe),Object(e.a)($,"propTypes",J),Object(e.a)($,"childContextTypes",{manager:s.a.object.isRequired}),we}var ge={index:s.a.number.isRequired,collection:s.a.oneOfType([s.a.number,s.a.string]),disabled:s.a.bool},le=Object.keys(ge);function Se(me){var $,we,xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return we=$=function(We){Object(u.a)(st,We);function st(){return Object(g.a)(this,st),Object(f.a)(this,Object(l.a)(st).apply(this,arguments))}return Object(v.a)(st,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Ne){this.node&&(Ne.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Ne.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Ne.collection!==this.props.collection&&(this.unregister(Ne.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Ne=this.props,St=Ne.collection,Ye=Ne.disabled,vt=Ne.index,It=Object(t.findDOMNode)(this);It.sortableInfo={collection:St,disabled:Ye,index:vt,manager:this.context.manager},this.node=It,this.ref={node:It},this.context.manager.add(St,this.ref)}},{key:"unregister",value:function(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Ne,this.ref)}},{key:"getWrappedInstance",value:function(){return h()(xe.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 Ne=xe.withRef?"wrappedInstance":null;return Object(n.createElement)(me,Object(w.a)({ref:Ne},x(this.props,le)))}}]),st}(n.Component),Object(e.a)($,"displayName",P("sortableElement",me)),Object(e.a)($,"contextTypes",{manager:s.a.object.isRequired}),Object(e.a)($,"propTypes",ge),Object(e.a)($,"defaultProps",{collection:0}),we}},YNf1:function(k,B,d){var w=d("IwbS"),A=d("6Ic6"),b=.3,g=A.extend({type:"parallel",init:function(){this._dataGroup=new w.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(i,r,s,t){var a=this._dataGroup,c=i.getData(),h=this._data,p=i.coordinateSystem,m=p.dimensions,S=u(i);c.diff(h).add(y).update(x).remove(C).execute();function y(_){var E=l(c,a,_,m,p);o(E,c,_,S)}function x(_,E){var I=h.getItemGraphicEl(E),L=f(c,_,m,p);c.setItemGraphicEl(_,I);var D=t&&t.animation===!1?null:i;w.updateProps(I,{shape:{points:L}},D,_),o(I,c,_,S)}function C(_){var E=h.getItemGraphicEl(_);a.remove(E)}if(!this._initialized){this._initialized=!0;var T=v(p,i,function(){setTimeout(function(){a.removeClipPath()})});a.setClipPath(T)}this._data=c},incrementalPrepareRender:function(i,r,s){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(i,r,s){for(var t=r.getData(),a=r.coordinateSystem,c=a.dimensions,h=u(r),p=i.start;p<i.end;p++){var m=l(t,this._dataGroup,p,c,a);m.incremental=!0,o(m,t,p,h)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function v(i,r,s){var t=i.model,a=i.getRect(),c=new w.Rect({shape:{x:a.x,y:a.y,width:a.width,height:a.height}}),h=t.get("layout")==="horizontal"?"width":"height";return c.setShape(h,0),w.initProps(c,{shape:{width:a.width,height:a.height}},r,s),c}function f(i,r,s,t){for(var a=[],c=0;c<s.length;c++){var h=s[c],p=i.get(i.mapDimension(h),r);e(p,t.getAxis(h).type)||a.push(t.dataToPoint(p,h))}return a}function l(i,r,s,t,a){var c=f(i,s,t,a),h=new w.Polyline({shape:{points:c},silent:!0,z2:10});return r.add(h),i.setItemGraphicEl(s,h),h}function u(i){var r=i.get("smooth",!0);return r===!0&&(r=b),{lineStyle:i.getModel("lineStyle").getLineStyle(),smooth:r!=null?r:b}}function o(i,r,s,t){var a=t.lineStyle;if(r.hasItemOption){var c=r.getItemModel(s).getModel("lineStyle");a=c.getLineStyle()}i.useStyle(a);var h=i.style;h.fill=null,h.stroke=r.getItemVisual(s,"color"),h.opacity=r.getItemVisual(s,"opacity"),t.smooth&&(i.shape.smooth=t.smooth)}function e(i,r){return r==="category"?i==null:i==null||isNaN(i)}var n=g;k.exports=n},YOMW:function(k,B,d){var w=d("bYtY"),A={get:function(v,f,l){var u=w.clone((b[v]||{})[f]);return l&&w.isArray(u)?u[u.length-1]:u}},b={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]}},g=A;k.exports=g},YXkt:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=d("Qxkt"),v=d("gPAo"),f=d("7G+c"),l=d("KxfA"),u=l.defaultDimValueGetters,o=l.DefaultDataProvider,e=d("L0Ub"),n=e.summarizeDimensions,i=d("Vi4m"),r=b.isObject,s="undefined",t=-1,a="e\0\0",c={float:typeof Float64Array===s?Array:Float64Array,int:typeof Int32Array===s?Array:Int32Array,ordinal:Array,number:Array,time:Array},h=typeof Uint32Array===s?Array:Uint32Array,p=typeof Int32Array===s?Array:Int32Array,m=typeof Uint16Array===s?Array:Uint16Array;function S(z){return z._rawCount>65535?h:m}function y(z){var Y=z.constructor;return Y===Array?z.slice():new Y(z)}var x=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],C=["_extent","_approximateExtent","_rawExtent"];function T(z,Y){b.each(x.concat(Y.__wrappedMethods||[]),function(q){Y.hasOwnProperty(q)&&(z[q]=Y[q])}),z.__wrappedMethods=Y.__wrappedMethods,b.each(C,function(q){z[q]=b.clone(Y[q])}),z._calculationInfo=b.extend(Y._calculationInfo)}var _=function(z,Y){z=z||["x","y"];for(var q={},oe=[],ie={},se=0;se<z.length;se++){var he=z[se];b.isString(he)?he=new i({name:he}):he instanceof i||(he=new i(he));var pe=he.name;he.type=he.type||"float",he.coordDim||(he.coordDim=pe,he.coordDimIndex=0),he.otherDims=he.otherDims||{},oe.push(pe),q[pe]=he,he.index=se,he.createInvertedIndices&&(ie[pe]=[])}this.dimensions=oe,this._dimensionInfos=q,this.hostModel=Y,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=n(this),this._invertedIndicesMap=ie,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},E=_.prototype;E.type="list",E.hasItemOption=!0,E.getDimension=function(z){return(typeof z=="number"||!isNaN(z)&&!this._dimensionInfos.hasOwnProperty(z))&&(z=this.dimensions[z]),z},E.getDimensionInfo=function(z){return this._dimensionInfos[this.getDimension(z)]},E.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},E.mapDimension=function(z,Y){var q=this._dimensionsSummary;if(Y==null)return q.encodeFirstDimNotExtra[z];var oe=q.encode[z];return Y===!0?(oe||[]).slice():oe&&oe[Y]},E.initData=function(z,Y,q){var oe=f.isInstance(z)||b.isArrayLike(z);oe&&(z=new o(z,this.dimensions.length)),this._rawData=z,this._storage={},this._indices=null,this._nameList=Y||[],this._idList=[],this._nameRepeatCount={},q||(this.hasItemOption=!1),this.defaultDimValueGetter=u[this._rawData.getSource().sourceFormat],this._dimValueGetter=q=q||this.defaultDimValueGetter,this._dimValueGetterArrayRows=u.arrayRows,this._rawExtent={},this._initDataFromProvider(0,z.count()),z.pure&&(this.hasItemOption=!1)},E.getProvider=function(){return this._rawData},E.appendData=function(z){var Y=this._rawData,q=this.count();Y.appendData(z);var oe=Y.count();Y.persistent||(oe+=q),this._initDataFromProvider(q,oe)},E.appendValues=function(z,Y){for(var q=this._chunkSize,oe=this._storage,ie=this.dimensions,se=ie.length,he=this._rawExtent,pe=this.count(),_e=pe+Math.max(z.length,Y?Y.length:0),De=this._chunkCount,Xe=0;Xe<se;Xe++){var J=ie[Xe];he[J]||(he[J]=K()),oe[J]||(oe[J]=[]),I(oe,this._dimensionInfos[J],q,De,_e),this._chunkCount=oe[J].length}for(var Ee=new Array(se),qe=pe;qe<_e;qe++){for(var ae=qe-pe,V=Math.floor(qe/q),X=qe%q,Z=0;Z<se;Z++){var J=ie[Z],ge=this._dimValueGetterArrayRows(z[ae]||Ee,J,ae,Z);oe[J][V][X]=ge;var le=he[J];ge<le[0]&&(le[0]=ge),ge>le[1]&&(le[1]=ge)}Y&&(this._nameList[qe]=Y[ae])}this._rawCount=this._count=_e,this._extent={},L(this)},E._initDataFromProvider=function(z,Y){if(z>=Y)return;for(var q=this._chunkSize,oe=this._rawData,ie=this._storage,se=this.dimensions,he=se.length,pe=this._dimensionInfos,_e=this._nameList,De=this._idList,Xe=this._rawExtent,J=this._nameRepeatCount={},Ee,qe=this._chunkCount,ae=0;ae<he;ae++){var V=se[ae];Xe[V]||(Xe[V]=K());var X=pe[V];X.otherDims.itemName===0&&(Ee=this._nameDimIdx=ae),X.otherDims.itemId===0&&(this._idDimIdx=ae),ie[V]||(ie[V]=[]),I(ie,X,q,qe,Y),this._chunkCount=ie[V].length}for(var Z=new Array(he),ge=z;ge<Y;ge++){Z=oe.getItem(ge,Z);for(var le=Math.floor(ge/q),Se=ge%q,me=0;me<he;me++){var V=se[me],$=ie[V][le],we=this._dimValueGetter(Z,V,ge,me);$[Se]=we;var xe=Xe[V];we<xe[0]&&(xe[0]=we),we>xe[1]&&(xe[1]=we)}if(!oe.pure){var We=_e[ge];if(Z&&We==null){if(Z.name!=null)_e[ge]=We=Z.name;else if(Ee!=null){var st=se[Ee],nt=ie[st][le];if(nt){We=nt[Se];var Ne=pe[st].ordinalMeta;Ne&&Ne.categories.length&&(We=Ne.categories[We])}}}var St=Z==null?null:Z.id;St==null&&We!=null&&(J[We]=J[We]||0,St=We,J[We]>0&&(St+="__ec__"+J[We]),J[We]++),St!=null&&(De[ge]=St)}}!oe.persistent&&oe.clean&&oe.clean(),this._rawCount=this._count=Y,this._extent={},L(this)};function I(z,Y,q,oe,ie){var se=c[Y.type],he=oe-1,pe=Y.name,_e=z[pe][he];if(_e&&_e.length<q){for(var De=new se(Math.min(ie-he*q,q)),Xe=0;Xe<_e.length;Xe++)De[Xe]=_e[Xe];z[pe][he]=De}for(var J=oe*q;J<ie;J+=q)z[pe].push(new se(Math.min(ie-J,q)))}function L(z){var Y=z._invertedIndicesMap;b.each(Y,function(q,oe){var ie=z._dimensionInfos[oe],se=ie.ordinalMeta;if(se){q=Y[oe]=new p(se.categories.length);for(var he=0;he<q.length;he++)q[he]=t;for(var he=0;he<z._count;he++)q[z.get(oe,he)]=he}})}function D(z,Y,q){var oe;if(Y!=null){var ie=z._chunkSize,se=Math.floor(q/ie),he=q%ie,pe=z.dimensions[Y],_e=z._storage[pe][se];if(_e){oe=_e[he];var De=z._dimensionInfos[pe].ordinalMeta;De&&De.categories.length&&(oe=De.categories[oe])}}return oe}E.count=function(){return this._count},E.getIndices=function(){var z,Y=this._indices;if(Y){var q=Y.constructor,oe=this._count;if(q===Array){z=new q(oe);for(var ie=0;ie<oe;ie++)z[ie]=Y[ie]}else z=new q(Y.buffer,0,oe)}else for(var q=S(this),z=new q(this.count()),ie=0;ie<z.length;ie++)z[ie]=ie;return z},E.get=function(z,Y){if(!(Y>=0&&Y<this._count))return NaN;var q=this._storage;if(!q[z])return NaN;Y=this.getRawIndex(Y);var oe=Math.floor(Y/this._chunkSize),ie=Y%this._chunkSize,se=q[z][oe],he=se[ie];return he},E.getByRawIndex=function(z,Y){if(!(Y>=0&&Y<this._rawCount))return NaN;var q=this._storage[z];if(!q)return NaN;var oe=Math.floor(Y/this._chunkSize),ie=Y%this._chunkSize,se=q[oe];return se[ie]},E._getFast=function(z,Y){var q=Math.floor(Y/this._chunkSize),oe=Y%this._chunkSize,ie=this._storage[z][q];return ie[oe]},E.getValues=function(z,Y){var q=[];b.isArray(z)||(Y=z,z=this.dimensions);for(var oe=0,ie=z.length;oe<ie;oe++)q.push(this.get(z[oe],Y));return q},E.hasValue=function(z){for(var Y=this._dimensionsSummary.dataDimsOnCoord,q=0,oe=Y.length;q<oe;q++)if(isNaN(this.get(Y[q],z)))return!1;return!0},E.getDataExtent=function(z){z=this.getDimension(z);var Y=this._storage[z],q=K();if(!Y)return q;var oe=this.count(),ie=!this._indices,se;if(ie)return this._rawExtent[z].slice();if(se=this._extent[z],se)return se.slice();se=q;for(var he=se[0],pe=se[1],_e=0;_e<oe;_e++){var De=this._getFast(z,this.getRawIndex(_e));De<he&&(he=De),De>pe&&(pe=De)}return se=[he,pe],this._extent[z]=se,se},E.getApproximateExtent=function(z){return z=this.getDimension(z),this._approximateExtent[z]||this.getDataExtent(z)},E.setApproximateExtent=function(z,Y){Y=this.getDimension(Y),this._approximateExtent[Y]=z.slice()},E.getCalculationInfo=function(z){return this._calculationInfo[z]},E.setCalculationInfo=function(z,Y){r(z)?b.extend(this._calculationInfo,z):this._calculationInfo[z]=Y},E.getSum=function(z){var Y=this._storage[z],q=0;if(Y)for(var oe=0,ie=this.count();oe<ie;oe++){var se=this.get(z,oe);isNaN(se)||(q+=se)}return q},E.getMedian=function(z){var Y=[];this.each(z,function(ie,se){isNaN(ie)||Y.push(ie)});var q=[].concat(Y).sort(function(ie,se){return ie-se}),oe=this.count();return oe===0?0:oe%2===1?q[(oe-1)/2]:(q[oe/2]+q[oe/2-1])/2},E.rawIndexOf=function(z,Y){var q=z&&this._invertedIndicesMap[z],oe=q[Y];return oe==null||isNaN(oe)?t:oe},E.indexOfName=function(z){for(var Y=0,q=this.count();Y<q;Y++)if(this.getName(Y)===z)return Y;return-1},E.indexOfRawIndex=function(z){if(z>=this._rawCount||z<0)return-1;if(!this._indices)return z;var Y=this._indices,q=Y[z];if(q!=null&&q<this._count&&q===z)return z;for(var oe=0,ie=this._count-1;oe<=ie;){var se=(oe+ie)/2|0;if(Y[se]<z)oe=se+1;else if(Y[se]>z)ie=se-1;else return se}return-1},E.indicesOfNearest=function(z,Y,q){var oe=this._storage,ie=oe[z],se=[];if(!ie)return se;q==null&&(q=Infinity);for(var he=Infinity,pe=-1,_e=0,De=0,Xe=this.count();De<Xe;De++){var J=Y-this.get(z,De),Ee=Math.abs(J);Ee<=q&&((Ee<he||Ee===he&&J>=0&&pe<0)&&(he=Ee,pe=J,_e=0),J===pe&&(se[_e++]=De))}return se.length=_e,se},E.getRawIndex=F;function F(z){return z}function N(z){return z<this._count&&z>=0?this._indices[z]:-1}E.getRawDataItem=function(z){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(z));for(var Y=[],q=0;q<this.dimensions.length;q++){var oe=this.dimensions[q];Y.push(this.get(oe,z))}return Y},E.getName=function(z){var Y=this.getRawIndex(z);return this._nameList[Y]||D(this,this._nameDimIdx,Y)||""},E.getId=function(z){return P(this,this.getRawIndex(z))};function P(z,Y){var q=z._idList[Y];return q==null&&(q=D(z,z._idDimIdx,Y)),q==null&&(q=a+Y),q}function W(z){return b.isArray(z)||(z=[z]),z}function R(z,Y){for(var q=0;q<Y.length;q++)z._dimensionInfos[Y[q]]||console.error("Unkown dimension "+Y[q])}E.each=function(z,Y,q,oe){"use strict";if(!this._count)return;typeof z=="function"&&(oe=q,q=Y,Y=z,z=[]),q=q||oe||this,z=b.map(W(z),this.getDimension,this);for(var ie=z.length,se=0;se<this.count();se++)switch(ie){case 0:Y.call(q,se);break;case 1:Y.call(q,this.get(z[0],se),se);break;case 2:Y.call(q,this.get(z[0],se),this.get(z[1],se),se);break;default:for(var he=0,pe=[];he<ie;he++)pe[he]=this.get(z[he],se);pe[he]=se,Y.apply(q,pe)}},E.filterSelf=function(z,Y,q,oe){"use strict";if(!this._count)return;typeof z=="function"&&(oe=q,q=Y,Y=z,z=[]),q=q||oe||this,z=b.map(W(z),this.getDimension,this);for(var ie=this.count(),se=S(this),he=new se(ie),pe=[],_e=z.length,De=0,Xe=z[0],J=0;J<ie;J++){var Ee,qe=this.getRawIndex(J);if(_e===0)Ee=Y.call(q,J);else if(_e===1){var ae=this._getFast(Xe,qe);Ee=Y.call(q,ae,J)}else{for(var V=0;V<_e;V++)pe[V]=this._getFast(Xe,qe);pe[V]=J,Ee=Y.apply(q,pe)}Ee&&(he[De++]=qe)}return De<ie&&(this._indices=he),this._count=De,this._extent={},this.getRawIndex=this._indices?N:F,this},E.selectRange=function(z){"use strict";if(!this._count)return;var Y=[];for(var q in z)z.hasOwnProperty(q)&&Y.push(q);var oe=Y.length;if(!oe)return;var ie=this.count(),se=S(this),he=new se(ie),pe=0,_e=Y[0],De=z[_e][0],Xe=z[_e][1],J=!1;if(!this._indices){var Ee=0;if(oe===1){for(var qe=this._storage[Y[0]],ae=0;ae<this._chunkCount;ae++)for(var V=qe[ae],X=Math.min(this._count-ae*this._chunkSize,this._chunkSize),Z=0;Z<X;Z++){var ge=V[Z];(ge>=De&&ge<=Xe||isNaN(ge))&&(he[pe++]=Ee),Ee++}J=!0}else if(oe===2){for(var qe=this._storage[_e],le=this._storage[Y[1]],Se=z[Y[1]][0],me=z[Y[1]][1],ae=0;ae<this._chunkCount;ae++)for(var V=qe[ae],$=le[ae],X=Math.min(this._count-ae*this._chunkSize,this._chunkSize),Z=0;Z<X;Z++){var ge=V[Z],we=$[Z];(ge>=De&&ge<=Xe||isNaN(ge))&&(we>=Se&&we<=me||isNaN(we))&&(he[pe++]=Ee),Ee++}J=!0}}if(!J)if(oe===1)for(var Z=0;Z<ie;Z++){var xe=this.getRawIndex(Z),ge=this._getFast(_e,xe);(ge>=De&&ge<=Xe||isNaN(ge))&&(he[pe++]=xe)}else for(var Z=0;Z<ie;Z++){for(var We=!0,xe=this.getRawIndex(Z),ae=0;ae<oe;ae++){var st=Y[ae],ge=this._getFast(q,xe);(ge<z[st][0]||ge>z[st][1])&&(We=!1)}We&&(he[pe++]=this.getRawIndex(Z))}return pe<ie&&(this._indices=he),this._count=pe,this._extent={},this.getRawIndex=this._indices?N:F,this},E.mapArray=function(z,Y,q,oe){"use strict";typeof z=="function"&&(oe=q,q=Y,Y=z,z=[]),q=q||oe||this;var ie=[];return this.each(z,function(){ie.push(Y&&Y.apply(this,arguments))},q),ie};function j(z,Y){var q=z.dimensions,oe=new _(b.map(q,z.getDimensionInfo,z),z.hostModel);T(oe,z);for(var ie=oe._storage={},se=z._storage,he=0;he<q.length;he++){var pe=q[he];se[pe]&&(b.indexOf(Y,pe)>=0?(ie[pe]=H(se[pe]),oe._rawExtent[pe]=K(),oe._extent[pe]=null):ie[pe]=se[pe])}return oe}function H(z){for(var Y=new Array(z.length),q=0;q<z.length;q++)Y[q]=y(z[q]);return Y}function K(){return[Infinity,-Infinity]}E.map=function(z,Y,q,oe){"use strict";q=q||oe||this,z=b.map(W(z),this.getDimension,this);var ie=j(this,z);ie._indices=this._indices,ie.getRawIndex=ie._indices?N:F;for(var se=ie._storage,he=[],pe=this._chunkSize,_e=z.length,De=this.count(),Xe=[],J=ie._rawExtent,Ee=0;Ee<De;Ee++){for(var qe=0;qe<_e;qe++)Xe[qe]=this.get(z[qe],Ee);Xe[_e]=Ee;var ae=Y&&Y.apply(q,Xe);if(ae!=null){typeof ae!="object"&&(he[0]=ae,ae=he);for(var V=this.getRawIndex(Ee),X=Math.floor(V/pe),Z=V%pe,ge=0;ge<ae.length;ge++){var le=z[ge],Se=ae[ge],me=J[le],$=se[le];$&&($[X][Z]=Se),Se<me[0]&&(me[0]=Se),Se>me[1]&&(me[1]=Se)}}}return ie},E.downSample=function(z,Y,q,oe){for(var ie=j(this,[z]),se=ie._storage,he=[],pe=Math.floor(1/Y),_e=se[z],De=this.count(),Xe=this._chunkSize,J=ie._rawExtent[z],Ee=new(S(this))(De),qe=0,ae=0;ae<De;ae+=pe){pe>De-ae&&(pe=De-ae,he.length=pe);for(var V=0;V<pe;V++){var X=this.getRawIndex(ae+V),Z=Math.floor(X/Xe),ge=X%Xe;he[V]=_e[Z][ge]}var le=q(he),Se=this.getRawIndex(Math.min(ae+oe(he,le)||0,De-1)),me=Math.floor(Se/Xe),$=Se%Xe;_e[me][$]=le,le<J[0]&&(J[0]=le),le>J[1]&&(J[1]=le),Ee[qe++]=Se}return ie._count=qe,ie._indices=Ee,ie.getRawIndex=N,ie},E.getItemModel=function(z){var Y=this.hostModel;return new g(this.getRawDataItem(z),Y,Y&&Y.ecModel)},E.diff=function(z){var Y=this;return new v(z?z.getIndices():[],this.getIndices(),function(q){return P(z,q)},function(q){return P(Y,q)})},E.getVisual=function(z){var Y=this._visual;return Y&&Y[z]},E.setVisual=function(z,Y){if(r(z)){for(var q in z)z.hasOwnProperty(q)&&this.setVisual(q,z[q]);return}this._visual=this._visual||{},this._visual[z]=Y},E.setLayout=function(z,Y){if(r(z)){for(var q in z)z.hasOwnProperty(q)&&this.setLayout(q,z[q]);return}this._layout[z]=Y},E.getLayout=function(z){return this._layout[z]},E.getItemLayout=function(z){return this._itemLayouts[z]},E.setItemLayout=function(z,Y,q){this._itemLayouts[z]=q?b.extend(this._itemLayouts[z]||{},Y):Y},E.clearItemLayouts=function(){this._itemLayouts.length=0},E.getItemVisual=function(z,Y,q){var oe=this._itemVisuals[z],ie=oe&&oe[Y];return ie==null&&!q?this.getVisual(Y):ie},E.setItemVisual=function(z,Y,q){var oe=this._itemVisuals[z]||{},ie=this.hasItemVisual;if(this._itemVisuals[z]=oe,r(Y)){for(var se in Y)Y.hasOwnProperty(se)&&(oe[se]=Y[se],ie[se]=!0);return}oe[Y]=q,ie[Y]=!0},E.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var U=function(z){z.seriesIndex=this.seriesIndex,z.dataIndex=this.dataIndex,z.dataType=this.dataType};E.setItemGraphicEl=function(z,Y){var q=this.hostModel;Y&&(Y.dataIndex=z,Y.dataType=this.dataType,Y.seriesIndex=q&&q.seriesIndex,Y.type==="group"&&Y.traverse(U,Y)),this._graphicEls[z]=Y},E.getItemGraphicEl=function(z){return this._graphicEls[z]},E.eachItemGraphicEl=function(z,Y){b.each(this._graphicEls,function(q,oe){q&&(z&&z.call(Y,q,oe))})},E.cloneShallow=function(z){if(!z){var Y=b.map(this.dimensions,this.getDimensionInfo,this);z=new _(Y,this.hostModel)}if(z._storage=this._storage,T(z,this),this._indices){var q=this._indices.constructor;z._indices=new q(this._indices)}else z._indices=null;return z.getRawIndex=z._indices?N:F,z},E.wrapMethod=function(z,Y){var q=this[z];if(typeof q!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(z),this[z]=function(){var oe=q.apply(this,arguments);return Y.apply(this,[oe].concat(b.slice(arguments)))}},E.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],E.CHANGABLE_METHODS=["filterSelf","selectRange"];var G=_;k.exports=G},YgsL:function(k,B,d){var w=d("QBsz"),A=w.distance;function b(v,f,l,u,o,e,n){var i=(l-v)*.5,r=(u-f)*.5;return(2*(f-l)+i+r)*n+(-3*(f-l)-2*i-r)*e+i*o+f}function g(v,f){for(var l=v.length,u=[],o=0,e=1;e<l;e++)o+=A(v[e-1],v[e]);var n=o/2;n=n<l?l:n;for(var e=0;e<n;e++){var i=e/(n-1)*(f?l:l-1),r=Math.floor(i),s=i-r,t,a=v[r%l],c,h;f?(t=v[(r-1+l)%l],c=v[(r+1)%l],h=v[(r+2)%l]):(t=v[r===0?r:r-1],c=v[r>l-2?l-1:r+1],h=v[r>l-3?l-1:r+2]);var p=s*s,m=s*p;u.push([b(t[0],a[0],c[0],h[0],s,p,m),b(t[1],a[1],c[1],h[1],s,p,m)])}return u}k.exports=g},Yl7c:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=".",v="___EC__COMPONENT__CONTAINER___";function f(t){var a={main:"",sub:""};return t&&(t=t.split(g),a.main=t[0]||"",a.sub=t[1]||""),a}function l(t){b.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function u(t,a){t.$constructor=t,t.extend=function(c){var h=this,p=function(){c.$constructor?c.$constructor.apply(this,arguments):h.apply(this,arguments)};return b.extend(p.prototype,c),p.extend=this.extend,p.superCall=n,p.superApply=i,b.inherits(p,this),p.superClass=h,p}}var o=0;function e(t){var a=["__\0is_clz",o++,Math.random().toFixed(3)].join("_");t.prototype[a]=!0,t.isInstance=function(c){return!!(c&&c[a])}}function n(t,a){var c=b.slice(arguments,2);return this.superClass.prototype[a].apply(t,c)}function i(t,a,c){return this.superClass.prototype[a].apply(t,c)}function r(t,a){a=a||{};var c={};t.registerClass=function(m,S){if(S){if(l(S),S=f(S),!S.sub)c[S.main]=m;else if(S.sub!==v){var y=h(S);y[S.sub]=m}}return m},t.getClass=function(m,S,y){var x=c[m];if(x&&x[v]&&(x=S?x[S]:null),y&&!x)throw new Error(S?"Component "+m+"."+(S||"")+" not exists. Load it first.":m+".type should be specified.");return x},t.getClassesByMainType=function(m){m=f(m);var S=[],y=c[m.main];return y&&y[v]?b.each(y,function(x,C){C!==v&&S.push(x)}):S.push(y),S},t.hasClass=function(m){return m=f(m),!!c[m.main]},t.getAllClassMainTypes=function(){var m=[];return b.each(c,function(S,y){m.push(y)}),m},t.hasSubTypes=function(m){m=f(m);var S=c[m.main];return S&&S[v]},t.parseClassType=f;function h(m){var S=c[m.main];return(!S||!S[v])&&(S=c[m.main]={},S[v]=!0),S}if(a.registerWhenExtend){var p=t.extend;p&&(t.extend=function(m){var S=p.call(this,m);return t.registerClass(S,m.type)})}return t}function s(t,a){}B.parseClassType=f,B.enableClassExtend=u,B.enableClassCheck=e,B.enableClassManagement=r,B.setReadOnly=s},Ynxi:function(k,B,d){var w=d("bYtY"),A=d("ProS"),b=d("IwbS"),g=d("+TT/"),v=g.getLayoutRect,f=d("7aKB"),l=f.windowOpen;A.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"}}}),A.extendComponentView({type:"title",render:function(u,o,e){if(this.group.removeAll(),!u.get("show"))return;var n=this.group,i=u.getModel("textStyle"),r=u.getModel("subtextStyle"),s=u.get("textAlign"),t=w.retrieve2(u.get("textBaseline"),u.get("textVerticalAlign")),a=new b.Text({style:b.setTextStyle({},i,{text:u.get("text"),textFill:i.getTextColor()},{disableBox:!0}),z2:10}),c=a.getBoundingRect(),h=u.get("subtext"),p=new b.Text({style:b.setTextStyle({},r,{text:h,textFill:r.getTextColor(),y:c.height+u.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),m=u.get("link"),S=u.get("sublink"),y=u.get("triggerEvent",!0);a.silent=!m&&!y,p.silent=!S&&!y,m&&a.on("click",function(){l(m,"_"+u.get("target"))}),S&&p.on("click",function(){l(m,"_"+u.get("subtarget"))}),a.eventData=p.eventData=y?{componentType:"title",componentIndex:u.componentIndex}:null,n.add(a),h&&n.add(p);var x=n.getBoundingRect(),C=u.getBoxLayoutParams();C.width=x.width,C.height=x.height;var T=v(C,{width:e.getWidth(),height:e.getHeight()},u.get("padding"));s||(s=u.get("left")||u.get("right"),s==="middle"&&(s="center"),s==="right"?T.x+=T.width:s==="center"&&(T.x+=T.width/2)),t||(t=u.get("top")||u.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?T.y+=T.height:t==="middle"&&(T.y+=T.height/2),t=t||"top"),n.attr("position",[T.x,T.y]);var _={textAlign:s,textVerticalAlign:t};a.setStyle(_),p.setStyle(_),x=n.getBoundingRect();var E=T.margin,I=u.getItemStyle(["color","opacity"]);I.fill=u.get("backgroundColor");var L=new b.Rect({shape:{x:x.x-E[3],y:x.y-E[0],width:x.width+E[1]+E[3],height:x.height+E[0]+E[2],r:u.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});n.add(L)}})},Z0Lh:function(k,B,d){"use strict";var w=d("TqRt");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var A=w(d("pVnL")),b=w(d("HjOm")),g=w(d("Z6rY")),v={lang:(0,A.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"]},b.default),timePickerLocale:(0,A.default)({},g.default)};v.lang.ok="\u786E \u5B9A";var f=v;B.default=f},Z1HP:function(k,B,d){var w=d("ycre"),A=d("quyA"),b=d("q4HE");function g(v){return A(v)?b(v):w(v)}k.exports=g},Z1r0:function(k,B){function d(w){var A=w.findComponents({mainType:"legend"});if(!A||!A.length)return;w.eachSeriesByType("graph",function(b){var g=b.getCategoriesData(),v=b.getGraph(),f=v.data,l=g.mapArray(g.getName);f.filterSelf(function(u){var o=f.getItemModel(u),e=o.getShallow("category");if(e!=null){typeof e=="number"&&(e=l[e]);for(var n=0;n<A.length;n++)if(!A[n].isSelected(e))return!1}return!0})},this)}k.exports=d},Z1wy:function(k,B,d){var w=d("ProS");d("ThAp"),d("pmaE"),d("SehX"),d("7uqq");var A=d("zuHt"),b=d("VPsl"),g=d("9u0u"),v=d("lELe"),f=d("d4KN");w.registerLayout(A),w.registerVisual(b),w.registerProcessor(w.PRIORITY.PROCESSOR.STATISTIC,g),w.registerPreprocessor(v),f("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(k,B,d){var w=d("MwEJ"),A=d("T4UG"),b=A.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(g,v){return w(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}});k.exports=b},Z6rY:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},A=w;B.default=A},Z8zF:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),g=d("bYtY"),v=d("IwbS"),f=d("56rv"),l=f.setLabel,u=d("Qxkt"),o=d("tceW"),e=d("y+Vt"),n=d("4fz+"),i=d("iLNv"),r=i.throttle,s=d("sK/D"),t=s.createClipPath,a=d("wr5s"),c=["itemStyle","barBorderWidth"],h=[0,0];g.extend(u.prototype,o);function p(U,G){var z=U.getArea&&U.getArea();if(U.type==="cartesian2d"){var Y=U.getBaseAxis();if(Y.type!=="category"||!Y.onBand){var q=G.getLayout("bandWidth");Y.isHorizontal()?(z.x-=q,z.width+=q*2):(z.y-=q,z.height+=q*2)}}return z}var m=b.extendChartView({type:"bar",render:function(U,G,z){this._updateDrawMode(U);var Y=U.get("coordinateSystem");return(Y==="cartesian2d"||Y==="polar")&&(this._isLargeDraw?this._renderLarge(U,G,z):this._renderNormal(U,G,z)),this.group},incrementalPrepareRender:function(U,G,z){this._clear(),this._updateDrawMode(U)},incrementalRender:function(U,G,z,Y){this._incrementalRenderLarge(U,G)},_updateDrawMode:function(U){var G=U.pipelineContext.large;(this._isLargeDraw==null||G^this._isLargeDraw)&&(this._isLargeDraw=G,this._clear())},_renderNormal:function(U,G,z){var Y=this.group,q=U.getData(),oe=this._data,ie=U.coordinateSystem,se=ie.getBaseAxis(),he;ie.type==="cartesian2d"?he=se.isHorizontal():ie.type==="polar"&&(he=se.dim==="angle");var pe=U.isAnimationEnabled()?U:null,_e=U.get("clip",!0),De=p(ie,q);Y.removeClipPath();var Xe=U.get("roundCap",!0),J=U.get("showBackground",!0),Ee=U.getModel("backgroundStyle"),qe=Ee.get("barBorderRadius")||0,ae=[],V=this._backgroundEls||[];q.diff(oe).add(function(ge){var le=q.getItemModel(ge),Se=E[ie.type](q,ge,le);if(J){var me=E[ie.type](q,ge),$=K(ie,he,me);$.useStyle(Ee.getBarItemStyle()),ie.type==="cartesian2d"&&$.setShape("r",qe),ae[ge]=$}if(!q.hasValue(ge))return;if(_e){var we=x[ie.type](De,Se);if(we){Y.remove(xe);return}}var xe=C[ie.type](ge,Se,he,pe,!1,Xe);q.setItemGraphicEl(ge,xe),Y.add(xe),L(xe,q,ge,le,Se,U,he,ie.type==="polar")}).update(function(ge,le){var Se=q.getItemModel(ge),me=E[ie.type](q,ge,Se);if(J){var $=V[le];$.useStyle(Ee.getBarItemStyle()),ie.type==="cartesian2d"&&$.setShape("r",qe),ae[ge]=$;var we=E[ie.type](q,ge),xe=H(he,we,ie);v.updateProps($,{shape:xe},pe,ge)}var We=oe.getItemGraphicEl(le);if(!q.hasValue(ge)){Y.remove(We);return}if(_e){var st=x[ie.type](De,me);if(st){Y.remove(We);return}}We?v.updateProps(We,{shape:me},pe,ge):We=C[ie.type](ge,me,he,pe,!0,Xe),q.setItemGraphicEl(ge,We),Y.add(We),L(We,q,ge,Se,me,U,he,ie.type==="polar")}).remove(function(ge){var le=oe.getItemGraphicEl(ge);ie.type==="cartesian2d"?le&&T(ge,pe,le):le&&_(ge,pe,le)}).execute();var X=this._backgroundGroup||(this._backgroundGroup=new n);X.removeAll();for(var Z=0;Z<ae.length;++Z)X.add(ae[Z]);Y.add(X),this._backgroundEls=ae,this._data=q},_renderLarge:function(U,G,z){this._clear(),N(U,this.group);var Y=U.get("clip",!0)?t(U.coordinateSystem,!1,U):null;Y?this.group.setClipPath(Y):this.group.removeClipPath()},_incrementalRenderLarge:function(U,G){this._removeBackground(),N(G,this.group,!0)},dispose:g.noop,remove:function(U){this._clear(U)},_clear:function(U){var G=this.group,z=this._data;U&&U.get("animation")&&z&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],z.eachItemGraphicEl(function(Y){Y.type==="sector"?_(Y.dataIndex,U,Y):T(Y.dataIndex,U,Y)})):G.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),S=Math.max,y=Math.min,x={cartesian2d:function(U,G){var z=G.width<0?-1:1,Y=G.height<0?-1:1;z<0&&(G.x+=G.width,G.width=-G.width),Y<0&&(G.y+=G.height,G.height=-G.height);var q=S(G.x,U.x),oe=y(G.x+G.width,U.x+U.width),ie=S(G.y,U.y),se=y(G.y+G.height,U.y+U.height);G.x=q,G.y=ie,G.width=oe-q,G.height=se-ie;var he=G.width<0||G.height<0;return z<0&&(G.x+=G.width,G.width=-G.width),Y<0&&(G.y+=G.height,G.height=-G.height),he},polar:function(U){return!1}},C={cartesian2d:function(U,G,z,Y,q){var oe=new v.Rect({shape:g.extend({},G),z2:1});if(oe.name="item",Y){var ie=oe.shape,se=z?"height":"width",he={};ie[se]=0,he[se]=G[se],v[q?"updateProps":"initProps"](oe,{shape:he},Y,U)}return oe},polar:function(U,G,z,Y,q,oe){var ie=G.startAngle<G.endAngle,se=!z&&oe?a:v.Sector,he=new se({shape:g.defaults({clockwise:ie},G),z2:1});if(he.name="item",Y){var pe=he.shape,_e=z?"r":"endAngle",De={};pe[_e]=z?0:G.startAngle,De[_e]=G[_e],v[q?"updateProps":"initProps"](he,{shape:De},Y,U)}return he}};function T(U,G,z){z.style.text=null,v.updateProps(z,{shape:{width:0}},G,U,function(){z.parent&&z.parent.remove(z)})}function _(U,G,z){z.style.text=null,v.updateProps(z,{shape:{r:z.shape.r0}},G,U,function(){z.parent&&z.parent.remove(z)})}var E={cartesian2d:function(U,G,z){var Y=U.getItemLayout(G),q=z?D(z,Y):0,oe=Y.width>0?1:-1,ie=Y.height>0?1:-1;return{x:Y.x+oe*q/2,y:Y.y+ie*q/2,width:Y.width-oe*q,height:Y.height-ie*q}},polar:function(U,G,z){var Y=U.getItemLayout(G);return{cx:Y.cx,cy:Y.cy,r0:Y.r0,r:Y.r,startAngle:Y.startAngle,endAngle:Y.endAngle}}};function I(U){return U.startAngle!=null&&U.endAngle!=null&&U.startAngle===U.endAngle}function L(U,G,z,Y,q,oe,ie,se){var he=G.getItemVisual(z,"color"),pe=G.getItemVisual(z,"opacity"),_e=G.getVisual("borderColor"),De=Y.getModel("itemStyle"),Xe=Y.getModel("emphasis.itemStyle").getBarItemStyle();se||U.setShape("r",De.get("barBorderRadius")||0),U.useStyle(g.defaults({stroke:I(q)?"none":_e,fill:I(q)?"none":he,opacity:pe},De.getBarItemStyle()));var J=Y.getShallow("cursor");J&&U.attr("cursor",J);var Ee=ie?q.height>0?"bottom":"top":q.width>0?"left":"right";se||l(U.style,Xe,Y,he,oe,z,Ee),I(q)&&(Xe.fill=Xe.stroke="none"),v.setHoverStyle(U,Xe)}function D(U,G){var z=U.get(c)||0,Y=isNaN(G.width)?Number.MAX_VALUE:Math.abs(G.width),q=isNaN(G.height)?Number.MAX_VALUE:Math.abs(G.height);return Math.min(z,Y,q)}var F=e.extend({type:"largeBar",shape:{points:[]},buildPath:function(U,G){for(var z=G.points,Y=this.__startPoint,q=this.__baseDimIdx,oe=0;oe<z.length;oe+=2)Y[q]=z[oe+q],U.moveTo(Y[0],Y[1]),U.lineTo(z[oe],z[oe+1])}});function N(U,G,z){var Y=U.getData(),q=[],oe=Y.getLayout("valueAxisHorizontal")?1:0;q[1-oe]=Y.getLayout("valueAxisStart");var ie=Y.getLayout("largeDataIndices"),se=Y.getLayout("barWidth"),he=U.getModel("backgroundStyle"),pe=U.get("showBackground",!0);if(pe){var _e=Y.getLayout("largeBackgroundPoints"),De=[];De[1-oe]=Y.getLayout("backgroundStart");var Xe=new F({shape:{points:_e},incremental:!!z,__startPoint:De,__baseDimIdx:oe,__largeDataIndices:ie,__barWidth:se,silent:!0,z2:0});j(Xe,he,Y),G.add(Xe)}var J=new F({shape:{points:Y.getLayout("largePoints")},incremental:!!z,__startPoint:q,__baseDimIdx:oe,__largeDataIndices:ie,__barWidth:se});G.add(J),R(J,U,Y),J.seriesIndex=U.seriesIndex,U.get("silent")||(J.on("mousedown",P),J.on("mousemove",P))}var P=r(function(U){var G=this,z=W(G,U.offsetX,U.offsetY);G.dataIndex=z>=0?z:null},30,!1);function W(U,G,z){var Y=U.__baseDimIdx,q=1-Y,oe=U.shape.points,ie=U.__largeDataIndices,se=Math.abs(U.__barWidth/2),he=U.__startPoint[q];h[0]=G,h[1]=z;for(var pe=h[Y],_e=h[1-Y],De=pe-se,Xe=pe+se,J=0,Ee=oe.length/2;J<Ee;J++){var qe=J*2,ae=oe[qe+Y],V=oe[qe+q];if(ae>=De&&ae<=Xe&&(he<=V?_e>=he&&_e<=V:_e>=V&&_e<=he))return ie[J]}return-1}function R(U,G,z){var Y=z.getVisual("borderColor")||z.getVisual("color"),q=G.getModel("itemStyle").getItemStyle(["color","borderColor"]);U.useStyle(q),U.style.fill=null,U.style.stroke=Y,U.style.lineWidth=z.getLayout("barWidth")}function j(U,G,z){var Y=G.get("borderColor")||G.get("color"),q=G.getItemStyle(["color","borderColor"]);U.useStyle(q),U.style.fill=null,U.style.stroke=Y,U.style.lineWidth=z.getLayout("barWidth")}function H(U,G,z){var Y,q=z.type==="polar";return q?Y=z.getArea():Y=z.grid.getRect(),q?{cx:Y.cx,cy:Y.cy,r0:U?Y.r0:G.r0,r:U?Y.r:G.r,startAngle:U?G.startAngle:0,endAngle:U?G.endAngle:Math.PI*2}:{x:U?G.x:Y.x,y:U?Y.y:G.y,width:U?G.width:Y.width,height:U?Y.height:G.height}}function K(U,G,z){var Y=U.type==="polar"?v.Sector:v.Rect;return new Y({shape:H(G,z,U),silent:!0,z2:0})}k.exports=m},ZCgT:function(k,B,d){var w=d("tLB3"),A=1/0,b=17976931348623157e292;function g(v){if(!v)return v===0?v:0;if(v=w(v),v===A||v===-A){var f=v<0?-1:1;return f*b}return v===v?v:0}k.exports=g},ZTPi:function(k,B,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),g=d("ODXe"),v=d("U8pU"),f=d("Ff2n"),l=d("VTBJ"),u=d("TSYQ"),o=d.n(u),e=d("Zm9Q"),n=d("5Z9U"),i=d("6cGi"),r=d("KQm4"),s=d("wgJM"),t=d("t23M");function a(Z){var ge=Object(b.useRef)(),le=Object(b.useRef)(!1);function Se(){for(var me=arguments.length,$=new Array(me),we=0;we<me;we++)$[we]=arguments[we];le.current||(s.a.cancel(ge.current),ge.current=Object(s.a)(function(){Z.apply(void 0,$)}))}return Object(b.useEffect)(function(){return function(){le.current=!0,s.a.cancel(ge.current)}},[]),Se}function c(Z){var ge=Object(b.useRef)([]),le=Object(b.useState)({}),Se=Object(g.a)(le,2),me=Se[1],$=Object(b.useRef)(typeof Z=="function"?Z():Z),we=a(function(){var We=$.current;ge.current.forEach(function(st){We=st(We)}),ge.current=[],$.current=We,me({})});function xe(We){ge.current.push(We),we()}return[$.current,xe]}var h=d("4IlW");function p(Z,ge){var le,Se=Z.prefixCls,me=Z.id,$=Z.active,we=Z.rtl,xe=Z.tab,We=xe.key,st=xe.tab,nt=xe.disabled,Ne=xe.closeIcon,St=Z.tabBarGutter,Ye=Z.tabPosition,vt=Z.closable,It=Z.renderWrapper,Ut=Z.removeAriaLabel,xt=Z.editable,Bt=Z.onClick,Qe=Z.onRemove,te=Z.onFocus,Q="".concat(Se,"-tab");b.useEffect(function(){return Qe},[]);var Me={};Ye==="top"||Ye==="bottom"?Me[we?"marginLeft":"marginRight"]=St:Me.marginBottom=St;var Ce=xt&&vt!==!1&&!nt;function ue(Ue){if(nt)return;Bt(Ue)}function ot(Ue){Ue.preventDefault(),Ue.stopPropagation(),xt.onEdit("remove",{key:We,event:Ue})}var rt=b.createElement("div",{key:We,ref:ge,className:o()(Q,(le={},Object(A.a)(le,"".concat(Q,"-with-remove"),Ce),Object(A.a)(le,"".concat(Q,"-active"),$),Object(A.a)(le,"".concat(Q,"-disabled"),nt),le)),style:Me,onClick:ue},b.createElement("div",{role:"tab","aria-selected":$,id:me&&"".concat(me,"-tab-").concat(We),className:"".concat(Q,"-btn"),"aria-controls":me&&"".concat(me,"-panel-").concat(We),"aria-disabled":nt,tabIndex:nt?null:0,onClick:function(Ge){Ge.stopPropagation(),ue(Ge)},onKeyDown:function(Ge){[h.a.SPACE,h.a.ENTER].includes(Ge.which)&&(Ge.preventDefault(),ue(Ge))},onFocus:te},st),Ce&&b.createElement("button",{type:"button","aria-label":Ut||"remove",tabIndex:0,className:"".concat(Q,"-remove"),onClick:function(Ge){Ge.stopPropagation(),ot(Ge)}},Ne||xt.removeIcon||"\xD7"));return It&&(rt=It(rt)),rt}var m=b.forwardRef(p),S={width:0,height:0,left:0,top:0};function y(Z,ge,le){return Object(b.useMemo)(function(){for(var Se,me=new Map,$=ge.get((Se=Z[0])===null||Se===void 0?void 0:Se.key)||S,we=$.left+$.width,xe=0;xe<Z.length;xe+=1){var We=Z[xe].key,st=ge.get(We);if(!st){var nt;st=ge.get((nt=Z[xe-1])===null||nt===void 0?void 0:nt.key)||S}var Ne=me.get(We)||Object(l.a)({},st);Ne.right=we-Ne.left-Ne.width,me.set(We,Ne)}return me},[Z.map(function(Se){return Se.key}).join("_"),ge,le])}var x={width:0,height:0,left:0,top:0,right:0};function C(Z,ge,le,Se,me){var $=me.tabs,we=me.tabPosition,xe=me.rtl,We,st,nt;["top","bottom"].includes(we)?(We="width",st=xe?"right":"left",nt=Math.abs(ge.left)):(We="height",st="top",nt=-ge.top);var Ne=ge[We],St=le[We],Ye=Se[We],vt=Ne;return St+Ye>Ne&&(vt=Ne-Ye),Object(b.useMemo)(function(){if(!$.length)return[0,0];for(var It=$.length,Ut=It,xt=0;xt<It;xt+=1){var Bt=Z.get($[xt].key)||x;if(Bt[st]+Bt[We]>nt+vt){Ut=xt-1;break}}for(var Qe=0,te=It-1;te>=0;te-=1){var Q=Z.get($[te].key)||x;if(Q[st]<nt){Qe=te+1;break}}return[Qe,Ut]},[Z,nt,vt,we,$.map(function(It){return It.key}).join("_"),xe])}var T=d("1j5w"),_=d("eDIo");function E(Z,ge){var le=Z.prefixCls,Se=Z.editable,me=Z.locale,$=Z.style;return!Se||Se.showAdd===!1?null:b.createElement("button",{ref:ge,type:"button",className:"".concat(le,"-nav-add"),style:$,"aria-label":(me==null?void 0:me.addAriaLabel)||"Add tab",onClick:function(xe){Se.onEdit("add",{event:xe})}},Se.addIcon||"+")}var I=b.forwardRef(E);function L(Z,ge){var le=Z.prefixCls,Se=Z.id,me=Z.tabs,$=Z.locale,we=Z.mobile,xe=Z.moreIcon,We=xe===void 0?"More":xe,st=Z.moreTransitionName,nt=Z.style,Ne=Z.className,St=Z.editable,Ye=Z.tabBarGutter,vt=Z.rtl,It=Z.onTabClick,Ut=Object(b.useState)(!1),xt=Object(g.a)(Ut,2),Bt=xt[0],Qe=xt[1],te=Object(b.useState)(null),Q=Object(g.a)(te,2),Me=Q[0],Ce=Q[1],ue="".concat(Se,"-more-popup"),ot="".concat(le,"-dropdown"),rt=Me!==null?"".concat(ue,"-").concat(Me):null,Ue=$==null?void 0:$.dropdownAriaLabel,Ge=b.createElement(T.f,{onClick:function(yt){var Jt=yt.key,Lr=yt.domEvent;It(Jt,Lr),Qe(!1)},id:ue,tabIndex:-1,role:"listbox","aria-activedescendant":rt,selectedKeys:[Me],"aria-label":Ue!==void 0?Ue:"expanded dropdown"},me.map(function(Rt){return b.createElement(T.d,{key:Rt.key,id:"".concat(ue,"-").concat(Rt.key),role:"option","aria-controls":Se&&"".concat(Se,"-panel-").concat(Rt.key),disabled:Rt.disabled},Rt.tab)}));function tt(Rt){for(var yt=me.filter(function(ei){return!ei.disabled}),Jt=yt.findIndex(function(ei){return ei.key===Me})||0,Lr=yt.length,zr=0;zr<Lr;zr+=1){Jt=(Jt+Rt+Lr)%Lr;var rn=yt[Jt];if(!rn.disabled){Ce(rn.key);return}}}function Wt(Rt){var yt=Rt.which;if(!Bt){[h.a.DOWN,h.a.SPACE,h.a.ENTER].includes(yt)&&(Qe(!0),Rt.preventDefault());return}switch(yt){case h.a.UP:tt(-1),Rt.preventDefault();break;case h.a.DOWN:tt(1),Rt.preventDefault();break;case h.a.ESC:Qe(!1);break;case h.a.SPACE:case h.a.ENTER:Me!==null&&It(Me,Rt);break}}Object(b.useEffect)(function(){var Rt=document.getElementById(rt);Rt&&Rt.scrollIntoView&&Rt.scrollIntoView(!1)},[Me]),Object(b.useEffect)(function(){Bt||Ce(null)},[Bt]);var jt=Object(A.a)({},vt?"marginLeft":"marginRight",Ye);me.length||(jt.visibility="hidden",jt.order=1);var Yt=o()(Object(A.a)({},"".concat(ot,"-rtl"),vt)),Tt=we?null:b.createElement(_.a,{prefixCls:ot,overlay:Ge,trigger:["hover"],visible:Bt,transitionName:st,onVisibleChange:Qe,overlayClassName:Yt,mouseEnterDelay:.1,mouseLeaveDelay:.1},b.createElement("button",{type:"button",className:"".concat(le,"-nav-more"),style:jt,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":ue,id:"".concat(Se,"-more"),"aria-expanded":Bt,onKeyDown:Wt},We));return b.createElement("div",{className:o()("".concat(le,"-nav-operations"),Ne),style:nt,ref:ge},Tt,b.createElement(I,{prefixCls:le,locale:$,editable:St}))}var D=b.forwardRef(L),F=Object(b.createContext)(null),N=.1,P=.01,W=20,R=Math.pow(.995,W);function j(Z,ge){var le=Object(b.useState)(),Se=Object(g.a)(le,2),me=Se[0],$=Se[1],we=Object(b.useState)(0),xe=Object(g.a)(we,2),We=xe[0],st=xe[1],nt=Object(b.useState)(0),Ne=Object(g.a)(nt,2),St=Ne[0],Ye=Ne[1],vt=Object(b.useState)(),It=Object(g.a)(vt,2),Ut=It[0],xt=It[1],Bt=Object(b.useRef)();function Qe(ot){var rt=ot.touches[0],Ue=rt.screenX,Ge=rt.screenY;$({x:Ue,y:Ge}),window.clearInterval(Bt.current)}function te(ot){if(!me)return;ot.preventDefault();var rt=ot.touches[0],Ue=rt.screenX,Ge=rt.screenY;$({x:Ue,y:Ge});var tt=Ue-me.x,Wt=Ge-me.y;ge(tt,Wt);var jt=Date.now();st(jt),Ye(jt-We),xt({x:tt,y:Wt})}function Q(){if(!me)return;if($(null),xt(null),Ut){var ot=Ut.x/St,rt=Ut.y/St,Ue=Math.abs(ot),Ge=Math.abs(rt);if(Math.max(Ue,Ge)<N)return;var tt=ot,Wt=rt;Bt.current=window.setInterval(function(){if(Math.abs(tt)<P&&Math.abs(Wt)<P){window.clearInterval(Bt.current);return}tt*=R,Wt*=R,ge(tt*W,Wt*W)},W)}}var Me=Object(b.useRef)();function Ce(ot){var rt=ot.deltaX,Ue=ot.deltaY,Ge=0,tt=Math.abs(rt),Wt=Math.abs(Ue);tt===Wt?Ge=Me.current==="x"?rt:Ue:tt>Wt?(Ge=rt,Me.current="x"):(Ge=Ue,Me.current="y"),ge(-Ge,-Ge)&&ot.preventDefault()}var ue=Object(b.useRef)(null);ue.current={onTouchStart:Qe,onTouchMove:te,onTouchEnd:Q,onWheel:Ce},b.useEffect(function(){function ot(tt){ue.current.onTouchStart(tt)}function rt(tt){ue.current.onTouchMove(tt)}function Ue(tt){ue.current.onTouchEnd(tt)}function Ge(tt){ue.current.onWheel(tt)}return document.addEventListener("touchmove",rt,{passive:!1}),document.addEventListener("touchend",Ue,{passive:!1}),Z.current.addEventListener("touchstart",ot,{passive:!1}),Z.current.addEventListener("wheel",Ge),function(){document.removeEventListener("touchmove",rt),document.removeEventListener("touchend",Ue)}},[])}function H(){var Z=Object(b.useRef)(new Map);function ge(Se){return Z.current.has(Se)||Z.current.set(Se,b.createRef()),Z.current.get(Se)}function le(Se){Z.current.delete(Se)}return[ge,le]}function K(Z,ge){var le=b.useRef(Z),Se=b.useState({}),me=Object(g.a)(Se,2),$=me[1];function we(xe){var We=typeof xe=="function"?xe(le.current):xe;We!==le.current&&ge(We,le.current),le.current=We,$({})}return[le.current,we]}var U=function(ge){var le=ge.position,Se=ge.prefixCls,me=ge.extra;if(!me)return null;var $,we=me;return le==="right"&&($=we.right||!we.left&&we||null),le==="left"&&($=we.left||null),$?b.createElement("div",{className:"".concat(Se,"-extra-content")},$):null};function G(Z,ge){var le,Se=b.useContext(F),me=Se.prefixCls,$=Se.tabs,we=Z.className,xe=Z.style,We=Z.id,st=Z.animated,nt=Z.activeKey,Ne=Z.rtl,St=Z.extra,Ye=Z.editable,vt=Z.locale,It=Z.tabPosition,Ut=Z.tabBarGutter,xt=Z.children,Bt=Z.onTabClick,Qe=Z.onTabScroll,te=Object(b.useRef)(),Q=Object(b.useRef)(),Me=Object(b.useRef)(),Ce=Object(b.useRef)(),ue=H(),ot=Object(g.a)(ue,2),rt=ot[0],Ue=ot[1],Ge=It==="top"||It==="bottom",tt=K(0,function(Kn,bn){Ge&&Qe&&Qe({direction:Kn>bn?"left":"right"})}),Wt=Object(g.a)(tt,2),jt=Wt[0],Yt=Wt[1],Tt=K(0,function(Kn,bn){!Ge&&Qe&&Qe({direction:Kn>bn?"top":"bottom"})}),Rt=Object(g.a)(Tt,2),yt=Rt[0],Jt=Rt[1],Lr=Object(b.useState)(0),zr=Object(g.a)(Lr,2),rn=zr[0],ei=zr[1],fn=Object(b.useState)(0),Zr=Object(g.a)(fn,2),bt=Zr[0],ut=Zr[1],Oe=Object(b.useState)(0),be=Object(g.a)(Oe,2),Fe=be[0],it=be[1],wt=Object(b.useState)(0),nr=Object(g.a)(wt,2),sr=nr[0],Ar=nr[1],Hr=Object(b.useState)(null),$r=Object(g.a)(Hr,2),Qt=$r[0],Ot=$r[1],Ft=Object(b.useState)(null),pr=Object(g.a)(Ft,2),Rr=pr[0],Pr=pr[1],an=Object(b.useState)(0),Xt=Object(g.a)(an,2),hr=Xt[0],Tr=Xt[1],Wr=Object(b.useState)(0),Gr=Object(g.a)(Wr,2),Tn=Gr[0],gn=Gr[1],In=c(new Map),Fn=Object(g.a)(In,2),Xn=Fn[0],fi=Fn[1],pi=y($,Xn,rn),bi="".concat(me,"-nav-operations-hidden"),et=0,Le=0;Ge?Ne?(et=0,Le=Math.max(0,rn-Qt)):(et=Math.min(0,Qt-rn),Le=0):(et=Math.min(0,Rr-bt),Le=0);function Pe(Kn){return Kn<et?et:Kn>Le?Le:Kn}var je=Object(b.useRef)(),Je=Object(b.useState)(),Ve=Object(g.a)(Je,2),Ze=Ve[0],At=Ve[1];function dt(){At(Date.now())}function Kt(){window.clearTimeout(je.current)}j(te,function(Kn,bn){function wi(si,Oi){si(function(qr){var Sr=Pe(qr+Oi);return Sr})}if(Ge){if(Qt>=rn)return!1;wi(Yt,Kn)}else{if(Rr>=bt)return!1;wi(Jt,bn)}return Kt(),dt(),!0}),Object(b.useEffect)(function(){return Kt(),Ze&&(je.current=window.setTimeout(function(){At(0)},100)),Kt},[Ze]);function $t(){var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nt,bn=pi.get(Kn)||{width:0,height:0,left:0,right:0,top:0};if(Ge){var wi=jt;Ne?bn.right<jt?wi=bn.right:bn.right+bn.width>jt+Qt&&(wi=bn.right+bn.width-Qt):bn.left<-jt?wi=-bn.left:bn.left+bn.width>-jt+Qt&&(wi=-(bn.left+bn.width-Qt)),Jt(0),Yt(Pe(wi))}else{var si=yt;bn.top<-yt?si=-bn.top:bn.top+bn.height>-yt+Rr&&(si=-(bn.top+bn.height-Rr)),Yt(0),Jt(Pe(si))}}var er=C(pi,{width:Qt,height:Rr,left:jt,top:yt},{width:Fe,height:sr},{width:hr,height:Tn},Object(l.a)(Object(l.a)({},Z),{},{tabs:$})),cr=Object(g.a)(er,2),Ct=cr[0],Nr=cr[1],Zt=$.map(function(Kn){var bn=Kn.key;return b.createElement(m,{id:We,prefixCls:me,key:bn,rtl:Ne,tab:Kn,closable:Kn.closable,editable:Ye,active:bn===nt,tabPosition:It,tabBarGutter:Ut,renderWrapper:xt,removeAriaLabel:vt==null?void 0:vt.removeAriaLabel,ref:rt(bn),onClick:function(si){Bt(bn,si)},onRemove:function(){Ue(bn)},onFocus:function(){$t(bn),dt(),Ne||(te.current.scrollLeft=0),te.current.scrollTop=0}})}),Ir=a(function(){var Kn,bn,wi,si,Oi,qr,Sr,sn,yn,On=((Kn=te.current)===null||Kn===void 0?void 0:Kn.offsetWidth)||0,Pn=((bn=te.current)===null||bn===void 0?void 0:bn.offsetHeight)||0,ti=((wi=Ce.current)===null||wi===void 0?void 0:wi.offsetWidth)||0,ai=((si=Ce.current)===null||si===void 0?void 0:si.offsetHeight)||0,qn=((Oi=Me.current)===null||Oi===void 0?void 0:Oi.offsetWidth)||0,xi=((qr=Me.current)===null||qr===void 0?void 0:qr.offsetHeight)||0;Ot(On),Pr(Pn),Tr(ti),gn(ai);var Pi=(((Sr=Q.current)===null||Sr===void 0?void 0:Sr.offsetWidth)||0)-ti,ki=(((sn=Q.current)===null||sn===void 0?void 0:sn.offsetHeight)||0)-ai;ei(Pi),ut(ki);var ja=(yn=Me.current)===null||yn===void 0?void 0:yn.className.includes(bi);it(Pi-(ja?0:qn)),Ar(ki-(ja?0:xi)),fi(function(){var ri=new Map;return $.forEach(function(pt){var gr=pt.key,_r=rt(gr).current;_r&&ri.set(gr,{width:_r.offsetWidth,height:_r.offsetHeight,left:_r.offsetLeft,top:_r.offsetTop})}),ri})}),xr=$.slice(0,Ct),ur=$.slice(Nr+1),on=[].concat(Object(r.a)(xr),Object(r.a)(ur)),Yn=Object(b.useState)(),Vn=Object(g.a)(Yn,2),Wn=Vn[0],jn=Vn[1],Gn=pi.get(nt),Nn=Object(b.useRef)();function mi(){s.a.cancel(Nn.current)}Object(b.useEffect)(function(){var Kn={};return Gn&&(Ge?(Ne?Kn.right=Gn.right:Kn.left=Gn.left,Kn.width=Gn.width):(Kn.top=Gn.top,Kn.height=Gn.height)),mi(),Nn.current=Object(s.a)(function(){jn(Kn)}),mi},[Gn,Ge,Ne]),Object(b.useEffect)(function(){$t()},[nt,Gn,pi,Ge]),Object(b.useEffect)(function(){Ir()},[Ne,Ut,nt,$.map(function(Kn){return Kn.key}).join("_")]);var en=!!on.length,Kr="".concat(me,"-nav-wrap"),dn,Vr,ni,Hn;return Ge?Ne?(Vr=jt>0,dn=jt+Qt<rn):(dn=jt<0,Vr=-jt+Qt<rn):(ni=yt<0,Hn=-yt+Rr<bt),b.createElement("div",{ref:ge,role:"tablist",className:o()("".concat(me,"-nav"),we),style:xe,onKeyDown:function(){dt()}},b.createElement(U,{position:"left",extra:St,prefixCls:me}),b.createElement(t.a,{onResize:Ir},b.createElement("div",{className:o()(Kr,(le={},Object(A.a)(le,"".concat(Kr,"-ping-left"),dn),Object(A.a)(le,"".concat(Kr,"-ping-right"),Vr),Object(A.a)(le,"".concat(Kr,"-ping-top"),ni),Object(A.a)(le,"".concat(Kr,"-ping-bottom"),Hn),le)),ref:te},b.createElement(t.a,{onResize:Ir},b.createElement("div",{ref:Q,className:"".concat(me,"-nav-list"),style:{transform:"translate(".concat(jt,"px, ").concat(yt,"px)"),transition:Ze?"none":void 0}},Zt,b.createElement(I,{ref:Ce,prefixCls:me,locale:vt,editable:Ye,style:{visibility:en?"hidden":null}}),b.createElement("div",{className:o()("".concat(me,"-ink-bar"),Object(A.a)({},"".concat(me,"-ink-bar-animated"),st.inkBar)),style:Wn}))))),b.createElement(D,Object(w.a)({},Z,{ref:Me,prefixCls:me,tabs:on,className:!en&&bi})),b.createElement(U,{position:"right",extra:St,prefixCls:me}))}var z=b.forwardRef(G);function Y(Z){var ge=Z.id,le=Z.activeKey,Se=Z.animated,me=Z.tabPosition,$=Z.rtl,we=Z.destroyInactiveTabPane,xe=b.useContext(F),We=xe.prefixCls,st=xe.tabs,nt=Se.tabPane,Ne=st.findIndex(function(St){return St.key===le});return b.createElement("div",{className:o()("".concat(We,"-content-holder"))},b.createElement("div",{className:o()("".concat(We,"-content"),"".concat(We,"-content-").concat(me),Object(A.a)({},"".concat(We,"-content-animated"),nt)),style:Ne&&nt?Object(A.a)({},$?"marginRight":"marginLeft","-".concat(Ne,"00%")):null},st.map(function(St){return b.cloneElement(St.node,{key:St.key,prefixCls:We,tabKey:St.key,id:ge,animated:nt,active:St.key===le,destroyInactiveTabPane:we})})))}function q(Z){var ge=Z.prefixCls,le=Z.forceRender,Se=Z.className,me=Z.style,$=Z.id,we=Z.active,xe=Z.animated,We=Z.destroyInactiveTabPane,st=Z.tabKey,nt=Z.children,Ne=b.useState(le),St=Object(g.a)(Ne,2),Ye=St[0],vt=St[1];b.useEffect(function(){we?vt(!0):We&&vt(!1)},[we,We]);var It={};return we||(xe?(It.visibility="hidden",It.height=0,It.overflowY="hidden"):It.display="none"),b.createElement("div",{id:$&&"".concat($,"-panel-").concat(st),role:"tabpanel",tabIndex:we?0:-1,"aria-labelledby":$&&"".concat($,"-tab-").concat(st),"aria-hidden":!we,style:Object(l.a)(Object(l.a)({},It),me),className:o()("".concat(ge,"-tabpane"),we&&"".concat(ge,"-tabpane-active"),Se)},(we||Ye||le)&&nt)}var oe=0;function ie(Z){return Object(e.a)(Z).map(function(ge){if(b.isValidElement(ge)){var le=ge.key!==void 0?String(ge.key):void 0;return Object(l.a)(Object(l.a)({key:le},ge.props),{},{node:ge})}return null}).filter(function(ge){return ge})}function se(Z,ge){var le,Se=Z.id,me=Z.prefixCls,$=me===void 0?"rc-tabs":me,we=Z.className,xe=Z.children,We=Z.direction,st=Z.activeKey,nt=Z.defaultActiveKey,Ne=Z.editable,St=Z.animated,Ye=St===void 0?{inkBar:!0,tabPane:!1}:St,vt=Z.tabPosition,It=vt===void 0?"top":vt,Ut=Z.tabBarGutter,xt=Z.tabBarStyle,Bt=Z.tabBarExtraContent,Qe=Z.locale,te=Z.moreIcon,Q=Z.moreTransitionName,Me=Z.destroyInactiveTabPane,Ce=Z.renderTabBar,ue=Z.onChange,ot=Z.onTabClick,rt=Z.onTabScroll,Ue=Object(f.a)(Z,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Ge=ie(xe),tt=We==="rtl",Wt;Ye===!1?Wt={inkBar:!1,tabPane:!1}:Ye===!0?Wt={inkBar:!0,tabPane:!0}:Wt=Object(l.a)({inkBar:!0,tabPane:!1},Object(v.a)(Ye)==="object"?Ye:{});var jt=Object(b.useState)(!1),Yt=Object(g.a)(jt,2),Tt=Yt[0],Rt=Yt[1];Object(b.useEffect)(function(){Rt(Object(n.a)())},[]);var yt=Object(i.a)(function(){var Ar;return(Ar=Ge[0])===null||Ar===void 0?void 0:Ar.key},{value:st,defaultValue:nt}),Jt=Object(g.a)(yt,2),Lr=Jt[0],zr=Jt[1],rn=Object(b.useState)(function(){return Ge.findIndex(function(Ar){return Ar.key===Lr})}),ei=Object(g.a)(rn,2),fn=ei[0],Zr=ei[1];Object(b.useEffect)(function(){var Ar=Ge.findIndex(function($r){return $r.key===Lr});if(Ar===-1){var Hr;Ar=Math.max(0,Math.min(fn,Ge.length-1)),zr((Hr=Ge[Ar])===null||Hr===void 0?void 0:Hr.key)}Zr(Ar)},[Ge.map(function(Ar){return Ar.key}).join("_"),Lr,fn]);var bt=Object(i.a)(null,{value:Se}),ut=Object(g.a)(bt,2),Oe=ut[0],be=ut[1],Fe=It;Tt&&!["left","right"].includes(It)&&(Fe="top"),Object(b.useEffect)(function(){Se||(be("rc-tabs-".concat(oe)),oe+=1)},[]);function it(Ar,Hr){ot==null||ot(Ar,Hr),zr(Ar),ue==null||ue(Ar)}var wt={id:Oe,activeKey:Lr,animated:Wt,tabPosition:Fe,rtl:tt,mobile:Tt},nr,sr=Object(l.a)(Object(l.a)({},wt),{},{editable:Ne,locale:Qe,moreIcon:te,moreTransitionName:Q,tabBarGutter:Ut,onTabClick:it,onTabScroll:rt,extra:Bt,style:xt,panes:xe});return Ce?nr=Ce(sr,z):nr=b.createElement(z,sr),b.createElement(F.Provider,{value:{tabs:Ge,prefixCls:$}},b.createElement("div",Object(w.a)({ref:ge,id:Se,className:o()($,"".concat($,"-").concat(Fe),(le={},Object(A.a)(le,"".concat($,"-mobile"),Tt),Object(A.a)(le,"".concat($,"-editable"),Ne),Object(A.a)(le,"".concat($,"-rtl"),tt),le),we)},Ue),nr,b.createElement(Y,Object(w.a)({destroyInactiveTabPane:Me},wt,{animated:Wt}))))}var he=b.forwardRef(se);he.TabPane=q;var pe=he,_e=pe,De=d("GZ0F"),Xe=d("xvlK"),J=d("4i/N"),Ee=d("uaoM"),qe=d("H84U"),ae=function(Z,ge){var le={};for(var Se in Z)Object.prototype.hasOwnProperty.call(Z,Se)&&ge.indexOf(Se)<0&&(le[Se]=Z[Se]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,Se=Object.getOwnPropertySymbols(Z);me<Se.length;me++)ge.indexOf(Se[me])<0&&Object.prototype.propertyIsEnumerable.call(Z,Se[me])&&(le[Se[me]]=Z[Se[me]]);return le};function V(Z){var ge,le=Z.type,Se=Z.className,me=Z.size,$=Z.onEdit,we=Z.hideAdd,xe=Z.centered,We=Z.addIcon,st=ae(Z,["type","className","size","onEdit","hideAdd","centered","addIcon"]),nt=st.prefixCls,Ne=b.useContext(qe.b),St=Ne.getPrefixCls,Ye=Ne.direction,vt=St("tabs",nt),It;return le==="editable-card"&&(It={onEdit:function(xt,Bt){var Qe=Bt.key,te=Bt.event;$==null||$(xt==="add"?te:Qe,xt)},removeIcon:b.createElement(J.a,null),addIcon:We||b.createElement(Xe.a,null),showAdd:we!==!0}),Object(Ee.a)(!("onPrevClick"in st)&&!("onNextClick"in st),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),b.createElement(_e,Object(w.a)({direction:Ye},st,{moreTransitionName:"slide-up",className:o()((ge={},Object(A.a)(ge,"".concat(vt,"-").concat(me),me),Object(A.a)(ge,"".concat(vt,"-card"),["card","editable-card"].includes(le)),Object(A.a)(ge,"".concat(vt,"-editable-card"),le==="editable-card"),Object(A.a)(ge,"".concat(vt,"-centered"),xe),ge),Se),editable:It,moreIcon:b.createElement(De.a,null),prefixCls:vt}))}V.TabPane=q;var X=B.a=V},ZTW2:function(k,B,d){},ZWlE:function(k,B,d){var w=d("bYtY"),A=d("4NO4");function b(f){g(f),v(f)}function g(f){if(f.parallel)return;var l=!1;w.each(f.series,function(u){u&&u.type==="parallel"&&(l=!0)}),l&&(f.parallel=[{}])}function v(f){var l=A.normalizeToArray(f.parallelAxis);w.each(l,function(u){if(!w.isObject(u))return;var o=u.parallelIndex||0,e=A.normalizeToArray(f.parallel)[o];e&&e.parallelAxisDefault&&w.merge(u,e.parallelAxisDefault,!1)})}k.exports=b},ZX9x:function(k,B,d){"use strict";d.d(B,"a",function(){return y});var w=d("rePB"),A=d("wx14"),b=d("ODXe"),g=d("q1tI"),v=d("TSYQ"),f=d.n(v),l=d("bT9E"),u=d("VTBJ"),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},e=o,n=d("6VBw"),i=function(E,I){return g.createElement(n.a,Object(u.a)(Object(u.a)({},E),{},{ref:I,icon:e}))};i.displayName="BarsOutlined";var r=g.forwardRef(i),s=d("UESt"),t=d("5bA4"),a=d("PKem"),c=d("H84U"),h=function(E){return!isNaN(parseFloat(E))&&isFinite(E)},p=h,m=function(_,E){var I={};for(var L in _)Object.prototype.hasOwnProperty.call(_,L)&&E.indexOf(L)<0&&(I[L]=_[L]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,L=Object.getOwnPropertySymbols(_);D<L.length;D++)E.indexOf(L[D])<0&&Object.prototype.propertyIsEnumerable.call(_,L[D])&&(I[L[D]]=_[L[D]]);return I},S={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},y=g.createContext({}),x=function(){var _=0;return function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return _+=1,"".concat(E).concat(_)}}(),C=function(E){var I=E.prefixCls,L=E.className,D=E.trigger,F=E.children,N=E.defaultCollapsed,P=N===void 0?!1:N,W=E.theme,R=W===void 0?"dark":W,j=E.style,H=j===void 0?{}:j,K=E.collapsible,U=K===void 0?!1:K,G=E.reverseArrow,z=G===void 0?!1:G,Y=E.width,q=Y===void 0?200:Y,oe=E.collapsedWidth,ie=oe===void 0?80:oe,se=E.zeroWidthTriggerStyle,he=E.breakpoint,pe=E.onCollapse,_e=E.onBreakpoint,De=m(E,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),Xe=Object(g.useContext)(a.d),J=Xe.siderHook,Ee=Object(g.useState)("collapsed"in De?De.collapsed:P),qe=Object(b.a)(Ee,2),ae=qe[0],V=qe[1],X=Object(g.useState)(!1),Z=Object(b.a)(X,2),ge=Z[0],le=Z[1];Object(g.useEffect)(function(){"collapsed"in De&&V(De.collapsed)},[De.collapsed]);var Se=function(nt,Ne){"collapsed"in De||V(nt),pe&&pe(nt,Ne)},me=Object(g.useRef)();me.current=function(st){le(st.matches),_e&&_e(st.matches),ae!==st.matches&&Se(st.matches,"responsive")},Object(g.useEffect)(function(){function st(Ye){return me.current(Ye)}var nt;if(typeof window!="undefined"){var Ne=window,St=Ne.matchMedia;if(St&&he&&he in S){nt=St("(max-width: ".concat(S[he],")"));try{nt.addEventListener("change",st)}catch(Ye){nt.addListener(st)}st(nt)}}return function(){try{nt==null||nt.removeEventListener("change",st)}catch(Ye){nt==null||nt.removeListener(st)}}},[]),Object(g.useEffect)(function(){var st=x("ant-sider-");return J.addSider(st),function(){return J.removeSider(st)}},[]);var $=function(){Se(!ae,"clickTrigger")},we=Object(g.useContext)(c.b),xe=we.getPrefixCls,We=function(){var nt,Ne=xe("layout-sider",I),St=Object(l.a)(De,["collapsed"]),Ye=ae?ie:q,vt=p(Ye)?"".concat(Ye,"px"):String(Ye),It=parseFloat(String(ie||0))===0?g.createElement("span",{onClick:$,className:f()("".concat(Ne,"-zero-width-trigger"),"".concat(Ne,"-zero-width-trigger-").concat(z?"right":"left")),style:se},D||g.createElement(r,null)):null,Ut={expanded:z?g.createElement(s.a,null):g.createElement(t.a,null),collapsed:z?g.createElement(t.a,null):g.createElement(s.a,null)},xt=ae?"collapsed":"expanded",Bt=Ut[xt],Qe=D!==null?It||g.createElement("div",{className:"".concat(Ne,"-trigger"),onClick:$,style:{width:vt}},D||Bt):null,te=Object(A.a)(Object(A.a)({},H),{flex:"0 0 ".concat(vt),maxWidth:vt,minWidth:vt,width:vt}),Q=f()(Ne,"".concat(Ne,"-").concat(R),(nt={},Object(w.a)(nt,"".concat(Ne,"-collapsed"),!!ae),Object(w.a)(nt,"".concat(Ne,"-has-trigger"),U&&D!==null&&!It),Object(w.a)(nt,"".concat(Ne,"-below"),!!ge),Object(w.a)(nt,"".concat(Ne,"-zero-width"),parseFloat(vt)===0),nt),L);return g.createElement("aside",Object(A.a)({className:Q},St,{style:te}),g.createElement("div",{className:"".concat(Ne,"-children")},F),U||ge&&It?Qe:null)};return g.createElement(y.Provider,{value:{siderCollapsed:ae,collapsedWidth:ie}},We())},T=B.b=C},ZYIC:function(k,B,d){var w=d("zM3Q"),A={seriesType:"lines",plan:w(),reset:function(b){var g=b.coordinateSystem,v=b.get("polyline"),f=b.pipelineContext.large;function l(u,o){var e=[];if(f){var n,i=u.end-u.start;if(v){for(var r=0,s=u.start;s<u.end;s++)r+=b.getLineCoordsCount(s);n=new Float32Array(i+r*2)}else n=new Float32Array(i*4);for(var t=0,a=[],s=u.start;s<u.end;s++){var c=b.getLineCoords(s,e);v&&(n[t++]=c);for(var h=0;h<c;h++)a=g.dataToPoint(e[h],!1,a),n[t++]=a[0],n[t++]=a[1]}o.setLayout("linesPoints",n)}else for(var s=u.start;s<u.end;s++){var p=o.getItemModel(s),c=b.getLineCoords(s,e),m=[];if(v)for(var S=0;S<c;S++)m.push(g.dataToPoint(e[S]));else{m[0]=g.dataToPoint(e[0]),m[1]=g.dataToPoint(e[1]);var y=p.get("lineStyle.curveness");+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}o.setItemLayout(s,m)}}return{progress:l}}};k.exports=A},Ze12:function(k,B,d){var w=d("ItGF"),A=d("hOwI"),b=A.buildTransformer,g="___zrEVENTSAVED",v=[];function f(n,i,r,s,t){return l(v,i,s,t,!0)&&l(n,r,v[0],v[1])}function l(n,i,r,s,t){if(i.getBoundingClientRect&&w.domSupported&&!e(i)){var a=i[g]||(i[g]={}),c=u(i,a),h=o(c,a,t);if(h)return h(n,r,s),!0}return!1}function u(n,i){var r=i.markers;if(r)return r;r=i.markers=[];for(var s=["left","right"],t=["top","bottom"],a=0;a<4;a++){var c=document.createElement("div"),h=c.style,p=a%2,m=(a>>1)%2;h.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",s[p]+":0",t[m]+":0",s[1-p]+":auto",t[1-m]+":auto",""].join("!important;"),n.appendChild(c),r.push(c)}return r}function o(n,i,r){for(var s=r?"invTrans":"trans",t=i[s],a=i.srcCoords,c=!0,h=[],p=[],m=0;m<4;m++){var S=n[m].getBoundingClientRect(),y=2*m,x=S.left,C=S.top;h.push(x,C),c=c&&a&&x===a[y]&&C===a[y+1],p.push(n[m].offsetLeft,n[m].offsetTop)}return c&&t?t:(i.srcCoords=h,i[s]=r?b(p,h):b(h,p))}function e(n){return n.nodeName.toUpperCase()==="CANVAS"}B.transformLocalCoord=f,B.transformCoordWithViewport=l,B.isCanvasEl=e},Znkb:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),g=d("zTMp"),v=b.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,n,i,r){this.axisPointerClass&&g.fixValue(e),v.superApply(this,"render",arguments),f(this,e,n,i,r,!0)},updateAxisPointer:function(e,n,i,r,s){f(this,e,n,i,r,!1)},remove:function(e,n){var i=this._axisPointer;i&&i.remove(n),v.superApply(this,"remove",arguments)},dispose:function(e,n){l(this,n),v.superApply(this,"dispose",arguments)}});function f(e,n,i,r,s,t){var a=v.getAxisPointerClass(e.axisPointerClass);if(!a)return;var c=g.getAxisPointerModel(n);c?(e._axisPointer||(e._axisPointer=new a)).render(n,c,r,t):l(e,r)}function l(e,n,i){var r=e._axisPointer;r&&r.dispose(n,i),e._axisPointer=null}var u=[];v.registerAxisPointerClass=function(e,n){u[e]=n},v.getAxisPointerClass=function(e){return e&&u[e]};var o=v;k.exports=o},"Znn+":function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("9ama"),g=d.n(b)},ZqQs:function(k,B,d){var w=d("bYtY");function A(f){var l=f&&f.timeline;w.isArray(l)||(l=l?[l]:[]),w.each(l,function(u){if(!u)return;b(u)})}function b(f){var l=f.type,u={number:"value",time:"time"};if(u[l]&&(f.axisType=u[l],delete f.type),g(f),v(f,"controlPosition")){var o=f.controlStyle||(f.controlStyle={});v(o,"position")||(o.position=f.controlPosition),o.position==="none"&&!v(o,"show")&&(o.show=!1,delete o.position),delete f.controlPosition}w.each(f.data||[],function(e){w.isObject(e)&&!w.isArray(e)&&(!v(e,"value")&&v(e,"name")&&(e.value=e.name),g(e))})}function g(f){var l=f.itemStyle||(f.itemStyle={}),u=l.emphasis||(l.emphasis={}),o=f.label||f.label||{},e=o.normal||(o.normal={}),n={normal:1,emphasis:1};w.each(o,function(i,r){!n[r]&&!v(e,r)&&(e[r]=i)}),u.label&&!v(o,"emphasis")&&(o.emphasis=u.label,delete u.label)}function v(f,l){return f.hasOwnProperty(l)}k.exports=A},Zvw2:function(k,B,d){var w=d("bYtY"),A=d("hM6l"),b=function(v,f,l,u,o){A.call(this,v,f,l),this.type=u||"value",this.position=o||"bottom",this.orient=null};b.prototype={constructor:b,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},w.inherits(b,A);var g=b;k.exports=g},a9QJ:function(k,B){var d={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function w(A,b){if(A==="world"){var g=d[b.name];if(g){var v=b.center;v[0]=g[0],v[1]=g[1]}}}k.exports=w},aHsQ:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("6D9b"),g=d.n(b),v=d("cWXX")},aKvl:function(k,B,d){var w=d("Sj9i"),A=w.quadraticProjectPoint;function b(g,v,f,l,u,o,e,n,i){if(e===0)return!1;var r=e;if(i>v+r&&i>l+r&&i>o+r||i<v-r&&i<l-r&&i<o-r||n>g+r&&n>f+r&&n>u+r||n<g-r&&n<f-r&&n<u-r)return!1;var s=A(g,v,f,l,u,o,n,i,null);return s<=r/2}B.containStroke=b},aTJb:function(k,B,d){var w=d("bLfw");w.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(k,B,d){var w=d("3gBT"),A=d("ItGF"),b=d("bYtY"),g=d("0s+r"),v=d("r6Bn"),f=d("7SHv"),l=d("MKOG"),u=d("zarK");/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var o=!A.canvasSupported,e={canvas:f},n={},i="4.3.1";function r(p,m){var S=new h(w(),p,m);return n[S.id]=S,S}function s(p){if(p)p.dispose();else{for(var m in n)n.hasOwnProperty(m)&&n[m].dispose();n={}}return this}function t(p){return n[p]}function a(p,m){e[p]=m}function c(p){delete n[p]}var h=function(m,S,y){y=y||{},this.dom=S,this.id=m;var x=this,C=new v,T=y.renderer;if(o){if(!e.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");T="vml"}else(!T||!e[T])&&(T="canvas");var _=new e[T](S,C,y,m);this.storage=C,this.painter=_;var E=!A.node&&!A.worker?new u(_.getViewportRoot(),_.root):null;this.handler=new g(C,_,E,_.root),this.animation=new l({stage:{update:b.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var I=C.delFromStorage,L=C.addToStorage;C.delFromStorage=function(D){I.call(C,D),D&&D.removeSelfFromZr(x)},C.addToStorage=function(D){L.call(C,D),D.addSelfToZr(x)}};h.prototype={constructor:h,getId:function(){return this.id},add:function(m){this.storage.addRoot(m),this._needsRefresh=!0},remove:function(m){this.storage.delRoot(m),this._needsRefresh=!0},configLayer:function(m,S){this.painter.configLayer&&this.painter.configLayer(m,S),this._needsRefresh=!0},setBackgroundColor:function(m){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(m),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var m;this._needsRefresh&&(m=!0,this.refreshImmediately()),this._needsRefreshHover&&(m=!0,this.refreshHoverImmediately()),m&&this.trigger("rendered")},addHover:function(m,S){if(this.painter.addHover){var y=this.painter.addHover(m,S);return this.refreshHover(),y}},removeHover:function(m){this.painter.removeHover&&(this.painter.removeHover(m),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(m){m=m||{},this.painter.resize(m.width,m.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(m,S){return this.painter.pathToImage(m,S)},setCursorStyle:function(m){this.handler.setCursorStyle(m)},findHover:function(m,S){return this.handler.findHover(m,S)},on:function(m,S,y){this.handler.on(m,S,y)},off:function(m,S){this.handler.off(m,S)},trigger:function(m,S){this.handler.trigger(m,S)},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,c(this.id)}},B.version=i,B.init=r,B.dispose=s,B.getInstance=t,B.registerPainter=a},aX7z:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=d("GMDS"),v=d("ieMj"),f=d("4NgU"),l=d("OELB"),u=d("nVfU"),o=u.prepareLayoutBarSeries,e=u.makeColumnLayout,n=u.retrieveColumnLayout,i=d("mFDi");d("IWp7"),d("jCoz");function r(C,T){var _=C.type,E=T.getMin(),I=T.getMax(),L=C.getExtent(),D,F,N;_==="ordinal"?D=T.getCategories().length:(F=T.get("boundaryGap"),b.isArray(F)||(F=[F||0,F||0]),typeof F[0]=="boolean"&&(F=[0,0]),F[0]=l.parsePercent(F[0],1),F[1]=l.parsePercent(F[1],1),N=L[1]-L[0]||Math.abs(L[0])),E==="dataMin"?E=L[0]:typeof E=="function"&&(E=E({min:L[0],max:L[1]})),I==="dataMax"?I=L[1]:typeof I=="function"&&(I=I({min:L[0],max:L[1]}));var P=E!=null,W=I!=null;E==null&&(E=_==="ordinal"?D?0:NaN:L[0]-F[0]*N),I==null&&(I=_==="ordinal"?D?D-1:NaN:L[1]+F[1]*N),(E==null||!isFinite(E))&&(E=NaN),(I==null||!isFinite(I))&&(I=NaN),C.setBlank(b.eqNaN(E)||b.eqNaN(I)||_==="ordinal"&&!C.getOrdinalMeta().categories.length),T.getNeedCrossZero()&&(E>0&&I>0&&!P&&(E=0),E<0&&I<0&&!W&&(I=0));var R=T.ecModel;if(R&&_==="time"){var j=o("bar",R),H;if(b.each(j,function(G){H|=G.getBaseAxis()===T.axis}),H){var K=e(j),U=s(E,I,T,K);E=U.min,I=U.max}}return{extent:[E,I],fixMin:P,fixMax:W}}function s(C,T,_,E){var I=_.axis.getExtent(),L=I[1]-I[0],D=n(E,_.axis);if(D===void 0)return{min:C,max:T};var F=Infinity;b.each(D,function(H){F=Math.min(H.offset,F)});var N=-Infinity;b.each(D,function(H){N=Math.max(H.offset+H.width,N)}),F=Math.abs(F),N=Math.abs(N);var P=F+N,W=T-C,R=1-(F+N)/L,j=W/R-W;return T+=j*(N/P),C-=j*(F/P),{min:C,max:T}}function t(C,T){var _=r(C,T),E=_.extent,I=T.get("splitNumber");C.type==="log"&&(C.base=T.get("logBase"));var L=C.type;C.setExtent(E[0],E[1]),C.niceExtent({splitNumber:I,fixMin:_.fixMin,fixMax:_.fixMax,minInterval:L==="interval"||L==="time"?T.get("minInterval"):null,maxInterval:L==="interval"||L==="time"?T.get("maxInterval"):null});var D=T.get("interval");D!=null&&(C.setInterval&&C.setInterval(D))}function a(C,T){if(T=T||C.get("type"),T)switch(T){case"category":return new g(C.getOrdinalMeta?C.getOrdinalMeta():C.getCategories(),[Infinity,-Infinity]);case"value":return new v;default:return(f.getClass(T)||v).create(C)}}function c(C){var T=C.scale.getExtent(),_=T[0],E=T[1];return!(_>0&&E>0||_<0&&E<0)}function h(C){var T=C.getLabelModel().get("formatter"),_=C.type==="category"?C.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(E){return function(I){return I=C.scale.getLabel(I),E.replace("{value}",I!=null?I:"")}}(T),T):typeof T=="function"?function(E,I){return _!=null&&(I=E-_),T(p(C,E),I)}:function(E){return C.scale.getLabel(E)}}function p(C,T){return C.type==="category"?C.scale.getLabel(T):T}function m(C){var T=C.model,_=C.scale;if(!T.get("axisLabel.show")||_.isBlank())return;var E=C.type==="category",I,L,D=_.getExtent();E?L=_.count():(I=_.getTicks(),L=I.length);var F=C.getLabelModel(),N=h(C),P,W=1;L>40&&(W=Math.ceil(L/40));for(var R=0;R<L;R+=W){var j=I?I[R]:D[0]+R,H=N(j),K=F.getTextRect(H),U=S(K,F.get("rotate")||0);P?P.union(U):P=U}return P}function S(C,T){var _=T*Math.PI/180,E=C.plain(),I=E.width,L=E.height,D=I*Math.cos(_)+L*Math.sin(_),F=I*Math.sin(_)+L*Math.cos(_),N=new i(E.x,E.y,D,F);return N}function y(C){var T=C.get("interval");return T==null?"auto":T}function x(C){return C.type==="category"&&y(C.getLabelModel())===0}B.getScaleExtent=r,B.niceScaleExtent=t,B.createScaleByModel=a,B.ifAxisCrossZero=c,B.makeLabelFormatter=h,B.getAxisRawValue=p,B.estimateLabelUnionRect=m,B.getOptionCategoryInterval=y,B.shouldShowAllLabels=x},"af/B":function(k,B,d){var w=d("bYtY"),A=w.each,b=w.map,g=w.isFunction,v=w.createHashMap,f=w.noop,l=d("9H2F"),u=l.createTask,o=d("iRjW"),e=o.getUID,n=d("fmMI"),i=d("hD7B"),r=d("4NO4"),s=r.normalizeToArray;function t(H,K,U,G){this.ecInstance=H,this.api=K,this.unfinished;var U=this._dataProcessorHandlers=U.slice(),G=this._visualHandlers=G.slice();this._allHandlers=U.concat(G),this._stageTaskMap=v()}var a=t.prototype;a.restoreData=function(H,K){H.restoreData(K),this._stageTaskMap.each(function(U){var G=U.overallTask;G&&G.dirty()})},a.getPerformArgs=function(H,K){if(!H.__pipeline)return;var U=this._pipelineMap.get(H.__pipeline.id),G=U.context,z=!K&&U.progressiveEnabled&&(!G||G.progressiveRender)&&H.__idxInPipeline>U.blockIndex,Y=z?U.step:null,q=G&&G.modDataCount,oe=q!=null?Math.ceil(q/Y):null;return{step:Y,modBy:oe,modDataCount:q}},a.getPipeline=function(H){return this._pipelineMap.get(H)},a.updateStreamModes=function(H,K){var U=this._pipelineMap.get(H.uid),G=H.getData(),z=G.count(),Y=U.progressiveEnabled&&K.incrementalPrepareRender&&z>=U.threshold,q=H.get("large")&&z>=H.get("largeThreshold"),oe=H.get("progressiveChunkMode")==="mod"?z:null;H.pipelineContext=U.context={progressiveRender:Y,modDataCount:oe,large:q}},a.restorePipelines=function(H){var K=this,U=K._pipelineMap=v();H.eachSeries(function(G){var z=G.getProgressive(),Y=G.uid;U.set(Y,{id:Y,head:null,tail:null,threshold:G.getProgressiveThreshold(),progressiveEnabled:z&&!(G.preventIncremental&&G.preventIncremental()),blockIndex:-1,step:Math.round(z||700),count:0}),D(K,G,G.dataTask)})},a.prepareStageTasks=function(){var H=this._stageTaskMap,K=this.ecInstance.getModel(),U=this.api;A(this._allHandlers,function(G){var z=H.get(G.uid)||H.set(G.uid,[]);G.reset&&p(this,G,z,K,U),G.overallReset&&m(this,G,z,K,U)},this)},a.prepareView=function(H,K,U,G){var z=H.renderTask,Y=z.context;Y.model=K,Y.ecModel=U,Y.api=G,z.__block=!H.incrementalPrepareRender,D(this,K,z)},a.performDataProcessorTasks=function(H,K){c(this,this._dataProcessorHandlers,H,K,{block:!0})},a.performVisualTasks=function(H,K,U){c(this,this._visualHandlers,H,K,U)};function c(H,K,U,G,z){z=z||{};var Y;A(K,function(oe,ie){if(z.visualType&&z.visualType!==oe.visualType)return;var se=H._stageTaskMap.get(oe.uid),he=se.seriesTaskMap,pe=se.overallTask;if(pe){var _e,De=pe.agentStubMap;De.each(function(J){q(z,J)&&(J.dirty(),_e=!0)}),_e&&pe.dirty(),h(pe,G);var Xe=H.getPerformArgs(pe,z.block);De.each(function(J){J.perform(Xe)}),Y|=pe.perform(Xe)}else he&&he.each(function(J,Ee){q(z,J)&&J.dirty();var qe=H.getPerformArgs(J,z.block);qe.skip=!oe.performRawSeries&&U.isSeriesFiltered(J.context.model),h(J,G),Y|=J.perform(qe)})});function q(oe,ie){return oe.setDirty&&(!oe.dirtyMap||oe.dirtyMap.get(ie.__pipeline.id))}H.unfinished|=Y}a.performSeriesTasks=function(H){var K;H.eachSeries(function(U){K|=U.dataTask.perform()}),this.unfinished|=K},a.plan=function(){this._pipelineMap.each(function(H){var K=H.tail;do{if(K.__block){H.blockIndex=K.__idxInPipeline;break}K=K.getUpstream()}while(K)})};var h=a.updatePayload=function(H,K){K!=="remain"&&(H.context.payload=K)};function p(H,K,U,G,z){var Y=U.seriesTaskMap||(U.seriesTaskMap=v()),q=K.seriesType,oe=K.getTargetSeries;K.createOnAllSeries?G.eachRawSeries(ie):q?G.eachRawSeriesByType(q,ie):oe&&oe(G,z).each(ie);function ie(he){var pe=he.uid,_e=Y.get(pe)||Y.set(pe,u({plan:T,reset:_,count:L}));_e.context={model:he,ecModel:G,api:z,useClearVisual:K.isVisual&&!K.isLayout,plan:K.plan,reset:K.reset,scheduler:H},D(H,he,_e)}var se=H._pipelineMap;Y.each(function(he,pe){se.get(pe)||(he.dispose(),Y.removeKey(pe))})}function m(H,K,U,G,z){var Y=U.overallTask=U.overallTask||u({reset:S});Y.context={ecModel:G,api:z,overallReset:K.overallReset,scheduler:H};var q=Y.agentStubMap=Y.agentStubMap||v(),oe=K.seriesType,ie=K.getTargetSeries,se=!0,he=K.modifyOutputEnd;oe?G.eachRawSeriesByType(oe,pe):ie?ie(G,z).each(pe):(se=!1,A(G.getSeries(),pe));function pe(De){var Xe=De.uid,J=q.get(Xe);J||(J=q.set(Xe,u({reset:y,onDirty:C})),Y.dirty()),J.context={model:De,overallProgress:se,modifyOutputEnd:he},J.agent=Y,J.__block=se,D(H,De,J)}var _e=H._pipelineMap;q.each(function(De,Xe){_e.get(Xe)||(De.dispose(),Y.dirty(),q.removeKey(Xe))})}function S(H){H.overallReset(H.ecModel,H.api,H.payload)}function y(H,K){return H.overallProgress&&x}function x(){this.agent.dirty(),this.getDownstream().dirty()}function C(){this.agent&&this.agent.dirty()}function T(H){return H.plan&&H.plan(H.model,H.ecModel,H.api,H.payload)}function _(H){H.useClearVisual&&H.data.clearAllVisual();var K=H.resetDefines=s(H.reset(H.model,H.ecModel,H.api,H.payload));return K.length>1?b(K,function(U,G){return I(G)}):E}var E=I(0);function I(H){return function(K,U){var G=U.data,z=U.resetDefines[H];if(z&&z.dataEach)for(var Y=K.start;Y<K.end;Y++)z.dataEach(G,Y);else z&&z.progress&&z.progress(K,G)}}function L(H){return H.data.count()}function D(H,K,U){var G=K.uid,z=H._pipelineMap.get(G);!z.head&&(z.head=U),z.tail&&z.tail.pipe(U),z.tail=U,U.__idxInPipeline=z.count++,U.__pipeline=z}t.wrapStageHandler=function(H,K){return g(H)&&(H={overallReset:H,seriesType:F(H)}),H.uid=e("stageHandler"),K&&(H.visualType=K),H};function F(H){W=null;try{H(N,P)}catch(K){}return W}var N={},P={},W;R(N,n),R(P,i),N.eachSeriesByType=N.eachRawSeriesByType=function(H){W=H},N.eachComponent=function(H){H.mainType==="series"&&H.subType&&(W=H.subType)};function R(H,K){for(var U in K.prototype)H[U]=f}var j=t;k.exports=j},akwb:function(k,B,d){var w=d("RSch"),A=d("bYtY"),b=d("D9ME"),g=d("QBsz");function v(u,o,e){b.call(this,u,o,e),this._lastFrame=0,this._lastFramePercent=0}var f=v.prototype;f.createLine=function(u,o,e){return new w(u,o,e)},f.updateAnimationPoints=function(u,o){this._points=o;for(var e=[0],n=0,i=1;i<o.length;i++){var r=o[i-1],s=o[i];n+=g.dist(r,s),e.push(n)}if(n===0)return;for(var i=0;i<e.length;i++)e[i]/=n;this._offsets=e,this._length=n},f.getLineLength=function(u){return this._length},f.updateSymbolPosition=function(u){var o=u.__t,e=this._points,n=this._offsets,i=e.length;if(!n)return;var r=this._lastFrame,s;if(o<this._lastFramePercent){var t=Math.min(r+1,i-1);for(s=t;s>=0&&!(n[s]<=o);s--);s=Math.min(s,i-2)}else{for(var s=r;s<i&&!(n[s]>o);s++);s=Math.min(s-1,i-2)}g.lerp(u.position,e[s],e[s+1],(o-n[s])/(n[s+1]-n[s]));var a=e[s+1][0]-e[s][0],c=e[s+1][1]-e[s][1];u.rotation=-Math.atan2(c,a)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=o,u.ignore=!1},A.inherits(v,b);var l=v;k.exports=l},as94:function(k,B,d){var w=d("7aKB"),A=d("3LNs"),b=d("IwbS"),g=d("/y7N"),v=d("Fofx"),f=d("+rIm"),l=d("Znkb"),u=A.extend({makeElOption:function(i,r,s,t,a){var c=s.axis;c.dim==="angle"&&(this.animationThreshold=Math.PI/18);var h=c.polar,p=h.getOtherAxis(c),m=p.getExtent(),S;S=c["dataTo"+w.capitalFirst(c.dim)](r);var y=t.get("type");if(y&&y!=="none"){var x=g.buildElStyle(t),C=e[y](c,h,S,m,x);C.style=x,i.graphicKey=C.type,i.pointer=C}var T=t.get("label.margin"),_=o(r,s,t,h,T);g.buildLabelElOption(i,s,t,a,_)}});function o(i,r,s,t,a){var c=r.axis,h=c.dataToCoord(i),p=t.getAngleAxis().getExtent()[0];p=p/180*Math.PI;var m=t.getRadiusAxis().getExtent(),S,y,x;if(c.dim==="radius"){var C=v.create();v.rotate(C,C,p),v.translate(C,C,[t.cx,t.cy]),S=b.applyTransform([h,-a],C);var T=r.getModel("axisLabel").get("rotate")||0,_=f.innerTextLayout(p,T*Math.PI/180,-1);y=_.textAlign,x=_.textVerticalAlign}else{var E=m[1];S=t.coordToPoint([E+a,h]);var I=t.cx,L=t.cy;y=Math.abs(S[0]-I)/E<.3?"center":S[0]>I?"left":"right",x=Math.abs(S[1]-L)/E<.3?"middle":S[1]>L?"top":"bottom"}return{position:S,align:y,verticalAlign:x}}var e={line:function(i,r,s,t,a){return i.dim==="angle"?{type:"Line",shape:g.makeLineShape(r.coordToPoint([t[0],s]),r.coordToPoint([t[1],s]))}:{type:"Circle",shape:{cx:r.cx,cy:r.cy,r:s}}},shadow:function(i,r,s,t,a){var c=Math.max(1,i.getBandWidth()),h=Math.PI/180;return i.dim==="angle"?{type:"Sector",shape:g.makeSectorShape(r.cx,r.cy,t[0],t[1],(-s-c/2)*h,(-s+c/2)*h)}:{type:"Sector",shape:g.makeSectorShape(r.cx,r.cy,s-c/2,s+c/2,0,Math.PI*2)}}};l.registerAxisPointerClass("PolarAxisPointer",u);var n=u;k.exports=n},b56q:function(k,B,d){},b9oc:function(k,B,d){var w=d("bYtY"),A=w.each,b="\0_ec_hist_store";function g(o,e){var n=u(o);A(e,function(i,r){for(var s=n.length-1;s>=0;s--){var t=n[s];if(t[r])break}if(s<0){var a=o.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var c=a.getPercentRange();n[0][r]={dataZoomId:r,start:c[0],end:c[1]}}}}),n.push(e)}function v(o){var e=u(o),n=e[e.length-1];e.length>1&&e.pop();var i={};return A(n,function(r,s){for(var t=e.length-1;t>=0;t--){var r=e[t][s];if(r){i[s]=r;break}}}),i}function f(o){o[b]=null}function l(o){return u(o).length}function u(o){var e=o[b];return e||(e=o[b]=[{}]),e}B.push=g,B.pop=v,B.clear=f,B.count=l},bBKM:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),g=d("bYtY"),v=d("+rIm"),f=d("IwbS"),l=["axisLine","axisTickLabel","axisName"],u=b.extendComponentView({type:"radar",render:function(o,e,n){var i=this.group;i.removeAll(),this._buildAxes(o),this._buildSplitLineAndArea(o)},_buildAxes:function(o){var e=o.coordinateSystem,n=e.getIndicatorAxes(),i=g.map(n,function(r){var s=new v(r.model,{position:[e.cx,e.cy],rotation:r.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return s});g.each(i,function(r){g.each(l,r.add,r),this.group.add(r.getGroup())},this)},_buildSplitLineAndArea:function(o){var e=o.coordinateSystem,n=e.getIndicatorAxes();if(!n.length)return;var i=o.get("shape"),r=o.getModel("splitLine"),s=o.getModel("splitArea"),t=r.getModel("lineStyle"),a=s.getModel("areaStyle"),c=r.get("show"),h=s.get("show"),p=t.get("color"),m=a.get("color");p=g.isArray(p)?p:[p],m=g.isArray(m)?m:[m];var S=[],y=[];function x(j,H,K){var U=K%H.length;return j[U]=j[U]||[],U}if(i==="circle")for(var C=n[0].getTicksCoords(),T=e.cx,_=e.cy,E=0;E<C.length;E++){if(c){var I=x(S,p,E);S[I].push(new f.Circle({shape:{cx:T,cy:_,r:C[E].coord}}))}if(h&&E<C.length-1){var I=x(y,m,E);y[I].push(new f.Ring({shape:{cx:T,cy:_,r0:C[E].coord,r:C[E+1].coord}}))}}else for(var L,D=g.map(n,function(j,H){var K=j.getTicksCoords();return L=L==null?K.length-1:Math.min(K.length-1,L),g.map(K,function(U){return e.coordToPoint(U.coord,H)})}),F=[],E=0;E<=L;E++){for(var N=[],P=0;P<n.length;P++)N.push(D[P][E]);if(N[0]&&N.push(N[0].slice()),c){var I=x(S,p,E);S[I].push(new f.Polyline({shape:{points:N}}))}if(h&&F){var I=x(y,m,E-1);y[I].push(new f.Polygon({shape:{points:N.concat(F)}}))}F=N.slice().reverse()}var W=t.getLineStyle(),R=a.getAreaStyle();g.each(y,function(j,H){this.group.add(f.mergePath(j,{style:g.defaults({stroke:"none",fill:m[H%m.length]},R),silent:!0}))},this),g.each(S,function(j,H){this.group.add(f.mergePath(j,{style:g.defaults({fill:"none",stroke:p[H%p.length]},W),silent:!0}))},this)}});k.exports=u},bBL8:function(k,B,d){var w=d("ProS");d("LPzL"),d("rfSb"),d("JVwQ");var A=d("UnoB"),b=d("cbJ4"),g=d("0/Rx");w.registerLayout(A),w.registerVisual(b),w.registerProcessor(g("themeRiver"))},bE4E:function(k,B,d){},bE4q:function(k,B,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("KQm4"),g=d("q1tI"),v=d("TSYQ"),f=d.n(v),l=d("Zm9Q"),u=d("8Skl"),o=d("XBQK"),e=d("H84U"),n=function(E,I){var L={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&I.indexOf(D)<0&&(L[D]=E[D]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,D=Object.getOwnPropertySymbols(E);F<D.length;F++)I.indexOf(D[F])<0&&Object.prototype.propertyIsEnumerable.call(E,D[F])&&(L[D[F]]=E[D[F]]);return L},i=function(I){var L=I.prefixCls,D=I.separator,F=D===void 0?"/":D,N=I.children,P=I.overlay,W=I.dropdownProps,R=n(I,["prefixCls","separator","children","overlay","dropdownProps"]),j=g.useContext(e.b),H=j.getPrefixCls,K=H("breadcrumb",L),U=function(Y){return P?g.createElement(o.a,Object(w.a)({overlay:P,placement:"bottomCenter"},W),g.createElement("span",{className:"".concat(K,"-overlay-link")},Y,g.createElement(u.a,null))):Y},G;return"href"in R?G=g.createElement("a",Object(w.a)({className:"".concat(K,"-link")},R),N):G=g.createElement("span",Object(w.a)({className:"".concat(K,"-link")},R),N),G=U(G),N?g.createElement("span",null,G,F&&F!==""&&g.createElement("span",{className:"".concat(K,"-separator")},F)):null};i.__ANT_BREADCRUMB_ITEM=!0;var r=i,s=function(I){var L=I.children,D=g.useContext(e.b),F=D.getPrefixCls,N=F("breadcrumb");return g.createElement("span",{className:"".concat(N,"-separator")},L||"/")};s.__ANT_BREADCRUMB_SEPARATOR=!0;var t=s,a=d("BvKs"),c=d("uaoM"),h=d("0n0R"),p=function(E,I){var L={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&I.indexOf(D)<0&&(L[D]=E[D]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,D=Object.getOwnPropertySymbols(E);F<D.length;F++)I.indexOf(D[F])<0&&Object.prototype.propertyIsEnumerable.call(E,D[F])&&(L[D[F]]=E[D[F]]);return L};function m(E,I){if(!E.breadcrumbName)return null;var L=Object.keys(I).join("|"),D=E.breadcrumbName.replace(new RegExp(":(".concat(L,")"),"g"),function(F,N){return I[N]||F});return D}function S(E,I,L,D){var F=L.indexOf(E)===L.length-1,N=m(E,I);return F?g.createElement("span",null,N):g.createElement("a",{href:"#/".concat(D.join("/"))},N)}var y=function(I,L){return I=(I||"").replace(/^\//,""),Object.keys(L).forEach(function(D){I=I.replace(":".concat(D),L[D])}),I},x=function(I){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",D=arguments.length>2?arguments[2]:void 0,F=Object(b.a)(I),N=y(L,D);return N&&F.push(N),F},C=function(I){var L=I.prefixCls,D=I.separator,F=D===void 0?"/":D,N=I.style,P=I.className,W=I.routes,R=I.children,j=I.itemRender,H=j===void 0?S:j,K=I.params,U=K===void 0?{}:K,G=p(I,["prefixCls","separator","style","className","routes","children","itemRender","params"]),z=g.useContext(e.b),Y=z.getPrefixCls,q=z.direction,oe,ie=Y("breadcrumb",L);if(W&&W.length>0){var se=[];oe=W.map(function(pe){var _e=y(pe.path,U);_e&&se.push(_e);var De;return pe.children&&pe.children.length&&(De=g.createElement(a.a,null,pe.children.map(function(Xe){return g.createElement(a.a.Item,{key:Xe.path||Xe.breadcrumbName},H(Xe,U,W,x(se,Xe.path,U)))}))),g.createElement(r,{overlay:De,separator:F,key:_e||pe.breadcrumbName},H(pe,U,W,se))})}else R&&(oe=Object(l.a)(R).map(function(pe,_e){return pe&&(Object(c.a)(pe.type&&(pe.type.__ANT_BREADCRUMB_ITEM===!0||pe.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(h.a)(pe,{separator:F,key:_e}))}));var he=f()(ie,Object(A.a)({},"".concat(ie,"-rtl"),q==="rtl"),P);return g.createElement("div",Object(w.a)({className:he,style:N},G),oe)};C.Item=r,C.Separator=t;var T=C,_=B.a=T},bKJz:function(k,B,d){},bLfw:function(k,B,d){var w=d("bYtY"),A=d("Qxkt"),b=d("iRjW"),g=d("Yl7c"),v=g.enableClassManagement,f=g.parseClassType,l=d("4NO4"),u=l.makeInner,o=d("+TT/"),e=d("3hzK"),n=u(),i=A.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,a,c,h){A.call(this,t,a,c,h),this.uid=b.getUID("ec_cpt_model")},init:function(t,a,c,h){this.mergeDefaultAndTheme(t,c)},mergeDefaultAndTheme:function(t,a){var c=this.layoutMode,h=c?o.getLayoutParams(t):{},p=a.getTheme();w.merge(t,p.get(this.mainType)),w.merge(t,this.getDefaultOption()),c&&o.mergeLayoutParam(t,h,c)},mergeOption:function(t,a){w.merge(this.option,t,!0);var c=this.layoutMode;c&&o.mergeLayoutParam(this.option,t,c)},optionUpdated:function(t,a){},getDefaultOption:function(){var t=n(this);if(!t.defaultOption){for(var a=[],c=this.constructor;c;){var h=c.prototype.defaultOption;h&&a.push(h),c=c.superClass}for(var p={},m=a.length-1;m>=0;m--)p=w.merge(p,a[m],!0);t.defaultOption=p}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});v(i,{registerWhenExtend:!0}),b.enableSubTypeDefaulter(i),b.enableTopologicalTravel(i,r);function r(t){var a=[];return w.each(i.getClassesByMainType(t),function(c){a=a.concat(c.prototype.dependencies||[])}),a=w.map(a,function(c){return f(c).main}),t!=="dataset"&&w.indexOf(a,"dataset")<=0&&a.unshift("dataset"),a}w.mixin(i,e);var s=i;k.exports=s},bMXI:function(k,B,d){var w=d("bYtY"),A=d("QBsz"),b=d("Fofx"),g=d("mFDi"),v=d("DN4a"),f=A.applyTransform;function l(){v.call(this)}w.mixin(l,v);function u(n){this.name=n,this.zoomLimit,v.call(this),this._roamTransformable=new l,this._rawTransformable=new l,this._center,this._zoom}u.prototype={constructor:u,type:"view",dimensions:["x","y"],setBoundingRect:function(n,i,r,s){return this._rect=new g(n,i,r,s),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(n,i,r,s){this.transformTo(n,i,r,s),this._viewRect=new g(n,i,r,s)},transformTo:function(n,i,r,s){var t=this.getBoundingRect(),a=this._rawTransformable;a.transform=t.calculateTransform(new g(n,i,r,s)),a.decomposeTransform(),this._updateTransform()},setCenter:function(n){if(!n)return;this._center=n,this._updateCenterAndZoom()},setZoom:function(n){n=n||1;var i=this.zoomLimit;i&&(i.max!=null&&(n=Math.min(i.max,n)),i.min!=null&&(n=Math.max(i.min,n))),this._zoom=n,this._updateCenterAndZoom()},getDefaultCenter:function(){var n=this.getBoundingRect(),i=n.x+n.width/2,r=n.y+n.height/2;return[i,r]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var n=this._rawTransformable.getLocalTransform(),i=this._roamTransformable,r=this.getDefaultCenter(),s=this.getCenter(),t=this.getZoom();s=A.applyTransform([],s,n),r=A.applyTransform([],r,n),i.origin=s,i.position=[r[0]-s[0],r[1]-s[1]],i.scale=[t,t],this._updateTransform()},_updateTransform:function(){var n=this._roamTransformable,i=this._rawTransformable;i.parent=n,n.updateTransform(),i.updateTransform(),b.copy(this.transform||(this.transform=[]),i.transform||b.create()),this._rawTransform=i.getLocalTransform(),this.invTransform=this.invTransform||[],b.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var n=this._roamTransformable.transform,i=this._rawTransformable;return{roamTransform:n?w.slice(n):b.create(),rawScale:w.slice(i.scale),rawPosition:w.slice(i.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var n=this.getBoundingRect().clone();return n.applyTransform(this.transform),n},dataToPoint:function(n,i,r){var s=i?this._rawTransform:this.transform;return r=r||[],s?f(r,n,s):A.copy(r,n)},pointToData:function(n){var i=this.invTransform;return i?f([],n,i):[n[0],n[1]]},convertToPixel:w.curry(o,"dataToPoint"),convertFromPixel:w.curry(o,"pointToData"),containPoint:function(n){return this.getViewRectAfterRoam().contain(n[0],n[1])}},w.mixin(u,v);function o(n,i,r,s){var t=r.seriesModel,a=t?t.coordinateSystem:null;return a===this?a[n](s):null}var e=u;k.exports=e},bNin:function(k,B,d){var w=d("bYtY"),A=d("IwbS"),b=d("FBjb"),g=d("Itpr"),v=g.radialCoordinate,f=d("ProS"),l=d("4mN7"),u=d("bMXI"),o=d("Ae+d"),e=d("SgGq"),n=d("xSat"),i=n.onIrrelevantElement,r=d("Tghj"),s=r.__DEV__,t=d("OELB"),a=t.parsePercent,c=A.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,_){var E=_.childPoints,I=E.length,L=_.parentPoint,D=E[0],F=E[I-1];if(I===1){T.moveTo(L[0],L[1]),T.lineTo(D[0],D[1]);return}var N=_.orient,P=N==="TB"||N==="BT"?0:1,W=1-P,R=a(_.forkPosition,1),j=[];j[P]=L[P],j[W]=L[W]+(F[W]-L[W])*R,T.moveTo(L[0],L[1]),T.lineTo(j[0],j[1]),T.moveTo(D[0],D[1]),j[P]=D[P],T.lineTo(j[0],j[1]),j[P]=F[P],T.lineTo(j[0],j[1]),T.lineTo(F[0],F[1]);for(var H=1;H<I-1;H++){var K=E[H];T.moveTo(K[0],K[1]),j[P]=K[P],T.lineTo(j[0],j[1])}}}),h=f.extendChartView({type:"tree",init:function(T,_){this._oldTree,this._mainGroup=new A.Group,this._controller=new e(_.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(T,_,E,I){var L=T.getData(),D=T.layoutInfo,F=this._mainGroup,N=T.get("layout");N==="radial"?F.attr("position",[D.x+D.width/2,D.y+D.height/2]):F.attr("position",[D.x,D.y]),this._updateViewCoordSys(T,D,N),this._updateController(T,_,E);var P=this._data,W={expandAndCollapse:T.get("expandAndCollapse"),layout:N,edgeShape:T.get("edgeShape"),edgeForkPosition:T.get("edgeForkPosition"),orient:T.getOrient(),curvature:T.get("lineStyle.curveness"),symbolRotate:T.get("symbolRotate"),symbolOffset:T.get("symbolOffset"),hoverAnimation:T.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};L.diff(P).add(function(R){p(L,R)&&S(L,R,null,F,T,W)}).update(function(R,j){var H=P.getItemGraphicEl(j);if(!p(L,R)){H&&x(P,j,H,F,T,W);return}S(L,R,H,F,T,W)}).remove(function(R){var j=P.getItemGraphicEl(R);j&&x(P,R,j,F,T,W)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),W.expandAndCollapse===!0&&L.eachItemGraphicEl(function(R,j){R.off("click").on("click",function(){E.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:j})})}),this._data=L},_updateViewCoordSys:function(T){var _=T.getData(),E=[];_.each(function(P){var W=_.getItemLayout(P);W&&!isNaN(W.x)&&!isNaN(W.y)&&E.push([+W.x,+W.y])});var I=[],L=[];l.fromPoints(E,I,L);var D=this._min,F=this._max;L[0]-I[0]===0&&(I[0]=D?D[0]:I[0]-1,L[0]=F?F[0]:L[0]+1),L[1]-I[1]===0&&(I[1]=D?D[1]:I[1]-1,L[1]=F?F[1]:L[1]+1);var N=T.coordinateSystem=new u;N.zoomLimit=T.get("scaleLimit"),N.setBoundingRect(I[0],I[1],L[0]-I[0],L[1]-I[1]),N.setCenter(T.get("center")),N.setZoom(T.get("zoom")),this.group.attr({position:N.position,scale:N.scale}),this._viewCoordSys=N,this._min=I,this._max=L},_updateController:function(T,_,E){var I=this._controller,L=this._controllerHost,D=this.group;I.setPointerChecker(function(F,N,P){var W=D.getBoundingRect();return W.applyTransform(D.transform),W.contain(N,P)&&!i(F,E,T)}),I.enable(T.get("roam")),L.zoomLimit=T.get("scaleLimit"),L.zoom=T.coordinateSystem.getZoom(),I.off("pan").off("zoom").on("pan",function(F){o.updateViewOnPan(L,F.dx,F.dy),E.dispatchAction({seriesId:T.id,type:"treeRoam",dx:F.dx,dy:F.dy})},this).on("zoom",function(F){o.updateViewOnZoom(L,F.scale,F.originX,F.originY),E.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:F.scale,originX:F.originX,originY:F.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var _=T.getData(),E=this._getNodeGlobalScale(T),I=[E,E];_.eachItemGraphicEl(function(L,D){L.attr("scale",I)})},_getNodeGlobalScale:function(T){var _=T.coordinateSystem;if(_.type!=="view")return 1;var E=this._nodeScaleRatio,I=_.scale,L=I&&I[0]||1,D=_.getZoom(),F=(D-1)*E+1;return F/L},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function p(T,_){var E=T.getItemLayout(_);return E&&!isNaN(E.x)&&!isNaN(E.y)&&T.getItemVisual(_,"symbol")!=="none"}function m(T,_,E){return E.itemModel=_,E.itemStyle=_.getModel("itemStyle").getItemStyle(),E.hoverItemStyle=_.getModel("emphasis.itemStyle").getItemStyle(),E.lineStyle=_.getModel("lineStyle").getLineStyle(),E.labelModel=_.getModel("label"),E.hoverLabelModel=_.getModel("emphasis.label"),T.isExpand===!1&&T.children.length!==0?E.symbolInnerColor=E.itemStyle.fill:E.symbolInnerColor="#fff",E}function S(T,_,E,I,L,D){var F=!E,N=T.tree.getNodeByDataIndex(_),P=N.getModel(),D=m(N,P,D),W=T.tree.root,R=N.parentNode===W?N:N.parentNode||N,j=T.getItemGraphicEl(R.dataIndex),H=R.getLayout(),K=j?{x:j.position[0],y:j.position[1],rawX:j.__radialOldRawX,rawY:j.__radialOldRawY}:H,U=N.getLayout();F?(E=new b(T,_,D),E.attr("position",[K.x,K.y])):E.updateData(T,_,D),E.__radialOldRawX=E.__radialRawX,E.__radialOldRawY=E.__radialRawY,E.__radialRawX=U.rawX,E.__radialRawY=U.rawY,I.add(E),T.setItemGraphicEl(_,E),A.updateProps(E,{position:[U.x,U.y]},L);var G=E.getSymbolPath();if(D.layout==="radial"){var z=W.children[0],Y=z.getLayout(),q=z.children.length,oe,ie;if(U.x===Y.x&&N.isExpand===!0){var se={};se.x=(z.children[0].getLayout().x+z.children[q-1].getLayout().x)/2,se.y=(z.children[0].getLayout().y+z.children[q-1].getLayout().y)/2,oe=Math.atan2(se.y-Y.y,se.x-Y.x),oe<0&&(oe=Math.PI*2+oe),ie=se.x<Y.x,ie&&(oe=oe-Math.PI)}else oe=Math.atan2(U.y-Y.y,U.x-Y.x),oe<0&&(oe=Math.PI*2+oe),N.children.length===0||N.children.length!==0&&N.isExpand===!1?(ie=U.x<Y.x,ie&&(oe=oe-Math.PI)):(ie=U.x>Y.x,ie||(oe=oe-Math.PI));var he=ie?"left":"right",pe=D.labelModel.get("rotate"),_e=pe*(Math.PI/180);G.setStyle({textPosition:D.labelModel.get("position")||he,textRotation:pe==null?-oe:_e,textOrigin:"center",verticalAlign:"middle"})}y(L,N,W,E,K,H,U,I,D)}function y(T,_,E,I,L,D,F,N,P){var W=P.edgeShape,R=I.__edge;if(W==="curve")_.parentNode&&_.parentNode!==E&&(R||(R=I.__edge=new A.BezierCurve({shape:C(P,L,L),style:w.defaults({opacity:0,strokeNoScale:!0},P.lineStyle)})),A.updateProps(R,{shape:C(P,D,F),style:{opacity:1}},T));else if(W==="polyline"&&(P.layout==="orthogonal"&&(_!==E&&_.children&&_.children.length!==0&&_.isExpand===!0))){for(var j=_.children,H=[],K=0;K<j.length;K++){var U=j[K].getLayout();H.push([U.x,U.y])}R||(R=I.__edge=new c({shape:{parentPoint:[F.x,F.y],childPoints:[[F.x,F.y]],orient:P.orient,forkPosition:P.edgeForkPosition},style:w.defaults({opacity:0,strokeNoScale:!0},P.lineStyle)})),A.updateProps(R,{shape:{parentPoint:[F.x,F.y],childPoints:H},style:{opacity:1}},T)}N.add(R)}function x(T,_,E,I,L,D){for(var F=T.tree.getNodeByDataIndex(_),N=T.tree.root,P=F.getModel(),D=m(F,P,D),W=F.parentNode===N?F:F.parentNode||F,R=D.edgeShape,j;j=W.getLayout(),j==null;)W=W.parentNode===N?W:W.parentNode||W;A.updateProps(E,{position:[j.x+1,j.y+1]},L,function(){I.remove(E),T.setItemGraphicEl(_,null)}),E.fadeOut(null,{keepLabel:!0});var H=T.getItemGraphicEl(W.dataIndex),K=H.__edge,U=E.__edge||(W.isExpand===!1||W.children.length===1?K:void 0),R=D.edgeShape;U&&(R==="curve"?A.updateProps(U,{shape:C(D,j,j),style:{opacity:0}},L,function(){I.remove(U)}):R==="polyline"&&D.layout==="orthogonal"&&A.updateProps(U,{shape:{parentPoint:[j.x,j.y],childPoints:[[j.x,j.y]]},style:{opacity:0}},L,function(){I.remove(U)}))}function C(T,_,E){var I,L,D,F,N=T.orient,P,W,R,j;if(T.layout==="radial"){P=_.rawX,R=_.rawY,W=E.rawX,j=E.rawY;var H=v(P,R),K=v(P,R+(j-R)*T.curvature),U=v(W,j+(R-j)*T.curvature),G=v(W,j);return{x1:H.x,y1:H.y,x2:G.x,y2:G.y,cpx1:K.x,cpy1:K.y,cpx2:U.x,cpy2:U.y}}else P=_.x,R=_.y,W=E.x,j=E.y,(N==="LR"||N==="RL")&&(I=P+(W-P)*T.curvature,L=R,D=W+(P-W)*T.curvature,F=j),(N==="TB"||N==="BT")&&(I=P,L=R+(j-R)*T.curvature,D=W,F=j+(R-j)*T.curvature);return{x1:P,y1:R,x2:W,y2:j,cpx1:I,cpy1:L,cpx2:D,cpy2:F}}k.exports=h},bRQS:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="CheckOutlined";var l=B.a=A.forwardRef(f)},bYtY:function(k,B){var d={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},w={"[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},A=Object.prototype.toString,b=Array.prototype,g=b.forEach,v=b.filter,f=b.slice,l=b.map,u=b.reduce,o={};function e(J,Ee){J==="createCanvas"&&(c=null),o[J]=Ee}function n(J){if(J==null||typeof J!="object")return J;var Ee=J,qe=A.call(J);if(qe==="[object Array]"){if(!he(J)){Ee=[];for(var ae=0,V=J.length;ae<V;ae++)Ee[ae]=n(J[ae])}}else if(w[qe]){if(!he(J)){var X=J.constructor;if(J.constructor.from)Ee=X.from(J);else{Ee=new X(J.length);for(var ae=0,V=J.length;ae<V;ae++)Ee[ae]=n(J[ae])}}}else if(!d[qe]&&!he(J)&&!j(J)){Ee={};for(var Z in J)J.hasOwnProperty(Z)&&(Ee[Z]=n(J[Z]))}return Ee}function i(J,Ee,qe){if(!P(Ee)||!P(J))return qe?n(Ee):J;for(var ae in Ee)if(Ee.hasOwnProperty(ae)){var V=J[ae],X=Ee[ae];P(X)&&P(V)&&!D(X)&&!D(V)&&!j(X)&&!j(V)&&!W(X)&&!W(V)&&!he(X)&&!he(V)?i(V,X,qe):(qe||!(ae in J))&&(J[ae]=n(Ee[ae],!0))}return J}function r(J,Ee){for(var qe=J[0],ae=1,V=J.length;ae<V;ae++)qe=i(qe,J[ae],Ee);return qe}function s(J,Ee){for(var qe in Ee)Ee.hasOwnProperty(qe)&&(J[qe]=Ee[qe]);return J}function t(J,Ee,qe){for(var ae in Ee)Ee.hasOwnProperty(ae)&&(qe?Ee[ae]!=null:J[ae]==null)&&(J[ae]=Ee[ae]);return J}var a=function(){return o.createCanvas()};o.createCanvas=function(){return document.createElement("canvas")};var c;function h(){return c||(c=a().getContext("2d")),c}function p(J,Ee){if(J){if(J.indexOf)return J.indexOf(Ee);for(var qe=0,ae=J.length;qe<ae;qe++)if(J[qe]===Ee)return qe}return-1}function m(J,Ee){var qe=J.prototype;function ae(){}ae.prototype=Ee.prototype,J.prototype=new ae;for(var V in qe)qe.hasOwnProperty(V)&&(J.prototype[V]=qe[V]);J.prototype.constructor=J,J.superClass=Ee}function S(J,Ee,qe){J="prototype"in J?J.prototype:J,Ee="prototype"in Ee?Ee.prototype:Ee,t(J,Ee,qe)}function y(J){return J?typeof J=="string"?!1:typeof J.length=="number":void 0}function x(J,Ee,qe){if(!(J&&Ee))return;if(J.forEach&&J.forEach===g)J.forEach(Ee,qe);else if(J.length===+J.length)for(var ae=0,V=J.length;ae<V;ae++)Ee.call(qe,J[ae],ae,J);else for(var X in J)J.hasOwnProperty(X)&&Ee.call(qe,J[X],X,J)}function C(J,Ee,qe){if(!(J&&Ee))return;if(J.map&&J.map===l)return J.map(Ee,qe);for(var ae=[],V=0,X=J.length;V<X;V++)ae.push(Ee.call(qe,J[V],V,J));return ae}function T(J,Ee,qe,ae){if(!(J&&Ee))return;if(J.reduce&&J.reduce===u)return J.reduce(Ee,qe,ae);for(var V=0,X=J.length;V<X;V++)qe=Ee.call(ae,qe,J[V],V,J);return qe}function _(J,Ee,qe){if(!(J&&Ee))return;if(J.filter&&J.filter===v)return J.filter(Ee,qe);for(var ae=[],V=0,X=J.length;V<X;V++)Ee.call(qe,J[V],V,J)&&ae.push(J[V]);return ae}function E(J,Ee,qe){if(!(J&&Ee))return;for(var ae=0,V=J.length;ae<V;ae++)if(Ee.call(qe,J[ae],ae,J))return J[ae]}function I(J,Ee){var qe=f.call(arguments,2);return function(){return J.apply(Ee,qe.concat(f.call(arguments)))}}function L(J){var Ee=f.call(arguments,1);return function(){return J.apply(this,Ee.concat(f.call(arguments)))}}function D(J){return A.call(J)==="[object Array]"}function F(J){return typeof J=="function"}function N(J){return A.call(J)==="[object String]"}function P(J){var Ee=typeof J;return Ee==="function"||!!J&&Ee==="object"}function W(J){return!!d[A.call(J)]}function R(J){return!!w[A.call(J)]}function j(J){return typeof J=="object"&&typeof J.nodeType=="number"&&typeof J.ownerDocument=="object"}function H(J){return J!==J}function K(J){for(var Ee=0,qe=arguments.length;Ee<qe;Ee++)if(arguments[Ee]!=null)return arguments[Ee]}function U(J,Ee){return J!=null?J:Ee}function G(J,Ee,qe){return J!=null?J:Ee!=null?Ee:qe}function z(){return Function.call.apply(f,arguments)}function Y(J){if(typeof J=="number")return[J,J,J,J];var Ee=J.length;return Ee===2?[J[0],J[1],J[0],J[1]]:Ee===3?[J[0],J[1],J[2],J[1]]:J}function q(J,Ee){if(!J)throw new Error(Ee)}function oe(J){return J==null?null:typeof J.trim=="function"?J.trim():J.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ie="__ec_primitive__";function se(J){J[ie]=!0}function he(J){return J[ie]}function pe(J){var Ee=D(J);this.data={};var qe=this;J instanceof pe?J.each(ae):J&&x(J,ae);function ae(V,X){Ee?qe.set(V,X):qe.set(X,V)}}pe.prototype={constructor:pe,get:function(Ee){return this.data.hasOwnProperty(Ee)?this.data[Ee]:null},set:function(Ee,qe){return this.data[Ee]=qe},each:function(Ee,qe){qe!==void 0&&(Ee=I(Ee,qe));for(var ae in this.data)this.data.hasOwnProperty(ae)&&Ee(this.data[ae],ae)},removeKey:function(Ee){delete this.data[Ee]}};function _e(J){return new pe(J)}function De(J,Ee){for(var qe=new J.constructor(J.length+Ee.length),ae=0;ae<J.length;ae++)qe[ae]=J[ae];var V=J.length;for(ae=0;ae<Ee.length;ae++)qe[ae+V]=Ee[ae];return qe}function Xe(){}B.$override=e,B.clone=n,B.merge=i,B.mergeAll=r,B.extend=s,B.defaults=t,B.createCanvas=a,B.getContext=h,B.indexOf=p,B.inherits=m,B.mixin=S,B.isArrayLike=y,B.each=x,B.map=C,B.reduce=T,B.filter=_,B.find=E,B.bind=I,B.curry=L,B.isArray=D,B.isFunction=F,B.isString=N,B.isObject=P,B.isBuiltInObject=W,B.isTypedArray=R,B.isDom=j,B.eqNaN=H,B.retrieve=K,B.retrieve2=U,B.retrieve3=G,B.slice=z,B.normalizeCssArray=Y,B.assert=q,B.trim=oe,B.setAsPrimitive=se,B.isPrimitive=he,B.createHashMap=_e,B.concatArray=De,B.noop=Xe},bZqE:function(k,B){function d(A,b,g){for(var v=[A],f=[],l;l=v.pop();)if(f.push(l),l.isExpand){var u=l.children;if(u.length)for(var o=0;o<u.length;o++)v.push(u[o])}for(;l=f.pop();)b(l,g)}function w(A,b){for(var g=[A],v;v=g.pop();)if(b(v),v.isExpand){var f=v.children;if(f.length)for(var l=f.length-1;l>=0;l--)g.push(f[l])}}B.eachAfter=d,B.eachBefore=w},bahg:function(k,B){function d(w){return w.split("")}k.exports=d},bbsP:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("CWI+"),g=d.n(b)},bogI:function(k,B,d){"use strict";d.d(B,"a",function(){return w});var w=function(b){if(!b)return null;var g=typeof b=="function";return g?b():b}},bx4M:function(k,B,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),g=d("TSYQ"),v=d.n(g),f=d("bT9E"),l=d("H84U"),u=function(y,x){var C={};for(var T in y)Object.prototype.hasOwnProperty.call(y,T)&&x.indexOf(T)<0&&(C[T]=y[T]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,T=Object.getOwnPropertySymbols(y);_<T.length;_++)x.indexOf(T[_])<0&&Object.prototype.propertyIsEnumerable.call(y,T[_])&&(C[T[_]]=y[T[_]]);return C},o=function(x){var C=x.prefixCls,T=x.className,_=x.hoverable,E=_===void 0?!0:_,I=u(x,["prefixCls","className","hoverable"]);return b.createElement(l.a,null,function(L){var D=L.getPrefixCls,F=D("card",C),N=v()("".concat(F,"-grid"),T,Object(w.a)({},"".concat(F,"-grid-hoverable"),E));return b.createElement("div",Object(A.a)({},I,{className:N}))})},e=o,n=function(y,x){var C={};for(var T in y)Object.prototype.hasOwnProperty.call(y,T)&&x.indexOf(T)<0&&(C[T]=y[T]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,T=Object.getOwnPropertySymbols(y);_<T.length;_++)x.indexOf(T[_])<0&&Object.prototype.propertyIsEnumerable.call(y,T[_])&&(C[T[_]]=y[T[_]]);return C},i=function(x){return b.createElement(l.a,null,function(C){var T=C.getPrefixCls,_=x.prefixCls,E=x.className,I=x.avatar,L=x.title,D=x.description,F=n(x,["prefixCls","className","avatar","title","description"]),N=T("card",_),P=v()("".concat(N,"-meta"),E),W=I?b.createElement("div",{className:"".concat(N,"-meta-avatar")},I):null,R=L?b.createElement("div",{className:"".concat(N,"-meta-title")},L):null,j=D?b.createElement("div",{className:"".concat(N,"-meta-description")},D):null,H=R||j?b.createElement("div",{className:"".concat(N,"-meta-detail")},R,j):null;return b.createElement("div",Object(A.a)({},F,{className:P}),W,H)})},r=i,s=d("ZTPi"),t=d("BMrR"),a=d("kPKH"),c=d("3Nzz"),h=function(y,x){var C={};for(var T in y)Object.prototype.hasOwnProperty.call(y,T)&&x.indexOf(T)<0&&(C[T]=y[T]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,T=Object.getOwnPropertySymbols(y);_<T.length;_++)x.indexOf(T[_])<0&&Object.prototype.propertyIsEnumerable.call(y,T[_])&&(C[T[_]]=y[T[_]]);return C};function p(y){var x=y.map(function(C,T){return b.createElement("li",{style:{width:"".concat(100/y.length,"%")},key:"action-".concat(T)},b.createElement("span",null,C))});return x}var m=function(x){var C,T,_=b.useContext(l.b),E=_.getPrefixCls,I=_.direction,L=b.useContext(c.b),D=function(Ye){x.onTabChange&&x.onTabChange(Ye)},F=function(){var Ye;return b.Children.forEach(x.children,function(vt){vt&&vt.type&&vt.type===e&&(Ye=!0)}),Ye},N=x.prefixCls,P=x.className,W=x.extra,R=x.headStyle,j=R===void 0?{}:R,H=x.bodyStyle,K=H===void 0?{}:H,U=x.title,G=x.loading,z=x.bordered,Y=z===void 0?!0:z,q=x.size,oe=x.type,ie=x.cover,se=x.actions,he=x.tabList,pe=x.children,_e=x.activeTabKey,De=x.defaultActiveTabKey,Xe=x.tabBarExtraContent,J=x.hoverable,Ee=x.tabProps,qe=Ee===void 0?{}:Ee,ae=h(x,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),V=E("card",N),X=K.padding===0||K.padding==="0px"?{padding:24}:void 0,Z=b.createElement("div",{className:"".concat(V,"-loading-block")}),ge=b.createElement("div",{className:"".concat(V,"-loading-content"),style:X},b.createElement(t.a,{gutter:8},b.createElement(a.a,{span:22},Z)),b.createElement(t.a,{gutter:8},b.createElement(a.a,{span:8},Z),b.createElement(a.a,{span:15},Z)),b.createElement(t.a,{gutter:8},b.createElement(a.a,{span:6},Z),b.createElement(a.a,{span:18},Z)),b.createElement(t.a,{gutter:8},b.createElement(a.a,{span:13},Z),b.createElement(a.a,{span:9},Z)),b.createElement(t.a,{gutter:8},b.createElement(a.a,{span:4},Z),b.createElement(a.a,{span:3},Z),b.createElement(a.a,{span:16},Z))),le=_e!==void 0,Se=Object(A.a)(Object(A.a)({},qe),(C={},Object(w.a)(C,le?"activeKey":"defaultActiveKey",le?_e:De),Object(w.a)(C,"tabBarExtraContent",Xe),C)),me,$=he&&he.length?b.createElement(s.a,Object(A.a)({size:"large"},Se,{className:"".concat(V,"-head-tabs"),onChange:D}),he.map(function(St){return b.createElement(s.a.TabPane,{tab:St.tab,disabled:St.disabled,key:St.key})})):null;(U||W||$)&&(me=b.createElement("div",{className:"".concat(V,"-head"),style:j},b.createElement("div",{className:"".concat(V,"-head-wrapper")},U&&b.createElement("div",{className:"".concat(V,"-head-title")},U),W&&b.createElement("div",{className:"".concat(V,"-extra")},W)),$));var we=ie?b.createElement("div",{className:"".concat(V,"-cover")},ie):null,xe=b.createElement("div",{className:"".concat(V,"-body"),style:K},G?ge:pe),We=se&&se.length?b.createElement("ul",{className:"".concat(V,"-actions")},p(se)):null,st=Object(f.a)(ae,["onTabChange"]),nt=q||L,Ne=v()(V,(T={},Object(w.a)(T,"".concat(V,"-loading"),G),Object(w.a)(T,"".concat(V,"-bordered"),Y),Object(w.a)(T,"".concat(V,"-hoverable"),J),Object(w.a)(T,"".concat(V,"-contain-grid"),F()),Object(w.a)(T,"".concat(V,"-contain-tabs"),he&&he.length),Object(w.a)(T,"".concat(V,"-").concat(nt),nt),Object(w.a)(T,"".concat(V,"-type-").concat(oe),!!oe),Object(w.a)(T,"".concat(V,"-rtl"),I==="rtl"),T),P);return b.createElement("div",Object(A.a)({},st,{className:Ne}),me,we,xe,We)};m.Grid=e,m.Meta=r;var S=B.a=m},c2i1:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=d("Yl7c"),v=g.enableClassCheck;function f(r){return"_EC_"+r}var l=function(r){this._directed=r||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=l.prototype;u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(r,s){r=r==null?""+s:""+r;var t=this._nodesMap;if(t[f(r)])return;var a=new o(r,s);return a.hostGraph=this,this.nodes.push(a),t[f(r)]=a,a},u.getNodeByIndex=function(r){var s=this.data.getRawIndex(r);return this.nodes[s]},u.getNodeById=function(r){return this._nodesMap[f(r)]},u.addEdge=function(r,s,t){var a=this._nodesMap,c=this._edgesMap;if(typeof r=="number"&&(r=this.nodes[r]),typeof s=="number"&&(s=this.nodes[s]),o.isInstance(r)||(r=a[f(r)]),o.isInstance(s)||(s=a[f(s)]),!r||!s)return;var h=r.id+"-"+s.id;if(c[h])return;var p=new e(r,s,t);return p.hostGraph=this,this._directed&&(r.outEdges.push(p),s.inEdges.push(p)),r.edges.push(p),r!==s&&s.edges.push(p),this.edges.push(p),c[h]=p,p},u.getEdgeByIndex=function(r){var s=this.edgeData.getRawIndex(r);return this.edges[s]},u.getEdge=function(r,s){o.isInstance(r)&&(r=r.id),o.isInstance(s)&&(s=s.id);var t=this._edgesMap;return this._directed?t[r+"-"+s]:t[r+"-"+s]||t[s+"-"+r]},u.eachNode=function(r,s){for(var t=this.nodes,a=t.length,c=0;c<a;c++)t[c].dataIndex>=0&&r.call(s,t[c],c)},u.eachEdge=function(r,s){for(var t=this.edges,a=t.length,c=0;c<a;c++)t[c].dataIndex>=0&&t[c].node1.dataIndex>=0&&t[c].node2.dataIndex>=0&&r.call(s,t[c],c)},u.breadthFirstTraverse=function(r,s,t,a){if(o.isInstance(s)||(s=this._nodesMap[f(s)]),!s)return;for(var c=t==="out"?"outEdges":t==="in"?"inEdges":"edges",h=0;h<this.nodes.length;h++)this.nodes[h].__visited=!1;if(r.call(a,s,null))return;for(var p=[s];p.length;)for(var m=p.shift(),S=m[c],h=0;h<S.length;h++){var y=S[h],x=y.node1===m?y.node2:y.node1;if(!x.__visited){if(r.call(a,x,m))return;p.push(x),x.__visited=!0}}},u.update=function(){for(var r=this.data,s=this.edgeData,t=this.nodes,a=this.edges,c=0,h=t.length;c<h;c++)t[c].dataIndex=-1;for(var c=0,h=r.count();c<h;c++)t[r.getRawIndex(c)].dataIndex=c;s.filterSelf(function(p){var m=a[s.getRawIndex(p)];return m.node1.dataIndex>=0&&m.node2.dataIndex>=0});for(var c=0,h=a.length;c<h;c++)a[c].dataIndex=-1;for(var c=0,h=s.count();c<h;c++)a[s.getRawIndex(c)].dataIndex=c},u.clone=function(){for(var r=new l(this._directed),s=this.nodes,t=this.edges,a=0;a<s.length;a++)r.addNode(s[a].id,s[a].dataIndex);for(var a=0;a<t.length;a++){var c=t[a];r.addEdge(c.node1.id,c.node2.id,c.dataIndex)}return r};function o(r,s){this.id=r==null?"":r,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=s==null?-1:s}o.prototype={constructor:o,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 s=this.hostGraph,t=s.data.getItemModel(this.dataIndex);return t.getModel(r)}};function e(r,s,t){this.node1=r,this.node2=s,this.dataIndex=t==null?-1:t}e.prototype.getModel=function(r){if(this.dataIndex<0)return;var s=this.hostGraph,t=s.edgeData.getItemModel(this.dataIndex);return t.getModel(r)};var n=function(r,s){return{getValue:function(t){var a=this[r][s];return a.get(a.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,a){this.dataIndex>=0&&this[r][s].setItemVisual(this.dataIndex,t,a)},getVisual:function(t,a){return this[r][s].getItemVisual(this.dataIndex,t,a)},setLayout:function(t,a){this.dataIndex>=0&&this[r][s].setItemLayout(this.dataIndex,t,a)},getLayout:function(){return this[r][s].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][s].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][s].getRawIndex(this.dataIndex)}}};b.mixin(o,n("hostGraph","data")),b.mixin(e,n("hostGraph","edgeData")),l.Node=o,l.Edge=e,v(o),v(e);var i=l;k.exports=i},c5Ni:function(k,B,d){},c5fP:function(k,B,d){"use strict";function w(Ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(It){return typeof It}:w=function(It){return It&&typeof Symbol=="function"&&It.constructor===Symbol&&It!==Symbol.prototype?"symbol":typeof It},w(Ye)}Object.defineProperty(B,"__esModule",{value:!0}),B._tr_init=We,B._tr_stored_block=st,B._tr_flush_block=Ne,B._tr_tally=St,B._tr_align=nt;var A=g(d("6BzB"));function b(){if(typeof WeakMap!="function")return null;var Ye=new WeakMap;return b=function(){return Ye},Ye}function g(Ye){if(Ye&&Ye.__esModule)return Ye;if(Ye===null||w(Ye)!=="object"&&typeof Ye!="function")return{default:Ye};var vt=b();if(vt&&vt.has(Ye))return vt.get(Ye);var It={},Ut=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var xt in Ye)if(Object.prototype.hasOwnProperty.call(Ye,xt)){var Bt=Ut?Object.getOwnPropertyDescriptor(Ye,xt):null;Bt&&(Bt.get||Bt.set)?Object.defineProperty(It,xt,Bt):It[xt]=Ye[xt]}return It.default=Ye,vt&&vt.set(Ye,It),It}var v=4,f=0,l=1,u=2;function o(Ye){for(var vt=Ye.length;--vt>=0;)Ye[vt]=0}var e=0,n=1,i=2,r=3,s=258,t=29,a=256,c=a+1+t,h=30,p=19,m=2*c+1,S=15,y=16,x=7,C=256,T=16,_=17,E=18,I=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],L=[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],D=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],N=512,P=new Array((c+2)*2);o(P);var W=new Array(h*2);o(W);var R=new Array(N);o(R);var j=new Array(s-r+1);o(j);var H=new Array(t);o(H);var K=new Array(h);o(K);function U(Ye,vt,It,Ut,xt){this.static_tree=Ye,this.extra_bits=vt,this.extra_base=It,this.elems=Ut,this.max_length=xt,this.has_stree=Ye&&Ye.length}var G,z,Y;function q(Ye,vt){this.dyn_tree=Ye,this.max_code=0,this.stat_desc=vt}function oe(Ye){return Ye<256?R[Ye]:R[256+(Ye>>>7)]}function ie(Ye,vt){Ye.pending_buf[Ye.pending++]=vt&255,Ye.pending_buf[Ye.pending++]=vt>>>8&255}function se(Ye,vt,It){Ye.bi_valid>y-It?(Ye.bi_buf|=vt<<Ye.bi_valid&65535,ie(Ye,Ye.bi_buf),Ye.bi_buf=vt>>y-Ye.bi_valid,Ye.bi_valid+=It-y):(Ye.bi_buf|=vt<<Ye.bi_valid&65535,Ye.bi_valid+=It)}function he(Ye,vt,It){se(Ye,It[vt*2],It[vt*2+1])}function pe(Ye,vt){var It=0;do It|=Ye&1,Ye>>>=1,It<<=1;while(--vt>0);return It>>>1}function _e(Ye){Ye.bi_valid===16?(ie(Ye,Ye.bi_buf),Ye.bi_buf=0,Ye.bi_valid=0):Ye.bi_valid>=8&&(Ye.pending_buf[Ye.pending++]=Ye.bi_buf&255,Ye.bi_buf>>=8,Ye.bi_valid-=8)}function De(Ye,vt){var It=vt.dyn_tree,Ut=vt.max_code,xt=vt.stat_desc.static_tree,Bt=vt.stat_desc.has_stree,Qe=vt.stat_desc.extra_bits,te=vt.stat_desc.extra_base,Q=vt.stat_desc.max_length,Me,Ce,ue,ot,rt,Ue,Ge=0;for(ot=0;ot<=S;ot++)Ye.bl_count[ot]=0;for(It[Ye.heap[Ye.heap_max]*2+1]=0,Me=Ye.heap_max+1;Me<m;Me++){if(Ce=Ye.heap[Me],ot=It[It[Ce*2+1]*2+1]+1,ot>Q&&(ot=Q,Ge++),It[Ce*2+1]=ot,Ce>Ut)continue;Ye.bl_count[ot]++,rt=0,Ce>=te&&(rt=Qe[Ce-te]),Ue=It[Ce*2],Ye.opt_len+=Ue*(ot+rt),Bt&&(Ye.static_len+=Ue*(xt[Ce*2+1]+rt))}if(Ge===0)return;do{for(ot=Q-1;Ye.bl_count[ot]===0;)ot--;Ye.bl_count[ot]--,Ye.bl_count[ot+1]+=2,Ye.bl_count[Q]--,Ge-=2}while(Ge>0);for(ot=Q;ot!==0;ot--)for(Ce=Ye.bl_count[ot];Ce!==0;){if(ue=Ye.heap[--Me],ue>Ut)continue;It[ue*2+1]!==ot&&(Ye.opt_len+=(ot-It[ue*2+1])*It[ue*2],It[ue*2+1]=ot),Ce--}}function Xe(Ye,vt,It){var Ut=new Array(S+1),xt=0,Bt,Qe;for(Bt=1;Bt<=S;Bt++)Ut[Bt]=xt=xt+It[Bt-1]<<1;for(Qe=0;Qe<=vt;Qe++){var te=Ye[Qe*2+1];if(te===0)continue;Ye[Qe*2]=pe(Ut[te]++,te)}}function J(){var Ye,vt,It,Ut,xt,Bt=new Array(S+1);for(It=0,Ut=0;Ut<t-1;Ut++)for(H[Ut]=It,Ye=0;Ye<1<<I[Ut];Ye++)j[It++]=Ut;for(j[It-1]=Ut,xt=0,Ut=0;Ut<16;Ut++)for(K[Ut]=xt,Ye=0;Ye<1<<L[Ut];Ye++)R[xt++]=Ut;for(xt>>=7;Ut<h;Ut++)for(K[Ut]=xt<<7,Ye=0;Ye<1<<L[Ut]-7;Ye++)R[256+xt++]=Ut;for(vt=0;vt<=S;vt++)Bt[vt]=0;for(Ye=0;Ye<=143;)P[Ye*2+1]=8,Ye++,Bt[8]++;for(;Ye<=255;)P[Ye*2+1]=9,Ye++,Bt[9]++;for(;Ye<=279;)P[Ye*2+1]=7,Ye++,Bt[7]++;for(;Ye<=287;)P[Ye*2+1]=8,Ye++,Bt[8]++;for(Xe(P,c+1,Bt),Ye=0;Ye<h;Ye++)W[Ye*2+1]=5,W[Ye*2]=pe(Ye,5);G=new U(P,I,a+1,c,S),z=new U(W,L,0,h,S),Y=new U(new Array(0),D,0,p,x)}function Ee(Ye){var vt;for(vt=0;vt<c;vt++)Ye.dyn_ltree[vt*2]=0;for(vt=0;vt<h;vt++)Ye.dyn_dtree[vt*2]=0;for(vt=0;vt<p;vt++)Ye.bl_tree[vt*2]=0;Ye.dyn_ltree[C*2]=1,Ye.opt_len=Ye.static_len=0,Ye.last_lit=Ye.matches=0}function qe(Ye){Ye.bi_valid>8?ie(Ye,Ye.bi_buf):Ye.bi_valid>0&&(Ye.pending_buf[Ye.pending++]=Ye.bi_buf),Ye.bi_buf=0,Ye.bi_valid=0}function ae(Ye,vt,It,Ut){qe(Ye),Ut&&(ie(Ye,It),ie(Ye,~It)),A.arraySet(Ye.pending_buf,Ye.window,vt,It,Ye.pending),Ye.pending+=It}function V(Ye,vt,It,Ut){var xt=vt*2,Bt=It*2;return Ye[xt]<Ye[Bt]||Ye[xt]===Ye[Bt]&&Ut[vt]<=Ut[It]}function X(Ye,vt,It){for(var Ut=Ye.heap[It],xt=It<<1;xt<=Ye.heap_len&&!(xt<Ye.heap_len&&V(vt,Ye.heap[xt+1],Ye.heap[xt],Ye.depth)&&xt++,V(vt,Ut,Ye.heap[xt],Ye.depth));)Ye.heap[It]=Ye.heap[xt],It=xt,xt<<=1;Ye.heap[It]=Ut}function Z(Ye,vt,It){var Ut,xt,Bt=0,Qe,te;if(Ye.last_lit!==0)do Ut=Ye.pending_buf[Ye.d_buf+Bt*2]<<8|Ye.pending_buf[Ye.d_buf+Bt*2+1],xt=Ye.pending_buf[Ye.l_buf+Bt],Bt++,Ut===0?he(Ye,xt,vt):(Qe=j[xt],he(Ye,Qe+a+1,vt),te=I[Qe],te!==0&&(xt-=H[Qe],se(Ye,xt,te)),Ut--,Qe=oe(Ut),he(Ye,Qe,It),te=L[Qe],te!==0&&(Ut-=K[Qe],se(Ye,Ut,te)));while(Bt<Ye.last_lit);he(Ye,C,vt)}function ge(Ye,vt){var It=vt.dyn_tree,Ut=vt.stat_desc.static_tree,xt=vt.stat_desc.has_stree,Bt=vt.stat_desc.elems,Qe,te,Q=-1,Me;for(Ye.heap_len=0,Ye.heap_max=m,Qe=0;Qe<Bt;Qe++)It[Qe*2]!==0?(Ye.heap[++Ye.heap_len]=Q=Qe,Ye.depth[Qe]=0):It[Qe*2+1]=0;for(;Ye.heap_len<2;)Me=Ye.heap[++Ye.heap_len]=Q<2?++Q:0,It[Me*2]=1,Ye.depth[Me]=0,Ye.opt_len--,xt&&(Ye.static_len-=Ut[Me*2+1]);for(vt.max_code=Q,Qe=Ye.heap_len>>1;Qe>=1;Qe--)X(Ye,It,Qe);Me=Bt;do Qe=Ye.heap[1],Ye.heap[1]=Ye.heap[Ye.heap_len--],X(Ye,It,1),te=Ye.heap[1],Ye.heap[--Ye.heap_max]=Qe,Ye.heap[--Ye.heap_max]=te,It[Me*2]=It[Qe*2]+It[te*2],Ye.depth[Me]=(Ye.depth[Qe]>=Ye.depth[te]?Ye.depth[Qe]:Ye.depth[te])+1,It[Qe*2+1]=It[te*2+1]=Me,Ye.heap[1]=Me++,X(Ye,It,1);while(Ye.heap_len>=2);Ye.heap[--Ye.heap_max]=Ye.heap[1],De(Ye,vt),Xe(It,Q,Ye.bl_count)}function le(Ye,vt,It){var Ut,xt=-1,Bt,Qe=vt[0*2+1],te=0,Q=7,Me=4;for(Qe===0&&(Q=138,Me=3),vt[(It+1)*2+1]=65535,Ut=0;Ut<=It;Ut++){if(Bt=Qe,Qe=vt[(Ut+1)*2+1],++te<Q&&Bt===Qe)continue;te<Me?Ye.bl_tree[Bt*2]+=te:Bt!==0?(Bt!==xt&&Ye.bl_tree[Bt*2]++,Ye.bl_tree[T*2]++):te<=10?Ye.bl_tree[_*2]++:Ye.bl_tree[E*2]++,te=0,xt=Bt,Qe===0?(Q=138,Me=3):Bt===Qe?(Q=6,Me=3):(Q=7,Me=4)}}function Se(Ye,vt,It){var Ut,xt=-1,Bt,Qe=vt[0*2+1],te=0,Q=7,Me=4;for(Qe===0&&(Q=138,Me=3),Ut=0;Ut<=It;Ut++){if(Bt=Qe,Qe=vt[(Ut+1)*2+1],++te<Q&&Bt===Qe)continue;if(te<Me)do he(Ye,Bt,Ye.bl_tree);while(--te!==0);else Bt!==0?(Bt!==xt&&(he(Ye,Bt,Ye.bl_tree),te--),he(Ye,T,Ye.bl_tree),se(Ye,te-3,2)):te<=10?(he(Ye,_,Ye.bl_tree),se(Ye,te-3,3)):(he(Ye,E,Ye.bl_tree),se(Ye,te-11,7));te=0,xt=Bt,Qe===0?(Q=138,Me=3):Bt===Qe?(Q=6,Me=3):(Q=7,Me=4)}}function me(Ye){var vt;for(le(Ye,Ye.dyn_ltree,Ye.l_desc.max_code),le(Ye,Ye.dyn_dtree,Ye.d_desc.max_code),ge(Ye,Ye.bl_desc),vt=p-1;vt>=3&&!(Ye.bl_tree[F[vt]*2+1]!==0);vt--);return Ye.opt_len+=3*(vt+1)+5+5+4,vt}function $(Ye,vt,It,Ut){var xt;for(se(Ye,vt-257,5),se(Ye,It-1,5),se(Ye,Ut-4,4),xt=0;xt<Ut;xt++)se(Ye,Ye.bl_tree[F[xt]*2+1],3);Se(Ye,Ye.dyn_ltree,vt-1),Se(Ye,Ye.dyn_dtree,It-1)}function we(Ye){var vt=4093624447,It;for(It=0;It<=31;It++,vt>>>=1)if(vt&1&&Ye.dyn_ltree[It*2]!==0)return f;if(Ye.dyn_ltree[9*2]!==0||Ye.dyn_ltree[10*2]!==0||Ye.dyn_ltree[13*2]!==0)return l;for(It=32;It<a;It++)if(Ye.dyn_ltree[It*2]!==0)return l;return f}var xe=!1;function We(Ye){xe||(J(),xe=!0),Ye.l_desc=new q(Ye.dyn_ltree,G),Ye.d_desc=new q(Ye.dyn_dtree,z),Ye.bl_desc=new q(Ye.bl_tree,Y),Ye.bi_buf=0,Ye.bi_valid=0,Ee(Ye)}function st(Ye,vt,It,Ut){se(Ye,(e<<1)+(Ut?1:0),3),ae(Ye,vt,It,!0)}function nt(Ye){se(Ye,n<<1,3),he(Ye,C,P),_e(Ye)}function Ne(Ye,vt,It,Ut){var xt,Bt,Qe=0;Ye.level>0?(Ye.strm.data_type===u&&(Ye.strm.data_type=we(Ye)),ge(Ye,Ye.l_desc),ge(Ye,Ye.d_desc),Qe=me(Ye),xt=Ye.opt_len+3+7>>>3,Bt=Ye.static_len+3+7>>>3,Bt<=xt&&(xt=Bt)):xt=Bt=It+5,It+4<=xt&&vt!==-1?st(Ye,vt,It,Ut):Ye.strategy===v||Bt===xt?(se(Ye,(n<<1)+(Ut?1:0),3),Z(Ye,P,W)):(se(Ye,(i<<1)+(Ut?1:0),3),$(Ye,Ye.l_desc.max_code+1,Ye.d_desc.max_code+1,Qe+1),Z(Ye,Ye.dyn_ltree,Ye.dyn_dtree)),Ee(Ye),Ut&&qe(Ye)}function St(Ye,vt,It){return Ye.pending_buf[Ye.d_buf+Ye.last_lit*2]=vt>>>8&255,Ye.pending_buf[Ye.d_buf+Ye.last_lit*2+1]=vt&255,Ye.pending_buf[Ye.l_buf+Ye.last_lit]=It&255,Ye.last_lit++,vt===0?Ye.dyn_ltree[It*2]++:(Ye.matches++,vt--,Ye.dyn_ltree[(j[It]+a+1)*2]++,Ye.dyn_dtree[oe(vt)*2]++),Ye.last_lit===Ye.lit_bufsize-1}},c8qY:function(k,B,d){var w=d("IwbS"),A=d("fls0");function b(i){this._ctor=i||A,this.group=new w.Group}var g=b.prototype;g.isPersistent=function(){return!0},g.updateData=function(i){var r=this,s=r.group,t=r._lineData;r._lineData=i,t||s.removeAll();var a=u(i);i.diff(t).add(function(c){v(r,i,c,a)}).update(function(c,h){f(r,t,i,h,c,a)}).remove(function(c){s.remove(t.getItemGraphicEl(c))}).execute()};function v(i,r,s,t){var a=r.getItemLayout(s);if(!e(a))return;var c=new i._ctor(r,s,t);r.setItemGraphicEl(s,c),i.group.add(c)}function f(i,r,s,t,a,c){var h=r.getItemGraphicEl(t);if(!e(s.getItemLayout(a))){i.group.remove(h);return}h?h.updateData(s,a,c):h=new i._ctor(s,a,c),s.setItemGraphicEl(a,h),i.group.add(h)}g.updateLayout=function(){var i=this._lineData;if(!i)return;i.eachItemGraphicEl(function(r,s){r.updateLayout(i,s)},this)},g.incrementalPrepareUpdate=function(i){this._seriesScope=u(i),this._lineData=null,this.group.removeAll()};function l(i){return i.animators&&i.animators.length>0}g.incrementalUpdate=function(i,r){function s(h){!h.isGroup&&!l(h)&&(h.incremental=h.useHoverLayer=!0)}for(var t=i.start;t<i.end;t++){var a=r.getItemLayout(t);if(e(a)){var c=new this._ctor(r,t,this._seriesScope);c.traverse(s),this.group.add(c),r.setItemGraphicEl(t,c)}}};function u(i){var r=i.hostModel;return{lineStyle:r.getModel("lineStyle").getLineStyle(),hoverLineStyle:r.getModel("emphasis.lineStyle").getLineStyle(),labelModel:r.getModel("label"),hoverLabelModel:r.getModel("emphasis.label")}}g.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},g._clearIncremental=function(){var i=this._incremental;i&&i.clearDisplaybles()};function o(i){return isNaN(i[0])||isNaN(i[1])}function e(i){return!o(i[0])&&!o(i[1])}var n=b;k.exports=n},cCMj:function(k,B,d){var w=d("bYtY"),A={updateSelectedMap:function(b){this._targetList=w.isArray(b)?b.slice():[],this._selectTargetMap=w.reduce(b||[],function(g,v){return g.set(v.name,v),g},w.createHashMap())},select:function(b,g){var v=g!=null?this._targetList[g]:this._selectTargetMap.get(b),f=this.get("selectedMode");f==="single"&&this._selectTargetMap.each(function(l){l.selected=!1}),v&&(v.selected=!0)},unSelect:function(b,g){var v=g!=null?this._targetList[g]:this._selectTargetMap.get(b);v&&(v.selected=!1)},toggleSelected:function(b,g){var v=g!=null?this._targetList[g]:this._selectTargetMap.get(b);if(v!=null)return this[v.selected?"unSelect":"select"](b,g),v.selected},isSelected:function(b,g){var v=g!=null?this._targetList[g]:this._selectTargetMap.get(b);return v&&v.selected}};k.exports=A},cVA7:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=d("MT78"),A=v(w),b=d("t3Fx"),g=v(b);function v(e){return e&&e.__esModule?e:{default:e}}function f(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function l(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:e}function u(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}var o=function(e){u(n,e);function n(i){f(this,n);var r=l(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,i));return r.echartsLib=A.default,r}return n}(g.default);B.default=o},cWXX:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("oIFs"),g=d.n(b)},ca2m:function(k,B,d){var w=d("bYtY"),A={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)"]}}},b={};b.categoryAxis=w.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},A),b.valueAxis=w.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},A),b.timeAxis=w.defaults({scale:!0,min:"dataMin",max:"dataMax"},b.valueAxis),b.logAxis=w.defaults({scale:!0,logBase:10},b.valueAxis);var g=b;k.exports=g},cbJ4:function(k,B,d){var w=d("bYtY"),A=w.createHashMap;function b(g){g.eachSeriesByType("themeRiver",function(v){var f=v.getData(),l=v.getRawData(),u=v.get("color"),o=A();f.each(function(e){o.set(f.getRawIndex(e),e)}),l.each(function(e){var n=l.getName(e),i=u[(v.nameMap.get(n)-1)%u.length];l.setItemVisual(e,"color",i);var r=o.get(e);r!=null&&f.setItemVisual(r,"color",i)})})}k.exports=b},chpo:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=1,A=function(){return"".concat(w++)};B.default=A},cpOr:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("T4UG"),g=d("YXkt"),v=d("bYtY"),f=v.concatArray,l=v.mergeAll,u=v.map,o=d("7aKB"),e=o.encodeHTML,n=d("IDmD"),i=typeof Uint32Array=="undefined"?Array:Uint32Array,r=typeof Float64Array=="undefined"?Array:Float64Array;function s(c){var h=c.data;h&&h[0]&&h[0][0]&&h[0][0].coord&&(c.data=u(h,function(p){var m=[p[0].coord,p[1].coord],S={coords:m};return p[0].name&&(S.fromName=p[0].name),p[1].name&&(S.toName=p[1].name),l([S,p[0],p[1]])}))}var t=b.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(c){c.data=c.data||[],s(c);var h=this._processFlatCoordsArray(c.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(c.data=new Float32Array(h.count)),t.superApply(this,"init",arguments)},mergeOption:function(c){if(c.data=c.data||[],s(c),c.data){var h=this._processFlatCoordsArray(c.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(c.data=new Float32Array(h.count))}t.superApply(this,"mergeOption",arguments)},appendData:function(c){var h=this._processFlatCoordsArray(c.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),c.data=new Float32Array(h.count)),this.getRawData().appendData(c.data)},_getCoordsFromItemModel:function(c){var h=this.getData().getItemModel(c),p=h.option instanceof Array?h.option:h.getShallow("coords");return p},getLineCoordsCount:function(c){return this._flatCoordsOffset?this._flatCoordsOffset[c*2+1]:this._getCoordsFromItemModel(c).length},getLineCoords:function(c,h){if(this._flatCoordsOffset){for(var p=this._flatCoordsOffset[c*2],m=this._flatCoordsOffset[c*2+1],S=0;S<m;S++)h[S]=h[S]||[],h[S][0]=this._flatCoords[p+S*2],h[S][1]=this._flatCoords[p+S*2+1];return m}else{for(var y=this._getCoordsFromItemModel(c),S=0;S<y.length;S++)h[S]=h[S]||[],h[S][0]=y[S][0],h[S][1]=y[S][1];return y.length}},_processFlatCoordsArray:function(c){var h=0;if(this._flatCoords&&(h=this._flatCoords.length),typeof c[0]=="number"){for(var p=c.length,m=new i(p),S=new r(p),y=0,x=0,C=0,T=0;T<p;){C++;var _=c[T++];m[x++]=y+h,m[x++]=_;for(var E=0;E<_;E++){var I=c[T++],L=c[T++];S[y++]=I,S[y++]=L,T>p}}return{flatCoordsOffset:new Uint32Array(m.buffer,0,x),flatCoords:S,count:C}}return{flatCoordsOffset:null,flatCoords:null,count:c.length}},getInitialData:function(c,h){var p=new g(["value"],this);return p.hasItemOption=!1,p.initData(c.data,[],function(m,S,y,x){if(m instanceof Array)return NaN;p.hasItemOption=!0;var C=m.value;if(C!=null)return C instanceof Array?C[x]:C}),p},formatTooltip:function(c){var h=this.getData(),p=h.getItemModel(c),m=p.get("name");if(m)return m;var S=p.get("fromName"),y=p.get("toName"),x=[];return S!=null&&x.push(S),y!=null&&x.push(y),e(x.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var c=this.option.progressive;return c==null?this.option.large?1e4:this.get("progressive"):c},getProgressiveThreshold:function(){var c=this.option.progressiveThreshold;return c==null?this.option.large?2e4:this.get("progressiveThreshold"):c},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),a=t;k.exports=a},crZl:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS"),g=d("7aKB"),v=d("+TT/"),f=d("XxSj"),l=w.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(u,o){this.ecModel=u,this.api=o,this.visualMapModel},render:function(u,o,e,n){if(this.visualMapModel=u,u.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(u){var o=this.visualMapModel,e=g.normalizeCssArray(o.get("padding")||0),n=u.getBoundingRect();u.add(new b.Rect({z2:-1,silent:!0,shape:{x:n.x-e[3],y:n.y-e[0],width:n.width+e[3]+e[1],height:n.height+e[0]+e[2]},style:{fill:o.get("backgroundColor"),stroke:o.get("borderColor"),lineWidth:o.get("borderWidth")}}))},getControllerVisual:function(u,o,e){e=e||{};var n=e.forceState,i=this.visualMapModel,r={};if(o==="symbol"&&(r.symbol=i.get("itemSymbol")),o==="color"){var s=i.get("contentColor");r.color=s}function t(p){return r[p]}function a(p,m){r[p]=m}var c=i.controllerVisuals[n||i.getValueState(u)],h=f.prepareVisualTypes(c);return A.each(h,function(p){var m=c[p];e.convertOpacityToAlpha&&p==="opacity"&&(p="colorAlpha",m=c.__alphaForOpacity),f.dependsOn(p,o)&&(m&&m.applyVisual(u,t,a))}),r[o]},positionGroup:function(u){var o=this.visualMapModel,e=this.api;v.positionElement(u,o.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})},doRender:A.noop});k.exports=l},crp1:function(k,B,d){"use strict";d.d(B,"b",function(){return Rt}),d.d(B,"a",function(){return zr});var w={},A=function(Ot,Ft,pr,Rr,Pr){var an=w[Ft]||(w[Ft]=URL.createObjectURL(new Blob([Ot],{type:"text/javascript"}))),Xt=new Worker(an);return Xt.onerror=function(hr){return Pr(hr.error,null)},Xt.onmessage=function(hr){return Pr(null,hr.data)},Xt.postMessage(pr,Rr),Xt},b=Uint8Array,g=Uint16Array,v=Uint32Array,f=new b([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]),l=new b([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]),u=new b([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=function(Ot,Ft){for(var pr=new g(31),Rr=0;Rr<31;++Rr)pr[Rr]=Ft+=1<<Ot[Rr-1];for(var Pr=new v(pr[30]),Rr=1;Rr<30;++Rr)for(var an=pr[Rr];an<pr[Rr+1];++an)Pr[an]=an-pr[Rr]<<5|Rr;return[pr,Pr]},e=o(f,2),n=e[0],i=e[1];n[28]=258,i[258]=28;for(var r=o(l,0),s=r[0],t=r[1],a=new g(32768),c=0;c<32768;++c){var h=(c&43690)>>>1|(c&21845)<<1;h=(h&52428)>>>2|(h&13107)<<2,h=(h&61680)>>>4|(h&3855)<<4,a[c]=((h&65280)>>>8|(h&255)<<8)>>>1}for(var p=function(Ot,Ft,pr){for(var Rr=Ot.length,Pr=0,an=new g(Ft);Pr<Rr;++Pr)++an[Ot[Pr]-1];var Xt=new g(Ft);for(Pr=0;Pr<Ft;++Pr)Xt[Pr]=Xt[Pr-1]+an[Pr-1]<<1;var hr;if(pr){hr=new g(1<<Ft);var Tr=15-Ft;for(Pr=0;Pr<Rr;++Pr)if(Ot[Pr])for(var Wr=Pr<<4|Ot[Pr],Gr=Ft-Ot[Pr],Tn=Xt[Ot[Pr]-1]++<<Gr,gn=Tn|(1<<Gr)-1;Tn<=gn;++Tn)hr[a[Tn]>>>Tr]=Wr}else for(hr=new g(Rr),Pr=0;Pr<Rr;++Pr)hr[Pr]=a[Xt[Ot[Pr]-1]++]>>>15-Ot[Pr];return hr},m=new b(288),c=0;c<144;++c)m[c]=8;for(var c=144;c<256;++c)m[c]=9;for(var c=256;c<280;++c)m[c]=7;for(var c=280;c<288;++c)m[c]=8;for(var S=new b(32),c=0;c<32;++c)S[c]=5;var y=p(m,9,0),x=p(m,9,1),C=p(S,5,0),T=p(S,5,1),_=function(Ot){for(var Ft=Ot[0],pr=1;pr<Ot.length;++pr)Ot[pr]>Ft&&(Ft=Ot[pr]);return Ft},E=function(Ot,Ft,pr){var Rr=Ft/8>>0;return(Ot[Rr]|Ot[Rr+1]<<8)>>>(Ft&7)&pr},I=function(Ot,Ft){var pr=Ft/8>>0;return(Ot[pr]|Ot[pr+1]<<8|Ot[pr+2]<<16)>>>(Ft&7)},L=function(Ot){return(Ot/8>>0)+(Ot&7&&1)},D=function(Ot,Ft,pr){(Ft==null||Ft<0)&&(Ft=0),(pr==null||pr>Ot.length)&&(pr=Ot.length);var Rr=new(Ot instanceof g?g:Ot instanceof v?v:b)(pr-Ft);return Rr.set(Ot.subarray(Ft,pr)),Rr},F=function(Ot,Ft,pr){var Rr=Ot.length,Pr=!Ft||pr,an=!pr||pr.i;pr||(pr={}),Ft||(Ft=new b(Rr*3));var Xt=function(Gn){var Nn=Ft.length;if(Gn>Nn){var mi=new b(Math.max(Nn*2,Gn));mi.set(Ft),Ft=mi}},hr=pr.f||0,Tr=pr.p||0,Wr=pr.b||0,Gr=pr.l,Tn=pr.d,gn=pr.m,In=pr.n,Fn=Rr*8;do{if(!Gr){pr.f=hr=E(Ot,Tr,1);var Xn=E(Ot,Tr+1,3);if(Tr+=3,Xn)if(Xn==1)Gr=x,Tn=T,gn=9,In=5;else if(Xn==2){var et=E(Ot,Tr,31)+257,Le=E(Ot,Tr+10,15)+4,Pe=et+E(Ot,Tr+5,31)+1;Tr+=14;for(var je=new b(Pe),Je=new b(19),Ve=0;Ve<Le;++Ve)Je[u[Ve]]=E(Ot,Tr+Ve*3,7);Tr+=Le*3;var Ze=_(Je),At=(1<<Ze)-1;if(!an&&Tr+Pe*(Ze+7)>Fn)break;for(var dt=p(Je,Ze,1),Ve=0;Ve<Pe;){var Kt=dt[E(Ot,Tr,At)];Tr+=Kt&15;var fi=Kt>>>4;if(fi<16)je[Ve++]=fi;else{var $t=0,er=0;for(fi==16?(er=3+E(Ot,Tr,3),Tr+=2,$t=je[Ve-1]):fi==17?(er=3+E(Ot,Tr,7),Tr+=3):fi==18&&(er=11+E(Ot,Tr,127),Tr+=7);er--;)je[Ve++]=$t}}var cr=je.subarray(0,et),Ct=je.subarray(et);gn=_(cr),In=_(Ct),Gr=p(cr,gn,1),Tn=p(Ct,In,1)}else throw"invalid block type";else{var fi=L(Tr)+4,pi=Ot[fi-4]|Ot[fi-3]<<8,bi=fi+pi;if(bi>Rr){if(an)throw"unexpected EOF";break}Pr&&Xt(Wr+pi),Ft.set(Ot.subarray(fi,bi),Wr),pr.b=Wr+=pi,pr.p=Tr=bi*8;continue}if(Tr>Fn)throw"unexpected EOF"}Pr&&Xt(Wr+131072);for(var Nr=(1<<gn)-1,Zt=(1<<In)-1,Ir=gn+In+18;an||Tr+Ir<Fn;){var $t=Gr[I(Ot,Tr)&Nr],xr=$t>>>4;if(Tr+=$t&15,Tr>Fn)throw"unexpected EOF";if(!$t)throw"invalid length/literal";if(xr<256)Ft[Wr++]=xr;else if(xr==256){Gr=null;break}else{var ur=xr-254;if(xr>264){var Ve=xr-257,on=f[Ve];ur=E(Ot,Tr,(1<<on)-1)+n[Ve],Tr+=on}var Yn=Tn[I(Ot,Tr)&Zt],Vn=Yn>>>4;if(!Yn)throw"invalid distance";Tr+=Yn&15;var Ct=s[Vn];if(Vn>3){var on=l[Vn];Ct+=I(Ot,Tr)&(1<<on)-1,Tr+=on}if(Tr>Fn)throw"unexpected EOF";Pr&&Xt(Wr+131072);for(var Wn=Wr+ur;Wr<Wn;Wr+=4)Ft[Wr]=Ft[Wr-Ct],Ft[Wr+1]=Ft[Wr+1-Ct],Ft[Wr+2]=Ft[Wr+2-Ct],Ft[Wr+3]=Ft[Wr+3-Ct];Wr=Wn}}pr.l=Gr,pr.p=Tr,pr.b=Wr,Gr&&(hr=1,pr.m=gn,pr.d=Tn,pr.n=In)}while(!hr);return Wr==Ft.length?Ft:D(Ft,0,Wr)},N=function(Ot,Ft,pr){pr<<=Ft&7;var Rr=Ft/8>>0;Ot[Rr]|=pr,Ot[Rr+1]|=pr>>>8},P=function(Ot,Ft,pr){pr<<=Ft&7;var Rr=Ft/8>>0;Ot[Rr]|=pr,Ot[Rr+1]|=pr>>>8,Ot[Rr+2]|=pr>>>16},W=function(Ot,Ft){for(var pr=[],Rr=0;Rr<Ot.length;++Rr)Ot[Rr]&&pr.push({s:Rr,f:Ot[Rr]});var Pr=pr.length,an=pr.slice();if(!Pr)return[new b(0),0];if(Pr==1){var Xt=new b(pr[0].s+1);return Xt[pr[0].s]=1,[Xt,1]}pr.sort(function(Pe,je){return Pe.f-je.f}),pr.push({s:-1,f:25001});var hr=pr[0],Tr=pr[1],Wr=0,Gr=1,Tn=2;for(pr[0]={s:-1,f:hr.f+Tr.f,l:hr,r:Tr};Gr!=Pr-1;)hr=pr[pr[Wr].f<pr[Tn].f?Wr++:Tn++],Tr=pr[Wr!=Gr&&pr[Wr].f<pr[Tn].f?Wr++:Tn++],pr[Gr++]={s:-1,f:hr.f+Tr.f,l:hr,r:Tr};for(var gn=an[0].s,Rr=1;Rr<Pr;++Rr)an[Rr].s>gn&&(gn=an[Rr].s);var In=new g(gn+1),Fn=R(pr[Gr-1],In,0);if(Fn>Ft){var Rr=0,Xn=0,fi=Fn-Ft,pi=1<<fi;for(an.sort(function(je,Je){return In[Je.s]-In[je.s]||je.f-Je.f});Rr<Pr;++Rr){var bi=an[Rr].s;if(In[bi]>Ft)Xn+=pi-(1<<Fn-In[bi]),In[bi]=Ft;else break}for(Xn>>>=fi;Xn>0;){var et=an[Rr].s;In[et]<Ft?Xn-=1<<Ft-In[et]++-1:++Rr}for(;Rr>=0&&Xn;--Rr){var Le=an[Rr].s;In[Le]==Ft&&(--In[Le],++Xn)}Fn=Ft}return[new b(In),Fn]},R=function Qt(Ot,Ft,pr){return Ot.s==-1?Math.max(Qt(Ot.l,Ft,pr+1),Qt(Ot.r,Ft,pr+1)):Ft[Ot.s]=pr},j=function(Ot){for(var Ft=Ot.length;Ft&&!Ot[--Ft];);for(var pr=new g(++Ft),Rr=0,Pr=Ot[0],an=1,Xt=function(Wr){pr[Rr++]=Wr},hr=1;hr<=Ft;++hr)if(Ot[hr]==Pr&&hr!=Ft)++an;else{if(!Pr&&an>2){for(;an>138;an-=138)Xt(32754);an>2&&(Xt(an>10?an-11<<5|28690:an-3<<5|12305),an=0)}else if(an>3){for(Xt(Pr),--an;an>6;an-=6)Xt(8304);an>2&&(Xt(an-3<<5|8208),an=0)}for(;an--;)Xt(Pr);an=1,Pr=Ot[hr]}return[pr.subarray(0,Rr),Ft]},H=function(Ot,Ft){for(var pr=0,Rr=0;Rr<Ft.length;++Rr)pr+=Ot[Rr]*Ft[Rr];return pr},K=function(Ot,Ft,pr){var Rr=pr.length,Pr=L(Ft+2);Ot[Pr]=Rr&255,Ot[Pr+1]=Rr>>>8,Ot[Pr+2]=Ot[Pr]^255,Ot[Pr+3]=Ot[Pr+1]^255;for(var an=0;an<Rr;++an)Ot[Pr+an+4]=pr[an];return(Pr+4+Rr)*8},U=function(Ot,Ft,pr,Rr,Pr,an,Xt,hr,Tr,Wr,Gr){N(Ft,Gr++,pr),++Pr[256];for(var Tn=W(Pr,15),gn=Tn[0],In=Tn[1],Fn=W(an,15),Xn=Fn[0],fi=Fn[1],pi=j(gn),bi=pi[0],et=pi[1],Le=j(Xn),Pe=Le[0],je=Le[1],Je=new g(19),Ve=0;Ve<bi.length;++Ve)Je[bi[Ve]&31]++;for(var Ve=0;Ve<Pe.length;++Ve)Je[Pe[Ve]&31]++;for(var Ze=W(Je,7),At=Ze[0],dt=Ze[1],Kt=19;Kt>4&&!At[u[Kt-1]];--Kt);var $t=Wr+5<<3,er=H(Pr,m)+H(an,S)+Xt,cr=H(Pr,gn)+H(an,Xn)+Xt+14+3*Kt+H(Je,At)+(2*Je[16]+3*Je[17]+7*Je[18]);if($t<=er&&$t<=cr)return K(Ft,Gr,Ot.subarray(Tr,Tr+Wr));var Ct,Nr,Zt,Ir;if(N(Ft,Gr,1+(cr<er)),Gr+=2,cr<er){Ct=p(gn,In,0),Nr=gn,Zt=p(Xn,fi,0),Ir=Xn;var xr=p(At,dt,0);N(Ft,Gr,et-257),N(Ft,Gr+5,je-1),N(Ft,Gr+10,Kt-4),Gr+=14;for(var Ve=0;Ve<Kt;++Ve)N(Ft,Gr+3*Ve,At[u[Ve]]);Gr+=3*Kt;for(var ur=[bi,Pe],on=0;on<2;++on)for(var Yn=ur[on],Ve=0;Ve<Yn.length;++Ve){var Vn=Yn[Ve]&31;N(Ft,Gr,xr[Vn]),Gr+=At[Vn],Vn>15&&(N(Ft,Gr,Yn[Ve]>>>5&127),Gr+=Yn[Ve]>>>12)}}else Ct=y,Nr=m,Zt=C,Ir=S;for(var Ve=0;Ve<hr;++Ve)if(Rr[Ve]>255){var Vn=Rr[Ve]>>>18&31;P(Ft,Gr,Ct[Vn+257]),Gr+=Nr[Vn+257],Vn>7&&(N(Ft,Gr,Rr[Ve]>>>23&31),Gr+=f[Vn]);var Wn=Rr[Ve]&31;P(Ft,Gr,Zt[Wn]),Gr+=Ir[Wn],Wn>3&&(P(Ft,Gr,Rr[Ve]>>>5&8191),Gr+=l[Wn])}else P(Ft,Gr,Ct[Rr[Ve]]),Gr+=Nr[Rr[Ve]];return P(Ft,Gr,Ct[256]),Gr+Nr[256]},G=new v([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),z=new b(0),Y=function(Ot,Ft,pr,Rr,Pr,an){var Xt=Ot.length,hr=new b(Rr+Xt+5*(1+Math.floor(Xt/7e3))+Pr),Tr=hr.subarray(Rr,hr.length-Pr),Wr=0;if(!Ft||Xt<8)for(var Gr=0;Gr<=Xt;Gr+=65535){var Tn=Gr+65535;Tn<Xt?Wr=K(Tr,Wr,Ot.subarray(Gr,Tn)):(Tr[Gr]=an,Wr=K(Tr,Wr,Ot.subarray(Gr,Xt)))}else{for(var gn=G[Ft-1],In=gn>>>13,Fn=gn&8191,Xn=(1<<pr)-1,fi=new g(32768),pi=new g(Xn+1),bi=Math.ceil(pr/3),et=2*bi,Le=function(Hn){return(Ot[Hn]^Ot[Hn+1]<<bi^Ot[Hn+2]<<et)&Xn},Pe=new v(25e3),je=new g(288),Je=new g(32),Ve=0,Ze=0,Gr=0,At=0,dt=0,Kt=0;Gr<Xt;++Gr){var $t=Le(Gr),er=Gr&32767,cr=pi[$t];if(fi[er]=cr,pi[$t]=er,dt<=Gr){var Ct=Xt-Gr;if((Ve>7e3||At>24576)&&Ct>423){Wr=U(Ot,Tr,0,Pe,je,Je,Ze,At,Kt,Gr-Kt,Wr),At=Ve=Ze=0,Kt=Gr;for(var Nr=0;Nr<286;++Nr)je[Nr]=0;for(var Nr=0;Nr<30;++Nr)Je[Nr]=0}var Zt=2,Ir=0,xr=Fn,ur=er-cr&32767;if(Ct>2&&$t==Le(Gr-ur))for(var on=Math.min(In,Ct)-1,Yn=Math.min(32767,Gr),Vn=Math.min(258,Ct);ur<=Yn&&--xr&&er!=cr;){if(Ot[Gr+Zt]==Ot[Gr+Zt-ur]){for(var Wn=0;Wn<Vn&&Ot[Gr+Wn]==Ot[Gr+Wn-ur];++Wn);if(Wn>Zt){if(Zt=Wn,Ir=ur,Wn>on)break;for(var jn=Math.min(ur,Wn-2),Gn=0,Nr=0;Nr<jn;++Nr){var Nn=Gr-ur+Nr+32768&32767,mi=fi[Nn],en=Nn-mi+32768&32767;en>Gn&&(Gn=en,cr=Nn)}}}er=cr,cr=fi[er],ur+=er-cr+32768&32767}if(Ir){Pe[At++]=268435456|i[Zt]<<18|t[Ir];var Kr=i[Zt]&31,dn=t[Ir]&31;Ze+=f[Kr]+l[dn],++je[257+Kr],++Je[dn],dt=Gr+Zt,++Ve}else Pe[At++]=Ot[Gr],++je[Ot[Gr]]}}Wr=U(Ot,Tr,an,Pe,je,Je,Ze,At,Kt,Gr-Kt,Wr),an||(Wr=K(Tr,Wr,z))}return D(hr,0,Rr+L(Wr)+Pr)},q=function(){for(var Qt=new v(256),Ot=0;Ot<256;++Ot){for(var Ft=Ot,pr=9;--pr;)Ft=(Ft&1&&3988292384)^Ft>>>1;Qt[Ot]=Ft}return Qt}(),oe=function(){var Ot=4294967295;return{p:function(pr){for(var Rr=Ot,Pr=0;Pr<pr.length;++Pr)Rr=q[Rr&255^pr[Pr]]^Rr>>>8;Ot=Rr},d:function(){return Ot^4294967295}}},ie=function(){var Ot=1,Ft=0;return{p:function(Rr){for(var Pr=Ot,an=Ft,Xt=Rr.length,hr=0;hr!=Xt;){for(var Tr=Math.min(hr+5552,Xt);hr<Tr;++hr)Pr+=Rr[hr],an+=Pr;Pr%=65521,an%=65521}Ot=Pr,Ft=an},d:function(){return(Ot>>>8<<16|(Ft&255)<<8|Ft>>>8)+((Ot&255)<<23)*2}}},se=function(Ot,Ft,pr,Rr,Pr){return Y(Ot,Ft.level==null?6:Ft.level,Ft.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(Ot.length)))*1.5):12+Ft.mem,pr,Rr,!Pr)},he=function(Ot,Ft){var pr={};for(var Rr in Ot)pr[Rr]=Ot[Rr];for(var Rr in Ft)pr[Rr]=Ft[Rr];return pr},pe=function(Ot,Ft,pr){for(var Rr=Ot(),Pr=Ot.toString(),an=Pr.slice(Pr.indexOf("[")+1,Pr.lastIndexOf("]")).replace(/ /g,"").split(","),Xt=0;Xt<Rr.length;++Xt){var hr=Rr[Xt],Tr=an[Xt];if(typeof hr=="function"){Ft+=";"+Tr+"=";var Wr=hr.toString();if(hr.prototype)if(Wr.indexOf("[native code]")!=-1){var Gr=Wr.indexOf(" ",8)+1;Ft+=Wr.slice(Gr,Wr.indexOf("(",Gr))}else{Ft+=Wr;for(var Tn in hr.prototype)Ft+=";"+Tr+".prototype."+Tn+"="+hr.prototype[Tn].toString()}else Ft+=Wr}else pr[Tr]=hr}return[Ft,pr]},_e=[],De=function(Ot){var Ft=[];for(var pr in Ot)(Ot[pr]instanceof b||Ot[pr]instanceof g||Ot[pr]instanceof v)&&Ft.push((Ot[pr]=new Ot[pr].constructor(Ot[pr])).buffer);return Ft},Xe=function(Ot,Ft,pr,Rr){var Pr;if(!_e[pr]){for(var an="",Xt={},hr=Ot.length-1,Tr=0;Tr<hr;++Tr)Pr=pe(Ot[Tr],an,Xt),an=Pr[0],Xt=Pr[1];_e[pr]=pe(Ot[hr],an,Xt)}var Wr=he({},_e[pr][1]);return A(_e[pr][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+Ft.toString()+"}",pr,Wr,De(Wr),Rr)},J=function(){return[b,g,v,f,l,u,n,s,x,T,a,p,_,E,I,L,D,F,Me,Z,ge]},Ee=function(){return[b,g,v,f,l,u,i,t,y,m,C,S,a,G,z,p,N,P,W,R,j,H,K,U,L,D,Y,se,Bt,Z]},qe=function(){return[We,Ne,xe,oe,q]},ae=function(){return[st,nt]},V=function(){return[St,xe,ie]},X=function(){return[Ye]},Z=function(Ot){return postMessage(Ot,[Ot.buffer])},ge=function(Ot){return Ot&&Ot.size&&new b(Ot.size)},le=function(Ot,Ft,pr,Rr,Pr,an){var Xt=Xe(pr,Rr,Pr,function(hr,Tr){Xt.terminate(),an(hr,Tr)});return Ft.consume||(Ot=new b(Ot)),Xt.postMessage([Ot,Ft],[Ot.buffer]),function(){Xt.terminate()}},Se=function(Ot){return Ot.ondata=function(Ft,pr){return postMessage([Ft,pr],[Ft.buffer])},function(Ft){return Ot.push(Ft.data[0],Ft.data[1])}},me=function(Ot,Ft,pr,Rr,Pr){var an,Xt=Xe(Ot,Rr,Pr,function(hr,Tr){hr?(Xt.terminate(),Ft.ondata.call(Ft,hr)):(Tr[1]&&Xt.terminate(),Ft.ondata.call(Ft,hr,Tr[0],Tr[1]))});Xt.postMessage(pr),Ft.push=function(hr,Tr){if(an)throw"stream finished";if(!Ft.ondata)throw"no stream handler";Xt.postMessage([hr,an=Tr],[hr.buffer])},Ft.terminate=function(){Xt.terminate()}},$=function(Ot,Ft){return Ot[Ft]|Ot[Ft+1]<<8},we=function(Ot,Ft){return(Ot[Ft]|Ot[Ft+1]<<8|Ot[Ft+2]<<16)+(Ot[Ft+3]<<23)*2},xe=function(Ot,Ft,pr){for(;pr;++Ft)Ot[Ft]=pr,pr>>>=8},We=function(Ot,Ft){var pr=Ft.filename;if(Ot[0]=31,Ot[1]=139,Ot[2]=8,Ot[8]=Ft.level<2?4:Ft.level==9?2:0,Ot[9]=3,Ft.mtime!=0&&xe(Ot,4,Math.floor(new Date(Ft.mtime||Date.now())/1e3)),pr){Ot[3]=8;for(var Rr=0;Rr<=pr.length;++Rr)Ot[Rr+10]=pr.charCodeAt(Rr)}},st=function(Ot){if(Ot[0]!=31||Ot[1]!=139||Ot[2]!=8)throw"invalid gzip data";var Ft=Ot[3],pr=10;Ft&4&&(pr+=Ot[10]|(Ot[11]<<8)+2);for(var Rr=(Ft>>3&1)+(Ft>>4&1);Rr>0;Rr-=!Ot[pr++]);return pr+(Ft&2)},nt=function(Ot){var Ft=Ot.length;return(Ot[Ft-4]|Ot[Ft-3]<<8|Ot[Ft-2]<<16)+2*(Ot[Ft-1]<<23)},Ne=function(Ot){return 10+(Ot.filename&&Ot.filename.length+1||0)},St=function(Ot,Ft){var pr=Ft.level,Rr=pr==0?0:pr<6?1:pr==9?3:2;Ot[0]=120,Ot[1]=Rr<<6|(Rr?32-2*Rr:1)},Ye=function(Ot){if((Ot[0]&15)!=8||Ot[0]>>>4>7||(Ot[0]<<8|Ot[1])%31)throw"invalid zlib data";if(Ot[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function vt(Qt,Ot){return!Ot&&typeof Qt=="function"&&(Ot=Qt,Qt={}),this.ondata=Ot,Qt}var It=function(){function Qt(Ot,Ft){!Ft&&typeof Ot=="function"&&(Ft=Ot,Ot={}),this.ondata=Ft,this.o=Ot||{}}return Qt.prototype.p=function(Ot,Ft){this.ondata(se(Ot,this.o,0,0,!Ft),Ft)},Qt.prototype.push=function(Ot,Ft){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=Ft,this.p(Ot,Ft||!1)},Qt}(),Ut=function(){function Qt(Ot,Ft){me([Ee,function(){return[Se,It]}],this,vt.call(this,Ot,Ft),function(pr){var Rr=new It(pr.data);onmessage=Se(Rr)},6)}return Qt}();function xt(Qt,Ot,Ft){if(Ft||(Ft=Ot,Ot={}),typeof Ft!="function")throw"no callback";return le(Qt,Ot,[Ee],function(pr){return Z(Bt(pr.data[0],pr.data[1]))},0,Ft)}function Bt(Qt,Ot){return Ot===void 0&&(Ot={}),se(Qt,Ot,0,0)}var Qe=function(){function Qt(Ot){this.s={},this.p=new b(0),this.ondata=Ot}return Qt.prototype.e=function(Ot){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var Ft=this.p.length,pr=new b(Ft+Ot.length);pr.set(this.p),pr.set(Ot,Ft),this.p=pr},Qt.prototype.c=function(Ot){this.d=this.s.i=Ot||!1;var Ft=this.s.b,pr=F(this.p,this.o,this.s);this.ondata(D(pr,Ft,this.s.b),this.d),this.o=D(pr,this.s.b-32768),this.s.b=this.o.length,this.p=D(this.p,this.s.p/8>>0),this.s.p&=7},Qt.prototype.push=function(Ot,Ft){this.e(Ot),this.c(Ft)},Qt}(),te=function(){function Qt(Ot){this.ondata=Ot,me([J,function(){return[Se,Qe]}],this,0,function(){var Ft=new Qe;onmessage=Se(Ft)},7)}return Qt}();function Q(Qt,Ot,Ft){if(Ft||(Ft=Ot,Ot={}),typeof Ft!="function")throw"no callback";return le(Qt,Ot,[J],function(pr){return Z(Me(pr.data[0],ge(pr.data[1])))},1,Ft)}function Me(Qt,Ot){return F(Qt,Ot)}var Ce=function(){function Qt(Ot,Ft){this.c=oe(),this.l=0,this.v=1,It.call(this,Ot,Ft)}return Qt.prototype.push=function(Ot,Ft){It.prototype.push.call(this,Ot,Ft)},Qt.prototype.p=function(Ot,Ft){this.c.p(Ot),this.l+=Ot.length;var pr=se(Ot,this.o,this.v&&Ne(this.o),Ft&&8,!Ft);this.v&&(We(pr,this.o),this.v=0),Ft&&(xe(pr,pr.length-8,this.c.d()),xe(pr,pr.length-4,this.l)),this.ondata(pr,Ft)},Qt}(),ue=function(){function Qt(Ot,Ft){me([Ee,qe,function(){return[Se,It,Ce]}],this,vt.call(this,Ot,Ft),function(pr){var Rr=new Ce(pr.data);onmessage=Se(Rr)},8)}return Qt}();function ot(Qt,Ot,Ft){if(Ft||(Ft=Ot,Ot={}),typeof Ft!="function")throw"no callback";return le(Qt,Ot,[Ee,qe,function(){return[rt]}],function(pr){return Z(rt(pr.data[0],pr.data[1]))},2,Ft)}function rt(Qt,Ot){Ot===void 0&&(Ot={});var Ft=oe(),pr=Qt.length;Ft.p(Qt);var Rr=se(Qt,Ot,Ne(Ot),8),Pr=Rr.length;return We(Rr,Ot),xe(Rr,Pr-8,Ft.d()),xe(Rr,Pr-4,pr),Rr}var Ue=function(){function Qt(Ot){this.v=1,Qe.call(this,Ot)}return Qt.prototype.push=function(Ot,Ft){if(Qe.prototype.e.call(this,Ot),this.v){var pr=st(this.p);if(pr>=this.p.length&&!Ft)return;this.p=this.p.subarray(pr),this.v=0}if(Ft){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}Qe.prototype.c.call(this,Ft)},Qt}(),Ge=function(){function Qt(Ot){this.ondata=Ot,me([J,ae,function(){return[Se,Qe,Ue]}],this,0,function(){var Ft=new Ue;onmessage=Se(Ft)},9)}return Qt}();function tt(Qt,Ot,Ft){if(Ft||(Ft=Ot,Ot={}),typeof Ft!="function")throw"no callback";return le(Qt,Ot,[J,ae,function(){return[Wt]}],function(pr){return Z(Wt(pr.data[0]))},3,Ft)}function Wt(Qt,Ot){return F(Qt.subarray(st(Qt),-8),Ot||new b(nt(Qt)))}var jt=function(){function Qt(Ot,Ft){this.c=ie(),this.v=1,It.call(this,Ot,Ft)}return Qt.prototype.push=function(Ot,Ft){It.prototype.push.call(this,Ot,Ft)},Qt.prototype.p=function(Ot,Ft){this.c.p(Ot);var pr=se(Ot,this.o,this.v&&2,Ft&&4,!Ft);this.v&&(St(pr,this.o),this.v=0),Ft&&xe(pr,pr.length-4,this.c.d()),this.ondata(pr,Ft)},Qt}(),Yt=function(){function Qt(Ot,Ft){me([Ee,V,function(){return[Se,It,jt]}],this,vt.call(this,Ot,Ft),function(pr){var Rr=new jt(pr.data);onmessage=Se(Rr)},10)}return Qt}();function Tt(Qt,Ot,Ft){if(Ft||(Ft=Ot,Ot={}),typeof Ft!="function")throw"no callback";return le(Qt,Ot,[Ee,V,function(){return[Rt]}],function(pr){return Z(Rt(pr.data[0],pr.data[1]))},4,Ft)}function Rt(Qt,Ot){Ot===void 0&&(Ot={});var Ft=ie();Ft.p(Qt);var pr=se(Qt,Ot,2,4);return St(pr,Ot),xe(pr,pr.length-4,Ft.d()),pr}var yt=function(){function Qt(Ot){this.v=1,Qe.call(this,Ot)}return Qt.prototype.push=function(Ot,Ft){if(Qe.prototype.e.call(this,Ot),this.v){if(this.p.length<2&&!Ft)return;this.p=this.p.subarray(2),this.v=0}if(Ft){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}Qe.prototype.c.call(this,Ft)},Qt}(),Jt=function(){function Qt(Ot){this.ondata=Ot,me([J,X,function(){return[Se,Qe,yt]}],this,0,function(){var Ft=new yt;onmessage=Se(Ft)},11)}return Qt}();function Lr(Qt,Ot,Ft){if(Ft||(Ft=Ot,Ot={}),typeof Ft!="function")throw"no callback";return le(Qt,Ot,[J,X,function(){return[zr]}],function(pr){return Z(zr(pr.data[0],ge(pr.data[1])))},5,Ft)}function zr(Qt,Ot){return F((Ye(Qt),Qt.subarray(2,-4)),Ot)}var rn=function(){function Qt(Ot){this.G=Ue,this.I=Qe,this.Z=yt,this.ondata=Ot}return Qt.prototype.push=function(Ot,Ft){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(Ot,Ft);else{if(this.p&&this.p.length){var pr=new b(this.p.length+Ot.length);pr.set(this.p),pr.set(Ot,this.p.length)}else this.p=Ot;if(this.p.length>2){var Rr=this,Pr=function(){Rr.ondata.apply(Rr,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(Pr):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(Pr):new this.Z(Pr),this.s.push(this.p,Ft),this.p=null}}},Qt}(),ei=function(){function Qt(Ot){this.G=Ge,this.I=te,this.Z=Jt,this.ondata=Ot}return Qt.prototype.push=function(Ot,Ft){rn.prototype.push.call(this,Ot,Ft)},Qt}();function fn(Qt,Ot,Ft){if(Ft||(Ft=Ot,Ot={}),typeof Ft!="function")throw"no callback";return Qt[0]==31&&Qt[1]==139&&Qt[2]==8?tt(Qt,Ot,Ft):(Qt[0]&15)!=8||Qt[0]>>4>7||(Qt[0]<<8|Qt[1])%31?Q(Qt,Ot,Ft):Lr(Qt,Ot,Ft)}function Zr(Qt,Ot){return Qt[0]==31&&Qt[1]==139&&Qt[2]==8?Wt(Qt,Ot):(Qt[0]&15)!=8||Qt[0]>>4>7||(Qt[0]<<8|Qt[1])%31?Me(Qt,Ot):zr(Qt,Ot)}var bt=function Qt(Ot,Ft,pr,Rr){for(var Pr in Ot){var an=Ot[Pr],Xt=Ft+Pr;an instanceof b?pr[Xt]=[an,Rr]:Array.isArray(an)?pr[Xt]=[an[0],he(Rr,an[1])]:Qt(an,Xt+"/",pr,Rr)}};function ut(Qt,Ot){var Ft=Qt.length;if(!Ot&&typeof TextEncoder!="undefined")return new TextEncoder().encode(Qt);for(var pr=new b(Qt.length+(Qt.length>>>1)),Rr=0,Pr=function(Wr){pr[Rr++]=Wr},an=0;an<Ft;++an){if(Rr+5>pr.length){var Xt=new b(Rr+8+(Ft-an<<1));Xt.set(pr),pr=Xt}var hr=Qt.charCodeAt(an);hr<128||Ot?Pr(hr):hr<2048?(Pr(192|hr>>>6),Pr(128|hr&63)):hr>55295&&hr<57344?(hr=65536+(hr&1023<<10)|Qt.charCodeAt(++an)&1023,Pr(240|hr>>>18),Pr(128|hr>>>12&63),Pr(128|hr>>>6&63),Pr(128|hr&63)):(Pr(224|hr>>>12),Pr(128|hr>>>6&63),Pr(128|hr&63))}return D(pr,0,Rr)}function Oe(Qt,Ot){var Ft="";if(!Ot&&typeof TextDecoder!="undefined")return new TextDecoder().decode(Qt);for(var pr=0;pr<Qt.length;){var Rr=Qt[pr++];Rr<128||Ot?Ft+=String.fromCharCode(Rr):Rr<224?Ft+=String.fromCharCode((Rr&31)<<6|Qt[pr++]&63):Rr<240?Ft+=String.fromCharCode((Rr&15)<<12|(Qt[pr++]&63)<<6|Qt[pr++]&63):(Rr=((Rr&15)<<18|(Qt[pr++]&63)<<12|(Qt[pr++]&63)<<6|Qt[pr++]&63)-65536,Ft+=String.fromCharCode(55296|Rr>>10,56320|Rr&1023))}return Ft}var be=function(Ot,Ft){return Ft+30+$(Ot,Ft+26)+$(Ot,Ft+28)},Fe=function(Ot,Ft,pr){var Rr=$(Ot,Ft+28),Pr=Oe(Ot.subarray(Ft+46,Ft+46+Rr),!($(Ot,Ft+8)&2048)),an=Ft+46+Rr,Xt=pr?it(Ot,an):[we(Ot,Ft+20),we(Ot,Ft+24),we(Ot,Ft+42)],hr=Xt[0],Tr=Xt[1],Wr=Xt[2];return[$(Ot,Ft+10),hr,Tr,Pr,an+$(Ot,Ft+30)+$(Ot,Ft+32),Wr]},it=function(Ot,Ft){for(;$(Ot,Ft)!=1;Ft+=4+$(Ot,Ft+2));return[we(Ot,Ft+12),we(Ot,Ft+4),we(Ot,Ft+20)]},wt=function(Ot,Ft,pr,Rr,Pr,an,Xt,hr,Tr,Wr){var Gr=an.length,Tn=Rr.length;xe(Ot,Ft,Tr!=null?33639248:67324752),Ft+=4,Tr!=null&&(Ot[Ft]=20,Ft+=2),Ot[Ft]=20,Ft+=2,Ot[Ft++]=Wr==8&&(hr.level==1?6:hr.level<6?4:hr.level==9?2:0),Ot[Ft++]=Xt&&8,Ot[Ft]=Wr,Ft+=2;var gn=new Date(hr.mtime||Date.now()),In=gn.getFullYear()-1980;if(In<0||In>119)throw"date not in range 1980-2099";xe(Ot,Ft,(In<<24)*2|gn.getMonth()+1<<21|gn.getDate()<<16|gn.getHours()<<11|gn.getMinutes()<<5|gn.getSeconds()>>>1),Ft+=4,xe(Ot,Ft,pr),xe(Ot,Ft+4,Tn),xe(Ot,Ft+8,Pr),xe(Ot,Ft+12,Gr),Ft+=16,Tr!=null&&(xe(Ot,Ft+=10,Tr),Ft+=4),Ot.set(an,Ft),Ft+=Gr,Tr==null&&Ot.set(Rr,Ft)},nr=function(Ot,Ft,pr,Rr,Pr){xe(Ot,Ft,101010256),xe(Ot,Ft+8,pr),xe(Ot,Ft+10,pr),xe(Ot,Ft+12,Rr),xe(Ot,Ft+16,Pr)};function sr(Qt,Ot,Ft){if(Ft||(Ft=Ot,Ot={}),typeof Ft!="function")throw"no callback";var pr={};bt(Qt,"",pr,Ot);var Rr=Object.keys(pr),Pr=Rr.length,an=0,Xt=0,hr=Pr,Tr=new Array(Pr),Wr=[],Gr=function(){for(var Xn=0;Xn<Wr.length;++Xn)Wr[Xn]()},Tn=function(){var Xn=new b(Xt+22),fi=an,pi=Xt-an;Xt=0;for(var bi=0;bi<hr;++bi){var et=Tr[bi];try{wt(Xn,Xt,et.c,et.d,et.m,et.n,et.u,et.p,null,et.t),wt(Xn,an,et.c,et.d,et.m,et.n,et.u,et.p,Xt,et.t),an+=46+et.n.length,Xt+=30+et.n.length+et.d.length}catch(Le){return Ft(Le,null)}}nr(Xn,an,Tr.length,pi,fi),Ft(null,Xn)};Pr||Tn();for(var gn=function(Xn){var fi=Rr[Xn],pi=pr[fi],bi=pi[0],et=pi[1],Le=oe(),Pe=bi.length;Le.p(bi);var je=ut(fi),Je=je.length,Ve=et.level==0?0:8,Ze=function(dt,Kt){if(dt)Gr(),Ft(dt,null);else{var $t=Kt.length;Tr[Xn]={t:Ve,d:Kt,m:Pe,c:Le.d(),u:fi.length!=$t,n:je,p:et},an+=30+Je+$t,Xt+=76+2*Je+$t,--Pr||Tn()}};if(je.length>65535&&Ze("filename too long",null),!Ve)Ze(null,bi);else if(Pe<16e4)try{Ze(null,Bt(bi,et))}catch(At){Ze(At,null)}else Wr.push(xt(bi,et,Ze))},In=0;In<hr;++In)gn(In);return Gr}function Ar(Qt,Ot){Ot===void 0&&(Ot={});var Ft={},pr=[];bt(Qt,"",Ft,Ot);var Rr=0,Pr=0;for(var an in Ft){var Xt=Ft[an],hr=Xt[0],Tr=Xt[1],Wr=Tr.level==0?0:8,Gr=ut(an),Tn=Gr.length;if(Gr.length>65535)throw"filename too long";var gn=Wr?Bt(hr,Tr):hr,In=gn.length,Fn=oe();Fn.p(hr),pr.push({t:Wr,d:gn,m:hr.length,c:Fn.d(),u:an.length!=Tn,n:Gr,o:Rr,p:Tr}),Rr+=30+Tn+In,Pr+=76+2*Tn+In}for(var Xn=new b(Pr+22),fi=Rr,pi=Pr-Rr,bi=0;bi<pr.length;++bi){var et=pr[bi];wt(Xn,et.o,et.c,et.d,et.m,et.n,et.u,et.p,null,et.t),wt(Xn,Rr,et.c,et.d,et.m,et.n,et.u,et.p,et.o,et.t),Rr+=46+et.n.length}return nr(Xn,Rr,pr.length,pi,fi),Xn}function Hr(Qt,Ot){if(typeof Ot!="function")throw"no callback";for(var Ft=[],pr=function(){for(var gn=0;gn<Ft.length;++gn)Ft[gn]()},Rr={},Pr=Qt.length-22;we(Qt,Pr)!=101010256;--Pr)if(!Pr||Qt.length-Pr>65558){Ot("invalid zip file",null);return}var an=$(Qt,Pr+8);an||Ot(null,{});var Xt=an,hr=we(Qt,Pr+16),Tr=hr==4294967295;if(Tr){if(Pr=we(Qt,Pr-12),we(Qt,Pr)!=101075792)throw"invalid zip file";Xt=an=we(Qt,Pr+32),hr=we(Qt,Pr+48)}for(var Wr=function(gn){var In=Fe(Qt,hr,Tr),Fn=In[0],Xn=In[1],fi=In[2],pi=In[3],bi=In[4],et=In[5],Le=be(Qt,et);hr=bi;var Pe=function(Ve,Ze){Ve?(pr(),Ot(Ve,null)):(Rr[pi]=Ze,--an||Ot(null,Rr))};if(!Fn)Pe(null,D(Qt,Le,Le+Xn));else if(Fn==8){var je=Qt.subarray(Le,Le+Xn);if(Xn<32e4)try{Pe(null,Me(je,new b(fi)))}catch(Je){Pe(Je,null)}else Ft.push(Q(je,{size:fi},Pe))}else Pe("unknown compression type "+Fn,null)},Gr=0;Gr<Xt;++Gr)Wr(Gr);return pr}function $r(Qt){for(var Ot={},Ft=Qt.length-22;we(Qt,Ft)!=101010256;--Ft)if(!Ft||Qt.length-Ft>65558)throw"invalid zip file";var pr=$(Qt,Ft+8);if(!pr)return{};var Rr=we(Qt,Ft+16),Pr=Rr==4294967295;if(Pr){if(Ft=we(Qt,Ft-12),we(Qt,Ft)!=101075792)throw"invalid zip file";pr=we(Qt,Ft+32),Rr=we(Qt,Ft+48)}for(var an=0;an<pr;++an){var Xt=Fe(Qt,Rr,Pr),hr=Xt[0],Tr=Xt[1],Wr=Xt[2],Gr=Xt[3],Tn=Xt[4],gn=Xt[5],In=be(Qt,gn);if(Rr=Tn,!hr)Ot[Gr]=D(Qt,In,In+Tr);else if(hr==8)Ot[Gr]=Me(Qt.subarray(In,In+Tr),new b(Wr));else throw"unknown compression type "+hr}return Ot}},czTT:function(k,B,d){},d4KN:function(k,B,d){var w=d("ProS"),A=d("bYtY");function b(g,v){A.each(v,function(f){f.update="updateView",w.registerAction(f,function(l,u){var o={};return u.eachComponent({mainType:"series",subType:g,query:l},function(e){e[f.method]&&e[f.method](l.name,l.dataIndex);var n=e.getData();n.each(function(i){var r=n.getName(i);o[r]=e.isSelected(r)||!1})}),{name:l.name,selected:o,seriesId:l.seriesId}})})}k.exports=b},dBmv:function(k,B,d){var w=d("ProS"),A=d("szbU");d("vF/C"),d("qwVE"),d("MHoB"),d("PNag"),d("1u/T"),w.registerPreprocessor(A)},"dF/Y":function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="DownloadOutlined";var l=B.a=A.forwardRef(f)},dMvE:function(k,B){var d={linear:function(b){return b},quadraticIn:function(b){return b*b},quadraticOut:function(b){return b*(2-b)},quadraticInOut:function(b){return(b*=2)<1?.5*b*b:-.5*(--b*(b-2)-1)},cubicIn:function(b){return b*b*b},cubicOut:function(b){return--b*b*b+1},cubicInOut:function(b){return(b*=2)<1?.5*b*b*b:.5*((b-=2)*b*b+2)},quarticIn:function(b){return b*b*b*b},quarticOut:function(b){return 1- --b*b*b*b},quarticInOut:function(b){return(b*=2)<1?.5*b*b*b*b:-.5*((b-=2)*b*b*b-2)},quinticIn:function(b){return b*b*b*b*b},quinticOut:function(b){return--b*b*b*b*b+1},quinticInOut:function(b){return(b*=2)<1?.5*b*b*b*b*b:.5*((b-=2)*b*b*b*b+2)},sinusoidalIn:function(b){return 1-Math.cos(b*Math.PI/2)},sinusoidalOut:function(b){return Math.sin(b*Math.PI/2)},sinusoidalInOut:function(b){return .5*(1-Math.cos(Math.PI*b))},exponentialIn:function(b){return b===0?0:Math.pow(1024,b-1)},exponentialOut:function(b){return b===1?1:1-Math.pow(2,-10*b)},exponentialInOut:function(b){return b===0?0:b===1?1:(b*=2)<1?.5*Math.pow(1024,b-1):.5*(-Math.pow(2,-10*(b-1))+2)},circularIn:function(b){return 1-Math.sqrt(1-b*b)},circularOut:function(b){return Math.sqrt(1- --b*b)},circularInOut:function(b){return(b*=2)<1?-.5*(Math.sqrt(1-b*b)-1):.5*(Math.sqrt(1-(b-=2)*b)+1)},elasticIn:function(b){var g,v=.1,f=.4;return b===0?0:b===1?1:(!v||v<1?(v=1,g=f/4):g=f*Math.asin(1/v)/(2*Math.PI),-(v*Math.pow(2,10*(b-=1))*Math.sin((b-g)*(2*Math.PI)/f)))},elasticOut:function(b){var g,v=.1,f=.4;return b===0?0:b===1?1:(!v||v<1?(v=1,g=f/4):g=f*Math.asin(1/v)/(2*Math.PI),v*Math.pow(2,-10*b)*Math.sin((b-g)*(2*Math.PI)/f)+1)},elasticInOut:function(b){var g,v=.1,f=.4;return b===0?0:b===1?1:(!v||v<1?(v=1,g=f/4):g=f*Math.asin(1/v)/(2*Math.PI),(b*=2)<1?-.5*(v*Math.pow(2,10*(b-=1))*Math.sin((b-g)*(2*Math.PI)/f)):v*Math.pow(2,-10*(b-=1))*Math.sin((b-g)*(2*Math.PI)/f)*.5+1)},backIn:function(b){var g=1.70158;return b*b*((g+1)*b-g)},backOut:function(b){var g=1.70158;return--b*b*((g+1)*b+g)+1},backInOut:function(b){var g=1.70158*1.525;return(b*=2)<1?.5*(b*b*((g+1)*b-g)):.5*((b-=2)*b*((g+1)*b+g)+2)},bounceIn:function(b){return 1-d.bounceOut(1-b)},bounceOut:function(b){return b<1/2.75?7.5625*b*b:b<2/2.75?7.5625*(b-=1.5/2.75)*b+.75:b<2.5/2.75?7.5625*(b-=2.25/2.75)*b+.9375:7.5625*(b-=2.625/2.75)*b+.984375},bounceInOut:function(b){return b<.5?d.bounceIn(b*2)*.5:d.bounceOut(b*2-1)*.5+.5}},w=d;k.exports=w},diRs:function(k,B,d){"use strict";var w=d("wx14"),A=d("q1tI"),b=d.n(A),g=d("3S7+"),v=d("H84U"),f=d("bogI"),l=function(o,e){var n={};for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&e.indexOf(i)<0&&(n[i]=o[i]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(o);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(o,i[r])&&(n[i[r]]=o[i[r]]);return n},u=A.forwardRef(function(o,e){var n=o.prefixCls,i=o.title,r=o.content,s=l(o,["prefixCls","title","content"]),t=A.useContext(v.b),a=t.getPrefixCls,c=function(m){return A.createElement(A.Fragment,null,i&&A.createElement("div",{className:"".concat(m,"-title")},Object(f.a)(i)),A.createElement("div",{className:"".concat(m,"-inner-content")},Object(f.a)(r)))},h=a("popover",n);return A.createElement(g.a,Object(w.a)({},s,{prefixCls:h,ref:e,overlay:c(h)}))});u.displayName="Popover",u.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},B.a=u},dmGj:function(k,B,d){var w=d("DEFe"),A=d("ProS"),b=A.extendComponentView({type:"geo",init:function(g,v){var f=new w(v,!0);this._mapDraw=f,this.group.add(f.group)},render:function(g,v,f,l){if(l&&l.type==="geoToggleSelect"&&l.from===this.uid)return;var u=this._mapDraw;g.get("show")?u.draw(g,v,f,this,l):this._mapDraw.group.removeAll(),this.group.silent=g.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});k.exports=b},dnwI:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("YH21"),g=d("Kagy"),v=d("IUWy"),f=g.toolbox.dataView,l=new Array(60).join("-"),u=" ";function o(y){var x={},C=[],T=[];return y.eachRawSeries(function(_){var E=_.coordinateSystem;if(E&&(E.type==="cartesian2d"||E.type==="polar")){var I=E.getBaseAxis();if(I.type==="category"){var L=I.dim+"_"+I.index;x[L]||(x[L]={categoryAxis:I,valueAxis:E.getOtherAxis(I),series:[]},T.push({axisDim:I.dim,axisIndex:I.index})),x[L].series.push(_)}else C.push(_)}else C.push(_)}),{seriesGroupByCategoryAxis:x,other:C,meta:T}}function e(y){var x=[];return A.each(y,function(C,T){var _=C.categoryAxis,E=C.valueAxis,I=E.dim,L=[" "].concat(A.map(C.series,function(R){return R.name})),D=[_.model.getCategories()];A.each(C.series,function(R){D.push(R.getRawData().mapArray(I,function(j){return j}))});for(var F=[L.join(u)],N=0;N<D[0].length;N++){for(var P=[],W=0;W<D.length;W++)P.push(D[W][N]);F.push(P.join(u))}x.push(F.join(`
`))}),x.join(`
`+l+`
`)}function n(y){return A.map(y,function(x){var C=x.getRawData(),T=[x.name],_=[];return C.each(C.dimensions,function(){for(var E=arguments.length,I=arguments[E-1],L=C.getName(I),D=0;D<E-1;D++)_[D]=arguments[D];T.push((L?L+u:"")+_.join(u))}),T.join(`
`)}).join(`
`+l+`
`)}function i(y){var x=o(y);return{value:A.filter([e(x.seriesGroupByCategoryAxis),n(x.other)],function(C){return C.replace(/[\n\t\s]/g,"")}).join(`
`+l+`
`),meta:x.meta}}function r(y){return y.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function s(y){var x=y.slice(0,y.indexOf(`
`));if(x.indexOf(u)>=0)return!0}var t=new RegExp("["+u+"]+","g");function a(y){for(var x=y.split(/\n+/g),C=r(x.shift()).split(t),T=[],_=A.map(C,function(D){return{name:D,data:[]}}),E=0;E<x.length;E++){var I=r(x[E]).split(t);T.push(I.shift());for(var L=0;L<I.length;L++)_[L]&&(_[L].data[E]=I[L])}return{series:_,categories:T}}function c(y){for(var x=y.split(/\n+/g),C=r(x.shift()),T=[],_=0;_<x.length;_++){var E=r(x[_]).split(t),I="",L,D=!1;isNaN(E[0])?(D=!0,I=E[0],E=E.slice(1),T[_]={name:I,value:[]},L=T[_].value):L=T[_]=[];for(var F=0;F<E.length;F++)L.push(+E[F]);L.length===1&&(D?T[_].value=L[0]:T[_]=L[0])}return{name:C,data:T}}function h(y,x){var C=y.split(new RegExp(`
*`+l+`
*`,"g")),T={series:[]};return A.each(C,function(_,E){if(s(_)){var I=a(_),L=x[E],D=L.axisDim+"Axis";L&&(T[D]=T[D]||[],T[D][L.axisIndex]={data:I.categories},T.series=T.series.concat(I.series))}else{var I=c(_);T.series.push(I)}}),T}function p(y){this._dom=null,this.model=y}p.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:A.clone(f.title),lang:A.clone(f.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},p.prototype.onclick=function(y,x){var C=x.getDom(),T=this.model;this._dom&&C.removeChild(this._dom);var _=document.createElement("div");_.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",_.style.backgroundColor=T.get("backgroundColor")||"#fff";var E=document.createElement("h4"),I=T.get("lang")||[];E.innerHTML=I[0]||T.get("title"),E.style.cssText="margin: 10px 20px;",E.style.color=T.get("textColor");var L=document.createElement("div"),D=document.createElement("textarea");L.style.cssText="display:block;width:100%;overflow:auto;";var F=T.get("optionToContent"),N=T.get("contentToOption"),P=i(y);if(typeof F=="function"){var W=F(x.getOption());typeof W=="string"?L.innerHTML=W:A.isDom(W)&&L.appendChild(W)}else L.appendChild(D),D.readOnly=T.get("readOnly"),D.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",D.style.color=T.get("textColor"),D.style.borderColor=T.get("textareaBorderColor"),D.style.backgroundColor=T.get("textareaColor"),D.value=P.value;var R=P.meta,j=document.createElement("div");j.style.cssText="position:absolute;bottom:0;left:0;right:0;";var H="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",K=document.createElement("div"),U=document.createElement("div");H+=";background-color:"+T.get("buttonColor"),H+=";color:"+T.get("buttonTextColor");var G=this;function z(){C.removeChild(_),G._dom=null}b.addEventListener(K,"click",z),b.addEventListener(U,"click",function(){var Y;try{typeof N=="function"?Y=N(L,x.getOption()):Y=h(D.value,R)}catch(q){throw z(),new Error("Data view format error "+q)}Y&&x.dispatchAction({type:"changeDataView",newOption:Y}),z()}),K.innerHTML=I[1],U.innerHTML=I[2],U.style.cssText=H,K.style.cssText=H,!T.get("readOnly")&&j.appendChild(U),j.appendChild(K),_.appendChild(E),_.appendChild(L),_.appendChild(j),L.style.height=C.clientHeight-80+"px",C.appendChild(_),this._dom=_},p.prototype.remove=function(y,x){this._dom&&x.getDom().removeChild(this._dom)},p.prototype.dispose=function(y,x){this.remove(y,x)};function m(y,x){return A.map(y,function(C,T){var _=x&&x[T];return A.isObject(_)&&!A.isArray(_)?(A.isObject(C)&&!A.isArray(C)&&(C=C.value),A.defaults({value:C},_)):C})}v.register("dataView",p),w.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(y,x){var C=[];A.each(y.newOption.series,function(T){var _=x.getSeriesByName(T.name)[0];if(!_)C.push(A.extend({type:"scatter"},T));else{var E=_.get("data");C.push({name:T.name,data:m(T.data,E)})}}),x.mergeOption(A.defaults({series:C},y.newOption))});var S=p;k.exports=S},dqUG:function(k,B,d){var w=d("Gev7"),A=d("bYtY"),b=d("6GrX"),g=d("pzxd"),v=d("gut8"),f=v.ContextCachedBy,l=function(e){w.call(this,e)};l.prototype={constructor:l,type:"text",brush:function(e,n){var i=this.style;this.__dirty&&g.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var r=i.text;if(r!=null&&(r+=""),!g.needDrawText(r,i)){e.__attrCachedBy=f.NONE;return}this.setTransform(e),g.renderText(this,e,r,i,null,n),this.restoreTransform(e)},getBoundingRect:function(){var e=this.style;if(this.__dirty&&g.normalizeTextStyle(e,!0),!this._rect){var n=e.text;n!=null?n+="":n="";var i=b.getBoundingRect(e.text+"",e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich);if(i.x+=e.x||0,i.y+=e.y||0,g.getStroke(e.textStroke,e.textStrokeWidth)){var r=e.textStrokeWidth;i.x-=r/2,i.y-=r/2,i.width+=r,i.height+=r}this._rect=i}return this._rect}},A.inherits(l,w);var u=l;k.exports=u},dt0z:function(k,B,d){var w=d("zoYe");function A(b){return b==null?"":w(b)}k.exports=A},dtIV:function(k,B,d){"use strict";d.r(B),function(w){d.d(B,"AcroForm",function(){return Ce}),d.d(B,"AcroFormAppearance",function(){return Q}),d.d(B,"AcroFormButton",function(){return vt}),d.d(B,"AcroFormCheckBox",function(){return Bt}),d.d(B,"AcroFormChoiceField",function(){return nt}),d.d(B,"AcroFormComboBox",function(){return St}),d.d(B,"AcroFormEditBox",function(){return Ye}),d.d(B,"AcroFormListBox",function(){return Ne}),d.d(B,"AcroFormPasswordField",function(){return te}),d.d(B,"AcroFormPushButton",function(){return It}),d.d(B,"AcroFormRadioButton",function(){return Ut}),d.d(B,"AcroFormTextField",function(){return Qe}),d.d(B,"GState",function(){return W}),d.d(B,"ShadingPattern",function(){return j}),d.d(B,"TilingPattern",function(){return H}),d.d(B,"jsPDF",function(){return K});var A=d("cDf5"),b=d.n(A),g=d("crp1");/** @license
*
* jsPDF - PDF Document creation from JavaScript
* Version 2.4.0 Built on 2021-09-14T10:30:30.230Z
* 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 w!="undefined"?w:typeof self!="undefined"?self:this}();function f(){v.console&&typeof v.console.log=="function"&&v.console.log.apply(v.console,arguments)}var l={log:f,warn:function(Le){v.console&&(typeof v.console.warn=="function"?v.console.warn.apply(v.console,arguments):f.call(null,arguments))},error:function(Le){v.console&&(typeof v.console.error=="function"?v.console.error.apply(v.console,arguments):f(Le))}};function u(et,Le,Pe){var je=new XMLHttpRequest;je.open("GET",et),je.responseType="blob",je.onload=function(){r(je.response,Le,Pe)},je.onerror=function(){l.error("could not download file")},je.send()}function o(et){var Le=new XMLHttpRequest;Le.open("HEAD",et,!1);try{Le.send()}catch(Pe){}return Le.status>=200&&Le.status<=299}function e(et){try{et.dispatchEvent(new MouseEvent("click"))}catch(Pe){var Le=document.createEvent("MouseEvents");Le.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),et.dispatchEvent(Le)}}var n,i,r=v.saveAs||((typeof window=="undefined"?"undefined":b()(window))!=="object"||window!==v?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(et,Le,Pe){var je=v.URL||v.webkitURL,Je=document.createElement("a");Le=Le||et.name||"download",Je.download=Le,Je.rel="noopener",typeof et=="string"?(Je.href=et,Je.origin!==location.origin?o(Je.href)?u(et,Le,Pe):e(Je,Je.target="_blank"):e(Je)):(Je.href=je.createObjectURL(et),setTimeout(function(){je.revokeObjectURL(Je.href)},4e4),setTimeout(function(){e(Je)},0))}:"msSaveOrOpenBlob"in navigator?function(et,Le,Pe){if(Le=Le||et.name||"download",typeof et=="string")if(o(et))u(et,Le,Pe);else{var je=document.createElement("a");je.href=et,je.target="_blank",setTimeout(function(){e(je)})}else navigator.msSaveOrOpenBlob(function(Je,Ve){return Ve===void 0?Ve={autoBom:!1}:b()(Ve)!=="object"&&(l.warn("Deprecated: Expected third argument to be a object"),Ve={autoBom:!Ve}),Ve.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Je.type)?new Blob([String.fromCharCode(65279),Je],{type:Je.type}):Je}(et,Pe),Le)}:function(et,Le,Pe,je){if((je=je||open("","_blank"))&&(je.document.title=je.document.body.innerText="downloading..."),typeof et=="string")return u(et,Le,Pe);var Je=et.type==="application/octet-stream",Ve=/constructor/i.test(v.HTMLElement)||v.safari,Ze=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ze||Je&&Ve)&&(typeof FileReader=="undefined"?"undefined":b()(FileReader))==="object"){var At=new FileReader;At.onloadend=function(){var $t=At.result;$t=Ze?$t:$t.replace(/^data:[^;]*;/,"data:attachment/file;"),je?je.location.href=$t:location=$t,je=null},At.readAsDataURL(et)}else{var dt=v.URL||v.webkitURL,Kt=dt.createObjectURL(et);je?je.location=Kt:location.href=Kt,je=null,setTimeout(function(){dt.revokeObjectURL(Kt)},4e4)}});/**
* A class to parse color values
* @author Stoyan Stefanov <sstoo@gmail.com>
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
* @license Use it if you like it
*/function s(et){var Le;et=et||"",this.ok=!1,et.charAt(0)=="#"&&(et=et.substr(1,6)),et={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"}[et=(et=et.replace(/ /g,"")).toLowerCase()]||et;for(var Pe=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(dt){return[parseInt(dt[1]),parseInt(dt[2]),parseInt(dt[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(dt){return[parseInt(dt[1],16),parseInt(dt[2],16),parseInt(dt[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(dt){return[parseInt(dt[1]+dt[1],16),parseInt(dt[2]+dt[2],16),parseInt(dt[3]+dt[3],16)]}}],je=0;je<Pe.length;je++){var Je=Pe[je].re,Ve=Pe[je].process,Ze=Je.exec(et);Ze&&(Le=Ve(Ze),this.r=Le[0],this.g=Le[1],this.b=Le[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 At=this.r.toString(16),dt=this.g.toString(16),Kt=this.b.toString(16);return At.length==1&&(At="0"+At),dt.length==1&&(dt="0"+dt),Kt.length==1&&(Kt="0"+Kt),"#"+At+dt+Kt}}/**
* @license
* Joseph Myers does not specify a particular license for his work.
*
* Author: Joseph Myers
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
*
* Modified by: Owen Leong
*/function t(et,Le){var Pe=et[0],je=et[1],Je=et[2],Ve=et[3];Pe=c(Pe,je,Je,Ve,Le[0],7,-680876936),Ve=c(Ve,Pe,je,Je,Le[1],12,-389564586),Je=c(Je,Ve,Pe,je,Le[2],17,606105819),je=c(je,Je,Ve,Pe,Le[3],22,-1044525330),Pe=c(Pe,je,Je,Ve,Le[4],7,-176418897),Ve=c(Ve,Pe,je,Je,Le[5],12,1200080426),Je=c(Je,Ve,Pe,je,Le[6],17,-1473231341),je=c(je,Je,Ve,Pe,Le[7],22,-45705983),Pe=c(Pe,je,Je,Ve,Le[8],7,1770035416),Ve=c(Ve,Pe,je,Je,Le[9],12,-1958414417),Je=c(Je,Ve,Pe,je,Le[10],17,-42063),je=c(je,Je,Ve,Pe,Le[11],22,-1990404162),Pe=c(Pe,je,Je,Ve,Le[12],7,1804603682),Ve=c(Ve,Pe,je,Je,Le[13],12,-40341101),Je=c(Je,Ve,Pe,je,Le[14],17,-1502002290),Pe=h(Pe,je=c(je,Je,Ve,Pe,Le[15],22,1236535329),Je,Ve,Le[1],5,-165796510),Ve=h(Ve,Pe,je,Je,Le[6],9,-1069501632),Je=h(Je,Ve,Pe,je,Le[11],14,643717713),je=h(je,Je,Ve,Pe,Le[0],20,-373897302),Pe=h(Pe,je,Je,Ve,Le[5],5,-701558691),Ve=h(Ve,Pe,je,Je,Le[10],9,38016083),Je=h(Je,Ve,Pe,je,Le[15],14,-660478335),je=h(je,Je,Ve,Pe,Le[4],20,-405537848),Pe=h(Pe,je,Je,Ve,Le[9],5,568446438),Ve=h(Ve,Pe,je,Je,Le[14],9,-1019803690),Je=h(Je,Ve,Pe,je,Le[3],14,-187363961),je=h(je,Je,Ve,Pe,Le[8],20,1163531501),Pe=h(Pe,je,Je,Ve,Le[13],5,-1444681467),Ve=h(Ve,Pe,je,Je,Le[2],9,-51403784),Je=h(Je,Ve,Pe,je,Le[7],14,1735328473),Pe=p(Pe,je=h(je,Je,Ve,Pe,Le[12],20,-1926607734),Je,Ve,Le[5],4,-378558),Ve=p(Ve,Pe,je,Je,Le[8],11,-2022574463),Je=p(Je,Ve,Pe,je,Le[11],16,1839030562),je=p(je,Je,Ve,Pe,Le[14],23,-35309556),Pe=p(Pe,je,Je,Ve,Le[1],4,-1530992060),Ve=p(Ve,Pe,je,Je,Le[4],11,1272893353),Je=p(Je,Ve,Pe,je,Le[7],16,-155497632),je=p(je,Je,Ve,Pe,Le[10],23,-1094730640),Pe=p(Pe,je,Je,Ve,Le[13],4,681279174),Ve=p(Ve,Pe,je,Je,Le[0],11,-358537222),Je=p(Je,Ve,Pe,je,Le[3],16,-722521979),je=p(je,Je,Ve,Pe,Le[6],23,76029189),Pe=p(Pe,je,Je,Ve,Le[9],4,-640364487),Ve=p(Ve,Pe,je,Je,Le[12],11,-421815835),Je=p(Je,Ve,Pe,je,Le[15],16,530742520),Pe=m(Pe,je=p(je,Je,Ve,Pe,Le[2],23,-995338651),Je,Ve,Le[0],6,-198630844),Ve=m(Ve,Pe,je,Je,Le[7],10,1126891415),Je=m(Je,Ve,Pe,je,Le[14],15,-1416354905),je=m(je,Je,Ve,Pe,Le[5],21,-57434055),Pe=m(Pe,je,Je,Ve,Le[12],6,1700485571),Ve=m(Ve,Pe,je,Je,Le[3],10,-1894986606),Je=m(Je,Ve,Pe,je,Le[10],15,-1051523),je=m(je,Je,Ve,Pe,Le[1],21,-2054922799),Pe=m(Pe,je,Je,Ve,Le[8],6,1873313359),Ve=m(Ve,Pe,je,Je,Le[15],10,-30611744),Je=m(Je,Ve,Pe,je,Le[6],15,-1560198380),je=m(je,Je,Ve,Pe,Le[13],21,1309151649),Pe=m(Pe,je,Je,Ve,Le[4],6,-145523070),Ve=m(Ve,Pe,je,Je,Le[11],10,-1120210379),Je=m(Je,Ve,Pe,je,Le[2],15,718787259),je=m(je,Je,Ve,Pe,Le[9],21,-343485551),et[0]=I(Pe,et[0]),et[1]=I(je,et[1]),et[2]=I(Je,et[2]),et[3]=I(Ve,et[3])}function a(et,Le,Pe,je,Je,Ve){return Le=I(I(Le,et),I(je,Ve)),I(Le<<Je|Le>>>32-Je,Pe)}function c(et,Le,Pe,je,Je,Ve,Ze){return a(Le&Pe|~Le&je,et,Le,Je,Ve,Ze)}function h(et,Le,Pe,je,Je,Ve,Ze){return a(Le&je|Pe&~je,et,Le,Je,Ve,Ze)}function p(et,Le,Pe,je,Je,Ve,Ze){return a(Le^Pe^je,et,Le,Je,Ve,Ze)}function m(et,Le,Pe,je,Je,Ve,Ze){return a(Pe^(Le|~je),et,Le,Je,Ve,Ze)}function S(et){var Le,Pe=et.length,je=[1732584193,-271733879,-1732584194,271733878];for(Le=64;Le<=et.length;Le+=64)t(je,y(et.substring(Le-64,Le)));et=et.substring(Le-64);var Je=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(Le=0;Le<et.length;Le++)Je[Le>>2]|=et.charCodeAt(Le)<<(Le%4<<3);if(Je[Le>>2]|=128<<(Le%4<<3),Le>55)for(t(je,Je),Le=0;Le<16;Le++)Je[Le]=0;return Je[14]=8*Pe,t(je,Je),je}function y(et){var Le,Pe=[];for(Le=0;Le<64;Le+=4)Pe[Le>>2]=et.charCodeAt(Le)+(et.charCodeAt(Le+1)<<8)+(et.charCodeAt(Le+2)<<16)+(et.charCodeAt(Le+3)<<24);return Pe}n=v.atob.bind(v),i=v.btoa.bind(v);var x="0123456789abcdef".split("");function C(et){for(var Le="",Pe=0;Pe<4;Pe++)Le+=x[et>>8*Pe+4&15]+x[et>>8*Pe&15];return Le}function T(et){return String.fromCharCode((255&et)>>0,(65280&et)>>8,(16711680&et)>>16,(4278190080&et)>>24)}function _(et){return S(et).map(T).join("")}var E=function(et){for(var Le=0;Le<et.length;Le++)et[Le]=C(et[Le]);return et.join("")}(S("hello"))!="5d41402abc4b2a76b9719d911017c592";function I(et,Le){if(E){var Pe=(65535&et)+(65535&Le);return(et>>16)+(Le>>16)+(Pe>>16)<<16|65535&Pe}return et+Le&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 L(et,Le){var Pe,je,Je,Ve;if(et!==Pe){for(var Ze=(Je=et,Ve=1+(256/et.length>>0),new Array(Ve+1).join(Je)),At=[],dt=0;dt<256;dt++)At[dt]=dt;var Kt=0;for(dt=0;dt<256;dt++){var $t=At[dt];Kt=(Kt+$t+Ze.charCodeAt(dt))%256,At[dt]=At[Kt],At[Kt]=$t}Pe=et,je=At}else At=je;var er=Le.length,cr=0,Ct=0,Nr="";for(dt=0;dt<er;dt++)Ct=(Ct+($t=At[cr=(cr+1)%256]))%256,At[cr]=At[Ct],At[Ct]=$t,Ze=At[(At[cr]+At[Ct])%256],Nr+=String.fromCharCode(Le.charCodeAt(dt)^Ze);return Nr}/**
* @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 D={print:4,modify:8,copy:16,"annot-forms":32};function F(et,Le,Pe,je){this.v=1,this.r=2;var Je=192;et.forEach(function(At){if(D.perm!==void 0)throw new Error("Invalid permission: "+At);Je+=D[At]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var Ve=(Le+this.padding).substr(0,32),Ze=(Pe+this.padding).substr(0,32);this.O=this.processOwnerPassword(Ve,Ze),this.P=-(1+(255^Je)),this.encryptionKey=_(Ve+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(je)).substr(0,5),this.U=L(this.encryptionKey,this.padding)}function N(et){if(/[^\u0000-\u00ff]/.test(et))throw new Error("Invalid PDF Name Object: "+et+", Only accept ASCII characters.");for(var Le="",Pe=et.length,je=0;je<Pe;je++){var Je=et.charCodeAt(je);Je<33||Je===35||Je===37||Je===40||Je===41||Je===47||Je===60||Je===62||Je===91||Je===93||Je===123||Je===125||Je>126?Le+="#"+("0"+Je.toString(16)).slice(-2):Le+=et[je]}return Le}function P(et){if(b()(et)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Le={};this.subscribe=function(Pe,je,Je){if(Je=Je||!1,typeof Pe!="string"||typeof je!="function"||typeof Je!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Le.hasOwnProperty(Pe)||(Le[Pe]={});var Ve=Math.random().toString(35);return Le[Pe][Ve]=[je,!!Je],Ve},this.unsubscribe=function(Pe){for(var je in Le)if(Le[je][Pe])return delete Le[je][Pe],Object.keys(Le[je]).length===0&&delete Le[je],!0;return!1},this.publish=function(Pe){if(Le.hasOwnProperty(Pe)){var je=Array.prototype.slice.call(arguments,1),Je=[];for(var Ve in Le[Pe]){var Ze=Le[Pe][Ve];try{Ze[0].apply(et,je)}catch(At){v.console&&l.error("jsPDF PubSub Error",At.message,At)}Ze[1]&&Je.push(Ve)}Je.length&&Je.forEach(this.unsubscribe)}},this.getTopics=function(){return Le}}function W(et){if(!(this instanceof W))return new W(et);var Le="opacity,stroke-opacity".split(",");for(var Pe in et)et.hasOwnProperty(Pe)&&Le.indexOf(Pe)>=0&&(this[Pe]=et[Pe]);this.id="",this.objectNumber=-1}function R(et,Le){this.gState=et,this.matrix=Le,this.id="",this.objectNumber=-1}function j(et,Le,Pe,je,Je){if(!(this instanceof j))return new j(et,Le,Pe,je,Je);this.type=et==="axial"?2:3,this.coords=Le,this.colors=Pe,R.call(this,je,Je)}function H(et,Le,Pe,je,Je){if(!(this instanceof H))return new H(et,Le,Pe,je,Je);this.boundingBox=et,this.xStep=Le,this.yStep=Pe,this.stream="",this.cloneIndex=0,R.call(this,je,Je)}function K(et){var Le,Pe=typeof arguments[0]=="string"?arguments[0]:"p",je=arguments[1],Je=arguments[2],Ve=arguments[3],Ze=[],At=1,dt=16,Kt="S",$t=null;b()(et=et||{})==="object"&&(Pe=et.orientation,je=et.unit||je,Je=et.format||Je,Ve=et.compress||et.compressPdf||Ve,($t=et.encryption||null)!==null&&($t.userPassword=$t.userPassword||"",$t.ownerPassword=$t.ownerPassword||"",$t.userPermissions=$t.userPermissions||[]),At=typeof et.userUnit=="number"?Math.abs(et.userUnit):1,et.precision!==void 0&&(Le=et.precision),et.floatPrecision!==void 0&&(dt=et.floatPrecision),Kt=et.defaultPathOperation||"S"),Ze=et.filters||(Ve===!0?["FlateEncode"]:Ze),je=je||"mm",Pe=(""+(Pe||"P")).toLowerCase();var er=et.putOnlyUsedFonts||!1,cr={},Ct={internal:{},__private__:{}};Ct.__private__.PubSub=P;var Nr="1.3",Zt=Ct.__private__.getPdfVersion=function(){return Nr};Ct.__private__.setPdfVersion=function(Et){Nr=Et};var Ir={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]};Ct.__private__.getPageFormats=function(){return Ir};var xr=Ct.__private__.getPageFormat=function(Et){return Ir[Et]};Je=Je||"a4";var ur={COMPAT:"compat",ADVANCED:"advanced"},on=ur.COMPAT;function Yn(){this.saveGraphicsState(),pt(new ii(tr,0,0,-tr,0,ks()*tr).toString()+" cm"),this.setFontSize(this.getFontSize()/tr),Kt="n",on=ur.ADVANCED}function Vn(){this.restoreGraphicsState(),Kt="S",on=ur.COMPAT}var Wn=Ct.__private__.combineFontStyleAndFontWeight=function(Et,Lt){if(Et=="bold"&&Lt=="normal"||Et=="bold"&&Lt==400||Et=="normal"&&Lt=="italic"||Et=="bold"&&Lt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Lt&&(Et=Lt==400||Lt==="normal"?Et==="italic"?"italic":"normal":Lt!=700&&Lt!=="bold"||Et!=="normal"?(Lt==700?"bold":Lt)+""+Et:"bold"),Et};Ct.advancedAPI=function(Et){var Lt=on===ur.COMPAT;return Lt&&Yn.call(this),typeof Et!="function"||(Et(this),Lt&&Vn.call(this)),this},Ct.compatAPI=function(Et){var Lt=on===ur.ADVANCED;return Lt&&Vn.call(this),typeof Et!="function"||(Et(this),Lt&&Yn.call(this)),this},Ct.isAdvancedAPI=function(){return on===ur.ADVANCED};var jn,Gn=function(Lt){if(on!==ur.ADVANCED)throw new Error(Lt+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Nn=Ct.roundToPrecision=Ct.__private__.roundToPrecision=function(Et,Lt){var Ur=Le||Lt;if(isNaN(Et)||isNaN(Ur))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Et.toFixed(Ur).replace(/0+$/,"")};jn=Ct.hpf=Ct.__private__.hpf=typeof dt=="number"?function(Et){if(isNaN(Et))throw new Error("Invalid argument passed to jsPDF.hpf");return Nn(Et,dt)}:dt==="smart"?function(Et){if(isNaN(Et))throw new Error("Invalid argument passed to jsPDF.hpf");return Nn(Et,Et>-1&&Et<1?16:5)}:function(Et){if(isNaN(Et))throw new Error("Invalid argument passed to jsPDF.hpf");return Nn(Et,16)};var mi=Ct.f2=Ct.__private__.f2=function(Et){if(isNaN(Et))throw new Error("Invalid argument passed to jsPDF.f2");return Nn(Et,2)},en=Ct.__private__.f3=function(Et){if(isNaN(Et))throw new Error("Invalid argument passed to jsPDF.f3");return Nn(Et,3)},Kr=Ct.scale=Ct.__private__.scale=function(Et){if(isNaN(Et))throw new Error("Invalid argument passed to jsPDF.scale");return on===ur.COMPAT?Et*tr:on===ur.ADVANCED?Et:void 0},dn=function(Lt){return on===ur.COMPAT?ks()-Lt:on===ur.ADVANCED?Lt:void 0},Vr=function(Lt){return Kr(dn(Lt))};Ct.__private__.setPrecision=Ct.setPrecision=function(Et){typeof parseInt(Et,10)=="number"&&(Le=parseInt(Et,10))};var ni,Hn="00000000000000000000000000000000",Kn=Ct.__private__.getFileId=function(){return Hn},bn=Ct.__private__.setFileId=function(Et){return Hn=Et!==void 0&&/^[a-fA-F0-9]{32}$/.test(Et)?Et.toUpperCase():Hn.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),$t!==null&&(Da=new F($t.userPermissions,$t.userPassword,$t.ownerPassword,Hn)),Hn};Ct.setFileId=function(Et){return bn(Et),this},Ct.getFileId=function(){return Kn()};var wi=Ct.__private__.convertDateToPDFDate=function(Et){var Lt=Et.getTimezoneOffset(),Ur=Lt<0?"+":"-",un=Math.floor(Math.abs(Lt/60)),kn=Math.abs(Lt%60),gt=[Ur,sn(un),"'",sn(kn),"'"].join("");return["D:",Et.getFullYear(),sn(Et.getMonth()+1),sn(Et.getDate()),sn(Et.getHours()),sn(Et.getMinutes()),sn(Et.getSeconds()),gt].join("")},si=Ct.__private__.convertPDFDateToDate=function(Et){var Lt=parseInt(Et.substr(2,4),10),Ur=parseInt(Et.substr(6,2),10)-1,un=parseInt(Et.substr(8,2),10),kn=parseInt(Et.substr(10,2),10),gt=parseInt(Et.substr(12,2),10),ce=parseInt(Et.substr(14,2),10);return new Date(Lt,Ur,un,kn,gt,ce,0)},Oi=Ct.__private__.setCreationDate=function(Et){var Lt;if(Et===void 0&&(Et=new Date),Et instanceof Date)Lt=wi(Et);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(Et))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Lt=Et}return ni=Lt},qr=Ct.__private__.getCreationDate=function(Et){var Lt=ni;return Et==="jsDate"&&(Lt=si(ni)),Lt};Ct.setCreationDate=function(Et){return Oi(Et),this},Ct.getCreationDate=function(Et){return qr(Et)};var Sr,sn=Ct.__private__.padd2=function(Et){return("0"+parseInt(Et)).slice(-2)},yn=Ct.__private__.padd2Hex=function(Et){return("00"+(Et=Et.toString())).substr(Et.length)},On=0,Pn=[],ti=[],ai=0,qn=[],xi=[],Pi=!1,ki=ti,ja=function(){On=0,ai=0,ti=[],Pn=[],qn=[],La=Zi(),fa=Zi()};Ct.__private__.setCustomOutputDestination=function(Et){Pi=!0,ki=Et};var ri=function(Lt){Pi||(ki=Lt)};Ct.__private__.resetCustomOutputDestination=function(){Pi=!1,ki=ti};var pt=Ct.__private__.out=function(Et){return Et=Et.toString(),ai+=Et.length+1,ki.push(Et),ki},gr=Ct.__private__.write=function(Et){return pt(arguments.length===1?Et.toString():Array.prototype.join.call(arguments," "))},_r=Ct.__private__.getArrayBuffer=function(Et){for(var Lt=Et.length,Ur=new ArrayBuffer(Lt),un=new Uint8Array(Ur);Lt--;)un[Lt]=Et.charCodeAt(Lt);return Ur},Dr=[["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]];Ct.__private__.getStandardFonts=function(){return Dr};var tn=et.fontSize||16;Ct.__private__.setFontSize=Ct.setFontSize=function(Et){return tn=on===ur.ADVANCED?Et/tr:Et,this};var Br,wn=Ct.__private__.getFontSize=Ct.getFontSize=function(){return on===ur.COMPAT?tn:tn*tr},mn=et.R2L||!1;Ct.__private__.setR2L=Ct.setR2L=function(Et){return mn=Et,this},Ct.__private__.getR2L=Ct.getR2L=function(){return mn};var _n,hi=Ct.__private__.setZoomMode=function(Et){var Lt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*%$/.test(Et))Br=Et;else if(isNaN(Et)){if(Lt.indexOf(Et)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Et+'" is not recognized.');Br=Et}else Br=parseInt(Et,10)};Ct.__private__.getZoomMode=function(){return Br};var li,Zn=Ct.__private__.setPageMode=function(Et){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Et)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Et+'" is not recognized.');_n=Et};Ct.__private__.getPageMode=function(){return _n};var $e=Ct.__private__.setLayoutMode=function(Et){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Et)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Et+'" is not recognized.');li=Et};Ct.__private__.getLayoutMode=function(){return li},Ct.__private__.setDisplayMode=Ct.setDisplayMode=function(Et,Lt,Ur){return hi(Et),$e(Lt),Zn(Ur),this};var kt={title:"",subject:"",author:"",keywords:"",creator:""};Ct.__private__.getDocumentProperty=function(Et){if(Object.keys(kt).indexOf(Et)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return kt[Et]},Ct.__private__.getDocumentProperties=function(){return kt},Ct.__private__.setDocumentProperties=Ct.setProperties=Ct.setDocumentProperties=function(Et){for(var Lt in kt)kt.hasOwnProperty(Lt)&&Et[Lt]&&(kt[Lt]=Et[Lt]);return this},Ct.__private__.setDocumentProperty=function(Et,Lt){if(Object.keys(kt).indexOf(Et)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return kt[Et]=Lt};var or,tr,Or,wr,Xr,Qr={},cn={},Ln=[],Cn={},Bn={},nn={},Dn={},hn=null,An=0,xn=[],Rn=new P(Ct),ui=et.hotfixes||[],gi={},Fi={},di=[],ii=function Et(Lt,Ur,un,kn,gt,ce){if(!(this instanceof Et))return new Et(Lt,Ur,un,kn,gt,ce);isNaN(Lt)&&(Lt=1),isNaN(Ur)&&(Ur=0),isNaN(un)&&(un=0),isNaN(kn)&&(kn=1),isNaN(gt)&&(gt=0),isNaN(ce)&&(ce=0),this._matrix=[Lt,Ur,un,kn,gt,ce]};Object.defineProperty(ii.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Lt){this._matrix[0]=Lt}}),Object.defineProperty(ii.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Lt){this._matrix[1]=Lt}}),Object.defineProperty(ii.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Lt){this._matrix[2]=Lt}}),Object.defineProperty(ii.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Lt){this._matrix[3]=Lt}}),Object.defineProperty(ii.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Lt){this._matrix[4]=Lt}}),Object.defineProperty(ii.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Lt){this._matrix[5]=Lt}}),Object.defineProperty(ii.prototype,"a",{get:function(){return this._matrix[0]},set:function(Lt){this._matrix[0]=Lt}}),Object.defineProperty(ii.prototype,"b",{get:function(){return this._matrix[1]},set:function(Lt){this._matrix[1]=Lt}}),Object.defineProperty(ii.prototype,"c",{get:function(){return this._matrix[2]},set:function(Lt){this._matrix[2]=Lt}}),Object.defineProperty(ii.prototype,"d",{get:function(){return this._matrix[3]},set:function(Lt){this._matrix[3]=Lt}}),Object.defineProperty(ii.prototype,"e",{get:function(){return this._matrix[4]},set:function(Lt){this._matrix[4]=Lt}}),Object.defineProperty(ii.prototype,"f",{get:function(){return this._matrix[5]},set:function(Lt){this._matrix[5]=Lt}}),Object.defineProperty(ii.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(ii.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(ii.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(ii.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),ii.prototype.join=function(Et){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(jn).join(Et)},ii.prototype.multiply=function(Et){var Lt=Et.sx*this.sx+Et.shy*this.shx,Ur=Et.sx*this.shy+Et.shy*this.sy,un=Et.shx*this.sx+Et.sy*this.shx,kn=Et.shx*this.shy+Et.sy*this.sy,gt=Et.tx*this.sx+Et.ty*this.shx+this.tx,ce=Et.tx*this.shy+Et.ty*this.sy+this.ty;return new ii(Lt,Ur,un,kn,gt,ce)},ii.prototype.decompose=function(){var Et=this.sx,Lt=this.shy,Ur=this.shx,un=this.sy,kn=this.tx,gt=this.ty,ce=Math.sqrt(Et*Et+Lt*Lt),ve=(Et/=ce)*Ur+(Lt/=ce)*un;Ur-=Et*ve,un-=Lt*ve;var Ie=Math.sqrt(Ur*Ur+un*un);return ve/=Ie,Et*(un/=Ie)<Lt*(Ur/=Ie)&&(Et=-Et,Lt=-Lt,ve=-ve,ce=-ce),{scale:new ii(ce,0,0,Ie,0,0),translate:new ii(1,0,0,1,kn,gt),rotate:new ii(Et,Lt,-Lt,Et,0,0),skew:new ii(1,0,ve,1,0,0)}},ii.prototype.toString=function(Et){return this.join(" ")},ii.prototype.inversed=function(){var Et=this.sx,Lt=this.shy,Ur=this.shx,un=this.sy,kn=this.tx,gt=this.ty,ce=1/(Et*un-Lt*Ur),ve=un*ce,Ie=-Lt*ce,Ke=-Ur*ce,mt=Et*ce;return new ii(ve,Ie,Ke,mt,-ve*kn-Ke*gt,-Ie*kn-mt*gt)},ii.prototype.applyToPoint=function(Et){var Lt=Et.x*this.sx+Et.y*this.shx+this.tx,Ur=Et.x*this.shy+Et.y*this.sy+this.ty;return new Es(Lt,Ur)},ii.prototype.applyToRectangle=function(Et){var Lt=this.applyToPoint(Et),Ur=this.applyToPoint(new Es(Et.x+Et.w,Et.y+Et.h));return new vs(Lt.x,Lt.y,Ur.x-Lt.x,Ur.y-Lt.y)},ii.prototype.clone=function(){var Et=this.sx,Lt=this.shy,Ur=this.shx,un=this.sy,kn=this.tx,gt=this.ty;return new ii(Et,Lt,Ur,un,kn,gt)},Ct.Matrix=ii;var Yi=Ct.matrixMult=function(Et,Lt){return Lt.multiply(Et)},_i=new ii(1,0,0,1,0,0);Ct.unitMatrix=Ct.identityMatrix=_i;var Mi=function(Lt,Ur){if(!Bn[Lt]){var un=(Ur instanceof j?"Sh":"P")+(Object.keys(Cn).length+1).toString(10);Ur.id=un,Bn[Lt]=un,Cn[un]=Ur,Rn.publish("addPattern",Ur)}};Ct.ShadingPattern=j,Ct.TilingPattern=H,Ct.addShadingPattern=function(Et,Lt){return Gn("addShadingPattern()"),Mi(Et,Lt),this},Ct.beginTilingPattern=function(Et){Gn("beginTilingPattern()"),_s(Et.boundingBox[0],Et.boundingBox[1],Et.boundingBox[2]-Et.boundingBox[0],Et.boundingBox[3]-Et.boundingBox[1],Et.matrix)},Ct.endTilingPattern=function(Et,Lt){Gn("endTilingPattern()"),Lt.stream=xi[Sr].join(`
`),Mi(Et,Lt),Rn.publish("endTilingPattern",Lt),di.pop().restore()};var Bi=Ct.__private__.newObject=function(){var Et=Zi();return da(Et,!0),Et},Zi=Ct.__private__.newObjectDeferred=function(){return On++,Pn[On]=function(){return ai},On},da=function(Lt,Ur){return Ur=typeof Ur=="boolean"&&Ur,Pn[Lt]=ai,Ur&&pt(Lt+" 0 obj"),Lt},Ma=Ct.__private__.newAdditionalObject=function(){var Et={objId:Zi(),content:""};return qn.push(Et),Et},La=Zi(),fa=Zi(),xa=Ct.__private__.decodeColorString=function(Et){var Lt=Et.split(" ");if(Lt.length!==2||Lt[1]!=="g"&&Lt[1]!=="G")Lt.length===5&&(Lt[4]==="k"||Lt[4]==="K")&&(Lt=[(1-Lt[0])*(1-Lt[3]),(1-Lt[1])*(1-Lt[3]),(1-Lt[2])*(1-Lt[3]),"r"]);else{var Ur=parseFloat(Lt[0]);Lt=[Ur,Ur,Ur,"r"]}for(var un="#",kn=0;kn<3;kn++)un+=("0"+Math.floor(255*parseFloat(Lt[kn])).toString(16)).slice(-2);return un},ea=Ct.__private__.encodeColorString=function(Et){var Lt;typeof Et=="string"&&(Et={ch1:Et});var Ur=Et.ch1,un=Et.ch2,kn=Et.ch3,gt=Et.ch4,ce=Et.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Ur=="string"&&Ur.charAt(0)!=="#"){var ve=new s(Ur);if(ve.ok)Ur=ve.toHex();else if(!/^\d*\.?\d*$/.test(Ur))throw new Error('Invalid color "'+Ur+'" passed to jsPDF.encodeColorString.')}if(typeof Ur=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Ur)&&(Ur="#"+Ur[1]+Ur[1]+Ur[2]+Ur[2]+Ur[3]+Ur[3]),typeof Ur=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Ur)){var Ie=parseInt(Ur.substr(1),16);Ur=Ie>>16&255,un=Ie>>8&255,kn=255&Ie}if(un===void 0||gt===void 0&&Ur===un&&un===kn)if(typeof Ur=="string")Lt=Ur+" "+ce[0];else switch(Et.precision){case 2:Lt=mi(Ur/255)+" "+ce[0];break;case 3:default:Lt=en(Ur/255)+" "+ce[0]}else if(gt===void 0||b()(gt)==="object"){if(gt&&!isNaN(gt.a)&&gt.a===0)return Lt=["1.","1.","1.",ce[1]].join(" ");if(typeof Ur=="string")Lt=[Ur,un,kn,ce[1]].join(" ");else switch(Et.precision){case 2:Lt=[mi(Ur/255),mi(un/255),mi(kn/255),ce[1]].join(" ");break;default:case 3:Lt=[en(Ur/255),en(un/255),en(kn/255),ce[1]].join(" ")}}else if(typeof Ur=="string")Lt=[Ur,un,kn,gt,ce[2]].join(" ");else switch(Et.precision){case 2:Lt=[mi(Ur),mi(un),mi(kn),mi(gt),ce[2]].join(" ");break;case 3:default:Lt=[en(Ur),en(un),en(kn),en(gt),ce[2]].join(" ")}return Lt},ya=Ct.__private__.getFilters=function(){return Ze},sa=Ct.__private__.putStream=function(Et){var Lt=(Et=Et||{}).data||"",Ur=Et.filters||ya(),un=Et.alreadyAppliedFilters||[],kn=Et.addLength1||!1,gt=Lt.length,ce=Et.objectId,ve=function(En){return En};if($t!==null&&ce===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");$t!==null&&(ve=Da.encryptor(ce,0));var Ie={};Ur===!0&&(Ur=["FlateEncode"]);var Ke=Et.additionalKeyValues||[],mt=(Ie=K.API.processDataByFilters!==void 0?K.API.processDataByFilters(Lt,Ur):{data:Lt,reverseChain:[]}).reverseChain+(Array.isArray(un)?un.join(" "):un.toString());if(Ie.data.length!==0&&(Ke.push({key:"Length",value:Ie.data.length}),kn===!0&&Ke.push({key:"Length1",value:gt})),mt.length!=0)if(mt.split("/").length-1==1)Ke.push({key:"Filter",value:mt});else{Ke.push({key:"Filter",value:"["+mt+"]"});for(var Pt=0;Pt<Ke.length;Pt+=1)if(Ke[Pt].key==="DecodeParms"){for(var lr=[],yr=0;yr<Ie.reverseChain.split("/").length-1;yr+=1)lr.push("null");lr.push(Ke[Pt].value),Ke[Pt].value="["+lr.join(" ")+"]"}}pt("<<");for(var kr=0;kr<Ke.length;kr++)pt("/"+Ke[kr].key+" "+Ke[kr].value);pt(">>"),Ie.data.length!==0&&(pt("stream"),pt(ve(Ie.data)),pt("endstream"))},Fa=Ct.__private__.putPage=function(Et){var Lt=Et.number,Ur=Et.data,un=Et.objId,kn=Et.contentsObjId;da(un,!0),pt("<</Type /Page"),pt("/Parent "+Et.rootDictionaryObjId+" 0 R"),pt("/Resources "+Et.resourceDictionaryObjId+" 0 R"),pt("/MediaBox ["+parseFloat(jn(Et.mediaBox.bottomLeftX))+" "+parseFloat(jn(Et.mediaBox.bottomLeftY))+" "+jn(Et.mediaBox.topRightX)+" "+jn(Et.mediaBox.topRightY)+"]"),Et.cropBox!==null&&pt("/CropBox ["+jn(Et.cropBox.bottomLeftX)+" "+jn(Et.cropBox.bottomLeftY)+" "+jn(Et.cropBox.topRightX)+" "+jn(Et.cropBox.topRightY)+"]"),Et.bleedBox!==null&&pt("/BleedBox ["+jn(Et.bleedBox.bottomLeftX)+" "+jn(Et.bleedBox.bottomLeftY)+" "+jn(Et.bleedBox.topRightX)+" "+jn(Et.bleedBox.topRightY)+"]"),Et.trimBox!==null&&pt("/TrimBox ["+jn(Et.trimBox.bottomLeftX)+" "+jn(Et.trimBox.bottomLeftY)+" "+jn(Et.trimBox.topRightX)+" "+jn(Et.trimBox.topRightY)+"]"),Et.artBox!==null&&pt("/ArtBox ["+jn(Et.artBox.bottomLeftX)+" "+jn(Et.artBox.bottomLeftY)+" "+jn(Et.artBox.topRightX)+" "+jn(Et.artBox.topRightY)+"]"),typeof Et.userUnit=="number"&&Et.userUnit!==1&&pt("/UserUnit "+Et.userUnit),Rn.publish("putPage",{objId:un,pageContext:xn[Lt],pageNumber:Lt,page:Ur}),pt("/Contents "+kn+" 0 R"),pt(">>"),pt("endobj");var gt=Ur.join(`
`);return on===ur.ADVANCED&&(gt+=`
Q`),da(kn,!0),sa({data:gt,filters:ya(),objectId:kn}),pt("endobj"),un},uo=Ct.__private__.putPages=function(){var Et,Lt,Ur=[];for(Et=1;Et<=An;Et++)xn[Et].objId=Zi(),xn[Et].contentsObjId=Zi();for(Et=1;Et<=An;Et++)Ur.push(Fa({number:Et,data:xi[Et],objId:xn[Et].objId,contentsObjId:xn[Et].contentsObjId,mediaBox:xn[Et].mediaBox,cropBox:xn[Et].cropBox,bleedBox:xn[Et].bleedBox,trimBox:xn[Et].trimBox,artBox:xn[Et].artBox,userUnit:xn[Et].userUnit,rootDictionaryObjId:La,resourceDictionaryObjId:fa}));da(La,!0),pt("<</Type /Pages");var un="/Kids [";for(Lt=0;Lt<An;Lt++)un+=Ur[Lt]+" 0 R ";pt(un+"]"),pt("/Count "+An),pt(">>"),pt("endobj"),Rn.publish("postPutPages")},za=function(Lt){Rn.publish("putFont",{font:Lt,out:pt,newObject:Bi,putStream:sa}),Lt.isAlreadyPutted!==!0&&(Lt.objectNumber=Bi(),pt("<<"),pt("/Type /Font"),pt("/BaseFont /"+N(Lt.postScriptName)),pt("/Subtype /Type1"),typeof Lt.encoding=="string"&&pt("/Encoding /"+Lt.encoding),pt("/FirstChar 32"),pt("/LastChar 255"),pt(">>"),pt("endobj"))},Ya=function(){for(var Lt in Qr)Qr.hasOwnProperty(Lt)&&(er===!1||er===!0&&cr.hasOwnProperty(Lt))&&za(Qr[Lt])},lo=function(Lt){Lt.objectNumber=Bi();var Ur=[];Ur.push({key:"Type",value:"/XObject"}),Ur.push({key:"Subtype",value:"/Form"}),Ur.push({key:"BBox",value:"["+[jn(Lt.x),jn(Lt.y),jn(Lt.x+Lt.width),jn(Lt.y+Lt.height)].join(" ")+"]"}),Ur.push({key:"Matrix",value:"["+Lt.matrix.toString()+"]"});var un=Lt.pages[1].join(`
`);sa({data:un,additionalKeyValues:Ur,objectId:Lt.objectNumber}),pt("endobj")},ta=function(){for(var Lt in gi)gi.hasOwnProperty(Lt)&&lo(gi[Lt])},Xi=function(Lt,Ur){var un,kn=[],gt=1/(Ur-1);for(un=0;un<1;un+=gt)kn.push(un);if(kn.push(1),Lt[0].offset!=0){var ce={offset:0,color:Lt[0].color};Lt.unshift(ce)}if(Lt[Lt.length-1].offset!=1){var ve={offset:1,color:Lt[Lt.length-1].color};Lt.push(ve)}for(var Ie="",Ke=0,mt=0;mt<kn.length;mt++){for(un=kn[mt];un>Lt[Ke+1].offset;)Ke++;var Pt=Lt[Ke].offset,lr=(un-Pt)/(Lt[Ke+1].offset-Pt),yr=Lt[Ke].color,kr=Lt[Ke+1].color;Ie+=yn(Math.round((1-lr)*yr[0]+lr*kr[0]).toString(16))+yn(Math.round((1-lr)*yr[1]+lr*kr[1]).toString(16))+yn(Math.round((1-lr)*yr[2]+lr*kr[2]).toString(16))}return Ie.trim()},Gi=function(Lt,Ur){Ur||(Ur=21);var un=Bi(),kn=Xi(Lt.colors,Ur),gt=[];gt.push({key:"FunctionType",value:"0"}),gt.push({key:"Domain",value:"[0.0 1.0]"}),gt.push({key:"Size",value:"["+Ur+"]"}),gt.push({key:"BitsPerSample",value:"8"}),gt.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),gt.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),sa({data:kn,additionalKeyValues:gt,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:un}),pt("endobj"),Lt.objectNumber=Bi(),pt("<< /ShadingType "+Lt.type),pt("/ColorSpace /DeviceRGB");var ce="/Coords ["+jn(parseFloat(Lt.coords[0]))+" "+jn(parseFloat(Lt.coords[1]))+" ";Lt.type===2?ce+=jn(parseFloat(Lt.coords[2]))+" "+jn(parseFloat(Lt.coords[3])):ce+=jn(parseFloat(Lt.coords[2]))+" "+jn(parseFloat(Lt.coords[3]))+" "+jn(parseFloat(Lt.coords[4]))+" "+jn(parseFloat(Lt.coords[5])),pt(ce+="]"),Lt.matrix&&pt("/Matrix ["+Lt.matrix.toString()+"]"),pt("/Function "+un+" 0 R"),pt("/Extend [true true]"),pt(">>"),pt("endobj")},Ta=function(Lt,Ur){var un=Zi(),kn=Bi();Ur.push({resourcesOid:un,objectOid:kn}),Lt.objectNumber=kn;var gt=[];gt.push({key:"Type",value:"/Pattern"}),gt.push({key:"PatternType",value:"1"}),gt.push({key:"PaintType",value:"1"}),gt.push({key:"TilingType",value:"1"}),gt.push({key:"BBox",value:"["+Lt.boundingBox.map(jn).join(" ")+"]"}),gt.push({key:"XStep",value:jn(Lt.xStep)}),gt.push({key:"YStep",value:jn(Lt.yStep)}),gt.push({key:"Resources",value:un+" 0 R"}),Lt.matrix&&gt.push({key:"Matrix",value:"["+Lt.matrix.toString()+"]"}),sa({data:Lt.stream,additionalKeyValues:gt,objectId:Lt.objectNumber}),pt("endobj")},ka=function(Lt){var Ur;for(Ur in Cn)Cn.hasOwnProperty(Ur)&&(Cn[Ur]instanceof j?Gi(Cn[Ur]):Cn[Ur]instanceof H&&Ta(Cn[Ur],Lt))},ha=function(Lt){for(var Ur in Lt.objectNumber=Bi(),pt("<<"),Lt)switch(Ur){case"opacity":pt("/ca "+mi(Lt[Ur]));break;case"stroke-opacity":pt("/CA "+mi(Lt[Ur]))}pt(">>"),pt("endobj")},Ua=function(){var Lt;for(Lt in nn)nn.hasOwnProperty(Lt)&&ha(nn[Lt])},ao=function(){for(var Lt in pt("/XObject <<"),gi)gi.hasOwnProperty(Lt)&&gi[Lt].objectNumber>=0&&pt("/"+Lt+" "+gi[Lt].objectNumber+" 0 R");Rn.publish("putXobjectDict"),pt(">>")},Ao=function(){Da.oid=Bi(),pt("<<"),pt("/Filter /Standard"),pt("/V "+Da.v),pt("/R "+Da.r),pt("/U <"+Da.toHexString(Da.U)+">"),pt("/O <"+Da.toHexString(Da.O)+">"),pt("/P "+Da.P),pt(">>"),pt("endobj")},ho=function(){for(var Lt in pt("/Font <<"),Qr)Qr.hasOwnProperty(Lt)&&(er===!1||er===!0&&cr.hasOwnProperty(Lt))&&pt("/"+Lt+" "+Qr[Lt].objectNumber+" 0 R");pt(">>")},ro=function(){if(Object.keys(Cn).length>0){for(var Lt in pt("/Shading <<"),Cn)Cn.hasOwnProperty(Lt)&&Cn[Lt]instanceof j&&Cn[Lt].objectNumber>=0&&pt("/"+Lt+" "+Cn[Lt].objectNumber+" 0 R");Rn.publish("putShadingPatternDict"),pt(">>")}},qa=function(Lt){if(Object.keys(Cn).length>0){for(var Ur in pt("/Pattern <<"),Cn)Cn.hasOwnProperty(Ur)&&Cn[Ur]instanceof Ct.TilingPattern&&Cn[Ur].objectNumber>=0&&Cn[Ur].objectNumber<Lt&&pt("/"+Ur+" "+Cn[Ur].objectNumber+" 0 R");Rn.publish("putTilingPatternDict"),pt(">>")}},no=function(){if(Object.keys(nn).length>0){var Lt;for(Lt in pt("/ExtGState <<"),nn)nn.hasOwnProperty(Lt)&&nn[Lt].objectNumber>=0&&pt("/"+Lt+" "+nn[Lt].objectNumber+" 0 R");Rn.publish("putGStateDict"),pt(">>")}},Wi=function(Lt){da(Lt.resourcesOid,!0),pt("<<"),pt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ho(),ro(),qa(Lt.objectOid),no(),ao(),pt(">>"),pt("endobj")},Ci=function(){var Lt=[];Ya(),Ua(),ta(),ka(Lt),Rn.publish("putResources"),Lt.forEach(Wi),Wi({resourcesOid:fa,objectOid:Number.MAX_SAFE_INTEGER}),Rn.publish("postPutResources")},Di=function(){Rn.publish("putAdditionalObjects");for(var Lt=0;Lt<qn.length;Lt++){var Ur=qn[Lt];da(Ur.objId,!0),pt(Ur.content),pt("endobj")}Rn.publish("postPutAdditionalObjects")},ma=function(Lt){cn[Lt.fontName]=cn[Lt.fontName]||{},cn[Lt.fontName][Lt.fontStyle]=Lt.id},ga=function(Lt,Ur,un,kn,gt){var ce={id:"F"+(Object.keys(Qr).length+1).toString(10),postScriptName:Lt,fontName:Ur,fontStyle:un,encoding:kn,isStandardFont:gt||!1,metadata:{}};return Rn.publish("addFont",{font:ce,instance:this}),Qr[ce.id]=ce,ma(ce),ce.id},Aa=function(Lt){for(var Ur=0,un=Dr.length;Ur<un;Ur++){var kn=ga.call(this,Lt[Ur][0],Lt[Ur][1],Lt[Ur][2],Dr[Ur][3],!0);er===!1&&(cr[kn]=!0);var gt=Lt[Ur][0].split("-");ma({id:kn,fontName:gt[0],fontStyle:gt[1]||""})}Rn.publish("addFonts",{fonts:Qr,dictionary:cn})},wa=function(Lt){return Lt.foo=function(){try{return Lt.apply(this,arguments)}catch(kn){var Ur=kn.stack||"";~Ur.indexOf(" at ")&&(Ur=Ur.split(" at ")[1]);var un="Error in function "+Ur.split(`
`)[0].split("<")[0]+": "+kn.message;if(!v.console)throw new Error(un);v.console.error(un,kn),v.alert&&alert(un)}},Lt.foo.bar=Lt,Lt.foo},la=function(Lt,Ur){var un,kn,gt,ce,ve,Ie,Ke,mt,Pt;if(gt=(Ur=Ur||{}).sourceEncoding||"Unicode",ve=Ur.outputEncoding,(Ur.autoencode||ve)&&Qr[or].metadata&&Qr[or].metadata[gt]&&Qr[or].metadata[gt].encoding&&(ce=Qr[or].metadata[gt].encoding,!ve&&Qr[or].encoding&&(ve=Qr[or].encoding),!ve&&ce.codePages&&(ve=ce.codePages[0]),typeof ve=="string"&&(ve=ce[ve]),ve)){for(Ke=!1,Ie=[],un=0,kn=Lt.length;un<kn;un++)(mt=ve[Lt.charCodeAt(un)])?Ie.push(String.fromCharCode(mt)):Ie.push(Lt[un]),Ie[un].charCodeAt(0)>>8&&(Ke=!0);Lt=Ie.join("")}for(un=Lt.length;Ke===void 0&&un!==0;)Lt.charCodeAt(un-1)>>8&&(Ke=!0),un--;if(!Ke)return Lt;for(Ie=Ur.noBOM?[]:[254,255],un=0,kn=Lt.length;un<kn;un++){if((Pt=(mt=Lt.charCodeAt(un))>>8)>>8)throw new Error("Character at position "+un+" of string '"+Lt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ie.push(Pt),Ie.push(mt-(Pt<<8))}return String.fromCharCode.apply(void 0,Ie)},Hi=Ct.__private__.pdfEscape=Ct.pdfEscape=function(Et,Lt){return la(Et,Lt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ba=Ct.__private__.beginPage=function(Et){xi[++An]=[],xn[An]={objId:0,contentsObjId:0,userUnit:Number(At),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Et[0]),topRightY:Number(Et[1])}},Na(An),ri(xi[Sr])},Ia=function(Lt,Ur){var un,kn,gt;switch(Pe=Ur||Pe,typeof Lt=="string"&&(un=xr(Lt.toLowerCase()),Array.isArray(un)&&(kn=un[0],gt=un[1])),Array.isArray(Lt)&&(kn=Lt[0]*tr,gt=Lt[1]*tr),isNaN(kn)&&(kn=Je[0],gt=Je[1]),(kn>14400||gt>14400)&&(l.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),kn=Math.min(14400,kn),gt=Math.min(14400,gt)),Je=[kn,gt],Pe.substr(0,1)){case"l":gt>kn&&(Je=[gt,kn]);break;case"p":kn>gt&&(Je=[gt,kn])}Ba(Je),js(el),pt(Po),Qo!==0&&pt(Qo+" J"),Vs!==0&&pt(Vs+" j"),Rn.publish("addPage",{pageNumber:An})},fo=function(Lt){Lt>0&&Lt<=An&&(xi.splice(Lt,1),xn.splice(Lt,1),An--,Sr>An&&(Sr=An),this.setPage(Sr))},Na=function(Lt){Lt>0&&Lt<=An&&(Sr=Lt)},po=Ct.__private__.getNumberOfPages=Ct.getNumberOfPages=function(){return xi.length-1},vo=function(Lt,Ur,un){var kn,gt=void 0;return un=un||{},Lt=Lt!==void 0?Lt:Qr[or].fontName,Ur=Ur!==void 0?Ur:Qr[or].fontStyle,kn=Lt.toLowerCase(),cn[kn]!==void 0&&cn[kn][Ur]!==void 0?gt=cn[kn][Ur]:cn[Lt]!==void 0&&cn[Lt][Ur]!==void 0?gt=cn[Lt][Ur]:un.disableWarning===!1&&l.warn("Unable to look up font label for font '"+Lt+"', '"+Ur+"'. Refer to getFontList() for available fonts."),gt||un.noFallback||(gt=cn.times[Ur])==null&&(gt=cn.times.normal),gt},Ko=Ct.__private__.putInfo=function(){var Et=Bi(),Lt=function(kn){return kn};for(var Ur in $t!==null&&(Lt=Da.encryptor(Et,0)),pt("<<"),pt("/Producer ("+Hi(Lt("jsPDF "+K.version))+")"),kt)kt.hasOwnProperty(Ur)&&kt[Ur]&&pt("/"+Ur.substr(0,1).toUpperCase()+Ur.substr(1)+" ("+Hi(Lt(kt[Ur]))+")");pt("/CreationDate ("+Hi(Lt(ni))+")"),pt(">>"),pt("endobj")},zo=Ct.__private__.putCatalog=function(Et){var Lt=(Et=Et||{}).rootDictionaryObjId||La;switch(Bi(),pt("<<"),pt("/Type /Catalog"),pt("/Pages "+Lt+" 0 R"),Br||(Br="fullwidth"),Br){case"fullwidth":pt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":pt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":pt("/OpenAction [3 0 R /Fit]");break;case"original":pt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Ur=""+Br;Ur.substr(Ur.length-1)==="%"&&(Br=parseInt(Br)/100),typeof Br=="number"&&pt("/OpenAction [3 0 R /XYZ null null "+mi(Br)+"]")}switch(li||(li="continuous"),li){case"continuous":pt("/PageLayout /OneColumn");break;case"single":pt("/PageLayout /SinglePage");break;case"two":case"twoleft":pt("/PageLayout /TwoColumnLeft");break;case"tworight":pt("/PageLayout /TwoColumnRight")}_n&&pt("/PageMode /"+_n),Rn.publish("putCatalog"),pt(">>"),pt("endobj")},yo=Ct.__private__.putTrailer=function(){pt("trailer"),pt("<<"),pt("/Size "+(On+1)),pt("/Root "+On+" 0 R"),pt("/Info "+(On-1)+" 0 R"),$t!==null&&pt("/Encrypt "+Da.oid+" 0 R"),pt("/ID [ <"+Hn+"> <"+Hn+"> ]"),pt(">>")},ra=Ct.__private__.putHeader=function(){pt("%PDF-"+Nr),pt("%\xBA\xDF\xAC\xE0")},oo=Ct.__private__.putXRef=function(){var Et="0000000000";pt("xref"),pt("0 "+(On+1)),pt("0000000000 65535 f ");for(var Lt=1;Lt<=On;Lt++)typeof Pn[Lt]=="function"?pt((Et+Pn[Lt]()).slice(-10)+" 00000 n "):Pn[Lt]!==void 0?pt((Et+Pn[Lt]).slice(-10)+" 00000 n "):pt("0000000000 00000 n ")},to=Ct.__private__.buildDocument=function(){ja(),ri(ti),Rn.publish("buildDocument"),ra(),uo(),Di(),Ci(),$t!==null&&Ao(),Ko(),zo();var Et=ai;return oo(),yo(),pt("startxref"),pt(""+Et),pt("%%EOF"),ri(xi[Sr]),ti.join(`
`)},Za=Ct.__private__.getBlob=function(Et){return new Blob([_r(Et)],{type:"application/pdf"})},Lo=Ct.output=Ct.__private__.output=wa(function(Et,Lt){switch(typeof(Lt=Lt||{})=="string"?Lt={filename:Lt}:Lt.filename=Lt.filename||"generated.pdf",Et){case void 0:return to();case"save":Ct.save(Lt.filename);break;case"arraybuffer":return _r(to());case"blob":return Za(to());case"bloburi":case"bloburl":if(v.URL!==void 0&&typeof v.URL.createObjectURL=="function")return v.URL&&v.URL.createObjectURL(Za(to()))||void 0;l.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Ur="",un=to();try{Ur=i(un)}catch(Pt){Ur=i(unescape(encodeURIComponent(un)))}return"data:application/pdf;filename="+Lt.filename+";base64,"+Ur;case"pdfobjectnewwindow":if(Object.prototype.toString.call(v)==="[object Window]"){var kn='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(Lt.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"></script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Lt)+");</script></body></html>",gt=v.open();return gt!==null&&gt.document.write(kn),gt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(v)==="[object Window]"){var ce='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Lt.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Lt.filename+'" width="500px" height="400px" /></body></html>',ve=v.open();if(ve!==null){ve.document.write(ce);var Ie=this;ve.document.documentElement.querySelector("#pdfViewer").onload=function(){ve.document.title=Lt.filename,ve.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Ie.output("bloburl"))}}return ve}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 Ke='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Lt)+'"></iframe></body></html>',mt=v.open();if(mt!==null&&(mt.document.write(Ke),mt.document.title=Lt.filename),mt||typeof safari=="undefined")return mt;break;case"datauri":case"dataurl":return v.document.location.href=this.output("datauristring",Lt);default:return null}}),io=function(Lt){return Array.isArray(ui)===!0&&ui.indexOf(Lt)>-1};switch(je){case"pt":tr=1;break;case"mm":tr=72/25.4;break;case"cm":tr=72/2.54;break;case"in":tr=72;break;case"px":tr=io("px_scaling")==1?.75:96/72;break;case"pc":case"em":tr=12;break;case"ex":tr=6;break;default:throw new Error("Invalid unit: "+je)}var Da=null;Oi(),bn();var Co=function(Lt){return $t!==null?Da.encryptor(Lt,0):function(Ur){return Ur}},$o=Ct.__private__.getPageInfo=Ct.getPageInfo=function(Et){if(isNaN(Et)||Et%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:xn[Et].objId,pageNumber:Et,pageContext:xn[Et]}},ns=Ct.__private__.getPageInfoByObjId=function(Et){if(isNaN(Et)||Et%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Lt in xn)if(xn[Lt].objId===Et)break;return $o(Lt)},es=Ct.__private__.getCurrentPageInfo=Ct.getCurrentPageInfo=function(){return{objId:xn[Sr].objId,pageNumber:Sr,pageContext:xn[Sr]}};Ct.addPage=function(){return Ia.apply(this,arguments),this},Ct.setPage=function(){return Na.apply(this,arguments),ri.call(this,xi[Sr]),this},Ct.insertPage=function(Et){return this.addPage(),this.movePage(Sr,Et),this},Ct.movePage=function(Et,Lt){var Ur,un;if(Et>Lt){Ur=xi[Et],un=xn[Et];for(var kn=Et;kn>Lt;kn--)xi[kn]=xi[kn-1],xn[kn]=xn[kn-1];xi[Lt]=Ur,xn[Lt]=un,this.setPage(Lt)}else if(Et<Lt){Ur=xi[Et],un=xn[Et];for(var gt=Et;gt<Lt;gt++)xi[gt]=xi[gt+1],xn[gt]=xn[gt+1];xi[Lt]=Ur,xn[Lt]=un,this.setPage(Lt)}return this},Ct.deletePage=function(){return fo.apply(this,arguments),this},Ct.__private__.text=Ct.text=function(Et,Lt,Ur,un,kn){var gt,ce,ve,Ie,Ke,mt,Pt,lr,yr=(un=un||{}).scope||this;if(typeof Et=="number"&&typeof Lt=="number"&&(typeof Ur=="string"||Array.isArray(Ur))){var kr=Ur;Ur=Lt,Lt=Et,Et=kr}if(arguments[3]instanceof ii==!1?(ve=arguments[4],Ie=arguments[5],b()(Pt=arguments[3])==="object"&&Pt!==null||(typeof ve=="string"&&(Ie=ve,ve=null),typeof Pt=="string"&&(Ie=Pt,Pt=null),typeof Pt=="number"&&(ve=Pt,Pt=null),un={flags:Pt,angle:ve,align:Ie})):(Gn("The transform parameter of text() with a Matrix value"),lr=kn),isNaN(Lt)||isNaN(Ur)||Et==null)throw new Error("Invalid arguments passed to jsPDF.text");if(Et.length===0)return yr;var ln="",En=!1,oi=typeof un.lineHeightFactor=="number"?un.lineHeightFactor:Xo,yi=yr.internal.scaleFactor;function Ti(Sa){return Sa=Sa.split(" ").join(Array(un.TabLen||9).join(" ")),Hi(Sa,Pt)}function ji(Sa){for(var Li,Ji=Sa.concat(),Ea=[],co=Ji.length;co--;)typeof(Li=Ji.shift())=="string"?Ea.push(Li):Array.isArray(Sa)&&(Li.length===1||Li[1]===void 0&&Li[2]===void 0)?Ea.push(Li[0]):Ea.push([Li[0],Li[1],Li[2]]);return Ea}function na(Sa,Li){var Ji;if(typeof Sa=="string")Ji=Li(Sa)[0];else if(Array.isArray(Sa)){for(var Ea,co,Ps=Sa.concat(),ws=[],Ws=Ps.length;Ws--;)typeof(Ea=Ps.shift())=="string"?ws.push(Li(Ea)[0]):Array.isArray(Ea)&&typeof Ea[0]=="string"&&(co=Li(Ea[0],Ea[1],Ea[2]),ws.push([co[0],co[1],co[2]]));Ji=ws}return Ji}var Pa=!1,Va=!0;if(typeof Et=="string")Pa=!0;else if(Array.isArray(Et)){var Qa=Et.concat();ce=[];for(var To,eo=Qa.length;eo--;)(typeof(To=Qa.shift())!="string"||Array.isArray(To)&&typeof To[0]!="string")&&(Va=!1);Pa=Va}if(Pa===!1)throw new Error('Type of text must be string or Array. "'+Et+'" is not recognized.');typeof Et=="string"&&(Et=Et.match(/[\r?\n]/)?Et.split(/\r\n|\r|\n/g):[Et]);var Io=tn/yr.internal.scaleFactor,Ha=Io*(Xo-1);switch(un.baseline){case"bottom":Ur-=Ha;break;case"top":Ur+=Io-Ha;break;case"hanging":Ur+=Io-2*Ha;break;case"middle":Ur+=Io/2-Ha}if((mt=un.maxWidth||0)>0&&(typeof Et=="string"?Et=yr.splitTextToSize(Et,mt):Object.prototype.toString.call(Et)==="[object Array]"&&(Et=Et.reduce(function(Sa,Li){return Sa.concat(yr.splitTextToSize(Li,mt))},[]))),gt={text:Et,x:Lt,y:Ur,options:un,mutex:{pdfEscape:Hi,activeFontKey:or,fonts:Qr,activeFontSize:tn}},Rn.publish("preProcessText",gt),Et=gt.text,ve=(un=gt.options).angle,lr instanceof ii==!1&&ve&&typeof ve=="number"){ve*=Math.PI/180,un.rotationDirection===0&&(ve=-ve),on===ur.ADVANCED&&(ve=-ve);var Oo=Math.cos(ve),is=Math.sin(ve);lr=new ii(Oo,is,-is,Oo,0,0)}else ve&&ve instanceof ii&&(lr=ve);on!==ur.ADVANCED||lr||(lr=_i),(Ke=un.charSpace||Ga)!==void 0&&(ln+=jn(Kr(Ke))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),un.lang;var mo=-1,go=un.renderingMode!==void 0?un.renderingMode:un.stroke,ss=yr.internal.getCurrentPageInfo().pageContext;switch(go){case 0:case!1:case"fill":mo=0;break;case 1:case!0:case"stroke":mo=1;break;case 2:case"fillThenStroke":mo=2;break;case 3:case"invisible":mo=3;break;case 4:case"fillAndAddForClipping":mo=4;break;case 5:case"strokeAndAddPathForClipping":mo=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":mo=6;break;case 7:case"addToPathForClipping":mo=7}var ys=ss.usedRenderingMode!==void 0?ss.usedRenderingMode:-1;mo!==-1?ln+=mo+` Tr
`:ys!==-1&&(ln+=`0 Tr
`),mo!==-1&&(ss.usedRenderingMode=mo),Ie=un.align||"left";var Yo,So=tn*oi,Ks=yr.internal.pageSize.getWidth(),ls=Qr[or];Ke=un.charSpace||Ga,mt=un.maxWidth||0,Pt=Object.assign({autoencode:!0,noBOM:!0},un.flags);var sl=[];if(Object.prototype.toString.call(Et)==="[object Array]"){var ll;ce=ji(Et),Ie!=="left"&&(Yo=ce.map(function(Sa){return yr.getStringUnitWidth(Sa,{font:ls,charSpace:Ke,fontSize:tn,doKerning:!1})*tn/yi}));var bs,Fo=0;if(Ie==="right"){Lt-=Yo[0],Et=[],eo=ce.length;for(var Ui=0;Ui<eo;Ui++)Ui===0?(bs=Bo(Lt),ll=No(Ur)):(bs=Kr(Fo-Yo[Ui]),ll=-So),Et.push([ce[Ui],bs,ll]),Fo=Yo[Ui]}else if(Ie==="center"){Lt-=Yo[0]/2,Et=[],eo=ce.length;for(var zs=0;zs<eo;zs++)zs===0?(bs=Bo(Lt),ll=No(Ur)):(bs=Kr((Fo-Yo[zs])/2),ll=-So),Et.push([ce[zs],bs,ll]),Fo=Yo[zs]}else if(Ie==="left"){Et=[],eo=ce.length;for(var tl=0;tl<eo;tl++)Et.push(ce[tl])}else{if(Ie!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');Et=[],eo=ce.length,mt=mt!==0?mt:Ks;for(var As=0;As<eo;As++)ll=As===0?No(Ur):-So,bs=As===0?Bo(Lt):0,As<eo-1?sl.push(jn(Kr((mt-Yo[As])/(ce[As].split(" ").length-1)))):sl.push(0),Et.push([ce[As],bs,ll])}}var Jo=typeof un.R2L=="boolean"?un.R2L:mn;Jo===!0&&(Et=na(Et,function(Sa,Li,Ji){return[Sa.split("").reverse().join(""),Li,Ji]})),gt={text:Et,x:Lt,y:Ur,options:un,mutex:{pdfEscape:Hi,activeFontKey:or,fonts:Qr,activeFontSize:tn}},Rn.publish("postProcessText",gt),Et=gt.text,En=gt.mutex.isHex||!1;var fl=Qr[or].encoding;fl!=="WinAnsiEncoding"&&fl!=="StandardEncoding"||(Et=na(Et,function(Sa,Li,Ji){return[Ti(Sa),Li,Ji]})),ce=ji(Et),Et=[];for(var rl,Cs,Bs,Ts=0,Is=1,cl=Array.isArray(ce[0])?Is:Ts,Os="",Xs=function(Li,Ji,Ea){var co="";return Ea instanceof ii?(Ea=typeof un.angle=="number"?Yi(Ea,new ii(1,0,0,1,Li,Ji)):Yi(new ii(1,0,0,1,Li,Ji),Ea),on===ur.ADVANCED&&(Ea=Yi(new ii(1,0,0,-1,0,0),Ea)),co=Ea.join(" ")+` Tm
`):co=jn(Li)+" "+jn(Ji)+` Td
`,co},Gs=0;Gs<ce.length;Gs++){switch(Os="",cl){case Is:Bs=(En?"<":"(")+ce[Gs][0]+(En?">":")"),rl=parseFloat(ce[Gs][1]),Cs=parseFloat(ce[Gs][2]);break;case Ts:Bs=(En?"<":"(")+ce[Gs]+(En?">":")"),rl=Bo(Lt),Cs=No(Ur)}sl!==void 0&&sl[Gs]!==void 0&&(Os=sl[Gs]+` Tw
`),Gs===0?Et.push(Os+Xs(rl,Cs,lr)+Bs):cl===Ts?Et.push(Os+Bs):cl===Is&&Et.push(Os+Xs(rl,Cs,lr)+Bs)}Et=cl===Ts?Et.join(` Tj
T* `):Et.join(` Tj
`),Et+=` Tj
`;var Qs=`BT
/`;return Qs+=or+" "+tn+` Tf
`,Qs+=jn(tn*oi)+` TL
`,Qs+=Cr+`
`,Qs+=ln,Qs+=Et,pt(Qs+="ET"),cr[or]=!0,yr};var va=Ct.__private__.clip=Ct.clip=function(Et){return pt(Et==="evenodd"?"W*":"W"),this};Ct.clipEvenOdd=function(){return va("evenodd")},Ct.__private__.discardPath=Ct.discardPath=function(){return pt("n"),this};var pa=Ct.__private__.isValidStyle=function(Et){var Lt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(Et)!==-1&&(Lt=!0),Lt};Ct.__private__.setDefaultPathOperation=Ct.setDefaultPathOperation=function(Et){return pa(Et)&&(Kt=Et),this};var ca=Ct.__private__.getStyle=Ct.getStyle=function(Et){var Lt=Kt;switch(Et){case"D":case"S":Lt="S";break;case"F":Lt="f";break;case"FD":case"DF":Lt="B";break;case"f":case"f*":case"B":case"B*":Lt=Et}return Lt},Ai=Ct.close=function(){return pt("h"),this};Ct.stroke=function(){return pt("S"),this},Ct.fill=function(Et){return ba("f",Et),this},Ct.fillEvenOdd=function(Et){return ba("f*",Et),this},Ct.fillStroke=function(Et){return ba("B",Et),this},Ct.fillStrokeEvenOdd=function(Et){return ba("B*",Et),this};var ba=function(Lt,Ur){b()(Ur)==="object"?Wo(Ur,Lt):pt(Lt)},$a=function(Lt){Lt===null||on===ur.ADVANCED&&Lt===void 0||(Lt=ca(Lt),pt(Lt))};function ms(Et,Lt,Ur,un,kn){var gt=new H(Lt||this.boundingBox,Ur||this.xStep,un||this.yStep,this.gState,kn||this.matrix);gt.stream=this.stream;var ce=Et+"$$"+this.cloneIndex+++"$$";return Mi(ce,gt),gt}var Wo=function(Lt,Ur){var un=Bn[Lt.key],kn=Cn[un];if(kn instanceof j)pt("q"),pt(Rs(Ur)),kn.gState&&Ct.setGState(kn.gState),pt(Lt.matrix.toString()+" cm"),pt("/"+un+" sh"),pt("Q");else if(kn instanceof H){var gt=new ii(1,0,0,-1,0,ks());Lt.matrix&&(gt=gt.multiply(Lt.matrix||_i),un=ms.call(kn,Lt.key,Lt.boundingBox,Lt.xStep,Lt.yStep,gt).id),pt("q"),pt("/Pattern cs"),pt("/"+un+" scn"),kn.gState&&Ct.setGState(kn.gState),pt(Ur),pt("Q")}},Rs=function(Lt){switch(Lt){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"}},Ms=Ct.moveTo=function(Et,Lt){return pt(jn(Kr(Et))+" "+jn(Vr(Lt))+" m"),this},al=Ct.lineTo=function(Et,Lt){return pt(jn(Kr(Et))+" "+jn(Vr(Lt))+" l"),this},gs=Ct.curveTo=function(Et,Lt,Ur,un,kn,gt){return pt([jn(Kr(Et)),jn(Vr(Lt)),jn(Kr(Ur)),jn(Vr(un)),jn(Kr(kn)),jn(Vr(gt)),"c"].join(" ")),this};Ct.__private__.line=Ct.line=function(Et,Lt,Ur,un,kn){if(isNaN(Et)||isNaN(Lt)||isNaN(Ur)||isNaN(un)||!pa(kn))throw new Error("Invalid arguments passed to jsPDF.line");return on===ur.COMPAT?this.lines([[Ur-Et,un-Lt]],Et,Lt,[1,1],kn||"S"):this.lines([[Ur-Et,un-Lt]],Et,Lt,[1,1]).stroke()},Ct.__private__.lines=Ct.lines=function(Et,Lt,Ur,un,kn,gt){var ce,ve,Ie,Ke,mt,Pt,lr,yr,kr,ln,En,oi;if(typeof Et=="number"&&(oi=Ur,Ur=Lt,Lt=Et,Et=oi),un=un||[1,1],gt=gt||!1,isNaN(Lt)||isNaN(Ur)||!Array.isArray(Et)||!Array.isArray(un)||!pa(kn)||typeof gt!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Ms(Lt,Ur),ce=un[0],ve=un[1],Ke=Et.length,ln=Lt,En=Ur,Ie=0;Ie<Ke;Ie++)(mt=Et[Ie]).length===2?(ln=mt[0]*ce+ln,En=mt[1]*ve+En,al(ln,En)):(Pt=mt[0]*ce+ln,lr=mt[1]*ve+En,yr=mt[2]*ce+ln,kr=mt[3]*ve+En,ln=mt[4]*ce+ln,En=mt[5]*ve+En,gs(Pt,lr,yr,kr,ln,En));return gt&&Ai(),$a(kn),this},Ct.path=function(Et){for(var Lt=0;Lt<Et.length;Lt++){var Ur=Et[Lt],un=Ur.c;switch(Ur.op){case"m":Ms(un[0],un[1]);break;case"l":al(un[0],un[1]);break;case"c":gs.apply(this,un);break;case"h":Ai()}}return this},Ct.__private__.rect=Ct.rect=function(Et,Lt,Ur,un,kn){if(isNaN(Et)||isNaN(Lt)||isNaN(Ur)||isNaN(un)||!pa(kn))throw new Error("Invalid arguments passed to jsPDF.rect");return on===ur.COMPAT&&(un=-un),pt([jn(Kr(Et)),jn(Vr(Lt)),jn(Kr(Ur)),jn(Kr(un)),"re"].join(" ")),$a(kn),this},Ct.__private__.triangle=Ct.triangle=function(Et,Lt,Ur,un,kn,gt,ce){if(isNaN(Et)||isNaN(Lt)||isNaN(Ur)||isNaN(un)||isNaN(kn)||isNaN(gt)||!pa(ce))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Ur-Et,un-Lt],[kn-Ur,gt-un],[Et-kn,Lt-gt]],Et,Lt,[1,1],ce,!0),this},Ct.__private__.roundedRect=Ct.roundedRect=function(Et,Lt,Ur,un,kn,gt,ce){if(isNaN(Et)||isNaN(Lt)||isNaN(Ur)||isNaN(un)||isNaN(kn)||isNaN(gt)||!pa(ce))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var ve=4/3*(Math.SQRT2-1);return kn=Math.min(kn,.5*Ur),gt=Math.min(gt,.5*un),this.lines([[Ur-2*kn,0],[kn*ve,0,kn,gt-gt*ve,kn,gt],[0,un-2*gt],[0,gt*ve,-kn*ve,gt,-kn,gt],[2*kn-Ur,0],[-kn*ve,0,-kn,-gt*ve,-kn,-gt],[0,2*gt-un],[0,-gt*ve,kn*ve,-gt,kn,-gt]],Et+kn,Lt,[1,1],ce,!0),this},Ct.__private__.ellipse=Ct.ellipse=function(Et,Lt,Ur,un,kn){if(isNaN(Et)||isNaN(Lt)||isNaN(Ur)||isNaN(un)||!pa(kn))throw new Error("Invalid arguments passed to jsPDF.ellipse");var gt=4/3*(Math.SQRT2-1)*Ur,ce=4/3*(Math.SQRT2-1)*un;return Ms(Et+Ur,Lt),gs(Et+Ur,Lt-ce,Et+gt,Lt-un,Et,Lt-un),gs(Et-gt,Lt-un,Et-Ur,Lt-ce,Et-Ur,Lt),gs(Et-Ur,Lt+ce,Et-gt,Lt+un,Et,Lt+un),gs(Et+gt,Lt+un,Et+Ur,Lt+ce,Et+Ur,Lt),$a(kn),this},Ct.__private__.circle=Ct.circle=function(Et,Lt,Ur,un){if(isNaN(Et)||isNaN(Lt)||isNaN(Ur)||!pa(un))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(Et,Lt,Ur,Ur,un)},Ct.setFont=function(Et,Lt,Ur){return Ur&&(Lt=Wn(Lt,Ur)),or=vo(Et,Lt,{disableWarning:!1}),this};var Vo=Ct.__private__.getFont=Ct.getFont=function(){return Qr[vo.apply(Ct,arguments)]};Ct.__private__.getFontList=Ct.getFontList=function(){var Et,Lt,Ur={};for(Et in cn)if(cn.hasOwnProperty(Et))for(Lt in Ur[Et]=[],cn[Et])cn[Et].hasOwnProperty(Lt)&&Ur[Et].push(Lt);return Ur},Ct.addFont=function(Et,Lt,Ur,un,kn){var gt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&gt.indexOf(arguments[3])!==-1?kn=arguments[3]:arguments[3]&&gt.indexOf(arguments[3])==-1&&(Ur=Wn(Ur,un)),kn=kn||"Identity-H",ga.call(this,Et,Lt,Ur,kn)};var Xo,el=et.lineWidth||.200025,js=Ct.__private__.setLineWidth=Ct.setLineWidth=function(Et){return pt(jn(Kr(Et))+" w"),this};Ct.__private__.setLineDash=K.API.setLineDash=K.API.setLineDashPattern=function(Et,Lt){if(Et=Et||[],Lt=Lt||0,isNaN(Lt)||!Array.isArray(Et))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return Et=Et.map(function(Ur){return jn(Kr(Ur))}).join(" "),Lt=jn(Kr(Lt)),pt("["+Et+"] "+Lt+" d"),this};var bo=Ct.__private__.getLineHeight=Ct.getLineHeight=function(){return tn*Xo};Ct.__private__.getLineHeight=Ct.getLineHeight=function(){return tn*Xo};var wo=Ct.__private__.setLineHeightFactor=Ct.setLineHeightFactor=function(Et){return typeof(Et=Et||1.15)=="number"&&(Xo=Et),this},Wa=Ct.__private__.getLineHeightFactor=Ct.getLineHeightFactor=function(){return Xo};wo(et.lineHeight);var Bo=Ct.__private__.getHorizontalCoordinate=function(Et){return Kr(Et)},No=Ct.__private__.getVerticalCoordinate=function(Et){return on===ur.ADVANCED?Et:xn[Sr].mediaBox.topRightY-xn[Sr].mediaBox.bottomLeftY-Kr(Et)},Do=Ct.__private__.getHorizontalCoordinateString=Ct.getHorizontalCoordinateString=function(Et){return jn(Bo(Et))},Go=Ct.__private__.getVerticalCoordinateString=Ct.getVerticalCoordinateString=function(Et){return jn(No(Et))},Po=et.strokeColor||"0 G";Ct.__private__.getStrokeColor=Ct.getDrawColor=function(){return xa(Po)},Ct.__private__.setStrokeColor=Ct.setDrawColor=function(Et,Lt,Ur,un){return Po=ea({ch1:Et,ch2:Lt,ch3:Ur,ch4:un,pdfColorType:"draw",precision:2}),pt(Po),this};var Uo=et.fillColor||"0 g";Ct.__private__.getFillColor=Ct.getFillColor=function(){return xa(Uo)},Ct.__private__.setFillColor=Ct.setFillColor=function(Et,Lt,Ur,un){return Uo=ea({ch1:Et,ch2:Lt,ch3:Ur,ch4:un,pdfColorType:"fill",precision:2}),pt(Uo),this};var Cr=et.textColor||"0 g",Qn=Ct.__private__.getTextColor=Ct.getTextColor=function(){return xa(Cr)};Ct.__private__.setTextColor=Ct.setTextColor=function(Et,Lt,Ur,un){return Cr=ea({ch1:Et,ch2:Lt,ch3:Ur,ch4:un,pdfColorType:"text",precision:3}),this};var Ga=et.charSpace,Mo=Ct.__private__.getCharSpace=Ct.getCharSpace=function(){return parseFloat(Ga||0)};Ct.__private__.setCharSpace=Ct.setCharSpace=function(Et){if(isNaN(Et))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Ga=Et,this};var Qo=0;Ct.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},Ct.__private__.setLineCap=Ct.setLineCap=function(Et){var Lt=Ct.CapJoinStyles[Et];if(Lt===void 0)throw new Error("Line cap style of '"+Et+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Qo=Lt,pt(Lt+" J"),this};var Vs=0;Ct.__private__.setLineJoin=Ct.setLineJoin=function(Et){var Lt=Ct.CapJoinStyles[Et];if(Lt===void 0)throw new Error("Line join style of '"+Et+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Vs=Lt,pt(Lt+" j"),this},Ct.__private__.setLineMiterLimit=Ct.__private__.setMiterLimit=Ct.setLineMiterLimit=Ct.setMiterLimit=function(Et){if(Et=Et||0,isNaN(Et))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return pt(jn(Kr(Et))+" M"),this},Ct.GState=W,Ct.setGState=function(Et){(Et=typeof Et=="string"?nn[Dn[Et]]:xs(null,Et)).equals(hn)||(pt("/"+Et.id+" gs"),hn=Et)};var xs=function(Lt,Ur){if(!Lt||!Dn[Lt]){var un=!1;for(var kn in nn)if(nn.hasOwnProperty(kn)&&nn[kn].equals(Ur)){un=!0;break}if(un)Ur=nn[kn];else{var gt="GS"+(Object.keys(nn).length+1).toString(10);nn[gt]=Ur,Ur.id=gt}return Lt&&(Dn[Lt]=Ur.id),Rn.publish("addGState",Ur),Ur}};Ct.addGState=function(Et,Lt){return xs(Et,Lt),this},Ct.saveGraphicsState=function(){return pt("q"),Ln.push({key:or,size:tn,color:Cr}),this},Ct.restoreGraphicsState=function(){pt("Q");var Et=Ln.pop();return or=Et.key,tn=Et.size,Cr=Et.color,hn=null,this},Ct.setCurrentTransformationMatrix=function(Et){return pt(Et.toString()+" cm"),this},Ct.comment=function(Et){return pt("#"+Et),this};var Es=function(Lt,Ur){var un=Lt||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return un},set:function(ve){isNaN(ve)||(un=parseFloat(ve))}});var kn=Ur||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return kn},set:function(ve){isNaN(ve)||(kn=parseFloat(ve))}});var gt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return gt},set:function(ve){gt=ve.toString()}}),this},vs=function(Lt,Ur,un,kn){Es.call(this,Lt,Ur),this.type="rect";var gt=un||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return gt},set:function(Ie){isNaN(Ie)||(gt=parseFloat(Ie))}});var ce=kn||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return ce},set:function(Ie){isNaN(Ie)||(ce=parseFloat(Ie))}}),this},Hs=function(){this.page=An,this.currentPage=Sr,this.pages=xi.slice(0),this.pagesContext=xn.slice(0),this.x=Or,this.y=wr,this.matrix=Xr,this.width=ol(Sr),this.height=ks(Sr),this.outputDestination=ki,this.id="",this.objectNumber=-1};Hs.prototype.restore=function(){An=this.page,Sr=this.currentPage,xn=this.pagesContext,xi=this.pages,Or=this.x,wr=this.y,Xr=this.matrix,vl(Sr,this.width),us(Sr,this.height),ki=this.outputDestination};var _s=function(Lt,Ur,un,kn,gt){di.push(new Hs),An=Sr=0,xi=[],Or=Lt,wr=Ur,Xr=gt,Ba([un,kn])},Fs=function(Lt){if(Fi[Lt])di.pop().restore();else{var Ur=new Hs,un="Xo"+(Object.keys(gi).length+1).toString(10);Ur.id=un,Fi[Lt]=un,gi[un]=Ur,Rn.publish("addFormObject",Ur),di.pop().restore()}};for(var wl in Ct.beginFormObject=function(Et,Lt,Ur,un,kn){return _s(Et,Lt,Ur,un,kn),this},Ct.endFormObject=function(Et){return Fs(Et),this},Ct.doFormObject=function(Et,Lt){var Ur=gi[Fi[Et]];return pt("q"),pt(Lt.toString()+" cm"),pt("/"+Ur.id+" Do"),pt("Q"),this},Ct.getFormObject=function(Et){var Lt=gi[Fi[Et]];return{x:Lt.x,y:Lt.y,width:Lt.width,height:Lt.height,matrix:Lt.matrix}},Ct.save=function(Et,Lt){return Et=Et||"generated.pdf",(Lt=Lt||{}).returnPromise=Lt.returnPromise||!1,Lt.returnPromise===!1?(r(Za(to()),Et),typeof r.unload=="function"&&v.setTimeout&&setTimeout(r.unload,911),this):new Promise(function(Ur,un){try{var kn=r(Za(to()),Et);typeof r.unload=="function"&&v.setTimeout&&setTimeout(r.unload,911),Ur(kn)}catch(gt){un(gt.message)}})},K.API)K.API.hasOwnProperty(wl)&&(wl==="events"&&K.API.events.length?function(Et,Lt){var Ur,un,kn;for(kn=Lt.length-1;kn!==-1;kn--)Ur=Lt[kn][0],un=Lt[kn][1],Et.subscribe.apply(Et,[Ur].concat(typeof un=="function"?[un]:un))}(Rn,K.API.events):Ct[wl]=K.API[wl]);var ol=Ct.getPageWidth=function(Et){return(xn[Et=Et||Sr].mediaBox.topRightX-xn[Et].mediaBox.bottomLeftX)/tr},vl=Ct.setPageWidth=function(Et,Lt){xn[Et].mediaBox.topRightX=Lt*tr+xn[Et].mediaBox.bottomLeftX},ks=Ct.getPageHeight=function(Et){return(xn[Et=Et||Sr].mediaBox.topRightY-xn[Et].mediaBox.bottomLeftY)/tr},us=Ct.setPageHeight=function(Et,Lt){xn[Et].mediaBox.topRightY=Lt*tr+xn[Et].mediaBox.bottomLeftY};return Ct.internal={pdfEscape:Hi,getStyle:ca,getFont:Vo,getFontSize:wn,getCharSpace:Mo,getTextColor:Qn,getLineHeight:bo,getLineHeightFactor:Wa,write:gr,getHorizontalCoordinate:Bo,getVerticalCoordinate:No,getCoordinateString:Do,getVerticalCoordinateString:Go,collections:{},newObject:Bi,newAdditionalObject:Ma,newObjectDeferred:Zi,newObjectDeferredBegin:da,getFilters:ya,putStream:sa,events:Rn,scaleFactor:tr,pageSize:{getWidth:function(){return ol(Sr)},setWidth:function(Lt){vl(Sr,Lt)},getHeight:function(){return ks(Sr)},setHeight:function(Lt){us(Sr,Lt)}},encryptionOptions:$t,encryption:Da,getEncryptor:Co,output:Lo,getNumberOfPages:po,pages:xi,out:pt,f2:mi,f3:en,getPageInfo:$o,getPageInfoByObjId:ns,getCurrentPageInfo:es,getPDFVersion:Zt,Point:Es,Rectangle:vs,Matrix:ii,hasHotfix:io},Object.defineProperty(Ct.internal.pageSize,"width",{get:function(){return ol(Sr)},set:function(Lt){vl(Sr,Lt)},enumerable:!0,configurable:!0}),Object.defineProperty(Ct.internal.pageSize,"height",{get:function(){return ks(Sr)},set:function(Lt){us(Sr,Lt)},enumerable:!0,configurable:!0}),Aa.call(Ct,Dr),or="F1",Ia(Je,Pe),Rn.publish("initialized"),Ct}F.prototype.lsbFirstWord=function(et){return String.fromCharCode(et>>0&255,et>>8&255,et>>16&255,et>>24&255)},F.prototype.toHexString=function(et){return et.split("").map(function(Le){return("0"+(255&Le.charCodeAt(0)).toString(16)).slice(-2)}).join("")},F.prototype.hexToBytes=function(et){for(var Le=[],Pe=0;Pe<et.length;Pe+=2)Le.push(String.fromCharCode(parseInt(et.substr(Pe,2),16)));return Le.join("")},F.prototype.processOwnerPassword=function(et,Le){return L(_(Le).substr(0,5),et)},F.prototype.encryptor=function(et,Le){var Pe=_(this.encryptionKey+String.fromCharCode(255&et,et>>8&255,et>>16&255,255&Le,Le>>8&255)).substr(0,10);return function(je){return L(Pe,je)}},W.prototype.equals=function(et){var Le,Pe="id,objectNumber,equals";if(!et||b()(et)!==b()(this))return!1;var je=0;for(Le in this)if(!(Pe.indexOf(Le)>=0)){if(this.hasOwnProperty(Le)&&!et.hasOwnProperty(Le))return!1;if(this[Le]!==et[Le])return!1;je++}for(Le in et)et.hasOwnProperty(Le)&&Pe.indexOf(Le)<0&&je--;return je===0},K.API={events:[]},K.version="2.4.0";var U=K.API,G=1,z=function(Le){return Le.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Y=function(Le){return Le.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},q=function(Le){return Le.toFixed(2)},oe=function(Le){return Le.toFixed(5)};U.__acroform__={};var ie=function(Le,Pe){Le.prototype=Object.create(Pe.prototype),Le.prototype.constructor=Le},se=function(Le){return Le*G},he=function(Le){var Pe=new xe,je=Q.internal.getHeight(Le)||0,Je=Q.internal.getWidth(Le)||0;return Pe.BBox=[0,0,Number(q(Je)),Number(q(je))],Pe},pe=U.__acroform__.setBit=function(et,Le){if(et=et||0,Le=Le||0,isNaN(et)||isNaN(Le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return et|=1<<Le},_e=U.__acroform__.clearBit=function(et,Le){if(et=et||0,Le=Le||0,isNaN(et)||isNaN(Le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return et&=~(1<<Le)},De=U.__acroform__.getBit=function(et,Le){if(isNaN(et)||isNaN(Le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(et&1<<Le)==0?0:1},Xe=U.__acroform__.getBitForPdf=function(et,Le){if(isNaN(et)||isNaN(Le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return De(et,Le-1)},J=U.__acroform__.setBitForPdf=function(et,Le){if(isNaN(et)||isNaN(Le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return pe(et,Le-1)},Ee=U.__acroform__.clearBitForPdf=function(et,Le){if(isNaN(et)||isNaN(Le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return _e(et,Le-1)},qe=U.__acroform__.calculateCoordinates=function(et,Le){var Pe=Le.internal.getHorizontalCoordinate,je=Le.internal.getVerticalCoordinate,Je=et[0],Ve=et[1],Ze=et[2],At=et[3],dt={};return dt.lowerLeft_X=Pe(Je)||0,dt.lowerLeft_Y=je(Ve+At)||0,dt.upperRight_X=Pe(Je+Ze)||0,dt.upperRight_Y=je(Ve)||0,[Number(q(dt.lowerLeft_X)),Number(q(dt.lowerLeft_Y)),Number(q(dt.upperRight_X)),Number(q(dt.upperRight_Y))]},ae=function(Le){if(Le.appearanceStreamContent)return Le.appearanceStreamContent;if(Le.V||Le.DV){var Pe=[],je=Le._V||Le.DV,Je=V(Le,je),Ve=Le.scope.internal.getFont(Le.fontName,Le.fontStyle).id;Pe.push("/Tx BMC"),Pe.push("q"),Pe.push("BT"),Pe.push(Le.scope.__private__.encodeColorString(Le.color)),Pe.push("/"+Ve+" "+q(Je.fontSize)+" Tf"),Pe.push("1 0 0 1 0 0 Tm"),Pe.push(Je.text),Pe.push("ET"),Pe.push("Q"),Pe.push("EMC");var Ze=he(Le);return Ze.scope=Le.scope,Ze.stream=Pe.join(`
`),Ze}},V=function(Le,Pe){var je=Le.fontSize===0?Le.maxFontSize:Le.fontSize,Je={text:"",fontSize:""},Ve=(Pe=(Pe=Pe.substr(0,1)=="("?Pe.substr(1):Pe).substr(Pe.length-1)==")"?Pe.substr(0,Pe.length-1):Pe).split(" "),Ze=je,At=Q.internal.getHeight(Le)||0;At=At<0?-At:At;var dt=Q.internal.getWidth(Le)||0;dt=dt<0?-dt:dt;var Kt=function(mi,en,Kr){if(mi+1<Ve.length){var dn=en+" "+Ve[mi+1];return X(dn,Le,Kr).width<=dt-4}return!1};Ze++;e:for(;Ze>0;){Pe="",Ze--;var $t,er,cr=X("3",Le,Ze).height,Ct=Le.multiline?At-Ze:(At-cr)/2,Nr=Ct+=2,Zt=0,Ir=0;if(Ze<=0){Pe=`(...) Tj
`,Pe+="% Width of Text: "+X(Pe,Le,Ze=12).width+", FieldWidth:"+dt+`
`;break}var xr="",ur=0;for(var on in Ve)if(Ve.hasOwnProperty(on)){xr=(xr+=Ve[on]+" ").substr(xr.length-1)==" "?xr.substr(0,xr.length-1):xr;var Yn=parseInt(on),Vn=Kt(Yn,xr,Ze),Wn=on>=Ve.length-1;if(Vn&&!Wn){xr+=" ";continue}if(Vn||Wn){if(Wn)Ir=Yn;else if(Le.multiline&&(cr+2)*(ur+2)+2>At)continue e}else{if(!Le.multiline)continue e;if((cr+2)*(ur+2)+2>At)continue e;Ir=Yn}for(var jn="",Gn=Zt;Gn<=Ir;Gn++)jn+=Ve[Gn]+" ";switch(jn=jn.substr(jn.length-1)==" "?jn.substr(0,jn.length-1):jn,er=X(jn,Le,Ze).width,Le.textAlign){case"right":$t=dt-er-2;break;case"center":$t=(dt-er)/2;break;case"left":default:$t=2}Pe+=q($t)+" "+q(Nr)+` Td
`,Pe+="("+z(jn)+`) Tj
`,Pe+=-q($t)+` 0 Td
`,Nr=-(Ze+2),er=0,Zt=Ir+1,ur++,xr=""}break}return Je.text=Pe,Je.fontSize=Ze,Je},X=function(Le,Pe,je){var Je=Pe.scope.internal.getFont(Pe.fontName,Pe.fontStyle),Ve=Pe.scope.getStringUnitWidth(Le,{font:Je,fontSize:parseFloat(je),charSpace:0})*parseFloat(je);return{height:Pe.scope.getStringUnitWidth("3",{font:Je,fontSize:parseFloat(je),charSpace:0})*parseFloat(je)*1.5,width:Ve}},Z={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},ge=function(Le,Pe){var je={type:"reference",object:Le};Pe.internal.getPageInfo(Le.page).pageContext.annotations.find(function(Je){return Je.type===je.type&&Je.object===je.object})===void 0&&Pe.internal.getPageInfo(Le.page).pageContext.annotations.push(je)},le=function(Le,Pe){for(var je in Le)if(Le.hasOwnProperty(je)){var Je=je,Ve=Le[je];Pe.internal.newObjectDeferredBegin(Ve.objId,!0),b()(Ve)==="object"&&typeof Ve.putStream=="function"&&Ve.putStream(),delete Le[Je]}},Se=function(Le,Pe){if(Pe.scope=Le,Le.internal!==void 0&&(Le.internal.acroformPlugin===void 0||Le.internal.acroformPlugin.isInitialized===!1)){if(st.FieldNum=0,Le.internal.acroformPlugin=JSON.parse(JSON.stringify(Z)),Le.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");G=Le.internal.scaleFactor,Le.internal.acroformPlugin.acroFormDictionaryRoot=new We,Le.internal.acroformPlugin.acroFormDictionaryRoot.scope=Le,Le.internal.acroformPlugin.acroFormDictionaryRoot._eventID=Le.internal.events.subscribe("postPutResources",function(){!function(je){je.internal.events.unsubscribe(je.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete je.internal.acroformPlugin.acroFormDictionaryRoot._eventID,je.internal.acroformPlugin.printedOut=!0}(Le)}),Le.internal.events.subscribe("buildDocument",function(){!function(je){je.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var Je=je.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var Ve in Je)if(Je.hasOwnProperty(Ve)){var Ze=Je[Ve];Ze.objId=void 0,Ze.hasAnnotation&&ge(Ze,je)}}(Le)}),Le.internal.events.subscribe("putCatalog",function(){!function(je){if(je.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");je.internal.write("/AcroForm "+je.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(Le)}),Le.internal.events.subscribe("postPutPages",function(je){!function(Je,Ve){var Ze=!Je;for(var At in Je||(Ve.internal.newObjectDeferredBegin(Ve.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Ve.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),Je=Je||Ve.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(Je.hasOwnProperty(At)){var dt=Je[At],Kt=[],$t=dt.Rect;if(dt.Rect&&(dt.Rect=qe(dt.Rect,Ve)),Ve.internal.newObjectDeferredBegin(dt.objId,!0),dt.DA=Q.createDefaultAppearanceStream(dt),b()(dt)==="object"&&typeof dt.getKeyValueListForStream=="function"&&(Kt=dt.getKeyValueListForStream()),dt.Rect=$t,dt.hasAppearanceStream&&!dt.appearanceStreamContent){var er=ae(dt);Kt.push({key:"AP",value:"<</N "+er+">>"}),Ve.internal.acroformPlugin.xForms.push(er)}if(dt.appearanceStreamContent){var cr="";for(var Ct in dt.appearanceStreamContent)if(dt.appearanceStreamContent.hasOwnProperty(Ct)){var Nr=dt.appearanceStreamContent[Ct];if(cr+="/"+Ct+" ",cr+="<<",Object.keys(Nr).length>=1||Array.isArray(Nr)){for(var At in Nr)if(Nr.hasOwnProperty(At)){var Zt=Nr[At];typeof Zt=="function"&&(Zt=Zt.call(Ve,dt)),cr+="/"+At+" "+Zt+" ",Ve.internal.acroformPlugin.xForms.indexOf(Zt)>=0||Ve.internal.acroformPlugin.xForms.push(Zt)}}else typeof(Zt=Nr)=="function"&&(Zt=Zt.call(Ve,dt)),cr+="/"+At+" "+Zt,Ve.internal.acroformPlugin.xForms.indexOf(Zt)>=0||Ve.internal.acroformPlugin.xForms.push(Zt);cr+=">>"}Kt.push({key:"AP",value:`<<
`+cr+">>"})}Ve.internal.putStream({additionalKeyValues:Kt,objectId:dt.objId}),Ve.internal.out("endobj")}Ze&&le(Ve.internal.acroformPlugin.xForms,Ve)}(je,Le)}),Le.internal.acroformPlugin.isInitialized=!0}},me=U.__acroform__.arrayToPdfArray=function(et,Le,Pe){var je=function(At){return At};if(Array.isArray(et)){for(var Je="[",Ve=0;Ve<et.length;Ve++)switch(Ve!==0&&(Je+=" "),b()(et[Ve])){case"boolean":case"number":case"object":Je+=et[Ve].toString();break;case"string":et[Ve].substr(0,1)!=="/"?(Le!==void 0&&Pe&&(je=Pe.internal.getEncryptor(Le)),Je+="("+z(je(et[Ve].toString()))+")"):Je+=et[Ve].toString()}return Je+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},$=function(Le,Pe,je){var Je=function(Ze){return Ze};return Pe!==void 0&&je&&(Je=je.internal.getEncryptor(Pe)),(Le=Le||"").toString(),Le="("+z(Je(Le))+")"},we=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(Pe){this._objId=Pe}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};we.prototype.toString=function(){return this.objId+" 0 R"},we.prototype.putStream=function(){var et=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:et,objectId:this.objId}),this.scope.internal.out("endobj")},we.prototype.getKeyValueListForStream=function(){var et=[],Le=Object.getOwnPropertyNames(this).filter(function(Ve){return Ve!="content"&&Ve!="appearanceStreamContent"&&Ve!="scope"&&Ve!="objId"&&Ve.substring(0,1)!="_"});for(var Pe in Le)if(Object.getOwnPropertyDescriptor(this,Le[Pe]).configurable===!1){var je=Le[Pe],Je=this[je];Je&&(Array.isArray(Je)?et.push({key:je,value:me(Je,this.objId,this.scope)}):Je instanceof we?(Je.scope=this.scope,et.push({key:je,value:Je.objId+" 0 R"})):typeof Je!="function"&&et.push({key:je,value:Je}))}return et};var xe=function(){we.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 Le,Pe=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return Pe},set:function(Je){Pe=Je}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(Je){Le=Je.trim()},get:function(){return Le||null}})};ie(xe,we);var We=function(){we.call(this);var Le,Pe=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return Pe.length>0?Pe:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Pe}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(Le){var Je=function(Ze){return Ze};return this.scope&&(Je=this.scope.internal.getEncryptor(this.objId)),"("+z(Je(Le))+")"}},set:function(Je){Le=Je}})};ie(We,we);var st=function et(){we.call(this);var Le=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return Le},set:function(ur){if(isNaN(ur))throw new Error('Invalid value "'+ur+'" for attribute F supplied.');Le=ur}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(Le,3))},set:function(ur){Boolean(ur)===!0?this.F=J(Le,3):this.F=Ee(Le,3)}});var Pe=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Pe},set:function(ur){if(isNaN(ur))throw new Error('Invalid value "'+ur+'" for attribute Ff supplied.');Pe=ur}});var je=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(je.length!==0)return je},set:function(ur){je=ur!==void 0?ur:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!je||isNaN(je[0])?0:je[0]},set:function(ur){je[0]=ur}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!je||isNaN(je[1])?0:je[1]},set:function(ur){je[1]=ur}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!je||isNaN(je[2])?0:je[2]},set:function(ur){je[2]=ur}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!je||isNaN(je[3])?0:je[3]},set:function(ur){je[3]=ur}});var Je="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return Je},set:function(ur){switch(ur){case"/Btn":case"/Tx":case"/Ch":case"/Sig":Je=ur;break;default:throw new Error('Invalid value "'+ur+'" for attribute FT supplied.')}}});var Ve=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!Ve||Ve.length<1){if(this instanceof xt)return;Ve="FieldObject"+et.FieldNum++}var ur=function(Yn){return Yn};return this.scope&&(ur=this.scope.internal.getEncryptor(this.objId)),"("+z(ur(Ve))+")"},set:function(ur){Ve=ur.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return Ve},set:function(ur){Ve=ur}});var Ze="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Ze},set:function(ur){Ze=ur}});var At="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return At},set:function(ur){At=ur}});var dt=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return dt},set:function(ur){dt=ur}});var Kt=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Kt===void 0?50/G:Kt},set:function(ur){Kt=ur}});var $t="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return $t},set:function(ur){$t=ur}});var er="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!er||this instanceof xt||this instanceof Qe))return $(er,this.objId,this.scope)},set:function(ur){ur=ur.toString(),er=ur}});var cr=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(cr)return this instanceof vt==!1?$(cr,this.objId,this.scope):cr},set:function(ur){ur=ur.toString(),cr=this instanceof vt==!1?ur.substr(0,1)==="("?Y(ur.substr(1,ur.length-2)):Y(ur):ur}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof vt==!0?Y(cr.substr(1,cr.length-1)):cr},set:function(ur){ur=ur.toString(),cr=this instanceof vt==!0?"/"+ur:ur}});var Ct=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(Ct)return Ct},set:function(ur){this.V=ur}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Ct)return this instanceof vt==!1?$(Ct,this.objId,this.scope):Ct},set:function(ur){ur=ur.toString(),Ct=this instanceof vt==!1?ur.substr(0,1)==="("?Y(ur.substr(1,ur.length-2)):Y(ur):ur}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof vt==!0?Y(Ct.substr(1,Ct.length-1)):Ct},set:function(ur){ur=ur.toString(),Ct=this instanceof vt==!0?"/"+ur:ur}}),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 Nr,Zt=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Zt},set:function(ur){ur=Boolean(ur),Zt=ur}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(Nr)return Nr},set:function(ur){Nr=ur}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,1))},set:function(ur){Boolean(ur)===!0?this.Ff=J(this.Ff,1):this.Ff=Ee(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,2))},set:function(ur){Boolean(ur)===!0?this.Ff=J(this.Ff,2):this.Ff=Ee(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,3))},set:function(ur){Boolean(ur)===!0?this.Ff=J(this.Ff,3):this.Ff=Ee(this.Ff,3)}});var Ir=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Ir!==null)return Ir},set:function(ur){if([0,1,2].indexOf(ur)===-1)throw new Error('Invalid value "'+ur+'" for attribute Q supplied.');Ir=ur}}),Object.defineProperty(this,"textAlign",{get:function(){var ur;switch(Ir){case 0:default:ur="left";break;case 1:ur="center";break;case 2:ur="right"}return ur},configurable:!0,enumerable:!0,set:function(ur){switch(ur){case"right":case 2:Ir=2;break;case"center":case 1:Ir=1;break;case"left":case 0:default:Ir=0}}})};ie(st,we);var nt=function(){st.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var Le=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return Le},set:function(Je){Le=Je}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return Le},set:function(Je){Le=Je}});var Pe=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return me(Pe,this.objId,this.scope)},set:function(Je){var Ve,Ze;Ze=[],typeof(Ve=Je)=="string"&&(Ze=function(At,dt,Kt){Kt||(Kt=1);for(var $t,er=[];$t=dt.exec(At);)er.push($t[Kt]);return er}(Ve,/\((.*?)\)/g)),Pe=Ze}}),this.getOptions=function(){return Pe},this.setOptions=function(je){Pe=je,this.sort&&Pe.sort()},this.addOption=function(je){je=(je=je||"").toString(),Pe.push(je),this.sort&&Pe.sort()},this.removeOption=function(je,Je){for(Je=Je||!1,je=(je=je||"").toString();Pe.indexOf(je)!==-1&&(Pe.splice(Pe.indexOf(je),1),Je!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,18))},set:function(Je){Boolean(Je)===!0?this.Ff=J(this.Ff,18):this.Ff=Ee(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,19))},set:function(Je){this.combo===!0&&(Boolean(Je)===!0?this.Ff=J(this.Ff,19):this.Ff=Ee(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,20))},set:function(Je){Boolean(Je)===!0?(this.Ff=J(this.Ff,20),Pe.sort()):this.Ff=Ee(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,22))},set:function(Je){Boolean(Je)===!0?this.Ff=J(this.Ff,22):this.Ff=Ee(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,23))},set:function(Je){Boolean(Je)===!0?this.Ff=J(this.Ff,23):this.Ff=Ee(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,27))},set:function(Je){Boolean(Je)===!0?this.Ff=J(this.Ff,27):this.Ff=Ee(this.Ff,27)}}),this.hasAppearanceStream=!1};ie(nt,st);var Ne=function(){nt.call(this),this.fontName="helvetica",this.combo=!1};ie(Ne,nt);var St=function(){Ne.call(this),this.combo=!0};ie(St,Ne);var Ye=function(){St.call(this),this.edit=!0};ie(Ye,St);var vt=function(){st.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,15))},set:function(Je){Boolean(Je)===!0?this.Ff=J(this.Ff,15):this.Ff=Ee(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,16))},set:function(Je){Boolean(Je)===!0?this.Ff=J(this.Ff,16):this.Ff=Ee(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,17))},set:function(Je){Boolean(Je)===!0?this.Ff=J(this.Ff,17):this.Ff=Ee(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,26))},set:function(Je){Boolean(Je)===!0?this.Ff=J(this.Ff,26):this.Ff=Ee(this.Ff,26)}});var Le,Pe={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Je=function(dt){return dt};if(this.scope&&(Je=this.scope.internal.getEncryptor(this.objId)),Object.keys(Pe).length!==0){var Ve,Ze=[];for(Ve in Ze.push("<<"),Pe)Ze.push("/"+Ve+" ("+z(Je(Pe[Ve]))+")");return Ze.push(">>"),Ze.join(`
`)}},set:function(Je){b()(Je)==="object"&&(Pe=Je)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Pe.CA||""},set:function(Je){typeof Je=="string"&&(Pe.CA=Je)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Le},set:function(Je){Le=Je}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Le.substr(1,Le.length-1)},set:function(Je){Le="/"+Je}})};ie(vt,st);var It=function(){vt.call(this),this.pushButton=!0};ie(It,vt);var Ut=function(){vt.call(this),this.radio=!0,this.pushButton=!1;var Le=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return Le},set:function(je){Le=je!==void 0?je:[]}})};ie(Ut,vt);var xt=function(){var Le,Pe;st.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return Le},set:function(Ze){Le=Ze}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Pe},set:function(Ze){Pe=Ze}});var je,Je={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Ze=function($t){return $t};this.scope&&(Ze=this.scope.internal.getEncryptor(this.objId));var At,dt=[];for(At in dt.push("<<"),Je)dt.push("/"+At+" ("+z(Ze(Je[At]))+")");return dt.push(">>"),dt.join(`
`)},set:function(Ze){b()(Ze)==="object"&&(Je=Ze)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Je.CA||""},set:function(Ze){typeof Ze=="string"&&(Je.CA=Ze)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return je},set:function(Ze){je=Ze}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return je.substr(1,je.length-1)},set:function(Ze){je="/"+Ze}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Q.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ie(xt,st),Ut.prototype.setAppearance=function(et){if(!("createAppearanceStream"in et)||!("getCA"in et))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var Le in this.Kids)if(this.Kids.hasOwnProperty(Le)){var Pe=this.Kids[Le];Pe.appearanceStreamContent=et.createAppearanceStream(Pe.optionName),Pe.caption=et.getCA()}},Ut.prototype.createOption=function(et){var Le=new xt;return Le.Parent=this,Le.optionName=et,this.Kids.push(Le),Me.call(this.scope,Le),Le};var Bt=function(){vt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Q.CheckBox.createAppearanceStream()};ie(Bt,vt);var Qe=function(){st.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,13))},set:function(je){Boolean(je)===!0?this.Ff=J(this.Ff,13):this.Ff=Ee(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,21))},set:function(je){Boolean(je)===!0?this.Ff=J(this.Ff,21):this.Ff=Ee(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,23))},set:function(je){Boolean(je)===!0?this.Ff=J(this.Ff,23):this.Ff=Ee(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,24))},set:function(je){Boolean(je)===!0?this.Ff=J(this.Ff,24):this.Ff=Ee(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,25))},set:function(je){Boolean(je)===!0?this.Ff=J(this.Ff,25):this.Ff=Ee(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,26))},set:function(je){Boolean(je)===!0?this.Ff=J(this.Ff,26):this.Ff=Ee(this.Ff,26)}});var Le=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return Le},set:function(je){Le=je}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return Le},set:function(je){Number.isInteger(je)&&(Le=je)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ie(Qe,st);var te=function(){Qe.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Xe(this.Ff,14))},set:function(Pe){Boolean(Pe)===!0?this.Ff=J(this.Ff,14):this.Ff=Ee(this.Ff,14)}}),this.password=!0};ie(te,Qe);var Q={CheckBox:{createAppearanceStream:function(){return{N:{On:Q.CheckBox.YesNormal},D:{On:Q.CheckBox.YesPushDown,Off:Q.CheckBox.OffPushDown}}},YesPushDown:function(Le){var Pe=he(Le);Pe.scope=Le.scope;var je=[],Je=Le.scope.internal.getFont(Le.fontName,Le.fontStyle).id,Ve=Le.scope.__private__.encodeColorString(Le.color),Ze=V(Le,Le.caption);return je.push("0.749023 g"),je.push("0 0 "+q(Q.internal.getWidth(Le))+" "+q(Q.internal.getHeight(Le))+" re"),je.push("f"),je.push("BMC"),je.push("q"),je.push("0 0 1 rg"),je.push("/"+Je+" "+q(Ze.fontSize)+" Tf "+Ve),je.push("BT"),je.push(Ze.text),je.push("ET"),je.push("Q"),je.push("EMC"),Pe.stream=je.join(`
`),Pe},YesNormal:function(Le){var Pe=he(Le);Pe.scope=Le.scope;var je=Le.scope.internal.getFont(Le.fontName,Le.fontStyle).id,Je=Le.scope.__private__.encodeColorString(Le.color),Ve=[],Ze=Q.internal.getHeight(Le),At=Q.internal.getWidth(Le),dt=V(Le,Le.caption);return Ve.push("1 g"),Ve.push("0 0 "+q(At)+" "+q(Ze)+" re"),Ve.push("f"),Ve.push("q"),Ve.push("0 0 1 rg"),Ve.push("0 0 "+q(At-1)+" "+q(Ze-1)+" re"),Ve.push("W"),Ve.push("n"),Ve.push("0 g"),Ve.push("BT"),Ve.push("/"+je+" "+q(dt.fontSize)+" Tf "+Je),Ve.push(dt.text),Ve.push("ET"),Ve.push("Q"),Pe.stream=Ve.join(`
`),Pe},OffPushDown:function(Le){var Pe=he(Le);Pe.scope=Le.scope;var je=[];return je.push("0.749023 g"),je.push("0 0 "+q(Q.internal.getWidth(Le))+" "+q(Q.internal.getHeight(Le))+" re"),je.push("f"),Pe.stream=je.join(`
`),Pe}},RadioButton:{Circle:{createAppearanceStream:function(Le){var Pe={D:{Off:Q.RadioButton.Circle.OffPushDown},N:{}};return Pe.N[Le]=Q.RadioButton.Circle.YesNormal,Pe.D[Le]=Q.RadioButton.Circle.YesPushDown,Pe},getCA:function(){return"l"},YesNormal:function(Le){var Pe=he(Le);Pe.scope=Le.scope;var je=[],Je=Q.internal.getWidth(Le)<=Q.internal.getHeight(Le)?Q.internal.getWidth(Le)/4:Q.internal.getHeight(Le)/4;Je=Number((.9*Je).toFixed(5));var Ve=Q.internal.Bezier_C,Ze=Number((Je*Ve).toFixed(5));return je.push("q"),je.push("1 0 0 1 "+oe(Q.internal.getWidth(Le)/2)+" "+oe(Q.internal.getHeight(Le)/2)+" cm"),je.push(Je+" 0 m"),je.push(Je+" "+Ze+" "+Ze+" "+Je+" 0 "+Je+" c"),je.push("-"+Ze+" "+Je+" -"+Je+" "+Ze+" -"+Je+" 0 c"),je.push("-"+Je+" -"+Ze+" -"+Ze+" -"+Je+" 0 -"+Je+" c"),je.push(Ze+" -"+Je+" "+Je+" -"+Ze+" "+Je+" 0 c"),je.push("f"),je.push("Q"),Pe.stream=je.join(`
`),Pe},YesPushDown:function(Le){var Pe=he(Le);Pe.scope=Le.scope;var je=[],Je=Q.internal.getWidth(Le)<=Q.internal.getHeight(Le)?Q.internal.getWidth(Le)/4:Q.internal.getHeight(Le)/4;Je=Number((.9*Je).toFixed(5));var Ve=Number((2*Je).toFixed(5)),Ze=Number((Ve*Q.internal.Bezier_C).toFixed(5)),At=Number((Je*Q.internal.Bezier_C).toFixed(5));return je.push("0.749023 g"),je.push("q"),je.push("1 0 0 1 "+oe(Q.internal.getWidth(Le)/2)+" "+oe(Q.internal.getHeight(Le)/2)+" cm"),je.push(Ve+" 0 m"),je.push(Ve+" "+Ze+" "+Ze+" "+Ve+" 0 "+Ve+" c"),je.push("-"+Ze+" "+Ve+" -"+Ve+" "+Ze+" -"+Ve+" 0 c"),je.push("-"+Ve+" -"+Ze+" -"+Ze+" -"+Ve+" 0 -"+Ve+" c"),je.push(Ze+" -"+Ve+" "+Ve+" -"+Ze+" "+Ve+" 0 c"),je.push("f"),je.push("Q"),je.push("0 g"),je.push("q"),je.push("1 0 0 1 "+oe(Q.internal.getWidth(Le)/2)+" "+oe(Q.internal.getHeight(Le)/2)+" cm"),je.push(Je+" 0 m"),je.push(Je+" "+At+" "+At+" "+Je+" 0 "+Je+" c"),je.push("-"+At+" "+Je+" -"+Je+" "+At+" -"+Je+" 0 c"),je.push("-"+Je+" -"+At+" -"+At+" -"+Je+" 0 -"+Je+" c"),je.push(At+" -"+Je+" "+Je+" -"+At+" "+Je+" 0 c"),je.push("f"),je.push("Q"),Pe.stream=je.join(`
`),Pe},OffPushDown:function(Le){var Pe=he(Le);Pe.scope=Le.scope;var je=[],Je=Q.internal.getWidth(Le)<=Q.internal.getHeight(Le)?Q.internal.getWidth(Le)/4:Q.internal.getHeight(Le)/4;Je=Number((.9*Je).toFixed(5));var Ve=Number((2*Je).toFixed(5)),Ze=Number((Ve*Q.internal.Bezier_C).toFixed(5));return je.push("0.749023 g"),je.push("q"),je.push("1 0 0 1 "+oe(Q.internal.getWidth(Le)/2)+" "+oe(Q.internal.getHeight(Le)/2)+" cm"),je.push(Ve+" 0 m"),je.push(Ve+" "+Ze+" "+Ze+" "+Ve+" 0 "+Ve+" c"),je.push("-"+Ze+" "+Ve+" -"+Ve+" "+Ze+" -"+Ve+" 0 c"),je.push("-"+Ve+" -"+Ze+" -"+Ze+" -"+Ve+" 0 -"+Ve+" c"),je.push(Ze+" -"+Ve+" "+Ve+" -"+Ze+" "+Ve+" 0 c"),je.push("f"),je.push("Q"),Pe.stream=je.join(`
`),Pe}},Cross:{createAppearanceStream:function(Le){var Pe={D:{Off:Q.RadioButton.Cross.OffPushDown},N:{}};return Pe.N[Le]=Q.RadioButton.Cross.YesNormal,Pe.D[Le]=Q.RadioButton.Cross.YesPushDown,Pe},getCA:function(){return"8"},YesNormal:function(Le){var Pe=he(Le);Pe.scope=Le.scope;var je=[],Je=Q.internal.calculateCross(Le);return je.push("q"),je.push("1 1 "+q(Q.internal.getWidth(Le)-2)+" "+q(Q.internal.getHeight(Le)-2)+" re"),je.push("W"),je.push("n"),je.push(q(Je.x1.x)+" "+q(Je.x1.y)+" m"),je.push(q(Je.x2.x)+" "+q(Je.x2.y)+" l"),je.push(q(Je.x4.x)+" "+q(Je.x4.y)+" m"),je.push(q(Je.x3.x)+" "+q(Je.x3.y)+" l"),je.push("s"),je.push("Q"),Pe.stream=je.join(`
`),Pe},YesPushDown:function(Le){var Pe=he(Le);Pe.scope=Le.scope;var je=Q.internal.calculateCross(Le),Je=[];return Je.push("0.749023 g"),Je.push("0 0 "+q(Q.internal.getWidth(Le))+" "+q(Q.internal.getHeight(Le))+" re"),Je.push("f"),Je.push("q"),Je.push("1 1 "+q(Q.internal.getWidth(Le)-2)+" "+q(Q.internal.getHeight(Le)-2)+" re"),Je.push("W"),Je.push("n"),Je.push(q(je.x1.x)+" "+q(je.x1.y)+" m"),Je.push(q(je.x2.x)+" "+q(je.x2.y)+" l"),Je.push(q(je.x4.x)+" "+q(je.x4.y)+" m"),Je.push(q(je.x3.x)+" "+q(je.x3.y)+" l"),Je.push("s"),Je.push("Q"),Pe.stream=Je.join(`
`),Pe},OffPushDown:function(Le){var Pe=he(Le);Pe.scope=Le.scope;var je=[];return je.push("0.749023 g"),je.push("0 0 "+q(Q.internal.getWidth(Le))+" "+q(Q.internal.getHeight(Le))+" re"),je.push("f"),Pe.stream=je.join(`
`),Pe}}},createDefaultAppearanceStream:function(Le){var Pe=Le.scope.internal.getFont(Le.fontName,Le.fontStyle).id,je=Le.scope.__private__.encodeColorString(Le.color);return"/"+Pe+" "+Le.fontSize+" Tf "+je}};Q.internal={Bezier_C:.551915024494,calculateCross:function(Le){var Pe=Q.internal.getWidth(Le),je=Q.internal.getHeight(Le),Je=Math.min(Pe,je);return{x1:{x:(Pe-Je)/2,y:(je-Je)/2+Je},x2:{x:(Pe-Je)/2+Je,y:(je-Je)/2},x3:{x:(Pe-Je)/2,y:(je-Je)/2},x4:{x:(Pe-Je)/2+Je,y:(je-Je)/2+Je}}}},Q.internal.getWidth=function(et){var Le=0;return b()(et)==="object"&&(Le=se(et.Rect[2])),Le},Q.internal.getHeight=function(et){var Le=0;return b()(et)==="object"&&(Le=se(et.Rect[3])),Le};var Me=U.addField=function(et){if(Se(this,et),!(et instanceof st))throw new Error("Invalid argument passed to jsPDF.addField.");var Le;return(Le=et).scope.internal.acroformPlugin.printedOut&&(Le.scope.internal.acroformPlugin.printedOut=!1,Le.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),Le.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(Le),et.page=et.scope.internal.getCurrentPageInfo().pageNumber,this};U.AcroFormChoiceField=nt,U.AcroFormListBox=Ne,U.AcroFormComboBox=St,U.AcroFormEditBox=Ye,U.AcroFormButton=vt,U.AcroFormPushButton=It,U.AcroFormRadioButton=Ut,U.AcroFormCheckBox=Bt,U.AcroFormTextField=Qe,U.AcroFormPasswordField=te,U.AcroFormAppearance=Q,U.AcroForm={ChoiceField:nt,ListBox:Ne,ComboBox:St,EditBox:Ye,Button:vt,PushButton:It,RadioButton:Ut,CheckBox:Bt,TextField:Qe,PasswordField:te,Appearance:Q},K.AcroForm={ChoiceField:nt,ListBox:Ne,ComboBox:St,EditBox:Ye,Button:vt,PushButton:It,RadioButton:Ut,CheckBox:Bt,TextField:Qe,PasswordField:te,Appearance:Q};var Ce=K.AcroForm;function ue(et){return et.reduce(function(Le,Pe,je){return Le[Pe]=je,Le},{})}!function(et){et.__addimage__={};var Le="UNKNOWN",Pe={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]]},je=et.__addimage__.getImageFileTypeByImageData=function(en,Kr){var dn,Vr,ni,Hn,Kn,bn=Le;if((Kr=Kr||Le)==="RGBA"||en.data!==void 0&&en.data instanceof Uint8ClampedArray&&"height"in en&&"width"in en)return"RGBA";if(Wn(en))for(Kn in Pe)for(ni=Pe[Kn],dn=0;dn<ni.length;dn+=1){for(Hn=!0,Vr=0;Vr<ni[dn].length;Vr+=1)if(ni[dn][Vr]!==void 0&&ni[dn][Vr]!==en[Vr]){Hn=!1;break}if(Hn===!0){bn=Kn;break}}else for(Kn in Pe)for(ni=Pe[Kn],dn=0;dn<ni.length;dn+=1){for(Hn=!0,Vr=0;Vr<ni[dn].length;Vr+=1)if(ni[dn][Vr]!==void 0&&ni[dn][Vr]!==en.charCodeAt(Vr)){Hn=!1;break}if(Hn===!0){bn=Kn;break}}return bn===Le&&Kr!==Le&&(bn=Kr),bn},Je=function en(Kr){for(var dn=this.internal.write,Vr=this.internal.putStream,ni=(0,this.internal.getFilters)();ni.indexOf("FlateEncode")!==-1;)ni.splice(ni.indexOf("FlateEncode"),1);Kr.objectId=this.internal.newObject();var Hn=[];if(Hn.push({key:"Type",value:"/XObject"}),Hn.push({key:"Subtype",value:"/Image"}),Hn.push({key:"Width",value:Kr.width}),Hn.push({key:"Height",value:Kr.height}),Kr.colorSpace===Ir.INDEXED?Hn.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Kr.palette.length/3-1)+" "+("sMask"in Kr&&Kr.sMask!==void 0?Kr.objectId+2:Kr.objectId+1)+" 0 R]"}):(Hn.push({key:"ColorSpace",value:"/"+Kr.colorSpace}),Kr.colorSpace===Ir.DEVICE_CMYK&&Hn.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Hn.push({key:"BitsPerComponent",value:Kr.bitsPerComponent}),"decodeParameters"in Kr&&Kr.decodeParameters!==void 0&&Hn.push({key:"DecodeParms",value:"<<"+Kr.decodeParameters+">>"}),"transparency"in Kr&&Array.isArray(Kr.transparency)){for(var Kn="",bn=0,wi=Kr.transparency.length;bn<wi;bn++)Kn+=Kr.transparency[bn]+" "+Kr.transparency[bn]+" ";Hn.push({key:"Mask",value:"["+Kn+"]"})}Kr.sMask!==void 0&&Hn.push({key:"SMask",value:Kr.objectId+1+" 0 R"});var si=Kr.filter!==void 0?["/"+Kr.filter]:void 0;if(Vr({data:Kr.data,additionalKeyValues:Hn,alreadyAppliedFilters:si,objectId:Kr.objectId}),dn("endobj"),"sMask"in Kr&&Kr.sMask!==void 0){var Oi="/Predictor "+Kr.predictor+" /Colors 1 /BitsPerComponent "+Kr.bitsPerComponent+" /Columns "+Kr.width,qr={width:Kr.width,height:Kr.height,colorSpace:"DeviceGray",bitsPerComponent:Kr.bitsPerComponent,decodeParameters:Oi,data:Kr.sMask};"filter"in Kr&&(qr.filter=Kr.filter),en.call(this,qr)}if(Kr.colorSpace===Ir.INDEXED){var Sr=this.internal.newObject();Vr({data:Gn(new Uint8Array(Kr.palette)),objectId:Sr}),dn("endobj")}},Ve=function(){var Kr=this.internal.collections.addImage_images;for(var dn in Kr)Je.call(this,Kr[dn])},Ze=function(){var Kr,dn=this.internal.collections.addImage_images,Vr=this.internal.write;for(var ni in dn)Vr("/I"+(Kr=dn[ni]).index,Kr.objectId,"0","R")},At=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",Ve),this.internal.events.subscribe("putXobjectDict",Ze))},dt=function(){var Kr=this.internal.collections.addImage_images;return At.call(this),Kr},Kt=function(){return Object.keys(this.internal.collections.addImage_images).length},$t=function(Kr){return typeof et["process"+Kr.toUpperCase()]=="function"},er=function(Kr){return b()(Kr)==="object"&&Kr.nodeType===1},cr=function(Kr,dn){if(Kr.nodeName==="IMG"&&Kr.hasAttribute("src")){var Vr=""+Kr.getAttribute("src");if(Vr.indexOf("data:image/")===0)return n(unescape(Vr).split("base64,").pop());var ni=et.loadFile(Vr,!0);if(ni!==void 0)return ni}if(Kr.nodeName==="CANVAS"){if(Kr.width===0||Kr.height===0)throw new Error("Given canvas must have data. Canvas width: "+Kr.width+", height: "+Kr.height);var Hn;switch(dn){case"PNG":Hn="image/png";break;case"WEBP":Hn="image/webp";break;case"JPEG":case"JPG":default:Hn="image/jpeg"}return n(Kr.toDataURL(Hn,1).split("base64,").pop())}},Ct=function(Kr){var dn=this.internal.collections.addImage_images;if(dn){for(var Vr in dn)if(Kr===dn[Vr].alias)return dn[Vr]}},Nr=function(Kr,dn,Vr){return Kr||dn||(Kr=-96,dn=-96),Kr<0&&(Kr=-1*Vr.width*72/Kr/this.internal.scaleFactor),dn<0&&(dn=-1*Vr.height*72/dn/this.internal.scaleFactor),Kr===0&&(Kr=dn*Vr.width/Vr.height),dn===0&&(dn=Kr*Vr.height/Vr.width),[Kr,dn]},Zt=function(Kr,dn,Vr,ni,Hn,Kn){var bn=Nr.call(this,Vr,ni,Hn),wi=this.internal.getCoordinateString,si=this.internal.getVerticalCoordinateString,Oi=dt.call(this);if(Vr=bn[0],ni=bn[1],Oi[Hn.index]=Hn,Kn){Kn*=Math.PI/180;var qr=Math.cos(Kn),Sr=Math.sin(Kn),sn=function(Pn){return Pn.toFixed(4)},yn=[sn(qr),sn(Sr),sn(-1*Sr),sn(qr),0,0,"cm"]}this.internal.write("q"),Kn?(this.internal.write([1,"0","0",1,wi(Kr),si(dn+ni),"cm"].join(" ")),this.internal.write(yn.join(" ")),this.internal.write([wi(Vr),"0","0",wi(ni),"0","0","cm"].join(" "))):this.internal.write([wi(Vr),"0","0",wi(ni),wi(Kr),si(dn+ni),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Hn.index+" Do"),this.internal.write("Q")},Ir=et.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"};et.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 xr=et.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},ur=et.__addimage__.sHashCode=function(en){var Kr,dn,Vr=0;if(typeof en=="string")for(dn=en.length,Kr=0;Kr<dn;Kr++)Vr=(Vr<<5)-Vr+en.charCodeAt(Kr),Vr|=0;else if(Wn(en))for(dn=en.byteLength/2,Kr=0;Kr<dn;Kr++)Vr=(Vr<<5)-Vr+en[Kr],Vr|=0;return Vr},on=et.__addimage__.validateStringAsBase64=function(en){(en=en||"").toString().trim();var Kr=!0;return en.length===0&&(Kr=!1),en.length%4!=0&&(Kr=!1),/^[A-Za-z0-9+/]+$/.test(en.substr(0,en.length-2))===!1&&(Kr=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(en.substr(-2))===!1&&(Kr=!1),Kr},Yn=et.__addimage__.extractImageFromDataUrl=function(en){var Kr=(en=en||"").split("base64,"),dn=null;if(Kr.length===2){var Vr=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(Kr[0]);Array.isArray(Vr)&&(dn={mimeType:Vr[1],charset:Vr[2],data:Kr[1]})}return dn},Vn=et.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};et.__addimage__.isArrayBuffer=function(en){return Vn()&&en instanceof ArrayBuffer};var Wn=et.__addimage__.isArrayBufferView=function(en){return Vn()&&typeof Uint32Array!="undefined"&&(en instanceof Int8Array||en instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&en instanceof Uint8ClampedArray||en instanceof Int16Array||en instanceof Uint16Array||en instanceof Int32Array||en instanceof Uint32Array||en instanceof Float32Array||en instanceof Float64Array)},jn=et.__addimage__.binaryStringToUint8Array=function(en){for(var Kr=en.length,dn=new Uint8Array(Kr),Vr=0;Vr<Kr;Vr++)dn[Vr]=en.charCodeAt(Vr);return dn},Gn=et.__addimage__.arrayBufferToBinaryString=function(en){for(var Kr="",dn=Wn(en)?en:new Uint8Array(en),Vr=0;Vr<dn.length;Vr+=8192)Kr+=String.fromCharCode.apply(null,dn.subarray(Vr,Vr+8192));return Kr};et.addImage=function(){var en,Kr,dn,Vr,ni,Hn,Kn,bn,wi;if(typeof arguments[1]=="number"?(Kr=Le,dn=arguments[1],Vr=arguments[2],ni=arguments[3],Hn=arguments[4],Kn=arguments[5],bn=arguments[6],wi=arguments[7]):(Kr=arguments[1],dn=arguments[2],Vr=arguments[3],ni=arguments[4],Hn=arguments[5],Kn=arguments[6],bn=arguments[7],wi=arguments[8]),b()(en=arguments[0])==="object"&&!er(en)&&"imageData"in en){var si=en;en=si.imageData,Kr=si.format||Kr||Le,dn=si.x||dn||0,Vr=si.y||Vr||0,ni=si.w||si.width||ni,Hn=si.h||si.height||Hn,Kn=si.alias||Kn,bn=si.compression||bn,wi=si.rotation||si.angle||wi}var Oi=this.internal.getFilters();if(bn===void 0&&Oi.indexOf("FlateEncode")!==-1&&(bn="SLOW"),isNaN(dn)||isNaN(Vr))throw new Error("Invalid coordinates passed to jsPDF.addImage");At.call(this);var qr=Nn.call(this,en,Kr,Kn,bn);return Zt.call(this,dn,Vr,ni,Hn,qr,wi),this};var Nn=function(Kr,dn,Vr,ni){var Hn,Kn,bn;if(typeof Kr=="string"&&je(Kr)===Le){Kr=unescape(Kr);var wi=mi(Kr,!1);(wi!==""||(wi=et.loadFile(Kr,!0))!==void 0)&&(Kr=wi)}if(er(Kr)&&(Kr=cr(Kr,dn)),dn=je(Kr,dn),!$t(dn))throw new Error("addImage does not support files of type '"+dn+"', please ensure that a plugin for '"+dn+"' support is added.");if(((bn=Vr)==null||bn.length===0)&&(Vr=function(si){return typeof si=="string"||Wn(si)?ur(si):Wn(si.data)?ur(si.data):null}(Kr)),(Hn=Ct.call(this,Vr))||(Vn()&&(Kr instanceof Uint8Array||dn==="RGBA"||(Kn=Kr,Kr=jn(Kr))),Hn=this["process"+dn.toUpperCase()](Kr,Kt.call(this),Vr,function(si){return si&&typeof si=="string"&&(si=si.toUpperCase()),si in et.image_compression?si:xr.NONE}(ni),Kn)),!Hn)throw new Error("An unknown error occurred whilst processing the image.");return Hn},mi=et.__addimage__.convertBase64ToBinaryString=function(en,Kr){var dn;Kr=typeof Kr!="boolean"||Kr;var Vr,ni="";if(typeof en=="string"){Vr=(dn=Yn(en))!==null?dn.data:en;try{ni=n(Vr)}catch(Hn){if(Kr)throw on(Vr)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+Hn.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return ni};et.getImageProperties=function(en){var Kr,dn,Vr="";if(er(en)&&(en=cr(en)),typeof en=="string"&&je(en)===Le&&((Vr=mi(en,!1))===""&&(Vr=et.loadFile(en)||""),en=Vr),dn=je(en),!$t(dn))throw new Error("addImage does not support files of type '"+dn+"', please ensure that a plugin for '"+dn+"' support is added.");if(!Vn()||en instanceof Uint8Array||(en=jn(en)),!(Kr=this["process"+dn.toUpperCase()](en)))throw new Error("An unknown error occurred whilst processing the image");return Kr.fileType=dn,Kr}}(K.API),function(et){var Le=function(je){if(je!==void 0&&je!="")return!0};K.API.events.push(["addPage",function(Pe){this.internal.getPageInfo(Pe.pageNumber).pageContext.annotations=[]}]),et.events.push(["putPage",function(Pe){for(var je,Je,Ve,Ze=this.internal.getCoordinateString,At=this.internal.getVerticalCoordinateString,dt=this.internal.getPageInfoByObjId(Pe.objId),Kt=Pe.pageContext.annotations,$t=!1,er=0;er<Kt.length&&!$t;er++)switch((je=Kt[er]).type){case"link":(Le(je.options.url)||Le(je.options.pageNumber))&&($t=!0);break;case"reference":case"text":case"freetext":$t=!0}if($t!=0){this.internal.write("/Annots [");for(var cr=0;cr<Kt.length;cr++){je=Kt[cr];var Ct=this.internal.pdfEscape,Nr=this.internal.getEncryptor(Pe.objId);switch(je.type){case"reference":this.internal.write(" "+je.object.objId+" 0 R ");break;case"text":var Zt=this.internal.newAdditionalObject(),Ir=this.internal.newAdditionalObject(),xr=this.internal.getEncryptor(Zt.objId),ur=je.title||"Note";Ve="<</Type /Annot /Subtype /Text "+(Je="/Rect ["+Ze(je.bounds.x)+" "+At(je.bounds.y+je.bounds.h)+" "+Ze(je.bounds.x+je.bounds.w)+" "+At(je.bounds.y)+"] ")+"/Contents ("+Ct(xr(je.contents))+")",Ve+=" /Popup "+Ir.objId+" 0 R",Ve+=" /P "+dt.objId+" 0 R",Ve+=" /T ("+Ct(xr(ur))+") >>",Zt.content=Ve;var on=Zt.objId+" 0 R";Ve="<</Type /Annot /Subtype /Popup "+(Je="/Rect ["+Ze(je.bounds.x+30)+" "+At(je.bounds.y+je.bounds.h)+" "+Ze(je.bounds.x+je.bounds.w+30)+" "+At(je.bounds.y)+"] ")+" /Parent "+on,je.open&&(Ve+=" /Open true"),Ve+=" >>",Ir.content=Ve,this.internal.write(Zt.objId,"0 R",Ir.objId,"0 R");break;case"freetext":Je="/Rect ["+Ze(je.bounds.x)+" "+At(je.bounds.y)+" "+Ze(je.bounds.x+je.bounds.w)+" "+At(je.bounds.y+je.bounds.h)+"] ";var Yn=je.color||"#000000";Ve="<</Type /Annot /Subtype /FreeText "+Je+"/Contents ("+Ct(Nr(je.contents))+")",Ve+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Yn+")",Ve+=" /Border [0 0 0]",Ve+=" >>",this.internal.write(Ve);break;case"link":if(je.options.name){var Vn=this.annotations._nameMap[je.options.name];je.options.pageNumber=Vn.page,je.options.top=Vn.y}else je.options.top||(je.options.top=0);if(Je="/Rect ["+je.finalBounds.x+" "+je.finalBounds.y+" "+je.finalBounds.w+" "+je.finalBounds.h+"] ",Ve="",je.options.url)Ve="<</Type /Annot /Subtype /Link "+Je+"/Border [0 0 0] /A <</S /URI /URI ("+Ct(Nr(je.options.url))+") >>";else if(je.options.pageNumber)switch(Ve="<</Type /Annot /Subtype /Link "+Je+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(je.options.pageNumber).objId+" 0 R",je.options.magFactor=je.options.magFactor||"XYZ",je.options.magFactor){case"Fit":Ve+=" /Fit]";break;case"FitH":Ve+=" /FitH "+je.options.top+"]";break;case"FitV":je.options.left=je.options.left||0,Ve+=" /FitV "+je.options.left+"]";break;case"XYZ":default:var Wn=At(je.options.top);je.options.left=je.options.left||0,je.options.zoom===void 0&&(je.options.zoom=0),Ve+=" /XYZ "+je.options.left+" "+Wn+" "+je.options.zoom+"]"}Ve!=""&&(Ve+=" >>",this.internal.write(Ve))}}this.internal.write("]")}}]),et.createAnnotation=function(Pe){var je=this.internal.getCurrentPageInfo();switch(Pe.type){case"link":this.link(Pe.bounds.x,Pe.bounds.y,Pe.bounds.w,Pe.bounds.h,Pe);break;case"text":case"freetext":je.pageContext.annotations.push(Pe)}},et.link=function(Pe,je,Je,Ve,Ze){var At=this.internal.getCurrentPageInfo(),dt=this.internal.getCoordinateString,Kt=this.internal.getVerticalCoordinateString;At.pageContext.annotations.push({finalBounds:{x:dt(Pe),y:Kt(je),w:dt(Pe+Je),h:Kt(je+Ve)},options:Ze,type:"link"})},et.textWithLink=function(Pe,je,Je,Ve){var Ze=this.getTextWidth(Pe),At=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(Pe,je,Je,Ve),Je+=.2*At,Ve.align==="center"&&(je-=Ze/2),Ve.align==="right"&&(je-=Ze),this.link(je,Je-At,Ze,At,Ve),Ze},et.getTextWidth=function(Pe){var je=this.internal.getFontSize();return this.getStringUnitWidth(Pe)*je/this.internal.scaleFactor}}(K.API),function(et){var Le={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]},Pe={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}},je={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Je=[1570,1571,1573,1575];et.__arabicParser__={};var Ve=et.__arabicParser__.isInArabicSubstitutionA=function(Zt){return Le[Zt.charCodeAt(0)]!==void 0},Ze=et.__arabicParser__.isArabicLetter=function(Zt){return typeof Zt=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Zt)},At=et.__arabicParser__.isArabicEndLetter=function(Zt){return Ze(Zt)&&Ve(Zt)&&Le[Zt.charCodeAt(0)].length<=2},dt=et.__arabicParser__.isArabicAlfLetter=function(Zt){return Ze(Zt)&&Je.indexOf(Zt.charCodeAt(0))>=0};et.__arabicParser__.arabicLetterHasIsolatedForm=function(Zt){return Ze(Zt)&&Ve(Zt)&&Le[Zt.charCodeAt(0)].length>=1};var Kt=et.__arabicParser__.arabicLetterHasFinalForm=function(Zt){return Ze(Zt)&&Ve(Zt)&&Le[Zt.charCodeAt(0)].length>=2};et.__arabicParser__.arabicLetterHasInitialForm=function(Zt){return Ze(Zt)&&Ve(Zt)&&Le[Zt.charCodeAt(0)].length>=3};var $t=et.__arabicParser__.arabicLetterHasMedialForm=function(Zt){return Ze(Zt)&&Ve(Zt)&&Le[Zt.charCodeAt(0)].length==4},er=et.__arabicParser__.resolveLigatures=function(Zt){var Ir=0,xr=Pe,ur="",on=0;for(Ir=0;Ir<Zt.length;Ir+=1)xr[Zt.charCodeAt(Ir)]!==void 0?(on++,typeof(xr=xr[Zt.charCodeAt(Ir)])=="number"&&(ur+=String.fromCharCode(xr),xr=Pe,on=0),Ir===Zt.length-1&&(xr=Pe,ur+=Zt.charAt(Ir-(on-1)),Ir-=on-1,on=0)):(xr=Pe,ur+=Zt.charAt(Ir-on),Ir-=on,on=0);return ur};et.__arabicParser__.isArabicDiacritic=function(Zt){return Zt!==void 0&&je[Zt.charCodeAt(0)]!==void 0};var cr=et.__arabicParser__.getCorrectForm=function(Zt,Ir,xr){return Ze(Zt)?Ve(Zt)===!1?-1:!Kt(Zt)||!Ze(Ir)&&!Ze(xr)||!Ze(xr)&&At(Ir)||At(Zt)&&!Ze(Ir)||At(Zt)&&dt(Ir)||At(Zt)&&At(Ir)?0:$t(Zt)&&Ze(Ir)&&!At(Ir)&&Ze(xr)&&Kt(xr)?3:At(Zt)||!Ze(xr)?1:2:-1},Ct=function(Ir){var xr=0,ur=0,on=0,Yn="",Vn="",Wn="",jn=(Ir=Ir||"").split("\\s+"),Gn=[];for(xr=0;xr<jn.length;xr+=1){for(Gn.push(""),ur=0;ur<jn[xr].length;ur+=1)Yn=jn[xr][ur],Vn=jn[xr][ur-1],Wn=jn[xr][ur+1],Ze(Yn)?(on=cr(Yn,Vn,Wn),Gn[xr]+=on!==-1?String.fromCharCode(Le[Yn.charCodeAt(0)][on]):Yn):Gn[xr]+=Yn;Gn[xr]=er(Gn[xr])}return Gn.join(" ")},Nr=et.__arabicParser__.processArabic=et.processArabic=function(){var Zt,Ir=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,xr=[];if(Array.isArray(Ir)){var ur=0;for(xr=[],ur=0;ur<Ir.length;ur+=1)Array.isArray(Ir[ur])?xr.push([Ct(Ir[ur][0]),Ir[ur][1],Ir[ur][2]]):xr.push([Ct(Ir[ur])]);Zt=xr}else Zt=Ct(Ir);return typeof arguments[0]=="string"?Zt:(arguments[0].text=Zt,arguments[0])};et.events.push(["preProcessText",Nr])}(K.API),K.API.autoPrint=function(et){var Le;switch((et=et||{}).variant=et.variant||"non-conform",et.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){Le=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 "+Le+" 0 R")})}return this},function(et){var Le=function(){var je=void 0;Object.defineProperty(this,"pdf",{get:function(){return je},set:function(Kt){je=Kt}});var Je=150;Object.defineProperty(this,"width",{get:function(){return Je},set:function(Kt){Je=isNaN(Kt)||Number.isInteger(Kt)===!1||Kt<0?150:Kt,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=Je+1)}});var Ve=300;Object.defineProperty(this,"height",{get:function(){return Ve},set:function(Kt){Ve=isNaN(Kt)||Number.isInteger(Kt)===!1||Kt<0?300:Kt,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Ve+1)}});var Ze=[];Object.defineProperty(this,"childNodes",{get:function(){return Ze},set:function(Kt){Ze=Kt}});var At={};Object.defineProperty(this,"style",{get:function(){return At},set:function(Kt){At=Kt}}),Object.defineProperty(this,"parentNode",{})};Le.prototype.getContext=function(Pe,je){var Je;if((Pe=Pe||"2d")!=="2d")return null;for(Je in je)this.pdf.context2d.hasOwnProperty(Je)&&(this.pdf.context2d[Je]=je[Je]);return this.pdf.context2d._canvas=this,this.pdf.context2d},Le.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},et.events.push(["initialized",function(){this.canvas=new Le,this.canvas.pdf=this}])}(K.API),function(et){var Le={left:0,top:0,bottom:0,right:0},Pe=!1,je=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({},Le),this.internal.__cell__.margins.width=this.getPageWidth(),Je.call(this))},Je=function(){this.internal.__cell__.lastCell=new Ve,this.internal.__cell__.pages=1},Ve=function(){var Kt=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Kt},set:function(xr){Kt=xr}});var $t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return $t},set:function(xr){$t=xr}});var er=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return er},set:function(xr){er=xr}});var cr=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return cr},set:function(xr){cr=xr}});var Ct=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Ct},set:function(xr){Ct=xr}});var Nr=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Nr},set:function(xr){Nr=xr}});var Zt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Zt},set:function(xr){Zt=xr}}),this};Ve.prototype.clone=function(){return new Ve(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},Ve.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},et.setHeaderFunction=function(dt){return je.call(this),this.internal.__cell__.headerFunction=typeof dt=="function"?dt:void 0,this},et.getTextDimensions=function(dt,Kt){je.call(this);var $t=(Kt=Kt||{}).fontSize||this.getFontSize(),er=Kt.font||this.getFont(),cr=Kt.scaleFactor||this.internal.scaleFactor,Ct=0,Nr=0,Zt=0,Ir=this;if(!Array.isArray(dt)&&typeof dt!="string"){if(typeof dt!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");dt=String(dt)}var xr=Kt.maxWidth;xr>0?typeof dt=="string"?dt=this.splitTextToSize(dt,xr):Object.prototype.toString.call(dt)==="[object Array]"&&(dt=dt.reduce(function(on,Yn){return on.concat(Ir.splitTextToSize(Yn,xr))},[])):dt=Array.isArray(dt)?dt:[dt];for(var ur=0;ur<dt.length;ur++)Ct<(Zt=this.getStringUnitWidth(dt[ur],{font:er})*$t)&&(Ct=Zt);return Ct!==0&&(Nr=dt.length),{w:Ct/=cr,h:Math.max((Nr*$t*this.getLineHeightFactor()-$t*(this.getLineHeightFactor()-1))/cr,0)}},et.cellAddPage=function(){je.call(this),this.addPage();var dt=this.internal.__cell__.margins||Le;return this.internal.__cell__.lastCell=new Ve(dt.left,dt.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Ze=et.cell=function(){var dt;dt=arguments[0]instanceof Ve?arguments[0]:new Ve(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),je.call(this);var Kt=this.internal.__cell__.lastCell,$t=this.internal.__cell__.padding,er=this.internal.__cell__.margins||Le,cr=this.internal.__cell__.tableHeaderRow,Ct=this.internal.__cell__.printHeaders;return Kt.lineNumber!==void 0&&(Kt.lineNumber===dt.lineNumber?(dt.x=(Kt.x||0)+(Kt.width||0),dt.y=Kt.y||0):Kt.y+Kt.height+dt.height+er.bottom>this.getPageHeight()?(this.cellAddPage(),dt.y=er.top,Ct&&cr&&(this.printHeaderRow(dt.lineNumber,!0),dt.y+=cr[0].height)):dt.y=Kt.y+Kt.height||dt.y),dt.text[0]!==void 0&&(this.rect(dt.x,dt.y,dt.width,dt.height,Pe===!0?"FD":void 0),dt.align==="right"?this.text(dt.text,dt.x+dt.width-$t,dt.y+$t,{align:"right",baseline:"top"}):dt.align==="center"?this.text(dt.text,dt.x+dt.width/2,dt.y+$t,{align:"center",baseline:"top",maxWidth:dt.width-$t-$t}):this.text(dt.text,dt.x+$t,dt.y+$t,{align:"left",baseline:"top",maxWidth:dt.width-$t-$t})),this.internal.__cell__.lastCell=dt,this};et.table=function(dt,Kt,$t,er,cr){if(je.call(this),!$t)throw new Error("No data for PDF table.");var Ct,Nr,Zt,Ir,xr=[],ur=[],on=[],Yn={},Vn={},Wn=[],jn=[],Gn=(cr=cr||{}).autoSize||!1,Nn=cr.printHeaders!==!1,mi=cr.css&&cr.css["font-size"]!==void 0?16*cr.css["font-size"]:cr.fontSize||12,en=cr.margins||Object.assign({width:this.getPageWidth()},Le),Kr=typeof cr.padding=="number"?cr.padding:3,dn=cr.headerBackgroundColor||"#c8c8c8",Vr=cr.headerTextColor||"#000";if(Je.call(this),this.internal.__cell__.printHeaders=Nn,this.internal.__cell__.margins=en,this.internal.__cell__.table_font_size=mi,this.internal.__cell__.padding=Kr,this.internal.__cell__.headerBackgroundColor=dn,this.internal.__cell__.headerTextColor=Vr,this.setFontSize(mi),er==null)ur=xr=Object.keys($t[0]),on=xr.map(function(){return"left"});else if(Array.isArray(er)&&b()(er[0])==="object")for(xr=er.map(function(si){return si.name}),ur=er.map(function(si){return si.prompt||si.name||""}),on=er.map(function(si){return si.align||"left"}),Ct=0;Ct<er.length;Ct+=1)Vn[er[Ct].name]=er[Ct].width*(19.049976/25.4);else Array.isArray(er)&&typeof er[0]=="string"&&(ur=xr=er,on=xr.map(function(){return"left"}));if(Gn||Array.isArray(er)&&typeof er[0]=="string")for(Ct=0;Ct<xr.length;Ct+=1){for(Yn[Ir=xr[Ct]]=$t.map(function(si){return si[Ir]}),this.setFont(void 0,"bold"),Wn.push(this.getTextDimensions(ur[Ct],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),Nr=Yn[Ir],this.setFont(void 0,"normal"),Zt=0;Zt<Nr.length;Zt+=1)Wn.push(this.getTextDimensions(Nr[Zt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);Vn[Ir]=Math.max.apply(null,Wn)+Kr+Kr,Wn=[]}if(Nn){var ni={};for(Ct=0;Ct<xr.length;Ct+=1)ni[xr[Ct]]={},ni[xr[Ct]].text=ur[Ct],ni[xr[Ct]].align=on[Ct];var Hn=At.call(this,ni,Vn);jn=xr.map(function(si){return new Ve(dt,Kt,Vn[si],Hn,ni[si].text,void 0,ni[si].align)}),this.setTableHeaderRow(jn),this.printHeaderRow(1,!1)}var Kn=er.reduce(function(si,Oi){return si[Oi.name]=Oi.align,si},{});for(Ct=0;Ct<$t.length;Ct+=1){"rowStart"in cr&&cr.rowStart instanceof Function&&cr.rowStart({row:Ct,data:$t[Ct]},this);var bn=At.call(this,$t[Ct],Vn);for(Zt=0;Zt<xr.length;Zt+=1){var wi=$t[Ct][xr[Zt]];"cellStart"in cr&&cr.cellStart instanceof Function&&cr.cellStart({row:Ct,col:Zt,data:wi},this),Ze.call(this,new Ve(dt,Kt,Vn[xr[Zt]],bn,wi,Ct+2,Kn[xr[Zt]]))}}return this.internal.__cell__.table_x=dt,this.internal.__cell__.table_y=Kt,this};var At=function(Kt,$t){var er=this.internal.__cell__.padding,cr=this.internal.__cell__.table_font_size,Ct=this.internal.scaleFactor;return Object.keys(Kt).map(function(Nr){var Zt=Kt[Nr];return this.splitTextToSize(Zt.hasOwnProperty("text")?Zt.text:Zt,$t[Nr]-er-er)},this).map(function(Nr){return this.getLineHeightFactor()*Nr.length*cr/Ct+er+er},this).reduce(function(Nr,Zt){return Math.max(Nr,Zt)},0)};et.setTableHeaderRow=function(dt){je.call(this),this.internal.__cell__.tableHeaderRow=dt},et.printHeaderRow=function(dt,Kt){if(je.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var $t;if(Pe=!0,typeof this.internal.__cell__.headerFunction=="function"){var er=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new Ve(er[0],er[1],er[2],er[3],void 0,-1)}this.setFont(void 0,"bold");for(var cr=[],Ct=0;Ct<this.internal.__cell__.tableHeaderRow.length;Ct+=1){$t=this.internal.__cell__.tableHeaderRow[Ct].clone(),Kt&&($t.y=this.internal.__cell__.margins.top||0,cr.push($t)),$t.lineNumber=dt;var Nr=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Ze.call(this,$t),this.setTextColor(Nr)}cr.length>0&&this.setTableHeaderRow(cr),this.setFont(void 0,"normal"),Pe=!1}}(K.API);var ot={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},rt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ue=ue(rt),Ge=[100,200,300,400,500,600,700,800,900],tt=ue(Ge);function Wt(et){var Le=et.family.replace(/"|'/g,"").toLowerCase(),Pe=function(Ve){return ot[Ve=Ve||"normal"]?Ve:"normal"}(et.style),je=function(Ve){if(!Ve)return 400;if(typeof Ve=="number")return Ve>=100&&Ve<=900&&Ve%100==0?Ve:400;if(/^\d00$/.test(Ve))return parseInt(Ve);switch(Ve){case"bold":return 700;case"normal":default:return 400}}(et.weight),Je=function(Ve){return typeof Ue[Ve=Ve||"normal"]=="number"?Ve:"normal"}(et.stretch);return{family:Le,style:Pe,weight:je,stretch:Je,src:et.src||[],ref:et.ref||{name:Le,style:[Je,Pe,je].join(" ")}}}function jt(et,Le,Pe,je){var Je;for(Je=Pe;Je>=0&&Je<Le.length;Je+=je)if(et[Le[Je]])return et[Le[Je]];for(Je=Pe;Je>=0&&Je<Le.length;Je-=je)if(et[Le[Je]])return et[Le[Je]]}var Yt={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Tt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Rt(et){return[et.stretch,et.style,et.weight,et.family].join(" ")}function yt(et,Le,Pe){for(var je=(Pe=Pe||{}).defaultFontFamily||"times",Je=Object.assign({},Yt,Pe.genericFontFamilies||{}),Ve=null,Ze=null,At=0;At<Le.length;++At)if(Je[(Ve=Wt(Le[At])).family]&&(Ve.family=Je[Ve.family]),et.hasOwnProperty(Ve.family)){Ze=et[Ve.family];break}if(!(Ze=Ze||et[je]))throw new Error("Could not find a font-family for the rule '"+Rt(Ve)+"' and default family '"+je+"'.");if(Ze=function(dt,Kt){if(Kt[dt])return Kt[dt];var $t=Ue[dt],er=$t<=Ue.normal?-1:1,cr=jt(Kt,rt,$t,er);if(!cr)throw new Error("Could not find a matching font-stretch value for "+dt);return cr}(Ve.stretch,Ze),Ze=function(dt,Kt){if(Kt[dt])return Kt[dt];for(var $t=ot[dt],er=0;er<$t.length;++er)if(Kt[$t[er]])return Kt[$t[er]];throw new Error("Could not find a matching font-style for "+dt)}(Ve.style,Ze),!(Ze=function(dt,Kt){if(Kt[dt])return Kt[dt];if(dt===400&&Kt[500])return Kt[500];if(dt===500&&Kt[400])return Kt[400];var $t=tt[dt],er=jt(Kt,Ge,$t,dt<400?-1:1);if(!er)throw new Error("Could not find a matching font-weight for value "+dt);return er}(Ve.weight,Ze)))throw new Error("Failed to resolve a font for the rule '"+Rt(Ve)+"'.");return Ze}function Jt(et){return et.trimLeft()}function Lr(et,Le){for(var Pe=0;Pe<et.length;){if(et.charAt(Pe)===Le)return[et.substring(0,Pe),et.substring(Pe+1)];Pe+=1}return null}function zr(et){var Le=et.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return Le===null?null:[Le[0],et.substring(Le[0].length)]}var rn,ei,fn,Zr=["times"];!function(et){var Le,Pe,je,Je,Ve,Ze,At,dt,Kt,$t=function(Sr){return Sr=Sr||{},this.isStrokeTransparent=Sr.isStrokeTransparent||!1,this.strokeOpacity=Sr.strokeOpacity||1,this.strokeStyle=Sr.strokeStyle||"#000000",this.fillStyle=Sr.fillStyle||"#000000",this.isFillTransparent=Sr.isFillTransparent||!1,this.fillOpacity=Sr.fillOpacity||1,this.font=Sr.font||"10px sans-serif",this.textBaseline=Sr.textBaseline||"alphabetic",this.textAlign=Sr.textAlign||"left",this.lineWidth=Sr.lineWidth||1,this.lineJoin=Sr.lineJoin||"miter",this.lineCap=Sr.lineCap||"butt",this.path=Sr.path||[],this.transform=Sr.transform!==void 0?Sr.transform.clone():new dt,this.globalCompositeOperation=Sr.globalCompositeOperation||"normal",this.globalAlpha=Sr.globalAlpha||1,this.clip_path=Sr.clip_path||[],this.currentPoint=Sr.currentPoint||new Ze,this.miterLimit=Sr.miterLimit||10,this.lastPoint=Sr.lastPoint||new Ze,this.lineDashOffset=Sr.lineDashOffset||0,this.lineDash=Sr.lineDash||[],this.margin=Sr.margin||[0,0,0,0],this.prevPageLastElemOffset=Sr.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Sr.ignoreClearRect!="boolean"||Sr.ignoreClearRect,this};et.events.push(["initialized",function(){this.context2d=new er(this),Le=this.internal.f2,Pe=this.internal.getCoordinateString,je=this.internal.getVerticalCoordinateString,Je=this.internal.getHorizontalCoordinate,Ve=this.internal.getVerticalCoordinate,Ze=this.internal.Point,At=this.internal.Rectangle,dt=this.internal.Matrix,Kt=new $t}]);var er=function(Sr){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var sn=Sr;Object.defineProperty(this,"pdf",{get:function(){return sn}});var yn=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return yn},set:function(gr){yn=Boolean(gr)}});var On=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return On},set:function(gr){On=Boolean(gr)}});var Pn=0;Object.defineProperty(this,"posX",{get:function(){return Pn},set:function(gr){isNaN(gr)||(Pn=gr)}});var ti=0;Object.defineProperty(this,"posY",{get:function(){return ti},set:function(gr){isNaN(gr)||(ti=gr)}}),Object.defineProperty(this,"margin",{get:function(){return Kt.margin},set:function(gr){var _r;typeof gr=="number"?_r=[gr,gr,gr,gr]:((_r=new Array(4))[0]=gr[0],_r[1]=gr.length>=2?gr[1]:_r[0],_r[2]=gr.length>=3?gr[2]:_r[0],_r[3]=gr.length>=4?gr[3]:_r[1]),Kt.margin=_r}});var ai=!1;Object.defineProperty(this,"autoPaging",{get:function(){return ai},set:function(gr){ai=gr}});var qn=0;Object.defineProperty(this,"lastBreak",{get:function(){return qn},set:function(gr){qn=gr}});var xi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return xi},set:function(gr){xi=gr}}),Object.defineProperty(this,"ctx",{get:function(){return Kt},set:function(gr){gr instanceof $t&&(Kt=gr)}}),Object.defineProperty(this,"path",{get:function(){return Kt.path},set:function(gr){Kt.path=gr}});var Pi=[];Object.defineProperty(this,"ctxStack",{get:function(){return Pi},set:function(gr){Pi=gr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(gr){var _r;_r=cr(gr),this.ctx.fillStyle=_r.style,this.ctx.isFillTransparent=_r.a===0,this.ctx.fillOpacity=_r.a,this.pdf.setFillColor(_r.r,_r.g,_r.b,{a:_r.a}),this.pdf.setTextColor(_r.r,_r.g,_r.b,{a:_r.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(gr){var _r=cr(gr);this.ctx.strokeStyle=_r.style,this.ctx.isStrokeTransparent=_r.a===0,this.ctx.strokeOpacity=_r.a,_r.a===0?this.pdf.setDrawColor(255,255,255):(_r.a,this.pdf.setDrawColor(_r.r,_r.g,_r.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(gr){["butt","round","square"].indexOf(gr)!==-1&&(this.ctx.lineCap=gr,this.pdf.setLineCap(gr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(gr){isNaN(gr)||(this.ctx.lineWidth=gr,this.pdf.setLineWidth(gr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(gr){["bevel","round","miter"].indexOf(gr)!==-1&&(this.ctx.lineJoin=gr,this.pdf.setLineJoin(gr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(gr){isNaN(gr)||(this.ctx.miterLimit=gr,this.pdf.setMiterLimit(gr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(gr){this.ctx.textBaseline=gr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(gr){["right","end","center","left","start"].indexOf(gr)!==-1&&(this.ctx.textAlign=gr)}});var ki=null;function ja(pt,gr){if(ki===null){var _r=function(Dr){var tn=[];return Object.keys(Dr).forEach(function(Br){Dr[Br].forEach(function(wn){var mn=null;switch(wn){case"bold":mn={family:Br,weight:"bold"};break;case"italic":mn={family:Br,style:"italic"};break;case"bolditalic":mn={family:Br,weight:"bold",style:"italic"};break;case"":case"normal":mn={family:Br}}mn!==null&&(mn.ref={name:Br,style:wn},tn.push(mn))})}),tn}(pt.getFontList());ki=function(Dr){for(var tn={},Br=0;Br<Dr.length;++Br){var wn=Wt(Dr[Br]),mn=wn.family,_n=wn.stretch,hi=wn.style,li=wn.weight;tn[mn]=tn[mn]||{},tn[mn][_n]=tn[mn][_n]||{},tn[mn][_n][hi]=tn[mn][_n][hi]||{},tn[mn][_n][hi][li]=wn}return tn}(_r.concat(gr))}return ki}var ri=null;Object.defineProperty(this,"fontFaces",{get:function(){return ri},set:function(gr){ki=null,ri=gr}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(gr){var _r;if(this.ctx.font=gr,(_r=/^\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(gr))!==null){var Dr=_r[1],tn=(_r[2],_r[3]),Br=_r[4],wn=(_r[5],_r[6]),mn=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Br)[2];Br=mn==="px"?Math.floor(parseFloat(Br)*this.pdf.internal.scaleFactor):mn==="em"?Math.floor(parseFloat(Br)*this.pdf.getFontSize()):Math.floor(parseFloat(Br)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Br);var _n=function(tr){var Or,wr,Xr=[],Qr=tr.trim();if(Qr==="")return Zr;if(Qr in Tt)return[Tt[Qr]];for(;Qr!=="";){switch(wr=null,Or=(Qr=Jt(Qr)).charAt(0)){case'"':case"'":wr=Lr(Qr.substring(1),Or);break;default:wr=zr(Qr)}if(wr===null)return Zr;if(Xr.push(wr[0]),(Qr=Jt(wr[1]))!==""&&Qr.charAt(0)!==",")return Zr;Qr=Qr.replace(/^,/,"")}return Xr}(wn);if(this.fontFaces){var hi=yt(ja(this.pdf,this.fontFaces),_n.map(function(tr){return{family:tr,stretch:"normal",weight:tn,style:Dr}}));this.pdf.setFont(hi.ref.name,hi.ref.style)}else{var li="";(tn==="bold"||parseInt(tn,10)>=700||Dr==="bold")&&(li="bold"),Dr==="italic"&&(li+="italic"),li.length===0&&(li="normal");for(var Zn="",$e={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"},kt=0;kt<_n.length;kt++){if(this.pdf.internal.getFont(_n[kt],li,{noFallback:!0,disableWarning:!0})!==void 0){Zn=_n[kt];break}if(li==="bolditalic"&&this.pdf.internal.getFont(_n[kt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Zn=_n[kt],li="bold";else if(this.pdf.internal.getFont(_n[kt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Zn=_n[kt],li="normal";break}}if(Zn===""){for(var or=0;or<_n.length;or++)if($e[_n[or]]){Zn=$e[_n[or]];break}}Zn=Zn===""?"Times":Zn,this.pdf.setFont(Zn,li)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(gr){this.ctx.globalCompositeOperation=gr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(gr){this.ctx.globalAlpha=gr}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(gr){this.ctx.lineDashOffset=gr,Oi.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(gr){this.ctx.lineDash=gr,Oi.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(gr){this.ctx.ignoreClearRect=Boolean(gr)}})};er.prototype.setLineDash=function(qr){this.lineDash=qr},er.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},er.prototype.fill=function(){Yn.call(this,"fill",!1)},er.prototype.stroke=function(){Yn.call(this,"stroke",!1)},er.prototype.beginPath=function(){this.path=[{type:"begin"}]},er.prototype.moveTo=function(qr,Sr){if(isNaN(qr)||isNaN(Sr))throw l.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var sn=this.ctx.transform.applyToPoint(new Ze(qr,Sr));this.path.push({type:"mt",x:sn.x,y:sn.y}),this.ctx.lastPoint=new Ze(qr,Sr)},er.prototype.closePath=function(){var qr=new Ze(0,0),Sr=0;for(Sr=this.path.length-1;Sr!==-1;Sr--)if(this.path[Sr].type==="begin"&&b()(this.path[Sr+1])==="object"&&typeof this.path[Sr+1].x=="number"){qr=new Ze(this.path[Sr+1].x,this.path[Sr+1].y),this.path.push({type:"lt",x:qr.x,y:qr.y});break}b()(this.path[Sr+2])==="object"&&typeof this.path[Sr+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[Sr+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new Ze(qr.x,qr.y)},er.prototype.lineTo=function(qr,Sr){if(isNaN(qr)||isNaN(Sr))throw l.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var sn=this.ctx.transform.applyToPoint(new Ze(qr,Sr));this.path.push({type:"lt",x:sn.x,y:sn.y}),this.ctx.lastPoint=new Ze(sn.x,sn.y)},er.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Yn.call(this,null,!0)},er.prototype.quadraticCurveTo=function(qr,Sr,sn,yn){if(isNaN(sn)||isNaN(yn)||isNaN(qr)||isNaN(Sr))throw l.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var On=this.ctx.transform.applyToPoint(new Ze(sn,yn)),Pn=this.ctx.transform.applyToPoint(new Ze(qr,Sr));this.path.push({type:"qct",x1:Pn.x,y1:Pn.y,x:On.x,y:On.y}),this.ctx.lastPoint=new Ze(On.x,On.y)},er.prototype.bezierCurveTo=function(qr,Sr,sn,yn,On,Pn){if(isNaN(On)||isNaN(Pn)||isNaN(qr)||isNaN(Sr)||isNaN(sn)||isNaN(yn))throw l.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var ti=this.ctx.transform.applyToPoint(new Ze(On,Pn)),ai=this.ctx.transform.applyToPoint(new Ze(qr,Sr)),qn=this.ctx.transform.applyToPoint(new Ze(sn,yn));this.path.push({type:"bct",x1:ai.x,y1:ai.y,x2:qn.x,y2:qn.y,x:ti.x,y:ti.y}),this.ctx.lastPoint=new Ze(ti.x,ti.y)},er.prototype.arc=function(qr,Sr,sn,yn,On,Pn){if(isNaN(qr)||isNaN(Sr)||isNaN(sn)||isNaN(yn)||isNaN(On))throw l.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Pn=Boolean(Pn),!this.ctx.transform.isIdentity){var ti=this.ctx.transform.applyToPoint(new Ze(qr,Sr));qr=ti.x,Sr=ti.y;var ai=this.ctx.transform.applyToPoint(new Ze(0,sn)),qn=this.ctx.transform.applyToPoint(new Ze(0,0));sn=Math.sqrt(Math.pow(ai.x-qn.x,2)+Math.pow(ai.y-qn.y,2))}Math.abs(On-yn)>=2*Math.PI&&(yn=0,On=2*Math.PI),this.path.push({type:"arc",x:qr,y:Sr,radius:sn,startAngle:yn,endAngle:On,counterclockwise:Pn})},er.prototype.arcTo=function(qr,Sr,sn,yn,On){throw new Error("arcTo not implemented.")},er.prototype.rect=function(qr,Sr,sn,yn){if(isNaN(qr)||isNaN(Sr)||isNaN(sn)||isNaN(yn))throw l.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(qr,Sr),this.lineTo(qr+sn,Sr),this.lineTo(qr+sn,Sr+yn),this.lineTo(qr,Sr+yn),this.lineTo(qr,Sr),this.lineTo(qr+sn,Sr),this.lineTo(qr,Sr)},er.prototype.fillRect=function(qr,Sr,sn,yn){if(isNaN(qr)||isNaN(Sr)||isNaN(sn)||isNaN(yn))throw l.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Ct.call(this)){var On={};this.lineCap!=="butt"&&(On.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(On.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(qr,Sr,sn,yn),this.fill(),On.hasOwnProperty("lineCap")&&(this.lineCap=On.lineCap),On.hasOwnProperty("lineJoin")&&(this.lineJoin=On.lineJoin)}},er.prototype.strokeRect=function(qr,Sr,sn,yn){if(isNaN(qr)||isNaN(Sr)||isNaN(sn)||isNaN(yn))throw l.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Nr.call(this)||(this.beginPath(),this.rect(qr,Sr,sn,yn),this.stroke())},er.prototype.clearRect=function(qr,Sr,sn,yn){if(isNaN(qr)||isNaN(Sr)||isNaN(sn)||isNaN(yn))throw l.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(qr,Sr,sn,yn))},er.prototype.save=function(qr){qr=typeof qr!="boolean"||qr;for(var Sr=this.pdf.internal.getCurrentPageInfo().pageNumber,sn=0;sn<this.pdf.internal.getNumberOfPages();sn++)this.pdf.setPage(sn+1),this.pdf.internal.out("q");if(this.pdf.setPage(Sr),qr){this.ctx.fontSize=this.pdf.internal.getFontSize();var yn=new $t(this.ctx);this.ctxStack.push(this.ctx),this.ctx=yn}},er.prototype.restore=function(qr){qr=typeof qr!="boolean"||qr;for(var Sr=this.pdf.internal.getCurrentPageInfo().pageNumber,sn=0;sn<this.pdf.internal.getNumberOfPages();sn++)this.pdf.setPage(sn+1),this.pdf.internal.out("Q");this.pdf.setPage(Sr),qr&&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)},er.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var cr=function(Sr){var sn,yn,On,Pn;if(Sr.isCanvasGradient===!0&&(Sr=Sr.getColor()),!Sr)return{r:0,g:0,b:0,a:0,style:Sr};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Sr))sn=0,yn=0,On=0,Pn=0;else{var ti=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Sr);if(ti!==null)sn=parseInt(ti[1]),yn=parseInt(ti[2]),On=parseInt(ti[3]),Pn=1;else if((ti=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Sr))!==null)sn=parseInt(ti[1]),yn=parseInt(ti[2]),On=parseInt(ti[3]),Pn=parseFloat(ti[4]);else{if(Pn=1,typeof Sr=="string"&&Sr.charAt(0)!=="#"){var ai=new s(Sr);Sr=ai.ok?ai.toHex():"#000000"}Sr.length===4?(sn=Sr.substring(1,2),sn+=sn,yn=Sr.substring(2,3),yn+=yn,On=Sr.substring(3,4),On+=On):(sn=Sr.substring(1,3),yn=Sr.substring(3,5),On=Sr.substring(5,7)),sn=parseInt(sn,16),yn=parseInt(yn,16),On=parseInt(On,16)}}return{r:sn,g:yn,b:On,a:Pn,style:Sr}},Ct=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},Nr=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};er.prototype.fillText=function(qr,Sr,sn,yn){if(isNaN(Sr)||isNaN(sn)||typeof qr!="string")throw l.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(yn=isNaN(yn)?void 0:yn,!Ct.call(this)){var On=bn(this.ctx.transform.rotation),Pn=this.ctx.transform.scaleX;Kr.call(this,{text:qr,x:Sr,y:sn,scale:Pn,angle:On,align:this.textAlign,maxWidth:yn})}},er.prototype.strokeText=function(qr,Sr,sn,yn){if(isNaN(Sr)||isNaN(sn)||typeof qr!="string")throw l.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!Nr.call(this)){yn=isNaN(yn)?void 0:yn;var On=bn(this.ctx.transform.rotation),Pn=this.ctx.transform.scaleX;Kr.call(this,{text:qr,x:Sr,y:sn,scale:Pn,renderingMode:"stroke",angle:On,align:this.textAlign,maxWidth:yn})}},er.prototype.measureText=function(qr){if(typeof qr!="string")throw l.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Sr=this.pdf,sn=this.pdf.internal.scaleFactor,yn=Sr.internal.getFontSize(),On=Sr.getStringUnitWidth(qr)*yn/Sr.internal.scaleFactor,Pn=function(ai){var qn=(ai=ai||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return qn}}),this};return new Pn({width:On*=Math.round(96*sn/72*1e4)/1e4})},er.prototype.scale=function(qr,Sr){if(isNaN(qr)||isNaN(Sr))throw l.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var sn=new dt(qr,0,0,Sr,0,0);this.ctx.transform=this.ctx.transform.multiply(sn)},er.prototype.rotate=function(qr){if(isNaN(qr))throw l.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Sr=new dt(Math.cos(qr),Math.sin(qr),-Math.sin(qr),Math.cos(qr),0,0);this.ctx.transform=this.ctx.transform.multiply(Sr)},er.prototype.translate=function(qr,Sr){if(isNaN(qr)||isNaN(Sr))throw l.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var sn=new dt(1,0,0,1,qr,Sr);this.ctx.transform=this.ctx.transform.multiply(sn)},er.prototype.transform=function(qr,Sr,sn,yn,On,Pn){if(isNaN(qr)||isNaN(Sr)||isNaN(sn)||isNaN(yn)||isNaN(On)||isNaN(Pn))throw l.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var ti=new dt(qr,Sr,sn,yn,On,Pn);this.ctx.transform=this.ctx.transform.multiply(ti)},er.prototype.setTransform=function(qr,Sr,sn,yn,On,Pn){qr=isNaN(qr)?1:qr,Sr=isNaN(Sr)?0:Sr,sn=isNaN(sn)?0:sn,yn=isNaN(yn)?1:yn,On=isNaN(On)?0:On,Pn=isNaN(Pn)?0:Pn,this.ctx.transform=new dt(qr,Sr,sn,yn,On,Pn)};var Zt=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};er.prototype.drawImage=function(qr,Sr,sn,yn,On,Pn,ti,ai,qn){var xi=this.pdf.getImageProperties(qr),Pi=1,ki=1,ja=1,ri=1;yn!==void 0&&ai!==void 0&&(ja=ai/yn,ri=qn/On,Pi=xi.width/yn*ai/yn,ki=xi.height/On*qn/On),Pn===void 0&&(Pn=Sr,ti=sn,Sr=0,sn=0),yn!==void 0&&ai===void 0&&(ai=yn,qn=On),yn===void 0&&ai===void 0&&(ai=xi.width,qn=xi.height);for(var pt,gr=this.ctx.transform.decompose(),_r=bn(gr.rotate.shx),Dr=new dt,tn=(Dr=(Dr=(Dr=Dr.multiply(gr.translate)).multiply(gr.skew)).multiply(gr.scale)).applyToRectangle(new At(Pn-Sr*ja,ti-sn*ri,yn*Pi,On*ki)),Br=Ir.call(this,tn),wn=[],mn=0;mn<Br.length;mn+=1)wn.indexOf(Br[mn])===-1&&wn.push(Br[mn]);if(on(wn),this.autoPaging)for(var _n=wn[0],hi=wn[wn.length-1],li=_n;li<hi+1;li++){this.pdf.setPage(li);var Zn=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],$e=li===1?this.posY+this.margin[0]:this.margin[0],kt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],or=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],tr=li===1?0:kt+(li-2)*or;if(this.ctx.clip_path.length!==0){var Or=this.path;pt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ur(pt,this.posX+this.margin[3],-tr+$e+this.ctx.prevPageLastElemOffset),Vn.call(this,"fill",!0),this.path=Or}var wr=JSON.parse(JSON.stringify(tn));wr=ur([wr],this.posX+this.margin[3],-tr+$e+this.ctx.prevPageLastElemOffset)[0];var Xr=(li>_n||li<hi)&&Zt.call(this);Xr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Zn,or,null).clip().discardPath()),this.pdf.addImage(qr,"JPEG",wr.x,wr.y,wr.w,wr.h,null,null,_r),Xr&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(qr,"JPEG",tn.x,tn.y,tn.w,tn.h,null,null,_r)};var Ir=function(Sr,sn,yn){var On=[];sn=sn||this.pdf.internal.pageSize.width,yn=yn||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Pn=this.posY+this.ctx.prevPageLastElemOffset;switch(Sr.type){default:case"mt":case"lt":On.push(Math.floor((Sr.y+Pn)/yn)+1);break;case"arc":On.push(Math.floor((Sr.y+Pn-Sr.radius)/yn)+1),On.push(Math.floor((Sr.y+Pn+Sr.radius)/yn)+1);break;case"qct":var ti=wi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Sr.x1,Sr.y1,Sr.x,Sr.y);On.push(Math.floor((ti.y+Pn)/yn)+1),On.push(Math.floor((ti.y+ti.h+Pn)/yn)+1);break;case"bct":var ai=si(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Sr.x1,Sr.y1,Sr.x2,Sr.y2,Sr.x,Sr.y);On.push(Math.floor((ai.y+Pn)/yn)+1),On.push(Math.floor((ai.y+ai.h+Pn)/yn)+1);break;case"rect":On.push(Math.floor((Sr.y+Pn)/yn)+1),On.push(Math.floor((Sr.y+Sr.h+Pn)/yn)+1)}for(var qn=0;qn<On.length;qn+=1)for(;this.pdf.internal.getNumberOfPages()<On[qn];)xr.call(this);return On},xr=function(){var Sr=this.fillStyle,sn=this.strokeStyle,yn=this.font,On=this.lineCap,Pn=this.lineWidth,ti=this.lineJoin;this.pdf.addPage(),this.fillStyle=Sr,this.strokeStyle=sn,this.font=yn,this.lineCap=On,this.lineWidth=Pn,this.lineJoin=ti},ur=function(Sr,sn,yn){for(var On=0;On<Sr.length;On++)switch(Sr[On].type){case"bct":Sr[On].x2+=sn,Sr[On].y2+=yn;case"qct":Sr[On].x1+=sn,Sr[On].y1+=yn;case"mt":case"lt":case"arc":default:Sr[On].x+=sn,Sr[On].y+=yn}return Sr},on=function(Sr){return Sr.sort(function(sn,yn){return sn-yn})},Yn=function(Sr,sn){for(var yn,On,Pn=this.fillStyle,ti=this.strokeStyle,ai=this.lineCap,qn=this.lineWidth,xi=Math.abs(qn*this.ctx.transform.scaleX),Pi=this.lineJoin,ki=JSON.parse(JSON.stringify(this.path)),ja=JSON.parse(JSON.stringify(this.path)),ri=[],pt=0;pt<ja.length;pt++)if(ja[pt].x!==void 0)for(var gr=Ir.call(this,ja[pt]),_r=0;_r<gr.length;_r+=1)ri.indexOf(gr[_r])===-1&&ri.push(gr[_r]);for(var Dr=0;Dr<ri.length;Dr++)for(;this.pdf.internal.getNumberOfPages()<ri[Dr];)xr.call(this);if(on(ri),this.autoPaging)for(var tn=ri[0],Br=ri[ri.length-1],wn=tn;wn<Br+1;wn++){this.pdf.setPage(wn),this.fillStyle=Pn,this.strokeStyle=ti,this.lineCap=ai,this.lineWidth=xi,this.lineJoin=Pi;var mn=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],_n=wn===1?this.posY+this.margin[0]:this.margin[0],hi=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],li=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Zn=wn===1?0:hi+(wn-2)*li;if(this.ctx.clip_path.length!==0){var $e=this.path;yn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ur(yn,this.posX+this.margin[3],-Zn+_n+this.ctx.prevPageLastElemOffset),Vn.call(this,Sr,!0),this.path=$e}if(On=JSON.parse(JSON.stringify(ki)),this.path=ur(On,this.posX+this.margin[3],-Zn+_n+this.ctx.prevPageLastElemOffset),sn===!1||wn===0){var kt=(wn>tn||wn<Br)&&Zt.call(this);kt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],mn,li,null).clip().discardPath()),Vn.call(this,Sr,sn),kt&&this.pdf.restoreGraphicsState()}this.lineWidth=qn}else this.lineWidth=xi,Vn.call(this,Sr,sn),this.lineWidth=qn;this.path=ki},Vn=function(Sr,sn){if((Sr!=="stroke"||sn||!Nr.call(this))&&(Sr==="stroke"||sn||!Ct.call(this))){for(var yn,On,Pn=[],ti=this.path,ai=0;ai<ti.length;ai++){var qn=ti[ai];switch(qn.type){case"begin":Pn.push({begin:!0});break;case"close":Pn.push({close:!0});break;case"mt":Pn.push({start:qn,deltas:[],abs:[]});break;case"lt":var xi=Pn.length;if(!isNaN(ti[ai-1].x)&&(yn=[qn.x-ti[ai-1].x,qn.y-ti[ai-1].y],xi>0)){for(;xi>=0;xi--)if(Pn[xi-1].close!==!0&&Pn[xi-1].begin!==!0){Pn[xi-1].deltas.push(yn),Pn[xi-1].abs.push(qn);break}}break;case"bct":yn=[qn.x1-ti[ai-1].x,qn.y1-ti[ai-1].y,qn.x2-ti[ai-1].x,qn.y2-ti[ai-1].y,qn.x-ti[ai-1].x,qn.y-ti[ai-1].y],Pn[Pn.length-1].deltas.push(yn);break;case"qct":var Pi=ti[ai-1].x+2/3*(qn.x1-ti[ai-1].x),ki=ti[ai-1].y+2/3*(qn.y1-ti[ai-1].y),ja=qn.x+2/3*(qn.x1-qn.x),ri=qn.y+2/3*(qn.y1-qn.y),pt=qn.x,gr=qn.y;yn=[Pi-ti[ai-1].x,ki-ti[ai-1].y,ja-ti[ai-1].x,ri-ti[ai-1].y,pt-ti[ai-1].x,gr-ti[ai-1].y],Pn[Pn.length-1].deltas.push(yn);break;case"arc":Pn.push({deltas:[],abs:[],arc:!0}),Array.isArray(Pn[Pn.length-1].abs)&&Pn[Pn.length-1].abs.push(qn)}}On=sn?null:Sr==="stroke"?"stroke":"fill";for(var _r=0;_r<Pn.length;_r++){if(Pn[_r].arc){for(var Dr=Pn[_r].abs,tn=0;tn<Dr.length;tn++){var Br=Dr[tn];Br.type==="arc"?Gn.call(this,Br.x,Br.y,Br.radius,Br.startAngle,Br.endAngle,Br.counterclockwise,void 0,sn):dn.call(this,Br.x,Br.y)}Nn.call(this,On),this.pdf.internal.out("h")}if(!Pn[_r].arc&&Pn[_r].close!==!0&&Pn[_r].begin!==!0){var wn=Pn[_r].start.x,mn=Pn[_r].start.y;Vr.call(this,Pn[_r].deltas,wn,mn)}}On&&Nn.call(this,On),sn&&mi.call(this)}},Wn=function(Sr){var sn=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,yn=sn*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Sr-yn;case"top":return Sr+sn-yn;case"hanging":return Sr+sn-2*yn;case"middle":return Sr+sn/2-yn;case"ideographic":return Sr;case"alphabetic":default:return Sr}},jn=function(Sr){return Sr+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};er.prototype.createLinearGradient=function(){var qr=function(){};return qr.colorStops=[],qr.addColorStop=function(Sr,sn){this.colorStops.push([Sr,sn])},qr.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},qr.isCanvasGradient=!0,qr},er.prototype.createPattern=function(){return this.createLinearGradient()},er.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Gn=function(Sr,sn,yn,On,Pn,ti,ai,qn){for(var xi=Hn.call(this,yn,On,Pn,ti),Pi=0;Pi<xi.length;Pi++){var ki=xi[Pi];Pi===0&&en.call(this,ki.x1+Sr,ki.y1+sn),ni.call(this,Sr,sn,ki.x2,ki.y2,ki.x3,ki.y3,ki.x4,ki.y4)}qn?mi.call(this):Nn.call(this,ai)},Nn=function(Sr){switch(Sr){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},mi=function(){this.pdf.clip(),this.pdf.discardPath()},en=function(Sr,sn){this.pdf.internal.out(Pe(Sr)+" "+je(sn)+" m")},Kr=function(Sr){var sn;switch(Sr.align){case"right":case"end":sn="right";break;case"center":sn="center";break;case"left":case"start":default:sn="left"}var yn=this.pdf.getTextDimensions(Sr.text),On=Wn.call(this,Sr.y),Pn=jn.call(this,On)-yn.h,ti=this.ctx.transform.applyToPoint(new Ze(Sr.x,On)),ai=this.ctx.transform.decompose(),qn=new dt;qn=(qn=(qn=qn.multiply(ai.translate)).multiply(ai.skew)).multiply(ai.scale);for(var xi,Pi,ki,ja=this.ctx.transform.applyToRectangle(new At(Sr.x,On,yn.w,yn.h)),ri=qn.applyToRectangle(new At(Sr.x,Pn,yn.w,yn.h)),pt=Ir.call(this,ri),gr=[],_r=0;_r<pt.length;_r+=1)gr.indexOf(pt[_r])===-1&&gr.push(pt[_r]);if(on(gr),this.autoPaging)for(var Dr=gr[0],tn=gr[gr.length-1],Br=Dr;Br<tn+1;Br++){this.pdf.setPage(Br);var wn=Br===1?this.posY+this.margin[0]:this.margin[0],mn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],_n=this.pdf.internal.pageSize.height-this.margin[2],hi=_n-this.margin[0],li=this.pdf.internal.pageSize.width-this.margin[1],Zn=li-this.margin[3],$e=Br===1?0:mn+(Br-2)*hi;if(this.ctx.clip_path.length!==0){var kt=this.path;xi=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ur(xi,this.posX+this.margin[3],-1*$e+wn),Vn.call(this,"fill",!0),this.path=kt}var or=ur([JSON.parse(JSON.stringify(ri))],this.posX+this.margin[3],-$e+wn+this.ctx.prevPageLastElemOffset)[0];Sr.scale>=.01&&(Pi=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pi*Sr.scale),ki=this.lineWidth,this.lineWidth=ki*Sr.scale);var tr=this.autoPaging!=="text";if(tr||or.y+or.h<=_n){if(tr||or.y>=wn&&or.x<=li){var Or=tr?Sr.text:this.pdf.splitTextToSize(Sr.text,Sr.maxWidth||li-or.x)[0],wr=ur([JSON.parse(JSON.stringify(ja))],this.posX+this.margin[3],-$e+wn+this.ctx.prevPageLastElemOffset)[0],Xr=tr&&(Br>Dr||Br<tn)&&Zt.call(this);Xr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Zn,hi,null).clip().discardPath()),this.pdf.text(Or,wr.x,wr.y,{angle:Sr.angle,align:sn,renderingMode:Sr.renderingMode}),Xr&&this.pdf.restoreGraphicsState()}}else or.y<_n&&(this.ctx.prevPageLastElemOffset+=_n-or.y);Sr.scale>=.01&&(this.pdf.setFontSize(Pi),this.lineWidth=ki)}else Sr.scale>=.01&&(Pi=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pi*Sr.scale),ki=this.lineWidth,this.lineWidth=ki*Sr.scale),this.pdf.text(Sr.text,ti.x+this.posX,ti.y+this.posY,{angle:Sr.angle,align:sn,renderingMode:Sr.renderingMode,maxWidth:Sr.maxWidth}),Sr.scale>=.01&&(this.pdf.setFontSize(Pi),this.lineWidth=ki)},dn=function(Sr,sn,yn,On){yn=yn||0,On=On||0,this.pdf.internal.out(Pe(Sr+yn)+" "+je(sn+On)+" l")},Vr=function(Sr,sn,yn){return this.pdf.lines(Sr,sn,yn,null,null)},ni=function(Sr,sn,yn,On,Pn,ti,ai,qn){this.pdf.internal.out([Le(Je(yn+Sr)),Le(Ve(On+sn)),Le(Je(Pn+Sr)),Le(Ve(ti+sn)),Le(Je(ai+Sr)),Le(Ve(qn+sn)),"c"].join(" "))},Hn=function(Sr,sn,yn,On){for(var Pn=2*Math.PI,ti=Math.PI/2;sn>yn;)sn-=Pn;var ai=Math.abs(yn-sn);ai<Pn&&On&&(ai=Pn-ai);for(var qn=[],xi=On?-1:1,Pi=sn;ai>1e-5;){var ki=Pi+xi*Math.min(ai,ti);qn.push(Kn.call(this,Sr,Pi,ki)),ai-=Math.abs(ki-Pi),Pi=ki}return qn},Kn=function(Sr,sn,yn){var On=(yn-sn)/2,Pn=Sr*Math.cos(On),ti=Sr*Math.sin(On),ai=Pn,qn=-ti,xi=ai*ai+qn*qn,Pi=xi+ai*Pn+qn*ti,ki=4/3*(Math.sqrt(2*xi*Pi)-Pi)/(ai*ti-qn*Pn),ja=ai-ki*qn,ri=qn+ki*ai,pt=ja,gr=-ri,_r=On+sn,Dr=Math.cos(_r),tn=Math.sin(_r);return{x1:Sr*Math.cos(sn),y1:Sr*Math.sin(sn),x2:ja*Dr-ri*tn,y2:ja*tn+ri*Dr,x3:pt*Dr-gr*tn,y3:pt*tn+gr*Dr,x4:Sr*Math.cos(yn),y4:Sr*Math.sin(yn)}},bn=function(Sr){return 180*Sr/Math.PI},wi=function(Sr,sn,yn,On,Pn,ti){var ai=Sr+.5*(yn-Sr),qn=sn+.5*(On-sn),xi=Pn+.5*(yn-Pn),Pi=ti+.5*(On-ti),ki=Math.min(Sr,Pn,ai,xi),ja=Math.max(Sr,Pn,ai,xi),ri=Math.min(sn,ti,qn,Pi),pt=Math.max(sn,ti,qn,Pi);return new At(ki,ri,ja-ki,pt-ri)},si=function(Sr,sn,yn,On,Pn,ti,ai,qn){var xi,Pi,ki,ja,ri,pt,gr,_r,Dr,tn,Br,wn,mn,_n,hi=yn-Sr,li=On-sn,Zn=Pn-yn,$e=ti-On,kt=ai-Pn,or=qn-ti;for(Pi=0;Pi<41;Pi++)Dr=(gr=(ki=Sr+(xi=Pi/40)*hi)+xi*((ri=yn+xi*Zn)-ki))+xi*(ri+xi*(Pn+xi*kt-ri)-gr),tn=(_r=(ja=sn+xi*li)+xi*((pt=On+xi*$e)-ja))+xi*(pt+xi*(ti+xi*or-pt)-_r),Pi==0?(Br=Dr,wn=tn,mn=Dr,_n=tn):(Br=Math.min(Br,Dr),wn=Math.min(wn,tn),mn=Math.max(mn,Dr),_n=Math.max(_n,tn));return new At(Math.round(Br),Math.round(wn),Math.round(mn-Br),Math.round(_n-wn))},Oi=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Sr,sn,yn=(Sr=this.ctx.lineDash,sn=this.ctx.lineDashOffset,JSON.stringify({lineDash:Sr,lineDashOffset:sn}));this.prevLineDash!==yn&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=yn)}}}(K.API),function(et){var Le=function(Ze){var At,dt,Kt,$t,er,cr,Ct,Nr,Zt,Ir;for(/[^\x00-\xFF]/.test(Ze),dt=[],Kt=0,$t=(Ze+=At="\0\0\0\0".slice(Ze.length%4||4)).length;$t>Kt;Kt+=4)(er=(Ze.charCodeAt(Kt)<<24)+(Ze.charCodeAt(Kt+1)<<16)+(Ze.charCodeAt(Kt+2)<<8)+Ze.charCodeAt(Kt+3))!==0?(cr=(er=((er=((er=((er=(er-(Ir=er%85))/85)-(Zt=er%85))/85)-(Nr=er%85))/85)-(Ct=er%85))/85)%85,dt.push(cr+33,Ct+33,Nr+33,Zt+33,Ir+33)):dt.push(122);return function(xr,ur){for(var on=ur;on>0;on--)xr.pop()}(dt,At.length),String.fromCharCode.apply(String,dt)+"~>"},Pe=function(Ze){var At,dt,Kt,$t,er,cr=String,Ct="length",Nr=255,Zt="charCodeAt",Ir="slice",xr="replace";for(Ze[Ir](-2),Ze=Ze[Ir](0,-2)[xr](/\s/g,"")[xr]("z","!!!!!"),Kt=[],$t=0,er=(Ze+=At="uuuuu"[Ir](Ze[Ct]%5||5))[Ct];er>$t;$t+=5)dt=52200625*(Ze[Zt]($t)-33)+614125*(Ze[Zt]($t+1)-33)+7225*(Ze[Zt]($t+2)-33)+85*(Ze[Zt]($t+3)-33)+(Ze[Zt]($t+4)-33),Kt.push(Nr&dt>>24,Nr&dt>>16,Nr&dt>>8,Nr&dt);return function(ur,on){for(var Yn=on;Yn>0;Yn--)ur.pop()}(Kt,At[Ct]),cr.fromCharCode.apply(cr,Kt)},je=function(Ze){var At=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ze=Ze.replace(/\s/g,"")).indexOf(">")!==-1&&(Ze=Ze.substr(0,Ze.indexOf(">"))),Ze.length%2&&(Ze+="0"),At.test(Ze)===!1)return"";for(var dt="",Kt=0;Kt<Ze.length;Kt+=2)dt+=String.fromCharCode("0x"+(Ze[Kt]+Ze[Kt+1]));return dt},Je=function(Ze){for(var At=new Uint8Array(Ze.length),dt=Ze.length;dt--;)At[dt]=Ze.charCodeAt(dt);return Ze=(At=Object(g.b)(At)).reduce(function(Kt,$t){return Kt+String.fromCharCode($t)},"")};et.processDataByFilters=function(Ve,Ze){var At=0,dt=Ve||"",Kt=[];for(typeof(Ze=Ze||[])=="string"&&(Ze=[Ze]),At=0;At<Ze.length;At+=1)switch(Ze[At]){case"ASCII85Decode":case"/ASCII85Decode":dt=Pe(dt),Kt.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":dt=Le(dt),Kt.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":dt=je(dt),Kt.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":dt=dt.split("").map(function($t){return("0"+$t.charCodeAt().toString(16)).slice(-2)}).join("")+">",Kt.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":dt=Je(dt),Kt.push("/FlateDecode");break;default:throw new Error('The filter: "'+Ze[At]+'" is not implemented')}return{data:dt,reverseChain:Kt.reverse().join(" ")}}}(K.API),function(et){et.loadFile=function(Le,Pe,je){return function(Je,Ve,Ze){Ve=Ve!==!1,Ze=typeof Ze=="function"?Ze:function(){};var At=void 0;try{At=function(dt,Kt,$t){var er=new XMLHttpRequest,cr=0,Ct=function(Zt){var Ir=Zt.length,xr=[],ur=String.fromCharCode;for(cr=0;cr<Ir;cr+=1)xr.push(ur(255&Zt.charCodeAt(cr)));return xr.join("")};if(er.open("GET",dt,!Kt),er.overrideMimeType("text/plain; charset=x-user-defined"),Kt===!1&&(er.onload=function(){er.status===200?$t(Ct(this.responseText)):$t(void 0)}),er.send(null),Kt&&er.status===200)return Ct(er.responseText)}(Je,Ve,Ze)}catch(dt){}return At}(Le,Pe,je)},et.loadImageFile=et.loadFile}(K.API),function(et){function Le(){return(v.html2canvas?Promise.resolve(v.html2canvas):Promise.resolve().then(d.t.bind(null,"wOnQ",7))).catch(function(Ze){return Promise.reject(new Error("Could not load html2canvas: "+Ze))}).then(function(Ze){return Ze.default?Ze.default:Ze})}function Pe(){return(v.DOMPurify?Promise.resolve(v.DOMPurify):d.e(262).then(d.t.bind(null,"qZ2Q",7))).catch(function(Ze){return Promise.reject(new Error("Could not load dompurify: "+Ze))}).then(function(Ze){return Ze.default?Ze.default:Ze})}var je=function(At){var dt=b()(At);return dt==="undefined"?"undefined":dt==="string"||At instanceof String?"string":dt==="number"||At instanceof Number?"number":dt==="function"||At instanceof Function?"function":At&&At.constructor===Array?"array":At&&At.nodeType===1?"element":dt==="object"?"object":"unknown"},Je=function(At,dt){var Kt=document.createElement(At);for(var $t in dt.className&&(Kt.className=dt.className),dt.innerHTML&&dt.dompurify&&(Kt.innerHTML=dt.dompurify.sanitize(dt.innerHTML)),dt.style)Kt.style[$t]=dt.style[$t];return Kt},Ve=function Ze(At){var dt=Object.assign(Ze.convert(Promise.resolve()),JSON.parse(JSON.stringify(Ze.template))),Kt=Ze.convert(Promise.resolve(),dt);return Kt=(Kt=Kt.setProgress(1,Ze,1,[Ze])).set(At)};(Ve.prototype=Object.create(Promise.prototype)).constructor=Ve,Ve.convert=function(Ze,At){return Ze.__proto__=At||Ve.prototype,Ze},Ve.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"}},Ve.prototype.from=function(Ze,At){return this.then(function(){switch(At=At||function(dt){switch(je(dt)){case"string":return"string";case"element":return dt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Ze)){case"string":return this.then(Pe).then(function(dt){return this.set({src:Je("div",{innerHTML:Ze,dompurify:dt})})});case"element":return this.set({src:Ze});case"canvas":return this.set({canvas:Ze});case"img":return this.set({img:Ze});default:return this.error("Unknown source type.")}})},Ve.prototype.to=function(Ze){switch(Ze){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.")}},Ve.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 Ze={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},At=function dt(Kt,$t){for(var er=Kt.nodeType===3?document.createTextNode(Kt.nodeValue):Kt.cloneNode(!1),cr=Kt.firstChild;cr;cr=cr.nextSibling)$t!==!0&&cr.nodeType===1&&cr.nodeName==="SCRIPT"||er.appendChild(dt(cr,$t));return Kt.nodeType===1&&(Kt.nodeName==="CANVAS"?(er.width=Kt.width,er.height=Kt.height,er.getContext("2d").drawImage(Kt,0,0)):Kt.nodeName!=="TEXTAREA"&&Kt.nodeName!=="SELECT"||(er.value=Kt.value),er.addEventListener("load",function(){er.scrollTop=Kt.scrollTop,er.scrollLeft=Kt.scrollLeft},!0)),er}(this.prop.src,this.opt.html2canvas.javascriptEnabled);At.tagName==="BODY"&&(Ze.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=Je("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=Je("div",{className:"html2pdf__container",style:Ze}),this.prop.container.appendChild(At),this.prop.container.firstChild.appendChild(Je("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"})},Ve.prototype.toCanvas=function(){var Ze=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ze).then(Le).then(function(At){var dt=Object.assign({},this.opt.html2canvas);return delete dt.onrendered,At(this.prop.container,dt)}).then(function(At){(this.opt.html2canvas.onrendered||function(){})(At),this.prop.canvas=At,document.body.removeChild(this.prop.overlay)})},Ve.prototype.toContext2d=function(){var Ze=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ze).then(Le).then(function(At){var dt=this.opt.jsPDF,Kt=this.opt.fontFaces,$t=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,er=Object.assign({async:!0,allowTaint:!0,scale:$t,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 er.onrendered,dt.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,dt.context2d.posX=this.opt.x,dt.context2d.posY=this.opt.y,dt.context2d.margin=this.opt.margin,dt.context2d.fontFaces=Kt,Kt)for(var cr=0;cr<Kt.length;++cr){var Ct=Kt[cr],Nr=Ct.src.find(function(Zt){return Zt.format==="truetype"});Nr&&dt.addFont(Nr.url,Ct.ref.name,Ct.ref.style)}return er.windowHeight=er.windowHeight||0,er.windowHeight=er.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):er.windowHeight,At(this.prop.container,er)}).then(function(At){(this.opt.html2canvas.onrendered||function(){})(At),this.prop.canvas=At,document.body.removeChild(this.prop.overlay)})},Ve.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Ze=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Ze})},Ve.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},Ve.prototype.output=function(Ze,At,dt){return(dt=dt||"pdf").toLowerCase()==="img"||dt.toLowerCase()==="image"?this.outputImg(Ze,At):this.outputPdf(Ze,At)},Ve.prototype.outputPdf=function(Ze,At){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Ze,At)})},Ve.prototype.outputImg=function(Ze){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Ze){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 "'+Ze+'" is not supported.'}})},Ve.prototype.save=function(Ze){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Ze?{filename:Ze}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Ve.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},Ve.prototype.set=function(Ze){if(je(Ze)!=="object")return this;var At=Object.keys(Ze||{}).map(function(dt){if(dt in Ve.template.prop)return function(){this.prop[dt]=Ze[dt]};switch(dt){case"margin":return this.setMargin.bind(this,Ze.margin);case"jsPDF":return function(){return this.opt.jsPDF=Ze.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Ze.pageSize);default:return function(){this.opt[dt]=Ze[dt]}}},this);return this.then(function(){return this.thenList(At)})},Ve.prototype.get=function(Ze,At){return this.then(function(){var dt=Ze in Ve.template.prop?this.prop[Ze]:this.opt[Ze];return At?At(dt):dt})},Ve.prototype.setMargin=function(Ze){return this.then(function(){switch(je(Ze)){case"number":Ze=[Ze,Ze,Ze,Ze];case"array":if(Ze.length===2&&(Ze=[Ze[0],Ze[1],Ze[0],Ze[1]]),Ze.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Ze}).then(this.setPageSize)},Ve.prototype.setPageSize=function(Ze){function At(dt,Kt){return Math.floor(dt*Kt/72*96)}return this.then(function(){(Ze=Ze||K.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Ze.inner={width:Ze.width-this.opt.margin[1]-this.opt.margin[3],height:Ze.height-this.opt.margin[0]-this.opt.margin[2]},Ze.inner.px={width:At(Ze.inner.width,Ze.k),height:At(Ze.inner.height,Ze.k)},Ze.inner.ratio=Ze.inner.height/Ze.inner.width),this.prop.pageSize=Ze})},Ve.prototype.setProgress=function(Ze,At,dt,Kt){return Ze!=null&&(this.progress.val=Ze),At!=null&&(this.progress.state=At),dt!=null&&(this.progress.n=dt),Kt!=null&&(this.progress.stack=Kt),this.progress.ratio=this.progress.val/this.progress.state,this},Ve.prototype.updateProgress=function(Ze,At,dt,Kt){return this.setProgress(Ze?this.progress.val+Ze:null,At||null,dt?this.progress.n+dt:null,Kt?this.progress.stack.concat(Kt):null)},Ve.prototype.then=function(Ze,At){var dt=this;return this.thenCore(Ze,At,function(Kt,$t){return dt.updateProgress(null,null,1,[Kt]),Promise.prototype.then.call(this,function(er){return dt.updateProgress(null,Kt),er}).then(Kt,$t).then(function(er){return dt.updateProgress(1),er})})},Ve.prototype.thenCore=function(Ze,At,dt){dt=dt||Promise.prototype.then,Ze&&(Ze=Ze.bind(this)),At&&(At=At.bind(this));var Kt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:Ve.convert(Object.assign({},this),Promise.prototype),$t=dt.call(Kt,Ze,At);return Ve.convert($t,this.__proto__)},Ve.prototype.thenExternal=function(Ze,At){return Promise.prototype.then.call(this,Ze,At)},Ve.prototype.thenList=function(Ze){var At=this;return Ze.forEach(function(dt){At=At.thenCore(dt)}),At},Ve.prototype.catch=function(Ze){Ze&&(Ze=Ze.bind(this));var At=Promise.prototype.catch.call(this,Ze);return Ve.convert(At,this)},Ve.prototype.catchExternal=function(Ze){return Promise.prototype.catch.call(this,Ze)},Ve.prototype.error=function(Ze){return this.then(function(){throw new Error(Ze)})},Ve.prototype.using=Ve.prototype.set,Ve.prototype.saveAs=Ve.prototype.save,Ve.prototype.export=Ve.prototype.output,Ve.prototype.run=Ve.prototype.then,K.getPageSize=function(Ze,At,dt){if(b()(Ze)==="object"){var Kt=Ze;Ze=Kt.orientation,At=Kt.unit||At,dt=Kt.format||dt}At=At||"mm",dt=dt||"a4",Ze=(""+(Ze||"P")).toLowerCase();var $t,er=(""+dt).toLowerCase(),cr={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(At){case"pt":$t=1;break;case"mm":$t=72/25.4;break;case"cm":$t=72/2.54;break;case"in":$t=72;break;case"px":$t=.75;break;case"pc":case"em":$t=12;break;case"ex":$t=6;break;default:throw"Invalid unit: "+At}var Ct,Nr=0,Zt=0;if(cr.hasOwnProperty(er))Nr=cr[er][1]/$t,Zt=cr[er][0]/$t;else try{Nr=dt[1],Zt=dt[0]}catch(Ir){throw new Error("Invalid format: "+dt)}if(Ze==="p"||Ze==="portrait")Ze="p",Zt>Nr&&(Ct=Zt,Zt=Nr,Nr=Ct);else{if(Ze!=="l"&&Ze!=="landscape")throw"Invalid orientation: "+Ze;Ze="l",Nr>Zt&&(Ct=Zt,Zt=Nr,Nr=Ct)}return{width:Zt,height:Nr,unit:At,k:$t,orientation:Ze}},et.html=function(Ze,At){(At=At||{}).callback=At.callback||function(){},At.html2canvas=At.html2canvas||{},At.html2canvas.canvas=At.html2canvas.canvas||this.canvas,At.jsPDF=At.jsPDF||this,At.fontFaces=At.fontFaces?At.fontFaces.map(Wt):null;var dt=new Ve(At);return At.worker?dt:dt.from(Ze).doCallback()}}(K.API),K.API.addJS=function(et){return fn=et,this.internal.events.subscribe("postPutResources",function(){rn=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(rn+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),ei=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+fn+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){rn!==void 0&&ei!==void 0&&this.internal.out("/Names <</JavaScript "+rn+" 0 R>>")}),this},function(et){var Le;et.events.push(["postPutResources",function(){var Pe=this,je=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var Je=Pe.outline.render().split(/\r\n/),Ve=0;Ve<Je.length;Ve++){var Ze=Je[Ve],At=je.exec(Ze);if(At!=null){var dt=At[1];Pe.internal.newObjectDeferredBegin(dt,!1)}Pe.internal.write(Ze)}if(this.outline.createNamedDestinations){var Kt=this.internal.pages.length,$t=[];for(Ve=0;Ve<Kt;Ve++){var er=Pe.internal.newObject();$t.push(er);var cr=Pe.internal.getPageInfo(Ve+1);Pe.internal.write("<< /D["+cr.objId+" 0 R /XYZ null null null]>> endobj")}var Ct=Pe.internal.newObject();for(Pe.internal.write("<< /Names [ "),Ve=0;Ve<$t.length;Ve++)Pe.internal.write("(page_"+(Ve+1)+")"+$t[Ve]+" 0 R");Pe.internal.write(" ] >>","endobj"),Le=Pe.internal.newObject(),Pe.internal.write("<< /Dests "+Ct+" 0 R"),Pe.internal.write(">>","endobj")}}]),et.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 "+Le+" 0 R"))}]),et.events.push(["initialized",function(){var Pe=this;Pe.outline={createNamedDestinations:!1,root:{children:[]}},Pe.outline.add=function(je,Je,Ve){var Ze={title:Je,options:Ve,children:[]};return je==null&&(je=this.root),je.children.push(Ze),Ze},Pe.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Pe,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Pe.outline.genIds_r=function(je){je.id=Pe.internal.newObjectDeferred();for(var Je=0;Je<je.children.length;Je++)this.genIds_r(je.children[Je])},Pe.outline.renderRoot=function(je){this.objStart(je),this.line("/Type /Outlines"),je.children.length>0&&(this.line("/First "+this.makeRef(je.children[0])),this.line("/Last "+this.makeRef(je.children[je.children.length-1]))),this.line("/Count "+this.count_r({count:0},je)),this.objEnd()},Pe.outline.renderItems=function(je){for(var Je=this.ctx.pdf.internal.getVerticalCoordinateString,Ve=0;Ve<je.children.length;Ve++){var Ze=je.children[Ve];this.objStart(Ze),this.line("/Title "+this.makeString(Ze.title)),this.line("/Parent "+this.makeRef(je)),Ve>0&&this.line("/Prev "+this.makeRef(je.children[Ve-1])),Ve<je.children.length-1&&this.line("/Next "+this.makeRef(je.children[Ve+1])),Ze.children.length>0&&(this.line("/First "+this.makeRef(Ze.children[0])),this.line("/Last "+this.makeRef(Ze.children[Ze.children.length-1])));var At=this.count=this.count_r({count:0},Ze);if(At>0&&this.line("/Count "+At),Ze.options&&Ze.options.pageNumber){var dt=Pe.internal.getPageInfo(Ze.options.pageNumber);this.line("/Dest ["+dt.objId+" 0 R /XYZ 0 "+Je(0)+" 0]")}this.objEnd()}for(var Kt=0;Kt<je.children.length;Kt++)this.renderItems(je.children[Kt])},Pe.outline.line=function(je){this.ctx.val+=je+`\r
`},Pe.outline.makeRef=function(je){return je.id+" 0 R"},Pe.outline.makeString=function(je){return"("+Pe.internal.pdfEscape(je)+")"},Pe.outline.objStart=function(je){this.ctx.val+=`\r
`+je.id+` 0 obj\r
<<\r
`},Pe.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},Pe.outline.count_r=function(je,Je){for(var Ve=0;Ve<Je.children.length;Ve++)je.count++,this.count_r(je,Je.children[Ve]);return je.count}}])}(K.API),function(et){var Le=[192,193,194,195,196,197,198,199];et.processJPEG=function(Pe,je,Je,Ve,Ze,At){var dt,Kt=this.decode.DCT_DECODE,$t=null;if(typeof Pe=="string"||this.__addimage__.isArrayBuffer(Pe)||this.__addimage__.isArrayBufferView(Pe)){switch(Pe=Ze||Pe,Pe=this.__addimage__.isArrayBuffer(Pe)?new Uint8Array(Pe):Pe,(dt=function(er){for(var cr,Ct=256*er.charCodeAt(4)+er.charCodeAt(5),Nr=er.length,Zt={width:0,height:0,numcomponents:1},Ir=4;Ir<Nr;Ir+=2){if(Ir+=Ct,Le.indexOf(er.charCodeAt(Ir+1))!==-1){cr=256*er.charCodeAt(Ir+5)+er.charCodeAt(Ir+6),Zt={width:256*er.charCodeAt(Ir+7)+er.charCodeAt(Ir+8),height:cr,numcomponents:er.charCodeAt(Ir+9)};break}Ct=256*er.charCodeAt(Ir+2)+er.charCodeAt(Ir+3)}return Zt}(Pe=this.__addimage__.isArrayBufferView(Pe)?this.__addimage__.arrayBufferToBinaryString(Pe):Pe)).numcomponents){case 1:At=this.color_spaces.DEVICE_GRAY;break;case 4:At=this.color_spaces.DEVICE_CMYK;break;case 3:At=this.color_spaces.DEVICE_RGB}$t={data:Pe,width:dt.width,height:dt.height,colorSpace:At,bitsPerComponent:8,filter:Kt,index:je,alias:Je}}return $t}}(K.API);var bt,ut,Oe,be,Fe,it=function(){var et,Le,Pe;function je(Ve){var Ze,At,dt,Kt,$t,er,cr,Ct,Nr,Zt,Ir,xr,ur,on;for(this.data=Ve,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},er=null;;){switch(Ze=this.readUInt32(),Nr=function(){var Yn,Vn;for(Vn=[],Yn=0;Yn<4;++Yn)Vn.push(String.fromCharCode(this.data[this.pos++]));return Vn}.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(Ze);break;case"fcTL":er&&this.animation.frames.push(er),this.pos+=4,er={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},$t=this.readUInt16(),Kt=this.readUInt16()||100,er.delay=1e3*$t/Kt,er.disposeOp=this.data[this.pos++],er.blendOp=this.data[this.pos++],er.data=[];break;case"IDAT":case"fdAT":for(Nr==="fdAT"&&(this.pos+=4,Ze-=4),Ve=(er!=null?er.data:void 0)||this.imgData,xr=0;0<=Ze?xr<Ze:xr>Ze;0<=Ze?++xr:--xr)Ve.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(dt=this.palette.length/3,this.transparency.indexed=this.read(Ze),this.transparency.indexed.length>dt)throw new Error("More transparent colors than palette size");if((Zt=dt-this.transparency.indexed.length)>0)for(ur=0;0<=Zt?ur<Zt:ur>Zt;0<=Zt?++ur:--ur)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Ze)[0];break;case 2:this.transparency.rgb=this.read(Ze)}break;case"tEXt":cr=(Ir=this.read(Ze)).indexOf(0),Ct=String.fromCharCode.apply(String,Ir.slice(0,cr)),this.text[Ct]=String.fromCharCode.apply(String,Ir.slice(cr+1));break;case"IEND":return er&&this.animation.frames.push(er),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(on=this.colorType)===4||on===6,At=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*At,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+=Ze}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}je.prototype.read=function(Ve){var Ze,At;for(At=[],Ze=0;0<=Ve?Ze<Ve:Ze>Ve;0<=Ve?++Ze:--Ze)At.push(this.data[this.pos++]);return At},je.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},je.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},je.prototype.decodePixels=function(Ve){var Ze=this.pixelBitlength/8,At=new Uint8Array(this.width*this.height*Ze),dt=0,Kt=this;if(Ve==null&&(Ve=this.imgData),Ve.length===0)return new Uint8Array(0);function $t(er,cr,Ct,Nr){var Zt,Ir,xr,ur,on,Yn,Vn,Wn,jn,Gn,Nn,mi,en,Kr,dn,Vr,ni,Hn,Kn,bn,wi,si=Math.ceil((Kt.width-er)/Ct),Oi=Math.ceil((Kt.height-cr)/Nr),qr=Kt.width==si&&Kt.height==Oi;for(Kr=Ze*si,mi=qr?At:new Uint8Array(Kr*Oi),Yn=Ve.length,en=0,Ir=0;en<Oi&&dt<Yn;){switch(Ve[dt++]){case 0:for(ur=ni=0;ni<Kr;ur=ni+=1)mi[Ir++]=Ve[dt++];break;case 1:for(ur=Hn=0;Hn<Kr;ur=Hn+=1)Zt=Ve[dt++],on=ur<Ze?0:mi[Ir-Ze],mi[Ir++]=(Zt+on)%256;break;case 2:for(ur=Kn=0;Kn<Kr;ur=Kn+=1)Zt=Ve[dt++],xr=(ur-ur%Ze)/Ze,dn=en&&mi[(en-1)*Kr+xr*Ze+ur%Ze],mi[Ir++]=(dn+Zt)%256;break;case 3:for(ur=bn=0;bn<Kr;ur=bn+=1)Zt=Ve[dt++],xr=(ur-ur%Ze)/Ze,on=ur<Ze?0:mi[Ir-Ze],dn=en&&mi[(en-1)*Kr+xr*Ze+ur%Ze],mi[Ir++]=(Zt+Math.floor((on+dn)/2))%256;break;case 4:for(ur=wi=0;wi<Kr;ur=wi+=1)Zt=Ve[dt++],xr=(ur-ur%Ze)/Ze,on=ur<Ze?0:mi[Ir-Ze],en===0?dn=Vr=0:(dn=mi[(en-1)*Kr+xr*Ze+ur%Ze],Vr=xr&&mi[(en-1)*Kr+(xr-1)*Ze+ur%Ze]),Vn=on+dn-Vr,Wn=Math.abs(Vn-on),Gn=Math.abs(Vn-dn),Nn=Math.abs(Vn-Vr),jn=Wn<=Gn&&Wn<=Nn?on:Gn<=Nn?dn:Vr,mi[Ir++]=(Zt+jn)%256;break;default:throw new Error("Invalid filter algorithm: "+Ve[dt-1])}if(!qr){var Sr=((cr+en*Nr)*Kt.width+er)*Ze,sn=en*Kr;for(ur=0;ur<si;ur+=1){for(var yn=0;yn<Ze;yn+=1)At[Sr++]=mi[sn++];Sr+=(Ct-1)*Ze}}en++}}return Ve=Object(g.a)(Ve),Kt.interlaceMethod==1?($t(0,0,8,8),$t(4,0,8,8),$t(0,4,4,8),$t(2,0,4,4),$t(0,2,2,4),$t(1,0,2,2),$t(0,1,1,2)):$t(0,0,1,1),At},je.prototype.decodePalette=function(){var Ve,Ze,At,dt,Kt,$t,er,cr,Ct;for(At=this.palette,$t=this.transparency.indexed||[],Kt=new Uint8Array(($t.length||0)+At.length),dt=0,Ve=0,Ze=er=0,cr=At.length;er<cr;Ze=er+=3)Kt[dt++]=At[Ze],Kt[dt++]=At[Ze+1],Kt[dt++]=At[Ze+2],Kt[dt++]=(Ct=$t[Ve++])!=null?Ct:255;return Kt},je.prototype.copyToImageData=function(Ve,Ze){var At,dt,Kt,$t,er,cr,Ct,Nr,Zt,Ir,xr;if(dt=this.colors,Zt=null,At=this.hasAlphaChannel,this.palette.length&&(Zt=(xr=this._decodedPalette)!=null?xr:this._decodedPalette=this.decodePalette(),dt=4,At=!0),Nr=(Kt=Ve.data||Ve).length,er=Zt||Ze,$t=cr=0,dt===1)for(;$t<Nr;)Ct=Zt?4*Ze[$t/4]:cr,Ir=er[Ct++],Kt[$t++]=Ir,Kt[$t++]=Ir,Kt[$t++]=Ir,Kt[$t++]=At?er[Ct++]:255,cr=Ct;else for(;$t<Nr;)Ct=Zt?4*Ze[$t/4]:cr,Kt[$t++]=er[Ct++],Kt[$t++]=er[Ct++],Kt[$t++]=er[Ct++],Kt[$t++]=At?er[Ct++]:255,cr=Ct},je.prototype.decode=function(){var Ve;return Ve=new Uint8Array(this.width*this.height*4),this.copyToImageData(Ve,this.decodePixels()),Ve};var Je=function(){if(Object.prototype.toString.call(v)==="[object Window]"){try{Le=v.document.createElement("canvas"),Pe=Le.getContext("2d")}catch(Ze){return!1}return!0}return!1};return Je(),et=function(Ze){var At;if(Je()===!0)return Pe.width=Ze.width,Pe.height=Ze.height,Pe.clearRect(0,0,Ze.width,Ze.height),Pe.putImageData(Ze,0,0),(At=new Image).src=Le.toDataURL(),At;throw new Error("This method requires a Browser with Canvas-capability.")},je.prototype.decodeFrames=function(Ve){var Ze,At,dt,Kt,$t,er,cr,Ct;if(this.animation){for(Ct=[],At=$t=0,er=(cr=this.animation.frames).length;$t<er;At=++$t)Ze=cr[At],dt=Ve.createImageData(Ze.width,Ze.height),Kt=this.decodePixels(new Uint8Array(Ze.data)),this.copyToImageData(dt,Kt),Ze.imageData=dt,Ct.push(Ze.image=et(dt));return Ct}},je.prototype.renderFrame=function(Ve,Ze){var At,dt,Kt;return At=(dt=this.animation.frames)[Ze],Kt=dt[Ze-1],Ze===0&&Ve.clearRect(0,0,this.width,this.height),(Kt!=null?Kt.disposeOp:void 0)===1?Ve.clearRect(Kt.xOffset,Kt.yOffset,Kt.width,Kt.height):(Kt!=null?Kt.disposeOp:void 0)===2&&Ve.putImageData(Kt.imageData,Kt.xOffset,Kt.yOffset),At.blendOp===0&&Ve.clearRect(At.xOffset,At.yOffset,At.width,At.height),Ve.drawImage(At.image,At.xOffset,At.yOffset)},je.prototype.animate=function(Ve){var Ze,At,dt,Kt,$t,er,cr=this;return At=0,er=this.animation,Kt=er.numFrames,dt=er.frames,$t=er.numPlays,(Ze=function(){var Nr,Zt;if(Nr=At++%Kt,Zt=dt[Nr],cr.renderFrame(Ve,Nr),Kt>1&&At/Kt<$t)return cr.animation._timeout=setTimeout(Ze,Zt.delay)})()},je.prototype.stopAnimation=function(){var Ve;return clearTimeout((Ve=this.animation)!=null?Ve._timeout:void 0)},je.prototype.render=function(Ve){var Ze,At;return Ve._png&&Ve._png.stopAnimation(),Ve._png=this,Ve.width=this.width,Ve.height=this.height,Ze=Ve.getContext("2d"),this.animation?(this.decodeFrames(Ze),this.animate(Ze)):(At=Ze.createImageData(this.width,this.height),this.copyToImageData(At,this.decodePixels()),Ze.putImageData(At,0,0))},je}();/**
* @license
*
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* ====================================================================
*//**
* @license
* (c) Dean McNamee <dean@gmail.com>, 2013.
*
* https://github.com/deanm/omggif
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
* including animation and compression. It does not rely on any specific
* underlying system, so should run in the browser, Node, or Plask.
*/function wt(et){var Le=0;if(et[Le++]!==71||et[Le++]!==73||et[Le++]!==70||et[Le++]!==56||(et[Le++]+1&253)!=56||et[Le++]!==97)throw new Error("Invalid GIF 87a/89a header.");var Pe=et[Le++]|et[Le++]<<8,je=et[Le++]|et[Le++]<<8,Je=et[Le++],Ve=Je>>7,Ze=1<<(7&Je)+1;et[Le++],et[Le++];var At=null,dt=null;Ve&&(At=Le,dt=Ze,Le+=3*Ze);var Kt=!0,$t=[],er=0,cr=null,Ct=0,Nr=null;for(this.width=Pe,this.height=je;Kt&&Le<et.length;)switch(et[Le++]){case 33:switch(et[Le++]){case 255:if(et[Le]!==11||et[Le+1]==78&&et[Le+2]==69&&et[Le+3]==84&&et[Le+4]==83&&et[Le+5]==67&&et[Le+6]==65&&et[Le+7]==80&&et[Le+8]==69&&et[Le+9]==50&&et[Le+10]==46&&et[Le+11]==48&&et[Le+12]==3&&et[Le+13]==1&&et[Le+16]==0)Le+=14,Nr=et[Le++]|et[Le++]<<8,Le++;else for(Le+=12;;){if(!((en=et[Le++])>=0))throw Error("Invalid block size");if(en===0)break;Le+=en}break;case 249:if(et[Le++]!==4||et[Le+4]!==0)throw new Error("Invalid graphics extension block.");var Zt=et[Le++];er=et[Le++]|et[Le++]<<8,cr=et[Le++],(1&Zt)==0&&(cr=null),Ct=Zt>>2&7,Le++;break;case 254:for(;;){if(!((en=et[Le++])>=0))throw Error("Invalid block size");if(en===0)break;Le+=en}break;default:throw new Error("Unknown graphic control label: 0x"+et[Le-1].toString(16))}break;case 44:var Ir=et[Le++]|et[Le++]<<8,xr=et[Le++]|et[Le++]<<8,ur=et[Le++]|et[Le++]<<8,on=et[Le++]|et[Le++]<<8,Yn=et[Le++],Vn=Yn>>6&1,Wn=1<<(7&Yn)+1,jn=At,Gn=dt,Nn=!1;Yn>>7&&(Nn=!0,jn=Le,Gn=Wn,Le+=3*Wn);var mi=Le;for(Le++;;){var en;if(!((en=et[Le++])>=0))throw Error("Invalid block size");if(en===0)break;Le+=en}$t.push({x:Ir,y:xr,width:ur,height:on,has_local_palette:Nn,palette_offset:jn,palette_size:Gn,data_offset:mi,data_length:Le-mi,transparent_index:cr,interlaced:!!Vn,delay:er,disposal:Ct});break;case 59:Kt=!1;break;default:throw new Error("Unknown gif block: 0x"+et[Le-1].toString(16))}this.numFrames=function(){return $t.length},this.loopCount=function(){return Nr},this.frameInfo=function(Kr){if(Kr<0||Kr>=$t.length)throw new Error("Frame index out of range.");return $t[Kr]},this.decodeAndBlitFrameBGRA=function(Kr,dn){var Vr=this.frameInfo(Kr),ni=Vr.width*Vr.height,Hn=new Uint8Array(ni);nr(et,Vr.data_offset,Hn,ni);var Kn=Vr.palette_offset,bn=Vr.transparent_index;bn===null&&(bn=256);var wi=Vr.width,si=Pe-wi,Oi=wi,qr=4*(Vr.y*Pe+Vr.x),Sr=4*((Vr.y+Vr.height)*Pe+Vr.x),sn=qr,yn=4*si;Vr.interlaced===!0&&(yn+=4*Pe*7);for(var On=8,Pn=0,ti=Hn.length;Pn<ti;++Pn){var ai=Hn[Pn];if(Oi===0&&(Oi=wi,(sn+=yn)>=Sr&&(yn=4*si+4*Pe*(On-1),sn=qr+(wi+si)*(On<<1),On>>=1)),ai===bn)sn+=4;else{var qn=et[Kn+3*ai],xi=et[Kn+3*ai+1],Pi=et[Kn+3*ai+2];dn[sn++]=Pi,dn[sn++]=xi,dn[sn++]=qn,dn[sn++]=255}--Oi}},this.decodeAndBlitFrameRGBA=function(Kr,dn){var Vr=this.frameInfo(Kr),ni=Vr.width*Vr.height,Hn=new Uint8Array(ni);nr(et,Vr.data_offset,Hn,ni);var Kn=Vr.palette_offset,bn=Vr.transparent_index;bn===null&&(bn=256);var wi=Vr.width,si=Pe-wi,Oi=wi,qr=4*(Vr.y*Pe+Vr.x),Sr=4*((Vr.y+Vr.height)*Pe+Vr.x),sn=qr,yn=4*si;Vr.interlaced===!0&&(yn+=4*Pe*7);for(var On=8,Pn=0,ti=Hn.length;Pn<ti;++Pn){var ai=Hn[Pn];if(Oi===0&&(Oi=wi,(sn+=yn)>=Sr&&(yn=4*si+4*Pe*(On-1),sn=qr+(wi+si)*(On<<1),On>>=1)),ai===bn)sn+=4;else{var qn=et[Kn+3*ai],xi=et[Kn+3*ai+1],Pi=et[Kn+3*ai+2];dn[sn++]=qn,dn[sn++]=xi,dn[sn++]=Pi,dn[sn++]=255}--Oi}}}function nr(et,Le,Pe,je){for(var Je=et[Le++],Ve=1<<Je,Ze=Ve+1,At=Ze+1,dt=Je+1,Kt=(1<<dt)-1,$t=0,er=0,cr=0,Ct=et[Le++],Nr=new Int32Array(4096),Zt=null;;){for(;$t<16&&Ct!==0;)er|=et[Le++]<<$t,$t+=8,Ct===1?Ct=et[Le++]:--Ct;if($t<dt)break;var Ir=er&Kt;if(er>>=dt,$t-=dt,Ir!==Ve){if(Ir===Ze)break;for(var xr=Ir<At?Ir:Zt,ur=0,on=xr;on>Ve;)on=Nr[on]>>8,++ur;var Yn=on;if(cr+ur+(xr!==Ir?1:0)>je)return void l.log("Warning, gif stream longer than expected.");Pe[cr++]=Yn;var Vn=cr+=ur;for(xr!==Ir&&(Pe[cr++]=Yn),on=xr;ur--;)on=Nr[on],Pe[--Vn]=255&on,on>>=8;Zt!==null&&At<4096&&(Nr[At++]=Zt<<8|Yn,At>=Kt+1&&dt<12&&(++dt,Kt=Kt<<1|1)),Zt=Ir}else At=Ze+1,Kt=(1<<(dt=Je+1))-1,Zt=null}return cr!==je&&l.log("Warning, gif stream shorter than expected."),Pe}/**
* @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 sr(et){var Le,Pe,je,Je,Ve,Ze=Math.floor,At=new Array(64),dt=new Array(64),Kt=new Array(64),$t=new Array(64),er=new Array(65535),cr=new Array(65535),Ct=new Array(64),Nr=new Array(64),Zt=[],Ir=0,xr=7,ur=new Array(64),on=new Array(64),Yn=new Array(64),Vn=new Array(256),Wn=new Array(2048),jn=[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],Gn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Nn=[0,1,2,3,4,5,6,7,8,9,10,11],mi=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],en=[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],Kr=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],dn=[0,1,2,3,4,5,6,7,8,9,10,11],Vr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ni=[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 Hn(qr,Sr){for(var sn=0,yn=0,On=new Array,Pn=1;Pn<=16;Pn++){for(var ti=1;ti<=qr[Pn];ti++)On[Sr[yn]]=[],On[Sr[yn]][0]=sn,On[Sr[yn]][1]=Pn,yn++,sn++;sn*=2}return On}function Kn(qr){for(var Sr=qr[0],sn=qr[1]-1;sn>=0;)Sr&1<<sn&&(Ir|=1<<xr),sn--,--xr<0&&(Ir==255?(bn(255),bn(0)):bn(Ir),xr=7,Ir=0)}function bn(qr){Zt.push(qr)}function wi(qr){bn(qr>>8&255),bn(255&qr)}function si(qr,Sr,sn,yn,On){for(var Pn,ti=On[0],ai=On[240],qn=function(Dr,tn){var Br,wn,mn,_n,hi,li,Zn,$e,kt,or,tr=0;for(kt=0;kt<8;++kt){Br=Dr[tr],wn=Dr[tr+1],mn=Dr[tr+2],_n=Dr[tr+3],hi=Dr[tr+4],li=Dr[tr+5],Zn=Dr[tr+6];var Or=Br+($e=Dr[tr+7]),wr=Br-$e,Xr=wn+Zn,Qr=wn-Zn,cn=mn+li,Ln=mn-li,Cn=_n+hi,Bn=_n-hi,nn=Or+Cn,Dn=Or-Cn,hn=Xr+cn,An=Xr-cn;Dr[tr]=nn+hn,Dr[tr+4]=nn-hn;var xn=.707106781*(An+Dn);Dr[tr+2]=Dn+xn,Dr[tr+6]=Dn-xn;var Rn=.382683433*((nn=Bn+Ln)-(An=Qr+wr)),ui=.5411961*nn+Rn,gi=1.306562965*An+Rn,Fi=.707106781*(hn=Ln+Qr),di=wr+Fi,ii=wr-Fi;Dr[tr+5]=ii+ui,Dr[tr+3]=ii-ui,Dr[tr+1]=di+gi,Dr[tr+7]=di-gi,tr+=8}for(tr=0,kt=0;kt<8;++kt){Br=Dr[tr],wn=Dr[tr+8],mn=Dr[tr+16],_n=Dr[tr+24],hi=Dr[tr+32],li=Dr[tr+40],Zn=Dr[tr+48];var Yi=Br+($e=Dr[tr+56]),_i=Br-$e,Mi=wn+Zn,Bi=wn-Zn,Zi=mn+li,da=mn-li,Ma=_n+hi,La=_n-hi,fa=Yi+Ma,xa=Yi-Ma,ea=Mi+Zi,ya=Mi-Zi;Dr[tr]=fa+ea,Dr[tr+32]=fa-ea;var sa=.707106781*(ya+xa);Dr[tr+16]=xa+sa,Dr[tr+48]=xa-sa;var Fa=.382683433*((fa=La+da)-(ya=Bi+_i)),uo=.5411961*fa+Fa,za=1.306562965*ya+Fa,Ya=.707106781*(ea=da+Bi),lo=_i+Ya,ta=_i-Ya;Dr[tr+40]=ta+uo,Dr[tr+24]=ta-uo,Dr[tr+8]=lo+za,Dr[tr+56]=lo-za,tr++}for(kt=0;kt<64;++kt)or=Dr[kt]*tn[kt],Ct[kt]=or>0?or+.5|0:or-.5|0;return Ct}(qr,Sr),xi=0;xi<64;++xi)Nr[jn[xi]]=qn[xi];var Pi=Nr[0]-sn;sn=Nr[0],Pi==0?Kn(yn[0]):(Kn(yn[cr[Pn=32767+Pi]]),Kn(er[Pn]));for(var ki=63;ki>0&&Nr[ki]==0;)ki--;if(ki==0)return Kn(ti),sn;for(var ja,ri=1;ri<=ki;){for(var pt=ri;Nr[ri]==0&&ri<=ki;)++ri;var gr=ri-pt;if(gr>=16){ja=gr>>4;for(var _r=1;_r<=ja;++_r)Kn(ai);gr&=15}Pn=32767+Nr[ri],Kn(On[(gr<<4)+cr[Pn]]),Kn(er[Pn]),ri++}return ki!=63&&Kn(ti),sn}function Oi(qr){(qr=Math.min(Math.max(qr,1),100),Ve!=qr)&&(!function(Sr){for(var sn=[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],yn=0;yn<64;yn++){var On=Ze((sn[yn]*Sr+50)/100);On=Math.min(Math.max(On,1),255),At[jn[yn]]=On}for(var Pn=[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],ti=0;ti<64;ti++){var ai=Ze((Pn[ti]*Sr+50)/100);ai=Math.min(Math.max(ai,1),255),dt[jn[ti]]=ai}for(var qn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],xi=0,Pi=0;Pi<8;Pi++)for(var ki=0;ki<8;ki++)Kt[xi]=1/(At[jn[xi]]*qn[Pi]*qn[ki]*8),$t[xi]=1/(dt[jn[xi]]*qn[Pi]*qn[ki]*8),xi++}(qr<50?Math.floor(5e3/qr):Math.floor(200-2*qr)),Ve=qr)}this.encode=function(qr,Sr){Sr&&Oi(Sr),Zt=new Array,Ir=0,xr=7,wi(65496),wi(65504),wi(16),bn(74),bn(70),bn(73),bn(70),bn(0),bn(1),bn(1),bn(0),wi(1),wi(1),bn(0),bn(0),function(){wi(65499),wi(132),bn(0);for(var wn=0;wn<64;wn++)bn(At[wn]);bn(1);for(var mn=0;mn<64;mn++)bn(dt[mn])}(),function(wn,mn){wi(65472),wi(17),bn(8),wi(mn),wi(wn),bn(3),bn(1),bn(17),bn(0),bn(2),bn(17),bn(1),bn(3),bn(17),bn(1)}(qr.width,qr.height),function(){wi(65476),wi(418),bn(0);for(var wn=0;wn<16;wn++)bn(Gn[wn+1]);for(var mn=0;mn<=11;mn++)bn(Nn[mn]);bn(16);for(var _n=0;_n<16;_n++)bn(mi[_n+1]);for(var hi=0;hi<=161;hi++)bn(en[hi]);bn(1);for(var li=0;li<16;li++)bn(Kr[li+1]);for(var Zn=0;Zn<=11;Zn++)bn(dn[Zn]);bn(17);for(var $e=0;$e<16;$e++)bn(Vr[$e+1]);for(var kt=0;kt<=161;kt++)bn(ni[kt])}(),wi(65498),wi(12),bn(3),bn(1),bn(0),bn(2),bn(17),bn(3),bn(17),bn(0),bn(63),bn(0);var sn=0,yn=0,On=0;Ir=0,xr=7,this.encode.displayName="_encode_";for(var Pn,ti,ai,qn,xi,Pi,ki,ja,ri,pt=qr.data,gr=qr.width,_r=qr.height,Dr=4*gr,tn=0;tn<_r;){for(Pn=0;Pn<Dr;){for(xi=Dr*tn+Pn,ki=-1,ja=0,ri=0;ri<64;ri++)Pi=xi+(ja=ri>>3)*Dr+(ki=4*(7&ri)),tn+ja>=_r&&(Pi-=Dr*(tn+1+ja-_r)),Pn+ki>=Dr&&(Pi-=Pn+ki-Dr+4),ti=pt[Pi++],ai=pt[Pi++],qn=pt[Pi++],ur[ri]=(Wn[ti]+Wn[ai+256>>0]+Wn[qn+512>>0]>>16)-128,on[ri]=(Wn[ti+768>>0]+Wn[ai+1024>>0]+Wn[qn+1280>>0]>>16)-128,Yn[ri]=(Wn[ti+1280>>0]+Wn[ai+1536>>0]+Wn[qn+1792>>0]>>16)-128;sn=si(ur,Kt,sn,Le,je),yn=si(on,$t,yn,Pe,Je),On=si(Yn,$t,On,Pe,Je),Pn+=32}tn+=8}if(xr>=0){var Br=[];Br[1]=xr+1,Br[0]=(1<<xr+1)-1,Kn(Br)}return wi(65497),new Uint8Array(Zt)},et=et||50,function(){for(var qr=String.fromCharCode,Sr=0;Sr<256;Sr++)Vn[Sr]=qr(Sr)}(),Le=Hn(Gn,Nn),Pe=Hn(Kr,dn),je=Hn(mi,en),Je=Hn(Vr,ni),function(){for(var qr=1,Sr=2,sn=1;sn<=15;sn++){for(var yn=qr;yn<Sr;yn++)cr[32767+yn]=sn,er[32767+yn]=[],er[32767+yn][1]=sn,er[32767+yn][0]=yn;for(var On=-(Sr-1);On<=-qr;On++)cr[32767+On]=sn,er[32767+On]=[],er[32767+On][1]=sn,er[32767+On][0]=Sr-1+On;qr<<=1,Sr<<=1}}(),function(){for(var qr=0;qr<256;qr++)Wn[qr]=19595*qr,Wn[qr+256>>0]=38470*qr,Wn[qr+512>>0]=7471*qr+32768,Wn[qr+768>>0]=-11059*qr,Wn[qr+1024>>0]=-21709*qr,Wn[qr+1280>>0]=32768*qr+8421375,Wn[qr+1536>>0]=-27439*qr,Wn[qr+1792>>0]=-5329*qr}(),Oi(et)}/**
* @license
* Copyright (c) 2017 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/function Ar(et,Le){if(this.pos=0,this.buffer=et,this.datav=new DataView(et.buffer),this.is_with_alpha=!!Le,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 Hr(et){function Le(Gn){if(!Gn)throw Error("assert :P")}function Pe(Gn,Nn,mi){for(var en=0;4>en;en++)if(Gn[Nn+en]!=mi.charCodeAt(en))return!0;return!1}function je(Gn,Nn,mi,en,Kr){for(var dn=0;dn<Kr;dn++)Gn[Nn+dn]=mi[en+dn]}function Je(Gn,Nn,mi,en){for(var Kr=0;Kr<en;Kr++)Gn[Nn+Kr]=mi}function Ve(Gn){return new Int32Array(Gn)}function Ze(Gn,Nn){for(var mi=[],en=0;en<Gn;en++)mi.push(new Nn);return mi}function At(Gn,Nn){var mi=[];return function en(Kr,dn,Vr){for(var ni=Vr[dn],Hn=0;Hn<ni&&(Kr.push(Vr.length>dn+1?[]:new Nn),!(Vr.length<dn+1));Hn++)en(Kr[Hn],dn+1,Vr)}(mi,0,Gn),mi}var dt=function(){var Nn=this;function mi(Ae,He){for(var ht=1<<He-1>>>0;Ae&ht;)ht>>>=1;return ht?(Ae&ht-1)+ht:Ae}function en(Ae,He,ht,zt,rr){Le(!(zt%ht));do Ae[He+(zt-=ht)]=rr;while(0<zt)}function Kr(Ae,He,ht,zt,rr){if(Le(2328>=rr),512>=rr)var mr=Ve(512);else if((mr=Ve(rr))==null)return 0;return function(Re,re,ye,ze,lt,_t){var Dt,Mt,ar=re,vr=1<<ye,ir=Ve(16),qt=Ve(16);for(Le(lt!=0),Le(ze!=null),Le(Re!=null),Le(0<ye),Mt=0;Mt<lt;++Mt){if(15<ze[Mt])return 0;++ir[ze[Mt]]}if(ir[0]==lt)return 0;for(qt[1]=0,Dt=1;15>Dt;++Dt){if(ir[Dt]>1<<Dt)return 0;qt[Dt+1]=qt[Dt]+ir[Dt]}for(Mt=0;Mt<lt;++Mt)Dt=ze[Mt],0<ze[Mt]&&(_t[qt[Dt]++]=Mt);if(qt[15]==1)return(ze=new dn).g=0,ze.value=_t[0],en(Re,ar,1,vr,ze),vr;var fr,br=-1,jr=vr-1,Sn=0,Un=1,vi=1,$n=1<<ye;for(Mt=0,Dt=1,lt=2;Dt<=ye;++Dt,lt<<=1){if(Un+=vi<<=1,0>(vi-=ir[Dt]))return 0;for(;0<ir[Dt];--ir[Dt])(ze=new dn).g=Dt,ze.value=_t[Mt++],en(Re,ar+Sn,lt,$n,ze),Sn=mi(Sn,Dt)}for(Dt=ye+1,lt=2;15>=Dt;++Dt,lt<<=1){if(Un+=vi<<=1,0>(vi-=ir[Dt]))return 0;for(;0<ir[Dt];--ir[Dt]){if(ze=new dn,(Sn&jr)!=br){for(ar+=$n,fr=1<<(br=Dt)-ye;15>br&&!(0>=(fr-=ir[br]));)++br,fr<<=1;vr+=$n=1<<(fr=br-ye),Re[re+(br=Sn&jr)].g=fr+ye,Re[re+br].value=ar-re-br}ze.g=Dt-ye,ze.value=_t[Mt++],en(Re,ar+(Sn>>ye),lt,$n,ze),Sn=mi(Sn,Dt)}}return Un!=2*qt[15]-1?0:vr}(Ae,He,ht,zt,rr,mr)}function dn(){this.value=this.g=0}function Vr(){this.value=this.g=0}function ni(){this.G=Ze(5,dn),this.H=Ve(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Ze(Oo,Vr)}function Hn(Ae,He,ht,zt){Le(Ae!=null),Le(He!=null),Le(2147483648>zt),Ae.Ca=254,Ae.I=0,Ae.b=-8,Ae.Ka=0,Ae.oa=He,Ae.pa=ht,Ae.Jd=He,Ae.Yc=ht+zt,Ae.Zc=4<=zt?ht+zt-4+1:ht,ti(Ae)}function Kn(Ae,He){for(var ht=0;0<He--;)ht|=qn(Ae,128)<<He;return ht}function bn(Ae,He){var ht=Kn(Ae,He);return ai(Ae)?-ht:ht}function wi(Ae,He,ht,zt){var rr,mr=0;for(Le(Ae!=null),Le(He!=null),Le(4294967288>zt),Ae.Sb=zt,Ae.Ra=0,Ae.u=0,Ae.h=0,4<zt&&(zt=4),rr=0;rr<zt;++rr)mr+=He[ht+rr]<<8*rr;Ae.Ra=mr,Ae.bb=zt,Ae.oa=He,Ae.pa=ht}function si(Ae){for(;8<=Ae.u&&Ae.bb<Ae.Sb;)Ae.Ra>>>=8,Ae.Ra+=Ae.oa[Ae.pa+Ae.bb]<<go-8>>>0,++Ae.bb,Ae.u-=8;yn(Ae)&&(Ae.h=1,Ae.u=0)}function Oi(Ae,He){if(Le(0<=He),!Ae.h&&He<=mo){var ht=sn(Ae)&is[He];return Ae.u+=He,si(Ae),ht}return Ae.h=1,Ae.u=0}function qr(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Sr(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function sn(Ae){return Ae.Ra>>>(Ae.u&go-1)>>>0}function yn(Ae){return Le(Ae.bb<=Ae.Sb),Ae.h||Ae.bb==Ae.Sb&&Ae.u>go}function On(Ae,He){Ae.u=He,Ae.h=yn(Ae)}function Pn(Ae){Ae.u>=ss&&(Le(Ae.u>=ss),si(Ae))}function ti(Ae){Le(Ae!=null&&Ae.oa!=null),Ae.pa<Ae.Zc?(Ae.I=(Ae.oa[Ae.pa++]|Ae.I<<8)>>>0,Ae.b+=8):(Le(Ae!=null&&Ae.oa!=null),Ae.pa<Ae.Yc?(Ae.b+=8,Ae.I=Ae.oa[Ae.pa++]|Ae.I<<8):Ae.Ka?Ae.b=0:(Ae.I<<=8,Ae.b+=8,Ae.Ka=1))}function ai(Ae){return Kn(Ae,1)}function qn(Ae,He){var ht=Ae.Ca;0>Ae.b&&ti(Ae);var zt=Ae.b,rr=ht*He>>>8,mr=(Ae.I>>>zt>rr)+0;for(mr?(ht-=rr,Ae.I-=rr+1<<zt>>>0):ht=rr+1,zt=ht,rr=0;256<=zt;)rr+=8,zt>>=8;return zt=7^rr+ys[zt],Ae.b-=zt,Ae.Ca=(ht<<zt)-1,mr}function xi(Ae,He,ht){Ae[He+0]=ht>>24&255,Ae[He+1]=ht>>16&255,Ae[He+2]=ht>>8&255,Ae[He+3]=ht>>0&255}function Pi(Ae,He){return Ae[He+0]<<0|Ae[He+1]<<8}function ki(Ae,He){return Pi(Ae,He)|Ae[He+2]<<16}function ja(Ae,He){return Pi(Ae,He)|Pi(Ae,He+2)<<16}function ri(Ae,He){var ht=1<<He;return Le(Ae!=null),Le(0<He),Ae.X=Ve(ht),Ae.X==null?0:(Ae.Mb=32-He,Ae.Xa=He,1)}function pt(Ae,He){Le(Ae!=null),Le(He!=null),Le(Ae.Xa==He.Xa),je(He.X,0,Ae.X,0,1<<He.Xa)}function gr(){this.X=[],this.Xa=this.Mb=0}function _r(Ae,He,ht,zt){Le(ht!=null),Le(zt!=null);var rr=ht[0],mr=zt[0];return rr==0&&(rr=(Ae*mr+He/2)/He),mr==0&&(mr=(He*rr+Ae/2)/Ae),0>=rr||0>=mr?0:(ht[0]=rr,zt[0]=mr,1)}function Dr(Ae,He){return Ae+(1<<He)-1>>>He}function tn(Ae,He){return((4278255360&Ae)+(4278255360&He)>>>0&4278255360)+((16711935&Ae)+(16711935&He)>>>0&16711935)>>>0}function Br(Ae,He){Nn[He]=function(ht,zt,rr,mr,Re,re,ye){var ze;for(ze=0;ze<Re;++ze){var lt=Nn[Ae](re[ye+ze-1],rr,mr+ze);re[ye+ze]=tn(ht[zt+ze],lt)}}}function wn(){this.ud=this.hd=this.jd=0}function mn(Ae,He){return((4278124286&(Ae^He))>>>1)+(Ae&He)>>>0}function _n(Ae){return 0<=Ae&&256>Ae?Ae:0>Ae?0:255<Ae?255:void 0}function hi(Ae,He){return _n(Ae+(Ae-He+.5>>1))}function li(Ae,He,ht){return Math.abs(He-ht)-Math.abs(Ae-ht)}function Zn(Ae,He,ht,zt,rr,mr,Re){for(zt=mr[Re-1],ht=0;ht<rr;++ht)mr[Re+ht]=zt=tn(Ae[He+ht],zt)}function $e(Ae,He,ht,zt,rr){var mr;for(mr=0;mr<ht;++mr){var Re=Ae[He+mr],re=Re>>8&255,ye=16711935&(ye=(ye=16711935&Re)+((re<<16)+re));zt[rr+mr]=(4278255360&Re)+ye>>>0}}function kt(Ae,He){He.jd=Ae>>0&255,He.hd=Ae>>8&255,He.ud=Ae>>16&255}function or(Ae,He,ht,zt,rr,mr){var Re;for(Re=0;Re<zt;++Re){var re=He[ht+Re],ye=re>>>8,ze=re,lt=255&(lt=(lt=re>>>16)+((Ae.jd<<24>>24)*(ye<<24>>24)>>>5));ze=255&(ze=(ze=ze+((Ae.hd<<24>>24)*(ye<<24>>24)>>>5))+((Ae.ud<<24>>24)*(lt<<24>>24)>>>5)),rr[mr+Re]=(4278255360&re)+(lt<<16)+ze}}function tr(Ae,He,ht,zt,rr){Nn[He]=function(mr,Re,re,ye,ze,lt,_t,Dt,Mt){for(ye=_t;ye<Dt;++ye)for(_t=0;_t<Mt;++_t)ze[lt++]=rr(re[zt(mr[Re++])])},Nn[Ae]=function(mr,Re,re,ye,ze,lt,_t){var Dt=8>>mr.b,Mt=mr.Ea,ar=mr.K[0],vr=mr.w;if(8>Dt)for(mr=(1<<mr.b)-1,vr=(1<<Dt)-1;Re<re;++Re){var ir,qt=0;for(ir=0;ir<Mt;++ir)ir&mr||(qt=zt(ye[ze++])),lt[_t++]=rr(ar[qt&vr]),qt>>=Dt}else Nn["VP8LMapColor"+ht](ye,ze,ar,vr,lt,_t,Re,re,Mt)}}function Or(Ae,He,ht,zt,rr){for(ht=He+ht;He<ht;){var mr=Ae[He++];zt[rr++]=mr>>16&255,zt[rr++]=mr>>8&255,zt[rr++]=mr>>0&255}}function wr(Ae,He,ht,zt,rr){for(ht=He+ht;He<ht;){var mr=Ae[He++];zt[rr++]=mr>>16&255,zt[rr++]=mr>>8&255,zt[rr++]=mr>>0&255,zt[rr++]=mr>>24&255}}function Xr(Ae,He,ht,zt,rr){for(ht=He+ht;He<ht;){var mr=(Re=Ae[He++])>>16&240|Re>>12&15,Re=Re>>0&240|Re>>28&15;zt[rr++]=mr,zt[rr++]=Re}}function Qr(Ae,He,ht,zt,rr){for(ht=He+ht;He<ht;){var mr=(Re=Ae[He++])>>16&248|Re>>13&7,Re=Re>>5&224|Re>>3&31;zt[rr++]=mr,zt[rr++]=Re}}function cn(Ae,He,ht,zt,rr){for(ht=He+ht;He<ht;){var mr=Ae[He++];zt[rr++]=mr>>0&255,zt[rr++]=mr>>8&255,zt[rr++]=mr>>16&255}}function Ln(Ae,He,ht,zt,rr,mr){if(mr==0)for(ht=He+ht;He<ht;)xi(zt,((mr=Ae[He++])[0]>>24|mr[1]>>8&65280|mr[2]<<8&16711680|mr[3]<<24)>>>0),rr+=32;else je(zt,rr,Ae,He,ht)}function Cn(Ae,He){Nn[He][0]=Nn[Ae+"0"],Nn[He][1]=Nn[Ae+"1"],Nn[He][2]=Nn[Ae+"2"],Nn[He][3]=Nn[Ae+"3"],Nn[He][4]=Nn[Ae+"4"],Nn[He][5]=Nn[Ae+"5"],Nn[He][6]=Nn[Ae+"6"],Nn[He][7]=Nn[Ae+"7"],Nn[He][8]=Nn[Ae+"8"],Nn[He][9]=Nn[Ae+"9"],Nn[He][10]=Nn[Ae+"10"],Nn[He][11]=Nn[Ae+"11"],Nn[He][12]=Nn[Ae+"12"],Nn[He][13]=Nn[Ae+"13"],Nn[He][14]=Nn[Ae+"0"],Nn[He][15]=Nn[Ae+"0"]}function Bn(Ae){return Ae==uc||Ae==Sl||Ae==_l||Ae==Ml}function nn(){this.eb=[],this.size=this.A=this.fb=0}function Dn(){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 hn(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new nn,this.f.kb=new Dn,this.sd=null}function An(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function xn(){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 Rn(Ae){return alert("todo:WebPSamplerProcessPlane"),Ae.T}function ui(Ae,He){var ht=Ae.T,zt=He.ba.f.RGBA,rr=zt.eb,mr=zt.fb+Ae.ka*zt.A,Re=yl[He.ba.S],re=Ae.y,ye=Ae.O,ze=Ae.f,lt=Ae.N,_t=Ae.ea,Dt=Ae.W,Mt=He.cc,ar=He.dc,vr=He.Mc,ir=He.Nc,qt=Ae.ka,fr=Ae.ka+Ae.T,br=Ae.U,jr=br+1>>1;for(qt==0?Re(re,ye,null,null,ze,lt,_t,Dt,ze,lt,_t,Dt,rr,mr,null,null,br):(Re(He.ec,He.fc,re,ye,Mt,ar,vr,ir,ze,lt,_t,Dt,rr,mr-zt.A,rr,mr,br),++ht);qt+2<fr;qt+=2)Mt=ze,ar=lt,vr=_t,ir=Dt,lt+=Ae.Rc,Dt+=Ae.Rc,mr+=2*zt.A,Re(re,(ye+=2*Ae.fa)-Ae.fa,re,ye,Mt,ar,vr,ir,ze,lt,_t,Dt,rr,mr-zt.A,rr,mr,br);return ye+=Ae.fa,Ae.j+fr<Ae.o?(je(He.ec,He.fc,re,ye,br),je(He.cc,He.dc,ze,lt,jr),je(He.Mc,He.Nc,_t,Dt,jr),ht--):1&fr||Re(re,ye,null,null,ze,lt,_t,Dt,ze,lt,_t,Dt,rr,mr+zt.A,null,null,br),ht}function gi(Ae,He,ht){var zt=Ae.F,rr=[Ae.J];if(zt!=null){var mr=Ae.U,Re=He.ba.S,re=Re==Rl||Re==_l;He=He.ba.f.RGBA;var ye=[0],ze=Ae.ka;ye[0]=Ae.T,Ae.Kb&&(ze==0?--ye[0]:(--ze,rr[0]-=Ae.width),Ae.j+Ae.ka+Ae.T==Ae.o&&(ye[0]=Ae.o-Ae.j-ze));var lt=He.eb;ze=He.fb+ze*He.A,Ae=Ls(zt,rr[0],Ae.width,mr,ye,lt,ze+(re?0:3),He.A),Le(ht==ye),Ae&&Bn(Re)&&Ys(lt,ze,re,mr,ye,He.A)}return 0}function Fi(Ae){var He=Ae.ma,ht=He.ba.S,zt=11>ht,rr=ht==ql||ht==Xl||ht==Rl||ht==cc||ht==12||Bn(ht);if(He.memory=null,He.Ib=null,He.Jb=null,He.Nd=null,!eo(He.Oa,Ae,rr?11:12))return 0;if(rr&&Bn(ht)&&Ke(),Ae.da)alert("todo:use_scaling");else{if(zt){if(He.Ib=Rn,Ae.Kb){if(ht=Ae.U+1>>1,He.memory=Ve(Ae.U+2*ht),He.memory==null)return 0;He.ec=He.memory,He.fc=0,He.cc=He.ec,He.dc=He.fc+Ae.U,He.Mc=He.cc,He.Nc=He.dc+ht,He.Ib=ui,Ke()}}else alert("todo:EmitYUV");rr&&(He.Jb=gi,zt&&ve())}if(zt&&!Wc){for(Ae=0;256>Ae;++Ae)$c[Ae]=89858*(Ae-128)+Ll>>Ol,eu[Ae]=-22014*(Ae-128)+Ll,mc[Ae]=-45773*(Ae-128),Ql[Ae]=113618*(Ae-128)+Ll>>Ol;for(Ae=Gl;Ae<Kl;++Ae)He=76283*(Ae-16)+Ll>>Ol,Oc[Ae-Gl]=no(He,255),ac[Ae-Gl]=no(He+8>>4,15);Wc=1}return 1}function di(Ae){var He=Ae.ma,ht=Ae.U,zt=Ae.T;return Le(!(1&Ae.ka)),0>=ht||0>=zt?0:(ht=He.Ib(Ae,He),He.Jb!=null&&He.Jb(Ae,He,ht),He.Dc+=ht,1)}function ii(Ae){Ae.ma.memory=null}function Yi(Ae,He,ht,zt){return Oi(Ae,8)!=47?0:(He[0]=Oi(Ae,14)+1,ht[0]=Oi(Ae,14)+1,zt[0]=Oi(Ae,1),Oi(Ae,3)!=0?0:!Ae.h)}function _i(Ae,He){if(4>Ae)return Ae+1;var ht=Ae-2>>1;return(2+(1&Ae)<<ht)+Oi(He,ht)+1}function Mi(Ae,He){return 120<He?He-120:1<=(ht=((ht=tc[He-1])>>4)*Ae+(8-(15&ht)))?ht:1;var ht}function Bi(Ae,He,ht){var zt=sn(ht),rr=Ae[He+=255&zt].g-8;return 0<rr&&(On(ht,ht.u+8),zt=sn(ht),He+=Ae[He].value,He+=zt&(1<<rr)-1),On(ht,ht.u+Ae[He].g),Ae[He].value}function Zi(Ae,He,ht){return ht.g+=Ae.g,ht.value+=Ae.value<<He>>>0,Le(8>=ht.g),Ae.g}function da(Ae,He,ht){var zt=Ae.xc;return Le((He=zt==0?0:Ae.vc[Ae.md*(ht>>zt)+(He>>zt)])<Ae.Wb),Ae.Ya[He]}function Ma(Ae,He,ht,zt){var rr=Ae.ab,mr=Ae.c*He,Re=Ae.C;He=Re+He;var re=ht,ye=zt;for(zt=Ae.Ta,ht=Ae.Ua;0<rr--;){var ze=Ae.gc[rr],lt=Re,_t=He,Dt=re,Mt=ye,ar=(ye=zt,re=ht,ze.Ea);switch(Le(lt<_t),Le(_t<=ze.nc),ze.hc){case 2:Ks(Dt,Mt,(_t-lt)*ar,ye,re);break;case 0:var vr=lt,ir=_t,qt=ye,fr=re,br=($n=ze).Ea;vr==0&&(Yo(Dt,Mt,null,null,1,qt,fr),Zn(Dt,Mt+1,0,0,br-1,qt,fr+1),Mt+=br,fr+=br,++vr);for(var jr=1<<$n.b,Sn=jr-1,Un=Dr(br,$n.b),vi=$n.K,$n=$n.w+(vr>>$n.b)*Un;vr<ir;){var Qi=vi,Ei=$n,ua=1;for(So(Dt,Mt,qt,fr-br,1,qt,fr);ua<br;){var qi=(ua&~Sn)+jr;qi>br&&(qi=br),(0,Fo[Qi[Ei++]>>8&15])(Dt,Mt+ +ua,qt,fr+ua-br,qi-ua,qt,fr+ua),ua=qi}Mt+=br,fr+=br,++vr&Sn||($n+=Un)}_t!=ze.nc&&je(ye,re-ar,ye,re+(_t-lt-1)*ar,ar);break;case 1:for(ar=Dt,ir=Mt,br=(Dt=ze.Ea)-(fr=Dt&~(qt=(Mt=1<<ze.b)-1)),vr=Dr(Dt,ze.b),jr=ze.K,ze=ze.w+(lt>>ze.b)*vr;lt<_t;){for(Sn=jr,Un=ze,vi=new wn,$n=ir+fr,Qi=ir+Dt;ir<$n;)kt(Sn[Un++],vi),Ui(vi,ar,ir,Mt,ye,re),ir+=Mt,re+=Mt;ir<Qi&&(kt(Sn[Un++],vi),Ui(vi,ar,ir,br,ye,re),ir+=br,re+=br),++lt&qt||(ze+=vr)}break;case 3:if(Dt==ye&&Mt==re&&0<ze.b){for(ir=ye,Dt=ar=re+(_t-lt)*ar-(fr=(_t-lt)*Dr(ze.Ea,ze.b)),Mt=ye,qt=re,vr=[],fr=(br=fr)-1;0<=fr;--fr)vr[fr]=Mt[qt+fr];for(fr=br-1;0<=fr;--fr)ir[Dt+fr]=vr[fr];ls(ze,lt,_t,ye,ar,ye,re)}else ls(ze,lt,_t,Dt,Mt,ye,re)}re=zt,ye=ht}ye!=ht&&je(zt,ht,re,ye,mr)}function La(Ae,He){var ht=Ae.V,zt=Ae.Ba+Ae.c*Ae.C,rr=He-Ae.C;if(Le(He<=Ae.l.o),Le(16>=rr),0<rr){var mr=Ae.l,Re=Ae.Ta,re=Ae.Ua,ye=mr.width;if(Ma(Ae,rr,ht,zt),rr=re=[re],Le((ht=Ae.C)<(zt=He)),Le(mr.v<mr.va),zt>mr.o&&(zt=mr.o),ht<mr.j){var ze=mr.j-ht;ht=mr.j,rr[0]+=ze*ye}if(ht>=zt?ht=0:(rr[0]+=4*mr.v,mr.ka=ht-mr.j,mr.U=mr.va-mr.v,mr.T=zt-ht,ht=1),ht){if(re=re[0],11>(ht=Ae.ca).S){var lt=ht.f.RGBA,_t=(zt=ht.S,rr=mr.U,mr=mr.T,ze=lt.eb,lt.A),Dt=mr;for(lt=lt.fb+Ae.Ma*lt.A;0<Dt--;){var Mt=Re,ar=re,vr=rr,ir=ze,qt=lt;switch(zt){case Vl:zs(Mt,ar,vr,ir,qt);break;case ql:tl(Mt,ar,vr,ir,qt);break;case uc:tl(Mt,ar,vr,ir,qt),Ys(ir,qt,0,vr,1,0);break;case lc:fl(Mt,ar,vr,ir,qt);break;case Xl:Ln(Mt,ar,vr,ir,qt,1);break;case Sl:Ln(Mt,ar,vr,ir,qt,1),Ys(ir,qt,0,vr,1,0);break;case Rl:Ln(Mt,ar,vr,ir,qt,0);break;case _l:Ln(Mt,ar,vr,ir,qt,0),Ys(ir,qt,1,vr,1,0);break;case cc:As(Mt,ar,vr,ir,qt);break;case Ml:As(Mt,ar,vr,ir,qt),pl(ir,qt,vr,1,0);break;case $l:Jo(Mt,ar,vr,ir,qt);break;default:Le(0)}re+=ye,lt+=_t}Ae.Ma+=mr}else alert("todo:EmitRescaledRowsYUVA");Le(Ae.Ma<=ht.height)}}Ae.C=He,Le(Ae.C<=Ae.i)}function fa(Ae){var He;if(0<Ae.ua)return 0;for(He=0;He<Ae.Wb;++He){var ht=Ae.Ya[He].G,zt=Ae.Ya[He].H;if(0<ht[1][zt[1]+0].g||0<ht[2][zt[2]+0].g||0<ht[3][zt[3]+0].g)return 0}return 1}function xa(Ae,He,ht,zt,rr,mr){if(Ae.Z!=0){var Re=Ae.qd,re=Ae.rd;for(Le(Il[Ae.Z]!=null);He<ht;++He)Il[Ae.Z](Re,re,zt,rr,zt,rr,mr),Re=zt,re=rr,rr+=mr;Ae.qd=Re,Ae.rd=re}}function ea(Ae,He){var ht=Ae.l.ma,zt=ht.Z==0||ht.Z==1?Ae.l.j:Ae.C;if(zt=Ae.C<zt?zt:Ae.C,Le(He<=Ae.l.o),He>zt){var rr=Ae.l.width,mr=ht.ca,Re=ht.tb+rr*zt,re=Ae.V,ye=Ae.Ba+Ae.c*zt,ze=Ae.gc;Le(Ae.ab==1),Le(ze[0].hc==3),ll(ze[0],zt,He,re,ye,mr,Re),xa(ht,zt,He,mr,Re,rr)}Ae.C=Ae.Ma=He}function ya(Ae,He,ht,zt,rr,mr,Re){var re=Ae.$/zt,ye=Ae.$%zt,ze=Ae.m,lt=Ae.s,_t=ht+Ae.$,Dt=_t;rr=ht+zt*rr;var Mt=ht+zt*mr,ar=280+lt.ua,vr=Ae.Pb?re:16777216,ir=0<lt.ua?lt.Wa:null,qt=lt.wc,fr=_t<Mt?da(lt,ye,re):null;Le(Ae.C<mr),Le(Mt<=rr);var br=!1;e:for(;;){for(;br||_t<Mt;){var jr=0;if(re>=vr){var Sn=_t-ht;Le((vr=Ae).Pb),vr.wd=vr.m,vr.xd=Sn,0<vr.s.ua&&pt(vr.s.Wa,vr.s.vb),vr=re+dc}if(ye&qt||(fr=da(lt,ye,re)),Le(fr!=null),fr.Qb&&(He[_t]=fr.qb,br=!0),!br)if(Pn(ze),fr.jc){jr=ze,Sn=He;var Un=_t,vi=fr.pd[sn(jr)&Oo-1];Le(fr.jc),256>vi.g?(On(jr,jr.u+vi.g),Sn[Un]=vi.value,jr=0):(On(jr,jr.u+vi.g-256),Le(256<=vi.value),jr=vi.value),jr==0&&(br=!0)}else jr=Bi(fr.G[0],fr.H[0],ze);if(ze.h)break;if(br||256>jr){if(!br)if(fr.nd)He[_t]=(fr.qb|jr<<8)>>>0;else{if(Pn(ze),br=Bi(fr.G[1],fr.H[1],ze),Pn(ze),Sn=Bi(fr.G[2],fr.H[2],ze),Un=Bi(fr.G[3],fr.H[3],ze),ze.h)break;He[_t]=(Un<<24|br<<16|jr<<8|Sn)>>>0}if(br=!1,++_t,++ye>=zt&&(ye=0,++re,Re!=null&&re<=mr&&!(re%16)&&Re(Ae,re),ir!=null))for(;Dt<_t;)jr=He[Dt++],ir.X[(506832829*jr&4294967295)>>>ir.Mb]=jr}else if(280>jr){if(jr=_i(jr-256,ze),Sn=Bi(fr.G[4],fr.H[4],ze),Pn(ze),Sn=Mi(zt,Sn=_i(Sn,ze)),ze.h)break;if(_t-ht<Sn||rr-_t<jr)break e;for(Un=0;Un<jr;++Un)He[_t+Un]=He[_t+Un-Sn];for(_t+=jr,ye+=jr;ye>=zt;)ye-=zt,++re,Re!=null&&re<=mr&&!(re%16)&&Re(Ae,re);if(Le(_t<=rr),ye&qt&&(fr=da(lt,ye,re)),ir!=null)for(;Dt<_t;)jr=He[Dt++],ir.X[(506832829*jr&4294967295)>>>ir.Mb]=jr}else{if(!(jr<ar))break e;for(br=jr-280,Le(ir!=null);Dt<_t;)jr=He[Dt++],ir.X[(506832829*jr&4294967295)>>>ir.Mb]=jr;jr=_t,Le(!(br>>>(Sn=ir).Xa)),He[jr]=Sn.X[br],br=!0}br||Le(ze.h==yn(ze))}if(Ae.Pb&&ze.h&&_t<rr)Le(Ae.m.h),Ae.a=5,Ae.m=Ae.wd,Ae.$=Ae.xd,0<Ae.s.ua&&pt(Ae.s.vb,Ae.s.Wa);else{if(ze.h)break e;Re!=null&&Re(Ae,re>mr?mr:re),Ae.a=0,Ae.$=_t-ht}return 1}return Ae.a=3,0}function sa(Ae){Le(Ae!=null),Ae.vc=null,Ae.yc=null,Ae.Ya=null;var He=Ae.Wa;He!=null&&(He.X=null),Ae.vb=null,Le(Ae!=null)}function Fa(){var Ae=new vl;return Ae==null?null:(Ae.a=0,Ae.xb=ic,Cn("Predictor","VP8LPredictors"),Cn("Predictor","VP8LPredictors_C"),Cn("PredictorAdd","VP8LPredictorsAdd"),Cn("PredictorAdd","VP8LPredictorsAdd_C"),Ks=$e,Ui=or,zs=Or,tl=wr,As=Xr,Jo=Qr,fl=cn,Nn.VP8LMapColor32b=sl,Nn.VP8LMapColor8b=bs,Ae)}function uo(Ae,He,ht,zt,rr){var mr=1,Re=[Ae],re=[He],ye=zt.m,ze=zt.s,lt=null,_t=0;e:for(;;){if(ht)for(;mr&&Oi(ye,1);){var Dt=Re,Mt=re,ar=zt,vr=1,ir=ar.m,qt=ar.gc[ar.ab],fr=Oi(ir,2);if(ar.Oc&1<<fr)mr=0;else{switch(ar.Oc|=1<<fr,qt.hc=fr,qt.Ea=Dt[0],qt.nc=Mt[0],qt.K=[null],++ar.ab,Le(4>=ar.ab),fr){case 0:case 1:qt.b=Oi(ir,3)+2,vr=uo(Dr(qt.Ea,qt.b),Dr(qt.nc,qt.b),0,ar,qt.K),qt.K=qt.K[0];break;case 3:var br,jr=Oi(ir,8)+1,Sn=16<jr?0:4<jr?1:2<jr?2:3;if(Dt[0]=Dr(qt.Ea,Sn),qt.b=Sn,br=vr=uo(jr,1,0,ar,qt.K)){var Un,vi=jr,$n=qt,Qi=1<<(8>>$n.b),Ei=Ve(Qi);if(Ei==null)br=0;else{var ua=$n.K[0],qi=$n.w;for(Ei[0]=$n.K[0][0],Un=1;Un<1*vi;++Un)Ei[Un]=tn(ua[qi+Un],Ei[Un-1]);for(;Un<4*Qi;++Un)Ei[Un]=0;$n.K[0]=null,$n.K[0]=Ei,br=1}}vr=br;break;case 2:break;default:Le(0)}mr=vr}}if(Re=Re[0],re=re[0],mr&&Oi(ye,1)&&!(mr=1<=(_t=Oi(ye,4))&&11>=_t)){zt.a=3;break e}var aa;if(aa=mr)t:{var Xa,O,M,ee=zt,ne=Re,de=re,Be=_t,ft=ht,Nt=ee.m,Vt=ee.s,Gt=[null],Fr=1,Jr=0,pn=jc[Be];r:for(;;){if(ft&&Oi(Nt,1)){var vn=Oi(Nt,3)+2,ci=Dr(ne,vn),Si=Dr(de,vn),Ri=ci*Si;if(!uo(ci,Si,0,ee,Gt))break r;for(Gt=Gt[0],Vt.xc=vn,Xa=0;Xa<Ri;++Xa){var Ni=Gt[Xa]>>8&65535;Gt[Xa]=Ni,Ni>=Fr&&(Fr=Ni+1)}}if(Nt.h)break r;for(O=0;5>O;++O){var Ii=Uc[O];!O&&0<Be&&(Ii+=1<<Be),Jr<Ii&&(Jr=Ii)}var Vi=Ze(Fr*pn,dn),ia=Fr,Ka=Ze(ia,ni);if(Ka==null)var Oa=null;else Le(65536>=ia),Oa=Ka;var so=Ve(Jr);if(Oa==null||so==null||Vi==null){ee.a=1;break r}var xo=Vi;for(Xa=M=0;Xa<Fr;++Xa){var Zo=Oa[Xa],jo=Zo.G,Ns=Zo.H,dl=0,ds=1,hl=0;for(O=0;5>O;++O){Ii=Uc[O],jo[O]=xo,Ns[O]=M,!O&&0<Be&&(Ii+=1<<Be);i:{var Ds,Ss=Ii,fs=ee,os=so,il=xo,Ac=M,El=0,ps=fs.m,bl=Oi(ps,1);if(Je(os,0,0,Ss),bl){var Us=Oi(ps,1)+1,tu=Oi(ps,1),$i=Oi(ps,tu==0?1:8);os[$i]=1,Us==2&&(os[$i=Oi(ps,8)]=1);var gl=1}else{var Nl=Ve(19),ts=Oi(ps,4)+4;if(19<ts){fs.a=3;var zl=0;break i}for(Ds=0;Ds<ts;++Ds)Nl[xl[Ds]]=Oi(ps,3);var ko=void 0,cs=void 0,ru=fs,xu=Nl,Nc=Ss,wu=os,Vc=0,vc=ru.m,Su=8,fu=Ze(128,dn);n:for(;Kr(fu,0,7,xu,19);){if(Oi(vc,1)){var Eu=2+2*Oi(vc,3);if((ko=2+Oi(vc,Eu))>Nc)break n}else ko=Nc;for(cs=0;cs<Nc&&ko--;){Pn(vc);var pu=fu[0+(127&sn(vc))];On(vc,vc.u+pu.g);var Dc=pu.value;if(16>Dc)wu[cs++]=Dc,Dc!=0&&(Su=Dc);else{var _u=Dc==16,mu=Dc-16,Cu=Cl[mu],gu=Oi(vc,ec[mu])+Cu;if(cs+gu>Nc)break n;for(var Tu=_u?Su:0;0<gu--;)wu[cs++]=Tu}}Vc=1;break n}Vc||(ru.a=3),gl=Vc}(gl=gl&&!ps.h)&&(El=Kr(il,Ac,8,os,Ss)),gl&&El!=0?zl=El:(fs.a=3,zl=0)}if(zl==0)break r;if(ds&&ml[O]==1&&(ds=xo[M].g==0),dl+=xo[M].g,M+=zl,3>=O){var nu,Au=so[0];for(nu=1;nu<Ii;++nu)so[nu]>Au&&(Au=so[nu]);hl+=Au}}if(Zo.nd=ds,Zo.Qb=0,ds&&(Zo.qb=(jo[3][Ns[3]+0].value<<24|jo[1][Ns[1]+0].value<<16|jo[2][Ns[2]+0].value)>>>0,dl==0&&256>jo[0][Ns[0]+0].value&&(Zo.Qb=1,Zo.qb+=jo[0][Ns[0]+0].value<<8)),Zo.jc=!Zo.Qb&&6>hl,Zo.jc){var Rc,$s=Zo;for(Rc=0;Rc<Oo;++Rc){var sc=Rc,Wl=$s.pd[sc],cu=$s.G[0][$s.H[0]+sc];256<=cu.value?(Wl.g=cu.g+256,Wl.value=cu.value):(Wl.g=0,Wl.value=0,sc>>=Zi(cu,8,Wl),sc>>=Zi($s.G[1][$s.H[1]+sc],16,Wl),sc>>=Zi($s.G[2][$s.H[2]+sc],0,Wl),Zi($s.G[3][$s.H[3]+sc],24,Wl))}}}Vt.vc=Gt,Vt.Wb=Fr,Vt.Ya=Oa,Vt.yc=Vi,aa=1;break t}aa=0}if(!(mr=aa)){zt.a=3;break e}if(0<_t){if(ze.ua=1<<_t,!ri(ze.Wa,_t)){zt.a=1,mr=0;break e}}else ze.ua=0;var vu=zt,uu=Re,Xc=re,Gc=vu.s,yu=Gc.xc;if(vu.c=uu,vu.i=Xc,Gc.md=Dr(uu,yu),Gc.wc=yu==0?-1:(1<<yu)-1,ht){zt.xb=nc;break e}if((lt=Ve(Re*re))==null){zt.a=1,mr=0;break e}mr=(mr=ya(zt,lt,0,Re,re,re,null))&&!ye.h;break e}return mr?(rr!=null?rr[0]=lt:(Le(lt==null),Le(ht)),zt.$=0,ht||sa(ze)):sa(ze),mr}function za(Ae,He){var ht=Ae.c*Ae.i,zt=ht+He+16*He;return Le(Ae.c<=He),Ae.V=Ve(zt),Ae.V==null?(Ae.Ta=null,Ae.Ua=0,Ae.a=1,0):(Ae.Ta=Ae.V,Ae.Ua=Ae.Ba+ht+He,1)}function Ya(Ae,He){var ht=Ae.C,zt=He-ht,rr=Ae.V,mr=Ae.Ba+Ae.c*ht;for(Le(He<=Ae.l.o);0<zt;){var Re=16<zt?16:zt,re=Ae.l.ma,ye=Ae.l.width,ze=ye*Re,lt=re.ca,_t=re.tb+ye*ht,Dt=Ae.Ta,Mt=Ae.Ua;Ma(Ae,Re,rr,mr),hs(Dt,Mt,lt,_t,ze),xa(re,ht,ht+Re,lt,_t,ye),zt-=Re,rr+=Re*Ae.c,ht+=Re}Le(ht==He),Ae.C=Ae.Ma=He}function lo(){this.ub=this.yd=this.td=this.Rb=0}function ta(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Xi(){this.Fb=this.Bb=this.Cb=0,this.Zb=Ve(4),this.Lb=Ve(4)}function Gi(){this.Yb=function(){var Ae=[];return function He(ht,zt,rr){for(var mr=rr[zt],Re=0;Re<mr&&(ht.push(rr.length>zt+1?[]:0),!(rr.length<zt+1));Re++)He(ht[Re],zt+1,rr)}(Ae,0,[3,11]),Ae}()}function Ta(){this.jb=Ve(3),this.Wc=At([4,8],Gi),this.Xc=At([4,17],Gi)}function ka(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new Ve(4),this.od=new Ve(4)}function ha(){this.ld=this.La=this.dd=this.tc=0}function Ua(){this.Na=this.la=0}function ao(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ao(){this.ad=Ve(384),this.Za=0,this.Ob=Ve(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function ho(){this.uc=this.M=this.Nb=0,this.wa=Array(new ha),this.Y=0,this.ya=Array(new Ao),this.aa=0,this.l=new Wi}function ro(){this.y=Ve(16),this.f=Ve(8),this.ea=Ve(8)}function qa(){this.cb=this.a=0,this.sc="",this.m=new qr,this.Od=new lo,this.Kc=new ta,this.ed=new ka,this.Qa=new Xi,this.Ic=this.$c=this.Aa=0,this.D=new ho,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Ze(8,qr),this.ia=0,this.pb=Ze(4,ao),this.Pa=new Ta,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new ro),this.Hd=0,this.rb=Array(new Ua),this.sb=0,this.wa=Array(new ha),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 Ao),this.L=this.aa=0,this.gd=At([4,2],ha),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 no(Ae,He){return 0>Ae?0:Ae>He?He:Ae}function Wi(){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 Ci(){var Ae=new qa;return Ae!=null&&(Ae.a=0,Ae.sc="OK",Ae.cb=0,Ae.Xb=0,jl||(jl=Aa)),Ae}function Di(Ae,He,ht){return Ae.a==0&&(Ae.a=He,Ae.sc=ht,Ae.cb=0),0}function ma(Ae,He,ht){return 3<=ht&&Ae[He+0]==157&&Ae[He+1]==1&&Ae[He+2]==42}function ga(Ae,He){if(Ae==null)return 0;if(Ae.a=0,Ae.sc="OK",He==null)return Di(Ae,2,"null VP8Io passed to VP8GetHeaders()");var ht=He.data,zt=He.w,rr=He.ha;if(4>rr)return Di(Ae,7,"Truncated header.");var mr=ht[zt+0]|ht[zt+1]<<8|ht[zt+2]<<16,Re=Ae.Od;if(Re.Rb=!(1&mr),Re.td=mr>>1&7,Re.yd=mr>>4&1,Re.ub=mr>>5,3<Re.td)return Di(Ae,3,"Incorrect keyframe parameters.");if(!Re.yd)return Di(Ae,4,"Frame not displayable.");zt+=3,rr-=3;var re=Ae.Kc;if(Re.Rb){if(7>rr)return Di(Ae,7,"cannot parse picture header");if(!ma(ht,zt,rr))return Di(Ae,3,"Bad code word");re.c=16383&(ht[zt+4]<<8|ht[zt+3]),re.Td=ht[zt+4]>>6,re.i=16383&(ht[zt+6]<<8|ht[zt+5]),re.Ud=ht[zt+6]>>6,zt+=7,rr-=7,Ae.za=re.c+15>>4,Ae.Ub=re.i+15>>4,He.width=re.c,He.height=re.i,He.Da=0,He.j=0,He.v=0,He.va=He.width,He.o=He.height,He.da=0,He.ib=He.width,He.hb=He.height,He.U=He.width,He.T=He.height,Je((mr=Ae.Pa).jb,0,255,mr.jb.length),Le((mr=Ae.Qa)!=null),mr.Cb=0,mr.Bb=0,mr.Fb=1,Je(mr.Zb,0,0,mr.Zb.length),Je(mr.Lb,0,0,mr.Lb)}if(Re.ub>rr)return Di(Ae,7,"bad partition length");Hn(mr=Ae.m,ht,zt,Re.ub),zt+=Re.ub,rr-=Re.ub,Re.Rb&&(re.Ld=ai(mr),re.Kd=ai(mr)),re=Ae.Qa;var ye,ze=Ae.Pa;if(Le(mr!=null),Le(re!=null),re.Cb=ai(mr),re.Cb){if(re.Bb=ai(mr),ai(mr)){for(re.Fb=ai(mr),ye=0;4>ye;++ye)re.Zb[ye]=ai(mr)?bn(mr,7):0;for(ye=0;4>ye;++ye)re.Lb[ye]=ai(mr)?bn(mr,6):0}if(re.Bb)for(ye=0;3>ye;++ye)ze.jb[ye]=ai(mr)?Kn(mr,8):255}else re.Bb=0;if(mr.Ka)return Di(Ae,3,"cannot parse segment header");if((re=Ae.ed).zd=ai(mr),re.Tb=Kn(mr,6),re.wb=Kn(mr,3),re.Pc=ai(mr),re.Pc&&ai(mr)){for(ze=0;4>ze;++ze)ai(mr)&&(re.vd[ze]=bn(mr,6));for(ze=0;4>ze;++ze)ai(mr)&&(re.od[ze]=bn(mr,6))}if(Ae.L=re.Tb==0?0:re.zd?1:2,mr.Ka)return Di(Ae,3,"cannot parse filter header");var lt=rr;if(rr=ye=zt,zt=ye+lt,re=lt,Ae.Xb=(1<<Kn(Ae.m,2))-1,lt<3*(ze=Ae.Xb))ht=7;else{for(ye+=3*ze,re-=3*ze,lt=0;lt<ze;++lt){var _t=ht[rr+0]|ht[rr+1]<<8|ht[rr+2]<<16;_t>re&&(_t=re),Hn(Ae.Jc[+lt],ht,ye,_t),ye+=_t,re-=_t,rr+=3}Hn(Ae.Jc[+ze],ht,ye,re),ht=ye<zt?0:5}if(ht!=0)return Di(Ae,ht,"cannot parse partitions");for(ht=Kn(ye=Ae.m,7),rr=ai(ye)?bn(ye,4):0,zt=ai(ye)?bn(ye,4):0,re=ai(ye)?bn(ye,4):0,ze=ai(ye)?bn(ye,4):0,ye=ai(ye)?bn(ye,4):0,lt=Ae.Qa,_t=0;4>_t;++_t){if(lt.Cb){var Dt=lt.Zb[_t];lt.Fb||(Dt+=ht)}else{if(0<_t){Ae.pb[_t]=Ae.pb[0];continue}Dt=ht}var Mt=Ae.pb[_t];Mt.Sc[0]=Fl[no(Dt+rr,127)],Mt.Sc[1]=kl[no(Dt+0,127)],Mt.Eb[0]=2*Fl[no(Dt+zt,127)],Mt.Eb[1]=101581*kl[no(Dt+re,127)]>>16,8>Mt.Eb[1]&&(Mt.Eb[1]=8),Mt.Qc[0]=Fl[no(Dt+ze,117)],Mt.Qc[1]=kl[no(Dt+ye,127)],Mt.lc=Dt+ye}if(!Re.Rb)return Di(Ae,4,"Not a key frame.");for(ai(mr),Re=Ae.Pa,ht=0;4>ht;++ht){for(rr=0;8>rr;++rr)for(zt=0;3>zt;++zt)for(re=0;11>re;++re)ze=qn(mr,rc[ht][rr][zt][re])?Kn(mr,8):Hl[ht][rr][zt][re],Re.Wc[ht][rr].Yb[zt][re]=ze;for(rr=0;17>rr;++rr)Re.Xc[ht][rr]=Re.Wc[ht][Ec[rr]]}return Ae.kc=ai(mr),Ae.kc&&(Ae.Bd=Kn(mr,8)),Ae.cb=1}function Aa(Ae,He,ht,zt,rr,mr,Re){var re=He[rr].Yb[ht];for(ht=0;16>rr;++rr){if(!qn(Ae,re[ht+0]))return rr;for(;!qn(Ae,re[ht+1]);)if(re=He[++rr].Yb[0],ht=0,rr==16)return 16;var ye=He[rr+1].Yb;if(qn(Ae,re[ht+2])){var ze=Ae,lt=0;if(qn(ze,(Dt=re)[(_t=ht)+3]))if(qn(ze,Dt[_t+6])){for(re=0,_t=2*(lt=qn(ze,Dt[_t+8]))+(Dt=qn(ze,Dt[_t+9+lt])),lt=0,Dt=Sc[_t];Dt[re];++re)lt+=lt+qn(ze,Dt[re]);lt+=3+(8<<_t)}else qn(ze,Dt[_t+7])?(lt=7+2*qn(ze,165),lt+=qn(ze,145)):lt=5+qn(ze,159);else lt=qn(ze,Dt[_t+4])?3+qn(ze,Dt[_t+5]):2;re=ye[2]}else lt=1,re=ye[1];ye=Re+xc[rr],0>(ze=Ae).b&&ti(ze);var _t,Dt=ze.b,Mt=(_t=ze.Ca>>1)-(ze.I>>Dt)>>31;--ze.b,ze.Ca+=Mt,ze.Ca|=1,ze.I-=(_t+1&Mt)<<Dt,mr[ye]=((lt^Mt)-Mt)*zt[(0<rr)+0]}return 16}function wa(Ae){var He=Ae.rb[Ae.sb-1];He.la=0,He.Na=0,Je(Ae.zc,0,0,Ae.zc.length),Ae.ja=0}function la(Ae,He){if(Ae==null)return 0;if(He==null)return Di(Ae,2,"NULL VP8Io parameter in VP8Decode().");if(!Ae.cb&&!ga(Ae,He))return 0;if(Le(Ae.cb),He.ac==null||He.ac(He)){He.ob&&(Ae.L=0);var ht=Yl[Ae.L];if(Ae.L==2?(Ae.yb=0,Ae.zb=0):(Ae.yb=He.v-ht>>4,Ae.zb=He.j-ht>>4,0>Ae.yb&&(Ae.yb=0),0>Ae.zb&&(Ae.zb=0)),Ae.Va=He.o+15+ht>>4,Ae.Hb=He.va+15+ht>>4,Ae.Hb>Ae.za&&(Ae.Hb=Ae.za),Ae.Va>Ae.Ub&&(Ae.Va=Ae.Ub),0<Ae.L){var zt=Ae.ed;for(ht=0;4>ht;++ht){var rr;if(Ae.Qa.Cb){var mr=Ae.Qa.Lb[ht];Ae.Qa.Fb||(mr+=zt.Tb)}else mr=zt.Tb;for(rr=0;1>=rr;++rr){var Re=Ae.gd[ht][rr],re=mr;if(zt.Pc&&(re+=zt.vd[0],rr&&(re+=zt.od[0])),0<(re=0>re?0:63<re?63:re)){var ye=re;0<zt.wb&&(ye=4<zt.wb?ye>>2:ye>>1)>9-zt.wb&&(ye=9-zt.wb),1>ye&&(ye=1),Re.dd=ye,Re.tc=2*re+ye,Re.ld=40<=re?2:15<=re?1:0}else Re.tc=0;Re.La=rr}}}ht=0}else Di(Ae,6,"Frame setup failed"),ht=Ae.a;if(ht=ht==0){if(ht){Ae.$c=0,0<Ae.Aa||(Ae.Ic=Zl);e:{ht=Ae.Ic,zt=4*(ye=Ae.za);var ze=32*ye,lt=ye+1,_t=0<Ae.L?ye*(0<Ae.Aa?2:1):0,Dt=(Ae.Aa==2?2:1)*ye;if((Re=zt+832+(rr=3*(16*ht+Yl[Ae.L])/2*ze)+(mr=Ae.Fa!=null&&0<Ae.Fa.length?Ae.Kc.c*Ae.Kc.i:0))!=Re)ht=0;else{if(Re>Ae.Vb){if(Ae.Vb=0,Ae.Ec=Ve(Re),Ae.Fc=0,Ae.Ec==null){ht=Di(Ae,1,"no memory during frame initialization.");break e}Ae.Vb=Re}Re=Ae.Ec,re=Ae.Fc,Ae.Ac=Re,Ae.Bc=re,re+=zt,Ae.Gd=Ze(ze,ro),Ae.Hd=0,Ae.rb=Ze(lt+1,Ua),Ae.sb=1,Ae.wa=_t?Ze(_t,ha):null,Ae.Y=0,Ae.D.Nb=0,Ae.D.wa=Ae.wa,Ae.D.Y=Ae.Y,0<Ae.Aa&&(Ae.D.Y+=ye),Le(!0),Ae.oc=Re,Ae.pc=re,re+=832,Ae.ya=Ze(Dt,Ao),Ae.aa=0,Ae.D.ya=Ae.ya,Ae.D.aa=Ae.aa,Ae.Aa==2&&(Ae.D.aa+=ye),Ae.R=16*ye,Ae.B=8*ye,ye=(ze=Yl[Ae.L])*Ae.R,ze=ze/2*Ae.B,Ae.sa=Re,Ae.ta=re+ye,Ae.qa=Ae.sa,Ae.ra=Ae.ta+16*ht*Ae.R+ze,Ae.Ha=Ae.qa,Ae.Ia=Ae.ra+8*ht*Ae.B+ze,Ae.$c=0,re+=rr,Ae.mb=mr?Re:null,Ae.nb=mr?re:null,Le(re+mr<=Ae.Fc+Ae.Vb),wa(Ae),Je(Ae.Ac,Ae.Bc,0,zt),ht=1}}if(ht){if(He.ka=0,He.y=Ae.sa,He.O=Ae.ta,He.f=Ae.qa,He.N=Ae.ra,He.ea=Ae.Ha,He.Vd=Ae.Ia,He.fa=Ae.R,He.Rc=Ae.B,He.F=null,He.J=0,!Pc){for(ht=-255;255>=ht;++ht)Ul[255+ht]=0>ht?-ht:ht;for(ht=-1020;1020>=ht;++ht)kc[1020+ht]=-128>ht?-128:127<ht?127:ht;for(ht=-112;112>=ht;++ht)wc[112+ht]=-16>ht?-16:15<ht?15:ht;for(ht=-255;510>=ht;++ht)Bc[255+ht]=0>ht?0:255<ht?255:ht;Pc=1}rl=yo,Cs=po,Ts=vo,Is=Ko,cl=zo,Bs=Na,Os=Ga,Xs=Mo,Gs=xs,Qs=Es,Sa=Qo,Li=Vs,Ji=vs,Ea=Hs,co=Do,Ps=Go,ws=Po,Ws=Uo,nl[0]=Ai,nl[1]=oo,nl[2]=pa,nl[3]=ca,nl[4]=ba,nl[5]=ms,nl[6]=$a,nl[7]=Wo,nl[8]=Ms,nl[9]=Rs,as[0]=Co,as[1]=Za,as[2]=Lo,as[3]=io,as[4]=$o,as[5]=ns,as[6]=es,Tl[0]=Xo,Tl[1]=to,Tl[2]=al,Tl[3]=gs,Tl[4]=js,Tl[5]=el,Tl[6]=bo,ht=1}else ht=0}ht&&(ht=function(Mt,ar){for(Mt.M=0;Mt.M<Mt.Va;++Mt.M){var vr,ir=Mt.Jc[Mt.M&Mt.Xb],qt=Mt.m,fr=Mt;for(vr=0;vr<fr.za;++vr){var br=qt,jr=fr,Sn=jr.Ac,Un=jr.Bc+4*vr,vi=jr.zc,$n=jr.ya[jr.aa+vr];if(jr.Qa.Bb?$n.$b=qn(br,jr.Pa.jb[0])?2+qn(br,jr.Pa.jb[2]):qn(br,jr.Pa.jb[1]):$n.$b=0,jr.kc&&($n.Ad=qn(br,jr.Bd)),$n.Za=!qn(br,145)+0,$n.Za){var Qi=$n.Ob,Ei=0;for(jr=0;4>jr;++jr){var ua,qi=vi[0+jr];for(ua=0;4>ua;++ua){qi=fc[Sn[Un+ua]][qi];for(var aa=hc[qn(br,qi[0])];0<aa;)aa=hc[2*aa+qn(br,qi[aa])];qi=-aa,Sn[Un+ua]=qi}je(Qi,Ei,Sn,Un,4),Ei+=4,vi[0+jr]=qi}}else qi=qn(br,156)?qn(br,128)?1:3:qn(br,163)?2:0,$n.Ob[0]=qi,Je(Sn,Un,qi,4),Je(vi,0,qi,4);$n.Dd=qn(br,142)?qn(br,114)?qn(br,183)?1:3:2:0}if(fr.m.Ka)return Di(Mt,7,"Premature end-of-partition0 encountered.");for(;Mt.ja<Mt.za;++Mt.ja){if(fr=ir,br=(qt=Mt).rb[qt.sb-1],Sn=qt.rb[qt.sb+qt.ja],vr=qt.ya[qt.aa+qt.ja],Un=qt.kc?vr.Ad:0)br.la=Sn.la=0,vr.Za||(br.Na=Sn.Na=0),vr.Hc=0,vr.Gc=0,vr.ia=0;else{var Xa,O;if(br=Sn,Sn=fr,Un=qt.Pa.Xc,vi=qt.ya[qt.aa+qt.ja],$n=qt.pb[vi.$b],jr=vi.ad,Qi=0,Ei=qt.rb[qt.sb-1],qi=ua=0,Je(jr,Qi,0,384),vi.Za)var M=0,ee=Un[3];else{aa=Ve(16);var ne=br.Na+Ei.Na;if(ne=jl(Sn,Un[1],ne,$n.Eb,0,aa,0),br.Na=Ei.Na=(0<ne)+0,1<ne)rl(aa,0,jr,Qi);else{var de=aa[0]+3>>3;for(aa=0;256>aa;aa+=16)jr[Qi+aa]=de}M=1,ee=Un[0]}var Be=15&br.la,ft=15&Ei.la;for(aa=0;4>aa;++aa){var Nt=1&ft;for(de=O=0;4>de;++de)Be=Be>>1|(Nt=(ne=jl(Sn,ee,ne=Nt+(1&Be),$n.Sc,M,jr,Qi))>M)<<7,O=O<<2|(3<ne?3:1<ne?2:jr[Qi+0]!=0),Qi+=16;Be>>=4,ft=ft>>1|Nt<<7,ua=(ua<<8|O)>>>0}for(ee=Be,M=ft>>4,Xa=0;4>Xa;Xa+=2){for(O=0,Be=br.la>>4+Xa,ft=Ei.la>>4+Xa,aa=0;2>aa;++aa){for(Nt=1&ft,de=0;2>de;++de)ne=Nt+(1&Be),Be=Be>>1|(Nt=0<(ne=jl(Sn,Un[2],ne,$n.Qc,0,jr,Qi)))<<3,O=O<<2|(3<ne?3:1<ne?2:jr[Qi+0]!=0),Qi+=16;Be>>=2,ft=ft>>1|Nt<<5}qi|=O<<4*Xa,ee|=Be<<4<<Xa,M|=(240&ft)<<Xa}br.la=ee,Ei.la=M,vi.Hc=ua,vi.Gc=qi,vi.ia=43690&qi?0:$n.ia,Un=!(ua|qi)}if(0<qt.L&&(qt.wa[qt.Y+qt.ja]=qt.gd[vr.$b][vr.Za],qt.wa[qt.Y+qt.ja].La|=!Un),fr.Ka)return Di(Mt,7,"Premature end-of-file encountered.")}if(wa(Mt),qt=ar,fr=1,vr=(ir=Mt).D,br=0<ir.L&&ir.M>=ir.zb&&ir.M<=ir.Va,ir.Aa==0)e:{if(vr.M=ir.M,vr.uc=br,Qa(ir,vr),fr=1,vr=(O=ir.D).Nb,br=(qi=Yl[ir.L])*ir.R,Sn=qi/2*ir.B,aa=16*vr*ir.R,de=8*vr*ir.B,Un=ir.sa,vi=ir.ta-br+aa,$n=ir.qa,jr=ir.ra-Sn+de,Qi=ir.Ha,Ei=ir.Ia-Sn+de,ft=(Be=O.M)==0,ua=Be>=ir.Va-1,ir.Aa==2&&Qa(ir,O),O.uc)for(Nt=(ne=ir).D.M,Le(ne.D.uc),O=ne.yb;O<ne.Hb;++O){M=O,ee=Nt;var Vt=(Gt=(Ii=ne).D).Nb;Xa=Ii.R;var Gt=Gt.wa[Gt.Y+M],Fr=Ii.sa,Jr=Ii.ta+16*Vt*Xa+16*M,pn=Gt.dd,vn=Gt.tc;if(vn!=0)if(Le(3<=vn),Ii.L==1)0<M&&Ps(Fr,Jr,Xa,vn+4),Gt.La&&Ws(Fr,Jr,Xa,vn),0<ee&&co(Fr,Jr,Xa,vn+4),Gt.La&&ws(Fr,Jr,Xa,vn);else{var ci=Ii.B,Si=Ii.qa,Ri=Ii.ra+8*Vt*ci+8*M,Ni=Ii.Ha,Ii=Ii.Ia+8*Vt*ci+8*M;Vt=Gt.ld,0<M&&(Xs(Fr,Jr,Xa,vn+4,pn,Vt),Qs(Si,Ri,Ni,Ii,ci,vn+4,pn,Vt)),Gt.La&&(Li(Fr,Jr,Xa,vn,pn,Vt),Ea(Si,Ri,Ni,Ii,ci,vn,pn,Vt)),0<ee&&(Os(Fr,Jr,Xa,vn+4,pn,Vt),Gs(Si,Ri,Ni,Ii,ci,vn+4,pn,Vt)),Gt.La&&(Sa(Fr,Jr,Xa,vn,pn,Vt),Ji(Si,Ri,Ni,Ii,ci,vn,pn,Vt))}}if(ir.ia&&alert("todo:DitherRow"),qt.put!=null){if(O=16*Be,Be=16*(Be+1),ft?(qt.y=ir.sa,qt.O=ir.ta+aa,qt.f=ir.qa,qt.N=ir.ra+de,qt.ea=ir.Ha,qt.W=ir.Ia+de):(O-=qi,qt.y=Un,qt.O=vi,qt.f=$n,qt.N=jr,qt.ea=Qi,qt.W=Ei),ua||(Be-=qi),Be>qt.o&&(Be=qt.o),qt.F=null,qt.J=null,ir.Fa!=null&&0<ir.Fa.length&&O<Be&&(qt.J=Ur(ir,qt,O,Be-O),qt.F=ir.mb,qt.F==null&&qt.F.length==0)){fr=Di(ir,3,"Could not decode alpha data.");break e}O<qt.j&&(qi=qt.j-O,O=qt.j,Le(!(1&qi)),qt.O+=ir.R*qi,qt.N+=ir.B*(qi>>1),qt.W+=ir.B*(qi>>1),qt.F!=null&&(qt.J+=qt.width*qi)),O<Be&&(qt.O+=qt.v,qt.N+=qt.v>>1,qt.W+=qt.v>>1,qt.F!=null&&(qt.J+=qt.v),qt.ka=O-qt.j,qt.U=qt.va-qt.v,qt.T=Be-O,fr=qt.put(qt))}vr+1!=ir.Ic||ua||(je(ir.sa,ir.ta-br,Un,vi+16*ir.R,br),je(ir.qa,ir.ra-Sn,$n,jr+8*ir.B,Sn),je(ir.Ha,ir.Ia-Sn,Qi,Ei+8*ir.B,Sn))}if(!fr)return Di(Mt,6,"Output aborted.")}return 1}(Ae,He)),He.bc!=null&&He.bc(He),ht&=1}return ht?(Ae.cb=0,ht):0}function Hi(Ae,He,ht,zt,rr){rr=Ae[He+ht+32*zt]+(rr>>3),Ae[He+ht+32*zt]=-256&rr?0>rr?0:255:rr}function Ba(Ae,He,ht,zt,rr,mr){Hi(Ae,He,0,ht,zt+rr),Hi(Ae,He,1,ht,zt+mr),Hi(Ae,He,2,ht,zt-mr),Hi(Ae,He,3,ht,zt-rr)}function Ia(Ae){return(20091*Ae>>16)+Ae}function fo(Ae,He,ht,zt){var rr,mr=0,Re=Ve(16);for(rr=0;4>rr;++rr){var re=Ae[He+0]+Ae[He+8],ye=Ae[He+0]-Ae[He+8],ze=(35468*Ae[He+4]>>16)-Ia(Ae[He+12]),lt=Ia(Ae[He+4])+(35468*Ae[He+12]>>16);Re[mr+0]=re+lt,Re[mr+1]=ye+ze,Re[mr+2]=ye-ze,Re[mr+3]=re-lt,mr+=4,He++}for(rr=mr=0;4>rr;++rr)re=(Ae=Re[mr+0]+4)+Re[mr+8],ye=Ae-Re[mr+8],ze=(35468*Re[mr+4]>>16)-Ia(Re[mr+12]),Hi(ht,zt,0,0,re+(lt=Ia(Re[mr+4])+(35468*Re[mr+12]>>16))),Hi(ht,zt,1,0,ye+ze),Hi(ht,zt,2,0,ye-ze),Hi(ht,zt,3,0,re-lt),mr++,zt+=32}function Na(Ae,He,ht,zt){var rr=Ae[He+0]+4,mr=35468*Ae[He+4]>>16,Re=Ia(Ae[He+4]),re=35468*Ae[He+1]>>16;Ba(ht,zt,0,rr+Re,Ae=Ia(Ae[He+1]),re),Ba(ht,zt,1,rr+mr,Ae,re),Ba(ht,zt,2,rr-mr,Ae,re),Ba(ht,zt,3,rr-Re,Ae,re)}function po(Ae,He,ht,zt,rr){fo(Ae,He,ht,zt),rr&&fo(Ae,He+16,ht,zt+4)}function vo(Ae,He,ht,zt){Cs(Ae,He+0,ht,zt,1),Cs(Ae,He+32,ht,zt+128,1)}function Ko(Ae,He,ht,zt){var rr;for(Ae=Ae[He+0]+4,rr=0;4>rr;++rr)for(He=0;4>He;++He)Hi(ht,zt,He,rr,Ae)}function zo(Ae,He,ht,zt){Ae[He+0]&&Is(Ae,He+0,ht,zt),Ae[He+16]&&Is(Ae,He+16,ht,zt+4),Ae[He+32]&&Is(Ae,He+32,ht,zt+128),Ae[He+48]&&Is(Ae,He+48,ht,zt+128+4)}function yo(Ae,He,ht,zt){var rr,mr=Ve(16);for(rr=0;4>rr;++rr){var Re=Ae[He+0+rr]+Ae[He+12+rr],re=Ae[He+4+rr]+Ae[He+8+rr],ye=Ae[He+4+rr]-Ae[He+8+rr],ze=Ae[He+0+rr]-Ae[He+12+rr];mr[0+rr]=Re+re,mr[8+rr]=Re-re,mr[4+rr]=ze+ye,mr[12+rr]=ze-ye}for(rr=0;4>rr;++rr)Re=(Ae=mr[0+4*rr]+3)+mr[3+4*rr],re=mr[1+4*rr]+mr[2+4*rr],ye=mr[1+4*rr]-mr[2+4*rr],ze=Ae-mr[3+4*rr],ht[zt+0]=Re+re>>3,ht[zt+16]=ze+ye>>3,ht[zt+32]=Re-re>>3,ht[zt+48]=ze-ye>>3,zt+=64}function ra(Ae,He,ht){var zt,rr=He-32,mr=Js,Re=255-Ae[rr-1];for(zt=0;zt<ht;++zt){var re,ye=mr,ze=Re+Ae[He-1];for(re=0;re<ht;++re)Ae[He+re]=ye[ze+Ae[rr+re]];He+=32}}function oo(Ae,He){ra(Ae,He,4)}function to(Ae,He){ra(Ae,He,8)}function Za(Ae,He){ra(Ae,He,16)}function Lo(Ae,He){var ht;for(ht=0;16>ht;++ht)je(Ae,He+32*ht,Ae,He-32,16)}function io(Ae,He){var ht;for(ht=16;0<ht;--ht)Je(Ae,He,Ae[He-1],16),He+=32}function Da(Ae,He,ht){var zt;for(zt=0;16>zt;++zt)Je(He,ht+32*zt,Ae,16)}function Co(Ae,He){var ht,zt=16;for(ht=0;16>ht;++ht)zt+=Ae[He-1+32*ht]+Ae[He+ht-32];Da(zt>>5,Ae,He)}function $o(Ae,He){var ht,zt=8;for(ht=0;16>ht;++ht)zt+=Ae[He-1+32*ht];Da(zt>>4,Ae,He)}function ns(Ae,He){var ht,zt=8;for(ht=0;16>ht;++ht)zt+=Ae[He+ht-32];Da(zt>>4,Ae,He)}function es(Ae,He){Da(128,Ae,He)}function va(Ae,He,ht){return Ae+2*He+ht+2>>2}function pa(Ae,He){var ht,zt=He-32;for(zt=new Uint8Array([va(Ae[zt-1],Ae[zt+0],Ae[zt+1]),va(Ae[zt+0],Ae[zt+1],Ae[zt+2]),va(Ae[zt+1],Ae[zt+2],Ae[zt+3]),va(Ae[zt+2],Ae[zt+3],Ae[zt+4])]),ht=0;4>ht;++ht)je(Ae,He+32*ht,zt,0,zt.length)}function ca(Ae,He){var ht=Ae[He-1],zt=Ae[He-1+32],rr=Ae[He-1+64],mr=Ae[He-1+96];xi(Ae,He+0,16843009*va(Ae[He-1-32],ht,zt)),xi(Ae,He+32,16843009*va(ht,zt,rr)),xi(Ae,He+64,16843009*va(zt,rr,mr)),xi(Ae,He+96,16843009*va(rr,mr,mr))}function Ai(Ae,He){var ht,zt=4;for(ht=0;4>ht;++ht)zt+=Ae[He+ht-32]+Ae[He-1+32*ht];for(zt>>=3,ht=0;4>ht;++ht)Je(Ae,He+32*ht,zt,4)}function ba(Ae,He){var ht=Ae[He-1+0],zt=Ae[He-1+32],rr=Ae[He-1+64],mr=Ae[He-1-32],Re=Ae[He+0-32],re=Ae[He+1-32],ye=Ae[He+2-32],ze=Ae[He+3-32];Ae[He+0+96]=va(zt,rr,Ae[He-1+96]),Ae[He+1+96]=Ae[He+0+64]=va(ht,zt,rr),Ae[He+2+96]=Ae[He+1+64]=Ae[He+0+32]=va(mr,ht,zt),Ae[He+3+96]=Ae[He+2+64]=Ae[He+1+32]=Ae[He+0+0]=va(Re,mr,ht),Ae[He+3+64]=Ae[He+2+32]=Ae[He+1+0]=va(re,Re,mr),Ae[He+3+32]=Ae[He+2+0]=va(ye,re,Re),Ae[He+3+0]=va(ze,ye,re)}function $a(Ae,He){var ht=Ae[He+1-32],zt=Ae[He+2-32],rr=Ae[He+3-32],mr=Ae[He+4-32],Re=Ae[He+5-32],re=Ae[He+6-32],ye=Ae[He+7-32];Ae[He+0+0]=va(Ae[He+0-32],ht,zt),Ae[He+1+0]=Ae[He+0+32]=va(ht,zt,rr),Ae[He+2+0]=Ae[He+1+32]=Ae[He+0+64]=va(zt,rr,mr),Ae[He+3+0]=Ae[He+2+32]=Ae[He+1+64]=Ae[He+0+96]=va(rr,mr,Re),Ae[He+3+32]=Ae[He+2+64]=Ae[He+1+96]=va(mr,Re,re),Ae[He+3+64]=Ae[He+2+96]=va(Re,re,ye),Ae[He+3+96]=va(re,ye,ye)}function ms(Ae,He){var ht=Ae[He-1+0],zt=Ae[He-1+32],rr=Ae[He-1+64],mr=Ae[He-1-32],Re=Ae[He+0-32],re=Ae[He+1-32],ye=Ae[He+2-32],ze=Ae[He+3-32];Ae[He+0+0]=Ae[He+1+64]=mr+Re+1>>1,Ae[He+1+0]=Ae[He+2+64]=Re+re+1>>1,Ae[He+2+0]=Ae[He+3+64]=re+ye+1>>1,Ae[He+3+0]=ye+ze+1>>1,Ae[He+0+96]=va(rr,zt,ht),Ae[He+0+64]=va(zt,ht,mr),Ae[He+0+32]=Ae[He+1+96]=va(ht,mr,Re),Ae[He+1+32]=Ae[He+2+96]=va(mr,Re,re),Ae[He+2+32]=Ae[He+3+96]=va(Re,re,ye),Ae[He+3+32]=va(re,ye,ze)}function Wo(Ae,He){var ht=Ae[He+0-32],zt=Ae[He+1-32],rr=Ae[He+2-32],mr=Ae[He+3-32],Re=Ae[He+4-32],re=Ae[He+5-32],ye=Ae[He+6-32],ze=Ae[He+7-32];Ae[He+0+0]=ht+zt+1>>1,Ae[He+1+0]=Ae[He+0+64]=zt+rr+1>>1,Ae[He+2+0]=Ae[He+1+64]=rr+mr+1>>1,Ae[He+3+0]=Ae[He+2+64]=mr+Re+1>>1,Ae[He+0+32]=va(ht,zt,rr),Ae[He+1+32]=Ae[He+0+96]=va(zt,rr,mr),Ae[He+2+32]=Ae[He+1+96]=va(rr,mr,Re),Ae[He+3+32]=Ae[He+2+96]=va(mr,Re,re),Ae[He+3+64]=va(Re,re,ye),Ae[He+3+96]=va(re,ye,ze)}function Rs(Ae,He){var ht=Ae[He-1+0],zt=Ae[He-1+32],rr=Ae[He-1+64],mr=Ae[He-1+96];Ae[He+0+0]=ht+zt+1>>1,Ae[He+2+0]=Ae[He+0+32]=zt+rr+1>>1,Ae[He+2+32]=Ae[He+0+64]=rr+mr+1>>1,Ae[He+1+0]=va(ht,zt,rr),Ae[He+3+0]=Ae[He+1+32]=va(zt,rr,mr),Ae[He+3+32]=Ae[He+1+64]=va(rr,mr,mr),Ae[He+3+64]=Ae[He+2+64]=Ae[He+0+96]=Ae[He+1+96]=Ae[He+2+96]=Ae[He+3+96]=mr}function Ms(Ae,He){var ht=Ae[He-1+0],zt=Ae[He-1+32],rr=Ae[He-1+64],mr=Ae[He-1+96],Re=Ae[He-1-32],re=Ae[He+0-32],ye=Ae[He+1-32],ze=Ae[He+2-32];Ae[He+0+0]=Ae[He+2+32]=ht+Re+1>>1,Ae[He+0+32]=Ae[He+2+64]=zt+ht+1>>1,Ae[He+0+64]=Ae[He+2+96]=rr+zt+1>>1,Ae[He+0+96]=mr+rr+1>>1,Ae[He+3+0]=va(re,ye,ze),Ae[He+2+0]=va(Re,re,ye),Ae[He+1+0]=Ae[He+3+32]=va(ht,Re,re),Ae[He+1+32]=Ae[He+3+64]=va(zt,ht,Re),Ae[He+1+64]=Ae[He+3+96]=va(rr,zt,ht),Ae[He+1+96]=va(mr,rr,zt)}function al(Ae,He){var ht;for(ht=0;8>ht;++ht)je(Ae,He+32*ht,Ae,He-32,8)}function gs(Ae,He){var ht;for(ht=0;8>ht;++ht)Je(Ae,He,Ae[He-1],8),He+=32}function Vo(Ae,He,ht){var zt;for(zt=0;8>zt;++zt)Je(He,ht+32*zt,Ae,8)}function Xo(Ae,He){var ht,zt=8;for(ht=0;8>ht;++ht)zt+=Ae[He+ht-32]+Ae[He-1+32*ht];Vo(zt>>4,Ae,He)}function el(Ae,He){var ht,zt=4;for(ht=0;8>ht;++ht)zt+=Ae[He+ht-32];Vo(zt>>3,Ae,He)}function js(Ae,He){var ht,zt=4;for(ht=0;8>ht;++ht)zt+=Ae[He-1+32*ht];Vo(zt>>3,Ae,He)}function bo(Ae,He){Vo(128,Ae,He)}function wo(Ae,He,ht){var zt=Ae[He-ht],rr=Ae[He+0],mr=3*(rr-zt)+Dl[1020+Ae[He-2*ht]-Ae[He+ht]],Re=Zs[112+(mr+4>>3)];Ae[He-ht]=Js[255+zt+Zs[112+(mr+3>>3)]],Ae[He+0]=Js[255+rr-Re]}function Wa(Ae,He,ht,zt){var rr=Ae[He+0],mr=Ae[He+ht];return ul[255+Ae[He-2*ht]-Ae[He-ht]]>zt||ul[255+mr-rr]>zt}function Bo(Ae,He,ht,zt){return 4*ul[255+Ae[He-ht]-Ae[He+0]]+ul[255+Ae[He-2*ht]-Ae[He+ht]]<=zt}function No(Ae,He,ht,zt,rr){var mr=Ae[He-3*ht],Re=Ae[He-2*ht],re=Ae[He-ht],ye=Ae[He+0],ze=Ae[He+ht],lt=Ae[He+2*ht],_t=Ae[He+3*ht];return 4*ul[255+re-ye]+ul[255+Re-ze]>zt?0:ul[255+Ae[He-4*ht]-mr]<=rr&&ul[255+mr-Re]<=rr&&ul[255+Re-re]<=rr&&ul[255+_t-lt]<=rr&&ul[255+lt-ze]<=rr&&ul[255+ze-ye]<=rr}function Do(Ae,He,ht,zt){var rr=2*zt+1;for(zt=0;16>zt;++zt)Bo(Ae,He+zt,ht,rr)&&wo(Ae,He+zt,ht)}function Go(Ae,He,ht,zt){var rr=2*zt+1;for(zt=0;16>zt;++zt)Bo(Ae,He+zt*ht,1,rr)&&wo(Ae,He+zt*ht,1)}function Po(Ae,He,ht,zt){var rr;for(rr=3;0<rr;--rr)Do(Ae,He+=4*ht,ht,zt)}function Uo(Ae,He,ht,zt){var rr;for(rr=3;0<rr;--rr)Go(Ae,He+=4,ht,zt)}function Cr(Ae,He,ht,zt,rr,mr,Re,re){for(mr=2*mr+1;0<rr--;){if(No(Ae,He,ht,mr,Re))if(Wa(Ae,He,ht,re))wo(Ae,He,ht);else{var ye=Ae,ze=He,lt=ht,_t=ye[ze-2*lt],Dt=ye[ze-lt],Mt=ye[ze+0],ar=ye[ze+lt],vr=ye[ze+2*lt],ir=27*(fr=Dl[1020+3*(Mt-Dt)+Dl[1020+_t-ar]])+63>>7,qt=18*fr+63>>7,fr=9*fr+63>>7;ye[ze-3*lt]=Js[255+ye[ze-3*lt]+fr],ye[ze-2*lt]=Js[255+_t+qt],ye[ze-lt]=Js[255+Dt+ir],ye[ze+0]=Js[255+Mt-ir],ye[ze+lt]=Js[255+ar-qt],ye[ze+2*lt]=Js[255+vr-fr]}He+=zt}}function Qn(Ae,He,ht,zt,rr,mr,Re,re){for(mr=2*mr+1;0<rr--;){if(No(Ae,He,ht,mr,Re))if(Wa(Ae,He,ht,re))wo(Ae,He,ht);else{var ye=Ae,ze=He,lt=ht,_t=ye[ze-lt],Dt=ye[ze+0],Mt=ye[ze+lt],ar=Zs[112+((vr=3*(Dt-_t))+4>>3)],vr=Zs[112+(vr+3>>3)],ir=ar+1>>1;ye[ze-2*lt]=Js[255+ye[ze-2*lt]+ir],ye[ze-lt]=Js[255+_t+vr],ye[ze+0]=Js[255+Dt-ar],ye[ze+lt]=Js[255+Mt-ir]}He+=zt}}function Ga(Ae,He,ht,zt,rr,mr){Cr(Ae,He,ht,1,16,zt,rr,mr)}function Mo(Ae,He,ht,zt,rr,mr){Cr(Ae,He,1,ht,16,zt,rr,mr)}function Qo(Ae,He,ht,zt,rr,mr){var Re;for(Re=3;0<Re;--Re)Qn(Ae,He+=4*ht,ht,1,16,zt,rr,mr)}function Vs(Ae,He,ht,zt,rr,mr){var Re;for(Re=3;0<Re;--Re)Qn(Ae,He+=4,1,ht,16,zt,rr,mr)}function xs(Ae,He,ht,zt,rr,mr,Re,re){Cr(Ae,He,rr,1,8,mr,Re,re),Cr(ht,zt,rr,1,8,mr,Re,re)}function Es(Ae,He,ht,zt,rr,mr,Re,re){Cr(Ae,He,1,rr,8,mr,Re,re),Cr(ht,zt,1,rr,8,mr,Re,re)}function vs(Ae,He,ht,zt,rr,mr,Re,re){Qn(Ae,He+4*rr,rr,1,8,mr,Re,re),Qn(ht,zt+4*rr,rr,1,8,mr,Re,re)}function Hs(Ae,He,ht,zt,rr,mr,Re,re){Qn(Ae,He+4,1,rr,8,mr,Re,re),Qn(ht,zt+4,1,rr,8,mr,Re,re)}function _s(){this.ba=new hn,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new xn,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Fs(){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 wl(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ol(){this.ua=0,this.Wa=new gr,this.vb=new gr,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new ni,this.yc=new dn}function vl(){this.xb=this.a=0,this.l=new Wi,this.ca=new hn,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Sr,this.Pb=0,this.wd=new Sr,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ol,this.ab=0,this.gc=Ze(4,wl),this.Oc=0}function ks(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Wi,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function us(Ae,He,ht,zt,rr,mr,Re){for(Ae=Ae==null?0:Ae[He+0],He=0;He<Re;++He)rr[mr+He]=Ae+ht[zt+He]&255,Ae=rr[mr+He]}function Et(Ae,He,ht,zt,rr,mr,Re){var re;if(Ae==null)us(null,null,ht,zt,rr,mr,Re);else for(re=0;re<Re;++re)rr[mr+re]=Ae[He+re]+ht[zt+re]&255}function Lt(Ae,He,ht,zt,rr,mr,Re){if(Ae==null)us(null,null,ht,zt,rr,mr,Re);else{var re,ye=Ae[He+0],ze=ye,lt=ye;for(re=0;re<Re;++re)ze=lt+(ye=Ae[He+re])-ze,lt=ht[zt+re]+(-256&ze?0>ze?0:255:ze)&255,ze=ye,rr[mr+re]=lt}}function Ur(Ae,He,ht,zt){var rr=He.width,mr=He.o;if(Le(Ae!=null&&He!=null),0>ht||0>=zt||ht+zt>mr)return null;if(!Ae.Cc){if(Ae.ga==null){var Re;if(Ae.ga=new ks,(Re=Ae.ga==null)||(Re=He.width*He.o,Le(Ae.Gb.length==0),Ae.Gb=Ve(Re),Ae.Uc=0,Ae.Gb==null?Re=0:(Ae.mb=Ae.Gb,Ae.nb=Ae.Uc,Ae.rc=null,Re=1),Re=!Re),!Re){Re=Ae.ga;var re=Ae.Fa,ye=Ae.P,ze=Ae.qc,lt=Ae.mb,_t=Ae.nb,Dt=ye+1,Mt=ze-1,ar=Re.l;if(Le(re!=null&&lt!=null&&He!=null),Il[0]=null,Il[1]=us,Il[2]=Et,Il[3]=Lt,Re.ca=lt,Re.tb=_t,Re.c=He.width,Re.i=He.height,Le(0<Re.c&&0<Re.i),1>=ze)He=0;else if(Re.$a=re[ye+0]>>0&3,Re.Z=re[ye+0]>>2&3,Re.Lc=re[ye+0]>>4&3,ye=re[ye+0]>>6&3,0>Re.$a||1<Re.$a||4<=Re.Z||1<Re.Lc||ye)He=0;else if(ar.put=di,ar.ac=Fi,ar.bc=ii,ar.ma=Re,ar.width=He.width,ar.height=He.height,ar.Da=He.Da,ar.v=He.v,ar.va=He.va,ar.j=He.j,ar.o=He.o,Re.$a)e:{Le(Re.$a==1),He=Fa();t:for(;;){if(He==null){He=0;break e}if(Le(Re!=null),Re.mc=He,He.c=Re.c,He.i=Re.i,He.l=Re.l,He.l.ma=Re,He.l.width=Re.c,He.l.height=Re.i,He.a=0,wi(He.m,re,Dt,Mt),!uo(Re.c,Re.i,1,He,null))break t;if(He.ab==1&&He.gc[0].hc==3&&fa(He.s)?(Re.ic=1,re=He.c*He.i,He.Ta=null,He.Ua=0,He.V=Ve(re),He.Ba=0,He.V==null?(He.a=1,He=0):He=1):(Re.ic=0,He=za(He,Re.c)),!He)break t;He=1;break e}Re.mc=null,He=0}else He=Mt>=Re.c*Re.i;Re=!He}if(Re)return null;Ae.ga.Lc!=1?Ae.Ga=0:zt=mr-ht}Le(Ae.ga!=null),Le(ht+zt<=mr);e:{if(He=(re=Ae.ga).c,mr=re.l.o,re.$a==0){if(Dt=Ae.rc,Mt=Ae.Vc,ar=Ae.Fa,ye=Ae.P+1+ht*He,ze=Ae.mb,lt=Ae.nb+ht*He,Le(ye<=Ae.P+Ae.qc),re.Z!=0)for(Le(Il[re.Z]!=null),Re=0;Re<zt;++Re)Il[re.Z](Dt,Mt,ar,ye,ze,lt,He),Dt=ze,Mt=lt,lt+=He,ye+=He;else for(Re=0;Re<zt;++Re)je(ze,lt,ar,ye,He),Dt=ze,Mt=lt,lt+=He,ye+=He;Ae.rc=Dt,Ae.Vc=Mt}else{if(Le(re.mc!=null),He=ht+zt,Le((Re=re.mc)!=null),Le(He<=Re.i),Re.C>=He)He=1;else if(re.ic||ve(),re.ic){re=Re.V,Dt=Re.Ba,Mt=Re.c;var vr=Re.i,ir=(ar=1,ye=Re.$/Mt,ze=Re.$%Mt,lt=Re.m,_t=Re.s,Re.$),qt=Mt*vr,fr=Mt*He,br=_t.wc,jr=ir<fr?da(_t,ze,ye):null;Le(ir<=qt),Le(He<=vr),Le(fa(_t));t:for(;;){for(;!lt.h&&ir<fr;){if(ze&br||(jr=da(_t,ze,ye)),Le(jr!=null),Pn(lt),256>(vr=Bi(jr.G[0],jr.H[0],lt)))re[Dt+ir]=vr,++ir,++ze>=Mt&&(ze=0,++ye<=He&&!(ye%16)&&ea(Re,ye));else{if(!(280>vr)){ar=0;break t}vr=_i(vr-256,lt);var Sn,Un=Bi(jr.G[4],jr.H[4],lt);if(Pn(lt),!(ir>=(Un=Mi(Mt,Un=_i(Un,lt)))&&qt-ir>=vr)){ar=0;break t}for(Sn=0;Sn<vr;++Sn)re[Dt+ir+Sn]=re[Dt+ir+Sn-Un];for(ir+=vr,ze+=vr;ze>=Mt;)ze-=Mt,++ye<=He&&!(ye%16)&&ea(Re,ye);ir<fr&&ze&br&&(jr=da(_t,ze,ye))}Le(lt.h==yn(lt))}ea(Re,ye>He?He:ye);break t}!ar||lt.h&&ir<qt?(ar=0,Re.a=lt.h?5:3):Re.$=ir,He=ar}else He=ya(Re,Re.V,Re.Ba,Re.c,Re.i,He,Ya);if(!He){zt=0;break e}}ht+zt>=mr&&(Ae.Cc=1),zt=1}if(!zt)return null;if(Ae.Cc&&((zt=Ae.ga)!=null&&(zt.mc=null),Ae.ga=null,0<Ae.Ga))return alert("todo:WebPDequantizeLevels"),null}return Ae.nb+ht*rr}function un(Ae,He,ht,zt,rr,mr){for(;0<rr--;){var Re,re=Ae,ye=He+(ht?1:0),ze=Ae,lt=He+(ht?0:3);for(Re=0;Re<zt;++Re){var _t=ze[lt+4*Re];_t!=255&&(_t*=32897,re[ye+4*Re+0]=re[ye+4*Re+0]*_t>>23,re[ye+4*Re+1]=re[ye+4*Re+1]*_t>>23,re[ye+4*Re+2]=re[ye+4*Re+2]*_t>>23)}He+=mr}}function kn(Ae,He,ht,zt,rr){for(;0<zt--;){var mr;for(mr=0;mr<ht;++mr){var Re=Ae[He+2*mr+0],re=15&(ze=Ae[He+2*mr+1]),ye=4369*re,ze=(240&ze|ze>>4)*ye>>16;Ae[He+2*mr+0]=(240&Re|Re>>4)*ye>>16&240|(15&Re|Re<<4)*ye>>16>>4&15,Ae[He+2*mr+1]=240&ze|re}He+=rr}}function gt(Ae,He,ht,zt,rr,mr,Re,re){var ye,ze,lt=255;for(ze=0;ze<rr;++ze){for(ye=0;ye<zt;++ye){var _t=Ae[He+ye];mr[Re+4*ye]=_t,lt&=_t}He+=ht,Re+=re}return lt!=255}function ce(Ae,He,ht,zt,rr){var mr;for(mr=0;mr<rr;++mr)ht[zt+mr]=Ae[He+mr]>>8}function ve(){Ys=un,pl=kn,Ls=gt,hs=ce}function Ie(Ae,He,ht){Nn[Ae]=function(zt,rr,mr,Re,re,ye,ze,lt,_t,Dt,Mt,ar,vr,ir,qt,fr,br){var jr,Sn=br-1>>1,Un=re[ye+0]|ze[lt+0]<<16,vi=_t[Dt+0]|Mt[ar+0]<<16;Le(zt!=null);var $n=3*Un+vi+131074>>2;for(He(zt[rr+0],255&$n,$n>>16,vr,ir),mr!=null&&($n=3*vi+Un+131074>>2,He(mr[Re+0],255&$n,$n>>16,qt,fr)),jr=1;jr<=Sn;++jr){var Qi=re[ye+jr]|ze[lt+jr]<<16,Ei=_t[Dt+jr]|Mt[ar+jr]<<16,ua=Un+Qi+vi+Ei+524296,qi=ua+2*(Qi+vi)>>3;$n=qi+Un>>1,Un=(ua=ua+2*(Un+Ei)>>3)+Qi>>1,He(zt[rr+2*jr-1],255&$n,$n>>16,vr,ir+(2*jr-1)*ht),He(zt[rr+2*jr-0],255&Un,Un>>16,vr,ir+(2*jr-0)*ht),mr!=null&&($n=ua+vi>>1,Un=qi+Ei>>1,He(mr[Re+2*jr-1],255&$n,$n>>16,qt,fr+(2*jr-1)*ht),He(mr[Re+2*jr+0],255&Un,Un>>16,qt,fr+(2*jr+0)*ht)),Un=Qi,vi=Ei}1&br||($n=3*Un+vi+131074>>2,He(zt[rr+br-1],255&$n,$n>>16,vr,ir+(br-1)*ht),mr!=null&&($n=3*vi+Un+131074>>2,He(mr[Re+br-1],255&$n,$n>>16,qt,fr+(br-1)*ht)))}}function Ke(){yl[Vl]=_c,yl[ql]=Kc,yl[lc]=Hc,yl[Xl]=Cc,yl[Rl]=Tc,yl[cc]=zc,yl[$l]=pc,yl[uc]=Kc,yl[Sl]=Cc,yl[_l]=Tc,yl[Ml]=zc}function mt(Ae){return Ae&~qc?0>Ae?0:255:Ae>>Ic}function Pt(Ae,He){return mt((19077*Ae>>8)+(26149*He>>8)-14234)}function lr(Ae,He,ht){return mt((19077*Ae>>8)-(6419*He>>8)-(13320*ht>>8)+8708)}function yr(Ae,He){return mt((19077*Ae>>8)+(33050*He>>8)-17685)}function kr(Ae,He,ht,zt,rr){zt[rr+0]=Pt(Ae,ht),zt[rr+1]=lr(Ae,He,ht),zt[rr+2]=yr(Ae,He)}function ln(Ae,He,ht,zt,rr){zt[rr+0]=yr(Ae,He),zt[rr+1]=lr(Ae,He,ht),zt[rr+2]=Pt(Ae,ht)}function En(Ae,He,ht,zt,rr){var mr=lr(Ae,He,ht);He=mr<<3&224|yr(Ae,He)>>3,zt[rr+0]=248&Pt(Ae,ht)|mr>>5,zt[rr+1]=He}function oi(Ae,He,ht,zt,rr){var mr=240&yr(Ae,He)|15;zt[rr+0]=240&Pt(Ae,ht)|lr(Ae,He,ht)>>4,zt[rr+1]=mr}function yi(Ae,He,ht,zt,rr){zt[rr+0]=255,kr(Ae,He,ht,zt,rr+1)}function Ti(Ae,He,ht,zt,rr){ln(Ae,He,ht,zt,rr),zt[rr+3]=255}function ji(Ae,He,ht,zt,rr){kr(Ae,He,ht,zt,rr),zt[rr+3]=255}function no(Ae,He){return 0>Ae?0:Ae>He?He:Ae}function na(Ae,He,ht){Nn[Ae]=function(zt,rr,mr,Re,re,ye,ze,lt,_t){for(var Dt=lt+(-2&_t)*ht;lt!=Dt;)He(zt[rr+0],mr[Re+0],re[ye+0],ze,lt),He(zt[rr+1],mr[Re+0],re[ye+0],ze,lt+ht),rr+=2,++Re,++ye,lt+=2*ht;1&_t&&He(zt[rr+0],mr[Re+0],re[ye+0],ze,lt)}}function Pa(Ae,He,ht){return ht==0?Ae==0?He==0?6:5:He==0?4:0:ht}function Va(Ae,He,ht,zt,rr){switch(Ae>>>30){case 3:Cs(He,ht,zt,rr,0);break;case 2:Bs(He,ht,zt,rr);break;case 1:Is(He,ht,zt,rr)}}function Qa(Ae,He){var ht,zt,rr=He.M,mr=He.Nb,Re=Ae.oc,re=Ae.pc+40,ye=Ae.oc,ze=Ae.pc+584,lt=Ae.oc,_t=Ae.pc+600;for(ht=0;16>ht;++ht)Re[re+32*ht-1]=129;for(ht=0;8>ht;++ht)ye[ze+32*ht-1]=129,lt[_t+32*ht-1]=129;for(0<rr?Re[re-1-32]=ye[ze-1-32]=lt[_t-1-32]=129:(Je(Re,re-32-1,127,21),Je(ye,ze-32-1,127,9),Je(lt,_t-32-1,127,9)),zt=0;zt<Ae.za;++zt){var Dt=He.ya[He.aa+zt];if(0<zt){for(ht=-1;16>ht;++ht)je(Re,re+32*ht-4,Re,re+32*ht+12,4);for(ht=-1;8>ht;++ht)je(ye,ze+32*ht-4,ye,ze+32*ht+4,4),je(lt,_t+32*ht-4,lt,_t+32*ht+4,4)}var Mt=Ae.Gd,ar=Ae.Hd+zt,vr=Dt.ad,ir=Dt.Hc;if(0<rr&&(je(Re,re-32,Mt[ar].y,0,16),je(ye,ze-32,Mt[ar].f,0,8),je(lt,_t-32,Mt[ar].ea,0,8)),Dt.Za){var qt=Re,fr=re-32+16;for(0<rr&&(zt>=Ae.za-1?Je(qt,fr,Mt[ar].y[15],4):je(qt,fr,Mt[ar+1].y,0,4)),ht=0;4>ht;ht++)qt[fr+128+ht]=qt[fr+256+ht]=qt[fr+384+ht]=qt[fr+0+ht];for(ht=0;16>ht;++ht,ir<<=2)qt=Re,fr=re+gc[ht],nl[Dt.Ob[ht]](qt,fr),Va(ir,vr,16*+ht,qt,fr)}else if(qt=Pa(zt,rr,Dt.Ob[0]),as[qt](Re,re),ir!=0)for(ht=0;16>ht;++ht,ir<<=2)Va(ir,vr,16*+ht,Re,re+gc[ht]);for(ht=Dt.Gc,qt=Pa(zt,rr,Dt.Dd),Tl[qt](ye,ze),Tl[qt](lt,_t),ir=vr,qt=ye,fr=ze,255&(Dt=ht>>0)&&(170&Dt?Ts(ir,256,qt,fr):cl(ir,256,qt,fr)),Dt=lt,ir=_t,255&(ht>>=8)&&(170&ht?Ts(vr,320,Dt,ir):cl(vr,320,Dt,ir)),rr<Ae.Ub-1&&(je(Mt[ar].y,0,Re,re+480,16),je(Mt[ar].f,0,ye,ze+224,8),je(Mt[ar].ea,0,lt,_t+224,8)),ht=8*mr*Ae.B,Mt=Ae.sa,ar=Ae.ta+16*zt+16*mr*Ae.R,vr=Ae.qa,Dt=Ae.ra+8*zt+ht,ir=Ae.Ha,qt=Ae.Ia+8*zt+ht,ht=0;16>ht;++ht)je(Mt,ar+ht*Ae.R,Re,re+32*ht,16);for(ht=0;8>ht;++ht)je(vr,Dt+ht*Ae.B,ye,ze+32*ht,8),je(ir,qt+ht*Ae.B,lt,_t+32*ht,8)}}function To(Ae,He,ht,zt,rr,mr,Re,re,ye){var ze=[0],lt=[0],_t=0,Dt=ye!=null?ye.kd:0,Mt=ye!=null?ye:new Fs;if(Ae==null||12>ht)return 7;Mt.data=Ae,Mt.w=He,Mt.ha=ht,He=[He],ht=[ht],Mt.gb=[Mt.gb];e:{var ar=He,vr=ht,ir=Mt.gb;if(Le(Ae!=null),Le(vr!=null),Le(ir!=null),ir[0]=0,12<=vr[0]&&!Pe(Ae,ar[0],"RIFF")){if(Pe(Ae,ar[0]+8,"WEBP")){ir=3;break e}var qt=ja(Ae,ar[0]+4);if(12>qt||4294967286<qt){ir=3;break e}if(Dt&&qt>vr[0]-8){ir=7;break e}ir[0]=qt,ar[0]+=12,vr[0]-=12}ir=0}if(ir!=0)return ir;for(qt=0<Mt.gb[0],ht=ht[0];;){e:{var fr=Ae;vr=He,ir=ht;var br=ze,jr=lt,Sn=ar=[0];if(($n=_t=[_t])[0]=0,8>ir[0])ir=7;else{if(!Pe(fr,vr[0],"VP8X")){if(ja(fr,vr[0]+4)!=10){ir=3;break e}if(18>ir[0]){ir=7;break e}var Un=ja(fr,vr[0]+8),vi=1+ki(fr,vr[0]+12);if(2147483648<=vi*(fr=1+ki(fr,vr[0]+15))){ir=3;break e}Sn!=null&&(Sn[0]=Un),br!=null&&(br[0]=vi),jr!=null&&(jr[0]=fr),vr[0]+=18,ir[0]-=18,$n[0]=1}ir=0}}if(_t=_t[0],ar=ar[0],ir!=0)return ir;if(vr=!!(2&ar),!qt&&_t)return 3;if(mr!=null&&(mr[0]=!!(16&ar)),Re!=null&&(Re[0]=vr),re!=null&&(re[0]=0),Re=ze[0],ar=lt[0],_t&&vr&&ye==null){ir=0;break}if(4>ht){ir=7;break}if(qt&&_t||!qt&&!_t&&!Pe(Ae,He[0],"ALPH")){ht=[ht],Mt.na=[Mt.na],Mt.P=[Mt.P],Mt.Sa=[Mt.Sa];e:{Un=Ae,ir=He,qt=ht;var $n=Mt.gb;br=Mt.na,jr=Mt.P,Sn=Mt.Sa,vi=22,Le(Un!=null),Le(qt!=null),fr=ir[0];var Qi=qt[0];for(Le(br!=null),Le(Sn!=null),br[0]=null,jr[0]=null,Sn[0]=0;;){if(ir[0]=fr,qt[0]=Qi,8>Qi){ir=7;break e}var Ei=ja(Un,fr+4);if(4294967286<Ei){ir=3;break e}var ua=8+Ei+1&-2;if(vi+=ua,0<$n&&vi>$n){ir=3;break e}if(!Pe(Un,fr,"VP8 ")||!Pe(Un,fr,"VP8L")){ir=0;break e}if(Qi[0]<ua){ir=7;break e}Pe(Un,fr,"ALPH")||(br[0]=Un,jr[0]=fr+8,Sn[0]=Ei),fr+=ua,Qi-=ua}}if(ht=ht[0],Mt.na=Mt.na[0],Mt.P=Mt.P[0],Mt.Sa=Mt.Sa[0],ir!=0)break}ht=[ht],Mt.Ja=[Mt.Ja],Mt.xa=[Mt.xa];e:if($n=Ae,ir=He,qt=ht,br=Mt.gb[0],jr=Mt.Ja,Sn=Mt.xa,Un=ir[0],fr=!Pe($n,Un,"VP8 "),vi=!Pe($n,Un,"VP8L"),Le($n!=null),Le(qt!=null),Le(jr!=null),Le(Sn!=null),8>qt[0])ir=7;else{if(fr||vi){if($n=ja($n,Un+4),12<=br&&$n>br-12){ir=3;break e}if(Dt&&$n>qt[0]-8){ir=7;break e}jr[0]=$n,ir[0]+=8,qt[0]-=8,Sn[0]=vi}else Sn[0]=5<=qt[0]&&$n[Un+0]==47&&!($n[Un+4]>>5),jr[0]=qt[0];ir=0}if(ht=ht[0],Mt.Ja=Mt.Ja[0],Mt.xa=Mt.xa[0],He=He[0],ir!=0)break;if(4294967286<Mt.Ja)return 3;if(re==null||vr||(re[0]=Mt.xa?2:1),Re=[Re],ar=[ar],Mt.xa){if(5>ht){ir=7;break}re=Re,Dt=ar,vr=mr,Ae==null||5>ht?Ae=0:5<=ht&&Ae[He+0]==47&&!(Ae[He+4]>>5)?(qt=[0],$n=[0],br=[0],wi(jr=new Sr,Ae,He,ht),Yi(jr,qt,$n,br)?(re!=null&&(re[0]=qt[0]),Dt!=null&&(Dt[0]=$n[0]),vr!=null&&(vr[0]=br[0]),Ae=1):Ae=0):Ae=0}else{if(10>ht){ir=7;break}re=ar,Ae==null||10>ht||!ma(Ae,He+3,ht-3)?Ae=0:(Dt=Ae[He+0]|Ae[He+1]<<8|Ae[He+2]<<16,vr=16383&(Ae[He+7]<<8|Ae[He+6]),Ae=16383&(Ae[He+9]<<8|Ae[He+8]),1&Dt||3<(Dt>>1&7)||!(Dt>>4&1)||Dt>>5>=Mt.Ja||!vr||!Ae?Ae=0:(Re&&(Re[0]=vr),re&&(re[0]=Ae),Ae=1))}if(!Ae)return 3;if(Re=Re[0],ar=ar[0],_t&&(ze[0]!=Re||lt[0]!=ar))return 3;ye!=null&&(ye[0]=Mt,ye.offset=He-ye.w,Le(4294967286>He-ye.w),Le(ye.offset==ye.ha-ht));break}return ir==0||ir==7&&_t&&ye==null?(mr!=null&&(mr[0]|=Mt.na!=null&&0<Mt.na.length),zt!=null&&(zt[0]=Re),rr!=null&&(rr[0]=ar),0):ir}function eo(Ae,He,ht){var zt=He.width,rr=He.height,mr=0,Re=0,re=zt,ye=rr;if(He.Da=Ae!=null&&0<Ae.Da,He.Da&&(re=Ae.cd,ye=Ae.bd,mr=Ae.v,Re=Ae.j,11>ht||(mr&=-2,Re&=-2),0>mr||0>Re||0>=re||0>=ye||mr+re>zt||Re+ye>rr))return 0;if(He.v=mr,He.j=Re,He.va=mr+re,He.o=Re+ye,He.U=re,He.T=ye,He.da=Ae!=null&&0<Ae.da,He.da){if(!_r(re,ye,ht=[Ae.ib],mr=[Ae.hb]))return 0;He.ib=ht[0],He.hb=mr[0]}return He.ob=Ae!=null&&Ae.ob,He.Kb=Ae==null||!Ae.Sd,He.da&&(He.ob=He.ib<3*zt/4&&He.hb<3*rr/4,He.Kb=0),1}function Io(Ae){if(Ae==null)return 2;if(11>Ae.S){var He=Ae.f.RGBA;He.fb+=(Ae.height-1)*He.A,He.A=-He.A}else He=Ae.f.kb,Ae=Ae.height,He.O+=(Ae-1)*He.fa,He.fa=-He.fa,He.N+=(Ae-1>>1)*He.Ab,He.Ab=-He.Ab,He.W+=(Ae-1>>1)*He.Db,He.Db=-He.Db,He.F!=null&&(He.J+=(Ae-1)*He.lb,He.lb=-He.lb);return 0}function Ha(Ae,He,ht,zt){if(zt==null||0>=Ae||0>=He)return 2;if(ht!=null){if(ht.Da){var rr=ht.cd,mr=ht.bd,Re=-2&ht.v,re=-2&ht.j;if(0>Re||0>re||0>=rr||0>=mr||Re+rr>Ae||re+mr>He)return 2;Ae=rr,He=mr}if(ht.da){if(!_r(Ae,He,rr=[ht.ib],mr=[ht.hb]))return 2;Ae=rr[0],He=mr[0]}}zt.width=Ae,zt.height=He;e:{var ye=zt.width,ze=zt.height;if(Ae=zt.S,0>=ye||0>=ze||!(Ae>=Vl&&13>Ae))Ae=2;else{if(0>=zt.Rd&&zt.sd==null){Re=mr=rr=He=0;var lt=(re=ye*oc[Ae])*ze;if(11>Ae||(mr=(ze+1)/2*(He=(ye+1)/2),Ae==12&&(Re=(rr=ye)*ze)),(ze=Ve(lt+2*mr+Re))==null){Ae=1;break e}zt.sd=ze,11>Ae?((ye=zt.f.RGBA).eb=ze,ye.fb=0,ye.A=re,ye.size=lt):((ye=zt.f.kb).y=ze,ye.O=0,ye.fa=re,ye.Fd=lt,ye.f=ze,ye.N=0+lt,ye.Ab=He,ye.Cd=mr,ye.ea=ze,ye.W=0+lt+mr,ye.Db=He,ye.Ed=mr,Ae==12&&(ye.F=ze,ye.J=0+lt+2*mr),ye.Tc=Re,ye.lb=rr)}if(He=1,rr=zt.S,mr=zt.width,Re=zt.height,rr>=Vl&&13>rr)if(11>rr)Ae=zt.f.RGBA,He&=(re=Math.abs(Ae.A))*(Re-1)+mr<=Ae.size,He&=re>=mr*oc[rr],He&=Ae.eb!=null;else{Ae=zt.f.kb,re=(mr+1)/2,lt=(Re+1)/2,ye=Math.abs(Ae.fa),ze=Math.abs(Ae.Ab);var _t=Math.abs(Ae.Db),Dt=Math.abs(Ae.lb),Mt=Dt*(Re-1)+mr;He&=ye*(Re-1)+mr<=Ae.Fd,He&=ze*(lt-1)+re<=Ae.Cd,He=(He&=_t*(lt-1)+re<=Ae.Ed)&ye>=mr&ze>=re&_t>=re,He&=Ae.y!=null,He&=Ae.f!=null,He&=Ae.ea!=null,rr==12&&(He&=Dt>=mr,He&=Mt<=Ae.Tc,He&=Ae.F!=null)}else He=0;Ae=He?0:2}}return Ae!=0||ht!=null&&ht.fd&&(Ae=Io(zt)),Ae}var Oo=64,is=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],mo=24,go=32,ss=8,ys=[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];Br("Predictor0","PredictorAdd0"),Nn.Predictor0=function(){return 4278190080},Nn.Predictor1=function(Ae){return Ae},Nn.Predictor2=function(Ae,He,ht){return He[ht+0]},Nn.Predictor3=function(Ae,He,ht){return He[ht+1]},Nn.Predictor4=function(Ae,He,ht){return He[ht-1]},Nn.Predictor5=function(Ae,He,ht){return mn(mn(Ae,He[ht+1]),He[ht+0])},Nn.Predictor6=function(Ae,He,ht){return mn(Ae,He[ht-1])},Nn.Predictor7=function(Ae,He,ht){return mn(Ae,He[ht+0])},Nn.Predictor8=function(Ae,He,ht){return mn(He[ht-1],He[ht+0])},Nn.Predictor9=function(Ae,He,ht){return mn(He[ht+0],He[ht+1])},Nn.Predictor10=function(Ae,He,ht){return mn(mn(Ae,He[ht-1]),mn(He[ht+0],He[ht+1]))},Nn.Predictor11=function(Ae,He,ht){var zt=He[ht+0];return 0>=li(zt>>24&255,Ae>>24&255,(He=He[ht-1])>>24&255)+li(zt>>16&255,Ae>>16&255,He>>16&255)+li(zt>>8&255,Ae>>8&255,He>>8&255)+li(255&zt,255&Ae,255&He)?zt:Ae},Nn.Predictor12=function(Ae,He,ht){var zt=He[ht+0];return(_n((Ae>>24&255)+(zt>>24&255)-((He=He[ht-1])>>24&255))<<24|_n((Ae>>16&255)+(zt>>16&255)-(He>>16&255))<<16|_n((Ae>>8&255)+(zt>>8&255)-(He>>8&255))<<8|_n((255&Ae)+(255&zt)-(255&He)))>>>0},Nn.Predictor13=function(Ae,He,ht){var zt=He[ht-1];return(hi((Ae=mn(Ae,He[ht+0]))>>24&255,zt>>24&255)<<24|hi(Ae>>16&255,zt>>16&255)<<16|hi(Ae>>8&255,zt>>8&255)<<8|hi(Ae>>0&255,zt>>0&255))>>>0};var Yo=Nn.PredictorAdd0;Nn.PredictorAdd1=Zn,Br("Predictor2","PredictorAdd2"),Br("Predictor3","PredictorAdd3"),Br("Predictor4","PredictorAdd4"),Br("Predictor5","PredictorAdd5"),Br("Predictor6","PredictorAdd6"),Br("Predictor7","PredictorAdd7"),Br("Predictor8","PredictorAdd8"),Br("Predictor9","PredictorAdd9"),Br("Predictor10","PredictorAdd10"),Br("Predictor11","PredictorAdd11"),Br("Predictor12","PredictorAdd12"),Br("Predictor13","PredictorAdd13");var So=Nn.PredictorAdd2;tr("ColorIndexInverseTransform","MapARGB","32b",function(Ae){return Ae>>8&255},function(Ae){return Ae}),tr("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(Ae){return Ae},function(Ae){return Ae>>8&255});var Ks,ls=Nn.ColorIndexInverseTransform,sl=Nn.MapARGB,ll=Nn.VP8LColorIndexInverseTransformAlpha,bs=Nn.MapAlpha,Fo=Nn.VP8LPredictorsAdd=[];Fo.length=16,(Nn.VP8LPredictors=[]).length=16,(Nn.VP8LPredictorsAdd_C=[]).length=16,(Nn.VP8LPredictors_C=[]).length=16;var Ui,zs,tl,As,Jo,fl,rl,Cs,Bs,Ts,Is,cl,Os,Xs,Gs,Qs,Sa,Li,Ji,Ea,co,Ps,ws,Ws,Ys,pl,Ls,hs,Ul=Ve(511),kc=Ve(2041),wc=Ve(225),Bc=Ve(767),Pc=0,Dl=kc,Zs=wc,Js=Bc,ul=Ul,Vl=0,ql=1,lc=2,Xl=3,Rl=4,cc=5,$l=6,uc=7,Sl=8,_l=9,Ml=10,ec=[2,3,7],Cl=[3,3,11],Uc=[280,256,256,256,40],ml=[0,1,1,1,0],xl=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],tc=[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],jc=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],dc=8,Fl=[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],kl=[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],jl=null,Sc=[[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]],xc=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],hc=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Hl=[[[[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]]]],fc=[[[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]]],rc=[[[[255,255,255,255,255,255,255,255,255,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]]]],Ec=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],as=[],nl=[],Tl=[],nc=1,ic=2,Il=[],yl=[];Ie("UpsampleRgbLinePair",kr,3),Ie("UpsampleBgrLinePair",ln,3),Ie("UpsampleRgbaLinePair",ji,4),Ie("UpsampleBgraLinePair",Ti,4),Ie("UpsampleArgbLinePair",yi,4),Ie("UpsampleRgba4444LinePair",oi,2),Ie("UpsampleRgb565LinePair",En,2);var _c=Nn.UpsampleRgbLinePair,Hc=Nn.UpsampleBgrLinePair,Kc=Nn.UpsampleRgbaLinePair,Cc=Nn.UpsampleBgraLinePair,Tc=Nn.UpsampleArgbLinePair,zc=Nn.UpsampleRgba4444LinePair,pc=Nn.UpsampleRgb565LinePair,Ol=16,Ll=1<<Ol-1,Gl=-227,Kl=482,Ic=6,qc=(256<<Ic)-1,Wc=0,$c=Ve(256),Ql=Ve(256),mc=Ve(256),eu=Ve(256),Oc=Ve(Kl-Gl),ac=Ve(Kl-Gl);na("YuvToRgbRow",kr,3),na("YuvToBgrRow",ln,3),na("YuvToRgbaRow",ji,4),na("YuvToBgraRow",Ti,4),na("YuvToArgbRow",yi,4),na("YuvToRgba4444Row",oi,2),na("YuvToRgb565Row",En,2);var gc=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Yl=[0,2,8],Lc=[8,7,6,4,4,2,2,2,1,1,1,1],Zl=1;this.WebPDecodeRGBA=function(Ae,He,ht,zt,rr){var mr=ql,Re=new _s,re=new hn;Re.ba=re,re.S=mr,re.width=[re.width],re.height=[re.height];var ye=re.width,ze=re.height,lt=new An;if(lt==null||Ae==null)var _t=2;else Le(lt!=null),_t=To(Ae,He,ht,lt.width,lt.height,lt.Pd,lt.Qd,lt.format,null);if(_t!=0?ye=0:(ye!=null&&(ye[0]=lt.width[0]),ze!=null&&(ze[0]=lt.height[0]),ye=1),ye){re.width=re.width[0],re.height=re.height[0],zt!=null&&(zt[0]=re.width),rr!=null&&(rr[0]=re.height);e:{if(zt=new Wi,(rr=new Fs).data=Ae,rr.w=He,rr.ha=ht,rr.kd=1,He=[0],Le(rr!=null),((Ae=To(rr.data,rr.w,rr.ha,null,null,null,He,null,rr))==0||Ae==7)&&He[0]&&(Ae=4),(He=Ae)==0){if(Le(Re!=null),zt.data=rr.data,zt.w=rr.w+rr.offset,zt.ha=rr.ha-rr.offset,zt.put=di,zt.ac=Fi,zt.bc=ii,zt.ma=Re,rr.xa){if((Ae=Fa())==null){Re=1;break e}if(function(Dt,Mt){var ar=[0],vr=[0],ir=[0];t:for(;;){if(Dt==null)return 0;if(Mt==null)return Dt.a=2,0;if(Dt.l=Mt,Dt.a=0,wi(Dt.m,Mt.data,Mt.w,Mt.ha),!Yi(Dt.m,ar,vr,ir)){Dt.a=3;break t}if(Dt.xb=ic,Mt.width=ar[0],Mt.height=vr[0],!uo(ar[0],vr[0],1,Dt,null))break t;return 1}return Le(Dt.a!=0),0}(Ae,zt)){if(zt=(He=Ha(zt.width,zt.height,Re.Oa,Re.ba))==0){t:{zt=Ae;r:for(;;){if(zt==null){zt=0;break t}if(Le(zt.s.yc!=null),Le(zt.s.Ya!=null),Le(0<zt.s.Wb),Le((ht=zt.l)!=null),Le((rr=ht.ma)!=null),zt.xb!=0){if(zt.ca=rr.ba,zt.tb=rr.tb,Le(zt.ca!=null),!eo(rr.Oa,ht,Xl)){zt.a=2;break r}if(!za(zt,ht.width))break r;if(ht.da)break r;if((ht.da||Bn(zt.ca.S))&&ve(),11>zt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),zt.ca.f.kb.F!=null&&ve()),zt.Pb&&0<zt.s.ua&&zt.s.vb.X==null&&!ri(zt.s.vb,zt.s.Wa.Xa)){zt.a=1;break r}zt.xb=0}if(!ya(zt,zt.V,zt.Ba,zt.c,zt.i,ht.o,La))break r;rr.Dc=zt.Ma,zt=1;break t}Le(zt.a!=0),zt=0}zt=!zt}zt&&(He=Ae.a)}else He=Ae.a}else{if((Ae=new Ci)==null){Re=1;break e}if(Ae.Fa=rr.na,Ae.P=rr.P,Ae.qc=rr.Sa,ga(Ae,zt)){if((He=Ha(zt.width,zt.height,Re.Oa,Re.ba))==0){if(Ae.Aa=0,ht=Re.Oa,Le((rr=Ae)!=null),ht!=null){if(0<(ye=0>(ye=ht.Md)?0:100<ye?255:255*ye/100)){for(ze=lt=0;4>ze;++ze)12>(_t=rr.pb[ze]).lc&&(_t.ia=ye*Lc[0>_t.lc?0:_t.lc]>>3),lt|=_t.ia;lt&&(alert("todo:VP8InitRandom"),rr.ia=1)}rr.Ga=ht.Id,100<rr.Ga?rr.Ga=100:0>rr.Ga&&(rr.Ga=0)}la(Ae,zt)||(He=Ae.a)}}else He=Ae.a}He==0&&Re.Oa!=null&&Re.Oa.fd&&(He=Io(Re.ba))}Re=He}mr=Re!=0?null:11>mr?re.f.RGBA.eb:re.f.kb.y}else mr=null;return mr};var oc=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Kt(Gn,Nn){for(var mi="",en=0;en<4;en++)mi+=String.fromCharCode(Gn[Nn++]);return mi}function $t(Gn,Nn){return(Gn[Nn+0]<<0|Gn[Nn+1]<<8|Gn[Nn+2]<<16)>>>0}function er(Gn,Nn){return(Gn[Nn+0]<<0|Gn[Nn+1]<<8|Gn[Nn+2]<<16|Gn[Nn+3]<<24)>>>0}new dt;var cr=[0],Ct=[0],Nr=[],Zt=new dt,Ir=et,xr=function(Gn,Nn){var mi={},en=0,Kr=!1,dn=0,Vr=0;if(mi.frames=[],!function(Sr,sn,yn,On){for(var Pn=0;Pn<On;Pn++)if(Sr[sn+Pn]!=yn.charCodeAt(Pn))return!0;return!1}(Gn,Nn,"RIFF",4)){var ni,Hn;for(er(Gn,Nn+=4),Nn+=8;Nn<Gn.length;){var Kn=Kt(Gn,Nn),bn=er(Gn,Nn+=4);Nn+=4;var wi=bn+(1&bn);switch(Kn){case"VP8 ":case"VP8L":mi.frames[en]===void 0&&(mi.frames[en]={}),(qr=mi.frames[en]).src_off=Kr?Vr:Nn-8,qr.src_size=dn+bn+8,en++,Kr&&(Kr=!1,dn=0,Vr=0);break;case"VP8X":(qr=mi.header={}).feature_flags=Gn[Nn];var si=Nn+4;qr.canvas_width=1+$t(Gn,si),si+=3,qr.canvas_height=1+$t(Gn,si),si+=3;break;case"ALPH":Kr=!0,dn=wi+8,Vr=Nn-8;break;case"ANIM":(qr=mi.header).bgcolor=er(Gn,Nn),si=Nn+4,qr.loop_count=(ni=Gn)[(Hn=si)+0]<<0|ni[Hn+1]<<8,si+=2;break;case"ANMF":var Oi,qr;(qr=mi.frames[en]={}).offset_x=2*$t(Gn,Nn),Nn+=3,qr.offset_y=2*$t(Gn,Nn),Nn+=3,qr.width=1+$t(Gn,Nn),Nn+=3,qr.height=1+$t(Gn,Nn),Nn+=3,qr.duration=$t(Gn,Nn),Nn+=3,Oi=Gn[Nn++],qr.dispose=1&Oi,qr.blend=Oi>>1&1}Kn!="ANMF"&&(Nn+=wi)}return mi}}(Ir,0);xr.response=Ir,xr.rgbaoutput=!0,xr.dataurl=!1;var ur=xr.header?xr.header:null,on=xr.frames?xr.frames:null;if(ur){ur.loop_counter=ur.loop_count,cr=[ur.canvas_height],Ct=[ur.canvas_width];for(var Yn=0;Yn<on.length&&on[Yn].blend!=0;Yn++);}var Vn=on[0],Wn=Zt.WebPDecodeRGBA(Ir,Vn.src_off,Vn.src_size,Ct,cr);Vn.rgba=Wn,Vn.imgwidth=Ct[0],Vn.imgheight=cr[0];for(var jn=0;jn<Ct[0]*cr[0]*4;jn++)Nr[jn]=Wn[jn];return this.width=Ct,this.height=cr,this.data=Nr,this}!function(et){var Le=function(){return typeof g.b=="function"},Pe=function(Ct,Nr,Zt,Ir){var xr=4,ur=Ze;switch(Ir){case et.image_compression.FAST:xr=1,ur=Ve;break;case et.image_compression.MEDIUM:xr=6,ur=At;break;case et.image_compression.SLOW:xr=9,ur=dt}Ct=je(Ct,Nr,Zt,ur);var on=Object(g.b)(Ct,{level:xr});return et.__addimage__.arrayBufferToBinaryString(on)},je=function(Ct,Nr,Zt,Ir){for(var xr,ur,on,Yn=Ct.length/Nr,Vn=new Uint8Array(Ct.length+Yn),Wn=$t(),jn=0;jn<Yn;jn+=1){if(on=jn*Nr,xr=Ct.subarray(on,on+Nr),Ir)Vn.set(Ir(xr,Zt,ur),on+jn);else{for(var Gn,Nn=Wn.length,mi=[];Gn<Nn;Gn+=1)mi[Gn]=Wn[Gn](xr,Zt,ur);var en=er(mi.concat());Vn.set(mi[en],on+jn)}ur=xr}return Vn},Je=function(Ct){var Nr=Array.apply([],Ct);return Nr.unshift(0),Nr},Ve=function(Ct,Nr){var Zt,Ir=[],xr=Ct.length;Ir[0]=1;for(var ur=0;ur<xr;ur+=1)Zt=Ct[ur-Nr]||0,Ir[ur+1]=Ct[ur]-Zt+256&255;return Ir},Ze=function(Ct,Nr,Zt){var Ir,xr=[],ur=Ct.length;xr[0]=2;for(var on=0;on<ur;on+=1)Ir=Zt&&Zt[on]||0,xr[on+1]=Ct[on]-Ir+256&255;return xr},At=function(Ct,Nr,Zt){var Ir,xr,ur=[],on=Ct.length;ur[0]=3;for(var Yn=0;Yn<on;Yn+=1)Ir=Ct[Yn-Nr]||0,xr=Zt&&Zt[Yn]||0,ur[Yn+1]=Ct[Yn]+256-(Ir+xr>>>1)&255;return ur},dt=function(Ct,Nr,Zt){var Ir,xr,ur,on,Yn=[],Vn=Ct.length;Yn[0]=4;for(var Wn=0;Wn<Vn;Wn+=1)Ir=Ct[Wn-Nr]||0,xr=Zt&&Zt[Wn]||0,ur=Zt&&Zt[Wn-Nr]||0,on=Kt(Ir,xr,ur),Yn[Wn+1]=Ct[Wn]-on+256&255;return Yn},Kt=function(Ct,Nr,Zt){if(Ct===Nr&&Nr===Zt)return Ct;var Ir=Math.abs(Nr-Zt),xr=Math.abs(Ct-Zt),ur=Math.abs(Ct+Nr-Zt-Zt);return Ir<=xr&&Ir<=ur?Ct:xr<=ur?Nr:Zt},$t=function(){return[Je,Ve,Ze,At,dt]},er=function(Ct){var Nr=Ct.map(function(Zt){return Zt.reduce(function(Ir,xr){return Ir+Math.abs(xr)},0)});return Nr.indexOf(Math.min.apply(null,Nr))};et.processPNG=function(cr,Ct,Nr,Zt){var Ir,xr,ur,on,Yn,Vn,Wn,jn,Gn,Nn,mi,en,Kr,dn,Vr,ni=this.decode.FLATE_DECODE,Hn="";if(this.__addimage__.isArrayBuffer(cr)&&(cr=new Uint8Array(cr)),this.__addimage__.isArrayBufferView(cr)){if(cr=(ur=new it(cr)).imgData,xr=ur.bits,Ir=ur.colorSpace,Yn=ur.colors,[4,6].indexOf(ur.colorType)!==-1){if(ur.bits===8){Gn=(jn=ur.pixelBitlength==32?new Uint32Array(ur.decodePixels().buffer):ur.pixelBitlength==16?new Uint16Array(ur.decodePixels().buffer):new Uint8Array(ur.decodePixels().buffer)).length,mi=new Uint8Array(Gn*ur.colors),Nn=new Uint8Array(Gn);var Kn,bn=ur.pixelBitlength-ur.bits;for(dn=0,Vr=0;dn<Gn;dn++){for(Kr=jn[dn],Kn=0;Kn<bn;)mi[Vr++]=Kr>>>Kn&255,Kn+=ur.bits;Nn[dn]=Kr>>>Kn&255}}if(ur.bits===16){Gn=(jn=new Uint32Array(ur.decodePixels().buffer)).length,mi=new Uint8Array(Gn*(32/ur.pixelBitlength)*ur.colors),Nn=new Uint8Array(Gn*(32/ur.pixelBitlength)),en=ur.colors>1,dn=0,Vr=0;for(var wi=0;dn<Gn;)Kr=jn[dn++],mi[Vr++]=Kr>>>0&255,en&&(mi[Vr++]=Kr>>>16&255,Kr=jn[dn++],mi[Vr++]=Kr>>>0&255),Nn[wi++]=Kr>>>16&255;xr=8}Zt!==et.image_compression.NONE&&Le()?(cr=Pe(mi,ur.width*ur.colors,ur.colors,Zt),Wn=Pe(Nn,ur.width,1,Zt)):(cr=mi,Wn=Nn,ni=void 0)}if(ur.colorType===3&&(Ir=this.color_spaces.INDEXED,Vn=ur.palette,ur.transparency.indexed)){var si=ur.transparency.indexed,Oi=0;for(dn=0,Gn=si.length;dn<Gn;++dn)Oi+=si[dn];if((Oi/=255)===Gn-1&&si.indexOf(0)!==-1)on=[si.indexOf(0)];else if(Oi!==Gn){for(jn=ur.decodePixels(),Nn=new Uint8Array(jn.length),dn=0,Gn=jn.length;dn<Gn;dn++)Nn[dn]=si[jn[dn]];Wn=Pe(Nn,ur.width,1)}}var qr=function(Sr){var sn;switch(Sr){case et.image_compression.FAST:sn=11;break;case et.image_compression.MEDIUM:sn=13;break;case et.image_compression.SLOW:sn=14;break;default:sn=12}return sn}(Zt);return ni===this.decode.FLATE_DECODE&&(Hn="/Predictor "+qr+" "),Hn+="/Colors "+Yn+" /BitsPerComponent "+xr+" /Columns "+ur.width,(this.__addimage__.isArrayBuffer(cr)||this.__addimage__.isArrayBufferView(cr))&&(cr=this.__addimage__.arrayBufferToBinaryString(cr)),(Wn&&this.__addimage__.isArrayBuffer(Wn)||this.__addimage__.isArrayBufferView(Wn))&&(Wn=this.__addimage__.arrayBufferToBinaryString(Wn)),{alias:Nr,data:cr,index:Ct,filter:ni,decodeParameters:Hn,transparency:on,palette:Vn,sMask:Wn,predictor:qr,width:ur.width,height:ur.height,bitsPerComponent:xr,colorSpace:Ir}}}}(K.API),function(et){et.processGIF89A=function(Le,Pe,je,Je){var Ve=new wt(Le),Ze=Ve.width,At=Ve.height,dt=[];Ve.decodeAndBlitFrameRGBA(0,dt);var Kt={data:dt,width:Ze,height:At},$t=new sr(100).encode(Kt,100);return et.processJPEG.call(this,$t,Pe,je,Je)},et.processGIF87A=et.processGIF89A}(K.API),Ar.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 et=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(et);for(var Le=0;Le<et;Le++){var Pe=this.datav.getUint8(this.pos++,!0),je=this.datav.getUint8(this.pos++,!0),Je=this.datav.getUint8(this.pos++,!0),Ve=this.datav.getUint8(this.pos++,!0);this.palette[Le]={red:Je,green:je,blue:Pe,quad:Ve}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Ar.prototype.parseBGR=function(){this.pos=this.offset;try{var et="bit"+this.bitPP,Le=this.width*this.height*4;this.data=new Uint8Array(Le),this[et]()}catch(Pe){l.log("bit decode error:"+Pe)}},Ar.prototype.bit1=function(){var et,Le=Math.ceil(this.width/8),Pe=Le%4;for(et=this.height-1;et>=0;et--){for(var je=this.bottom_up?et:this.height-1-et,Je=0;Je<Le;Je++)for(var Ve=this.datav.getUint8(this.pos++,!0),Ze=je*this.width*4+8*Je*4,At=0;At<8&&8*Je+At<this.width;At++){var dt=this.palette[Ve>>7-At&1];this.data[Ze+4*At]=dt.blue,this.data[Ze+4*At+1]=dt.green,this.data[Ze+4*At+2]=dt.red,this.data[Ze+4*At+3]=255}Pe!==0&&(this.pos+=4-Pe)}},Ar.prototype.bit4=function(){for(var et=Math.ceil(this.width/2),Le=et%4,Pe=this.height-1;Pe>=0;Pe--){for(var je=this.bottom_up?Pe:this.height-1-Pe,Je=0;Je<et;Je++){var Ve=this.datav.getUint8(this.pos++,!0),Ze=je*this.width*4+2*Je*4,At=Ve>>4,dt=15&Ve,Kt=this.palette[At];if(this.data[Ze]=Kt.blue,this.data[Ze+1]=Kt.green,this.data[Ze+2]=Kt.red,this.data[Ze+3]=255,2*Je+1>=this.width)break;Kt=this.palette[dt],this.data[Ze+4]=Kt.blue,this.data[Ze+4+1]=Kt.green,this.data[Ze+4+2]=Kt.red,this.data[Ze+4+3]=255}Le!==0&&(this.pos+=4-Le)}},Ar.prototype.bit8=function(){for(var et=this.width%4,Le=this.height-1;Le>=0;Le--){for(var Pe=this.bottom_up?Le:this.height-1-Le,je=0;je<this.width;je++){var Je=this.datav.getUint8(this.pos++,!0),Ve=Pe*this.width*4+4*je;if(Je<this.palette.length){var Ze=this.palette[Je];this.data[Ve]=Ze.red,this.data[Ve+1]=Ze.green,this.data[Ve+2]=Ze.blue,this.data[Ve+3]=255}else this.data[Ve]=255,this.data[Ve+1]=255,this.data[Ve+2]=255,this.data[Ve+3]=255}et!==0&&(this.pos+=4-et)}},Ar.prototype.bit15=function(){for(var et=this.width%3,Le=parseInt("11111",2),Pe=this.height-1;Pe>=0;Pe--){for(var je=this.bottom_up?Pe:this.height-1-Pe,Je=0;Je<this.width;Je++){var Ve=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ze=(Ve&Le)/Le*255|0,At=(Ve>>5&Le)/Le*255|0,dt=(Ve>>10&Le)/Le*255|0,Kt=Ve>>15?255:0,$t=je*this.width*4+4*Je;this.data[$t]=dt,this.data[$t+1]=At,this.data[$t+2]=Ze,this.data[$t+3]=Kt}this.pos+=et}},Ar.prototype.bit16=function(){for(var et=this.width%3,Le=parseInt("11111",2),Pe=parseInt("111111",2),je=this.height-1;je>=0;je--){for(var Je=this.bottom_up?je:this.height-1-je,Ve=0;Ve<this.width;Ve++){var Ze=this.datav.getUint16(this.pos,!0);this.pos+=2;var At=(Ze&Le)/Le*255|0,dt=(Ze>>5&Pe)/Pe*255|0,Kt=(Ze>>11)/Le*255|0,$t=Je*this.width*4+4*Ve;this.data[$t]=Kt,this.data[$t+1]=dt,this.data[$t+2]=At,this.data[$t+3]=255}this.pos+=et}},Ar.prototype.bit24=function(){for(var et=this.height-1;et>=0;et--){for(var Le=this.bottom_up?et:this.height-1-et,Pe=0;Pe<this.width;Pe++){var je=this.datav.getUint8(this.pos++,!0),Je=this.datav.getUint8(this.pos++,!0),Ve=this.datav.getUint8(this.pos++,!0),Ze=Le*this.width*4+4*Pe;this.data[Ze]=Ve,this.data[Ze+1]=Je,this.data[Ze+2]=je,this.data[Ze+3]=255}this.pos+=this.width%4}},Ar.prototype.bit32=function(){for(var et=this.height-1;et>=0;et--)for(var Le=this.bottom_up?et:this.height-1-et,Pe=0;Pe<this.width;Pe++){var je=this.datav.getUint8(this.pos++,!0),Je=this.datav.getUint8(this.pos++,!0),Ve=this.datav.getUint8(this.pos++,!0),Ze=this.datav.getUint8(this.pos++,!0),At=Le*this.width*4+4*Pe;this.data[At]=Ve,this.data[At+1]=Je,this.data[At+2]=je,this.data[At+3]=Ze}},Ar.prototype.getData=function(){return this.data},function(et){et.processBMP=function(Le,Pe,je,Je){var Ve=new Ar(Le,!1),Ze=Ve.width,At=Ve.height,dt={data:Ve.getData(),width:Ze,height:At},Kt=new sr(100).encode(dt,100);return et.processJPEG.call(this,Kt,Pe,je,Je)}}(K.API),Hr.prototype.getData=function(){return this.data},function(et){et.processWEBP=function(Le,Pe,je,Je){var Ve=new Hr(Le,!1),Ze=Ve.width,At=Ve.height,dt={data:Ve.getData(),width:Ze,height:At},Kt=new sr(100).encode(dt,100);return et.processJPEG.call(this,Kt,Pe,je,Je)}}(K.API),K.API.processRGBA=function(et,Le,Pe){for(var je=et.data,Je=je.length,Ve=new Uint8Array(Je/4*3),Ze=new Uint8Array(Je/4),At=0,dt=0,Kt=0;Kt<Je;Kt+=4){var $t=je[Kt],er=je[Kt+1],cr=je[Kt+2],Ct=je[Kt+3];Ve[At++]=$t,Ve[At++]=er,Ve[At++]=cr,Ze[dt++]=Ct}var Nr=this.__addimage__.arrayBufferToBinaryString(Ve);return{alpha:this.__addimage__.arrayBufferToBinaryString(Ze),data:Nr,index:Le,alias:Pe,colorSpace:"DeviceRGB",bitsPerComponent:8,width:et.width,height:et.height}},K.API.setLanguage=function(et){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"}[et]!==void 0&&(this.internal.languageSettings.languageCode=et,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},bt=K.API,ut=bt.getCharWidthsArray=function(et,Le){var Pe,je,Je=(Le=Le||{}).font||this.internal.getFont(),Ve=Le.fontSize||this.internal.getFontSize(),Ze=Le.charSpace||this.internal.getCharSpace(),At=Le.widths?Le.widths:Je.metadata.Unicode.widths,dt=At.fof?At.fof:1,Kt=Le.kerning?Le.kerning:Je.metadata.Unicode.kerning,$t=Kt.fof?Kt.fof:1,er=Le.doKerning!==!1,cr=0,Ct=et.length,Nr=0,Zt=At[0]||dt,Ir=[];for(Pe=0;Pe<Ct;Pe++)je=et.charCodeAt(Pe),typeof Je.metadata.widthOfString=="function"?Ir.push((Je.metadata.widthOfGlyph(Je.metadata.characterToGlyph(je))+Ze*(1e3/Ve)||0)/1e3):(cr=er&&b()(Kt[je])==="object"&&!isNaN(parseInt(Kt[je][Nr],10))?Kt[je][Nr]/$t:0,Ir.push((At[je]||Zt)/dt+cr)),Nr=je;return Ir},Oe=bt.getStringUnitWidth=function(et,Le){var Pe=(Le=Le||{}).fontSize||this.internal.getFontSize(),je=Le.font||this.internal.getFont(),Je=Le.charSpace||this.internal.getCharSpace();return bt.processArabic&&(et=bt.processArabic(et)),typeof je.metadata.widthOfString=="function"?je.metadata.widthOfString(et,Pe,Je)/Pe:ut.apply(this,arguments).reduce(function(Ve,Ze){return Ve+Ze},0)},be=function(Le,Pe,je,Je){for(var Ve=[],Ze=0,At=Le.length,dt=0;Ze!==At&&dt+Pe[Ze]<je;)dt+=Pe[Ze],Ze++;Ve.push(Le.slice(0,Ze));var Kt=Ze;for(dt=0;Ze!==At;)dt+Pe[Ze]>Je&&(Ve.push(Le.slice(Kt,Ze)),dt=0,Kt=Ze),dt+=Pe[Ze],Ze++;return Kt!==Ze&&Ve.push(Le.slice(Kt,Ze)),Ve},Fe=function(Le,Pe,je){je||(je={});var Je,Ve,Ze,At,dt,Kt,$t,er=[],cr=[er],Ct=je.textIndent||0,Nr=0,Zt=0,Ir=Le.split(" "),xr=ut.apply(this,[" ",je])[0];if(Kt=je.lineIndent===-1?Ir[0].length+2:je.lineIndent||0){var ur=Array(Kt).join(" "),on=[];Ir.map(function(Vn){(Vn=Vn.split(/\s*\n/)).length>1?on=on.concat(Vn.map(function(Wn,jn){return(jn&&Wn.length?`
`:"")+Wn})):on.push(Vn[0])}),Ir=on,Kt=Oe.apply(this,[ur,je])}for(Ze=0,At=Ir.length;Ze<At;Ze++){var Yn=0;if(Je=Ir[Ze],Kt&&Je[0]==`
`&&(Je=Je.substr(1),Yn=1),Ct+Nr+(Zt=(Ve=ut.apply(this,[Je,je])).reduce(function(Vn,Wn){return Vn+Wn},0))>Pe||Yn){if(Zt>Pe){for(dt=be.apply(this,[Je,Ve,Pe-(Ct+Nr),Pe]),er.push(dt.shift()),er=[dt.pop()];dt.length;)cr.push([dt.shift()]);Zt=Ve.slice(Je.length-(er[0]?er[0].length:0)).reduce(function(Vn,Wn){return Vn+Wn},0)}else er=[Je];cr.push(er),Ct=Zt+Kt,Nr=xr}else er.push(Je),Ct+=Nr+Zt,Nr=xr}return $t=Kt?function(Vn,Wn){return(Wn?ur:"")+Vn.join(" ")}:function(Vn){return Vn.join(" ")},cr.map($t)},bt.splitTextToSize=function(et,Le,Pe){var je,Je=(Pe=Pe||{}).fontSize||this.internal.getFontSize(),Ve=function($t){if($t.widths&&$t.kerning)return{widths:$t.widths,kerning:$t.kerning};var er=this.internal.getFont($t.fontName,$t.fontStyle);return er.metadata.Unicode?{widths:er.metadata.Unicode.widths||{0:1},kerning:er.metadata.Unicode.kerning||{}}:{font:er.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Pe);je=Array.isArray(et)?et:String(et).split(/\r?\n/);var Ze=1*this.internal.scaleFactor*Le/Je;Ve.textIndent=Pe.textIndent?1*Pe.textIndent*this.internal.scaleFactor/Je:0,Ve.lineIndent=Pe.lineIndent;var At,dt,Kt=[];for(At=0,dt=je.length;At<dt;At++)Kt=Kt.concat(Fe.apply(this,[je[At],Ze,Ve]));return Kt},function(et){et.__fontmetrics__=et.__fontmetrics__||{};for(var Le="klmnopqrstuvwxyz",Pe={},je={},Je=0;Je<Le.length;Je++)Pe[Le[Je]]="0123456789abcdef"[Je],je["0123456789abcdef"[Je]]=Le[Je];var Ve=function(cr){return"0x"+parseInt(cr,10).toString(16)},Ze=et.__fontmetrics__.compress=function(er){var cr,Ct,Nr,Zt,Ir=["{"];for(var xr in er){if(cr=er[xr],isNaN(parseInt(xr,10))?Ct="'"+xr+"'":(xr=parseInt(xr,10),Ct=(Ct=Ve(xr).slice(2)).slice(0,-1)+je[Ct.slice(-1)]),typeof cr=="number")cr<0?(Nr=Ve(cr).slice(3),Zt="-"):(Nr=Ve(cr).slice(2),Zt=""),Nr=Zt+Nr.slice(0,-1)+je[Nr.slice(-1)];else{if(b()(cr)!=="object")throw new Error("Don't know what to do with value type "+b()(cr)+".");Nr=Ze(cr)}Ir.push(Ct+Nr)}return Ir.push("}"),Ir.join("")},At=et.__fontmetrics__.uncompress=function(er){if(typeof er!="string")throw new Error("Invalid argument passed to uncompress.");for(var cr,Ct,Nr,Zt,Ir={},xr=1,ur=Ir,on=[],Yn="",Vn="",Wn=er.length-1,jn=1;jn<Wn;jn+=1)(Zt=er[jn])=="'"?cr?(Nr=cr.join(""),cr=void 0):cr=[]:cr?cr.push(Zt):Zt=="{"?(on.push([ur,Nr]),ur={},Nr=void 0):Zt=="}"?((Ct=on.pop())[0][Ct[1]]=ur,Nr=void 0,ur=Ct[0]):Zt=="-"?xr=-1:Nr===void 0?Pe.hasOwnProperty(Zt)?(Yn+=Pe[Zt],Nr=parseInt(Yn,16)*xr,xr=1,Yn=""):Yn+=Zt:Pe.hasOwnProperty(Zt)?(Vn+=Pe[Zt],ur[Nr]=parseInt(Vn,16)*xr,xr=1,Nr=void 0,Vn=""):Vn+=Zt;return Ir},dt={codePages:["WinAnsiEncoding"],WinAnsiEncoding:At("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Kt={Unicode:{Courier:dt,"Courier-Bold":dt,"Courier-BoldOblique":dt,"Courier-Oblique":dt,Helvetica:dt,"Helvetica-Bold":dt,"Helvetica-BoldOblique":dt,"Helvetica-Oblique":dt,"Times-Roman":dt,"Times-Bold":dt,"Times-BoldItalic":dt,"Times-Italic":dt}},$t={Unicode:{"Courier-Oblique":At("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":At("{'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":At("{'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:At("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":At("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":At("{'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:At("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:At("{'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":At("{'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:At("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":At("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":At("{'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":At("{'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":At("{'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}}}")}};et.events.push(["addFont",function(er){var cr=er.font,Ct=$t.Unicode[cr.postScriptName];Ct&&(cr.metadata.Unicode={},cr.metadata.Unicode.widths=Ct.widths,cr.metadata.Unicode.kerning=Ct.kerning);var Nr=Kt.Unicode[cr.postScriptName];Nr&&(cr.metadata.Unicode.encoding=Nr,cr.encoding=Nr.codePages[0])}])}(K.API),function(et){var Le=function(je){for(var Je=je.length,Ve=new Uint8Array(Je),Ze=0;Ze<Je;Ze++)Ve[Ze]=je.charCodeAt(Ze);return Ve};et.API.events.push(["addFont",function(Pe){var je=void 0,Je=Pe.font,Ve=Pe.instance;if(!Je.isStandardFont){if(Ve===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+Je.postScriptName+"').");if(typeof(je=Ve.existsFileInVFS(Je.postScriptName)===!1?Ve.loadFile(Je.postScriptName):Ve.getFileFromVFS(Je.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+Je.postScriptName+"').");!function(Ze,At){At=/^\x00\x01\x00\x00/.test(At)?Le(At):Le(n(At)),Ze.metadata=et.API.TTFFont.open(At),Ze.metadata.Unicode=Ze.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Ze.metadata.glyIdsUsed=[0]}(Je,je)}}])}(K),function(et){function Le(){return(v.canvg?Promise.resolve(v.canvg):Promise.all([d.e(0),d.e(257)]).then(d.bind(null,"DXPr"))).catch(function(Pe){return Promise.reject(new Error("Could not load canvg: "+Pe))}).then(function(Pe){return Pe.default?Pe.default:Pe})}K.API.addSvgAsImage=function(Pe,je,Je,Ve,Ze,At,dt,Kt){if(isNaN(je)||isNaN(Je))throw l.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(Ve)||isNaN(Ze))throw l.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var $t=document.createElement("canvas");$t.width=Ve,$t.height=Ze;var er=$t.getContext("2d");er.fillStyle="#fff",er.fillRect(0,0,$t.width,$t.height);var cr={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},Ct=this;return Le().then(function(Nr){return Nr.fromString(er,Pe,cr)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(Nr){return Nr.render(cr)}).then(function(){Ct.addImage($t.toDataURL("image/jpeg",1),je,Je,Ve,Ze,dt,Kt)})}}(),K.API.putTotalPages=function(et){var Le,Pe=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(Le=new RegExp(et,"g"),Pe=this.internal.getNumberOfPages()):(Le=new RegExp(this.pdfEscape16(et,this.internal.getFont()),"g"),Pe=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var je=1;je<=this.internal.getNumberOfPages();je++)for(var Je=0;Je<this.internal.pages[je].length;Je++)this.internal.pages[je][Je]=this.internal.pages[je][Je].replace(Le,Pe);return this},K.API.viewerPreferences=function(et,Le){var Pe;et=et||{},Le=Le||!1;var je,Je,Ve,Ze={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}},At=Object.keys(Ze),dt=[],Kt=0,$t=0,er=0;function cr(Nr,Zt){var Ir,xr=!1;for(Ir=0;Ir<Nr.length;Ir+=1)Nr[Ir]===Zt&&(xr=!0);return xr}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Ze)),this.internal.viewerpreferences.isSubscribed=!1),Pe=this.internal.viewerpreferences.configuration,et==="reset"||Le===!0){var Ct=At.length;for(er=0;er<Ct;er+=1)Pe[At[er]].value=Pe[At[er]].defaultValue,Pe[At[er]].explicitSet=!1}if(b()(et)==="object"){for(Je in et)if(Ve=et[Je],cr(At,Je)&&Ve!==void 0){if(Pe[Je].type==="boolean"&&typeof Ve=="boolean")Pe[Je].value=Ve;else if(Pe[Je].type==="name"&&cr(Pe[Je].valueSet,Ve))Pe[Je].value=Ve;else if(Pe[Je].type==="integer"&&Number.isInteger(Ve))Pe[Je].value=Ve;else if(Pe[Je].type==="array"){for(Kt=0;Kt<Ve.length;Kt+=1)if(je=!0,Ve[Kt].length===1&&typeof Ve[Kt][0]=="number")dt.push(String(Ve[Kt]-1));else if(Ve[Kt].length>1){for($t=0;$t<Ve[Kt].length;$t+=1)typeof Ve[Kt][$t]!="number"&&(je=!1);je===!0&&dt.push([Ve[Kt][0]-1,Ve[Kt][1]-1].join(" "))}Pe[Je].value="["+dt.join(" ")+"]"}else Pe[Je].value=Pe[Je].defaultValue;Pe[Je].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var Nr,Zt=[];for(Nr in Pe)Pe[Nr].explicitSet===!0&&(Pe[Nr].type==="name"?Zt.push("/"+Nr+" /"+Pe[Nr].value):Zt.push("/"+Nr+" "+Pe[Nr].value));Zt.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+Zt.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Pe,this},function(et){var Le=function(){var Je='<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>',Ve=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Ze=unescape(encodeURIComponent(Je)),At=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),dt=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Kt=unescape(encodeURIComponent("</x:xmpmeta>")),$t=Ze.length+At.length+dt.length+Ve.length+Kt.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+$t+" >>"),this.internal.write("stream"),this.internal.write(Ve+Ze+At+dt+Kt),this.internal.write("endstream"),this.internal.write("endobj")},Pe=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};et.addMetadata=function(je,Je){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:je,namespaceuri:Je||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Pe),this.internal.events.subscribe("postPutResources",Le)),this}}(K.API),function(et){var Le=et.API,Pe=Le.pdfEscape16=function(Ve,Ze){for(var At,dt=Ze.metadata.Unicode.widths,Kt=["","0","00","000","0000"],$t=[""],er=0,cr=Ve.length;er<cr;++er){if(At=Ze.metadata.characterToGlyph(Ve.charCodeAt(er)),Ze.metadata.glyIdsUsed.push(At),Ze.metadata.toUnicode[At]=Ve.charCodeAt(er),dt.indexOf(At)==-1&&(dt.push(At),dt.push([parseInt(Ze.metadata.widthOfGlyph(At),10)])),At=="0")return $t.join("");At=At.toString(16),$t.push(Kt[4-At.length],At)}return $t.join("")},je=function(Ze){var At,dt,Kt,$t,er,cr,Ct;for(er=`/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (UCS)
/Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000><ffff>
endcodespacerange`,Kt=[],cr=0,Ct=(dt=Object.keys(Ze).sort(function(Nr,Zt){return Nr-Zt})).length;cr<Ct;cr++)At=dt[cr],Kt.length>=100&&(er+=`
`+Kt.length+` beginbfchar
`+Kt.join(`
`)+`
endbfchar`,Kt=[]),Ze[At]!==void 0&&Ze[At]!==null&&typeof Ze[At].toString=="function"&&($t=("0000"+Ze[At].toString(16)).slice(-4),At=("0000"+(+At).toString(16)).slice(-4),Kt.push("<"+At+"><"+$t+">"));return Kt.length&&(er+=`
`+Kt.length+` beginbfchar
`+Kt.join(`
`)+`
endbfchar
`),er+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};Le.events.push(["putFont",function(Ve){!function(Ze){var At=Ze.font,dt=Ze.out,Kt=Ze.newObject,$t=Ze.putStream;if(At.metadata instanceof et.API.TTFFont&&At.encoding==="Identity-H"){for(var er=At.metadata.Unicode.widths,cr=At.metadata.subset.encode(At.metadata.glyIdsUsed,1),Ct="",Nr=0;Nr<cr.length;Nr++)Ct+=String.fromCharCode(cr[Nr]);var Zt=Kt();$t({data:Ct,addLength1:!0,objectId:Zt}),dt("endobj");var Ir=Kt();$t({data:je(At.metadata.toUnicode),addLength1:!0,objectId:Ir}),dt("endobj");var xr=Kt();dt("<<"),dt("/Type /FontDescriptor"),dt("/FontName /"+N(At.fontName)),dt("/FontFile2 "+Zt+" 0 R"),dt("/FontBBox "+et.API.PDFObject.convert(At.metadata.bbox)),dt("/Flags "+At.metadata.flags),dt("/StemV "+At.metadata.stemV),dt("/ItalicAngle "+At.metadata.italicAngle),dt("/Ascent "+At.metadata.ascender),dt("/Descent "+At.metadata.decender),dt("/CapHeight "+At.metadata.capHeight),dt(">>"),dt("endobj");var ur=Kt();dt("<<"),dt("/Type /Font"),dt("/BaseFont /"+N(At.fontName)),dt("/FontDescriptor "+xr+" 0 R"),dt("/W "+et.API.PDFObject.convert(er)),dt("/CIDToGIDMap /Identity"),dt("/DW 1000"),dt("/Subtype /CIDFontType2"),dt("/CIDSystemInfo"),dt("<<"),dt("/Supplement 0"),dt("/Registry (Adobe)"),dt("/Ordering ("+At.encoding+")"),dt(">>"),dt(">>"),dt("endobj"),At.objectNumber=Kt(),dt("<<"),dt("/Type /Font"),dt("/Subtype /Type0"),dt("/ToUnicode "+Ir+" 0 R"),dt("/BaseFont /"+N(At.fontName)),dt("/Encoding /"+At.encoding),dt("/DescendantFonts ["+ur+" 0 R]"),dt(">>"),dt("endobj"),At.isAlreadyPutted=!0}}(Ve)}]),Le.events.push(["putFont",function(Ve){!function(Ze){var At=Ze.font,dt=Ze.out,Kt=Ze.newObject,$t=Ze.putStream;if(At.metadata instanceof et.API.TTFFont&&At.encoding==="WinAnsiEncoding"){for(var er=At.metadata.rawData,cr="",Ct=0;Ct<er.length;Ct++)cr+=String.fromCharCode(er[Ct]);var Nr=Kt();$t({data:cr,addLength1:!0,objectId:Nr}),dt("endobj");var Zt=Kt();$t({data:je(At.metadata.toUnicode),addLength1:!0,objectId:Zt}),dt("endobj");var Ir=Kt();dt("<<"),dt("/Descent "+At.metadata.decender),dt("/CapHeight "+At.metadata.capHeight),dt("/StemV "+At.metadata.stemV),dt("/Type /FontDescriptor"),dt("/FontFile2 "+Nr+" 0 R"),dt("/Flags 96"),dt("/FontBBox "+et.API.PDFObject.convert(At.metadata.bbox)),dt("/FontName /"+N(At.fontName)),dt("/ItalicAngle "+At.metadata.italicAngle),dt("/Ascent "+At.metadata.ascender),dt(">>"),dt("endobj"),At.objectNumber=Kt();for(var xr=0;xr<At.metadata.hmtx.widths.length;xr++)At.metadata.hmtx.widths[xr]=parseInt(At.metadata.hmtx.widths[xr]*(1e3/At.metadata.head.unitsPerEm));dt("<</Subtype/TrueType/Type/Font/ToUnicode "+Zt+" 0 R/BaseFont/"+N(At.fontName)+"/FontDescriptor "+Ir+" 0 R/Encoding/"+At.encoding+" /FirstChar 29 /LastChar 255 /Widths "+et.API.PDFObject.convert(At.metadata.hmtx.widths)+">>"),dt("endobj"),At.isAlreadyPutted=!0}}(Ve)}]);var Je=function(Ze){var At,dt=Ze.text||"",Kt=Ze.x,$t=Ze.y,er=Ze.options||{},cr=Ze.mutex||{},Ct=cr.pdfEscape,Nr=cr.activeFontKey,Zt=cr.fonts,Ir=Nr,xr="",ur=0,on="",Yn=Zt[Ir].encoding;if(Zt[Ir].encoding!=="Identity-H")return{text:dt,x:Kt,y:$t,options:er,mutex:cr};for(on=dt,Ir=Nr,Array.isArray(dt)&&(on=dt[0]),ur=0;ur<on.length;ur+=1)Zt[Ir].metadata.hasOwnProperty("cmap")&&(At=Zt[Ir].metadata.cmap.unicode.codeMap[on[ur].charCodeAt(0)]),At||on[ur].charCodeAt(0)<256&&Zt[Ir].metadata.hasOwnProperty("Unicode")?xr+=on[ur]:xr+="";var Vn="";return parseInt(Ir.slice(1))<14||Yn==="WinAnsiEncoding"?Vn=Ct(xr,Ir).split("").map(function(Wn){return Wn.charCodeAt(0).toString(16)}).join(""):Yn==="Identity-H"&&(Vn=Pe(xr,Zt[Ir])),cr.isHex=!0,{text:Vn,x:Kt,y:$t,options:er,mutex:cr}};Le.events.push(["postProcessText",function(Ve){var Ze=Ve.text||"",At=[],dt={text:Ze,x:Ve.x,y:Ve.y,options:Ve.options,mutex:Ve.mutex};if(Array.isArray(Ze)){var Kt=0;for(Kt=0;Kt<Ze.length;Kt+=1)Array.isArray(Ze[Kt])&&Ze[Kt].length===3?At.push([Je(Object.assign({},dt,{text:Ze[Kt][0]})).text,Ze[Kt][1],Ze[Kt][2]]):At.push(Je(Object.assign({},dt,{text:Ze[Kt]})).text);Ve.text=At}else Ve.text=Je(Object.assign({},dt,{text:Ze})).text}])}(K),function(et){var Le=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};et.existsFileInVFS=function(Pe){return Le.call(this),this.internal.vFS[Pe]!==void 0},et.addFileToVFS=function(Pe,je){return Le.call(this),this.internal.vFS[Pe]=je,this},et.getFileFromVFS=function(Pe){return Le.call(this),this.internal.vFS[Pe]!==void 0?this.internal.vFS[Pe]:null}}(K.API),function(et){et.__bidiEngine__=et.prototype.__bidiEngine__=function(je){var Je,Ve,Ze,At,dt,Kt,$t,er=Le,cr=[[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]],Ct=[[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]],Nr={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Zt={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Ir=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],xr=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)$/),ur=!1,on=0;this.__bidiEngine__={};var Yn=function(Kr){var dn=Kr.charCodeAt(),Vr=dn>>8,ni=Zt[Vr];return ni!==void 0?er[256*ni+(255&dn)]:Vr===252||Vr===253?"AL":xr.test(Vr)?"L":Vr===8?"R":"N"},Vn=function(Kr){for(var dn,Vr=0;Vr<Kr.length;Vr++){if((dn=Yn(Kr.charAt(Vr)))==="L")return!1;if(dn==="R")return!0}return!1},Wn=function(Kr,dn,Vr,ni){var Hn,Kn,bn,wi,si=dn[ni];switch(si){case"L":case"R":ur=!1;break;case"N":case"AN":break;case"EN":ur&&(si="AN");break;case"AL":ur=!0,si="R";break;case"WS":si="N";break;case"CS":ni<1||ni+1>=dn.length||(Hn=Vr[ni-1])!=="EN"&&Hn!=="AN"||(Kn=dn[ni+1])!=="EN"&&Kn!=="AN"?si="N":ur&&(Kn="AN"),si=Kn===Hn?Kn:"N";break;case"ES":si=(Hn=ni>0?Vr[ni-1]:"B")==="EN"&&ni+1<dn.length&&dn[ni+1]==="EN"?"EN":"N";break;case"ET":if(ni>0&&Vr[ni-1]==="EN"){si="EN";break}if(ur){si="N";break}for(bn=ni+1,wi=dn.length;bn<wi&&dn[bn]==="ET";)bn++;si=bn<wi&&dn[bn]==="EN"?"EN":"N";break;case"NSM":if(Ze&&!At){for(wi=dn.length,bn=ni+1;bn<wi&&dn[bn]==="NSM";)bn++;if(bn<wi){var Oi=Kr[ni],qr=Oi>=1425&&Oi<=2303||Oi===64286;if(Hn=dn[bn],qr&&(Hn==="R"||Hn==="AL")){si="R";break}}}si=ni<1||(Hn=dn[ni-1])==="B"?"N":Vr[ni-1];break;case"B":ur=!1,Je=!0,si=on;break;case"S":Ve=!0,si="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":ur=!1;break;case"BN":si="N"}return si},jn=function(Kr,dn,Vr){var ni=Kr.split("");return Vr&&Gn(ni,Vr,{hiLevel:on}),ni.reverse(),dn&&dn.reverse(),ni.join("")},Gn=function(Kr,dn,Vr){var ni,Hn,Kn,bn,wi,si=-1,Oi=Kr.length,qr=0,Sr=[],sn=on?Ct:cr,yn=[];for(ur=!1,Je=!1,Ve=!1,Hn=0;Hn<Oi;Hn++)yn[Hn]=Yn(Kr[Hn]);for(Kn=0;Kn<Oi;Kn++){if(wi=qr,Sr[Kn]=Wn(Kr,yn,Sr,Kn),ni=240&(qr=sn[wi][Nr[Sr[Kn]]]),qr&=15,dn[Kn]=bn=sn[qr][5],ni>0)if(ni===16){for(Hn=si;Hn<Kn;Hn++)dn[Hn]=1;si=-1}else si=-1;if(sn[qr][6])si===-1&&(si=Kn);else if(si>-1){for(Hn=si;Hn<Kn;Hn++)dn[Hn]=bn;si=-1}yn[Kn]==="B"&&(dn[Kn]=0),Vr.hiLevel|=bn}Ve&&function(On,Pn,ti){for(var ai=0;ai<ti;ai++)if(On[ai]==="S"){Pn[ai]=on;for(var qn=ai-1;qn>=0&&On[qn]==="WS";qn--)Pn[qn]=on}}(yn,dn,Oi)},Nn=function(Kr,dn,Vr,ni,Hn){if(!(Hn.hiLevel<Kr)){if(Kr===1&&on===1&&!Je)return dn.reverse(),void(Vr&&Vr.reverse());for(var Kn,bn,wi,si,Oi=dn.length,qr=0;qr<Oi;){if(ni[qr]>=Kr){for(wi=qr+1;wi<Oi&&ni[wi]>=Kr;)wi++;for(si=qr,bn=wi-1;si<bn;si++,bn--)Kn=dn[si],dn[si]=dn[bn],dn[bn]=Kn,Vr&&(Kn=Vr[si],Vr[si]=Vr[bn],Vr[bn]=Kn);qr=wi}qr++}}},mi=function(Kr,dn,Vr){var ni=Kr.split(""),Hn={hiLevel:on};return Vr||(Vr=[]),Gn(ni,Vr,Hn),function(Kn,bn,wi){if(wi.hiLevel!==0&&$t)for(var si,Oi=0;Oi<Kn.length;Oi++)bn[Oi]===1&&(si=Ir.indexOf(Kn[Oi]))>=0&&(Kn[Oi]=Ir[si+1])}(ni,Vr,Hn),Nn(2,ni,dn,Vr,Hn),Nn(1,ni,dn,Vr,Hn),ni.join("")};return this.__bidiEngine__.doBidiReorder=function(en,Kr,dn){if(function(ni,Hn){if(Hn)for(var Kn=0;Kn<ni.length;Kn++)Hn[Kn]=Kn;At===void 0&&(At=Vn(ni)),Kt===void 0&&(Kt=Vn(ni))}(en,Kr),Ze||!dt||Kt)if(Ze&&dt&&At^Kt)on=At?1:0,en=jn(en,Kr,dn);else if(!Ze&&dt&&Kt)on=At?1:0,en=mi(en,Kr,dn),en=jn(en,Kr);else if(!Ze||At||dt||Kt){if(Ze&&!dt&&At^Kt)en=jn(en,Kr),At?(on=0,en=mi(en,Kr,dn)):(on=1,en=mi(en,Kr,dn),en=jn(en,Kr));else if(Ze&&At&&!dt&&Kt)on=1,en=mi(en,Kr,dn),en=jn(en,Kr);else if(!Ze&&!dt&&At^Kt){var Vr=$t;At?(on=1,en=mi(en,Kr,dn),on=0,$t=!1,en=mi(en,Kr,dn),$t=Vr):(on=0,en=mi(en,Kr,dn),en=jn(en,Kr),on=1,$t=!1,en=mi(en,Kr,dn),$t=Vr,en=jn(en,Kr))}}else on=0,en=mi(en,Kr,dn);else on=At?1:0,en=mi(en,Kr,dn);return en},this.__bidiEngine__.setOptions=function(en){en&&(Ze=en.isInputVisual,dt=en.isOutputVisual,At=en.isInputRtl,Kt=en.isOutputRtl,$t=en.isSymmetricSwapping)},this.__bidiEngine__.setOptions(je),this.__bidiEngine__};var Le=["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"],Pe=new et.__bidiEngine__({isInputVisual:!0});et.API.events.push(["postProcessText",function(je){var Je=je.text,Ve=(je.x,je.y,je.options||{}),Ze=(je.mutex,Ve.lang,[]);if(Ve.isInputVisual=typeof Ve.isInputVisual!="boolean"||Ve.isInputVisual,Pe.setOptions(Ve),Object.prototype.toString.call(Je)==="[object Array]"){var At=0;for(Ze=[],At=0;At<Je.length;At+=1)Object.prototype.toString.call(Je[At])==="[object Array]"?Ze.push([Pe.doBidiReorder(Je[At][0]),Je[At][1],Je[At][2]]):Ze.push([Pe.doBidiReorder(Je[At])]);je.text=Ze}else je.text=Pe.doBidiReorder(Je);Pe.setOptions({isInputVisual:!0})}])}(K),K.API.TTFFont=function(){function et(Le){var Pe;if(this.rawData=Le,Pe=this.contents=new Qt(Le),this.contents.pos=4,Pe.readString(4)==="ttcf")throw new Error("TTCF not supported.");Pe.pos=0,this.parse(),this.subset=new bi(this),this.registerTTF()}return et.open=function(Le){return new et(Le)},et.prototype.parse=function(){return this.directory=new Ot(this.contents),this.head=new Rr(this),this.name=new Gr(this),this.cmap=new an(this),this.toUnicode={},this.hhea=new Xt(this),this.maxp=new Tn(this),this.hmtx=new gn(this),this.post=new Tr(this),this.os2=new hr(this),this.loca=new pi(this),this.glyf=new Fn(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]},et.prototype.registerTTF=function(){var Le,Pe,je,Je,Ve;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Ze,At,dt,Kt;for(Kt=[],Ze=0,At=(dt=this.bbox).length;Ze<At;Ze++)Le=dt[Ze],Kt.push(Math.round(Le*this.scaleFactor));return Kt}.call(this),this.stemV=0,this.post.exists?(je=255&(Je=this.post.italic_angle),(32768&(Pe=Je>>16))!=0&&(Pe=-(1+(65535^Pe))),this.italicAngle=+(Pe+"."+je)):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=(Ve=this.familyClass)===1||Ve===2||Ve===3||Ve===4||Ve===5||Ve===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")},et.prototype.characterToGlyph=function(Le){var Pe;return((Pe=this.cmap.unicode)!=null?Pe.codeMap[Le]:void 0)||0},et.prototype.widthOfGlyph=function(Le){var Pe;return Pe=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Le).advance*Pe},et.prototype.widthOfString=function(Le,Pe,je){var Je,Ve,Ze,At;for(Ze=0,Ve=0,At=(Le=""+Le).length;0<=At?Ve<At:Ve>At;Ve=0<=At?++Ve:--Ve)Je=Le.charCodeAt(Ve),Ze+=this.widthOfGlyph(this.characterToGlyph(Je))+je*(1e3/Pe)||0;return Ze*(Pe/1e3)},et.prototype.lineHeight=function(Le,Pe){var je;return Pe==null&&(Pe=!1),je=Pe?this.lineGap:0,(this.ascender+je-this.decender)/1e3*Le},et}();var $r,Qt=function(){function et(Le){this.data=Le!=null?Le:[],this.pos=0,this.length=this.data.length}return et.prototype.readByte=function(){return this.data[this.pos++]},et.prototype.writeByte=function(Le){return this.data[this.pos++]=Le},et.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},et.prototype.writeUInt32=function(Le){return this.writeByte(Le>>>24&255),this.writeByte(Le>>16&255),this.writeByte(Le>>8&255),this.writeByte(255&Le)},et.prototype.readInt32=function(){var Le;return(Le=this.readUInt32())>=2147483648?Le-4294967296:Le},et.prototype.writeInt32=function(Le){return Le<0&&(Le+=4294967296),this.writeUInt32(Le)},et.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},et.prototype.writeUInt16=function(Le){return this.writeByte(Le>>8&255),this.writeByte(255&Le)},et.prototype.readInt16=function(){var Le;return(Le=this.readUInt16())>=32768?Le-65536:Le},et.prototype.writeInt16=function(Le){return Le<0&&(Le+=65536),this.writeUInt16(Le)},et.prototype.readString=function(Le){var Pe,je;for(je=[],Pe=0;0<=Le?Pe<Le:Pe>Le;Pe=0<=Le?++Pe:--Pe)je[Pe]=String.fromCharCode(this.readByte());return je.join("")},et.prototype.writeString=function(Le){var Pe,je,Je;for(Je=[],Pe=0,je=Le.length;0<=je?Pe<je:Pe>je;Pe=0<=je?++Pe:--Pe)Je.push(this.writeByte(Le.charCodeAt(Pe)));return Je},et.prototype.readShort=function(){return this.readInt16()},et.prototype.writeShort=function(Le){return this.writeInt16(Le)},et.prototype.readLongLong=function(){var Le,Pe,je,Je,Ve,Ze,At,dt;return Le=this.readByte(),Pe=this.readByte(),je=this.readByte(),Je=this.readByte(),Ve=this.readByte(),Ze=this.readByte(),At=this.readByte(),dt=this.readByte(),128&Le?-1*(72057594037927940*(255^Le)+281474976710656*(255^Pe)+1099511627776*(255^je)+4294967296*(255^Je)+16777216*(255^Ve)+65536*(255^Ze)+256*(255^At)+(255^dt)+1):72057594037927940*Le+281474976710656*Pe+1099511627776*je+4294967296*Je+16777216*Ve+65536*Ze+256*At+dt},et.prototype.writeLongLong=function(Le){var Pe,je;return Pe=Math.floor(Le/4294967296),je=4294967295&Le,this.writeByte(Pe>>24&255),this.writeByte(Pe>>16&255),this.writeByte(Pe>>8&255),this.writeByte(255&Pe),this.writeByte(je>>24&255),this.writeByte(je>>16&255),this.writeByte(je>>8&255),this.writeByte(255&je)},et.prototype.readInt=function(){return this.readInt32()},et.prototype.writeInt=function(Le){return this.writeInt32(Le)},et.prototype.read=function(Le){var Pe,je;for(Pe=[],je=0;0<=Le?je<Le:je>Le;je=0<=Le?++je:--je)Pe.push(this.readByte());return Pe},et.prototype.write=function(Le){var Pe,je,Je,Ve;for(Ve=[],je=0,Je=Le.length;je<Je;je++)Pe=Le[je],Ve.push(this.writeByte(Pe));return Ve},et}(),Ot=function(){var et;function Le(Pe){var je,Je,Ve;for(this.scalarType=Pe.readInt(),this.tableCount=Pe.readShort(),this.searchRange=Pe.readShort(),this.entrySelector=Pe.readShort(),this.rangeShift=Pe.readShort(),this.tables={},Je=0,Ve=this.tableCount;0<=Ve?Je<Ve:Je>Ve;Je=0<=Ve?++Je:--Je)je={tag:Pe.readString(4),checksum:Pe.readInt(),offset:Pe.readInt(),length:Pe.readInt()},this.tables[je.tag]=je}return Le.prototype.encode=function(Pe){var je,Je,Ve,Ze,At,dt,Kt,$t,er,cr,Ct,Nr,Zt;for(Zt in Ct=Object.keys(Pe).length,dt=Math.log(2),er=16*Math.floor(Math.log(Ct)/dt),Ze=Math.floor(er/dt),$t=16*Ct-er,(Je=new Qt).writeInt(this.scalarType),Je.writeShort(Ct),Je.writeShort(er),Je.writeShort(Ze),Je.writeShort($t),Ve=16*Ct,Kt=Je.pos+Ve,At=null,Nr=[],Pe)for(cr=Pe[Zt],Je.writeString(Zt),Je.writeInt(et(cr)),Je.writeInt(Kt),Je.writeInt(cr.length),Nr=Nr.concat(cr),Zt==="head"&&(At=Kt),Kt+=cr.length;Kt%4;)Nr.push(0),Kt++;return Je.write(Nr),je=2981146554-et(Je.data),Je.pos=At+8,Je.writeUInt32(je),Je.data},et=function(je){var Je,Ve,Ze,At;for(je=In.call(je);je.length%4;)je.push(0);for(Ze=new Qt(je),Ve=0,Je=0,At=je.length;Je<At;Je=Je+=4)Ve+=Ze.readUInt32();return 4294967295&Ve},Le}(),Ft={}.hasOwnProperty,pr=function(Le,Pe){for(var je in Pe)Ft.call(Pe,je)&&(Le[je]=Pe[je]);function Je(){this.constructor=Le}return Je.prototype=Pe.prototype,Le.prototype=new Je,Le.__super__=Pe.prototype,Le};$r=function(){function et(Le){var Pe;this.file=Le,Pe=this.file.directory.tables[this.tag],this.exists=!!Pe,Pe&&(this.offset=Pe.offset,this.length=Pe.length,this.parse(this.file.contents))}return et.prototype.parse=function(){},et.prototype.encode=function(){},et.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},et}();var Rr=function(et){function Le(){return Le.__super__.constructor.apply(this,arguments)}return pr(Le,$r),Le.prototype.tag="head",Le.prototype.parse=function(Pe){return Pe.pos=this.offset,this.version=Pe.readInt(),this.revision=Pe.readInt(),this.checkSumAdjustment=Pe.readInt(),this.magicNumber=Pe.readInt(),this.flags=Pe.readShort(),this.unitsPerEm=Pe.readShort(),this.created=Pe.readLongLong(),this.modified=Pe.readLongLong(),this.xMin=Pe.readShort(),this.yMin=Pe.readShort(),this.xMax=Pe.readShort(),this.yMax=Pe.readShort(),this.macStyle=Pe.readShort(),this.lowestRecPPEM=Pe.readShort(),this.fontDirectionHint=Pe.readShort(),this.indexToLocFormat=Pe.readShort(),this.glyphDataFormat=Pe.readShort()},Le.prototype.encode=function(Pe){var je;return(je=new Qt).writeInt(this.version),je.writeInt(this.revision),je.writeInt(this.checkSumAdjustment),je.writeInt(this.magicNumber),je.writeShort(this.flags),je.writeShort(this.unitsPerEm),je.writeLongLong(this.created),je.writeLongLong(this.modified),je.writeShort(this.xMin),je.writeShort(this.yMin),je.writeShort(this.xMax),je.writeShort(this.yMax),je.writeShort(this.macStyle),je.writeShort(this.lowestRecPPEM),je.writeShort(this.fontDirectionHint),je.writeShort(Pe),je.writeShort(this.glyphDataFormat),je.data},Le}(),Pr=function(){function et(Le,Pe){var je,Je,Ve,Ze,At,dt,Kt,$t,er,cr,Ct,Nr,Zt,Ir,xr,ur,on;switch(this.platformID=Le.readUInt16(),this.encodingID=Le.readShort(),this.offset=Pe+Le.readInt(),er=Le.pos,Le.pos=this.offset,this.format=Le.readUInt16(),this.length=Le.readUInt16(),this.language=Le.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(dt=0;dt<256;++dt)this.codeMap[dt]=Le.readByte();break;case 4:for(Ct=Le.readUInt16(),cr=Ct/2,Le.pos+=6,Ve=function(){var Yn,Vn;for(Vn=[],dt=Yn=0;0<=cr?Yn<cr:Yn>cr;dt=0<=cr?++Yn:--Yn)Vn.push(Le.readUInt16());return Vn}(),Le.pos+=2,Zt=function(){var Yn,Vn;for(Vn=[],dt=Yn=0;0<=cr?Yn<cr:Yn>cr;dt=0<=cr?++Yn:--Yn)Vn.push(Le.readUInt16());return Vn}(),Kt=function(){var Yn,Vn;for(Vn=[],dt=Yn=0;0<=cr?Yn<cr:Yn>cr;dt=0<=cr?++Yn:--Yn)Vn.push(Le.readUInt16());return Vn}(),$t=function(){var Yn,Vn;for(Vn=[],dt=Yn=0;0<=cr?Yn<cr:Yn>cr;dt=0<=cr?++Yn:--Yn)Vn.push(Le.readUInt16());return Vn}(),Je=(this.length-Le.pos+this.offset)/2,At=function(){var Yn,Vn;for(Vn=[],dt=Yn=0;0<=Je?Yn<Je:Yn>Je;dt=0<=Je?++Yn:--Yn)Vn.push(Le.readUInt16());return Vn}(),dt=xr=0,on=Ve.length;xr<on;dt=++xr)for(Ir=Ve[dt],je=ur=Nr=Zt[dt];Nr<=Ir?ur<=Ir:ur>=Ir;je=Nr<=Ir?++ur:--ur)$t[dt]===0?Ze=je+Kt[dt]:(Ze=At[$t[dt]/2+(je-Nr)-(cr-dt)]||0)!==0&&(Ze+=Kt[dt]),this.codeMap[je]=65535&Ze}Le.pos=er}return et.encode=function(Le,Pe){var je,Je,Ve,Ze,At,dt,Kt,$t,er,cr,Ct,Nr,Zt,Ir,xr,ur,on,Yn,Vn,Wn,jn,Gn,Nn,mi,en,Kr,dn,Vr,ni,Hn,Kn,bn,wi,si,Oi,qr,Sr,sn,yn,On,Pn,ti,ai,qn,xi,Pi;switch(Vr=new Qt,Ze=Object.keys(Le).sort(function(ki,ja){return ki-ja}),Pe){case"macroman":for(Zt=0,Ir=function(){var ki=[];for(Nr=0;Nr<256;++Nr)ki.push(0);return ki}(),ur={0:0},Ve={},ni=0,wi=Ze.length;ni<wi;ni++)ur[ai=Le[Je=Ze[ni]]]==null&&(ur[ai]=++Zt),Ve[Je]={old:Le[Je],new:ur[Le[Je]]},Ir[Je]=ur[Le[Je]];return Vr.writeUInt16(1),Vr.writeUInt16(0),Vr.writeUInt32(12),Vr.writeUInt16(0),Vr.writeUInt16(262),Vr.writeUInt16(0),Vr.write(Ir),{charMap:Ve,subtable:Vr.data,maxGlyphID:Zt+1};case"unicode":for(Kr=[],er=[],on=0,ur={},je={},xr=Kt=null,Hn=0,si=Ze.length;Hn<si;Hn++)ur[Vn=Le[Je=Ze[Hn]]]==null&&(ur[Vn]=++on),je[Je]={old:Vn,new:ur[Vn]},At=ur[Vn]-Je,xr!=null&&At===Kt||(xr&&er.push(xr),Kr.push(Je),Kt=At),xr=Je;for(xr&&er.push(xr),er.push(65535),Kr.push(65535),mi=2*(Nn=Kr.length),Gn=2*Math.pow(Math.log(Nn)/Math.LN2,2),cr=Math.log(Gn/2)/Math.LN2,jn=2*Nn-Gn,dt=[],Wn=[],Ct=[],Nr=Kn=0,Oi=Kr.length;Kn<Oi;Nr=++Kn){if(en=Kr[Nr],$t=er[Nr],en===65535){dt.push(0),Wn.push(0);break}if(en-(dn=je[en].new)>=32768)for(dt.push(0),Wn.push(2*(Ct.length+Nn-Nr)),Je=bn=en;en<=$t?bn<=$t:bn>=$t;Je=en<=$t?++bn:--bn)Ct.push(je[Je].new);else dt.push(dn-en),Wn.push(0)}for(Vr.writeUInt16(3),Vr.writeUInt16(1),Vr.writeUInt32(12),Vr.writeUInt16(4),Vr.writeUInt16(16+8*Nn+2*Ct.length),Vr.writeUInt16(0),Vr.writeUInt16(mi),Vr.writeUInt16(Gn),Vr.writeUInt16(cr),Vr.writeUInt16(jn),Pn=0,qr=er.length;Pn<qr;Pn++)Je=er[Pn],Vr.writeUInt16(Je);for(Vr.writeUInt16(0),ti=0,Sr=Kr.length;ti<Sr;ti++)Je=Kr[ti],Vr.writeUInt16(Je);for(qn=0,sn=dt.length;qn<sn;qn++)At=dt[qn],Vr.writeUInt16(At);for(xi=0,yn=Wn.length;xi<yn;xi++)Yn=Wn[xi],Vr.writeUInt16(Yn);for(Pi=0,On=Ct.length;Pi<On;Pi++)Zt=Ct[Pi],Vr.writeUInt16(Zt);return{charMap:je,subtable:Vr.data,maxGlyphID:on+1}}},et}(),an=function(et){function Le(){return Le.__super__.constructor.apply(this,arguments)}return pr(Le,$r),Le.prototype.tag="cmap",Le.prototype.parse=function(Pe){var je,Je,Ve;for(Pe.pos=this.offset,this.version=Pe.readUInt16(),Ve=Pe.readUInt16(),this.tables=[],this.unicode=null,Je=0;0<=Ve?Je<Ve:Je>Ve;Je=0<=Ve?++Je:--Je)je=new Pr(Pe,this.offset),this.tables.push(je),je.isUnicode&&this.unicode==null&&(this.unicode=je);return!0},Le.encode=function(Pe,je){var Je,Ve;return je==null&&(je="macroman"),Je=Pr.encode(Pe,je),(Ve=new Qt).writeUInt16(0),Ve.writeUInt16(1),Je.table=Ve.data.concat(Je.subtable),Je},Le}(),Xt=function(et){function Le(){return Le.__super__.constructor.apply(this,arguments)}return pr(Le,$r),Le.prototype.tag="hhea",Le.prototype.parse=function(Pe){return Pe.pos=this.offset,this.version=Pe.readInt(),this.ascender=Pe.readShort(),this.decender=Pe.readShort(),this.lineGap=Pe.readShort(),this.advanceWidthMax=Pe.readShort(),this.minLeftSideBearing=Pe.readShort(),this.minRightSideBearing=Pe.readShort(),this.xMaxExtent=Pe.readShort(),this.caretSlopeRise=Pe.readShort(),this.caretSlopeRun=Pe.readShort(),this.caretOffset=Pe.readShort(),Pe.pos+=8,this.metricDataFormat=Pe.readShort(),this.numberOfMetrics=Pe.readUInt16()},Le}(),hr=function(et){function Le(){return Le.__super__.constructor.apply(this,arguments)}return pr(Le,$r),Le.prototype.tag="OS/2",Le.prototype.parse=function(Pe){if(Pe.pos=this.offset,this.version=Pe.readUInt16(),this.averageCharWidth=Pe.readShort(),this.weightClass=Pe.readUInt16(),this.widthClass=Pe.readUInt16(),this.type=Pe.readShort(),this.ySubscriptXSize=Pe.readShort(),this.ySubscriptYSize=Pe.readShort(),this.ySubscriptXOffset=Pe.readShort(),this.ySubscriptYOffset=Pe.readShort(),this.ySuperscriptXSize=Pe.readShort(),this.ySuperscriptYSize=Pe.readShort(),this.ySuperscriptXOffset=Pe.readShort(),this.ySuperscriptYOffset=Pe.readShort(),this.yStrikeoutSize=Pe.readShort(),this.yStrikeoutPosition=Pe.readShort(),this.familyClass=Pe.readShort(),this.panose=function(){var je,Je;for(Je=[],je=0;je<10;++je)Je.push(Pe.readByte());return Je}(),this.charRange=function(){var je,Je;for(Je=[],je=0;je<4;++je)Je.push(Pe.readInt());return Je}(),this.vendorID=Pe.readString(4),this.selection=Pe.readShort(),this.firstCharIndex=Pe.readShort(),this.lastCharIndex=Pe.readShort(),this.version>0&&(this.ascent=Pe.readShort(),this.descent=Pe.readShort(),this.lineGap=Pe.readShort(),this.winAscent=Pe.readShort(),this.winDescent=Pe.readShort(),this.codePageRange=function(){var je,Je;for(Je=[],je=0;je<2;je=++je)Je.push(Pe.readInt());return Je}(),this.version>1))return this.xHeight=Pe.readShort(),this.capHeight=Pe.readShort(),this.defaultChar=Pe.readShort(),this.breakChar=Pe.readShort(),this.maxContext=Pe.readShort()},Le}(),Tr=function(et){function Le(){return Le.__super__.constructor.apply(this,arguments)}return pr(Le,$r),Le.prototype.tag="post",Le.prototype.parse=function(Pe){var je,Je,Ve;switch(Pe.pos=this.offset,this.format=Pe.readInt(),this.italicAngle=Pe.readInt(),this.underlinePosition=Pe.readShort(),this.underlineThickness=Pe.readShort(),this.isFixedPitch=Pe.readInt(),this.minMemType42=Pe.readInt(),this.maxMemType42=Pe.readInt(),this.minMemType1=Pe.readInt(),this.maxMemType1=Pe.readInt(),this.format){case 65536:break;case 131072:var Ze;for(Je=Pe.readUInt16(),this.glyphNameIndex=[],Ze=0;0<=Je?Ze<Je:Ze>Je;Ze=0<=Je?++Ze:--Ze)this.glyphNameIndex.push(Pe.readUInt16());for(this.names=[],Ve=[];Pe.pos<this.offset+this.length;)je=Pe.readByte(),Ve.push(this.names.push(Pe.readString(je)));return Ve;case 151552:return Je=Pe.readUInt16(),this.offsets=Pe.read(Je);case 196608:break;case 262144:return this.map=function(){var At,dt,Kt;for(Kt=[],Ze=At=0,dt=this.file.maxp.numGlyphs;0<=dt?At<dt:At>dt;Ze=0<=dt?++At:--At)Kt.push(Pe.readUInt32());return Kt}.call(this)}},Le}(),Wr=function(Le,Pe){this.raw=Le,this.length=Le.length,this.platformID=Pe.platformID,this.encodingID=Pe.encodingID,this.languageID=Pe.languageID},Gr=function(et){function Le(){return Le.__super__.constructor.apply(this,arguments)}return pr(Le,$r),Le.prototype.tag="name",Le.prototype.parse=function(Pe){var je,Je,Ve,Ze,At,dt,Kt,$t,er,cr,Ct;for(Pe.pos=this.offset,Pe.readShort(),je=Pe.readShort(),dt=Pe.readShort(),Je=[],Ze=0;0<=je?Ze<je:Ze>je;Ze=0<=je?++Ze:--Ze)Je.push({platformID:Pe.readShort(),encodingID:Pe.readShort(),languageID:Pe.readShort(),nameID:Pe.readShort(),length:Pe.readShort(),offset:this.offset+dt+Pe.readShort()});for(Kt={},Ze=er=0,cr=Je.length;er<cr;Ze=++er)Ve=Je[Ze],Pe.pos=Ve.offset,$t=Pe.readString(Ve.length),At=new Wr($t,Ve),Kt[Ct=Ve.nameID]==null&&(Kt[Ct]=[]),Kt[Ve.nameID].push(At);this.strings=Kt,this.copyright=Kt[0],this.fontFamily=Kt[1],this.fontSubfamily=Kt[2],this.uniqueSubfamily=Kt[3],this.fontName=Kt[4],this.version=Kt[5];try{this.postscriptName=Kt[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(Nr){this.postscriptName=Kt[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Kt[7],this.manufacturer=Kt[8],this.designer=Kt[9],this.description=Kt[10],this.vendorUrl=Kt[11],this.designerUrl=Kt[12],this.license=Kt[13],this.licenseUrl=Kt[14],this.preferredFamily=Kt[15],this.preferredSubfamily=Kt[17],this.compatibleFull=Kt[18],this.sampleText=Kt[19]},Le}(),Tn=function(et){function Le(){return Le.__super__.constructor.apply(this,arguments)}return pr(Le,$r),Le.prototype.tag="maxp",Le.prototype.parse=function(Pe){return Pe.pos=this.offset,this.version=Pe.readInt(),this.numGlyphs=Pe.readUInt16(),this.maxPoints=Pe.readUInt16(),this.maxContours=Pe.readUInt16(),this.maxCompositePoints=Pe.readUInt16(),this.maxComponentContours=Pe.readUInt16(),this.maxZones=Pe.readUInt16(),this.maxTwilightPoints=Pe.readUInt16(),this.maxStorage=Pe.readUInt16(),this.maxFunctionDefs=Pe.readUInt16(),this.maxInstructionDefs=Pe.readUInt16(),this.maxStackElements=Pe.readUInt16(),this.maxSizeOfInstructions=Pe.readUInt16(),this.maxComponentElements=Pe.readUInt16(),this.maxComponentDepth=Pe.readUInt16()},Le}(),gn=function(et){function Le(){return Le.__super__.constructor.apply(this,arguments)}return pr(Le,$r),Le.prototype.tag="hmtx",Le.prototype.parse=function(Pe){var je,Je,Ve,Ze,At,dt,Kt;for(Pe.pos=this.offset,this.metrics=[],je=0,dt=this.file.hhea.numberOfMetrics;0<=dt?je<dt:je>dt;je=0<=dt?++je:--je)this.metrics.push({advance:Pe.readUInt16(),lsb:Pe.readInt16()});for(Ve=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var $t,er;for(er=[],je=$t=0;0<=Ve?$t<Ve:$t>Ve;je=0<=Ve?++$t:--$t)er.push(Pe.readInt16());return er}(),this.widths=function(){var $t,er,cr,Ct;for(Ct=[],$t=0,er=(cr=this.metrics).length;$t<er;$t++)Ze=cr[$t],Ct.push(Ze.advance);return Ct}.call(this),Je=this.widths[this.widths.length-1],Kt=[],je=At=0;0<=Ve?At<Ve:At>Ve;je=0<=Ve?++At:--At)Kt.push(this.widths.push(Je));return Kt},Le.prototype.forGlyph=function(Pe){return Pe in this.metrics?this.metrics[Pe]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Pe-this.metrics.length]}},Le}(),In=[].slice,Fn=function(et){function Le(){return Le.__super__.constructor.apply(this,arguments)}return pr(Le,$r),Le.prototype.tag="glyf",Le.prototype.parse=function(){return this.cache={}},Le.prototype.glyphFor=function(Pe){var je,Je,Ve,Ze,At,dt,Kt,$t,er,cr;return Pe in this.cache?this.cache[Pe]:(Ze=this.file.loca,je=this.file.contents,Je=Ze.indexOf(Pe),(Ve=Ze.lengthOf(Pe))===0?this.cache[Pe]=null:(je.pos=this.offset+Je,At=(dt=new Qt(je.read(Ve))).readShort(),$t=dt.readShort(),cr=dt.readShort(),Kt=dt.readShort(),er=dt.readShort(),this.cache[Pe]=At===-1?new fi(dt,$t,cr,Kt,er):new Xn(dt,At,$t,cr,Kt,er),this.cache[Pe]))},Le.prototype.encode=function(Pe,je,Je){var Ve,Ze,At,dt,Kt;for(At=[],Ze=[],dt=0,Kt=je.length;dt<Kt;dt++)Ve=Pe[je[dt]],Ze.push(At.length),Ve&&(At=At.concat(Ve.encode(Je)));return Ze.push(At.length),{table:At,offsets:Ze}},Le}(),Xn=function(){function et(Le,Pe,je,Je,Ve,Ze){this.raw=Le,this.numberOfContours=Pe,this.xMin=je,this.yMin=Je,this.xMax=Ve,this.yMax=Ze,this.compound=!1}return et.prototype.encode=function(){return this.raw.data},et}(),fi=function(){function et(Le,Pe,je,Je,Ve){var Ze,At;for(this.raw=Le,this.xMin=Pe,this.yMin=je,this.xMax=Je,this.yMax=Ve,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Ze=this.raw;At=Ze.readShort(),this.glyphOffsets.push(Ze.pos),this.glyphIDs.push(Ze.readUInt16()),32&At;)Ze.pos+=1&At?4:2,128&At?Ze.pos+=8:64&At?Ze.pos+=4:8&At&&(Ze.pos+=2)}return et.prototype.encode=function(){var Le,Pe,je;for(Pe=new Qt(In.call(this.raw.data)),Le=0,je=this.glyphIDs.length;Le<je;++Le)Pe.pos=this.glyphOffsets[Le];return Pe.data},et}(),pi=function(et){function Le(){return Le.__super__.constructor.apply(this,arguments)}return pr(Le,$r),Le.prototype.tag="loca",Le.prototype.parse=function(Pe){var je,Je;return Pe.pos=this.offset,je=this.file.head.indexToLocFormat,this.offsets=je===0?function(){var Ve,Ze;for(Ze=[],Je=0,Ve=this.length;Je<Ve;Je+=2)Ze.push(2*Pe.readUInt16());return Ze}.call(this):function(){var Ve,Ze;for(Ze=[],Je=0,Ve=this.length;Je<Ve;Je+=4)Ze.push(Pe.readUInt32());return Ze}.call(this)},Le.prototype.indexOf=function(Pe){return this.offsets[Pe]},Le.prototype.lengthOf=function(Pe){return this.offsets[Pe+1]-this.offsets[Pe]},Le.prototype.encode=function(Pe,je){for(var Je=new Uint32Array(this.offsets.length),Ve=0,Ze=0,At=0;At<Je.length;++At)if(Je[At]=Ve,Ze<je.length&&je[Ze]==At){++Ze,Je[At]=Ve;var dt=this.offsets[At],Kt=this.offsets[At+1]-dt;Kt>0&&(Ve+=Kt)}for(var $t=new Array(4*Je.length),er=0;er<Je.length;++er)$t[4*er+3]=255&Je[er],$t[4*er+2]=(65280&Je[er])>>8,$t[4*er+1]=(16711680&Je[er])>>16,$t[4*er]=(4278190080&Je[er])>>24;return $t},Le}(),bi=function(){function et(Le){this.font=Le,this.subset={},this.unicodes={},this.next=33}return et.prototype.generateCmap=function(){var Le,Pe,je,Je,Ve;for(Pe in Je=this.font.cmap.tables[0].codeMap,Le={},Ve=this.subset)je=Ve[Pe],Le[Pe]=Je[je];return Le},et.prototype.glyphsFor=function(Le){var Pe,je,Je,Ve,Ze,At,dt;for(Je={},Ze=0,At=Le.length;Ze<At;Ze++)Je[Ve=Le[Ze]]=this.font.glyf.glyphFor(Ve);for(Ve in Pe=[],Je)((je=Je[Ve])!=null?je.compound:void 0)&&Pe.push.apply(Pe,je.glyphIDs);if(Pe.length>0)for(Ve in dt=this.glyphsFor(Pe))je=dt[Ve],Je[Ve]=je;return Je},et.prototype.encode=function(Le,Pe){var je,Je,Ve,Ze,At,dt,Kt,$t,er,cr,Ct,Nr,Zt,Ir,xr;for(Je in je=an.encode(this.generateCmap(),"unicode"),Ze=this.glyphsFor(Le),Ct={0:0},xr=je.charMap)Ct[(dt=xr[Je]).old]=dt.new;for(Nr in cr=je.maxGlyphID,Ze)Nr in Ct||(Ct[Nr]=cr++);return $t=function(ur){var on,Yn;for(on in Yn={},ur)Yn[ur[on]]=on;return Yn}(Ct),er=Object.keys($t).sort(function(ur,on){return ur-on}),Zt=function(){var ur,on,Yn;for(Yn=[],ur=0,on=er.length;ur<on;ur++)At=er[ur],Yn.push($t[At]);return Yn}(),Ve=this.font.glyf.encode(Ze,Zt,Ct),Kt=this.font.loca.encode(Ve.offsets,Zt),Ir={cmap:this.font.cmap.raw(),glyf:Ve.table,loca:Kt,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(Pe)},this.font.os2.exists&&(Ir["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Ir)},et}();K.API.PDFObject=function(){var et;function Le(){}return et=function(je,Je){return(Array(Je+1).join("0")+je).slice(-Je)},Le.convert=function(Pe){var je,Je,Ve,Ze;if(Array.isArray(Pe))return"["+function(){var At,dt,Kt;for(Kt=[],At=0,dt=Pe.length;At<dt;At++)je=Pe[At],Kt.push(Le.convert(je));return Kt}().join(" ")+"]";if(typeof Pe=="string")return"/"+Pe;if(Pe!=null?Pe.isString:void 0)return"("+Pe+")";if(Pe instanceof Date)return"(D:"+et(Pe.getUTCFullYear(),4)+et(Pe.getUTCMonth(),2)+et(Pe.getUTCDate(),2)+et(Pe.getUTCHours(),2)+et(Pe.getUTCMinutes(),2)+et(Pe.getUTCSeconds(),2)+"Z)";if({}.toString.call(Pe)==="[object Object]"){for(Je in Ve=["<<"],Pe)Ze=Pe[Je],Ve.push("/"+Je+" "+Le.convert(Ze));return Ve.push(">>"),Ve.join(`
`)}return""+Pe},Le}(),B.default=K}.call(this,d("IyRk"))},eIcI:function(k,B,d){var w=d("bYtY"),A=d("hM6l");function b(v,f,l){A.call(this,v,f,l),this.type="value",this.angle=0,this.name="",this.model}w.inherits(b,A);var g=b;k.exports=g},eJH7:function(k,B,d){var w=d("bYtY");function A(b){var g=b.polar;if(g){w.isArray(g)||(g=[g]);var v=[];w.each(g,function(f,l){f.indicator?(f.type&&!f.shape&&(f.shape=f.type),b.radar=b.radar||[],w.isArray(b.radar)||(b.radar=[b.radar]),b.radar.push(f)):v.push(f)}),b.polar=v}w.each(b.series,function(f){f&&f.type==="radar"&&f.polarIndex&&(f.radarIndex=f.polarIndex)})}k.exports=A},eP3c:function(k,B,d){"use strict";function w(Qe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(Q){return typeof Q}:w=function(Q){return Q&&typeof Symbol=="function"&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q},w(Qe)}Object.defineProperty(B,"__esModule",{value:!0}),B.inflateReset=$,B.inflateReset2=we,B.inflateResetKeep=me,B.inflateInit=We,B.inflateInit2=xe,B.inflate=vt,B.inflateEnd=It,B.inflateGetHeader=Ut,B.inflateSetDictionary=xt,B.inflateInfo=B.Z_DEFLATED=B.Z_BUF_ERROR=B.Z_MEM_ERROR=B.Z_DATA_ERROR=B.Z_STREAM_ERROR=B.Z_NEED_DICT=B.Z_STREAM_END=B.Z_OK=B.Z_TREES=B.Z_BLOCK=B.Z_FINISH=void 0;var A=o(d("6BzB")),b=l(d("xlC8")),g=l(d("QV2g")),v=l(d("sjKO")),f=l(d("JSwD"));function l(Qe){return Qe&&Qe.__esModule?Qe:{default:Qe}}function u(){if(typeof WeakMap!="function")return null;var Qe=new WeakMap;return u=function(){return Qe},Qe}function o(Qe){if(Qe&&Qe.__esModule)return Qe;if(Qe===null||w(Qe)!=="object"&&typeof Qe!="function")return{default:Qe};var te=u();if(te&&te.has(Qe))return te.get(Qe);var Q={},Me=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ce in Qe)if(Object.prototype.hasOwnProperty.call(Qe,Ce)){var ue=Me?Object.getOwnPropertyDescriptor(Qe,Ce):null;ue&&(ue.get||ue.set)?Object.defineProperty(Q,Ce,ue):Q[Ce]=Qe[Ce]}return Q.default=Qe,te&&te.set(Qe,Q),Q}var e=0,n=1,i=2,r=4;B.Z_FINISH=r;var s=5;B.Z_BLOCK=s;var t=6;B.Z_TREES=t;var a=0;B.Z_OK=a;var c=1;B.Z_STREAM_END=c;var h=2;B.Z_NEED_DICT=h;var p=-2;B.Z_STREAM_ERROR=p;var m=-3;B.Z_DATA_ERROR=m;var S=-4;B.Z_MEM_ERROR=S;var y=-5;B.Z_BUF_ERROR=y;var x=8;B.Z_DEFLATED=x;var C=1,T=2,_=3,E=4,I=5,L=6,D=7,F=8,N=9,P=10,W=11,R=12,j=13,H=14,K=15,U=16,G=17,z=18,Y=19,q=20,oe=21,ie=22,se=23,he=24,pe=25,_e=26,De=27,Xe=28,J=29,Ee=30,qe=31,ae=32,V=852,X=592,Z=15,ge=Z;function le(Qe){return(Qe>>>24&255)+(Qe>>>8&65280)+((Qe&65280)<<8)+((Qe&255)<<24)}function Se(){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 A.Buf16(320),this.work=new A.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function me(Qe){var te;return!Qe||!Qe.state?p:(te=Qe.state,Qe.total_in=Qe.total_out=te.total=0,Qe.msg="",te.wrap&&(Qe.adler=te.wrap&1),te.mode=C,te.last=0,te.havedict=0,te.dmax=32768,te.head=null,te.hold=0,te.bits=0,te.lencode=te.lendyn=new A.Buf32(V),te.distcode=te.distdyn=new A.Buf32(X),te.sane=1,te.back=-1,a)}function $(Qe){var te;return!Qe||!Qe.state?p:(te=Qe.state,te.wsize=0,te.whave=0,te.wnext=0,me(Qe))}function we(Qe,te){var Q,Me;return!Qe||!Qe.state?p:(Me=Qe.state,te<0?(Q=0,te=-te):(Q=(te>>4)+1,te<48&&(te&=15)),te&&(te<8||te>15)?p:(Me.window!==null&&Me.wbits!==te&&(Me.window=null),Me.wrap=Q,Me.wbits=te,$(Qe)))}function xe(Qe,te){var Q,Me;return Qe?(Me=new Se,Qe.state=Me,Me.window=null,Q=we(Qe,te),Q!==a&&(Qe.state=null),Q):p}function We(Qe){return xe(Qe,ge)}var st=!0,nt,Ne;function St(Qe){if(st){var te;for(nt=new A.Buf32(512),Ne=new A.Buf32(32),te=0;te<144;)Qe.lens[te++]=8;for(;te<256;)Qe.lens[te++]=9;for(;te<280;)Qe.lens[te++]=7;for(;te<288;)Qe.lens[te++]=8;for((0,f.default)(n,Qe.lens,0,288,nt,0,Qe.work,{bits:9}),te=0;te<32;)Qe.lens[te++]=5;(0,f.default)(i,Qe.lens,0,32,Ne,0,Qe.work,{bits:5}),st=!1}Qe.lencode=nt,Qe.lenbits=9,Qe.distcode=Ne,Qe.distbits=5}function Ye(Qe,te,Q,Me){var Ce,ue=Qe.state;return ue.window===null&&(ue.wsize=1<<ue.wbits,ue.wnext=0,ue.whave=0,ue.window=new A.Buf8(ue.wsize)),Me>=ue.wsize?(A.arraySet(ue.window,te,Q-ue.wsize,ue.wsize,0),ue.wnext=0,ue.whave=ue.wsize):(Ce=ue.wsize-ue.wnext,Ce>Me&&(Ce=Me),A.arraySet(ue.window,te,Q-Me,Ce,ue.wnext),Me-=Ce,Me?(A.arraySet(ue.window,te,Q-Me,Me,0),ue.wnext=Me,ue.whave=ue.wsize):(ue.wnext+=Ce,ue.wnext===ue.wsize&&(ue.wnext=0),ue.whave<ue.wsize&&(ue.whave+=Ce))),0}function vt(Qe,te){var Q,Me,Ce,ue,ot,rt,Ue,Ge,tt,Wt,jt,Yt,Tt,Rt,yt=0,Jt,Lr,zr,rn,ei,fn,Zr,bt,ut=new A.Buf8(4),Oe,be,Fe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Qe||!Qe.state||!Qe.output||!Qe.input&&Qe.avail_in!==0)return p;Q=Qe.state,Q.mode===R&&(Q.mode=j),ot=Qe.next_out,Ce=Qe.output,Ue=Qe.avail_out,ue=Qe.next_in,Me=Qe.input,rt=Qe.avail_in,Ge=Q.hold,tt=Q.bits,Wt=rt,jt=Ue,bt=a;e:for(;;)switch(Q.mode){case C:if(Q.wrap===0){Q.mode=j;break}for(;tt<16;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}if(Q.wrap&2&&Ge===35615){Q.check=0,ut[0]=Ge&255,ut[1]=Ge>>>8&255,Q.check=(0,g.default)(Q.check,ut,2,0),Ge=0,tt=0,Q.mode=T;break}if(Q.flags=0,Q.head&&(Q.head.done=!1),!(Q.wrap&1)||(((Ge&255)<<8)+(Ge>>8))%31){Qe.msg="incorrect header check",Q.mode=Ee;break}if((Ge&15)!==x){Qe.msg="unknown compression method",Q.mode=Ee;break}if(Ge>>>=4,tt-=4,Zr=(Ge&15)+8,Q.wbits===0)Q.wbits=Zr;else if(Zr>Q.wbits){Qe.msg="invalid window size",Q.mode=Ee;break}Q.dmax=1<<Zr,Qe.adler=Q.check=1,Q.mode=Ge&512?P:R,Ge=0,tt=0;break;case T:for(;tt<16;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}if(Q.flags=Ge,(Q.flags&255)!==x){Qe.msg="unknown compression method",Q.mode=Ee;break}if(Q.flags&57344){Qe.msg="unknown header flags set",Q.mode=Ee;break}Q.head&&(Q.head.text=Ge>>8&1),Q.flags&512&&(ut[0]=Ge&255,ut[1]=Ge>>>8&255,Q.check=(0,g.default)(Q.check,ut,2,0)),Ge=0,tt=0,Q.mode=_;case _:for(;tt<32;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Q.head&&(Q.head.time=Ge),Q.flags&512&&(ut[0]=Ge&255,ut[1]=Ge>>>8&255,ut[2]=Ge>>>16&255,ut[3]=Ge>>>24&255,Q.check=(0,g.default)(Q.check,ut,4,0)),Ge=0,tt=0,Q.mode=E;case E:for(;tt<16;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Q.head&&(Q.head.xflags=Ge&255,Q.head.os=Ge>>8),Q.flags&512&&(ut[0]=Ge&255,ut[1]=Ge>>>8&255,Q.check=(0,g.default)(Q.check,ut,2,0)),Ge=0,tt=0,Q.mode=I;case I:if(Q.flags&1024){for(;tt<16;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Q.length=Ge,Q.head&&(Q.head.extra_len=Ge),Q.flags&512&&(ut[0]=Ge&255,ut[1]=Ge>>>8&255,Q.check=(0,g.default)(Q.check,ut,2,0)),Ge=0,tt=0}else Q.head&&(Q.head.extra=null);Q.mode=L;case L:if(Q.flags&1024&&(Yt=Q.length,Yt>rt&&(Yt=rt),Yt&&(Q.head&&(Zr=Q.head.extra_len-Q.length,Q.head.extra||(Q.head.extra=new Array(Q.head.extra_len)),A.arraySet(Q.head.extra,Me,ue,Yt,Zr)),Q.flags&512&&(Q.check=(0,g.default)(Q.check,Me,Yt,ue)),rt-=Yt,ue+=Yt,Q.length-=Yt),Q.length))break e;Q.length=0,Q.mode=D;case D:if(Q.flags&2048){if(rt===0)break e;Yt=0;do Zr=Me[ue+Yt++],Q.head&&Zr&&Q.length<65536&&(Q.head.name+=String.fromCharCode(Zr));while(Zr&&Yt<rt);if(Q.flags&512&&(Q.check=(0,g.default)(Q.check,Me,Yt,ue)),rt-=Yt,ue+=Yt,Zr)break e}else Q.head&&(Q.head.name=null);Q.length=0,Q.mode=F;case F:if(Q.flags&4096){if(rt===0)break e;Yt=0;do Zr=Me[ue+Yt++],Q.head&&Zr&&Q.length<65536&&(Q.head.comment+=String.fromCharCode(Zr));while(Zr&&Yt<rt);if(Q.flags&512&&(Q.check=(0,g.default)(Q.check,Me,Yt,ue)),rt-=Yt,ue+=Yt,Zr)break e}else Q.head&&(Q.head.comment=null);Q.mode=N;case N:if(Q.flags&512){for(;tt<16;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}if(Ge!==(Q.check&65535)){Qe.msg="header crc mismatch",Q.mode=Ee;break}Ge=0,tt=0}Q.head&&(Q.head.hcrc=Q.flags>>9&1,Q.head.done=!0),Qe.adler=Q.check=0,Q.mode=R;break;case P:for(;tt<32;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Qe.adler=Q.check=le(Ge),Ge=0,tt=0,Q.mode=W;case W:if(Q.havedict===0)return Qe.next_out=ot,Qe.avail_out=Ue,Qe.next_in=ue,Qe.avail_in=rt,Q.hold=Ge,Q.bits=tt,h;Qe.adler=Q.check=1,Q.mode=R;case R:if(te===s||te===t)break e;case j:if(Q.last){Ge>>>=tt&7,tt-=tt&7,Q.mode=De;break}for(;tt<3;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Q.last=Ge&1,Ge>>>=1,tt-=1;switch(Ge&3){case 0:Q.mode=H;break;case 1:if(St(Q),Q.mode=q,te===t){Ge>>>=2,tt-=2;break e}break;case 2:Q.mode=G;break;case 3:Qe.msg="invalid block type",Q.mode=Ee}Ge>>>=2,tt-=2;break;case H:for(Ge>>>=tt&7,tt-=tt&7;tt<32;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}if((Ge&65535)!==(Ge>>>16^65535)){Qe.msg="invalid stored block lengths",Q.mode=Ee;break}if(Q.length=Ge&65535,Ge=0,tt=0,Q.mode=K,te===t)break e;case K:Q.mode=U;case U:if(Yt=Q.length,Yt){if(Yt>rt&&(Yt=rt),Yt>Ue&&(Yt=Ue),Yt===0)break e;A.arraySet(Ce,Me,ue,Yt,ot),rt-=Yt,ue+=Yt,Ue-=Yt,ot+=Yt,Q.length-=Yt;break}Q.mode=R;break;case G:for(;tt<14;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}if(Q.nlen=(Ge&31)+257,Ge>>>=5,tt-=5,Q.ndist=(Ge&31)+1,Ge>>>=5,tt-=5,Q.ncode=(Ge&15)+4,Ge>>>=4,tt-=4,Q.nlen>286||Q.ndist>30){Qe.msg="too many length or distance symbols",Q.mode=Ee;break}Q.have=0,Q.mode=z;case z:for(;Q.have<Q.ncode;){for(;tt<3;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Q.lens[Fe[Q.have++]]=Ge&7,Ge>>>=3,tt-=3}for(;Q.have<19;)Q.lens[Fe[Q.have++]]=0;if(Q.lencode=Q.lendyn,Q.lenbits=7,Oe={bits:Q.lenbits},bt=(0,f.default)(e,Q.lens,0,19,Q.lencode,0,Q.work,Oe),Q.lenbits=Oe.bits,bt){Qe.msg="invalid code lengths set",Q.mode=Ee;break}Q.have=0,Q.mode=Y;case Y:for(;Q.have<Q.nlen+Q.ndist;){for(;!(yt=Q.lencode[Ge&(1<<Q.lenbits)-1],Jt=yt>>>24,Lr=yt>>>16&255,zr=yt&65535,Jt<=tt);){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}if(zr<16)Ge>>>=Jt,tt-=Jt,Q.lens[Q.have++]=zr;else{if(zr===16){for(be=Jt+2;tt<be;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}if(Ge>>>=Jt,tt-=Jt,Q.have===0){Qe.msg="invalid bit length repeat",Q.mode=Ee;break}Zr=Q.lens[Q.have-1],Yt=3+(Ge&3),Ge>>>=2,tt-=2}else if(zr===17){for(be=Jt+3;tt<be;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Ge>>>=Jt,tt-=Jt,Zr=0,Yt=3+(Ge&7),Ge>>>=3,tt-=3}else{for(be=Jt+7;tt<be;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Ge>>>=Jt,tt-=Jt,Zr=0,Yt=11+(Ge&127),Ge>>>=7,tt-=7}if(Q.have+Yt>Q.nlen+Q.ndist){Qe.msg="invalid bit length repeat",Q.mode=Ee;break}for(;Yt--;)Q.lens[Q.have++]=Zr}}if(Q.mode===Ee)break;if(Q.lens[256]===0){Qe.msg="invalid code -- missing end-of-block",Q.mode=Ee;break}if(Q.lenbits=9,Oe={bits:Q.lenbits},bt=(0,f.default)(n,Q.lens,0,Q.nlen,Q.lencode,0,Q.work,Oe),Q.lenbits=Oe.bits,bt){Qe.msg="invalid literal/lengths set",Q.mode=Ee;break}if(Q.distbits=6,Q.distcode=Q.distdyn,Oe={bits:Q.distbits},bt=(0,f.default)(i,Q.lens,Q.nlen,Q.ndist,Q.distcode,0,Q.work,Oe),Q.distbits=Oe.bits,bt){Qe.msg="invalid distances set",Q.mode=Ee;break}if(Q.mode=q,te===t)break e;case q:Q.mode=oe;case oe:if(rt>=6&&Ue>=258){Qe.next_out=ot,Qe.avail_out=Ue,Qe.next_in=ue,Qe.avail_in=rt,Q.hold=Ge,Q.bits=tt,(0,v.default)(Qe,jt),ot=Qe.next_out,Ce=Qe.output,Ue=Qe.avail_out,ue=Qe.next_in,Me=Qe.input,rt=Qe.avail_in,Ge=Q.hold,tt=Q.bits,Q.mode===R&&(Q.back=-1);break}for(Q.back=0;!(yt=Q.lencode[Ge&(1<<Q.lenbits)-1],Jt=yt>>>24,Lr=yt>>>16&255,zr=yt&65535,Jt<=tt);){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}if(Lr&&(Lr&240)===0){for(rn=Jt,ei=Lr,fn=zr;!(yt=Q.lencode[fn+((Ge&(1<<rn+ei)-1)>>rn)],Jt=yt>>>24,Lr=yt>>>16&255,zr=yt&65535,rn+Jt<=tt);){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Ge>>>=rn,tt-=rn,Q.back+=rn}if(Ge>>>=Jt,tt-=Jt,Q.back+=Jt,Q.length=zr,Lr===0){Q.mode=_e;break}if(Lr&32){Q.back=-1,Q.mode=R;break}if(Lr&64){Qe.msg="invalid literal/length code",Q.mode=Ee;break}Q.extra=Lr&15,Q.mode=ie;case ie:if(Q.extra){for(be=Q.extra;tt<be;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Q.length+=Ge&(1<<Q.extra)-1,Ge>>>=Q.extra,tt-=Q.extra,Q.back+=Q.extra}Q.was=Q.length,Q.mode=se;case se:for(;!(yt=Q.distcode[Ge&(1<<Q.distbits)-1],Jt=yt>>>24,Lr=yt>>>16&255,zr=yt&65535,Jt<=tt);){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}if((Lr&240)===0){for(rn=Jt,ei=Lr,fn=zr;!(yt=Q.distcode[fn+((Ge&(1<<rn+ei)-1)>>rn)],Jt=yt>>>24,Lr=yt>>>16&255,zr=yt&65535,rn+Jt<=tt);){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Ge>>>=rn,tt-=rn,Q.back+=rn}if(Ge>>>=Jt,tt-=Jt,Q.back+=Jt,Lr&64){Qe.msg="invalid distance code",Q.mode=Ee;break}Q.offset=zr,Q.extra=Lr&15,Q.mode=he;case he:if(Q.extra){for(be=Q.extra;tt<be;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}Q.offset+=Ge&(1<<Q.extra)-1,Ge>>>=Q.extra,tt-=Q.extra,Q.back+=Q.extra}if(Q.offset>Q.dmax){Qe.msg="invalid distance too far back",Q.mode=Ee;break}Q.mode=pe;case pe:if(Ue===0)break e;if(Yt=jt-Ue,Q.offset>Yt){if(Yt=Q.offset-Yt,Yt>Q.whave&&Q.sane){Qe.msg="invalid distance too far back",Q.mode=Ee;break}Yt>Q.wnext?(Yt-=Q.wnext,Tt=Q.wsize-Yt):Tt=Q.wnext-Yt,Yt>Q.length&&(Yt=Q.length),Rt=Q.window}else Rt=Ce,Tt=ot-Q.offset,Yt=Q.length;Yt>Ue&&(Yt=Ue),Ue-=Yt,Q.length-=Yt;do Ce[ot++]=Rt[Tt++];while(--Yt);Q.length===0&&(Q.mode=oe);break;case _e:if(Ue===0)break e;Ce[ot++]=Q.length,Ue--,Q.mode=oe;break;case De:if(Q.wrap){for(;tt<32;){if(rt===0)break e;rt--,Ge|=Me[ue++]<<tt,tt+=8}if(jt-=Ue,Qe.total_out+=jt,Q.total+=jt,jt&&(Qe.adler=Q.check=Q.flags?(0,g.default)(Q.check,Ce,jt,ot-jt):(0,b.default)(Q.check,Ce,jt,ot-jt)),jt=Ue,(Q.flags?Ge:le(Ge))!==Q.check){Qe.msg="incorrect data check",Q.mode=Ee;break}Ge=0,tt=0}Q.mode=Xe;case Xe:if(Q.wrap&&Q.flags){for(;tt<32;){if(rt===0)break e;rt--,Ge+=Me[ue++]<<tt,tt+=8}if(Ge!==(Q.total&4294967295)){Qe.msg="incorrect length check",Q.mode=Ee;break}Ge=0,tt=0}Q.mode=J;case J:bt=c;break e;case Ee:bt=m;break e;case qe:return S;case ae:default:return p}return Qe.next_out=ot,Qe.avail_out=Ue,Qe.next_in=ue,Qe.avail_in=rt,Q.hold=Ge,Q.bits=tt,(Q.wsize||jt!==Qe.avail_out&&Q.mode<Ee&&(Q.mode<De||te!==r))&&Ye(Qe,Qe.output,Qe.next_out,jt-Qe.avail_out)?(Q.mode=qe,S):(Wt-=Qe.avail_in,jt-=Qe.avail_out,Qe.total_in+=Wt,Qe.total_out+=jt,Q.total+=jt,Q.wrap&&jt&&(Qe.adler=Q.check=Q.flags?(0,g.default)(Q.check,Ce,jt,Qe.next_out-jt):(0,b.default)(Q.check,Ce,jt,Qe.next_out-jt)),Qe.data_type=Q.bits+(Q.last?64:0)+(Q.mode===R?128:0)+(Q.mode===q||Q.mode===K?256:0),(Wt===0&&jt===0||te===r)&&bt===a&&(bt=y),bt)}function It(Qe){if(!Qe||!Qe.state)return p;var te=Qe.state;return te.window&&(te.window=null),Qe.state=null,a}function Ut(Qe,te){var Q;return!Qe||!Qe.state?p:(Q=Qe.state,(Q.wrap&2)===0?p:(Q.head=te,te.done=!1,a))}function xt(Qe,te){var Q=te.length,Me,Ce,ue;return!Qe||!Qe.state?p:(Me=Qe.state,Me.wrap!==0&&Me.mode!==W?p:Me.mode===W&&(Ce=1,Ce=(0,b.default)(Ce,te,Q,0),Ce!==Me.check)?m:(ue=Ye(Qe,te,Q,Q),ue?(Me.mode=qe,S):(Me.havedict=1,a)))}var Bt="pako inflate (from Nodeca project)";B.inflateInfo=Bt},ePAk:function(k,B,d){var w=d("ProS");d("2fGM");var A=w.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(b){var g,v=this.ecModel;return v.eachComponent(b,function(f){f.getCoordSysModel()===this&&(g=f)},this),g},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});k.exports=A},eRkO:function(k,B,d){var w=d("+TT/"),A=w.getLayoutRect,b=w.box,g=w.positionElement,v=d("7aKB"),f=d("IwbS");function l(o,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),s={width:n.getWidth(),height:n.getHeight()},t=A(i,s,r);b(e.get("orient"),o,e.get("itemGap"),t.width,t.height),g(o,i,s,r)}function u(o,e){var n=v.normalizeCssArray(e.get("padding")),i=e.getItemStyle(["color","opacity"]);i.fill=e.get("backgroundColor");var o=new f.Rect({shape:{x:o.x-n[3],y:o.y-n[0],width:o.width+n[1]+n[3],height:o.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1});return o}B.layout=l,B.makeBackground=u},eS4l:function(k,B,d){d("HM/N"),d("FNN5")},eUgh:function(k,B){function d(w,A){for(var b=-1,g=w==null?0:w.length,v=Array(g);++b<g;)v[b]=A(w[b],b,w);return v}k.exports=d},ewwo:function(k,B,d){var w=d("bMXI"),A=d("+TT/"),b=A.getLayoutRect,g=d("4mN7");function v(l,u,o){var e=l.getBoxLayoutParams();return e.aspect=o,b(e,{width:u.getWidth(),height:u.getHeight()})}function f(l,u){var o=[];return l.eachSeriesByType("graph",function(e){var n=e.get("coordinateSystem");if(!n||n==="view"){var i=e.getData(),r=i.mapArray(function(x){var C=i.getItemModel(x);return[+C.get("x"),+C.get("y")]}),s=[],t=[];g.fromPoints(r,s,t),t[0]-s[0]===0&&(t[0]+=1,s[0]-=1),t[1]-s[1]===0&&(t[1]+=1,s[1]-=1);var a=(t[0]-s[0])/(t[1]-s[1]),c=v(e,u,a);isNaN(a)&&(s=[c.x,c.y],t=[c.x+c.width,c.y+c.height]);var h=t[0]-s[0],p=t[1]-s[1],m=c.width,S=c.height,y=e.coordinateSystem=new w;y.zoomLimit=e.get("scaleLimit"),y.setBoundingRect(s[0],s[1],h,p),y.setViewRect(c.x,c.y,m,S),y.setCenter(e.get("center")),y.setZoom(e.get("zoom")),o.push(y)}}),o}k.exports=f},f1nB:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),g=d("bYtY"),v=d("4NO4"),f=d("IwbS"),l=d("+TT/"),u=d("OELB"),o=u.parsePercent,e={path:null,compoundPath:null,group:f.Group,image:f.Image,text:f.Text};b.registerPreprocessor(function(m){var S=m.graphic;g.isArray(S)?!S[0]||!S[0].elements?m.graphic=[{elements:S}]:m.graphic=[m.graphic[0]]:S&&!S.elements&&(m.graphic=[{elements:[S]}])});var n=b.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(m){var S=this.option.elements;this.option.elements=null,n.superApply(this,"mergeOption",arguments),this.option.elements=S},optionUpdated:function(m,S){var y=this.option,x=(S?y:m).elements,C=y.elements=S?[]:y.elements,T=[];this._flatten(x,T);var _=v.mappingToExists(C,T);v.makeIdAndName(_);var E=this._elOptionsToUpdate=[];g.each(_,function(L,D){var F=L.option;if(!F)return;E.push(F),a(L,F),c(C,D,F),h(C[D],F)},this);for(var I=C.length-1;I>=0;I--)C[I]==null?C.splice(I,1):delete C[I].$action},_flatten:function(m,S,y){g.each(m,function(x){if(!x)return;y&&(x.parentOption=y),S.push(x);var C=x.children;x.type==="group"&&C&&this._flatten(C,S,x),delete x.children},this)},useElOptionsToUpdate:function(){var m=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,m}});b.extendComponentView({type:"graphic",init:function(m,S){this._elMap=g.createHashMap(),this._lastGraphicModel},render:function(m,S,y){m!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=m,this._updateElements(m),this._relocate(m,y)},_updateElements:function(m){var S=m.useElOptionsToUpdate();if(!S)return;var y=this._elMap,x=this.group;g.each(S,function(C){var T=C.$action,_=C.id,E=y.get(_),I=C.parentId,L=I!=null?y.get(I):x,D=C.style;C.type==="text"&&D&&(C.hv&&C.hv[1]&&(D.textVerticalAlign=D.textBaseline=null),!D.hasOwnProperty("textFill")&&D.fill&&(D.textFill=D.fill),!D.hasOwnProperty("textStroke")&&D.stroke&&(D.textStroke=D.stroke));var F=s(C);!T||T==="merge"?E?E.attr(F):i(_,L,F,y):T==="replace"?(r(E,y),i(_,L,F,y)):T==="remove"&&r(E,y);var N=y.get(_);N&&(N.__ecGraphicWidthOption=C.width,N.__ecGraphicHeightOption=C.height,p(N,m,C))})},_relocate:function(m,S){for(var y=m.option.elements,x=this.group,C=this._elMap,T=S.getWidth(),_=S.getHeight(),E=0;E<y.length;E++){var I=y[E],L=C.get(I.id);if(!L||!L.isGroup)continue;var D=L.parent,F=D===x;L.__ecGraphicWidth=o(L.__ecGraphicWidthOption,F?T:D.__ecGraphicWidth)||0,L.__ecGraphicHeight=o(L.__ecGraphicHeightOption,F?_:D.__ecGraphicHeight)||0}for(var E=y.length-1;E>=0;E--){var I=y[E],L=C.get(I.id);if(!L)continue;var D=L.parent,N=D===x?{width:T,height:_}:{width:D.__ecGraphicWidth,height:D.__ecGraphicHeight};l.positionElement(L,I,N,null,{hv:I.hv,boundingMode:I.bounding})}},_clear:function(){var m=this._elMap;m.each(function(S){r(S,m)}),this._elMap=g.createHashMap()},dispose:function(){this._clear()}});function i(m,S,y,x){var C=y.type,T=e.hasOwnProperty(C)?e[C]:f.getShapeClass(C),_=new T(y);S.add(_),x.set(m,_),_.__ecGraphicId=m}function r(m,S){var y=m&&m.parent;y&&(m.type==="group"&&m.traverse(function(x){r(x,S)}),S.removeKey(m.__ecGraphicId),y.remove(m))}function s(m){return m=g.extend({},m),g.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),function(S){delete m[S]}),m}function t(m,S){var y;return g.each(S,function(x){m[x]!=null&&m[x]!=="auto"&&(y=!0)}),y}function a(m,S){var y=m.exist;if(S.id=m.keyInfo.id,!S.type&&y&&(S.type=y.type),S.parentId==null){var x=S.parentOption;x?S.parentId=x.id:y&&(S.parentId=y.parentId)}S.parentOption=null}function c(m,S,y){var x=g.extend({},y),C=m[S],T=y.$action||"merge";T==="merge"?C?(g.merge(C,x,!0),l.mergeLayoutParam(C,x,{ignoreSize:!0}),l.copyLayoutParams(y,C)):m[S]=x:T==="replace"?m[S]=x:T==="remove"&&(C&&(m[S]=null))}function h(m,S){if(!m)return;m.hv=S.hv=[t(S,["left","right"]),t(S,["top","bottom"])],m.type==="group"&&(m.width==null&&(m.width=S.width=0),m.height==null&&(m.height=S.height=0))}function p(m,S,y){var x=m.eventData;!m.silent&&!m.ignore&&!x&&(x=m.eventData={componentType:"graphic",componentIndex:S.componentIndex,name:m.name}),x&&(x.info=m.info)}},f3JH:function(k,B,d){d("aTJb"),d("OlYY"),d("fc+c"),d("oY9F"),d("MqEG"),d("LBfv"),d("noeP")},f5HG:function(k,B,d){var w=d("IwbS"),A=d("QBsz"),b=w.Line.prototype,g=w.BezierCurve.prototype;function v(l){return isNaN(+l.cpx1)||isNaN(+l.cpy1)}var f=w.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(l,u){this[v(u)?"_buildPathLine":"_buildPathCurve"](l,u)},_buildPathLine:b.buildPath,_buildPathCurve:g.buildPath,pointAt:function(l){return this[v(this.shape)?"_pointAtLine":"_pointAtCurve"](l)},_pointAtLine:b.pointAt,_pointAtCurve:g.pointAt,tangentAt:function(l){var u=this.shape,o=v(u)?[u.x2-u.x1,u.y2-u.y1]:this._tangentAtCurve(l);return A.normalize(o,o)},_tangentAtCurve:g.tangentAt});k.exports=f},f5Yq:function(k,B,d){var w=d("bYtY"),A=w.isFunction;function b(g,v,f){return{seriesType:g,performRawSeries:!0,reset:function(l,u,o){var e=l.getData(),n=l.get("symbol"),i=l.get("symbolSize"),r=l.get("symbolKeepAspect"),s=l.get("symbolRotate"),t=A(n),a=A(i),c=A(s),h=t||a||c,p=!t&&n?n:v,m=a?null:i,S=c?null:S;if(e.setVisual({legendSymbol:f||p,symbol:p,symbolSize:m,symbolKeepAspect:r,symbolRotate:s}),u.isSeriesFiltered(l))return;function y(x,C){if(h){var T=l.getRawValue(C),_=l.getDataParams(C);t&&x.setItemVisual(C,"symbol",n(T,_)),a&&x.setItemVisual(C,"symbolSize",i(T,_)),c&&x.setItemVisual(C,"symbolRotate",s(T,_))}if(x.hasItemOption){var E=x.getItemModel(C),I=E.getShallow("symbol",!0),L=E.getShallow("symbolSize",!0),D=E.getShallow("symbolRotate",!0),F=E.getShallow("symbolKeepAspect",!0);I!=null&&x.setItemVisual(C,"symbol",I),L!=null&&x.setItemVisual(C,"symbolSize",L),D!=null&&x.setItemVisual(C,"symbolRotate",D),F!=null&&x.setItemVisual(C,"symbolKeepAspect",F)}}return{dataEach:e.hasItemOption||h?y:null}}}}k.exports=b},fAei:function(k,B,d){"use strict";d.d(B,"a",function(){return y.a});var w=d("wx14"),A=d("rePB"),b=d("VTBJ"),g=d("KQm4"),v=d("1OyB"),f=d("vuIU"),l=d("JX7q"),u=d("Ji7U"),o=d("LK+K"),e=d("q1tI"),n=d("4IlW"),i=d("Kwbf"),r=d("TSYQ"),s=d.n(r),t=d("sboe"),a=d("OZM5"),c=d("815F"),h=d("ODXe"),p=d("Ff2n"),m=d("+nKL"),S=d("8XRh"),y=d("WaYH"),x=function(se,he){var pe=se.className,_e=se.style,De=se.motion,Xe=se.motionNodes,J=se.motionType,Ee=se.onMotionStart,qe=se.onMotionEnd,ae=se.active,V=se.treeNodeRequiredProps,X=Object(p.a)(se,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),Z=e.useState(!0),ge=Object(h.a)(Z,2),le=ge[0],Se=ge[1],me=e.useContext(t.a),$=me.prefixCls,we=e.useRef(!1),xe=function(){we.current||qe(),we.current=!0};return Object(e.useEffect)(function(){Xe&&J==="hide"&&le&&Se(!1)},[Xe]),Object(e.useEffect)(function(){return Xe&&Ee(),function(){Xe&&xe()}},[]),Xe?e.createElement(S.default,Object(w.a)({ref:he,visible:le},De,{motionAppear:J==="show",onAppearEnd:xe,onLeaveEnd:xe}),function(We,st){var nt=We.className,Ne=We.style;return e.createElement("div",{ref:st,className:s()("".concat($,"-treenode-motion"),nt),style:Ne},Xe.map(function(St){var Ye=St.data,vt=Ye.key,It=Object(p.a)(Ye,["key"]),Ut=St.isStart,xt=St.isEnd;delete It.children;var Bt=Object(c.f)(vt,V);return e.createElement(y.a,Object(w.a)({},It,Bt,{active:ae,data:St.data,key:vt,isStart:Ut,isEnd:xt}))}))}):e.createElement(y.a,Object(w.a)({domRef:he,className:pe,style:_e},X,{active:ae}))};x.displayName="MotionTreeNode";var C=e.forwardRef(x),T=C;function _(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],he=ie.length,pe=se.length;if(Math.abs(he-pe)!==1)return{add:!1,key:null};function _e(De,Xe){var J=new Map;De.forEach(function(qe){J.set(qe,!0)});var Ee=Xe.filter(function(qe){return!J.has(qe)});return Ee.length===1?Ee[0]:null}return he<pe?{add:!0,key:_e(ie,se)}:{add:!1,key:_e(se,ie)}}function E(ie,se,he){var pe=ie.findIndex(function(J){var Ee=J.data;return Ee.key===he}),_e=ie[pe+1],De=se.findIndex(function(J){var Ee=J.data;return Ee.key===he});if(_e){var Xe=se.findIndex(function(J){var Ee=J.data;return Ee.key===_e.data.key});return se.slice(De+1,Xe)}return se.slice(De+1)}var I={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},L=function(){},D="RC_TREE_MOTION_".concat(Math.random()),F={key:D},N={key:D,level:0,index:0,pos:"0",node:F},P={parent:null,children:[],pos:N.pos,data:F,isStart:[],isEnd:[]};function W(ie,se,he,pe){return se===!1||!he?ie:ie.slice(0,Math.ceil(he/pe)+1)}function R(ie){var se=ie.data.key,he=ie.pos;return Object(c.e)(se,he)}function j(ie){for(var se=String(ie.data.key),he=ie;he.parent;)he=he.parent,se="".concat(he.data.key," > ").concat(se);return se}var H=function(se,he){var pe=se.prefixCls,_e=se.data,De=se.selectable,Xe=se.checkable,J=se.expandedKeys,Ee=se.selectedKeys,qe=se.checkedKeys,ae=se.loadedKeys,V=se.loadingKeys,X=se.halfCheckedKeys,Z=se.keyEntities,ge=se.disabled,le=se.dragging,Se=se.dragOverNodeKey,me=se.dropPosition,$=se.motion,we=se.height,xe=se.itemHeight,We=se.virtual,st=se.focusable,nt=se.activeItem,Ne=se.focused,St=se.tabIndex,Ye=se.onKeyDown,vt=se.onFocus,It=se.onBlur,Ut=se.onActiveChange,xt=se.onListChangeStart,Bt=se.onListChangeEnd,Qe=Object(p.a)(se,["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"]),te=e.useRef(null),Q=e.useRef(null);e.useImperativeHandle(he,function(){return{scrollTo:function(be){te.current.scrollTo(be)},getIndentWidth:function(){return Q.current.offsetWidth}}});var Me=e.useState(J),Ce=Object(h.a)(Me,2),ue=Ce[0],ot=Ce[1],rt=e.useState(_e),Ue=Object(h.a)(rt,2),Ge=Ue[0],tt=Ue[1],Wt=e.useState(_e),jt=Object(h.a)(Wt,2),Yt=jt[0],Tt=jt[1],Rt=e.useState([]),yt=Object(h.a)(Rt,2),Jt=yt[0],Lr=yt[1],zr=e.useState(null),rn=Object(h.a)(zr,2),ei=rn[0],fn=rn[1];function Zr(){tt(_e),Tt(_e),Lr([]),fn(null),Bt()}e.useEffect(function(){ot(J);var Oe=_(ue,J);if(Oe.key!==null)if(Oe.add){var be=Ge.findIndex(function(Ar){var Hr=Ar.data.key;return Hr===Oe.key}),Fe=W(E(Ge,_e,Oe.key),We,we,xe),it=Ge.slice();it.splice(be+1,0,P),Tt(it),Lr(Fe),fn("show")}else{var wt=_e.findIndex(function(Ar){var Hr=Ar.data.key;return Hr===Oe.key}),nr=W(E(_e,Ge,Oe.key),We,we,xe),sr=_e.slice();sr.splice(wt+1,0,P),Tt(sr),Lr(nr),fn("hide")}else Ge!==_e&&(tt(_e),Tt(_e))},[J,_e]),e.useEffect(function(){le||Zr()},[le]);var bt=$?Yt:_e,ut={expandedKeys:J,selectedKeys:Ee,loadedKeys:ae,loadingKeys:V,checkedKeys:qe,halfCheckedKeys:X,dragOverNodeKey:Se,dropPosition:me,keyEntities:Z};return e.createElement(e.Fragment,null,Ne&&nt&&e.createElement("span",{style:I,"aria-live":"assertive"},j(nt)),e.createElement("div",{role:"tree"},e.createElement("input",{style:I,disabled:st===!1||ge,tabIndex:st!==!1?St:null,onKeyDown:Ye,onFocus:vt,onBlur:It,value:"",onChange:L})),e.createElement("div",{className:"".concat(pe,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},e.createElement("div",{className:"".concat(pe,"-indent")},e.createElement("div",{ref:Q,className:"".concat(pe,"-indent-unit")}))),e.createElement(m.a,Object(w.a)({},Qe,{data:bt,itemKey:R,height:we,fullHeight:!1,virtual:We,itemHeight:xe,prefixCls:"".concat(pe,"-list"),ref:te}),function(Oe){var be=Oe.pos,Fe=Oe.data,it=Fe.key,wt=Object(p.a)(Fe,["key"]),nr=Oe.isStart,sr=Oe.isEnd,Ar=Object(c.e)(it,be);delete wt.children;var Hr=Object(c.f)(Ar,ut);return e.createElement(T,Object(w.a)({},wt,Hr,{active:!!nt&&it===nt.data.key,pos:be,data:Oe.data,isStart:nr,isEnd:sr,motion:$,motionNodes:it===D?Jt:null,motionType:ei,onMotionStart:xt,onMotionEnd:Zr,treeNodeRequiredProps:ut,onMouseMove:function(){Ut(null)}}))}))},K=e.forwardRef(H);K.displayName="NodeList";var U=K,G=d("NvD2");function z(ie){var se=ie.dropPosition,he=ie.dropLevelOffset,pe=ie.indent,_e={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(se){case-1:_e.top=0,_e.left=-he*pe;break;case 1:_e.bottom=0,_e.left=-he*pe;break;case 0:_e.bottom=0,_e.left=pe;break}return e.createElement("div",{style:_e})}var Y=function(ie){Object(u.a)(he,ie);var se=Object(o.a)(he);function he(){var pe;return Object(v.a)(this,he),pe=se.apply(this,arguments),pe.destroyed=!1,pe.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},pe.dragStartMousePosition=null,pe.listRef=e.createRef(),pe.onNodeDragStart=function(_e,De){var Xe=pe.state,J=Xe.expandedKeys,Ee=Xe.keyEntities,qe=pe.props.onDragStart,ae=De.props.eventKey;pe.dragNode=De,pe.dragStartMousePosition={x:_e.clientX,y:_e.clientY};var V=Object(a.b)(J,ae);pe.setState({dragging:!0,dragChildrenKeys:Object(a.g)(ae,Ee),indent:pe.listRef.current.getIndentWidth()}),pe.setExpandedKeys(V),window.addEventListener("dragend",pe.onWindowDragEnd),qe&&qe({event:_e,node:Object(c.b)(De.props)})},pe.onNodeDragEnter=function(_e,De){var Xe=pe.state,J=Xe.expandedKeys,Ee=Xe.keyEntities,qe=Xe.dragChildrenKeys,ae=Xe.flattenNodes,V=Xe.indent,X=pe.props,Z=X.onDragEnter,ge=X.onExpand,le=X.allowDrop,Se=X.direction,me=De.props.pos,$=Object(l.a)(pe),we=$.dragNode,xe=Object(a.c)(_e,we,De,V,pe.dragStartMousePosition,le,ae,Ee,J,Se),We=xe.dropPosition,st=xe.dropLevelOffset,nt=xe.dropTargetKey,Ne=xe.dropContainerKey,St=xe.dropTargetPos,Ye=xe.dropAllowed,vt=xe.dragOverNodeKey;if(!we||qe.indexOf(nt)!==-1||!Ye){pe.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1});return}if(pe.delayedDragEnterLogic||(pe.delayedDragEnterLogic={}),Object.keys(pe.delayedDragEnterLogic).forEach(function(It){clearTimeout(pe.delayedDragEnterLogic[It])}),we.props.eventKey!==De.props.eventKey&&(_e.persist(),pe.delayedDragEnterLogic[me]=window.setTimeout(function(){if(!pe.state.dragging)return;var It=Object(g.a)(J),Ut=Ee[De.props.eventKey];Ut&&(Ut.children||[]).length&&(It=Object(a.a)(J,De.props.eventKey)),"expandedKeys"in pe.props||pe.setExpandedKeys(It),ge&&ge(It,{node:Object(c.b)(De.props),expanded:!0,nativeEvent:_e.nativeEvent})},800)),we.props.eventKey===nt&&st===0){pe.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1});return}pe.setState({dragOverNodeKey:vt,dropPosition:We,dropLevelOffset:st,dropTargetKey:nt,dropContainerKey:Ne,dropTargetPos:St,dropAllowed:Ye}),Z&&Z({event:_e,node:Object(c.b)(De.props),expandedKeys:J})},pe.onNodeDragOver=function(_e,De){var Xe=pe.state,J=Xe.dragChildrenKeys,Ee=Xe.flattenNodes,qe=Xe.keyEntities,ae=Xe.expandedKeys,V=Xe.indent,X=pe.props,Z=X.onDragOver,ge=X.allowDrop,le=X.direction,Se=Object(l.a)(pe),me=Se.dragNode,$=Object(a.c)(_e,me,De,V,pe.dragStartMousePosition,ge,Ee,qe,ae,le),we=$.dropPosition,xe=$.dropLevelOffset,We=$.dropTargetKey,st=$.dropContainerKey,nt=$.dropAllowed,Ne=$.dropTargetPos,St=$.dragOverNodeKey;if(!me||J.indexOf(We)!==-1||!nt)return;me.props.eventKey===We&&xe===0?pe.state.dropPosition===null&&pe.state.dropLevelOffset===null&&pe.state.dropTargetKey===null&&pe.state.dropContainerKey===null&&pe.state.dropTargetPos===null&&pe.state.dropAllowed===!1&&pe.state.dragOverNodeKey===null||pe.setState({dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1,dragOverNodeKey:null}):we===pe.state.dropPosition&&xe===pe.state.dropLevelOffset&&We===pe.state.dropTargetKey&&st===pe.state.dropContainerKey&&Ne===pe.state.dropTargetPos&&nt===pe.state.dropAllowed&&St===pe.state.dragOverNodeKey||pe.setState({dropPosition:we,dropLevelOffset:xe,dropTargetKey:We,dropContainerKey:st,dropTargetPos:Ne,dropAllowed:nt,dragOverNodeKey:St}),Z&&Z({event:_e,node:Object(c.b)(De.props)})},pe.onNodeDragLeave=function(_e,De){var Xe=pe.props.onDragLeave;Xe&&Xe({event:_e,node:Object(c.b)(De.props)})},pe.onWindowDragEnd=function(_e){pe.onNodeDragEnd(_e,null,!0),window.removeEventListener("dragend",pe.onWindowDragEnd)},pe.onNodeDragEnd=function(_e,De){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,J=pe.props.onDragEnd;pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),J&&!Xe&&J({event:_e,node:Object(c.b)(De.props)}),pe.dragNode=null},pe.onNodeDrop=function(_e,De){var Xe,J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ee=pe.state,qe=Ee.dragChildrenKeys,ae=Ee.dropPosition,V=Ee.dropTargetKey,X=Ee.dropTargetPos,Z=Ee.dropAllowed;if(!Z)return;var ge=pe.props.onDrop;if(pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),V===null)return;var le=Object(b.a)(Object(b.a)({},Object(c.f)(V,pe.getTreeNodeRequiredProps())),{},{active:((Xe=pe.getActiveItem())===null||Xe===void 0?void 0:Xe.data.key)===V,data:pe.state.keyEntities[V].node}),Se=qe.indexOf(V)!==-1;Object(i.a)(!Se,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var me=Object(a.k)(X),$={event:_e,node:Object(c.b)(le),dragNode:pe.dragNode?Object(c.b)(pe.dragNode.props):null,dragNodesKeys:[pe.dragNode.props.eventKey].concat(qe),dropToGap:ae!==0,dropPosition:ae+Number(me[me.length-1])};ge&&!J&&ge($),pe.dragNode=null},pe.cleanDragState=function(){var _e=pe.state.dragging;_e&&pe.setState({dragging:!1,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),pe.dragStartMousePosition=null},pe.onNodeClick=function(_e,De){var Xe=pe.props.onClick;Xe&&Xe(_e,De)},pe.onNodeDoubleClick=function(_e,De){var Xe=pe.props.onDoubleClick;Xe&&Xe(_e,De)},pe.onNodeSelect=function(_e,De){var Xe=pe.state.selectedKeys,J=pe.state.keyEntities,Ee=pe.props,qe=Ee.onSelect,ae=Ee.multiple,V=De.selected,X=De.key,Z=!V;Z?ae?Xe=Object(a.a)(Xe,X):Xe=[X]:Xe=Object(a.b)(Xe,X);var ge=Xe.map(function(le){var Se=J[le];return Se?Se.node:null}).filter(function(le){return le});pe.setUncontrolledState({selectedKeys:Xe}),qe&&qe(Xe,{event:"select",selected:Z,node:De,selectedNodes:ge,nativeEvent:_e.nativeEvent})},pe.onNodeCheck=function(_e,De,Xe){var J=pe.state,Ee=J.keyEntities,qe=J.checkedKeys,ae=J.halfCheckedKeys,V=pe.props,X=V.checkStrictly,Z=V.onCheck,ge=De.key,le,Se={event:"check",node:De,checked:Xe,nativeEvent:_e.nativeEvent};if(X){var me=Xe?Object(a.a)(qe,ge):Object(a.b)(qe,ge),$=Object(a.b)(ae,ge);le={checked:me,halfChecked:$},Se.checkedNodes=me.map(function(Ne){return Ee[Ne]}).filter(function(Ne){return Ne}).map(function(Ne){return Ne.node}),pe.setUncontrolledState({checkedKeys:me})}else{var we=Object(G.a)([].concat(Object(g.a)(qe),[ge]),!0,Ee),xe=we.checkedKeys,We=we.halfCheckedKeys;if(!Xe){var st=new Set(xe);st.delete(ge);var nt=Object(G.a)(Array.from(st),{checked:!1,halfCheckedKeys:We},Ee);xe=nt.checkedKeys,We=nt.halfCheckedKeys}le=xe,Se.checkedNodes=[],Se.checkedNodesPositions=[],Se.halfCheckedKeys=We,xe.forEach(function(Ne){var St=Ee[Ne];if(!St)return;var Ye=St.node,vt=St.pos;Se.checkedNodes.push(Ye),Se.checkedNodesPositions.push({node:Ye,pos:vt})}),pe.setUncontrolledState({checkedKeys:xe},!1,{halfCheckedKeys:We})}Z&&Z(le,Se)},pe.onNodeLoad=function(_e){return new Promise(function(De){pe.setState(function(Xe){var J=Xe.loadedKeys,Ee=J===void 0?[]:J,qe=Xe.loadingKeys,ae=qe===void 0?[]:qe,V=pe.props,X=V.loadData,Z=V.onLoad,ge=_e.key;if(!X||Ee.indexOf(ge)!==-1||ae.indexOf(ge)!==-1)return{};var le=X(_e);return le.then(function(){var Se=pe.state,me=Se.loadedKeys,$=Se.loadingKeys,we=Object(a.a)(me,ge),xe=Object(a.b)($,ge);Z&&Z(we,{event:"load",node:_e}),pe.setUncontrolledState({loadedKeys:we}),pe.setState({loadingKeys:xe}),De()}),{loadingKeys:Object(a.a)(ae,ge)}})})},pe.onNodeMouseEnter=function(_e,De){var Xe=pe.props.onMouseEnter;Xe&&Xe({event:_e,node:De})},pe.onNodeMouseLeave=function(_e,De){var Xe=pe.props.onMouseLeave;Xe&&Xe({event:_e,node:De})},pe.onNodeContextMenu=function(_e,De){var Xe=pe.props.onRightClick;Xe&&(_e.preventDefault(),Xe({event:_e,node:De}))},pe.onFocus=function(){var _e=pe.props.onFocus;pe.setState({focused:!0}),_e&&_e.apply(void 0,arguments)},pe.onBlur=function(){var _e=pe.props.onBlur;pe.setState({focused:!1}),pe.onActiveChange(null),_e&&_e.apply(void 0,arguments)},pe.getTreeNodeRequiredProps=function(){var _e=pe.state,De=_e.expandedKeys,Xe=_e.selectedKeys,J=_e.loadedKeys,Ee=_e.loadingKeys,qe=_e.checkedKeys,ae=_e.halfCheckedKeys,V=_e.dragOverNodeKey,X=_e.dropPosition,Z=_e.keyEntities;return{expandedKeys:De||[],selectedKeys:Xe||[],loadedKeys:J||[],loadingKeys:Ee||[],checkedKeys:qe||[],halfCheckedKeys:ae||[],dragOverNodeKey:V,dropPosition:X,keyEntities:Z}},pe.setExpandedKeys=function(_e){var De=pe.state.treeData,Xe=Object(c.d)(De,_e);pe.setUncontrolledState({expandedKeys:_e,flattenNodes:Xe},!0)},pe.onNodeExpand=function(_e,De){var Xe=pe.state.expandedKeys,J=pe.state.listChanging,Ee=pe.props,qe=Ee.onExpand,ae=Ee.loadData,V=De.key,X=De.expanded;if(J)return;var Z=Xe.indexOf(V),ge=!X;if(Object(i.a)(X&&Z!==-1||!X&&Z===-1,"Expand state not sync with index check"),ge?Xe=Object(a.a)(Xe,V):Xe=Object(a.b)(Xe,V),pe.setExpandedKeys(Xe),qe&&qe(Xe,{node:De,expanded:ge,nativeEvent:_e.nativeEvent}),ge&&ae){var le=pe.onNodeLoad(De);le&&le.then(function(){var Se=Object(c.d)(pe.state.treeData,Xe);pe.setUncontrolledState({flattenNodes:Se})})}},pe.onListChangeStart=function(){pe.setUncontrolledState({listChanging:!0})},pe.onListChangeEnd=function(){setTimeout(function(){pe.setUncontrolledState({listChanging:!1})})},pe.onActiveChange=function(_e){var De=pe.state.activeKey,Xe=pe.props.onActiveChange;if(De===_e)return;pe.setState({activeKey:_e}),_e!==null&&pe.scrollTo({key:_e}),Xe&&Xe(_e)},pe.getActiveItem=function(){var _e=pe.state,De=_e.activeKey,Xe=_e.flattenNodes;return De===null?null:Xe.find(function(J){var Ee=J.data.key;return Ee===De})||null},pe.offsetActiveKey=function(_e){var De=pe.state,Xe=De.flattenNodes,J=De.activeKey,Ee=Xe.findIndex(function(V){var X=V.data.key;return X===J});Ee===-1&&_e<0&&(Ee=Xe.length),Ee=(Ee+_e+Xe.length)%Xe.length;var qe=Xe[Ee];if(qe){var ae=qe.data.key;pe.onActiveChange(ae)}else pe.onActiveChange(null)},pe.onKeyDown=function(_e){var De=pe.state,Xe=De.activeKey,J=De.expandedKeys,Ee=De.checkedKeys,qe=pe.props,ae=qe.onKeyDown,V=qe.checkable,X=qe.selectable;switch(_e.which){case n.a.UP:{pe.offsetActiveKey(-1),_e.preventDefault();break}case n.a.DOWN:{pe.offsetActiveKey(1),_e.preventDefault();break}}var Z=pe.getActiveItem();if(Z&&Z.data){var ge=pe.getTreeNodeRequiredProps(),le=Z.data.isLeaf===!1||!!(Z.data.children||[]).length,Se=Object(c.b)(Object(b.a)(Object(b.a)({},Object(c.f)(Xe,ge)),{},{data:Z.data,active:!0}));switch(_e.which){case n.a.LEFT:{le&&J.includes(Xe)?pe.onNodeExpand({},Se):Z.parent&&pe.onActiveChange(Z.parent.data.key),_e.preventDefault();break}case n.a.RIGHT:{le&&!J.includes(Xe)?pe.onNodeExpand({},Se):Z.children&&Z.children.length&&pe.onActiveChange(Z.children[0].data.key),_e.preventDefault();break}case n.a.ENTER:case n.a.SPACE:{V&&!Se.disabled&&Se.checkable!==!1&&!Se.disableCheckbox?pe.onNodeCheck({},Se,!Ee.includes(Xe)):!V&&X&&!Se.disabled&&Se.selectable!==!1&&pe.onNodeSelect({},Se);break}}}ae&&ae(_e)},pe.setUncontrolledState=function(_e){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(pe.destroyed)return;var J=!1,Ee=!0,qe={};Object.keys(_e).forEach(function(ae){if(ae in pe.props){Ee=!1;return}J=!0,qe[ae]=_e[ae]}),J&&(!De||Ee)&&pe.setState(Object(b.a)(Object(b.a)({},qe),Xe))},pe.scrollTo=function(_e){pe.listRef.current.scrollTo(_e)},pe}return Object(f.a)(he,[{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"render",value:function(){var _e,De=this.state,Xe=De.focused,J=De.flattenNodes,Ee=De.keyEntities,qe=De.dragging,ae=De.activeKey,V=De.dropLevelOffset,X=De.dropContainerKey,Z=De.dropTargetKey,ge=De.dropPosition,le=De.dragOverNodeKey,Se=De.indent,me=this.props,$=me.prefixCls,we=me.className,xe=me.style,We=me.showLine,st=me.focusable,nt=me.tabIndex,Ne=nt===void 0?0:nt,St=me.selectable,Ye=me.showIcon,vt=me.icon,It=me.switcherIcon,Ut=me.draggable,xt=me.checkable,Bt=me.checkStrictly,Qe=me.disabled,te=me.motion,Q=me.loadData,Me=me.filterTreeNode,Ce=me.height,ue=me.itemHeight,ot=me.virtual,rt=me.titleRender,Ue=me.dropIndicatorRender,Ge=me.onContextMenu,tt=me.direction,Wt=Object(a.f)(this.props);return e.createElement(t.a.Provider,{value:{prefixCls:$,selectable:St,showIcon:Ye,icon:vt,switcherIcon:It,draggable:Ut,checkable:xt,checkStrictly:Bt,disabled:Qe,keyEntities:Ee,dropLevelOffset:V,dropContainerKey:X,dropTargetKey:Z,dropPosition:ge,dragOverNodeKey:le,indent:Se,direction:tt,dropIndicatorRender:Ue,loadData:Q,filterTreeNode:Me,titleRender:rt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},e.createElement("div",{className:s()($,we,(_e={},Object(A.a)(_e,"".concat($,"-show-line"),We),Object(A.a)(_e,"".concat($,"-focused"),Xe),Object(A.a)(_e,"".concat($,"-active-focused"),ae!==null),_e))},e.createElement(U,Object(w.a)({ref:this.listRef,prefixCls:$,style:xe,data:J,disabled:Qe,selectable:St,checkable:!!xt,motion:te,dragging:qe,height:Ce,itemHeight:ue,virtual:ot,focusable:st,focused:Xe,tabIndex:Ne,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ge},this.getTreeNodeRequiredProps(),Wt))))}}],[{key:"getDerivedStateFromProps",value:function(_e,De){var Xe=De.prevProps,J={prevProps:_e};function Ee(We){return!Xe&&We in _e||Xe&&Xe[We]!==_e[We]}var qe;if(Ee("treeData")?qe=_e.treeData:Ee("children")&&(Object(i.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),qe=Object(c.c)(_e.children)),qe){J.treeData=qe;var ae=Object(c.a)(qe);J.keyEntities=Object(b.a)(Object(A.a)({},D,N),ae.keyEntities)}var V=J.keyEntities||De.keyEntities;if(Ee("expandedKeys")||Xe&&Ee("autoExpandParent"))J.expandedKeys=_e.autoExpandParent||!Xe&&_e.defaultExpandParent?Object(a.e)(_e.expandedKeys,V):_e.expandedKeys;else if(!Xe&&_e.defaultExpandAll){var X=Object(b.a)({},V);delete X[D],J.expandedKeys=Object.keys(X).map(function(We){return X[We].key})}else!Xe&&_e.defaultExpandedKeys&&(J.expandedKeys=_e.autoExpandParent||_e.defaultExpandParent?Object(a.e)(_e.defaultExpandedKeys,V):_e.defaultExpandedKeys);if(J.expandedKeys||delete J.expandedKeys,qe||J.expandedKeys){var Z=Object(c.d)(qe||De.treeData,J.expandedKeys||De.expandedKeys);J.flattenNodes=Z}if(_e.selectable&&(Ee("selectedKeys")?J.selectedKeys=Object(a.d)(_e.selectedKeys,_e):!Xe&&_e.defaultSelectedKeys&&(J.selectedKeys=Object(a.d)(_e.defaultSelectedKeys,_e))),_e.checkable){var ge;if(Ee("checkedKeys")?ge=Object(a.j)(_e.checkedKeys)||{}:!Xe&&_e.defaultCheckedKeys?ge=Object(a.j)(_e.defaultCheckedKeys)||{}:qe&&(ge=Object(a.j)(_e.checkedKeys)||{checkedKeys:De.checkedKeys,halfCheckedKeys:De.halfCheckedKeys}),ge){var le=ge,Se=le.checkedKeys,me=Se===void 0?[]:Se,$=le.halfCheckedKeys,we=$===void 0?[]:$;if(!_e.checkStrictly){var xe=Object(G.a)(me,!0,V);me=xe.checkedKeys,we=xe.halfCheckedKeys}J.checkedKeys=me,J.halfCheckedKeys=we}}return Ee("loadedKeys")&&(J.loadedKeys=_e.loadedKeys),J}}]),he}(e.Component);Y.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:[],dropIndicatorRender:z,allowDrop:function(){return!0}},Y.TreeNode=y.a;var q=Y,oe=B.b=q},fE02:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("/IIm"),g=d("vZ6x"),v=d("b9oc"),f=d("72pK"),l=d("Kagy"),u=d("IUWy");d("3TkU");var o=l.toolbox.dataZoom,e=A.each,n="\0_ec_\0toolbox-dataZoom_";function i(p,m,S){(this._brushController=new b(S.getZr())).on("brush",A.bind(this._onBrush,this)).mount(),this._isZoomActive}i.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:A.clone(o.title)};var r=i.prototype;r.render=function(p,m,S,y){this.model=p,this.ecModel=m,this.api=S,c(p,m,this,y,S),a(p,m)},r.onclick=function(p,m,S){s[S].call(this)},r.remove=function(p,m){this._brushController.unmount()},r.dispose=function(p,m){this._brushController.dispose()};var s={zoom:function(){var p=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:p})},back:function(){this._dispatchZoomAction(v.pop(this.ecModel))}};r._onBrush=function(p,m){if(!m.isEnd||!p.length)return;var S={},y=this.ecModel;this._brushController.updateCovers([]);var x=new g(t(this.model.option),y,{include:["grid"]});x.matchOutputRanges(p,y,function(_,E,I){if(I.type!=="cartesian2d")return;var L=_.brushType;L==="rect"?(C("x",I,E[0]),C("y",I,E[1])):C({lineX:"x",lineY:"y"}[L],I,E)}),v.push(y,S),this._dispatchZoomAction(S);function C(_,E,I){var L=E.getAxis(_),D=L.model,F=T(_,D,y),N=F.findRepresentativeAxisProxy(D).getMinMaxSpan();(N.minValueSpan!=null||N.maxValueSpan!=null)&&(I=f(0,I.slice(),L.scale.getExtent(),0,N.minValueSpan,N.maxValueSpan)),F&&(S[F.id]={dataZoomId:F.id,startValue:I[0],endValue:I[1]})}function T(_,E,I){var L;return I.eachComponent({mainType:"dataZoom",subType:"select"},function(D){var F=D.getAxisModel(_,E.componentIndex);F&&(L=D)}),L}},r._dispatchZoomAction=function(p){var m=[];e(p,function(S,y){m.push(A.clone(S))}),m.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:m})};function t(p){var m={};return A.each(["xAxisIndex","yAxisIndex"],function(S){m[S]=p[S],m[S]==null&&(m[S]="all"),(m[S]===!1||m[S]==="none")&&(m[S]=[])}),m}function a(p,m){p.setIconStatus("back",v.count(m)>1?"emphasis":"normal")}function c(p,m,S,y,x){var C=S._isZoomActive;y&&y.type==="takeGlobalCursor"&&(C=y.key==="dataZoomSelect"?y.dataZoomSelectActive:!1),S._isZoomActive=C,p.setIconStatus("zoom",C?"emphasis":"normal");var T=new g(t(p.option),m,{include:["grid"]});S._brushController.setPanels(T.makePanelOpts(x,function(_){return _.xAxisDeclared&&!_.yAxisDeclared?"lineX":!_.xAxisDeclared&&_.yAxisDeclared?"lineY":"rect"})).enableBrush(C?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}u.register("dataZoom",i),w.registerPreprocessor(function(p){if(!p)return;var m=p.dataZoom||(p.dataZoom=[]);A.isArray(m)||(p.dataZoom=m=[m]);var S=p.toolbox;if(S&&(A.isArray(S)&&(S=S[0]),S&&S.feature)){var y=S.feature.dataZoom;x("xAxis",y),x("yAxis",y)}function x(T,_){if(!_)return;var E=T+"Index",I=_[E];I!=null&&I!=="all"&&!A.isArray(I)&&(I=I===!1||I==="none"?[]:[I]),C(T,function(L,D){if(I!=null&&I!=="all"&&A.indexOf(I,D)===-1)return;var F={type:"select",$fromToolbox:!0,filterMode:_.filterMode||"filter",id:n+T+D};F[E]=D,m.push(F)})}function C(T,_){var E=p[T];A.isArray(E)||(E=E?[E]:[]),e(E,_)}});var h=i;k.exports=h},fW2E:function(k,B){var d={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function w(A,b,g){return d.hasOwnProperty(b)?g*=A.dpr:g}k.exports=w},"fc+c":function(k,B,d){var w=d("sS/r"),A=w.extend({type:"dataZoom",render:function(b,g,v,f){this.dataZoomModel=b,this.ecModel=g,this.api=v},getTargetCoordInfo:function(){var b=this.dataZoomModel,g=this.ecModel,v={};b.eachTargetAxis(function(l,u){var o=g.getComponent(l.axis,u);if(o){var e=o.getCoordSysModel();e&&f(e,o,v[e.mainType]||(v[e.mainType]=[]),e.componentIndex)}},this);function f(l,u,o,e){for(var n,i=0;i<o.length;i++)if(o[i].model===l){n=o[i];break}n||o.push(n={model:l,axisModels:[],coordIndex:e}),n.axisModels.push(u)}return v}});k.exports=A},fjKi:function(k,B,d){var w=d("ProS");d("Q7if"),d("jndi"),w.registerPreprocessor(function(A){A.markArea=A.markArea||{}})},fls0:function(k,B,d){var w=d("bYtY"),A=d("QBsz"),b=d("oVpE"),g=d("f5HG"),v=d("IwbS"),f=d("OELB"),l=f.round,u=["fromSymbol","toSymbol"];function o(c){return"_"+c+"Type"}function e(c,h,p){var m=h.getItemVisual(p,"color"),S=h.getItemVisual(p,c),y=h.getItemVisual(p,c+"Size");if(!S||S==="none")return;w.isArray(y)||(y=[y,y]);var x=b.createSymbol(S,-y[0]/2,-y[1]/2,y[0],y[1],m);return x.name=c,x}function n(c){var h=new g({name:"line",subPixelOptimize:!0});return i(h.shape,c),h}function i(c,h){c.x1=h[0][0],c.y1=h[0][1],c.x2=h[1][0],c.y2=h[1][1],c.percent=1;var p=h[2];p?(c.cpx1=p[0],c.cpy1=p[1]):(c.cpx1=NaN,c.cpy1=NaN)}function r(){var c=this,h=c.childOfName("fromSymbol"),p=c.childOfName("toSymbol"),m=c.childOfName("label");if(!h&&!p&&m.ignore)return;for(var S=1,y=this.parent;y;)y.scale&&(S/=y.scale[0]),y=y.parent;var x=c.childOfName("line");if(!this.__dirty&&!x.__dirty)return;var C=x.shape.percent,T=x.pointAt(0),_=x.pointAt(C),E=A.sub([],_,T);if(A.normalize(E,E),h){h.attr("position",T);var I=x.tangentAt(0);h.attr("rotation",Math.PI/2-Math.atan2(I[1],I[0])),h.attr("scale",[S*C,S*C])}if(p){p.attr("position",_);var I=x.tangentAt(1);p.attr("rotation",-Math.PI/2-Math.atan2(I[1],I[0])),p.attr("scale",[S*C,S*C])}if(!m.ignore){m.attr("position",_);var L,D,F,N,P=m.__labelDistance,W=P[0]*S,R=P[1]*S,j=C/2,I=x.tangentAt(j),H=[I[1],-I[0]],K=x.pointAt(j);H[1]>0&&(H[0]=-H[0],H[1]=-H[1]);var U=I[0]<0?-1:1;if(m.__position!=="start"&&m.__position!=="end"){var G=-Math.atan2(I[1],I[0]);_[0]<T[0]&&(G=Math.PI+G),m.attr("rotation",G)}var z;switch(m.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":z=-R,F="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":z=R,F="top";break;default:z=0,F="middle"}switch(m.__position){case"end":L=[E[0]*W+_[0],E[1]*R+_[1]],D=E[0]>.8?"left":E[0]<-.8?"right":"center",F=E[1]>.8?"top":E[1]<-.8?"bottom":"middle";break;case"start":L=[-E[0]*W+T[0],-E[1]*R+T[1]],D=E[0]>.8?"right":E[0]<-.8?"left":"center",F=E[1]>.8?"bottom":E[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":L=[W*U+T[0],T[1]+z],D=I[0]<0?"right":"left",N=[-W*U,-z];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":L=[K[0],K[1]+z],D="center",N=[0,-z];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":L=[-W*U+_[0],_[1]+z],D=I[0]>=0?"right":"left",N=[W*U,-z];break}m.attr({style:{textVerticalAlign:m.__verticalAlign||F,textAlign:m.__textAlign||D},position:L,scale:[S,S],origin:N})}}function s(c,h,p){v.Group.call(this),this._createLine(c,h,p)}var t=s.prototype;t.beforeUpdate=r,t._createLine=function(c,h,p){var m=c.hostModel,S=c.getItemLayout(h),y=n(S);y.shape.percent=0,v.initProps(y,{shape:{percent:1}},m,h),this.add(y);var x=new v.Text({name:"label",lineLabelOriginalOpacity:1});this.add(x),w.each(u,function(C){var T=e(C,c,h);this.add(T),this[o(C)]=c.getItemVisual(h,C)},this),this._updateCommonStl(c,h,p)},t.updateData=function(c,h,p){var m=c.hostModel,S=this.childOfName("line"),y=c.getItemLayout(h),x={shape:{}};i(x.shape,y),v.updateProps(S,x,m,h),w.each(u,function(C){var T=c.getItemVisual(h,C),_=o(C);if(this[_]!==T){this.remove(this.childOfName(C));var E=e(C,c,h);this.add(E)}this[_]=T},this),this._updateCommonStl(c,h,p)},t._updateCommonStl=function(c,h,p){var m=c.hostModel,S=this.childOfName("line"),y=p&&p.lineStyle,x=p&&p.hoverLineStyle,C=p&&p.labelModel,T=p&&p.hoverLabelModel;if(!p||c.hasItemOption){var _=c.getItemModel(h);y=_.getModel("lineStyle").getLineStyle(),x=_.getModel("emphasis.lineStyle").getLineStyle(),C=_.getModel("label"),T=_.getModel("emphasis.label")}var E=c.getItemVisual(h,"color"),I=w.retrieve3(c.getItemVisual(h,"opacity"),y.opacity,1);S.useStyle(w.defaults({strokeNoScale:!0,fill:"none",stroke:E,opacity:I},y)),S.hoverStyle=x,w.each(u,function(U){var G=this.childOfName(U);G&&(G.setColor(E),G.setStyle({opacity:I}))},this);var L=C.getShallow("show"),D=T.getShallow("show"),F=this.childOfName("label"),N,P;if((L||D)&&(N=E||"#000",P=m.getFormattedLabel(h,"normal",c.dataType),P==null)){var W=m.getRawValue(h);P=W==null?c.getName(h):isFinite(W)?l(W):W}var R=L?P:null,j=D?w.retrieve2(m.getFormattedLabel(h,"emphasis",c.dataType),P):null,H=F.style;if(R!=null||j!=null){v.setTextStyle(F.style,C,{text:R},{autoColor:N}),F.__textAlign=H.textAlign,F.__verticalAlign=H.textVerticalAlign,F.__position=C.get("position")||"middle";var K=C.get("distance");w.isArray(K)||(K=[K,K]),F.__labelDistance=K}j!=null?F.hoverStyle={text:j,textFill:T.getTextColor(!0),fontStyle:T.getShallow("fontStyle"),fontWeight:T.getShallow("fontWeight"),fontSize:T.getShallow("fontSize"),fontFamily:T.getShallow("fontFamily")}:F.hoverStyle={text:null},F.ignore=!L&&!D,v.setHoverStyle(this)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateLayout=function(c,h){this.setLinePoints(c.getItemLayout(h))},t.setLinePoints=function(c){var h=this.childOfName("line");i(h.shape,c),h.dirty()},w.inherits(s,v.Group);var a=s;k.exports=a},fmMI:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=b.each,v=b.filter,f=b.map,l=b.isArray,u=b.indexOf,o=b.isObject,e=b.isString,n=b.createHashMap,i=b.assert,r=b.clone,s=b.merge,t=b.extend,a=b.mixin,c=d("4NO4"),h=d("Qxkt"),p=d("bLfw"),m=d("iXHM"),S=d("5Hur"),y=d("D5nY"),x=y.resetSourceDefaulter,C="\0_ec_inner",T=h.extend({init:function(R,j,H,K){H=H||{},this.option=null,this._theme=new h(H),this._optionManager=K},setOption:function(R,j){i(!(C in R),"please use chart.getOption()"),this._optionManager.setOption(R,j),this.resetOption(null)},resetOption:function(R){var j=!1,H=this._optionManager;if(!R||R==="recreate"){var K=H.mountOption(R==="recreate");!this.option||R==="recreate"?I.call(this,K):(this.restoreData(),this.mergeOption(K)),j=!0}if((R==="timeline"||R==="media")&&this.restoreData(),!R||R==="recreate"||R==="timeline"){var U=H.getTimelineOption(this);U&&(this.mergeOption(U),j=!0)}if(!R||R==="recreate"||R==="media"){var G=H.getMediaOption(this,this._api);G.length&&g(G,function(z){this.mergeOption(z,j=!0)},this)}return j},mergeOption:function(R){var j=this.option,H=this._componentsMap,K=[];x(this),g(R,function(G,z){if(G==null)return;p.hasClass(z)?z&&K.push(z):j[z]=j[z]==null?r(G):s(j[z],G,!0)}),p.topologicalTravel(K,p.getAllClassMainTypes(),U,this);function U(G,z){var Y=c.normalizeToArray(R[G]),q=c.mappingToExists(H.get(G),Y);c.makeIdAndName(q),g(q,function(ie,se){var he=ie.option;o(he)&&(ie.keyInfo.mainType=G,ie.keyInfo.subType=D(G,he,ie.exist))});var oe=L(H,z);j[G]=[],H.set(G,[]),g(q,function(ie,se){var he=ie.exist,pe=ie.option;if(i(o(pe)||he,"Empty component definition"),!pe)he.mergeOption({},this),he.optionUpdated({},!1);else{var _e=p.getClass(G,ie.keyInfo.subType,!0);if(he&&he.constructor===_e)he.name=ie.keyInfo.name,he.mergeOption(pe,this),he.optionUpdated(pe,!1);else{var De=t({dependentModels:oe,componentIndex:se},ie.keyInfo);he=new _e(pe,this,this,De),t(he,De),he.init(pe,this,this,De),he.optionUpdated(null,!0)}}H.get(G)[se]=he,j[G][se]=he.option},this),G==="series"&&F(this,H.get("series"))}this._seriesIndicesMap=n(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var R=r(this.option);return g(R,function(j,H){if(p.hasClass(H)){for(var j=c.normalizeToArray(j),K=j.length-1;K>=0;K--)c.isIdInner(j[K])&&j.splice(K,1);R[H]=j}}),delete R[C],R},getTheme:function(){return this._theme},getComponent:function(R,j){var H=this._componentsMap.get(R);if(H)return H[j||0]},queryComponents:function(R){var j=R.mainType;if(!j)return[];var H=R.index,K=R.id,U=R.name,G=this._componentsMap.get(j);if(!G||!G.length)return[];var z;if(H!=null)l(H)||(H=[H]),z=v(f(H,function(oe){return G[oe]}),function(oe){return!!oe});else if(K!=null){var Y=l(K);z=v(G,function(oe){return Y&&u(K,oe.id)>=0||!Y&&oe.id===K})}else if(U!=null){var q=l(U);z=v(G,function(oe){return q&&u(U,oe.name)>=0||!q&&oe.name===U})}else z=G.slice();return N(z,R)},findComponents:function(R){var j=R.query,H=R.mainType,K=G(j),U=K?this.queryComponents(K):this._componentsMap.get(H);return z(N(U,R));function G(Y){var q=H+"Index",oe=H+"Id",ie=H+"Name";return Y&&(Y[q]!=null||Y[oe]!=null||Y[ie]!=null)?{mainType:H,index:Y[q],id:Y[oe],name:Y[ie]}:null}function z(Y){return R.filter?v(Y,R.filter):Y}},eachComponent:function(R,j,H){var K=this._componentsMap;if(typeof R=="function")H=j,j=R,K.each(function(G,z){g(G,function(Y,q){j.call(H,z,Y,q)})});else if(e(R))g(K.get(R),j,H);else if(o(R)){var U=this.findComponents(R);g(U,j,H)}},getSeriesByName:function(R){var j=this._componentsMap.get("series");return v(j,function(H){return H.name===R})},getSeriesByIndex:function(R){return this._componentsMap.get("series")[R]},getSeriesByType:function(R){var j=this._componentsMap.get("series");return v(j,function(H){return H.subType===R})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(R,j){P(this),g(this._seriesIndices,function(H){var K=this._componentsMap.get("series")[H];R.call(j,K,H)},this)},eachRawSeries:function(R,j){g(this._componentsMap.get("series"),R,j)},eachSeriesByType:function(R,j,H){P(this),g(this._seriesIndices,function(K){var U=this._componentsMap.get("series")[K];U.subType===R&&j.call(H,U,K)},this)},eachRawSeriesByType:function(R,j,H){return g(this.getSeriesByType(R),j,H)},isSeriesFiltered:function(R){return P(this),this._seriesIndicesMap.get(R.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(R,j){P(this);var H=v(this._componentsMap.get("series"),R,j);F(this,H)},restoreData:function(R){var j=this._componentsMap;F(this,j.get("series"));var H=[];j.each(function(K,U){H.push(U)}),p.topologicalTravel(H,p.getAllClassMainTypes(),function(K,U){g(j.get(K),function(G){(K!=="series"||!_(G,R))&&G.restoreData()})})}});function _(R,j){if(j){var H=j.seiresIndex,K=j.seriesId,U=j.seriesName;return H!=null&&R.componentIndex!==H||K!=null&&R.id!==K||U!=null&&R.name!==U}}function E(R,j){var H=R.color&&!R.colorLayer;g(j,function(K,U){if(U==="colorLayer"&&H)return;p.hasClass(U)||(typeof K=="object"?R[U]=R[U]?s(R[U],K,!1):r(K):R[U]==null&&(R[U]=K))})}function I(R){R=R,this.option={},this.option[C]=1,this._componentsMap=n({series:[]}),this._seriesIndices,this._seriesIndicesMap,E(R,this._theme.option),s(R,m,!1),this.mergeOption(R)}function L(R,j){l(j)||(j=j?[j]:[]);var H={};return g(j,function(K){H[K]=(R.get(K)||[]).slice()}),H}function D(R,j,H){var K=j.type?j.type:H?H.subType:p.determineSubType(R,j);return K}function F(R,j){R._seriesIndicesMap=n(R._seriesIndices=f(j,function(H){return H.componentIndex})||[])}function N(R,j){return j.hasOwnProperty("subType")?v(R,function(H){return H.subType===j.subType}):R}function P(R){}a(T,S);var W=T;k.exports=W},fu2T:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("3dVZ"),g=d.n(b)},fyUT:function(k,B,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),g=d.n(b),v=d("TSYQ"),f=d.n(v),l=d("Ff2n"),u=d("VTBJ"),o=d("1OyB"),e=d("vuIU"),n=d("Ji7U"),i=d("LK+K"),r=d("4IlW");function s(){}function t(N){N.preventDefault()}var a=function(P){return P.replace(/[^\w.-]+/g,"")},c=200,h=600,p=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,m=function(P){return P!=null},S=function(P,W){return W===P||typeof W=="number"&&typeof P=="number"&&isNaN(W)&&isNaN(P)},y=function(N){Object(n.a)(W,N);var P=Object(i.a)(W);function W(R){var j;Object(o.a)(this,W),j=P.call(this,R),j.onKeyDown=function(U){var G=j.props,z=G.onKeyDown,Y=G.onPressEnter;if(U.keyCode===r.a.UP){var q=j.getRatio(U);j.up(U,q,null),j.stop()}else if(U.keyCode===r.a.DOWN){var oe=j.getRatio(U);j.down(U,oe,null),j.stop()}else U.keyCode===r.a.ENTER&&Y&&Y(U);if(j.recordCursorPosition(),j.lastKeyCode=U.keyCode,z){for(var ie=arguments.length,se=new Array(ie>1?ie-1:0),he=1;he<ie;he++)se[he-1]=arguments[he];z.apply(void 0,[U].concat(se))}},j.onKeyUp=function(U){var G=j.props.onKeyUp;if(j.stop(),j.recordCursorPosition(),G){for(var z=arguments.length,Y=new Array(z>1?z-1:0),q=1;q<z;q++)Y[q-1]=arguments[q];G.apply(void 0,[U].concat(Y))}},j.onChange=function(U){var G=j.props.onChange;j.state.focused&&(j.inputting=!0),j.rawInput=j.props.parser(j.getValueFromEvent(U)),j.setState({inputValue:j.rawInput}),G(j.toNumber(j.rawInput))},j.onMouseUp=function(){var U=j.props.onMouseUp;j.recordCursorPosition(),U&&U.apply(void 0,arguments)},j.onFocus=function(){var U;j.setState({focused:!0}),(U=j.props).onFocus.apply(U,arguments)},j.onBlur=function(){var U=j.props.onBlur;j.inputting=!1,j.setState({focused:!1});var G=j.getCurrentValidValue(j.state.inputValue),z=j.setValue(G,s);if(U){var Y=j.input.value,q=j.getInputDisplayValue({focus:!1,value:z});j.input.value=q,U.apply(void 0,arguments),j.input.value=Y}},j.getRatio=function(U){var G=1;return U.metaKey||U.ctrlKey?G=.1:U.shiftKey&&(G=10),G},j.getFullNum=function(U){return isNaN(U)?U:/e/i.test(String(U))?Number(U).toFixed(18).replace(/\.?0+$/,""):U},j.getPrecision=function(U){if(m(j.props.precision))return j.props.precision;var G=String(U);if(G.indexOf("e-")>=0)return parseInt(G.slice(G.indexOf("e-")+2),10);var z=0;return G.indexOf(".")>=0&&(z=G.length-G.indexOf(".")-1),z},j.getInputDisplayValue=function(U){var G=U||j.state,z=G.focused,Y=G.inputValue,q=G.value,oe;z?oe=Y:oe=j.toPrecisionAsStep(q),oe==null&&(oe="");var ie=j.formatWrapper(oe);return m(j.props.decimalSeparator)&&(ie=ie.toString().replace(".",j.props.decimalSeparator)),ie},j.recordCursorPosition=function(){try{j.cursorStart=j.input.selectionStart,j.cursorEnd=j.input.selectionEnd,j.currentValue=j.input.value,j.cursorBefore=j.input.value.substring(0,j.cursorStart),j.cursorAfter=j.input.value.substring(j.cursorEnd)}catch(U){}},j.restoreByAfter=function(U){if(U===void 0)return!1;var G=j.input.value,z=G.lastIndexOf(U);if(z===-1)return!1;var Y=j.cursorBefore.length;return j.lastKeyCode===r.a.DELETE&&j.cursorBefore.charAt(Y-1)===U[0]?(j.fixCaret(Y,Y),!0):z+U.length===G.length?(j.fixCaret(z,z),!0):!1},j.partRestoreByAfter=function(U){return U===void 0?!1:Array.prototype.some.call(U,function(G,z){var Y=U.substring(z);return j.restoreByAfter(Y)})},j.isNotCompleteNumber=function(U){return isNaN(U)||U===""||U===null||U&&U.toString().indexOf(".")===U.toString().length-1},j.stop=function(){j.autoStepTimer&&clearTimeout(j.autoStepTimer)},j.down=function(U,G,z){j.pressingUpOrDown=!0,j.step("down",U,G,z)},j.up=function(U,G,z){j.pressingUpOrDown=!0,j.step("up",U,G,z)},j.saveInput=function(U){j.input=U};var H=R.value;H===void 0&&(H=R.defaultValue),j.state={focused:R.autoFocus};var K=j.getValidValue(j.toNumber(H));return j.state=Object(u.a)(Object(u.a)({},j.state),{},{inputValue:j.toPrecisionAsStep(K),value:K}),j}return Object(e.a)(W,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(j){var H=this.props,K=H.value,U=H.onChange,G=H.max,z=H.min,Y=this.state.focused;if(j){if(!S(j.value,K)||!S(j.max,G)||!S(j.min,z)){var q=Y?K:this.getValidValue(K),oe;this.pressingUpOrDown?oe=q:this.inputting?oe=this.rawInput:oe=this.toPrecisionAsStep(q),this.setState({value:q,inputValue:oe})}var ie="value"in this.props?K:this.state.value;"max"in this.props&&j.max!==G&&typeof ie=="number"&&ie>G&&U&&U(G),"min"in this.props&&j.min!==z&&typeof ie=="number"&&ie<z&&U&&U(z)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var se=this.getInputDisplayValue(this.state).length;this.cursorAfter?this.lastKeyCode===r.a.BACKSPACE?se=this.cursorStart-1:this.lastKeyCode===r.a.DELETE&&(se=this.cursorStart):se=this.input.value.length,this.fixCaret(se,se)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case r.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case r.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(he){}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(j){var H=j;return H===""?H="":this.isNotCompleteNumber(parseFloat(H))?H=this.state.value:H=this.getValidValue(H),this.toNumber(H)}},{key:"getValueFromEvent",value:function(j){var H=j.target.value.trim().replace(/。/g,".");return m(this.props.decimalSeparator)&&(H=H.replace(this.props.decimalSeparator,".")),H}},{key:"getValidValue",value:function(j){var H=this.props,K=H.min,U=H.max,G=parseFloat(j);return isNaN(G)?j:(G<K&&(G=K),G>U&&(G=U),G)}},{key:"setValue",value:function(j,H){var K=this.props.precision,U=this.isNotCompleteNumber(parseFloat(j))?null:parseFloat(j),G=this.state.value,z=G===void 0?null:G,Y=this.state.inputValue,q=Y===void 0?null:Y,oe=typeof U=="number"?U.toFixed(K):"".concat(U),ie=U!==z||oe!=="".concat(q);return"value"in this.props?(q=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:q},H)):this.setState({value:U,inputValue:this.toPrecisionAsStep(j)},H),ie&&this.props.onChange(U),U}},{key:"getMaxPrecision",value:function(j){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,K=this.props,U=K.precision,G=K.step;if(m(U))return U;var z=this.getPrecision(H),Y=this.getPrecision(G),q=this.getPrecision(j);return j?Math.max(q,z+Y):z+Y}},{key:"getPrecisionFactor",value:function(j){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,K=this.getMaxPrecision(j,H);return Math.pow(10,K)}},{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(j){return this.props.formatter?this.props.formatter(j):j}},{key:"toPrecisionAsStep",value:function(j){if(this.isNotCompleteNumber(j)||j==="")return j;var H=Math.abs(this.getMaxPrecision(j));return isNaN(H)?j.toString():Number(j).toFixed(H)}},{key:"toNumber",value:function(j){var H=this.props.precision,K=this.state.focused,U=j&&j.length>16&&K;return this.isNotCompleteNumber(j)||U?j:m(H)?Math.round(j*Math.pow(10,H))/Math.pow(10,H):Number(j)}},{key:"upStep",value:function(j,H){var K=this.props.step,U=this.getPrecisionFactor(j,H),G=Math.abs(this.getMaxPrecision(j,H)),z=((U*j+U*Number(K)*H)/U).toFixed(G);return this.toNumber(z)}},{key:"downStep",value:function(j,H){var K=this.props.step,U=this.getPrecisionFactor(j,H),G=Math.abs(this.getMaxPrecision(j,H)),z=((U*j-U*Number(K)*H)/U).toFixed(G);return this.toNumber(z)}},{key:"step",value:function(j,H){var K=this,U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,G=arguments.length>3?arguments[3]:void 0;this.stop(),this.recordCursorPosition(),H&&(H.persist(),H.preventDefault());var z=this.props;if(z.disabled)return;var Y=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(Y))return;var q=this["".concat(j,"Step")](Y,U),oe=q>z.max||q<z.min;if(q>z.max?q=z.max:q<z.min&&(q=z.min),this.setValue(q,null),z.onStep&&z.onStep(q,{offset:U,type:j}),this.setState({focused:!0},function(){K.pressingUpOrDown=!1}),oe)return;this.autoStepTimer=setTimeout(function(){K[j](H,U,!0)},G?c:h)}},{key:"fixCaret",value:function(j,H){if(j===void 0||H===void 0||!this.input||!this.input.value)return;try{var K=this.input.selectionStart,U=this.input.selectionEnd;(j!==K||H!==U)&&this.input.setSelectionRange(j,H)}catch(G){}}},{key:"render",value:function(){var j,H=this.props,K=H.prefixCls,U=H.disabled,G=H.readOnly,z=H.useTouch,Y=H.autoComplete,q=H.upHandler,oe=H.downHandler,ie=H.className,se=H.max,he=H.min,pe=H.style,_e=H.title,De=H.onMouseEnter,Xe=H.onMouseLeave,J=H.onMouseOver,Ee=H.onMouseOut,qe=H.required,ae=H.onClick,V=H.tabIndex,X=H.type,Z=H.placeholder,ge=H.id,le=H.inputMode,Se=H.pattern,me=H.step,$=H.maxLength,we=H.autoFocus,xe=H.name,We=H.onPaste,st=H.onInput,nt=Object(l.a)(H,["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"]),Ne=this.state,St=Ne.value,Ye=Ne.focused,vt=f()(K,(j={},Object(A.a)(j,ie,!!ie),Object(A.a)(j,"".concat(K,"-disabled"),U),Object(A.a)(j,"".concat(K,"-focused"),Ye),j)),It={};Object.keys(nt).forEach(function(rt){(rt.substr(0,5)==="data-"||rt.substr(0,5)==="aria-"||rt==="role")&&(It[rt]=nt[rt])});var Ut=!G&&!U,xt=this.getInputDisplayValue(null),Bt=(St||St===0)&&(isNaN(St)||Number(St)>=se),Qe=(St||St===0)&&(isNaN(St)||Number(St)<=he),te=Bt||U||G,Q=Qe||U||G,Me=f()("".concat(K,"-handler"),"".concat(K,"-handler-up"),Object(A.a)({},"".concat(K,"-handler-up-disabled"),te)),Ce=f()("".concat(K,"-handler"),"".concat(K,"-handler-down"),Object(A.a)({},"".concat(K,"-handler-down-disabled"),Q)),ue=z?{onTouchStart:te?s:this.up,onTouchEnd:this.stop}:{onMouseDown:te?s:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},ot=z?{onTouchStart:Q?s:this.down,onTouchEnd:this.stop}:{onMouseDown:Q?s:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return g.a.createElement("div",{className:vt,style:pe,title:_e,onMouseEnter:De,onMouseLeave:Xe,onMouseOver:J,onMouseOut:Ee,onFocus:function(){return null},onBlur:function(){return null}},g.a.createElement("div",{className:"".concat(K,"-handler-wrap")},g.a.createElement("span",Object(w.a)({unselectable:"on"},ue,{role:"button","aria-label":"Increase Value","aria-disabled":te,className:Me}),q||g.a.createElement("span",{unselectable:"on",className:"".concat(K,"-handler-up-inner"),onClick:t})),g.a.createElement("span",Object(w.a)({unselectable:"on"},ot,{role:"button","aria-label":"Decrease Value","aria-disabled":Q,className:Ce}),oe||g.a.createElement("span",{unselectable:"on",className:"".concat(K,"-handler-down-inner"),onClick:t}))),g.a.createElement("div",{className:"".concat(K,"-input-wrap")},g.a.createElement("input",Object(w.a)({role:"spinbutton","aria-valuemin":he,"aria-valuemax":se,"aria-valuenow":St,required:qe,type:X,placeholder:Z,onPaste:We,onClick:ae,onMouseUp:this.onMouseUp,className:"".concat(K,"-input"),tabIndex:V,autoComplete:Y,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:Ut?this.onKeyDown:s,onKeyUp:Ut?this.onKeyUp:s,autoFocus:we,maxLength:$,readOnly:G,disabled:U,max:se,min:he,step:me,name:xe,title:_e,id:ge,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(xt),pattern:Se,inputMode:le,onInput:st},It))))}}]),W}(g.a.Component);y.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:p,min:-p,step:1,style:{},onChange:s,onKeyDown:s,onPressEnter:s,onFocus:s,onBlur:s,parser:a,required:!1,autoComplete:"off"};var x=y,C=x,T=d("y3Kf"),_=d("8Skl"),E=d("H84U"),I=d("3Nzz"),L=function(N,P){var W={};for(var R in N)Object.prototype.hasOwnProperty.call(N,R)&&P.indexOf(R)<0&&(W[R]=N[R]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,R=Object.getOwnPropertySymbols(N);j<R.length;j++)P.indexOf(R[j])<0&&Object.prototype.propertyIsEnumerable.call(N,R[j])&&(W[R[j]]=N[R[j]]);return W},D=b.forwardRef(function(N,P){var W,R=b.useContext(E.b),j=R.getPrefixCls,H=R.direction,K=b.useContext(I.b),U=N.className,G=N.size,z=N.prefixCls,Y=N.readOnly,q=L(N,["className","size","prefixCls","readOnly"]),oe=j("input-number",z),ie=b.createElement(T.a,{className:"".concat(oe,"-handler-up-inner")}),se=b.createElement(_.a,{className:"".concat(oe,"-handler-down-inner")}),he=G||K,pe=f()((W={},Object(A.a)(W,"".concat(oe,"-lg"),he==="large"),Object(A.a)(W,"".concat(oe,"-sm"),he==="small"),Object(A.a)(W,"".concat(oe,"-rtl"),H==="rtl"),Object(A.a)(W,"".concat(oe,"-readonly"),Y),W),U);return b.createElement(C,Object(w.a)({ref:P,className:pe,upHandler:ie,downHandler:se,prefixCls:oe,readOnly:Y},q))});D.defaultProps={step:1};var F=B.a=D},g0SD:function(k,B,d){var w=d("bYtY"),A=d("9wZj"),b=d("OELB"),g=d("YXkt"),v=d("kj2x"),f=d("iPDy");function l(e,n,i){var r=n.coordinateSystem;e.each(function(s){var t=e.getItemModel(s),a,c=b.parsePercent(t.get("x"),i.getWidth()),h=b.parsePercent(t.get("y"),i.getHeight());if(!isNaN(c)&&!isNaN(h))a=[c,h];else if(n.getMarkerPosition)a=n.getMarkerPosition(e.getValues(e.dimensions,s));else if(r){var p=e.get(r.dimensions[0],s),m=e.get(r.dimensions[1],s);a=r.dataToPoint([p,m])}isNaN(c)||(a[0]=c),isNaN(h)||(a[1]=h),e.setItemLayout(s,a)})}var u=f.extend({type:"markPoint",updateTransform:function(e,n,i){n.eachSeries(function(r){var s=r.markPointModel;s&&(l(s.getData(),r,i),this.markerGroupMap.get(r.id).updateLayout(s))},this)},renderSeries:function(e,n,i,r){var s=e.coordinateSystem,t=e.id,a=e.getData(),c=this.markerGroupMap,h=c.get(t)||c.set(t,new A),p=o(s,e,n);n.setData(p),l(n.getData(),e,r),p.each(function(m){var S=p.getItemModel(m),y=S.getShallow("symbol"),x=S.getShallow("symbolSize"),C=w.isFunction(y),T=w.isFunction(x);if(C||T){var _=n.getRawValue(m),E=n.getDataParams(m);C&&(y=y(_,E)),T&&(x=x(_,E))}p.setItemVisual(m,{symbol:y,symbolSize:x,color:S.get("itemStyle.color")||a.getVisual("color")})}),h.updateData(p),this.group.add(h.group),p.eachItemGraphicEl(function(m){m.traverse(function(S){S.dataModel=n})}),h.__keep=!0,h.group.silent=n.get("silent")||e.get("silent")}});function o(e,n,i){var r;e?r=w.map(e&&e.dimensions,function(a){var c=n.getData().getDimensionInfo(n.getData().mapDimension(a))||{};return w.defaults({name:a},c)}):r=[{name:"value",type:"float"}];var s=new g(r,i),t=w.map(i.get("data"),w.curry(v.dataTransform,n));return e&&(t=w.filter(t,w.curry(v.dataFilter,e))),s.initData(t,null,e?v.dimValueGetter:function(a){return a.value}),s}k.exports=u},g7p0:function(k,B,d){var w=d("bYtY"),A=d("bLfw"),b=d("+TT/"),g=b.getLayoutParams,v=b.sizeCalculable,f=b.mergeLayoutParam,l=A.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(e,n,i,r){var s=g(e);l.superApply(this,"init",arguments),u(e,s)},mergeOption:function(e,n){l.superApply(this,"mergeOption",arguments),u(this.option,e)}});function u(e,n){var i=e.cellSize;w.isArray(i)?i.length===1&&(i[1]=i[0]):i=e.cellSize=[i,i];var r=w.map([0,1],function(s){return v(n,s)&&(i[s]="auto"),i[s]!=null&&i[s]!=="auto"});f(e,n,{type:"box",ignoreSize:r})}var o=l;k.exports=o},g9YV:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("pED+"),g=d.n(b),v=d("+L6B"),f=d("R9oj"),l=d("7Kak"),u=d("sRBo"),o=d("qVdP"),e=d("T2oS"),n=d("DjyN"),i=d("5Dmo")},gIYZ:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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"};B.default=w},gK9i:function(k,B,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),g=d("KQm4"),v=d("1OyB"),f=d("vuIU"),l=d("Ji7U"),u=d("LK+K"),o=d("U8pU"),e=d("TSYQ"),n=d.n(e),i=d("Gytx"),r=d.n(i),s=d("Zm9Q"),t=d("8XRh"),a=d("ODXe"),c=b.forwardRef(function(H,K){var U,G=H.prefixCls,z=H.forceRender,Y=H.className,q=H.style,oe=H.children,ie=H.isActive,se=H.role,he=b.useState(ie||z),pe=Object(a.a)(he,2),_e=pe[0],De=pe[1];return b.useEffect(function(){(z||ie)&&De(!0)},[z,ie]),_e?b.createElement("div",{ref:K,className:n()("".concat(G,"-content"),(U={},Object(A.a)(U,"".concat(G,"-content-active"),ie),Object(A.a)(U,"".concat(G,"-content-inactive"),!ie),U),Y),style:q,role:se},b.createElement("div",{className:"".concat(G,"-content-box")},oe)):null});c.displayName="PanelContent";var h=c,p=function(H){Object(l.a)(U,H);var K=Object(u.a)(U);function U(){var G;Object(v.a)(this,U);for(var z=arguments.length,Y=new Array(z),q=0;q<z;q++)Y[q]=arguments[q];return G=K.call.apply(K,[this].concat(Y)),G.handleItemClick=function(){var oe=G.props,ie=oe.onItemClick,se=oe.panelKey;typeof ie=="function"&&ie(se)},G.handleKeyPress=function(oe){(oe.key==="Enter"||oe.keyCode===13||oe.which===13)&&G.handleItemClick()},G}return Object(f.a)(U,[{key:"shouldComponentUpdate",value:function(z){return!r()(this.props,z)}},{key:"render",value:function(){var z,Y,q=this,oe=this.props,ie=oe.className,se=oe.id,he=oe.style,pe=oe.prefixCls,_e=oe.header,De=oe.headerClass,Xe=oe.children,J=oe.isActive,Ee=oe.showArrow,qe=oe.destroyInactivePanel,ae=oe.accordion,V=oe.forceRender,X=oe.openMotion,Z=oe.expandIcon,ge=oe.extra,le=oe.collapsible,Se=le==="disabled",me=n()("".concat(pe,"-header"),(z={},Object(A.a)(z,De,De),Object(A.a)(z,"".concat(pe,"-header-collapsible-only"),le==="header"),z)),$=n()((Y={},Object(A.a)(Y,"".concat(pe,"-item"),!0),Object(A.a)(Y,"".concat(pe,"-item-active"),J),Object(A.a)(Y,"".concat(pe,"-item-disabled"),Se),Y),ie),we=b.createElement("i",{className:"arrow"});Ee&&typeof Z=="function"&&(we=Z(this.props));var xe=ge!=null&&typeof ge!="boolean";return b.createElement("div",{className:$,style:he,id:se},b.createElement("div",{className:me,onClick:function(){return le!=="header"&&q.handleItemClick()},role:ae?"tab":"button",tabIndex:Se?-1:0,"aria-expanded":J,onKeyPress:this.handleKeyPress},Ee&&we,le==="header"?b.createElement("span",{onClick:this.handleItemClick,className:"".concat(pe,"-header-text")},_e):_e,xe&&b.createElement("div",{className:"".concat(pe,"-extra")},ge)),b.createElement(t.default,Object(w.a)({visible:J,leavedClassName:"".concat(pe,"-content-hidden")},X,{forceRender:V,removeOnLeave:qe}),function(We,st){var nt=We.className,Ne=We.style;return b.createElement(h,{ref:st,prefixCls:pe,className:nt,style:Ne,isActive:J,forceRender:V,role:ae?"tabpanel":null},Xe)}))}}]),U}(b.Component);p.defaultProps={showArrow:!0,isActive:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var m=p;function S(H){var K=H;if(!Array.isArray(K)){var U=Object(o.a)(K);K=U==="number"||U==="string"?[K]:[]}return K.map(function(G){return String(G)})}var y=function(H){Object(l.a)(U,H);var K=Object(u.a)(U);function U(G){var z;Object(v.a)(this,U),z=K.call(this,G),z.onClickItem=function(ie){var se=z.state.activeKey;if(z.props.accordion)se=se[0]===ie?[]:[ie];else{se=Object(g.a)(se);var he=se.indexOf(ie),pe=he>-1;pe?se.splice(he,1):se.push(ie)}z.setActiveKey(se)},z.getNewChild=function(ie,se){if(!ie)return null;var he=z.state.activeKey,pe=z.props,_e=pe.prefixCls,De=pe.openMotion,Xe=pe.accordion,J=pe.destroyInactivePanel,Ee=pe.expandIcon,qe=pe.collapsible,ae=ie.key||String(se),V=ie.props,X=V.header,Z=V.headerClass,ge=V.destroyInactivePanel,le=V.collapsible,Se=!1;Xe?Se=he[0]===ae:Se=he.indexOf(ae)>-1;var me=le!=null?le:qe,$={key:ae,panelKey:ae,header:X,headerClass:Z,isActive:Se,prefixCls:_e,destroyInactivePanel:ge!=null?ge:J,openMotion:De,accordion:Xe,children:ie.props.children,onItemClick:me==="disabled"?null:z.onClickItem,expandIcon:Ee,collapsible:me};return typeof ie.type=="string"?ie:b.cloneElement(ie,$)},z.getItems=function(){var ie=z.props.children;return Object(s.a)(ie).map(z.getNewChild)},z.setActiveKey=function(ie){"activeKey"in z.props||z.setState({activeKey:ie}),z.props.onChange(z.props.accordion?ie[0]:ie)};var Y=G.activeKey,q=G.defaultActiveKey,oe=q;return"activeKey"in G&&(oe=Y),z.state={activeKey:S(oe)},z}return Object(f.a)(U,[{key:"shouldComponentUpdate",value:function(z,Y){return!r()(this.props,z)||!r()(this.state,Y)}},{key:"render",value:function(){var z,Y=this.props,q=Y.prefixCls,oe=Y.className,ie=Y.style,se=Y.accordion,he=n()((z={},Object(A.a)(z,q,!0),Object(A.a)(z,oe,!!oe),z));return b.createElement("div",{className:he,style:ie,role:se?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(z){var Y={};return"activeKey"in z&&(Y.activeKey=S(z.activeKey)),Y}}]),U}(b.Component);y.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},y.Panel=m;var x=y,C=x,T=x.Panel,_=d("UESt"),E=d("bT9E"),I=d("H84U"),L=d("uaoM"),D=function(K){Object(L.a)(!("disabled"in K),"Collapse.Panel",'`disabled` is deprecated. Please use `collapsible="disabled"` instead.');var U=b.useContext(I.b),G=U.getPrefixCls,z=K.prefixCls,Y=K.className,q=Y===void 0?"":Y,oe=K.showArrow,ie=oe===void 0?!0:oe,se=G("collapse",z),he=n()(Object(A.a)({},"".concat(se,"-no-arrow"),!ie),q);return b.createElement(C.Panel,Object(w.a)({},K,{prefixCls:se,className:he}))},F=D,N=d("EXcs"),P=d("0n0R"),W=function(K){var U,G=b.useContext(I.b),z=G.getPrefixCls,Y=G.direction,q=K.prefixCls,oe=K.className,ie=oe===void 0?"":oe,se=K.bordered,he=se===void 0?!0:se,pe=K.ghost,_e=z("collapse",q),De=function(){var X=K.expandIconPosition;return X!==void 0?X:Y==="rtl"?"right":"left"},Xe=function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Z=K.expandIcon,ge=Z?Z(X):b.createElement(_.a,{rotate:X.isActive?90:void 0});return Object(P.a)(ge,function(){return{className:n()(ge.props.className,"".concat(_e,"-arrow"))}})},J=De(),Ee=n()((U={},Object(A.a)(U,"".concat(_e,"-borderless"),!he),Object(A.a)(U,"".concat(_e,"-icon-position-").concat(J),!0),Object(A.a)(U,"".concat(_e,"-rtl"),Y==="rtl"),Object(A.a)(U,"".concat(_e,"-ghost"),!!pe),U),ie),qe=Object(w.a)(Object(w.a)({},N.a),{motionAppear:!1,leavedClassName:"".concat(_e,"-content-hidden")}),ae=function(){var X=K.children;return Object(s.a)(X).map(function(Z,ge){var le;if((le=Z.props)===null||le===void 0?void 0:le.disabled){var Se=Z.key||String(ge),me=Z.props,$=me.disabled,we=me.collapsible,xe=Object(w.a)(Object(w.a)({},Object(E.a)(Z.props,["disabled"])),{key:Se,collapsible:we!=null?we:$?"disabled":void 0});return Object(P.a)(Z,xe)}return Z})};return b.createElement(C,Object(w.a)({openMotion:qe},K,{bordered:he,expandIcon:Xe,prefixCls:_e,className:Ee}),ae())};W.Panel=F;var R=W,j=B.a=R},gPAo:function(k,B){function d(g){return g}function w(g,v,f,l,u){this._old=g,this._new=v,this._oldKeyGetter=f||d,this._newKeyGetter=l||d,this.context=u}w.prototype={constructor:w,add:function(g){return this._add=g,this},update:function(g){return this._update=g,this},remove:function(g){return this._remove=g,this},execute:function(){var g=this._old,v=this._new,f={},l={},u=[],o=[],e;for(A(g,f,u,"_oldKeyGetter",this),A(v,l,o,"_newKeyGetter",this),e=0;e<g.length;e++){var n=u[e],i=l[n];if(i!=null){var r=i.length;r?(r===1&&(l[n]=null),i=i.shift()):l[n]=null,this._update&&this._update(i,e)}else this._remove&&this._remove(e)}for(var e=0;e<o.length;e++){var n=o[e];if(l.hasOwnProperty(n)){var i=l[n];if(i==null)continue;if(!i.length)this._add&&this._add(i);else for(var s=0,r=i.length;s<r;s++)this._add&&this._add(i[s])}}}};function A(g,v,f,l,u){for(var o=0;o<g.length;o++){var e="_ec_"+u[l](g[o],o),n=v[e];n==null?(f.push(e),v[e]=o):(n.length||(v[e]=n=[n]),n.push(o))}}var b=w;k.exports=b},gRFJ:function(k,B,d){k.exports=[d("rdUC"),d("ynwM"),d("RELg"),d("DlR+"),d("CrYA"),d("PD8m")]},gUdW:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="MinusSquareOutlined";var l=B.a=A.forwardRef(f)},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(k){return k<10?"0"+k:k}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(k){return rx_escapable.lastIndex=0,rx_escapable.test(k)?'"'+k.replace(rx_escapable,function(B){var d=meta[B];return typeof d=="string"?d:"\\u"+("0000"+B.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+k+'"'}function str(k,B){var d,w,A,b,g=gap,v,f=B[k];f&&typeof f=="object"&&typeof f.toJSON=="function"&&(f=f.toJSON(k)),typeof rep=="function"&&(f=rep.call(B,k,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(b=f.length,d=0;d<b;d+=1)v[d]=str(d,f)||"null";return A=v.length===0?"[]":gap?`[
`+gap+v.join(`,
`+gap)+`
`+g+"]":"["+v.join(",")+"]",gap=g,A}if(rep&&typeof rep=="object")for(b=rep.length,d=0;d<b;d+=1)typeof rep[d]=="string"&&(w=rep[d],A=str(w,f),A&&v.push(quote(w)+(gap?": ":":")+A));else for(w in f)Object.prototype.hasOwnProperty.call(f,w)&&(A=str(w,f),A&&v.push(quote(w)+(gap?": ":":")+A));return A=v.length===0?"{}":gap?`{
`+gap+v.join(`,
`+gap)+`
`+g+"}":"{"+v.join(",")+"}",gap=g,A}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(k,B,d){var w;if(gap="",indent="",typeof d=="number")for(w=0;w<d;w+=1)indent+=" ";else typeof d=="string"&&(indent=d);if(rep=B,B&&typeof B!="function"&&(typeof B!="object"||typeof B.length!="number"))throw new Error("JSON.stringify");return str("",{"":k})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(k,B){var d,w,A=k[B];if(A&&typeof A=="object")for(d in A)Object.prototype.hasOwnProperty.call(A,d)&&(w=walk(A,d),w!==void 0?A[d]=w:delete A[d]);return reviver.call(k,B,A)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(k){return"\\u"+("0000"+k.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(k,B,d){var w=d("+TT/"),A=d("bYtY"),b=d("4NO4"),g=b.groupData;function v(I,L,D){I.eachSeriesByType("sankey",function(F){var N=F.get("nodeWidth"),P=F.get("nodeGap"),W=f(F,L);F.layoutInfo=W;var R=W.width,j=W.height,H=F.getGraph(),K=H.nodes,U=H.edges;u(K);var G=A.filter(K,function(oe){return oe.getLayout().value===0}),z=G.length!==0?0:F.get("layoutIterations"),Y=F.get("orient"),q=F.get("nodeAlign");l(K,U,N,P,R,j,z,Y,q)})}function f(I,L){return w.getLayoutRect(I.getBoxLayoutParams(),{width:L.getWidth(),height:L.getHeight()})}function l(I,L,D,F,N,P,W,R,j){o(I,L,D,N,P,R,j),s(I,L,P,N,F,W,R),E(I,R)}function u(I){A.each(I,function(L){var D=T(L.outEdges,C),F=T(L.inEdges,C),N=L.getValue()||0,P=Math.max(D,F,N);L.setLayout({value:P},!0)})}function o(I,L,D,F,N,P,W){for(var R=[],j=[],H=[],K=[],U=0,G=0,z=0;z<L.length;z++)R[z]=1;for(z=0;z<I.length;z++)j[z]=I[z].inEdges.length,j[z]===0&&H.push(I[z]);for(var Y=-1;H.length;){for(var q=0;q<H.length;q++){var oe=H[q],ie=oe.hostGraph.data.getRawDataItem(oe.dataIndex),se=ie.depth!=null&&ie.depth>=0;se&&ie.depth>Y&&(Y=ie.depth),oe.setLayout({depth:se?ie.depth:U},!0),P==="vertical"?oe.setLayout({dy:D},!0):oe.setLayout({dx:D},!0);for(var he=0;he<oe.outEdges.length;he++){var pe=oe.outEdges[he],_e=L.indexOf(pe);R[_e]=0;var De=pe.node2,Xe=I.indexOf(De);--j[Xe]===0&&K.indexOf(De)<0&&K.push(De)}}++U,H=K,K=[]}for(z=0;z<R.length;z++)if(R[z]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var J=Y>U-1?Y:U-1;W&&W!=="left"&&n(I,W,P,J);var G=P==="vertical"?(N-D)/J:(F-D)/J;r(I,G,P)}function e(I){var L=I.hostGraph.data.getRawDataItem(I.dataIndex);return L.depth!=null&&L.depth>=0}function n(I,L,D,F){if(L==="right"){for(var N=[],P=I,W=0;P.length;){for(var R=0;R<P.length;R++){var j=P[R];j.setLayout({skNodeHeight:W},!0);for(var H=0;H<j.inEdges.length;H++){var K=j.inEdges[H];N.indexOf(K.node1)<0&&N.push(K.node1)}}P=N,N=[],++W}A.each(I,function(U){e(U)||U.setLayout({depth:Math.max(0,F-U.getLayout().skNodeHeight)},!0)})}else L==="justify"&&i(I,F)}function i(I,L){A.each(I,function(D){!e(D)&&!D.outEdges.length&&D.setLayout({depth:L},!0)})}function r(I,L,D){A.each(I,function(F){var N=F.getLayout().depth*L;D==="vertical"?F.setLayout({y:N},!0):F.setLayout({x:N},!0)})}function s(I,L,D,F,N,P,W){var R=t(I,W);a(R,L,D,F,N,W),c(R,N,D,F,W);for(var j=1;P>0;P--)j*=.99,h(R,j,W),c(R,N,D,F,W),_(R,j,W),c(R,N,D,F,W)}function t(I,L){var D=[],F=L==="vertical"?"y":"x",N=g(I,function(P){return P.getLayout()[F]});return N.keys.sort(function(P,W){return P-W}),A.each(N.keys,function(P){D.push(N.buckets.get(P))}),D}function a(I,L,D,F,N,P){var W=Infinity;A.each(I,function(R){var j=R.length,H=0;A.each(R,function(U){H+=U.getLayout().value});var K=P==="vertical"?(F-(j-1)*N)/H:(D-(j-1)*N)/H;K<W&&(W=K)}),A.each(I,function(R){A.each(R,function(j,H){var K=j.getLayout().value*W;P==="vertical"?(j.setLayout({x:H},!0),j.setLayout({dx:K},!0)):(j.setLayout({y:H},!0),j.setLayout({dy:K},!0))})}),A.each(L,function(R){var j=+R.getValue()*W;R.setLayout({dy:j},!0)})}function c(I,L,D,F,N){var P=N==="vertical"?"x":"y";A.each(I,function(W){W.sort(function(q,oe){return q.getLayout()[P]-oe.getLayout()[P]});for(var R,j,H,K=0,U=W.length,G=N==="vertical"?"dx":"dy",z=0;z<U;z++)j=W[z],H=K-j.getLayout()[P],H>0&&(R=j.getLayout()[P]+H,N==="vertical"?j.setLayout({x:R},!0):j.setLayout({y:R},!0)),K=j.getLayout()[P]+j.getLayout()[G]+L;var Y=N==="vertical"?F:D;if(H=K-L-Y,H>0)for(R=j.getLayout()[P]-H,N==="vertical"?j.setLayout({x:R},!0):j.setLayout({y:R},!0),K=R,z=U-2;z>=0;--z)j=W[z],H=j.getLayout()[P]+j.getLayout()[G]+L-K,H>0&&(R=j.getLayout()[P]-H,N==="vertical"?j.setLayout({x:R},!0):j.setLayout({y:R},!0)),K=j.getLayout()[P]})}function h(I,L,D){A.each(I.slice().reverse(),function(F){A.each(F,function(N){if(N.outEdges.length){var P=T(N.outEdges,p,D)/T(N.outEdges,C,D);if(isNaN(P)){var W=N.outEdges.length;P=W?T(N.outEdges,m,D)/W:0}if(D==="vertical"){var R=N.getLayout().x+(P-x(N,D))*L;N.setLayout({x:R},!0)}else{var j=N.getLayout().y+(P-x(N,D))*L;N.setLayout({y:j},!0)}}})})}function p(I,L){return x(I.node2,L)*I.getValue()}function m(I,L){return x(I.node2,L)}function S(I,L){return x(I.node1,L)*I.getValue()}function y(I,L){return x(I.node1,L)}function x(I,L){return L==="vertical"?I.getLayout().x+I.getLayout().dx/2:I.getLayout().y+I.getLayout().dy/2}function C(I){return I.getValue()}function T(I,L,D){for(var F=0,N=I.length,P=-1;++P<N;){var W=+L.call(I,I[P],D);isNaN(W)||(F+=W)}return F}function _(I,L,D){A.each(I,function(F){A.each(F,function(N){if(N.inEdges.length){var P=T(N.inEdges,S,D)/T(N.inEdges,C,D);if(isNaN(P)){var W=N.inEdges.length;P=W?T(N.inEdges,y,D)/W:0}if(D==="vertical"){var R=N.getLayout().x+(P-x(N,D))*L;N.setLayout({x:R},!0)}else{var j=N.getLayout().y+(P-x(N,D))*L;N.setLayout({y:j},!0)}}})})}function E(I,L){var D=L==="vertical"?"x":"y";A.each(I,function(F){F.outEdges.sort(function(N,P){return N.node2.getLayout()[D]-P.node2.getLayout()[D]}),F.inEdges.sort(function(N,P){return N.node1.getLayout()[D]-P.node1.getLayout()[D]})}),A.each(I,function(F){var N=0,P=0;A.each(F.outEdges,function(W){W.setLayout({sy:N},!0),N+=W.getLayout().dy}),A.each(F.inEdges,function(W){W.setLayout({ty:P},!0),P+=W.getLayout().dy})})}k.exports=v},"giR+":function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("QbM5"),g=d.n(b)},gut8:function(k,B){var d={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},w=9;B.ContextCachedBy=d,B.WILL_BE_RESTORED=w},gvm7:function(k,B,d){var w=d("bYtY"),A=d("dqUG");function b(v){this._zr=v.getZr(),this._show=!1,this._hideTimeout}b.prototype={constructor:b,_enterable:!0,update:function(){},show:function(v){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(v,f,l){this.el&&this._zr.remove(this.el);for(var u={},o=v,e="{marker",n="|}",i=o.indexOf(e);i>=0;){var r=o.indexOf(n),s=o.substr(i+e.length,r-i-e.length);s.indexOf("sub")>-1?u["marker"+s]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:f[s],textOffset:[3,0]}:u["marker"+s]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:f[s]},o=o.substr(r+1),i=o.indexOf("{marker")}this.el=new A({style:{rich:u,text:v,textLineHeight:20,textBackgroundColor:l.get("backgroundColor"),textBorderRadius:l.get("borderRadius"),textFill:l.get("textStyle.color"),textPadding:l.get("padding")},z:l.get("z")}),this._zr.add(this.el);var t=this;this.el.on("mouseover",function(){t._enterable&&(clearTimeout(t._hideTimeout),t._show=!0),t._inContent=!0}),this.el.on("mouseout",function(){t._enterable&&(t._show&&t.hideLater(t._hideDelay)),t._inContent=!1})},setEnterable:function(v){this._enterable=v},getSize:function(){var v=this.el.getBoundingRect();return[v.width,v.height]},moveTo:function(v,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(w.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 g=b;k.exports=g},gwTy:function(k,B,d){},h54F:function(k,B,d){var w=d("ProS"),A=d("YXkt"),b=d("bYtY"),g=d("4NO4"),v=g.defaultEmphasis,f=d("Qxkt"),l=d("7aKB"),u=l.encodeHTML,o=d("I3/A"),e=d("xKMd"),n=w.extendSeriesModel({type:"series.graph",init:function(r){n.superApply(this,"init",arguments);var s=this;function t(){return s._categoriesData}this.legendVisualProvider=new e(t,t),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeOption:function(r){n.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(r){n.superApply(this,"mergeDefaultAndTheme",arguments),v(r,["edgeLabel"],["show"])},getInitialData:function(r,s){var t=r.edges||r.links||[],a=r.data||r.nodes||[],c=this;if(a&&t)return o(a,t,this,!0,h).data;function h(p,m){p.wrapMethod("getItemModel",function(_){var E=c._categoriesModels,I=_.getShallow("category"),L=E[I];return L&&(L.parentModel=_.parentModel,_.parentModel=L),_});var S=c.getModel("edgeLabel"),y=new f({label:S.option},S.parentModel,s),x=c.getModel("emphasis.edgeLabel"),C=new f({emphasis:{label:x.option}},x.parentModel,s);m.wrapMethod("getItemModel",function(_){return _.customizeGetParent(T),_});function T(_){return _=this.parsePath(_),_&&_[0]==="label"?y:_&&_[0]==="emphasis"&&_[1]==="label"?C:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(r,s,t){if(t==="edge"){var a=this.getData(),c=this.getDataParams(r,t),h=a.graph.getEdgeByIndex(r),p=a.getName(h.node1.dataIndex),m=a.getName(h.node2.dataIndex),S=[];return p!=null&&S.push(p),m!=null&&S.push(m),S=u(S.join(" > ")),c.value&&(S+=" : "+u(c.value)),S}else return n.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var r=b.map(this.option.categories||[],function(t){return t.value!=null?t:b.extend({value:0},t)}),s=new A(["value"],this);s.initData(r),this._categoriesData=s,this._categoriesModels=s.mapArray(function(t){return s.getItemModel(t,!0)})},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r},isAnimationEnabled:function(){return n.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}}}}),i=n;k.exports=i},h7HQ:function(k,B,d){var w=d("y+Vt"),A=d("T6xi"),b=w.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(v,f){A.buildPath(v,f,!0)}});k.exports=b},h8O9:function(k,B,d){var w=d("bYtY"),A=w.map,b=d("zM3Q"),g=d("7hqr"),v=g.isDimensionStacked;function f(l){return{seriesType:l,plan:b(),reset:function(u){var o=u.getData(),e=u.coordinateSystem,n=u.pipelineContext,i=n.large;if(!e)return;var r=A(e.dimensions,function(c){return o.mapDimension(c)}).slice(0,2),s=r.length,t=o.getCalculationInfo("stackResultDimension");v(o,r[0])&&(r[0]=t),v(o,r[1])&&(r[1]=t);function a(c,h){for(var p=c.end-c.start,m=i&&new Float32Array(p*s),S=c.start,y=0,x=[],C=[];S<c.end;S++){var T;if(s===1){var _=h.get(r[0],S);T=!isNaN(_)&&e.dataToPoint(_,null,C)}else{var _=x[0]=h.get(r[0],S),E=x[1]=h.get(r[1],S);T=!isNaN(_)&&!isNaN(E)&&e.dataToPoint(x,null,C)}i?(m[y++]=T?T[0]:NaN,m[y++]=T?T[1]:NaN):h.setItemLayout(S,T&&T.slice()||[NaN,NaN])}i&&h.setLayout("symbolPoints",m)}return s&&{progress:a}}}}k.exports=f},hD7B:function(k,B,d){var w=d("bYtY"),A=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function b(v){w.each(A,function(f){this[f]=w.bind(v[f],v)},this)}var g=b;k.exports=g},hFmY:function(k,B,d){var w=d("ProS"),A={type:"axisAreaSelect",event:"axisAreaSelected"};w.registerAction(A,function(b,g){g.eachComponent({mainType:"parallelAxis",query:b},function(v){v.axis.model.setActiveIntervals(b.intervals)})}),w.registerAction("parallelAxisExpand",function(b,g){g.eachComponent({mainType:"parallel",query:b},function(v){v.setAxisExpand(b)})})},hJvP:function(k,B,d){var w=d("2dDv"),A=d("IDmD");function b(g,v){var f=[];return g.eachComponent("parallel",function(l,u){var o=new w(l,g,v);o.name="parallel_"+u,o.resize(l,v),l.coordinateSystem=o,o.model=l,f.push(o)}),g.eachSeries(function(l){if(l.get("coordinateSystem")==="parallel"){var u=g.queryComponents({mainType:"parallel",index:l.get("parallelIndex"),id:l.get("parallelId")})[0];l.coordinateSystem=u.coordinateSystem}}),f}A.register("parallel",{create:b})},hM6l:function(k,B,d){var w=d("bYtY"),A=w.each,b=w.map,g=d("OELB"),v=g.linearMap,f=g.getPixelPrecision,l=g.round,u=d("4HMb"),o=u.createAxisTicks,e=u.createAxisLabels,n=u.calculateCategoryInterval,i=[0,1],r=function(c,h,p){this.dim=c,this.scale=h,this._extent=p||[0,0],this.inverse=!1,this.onBand=!1};r.prototype={constructor:r,contain:function(c){var h=this._extent,p=Math.min(h[0],h[1]),m=Math.max(h[0],h[1]);return c>=p&&c<=m},containData:function(c){return this.scale.contain(c)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(c){return f(c||this.scale.getExtent(),this._extent)},setExtent:function(c,h){var p=this._extent;p[0]=c,p[1]=h},dataToCoord:function(c,h){var p=this._extent,m=this.scale;return c=m.normalize(c),this.onBand&&m.type==="ordinal"&&(p=p.slice(),s(p,m.count())),v(c,i,p,h)},coordToData:function(c,h){var p=this._extent,m=this.scale;this.onBand&&m.type==="ordinal"&&(p=p.slice(),s(p,m.count()));var S=v(c,p,i,h);return this.scale.scale(S)},pointToData:function(c,h){},getTicksCoords:function(c){c=c||{};var h=c.tickModel||this.getTickModel(),p=o(this,h),m=p.ticks,S=b(m,function(x){return{coord:this.dataToCoord(x),tickValue:x}},this),y=h.get("alignWithLabel");return t(this,S,y,c.clamp),S},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var c=this.model.getModel("minorTick"),h=c.get("splitNumber");h>0&&h<100||(h=5);var p=this.scale.getMinorTicks(h),m=b(p,function(S){return b(S,function(y){return{coord:this.dataToCoord(y),tickValue:y}},this)},this);return m},getViewLabels:function(){return e(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var c=this._extent,h=this.scale.getExtent(),p=h[1]-h[0]+(this.onBand?1:0);p===0&&(p=1);var m=Math.abs(c[1]-c[0]);return Math.abs(m)/p},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return n(this)}};function s(c,h){var p=c[1]-c[0],m=h,S=p/m/2;c[0]+=S,c[1]-=S}function t(c,h,p,m){var S=h.length;if(!c.onBand||p||!S)return;var y=c.getExtent(),x,C;if(S===1)h[0].coord=y[0],x=h[1]={coord:y[0]};else{var T=h[S-1].tickValue-h[0].tickValue,_=(h[S-1].coord-h[0].coord)/T;A(h,function(D){D.coord-=_/2});var E=c.scale.getExtent();C=1+E[1]-h[S-1].tickValue,x={coord:h[S-1].coord+_*C},h.push(x)}var I=y[0]>y[1];L(h[0].coord,y[0])&&(m?h[0].coord=y[0]:h.shift()),m&&L(y[0],h[0].coord)&&h.unshift({coord:y[0]}),L(y[1],x.coord)&&(m?x.coord=y[1]:h.pop()),m&&L(x.coord,y[1])&&h.push({coord:y[1]});function L(D,F){return D=l(D),F=l(F),I?D>F:D<F}}var a=r;k.exports=a},hNWo:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("Qxkt"),g=d("4NO4"),v=g.isNameSpecified,f=d("Kagy"),l=f.legend.selector,u={all:{type:"all",title:A.clone(l.all)},inverse:{type:"inverse",title:A.clone(l.inverse)}},o=w.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(n,i,r){this.mergeDefaultAndTheme(n,r),n.selected=n.selected||{},this._updateSelector(n)},mergeOption:function(n){o.superCall(this,"mergeOption",n),this._updateSelector(n)},_updateSelector:function(n){var i=n.selector;i===!0&&(i=n.selector=["all","inverse"]),A.isArray(i)&&A.each(i,function(r,s){A.isString(r)&&(r={type:r}),i[s]=A.merge(r,u[r.type])})},optionUpdated:function(){this._updateData(this.ecModel);var n=this._data;if(n[0]&&this.get("selectedMode")==="single"){for(var i=!1,r=0;r<n.length;r++){var s=n[r].get("name");if(this.isSelected(s)){this.select(s),i=!0;break}}!i&&this.select(n[0].get("name"))}},_updateData:function(n){var i=[],r=[];n.eachRawSeries(function(a){var c=a.name;r.push(c);var h;if(a.legendVisualProvider){var p=a.legendVisualProvider,m=p.getAllNames();n.isSeriesFiltered(a)||(r=r.concat(m)),m.length?i=i.concat(m):h=!0}else h=!0;h&&v(a)&&i.push(a.name)}),this._availableNames=r;var s=this.get("data")||i,t=A.map(s,function(a){return(typeof a=="string"||typeof a=="number")&&(a={name:a}),new b(a,this,this.ecModel)},this);this._data=t},getData:function(){return this._data},select:function(n){var i=this.option.selected,r=this.get("selectedMode");if(r==="single"){var s=this._data;A.each(s,function(t){i[t.get("name")]=!1})}i[n]=!0},unSelect:function(n){this.get("selectedMode")!=="single"&&(this.option.selected[n]=!1)},toggleSelected:function(n){var i=this.option.selected;i.hasOwnProperty(n)||(i[n]=!0),this[i[n]?"unSelect":"select"](n)},allSelect:function(){var n=this._data,i=this.option.selected;A.each(n,function(r){i[r.get("name",!0)]=!0})},inverseSelect:function(){var n=this._data,i=this.option.selected;A.each(n,function(r){var s=r.get("name",!0);i.hasOwnProperty(s)||(i[s]=!0),i[s]=!i[s]})},isSelected:function(n){var i=this.option.selected;return!(i.hasOwnProperty(n)&&!i[n])&&A.indexOf(this._availableNames,n)>=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}}}),e=o;k.exports=e},hOwI:function(k,B){var d=Math.log(2);function w(b,g,v,f,l,u){var o=f+"-"+l,e=b.length;if(u.hasOwnProperty(o))return u[o];if(g===1){var n=Math.round(Math.log((1<<e)-1&~l)/d);return b[v][n]}for(var i=f|1<<v,r=v+1;f&1<<r;)r++;for(var s=0,t=0,a=0;t<e;t++){var c=1<<t;c&l||(s+=(a%2?-1:1)*b[v][t]*w(b,g-1,r,i,l|c,u),a++)}return u[o]=s,s}function A(b,g){var v=[[b[0],b[1],1,0,0,0,-g[0]*b[0],-g[0]*b[1]],[0,0,0,b[0],b[1],1,-g[1]*b[0],-g[1]*b[1]],[b[2],b[3],1,0,0,0,-g[2]*b[2],-g[2]*b[3]],[0,0,0,b[2],b[3],1,-g[3]*b[2],-g[3]*b[3]],[b[4],b[5],1,0,0,0,-g[4]*b[4],-g[4]*b[5]],[0,0,0,b[4],b[5],1,-g[5]*b[4],-g[5]*b[5]],[b[6],b[7],1,0,0,0,-g[6]*b[6],-g[6]*b[7]],[0,0,0,b[6],b[7],1,-g[7]*b[6],-g[7]*b[7]]],f={},l=w(v,8,0,0,0,f);if(l===0)return;for(var u=[],o=0;o<8;o++)for(var e=0;e<8;e++)u[e]==null&&(u[e]=0),u[e]+=((o+e)%2?-1:1)*w(v,7,o===0?1:0,1<<o,1<<e,f)/l*g[o];return function(n,i,r){var s=i*u[6]+r*u[7]+1;n[0]=(i*u[0]+r*u[1]+u[2])/s,n[1]=(i*u[3]+r*u[4]+u[5])/s}}B.buildTransformer=A},hX1E:function(k,B){var d=Math.PI*2;function w(A){return A%=d,A<0&&(A+=d),A}B.normalizeRadian=w},hXwI:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function A(v,f){for(var l=0;l<f.length;l++){var u=f[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(v,u.key,u)}}function b(v,f,l){return f&&A(v.prototype,f),l&&A(v,l),v}var g=function(){function v(){w(this,v)}return b(v,[{key:"decodeRect",value:function(l,u,o,e,n,i,r){if(n.rQwait("COPYRECT",4))return!1;var s=n.rQshift16(),t=n.rQshift16();return i.copyImage(s,t,l,u,o,e),!0}}]),v}();B.default=g},hi0g:function(k,B,d){var w=d("bYtY"),A=w.createHashMap,b=w.each,g=w.isString,v=w.defaults,f=w.extend,l=w.isObject,u=w.clone,o=d("4NO4"),e=o.normalizeToArray,n=d("D5nY"),i=n.guessOrdinal,r=n.BE_ORDINAL,s=d("7G+c"),t=d("L0Ub"),a=t.OTHER_DIMENSIONS,c=d("Vi4m");function h(y,x,C){s.isInstance(x)||(x=s.seriesDataToSource(x)),C=C||{},y=(y||[]).slice();for(var T=(C.dimsDef||[]).slice(),_=A(),E=A(),I=[],L=p(x,y,T,C.dimCount),D=0;D<L;D++){var F=T[D]=f({},l(T[D])?T[D]:{name:T[D]}),N=F.name,P=I[D]=new c;N!=null&&_.get(N)==null&&(P.name=P.displayName=N,_.set(N,D)),F.type!=null&&(P.type=F.type),F.displayName!=null&&(P.displayName=F.displayName)}var W=C.encodeDef;!W&&C.encodeDefaulter&&(W=C.encodeDefaulter(x,L)),W=A(W),W.each(function(q,oe){if(q=e(q).slice(),q.length===1&&!g(q[0])&&q[0]<0){W.set(oe,!1);return}var ie=W.set(oe,[]);b(q,function(se,he){g(se)&&(se=_.get(se)),se!=null&&se<L&&(ie[he]=se,j(I[se],oe,he))})});var R=0;b(y,function(q,oe){var ie,q,se,he;if(g(q))ie=q,q={};else{ie=q.name;var pe=q.ordinalMeta;q.ordinalMeta=null,q=u(q),q.ordinalMeta=pe,se=q.dimsDef,he=q.otherDims,q.name=q.coordDim=q.coordDimIndex=q.dimsDef=q.otherDims=null}var _e=W.get(ie);if(_e===!1)return;var _e=e(_e);if(!_e.length)for(var De=0;De<(se&&se.length||1);De++){for(;R<I.length&&I[R].coordDim!=null;)R++;R<I.length&&_e.push(R++)}b(_e,function(Xe,J){var Ee=I[Xe];if(j(v(Ee,q),ie,J),Ee.name==null&&se){var qe=se[J];!l(qe)&&(qe={name:qe}),Ee.name=Ee.displayName=qe.name,Ee.defaultTooltip=qe.defaultTooltip}he&&v(Ee.otherDims,he)})});function j(q,oe,ie){a.get(oe)!=null?q.otherDims[oe]=ie:(q.coordDim=oe,q.coordDimIndex=ie,E.set(oe,!0))}var H=C.generateCoord,K=C.generateCoordCount,U=K!=null;K=H?K||1:0;for(var G=H||"value",z=0;z<L;z++){var P=I[z]=I[z]||new c,Y=P.coordDim;Y==null&&(P.coordDim=m(G,E,U),P.coordDimIndex=0,(!H||K<=0)&&(P.isExtraCoord=!0),K--),P.name==null&&(P.name=m(P.coordDim,_)),P.type==null&&(i(x,z,P.name)===r.Must||P.isExtraCoord&&(P.otherDims.itemName!=null||P.otherDims.seriesName!=null))&&(P.type="ordinal")}return I}function p(y,x,C,T){var _=Math.max(y.dimensionsDetectCount||1,x.length,C.length,T||0);return b(x,function(E){var I=E.dimsDef;I&&(_=Math.max(_,I.length))}),_}function m(y,x,C){if(C||x.get(y)!=null){for(var T=0;x.get(y+T)!=null;)T++;y+=T}return x.set(y,!0),y}var S=h;k.exports=S},hkKa:function(k,B,d){"use strict";d.d(B,"a",function(){return g});var w=d("ODXe"),A=d("q1tI"),b=d.n(A);function g(){var v=A.useReducer(function(u){return u+1},0),f=Object(w.a)(v,2),l=f[1];return l}},hw6D:function(k,B,d){var w=d("bYtY");function A(v){v.eachSeriesByType("radar",function(f){var l=f.getData(),u=[],o=f.coordinateSystem;if(!o)return;var e=o.getIndicatorAxes();w.each(e,function(n,i){l.each(l.mapDimension(e[i].dim),function(r,s){u[s]=u[s]||[];var t=o.dataToPoint(r,i);u[s][i]=b(t)?t:g(o)})}),l.each(function(n){var i=w.find(u[n],function(r){return b(r)})||g(o);u[n].push(i.slice()),l.setItemLayout(n,u[n])})})}function b(v){return!isNaN(v[0])&&!isNaN(v[1])}function g(v){return[v.cx,v.cy]}k.exports=A},hydK:function(k,B){var d="http://www.w3.org/2000/svg";function w(A){return document.createElementNS(d,A)}B.createElement=w},hyiK:function(k,B){function d(w,A,b,g,v,f){if(f>A&&f>g||f<A&&f<g)return 0;if(g===A)return 0;var l=g<A?1:-1,u=(f-A)/(g-A);(u===1||u===0)&&(l=g<A?.5:-.5);var o=u*(b-w)+w;return o===v?Infinity:o>v?l:0}k.exports=d},i38C:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=b.createHashMap,v=b.retrieve,f=b.each;function l(n){this.coordSysName=n,this.coordSysDims=[],this.axisMap=g(),this.categoryAxisMap=g(),this.firstCategoryDimIndex=null}function u(n){var i=n.get("coordinateSystem"),r=new l(i),s=o[i];if(s)return s(n,r,r.axisMap,r.categoryAxisMap),r}var o={cartesian2d:function(n,i,r,s){var t=n.getReferringComponents("xAxis")[0],a=n.getReferringComponents("yAxis")[0];i.coordSysDims=["x","y"],r.set("x",t),r.set("y",a),e(t)&&(s.set("x",t),i.firstCategoryDimIndex=0),e(a)&&(s.set("y",a),i.firstCategoryDimIndex==null&(i.firstCategoryDimIndex=1))},singleAxis:function(n,i,r,s){var t=n.getReferringComponents("singleAxis")[0];i.coordSysDims=["single"],r.set("single",t),e(t)&&(s.set("single",t),i.firstCategoryDimIndex=0)},polar:function(n,i,r,s){var t=n.getReferringComponents("polar")[0],a=t.findAxisModel("radiusAxis"),c=t.findAxisModel("angleAxis");i.coordSysDims=["radius","angle"],r.set("radius",a),r.set("angle",c),e(a)&&(s.set("radius",a),i.firstCategoryDimIndex=0),e(c)&&(s.set("angle",c),i.firstCategoryDimIndex==null&&(i.firstCategoryDimIndex=1))},geo:function(n,i,r,s){i.coordSysDims=["lng","lat"]},parallel:function(n,i,r,s){var t=n.ecModel,a=t.getComponent("parallel",n.get("parallelIndex")),c=i.coordSysDims=a.dimensions.slice();f(a.parallelAxisIndex,function(h,p){var m=t.getComponent("parallelAxis",h),S=c[p];r.set(S,m),e(m)&&i.firstCategoryDimIndex==null&&(s.set(S,m),i.firstCategoryDimIndex=p)})}};function e(n){return n.get("type")==="category"}B.getCoordSysInfoBySeries=u},i6bk:function(k,B,d){"use strict";d.d(B,"b",function(){return w}),d.d(B,"a",function(){return A});function w(b){return b!=null&&b===b.window}function A(b,g){if(typeof window=="undefined")return 0;var v=g?"scrollTop":"scrollLeft",f=0;return w(b)?f=b[g?"pageYOffset":"pageXOffset"]:b instanceof Document?f=b.documentElement[v]:b&&(f=b[v]),b&&!w(b)&&typeof f!="number"&&(f=(b.ownerDocument||b).documentElement[v]),f}},iLNv:function(k,B){var d="\0__throttleOriginMethod",w="\0__throttleRate",A="\0__throttleType";function b(f,l,u){var o,e=0,n=0,i=null,r,s,t,a;l=l||0;function c(){n=new Date().getTime(),i=null,f.apply(s,t||[])}var h=function(){o=new Date().getTime(),s=this,t=arguments;var p=a||l,m=a||u;a=null,r=o-(m?e:n)-p,clearTimeout(i),m?i=setTimeout(c,p):r>=0?c():i=setTimeout(c,-r),e=o};return h.clear=function(){i&&(clearTimeout(i),i=null)},h.debounceNextCall=function(p){a=p},h}function g(f,l,u,o){var e=f[l];if(!e)return;var n=e[d]||e,i=e[A],r=e[w];if(r!==u||i!==o){if(u==null||!o)return f[l]=n;e=f[l]=b(n,u,o==="debounce"),e[d]=n,e[A]=o,e[w]=u}return e}function v(f,l){var u=f[l];u&&u[d]&&(f[l]=u[d])}B.throttle=b,B.createOrUpdate=g,B.clear=v},iPDy:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=w.extendComponentView({type:"marker",init:function(){this.markerGroupMap=A.createHashMap()},render:function(g,v,f){var l=this.markerGroupMap;l.each(function(o){o.__keep=!1});var u=this.type+"Model";v.eachSeries(function(o){var e=o[u];e&&this.renderSeries(o,e,v,f)},this),l.each(function(o){!o.__keep&&this.group.remove(o.group)},this)},renderSeries:function(){}});k.exports=b},iQDF:function(k,B,d){"use strict";var w=d("ZTW2"),A=d.n(w),b=d("+BJd"),g=d("+L6B")},iRjW:function(k,B,d){var w=d("bYtY"),A=d("Yl7c"),b=A.parseClassType,g=0;function v(u){return[u||"",g++,Math.random().toFixed(5)].join("_")}function f(u){var o={};return u.registerSubTypeDefaulter=function(e,n){e=b(e),o[e.main]=n},u.determineSubType=function(e,n){var i=n.type;if(!i){var r=b(e).main;u.hasSubTypes(e)&&o[r]&&(i=o[r](n))}return i},u}function l(u,o){u.topologicalTravel=function(r,s,t,a){if(!r.length)return;var c=e(s),h=c.graph,p=c.noEntryList,m={};for(w.each(r,function(_){m[_]=!0});p.length;){var S=p.pop(),y=h[S],x=!!m[S];x&&(t.call(a,S,y.originalDeps.slice()),delete m[S]),w.each(y.successor,x?T:C)}w.each(m,function(){throw new Error("Circle dependency may exists")});function C(_){h[_].entryCount--,h[_].entryCount===0&&p.push(_)}function T(_){m[_]=!0,C(_)}};function e(r){var s={},t=[];return w.each(r,function(a){var c=n(s,a),h=c.originalDeps=o(a),p=i(h,r);c.entryCount=p.length,c.entryCount===0&&t.push(a),w.each(p,function(m){w.indexOf(c.predecessor,m)<0&&c.predecessor.push(m);var S=n(s,m);w.indexOf(S.successor,m)<0&&S.successor.push(a)})}),{graph:s,noEntryList:t}}function n(r,s){return r[s]||(r[s]={predecessor:[],successor:[]}),r[s]}function i(r,s){var t=[];return w.each(r,function(a){w.indexOf(s,a)>=0&&t.push(a)}),t}}B.getUID=v,B.enableSubTypeDefaulter=f,B.enableTopologicalTravel=l},iUHT:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(y,x){if(!(y instanceof x))throw new TypeError("Cannot call a class as a function")}function A(y,x){for(var C=0;C<x.length;C++){var T=x[C];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(y,T.key,T)}}function b(y,x,C){return x&&A(y.prototype,x),C&&A(y,C),y}var g=[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,l,u,o,e,n,i;l=1<<16,u=1<<24,o=l|u,e=1<<2,n=1<<10,i=e|n;var r=[o|n,f|f,l|f,o|i,o|e,l|i,f|e,l|f,f|n,o|n,o|i,f|n,u|i,o|e,u|f,f|e,f|i,u|n,u|n,l|n,l|n,o|f,o|f,u|i,l|e,u|e,u|e,l|e,f|f,f|i,l|i,u|f,l|f,o|i,f|e,o|f,o|n,u|f,u|f,f|n,o|e,l|f,l|n,u|e,f|n,f|e,u|i,l|i,o|i,l|e,o|f,u|i,u|e,f|i,l|i,o|n,f|i,u|n,u|n,f|f,l|e,l|n,f|f,o|e];l=1<<20,u=1<<31,o=l|u,e=1<<5,n=1<<15,i=e|n;var s=[o|i,u|n,f|n,l|i,l|f,f|e,o|e,u|i,u|e,o|i,o|n,u|f,u|n,l|f,f|e,o|e,l|n,l|e,u|i,f|f,u|f,f|n,l|i,o|f,l|e,u|e,f|f,l|n,f|i,o|n,o|f,f|i,f|f,l|i,o|e,l|f,u|i,o|f,o|n,f|n,o|f,u|n,f|e,o|i,l|i,f|e,f|n,u|f,f|i,o|n,l|f,u|e,l|e,u|i,u|e,l|e,l|n,f|f,u|n,f|i,u|f,o|e,o|i,l|n];l=1<<17,u=1<<27,o=l|u,e=1<<3,n=1<<9,i=e|n;var t=[f|i,o|n,f|f,o|e,u|n,f|f,l|i,u|n,l|e,u|e,u|e,l|f,o|i,l|e,o|f,f|i,u|f,f|e,o|n,f|n,l|n,o|f,o|e,l|i,u|i,l|n,l|f,u|i,f|e,o|i,f|n,u|f,o|n,u|f,l|e,f|i,l|f,o|n,u|n,f|f,f|n,l|e,o|i,u|n,u|e,f|n,f|f,o|e,u|i,l|f,u|f,o|i,f|e,l|i,l|n,u|e,o|f,u|i,f|i,o|f,l|i,f|e,o|e,l|n];l=1<<13,u=1<<23,o=l|u,e=1<<0,n=1<<7,i=e|n;var a=[o|e,l|i,l|i,f|n,o|n,u|i,u|e,l|e,f|f,o|f,o|f,o|i,f|i,f|f,u|n,u|e,f|e,l|f,u|f,o|e,f|n,u|f,l|e,l|n,u|i,f|e,l|n,u|n,l|f,o|n,o|i,f|i,u|n,u|e,o|f,o|i,f|i,f|f,f|f,o|f,l|n,u|n,u|i,f|e,o|e,l|i,l|i,f|n,o|i,f|i,f|e,l|f,u|e,l|e,o|n,u|i,l|e,l|n,u|f,o|e,f|n,u|f,l|f,o|n];l=1<<25,u=1<<30,o=l|u,e=1<<8,n=1<<19,i=e|n;var c=[f|e,l|i,l|n,o|e,f|n,f|e,u|f,l|n,u|i,f|n,l|e,u|i,o|e,o|n,f|i,u|f,l|f,u|n,u|n,f|f,u|e,o|i,o|i,l|e,o|n,u|e,f|f,o|f,l|i,l|f,o|f,f|i,f|n,o|e,f|e,l|f,u|f,l|n,o|e,u|i,l|e,u|f,o|n,l|i,u|i,f|e,l|f,o|n,o|i,f|i,o|f,o|i,l|n,f|f,u|n,o|f,f|i,l|e,u|e,f|n,f|f,u|n,l|i,u|e];l=1<<22,u=1<<29,o=l|u,e=1<<4,n=1<<14,i=e|n;var h=[u|e,o|f,f|n,o|i,o|f,f|e,o|i,l|f,u|n,l|i,l|f,u|e,l|e,u|n,u|f,f|i,f|f,l|e,u|i,f|n,l|n,u|i,f|e,o|e,o|e,f|f,l|i,o|n,f|i,l|n,o|n,u|f,u|n,f|e,o|e,l|n,o|i,l|f,f|i,u|e,l|f,u|n,u|f,f|i,u|e,o|i,l|n,o|f,l|i,o|n,f|f,o|e,f|e,f|n,o|f,l|i,f|n,l|e,u|i,f|f,o|n,u|f,l|e,u|i];l=1<<21,u=1<<26,o=l|u,e=1<<1,n=1<<11,i=e|n;var p=[l|f,o|e,u|i,f|f,f|n,u|i,l|i,o|n,o|i,l|f,f|f,u|e,f|e,u|f,o|e,f|i,u|n,l|i,l|e,u|n,u|e,o|f,o|n,l|e,o|f,f|n,f|i,o|i,l|n,f|e,u|f,l|n,u|f,l|n,l|f,u|i,u|i,o|e,o|e,f|e,l|e,u|f,u|n,l|f,o|n,f|i,l|i,o|n,f|i,u|e,o|i,o|f,l|n,f|f,f|e,o|i,f|f,l|i,o|f,f|n,u|e,u|n,f|n,l|e];l=1<<18,u=1<<28,o=l|u,e=1<<6,n=1<<12,i=e|n;var m=[u|i,f|n,l|f,o|i,u|f,u|i,f|e,u|f,l|e,o|f,o|i,l|n,o|n,l|i,f|n,f|e,o|f,u|e,u|n,f|i,l|n,l|e,o|e,o|n,f|i,f|f,f|f,o|e,u|e,u|n,l|i,l|f,l|i,l|f,o|n,f|n,f|e,o|e,f|n,l|i,u|n,f|e,u|e,o|f,o|e,u|f,l|f,u|i,f|f,o|i,l|e,u|e,o|f,u|n,u|i,f|f,o|i,l|n,l|n,f|i,f|i,l|e,u|f,o|n],S=function(){function y(x){w(this,y),this.keys=[];for(var C=[],T=[],_=[],E=0,I=56;E<56;++E,I-=8){I+=I<-5?65:I<-3?31:I<-1?63:I===27?35:0;var L=I&7;C[E]=(x[I>>>3]&1<<L)!==0?1:0}for(var D=0;D<16;++D){var F=D<<1,N=F+1;_[F]=_[N]=0;for(var P=28;P<59;P+=28)for(var W=P-28;W<P;++W){var R=W+v[D];T[W]=R<P?C[R]:C[R-28]}for(var j=0;j<24;++j)T[g[j]]!==0&&(_[F]|=1<<23-j),T[g[j+24]]!==0&&(_[N]|=1<<23-j)}for(var H=0,K=0,U=0;H<16;++H){var G=_[K++],z=_[K++];this.keys[U]=(G&16515072)<<6,this.keys[U]|=(G&4032)<<10,this.keys[U]|=(z&16515072)>>>10,this.keys[U]|=(z&4032)>>>6,++U,this.keys[U]=(G&258048)<<12,this.keys[U]|=(G&63)<<16,this.keys[U]|=(z&258048)>>>4,this.keys[U]|=z&63,++U}}return b(y,[{key:"enc8",value:function(C){var T=C.slice(),_=0,E,I,L;E=T[_++]<<24|T[_++]<<16|T[_++]<<8|T[_++],I=T[_++]<<24|T[_++]<<16|T[_++]<<8|T[_++],L=(E>>>4^I)&252645135,I^=L,E^=L<<4,L=(E>>>16^I)&65535,I^=L,E^=L<<16,L=(I>>>2^E)&858993459,E^=L,I^=L<<2,L=(I>>>8^E)&16711935,E^=L,I^=L<<8,I=I<<1|I>>>31&1,L=(E^I)&2863311530,E^=L,I^=L,E=E<<1|E>>>31&1;for(var D=0,F=0;D<8;++D){L=I<<28|I>>>4,L^=this.keys[F++];var N=p[L&63];N|=c[L>>>8&63],N|=t[L>>>16&63],N|=r[L>>>24&63],L=I^this.keys[F++],N|=m[L&63],N|=h[L>>>8&63],N|=a[L>>>16&63],N|=s[L>>>24&63],E^=N,L=E<<28|E>>>4,L^=this.keys[F++],N=p[L&63],N|=c[L>>>8&63],N|=t[L>>>16&63],N|=r[L>>>24&63],L=E^this.keys[F++],N|=m[L&63],N|=h[L>>>8&63],N|=a[L>>>16&63],N|=s[L>>>24&63],I^=N}for(I=I<<31|I>>>1,L=(E^I)&2863311530,E^=L,I^=L,E=E<<31|E>>>1,L=(E>>>8^I)&16711935,I^=L,E^=L<<8,L=(E>>>2^I)&858993459,I^=L,E^=L<<2,L=(I>>>16^E)&65535,E^=L,I^=L<<16,L=(I>>>4^E)&252645135,E^=L,I^=L<<4,L=[I,E],_=0;_<8;_++)T[_]=(L[_>>>2]>>>8*(3-_%4))%256,T[_]<0&&(T[_]+=256);return T}},{key:"encrypt",value:function(C){return this.enc8(C.slice(0,8)).concat(this.enc8(C.slice(8,16)))}}]),y}();B.default=S},iXHM:function(k,B){var d="";typeof navigator!="undefined"&&(d=navigator.platform||"");var w={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:d.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};k.exports=w},iXp4:function(k,B,d){var w=d("ItGF"),A=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function b(g){return w.browser.ie&&w.browser.version>=11?function(){var v=this.__clipPaths,f=this.style,l;if(v)for(var u=0;u<v.length;u++){var o=v[u],e=o&&o.shape,n=o&&o.type;if(e&&(n==="sector"&&e.startAngle===e.endAngle||n==="rect"&&(!e.width||!e.height))){for(var i=0;i<A.length;i++)A[i][2]=f[A[i][0]],f[A[i][0]]=A[i][1];l=!0;break}}if(g.apply(this,arguments),l)for(var i=0;i<A.length;i++)f[A[i][0]]=A[i][2]}:g}k.exports=b},ieMj:function(k,B,d){var w=d("OELB"),A=d("7aKB"),b=d("4NgU"),g=d("lE7J"),v=w.round,f=b.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(u,o){var e=this._extent;isNaN(u)||(e[0]=parseFloat(u)),isNaN(o)||(e[1]=parseFloat(o))},unionExtent:function(u){var o=this._extent;u[0]<o[0]&&(o[0]=u[0]),u[1]>o[1]&&(o[1]=u[1]),f.prototype.setExtent.call(this,o[0],o[1])},getInterval:function(){return this._interval},setInterval:function(u){this._interval=u,this._niceExtent=this._extent.slice(),this._intervalPrecision=g.getIntervalPrecision(u)},getTicks:function(u){var o=this._interval,e=this._extent,n=this._niceExtent,i=this._intervalPrecision,r=[];if(!o)return r;var s=1e4;e[0]<n[0]&&(u?r.push(v(n[0]-o,i)):r.push(e[0]));for(var t=n[0];t<=n[1]&&!(r.push(t),t=v(t+o,i),t===r[r.length-1]);)if(r.length>s)return[];var a=r.length?r[r.length-1]:n[1];return e[1]>a&&(u?r.push(v(a+o,i)):r.push(e[1])),r},getMinorTicks:function(u){for(var o=this.getTicks(!0),e=[],n=this.getExtent(),i=1;i<o.length;i++){for(var r=o[i],s=o[i-1],t=0,a=[],c=r-s,h=c/u;t<u-1;){var p=w.round(s+(t+1)*h);p>n[0]&&p<n[1]&&a.push(p),t++}e.push(a)}return e},getLabel:function(u,o){if(u==null)return"";var e=o&&o.precision;return e==null?e=w.getPrecisionSafe(u)||0:e==="auto"&&(e=this._intervalPrecision),u=v(u,e,!0),A.addCommas(u)},niceTicks:function(u,o,e){u=u||5;var n=this._extent,i=n[1]-n[0];if(!isFinite(i))return;i<0&&(i=-i,n.reverse());var r=g.intervalScaleNiceTicks(n,u,o,e);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent},niceExtent:function(u){var o=this._extent;if(o[0]===o[1])if(o[0]!==0){var e=o[0];u.fixMax||(o[1]+=e/2),o[0]-=e/2}else o[1]=1;var n=o[1]-o[0];isFinite(n)||(o[0]=0,o[1]=1),this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var i=this._interval;u.fixMin||(o[0]=v(Math.floor(o[0]/i)*i)),u.fixMax||(o[1]=v(Math.ceil(o[1]/i)*i))}});f.create=function(){return new f};var l=f;k.exports=l},j5sG:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.createSensor=void 0;var w=A(d("NohK"));function A(g){return g&&g.__esModule?g:{default:g}}var b=function(v){var f=void 0,l=[],u=(0,w.default)(function(){l.forEach(function(r){r(v)})}),o=function(){var s=new ResizeObserver(u);return s.observe(v),u(),s},e=function(s){f||(f=o()),l.indexOf(s)===-1&&l.push(s)},n=function(){f.disconnect(),l=[],f=void 0},i=function(s){var t=l.indexOf(s);t!==-1&&l.splice(t,1),l.length===0&&f&&n()};return{element:v,bind:e,destroy:n,unbind:i}};B.createSensor=b},jCoz:function(k,B,d){var w=d("bYtY"),A=d("4NgU"),b=d("OELB"),g=d("ieMj"),v=A.prototype,f=g.prototype,l=b.getPrecisionSafe,u=b.round,o=Math.floor,e=Math.ceil,n=Math.pow,i=Math.log,r=A.extend({type:"log",base:10,$constructor:function(){A.apply(this,arguments),this._originalScale=new g},getTicks:function(a){var c=this._originalScale,h=this._extent,p=c.getExtent();return w.map(f.getTicks.call(this,a),function(m){var S=b.round(n(this.base,m));return S=m===h[0]&&c.__fixMin?s(S,p[0]):S,S=m===h[1]&&c.__fixMax?s(S,p[1]):S,S},this)},getMinorTicks:f.getMinorTicks,getLabel:f.getLabel,scale:function(a){return a=v.scale.call(this,a),n(this.base,a)},setExtent:function(a,c){var h=this.base;a=i(a)/i(h),c=i(c)/i(h),f.setExtent.call(this,a,c)},getExtent:function(){var a=this.base,c=v.getExtent.call(this);c[0]=n(a,c[0]),c[1]=n(a,c[1]);var h=this._originalScale,p=h.getExtent();return h.__fixMin&&(c[0]=s(c[0],p[0])),h.__fixMax&&(c[1]=s(c[1],p[1])),c},unionExtent:function(a){this._originalScale.unionExtent(a);var c=this.base;a[0]=i(a[0])/i(c),a[1]=i(a[1])/i(c),v.unionExtent.call(this,a)},unionExtentFromData:function(a,c){this.unionExtent(a.getApproximateExtent(c))},niceTicks:function(a){a=a||10;var c=this._extent,h=c[1]-c[0];if(h===Infinity||h<=0)return;var p=b.quantity(h),m=a/h*p;for(m<=.5&&(p*=10);!isNaN(p)&&Math.abs(p)<1&&Math.abs(p)>0;)p*=10;var S=[b.round(e(c[0]/p)*p),b.round(o(c[1]/p)*p)];this._interval=p,this._niceExtent=S},niceExtent:function(a){f.niceExtent.call(this,a);var c=this._originalScale;c.__fixMin=a.fixMin,c.__fixMax=a.fixMax}});w.each(["contain","normalize"],function(a){r.prototype[a]=function(c){return c=i(c)/i(this.base),v[a].call(this,c)}}),r.create=function(){return new r};function s(a,c){return u(a,l(c))}var t=r;k.exports=t},jTL6:function(k,B,d){var w=d("y+Vt"),A=w.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(g,v){var f=v.cx,l=v.cy,u=Math.max(v.r,0),o=v.startAngle,e=v.endAngle,n=v.clockwise,i=Math.cos(o),r=Math.sin(o);g.moveTo(i*u+f,r*u+l),g.arc(f,l,u,o,e,!n)}});k.exports=A},je13:function(k,B,d){var w=d("5nXd"),A=d("gRFJ"),b=[d("uQRt")];k.exports=w.createStore(A,b)},jett:function(k,B,d){var w=d("ProS");d("VSLf"),d("oBaM"),d("FGaS");var A=d("mOdp"),b=d("f5Yq"),g=d("hw6D"),v=d("0/Rx"),f=d("eJH7");w.registerVisual(A("radar")),w.registerVisual(b("radar","circle")),w.registerLayout(g),w.registerProcessor(v("radar")),w.registerPreprocessor(f)},jhfD:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="ArrowLeftOutlined";var l=B.a=A.forwardRef(f)},jkPA:function(k,B,d){var w=d("bYtY"),A=w.createHashMap,b=w.isObject,g=w.map;function v(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this._map}v.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&g(i,u);return new v({categories:r,needCollect:!r,deduplication:n.dedplication!==!1})};var f=v.prototype;f.getOrdinal=function(e){return l(this).get(e)},f.parseAndCollect=function(e){var n,i=this._needCollect;if(typeof e!="string"&&!i)return e;if(i&&!this._deduplication)return n=this.categories.length,this.categories[n]=e,n;var r=l(this);return n=r.get(e),n==null&&(i?(n=this.categories.length,this.categories[n]=e,r.set(e,n)):n=NaN),n};function l(e){return e._map||(e._map=A(e.categories))}function u(e){return b(e)&&e.value!=null?e.value:e+""}var o=v;k.exports=o},jndi:function(k,B,d){var w=d("bYtY"),A=d("Qe9p"),b=d("YXkt"),g=d("OELB"),v=d("IwbS"),f=d("kj2x"),l=d("iPDy"),u=function(t,a,c,h){var p=f.dataTransform(t,h[0]),m=f.dataTransform(t,h[1]),S=w.retrieve,y=p.coord,x=m.coord;y[0]=S(y[0],-Infinity),y[1]=S(y[1],-Infinity),x[0]=S(x[0],Infinity),x[1]=S(x[1],Infinity);var C=w.mergeAll([{},p,m]);return C.coord=[p.coord,m.coord],C.x0=p.x,C.y0=p.y,C.x1=m.x,C.y1=m.y,C};function o(t){return!isNaN(t)&&!isFinite(t)}function e(t,a,c,h){var p=1-t;return o(a[p])&&o(c[p])}function n(t,a){var c=a.coord[0],h=a.coord[1];return t.type==="cartesian2d"&&(c&&h&&(e(1,c,h,t)||e(0,c,h,t)))?!0:f.dataFilter(t,{coord:c,x:a.x0,y:a.y0})||f.dataFilter(t,{coord:h,x:a.x1,y:a.y1})}function i(t,a,c,h,p){var m=h.coordinateSystem,S=t.getItemModel(a),y,x=g.parsePercent(S.get(c[0]),p.getWidth()),C=g.parsePercent(S.get(c[1]),p.getHeight());if(!isNaN(x)&&!isNaN(C))y=[x,C];else{if(h.getMarkerPosition)y=h.getMarkerPosition(t.getValues(c,a));else{var T=t.get(c[0],a),_=t.get(c[1],a),E=[T,_];m.clampData&&m.clampData(E,E),y=m.dataToPoint(E,!0)}if(m.type==="cartesian2d"){var I=m.getAxis("x"),L=m.getAxis("y"),T=t.get(c[0],a),_=t.get(c[1],a);o(T)?y[0]=I.toGlobalCoord(I.getExtent()[c[0]==="x0"?0:1]):o(_)&&(y[1]=L.toGlobalCoord(L.getExtent()[c[1]==="y0"?0:1]))}isNaN(x)||(y[0]=x),isNaN(C)||(y[1]=C)}return y}var r=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];l.extend({type:"markArea",updateTransform:function(t,a,c){a.eachSeries(function(h){var p=h.markAreaModel;if(p){var m=p.getData();m.each(function(S){var y=w.map(r,function(C){return i(m,S,C,h,c)});m.setItemLayout(S,y);var x=m.getItemGraphicEl(S);x.setShape("points",y)})}},this)},renderSeries:function(t,a,c,h){var p=t.coordinateSystem,m=t.id,S=t.getData(),y=this.markerGroupMap,x=y.get(m)||y.set(m,{group:new v.Group});this.group.add(x.group),x.__keep=!0;var C=s(p,t,a);a.setData(C),C.each(function(T){C.setItemLayout(T,w.map(r,function(_){return i(C,T,_,t,h)})),C.setItemVisual(T,{color:S.getVisual("color")})}),C.diff(x.__data).add(function(T){var _=new v.Polygon({shape:{points:C.getItemLayout(T)}});C.setItemGraphicEl(T,_),x.group.add(_)}).update(function(T,_){var E=x.__data.getItemGraphicEl(_);v.updateProps(E,{shape:{points:C.getItemLayout(T)}},a,T),x.group.add(E),C.setItemGraphicEl(T,E)}).remove(function(T){var _=x.__data.getItemGraphicEl(T);x.group.remove(_)}).execute(),C.eachItemGraphicEl(function(T,_){var E=C.getItemModel(_),I=E.getModel("label"),L=E.getModel("emphasis.label"),D=C.getItemVisual(_,"color");T.useStyle(w.defaults(E.getModel("itemStyle").getItemStyle(),{fill:A.modifyAlpha(D,.4),stroke:D})),T.hoverStyle=E.getModel("emphasis.itemStyle").getItemStyle(),v.setLabelStyle(T.style,T.hoverStyle,I,L,{labelFetcher:a,labelDataIndex:_,defaultText:C.getName(_)||"",isRectText:!0,autoColor:D}),v.setHoverStyle(T,{}),T.dataModel=a}),x.__data=C,x.group.silent=a.get("silent")||t.get("silent")}});function s(t,a,c){var h,p,m=["x0","y0","x1","y1"];t?(h=w.map(t&&t.dimensions,function(x){var C=a.getData(),T=C.getDimensionInfo(C.mapDimension(x))||{};return w.defaults({name:x},T)}),p=new b(w.map(m,function(x,C){return{name:x,type:h[C%2].type}}),c)):(h=[{name:"value",type:"float"}],p=new b(h,c));var S=w.map(c.get("data"),w.curry(u,a,t,c));t&&(S=w.filter(S,w.curry(n,t)));var y=t?function(x,C,T,_){return x.coord[Math.floor(_/2)][_%2]}:function(x){return x.value};return p.initData(S,null,y),p.hasItemOption=!0,p}},"jsU+":function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("IUWy"),g=w.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){g.superApply(this,"optionUpdated",arguments),A.each(this.option.feature,function(f,l){var u=b.get(l);u&&A.merge(f,u.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=g;k.exports=v},jtI2:function(k,B,d){d("SMc4");var w=d("bLfw"),A=w.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"}});k.exports=A},juDX:function(k,B,d){d("P47w");var w=d("aX58"),A=w.registerPainter,b=d("3CBa");A("svg",b)},k5C7:function(k,B,d){d("0JAE"),d("g7p0"),d("7mYs")},k9D9:function(k,B){var d="original",w="arrayRows",A="objectRows",b="keyedColumns",g="unknown",v="typedArray",f="column",l="row";B.SOURCE_FORMAT_ORIGINAL=d,B.SOURCE_FORMAT_ARRAY_ROWS=w,B.SOURCE_FORMAT_OBJECT_ROWS=A,B.SOURCE_FORMAT_KEYED_COLUMNS=b,B.SOURCE_FORMAT_UNKNOWN=g,B.SOURCE_FORMAT_TYPED_ARRAY=v,B.SERIES_LAYOUT_BY_COLUMN=f,B.SERIES_LAYOUT_BY_ROW=l},kDyi:function(k,B){function d(w){var A=w.findComponents({mainType:"legend"});A&&A.length&&w.filterSeries(function(b){for(var g=0;g<A.length;g++)if(!A[g].isSelected(b.name))return!1;return!0})}k.exports=d},kMLO:function(k,B,d){var w=d("XxSj"),A=d("Qe9p"),b=d("bYtY"),g=b.isArray,v="itemStyle",f={seriesType:"treemap",reset:function(t,a,c,h){var p=t.getData().tree,m=p.root,S=t.getModel(v);if(m.isRemoved())return;var y=b.map(p.levelModels,function(x){return x?x.get(v):null});l(m,{},y,S,t.getViewRoot().getAncestors(),t)}};function l(t,a,c,h,p,m){var S=t.getModel(),y=t.getLayout();if(!y||y.invisible||!y.isInView)return;var x=t.getModel(v),C=c[t.depth],T=u(x,a,C,h),_=x.get("borderColor"),E=x.get("borderColorSaturation"),I;E!=null&&(I=o(T,t),_=e(E,I)),t.setVisual("borderColor",_);var L=t.viewChildren;if(!L||!L.length)I=o(T,t),t.setVisual("color",I);else{var D=i(t,S,y,x,T,L);b.each(L,function(F,N){if(F.depth>=p.length||F===p[F.depth]){var P=s(S,T,F,N,D,m);l(F,P,c,h,p,m)}})}}function u(t,a,c,h){var p=b.extend({},a);return b.each(["color","colorAlpha","colorSaturation"],function(m){var S=t.get(m,!0);S==null&&c&&(S=c[m]),S==null&&(S=a[m]),S==null&&(S=h.get(m)),S!=null&&(p[m]=S)}),p}function o(t){var a=n(t,"color");if(a){var c=n(t,"colorAlpha"),h=n(t,"colorSaturation");return h&&(a=A.modifyHSL(a,null,null,h)),c&&(a=A.modifyAlpha(a,c)),a}}function e(t,a){return a!=null?A.modifyHSL(a,null,null,t):null}function n(t,a){var c=t[a];if(c!=null&&c!=="none")return c}function i(t,a,c,h,p,m){if(!m||!m.length)return;var S=r(a,"color")||p.color!=null&&p.color!=="none"&&(r(a,"colorAlpha")||r(a,"colorSaturation"));if(!S)return;var y=a.get("visualMin"),x=a.get("visualMax"),C=c.dataExtent.slice();y!=null&&y<C[0]&&(C[0]=y),x!=null&&x>C[1]&&(C[1]=x);var T=a.get("colorMappingBy"),_={type:S.name,dataExtent:C,visual:S.range};_.type==="color"&&(T==="index"||T==="id")?(_.mappingMethod="category",_.loop=!0):_.mappingMethod="linear";var E=new w(_);return E.__drColorMappingBy=T,E}function r(t,a){var c=t.get(a);return g(c)&&c.length?{name:a,range:c}:null}function s(t,a,c,h,p,m){var S=b.extend({},a);if(p){var y=p.type,x=y==="color"&&p.__drColorMappingBy,C=x==="index"?h:x==="id"?m.mapIdToIndex(c.getId()):c.getValue(t.get("visualDimension"));S[y]=p.mapValueToVisual(C)}return S}k.exports=f},"kVK+":function(k,B){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */B.read=function(d,w,A,b,g){var v,f,l=g*8-b-1,u=(1<<l)-1,o=u>>1,e=-7,n=A?g-1:0,i=A?-1:1,r=d[w+n];for(n+=i,v=r&(1<<-e)-1,r>>=-e,e+=l;e>0;v=v*256+d[w+n],n+=i,e-=8);for(f=v&(1<<-e)-1,v>>=-e,e+=b;e>0;f=f*256+d[w+n],n+=i,e-=8);if(v===0)v=1-o;else{if(v===u)return f?NaN:(r?-1:1)*Infinity;f=f+Math.pow(2,b),v=v-o}return(r?-1:1)*f*Math.pow(2,v-b)},B.write=function(d,w,A,b,g,v){var f,l,u,o=v*8-g-1,e=(1<<o)-1,n=e>>1,i=g===23?Math.pow(2,-24)-Math.pow(2,-77):0,r=b?0:v-1,s=b?1:-1,t=w<0||w===0&&1/w<0?1:0;for(w=Math.abs(w),isNaN(w)||w===Infinity?(l=isNaN(w)?1:0,f=e):(f=Math.floor(Math.log(w)/Math.LN2),w*(u=Math.pow(2,-f))<1&&(f--,u*=2),f+n>=1?w+=i/u:w+=i*Math.pow(2,1-n),w*u>=2&&(f++,u/=2),f+n>=e?(l=0,f=e):f+n>=1?(l=(w*u-1)*Math.pow(2,g),f=f+n):(l=w*Math.pow(2,n-1)*Math.pow(2,g),f=0));g>=8;d[A+r]=l&255,r+=s,l/=256,g-=8);for(f=f<<g|l,o+=g;o>0;d[A+r]=f&255,r+=s,f/=256,o-=8);d[A+r-s]|=t*128}},kj2x:function(k,B,d){var w=d("bYtY"),A=d("OELB"),b=d("7hqr"),g=b.isDimensionStacked,v=w.indexOf;function f(c){return!(isNaN(parseFloat(c.x))&&isNaN(parseFloat(c.y)))}function l(c){return!isNaN(parseFloat(c.x))&&!isNaN(parseFloat(c.y))}function u(c,h,p,m,S,y){var x=[],C=g(h,m),T=C?h.getCalculationInfo("stackResultDimension"):m,_=a(h,T,c),E=h.indicesOfNearest(T,_)[0];x[S]=h.get(p,E),x[y]=h.get(T,E);var I=h.get(m,E),L=A.getPrecision(h.get(m,E));return L=Math.min(L,20),L>=0&&(x[y]=+x[y].toFixed(L)),[x,I]}var o=w.curry,e={min:o(u,"min"),max:o(u,"max"),average:o(u,"average")};function n(c,h){var p=c.getData(),m=c.coordinateSystem;if(h&&!l(h)&&!w.isArray(h.coord)&&m){var S=m.dimensions,y=i(h,p,m,c);if(h=w.clone(h),h.type&&e[h.type]&&y.baseAxis&&y.valueAxis){var x=v(S,y.baseAxis.dim),C=v(S,y.valueAxis.dim),T=e[h.type](p,y.baseDataDim,y.valueDataDim,x,C);h.coord=T[0],h.value=T[1]}else{for(var _=[h.xAxis!=null?h.xAxis:h.radiusAxis,h.yAxis!=null?h.yAxis:h.angleAxis],E=0;E<2;E++)e[_[E]]&&(_[E]=a(p,p.mapDimension(S[E]),_[E]));h.coord=_}}return h}function i(c,h,p,m){var S={};return c.valueIndex!=null||c.valueDim!=null?(S.valueDataDim=c.valueIndex!=null?h.getDimension(c.valueIndex):c.valueDim,S.valueAxis=p.getAxis(r(m,S.valueDataDim)),S.baseAxis=p.getOtherAxis(S.valueAxis),S.baseDataDim=h.mapDimension(S.baseAxis.dim)):(S.baseAxis=m.getBaseAxis(),S.valueAxis=p.getOtherAxis(S.baseAxis),S.baseDataDim=h.mapDimension(S.baseAxis.dim),S.valueDataDim=h.mapDimension(S.valueAxis.dim)),S}function r(c,h){var p=c.getData(),m=p.dimensions;h=p.getDimension(h);for(var S=0;S<m.length;S++){var y=p.getDimensionInfo(m[S]);if(y.name===h)return y.coordDim}}function s(c,h){return c&&c.containData&&h.coord&&!f(h)?c.containData(h.coord):!0}function t(c,h,p,m){return m<2?c.coord&&c.coord[m]:c.value}function a(c,h,p){if(p==="average"){var m=0,S=0;return c.each(h,function(y,x){isNaN(y)||(m+=y,S++)}),m/S}else return p==="median"?c.getMedian(h):c.getDataExtent(h,!0)[p==="max"?1:0]}B.dataTransform=n,B.getAxisInfo=i,B.dataFilter=s,B.dimValueGetter=t,B.numCalculate=a},knOB:function(k,B,d){var w=d("bYtY"),A=d("hM6l");function b(v,f){A.call(this,"radius",v,f),this.type="category"}b.prototype={constructor:b,pointToData:function(v,f){return this.polar.pointToData(v,f)[this.dim==="radius"?0:1]},dataToRadius:A.prototype.dataToCoord,radiusToData:A.prototype.coordToData},w.inherits(b,A);var g=b;k.exports=g},ko1b:function(k,B,d){var w=d("bYtY"),A=d("T4UG"),b=d("Bsck"),g=d("Qxkt"),v=d("7aKB"),f=v.encodeHTML,l=v.addCommas,u=d("VaxA"),o=u.wrapTreePathInfo,e=A.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,s){var t={name:r.name,children:r.data};n(t);var a=r.levels||[];a=r.levels=i(a,s);var c=w.map(a||[],function(m){return new g(m,this,s)},this),h=b.createTree(t,this,null,p);function p(m){m.wrapMethod("getItemModel",function(S,y){var x=h.getNodeByDataIndex(y),C=c[x.depth];return C&&(S.parentModel=C),S})}return h.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(r){var s=this.getData(),t=this.getRawValue(r),a=w.isArray(t)?l(t[0]):l(t),c=s.getName(r);return f(c+": "+a)},getDataParams:function(r){var s=A.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(r);return s.treePathInfo=o(t,this),s},setLayoutInfo:function(r){this.layoutInfo=this.layoutInfo||{},w.extend(this.layoutInfo,r)},mapIdToIndex:function(r){var s=this._idIndexMap;s||(s=this._idIndexMap=w.createHashMap(),this._idIndexMapCount=0);var t=s.get(r);return t==null&&s.set(r,t=this._idIndexMapCount++),t},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(r){r?this._viewRoot=r:r=this._viewRoot;var s=this.getRawData().tree.root;(!r||r!==s&&!s.contains(r))&&(this._viewRoot=s)}});function n(r){var s=0;w.each(r.children,function(a){n(a);var c=a.value;w.isArray(c)&&(c=c[0]),s+=c});var t=r.value;w.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=s),t<0&&(t=0),w.isArray(r.value)?r.value[0]=t:r.value=t}function i(r,s){var t=s.get("color");if(!t)return;r=r||[];var a;if(w.each(r,function(h){var p=new g(h),m=p.get("color");(p.get("itemStyle.color")||m&&m!=="none")&&(a=!0)}),!a){var c=r[0]||(r[0]={});c.color=t.slice()}return r}k.exports=e},kzFp:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var w=B.pick=function(b,g){var v={};return g.forEach(function(f){v[f]=b[f]}),v}},kzvK:function(k,B,d){var w=d("sS/r"),A=w.extend({type:"timeline"});k.exports=A},"l+S1":function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="SearchOutlined";var l=B.a=A.forwardRef(f)},lE7J:function(k,B,d){var w=d("OELB"),A=w.round;function b(l,u,o,e){var n={},i=l[1]-l[0],r=n.interval=w.nice(i/u,!0);o!=null&&r<o&&(r=n.interval=o),e!=null&&r>e&&(r=n.interval=e);var s=n.intervalPrecision=g(r),t=n.niceTickExtent=[A(Math.ceil(l[0]/r)*r,s),A(Math.floor(l[1]/r)*r,s)];return f(t,l),n}function g(l){return w.getPrecisionSafe(l)+2}function v(l,u,o){l[u]=Math.max(Math.min(l[u],o[1]),o[0])}function f(l,u){!isFinite(l[0])&&(l[0]=u[0]),!isFinite(l[1])&&(l[1]=u[1]),v(l,0,u),v(l,1,u),l[0]>l[1]&&(l[0]=l[1])}B.intervalScaleNiceTicks=b,B.getIntervalPrecision=g,B.fixExtent=f},lELe:function(k,B,d){var w=d("bYtY");function A(b){var g=[];w.each(b.series,function(v){v&&v.type==="map"&&(g.push(v),v.map=v.map||v.mapType,w.defaults(v,v.mapLocation))})}k.exports=A},lLGD:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("nVfU"),g=b.layout,v=b.largeLayout;d("Wqna"),d("F7hV"),d("Z8zF"),d("Ae16"),w.registerLayout(w.PRIORITY.VISUAL.LAYOUT,A.curry(g,"bar")),w.registerLayout(w.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,v),w.registerVisual({seriesType:"bar",reset:function(f){f.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(k,B,d){"use strict";function w(ue){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(rt){return typeof rt}:w=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},w(ue)}Object.defineProperty(B,"__esModule",{value:!0}),B.deflateInit=Qe,B.deflateInit2=Bt,B.deflateReset=Ut,B.deflateResetKeep=It,B.deflateSetHeader=xt,B.deflate=te,B.deflateEnd=Q,B.deflateSetDictionary=Me,B.deflateInfo=B.Z_DEFLATED=B.Z_UNKNOWN=B.Z_DEFAULT_STRATEGY=B.Z_FIXED=B.Z_RLE=B.Z_HUFFMAN_ONLY=B.Z_FILTERED=B.Z_DEFAULT_COMPRESSION=B.Z_BUF_ERROR=B.Z_DATA_ERROR=B.Z_STREAM_ERROR=B.Z_STREAM_END=B.Z_OK=B.Z_BLOCK=B.Z_FINISH=B.Z_FULL_FLUSH=B.Z_PARTIAL_FLUSH=B.Z_NO_FLUSH=void 0;var A=o(d("6BzB")),b=o(d("c5fP")),g=l(d("xlC8")),v=l(d("QV2g")),f=l(d("xSIq"));function l(ue){return ue&&ue.__esModule?ue:{default:ue}}function u(){if(typeof WeakMap!="function")return null;var ue=new WeakMap;return u=function(){return ue},ue}function o(ue){if(ue&&ue.__esModule)return ue;if(ue===null||w(ue)!=="object"&&typeof ue!="function")return{default:ue};var ot=u();if(ot&&ot.has(ue))return ot.get(ue);var rt={},Ue=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ge in ue)if(Object.prototype.hasOwnProperty.call(ue,Ge)){var tt=Ue?Object.getOwnPropertyDescriptor(ue,Ge):null;tt&&(tt.get||tt.set)?Object.defineProperty(rt,Ge,tt):rt[Ge]=ue[Ge]}return rt.default=ue,ot&&ot.set(ue,rt),rt}var e=0;B.Z_NO_FLUSH=e;var n=1;B.Z_PARTIAL_FLUSH=n;var i=3;B.Z_FULL_FLUSH=i;var r=4;B.Z_FINISH=r;var s=5;B.Z_BLOCK=s;var t=0;B.Z_OK=t;var a=1;B.Z_STREAM_END=a;var c=-2;B.Z_STREAM_ERROR=c;var h=-3;B.Z_DATA_ERROR=h;var p=-5;B.Z_BUF_ERROR=p;var m=-1;B.Z_DEFAULT_COMPRESSION=m;var S=1;B.Z_FILTERED=S;var y=2;B.Z_HUFFMAN_ONLY=y;var x=3;B.Z_RLE=x;var C=4;B.Z_FIXED=C;var T=0;B.Z_DEFAULT_STRATEGY=T;var _=2;B.Z_UNKNOWN=_;var E=8;B.Z_DEFLATED=E;var I=9,L=15,D=8,F=29,N=256,P=N+1+F,W=30,R=19,j=2*P+1,H=15,K=3,U=258,G=U+K+1,z=32,Y=42,q=69,oe=73,ie=91,se=103,he=113,pe=666,_e=1,De=2,Xe=3,J=4,Ee=3;function qe(ue,ot){return ue.msg=f.default[ot],ot}function ae(ue){return(ue<<1)-(ue>4?9:0)}function V(ue){for(var ot=ue.length;--ot>=0;)ue[ot]=0}function X(ue){var ot=ue.state,rt=ot.pending;if(rt>ue.avail_out&&(rt=ue.avail_out),rt===0)return;A.arraySet(ue.output,ot.pending_buf,ot.pending_out,rt,ue.next_out),ue.next_out+=rt,ot.pending_out+=rt,ue.total_out+=rt,ue.avail_out-=rt,ot.pending-=rt,ot.pending===0&&(ot.pending_out=0)}function Z(ue,ot){b._tr_flush_block(ue,ue.block_start>=0?ue.block_start:-1,ue.strstart-ue.block_start,ot),ue.block_start=ue.strstart,X(ue.strm)}function ge(ue,ot){ue.pending_buf[ue.pending++]=ot}function le(ue,ot){ue.pending_buf[ue.pending++]=ot>>>8&255,ue.pending_buf[ue.pending++]=ot&255}function Se(ue,ot,rt,Ue){var Ge=ue.avail_in;return Ge>Ue&&(Ge=Ue),Ge===0?0:(ue.avail_in-=Ge,A.arraySet(ot,ue.input,ue.next_in,Ge,rt),ue.state.wrap===1?ue.adler=(0,g.default)(ue.adler,ot,Ge,rt):ue.state.wrap===2&&(ue.adler=(0,v.default)(ue.adler,ot,Ge,rt)),ue.next_in+=Ge,ue.total_in+=Ge,Ge)}function me(ue,ot){var rt=ue.max_chain_length,Ue=ue.strstart,Ge,tt,Wt=ue.prev_length,jt=ue.nice_match,Yt=ue.strstart>ue.w_size-G?ue.strstart-(ue.w_size-G):0,Tt=ue.window,Rt=ue.w_mask,yt=ue.prev,Jt=ue.strstart+U,Lr=Tt[Ue+Wt-1],zr=Tt[Ue+Wt];ue.prev_length>=ue.good_match&&(rt>>=2),jt>ue.lookahead&&(jt=ue.lookahead);do{if(Ge=ot,Tt[Ge+Wt]!==zr||Tt[Ge+Wt-1]!==Lr||Tt[Ge]!==Tt[Ue]||Tt[++Ge]!==Tt[Ue+1])continue;Ue+=2,Ge++;do;while(Tt[++Ue]===Tt[++Ge]&&Tt[++Ue]===Tt[++Ge]&&Tt[++Ue]===Tt[++Ge]&&Tt[++Ue]===Tt[++Ge]&&Tt[++Ue]===Tt[++Ge]&&Tt[++Ue]===Tt[++Ge]&&Tt[++Ue]===Tt[++Ge]&&Tt[++Ue]===Tt[++Ge]&&Ue<Jt);if(tt=U-(Jt-Ue),Ue=Jt-U,tt>Wt){if(ue.match_start=ot,Wt=tt,tt>=jt)break;Lr=Tt[Ue+Wt-1],zr=Tt[Ue+Wt]}}while((ot=yt[ot&Rt])>Yt&&--rt!==0);return Wt<=ue.lookahead?Wt:ue.lookahead}function $(ue){var ot=ue.w_size,rt,Ue,Ge,tt,Wt;do{if(tt=ue.window_size-ue.lookahead-ue.strstart,ue.strstart>=ot+(ot-G)){A.arraySet(ue.window,ue.window,ot,ot,0),ue.match_start-=ot,ue.strstart-=ot,ue.block_start-=ot,Ue=ue.hash_size,rt=Ue;do Ge=ue.head[--rt],ue.head[rt]=Ge>=ot?Ge-ot:0;while(--Ue);Ue=ot,rt=Ue;do Ge=ue.prev[--rt],ue.prev[rt]=Ge>=ot?Ge-ot:0;while(--Ue);tt+=ot}if(ue.strm.avail_in===0)break;if(Ue=Se(ue.strm,ue.window,ue.strstart+ue.lookahead,tt),ue.lookahead+=Ue,ue.lookahead+ue.insert>=K)for(Wt=ue.strstart-ue.insert,ue.ins_h=ue.window[Wt],ue.ins_h=(ue.ins_h<<ue.hash_shift^ue.window[Wt+1])&ue.hash_mask;ue.insert&&!(ue.ins_h=(ue.ins_h<<ue.hash_shift^ue.window[Wt+K-1])&ue.hash_mask,ue.prev[Wt&ue.w_mask]=ue.head[ue.ins_h],ue.head[ue.ins_h]=Wt,Wt++,ue.insert--,ue.lookahead+ue.insert<K););}while(ue.lookahead<G&&ue.strm.avail_in!==0)}function we(ue,ot){var rt=65535;for(rt>ue.pending_buf_size-5&&(rt=ue.pending_buf_size-5);;){if(ue.lookahead<=1){if($(ue),ue.lookahead===0&&ot===e)return _e;if(ue.lookahead===0)break}ue.strstart+=ue.lookahead,ue.lookahead=0;var Ue=ue.block_start+rt;if((ue.strstart===0||ue.strstart>=Ue)&&(ue.lookahead=ue.strstart-Ue,ue.strstart=Ue,Z(ue,!1),ue.strm.avail_out===0))return _e;if(ue.strstart-ue.block_start>=ue.w_size-G&&(Z(ue,!1),ue.strm.avail_out===0))return _e}return ue.insert=0,ot===r?(Z(ue,!0),ue.strm.avail_out===0?Xe:J):(ue.strstart>ue.block_start&&(Z(ue,!1),ue.strm.avail_out===0),_e)}function xe(ue,ot){for(var rt,Ue;;){if(ue.lookahead<G){if($(ue),ue.lookahead<G&&ot===e)return _e;if(ue.lookahead===0)break}if(rt=0,ue.lookahead>=K&&(ue.ins_h=(ue.ins_h<<ue.hash_shift^ue.window[ue.strstart+K-1])&ue.hash_mask,rt=ue.prev[ue.strstart&ue.w_mask]=ue.head[ue.ins_h],ue.head[ue.ins_h]=ue.strstart),rt!==0&&ue.strstart-rt<=ue.w_size-G&&(ue.match_length=me(ue,rt)),ue.match_length>=K)if(Ue=b._tr_tally(ue,ue.strstart-ue.match_start,ue.match_length-K),ue.lookahead-=ue.match_length,ue.match_length<=ue.max_lazy_match&&ue.lookahead>=K){ue.match_length--;do ue.strstart++,ue.ins_h=(ue.ins_h<<ue.hash_shift^ue.window[ue.strstart+K-1])&ue.hash_mask,rt=ue.prev[ue.strstart&ue.w_mask]=ue.head[ue.ins_h],ue.head[ue.ins_h]=ue.strstart;while(--ue.match_length!==0);ue.strstart++}else ue.strstart+=ue.match_length,ue.match_length=0,ue.ins_h=ue.window[ue.strstart],ue.ins_h=(ue.ins_h<<ue.hash_shift^ue.window[ue.strstart+1])&ue.hash_mask;else Ue=b._tr_tally(ue,0,ue.window[ue.strstart]),ue.lookahead--,ue.strstart++;if(Ue&&(Z(ue,!1),ue.strm.avail_out===0))return _e}return ue.insert=ue.strstart<K-1?ue.strstart:K-1,ot===r?(Z(ue,!0),ue.strm.avail_out===0?Xe:J):ue.last_lit&&(Z(ue,!1),ue.strm.avail_out===0)?_e:De}function We(ue,ot){for(var rt,Ue,Ge;;){if(ue.lookahead<G){if($(ue),ue.lookahead<G&&ot===e)return _e;if(ue.lookahead===0)break}if(rt=0,ue.lookahead>=K&&(ue.ins_h=(ue.ins_h<<ue.hash_shift^ue.window[ue.strstart+K-1])&ue.hash_mask,rt=ue.prev[ue.strstart&ue.w_mask]=ue.head[ue.ins_h],ue.head[ue.ins_h]=ue.strstart),ue.prev_length=ue.match_length,ue.prev_match=ue.match_start,ue.match_length=K-1,rt!==0&&ue.prev_length<ue.max_lazy_match&&ue.strstart-rt<=ue.w_size-G&&(ue.match_length=me(ue,rt),ue.match_length<=5&&(ue.strategy===S||ue.match_length===K&&ue.strstart-ue.match_start>4096)&&(ue.match_length=K-1)),ue.prev_length>=K&&ue.match_length<=ue.prev_length){Ge=ue.strstart+ue.lookahead-K,Ue=b._tr_tally(ue,ue.strstart-1-ue.prev_match,ue.prev_length-K),ue.lookahead-=ue.prev_length-1,ue.prev_length-=2;do++ue.strstart<=Ge&&(ue.ins_h=(ue.ins_h<<ue.hash_shift^ue.window[ue.strstart+K-1])&ue.hash_mask,rt=ue.prev[ue.strstart&ue.w_mask]=ue.head[ue.ins_h],ue.head[ue.ins_h]=ue.strstart);while(--ue.prev_length!==0);if(ue.match_available=0,ue.match_length=K-1,ue.strstart++,Ue&&(Z(ue,!1),ue.strm.avail_out===0))return _e}else if(ue.match_available){if(Ue=b._tr_tally(ue,0,ue.window[ue.strstart-1]),Ue&&Z(ue,!1),ue.strstart++,ue.lookahead--,ue.strm.avail_out===0)return _e}else ue.match_available=1,ue.strstart++,ue.lookahead--}return ue.match_available&&(Ue=b._tr_tally(ue,0,ue.window[ue.strstart-1]),ue.match_available=0),ue.insert=ue.strstart<K-1?ue.strstart:K-1,ot===r?(Z(ue,!0),ue.strm.avail_out===0?Xe:J):ue.last_lit&&(Z(ue,!1),ue.strm.avail_out===0)?_e:De}function st(ue,ot){for(var rt,Ue,Ge,tt,Wt=ue.window;;){if(ue.lookahead<=U){if($(ue),ue.lookahead<=U&&ot===e)return _e;if(ue.lookahead===0)break}if(ue.match_length=0,ue.lookahead>=K&&ue.strstart>0&&(Ge=ue.strstart-1,Ue=Wt[Ge],Ue===Wt[++Ge]&&Ue===Wt[++Ge]&&Ue===Wt[++Ge])){tt=ue.strstart+U;do;while(Ue===Wt[++Ge]&&Ue===Wt[++Ge]&&Ue===Wt[++Ge]&&Ue===Wt[++Ge]&&Ue===Wt[++Ge]&&Ue===Wt[++Ge]&&Ue===Wt[++Ge]&&Ue===Wt[++Ge]&&Ge<tt);ue.match_length=U-(tt-Ge),ue.match_length>ue.lookahead&&(ue.match_length=ue.lookahead)}if(ue.match_length>=K?(rt=b._tr_tally(ue,1,ue.match_length-K),ue.lookahead-=ue.match_length,ue.strstart+=ue.match_length,ue.match_length=0):(rt=b._tr_tally(ue,0,ue.window[ue.strstart]),ue.lookahead--,ue.strstart++),rt&&(Z(ue,!1),ue.strm.avail_out===0))return _e}return ue.insert=0,ot===r?(Z(ue,!0),ue.strm.avail_out===0?Xe:J):ue.last_lit&&(Z(ue,!1),ue.strm.avail_out===0)?_e:De}function nt(ue,ot){for(var rt;;){if(ue.lookahead===0&&($(ue),ue.lookahead===0)){if(ot===e)return _e;break}if(ue.match_length=0,rt=b._tr_tally(ue,0,ue.window[ue.strstart]),ue.lookahead--,ue.strstart++,rt&&(Z(ue,!1),ue.strm.avail_out===0))return _e}return ue.insert=0,ot===r?(Z(ue,!0),ue.strm.avail_out===0?Xe:J):ue.last_lit&&(Z(ue,!1),ue.strm.avail_out===0)?_e:De}function Ne(ue,ot,rt,Ue,Ge){this.good_length=ue,this.max_lazy=ot,this.nice_length=rt,this.max_chain=Ue,this.func=Ge}var St;St=[new Ne(0,0,0,0,we),new Ne(4,4,8,4,xe),new Ne(4,5,16,8,xe),new Ne(4,6,32,32,xe),new Ne(4,4,16,16,We),new Ne(8,16,32,32,We),new Ne(8,16,128,128,We),new Ne(8,32,128,256,We),new Ne(32,128,258,1024,We),new Ne(32,258,258,4096,We)];function Ye(ue){ue.window_size=2*ue.w_size,V(ue.head),ue.max_lazy_match=St[ue.level].max_lazy,ue.good_match=St[ue.level].good_length,ue.nice_match=St[ue.level].nice_length,ue.max_chain_length=St[ue.level].max_chain,ue.strstart=0,ue.block_start=0,ue.lookahead=0,ue.insert=0,ue.match_length=ue.prev_length=K-1,ue.match_available=0,ue.ins_h=0}function vt(){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=E,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 A.Buf16(j*2),this.dyn_dtree=new A.Buf16((2*W+1)*2),this.bl_tree=new A.Buf16((2*R+1)*2),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new A.Buf16(H+1),this.heap=new A.Buf16(2*P+1),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new A.Buf16(2*P+1),V(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 It(ue){var ot;return!ue||!ue.state?qe(ue,c):(ue.total_in=ue.total_out=0,ue.data_type=_,ot=ue.state,ot.pending=0,ot.pending_out=0,ot.wrap<0&&(ot.wrap=-ot.wrap),ot.status=ot.wrap?Y:he,ue.adler=ot.wrap===2?0:1,ot.last_flush=e,b._tr_init(ot),t)}function Ut(ue){var ot=It(ue);return ot===t&&Ye(ue.state),ot}function xt(ue,ot){return!ue||!ue.state||ue.state.wrap!==2?c:(ue.state.gzhead=ot,t)}function Bt(ue,ot,rt,Ue,Ge,tt){if(!ue)return c;var Wt=1;if(ot===m&&(ot=6),Ue<0?(Wt=0,Ue=-Ue):Ue>15&&(Wt=2,Ue-=16),Ge<1||Ge>I||rt!==E||Ue<8||Ue>15||ot<0||ot>9||tt<0||tt>C)return qe(ue,c);Ue===8&&(Ue=9);var jt=new vt;return ue.state=jt,jt.strm=ue,jt.wrap=Wt,jt.gzhead=null,jt.w_bits=Ue,jt.w_size=1<<jt.w_bits,jt.w_mask=jt.w_size-1,jt.hash_bits=Ge+7,jt.hash_size=1<<jt.hash_bits,jt.hash_mask=jt.hash_size-1,jt.hash_shift=~~((jt.hash_bits+K-1)/K),jt.window=new A.Buf8(jt.w_size*2),jt.head=new A.Buf16(jt.hash_size),jt.prev=new A.Buf16(jt.w_size),jt.lit_bufsize=1<<Ge+6,jt.pending_buf_size=jt.lit_bufsize*4,jt.pending_buf=new A.Buf8(jt.pending_buf_size),jt.d_buf=1*jt.lit_bufsize,jt.l_buf=(1+2)*jt.lit_bufsize,jt.level=ot,jt.strategy=tt,jt.method=rt,Ut(ue)}function Qe(ue,ot){return Bt(ue,ot,E,L,D,T)}function te(ue,ot){var rt,Ue,Ge,tt;if(!ue||!ue.state||ot>s||ot<0)return ue?qe(ue,c):c;if(Ue=ue.state,!ue.output||!ue.input&&ue.avail_in!==0||Ue.status===pe&&ot!==r)return qe(ue,ue.avail_out===0?p:c);if(Ue.strm=ue,rt=Ue.last_flush,Ue.last_flush=ot,Ue.status===Y)if(Ue.wrap===2)ue.adler=0,ge(Ue,31),ge(Ue,139),ge(Ue,8),Ue.gzhead?(ge(Ue,(Ue.gzhead.text?1:0)+(Ue.gzhead.hcrc?2:0)+(Ue.gzhead.extra?4:0)+(Ue.gzhead.name?8:0)+(Ue.gzhead.comment?16:0)),ge(Ue,Ue.gzhead.time&255),ge(Ue,Ue.gzhead.time>>8&255),ge(Ue,Ue.gzhead.time>>16&255),ge(Ue,Ue.gzhead.time>>24&255),ge(Ue,Ue.level===9?2:Ue.strategy>=y||Ue.level<2?4:0),ge(Ue,Ue.gzhead.os&255),Ue.gzhead.extra&&Ue.gzhead.extra.length&&(ge(Ue,Ue.gzhead.extra.length&255),ge(Ue,Ue.gzhead.extra.length>>8&255)),Ue.gzhead.hcrc&&(ue.adler=(0,v.default)(ue.adler,Ue.pending_buf,Ue.pending,0)),Ue.gzindex=0,Ue.status=q):(ge(Ue,0),ge(Ue,0),ge(Ue,0),ge(Ue,0),ge(Ue,0),ge(Ue,Ue.level===9?2:Ue.strategy>=y||Ue.level<2?4:0),ge(Ue,Ee),Ue.status=he);else{var Wt=E+(Ue.w_bits-8<<4)<<8,jt=-1;Ue.strategy>=y||Ue.level<2?jt=0:Ue.level<6?jt=1:Ue.level===6?jt=2:jt=3,Wt|=jt<<6,Ue.strstart!==0&&(Wt|=z),Wt+=31-Wt%31,Ue.status=he,le(Ue,Wt),Ue.strstart!==0&&(le(Ue,ue.adler>>>16),le(Ue,ue.adler&65535)),ue.adler=1}if(Ue.status===q)if(Ue.gzhead.extra){for(Ge=Ue.pending;Ue.gzindex<(Ue.gzhead.extra.length&65535)&&!(Ue.pending===Ue.pending_buf_size&&(Ue.gzhead.hcrc&&Ue.pending>Ge&&(ue.adler=(0,v.default)(ue.adler,Ue.pending_buf,Ue.pending-Ge,Ge)),X(ue),Ge=Ue.pending,Ue.pending===Ue.pending_buf_size));)ge(Ue,Ue.gzhead.extra[Ue.gzindex]&255),Ue.gzindex++;Ue.gzhead.hcrc&&Ue.pending>Ge&&(ue.adler=(0,v.default)(ue.adler,Ue.pending_buf,Ue.pending-Ge,Ge)),Ue.gzindex===Ue.gzhead.extra.length&&(Ue.gzindex=0,Ue.status=oe)}else Ue.status=oe;if(Ue.status===oe)if(Ue.gzhead.name){Ge=Ue.pending;do{if(Ue.pending===Ue.pending_buf_size&&(Ue.gzhead.hcrc&&Ue.pending>Ge&&(ue.adler=(0,v.default)(ue.adler,Ue.pending_buf,Ue.pending-Ge,Ge)),X(ue),Ge=Ue.pending,Ue.pending===Ue.pending_buf_size)){tt=1;break}Ue.gzindex<Ue.gzhead.name.length?tt=Ue.gzhead.name.charCodeAt(Ue.gzindex++)&255:tt=0,ge(Ue,tt)}while(tt!==0);Ue.gzhead.hcrc&&Ue.pending>Ge&&(ue.adler=(0,v.default)(ue.adler,Ue.pending_buf,Ue.pending-Ge,Ge)),tt===0&&(Ue.gzindex=0,Ue.status=ie)}else Ue.status=ie;if(Ue.status===ie)if(Ue.gzhead.comment){Ge=Ue.pending;do{if(Ue.pending===Ue.pending_buf_size&&(Ue.gzhead.hcrc&&Ue.pending>Ge&&(ue.adler=(0,v.default)(ue.adler,Ue.pending_buf,Ue.pending-Ge,Ge)),X(ue),Ge=Ue.pending,Ue.pending===Ue.pending_buf_size)){tt=1;break}Ue.gzindex<Ue.gzhead.comment.length?tt=Ue.gzhead.comment.charCodeAt(Ue.gzindex++)&255:tt=0,ge(Ue,tt)}while(tt!==0);Ue.gzhead.hcrc&&Ue.pending>Ge&&(ue.adler=(0,v.default)(ue.adler,Ue.pending_buf,Ue.pending-Ge,Ge)),tt===0&&(Ue.status=se)}else Ue.status=se;if(Ue.status===se&&(Ue.gzhead.hcrc?(Ue.pending+2>Ue.pending_buf_size&&X(ue),Ue.pending+2<=Ue.pending_buf_size&&(ge(Ue,ue.adler&255),ge(Ue,ue.adler>>8&255),ue.adler=0,Ue.status=he)):Ue.status=he),Ue.pending!==0){if(X(ue),ue.avail_out===0)return Ue.last_flush=-1,t}else if(ue.avail_in===0&&ae(ot)<=ae(rt)&&ot!==r)return qe(ue,p);if(Ue.status===pe&&ue.avail_in!==0)return qe(ue,p);if(ue.avail_in!==0||Ue.lookahead!==0||ot!==e&&Ue.status!==pe){var Yt=Ue.strategy===y?nt(Ue,ot):Ue.strategy===x?st(Ue,ot):St[Ue.level].func(Ue,ot);if((Yt===Xe||Yt===J)&&(Ue.status=pe),Yt===_e||Yt===Xe)return ue.avail_out===0&&(Ue.last_flush=-1),t;if(Yt===De&&(ot===n?b._tr_align(Ue):ot!==s&&(b._tr_stored_block(Ue,0,0,!1),ot===i&&(V(Ue.head),Ue.lookahead===0&&(Ue.strstart=0,Ue.block_start=0,Ue.insert=0))),X(ue),ue.avail_out===0))return Ue.last_flush=-1,t}return ot!==r?t:Ue.wrap<=0?a:(Ue.wrap===2?(ge(Ue,ue.adler&255),ge(Ue,ue.adler>>8&255),ge(Ue,ue.adler>>16&255),ge(Ue,ue.adler>>24&255),ge(Ue,ue.total_in&255),ge(Ue,ue.total_in>>8&255),ge(Ue,ue.total_in>>16&255),ge(Ue,ue.total_in>>24&255)):(le(Ue,ue.adler>>>16),le(Ue,ue.adler&65535)),X(ue),Ue.wrap>0&&(Ue.wrap=-Ue.wrap),Ue.pending!==0?t:a)}function Q(ue){var ot;return!ue||!ue.state?c:(ot=ue.state.status,ot!==Y&&ot!==q&&ot!==oe&&ot!==ie&&ot!==se&&ot!==he&&ot!==pe?qe(ue,c):(ue.state=null,ot===he?qe(ue,h):t))}function Me(ue,ot){var rt=ot.length,Ue,Ge,tt,Wt,jt,Yt,Tt,Rt;if(!ue||!ue.state)return c;if(Ue=ue.state,Wt=Ue.wrap,Wt===2||Wt===1&&Ue.status!==Y||Ue.lookahead)return c;for(Wt===1&&(ue.adler=(0,g.default)(ue.adler,ot,rt,0)),Ue.wrap=0,rt>=Ue.w_size&&(Wt===0&&(V(Ue.head),Ue.strstart=0,Ue.block_start=0,Ue.insert=0),Rt=new A.Buf8(Ue.w_size),A.arraySet(Rt,ot,rt-Ue.w_size,Ue.w_size,0),ot=Rt,rt=Ue.w_size),jt=ue.avail_in,Yt=ue.next_in,Tt=ue.input,ue.avail_in=rt,ue.next_in=0,ue.input=ot,$(Ue);Ue.lookahead>=K;){Ge=Ue.strstart,tt=Ue.lookahead-(K-1);do Ue.ins_h=(Ue.ins_h<<Ue.hash_shift^Ue.window[Ge+K-1])&Ue.hash_mask,Ue.prev[Ge&Ue.w_mask]=Ue.head[Ue.ins_h],Ue.head[Ue.ins_h]=Ge,Ge++;while(--tt);Ue.strstart=Ge,Ue.lookahead=K-1,$(Ue)}return Ue.strstart+=Ue.lookahead,Ue.block_start=Ue.strstart,Ue.insert=Ue.lookahead,Ue.lookahead=0,Ue.match_length=Ue.prev_length=K-1,Ue.match_available=0,ue.next_in=Yt,ue.input=Tt,ue.avail_in=jt,Ue.wrap=Wt,t}var Ce="pako deflate (from Nodeca project)";B.deflateInfo=Ce},lOQZ:function(k,B,d){var w=d("QBsz"),A=d("U/Mo"),b=A.getSymbolSize,g=A.getNodeGlobalScale,v=Math.PI,f=[];function l(o,e){var n=o.coordinateSystem;if(n&&n.type!=="view")return;var i=n.getBoundingRect(),r=o.getData(),s=r.graph,t=i.width/2+i.x,a=i.height/2+i.y,c=Math.min(i.width,i.height)/2,h=r.count();if(r.setLayout({cx:t,cy:a}),!h)return;u[e](o,n,s,r,c,t,a,h),s.eachEdge(function(p){var m=p.getModel().get("lineStyle.curveness")||0,S=w.clone(p.node1.getLayout()),y=w.clone(p.node2.getLayout()),x,C=(S[0]+y[0])/2,T=(S[1]+y[1])/2;+m&&(m*=3,x=[t*m+C*(1-m),a*m+T*(1-m)]),p.setLayout([S,y,x])})}var u={value:function(o,e,n,i,r,s,t,a){var c=0,h=i.getSum("value"),p=Math.PI*2/(h||a);n.eachNode(function(m){var S=m.getValue("value"),y=p*(h?S:1)/2;c+=y,m.setLayout([r*Math.cos(c)+s,r*Math.sin(c)+t]),c+=y})},symbolSize:function(o,e,n,i,r,s,t,a){var c=0;f.length=a;var h=g(o);n.eachNode(function(S){var y=b(S);isNaN(y)&&(y=2),y<0&&(y=0),y*=h;var x=Math.asin(y/2/r);isNaN(x)&&(x=v/2),f[S.dataIndex]=x,c+=x*2});var p=(2*v-c)/a/2,m=0;n.eachNode(function(S){var y=p+f[S.dataIndex];m+=y,S.setLayout([r*Math.cos(m)+s,r*Math.sin(m)+t]),m+=y})}};B.circularLayout=l},lUTK:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("x54q"),g=d.n(b),v=d("5Dmo")},lZu9:function(k,B,d){(function(w){w(d("VrN/"),d("1eCo"),d("8EBN"))})(function(w){"use strict";w.defineMode("markdown",function(A,b){var g=w.getMode(A,"text/html"),v=g.name=="null";function f(H){if(w.findModeByName){var K=w.findModeByName(H);K&&(H=K.mime||K.mimes[0])}var U=w.getMode(A,H);return U.name=="null"?null:U}b.highlightFormatting===void 0&&(b.highlightFormatting=!1),b.maxBlockquoteDepth===void 0&&(b.maxBlockquoteDepth=0),b.taskLists===void 0&&(b.taskLists=!1),b.strikethrough===void 0&&(b.strikethrough=!1),b.emoji===void 0&&(b.emoji=!1),b.fencedCodeBlockHighlighting===void 0&&(b.fencedCodeBlockHighlighting=!0),b.fencedCodeBlockDefaultMode===void 0&&(b.fencedCodeBlockDefaultMode="text/plain"),b.xml===void 0&&(b.xml=!0),b.tokenTypeOverrides===void 0&&(b.tokenTypeOverrides={});var l={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 u in l)l.hasOwnProperty(u)&&b.tokenTypeOverrides[u]&&(l[u]=b.tokenTypeOverrides[u]);var o=/^([*\-_])(?:\s*\1){2,}\s*$/,e=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,n=/^\[(x| )\](?=\s)/i,i=b.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,r=/^ {0,3}(?:\={1,}|-{2,})\s*$/,s=/^[^#!\[\]*_\\<>` "'(~:]+/,t=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,a=/^\s*\[[^\]]+?\]:.*$/,c=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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 p(H,K,U){return K.f=K.inline=U,U(H,K)}function m(H,K,U){return K.f=K.block=U,U(H,K)}function S(H){return!H||!/\S/.test(H.string)}function y(H){if(H.linkTitle=!1,H.linkHref=!1,H.linkText=!1,H.em=!1,H.strong=!1,H.strikethrough=!1,H.quote=0,H.indentedCode=!1,H.f==C){var K=v;if(!K){var U=w.innerMode(g,H.htmlState);K=U.mode.name=="xml"&&U.state.tagStart===null&&!U.state.context&&U.state.tokenize.isInText}K&&(H.f=I,H.block=x,H.htmlState=null)}return H.trailingSpace=0,H.trailingSpaceNewLine=!1,H.prevLine=H.thisLine,H.thisLine={stream:null},null}function x(H,K){var U=H.column()===K.indentation,G=S(K.prevLine.stream),z=K.indentedCode,Y=K.prevLine.hr,q=K.list!==!1,oe=(K.listStack[K.listStack.length-1]||0)+3;K.indentedCode=!1;var ie=K.indentation;if(K.indentationDiff===null&&(K.indentationDiff=K.indentation,q)){for(K.list=null;ie<K.listStack[K.listStack.length-1];)K.listStack.pop(),K.listStack.length?K.indentation=K.listStack[K.listStack.length-1]:K.list=!1;K.list!==!1&&(K.indentationDiff=ie-K.listStack[K.listStack.length-1])}var se=!G&&!Y&&!K.prevLine.header&&(!q||!z)&&!K.prevLine.fencedCodeEnd,he=(K.list===!1||Y||G)&&K.indentation<=oe&&H.match(o),pe=null;if(K.indentationDiff>=4&&(z||K.prevLine.fencedCodeEnd||K.prevLine.header||G))return H.skipToEnd(),K.indentedCode=!0,l.code;if(H.eatSpace())return null;if(U&&K.indentation<=oe&&(pe=H.match(i))&&pe[1].length<=6)return K.quote=0,K.header=pe[1].length,K.thisLine.header=!0,b.highlightFormatting&&(K.formatting="header"),K.f=K.inline,_(K);if(K.indentation<=oe&&H.eat(">"))return K.quote=U?1:K.quote+1,b.highlightFormatting&&(K.formatting="quote"),H.eatSpace(),_(K);if(!he&&!K.setext&&U&&K.indentation<=oe&&(pe=H.match(e))){var _e=pe[1]?"ol":"ul";return K.indentation=ie+H.current().length,K.list=!0,K.quote=0,K.listStack.push(K.indentation),K.em=!1,K.strong=!1,K.code=!1,K.strikethrough=!1,b.taskLists&&H.match(n,!1)&&(K.taskList=!0),K.f=K.inline,b.highlightFormatting&&(K.formatting=["list","list-"+_e]),_(K)}else{if(U&&K.indentation<=oe&&(pe=H.match(t,!0)))return K.quote=0,K.fencedEndRE=new RegExp(pe[1]+"+ *$"),K.localMode=b.fencedCodeBlockHighlighting&&f(pe[2]||b.fencedCodeBlockDefaultMode),K.localMode&&(K.localState=w.startState(K.localMode)),K.f=K.block=T,b.highlightFormatting&&(K.formatting="code-block"),K.code=-1,_(K);if(K.setext||(!se||!q)&&!K.quote&&K.list===!1&&!K.code&&!he&&!a.test(H.string)&&(pe=H.lookAhead(1))&&(pe=pe.match(r)))return K.setext?(K.header=K.setext,K.setext=0,H.skipToEnd(),b.highlightFormatting&&(K.formatting="header")):(K.header=pe[0].charAt(0)=="="?1:2,K.setext=K.header),K.thisLine.header=!0,K.f=K.inline,_(K);if(he)return H.skipToEnd(),K.hr=!0,K.thisLine.hr=!0,l.hr;if(H.peek()==="[")return p(H,K,P)}return p(H,K,K.inline)}function C(H,K){var U=g.token(H,K.htmlState);if(!v){var G=w.innerMode(g,K.htmlState);(G.mode.name=="xml"&&G.state.tagStart===null&&!G.state.context&&G.state.tokenize.isInText||K.md_inside&&H.current().indexOf(">")>-1)&&(K.f=I,K.block=x,K.htmlState=null)}return U}function T(H,K){var U=K.listStack[K.listStack.length-1]||0,G=K.indentation<U,z=U+3;if(K.fencedEndRE&&K.indentation<=z&&(G||H.match(K.fencedEndRE))){b.highlightFormatting&&(K.formatting="code-block");var Y;return G||(Y=_(K)),K.localMode=K.localState=null,K.block=x,K.f=I,K.fencedEndRE=null,K.code=0,K.thisLine.fencedCodeEnd=!0,G?m(H,K,K.block):Y}else return K.localMode?K.localMode.token(H,K.localState):(H.skipToEnd(),l.code)}function _(H){var K=[];if(H.formatting){K.push(l.formatting),typeof H.formatting=="string"&&(H.formatting=[H.formatting]);for(var U=0;U<H.formatting.length;U++)K.push(l.formatting+"-"+H.formatting[U]),H.formatting[U]==="header"&&K.push(l.formatting+"-"+H.formatting[U]+"-"+H.header),H.formatting[U]==="quote"&&(!b.maxBlockquoteDepth||b.maxBlockquoteDepth>=H.quote?K.push(l.formatting+"-"+H.formatting[U]+"-"+H.quote):K.push("error"))}if(H.taskOpen)return K.push("meta"),K.length?K.join(" "):null;if(H.taskClosed)return K.push("property"),K.length?K.join(" "):null;if(H.linkHref?K.push(l.linkHref,"url"):(H.strong&&K.push(l.strong),H.em&&K.push(l.em),H.strikethrough&&K.push(l.strikethrough),H.emoji&&K.push(l.emoji),H.linkText&&K.push(l.linkText),H.code&&K.push(l.code),H.image&&K.push(l.image),H.imageAltText&&K.push(l.imageAltText,"link"),H.imageMarker&&K.push(l.imageMarker)),H.header&&K.push(l.header,l.header+"-"+H.header),H.quote&&(K.push(l.quote),!b.maxBlockquoteDepth||b.maxBlockquoteDepth>=H.quote?K.push(l.quote+"-"+H.quote):K.push(l.quote+"-"+b.maxBlockquoteDepth)),H.list!==!1){var G=(H.listStack.length-1)%3;G?G===1?K.push(l.list2):K.push(l.list3):K.push(l.list1)}return H.trailingSpaceNewLine?K.push("trailing-space-new-line"):H.trailingSpace&&K.push("trailing-space-"+(H.trailingSpace%2?"a":"b")),K.length?K.join(" "):null}function E(H,K){return H.match(s,!0)?_(K):void 0}function I(H,K){var U=K.text(H,K);if(typeof U!="undefined")return U;if(K.list)return K.list=null,_(K);if(K.taskList){var G=H.match(n,!0)[1]===" ";return G?K.taskOpen=!0:K.taskClosed=!0,b.highlightFormatting&&(K.formatting="task"),K.taskList=!1,_(K)}if(K.taskOpen=!1,K.taskClosed=!1,K.header&&H.match(/^#+$/,!0))return b.highlightFormatting&&(K.formatting="header"),_(K);var z=H.next();if(K.linkTitle){K.linkTitle=!1;var Y=z;z==="("&&(Y=")"),Y=(Y+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var q="^\\s*(?:[^"+Y+"\\\\]+|\\\\\\\\|\\\\.)"+Y;if(H.match(new RegExp(q),!0))return l.linkHref}if(z==="`"){var oe=K.formatting;b.highlightFormatting&&(K.formatting="code"),H.eatWhile("`");var ie=H.current().length;if(K.code==0&&(!K.quote||ie==1))return K.code=ie,_(K);if(ie==K.code){var se=_(K);return K.code=0,se}else return K.formatting=oe,_(K)}else if(K.code)return _(K);if(z==="\\"&&(H.next(),b.highlightFormatting)){var he=_(K),pe=l.formatting+"-escape";return he?he+" "+pe:pe}if(z==="!"&&H.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return K.imageMarker=!0,K.image=!0,b.highlightFormatting&&(K.formatting="image"),_(K);if(z==="["&&K.imageMarker&&H.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return K.imageMarker=!1,K.imageAltText=!0,b.highlightFormatting&&(K.formatting="image"),_(K);if(z==="]"&&K.imageAltText){b.highlightFormatting&&(K.formatting="image");var he=_(K);return K.imageAltText=!1,K.image=!1,K.inline=K.f=D,he}if(z==="["&&!K.image)return K.linkText&&H.match(/^.*?\]/)||(K.linkText=!0,b.highlightFormatting&&(K.formatting="link")),_(K);if(z==="]"&&K.linkText){b.highlightFormatting&&(K.formatting="link");var he=_(K);return K.linkText=!1,K.inline=K.f=H.match(/\(.*?\)| ?\[.*?\]/,!1)?D:I,he}if(z==="<"&&H.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){K.f=K.inline=L,b.highlightFormatting&&(K.formatting="link");var he=_(K);return he?he+=" ":he="",he+l.linkInline}if(z==="<"&&H.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){K.f=K.inline=L,b.highlightFormatting&&(K.formatting="link");var he=_(K);return he?he+=" ":he="",he+l.linkEmail}if(b.xml&&z==="<"&&H.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var _e=H.string.indexOf(">",H.pos);if(_e!=-1){var De=H.string.substring(H.start,_e);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(De)&&(K.md_inside=!0)}return H.backUp(1),K.htmlState=w.startState(g),m(H,K,C)}if(b.xml&&z==="<"&&H.match(/^\/\w*?>/))return K.md_inside=!1,"tag";if(z==="*"||z==="_"){for(var Xe=1,J=H.pos==1?" ":H.string.charAt(H.pos-2);Xe<3&&H.eat(z);)Xe++;var Ee=H.peek()||" ",qe=!/\s/.test(Ee)&&(!c.test(Ee)||/\s/.test(J)||c.test(J)),ae=!/\s/.test(J)&&(!c.test(J)||/\s/.test(Ee)||c.test(Ee)),V=null,X=null;if(Xe%2&&(!K.em&&qe&&(z==="*"||!ae||c.test(J))?V=!0:K.em==z&&ae&&(z==="*"||!qe||c.test(Ee))&&(V=!1)),Xe>1&&(!K.strong&&qe&&(z==="*"||!ae||c.test(J))?X=!0:K.strong==z&&ae&&(z==="*"||!qe||c.test(Ee))&&(X=!1)),X!=null||V!=null){b.highlightFormatting&&(K.formatting=V==null?"strong":X==null?"em":"strong em"),V===!0&&(K.em=z),X===!0&&(K.strong=z);var se=_(K);return V===!1&&(K.em=!1),X===!1&&(K.strong=!1),se}}else if(z===" "&&(H.eat("*")||H.eat("_"))){if(H.peek()===" ")return _(K);H.backUp(1)}if(b.strikethrough){if(z==="~"&&H.eatWhile(z)){if(K.strikethrough){b.highlightFormatting&&(K.formatting="strikethrough");var se=_(K);return K.strikethrough=!1,se}else if(H.match(/^[^\s]/,!1))return K.strikethrough=!0,b.highlightFormatting&&(K.formatting="strikethrough"),_(K)}else if(z===" "&&H.match(/^~~/,!0)){if(H.peek()===" ")return _(K);H.backUp(2)}}if(b.emoji&&z===":"&&H.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){K.emoji=!0,b.highlightFormatting&&(K.formatting="emoji");var Z=_(K);return K.emoji=!1,Z}return z===" "&&(H.match(/^ +$/,!1)?K.trailingSpace++:K.trailingSpace&&(K.trailingSpaceNewLine=!0)),_(K)}function L(H,K){var U=H.next();if(U===">"){K.f=K.inline=I,b.highlightFormatting&&(K.formatting="link");var G=_(K);return G?G+=" ":G="",G+l.linkInline}return H.match(/^[^>]+/,!0),l.linkInline}function D(H,K){if(H.eatSpace())return null;var U=H.next();return U==="("||U==="["?(K.f=K.inline=N(U==="("?")":"]"),b.highlightFormatting&&(K.formatting="link-string"),K.linkHref=!0,_(K)):"error"}var F={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function N(H){return function(K,U){var G=K.next();if(G===H){U.f=U.inline=I,b.highlightFormatting&&(U.formatting="link-string");var z=_(U);return U.linkHref=!1,z}return K.match(F[H]),U.linkHref=!0,_(U)}}function P(H,K){return H.match(/^([^\]\\]|\\.)*\]:/,!1)?(K.f=W,H.next(),b.highlightFormatting&&(K.formatting="link"),K.linkText=!0,_(K)):p(H,K,I)}function W(H,K){if(H.match(/^\]:/,!0)){K.f=K.inline=R,b.highlightFormatting&&(K.formatting="link");var U=_(K);return K.linkText=!1,U}return H.match(/^([^\]\\]|\\.)+/,!0),l.linkText}function R(H,K){return H.eatSpace()?null:(H.match(/^[^\s]+/,!0),H.peek()===void 0?K.linkTitle=!0:H.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),K.f=K.inline=I,l.linkHref+" url")}var j={startState:function(){return{f:x,prevLine:{stream:null},thisLine:{stream:null},block:x,htmlState:null,indentation:0,inline:I,text:E,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(K){return{f:K.f,prevLine:K.prevLine,thisLine:K.thisLine,block:K.block,htmlState:K.htmlState&&w.copyState(g,K.htmlState),indentation:K.indentation,localMode:K.localMode,localState:K.localMode?w.copyState(K.localMode,K.localState):null,inline:K.inline,text:K.text,formatting:!1,linkText:K.linkText,linkTitle:K.linkTitle,linkHref:K.linkHref,code:K.code,em:K.em,strong:K.strong,strikethrough:K.strikethrough,emoji:K.emoji,header:K.header,setext:K.setext,hr:K.hr,taskList:K.taskList,list:K.list,listStack:K.listStack.slice(0),quote:K.quote,indentedCode:K.indentedCode,trailingSpace:K.trailingSpace,trailingSpaceNewLine:K.trailingSpaceNewLine,md_inside:K.md_inside,fencedEndRE:K.fencedEndRE}},token:function(K,U){if(U.formatting=!1,K!=U.thisLine.stream){if(U.header=0,U.hr=!1,K.match(/^\s*$/,!0))return y(U),null;if(U.prevLine=U.thisLine,U.thisLine={stream:K},U.taskList=!1,U.trailingSpace=0,U.trailingSpaceNewLine=!1,!U.localState&&(U.f=U.block,U.f!=C)){var G=K.match(/^\s*/,!0)[0].replace(/\t/g,h).length;if(U.indentation=G,U.indentationDiff=null,G>0)return null}}return U.f(K,U)},innerMode:function(K){return K.block==C?{state:K.htmlState,mode:g}:K.localState?{state:K.localState,mode:K.localMode}:{state:K,mode:j}},indent:function(K,U,G){return K.block==C&&g.indent?g.indent(K.htmlState,U,G):K.localState&&K.localMode.indent?K.localMode.indent(K.localState,U,G):w.Pass},blankLine:y,getType:_,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return j},"xml"),w.defineMIME("text/markdown","markdown"),w.defineMIME("text/x-markdown","markdown")})},laiN:function(k,B,d){var w=d("ProS");d("GVMX"),d("MH26"),w.registerPreprocessor(function(A){A.markLine=A.markLine||{}})},lnY3:function(k,B,d){},loD1:function(k,B){function d(w,A,b,g,v,f,l){if(v===0)return!1;var u=v,o=0,e=w;if(l>A+u&&l>g+u||l<A-u&&l<g-u||f>w+u&&f>b+u||f<w-u&&f<b-u)return!1;if(w!==b)o=(A-g)/(w-b),e=(w*g-b*A)/(w-b);else return Math.abs(f-w)<=u/2;var n=o*f-l+e,i=n*n/(o*o+1);return i<=u/2*u/2}B.containStroke=d},lrIw:function(k,B,d){"use strict";var w=d("wx14"),A=d("U8pU"),b=d("ODXe"),g=d("q1tI"),v=d.n(g),f=d("Zm9Q"),l=d("TSYQ"),u=d.n(l),o=d("bT9E"),e=d("2fM7"),n=d("H84U"),i=d("uaoM"),r=d("0n0R"),s=e.a.Option;function t(h){return h&&h.type&&(h.type.isSelectOption||h.type.isSelectOptGroup)}var a=function(p,m){var S=p.prefixCls,y=p.className,x=p.children,C=p.dataSource,T=Object(f.a)(x),_;if(T.length===1&&Object(r.b)(T[0])&&!t(T[0])){var E=Object(b.a)(T,1);_=E[0]}var I=_?function(){return _}:void 0,L;return T.length&&t(T[0])?L=x:L=C?C.map(function(D){if(Object(r.b)(D))return D;switch(Object(A.a)(D)){case"string":return g.createElement(s,{key:D,value:D},D);case"object":{var F=D.value;return g.createElement(s,{key:F,value:F},D.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],g.useEffect(function(){Object(i.a)(!("dataSource"in p),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(i.a)(!_||!("size"in p),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),g.createElement(n.a,null,function(D){var F=D.getPrefixCls,N=F("select",S);return g.createElement(e.a,Object(w.a)({ref:m},Object(o.a)(p,["dataSource"]),{prefixCls:N,className:u()("".concat(N,"-auto-complete"),y),mode:e.a.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:I}),L)})},c=g.forwardRef(a);c.Option=s,B.a=c},lwQL:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("9wZj"),g=d("c8qY"),v=d("SgGq"),f=d("Ae+d"),l=d("xSat"),u=l.onIrrelevantElement,o=d("IwbS"),e=d("SA8n"),n=d("U/Mo"),i=n.getNodeGlobalScale,r="__focusNodeAdjacency",s="__unfocusNodeAdjacency",t=["itemStyle","opacity"],a=["lineStyle","opacity"];function c(S,y){var x=S.getVisual("opacity");return x!=null?x:S.getModel().get(y)}function h(S,y,x){var C=S.getGraphicEl(),T=c(S,y);x!=null&&(T==null&&(T=1),T*=x),C.downplay&&C.downplay(),C.traverse(function(_){if(!_.isGroup){var E=_.lineLabelOriginalOpacity;(E==null||x!=null)&&(E=T),_.setStyle("opacity",E)}})}function p(S,y){var x=c(S,y),C=S.getGraphicEl();C.traverse(function(T){!T.isGroup&&T.setStyle("opacity",x)}),C.highlight&&C.highlight()}var m=w.extendChartView({type:"graph",init:function(S,y){var x=new b,C=new g,T=this.group;this._controller=new v(y.getZr()),this._controllerHost={target:T},T.add(x.group),T.add(C.group),this._symbolDraw=x,this._lineDraw=C,this._firstRender=!0},render:function(S,y,x){var C=this,T=S.coordinateSystem;this._model=S;var _=this._symbolDraw,E=this._lineDraw,I=this.group;if(T.type==="view"){var L={position:T.position,scale:T.scale};this._firstRender?I.attr(L):o.updateProps(I,L,S)}e(S.getGraph(),i(S));var D=S.getData();_.updateData(D);var F=S.getEdgeData();E.updateData(F),this._updateNodeAndLinkScale(),this._updateController(S,y,x),clearTimeout(this._layoutTimeout);var N=S.forceLayout,P=S.get("force.layoutAnimation");N&&this._startForceLayoutIteration(N,P),D.eachItemGraphicEl(function(H,K){var U=D.getItemModel(K);H.off("drag").off("dragend");var G=U.get("draggable");G&&H.on("drag",function(){N&&(N.warmUp(),!this._layouting&&this._startForceLayoutIteration(N,P),N.setFixed(K),D.setItemLayout(K,H.position))},this).on("dragend",function(){N&&N.setUnfixed(K)},this),H.setDraggable(G&&N),H[r]&&H.off("mouseover",H[r]),H[s]&&H.off("mouseout",H[s]),U.get("focusNodeAdjacency")&&(H.on("mouseover",H[r]=function(){C._clearTimer(),x.dispatchAction({type:"focusNodeAdjacency",seriesId:S.id,dataIndex:H.dataIndex})}),H.on("mouseout",H[s]=function(){C._dispatchUnfocus(x)}))},this),D.graph.eachEdge(function(H){var K=H.getGraphicEl();K[r]&&K.off("mouseover",K[r]),K[s]&&K.off("mouseout",K[s]),H.getModel().get("focusNodeAdjacency")&&(K.on("mouseover",K[r]=function(){C._clearTimer(),x.dispatchAction({type:"focusNodeAdjacency",seriesId:S.id,edgeDataIndex:H.dataIndex})}),K.on("mouseout",K[s]=function(){C._dispatchUnfocus(x)}))});var W=S.get("layout")==="circular"&&S.get("circular.rotateLabel"),R=D.getLayout("cx"),j=D.getLayout("cy");D.eachItemGraphicEl(function(H,K){var U=D.getItemModel(K),G=U.get("label.rotate")||0,z=H.getSymbolPath();if(W){var Y=D.getItemLayout(K),q=Math.atan2(Y[1]-j,Y[0]-R);q<0&&(q=Math.PI*2+q);var oe=Y[0]<R;oe&&(q=q-Math.PI);var ie=oe?"left":"right";o.modifyLabelStyle(z,{textRotation:-q,textPosition:ie,textOrigin:"center"},{textPosition:ie})}else o.modifyLabelStyle(z,{textRotation:G*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(S,y){var x=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){x._unfocusDelayTimer=null,S.dispatchAction({type:"unfocusNodeAdjacency",seriesId:x._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(S,y,x,C){var T=S.getData(),_=T.graph,E=C.dataIndex,I=C.edgeDataIndex,L=_.getNodeByIndex(E),D=_.getEdgeByIndex(I);if(!L&&!D)return;_.eachNode(function(F){h(F,t,.1)}),_.eachEdge(function(F){h(F,a,.1)}),L&&(p(L,t),A.each(L.edges,function(F){if(F.dataIndex<0)return;p(F,a),p(F.node1,t),p(F.node2,t)})),D&&(p(D,a),p(D.node1,t),p(D.node2,t))},unfocusNodeAdjacency:function(S,y,x,C){var T=S.getData().graph;T.eachNode(function(_){h(_,t)}),T.eachEdge(function(_){h(_,a)})},_startForceLayoutIteration:function(S,y){var x=this;(function C(){S.step(function(T){x.updateLayout(x._model),(x._layouting=!T)&&(y?x._layoutTimeout=setTimeout(C,16):C())})})()},_updateController:function(S,y,x){var C=this._controller,T=this._controllerHost,_=this.group;if(C.setPointerChecker(function(E,I,L){var D=_.getBoundingRect();return D.applyTransform(_.transform),D.contain(I,L)&&!u(E,x,S)}),S.coordinateSystem.type!=="view"){C.disable();return}C.enable(S.get("roam")),T.zoomLimit=S.get("scaleLimit"),T.zoom=S.coordinateSystem.getZoom(),C.off("pan").off("zoom").on("pan",function(E){f.updateViewOnPan(T,E.dx,E.dy),x.dispatchAction({seriesId:S.id,type:"graphRoam",dx:E.dx,dy:E.dy})}).on("zoom",function(E){f.updateViewOnZoom(T,E.scale,E.originX,E.originY),x.dispatchAction({seriesId:S.id,type:"graphRoam",zoom:E.scale,originX:E.originX,originY:E.originY}),this._updateNodeAndLinkScale(),e(S.getGraph(),i(S)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var S=this._model,y=S.getData(),x=i(S),C=[x,x];y.eachItemGraphicEl(function(T,_){T.attr("scale",C)})},updateLayout:function(S){e(S.getGraph(),i(S)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(S,y){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});k.exports=m},m9t5:function(k,B,d){var w=d("KCsZ"),A=w([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),b={getAreaStyle:function(g,v){return A(this,g,v)}};k.exports=b},mFDi:function(k,B,d){var w=d("QBsz"),A=d("Fofx"),b=w.applyTransform,g=Math.min,v=Math.max;function f(u,o,e,n){e<0&&(u=u+e,e=-e),n<0&&(o=o+n,n=-n),this.x=u,this.y=o,this.width=e,this.height=n}f.prototype={constructor:f,union:function(o){var e=g(o.x,this.x),n=g(o.y,this.y);this.width=v(o.x+o.width,this.x+this.width)-e,this.height=v(o.y+o.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:function(){var u=[],o=[],e=[],n=[];return function(i){if(!i)return;u[0]=e[0]=this.x,u[1]=n[1]=this.y,o[0]=n[0]=this.x+this.width,o[1]=e[1]=this.y+this.height,b(u,u,i),b(o,o,i),b(e,e,i),b(n,n,i),this.x=g(u[0],o[0],e[0],n[0]),this.y=g(u[1],o[1],e[1],n[1]);var r=v(u[0],o[0],e[0],n[0]),s=v(u[1],o[1],e[1],n[1]);this.width=r-this.x,this.height=s-this.y}}(),calculateTransform:function(o){var e=this,n=o.width/e.width,i=o.height/e.height,r=A.create();return A.translate(r,r,[-e.x,-e.y]),A.scale(r,r,[n,i]),A.translate(r,r,[o.x,o.y]),r},intersect:function(o){if(!o)return!1;o instanceof f||(o=f.create(o));var e=this,n=e.x,i=e.x+e.width,r=e.y,s=e.y+e.height,t=o.x,a=o.x+o.width,c=o.y,h=o.y+o.height;return!(i<t||a<n||s<c||h<r)},contain:function(o,e){var n=this;return o>=n.x&&o<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new f(this.x,this.y,this.width,this.height)},copy:function(o){this.x=o.x,this.y=o.y,this.width=o.width,this.height=o.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},f.create=function(u){return new f(u.x,u.y,u.width,u.height)};var l=f;k.exports=l},mHUz:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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};B.default=w},mLcG:function(k,B){var d=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(w){setTimeout(w,16)};k.exports=d},mOdp:function(k,B,d){var w=d("bYtY"),A=w.createHashMap;function b(g){return{getTargetSeries:function(v){var f={},l=A();return v.eachSeriesByType(g,function(u){u.__paletteScope=f,l.set(u.uid,u)}),l},reset:function(v,f){var l=v.getRawData(),u={},o=v.getData();o.each(function(e){var n=o.getRawIndex(e);u[n]=e}),l.each(function(e){var n=u[e],i=n!=null&&o.getItemVisual(n,"color",!0),r=n!=null&&o.getItemVisual(n,"borderColor",!0),s;if((!i||!r)&&(s=l.getItemModel(e)),!i){var t=s.get("itemStyle.color")||v.getColorFromPalette(l.getName(e)||e+"",v.__paletteScope,l.count());n!=null&&o.setItemVisual(n,"color",t)}if(!r){var a=s.get("itemStyle.borderColor");n!=null&&o.setItemVisual(n,"borderColor",a)}})}}}k.exports=b},mTgk:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=A(d("mHUz"));function A(u){return u&&u.__esModule?u:{default:u}}var b={};function g(u,o){if(o===void 0)throw new Error('Undefined keysym for key "'+u+'"');if(u in b)throw new Error('Duplicate entry for key "'+u+'"');b[u]=[o,o,o,o]}function v(u,o,e){if(o===void 0)throw new Error('Undefined keysym for key "'+u+'"');if(e===void 0)throw new Error('Undefined keysym for key "'+u+'"');if(u in b)throw new Error('Duplicate entry for key "'+u+'"');b[u]=[o,o,e,o]}function f(u,o,e){if(o===void 0)throw new Error('Undefined keysym for key "'+u+'"');if(e===void 0)throw new Error('Undefined keysym for key "'+u+'"');if(u in b)throw new Error('Duplicate entry for key "'+u+'"');b[u]=[o,o,o,e]}v("Alt",w.default.XK_Alt_L,w.default.XK_Alt_R),g("AltGraph",w.default.XK_ISO_Level3_Shift),g("CapsLock",w.default.XK_Caps_Lock),v("Control",w.default.XK_Control_L,w.default.XK_Control_R),v("Meta",w.default.XK_Super_L,w.default.XK_Super_R),g("NumLock",w.default.XK_Num_Lock),g("ScrollLock",w.default.XK_Scroll_Lock),v("Shift",w.default.XK_Shift_L,w.default.XK_Shift_R),f("Enter",w.default.XK_Return,w.default.XK_KP_Enter),g("Tab",w.default.XK_Tab),f(" ",w.default.XK_space,w.default.XK_KP_Space),f("ArrowDown",w.default.XK_Down,w.default.XK_KP_Down),f("ArrowUp",w.default.XK_Up,w.default.XK_KP_Up),f("ArrowLeft",w.default.XK_Left,w.default.XK_KP_Left),f("ArrowRight",w.default.XK_Right,w.default.XK_KP_Right),f("End",w.default.XK_End,w.default.XK_KP_End),f("Home",w.default.XK_Home,w.default.XK_KP_Home),f("PageDown",w.default.XK_Next,w.default.XK_KP_Next),f("PageUp",w.default.XK_Prior,w.default.XK_KP_Prior),g("Backspace",w.default.XK_BackSpace),f("Clear",w.default.XK_Clear,w.default.XK_KP_Begin),g("Copy",w.default.XF86XK_Copy),g("Cut",w.default.XF86XK_Cut),f("Delete",w.default.XK_Delete,w.default.XK_KP_Delete),f("Insert",w.default.XK_Insert,w.default.XK_KP_Insert),g("Paste",w.default.XF86XK_Paste),g("Redo",w.default.XK_Redo),g("Undo",w.default.XK_Undo),g("Cancel",w.default.XK_Cancel),g("ContextMenu",w.default.XK_Menu),g("Escape",w.default.XK_Escape),g("Execute",w.default.XK_Execute),g("Find",w.default.XK_Find),g("Help",w.default.XK_Help),g("Pause",w.default.XK_Pause),g("Select",w.default.XK_Select),g("ZoomIn",w.default.XF86XK_ZoomIn),g("ZoomOut",w.default.XF86XK_ZoomOut),g("BrightnessDown",w.default.XF86XK_MonBrightnessDown),g("BrightnessUp",w.default.XF86XK_MonBrightnessUp),g("Eject",w.default.XF86XK_Eject),g("LogOff",w.default.XF86XK_LogOff),g("Power",w.default.XF86XK_PowerOff),g("PowerOff",w.default.XF86XK_PowerDown),g("PrintScreen",w.default.XK_Print),g("Hibernate",w.default.XF86XK_Hibernate),g("Standby",w.default.XF86XK_Standby),g("WakeUp",w.default.XF86XK_WakeUp),g("AllCandidates",w.default.XK_MultipleCandidate),g("Alphanumeric",w.default.XK_Eisu_Shift),g("CodeInput",w.default.XK_Codeinput),g("Compose",w.default.XK_Multi_key),g("Convert",w.default.XK_Henkan),g("GroupFirst",w.default.XK_ISO_First_Group),g("GroupLast",w.default.XK_ISO_Last_Group),g("GroupNext",w.default.XK_ISO_Next_Group),g("GroupPrevious",w.default.XK_ISO_Prev_Group),g("NonConvert",w.default.XK_Muhenkan),g("PreviousCandidate",w.default.XK_PreviousCandidate),g("SingleCandidate",w.default.XK_SingleCandidate),g("HangulMode",w.default.XK_Hangul),g("HanjaMode",w.default.XK_Hangul_Hanja),g("JunjuaMode",w.default.XK_Hangul_Jeonja),g("Eisu",w.default.XK_Eisu_toggle),g("Hankaku",w.default.XK_Hankaku),g("Hiragana",w.default.XK_Hiragana),g("HiraganaKatakana",w.default.XK_Hiragana_Katakana),g("KanaMode",w.default.XK_Kana_Shift),g("KanjiMode",w.default.XK_Kanji),g("Katakana",w.default.XK_Katakana),g("Romaji",w.default.XK_Romaji),g("Zenkaku",w.default.XK_Zenkaku),g("ZenkakuHanaku",w.default.XK_Zenkaku_Hankaku),g("F1",w.default.XK_F1),g("F2",w.default.XK_F2),g("F3",w.default.XK_F3),g("F4",w.default.XK_F4),g("F5",w.default.XK_F5),g("F6",w.default.XK_F6),g("F7",w.default.XK_F7),g("F8",w.default.XK_F8),g("F9",w.default.XK_F9),g("F10",w.default.XK_F10),g("F11",w.default.XK_F11),g("F12",w.default.XK_F12),g("F13",w.default.XK_F13),g("F14",w.default.XK_F14),g("F15",w.default.XK_F15),g("F16",w.default.XK_F16),g("F17",w.default.XK_F17),g("F18",w.default.XK_F18),g("F19",w.default.XK_F19),g("F20",w.default.XK_F20),g("F21",w.default.XK_F21),g("F22",w.default.XK_F22),g("F23",w.default.XK_F23),g("F24",w.default.XK_F24),g("F25",w.default.XK_F25),g("F26",w.default.XK_F26),g("F27",w.default.XK_F27),g("F28",w.default.XK_F28),g("F29",w.default.XK_F29),g("F30",w.default.XK_F30),g("F31",w.default.XK_F31),g("F32",w.default.XK_F32),g("F33",w.default.XK_F33),g("F34",w.default.XK_F34),g("F35",w.default.XK_F35),g("Close",w.default.XF86XK_Close),g("MailForward",w.default.XF86XK_MailForward),g("MailReply",w.default.XF86XK_Reply),g("MailSend",w.default.XF86XK_Send),g("MediaFastForward",w.default.XF86XK_AudioForward),g("MediaPause",w.default.XF86XK_AudioPause),g("MediaPlay",w.default.XF86XK_AudioPlay),g("MediaRecord",w.default.XF86XK_AudioRecord),g("MediaRewind",w.default.XF86XK_AudioRewind),g("MediaStop",w.default.XF86XK_AudioStop),g("MediaTrackNext",w.default.XF86XK_AudioNext),g("MediaTrackPrevious",w.default.XF86XK_AudioPrev),g("New",w.default.XF86XK_New),g("Open",w.default.XF86XK_Open),g("Print",w.default.XK_Print),g("Save",w.default.XF86XK_Save),g("SpellCheck",w.default.XF86XK_Spell),g("AudioVolumeDown",w.default.XF86XK_AudioLowerVolume),g("AudioVolumeUp",w.default.XF86XK_AudioRaiseVolume),g("AudioVolumeMute",w.default.XF86XK_AudioMute),g("MicrophoneVolumeMute",w.default.XF86XK_AudioMicMute),g("LaunchApplication1",w.default.XF86XK_MyComputer),g("LaunchApplication2",w.default.XF86XK_Calculator),g("LaunchCalendar",w.default.XF86XK_Calendar),g("LaunchMail",w.default.XF86XK_Mail),g("LaunchMediaPlayer",w.default.XF86XK_AudioMedia),g("LaunchMusicPlayer",w.default.XF86XK_Music),g("LaunchPhone",w.default.XF86XK_Phone),g("LaunchScreenSaver",w.default.XF86XK_ScreenSaver),g("LaunchSpreadsheet",w.default.XF86XK_Excel),g("LaunchWebBrowser",w.default.XF86XK_WWW),g("LaunchWebCam",w.default.XF86XK_WebCam),g("LaunchWordProcessor",w.default.XF86XK_Word),g("BrowserBack",w.default.XF86XK_Back),g("BrowserFavorites",w.default.XF86XK_Favorites),g("BrowserForward",w.default.XF86XK_Forward),g("BrowserHome",w.default.XF86XK_HomePage),g("BrowserRefresh",w.default.XF86XK_Refresh),g("BrowserSearch",w.default.XF86XK_Search),g("BrowserStop",w.default.XF86XK_Stop),g("Dimmer",w.default.XF86XK_BrightnessAdjust),g("MediaAudioTrack",w.default.XF86XK_AudioCycleTrack),g("RandomToggle",w.default.XF86XK_AudioRandomPlay),g("SplitScreenToggle",w.default.XF86XK_SplitScreen),g("Subtitle",w.default.XF86XK_Subtitle),g("VideoModeNext",w.default.XF86XK_Next_VMode),f("=",w.default.XK_equal,w.default.XK_KP_Equal),f("+",w.default.XK_plus,w.default.XK_KP_Add),f("-",w.default.XK_minus,w.default.XK_KP_Subtract),f("*",w.default.XK_asterisk,w.default.XK_KP_Multiply),f("/",w.default.XK_slash,w.default.XK_KP_Divide),f(".",w.default.XK_period,w.default.XK_KP_Decimal),f(",",w.default.XK_comma,w.default.XK_KP_Separator),f("0",w.default.XK_0,w.default.XK_KP_0),f("1",w.default.XK_1,w.default.XK_KP_1),f("2",w.default.XK_2,w.default.XK_KP_2),f("3",w.default.XK_3,w.default.XK_KP_3),f("4",w.default.XK_4,w.default.XK_KP_4),f("5",w.default.XK_5,w.default.XK_KP_5),f("6",w.default.XK_6,w.default.XK_KP_6),f("7",w.default.XK_7,w.default.XK_KP_7),f("8",w.default.XK_8,w.default.XK_KP_8),f("9",w.default.XK_9,w.default.XK_KP_9);var l=b;B.default=l},mYwL:function(k,B,d){var w=d("bYtY"),A=d("IwbS"),b=d("6GrX"),g=Math.PI;function v(f,l){l=l||{},w.defaults(l,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var u=new A.Group,o=new A.Rect({style:{fill:l.maskColor},zlevel:l.zlevel,z:1e4});u.add(o);var e=l.fontSize+" sans-serif",n=new A.Rect({style:{fill:"none",text:l.text,font:e,textPosition:"right",textDistance:10,textFill:l.textColor},zlevel:l.zlevel,z:10001});if(u.add(n),l.showSpinner){var i=new A.Arc({shape:{startAngle:-g/2,endAngle:-g/2+.1,r:l.spinnerRadius},style:{stroke:l.color,lineCap:"round",lineWidth:l.lineWidth},zlevel:l.zlevel,z:10001});i.animateShape(!0).when(1e3,{endAngle:g*3/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:g*3/2}).delay(300).start("circularInOut"),u.add(i)}return u.resize=function(){var r=b.getWidth(l.text,e),s=l.showSpinner?l.spinnerRadius:0,t=(f.getWidth()-s*2-(l.showSpinner&&r?10:0)-r)/2-(l.showSpinner?0:r/2),a=f.getHeight()/2;l.showSpinner&&i.setShape({cx:t,cy:a}),n.setShape({x:t-s,y:a-s,width:s*2,height:s*2}),o.setShape({x:0,y:0,width:f.getWidth(),height:f.getHeight()})},u.resize(),u}k.exports=v},mdZa:function(k,B,d){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(A,b){"use strict";if(A==null)throw new TypeError("Cannot convert undefined or null to object");for(var g=Object(A),v=1;v<arguments.length;v++){var f=arguments[v];if(f!=null)for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(g[l]=f[l])}return g},writable:!0,configurable:!0}),function(){function w(A,b){b=b||{bubbles:!1,cancelable:!1,detail:void 0};var g=document.createEvent("CustomEvent");return g.initCustomEvent(A,b.bubbles,b.cancelable,b.detail),g}w.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=w)}(),Number.isInteger=Number.isInteger||function(A){return typeof A=="number"&&isFinite(A)&&Math.floor(A)===A}},mr32:function(k,B,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("ODXe"),g=d("q1tI"),v=d("TSYQ"),f=d.n(v),l=d("bT9E"),u=d("4i/N"),o=d("H84U"),e=function(S,y){var x={};for(var C in S)Object.prototype.hasOwnProperty.call(S,C)&&y.indexOf(C)<0&&(x[C]=S[C]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,C=Object.getOwnPropertySymbols(S);T<C.length;T++)y.indexOf(C[T])<0&&Object.prototype.propertyIsEnumerable.call(S,C[T])&&(x[C[T]]=S[C[T]]);return x},n=function(y){var x,C=y.prefixCls,T=y.className,_=y.checked,E=y.onChange,I=y.onClick,L=e(y,["prefixCls","className","checked","onChange","onClick"]),D=g.useContext(o.b),F=D.getPrefixCls,N=function(j){E&&E(!_),I&&I(j)},P=F("tag",C),W=f()(P,(x={},Object(w.a)(x,"".concat(P,"-checkable"),!0),Object(w.a)(x,"".concat(P,"-checkable-checked"),_),x),T);return g.createElement("span",Object(A.a)({},L,{className:W,onClick:N}))},i=n,r=d("09Wf"),s=d("g0mS"),t=function(S,y){var x={};for(var C in S)Object.prototype.hasOwnProperty.call(S,C)&&y.indexOf(C)<0&&(x[C]=S[C]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,C=Object.getOwnPropertySymbols(S);T<C.length;T++)y.indexOf(C[T])<0&&Object.prototype.propertyIsEnumerable.call(S,C[T])&&(x[C[T]]=S[C[T]]);return x},a=new RegExp("^(".concat(r.a.join("|"),")(-inverse)?$")),c=new RegExp("^(".concat(r.b.join("|"),")$")),h=function(y,x){var C,T=y.prefixCls,_=y.className,E=y.style,I=y.children,L=y.icon,D=y.color,F=y.onClose,N=y.closeIcon,P=y.closable,W=P===void 0?!1:P,R=t(y,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),j=g.useContext(o.b),H=j.getPrefixCls,K=j.direction,U=g.useState(!0),G=Object(b.a)(U,2),z=G[0],Y=G[1];g.useEffect(function(){"visible"in R&&Y(R.visible)},[R.visible]);var q=function(){return D?a.test(D)||c.test(D):!1},oe=Object(A.a)({backgroundColor:D&&!q()?D:void 0},E),ie=q(),se=H("tag",T),he=f()(se,(C={},Object(w.a)(C,"".concat(se,"-").concat(D),ie),Object(w.a)(C,"".concat(se,"-has-color"),D&&!ie),Object(w.a)(C,"".concat(se,"-hidden"),!z),Object(w.a)(C,"".concat(se,"-rtl"),K==="rtl"),C),_),pe=function(V){if(V.stopPropagation(),F&&F(V),V.defaultPrevented)return;"visible"in R||Y(!1)},_e=function(){return W?N?g.createElement("span",{className:"".concat(se,"-close-icon"),onClick:pe},N):g.createElement(u.a,{className:"".concat(se,"-close-icon"),onClick:pe}):null},De="onClick"in R||I&&I.type==="a",Xe=Object(l.a)(R,["visible"]),J=L||null,Ee=J?g.createElement(g.Fragment,null,J,g.createElement("span",null,I)):I,qe=g.createElement("span",Object(A.a)({},Xe,{ref:x,className:he,style:oe}),Ee,_e());return De?g.createElement(s.a,null,qe):qe},p=g.forwardRef(h);p.displayName="Tag",p.CheckableTag=i;var m=B.a=p},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(k){if(!0)module.exports=k();else var B})(function(){var define,module,exports;return function(){function k(B,d,w){function A(v,f){if(!d[v]){if(!B[v]){var l=typeof require=="function"&&require;if(!f&&l)return require(v,!0);if(b)return b(v,!0);var u=new Error("Cannot find module '"+v+"'");throw u.code="MODULE_NOT_FOUND",u}var o=d[v]={exports:{}};B[v][0].call(o.exports,function(e){var n=B[v][1][e];return A(n||e)},o,o.exports,k,B,d,w)}return d[v].exports}for(var b=typeof require=="function"&&require,g=0;g<w.length;g++)A(w[g]);return A}return k}()({1:[function(k,B,d){"use strict";var w=k("./browser/client");w.Buffer=k("buffer").Buffer,w.urllib=k("../shims/xhr"),w.version=k("./browser/version").version,B.exports=w},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(k,B,d){(function(w,A){"use strict";var b=k("babel-runtime/core-js/promise"),g=o(b),v=k("babel-runtime/regenerator"),f=o(v),l=k("babel-runtime/core-js/object/assign"),u=o(l);function o(P){return P&&P.__esModule?P:{default:P}}var e=k("debug")("ali-oss"),n=k("copy-to"),i=k("xml2js"),r=k("agentkeepalive"),s=k("merge-descriptors"),t=k("url"),a=k("is-type-of"),c=k("platform"),h=k("utility"),p=k("urllib"),m=k("./version"),S=k("bowser"),y=k("../common/signUtils"),x=k("../common/utils/isIP"),C=x.isIP,T=k("../common/client/initOptions"),_=k("../common/utils/createRequest"),E=_.createRequest,I=new r;function L(){var P=c.name,W=c.version;P&&P.toLowerCase&&P.toLowerCase()==="ie"&&W.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function D(){return location&&location.protocol==="https:"}function F(P,W){if(L(),!(this instanceof F))return new F(P,W);P&&P.inited?this.options=P:this.options=F.initOptions(P),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=p,this.agent=this.options.agent||I),this.ctx=W,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}B.exports=F,F.initOptions=function(W){W.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var R=(0,u.default)({secure:D(),useFetch:!1},W);return T(R)};var N=F.prototype;N.debug=e,s(N,k("./object")),s(N,k("../common/bucket/getBucketWebsite")),s(N,k("../common/bucket/putBucketWebsite")),s(N,k("../common/bucket/deleteBucketWebsite")),s(N,k("../common/bucket/getBucketLifecycle")),s(N,k("../common/bucket/putBucketLifecycle")),s(N,k("../common/bucket/deleteBucketLifecycle")),s(N,k("../common/bucket/putBucketVersioning")),s(N,k("../common/bucket/getBucketVersioning")),s(N,k("./managed-upload")),s(N,k("../common/multipart")),s(N,k("../common/parallel")),N.signature=function(W){return this.debug("authorization stringToSign: %s",W,"info"),y.computeSignature(this.options.accessKeySecret,W)},N.authorization=function(W,R,j,H){var K=y.buildCanonicalString(W.toUpperCase(),R,{headers:H,parameters:j});return y.authorization(this.options.accessKeyId,this.options.accessKeySecret,K)},N.request=function(W){var R,j,H,K,U,G;return f.default.async(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return R=E.call(this,W),this.options.useFetch||(R.params.mode="disable-fetch"),j=void 0,H=void 0,K=!!W.stream,Y.prev=5,Y.next=8,f.default.awrap(this.urllib.request(R.url,R.params));case 8:j=Y.sent,this.debug("response %s %s, got %s, headers: %j",W.method,R.url,j.status,j.headers,"info"),Y.next=15;break;case 12:Y.prev=12,Y.t0=Y.catch(5),H=Y.t0;case 15:if(U=void 0,!(j&&W.successStatuses&&W.successStatuses.indexOf(j.status)===-1)){Y.next=28;break}return Y.next=19,f.default.awrap(this.requestError(j));case 19:if(U=Y.sent,!(U.code==="RequestTimeTooSkewed"&&!K)){Y.next=25;break}return this.options.amendTimeSkewed=+new Date(U.serverTime)-new Date,Y.next=24,f.default.awrap(this.request(W));case 24:return Y.abrupt("return",Y.sent);case 25:U.params=W,Y.next=32;break;case 28:if(!H){Y.next=32;break}return Y.next=31,f.default.awrap(this.requestError(H));case 31:U=Y.sent;case 32:if(!U){Y.next=34;break}throw U;case 34:if(!W.xmlResponse){Y.next=39;break}return Y.next=37,f.default.awrap(this.parseXML(j.data));case 37:G=Y.sent,j.data=G;case 39:return Y.abrupt("return",j);case 40:case"end":return Y.stop()}},null,this,[[5,12]])},N._getResource=function(W){var R="/";return W.bucket&&(R+=W.bucket+"/"),W.object&&(R+=W.object),R},N._isIP=C,N._escape=function(W){return h.encodeURIComponent(W).replace(/%2F/g,"/")},N._getReqUrl=function(W){var R={};n(this.options.endpoint).to(R);var j=this._isIP(R.hostname),H=this.options.cname;W.bucket&&!H&&!j&&(R.host=W.bucket+"."+R.host);var K="/";W.bucket&&j&&(K+=W.bucket+"/"),W.object&&(K+=this._escape(W.object).replace(/\+/g,"%2B")),R.pathname=K;var U={};if(W.query&&s(U,W.query),W.subres){var G={};a.string(W.subres)?G[W.subres]="":a.array(W.subres)?W.subres.forEach(function(z){G[z]=""}):G=W.subres,s(U,G)}return R.query=U,t.format(R)},N._getUserAgent=function(){var W=A&&A.browser?"js":"nodejs",R="aliyun-sdk-"+W+"/"+m.version,j=c.description;return!j&&A&&(j="Node.js "+A.version.slice(1)+" on "+A.platform+" "+A.arch),this._checkUserAgent(R+" "+j)},N._checkUserAgent=function(W){var R=W.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return R},N.checkBrowserAndVersion=function(W,R){return S.name===W&&S.version.split(".")[0]===R},N.parseXML=function(W){return new g.default(function(R,j){w.isBuffer(W)&&(W=W.toString()),i.parseString(W,{explicitRoot:!1,explicitArray:!1},function(H,K){H?j(H):R(K)})})},N.requestError=function(W){var R,j,H,K;return f.default.async(function(G){for(;;)switch(G.prev=G.next){case 0:if(R=null,!(!W.data||!W.data.length)){G.next=5;break}W.status===-1||W.status===-2?(R=new Error(W.message),R.name=W.name,R.status=W.status,R.code=W.name):(W.status===404?(R=new Error("Object not exists"),R.name="NoSuchKeyError",R.status=404,R.code="NoSuchKey"):W.status===412?(R=new Error("Pre condition failed"),R.name="PreconditionFailedError",R.status=412,R.code="PreconditionFailed"):(R=new Error("Unknow error, status: "+W.status),R.name="UnknowError",R.status=W.status),R.requestId=W.headers["x-oss-request-id"],R.host=""),G.next=33;break;case 5:return j=String(W.data),this.debug("request response error data: %s",j,"error"),H=void 0,G.prev=8,G.next=11,f.default.awrap(this.parseXML(j));case 11:if(G.t0=G.sent,G.t0){G.next=14;break}G.t0={};case 14:H=G.t0,G.next=24;break;case 17:return G.prev=17,G.t1=G.catch(8),this.debug(j,"error"),G.t1.message+=`
raw xml: `+j,G.t1.status=W.status,G.t1.requestId=W.headers["x-oss-request-id"],G.abrupt("return",G.t1);case 24:K=H.Message||"unknow request error, status: "+W.status,H.Condition&&(K+=" (condition: "+H.Condition+")"),R=new Error(K),R.name=H.Code?H.Code+"Error":"UnknowError",R.status=W.status,R.code=H.Code,R.requestId=H.RequestId,R.hostId=H.HostId,R.serverTime=H.ServerTime;case 33:return this.debug("generate error %j",R,"error"),G.abrupt("return",R);case 35:case"end":return G.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:k("../../node_modules/is-buffer/index.js")},k("_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(k,B,d){(function(w){"use strict";var A=k("babel-runtime/core-js/array/from"),b=u(A),g=k("babel-runtime/core-js/promise"),v=u(g),f=k("babel-runtime/regenerator"),l=u(f);function u(y){return y&&y.__esModule?y:{default:y}}var o=k("is-type-of"),e=k("util"),n=k("path"),i=k("mime"),r=k("copy-to"),s=k("../common/utils/isBlob"),t=s.isBlob,a=k("../common/utils/isFile"),c=a.isFile,h=d;h.multipartUpload=function(x,C,T){var _,E,I,L,D,F,N,P,W;return l.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(this.resetCancelFlag(),T=T||{},!(T.checkpoint&&T.checkpoint.uploadId)){j.next=6;break}return j.next=5,l.default.awrap(this._resumeMultipart(T.checkpoint,T));case 5:return j.abrupt("return",j.sent);case 6:return _=100*1024,T.mime||(c(C)?T.mime=i.getType(n.extname(C.name)):t(C)?T.mime=C.type:T.mime=i.getType(n.extname(C))),T.headers=T.headers||{},this._convertMetaToHeaders(T.meta,T.headers),j.next=12,l.default.awrap(this._getFileSize(C));case 12:if(E=j.sent,!(E<_)){j.next=25;break}return I=this._createStream(C,0,E),T.contentLength=E,j.next=18,l.default.awrap(this.putStream(x,I,T));case 18:if(L=j.sent,!(T&&T.progress)){j.next=22;break}return j.next=22,l.default.awrap(T.progress(1));case 22:return D={res:L.res,bucket:this.options.bucket,name:x,etag:L.res.headers.etag},(T.headers&&T.headers["x-oss-callback"]||T.callback)&&(D.data=L.data),j.abrupt("return",D);case 25:if(!(T.partSize&&!(parseInt(T.partSize,10)===T.partSize))){j.next=27;break}throw new Error("partSize must be int number");case 27:if(!(T.partSize&&T.partSize<_)){j.next=29;break}throw new Error("partSize must not be smaller than "+_);case 29:return j.next=31,l.default.awrap(this.initMultipartUpload(x,T));case 31:if(F=j.sent,N=F.uploadId,P=this._getPartSize(E,T.partSize),W={file:C,name:x,fileSize:E,partSize:P,uploadId:N,doneParts:[]},!(T&&T.progress)){j.next=38;break}return j.next=38,l.default.awrap(T.progress(0,W,F.res));case 38:return j.next=40,l.default.awrap(this._resumeMultipart(W,T));case 40:return j.abrupt("return",j.sent);case 41:case"end":return j.stop()}},null,this)},h._resumeMultipart=function(x,C){var T,_,E,I,L,D,F,N,P,W,R,j,H,K,U,G,z,Y;return l.default.async(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(T=this,!this.isCancel()){oe.next=3;break}throw this._makeCancelEvent();case 3:return _=x.file,E=x.fileSize,I=x.partSize,L=x.uploadId,D=x.doneParts,F=x.name,N=[],D.length>0&&r(D).to(N),P=this._divideParts(E,I),W=P.length,R=!1,j=function(se,he){var pe=this;return new v.default(function(De,Xe){var J,Ee,qe,ae;return l.default.async(function(X){for(;;)switch(X.prev=X.next){case 0:if(X.prev=0,se.isCancel()){X.next=18;break}return J=P[he-1],Ee={stream:se._createStream(_,J.start,J.end),size:J.end-J.start},X.next=6,l.default.awrap(se._uploadPart(F,L,he,Ee));case 6:if(qe=X.sent,!(!se.isCancel()&&!R)){X.next=15;break}if(x.doneParts.push({number:he,etag:qe.res.headers.etag}),!C.progress){X.next=12;break}return X.next=12,l.default.awrap(C.progress(D.length/W,x,qe.res));case 12:De({number:he,etag:qe.res.headers.etag}),X.next=16;break;case 15:De();case 16:X.next=19;break;case 18:De();case 19:X.next=30;break;case 21:X.prev=21,X.t0=X.catch(0),ae=new Error,ae.name=X.t0.name,ae.message=X.t0.message,ae.stack=X.t0.stack,ae.partNum=he,r(X.t0).to(ae),Xe(ae);case 30:case"end":return X.stop()}},null,pe,[[0,21]])})},H=(0,b.default)(new Array(W),function(ie,se){return se+1}),K=N.map(function(ie){return ie.number}),U=H.filter(function(ie){return K.indexOf(ie)<0}),G=5,z=C.parallel||G,oe.next=17,l.default.awrap(this._parallel(U,z,function(ie){return new v.default(function(se,he){j(T,ie).then(function(pe){pe&&N.push(pe),se()}).catch(function(pe){he(pe)})})}));case 17:if(Y=oe.sent,R=!0,!this.isCancel()){oe.next=22;break}throw j=null,this._makeCancelEvent();case 22:if(!(Y&&Y.length>0)){oe.next=25;break}throw Y[0].message="Failed to upload some parts with error: "+Y[0].toString()+" part_num: "+Y[0].partNum,Y[0];case 25:return oe.next=27,l.default.awrap(this.completeMultipartUpload(F,L,N,C));case 27:return oe.abrupt("return",oe.sent);case 28:case"end":return oe.stop()}},null,this)},h._getFileSize=function(x){return l.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!o.buffer(x)){T.next=4;break}return T.abrupt("return",x.length);case 4:if(!(t(x)||c(x))){T.next=6;break}return T.abrupt("return",x.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return T.stop()}},null,this)};var p=k("stream"),m=p.Readable;function S(y,x){if(!(this instanceof S))return new S(y,x);m.call(this,x),this.file=y,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}e.inherits(S,m),S.prototype.readFileAndPush=function(x){if(this.fileBuffer)for(var C=!0;C&&this.fileBuffer&&this.start<this.fileBuffer.length;){var T=this.start,_=T+x;_=_>this.fileBuffer.length?this.fileBuffer.length:_,this.start=_,C=this.push(this.fileBuffer.slice(T,_))}},S.prototype._read=function(x){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var C=16*1024;x=x||C;var T=this;this.reader.onload=function(E){T.fileBuffer=w.from(new Uint8Array(E.target.result)),T.file=null,T.readFileAndPush(x)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(x)},h._createStream=function(x,C,T){if(t(x)||c(x))return new S(x.slice(C,T));throw new Error("_createStream requires File/Blob.")},h._getPartSize=function(x,C){var T=10*1e3,_=1024*1024;return C?Math.max(Math.ceil(x/T),C):_},h._divideParts=function(x,C){for(var T=Math.ceil(x/C),_=[],E=0;E<T;E++){var I=C*E,L=Math.min(I+C,x);_.push({start:I,end:L})}return _}}).call(this,k("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(k,B,d){"use strict";var w=k("babel-runtime/core-js/promise"),A=o(w),b=k("babel-runtime/core-js/object/keys"),g=o(b),v=k("babel-runtime/core-js/object/assign"),f=o(v),l=k("babel-runtime/regenerator"),u=o(l);function o(T){return T&&T.__esModule?T:{default:T}}var e=k("utility"),n=k("fs"),i=k("is-type-of"),r=k("url"),s=k("copy-to"),t=k("path"),a=k("mime"),c=k("../common/callback"),h=k("../common/signUtils"),p=k("merge-descriptors"),m=k("../common/utils/isBlob"),S=m.isBlob,y=k("../common/utils/isFile"),x=y.isFile,C=d;C.append=function(_,E,I){var L;return u.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return I=I||{},I.position===void 0&&(I.position="0"),I.subres={append:"",position:I.position},I.method="POST",F.next=6,u.default.awrap(this.put(_,E,I));case 6:return L=F.sent,L.nextAppendPosition=L.res.headers["x-oss-next-append-position"],F.abrupt("return",L);case 9:case"end":return F.stop()}},null,this)},C.put=function(_,E,I){var L,D,F,N,P,W,R;return u.default.async(function(H){for(;;)switch(H.prev=H.next){case 0:if(L=void 0,I=I||{},_=this._objectName(_),!i.buffer(E)){H.next=7;break}L=E,H.next=33;break;case 7:if(!(S(E)||x(E))){H.next=32;break}return I.mime||(x(E)?I.mime=a.getType(t.extname(E.name)):I.mime=E.type),D=this._createStream(E,0,E.size),H.next=12,u.default.awrap(this._getFileSize(E));case 12:return I.contentLength=H.sent,H.prev=13,H.next=16,u.default.awrap(this.putStream(_,D,I));case 16:return F=H.sent,H.abrupt("return",F);case 20:if(H.prev=20,H.t0=H.catch(13),!(H.t0.code==="RequestTimeTooSkewed")){H.next=29;break}return this.options.amendTimeSkewed=+new Date(H.t0.serverTime)-new Date,H.next=26,u.default.awrap(this.put(_,E,I));case 26:return H.abrupt("return",H.sent);case 29:throw H.t0;case 30:H.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return I.headers=I.headers||{},this._convertMetaToHeaders(I.meta,I.headers),N=I.method||"PUT",P=this._objectRequestParams(N,_,I),c.encodeCallback(P,I),P.mime=I.mime,P.content=L,P.successStatuses=[200],H.next=43,u.default.awrap(this.request(P));case 43:return W=H.sent,R={name:_,url:this._objectUrl(_),res:W.res},P.headers&&P.headers["x-oss-callback"]&&(R.data=JSON.parse(W.data.toString())),H.abrupt("return",R);case 47:case"end":return H.stop()}},null,this,[[13,20]])},C.putStream=function(_,E,I){var L,D,F,N;return u.default.async(function(W){for(;;)switch(W.prev=W.next){case 0:return I=I||{},I.headers=I.headers||{},_=this._objectName(_),I.contentLength?I.headers["Content-Length"]=I.contentLength:I.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(I.meta,I.headers),L=I.method||"PUT",D=this._objectRequestParams(L,_,I),c.encodeCallback(D,I),D.mime=I.mime,D.stream=E,D.successStatuses=[200],W.next=13,u.default.awrap(this.request(D));case 13:return F=W.sent,N={name:_,url:this._objectUrl(_),res:F.res},D.headers&&D.headers["x-oss-callback"]&&(N.data=JSON.parse(F.data.toString())),W.abrupt("return",N);case 17:case"end":return W.stop()}},null,this)},p(C,k("../common/object/copyObject")),p(C,k("../common/object/getObjectTagging")),p(C,k("../common/object/putObjectTagging")),p(C,k("../common/object/deleteObjectTagging")),p(C,k("../common/image")),p(C,k("../common/object/getBucketVersions")),p(C,k("../common/object/getACL")),p(C,k("../common/object/putACL")),p(C,k("../common/object/head")),p(C,k("../common/object/delete")),p(C,k("../common/object/get")),p(C,k("../common/object/putSymlink")),p(C,k("../common/object/getSymlink")),p(C,k("../common/object/deleteMulti")),p(C,k("../common/object/getObjectMeta")),C.putMeta=function(_,E,I){var L;return u.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,u.default.awrap(this.copy(_,_,{meta:E||{},timeout:I&&I.timeout,ctx:I&&I.ctx}));case 2:return L=F.sent,F.abrupt("return",L);case 4:case"end":return F.stop()}},null,this)},C.list=function(_,E){var I,L,D,F,N;return u.default.async(function(W){for(;;)switch(W.prev=W.next){case 0:return I=this._objectRequestParams("GET","",E),I.query=_,I.xmlResponse=!0,I.successStatuses=[200],W.next=6,u.default.awrap(this.request(I));case 6:return L=W.sent,D=L.data.Contents,F=this,D&&(Array.isArray(D)||(D=[D]),D=D.map(function(R){return{name:R.Key,url:F._objectUrl(R.Key),lastModified:R.LastModified,etag:R.ETag,type:R.Type,size:Number(R.Size),storageClass:R.StorageClass,owner:{id:R.Owner.ID,displayName:R.Owner.DisplayName}}})),N=L.data.CommonPrefixes||null,N&&(Array.isArray(N)||(N=[N]),N=N.map(function(R){return R.Prefix})),W.abrupt("return",{res:L.res,objects:D,prefixes:N,nextMarker:L.data.NextMarker||null,isTruncated:L.data.IsTruncated==="true"});case 13:case"end":return W.stop()}},null,this)},C.restore=function(_,E){var I,L;return u.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return E=E||{},E.subres=(0,f.default)({restore:""},E.subres),E.versionId&&(E.subres.versionId=E.versionId),I=this._objectRequestParams("POST",_,E),I.successStatuses=[202],F.next=7,u.default.awrap(this.request(I));case 7:return L=F.sent,F.abrupt("return",{res:L.res});case 9:case"end":return F.stop()}},null,this)},C.signatureUrl=function(_,E){E=E||{},_=this._objectName(_),E.method=E.method||"GET";var I=e.timestamp()+(E.expires||1800),L={bucket:this.options.bucket,object:_},D=this._getResource(L);this.options.stsToken&&(E["security-token"]=this.options.stsToken);var F=h._signatureForURL(this.options.accessKeySecret,E,D,I),N=r.parse(this._getReqUrl(L));return N.query={OSSAccessKeyId:this.options.accessKeyId,Expires:I,Signature:F.Signature},s(F.subResource).to(N.query),N.format()},C.getObjectUrl=function(_,E){return E?E[E.length-1]!=="/"&&(E+="/"):E=this.options.endpoint.format(),E+this._escape(this._objectName(_))},C._objectUrl=function(_){return this._getReqUrl({bucket:this.options.bucket,object:_})},C.generateObjectUrl=function(T,_){if(_)_[_.length-1]!=="/"&&(_+="/");else{_=this.options.endpoint.format();var E=r.parse(_),I=this.options.bucket;E.hostname=I+"."+E.hostname,E.host=I+"."+E.host,_=E.format()}return _+this._escape(this._objectName(T))},C._objectRequestParams=function(_,E,I){if(!this.options.bucket)throw new Error("Please create a bucket first");I=I||{},E=this._objectName(E);var L={object:E,bucket:this.options.bucket,method:_,subres:I&&I.subres,timeout:I&&I.timeout,ctx:I&&I.ctx};return I.headers&&(L.headers={},s(I.headers).to(L.headers)),L},C._objectName=function(_){return _.replace(/^\/+/,"")},C._convertMetaToHeaders=function(_,E){if(!_)return;(0,g.default)(_).forEach(function(I){E["x-oss-meta-"+I]=_[I]})},C._deleteFileSafe=function(_){var E=this;return new A.default(function(I){n.exists(_,function(L){L?n.unlink(_,function(D){D&&E.debug("unlink %j error: %s",_,D,"error"),I()}):I()})})}},{"../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(k,B,d){"use strict";d.version="6.10.0"},{}],6:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=b(w);function b(l){return l&&l.__esModule?l:{default:l}}var g=k("../utils/checkBucketName"),v=g.checkBucketName,f=d;f.deleteBucketLifecycle=function(u,o){var e,n;return A.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return v(u),e=this._bucketRequestParams("DELETE",u,"lifecycle",o),e.successStatuses=[204],r.next=5,A.default.awrap(this.request(e));case 5:return n=r.sent,r.abrupt("return",{res:n.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=b(w);function b(l){return l&&l.__esModule?l:{default:l}}var g=k("../utils/checkBucketName"),v=g.checkBucketName,f=d;f.deleteBucketWebsite=function(u,o){var e,n;return A.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return v(u),e=this._bucketRequestParams("DELETE",u,"website",o),e.successStatuses=[204],r.next=5,A.default.awrap(this.request(e));case 5:return n=r.sent,r.abrupt("return",{res:n.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=b(w);function b(n){return n&&n.__esModule?n:{default:n}}var g=k("../utils/checkBucketName"),v=g.checkBucketName,f=k("../utils/isArray"),l=f.isArray,u=k("../utils/formatObjKey"),o=u.formatObjKey,e=d;e.getBucketLifecycle=function(i,r){var s,t,a;return A.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return v(i),s=this._bucketRequestParams("GET",i,"lifecycle",r),s.successStatuses=[200],s.xmlResponse=!0,h.next=6,A.default.awrap(this.request(s));case 6:return t=h.sent,a=t.data.Rule||null,a&&(l(a)||(a=[a]),a=a.map(function(p){return p.ID&&(p.id=p.ID,delete p.ID),p.Tag&&!l(p.Tag)&&(p.Tag=[p.Tag]),o(p,"firstLowerCase")})),h.abrupt("return",{rules:a,res:t.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(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=b(w);function b(l){return l&&l.__esModule?l:{default:l}}var g=k("../utils/checkBucketName"),v=g.checkBucketName,f=d;f.getBucketVersioning=function(u,o){var e,n,i;return A.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return v(u),e=this._bucketRequestParams("GET",u,"versioning",o),e.xmlResponse=!0,e.successStatuses=[200],s.next=6,A.default.awrap(this.request(e));case 6:return n=s.sent,i=n.data.Status,s.abrupt("return",{status:n.status,versionStatus:i,res:n.res});case 9:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=b(w);function b(o){return o&&o.__esModule?o:{default:o}}var g=k("../utils/checkBucketName"),v=g.checkBucketName,f=k("../utils/isObject"),l=f.isObject,u=d;u.getBucketWebsite=function(e,n){var i,r,s;return A.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return v(e),i=this._bucketRequestParams("GET",e,"website",n),i.successStatuses=[200],i.xmlResponse=!0,a.next=6,A.default.awrap(this.request(i));case 6:return r=a.sent,s=[],r.data.RoutingRules&&r.data.RoutingRules.RoutingRule&&(l(r.data.RoutingRules.RoutingRule)?s=[r.data.RoutingRules.RoutingRule]:s=r.data.RoutingRules.RoutingRule),a.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:s,error:r.data.ErrorDocument&&r.data.ErrorDocument.Key||null,res:r.res});case 10:case"end":return a.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=b(w);function b(x){return x&&x.__esModule?x:{default:x}}var g=k("../utils/checkBucketName"),v=g.checkBucketName,f=k("../utils/isArray"),l=f.isArray,u=k("../utils/deepCopy"),o=u.deepCopy,e=k("../utils/isObject"),n=e.isObject,i=k("../utils/obj2xml"),r=i.obj2xml,s=k("../utils/checkObjectTag"),t=s.checkObjectTag,a=k("../utils/getStrBytesCount"),c=a.getStrBytesCount,h=d;h.putBucketLifecycle=function(C,T,_){var E,I,L,D,F;return A.default.async(function(P){for(;;)switch(P.prev=P.next){case 0:if(v(C),l(T)){P.next=3;break}throw new Error("rules must be Array");case 3:return E=this._bucketRequestParams("PUT",C,"lifecycle",_),I=[],L={LifecycleConfiguration:{Rule:I}},T.forEach(function(W){p(W),y(W),W.id&&(W.ID=W.id,delete W.id),I.push(W)}),D=r(L,{headers:!0,firstUpperCase:!0}),E.content=D,E.mime="xml",E.successStatuses=[200],P.next=13,A.default.awrap(this.request(E));case 13:return F=P.sent,P.abrupt("return",{res:F.res});case 15:case"end":return P.stop()}},null,this)};function p(x){x.days&&(x.expiration={days:x.days}),x.date&&(x.expiration={createdBeforeDate:x.date})}function m(x,C){var T=x.days,_=x.createdBeforeDate;if(!T&&!_)throw new Error(C+" must includes days or createdBeforeDate");if(T&&!/^[1-9][0-9]*$/.test(T))throw new Error("days must be a positive integer");if(_&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(_))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function S(x){if(!l(x)&&!n(x))throw new Error("tag must be Object or Array");x=n(x)?[x]:x;var C={},T=o(x);T.forEach(function(_){C[_.key]=_.value}),t(C)}function y(x){if(x.id&&c(x.id)>255)throw new Error("ID is composed of 255 bytes at most");if(x.prefix===""||x.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(x.status))throw new Error("Status must be Enabled or Disabled");if(x.transition){if(!["IA","Archive"].includes(x.transition.storageClass))throw new Error("StorageClass must be IA or Archive");m(x.transition,"Transition")}if(x.expiration){if(!x.expiration.expiredObjectDeleteMarker)m(x.expiration,"Expiration");else if(x.expiration.days||x.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(x.abortMultipartUpload&&m(x.abortMultipartUpload,"AbortMultipartUpload"),!x.expiration&&!x.abortMultipartUpload&&!x.transition&&!x.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(x.tag){if(x.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");S(x.tag)}}},{"../utils/checkBucketName":35,"../utils/checkObjectTag":36,"../utils/deepCopy":39,"../utils/getStrBytesCount":41,"../utils/isArray":42,"../utils/isObject":46,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],12:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=b(w);function b(o){return o&&o.__esModule?o:{default:o}}var g=k("../utils/checkBucketName"),v=g.checkBucketName,f=k("../utils/obj2xml"),l=f.obj2xml,u=d;u.putBucketVersioning=function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,s,t;return A.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(v(e),["Enabled","Suspended"].includes(n)){c.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return r=this._bucketRequestParams("PUT",e,"versioning",i),s={VersioningConfiguration:{Status:n}},r.mime="xml",r.content=l(s,{headers:!0}),c.next=9,A.default.awrap(this.request(r));case 9:return t=c.sent,c.abrupt("return",{res:t.res,status:t.status});case 11:case"end":return c.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=b(w);function b(n){return n&&n.__esModule?n:{default:n}}var g=k("../utils/checkBucketName"),v=g.checkBucketName,f=k("../utils/obj2xml"),l=f.obj2xml,u=k("../utils/isArray"),o=u.isArray,e=d;e.putBucketWebsite=function(i){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments[2],t,a,c,h,p;return A.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:if(v(i),t=this._bucketRequestParams("PUT",i,"website",s),a={Suffix:r.index||"index.html"},c={IndexDocument:a},h={WebsiteConfiguration:c},r.supportSubDir&&(a.SupportSubDir=r.supportSubDir),r.type&&(a.Type=r.type),r.error&&(c.ErrorDocument={Key:r.error}),!(r.routingRules!==void 0)){S.next=12;break}if(o(r.routingRules)){S.next=11;break}throw new Error("RoutingRules must be Array");case 11:c.RoutingRules={RoutingRule:r.routingRules};case 12:return h=l(h),t.content=h,t.mime="xml",t.successStatuses=[200],S.next=18,A.default.awrap(this.request(t));case 18:return p=S.sent,S.abrupt("return",{res:p.res});case 20:case"end":return S.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(k,B,d){(function(w){"use strict";var A=k("babel-runtime/core-js/object/keys"),b=f(A),g=k("babel-runtime/core-js/json/stringify"),v=f(g);function f(l){return l&&l.__esModule?l:{default:l}}d.encodeCallback=function(u,o){if(u.headers=u.headers||{},!Object.prototype.hasOwnProperty.call(u.headers,"x-oss-callback")&&o.callback){var e={callbackUrl:encodeURI(o.callback.url),callbackBody:o.callback.body};o.callback.host&&(e.callbackHost=o.callback.host),o.callback.contentType&&(e.callbackBodyType=o.callback.contentType);var n=w.from((0,v.default)(e)).toString("base64");if(u.headers["x-oss-callback"]=n,o.callback.customValue){var i={};(0,b.default)(o.callback.customValue).forEach(function(r){i["x:"+r]=o.callback.customValue[r]}),u.headers["x-oss-callback-var"]=w.from((0,v.default)(i)).toString("base64")}}}}).call(this,k("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/assign"),A=b(w);function b(e){return e&&e.__esModule?e:{default:e}}var g=k("humanize-ms"),v=k("url"),f=k("../utils/checkBucketName"),l=f.checkBucketName;function u(e,n){var i=v.parse(e);if(i.protocol||(i=v.parse("http"+(n?"s":"")+"://"+e)),i.protocol!=="http:"&&i.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return i}function o(e,n,i){var r=i?"https://":"http://",s=n?"-internal.aliyuncs.com":".aliyuncs.com",t="vpc100-oss-cn-";return e.substr(0,t.length)===t&&(s=".aliyuncs.com"),v.parse(r+e+s)}B.exports=function(e){if(!e||!e.accessKeyId||!e.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");e.bucket&&l(e.bucket);var n=(0,A.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},e);if(n.accessKeyId=n.accessKeyId.trim(),n.accessKeySecret=n.accessKeySecret.trim(),n.timeout&&(n.timeout=g(n.timeout)),n.endpoint)n.endpoint=u(n.endpoint,n.secure);else if(n.region)n.endpoint=o(n.region,n.internal,n.secure);else throw new Error("require options.endpoint or options.region");return n.inited=!0,n}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(k,B,d){"use strict";var w=k("merge-descriptors"),A=d;w(A,k("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=b(w);function b(n){return n&&n.__esModule?n:{default:n}}var g=k("../utils/checkBucketName"),v=g.checkBucketName,f=k("querystring"),l=k("js-base64"),u=l.Base64.encode,o=d;o.processObjectSave=function(i,r,s,t){var a,c,h,p;return A.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:return e(i,"sourceObject"),e(r,"targetObject"),e(s,"process"),r=this._objectName(r),t&&v(t),a=this._objectRequestParams("POST",i,{subres:"x-oss-process"}),c=t?",b_"+u(t):"",r=u(r),h={"x-oss-process":s+"|sys/saveas,o_"+r+c},a.content=f.stringify(h),S.next=12,A.default.awrap(this.request(a));case 12:return p=S.sent,S.abrupt("return",{res:p.res,status:p.res.status});case 14:case"end":return S.stop()}},null,this)};function e(n,i){if(!n)throw new Error(i+" is required");if(typeof n!="string")throw new Error(i+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=b(w);function b(o){return o&&o.__esModule?o:{default:o}}var g=k("copy-to"),v=k("./callback"),f=k("./utils/deepCopy"),l=f.deepCopy,u=d;u.listUploads=function(e,n){var i,r,s,t;return A.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return n=n||{},i={},g(n).to(i),i.subres="uploads",r=this._objectRequestParams("GET","",i),r.query=e,r.xmlResponse=!0,r.successStatuses=[200],c.next=10,A.default.awrap(this.request(r));case 10:return s=c.sent,t=s.data.Upload||[],Array.isArray(t)||(t=[t]),t=t.map(function(h){return{name:h.Key,uploadId:h.UploadId,initiated:h.Initiated}}),c.abrupt("return",{res:s.res,uploads:t,bucket:s.data.Bucket,nextKeyMarker:s.data.NextKeyMarker,nextUploadIdMarker:s.data.NextUploadIdMarker,isTruncated:s.data.IsTruncated==="true"});case 15:case"end":return c.stop()}},null,this)},u.listParts=function(e,n,i,r){var s,t,a;return A.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return r=r||{},s={},g(r).to(s),s.subres={uploadId:n},t=this._objectRequestParams("GET",e,s),t.query=i,t.xmlResponse=!0,t.successStatuses=[200],h.next=10,A.default.awrap(this.request(t));case 10:return a=h.sent,h.abrupt("return",{res:a.res,uploadId:a.data.UploadId,bucket:a.data.Bucket,name:a.data.Key,partNumberMarker:a.data.PartNumberMarker,nextPartNumberMarker:a.data.NextPartNumberMarker,maxParts:a.data.MaxParts,isTruncated:a.data.IsTruncated,parts:a.data.Part||[]});case 12:case"end":return h.stop()}},null,this)},u.abortMultipartUpload=function(e,n,i){var r,s,t;return A.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return this._stop(),i=i||{},r={},g(i).to(r),r.subres={uploadId:n},s=this._objectRequestParams("DELETE",e,r),s.successStatuses=[204],c.next=9,A.default.awrap(this.request(s));case 9:return t=c.sent,c.abrupt("return",{res:t.res});case 11:case"end":return c.stop()}},null,this)},u.initMultipartUpload=function(e,n){var i,r,s;return A.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return n=n||{},i={},g(n).to(i),i.headers=i.headers||{},this._convertMetaToHeaders(n.meta,i.headers),i.subres="uploads",r=this._objectRequestParams("POST",e,i),r.mime=n.mime,r.xmlResponse=!0,r.successStatuses=[200],a.next=12,A.default.awrap(this.request(r));case 12:return s=a.sent,a.abrupt("return",{res:s.res,bucket:s.data.Bucket,name:s.data.Key,uploadId:s.data.UploadId});case 14:case"end":return a.stop()}},null,this)},u.uploadPart=function(e,n,i,r,s,t,a){var c;return A.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return c={stream:this._createStream(r,s,t),size:t-s},p.next=3,A.default.awrap(this._uploadPart(e,n,i,c,a));case 3:return p.abrupt("return",p.sent);case 4:case"end":return p.stop()}},null,this)},u.completeMultipartUpload=function(e,n,i,r){var s,t,a,c,h,p,m,S;return A.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:for(s=i.concat().sort(function(C,T){return C.number-T.number}).filter(function(C,T,_){return!T||C.number!==_[T-1].number}),t=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,a=0;a<s.length;a++)c=s[a],t+=`<Part>
`,t+="<PartNumber>"+c.number+`</PartNumber>
`,t+="<ETag>"+c.etag+`</ETag>
`,t+=`</Part>
`;return t+="</CompleteMultipartUpload>",r=r||{},h={},h=l(r),h.headers&&delete h.headers["x-oss-server-side-encryption"],h.subres={uploadId:n},p=this._objectRequestParams("POST",e,h),v.encodeCallback(p,h),p.mime="xml",p.content=t,p.headers&&p.headers["x-oss-callback"]||(p.xmlResponse=!0),p.successStatuses=[200],x.next=17,A.default.awrap(this.request(p));case 17:return m=x.sent,S={res:m.res,bucket:p.bucket,name:e,etag:m.res.headers.etag},p.headers&&p.headers["x-oss-callback"]&&(S.data=JSON.parse(m.data.toString())),x.abrupt("return",S);case 21:case"end":return x.stop()}},null,this)},u._uploadPart=function(e,n,i,r,s){var t,a,c;return A.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return s=s||{},t={},g(s).to(t),t.headers={"Content-Length":r.size},t.subres={partNumber:i,uploadId:n},a=this._objectRequestParams("PUT",e,t),a.mime=t.mime,a.stream=r.stream,a.successStatuses=[200],p.next=11,A.default.awrap(this.request(a));case 11:if(c=p.sent,c.res.headers.etag){p.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,a.stream=null,p.abrupt("return",{name:e,etag:c.res.headers.etag,res:c.res});case 17:case"end":return p.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=l(w),b=k("babel-runtime/core-js/object/keys"),g=l(b),v=k("babel-runtime/helpers/typeof"),f=l(v);function l(n){return n&&n.__esModule?n:{default:n}}var u=k("../utils/checkBucketName"),o=u.checkBucketName,e=d;e.copy=function(i,r,s,t){var a,c,h;return A.default.async(function(m){for(;;)switch(m.prev=m.next){case 0:return(typeof s=="undefined"?"undefined":(0,f.default)(s))==="object"&&(t=s),t=t||{},t.headers=t.headers||{},(0,g.default)(t.headers).forEach(function(S){t.headers["x-oss-copy-source-"+S.toLowerCase()]=t.headers[S]}),t.meta&&(t.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(t.meta,t.headers),r=this._getSourceName(r,s),t.versionId&&(r=r+"?versionId="+t.versionId),t.headers["x-oss-copy-source"]=r,a=this._objectRequestParams("PUT",i,t),a.xmlResponse=!0,a.successStatuses=[200,304],m.next=14,A.default.awrap(this.request(a));case 14:return c=m.sent,h=c.data,h&&(h={etag:h.ETag,lastModified:h.LastModified}),m.abrupt("return",{data:h,res:c.res});case 18:case"end":return m.stop()}},null,this)},e._getSourceName=function(i,r){return typeof r=="string"?i=this._objectName(i):i[0]!=="/"?r=this.options.bucket:(r=i.replace(/\/(.+?)(\/.*)/,"$1"),i=i.replace(/(\/.+?\/)(.*)/,"$2")),o(r),i=encodeURI(i),i="/"+r+"/"+i,i}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=v(w),b=k("babel-runtime/core-js/object/assign"),g=v(b);function v(l){return l&&l.__esModule?l:{default:l}}var f=d;f.delete=function(u){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,n;return A.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return o.subres=(0,g.default)({},o.subres),o.versionId&&(o.subres.versionId=o.versionId),e=this._objectRequestParams("DELETE",u,o),e.successStatuses=[204],r.next=6,A.default.awrap(this.request(e));case 6:return n=r.sent,r.abrupt("return",{res:n.res});case 8:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=v(w),b=k("babel-runtime/core-js/object/assign"),g=v(b);function v(e){return e&&e.__esModule?e:{default:e}}var f=k("utility"),l=k("../utils/obj2xml"),u=l.obj2xml,o=d;o.deleteMulti=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,s,t,a,c,h,p,m,S,y,x,C;return A.default.async(function(_){for(;;)switch(_.prev=_.next){case 0:if(r=[],!(!n||!n.length)){_.next=3;break}throw new Error("names is required");case 3:for(s=0;s<n.length;s++)t={},typeof n[s]=="string"?t.Key=f.escape(this._objectName(n[s])):(a=n[s],c=a.key,h=a.versionId,t.Key=f.escape(this._objectName(c)),t.VersionId=h),r.push(t);return p={Delete:{Quiet:!!i.quiet,Object:r}},m=u(p,{headers:!0}),i.subres=(0,g.default)({delete:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),S=this._objectRequestParams("POST","",i),S.mime="xml",S.content=m,S.xmlResponse=!0,S.successStatuses=[200],_.next=15,A.default.awrap(this.request(S));case 15:return y=_.sent,x=y.data,C=x&&x.Deleted||null,C&&(Array.isArray(C)||(C=[C])),_.abrupt("return",{res:y.res,deleted:C||[]});case 20:case"end":return _.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=v(w),b=k("babel-runtime/core-js/object/assign"),g=v(b);function v(l){return l&&l.__esModule?l:{default:l}}var f=d;f.deleteObjectTagging=function(u){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,n;return A.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return o.subres=(0,g.default)({tagging:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),u=this._objectName(u),e=this._objectRequestParams("DELETE",u,o),e.successStatuses=[204],r.next=7,A.default.awrap(this.request(e));case 7:return n=r.sent,r.abrupt("return",{status:n.status,res:n.res});case 9:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=v(w),b=k("babel-runtime/core-js/object/assign"),g=v(b);function v(o){return o&&o.__esModule?o:{default:o}}var f=k("fs"),l=k("is-type-of"),u=d;u.get=function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,s,t,a;return A.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return r=null,s=!1,l.writableStream(n)?r=n:l.string(n)?(r=f.createWriteStream(n),s=!0):i=n,i=i||{},i.subres=(0,g.default)({},i.subres),i.versionId&&(i.subres.versionId=i.versionId),i.process&&(i.subres["x-oss-process"]=i.process),t=void 0,h.prev=8,a=this._objectRequestParams("GET",e,i),a.writeStream=r,a.successStatuses=[200,206,304],h.next=14,A.default.awrap(this.request(a));case 14:t=h.sent,s&&r.destroy(),h.next=25;break;case 18:if(h.prev=18,h.t0=h.catch(8),!s){h.next=24;break}return r.destroy(),h.next=24,A.default.awrap(this._deleteFileSafe(n));case 24:throw h.t0;case 25:return h.abrupt("return",{res:t.res,content:t.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(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=v(w),b=k("babel-runtime/core-js/object/assign"),g=v(b);function v(l){return l&&l.__esModule?l:{default:l}}var f=d;f.getACL=function(u){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,n;return A.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return o.subres=(0,g.default)({acl:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),u=this._objectName(u),e=this._objectRequestParams("GET",u,o),e.successStatuses=[200],e.xmlResponse=!0,r.next=8,A.default.awrap(this.request(e));case 8:return n=r.sent,r.abrupt("return",{acl:n.data.AccessControlList.Grant,owner:{id:n.data.Owner.ID,displayName:n.data.Owner.DisplayName},res:n.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/keys"),A=l(w),b=k("babel-runtime/regenerator"),g=l(b),v=k("babel-runtime/core-js/object/assign"),f=l(v);function l(a){return a&&a.__esModule?a:{default:a}}var u=d,o=k("../utils/isObject"),e=o.isObject,n=k("../utils/isArray"),i=n.isArray;u.getBucketVersions=r,u.listObjectVersions=r;function r(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h,p,m,S,y,x;return g.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(a.versionIdMarker&&a.keyMarker===void 0)){T.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return c.subres=(0,f.default)({versions:""},c.subres),c.versionId&&(c.subres.versionId=c.versionId),h=this._objectRequestParams("GET","",c),h.xmlResponse=!0,h.successStatuses=[200],h.query=t(a),T.next=10,g.default.awrap(this.request(h));case 10:return p=T.sent,m=p.data.Version||[],S=p.data.DeleteMarker||[],y=this,m&&(Array.isArray(m)||(m=[m]),m=m.map(function(_){return{name:_.Key,url:y._objectUrl(_.Key),lastModified:_.LastModified,isLatest:_.IsLatest==="true",versionId:_.VersionId,etag:_.ETag,type:_.Type,size:Number(_.Size),storageClass:_.StorageClass,owner:{id:_.Owner.ID,displayName:_.Owner.DisplayName}}})),S&&(i(S)||(S=[S]),S=S.map(function(_){return{name:_.Key,lastModified:_.LastModified,versionId:_.VersionId,owner:{id:_.Owner.ID,displayName:_.Owner.DisplayName}}})),x=p.data.CommonPrefixes||null,x&&(i(x)||(x=[x]),x=x.map(function(_){return _.Prefix})),T.abrupt("return",{res:p.res,objects:m,deleteMarker:S,prefixes:x,nextMarker:p.data.NextMarker||null,NextVersionIdMarker:p.data.NextVersionIdMarker||null,isTruncated:p.data.IsTruncated==="true"});case 19:case"end":return T.stop()}},null,this)}function s(a){return a.replace(/([A-Z])/g,"-$1").toLowerCase()}function t(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c={};return e(a)&&(0,A.default)(a).forEach(function(h){c[s(h)]=a[h]}),c}},{"../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(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=v(w),b=k("babel-runtime/core-js/object/assign"),g=v(b);function v(l){return l&&l.__esModule?l:{default:l}}var f=d;f.getObjectMeta=function(u,o){var e,n;return A.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return o=o||{},u=this._objectName(u),o.subres=(0,g.default)({objectMeta:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),e=this._objectRequestParams("HEAD",u,o),e.successStatuses=[200],r.next=8,A.default.awrap(this.request(e));case 8:return n=r.sent,r.abrupt("return",{status:n.status,res:n.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=v(w),b=k("babel-runtime/core-js/object/assign"),g=v(b);function v(o){return o&&o.__esModule?o:{default:o}}var f=d,l=k("../utils/isObject"),u=l.isObject;f.getObjectTagging=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,r,s,t,a;return A.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return n.subres=(0,g.default)({tagging:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),e=this._objectName(e),i=this._objectRequestParams("GET",e,n),i.successStatuses=[200],h.next=7,A.default.awrap(this.request(i));case 7:return r=h.sent,h.next=10,A.default.awrap(this.parseXML(r.data));case 10:return s=h.sent,t=s.TagSet.Tag,t=t&&u(t)?[t]:t||[],a={},t.forEach(function(p){a[p.Key]=p.Value}),h.abrupt("return",{status:r.status,res:r.res,tag:a});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(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=v(w),b=k("babel-runtime/core-js/object/assign"),g=v(b);function v(l){return l&&l.__esModule?l:{default:l}}var f=d;f.getSymlink=function(u){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,n,i;return A.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return o.subres=(0,g.default)({symlink:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),u=this._objectName(u),e=this._objectRequestParams("GET",u,o),e.successStatuses=[200],s.next=7,A.default.awrap(this.request(e));case 7:return n=s.sent,i=n.res.headers["x-oss-symlink-target"],s.abrupt("return",{targetName:decodeURIComponent(i),res:n.res});case 10:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=l(w),b=k("babel-runtime/core-js/object/keys"),g=l(b),v=k("babel-runtime/core-js/object/assign"),f=l(v);function l(o){return o&&o.__esModule?o:{default:o}}var u=d;u.head=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,r,s;return A.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return n.subres=(0,f.default)({},n.subres),n.versionId&&(n.subres.versionId=n.versionId),i=this._objectRequestParams("HEAD",e,n),i.successStatuses=[200,304],a.next=6,A.default.awrap(this.request(i));case 6:return r=a.sent,s={meta:null,res:r.res,status:r.status},r.status===200&&(0,g.default)(r.headers).forEach(function(c){c.indexOf("x-oss-meta-")===0&&(s.meta||(s.meta={}),s.meta[c.substring(11)]=r.headers[c])}),a.abrupt("return",s);case 10:case"end":return a.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=v(w),b=k("babel-runtime/core-js/object/assign"),g=v(b);function v(l){return l&&l.__esModule?l:{default:l}}var f=d;f.putACL=function(u,o,e){var n,i;return A.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return e=e||{},e.subres=(0,g.default)({acl:""},e.subres),e.versionId&&(e.subres.versionId=e.versionId),e.headers=e.headers||{},e.headers["x-oss-object-acl"]=o,u=this._objectName(u),n=this._objectRequestParams("PUT",u,e),n.successStatuses=[200],s.next=10,A.default.awrap(this.request(n));case 10:return i=s.sent,s.abrupt("return",{res:i.res});case 12:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=l(w),b=k("babel-runtime/core-js/object/keys"),g=l(b),v=k("babel-runtime/core-js/object/assign"),f=l(v);function l(r){return r&&r.__esModule?r:{default:r}}var u=k("../utils/obj2xml"),o=u.obj2xml,e=k("../utils/checkObjectTag"),n=e.checkObjectTag,i=d;i.putObjectTagging=function(s,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c,h,p;return A.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:return n(t),a.subres=(0,f.default)({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),s=this._objectName(s),c=this._objectRequestParams("PUT",s,a),c.successStatuses=[200],t=(0,g.default)(t).map(function(y){return{Key:y,Value:t[y]}}),h={Tagging:{TagSet:{Tag:t}}},c.mime="xml",c.content=o(h),S.next=12,A.default.awrap(this.request(c));case 12:return p=S.sent,S.abrupt("return",{res:p.res,status:p.status});case 14:case"end":return S.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(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=v(w),b=k("babel-runtime/core-js/object/assign"),g=v(b);function v(l){return l&&l.__esModule?l:{default:l}}var f=d;f.putSymlink=function(u,o,e){var n,i;return A.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return e=e||{},e.headers=e.headers||{},o=this._escape(this._objectName(o)),this._convertMetaToHeaders(e.meta,e.headers),e.headers["x-oss-symlink-target"]=o,e.subres=(0,g.default)({symlink:""},e.subres),e.versionId&&(e.subres.versionId=e.versionId),e.storageClass&&(e.headers["x-oss-storage-class"]=e.storageClass),u=this._objectName(u),n=this._objectRequestParams("PUT",u,e),n.successStatuses=[200],s.next=13,A.default.awrap(this.request(n));case 13:return i=s.sent,s.abrupt("return",{res:i.res});case 15:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(k,B,d){"use strict";var w=k("babel-runtime/regenerator"),A=v(w),b=k("babel-runtime/core-js/promise"),g=v(b);function v(l){return l&&l.__esModule?l:{default:l}}var f=d;f._parallelNode=function(u,o,e,n){var i,r,s,t,a,c,h,p;return A.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:i=this,r=[],s=[],t=u.length/o,a=u.length%o,c=a===0?t:(u.length-a)/o+1,h=1,p=0;case 8:if(!(p<u.length)){S.next=26;break}if(!i.isCancel()){S.next=11;break}return S.abrupt("break",26);case 11:if(n?s.push(e(i,u[p],n)):s.push(e(i,u[p])),!(s.length===o||h===c&&p===u.length-1)){S.next=23;break}return S.prev=13,h+=1,S.next=17,A.default.awrap(g.default.all(s));case 17:S.next=22;break;case 19:S.prev=19,S.t0=S.catch(13),r.push(S.t0);case 22:s=[];case 23:p++,S.next=8;break;case 26:return S.abrupt("return",r);case 27:case"end":return S.stop()}},null,this,[[13,19]])},f._parallel=function(u,o,e){var n=this;return new g.default(function(i){var r=[];if(o<=0||!u){i(r);return}function s(x){return function(){if(x===null)throw new Error("Callback was already called.");var C=x;x=null;for(var T=arguments.length,_=Array(T),E=0;E<T;E++)_[E]=arguments[E];C.apply(this,_)}}function t(x){var C=-1,T=x.length;return function(){return++C<T&&!n.isCancel()?{value:x[C],key:C}:null}}var a=t(u),c=!1,h=0,p=!1;function m(x,C){h-=1,x?(c=!0,r.push(x),i(r)):C==={}||c&&h<=0?(c=!0,i(r)):p||(n.isCancel()?i(r):y())}function S(x,C){e(x).then(function(T){C(null,T)}).catch(function(T){C(T)})}function y(){for(p=!0;h<o&&!c&&!n.isCancel();){var x=a();if(x===null||r.length>0){c=!0,h<=0&&i(r);return}h+=1,S(x.value,s(m))}p=!1}y()})},f.cancel=function(u){this.options.cancelFlag=!0,u&&this.abortMultipartUpload(u.name,u.uploadId,u.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 u={status:0,name:"cancel"};return u}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(k,B,d){(function(w){"use strict";var A=k("babel-runtime/core-js/json/stringify"),b=f(A),g=k("babel-runtime/core-js/object/keys"),v=f(g);function f(o){return o&&o.__esModule?o:{default:o}}var l=k("./../../shims/crypto/crypto.js"),u=k("is-type-of");d.buildCanonicalizedResource=function(e,n){var i=""+e,r="?";if(u.string(n)&&n.trim()!=="")i+=r+n;else if(u.array(n))n.sort(),i+=r+n.join("&");else if(n){var s=function(c,h){return c[0]>h[0]?1:c[0]<h[0]?-1:0},t=function(c){i+=r+c,n[c]&&(i+="="+n[c]),r="&"};(0,v.default)(n).sort(s).forEach(t)}return i},d.buildCanonicalString=function(e,n,i,r){i=i||{};var s=i.headers||{},t="x-oss-",a=[],c={},h=[e.toUpperCase(),s["Content-Md5"]||"",s["Content-Type"]||s["Content-Type".toLowerCase()],r||s["x-oss-date"]];return(0,v.default)(s).forEach(function(p){var m=p.toLowerCase();m.indexOf(t)===0&&(c[m]=String(s[p]).trim())}),(0,v.default)(c).sort().forEach(function(p){a.push(p+":"+c[p])}),h=h.concat(a),h.push(this.buildCanonicalizedResource(n,i.parameters)),h.join(`
`)},d.computeSignature=function(e,n){var i=l.createHmac("sha1",e);return i.update(w.from(n,"utf8")).digest("base64")},d.authorization=function(e,n,i){return"OSS "+e+":"+this.computeSignature(n,i)},d._signatureForURL=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments[2],r=arguments[3],s={},t=n.subResource,a=t===void 0?{}:t;if(n.process){var c="x-oss-process";a[c]=n.process}if(n.trafficLimit){var h="x-oss-traffic-limit";a[h]=n.trafficLimit}if(n.response&&(0,v.default)(n.response).forEach(function(y){var x="response-"+y.toLowerCase();a[x]=n.response[y]}),(0,v.default)(n).forEach(function(y){var x=y.toLowerCase(),C=n[y];x.indexOf("x-oss-")===0?s[x]=C:(x.indexOf("content-md5")===0||x.indexOf("content-type")===0)&&(s[y]=C)}),Object.prototype.hasOwnProperty.call(n,"security-token")&&(a["security-token"]=n["security-token"]),Object.prototype.hasOwnProperty.call(n,"callback")){var p={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};if(n.callback.host&&(p.callbackHost=n.callback.host),n.callback.contentType&&(p.callbackBodyType=n.callback.contentType),a.callback=w.from((0,b.default)(p)).toString("base64"),n.callback.customValue){var m={};(0,v.default)(n.callback.customValue).forEach(function(y){m["x:"+y]=n.callback.customValue[y]}),a["callback-var"]=w.from((0,b.default)(m)).toString("base64")}}var S=this.buildCanonicalString(n.method,i,{headers:s,parameters:a},r.toString());return{Signature:this.computeSignature(e,S),subResource:a}}}).call(this,k("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(k,B,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.checkBucketName=void 0,d.checkBucketName=function(w,A){var b=A?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!b.test(w))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/entries"),A=b(w);function b(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(d,"__esModule",{value:!0}),d.checkObjectTag=void 0;var g=k("./checkValid"),v=g.checkValid,f=k("./isObject"),l=f.isObject,u=[{validator:function(i){if(typeof i!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],o={key:[].concat(u,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(u,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function e(n){if(!l(n))throw new Error("tag must be Object");var i=(0,A.default)(n);if(i.length>10)throw new Error("maximum of 10 tags for a object");var r=["key","value"];i.forEach(function(s){s.forEach(function(t,a){v(t,o[r[a]])})})}d.checkObjectTag=e},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(k,B,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.checkValid=void 0;function w(A,b){b.forEach(function(g){if(g.validator)g.validator(A);else if(g.pattern&&!g.pattern.test(A))throw new Error(g.msg)})}d.checkValid=w},{}],38:[function(k,B,d){(function(w){"use strict";var A=k("babel-runtime/core-js/object/assign"),b=g(A);function g(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(d,"__esModule",{value:!0}),d.createRequest=void 0;var v=k("./../../../shims/crypto/crypto.js"),f=k("debug")("ali-oss"),l=k("mime"),u=k("dateformat"),o=k("copy-to"),e=k("path");function n(s,t){return s[t]||s[t.toLowerCase()]}function i(s,t){delete s[t],delete s[t.toLowerCase()]}function r(s){var t=new Date;this.options.amendTimeSkewed&&(t=+new Date+this.options.amendTimeSkewed);var a={"x-oss-date":u(t,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(a["User-Agent"]=this.userAgent),this.options.isRequestPay&&(0,b.default)(a,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(a["x-oss-security-token"]=this.options.stsToken),o(s.headers).to(a),n(a,"Content-Type")||(s.mime&&s.mime.indexOf("/")>0?a["Content-Type"]=s.mime:a["Content-Type"]=l.getType(s.mime||e.extname(s.object||""))),n(a,"Content-Type")||i(a,"Content-Type"),s.content&&(a["Content-Md5"]=v.createHash("md5").update(w.from(s.content,"utf8")).digest("base64"),a["Content-Length"]||(a["Content-Length"]=s.content.length));var c=this._getResource(s);a.authorization=this.authorization(s.method,c,s.subres,a);var h=this._getReqUrl(s);f("request %s %s, with headers %j, !!stream: %s",s.method,h,a,!!s.stream);var p=s.timeout||this.options.timeout,m={method:s.method,content:s.content,stream:s.stream,headers:a,timeout:p,writeStream:s.writeStream,customResponse:s.customResponse,ctx:s.ctx||this.ctx};return this.agent&&(m.agent=this.agent),this.httpsAgent&&(m.httpsAgent=this.httpsAgent),{url:h,params:m}}d.createRequest=r}).call(this,k("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(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/keys"),A=v(w),b=k("babel-runtime/helpers/typeof"),g=v(b);function v(f){return f&&f.__esModule?f:{default:f}}Object.defineProperty(d,"__esModule",{value:!0}),d.deepCopy=void 0,d.deepCopy=function(f){if(f===null||(typeof f=="undefined"?"undefined":(0,g.default)(f))!=="object")return f;var l=Array.isArray(f)?[]:{};return(0,A.default)(f).forEach(function(u){l[u]=d.deepCopy(f[u])}),l}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/keys"),A=v(w),b=k("babel-runtime/helpers/typeof"),g=v(b);function v(u){return u&&u.__esModule?u:{default:u}}Object.defineProperty(d,"__esModule",{value:!0}),d.formatObjKey=void 0;function f(u,o){if(u===null||(typeof u=="undefined"?"undefined":(0,g.default)(u))!=="object")return u;var e=void 0;if(Array.isArray(u)){e=[];for(var n=0;n<u.length;n++)e.push(f(u[n],o))}else e={},(0,A.default)(u).forEach(function(i){e[l(i,o)]=f(u[i],o)});return e}d.formatObjKey=f;function l(u,o){return o==="firstUpperCase"?u=u.replace(/^./,function(e){return e.toUpperCase()}):o==="firstLowerCase"&&(u=u.replace(/^./,function(e){return e.toLowerCase()})),u}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(k,B,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.getStrBytesCount=void 0;function w(A){for(var b=0,g=0;g<A.length;g++){var v=A.charAt(g);/^[\u00-\uff]$/.test(v)?b+=1:b+=2}return b}d.getStrBytesCount=w},{}],42:[function(k,B,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isArray=void 0,d.isArray=function(w){return Object.prototype.toString.call(w)==="[object Array]"}},{}],43:[function(k,B,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isBlob=void 0;function w(A){return typeof Blob!="undefined"&&A instanceof Blob}d.isBlob=w},{}],44:[function(k,B,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isFile=void 0,d.isFile=function(w){return typeof File!="undefined"&&w instanceof File}},{}],45:[function(k,B,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isIP=void 0,d.isIP=function(w){var A=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,b=/^\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 A.test(w)||b.test(w)}},{}],46:[function(k,B,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isObject=void 0,d.isObject=function(w){return Object.prototype.toString.call(w)==="[object Object]"}},{}],47:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/keys"),A=b(w);function b(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(d,"__esModule",{value:!0}),d.obj2xml=void 0;var g=k("./formatObjKey");function v(l){return Object.prototype.toString.call(l).replace(/(.*? |])/g,"").toLowerCase()}function f(l,u){var o="";return u&&u.headers&&(o=`<?xml version="1.0" encoding="UTF-8"?>
`),u&&u.firstUpperCase&&(l=g.formatObjKey(l,"firstUpperCase")),v(l)==="object"?(0,A.default)(l).forEach(function(e){v(l[e])==="string"||v(l[e])==="number"?o+="<"+e+">"+l[e]+"</"+e+">":v(l[e])==="object"?o+="<"+e+">"+f(l[e])+"</"+e+">":v(l[e])==="array"?o+=l[e].map(function(n){return"<"+e+">"+f(n)+"</"+e+">"}).join(""):o+="<"+e+">"+l[e].toString()+"</"+e+">"}):o+=l.toString(),o}d.obj2xml=f},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(k,B,d){B.exports=w,B.exports.HttpsAgent=w;function w(){}},{}],49:[function(k,B,d){B.exports=k("./register")().Promise},{"./register":51}],50:[function(k,B,d){"use strict";var w="@@any-promise/REGISTRATION",A=null;B.exports=function(b,g){return function(f,l){f=f||null,l=l||{};var u=l.global!==!1;if(A===null&&u&&(A=b[w]||null),A!==null&&f!==null&&A.implementation!==f)throw new Error('any-promise already defined as "'+A.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return A===null&&(f!==null&&typeof l.Promise!="undefined"?A={Promise:l.Promise,implementation:f}:A=g(f),u&&(b[w]=A)),A}}},{}],51:[function(k,B,d){"use strict";B.exports=k("./loader")(window,w);function w(){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(k,B,d){B.exports={default:k("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(k,B,d){B.exports={default:k("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(k,B,d){B.exports={default:k("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(k,B,d){B.exports={default:k("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(k,B,d){B.exports={default:k("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(k,B,d){B.exports={default:k("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(k,B,d){B.exports={default:k("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(k,B,d){B.exports={default:k("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(k,B,d){B.exports={default:k("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(k,B,d){B.exports={default:k("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(k,B,d){B.exports={default:k("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(k,B,d){B.exports={default:k("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(k,B,d){B.exports={default:k("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(k,B,d){B.exports={default:k("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(k,B,d){B.exports={default:k("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(k,B,d){"use strict";d.__esModule=!0;var w=k("../core-js/symbol/iterator"),A=f(w),b=k("../core-js/symbol"),g=f(b),v=typeof g.default=="function"&&typeof A.default=="symbol"?function(l){return typeof l}:function(l){return l&&typeof g.default=="function"&&l.constructor===g.default&&l!==g.default.prototype?"symbol":typeof l};function f(l){return l&&l.__esModule?l:{default:l}}d.default=typeof g.default=="function"&&v(A.default)==="symbol"?function(l){return typeof l=="undefined"?"undefined":v(l)}:function(l){return l&&typeof g.default=="function"&&l.constructor===g.default&&l!==g.default.prototype?"symbol":typeof l=="undefined"?"undefined":v(l)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(k,B,d){B.exports=k("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(k,B,d){"use strict";d.byteLength=u,d.toByteArray=e,d.fromByteArray=r;for(var w=[],A=[],b=typeof Uint8Array!="undefined"?Uint8Array:Array,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,f=g.length;v<f;++v)w[v]=g[v],A[g.charCodeAt(v)]=v;A["-".charCodeAt(0)]=62,A["_".charCodeAt(0)]=63;function l(s){var t=s.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=s.indexOf("=");a===-1&&(a=t);var c=a===t?0:4-a%4;return[a,c]}function u(s){var t=l(s),a=t[0],c=t[1];return(a+c)*3/4-c}function o(s,t,a){return(t+a)*3/4-a}function e(s){var t,a=l(s),c=a[0],h=a[1],p=new b(o(s,c,h)),m=0,S=h>0?c-4:c,y;for(y=0;y<S;y+=4)t=A[s.charCodeAt(y)]<<18|A[s.charCodeAt(y+1)]<<12|A[s.charCodeAt(y+2)]<<6|A[s.charCodeAt(y+3)],p[m++]=t>>16&255,p[m++]=t>>8&255,p[m++]=t&255;return h===2&&(t=A[s.charCodeAt(y)]<<2|A[s.charCodeAt(y+1)]>>4,p[m++]=t&255),h===1&&(t=A[s.charCodeAt(y)]<<10|A[s.charCodeAt(y+1)]<<4|A[s.charCodeAt(y+2)]>>2,p[m++]=t>>8&255,p[m++]=t&255),p}function n(s){return w[s>>18&63]+w[s>>12&63]+w[s>>6&63]+w[s&63]}function i(s,t,a){for(var c,h=[],p=t;p<a;p+=3)c=(s[p]<<16&16711680)+(s[p+1]<<8&65280)+(s[p+2]&255),h.push(n(c));return h.join("")}function r(s){for(var t,a=s.length,c=a%3,h=[],p=16383,m=0,S=a-c;m<S;m+=p)h.push(i(s,m,m+p>S?S:m+p));return c===1?(t=s[a-1],h.push(w[t>>2]+w[t<<4&63]+"==")):c===2&&(t=(s[a-2]<<8)+s[a-1],h.push(w[t>>10]+w[t>>4&63]+w[t<<2&63]+"=")),h.join("")}},{}],70:[function(k,B,d){/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2015
*/!function(w,A,b){typeof B!="undefined"&&B.exports?B.exports=b():typeof define=="function"&&define.amd?define(A,b):w[A]=b()}(this,"bowser",function(){var w=!0;function A(o){function e(j){var H=o.match(j);return H&&H.length>1&&H[1]||""}function n(j){var H=o.match(j);return H&&H.length>1&&H[2]||""}var i=e(/(ipod|iphone|ipad)/i).toLowerCase(),r=/like android/i.test(o),s=!r&&/android/i.test(o),t=/nexus\s*[0-6]\s*/i.test(o),a=!t&&/nexus\s*[0-9]+/i.test(o),c=/CrOS/.test(o),h=/silk/i.test(o),p=/sailfish/i.test(o),m=/tizen/i.test(o),S=/(web|hpw)(o|0)s/i.test(o),y=/windows phone/i.test(o),x=/SamsungBrowser/i.test(o),C=!y&&/windows/i.test(o),T=!i&&!h&&/macintosh/i.test(o),_=!s&&!p&&!m&&!S&&/linux/i.test(o),E=n(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),I=e(/version\/(\d+(\.\d+)?)/i),L=/tablet/i.test(o)&&!/tablet pc/i.test(o),D=!L&&/[^-]mobi/i.test(o),F=/xbox/i.test(o),N;/opera/i.test(o)?N={name:"Opera",opera:w,version:I||e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(o)?N={name:"Opera",opera:w,version:e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||I}:/SamsungBrowser/i.test(o)?N={name:"Samsung Internet for Android",samsungBrowser:w,version:I||e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(o)?N={name:"NAVER Whale browser",whale:w,version:e(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(o)?N={name:"MZ Browser",mzbrowser:w,version:e(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(o)?N={name:"Opera Coast",coast:w,version:I||e(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(o)?N={name:"Focus",focus:w,version:e(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(o)?N={name:"Yandex Browser",yandexbrowser:w,version:I||e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(o)?N={name:"UC Browser",ucbrowser:w,version:e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(o)?N={name:"Maxthon",maxthon:w,version:e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(o)?N={name:"Epiphany",epiphany:w,version:e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(o)?N={name:"Puffin",puffin:w,version:e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(o)?N={name:"Sleipnir",sleipnir:w,version:e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(o)?N={name:"K-Meleon",kMeleon:w,version:e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:y?(N={name:"Windows Phone",osname:"Windows Phone",windowsphone:w},E?(N.msedge=w,N.version=E):(N.msie=w,N.version=e(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(o)?N={name:"Internet Explorer",msie:w,version:e(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:c?N={name:"Chrome",osname:"Chrome OS",chromeos:w,chromeBook:w,chrome:w,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(o)?N={name:"Microsoft Edge",msedge:w,version:E}:/vivaldi/i.test(o)?N={name:"Vivaldi",vivaldi:w,version:e(/vivaldi\/(\d+(\.\d+)?)/i)||I}:p?N={name:"Sailfish",osname:"Sailfish OS",sailfish:w,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(o)?N={name:"SeaMonkey",seamonkey:w,version:e(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(o)?(N={name:"Firefox",firefox:w,version:e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(o)&&(N.firefoxos=w,N.osname="Firefox OS")):h?N={name:"Amazon Silk",silk:w,version:e(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(o)?N={name:"PhantomJS",phantom:w,version:e(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(o)?N={name:"SlimerJS",slimer:w,version:e(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(o)||/rim\stablet/i.test(o)?N={name:"BlackBerry",osname:"BlackBerry OS",blackberry:w,version:I||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:S?(N={name:"WebOS",osname:"WebOS",webos:w,version:I||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(o)&&(N.touchpad=w)):/bada/i.test(o)?N={name:"Bada",osname:"Bada",bada:w,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:m?N={name:"Tizen",osname:"Tizen",tizen:w,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||I}:/qupzilla/i.test(o)?N={name:"QupZilla",qupzilla:w,version:e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||I}:/chromium/i.test(o)?N={name:"Chromium",chromium:w,version:e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||I}:/chrome|crios|crmo/i.test(o)?N={name:"Chrome",chrome:w,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:s?N={name:"Android",version:I}:/safari|applewebkit/i.test(o)?(N={name:"Safari",safari:w},I&&(N.version=I)):i?(N={name:i=="iphone"?"iPhone":i=="ipad"?"iPad":"iPod"},I&&(N.version=I)):/googlebot/i.test(o)?N={name:"Googlebot",googlebot:w,version:e(/googlebot\/(\d+(\.\d+))/i)||I}:N={name:e(/^(.*)\/(.*) /),version:n(/^(.*)\/(.*) /)},!N.msedge&&/(apple)?webkit/i.test(o)?(/(apple)?webkit\/537\.36/i.test(o)?(N.name=N.name||"Blink",N.blink=w):(N.name=N.name||"Webkit",N.webkit=w),!N.version&&I&&(N.version=I)):!N.opera&&/gecko\//i.test(o)&&(N.name=N.name||"Gecko",N.gecko=w,N.version=N.version||e(/gecko\/(\d+(\.\d+)?)/i)),!N.windowsphone&&(s||N.silk)?(N.android=w,N.osname="Android"):!N.windowsphone&&i?(N[i]=w,N.ios=w,N.osname="iOS"):T?(N.mac=w,N.osname="macOS"):F?(N.xbox=w,N.osname="Xbox"):C?(N.windows=w,N.osname="Windows"):_&&(N.linux=w,N.osname="Linux");function P(j){switch(j){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var W="";N.windows?W=P(e(/Windows ((NT|XP)( \d\d?.\d)?)/i)):N.windowsphone?W=e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):N.mac?(W=e(/Mac OS X (\d+([_\.\s]\d+)*)/i),W=W.replace(/[_\s]/g,".")):i?(W=e(/os (\d+([_\s]\d+)*) like mac os x/i),W=W.replace(/[_\s]/g,".")):s?W=e(/android[ \/-](\d+(\.\d+)*)/i):N.webos?W=e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):N.blackberry?W=e(/rim\stablet\sos\s(\d+(\.\d+)*)/i):N.bada?W=e(/bada\/(\d+(\.\d+)*)/i):N.tizen&&(W=e(/tizen[\/\s](\d+(\.\d+)*)/i)),W&&(N.osversion=W);var R=!N.windows&&W.split(".")[0];return L||a||i=="ipad"||s&&(R==3||R>=4&&!D)||N.silk?N.tablet=w:(D||i=="iphone"||i=="ipod"||s||t||N.blackberry||N.webos||N.bada)&&(N.mobile=w),N.msedge||N.msie&&N.version>=10||N.yandexbrowser&&N.version>=15||N.vivaldi&&N.version>=1||N.chrome&&N.version>=20||N.samsungBrowser&&N.version>=4||N.whale&&f([N.version,"1.0"])===1||N.mzbrowser&&f([N.version,"6.0"])===1||N.focus&&f([N.version,"1.0"])===1||N.firefox&&N.version>=20||N.safari&&N.version>=6||N.opera&&N.version>=10||N.ios&&N.osversion&&N.osversion.split(".")[0]>=6||N.blackberry&&N.version>=10.1||N.chromium&&N.version>=20?N.a=w:N.msie&&N.version<10||N.chrome&&N.version<20||N.firefox&&N.version<20||N.safari&&N.version<6||N.opera&&N.version<10||N.ios&&N.osversion&&N.osversion.split(".")[0]<6||N.chromium&&N.version<20?N.c=w:N.x=w,N}var b=A(typeof navigator!="undefined"&&navigator.userAgent||"");b.test=function(o){for(var e=0;e<o.length;++e){var n=o[e];if(typeof n=="string"&&n in b)return!0}return!1};function g(o){return o.split(".").length}function v(o,e){var n=[],i;if(Array.prototype.map)return Array.prototype.map.call(o,e);for(i=0;i<o.length;i++)n.push(e(o[i]));return n}function f(o){for(var e=Math.max(g(o[0]),g(o[1])),n=v(o,function(i){var r=e-g(i);return i=i+new Array(r+1).join(".0"),v(i.split("."),function(s){return new Array(20-s.length).join("0")+s}).reverse()});--e>=0;){if(n[0][e]>n[1][e])return 1;if(n[0][e]===n[1][e]){if(e===0)return 0}else return-1}}function l(o,e,n){var i=b;typeof e=="string"&&(n=e,e=void 0),e===void 0&&(e=!1),n&&(i=A(n));var r=""+i.version;for(var s in o)if(o.hasOwnProperty(s)&&i[s]){if(typeof o[s]!="string")throw new Error("Browser version in the minVersion map should be a string: "+s+": "+String(o));return f([r,o[s]])<0}return e}function u(o,e,n){return!l(o,e,n)}return b.isUnsupportedBrowser=l,b.compareVersions=f,b.check=u,b._detect=A,b.detect=A,b})},{}],71:[function(k,B,d){},{}],72:[function(k,B,d){var w=k("buffer").Buffer,A=w.isEncoding||function(u){switch(u&&u.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 b(u){if(u&&!A(u))throw new Error("Unknown encoding: "+u)}var g=d.StringDecoder=function(u){this.encoding=(u||"utf8").toLowerCase().replace(/[-_]/,""),b(u);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=l;break;default:this.write=v;return}this.charBuffer=new w(6),this.charReceived=0,this.charLength=0};g.prototype.write=function(u){for(var o="";this.charLength;){var e=u.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:u.length;if(u.copy(this.charBuffer,this.charReceived,0,e),this.charReceived+=e,this.charReceived<this.charLength)return"";u=u.slice(e,u.length),o=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var i=o.charCodeAt(o.length-1);if(i>=55296&&i<=56319){this.charLength+=this.surrogateSize,o="";continue}if(this.charReceived=this.charLength=0,u.length===0)return o;break}this.detectIncompleteChar(u);var n=u.length;this.charLength&&(u.copy(this.charBuffer,0,u.length-this.charReceived,n),n-=this.charReceived),o+=u.toString(this.encoding,0,n);var n=o.length-1,i=o.charCodeAt(n);if(i>=55296&&i<=56319){var r=this.surrogateSize;return this.charLength+=r,this.charReceived+=r,this.charBuffer.copy(this.charBuffer,r,0,r),u.copy(this.charBuffer,0,0,r),o.substring(0,n)}return o},g.prototype.detectIncompleteChar=function(u){for(var o=u.length>=3?3:u.length;o>0;o--){var e=u[u.length-o];if(o==1&&e>>5==6){this.charLength=2;break}if(o<=2&&e>>4==14){this.charLength=3;break}if(o<=3&&e>>3==30){this.charLength=4;break}}this.charReceived=o},g.prototype.end=function(u){var o="";if(u&&u.length&&(o=this.write(u)),this.charReceived){var e=this.charReceived,n=this.charBuffer,i=this.encoding;o+=n.slice(0,e).toString(i)}return o};function v(u){return u.toString(this.encoding)}function f(u){this.charReceived=u.length%2,this.charLength=this.charReceived?2:0}function l(u){this.charReceived=u.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(k,B,d){(function(w,A){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/"use strict";var b=k("base64-js"),g=k("ieee754"),v=k("isarray");d.Buffer=A,d.SlowBuffer=h,d.INSPECT_MAX_BYTES=50,A.TYPED_ARRAY_SUPPORT=w.TYPED_ARRAY_SUPPORT!==void 0?w.TYPED_ARRAY_SUPPORT:f(),d.kMaxLength=l();function f(){try{var ae=new Uint8Array(1);return ae.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ae.foo()===42&&typeof ae.subarray=="function"&&ae.subarray(1,1).byteLength===0}catch(V){return!1}}function l(){return A.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(ae,V){if(l()<V)throw new RangeError("Invalid typed array length");return A.TYPED_ARRAY_SUPPORT?(ae=new Uint8Array(V),ae.__proto__=A.prototype):(ae===null&&(ae=new A(V)),ae.length=V),ae}function A(ae,V,X){if(!A.TYPED_ARRAY_SUPPORT&&!(this instanceof A))return new A(ae,V,X);if(typeof ae=="number"){if(typeof V=="string")throw new Error("If encoding is specified then the first argument must be a string");return i(this,ae)}return o(this,ae,V,X)}A.poolSize=8192,A._augment=function(ae){return ae.__proto__=A.prototype,ae};function o(ae,V,X,Z){if(typeof V=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&V instanceof ArrayBuffer?t(ae,V,X,Z):typeof V=="string"?r(ae,V,X):a(ae,V)}A.from=function(ae,V,X){return o(null,ae,V,X)},A.TYPED_ARRAY_SUPPORT&&(A.prototype.__proto__=Uint8Array.prototype,A.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&A[Symbol.species]===A&&Object.defineProperty(A,Symbol.species,{value:null,configurable:!0}));function e(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be a number');if(ae<0)throw new RangeError('"size" argument must not be negative')}function n(ae,V,X,Z){return e(V),V<=0?u(ae,V):X!==void 0?typeof Z=="string"?u(ae,V).fill(X,Z):u(ae,V).fill(X):u(ae,V)}A.alloc=function(ae,V,X){return n(null,ae,V,X)};function i(ae,V){if(e(V),ae=u(ae,V<0?0:c(V)|0),!A.TYPED_ARRAY_SUPPORT)for(var X=0;X<V;++X)ae[X]=0;return ae}A.allocUnsafe=function(ae){return i(null,ae)},A.allocUnsafeSlow=function(ae){return i(null,ae)};function r(ae,V,X){if((typeof X!="string"||X==="")&&(X="utf8"),!A.isEncoding(X))throw new TypeError('"encoding" must be a valid string encoding');var Z=p(V,X)|0;ae=u(ae,Z);var ge=ae.write(V,X);return ge!==Z&&(ae=ae.slice(0,ge)),ae}function s(ae,V){var X=V.length<0?0:c(V.length)|0;ae=u(ae,X);for(var Z=0;Z<X;Z+=1)ae[Z]=V[Z]&255;return ae}function t(ae,V,X,Z){if(V.byteLength,X<0||V.byteLength<X)throw new RangeError("'offset' is out of bounds");if(V.byteLength<X+(Z||0))throw new RangeError("'length' is out of bounds");return X===void 0&&Z===void 0?V=new Uint8Array(V):Z===void 0?V=new Uint8Array(V,X):V=new Uint8Array(V,X,Z),A.TYPED_ARRAY_SUPPORT?(ae=V,ae.__proto__=A.prototype):ae=s(ae,V),ae}function a(ae,V){if(A.isBuffer(V)){var X=c(V.length)|0;return ae=u(ae,X),ae.length===0||V.copy(ae,0,0,X),ae}if(V){if(typeof ArrayBuffer!="undefined"&&V.buffer instanceof ArrayBuffer||"length"in V)return typeof V.length!="number"||qe(V.length)?u(ae,0):s(ae,V);if(V.type==="Buffer"&&v(V.data))return s(ae,V.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function c(ae){if(ae>=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return ae|0}function h(ae){return+ae!=ae&&(ae=0),A.alloc(+ae)}A.isBuffer=function(V){return!!(V!=null&&V._isBuffer)},A.compare=function(V,X){if(!A.isBuffer(V)||!A.isBuffer(X))throw new TypeError("Arguments must be Buffers");if(V===X)return 0;for(var Z=V.length,ge=X.length,le=0,Se=Math.min(Z,ge);le<Se;++le)if(V[le]!==X[le]){Z=V[le],ge=X[le];break}return Z<ge?-1:ge<Z?1:0},A.isEncoding=function(V){switch(String(V).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},A.concat=function(V,X){if(!v(V))throw new TypeError('"list" argument must be an Array of Buffers');if(V.length===0)return A.alloc(0);var Z;if(X===void 0)for(X=0,Z=0;Z<V.length;++Z)X+=V[Z].length;var ge=A.allocUnsafe(X),le=0;for(Z=0;Z<V.length;++Z){var Se=V[Z];if(!A.isBuffer(Se))throw new TypeError('"list" argument must be an Array of Buffers');Se.copy(ge,le),le+=Se.length}return ge};function p(ae,V){if(A.isBuffer(ae))return ae.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(ae)||ae instanceof ArrayBuffer))return ae.byteLength;typeof ae!="string"&&(ae=""+ae);var X=ae.length;if(X===0)return 0;for(var Z=!1;;)switch(V){case"ascii":case"latin1":case"binary":return X;case"utf8":case"utf-8":case void 0:return _e(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X*2;case"hex":return X>>>1;case"base64":return J(ae).length;default:if(Z)return _e(ae).length;V=(""+V).toLowerCase(),Z=!0}}A.byteLength=p;function m(ae,V,X){var Z=!1;if((V===void 0||V<0)&&(V=0),V>this.length)return"";if((X===void 0||X>this.length)&&(X=this.length),X<=0)return"";if(X>>>=0,V>>>=0,X<=V)return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return j(this,V,X);case"utf8":case"utf-8":return F(this,V,X);case"ascii":return W(this,V,X);case"latin1":case"binary":return R(this,V,X);case"base64":return D(this,V,X);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,V,X);default:if(Z)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),Z=!0}}A.prototype._isBuffer=!0;function S(ae,V,X){var Z=ae[V];ae[V]=ae[X],ae[X]=Z}A.prototype.swap16=function(){var V=this.length;if(V%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var X=0;X<V;X+=2)S(this,X,X+1);return this},A.prototype.swap32=function(){var V=this.length;if(V%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var X=0;X<V;X+=4)S(this,X,X+3),S(this,X+1,X+2);return this},A.prototype.swap64=function(){var V=this.length;if(V%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var X=0;X<V;X+=8)S(this,X,X+7),S(this,X+1,X+6),S(this,X+2,X+5),S(this,X+3,X+4);return this},A.prototype.toString=function(){var V=this.length|0;return V===0?"":arguments.length===0?F(this,0,V):m.apply(this,arguments)},A.prototype.equals=function(V){if(!A.isBuffer(V))throw new TypeError("Argument must be a Buffer");return this===V?!0:A.compare(this,V)===0},A.prototype.inspect=function(){var V="",X=d.INSPECT_MAX_BYTES;return this.length>0&&(V=this.toString("hex",0,X).match(/.{2}/g).join(" "),this.length>X&&(V+=" ... ")),"<Buffer "+V+">"},A.prototype.compare=function(V,X,Z,ge,le){if(!A.isBuffer(V))throw new TypeError("Argument must be a Buffer");if(X===void 0&&(X=0),Z===void 0&&(Z=V?V.length:0),ge===void 0&&(ge=0),le===void 0&&(le=this.length),X<0||Z>V.length||ge<0||le>this.length)throw new RangeError("out of range index");if(ge>=le&&X>=Z)return 0;if(ge>=le)return-1;if(X>=Z)return 1;if(X>>>=0,Z>>>=0,ge>>>=0,le>>>=0,this===V)return 0;for(var Se=le-ge,me=Z-X,$=Math.min(Se,me),we=this.slice(ge,le),xe=V.slice(X,Z),We=0;We<$;++We)if(we[We]!==xe[We]){Se=we[We],me=xe[We];break}return Se<me?-1:me<Se?1:0};function y(ae,V,X,Z,ge){if(ae.length===0)return-1;if(typeof X=="string"?(Z=X,X=0):X>2147483647?X=2147483647:X<-2147483648&&(X=-2147483648),X=+X,isNaN(X)&&(X=ge?0:ae.length-1),X<0&&(X=ae.length+X),X>=ae.length){if(ge)return-1;X=ae.length-1}else if(X<0)if(ge)X=0;else return-1;if(typeof V=="string"&&(V=A.from(V,Z)),A.isBuffer(V))return V.length===0?-1:x(ae,V,X,Z,ge);if(typeof V=="number")return V=V&255,A.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ge?Uint8Array.prototype.indexOf.call(ae,V,X):Uint8Array.prototype.lastIndexOf.call(ae,V,X):x(ae,[V],X,Z,ge);throw new TypeError("val must be string, number or Buffer")}function x(ae,V,X,Z,ge){var le=1,Se=ae.length,me=V.length;if(Z!==void 0&&(Z=String(Z).toLowerCase(),Z==="ucs2"||Z==="ucs-2"||Z==="utf16le"||Z==="utf-16le")){if(ae.length<2||V.length<2)return-1;le=2,Se/=2,me/=2,X/=2}function $(nt,Ne){return le===1?nt[Ne]:nt.readUInt16BE(Ne*le)}var we;if(ge){var xe=-1;for(we=X;we<Se;we++)if($(ae,we)===$(V,xe===-1?0:we-xe)){if(xe===-1&&(xe=we),we-xe+1===me)return xe*le}else xe!==-1&&(we-=we-xe),xe=-1}else for(X+me>Se&&(X=Se-me),we=X;we>=0;we--){for(var We=!0,st=0;st<me;st++)if($(ae,we+st)!==$(V,st)){We=!1;break}if(We)return we}return-1}A.prototype.includes=function(V,X,Z){return this.indexOf(V,X,Z)!==-1},A.prototype.indexOf=function(V,X,Z){return y(this,V,X,Z,!0)},A.prototype.lastIndexOf=function(V,X,Z){return y(this,V,X,Z,!1)};function C(ae,V,X,Z){X=Number(X)||0;var ge=ae.length-X;Z?(Z=Number(Z),Z>ge&&(Z=ge)):Z=ge;var le=V.length;if(le%2!==0)throw new TypeError("Invalid hex string");Z>le/2&&(Z=le/2);for(var Se=0;Se<Z;++Se){var me=parseInt(V.substr(Se*2,2),16);if(isNaN(me))return Se;ae[X+Se]=me}return Se}function T(ae,V,X,Z){return Ee(_e(V,ae.length-X),ae,X,Z)}function _(ae,V,X,Z){return Ee(De(V),ae,X,Z)}function E(ae,V,X,Z){return _(ae,V,X,Z)}function I(ae,V,X,Z){return Ee(J(V),ae,X,Z)}function L(ae,V,X,Z){return Ee(Xe(V,ae.length-X),ae,X,Z)}A.prototype.write=function(V,X,Z,ge){if(X===void 0)ge="utf8",Z=this.length,X=0;else if(Z===void 0&&typeof X=="string")ge=X,Z=this.length,X=0;else if(isFinite(X))X=X|0,isFinite(Z)?(Z=Z|0,ge===void 0&&(ge="utf8")):(ge=Z,Z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var le=this.length-X;if((Z===void 0||Z>le)&&(Z=le),V.length>0&&(Z<0||X<0)||X>this.length)throw new RangeError("Attempt to write outside buffer bounds");ge||(ge="utf8");for(var Se=!1;;)switch(ge){case"hex":return C(this,V,X,Z);case"utf8":case"utf-8":return T(this,V,X,Z);case"ascii":return _(this,V,X,Z);case"latin1":case"binary":return E(this,V,X,Z);case"base64":return I(this,V,X,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,V,X,Z);default:if(Se)throw new TypeError("Unknown encoding: "+ge);ge=(""+ge).toLowerCase(),Se=!0}},A.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function D(ae,V,X){return V===0&&X===ae.length?b.fromByteArray(ae):b.fromByteArray(ae.slice(V,X))}function F(ae,V,X){X=Math.min(ae.length,X);for(var Z=[],ge=V;ge<X;){var le=ae[ge],Se=null,me=le>239?4:le>223?3:le>191?2:1;if(ge+me<=X){var $,we,xe,We;switch(me){case 1:le<128&&(Se=le);break;case 2:$=ae[ge+1],($&192)===128&&(We=(le&31)<<6|$&63,We>127&&(Se=We));break;case 3:$=ae[ge+1],we=ae[ge+2],($&192)===128&&(we&192)===128&&(We=(le&15)<<12|($&63)<<6|we&63,We>2047&&(We<55296||We>57343)&&(Se=We));break;case 4:$=ae[ge+1],we=ae[ge+2],xe=ae[ge+3],($&192)===128&&(we&192)===128&&(xe&192)===128&&(We=(le&15)<<18|($&63)<<12|(we&63)<<6|xe&63,We>65535&&We<1114112&&(Se=We))}}Se===null?(Se=65533,me=1):Se>65535&&(Se-=65536,Z.push(Se>>>10&1023|55296),Se=56320|Se&1023),Z.push(Se),ge+=me}return P(Z)}var N=4096;function P(ae){var V=ae.length;if(V<=N)return String.fromCharCode.apply(String,ae);for(var X="",Z=0;Z<V;)X+=String.fromCharCode.apply(String,ae.slice(Z,Z+=N));return X}function W(ae,V,X){var Z="";X=Math.min(ae.length,X);for(var ge=V;ge<X;++ge)Z+=String.fromCharCode(ae[ge]&127);return Z}function R(ae,V,X){var Z="";X=Math.min(ae.length,X);for(var ge=V;ge<X;++ge)Z+=String.fromCharCode(ae[ge]);return Z}function j(ae,V,X){var Z=ae.length;(!V||V<0)&&(V=0),(!X||X<0||X>Z)&&(X=Z);for(var ge="",le=V;le<X;++le)ge+=pe(ae[le]);return ge}function H(ae,V,X){for(var Z=ae.slice(V,X),ge="",le=0;le<Z.length;le+=2)ge+=String.fromCharCode(Z[le]+Z[le+1]*256);return ge}A.prototype.slice=function(V,X){var Z=this.length;V=~~V,X=X===void 0?Z:~~X,V<0?(V+=Z,V<0&&(V=0)):V>Z&&(V=Z),X<0?(X+=Z,X<0&&(X=0)):X>Z&&(X=Z),X<V&&(X=V);var ge;if(A.TYPED_ARRAY_SUPPORT)ge=this.subarray(V,X),ge.__proto__=A.prototype;else{var le=X-V;ge=new A(le,void 0);for(var Se=0;Se<le;++Se)ge[Se]=this[Se+V]}return ge};function K(ae,V,X){if(ae%1!==0||ae<0)throw new RangeError("offset is not uint");if(ae+V>X)throw new RangeError("Trying to access beyond buffer length")}A.prototype.readUIntLE=function(V,X,Z){V=V|0,X=X|0,Z||K(V,X,this.length);for(var ge=this[V],le=1,Se=0;++Se<X&&(le*=256);)ge+=this[V+Se]*le;return ge},A.prototype.readUIntBE=function(V,X,Z){V=V|0,X=X|0,Z||K(V,X,this.length);for(var ge=this[V+--X],le=1;X>0&&(le*=256);)ge+=this[V+--X]*le;return ge},A.prototype.readUInt8=function(V,X){return X||K(V,1,this.length),this[V]},A.prototype.readUInt16LE=function(V,X){return X||K(V,2,this.length),this[V]|this[V+1]<<8},A.prototype.readUInt16BE=function(V,X){return X||K(V,2,this.length),this[V]<<8|this[V+1]},A.prototype.readUInt32LE=function(V,X){return X||K(V,4,this.length),(this[V]|this[V+1]<<8|this[V+2]<<16)+this[V+3]*16777216},A.prototype.readUInt32BE=function(V,X){return X||K(V,4,this.length),this[V]*16777216+(this[V+1]<<16|this[V+2]<<8|this[V+3])},A.prototype.readIntLE=function(V,X,Z){V=V|0,X=X|0,Z||K(V,X,this.length);for(var ge=this[V],le=1,Se=0;++Se<X&&(le*=256);)ge+=this[V+Se]*le;return le*=128,ge>=le&&(ge-=Math.pow(2,8*X)),ge},A.prototype.readIntBE=function(V,X,Z){V=V|0,X=X|0,Z||K(V,X,this.length);for(var ge=X,le=1,Se=this[V+--ge];ge>0&&(le*=256);)Se+=this[V+--ge]*le;return le*=128,Se>=le&&(Se-=Math.pow(2,8*X)),Se},A.prototype.readInt8=function(V,X){return X||K(V,1,this.length),this[V]&128?(255-this[V]+1)*-1:this[V]},A.prototype.readInt16LE=function(V,X){X||K(V,2,this.length);var Z=this[V]|this[V+1]<<8;return Z&32768?Z|4294901760:Z},A.prototype.readInt16BE=function(V,X){X||K(V,2,this.length);var Z=this[V+1]|this[V]<<8;return Z&32768?Z|4294901760:Z},A.prototype.readInt32LE=function(V,X){return X||K(V,4,this.length),this[V]|this[V+1]<<8|this[V+2]<<16|this[V+3]<<24},A.prototype.readInt32BE=function(V,X){return X||K(V,4,this.length),this[V]<<24|this[V+1]<<16|this[V+2]<<8|this[V+3]},A.prototype.readFloatLE=function(V,X){return X||K(V,4,this.length),g.read(this,V,!0,23,4)},A.prototype.readFloatBE=function(V,X){return X||K(V,4,this.length),g.read(this,V,!1,23,4)},A.prototype.readDoubleLE=function(V,X){return X||K(V,8,this.length),g.read(this,V,!0,52,8)},A.prototype.readDoubleBE=function(V,X){return X||K(V,8,this.length),g.read(this,V,!1,52,8)};function U(ae,V,X,Z,ge,le){if(!A.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(V>ge||V<le)throw new RangeError('"value" argument is out of bounds');if(X+Z>ae.length)throw new RangeError("Index out of range")}A.prototype.writeUIntLE=function(V,X,Z,ge){if(V=+V,X=X|0,Z=Z|0,!ge){var le=Math.pow(2,8*Z)-1;U(this,V,X,Z,le,0)}var Se=1,me=0;for(this[X]=V&255;++me<Z&&(Se*=256);)this[X+me]=V/Se&255;return X+Z},A.prototype.writeUIntBE=function(V,X,Z,ge){if(V=+V,X=X|0,Z=Z|0,!ge){var le=Math.pow(2,8*Z)-1;U(this,V,X,Z,le,0)}var Se=Z-1,me=1;for(this[X+Se]=V&255;--Se>=0&&(me*=256);)this[X+Se]=V/me&255;return X+Z},A.prototype.writeUInt8=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,1,255,0),A.TYPED_ARRAY_SUPPORT||(V=Math.floor(V)),this[X]=V&255,X+1};function G(ae,V,X,Z){V<0&&(V=65535+V+1);for(var ge=0,le=Math.min(ae.length-X,2);ge<le;++ge)ae[X+ge]=(V&255<<8*(Z?ge:1-ge))>>>(Z?ge:1-ge)*8}A.prototype.writeUInt16LE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,2,65535,0),A.TYPED_ARRAY_SUPPORT?(this[X]=V&255,this[X+1]=V>>>8):G(this,V,X,!0),X+2},A.prototype.writeUInt16BE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,2,65535,0),A.TYPED_ARRAY_SUPPORT?(this[X]=V>>>8,this[X+1]=V&255):G(this,V,X,!1),X+2};function z(ae,V,X,Z){V<0&&(V=4294967295+V+1);for(var ge=0,le=Math.min(ae.length-X,4);ge<le;++ge)ae[X+ge]=V>>>(Z?ge:3-ge)*8&255}A.prototype.writeUInt32LE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,4,4294967295,0),A.TYPED_ARRAY_SUPPORT?(this[X+3]=V>>>24,this[X+2]=V>>>16,this[X+1]=V>>>8,this[X]=V&255):z(this,V,X,!0),X+4},A.prototype.writeUInt32BE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,4,4294967295,0),A.TYPED_ARRAY_SUPPORT?(this[X]=V>>>24,this[X+1]=V>>>16,this[X+2]=V>>>8,this[X+3]=V&255):z(this,V,X,!1),X+4},A.prototype.writeIntLE=function(V,X,Z,ge){if(V=+V,X=X|0,!ge){var le=Math.pow(2,8*Z-1);U(this,V,X,Z,le-1,-le)}var Se=0,me=1,$=0;for(this[X]=V&255;++Se<Z&&(me*=256);)V<0&&$===0&&this[X+Se-1]!==0&&($=1),this[X+Se]=(V/me>>0)-$&255;return X+Z},A.prototype.writeIntBE=function(V,X,Z,ge){if(V=+V,X=X|0,!ge){var le=Math.pow(2,8*Z-1);U(this,V,X,Z,le-1,-le)}var Se=Z-1,me=1,$=0;for(this[X+Se]=V&255;--Se>=0&&(me*=256);)V<0&&$===0&&this[X+Se+1]!==0&&($=1),this[X+Se]=(V/me>>0)-$&255;return X+Z},A.prototype.writeInt8=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,1,127,-128),A.TYPED_ARRAY_SUPPORT||(V=Math.floor(V)),V<0&&(V=255+V+1),this[X]=V&255,X+1},A.prototype.writeInt16LE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,2,32767,-32768),A.TYPED_ARRAY_SUPPORT?(this[X]=V&255,this[X+1]=V>>>8):G(this,V,X,!0),X+2},A.prototype.writeInt16BE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,2,32767,-32768),A.TYPED_ARRAY_SUPPORT?(this[X]=V>>>8,this[X+1]=V&255):G(this,V,X,!1),X+2},A.prototype.writeInt32LE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,4,2147483647,-2147483648),A.TYPED_ARRAY_SUPPORT?(this[X]=V&255,this[X+1]=V>>>8,this[X+2]=V>>>16,this[X+3]=V>>>24):z(this,V,X,!0),X+4},A.prototype.writeInt32BE=function(V,X,Z){return V=+V,X=X|0,Z||U(this,V,X,4,2147483647,-2147483648),V<0&&(V=4294967295+V+1),A.TYPED_ARRAY_SUPPORT?(this[X]=V>>>24,this[X+1]=V>>>16,this[X+2]=V>>>8,this[X+3]=V&255):z(this,V,X,!1),X+4};function Y(ae,V,X,Z,ge,le){if(X+Z>ae.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("Index out of range")}function q(ae,V,X,Z,ge){return ge||Y(ae,V,X,4,34028234663852886e22,-34028234663852886e22),g.write(ae,V,X,Z,23,4),X+4}A.prototype.writeFloatLE=function(V,X,Z){return q(this,V,X,!0,Z)},A.prototype.writeFloatBE=function(V,X,Z){return q(this,V,X,!1,Z)};function oe(ae,V,X,Z,ge){return ge||Y(ae,V,X,8,17976931348623157e292,-17976931348623157e292),g.write(ae,V,X,Z,52,8),X+8}A.prototype.writeDoubleLE=function(V,X,Z){return oe(this,V,X,!0,Z)},A.prototype.writeDoubleBE=function(V,X,Z){return oe(this,V,X,!1,Z)},A.prototype.copy=function(V,X,Z,ge){if(Z||(Z=0),!ge&&ge!==0&&(ge=this.length),X>=V.length&&(X=V.length),X||(X=0),ge>0&&ge<Z&&(ge=Z),ge===Z)return 0;if(V.length===0||this.length===0)return 0;if(X<0)throw new RangeError("targetStart out of bounds");if(Z<0||Z>=this.length)throw new RangeError("sourceStart out of bounds");if(ge<0)throw new RangeError("sourceEnd out of bounds");ge>this.length&&(ge=this.length),V.length-X<ge-Z&&(ge=V.length-X+Z);var le=ge-Z,Se;if(this===V&&Z<X&&X<ge)for(Se=le-1;Se>=0;--Se)V[Se+X]=this[Se+Z];else if(le<1e3||!A.TYPED_ARRAY_SUPPORT)for(Se=0;Se<le;++Se)V[Se+X]=this[Se+Z];else Uint8Array.prototype.set.call(V,this.subarray(Z,Z+le),X);return le},A.prototype.fill=function(V,X,Z,ge){if(typeof V=="string"){if(typeof X=="string"?(ge=X,X=0,Z=this.length):typeof Z=="string"&&(ge=Z,Z=this.length),V.length===1){var le=V.charCodeAt(0);le<256&&(V=le)}if(ge!==void 0&&typeof ge!="string")throw new TypeError("encoding must be a string");if(typeof ge=="string"&&!A.isEncoding(ge))throw new TypeError("Unknown encoding: "+ge)}else typeof V=="number"&&(V=V&255);if(X<0||this.length<X||this.length<Z)throw new RangeError("Out of range index");if(Z<=X)return this;X=X>>>0,Z=Z===void 0?this.length:Z>>>0,V||(V=0);var Se;if(typeof V=="number")for(Se=X;Se<Z;++Se)this[Se]=V;else{var me=A.isBuffer(V)?V:_e(new A(V,ge).toString()),$=me.length;for(Se=0;Se<Z-X;++Se)this[Se+X]=me[Se%$]}return this};var ie=/[^+\/0-9A-Za-z-_]/g;function se(ae){if(ae=he(ae).replace(ie,""),ae.length<2)return"";for(;ae.length%4!==0;)ae=ae+"=";return ae}function he(ae){return ae.trim?ae.trim():ae.replace(/^\s+|\s+$/g,"")}function pe(ae){return ae<16?"0"+ae.toString(16):ae.toString(16)}function _e(ae,V){V=V||Infinity;for(var X,Z=ae.length,ge=null,le=[],Se=0;Se<Z;++Se){if(X=ae.charCodeAt(Se),X>55295&&X<57344){if(!ge){if(X>56319){(V-=3)>-1&&le.push(239,191,189);continue}else if(Se+1===Z){(V-=3)>-1&&le.push(239,191,189);continue}ge=X;continue}if(X<56320){(V-=3)>-1&&le.push(239,191,189),ge=X;continue}X=(ge-55296<<10|X-56320)+65536}else ge&&((V-=3)>-1&&le.push(239,191,189));if(ge=null,X<128){if((V-=1)<0)break;le.push(X)}else if(X<2048){if((V-=2)<0)break;le.push(X>>6|192,X&63|128)}else if(X<65536){if((V-=3)<0)break;le.push(X>>12|224,X>>6&63|128,X&63|128)}else if(X<1114112){if((V-=4)<0)break;le.push(X>>18|240,X>>12&63|128,X>>6&63|128,X&63|128)}else throw new Error("Invalid code point")}return le}function De(ae){for(var V=[],X=0;X<ae.length;++X)V.push(ae.charCodeAt(X)&255);return V}function Xe(ae,V){for(var X,Z,ge,le=[],Se=0;Se<ae.length&&!((V-=2)<0);++Se)X=ae.charCodeAt(Se),Z=X>>8,ge=X%256,le.push(ge),le.push(Z);return le}function J(ae){return b.toByteArray(se(ae))}function Ee(ae,V,X,Z){for(var ge=0;ge<Z&&!(ge+X>=V.length||ge>=ae.length);++ge)V[ge+X]=ae[ge];return ge}function qe(ae){return ae!==ae}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},k("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(k,B,d){B.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(k,B,d){B.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(k,B,d){/*!
* copy-to - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var w=Array.prototype.slice;B.exports=A;function A(g,v){if(!(this instanceof A))return new A(g,v);this.src=g,this._withAccess=v}A.prototype.withAccess=function(g){return this._withAccess=g!==!1,this},A.prototype.pick=function(g){return Array.isArray(g)||(g=w.call(arguments)),g.length&&(this.keys=g),this},A.prototype.to=function(g){if(g=g||{},!this.src)return g;var v=this.keys||Object.keys(this.src);if(!this._withAccess){for(var f=0;f<v.length;f++){if(l=v[f],g[l]!==void 0)continue;g[l]=this.src[l]}return g}for(var f=0;f<v.length;f++){var l=v[f];if(!b(g,l))continue;var u=this.src.__lookupGetter__(l),o=this.src.__lookupSetter__(l);u&&g.__defineGetter__(l,u),o&&g.__defineSetter__(l,o),!u&&!o&&(g[l]=this.src[l])}return g},A.prototype.toCover=function(g){for(var v=this.keys||Object.keys(this.src),f=0;f<v.length;f++){var l=v[f];delete g[l];var u=this.src.__lookupGetter__(l),o=this.src.__lookupSetter__(l);u&&g.__defineGetter__(l,u),o&&g.__defineSetter__(l,o),!u&&!o&&(g[l]=this.src[l])}},A.prototype.override=A.prototype.toCover,A.prototype.and=function(g){var v={};return this.to(v),this.src=g,this.to(v),this.src=v,this};function b(g,v){return g[v]===void 0&&g.__lookupGetter__(v)===void 0&&g.__lookupSetter__(v)===void 0}},{}],77:[function(k,B,d){k("../../modules/es6.string.iterator"),k("../../modules/es6.array.from"),B.exports=k("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(k,B,d){var w=k("../../modules/_core"),A=w.JSON||(w.JSON={stringify:JSON.stringify});B.exports=function(g){return A.stringify.apply(A,arguments)}},{"../../modules/_core":99}],79:[function(k,B,d){k("../../modules/es6.object.assign"),B.exports=k("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(k,B,d){k("../../modules/es6.object.create");var w=k("../../modules/_core").Object;B.exports=function(b,g){return w.create(b,g)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(k,B,d){k("../../modules/es6.object.define-property");var w=k("../../modules/_core").Object;B.exports=function(b,g,v){return w.defineProperty(b,g,v)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(k,B,d){k("../../modules/es7.object.entries"),B.exports=k("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(k,B,d){k("../../modules/es6.object.get-own-property-names");var w=k("../../modules/_core").Object;B.exports=function(b){return w.getOwnPropertyNames(b)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(k,B,d){k("../../modules/es6.object.get-prototype-of"),B.exports=k("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(k,B,d){k("../../modules/es6.object.keys"),B.exports=k("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(k,B,d){k("../modules/es6.object.to-string"),k("../modules/es6.string.iterator"),k("../modules/web.dom.iterable"),k("../modules/es6.promise"),k("../modules/es7.promise.finally"),k("../modules/es7.promise.try"),B.exports=k("../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(k,B,d){k("../modules/web.immediate"),B.exports=k("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(k,B,d){k("../../modules/es6.string.from-code-point"),B.exports=k("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(k,B,d){k("../../modules/es6.function.has-instance"),B.exports=k("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(k,B,d){k("../../modules/es6.symbol"),k("../../modules/es6.object.to-string"),k("../../modules/es7.symbol.async-iterator"),k("../../modules/es7.symbol.observable"),B.exports=k("../../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(k,B,d){k("../../modules/es6.string.iterator"),k("../../modules/web.dom.iterable"),B.exports=k("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(k,B,d){B.exports=function(w){if(typeof w!="function")throw TypeError(w+" is not a function!");return w}},{}],93:[function(k,B,d){B.exports=function(){}},{}],94:[function(k,B,d){B.exports=function(w,A,b,g){if(!(w instanceof A)||g!==void 0&&g in w)throw TypeError(b+": incorrect invocation!");return w}},{}],95:[function(k,B,d){var w=k("./_is-object");B.exports=function(A){if(!w(A))throw TypeError(A+" is not an object!");return A}},{"./_is-object":119}],96:[function(k,B,d){var w=k("./_to-iobject"),A=k("./_to-length"),b=k("./_to-absolute-index");B.exports=function(g){return function(v,f,l){var u=w(v),o=A(u.length),e=b(l,o),n;if(g&&f!=f){for(;o>e;)if(n=u[e++],n!=n)return!0}else for(;o>e;e++)if((g||e in u)&&u[e]===f)return g||e||0;return!g&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(k,B,d){var w=k("./_cof"),A=k("./_wks")("toStringTag"),b=w(function(){return arguments}())=="Arguments",g=function(f,l){try{return f[l]}catch(u){}};B.exports=function(v){var f,l,u;return v===void 0?"Undefined":v===null?"Null":typeof(l=g(f=Object(v),A))=="string"?l:b?w(f):(u=w(f))=="Object"&&typeof f.callee=="function"?"Arguments":u}},{"./_cof":98,"./_wks":166}],98:[function(k,B,d){var w={}.toString;B.exports=function(A){return w.call(A).slice(8,-1)}},{}],99:[function(k,B,d){var w=B.exports={version:"2.6.11"};typeof __e=="number"&&(__e=w)},{}],100:[function(k,B,d){"use strict";var w=k("./_object-dp"),A=k("./_property-desc");B.exports=function(b,g,v){g in b?w.f(b,g,A(0,v)):b[g]=v}},{"./_object-dp":132,"./_property-desc":146}],101:[function(k,B,d){var w=k("./_a-function");B.exports=function(A,b,g){if(w(A),b===void 0)return A;switch(g){case 1:return function(v){return A.call(b,v)};case 2:return function(v,f){return A.call(b,v,f)};case 3:return function(v,f,l){return A.call(b,v,f,l)}}return function(){return A.apply(b,arguments)}}},{"./_a-function":92}],102:[function(k,B,d){B.exports=function(w){if(w==null)throw TypeError("Can't call method on "+w);return w}},{}],103:[function(k,B,d){B.exports=!k("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(k,B,d){var w=k("./_is-object"),A=k("./_global").document,b=w(A)&&w(A.createElement);B.exports=function(g){return b?A.createElement(g):{}}},{"./_global":110,"./_is-object":119}],105:[function(k,B,d){B.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(k,B,d){var w=k("./_object-keys"),A=k("./_object-gops"),b=k("./_object-pie");B.exports=function(g){var v=w(g),f=A.f;if(f)for(var l=f(g),u=b.f,o=0,e;l.length>o;)u.call(g,e=l[o++])&&v.push(e);return v}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(k,B,d){var w=k("./_global"),A=k("./_core"),b=k("./_ctx"),g=k("./_hide"),v=k("./_has"),f="prototype",l=function u(o,e,n){var i=o&u.F,r=o&u.G,s=o&u.S,t=o&u.P,a=o&u.B,c=o&u.W,h=r?A:A[e]||(A[e]={}),p=h[f],m=r?w:s?w[e]:(w[e]||{})[f],S,y,x;r&&(n=e);for(S in n){if(y=!i&&m&&m[S]!==void 0,y&&v(h,S))continue;x=y?m[S]:n[S],h[S]=r&&typeof m[S]!="function"?n[S]:a&&y?b(x,w):c&&m[S]==x?function(C){var T=function(E,I,L){if(this instanceof C){switch(arguments.length){case 0:return new C;case 1:return new C(E);case 2:return new C(E,I)}return new C(E,I,L)}return C.apply(this,arguments)};return T[f]=C[f],T}(x):t&&typeof x=="function"?b(Function.call,x):x,t&&((h.virtual||(h.virtual={}))[S]=x,o&u.R&&p&&!p[S]&&g(p,S,x))}};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,B.exports=l},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(k,B,d){B.exports=function(w){try{return!!w()}catch(A){return!0}}},{}],109:[function(k,B,d){var w=k("./_ctx"),A=k("./_iter-call"),b=k("./_is-array-iter"),g=k("./_an-object"),v=k("./_to-length"),f=k("./core.get-iterator-method"),l={},u={},d=B.exports=function(o,e,n,i,r){var s=r?function(){return o}:f(o),t=w(n,i,e?2:1),a=0,c,h,p,m;if(typeof s!="function")throw TypeError(o+" is not iterable!");if(b(s)){for(c=v(o.length);c>a;a++)if(m=e?t(g(h=o[a])[0],h[1]):t(o[a]),m===l||m===u)return m}else for(p=s.call(o);!(h=p.next()).done;)if(m=A(p,t,h.value,e),m===l||m===u)return m};d.BREAK=l,d.RETURN=u},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(k,B,d){var w=B.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=w)},{}],111:[function(k,B,d){var w={}.hasOwnProperty;B.exports=function(A,b){return w.call(A,b)}},{}],112:[function(k,B,d){var w=k("./_object-dp"),A=k("./_property-desc");B.exports=k("./_descriptors")?function(b,g,v){return w.f(b,g,A(1,v))}:function(b,g,v){return b[g]=v,b}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(k,B,d){var w=k("./_global").document;B.exports=w&&w.documentElement},{"./_global":110}],114:[function(k,B,d){B.exports=!k("./_descriptors")&&!k("./_fails")(function(){return Object.defineProperty(k("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(k,B,d){B.exports=function(w,A,b){var g=b===void 0;switch(A.length){case 0:return g?w():w.call(b);case 1:return g?w(A[0]):w.call(b,A[0]);case 2:return g?w(A[0],A[1]):w.call(b,A[0],A[1]);case 3:return g?w(A[0],A[1],A[2]):w.call(b,A[0],A[1],A[2]);case 4:return g?w(A[0],A[1],A[2],A[3]):w.call(b,A[0],A[1],A[2],A[3])}return w.apply(b,A)}},{}],116:[function(k,B,d){var w=k("./_cof");B.exports=Object("z").propertyIsEnumerable(0)?Object:function(A){return w(A)=="String"?A.split(""):Object(A)}},{"./_cof":98}],117:[function(k,B,d){var w=k("./_iterators"),A=k("./_wks")("iterator"),b=Array.prototype;B.exports=function(g){return g!==void 0&&(w.Array===g||b[A]===g)}},{"./_iterators":125,"./_wks":166}],118:[function(k,B,d){var w=k("./_cof");B.exports=Array.isArray||function(b){return w(b)=="Array"}},{"./_cof":98}],119:[function(k,B,d){B.exports=function(w){return typeof w=="object"?w!==null:typeof w=="function"}},{}],120:[function(k,B,d){var w=k("./_an-object");B.exports=function(A,b,g,v){try{return v?b(w(g)[0],g[1]):b(g)}catch(l){var f=A.return;throw f!==void 0&&w(f.call(A)),l}}},{"./_an-object":95}],121:[function(k,B,d){"use strict";var w=k("./_object-create"),A=k("./_property-desc"),b=k("./_set-to-string-tag"),g={};k("./_hide")(g,k("./_wks")("iterator"),function(){return this}),B.exports=function(v,f,l){v.prototype=w(g,{next:A(1,l)}),b(v,f+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(k,B,d){"use strict";var w=k("./_library"),A=k("./_export"),b=k("./_redefine"),g=k("./_hide"),v=k("./_iterators"),f=k("./_iter-create"),l=k("./_set-to-string-tag"),u=k("./_object-gpo"),o=k("./_wks")("iterator"),e=!([].keys&&"next"in[].keys()),n="@@iterator",i="keys",r="values",s=function(){return this};B.exports=function(t,a,c,h,p,m,S){f(c,a,h);var y=function(R){if(!e&&R in _)return _[R];switch(R){case i:return function(){return new c(this,R)};case r:return function(){return new c(this,R)}}return function(){return new c(this,R)}},x=a+" Iterator",C=p==r,T=!1,_=t.prototype,E=_[o]||_[n]||p&&_[p],I=E||y(p),L=p?C?y("entries"):I:void 0,D=a=="Array"&&_.entries||E,F,N,P;if(D&&(P=u(D.call(new t)),P!==Object.prototype&&P.next&&(l(P,x,!0),!w&&typeof P[o]!="function"&&g(P,o,s))),C&&E&&E.name!==r&&(T=!0,I=function(){return E.call(this)}),(!w||S)&&(e||T||!_[o])&&g(_,o,I),v[a]=I,v[x]=s,p)if(F={values:C?I:y(r),keys:m?I:y(i),entries:L},S)for(N in F)N in _||b(_,N,F[N]);else A(A.P+A.F*(e||T),a,F);return F}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(k,B,d){var w=k("./_wks")("iterator"),A=!1;try{var b=[7][w]();b.return=function(){A=!0},Array.from(b,function(){throw 2})}catch(g){}B.exports=function(g,v){if(!v&&!A)return!1;var f=!1;try{var l=[7],u=l[w]();u.next=function(){return{done:f=!0}},l[w]=function(){return u},g(l)}catch(o){}return f}},{"./_wks":166}],124:[function(k,B,d){B.exports=function(w,A){return{value:A,done:!!w}}},{}],125:[function(k,B,d){B.exports={}},{}],126:[function(k,B,d){B.exports=!0},{}],127:[function(k,B,d){var w=k("./_uid")("meta"),A=k("./_is-object"),b=k("./_has"),g=k("./_object-dp").f,v=0,f=Object.isExtensible||function(){return!0},l=!k("./_fails")(function(){return f(Object.preventExtensions({}))}),u=function(s){g(s,w,{value:{i:"O"+ ++v,w:{}}})},o=function(s,t){if(!A(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!b(s,w)){if(!f(s))return"F";if(!t)return"E";u(s)}return s[w].i},e=function(s,t){if(!b(s,w)){if(!f(s))return!0;if(!t)return!1;u(s)}return s[w].w},n=function(s){return l&&i.NEED&&f(s)&&!b(s,w)&&u(s),s},i=B.exports={KEY:w,NEED:!1,fastKey:o,getWeak:e,onFreeze:n}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(k,B,d){var w=k("./_global"),A=k("./_task").set,b=w.MutationObserver||w.WebKitMutationObserver,g=w.process,v=w.Promise,f=k("./_cof")(g)=="process";B.exports=function(){var l,u,o,e=function(){var t,a;for(f&&(t=g.domain)&&t.exit();l;){a=l.fn,l=l.next;try{a()}catch(c){throw l?o():u=void 0,c}}u=void 0,t&&t.enter()};if(f)o=function(){g.nextTick(e)};else if(b&&!(w.navigator&&w.navigator.standalone)){var n=!0,i=document.createTextNode("");new b(e).observe(i,{characterData:!0}),o=function(){i.data=n=!n}}else if(v&&v.resolve){var r=v.resolve(void 0);o=function(){r.then(e)}}else o=function(){A.call(w,e)};return function(s){var t={fn:s,next:void 0};u&&(u.next=t),l||(l=t,o()),u=t}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(k,B,d){"use strict";var w=k("./_a-function");function A(b){var g,v;this.promise=new b(function(f,l){if(g!==void 0||v!==void 0)throw TypeError("Bad Promise constructor");g=f,v=l}),this.resolve=w(g),this.reject=w(v)}B.exports.f=function(b){return new A(b)}},{"./_a-function":92}],130:[function(k,B,d){"use strict";var w=k("./_descriptors"),A=k("./_object-keys"),b=k("./_object-gops"),g=k("./_object-pie"),v=k("./_to-object"),f=k("./_iobject"),l=Object.assign;B.exports=!l||k("./_fails")(function(){var u={},o={},e=Symbol(),n="abcdefghijklmnopqrst";return u[e]=7,n.split("").forEach(function(i){o[i]=i}),l({},u)[e]!=7||Object.keys(l({},o)).join("")!=n})?function(o,e){for(var n=v(o),i=arguments.length,r=1,s=b.f,t=g.f;i>r;)for(var a=f(arguments[r++]),c=s?A(a).concat(s(a)):A(a),h=c.length,p=0,m;h>p;)m=c[p++],(!w||t.call(a,m))&&(n[m]=a[m]);return n}:l},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(k,B,d){var w=k("./_an-object"),A=k("./_object-dps"),b=k("./_enum-bug-keys"),g=k("./_shared-key")("IE_PROTO"),v=function(){},f="prototype",l=function(){var o=k("./_dom-create")("iframe"),e=b.length,n="<",i=">",r;for(o.style.display="none",k("./_html").appendChild(o),o.src="javascript:",r=o.contentWindow.document,r.open(),r.write(n+"script"+i+"document.F=Object"+n+"/script"+i),r.close(),l=r.F;e--;)delete l[f][b[e]];return l()};B.exports=Object.create||function(o,e){var n;return o!==null?(v[f]=w(o),n=new v,v[f]=null,n[g]=o):n=l(),e===void 0?n:A(n,e)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(k,B,d){var w=k("./_an-object"),A=k("./_ie8-dom-define"),b=k("./_to-primitive"),g=Object.defineProperty;d.f=k("./_descriptors")?Object.defineProperty:function(f,l,u){if(w(f),l=b(l,!0),w(u),A)try{return g(f,l,u)}catch(o){}if("get"in u||"set"in u)throw TypeError("Accessors not supported!");return"value"in u&&(f[l]=u.value),f}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(k,B,d){var w=k("./_object-dp"),A=k("./_an-object"),b=k("./_object-keys");B.exports=k("./_descriptors")?Object.defineProperties:function(v,f){A(v);for(var l=b(f),u=l.length,o=0,e;u>o;)w.f(v,e=l[o++],f[e]);return v}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(k,B,d){var w=k("./_object-pie"),A=k("./_property-desc"),b=k("./_to-iobject"),g=k("./_to-primitive"),v=k("./_has"),f=k("./_ie8-dom-define"),l=Object.getOwnPropertyDescriptor;d.f=k("./_descriptors")?l:function(o,e){if(o=b(o),e=g(e,!0),f)try{return l(o,e)}catch(n){}if(v(o,e))return A(!w.f.call(o,e),o[e])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(k,B,d){var w=k("./_to-iobject"),A=k("./_object-gopn").f,b={}.toString,g=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(l){try{return A(l)}catch(u){return g.slice()}};B.exports.f=function(l){return g&&b.call(l)=="[object Window]"?v(l):A(w(l))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(k,B,d){var w=k("./_object-keys-internal"),A=k("./_enum-bug-keys").concat("length","prototype");d.f=Object.getOwnPropertyNames||function(g){return w(g,A)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(k,B,d){d.f=Object.getOwnPropertySymbols},{}],138:[function(k,B,d){var w=k("./_has"),A=k("./_to-object"),b=k("./_shared-key")("IE_PROTO"),g=Object.prototype;B.exports=Object.getPrototypeOf||function(v){return v=A(v),w(v,b)?v[b]:typeof v.constructor=="function"&&v instanceof v.constructor?v.constructor.prototype:v instanceof Object?g:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(k,B,d){var w=k("./_has"),A=k("./_to-iobject"),b=k("./_array-includes")(!1),g=k("./_shared-key")("IE_PROTO");B.exports=function(v,f){var l=A(v),u=0,o=[],e;for(e in l)e!=g&&(w(l,e)&&o.push(e));for(;f.length>u;)w(l,e=f[u++])&&(~b(o,e)||o.push(e));return o}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(k,B,d){var w=k("./_object-keys-internal"),A=k("./_enum-bug-keys");B.exports=Object.keys||function(g){return w(g,A)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(k,B,d){d.f={}.propertyIsEnumerable},{}],142:[function(k,B,d){var w=k("./_export"),A=k("./_core"),b=k("./_fails");B.exports=function(g,v){var f=(A.Object||{})[g]||Object[g],l={};l[g]=v(f),w(w.S+w.F*b(function(){f(1)}),"Object",l)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(k,B,d){var w=k("./_descriptors"),A=k("./_object-keys"),b=k("./_to-iobject"),g=k("./_object-pie").f;B.exports=function(v){return function(f){for(var l=b(f),u=A(l),o=u.length,e=0,n=[],i;o>e;)i=u[e++],(!w||g.call(l,i))&&n.push(v?[i,l[i]]:l[i]);return n}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(k,B,d){B.exports=function(w){try{return{e:!1,v:w()}}catch(A){return{e:!0,v:A}}}},{}],145:[function(k,B,d){var w=k("./_an-object"),A=k("./_is-object"),b=k("./_new-promise-capability");B.exports=function(g,v){if(w(g),A(v)&&v.constructor===g)return v;var f=b.f(g),l=f.resolve;return l(v),f.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(k,B,d){B.exports=function(w,A){return{enumerable:!(w&1),configurable:!(w&2),writable:!(w&4),value:A}}},{}],147:[function(k,B,d){var w=k("./_hide");B.exports=function(A,b,g){for(var v in b)g&&A[v]?A[v]=b[v]:w(A,v,b[v]);return A}},{"./_hide":112}],148:[function(k,B,d){B.exports=k("./_hide")},{"./_hide":112}],149:[function(k,B,d){"use strict";var w=k("./_global"),A=k("./_core"),b=k("./_object-dp"),g=k("./_descriptors"),v=k("./_wks")("species");B.exports=function(f){var l=typeof A[f]=="function"?A[f]:w[f];g&&l&&!l[v]&&b.f(l,v,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(k,B,d){var w=k("./_object-dp").f,A=k("./_has"),b=k("./_wks")("toStringTag");B.exports=function(g,v,f){g&&!A(g=f?g:g.prototype,b)&&w(g,b,{configurable:!0,value:v})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(k,B,d){var w=k("./_shared")("keys"),A=k("./_uid");B.exports=function(b){return w[b]||(w[b]=A(b))}},{"./_shared":152,"./_uid":162}],152:[function(k,B,d){var w=k("./_core"),A=k("./_global"),b="__core-js_shared__",g=A[b]||(A[b]={});(B.exports=function(v,f){return g[v]||(g[v]=f!==void 0?f:{})})("versions",[]).push({version:w.version,mode:k("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(k,B,d){var w=k("./_an-object"),A=k("./_a-function"),b=k("./_wks")("species");B.exports=function(g,v){var f=w(g).constructor,l;return f===void 0||(l=w(f)[b])==null?v:A(l)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(k,B,d){var w=k("./_to-integer"),A=k("./_defined");B.exports=function(b){return function(g,v){var f=String(A(g)),l=w(v),u=f.length,o,e;return l<0||l>=u?b?"":void 0:(o=f.charCodeAt(l),o<55296||o>56319||l+1===u||(e=f.charCodeAt(l+1))<56320||e>57343?b?f.charAt(l):o:b?f.slice(l,l+2):(o-55296<<10)+(e-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(k,B,d){var w=k("./_ctx"),A=k("./_invoke"),b=k("./_html"),g=k("./_dom-create"),v=k("./_global"),f=v.process,l=v.setImmediate,u=v.clearImmediate,o=v.MessageChannel,e=v.Dispatch,n=0,i={},r="onreadystatechange",s,t,a,c=function(){var m=+this;if(i.hasOwnProperty(m)){var S=i[m];delete i[m],S()}},h=function(m){c.call(m.data)};(!l||!u)&&(l=function(m){for(var S=[],y=1;arguments.length>y;)S.push(arguments[y++]);return i[++n]=function(){A(typeof m=="function"?m:Function(m),S)},s(n),n},u=function(m){delete i[m]},k("./_cof")(f)=="process"?s=function(m){f.nextTick(w(c,m,1))}:e&&e.now?s=function(m){e.now(w(c,m,1))}:o?(t=new o,a=t.port2,t.port1.onmessage=h,s=w(a.postMessage,a,1)):v.addEventListener&&typeof postMessage=="function"&&!v.importScripts?(s=function(m){v.postMessage(m+"","*")},v.addEventListener("message",h,!1)):r in g("script")?s=function(m){b.appendChild(g("script"))[r]=function(){b.removeChild(this),c.call(m)}}:s=function(m){setTimeout(w(c,m,1),0)}),B.exports={set:l,clear:u}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(k,B,d){var w=k("./_to-integer"),A=Math.max,b=Math.min;B.exports=function(g,v){return g=w(g),g<0?A(g+v,0):b(g,v)}},{"./_to-integer":157}],157:[function(k,B,d){var w=Math.ceil,A=Math.floor;B.exports=function(b){return isNaN(b=+b)?0:(b>0?A:w)(b)}},{}],158:[function(k,B,d){var w=k("./_iobject"),A=k("./_defined");B.exports=function(b){return w(A(b))}},{"./_defined":102,"./_iobject":116}],159:[function(k,B,d){var w=k("./_to-integer"),A=Math.min;B.exports=function(b){return b>0?A(w(b),9007199254740991):0}},{"./_to-integer":157}],160:[function(k,B,d){var w=k("./_defined");B.exports=function(A){return Object(w(A))}},{"./_defined":102}],161:[function(k,B,d){var w=k("./_is-object");B.exports=function(A,b){if(!w(A))return A;var g,v;if(b&&typeof(g=A.toString)=="function"&&!w(v=g.call(A)))return v;if(typeof(g=A.valueOf)=="function"&&!w(v=g.call(A)))return v;if(!b&&typeof(g=A.toString)=="function"&&!w(v=g.call(A)))return v;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(k,B,d){var w=0,A=Math.random();B.exports=function(b){return"Symbol(".concat(b===void 0?"":b,")_",(++w+A).toString(36))}},{}],163:[function(k,B,d){var w=k("./_global"),A=w.navigator;B.exports=A&&A.userAgent||""},{"./_global":110}],164:[function(k,B,d){var w=k("./_global"),A=k("./_core"),b=k("./_library"),g=k("./_wks-ext"),v=k("./_object-dp").f;B.exports=function(f){var l=A.Symbol||(A.Symbol=b?{}:w.Symbol||{});f.charAt(0)!="_"&&!(f in l)&&v(l,f,{value:g.f(f)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(k,B,d){d.f=k("./_wks")},{"./_wks":166}],166:[function(k,B,d){var w=k("./_shared")("wks"),A=k("./_uid"),b=k("./_global").Symbol,g=typeof b=="function",v=B.exports=function(f){return w[f]||(w[f]=g&&b[f]||(g?b:A)("Symbol."+f))};v.store=w},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(k,B,d){var w=k("./_classof"),A=k("./_wks")("iterator"),b=k("./_iterators");B.exports=k("./_core").getIteratorMethod=function(g){if(g!=null)return g[A]||g["@@iterator"]||b[w(g)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(k,B,d){"use strict";var w=k("./_ctx"),A=k("./_export"),b=k("./_to-object"),g=k("./_iter-call"),v=k("./_is-array-iter"),f=k("./_to-length"),l=k("./_create-property"),u=k("./core.get-iterator-method");A(A.S+A.F*!k("./_iter-detect")(function(o){Array.from(o)}),"Array",{from:function(e){var n=b(e),i=typeof this=="function"?this:Array,r=arguments.length,s=r>1?arguments[1]:void 0,t=s!==void 0,a=0,c=u(n),h,p,m,S;if(t&&(s=w(s,r>2?arguments[2]:void 0,2)),c!=null&&!(i==Array&&v(c)))for(S=c.call(n),p=new i;!(m=S.next()).done;a++)l(p,a,t?g(S,s,[m.value,a],!0):m.value);else for(h=f(n.length),p=new i(h);h>a;a++)l(p,a,t?s(n[a],a):n[a]);return p.length=a,p}})},{"./_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(k,B,d){"use strict";var w=k("./_add-to-unscopables"),A=k("./_iter-step"),b=k("./_iterators"),g=k("./_to-iobject");B.exports=k("./_iter-define")(Array,"Array",function(v,f){this._t=g(v),this._i=0,this._k=f},function(){var v=this._t,f=this._k,l=this._i++;return!v||l>=v.length?(this._t=void 0,A(1)):f=="keys"?A(0,l):f=="values"?A(0,v[l]):A(0,[l,v[l]])},"values"),b.Arguments=b.Array,w("keys"),w("values"),w("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(k,B,d){"use strict";var w=k("./_is-object"),A=k("./_object-gpo"),b=k("./_wks")("hasInstance"),g=Function.prototype;b in g||k("./_object-dp").f(g,b,{value:function(f){if(typeof this!="function"||!w(f))return!1;if(!w(this.prototype))return f instanceof this;for(;f=A(f);)if(this.prototype===f)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(k,B,d){var w=k("./_export");w(w.S+w.F,"Object",{assign:k("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(k,B,d){var w=k("./_export");w(w.S,"Object",{create:k("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(k,B,d){var w=k("./_export");w(w.S+w.F*!k("./_descriptors"),"Object",{defineProperty:k("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(k,B,d){k("./_object-sap")("getOwnPropertyNames",function(){return k("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(k,B,d){var w=k("./_to-object"),A=k("./_object-gpo");k("./_object-sap")("getPrototypeOf",function(){return function(g){return A(w(g))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(k,B,d){var w=k("./_to-object"),A=k("./_object-keys");k("./_object-sap")("keys",function(){return function(g){return A(w(g))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(k,B,d){arguments[4][71][0].apply(d,arguments)},{dup:71}],178:[function(k,B,d){"use strict";var w=k("./_library"),A=k("./_global"),b=k("./_ctx"),g=k("./_classof"),v=k("./_export"),f=k("./_is-object"),l=k("./_a-function"),u=k("./_an-instance"),o=k("./_for-of"),e=k("./_species-constructor"),n=k("./_task").set,i=k("./_microtask")(),r=k("./_new-promise-capability"),s=k("./_perform"),t=k("./_user-agent"),a=k("./_promise-resolve"),c="Promise",h=A.TypeError,p=A.process,m=p&&p.versions,S=m&&m.v8||"",y=A[c],x=g(p)=="process",C=function(){},T,_,E,I,L=_=r.f,D=!!function(){try{var K=y.resolve(1),U=(K.constructor={})[k("./_wks")("species")]=function(G){G(C,C)};return(x||typeof PromiseRejectionEvent=="function")&&K.then(C)instanceof U&&S.indexOf("6.6")!==0&&t.indexOf("Chrome/66")===-1}catch(G){}}(),F=function(U){var G;return f(U)&&typeof(G=U.then)=="function"?G:!1},N=function(U,G){if(U._n)return;U._n=!0;var z=U._c;i(function(){for(var Y=U._v,q=U._s==1,oe=0,ie=function(he){var pe=q?he.ok:he.fail,_e=he.resolve,De=he.reject,Xe=he.domain,J,Ee,qe;try{pe?(q||(U._h==2&&R(U),U._h=1),pe===!0?J=Y:(Xe&&Xe.enter(),J=pe(Y),Xe&&(Xe.exit(),qe=!0)),J===he.promise?De(h("Promise-chain cycle")):(Ee=F(J))?Ee.call(J,_e,De):_e(J)):De(Y)}catch(ae){Xe&&!qe&&Xe.exit(),De(ae)}};z.length>oe;)ie(z[oe++]);U._c=[],U._n=!1,G&&!U._h&&P(U)})},P=function(U){n.call(A,function(){var G=U._v,z=W(U),Y,q,oe;if(z&&(Y=s(function(){x?p.emit("unhandledRejection",G,U):(q=A.onunhandledrejection)?q({promise:U,reason:G}):(oe=A.console)&&oe.error&&oe.error("Unhandled promise rejection",G)}),U._h=x||W(U)?2:1),U._a=void 0,z&&Y.e)throw Y.v})},W=function(U){return U._h!==1&&(U._a||U._c).length===0},R=function(U){n.call(A,function(){var G;x?p.emit("rejectionHandled",U):(G=A.onrejectionhandled)&&G({promise:U,reason:U._v})})},j=function(U){var G=this;if(G._d)return;G._d=!0,G=G._w||G,G._v=U,G._s=2,G._a||(G._a=G._c.slice()),N(G,!0)},H=function K(U){var G=this,z;if(G._d)return;G._d=!0,G=G._w||G;try{if(G===U)throw h("Promise can't be resolved itself");(z=F(U))?i(function(){var Y={_w:G,_d:!1};try{z.call(U,b(K,Y,1),b(j,Y,1))}catch(q){j.call(Y,q)}}):(G._v=U,G._s=1,N(G,!1))}catch(Y){j.call({_w:G,_d:!1},Y)}};D||(y=function(U){u(this,y,c,"_h"),l(U),T.call(this);try{U(b(H,this,1),b(j,this,1))}catch(G){j.call(this,G)}},T=function(U){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},T.prototype=k("./_redefine-all")(y.prototype,{then:function(U,G){var z=L(e(this,y));return z.ok=typeof U=="function"?U:!0,z.fail=typeof G=="function"&&G,z.domain=x?p.domain:void 0,this._c.push(z),this._a&&this._a.push(z),this._s&&N(this,!1),z.promise},catch:function(U){return this.then(void 0,U)}}),E=function(){var U=new T;this.promise=U,this.resolve=b(H,U,1),this.reject=b(j,U,1)},r.f=L=function(U){return U===y||U===I?new E(U):_(U)}),v(v.G+v.W+v.F*!D,{Promise:y}),k("./_set-to-string-tag")(y,c),k("./_set-species")(c),I=k("./_core")[c],v(v.S+v.F*!D,c,{reject:function(U){var G=L(this),z=G.reject;return z(U),G.promise}}),v(v.S+v.F*(w||!D),c,{resolve:function(U){return a(w&&this===I?y:this,U)}}),v(v.S+v.F*!(D&&k("./_iter-detect")(function(K){y.all(K).catch(C)})),c,{all:function(U){var G=this,z=L(G),Y=z.resolve,q=z.reject,oe=s(function(){var ie=[],se=0,he=1;o(U,!1,function(pe){var _e=se++,De=!1;ie.push(void 0),he++,G.resolve(pe).then(function(Xe){if(De)return;De=!0,ie[_e]=Xe,--he||Y(ie)},q)}),--he||Y(ie)});return oe.e&&q(oe.v),z.promise},race:function(U){var G=this,z=L(G),Y=z.reject,q=s(function(){o(U,!1,function(oe){G.resolve(oe).then(z.resolve,Y)})});return q.e&&Y(q.v),z.promise}})},{"./_a-function":92,"./_an-instance":94,"./_classof":97,"./_core":99,"./_ctx":101,"./_export":107,"./_for-of":109,"./_global":110,"./_is-object":119,"./_iter-detect":123,"./_library":126,"./_microtask":128,"./_new-promise-capability":129,"./_perform":144,"./_promise-resolve":145,"./_redefine-all":147,"./_set-species":149,"./_set-to-string-tag":150,"./_species-constructor":153,"./_task":155,"./_user-agent":163,"./_wks":166}],179:[function(k,B,d){var w=k("./_export"),A=k("./_to-absolute-index"),b=String.fromCharCode,g=String.fromCodePoint;w(w.S+w.F*(!!g&&g.length!=1),"String",{fromCodePoint:function(f){for(var l=[],u=arguments.length,o=0,e;u>o;){if(e=+arguments[o++],A(e,1114111)!==e)throw RangeError(e+" is not a valid code point");l.push(e<65536?b(e):b(((e-=65536)>>10)+55296,e%1024+56320))}return l.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(k,B,d){"use strict";var w=k("./_string-at")(!0);k("./_iter-define")(String,"String",function(A){this._t=String(A),this._i=0},function(){var A=this._t,b=this._i,g;return b>=A.length?{value:void 0,done:!0}:(g=w(A,b),this._i+=g.length,{value:g,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(k,B,d){"use strict";var w=k("./_global"),A=k("./_has"),b=k("./_descriptors"),g=k("./_export"),v=k("./_redefine"),f=k("./_meta").KEY,l=k("./_fails"),u=k("./_shared"),o=k("./_set-to-string-tag"),e=k("./_uid"),n=k("./_wks"),i=k("./_wks-ext"),r=k("./_wks-define"),s=k("./_enum-keys"),t=k("./_is-array"),a=k("./_an-object"),c=k("./_is-object"),h=k("./_to-object"),p=k("./_to-iobject"),m=k("./_to-primitive"),S=k("./_property-desc"),y=k("./_object-create"),x=k("./_object-gopn-ext"),C=k("./_object-gopd"),T=k("./_object-gops"),_=k("./_object-dp"),E=k("./_object-keys"),I=C.f,L=_.f,D=x.f,F=w.Symbol,N=w.JSON,P=N&&N.stringify,W="prototype",R=n("_hidden"),j=n("toPrimitive"),H={}.propertyIsEnumerable,K=u("symbol-registry"),U=u("symbols"),G=u("op-symbols"),z=Object[W],Y=typeof F=="function"&&!!T.f,q=w.QObject,oe=!q||!q[W]||!q[W].findChild,ie=b&&l(function(){return y(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(le,Se,me){var $=I(z,Se);$&&delete z[Se],L(le,Se,me),$&&le!==z&&L(z,Se,$)}:L,se=function(Se){var me=U[Se]=y(F[W]);return me._k=Se,me},he=Y&&typeof F.iterator=="symbol"?function(le){return typeof le=="symbol"}:function(le){return le instanceof F},pe=function(Se,me,$){return Se===z&&pe(G,me,$),a(Se),me=m(me,!0),a($),A(U,me)?($.enumerable?(A(Se,R)&&Se[R][me]&&(Se[R][me]=!1),$=y($,{enumerable:S(0,!1)})):(A(Se,R)||L(Se,R,S(1,{})),Se[R][me]=!0),ie(Se,me,$)):L(Se,me,$)},_e=function(Se,me){a(Se);for(var $=s(me=p(me)),we=0,xe=$.length,We;xe>we;)pe(Se,We=$[we++],me[We]);return Se},De=function(Se,me){return me===void 0?y(Se):_e(y(Se),me)},Xe=function(Se){var me=H.call(this,Se=m(Se,!0));return this===z&&A(U,Se)&&!A(G,Se)?!1:me||!A(this,Se)||!A(U,Se)||A(this,R)&&this[R][Se]?me:!0},J=function(Se,me){if(Se=p(Se),me=m(me,!0),Se===z&&A(U,me)&&!A(G,me))return;var $=I(Se,me);return $&&A(U,me)&&!(A(Se,R)&&Se[R][me])&&($.enumerable=!0),$},Ee=function(Se){for(var me=D(p(Se)),$=[],we=0,xe;me.length>we;)!A(U,xe=me[we++])&&xe!=R&&xe!=f&&$.push(xe);return $},qe=function(Se){for(var me=Se===z,$=D(me?G:p(Se)),we=[],xe=0,We;$.length>xe;)A(U,We=$[xe++])&&(me?A(z,We):!0)&&we.push(U[We]);return we};Y||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var Se=e(arguments.length>0?arguments[0]:void 0),me=function $(we){this===z&&$.call(G,we),A(this,R)&&A(this[R],Se)&&(this[R][Se]=!1),ie(this,Se,S(1,we))};return b&&oe&&ie(z,Se,{configurable:!0,set:me}),se(Se)},v(F[W],"toString",function(){return this._k}),C.f=J,_.f=pe,k("./_object-gopn").f=x.f=Ee,k("./_object-pie").f=Xe,T.f=qe,b&&!k("./_library")&&v(z,"propertyIsEnumerable",Xe,!0),i.f=function(le){return se(n(le))}),g(g.G+g.W+g.F*!Y,{Symbol:F});for(var ae="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),V=0;ae.length>V;)n(ae[V++]);for(var X=E(n.store),Z=0;X.length>Z;)r(X[Z++]);g(g.S+g.F*!Y,"Symbol",{for:function(Se){return A(K,Se+="")?K[Se]:K[Se]=F(Se)},keyFor:function(Se){if(!he(Se))throw TypeError(Se+" is not a symbol!");for(var me in K)if(K[me]===Se)return me},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),g(g.S+g.F*!Y,"Object",{create:De,defineProperty:pe,defineProperties:_e,getOwnPropertyDescriptor:J,getOwnPropertyNames:Ee,getOwnPropertySymbols:qe});var ge=l(function(){T.f(1)});g(g.S+g.F*ge,"Object",{getOwnPropertySymbols:function(Se){return T.f(h(Se))}}),N&&g(g.S+g.F*(!Y||l(function(){var le=F();return P([le])!="[null]"||P({a:le})!="{}"||P(Object(le))!="{}"})),"JSON",{stringify:function(Se){for(var me=[Se],$=1,we,xe;arguments.length>$;)me.push(arguments[$++]);return xe=we=me[1],!c(we)&&Se===void 0||he(Se)?void 0:(t(we)||(we=function(st,nt){if(typeof xe=="function"&&(nt=xe.call(this,st,nt)),!he(nt))return nt}),me[1]=we,P.apply(N,me))}}),F[W][j]||k("./_hide")(F[W],j,F[W].valueOf),o(F,"Symbol"),o(Math,"Math",!0),o(w.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(k,B,d){var w=k("./_export"),A=k("./_object-to-array")(!0);w(w.S,"Object",{entries:function(g){return A(g)}})},{"./_export":107,"./_object-to-array":143}],183:[function(k,B,d){"use strict";var w=k("./_export"),A=k("./_core"),b=k("./_global"),g=k("./_species-constructor"),v=k("./_promise-resolve");w(w.P+w.R,"Promise",{finally:function(l){var u=g(this,A.Promise||b.Promise),o=typeof l=="function";return this.then(o?function(e){return v(u,l()).then(function(){return e})}:l,o?function(e){return v(u,l()).then(function(){throw e})}:l)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(k,B,d){"use strict";var w=k("./_export"),A=k("./_new-promise-capability"),b=k("./_perform");w(w.S,"Promise",{try:function(v){var f=A.f(this),l=b(v);return(l.e?f.reject:f.resolve)(l.v),f.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(k,B,d){k("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(k,B,d){k("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(k,B,d){k("./es6.array.iterator");for(var w=k("./_global"),A=k("./_hide"),b=k("./_iterators"),g=k("./_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 l=v[f],u=w[l],o=u&&u.prototype;o&&!o[g]&&A(o,g,l),b[l]=b.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(k,B,d){var w=k("./_export"),A=k("./_task");w(w.G+w.B,{setImmediate:A.set,clearImmediate:A.clear})},{"./_export":107,"./_task":155}],189:[function(k,B,d){(function(w){"use strict";var A=k("babel-runtime/helpers/typeof"),b=g(A);function g(m){return m&&m.__esModule?m:{default:m}}function v(m){return Array.isArray?Array.isArray(m):p(m)==="[object Array]"}d.isArray=v;function f(m){return typeof m=="boolean"}d.isBoolean=f;function l(m){return m===null}d.isNull=l;function u(m){return m==null}d.isNullOrUndefined=u;function o(m){return typeof m=="number"}d.isNumber=o;function e(m){return typeof m=="string"}d.isString=e;function n(m){return(typeof m=="undefined"?"undefined":(0,b.default)(m))==="symbol"}d.isSymbol=n;function i(m){return m===void 0}d.isUndefined=i;function r(m){return p(m)==="[object RegExp]"}d.isRegExp=r;function s(m){return(typeof m=="undefined"?"undefined":(0,b.default)(m))==="object"&&m!==null}d.isObject=s;function t(m){return p(m)==="[object Date]"}d.isDate=t;function a(m){return p(m)==="[object Error]"||m instanceof Error}d.isError=a;function c(m){return typeof m=="function"}d.isFunction=c;function h(m){return m===null||typeof m=="boolean"||typeof m=="number"||typeof m=="string"||(typeof m=="undefined"?"undefined":(0,b.default)(m))==="symbol"||typeof m=="undefined"}d.isPrimitive=h,d.isBuffer=w.isBuffer;function p(m){return Object.prototype.toString.call(m)}}).call(this,{isBuffer:k("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(k,B,d){"use strict";var w=k("babel-runtime/helpers/typeof"),A=b(w);function b(g){return g&&g.__esModule?g:{default:g}}(function(g){"use strict";var v=function(){var e=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,n=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,i=/[^-+\dA-Z]/g;return function(r,s,t,a){if(arguments.length===1&&o(r)==="string"&&!/\d/.test(r)&&(s=r,r=void 0),r=r||new Date,r instanceof Date||(r=new Date(r)),isNaN(r))throw TypeError("Invalid date");s=String(v.masks[s]||s||v.masks.default);var c=s.slice(0,4);(c==="UTC:"||c==="GMT:")&&(s=s.slice(4),t=!0,c==="GMT:"&&(a=!0));var h=t?"getUTC":"get",p=r[h+"Date"](),m=r[h+"Day"](),S=r[h+"Month"](),y=r[h+"FullYear"](),x=r[h+"Hours"](),C=r[h+"Minutes"](),T=r[h+"Seconds"](),_=r[h+"Milliseconds"](),E=t?0:r.getTimezoneOffset(),I=l(r),L=u(r),D={d:p,dd:f(p),ddd:v.i18n.dayNames[m],dddd:v.i18n.dayNames[m+7],m:S+1,mm:f(S+1),mmm:v.i18n.monthNames[S],mmmm:v.i18n.monthNames[S+12],yy:String(y).slice(2),yyyy:y,h:x%12||12,hh:f(x%12||12),H:x,HH:f(x),M:C,MM:f(C),s:T,ss:f(T),l:f(_,3),L:f(Math.round(_/10)),t:x<12?"a":"p",tt:x<12?"am":"pm",T:x<12?"A":"P",TT:x<12?"AM":"PM",Z:a?"GMT":t?"UTC":(String(r).match(n)||[""]).pop().replace(i,""),o:(E>0?"-":"+")+f(Math.floor(Math.abs(E)/60)*100+Math.abs(E)%60,4),S:["th","st","nd","rd"][p%10>3?0:(p%100-p%10!=10)*p%10],W:I,N:L};return s.replace(e,function(F){return F in D?D[F]:F.slice(1,F.length-1)})}}();v.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},v.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function f(e,n){for(e=String(e),n=n||2;e.length<n;)e="0"+e;return e}function l(e){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate());n.setDate(n.getDate()-(n.getDay()+6)%7+3);var i=new Date(n.getFullYear(),0,4);i.setDate(i.getDate()-(i.getDay()+6)%7+3);var r=n.getTimezoneOffset()-i.getTimezoneOffset();n.setHours(n.getHours()-r);var s=(n-i)/(864e5*7);return 1+Math.floor(s)}function u(e){var n=e.getDay();return n===0&&(n=7),n}function o(e){return e===null?"null":e===void 0?"undefined":(typeof e=="undefined"?"undefined":(0,A.default)(e))!=="object"?typeof e=="undefined"?"undefined":(0,A.default)(e):Array.isArray(e)?"array":{}.toString.call(e).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return v}):(typeof d=="undefined"?"undefined":(0,A.default)(d))==="object"?B.exports=v:g.dateFormat=v})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(k,B,d){/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/"use strict";var w=/["'&<>]/;B.exports=A;function A(b){var g=""+b,v=w.exec(g);if(!v)return g;var f,l="",u=0,o=0;for(u=v.index;u<g.length;u++){switch(g.charCodeAt(u)){case 34:f="&quot;";break;case 38:f="&amp;";break;case 39:f="&#39;";break;case 60:f="&lt;";break;case 62:f="&gt;";break;default:continue}o!==u&&(l+=g.substring(o,u)),o=u+1,l+=f}return o!==u?l+g.substring(o,u):l}},{}],192:[function(k,B,d){function w(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}B.exports=w,w.EventEmitter=w,w.prototype._events=void 0,w.prototype._maxListeners=void 0,w.defaultMaxListeners=10,w.prototype.setMaxListeners=function(f){if(!b(f)||f<0||isNaN(f))throw TypeError("n must be a positive number");return this._maxListeners=f,this},w.prototype.emit=function(f){var l,u,o,e,n,i;if(this._events||(this._events={}),f==="error"&&(!this._events.error||g(this._events.error)&&!this._events.error.length)){if(l=arguments[1],l instanceof Error)throw l;var r=new Error('Uncaught, unspecified "error" event. ('+l+")");throw r.context=l,r}if(u=this._events[f],v(u))return!1;if(A(u))switch(arguments.length){case 1:u.call(this);break;case 2:u.call(this,arguments[1]);break;case 3:u.call(this,arguments[1],arguments[2]);break;default:e=Array.prototype.slice.call(arguments,1),u.apply(this,e)}else if(g(u))for(e=Array.prototype.slice.call(arguments,1),i=u.slice(),o=i.length,n=0;n<o;n++)i[n].apply(this,e);return!0},w.prototype.addListener=function(f,l){var u;if(!A(l))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",f,A(l.listener)?l.listener:l),this._events[f]?g(this._events[f])?this._events[f].push(l):this._events[f]=[this._events[f],l]:this._events[f]=l,g(this._events[f])&&!this._events[f].warned&&(v(this._maxListeners)?u=w.defaultMaxListeners:u=this._maxListeners,u&&u>0&&this._events[f].length>u&&(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},w.prototype.on=w.prototype.addListener,w.prototype.once=function(f,l){if(!A(l))throw TypeError("listener must be a function");var u=!1;function o(){this.removeListener(f,o),u||(u=!0,l.apply(this,arguments))}return o.listener=l,this.on(f,o),this},w.prototype.removeListener=function(f,l){var u,o,e,n;if(!A(l))throw TypeError("listener must be a function");if(!this._events||!this._events[f])return this;if(u=this._events[f],e=u.length,o=-1,u===l||A(u.listener)&&u.listener===l)delete this._events[f],this._events.removeListener&&this.emit("removeListener",f,l);else if(g(u)){for(n=e;n-- >0;)if(u[n]===l||u[n].listener&&u[n].listener===l){o=n;break}if(o<0)return this;u.length===1?(u.length=0,delete this._events[f]):u.splice(o,1),this._events.removeListener&&this.emit("removeListener",f,l)}return this},w.prototype.removeAllListeners=function(f){var l,u;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(l in this._events){if(l==="removeListener")continue;this.removeAllListeners(l)}return this.removeAllListeners("removeListener"),this._events={},this}if(u=this._events[f],A(u))this.removeListener(f,u);else if(u)for(;u.length;)this.removeListener(f,u[u.length-1]);return delete this._events[f],this},w.prototype.listeners=function(f){var l;return!this._events||!this._events[f]?l=[]:A(this._events[f])?l=[this._events[f]]:l=this._events[f].slice(),l},w.prototype.listenerCount=function(f){if(this._events){var l=this._events[f];if(A(l))return 1;if(l)return l.length}return 0},w.listenerCount=function(f,l){return f.listenerCount(l)};function A(f){return typeof f=="function"}function b(f){return typeof f=="number"}function g(f){return typeof f=="object"&&f!==null}function v(f){return f===void 0}},{}],193:[function(k,B,d){var w=k("http"),A=B.exports;for(var b in w)w.hasOwnProperty(b)&&(A[b]=w[b]);A.request=function(g,v){return g||(g={}),g.scheme="https",g.protocol="https:",w.request.call(this,g,v)}},{http:231}],194:[function(k,B,d){/*!
* humanize-ms - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var w=k("util"),A=k("ms");B.exports=function(b){if(typeof b=="number")return b;var g=A(b);if(g===void 0){var v=new Error(w.format("humanize-ms(%j) result undefined",b));console.warn(v.stack)}return g}},{ms:204,util:243}],195:[function(k,B,d){d.read=function(w,A,b,g,v){var f,l,u=v*8-g-1,o=(1<<u)-1,e=o>>1,n=-7,i=b?v-1:0,r=b?-1:1,s=w[A+i];for(i+=r,f=s&(1<<-n)-1,s>>=-n,n+=u;n>0;f=f*256+w[A+i],i+=r,n-=8);for(l=f&(1<<-n)-1,f>>=-n,n+=g;n>0;l=l*256+w[A+i],i+=r,n-=8);if(f===0)f=1-e;else{if(f===o)return l?NaN:(s?-1:1)*Infinity;l=l+Math.pow(2,g),f=f-e}return(s?-1:1)*l*Math.pow(2,f-g)},d.write=function(w,A,b,g,v,f){var l,u,o,e=f*8-v-1,n=(1<<e)-1,i=n>>1,r=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,s=g?0:f-1,t=g?1:-1,a=A<0||A===0&&1/A<0?1:0;for(A=Math.abs(A),isNaN(A)||A===Infinity?(u=isNaN(A)?1:0,l=n):(l=Math.floor(Math.log(A)/Math.LN2),A*(o=Math.pow(2,-l))<1&&(l--,o*=2),l+i>=1?A+=r/o:A+=r*Math.pow(2,1-i),A*o>=2&&(l++,o/=2),l+i>=n?(u=0,l=n):l+i>=1?(u=(A*o-1)*Math.pow(2,v),l=l+i):(u=A*Math.pow(2,i-1)*Math.pow(2,v),l=0));v>=8;w[b+s]=u&255,s+=t,u/=256,v-=8);for(l=l<<v|u,e+=v;e>0;w[b+s]=l&255,s+=t,l/=256,e-=8);w[b+s-t]|=a*128}},{}],196:[function(k,B,d){typeof Object.create=="function"?B.exports=function(A,b){b&&(A.super_=b,A.prototype=Object.create(b.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}))}:B.exports=function(A,b){if(b){A.super_=b;var g=function(){};g.prototype=b.prototype,A.prototype=new g,A.prototype.constructor=A}}},{}],197:[function(k,B,d){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/B.exports=function(b){return b!=null&&(w(b)||A(b)||!!b._isBuffer)};function w(b){return!!b.constructor&&typeof b.constructor.isBuffer=="function"&&b.constructor.isBuffer(b)}function A(b){return typeof b.readFloatLE=="function"&&typeof b.slice=="function"&&w(b.slice(0,0))}},{}],198:[function(k,B,d){var w={}.toString;B.exports=Array.isArray||function(A){return w.call(A)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(k,B){typeof exports=="object"&&typeof module!="undefined"?module.exports=B(k):typeof define=="function"&&define.amd?define(B):B(k)})(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(k){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(k){for(var B={},d=0,w=k.length;d<w;d++)B[k.charAt(d)]=d;return B}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(B){if(B.length<2){var d=B.charCodeAt(0);return d<128?B:d<2048?fromCharCode(192|d>>>6)+fromCharCode(128|d&63):fromCharCode(224|d>>>12&15)+fromCharCode(128|d>>>6&63)+fromCharCode(128|d&63)}else{var d=65536+(B.charCodeAt(0)-55296)*1024+(B.charCodeAt(1)-56320);return fromCharCode(240|d>>>18&7)+fromCharCode(128|d>>>12&63)+fromCharCode(128|d>>>6&63)+fromCharCode(128|d&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(B){return B.replace(re_utob,cb_utob)},cb_encode=function(B){var d=[0,2,1][B.length%3],w=B.charCodeAt(0)<<16|(B.length>1?B.charCodeAt(1):0)<<8|(B.length>2?B.charCodeAt(2):0),A=[b64chars.charAt(w>>>18),b64chars.charAt(w>>>12&63),d>=2?"=":b64chars.charAt(w>>>6&63),d>=1?"=":b64chars.charAt(w&63)];return A.join("")},btoa=global.btoa?function(k){return global.btoa(k)}:function(k){return k.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(B){var d=Object.prototype.toString.call(B)==="[object Uint8Array]";return d?B.toString("base64"):btoa(utob(String(B)))},encode=function(B,d){return d?_encode(String(B)).replace(/[+\/]/g,function(w){return w=="+"?"-":"_"}).replace(/=/g,""):_encode(B)},encodeURI=function(B){return encode(B,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(B){switch(B.length){case 4:var d=(7&B.charCodeAt(0))<<18|(63&B.charCodeAt(1))<<12|(63&B.charCodeAt(2))<<6|63&B.charCodeAt(3),w=d-65536;return fromCharCode((w>>>10)+55296)+fromCharCode((w&1023)+56320);case 3:return fromCharCode((15&B.charCodeAt(0))<<12|(63&B.charCodeAt(1))<<6|63&B.charCodeAt(2));default:return fromCharCode((31&B.charCodeAt(0))<<6|63&B.charCodeAt(1))}},btou=function(B){return B.replace(re_btou,cb_btou)},cb_decode=function(B){var d=B.length,w=d%4,A=(d>0?b64tab[B.charAt(0)]<<18:0)|(d>1?b64tab[B.charAt(1)]<<12:0)|(d>2?b64tab[B.charAt(2)]<<6:0)|(d>3?b64tab[B.charAt(3)]:0),b=[fromCharCode(A>>>16),fromCharCode(A>>>8&255),fromCharCode(A&255)];return b.length-=[0,0,2,1][w],b.join("")},_atob=global.atob?function(k){return global.atob(k)}:function(k){return k.replace(/\S{1,4}/g,cb_decode)},atob=function(B){return _atob(String(B).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(k){return(k.constructor===buffer.constructor?k:buffer.from(k,"base64")).toString()}:function(k){return(k.constructor===buffer.constructor?k:new buffer(k,"base64")).toString()}:function(k){return btou(_atob(k))},decode=function(B){return _decode(String(B).replace(/[-_]/g,function(d){return d=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var B=global.Base64;return global.Base64=_Base64,B};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(B){return{value:B,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(k){return encode(this,k)})),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(k,B,d){/*!
* merge-descriptors
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/"use strict";B.exports=A;var w=Object.prototype.hasOwnProperty;function A(b,g,v){if(!b)throw new TypeError("argument dest is required");if(!g)throw new TypeError("argument src is required");return v===void 0&&(v=!0),Object.getOwnPropertyNames(g).forEach(function(l){if(!v&&w.call(b,l))return;var u=Object.getOwnPropertyDescriptor(g,l);Object.defineProperty(b,l,u)}),b}},{}],201:[function(k,B,d){"use strict";function w(){this._types=Object.create(null),this._extensions=Object.create(null);for(var A=0;A<arguments.length;A++)this.define(arguments[A]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}w.prototype.define=function(A,b){for(var g in A){var v=A[g].map(function(u){return u.toLowerCase()});g=g.toLowerCase();for(var f=0;f<v.length;f++){var l=v[f];if(l[0]=="*")continue;if(!b&&l in this._types)throw new Error('Attempt to change mapping for "'+l+'" extension from "'+this._types[l]+'" to "'+g+'". Pass `force=true` to allow this, otherwise remove "'+l+'" from the list of extensions for "'+g+'".');this._types[l]=g}if(b||!this._extensions[g]){var l=v[0];this._extensions[g]=l[0]!="*"?l:l.substr(1)}}},w.prototype.getType=function(A){A=String(A);var b=A.replace(/^.*[/\\]/,"").toLowerCase(),g=b.replace(/^.*\./,"").toLowerCase(),v=b.length<A.length,f=g.length<b.length-1;return(f||!v)&&this._types[g]||null},w.prototype.getExtension=function(A){return A=/^\s*([^;\s]*)/.test(A)&&RegExp.$1,A&&this._extensions[A.toLowerCase()]||null},B.exports=w},{}],202:[function(k,B,d){"use strict";var w=k("./Mime");B.exports=new w(k("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(k,B,d){B.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(k,B,d){var w=1e3,A=w*60,b=A*60,g=b*24,v=g*7,f=g*365.25;B.exports=function(n,i){i=i||{};var r=typeof n;if(r==="string"&&n.length>0)return l(n);if(r==="number"&&isFinite(n))return i.long?o(n):u(n);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(n))};function l(n){if(n=String(n),n.length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(n);if(!i)return;var r=parseFloat(i[1]),s=(i[2]||"ms").toLowerCase();switch(s){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*g;case"hours":case"hour":case"hrs":case"hr":case"h":return r*b;case"minutes":case"minute":case"mins":case"min":case"m":return r*A;case"seconds":case"second":case"secs":case"sec":case"s":return r*w;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}function u(n){var i=Math.abs(n);return i>=g?Math.round(n/g)+"d":i>=b?Math.round(n/b)+"h":i>=A?Math.round(n/A)+"m":i>=w?Math.round(n/w)+"s":n+"ms"}function o(n){var i=Math.abs(n);return i>=g?e(n,i,g,"day"):i>=b?e(n,i,b,"hour"):i>=A?e(n,i,A,"minute"):i>=w?e(n,i,w,"second"):n+" ms"}function e(n,i,r,s){var t=i>=r*1.5;return Math.round(n/r)+" "+s+(t?"s":"")}},{}],205:[function(k,B,d){(function(w){function A(f,l){for(var u=0,o=f.length-1;o>=0;o--){var e=f[o];e==="."?f.splice(o,1):e===".."?(f.splice(o,1),u++):u&&(f.splice(o,1),u--)}if(l)for(;u--;u)f.unshift("..");return f}d.resolve=function(){for(var f="",l=!1,u=arguments.length-1;u>=-1&&!l;u--){var o=u>=0?arguments[u]:w.cwd();if(typeof o!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!o)continue;f=o+"/"+f,l=o.charAt(0)==="/"}return f=A(g(f.split("/"),function(e){return!!e}),!l).join("/"),(l?"/":"")+f||"."},d.normalize=function(f){var l=d.isAbsolute(f),u=v(f,-1)==="/";return f=A(g(f.split("/"),function(o){return!!o}),!l).join("/"),!f&&!l&&(f="."),f&&u&&(f+="/"),(l?"/":"")+f},d.isAbsolute=function(f){return f.charAt(0)==="/"},d.join=function(){var f=Array.prototype.slice.call(arguments,0);return d.normalize(g(f,function(l,u){if(typeof l!="string")throw new TypeError("Arguments to path.join must be strings");return l}).join("/"))},d.relative=function(f,l){f=d.resolve(f).substr(1),l=d.resolve(l).substr(1);function u(t){for(var a=0;a<t.length&&!(t[a]!=="");a++);for(var c=t.length-1;c>=0&&!(t[c]!=="");c--);return a>c?[]:t.slice(a,c-a+1)}for(var o=u(f.split("/")),e=u(l.split("/")),n=Math.min(o.length,e.length),i=n,r=0;r<n;r++)if(o[r]!==e[r]){i=r;break}for(var s=[],r=i;r<o.length;r++)s.push("..");return s=s.concat(e.slice(i)),s.join("/")},d.sep="/",d.delimiter=":",d.dirname=function(f){if(typeof f!="string"&&(f=f+""),f.length===0)return".";for(var l=f.charCodeAt(0),u=l===47,o=-1,e=!0,n=f.length-1;n>=1;--n)if(l=f.charCodeAt(n),l===47){if(!e){o=n;break}}else e=!1;return o===-1?u?"/":".":u&&o===1?"/":f.slice(0,o)};function b(f){typeof f!="string"&&(f=f+"");var l=0,u=-1,o=!0,e;for(e=f.length-1;e>=0;--e)if(f.charCodeAt(e)===47){if(!o){l=e+1;break}}else u===-1&&(o=!1,u=e+1);return u===-1?"":f.slice(l,u)}d.basename=function(f,l){var u=b(f);return l&&u.substr(-1*l.length)===l&&(u=u.substr(0,u.length-l.length)),u},d.extname=function(f){typeof f!="string"&&(f=f+"");for(var l=-1,u=0,o=-1,e=!0,n=0,i=f.length-1;i>=0;--i){var r=f.charCodeAt(i);if(r===47){if(!e){u=i+1;break}continue}o===-1&&(e=!1,o=i+1),r===46?l===-1?l=i:n!==1&&(n=1):l!==-1&&(n=-1)}return l===-1||o===-1||n===0||n===1&&l===o-1&&l===u+1?"":f.slice(l,o)};function g(f,l){if(f.filter)return f.filter(l);for(var u=[],o=0;o<f.length;o++)l(f[o],o,f)&&u.push(f[o]);return u}var v="ab".substr(-1)==="b"?function(f,l,u){return f.substr(l,u)}:function(f,l,u){return l<0&&(l=f.length+l),f.substr(l,u)}}).call(this,k("_process"))},{_process:208}],206:[function(k,B,d){(function(w){/*!
* 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 A={function:!0,object:!0},b=A[typeof window]&&window||this,g=b,v=A[typeof d]&&d,f=A[typeof B]&&B&&!B.nodeType&&B,l=v&&f&&typeof w=="object"&&w;l&&(l.global===l||l.window===l||l.self===l)&&(b=l);var u=Math.pow(2,53)-1,o=/\bOpera/,e=this,n=Object.prototype,i=n.hasOwnProperty,r=n.toString;function s(_){return _=String(_),_.charAt(0).toUpperCase()+_.slice(1)}function t(_,E,I){var L={"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 E&&I&&/^Win/i.test(_)&&!/^Windows Phone /i.test(_)&&(L=L[/[\d.]+$/.exec(_)])&&(_="Windows "+L),_=String(_),E&&I&&(_=_.replace(RegExp(E,"i"),I)),_=c(_.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]),_}function a(_,E){var I=-1,L=_?_.length:0;if(typeof L=="number"&&L>-1&&L<=u)for(;++I<L;)E(_[I],I,_);else h(_,E)}function c(_){return _=x(_),/^(?:webOS|i(?:OS|P))/.test(_)?_:s(_)}function h(_,E){for(var I in _)i.call(_,I)&&E(_[I],I,_)}function p(_){return _==null?s(_):r.call(_).slice(8,-1)}function m(_,E){var I=_!=null?typeof _[E]:"number";return!/^(?:boolean|number|string|undefined)$/.test(I)&&(I=="object"?!!_[E]:!0)}function S(_){return String(_).replace(/([ -])(?!$)/g,"$1?")}function y(_,E){var I=null;return a(_,function(L,D){I=E(I,L,D,_)}),I}function x(_){return String(_).replace(/^ +| +$/g,"")}function C(_){var E=b,I=_&&typeof _=="object"&&p(_)!="String";I&&(E=_,_=null);var L=E.navigator||{},D=L.userAgent||"";_||(_=D);var F=I||e==g,N=I?!!L.likeChrome:/\bChrome\b/.test(_)&&!/internal|\n/i.test(r.toString()),P="Object",W=I?P:"ScriptBridgingProxyObject",R=I?P:"Environment",j=I&&E.java?"JavaPackage":p(E.java),H=I?P:"RuntimeObject",K=/\bJava/.test(j)&&E.java,U=K&&p(E.environment)==R,G=K?"a":"\u03B1",z=K?"b":"\u03B2",Y=E.document||{},q=E.operamini||E.opera,oe=o.test(oe=I&&q?q["[[Class]]"]:p(q))?oe:q=null,ie,se=_,he=[],pe=null,_e=_==D,De=_e&&q&&typeof q.version=="function"&&q.version(),Xe,J=X([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Ee=ge(["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"]),qe=Se([{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"]),ae=Z({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}}),V=le(["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 X(xe){return y(xe,function(We,st){return We||RegExp("\\b"+(st.pattern||S(st))+"\\b","i").exec(_)&&(st.label||st)})}function Z(xe){return y(xe,function(We,st,nt){return We||(st[qe]||st[/^[a-z]+(?: +[a-z]+\b)*/i.exec(qe)]||RegExp("\\b"+S(nt)+"(?:\\b|\\w*\\d)","i").exec(_))&&nt})}function ge(xe){return y(xe,function(We,st){return We||RegExp("\\b"+(st.pattern||S(st))+"\\b","i").exec(_)&&(st.label||st)})}function le(xe){return y(xe,function(We,st){var nt=st.pattern||S(st);return!We&&(We=RegExp("\\b"+nt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(_))&&(We=t(We,nt,st.label||st)),We})}function Se(xe){return y(xe,function(We,st){var nt=st.pattern||S(st);return!We&&(We=RegExp("\\b"+nt+" *\\d+[.\\w_]*","i").exec(_)||RegExp("\\b"+nt+" *\\w+-[\\w]*","i").exec(_)||RegExp("\\b"+nt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(_))&&((We=String(st.label&&!RegExp(nt,"i").test(st.label)?st.label:We).split("/"))[1]&&!/[\d.]+/.test(We[0])&&(We[0]+=" "+We[1]),st=st.label||st,We=c(We[0].replace(RegExp(nt,"i"),st).replace(RegExp("; *(?:"+st+"[_-])?","i")," ").replace(RegExp("("+st+")[-_.]?(\\w)","i"),"$1 $2"))),We})}function me(xe){return y(xe,function(We,st){return We||(RegExp(st+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(_)||0)[1]||null})}function $(){return this.description||""}if(J&&(J=[J]),ae&&!qe&&(qe=Se([ae])),(ie=/\bGoogle TV\b/.exec(qe))&&(qe=ie[0]),/\bSimulator\b/i.test(_)&&(qe=(qe?qe+" ":"")+"Simulator"),Ee=="Opera Mini"&&/\bOPiOS\b/.test(_)&&he.push("running in Turbo/Uncompressed mode"),Ee=="IE"&&/\blike iPhone OS\b/.test(_)?(ie=C(_.replace(/like iPhone OS/,"")),ae=ie.manufacturer,qe=ie.product):/^iP/.test(qe)?(Ee||(Ee="Safari"),V="iOS"+((ie=/ OS ([\d_]+)/i.exec(_))?" "+ie[1].replace(/_/g,"."):"")):Ee=="Konqueror"&&!/buntu/i.test(V)?V="Kubuntu":ae&&ae!="Google"&&(/Chrome/.test(Ee)&&!/\bMobile Safari\b/i.test(_)||/\bVita\b/.test(qe))||/\bAndroid\b/.test(V)&&/^Chrome/.test(Ee)&&/\bVersion\//i.test(_)?(Ee="Android Browser",V=/\bAndroid\b/.test(V)?V:"Android"):Ee=="Silk"?(/\bMobi/i.test(_)||(V="Android",he.unshift("desktop mode")),/Accelerated *= *true/i.test(_)&&he.unshift("accelerated")):Ee=="PaleMoon"&&(ie=/\bFirefox\/([\d.]+)\b/.exec(_))?he.push("identifying as Firefox "+ie[1]):Ee=="Firefox"&&(ie=/\b(Mobile|Tablet|TV)\b/i.exec(_))?(V||(V="Firefox OS"),qe||(qe=ie[1])):!Ee||(ie=!/\bMinefield\b/i.test(_)&&/\b(?:Firefox|Safari)\b/.exec(Ee))?(Ee&&!qe&&/[\/,]|^[^(]+?\)/.test(_.slice(_.indexOf(ie+"/")+8))&&(Ee=null),(ie=qe||ae||V)&&(qe||ae||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(V))&&(Ee=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(V)?V:ie)+" Browser")):Ee=="Electron"&&(ie=(/\bChrome\/([\d.]+)\b/.exec(_)||0)[1])&&he.push("Chromium "+ie),De||(De=me(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",S(Ee),"(?:Firefox|Minefield|NetFront)"])),(ie=J=="iCab"&&parseFloat(De)>3&&"WebKit"||/\bOpera\b/.test(Ee)&&(/\bOPR\b/.test(_)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(_)&&!/^(?:Trident|EdgeHTML)$/.test(J)&&"WebKit"||!J&&/\bMSIE\b/i.test(_)&&(V=="Mac OS"?"Tasman":"Trident")||J=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ee)&&"NetFront")&&(J=[ie]),Ee=="IE"&&(ie=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(_)||0)[1])?(Ee+=" Mobile",V="Windows Phone "+(/\+$/.test(ie)?ie:ie+".x"),he.unshift("desktop mode")):/\bWPDesktop\b/i.test(_)?(Ee="IE Mobile",V="Windows Phone 8.x",he.unshift("desktop mode"),De||(De=(/\brv:([\d.]+)/.exec(_)||0)[1])):Ee!="IE"&&J=="Trident"&&(ie=/\brv:([\d.]+)/.exec(_))&&(Ee&&he.push("identifying as "+Ee+(De?" "+De:"")),Ee="IE",De=ie[1]),_e){if(m(E,"global"))if(K&&(ie=K.lang.System,se=ie.getProperty("os.arch"),V=V||ie.getProperty("os.name")+" "+ie.getProperty("os.version")),U){try{De=E.require("ringo/engine").version.join("."),Ee="RingoJS"}catch(xe){(ie=E.system)&&ie.global.system==E.system&&(Ee="Narwhal",V||(V=ie[0].os||null))}Ee||(Ee="Rhino")}else typeof E.process=="object"&&!E.process.browser&&(ie=E.process)&&(typeof ie.versions=="object"&&(typeof ie.versions.electron=="string"?(he.push("Node "+ie.versions.node),Ee="Electron",De=ie.versions.electron):typeof ie.versions.nw=="string"&&(he.push("Chromium "+De,"Node "+ie.versions.node),Ee="NW.js",De=ie.versions.nw)),Ee||(Ee="Node.js",se=ie.arch,V=ie.platform,De=/[\d.]+/.exec(ie.version),De=De?De[0]:null));else p(ie=E.runtime)==W?(Ee="Adobe AIR",V=ie.flash.system.Capabilities.os):p(ie=E.phantom)==H?(Ee="PhantomJS",De=(ie=ie.version||null)&&ie.major+"."+ie.minor+"."+ie.patch):typeof Y.documentMode=="number"&&(ie=/\bTrident\/(\d+)/i.exec(_))?(De=[De,Y.documentMode],(ie=+ie[1]+4)!=De[1]&&(he.push("IE "+De[1]+" mode"),J&&(J[1]=""),De[1]=ie),De=Ee=="IE"?String(De[1].toFixed(1)):De[0]):typeof Y.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ee)&&(he.push("masking as "+Ee+" "+De),Ee="IE",De="11.0",J=["Trident"],V="Windows");V=V&&c(V)}if(De&&(ie=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(De)||/(?:alpha|beta)(?: ?\d)?/i.exec(_+";"+(_e&&L.appMinorVersion))||/\bMinefield\b/i.test(_)&&"a")&&(pe=/b/i.test(ie)?"beta":"alpha",De=De.replace(RegExp(ie+"\\+?$"),"")+(pe=="beta"?z:G)+(/\d+\+?/.exec(ie)||"")),Ee=="Fennec"||Ee=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(V))Ee="Firefox Mobile";else if(Ee=="Maxthon"&&De)De=De.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(qe))qe=="Xbox 360"&&(V=null),qe=="Xbox 360"&&/\bIEMobile\b/.test(_)&&he.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Ee)||Ee&&!qe&&!/Browser|Mobi/.test(Ee))&&(V=="Windows CE"||/Mobi/i.test(_)))Ee+=" Mobile";else if(Ee=="IE"&&_e)try{E.external===null&&he.unshift("platform preview")}catch(xe){he.unshift("embedded")}else(/\bBlackBerry\b/.test(qe)||/\bBB10\b/.test(_))&&(ie=(RegExp(qe.replace(/ +/g," *")+"/([.\\d]+)","i").exec(_)||0)[1]||De)?(ie=[ie,/BB10/.test(_)],V=(ie[1]?(qe=null,ae="BlackBerry"):"Device Software")+" "+ie[0],De=null):this!=h&&qe!="Wii"&&(_e&&q||/Opera/.test(Ee)&&/\b(?:MSIE|Firefox)\b/i.test(_)||Ee=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(V)||Ee=="IE"&&(V&&!/^Win/.test(V)&&De>5.5||/\bWindows XP\b/.test(V)&&De>8||De==8&&!/\bTrident\b/.test(_)))&&!o.test(ie=C.call(h,_.replace(o,"")+";"))&&ie.name&&(ie="ing as "+ie.name+((ie=ie.version)?" "+ie:""),o.test(Ee)?(/\bIE\b/.test(ie)&&V=="Mac OS"&&(V=null),ie="identify"+ie):(ie="mask"+ie,oe?Ee=c(oe.replace(/([a-z])([A-Z])/g,"$1 $2")):Ee="Opera",/\bIE\b/.test(ie)&&(V=null),_e||(De=null)),J=["Presto"],he.push(ie));(ie=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(_)||0)[1])&&(ie=[parseFloat(ie.replace(/\.(\d)$/,".0$1")),ie],Ee=="Safari"&&ie[1].slice(-1)=="+"?(Ee="WebKit Nightly",pe="alpha",De=ie[1].slice(0,-1)):(De==ie[1]||De==(ie[2]=(/\bSafari\/([\d.]+\+?)/i.exec(_)||0)[1]))&&(De=null),ie[1]=(/\bChrome\/([\d.]+)/i.exec(_)||0)[1],ie[0]==537.36&&ie[2]==537.36&&parseFloat(ie[1])>=28&&J=="WebKit"&&(J=["Blink"]),!_e||!N&&!ie[1]?(J&&(J[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")):(J&&(J[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:J!="Blink"?"27":"28")),J&&(J[1]+=" "+(ie+=typeof ie=="number"?".x":/[.+]/.test(ie)?"":"+")),Ee=="Safari"&&(!De||parseInt(De)>45)&&(De=ie)),Ee=="Opera"&&(ie=/\bzbov|zvav$/.exec(V))?(Ee+=" ",he.unshift("desktop mode"),ie=="zvav"?(Ee+="Mini",De=null):Ee+="Mobile",V=V.replace(RegExp(" *"+ie+"$"),"")):Ee=="Safari"&&/\bChrome\b/.exec(J&&J[1])&&(he.unshift("desktop mode"),Ee="Chrome Mobile",De=null,/\bOS X\b/.test(V)?(ae="Apple",V="iOS 4.3+"):V=null),De&&De.indexOf(ie=/[\d.]+$/.exec(V))==0&&_.indexOf("/"+ie+"-")>-1&&(V=x(V.replace(ie,""))),J&&!/\b(?:Avant|Nook)\b/.test(Ee)&&(/Browser|Lunascape|Maxthon/.test(Ee)||Ee!="Safari"&&/^iOS/.test(V)&&/\bSafari\b/.test(J[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(Ee)&&J[1])&&((ie=J[J.length-1])&&he.push(ie)),he.length&&(he=["("+he.join("; ")+")"]),ae&&qe&&qe.indexOf(ae)<0&&he.push("on "+ae),qe&&he.push((/^on /.test(he[he.length-1])?"":"on ")+qe),V&&(ie=/ ([\d.+]+)$/.exec(V),Xe=ie&&V.charAt(V.length-ie[0].length-1)=="/",V={architecture:32,family:ie&&!Xe?V.replace(ie[0],""):V,version:ie?ie[1]:null,toString:function(){var We=this.version;return this.family+(We&&!Xe?" "+We:"")+(this.architecture==64?" 64-bit":"")}}),(ie=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(se))&&!/\bi686\b/i.test(se)?(V&&(V.architecture=64,V.family=V.family.replace(RegExp(" *"+ie),"")),Ee&&(/\bWOW64\b/i.test(_)||_e&&/\w(?:86|32)$/.test(L.cpuClass||L.platform)&&!/\bWin64; x64\b/i.test(_))&&he.unshift("32-bit")):V&&/^OS X/.test(V.family)&&Ee=="Chrome"&&parseFloat(De)>=39&&(V.architecture=64),_||(_=null);var we={};return we.description=_,we.layout=J&&J[0],we.manufacturer=ae,we.name=Ee,we.prerelease=pe,we.product=qe,we.ua=_,we.version=Ee&&De,we.os=V||{architecture:null,family:null,version:null,toString:function(){return"null"}},we.parse=C,we.toString=$,we.version&&he.unshift(De),we.name&&he.unshift(Ee),V&&Ee&&!(V==String(V).split(" ")[0]&&(V==Ee.split(" ")[0]||qe))&&he.push(qe?"("+V+")":"on "+V),he.length&&(we.description=he.join(" ")),we}var T=C();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(b.platform=T,define(function(){return T})):v&&f?h(T,function(_,E){v[E]=_}):b.platform=T}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(k,B,d){(function(w){"use strict";typeof w=="undefined"||!w.version||w.version.indexOf("v0.")===0||w.version.indexOf("v1.")===0&&w.version.indexOf("v1.8.")!==0?B.exports={nextTick:A}:B.exports=w;function A(b,g,v,f){if(typeof b!="function")throw new TypeError('"callback" argument must be a function');var l=arguments.length,u,o;switch(l){case 0:case 1:return w.nextTick(b);case 2:return w.nextTick(function(){b.call(null,g)});case 3:return w.nextTick(function(){b.call(null,g,v)});case 4:return w.nextTick(function(){b.call(null,g,v,f)});default:for(u=new Array(l-1),o=0;o<u.length;)u[o++]=arguments[o];return w.nextTick(function(){b.apply(null,u)})}}}).call(this,k("_process"))},{_process:208}],208:[function(k,B,d){var w=B.exports={},A,b;function g(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=g}catch(a){A=g}try{typeof clearTimeout=="function"?b=clearTimeout:b=v}catch(a){b=v}})();function f(a){if(A===setTimeout)return setTimeout(a,0);if((A===g||!A)&&setTimeout)return A=setTimeout,setTimeout(a,0);try{return A(a,0)}catch(c){try{return A.call(null,a,0)}catch(h){return A.call(this,a,0)}}}function l(a){if(b===clearTimeout)return clearTimeout(a);if((b===v||!b)&&clearTimeout)return b=clearTimeout,clearTimeout(a);try{return b(a)}catch(c){try{return b.call(null,a)}catch(h){return b.call(this,a)}}}var u=[],o=!1,e,n=-1;function i(){if(!o||!e)return;o=!1,e.length?u=e.concat(u):n=-1,u.length&&r()}function r(){if(o)return;var a=f(i);o=!0;for(var c=u.length;c;){for(e=u,u=[];++n<c;)e&&e[n].run();n=-1,c=u.length}e=null,o=!1,l(a)}w.nextTick=function(a){var c=new Array(arguments.length-1);if(arguments.length>1)for(var h=1;h<arguments.length;h++)c[h-1]=arguments[h];u.push(new s(a,c)),u.length===1&&!o&&f(r)};function s(a,c){this.fun=a,this.array=c}s.prototype.run=function(){this.fun.apply(null,this.array)},w.title="browser",w.browser=!0,w.env={},w.argv=[],w.version="",w.versions={};function t(){}w.on=t,w.addListener=t,w.once=t,w.off=t,w.removeListener=t,w.removeAllListeners=t,w.emit=t,w.prependListener=t,w.prependOnceListener=t,w.listeners=function(a){return[]},w.binding=function(a){throw new Error("process.binding is not supported")},w.cwd=function(){return"/"},w.chdir=function(a){throw new Error("process.chdir is not supported")},w.umask=function(){return 0}},{}],209:[function(k,B,d){(function(w){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(A){var b=typeof d=="object"&&d&&!d.nodeType&&d,g=typeof B=="object"&&B&&!B.nodeType&&B,v=typeof w=="object"&&w;(v.global===v||v.window===v||v.self===v)&&(A=v);var f,l=2147483647,u=36,o=1,e=26,n=38,i=700,r=72,s=128,t="-",a=/^xn--/,c=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=u-o,S=Math.floor,y=String.fromCharCode,x;function C(j){throw new RangeError(p[j])}function T(j,H){for(var K=j.length,U=[];K--;)U[K]=H(j[K]);return U}function _(j,H){var K=j.split("@"),U="";K.length>1&&(U=K[0]+"@",j=K[1]),j=j.replace(h,".");var G=j.split("."),z=T(G,H).join(".");return U+z}function E(j){for(var H=[],K=0,U=j.length,G,z;K<U;)G=j.charCodeAt(K++),G>=55296&&G<=56319&&K<U?(z=j.charCodeAt(K++),(z&64512)==56320?H.push(((G&1023)<<10)+(z&1023)+65536):(H.push(G),K--)):H.push(G);return H}function I(j){return T(j,function(H){var K="";return H>65535&&(H-=65536,K+=y(H>>>10&1023|55296),H=56320|H&1023),K+=y(H),K}).join("")}function L(j){return j-48<10?j-22:j-65<26?j-65:j-97<26?j-97:u}function D(j,H){return j+22+75*(j<26)-((H!=0)<<5)}function F(j,H,K){var U=0;for(j=K?S(j/i):j>>1,j+=S(j/H);j>m*e>>1;U+=u)j=S(j/m);return S(U+(m+1)*j/(j+n))}function N(j){var H=[],K=j.length,U,G=0,z=s,Y=r,q,oe,ie,se,he,pe,_e,De,Xe;for(q=j.lastIndexOf(t),q<0&&(q=0),oe=0;oe<q;++oe)j.charCodeAt(oe)>=128&&C("not-basic"),H.push(j.charCodeAt(oe));for(ie=q>0?q+1:0;ie<K;){for(se=G,he=1,pe=u;!(ie>=K&&C("invalid-input"),_e=L(j.charCodeAt(ie++)),(_e>=u||_e>S((l-G)/he))&&C("overflow"),G+=_e*he,De=pe<=Y?o:pe>=Y+e?e:pe-Y,_e<De);pe+=u)Xe=u-De,he>S(l/Xe)&&C("overflow"),he*=Xe;U=H.length+1,Y=F(G-se,U,se==0),S(G/U)>l-z&&C("overflow"),z+=S(G/U),G%=U,H.splice(G++,0,z)}return I(H)}function P(j){var H,K,U,G,z,Y,q,oe,ie,se,he,pe=[],_e,De,Xe,J;for(j=E(j),_e=j.length,H=s,K=0,z=r,Y=0;Y<_e;++Y)he=j[Y],he<128&&pe.push(y(he));for(U=G=pe.length,G&&pe.push(t);U<_e;){for(q=l,Y=0;Y<_e;++Y)he=j[Y],he>=H&&he<q&&(q=he);for(De=U+1,q-H>S((l-K)/De)&&C("overflow"),K+=(q-H)*De,H=q,Y=0;Y<_e;++Y)if(he=j[Y],he<H&&++K>l&&C("overflow"),he==H){for(oe=K,ie=u;!(se=ie<=z?o:ie>=z+e?e:ie-z,oe<se);ie+=u)J=oe-se,Xe=u-se,pe.push(y(D(se+J%Xe,0))),oe=S(J/Xe);pe.push(y(D(oe,0))),z=F(K,De,U==G),K=0,++U}++K,++H}return pe.join("")}function W(j){return _(j,function(H){return a.test(H)?N(H.slice(4).toLowerCase()):H})}function R(j){return _(j,function(H){return c.test(H)?"xn--"+P(H):H})}if(f={version:"1.4.1",ucs2:{decode:E,encode:I},decode:N,encode:P,toASCII:R,toUnicode:W},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return f});else if(b&&g)if(B.exports==b)g.exports=f;else for(x in f)f.hasOwnProperty(x)&&(b[x]=f[x]);else A.punycode=f})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(k,B,d){"use strict";function w(b,g){return Object.prototype.hasOwnProperty.call(b,g)}B.exports=function(b,g,v,f){g=g||"&",v=v||"=";var l={};if(typeof b!="string"||b.length===0)return l;var u=/\+/g;b=b.split(g);var o=1e3;f&&typeof f.maxKeys=="number"&&(o=f.maxKeys);var e=b.length;o>0&&e>o&&(e=o);for(var n=0;n<e;++n){var i=b[n].replace(u,"%20"),r=i.indexOf(v),s,t,a,c;r>=0?(s=i.substr(0,r),t=i.substr(r+1)):(s=i,t=""),a=decodeURIComponent(s),c=decodeURIComponent(t),w(l,a)?A(l[a])?l[a].push(c):l[a]=[l[a],c]:l[a]=c}return l};var A=Array.isArray||function(b){return Object.prototype.toString.call(b)==="[object Array]"}},{}],211:[function(k,B,d){"use strict";var w=function(f){switch(typeof f){case"string":return f;case"boolean":return f?"true":"false";case"number":return isFinite(f)?f:"";default:return""}};B.exports=function(v,f,l,u){return f=f||"&",l=l||"=",v===null&&(v=void 0),typeof v=="object"?b(g(v),function(o){var e=encodeURIComponent(w(o))+l;return A(v[o])?b(v[o],function(n){return e+encodeURIComponent(w(n))}).join(f):e+encodeURIComponent(w(v[o]))}).join(f):u?encodeURIComponent(w(u))+l+encodeURIComponent(w(v)):""};var A=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"};function b(v,f){if(v.map)return v.map(f);for(var l=[],u=0;u<v.length;u++)l.push(f(v[u],u));return l}var g=Object.keys||function(v){var f=[];for(var l in v)Object.prototype.hasOwnProperty.call(v,l)&&f.push(l);return f}},{}],212:[function(k,B,d){"use strict";d.decode=d.parse=k("./decode"),d.encode=d.stringify=k("./encode")},{"./decode":210,"./encode":211}],213:[function(k,B,d){B.exports=k("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=v(w),b=k("babel-runtime/core-js/object/keys"),g=v(b);function v(c){return c&&c.__esModule?c:{default:c}}var f=k("process-nextick-args"),l=g.default||function(c){var h=[];for(var p in c)h.push(p);return h};B.exports=s;var u=(0,A.default)(k("core-util-is"));u.inherits=k("inherits");var o=k("./_stream_readable"),e=k("./_stream_writable");u.inherits(s,o);for(var n=l(e.prototype),i=0;i<n.length;i++){var r=n[i];s.prototype[r]||(s.prototype[r]=e.prototype[r])}function s(c){if(!(this instanceof s))return new s(c);o.call(this,c),e.call(this,c),c&&c.readable===!1&&(this.readable=!1),c&&c.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,c&&c.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",t)}Object.defineProperty(s.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function t(){if(this.allowHalfOpen||this._writableState.ended)return;f.nextTick(a,this)}function a(c){c.end()}Object.defineProperty(s.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}}),s.prototype._destroy=function(c,h){this.push(null),this.end(),f.nextTick(h,c)}},{"./_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(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=b(w);function b(l){return l&&l.__esModule?l:{default:l}}B.exports=f;var g=k("./_stream_transform"),v=(0,A.default)(k("core-util-is"));v.inherits=k("inherits"),v.inherits(f,g);function f(l){if(!(this instanceof f))return new f(l);g.call(this,l)}f.prototype._transform=function(l,u,o){o(null,l)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(k,B,d){(function(w,A){"use strict";var b=k("babel-runtime/core-js/object/get-prototype-of"),g=l(b),v=k("babel-runtime/core-js/object/create"),f=l(v);function l(J){return J&&J.__esModule?J:{default:J}}var u=k("process-nextick-args");B.exports=E;var o=k("isarray"),e;E.ReadableState=_;var n=k("events").EventEmitter,i=function(Ee,qe){return Ee.listeners(qe).length},r=k("./internal/streams/stream"),s=k("safe-buffer").Buffer,t=A.Uint8Array||function(){};function a(J){return s.from(J)}function c(J){return s.isBuffer(J)||J instanceof t}var h=(0,f.default)(k("core-util-is"));h.inherits=k("inherits");var p=k("util"),m=void 0;p&&p.debuglog?m=p.debuglog("stream"):m=function(){};var S=k("./internal/streams/BufferList"),y=k("./internal/streams/destroy"),x;h.inherits(E,r);var C=["error","close","destroy","pause","resume"];function T(J,Ee,qe){if(typeof J.prependListener=="function")return J.prependListener(Ee,qe);!J._events||!J._events[Ee]?J.on(Ee,qe):o(J._events[Ee])?J._events[Ee].unshift(qe):J._events[Ee]=[qe,J._events[Ee]]}function _(J,Ee){e=e||k("./_stream_duplex"),J=J||{};var qe=Ee instanceof e;this.objectMode=!!J.objectMode,qe&&(this.objectMode=this.objectMode||!!J.readableObjectMode);var ae=J.highWaterMark,V=J.readableHighWaterMark,X=this.objectMode?16:16*1024;ae||ae===0?this.highWaterMark=ae:qe&&(V||V===0)?this.highWaterMark=V:this.highWaterMark=X,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new S,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=J.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,J.encoding&&(x||(x=k("string_decoder/").StringDecoder),this.decoder=new x(J.encoding),this.encoding=J.encoding)}function E(J){if(e=e||k("./_stream_duplex"),!(this instanceof E))return new E(J);this._readableState=new _(J,this),this.readable=!0,J&&(typeof J.read=="function"&&(this._read=J.read),typeof J.destroy=="function"&&(this._destroy=J.destroy)),r.call(this)}Object.defineProperty(E.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ee){if(!this._readableState)return;this._readableState.destroyed=Ee}}),E.prototype.destroy=y.destroy,E.prototype._undestroy=y.undestroy,E.prototype._destroy=function(J,Ee){this.push(null),Ee(J)},E.prototype.push=function(J,Ee){var qe=this._readableState,ae;return qe.objectMode?ae=!0:typeof J=="string"&&(Ee=Ee||qe.defaultEncoding,Ee!==qe.encoding&&(J=s.from(J,Ee),Ee=""),ae=!0),I(this,J,Ee,!1,ae)},E.prototype.unshift=function(J){return I(this,J,null,!0,!1)};function I(J,Ee,qe,ae,V){var X=J._readableState;if(Ee===null)X.reading=!1,R(J,X);else{var Z;V||(Z=D(X,Ee)),Z?J.emit("error",Z):X.objectMode||Ee&&Ee.length>0?(typeof Ee!="string"&&!X.objectMode&&(0,g.default)(Ee)!==s.prototype&&(Ee=a(Ee)),ae?X.endEmitted?J.emit("error",new Error("stream.unshift() after end event")):L(J,X,Ee,!0):X.ended?J.emit("error",new Error("stream.push() after EOF")):(X.reading=!1,X.decoder&&!qe?(Ee=X.decoder.write(Ee),X.objectMode||Ee.length!==0?L(J,X,Ee,!1):K(J,X)):L(J,X,Ee,!1))):ae||(X.reading=!1)}return F(X)}function L(J,Ee,qe,ae){Ee.flowing&&Ee.length===0&&!Ee.sync?(J.emit("data",qe),J.read(0)):(Ee.length+=Ee.objectMode?1:qe.length,ae?Ee.buffer.unshift(qe):Ee.buffer.push(qe),Ee.needReadable&&j(J)),K(J,Ee)}function D(J,Ee){var qe;return!c(Ee)&&typeof Ee!="string"&&Ee!==void 0&&!J.objectMode&&(qe=new TypeError("Invalid non-string/buffer chunk")),qe}function F(J){return!J.ended&&(J.needReadable||J.length<J.highWaterMark||J.length===0)}E.prototype.isPaused=function(){return this._readableState.flowing===!1},E.prototype.setEncoding=function(J){return x||(x=k("string_decoder/").StringDecoder),this._readableState.decoder=new x(J),this._readableState.encoding=J,this};var N=8388608;function P(J){return J>=N?J=N:(J--,J|=J>>>1,J|=J>>>2,J|=J>>>4,J|=J>>>8,J|=J>>>16,J++),J}function W(J,Ee){return J<=0||Ee.length===0&&Ee.ended?0:Ee.objectMode?1:J!==J?Ee.flowing&&Ee.length?Ee.buffer.head.data.length:Ee.length:(J>Ee.highWaterMark&&(Ee.highWaterMark=P(J)),J<=Ee.length?J:Ee.ended?Ee.length:(Ee.needReadable=!0,0))}E.prototype.read=function(J){m("read",J),J=parseInt(J,10);var Ee=this._readableState,qe=J;if(J!==0&&(Ee.emittedReadable=!1),J===0&&Ee.needReadable&&(Ee.length>=Ee.highWaterMark||Ee.ended))return m("read: emitReadable",Ee.length,Ee.ended),Ee.length===0&&Ee.ended?_e(this):j(this),null;if(J=W(J,Ee),J===0&&Ee.ended)return Ee.length===0&&_e(this),null;var ae=Ee.needReadable;m("need readable",ae),(Ee.length===0||Ee.length-J<Ee.highWaterMark)&&(ae=!0,m("length less than watermark",ae)),Ee.ended||Ee.reading?(ae=!1,m("reading or ended",ae)):ae&&(m("do read"),Ee.reading=!0,Ee.sync=!0,Ee.length===0&&(Ee.needReadable=!0),this._read(Ee.highWaterMark),Ee.sync=!1,Ee.reading||(J=W(qe,Ee)));var V;return J>0?V=ie(J,Ee):V=null,V===null?(Ee.needReadable=!0,J=0):Ee.length-=J,Ee.length===0&&(Ee.ended||(Ee.needReadable=!0),qe!==J&&Ee.ended&&_e(this)),V!==null&&this.emit("data",V),V};function R(J,Ee){if(Ee.ended)return;if(Ee.decoder){var qe=Ee.decoder.end();qe&&qe.length&&(Ee.buffer.push(qe),Ee.length+=Ee.objectMode?1:qe.length)}Ee.ended=!0,j(J)}function j(J){var Ee=J._readableState;Ee.needReadable=!1,Ee.emittedReadable||(m("emitReadable",Ee.flowing),Ee.emittedReadable=!0,Ee.sync?u.nextTick(H,J):H(J))}function H(J){m("emit readable"),J.emit("readable"),oe(J)}function K(J,Ee){Ee.readingMore||(Ee.readingMore=!0,u.nextTick(U,J,Ee))}function U(J,Ee){for(var qe=Ee.length;!Ee.reading&&!Ee.flowing&&!Ee.ended&&Ee.length<Ee.highWaterMark&&!(m("maybeReadMore read 0"),J.read(0),qe===Ee.length);)qe=Ee.length;Ee.readingMore=!1}E.prototype._read=function(J){this.emit("error",new Error("_read() is not implemented"))},E.prototype.pipe=function(J,Ee){var qe=this,ae=this._readableState;switch(ae.pipesCount){case 0:ae.pipes=J;break;case 1:ae.pipes=[ae.pipes,J];break;default:ae.pipes.push(J);break}ae.pipesCount+=1,m("pipe count=%d opts=%j",ae.pipesCount,Ee);var V=(!Ee||Ee.end!==!1)&&J!==w.stdout&&J!==w.stderr,X=V?ge:nt;ae.endEmitted?u.nextTick(X):qe.once("end",X),J.on("unpipe",Z);function Z(Ne,St){m("onunpipe"),Ne===qe&&(St&&St.hasUnpiped===!1&&(St.hasUnpiped=!0,me()))}function ge(){m("onend"),J.end()}var le=G(qe);J.on("drain",le);var Se=!1;function me(){m("cleanup"),J.removeListener("close",We),J.removeListener("finish",st),J.removeListener("drain",le),J.removeListener("error",xe),J.removeListener("unpipe",Z),qe.removeListener("end",ge),qe.removeListener("end",nt),qe.removeListener("data",we),Se=!0,ae.awaitDrain&&(!J._writableState||J._writableState.needDrain)&&le()}var $=!1;qe.on("data",we);function we(Ne){m("ondata"),$=!1;var St=J.write(Ne);St===!1&&!$&&((ae.pipesCount===1&&ae.pipes===J||ae.pipesCount>1&&Xe(ae.pipes,J)!==-1)&&!Se&&(m("false write response, pause",qe._readableState.awaitDrain),qe._readableState.awaitDrain++,$=!0),qe.pause())}function xe(Ne){m("onerror",Ne),nt(),J.removeListener("error",xe),i(J,"error")===0&&J.emit("error",Ne)}T(J,"error",xe);function We(){J.removeListener("finish",st),nt()}J.once("close",We);function st(){m("onfinish"),J.removeListener("close",We),nt()}J.once("finish",st);function nt(){m("unpipe"),qe.unpipe(J)}return J.emit("pipe",qe),ae.flowing||(m("pipe resume"),qe.resume()),J};function G(J){return function(){var Ee=J._readableState;m("pipeOnDrain",Ee.awaitDrain),Ee.awaitDrain&&Ee.awaitDrain--,Ee.awaitDrain===0&&i(J,"data")&&(Ee.flowing=!0,oe(J))}}E.prototype.unpipe=function(J){var Ee=this._readableState,qe={hasUnpiped:!1};if(Ee.pipesCount===0)return this;if(Ee.pipesCount===1)return J&&J!==Ee.pipes?this:(J||(J=Ee.pipes),Ee.pipes=null,Ee.pipesCount=0,Ee.flowing=!1,J&&J.emit("unpipe",this,qe),this);if(!J){var ae=Ee.pipes,V=Ee.pipesCount;Ee.pipes=null,Ee.pipesCount=0,Ee.flowing=!1;for(var X=0;X<V;X++)ae[X].emit("unpipe",this,qe);return this}var Z=Xe(Ee.pipes,J);return Z===-1?this:(Ee.pipes.splice(Z,1),Ee.pipesCount-=1,Ee.pipesCount===1&&(Ee.pipes=Ee.pipes[0]),J.emit("unpipe",this,qe),this)},E.prototype.on=function(J,Ee){var qe=r.prototype.on.call(this,J,Ee);if(J==="data")this._readableState.flowing!==!1&&this.resume();else if(J==="readable"){var ae=this._readableState;!ae.endEmitted&&!ae.readableListening&&(ae.readableListening=ae.needReadable=!0,ae.emittedReadable=!1,ae.reading?ae.length&&j(this):u.nextTick(z,this))}return qe},E.prototype.addListener=E.prototype.on;function z(J){m("readable nexttick read 0"),J.read(0)}E.prototype.resume=function(){var J=this._readableState;return J.flowing||(m("resume"),J.flowing=!0,Y(this,J)),this};function Y(J,Ee){Ee.resumeScheduled||(Ee.resumeScheduled=!0,u.nextTick(q,J,Ee))}function q(J,Ee){Ee.reading||(m("resume read 0"),J.read(0)),Ee.resumeScheduled=!1,Ee.awaitDrain=0,J.emit("resume"),oe(J),Ee.flowing&&!Ee.reading&&J.read(0)}E.prototype.pause=function(){return m("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(m("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function oe(J){var Ee=J._readableState;for(m("flow",Ee.flowing);Ee.flowing&&J.read()!==null;);}E.prototype.wrap=function(J){var Ee=this,qe=this._readableState,ae=!1;J.on("end",function(){if(m("wrapped end"),qe.decoder&&!qe.ended){var Z=qe.decoder.end();Z&&Z.length&&Ee.push(Z)}Ee.push(null)}),J.on("data",function(Z){if(m("wrapped data"),qe.decoder&&(Z=qe.decoder.write(Z)),qe.objectMode&&Z==null)return;if(!qe.objectMode&&(!Z||!Z.length))return;var ge=Ee.push(Z);ge||(ae=!0,J.pause())});for(var V in J)this[V]===void 0&&typeof J[V]=="function"&&(this[V]=function(Z){return function(){return J[Z].apply(J,arguments)}}(V));for(var X=0;X<C.length;X++)J.on(C[X],this.emit.bind(this,C[X]));return this._read=function(Z){m("wrapped _read",Z),ae&&(ae=!1,J.resume())},this},Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),E._fromList=ie;function ie(J,Ee){if(Ee.length===0)return null;var qe;return Ee.objectMode?qe=Ee.buffer.shift():!J||J>=Ee.length?(Ee.decoder?qe=Ee.buffer.join(""):Ee.buffer.length===1?qe=Ee.buffer.head.data:qe=Ee.buffer.concat(Ee.length),Ee.buffer.clear()):qe=se(J,Ee.buffer,Ee.decoder),qe}function se(J,Ee,qe){var ae;return J<Ee.head.data.length?(ae=Ee.head.data.slice(0,J),Ee.head.data=Ee.head.data.slice(J)):J===Ee.head.data.length?ae=Ee.shift():ae=qe?he(J,Ee):pe(J,Ee),ae}function he(J,Ee){var qe=Ee.head,ae=1,V=qe.data;for(J-=V.length;qe=qe.next;){var X=qe.data,Z=J>X.length?X.length:J;if(Z===X.length?V+=X:V+=X.slice(0,J),J-=Z,J===0){Z===X.length?(++ae,qe.next?Ee.head=qe.next:Ee.head=Ee.tail=null):(Ee.head=qe,qe.data=X.slice(Z));break}++ae}return Ee.length-=ae,V}function pe(J,Ee){var qe=s.allocUnsafe(J),ae=Ee.head,V=1;for(ae.data.copy(qe),J-=ae.data.length;ae=ae.next;){var X=ae.data,Z=J>X.length?X.length:J;if(X.copy(qe,qe.length-J,0,Z),J-=Z,J===0){Z===X.length?(++V,ae.next?Ee.head=ae.next:Ee.head=Ee.tail=null):(Ee.head=ae,ae.data=X.slice(Z));break}++V}return Ee.length-=V,qe}function _e(J){var Ee=J._readableState;if(Ee.length>0)throw new Error('"endReadable()" called on non-empty stream');Ee.endEmitted||(Ee.ended=!0,u.nextTick(De,Ee,J))}function De(J,Ee){!J.endEmitted&&J.length===0&&(J.endEmitted=!0,Ee.readable=!1,Ee.emit("end"))}function Xe(J,Ee){for(var qe=0,ae=J.length;qe<ae;qe++)if(J[qe]===Ee)return qe;return-1}}).call(this,k("_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(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=b(w);function b(e){return e&&e.__esModule?e:{default:e}}B.exports=l;var g=k("./_stream_duplex"),v=(0,A.default)(k("core-util-is"));v.inherits=k("inherits"),v.inherits(l,g);function f(e,n){var i=this._transformState;i.transforming=!1;var r=i.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));i.writechunk=null,i.writecb=null,n!=null&&this.push(n),r(e);var s=this._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);g.call(this,e),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",u)}function u(){var e=this;typeof this._flush=="function"?this._flush(function(n,i){o(e,n,i)}):o(this,null,null)}l.prototype.push=function(e,n){return this._transformState.needTransform=!1,g.prototype.push.call(this,e,n)},l.prototype._transform=function(e,n,i){throw new Error("_transform() is not implemented")},l.prototype._write=function(e,n,i){var r=this._transformState;if(r.writecb=i,r.writechunk=e,r.writeencoding=n,!r.transforming){var s=this._readableState;(r.needTransform||s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}},l.prototype._read=function(e){var n=this._transformState;n.writechunk!==null&&n.writecb&&!n.transforming?(n.transforming=!0,this._transform(n.writechunk,n.writeencoding,n.afterTransform)):n.needTransform=!0},l.prototype._destroy=function(e,n){var i=this;g.prototype._destroy.call(this,e,function(r){n(r),i.emit("close")})};function o(e,n,i){if(n)return e.emit("error",n);if(i!=null&&e.push(i),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(k,B,d){(function(w,A){"use strict";var b=k("babel-runtime/core-js/object/define-property"),g=r(b),v=k("babel-runtime/core-js/symbol/has-instance"),f=r(v),l=k("babel-runtime/core-js/symbol"),u=r(l),o=k("babel-runtime/core-js/object/create"),e=r(o),n=k("babel-runtime/core-js/set-immediate"),i=r(n);function r(pe){return pe&&pe.__esModule?pe:{default:pe}}var s=k("process-nextick-args");B.exports=D;function t(pe,_e,De){this.chunk=pe,this.encoding=_e,this.callback=De,this.next=null}function a(pe){var _e=this;this.next=null,this.entry=null,this.finish=function(){he(_e,pe)}}var c=!w.browser&&["v0.10","v0.9."].indexOf(w.version.slice(0,5))>-1?i.default:s.nextTick,h;D.WritableState=I;var p=(0,e.default)(k("core-util-is"));p.inherits=k("inherits");var m={deprecate:k("util-deprecate")},S=k("./internal/streams/stream"),y=k("safe-buffer").Buffer,x=A.Uint8Array||function(){};function C(pe){return y.from(pe)}function T(pe){return y.isBuffer(pe)||pe instanceof x}var _=k("./internal/streams/destroy");p.inherits(D,S);function E(){}function I(pe,_e){h=h||k("./_stream_duplex"),pe=pe||{};var De=_e instanceof h;this.objectMode=!!pe.objectMode,De&&(this.objectMode=this.objectMode||!!pe.writableObjectMode);var Xe=pe.highWaterMark,J=pe.writableHighWaterMark,Ee=this.objectMode?16:16*1024;Xe||Xe===0?this.highWaterMark=Xe:De&&(J||J===0)?this.highWaterMark=J:this.highWaterMark=Ee,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 qe=pe.decodeStrings===!1;this.decodeStrings=!qe,this.defaultEncoding=pe.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ae){K(_e,ae)},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 a(this)}I.prototype.getBuffer=function(){for(var _e=this.bufferedRequest,De=[];_e;)De.push(_e),_e=_e.next;return De},function(){try{Object.defineProperty(I.prototype,"buffer",{get:m.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(pe){}}();var L;typeof u.default=="function"&&f.default&&typeof Function.prototype[f.default]=="function"?(L=Function.prototype[f.default],(0,g.default)(D,f.default,{value:function(_e){return L.call(this,_e)?!0:this!==D?!1:_e&&_e._writableState instanceof I}})):L=function(_e){return _e instanceof this};function D(pe){if(h=h||k("./_stream_duplex"),!L.call(D,this)&&!(this instanceof h))return new D(pe);this._writableState=new I(pe,this),this.writable=!0,pe&&(typeof pe.write=="function"&&(this._write=pe.write),typeof pe.writev=="function"&&(this._writev=pe.writev),typeof pe.destroy=="function"&&(this._destroy=pe.destroy),typeof pe.final=="function"&&(this._final=pe.final)),S.call(this)}D.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function F(pe,_e){var De=new Error("write after end");pe.emit("error",De),s.nextTick(_e,De)}function N(pe,_e,De,Xe){var J=!0,Ee=!1;return De===null?Ee=new TypeError("May not write null values to stream"):typeof De!="string"&&De!==void 0&&!_e.objectMode&&(Ee=new TypeError("Invalid non-string/buffer chunk")),Ee&&(pe.emit("error",Ee),s.nextTick(Xe,Ee),J=!1),J}D.prototype.write=function(pe,_e,De){var Xe=this._writableState,J=!1,Ee=!Xe.objectMode&&T(pe);return Ee&&!y.isBuffer(pe)&&(pe=C(pe)),typeof _e=="function"&&(De=_e,_e=null),Ee?_e="buffer":_e||(_e=Xe.defaultEncoding),typeof De!="function"&&(De=E),Xe.ended?F(this,De):(Ee||N(this,Xe,pe,De))&&(Xe.pendingcb++,J=W(this,Xe,Ee,pe,_e,De)),J},D.prototype.cork=function(){var pe=this._writableState;pe.corked++},D.prototype.uncork=function(){var pe=this._writableState;pe.corked&&(pe.corked--,!pe.writing&&!pe.corked&&!pe.finished&&!pe.bufferProcessing&&pe.bufferedRequest&&z(this,pe))},D.prototype.setDefaultEncoding=function(_e){if(typeof _e=="string"&&(_e=_e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((_e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+_e);return this._writableState.defaultEncoding=_e,this};function P(pe,_e,De){return!pe.objectMode&&pe.decodeStrings!==!1&&typeof _e=="string"&&(_e=y.from(_e,De)),_e}Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function W(pe,_e,De,Xe,J,Ee){if(!De){var qe=P(_e,Xe,J);Xe!==qe&&(De=!0,J="buffer",Xe=qe)}var ae=_e.objectMode?1:Xe.length;_e.length+=ae;var V=_e.length<_e.highWaterMark;if(V||(_e.needDrain=!0),_e.writing||_e.corked){var X=_e.lastBufferedRequest;_e.lastBufferedRequest={chunk:Xe,encoding:J,isBuf:De,callback:Ee,next:null},X?X.next=_e.lastBufferedRequest:_e.bufferedRequest=_e.lastBufferedRequest,_e.bufferedRequestCount+=1}else R(pe,_e,!1,ae,Xe,J,Ee);return V}function R(pe,_e,De,Xe,J,Ee,qe){_e.writelen=Xe,_e.writecb=qe,_e.writing=!0,_e.sync=!0,De?pe._writev(J,_e.onwrite):pe._write(J,Ee,_e.onwrite),_e.sync=!1}function j(pe,_e,De,Xe,J){--_e.pendingcb,De?(s.nextTick(J,Xe),s.nextTick(ie,pe,_e),pe._writableState.errorEmitted=!0,pe.emit("error",Xe)):(J(Xe),pe._writableState.errorEmitted=!0,pe.emit("error",Xe),ie(pe,_e))}function H(pe){pe.writing=!1,pe.writecb=null,pe.length-=pe.writelen,pe.writelen=0}function K(pe,_e){var De=pe._writableState,Xe=De.sync,J=De.writecb;if(H(De),_e)j(pe,De,Xe,_e,J);else{var Ee=Y(De);!Ee&&!De.corked&&!De.bufferProcessing&&De.bufferedRequest&&z(pe,De),Xe?c(U,pe,De,Ee,J):U(pe,De,Ee,J)}}function U(pe,_e,De,Xe){De||G(pe,_e),_e.pendingcb--,Xe(),ie(pe,_e)}function G(pe,_e){_e.length===0&&_e.needDrain&&(_e.needDrain=!1,pe.emit("drain"))}function z(pe,_e){_e.bufferProcessing=!0;var De=_e.bufferedRequest;if(pe._writev&&De&&De.next){var Xe=_e.bufferedRequestCount,J=new Array(Xe),Ee=_e.corkedRequestsFree;Ee.entry=De;for(var qe=0,ae=!0;De;)J[qe]=De,De.isBuf||(ae=!1),De=De.next,qe+=1;J.allBuffers=ae,R(pe,_e,!0,_e.length,J,"",Ee.finish),_e.pendingcb++,_e.lastBufferedRequest=null,Ee.next?(_e.corkedRequestsFree=Ee.next,Ee.next=null):_e.corkedRequestsFree=new a(_e),_e.bufferedRequestCount=0}else{for(;De;){var V=De.chunk,X=De.encoding,Z=De.callback,ge=_e.objectMode?1:V.length;if(R(pe,_e,!1,ge,V,X,Z),De=De.next,_e.bufferedRequestCount--,_e.writing)break}De===null&&(_e.lastBufferedRequest=null)}_e.bufferedRequest=De,_e.bufferProcessing=!1}D.prototype._write=function(pe,_e,De){De(new Error("_write() is not implemented"))},D.prototype._writev=null,D.prototype.end=function(pe,_e,De){var Xe=this._writableState;typeof pe=="function"?(De=pe,pe=null,_e=null):typeof _e=="function"&&(De=_e,_e=null),pe!=null&&this.write(pe,_e),Xe.corked&&(Xe.corked=1,this.uncork()),!Xe.ending&&!Xe.finished&&se(this,Xe,De)};function Y(pe){return pe.ending&&pe.length===0&&pe.bufferedRequest===null&&!pe.finished&&!pe.writing}function q(pe,_e){pe._final(function(De){_e.pendingcb--,De&&pe.emit("error",De),_e.prefinished=!0,pe.emit("prefinish"),ie(pe,_e)})}function oe(pe,_e){!_e.prefinished&&!_e.finalCalled&&(typeof pe._final=="function"?(_e.pendingcb++,_e.finalCalled=!0,s.nextTick(q,pe,_e)):(_e.prefinished=!0,pe.emit("prefinish")))}function ie(pe,_e){var De=Y(_e);return De&&(oe(pe,_e),_e.pendingcb===0&&(_e.finished=!0,pe.emit("finish"))),De}function se(pe,_e,De){_e.ending=!0,ie(pe,_e),De&&(_e.finished?s.nextTick(De):pe.once("finish",De)),_e.ended=!0,pe.writable=!1}function he(pe,_e,De){var Xe=pe.entry;for(pe.entry=null;Xe;){var J=Xe.callback;_e.pendingcb--,J(De),Xe=Xe.next}_e.corkedRequestsFree?_e.corkedRequestsFree.next=pe:_e.corkedRequestsFree=pe}Object.defineProperty(D.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(_e){if(!this._writableState)return;this._writableState.destroyed=_e}}),D.prototype.destroy=_.destroy,D.prototype._undestroy=_.undestroy,D.prototype._destroy=function(pe,_e){this.end(),_e(pe)}}).call(this,k("_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(k,B,d){"use strict";function w(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}var A=k("safe-buffer").Buffer,b=k("util");function g(v,f,l){v.copy(f,l)}B.exports=function(){function v(){w(this,v),this.head=null,this.tail=null,this.length=0}return v.prototype.push=function(l){var u={data:l,next:null};this.length>0?this.tail.next=u:this.head=u,this.tail=u,++this.length},v.prototype.unshift=function(l){var u={data:l,next:this.head};this.length===0&&(this.tail=u),this.head=u,++this.length},v.prototype.shift=function(){if(this.length===0)return;var l=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,l},v.prototype.clear=function(){this.head=this.tail=null,this.length=0},v.prototype.join=function(l){if(this.length===0)return"";for(var u=this.head,o=""+u.data;u=u.next;)o+=l+u.data;return o},v.prototype.concat=function(l){if(this.length===0)return A.alloc(0);if(this.length===1)return this.head.data;for(var u=A.allocUnsafe(l>>>0),o=this.head,e=0;o;)g(o.data,u,e),e+=o.data.length,o=o.next;return u},v}(),b&&b.inspect&&b.inspect.custom&&(B.exports.prototype[b.inspect.custom]=function(){var v=b.inspect({length:this.length});return this.constructor.name+" "+v})},{"safe-buffer":228,util:71}],220:[function(k,B,d){"use strict";var w=k("process-nextick-args");function A(v,f){var l=this,u=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return u||o?(f?f(v):v&&(!this._writableState||!this._writableState.errorEmitted)&&w.nextTick(g,this,v),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(v||null,function(e){!f&&e?(w.nextTick(g,l,e),l._writableState&&(l._writableState.errorEmitted=!0)):f&&f(e)}),this)}function b(){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 g(v,f){v.emit("error",f)}B.exports={destroy:A,undestroy:b}},{"process-nextick-args":207}],221:[function(k,B,d){"use strict";B.exports=k("events").EventEmitter},{events:192}],222:[function(k,B,d){B.exports=k("./readable").PassThrough},{"./readable":223}],223:[function(k,B,d){d=B.exports=k("./lib/_stream_readable.js"),d.Stream=d,d.Readable=d,d.Writable=k("./lib/_stream_writable.js"),d.Duplex=k("./lib/_stream_duplex.js"),d.Transform=k("./lib/_stream_transform.js"),d.PassThrough=k("./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(k,B,d){B.exports=k("./readable").Transform},{"./readable":223}],225:[function(k,B,d){B.exports=k("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(k,B,d){var w=function(){return this}()||Function("return this")(),A=w.regeneratorRuntime&&Object.getOwnPropertyNames(w).indexOf("regeneratorRuntime")>=0,b=A&&w.regeneratorRuntime;if(w.regeneratorRuntime=void 0,B.exports=k("./runtime"),A)w.regeneratorRuntime=b;else try{delete w.regeneratorRuntime}catch(g){w.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(k,B,d){!function(w){"use strict";var A=Object.prototype,b=A.hasOwnProperty,g,v=typeof Symbol=="function"?Symbol:{},f=v.iterator||"@@iterator",l=v.asyncIterator||"@@asyncIterator",u=v.toStringTag||"@@toStringTag",o=typeof B=="object",e=w.regeneratorRuntime;if(e){o&&(B.exports=e);return}e=w.regeneratorRuntime=o?B.exports:{};function n(W,R,j,H){var K=R&&R.prototype instanceof h?R:h,U=Object.create(K.prototype),G=new F(H||[]);return U._invoke=E(W,j,G),U}e.wrap=n;function i(W,R,j){try{return{type:"normal",arg:W.call(R,j)}}catch(H){return{type:"throw",arg:H}}}var r="suspendedStart",s="suspendedYield",t="executing",a="completed",c={};function h(){}function p(){}function m(){}var S={};S[f]=function(){return this};var y=Object.getPrototypeOf,x=y&&y(y(N([])));x&&x!==A&&b.call(x,f)&&(S=x);var C=m.prototype=h.prototype=Object.create(S);p.prototype=C.constructor=m,m.constructor=p,m[u]=p.displayName="GeneratorFunction";function T(W){["next","throw","return"].forEach(function(R){W[R]=function(j){return this._invoke(R,j)}})}e.isGeneratorFunction=function(W){var R=typeof W=="function"&&W.constructor;return R?R===p||(R.displayName||R.name)==="GeneratorFunction":!1},e.mark=function(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,m):(W.__proto__=m,u in W||(W[u]="GeneratorFunction")),W.prototype=Object.create(C),W},e.awrap=function(W){return{__await:W}};function _(W){function R(K,U,G,z){var Y=i(W[K],W,U);if(Y.type==="throw")z(Y.arg);else{var q=Y.arg,oe=q.value;return oe&&typeof oe=="object"&&b.call(oe,"__await")?Promise.resolve(oe.__await).then(function(ie){R("next",ie,G,z)},function(ie){R("throw",ie,G,z)}):Promise.resolve(oe).then(function(ie){q.value=ie,G(q)},z)}}var j;function H(K,U){function G(){return new Promise(function(z,Y){R(K,U,z,Y)})}return j=j?j.then(G,G):G()}this._invoke=H}T(_.prototype),_.prototype[l]=function(){return this},e.AsyncIterator=_,e.async=function(W,R,j,H){var K=new _(n(W,R,j,H));return e.isGeneratorFunction(R)?K:K.next().then(function(U){return U.done?U.value:K.next()})};function E(W,R,j){var H=r;return function(U,G){if(H===t)throw new Error("Generator is already running");if(H===a){if(U==="throw")throw G;return P()}for(j.method=U,j.arg=G;;){var z=j.delegate;if(z){var Y=I(z,j);if(Y){if(Y===c)continue;return Y}}if(j.method==="next")j.sent=j._sent=j.arg;else if(j.method==="throw"){if(H===r)throw H=a,j.arg;j.dispatchException(j.arg)}else j.method==="return"&&j.abrupt("return",j.arg);H=t;var q=i(W,R,j);if(q.type==="normal"){if(H=j.done?a:s,q.arg===c)continue;return{value:q.arg,done:j.done}}else q.type==="throw"&&(H=a,j.method="throw",j.arg=q.arg)}}}function I(W,R){var j=W.iterator[R.method];if(j===g){if(R.delegate=null,R.method==="throw"){if(W.iterator.return&&(R.method="return",R.arg=g,I(W,R),R.method==="throw"))return c;R.method="throw",R.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var H=i(j,W.iterator,R.arg);if(H.type==="throw")return R.method="throw",R.arg=H.arg,R.delegate=null,c;var K=H.arg;if(!K)return R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,c;if(K.done)R[W.resultName]=K.value,R.next=W.nextLoc,R.method!=="return"&&(R.method="next",R.arg=g);else return K;return R.delegate=null,c}T(C),C[u]="Generator",C[f]=function(){return this},C.toString=function(){return"[object Generator]"};function L(W){var R={tryLoc:W[0]};1 in W&&(R.catchLoc=W[1]),2 in W&&(R.finallyLoc=W[2],R.afterLoc=W[3]),this.tryEntries.push(R)}function D(W){var R=W.completion||{};R.type="normal",delete R.arg,W.completion=R}function F(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(L,this),this.reset(!0)}e.keys=function(W){var R=[];for(var j in W)R.push(j);return R.reverse(),function H(){for(;R.length;){var K=R.pop();if(K in W)return H.value=K,H.done=!1,H}return H.done=!0,H}};function N(W){if(W){var R=W[f];if(R)return R.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var j=-1,H=function K(){for(;++j<W.length;)if(b.call(W,j))return K.value=W[j],K.done=!1,K;return K.value=g,K.done=!0,K};return H.next=H}}return{next:P}}e.values=N;function P(){return{value:g,done:!0}}F.prototype={constructor:F,reset:function(R){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(D),!R)for(var j in this)j.charAt(0)==="t"&&b.call(this,j)&&!isNaN(+j.slice(1))&&(this[j]=g)},stop:function(){this.done=!0;var R=this.tryEntries[0],j=R.completion;if(j.type==="throw")throw j.arg;return this.rval},dispatchException:function(R){if(this.done)throw R;var j=this;function H(q,oe){return G.type="throw",G.arg=R,j.next=q,oe&&(j.method="next",j.arg=g),!!oe}for(var K=this.tryEntries.length-1;K>=0;--K){var U=this.tryEntries[K],G=U.completion;if(U.tryLoc==="root")return H("end");if(U.tryLoc<=this.prev){var z=b.call(U,"catchLoc"),Y=b.call(U,"finallyLoc");if(z&&Y){if(this.prev<U.catchLoc)return H(U.catchLoc,!0);if(this.prev<U.finallyLoc)return H(U.finallyLoc)}else if(z){if(this.prev<U.catchLoc)return H(U.catchLoc,!0)}else if(Y){if(this.prev<U.finallyLoc)return H(U.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(R,j){for(var H=this.tryEntries.length-1;H>=0;--H){var K=this.tryEntries[H];if(K.tryLoc<=this.prev&&b.call(K,"finallyLoc")&&this.prev<K.finallyLoc){var U=K;break}}U&&(R==="break"||R==="continue")&&U.tryLoc<=j&&j<=U.finallyLoc&&(U=null);var G=U?U.completion:{};return G.type=R,G.arg=j,U?(this.method="next",this.next=U.finallyLoc,c):this.complete(G)},complete:function(R,j){if(R.type==="throw")throw R.arg;return R.type==="break"||R.type==="continue"?this.next=R.arg:R.type==="return"?(this.rval=this.arg=R.arg,this.method="return",this.next="end"):R.type==="normal"&&j&&(this.next=j),c},finish:function(R){for(var j=this.tryEntries.length-1;j>=0;--j){var H=this.tryEntries[j];if(H.finallyLoc===R)return this.complete(H.completion,H.afterLoc),D(H),c}},catch:function(R){for(var j=this.tryEntries.length-1;j>=0;--j){var H=this.tryEntries[j];if(H.tryLoc===R){var K=H.completion;if(K.type==="throw"){var U=K.arg;D(H)}return U}}throw new Error("illegal catch attempt")},delegateYield:function(R,j,H){return this.delegate={iterator:N(R),resultName:j,nextLoc:H},this.method==="next"&&(this.arg=g),c}}}(function(){return this}()||Function("return this")())},{}],228:[function(k,B,d){var w=k("buffer"),A=w.Buffer;function b(v,f){for(var l in v)f[l]=v[l]}A.from&&A.alloc&&A.allocUnsafe&&A.allocUnsafeSlow?B.exports=w:(b(w,d),d.Buffer=g);function g(v,f,l){return A(v,f,l)}b(A,g),g.from=function(v,f,l){if(typeof v=="number")throw new TypeError("Argument must not be a number");return A(v,f,l)},g.alloc=function(v,f,l){if(typeof v!="number")throw new TypeError("Argument must be a number");var u=A(v);return f!==void 0?typeof l=="string"?u.fill(f,l):u.fill(f):u.fill(0),u},g.allocUnsafe=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return A(v)},g.allocUnsafeSlow=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return w.SlowBuffer(v)}},{buffer:73}],229:[function(k,B,d){(function(w){"use strict";var A=k("babel-runtime/core-js/string/from-code-point"),b=s(A),g=k("babel-runtime/core-js/json/stringify"),v=s(g),f=k("babel-runtime/helpers/typeof"),l=s(f),u=k("babel-runtime/core-js/object/define-property"),o=s(u),e=k("babel-runtime/core-js/object/keys"),n=s(e),i=k("babel-runtime/core-js/object/create"),r=s(i);function s(t){return t&&t.__esModule?t:{default:t}}(function(t){t.parser=function(X,Z){return new c(X,Z)},t.SAXParser=c,t.SAXStream=C,t.createStream=x,t.MAX_BUFFER_LENGTH=64*1024;var a=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function c(X,Z){if(!(this instanceof c))return new c(X,Z);var ge=this;p(ge),ge.q=ge.c="",ge.bufferCheckPosition=t.MAX_BUFFER_LENGTH,ge.opt=Z||{},ge.opt.lowercase=ge.opt.lowercase||ge.opt.lowercasetags,ge.looseCase=ge.opt.lowercase?"toLowerCase":"toUpperCase",ge.tags=[],ge.closed=ge.closedRoot=ge.sawRoot=!1,ge.tag=ge.error=null,ge.strict=!!X,ge.noscript=!!(X||ge.opt.noscript),ge.state=U.BEGIN,ge.strictEntities=ge.opt.strictEntities,ge.ENTITIES=ge.strictEntities?(0,r.default)(t.XML_ENTITIES):(0,r.default)(t.ENTITIES),ge.attribList=[],ge.opt.xmlns&&(ge.ns=(0,r.default)(L)),ge.trackPosition=ge.opt.position!==!1,ge.trackPosition&&(ge.position=ge.line=ge.column=0),z(ge,"onready")}r.default||(Object.create=function(X){function Z(){}Z.prototype=X;var ge=new Z;return ge}),n.default||(Object.keys=function(X){var Z=[];for(var ge in X)X.hasOwnProperty(ge)&&Z.push(ge);return Z});function h(X){for(var Z=Math.max(t.MAX_BUFFER_LENGTH,10),ge=0,le=0,Se=a.length;le<Se;le++){var me=X[a[le]].length;if(me>Z)switch(a[le]){case"textNode":q(X);break;case"cdata":Y(X,"oncdata",X.cdata),X.cdata="";break;case"script":Y(X,"onscript",X.script),X.script="";break;default:ie(X,"Max buffer length exceeded: "+a[le])}ge=Math.max(ge,me)}var $=t.MAX_BUFFER_LENGTH-ge;X.bufferCheckPosition=$+X.position}function p(X){for(var Z=0,ge=a.length;Z<ge;Z++)X[a[Z]]=""}function m(X){q(X),X.cdata!==""&&(Y(X,"oncdata",X.cdata),X.cdata=""),X.script!==""&&(Y(X,"onscript",X.script),X.script="")}c.prototype={end:function(){se(this)},write:V,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){m(this)}};var S;try{S=k("stream").Stream}catch(X){S=function(){}}var y=t.EVENTS.filter(function(X){return X!=="error"&&X!=="end"});function x(X,Z){return new C(X,Z)}function C(X,Z){if(!(this instanceof C))return new C(X,Z);S.apply(this),this._parser=new c(X,Z),this.writable=!0,this.readable=!0;var ge=this;this._parser.onend=function(){ge.emit("end")},this._parser.onerror=function(le){ge.emit("error",le),ge._parser.error=null},this._decoder=null,y.forEach(function(le){(0,o.default)(ge,"on"+le,{get:function(){return ge._parser["on"+le]},set:function(me){if(!me)return ge.removeAllListeners(le),ge._parser["on"+le]=me,me;ge.on(le,me)},enumerable:!0,configurable:!1})})}C.prototype=(0,r.default)(S.prototype,{constructor:{value:C}}),C.prototype.write=function(X){if(typeof w=="function"&&typeof w.isBuffer=="function"&&w.isBuffer(X)){if(!this._decoder){var Z=k("string_decoder").StringDecoder;this._decoder=new Z("utf8")}X=this._decoder.write(X)}return this._parser.write(X.toString()),this.emit("data",X),!0},C.prototype.end=function(X){return X&&X.length&&this.write(X),this._parser.end(),!0},C.prototype.on=function(X,Z){var ge=this;return!ge._parser["on"+X]&&y.indexOf(X)!==-1&&(ge._parser["on"+X]=function(){var le=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);le.splice(0,0,X),ge.emit.apply(ge,le)}),S.prototype.on.call(ge,X,Z)};var T="[CDATA[",_="DOCTYPE",E="http://www.w3.org/XML/1998/namespace",I="http://www.w3.org/2000/xmlns/",L={xml:E,xmlns:I},D=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,F=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,N=/[#:_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]/,P=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function W(X){return X===" "||X===`
`||X==="\r"||X===" "}function R(X){return X==='"'||X==="'"}function j(X){return X===">"||W(X)}function H(X,Z){return X.test(Z)}function K(X,Z){return!H(X,Z)}var U=0;t.STATE={BEGIN:U++,BEGIN_WHITESPACE:U++,TEXT:U++,TEXT_ENTITY:U++,OPEN_WAKA:U++,SGML_DECL:U++,SGML_DECL_QUOTED:U++,DOCTYPE:U++,DOCTYPE_QUOTED:U++,DOCTYPE_DTD:U++,DOCTYPE_DTD_QUOTED:U++,COMMENT_STARTING:U++,COMMENT:U++,COMMENT_ENDING:U++,COMMENT_ENDED:U++,CDATA:U++,CDATA_ENDING:U++,CDATA_ENDING_2:U++,PROC_INST:U++,PROC_INST_BODY:U++,PROC_INST_ENDING:U++,OPEN_TAG:U++,OPEN_TAG_SLASH:U++,ATTRIB:U++,ATTRIB_NAME:U++,ATTRIB_NAME_SAW_WHITE:U++,ATTRIB_VALUE:U++,ATTRIB_VALUE_QUOTED:U++,ATTRIB_VALUE_CLOSED:U++,ATTRIB_VALUE_UNQUOTED:U++,ATTRIB_VALUE_ENTITY_Q:U++,ATTRIB_VALUE_ENTITY_U:U++,CLOSE_TAG:U++,CLOSE_TAG_SAW_WHITE:U++,SCRIPT:U++,SCRIPT_ENDING:U++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,n.default)(t.ENTITIES).forEach(function(X){var Z=t.ENTITIES[X],ge=typeof Z=="number"?String.fromCharCode(Z):Z;t.ENTITIES[X]=ge});for(var G in t.STATE)t.STATE[t.STATE[G]]=G;U=t.STATE;function z(X,Z,ge){X[Z]&&X[Z](ge)}function Y(X,Z,ge){X.textNode&&q(X),z(X,Z,ge)}function q(X){X.textNode=oe(X.opt,X.textNode),X.textNode&&z(X,"ontext",X.textNode),X.textNode=""}function oe(X,Z){return X.trim&&(Z=Z.trim()),X.normalize&&(Z=Z.replace(/\s+/g," ")),Z}function ie(X,Z){return q(X),X.trackPosition&&(Z+=`
Line: `+X.line+`
Column: `+X.column+`
Char: `+X.c),Z=new Error(Z),X.error=Z,z(X,"onerror",Z),X}function se(X){return X.sawRoot&&!X.closedRoot&&he(X,"Unclosed root tag"),X.state!==U.BEGIN&&X.state!==U.BEGIN_WHITESPACE&&X.state!==U.TEXT&&ie(X,"Unexpected end"),q(X),X.c="",X.closed=!0,z(X,"onend"),c.call(X,X.strict,X.opt),X}function he(X,Z){if((typeof X=="undefined"?"undefined":(0,l.default)(X))!=="object"||!(X instanceof c))throw new Error("bad call to strictFail");X.strict&&ie(X,Z)}function pe(X){X.strict||(X.tagName=X.tagName[X.looseCase]());var Z=X.tags[X.tags.length-1]||X,ge=X.tag={name:X.tagName,attributes:{}};X.opt.xmlns&&(ge.ns=Z.ns),X.attribList.length=0,Y(X,"onopentagstart",ge)}function _e(X,Z){var ge=X.indexOf(":"),le=ge<0?["",X]:X.split(":"),Se=le[0],me=le[1];return Z&&X==="xmlns"&&(Se="xmlns",me=""),{prefix:Se,local:me}}function De(X){if(X.strict||(X.attribName=X.attribName[X.looseCase]()),X.attribList.indexOf(X.attribName)!==-1||X.tag.attributes.hasOwnProperty(X.attribName)){X.attribName=X.attribValue="";return}if(X.opt.xmlns){var Z=_e(X.attribName,!0),ge=Z.prefix,le=Z.local;if(ge==="xmlns")if(le==="xml"&&X.attribValue!==E)he(X,"xml: prefix must be bound to "+E+`
Actual: `+X.attribValue);else if(le==="xmlns"&&X.attribValue!==I)he(X,"xmlns: prefix must be bound to "+I+`
Actual: `+X.attribValue);else{var Se=X.tag,me=X.tags[X.tags.length-1]||X;Se.ns===me.ns&&(Se.ns=(0,r.default)(me.ns)),Se.ns[le]=X.attribValue}X.attribList.push([X.attribName,X.attribValue])}else X.tag.attributes[X.attribName]=X.attribValue,Y(X,"onattribute",{name:X.attribName,value:X.attribValue});X.attribName=X.attribValue=""}function Xe(X,Z){if(X.opt.xmlns){var ge=X.tag,le=_e(X.tagName);ge.prefix=le.prefix,ge.local=le.local,ge.uri=ge.ns[le.prefix]||"",ge.prefix&&!ge.uri&&(he(X,"Unbound namespace prefix: "+(0,v.default)(X.tagName)),ge.uri=le.prefix);var Se=X.tags[X.tags.length-1]||X;ge.ns&&Se.ns!==ge.ns&&(0,n.default)(ge.ns).forEach(function(vt){Y(X,"onopennamespace",{prefix:vt,uri:ge.ns[vt]})});for(var me=0,$=X.attribList.length;me<$;me++){var we=X.attribList[me],xe=we[0],We=we[1],st=_e(xe,!0),nt=st.prefix,Ne=st.local,St=nt===""?"":ge.ns[nt]||"",Ye={name:xe,value:We,prefix:nt,local:Ne,uri:St};nt&&nt!=="xmlns"&&!St&&(he(X,"Unbound namespace prefix: "+(0,v.default)(nt)),Ye.uri=nt),X.tag.attributes[xe]=Ye,Y(X,"onattribute",Ye)}X.attribList.length=0}X.tag.isSelfClosing=!!Z,X.sawRoot=!0,X.tags.push(X.tag),Y(X,"onopentag",X.tag),Z||(!X.noscript&&X.tagName.toLowerCase()==="script"?X.state=U.SCRIPT:X.state=U.TEXT,X.tag=null,X.tagName=""),X.attribName=X.attribValue="",X.attribList.length=0}function J(X){if(!X.tagName){he(X,"Weird empty close tag."),X.textNode+="</>",X.state=U.TEXT;return}if(X.script){if(X.tagName!=="script"){X.script+="</"+X.tagName+">",X.tagName="",X.state=U.SCRIPT;return}Y(X,"onscript",X.script),X.script=""}var Z=X.tags.length,ge=X.tagName;X.strict||(ge=ge[X.looseCase]());for(var le=ge;Z--;){var Se=X.tags[Z];if(Se.name!==le)he(X,"Unexpected close tag");else break}if(Z<0){he(X,"Unmatched closing tag: "+X.tagName),X.textNode+="</"+X.tagName+">",X.state=U.TEXT;return}X.tagName=ge;for(var me=X.tags.length;me-- >Z;){var $=X.tag=X.tags.pop();X.tagName=X.tag.name,Y(X,"onclosetag",X.tagName);var we={};for(var xe in $.ns)we[xe]=$.ns[xe];var We=X.tags[X.tags.length-1]||X;X.opt.xmlns&&$.ns!==We.ns&&(0,n.default)($.ns).forEach(function(st){var nt=$.ns[st];Y(X,"onclosenamespace",{prefix:st,uri:nt})})}Z===0&&(X.closedRoot=!0),X.tagName=X.attribValue=X.attribName="",X.attribList.length=0,X.state=U.TEXT}function Ee(X){var Z=X.entity,ge=Z.toLowerCase(),le,Se="";return X.ENTITIES[Z]?X.ENTITIES[Z]:X.ENTITIES[ge]?X.ENTITIES[ge]:(Z=ge,Z.charAt(0)==="#"&&(Z.charAt(1)==="x"?(Z=Z.slice(2),le=parseInt(Z,16),Se=le.toString(16)):(Z=Z.slice(1),le=parseInt(Z,10),Se=le.toString(10))),Z=Z.replace(/^0+/,""),isNaN(le)||Se.toLowerCase()!==Z?(he(X,"Invalid character entity"),"&"+X.entity+";"):(0,b.default)(le))}function qe(X,Z){Z==="<"?(X.state=U.OPEN_WAKA,X.startTagPosition=X.position):W(Z)||(he(X,"Non-whitespace before first tag."),X.textNode=Z,X.state=U.TEXT)}function ae(X,Z){var ge="";return Z<X.length&&(ge=X.charAt(Z)),ge}function V(X){var Z=this;if(this.error)throw this.error;if(Z.closed)return ie(Z,"Cannot write after close. Assign an onready handler.");if(X===null)return se(Z);(typeof X=="undefined"?"undefined":(0,l.default)(X))==="object"&&(X=X.toString());for(var ge=0,le="";!(le=ae(X,ge++),Z.c=le,!le);){Z.trackPosition&&(Z.position++,le===`
`?(Z.line++,Z.column=0):Z.column++);switch(Z.state){case U.BEGIN:if(Z.state=U.BEGIN_WHITESPACE,le==="\uFEFF")continue;qe(Z,le);continue;case U.BEGIN_WHITESPACE:qe(Z,le);continue;case U.TEXT:if(Z.sawRoot&&!Z.closedRoot){for(var Se=ge-1;le&&le!=="<"&&le!=="&";)le=ae(X,ge++),le&&Z.trackPosition&&(Z.position++,le===`
`?(Z.line++,Z.column=0):Z.column++);Z.textNode+=X.substring(Se,ge-1)}le==="<"&&!(Z.sawRoot&&Z.closedRoot&&!Z.strict)?(Z.state=U.OPEN_WAKA,Z.startTagPosition=Z.position):(!W(le)&&(!Z.sawRoot||Z.closedRoot)&&he(Z,"Text data outside of root node."),le==="&"?Z.state=U.TEXT_ENTITY:Z.textNode+=le);continue;case U.SCRIPT:le==="<"?Z.state=U.SCRIPT_ENDING:Z.script+=le;continue;case U.SCRIPT_ENDING:le==="/"?Z.state=U.CLOSE_TAG:(Z.script+="<"+le,Z.state=U.SCRIPT);continue;case U.OPEN_WAKA:if(le==="!")Z.state=U.SGML_DECL,Z.sgmlDecl="";else if(!W(le))if(H(D,le))Z.state=U.OPEN_TAG,Z.tagName=le;else if(le==="/")Z.state=U.CLOSE_TAG,Z.tagName="";else if(le==="?")Z.state=U.PROC_INST,Z.procInstName=Z.procInstBody="";else{if(he(Z,"Unencoded <"),Z.startTagPosition+1<Z.position){var me=Z.position-Z.startTagPosition;le=new Array(me).join(" ")+le}Z.textNode+="<"+le,Z.state=U.TEXT}continue;case U.SGML_DECL:(Z.sgmlDecl+le).toUpperCase()===T?(Y(Z,"onopencdata"),Z.state=U.CDATA,Z.sgmlDecl="",Z.cdata=""):Z.sgmlDecl+le==="--"?(Z.state=U.COMMENT,Z.comment="",Z.sgmlDecl=""):(Z.sgmlDecl+le).toUpperCase()===_?(Z.state=U.DOCTYPE,(Z.doctype||Z.sawRoot)&&he(Z,"Inappropriately located doctype declaration"),Z.doctype="",Z.sgmlDecl=""):le===">"?(Y(Z,"onsgmldeclaration",Z.sgmlDecl),Z.sgmlDecl="",Z.state=U.TEXT):(R(le)&&(Z.state=U.SGML_DECL_QUOTED),Z.sgmlDecl+=le);continue;case U.SGML_DECL_QUOTED:le===Z.q&&(Z.state=U.SGML_DECL,Z.q=""),Z.sgmlDecl+=le;continue;case U.DOCTYPE:le===">"?(Z.state=U.TEXT,Y(Z,"ondoctype",Z.doctype),Z.doctype=!0):(Z.doctype+=le,le==="["?Z.state=U.DOCTYPE_DTD:R(le)&&(Z.state=U.DOCTYPE_QUOTED,Z.q=le));continue;case U.DOCTYPE_QUOTED:Z.doctype+=le,le===Z.q&&(Z.q="",Z.state=U.DOCTYPE);continue;case U.DOCTYPE_DTD:Z.doctype+=le,le==="]"?Z.state=U.DOCTYPE:R(le)&&(Z.state=U.DOCTYPE_DTD_QUOTED,Z.q=le);continue;case U.DOCTYPE_DTD_QUOTED:Z.doctype+=le,le===Z.q&&(Z.state=U.DOCTYPE_DTD,Z.q="");continue;case U.COMMENT:le==="-"?Z.state=U.COMMENT_ENDING:Z.comment+=le;continue;case U.COMMENT_ENDING:le==="-"?(Z.state=U.COMMENT_ENDED,Z.comment=oe(Z.opt,Z.comment),Z.comment&&Y(Z,"oncomment",Z.comment),Z.comment=""):(Z.comment+="-"+le,Z.state=U.COMMENT);continue;case U.COMMENT_ENDED:le!==">"?(he(Z,"Malformed comment"),Z.comment+="--"+le,Z.state=U.COMMENT):Z.state=U.TEXT;continue;case U.CDATA:le==="]"?Z.state=U.CDATA_ENDING:Z.cdata+=le;continue;case U.CDATA_ENDING:le==="]"?Z.state=U.CDATA_ENDING_2:(Z.cdata+="]"+le,Z.state=U.CDATA);continue;case U.CDATA_ENDING_2:le===">"?(Z.cdata&&Y(Z,"oncdata",Z.cdata),Y(Z,"onclosecdata"),Z.cdata="",Z.state=U.TEXT):le==="]"?Z.cdata+="]":(Z.cdata+="]]"+le,Z.state=U.CDATA);continue;case U.PROC_INST:le==="?"?Z.state=U.PROC_INST_ENDING:W(le)?Z.state=U.PROC_INST_BODY:Z.procInstName+=le;continue;case U.PROC_INST_BODY:if(!Z.procInstBody&&W(le))continue;le==="?"?Z.state=U.PROC_INST_ENDING:Z.procInstBody+=le;continue;case U.PROC_INST_ENDING:le===">"?(Y(Z,"onprocessinginstruction",{name:Z.procInstName,body:Z.procInstBody}),Z.procInstName=Z.procInstBody="",Z.state=U.TEXT):(Z.procInstBody+="?"+le,Z.state=U.PROC_INST_BODY);continue;case U.OPEN_TAG:H(F,le)?Z.tagName+=le:(pe(Z),le===">"?Xe(Z):le==="/"?Z.state=U.OPEN_TAG_SLASH:(W(le)||he(Z,"Invalid character in tag name"),Z.state=U.ATTRIB));continue;case U.OPEN_TAG_SLASH:le===">"?(Xe(Z,!0),J(Z)):(he(Z,"Forward-slash in opening tag not followed by >"),Z.state=U.ATTRIB);continue;case U.ATTRIB:if(W(le))continue;le===">"?Xe(Z):le==="/"?Z.state=U.OPEN_TAG_SLASH:H(D,le)?(Z.attribName=le,Z.attribValue="",Z.state=U.ATTRIB_NAME):he(Z,"Invalid attribute name");continue;case U.ATTRIB_NAME:le==="="?Z.state=U.ATTRIB_VALUE:le===">"?(he(Z,"Attribute without value"),Z.attribValue=Z.attribName,De(Z),Xe(Z)):W(le)?Z.state=U.ATTRIB_NAME_SAW_WHITE:H(F,le)?Z.attribName+=le:he(Z,"Invalid attribute name");continue;case U.ATTRIB_NAME_SAW_WHITE:if(le==="=")Z.state=U.ATTRIB_VALUE;else{if(W(le))continue;he(Z,"Attribute without value"),Z.tag.attributes[Z.attribName]="",Z.attribValue="",Y(Z,"onattribute",{name:Z.attribName,value:""}),Z.attribName="",le===">"?Xe(Z):H(D,le)?(Z.attribName=le,Z.state=U.ATTRIB_NAME):(he(Z,"Invalid attribute name"),Z.state=U.ATTRIB)}continue;case U.ATTRIB_VALUE:if(W(le))continue;R(le)?(Z.q=le,Z.state=U.ATTRIB_VALUE_QUOTED):(he(Z,"Unquoted attribute value"),Z.state=U.ATTRIB_VALUE_UNQUOTED,Z.attribValue=le);continue;case U.ATTRIB_VALUE_QUOTED:if(le!==Z.q){le==="&"?Z.state=U.ATTRIB_VALUE_ENTITY_Q:Z.attribValue+=le;continue}De(Z),Z.q="",Z.state=U.ATTRIB_VALUE_CLOSED;continue;case U.ATTRIB_VALUE_CLOSED:W(le)?Z.state=U.ATTRIB:le===">"?Xe(Z):le==="/"?Z.state=U.OPEN_TAG_SLASH:H(D,le)?(he(Z,"No whitespace between attributes"),Z.attribName=le,Z.attribValue="",Z.state=U.ATTRIB_NAME):he(Z,"Invalid attribute name");continue;case U.ATTRIB_VALUE_UNQUOTED:if(!j(le)){le==="&"?Z.state=U.ATTRIB_VALUE_ENTITY_U:Z.attribValue+=le;continue}De(Z),le===">"?Xe(Z):Z.state=U.ATTRIB;continue;case U.CLOSE_TAG:if(Z.tagName)le===">"?J(Z):H(F,le)?Z.tagName+=le:Z.script?(Z.script+="</"+Z.tagName,Z.tagName="",Z.state=U.SCRIPT):(W(le)||he(Z,"Invalid tagname in closing tag"),Z.state=U.CLOSE_TAG_SAW_WHITE);else{if(W(le))continue;K(D,le)?Z.script?(Z.script+="</"+le,Z.state=U.SCRIPT):he(Z,"Invalid tagname in closing tag."):Z.tagName=le}continue;case U.CLOSE_TAG_SAW_WHITE:if(W(le))continue;le===">"?J(Z):he(Z,"Invalid characters in closing tag");continue;case U.TEXT_ENTITY:case U.ATTRIB_VALUE_ENTITY_Q:case U.ATTRIB_VALUE_ENTITY_U:var $,we;switch(Z.state){case U.TEXT_ENTITY:$=U.TEXT,we="textNode";break;case U.ATTRIB_VALUE_ENTITY_Q:$=U.ATTRIB_VALUE_QUOTED,we="attribValue";break;case U.ATTRIB_VALUE_ENTITY_U:$=U.ATTRIB_VALUE_UNQUOTED,we="attribValue";break}le===";"?(Z[we]+=Ee(Z),Z.entity="",Z.state=$):H(Z.entity.length?P:N,le)?Z.entity+=le:(he(Z,"Invalid character in entity name"),Z[we]+="&"+Z.entity+le,Z.entity="",Z.state=$);continue;default:throw new Error(Z,"Unknown state: "+Z.state)}}return Z.position>=Z.bufferCheckPosition&&h(Z),Z}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */b.default||function(){var X=String.fromCharCode,Z=Math.floor,ge=function(){var Se=16384,me=[],$,we,xe=-1,We=arguments.length;if(!We)return"";for(var st="";++xe<We;){var nt=Number(arguments[xe]);if(!isFinite(nt)||nt<0||nt>1114111||Z(nt)!==nt)throw RangeError("Invalid code point: "+nt);nt<=65535?me.push(nt):(nt-=65536,$=(nt>>10)+55296,we=nt%1024+56320,me.push($,we)),(xe+1===We||me.length>Se)&&(st+=X.apply(null,me),me.length=0)}return st};o.default?Object.defineProperty(String,"fromCodePoint",{value:ge,configurable:!0,writable:!0}):String.fromCodePoint=ge}()})(typeof d=="undefined"?(void 0).sax={}:d)}).call(this,k("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(k,B,d){B.exports=b;var w=k("events").EventEmitter,A=k("inherits");A(b,w),b.Readable=k("readable-stream/readable.js"),b.Writable=k("readable-stream/writable.js"),b.Duplex=k("readable-stream/duplex.js"),b.Transform=k("readable-stream/transform.js"),b.PassThrough=k("readable-stream/passthrough.js"),b.Stream=b;function b(){w.call(this)}b.prototype.pipe=function(g,v){var f=this;function l(s){g.writable&&(g.write(s)===!1&&f.pause&&f.pause())}f.on("data",l);function u(){f.readable&&f.resume&&f.resume()}g.on("drain",u),!g._isStdio&&(!v||v.end!==!1)&&(f.on("end",e),f.on("close",n));var o=!1;function e(){if(o)return;o=!0,g.end()}function n(){if(o)return;o=!0,typeof g.destroy=="function"&&g.destroy()}function i(s){if(r(),w.listenerCount(this,"error")===0)throw s}f.on("error",i),g.on("error",i);function r(){f.removeListener("data",l),g.removeListener("drain",u),f.removeListener("end",e),f.removeListener("close",n),f.removeListener("error",i),g.removeListener("error",i),f.removeListener("end",r),f.removeListener("close",r),g.removeListener("close",r)}return f.on("end",r),f.on("close",r),g.on("close",r),g.emit("pipe",f),g}},{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(k,B,d){(function(w){var A=k("./lib/request"),b=k("./lib/response"),g=k("xtend"),v=k("builtin-status-codes"),f=k("url"),l=d;l.request=function(u,o){typeof u=="string"?u=f.parse(u):u=g(u);var e=w.location.protocol.search(/^https?:$/)===-1?"http:":"",n=u.protocol||e,i=u.hostname||u.host,r=u.port,s=u.path||"/";i&&i.indexOf(":")!==-1&&(i="["+i+"]"),u.url=(i?n+"//"+i:"")+(r?":"+r:"")+s,u.method=(u.method||"GET").toUpperCase(),u.headers=u.headers||{};var t=new A(u);return o&&t.on("response",o),t},l.get=function(o,e){var n=l.request(o,e);return n.end(),n},l.ClientRequest=A,l.IncomingMessage=b.IncomingMessage,l.Agent=function(){},l.Agent.defaultMaxSockets=4,l.globalAgent=new l.Agent,l.STATUS_CODES=v,l.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(k,B,d){(function(w){"use strict";d.fetch=l(w.fetch)&&l(w.ReadableStream),d.writableStream=l(w.WritableStream),d.abortController=l(w.AbortController),d.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),d.blobConstructor=!0}catch(u){}var A;function b(){if(A!==void 0)return A;if(w.XMLHttpRequest){A=new w.XMLHttpRequest;try{A.open("GET",w.XDomainRequest?"/":"https://example.com")}catch(u){A=null}}else A=null;return A}function g(u){var o=b();if(!o)return!1;try{return o.responseType=u,o.responseType===u}catch(e){}return!1}var v=typeof w.ArrayBuffer!="undefined",f=v&&l(w.ArrayBuffer.prototype.slice);d.arraybuffer=d.fetch||v&&g("arraybuffer"),d.msstream=!d.fetch&&f&&g("ms-stream"),d.mozchunkedarraybuffer=!d.fetch&&v&&g("moz-chunked-arraybuffer"),d.overrideMimeType=d.fetch||(b()?l(b().overrideMimeType):!1),d.vbArray=l(w.VBArray);function l(u){return typeof u=="function"}A=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(k,B,d){(function(w,A,b){"use strict";var g=k("babel-runtime/core-js/object/keys"),v=f(g);function f(h){return h&&h.__esModule?h:{default:h}}var l=k("./capability"),u=k("inherits"),o=k("./response"),e=k("readable-stream"),n=k("to-arraybuffer"),i=o.IncomingMessage,r=o.readyStates;function s(h,p){return l.fetch&&p?"fetch":l.mozchunkedarraybuffer?"moz-chunked-arraybuffer":l.msstream?"ms-stream":l.arraybuffer&&h?"arraybuffer":l.vbArray&&h?"text:vbarray":"text"}var t=B.exports=function(h){var p=this;e.Writable.call(p),p._opts=h,p._body=[],p._headers={},h.auth&&p.setHeader("Authorization","Basic "+new b(h.auth).toString("base64")),(0,v.default)(h.headers).forEach(function(y){p.setHeader(y,h.headers[y])});var m,S=!0;if(h.mode==="disable-fetch"||"requestTimeout"in h&&!l.abortController)S=!1,m=!0;else if(h.mode==="prefer-streaming")m=!1;else if(h.mode==="allow-wrong-content-type")m=!l.overrideMimeType;else if(!h.mode||h.mode==="default"||h.mode==="prefer-fast")m=!0;else throw new Error("Invalid value for opts.mode");p._mode=s(m,S),p._fetchTimer=null,p.on("finish",function(){p._onFinish()})};u(t,e.Writable),t.prototype.setHeader=function(h,p){var m=this,S=h.toLowerCase();if(c.indexOf(S)!==-1)return;m._headers[S]={name:h,value:p}},t.prototype.getHeader=function(h){var p=this._headers[h.toLowerCase()];return p?p.value:null},t.prototype.removeHeader=function(h){var p=this;delete p._headers[h.toLowerCase()]},t.prototype._onFinish=function(){var h=this;if(h._destroyed)return;var p=h._opts,m=h._headers,S=null;p.method!=="GET"&&p.method!=="HEAD"&&(l.arraybuffer?S=n(b.concat(h._body)):l.blobConstructor?S=new A.Blob(h._body.map(function(E){return n(E)}),{type:(m["content-type"]||{}).value||""}):S=b.concat(h._body).toString());var y=[];if((0,v.default)(m).forEach(function(E){var I=m[E].name,L=m[E].value;Array.isArray(L)?L.forEach(function(D){y.push([I,D])}):y.push([I,L])}),h._mode==="fetch"){var x=null,C=null;if(l.abortController){var T=new AbortController;x=T.signal,h._fetchAbortController=T,"requestTimeout"in p&&p.requestTimeout!==0&&(h._fetchTimer=A.setTimeout(function(){h.emit("requestTimeout"),h._fetchAbortController&&h._fetchAbortController.abort()},p.requestTimeout))}A.fetch(h._opts.url,{method:h._opts.method,headers:y,body:S||void 0,mode:"cors",credentials:p.withCredentials?"include":"same-origin",signal:x}).then(function(E){h._fetchResponse=E,h._connect()},function(E){A.clearTimeout(h._fetchTimer),h._destroyed||h.emit("error",E)})}else{var _=h._xhr=new A.XMLHttpRequest;try{_.open(h._opts.method,h._opts.url,!0)}catch(E){w.nextTick(function(){h.emit("error",E)});return}"responseType"in _&&(_.responseType=h._mode.split(":")[0]),"withCredentials"in _&&(_.withCredentials=!!p.withCredentials),h._mode==="text"&&"overrideMimeType"in _&&_.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in p&&(_.timeout=p.requestTimeout,_.ontimeout=function(){h.emit("requestTimeout")}),y.forEach(function(E){_.setRequestHeader(E[0],E[1])}),h._response=null,_.onreadystatechange=function(){switch(_.readyState){case r.LOADING:case r.DONE:h._onXHRProgress();break}},h._mode==="moz-chunked-arraybuffer"&&(_.onprogress=function(){h._onXHRProgress()}),_.onerror=function(){if(h._destroyed)return;h.emit("error",new Error("XHR error"))};try{_.send(S)}catch(E){w.nextTick(function(){h.emit("error",E)});return}}};function a(h){try{var p=h.status;return p!==null&&p!==0}catch(m){return!1}}t.prototype._onXHRProgress=function(){var h=this;if(!a(h._xhr)||h._destroyed)return;h._response||h._connect(),h._response._onXHRProgress()},t.prototype._connect=function(){var h=this;if(h._destroyed)return;h._response=new i(h._xhr,h._fetchResponse,h._mode,h._fetchTimer),h._response.on("error",function(p){h.emit("error",p)}),h.emit("response",h._response)},t.prototype._write=function(h,p,m){var S=this;S._body.push(h),m()},t.prototype.abort=t.prototype.destroy=function(){var h=this;h._destroyed=!0,A.clearTimeout(h._fetchTimer),h._response&&(h._response._destroyed=!0),h._xhr?h._xhr.abort():h._fetchAbortController&&h._fetchAbortController.abort()},t.prototype.end=function(h,p,m){var S=this;typeof h=="function"&&(m=h,h=void 0),e.Writable.prototype.end.call(S,h,p,m)},t.prototype.flushHeaders=function(){},t.prototype.setTimeout=function(){},t.prototype.setNoDelay=function(){},t.prototype.setSocketKeepAlive=function(){};var c=["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,k("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},k("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(k,B,d){(function(w,A,b){"use strict";var g=k("babel-runtime/core-js/promise"),v=f(g);function f(i){return i&&i.__esModule?i:{default:i}}var l=k("./capability"),u=k("inherits"),o=k("readable-stream"),e=d.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},n=d.IncomingMessage=function(i,r,s,t){var a=this;if(o.Readable.call(a),a._mode=s,a.headers={},a.rawHeaders=[],a.trailers={},a.rawTrailers=[],a.on("end",function(){w.nextTick(function(){a.emit("close")})}),s==="fetch"){var c=function x(){p.read().then(function(C){if(a._destroyed)return;if(C.done){A.clearTimeout(t),a.push(null);return}a.push(new b(C.value)),x()}).catch(function(C){A.clearTimeout(t),a._destroyed||a.emit("error",C)})};if(a._fetchResponse=r,a.url=r.url,a.statusCode=r.status,a.statusMessage=r.statusText,r.headers.forEach(function(x,C){a.headers[C.toLowerCase()]=x,a.rawHeaders.push(C,x)}),l.writableStream){var h=new WritableStream({write:function(C){return new v.default(function(T,_){a._destroyed?_():a.push(new b(C))?T():a._resumeFetch=T})},close:function(){A.clearTimeout(t),a._destroyed||a.push(null)},abort:function(C){a._destroyed||a.emit("error",C)}});try{r.body.pipeTo(h).catch(function(x){A.clearTimeout(t),a._destroyed||a.emit("error",x)});return}catch(x){}}var p=r.body.getReader();c()}else{a._xhr=i,a._pos=0,a.url=i.responseURL,a.statusCode=i.status,a.statusMessage=i.statusText;var m=i.getAllResponseHeaders().split(/\r?\n/);if(m.forEach(function(x){var C=x.match(/^([^:]+):\s*(.*)/);if(C){var T=C[1].toLowerCase();T==="set-cookie"?(a.headers[T]===void 0&&(a.headers[T]=[]),a.headers[T].push(C[2])):a.headers[T]!==void 0?a.headers[T]+=", "+C[2]:a.headers[T]=C[2],a.rawHeaders.push(C[1],C[2])}}),a._charset="x-user-defined",!l.overrideMimeType){var S=a.rawHeaders["mime-type"];if(S){var y=S.match(/;\s*charset=([^;])(;|$)/);y&&(a._charset=y[1].toLowerCase())}a._charset||(a._charset="utf-8")}}};u(n,o.Readable),n.prototype._read=function(){var i=this,r=i._resumeFetch;r&&(i._resumeFetch=null,r())},n.prototype._onXHRProgress=function(){var i=this,r=i._xhr,s=null;switch(i._mode){case"text:vbarray":if(r.readyState!==e.DONE)break;try{s=new A.VBArray(r.responseBody).toArray()}catch(p){}if(s!==null){i.push(new b(s));break}case"text":try{s=r.responseText}catch(p){i._mode="text:vbarray";break}if(s.length>i._pos){var t=s.substr(i._pos);if(i._charset==="x-user-defined"){for(var a=new b(t.length),c=0;c<t.length;c++)a[c]=t.charCodeAt(c)&255;i.push(a)}else i.push(t,i._charset);i._pos=s.length}break;case"arraybuffer":if(r.readyState!==e.DONE||!r.response)break;s=r.response,i.push(new b(new Uint8Array(s)));break;case"moz-chunked-arraybuffer":if(s=r.response,r.readyState!==e.LOADING||!s)break;i.push(new b(new Uint8Array(s)));break;case"ms-stream":if(s=r.response,r.readyState!==e.LOADING)break;var h=new A.MSStreamReader;h.onprogress=function(){h.result.byteLength>i._pos&&(i.push(new b(new Uint8Array(h.result.slice(i._pos)))),i._pos=h.result.byteLength)},h.onload=function(){i.push(null)},h.readAsArrayBuffer(s);break}i._xhr.readyState===e.DONE&&i._mode!=="ms-stream"&&i.push(null)}}).call(this,k("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},k("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(k,B,d){"use strict";var w=k("safe-buffer").Buffer,A=w.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 b(h){if(!h)return"utf8";for(var p;;)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(p)return;h=(""+h).toLowerCase(),p=!0}}function g(h){var p=b(h);if(typeof p!="string"&&(w.isEncoding===A||!A(h)))throw new Error("Unknown encoding: "+h);return p||h}d.StringDecoder=v;function v(h){this.encoding=g(h);var p;switch(this.encoding){case"utf16le":this.text=i,this.end=r,p=4;break;case"utf8":this.fillLast=o,p=4;break;case"base64":this.text=s,this.end=t,p=3;break;default:this.write=a,this.end=c;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=w.allocUnsafe(p)}v.prototype.write=function(h){if(h.length===0)return"";var p,m;if(this.lastNeed){if(p=this.fillLast(h),p===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m<h.length?p?p+this.text(h,m):this.text(h,m):p||""},v.prototype.end=n,v.prototype.text=e,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 l(h,p,m){var S=p.length-1;if(S<m)return 0;var y=f(p[S]);return y>=0?(y>0&&(h.lastNeed=y-1),y):--S<m||y===-2?0:(y=f(p[S]),y>=0?(y>0&&(h.lastNeed=y-2),y):--S<m||y===-2?0:(y=f(p[S]),y>=0?(y>0&&(y===2?y=0:h.lastNeed=y-3),y):0))}function u(h,p,m){if((p[0]&192)!==128)return h.lastNeed=0,"\uFFFD";if(h.lastNeed>1&&p.length>1){if((p[1]&192)!==128)return h.lastNeed=1,"\uFFFD";if(h.lastNeed>2&&p.length>2&&(p[2]&192)!==128)return h.lastNeed=2,"\uFFFD"}}function o(h){var p=this.lastTotal-this.lastNeed,m=u(this,h,p);if(m!==void 0)return m;if(this.lastNeed<=h.length)return h.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,p,0,h.length),this.lastNeed-=h.length}function e(h,p){var m=l(this,h,p);if(!this.lastNeed)return h.toString("utf8",p);this.lastTotal=m;var S=h.length-(m-this.lastNeed);return h.copy(this.lastChar,0,S),h.toString("utf8",p,S)}function n(h){var p=h&&h.length?this.write(h):"";return this.lastNeed?p+"\uFFFD":p}function i(h,p){if((h.length-p)%2===0){var m=h.toString("utf16le",p);if(m){var S=m.charCodeAt(m.length-1);if(S>=55296&&S<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",p,h.length-1)}function r(h){var p=h&&h.length?this.write(h):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return p+this.lastChar.toString("utf16le",0,m)}return p}function s(h,p){var m=(h.length-p)%3;return m===0?h.toString("base64",p):(this.lastNeed=3-m,this.lastTotal=3,m===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",p,h.length-m))}function t(h){var p=h&&h.length?this.write(h):"";return this.lastNeed?p+this.lastChar.toString("base64",0,3-this.lastNeed):p}function a(h){return h.toString(this.encoding)}function c(h){return h&&h.length?this.write(h):""}},{"safe-buffer":228}],236:[function(k,B,d){(function(w,A){var b=k("process/browser.js").nextTick,g=Function.prototype.apply,v=Array.prototype.slice,f={},l=0;d.setTimeout=function(){return new u(g.call(setTimeout,window,arguments),clearTimeout)},d.setInterval=function(){return new u(g.call(setInterval,window,arguments),clearInterval)},d.clearTimeout=d.clearInterval=function(o){o.close()};function u(o,e){this._id=o,this._clearFn=e}u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},d.enroll=function(o,e){clearTimeout(o._idleTimeoutId),o._idleTimeout=e},d.unenroll=function(o){clearTimeout(o._idleTimeoutId),o._idleTimeout=-1},d._unrefActive=d.active=function(o){clearTimeout(o._idleTimeoutId);var e=o._idleTimeout;e>=0&&(o._idleTimeoutId=setTimeout(function(){o._onTimeout&&o._onTimeout()},e))},d.setImmediate=typeof w=="function"?w:function(o){var e=l++,n=arguments.length<2?!1:v.call(arguments,1);return f[e]=!0,b(function(){f[e]&&(n?o.apply(null,n):o.call(null),d.clearImmediate(e))}),e},d.clearImmediate=typeof A=="function"?A:function(o){delete f[o]}}).call(this,k("timers").setImmediate,k("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(k,B,d){var w=k("buffer").Buffer;B.exports=function(A){if(A instanceof Uint8Array){if(A.byteOffset===0&&A.byteLength===A.buffer.byteLength)return A.buffer;if(typeof A.buffer.slice=="function")return A.buffer.slice(A.byteOffset,A.byteOffset+A.byteLength)}if(w.isBuffer(A)){for(var b=new Uint8Array(A.length),g=A.length,v=0;v<g;v++)b[v]=A[v];return b.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(k,B,d){"use strict";var w=k("punycode"),A=k("./util");d.parse=p,d.resolve=S,d.resolveObject=y,d.format=m,d.Url=b;function b(){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 g=/^([a-z0-9.+-]+:)/i,v=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r",`
`," "],u=["{","}","|","\\","^","`"].concat(l),o=["'"].concat(u),e=["%","/","?",";","#"].concat(o),n=["/","?","#"],i=255,r=/^[+a-z0-9A-Z_-]{0,63}$/,s=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,t={javascript:!0,"javascript:":!0},a={javascript:!0,"javascript:":!0},c={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},h=k("querystring");function p(x,C,T){if(x&&A.isObject(x)&&x instanceof b)return x;var _=new b;return _.parse(x,C,T),_}b.prototype.parse=function(x,C,T){if(!A.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var _=x.indexOf("?"),E=_!==-1&&_<x.indexOf("#")?"?":"#",I=x.split(E),L=/\\/g;I[0]=I[0].replace(L,"/"),x=I.join(E);var D=x;if(D=D.trim(),!T&&x.split("#").length===1){var F=f.exec(D);if(F)return this.path=D,this.href=D,this.pathname=F[1],F[2]?(this.search=F[2],C?this.query=h.parse(this.search.substr(1)):this.query=this.search.substr(1)):C&&(this.search="",this.query={}),this}var N=g.exec(D);if(N){N=N[0];var P=N.toLowerCase();this.protocol=P,D=D.substr(N.length)}if(T||N||D.match(/^\/\/[^@\/]+@[^@\/]+/)){var W=D.substr(0,2)==="//";W&&!(N&&a[N])&&(D=D.substr(2),this.slashes=!0)}if(!a[N]&&(W||N&&!c[N])){for(var R=-1,j=0;j<n.length;j++){var H=D.indexOf(n[j]);H!==-1&&(R===-1||H<R)&&(R=H)}var K,U;R===-1?U=D.lastIndexOf("@"):U=D.lastIndexOf("@",R),U!==-1&&(K=D.slice(0,U),D=D.slice(U+1),this.auth=decodeURIComponent(K)),R=-1;for(var j=0;j<e.length;j++){var H=D.indexOf(e[j]);H!==-1&&(R===-1||H<R)&&(R=H)}R===-1&&(R=D.length),this.host=D.slice(0,R),D=D.slice(R),this.parseHost(),this.hostname=this.hostname||"";var G=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!G)for(var z=this.hostname.split(/\./),j=0,Y=z.length;j<Y;j++){var q=z[j];if(!q)continue;if(!q.match(r)){for(var oe="",ie=0,se=q.length;ie<se;ie++)q.charCodeAt(ie)>127?oe+="x":oe+=q[ie];if(!oe.match(r)){var he=z.slice(0,j),pe=z.slice(j+1),_e=q.match(s);_e&&(he.push(_e[1]),pe.unshift(_e[2])),pe.length&&(D="/"+pe.join(".")+D),this.hostname=he.join(".");break}}}this.hostname.length>i?this.hostname="":this.hostname=this.hostname.toLowerCase(),G||(this.hostname=w.toASCII(this.hostname));var De=this.port?":"+this.port:"",Xe=this.hostname||"";this.host=Xe+De,this.href+=this.host,G&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),D[0]!=="/"&&(D="/"+D))}if(!t[P])for(var j=0,Y=o.length;j<Y;j++){var J=o[j];if(D.indexOf(J)===-1)continue;var Ee=encodeURIComponent(J);Ee===J&&(Ee=escape(J)),D=D.split(J).join(Ee)}var qe=D.indexOf("#");qe!==-1&&(this.hash=D.substr(qe),D=D.slice(0,qe));var ae=D.indexOf("?");if(ae!==-1?(this.search=D.substr(ae),this.query=D.substr(ae+1),C&&(this.query=h.parse(this.query)),D=D.slice(0,ae)):C&&(this.search="",this.query={}),D&&(this.pathname=D),c[P]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var De=this.pathname||"",V=this.search||"";this.path=De+V}return this.href=this.format(),this};function m(x){return A.isString(x)&&(x=p(x)),x instanceof b?x.format():b.prototype.format.call(x)}b.prototype.format=function(){var x=this.auth||"";x&&(x=encodeURIComponent(x),x=x.replace(/%3A/i,":"),x+="@");var C=this.protocol||"",T=this.pathname||"",_=this.hash||"",E=!1,I="";this.host?E=x+this.host:this.hostname&&(E=x+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(E+=":"+this.port)),this.query&&A.isObject(this.query)&&Object.keys(this.query).length&&(I=h.stringify(this.query));var L=this.search||I&&"?"+I||"";return C&&C.substr(-1)!==":"&&(C+=":"),this.slashes||(!C||c[C])&&E!==!1?(E="//"+(E||""),T&&T.charAt(0)!=="/"&&(T="/"+T)):E||(E=""),_&&_.charAt(0)!=="#"&&(_="#"+_),L&&L.charAt(0)!=="?"&&(L="?"+L),T=T.replace(/[?#]/g,function(D){return encodeURIComponent(D)}),L=L.replace("#","%23"),C+E+T+L+_};function S(x,C){return p(x,!1,!0).resolve(C)}b.prototype.resolve=function(x){return this.resolveObject(p(x,!1,!0)).format()};function y(x,C){return x?p(x,!1,!0).resolveObject(C):C}b.prototype.resolveObject=function(x){if(A.isString(x)){var C=new b;C.parse(x,!1,!0),x=C}for(var T=new b,_=Object.keys(this),E=0;E<_.length;E++){var I=_[E];T[I]=this[I]}if(T.hash=x.hash,x.href==="")return T.href=T.format(),T;if(x.slashes&&!x.protocol){for(var L=Object.keys(x),D=0;D<L.length;D++){var F=L[D];F!=="protocol"&&(T[F]=x[F])}return c[T.protocol]&&T.hostname&&!T.pathname&&(T.path=T.pathname="/"),T.href=T.format(),T}if(x.protocol&&x.protocol!==T.protocol){if(!c[x.protocol]){for(var N=Object.keys(x),P=0;P<N.length;P++){var W=N[P];T[W]=x[W]}return T.href=T.format(),T}if(T.protocol=x.protocol,!x.host&&!a[x.protocol]){for(var Y=(x.pathname||"").split("/");Y.length&&!(x.host=Y.shift()););x.host||(x.host=""),x.hostname||(x.hostname=""),Y[0]!==""&&Y.unshift(""),Y.length<2&&Y.unshift(""),T.pathname=Y.join("/")}else T.pathname=x.pathname;if(T.search=x.search,T.query=x.query,T.host=x.host||"",T.auth=x.auth,T.hostname=x.hostname||x.host,T.port=x.port,T.pathname||T.search){var R=T.pathname||"",j=T.search||"";T.path=R+j}return T.slashes=T.slashes||x.slashes,T.href=T.format(),T}var H=T.pathname&&T.pathname.charAt(0)==="/",K=x.host||x.pathname&&x.pathname.charAt(0)==="/",U=K||H||T.host&&x.pathname,G=U,z=T.pathname&&T.pathname.split("/")||[],Y=x.pathname&&x.pathname.split("/")||[],q=T.protocol&&!c[T.protocol];if(q&&(T.hostname="",T.port=null,T.host&&(z[0]===""?z[0]=T.host:z.unshift(T.host)),T.host="",x.protocol&&(x.hostname=null,x.port=null,x.host&&(Y[0]===""?Y[0]=x.host:Y.unshift(x.host)),x.host=null),U=U&&(Y[0]===""||z[0]==="")),K)T.host=x.host||x.host===""?x.host:T.host,T.hostname=x.hostname||x.hostname===""?x.hostname:T.hostname,T.search=x.search,T.query=x.query,z=Y;else if(Y.length)z||(z=[]),z.pop(),z=z.concat(Y),T.search=x.search,T.query=x.query;else if(!A.isNullOrUndefined(x.search)){if(q){T.hostname=T.host=z.shift();var oe=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;oe&&(T.auth=oe.shift(),T.host=T.hostname=oe.shift())}return T.search=x.search,T.query=x.query,(!A.isNull(T.pathname)||!A.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.href=T.format(),T}if(!z.length)return T.pathname=null,T.search?T.path="/"+T.search:T.path=null,T.href=T.format(),T;for(var ie=z.slice(-1)[0],se=(T.host||x.host||z.length>1)&&(ie==="."||ie==="..")||ie==="",he=0,pe=z.length;pe>=0;pe--)ie=z[pe],ie==="."?z.splice(pe,1):ie===".."?(z.splice(pe,1),he++):he&&(z.splice(pe,1),he--);if(!U&&!G)for(;he--;he)z.unshift("..");U&&z[0]!==""&&(!z[0]||z[0].charAt(0)!=="/")&&z.unshift(""),se&&z.join("/").substr(-1)!=="/"&&z.push("");var _e=z[0]===""||z[0]&&z[0].charAt(0)==="/";if(q){T.hostname=T.host=_e?"":z.length?z.shift():"";var oe=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;oe&&(T.auth=oe.shift(),T.host=T.hostname=oe.shift())}return U=U||T.host&&z.length,U&&!_e&&z.unshift(""),z.length?T.pathname=z.join("/"):(T.pathname=null,T.path=null),(!A.isNull(T.pathname)||!A.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.auth=x.auth||T.auth,T.slashes=T.slashes||x.slashes,T.href=T.format(),T},b.prototype.parseHost=function(){var x=this.host,C=v.exec(x);C&&(C=C[0],C!==":"&&(this.port=C.substr(1)),x=x.substr(0,x.length-C.length)),x&&(this.hostname=x)}},{"./util":239,punycode:209,querystring:212}],239:[function(k,B,d){"use strict";B.exports={isString:function(A){return typeof A=="string"},isObject:function(A){return typeof A=="object"&&A!==null},isNull:function(A){return A===null},isNullOrUndefined:function(A){return A==null}}},{}],240:[function(k,B,d){(function(w){B.exports=A;function A(g,v){if(b("noDeprecation"))return g;var f=!1;function l(){if(!f){if(b("throwDeprecation"))throw new Error(v);b("traceDeprecation")?console.trace(v):console.warn(v),f=!0}return g.apply(this,arguments)}return l}function b(g){try{if(!w.localStorage)return!1}catch(f){return!1}var v=w.localStorage[g];return v==null?!1:String(v).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(k,B,d){typeof Object.create=="function"?B.exports=function(A,b){A.super_=b,A.prototype=Object.create(b.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}})}:B.exports=function(A,b){A.super_=b;var g=function(){};g.prototype=b.prototype,A.prototype=new g,A.prototype.constructor=A}},{}],242:[function(k,B,d){B.exports=function(A){return A&&typeof A=="object"&&typeof A.copy=="function"&&typeof A.fill=="function"&&typeof A.readUInt8=="function"}},{}],243:[function(k,B,d){(function(w,A){var b=/%[sdj%]/g;d.format=function(R){if(!S(R)){for(var j=[],H=0;H<arguments.length;H++)j.push(f(arguments[H]));return j.join(" ")}for(var H=1,K=arguments,U=K.length,G=String(R).replace(b,function(Y){if(Y==="%%")return"%";if(H>=U)return Y;switch(Y){case"%s":return String(K[H++]);case"%d":return Number(K[H++]);case"%j":try{return JSON.stringify(K[H++])}catch(q){return"[Circular]"}default:return Y}}),z=K[H];H<U;z=K[++H])h(z)||!T(z)?G+=" "+z:G+=" "+f(z);return G},d.deprecate=function(R,j){if(x(A.process))return function(){return d.deprecate(R,j).apply(this,arguments)};if(w.noDeprecation===!0)return R;var H=!1;function K(){if(!H){if(w.throwDeprecation)throw new Error(j);w.traceDeprecation?console.trace(j):console.error(j),H=!0}return R.apply(this,arguments)}return K};var g={},v;d.debuglog=function(R){if(x(v)&&(v=w.env.NODE_DEBUG||""),R=R.toUpperCase(),!g[R])if(new RegExp("\\b"+R+"\\b","i").test(v)){var j=w.pid;g[R]=function(){var H=d.format.apply(d,arguments);console.error("%s %d: %s",R,j,H)}}else g[R]=function(){};return g[R]};function f(R,j){var H={seen:[],stylize:u};return arguments.length>=3&&(H.depth=arguments[2]),arguments.length>=4&&(H.colors=arguments[3]),c(j)?H.showHidden=j:j&&d._extend(H,j),x(H.showHidden)&&(H.showHidden=!1),x(H.depth)&&(H.depth=2),x(H.colors)&&(H.colors=!1),x(H.customInspect)&&(H.customInspect=!0),H.colors&&(H.stylize=l),e(H,R,H.depth)}d.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 l(R,j){var H=f.styles[j];return H?"["+f.colors[H][0]+"m"+R+"["+f.colors[H][1]+"m":R}function u(R,j){return R}function o(R){var j={};return R.forEach(function(H,K){j[H]=!0}),j}function e(R,j,H){if(R.customInspect&&j&&I(j.inspect)&&j.inspect!==d.inspect&&!(j.constructor&&j.constructor.prototype===j)){var K=j.inspect(H,R);return S(K)||(K=e(R,K,H)),K}var U=n(R,j);if(U)return U;var G=Object.keys(j),z=o(G);if(R.showHidden&&(G=Object.getOwnPropertyNames(j)),E(j)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return i(j);if(G.length===0){if(I(j)){var Y=j.name?": "+j.name:"";return R.stylize("[Function"+Y+"]","special")}if(C(j))return R.stylize(RegExp.prototype.toString.call(j),"regexp");if(_(j))return R.stylize(Date.prototype.toString.call(j),"date");if(E(j))return i(j)}var q="",oe=!1,ie=["{","}"];if(a(j)&&(oe=!0,ie=["[","]"]),I(j)){var se=j.name?": "+j.name:"";q=" [Function"+se+"]"}if(C(j)&&(q=" "+RegExp.prototype.toString.call(j)),_(j)&&(q=" "+Date.prototype.toUTCString.call(j)),E(j)&&(q=" "+i(j)),G.length===0&&(!oe||j.length==0))return ie[0]+q+ie[1];if(H<0)return C(j)?R.stylize(RegExp.prototype.toString.call(j),"regexp"):R.stylize("[Object]","special");R.seen.push(j);var he;return oe?he=r(R,j,H,z,G):he=G.map(function(pe){return s(R,j,H,z,pe,oe)}),R.seen.pop(),t(he,q,ie)}function n(R,j){if(x(j))return R.stylize("undefined","undefined");if(S(j)){var H="'"+JSON.stringify(j).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return R.stylize(H,"string")}if(m(j))return R.stylize(""+j,"number");if(c(j))return R.stylize(""+j,"boolean");if(h(j))return R.stylize("null","null")}function i(R){return"["+Error.prototype.toString.call(R)+"]"}function r(R,j,H,K,U){for(var G=[],z=0,Y=j.length;z<Y;++z)W(j,String(z))?G.push(s(R,j,H,K,String(z),!0)):G.push("");return U.forEach(function(q){q.match(/^\d+$/)||G.push(s(R,j,H,K,q,!0))}),G}function s(R,j,H,K,U,G){var z,Y,q;if(q=Object.getOwnPropertyDescriptor(j,U)||{value:j[U]},q.get?q.set?Y=R.stylize("[Getter/Setter]","special"):Y=R.stylize("[Getter]","special"):q.set&&(Y=R.stylize("[Setter]","special")),W(K,U)||(z="["+U+"]"),Y||(R.seen.indexOf(q.value)<0?(h(H)?Y=e(R,q.value,null):Y=e(R,q.value,H-1),Y.indexOf(`
`)>-1&&(G?Y=Y.split(`
`).map(function(oe){return" "+oe}).join(`
`).substr(2):Y=`
`+Y.split(`
`).map(function(oe){return" "+oe}).join(`
`))):Y=R.stylize("[Circular]","special")),x(z)){if(G&&U.match(/^\d+$/))return Y;z=JSON.stringify(""+U),z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(z=z.substr(1,z.length-2),z=R.stylize(z,"name")):(z=z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),z=R.stylize(z,"string"))}return z+": "+Y}function t(R,j,H){var K=0,U=R.reduce(function(G,z){return K++,z.indexOf(`
`)>=0&&K++,G+z.replace(/\u001b\[\d\d?m/g,"").length+1},0);return U>60?H[0]+(j===""?"":j+`
`)+" "+R.join(`,
`)+" "+H[1]:H[0]+j+" "+R.join(", ")+" "+H[1]}function a(R){return Array.isArray(R)}d.isArray=a;function c(R){return typeof R=="boolean"}d.isBoolean=c;function h(R){return R===null}d.isNull=h;function p(R){return R==null}d.isNullOrUndefined=p;function m(R){return typeof R=="number"}d.isNumber=m;function S(R){return typeof R=="string"}d.isString=S;function y(R){return typeof R=="symbol"}d.isSymbol=y;function x(R){return R===void 0}d.isUndefined=x;function C(R){return T(R)&&D(R)==="[object RegExp]"}d.isRegExp=C;function T(R){return typeof R=="object"&&R!==null}d.isObject=T;function _(R){return T(R)&&D(R)==="[object Date]"}d.isDate=_;function E(R){return T(R)&&(D(R)==="[object Error]"||R instanceof Error)}d.isError=E;function I(R){return typeof R=="function"}d.isFunction=I;function L(R){return R===null||typeof R=="boolean"||typeof R=="number"||typeof R=="string"||typeof R=="symbol"||typeof R=="undefined"}d.isPrimitive=L,d.isBuffer=k("./support/isBuffer");function D(R){return Object.prototype.toString.call(R)}function F(R){return R<10?"0"+R.toString(10):R.toString(10)}var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var R=new Date,j=[F(R.getHours()),F(R.getMinutes()),F(R.getSeconds())].join(":");return[R.getDate(),N[R.getMonth()],j].join(" ")}d.log=function(){console.log("%s - %s",P(),d.format.apply(d,arguments))},d.inherits=k("inherits"),d._extend=function(R,j){if(!j||!T(j))return R;for(var H=Object.keys(j),K=H.length;K--;)R[H[K]]=j[H[K]];return R};function W(R,j){return Object.prototype.hasOwnProperty.call(R,j)}}).call(this,k("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(k,B,d){"use strict";(function(){"use strict";d.stripBOM=function(w){return w[0]==="\uFEFF"?w.substring(1):w}}).call(void 0)},{}],245:[function(k,B,d){"use strict";var w=k("babel-runtime/helpers/typeof"),A=v(w),b=k("babel-runtime/core-js/object/keys"),g=v(b);function v(f){return f&&f.__esModule?f:{default:f}}(function(){"use strict";var f,l,u,o,e,n={}.hasOwnProperty;f=k("xmlbuilder"),l=k("./defaults").defaults,o=function(r){return typeof r=="string"&&(r.indexOf("&")>=0||r.indexOf(">")>=0||r.indexOf("<")>=0)},e=function(r){return"<![CDATA["+u(r)+"]]>"},u=function(r){return r.replace("]]>","]]]]><![CDATA[>")},d.Builder=function(){function i(r){var s,t,a;this.options={},t=l["0.2"];for(s in t){if(!n.call(t,s))continue;a=t[s],this.options[s]=a}for(s in r){if(!n.call(r,s))continue;a=r[s],this.options[s]=a}}return i.prototype.buildObject=function(r){var s,t,a,c,h;return s=this.options.attrkey,t=this.options.charkey,(0,g.default)(r).length===1&&this.options.rootName===l["0.2"].rootName?(h=(0,g.default)(r)[0],r=r[h]):h=this.options.rootName,a=function(p){return function(m,S){var y,x,C,T,_,E;if((typeof S=="undefined"?"undefined":(0,A.default)(S))!=="object")p.options.cdata&&o(S)?m.raw(e(S)):m.txt(S);else if(Array.isArray(S))for(T in S){if(!n.call(S,T))continue;x=S[T];for(_ in x)C=x[_],m=a(m.ele(_),C).up()}else for(_ in S){if(!n.call(S,_))continue;if(x=S[_],_===s){if((typeof x=="undefined"?"undefined":(0,A.default)(x))==="object")for(y in x)E=x[y],m=m.att(y,E)}else if(_===t)p.options.cdata&&o(x)?m=m.raw(e(x)):m=m.txt(x);else if(Array.isArray(x))for(T in x){if(!n.call(x,T))continue;C=x[T],typeof C=="string"?p.options.cdata&&o(C)?m=m.ele(_).raw(e(C)).up():m=m.ele(_,C).up():m=a(m.ele(_),C).up()}else(typeof x=="undefined"?"undefined":(0,A.default)(x))==="object"?m=a(m.ele(_),x).up():typeof x=="string"&&p.options.cdata&&o(x)?m=m.ele(_).raw(e(x)).up():(x==null&&(x=""),m=m.ele(_,x.toString()).up())}return m}}(this),c=f.create(h,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),a(c,r).end(this.options.renderOpts)},i}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(k,B,d){"use strict";(function(){d.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(k,B,d){"use strict";var w=k("babel-runtime/core-js/promise"),A=o(w),b=k("babel-runtime/core-js/object/get-own-property-names"),g=o(b),v=k("babel-runtime/core-js/object/keys"),f=o(v),l=k("babel-runtime/helpers/typeof"),u=o(l);function o(e){return e&&e.__esModule?e:{default:e}}(function(){"use strict";var e,n,i,r,s,t,a,c,h=function(y,x){return function(){return y.apply(x,arguments)}},p=function(y,x){for(var C in x)m.call(x,C)&&(y[C]=x[C]);function T(){this.constructor=y}return T.prototype=x.prototype,y.prototype=new T,y.__super__=x.prototype,y},m={}.hasOwnProperty;a=k("sax"),i=k("events"),e=k("./bom"),t=k("./processors"),c=k("timers").setImmediate,n=k("./defaults").defaults,r=function(y){return(typeof y=="undefined"?"undefined":(0,u.default)(y))==="object"&&y!=null&&(0,f.default)(y).length===0},s=function(y,x,C){var T,_,E;for(T=0,_=y.length;T<_;T++)E=y[T],x=E(x,C);return x},d.Parser=function(S){p(y,S);function y(x){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 C,T,_;if(!(this instanceof d.Parser))return new d.Parser(x);this.options={},T=n["0.2"];for(C in T){if(!m.call(T,C))continue;_=T[C],this.options[C]=_}for(C in x){if(!m.call(x,C))continue;_=x[C],this.options[C]=_}this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(t.normalize)),this.reset()}return y.prototype.processAsync=function(){var x,C;try{return this.remaining.length<=this.options.chunkSize?(x=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(x),this.saxParser.close()):(x=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(x),c(this.processAsync))}catch(T){if(C=T,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(C)}},y.prototype.assignOrPush=function(x,C,T){return C in x?(x[C]instanceof Array||(x[C]=[x[C]]),x[C].push(T)):this.options.explicitArray?x[C]=[T]:x[C]=T},y.prototype.reset=function(){var x,C,T,_;return this.removeAllListeners(),this.saxParser=a.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(E){return function(I){if(E.saxParser.resume(),!E.saxParser.errThrown)return E.saxParser.errThrown=!0,E.emit("error",I)}}(this),this.saxParser.onend=function(E){return function(){if(!E.saxParser.ended)return E.saxParser.ended=!0,E.emit("end",E.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,_=[],x=this.options.attrkey,C=this.options.charkey,this.saxParser.onopentag=function(E){return function(I){var L,D,F,N,P;if(F={},F[C]="",!E.options.ignoreAttrs){P=I.attributes;for(L in P){if(!m.call(P,L))continue;!(x in F)&&!E.options.mergeAttrs&&(F[x]={}),D=E.options.attrValueProcessors?s(E.options.attrValueProcessors,I.attributes[L],L):I.attributes[L],N=E.options.attrNameProcessors?s(E.options.attrNameProcessors,L):L,E.options.mergeAttrs?E.assignOrPush(F,N,D):F[x][N]=D}}return F["#name"]=E.options.tagNameProcessors?s(E.options.tagNameProcessors,I.name):I.name,E.options.xmlns&&(F[E.options.xmlnskey]={uri:I.uri,local:I.local}),_.push(F)}}(this),this.saxParser.onclosetag=function(E){return function(){var I,L,D,F,N,P,W,R,j,H;if(P=_.pop(),N=P["#name"],(!E.options.explicitChildren||!E.options.preserveChildrenOrder)&&delete P["#name"],P.cdata===!0&&(I=P.cdata,delete P.cdata),j=_[_.length-1],P[C].match(/^\s*$/)&&!I?(L=P[C],delete P[C]):(E.options.trim&&(P[C]=P[C].trim()),E.options.normalize&&(P[C]=P[C].replace(/\s{2,}/g," ").trim()),P[C]=E.options.valueProcessors?s(E.options.valueProcessors,P[C],N):P[C],(0,f.default)(P).length===1&&C in P&&!E.EXPLICIT_CHARKEY&&(P=P[C])),r(P)&&(P=E.options.emptyTag!==""?E.options.emptyTag:L),E.options.validator!=null&&(H="/"+function(){var K,U,G;for(G=[],K=0,U=_.length;K<U;K++)F=_[K],G.push(F["#name"]);return G}().concat(N).join("/"),function(){var K;try{return P=E.options.validator(H,j&&j[N],P)}catch(U){return K=U,E.emit("error",K)}}()),E.options.explicitChildren&&!E.options.mergeAttrs&&(typeof P=="undefined"?"undefined":(0,u.default)(P))==="object"){if(!E.options.preserveChildrenOrder)F={},E.options.attrkey in P&&(F[E.options.attrkey]=P[E.options.attrkey],delete P[E.options.attrkey]),!E.options.charsAsChildren&&E.options.charkey in P&&(F[E.options.charkey]=P[E.options.charkey],delete P[E.options.charkey]),(0,g.default)(P).length>0&&(F[E.options.childkey]=P),P=F;else if(j){j[E.options.childkey]=j[E.options.childkey]||[],W={};for(D in P){if(!m.call(P,D))continue;W[D]=P[D]}j[E.options.childkey].push(W),delete P["#name"],(0,f.default)(P).length===1&&C in P&&!E.EXPLICIT_CHARKEY&&(P=P[C])}}return _.length>0?E.assignOrPush(j,N,P):(E.options.explicitRoot&&(R=P,P={},P[N]=R),E.resultObject=P,E.saxParser.ended=!0,E.emit("end",E.resultObject))}}(this),T=function(E){return function(I){var L,D;if(D=_[_.length-1],D)return D[C]+=I,E.options.explicitChildren&&E.options.preserveChildrenOrder&&E.options.charsAsChildren&&(E.options.includeWhiteChars||I.replace(/\\n/g,"").trim()!=="")&&(D[E.options.childkey]=D[E.options.childkey]||[],L={"#name":"__text__"},L[C]=I,E.options.normalize&&(L[C]=L[C].replace(/\s{2,}/g," ").trim()),D[E.options.childkey].push(L)),D}}(this),this.saxParser.ontext=T,this.saxParser.oncdata=function(E){return function(I){var L;if(L=T(I),L)return L.cdata=!0}}(this)},y.prototype.parseString=function(x,C){var T;C!=null&&typeof C=="function"&&(this.on("end",function(_){return this.reset(),C(null,_)}),this.on("error",function(_){return this.reset(),C(_)}));try{return x=x.toString(),x.trim()===""?(this.emit("end",null),!0):(x=e.stripBOM(x),this.options.async?(this.remaining=x,c(this.processAsync),this.saxParser):this.saxParser.write(x).close())}catch(_){if(T=_,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw T}else return this.emit("error",T),this.saxParser.errThrown=!0}},y.prototype.parseStringPromise=function(x){return new A.default(function(C){return function(T,_){return C.parseString(x,function(E,I){return E?_(E):T(I)})}}(this))},y}(i),d.parseString=function(S,y,x){var C,T,_;return x!=null?(typeof x=="function"&&(C=x),(typeof y=="undefined"?"undefined":(0,u.default)(y))==="object"&&(T=y)):(typeof y=="function"&&(C=y),T={}),_=new d.Parser(T),_.parseString(S,C)},d.parseStringPromise=function(S,y){var x,C;return(typeof y=="undefined"?"undefined":(0,u.default)(y))==="object"&&(x=y),C=new d.Parser(x),C.parseStringPromise(S)}}).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(k,B,d){"use strict";(function(){"use strict";var w;w=new RegExp(/(?!xmlns)^.*:/),d.normalize=function(A){return A.toLowerCase()},d.firstCharLowerCase=function(A){return A.charAt(0).toLowerCase()+A.slice(1)},d.stripPrefix=function(A){return A.replace(w,"")},d.parseNumbers=function(A){return isNaN(A)||(A=A%1===0?parseInt(A,10):parseFloat(A)),A},d.parseBooleans=function(A){return/^(?:true|false)$/i.test(A)&&(A=A.toLowerCase()==="true"),A}}).call(void 0)},{}],249:[function(k,B,d){"use strict";(function(){"use strict";var w,A,b,g,v=function(u,o){for(var e in o)f.call(o,e)&&(u[e]=o[e]);function n(){this.constructor=u}return n.prototype=o.prototype,u.prototype=new n,u.__super__=o.prototype,u},f={}.hasOwnProperty;A=k("./defaults"),w=k("./builder"),b=k("./parser"),g=k("./processors"),d.defaults=A.defaults,d.processors=g,d.ValidationError=function(l){v(u,l);function u(o){this.message=o}return u}(Error),d.Builder=w.Builder,d.Parser=b.Parser,d.parseString=b.parseString,d.parseStringPromise=b.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(k,B,d){"use strict";(function(){B.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(k,B,d){"use strict";(function(){B.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(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/get-prototype-of"),A=l(w),b=k("babel-runtime/helpers/typeof"),g=l(b),v=k("babel-runtime/core-js/object/assign"),f=l(v);function l(u){return u&&u.__esModule?u:{default:u}}(function(){var u,o,e,n,i,r,s,t=[].slice,a={}.hasOwnProperty;u=function(){var h,p,m,S,y,x;if(x=arguments[0],y=2<=arguments.length?t.call(arguments,1):[],i(f.default))f.default.apply(null,arguments);else for(h=0,m=y.length;h<m;h++)if(S=y[h],S!=null)for(p in S){if(!a.call(S,p))continue;x[p]=S[p]}return x},i=function(h){return!!h&&Object.prototype.toString.call(h)==="[object Function]"},r=function(h){var p;return!!h&&((p=typeof h=="undefined"?"undefined":(0,g.default)(h))==="function"||p==="object")},e=function(h){return i(Array.isArray)?Array.isArray(h):Object.prototype.toString.call(h)==="[object Array]"},n=function(h){var p;if(e(h))return!h.length;for(p in h){if(!a.call(h,p))continue;return!1}return!0},s=function(h){var p,m;return r(h)&&(m=(0,A.default)(h))&&(p=m.constructor)&&typeof p=="function"&&p instanceof p&&Function.prototype.toString.call(p)===Function.prototype.toString.call(Object)},o=function(h){return i(h.valueOf)?h.valueOf():h},B.exports.assign=u,B.exports.isFunction=i,B.exports.isObject=r,B.exports.isArray=e,B.exports.isEmpty=n,B.exports.isPlainObject=s,B.exports.getValue=o}).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(k,B,d){"use strict";(function(){B.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=b(w);function b(g){return g&&g.__esModule?g:{default:g}}(function(){var g,v,f;g=k("./NodeType"),f=k("./XMLNode"),B.exports=v=function(){function l(u,o,e){if(this.parent=u,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),o==null)throw new Error("Missing attribute name. "+this.debugInfo(o));this.name=this.stringify.name(o),this.value=this.stringify.attValue(e),this.type=g.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(l.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(l.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(l.prototype,"textContent",{get:function(){return this.value},set:function(o){return this.value=o||""}}),Object.defineProperty(l.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(l.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(l.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(l.prototype,"specified",{get:function(){return!0}}),l.prototype.clone=function(){return(0,A.default)(this)},l.prototype.toString=function(u){return this.options.writer.attribute(this,this.options.writer.filterOptions(u))},l.prototype.debugInfo=function(u){return u=u||this.name,u==null?"parent: <"+this.parent.name+">":"attribute: {"+u+"}, parent: <"+this.parent.name+">"},l.prototype.isEqualNode=function(u){return u.namespaceURI!==this.namespaceURI||(u.prefix!==this.prefix||u.localName!==this.localName)?!1:!(u.value!==this.value)},l}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=b(w);function b(g){return g&&g.__esModule?g:{default:g}}(function(){var g,v,f,l=function(e,n){for(var i in n)u.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},u={}.hasOwnProperty;g=k("./NodeType"),f=k("./XMLCharacterData"),B.exports=v=function(o){l(e,o);function e(n,i){if(e.__super__.constructor.call(this,n),i==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=g.CData,this.value=this.stringify.cdata(i)}return e.prototype.clone=function(){return(0,A.default)(this)},e.prototype.toString=function(n){return this.options.writer.cdata(this,this.options.writer.filterOptions(n))},e}(f)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=b(w);function b(g){return g&&g.__esModule?g:{default:g}}(function(){var g,v,f=function(o,e){for(var n in e)l.call(e,n)&&(o[n]=e[n]);function i(){this.constructor=o}return i.prototype=e.prototype,o.prototype=new i,o.__super__=e.prototype,o},l={}.hasOwnProperty;v=k("./XMLNode"),B.exports=g=function(u){f(o,u);function o(e){o.__super__.constructor.call(this,e),this.value=""}return Object.defineProperty(o.prototype,"data",{get:function(){return this.value},set:function(n){return this.value=n||""}}),Object.defineProperty(o.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(o.prototype,"textContent",{get:function(){return this.value},set:function(n){return this.value=n||""}}),o.prototype.clone=function(){return(0,A.default)(this)},o.prototype.substringData=function(e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.appendData=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.insertData=function(e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.deleteData=function(e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.replaceData=function(e,n,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.isEqualNode=function(e){return o.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)?!(e.data!==this.data):!1},o}(v)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=b(w);function b(g){return g&&g.__esModule?g:{default:g}}(function(){var g,v,f,l=function(e,n){for(var i in n)u.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},u={}.hasOwnProperty;g=k("./NodeType"),v=k("./XMLCharacterData"),B.exports=f=function(o){l(e,o);function e(n,i){if(e.__super__.constructor.call(this,n),i==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=g.Comment,this.value=this.stringify.comment(i)}return e.prototype.clone=function(){return(0,A.default)(this)},e.prototype.toString=function(n){return this.options.writer.comment(this,this.options.writer.filterOptions(n))},e}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/keys"),A=v(w),b=k("babel-runtime/core-js/object/create"),g=v(b);function v(f){return f&&f.__esModule?f:{default:f}}(function(){var f,l,u;l=k("./XMLDOMErrorHandler"),u=k("./XMLDOMStringList"),B.exports=f=function(){function o(){var e;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new l,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=e=(0,g.default)(this.defaultParams)}return Object.defineProperty(o.prototype,"parameterNames",{get:function(){return new u((0,A.default)(this.defaultParams))}}),o.prototype.getParameter=function(e){return this.params.hasOwnProperty(e)?this.params[e]:null},o.prototype.canSetParameter=function(e,n){return!0},o.prototype.setParameter=function(e,n){return n!=null?this.params[e]=n:delete this.params[e]},o}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(k,B,d){"use strict";(function(){var w;B.exports=w=function(){function A(){}return A.prototype.handleError=function(b){throw new Error(b)},A}()}).call(void 0)},{}],260:[function(k,B,d){"use strict";(function(){var w;B.exports=w=function(){function A(){}return A.prototype.hasFeature=function(b,g){return!0},A.prototype.createDocumentType=function(b,g,v){throw new Error("This DOM method is not implemented.")},A.prototype.createDocument=function(b,g,v){throw new Error("This DOM method is not implemented.")},A.prototype.createHTMLDocument=function(b){throw new Error("This DOM method is not implemented.")},A.prototype.getFeature=function(b,g){throw new Error("This DOM method is not implemented.")},A}()}).call(void 0)},{}],261:[function(k,B,d){"use strict";(function(){var w;B.exports=w=function(){function A(b){this.arr=b||[]}return Object.defineProperty(A.prototype,"length",{get:function(){return this.arr.length}}),A.prototype.item=function(b){return this.arr[b]||null},A.prototype.contains=function(b){return this.arr.indexOf(b)!==-1},A}()}).call(void 0)},{}],262:[function(k,B,d){"use strict";(function(){var w,A,b,g=function(l,u){for(var o in u)v.call(u,o)&&(l[o]=u[o]);function e(){this.constructor=l}return e.prototype=u.prototype,l.prototype=new e,l.__super__=u.prototype,l},v={}.hasOwnProperty;b=k("./XMLNode"),w=k("./NodeType"),B.exports=A=function(f){g(l,f);function l(u,o,e,n,i,r){if(l.__super__.constructor.call(this,u),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(e==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(o));if(!n)throw new Error("Missing DTD attribute type. "+this.debugInfo(o));if(!i)throw new Error("Missing DTD attribute default. "+this.debugInfo(o));if(i.indexOf("#")!==0&&(i="#"+i),!i.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(o));if(r&&!i.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(o));this.elementName=this.stringify.name(o),this.type=w.AttributeDeclaration,this.attributeName=this.stringify.name(e),this.attributeType=this.stringify.dtdAttType(n),r&&(this.defaultValue=this.stringify.dtdAttDefault(r)),this.defaultValueType=i}return l.prototype.toString=function(u){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(u))},l}(b)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(k,B,d){"use strict";(function(){var w,A,b,g=function(l,u){for(var o in u)v.call(u,o)&&(l[o]=u[o]);function e(){this.constructor=l}return e.prototype=u.prototype,l.prototype=new e,l.__super__=u.prototype,l},v={}.hasOwnProperty;b=k("./XMLNode"),w=k("./NodeType"),B.exports=A=function(f){g(l,f);function l(u,o,e){if(l.__super__.constructor.call(this,u),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());e||(e="(#PCDATA)"),Array.isArray(e)&&(e="("+e.join(",")+")"),this.name=this.stringify.name(o),this.type=w.ElementDeclaration,this.value=this.stringify.dtdElementValue(e)}return l.prototype.toString=function(u){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(u))},l}(b)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(k,B,d){"use strict";(function(){var w,A,b,g,v=function(u,o){for(var e in o)f.call(o,e)&&(u[e]=o[e]);function n(){this.constructor=u}return n.prototype=o.prototype,u.prototype=new n,u.__super__=o.prototype,u},f={}.hasOwnProperty;g=k("./Utility").isObject,b=k("./XMLNode"),w=k("./NodeType"),B.exports=A=function(l){v(u,l);function u(o,e,n,i){if(u.__super__.constructor.call(this,o),n==null)throw new Error("Missing DTD entity name. "+this.debugInfo(n));if(i==null)throw new Error("Missing DTD entity value. "+this.debugInfo(n));if(this.pe=!!e,this.name=this.stringify.name(n),this.type=w.EntityDeclaration,!g(i))this.value=this.stringify.dtdEntityValue(i),this.internal=!0;else{if(!i.pubID&&!i.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(n));if(i.pubID&&!i.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(n));if(this.internal=!1,i.pubID!=null&&(this.pubID=this.stringify.dtdPubID(i.pubID)),i.sysID!=null&&(this.sysID=this.stringify.dtdSysID(i.sysID)),i.nData!=null&&(this.nData=this.stringify.dtdNData(i.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(n))}}return Object.defineProperty(u.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(u.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(u.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(u.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(u.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(u.prototype,"xmlVersion",{get:function(){return null}}),u.prototype.toString=function(o){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(o))},u}(b)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(k,B,d){"use strict";(function(){var w,A,b,g=function(l,u){for(var o in u)v.call(u,o)&&(l[o]=u[o]);function e(){this.constructor=l}return e.prototype=u.prototype,l.prototype=new e,l.__super__=u.prototype,l},v={}.hasOwnProperty;b=k("./XMLNode"),w=k("./NodeType"),B.exports=A=function(f){g(l,f);function l(u,o,e){if(l.__super__.constructor.call(this,u),o==null)throw new Error("Missing DTD notation name. "+this.debugInfo(o));if(!e.pubID&&!e.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(o));this.name=this.stringify.name(o),this.type=w.NotationDeclaration,e.pubID!=null&&(this.pubID=this.stringify.dtdPubID(e.pubID)),e.sysID!=null&&(this.sysID=this.stringify.dtdSysID(e.sysID))}return Object.defineProperty(l.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(l.prototype,"systemId",{get:function(){return this.sysID}}),l.prototype.toString=function(u){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(u))},l}(b)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(k,B,d){"use strict";(function(){var w,A,b,g,v=function(u,o){for(var e in o)f.call(o,e)&&(u[e]=o[e]);function n(){this.constructor=u}return n.prototype=o.prototype,u.prototype=new n,u.__super__=o.prototype,u},f={}.hasOwnProperty;g=k("./Utility").isObject,b=k("./XMLNode"),w=k("./NodeType"),B.exports=A=function(l){v(u,l);function u(o,e,n,i){var r;u.__super__.constructor.call(this,o),g(e)&&(r=e,e=r.version,n=r.encoding,i=r.standalone),e||(e="1.0"),this.type=w.Declaration,this.version=this.stringify.xmlVersion(e),n!=null&&(this.encoding=this.stringify.xmlEncoding(n)),i!=null&&(this.standalone=this.stringify.xmlStandalone(i))}return u.prototype.toString=function(o){return this.options.writer.declaration(this,this.options.writer.filterOptions(o))},u}(b)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(k,B,d){"use strict";(function(){var w,A,b,g,v,f,l,u,o,e=function(r,s){for(var t in s)n.call(s,t)&&(r[t]=s[t]);function a(){this.constructor=r}return a.prototype=s.prototype,r.prototype=new a,r.__super__=s.prototype,r},n={}.hasOwnProperty;o=k("./Utility").isObject,u=k("./XMLNode"),w=k("./NodeType"),A=k("./XMLDTDAttList"),g=k("./XMLDTDEntity"),b=k("./XMLDTDElement"),v=k("./XMLDTDNotation"),l=k("./XMLNamedNodeMap"),B.exports=f=function(i){e(r,i);function r(s,t,a){var c,h,p,m,S,y;if(r.__super__.constructor.call(this,s),this.type=w.DocType,s.children){for(m=s.children,h=0,p=m.length;h<p;h++)if(c=m[h],c.type===w.Element){this.name=c.name;break}}this.documentObject=s,o(t)&&(S=t,t=S.pubID,a=S.sysID),a==null&&(y=[t,a],a=y[0],t=y[1]),t!=null&&(this.pubID=this.stringify.dtdPubID(t)),a!=null&&(this.sysID=this.stringify.dtdSysID(a))}return Object.defineProperty(r.prototype,"entities",{get:function(){var t,a,c,h,p;for(h={},p=this.children,a=0,c=p.length;a<c;a++)t=p[a],t.type===w.EntityDeclaration&&!t.pe&&(h[t.name]=t);return new l(h)}}),Object.defineProperty(r.prototype,"notations",{get:function(){var t,a,c,h,p;for(h={},p=this.children,a=0,c=p.length;a<c;a++)t=p[a],t.type===w.NotationDeclaration&&(h[t.name]=t);return new l(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(s,t){var a;return a=new b(this,s,t),this.children.push(a),this},r.prototype.attList=function(s,t,a,c,h){var p;return p=new A(this,s,t,a,c,h),this.children.push(p),this},r.prototype.entity=function(s,t){var a;return a=new g(this,!1,s,t),this.children.push(a),this},r.prototype.pEntity=function(s,t){var a;return a=new g(this,!0,s,t),this.children.push(a),this},r.prototype.notation=function(s,t){var a;return a=new v(this,s,t),this.children.push(a),this},r.prototype.toString=function(s){return this.options.writer.docType(this,this.options.writer.filterOptions(s))},r.prototype.ele=function(s,t){return this.element(s,t)},r.prototype.att=function(s,t,a,c,h){return this.attList(s,t,a,c,h)},r.prototype.ent=function(s,t){return this.entity(s,t)},r.prototype.pent=function(s,t){return this.pEntity(s,t)},r.prototype.not=function(s,t){return this.notation(s,t)},r.prototype.up=function(){return this.root()||this.documentObject},r.prototype.isEqualNode=function(s){return r.__super__.isEqualNode.apply(this,arguments).isEqualNode(s)?s.name!==this.name||s.publicId!==this.publicId?!1:!(s.systemId!==this.systemId):!1},r}(u)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(k,B,d){"use strict";(function(){var w,A,b,g,v,f,l,u,o=function(i,r){for(var s in r)e.call(r,s)&&(i[s]=r[s]);function t(){this.constructor=i}return t.prototype=r.prototype,i.prototype=new t,i.__super__=r.prototype,i},e={}.hasOwnProperty;u=k("./Utility").isPlainObject,b=k("./XMLDOMImplementation"),A=k("./XMLDOMConfiguration"),v=k("./XMLNode"),w=k("./NodeType"),l=k("./XMLStringifier"),f=k("./XMLStringWriter"),B.exports=g=function(n){o(i,n);function i(r){i.__super__.constructor.call(this,null),this.name="#document",this.type=w.Document,this.documentURI=null,this.domConfig=new A,r||(r={}),r.writer||(r.writer=new f),this.options=r,this.stringify=new l(r)}return Object.defineProperty(i.prototype,"implementation",{value:new b}),Object.defineProperty(i.prototype,"doctype",{get:function(){var s,t,a,c;for(c=this.children,t=0,a=c.length;t<a;t++)if(s=c[t],s.type===w.DocType)return s;return null}}),Object.defineProperty(i.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(i.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(i.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(i.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===w.Declaration?this.children[0].encoding:null}}),Object.defineProperty(i.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===w.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(i.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===w.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(i.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(i.prototype,"origin",{get:function(){return null}}),Object.defineProperty(i.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(i.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(i.prototype,"contentType",{get:function(){return null}}),i.prototype.end=function(r){var s;return s={},r?u(r)&&(s=r,r=this.options.writer):r=this.options.writer,r.document(this,r.filterOptions(s))},i.prototype.toString=function(r){return this.options.writer.document(this,this.options.writer.filterOptions(r))},i.prototype.createElement=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createTextNode=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createComment=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createCDATASection=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createProcessingInstruction=function(r,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createAttribute=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createEntityReference=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagName=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.importNode=function(r,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createElementNS=function(r,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createAttributeNS=function(r,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagNameNS=function(r,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementById=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.adoptNode=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.renameNode=function(r,s,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByClassName=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createEvent=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createNodeIterator=function(r,s,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createTreeWalker=function(r,s,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i}(v)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(k,B,d){"use strict";(function(){var w,A,b,g,v,f,l,u,o,e,n,i,r,s,t,a,c,h,p,m,S,y,x,C,T={}.hasOwnProperty;C=k("./Utility"),y=C.isObject,S=C.isFunction,x=C.isPlainObject,m=C.getValue,w=k("./NodeType"),i=k("./XMLDocument"),s=k("./XMLElement"),g=k("./XMLCData"),v=k("./XMLComment"),a=k("./XMLRaw"),p=k("./XMLText"),t=k("./XMLProcessingInstruction"),e=k("./XMLDeclaration"),n=k("./XMLDocType"),f=k("./XMLDTDAttList"),u=k("./XMLDTDEntity"),l=k("./XMLDTDElement"),o=k("./XMLDTDNotation"),b=k("./XMLAttribute"),h=k("./XMLStringifier"),c=k("./XMLStringWriter"),A=k("./WriterState"),B.exports=r=function(){function _(E,I,L){var D;this.name="?xml",this.type=w.Document,E||(E={}),D={},E.writer?x(E.writer)&&(D=E.writer,E.writer=new c):E.writer=new c,this.options=E,this.writer=E.writer,this.writerOptions=this.writer.filterOptions(D),this.stringify=new h(E),this.onDataCallback=I||function(){},this.onEndCallback=L||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return _.prototype.createChildNode=function(E){var I,L,D,F,N,P,W,R;switch(E.type){case w.CData:this.cdata(E.value);break;case w.Comment:this.comment(E.value);break;case w.Element:D={},W=E.attribs;for(L in W){if(!T.call(W,L))continue;I=W[L],D[L]=I.value}this.node(E.name,D);break;case w.Dummy:this.dummy();break;case w.Raw:this.raw(E.value);break;case w.Text:this.text(E.value);break;case w.ProcessingInstruction:this.instruction(E.target,E.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+E.constructor.name)}for(R=E.children,N=0,P=R.length;N<P;N++)F=R[N],this.createChildNode(F),F.type===w.Element&&this.up();return this},_.prototype.dummy=function(){return this},_.prototype.node=function(E,I,L){var D;if(E==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(E));return this.openCurrent(),E=m(E),I==null&&(I={}),I=m(I),y(I)||(D=[I,L],L=D[0],I=D[1]),this.currentNode=new s(this,E,I),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,L!=null&&this.text(L),this},_.prototype.element=function(E,I,L){var D,F,N,P,W,R;if(this.currentNode&&this.currentNode.type===w.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(E)||y(E)||S(E))for(P=this.options.noValidation,this.options.noValidation=!0,R=new i(this.options).element("TEMP_ROOT"),R.element(E),this.options.noValidation=P,W=R.children,F=0,N=W.length;F<N;F++)D=W[F],this.createChildNode(D),D.type===w.Element&&this.up();else this.node(E,I,L);return this},_.prototype.attribute=function(E,I){var L,D;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(E));if(E!=null&&(E=m(E)),y(E))for(L in E){if(!T.call(E,L))continue;D=E[L],this.attribute(L,D)}else S(I)&&(I=I.apply()),this.options.keepNullAttributes&&I==null?this.currentNode.attribs[E]=new b(this,E,""):I!=null&&(this.currentNode.attribs[E]=new b(this,E,I));return this},_.prototype.text=function(E){var I;return this.openCurrent(),I=new p(this,E),this.onData(this.writer.text(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_.prototype.cdata=function(E){var I;return this.openCurrent(),I=new g(this,E),this.onData(this.writer.cdata(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_.prototype.comment=function(E){var I;return this.openCurrent(),I=new v(this,E),this.onData(this.writer.comment(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_.prototype.raw=function(E){var I;return this.openCurrent(),I=new a(this,E),this.onData(this.writer.raw(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_.prototype.instruction=function(E,I){var L,D,F,N,P;if(this.openCurrent(),E!=null&&(E=m(E)),I!=null&&(I=m(I)),Array.isArray(E))for(L=0,N=E.length;L<N;L++)D=E[L],this.instruction(D);else if(y(E))for(D in E){if(!T.call(E,D))continue;F=E[D],this.instruction(D,F)}else S(I)&&(I=I.apply()),P=new t(this,E,I),this.onData(this.writer.processingInstruction(P,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},_.prototype.declaration=function(E,I,L){var D;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return D=new e(this,E,I,L),this.onData(this.writer.declaration(D,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_.prototype.doctype=function(E,I,L){if(this.openCurrent(),E==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 n(this,I,L),this.currentNode.rootNodeName=E,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},_.prototype.dtdElement=function(E,I){var L;return this.openCurrent(),L=new l(this,E,I),this.onData(this.writer.dtdElement(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_.prototype.attList=function(E,I,L,D,F){var N;return this.openCurrent(),N=new f(this,E,I,L,D,F),this.onData(this.writer.dtdAttList(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_.prototype.entity=function(E,I){var L;return this.openCurrent(),L=new u(this,!1,E,I),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_.prototype.pEntity=function(E,I){var L;return this.openCurrent(),L=new u(this,!0,E,I),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_.prototype.notation=function(E,I){var L;return this.openCurrent(),L=new o(this,E,I),this.onData(this.writer.dtdNotation(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_.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},_.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},_.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},_.prototype.openNode=function(E){var I,L,D,F;if(!E.isOpen){if(!this.root&&this.currentLevel===0&&E.type===w.Element&&(this.root=E),L="",E.type===w.Element){this.writerOptions.state=A.OpenTag,L=this.writer.indent(E,this.writerOptions,this.currentLevel)+"<"+E.name,F=E.attribs;for(D in F){if(!T.call(F,D))continue;I=F[D],L+=this.writer.attribute(I,this.writerOptions,this.currentLevel)}L+=(E.children?">":"/>")+this.writer.endline(E,this.writerOptions,this.currentLevel),this.writerOptions.state=A.InsideTag}else this.writerOptions.state=A.OpenTag,L=this.writer.indent(E,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+E.rootNodeName,E.pubID&&E.sysID?L+=' PUBLIC "'+E.pubID+'" "'+E.sysID+'"':E.sysID&&(L+=' SYSTEM "'+E.sysID+'"'),E.children?(L+=" [",this.writerOptions.state=A.InsideTag):(this.writerOptions.state=A.CloseTag,L+=">"),L+=this.writer.endline(E,this.writerOptions,this.currentLevel);return this.onData(L,this.currentLevel),E.isOpen=!0}},_.prototype.closeNode=function(E){var I;if(!E.isClosed)return I="",this.writerOptions.state=A.CloseTag,E.type===w.Element?I=this.writer.indent(E,this.writerOptions,this.currentLevel)+"</"+E.name+">"+this.writer.endline(E,this.writerOptions,this.currentLevel):I=this.writer.indent(E,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(E,this.writerOptions,this.currentLevel),this.writerOptions.state=A.None,this.onData(I,this.currentLevel),E.isClosed=!0},_.prototype.onData=function(E,I){return this.documentStarted=!0,this.onDataCallback(E,I+1)},_.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},_.prototype.debugInfo=function(E){return E==null?"":"node: <"+E+">"},_.prototype.ele=function(){return this.element.apply(this,arguments)},_.prototype.nod=function(E,I,L){return this.node(E,I,L)},_.prototype.txt=function(E){return this.text(E)},_.prototype.dat=function(E){return this.cdata(E)},_.prototype.com=function(E){return this.comment(E)},_.prototype.ins=function(E,I){return this.instruction(E,I)},_.prototype.dec=function(E,I,L){return this.declaration(E,I,L)},_.prototype.dtd=function(E,I,L){return this.doctype(E,I,L)},_.prototype.e=function(E,I,L){return this.element(E,I,L)},_.prototype.n=function(E,I,L){return this.node(E,I,L)},_.prototype.t=function(E){return this.text(E)},_.prototype.d=function(E){return this.cdata(E)},_.prototype.c=function(E){return this.comment(E)},_.prototype.r=function(E){return this.raw(E)},_.prototype.i=function(E,I){return this.instruction(E,I)},_.prototype.att=function(){return this.currentNode&&this.currentNode.type===w.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_.prototype.a=function(){return this.currentNode&&this.currentNode.type===w.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_.prototype.ent=function(E,I){return this.entity(E,I)},_.prototype.pent=function(E,I){return this.pEntity(E,I)},_.prototype.not=function(E,I){return this.notation(E,I)},_}()}).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(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=b(w);function b(g){return g&&g.__esModule?g:{default:g}}(function(){var g,v,f,l=function(e,n){for(var i in n)u.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},u={}.hasOwnProperty;f=k("./XMLNode"),g=k("./NodeType"),B.exports=v=function(o){l(e,o);function e(n){e.__super__.constructor.call(this,n),this.type=g.Dummy}return e.prototype.clone=function(){return(0,A.default)(this)},e.prototype.toString=function(n){return""},e}(f)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=b(w);function b(g){return g&&g.__esModule?g:{default:g}}(function(){var g,v,f,l,u,o,e,n,i,r=function(a,c){for(var h in c)s.call(c,h)&&(a[h]=c[h]);function p(){this.constructor=a}return p.prototype=c.prototype,a.prototype=new p,a.__super__=c.prototype,a},s={}.hasOwnProperty;i=k("./Utility"),n=i.isObject,e=i.isFunction,o=i.getValue,u=k("./XMLNode"),g=k("./NodeType"),v=k("./XMLAttribute"),l=k("./XMLNamedNodeMap"),B.exports=f=function(t){r(a,t);function a(c,h,p){var m,S,y,x;if(a.__super__.constructor.call(this,c),h==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(h),this.type=g.Element,this.attribs={},this.schemaTypeInfo=null,p!=null&&this.attribute(p),c.type===g.Document&&(this.isRoot=!0,this.documentObject=c,c.rootObject=this,c.children)){for(x=c.children,S=0,y=x.length;S<y;S++)if(m=x[S],m.type===g.DocType){m.name=this.name;break}}}return Object.defineProperty(a.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(a.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(a.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(a.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(a.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(a.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(a.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(a.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new l(this.attribs)),this.attributeMap}}),a.prototype.clone=function(){var c,h,p,m;p=(0,A.default)(this),p.isRoot&&(p.documentObject=null),p.attribs={},m=this.attribs;for(h in m){if(!s.call(m,h))continue;c=m[h],p.attribs[h]=c.clone()}return p.children=[],this.children.forEach(function(S){var y;return y=S.clone(),y.parent=p,p.children.push(y)}),p},a.prototype.attribute=function(c,h){var p,m;if(c!=null&&(c=o(c)),n(c))for(p in c){if(!s.call(c,p))continue;m=c[p],this.attribute(p,m)}else e(h)&&(h=h.apply()),this.options.keepNullAttributes&&h==null?this.attribs[c]=new v(this,c,""):h!=null&&(this.attribs[c]=new v(this,c,h));return this},a.prototype.removeAttribute=function(c){var h,p,m;if(c==null)throw new Error("Missing attribute name. "+this.debugInfo());if(c=o(c),Array.isArray(c))for(p=0,m=c.length;p<m;p++)h=c[p],delete this.attribs[h];else delete this.attribs[c];return this},a.prototype.toString=function(c){return this.options.writer.element(this,this.options.writer.filterOptions(c))},a.prototype.att=function(c,h){return this.attribute(c,h)},a.prototype.a=function(c,h){return this.attribute(c,h)},a.prototype.getAttribute=function(c){return this.attribs.hasOwnProperty(c)?this.attribs[c].value:null},a.prototype.setAttribute=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getAttributeNode=function(c){return this.attribs.hasOwnProperty(c)?this.attribs[c]:null},a.prototype.setAttributeNode=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.removeAttributeNode=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagName=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getAttributeNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setAttributeNS=function(c,h,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.removeAttributeNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getAttributeNodeNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setAttributeNodeNS=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagNameNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.hasAttribute=function(c){return this.attribs.hasOwnProperty(c)},a.prototype.hasAttributeNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setIdAttribute=function(c,h){return this.attribs.hasOwnProperty(c)?this.attribs[c].isId:h},a.prototype.setIdAttributeNS=function(c,h,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setIdAttributeNode=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagName=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagNameNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByClassName=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.isEqualNode=function(c){var h,p,m;if(!a.__super__.isEqualNode.apply(this,arguments).isEqualNode(c))return!1;if(c.namespaceURI!==this.namespaceURI)return!1;if(c.prefix!==this.prefix)return!1;if(c.localName!==this.localName)return!1;if(c.attribs.length!==this.attribs.length)return!1;for(h=p=0,m=this.attribs.length-1;0<=m?p<=m:p>=m;h=0<=m?++p:--p)if(!this.attribs[h].isEqualNode(c.attribs[h]))return!1;return!0},a}(u)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/keys"),A=b(w);function b(g){return g&&g.__esModule?g:{default:g}}(function(){var g;B.exports=g=function(){function v(f){this.nodes=f}return Object.defineProperty(v.prototype,"length",{get:function(){return(0,A.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 l;return l=this.nodes[f.nodeName],this.nodes[f.nodeName]=f,l||null},v.prototype.removeNamedItem=function(f){var l;return l=this.nodes[f],delete this.nodes[f],l||null},v.prototype.item=function(f){return this.nodes[(0,A.default)(this.nodes)[f]]||null},v.prototype.getNamedItemNS=function(f,l){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,l){throw new Error("This DOM method is not implemented.")},v}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(k,B,d){"use strict";(function(){var w,A,b,g,v,f,l,u,o,e,n,i,r,s,t,a,c,h,p,m={}.hasOwnProperty;p=k("./Utility"),h=p.isObject,c=p.isFunction,a=p.isEmpty,t=p.getValue,u=null,b=null,g=null,v=null,f=null,r=null,s=null,i=null,l=null,A=null,n=null,o=null,w=null,B.exports=e=function(){function S(y){this.parent=y,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,u||(u=k("./XMLElement"),b=k("./XMLCData"),g=k("./XMLComment"),v=k("./XMLDeclaration"),f=k("./XMLDocType"),r=k("./XMLRaw"),s=k("./XMLText"),i=k("./XMLProcessingInstruction"),l=k("./XMLDummy"),A=k("./NodeType"),n=k("./XMLNodeList"),o=k("./XMLNamedNodeMap"),w=k("./DocumentPosition"))}return Object.defineProperty(S.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(S.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(S.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(S.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(S.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new n(this.children)),this.childNodeList}}),Object.defineProperty(S.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(S.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){var x;return x=this.parent.children.indexOf(this),this.parent.children[x-1]||null}}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){var x;return x=this.parent.children.indexOf(this),this.parent.children[x+1]||null}}),Object.defineProperty(S.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(S.prototype,"textContent",{get:function(){var x,C,T,_,E;if(this.nodeType===A.Element||this.nodeType===A.DocumentFragment){for(E="",_=this.children,C=0,T=_.length;C<T;C++)x=_[C],x.textContent&&(E+=x.textContent);return E}else return null},set:function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),S.prototype.setParent=function(y){var x,C,T,_,E;for(this.parent=y,y&&(this.options=y.options,this.stringify=y.stringify),_=this.children,E=[],C=0,T=_.length;C<T;C++)x=_[C],E.push(x.setParent(this));return E},S.prototype.element=function(y,x,C){var T,_,E,I,L,D,F,N,P,W,R;if(D=null,x===null&&C==null&&(P=[{},null],x=P[0],C=P[1]),x==null&&(x={}),x=t(x),h(x)||(W=[x,C],C=W[0],x=W[1]),y!=null&&(y=t(y)),Array.isArray(y))for(E=0,F=y.length;E<F;E++)_=y[E],D=this.element(_);else if(c(y))D=this.element(y.apply());else if(h(y))for(L in y){if(!m.call(y,L))continue;if(R=y[L],c(R)&&(R=R.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&L.indexOf(this.stringify.convertAttKey)===0)D=this.attribute(L.substr(this.stringify.convertAttKey.length),R);else if(!this.options.separateArrayItems&&Array.isArray(R)&&a(R))D=this.dummy();else if(h(R)&&a(R))D=this.element(L);else if(!this.options.keepNullNodes&&R==null)D=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(R))for(I=0,N=R.length;I<N;I++)_=R[I],T={},T[L]=_,D=this.element(T);else h(R)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&L.indexOf(this.stringify.convertTextKey)===0?D=this.element(R):(D=this.element(L),D.element(R)):D=this.element(L,R)}else!this.options.keepNullNodes&&C===null?D=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&y.indexOf(this.stringify.convertTextKey)===0?D=this.text(C):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&y.indexOf(this.stringify.convertCDataKey)===0?D=this.cdata(C):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&y.indexOf(this.stringify.convertCommentKey)===0?D=this.comment(C):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&y.indexOf(this.stringify.convertRawKey)===0?D=this.raw(C):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&y.indexOf(this.stringify.convertPIKey)===0?D=this.instruction(y.substr(this.stringify.convertPIKey.length),C):D=this.node(y,x,C);if(D==null)throw new Error("Could not create any elements with: "+y+". "+this.debugInfo());return D},S.prototype.insertBefore=function(y,x,C){var T,_,E,I,L;if(y!=null?y.type:void 0)return E=y,I=x,E.setParent(this),I?(_=children.indexOf(I),L=children.splice(_),children.push(E),Array.prototype.push.apply(children,L)):children.push(E),E;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(y));return _=this.parent.children.indexOf(this),L=this.parent.children.splice(_),T=this.parent.element(y,x,C),Array.prototype.push.apply(this.parent.children,L),T},S.prototype.insertAfter=function(y,x,C){var T,_,E;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(y));return _=this.parent.children.indexOf(this),E=this.parent.children.splice(_+1),T=this.parent.element(y,x,C),Array.prototype.push.apply(this.parent.children,E),T},S.prototype.remove=function(){var y,x;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return y=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[y,y-y+1].concat(x=[])),this.parent},S.prototype.node=function(y,x,C){var T,_;return y!=null&&(y=t(y)),x||(x={}),x=t(x),h(x)||(_=[x,C],C=_[0],x=_[1]),T=new u(this,y,x),C!=null&&T.text(C),this.children.push(T),T},S.prototype.text=function(y){var x;return h(y)&&this.element(y),x=new s(this,y),this.children.push(x),this},S.prototype.cdata=function(y){var x;return x=new b(this,y),this.children.push(x),this},S.prototype.comment=function(y){var x;return x=new g(this,y),this.children.push(x),this},S.prototype.commentBefore=function(y){var x,C,T;return C=this.parent.children.indexOf(this),T=this.parent.children.splice(C),x=this.parent.comment(y),Array.prototype.push.apply(this.parent.children,T),this},S.prototype.commentAfter=function(y){var x,C,T;return C=this.parent.children.indexOf(this),T=this.parent.children.splice(C+1),x=this.parent.comment(y),Array.prototype.push.apply(this.parent.children,T),this},S.prototype.raw=function(y){var x;return x=new r(this,y),this.children.push(x),this},S.prototype.dummy=function(){var y;return y=new l(this),y},S.prototype.instruction=function(y,x){var C,T,_,E,I;if(y!=null&&(y=t(y)),x!=null&&(x=t(x)),Array.isArray(y))for(E=0,I=y.length;E<I;E++)C=y[E],this.instruction(C);else if(h(y))for(C in y){if(!m.call(y,C))continue;T=y[C],this.instruction(C,T)}else c(x)&&(x=x.apply()),_=new i(this,y,x),this.children.push(_);return this},S.prototype.instructionBefore=function(y,x){var C,T,_;return T=this.parent.children.indexOf(this),_=this.parent.children.splice(T),C=this.parent.instruction(y,x),Array.prototype.push.apply(this.parent.children,_),this},S.prototype.instructionAfter=function(y,x){var C,T,_;return T=this.parent.children.indexOf(this),_=this.parent.children.splice(T+1),C=this.parent.instruction(y,x),Array.prototype.push.apply(this.parent.children,_),this},S.prototype.declaration=function(y,x,C){var T,_;return T=this.document(),_=new v(T,y,x,C),T.children.length===0?T.children.unshift(_):T.children[0].type===A.Declaration?T.children[0]=_:T.children.unshift(_),T.root()||T},S.prototype.dtd=function(y,x){var C,T,_,E,I,L,D,F,N,P;for(T=this.document(),_=new f(T,y,x),N=T.children,E=I=0,D=N.length;I<D;E=++I)if(C=N[E],C.type===A.DocType)return T.children[E]=_,_;for(P=T.children,E=L=0,F=P.length;L<F;E=++L)if(C=P[E],C.isRoot)return T.children.splice(E,0,_),_;return T.children.push(_),_},S.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},S.prototype.root=function(){var y;for(y=this;y;){if(y.type===A.Document)return y.rootObject;if(y.isRoot)return y;y=y.parent}},S.prototype.document=function(){var y;for(y=this;y;){if(y.type===A.Document)return y;y=y.parent}},S.prototype.end=function(y){return this.document().end(y)},S.prototype.prev=function(){var y;if(y=this.parent.children.indexOf(this),y<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[y-1]},S.prototype.next=function(){var y;if(y=this.parent.children.indexOf(this),y===-1||y===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[y+1]},S.prototype.importDocument=function(y){var x;return x=y.root().clone(),x.parent=this,x.isRoot=!1,this.children.push(x),this},S.prototype.debugInfo=function(y){var x,C;return y=y||this.name,y==null&&!((x=this.parent)!=null?x.name:void 0)?"":y==null?"parent: <"+this.parent.name+">":((C=this.parent)!=null?C.name:void 0)?"node: <"+y+">, parent: <"+this.parent.name+">":"node: <"+y+">"},S.prototype.ele=function(y,x,C){return this.element(y,x,C)},S.prototype.nod=function(y,x,C){return this.node(y,x,C)},S.prototype.txt=function(y){return this.text(y)},S.prototype.dat=function(y){return this.cdata(y)},S.prototype.com=function(y){return this.comment(y)},S.prototype.ins=function(y,x){return this.instruction(y,x)},S.prototype.doc=function(){return this.document()},S.prototype.dec=function(y,x,C){return this.declaration(y,x,C)},S.prototype.e=function(y,x,C){return this.element(y,x,C)},S.prototype.n=function(y,x,C){return this.node(y,x,C)},S.prototype.t=function(y){return this.text(y)},S.prototype.d=function(y){return this.cdata(y)},S.prototype.c=function(y){return this.comment(y)},S.prototype.r=function(y){return this.raw(y)},S.prototype.i=function(y,x){return this.instruction(y,x)},S.prototype.u=function(){return this.up()},S.prototype.importXMLBuilder=function(y){return this.importDocument(y)},S.prototype.replaceChild=function(y,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.removeChild=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.appendChild=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.hasChildNodes=function(){return this.children.length!==0},S.prototype.cloneNode=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.isSupported=function(y,x){return!0},S.prototype.hasAttributes=function(){return this.attribs.length!==0},S.prototype.compareDocumentPosition=function(y){var x,C;return x=this,x===y?0:this.document()!==y.document()?(C=w.Disconnected|w.ImplementationSpecific,Math.random()<.5?C|=w.Preceding:C|=w.Following,C):x.isAncestor(y)?w.Contains|w.Preceding:x.isDescendant(y)?w.Contains|w.Following:x.isPreceding(y)?w.Preceding:w.Following},S.prototype.isSameNode=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.lookupPrefix=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.isDefaultNamespace=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.lookupNamespaceURI=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.isEqualNode=function(y){var x,C,T;if(y.nodeType!==this.nodeType)return!1;if(y.children.length!==this.children.length)return!1;for(x=C=0,T=this.children.length-1;0<=T?C<=T:C>=T;x=0<=T?++C:--C)if(!this.children[x].isEqualNode(y.children[x]))return!1;return!0},S.prototype.getFeature=function(y,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.setUserData=function(y,x,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.getUserData=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.contains=function(y){return y?y===this||this.isDescendant(y):!1},S.prototype.isDescendant=function(y){var x,C,T,_,E;for(E=this.children,T=0,_=E.length;T<_;T++){if(x=E[T],y===x)return!0;if(C=x.isDescendant(y),C)return!0}return!1},S.prototype.isAncestor=function(y){return y.isDescendant(this)},S.prototype.isPreceding=function(y){var x,C;return x=this.treePosition(y),C=this.treePosition(this),x===-1||C===-1?!1:x<C},S.prototype.isFollowing=function(y){var x,C;return x=this.treePosition(y),C=this.treePosition(this),x===-1||C===-1?!1:x>C},S.prototype.treePosition=function(y){var x,C;return C=0,x=!1,this.foreachTreeNode(this.document(),function(T){if(C++,!x&&T===y)return x=!0}),x?C:-1},S.prototype.foreachTreeNode=function(y,x){var C,T,_,E,I;for(y||(y=this.document()),E=y.children,T=0,_=E.length;T<_;T++){if(C=E[T],I=x(C))return I;if(I=this.foreachTreeNode(C,x),I)return I}},S}()}).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(k,B,d){"use strict";(function(){var w;B.exports=w=function(){function A(b){this.nodes=b}return Object.defineProperty(A.prototype,"length",{get:function(){return this.nodes.length||0}}),A.prototype.clone=function(){return this.nodes=null},A.prototype.item=function(b){return this.nodes[b]||null},A}()}).call(void 0)},{}],275:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=b(w);function b(g){return g&&g.__esModule?g:{default:g}}(function(){var g,v,f,l=function(e,n){for(var i in n)u.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},u={}.hasOwnProperty;g=k("./NodeType"),v=k("./XMLCharacterData"),B.exports=f=function(o){l(e,o);function e(n,i,r){if(e.__super__.constructor.call(this,n),i==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=g.ProcessingInstruction,this.target=this.stringify.insTarget(i),this.name=this.target,r&&(this.value=this.stringify.insValue(r))}return e.prototype.clone=function(){return(0,A.default)(this)},e.prototype.toString=function(n){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(n))},e.prototype.isEqualNode=function(n){return e.__super__.isEqualNode.apply(this,arguments).isEqualNode(n)?!(n.target!==this.target):!1},e}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=b(w);function b(g){return g&&g.__esModule?g:{default:g}}(function(){var g,v,f,l=function(e,n){for(var i in n)u.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},u={}.hasOwnProperty;g=k("./NodeType"),v=k("./XMLNode"),B.exports=f=function(o){l(e,o);function e(n,i){if(e.__super__.constructor.call(this,n),i==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=g.Raw,this.value=this.stringify.raw(i)}return e.prototype.clone=function(){return(0,A.default)(this)},e.prototype.toString=function(n){return this.options.writer.raw(this,this.options.writer.filterOptions(n))},e}(v)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(k,B,d){"use strict";(function(){var w,A,b,g,v=function(u,o){for(var e in o)f.call(o,e)&&(u[e]=o[e]);function n(){this.constructor=u}return n.prototype=o.prototype,u.prototype=new n,u.__super__=o.prototype,u},f={}.hasOwnProperty;w=k("./NodeType"),g=k("./XMLWriterBase"),A=k("./WriterState"),B.exports=b=function(l){v(u,l);function u(o,e){this.stream=o,u.__super__.constructor.call(this,e)}return u.prototype.endline=function(o,e,n){return o.isLastRootNode&&e.state===A.CloseTag?"":u.__super__.endline.call(this,o,e,n)},u.prototype.document=function(o,e){var n,i,r,s,t,a,c,h,p;for(c=o.children,i=r=0,t=c.length;r<t;i=++r)n=c[i],n.isLastRootNode=i===o.children.length-1;for(e=this.filterOptions(e),h=o.children,p=[],s=0,a=h.length;s<a;s++)n=h[s],p.push(this.writeChildNode(n,e,0));return p},u.prototype.attribute=function(o,e,n){return this.stream.write(u.__super__.attribute.call(this,o,e,n))},u.prototype.cdata=function(o,e,n){return this.stream.write(u.__super__.cdata.call(this,o,e,n))},u.prototype.comment=function(o,e,n){return this.stream.write(u.__super__.comment.call(this,o,e,n))},u.prototype.declaration=function(o,e,n){return this.stream.write(u.__super__.declaration.call(this,o,e,n))},u.prototype.docType=function(o,e,n){var i,r,s,t;if(n||(n=0),this.openNode(o,e,n),e.state=A.OpenTag,this.stream.write(this.indent(o,e,n)),this.stream.write("<!DOCTYPE "+o.root().name),o.pubID&&o.sysID?this.stream.write(' PUBLIC "'+o.pubID+'" "'+o.sysID+'"'):o.sysID&&this.stream.write(' SYSTEM "'+o.sysID+'"'),o.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(o,e,n)),e.state=A.InsideTag,t=o.children,r=0,s=t.length;r<s;r++)i=t[r],this.writeChildNode(i,e,n+1);e.state=A.CloseTag,this.stream.write("]")}return e.state=A.CloseTag,this.stream.write(e.spaceBeforeSlash+">"),this.stream.write(this.endline(o,e,n)),e.state=A.None,this.closeNode(o,e,n)},u.prototype.element=function(o,e,n){var i,r,s,t,a,c,h,p,m,S;n||(n=0),this.openNode(o,e,n),e.state=A.OpenTag,this.stream.write(this.indent(o,e,n)+"<"+o.name),m=o.attribs;for(h in m){if(!f.call(m,h))continue;i=m[h],this.attribute(i,e,n)}if(s=o.children.length,t=s===0?null:o.children[0],s===0||o.children.every(function(y){return(y.type===w.Text||y.type===w.Raw)&&y.value===""}))e.allowEmpty?(this.stream.write(">"),e.state=A.CloseTag,this.stream.write("</"+o.name+">")):(e.state=A.CloseTag,this.stream.write(e.spaceBeforeSlash+"/>"));else if(e.pretty&&s===1&&(t.type===w.Text||t.type===w.Raw)&&t.value!=null)this.stream.write(">"),e.state=A.InsideTag,e.suppressPrettyCount++,p=!0,this.writeChildNode(t,e,n+1),e.suppressPrettyCount--,p=!1,e.state=A.CloseTag,this.stream.write("</"+o.name+">");else{for(this.stream.write(">"+this.endline(o,e,n)),e.state=A.InsideTag,S=o.children,a=0,c=S.length;a<c;a++)r=S[a],this.writeChildNode(r,e,n+1);e.state=A.CloseTag,this.stream.write(this.indent(o,e,n)+"</"+o.name+">")}return this.stream.write(this.endline(o,e,n)),e.state=A.None,this.closeNode(o,e,n)},u.prototype.processingInstruction=function(o,e,n){return this.stream.write(u.__super__.processingInstruction.call(this,o,e,n))},u.prototype.raw=function(o,e,n){return this.stream.write(u.__super__.raw.call(this,o,e,n))},u.prototype.text=function(o,e,n){return this.stream.write(u.__super__.text.call(this,o,e,n))},u.prototype.dtdAttList=function(o,e,n){return this.stream.write(u.__super__.dtdAttList.call(this,o,e,n))},u.prototype.dtdElement=function(o,e,n){return this.stream.write(u.__super__.dtdElement.call(this,o,e,n))},u.prototype.dtdEntity=function(o,e,n){return this.stream.write(u.__super__.dtdEntity.call(this,o,e,n))},u.prototype.dtdNotation=function(o,e,n){return this.stream.write(u.__super__.dtdNotation.call(this,o,e,n))},u}(g)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(k,B,d){"use strict";(function(){var w,A,b=function(f,l){for(var u in l)g.call(l,u)&&(f[u]=l[u]);function o(){this.constructor=f}return o.prototype=l.prototype,f.prototype=new o,f.__super__=l.prototype,f},g={}.hasOwnProperty;A=k("./XMLWriterBase"),B.exports=w=function(v){b(f,v);function f(l){f.__super__.constructor.call(this,l)}return f.prototype.document=function(l,u){var o,e,n,i,r;for(u=this.filterOptions(u),i="",r=l.children,e=0,n=r.length;e<n;e++)o=r[e],i+=this.writeChildNode(o,u,0);return u.pretty&&i.slice(-u.newline.length)===u.newline&&(i=i.slice(0,-u.newline.length)),i},f}(A)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(k,B,d){"use strict";(function(){var w,A=function(v,f){return function(){return v.apply(f,arguments)}},b={}.hasOwnProperty;B.exports=w=function(){function g(v){this.assertLegalName=A(this.assertLegalName,this),this.assertLegalChar=A(this.assertLegalChar,this);var f,l,u;v||(v={}),this.options=v,this.options.version||(this.options.version="1.0"),l=v.stringify||{};for(f in l){if(!b.call(l,f))continue;u=l[f],this[f]=u}}return g.prototype.name=function(v){return this.options.noValidation?v:this.assertLegalName(""+v||"")},g.prototype.text=function(v){return this.options.noValidation?v:this.assertLegalChar(this.textEscape(""+v||""))},g.prototype.cdata=function(v){return this.options.noValidation?v:(v=""+v||"",v=v.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(v))},g.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)},g.prototype.raw=function(v){return this.options.noValidation?v:""+v||""},g.prototype.attValue=function(v){return this.options.noValidation?v:this.assertLegalChar(this.attEscape(v=""+v||""))},g.prototype.insTarget=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},g.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)},g.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},g.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)},g.prototype.xmlStandalone=function(v){return this.options.noValidation?v:v?"yes":"no"},g.prototype.dtdPubID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},g.prototype.dtdSysID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},g.prototype.dtdElementValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},g.prototype.dtdAttType=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},g.prototype.dtdAttDefault=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},g.prototype.dtdEntityValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},g.prototype.dtdNData=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},g.prototype.convertAttKey="@",g.prototype.convertPIKey="?",g.prototype.convertTextKey="#text",g.prototype.convertCDataKey="#cdata",g.prototype.convertCommentKey="#comment",g.prototype.convertRawKey="#raw",g.prototype.assertLegalChar=function(v){var f,l;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]/,l=v.match(f))throw new Error("Invalid character in string: "+v+" at index "+l.index)}else if(this.options.version==="1.1"&&(f=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,l=v.match(f)))throw new Error("Invalid character in string: "+v+" at index "+l.index);return v},g.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},g.prototype.textEscape=function(v){var f;return this.options.noValidation?v:(f=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(f,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},g.prototype.attEscape=function(v){var f;return this.options.noValidation?v:(f=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(f,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},g}()}).call(void 0)},{}],280:[function(k,B,d){"use strict";var w=k("babel-runtime/core-js/object/create"),A=b(w);function b(g){return g&&g.__esModule?g:{default:g}}(function(){var g,v,f,l=function(e,n){for(var i in n)u.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},u={}.hasOwnProperty;g=k("./NodeType"),v=k("./XMLCharacterData"),B.exports=f=function(o){l(e,o);function e(n,i){if(e.__super__.constructor.call(this,n),i==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=g.Text,this.value=this.stringify.text(i)}return Object.defineProperty(e.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"wholeText",{get:function(){var i,r,s;for(s="",r=this.previousSibling;r;)s=r.data+s,r=r.previousSibling;for(s+=this.data,i=this.nextSibling;i;)s=s+i.data,i=i.nextSibling;return s}}),e.prototype.clone=function(){return(0,A.default)(this)},e.prototype.toString=function(n){return this.options.writer.text(this,this.options.writer.filterOptions(n))},e.prototype.splitText=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.replaceWholeText=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},e}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(k,B,d){"use strict";(function(){var w,A,b,g,v,f,l,u,o,e,n,i,r,s,t,a,c,h={}.hasOwnProperty;c=k("./Utility").assign,w=k("./NodeType"),o=k("./XMLDeclaration"),e=k("./XMLDocType"),b=k("./XMLCData"),g=k("./XMLComment"),i=k("./XMLElement"),s=k("./XMLRaw"),t=k("./XMLText"),r=k("./XMLProcessingInstruction"),n=k("./XMLDummy"),v=k("./XMLDTDAttList"),f=k("./XMLDTDElement"),l=k("./XMLDTDEntity"),u=k("./XMLDTDNotation"),A=k("./WriterState"),B.exports=a=function(){function p(m){var S,y,x;m||(m={}),this.options=m,y=m.writer||{};for(S in y){if(!h.call(y,S))continue;x=y[S],this["_"+S]=this[S],this[S]=x}}return p.prototype.filterOptions=function(m){var S,y,x,C,T,_,E,I;return m||(m={}),m=c({},this.options,m),S={writer:this},S.pretty=m.pretty||!1,S.allowEmpty=m.allowEmpty||!1,S.indent=(y=m.indent)!=null?y:" ",S.newline=(x=m.newline)!=null?x:`
`,S.offset=(C=m.offset)!=null?C:0,S.dontPrettyTextNodes=(T=(_=m.dontPrettyTextNodes)!=null?_:m.dontprettytextnodes)!=null?T:0,S.spaceBeforeSlash=(E=(I=m.spaceBeforeSlash)!=null?I:m.spacebeforeslash)!=null?E:"",S.spaceBeforeSlash===!0&&(S.spaceBeforeSlash=" "),S.suppressPrettyCount=0,S.user={},S.state=A.None,S},p.prototype.indent=function(m,S,y){var x;return!S.pretty||S.suppressPrettyCount?"":S.pretty&&(x=(y||0)+S.offset+1,x>0)?new Array(x).join(S.indent):""},p.prototype.endline=function(m,S,y){return!S.pretty||S.suppressPrettyCount?"":S.newline},p.prototype.attribute=function(m,S,y){var x;return this.openAttribute(m,S,y),x=" "+m.name+'="'+m.value+'"',this.closeAttribute(m,S,y),x},p.prototype.cdata=function(m,S,y){var x;return this.openNode(m,S,y),S.state=A.OpenTag,x=this.indent(m,S,y)+"<![CDATA[",S.state=A.InsideTag,x+=m.value,S.state=A.CloseTag,x+="]]>"+this.endline(m,S,y),S.state=A.None,this.closeNode(m,S,y),x},p.prototype.comment=function(m,S,y){var x;return this.openNode(m,S,y),S.state=A.OpenTag,x=this.indent(m,S,y)+"<!-- ",S.state=A.InsideTag,x+=m.value,S.state=A.CloseTag,x+=" -->"+this.endline(m,S,y),S.state=A.None,this.closeNode(m,S,y),x},p.prototype.declaration=function(m,S,y){var x;return this.openNode(m,S,y),S.state=A.OpenTag,x=this.indent(m,S,y)+"<?xml",S.state=A.InsideTag,x+=' version="'+m.version+'"',m.encoding!=null&&(x+=' encoding="'+m.encoding+'"'),m.standalone!=null&&(x+=' standalone="'+m.standalone+'"'),S.state=A.CloseTag,x+=S.spaceBeforeSlash+"?>",x+=this.endline(m,S,y),S.state=A.None,this.closeNode(m,S,y),x},p.prototype.docType=function(m,S,y){var x,C,T,_,E;if(y||(y=0),this.openNode(m,S,y),S.state=A.OpenTag,_=this.indent(m,S,y),_+="<!DOCTYPE "+m.root().name,m.pubID&&m.sysID?_+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(_+=' SYSTEM "'+m.sysID+'"'),m.children.length>0){for(_+=" [",_+=this.endline(m,S,y),S.state=A.InsideTag,E=m.children,C=0,T=E.length;C<T;C++)x=E[C],_+=this.writeChildNode(x,S,y+1);S.state=A.CloseTag,_+="]"}return S.state=A.CloseTag,_+=S.spaceBeforeSlash+">",_+=this.endline(m,S,y),S.state=A.None,this.closeNode(m,S,y),_},p.prototype.element=function(m,S,y){var x,C,T,_,E,I,L,D,F,N,P,W,R,j;y||(y=0),N=!1,P="",this.openNode(m,S,y),S.state=A.OpenTag,P+=this.indent(m,S,y)+"<"+m.name,W=m.attribs;for(F in W){if(!h.call(W,F))continue;x=W[F],P+=this.attribute(x,S,y)}if(T=m.children.length,_=T===0?null:m.children[0],T===0||m.children.every(function(H){return(H.type===w.Text||H.type===w.Raw)&&H.value===""}))S.allowEmpty?(P+=">",S.state=A.CloseTag,P+="</"+m.name+">"+this.endline(m,S,y)):(S.state=A.CloseTag,P+=S.spaceBeforeSlash+"/>"+this.endline(m,S,y));else if(S.pretty&&T===1&&(_.type===w.Text||_.type===w.Raw)&&_.value!=null)P+=">",S.state=A.InsideTag,S.suppressPrettyCount++,N=!0,P+=this.writeChildNode(_,S,y+1),S.suppressPrettyCount--,N=!1,S.state=A.CloseTag,P+="</"+m.name+">"+this.endline(m,S,y);else{if(S.dontPrettyTextNodes){for(R=m.children,E=0,L=R.length;E<L;E++)if(C=R[E],(C.type===w.Text||C.type===w.Raw)&&C.value!=null){S.suppressPrettyCount++,N=!0;break}}for(P+=">"+this.endline(m,S,y),S.state=A.InsideTag,j=m.children,I=0,D=j.length;I<D;I++)C=j[I],P+=this.writeChildNode(C,S,y+1);S.state=A.CloseTag,P+=this.indent(m,S,y)+"</"+m.name+">",N&&S.suppressPrettyCount--,P+=this.endline(m,S,y),S.state=A.None}return this.closeNode(m,S,y),P},p.prototype.writeChildNode=function(m,S,y){switch(m.type){case w.CData:return this.cdata(m,S,y);case w.Comment:return this.comment(m,S,y);case w.Element:return this.element(m,S,y);case w.Raw:return this.raw(m,S,y);case w.Text:return this.text(m,S,y);case w.ProcessingInstruction:return this.processingInstruction(m,S,y);case w.Dummy:return"";case w.Declaration:return this.declaration(m,S,y);case w.DocType:return this.docType(m,S,y);case w.AttributeDeclaration:return this.dtdAttList(m,S,y);case w.ElementDeclaration:return this.dtdElement(m,S,y);case w.EntityDeclaration:return this.dtdEntity(m,S,y);case w.NotationDeclaration:return this.dtdNotation(m,S,y);default:throw new Error("Unknown XML node type: "+m.constructor.name)}},p.prototype.processingInstruction=function(m,S,y){var x;return this.openNode(m,S,y),S.state=A.OpenTag,x=this.indent(m,S,y)+"<?",S.state=A.InsideTag,x+=m.target,m.value&&(x+=" "+m.value),S.state=A.CloseTag,x+=S.spaceBeforeSlash+"?>",x+=this.endline(m,S,y),S.state=A.None,this.closeNode(m,S,y),x},p.prototype.raw=function(m,S,y){var x;return this.openNode(m,S,y),S.state=A.OpenTag,x=this.indent(m,S,y),S.state=A.InsideTag,x+=m.value,S.state=A.CloseTag,x+=this.endline(m,S,y),S.state=A.None,this.closeNode(m,S,y),x},p.prototype.text=function(m,S,y){var x;return this.openNode(m,S,y),S.state=A.OpenTag,x=this.indent(m,S,y),S.state=A.InsideTag,x+=m.value,S.state=A.CloseTag,x+=this.endline(m,S,y),S.state=A.None,this.closeNode(m,S,y),x},p.prototype.dtdAttList=function(m,S,y){var x;return this.openNode(m,S,y),S.state=A.OpenTag,x=this.indent(m,S,y)+"<!ATTLIST",S.state=A.InsideTag,x+=" "+m.elementName+" "+m.attributeName+" "+m.attributeType,m.defaultValueType!=="#DEFAULT"&&(x+=" "+m.defaultValueType),m.defaultValue&&(x+=' "'+m.defaultValue+'"'),S.state=A.CloseTag,x+=S.spaceBeforeSlash+">"+this.endline(m,S,y),S.state=A.None,this.closeNode(m,S,y),x},p.prototype.dtdElement=function(m,S,y){var x;return this.openNode(m,S,y),S.state=A.OpenTag,x=this.indent(m,S,y)+"<!ELEMENT",S.state=A.InsideTag,x+=" "+m.name+" "+m.value,S.state=A.CloseTag,x+=S.spaceBeforeSlash+">"+this.endline(m,S,y),S.state=A.None,this.closeNode(m,S,y),x},p.prototype.dtdEntity=function(m,S,y){var x;return this.openNode(m,S,y),S.state=A.OpenTag,x=this.indent(m,S,y)+"<!ENTITY",S.state=A.InsideTag,m.pe&&(x+=" %"),x+=" "+m.name,m.value?x+=' "'+m.value+'"':(m.pubID&&m.sysID?x+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(x+=' SYSTEM "'+m.sysID+'"'),m.nData&&(x+=" NDATA "+m.nData)),S.state=A.CloseTag,x+=S.spaceBeforeSlash+">"+this.endline(m,S,y),S.state=A.None,this.closeNode(m,S,y),x},p.prototype.dtdNotation=function(m,S,y){var x;return this.openNode(m,S,y),S.state=A.OpenTag,x=this.indent(m,S,y)+"<!NOTATION",S.state=A.InsideTag,x+=" "+m.name,m.pubID&&m.sysID?x+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.pubID?x+=' PUBLIC "'+m.pubID+'"':m.sysID&&(x+=' SYSTEM "'+m.sysID+'"'),S.state=A.CloseTag,x+=S.spaceBeforeSlash+">"+this.endline(m,S,y),S.state=A.None,this.closeNode(m,S,y),x},p.prototype.openNode=function(m,S,y){},p.prototype.closeNode=function(m,S,y){},p.prototype.openAttribute=function(m,S,y){},p.prototype.closeAttribute=function(m,S,y){},p}()}).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(k,B,d){"use strict";(function(){var w,A,b,g,v,f,l,u,o,e;e=k("./Utility"),u=e.assign,o=e.isFunction,b=k("./XMLDOMImplementation"),g=k("./XMLDocument"),v=k("./XMLDocumentCB"),l=k("./XMLStringWriter"),f=k("./XMLStreamWriter"),w=k("./NodeType"),A=k("./WriterState"),B.exports.create=function(n,i,r,s){var t,a;if(n==null)throw new Error("Root element needs a name.");return s=u({},i,r,s),t=new g(s),a=t.element(n),s.headless||(t.declaration(s),(s.pubID!=null||s.sysID!=null)&&t.dtd(s)),a},B.exports.begin=function(n,i,r){var s;return o(n)&&(s=[n,i],i=s[0],r=s[1],n={}),i?new v(n,i,r):new g(n)},B.exports.stringWriter=function(n){return new l(n)},B.exports.streamWriter=function(n,i){return new f(n,i)},B.exports.implementation=new b,B.exports.nodeType=w,B.exports.writerState=A}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(k,B,d){B.exports=A;var w=Object.prototype.hasOwnProperty;function A(){for(var b={},g=0;g<arguments.length;g++){var v=arguments[g];for(var f in v)w.call(v,f)&&(b[f]=v[f])}return b}},{}],284:[function(k,B,d){"use strict";var w=k("buffer").Buffer,A=k("./sha"),b=k("./md5"),g={sha1:A,md5:b},v=64,f=w.alloc(v);f.fill(0);function l(e,n,i){w.isBuffer(n)||(n=w.from(n)),w.isBuffer(i)||(i=w.from(i)),n.length>v?n=e(n):n.length<v&&(n=w.concat([n,f],v));for(var r=w.alloc(v),s=w.alloc(v),t=0;t<v;t++)r[t]=n[t]^54,s[t]=n[t]^92;var a=e(w.concat([r,i]));return e(w.concat([s,a]))}function u(e,n){e=e||"sha1";var i=g[e],r=[],s=0;return i||o("algorithm:",e,"is not yet supported"),{update:function(a){return w.isBuffer(a)||(a=w.from(a)),r.push(a),s+=a.length,this},digest:function(a){var c=w.concat(r),h=n?l(i,n,c):i(c);return r=null,a?h.toString(a):h}}}function o(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}d.createHash=function(e){return u(e)},d.createHmac=function(e,n){return u(e,n)},d.createCredentials=function(){o("sorry,createCredentials is not implemented yet")},d.createCipher=function(){o("sorry,createCipher is not implemented yet")},d.createCipheriv=function(){o("sorry,createCipheriv is not implemented yet")},d.createDecipher=function(){o("sorry,createDecipher is not implemented yet")},d.createDecipheriv=function(){o("sorry,createDecipheriv is not implemented yet")},d.createSign=function(){o("sorry,createSign is not implemented yet")},d.createVerify=function(){o("sorry,createVerify is not implemented yet")},d.createDiffieHellman=function(){o("sorry,createDiffieHellman is not implemented yet")},d.pbkdf2=function(){o("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(k,B,d){"use strict";var w=k("buffer").Buffer,A=4,b=w.alloc(A);b.fill(0);var g=8;function v(u,o){if(u.length%A!==0){var e=u.length+(A-u.length%A);u=w.concat([u,b],e)}for(var n=[],i=o?u.readInt32BE:u.readInt32LE,r=0;r<u.length;r+=A)n.push(i.call(u,r));return n}function f(u,o,e){for(var n=w.alloc(o),i=e?n.writeInt32BE:n.writeInt32LE,r=0;r<u.length;r++)i.call(n,u[r],r*4,!0);return n}function l(u,o,e,n){w.isBuffer(u)||(u=w.from(u));var i=o(v(u,n),u.length*g);return f(i,e,n)}B.exports={hash:l}},{buffer:73}],286:[function(k,B,d){"use strict";var w=k("./helpers");function A(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function b(n,i){n[i>>5]|=128<<i%32,n[(i+64>>>9<<4)+14]=i;for(var r=1732584193,s=-271733879,t=-1732584194,a=271733878,c=0;c<n.length;c+=16){var h=r,p=s,m=t,S=a;r=v(r,s,t,a,n[c+0],7,-680876936),a=v(a,r,s,t,n[c+1],12,-389564586),t=v(t,a,r,s,n[c+2],17,606105819),s=v(s,t,a,r,n[c+3],22,-1044525330),r=v(r,s,t,a,n[c+4],7,-176418897),a=v(a,r,s,t,n[c+5],12,1200080426),t=v(t,a,r,s,n[c+6],17,-1473231341),s=v(s,t,a,r,n[c+7],22,-45705983),r=v(r,s,t,a,n[c+8],7,1770035416),a=v(a,r,s,t,n[c+9],12,-1958414417),t=v(t,a,r,s,n[c+10],17,-42063),s=v(s,t,a,r,n[c+11],22,-1990404162),r=v(r,s,t,a,n[c+12],7,1804603682),a=v(a,r,s,t,n[c+13],12,-40341101),t=v(t,a,r,s,n[c+14],17,-1502002290),s=v(s,t,a,r,n[c+15],22,1236535329),r=f(r,s,t,a,n[c+1],5,-165796510),a=f(a,r,s,t,n[c+6],9,-1069501632),t=f(t,a,r,s,n[c+11],14,643717713),s=f(s,t,a,r,n[c+0],20,-373897302),r=f(r,s,t,a,n[c+5],5,-701558691),a=f(a,r,s,t,n[c+10],9,38016083),t=f(t,a,r,s,n[c+15],14,-660478335),s=f(s,t,a,r,n[c+4],20,-405537848),r=f(r,s,t,a,n[c+9],5,568446438),a=f(a,r,s,t,n[c+14],9,-1019803690),t=f(t,a,r,s,n[c+3],14,-187363961),s=f(s,t,a,r,n[c+8],20,1163531501),r=f(r,s,t,a,n[c+13],5,-1444681467),a=f(a,r,s,t,n[c+2],9,-51403784),t=f(t,a,r,s,n[c+7],14,1735328473),s=f(s,t,a,r,n[c+12],20,-1926607734),r=l(r,s,t,a,n[c+5],4,-378558),a=l(a,r,s,t,n[c+8],11,-2022574463),t=l(t,a,r,s,n[c+11],16,1839030562),s=l(s,t,a,r,n[c+14],23,-35309556),r=l(r,s,t,a,n[c+1],4,-1530992060),a=l(a,r,s,t,n[c+4],11,1272893353),t=l(t,a,r,s,n[c+7],16,-155497632),s=l(s,t,a,r,n[c+10],23,-1094730640),r=l(r,s,t,a,n[c+13],4,681279174),a=l(a,r,s,t,n[c+0],11,-358537222),t=l(t,a,r,s,n[c+3],16,-722521979),s=l(s,t,a,r,n[c+6],23,76029189),r=l(r,s,t,a,n[c+9],4,-640364487),a=l(a,r,s,t,n[c+12],11,-421815835),t=l(t,a,r,s,n[c+15],16,530742520),s=l(s,t,a,r,n[c+2],23,-995338651),r=u(r,s,t,a,n[c+0],6,-198630844),a=u(a,r,s,t,n[c+7],10,1126891415),t=u(t,a,r,s,n[c+14],15,-1416354905),s=u(s,t,a,r,n[c+5],21,-57434055),r=u(r,s,t,a,n[c+12],6,1700485571),a=u(a,r,s,t,n[c+3],10,-1894986606),t=u(t,a,r,s,n[c+10],15,-1051523),s=u(s,t,a,r,n[c+1],21,-2054922799),r=u(r,s,t,a,n[c+8],6,1873313359),a=u(a,r,s,t,n[c+15],10,-30611744),t=u(t,a,r,s,n[c+6],15,-1560198380),s=u(s,t,a,r,n[c+13],21,1309151649),r=u(r,s,t,a,n[c+4],6,-145523070),a=u(a,r,s,t,n[c+11],10,-1120210379),t=u(t,a,r,s,n[c+2],15,718787259),s=u(s,t,a,r,n[c+9],21,-343485551),r=o(r,h),s=o(s,p),t=o(t,m),a=o(a,S)}return Array(r,s,t,a)}function g(n,i,r,s,t,a){return o(e(o(o(i,n),o(s,a)),t),r)}function v(n,i,r,s,t,a,c){return g(i&r|~i&s,n,i,t,a,c)}function f(n,i,r,s,t,a,c){return g(i&s|r&~s,n,i,t,a,c)}function l(n,i,r,s,t,a,c){return g(i^r^s,n,i,t,a,c)}function u(n,i,r,s,t,a,c){return g(r^(i|~s),n,i,t,a,c)}function o(n,i){var r=(n&65535)+(i&65535),s=(n>>16)+(i>>16)+(r>>16);return s<<16|r&65535}function e(n,i){return n<<i|n>>>32-i}B.exports=function(i){return w.hash(i,b,16)}},{"./helpers":285}],287:[function(k,B,d){"use strict";var w=k("./helpers");function A(l,u){l[u>>5]|=128<<24-u%32,l[(u+64>>9<<4)+15]=u;for(var o=Array(80),e=1732584193,n=-271733879,i=-1732584194,r=271733878,s=-1009589776,t=0;t<l.length;t+=16){for(var a=e,c=n,h=i,p=r,m=s,S=0;S<80;S++){S<16?o[S]=l[t+S]:o[S]=f(o[S-3]^o[S-8]^o[S-14]^o[S-16],1);var y=v(v(f(e,5),b(S,n,i,r)),v(v(s,o[S]),g(S)));s=r,r=i,i=f(n,30),n=e,e=y}e=v(e,a),n=v(n,c),i=v(i,h),r=v(r,p),s=v(s,m)}return Array(e,n,i,r,s)}function b(l,u,o,e){return l<20?u&o|~u&e:l<40?u^o^e:l<60?u&o|u&e|o&e:u^o^e}function g(l){return l<20?1518500249:l<40?1859775393:l<60?-1894007588:-899497514}function v(l,u){var o=(l&65535)+(u&65535),e=(l>>16)+(u>>16)+(o>>16);return e<<16|o&65535}function f(l,u){return l<<u|l>>>32-u}B.exports=function(u){return w.hash(u,A,20,!0)}},{"./helpers":285}],288:[function(k,B,d){"use strict";B.exports=function(){return function(){}}},{}],289:[function(k,B,d){(function(w){"use strict";var A=k("babel-runtime/helpers/typeof"),b=g(A);function g(e){return e&&e.__esModule?e:{default:e}}var v=k("stream"),f=v.Stream,l=k("../lib/common/utils/isArray"),u=l.isArray;B.exports.string=function(n){return typeof n=="string"},B.exports.array=u,B.exports.buffer=w.isBuffer;function o(e){return e instanceof f}B.exports.writableStream=function(n){return o(n)&&typeof n._write=="function"&&(0,b.default)(n._writableState)==="object"}}).call(this,{isBuffer:k("../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(k,B,d){"use strict";d.encodeURIComponent=function(w){try{return encodeURIComponent(w)}catch(A){return w}},d.escape=k("escape-html"),d.timestamp=function(A){if(A){var b=A;return typeof b=="string"&&(b=Number(b)),String(A).length===10&&(b*=1e3),new Date(b)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(k,B,d){(function(w,A){"use strict";var b=k("babel-runtime/core-js/json/stringify"),g=l(b),v=k("babel-runtime/helpers/typeof"),f=l(v);function l(S){return S&&S.__esModule?S:{default:S}}var u=k("util"),o=k("url"),e=k("http"),n=k("https"),i=k("debug")("urllib"),r=k("humanize-ms"),s,t=0,a=Math.pow(2,31)-10,c=/^https?:\/\//i;function h(S,y){return S===void 0?y:S}function p(S,y){return function(x,C,T){if(x)return y(x);S({data:C,status:T.statusCode,headers:T.headers,res:T})}}d.TIMEOUTS=[r("300s"),r("300s")];var m=["json","text"];d.request=function(y,x,C){return arguments.length===2&&typeof x=="function"&&(C=x,x=null),typeof C=="function"?d.requestWithCallback(y,x,C):(s||(s=k("any-promise")),new s(function(T,_){d.requestWithCallback(y,x,p(T,_))}))},d.requestWithCallback=function(y,x,C){if(!y||typeof y!="string"&&(typeof y=="undefined"?"undefined":(0,f.default)(y))!=="object"){var T=u.format("expect request url to be a string or a http request options, but got %j",y);throw new Error(T)}arguments.length===2&&typeof x=="function"&&(C=x,x=null),x=x||{},t>=a&&(t=0);var _=++t;x.requestUrls=x.requestUrls||[];var E={requestId:_,url:y,args:x,ctx:x.ctx};x.emitter&&x.emitter.emit("request",E),x.timeout=x.timeout||d.TIMEOUTS,x.maxRedirects=x.maxRedirects||10,x.streaming=x.streaming||x.customResponse;var I=Date.now(),L;typeof y=="string"?(c.test(y)||(y="http://"+y),L=o.parse(y)):L=y;var D=(x.type||x.method||L.method||"GET").toUpperCase(),F=L.port||80,N=e,P=h(x.agent,d.agent),W=x.fixJSONCtlChars;L.protocol==="https:"&&(N=n,P=h(x.httpsAgent,d.httpsAgent),L.port||(F=443));var R={host:L.hostname||L.host||"localhost",path:L.path||"/",method:D,port:F,agent:P,headers:x.headers||{},lookup:x.lookup};Array.isArray(x.timeout)?R.requestTimeout=x.timeout[x.timeout.length-1]:typeof x.timeout!="undefined"&&(R.requestTimeout=x.timeout);for(var j=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],H=0;H<j.length;H++){var K=j[H];x.hasOwnProperty(K)&&(R[K]=x[K])}R.rejectUnauthorized===!1&&!R.hasOwnProperty("secureOptions")&&(R.secureOptions=k("constants").SSL_OP_NO_TLSv1_2);var U=x.auth||L.auth;U&&(R.auth=U);var G=x.content||x.data,z=D==="GET"||D==="HEAD"||x.dataAsQueryString;if(!x.content&&(G&&!(typeof G=="string"||A.isBuffer(G))))if(z)G=x.nestedQuerystring?qs.stringify(G):querystring.stringify(G);else{var Y=R.headers["Content-Type"]||R.headers["content-type"];Y||(x.contentType==="json"?Y="application/json":Y="application/x-www-form-urlencoded",R.headers["Content-Type"]=Y),parseContentType(Y).type==="application/json"?G=(0,g.default)(G):G=x.nestedQuerystring?qs.stringify(G):querystring.stringify(G)}z&&G&&(R.path+=(L.query?"&":"?")+G,G=null);var q=0;if(G){var oe=G.length;A.isBuffer(G)||(oe=A.byteLength(G)),q=R.headers["Content-Length"]=oe}x.dataType==="json"&&(R.headers.Accept="application/json"),typeof x.beforeRequest=="function"&&x.beforeRequest(R);var ie=null,se=null,he=null,pe=!1,_e=!1,De=0,Xe=-1,J=!1,Ee="",qe="",ae=null;x.timing&&(ae={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function V(){ie&&(clearTimeout(ie),ie=null)}function X(){se&&(clearTimeout(se),se=null)}function Z(Ne,St,Ye){if(X(),!C){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),_,w.pid,R.method,y),Ne&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),_,w.pid,Ne.name,Ne.message,Ne.stack);return}var vt=C;C=null;var It={};if(Ye&&(Xe=Ye.statusCode,It=Ye.headers),Xe===401&&It["www-authenticate"]&&(!x.headers||!x.headers.Authorization)&&x.digestAuth){var Ut=It["www-authenticate"];if(Ut.indexOf("Digest ")>=0)return i("Request#%d %s: got digest auth header WWW-Authenticate: %s",_,y,Ut),x.headers=x.headers||{},x.headers.Authorization=digestAuthHeader(R.method,R.path,Ut,x.digestAuth),i("Request#%d %s: auth with digest header: %s",_,y,x.headers.Authorization),Ye.headers["set-cookie"]&&(x.headers.Cookie=Ye.headers["set-cookie"].join(";")),d.requestWithCallback(y,x,vt)}var xt=Date.now()-I;ae&&(ae.contentDownload=xt),i("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",xt,De,Xe,R.method,R.host,R.path,_e,ae);var Bt={status:Xe,statusCode:Xe,headers:It,size:De,aborted:J,rt:xt,keepAliveSocket:_e,data:St,requestUrls:x.requestUrls,timing:ae,remoteAddress:Ee,remotePort:qe};if(Ne){var Qe="";P&&typeof P.getCurrentStatus=="function"&&(Qe=", agent status: "+(0,g.default)(P.getCurrentStatus())),Ne.message+=", "+R.method+" "+y+" "+Xe+" (connected: "+pe+", keepalive socket: "+_e+Qe+`)
headers: `+(0,g.default)(It),Ne.data=St,Ne.path=R.path,Ne.status=Xe,Ne.headers=It,Ne.res=Bt}vt(Ne,St,x.streaming?Ye:Bt),x.emitter&&(E.url=y,E.socket=st&&st.connection,E.options=R,E.size=q,x.emitter.emit("response",{requestId:_,error:Ne,ctx:x.ctx,req:E,res:Bt}))}function ge(Ne){var St=null;if(x.followRedirect&&statuses.redirect[Ne.statusCode]){x._followRedirectCount=(x._followRedirectCount||0)+1;var Ye=Ne.headers.location;if(!Ye)St=new Error("Got statusCode "+Ne.statusCode+" but cannot resolve next location from headers"),St.name="FollowRedirectError";else if(x._followRedirectCount>x.maxRedirects)St=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+y),St.name="MaxRedirectError";else{var vt=x.formatRedirectUrl?x.formatRedirectUrl(y,Ye):o.resolve(y,Ye);i("Request#%d %s: `redirected` from %s to %s",_,R.path,y,vt),X(),x.headers&&x.headers.Host&&c.test(Ye)&&(x.headers.Host=null);var It=C;return C=null,d.requestWithCallback(vt,x,It),{redirect:!0,error:null}}}return{redirect:!1,error:St}}!R.headers["User-Agent"]&&!R.headers["user-agent"]&&(R.headers["User-Agent"]=navigator.userAgent),x.gzip&&(!R.headers["Accept-Encoding"]&&!R.headers["accept-encoding"]&&(R.headers["Accept-Encoding"]="gzip"));function le(Ne,St,Ye){var vt=Ne.headers["content-encoding"];return Ye(null,St,vt)}var Se=x.writeStream;i("Request#%d %s %s with headers %j, options.path: %s",_,D,y,R.headers,R.path),x.requestUrls.push(y);function me(Ne){if(ae&&(ae.waiting=Date.now()-I),i("Request#%d %s `req response` event emit: status %d, headers: %j",_,y,Ne.statusCode,Ne.headers),x.streaming){var St=ge(Ne);if(St.redirect){Ne.resume();return}return St.error?(Ne.resume(),Z(St.error,null,Ne)):Z(null,null,Ne)}if(Ne.on("close",function(){i("Request#%d %s: `res close` event emit, total size %d",_,y,De)}),Ne.on("error",function(){i("Request#%d %s: `res error` event emit, total size %d",_,y,De)}),Ne.on("aborted",function(){J=!0,i("Request#%d %s: `res aborted` event emit, total size %d",_,y,De)}),Se){var St=ge(Ne);if(St.redirect){Ne.resume();return}return St.error?(Ne.resume(),Se.end(),Z(St.error,null,Ne)):(x.consumeWriteStream===!1?Ne.on("end",Z.bind(null,null,null,Ne)):isNode010||isNode012?first([[Se,"close"],[Ne,"aborted"]],function(It,Ut,xt){i("Request#%d %s: writeStream or res %s event emitted",_,y,xt),Z(he||null,null,Ne)}):Se.on("close",function(){i("Request#%d %s: writeStream close event emitted",_,y),Z(he||null,null,Ne)}),Ne.pipe(Se))}var Ye=[];Ne.on("data",function(vt){i("Request#%d %s: `res data` event emit, size %d",_,y,vt.length),De+=vt.length,Ye.push(vt)}),Ne.on("end",function(){var vt=A.concat(Ye,De);if(i("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",_,y,De,Ne._dumped),he)return Z(he,vt,Ne);var It=ge(Ne);if(It.error)return Z(It.error,vt,Ne);if(It.redirect)return;le(Ne,vt,function(Ut,xt,Bt){if(Ut)return Z(Ut,vt,Ne);if(!Bt&&m.indexOf(x.dataType)>=0){try{xt=decodeBodyByCharset(xt,Ne)}catch(te){return i("decodeBodyByCharset error: %s",te),Z(null,xt,Ne)}if(x.dataType==="json")if(De===0)xt=null;else{var Qe=parseJSON(xt,W);Qe.error?Ut=Qe.error:xt=Qe.data}}J&&i("Request#%d %s: Remote socket was terminated before `response.end()` was called",_,y),Z(Ut,xt,Ne)})})}var $,we;Array.isArray(x.timeout)?($=r(x.timeout[0]),we=r(x.timeout[1])):$=we=r(x.timeout),i("ConnectTimeout: %d, ResponseTimeout: %d",$,we);function xe(){i("Connect timer ticking, timeout: %d",$),ie=setTimeout(function(){ie=null,Xe===-1&&(Xe=-2);var Ne="Connect timeout for "+$+"ms",St="ConnectionTimeoutError";st.socket||(St="SocketAssignTimeoutError",Ne+=", working sockets is full"),he=new Error(Ne),he.name=St,he.requestId=_,i("ConnectTimeout: Request#%d %s %s: %s, connected: %s",_,y,he.name,Ne,pe),nt()},$)}function We(){i("Response timer ticking, timeout: %d",we),se=setTimeout(function(){se=null;var Ne="Response timeout for "+we+"ms",St="ResponseTimeoutError";he=new Error(Ne),he.name=St,he.requestId=_,i("ResponseTimeout: Request#%d %s %s: %s, connected: %s",_,y,he.name,Ne,pe),nt()},we)}var st;R.mode=x.mode?x.mode:"";try{st=N.request(R,me)}catch(Ne){return Z(Ne)}typeof window=="undefined"?xe():st.on("requestTimeout",function(){Xe===-1&&(Xe=-2);var Ne="Connect timeout for "+$+"ms",St="ConnectionTimeoutError";he=new Error(Ne),he.name=St,he.requestId=_,nt()});function nt(){i("Request#%d %s abort, connected: %s",_,y,pe),st.socket||(he.noSocket=!0,Z(he)),st.abort()}return ae&&st.on("finish",function(){ae.requestSent=Date.now()-I}),st.once("socket",function(Ne){ae&&(ae.queuing=Date.now()-I),isNode010&&Ne.socket&&(Ne=Ne.socket);var St=Ne.readyState;if(St==="opening"){Ne.once("lookup",function(Ye,vt,It){i("Request#%d %s lookup: %s, %s, %s",_,y,Ye,vt,It),ae&&(ae.dnslookup=Date.now()-I),vt&&(Ee=vt)}),Ne.once("connect",function(){ae&&(ae.connected=Date.now()-I),V(),We(),i("Request#%d %s new socket connected",_,y),pe=!0,Ee||(Ee=Ne.remoteAddress),qe=Ne.remotePort});return}i("Request#%d %s reuse socket connected, readyState: %s",_,y,St),pe=!0,_e=!0,Ee||(Ee=Ne.remoteAddress),qe=Ne.remotePort,V(),We()}),st.on("error",function(Ne){(Ne.name==="Error"||Ne.name==="TypeError")&&(Ne.name=pe?"ResponseError":"RequestError"),Ne.message+=' (req "error")',i("Request#%d %s `req error` event emit, %s: %s",_,y,Ne.name,Ne.message),Z(he||Ne)}),Se&&Se.once("error",function(Ne){Ne.message+=' (writeStream "error")',he=Ne,i("Request#%d %s `writeStream error` event emit, %s: %s",_,y,Ne.name,Ne.message),nt()}),x.stream?(x.stream.pipe(st),x.stream.once("error",function(Ne){Ne.message+=' (stream "error")',he=Ne,i("Request#%d %s `readStream error` event emit, %s: %s",_,y,Ne.name,Ne.message),nt()})):st.end(G),st.requestId=_,st}}).call(this,k("_process"),k("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__("IyRk"))},n1HI:function(k,B,d){var w=d("hX1E"),A=w.normalizeRadian,b=Math.PI*2;function g(v,f,l,u,o,e,n,i,r){if(n===0)return!1;var s=n;i-=v,r-=f;var t=Math.sqrt(i*i+r*r);if(t-s>l||t+s<l)return!1;if(Math.abs(u-o)%b<1e-4)return!0;if(e){var a=u;u=A(o),o=A(a)}else u=A(u),o=A(o);u>o&&(o+=b);var c=Math.atan2(r,i);return c<0&&(c+=b),c>=u&&c<=o||c+b>=u&&c+b<=o}B.containStroke=g},n4Lv:function(k,B,d){var w=d("7hqr"),A=w.isDimensionStacked,b=d("bYtY"),g=b.map;function v(u,o,e){var n=u.getBaseAxis(),i=u.getOtherAxis(n),r=f(i,e),s=n.dim,t=i.dim,a=o.mapDimension(t),c=o.mapDimension(s),h=t==="x"||t==="radius"?1:0,p=g(u.dimensions,function(y){return o.mapDimension(y)}),m,S=o.getCalculationInfo("stackResultDimension");return(m|=A(o,p[0]))&&(p[0]=S),(m|=A(o,p[1]))&&(p[1]=S),{dataDimsForPoint:p,valueStart:r,valueAxisDim:t,baseAxisDim:s,stacked:!!m,valueDim:a,baseDim:c,baseDataOffset:h,stackedOverDimension:o.getCalculationInfo("stackedOverDimension")}}function f(u,o){var e=0,n=u.scale.getExtent();return o==="start"?e=n[0]:o==="end"?e=n[1]:n[0]>0?e=n[0]:n[1]<0&&(e=n[1]),e}function l(u,o,e,n){var i=NaN;u.stacked&&(i=e.get(e.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=u.valueStart);var r=u.baseDataOffset,s=[];return s[r]=e.get(u.baseDim,n),s[1-r]=i,o.dataToPoint(s)}B.prepareDataCoordInfo=v,B.getStackedOnPoint=l},n6Mw:function(k,B,d){var w=d("SrGk"),A=d("bYtY"),b=d("Fofx");function g(f,l){w.call(this,f,l,"clipPath","__clippath_in_use__")}A.inherits(g,w),g.prototype.update=function(f){var l=this.getSvgElement(f);l&&this.updateDom(l,f.__clipPaths,!1);var u=this.getTextSvgElement(f);u&&this.updateDom(u,f.__clipPaths,!0),this.markUsed(f)},g.prototype.updateDom=function(f,l,u){if(l&&l.length>0){var o=this.getDefs(!0),e=l[0],n,i,r=u?"_textDom":"_dom";e[r]?(i=e[r].getAttribute("id"),n=e[r],o.contains(n)||o.appendChild(n)):(i="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,n=this.createElement("clipPath"),n.setAttribute("id",i),o.appendChild(n),e[r]=n);var s=this.getSvgProxy(e);if(e.transform&&e.parent.invTransform&&!u){var t=Array.prototype.slice.call(e.transform);b.mul(e.transform,e.parent.invTransform,e.transform),s.brush(e),e.transform=t}else s.brush(e);var a=this.getSvgElement(e);n.innerHTML="",n.appendChild(a.cloneNode()),f.setAttribute("clip-path","url(#"+i+")"),l.length>1&&this.updateDom(n,l.slice(1),u)}else f&&f.setAttribute("clip-path","none")},g.prototype.markUsed=function(f){var l=this;f.__clipPaths&&A.each(f.__clipPaths,function(u){u._dom&&w.prototype.markUsed.call(l,u._dom),u._textDom&&w.prototype.markUsed.call(l,u._textDom)})};var v=g;k.exports=v},nCxF:function(k,B,d){var w=d("QBsz"),A=w.min,b=w.max,g=w.scale,v=w.distance,f=w.add,l=w.clone,u=w.sub;function o(e,n,i,r){var s=[],t=[],a=[],c=[],h,p,m,S;if(r){m=[Infinity,Infinity],S=[-Infinity,-Infinity];for(var y=0,x=e.length;y<x;y++)A(m,m,e[y]),b(S,S,e[y]);A(m,m,r[0]),b(S,S,r[1])}for(var y=0,x=e.length;y<x;y++){var C=e[y];if(i)h=e[y?y-1:x-1],p=e[(y+1)%x];else if(y===0||y===x-1){s.push(l(e[y]));continue}else h=e[y-1],p=e[y+1];u(t,p,h),g(t,t,n);var T=v(C,h),_=v(C,p),E=T+_;E!==0&&(T/=E,_/=E),g(a,t,-T),g(c,t,_);var I=f([],C,a),L=f([],C,c);r&&(b(I,I,m),A(I,I,S),b(L,L,m),A(L,L,S)),s.push(I),s.push(L)}return i&&s.push(s.shift()),s}k.exports=o},nKiI:function(k,B,d){var w=d("bYtY"),A=d("mFDi"),b=d("OELB"),g=b.parsePercent,v=b.MAX_SAFE_INTEGER,f=d("+TT/"),l=d("VaxA"),u=Math.max,o=Math.min,e=w.retrieve,n=w.each,i=["itemStyle","borderWidth"],r=["itemStyle","gapWidth"],s=["upperLabel","show"],t=["upperLabel","height"],a={seriesType:"treemap",reset:function(I,L,D,F){var N=D.getWidth(),P=D.getHeight(),W=I.option,R=f.getLayoutRect(I.getBoxLayoutParams(),{width:D.getWidth(),height:D.getHeight()}),j=W.size||[],H=g(e(R.width,j[0]),N),K=g(e(R.height,j[1]),P),U=F&&F.type,G=["treemapZoomToNode","treemapRootToNode"],z=l.retrieveTargetInfo(F,G,I),Y=U==="treemapRender"||U==="treemapMove"?F.rootRect:null,q=I.getViewRoot(),oe=l.getPathToRoot(q);if(U!=="treemapMove"){var ie=U==="treemapZoomToNode"?C(I,z,q,H,K):Y?[Y.width,Y.height]:[H,K],se=W.sort;se&&se!=="asc"&&se!=="desc"&&(se="desc");var he={squareRatio:W.squareRatio,sort:se,leafDepth:W.leafDepth};q.hostTree.clearLayouts();var pe={x:0,y:0,width:ie[0],height:ie[1],area:ie[0]*ie[1]};q.setLayout(pe),c(q,he,!1,0);var pe=q.getLayout();n(oe,function(De,Xe){var J=(oe[Xe+1]||q).getValue();De.setLayout(w.extend({dataExtent:[J,J],borderWidth:0,upperHeight:0},pe))})}var _e=I.getData().tree.root;_e.setLayout(T(R,Y,z),!0),I.setLayoutInfo(R),_(_e,new A(-R.x,-R.y,N,P),oe,q,0)}};function c(I,L,D,F){var N,P;if(I.isRemoved())return;var W=I.getLayout();N=W.width,P=W.height;var R=I.getModel(),j=R.get(i),H=R.get(r)/2,K=E(R),U=Math.max(j,K),G=j-H,z=U-H,R=I.getModel();I.setLayout({borderWidth:j,upperHeight:U,upperLabelHeight:K},!0),N=u(N-2*G,0),P=u(P-G-z,0);var Y=N*P,q=h(I,R,Y,L,D,F);if(!q.length)return;var oe={x:G,y:z,width:N,height:P},ie=o(N,P),se=Infinity,he=[];he.area=0;for(var pe=0,_e=q.length;pe<_e;){var De=q[pe];he.push(De),he.area+=De.getLayout().area;var Xe=y(he,ie,L.squareRatio);Xe<=se?(pe++,se=Xe):(he.area-=he.pop().getLayout().area,x(he,ie,oe,H,!1),ie=o(oe.width,oe.height),he.length=he.area=0,se=Infinity)}if(he.length&&x(he,ie,oe,H,!0),!D){var J=R.get("childrenVisibleMin");J!=null&&Y<J&&(D=!0)}for(var pe=0,_e=q.length;pe<_e;pe++)c(q[pe],L,D,F+1)}function h(I,L,D,F,N,P){var W=I.children||[],R=F.sort;R!=="asc"&&R!=="desc"&&(R=null);var j=F.leafDepth!=null&&F.leafDepth<=P;if(N&&!j)return I.viewChildren=[];W=w.filter(W,function(z){return!z.isRemoved()}),m(W,R);var H=S(L,W,R);if(H.sum===0)return I.viewChildren=[];if(H.sum=p(L,D,H.sum,R,W),H.sum===0)return I.viewChildren=[];for(var K=0,U=W.length;K<U;K++){var G=W[K].getValue()/H.sum*D;W[K].setLayout({area:G})}return j&&(W.length&&I.setLayout({isLeafRoot:!0},!0),W.length=0),I.viewChildren=W,I.setLayout({dataExtent:H.dataExtent},!0),W}function p(I,L,D,F,N){if(!F)return D;for(var P=I.get("visibleMin"),W=N.length,R=W,j=W-1;j>=0;j--){var H=N[F==="asc"?W-j-1:j].getValue();H/D*L<P&&(R=j,D-=H)}return F==="asc"?N.splice(0,W-R):N.splice(R,W-R),D}function m(I,L){return L&&I.sort(function(D,F){var N=L==="asc"?D.getValue()-F.getValue():F.getValue()-D.getValue();return N===0?L==="asc"?D.dataIndex-F.dataIndex:F.dataIndex-D.dataIndex:N}),I}function S(I,L,D){for(var F=0,N=0,P=L.length;N<P;N++)F+=L[N].getValue();var W=I.get("visualDimension"),R;if(!L||!L.length)R=[NaN,NaN];else if(W==="value"&&D)R=[L[L.length-1].getValue(),L[0].getValue()],D==="asc"&&R.reverse();else{var R=[Infinity,-Infinity];n(L,function(H){var K=H.getValue(W);K<R[0]&&(R[0]=K),K>R[1]&&(R[1]=K)})}return{sum:F,dataExtent:R}}function y(I,L,D){for(var F=0,N=Infinity,P=0,W,R=I.length;P<R;P++)W=I[P].getLayout().area,W&&(W<N&&(N=W),W>F&&(F=W));var j=I.area*I.area,H=L*L*D;return j?u(H*F/j,j/(H*N)):Infinity}function x(I,L,D,F,N){var P=L===D.width?0:1,W=1-P,R=["x","y"],j=["width","height"],H=D[R[P]],K=L?I.area/L:0;(N||K>D[j[W]])&&(K=D[j[W]]);for(var U=0,G=I.length;U<G;U++){var z=I[U],Y={},q=K?z.getLayout().area/K:0,oe=Y[j[W]]=u(K-2*F,0),ie=D[R[P]]+D[j[P]]-H,se=U===G-1||ie<q?ie:q,he=Y[j[P]]=u(se-2*F,0);Y[R[W]]=D[R[W]]+o(F,oe/2),Y[R[P]]=H+o(F,he/2),H+=se,z.setLayout(Y,!0)}D[R[W]]+=K,D[j[W]]-=K}function C(I,L,D,F,N){var P=(L||{}).node,W=[F,N];if(!P||P===D)return W;for(var R,j=F*N,H=j*I.option.zoomToNodeRatio;R=P.parentNode;){for(var K=0,U=R.children,G=0,z=U.length;G<z;G++)K+=U[G].getValue();var Y=P.getValue();if(Y===0)return W;H*=K/Y;var q=R.getModel(),oe=q.get(i),ie=Math.max(oe,E(q,oe));H+=4*oe*oe+(3*oe+ie)*Math.pow(H,.5),H>v&&(H=v),P=R}H<j&&(H=j);var se=Math.pow(H/j,.5);return[F*se,N*se]}function T(I,L,D){if(L)return{x:L.x,y:L.y};var F={x:0,y:0};if(!D)return F;var N=D.node,P=N.getLayout();if(!P)return F;for(var W=[P.width/2,P.height/2],R=N;R;){var j=R.getLayout();W[0]+=j.x,W[1]+=j.y,R=R.parentNode}return{x:I.width/2-W[0],y:I.height/2-W[1]}}function _(I,L,D,F,N){var P=I.getLayout(),W=D[N],R=W&&W===I;if(W&&!R||N===D.length&&I!==F)return;I.setLayout({isInView:!0,invisible:!R&&!L.intersect(P),isAboveViewRoot:R},!0);var j=new A(L.x-P.x,L.y-P.y,L.width,L.height);n(I.viewChildren||[],function(H){_(H,j,D,F,N+1)})}function E(I){return I.get(s)?I.get(t):0}k.exports=a},nPnh:function(k,B){var d=Math.round;function w(g,v,f){if(!v)return;var l=v.x1,u=v.x2,o=v.y1,e=v.y2;g.x1=l,g.x2=u,g.y1=o,g.y2=e;var n=f&&f.lineWidth;if(!n)return;d(l*2)===d(u*2)&&(g.x1=g.x2=b(l,n,!0)),d(o*2)===d(e*2)&&(g.y1=g.y2=b(o,n,!0))}function A(g,v,f){if(!v)return;var l=v.x,u=v.y,o=v.width,e=v.height;g.x=l,g.y=u,g.width=o,g.height=e;var n=f&&f.lineWidth;if(!n)return;g.x=b(l,n,!0),g.y=b(u,n,!0),g.width=Math.max(b(l+o,n,!1)-g.x,o===0?0:1),g.height=Math.max(b(u+e,n,!1)-g.y,e===0?0:1)}function b(g,v,f){if(!v)return g;var l=d(g*2);return(l+d(v))%2===0?l/2:(l+(f?1:-1))/2}B.subPixelOptimizeLine=w,B.subPixelOptimizeRect=A,B.subPixelOptimize=b},nRaC:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("0fbx"),g=d.n(b),v=d("OaEy"),f=d("R9oj")},nVfU:function(k,B,d){var w=d("bYtY"),A=d("OELB"),b=A.parsePercent,g=d("7hqr"),v=g.isDimensionStacked,f=d("zM3Q"),l="__ec_stack_",u=.5,o=typeof Float32Array!="undefined"?Float32Array:Array;function e(x){return x.get("stack")||l+x.seriesIndex}function n(x){return x.dim+x.index}function i(x){var C=[],T=x.axis,_="axis0";if(T.type!=="category")return;for(var E=T.getBandWidth(),I=0;I<x.count||0;I++)C.push(w.defaults({bandWidth:E,axisKey:_,stackId:l+I},x));for(var L=a(C),D=[],I=0;I<x.count;I++){var F=L[_][l+I];F.offsetCenter=F.offset+F.width/2,D.push(F)}return D}function r(x,C){var T=[];return C.eachSeriesByType(x,function(_){m(_)&&!S(_)&&T.push(_)}),T}function s(x){var C={};w.each(x,function(F){var N=F.coordinateSystem,P=N.getBaseAxis();if(P.type!=="time"&&P.type!=="value")return;for(var W=F.getData(),R=P.dim+"_"+P.index,j=W.mapDimension(P.dim),H=0,K=W.count();H<K;++H){var U=W.get(j,H);C[R]?C[R].push(U):C[R]=[U]}});var T=[];for(var _ in C)if(C.hasOwnProperty(_)){var E=C[_];if(E){E.sort(function(F,N){return F-N});for(var I=null,L=1;L<E.length;++L){var D=E[L]-E[L-1];D>0&&(I=I===null?D:Math.min(I,D))}T[_]=I}}return T}function t(x){var C=s(x),T=[];return w.each(x,function(_){var E=_.coordinateSystem,I=E.getBaseAxis(),L=I.getExtent(),D;if(I.type==="category")D=I.getBandWidth();else if(I.type==="value"||I.type==="time"){var F=I.dim+"_"+I.index,N=C[F],P=Math.abs(L[1]-L[0]),W=I.scale.getExtent(),R=Math.abs(W[1]-W[0]);D=N?P/R*N:P}else{var j=_.getData();D=Math.abs(L[1]-L[0])/j.count()}var H=b(_.get("barWidth"),D),K=b(_.get("barMaxWidth"),D),U=b(_.get("barMinWidth")||1,D),G=_.get("barGap"),z=_.get("barCategoryGap");T.push({bandWidth:D,barWidth:H,barMaxWidth:K,barMinWidth:U,barGap:G,barCategoryGap:z,axisKey:n(I),stackId:e(_)})}),a(T)}function a(x){var C={};w.each(x,function(_,E){var I=_.axisKey,L=_.bandWidth,D=C[I]||{bandWidth:L,remainedWidth:L,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},F=D.stacks;C[I]=D;var N=_.stackId;F[N]||D.autoWidthCount++,F[N]=F[N]||{width:0,maxWidth:0};var P=_.barWidth;P&&!F[N].width&&(F[N].width=P,P=Math.min(D.remainedWidth,P),D.remainedWidth-=P);var W=_.barMaxWidth;W&&(F[N].maxWidth=W);var R=_.barMinWidth;R&&(F[N].minWidth=R);var j=_.barGap;j!=null&&(D.gap=j);var H=_.barCategoryGap;H!=null&&(D.categoryGap=H)});var T={};return w.each(C,function(_,E){T[E]={};var I=_.stacks,L=_.bandWidth,D=b(_.categoryGap,L),F=b(_.gap,1),N=_.remainedWidth,P=_.autoWidthCount,W=(N-D)/(P+(P-1)*F);W=Math.max(W,0),w.each(I,function(K){var U=K.maxWidth,G=K.minWidth;if(K.width){var z=K.width;U&&(z=Math.min(z,U)),G&&(z=Math.max(z,G)),K.width=z,N-=z+F*z,P--}else{var z=W;U&&U<z&&(z=Math.min(U,N)),G&&G>z&&(z=G),z!==W&&(K.width=z,N-=z+F*z,P--)}}),W=(N-D)/(P+(P-1)*F),W=Math.max(W,0);var R=0,j;w.each(I,function(K,U){K.width||(K.width=W),j=K,R+=K.width*(1+F)}),j&&(R-=j.width*F);var H=-R/2;w.each(I,function(K,U){T[E][U]=T[E][U]||{bandWidth:L,offset:H,width:K.width},H+=K.width*(1+F)})}),T}function c(x,C,T){if(x&&C){var _=x[n(C)];return _!=null&&T!=null&&(_=_[e(T)]),_}}function h(x,C){var T=r(x,C),_=t(T),E={},I={};w.each(T,function(L){var D=L.getData(),F=L.coordinateSystem,N=F.getBaseAxis(),P=e(L),W=_[n(N)][P],R=W.offset,j=W.width,H=F.getOtherAxis(N),K=L.get("barMinHeight")||0;E[P]=E[P]||[],I[P]=I[P]||[],D.setLayout({bandWidth:W.bandWidth,offset:R,size:j});for(var U=D.mapDimension(H.dim),G=D.mapDimension(N.dim),z=v(D,U),Y=H.isHorizontal(),q=y(N,H,z),oe=0,ie=D.count();oe<ie;oe++){var se=D.get(U,oe),he=D.get(G,oe),pe=se>=0?"p":"n",_e=q;z&&(E[P][he]||(E[P][he]={p:q,n:q}),_e=E[P][he][pe]);var De,Xe,J,Ee;if(Y){var qe=F.dataToPoint([se,he]);De=_e,Xe=qe[1]+R,J=qe[0]-q,Ee=j,Math.abs(J)<K&&(J=(J<0?-1:1)*K),isNaN(J)||z&&(E[P][he][pe]+=J)}else{var qe=F.dataToPoint([he,se]);De=qe[0]+R,Xe=_e,J=j,Ee=qe[1]-q,Math.abs(Ee)<K&&(Ee=(Ee<=0?-1:1)*K),isNaN(Ee)||z&&(E[P][he][pe]+=Ee)}D.setItemLayout(oe,{x:De,y:Xe,width:J,height:Ee})}},this)}var p={seriesType:"bar",plan:f(),reset:function(x){if(!m(x)||!S(x))return;var C=x.getData(),T=x.coordinateSystem,_=T.grid.getRect(),E=T.getBaseAxis(),I=T.getOtherAxis(E),L=C.mapDimension(I.dim),D=C.mapDimension(E.dim),F=I.isHorizontal(),N=F?0:1,P=c(t([x]),E,x).width;return P>u||(P=u),{progress:W};function W(R,j){for(var H=R.count,K=new o(H*2),U=new o(H*2),G=new o(H),z,Y=[],q=[],oe=0,ie=0;(z=R.next())!=null;)q[N]=j.get(L,z),q[1-N]=j.get(D,z),Y=T.dataToPoint(q,null,Y),U[oe]=F?_.x+_.width:Y[0],K[oe++]=Y[0],U[oe]=F?Y[1]:_.y+_.height,K[oe++]=Y[1],G[ie++]=z;j.setLayout({largePoints:K,largeDataIndices:G,largeBackgroundPoints:U,barWidth:P,valueAxisStart:y(E,I,!1),backgroundStart:F?_.x:_.y,valueAxisHorizontal:F})}}};function m(x){return x.coordinateSystem&&x.coordinateSystem.type==="cartesian2d"}function S(x){return x.pipelineContext&&x.pipelineContext.large}function y(x,C,T){return C.toGlobalCoord(C.dataToCoord(C.type==="log"?1:0))}B.getLayoutOnAxis=i,B.prepareLayoutBarSeries=r,B.makeColumnLayout=t,B.retrieveColumnLayout=c,B.layout=h,B.largeLayout=p},ngQI:function(k,B,d){"use strict";d.d(B,"a",function(){return Pc}),d.d(B,"b",function(){return Lc}),d.d(B,"c",function(){return mr});var w=d("q1tI"),A=d.n(w),b=d("dI71"),g=d("wx14"),v=d("ANjH"),f=d("/MKj");function l(Re,re){if(Re.length!==re.length)return!1;for(var ye=0;ye<Re.length;ye++)if(Re[ye]!==re[ye])return!1;return!0}function u(Re,re){var ye=Object(w.useState)(function(){return{inputs:re,result:Re()}})[0],ze=Object(w.useRef)(!0),lt=Object(w.useRef)(ye),_t=ze.current||Boolean(re&&lt.current.inputs&&l(re,lt.current.inputs)),Dt=_t?lt.current:{inputs:re,result:Re()};return Object(w.useEffect)(function(){ze.current=!1,lt.current=Dt},[Dt]),Dt.result}function o(Re,re){return u(function(){return Re},re)}var e=u,n=o,i=d("9R94"),r=function(re){var ye=re.top,ze=re.right,lt=re.bottom,_t=re.left,Dt=ze-_t,Mt=lt-ye,ar={top:ye,right:ze,bottom:lt,left:_t,width:Dt,height:Mt,x:_t,y:ye,center:{x:(ze+_t)/2,y:(lt+ye)/2}};return ar},s=function(re,ye){return{top:re.top-ye.top,left:re.left-ye.left,bottom:re.bottom+ye.bottom,right:re.right+ye.right}},t=function(re,ye){return{top:re.top+ye.top,left:re.left+ye.left,bottom:re.bottom-ye.bottom,right:re.right-ye.right}},a=function(re,ye){return{top:re.top+ye.y,left:re.left+ye.x,bottom:re.bottom+ye.y,right:re.right+ye.x}},c={top:0,right:0,bottom:0,left:0},h=function(re){var ye=re.borderBox,ze=re.margin,lt=ze===void 0?c:ze,_t=re.border,Dt=_t===void 0?c:_t,Mt=re.padding,ar=Mt===void 0?c:Mt,vr=r(s(ye,lt)),ir=r(t(ye,Dt)),qt=r(t(ir,ar));return{marginBox:vr,borderBox:r(ye),paddingBox:ir,contentBox:qt,margin:lt,border:Dt,padding:ar}},p=function(re){var ye=re.slice(0,-2),ze=re.slice(-2);if(ze!=="px")return 0;var lt=Number(ye);return isNaN(lt)&&Object(i.a)(!1),lt},m=function(){return{x:window.pageXOffset,y:window.pageYOffset}},S=function(re,ye){var ze=re.borderBox,lt=re.border,_t=re.margin,Dt=re.padding,Mt=a(ze,ye);return h({borderBox:Mt,border:lt,margin:_t,padding:Dt})},y=function(re,ye){return ye===void 0&&(ye=m()),S(re,ye)},x=function(re,ye){var ze={top:p(ye.marginTop),right:p(ye.marginRight),bottom:p(ye.marginBottom),left:p(ye.marginLeft)},lt={top:p(ye.paddingTop),right:p(ye.paddingRight),bottom:p(ye.paddingBottom),left:p(ye.paddingLeft)},_t={top:p(ye.borderTopWidth),right:p(ye.borderRightWidth),bottom:p(ye.borderBottomWidth),left:p(ye.borderLeftWidth)};return h({borderBox:re,margin:ze,padding:lt,border:_t})},C=function(re){var ye=re.getBoundingClientRect(),ze=window.getComputedStyle(re);return x(ye,ze)},T=Number.isNaN||function(re){return typeof re=="number"&&re!==re};function _(Re,re){return Re===re?!0:!!(T(Re)&&T(re))}function E(Re,re){if(Re.length!==re.length)return!1;for(var ye=0;ye<Re.length;ye++)if(!_(Re[ye],re[ye]))return!1;return!0}function I(Re,re){re===void 0&&(re=E);var ye,ze=[],lt,_t=!1;function Dt(){for(var Mt=[],ar=0;ar<arguments.length;ar++)Mt[ar]=arguments[ar];return _t&&ye===this&&re(Mt,ze)||(lt=Re.apply(this,Mt),_t=!0,ye=this,ze=Mt),lt}return Dt}var L=I,D=function(re){var ye=[],ze=null,lt=function(){for(var Dt=arguments.length,Mt=new Array(Dt),ar=0;ar<Dt;ar++)Mt[ar]=arguments[ar];if(ye=Mt,ze)return;ze=requestAnimationFrame(function(){ze=null,re.apply(void 0,ye)})};return lt.cancel=function(){if(!ze)return;cancelAnimationFrame(ze),ze=null},lt},F=D,N=d("i8i4"),P=d.n(N),W=!0,R=/[ \t]{2,}/g,j=/^[ \t]*/gm,H=function(re){return re.replace(R," ").replace(j,"").trim()},K=function(re){return H(`
%creact-beautiful-dnd
%c`+H(re)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},U=function(re){return[K(re),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},G="__react-beautiful-dnd-disable-dev-warnings";function z(Re,re){var ye;if(W)return;if(typeof window!="undefined"&&window[G])return;(ye=console)[Re].apply(ye,U(re))}var Y=z.bind(null,"warn"),q=z.bind(null,"error");function oe(){}function ie(Re,re){return Object(g.a)({},Re,{},re)}function se(Re,re,ye){var ze=re.map(function(lt){var _t=ie(ye,lt.options);return Re.addEventListener(lt.eventName,lt.fn,_t),function(){Re.removeEventListener(lt.eventName,lt.fn,_t)}});return function(){ze.forEach(function(_t){_t()})}}var he=!0,pe="Invariant failed";function _e(Re){this.message=Re}_e.prototype.toString=function(){return this.message};function De(Re,re){if(Re)return;throw he?new _e(pe):new _e(pe+": "+(re||""))}var Xe=function(Re){Object(b.a)(re,Re);function re(){for(var ze,lt=arguments.length,_t=new Array(lt),Dt=0;Dt<lt;Dt++)_t[Dt]=arguments[Dt];return ze=Re.call.apply(Re,[this].concat(_t))||this,ze.callbacks=null,ze.unbind=oe,ze.onWindowError=function(Mt){var ar=ze.getCallbacks();ar.isDragging()&&ar.tryAbort();var vr=Mt.error;vr instanceof _e&&Mt.preventDefault()},ze.getCallbacks=function(){if(!ze.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return ze.callbacks},ze.setCallbacks=function(Mt){ze.callbacks=Mt},ze}var ye=re.prototype;return ye.componentDidMount=function(){this.unbind=se(window,[{eventName:"error",fn:this.onWindowError}])},ye.componentWillUnmount=function(){this.unbind()},ye.componentDidCatch=function(lt){if(lt instanceof _e){this.setState({});return}throw lt},ye.render=function(){return this.props.children(this.setCallbacks)},re}(A.a.Component),J=`
Press space bar to start a drag.
When dragging you can use the arrow keys to move the item around and escape to cancel.
Some screen readers may require you to be in focus mode or to use your pass through key
`,Ee=function(re){return re+1},qe=function(re){return`
You have lifted an item in position `+Ee(re.source.index)+`
`},ae=function(re,ye){var ze=re.droppableId===ye.droppableId,lt=Ee(re.index),_t=Ee(ye.index);return ze?`
You have moved the item from position `+lt+`
to position `+_t+`
`:`
You have moved the item from position `+lt+`
in list `+re.droppableId+`
to list `+ye.droppableId+`
in position `+_t+`
`},V=function(re,ye,ze){var lt=ye.droppableId===ze.droppableId;return lt?`
The item `+re+`
has been combined with `+ze.draggableId:`
The item `+re+`
in list `+ye.droppableId+`
has been combined with `+ze.draggableId+`
in list `+ze.droppableId+`
`},X=function(re){var ye=re.destination;if(ye)return ae(re.source,ye);var ze=re.combine;return ze?V(re.draggableId,re.source,ze):"You are over an area that cannot be dropped on"},Z=function(re){return`
The item has returned to its starting position
of `+Ee(re.index)+`
`},ge=function(re){if(re.reason==="CANCEL")return`
Movement cancelled.
`+Z(re.source)+`
`;var ye=re.destination,ze=re.combine;return ye?`
You have dropped the item.
`+ae(re.source,ye)+`
`:ze?`
You have dropped the item.
`+V(re.draggableId,re.source,ze)+`
`:`
The item has been dropped while not over a drop area.
`+Z(re.source)+`
`},le={dragHandleUsageInstructions:J,onDragStart:qe,onDragUpdate:X,onDragEnd:ge},Se={x:0,y:0},me=function(re,ye){return{x:re.x+ye.x,y:re.y+ye.y}},$=function(re,ye){return{x:re.x-ye.x,y:re.y-ye.y}},we=function(re,ye){return re.x===ye.x&&re.y===ye.y},xe=function(re){return{x:re.x!==0?-re.x:0,y:re.y!==0?-re.y:0}},We=function(re,ye,ze){var lt;return ze===void 0&&(ze=0),lt={},lt[re]=ye,lt[re==="x"?"y":"x"]=ze,lt},st=function(re,ye){return Math.sqrt(Math.pow(ye.x-re.x,2)+Math.pow(ye.y-re.y,2))},nt=function(re,ye){return Math.min.apply(Math,ye.map(function(ze){return st(re,ze)}))},Ne=function(re){return function(ye){return{x:re(ye.x),y:re(ye.y)}}},St=function(re,ye){var ze=r({top:Math.max(ye.top,re.top),right:Math.min(ye.right,re.right),bottom:Math.min(ye.bottom,re.bottom),left:Math.max(ye.left,re.left)});return ze.width<=0||ze.height<=0?null:ze},Ye=function(re,ye){return{top:re.top+ye.y,left:re.left+ye.x,bottom:re.bottom+ye.y,right:re.right+ye.x}},vt=function(re){return[{x:re.left,y:re.top},{x:re.right,y:re.top},{x:re.left,y:re.bottom},{x:re.right,y:re.bottom}]},It={top:0,right:0,bottom:0,left:0},Ut=function(re,ye){return ye?Ye(re,ye.scroll.diff.displacement):re},xt=function(re,ye,ze){if(ze&&ze.increasedBy){var lt;return Object(g.a)({},re,(lt={},lt[ye.end]=re[ye.end]+ze.increasedBy[ye.line],lt))}return re},Bt=function(re,ye){return ye&&ye.shouldClipSubject?St(ye.pageMarginBox,re):r(re)},Qe=function(re){var ye=re.page,ze=re.withPlaceholder,lt=re.axis,_t=re.frame,Dt=Ut(ye.marginBox,_t),Mt=xt(Dt,lt,ze),ar=Bt(Mt,_t);return{page:ye,withPlaceholder:ze,active:ar}},te=function(re,ye){re.frame||De(!1);var ze=re.frame,lt=$(ye,ze.scroll.initial),_t=xe(lt),Dt=Object(g.a)({},ze,{scroll:{initial:ze.scroll.initial,current:ye,diff:{value:lt,displacement:_t},max:ze.scroll.max}}),Mt=Qe({page:re.subject.page,withPlaceholder:re.subject.withPlaceholder,axis:re.axis,frame:Dt}),ar=Object(g.a)({},re,{frame:Dt,subject:Mt});return ar};function Q(Re){return Number.isInteger?Number.isInteger(Re):typeof Re=="number"&&isFinite(Re)&&Math.floor(Re)===Re}function Me(Re){return Object.values?Object.values(Re):Object.keys(Re).map(function(re){return Re[re]})}function Ce(Re,re){if(Re.findIndex)return Re.findIndex(re);for(var ye=0;ye<Re.length;ye++)if(re(Re[ye]))return ye;return-1}function ue(Re,re){if(Re.find)return Re.find(re);var ye=Ce(Re,re);return ye!==-1?Re[ye]:void 0}function ot(Re){return Array.prototype.slice.call(Re)}var rt=L(function(Re){return Re.reduce(function(re,ye){return re[ye.descriptor.id]=ye,re},{})}),Ue=L(function(Re){return Re.reduce(function(re,ye){return re[ye.descriptor.id]=ye,re},{})}),Ge=L(function(Re){return Me(Re)}),tt=L(function(Re){return Me(Re)}),Wt=L(function(Re,re){var ye=tt(re).filter(function(ze){return Re===ze.descriptor.droppableId}).sort(function(ze,lt){return ze.descriptor.index-lt.descriptor.index});return ye});function jt(Re){return Re.at&&Re.at.type==="REORDER"?Re.at.destination:null}function Yt(Re){return Re.at&&Re.at.type==="COMBINE"?Re.at.combine:null}var Tt=L(function(Re,re){return re.filter(function(ye){return ye.descriptor.id!==Re.descriptor.id})}),Rt=function(re){var ye=re.isMovingForward,ze=re.draggable,lt=re.destination,_t=re.insideDestination,Dt=re.previousImpact;if(!lt.isCombineEnabled)return null;var Mt=jt(Dt);if(!Mt)return null;function ar(Un){var vi={type:"COMBINE",combine:{draggableId:Un,droppableId:lt.descriptor.id}};return Object(g.a)({},Dt,{at:vi})}var vr=Dt.displaced.all,ir=vr.length?vr[0]:null;if(ye)return ir?ar(ir):null;var qt=Tt(ze,_t);if(!ir){if(!qt.length)return null;var fr=qt[qt.length-1];return ar(fr.descriptor.id)}var br=Ce(qt,function(Un){return Un.descriptor.id===ir});br!==-1||De(!1);var jr=br-1;if(jr<0)return null;var Sn=qt[jr];return ar(Sn.descriptor.id)},yt=function(re,ye){return re.descriptor.droppableId===ye.descriptor.id},Jt={point:Se,value:0},Lr={invisible:{},visible:{},all:[]},zr={displaced:Lr,displacedBy:Jt,at:null},rn=function(re,ye){return function(ze){return re<=ze&&ze<=ye}},ei=function(re){var ye=rn(re.top,re.bottom),ze=rn(re.left,re.right);return function(lt){var _t=ye(lt.top)&&ye(lt.bottom)&&ze(lt.left)&&ze(lt.right);if(_t)return!0;var Dt=ye(lt.top)||ye(lt.bottom),Mt=ze(lt.left)||ze(lt.right),ar=Dt&&Mt;if(ar)return!0;var vr=lt.top<re.top&&lt.bottom>re.bottom,ir=lt.left<re.left&&lt.right>re.right,qt=vr&&ir;if(qt)return!0;var fr=vr&&Mt||ir&&Dt;return fr}},fn=function(re){var ye=rn(re.top,re.bottom),ze=rn(re.left,re.right);return function(lt){var _t=ye(lt.top)&&ye(lt.bottom)&&ze(lt.left)&&ze(lt.right);return _t}},Zr={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},bt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ut=function(re){return function(ye){var ze=rn(ye.top,ye.bottom),lt=rn(ye.left,ye.right);return function(_t){return re===Zr?ze(_t.top)&&ze(_t.bottom):lt(_t.left)&&lt(_t.right)}}},Oe=function(re,ye){var ze=ye.frame?ye.frame.scroll.diff.displacement:Se;return Ye(re,ze)},be=function(re,ye,ze){return ye.subject.active?ze(ye.subject.active)(re):!1},Fe=function(re,ye,ze){return ze(ye)(re)},it=function(re){var ye=re.target,ze=re.destination,lt=re.viewport,_t=re.withDroppableDisplacement,Dt=re.isVisibleThroughFrameFn,Mt=_t?Oe(ye,ze):ye;return be(Mt,ze,Dt)&&Fe(Mt,lt,Dt)},wt=function(re){return it(Object(g.a)({},re,{isVisibleThroughFrameFn:ei}))},nr=function(re){return it(Object(g.a)({},re,{isVisibleThroughFrameFn:fn}))},sr=function(re){return it(Object(g.a)({},re,{isVisibleThroughFrameFn:ut(re.destination.axis)}))},Ar=function(re,ye,ze){if(typeof ze=="boolean")return ze;if(!ye)return!0;var lt=ye.invisible,_t=ye.visible;if(lt[re])return!1;var Dt=_t[re];return Dt?Dt.shouldAnimate:!0};function Hr(Re,re){var ye=Re.page.marginBox,ze={top:re.point.y,right:0,bottom:0,left:re.point.x};return r(s(ye,ze))}function $r(Re){var re=Re.afterDragging,ye=Re.destination,ze=Re.displacedBy,lt=Re.viewport,_t=Re.forceShouldAnimate,Dt=Re.last;return re.reduce(function(ar,vr){var ir=Hr(vr,ze),qt=vr.descriptor.id;ar.all.push(qt);var fr=wt({target:ir,destination:ye,viewport:lt,withDroppableDisplacement:!0});if(!fr)return ar.invisible[vr.descriptor.id]=!0,ar;var br=Ar(qt,Dt,_t),jr={draggableId:qt,shouldAnimate:br};return ar.visible[qt]=jr,ar},{all:[],visible:{},invisible:{}})}function Qt(Re,re){if(!Re.length)return 0;var ye=Re[Re.length-1].descriptor.index;return re.inHomeList?ye:ye+1}function Ot(Re){var re=Re.insideDestination,ye=Re.inHomeList,ze=Re.displacedBy,lt=Re.destination,_t=Qt(re,{inHomeList:ye});return{displaced:Lr,displacedBy:ze,at:{type:"REORDER",destination:{droppableId:lt.descriptor.id,index:_t}}}}function Ft(Re){var re=Re.draggable,ye=Re.insideDestination,ze=Re.destination,lt=Re.viewport,_t=Re.displacedBy,Dt=Re.last,Mt=Re.index,ar=Re.forceShouldAnimate,vr=yt(re,ze);if(Mt==null)return Ot({insideDestination:ye,inHomeList:vr,displacedBy:_t,destination:ze});var ir=ue(ye,function(Sn){return Sn.descriptor.index===Mt});if(!ir)return Ot({insideDestination:ye,inHomeList:vr,displacedBy:_t,destination:ze});var qt=Tt(re,ye),fr=ye.indexOf(ir),br=qt.slice(fr),jr=$r({afterDragging:br,destination:ze,displacedBy:_t,last:Dt,viewport:lt.frame,forceShouldAnimate:ar});return{displaced:jr,displacedBy:_t,at:{type:"REORDER",destination:{droppableId:ze.descriptor.id,index:Mt}}}}function pr(Re,re){return Boolean(re.effected[Re])}var Rr=function(re){var ye=re.isMovingForward,ze=re.destination,lt=re.draggables,_t=re.combine,Dt=re.afterCritical;if(!ze.isCombineEnabled)return null;var Mt=_t.draggableId,ar=lt[Mt],vr=ar.descriptor.index,ir=pr(Mt,Dt);return ir?ye?vr:vr-1:ye?vr+1:vr},Pr=function(re){var ye=re.isMovingForward,ze=re.isInHomeList,lt=re.insideDestination,_t=re.location;if(!lt.length)return null;var Dt=_t.index,Mt=ye?Dt+1:Dt-1,ar=lt[0].descriptor.index,vr=lt[lt.length-1].descriptor.index,ir=ze?vr:vr+1;return Mt<ar||Mt>ir?null:Mt},an=function(re){var ye=re.isMovingForward,ze=re.isInHomeList,lt=re.draggable,_t=re.draggables,Dt=re.destination,Mt=re.insideDestination,ar=re.previousImpact,vr=re.viewport,ir=re.afterCritical,qt=ar.at;if(qt||De(!1),qt.type==="REORDER"){var fr=Pr({isMovingForward:ye,isInHomeList:ze,location:qt.destination,insideDestination:Mt});return fr==null?null:Ft({draggable:lt,insideDestination:Mt,destination:Dt,viewport:vr,last:ar.displaced,displacedBy:ar.displacedBy,index:fr})}var br=Rr({isMovingForward:ye,destination:Dt,displaced:ar.displaced,draggables:_t,combine:qt.combine,afterCritical:ir});return br==null?null:Ft({draggable:lt,insideDestination:Mt,destination:Dt,viewport:vr,last:ar.displaced,displacedBy:ar.displacedBy,index:br})},Xt=function(re){var ye=re.displaced,ze=re.afterCritical,lt=re.combineWith,_t=re.displacedBy,Dt=Boolean(ye.visible[lt]||ye.invisible[lt]);return pr(lt,ze)?Dt?Se:xe(_t.point):Dt?_t.point:Se},hr=function(re){var ye=re.afterCritical,ze=re.impact,lt=re.draggables,_t=Yt(ze);_t||De(!1);var Dt=_t.draggableId,Mt=lt[Dt].page.borderBox.center,ar=Xt({displaced:ze.displaced,afterCritical:ye,combineWith:Dt,displacedBy:ze.displacedBy});return me(Mt,ar)},Tr=function(re,ye){return ye.margin[re.start]+ye.borderBox[re.size]/2},Wr=function(re,ye){return ye.margin[re.end]+ye.borderBox[re.size]/2},Gr=function(re,ye,ze){return ye[re.crossAxisStart]+ze.margin[re.crossAxisStart]+ze.borderBox[re.crossAxisSize]/2},Tn=function(re){var ye=re.axis,ze=re.moveRelativeTo,lt=re.isMoving;return We(ye.line,ze.marginBox[ye.end]+Tr(ye,lt),Gr(ye,ze.marginBox,lt))},gn=function(re){var ye=re.axis,ze=re.moveRelativeTo,lt=re.isMoving;return We(ye.line,ze.marginBox[ye.start]-Wr(ye,lt),Gr(ye,ze.marginBox,lt))},In=function(re){var ye=re.axis,ze=re.moveInto,lt=re.isMoving;return We(ye.line,ze.contentBox[ye.start]+Tr(ye,lt),Gr(ye,ze.contentBox,lt))},Fn=function(re){var ye=re.impact,ze=re.draggable,lt=re.draggables,_t=re.droppable,Dt=re.afterCritical,Mt=Wt(_t.descriptor.id,lt),ar=ze.page,vr=_t.axis;if(!Mt.length)return In({axis:vr,moveInto:_t.page,isMoving:ar});var ir=ye.displaced,qt=ye.displacedBy,fr=ir.all[0];if(fr){var br=lt[fr];if(pr(fr,Dt))return gn({axis:vr,moveRelativeTo:br.page,isMoving:ar});var jr=S(br.page,qt.point);return gn({axis:vr,moveRelativeTo:jr,isMoving:ar})}var Sn=Mt[Mt.length-1];if(Sn.descriptor.id===ze.descriptor.id)return ar.borderBox.center;if(pr(Sn.descriptor.id,Dt)){var Un=S(Sn.page,xe(Dt.displacedBy.point));return Tn({axis:vr,moveRelativeTo:Un,isMoving:ar})}return Tn({axis:vr,moveRelativeTo:Sn.page,isMoving:ar})},Xn=function(re,ye){var ze=re.frame;return ze?me(ye,ze.scroll.diff.displacement):ye},fi=function(re){var ye=re.impact,ze=re.draggable,lt=re.droppable,_t=re.draggables,Dt=re.afterCritical,Mt=ze.page.borderBox.center,ar=ye.at;return lt&&ar?ar.type==="REORDER"?Fn({impact:ye,draggable:ze,draggables:_t,droppable:lt,afterCritical:Dt}):hr({impact:ye,draggables:_t,afterCritical:Dt}):Mt},pi=function(re){var ye=fi(re),ze=re.droppable,lt=ze?Xn(ze,ye):ye;return lt},bi=function(re,ye){var ze=$(ye,re.scroll.initial),lt=xe(ze),_t=r({top:ye.y,bottom:ye.y+re.frame.height,left:ye.x,right:ye.x+re.frame.width}),Dt={frame:_t,scroll:{initial:re.scroll.initial,max:re.scroll.max,current:ye,diff:{value:ze,displacement:lt}}};return Dt};function et(Re,re){return Re.map(function(ye){return re[ye]})}function Le(Re,re){for(var ye=0;ye<re.length;ye++){var ze=re[ye].visible[Re];if(ze)return ze}return null}var Pe=function(re){var ye=re.impact,ze=re.viewport,lt=re.destination,_t=re.draggables,Dt=re.maxScrollChange,Mt=bi(ze,me(ze.scroll.current,Dt)),ar=lt.frame?te(lt,me(lt.frame.scroll.current,Dt)):lt,vr=ye.displaced,ir=$r({afterDragging:et(vr.all,_t),destination:lt,displacedBy:ye.displacedBy,viewport:Mt.frame,last:vr,forceShouldAnimate:!1}),qt=$r({afterDragging:et(vr.all,_t),destination:ar,displacedBy:ye.displacedBy,viewport:ze.frame,last:vr,forceShouldAnimate:!1}),fr={},br={},jr=[vr,ir,qt];vr.all.forEach(function(Un){var vi=Le(Un,jr);if(vi){br[Un]=vi;return}fr[Un]=!0});var Sn=Object(g.a)({},ye,{displaced:{all:vr.all,invisible:fr,visible:br}});return Sn},je=function(re,ye){return me(re.scroll.diff.displacement,ye)},Je=function(re){var ye=re.pageBorderBoxCenter,ze=re.draggable,lt=re.viewport,_t=je(lt,ye),Dt=$(_t,ze.page.borderBox.center);return me(ze.client.borderBox.center,Dt)},Ve=function(re){var ye=re.draggable,ze=re.destination,lt=re.newPageBorderBoxCenter,_t=re.viewport,Dt=re.withDroppableDisplacement,Mt=re.onlyOnMainAxis,ar=Mt===void 0?!1:Mt,vr=$(lt,ye.page.borderBox.center),ir=Ye(ye.page.borderBox,vr),qt={target:ir,destination:ze,withDroppableDisplacement:Dt,viewport:_t};return ar?sr(qt):nr(qt)},Ze=function(re){var ye=re.isMovingForward,ze=re.draggable,lt=re.destination,_t=re.draggables,Dt=re.previousImpact,Mt=re.viewport,ar=re.previousPageBorderBoxCenter,vr=re.previousClientSelection,ir=re.afterCritical;if(!lt.isEnabled)return null;var qt=Wt(lt.descriptor.id,_t),fr=yt(ze,lt),br=Rt({isMovingForward:ye,draggable:ze,destination:lt,insideDestination:qt,previousImpact:Dt})||an({isMovingForward:ye,isInHomeList:fr,draggable:ze,draggables:_t,destination:lt,insideDestination:qt,previousImpact:Dt,viewport:Mt,afterCritical:ir});if(!br)return null;var jr=pi({impact:br,draggable:ze,droppable:lt,draggables:_t,afterCritical:ir}),Sn=Ve({draggable:ze,destination:lt,newPageBorderBoxCenter:jr,viewport:Mt.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(Sn){var Un=Je({pageBorderBoxCenter:jr,draggable:ze,viewport:Mt});return{clientSelection:Un,impact:br,scrollJumpRequest:null}}var vi=$(jr,ar),$n=Pe({impact:br,viewport:Mt,destination:lt,draggables:_t,maxScrollChange:vi});return{clientSelection:vr,impact:$n,scrollJumpRequest:vi}},At=function(re){var ye=re.subject.active;return ye||De(!1),ye},dt=function(re){var ye=re.isMovingForward,ze=re.pageBorderBoxCenter,lt=re.source,_t=re.droppables,Dt=re.viewport,Mt=lt.subject.active;if(!Mt)return null;var ar=lt.axis,vr=rn(Mt[ar.start],Mt[ar.end]),ir=Ge(_t).filter(function(fr){return fr!==lt}).filter(function(fr){return fr.isEnabled}).filter(function(fr){return Boolean(fr.subject.active)}).filter(function(fr){return ei(Dt.frame)(At(fr))}).filter(function(fr){var br=At(fr);return ye?Mt[ar.crossAxisEnd]<br[ar.crossAxisEnd]:br[ar.crossAxisStart]<Mt[ar.crossAxisStart]}).filter(function(fr){var br=At(fr),jr=rn(br[ar.start],br[ar.end]);return vr(br[ar.start])||vr(br[ar.end])||jr(Mt[ar.start])||jr(Mt[ar.end])}).sort(function(fr,br){var jr=At(fr)[ar.crossAxisStart],Sn=At(br)[ar.crossAxisStart];return ye?jr-Sn:Sn-jr}).filter(function(fr,br,jr){return At(fr)[ar.crossAxisStart]===At(jr[0])[ar.crossAxisStart]});if(!ir.length)return null;if(ir.length===1)return ir[0];var qt=ir.filter(function(fr){var br=rn(At(fr)[ar.start],At(fr)[ar.end]);return br(ze[ar.line])});return qt.length===1?qt[0]:qt.length>1?qt.sort(function(fr,br){return At(fr)[ar.start]-At(br)[ar.start]})[0]:ir.sort(function(fr,br){var jr=nt(ze,vt(At(fr))),Sn=nt(ze,vt(At(br)));return jr!==Sn?jr-Sn:At(fr)[ar.start]-At(br)[ar.start]})[0]},Kt=function(re,ye){var ze=re.page.borderBox.center;return pr(re.descriptor.id,ye)?$(ze,ye.displacedBy.point):ze},$t=function(re,ye){var ze=re.page.borderBox;return pr(re.descriptor.id,ye)?Ye(ze,xe(ye.displacedBy.point)):ze},er=function(re){var ye=re.pageBorderBoxCenter,ze=re.viewport,lt=re.destination,_t=re.insideDestination,Dt=re.afterCritical,Mt=_t.filter(function(ar){return nr({target:$t(ar,Dt),destination:lt,viewport:ze.frame,withDroppableDisplacement:!0})}).sort(function(ar,vr){var ir=st(ye,Xn(lt,Kt(ar,Dt))),qt=st(ye,Xn(lt,Kt(vr,Dt)));return ir<qt?-1:qt<ir?1:ar.descriptor.index-vr.descriptor.index});return Mt[0]||null},cr=L(function(re,ye){var ze=ye[re.line];return{value:ze,point:We(re.line,ze)}}),Ct=function(re,ye,ze){var lt=re.axis;if(re.descriptor.mode==="virtual")return We(lt.line,ye[lt.line]);var _t=re.subject.page.contentBox[lt.size],Dt=Wt(re.descriptor.id,ze),Mt=Dt.reduce(function(ir,qt){return ir+qt.client.marginBox[lt.size]},0),ar=Mt+ye[lt.line],vr=ar-_t;return vr<=0?null:We(lt.line,vr)},Nr=function(re,ye){return Object(g.a)({},re,{scroll:Object(g.a)({},re.scroll,{max:ye})})},Zt=function(re,ye,ze){var lt=re.frame;yt(ye,re)&&De(!1),re.subject.withPlaceholder&&De(!1);var _t=cr(re.axis,ye.displaceBy).point,Dt=Ct(re,_t,ze),Mt={placeholderSize:_t,increasedBy:Dt,oldFrameMaxScroll:re.frame?re.frame.scroll.max:null};if(!lt){var ar=Qe({page:re.subject.page,withPlaceholder:Mt,axis:re.axis,frame:re.frame});return Object(g.a)({},re,{subject:ar})}var vr=Dt?me(lt.scroll.max,Dt):lt.scroll.max,ir=Nr(lt,vr),qt=Qe({page:re.subject.page,withPlaceholder:Mt,axis:re.axis,frame:ir});return Object(g.a)({},re,{subject:qt,frame:ir})},Ir=function(re){var ye=re.subject.withPlaceholder;ye||De(!1);var ze=re.frame;if(!ze){var lt=Qe({page:re.subject.page,axis:re.axis,frame:null,withPlaceholder:null});return Object(g.a)({},re,{subject:lt})}var _t=ye.oldFrameMaxScroll;_t||De(!1);var Dt=Nr(ze,_t),Mt=Qe({page:re.subject.page,axis:re.axis,frame:Dt,withPlaceholder:null});return Object(g.a)({},re,{subject:Mt,frame:Dt})},xr=function(re){var ye=re.previousPageBorderBoxCenter,ze=re.moveRelativeTo,lt=re.insideDestination,_t=re.draggable,Dt=re.draggables,Mt=re.destination,ar=re.viewport,vr=re.afterCritical;if(!ze){if(lt.length)return null;var ir={displaced:Lr,displacedBy:Jt,at:{type:"REORDER",destination:{droppableId:Mt.descriptor.id,index:0}}},qt=pi({impact:ir,draggable:_t,droppable:Mt,draggables:Dt,afterCritical:vr}),fr=yt(_t,Mt)?Mt:Zt(Mt,_t,Dt),br=Ve({draggable:_t,destination:fr,newPageBorderBoxCenter:qt,viewport:ar.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return br?ir:null}var jr=Boolean(ye[Mt.axis.line]<=ze.page.borderBox.center[Mt.axis.line]),Sn=function(){var vi=ze.descriptor.index;return ze.descriptor.id===_t.descriptor.id||jr?vi:vi+1}(),Un=cr(Mt.axis,_t.displaceBy);return Ft({draggable:_t,insideDestination:lt,destination:Mt,viewport:ar,displacedBy:Un,last:Lr,index:Sn})},ur=function(re){var ye=re.isMovingForward,ze=re.previousPageBorderBoxCenter,lt=re.draggable,_t=re.isOver,Dt=re.draggables,Mt=re.droppables,ar=re.viewport,vr=re.afterCritical,ir=dt({isMovingForward:ye,pageBorderBoxCenter:ze,source:_t,droppables:Mt,viewport:ar});if(!ir)return null;var qt=Wt(ir.descriptor.id,Dt),fr=er({pageBorderBoxCenter:ze,viewport:ar,destination:ir,insideDestination:qt,afterCritical:vr}),br=xr({previousPageBorderBoxCenter:ze,destination:ir,draggable:lt,draggables:Dt,moveRelativeTo:fr,insideDestination:qt,viewport:ar,afterCritical:vr});if(!br)return null;var jr=pi({impact:br,draggable:lt,droppable:ir,draggables:Dt,afterCritical:vr}),Sn=Je({pageBorderBoxCenter:jr,draggable:lt,viewport:ar});return{clientSelection:Sn,impact:br,scrollJumpRequest:null}},on=function(re){var ye=re.at;return ye?ye.type==="REORDER"?ye.destination.droppableId:ye.combine.droppableId:null},Yn=function(re,ye){var ze=on(re);return ze?ye[ze]:null},Vn=function(re){var ye=re.state,ze=re.type,lt=Yn(ye.impact,ye.dimensions.droppables),_t=Boolean(lt),Dt=ye.dimensions.droppables[ye.critical.droppable.id],Mt=lt||Dt,ar=Mt.axis.direction,vr=ar==="vertical"&&(ze==="MOVE_UP"||ze==="MOVE_DOWN")||ar==="horizontal"&&(ze==="MOVE_LEFT"||ze==="MOVE_RIGHT");if(vr&&!_t)return null;var ir=ze==="MOVE_DOWN"||ze==="MOVE_RIGHT",qt=ye.dimensions.draggables[ye.critical.draggable.id],fr=ye.current.page.borderBoxCenter,br=ye.dimensions,jr=br.draggables,Sn=br.droppables;return vr?Ze({isMovingForward:ir,previousPageBorderBoxCenter:fr,draggable:qt,destination:Mt,draggables:jr,viewport:ye.viewport,previousClientSelection:ye.current.client.selection,previousImpact:ye.impact,afterCritical:ye.afterCritical}):ur({isMovingForward:ir,previousPageBorderBoxCenter:fr,draggable:qt,isOver:Mt,draggables:jr,droppables:Sn,viewport:ye.viewport,afterCritical:ye.afterCritical})};function Wn(Re){return Re.phase==="DRAGGING"||Re.phase==="COLLECTING"}function jn(Re){var re=rn(Re.top,Re.bottom),ye=rn(Re.left,Re.right);return function(lt){return re(lt.y)&&ye(lt.x)}}function Gn(Re,re){return Re.left<re.right&&Re.right>re.left&&Re.top<re.bottom&&Re.bottom>re.top}function Nn(Re){var re=Re.pageBorderBox,ye=Re.draggable,ze=Re.candidates,lt=ye.page.borderBox.center,_t=ze.map(function(Dt){var Mt=Dt.axis,ar=We(Dt.axis.line,re.center[Mt.line],Dt.page.borderBox.center[Mt.crossAxisLine]);return{id:Dt.descriptor.id,distance:st(lt,ar)}}).sort(function(Dt,Mt){return Mt.distance-Dt.distance});return _t[0]?_t[0].id:null}function mi(Re){var re=Re.pageBorderBox,ye=Re.draggable,ze=Re.droppables,lt=Ge(ze).filter(function(_t){if(!_t.isEnabled)return!1;var Dt=_t.subject.active;if(!Dt)return!1;if(!Gn(re,Dt))return!1;if(jn(Dt)(re.center))return!0;var Mt=_t.axis,ar=Dt.center[Mt.crossAxisLine],vr=re[Mt.crossAxisStart],ir=re[Mt.crossAxisEnd],qt=rn(Dt[Mt.crossAxisStart],Dt[Mt.crossAxisEnd]),fr=qt(vr),br=qt(ir);return!fr&&!br?!0:fr?vr<ar:ir>ar});return lt.length?lt.length===1?lt[0].descriptor.id:Nn({pageBorderBox:re,draggable:ye,candidates:lt}):null}var en=function(re,ye){return r(Ye(re,ye))},Kr=function(re,ye){var ze=re.frame;return ze?en(ye,ze.scroll.diff.value):ye};function dn(Re){var re=Re.displaced,ye=Re.id;return Boolean(re.visible[ye]||re.invisible[ye])}function Vr(Re){var re=Re.draggable,ye=Re.closest,ze=Re.inHomeList;return ye?ze&&ye.descriptor.index>re.descriptor.index?ye.descriptor.index-1:ye.descriptor.index:null}var ni=function(re){var ye=re.pageBorderBoxWithDroppableScroll,ze=re.draggable,lt=re.destination,_t=re.insideDestination,Dt=re.last,Mt=re.viewport,ar=re.afterCritical,vr=lt.axis,ir=cr(lt.axis,ze.displaceBy),qt=ir.value,fr=ye[vr.start],br=ye[vr.end],jr=Tt(ze,_t),Sn=ue(jr,function(vi){var $n=vi.descriptor.id,Qi=vi.page.borderBox.center[vr.line],Ei=pr($n,ar),ua=dn({displaced:Dt,id:$n});return Ei?ua?br<=Qi:fr<Qi-qt:ua?br<=Qi+qt:fr<Qi}),Un=Vr({draggable:ze,closest:Sn,inHomeList:yt(ze,lt)});return Ft({draggable:ze,insideDestination:_t,destination:lt,viewport:Mt,last:Dt,displacedBy:ir,index:Un})},Hn=4,Kn=function(re){var ye=re.draggable,ze=re.pageBorderBoxWithDroppableScroll,lt=re.previousImpact,_t=re.destination,Dt=re.insideDestination,Mt=re.afterCritical;if(!_t.isCombineEnabled)return null;var ar=_t.axis,vr=cr(_t.axis,ye.displaceBy),ir=vr.value,qt=ze[ar.start],fr=ze[ar.end],br=Tt(ye,Dt),jr=ue(br,function(Un){var vi=Un.descriptor.id,$n=Un.page.borderBox,Qi=$n[ar.size],Ei=Qi/Hn,ua=pr(vi,Mt),qi=dn({displaced:lt.displaced,id:vi});return ua?qi?fr>$n[ar.start]+Ei&&fr<$n[ar.end]-Ei:qt>$n[ar.start]-ir+Ei&&qt<$n[ar.end]-ir-Ei:qi?fr>$n[ar.start]+ir+Ei&&fr<$n[ar.end]+ir-Ei:qt>$n[ar.start]+Ei&&qt<$n[ar.end]-Ei});if(!jr)return null;var Sn={displacedBy:vr,displaced:lt.displaced,at:{type:"COMBINE",combine:{draggableId:jr.descriptor.id,droppableId:_t.descriptor.id}}};return Sn},bn=function(re){var ye=re.pageOffset,ze=re.draggable,lt=re.draggables,_t=re.droppables,Dt=re.previousImpact,Mt=re.viewport,ar=re.afterCritical,vr=en(ze.page.borderBox,ye),ir=mi({pageBorderBox:vr,draggable:ze,droppables:_t});if(!ir)return zr;var qt=_t[ir],fr=Wt(qt.descriptor.id,lt),br=Kr(qt,vr);return Kn({pageBorderBoxWithDroppableScroll:br,draggable:ze,previousImpact:Dt,destination:qt,insideDestination:fr,afterCritical:ar})||ni({pageBorderBoxWithDroppableScroll:br,draggable:ze,destination:qt,insideDestination:fr,last:Dt.displaced,viewport:Mt,afterCritical:ar})},wi=function(re,ye){var ze;return Object(g.a)({},re,(ze={},ze[ye.descriptor.id]=ye,ze))},si=function(re){var ye=re.previousImpact,ze=re.impact,lt=re.droppables,_t=on(ye),Dt=on(ze);if(!_t)return lt;if(_t===Dt)return lt;var Mt=lt[_t];if(!Mt.subject.withPlaceholder)return lt;var ar=Ir(Mt);return wi(lt,ar)},Oi=function(re){var ye=re.draggable,ze=re.draggables,lt=re.droppables,_t=re.previousImpact,Dt=re.impact,Mt=si({previousImpact:_t,impact:Dt,droppables:lt}),ar=on(Dt);if(!ar)return Mt;var vr=lt[ar];if(yt(ye,vr))return Mt;if(vr.subject.withPlaceholder)return Mt;var ir=Zt(vr,ye,ze);return wi(Mt,ir)},qr=function(re){var ye=re.state,ze=re.clientSelection,lt=re.dimensions,_t=re.viewport,Dt=re.impact,Mt=re.scrollJumpRequest,ar=_t||ye.viewport,vr=lt||ye.dimensions,ir=ze||ye.current.client.selection,qt=$(ir,ye.initial.client.selection),fr={offset:qt,selection:ir,borderBoxCenter:me(ye.initial.client.borderBoxCenter,qt)},br={selection:me(fr.selection,ar.scroll.current),borderBoxCenter:me(fr.borderBoxCenter,ar.scroll.current),offset:me(fr.offset,ar.scroll.diff.value)},jr={client:fr,page:br};if(ye.phase==="COLLECTING")return Object(g.a)({phase:"COLLECTING"},ye,{dimensions:vr,viewport:ar,current:jr});var Sn=vr.draggables[ye.critical.draggable.id],Un=Dt||bn({pageOffset:br.offset,draggable:Sn,draggables:vr.draggables,droppables:vr.droppables,previousImpact:ye.impact,viewport:ar,afterCritical:ye.afterCritical}),vi=Oi({draggable:Sn,impact:Un,previousImpact:ye.impact,draggables:vr.draggables,droppables:vr.droppables}),$n=Object(g.a)({},ye,{current:jr,dimensions:{draggables:vr.draggables,droppables:vi},impact:Un,viewport:ar,scrollJumpRequest:Mt||null,forceShouldAnimate:Mt?!1:null});return $n};function Sr(Re,re){return Re.map(function(ye){return re[ye]})}var sn=function(re){var ye=re.impact,ze=re.viewport,lt=re.draggables,_t=re.destination,Dt=re.forceShouldAnimate,Mt=ye.displaced,ar=Sr(Mt.all,lt),vr=$r({afterDragging:ar,destination:_t,displacedBy:ye.displacedBy,viewport:ze.frame,forceShouldAnimate:Dt,last:Mt});return Object(g.a)({},ye,{displaced:vr})},yn=function(re){var ye=re.impact,ze=re.draggable,lt=re.droppable,_t=re.draggables,Dt=re.viewport,Mt=re.afterCritical,ar=pi({impact:ye,draggable:ze,draggables:_t,droppable:lt,afterCritical:Mt});return Je({pageBorderBoxCenter:ar,draggable:ze,viewport:Dt})},On=function(re){var ye=re.state,ze=re.dimensions,lt=re.viewport;ye.movementMode==="SNAP"||De(!1);var _t=ye.impact,Dt=lt||ye.viewport,Mt=ze||ye.dimensions,ar=Mt.draggables,vr=Mt.droppables,ir=ar[ye.critical.draggable.id],qt=on(_t);qt||De(!1);var fr=vr[qt],br=sn({impact:_t,viewport:Dt,destination:fr,draggables:ar}),jr=yn({impact:br,draggable:ir,droppable:fr,draggables:ar,viewport:Dt,afterCritical:ye.afterCritical});return qr({impact:br,clientSelection:jr,state:ye,dimensions:Mt,viewport:Dt})},Pn=function(re){return{index:re.index,droppableId:re.droppableId}},ti=function(re){var ye=re.draggable,ze=re.home,lt=re.draggables,_t=re.viewport,Dt=cr(ze.axis,ye.displaceBy),Mt=Wt(ze.descriptor.id,lt),ar=Mt.indexOf(ye);ar!==-1||De(!1);var vr=Mt.slice(ar+1),ir=vr.reduce(function(jr,Sn){return jr[Sn.descriptor.id]=!0,jr},{}),qt={inVirtualList:ze.descriptor.mode==="virtual",displacedBy:Dt,effected:ir},fr=$r({afterDragging:vr,destination:ze,displacedBy:Dt,last:null,viewport:_t.frame,forceShouldAnimate:!1}),br={displaced:fr,displacedBy:Dt,at:{type:"REORDER",destination:Pn(ye.descriptor)}};return{impact:br,afterCritical:qt}},ai=function(re,ye){return{draggables:re.draggables,droppables:wi(re.droppables,ye)}},qn=function(re){},xi=function(re){},Pi=function(re){var ye=re.draggable,ze=re.offset,lt=re.initialWindowScroll,_t=S(ye.client,ze),Dt=y(_t,lt),Mt=Object(g.a)({},ye,{placeholder:Object(g.a)({},ye.placeholder,{client:_t}),client:_t,page:Dt});return Mt},ki=function(re){var ye=re.frame;return ye||De(!1),ye},ja=function(re){var ye=re.additions,ze=re.updatedDroppables,lt=re.viewport,_t=lt.scroll.diff.value;return ye.map(function(Dt){var Mt=Dt.descriptor.droppableId,ar=ze[Mt],vr=ki(ar),ir=vr.scroll.diff.value,qt=me(_t,ir),fr=Pi({draggable:Dt,offset:qt,initialWindowScroll:lt.scroll.initial});return fr})},ri=function(re){var ye=re.state,ze=re.published;qn();var lt=ze.modified.map(function(Ei){var ua=ye.dimensions.droppables[Ei.droppableId],qi=te(ua,Ei.scroll);return qi}),_t=Object(g.a)({},ye.dimensions.droppables,{},rt(lt)),Dt=Ue(ja({additions:ze.additions,updatedDroppables:_t,viewport:ye.viewport})),Mt=Object(g.a)({},ye.dimensions.draggables,{},Dt);ze.removals.forEach(function(Ei){delete Mt[Ei]});var ar={droppables:_t,draggables:Mt},vr=on(ye.impact),ir=vr?ar.droppables[vr]:null,qt=ar.draggables[ye.critical.draggable.id],fr=ar.droppables[ye.critical.droppable.id],br=ti({draggable:qt,home:fr,draggables:Mt,viewport:ye.viewport}),jr=br.impact,Sn=br.afterCritical,Un=ir&&ir.isCombineEnabled?ye.impact:jr,vi=bn({pageOffset:ye.current.page.offset,draggable:ar.draggables[ye.critical.draggable.id],draggables:ar.draggables,droppables:ar.droppables,previousImpact:Un,viewport:ye.viewport,afterCritical:Sn});xi();var $n=Object(g.a)({phase:"DRAGGING"},ye,{phase:"DRAGGING",impact:vi,onLiftImpact:jr,dimensions:ar,afterCritical:Sn,forceShouldAnimate:!1});if(ye.phase==="COLLECTING")return $n;var Qi=Object(g.a)({phase:"DROP_PENDING"},$n,{phase:"DROP_PENDING",reason:ye.reason,isWaiting:!1});return Qi},pt=function(re){return re.movementMode==="SNAP"},gr=function(re,ye,ze){var lt=ai(re.dimensions,ye);return!pt(re)||ze?qr({state:re,dimensions:lt}):On({state:re,dimensions:lt})};function _r(Re){return Re.isDragging&&Re.movementMode==="SNAP"?Object(g.a)({phase:"DRAGGING"},Re,{scrollJumpRequest:null}):Re}var Dr={phase:"IDLE",completed:null,shouldFlush:!1},tn=function(re,ye){if(re===void 0&&(re=Dr),ye.type==="FLUSH")return Object(g.a)({},Dr,{shouldFlush:!0});if(ye.type==="INITIAL_PUBLISH"){re.phase==="IDLE"||De(!1);var ze=ye.payload,lt=ze.critical,_t=ze.clientSelection,Dt=ze.viewport,Mt=ze.dimensions,ar=ze.movementMode,vr=Mt.draggables[lt.draggable.id],ir=Mt.droppables[lt.droppable.id],qt={selection:_t,borderBoxCenter:vr.client.borderBox.center,offset:Se},fr={client:qt,page:{selection:me(qt.selection,Dt.scroll.initial),borderBoxCenter:me(qt.selection,Dt.scroll.initial),offset:me(qt.selection,Dt.scroll.diff.value)}},br=Ge(Mt.droppables).every(function(so){return!so.isFixedOnPage}),jr=ti({draggable:vr,home:ir,draggables:Mt.draggables,viewport:Dt}),Sn=jr.impact,Un=jr.afterCritical,vi={phase:"DRAGGING",isDragging:!0,critical:lt,movementMode:ar,dimensions:Mt,initial:fr,current:fr,isWindowScrollAllowed:br,impact:Sn,afterCritical:Un,onLiftImpact:Sn,viewport:Dt,scrollJumpRequest:null,forceShouldAnimate:null};return vi}if(ye.type==="COLLECTION_STARTING"){if(re.phase==="COLLECTING"||re.phase==="DROP_PENDING")return re;re.phase==="DRAGGING"||De(!1);var $n=Object(g.a)({phase:"COLLECTING"},re,{phase:"COLLECTING"});return $n}if(ye.type==="PUBLISH_WHILE_DRAGGING")return re.phase==="COLLECTING"||re.phase==="DROP_PENDING"||De(!1),ri({state:re,published:ye.payload});if(ye.type==="MOVE"){if(re.phase==="DROP_PENDING")return re;Wn(re)||De(!1);var Qi=ye.payload.client;return we(Qi,re.current.client.selection)?re:qr({state:re,clientSelection:Qi,impact:pt(re)?re.impact:null})}if(ye.type==="UPDATE_DROPPABLE_SCROLL"){if(re.phase==="DROP_PENDING")return _r(re);if(re.phase==="COLLECTING")return _r(re);Wn(re)||De(!1);var Ei=ye.payload,ua=Ei.id,qi=Ei.newScroll,aa=re.dimensions.droppables[ua];if(!aa)return re;var Xa=te(aa,qi);return gr(re,Xa,!1)}if(ye.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(re.phase==="DROP_PENDING")return re;Wn(re)||De(!1);var O=ye.payload,M=O.id,ee=O.isEnabled,ne=re.dimensions.droppables[M];ne||De(!1),ne.isEnabled!==ee||De(!1);var de=Object(g.a)({},ne,{isEnabled:ee});return gr(re,de,!0)}if(ye.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(re.phase==="DROP_PENDING")return re;Wn(re)||De(!1);var Be=ye.payload,ft=Be.id,Nt=Be.isCombineEnabled,Vt=re.dimensions.droppables[ft];Vt||De(!1),Vt.isCombineEnabled!==Nt||De(!1);var Gt=Object(g.a)({},Vt,{isCombineEnabled:Nt});return gr(re,Gt,!0)}if(ye.type==="MOVE_BY_WINDOW_SCROLL"){if(re.phase==="DROP_PENDING"||re.phase==="DROP_ANIMATING")return re;Wn(re)||De(!1),re.isWindowScrollAllowed||De(!1);var Fr=ye.payload.newScroll;if(we(re.viewport.scroll.current,Fr))return _r(re);var Jr=bi(re.viewport,Fr);return pt(re)?On({state:re,viewport:Jr}):qr({state:re,viewport:Jr})}if(ye.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Wn(re))return re;var pn=ye.payload.maxScroll;if(we(pn,re.viewport.scroll.max))return re;var vn=Object(g.a)({},re.viewport,{scroll:Object(g.a)({},re.viewport.scroll,{max:pn})});return Object(g.a)({phase:"DRAGGING"},re,{viewport:vn})}if(ye.type==="MOVE_UP"||ye.type==="MOVE_DOWN"||ye.type==="MOVE_LEFT"||ye.type==="MOVE_RIGHT"){if(re.phase==="COLLECTING"||re.phase==="DROP_PENDING")return re;re.phase==="DRAGGING"||De(!1);var ci=Vn({state:re,type:ye.type});return ci?qr({state:re,impact:ci.impact,clientSelection:ci.clientSelection,scrollJumpRequest:ci.scrollJumpRequest}):re}if(ye.type==="DROP_PENDING"){var Si=ye.payload.reason;re.phase==="COLLECTING"||De(!1);var Ri=Object(g.a)({phase:"DROP_PENDING"},re,{phase:"DROP_PENDING",isWaiting:!0,reason:Si});return Ri}if(ye.type==="DROP_ANIMATE"){var Ni=ye.payload,Ii=Ni.completed,Vi=Ni.dropDuration,ia=Ni.newHomeClientOffset;re.phase==="DRAGGING"||re.phase==="DROP_PENDING"||De(!1);var Ka={phase:"DROP_ANIMATING",completed:Ii,dropDuration:Vi,newHomeClientOffset:ia,dimensions:re.dimensions};return Ka}if(ye.type==="DROP_COMPLETE"){var Oa=ye.payload.completed;return{phase:"IDLE",completed:Oa,shouldFlush:!1}}return re},Br=function(re){return{type:"BEFORE_INITIAL_CAPTURE",payload:re}},wn=function(re){return{type:"LIFT",payload:re}},mn=function(re){return{type:"INITIAL_PUBLISH",payload:re}},_n=function(re){return{type:"PUBLISH_WHILE_DRAGGING",payload:re}},hi=function(){return{type:"COLLECTION_STARTING",payload:null}},li=function(re){return{type:"UPDATE_DROPPABLE_SCROLL",payload:re}},Zn=function(re){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:re}},$e=function(re){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:re}},kt=function(re){return{type:"MOVE",payload:re}},or=function(re){return{type:"MOVE_BY_WINDOW_SCROLL",payload:re}},tr=function(re){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:re}},Or=function(){return{type:"MOVE_UP",payload:null}},wr=function(){return{type:"MOVE_DOWN",payload:null}},Xr=function(){return{type:"MOVE_RIGHT",payload:null}},Qr=function(){return{type:"MOVE_LEFT",payload:null}},cn=function(){return{type:"FLUSH",payload:null}},Ln=function(re){return{type:"DROP_ANIMATE",payload:re}},Cn=function(re){return{type:"DROP_COMPLETE",payload:re}},Bn=function(re){return{type:"DROP",payload:re}},nn=function(re){return{type:"DROP_PENDING",payload:re}},Dn=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function hn(Re){if(Re.length<=1)return;for(var re=Re.map(function(Mt){return Mt.descriptor.index}),ye={},ze=1;ze<re.length;ze++){var lt=re[ze],_t=re[ze-1];lt!==_t+1&&(ye[lt]=!0)}if(!Object.keys(ye).length)return;var Dt=re.map(function(Mt){var ar=Boolean(ye[Mt]);return ar?"[\u{1F525}"+Mt+"]":""+Mt}).join(", ")}function An(Re,re){if(!1)var ye}var xn=function(re){return function(ye){var ze=ye.getState,lt=ye.dispatch;return function(_t){return function(Dt){if(Dt.type!=="LIFT"){_t(Dt);return}var Mt=Dt.payload,ar=Mt.id,vr=Mt.clientSelection,ir=Mt.movementMode,qt=ze();qt.phase==="DROP_ANIMATING"&&lt(Cn({completed:qt.completed})),ze().phase==="IDLE"||De(!1),lt(cn()),lt(Br({draggableId:ar,movementMode:ir}));var fr={shouldPublishImmediately:ir==="SNAP"},br={draggableId:ar,scrollOptions:fr},jr=re.startPublishing(br),Sn=jr.critical,Un=jr.dimensions,vi=jr.viewport;An(Sn,Un),lt(mn({critical:Sn,dimensions:Un,clientSelection:vr,movementMode:ir,viewport:vi}))}}}},Rn=function(re){return function(){return function(ye){return function(ze){ze.type==="INITIAL_PUBLISH"&&re.dragging(),ze.type==="DROP_ANIMATE"&&re.dropping(ze.payload.completed.result.reason),(ze.type==="FLUSH"||ze.type==="DROP_COMPLETE")&&re.resting(),ye(ze)}}}},ui={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},gi={opacity:{drop:0,combining:.7},scale:{drop:.75}},Fi={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},di=Fi.outOfTheWay+"s "+ui.outOfTheWay,ii={fluid:"opacity "+di,snap:"transform "+di+", opacity "+di,drop:function(re){var ye=re+"s "+ui.drop;return"transform "+ye+", opacity "+ye},outOfTheWay:"transform "+di,placeholder:"height "+di+", width "+di+", margin "+di},Yi=function(re){return we(re,Se)?null:"translate("+re.x+"px, "+re.y+"px)"},_i={moveTo:Yi,drop:function(re,ye){var ze=Yi(re);return ze?ye?ze+" scale("+gi.scale.drop+")":ze:null}},Mi=Fi.minDropTime,Bi=Fi.maxDropTime,Zi=Bi-Mi,da=1500,Ma=.6,La=function(re){var ye=re.current,ze=re.destination,lt=re.reason,_t=st(ye,ze);if(_t<=0)return Mi;if(_t>=da)return Bi;var Dt=_t/da,Mt=Mi+Zi*Dt,ar=lt==="CANCEL"?Mt*Ma:Mt;return Number(ar.toFixed(2))},fa=function(re){var ye=re.impact,ze=re.draggable,lt=re.dimensions,_t=re.viewport,Dt=re.afterCritical,Mt=lt.draggables,ar=lt.droppables,vr=on(ye),ir=vr?ar[vr]:null,qt=ar[ze.descriptor.droppableId],fr=yn({impact:ye,draggable:ze,draggables:Mt,afterCritical:Dt,droppable:ir||qt,viewport:_t}),br=$(fr,ze.client.borderBox.center);return br},xa=function(re){var ye=re.draggables,ze=re.reason,lt=re.lastImpact,_t=re.home,Dt=re.viewport,Mt=re.onLiftImpact;if(!lt.at||ze!=="DROP"){var ar=sn({draggables:ye,impact:Mt,destination:_t,viewport:Dt,forceShouldAnimate:!0});return{impact:ar,didDropInsideDroppable:!1}}if(lt.at.type==="REORDER")return{impact:lt,didDropInsideDroppable:!0};var vr=Object(g.a)({},lt,{displaced:Lr});return{impact:vr,didDropInsideDroppable:!0}},ea=function(re){var ye=re.getState,ze=re.dispatch;return function(lt){return function(_t){if(_t.type!=="DROP"){lt(_t);return}var Dt=ye(),Mt=_t.payload.reason;if(Dt.phase==="COLLECTING"){ze(nn({reason:Mt}));return}if(Dt.phase==="IDLE")return;var ar=Dt.phase==="DROP_PENDING"&&Dt.isWaiting;ar&&De(!1),Dt.phase==="DRAGGING"||Dt.phase==="DROP_PENDING"||De(!1);var vr=Dt.critical,ir=Dt.dimensions,qt=ir.draggables[Dt.critical.draggable.id],fr=xa({reason:Mt,lastImpact:Dt.impact,afterCritical:Dt.afterCritical,onLiftImpact:Dt.onLiftImpact,home:Dt.dimensions.droppables[Dt.critical.droppable.id],viewport:Dt.viewport,draggables:Dt.dimensions.draggables}),br=fr.impact,jr=fr.didDropInsideDroppable,Sn=jr?jt(br):null,Un=jr?Yt(br):null,vi={index:vr.draggable.index,droppableId:vr.droppable.id},$n={draggableId:qt.descriptor.id,type:qt.descriptor.type,source:vi,reason:Mt,mode:Dt.movementMode,destination:Sn,combine:Un},Qi=fa({impact:br,draggable:qt,dimensions:ir,viewport:Dt.viewport,afterCritical:Dt.afterCritical}),Ei={critical:Dt.critical,afterCritical:Dt.afterCritical,result:$n,impact:br},ua=!we(Dt.current.client.offset,Qi)||Boolean($n.combine);if(!ua){ze(Cn({completed:Ei}));return}var qi=La({current:Dt.current.client.offset,destination:Qi,reason:Mt}),aa={newHomeClientOffset:Qi,dropDuration:qi,completed:Ei};ze(Ln(aa))}}},ya=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function sa(Re){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ye){if(ye.target!==window&&ye.target!==window.document)return;Re()}}}function Fa(Re){var re=Re.onWindowScroll;function ye(){re(ya())}var ze=F(ye),lt=sa(ze),_t=oe;function Dt(){return _t!==oe}function Mt(){Dt()&&De(!1),_t=se(window,[lt])}function ar(){Dt()||De(!1),ze.cancel(),_t(),_t=oe}return{start:Mt,stop:ar,isActive:Dt}}var uo=function(re){return re.type==="DROP_COMPLETE"||re.type==="DROP_ANIMATE"||re.type==="FLUSH"},za=function(re){var ye=Fa({onWindowScroll:function(lt){re.dispatch(or({newScroll:lt}))}});return function(ze){return function(lt){!ye.isActive()&&lt.type==="INITIAL_PUBLISH"&&ye.start(),ye.isActive()&&uo(lt)&&ye.stop(),ze(lt)}}},Ya=function(re){var ye=!1,ze=!1,lt=setTimeout(function(){ze=!0}),_t=function(Mt){if(ye)return;if(ze)return;ye=!0,re(Mt),clearTimeout(lt)};return _t.wasCalled=function(){return ye},_t},lo=function(){var re=[],ye=function(Dt){var Mt=Ce(re,function(ir){return ir.timerId===Dt});Mt!==-1||De(!1);var ar=re.splice(Mt,1),vr=ar[0];vr.callback()},ze=function(Dt){var Mt=setTimeout(function(){return ye(Mt)}),ar={timerId:Mt,callback:Dt};re.push(ar)},lt=function(){if(!re.length)return;var Dt=[].concat(re);re.length=0,Dt.forEach(function(Mt){clearTimeout(Mt.timerId),Mt.callback()})};return{add:ze,flush:lt}},ta=function(re,ye){return re==null&&ye==null?!0:re==null||ye==null?!1:re.droppableId===ye.droppableId&&re.index===ye.index},Xi=function(re,ye){return re==null&&ye==null?!0:re==null||ye==null?!1:re.draggableId===ye.draggableId&&re.droppableId===ye.droppableId},Gi=function(re,ye){if(re===ye)return!0;var ze=re.draggable.id===ye.draggable.id&&re.draggable.droppableId===ye.draggable.droppableId&&re.draggable.type===ye.draggable.type&&re.draggable.index===ye.draggable.index,lt=re.droppable.id===ye.droppable.id&&re.droppable.type===ye.droppable.type;return ze&&lt},Ta=function(re,ye){qn(),ye(),xi()},ka=function(re,ye){return{draggableId:re.draggable.id,type:re.droppable.type,source:{droppableId:re.droppable.id,index:re.draggable.index},mode:ye}},ha=function(re,ye,ze,lt){if(!re){ze(lt(ye));return}var _t=Ya(ze),Dt={announce:_t};re(ye,Dt),_t.wasCalled()||ze(lt(ye))},Ua=function(re,ye){var ze=lo(),lt=null,_t=function(br,jr){lt&&De(!1),Ta("onBeforeCapture",function(){var Sn=re().onBeforeCapture;if(Sn){var Un={draggableId:br,mode:jr};Sn(Un)}})},Dt=function(br,jr){lt&&De(!1),Ta("onBeforeDragStart",function(){var Sn=re().onBeforeDragStart;Sn&&Sn(ka(br,jr))})},Mt=function(br,jr){lt&&De(!1);var Sn=ka(br,jr);lt={mode:jr,lastCritical:br,lastLocation:Sn.source,lastCombine:null},ze.add(function(){Ta("onDragStart",function(){return ha(re().onDragStart,Sn,ye,le.onDragStart)})})},ar=function(br,jr){var Sn=jt(jr),Un=Yt(jr);lt||De(!1);var vi=!Gi(br,lt.lastCritical);vi&&(lt.lastCritical=br);var $n=!ta(lt.lastLocation,Sn);$n&&(lt.lastLocation=Sn);var Qi=!Xi(lt.lastCombine,Un);if(Qi&&(lt.lastCombine=Un),!vi&&!$n&&!Qi)return;var Ei=Object(g.a)({},ka(br,lt.mode),{combine:Un,destination:Sn});ze.add(function(){Ta("onDragUpdate",function(){return ha(re().onDragUpdate,Ei,ye,le.onDragUpdate)})})},vr=function(){lt||De(!1),ze.flush()},ir=function(br){lt||De(!1),lt=null,Ta("onDragEnd",function(){return ha(re().onDragEnd,br,ye,le.onDragEnd)})},qt=function(){if(!lt)return;var br=Object(g.a)({},ka(lt.lastCritical,lt.mode),{combine:null,destination:null,reason:"CANCEL"});ir(br)};return{beforeCapture:_t,beforeStart:Dt,start:Mt,update:ar,flush:vr,drop:ir,abort:qt}},ao=function(re,ye){var ze=Ua(re,ye);return function(lt){return function(_t){return function(Dt){if(Dt.type==="BEFORE_INITIAL_CAPTURE"){ze.beforeCapture(Dt.payload.draggableId,Dt.payload.movementMode);return}if(Dt.type==="INITIAL_PUBLISH"){var Mt=Dt.payload.critical;ze.beforeStart(Mt,Dt.payload.movementMode),_t(Dt),ze.start(Mt,Dt.payload.movementMode);return}if(Dt.type==="DROP_COMPLETE"){var ar=Dt.payload.completed.result;ze.flush(),_t(Dt),ze.drop(ar);return}if(_t(Dt),Dt.type==="FLUSH"){ze.abort();return}var vr=lt.getState();vr.phase==="DRAGGING"&&ze.update(vr.critical,vr.impact)}}}},Ao=function(re){return function(ye){return function(ze){if(ze.type!=="DROP_ANIMATION_FINISHED"){ye(ze);return}var lt=re.getState();lt.phase==="DROP_ANIMATING"||De(!1),re.dispatch(Cn({completed:lt.completed}))}}},ho=function(re){var ye=null,ze=null;function lt(){ze&&(cancelAnimationFrame(ze),ze=null),ye&&(ye(),ye=null)}return function(_t){return function(Dt){if((Dt.type==="FLUSH"||Dt.type==="DROP_COMPLETE"||Dt.type==="DROP_ANIMATION_FINISHED")&&lt(),_t(Dt),Dt.type!=="DROP_ANIMATE")return;var Mt={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var vr=re.getState();vr.phase==="DROP_ANIMATING"&&re.dispatch(Dn())}};ze=requestAnimationFrame(function(){ze=null,ye=se(window,[Mt])})}}},ro=function(re){return function(){return function(ye){return function(ze){(ze.type==="DROP_COMPLETE"||ze.type==="FLUSH"||ze.type==="DROP_ANIMATE")&&re.stopPublishing(),ye(ze)}}}},qa=function(re){var ye=!1;return function(){return function(ze){return function(lt){if(lt.type==="INITIAL_PUBLISH"){ye=!0,re.tryRecordFocus(lt.payload.critical.draggable.id),ze(lt),re.tryRestoreFocusRecorded();return}if(ze(lt),!ye)return;if(lt.type==="FLUSH"){ye=!1,re.tryRestoreFocusRecorded();return}if(lt.type==="DROP_COMPLETE"){ye=!1;var _t=lt.payload.completed.result;_t.combine&&re.tryShiftRecord(_t.draggableId,_t.combine.draggableId),re.tryRestoreFocusRecorded()}}}}},no=function(re){return re.type==="DROP_COMPLETE"||re.type==="DROP_ANIMATE"||re.type==="FLUSH"},Wi=function(re){return function(ye){return function(ze){return function(lt){if(no(lt)){re.stop(),ze(lt);return}if(lt.type==="INITIAL_PUBLISH"){ze(lt);var _t=ye.getState();_t.phase==="DRAGGING"||De(!1),re.start(_t);return}ze(lt),re.scroll(ye.getState())}}}},Ci=function(re){return function(ye){return function(ze){if(ye(ze),ze.type!=="PUBLISH_WHILE_DRAGGING")return;var lt=re.getState();if(lt.phase!=="DROP_PENDING")return;if(lt.isWaiting)return;re.dispatch(Bn({reason:lt.reason}))}}},Di=v.d,ma=function(re){var ye=re.dimensionMarshal,ze=re.focusMarshal,lt=re.styleMarshal,_t=re.getResponders,Dt=re.announce,Mt=re.autoScroller;return Object(v.e)(tn,Di(Object(v.a)(Rn(lt),ro(ye),xn(ye),ea,Ao,ho,Ci,Wi(Mt),za,qa(ze),ao(_t,Dt))))},ga=function(){return{additions:{},removals:{},modified:{}}};function Aa(Re){var re=Re.registry,ye=Re.callbacks,ze=ga(),lt=null,_t=function(){if(lt)return;ye.collectionStarting(),lt=requestAnimationFrame(function(){lt=null,qn();var ir=ze,qt=ir.additions,fr=ir.removals,br=ir.modified,jr=Object.keys(qt).map(function(vi){return re.draggable.getById(vi).getDimension(Se)}).sort(function(vi,$n){return vi.descriptor.index-$n.descriptor.index}),Sn=Object.keys(br).map(function(vi){var $n=re.droppable.getById(vi),Qi=$n.callbacks.getScrollWhileDragging();return{droppableId:vi,scroll:Qi}}),Un={additions:jr,removals:Object.keys(fr),modified:Sn};ze=ga(),xi(),ye.publish(Un)})},Dt=function(ir){var qt=ir.descriptor.id;ze.additions[qt]=ir,ze.modified[ir.descriptor.droppableId]=!0,ze.removals[qt]&&delete ze.removals[qt],_t()},Mt=function(ir){var qt=ir.descriptor;ze.removals[qt.id]=!0,ze.modified[qt.droppableId]=!0,ze.additions[qt.id]&&delete ze.additions[qt.id],_t()},ar=function(){if(!lt)return;cancelAnimationFrame(lt),lt=null,ze=ga()};return{add:Dt,remove:Mt,stop:ar}}var wa=function(re){var ye=re.scrollHeight,ze=re.scrollWidth,lt=re.height,_t=re.width,Dt=$({x:ze,y:ye},{x:_t,y:lt}),Mt={x:Math.max(0,Dt.x),y:Math.max(0,Dt.y)};return Mt},la=function(){var re=document.documentElement;return re||De(!1),re},Hi=function(){var re=la(),ye=wa({scrollHeight:re.scrollHeight,scrollWidth:re.scrollWidth,width:re.clientWidth,height:re.clientHeight});return ye},Ba=function(){var re=ya(),ye=Hi(),ze=re.y,lt=re.x,_t=la(),Dt=_t.clientWidth,Mt=_t.clientHeight,ar=lt+Dt,vr=ze+Mt,ir=r({top:ze,left:lt,right:ar,bottom:vr}),qt={frame:ir,scroll:{initial:re,current:re,max:ye,diff:{value:Se,displacement:Se}}};return qt},Ia=function(re){var ye=re.critical,ze=re.scrollOptions,lt=re.registry;qn();var _t=Ba(),Dt=_t.scroll.current,Mt=ye.droppable,ar=lt.droppable.getAllByType(Mt.type).map(function(fr){return fr.callbacks.getDimensionAndWatchScroll(Dt,ze)}),vr=lt.draggable.getAllByType(ye.draggable.type).map(function(fr){return fr.getDimension(Dt)}),ir={draggables:Ue(vr),droppables:rt(ar)};xi();var qt={dimensions:ir,critical:ye,viewport:_t};return qt};function fo(Re,re,ye){if(ye.descriptor.id===re.id)return!1;if(ye.descriptor.type!==re.type)return!1;var ze=Re.droppable.getById(ye.descriptor.droppableId);return!(ze.descriptor.mode!=="virtual")}var Na=function(re,ye){var ze=null,lt=Aa({callbacks:{publish:ye.publishWhileDragging,collectionStarting:ye.collectionStarting},registry:re}),_t=function(jr,Sn){if(re.droppable.exists(jr)||De(!1),!ze)return;ye.updateDroppableIsEnabled({id:jr,isEnabled:Sn})},Dt=function(jr,Sn){if(!ze)return;re.droppable.exists(jr)||De(!1),ye.updateDroppableIsCombineEnabled({id:jr,isCombineEnabled:Sn})},Mt=function(jr,Sn){if(!ze)return;re.droppable.exists(jr)||De(!1),ye.updateDroppableScroll({id:jr,newScroll:Sn})},ar=function(jr,Sn){if(!ze)return;re.droppable.getById(jr).callbacks.scroll(Sn)},vr=function(){if(!ze)return;lt.stop();var jr=ze.critical.droppable;re.droppable.getAllByType(jr.type).forEach(function(Sn){return Sn.callbacks.dragStopped()}),ze.unsubscribe(),ze=null},ir=function(jr){ze||De(!1);var Sn=ze.critical.draggable;jr.type==="ADDITION"&&(fo(re,Sn,jr.value)&&lt.add(jr.value)),jr.type==="REMOVAL"&&(fo(re,Sn,jr.value)&&lt.remove(jr.value))},qt=function(jr){ze&&De(!1);var Sn=re.draggable.getById(jr.draggableId),Un=re.droppable.getById(Sn.descriptor.droppableId),vi={draggable:Sn.descriptor,droppable:Un.descriptor},$n=re.subscribe(ir);return ze={critical:vi,unsubscribe:$n},Ia({critical:vi,registry:re,scrollOptions:jr.scrollOptions})},fr={updateDroppableIsEnabled:_t,updateDroppableIsCombineEnabled:Dt,scrollDroppable:ar,updateDroppableScroll:Mt,startPublishing:qt,stopPublishing:vr};return fr},po=function(re,ye){return re.phase==="IDLE"?!0:re.phase!=="DROP_ANIMATING"||re.completed.result.draggableId===ye?!1:re.completed.result.reason==="DROP"},vo=function(re){window.scrollBy(re.x,re.y)},Ko=L(function(Re){return Ge(Re).filter(function(re){return re.isEnabled?!!re.frame:!1})}),zo=function(re,ye){var ze=ue(Ko(ye),function(lt){return lt.frame||De(!1),jn(lt.frame.pageMarginBox)(re)});return ze},yo=function(re){var ye=re.center,ze=re.destination,lt=re.droppables;if(ze){var _t=lt[ze];return _t.frame?_t:null}var Dt=zo(ye,lt);return Dt},ra={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(re){return Math.pow(re,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},oo=function(re,ye){var ze=re[ye.size]*ra.startFromPercentage,lt=re[ye.size]*ra.maxScrollAtPercentage,_t={startScrollingFrom:ze,maxScrollValueAt:lt};return _t},to=function(re){var ye=re.startOfRange,ze=re.endOfRange,lt=re.current,_t=ze-ye;if(_t===0)return 0;var Dt=lt-ye,Mt=Dt/_t;return Mt},Za=1,Lo=function(re,ye){if(re>ye.startScrollingFrom)return 0;if(re<=ye.maxScrollValueAt)return ra.maxPixelScroll;if(re===ye.startScrollingFrom)return Za;var ze=to({startOfRange:ye.maxScrollValueAt,endOfRange:ye.startScrollingFrom,current:re}),lt=1-ze,_t=ra.maxPixelScroll*ra.ease(lt);return Math.ceil(_t)},io=ra.durationDampening.accelerateAt,Da=ra.durationDampening.stopDampeningAt,Co=function(re,ye){var ze=ye,lt=Da,_t=Date.now(),Dt=_t-ze;if(Dt>=Da)return re;if(Dt<io)return Za;var Mt=to({startOfRange:io,endOfRange:lt,current:Dt}),ar=re*ra.ease(Mt);return Math.ceil(ar)},$o=function(re){var ye=re.distanceToEdge,ze=re.thresholds,lt=re.dragStartTime,_t=re.shouldUseTimeDampening,Dt=Lo(ye,ze);return Dt===0?0:_t?Math.max(Co(Dt,lt),Za):Dt},ns=function(re){var ye=re.container,ze=re.distanceToEdges,lt=re.dragStartTime,_t=re.axis,Dt=re.shouldUseTimeDampening,Mt=oo(ye,_t),ar=ze[_t.end]<ze[_t.start];return ar?$o({distanceToEdge:ze[_t.end],thresholds:Mt,dragStartTime:lt,shouldUseTimeDampening:Dt}):-1*$o({distanceToEdge:ze[_t.start],thresholds:Mt,dragStartTime:lt,shouldUseTimeDampening:Dt})},es=function(re){var ye=re.container,ze=re.subject,lt=re.proposedScroll,_t=ze.height>ye.height,Dt=ze.width>ye.width;return!Dt&&!_t?lt:Dt&&_t?null:{x:Dt?0:lt.x,y:_t?0:lt.y}},va=Ne(function(Re){return Re===0?0:Re}),pa=function(re){var ye=re.dragStartTime,ze=re.container,lt=re.subject,_t=re.center,Dt=re.shouldUseTimeDampening,Mt={top:_t.y-ze.top,right:ze.right-_t.x,bottom:ze.bottom-_t.y,left:_t.x-ze.left},ar=ns({container:ze,distanceToEdges:Mt,dragStartTime:ye,axis:Zr,shouldUseTimeDampening:Dt}),vr=ns({container:ze,distanceToEdges:Mt,dragStartTime:ye,axis:bt,shouldUseTimeDampening:Dt}),ir=va({x:vr,y:ar});if(we(ir,Se))return null;var qt=es({container:ze,subject:lt,proposedScroll:ir});return qt?we(qt,Se)?null:qt:null},ca=Ne(function(Re){return Re===0?0:Re>0?1:-1}),Ai=function(){var Re=function(ye,ze){return ye<0?ye:ye>ze?ye-ze:0};return function(re){var ye=re.current,ze=re.max,lt=re.change,_t=me(ye,lt),Dt={x:Re(_t.x,ze.x),y:Re(_t.y,ze.y)};return we(Dt,Se)?null:Dt}}(),ba=function(re){var ye=re.max,ze=re.current,lt=re.change,_t={x:Math.max(ze.x,ye.x),y:Math.max(ze.y,ye.y)},Dt=ca(lt),Mt=Ai({max:_t,current:ze,change:Dt});return Mt?Dt.x!==0&&Mt.x===0?!0:Dt.y!==0&&Mt.y===0:!0},$a=function(re,ye){return ba({current:re.scroll.current,max:re.scroll.max,change:ye})},ms=function(re,ye){if(!$a(re,ye))return null;var ze=re.scroll.max,lt=re.scroll.current;return Ai({current:lt,max:ze,change:ye})},Wo=function(re,ye){var ze=re.frame;return ze?ba({current:ze.scroll.current,max:ze.scroll.max,change:ye}):!1},Rs=function(re,ye){var ze=re.frame;return ze&&Wo(re,ye)?Ai({current:ze.scroll.current,max:ze.scroll.max,change:ye}):null},Ms=function(re){var ye=re.viewport,ze=re.subject,lt=re.center,_t=re.dragStartTime,Dt=re.shouldUseTimeDampening,Mt=pa({dragStartTime:_t,container:ye.frame,subject:ze,center:lt,shouldUseTimeDampening:Dt});return Mt&&$a(ye,Mt)?Mt:null},al=function(re){var ye=re.droppable,ze=re.subject,lt=re.center,_t=re.dragStartTime,Dt=re.shouldUseTimeDampening,Mt=ye.frame;if(!Mt)return null;var ar=pa({dragStartTime:_t,container:Mt.pageMarginBox,subject:ze,center:lt,shouldUseTimeDampening:Dt});return ar&&Wo(ye,ar)?ar:null},gs=function(re){var ye=re.state,ze=re.dragStartTime,lt=re.shouldUseTimeDampening,_t=re.scrollWindow,Dt=re.scrollDroppable,Mt=ye.current.page.borderBoxCenter,ar=ye.dimensions.draggables[ye.critical.draggable.id],vr=ar.page.marginBox;if(ye.isWindowScrollAllowed){var ir=ye.viewport,qt=Ms({dragStartTime:ze,viewport:ir,subject:vr,center:Mt,shouldUseTimeDampening:lt});if(qt){_t(qt);return}}var fr=yo({center:Mt,destination:on(ye.impact),droppables:ye.dimensions.droppables});if(!fr)return;var br=al({dragStartTime:ze,droppable:fr,subject:vr,center:Mt,shouldUseTimeDampening:lt});br&&Dt(fr.descriptor.id,br)},Vo=function(re){var ye=re.scrollWindow,ze=re.scrollDroppable,lt=F(ye),_t=F(ze),Dt=null,Mt=function(qt){Dt||De(!1);var fr=Dt,br=fr.shouldUseTimeDampening,jr=fr.dragStartTime;gs({state:qt,scrollWindow:lt,scrollDroppable:_t,dragStartTime:jr,shouldUseTimeDampening:br})},ar=function(qt){qn(),Dt&&De(!1);var fr=Date.now(),br=!1,jr=function(){br=!0};gs({state:qt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:jr,scrollDroppable:jr}),Dt={dragStartTime:fr,shouldUseTimeDampening:br},xi(),br&&Mt(qt)},vr=function(){if(!Dt)return;lt.cancel(),_t.cancel(),Dt=null};return{start:ar,stop:vr,scroll:Mt}},Xo=function(re){var ye=re.move,ze=re.scrollDroppable,lt=re.scrollWindow,_t=function(ir,qt){var fr=me(ir.current.client.selection,qt);ye({client:fr})},Dt=function(ir,qt){if(!Wo(ir,qt))return qt;var fr=Rs(ir,qt);if(!fr)return ze(ir.descriptor.id,qt),null;var br=$(qt,fr);ze(ir.descriptor.id,br);var jr=$(qt,br);return jr},Mt=function(ir,qt,fr){if(!ir)return fr;if(!$a(qt,fr))return fr;var br=ms(qt,fr);if(!br)return lt(fr),null;var jr=$(fr,br);lt(jr);var Sn=$(fr,jr);return Sn},ar=function(ir){var qt=ir.scrollJumpRequest;if(!qt)return;var fr=on(ir.impact);fr||De(!1);var br=Dt(ir.dimensions.droppables[fr],qt);if(!br)return;var jr=ir.viewport,Sn=Mt(ir.isWindowScrollAllowed,jr,br);if(!Sn)return;_t(ir,Sn)};return ar},el=function(re){var ye=re.scrollDroppable,ze=re.scrollWindow,lt=re.move,_t=Vo({scrollWindow:ze,scrollDroppable:ye}),Dt=Xo({move:lt,scrollWindow:ze,scrollDroppable:ye}),Mt=function(ir){if(ir.phase!=="DRAGGING")return;if(ir.movementMode==="FLUID"){_t.scroll(ir);return}if(!ir.scrollJumpRequest)return;Dt(ir)},ar={scroll:Mt,start:_t.start,stop:_t.stop};return ar},js="data-rbd",bo=function(){var Re=js+"-drag-handle";return{base:Re,draggableId:Re+"-draggable-id",contextId:Re+"-context-id"}}(),wo=function(){var Re=js+"-draggable";return{base:Re,contextId:Re+"-context-id",id:Re+"-id"}}(),Wa=function(){var Re=js+"-droppable";return{base:Re,contextId:Re+"-context-id",id:Re+"-id"}}(),Bo={contextId:js+"-scroll-container-context-id"},No=function(re){return function(ye){return"["+ye+'="'+re+'"]'}},Do=function(re,ye){return re.map(function(ze){var lt=ze.styles[ye];return lt?ze.selector+" { "+lt+" }":""}).join(" ")},Go="pointer-events: none;",Po=function(re){var ye=No(re),ze=function(){var ar=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ye(bo.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:ar,dragging:Go,dropAnimating:ar}}}(),lt=function(){var ar=`
transition: `+ii.outOfTheWay+`;
`;return{selector:ye(wo.contextId),styles:{dragging:ar,dropAnimating:ar,userCancel:ar}}}(),_t={selector:ye(Wa.contextId),styles:{always:"overflow-anchor: none;"}},Dt={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;
`}},Mt=[lt,ze,_t,Dt];return{always:Do(Mt,"always"),resting:Do(Mt,"resting"),dragging:Do(Mt,"dragging"),dropAnimating:Do(Mt,"dropAnimating"),userCancel:Do(Mt,"userCancel")}},Uo=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?w.useLayoutEffect:w.useEffect,Cr=function(){var re=document.querySelector("head");return re||De(!1),re},Qn=function(re){var ye=document.createElement("style");return re&&ye.setAttribute("nonce",re),ye.type="text/css",ye};function Ga(Re,re){var ye=e(function(){return Po(Re)},[Re]),ze=Object(w.useRef)(null),lt=Object(w.useRef)(null),_t=n(L(function(qt){var fr=lt.current;fr||De(!1),fr.textContent=qt}),[]),Dt=n(function(qt){var fr=ze.current;fr||De(!1),fr.textContent=qt},[]);Uo(function(){!ze.current&&!lt.current||De(!1);var qt=Qn(re),fr=Qn(re);return ze.current=qt,lt.current=fr,qt.setAttribute(js+"-always",Re),fr.setAttribute(js+"-dynamic",Re),Cr().appendChild(qt),Cr().appendChild(fr),Dt(ye.always),_t(ye.resting),function(){var br=function(Sn){var Un=Sn.current;Un||De(!1),Cr().removeChild(Un),Sn.current=null};br(ze),br(lt)}},[re,Dt,_t,ye.always,ye.resting,Re]);var Mt=n(function(){return _t(ye.dragging)},[_t,ye.dragging]),ar=n(function(qt){if(qt==="DROP"){_t(ye.dropAnimating);return}_t(ye.userCancel)},[_t,ye.dropAnimating,ye.userCancel]),vr=n(function(){if(!lt.current)return;_t(ye.resting)},[_t,ye.resting]),ir=e(function(){return{dragging:Mt,dropping:ar,resting:vr}},[Mt,ar,vr]);return ir}var Mo=function(re){return re&&re.ownerDocument?re.ownerDocument.defaultView:window};function Qo(Re){return Re instanceof Mo(Re).HTMLElement}function Vs(Re,re){var ye="["+bo.contextId+'="'+Re+'"]',ze=ot(document.querySelectorAll(ye));if(!ze.length)return null;var lt=ue(ze,function(_t){return _t.getAttribute(bo.draggableId)===re});return lt&&Qo(lt)?lt:null}function xs(Re){var re=Object(w.useRef)({}),ye=Object(w.useRef)(null),ze=Object(w.useRef)(null),lt=Object(w.useRef)(!1),_t=n(function(fr,br){var jr={id:fr,focus:br};return re.current[fr]=jr,function(){var Un=re.current,vi=Un[fr];vi!==jr&&delete Un[fr]}},[]),Dt=n(function(fr){var br=Vs(Re,fr);br&&br!==document.activeElement&&br.focus()},[Re]),Mt=n(function(fr,br){ye.current===fr&&(ye.current=br)},[]),ar=n(function(){if(ze.current)return;if(!lt.current)return;ze.current=requestAnimationFrame(function(){ze.current=null;var fr=ye.current;fr&&Dt(fr)})},[Dt]),vr=n(function(fr){ye.current=null;var br=document.activeElement;if(!br)return;if(br.getAttribute(bo.draggableId)!==fr)return;ye.current=fr},[]);Uo(function(){return lt.current=!0,function(){lt.current=!1;var fr=ze.current;fr&&cancelAnimationFrame(fr)}},[]);var ir=e(function(){return{register:_t,tryRecordFocus:vr,tryRestoreFocusRecorded:ar,tryShiftRecord:Mt}},[_t,vr,ar,Mt]);return ir}function Es(){var Re={draggables:{},droppables:{}},re=[];function ye(qt){return re.push(qt),function(){var br=re.indexOf(qt);if(br===-1)return;re.splice(br,1)}}function ze(qt){re.length&&re.forEach(function(fr){return fr(qt)})}function lt(qt){return Re.draggables[qt]||null}function _t(qt){var fr=lt(qt);return fr||De(!1),fr}var Dt={register:function(fr){Re.draggables[fr.descriptor.id]=fr,ze({type:"ADDITION",value:fr})},update:function(fr,br){var jr=Re.draggables[br.descriptor.id];if(!jr)return;if(jr.uniqueId!==fr.uniqueId)return;delete Re.draggables[br.descriptor.id],Re.draggables[fr.descriptor.id]=fr},unregister:function(fr){var br=fr.descriptor.id,jr=lt(br);if(!jr)return;if(fr.uniqueId!==jr.uniqueId)return;delete Re.draggables[br],ze({type:"REMOVAL",value:fr})},getById:_t,findById:lt,exists:function(fr){return Boolean(lt(fr))},getAllByType:function(fr){return Me(Re.draggables).filter(function(br){return br.descriptor.type===fr})}};function Mt(qt){return Re.droppables[qt]||null}function ar(qt){var fr=Mt(qt);return fr||De(!1),fr}var vr={register:function(fr){Re.droppables[fr.descriptor.id]=fr},unregister:function(fr){var br=Mt(fr.descriptor.id);if(!br)return;if(fr.uniqueId!==br.uniqueId)return;delete Re.droppables[fr.descriptor.id]},getById:ar,findById:Mt,exists:function(fr){return Boolean(Mt(fr))},getAllByType:function(fr){return Me(Re.droppables).filter(function(br){return br.descriptor.type===fr})}};function ir(){Re.draggables={},Re.droppables={},re.length=0}return{draggable:Dt,droppable:vr,subscribe:ye,clean:ir}}function vs(){var Re=e(Es,[]);return Object(w.useEffect)(function(){return function(){requestAnimationFrame(Re.clean)}},[Re]),Re}var Hs=A.a.createContext(null),_s=function(){var re=document.body;return re||De(!1),re},Fs={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},wl=function(re){return"rbd-announcement-"+re};function ol(Re){var re=e(function(){return wl(Re)},[Re]),ye=Object(w.useRef)(null);Object(w.useEffect)(function(){var _t=document.createElement("div");return ye.current=_t,_t.id=re,_t.setAttribute("aria-live","assertive"),_t.setAttribute("aria-atomic","true"),Object(g.a)(_t.style,Fs),_s().appendChild(_t),function(){setTimeout(function(){var ar=_s();ar.contains(_t)&&ar.removeChild(_t),_t===ye.current&&(ye.current=null)})}},[re]);var ze=n(function(lt){var _t=ye.current;if(_t){_t.textContent=lt;return}},[]);return ze}var vl=0,ks={separator:"::"};function us(){vl=0}function Et(Re,re){return re===void 0&&(re=ks),e(function(){return""+Re+re.separator+vl++},[re.separator,Re])}function Lt(Re){var re=Re.contextId,ye=Re.uniqueId;return"rbd-hidden-text-"+re+"-"+ye}function Ur(Re){var re=Re.contextId,ye=Re.text,ze=Et("hidden-text",{separator:"-"}),lt=e(function(){return Lt({contextId:re,uniqueId:ze})},[ze,re]);return Object(w.useEffect)(function(){var Dt=document.createElement("div");return Dt.id=lt,Dt.textContent=ye,Dt.style.display="none",_s().appendChild(Dt),function(){var ar=_s();ar.contains(Dt)&&ar.removeChild(Dt)}},[lt,ye]),lt}var un=A.a.createContext(null),kn={react:"^16.8.5","react-dom":"^16.8.5"},gt=/(\d+)\.(\d+)\.(\d+)/,ce=function(re){var ye=gt.exec(re);ye!=null||De(!1);var ze=Number(ye[1]),lt=Number(ye[2]),_t=Number(ye[3]);return{major:ze,minor:lt,patch:_t,raw:re}},ve=function(re,ye){return ye.major>re.major?!0:ye.major<re.major?!1:ye.minor>re.minor?!0:ye.minor<re.minor?!1:ye.patch>=re.patch},Ie=function(re,ye){var ze=ce(re),lt=ce(ye);if(ve(ze,lt))return},Ke=`
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
`,mt=function(re){var ye=re.doctype;if(!ye)return;ye.name.toLowerCase()!=="html",ye.publicId!==""};function Pt(Re){}function lr(Re,re){Pt(function(){Object(w.useEffect)(function(){try{Re()}catch(ye){q(`
A setup problem was encountered.
> `+ye.message+`
`)}},re)})}function yr(){lr(function(){Ie(kn.react,A.a.version),mt(document)},[])}function kr(Re){var re=Object(w.useRef)(Re);return Object(w.useEffect)(function(){re.current=Re}),re}function ln(){var Re=null;function re(){return Boolean(Re)}function ye(Dt){return Dt===Re}function ze(Dt){Re&&De(!1);var Mt={abandon:Dt};return Re=Mt,Mt}function lt(){Re||De(!1),Re=null}function _t(){Re&&(Re.abandon(),lt())}return{isClaimed:re,isActive:ye,claim:ze,release:lt,tryAbandon:_t}}var En=9,oi=13,yi=27,Ti=32,ji=33,na=34,Pa=35,Va=36,Qa=37,To=38,eo=39,Io=40,Ha,Oo=(Ha={},Ha[oi]=!0,Ha[En]=!0,Ha),is=function(re){Oo[re.keyCode]&&re.preventDefault()},mo=function(){var Re="visibilitychange";if(typeof document=="undefined")return Re;var re=[Re,"ms"+Re,"webkit"+Re,"moz"+Re,"o"+Re],ye=ue(re,function(ze){return"on"+ze in document});return ye||Re}(),go=0,ss=5;function ys(Re,re){return Math.abs(re.x-Re.x)>=ss||Math.abs(re.y-Re.y)>=ss}var Yo={type:"IDLE"};function So(Re){var re=Re.cancel,ye=Re.completed,ze=Re.getPhase,lt=Re.setPhase;return[{eventName:"mousemove",fn:function(Dt){var Mt=Dt.button,ar=Dt.clientX,vr=Dt.clientY;if(Mt!==go)return;var ir={x:ar,y:vr},qt=ze();if(qt.type==="DRAGGING"){Dt.preventDefault(),qt.actions.move(ir);return}qt.type==="PENDING"||De(!1);var fr=qt.point;if(!ys(fr,ir))return;Dt.preventDefault();var br=qt.actions.fluidLift(ir);lt({type:"DRAGGING",actions:br})}},{eventName:"mouseup",fn:function(Dt){var Mt=ze();if(Mt.type!=="DRAGGING"){re();return}Dt.preventDefault(),Mt.actions.drop({shouldBlockNextClick:!0}),ye()}},{eventName:"mousedown",fn:function(Dt){ze().type==="DRAGGING"&&Dt.preventDefault(),re()}},{eventName:"keydown",fn:function(Dt){var Mt=ze();if(Mt.type==="PENDING"){re();return}if(Dt.keyCode===yi){Dt.preventDefault(),re();return}is(Dt)}},{eventName:"resize",fn:re},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ze().type==="PENDING"&&re()}},{eventName:"webkitmouseforcedown",fn:function(Dt){var Mt=ze();if(Mt.type!=="IDLE"||De(!1),Mt.actions.shouldRespectForcePress()){re();return}Dt.preventDefault()}},{eventName:mo,fn:re}]}function Ks(Re){var re=Object(w.useRef)(Yo),ye=Object(w.useRef)(oe),ze=e(function(){return{eventName:"mousedown",fn:function(qt){if(qt.defaultPrevented)return;if(qt.button!==go)return;if(qt.ctrlKey||qt.metaKey||qt.shiftKey||qt.altKey)return;var fr=Re.findClosestDraggableId(qt);if(!fr)return;var br=Re.tryGetLock(fr,Dt,{sourceEvent:qt});if(!br)return;qt.preventDefault();var jr={x:qt.clientX,y:qt.clientY};ye.current(),vr(br,jr)}}},[Re]),lt=e(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(qt){if(qt.defaultPrevented)return;var fr=Re.findClosestDraggableId(qt);if(!fr)return;var br=Re.findOptionsForDraggable(fr);if(!br)return;if(br.shouldRespectForcePress)return;if(!Re.canGetLock(fr))return;qt.preventDefault()}}},[Re]),_t=n(function(){var qt={passive:!1,capture:!0};ye.current=se(window,[lt,ze],qt)},[lt,ze]),Dt=n(function(){var ir=re.current;if(ir.type==="IDLE")return;re.current=Yo,ye.current(),_t()},[_t]),Mt=n(function(){var ir=re.current;Dt(),ir.type==="DRAGGING"&&ir.actions.cancel({shouldBlockNextClick:!0}),ir.type==="PENDING"&&ir.actions.abort()},[Dt]),ar=n(function(){var qt={capture:!0,passive:!1},fr=So({cancel:Mt,completed:Dt,getPhase:function(){return re.current},setPhase:function(jr){re.current=jr}});ye.current=se(window,fr,qt)},[Mt,Dt]),vr=n(function(qt,fr){re.current.type==="IDLE"||De(!1),re.current={type:"PENDING",point:fr,actions:qt},ar()},[ar]);Uo(function(){return _t(),function(){ye.current()}},[_t])}var ls;function sl(){}var ll=(ls={},ls[na]=!0,ls[ji]=!0,ls[Va]=!0,ls[Pa]=!0,ls);function bs(Re,re){function ye(){re(),Re.cancel()}function ze(){re(),Re.drop()}return[{eventName:"keydown",fn:function(_t){if(_t.keyCode===yi){_t.preventDefault(),ye();return}if(_t.keyCode===Ti){_t.preventDefault(),ze();return}if(_t.keyCode===Io){_t.preventDefault(),Re.moveDown();return}if(_t.keyCode===To){_t.preventDefault(),Re.moveUp();return}if(_t.keyCode===eo){_t.preventDefault(),Re.moveRight();return}if(_t.keyCode===Qa){_t.preventDefault(),Re.moveLeft();return}if(ll[_t.keyCode]){_t.preventDefault();return}is(_t)}},{eventName:"mousedown",fn:ye},{eventName:"mouseup",fn:ye},{eventName:"click",fn:ye},{eventName:"touchstart",fn:ye},{eventName:"resize",fn:ye},{eventName:"wheel",fn:ye,options:{passive:!0}},{eventName:mo,fn:ye}]}function Fo(Re){var re=Object(w.useRef)(sl),ye=e(function(){return{eventName:"keydown",fn:function(_t){if(_t.defaultPrevented)return;if(_t.keyCode!==Ti)return;var Dt=Re.findClosestDraggableId(_t);if(!Dt)return;var Mt=Re.tryGetLock(Dt,ir,{sourceEvent:_t});if(!Mt)return;_t.preventDefault();var ar=!0,vr=Mt.snapLift();re.current();function ir(){ar||De(!1),ar=!1,re.current(),ze()}re.current=se(window,bs(vr,ir),{capture:!0,passive:!1})}}},[Re]),ze=n(function(){var _t={passive:!1,capture:!0};re.current=se(window,[ye],_t)},[ye]);Uo(function(){return ze(),function(){re.current()}},[ze])}var Ui={type:"IDLE"},zs=120,tl=.15;function As(Re){var re=Re.cancel,ye=Re.getPhase;return[{eventName:"orientationchange",fn:re},{eventName:"resize",fn:re},{eventName:"contextmenu",fn:function(lt){lt.preventDefault()}},{eventName:"keydown",fn:function(lt){if(ye().type!=="DRAGGING"){re();return}lt.keyCode===yi&&lt.preventDefault(),re()}},{eventName:mo,fn:re}]}function Jo(Re){var re=Re.cancel,ye=Re.completed,ze=Re.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(_t){var Dt=ze();if(Dt.type!=="DRAGGING"){re();return}Dt.hasMoved=!0;var Mt=_t.touches[0],ar=Mt.clientX,vr=Mt.clientY,ir={x:ar,y:vr};_t.preventDefault(),Dt.actions.move(ir)}},{eventName:"touchend",fn:function(_t){var Dt=ze();if(Dt.type!=="DRAGGING"){re();return}_t.preventDefault(),Dt.actions.drop({shouldBlockNextClick:!0}),ye()}},{eventName:"touchcancel",fn:function(_t){if(ze().type!=="DRAGGING"){re();return}_t.preventDefault(),re()}},{eventName:"touchforcechange",fn:function(_t){var Dt=ze();Dt.type!=="IDLE"||De(!1);var Mt=_t.touches[0];if(!Mt)return;var ar=Mt.force>=tl;if(!ar)return;var vr=Dt.actions.shouldRespectForcePress();if(Dt.type==="PENDING"){vr&&re();return}if(vr){if(Dt.hasMoved){_t.preventDefault();return}re();return}_t.preventDefault()}},{eventName:mo,fn:re}]}function fl(Re){var re=Object(w.useRef)(Ui),ye=Object(w.useRef)(oe),ze=n(function(){return re.current},[]),lt=n(function(br){re.current=br},[]),_t=e(function(){return{eventName:"touchstart",fn:function(br){if(br.defaultPrevented)return;var jr=Re.findClosestDraggableId(br);if(!jr)return;var Sn=Re.tryGetLock(jr,Mt,{sourceEvent:br});if(!Sn)return;var Un=br.touches[0],vi=Un.clientX,$n=Un.clientY,Qi={x:vi,y:$n};ye.current(),qt(Sn,Qi)}}},[Re]),Dt=n(function(){var br={capture:!0,passive:!1};ye.current=se(window,[_t],br)},[_t]),Mt=n(function(){var fr=re.current;if(fr.type==="IDLE")return;fr.type==="PENDING"&&clearTimeout(fr.longPressTimerId),lt(Ui),ye.current(),Dt()},[Dt,lt]),ar=n(function(){var fr=re.current;Mt(),fr.type==="DRAGGING"&&fr.actions.cancel({shouldBlockNextClick:!0}),fr.type==="PENDING"&&fr.actions.abort()},[Mt]),vr=n(function(){var br={capture:!0,passive:!1},jr={cancel:ar,completed:Mt,getPhase:ze},Sn=se(window,Jo(jr),br),Un=se(window,As(jr),br);ye.current=function(){Sn(),Un()}},[ar,ze,Mt]),ir=n(function(){var br=ze();br.type==="PENDING"||De(!1);var jr=br.actions.fluidLift(br.point);lt({type:"DRAGGING",actions:jr,hasMoved:!1})},[ze,lt]),qt=n(function(br,jr){ze().type==="IDLE"||De(!1);var Sn=setTimeout(ir,zs);lt({type:"PENDING",point:jr,actions:br,longPressTimerId:Sn}),vr()},[vr,ze,lt,ir]);Uo(function(){return Dt(),function(){ye.current();var jr=ze();jr.type==="PENDING"&&(clearTimeout(jr.longPressTimerId),lt(Ui))}},[ze,Dt,lt]),Uo(function(){var br=se(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return br},[])}function rl(Re){Pt(function(){var re=kr(Re);lr(function(){re.current.length===Re.length||De(!1)})})}var Cs={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Bs(Re,re){if(re==null)return!1;var ye=Boolean(Cs[re.tagName.toLowerCase()]);if(ye)return!0;var ze=re.getAttribute("contenteditable");return ze==="true"||ze===""?!0:re===Re?!1:Bs(Re,re.parentElement)}function Ts(Re,re){var ye=re.target;return Qo(ye)?Bs(Re,ye):!1}var Is=function(re){return r(re.getBoundingClientRect()).center};function cl(Re){return Re instanceof Mo(Re).Element}var Os=function(){var Re="matches";if(typeof document=="undefined")return Re;var re=[Re,"msMatchesSelector","webkitMatchesSelector"],ye=ue(re,function(ze){return ze in Element.prototype});return ye||Re}();function Xs(Re,re){return Re==null?null:Re[Os](re)?Re:Xs(Re.parentElement,re)}function Gs(Re,re){return Re.closest?Re.closest(re):Xs(Re,re)}function Qs(Re){return"["+bo.contextId+'="'+Re+'"]'}function Sa(Re,re){var ye=re.target;if(!cl(ye))return null;var ze=Qs(Re),lt=Gs(ye,ze);return lt&&Qo(lt)?lt:null}function Li(Re,re){var ye=Sa(Re,re);return ye?ye.getAttribute(bo.draggableId):null}function Ji(Re,re){var ye="["+wo.contextId+'="'+Re+'"]',ze=ot(document.querySelectorAll(ye)),lt=ue(ze,function(_t){return _t.getAttribute(wo.id)===re});return lt&&Qo(lt)?lt:null}function Ea(Re){Re.preventDefault()}function co(Re){var re=Re.expected,ye=Re.phase,ze=Re.isLockActive,lt=Re.shouldWarn;return ze()?!(re!==ye):!1}function Ps(Re){var re=Re.lockAPI,ye=Re.store,ze=Re.registry,lt=Re.draggableId;if(re.isClaimed())return!1;var _t=ze.draggable.findById(lt);return _t&&_t.options.isEnabled?!!po(ye.getState(),lt):!1}function ws(Re){var re=Re.lockAPI,ye=Re.contextId,ze=Re.store,lt=Re.registry,_t=Re.draggableId,Dt=Re.forceSensorStop,Mt=Re.sourceEvent,ar=Ps({lockAPI:re,store:ze,registry:lt,draggableId:_t});if(!ar)return null;var vr=lt.draggable.getById(_t),ir=Ji(ye,vr.descriptor.id);if(!ir)return null;if(Mt&&!vr.options.canDragInteractiveElements&&Ts(ir,Mt))return null;var qt=re.claim(Dt||oe),fr="PRE_DRAG";function br(){return vr.options.shouldRespectForcePress}function jr(){return re.isActive(qt)}function Sn(qi,aa){co({expected:qi,phase:fr,isLockActive:jr,shouldWarn:!0})&&ze.dispatch(aa())}var Un=Sn.bind(null,"DRAGGING");function vi(qi){function aa(){re.release(),fr="COMPLETED"}fr!=="PRE_DRAG"&&(aa(),fr==="PRE_DRAG"||De(!1)),ze.dispatch(wn(qi.liftActionArgs)),fr="DRAGGING";function Xa(O,M){if(M===void 0&&(M={shouldBlockNextClick:!1}),qi.cleanup(),M.shouldBlockNextClick){var ee=se(window,[{eventName:"click",fn:Ea,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ee)}aa(),ze.dispatch(Bn({reason:O}))}return Object(g.a)({isActive:function(){return co({expected:"DRAGGING",phase:fr,isLockActive:jr,shouldWarn:!1})},shouldRespectForcePress:br,drop:function(M){return Xa("DROP",M)},cancel:function(M){return Xa("CANCEL",M)}},qi.actions)}function $n(qi){var aa=F(function(O){Un(function(){return kt({client:O})})}),Xa=vi({liftActionArgs:{id:_t,clientSelection:qi,movementMode:"FLUID"},cleanup:function(){return aa.cancel()},actions:{move:aa}});return Object(g.a)({},Xa,{move:aa})}function Qi(){var qi={moveUp:function(){return Un(Or)},moveRight:function(){return Un(Xr)},moveDown:function(){return Un(wr)},moveLeft:function(){return Un(Qr)}};return vi({liftActionArgs:{id:_t,clientSelection:Is(ir),movementMode:"SNAP"},cleanup:oe,actions:qi})}function Ei(){var qi=co({expected:"PRE_DRAG",phase:fr,isLockActive:jr,shouldWarn:!0});qi&&re.release()}var ua={isActive:function(){return co({expected:"PRE_DRAG",phase:fr,isLockActive:jr,shouldWarn:!1})},shouldRespectForcePress:br,fluidLift:$n,snapLift:Qi,abort:Ei};return ua}var Ws=[Ks,Fo,fl];function Ys(Re){var re=Re.contextId,ye=Re.store,ze=Re.registry,lt=Re.customSensors,_t=Re.enableDefaultSensors,Dt=[].concat(_t?Ws:[],lt||[]),Mt=Object(w.useState)(function(){return ln()})[0],ar=n(function($n,Qi){$n.isDragging&&!Qi.isDragging&&Mt.tryAbandon()},[Mt]);Uo(function(){var $n=ye.getState(),Qi=ye.subscribe(function(){var Ei=ye.getState();ar($n,Ei),$n=Ei});return Qi},[Mt,ye,ar]),Uo(function(){return Mt.tryAbandon},[Mt.tryAbandon]);var vr=n(function(vi){return Ps({lockAPI:Mt,registry:ze,store:ye,draggableId:vi})},[Mt,ze,ye]),ir=n(function(vi,$n,Qi){return ws({lockAPI:Mt,registry:ze,contextId:re,store:ye,draggableId:vi,forceSensorStop:$n,sourceEvent:Qi&&Qi.sourceEvent?Qi.sourceEvent:null})},[re,Mt,ze,ye]),qt=n(function(vi){return Li(re,vi)},[re]),fr=n(function(vi){var $n=ze.draggable.findById(vi);return $n?$n.options:null},[ze.draggable]),br=n(function(){if(!Mt.isClaimed())return;Mt.tryAbandon(),ye.getState().phase!=="IDLE"&&ye.dispatch(cn())},[Mt,ye]),jr=n(Mt.isClaimed,[Mt]),Sn=e(function(){return{canGetLock:vr,tryGetLock:ir,findClosestDraggableId:qt,findOptionsForDraggable:fr,tryReleaseLock:br,isLockClaimed:jr}},[vr,ir,qt,fr,br,jr]);rl(Dt);for(var Un=0;Un<Dt.length;Un++)Dt[Un](Sn)}var pl=function(re){return{onBeforeCapture:re.onBeforeCapture,onBeforeDragStart:re.onBeforeDragStart,onDragStart:re.onDragStart,onDragEnd:re.onDragEnd,onDragUpdate:re.onDragUpdate}};function Ls(Re){return Re.current||De(!1),Re.current}function hs(Re){var re=Re.contextId,ye=Re.setCallbacks,ze=Re.sensors,lt=Re.nonce,_t=Re.dragHandleUsageInstructions,Dt=Object(w.useRef)(null);yr();var Mt=kr(Re),ar=n(function(){return pl(Mt.current)},[Mt]),vr=ol(re),ir=Ur({contextId:re,text:_t}),qt=Ga(re,lt),fr=n(function(O){Ls(Dt).dispatch(O)},[]),br=e(function(){return Object(v.b)({publishWhileDragging:_n,updateDroppableScroll:li,updateDroppableIsEnabled:Zn,updateDroppableIsCombineEnabled:$e,collectionStarting:hi},fr)},[fr]),jr=vs(),Sn=e(function(){return Na(jr,br)},[jr,br]),Un=e(function(){return el(Object(g.a)({scrollWindow:vo,scrollDroppable:Sn.scrollDroppable},Object(v.b)({move:kt},fr)))},[Sn.scrollDroppable,fr]),vi=xs(re),$n=e(function(){return ma({announce:vr,autoScroller:Un,dimensionMarshal:Sn,focusMarshal:vi,getResponders:ar,styleMarshal:qt})},[vr,Un,Sn,vi,ar,qt]);Dt.current=$n;var Qi=n(function(){var O=Ls(Dt),M=O.getState();M.phase!=="IDLE"&&O.dispatch(cn())},[]),Ei=n(function(){var O=Ls(Dt).getState();return O.isDragging||O.phase==="DROP_ANIMATING"},[]),ua=e(function(){return{isDragging:Ei,tryAbort:Qi}},[Ei,Qi]);ye(ua);var qi=n(function(O){return po(Ls(Dt).getState(),O)},[]),aa=n(function(){return Wn(Ls(Dt).getState())},[]),Xa=e(function(){return{marshal:Sn,focus:vi,contextId:re,canLift:qi,isMovementAllowed:aa,dragHandleUsageInstructionsId:ir,registry:jr}},[re,Sn,ir,vi,qi,aa,jr]);return Ys({contextId:re,store:$n,registry:jr,customSensors:ze,enableDefaultSensors:Re.enableDefaultSensors!==!1}),Object(w.useEffect)(function(){return Qi},[Qi]),A.a.createElement(un.Provider,{value:Xa},A.a.createElement(f.a,{context:Hs,store:$n},Re.children))}var Ul=0;function kc(){Ul=0}function wc(){return e(function(){return""+Ul++},[])}function Bc(){kc(),us()}function Pc(Re){var re=wc(),ye=Re.dragHandleUsageInstructions||le.dragHandleUsageInstructions;return A.a.createElement(Xe,null,function(ze){return A.a.createElement(hs,{nonce:Re.nonce,contextId:re,setCallbacks:ze,dragHandleUsageInstructions:ye,enableDefaultSensors:Re.enableDefaultSensors,sensors:Re.sensors,onBeforeCapture:Re.onBeforeCapture,onBeforeDragStart:Re.onBeforeDragStart,onDragStart:Re.onDragStart,onDragUpdate:Re.onDragUpdate,onDragEnd:Re.onDragEnd},Re.children)})}var Dl=function(re){return function(ye){return re===ye}},Zs=Dl("scroll"),Js=Dl("auto"),ul=Dl("visible"),Vl=function(re,ye){return ye(re.overflowX)||ye(re.overflowY)},ql=function(re,ye){return ye(re.overflowX)&&ye(re.overflowY)},lc=function(re){var ye=window.getComputedStyle(re),ze={overflowX:ye.overflowX,overflowY:ye.overflowY};return Vl(ze,Zs)||Vl(ze,Js)},Xl=function(){return!1;var re,ye;if(!lc(re))return!1;var ze,lt;if(ql(lt,ul))return!1},Rl=function Re(re){return re==null?null:re===document.body?Xl()?re:null:re===document.documentElement?null:lc(re)?re:Re(re.parentElement)},cc=function(re){if(!re)return;var ye=Rl(re.parentElement);if(!ye)return},$l=function(re){return{x:re.scrollLeft,y:re.scrollTop}},uc=function Re(re){if(!re)return!1;var ye=window.getComputedStyle(re);return ye.position==="fixed"?!0:Re(re.parentElement)},Sl=function(re){var ye=Rl(re),ze=uc(re);return{closestScrollable:ye,isFixedOnPage:ze}},_l=function(re){var ye=re.descriptor,ze=re.isEnabled,lt=re.isCombineEnabled,_t=re.isFixedOnPage,Dt=re.direction,Mt=re.client,ar=re.page,vr=re.closest,ir=function(){if(!vr)return null;var jr=vr.scrollSize,Sn=vr.client,Un=wa({scrollHeight:jr.scrollHeight,scrollWidth:jr.scrollWidth,height:Sn.paddingBox.height,width:Sn.paddingBox.width});return{pageMarginBox:vr.page.marginBox,frameClient:Sn,scrollSize:jr,shouldClipSubject:vr.shouldClipSubject,scroll:{initial:vr.scroll,current:vr.scroll,max:Un,diff:{value:Se,displacement:Se}}}}(),qt=Dt==="vertical"?Zr:bt,fr=Qe({page:ar,withPlaceholder:null,axis:qt,frame:ir}),br={descriptor:ye,isCombineEnabled:lt,isFixedOnPage:_t,axis:qt,isEnabled:ze,client:Mt,page:ar,frame:ir,subject:fr};return br},Ml=function(re,ye){var ze=C(re);if(!ye)return ze;if(re!==ye)return ze;var lt=ze.paddingBox.top-ye.scrollTop,_t=ze.paddingBox.left-ye.scrollLeft,Dt=lt+ye.scrollHeight,Mt=_t+ye.scrollWidth,ar={top:lt,right:Mt,bottom:Dt,left:_t},vr=s(ar,ze.border),ir=h({borderBox:vr,margin:ze.margin,border:ze.border,padding:ze.padding});return ir},ec=function(re){var ye=re.ref,ze=re.descriptor,lt=re.env,_t=re.windowScroll,Dt=re.direction,Mt=re.isDropDisabled,ar=re.isCombineEnabled,vr=re.shouldClipSubject,ir=lt.closestScrollable,qt=Ml(ye,ir),fr=y(qt,_t),br=function(){if(!ir)return null;var Sn=C(ir),Un={scrollHeight:ir.scrollHeight,scrollWidth:ir.scrollWidth};return{client:Sn,page:y(Sn,_t),scroll:$l(ir),scrollSize:Un,shouldClipSubject:vr}}(),jr=_l({descriptor:ze,isEnabled:!Mt,isCombineEnabled:ar,isFixedOnPage:lt.isFixedOnPage,direction:Dt,client:qt,page:fr,closest:br});return jr},Cl={passive:!1},Uc={passive:!0},ml=function(re){return re.shouldPublishImmediately?Cl:Uc};function xl(Re){var re=Object(w.useContext)(Re);return re||De(!1),re}var tc=function(re){return re&&re.env.closestScrollable||null};function jc(Re){var re=Object(w.useRef)(null),ye=xl(un),ze=Et("droppable"),lt=ye.registry,_t=ye.marshal,Dt=kr(Re),Mt=e(function(){return{id:Re.droppableId,type:Re.type,mode:Re.mode}},[Re.droppableId,Re.mode,Re.type]),ar=Object(w.useRef)(Mt),vr=e(function(){return L(function(Ei,ua){re.current||De(!1);var qi={x:Ei,y:ua};_t.updateDroppableScroll(Mt.id,qi)})},[Mt.id,_t]),ir=n(function(){var Ei=re.current;return!Ei||!Ei.env.closestScrollable?Se:$l(Ei.env.closestScrollable)},[]),qt=n(function(){var Ei=ir();vr(Ei.x,Ei.y)},[ir,vr]),fr=e(function(){return F(qt)},[qt]),br=n(function(){var Ei=re.current,ua=tc(Ei);Ei&&ua||De(!1);var qi=Ei.scrollOptions;if(qi.shouldPublishImmediately){qt();return}fr()},[fr,qt]),jr=n(function(Ei,ua){re.current&&De(!1);var qi=Dt.current,aa=qi.getDroppableRef();aa||De(!1);var Xa=Sl(aa),O={ref:aa,descriptor:Mt,env:Xa,scrollOptions:ua};re.current=O;var M=ec({ref:aa,descriptor:Mt,env:Xa,windowScroll:Ei,direction:qi.direction,isDropDisabled:qi.isDropDisabled,isCombineEnabled:qi.isCombineEnabled,shouldClipSubject:!qi.ignoreContainerClipping}),ee=Xa.closestScrollable;return ee&&(ee.setAttribute(Bo.contextId,ye.contextId),ee.addEventListener("scroll",br,ml(O.scrollOptions))),M},[ye.contextId,Mt,br,Dt]),Sn=n(function(){var Ei=re.current,ua=tc(Ei);return Ei&&ua||De(!1),$l(ua)},[]),Un=n(function(){var Ei=re.current;Ei||De(!1);var ua=tc(Ei);if(re.current=null,!ua)return;fr.cancel(),ua.removeAttribute(Bo.contextId),ua.removeEventListener("scroll",br,ml(Ei.scrollOptions))},[br,fr]),vi=n(function(Ei){var ua=re.current;ua||De(!1);var qi=tc(ua);qi||De(!1),qi.scrollTop+=Ei.y,qi.scrollLeft+=Ei.x},[]),$n=e(function(){return{getDimensionAndWatchScroll:jr,getScrollWhileDragging:Sn,dragStopped:Un,scroll:vi}},[Un,jr,Sn,vi]),Qi=e(function(){return{uniqueId:ze,descriptor:Mt,callbacks:$n}},[$n,Mt,ze]);Uo(function(){return ar.current=Qi.descriptor,lt.droppable.register(Qi),function(){re.current&&Un(),lt.droppable.unregister(Qi)}},[$n,Mt,Un,Qi,_t,lt.droppable]),Uo(function(){if(!re.current)return;_t.updateDroppableIsEnabled(ar.current.id,!Re.isDropDisabled)},[Re.isDropDisabled,_t]),Uo(function(){if(!re.current)return;_t.updateDroppableIsCombineEnabled(ar.current.id,Re.isCombineEnabled)},[Re.isCombineEnabled,_t])}function dc(){}var Fl={width:0,height:0,margin:It},kl=function(re){var ye=re.isAnimatingOpenOnMount,ze=re.placeholder,lt=re.animate;return ye||lt==="close"?Fl:{height:ze.client.borderBox.height,width:ze.client.borderBox.width,margin:ze.client.margin}},jl=function(re){var ye=re.isAnimatingOpenOnMount,ze=re.placeholder,lt=re.animate,_t=kl({isAnimatingOpenOnMount:ye,placeholder:ze,animate:lt});return{display:ze.display,boxSizing:"border-box",width:_t.width,height:_t.height,marginTop:_t.margin.top,marginRight:_t.margin.right,marginBottom:_t.margin.bottom,marginLeft:_t.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:lt!=="none"?ii.placeholder:null}};function Sc(Re){var re=Object(w.useRef)(null),ye=n(function(){if(!re.current)return;clearTimeout(re.current),re.current=null},[]),ze=Re.animate,lt=Re.onTransitionEnd,_t=Re.onClose,Dt=Re.contextId,Mt=Object(w.useState)(Re.animate==="open"),ar=Mt[0],vr=Mt[1];Object(w.useEffect)(function(){return ar?ze!=="open"?(ye(),vr(!1),dc):re.current?dc:(re.current=setTimeout(function(){re.current=null,vr(!1)}),ye):dc},[ze,ar,ye]);var ir=n(function(fr){if(fr.propertyName!=="height")return;lt(),ze==="close"&&_t()},[ze,_t,lt]),qt=jl({isAnimatingOpenOnMount:ar,animate:Re.animate,placeholder:Re.placeholder});return A.a.createElement(Re.placeholder.tagName,{style:qt,"data-rbd-placeholder-context-id":Dt,onTransitionEnd:ir,ref:Re.innerRef})}var xc=A.a.memo(Sc),hc=A.a.createContext(null);function Hl(Re){Re&&Qo(Re)||De(!1)}function fc(Re){return typeof Re=="boolean"}function rc(Re,re){re.forEach(function(ye){return ye(Re)})}var Ec=[function(re){var ye=re.props;ye.droppableId||De(!1),typeof ye.droppableId=="string"||De(!1)},function(re){var ye=re.props;fc(ye.isDropDisabled)||De(!1),fc(ye.isCombineEnabled)||De(!1),fc(ye.ignoreContainerClipping)||De(!1)},function(re){var ye=re.getDroppableRef;Hl(ye())}],as=[function(re){var ye=re.props,ze=re.getPlaceholderRef;if(!ye.placeholder)return;var lt=ze();if(lt)return}],nl=[function(re){var ye=re.props;ye.renderClone||De(!1)},function(re){var ye=re.getPlaceholderRef;ye()&&De(!1)}];function Tl(Re){lr(function(){rc(Re,Ec),Re.props.mode==="standard"&&rc(Re,as),Re.props.mode==="virtual"&&rc(Re,nl)})}var nc=function(Re){Object(b.a)(re,Re);function re(){for(var ze,lt=arguments.length,_t=new Array(lt),Dt=0;Dt<lt;Dt++)_t[Dt]=arguments[Dt];return ze=Re.call.apply(Re,[this].concat(_t))||this,ze.state={isVisible:Boolean(ze.props.on),data:ze.props.on,animate:ze.props.shouldAnimate&&ze.props.on?"open":"none"},ze.onClose=function(){if(ze.state.animate!=="close")return;ze.setState({isVisible:!1})},ze}re.getDerivedStateFromProps=function(lt,_t){return lt.shouldAnimate?lt.on?{isVisible:!0,data:lt.on,animate:"open"}:_t.isVisible?{isVisible:!0,data:_t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(lt.on),data:lt.on,animate:"none"}};var ye=re.prototype;return ye.render=function(){if(!this.state.isVisible)return null;var lt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(lt)},re}(A.a.PureComponent),ic={dragging:5e3,dropAnimating:4500},Il=function(re,ye){return ye?ii.drop(ye.duration):re?ii.snap:ii.fluid},yl=function(re,ye){return re?ye?gi.opacity.drop:gi.opacity.combining:null},_c=function(re){return re.forceShouldAnimate!=null?re.forceShouldAnimate:re.mode==="SNAP"};function Hc(Re){var re=Re.dimension,ye=re.client,ze=Re.offset,lt=Re.combineWith,_t=Re.dropping,Dt=Boolean(lt),Mt=_c(Re),ar=Boolean(_t),vr=ar?_i.drop(ze,Dt):_i.moveTo(ze),ir={position:"fixed",top:ye.marginBox.top,left:ye.marginBox.left,boxSizing:"border-box",width:ye.borderBox.width,height:ye.borderBox.height,transition:Il(Mt,_t),transform:vr,opacity:yl(Dt,ar),zIndex:ar?ic.dropAnimating:ic.dragging,pointerEvents:"none"};return ir}function Kc(Re){return{transform:_i.moveTo(Re.offset),transition:Re.shouldAnimateDisplacement?null:"none"}}function Cc(Re){return Re.type==="DRAGGING"?Hc(Re):Kc(Re)}function Tc(Re,re,ye){ye===void 0&&(ye=Se);var ze=window.getComputedStyle(re),lt=re.getBoundingClientRect(),_t=x(lt,ze),Dt=y(_t,ye),Mt={client:_t,tagName:re.tagName.toLowerCase(),display:ze.display},ar={x:_t.marginBox.width,y:_t.marginBox.height},vr={descriptor:Re,placeholder:Mt,displaceBy:ar,client:_t,page:Dt};return vr}function zc(Re){var re=Et("draggable"),ye=Re.descriptor,ze=Re.registry,lt=Re.getDraggableRef,_t=Re.canDragInteractiveElements,Dt=Re.shouldRespectForcePress,Mt=Re.isEnabled,ar=e(function(){return{canDragInteractiveElements:_t,shouldRespectForcePress:Dt,isEnabled:Mt}},[_t,Mt,Dt]),vr=n(function(br){var jr=lt();return jr||De(!1),Tc(ye,jr,br)},[ye,lt]),ir=e(function(){return{uniqueId:re,descriptor:ye,options:ar,getDimension:vr}},[ye,vr,ar,re]),qt=Object(w.useRef)(ir),fr=Object(w.useRef)(!0);Uo(function(){return ze.draggable.register(qt.current),function(){return ze.draggable.unregister(qt.current)}},[ze.draggable]),Uo(function(){if(fr.current){fr.current=!1;return}var br=qt.current;qt.current=ir,ze.draggable.update(ir,br)},[ir,ze.draggable])}function pc(Re,re,ye){lr(function(){function ze(_t){return"Draggable[id: "+_t+"]: "}var lt=Re.draggableId;if(lt||De(!1),typeof lt=="string"||De(!1),Q(Re.index)||De(!1),Re.mapped.type==="DRAGGING")return;Hl(ye()),Re.isEnabled&&(Vs(re,lt)||De(!1))})}function Ol(Re){Pt(function(){var re=Object(w.useRef)(Re);lr(function(){Re===re.current||De(!1)},[Re])})}function Ll(Re){Re.preventDefault()}function Gl(Re){var re=Object(w.useRef)(null),ye=n(function(O){re.current=O},[]),ze=n(function(){return re.current},[]),lt=xl(un),_t=lt.contextId,Dt=lt.dragHandleUsageInstructionsId,Mt=lt.registry,ar=xl(hc),vr=ar.type,ir=ar.droppableId,qt=e(function(){return{id:Re.draggableId,index:Re.index,type:vr,droppableId:ir}},[Re.draggableId,Re.index,vr,ir]),fr=Re.children,br=Re.draggableId,jr=Re.isEnabled,Sn=Re.shouldRespectForcePress,Un=Re.canDragInteractiveElements,vi=Re.isClone,$n=Re.mapped,Qi=Re.dropAnimationFinished;if(pc(Re,_t,ze),Ol(vi),!vi){var Ei=e(function(){return{descriptor:qt,registry:Mt,getDraggableRef:ze,canDragInteractiveElements:Un,shouldRespectForcePress:Sn,isEnabled:jr}},[qt,Mt,ze,Un,Sn,jr]);zc(Ei)}var ua=e(function(){return jr?{tabIndex:0,role:"button","aria-describedby":Dt,"data-rbd-drag-handle-draggable-id":br,"data-rbd-drag-handle-context-id":_t,draggable:!1,onDragStart:Ll}:null},[_t,Dt,br,jr]),qi=n(function(O){if($n.type!=="DRAGGING")return;if(!$n.dropping)return;if(O.propertyName!=="transform")return;Qi()},[Qi,$n]),aa=e(function(){var O=Cc($n),M=$n.type==="DRAGGING"&&$n.dropping?qi:null,ee={innerRef:ye,draggableProps:{"data-rbd-draggable-context-id":_t,"data-rbd-draggable-id":br,style:O,onTransitionEnd:M},dragHandleProps:ua};return ee},[_t,ua,br,$n,qi,ye]),Xa=e(function(){return{draggableId:qt.id,type:qt.type,source:{index:qt.index,droppableId:qt.droppableId}}},[qt.droppableId,qt.id,qt.index,qt.type]);return fr(aa,$n.snapshot,Xa)}var Kl=function(re,ye){return re===ye},Ic=function(re){var ye=re.combine,ze=re.destination;return ze?ze.droppableId:ye?ye.droppableId:null},qc=function(re){return re.combine?re.combine.draggableId:null},Wc=function(re){return re.at&&re.at.type==="COMBINE"?re.at.combine.draggableId:null};function $c(){var Re=L(function(lt,_t){return{x:lt,y:_t}}),re=L(function(lt,_t,Dt,Mt,ar){return{isDragging:!0,isClone:_t,isDropAnimating:Boolean(ar),dropAnimation:ar,mode:lt,draggingOver:Dt,combineWith:Mt,combineTargetFor:null}}),ye=L(function(lt,_t,Dt,Mt,ar,vr,ir){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:ar,combineWith:vr,mode:_t,offset:lt,dimension:Dt,forceShouldAnimate:ir,snapshot:re(_t,Mt,ar,vr,null)}}}),ze=function(_t,Dt){if(_t.isDragging){if(_t.critical.draggable.id!==Dt.draggableId)return null;var Mt=_t.current.client.offset,ar=_t.dimensions.draggables[Dt.draggableId],vr=on(_t.impact),ir=Wc(_t.impact),qt=_t.forceShouldAnimate;return ye(Re(Mt.x,Mt.y),_t.movementMode,ar,Dt.isClone,vr,ir,qt)}if(_t.phase==="DROP_ANIMATING"){var fr=_t.completed;if(fr.result.draggableId!==Dt.draggableId)return null;var br=Dt.isClone,jr=_t.dimensions.draggables[Dt.draggableId],Sn=fr.result,Un=Sn.mode,vi=Ic(Sn),$n=qc(Sn),Qi=_t.dropDuration,Ei={duration:Qi,curve:ui.drop,moveTo:_t.newHomeClientOffset,opacity:$n?gi.opacity.drop:null,scale:$n?gi.scale.drop:null};return{mapped:{type:"DRAGGING",offset:_t.newHomeClientOffset,dimension:jr,dropping:Ei,draggingOver:vi,combineWith:$n,mode:Un,forceShouldAnimate:null,snapshot:re(Un,br,vi,$n,Ei)}}}return null};return ze}function Ql(Re){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:Re,combineWith:null}}var mc={mapped:{type:"SECONDARY",offset:Se,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Ql(null)}};function eu(){var Re=L(function(Dt,Mt){return{x:Dt,y:Mt}}),re=L(Ql),ye=L(function(Dt,Mt,ar){return Mt===void 0&&(Mt=null),{mapped:{type:"SECONDARY",offset:Dt,combineTargetFor:Mt,shouldAnimateDisplacement:ar,snapshot:re(Mt)}}}),ze=function(Mt){return Mt?ye(Se,Mt,!0):null},lt=function(Mt,ar,vr,ir){var qt=vr.displaced.visible[Mt],fr=Boolean(ir.inVirtualList&&ir.effected[Mt]),br=Yt(vr),jr=br&&br.draggableId===Mt?ar:null;if(!qt){if(!fr)return ze(jr);if(vr.displaced.invisible[Mt])return null;var Sn=xe(ir.displacedBy.point),Un=Re(Sn.x,Sn.y);return ye(Un,jr,!0)}if(fr)return ze(jr);var vi=vr.displacedBy.point,$n=Re(vi.x,vi.y);return ye($n,jr,qt.shouldAnimate)},_t=function(Mt,ar){if(Mt.isDragging)return Mt.critical.draggable.id===ar.draggableId?null:lt(ar.draggableId,Mt.critical.draggable.id,Mt.impact,Mt.afterCritical);if(Mt.phase==="DROP_ANIMATING"){var vr=Mt.completed;return vr.result.draggableId===ar.draggableId?null:lt(ar.draggableId,vr.result.draggableId,vr.impact,vr.afterCritical)}return null};return _t}var Oc=function(){var re=$c(),ye=eu(),ze=function(_t,Dt){return re(_t,Dt)||ye(_t,Dt)||mc};return ze},ac={dropAnimationFinished:Dn},gc=Object(f.c)(Oc,ac,null,{context:Hs,pure:!0,areStatePropsEqual:Kl})(Gl);function Yl(Re){var re=xl(hc),ye=re.isUsingCloneFor;return ye===Re.draggableId&&!Re.isClone?null:A.a.createElement(gc,Re)}function Lc(Re){var re=typeof Re.isDragDisabled=="boolean"?!Re.isDragDisabled:!0,ye=Boolean(Re.disableInteractiveElementBlocking),ze=Boolean(Re.shouldRespectForcePress);return A.a.createElement(Yl,Object(g.a)({},Re,{isClone:!1,isEnabled:re,canDragInteractiveElements:ye,shouldRespectForcePress:ze}))}function Zl(Re){var re=Object(w.useContext)(un);re||De(!1);var ye=re.contextId,ze=re.isMovementAllowed,lt=Object(w.useRef)(null),_t=Object(w.useRef)(null),Dt=Re.children,Mt=Re.droppableId,ar=Re.type,vr=Re.mode,ir=Re.direction,qt=Re.ignoreContainerClipping,fr=Re.isDropDisabled,br=Re.isCombineEnabled,jr=Re.snapshot,Sn=Re.useClone,Un=Re.updateViewportMaxScroll,vi=Re.getContainerForClone,$n=n(function(){return lt.current},[]),Qi=n(function(ne){lt.current=ne},[]),Ei=n(function(){return _t.current},[]),ua=n(function(ne){_t.current=ne},[]);Tl({props:Re,getDroppableRef:$n,getPlaceholderRef:Ei});var qi=n(function(){ze()&&Un({maxScroll:Hi()})},[ze,Un]);jc({droppableId:Mt,type:ar,mode:vr,direction:ir,isDropDisabled:fr,isCombineEnabled:br,ignoreContainerClipping:qt,getDroppableRef:$n});var aa=A.a.createElement(nc,{on:Re.placeholder,shouldAnimate:Re.shouldAnimatePlaceholder},function(ne){var de=ne.onClose,Be=ne.data,ft=ne.animate;return A.a.createElement(xc,{placeholder:Be,onClose:de,innerRef:ua,animate:ft,contextId:ye,onTransitionEnd:qi})}),Xa=e(function(){return{innerRef:Qi,placeholder:aa,droppableProps:{"data-rbd-droppable-id":Mt,"data-rbd-droppable-context-id":ye}}},[ye,Mt,aa,Qi]),O=Sn?Sn.dragging.draggableId:null,M=e(function(){return{droppableId:Mt,type:ar,isUsingCloneFor:O}},[Mt,O,ar]);function ee(){if(!Sn)return null;var ne=Sn.dragging,de=Sn.render,Be=A.a.createElement(Yl,{draggableId:ne.draggableId,index:ne.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(ft,Nt){return de(ft,Nt,ne)});return P.a.createPortal(Be,vi())}return A.a.createElement(hc.Provider,{value:M},Dt(Xa,jr),ee())}var oc=function(re,ye){return re===ye.droppable.type},Ae=function(re,ye){return ye.draggables[re.draggable.id]},He=function(){var re={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},ye=Object(g.a)({},re,{shouldAnimatePlaceholder:!1}),ze=L(function(Dt){return{draggableId:Dt.id,type:Dt.type,source:{index:Dt.index,droppableId:Dt.droppableId}}}),lt=L(function(Dt,Mt,ar,vr,ir,qt){var fr=ir.descriptor.id,br=ir.descriptor.droppableId===Dt;if(br){var jr=qt?{render:qt,dragging:ze(ir.descriptor)}:null,Sn={isDraggingOver:ar,draggingOverWith:ar?fr:null,draggingFromThisWith:fr,isUsingPlaceholder:!0};return{placeholder:ir.placeholder,shouldAnimatePlaceholder:!1,snapshot:Sn,useClone:jr}}if(!Mt)return ye;if(!vr)return re;var Un={isDraggingOver:ar,draggingOverWith:fr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:ir.placeholder,shouldAnimatePlaceholder:!0,snapshot:Un,useClone:null}}),_t=function(Mt,ar){var vr=ar.droppableId,ir=ar.type,qt=!ar.isDropDisabled,fr=ar.renderClone;if(Mt.isDragging){var br=Mt.critical;if(!oc(ir,br))return ye;var jr=Ae(br,Mt.dimensions),Sn=on(Mt.impact)===vr;return lt(vr,qt,Sn,Sn,jr,fr)}if(Mt.phase==="DROP_ANIMATING"){var Un=Mt.completed;if(!oc(ir,Un.critical))return ye;var vi=Ae(Un.critical,Mt.dimensions);return lt(vr,qt,Ic(Un.result)===vr,on(Un.impact)===vr,vi,fr)}if(Mt.phase==="IDLE"&&Mt.completed&&!Mt.shouldFlush){var $n=Mt.completed;if(!oc(ir,$n.critical))return ye;var Qi=on($n.impact)===vr,Ei=Boolean($n.impact.at&&$n.impact.at.type==="COMBINE"),ua=$n.critical.droppable.id===vr;return Qi?Ei?re:ye:ua?re:ye}return ye};return _t},ht={updateViewportMaxScroll:tr};function zt(){return document.body||De(!1),document.body}var rr={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:zt},mr=Object(f.c)(He,ht,null,{context:Hs,pure:!0,areStatePropsEqual:Kl})(Zl);mr.defaultProps=rr},ni6a:function(k,B,d){var w=d("pzxd"),A=d("mFDi"),b=d("gut8"),g=b.WILL_BE_RESTORED,v=new A,f=function(){};f.prototype={constructor:f,drawRectText:function(o,e){var n=this.style;e=n.textRect||e,this.__dirty&&w.normalizeTextStyle(n,!0);var i=n.text;if(i!=null&&(i+=""),!w.needDrawText(i,n))return;o.save();var r=this.transform;n.transformText?this.setTransform(o):r&&(v.copy(e),v.applyTransform(r),e=v),w.renderText(this,o,i,n,e,g),o.restore()}};var l=f;k.exports=l},nkfE:function(k,B,d){var w=d("bYtY"),A=d("ca2m"),b=d("bLfw"),g=d("+TT/"),v=g.getLayoutParams,f=g.mergeLayoutParam,l=d("jkPA"),u=["value","category","time","log"];function o(e,n,i,r){w.each(u,function(s){n.extend({type:e+"Axis."+s,mergeDefaultAndTheme:function(t,a){var c=this.layoutMode,h=c?v(t):{},p=a.getTheme();w.merge(t,p.get(s+"Axis")),w.merge(t,this.getDefaultOption()),t.type=i(e,t),c&&f(t,h,c)},optionUpdated:function(){var t=this.option;t.type==="category"&&(this.__ordinalMeta=l.createByAxisModel(this))},getCategories:function(t){var a=this.option;if(a.type==="category")return t?a.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:w.mergeAll([{},A[s+"Axis"],r],!0)})}),b.registerSubTypeDefaulter(e+"Axis",w.curry(i,e))}k.exports=o},noeP:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("UOVi");w.registerAction("dataZoom",function(g,v){var f=b.createLinkedNodesFinder(A.bind(v.eachComponent,v,"dataZoom"),b.eachAxisDim,function(u,o){return u.get(o.axisIndex)}),l=[];v.eachComponent({mainType:"dataZoom",query:g},function(u,o){l.push.apply(l,f(u).nodes)}),A.each(l,function(u,o){u.setRawRange({start:g.start,end:g.end,startValue:g.startValue,endValue:g.endValue})})})},o40c:function(k,B,d){var w=d("IwbS"),A=d("OS9S"),b=d("loD1"),g=d("aKvl"),v=w.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(o,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var r=0;r<n.length;){var s=n[r++];if(s>0){o.moveTo(n[r++],n[r++]);for(var t=1;t<s;t++)o.lineTo(n[r++],n[r++])}}else for(var r=0;r<n.length;){var a=n[r++],c=n[r++],h=n[r++],p=n[r++];if(o.moveTo(a,c),i>0){var m=(a+h)/2-(c-p)*i,S=(c+p)/2-(h-a)*i;o.quadraticCurveTo(m,S,h,p)}else o.lineTo(h,p)}},findDataIndex:function(o,e){var n=this.shape,i=n.segs,r=n.curveness;if(n.polyline)for(var s=0,t=0;t<i.length;){var a=i[t++];if(a>0)for(var c=i[t++],h=i[t++],p=1;p<a;p++){var m=i[t++],S=i[t++];if(b.containStroke(c,h,m,S))return s}s++}else for(var s=0,t=0;t<i.length;){var c=i[t++],h=i[t++],m=i[t++],S=i[t++];if(r>0){var y=(c+m)/2-(h-S)*r,x=(h+S)/2-(m-c)*r;if(g.containStroke(c,h,y,x,m,S))return s}else if(b.containStroke(c,h,m,S))return s;s++}return-1}});function f(){this.group=new w.Group}var l=f.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(o){this.group.removeAll();var e=new v({rectHover:!0,cursor:"default"});e.setShape({segs:o.getLayout("linesPoints")}),this._setCommon(e,o),this.group.add(e),this._incremental=null},l.incrementalPrepareUpdate=function(o){this.group.removeAll(),this._clearIncremental(),o.count()>5e5?(this._incremental||(this._incremental=new A({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(o,e){var n=new v;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=o.start,this.group.add(n))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._setCommon=function(o,e,n){var i=e.hostModel;o.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),o.useStyle(i.getModel("lineStyle").getLineStyle()),o.style.strokeNoScale=!0;var r=e.getVisual("color");r&&o.setStyle("stroke",r),o.setStyle("fill"),n||(o.seriesIndex=i.seriesIndex,o.on("mousemove",function(s){o.dataIndex=null;var t=o.findDataIndex(s.offsetX,s.offsetY);t>0&&(o.dataIndex=t+o.__startIndex)}))},l._clearIncremental=function(){var o=this._incremental;o&&o.clearDisplaybles()};var u=f;k.exports=u},oBaM:function(k,B,d){var w=d("T4UG"),A=d("5GtS"),b=d("bYtY"),g=d("7aKB"),v=g.encodeHTML,f=d("xKMd"),l=w.extend({type:"series.radar",dependencies:["radar"],init:function(o){l.superApply(this,"init",arguments),this.legendVisualProvider=new f(b.bind(this.getData,this),b.bind(this.getRawData,this))},getInitialData:function(o,e){return A(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(o){var e=this.getData(),n=this.coordinateSystem,i=n.getIndicatorAxes(),r=this.getData().getName(o);return v(r===""?this.name:r)+"<br/>"+b.map(i,function(s,t){var a=e.get(e.mapDimension(s.dim),o);return v(s.name+" : "+a)}).join("<br />")},getTooltipPosition:function(o){if(o!=null){for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(b.map(n.dimensions,function(a){return e.mapDimension(a)}),o,!0),r=0,s=i.length;r<s;r++)if(!isNaN(i[r])){var t=n.getIndicatorAxes();return n.coordToPoint(t[r].dataToCoord(i[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}}),u=l;k.exports=u},oE7X:function(k,B,d){var w=d("bLfw");w.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(k,B,d){},oVpE:function(k,B,d){var w=d("bYtY"),A=d("IwbS"),b=d("mFDi"),g=d("6GrX"),v=g.calculateTextPosition,f=A.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(a,c){var h=c.cx,p=c.cy,m=c.width/2,S=c.height/2;a.moveTo(h,p-S),a.lineTo(h+m,p+S),a.lineTo(h-m,p+S),a.closePath()}}),l=A.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(a,c){var h=c.cx,p=c.cy,m=c.width/2,S=c.height/2;a.moveTo(h,p-S),a.lineTo(h+m,p),a.lineTo(h,p+S),a.lineTo(h-m,p),a.closePath()}}),u=A.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(a,c){var h=c.x,p=c.y,m=c.width/5*3,S=Math.max(m,c.height),y=m/2,x=y*y/(S-y),C=p-S+y+x,T=Math.asin(x/y),_=Math.cos(T)*y,E=Math.sin(T),I=Math.cos(T),L=y*.6,D=y*.7;a.moveTo(h-_,C+x),a.arc(h,C,y,Math.PI-T,Math.PI*2+T),a.bezierCurveTo(h+_-E*L,C+x+I*L,h,p-D,h,p),a.bezierCurveTo(h,p-D,h-_+E*L,C+x+I*L,h-_,C+x),a.closePath()}}),o=A.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(a,c){var h=c.height,p=c.width,m=c.x,S=c.y,y=p/3*2;a.moveTo(m,S),a.lineTo(m+y,S+h),a.lineTo(m,S+h/4*3),a.lineTo(m-y,S+h),a.lineTo(m,S),a.closePath()}}),e={line:A.Line,rect:A.Rect,roundRect:A.Rect,square:A.Rect,circle:A.Circle,diamond:l,pin:u,arrow:o,triangle:f},n={line:function(a,c,h,p,m){m.x1=a,m.y1=c+p/2,m.x2=a+h,m.y2=c+p/2},rect:function(a,c,h,p,m){m.x=a,m.y=c,m.width=h,m.height=p},roundRect:function(a,c,h,p,m){m.x=a,m.y=c,m.width=h,m.height=p,m.r=Math.min(h,p)/4},square:function(a,c,h,p,m){var S=Math.min(h,p);m.x=a,m.y=c,m.width=S,m.height=S},circle:function(a,c,h,p,m){m.cx=a+h/2,m.cy=c+p/2,m.r=Math.min(h,p)/2},diamond:function(a,c,h,p,m){m.cx=a+h/2,m.cy=c+p/2,m.width=h,m.height=p},pin:function(a,c,h,p,m){m.x=a+h/2,m.y=c+p/2,m.width=h,m.height=p},arrow:function(a,c,h,p,m){m.x=a+h/2,m.y=c+p/2,m.width=h,m.height=p},triangle:function(a,c,h,p,m){m.cx=a+h/2,m.cy=c+p/2,m.width=h,m.height=p}},i={};w.each(e,function(a,c){i[c]=new a});var r=A.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(a,c,h){var p=v(a,c,h),m=this.shape;return m&&m.symbolType==="pin"&&c.textPosition==="inside"&&(p.y=h.y+h.height*.4),p},buildPath:function(a,c,h){var p=c.symbolType;if(p!=="none"){var m=i[p];m||(p="rect",m=i[p]),n[p](c.x,c.y,c.width,c.height,m.shape),m.buildPath(a,m.shape,h)}}});function s(a,c){if(this.type!=="image"){var h=this.style,p=this.shape;p&&p.symbolType==="line"?h.stroke=a:this.__isEmptyBrush?(h.stroke=a,h.fill=c||"#fff"):(h.fill&&(h.fill=a),h.stroke&&(h.stroke=a)),this.dirty(!1)}}function t(a,c,h,p,m,S,y){var x=a.indexOf("empty")===0;x&&(a=a.substr(5,1).toLowerCase()+a.substr(6));var C;return a.indexOf("image://")===0?C=A.makeImage(a.slice(8),new b(c,h,p,m),y?"center":"cover"):a.indexOf("path://")===0?C=A.makePath(a.slice(7),{},new b(c,h,p,m),y?"center":"cover"):C=new r({shape:{symbolType:a,x:c,y:h,width:p,height:m}}),C.__isEmptyBrush=x,C.setColor=s,C.setColor(S),C}B.createSymbol=t},oY9F:function(k,B,d){var w=d("OlYY"),A=w.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});k.exports=A},osHv:function(k,B,d){(function(w){w(d("VrN/"))})(function(w){"use strict";var A=w.Pos;function b(c,h){return c.line-h.line||c.ch-h.ch}var g="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=g+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",f=new RegExp("<(/?)(["+g+"]["+v+"]*)","g");function l(c,h,p,m){this.line=h,this.ch=p,this.cm=c,this.text=c.getLine(h),this.min=m?Math.max(m.from,c.firstLine()):c.firstLine(),this.max=m?Math.min(m.to-1,c.lastLine()):c.lastLine()}function u(c,h){var p=c.cm.getTokenTypeAt(A(c.line,h));return p&&/\btag\b/.test(p)}function o(c){return c.line>=c.max?void 0:(c.ch=0,c.text=c.cm.getLine(++c.line),!0)}function e(c){return c.line<=c.min?void 0:(c.text=c.cm.getLine(--c.line),c.ch=c.text.length,!0)}function n(c){for(;;){var h=c.text.indexOf(">",c.ch);if(h==-1){if(o(c))continue;return}if(!u(c,h+1)){c.ch=h+1;continue}var p=c.text.lastIndexOf("/",h),m=p>-1&&!/\S/.test(c.text.slice(p+1,h));return c.ch=h+1,m?"selfClose":"regular"}}function i(c){for(;;){var h=c.ch?c.text.lastIndexOf("<",c.ch-1):-1;if(h==-1){if(e(c))continue;return}if(!u(c,h+1)){c.ch=h;continue}f.lastIndex=h,c.ch=h;var p=f.exec(c.text);if(p&&p.index==h)return p}}function r(c){for(;;){f.lastIndex=c.ch;var h=f.exec(c.text);if(!h){if(o(c))continue;return}if(!u(c,h.index+1)){c.ch=h.index+1;continue}return c.ch=h.index+h[0].length,h}}function s(c){for(;;){var h=c.ch?c.text.lastIndexOf(">",c.ch-1):-1;if(h==-1){if(e(c))continue;return}if(!u(c,h+1)){c.ch=h;continue}var p=c.text.lastIndexOf("/",h),m=p>-1&&!/\S/.test(c.text.slice(p+1,h));return c.ch=h+1,m?"selfClose":"regular"}}function t(c,h){for(var p=[];;){var m=r(c),S,y=c.line,x=c.ch-(m?m[0].length:0);if(!m||!(S=n(c)))return;if(S=="selfClose")continue;if(m[1]){for(var C=p.length-1;C>=0;--C)if(p[C]==m[2]){p.length=C;break}if(C<0&&(!h||h==m[2]))return{tag:m[2],from:A(y,x),to:A(c.line,c.ch)}}else p.push(m[2])}}function a(c,h){for(var p=[];;){var m=s(c);if(!m)return;if(m=="selfClose"){i(c);continue}var S=c.line,y=c.ch,x=i(c);if(!x)return;if(x[1])p.push(x[2]);else{for(var C=p.length-1;C>=0;--C)if(p[C]==x[2]){p.length=C;break}if(C<0&&(!h||h==x[2]))return{tag:x[2],from:A(c.line,c.ch),to:A(S,y)}}}}w.registerHelper("fold","xml",function(c,h){for(var p=new l(c,h.line,0);;){var m=r(p);if(!m||p.line!=h.line)return;var S=n(p);if(!S)return;if(!m[1]&&S!="selfClose"){var y=A(p.line,p.ch),x=t(p,m[2]);return x&&b(x.from,y)>0?{from:y,to:x.from}:null}}}),w.findMatchingTag=function(c,h,p){var m=new l(c,h.line,h.ch,p);if(m.text.indexOf(">")==-1&&m.text.indexOf("<")==-1)return;var S=n(m),y=S&&A(m.line,m.ch),x=S&&i(m);if(!S||!x||b(m,h)>0)return;var C={from:A(m.line,m.ch),to:y,tag:x[2]};return S=="selfClose"?{open:C,close:null,at:"open"}:x[1]?{open:a(m,x[2]),close:C,at:"close"}:(m=new l(c,y.line,y.ch,p),{open:C,close:t(m,x[2]),at:"open"})},w.findEnclosingTag=function(c,h,p,m){for(var S=new l(c,h.line,h.ch,p);;){var y=a(S,m);if(!y)break;var x=new l(c,h.line,h.ch,p),C=t(x,y.tag);if(C)return{open:y,close:C}}},w.scanForClosingTag=function(c,h,p,m){var S=new l(c,h.line,h.ch,m?{from:0,to:m}:null);return t(S,p)}})},ozfa:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("KxFI"),g=d.n(b)},"p+If":function(k,B,d){var w=d("ProS");d("cpOr"),d("rkZ5");var A=d("ZYIC"),b=d("7ph2");w.registerLayout(A),w.registerVisual(b)},"p/La":function(k,B){var d=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function w(A,b){A==="china"&&b.name==="\u53F0\u6E7E"&&b.geometries.push({type:"polygon",exterior:d[0]})}k.exports=w},p1MT:function(k,B,d){var w=d("Hw7h"),A=d("IwbS"),b=d("6Ic6"),g=d("OELB"),v=g.parsePercent,f=g.round,l=g.linearMap;function u(r,s){var t=r.get("center"),a=s.getWidth(),c=s.getHeight(),h=Math.min(a,c),p=v(t[0],s.getWidth()),m=v(t[1],s.getHeight()),S=v(r.get("radius"),h/2);return{cx:p,cy:m,r:S}}function o(r,s){return s&&(typeof s=="string"?r=s.replace("{value}",r!=null?r:""):typeof s=="function"&&(r=s(r))),r}var e=Math.PI*2,n=b.extend({type:"gauge",render:function(r,s,t){this.group.removeAll();var a=r.get("axisLine.lineStyle.color"),c=u(r,t);this._renderMain(r,s,t,a,c)},dispose:function(){},_renderMain:function(r,s,t,a,c){for(var h=this.group,p=r.getModel("axisLine"),m=p.getModel("lineStyle"),S=r.get("clockwise"),y=-r.get("startAngle")/180*Math.PI,x=-r.get("endAngle")/180*Math.PI,C=(x-y)%e,T=y,_=m.get("width"),E=p.get("show"),I=0;E&&I<a.length;I++){var L=Math.min(Math.max(a[I][0],0),1),x=y+C*L,D=new A.Sector({shape:{startAngle:T,endAngle:x,cx:c.cx,cy:c.cy,clockwise:S,r0:c.r-_,r:c.r},silent:!0});D.setStyle({fill:a[I][1]}),D.setStyle(m.getLineStyle(["color","borderWidth","borderColor"])),h.add(D),T=x}var F=function(P){if(P<=0)return a[0][1];for(var W=0;W<a.length;W++)if(a[W][0]>=P&&(W===0?0:a[W-1][0])<P)return a[W][1];return a[W-1][1]};if(!S){var N=y;y=x,x=N}this._renderTicks(r,s,t,F,c,y,x,S),this._renderPointer(r,s,t,F,c,y,x,S),this._renderTitle(r,s,t,F,c),this._renderDetail(r,s,t,F,c)},_renderTicks:function(r,s,t,a,c,h,p,m){for(var S=this.group,y=c.cx,x=c.cy,C=c.r,T=+r.get("min"),_=+r.get("max"),E=r.getModel("splitLine"),I=r.getModel("axisTick"),L=r.getModel("axisLabel"),D=r.get("splitNumber"),F=I.get("splitNumber"),N=v(E.get("length"),C),P=v(I.get("length"),C),W=h,R=(p-h)/D,j=R/F,H=E.getModel("lineStyle").getLineStyle(),K=I.getModel("lineStyle").getLineStyle(),U=0;U<=D;U++){var G=Math.cos(W),z=Math.sin(W);if(E.get("show")){var Y=new A.Line({shape:{x1:G*C+y,y1:z*C+x,x2:G*(C-N)+y,y2:z*(C-N)+x},style:H,silent:!0});H.stroke==="auto"&&Y.setStyle({stroke:a(U/D)}),S.add(Y)}if(L.get("show")){var q=o(f(U/D*(_-T)+T),L.get("formatter")),oe=L.get("distance"),ie=a(U/D);S.add(new A.Text({style:A.setTextStyle({},L,{text:q,x:G*(C-N-oe)+y,y:z*(C-N-oe)+x,textVerticalAlign:z<-.4?"top":z>.4?"bottom":"middle",textAlign:G<-.4?"left":G>.4?"right":"center"},{autoColor:ie}),silent:!0}))}if(I.get("show")&&U!==D){for(var se=0;se<=F;se++){var G=Math.cos(W),z=Math.sin(W),he=new A.Line({shape:{x1:G*C+y,y1:z*C+x,x2:G*(C-P)+y,y2:z*(C-P)+x},silent:!0,style:K});K.stroke==="auto"&&he.setStyle({stroke:a((U+se/F)/D)}),S.add(he),W+=j}W-=j}else W+=R}},_renderPointer:function(r,s,t,a,c,h,p,m){var S=this.group,y=this._data;if(!r.get("pointer.show")){y&&y.eachItemGraphicEl(function(E){S.remove(E)});return}var x=[+r.get("min"),+r.get("max")],C=[h,p],T=r.getData(),_=T.mapDimension("value");T.diff(y).add(function(E){var I=new w({shape:{angle:h}});A.initProps(I,{shape:{angle:l(T.get(_,E),x,C,!0)}},r),S.add(I),T.setItemGraphicEl(E,I)}).update(function(E,I){var L=y.getItemGraphicEl(I);A.updateProps(L,{shape:{angle:l(T.get(_,E),x,C,!0)}},r),S.add(L),T.setItemGraphicEl(E,L)}).remove(function(E){var I=y.getItemGraphicEl(E);S.remove(I)}).execute(),T.eachItemGraphicEl(function(E,I){var L=T.getItemModel(I),D=L.getModel("pointer");E.setShape({x:c.cx,y:c.cy,width:v(D.get("width"),c.r),r:v(D.get("length"),c.r)}),E.useStyle(L.getModel("itemStyle").getItemStyle()),E.style.fill==="auto"&&E.setStyle("fill",a(l(T.get(_,I),x,[0,1],!0))),A.setHoverStyle(E,L.getModel("emphasis.itemStyle").getItemStyle())}),this._data=T},_renderTitle:function(r,s,t,a,c){var h=r.getData(),p=h.mapDimension("value"),m=r.getModel("title");if(m.get("show")){var S=m.get("offsetCenter"),y=c.cx+v(S[0],c.r),x=c.cy+v(S[1],c.r),C=+r.get("min"),T=+r.get("max"),_=r.getData().get(p,0),E=a(l(_,[C,T],[0,1],!0));this.group.add(new A.Text({silent:!0,style:A.setTextStyle({},m,{x:y,y:x,text:h.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:E,forceRich:!0})}))}},_renderDetail:function(r,s,t,a,c){var h=r.getModel("detail"),p=+r.get("min"),m=+r.get("max");if(h.get("show")){var S=h.get("offsetCenter"),y=c.cx+v(S[0],c.r),x=c.cy+v(S[1],c.r),C=v(h.get("width"),c.r),T=v(h.get("height"),c.r),_=r.getData(),E=_.get(_.mapDimension("value"),0),I=a(l(E,[p,m],[0,1],!0));this.group.add(new A.Text({silent:!0,style:A.setTextStyle({},h,{x:y,y:x,text:o(E,h.get("formatter")),textWidth:isNaN(C)?null:C,textHeight:isNaN(T)?null:T,textAlign:"center",textVerticalAlign:"middle"},{autoColor:I,forceRich:!0})}))}}}),i=n;k.exports=i},"p77/":function(k,B,d){},pC0b:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("xzDV"),g=d.n(b),v=d("5Dmo")},"pED+":function(k,B,d){},pLH3:function(k,B,d){var w=d("ProS");d("ALo7"),d("TWL2");var A=d("mOdp"),b=d("JLnu"),g=d("0/Rx");w.registerVisual(A("funnel")),w.registerLayout(b),w.registerProcessor(g("funnel"))},pP6R:function(k,B,d){var w=d("ProS"),A="\0_ec_interaction_mutex";function b(l,u,o){var e=f(l);e[u]=o}function g(l,u,o){var e=f(l),n=e[u];n===o&&(e[u]=null)}function v(l,u){return!!f(l)[u]}function f(l){return l[A]||(l[A]={})}w.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),B.take=b,B.release=g,B.isTaken=v},pVnL:function(k,B){function d(){return k.exports=d=Object.assign||function(w){for(var A=1;A<arguments.length;A++){var b=arguments[A];for(var g in b)Object.prototype.hasOwnProperty.call(b,g)&&(w[g]=b[g])}return w},k.exports.default=k.exports,k.exports.__esModule=!0,d.apply(this,arguments)}k.exports=d,k.exports.default=k.exports,k.exports.__esModule=!0},pmaE:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS"),g=d("DEFe"),v="__seriesMapHighDown",f="__seriesMapCallKey",l=w.extendChartView({type:"map",render:function(e,n,i,r){if(r&&r.type==="mapToggleSelect"&&r.from===this.uid)return;var s=this.group;if(s.removeAll(),e.getHostGeoModel())return;if(r&&r.type==="geoRoam"&&r.componentType==="series"&&r.seriesId===e.id){var t=this._mapDraw;t&&s.add(t.group)}else if(e.needsDrawMap){var t=this._mapDraw||new g(i,!0);s.add(t.group),t.draw(e,n,i,this,r),this._mapDraw=t}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&n.getComponent("legend")&&this._renderSymbols(e,n,i)},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(e,n,i){var r=e.originalData,s=this.group;r.each(r.mapDimension("value"),function(t,a){if(isNaN(t))return;var c=r.getItemLayout(a);if(!c||!c.point)return;var h=c.point,p=c.offset,m=new b.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:h[0]+p*9,cy:h[1],r:3},silent:!0,z2:8+(p?0:b.Z2_EMPHASIS_LIFT+1)});if(!p){var S=e.mainSeries.getData(),y=r.getName(a),x=S.indexOfName(y),C=r.getItemModel(a),T=C.getModel("label"),_=C.getModel("emphasis.label"),E=S.getItemGraphicEl(x),I=A.retrieve2(e.getFormattedLabel(x,"normal"),y),L=A.retrieve2(e.getFormattedLabel(x,"emphasis"),I),D=E[v],F=Math.random();if(!D){D=E[v]={};var N=A.curry(u,!0),P=A.curry(u,!1);E.on("mouseover",N).on("mouseout",P).on("emphasis",N).on("normal",P)}E[f]=F,A.extend(D,{recordVersion:F,circle:m,labelModel:T,hoverLabelModel:_,emphasisText:L,normalText:I}),o(D,!1)}s.add(m)})}});function u(e){var n=this[v];n&&n.recordVersion===this[f]&&o(n,e)}function o(e,n){var i=e.circle,r=e.labelModel,s=e.hoverLabelModel,t=e.emphasisText,a=e.normalText;n?(i.style.extendFrom(b.setTextStyle({},s,{text:s.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=b.Z2_EMPHASIS_LIFT):(b.setTextStyle(i.style,r,{text:r.get("show")?a:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),i.__mapOriginalZ2!=null&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}k.exports=l},pwpV:function(k,B,d){},pzxd:function(k,B,d){var w=d("bYtY"),A=w.retrieve2,b=w.retrieve3,g=w.each,v=w.normalizeCssArray,f=w.isString,l=w.isObject,u=d("6GrX"),o=d("VpOo"),e=d("Xnb7"),n=d("fW2E"),i=d("gut8"),r=i.ContextCachedBy,s=i.WILL_BE_RESTORED,t=u.DEFAULT_FONT,a={left:1,right:1,center:1},c={top:1,bottom:1,middle:1},h=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],p={},m={};function S(U){return y(U),g(U.rich,y),U}function y(U){if(U){U.font=u.makeFont(U);var G=U.textAlign;G==="middle"&&(G="center"),U.textAlign=G==null||a[G]?G:"left";var z=U.textVerticalAlign||U.textBaseline;z==="center"&&(z="middle"),U.textVerticalAlign=z==null||c[z]?z:"top";var Y=U.textPadding;Y&&(U.textPadding=v(U.textPadding))}}function x(U,G,z,Y,q,oe){Y.rich?T(U,G,z,Y,q,oe):C(U,G,z,Y,q,oe)}function C(U,G,z,Y,q,oe){"use strict";var ie=L(Y),se,he=!1,pe=G.__attrCachedBy===r.PLAIN_TEXT;oe!==s?(oe&&(se=oe.style,he=!ie&&pe&&se),G.__attrCachedBy=ie?r.NONE:r.PLAIN_TEXT):pe&&(G.__attrCachedBy=r.NONE);var _e=Y.font||t;(!he||_e!==(se.font||t))&&(G.font=_e);var De=U.__computedFont;U.__styleFont!==_e&&(U.__styleFont=_e,De=U.__computedFont=G.font);var Xe=Y.textPadding,J=Y.textLineHeight,Ee=U.__textCotentBlock;(!Ee||U.__dirtyText)&&(Ee=U.__textCotentBlock=u.parsePlainText(z,De,Xe,J,Y.truncate));var qe=Ee.outerHeight,ae=Ee.lines,V=Ee.lineHeight,X=N(m,U,Y,q),Z=X.baseX,ge=X.baseY,le=X.textAlign||"left",Se=X.textVerticalAlign;E(G,Y,q,Z,ge);var me=u.adjustTextY(ge,qe,Se),$=Z,we=me;if(ie||Xe){var xe=u.getWidth(z,De),We=xe;Xe&&(We+=Xe[1]+Xe[3]);var st=u.adjustTextX(Z,We,le);ie&&D(U,G,Y,st,me,We,qe),Xe&&($=H(Z,le,Xe),we+=Xe[0])}G.textAlign=le,G.textBaseline="middle",G.globalAlpha=Y.opacity||1;for(var nt=0;nt<h.length;nt++){var Ne=h[nt],St=Ne[0],Ye=Ne[1],vt=Y[St];(!he||vt!==se[St])&&(G[Ye]=n(G,Ye,vt||Ne[2]))}we+=V/2;var It=Y.textStrokeWidth,Ut=he?se.textStrokeWidth:null,xt=!he||It!==Ut,Bt=!he||xt||Y.textStroke!==se.textStroke,Qe=W(Y.textStroke,It),te=R(Y.textFill);if(Qe&&(xt&&(G.lineWidth=It),Bt&&(G.strokeStyle=Qe)),te&&((!he||Y.textFill!==se.textFill)&&(G.fillStyle=te)),ae.length===1)Qe&&G.strokeText(ae[0],$,we),te&&G.fillText(ae[0],$,we);else for(var nt=0;nt<ae.length;nt++)Qe&&G.strokeText(ae[nt],$,we),te&&G.fillText(ae[nt],$,we),we+=V}function T(U,G,z,Y,q,oe){oe!==s&&(G.__attrCachedBy=r.NONE);var ie=U.__textCotentBlock;(!ie||U.__dirtyText)&&(ie=U.__textCotentBlock=u.parseRichText(z,Y)),_(U,G,ie,Y,q)}function _(U,G,z,Y,q){var oe=z.width,ie=z.outerWidth,se=z.outerHeight,he=Y.textPadding,pe=N(m,U,Y,q),_e=pe.baseX,De=pe.baseY,Xe=pe.textAlign,J=pe.textVerticalAlign;E(G,Y,q,_e,De);var Ee=u.adjustTextX(_e,ie,Xe),qe=u.adjustTextY(De,se,J),ae=Ee,V=qe;he&&(ae+=he[3],V+=he[0]);var X=ae+oe;L(Y)&&D(U,G,Y,Ee,qe,ie,se);for(var Z=0;Z<z.lines.length;Z++){for(var ge=z.lines[Z],le=ge.tokens,Se=le.length,me=ge.lineHeight,$=ge.width,we=0,xe=ae,We=X,st=Se-1,nt;we<Se&&(nt=le[we],!nt.textAlign||nt.textAlign==="left");)I(U,G,nt,Y,me,V,xe,"left"),$-=nt.width,xe+=nt.width,we++;for(;st>=0&&(nt=le[st],nt.textAlign==="right");)I(U,G,nt,Y,me,V,We,"right"),$-=nt.width,We-=nt.width,st--;for(xe+=(oe-(xe-ae)-(X-We)-$)/2;we<=st;)nt=le[we],I(U,G,nt,Y,me,V,xe+nt.width/2,"center"),xe+=nt.width,we++;V+=me}}function E(U,G,z,Y,q){if(z&&G.textRotation){var oe=G.textOrigin;oe==="center"?(Y=z.width/2+z.x,q=z.height/2+z.y):oe&&(Y=oe[0]+z.x,q=oe[1]+z.y),U.translate(Y,q),U.rotate(-G.textRotation),U.translate(-Y,-q)}}function I(U,G,z,Y,q,oe,ie,se){var he=Y.rich[z.styleName]||{};he.text=z.text;var pe=z.textVerticalAlign,_e=oe+q/2;pe==="top"?_e=oe+z.height/2:pe==="bottom"&&(_e=oe+q-z.height/2),!z.isLineHolder&&L(he)&&D(U,G,he,se==="right"?ie-z.width:se==="center"?ie-z.width/2:ie,_e-z.height/2,z.width,z.height);var De=z.textPadding;De&&(ie=H(ie,se,De),_e-=z.height/2-De[2]-z.textHeight/2),P(G,"shadowBlur",b(he.textShadowBlur,Y.textShadowBlur,0)),P(G,"shadowColor",he.textShadowColor||Y.textShadowColor||"transparent"),P(G,"shadowOffsetX",b(he.textShadowOffsetX,Y.textShadowOffsetX,0)),P(G,"shadowOffsetY",b(he.textShadowOffsetY,Y.textShadowOffsetY,0)),P(G,"textAlign",se),P(G,"textBaseline","middle"),P(G,"font",z.font||t);var Xe=W(he.textStroke||Y.textStroke,Ee),J=R(he.textFill||Y.textFill),Ee=A(he.textStrokeWidth,Y.textStrokeWidth);Xe&&(P(G,"lineWidth",Ee),P(G,"strokeStyle",Xe),G.strokeText(z.text,ie,_e)),J&&(P(G,"fillStyle",J),G.fillText(z.text,ie,_e))}function L(U){return!!(U.textBackgroundColor||U.textBorderWidth&&U.textBorderColor)}function D(U,G,z,Y,q,oe,ie){var se=z.textBackgroundColor,he=z.textBorderWidth,pe=z.textBorderColor,_e=f(se);if(P(G,"shadowBlur",z.textBoxShadowBlur||0),P(G,"shadowColor",z.textBoxShadowColor||"transparent"),P(G,"shadowOffsetX",z.textBoxShadowOffsetX||0),P(G,"shadowOffsetY",z.textBoxShadowOffsetY||0),_e||he&&pe){G.beginPath();var De=z.textBorderRadius;De?o.buildPath(G,{x:Y,y:q,width:oe,height:ie,r:De}):G.rect(Y,q,oe,ie),G.closePath()}if(_e)if(P(G,"fillStyle",se),z.fillOpacity!=null){var Xe=G.globalAlpha;G.globalAlpha=z.fillOpacity*z.opacity,G.fill(),G.globalAlpha=Xe}else G.fill();else if(l(se)){var J=se.image;J=e.createOrUpdateImage(J,null,U,F,se),J&&e.isImageReady(J)&&G.drawImage(J,Y,q,oe,ie)}if(he&&pe)if(P(G,"lineWidth",he),P(G,"strokeStyle",pe),z.strokeOpacity!=null){var Xe=G.globalAlpha;G.globalAlpha=z.strokeOpacity*z.opacity,G.stroke(),G.globalAlpha=Xe}else G.stroke()}function F(U,G){G.image=U}function N(U,G,z,Y){var q=z.x||0,oe=z.y||0,ie=z.textAlign,se=z.textVerticalAlign;if(Y){var he=z.textPosition;if(he instanceof Array)q=Y.x+j(he[0],Y.width),oe=Y.y+j(he[1],Y.height);else{var pe=G&&G.calculateTextPosition?G.calculateTextPosition(p,z,Y):u.calculateTextPosition(p,z,Y);q=pe.x,oe=pe.y,ie=ie||pe.textAlign,se=se||pe.textVerticalAlign}var _e=z.textOffset;_e&&(q+=_e[0],oe+=_e[1])}return U=U||{},U.baseX=q,U.baseY=oe,U.textAlign=ie,U.textVerticalAlign=se,U}function P(U,G,z){return U[G]=n(U,G,z),U[G]}function W(U,G){return U==null||G<=0||U==="transparent"||U==="none"?null:U.image||U.colorStops?"#000":U}function R(U){return U==null||U==="none"?null:U.image||U.colorStops?"#000":U}function j(U,G){return typeof U=="string"?U.lastIndexOf("%")>=0?parseFloat(U)/100*G:parseFloat(U):U}function H(U,G,z){return G==="right"?U-z[1]:G==="center"?U+z[3]/2-z[1]/2:U+z[3]}function K(U,G){return U!=null&&(U||G.textBackgroundColor||G.textBorderWidth&&G.textBorderColor||G.textPadding)}B.normalizeTextStyle=S,B.renderText=x,B.getBoxPosition=N,B.getStroke=W,B.getFill=R,B.parsePercent=j,B.needDrawText=K},"q/+u":function(k,B,d){var w=d("ProS"),A=d("9wZj"),b=d("yWXo"),g=d("h8O9");w.extendChartView({type:"scatter",render:function(v,f,l){var u=v.getData(),o=this._updateSymbolDraw(u,v);o.updateData(u,{clipShape:this._getClipShape(v)}),this._finished=!0},incrementalPrepareRender:function(v,f,l){var u=v.getData(),o=this._updateSymbolDraw(u,v);o.incrementalPrepareUpdate(u),this._finished=!1},incrementalRender:function(v,f,l){this._symbolDraw.incrementalUpdate(v,f.getData(),{clipShape:this._getClipShape(f)}),this._finished=v.end===f.getData().count()},updateTransform:function(v,f,l){var u=v.getData();if(this.group.dirty(),!this._finished||u.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=g().reset(v);o.progress&&o.progress({start:0,end:u.count()},u),this._symbolDraw.updateLayout(u)},_getClipShape:function(v){var f=v.coordinateSystem,l=f&&f.getArea&&f.getArea();return v.get("clip",!0)?l:null},_updateSymbolDraw:function(v,f){var l=this._symbolDraw,u=f.pipelineContext,o=u.large;return(!l||o!==this._isLargeDraw)&&(l&&l.remove(),l=this._symbolDraw=o?new b:new A,this._isLargeDraw=o,this.group.removeAll()),this.group.add(l.group),l},remove:function(v,f){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(k,B){var d=["lineStyle","normal","opacity"],w={seriesType:"parallel",reset:function(A,b,g){var v=A.getModel("itemStyle"),f=A.getModel("lineStyle"),l=b.get("color"),u=f.get("color")||v.get("color")||l[A.seriesIndex%l.length],o=A.get("inactiveOpacity"),e=A.get("activeOpacity"),n=A.getModel("lineStyle").getLineStyle(),i=A.coordinateSystem,r=A.getData(),s={normal:n.opacity,active:e,inactive:o};r.setVisual("color",u);function t(a,c){i.eachActiveState(c,function(h,p){var m=s[h];if(h==="normal"&&c.hasItemOption){var S=c.getItemModel(p).get(d,!0);S!=null&&(m=S)}c.setItemVisual(p,"opacity",m)},a.start,a.end)}return{progress:t}}};k.exports=w},q4HE:function(k,B){var d="\\ud800-\\udfff",w="\\u0300-\\u036f",A="\\ufe20-\\ufe2f",b="\\u20d0-\\u20ff",g=w+A+b,v="\\ufe0e\\ufe0f",f="["+d+"]",l="["+g+"]",u="\\ud83c[\\udffb-\\udfff]",o="(?:"+l+"|"+u+")",e="[^"+d+"]",n="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",s=o+"?",t="["+v+"]?",a="(?:"+r+"(?:"+[e,n,i].join("|")+")"+t+s+")*",c=t+s+a,h="(?:"+[e+l+"?",l,n,i,f].join("|")+")",p=RegExp(u+"(?="+u+")|"+h+c,"g");function m(S){for(var y=p.lastIndex=0;p.test(S);)++y;return y}k.exports=m},q7KB:function(k,B,d){},qH13:function(k,B,d){var w=d("ItGF"),A=d("QBsz"),b=A.applyTransform,g=d("mFDi"),v=d("Qe9p"),f=d("6GrX"),l=d("pzxd"),u=d("ni6a"),o=d("Gev7"),e=d("Dagg"),n=d("dqUG"),i=d("y+Vt"),r=d("IMiH"),s=d("QuXc"),t=d("06Qe"),a=r.CMD,c=Math.round,h=Math.sqrt,p=Math.abs,m=Math.cos,S=Math.sin,y=Math.max;if(!w.canvasSupported){var x=",",C="progid:DXImageTransform.Microsoft",T=21600,_=T/2,E=1e5,I=1e3,L=function(ge){ge.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",ge.coordsize=T+","+T,ge.coordorigin="0,0"},D=function(ge){return String(ge).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},F=function(ge,le,Se){return"rgb("+[ge,le,Se].join(",")+")"},N=function(ge,le){le&&ge&&le.parentNode!==ge&&ge.appendChild(le)},P=function(ge,le){le&&ge&&le.parentNode===ge&&ge.removeChild(le)},W=function(ge,le,Se){return(parseFloat(ge)||0)*E+(parseFloat(le)||0)*I+Se},R=l.parsePercent,j=function(ge,le,Se){var me=v.parse(le);Se=+Se,isNaN(Se)&&(Se=1),me&&(ge.color=F(me[0],me[1],me[2]),ge.opacity=Se*me[3])},H=function(ge){var le=v.parse(ge);return[F(le[0],le[1],le[2]),le[3]]},K=function(ge,le,Se){var me=le.fill;if(me!=null)if(me instanceof s){var $,we=0,xe=[0,0],We=0,st=1,nt=Se.getBoundingRect(),Ne=nt.width,St=nt.height;if(me.type==="linear"){$="gradient";var Ye=Se.transform,vt=[me.x*Ne,me.y*St],It=[me.x2*Ne,me.y2*St];Ye&&(b(vt,vt,Ye),b(It,It,Ye));var Ut=It[0]-vt[0],xt=It[1]-vt[1];we=Math.atan2(Ut,xt)*180/Math.PI,we<0&&(we+=360),we<1e-6&&(we=0)}else{$="gradientradial";var vt=[me.x*Ne,me.y*St],Ye=Se.transform,Bt=Se.scale,Qe=Ne,te=St;xe=[(vt[0]-nt.x)/Qe,(vt[1]-nt.y)/te],Ye&&b(vt,vt,Ye),Qe/=Bt[0]*T,te/=Bt[1]*T;var Q=y(Qe,te);We=2*0/Q,st=2*me.r/Q-We}var Me=me.colorStops.slice();Me.sort(function(Tt,Rt){return Tt.offset-Rt.offset});for(var Ce=Me.length,ue=[],ot=[],rt=0;rt<Ce;rt++){var Ue=Me[rt],Ge=H(Ue.color);ot.push(Ue.offset*st+We+" "+Ge[0]),(rt===0||rt===Ce-1)&&ue.push(Ge)}if(Ce>=2){var tt=ue[0][0],Wt=ue[1][0],jt=ue[0][1]*le.opacity,Yt=ue[1][1]*le.opacity;ge.type=$,ge.method="none",ge.focus="100%",ge.angle=we,ge.color=tt,ge.color2=Wt,ge.colors=ot.join(","),ge.opacity=Yt,ge.opacity2=jt}$==="radial"&&(ge.focusposition=xe.join(","))}else j(ge,me,le.opacity)},U=function(ge,le){le.lineDash&&(ge.dashstyle=le.lineDash.join(" ")),le.stroke!=null&&!(le.stroke instanceof s)&&j(ge,le.stroke,le.opacity)},G=function(ge,le,Se,me){var $=le==="fill",we=ge.getElementsByTagName(le)[0];Se[le]!=null&&Se[le]!=="none"&&($||!$&&Se.lineWidth)?(ge[$?"filled":"stroked"]="true",Se[le]instanceof s&&P(ge,we),we||(we=t.createNode(le)),$?K(we,Se,me):U(we,Se),N(ge,we)):(ge[$?"filled":"stroked"]="false",P(ge,we))},z=[[],[],[]],Y=function(ge,le){var Se=a.M,me=a.C,$=a.L,we=a.A,xe=a.Q,We=[],st,nt,Ne,St,Ye,vt,It=ge.data,Ut=ge.len();for(St=0;St<Ut;){Ne=It[St++],nt="",st=0;switch(Ne){case Se:nt=" m ",st=1,Ye=It[St++],vt=It[St++],z[0][0]=Ye,z[0][1]=vt;break;case $:nt=" l ",st=1,Ye=It[St++],vt=It[St++],z[0][0]=Ye,z[0][1]=vt;break;case xe:case me:nt=" c ",st=3;var xt=It[St++],Bt=It[St++],Qe=It[St++],te=It[St++],Q,Me;Ne===xe?(Q=Qe,Me=te,Qe=(Qe+2*xt)/3,te=(te+2*Bt)/3,xt=(Ye+2*xt)/3,Bt=(vt+2*Bt)/3):(Q=It[St++],Me=It[St++]),z[0][0]=xt,z[0][1]=Bt,z[1][0]=Qe,z[1][1]=te,z[2][0]=Q,z[2][1]=Me,Ye=Q,vt=Me;break;case we:var Ce=0,ue=0,ot=1,rt=1,Ue=0;le&&(Ce=le[4],ue=le[5],ot=h(le[0]*le[0]+le[1]*le[1]),rt=h(le[2]*le[2]+le[3]*le[3]),Ue=Math.atan2(-le[1]/rt,le[0]/ot));var Ge=It[St++],tt=It[St++],Wt=It[St++],jt=It[St++],Yt=It[St++]+Ue,Tt=It[St++]+Yt+Ue;St++;var Rt=It[St++],yt=Ge+m(Yt)*Wt,Jt=tt+S(Yt)*jt,xt=Ge+m(Tt)*Wt,Bt=tt+S(Tt)*jt,Lr=Rt?" wa ":" at ";Math.abs(yt-xt)<1e-4&&(Math.abs(Tt-Yt)>.01?Rt&&(yt+=270/T):Math.abs(Jt-tt)<1e-4?Rt&&yt<Ge||!Rt&&yt>Ge?Bt-=270/T:Bt+=270/T:Rt&&Jt<tt||!Rt&&Jt>tt?xt+=270/T:xt-=270/T),We.push(Lr,c(((Ge-Wt)*ot+Ce)*T-_),x,c(((tt-jt)*rt+ue)*T-_),x,c(((Ge+Wt)*ot+Ce)*T-_),x,c(((tt+jt)*rt+ue)*T-_),x,c((yt*ot+Ce)*T-_),x,c((Jt*rt+ue)*T-_),x,c((xt*ot+Ce)*T-_),x,c((Bt*rt+ue)*T-_)),Ye=xt,vt=Bt;break;case a.R:var zr=z[0],rn=z[1];zr[0]=It[St++],zr[1]=It[St++],rn[0]=zr[0]+It[St++],rn[1]=zr[1]+It[St++],le&&(b(zr,zr,le),b(rn,rn,le)),zr[0]=c(zr[0]*T-_),rn[0]=c(rn[0]*T-_),zr[1]=c(zr[1]*T-_),rn[1]=c(rn[1]*T-_),We.push(" m ",zr[0],x,zr[1]," l ",rn[0],x,zr[1]," l ",rn[0],x,rn[1]," l ",zr[0],x,rn[1]);break;case a.Z:We.push(" x ")}if(st>0){We.push(nt);for(var ei=0;ei<st;ei++){var fn=z[ei];le&&b(fn,fn,le),We.push(c(fn[0]*T-_),x,c(fn[1]*T-_),ei<st-1?x:"")}}}return We.join("")};i.prototype.brushVML=function(Z){var ge=this.style,le=this._vmlEl;le||(le=t.createNode("shape"),L(le),this._vmlEl=le),G(le,"fill",ge,this),G(le,"stroke",ge,this);var Se=this.transform,me=Se!=null,$=le.getElementsByTagName("stroke")[0];if($){var we=ge.lineWidth;if(me&&!ge.strokeNoScale){var xe=Se[0]*Se[3]-Se[1]*Se[2];we*=h(p(xe))}$.weight=we+"px"}var We=this.path||(this.path=new r);this.__dirtyPath&&(We.beginPath(),We.subPixelOptimize=!1,this.buildPath(We,this.shape),We.toStatic(),this.__dirtyPath=!1),le.path=Y(We,this.transform),le.style.zIndex=W(this.zlevel,this.z,this.z2),N(Z,le),ge.text!=null?this.drawRectText(Z,this.getBoundingRect()):this.removeRectText(Z)},i.prototype.onRemove=function(Z){P(Z,this._vmlEl),this.removeRectText(Z)},i.prototype.onAdd=function(Z){N(Z,this._vmlEl),this.appendRectText(Z)};var q=function(ge){return typeof ge=="object"&&ge.tagName&&ge.tagName.toUpperCase()==="IMG"};e.prototype.brushVML=function(Z){var ge=this.style,le=ge.image,Se,me;if(q(le)){var $=le.src;if($===this._imageSrc)Se=this._imageWidth,me=this._imageHeight;else{var we=le.runtimeStyle,xe=we.width,We=we.height;we.width="auto",we.height="auto",Se=le.width,me=le.height,we.width=xe,we.height=We,this._imageSrc=$,this._imageWidth=Se,this._imageHeight=me}le=$}else le===this._imageSrc&&(Se=this._imageWidth,me=this._imageHeight);if(!le)return;var st=ge.x||0,nt=ge.y||0,Ne=ge.width,St=ge.height,Ye=ge.sWidth,vt=ge.sHeight,It=ge.sx||0,Ut=ge.sy||0,xt=Ye&&vt,Bt=this._vmlEl;Bt||(Bt=t.doc.createElement("div"),L(Bt),this._vmlEl=Bt);var Qe=Bt.style,te=!1,Q,Me=1,Ce=1;if(this.transform&&(Q=this.transform,Me=h(Q[0]*Q[0]+Q[1]*Q[1]),Ce=h(Q[2]*Q[2]+Q[3]*Q[3]),te=Q[1]||Q[2]),te){var ue=[st,nt],ot=[st+Ne,nt],rt=[st,nt+St],Ue=[st+Ne,nt+St];b(ue,ue,Q),b(ot,ot,Q),b(rt,rt,Q),b(Ue,Ue,Q);var Ge=y(ue[0],ot[0],rt[0],Ue[0]),tt=y(ue[1],ot[1],rt[1],Ue[1]),Wt=[];Wt.push("M11=",Q[0]/Me,x,"M12=",Q[2]/Ce,x,"M21=",Q[1]/Me,x,"M22=",Q[3]/Ce,x,"Dx=",c(st*Me+Q[4]),x,"Dy=",c(nt*Ce+Q[5])),Qe.padding="0 "+c(Ge)+"px "+c(tt)+"px 0",Qe.filter=C+".Matrix("+Wt.join("")+", SizingMethod=clip)"}else Q&&(st=st*Me+Q[4],nt=nt*Ce+Q[5]),Qe.filter="",Qe.left=c(st)+"px",Qe.top=c(nt)+"px";var jt=this._imageEl,Yt=this._cropEl;jt||(jt=t.doc.createElement("div"),this._imageEl=jt);var Tt=jt.style;if(xt){if(Se&&me)Tt.width=c(Me*Se*Ne/Ye)+"px",Tt.height=c(Ce*me*St/vt)+"px";else{var Rt=new Image,yt=this;Rt.onload=function(){Rt.onload=null,Se=Rt.width,me=Rt.height,Tt.width=c(Me*Se*Ne/Ye)+"px",Tt.height=c(Ce*me*St/vt)+"px",yt._imageWidth=Se,yt._imageHeight=me,yt._imageSrc=le},Rt.src=le}Yt||(Yt=t.doc.createElement("div"),Yt.style.overflow="hidden",this._cropEl=Yt);var Jt=Yt.style;Jt.width=c((Ne+It*Ne/Ye)*Me),Jt.height=c((St+Ut*St/vt)*Ce),Jt.filter=C+".Matrix(Dx="+-It*Ne/Ye*Me+",Dy="+-Ut*St/vt*Ce+")",Yt.parentNode||Bt.appendChild(Yt),jt.parentNode!==Yt&&Yt.appendChild(jt)}else Tt.width=c(Me*Ne)+"px",Tt.height=c(Ce*St)+"px",Bt.appendChild(jt),Yt&&Yt.parentNode&&(Bt.removeChild(Yt),this._cropEl=null);var Lr="",zr=ge.opacity;zr<1&&(Lr+=".Alpha(opacity="+c(zr*100)+") "),Lr+=C+".AlphaImageLoader(src="+le+", SizingMethod=scale)",Tt.filter=Lr,Bt.style.zIndex=W(this.zlevel,this.z,this.z2),N(Z,Bt),ge.text!=null&&this.drawRectText(Z,this.getBoundingRect())},e.prototype.onRemove=function(Z){P(Z,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(Z)},e.prototype.onAdd=function(Z){N(Z,this._vmlEl),this.appendRectText(Z)};var oe="normal",ie={},se=0,he=100,pe=document.createElement("div"),_e=function(ge){var le=ie[ge];if(!le){se>he&&(se=0,ie={});var Se=pe.style,me;try{Se.font=ge,me=Se.fontFamily.split(",")[0]}catch($){}le={style:Se.fontStyle||oe,variant:Se.fontVariant||oe,weight:Se.fontWeight||oe,size:parseFloat(Se.fontSize||12)|0,family:me||"Microsoft YaHei"},ie[ge]=le,se++}return le},De;f.$override("measureText",function(Z,ge){var le=t.doc;De||(De=le.createElement("div"),De.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(De));try{De.style.font=ge}catch(Se){}return De.innerHTML="",De.appendChild(le.createTextNode(Z)),{width:De.offsetWidth}});for(var Xe=new g,J=function(ge,le,Se,me){var $=this.style;this.__dirty&&l.normalizeTextStyle($,!0);var we=$.text;if(we!=null&&(we+=""),!we)return;if($.rich){var xe=f.parseRichText(we,$);we=[];for(var We=0;We<xe.lines.length;We++){for(var st=xe.lines[We].tokens,nt=[],Ne=0;Ne<st.length;Ne++)nt.push(st[Ne].text);we.push(nt.join(""))}we=we.join(`
`)}var St,Ye,vt=$.textAlign,It=$.textVerticalAlign,Ut=_e($.font),xt=Ut.style+" "+Ut.variant+" "+Ut.weight+" "+Ut.size+'px "'+Ut.family+'"';Se=Se||f.getBoundingRect(we,xt,vt,It,$.textPadding,$.textLineHeight);var Bt=this.transform;if(Bt&&!me&&(Xe.copy(le),Xe.applyTransform(Bt),le=Xe),me)St=le.x,Ye=le.y;else{var Qe=$.textPosition;if(Qe instanceof Array)St=le.x+R(Qe[0],le.width),Ye=le.y+R(Qe[1],le.height),vt=vt||"left";else{var te=this.calculateTextPosition?this.calculateTextPosition({},$,le):f.calculateTextPosition({},$,le);St=te.x,Ye=te.y,vt=vt||te.textAlign,It=It||te.textVerticalAlign}}St=f.adjustTextX(St,Se.width,vt),Ye=f.adjustTextY(Ye,Se.height,It),Ye+=Se.height/2;var Q=t.createNode,Me=this._textVmlEl,Ce,ue,ot;Me?(ot=Me.firstChild,Ce=ot.nextSibling,ue=Ce.nextSibling):(Me=Q("line"),Ce=Q("path"),ue=Q("textpath"),ot=Q("skew"),ue.style["v-text-align"]="left",L(Me),Ce.textpathok=!0,ue.on=!0,Me.from="0 0",Me.to="1000 0.05",N(Me,ot),N(Me,Ce),N(Me,ue),this._textVmlEl=Me);var rt=[St,Ye],Ue=Me.style;Bt&&me?(b(rt,rt,Bt),ot.on=!0,ot.matrix=Bt[0].toFixed(3)+x+Bt[2].toFixed(3)+x+Bt[1].toFixed(3)+x+Bt[3].toFixed(3)+",0,0",ot.offset=(c(rt[0])||0)+","+(c(rt[1])||0),ot.origin="0 0",Ue.left="0px",Ue.top="0px"):(ot.on=!1,Ue.left=c(St)+"px",Ue.top=c(Ye)+"px"),ue.string=D(we);try{ue.style.font=xt}catch(Ge){}G(Me,"fill",{fill:$.textFill,opacity:$.opacity},this),G(Me,"stroke",{stroke:$.textStroke,opacity:$.opacity,lineDash:$.lineDash||null},this),Me.style.zIndex=W(this.zlevel,this.z,this.z2),N(ge,Me)},Ee=function(ge){P(ge,this._textVmlEl),this._textVmlEl=null},qe=function(ge){N(ge,this._textVmlEl)},ae=[u,o,e,i,n],V=0;V<ae.length;V++){var X=ae[V].prototype;X.drawRectText=J,X.removeRectText=Ee,X.appendRectText=qe}n.prototype.brushVML=function(Z){var ge=this.style;ge.text!=null?this.drawRectText(Z,{x:ge.x||0,y:ge.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(Z)},n.prototype.onRemove=function(Z){this.removeRectText(Z)},n.prototype.onAdd=function(Z){this.appendRectText(Z)}}},qJCg:function(k,B,d){var w=d("BlVb"),A=d("mFDi"),b=d("IwbS"),g=b.linePolygonIntersect,v={lineX:f(0),lineY:f(1),rect:{point:function(o,e,n){return o&&n.boundingRect.contain(o[0],o[1])},rect:function(o,e,n){return o&&n.boundingRect.intersect(o)}},polygon:{point:function(o,e,n){return o&&n.boundingRect.contain(o[0],o[1])&&w.contain(n.range,o[0],o[1])},rect:function(o,e,n){var i=n.range;if(!o||i.length<=1)return!1;var r=o.x,s=o.y,t=o.width,a=o.height,c=i[0];if(w.contain(i,r,s)||w.contain(i,r+t,s)||w.contain(i,r,s+a)||w.contain(i,r+t,s+a)||A.create(o).contain(c[0],c[1])||g(r,s,r+t,s,i)||g(r,s,r,s+a,i)||g(r+t,s,r+t,s+a,i)||g(r,s+a,r+t,s+a,i))return!0}}};function f(o){var e=["x","y"],n=["width","height"];return{point:function(i,r,s){if(i){var t=s.range,a=i[o];return l(a,t)}},rect:function(i,r,s){if(i){var t=s.range,a=[i[e[o]],i[e[o]]+i[n[o]]];return a[1]<a[0]&&a.reverse(),l(a[0],t)||l(a[1],t)||l(t[0],a)||l(t[1],a)}}}}function l(o,e){return e[0]<=o&&o<=e[1]}var u=v;k.exports=u},qMZE:function(k,B,d){var w=d("JEkh"),A=w.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}}}});k.exports=A},qNPg:function(k,B,d){"use strict";d.d(B,"a",function(){return le});var w=d("wx14"),A=d("rePB"),b=d("VTBJ"),g=d("KQm4"),v=d("ODXe"),f=d("Ff2n"),l=d("q1tI"),u=d("4IlW"),o=d("5Z9U"),e=d("c+Xe"),n=d("TSYQ"),i=d.n(n),r=d("6cGi"),s=d("bX4T"),t=d("t23M"),a=void 0;function c(Se,me){var $=Se.prefixCls,we=Se.invalidate,xe=Se.item,We=Se.renderItem,st=Se.responsive,nt=Se.registerSize,Ne=Se.itemKey,St=Se.className,Ye=Se.style,vt=Se.children,It=Se.display,Ut=Se.order,xt=Se.component,Bt=xt===void 0?"div":xt,Qe=Object(f.a)(Se,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","className","style","children","display","order","component"]),te=st&&!It;function Q(rt){nt(Ne,rt)}l.useEffect(function(){return function(){Q(null)}},[]);var Me=We&&xe!==a?We(xe):vt,Ce;we||(Ce={opacity:te?0:1,height:te?0:a,overflowY:te?"hidden":a,order:st?Ut:a,pointerEvents:te?"none":a,position:te?"absolute":a});var ue={};te&&(ue["aria-hidden"]=!0);var ot=l.createElement(Bt,Object(w.a)({className:i()(!we&&$,St),style:Object(b.a)(Object(b.a)({},Ce),Ye)},ue,Qe,{ref:me}),Me);return st&&(ot=l.createElement(t.a,{onResize:function(Ue){var Ge=Ue.offsetWidth;Q(Ge)}},ot)),ot}var h=l.forwardRef(c);h.displayName="Item";var p=h,m=d("wgJM");function S(){var Se=Object(l.useState)({}),me=Object(v.a)(Se,2),$=me[1],we=Object(l.useRef)([]),xe=Object(l.useRef)(!1),We=0,st=0;Object(l.useEffect)(function(){return function(){xe.current=!0}},[]);function nt(Ne){var St=We;We+=1,we.current.length<St+1&&(we.current[St]=Ne);var Ye=we.current[St];function vt(It){we.current[St]=typeof It=="function"?It(we.current[St]):It,m.a.cancel(st),st=Object(m.a)(function(){xe.current||$({})})}return[Ye,vt]}return nt}var y=function(me,$){var we=l.useContext(T);if(!we){var xe=me.component,We=xe===void 0?"div":xe,st=Object(f.a)(me,["component"]);return l.createElement(We,Object(w.a)({},st,{ref:$}))}var nt=we.className,Ne=Object(f.a)(we,["className"]),St=me.className,Ye=Object(f.a)(me,["className"]);return l.createElement(T.Provider,{value:null},l.createElement(p,Object(w.a)({ref:$,className:i()(nt,St)},Ne,Ye)))},x=l.forwardRef(y);x.displayName="RawItem";var C=x,T=l.createContext(null),_="responsive",E="invalidate";function I(Se){return"+ ".concat(Se.length," ...")}function L(Se,me){var $=Se.prefixCls,we=$===void 0?"rc-overflow":$,xe=Se.data,We=xe===void 0?[]:xe,st=Se.renderItem,nt=Se.renderRawItem,Ne=Se.itemKey,St=Se.itemWidth,Ye=St===void 0?10:St,vt=Se.ssr,It=Se.style,Ut=Se.className,xt=Se.maxCount,Bt=Se.renderRest,Qe=Se.renderRawRest,te=Se.suffix,Q=Se.component,Me=Q===void 0?"div":Q,Ce=Se.itemComponent,ue=Se.onVisibleChange,ot=Object(f.a)(Se,["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"]),rt=S(),Ue=vt==="full",Ge=rt(null),tt=Object(v.a)(Ge,2),Wt=tt[0],jt=tt[1],Yt=Wt||0,Tt=rt(new Map),Rt=Object(v.a)(Tt,2),yt=Rt[0],Jt=Rt[1],Lr=rt(0),zr=Object(v.a)(Lr,2),rn=zr[0],ei=zr[1],fn=rt(0),Zr=Object(v.a)(fn,2),bt=Zr[0],ut=Zr[1],Oe=rt(0),be=Object(v.a)(Oe,2),Fe=be[0],it=be[1],wt=Object(l.useState)(null),nr=Object(v.a)(wt,2),sr=nr[0],Ar=nr[1],Hr=Object(l.useState)(null),$r=Object(v.a)(Hr,2),Qt=$r[0],Ot=$r[1],Ft=l.useMemo(function(){return Qt===null&&Ue?Number.MAX_SAFE_INTEGER:Qt||0},[Qt,Wt]),pr=Object(l.useState)(!1),Rr=Object(v.a)(pr,2),Pr=Rr[0],an=Rr[1],Xt="".concat(we,"-item"),hr=Math.max(rn,bt),Tr=We.length&&xt===_,Wr=xt===E,Gr=Tr||typeof xt=="number"&&We.length>xt,Tn=Object(l.useMemo)(function(){var $t=We;return Tr?Wt===null&&Ue?$t=We:$t=We.slice(0,Math.min(We.length,Yt/Ye)):typeof xt=="number"&&($t=We.slice(0,xt)),$t},[We,Ye,Wt,xt,Tr]),gn=Object(l.useMemo)(function(){return Tr?We.slice(Ft+1):We.slice(Tn.length)},[We,Tn,Tr,Ft]),In=Object(l.useCallback)(function($t,er){var cr;return typeof Ne=="function"?Ne($t):(cr=Ne&&($t==null?void 0:$t[Ne]))!==null&&cr!==void 0?cr:er},[Ne]),Fn=Object(l.useCallback)(st||function($t){return $t},[st]);function Xn($t,er){Ot($t),er||(an($t<We.length-1),ue==null||ue($t))}function fi($t,er){jt(er.clientWidth)}function pi($t,er){Jt(function(cr){var Ct=new Map(cr);return er===null?Ct.delete($t):Ct.set($t,er),Ct})}function bi($t,er){ut(er),ei(bt)}function et($t,er){it(er)}function Le($t){return yt.get(In(Tn[$t],$t))}l.useLayoutEffect(function(){if(Yt&&hr&&Tn){var $t=Fe,er=Tn.length,cr=er-1;if(!er){Xn(0),Ar(null);return}for(var Ct=0;Ct<er;Ct+=1){var Nr=Le(Ct);if(Nr===void 0){Xn(Ct-1,!0);break}if($t+=Nr,cr===0&&$t<=Yt||Ct===cr-1&&$t+Le(cr)<=Yt){Xn(cr),Ar(null);break}else if($t+hr>Yt){Xn(Ct-1),Ar($t-Nr-Fe+bt);break}}te&&Le(0)+Fe>Yt&&Ar(null)}},[Yt,yt,bt,Fe,In,Tn]);var Pe=Pr&&!!gn.length,je={};sr!==null&&Tr&&(je={position:"absolute",left:sr,top:0});var Je={prefixCls:Xt,responsive:Tr,component:Ce,invalidate:Wr},Ve=nt?function($t,er){var cr=In($t,er);return l.createElement(T.Provider,{key:cr,value:Object(b.a)(Object(b.a)({},Je),{},{order:er,item:$t,itemKey:cr,registerSize:pi,display:er<=Ft})},nt($t,er))}:function($t,er){var cr=In($t,er);return l.createElement(p,Object(w.a)({},Je,{order:er,key:cr,item:$t,renderItem:Fn,itemKey:cr,registerSize:pi,display:er<=Ft}))},Ze,At={order:Pe?Ft:Number.MAX_SAFE_INTEGER,className:"".concat(Xt,"-rest"),registerSize:bi,display:Pe};if(Qe)Qe&&(Ze=l.createElement(T.Provider,{value:Object(b.a)(Object(b.a)({},Je),At)},Qe(gn)));else{var dt=Bt||I;Ze=l.createElement(p,Object(w.a)({},Je,At),typeof dt=="function"?dt(gn):dt)}var Kt=l.createElement(Me,Object(w.a)({className:i()(!Wr&&we,Ut),style:It,ref:me},ot),Tn.map(Ve),Gr?Ze:null,te&&l.createElement(p,Object(w.a)({},Je,{order:Ft,className:"".concat(Xt,"-suffix"),registerSize:et,display:!0,style:je}),te));return Tr&&(Kt=l.createElement(t.a,{onResize:fi},Kt)),Kt}var D=l.forwardRef(L);D.displayName="Overflow",D.Item=C,D.RESPONSIVE=_,D.INVALIDATE=E;var F=D,N=F,P=d("8OUc"),W=function(me,$){var we,xe,We=me.prefixCls,st=me.id,nt=me.inputElement,Ne=me.disabled,St=me.tabIndex,Ye=me.autoFocus,vt=me.autoComplete,It=me.editable,Ut=me.accessibilityIndex,xt=me.value,Bt=me.maxLength,Qe=me.onKeyDown,te=me.onMouseDown,Q=me.onChange,Me=me.onPaste,Ce=me.onCompositionStart,ue=me.onCompositionEnd,ot=me.open,rt=me.attrs,Ue=nt||l.createElement("input",null),Ge=Ue,tt=Ge.ref,Wt=Ge.props,jt=Wt.onKeyDown,Yt=Wt.onChange,Tt=Wt.onMouseDown,Rt=Wt.onCompositionStart,yt=Wt.onCompositionEnd,Jt=Wt.style;return Ue=l.cloneElement(Ue,Object(b.a)(Object(b.a)({id:st,ref:Object(e.a)($,tt),disabled:Ne,tabIndex:St,autoComplete:vt||"off",type:"search",autoFocus:Ye,className:i()("".concat(We,"-selection-search-input"),(we=Ue)===null||we===void 0||((xe=we.props)===null||xe===void 0)?void 0:xe.className),style:Object(b.a)(Object(b.a)({},Jt),{},{opacity:It?null:0}),role:"combobox","aria-expanded":ot,"aria-haspopup":"listbox","aria-owns":"".concat(st,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(st,"_list"),"aria-activedescendant":"".concat(st,"_list_").concat(Ut)},rt),{},{value:It?xt:"",maxLength:Bt,readOnly:!It,unselectable:It?null:"on",onKeyDown:function(zr){Qe(zr),jt&&jt(zr)},onMouseDown:function(zr){te(zr),Tt&&Tt(zr)},onChange:function(zr){Q(zr),Yt&&Yt(zr)},onCompositionStart:function(zr){Ce(zr),Rt&&Rt(zr)},onCompositionEnd:function(zr){ue(zr),yt&&yt(zr)},onPaste:Me})),Ue},R=l.forwardRef(W);R.displayName="Input";var j=R,H=d("WKfj");function K(Se,me){H.b?l.useLayoutEffect(Se,me):l.useEffect(Se,me)}var U=function(me){me.preventDefault(),me.stopPropagation()},G=function(me){var $=me.id,we=me.prefixCls,xe=me.values,We=me.open,st=me.searchValue,nt=me.inputRef,Ne=me.placeholder,St=me.disabled,Ye=me.mode,vt=me.showSearch,It=me.autoFocus,Ut=me.autoComplete,xt=me.accessibilityIndex,Bt=me.tabIndex,Qe=me.removeIcon,te=me.maxTagCount,Q=me.maxTagTextLength,Me=me.maxTagPlaceholder,Ce=Me===void 0?function(sr){return"+ ".concat(sr.length," ...")}:Me,ue=me.tagRender,ot=me.onToggleOpen,rt=me.onSelect,Ue=me.onInputChange,Ge=me.onInputPaste,tt=me.onInputKeyDown,Wt=me.onInputMouseDown,jt=me.onInputCompositionStart,Yt=me.onInputCompositionEnd,Tt=l.useRef(null),Rt=Object(l.useState)(0),yt=Object(v.a)(Rt,2),Jt=yt[0],Lr=yt[1],zr=Object(l.useState)(!1),rn=Object(v.a)(zr,2),ei=rn[0],fn=rn[1],Zr="".concat(we,"-selection"),bt=We||Ye==="tags"?st:"",ut=Ye==="tags"||vt&&(We||ei);K(function(){Lr(Tt.current.scrollWidth)},[bt]);function Oe(sr,Ar,Hr,$r){return l.createElement("span",{className:i()("".concat(Zr,"-item"),Object(A.a)({},"".concat(Zr,"-item-disabled"),Ar))},l.createElement("span",{className:"".concat(Zr,"-item-content")},sr),Hr&&l.createElement(P.a,{className:"".concat(Zr,"-item-remove"),onMouseDown:U,onClick:$r,customizeIcon:Qe},"\xD7"))}function be(sr,Ar,Hr,$r,Qt){var Ot=function(pr){U(pr),ot(!We)};return l.createElement("span",{onMouseDown:Ot},ue({label:Ar,value:sr,disabled:Hr,closable:$r,onClose:Qt}))}function Fe(sr){var Ar=sr.disabled,Hr=sr.label,$r=sr.value,Qt=!St&&!Ar,Ot=Hr;if(typeof Q=="number"&&(typeof Hr=="string"||typeof Hr=="number")){var Ft=String(Ot);Ft.length>Q&&(Ot="".concat(Ft.slice(0,Q),"..."))}var pr=function(Pr){Pr&&Pr.stopPropagation(),rt($r,{selected:!1})};return typeof ue=="function"?be($r,Ot,Ar,Qt,pr):Oe(Ot,Ar,Qt,pr)}function it(sr){var Ar=typeof Ce=="function"?Ce(sr):Ce;return Oe(Ar,!1)}var wt=l.createElement("div",{className:"".concat(Zr,"-search"),style:{width:Jt},onFocus:function(){fn(!0)},onBlur:function(){fn(!1)}},l.createElement(j,{ref:nt,open:We,prefixCls:we,id:$,inputElement:null,disabled:St,autoFocus:It,autoComplete:Ut,editable:ut,accessibilityIndex:xt,value:bt,onKeyDown:tt,onMouseDown:Wt,onChange:Ue,onPaste:Ge,onCompositionStart:jt,onCompositionEnd:Yt,tabIndex:Bt,attrs:Object(s.a)(me,!0)}),l.createElement("span",{ref:Tt,className:"".concat(Zr,"-search-mirror"),"aria-hidden":!0},bt,"\xA0")),nr=l.createElement(N,{prefixCls:"".concat(Zr,"-overflow"),data:xe,renderItem:Fe,renderRest:it,suffix:wt,itemKey:"key",maxCount:te});return l.createElement(l.Fragment,null,nr,!xe.length&&!bt&&l.createElement("span",{className:"".concat(Zr,"-placeholder")},Ne))},z=G,Y=function(me){var $=me.inputElement,we=me.prefixCls,xe=me.id,We=me.inputRef,st=me.disabled,nt=me.autoFocus,Ne=me.autoComplete,St=me.accessibilityIndex,Ye=me.mode,vt=me.open,It=me.values,Ut=me.placeholder,xt=me.tabIndex,Bt=me.showSearch,Qe=me.searchValue,te=me.activeValue,Q=me.maxLength,Me=me.onInputKeyDown,Ce=me.onInputMouseDown,ue=me.onInputChange,ot=me.onInputPaste,rt=me.onInputCompositionStart,Ue=me.onInputCompositionEnd,Ge=l.useState(!1),tt=Object(v.a)(Ge,2),Wt=tt[0],jt=tt[1],Yt=Ye==="combobox",Tt=Yt||Bt,Rt=It[0],yt=Qe||"";Yt&&te&&!Wt&&(yt=te),l.useEffect(function(){Yt&&jt(!1)},[Yt,te]);var Jt=Ye!=="combobox"&&!vt?!1:!!yt,Lr=Rt&&(typeof Rt.label=="string"||typeof Rt.label=="number")?Rt.label.toString():void 0;return l.createElement(l.Fragment,null,l.createElement("span",{className:"".concat(we,"-selection-search")},l.createElement(j,{ref:We,prefixCls:we,id:xe,open:vt,inputElement:$,disabled:st,autoFocus:nt,autoComplete:Ne,editable:Tt,accessibilityIndex:St,value:yt,onKeyDown:Me,onMouseDown:Ce,onChange:function(rn){jt(!0),ue(rn)},onPaste:ot,onCompositionStart:rt,onCompositionEnd:Ue,tabIndex:xt,attrs:Object(s.a)(me,!0),maxLength:Yt?Q:void 0})),!Yt&&Rt&&!Jt&&l.createElement("span",{className:"".concat(we,"-selection-item"),title:Lr},Rt.label),!Rt&&!Jt&&l.createElement("span",{className:"".concat(we,"-selection-placeholder")},Ut))},q=Y;function oe(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,me=l.useRef(null),$=l.useRef(null);l.useEffect(function(){return function(){window.clearTimeout($.current)}},[]);function we(xe){(xe||me.current===null)&&(me.current=xe),window.clearTimeout($.current),$.current=window.setTimeout(function(){me.current=null},Se)}return[function(){return me.current},we]}var ie=function(me,$){var we=Object(l.useRef)(null),xe=Object(l.useRef)(!1),We=me.prefixCls,st=me.multiple,nt=me.open,Ne=me.mode,St=me.showSearch,Ye=me.tokenWithEnter,vt=me.onSearch,It=me.onSearchSubmit,Ut=me.onToggleOpen,xt=me.onInputKeyDown,Bt=me.domRef;l.useImperativeHandle($,function(){return{focus:function(){we.current.focus()},blur:function(){we.current.blur()}}});var Qe=oe(0),te=Object(v.a)(Qe,2),Q=te[0],Me=te[1],Ce=function(Jt){var Lr=Jt.which;(Lr===u.a.UP||Lr===u.a.DOWN)&&Jt.preventDefault(),xt&&xt(Jt),Lr===u.a.ENTER&&Ne==="tags"&&!xe.current&&!nt&&It(Jt.target.value),[u.a.SHIFT,u.a.TAB,u.a.BACKSPACE,u.a.ESC].includes(Lr)||Ut(!0)},ue=function(){Me(!0)},ot=Object(l.useRef)(null),rt=function(Jt){vt(Jt,!0,xe.current)!==!1&&Ut(!0)},Ue=function(){xe.current=!0},Ge=function(Jt){xe.current=!1,Ne!=="combobox"&&rt(Jt.target.value)},tt=function(Jt){var Lr=Jt.target.value;if(Ye&&ot.current&&/[\r\n]/.test(ot.current)){var zr=ot.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Lr=Lr.replace(zr,ot.current)}ot.current=null,rt(Lr)},Wt=function(Jt){var Lr=Jt.clipboardData,zr=Lr.getData("text");ot.current=zr},jt=function(Jt){var Lr=Jt.target;if(Lr!==we.current){var zr=document.body.style.msTouchAction!==void 0;zr?setTimeout(function(){we.current.focus()}):we.current.focus()}},Yt=function(Jt){var Lr=Q();Jt.target!==we.current&&!Lr&&Jt.preventDefault(),(Ne!=="combobox"&&(!St||!Lr)||!nt)&&(nt&&vt("",!0,!1),Ut())},Tt={inputRef:we,onInputKeyDown:Ce,onInputMouseDown:ue,onInputChange:tt,onInputPaste:Wt,onInputCompositionStart:Ue,onInputCompositionEnd:Ge},Rt=st?l.createElement(z,Object(w.a)({},me,Tt)):l.createElement(q,Object(w.a)({},me,Tt));return l.createElement("div",{ref:Bt,className:"".concat(We,"-selector"),onClick:jt,onMouseDown:Yt},Rt)},se=l.forwardRef(ie);se.displayName="Selector";var he=se,pe=d("uciX"),_e=function(me){var $=typeof me!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:$,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:$,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:$,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:$,adjustY:1}}}},De=function(me,$){var we=me.prefixCls,xe=me.disabled,We=me.visible,st=me.children,nt=me.popupElement,Ne=me.containerWidth,St=me.animation,Ye=me.transitionName,vt=me.dropdownStyle,It=me.dropdownClassName,Ut=me.direction,xt=Ut===void 0?"ltr":Ut,Bt=me.dropdownMatchSelectWidth,Qe=Bt===void 0?!0:Bt,te=me.dropdownRender,Q=me.dropdownAlign,Me=me.getPopupContainer,Ce=me.empty,ue=me.getTriggerDOMNode,ot=me.onPopupVisibleChange,rt=Object(f.a)(me,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange"]),Ue="".concat(we,"-dropdown"),Ge=nt;te&&(Ge=te(nt));var tt=l.useMemo(function(){return _e(Qe)},[Qe]),Wt=St?"".concat(Ue,"-").concat(St):Ye,jt=l.useRef(null);l.useImperativeHandle($,function(){return{getPopupElement:function(){return jt.current}}});var Yt=Object(b.a)({minWidth:Ne},vt);return typeof Qe=="number"?Yt.width=Qe:Qe&&(Yt.width=Ne),l.createElement(pe.a,Object(w.a)({},rt,{showAction:ot?["click"]:[],hideAction:ot?["click"]:[],popupPlacement:xt==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:tt,prefixCls:Ue,popupTransitionName:Wt,popup:l.createElement("div",{ref:jt},Ge),popupAlign:Q,popupVisible:We,getPopupContainer:Me,popupClassName:i()(It,Object(A.a)({},"".concat(Ue,"-empty"),Ce)),popupStyle:Yt,getTriggerDOMNode:ue,onPopupVisibleChange:ot}),st)},Xe=l.forwardRef(De);Xe.displayName="SelectTrigger";var J=Xe,Ee=d("wPlo");function qe(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,me=l.useState(!1),$=Object(v.a)(me,2),we=$[0],xe=$[1],We=l.useRef(null),st=function(){window.clearTimeout(We.current)};l.useEffect(function(){return st},[]);var nt=function(St,Ye){st(),We.current=window.setTimeout(function(){xe(St),Ye&&Ye()},Se)};return[we,nt,st]}var ae=d("2Qr1");function V(Se,me,$){var we=l.useRef(null);we.current={open:me,triggerOpen:$},l.useEffect(function(){function xe(We){var st=We.target;st.shadowRoot&&We.composed&&(st=We.composedPath()[0]||st),we.current.open&&Se().filter(function(nt){return nt}).every(function(nt){return!nt.contains(st)&&nt!==st})&&we.current.triggerOpen(!1)}return window.addEventListener("mousedown",xe),function(){return window.removeEventListener("mousedown",xe)}},[])}function X(Se){var me=l.useRef(Se),$=l.useMemo(function(){var we=new Map;me.current.forEach(function(We){var st=We.value,nt=We.label;st!==nt&&we.set(st,nt)});var xe=Se.map(function(We){var st=we.get(We.value);return We.isCacheable&&st?Object(b.a)(Object(b.a)({},We),{},{label:st}):We});return me.current=xe,xe},[Se]);return $}function Z(Se){var me=l.useRef(null),$=l.useMemo(function(){var xe=new Map;return Se.forEach(function(We){var st=We.data.value;xe.set(st,We)}),xe},[Se]);me.current=$;var we=function(We){return We.map(function(st){return me.current.get(st)}).filter(Boolean)};return we}var ge=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","tabIndex"];function le(Se){var me=Se.prefixCls,$=Se.components.optionList,we=Se.convertChildrenToData,xe=Se.flattenOptions,We=Se.getLabeledValue,st=Se.filterOptions,nt=Se.isValueDisabled,Ne=Se.findValueOption,St=Se.warningProps,Ye=Se.fillOptionsWithMissingValue,vt=Se.omitDOMProps;function It(xt,Bt){var Qe,te=xt.prefixCls,Q=te===void 0?me:te,Me=xt.className,Ce=xt.id,ue=xt.open,ot=xt.defaultOpen,rt=xt.options,Ue=xt.children,Ge=xt.mode,tt=xt.value,Wt=xt.defaultValue,jt=xt.labelInValue,Yt=xt.showSearch,Tt=xt.inputValue,Rt=xt.searchValue,yt=xt.filterOption,Jt=xt.filterSort,Lr=xt.optionFilterProp,zr=Lr===void 0?"value":Lr,rn=xt.autoClearSearchValue,ei=rn===void 0?!0:rn,fn=xt.onSearch,Zr=xt.allowClear,bt=xt.clearIcon,ut=xt.showArrow,Oe=xt.inputIcon,be=xt.menuItemSelectedIcon,Fe=xt.disabled,it=xt.loading,wt=xt.defaultActiveFirstOption,nr=xt.notFoundContent,sr=nr===void 0?"Not Found":nr,Ar=xt.optionLabelProp,Hr=xt.backfill,$r=xt.tabIndex,Qt=xt.getInputElement,Ot=xt.getRawInputElement,Ft=xt.getPopupContainer,pr=xt.listHeight,Rr=pr===void 0?200:pr,Pr=xt.listItemHeight,an=Pr===void 0?20:Pr,Xt=xt.animation,hr=xt.transitionName,Tr=xt.virtual,Wr=xt.dropdownStyle,Gr=xt.dropdownClassName,Tn=xt.dropdownMatchSelectWidth,gn=xt.dropdownRender,In=xt.dropdownAlign,Fn=xt.showAction,Xn=Fn===void 0?[]:Fn,fi=xt.direction,pi=xt.tokenSeparators,bi=xt.tagRender,et=xt.onPopupScroll,Le=xt.onDropdownVisibleChange,Pe=xt.onFocus,je=xt.onBlur,Je=xt.onKeyUp,Ve=xt.onKeyDown,Ze=xt.onMouseDown,At=xt.onChange,dt=xt.onSelect,Kt=xt.onDeselect,$t=xt.onClear,er=xt.internalProps,cr=er===void 0?{}:er,Ct=Object(f.a)(xt,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","filterSort","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","tabIndex","getInputElement","getRawInputElement","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"]),Nr=cr.mark===Ee.a,Zt=vt?vt(Ct):Ct;ge.forEach(function(Wi){delete Zt[Wi]});var Ir=Object(l.useRef)(null),xr=Object(l.useRef)(null),ur=Object(l.useRef)(null),on=Object(l.useRef)(null),Yn=Object(l.useMemo)(function(){return(pi||[]).some(function(Wi){return[`
`,`\r
`].includes(Wi)})},[pi]),Vn=qe(),Wn=Object(v.a)(Vn,3),jn=Wn[0],Gn=Wn[1],Nn=Wn[2],mi=Object(l.useState)(),en=Object(v.a)(mi,2),Kr=en[0],dn=en[1];Object(l.useEffect)(function(){dn("rc_select_".concat(Object(H.a)()))},[]);var Vr=Ce||Kr,ni=Ar;ni===void 0&&(ni=rt?"label":"children");var Hn=Ge==="combobox"?!1:jt,Kn=Ge==="tags"||Ge==="multiple",bn=Yt!==void 0?Yt:Kn||Ge==="combobox",wi=Object(l.useState)(!1),si=Object(v.a)(wi,2),Oi=si[0],qr=si[1];Object(l.useEffect)(function(){qr(Object(o.a)())},[]);var Sr=Object(l.useRef)(null);l.useImperativeHandle(Bt,function(){var Wi,Ci,Di;return{focus:(Wi=ur.current)===null||Wi===void 0?void 0:Wi.focus,blur:(Ci=ur.current)===null||Ci===void 0?void 0:Ci.blur,scrollTo:(Di=on.current)===null||Di===void 0?void 0:Di.scrollTo}});var sn=Object(r.a)(Wt,{value:tt}),yn=Object(v.a)(sn,2),On=yn[0],Pn=yn[1],ti=Object(l.useMemo)(function(){return Object(H.e)(On,{labelInValue:Hn,combobox:Ge==="combobox"})},[On,Hn]),ai=Object(v.a)(ti,2),qn=ai[0],xi=ai[1],Pi=Object(l.useMemo)(function(){return new Set(qn)},[qn]),ki=Object(l.useState)(null),ja=Object(v.a)(ki,2),ri=ja[0],pt=ja[1],gr=Object(l.useState)(""),_r=Object(v.a)(gr,2),Dr=_r[0],tn=_r[1],Br=Dr;Ge==="combobox"&&On!==void 0?Br=On:Rt!==void 0?Br=Rt:Tt&&(Br=Tt);var wn=Object(l.useMemo)(function(){var Wi=rt;return Wi===void 0&&(Wi=we(Ue)),Ge==="tags"&&Ye&&(Wi=Ye(Wi,On,ni,jt)),Wi||[]},[rt,Ue,Ge,On]),mn=Object(l.useMemo)(function(){return xe(wn,xt)},[wn]),_n=Z(mn),hi=Object(l.useMemo)(function(){if(!Br||!bn)return Object(g.a)(wn);var Wi=st(Br,wn,{optionFilterProp:zr,filterOption:Ge==="combobox"&&yt===void 0?function(){return!0}:yt});return Ge==="tags"&&Wi.every(function(Ci){return Ci[zr]!==Br})&&Wi.unshift({value:Br,label:Br,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Jt&&Array.isArray(Wi)?Object(g.a)(Wi).sort(Jt):Wi},[wn,Br,Ge,bn,Jt]),li=Object(l.useMemo)(function(){return xe(hi,xt)},[hi]);Object(l.useEffect)(function(){on.current&&on.current.scrollTo&&on.current.scrollTo(0)},[Br]);var Zn=Object(l.useMemo)(function(){var Wi=qn.map(function(Ci){var Di=_n([Ci]),ma=We(Ci,{options:Di,prevValueMap:xi,labelInValue:Hn,optionLabelProp:ni});return Object(b.a)(Object(b.a)({},ma),{},{disabled:nt(Ci,Di)})});return!Ge&&Wi.length===1&&Wi[0].value===null&&Wi[0].label===null?[]:Wi},[On,wn,Ge]);Zn=X(Zn);var $e=function(Ci,Di,ma){var ga=_n([Ci]),Aa=Ne([Ci],ga)[0];if(!cr.skipTriggerSelect){var wa=Hn?We(Ci,{options:ga,prevValueMap:xi,labelInValue:Hn,optionLabelProp:ni}):Ci;Di&&dt?dt(wa,Aa):!Di&&Kt&&Kt(wa,Aa)}Nr&&(Di&&cr.onRawSelect?cr.onRawSelect(Ci,Aa,ma):!Di&&cr.onRawDeselect&&cr.onRawDeselect(Ci,Aa,ma))},kt=Object(l.useState)([]),or=Object(v.a)(kt,2),tr=or[0],Or=or[1],wr=function(Ci){if(Nr&&cr.skipTriggerChange)return;var Di=_n(Ci),ma=Object(H.f)(Array.from(Ci),{labelInValue:Hn,options:Di,getLabeledValue:We,prevValueMap:xi,optionLabelProp:ni}),ga=Kn?ma:ma[0];if(At&&(qn.length!==0||ma.length!==0)){var Aa=Ne(Ci,Di,{prevValueOptions:tr});Or(Aa.map(function(wa,la){var Hi=Object(b.a)({},wa);return Object.defineProperty(Hi,"_INTERNAL_OPTION_VALUE_",{get:function(){return Ci[la]}}),Hi})),At(ga,Kn?Aa:Aa[0])}Pn(ga)},Xr=function(Ci,Di){var ma=Di.selected,ga=Di.source;if(Fe)return;var Aa;Kn?(Aa=new Set(qn),ma?Aa.add(Ci):Aa.delete(Ci)):(Aa=new Set,Aa.add(Ci)),(Kn||!Kn&&Array.from(qn)[0]!==Ci)&&wr(Array.from(Aa)),$e(Ci,!Kn||ma,ga),Ge==="combobox"?(tn(String(Ci)),pt("")):(!Kn||ei)&&(tn(""),pt(""))},Qr=function(Ci,Di){Xr(Ci,Object(b.a)(Object(b.a)({},Di),{},{source:"option"}))},cn=function(Ci,Di){Xr(Ci,Object(b.a)(Object(b.a)({},Di),{},{source:"selection"}))},Ln=Ge==="combobox"&&typeof Qt=="function"&&Qt()||null,Cn=typeof Ot=="function"&&Ot(),Bn=Object(r.a)(void 0,{defaultValue:ot,value:ue}),nn=Object(v.a)(Bn,2),Dn=nn[0],hn=nn[1],An=Dn,xn=!sr&&!hi.length;(Fe||xn&&An&&Ge==="combobox")&&(An=!1);var Rn=xn?!1:An,ui=function(Ci){var Di=Ci!==void 0?Ci:!An;Dn!==Di&&!Fe&&(hn(Di),Le&&Le(Di))},gi;Cn&&(gi=function(Ci){ui(Ci)}),V(function(){var Wi;return[Ir.current,(Wi=xr.current)===null||Wi===void 0?void 0:Wi.getPopupElement()]},Rn,ui);var Fi=function(Ci,Di,ma){var ga=!0,Aa=Ci;pt(null);var wa=ma?null:Object(ae.f)(Ci,pi),la=wa;if(Ge==="combobox")Di&&wr([Aa]);else if(wa){Aa="",Ge!=="tags"&&(la=wa.map(function(Ba){var Ia=mn.find(function(fo){var Na=fo.data;return Na[ni]===Ba});return Ia?Ia.data.value:null}).filter(function(Ba){return Ba!==null}));var Hi=Array.from(new Set([].concat(Object(g.a)(qn),Object(g.a)(la))));wr(Hi),Hi.forEach(function(Ba){$e(Ba,!0,"input")}),ui(!1),ga=!1}return tn(Aa),fn&&Br!==Aa&&fn(Aa),ga},di=function(Ci){if(!Ci||!Ci.trim())return;var Di=Array.from(new Set([].concat(Object(g.a)(qn),[Ci])));wr(Di),Di.forEach(function(ma){$e(ma,!0,"input")}),tn("")};Object(l.useEffect)(function(){Dn&&!!Fe&&hn(!1)},[Fe]),Object(l.useEffect)(function(){!An&&!Kn&&Ge!=="combobox"&&Fi("",!1,!1)},[An]);var ii=oe(),Yi=Object(v.a)(ii,2),_i=Yi[0],Mi=Yi[1],Bi=function(Ci){var Di=_i(),ma=Ci.which;if(ma===u.a.ENTER&&(Ge!=="combobox"&&Ci.preventDefault(),An||ui(!0)),Mi(!!Br),ma===u.a.BACKSPACE&&!Di&&Kn&&!Br&&qn.length){var ga=Object(H.c)(Zn,qn);ga.removedValue!==null&&(wr(ga.values),$e(ga.removedValue,!1,"input"))}for(var Aa=arguments.length,wa=new Array(Aa>1?Aa-1:0),la=1;la<Aa;la++)wa[la-1]=arguments[la];if(An&&on.current){var Hi;(Hi=on.current).onKeyDown.apply(Hi,[Ci].concat(wa))}Ve&&Ve.apply(void 0,[Ci].concat(wa))},Zi=function(Ci){for(var Di=arguments.length,ma=new Array(Di>1?Di-1:0),ga=1;ga<Di;ga++)ma[ga-1]=arguments[ga];if(An&&on.current){var Aa;(Aa=on.current).onKeyUp.apply(Aa,[Ci].concat(ma))}Je&&Je.apply(void 0,[Ci].concat(ma))},da=Object(l.useRef)(!1),Ma=function(){Gn(!0),Fe||(Pe&&!da.current&&Pe.apply(void 0,arguments),Xn.includes("focus")&&ui(!0)),da.current=!0},La=function(){if(Gn(!1,function(){da.current=!1,ui(!1)}),Fe)return;Br&&(Ge==="tags"?(Fi("",!1,!1),wr(Array.from(new Set([].concat(Object(g.a)(qn),[Br]))))):Ge==="multiple"&&tn("")),je&&je.apply(void 0,arguments)},fa=[];Object(l.useEffect)(function(){return function(){fa.forEach(function(Wi){return clearTimeout(Wi)}),fa.splice(0,fa.length)}},[]);var xa=function(Ci){var Di,ma=Ci.target,ga=(Di=xr.current)===null||Di===void 0?void 0:Di.getPopupElement();if(ga&&ga.contains(ma)){var Aa=setTimeout(function(){var Ba=fa.indexOf(Aa);if(Ba!==-1&&fa.splice(Ba,1),Nn(),!Oi&&!ga.contains(document.activeElement)){var Ia;(Ia=ur.current)===null||Ia===void 0||Ia.focus()}});fa.push(Aa)}if(Ze){for(var wa=arguments.length,la=new Array(wa>1?wa-1:0),Hi=1;Hi<wa;Hi++)la[Hi-1]=arguments[Hi];Ze.apply(void 0,[Ci].concat(la))}},ea=Object(l.useState)(0),ya=Object(v.a)(ea,2),sa=ya[0],Fa=ya[1],uo=wt!==void 0?wt:Ge!=="combobox",za=function(Ci,Di){var ma=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ga=ma.source,Aa=ga===void 0?"keyboard":ga;Fa(Di),Hr&&Ge==="combobox"&&Ci!==null&&Aa==="keyboard"&&pt(String(Ci))},Ya=Object(l.useState)(null),lo=Object(v.a)(Ya,2),ta=lo[0],Xi=lo[1],Gi=Object(l.useState)({}),Ta=Object(v.a)(Gi,2),ka=Ta[1];function ha(){ka({})}K(function(){if(Rn){var Wi,Ci=Math.ceil((Wi=Ir.current)===null||Wi===void 0?void 0:Wi.offsetWidth);ta!==Ci&&!Number.isNaN(Ci)&&Xi(Ci)}},[Rn]);var Ua=l.createElement($,{ref:on,prefixCls:Q,id:Vr,open:An,childrenAsData:!rt,options:hi,flattenOptions:li,multiple:Kn,values:Pi,height:Rr,itemHeight:an,onSelect:Qr,onToggleOpen:ui,onActiveValue:za,defaultActiveFirstOption:uo,notFoundContent:sr,onScroll:et,searchValue:Br,menuItemSelectedIcon:be,virtual:Tr!==!1&&Tn!==!1,onMouseEnter:ha}),ao,Ao=function(){Nr&&cr.onClear&&cr.onClear(),$t&&$t(),wr([]),Fi("",!1,!1)};!Fe&&Zr&&(qn.length||Br)&&(ao=l.createElement(P.a,{className:"".concat(Q,"-clear"),onMouseDown:Ao,customizeIcon:bt},"\xD7"));var ho=ut!==void 0?ut:it||!Kn&&Ge!=="combobox",ro;ho&&(ro=l.createElement(P.a,{className:i()("".concat(Q,"-arrow"),Object(A.a)({},"".concat(Q,"-arrow-loading"),it)),customizeIcon:Oe,customizeIconProps:{loading:it,searchValue:Br,open:An,focused:jn,showSearch:bn}}));var qa=i()(Q,Me,(Qe={},Object(A.a)(Qe,"".concat(Q,"-focused"),jn),Object(A.a)(Qe,"".concat(Q,"-multiple"),Kn),Object(A.a)(Qe,"".concat(Q,"-single"),!Kn),Object(A.a)(Qe,"".concat(Q,"-allow-clear"),Zr),Object(A.a)(Qe,"".concat(Q,"-show-arrow"),ho),Object(A.a)(Qe,"".concat(Q,"-disabled"),Fe),Object(A.a)(Qe,"".concat(Q,"-loading"),it),Object(A.a)(Qe,"".concat(Q,"-open"),An),Object(A.a)(Qe,"".concat(Q,"-customize-input"),Ln),Object(A.a)(Qe,"".concat(Q,"-show-search"),bn),Qe)),no=l.createElement(J,{ref:xr,disabled:Fe,prefixCls:Q,visible:Rn,popupElement:Ua,containerWidth:ta,animation:Xt,transitionName:hr,dropdownStyle:Wr,dropdownClassName:Gr,direction:fi,dropdownMatchSelectWidth:Tn,dropdownRender:gn,dropdownAlign:In,getPopupContainer:Ft,empty:!wn.length,getTriggerDOMNode:function(){return Sr.current},onPopupVisibleChange:gi},Cn?l.cloneElement(Cn,{ref:Object(e.a)(Sr,Cn.props.ref)}):l.createElement(he,Object(w.a)({},xt,{domRef:Sr,prefixCls:Q,inputElement:Ln,ref:ur,id:Vr,showSearch:bn,mode:Ge,accessibilityIndex:sa,multiple:Kn,tagRender:bi,values:Zn,open:An,onToggleOpen:ui,searchValue:Br,activeValue:ri,onSearch:Fi,onSearchSubmit:di,onSelect:cn,tokenWithEnter:Yn})));return Cn?no:l.createElement("div",Object(w.a)({className:qa},Zt,{ref:Ir,onMouseDown:xa,onKeyDown:Bi,onKeyUp:Zi,onFocus:Ma,onBlur:La}),jn&&!An&&l.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(qn.join(", "))),no,ro,ao)}var Ut=l.forwardRef(It);return Ut}},qWt2:function(k,B,d){var w=d("ProS"),A=w.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}}});k.exports=A},qZFw:function(k,B,d){var w=d("bYtY"),A=d("6GrX"),b=d("hM6l"),g=d("4NO4"),v=g.makeInner,f=v();function l(o,e){e=e||[0,360],b.call(this,"angle",o,e),this.type="category"}l.prototype={constructor:l,pointToData:function(o,e){return this.polar.pointToData(o,e)[this.dim==="radius"?0:1]},dataToAngle:b.prototype.dataToCoord,angleToData:b.prototype.coordToData,calculateCategoryInterval:function(){var o=this,e=o.getLabelModel(),n=o.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var s=i[0],t=o.dataToCoord(s+1)-o.dataToCoord(s),a=Math.abs(t),c=A.getBoundingRect(s,e.getFont(),"center","top"),h=Math.max(c.height,7),p=h/a;isNaN(p)&&(p=Infinity);var m=Math.max(0,Math.floor(p)),S=f(o.model),y=S.lastAutoInterval,x=S.lastTickCount;return y!=null&&x!=null&&Math.abs(y-m)<=1&&Math.abs(x-r)<=1&&y>m?m=y:(S.lastTickCount=r,S.lastAutoInterval=m),m}},w.inherits(l,b);var u=l;k.exports=u},qgGe:function(k,B,d){var w=d("bYtY"),A=d("T4UG"),b=d("Bsck"),g=d("VaxA"),v=g.wrapTreePathInfo,f=A.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(u,o){var e={name:u.name,children:u.data};l(e);var n=u.levels||[],i={};return i.levels=n,b.createTree(e,this,i).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(u){var o=A.prototype.getDataParams.apply(this,arguments),e=this.getData().tree.getNodeByDataIndex(u);return o.treePathInfo=v(e,this),o},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(u){u?this._viewRoot=u:u=this._viewRoot;var o=this.getRawData().tree.root;(!u||u!==o&&!o.contains(u))&&(this._viewRoot=o)}});function l(u){var o=0;w.each(u.children,function(n){l(n);var i=n.value;w.isArray(i)&&(i=i[0]),o+=i});var e=u.value;w.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=o),e<0&&(e=0),w.isArray(u.value)?u.value[0]=e:u.value=e}k.exports=f},qj72:function(k,B,d){var w=d("bYtY");function A(g,v){return v=v||[0,0],w.map(["x","y"],function(f,l){var u=this.getAxis(f),o=v[l],e=g[l]/2;return u.type==="category"?u.getBandWidth():Math.abs(u.dataToCoord(o-e)-u.dataToCoord(o+e))},this)}function b(g){var v=g.grid.getRect();return{coordSys:{type:"cartesian2d",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(f){return g.dataToPoint(f)},size:w.bind(A,g)}}}k.exports=b},"qt/9":function(k,B,d){var w=d("ProS"),A=d("bYtY");d("Wqna"),d("1tlw"),d("Mylv");var b=d("nVfU"),g=b.layout,v=d("f5Yq");d("Ae16"),w.registerLayout(A.curry(g,"pictorialBar")),w.registerVisual(v("pictorialBar","roundRect"))},quyA:function(k,B){var d="\\ud800-\\udfff",w="\\u0300-\\u036f",A="\\ufe20-\\ufe2f",b="\\u20d0-\\u20ff",g=w+A+b,v="\\ufe0e\\ufe0f",f="\\u200d",l=RegExp("["+f+d+g+v+"]");function u(o){return l.test(o)}k.exports=u},qwVE:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("K4ya"),g=d("XxSj"),v=w.PRIORITY.VISUAL.COMPONENT;w.registerVisual(v,{createOnAllSeries:!0,reset:function(l,u){var o=[];return u.eachComponent("visualMap",function(e){var n=l.pipelineContext;if(!e.isTargetSeries(l)||n&&n.large)return;o.push(b.incrementalApplyVisual(e.stateList,e.targetVisuals,A.bind(e.getValueState,e),e.getDataDimension(l.getData())))}),o}}),w.registerVisual(v,{createOnAllSeries:!0,reset:function(l,u){var o=l.getData(),e=[];u.eachComponent("visualMap",function(n){if(n.isTargetSeries(l)){var i=n.getVisualMeta(A.bind(f,null,l,n))||{stops:[],outerColors:[]},r=n.getDataDimension(o),s=o.getDimensionInfo(r);s!=null&&(i.dimension=s.index,e.push(i))}}),l.getData().setVisual("visualMeta",e)}});function f(l,u,o,e){for(var n=u.targetVisuals[e],i=g.prepareVisualTypes(n),r={color:l.getData().getVisual("color")},s=0,t=i.length;s<t;s++){var a=i[s],c=n[a==="opacity"?"__alphaForOpacity":a];c&&c.applyVisual(o,h,p)}return r.color;function h(m){return r[m]}function p(m,S){r[m]=S}}},r6Bn:function(k,B,d){var w=d("bYtY"),A=d("ItGF"),b=d("4fz+"),g=d("BPZU");function v(u,o){return u.zlevel===o.zlevel?u.z===o.z?u.z2-o.z2:u.z-o.z:u.zlevel-o.zlevel}var f=function(){this._roots=[],this._displayList=[],this._displayListLen=0};f.prototype={constructor:f,traverse:function(o,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(o,e)},getDisplayList:function(o,e){return e=e||!1,o&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(o){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,o);n.length=this._displayListLen,A.canvasSupported&&g(n,v)},_updateAndAddDisplayable:function(o,e,n){if(o.ignore&&!n)return;o.beforeUpdate(),o.__dirty&&o.update(),o.afterUpdate();var i=o.clipPath;if(i){e?e=e.slice():e=[];for(var r=i,s=o;r;)r.parent=s,r.updateTransform(),e.push(r),s=r,r=r.clipPath}if(o.isGroup){for(var t=o._children,a=0;a<t.length;a++){var c=t[a];o.__dirty&&(c.__dirty=!0),this._updateAndAddDisplayable(c,e,n)}o.__dirty=!1}else o.__clipPaths=e,this._displayList[this._displayListLen++]=o},addRoot:function(o){if(o.__storage===this)return;o instanceof b&&o.addChildrenToStorage(this),this.addToStorage(o),this._roots.push(o)},delRoot:function(o){if(o==null){for(var e=0;e<this._roots.length;e++){var n=this._roots[e];n instanceof b&&n.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(o instanceof Array){for(var e=0,i=o.length;e<i;e++)this.delRoot(o[e]);return}var r=w.indexOf(this._roots,o);r>=0&&(this.delFromStorage(o),this._roots.splice(r,1),o instanceof b&&o.delChildrenFromStorage(this))},addToStorage:function(o){return o&&(o.__storage=this,o.dirty(!1)),this},delFromStorage:function(o){return o&&(o.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:v};var l=f;k.exports=l},rA99:function(k,B,d){var w=d("y+Vt"),A=d("QBsz"),b=d("Sj9i"),g=b.quadraticSubdivide,v=b.cubicSubdivide,f=b.quadraticAt,l=b.cubicAt,u=b.quadraticDerivativeAt,o=b.cubicDerivativeAt,e=[];function n(r,s,t){var a=r.cpx2,c=r.cpy2;return a===null||c===null?[(t?o:l)(r.x1,r.cpx1,r.cpx2,r.x2,s),(t?o:l)(r.y1,r.cpy1,r.cpy2,r.y2,s)]:[(t?u:f)(r.x1,r.cpx1,r.x2,s),(t?u:f)(r.y1,r.cpy1,r.y2,s)]}var i=w.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(s,t){var a=t.x1,c=t.y1,h=t.x2,p=t.y2,m=t.cpx1,S=t.cpy1,y=t.cpx2,x=t.cpy2,C=t.percent;if(C===0)return;s.moveTo(a,c),y==null||x==null?(C<1&&(g(a,m,h,C,e),m=e[1],h=e[2],g(c,S,p,C,e),S=e[1],p=e[2]),s.quadraticCurveTo(m,S,h,p)):(C<1&&(v(a,m,y,h,C,e),m=e[1],y=e[2],h=e[3],v(c,S,x,p,C,e),S=e[1],x=e[2],p=e[3]),s.bezierCurveTo(m,S,y,x,h,p))},pointAt:function(s){return n(this.shape,s,!1)},tangentAt:function(s){var t=n(this.shape,s,!0);return A.normalize(t,t)}});k.exports=i},rHrb:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.CopyToClipboard=void 0;var w=b(d("q1tI")),A=b(d("+QRC"));function b(p){return p&&p.__esModule?p:{default:p}}function g(p){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(S){return typeof S}:g=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},g(p)}function v(p,m){var S=Object.keys(p);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(p);m&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(p,x).enumerable})),S.push.apply(S,y)}return S}function f(p){for(var m=1;m<arguments.length;m++){var S=arguments[m]!=null?arguments[m]:{};m%2?v(S,!0).forEach(function(y){c(p,y,S[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(S)):v(S).forEach(function(y){Object.defineProperty(p,y,Object.getOwnPropertyDescriptor(S,y))})}return p}function l(p,m){if(p==null)return{};var S=u(p,m),y,x;if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(p);for(x=0;x<C.length;x++){if(y=C[x],m.indexOf(y)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(p,y))continue;S[y]=p[y]}}return S}function u(p,m){if(p==null)return{};var S={},y=Object.keys(p),x,C;for(C=0;C<y.length;C++){if(x=y[C],m.indexOf(x)>=0)continue;S[x]=p[x]}return S}function o(p,m){if(!(p instanceof m))throw new TypeError("Cannot call a class as a function")}function e(p,m){for(var S=0;S<m.length;S++){var y=m[S];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(p,y.key,y)}}function n(p,m,S){return m&&e(p.prototype,m),S&&e(p,S),p}function i(p,m){return m&&(g(m)==="object"||typeof m=="function")?m:s(p)}function r(p){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},r(p)}function s(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p}function t(p,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(m&&m.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),m&&a(p,m)}function a(p,m){return a=Object.setPrototypeOf||function(y,x){return y.__proto__=x,y},a(p,m)}function c(p,m,S){return m in p?Object.defineProperty(p,m,{value:S,enumerable:!0,configurable:!0,writable:!0}):p[m]=S,p}var h=function(p){t(m,p);function m(){var S,y;o(this,m);for(var x=arguments.length,C=new Array(x),T=0;T<x;T++)C[T]=arguments[T];return y=i(this,(S=r(m)).call.apply(S,[this].concat(C))),c(s(y),"onClick",function(_){var E=y.props,I=E.text,L=E.onCopy,D=E.children,F=E.options,N=w.default.Children.only(D),P=(0,A.default)(I,F);L&&L(I,P),N&&N.props&&typeof N.props.onClick=="function"&&N.props.onClick(_)}),y}return n(m,[{key:"render",value:function(){var y=this.props,x=y.text,C=y.onCopy,T=y.options,_=y.children,E=l(y,["text","onCopy","options","children"]),I=w.default.Children.only(_);return w.default.cloneElement(I,f({},E,{onClick:this.onClick}))}}]),m}(w.default.PureComponent);B.CopyToClipboard=h,c(h,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="ReloadOutlined";var l=B.a=A.forwardRef(f)},rUJ1:function(k,B){var d=/[&<>"']/,w=/[&<>"']/g,A=/[<>"']|&(?!#?\w+;)/,b=/[<>"']|&(?!#?\w+;)/g,g={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},v=function(_){return g[_]};function f(T,_){if(_){if(d.test(T))return T.replace(w,v)}else if(A.test(T))return T.replace(b,v);return T}var l=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function u(T){return T.replace(l,function(_,E){return E=E.toLowerCase(),E==="colon"?":":E.charAt(0)==="#"?E.charAt(1)==="x"?String.fromCharCode(parseInt(E.substring(2),16)):String.fromCharCode(+E.substring(1)):""})}var o=/(^|[^\[])\^/g;function e(T,_){T=T.source||T,_=_||"";var E={replace:function(L,D){return D=D.source||D,D=D.replace(o,"$1"),T=T.replace(L,D),E},getRegex:function(){return new RegExp(T,_)}};return E}var n=/[^\w:]/g,i=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function r(T,_,E){if(T){var I;try{I=decodeURIComponent(u(E)).replace(n,"").toLowerCase()}catch(L){return null}if(I.indexOf("javascript:")===0||I.indexOf("vbscript:")===0||I.indexOf("data:")===0)return null}_&&!i.test(E)&&(E=h(_,E));try{E=encodeURI(E).replace(/%25/g,"%")}catch(L){return null}return E}var s={},t=/^[^:]+:\/*[^/]*$/,a=/^([^:]+:)[\s\S]*$/,c=/^([^:]+:\/*[^/]*)[\s\S]*$/;function h(T,_){s[" "+T]||(t.test(T)?s[" "+T]=T+"/":s[" "+T]=y(T,"/",!0)),T=s[" "+T];var E=T.indexOf(":")===-1;return _.substring(0,2)==="//"?E?_:T.replace(a,"$1")+_:_.charAt(0)==="/"?E?_:T.replace(c,"$1")+_:T+_}var p={exec:function(){}};function m(T){for(var _=1,E,I;_<arguments.length;_++){E=arguments[_];for(I in E)Object.prototype.hasOwnProperty.call(E,I)&&(T[I]=E[I])}return T}function S(T,_){var E=T.replace(/\|/g,function(D,F,N){for(var P=!1,W=F;--W>=0&&N[W]==="\\";)P=!P;return P?"|":" |"}),I=E.split(/ \|/),L=0;if(I.length>_)I.splice(_);else for(;I.length<_;)I.push("");for(;L<I.length;L++)I[L]=I[L].trim().replace(/\\\|/g,"|");return I}function y(T,_,E){var I=T.length;if(I===0)return"";for(var L=0;L<I;){var D=T.charAt(I-L-1);if(D===_&&!E)L++;else if(D!==_&&E)L++;else break}return T.substr(0,I-L)}function x(T,_){if(T.indexOf(_[1])===-1)return-1;for(var E=T.length,I=0,L=0;L<E;L++)if(T[L]==="\\")L++;else if(T[L]===_[0])I++;else if(T[L]===_[1]&&(I--,I<0))return L;return-1}function C(T){T&&T.sanitize&&!T.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}k.exports={escape:f,unescape:u,edit:e,cleanUrl:r,resolveUrl:h,noopTest:p,merge:m,splitCells:S,rtrim:y,findClosingBracket:x,checkSanitizeDeprecation:C}},rdUC:function(k,B,d){var w=d("MFOe"),A=w.Global;k.exports={name:"localStorage",read:g,write:v,each:f,remove:l,clearAll:u};function b(){return A.localStorage}function g(o){return b().getItem(o)}function v(o,e){return b().setItem(o,e)}function f(o){for(var e=b().length-1;e>=0;e--){var n=b().key(e);o(g(n),n)}}function l(o){return b().removeItem(o)}function u(){return b().clear()}},rdor:function(k,B,d){var w=d("lOQZ"),A=w.circularLayout;function b(g){g.eachSeriesByType("graph",function(v){v.get("layout")==="circular"&&A(v,"symbolSize")})}k.exports=b},rfSb:function(k,B,d){var w=d("T4UG"),A=d("sdST"),b=d("L0Ub"),g=b.getDimensionTypeByAxis,v=d("YXkt"),f=d("bYtY"),l=d("4NO4"),u=l.groupData,o=d("7aKB"),e=o.encodeHTML,n=d("xKMd"),i=2,r=w.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){r.superApply(this,"init",arguments),this.legendVisualProvider=new n(f.bind(this.getData,this),f.bind(this.getRawData,this))},fixData:function(t){var a=t.length,c=u(t,function(N){return N[2]}),h=[];c.buckets.each(function(N,P){h.push({name:P,dataList:N})});for(var p=h.length,m=-1,S=-1,y=0;y<p;++y){var x=h[y].dataList.length;x>m&&(m=x,S=y)}for(var C=0;C<p;++C){if(C===S)continue;for(var T=h[C].name,_=0;_<m;++_){for(var E=h[S].dataList[_][0],I=h[C].dataList.length,L=-1,D=0;D<I;++D){var F=h[C].dataList[D][0];if(F===E){L=D;break}}L===-1&&(t[a]=[],t[a][0]=E,t[a][1]=0,t[a][2]=T,a++)}}return t},getInitialData:function(t,a){for(var c=a.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],h=c.get("type"),p=f.filter(t.data,function(E){return E[2]!==void 0}),m=this.fixData(p||[]),S=[],y=this.nameMap=f.createHashMap(),x=0,C=0;C<m.length;++C)S.push(m[C][i]),y.get(m[C][i])||(y.set(m[C][i],x),x++);var T=A(m,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:g(h)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),_=new v(T,this);return _.initData(m),_},getLayerSeries:function(){for(var t=this.getData(),a=t.count(),c=[],h=0;h<a;++h)c[h]=h;var p=t.mapDimension("single"),m=u(c,function(y){return t.get("name",y)}),S=[];return m.buckets.each(function(y,x){y.sort(function(C,T){return t.get(p,C)-t.get(p,T)}),S.push({name:x,indices:y})}),S},getAxisTooltipData:function(t,a,c){f.isArray(t)||(t=t?[t]:[]);for(var h=this.getData(),p=this.getLayerSeries(),m=[],S=p.length,y,x=0;x<S;++x){for(var C=Number.MAX_VALUE,T=-1,_=p[x].indices.length,E=0;E<_;++E){var I=h.get(t[0],p[x].indices[E]),L=Math.abs(I-a);L<=C&&(y=I,C=L,T=p[x].indices[E])}m.push(T)}return{dataIndices:m,nestestValue:y}},formatTooltip:function(t){var a=this.getData(),c=a.getName(t),h=a.get(a.mapDimension("value"),t);return(isNaN(h)||h==null)&&(h="-"),e(c+" : "+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}}}}),s=r;k.exports=s},rkZ5:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),g=d("c8qY"),v=d("D9ME"),f=d("fls0"),l=d("RSch"),u=d("akwb"),o=d("o40c"),e=d("ZYIC"),n=d("sK/D"),i=n.createClipPath,r=b.extendChartView({type:"lines",init:function(){},render:function(s,t,a){var c=s.getData(),h=this._updateLineDraw(c,s),p=s.get("zlevel"),m=s.get("effect.trailLength"),S=a.getZr(),y=S.painter.getType()==="svg";y||S.painter.getLayer(p).clear(!0),this._lastZlevel!=null&&!y&&S.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(s)&&m&&(y||S.configLayer(p,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(m/10+.9,1),0)})),h.updateData(c);var x=s.get("clip",!0)&&i(s.coordinateSystem,!1,s);x?this.group.setClipPath(x):this.group.removeClipPath(),this._lastZlevel=p,this._finished=!0},incrementalPrepareRender:function(s,t,a){var c=s.getData(),h=this._updateLineDraw(c,s);h.incrementalPrepareUpdate(c),this._clearLayer(a),this._finished=!1},incrementalRender:function(s,t,a){this._lineDraw.incrementalUpdate(s,t.getData()),this._finished=s.end===t.getData().count()},updateTransform:function(s,t,a){var c=s.getData(),h=s.pipelineContext;if(!this._finished||h.large||h.progressiveRender)return{update:!0};var p=e.reset(s);p.progress&&p.progress({start:0,end:c.count()},c),this._lineDraw.updateLayout(),this._clearLayer(a)},_updateLineDraw:function(s,t){var a=this._lineDraw,c=this._showEffect(t),h=!!t.get("polyline"),p=t.pipelineContext,m=p.large;return(!a||c!==this._hasEffet||h!==this._isPolyline||m!==this._isLargeDraw)&&(a&&a.remove(),a=this._lineDraw=m?new o:new g(h?c?u:l:c?v:f),this._hasEffet=c,this._isPolyline=h,this._isLargeDraw=m,this.group.removeAll()),this.group.add(a.group),a},_showEffect:function(s){return!!s.get("effect.show")},_clearLayer:function(s){var t=s.getZr(),a=t.painter.getType()==="svg";!a&&this._lastZlevel!=null&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(s,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});k.exports=r},rmlV:function(k,B,d){var w=d("y+Vt"),A=w.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(g,v){var f=.5522848,l=v.cx,u=v.cy,o=v.rx,e=v.ry,n=o*f,i=e*f;g.moveTo(l-o,u),g.bezierCurveTo(l-o,u-i,l-n,u-e,l,u-e),g.bezierCurveTo(l+n,u-e,l+o,u-i,l+o,u),g.bezierCurveTo(l+o,u+i,l+n,u+e,l,u+e),g.bezierCurveTo(l-n,u+e,l-o,u+i,l-o,u),g.closePath()}});k.exports=A},rnVJ:function(k,B,d){var w=d("bYtY"),A=["rect","polygon","keep","clear"];function b(v,f){var l=v&&v.brush;if(w.isArray(l)||(l=l?[l]:[]),!l.length)return;var u=[];w.each(l,function(r){var s=r.hasOwnProperty("toolbox")?r.toolbox:[];s instanceof Array&&(u=u.concat(s))});var o=v&&v.toolbox;w.isArray(o)&&(o=o[0]),o||(o={feature:{}},v.toolbox=[o]);var e=o.feature||(o.feature={}),n=e.brush||(e.brush={}),i=n.type||(n.type=[]);i.push.apply(i,u),g(i),f&&!i.length&&i.push.apply(i,A)}function g(v){var f={};w.each(v,function(l){f[l]=1}),v.length=0,w.each(f,function(l,u){v.push(u)})}k.exports=b},rwxt:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=d("GdRQ");function A(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function b(l,u){for(var o=0;o<u.length;o++){var e=u[o];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(l,e.key,e)}}function g(l,u,o){return u&&b(l.prototype,u),o&&b(l,o),l}var v=!w.supportsCursorURIs||w.isTouchDevice,f=function(){function l(){A(this,l),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 g(l,[{key:"attach",value:function(o){if(this._target&&this.detach(),this._target=o,v){document.body.appendChild(this._canvas);var e={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,e),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,e),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,e),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,e)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(v){var o={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,o),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,o),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,o),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,o),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(o,e,n,i,r){if(i===0||r===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-e,this._position.y=this._position.y+this._hotSpot.y-n,this._hotSpot.x=e,this._hotSpot.y=n;var s=this._canvas.getContext("2d");this._canvas.width=i,this._canvas.height=r;var t;try{t=new ImageData(new Uint8ClampedArray(o),i,r)}catch(c){t=s.createImageData(i,r),t.data.set(new Uint8ClampedArray(o))}if(s.clearRect(0,0,i,r),s.putImageData(t,0,0),v)this._updatePosition();else{var a=this._canvas.toDataURL();this._target.style.cursor="url("+a+")"+e+" "+n+", default"}}},{key:"clear",value:function(){this._target.style.cursor="none",this._canvas.width=0,this._canvas.height=0,this._position.x=this._position.x+this._hotSpot.x,this._position.y=this._position.y+this._hotSpot.y,this._hotSpot.x=0,this._hotSpot.y=0}},{key:"move",value:function(o,e){if(!v)return;window.visualViewport?(this._position.x=o+window.visualViewport.offsetLeft,this._position.y=e+window.visualViewport.offsetTop):(this._position.x=o,this._position.y=e),this._updatePosition();var n=document.elementFromPoint(o,e);this._updateVisibility(n)}},{key:"_handleMouseOver",value:function(o){this._handleMouseMove(o)}},{key:"_handleMouseLeave",value:function(o){this._updateVisibility(o.relatedTarget)}},{key:"_handleMouseMove",value:function(o){this._updateVisibility(o.target),this._position.x=o.clientX-this._hotSpot.x,this._position.y=o.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(o){var e=this,n=document.elementFromPoint(o.clientX,o.clientY);this._updateVisibility(n),this._captureIsActive()&&window.setTimeout(function(){if(!e._target)return;n=document.elementFromPoint(o.clientX,o.clientY),e._updateVisibility(n)},0)}},{key:"_showCursor",value:function(){this._canvas.style.visibility==="hidden"&&(this._canvas.style.visibility="")}},{key:"_hideCursor",value:function(){this._canvas.style.visibility!=="hidden"&&(this._canvas.style.visibility="hidden")}},{key:"_shouldShowCursor",value:function(o){return o?o===this._target?!0:this._target.contains(o)?!(window.getComputedStyle(o).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(o){this._captureIsActive()&&(o=document.captureElement),this._shouldShowCursor(o)?this._showCursor():this._hideCursor()}},{key:"_updatePosition",value:function(){this._canvas.style.left=this._position.x+"px",this._canvas.style.top=this._position.y+"px"}},{key:"_captureIsActive",value:function(){return document.captureElement&&document.documentElement.contains(document.captureElement)}}]),l}();B.default=f},rySg:function(k,B,d){d("SMc4"),d("8nMs")},s2lz:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS"),g=d("gPAo"),v=d("VaxA"),f=d("9hCq"),l=d("SgGq"),u=d("mFDi"),o=d("Fofx"),e=d("5s0K"),n=d("KCsZ"),i=d("7aKB"),r=i.windowOpen,s=A.bind,t=b.Group,a=b.Rect,c=A.each,h=3,p=["label"],m=["emphasis","label"],S=["upperLabel"],y=["emphasis","upperLabel"],x=10,C=1,T=2,_=n([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),E=function(N){var P=_(N);return P.stroke=P.fill=P.lineWidth=null,P},I=w.extendChartView({type:"treemap",init:function(N,P){this._containerGroup,this._storage=L(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(N,P,W,R){var j=P.findComponents({mainType:"series",subType:"treemap",query:R});if(A.indexOf(j,N)<0)return;this.seriesModel=N,this.api=W,this.ecModel=P;var H=["treemapZoomToNode","treemapRootToNode"],K=v.retrieveTargetInfo(R,H,N),U=R&&R.type,G=N.layoutInfo,z=!this._oldTree,Y=this._storage,q=U==="treemapRootToNode"&&K&&Y?{rootNodeGroup:Y.nodeGroup[K.node.getRawIndex()],direction:R.direction}:null,oe=this._giveContainerGroup(G),ie=this._doRender(oe,N,q);!z&&(!U||U==="treemapZoomToNode"||U==="treemapRootToNode")?this._doAnimation(oe,ie,N,q):ie.renderFinally(),this._resetController(W),this._renderBreadcrumb(N,W,K)},_giveContainerGroup:function(N){var P=this._containerGroup;return P||(P=this._containerGroup=new t,this._initEvents(P),this.group.add(P)),P.attr("position",[N.x,N.y]),P},_doRender:function(N,P,W){var R=P.getData().tree,j=this._oldTree,H=L(),K=L(),U=this._storage,G=[],z=A.curry(D,P,K,U,W,H,G);q(R.root?[R.root]:[],j&&j.root?[j.root]:[],N,R===j||!j,0);var Y=oe(U);return this._oldTree=R,this._storage=K,{lastsForAnimation:H,willDeleteEls:Y,renderFinally:ie};function q(se,he,pe,_e,De){_e?(he=se,c(se,function(Ee,qe){!Ee.isRemoved()&&J(qe,qe)})):new g(he,se,Xe,Xe).add(J).update(J).remove(A.curry(J,null)).execute();function Xe(Ee){return Ee.getId()}function J(Ee,qe){var ae=Ee!=null?se[Ee]:null,V=qe!=null?he[qe]:null,X=z(ae,V,pe,De);X&&q(ae&&ae.viewChildren||[],V&&V.viewChildren||[],X,_e,De+1)}}function oe(se){var he=L();return se&&c(se,function(pe,_e){var De=he[_e];c(pe,function(Xe){Xe&&(De.push(Xe),Xe.__tmWillDelete=1)})}),he}function ie(){c(Y,function(se){c(se,function(he){he.parent&&he.parent.remove(he)})}),c(G,function(se){se.invisible=!0,se.dirty()})}},_doAnimation:function(N,P,W,R){if(!W.get("animation"))return;var j=W.get("animationDurationUpdate"),H=W.get("animationEasing"),K=e.createWrap();c(P.willDeleteEls,function(U,G){c(U,function(z,Y){if(z.invisible)return;var q=z.parent,oe;if(R&&R.direction==="drillDown")oe=q===R.rootNodeGroup?{shape:{x:0,y:0,width:q.__tmNodeWidth,height:q.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var ie=0,se=0;q.__tmWillDelete||(ie=q.__tmNodeWidth/2,se=q.__tmNodeHeight/2),oe=G==="nodeGroup"?{position:[ie,se],style:{opacity:0}}:{shape:{x:ie,y:se,width:0,height:0},style:{opacity:0}}}oe&&K.add(z,oe,j,H)})}),c(this._storage,function(U,G){c(U,function(z,Y){var q=P.lastsForAnimation[G][Y],oe={};if(!q)return;G==="nodeGroup"?q.old&&(oe.position=z.position.slice(),z.attr("position",q.old)):(q.old&&(oe.shape=A.extend({},z.shape),z.setShape(q.old)),q.fadein?(z.setStyle("opacity",0),oe.style={opacity:1}):z.style.opacity!==1&&(oe.style={opacity:1})),K.add(z,oe,j,H)})},this),this._state="animating",K.done(s(function(){this._state="ready",P.renderFinally()},this)).start()},_resetController:function(N){var P=this._controller;P||(P=this._controller=new l(N.getZr()),P.enable(this.seriesModel.get("roam")),P.on("pan",s(this._onPan,this)),P.on("zoom",s(this._onZoom,this)));var W=new u(0,0,N.getWidth(),N.getHeight());P.setPointerChecker(function(R,j,H){return W.contain(j,H)})},_clearController:function(){var N=this._controller;N&&(N.dispose(),N=null)},_onPan:function(N){if(this._state!=="animating"&&(Math.abs(N.dx)>h||Math.abs(N.dy)>h)){var P=this.seriesModel.getData().tree.root;if(!P)return;var W=P.getLayout();if(!W)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:W.x+N.dx,y:W.y+N.dy,width:W.width,height:W.height}})}},_onZoom:function(N){var P=N.originX,W=N.originY;if(this._state!=="animating"){var R=this.seriesModel.getData().tree.root;if(!R)return;var j=R.getLayout();if(!j)return;var H=new u(j.x,j.y,j.width,j.height),K=this.seriesModel.layoutInfo;P-=K.x,W-=K.y;var U=o.create();o.translate(U,U,[-P,-W]),o.scale(U,U,[N.scale,N.scale]),o.translate(U,U,[P,W]),H.applyTransform(U),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:H.x,y:H.y,width:H.width,height:H.height}})}},_initEvents:function(N){N.on("click",function(P){if(this._state!=="ready")return;var W=this.seriesModel.get("nodeClick",!0);if(!W)return;var R=this.findTarget(P.offsetX,P.offsetY);if(!R)return;var j=R.node;if(j.getLayout().isLeafRoot)this._rootToNode(R);else if(W==="zoomToNode")this._zoomToNode(R);else if(W==="link"){var H=j.hostTree.data.getItemModel(j.dataIndex),K=H.get("link",!0),U=H.get("target",!0)||"blank";K&&r(K,U)}},this)},_renderBreadcrumb:function(N,P,W){W||(W=N.get("leafDepth",!0)!=null?{node:N.getViewRoot()}:this.findTarget(P.getWidth()/2,P.getHeight()/2),W||(W={node:N.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new f(this.group))).render(N,P,W.node,s(R,this));function R(j){this._state!=="animating"&&(v.aboveViewRoot(N.getViewRoot(),j)?this._rootToNode({node:j}):this._zoomToNode({node:j}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=L(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(N){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:N.node})},_rootToNode:function(N){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:N.node})},findTarget:function(N,P){var W,R=this.seriesModel.getViewRoot();return R.eachNode({attr:"viewChildren",order:"preorder"},function(j){var H=this._storage.background[j.getRawIndex()];if(H){var K=H.transformCoordToLocal(N,P),U=H.shape;if(U.x<=K[0]&&K[0]<=U.x+U.width&&U.y<=K[1]&&K[1]<=U.y+U.height)W={node:j,offsetX:K[0],offsetY:K[1]};else return!1}},this),W}});function L(){return{nodeGroup:[],background:[],content:[]}}function D(N,P,W,R,j,H,K,U,G,z){if(!K)return;var Y=K.getLayout(),q=N.getData();if(q.setItemGraphicEl(K.dataIndex,null),!Y||!Y.isInView)return;var oe=Y.width,ie=Y.height,se=Y.borderWidth,he=Y.invisible,pe=K.getRawIndex(),_e=U&&U.getRawIndex(),De=K.viewChildren,Xe=Y.upperHeight,J=De&&De.length,Ee=K.getModel("itemStyle"),qe=K.getModel("emphasis.itemStyle"),ae=we("nodeGroup",t);if(!ae)return;if(G.add(ae),ae.attr("position",[Y.x||0,Y.y||0]),ae.__tmNodeWidth=oe,ae.__tmNodeHeight=ie,Y.isAboveViewRoot)return ae;var V=K.getModel(),X=we("background",a,z,C);if(X&&ge(ae,X,J&&Y.upperLabelHeight),J)b.isHighDownDispatcher(ae)&&b.setAsHighDownDispatcher(ae,!1),X&&(b.setAsHighDownDispatcher(X,!0),q.setItemGraphicEl(K.dataIndex,X));else{var Z=we("content",a,z,T);Z&&le(ae,Z),X&&b.isHighDownDispatcher(X)&&b.setAsHighDownDispatcher(X,!1),b.setAsHighDownDispatcher(ae,!0),q.setItemGraphicEl(K.dataIndex,ae)}return ae;function ge(st,nt,Ne){if(nt.dataIndex=K.dataIndex,nt.seriesIndex=N.seriesIndex,nt.setShape({x:0,y:0,width:oe,height:ie}),he)Se(nt);else{nt.invisible=!1;var St=K.getVisual("borderColor",!0),Ye=qe.get("borderColor"),vt=E(Ee);vt.fill=St;var It=_(qe);if(It.fill=Ye,Ne){var Ut=oe-2*se;me(vt,It,St,Ut,Xe,{x:se,y:0,width:Ut,height:Xe})}else vt.text=It.text=null;nt.setStyle(vt),b.setElementHoverStyle(nt,It)}st.add(nt)}function le(st,nt){nt.dataIndex=K.dataIndex,nt.seriesIndex=N.seriesIndex;var Ne=Math.max(oe-2*se,0),St=Math.max(ie-2*se,0);if(nt.culling=!0,nt.setShape({x:se,y:se,width:Ne,height:St}),he)Se(nt);else{nt.invisible=!1;var Ye=K.getVisual("color",!0),vt=E(Ee);vt.fill=Ye;var It=_(qe);me(vt,It,Ye,Ne,St),nt.setStyle(vt),b.setElementHoverStyle(nt,It)}st.add(nt)}function Se(st){!st.invisible&&H.push(st)}function me(st,nt,Ne,St,Ye,vt){var It=V.get("name"),Ut=V.getModel(vt?S:p),xt=V.getModel(vt?y:m),Bt=Ut.getShallow("show");b.setLabelStyle(st,nt,Ut,xt,{defaultText:Bt?It:null,autoColor:Ne,isRectText:!0,labelFetcher:N,labelDataIndex:K.dataIndex,labelProp:vt?"upperLabel":"label"}),$(st,vt,Y),$(nt,vt,Y),vt&&(st.textRect=A.clone(vt)),st.truncate=Bt&&Ut.get("ellipsis")?{outerWidth:St,outerHeight:Ye,minChar:2}:null}function $(st,nt,Ne){var St=st.text;if(!nt&&Ne.isLeafRoot&&St!=null){var Ye=N.get("drillDownIcon",!0);st.text=Ye?Ye+" "+St:St}}function we(st,nt,Ne,St){var Ye=_e!=null&&W[st][_e],vt=j[st];return Ye?(W[st][_e]=null,xe(vt,Ye,st)):he||(Ye=new nt({z:F(Ne,St)}),Ye.__tmDepth=Ne,Ye.__tmStorageName=st,We(vt,Ye,st)),P[st][pe]=Ye}function xe(st,nt,Ne){var St=st[pe]={};St.old=Ne==="nodeGroup"?nt.position.slice():A.extend({},nt.shape)}function We(st,nt,Ne){var St=st[pe]={},Ye=K.parentNode;if(Ye&&(!R||R.direction==="drillDown")){var vt=0,It=0,Ut=j.background[Ye.getRawIndex()];!R&&Ut&&Ut.old&&(vt=Ut.old.width,It=Ut.old.height),St.old=Ne==="nodeGroup"?[0,It]:{x:vt,y:It,width:0,height:0}}St.fadein=Ne!=="nodeGroup"}}function F(N,P){var W=N*x+P;return(W-1)/W}k.exports=I},sAZ8:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("+rIm"),g=d("/IIm"),v=d("9KIM"),f=d("IwbS"),l=["axisLine","axisTickLabel","axisName"],u=w.extendComponentView({type:"parallelAxis",init:function(r,s){u.superApply(this,"init",arguments),(this._brushController=new g(s.getZr())).on("brush",A.bind(this._onBrush,this))},render:function(r,s,t,a){if(o(r,s,a))return;this.axisModel=r,this.api=t,this.group.removeAll();var c=this._axisGroup;if(this._axisGroup=new f.Group,this.group.add(this._axisGroup),!r.get("show"))return;var h=n(r,s),p=h.coordinateSystem,m=r.getAreaSelectStyle(),S=m.width,y=r.axis.dim,x=p.getAxisLayout(y),C=A.extend({strokeContainThreshold:S},x),T=new b(r,C);A.each(l,T.add,T),this._axisGroup.add(T.getGroup()),this._refreshBrushController(C,m,r,h,S,t);var _=a&&a.animation===!1?null:r;f.groupTransition(c,this._axisGroup,_)},_refreshBrushController:function(r,s,t,a,c,h){var p=t.axis.getExtent(),m=p[1]-p[0],S=Math.min(30,Math.abs(m)*.1),y=f.BoundingRect.create({x:p[0],y:-c/2,width:m,height:c});y.x-=S,y.width+=2*S,this._brushController.mount({enableGlobalPan:!0,rotation:r.rotation,position:r.position}).setPanels([{panelId:"pl",clipPath:v.makeRectPanelClipPath(y),isTargetByCursor:v.makeRectIsTargetByCursor(y,h,a),getLinearBrushOtherExtent:v.makeLinearBrushOtherExtent(y,0)}]).enableBrush({brushType:"lineX",brushStyle:s,removeOnClick:!0}).updateCovers(e(t))},_onBrush:function(r,s){var t=this.axisModel,a=t.axis,c=A.map(r,function(h){return[a.coordToData(h.range[0],!0),a.coordToData(h.range[1],!0)]});(!t.option.realtime===s.isEnd||s.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:t.id,intervals:c})},dispose:function(){this._brushController.dispose()}});function o(r,s,t){return t&&t.type==="axisAreaSelect"&&s.findComponents({mainType:"parallelAxis",query:t})[0]===r}function e(r){var s=r.axis;return A.map(r.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[s.dataToCoord(t[0],!0),s.dataToCoord(t[1],!0)]}})}function n(r,s){return s.getComponent("parallel",r.get("parallelIndex"))}var i=u;k.exports=i},sE09:function(k,B,d){},sGsY:function(k,B,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),g=d("TSYQ"),v=d.n(g),f=d("H84U"),l=d("/ezw"),u=d("B6l+"),o=d.n(u),e=function(N){var P=N.value,W=N.formatter,R=N.precision,j=N.decimalSeparator,H=N.groupSeparator,K=H===void 0?"":H,U=N.prefixCls,G;if(typeof W=="function")G=W(P);else{var z=String(P),Y=z.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Y||z==="-")G=z;else{var q=Y[1],oe=Y[2]||"0",ie=Y[4]||"";oe=oe.replace(/\B(?=(\d{3})+(?!\d))/g,K),typeof R=="number"&&(ie=o()(ie,R,"0").slice(0,R)),ie&&(ie="".concat(j).concat(ie)),G=[b.createElement("span",{key:"int",className:"".concat(U,"-content-value-int")},q,oe),ie&&b.createElement("span",{key:"decimal",className:"".concat(U,"-content-value-decimal")},ie)]}}return b.createElement("span",{className:"".concat(U,"-content-value")},G)},n=e,i=function(N){var P=N.prefixCls,W=N.className,R=N.style,j=N.valueStyle,H=N.value,K=H===void 0?0:H,U=N.title,G=N.valueRender,z=N.prefix,Y=N.suffix,q=N.loading,oe=N.direction,ie=N.onMouseEnter,se=N.onMouseLeave,he=b.createElement(n,Object(A.a)({},N,{value:K})),pe=v()(P,Object(w.a)({},"".concat(P,"-rtl"),oe==="rtl"),W);return b.createElement("div",{className:pe,style:R,onMouseEnter:ie,onMouseLeave:se},U&&b.createElement("div",{className:"".concat(P,"-title")},U),b.createElement(l.a,{paragraph:!1,loading:q},b.createElement("div",{style:j,className:"".concat(P,"-content")},z&&b.createElement("span",{className:"".concat(P,"-content-prefix")},z),G?G(he):he,Y&&b.createElement("span",{className:"".concat(P,"-content-suffix")},Y))))};i.defaultProps={decimalSeparator:".",groupSeparator:",",loading:!1};var r=Object(f.c)({prefixCls:"statistic"})(i),s=r,t=d("1OyB"),a=d("vuIU"),c=d("Ji7U"),h=d("LK+K"),p=d("ODXe"),m=d("QQZ/"),S=d.n(m),y=[["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 x(F,N){var P=F,W=/\[[^\]]*]/g,R=(N.match(W)||[]).map(function(U){return U.slice(1,-1)}),j=N.replace(W,"[]"),H=y.reduce(function(U,G){var z=Object(p.a)(G,2),Y=z[0],q=z[1];if(U.indexOf(Y)!==-1){var oe=Math.floor(P/q);return P-=oe*q,U.replace(new RegExp("".concat(Y,"+"),"g"),function(ie){var se=ie.length;return S()(oe.toString(),se,"0")})}return U},j),K=0;return H.replace(W,function(){var U=R[K];return K+=1,U})}function C(F,N){var P=N.format,W=P===void 0?"":P,R=new Date(F).getTime(),j=Date.now(),H=Math.max(R-j,0);return x(H,W)}var T=d("0n0R"),_=1e3/30;function E(F){return new Date(F).getTime()}var I=function(F){Object(c.a)(P,F);var N=Object(h.a)(P);function P(){var W;return Object(t.a)(this,P),W=N.apply(this,arguments),W.syncTimer=function(){var R=W.props.value,j=E(R);j>=Date.now()?W.startTimer():W.stopTimer()},W.startTimer=function(){if(W.countdownId)return;W.countdownId=window.setInterval(function(){W.forceUpdate()},_)},W.stopTimer=function(){var R=W.props,j=R.onFinish,H=R.value;if(W.countdownId){clearInterval(W.countdownId),W.countdownId=void 0;var K=E(H);j&&K<Date.now()&&j()}},W.formatCountdown=function(R,j){var H=W.props.format;return C(R,Object(A.a)(Object(A.a)({},j),{format:H}))},W.valueRender=function(R){return Object(T.a)(R,{title:void 0})},W}return Object(a.a)(P,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return b.createElement(s,Object(A.a)({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),P}(b.Component);I.defaultProps={format:"HH:mm:ss"};var L=I;s.Countdown=L;var D=B.a=s},"sK/D":function(k,B,d){var w=d("IwbS"),A=d("OELB"),b=A.round;function g(l,u,o){var e=l.getArea(),n=l.getBaseAxis().isHorizontal(),i=e.x,r=e.y,s=e.width,t=e.height,a=o.get("lineStyle.width")||2;i-=a/2,r-=a/2,s+=a,t+=a,i=Math.floor(i),s=Math.round(s);var c=new w.Rect({shape:{x:i,y:r,width:s,height:t}});return u&&(c.shape[n?"width":"height"]=0,w.initProps(c,{shape:{width:s,height:t}},o)),c}function v(l,u,o){var e=l.getArea(),n=new w.Sector({shape:{cx:b(l.cx,1),cy:b(l.cy,1),r0:b(e.r0,1),r:b(e.r,1),startAngle:e.startAngle,endAngle:e.endAngle,clockwise:e.clockwise}});return u&&(n.shape.endAngle=e.startAngle,w.initProps(n,{shape:{endAngle:e.endAngle}},o)),n}function f(l,u,o){if(l){if(l.type==="polar")return v(l,u,o);if(l.type==="cartesian2d")return g(l,u,o)}else return null;return null}B.createGridClipPath=g,B.createPolarClipPath=v,B.createClipPath=f},sKgW:function(k,B){var d=9007199254740991,w=Math.floor;function A(b,g){var v="";if(!b||g<1||g>d)return v;do g%2&&(v+=b),g=w(g/2),g&&(b+=b);while(g);return v}k.exports=A},sPJy:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("AOa7"),g=d.n(b),v=d("lUTK"),f=d("qVdP")},sRwP:function(k,B,d){d("jsU+"),d("2548"),d("Tp9H"),d("06DH"),d("dnwI"),d("fE02"),d("33Ds")},"sS/r":function(k,B,d){var w=d("4fz+"),A=d("iRjW"),b=d("Yl7c"),g=function(){this.group=new w,this.uid=A.getUID("viewComponent")};g.prototype={constructor:g,init:function(l,u){},render:function(l,u,o,e){},dispose:function(){},filterForExposedEvent:null};var v=g.prototype;v.updateView=v.updateLayout=v.updateVisual=function(l,u,o,e){},b.enableClassExtend(g),b.enableClassManagement(g,{registerWhenExtend:!0});var f=g;k.exports=f},"sW+o":function(k,B,d){var w=d("SrGk"),A=d("bYtY"),b=d("SUKs"),g=d("Qe9p");function v(l,u){w.call(this,l,u,["linearGradient","radialGradient"],"__gradient_in_use__")}A.inherits(v,w),v.prototype.addWithoutUpdate=function(l,u){if(u&&u.style){var o=this;A.each(["fill","stroke"],function(e){if(u.style[e]&&(u.style[e].type==="linear"||u.style[e].type==="radial")){var n=u.style[e],i=o.getDefs(!0),r;n._dom?(r=n._dom,i.contains(n._dom)||o.addDom(r)):r=o.add(n),o.markUsed(u);var s=r.getAttribute("id");l.setAttribute(e,"url(#"+s+")")}})}},v.prototype.add=function(l){var u;if(l.type==="linear")u=this.createElement("linearGradient");else if(l.type==="radial")u=this.createElement("radialGradient");else return b("Illegal gradient type."),null;return l.id=l.id||this.nextId++,u.setAttribute("id","zr"+this._zrId+"-gradient-"+l.id),this.updateDom(l,u),this.addDom(u),u},v.prototype.update=function(l){var u=this;w.prototype.update.call(this,l,function(){var o=l.type,e=l._dom.tagName;o==="linear"&&e==="linearGradient"||o==="radial"&&e==="radialGradient"?u.updateDom(l,l._dom):(u.removeDom(l),u.add(l))})},v.prototype.updateDom=function(l,u){if(l.type==="linear")u.setAttribute("x1",l.x),u.setAttribute("y1",l.y),u.setAttribute("x2",l.x2),u.setAttribute("y2",l.y2);else if(l.type==="radial")u.setAttribute("cx",l.x),u.setAttribute("cy",l.y),u.setAttribute("r",l.r);else{b("Illegal gradient type.");return}l.global?u.setAttribute("gradientUnits","userSpaceOnUse"):u.setAttribute("gradientUnits","objectBoundingBox"),u.innerHTML="";for(var o=l.colorStops,e=0,n=o.length;e<n;++e){var i=this.createElement("stop");i.setAttribute("offset",o[e].offset*100+"%");var r=o[e].color;if(r.indexOf("rgba">-1)){var s=g.parse(r)[3],t=g.toHex(r);i.setAttribute("stop-color","#"+t),i.setAttribute("stop-opacity",s)}else i.setAttribute("stop-color",o[e].color);u.appendChild(i)}l._dom=u},v.prototype.markUsed=function(l){if(l.style){var u=l.style.fill;u&&u._dom&&w.prototype.markUsed.call(this,u._dom),u=l.style.stroke,u&&u._dom&&w.prototype.markUsed.call(this,u._dom)}};var f=v;k.exports=f},sboe:function(k,B,d){"use strict";d.d(B,"a",function(){return b});var w=d("q1tI"),A=d.n(w),b=w.createContext(null)},sdST:function(k,B,d){var w=d("hi0g");function A(b,g){return g=g||{},w(g.coordDimensions||[],b,{dimsDef:g.dimensionsDefine||b.dimensionsDefine,encodeDef:g.encodeDefine||b.encodeDefine,dimCount:g.dimensionsCount,encodeDefaulter:g.encodeDefaulter,generateCoord:g.generateCoord,generateCoordCount:g.generateCoordCount})}k.exports=A},sjKO:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=b;var w=30,A=12;function b(g,v){var f,l,u,o,e,n,i,r,s,t,a,c,h,p,m,S,y,x,C,T,_,E,I,L,D;f=g.state,l=g.next_in,L=g.input,u=l+(g.avail_in-5),o=g.next_out,D=g.output,e=o-(v-g.avail_out),n=o+(g.avail_out-257),i=f.dmax,r=f.wsize,s=f.whave,t=f.wnext,a=f.window,c=f.hold,h=f.bits,p=f.lencode,m=f.distcode,S=(1<<f.lenbits)-1,y=(1<<f.distbits)-1;e:do{h<15&&(c+=L[l++]<<h,h+=8,c+=L[l++]<<h,h+=8),x=p[c&S];t:for(;;){if(C=x>>>24,c>>>=C,h-=C,C=x>>>16&255,C===0)D[o++]=x&65535;else if(C&16){T=x&65535,C&=15,C&&(h<C&&(c+=L[l++]<<h,h+=8),T+=c&(1<<C)-1,c>>>=C,h-=C),h<15&&(c+=L[l++]<<h,h+=8,c+=L[l++]<<h,h+=8),x=m[c&y];r:for(;;){if(C=x>>>24,c>>>=C,h-=C,C=x>>>16&255,C&16){if(_=x&65535,C&=15,h<C&&(c+=L[l++]<<h,h+=8,h<C&&(c+=L[l++]<<h,h+=8)),_+=c&(1<<C)-1,_>i){g.msg="invalid distance too far back",f.mode=w;break e}if(c>>>=C,h-=C,C=o-e,_>C){if(C=_-C,C>s&&f.sane){g.msg="invalid distance too far back",f.mode=w;break e}if(E=0,I=a,t===0){if(E+=r-C,C<T){T-=C;do D[o++]=a[E++];while(--C);E=o-_,I=D}}else if(t<C){if(E+=r+t-C,C-=t,C<T){T-=C;do D[o++]=a[E++];while(--C);if(E=0,t<T){C=t,T-=C;do D[o++]=a[E++];while(--C);E=o-_,I=D}}}else if(E+=t-C,C<T){T-=C;do D[o++]=a[E++];while(--C);E=o-_,I=D}for(;T>2;)D[o++]=I[E++],D[o++]=I[E++],D[o++]=I[E++],T-=3;T&&(D[o++]=I[E++],T>1&&(D[o++]=I[E++]))}else{E=o-_;do D[o++]=D[E++],D[o++]=D[E++],D[o++]=D[E++],T-=3;while(T>2);T&&(D[o++]=D[E++],T>1&&(D[o++]=D[E++]))}}else if((C&64)===0){x=m[(x&65535)+(c&(1<<C)-1)];continue r}else{g.msg="invalid distance code",f.mode=w;break e}break}}else if((C&64)===0){x=p[(x&65535)+(c&(1<<C)-1)];continue t}else if(C&32){f.mode=A;break e}else{g.msg="invalid literal/length code",f.mode=w;break e}break}}while(l<u&&o<n);T=h>>3,l-=T,h-=T<<3,c&=(1<<h)-1,g.next_in=l,g.next_out=o,g.avail_in=l<u?5+(u-l):5-(l-u),g.avail_out=o<n?257+(n-o):257-(o-n),f.hold=c,f.bits=h;return}},szbU:function(k,B,d){var w=d("bYtY"),A=w.each;function b(v){var f=v&&v.visualMap;w.isArray(f)||(f=f?[f]:[]),A(f,function(l){if(!l)return;g(l,"splitList")&&!g(l,"pieces")&&(l.pieces=l.splitList,delete l.splitList);var u=l.pieces;u&&w.isArray(u)&&A(u,function(o){w.isObject(o)&&(g(o,"start")&&!g(o,"min")&&(o.min=o.start),g(o,"end")&&!g(o,"max")&&(o.max=o.end))})})}function g(v,f){return v&&v.hasOwnProperty&&v.hasOwnProperty(f)}k.exports=b},t23M:function(k,B,d){"use strict";var w=d("wx14"),A=d("q1tI"),b=d.n(A),g=d("TOwV");function v(q){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ie=[];return b.a.Children.forEach(q,function(se){if(se==null&&!oe.keepEmpty)return;Array.isArray(se)?ie=ie.concat(v(se)):Object(g.isFragment)(se)&&se.props?ie=ie.concat(v(se.props.children,oe)):ie.push(se)}),ie}var f={};function l(q,oe){}function u(q,oe){}function o(){f={}}function e(q,oe,ie){!oe&&!f[ie]&&(q(!1,ie),f[ie]=!0)}function n(q,oe){e(l,q,oe)}function i(q,oe){e(u,q,oe)}var r=n,s=d("VTBJ"),t=d("U8pU");function a(q,oe,ie){var se=A.useRef({});return(!("value"in se.current)||ie(se.current.condition,oe))&&(se.current.value=q(),se.current.condition=oe),se.current.value}function c(q,oe){typeof q=="function"?q(oe):Object(t.a)(q)==="object"&&q&&"current"in q&&(q.current=oe)}function h(){for(var q=arguments.length,oe=new Array(q),ie=0;ie<q;ie++)oe[ie]=arguments[ie];var se=oe.filter(function(he){return he});return se.length<=1?se[0]:function(he){oe.forEach(function(pe){c(pe,he)})}}function p(){for(var q=arguments.length,oe=new Array(q),ie=0;ie<q;ie++)oe[ie]=arguments[ie];return a(function(){return h.apply(void 0,oe)},oe,function(se,he){return se.length===he.length&&se.every(function(pe,_e){return pe===he[_e]})})}function m(q){var oe,ie,se=Object(g.isMemo)(q)?q.type.type:q.type;return typeof se=="function"&&!((oe=se.prototype)===null||oe===void 0?void 0:oe.render)?!1:!(typeof q=="function"&&!((ie=q.prototype)===null||ie===void 0?void 0:ie.render))}var S=d("i8i4"),y=d.n(S);function x(q){return q instanceof HTMLElement?q:y.a.findDOMNode(q)}var C=d("bdgK"),T=new Map;function _(q){q.forEach(function(oe){var ie,se=oe.target;(ie=T.get(se))===null||ie===void 0||ie.forEach(function(he){return he(se)})})}var E=new C.a(_),I=null,L=null;function D(q,oe){T.has(q)||(T.set(q,new Set),E.observe(q)),T.get(q).add(oe)}function F(q,oe){T.has(q)&&(T.get(q).delete(oe),T.get(q).size||(E.unobserve(q),T.delete(q)))}var N=d("1OyB"),P=d("vuIU"),W=d("Ji7U"),R=d("LK+K"),j=function(q){Object(W.a)(ie,q);var oe=Object(R.a)(ie);function ie(){return Object(N.a)(this,ie),oe.apply(this,arguments)}return Object(P.a)(ie,[{key:"render",value:function(){return this.props.children}}]),ie}(A.Component),H=A.createContext(null);function K(q){var oe=q.children,ie=q.onBatchResize,se=A.useRef(0),he=A.useRef([]),pe=A.useContext(H),_e=A.useCallback(function(De,Xe,J){se.current+=1;var Ee=se.current;he.current.push({size:De,element:Xe,data:J}),Promise.resolve().then(function(){Ee===se.current&&(ie==null||ie(he.current),he.current=[])}),pe==null||pe(De,Xe,J)},[ie,pe]);return A.createElement(H.Provider,{value:_e},oe)}function U(q){var oe=q.children,ie=q.disabled,se=A.useRef(null),he=A.useRef(null),pe=A.useContext(H),_e=A.useRef({width:0,height:0,offsetWidth:0,offsetHeight:0}),De=A.isValidElement(oe)&&m(oe),Xe=De?oe.ref:null,J=A.useMemo(function(){return h(Xe,se)},[Xe,se]),Ee=A.useRef(q);Ee.current=q;var qe=A.useCallback(function(ae){var V=Ee.current,X=V.onResize,Z=V.data,ge=ae.getBoundingClientRect(),le=ge.width,Se=ge.height,me=ae.offsetWidth,$=ae.offsetHeight,we=Math.floor(le),xe=Math.floor(Se);if(_e.current.width!==we||_e.current.height!==xe||_e.current.offsetWidth!==me||_e.current.offsetHeight!==$){var We={width:we,height:xe,offsetWidth:me,offsetHeight:$};_e.current=We;var st=me===Math.round(le)?le:me,nt=$===Math.round(Se)?Se:$,Ne=Object(s.a)(Object(s.a)({},We),{},{offsetWidth:st,offsetHeight:nt});pe==null||pe(Ne,ae,Z),X&&Promise.resolve().then(function(){X(Ne,ae)})}},[]);return A.useEffect(function(){var ae=x(se.current)||x(he.current);return ae&&!ie&&D(ae,qe),function(){return F(ae,qe)}},[se.current,ie]),A.createElement(j,{ref:he},De?A.cloneElement(oe,{ref:J}):oe)}var G="rc-observer-key";function z(q){var oe=q.children,ie=v(oe);return ie.map(function(se,he){var pe=(se==null?void 0:se.key)||"".concat(G,"-").concat(he);return A.createElement(U,Object(w.a)({},q,{key:pe}),se)})}z.Collection=K;var Y=B.a=z},t3Fx:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=Object.assign||function(a){for(var c=1;c<arguments.length;c++){var h=arguments[c];for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(a[p]=h[p])}return a},A=function(){function a(c,h){for(var p=0;p<h.length;p++){var m=h[p];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(c,m.key,m)}}return function(c,h,p){return h&&a(c.prototype,h),p&&a(c,p),c}}(),b=d("q1tI"),g=n(b),v=d("17x9"),f=n(v),l=d("tkwv"),u=n(l),o=d("u3os"),e=d("kzFp");function n(a){return a&&a.__esModule?a:{default:a}}function i(a,c){if(!(a instanceof c))throw new TypeError("Cannot call a class as a function")}function r(a,c){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:a}function s(a,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}var t=function(a){s(c,a);function c(h){i(this,c);var p=r(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,h));return p.getEchartsInstance=function(){return p.echartsLib.getInstanceByDom(p.echartsElement)||p.echartsLib.init(p.echartsElement,p.props.theme,p.props.opts)},p.dispose=function(){if(p.echartsElement){try{(0,o.clear)(p.echartsElement)}catch(m){console.warn(m)}p.echartsLib.dispose(p.echartsElement)}},p.rerender=function(){var m=p.props,S=m.onEvents,y=m.onChartReady,x=p.renderEchartDom();p.bindEvents(x,S||{}),typeof y=="function"&&p.props.onChartReady(x),p.echartsElement&&(0,o.bind)(p.echartsElement,function(){try{x.resize()}catch(C){console.warn(C)}})},p.bindEvents=function(m,S){var y=function(T,_){typeof T=="string"&&typeof _=="function"&&m.on(T,function(E){_(E,m)})};for(var x in S)Object.prototype.hasOwnProperty.call(S,x)&&y(x,S[x])},p.renderEchartDom=function(){var m=p.getEchartsInstance();return m.setOption(p.props.option,p.props.notMerge||!1,p.props.lazyUpdate||!1),p.props.showLoading?m.showLoading(p.props.loadingOption||null):m.hideLoading(),m},p.echartsLib=h.echarts,p.echartsElement=null,p}return A(c,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(p){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(p,this.props))return;if(!(0,u.default)(p.theme,this.props.theme)||!(0,u.default)(p.opts,this.props.opts)||!(0,u.default)(p.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var m=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,u.default)((0,e.pick)(this.props,m),(0,e.pick)(p,m)))return;var S=this.renderEchartDom();if(!(0,u.default)(p.style,this.props.style)||!(0,u.default)(p.className,this.props.className))try{S.resize()}catch(y){console.warn(y)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var p=this,m=this.props,S=m.style,y=m.className,x=w({height:300},S);return g.default.createElement("div",{ref:function(T){p.echartsElement=T},style:x,className:"echarts-for-react "+y})}}]),c}(b.Component);B.default=t,t.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},t.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(k,B,d){var w=d("bYtY"),A=d("IwbS"),b=d("Qxkt"),g=d("Znkb"),v=d("+rIm"),f=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function l(n,i,r){i[1]>i[0]&&(i=i.slice().reverse());var s=n.coordToPoint([i[0],r]),t=n.coordToPoint([i[1],r]);return{x1:s[0],y1:s[1],x2:t[0],y2:t[1]}}function u(n){var i=n.getRadiusAxis();return i.inverse?0:1}function o(n){var i=n[0],r=n[n.length-1];i&&r&&Math.abs(Math.abs(i.coord-r.coord)-360)<1e-4&&n.pop()}var e=g.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(n,i){if(this.group.removeAll(),!n.get("show"))return;var r=n.axis,s=r.polar,t=s.getRadiusAxis().getExtent(),a=r.getTicksCoords(),c=r.getMinorTicksCoords(),h=w.map(r.getViewLabels(),function(p){var p=w.clone(p);return p.coord=r.dataToCoord(p.tickValue),p});o(h),o(a),w.each(f,function(p){n.get(p+".show")&&(!r.scale.isBlank()||p==="axisLine")&&this["_"+p](n,s,a,c,t,h)},this)},_axisLine:function(n,i,r,s,t){var a=n.getModel("axisLine.lineStyle"),c=u(i),h=c?0:1,p;t[h]===0?p=new A.Circle({shape:{cx:i.cx,cy:i.cy,r:t[c]},style:a.getLineStyle(),z2:1,silent:!0}):p=new A.Ring({shape:{cx:i.cx,cy:i.cy,r:t[c],r0:t[h]},style:a.getLineStyle(),z2:1,silent:!0}),p.style.fill=null,this.group.add(p)},_axisTick:function(n,i,r,s,t){var a=n.getModel("axisTick"),c=(a.get("inside")?-1:1)*a.get("length"),h=t[u(i)],p=w.map(r,function(m){return new A.Line({shape:l(i,[h,h+c],m.coord)})});this.group.add(A.mergePath(p,{style:w.defaults(a.getModel("lineStyle").getLineStyle(),{stroke:n.get("axisLine.lineStyle.color")})}))},_minorTick:function(n,i,r,s,t){if(!s.length)return;for(var a=n.getModel("axisTick"),c=n.getModel("minorTick"),h=(a.get("inside")?-1:1)*c.get("length"),p=t[u(i)],m=[],S=0;S<s.length;S++)for(var y=0;y<s[S].length;y++)m.push(new A.Line({shape:l(i,[p,p+h],s[S][y].coord)}));this.group.add(A.mergePath(m,{style:w.defaults(c.getModel("lineStyle").getLineStyle(),w.defaults(a.getLineStyle(),{stroke:n.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(n,i,r,s,t,a){var c=n.getCategories(!0),h=n.getModel("axisLabel"),p=h.get("margin"),m=n.get("triggerEvent");w.each(a,function(S,y){var x=h,C=S.tickValue,T=t[u(i)],_=i.coordToPoint([T+p,S.coord]),E=i.cx,I=i.cy,L=Math.abs(_[0]-E)/T<.3?"center":_[0]>E?"left":"right",D=Math.abs(_[1]-I)/T<.3?"middle":_[1]>I?"top":"bottom";c&&c[C]&&c[C].textStyle&&(x=new b(c[C].textStyle,h,h.ecModel));var F=new A.Text({silent:v.isLabelSilent(n)});this.group.add(F),A.setTextStyle(F.style,x,{x:_[0],y:_[1],textFill:x.getTextColor()||n.get("axisLine.lineStyle.color"),text:S.formattedLabel,textAlign:L,textVerticalAlign:D}),m&&(F.eventData=v.makeAxisEventDataBase(n),F.eventData.targetType="axisLabel",F.eventData.value=S.rawLabel)},this)},_splitLine:function(n,i,r,s,t){var a=n.getModel("splitLine"),c=a.getModel("lineStyle"),h=c.get("color"),p=0;h=h instanceof Array?h:[h];for(var m=[],S=0;S<r.length;S++){var y=p++%h.length;m[y]=m[y]||[],m[y].push(new A.Line({shape:l(i,t,r[S].coord)}))}for(var S=0;S<m.length;S++)this.group.add(A.mergePath(m[S],{style:w.defaults({stroke:h[S%h.length]},c.getLineStyle()),silent:!0,z:n.get("z")}))},_minorSplitLine:function(n,i,r,s,t){if(!s.length)return;for(var a=n.getModel("minorSplitLine"),c=a.getModel("lineStyle"),h=[],p=0;p<s.length;p++)for(var m=0;m<s[p].length;m++)h.push(new A.Line({shape:l(i,t,s[p][m].coord)}));this.group.add(A.mergePath(h,{style:c.getLineStyle(),silent:!0,z:n.get("z")}))},_splitArea:function(n,i,r,s,t){if(!r.length)return;var a=n.getModel("splitArea"),c=a.getModel("areaStyle"),h=c.get("color"),p=0;h=h instanceof Array?h:[h];for(var m=[],S=Math.PI/180,y=-r[0].coord*S,x=Math.min(t[0],t[1]),C=Math.max(t[0],t[1]),T=n.get("clockwise"),_=1;_<r.length;_++){var E=p++%h.length;m[E]=m[E]||[],m[E].push(new A.Sector({shape:{cx:i.cx,cy:i.cy,r0:x,r:C,startAngle:y,endAngle:-r[_].coord*S,clockwise:T},silent:!0})),y=-r[_].coord*S}for(var _=0;_<m.length;_++)this.group.add(A.mergePath(m[_],{style:w.defaults({fill:h[_%h.length]},c.getAreaStyle()),silent:!0}))}});k.exports=e},tceW:function(k,B,d){var w=d("KCsZ"),A=w([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),b={getBarItemStyle:function(g){var v=A(this,g);if(this.getBorderLineDash){var f=this.getBorderLineDash();f&&(v.lineDash=f)}return v}};k.exports=b},tkwv:function(k,B,d){"use strict";var w=Array.isArray,A=Object.keys,b=Object.prototype.hasOwnProperty;k.exports=function g(v,f){if(v===f)return!0;if(v&&f&&typeof v=="object"&&typeof f=="object"){var l=w(v),u=w(f),o,e,n;if(l&&u){if(e=v.length,e!=f.length)return!1;for(o=e;o--!==0;)if(!g(v[o],f[o]))return!1;return!0}if(l!=u)return!1;var i=v instanceof Date,r=f instanceof Date;if(i!=r)return!1;if(i&&r)return v.getTime()==f.getTime();var s=v instanceof RegExp,t=f instanceof RegExp;if(s!=t)return!1;if(s&&t)return v.toString()==f.toString();var a=A(v);if(e=a.length,e!==A(f).length)return!1;for(o=e;o--!==0;)if(!b.call(f,a[o]))return!1;for(o=e;o--!==0;)if(n=a[o],!g(v[n],f[n]))return!1;return!0}return v!==v&&f!==f}},txkQ:function(k,B,d){var w=d("aX58");B.zrender=w;var A=d("Fofx");B.matrix=A;var b=d("QBsz");B.vector=b;var g=d("bYtY"),v=d("Qe9p");B.color=v;var f=d("IwbS"),l=d("OELB");B.number=l;var u=d("7aKB");B.format=u;var o=d("iLNv"),e=o.throttle;B.throttle=o.throttle;var n=d("FUi9");B.helper=n;var i=d("vafp");B.parseGeoJSON=i;var r=d("YXkt");B.List=r;var s=d("Qxkt");B.Model=s;var t=d("hM6l");B.Axis=t;var a=d("ItGF");B.env=a;var c=i,h={};g.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(m){h[m]=g[m]});var p={};g.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(m){p[m]=f[m]}),B.parseGeoJson=c,B.util=h,B.graphic=p},u3DP:function(k,B,d){var w=d("6GrX"),A=d("OELB"),b=A.parsePercent,g=Math.PI/180;function v(o,e,n,i,r,s,t,a,c,h){o.sort(function(L,D){return L.y-D.y});function p(L,D,F,N){for(var P=L;P<D&&!(o[P].y+F>c+t);P++)if(o[P].y+=F,P>L&&P+1<D&&o[P+1].y>o[P].y+o[P].height){m(P,F/2);return}m(D-1,F/2)}function m(L,D){for(var F=L;F>=0&&!(o[F].y-D<c);F--)if(o[F].y-=D,F>0&&o[F].y>o[F-1].y+o[F-1].height)break}function S(L,D,F,N,P,W){for(var R=(W>0,D?Number.MAX_VALUE:0),j=0,H=L.length;j<H;j++){if(L[j].labelAlignTo!=="none")continue;var K=Math.abs(L[j].y-N),U=L[j].len,G=L[j].len2,z=K<P+U?Math.sqrt((P+U+G)*(P+U+G)-K*K):Math.abs(L[j].x-F);D&&z>=R&&(z=R-10),!D&&z<=R&&(z=R+10),L[j].x=F+z*W,R=z}}for(var y=0,x,C=o.length,T=[],_=[],E=0;E<C;E++){if(o[E].position==="outer"&&o[E].labelAlignTo==="labelLine"){var I=o[E].x-h;o[E].linePoints[1][0]+=I,o[E].x=h}x=o[E].y-y,x<0&&p(E,C,-x,r),y=o[E].y+o[E].height}t-y<0&&m(C-1,y-t);for(var E=0;E<C;E++)o[E].y>=n?_.push(o[E]):T.push(o[E]);S(T,!1,e,n,i,r),S(_,!0,e,n,i,r)}function f(o,e,n,i,r,s,t,a){for(var c=[],h=[],p=Number.MAX_VALUE,m=-Number.MAX_VALUE,S=0;S<o.length;S++){if(l(o[S]))continue;o[S].x<e?(p=Math.min(p,o[S].x),c.push(o[S])):(m=Math.max(m,o[S].x),h.push(o[S]))}v(h,e,n,i,1,r,s,t,a,m),v(c,e,n,i,-1,r,s,t,a,p);for(var S=0;S<o.length;S++){var y=o[S];if(l(y))continue;var x=y.linePoints;if(x){var C=y.labelAlignTo==="edge",T=y.textRect.width,_;C?y.x<e?_=x[2][0]-y.labelDistance-t-y.labelMargin:_=t+r-y.labelMargin-x[2][0]-y.labelDistance:y.x<e?_=y.x-t-y.bleedMargin:_=t+r-y.x-y.bleedMargin,_<y.textRect.width&&(y.text=w.truncateText(y.text,_,y.font),y.labelAlignTo==="edge"&&(T=w.getWidth(y.text,y.font)));var E=x[1][0]-x[2][0];C?y.x<e?x[2][0]=t+y.labelMargin+T+y.labelDistance:x[2][0]=t+r-y.labelMargin-T-y.labelDistance:(y.x<e?x[2][0]=y.x+y.labelDistance:x[2][0]=y.x-y.labelDistance,x[1][0]=x[2][0]+E),x[1][1]=x[2][1]=y.y}}}function l(o){return o.position==="center"}function u(o,e,n,i,r,s){var t=o.getData(),a=[],c,h,p=!1,m=(o.get("minShowLabelAngle")||0)*g;t.each(function(S){var y=t.getItemLayout(S),x=t.getItemModel(S),C=x.getModel("label"),T=C.get("position")||x.get("emphasis.label.position"),_=C.get("distanceToLabelLine"),E=C.get("alignTo"),I=b(C.get("margin"),n),L=C.get("bleedMargin"),D=C.getFont(),F=x.getModel("labelLine"),N=F.get("length");N=b(N,n);var P=F.get("length2");if(P=b(P,n),y.angle<m)return;var W=(y.startAngle+y.endAngle)/2,R=Math.cos(W),j=Math.sin(W),H,K,U,G;c=y.cx,h=y.cy;var z=o.getFormattedLabel(S,"normal")||t.getName(S),Y=w.getBoundingRect(z,D,G,"top"),q=T==="inside"||T==="inner";if(T==="center")H=y.cx,K=y.cy,G="center";else{var oe=(q?(y.r+y.r0)/2*R:y.r*R)+c,ie=(q?(y.r+y.r0)/2*j:y.r*j)+h;if(H=oe+R*3,K=ie+j*3,!q){var se=oe+R*(N+e-y.r),he=ie+j*(N+e-y.r),pe=se+(R<0?-1:1)*P,_e=he;E==="edge"?H=R<0?r+I:r+n-I:H=pe+(R<0?-_:_),K=_e,U=[[oe,ie],[se,he],[pe,_e]]}G=q?"center":E==="edge"?R>0?"right":"left":R>0?"left":"right"}var De,Xe=C.get("rotate");typeof Xe=="number"?De=Xe*(Math.PI/180):De=Xe?R<0?-W+Math.PI:-W:0,p=!!De,y.label={x:H,y:K,position:T,height:Y.height,len:N,len2:P,linePoints:U,textAlign:G,verticalAlign:"middle",rotation:De,inside:q,labelDistance:_,labelAlignTo:E,labelMargin:I,bleedMargin:L,textRect:Y,text:z,font:D},q||a.push(y.label)}),!p&&o.get("avoidLabelOverlap")&&f(a,c,h,e,n,i,r,s)}k.exports=u},u3os:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.ver=B.clear=B.bind=void 0;var w=d("P4Qj"),A=function(f,l){var u=(0,w.getSensor)(f);return u.bind(l),function(){u.unbind(l)}};B.bind=A;var b=function(f){var l=(0,w.getSensor)(f);(0,w.removeSensor)(l)};B.clear=b;var g="1.0.1";B.ver=g},uAnK:function(k,B,d){var w=d("bYtY"),A=d("Kagy"),b=d("KxfA"),g=b.retrieveRawValue;function v(f,l){var u=l.getModel("aria");if(u.get("show")){if(u.get("description")){f.setAttribute("aria-label",u.get("description"));return}}else return;var o=0;l.eachSeries(function(S,y){++o},this);var e=u.get("data.maxCount")||10,n=u.get("series.maxCount")||10,i=Math.min(o,n),r;if(o<1)return;var s=p();s?r=c(h("general.withTitle"),{title:s}):r=h("general.withoutTitle");var t=[],a=o>1?"series.multiple.prefix":"series.single.prefix";r+=c(h(a),{seriesCount:o}),l.eachSeries(function(S,y){if(y<i){var x,C=S.get("name"),T="series."+(o>1?"multiple":"single")+".";x=h(C?T+"withName":T+"withoutName"),x=c(x,{seriesId:S.seriesIndex,seriesName:S.get("name"),seriesType:m(S.subType)});var _=S.getData();window.data=_,_.count()>e?x+=c(h("data.partialData"),{displayCnt:e}):x+=h("data.allData");for(var E=[],I=0;I<_.count();I++)if(I<e){var L=_.getName(I),D=g(_,I);E.push(c(h(L?"data.withName":"data.withoutName"),{name:L,value:D}))}x+=E.join(h("data.separator.middle"))+h("data.separator.end"),t.push(x)}}),r+=t.join(h("series.multiple.separator.middle"))+h("series.multiple.separator.end"),f.setAttribute("aria-label",r);function c(S,y){if(typeof S!="string")return S;var x=S;return w.each(y,function(C,T){x=x.replace(new RegExp("\\{\\s*"+T+"\\s*\\}","g"),C)}),x}function h(S){var y=u.get(S);if(y==null){for(var x=S.split("."),C=A.aria,T=0;T<x.length;++T)C=C[x[T]];return C}else return y}function p(){var S=l.getModel("title").option;return S&&S.length&&(S=S[0]),S&&S.text}function m(S){return A.series.typeNames[S]||"\u81EA\u5B9A\u4E49\u56FE"}}k.exports=v},uK0f:function(k,B,d){(function(w,A){k.exports=A()})(this,function(){"use strict";function w(A,b,g){g=g||{},g.childrenKeyName=g.childrenKeyName||"children";var v=A||[],f=[],l=0;do{var u=v.filter(function(o){return b(o,l)})[0];if(!u)break;f.push(u),v=u[g.childrenKeyName]||[],l+=1}while(v.length>0);return f}return w})},uOyE:function(k,B,d){var w=d("ProS");w.registerAction({type:"brush",event:"brush"},function(A,b){b.eachComponent({mainType:"brush",query:A},function(g){g.setAreas(A.areas)})}),w.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),w.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(k,B,d){k.exports=w;function w(){return d("gaXo"),{}}},v3Qx:function(k,B){var d={}.toString;k.exports=Array.isArray||function(w){return d.call(w)=="[object Array]"}},v56E:function(k,B,d){},v5uJ:function(k,B,d){var w=d("ProS"),A=d("2B6p"),b=A.updateCenterAndZoom;w.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(g,v){v.eachComponent({mainType:"series",subType:"tree",query:g},function(f){var l=g.dataIndex,u=f.getData().tree,o=u.getNodeByDataIndex(l);o.isExpand=!o.isExpand})}),w.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(g,v){v.eachComponent({mainType:"series",subType:"tree",query:g},function(f){var l=f.coordinateSystem,u=b(l,g);f.setCenter&&f.setCenter(u.center),f.setZoom&&f.setZoom(u.zoom)})})},"vF/C":function(k,B,d){var w=d("bLfw");w.registerSubTypeDefaulter("visualMap",function(A){return!A.categories&&(!(A.pieces?A.pieces.length>0:A.splitNumber>0)||A.calculable)?"continuous":"piecewise"})},vKoX:function(k,B,d){var w=d("SrGk"),A=d("bYtY");function b(f,l){w.call(this,f,l,["filter"],"__filter_in_use__","_shadowDom")}A.inherits(b,w),b.prototype.addWithoutUpdate=function(f,l){if(l&&g(l.style)){var u;if(l._shadowDom){u=l._shadowDom;var o=this.getDefs(!0);o.contains(l._shadowDom)||this.addDom(u)}else u=this.add(l);this.markUsed(l);var e=u.getAttribute("id");f.style.filter="url(#"+e+")"}},b.prototype.add=function(f){var l=this.createElement("filter");return f._shadowDomId=f._shadowDomId||this.nextId++,l.setAttribute("id","zr"+this._zrId+"-shadow-"+f._shadowDomId),this.updateDom(f,l),this.addDom(l),l},b.prototype.update=function(f,l){var u=l.style;if(g(u)){var o=this;w.prototype.update.call(this,l,function(){o.updateDom(l,l._shadowDom)})}else this.remove(f,l)},b.prototype.remove=function(f,l){l._shadowDomId!=null&&(this.removeDom(f),f.style.filter="")},b.prototype.updateDom=function(f,l){var u=l.getElementsByTagName("feDropShadow");u.length===0?u=this.createElement("feDropShadow"):u=u[0];var o=f.style,e=f.scale&&f.scale[0]||1,n=f.scale&&f.scale[1]||1,i,r,s,t;if(o.shadowBlur||o.shadowOffsetX||o.shadowOffsetY)i=o.shadowOffsetX||0,r=o.shadowOffsetY||0,s=o.shadowBlur,t=o.shadowColor;else if(o.textShadowBlur)i=o.textShadowOffsetX||0,r=o.textShadowOffsetY||0,s=o.textShadowBlur,t=o.textShadowColor;else{this.removeDom(l,o);return}u.setAttribute("dx",i/e),u.setAttribute("dy",r/n),u.setAttribute("flood-color",t);var a=s/2/e,c=s/2/n,h=a+" "+c;u.setAttribute("stdDeviation",h),l.setAttribute("x","-100%"),l.setAttribute("y","-100%"),l.setAttribute("width",Math.ceil(s/2*200)+"%"),l.setAttribute("height",Math.ceil(s/2*200)+"%"),l.appendChild(u),f._shadowDom=l},b.prototype.markUsed=function(f){f._shadowDom&&w.prototype.markUsed.call(this,f._shadowDom)};function g(f){return f&&(f.shadowBlur||f.shadowOffsetX||f.shadowOffsetY||f.textShadowBlur||f.textShadowOffsetX||f.textShadowOffsetY)}var v=b;k.exports=v},vL6D:function(k,B,d){var w=d("bYtY"),A=d("+rIm"),b=d("IwbS"),g=d("7bkD"),v=d("Znkb"),f=d("WN+l"),l=f.rectCoordAxisBuildSplitArea,u=f.rectCoordAxisHandleRemove,o=["axisLine","axisTickLabel","axisName"],e=["splitArea","splitLine"],n=v.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(r,s,t,a){var c=this.group;c.removeAll();var h=this._axisGroup;this._axisGroup=new b.Group;var p=g.layout(r),m=new A(r,p);w.each(o,m.add,m),c.add(this._axisGroup),c.add(m.getGroup()),w.each(e,function(S){r.get(S+".show")&&this["_"+S](r)},this),b.groupTransition(h,this._axisGroup,r),n.superCall(this,"render",r,s,t,a)},remove:function(){u(this)},_splitLine:function(r){var s=r.axis;if(s.scale.isBlank())return;var t=r.getModel("splitLine"),a=t.getModel("lineStyle"),c=a.get("width"),h=a.get("color");h=h instanceof Array?h:[h];for(var p=r.coordinateSystem.getRect(),m=s.isHorizontal(),S=[],y=0,x=s.getTicksCoords({tickModel:t}),C=[],T=[],_=0;_<x.length;++_){var E=s.toGlobalCoord(x[_].coord);m?(C[0]=E,C[1]=p.y,T[0]=E,T[1]=p.y+p.height):(C[0]=p.x,C[1]=E,T[0]=p.x+p.width,T[1]=E);var I=y++%h.length;S[I]=S[I]||[],S[I].push(new b.Line({subPixelOptimize:!0,shape:{x1:C[0],y1:C[1],x2:T[0],y2:T[1]},style:{lineWidth:c},silent:!0}))}for(var _=0;_<S.length;++_)this.group.add(b.mergePath(S[_],{style:{stroke:h[_%h.length],lineDash:a.getLineDash(c),lineWidth:c},silent:!0}))},_splitArea:function(r){l(this,this._axisGroup,r,r)}}),i=n;k.exports=i},vWvF:function(k,B,d){var w=d("Bq2U"),A=d("SUKs"),b=d("bYtY"),g=b.isString,v=b.isFunction,f=b.isObject,l=b.isArrayLike,u=b.indexOf,o=function(){this.animators=[]};o.prototype={constructor:o,animate:function(t,a){var c,h=!1,p=this,m=this.__zr;if(t){var S=t.split("."),y=p;h=S[0]==="shape";for(var x=0,C=S.length;x<C;x++){if(!y)continue;y=y[S[x]]}y&&(c=y)}else c=p;if(!c){A('Property "'+t+'" is not existed in element '+p.id);return}var T=p.animators,_=new w(c,a);return _.during(function(E){p.dirty(h)}).done(function(){T.splice(u(T,_),1)}),T.push(_),m&&m.animation.addAnimator(_),_},stopAnimation:function(t){for(var a=this.animators,c=a.length,h=0;h<c;h++)a[h].stop(t);return a.length=0,this},animateTo:function(t,a,c,h,p,m){e(this,t,a,c,h,p,m)},animateFrom:function(t,a,c,h,p,m){e(this,t,a,c,h,p,m,!0)}};function e(s,t,a,c,h,p,m,S){g(c)?(p=h,h=c,c=0):v(h)?(p=h,h="linear",c=0):v(c)?(p=c,c=0):v(a)?(p=a,a=500):a||(a=500),s.stopAnimation(),n(s,"",s,t,a,c,S);var y=s.animators.slice(),x=y.length;function C(){x--,x||p&&p()}x||p&&p();for(var T=0;T<y.length;T++)y[T].done(C).start(h,m)}function n(s,t,a,c,h,p,m){var S={},y=0;for(var x in c){if(!c.hasOwnProperty(x))continue;a[x]!=null?f(c[x])&&!l(c[x])?n(s,t?t+"."+x:x,a[x],c[x],h,p,m):(m?(S[x]=a[x],i(s,t,x,c[x])):S[x]=c[x],y++):c[x]!=null&&!m&&i(s,t,x,c[x])}y>0&&s.animate(t,!1).when(h==null?500:h,S).delay(p||0)}function i(s,t,a,c){if(!t)s.attr(a,c);else{var h={};h[t]={},h[t][a]=c,s.attr(h)}}var r=o;k.exports=r},vZ6x:function(k,B,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),g=d("IwbS"),v=d("4NO4"),f=d("9KIM"),l=b.each,u=b.indexOf,o=b.curry,e=["dataToPoint","pointToData"],n=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function i(_,E,I){var L=this._targetInfoList=[],D={},F=t(E,_);l(a,function(N,P){(!I||!I.include||u(I.include,P)>=0)&&N(F,L,D)})}var r=i.prototype;r.setOutputRanges=function(_,E){this.matchOutputRanges(_,E,function(I,L,D){if((I.coordRanges||(I.coordRanges=[])).push(L),!I.coordRange){I.coordRange=L;var F=p[I.brushType](0,D,L);I.__rangeOffset={offset:S[I.brushType](F.values,I.range,[1,1]),xyMinMax:F.xyMinMax}}})},r.matchOutputRanges=function(_,E,I){l(_,function(L){var D=this.findTargetInfo(L,E);D&&D!==!0&&b.each(D.coordSyses,function(F){var N=p[L.brushType](1,F,L.range);I(L,N.values,F,E)})},this)},r.setInputRanges=function(_,E){l(_,function(I){var L=this.findTargetInfo(I,E);if(I.range=I.range||[],L&&L!==!0){I.panelId=L.panelId;var D=p[I.brushType](0,L.coordSys,I.coordRange),F=I.__rangeOffset;I.range=F?S[I.brushType](D.values,F.offset,x(D.xyMinMax,F.xyMinMax)):D.values}},this)},r.makePanelOpts=function(_,E){return b.map(this._targetInfoList,function(I){var L=I.getPanelRect();return{panelId:I.panelId,defaultBrushType:E&&E(I),clipPath:f.makeRectPanelClipPath(L),isTargetByCursor:f.makeRectIsTargetByCursor(L,_,I.coordSysModel),getLinearBrushOtherExtent:f.makeLinearBrushOtherExtent(L)}})},r.controlSeries=function(_,E,I){var L=this.findTargetInfo(_,I);return L===!0||L&&u(L.coordSyses,E.coordinateSystem)>=0},r.findTargetInfo=function(_,E){for(var I=this._targetInfoList,L=t(E,_),D=0;D<I.length;D++){var F=I[D],N=_.panelId;if(N){if(F.panelId===N)return F}else for(var D=0;D<c.length;D++)if(c[D](L,F))return F}return!0};function s(_){return _[0]>_[1]&&_.reverse(),_}function t(_,E){return v.parseFinder(_,E,{includeMainTypes:n})}var a={grid:function(_,E){var I=_.xAxisModels,L=_.yAxisModels,D=_.gridModels,F=b.createHashMap(),N={},P={};if(!I&&!L&&!D)return;l(I,function(W){var R=W.axis.grid.model;F.set(R.id,R),N[R.id]=!0}),l(L,function(W){var R=W.axis.grid.model;F.set(R.id,R),P[R.id]=!0}),l(D,function(W){F.set(W.id,W),N[W.id]=!0,P[W.id]=!0}),F.each(function(W){var R=W.coordinateSystem,j=[];l(R.getCartesians(),function(H,K){(u(I,H.getAxis("x").model)>=0||u(L,H.getAxis("y").model)>=0)&&j.push(H)}),E.push({panelId:"grid--"+W.id,gridModel:W,coordSysModel:W,coordSys:j[0],coordSyses:j,getPanelRect:h.grid,xAxisDeclared:N[W.id],yAxisDeclared:P[W.id]})})},geo:function(_,E){l(_.geoModels,function(I){var L=I.coordinateSystem;E.push({panelId:"geo--"+I.id,geoModel:I,coordSysModel:I,coordSys:L,coordSyses:[L],getPanelRect:h.geo})})}},c=[function(_,E){var I=_.xAxisModel,L=_.yAxisModel,D=_.gridModel;return!D&&I&&(D=I.axis.grid.model),!D&&L&&(D=L.axis.grid.model),D&&D===E.gridModel},function(_,E){var I=_.geoModel;return I&&I===E.geoModel}],h={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var _=this.coordSys,E=_.getBoundingRect().clone();return E.applyTransform(g.getTransform(_)),E}},p={lineX:o(m,0),lineY:o(m,1),rect:function(_,E,I){var L=E[e[_]]([I[0][0],I[1][0]]),D=E[e[_]]([I[0][1],I[1][1]]),F=[s([L[0],D[0]]),s([L[1],D[1]])];return{values:F,xyMinMax:F}},polygon:function(_,E,I){var L=[[Infinity,-Infinity],[Infinity,-Infinity]],D=b.map(I,function(F){var N=E[e[_]](F);return L[0][0]=Math.min(L[0][0],N[0]),L[1][0]=Math.min(L[1][0],N[1]),L[0][1]=Math.max(L[0][1],N[0]),L[1][1]=Math.max(L[1][1],N[1]),N});return{values:D,xyMinMax:L}}};function m(_,E,I,L){var D=I.getAxis(["x","y"][_]),F=s(b.map([0,1],function(P){return E?D.coordToData(D.toLocalCoord(L[P])):D.toGlobalCoord(D.dataToCoord(L[P]))})),N=[];return N[_]=F,N[1-_]=[NaN,NaN],{values:F,xyMinMax:N}}var S={lineX:o(y,0),lineY:o(y,1),rect:function(_,E,I){return[[_[0][0]-I[0]*E[0][0],_[0][1]-I[0]*E[0][1]],[_[1][0]-I[1]*E[1][0],_[1][1]-I[1]*E[1][1]]]},polygon:function(_,E,I){return b.map(_,function(L,D){return[L[0]-I[0]*E[D][0],L[1]-I[1]*E[D][1]]})}};function y(_,E,I,L){return[E[0]-L[_]*I[0],E[1]-L[_]*I[1]]}function x(_,E){var I=C(_),L=C(E),D=[I[0]/L[0],I[1]/L[1]];return isNaN(D[0])&&(D[0]=1),isNaN(D[1])&&(D[1]=1),D}function C(_){return _?[_[0][1]-_[0][0],_[1][1]-_[1][0]]:[NaN,NaN]}var T=i;k.exports=T},vZI5:function(k,B,d){var w=d("bYtY"),A=d("T4UG"),b=d("5GhG"),g=b.seriesModelMixin,v=A.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(l,u,o){var e=u.getItemLayout(l);return e&&o.rect(e.brushRect)}});w.mixin(v,g,!0);var f=v;k.exports=f},vafp:function(k,B,d){var w=d("bYtY"),A=d("8nly");function b(f){if(!f.UTF8Encoding)return f;var l=f.UTF8Scale;l==null&&(l=1024);for(var u=f.features,o=0;o<u.length;o++)for(var e=u[o],n=e.geometry,i=n.coordinates,r=n.encodeOffsets,s=0;s<i.length;s++){var t=i[s];if(n.type==="Polygon")i[s]=g(t,r[s],l);else if(n.type==="MultiPolygon")for(var a=0;a<t.length;a++){var c=t[a];t[a]=g(c,r[s][a],l)}}return f.UTF8Encoding=!1,f}function g(f,l,u){for(var o=[],e=l[0],n=l[1],i=0;i<f.length;i+=2){var r=f.charCodeAt(i)-64,s=f.charCodeAt(i+1)-64;r=r>>1^-(r&1),s=s>>1^-(s&1),r+=e,s+=n,e=r,n=s,o.push([r/u,s/u])}return o}function v(f,l){return b(f),w.map(w.filter(f.features,function(u){return u.geometry&&u.properties&&u.geometry.coordinates.length>0}),function(u){var o=u.properties,e=u.geometry,n=e.coordinates,i=[];e.type==="Polygon"&&i.push({type:"polygon",exterior:n[0],interiors:n.slice(1)}),e.type==="MultiPolygon"&&w.each(n,function(s){s[0]&&i.push({type:"polygon",exterior:s[0],interiors:s.slice(1)})});var r=new A(o[l||"name"],i,o.cp);return r.properties=o,r})}k.exports=v},vcCh:function(k,B,d){var w=d("ProS");d("0qV/"),w.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(A,b){b.eachComponent({mainType:"series",subType:"sankey",query:A},function(g){g.setNodePosition(A.dataIndex,[A.localX,A.localY])})})},vewr:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.getPointerEvent=w,B.stopEvent=A,B.setCapture=u,B.releaseCapture=o;function w(e){return e.changedTouches?e.changedTouches[0]:e.touches?e.touches[0]:e}function A(e){e.stopPropagation(),e.preventDefault()}var b=!1,g=null;document.captureElement=null;function v(e){if(b)return;var n=new e.constructor(e.type,e);b=!0,document.captureElement?document.captureElement.dispatchEvent(n):g.dispatchEvent(n),b=!1,e.stopPropagation(),n.defaultPrevented&&e.preventDefault(),e.type==="mouseup"&&o()}function f(){var e=document.getElementById("noVNC_mouse_capture_elem");e.style.cursor=window.getComputedStyle(document.captureElement).cursor}var l=new MutationObserver(f);function u(e){if(e.setCapture)e.setCapture(),document.captureElement=e,e.addEventListener("mouseup",o);else{o();var n=document.getElementById("noVNC_mouse_capture_elem");n===null&&(n=document.createElement("div"),n.id="noVNC_mouse_capture_elem",n.style.position="fixed",n.style.top="0px",n.style.left="0px",n.style.width="100%",n.style.height="100%",n.style.zIndex=1e4,n.style.display="none",document.body.appendChild(n),n.addEventListener("contextmenu",v),n.addEventListener("mousemove",v),n.addEventListener("mouseup",v)),document.captureElement=e,l.observe(e,{attributes:!0}),f(),n.style.display="",window.addEventListener("mousemove",v),window.addEventListener("mouseup",v)}}function o(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;g=document.captureElement,document.captureElement=null,l.disconnect();var e=document.getElementById("noVNC_mouse_capture_elem");e.style.display="none",window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",v)}}},vg9a:function(k,B,d){},w5pM:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="PlusCircleOutlined";var l=B.a=A.forwardRef(f)},wCAj:function(k,B,d){"use strict";var w=d("U8pU"),A=d("rePB"),b=d("ODXe"),g=d("wx14"),v=d("q1tI"),f=d("TSYQ"),l=d.n(f),u=d("bT9E"),o=d("VTBJ"),e=d("KQm4"),n=d("x/xZ"),i=d("Gytx"),r=d.n(i),s=d("Kwbf"),t=d("t23M"),a=d("qx4F");function c(pt){return null}var h=c;function p(pt){return null}var m=p,S=d("Ff2n"),y=d("c+Xe"),x="RC_TABLE_KEY";function C(pt){return pt==null?[]:Array.isArray(pt)?pt:[pt]}function T(pt,gr){if(!gr&&typeof gr!="number")return pt;for(var _r=C(gr),Dr=pt,tn=0;tn<_r.length;tn+=1){if(!Dr)return null;var Br=_r[tn];Dr=Dr[Br]}return Dr}function _(pt){var gr=[],_r={};return pt.forEach(function(Dr){for(var tn=Dr||{},Br=tn.key,wn=tn.dataIndex,mn=Br||C(wn).join("-")||x;_r[mn];)mn="".concat(mn,"_next");_r[mn]=!0,gr.push(mn)}),gr}function E(){var pt={};function gr(Br,wn){wn&&Object.keys(wn).forEach(function(mn){var _n=wn[mn];_n&&Object(w.a)(_n)==="object"?(Br[mn]=Br[mn]||{},gr(Br[mn],_n)):Br[mn]=_n})}for(var _r=arguments.length,Dr=new Array(_r),tn=0;tn<_r;tn++)Dr[tn]=arguments[tn];return Dr.forEach(function(Br){gr(pt,Br)}),pt}function I(pt){return pt!=null}function L(pt){return pt&&Object(w.a)(pt)==="object"&&!Array.isArray(pt)&&!v.isValidElement(pt)}function D(pt){return typeof pt=="string"?!0:Object(y.c)(pt)}function F(pt,gr){var _r,Dr=pt.prefixCls,tn=pt.className,Br=pt.record,wn=pt.index,mn=pt.dataIndex,_n=pt.render,hi=pt.children,li=pt.component,Zn=li===void 0?"td":li,$e=pt.colSpan,kt=pt.rowSpan,or=pt.fixLeft,tr=pt.fixRight,Or=pt.firstFixLeft,wr=pt.lastFixLeft,Xr=pt.firstFixRight,Qr=pt.lastFixRight,cn=pt.appendNode,Ln=pt.additionalProps,Cn=Ln===void 0?{}:Ln,Bn=pt.ellipsis,nn=pt.align,Dn=pt.rowType,hn=pt.isSticky,An="".concat(Dr,"-cell"),xn,Rn;if(hi)Rn=hi;else{var ui=T(Br,mn);if(Rn=ui,_n){var gi=_n(ui,Br,wn);L(gi)?(Rn=gi.children,xn=gi.props):Rn=gi}}Object(w.a)(Rn)==="object"&&!Array.isArray(Rn)&&!v.isValidElement(Rn)&&(Rn=null),Bn&&(wr||Xr)&&(Rn=v.createElement("span",{className:"".concat(An,"-content")},Rn));var Fi=xn||{},di=Fi.colSpan,ii=Fi.rowSpan,Yi=Fi.style,_i=Fi.className,Mi=Object(S.a)(Fi,["colSpan","rowSpan","style","className"]),Bi=di!==void 0?di:$e,Zi=ii!==void 0?ii:kt;if(Bi===0||Zi===0)return null;var da={},Ma=typeof or=="number",La=typeof tr=="number";Ma&&(da.position="sticky",da.left=or),La&&(da.position="sticky",da.right=tr);var fa={};nn&&(fa.textAlign=nn);var xa,ea=Bn===!0?{showTitle:!0}:Bn;ea&&(ea.showTitle||Dn==="header")&&(typeof Rn=="string"||typeof Rn=="number"?xa=Rn.toString():v.isValidElement(Rn)&&typeof Rn.props.children=="string"&&(xa=Rn.props.children));var ya=Object(o.a)(Object(o.a)(Object(o.a)({title:xa},Mi),Cn),{},{colSpan:Bi&&Bi!==1?Bi:null,rowSpan:Zi&&Zi!==1?Zi:null,className:l()(An,tn,(_r={},Object(A.a)(_r,"".concat(An,"-fix-left"),Ma),Object(A.a)(_r,"".concat(An,"-fix-left-first"),Or),Object(A.a)(_r,"".concat(An,"-fix-left-last"),wr),Object(A.a)(_r,"".concat(An,"-fix-right"),La),Object(A.a)(_r,"".concat(An,"-fix-right-first"),Xr),Object(A.a)(_r,"".concat(An,"-fix-right-last"),Qr),Object(A.a)(_r,"".concat(An,"-ellipsis"),Bn),Object(A.a)(_r,"".concat(An,"-with-append"),cn),Object(A.a)(_r,"".concat(An,"-fix-sticky"),(Ma||La)&&hn),_r),Cn.className,_i),style:Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)({},Cn.style),fa),da),Yi),ref:D(Zn)?gr:null});return v.createElement(Zn,ya,cn,Rn)}var N=v.forwardRef(F);N.displayName="Cell";var P=v.memo(N,function(pt,gr){return gr.shouldCellUpdate?!gr.shouldCellUpdate(gr.record,pt.record):!1}),W=P,R=v.createContext(null),j=R;function H(pt,gr,_r,Dr,tn){var Br=_r[pt]||{},wn=_r[gr]||{},mn,_n;Br.fixed==="left"?mn=Dr.left[pt]:wn.fixed==="right"&&(_n=Dr.right[gr]);var hi=!1,li=!1,Zn=!1,$e=!1,kt=_r[gr+1],or=_r[pt-1];if(tn==="rtl"){if(mn!==void 0){var tr=or&&or.fixed==="left";$e=!tr}else if(_n!==void 0){var Or=kt&&kt.fixed==="right";Zn=!Or}}else if(mn!==void 0){var wr=kt&&kt.fixed==="left";hi=!wr}else if(_n!==void 0){var Xr=or&&or.fixed==="right";li=!Xr}return{fixLeft:mn,fixRight:_n,lastFixLeft:hi,firstFixRight:li,lastFixRight:Zn,firstFixLeft:$e,isSticky:Dr.isSticky}}function K(pt){var gr=pt.cells,_r=pt.stickyOffsets,Dr=pt.flattenColumns,tn=pt.rowComponent,Br=pt.cellComponent,wn=pt.onHeaderRow,mn=pt.index,_n=v.useContext(j),hi=_n.prefixCls,li=_n.direction,Zn;wn&&(Zn=wn(gr.map(function(kt){return kt.column}),mn));var $e=_(gr.map(function(kt){return kt.column}));return v.createElement(tn,Zn,gr.map(function(kt,or){var tr=kt.column,Or=H(kt.colStart,kt.colEnd,Dr,_r,li),wr;return tr&&tr.onHeaderCell&&(wr=kt.column.onHeaderCell(tr)),v.createElement(W,Object(g.a)({},kt,{ellipsis:tr.ellipsis,align:tr.align,component:Br,prefixCls:hi,key:$e[or]},Or,{additionalProps:wr,rowType:"header"}))}))}K.displayName="HeaderRow";var U=K;function G(pt){var gr=[];function _r(wn,mn){var _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;gr[_n]=gr[_n]||[];var hi=mn,li=wn.filter(Boolean).map(function(Zn){var $e={key:Zn.key,className:Zn.className||"",children:Zn.title,column:Zn,colStart:hi},kt=1,or=Zn.children;return or&&or.length>0&&(kt=_r(or,hi,_n+1).reduce(function(tr,Or){return tr+Or},0),$e.hasSubColumns=!0),"colSpan"in Zn&&(kt=Zn.colSpan),"rowSpan"in Zn&&($e.rowSpan=Zn.rowSpan),$e.colSpan=kt,$e.colEnd=$e.colStart+kt-1,gr[_n].push($e),hi+=kt,kt});return li}_r(pt,0);for(var Dr=gr.length,tn=function(mn){gr[mn].forEach(function(_n){!("rowSpan"in _n)&&!_n.hasSubColumns&&(_n.rowSpan=Dr-mn)})},Br=0;Br<Dr;Br+=1)tn(Br);return gr}function z(pt){var gr=pt.stickyOffsets,_r=pt.columns,Dr=pt.flattenColumns,tn=pt.onHeaderRow,Br=v.useContext(j),wn=Br.prefixCls,mn=Br.getComponent,_n=v.useMemo(function(){return G(_r)},[_r]),hi=mn(["header","wrapper"],"thead"),li=mn(["header","row"],"tr"),Zn=mn(["header","cell"],"th");return v.createElement(hi,{className:"".concat(wn,"-thead")},_n.map(function($e,kt){var or=v.createElement(U,{key:kt,flattenColumns:Dr,cells:$e,stickyOffsets:gr,rowComponent:li,cellComponent:Zn,onHeaderRow:tn,index:kt});return or}))}var Y=z,q="RC_TABLE_INTERNAL_COL_DEFINE";function oe(pt){var gr=pt.expandable,_r=Object(S.a)(pt,["expandable"]);return"expandable"in pt?Object(o.a)(Object(o.a)({},_r),gr):_r}function ie(pt){return Object.keys(pt).reduce(function(gr,_r){return(_r.substr(0,5)==="data-"||_r.substr(0,5)==="aria-")&&(gr[_r]=pt[_r]),gr},{})}function se(pt){for(var gr=pt.colWidths,_r=pt.columns,Dr=pt.columCount,tn=[],Br=Dr||_r.length,wn=!1,mn=Br-1;mn>=0;mn-=1){var _n=gr[mn],hi=_r&&_r[mn],li=hi&&hi[q];(_n||li||wn)&&(tn.unshift(v.createElement("col",Object(g.a)({key:mn,style:{width:_n,minWidth:_n}},li))),wn=!0)}return v.createElement("colgroup",null,tn)}var he=se;function pe(pt,gr){return Object(v.useMemo)(function(){for(var _r=[],Dr=0;Dr<gr;Dr+=1){var tn=pt[Dr];if(tn!==void 0)_r[Dr]=tn;else return null}return _r},[pt.join("_"),gr])}var _e=v.forwardRef(function(pt,gr){var _r=pt.noData,Dr=pt.columns,tn=pt.flattenColumns,Br=pt.colWidths,wn=pt.columCount,mn=pt.stickyOffsets,_n=pt.direction,hi=pt.fixHeader,li=pt.offsetHeader,Zn=pt.stickyClassName,$e=pt.onScroll,kt=Object(S.a)(pt,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),or=v.useContext(j),tr=or.prefixCls,Or=or.scrollbarSize,wr=or.isSticky,Xr=wr&&!hi?0:Or,Qr=v.useRef(null),cn=v.useCallback(function(An){Object(y.b)(gr,An),Object(y.b)(Qr,An)},[]);v.useEffect(function(){var An;function xn(Rn){var ui=Rn.currentTarget,gi=Rn.deltaX;gi&&($e({currentTarget:ui,scrollLeft:ui.scrollLeft+gi}),Rn.preventDefault())}return(An=Qr.current)===null||An===void 0||An.addEventListener("wheel",xn),function(){var Rn;(Rn=Qr.current)===null||Rn===void 0||Rn.removeEventListener("wheel",xn)}},[]);var Ln=tn[tn.length-1],Cn={fixed:Ln?Ln.fixed:null,onHeaderCell:function(){return{className:"".concat(tr,"-cell-scrollbar")}}},Bn=Object(v.useMemo)(function(){return Xr?[].concat(Object(e.a)(Dr),[Cn]):Dr},[Xr,Dr]),nn=Object(v.useMemo)(function(){return Xr?[].concat(Object(e.a)(tn),[Cn]):tn},[Xr,tn]),Dn=Object(v.useMemo)(function(){var An=mn.right,xn=mn.left;return Object(o.a)(Object(o.a)({},mn),{},{left:_n==="rtl"?[].concat(Object(e.a)(xn.map(function(Rn){return Rn+Xr})),[0]):xn,right:_n==="rtl"?An:[].concat(Object(e.a)(An.map(function(Rn){return Rn+Xr})),[0]),isSticky:wr})},[Xr,mn,wr]),hn=pe(Br,wn);return v.createElement("div",{style:Object(o.a)({overflow:"hidden"},wr?{top:li}:{}),ref:cn,className:l()("".concat(tr,"-header"),Object(A.a)({},Zn,!!Zn))},v.createElement("table",{style:{tableLayout:"fixed",visibility:_r||hn?null:"hidden"}},v.createElement(he,{colWidths:hn?[].concat(Object(e.a)(hn),[Xr]):[],columCount:wn+1,columns:nn}),v.createElement(Y,Object(g.a)({},kt,{stickyOffsets:Dn,columns:Bn,flattenColumns:nn}))))});_e.displayName="FixedHeader";var De=_e,Xe=v.createContext(null),J=Xe;function Ee(pt){var gr=pt.prefixCls,_r=pt.children,Dr=pt.component,tn=pt.cellComponent,Br=pt.fixHeader,wn=pt.fixColumn,mn=pt.horizonScroll,_n=pt.className,hi=pt.expanded,li=pt.componentWidth,Zn=pt.colSpan,$e=v.useContext(j),kt=$e.scrollbarSize;return v.useMemo(function(){var or=_r;return wn&&(or=v.createElement("div",{style:{width:li-(Br?kt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(gr,"-expanded-row-fixed")},or)),v.createElement(Dr,{className:_n,style:{display:hi?null:"none"}},v.createElement(W,{component:tn,prefixCls:gr,colSpan:Zn},or))},[_r,Dr,Br,mn,_n,hi,li,Zn,kt])}var qe=Ee;function ae(pt){var gr=pt.className,_r=pt.style,Dr=pt.record,tn=pt.index,Br=pt.rowKey,wn=pt.getRowKey,mn=pt.rowExpandable,_n=pt.expandedKeys,hi=pt.onRow,li=pt.indent,Zn=li===void 0?0:li,$e=pt.rowComponent,kt=pt.cellComponent,or=pt.childrenColumnName,tr=v.useContext(j),Or=tr.prefixCls,wr=tr.fixedInfoList,Xr=v.useContext(J),Qr=Xr.fixHeader,cn=Xr.fixColumn,Ln=Xr.horizonScroll,Cn=Xr.componentWidth,Bn=Xr.flattenColumns,nn=Xr.expandableType,Dn=Xr.expandRowByClick,hn=Xr.onTriggerExpand,An=Xr.rowClassName,xn=Xr.expandedRowClassName,Rn=Xr.indentSize,ui=Xr.expandIcon,gi=Xr.expandedRowRender,Fi=Xr.expandIconColumnIndex,di=v.useState(!1),ii=Object(b.a)(di,2),Yi=ii[0],_i=ii[1],Mi=_n&&_n.has(pt.recordKey);v.useEffect(function(){Mi&&_i(!0)},[Mi]);var Bi=nn==="row"&&(!mn||mn(Dr)),Zi=nn==="nest",da=or&&Dr&&Dr[or],Ma=Bi||Zi,La;hi&&(La=hi(Dr,tn));var fa=function(lo){if(Dn&&Ma&&hn(Dr,lo),La&&La.onClick){for(var ta,Xi=arguments.length,Gi=new Array(Xi>1?Xi-1:0),Ta=1;Ta<Xi;Ta++)Gi[Ta-1]=arguments[Ta];(ta=La).onClick.apply(ta,[lo].concat(Gi))}},xa;typeof An=="string"?xa=An:typeof An=="function"&&(xa=An(Dr,tn,Zn));var ea=_(Bn),ya=v.createElement($e,Object(g.a)({},La,{"data-row-key":Br,className:l()(gr,"".concat(Or,"-row"),"".concat(Or,"-row-level-").concat(Zn),xa,La&&La.className),style:Object(o.a)(Object(o.a)({},_r),La?La.style:null),onClick:fa}),Bn.map(function(Ya,lo){var ta=Ya.render,Xi=Ya.dataIndex,Gi=Ya.className,Ta=ea[lo],ka=wr[lo],ha;lo===(Fi||0)&&Zi&&(ha=v.createElement(v.Fragment,null,v.createElement("span",{style:{paddingLeft:"".concat(Rn*Zn,"px")},className:"".concat(Or,"-row-indent indent-level-").concat(Zn)}),ui({prefixCls:Or,expanded:Mi,expandable:da,record:Dr,onExpand:hn})));var Ua;return Ya.onCell&&(Ua=Ya.onCell(Dr,tn)),v.createElement(W,Object(g.a)({className:Gi,ellipsis:Ya.ellipsis,align:Ya.align,component:kt,prefixCls:Or,key:Ta,record:Dr,index:tn,dataIndex:Xi,render:ta,shouldCellUpdate:Ya.shouldCellUpdate},ka,{appendNode:ha,additionalProps:Ua}))})),sa;if(Bi&&(Yi||Mi)){var Fa=gi(Dr,tn,Zn+1,Mi),uo=xn&&xn(Dr,tn,Zn);sa=v.createElement(qe,{expanded:Mi,className:l()("".concat(Or,"-expanded-row"),"".concat(Or,"-expanded-row-level-").concat(Zn+1),uo),prefixCls:Or,fixHeader:Qr,fixColumn:cn,horizonScroll:Ln,component:$e,componentWidth:Cn,cellComponent:kt,colSpan:Bn.length},Fa)}var za;return da&&Mi&&(za=(Dr[or]||[]).map(function(Ya,lo){var ta=wn(Ya,lo);return v.createElement(ae,Object(g.a)({},pt,{key:ta,rowKey:ta,record:Ya,recordKey:ta,index:lo,indent:Zn+1}))})),v.createElement(v.Fragment,null,ya,sa,za)}ae.displayName="BodyRow";var V=ae,X=v.createContext(null),Z=X;function ge(pt){var gr=pt.columnKey,_r=pt.onColumnResize,Dr=v.useRef();return v.useEffect(function(){Dr.current&&_r(gr,Dr.current.offsetWidth)},[]),v.createElement(t.a,{onResize:function(Br){var wn=Br.offsetWidth;_r(gr,wn)}},v.createElement("td",{ref:Dr,style:{padding:0,border:0,height:0}},v.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function le(pt){var gr=pt.data,_r=pt.getRowKey,Dr=pt.measureColumnWidth,tn=pt.expandedKeys,Br=pt.onRow,wn=pt.rowExpandable,mn=pt.emptyNode,_n=pt.childrenColumnName,hi=v.useContext(Z),li=hi.onColumnResize,Zn=v.useContext(j),$e=Zn.prefixCls,kt=Zn.getComponent,or=v.useContext(J),tr=or.fixHeader,Or=or.horizonScroll,wr=or.flattenColumns,Xr=or.componentWidth;return v.useMemo(function(){var Qr=kt(["body","wrapper"],"tbody"),cn=kt(["body","row"],"tr"),Ln=kt(["body","cell"],"td"),Cn;gr.length?Cn=gr.map(function(nn,Dn){var hn=_r(nn,Dn);return v.createElement(V,{key:hn,rowKey:hn,record:nn,recordKey:hn,index:Dn,rowComponent:cn,cellComponent:Ln,expandedKeys:tn,onRow:Br,getRowKey:_r,rowExpandable:wn,childrenColumnName:_n})}):Cn=v.createElement(qe,{expanded:!0,className:"".concat($e,"-placeholder"),prefixCls:$e,fixHeader:tr,fixColumn:Or,horizonScroll:Or,component:cn,componentWidth:Xr,cellComponent:Ln,colSpan:wr.length},mn);var Bn=_(wr);return v.createElement(Qr,{className:"".concat($e,"-tbody")},Dr&&v.createElement("tr",{"aria-hidden":"true",className:"".concat($e,"-measure-row"),style:{height:0,fontSize:0}},Bn.map(function(nn){return v.createElement(ge,{key:nn,columnKey:nn,onColumnResize:li})})),Cn)},[gr,$e,Br,Dr,tn,_r,kt,Xr,mn,wr])}var Se=v.memo(le);Se.displayName="Body";var me=Se,$=d("Zm9Q");function we(pt){return Object($.a)(pt).filter(function(gr){return v.isValidElement(gr)}).map(function(gr){var _r=gr.key,Dr=gr.props,tn=Dr.children,Br=Object(S.a)(Dr,["children"]),wn=Object(o.a)({key:_r},Br);return tn&&(wn.children=we(tn)),wn})}function xe(pt){return pt.reduce(function(gr,_r){var Dr=_r.fixed,tn=Dr===!0?"left":Dr,Br=_r.children;return Br&&Br.length>0?[].concat(Object(e.a)(gr),Object(e.a)(xe(Br).map(function(wn){return Object(o.a)({fixed:tn},wn)}))):[].concat(Object(e.a)(gr),[Object(o.a)(Object(o.a)({},_r),{},{fixed:tn})])},[])}function We(pt){for(var gr=!0,_r=0;_r<pt.length;_r+=1){var Dr=pt[_r];if(gr&&Dr.fixed!=="left")gr=!1;else if(!gr&&Dr.fixed==="left"){Object(s.a)(!1,"Index ".concat(_r-1," of `columns` missing `fixed='left'` prop."));break}}for(var tn=!0,Br=pt.length-1;Br>=0;Br-=1){var wn=pt[Br];if(tn&&wn.fixed!=="right")tn=!1;else if(!tn&&wn.fixed==="right"){Object(s.a)(!1,"Index ".concat(Br+1," of `columns` missing `fixed='right'` prop."));break}}}function st(pt){return pt.map(function(gr){var _r=gr.fixed,Dr=Object(S.a)(gr,["fixed"]),tn=_r;return _r==="left"?tn="right":_r==="right"&&(tn="left"),Object(o.a)({fixed:tn},Dr)})}function nt(pt,gr){var _r=pt.prefixCls,Dr=pt.columns,tn=pt.children,Br=pt.expandable,wn=pt.expandedKeys,mn=pt.getRowKey,_n=pt.onTriggerExpand,hi=pt.expandIcon,li=pt.rowExpandable,Zn=pt.expandIconColumnIndex,$e=pt.direction,kt=pt.expandRowByClick,or=pt.columnWidth,tr=v.useMemo(function(){return Dr||we(tn)},[Dr,tn]),Or=v.useMemo(function(){if(Br){var Qr,cn=Zn||0,Ln=tr[cn],Cn=(Qr={},Object(A.a)(Qr,q,{className:"".concat(_r,"-expand-icon-col")}),Object(A.a)(Qr,"title",""),Object(A.a)(Qr,"fixed",Ln?Ln.fixed:null),Object(A.a)(Qr,"className","".concat(_r,"-row-expand-icon-cell")),Object(A.a)(Qr,"width",or),Object(A.a)(Qr,"render",function(Dn,hn,An){var xn=mn(hn,An),Rn=wn.has(xn),ui=li?li(hn):!0,gi=hi({prefixCls:_r,expanded:Rn,expandable:ui,record:hn,onExpand:_n});return kt?v.createElement("span",{onClick:function(di){return di.stopPropagation()}},gi):gi}),Qr),Bn=tr.slice();return cn>=0&&Bn.splice(cn,0,Cn),Bn}return tr},[Br,tr,mn,wn,hi,$e]),wr=v.useMemo(function(){var Qr=Or;return gr&&(Qr=gr(Qr)),Qr.length||(Qr=[{render:function(){return null}}]),Qr},[gr,Or,$e]),Xr=v.useMemo(function(){return $e==="rtl"?st(xe(wr)):xe(wr)},[wr,$e]);return[wr,Xr]}var Ne=nt;function St(pt){var gr=Object(v.useRef)(pt),_r=Object(v.useState)({}),Dr=Object(b.a)(_r,2),tn=Dr[1],Br=Object(v.useRef)(null),wn=Object(v.useRef)([]);function mn(_n){wn.current.push(_n);var hi=Promise.resolve();Br.current=hi,hi.then(function(){if(Br.current===hi){var li=wn.current,Zn=gr.current;wn.current=[],li.forEach(function($e){gr.current=$e(gr.current)}),Br.current=null,Zn!==gr.current&&tn({})}})}return Object(v.useEffect)(function(){return function(){Br.current=null}},[]),[gr.current,mn]}function Ye(pt){var gr=Object(v.useRef)(pt||null),_r=Object(v.useRef)();function Dr(){window.clearTimeout(_r.current)}function tn(wn){gr.current=wn,Dr(),_r.current=window.setTimeout(function(){gr.current=null,_r.current=void 0},100)}function Br(){return gr.current}return Object(v.useEffect)(function(){return Dr},[]),[tn,Br]}function vt(pt,gr,_r){var Dr=Object(v.useMemo)(function(){for(var tn=[],Br=[],wn=0,mn=0,_n=0;_n<gr;_n+=1)if(_r==="rtl"){Br[_n]=mn,mn+=pt[_n]||0;var hi=gr-_n-1;tn[hi]=wn,wn+=pt[hi]||0}else{tn[_n]=wn,wn+=pt[_n]||0;var li=gr-_n-1;Br[li]=mn,mn+=pt[li]||0}return{left:tn,right:Br}},[pt,gr,_r]);return Dr}var It=vt;function Ut(pt){var gr=pt.className,_r=pt.children;return v.createElement("div",{className:gr},_r)}var xt=Ut;function Bt(pt){var gr=pt.className,_r=pt.index,Dr=pt.children,tn=pt.colSpan,Br=pt.rowSpan,wn=pt.align,mn=v.useContext(j),_n=mn.prefixCls,hi=mn.fixedInfoList,li=hi[_r];return v.createElement(W,Object(g.a)({className:gr,index:_r,component:"td",prefixCls:_n,record:null,dataIndex:null,align:wn,render:function(){return{children:Dr,props:{colSpan:tn,rowSpan:Br}}}},li))}function Qe(pt){return v.createElement("tr",pt)}function te(pt){var gr=pt.children,_r=v.useContext(j),Dr=_r.prefixCls;return v.createElement("tfoot",{className:"".concat(Dr,"-summary")},gr)}var Q=te,Me={Cell:Bt,Row:Qe};function Ce(pt){var gr,_r=pt.prefixCls,Dr=pt.record,tn=pt.onExpand,Br=pt.expanded,wn=pt.expandable,mn="".concat(_r,"-row-expand-icon");if(!wn)return v.createElement("span",{className:l()(mn,"".concat(_r,"-row-spaced"))});var _n=function(li){tn(Dr,li),li.stopPropagation()};return v.createElement("span",{className:l()(mn,(gr={},Object(A.a)(gr,"".concat(_r,"-row-expanded"),Br),Object(A.a)(gr,"".concat(_r,"-row-collapsed"),!Br),gr)),onClick:_n})}function ue(pt,gr,_r){var Dr=[];function tn(Br){(Br||[]).forEach(function(wn,mn){Dr.push(gr(wn,mn)),tn(wn[_r])})}return tn(pt),Dr}var ot=d("zT1h"),rt=d("y0+3"),Ue=function(gr,_r){var Dr,tn,Br=gr.scrollBodyRef,wn=gr.onScroll,mn=gr.offsetScroll,_n=gr.container,hi=v.useContext(j),li=hi.prefixCls,Zn=((Dr=Br.current)===null||Dr===void 0?void 0:Dr.scrollWidth)||0,$e=((tn=Br.current)===null||tn===void 0?void 0:tn.clientWidth)||0,kt=Zn&&$e*($e/Zn),or=v.useRef(),tr=St({scrollLeft:0,isHiddenScrollBar:!1}),Or=Object(b.a)(tr,2),wr=Or[0],Xr=Or[1],Qr=v.useRef({delta:0,x:0}),cn=v.useState(!1),Ln=Object(b.a)(cn,2),Cn=Ln[0],Bn=Ln[1],nn=function(){Bn(!1)},Dn=function(ui){ui.persist(),Qr.current.delta=ui.pageX-wr.scrollLeft,Qr.current.x=0,Bn(!0),ui.preventDefault()},hn=function(ui){var gi,Fi=ui||((gi=window)===null||gi===void 0?void 0:gi.event),di=Fi.buttons;if(!Cn||di===0){Cn&&Bn(!1);return}var ii=Qr.current.x+ui.pageX-Qr.current.x-Qr.current.delta;ii<=0&&(ii=0),ii+kt>=$e&&(ii=$e-kt),wn({scrollLeft:ii/$e*(Zn+2)}),Qr.current.x=ui.pageX},An=function(){var ui=Object(rt.b)(Br.current).top,gi=ui+Br.current.offsetHeight,Fi=_n===window?document.documentElement.scrollTop+window.innerHeight:Object(rt.b)(_n).top+_n.clientHeight;gi-Object(a.a)()<=Fi||ui>=Fi-mn?Xr(function(di){return Object(o.a)(Object(o.a)({},di),{},{isHiddenScrollBar:!0})}):Xr(function(di){return Object(o.a)(Object(o.a)({},di),{},{isHiddenScrollBar:!1})})},xn=function(ui){Xr(function(gi){return Object(o.a)(Object(o.a)({},gi),{},{scrollLeft:ui/Zn*$e||0})})};return v.useImperativeHandle(_r,function(){return{setScrollLeft:xn}}),v.useEffect(function(){var Rn=Object(ot.a)(document.body,"mouseup",nn,!1),ui=Object(ot.a)(document.body,"mousemove",hn,!1);return An(),function(){Rn.remove(),ui.remove()}},[kt,Cn]),v.useEffect(function(){var Rn=Object(ot.a)(_n,"scroll",An,!1),ui=Object(ot.a)(window,"resize",An,!1);return function(){Rn.remove(),ui.remove()}},[_n]),v.useEffect(function(){wr.isHiddenScrollBar||Xr(function(Rn){var ui,gi;return Object(o.a)(Object(o.a)({},Rn),{},{scrollLeft:Br.current.scrollLeft/((ui=Br.current)===null||ui===void 0?void 0:ui.scrollWidth)*((gi=Br.current)===null||gi===void 0?void 0:gi.clientWidth)})})},[wr.isHiddenScrollBar]),Zn<=$e||!kt||wr.isHiddenScrollBar?null:v.createElement("div",{style:{height:Object(a.a)(),width:$e,bottom:mn},className:"".concat(li,"-sticky-scroll")},v.createElement("div",{onMouseDown:Dn,ref:or,className:l()("".concat(li,"-sticky-scroll-bar"),Object(A.a)({},"".concat(li,"-sticky-scroll-bar-active"),Cn)),style:{width:"".concat(kt,"px"),transform:"translate3d(".concat(wr.scrollLeft,"px, 0, 0)")}}))},Ge=v.forwardRef(Ue),tt=d("MNnm"),Wt=Object(tt.a)()?window:null;function jt(pt,gr){var _r=Object(w.a)(pt)==="object"?pt:{},Dr=_r.offsetHeader,tn=Dr===void 0?0:Dr,Br=_r.offsetScroll,wn=Br===void 0?0:Br,mn=_r.getContainer,_n=mn===void 0?function(){return Wt}:mn,hi=_n()||Wt;return v.useMemo(function(){var li=!!pt;return{isSticky:li,stickyClassName:li?"".concat(gr,"-sticky-header"):"",offsetHeader:tn,offsetScroll:wn,container:hi}},[wn,tn,gr,hi])}var Yt=[],Tt={},Rt="rc-table-internal-hook",yt=v.memo(function(pt){var gr=pt.children;return gr},function(pt,gr){return r()(pt.props,gr.props)?pt.pingLeft!==gr.pingLeft||pt.pingRight!==gr.pingRight:!1});function Jt(pt){var gr,_r=pt.prefixCls,Dr=pt.className,tn=pt.rowClassName,Br=pt.style,wn=pt.data,mn=pt.rowKey,_n=pt.scroll,hi=pt.tableLayout,li=pt.direction,Zn=pt.title,$e=pt.footer,kt=pt.summary,or=pt.id,tr=pt.showHeader,Or=pt.components,wr=pt.emptyText,Xr=pt.onRow,Qr=pt.onHeaderRow,cn=pt.internalHooks,Ln=pt.transformColumns,Cn=pt.internalRefs,Bn=pt.sticky,nn=wn||Yt,Dn=!!nn.length,hn=v.useState(0),An=Object(b.a)(hn,2),xn=An[0],Rn=An[1];v.useEffect(function(){Rn(Object(a.a)())});var ui=v.useMemo(function(){return E(Or,{})},[Or]),gi=v.useCallback(function(Qn,Ga){return T(ui,Qn)||Ga},[ui]),Fi=v.useMemo(function(){return typeof mn=="function"?mn:function(Qn){var Ga=Qn&&Qn[mn];return Ga}},[mn]),di=oe(pt),ii=di.expandIcon,Yi=di.expandedRowKeys,_i=di.defaultExpandedRowKeys,Mi=di.defaultExpandAllRows,Bi=di.expandedRowRender,Zi=di.onExpand,da=di.onExpandedRowsChange,Ma=di.expandRowByClick,La=di.rowExpandable,fa=di.expandIconColumnIndex,xa=di.expandedRowClassName,ea=di.childrenColumnName,ya=di.indentSize,sa=ii||Ce,Fa=ea||"children",uo=v.useMemo(function(){return Bi?"row":pt.expandable&&cn===Rt&&pt.expandable.__PARENT_RENDER_ICON__||nn.some(function(Qn){return Qn&&Object(w.a)(Qn)==="object"&&Qn[Fa]})?"nest":!1},[!!Bi,nn]),za=v.useState(function(){return _i||(Mi?ue(nn,Fi,Fa):[])}),Ya=Object(b.a)(za,2),lo=Ya[0],ta=Ya[1],Xi=v.useMemo(function(){return new Set(Yi||lo||[])},[Yi,lo]),Gi=v.useCallback(function(Qn){var Ga=Fi(Qn,nn.indexOf(Qn)),Mo,Qo=Xi.has(Ga);Qo?(Xi.delete(Ga),Mo=Object(e.a)(Xi)):Mo=[].concat(Object(e.a)(Xi),[Ga]),ta(Mo),Zi&&Zi(!Qo,Qn),da&&da(Mo)},[Fi,Xi,nn,Zi,da]),Ta=v.useState(0),ka=Object(b.a)(Ta,2),ha=ka[0],Ua=ka[1],ao=Ne(Object(o.a)(Object(o.a)(Object(o.a)({},pt),di),{},{expandable:!!Bi,expandedKeys:Xi,getRowKey:Fi,onTriggerExpand:Gi,expandIcon:sa,expandIconColumnIndex:fa,direction:li}),cn===Rt?Ln:null),Ao=Object(b.a)(ao,2),ho=Ao[0],ro=Ao[1],qa=v.useMemo(function(){return{columns:ho,flattenColumns:ro}},[ho,ro]),no=v.useRef(),Wi=v.useRef(),Ci=v.useRef(),Di=v.useState(!1),ma=Object(b.a)(Di,2),ga=ma[0],Aa=ma[1],wa=v.useState(!1),la=Object(b.a)(wa,2),Hi=la[0],Ba=la[1],Ia=St(new Map),fo=Object(b.a)(Ia,2),Na=fo[0],po=fo[1],vo=_(ro),Ko=vo.map(function(Qn){return Na.get(Qn)}),zo=v.useMemo(function(){return Ko},[Ko.join("_")]),yo=It(zo,ro.length,li),ra=_n&&I(_n.y),oo=_n&&I(_n.x),to=oo&&ro.some(function(Qn){var Ga=Qn.fixed;return Ga}),Za=v.useRef(),Lo=jt(Bn,_r),io=Lo.isSticky,Da=Lo.offsetHeader,Co=Lo.offsetScroll,$o=Lo.stickyClassName,ns=Lo.container,es,va,pa;ra&&(va={overflowY:"scroll",maxHeight:_n.y}),oo&&(es={overflowX:"auto"},ra||(va={overflowY:"hidden"}),pa={width:_n.x===!0?"auto":_n.x,minWidth:"100%"});var ca=v.useCallback(function(Qn,Ga){Object(n.a)(no.current)&&po(function(Mo){if(Mo.get(Qn)!==Ga){var Qo=new Map(Mo);return Qo.set(Qn,Ga),Qo}return Mo})},[]),Ai=Ye(null),ba=Object(b.a)(Ai,2),$a=ba[0],ms=ba[1];function Wo(Qn,Ga){if(!Ga)return;typeof Ga=="function"?Ga(Qn):Ga.scrollLeft!==Qn&&(Ga.scrollLeft=Qn)}var Rs=function(Ga){var Mo=Ga.currentTarget,Qo=Ga.scrollLeft,Vs=li==="rtl",xs=typeof Qo=="number"?Qo:Mo.scrollLeft,Es=Mo||Tt;if(!ms()||ms()===Es){var vs;$a(Es),Wo(xs,Wi.current),Wo(xs,Ci.current),Wo(xs,(vs=Za.current)===null||vs===void 0?void 0:vs.setScrollLeft)}if(Mo){var Hs=Mo.scrollWidth,_s=Mo.clientWidth;Vs?(Aa(-xs<Hs-_s),Ba(-xs>0)):(Aa(xs>0),Ba(xs<Hs-_s))}},Ms=function(){Ci.current&&Rs({currentTarget:Ci.current})},al=function(Ga){var Mo=Ga.width;Ms(),Ua(no.current?no.current.offsetWidth:Mo)};v.useEffect(function(){return Ms},[]),v.useEffect(function(){oo&&Ms()},[oo]),v.useEffect(function(){cn===Rt&&Cn&&(Cn.body.current=Ci.current)});var gs=gi(["table"],"table"),Vo=v.useMemo(function(){return hi||(to?_n.x==="max-content"?"auto":"fixed":ra||io||ro.some(function(Qn){var Ga=Qn.ellipsis;return Ga})?"fixed":"auto")},[ra,to,ro,hi,io]),Xo,el={colWidths:zo,columCount:ro.length,stickyOffsets:yo,onHeaderRow:Qr,fixHeader:ra},js=v.useMemo(function(){return Dn?null:typeof wr=="function"?wr():wr},[Dn,wr]),bo=v.createElement(me,{data:nn,measureColumnWidth:ra||oo||io,expandedKeys:Xi,rowExpandable:La,getRowKey:Fi,onRow:Xr,emptyNode:js,childrenColumnName:Fa}),wo=v.createElement(he,{colWidths:ro.map(function(Qn){var Ga=Qn.width;return Ga}),columns:ro}),Wa=kt&&v.createElement(Q,null,kt(nn)),Bo=gi(["body"]);if(ra||io){var No;typeof Bo=="function"?(No=Bo(nn,{scrollbarSize:xn,ref:Ci,onScroll:Rs}),el.colWidths=ro.map(function(Qn,Ga){var Mo=Qn.width,Qo=Ga===ho.length-1?Mo-xn:Mo;return typeof Qo=="number"&&!Number.isNaN(Qo)?Qo:(Object(s.a)(!1,"When use `components.body` with render props. Each column should have a fixed `width` value."),0)})):No=v.createElement("div",{style:Object(o.a)(Object(o.a)({},es),va),onScroll:Rs,ref:Ci,className:l()("".concat(_r,"-body"))},v.createElement(gs,{style:Object(o.a)(Object(o.a)({},pa),{},{tableLayout:Vo})},wo,bo,Wa)),Xo=v.createElement(v.Fragment,null,tr!==!1&&v.createElement(De,Object(g.a)({noData:!nn.length},el,qa,{direction:li,offsetHeader:Da,stickyClassName:$o,ref:Wi,onScroll:Rs})),No,io&&v.createElement(Ge,{ref:Za,offsetScroll:Co,scrollBodyRef:Ci,onScroll:Rs,container:ns}))}else Xo=v.createElement("div",{style:Object(o.a)(Object(o.a)({},es),va),className:l()("".concat(_r,"-content")),onScroll:Rs,ref:Ci},v.createElement(gs,{style:Object(o.a)(Object(o.a)({},pa),{},{tableLayout:Vo})},wo,tr!==!1&&v.createElement(Y,Object(g.a)({},el,qa)),bo,Wa));var Do=ie(pt),Go=v.createElement("div",Object(g.a)({className:l()(_r,Dr,(gr={},Object(A.a)(gr,"".concat(_r,"-rtl"),li==="rtl"),Object(A.a)(gr,"".concat(_r,"-ping-left"),ga),Object(A.a)(gr,"".concat(_r,"-ping-right"),Hi),Object(A.a)(gr,"".concat(_r,"-layout-fixed"),hi==="fixed"),Object(A.a)(gr,"".concat(_r,"-fixed-header"),ra),Object(A.a)(gr,"".concat(_r,"-fixed-column"),to),Object(A.a)(gr,"".concat(_r,"-scroll-horizontal"),oo),Object(A.a)(gr,"".concat(_r,"-has-fix-left"),ro[0]&&ro[0].fixed),Object(A.a)(gr,"".concat(_r,"-has-fix-right"),ro[ro.length-1]&&ro[ro.length-1].fixed==="right"),gr)),style:Br,id:or,ref:no},Do),v.createElement(yt,{pingLeft:ga,pingRight:Hi,props:Object(o.a)(Object(o.a)({},pt),{},{stickyOffsets:yo,mergedExpandedKeys:Xi})},Zn&&v.createElement(xt,{className:"".concat(_r,"-title")},Zn(nn)),v.createElement("div",{className:"".concat(_r,"-container")},Xo),$e&&v.createElement(xt,{className:"".concat(_r,"-footer")},$e(nn))));oo&&(Go=v.createElement(t.a,{onResize:al},Go));var Po=v.useMemo(function(){return{prefixCls:_r,getComponent:gi,scrollbarSize:xn,direction:li,fixedInfoList:ro.map(function(Qn,Ga){return H(Ga,Ga,ro,yo,li)}),isSticky:io}},[_r,gi,xn,li,ro,yo,li,io]),Uo=v.useMemo(function(){return Object(o.a)(Object(o.a)({},qa),{},{tableLayout:Vo,rowClassName:tn,expandedRowClassName:xa,componentWidth:ha,fixHeader:ra,fixColumn:to,horizonScroll:oo,expandIcon:sa,expandableType:uo,expandRowByClick:Ma,expandedRowRender:Bi,onTriggerExpand:Gi,expandIconColumnIndex:fa,indentSize:ya})},[qa,Vo,tn,xa,ha,ra,to,oo,sa,uo,Ma,Bi,Gi,fa,ya]),Cr=v.useMemo(function(){return{onColumnResize:ca}},[ca]);return v.createElement(j.Provider,{value:Po},v.createElement(J.Provider,{value:Uo},v.createElement(Z.Provider,{value:Cr},Go)))}Jt.Column=m,Jt.ColumnGroup=h,Jt.Summary=Me,Jt.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Lr=Jt,zr=Lr,rn=d("W9HT"),ei=d("NUBc"),fn=d("H84U"),Zr=function(pt,gr){var _r={};for(var Dr in pt)Object.prototype.hasOwnProperty.call(pt,Dr)&&gr.indexOf(Dr)<0&&(_r[Dr]=pt[Dr]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tn=0,Dr=Object.getOwnPropertySymbols(pt);tn<Dr.length;tn++)gr.indexOf(Dr[tn])<0&&Object.prototype.propertyIsEnumerable.call(pt,Dr[tn])&&(_r[Dr[tn]]=pt[Dr[tn]]);return _r},bt=10;function ut(pt,gr){var _r={current:gr.current,pageSize:gr.pageSize},Dr=pt&&Object(w.a)(pt)==="object"?pt:{};return Object.keys(Dr).forEach(function(tn){var Br=gr[tn];typeof Br!="function"&&(_r[tn]=Br)}),_r}function Oe(){for(var pt={},gr=arguments.length,_r=new Array(gr),Dr=0;Dr<gr;Dr++)_r[Dr]=arguments[Dr];return _r.forEach(function(tn){tn&&Object.keys(tn).forEach(function(Br){var wn=tn[Br];wn!==void 0&&(pt[Br]=wn)})}),pt}function be(pt,gr,_r){var Dr=gr&&Object(w.a)(gr)==="object"?gr:{},tn=Dr.total,Br=tn===void 0?0:tn,wn=Zr(Dr,["total"]),mn=Object(v.useState)(function(){return{current:"defaultCurrent"in wn?wn.defaultCurrent:1,pageSize:"defaultPageSize"in wn?wn.defaultPageSize:bt}}),_n=Object(b.a)(mn,2),hi=_n[0],li=_n[1],Zn=Oe(hi,wn,{total:Br>0?Br:pt});if(!Br){var $e=Math.ceil(pt/Zn.pageSize);$e<Zn.current&&(Zn.current=1)}var kt=function(){var Or=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,wr=arguments.length>1?arguments[1]:void 0;li({current:Or,pageSize:wr||Zn.pageSize})},or=function(Or,wr){var Xr=Zn==null?void 0:Zn.pageSize;wr&&wr!==Xr&&(Or=1),gr&&gr.onChange&&gr.onChange(Or,wr),kt(Or,wr),_r(Or,wr||Xr)};return gr===!1?[{},function(){}]:[Object(g.a)(Object(g.a)({},Zn),{onChange:or}),kt]}function Fe(pt,gr,_r){var Dr=v.useRef({});function tn(Br){if(!Dr.current||Dr.current.data!==pt||Dr.current.childrenColumnName!==gr||Dr.current.getRowKey!==_r){var wn=function _n(hi){hi.forEach(function(li,Zn){var $e=_r(li,Zn);mn.set($e,li),li&&Object(w.a)(li)==="object"&&gr in li&&_n(li[gr]||[])})},mn=new Map;wn(pt),Dr.current={data:pt,childrenColumnName:gr,kvMap:mn,getRowKey:_r}}return Dr.current.kvMap.get(Br)}return[tn]}var it=d("T5bk"),wt=d("8Skl"),nr=d("815F"),sr=d("NvD2"),Ar=d("OZM5"),Hr=d("6cGi"),$r=d("kaz8"),Qt=d("jsC+"),Ot=d("BvKs"),Ft=d("9yH6"),pr=d("uaoM"),Rr="SELECT_ALL",Pr="SELECT_INVERT",an="SELECT_NONE";function Xt(pt){return pt&&pt.fixed}function hr(pt,gr){var _r=[];return(pt||[]).forEach(function(Dr){_r.push(Dr),Dr&&Object(w.a)(Dr)==="object"&&gr in Dr&&(_r=[].concat(Object(e.a)(_r),Object(e.a)(hr(Dr[gr],gr))))}),_r}function Tr(pt,gr){var _r=pt||{},Dr=_r.preserveSelectedRowKeys,tn=_r.selectedRowKeys,Br=_r.getCheckboxProps,wn=_r.onChange,mn=_r.onSelect,_n=_r.onSelectAll,hi=_r.onSelectInvert,li=_r.onSelectNone,Zn=_r.onSelectMultiple,$e=_r.columnWidth,kt=_r.type,or=_r.selections,tr=_r.fixed,Or=_r.renderCell,wr=_r.hideSelectAll,Xr=_r.checkStrictly,Qr=Xr===void 0?!0:Xr,cn=gr.prefixCls,Ln=gr.data,Cn=gr.pageData,Bn=gr.getRecordByKey,nn=gr.getRowKey,Dn=gr.expandType,hn=gr.childrenColumnName,An=gr.locale,xn=gr.expandIconColumnIndex,Rn=gr.getPopupContainer,ui=v.useRef(new Map),gi=Object(Hr.a)(tn||[],{value:tn}),Fi=Object(b.a)(gi,2),di=Fi[0],ii=Fi[1],Yi=Object(v.useMemo)(function(){return Qr?{keyEntities:null}:Object(nr.a)(Ln,{externalGetKey:nn,childrenPropName:hn})},[Ln,nn,Qr,hn]),_i=Yi.keyEntities,Mi=Object(v.useMemo)(function(){return hr(Cn,hn)},[Cn,hn]),Bi=Object(v.useMemo)(function(){var Xi=new Map;return Mi.forEach(function(Gi,Ta){var ka=nn(Gi,Ta),ha=(Br?Br(Gi):null)||{};Xi.set(ka,ha)}),Xi},[Mi,nn,Br]),Zi=Object(v.useCallback)(function(Xi){var Gi;return!!((Gi=Bi.get(nn(Xi)))===null||Gi===void 0?void 0:Gi.disabled)},[Bi,nn]),da=Object(v.useMemo)(function(){if(Qr)return[di||[],[]];var Xi=Object(sr.a)(di,!0,_i,Zi),Gi=Xi.checkedKeys,Ta=Xi.halfCheckedKeys;return[Gi||[],Ta]},[di,Qr,_i,Zi]),Ma=Object(b.a)(da,2),La=Ma[0],fa=Ma[1],xa=Object(v.useMemo)(function(){var Xi=kt==="radio"?La.slice(0,1):La;return new Set(Xi)},[La,kt]),ea=Object(v.useMemo)(function(){return kt==="radio"?new Set:new Set(fa)},[fa,kt]),ya=Object(v.useState)(null),sa=Object(b.a)(ya,2),Fa=sa[0],uo=sa[1];v.useEffect(function(){pt||ii([])},[!!pt]);var za=Object(v.useCallback)(function(Xi){var Gi,Ta;if(Dr){var ka=new Map;Gi=Xi,Ta=Xi.map(function(ha){var Ua=Bn(ha);return!Ua&&ui.current.has(ha)&&(Ua=ui.current.get(ha)),ka.set(ha,Ua),Ua}),ui.current=ka}else Gi=[],Ta=[],Xi.forEach(function(ha){var Ua=Bn(ha);Ua!==void 0&&(Gi.push(ha),Ta.push(Ua))});ii(Gi),wn&&wn(Gi,Ta)},[ii,Bn,wn,Dr]),Ya=Object(v.useCallback)(function(Xi,Gi,Ta,ka){if(mn){var ha=Ta.map(function(Ua){return Bn(Ua)});mn(Bn(Xi),Gi,ha,ka)}za(Ta)},[mn,Bn,za]),lo=Object(v.useMemo)(function(){if(!or||wr)return null;var Xi=or===!0?[Rr,Pr,an]:or;return Xi.map(function(Gi){return Gi===Rr?{key:"all",text:An.selectionAll,onSelect:function(){za(Ln.map(function(ka,ha){return nn(ka,ha)}))}}:Gi===Pr?{key:"invert",text:An.selectInvert,onSelect:function(){var ka=new Set(xa);Cn.forEach(function(Ua,ao){var Ao=nn(Ua,ao);ka.has(Ao)?ka.delete(Ao):ka.add(Ao)});var ha=Array.from(ka);za(ha),hi&&(Object(pr.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),hi(ha))}}:Gi===an?{key:"none",text:An.selectNone,onSelect:function(){za([]),li&&li()}}:Gi})},[or,xa,Cn,nn,hi,za]),ta=Object(v.useCallback)(function(Xi){if(!pt)return Xi;var Gi=new Set(xa),Ta=Mi.map(nn).filter(function(Aa){return!Bi.get(Aa).disabled}),ka=Ta.every(function(Aa){return Gi.has(Aa)}),ha=Ta.some(function(Aa){return Gi.has(Aa)}),Ua=function(){var wa=[];ka?Ta.forEach(function(Hi){Gi.delete(Hi),wa.push(Hi)}):Ta.forEach(function(Hi){Gi.has(Hi)||(Gi.add(Hi),wa.push(Hi))});var la=Array.from(Gi);za(la),_n&&_n(!ka,la.map(function(Hi){return Bn(Hi)}),wa.map(function(Hi){return Bn(Hi)}))},ao;if(kt!=="radio"){var Ao;if(lo){var ho=v.createElement(Ot.a,{getPopupContainer:Rn},lo.map(function(Aa,wa){var la=Aa.key,Hi=Aa.text,Ba=Aa.onSelect;return v.createElement(Ot.a.Item,{key:la||wa,onClick:function(){Ba&&Ba(Ta)}},Hi)}));Ao=v.createElement("div",{className:"".concat(cn,"-selection-extra")},v.createElement(Qt.a,{overlay:ho,getPopupContainer:Rn},v.createElement("span",null,v.createElement(wt.a,null))))}var ro=Mi.every(function(Aa,wa){var la=nn(Aa,wa),Hi=Bi.get(la)||{};return Hi.disabled});ao=!wr&&v.createElement("div",{className:"".concat(cn,"-selection")},v.createElement($r.a,{checked:!ro&&!!Mi.length&&ka,indeterminate:!ka&&ha,onChange:Ua,disabled:Mi.length===0||ro,skipGroup:!0}),Ao)}var qa;kt==="radio"?qa=function(wa,la,Hi){var Ba=nn(la,Hi),Ia=Gi.has(Ba);return{node:v.createElement(Ft.a,Object(g.a)({},Bi.get(Ba),{checked:Ia,onClick:function(Na){return Na.stopPropagation()},onChange:function(Na){Gi.has(Ba)||Ya(Ba,!0,[Ba],Na.nativeEvent)}})),checked:Ia}}:qa=function(wa,la,Hi){var Ba,Ia=nn(la,Hi),fo=Gi.has(Ia),Na=ea.has(Ia),po=Bi.get(Ia),vo;return Dn==="nest"?(vo=Na,Object(pr.a)(!(typeof(po==null?void 0:po.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):vo=(Ba=po==null?void 0:po.indeterminate)!==null&&Ba!==void 0?Ba:Na,{node:v.createElement($r.a,Object(g.a)({},po,{indeterminate:vo,checked:fo,skipGroup:!0,onClick:function(zo){return zo.stopPropagation()},onChange:function(zo){var yo=zo.nativeEvent,ra=yo.shiftKey,oo=-1,to=-1;if(ra&&Qr){var Za=new Set([Fa,Ia]);Ta.some(function(Ai,ba){if(Za.has(Ai))if(oo===-1)oo=ba;else return to=ba,!0;return!1})}if(to!==-1&&oo!==to&&Qr){var Lo=Ta.slice(oo,to+1),io=[];fo?Lo.forEach(function(Ai){Gi.has(Ai)&&(io.push(Ai),Gi.delete(Ai))}):Lo.forEach(function(Ai){Gi.has(Ai)||(io.push(Ai),Gi.add(Ai))});var Da=Array.from(Gi);za(Da),Zn&&Zn(!fo,Da.map(function(Ai){return Bn(Ai)}),io.map(function(Ai){return Bn(Ai)}))}else{var Co=La;if(Qr){var $o=fo?Object(Ar.b)(Co,Ia):Object(Ar.a)(Co,Ia);Ya(Ia,!fo,$o,yo)}else{var ns=Object(sr.a)([].concat(Object(e.a)(Co),[Ia]),!0,_i,Zi),es=ns.checkedKeys,va=ns.halfCheckedKeys,pa=es;if(fo){var ca=new Set(es);ca.delete(Ia),pa=Object(sr.a)(Array.from(ca),{checked:!1,halfCheckedKeys:va},_i,Zi).checkedKeys}Ya(Ia,!fo,pa,yo)}}uo(Ia)}})),checked:fo}};var no=function(wa,la,Hi){var Ba=qa(wa,la,Hi),Ia=Ba.node,fo=Ba.checked;return Or?Or(fo,la,Hi,Ia):Ia},Wi=Object(A.a)({width:$e,className:"".concat(cn,"-selection-column"),title:pt.columnTitle||ao,render:no},q,{className:"".concat(cn,"-selection-col")});if(Dn==="row"&&Xi.length&&!xn){var Ci=Object(it.a)(Xi),Di=Ci[0],ma=Ci.slice(1),ga=tr||Xt(ma[0]);return ga&&(Di.fixed=ga),[Di,Object(g.a)(Object(g.a)({},Wi),{fixed:ga})].concat(Object(e.a)(ma))}return[Object(g.a)(Object(g.a)({},Wi),{fixed:tr||Xt(Xi[0])})].concat(Object(e.a)(Xi))},[nn,Mi,pt,La,xa,ea,$e,lo,Dn,Fa,Bi,Zn,Ya,Zi]);return[ta,xa]}var Wr=d("0NbB"),Gr={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"},Tn=Gr,gn=d("6VBw"),In=function(gr,_r){return v.createElement(gn.a,Object(o.a)(Object(o.a)({},gr),{},{ref:_r,icon:Tn}))};In.displayName="CaretUpOutlined";var Fn=v.forwardRef(In),Xn=d("3S7+");function fi(pt,gr){return"key"in pt&&pt.key!==void 0&&pt.key!==null?pt.key:pt.dataIndex?Array.isArray(pt.dataIndex)?pt.dataIndex.join("."):pt.dataIndex:gr}function pi(pt,gr){return gr?"".concat(gr,"-").concat(pt):"".concat(pt)}function bi(pt,gr){return typeof pt=="function"?pt(gr):pt}var et="ascend",Le="descend";function Pe(pt){return Object(w.a)(pt.sorter)==="object"&&typeof pt.sorter.multiple=="number"?pt.sorter.multiple:!1}function je(pt){return typeof pt=="function"?pt:pt&&Object(w.a)(pt)==="object"&&pt.compare?pt.compare:!1}function Je(pt,gr){return gr?pt[pt.indexOf(gr)+1]:pt[0]}function Ve(pt,gr,_r){var Dr=[];function tn(Br,wn){Dr.push({column:Br,key:fi(Br,wn),multiplePriority:Pe(Br),sortOrder:Br.sortOrder})}return(pt||[]).forEach(function(Br,wn){var mn=pi(wn,_r);Br.children?("sortOrder"in Br&&tn(Br,mn),Dr=[].concat(Object(e.a)(Dr),Object(e.a)(Ve(Br.children,gr,mn)))):Br.sorter&&("sortOrder"in Br?tn(Br,mn):gr&&Br.defaultSortOrder&&Dr.push({column:Br,key:fi(Br,mn),multiplePriority:Pe(Br),sortOrder:Br.defaultSortOrder}))}),Dr}function Ze(pt,gr,_r,Dr,tn,Br,wn,mn){return(gr||[]).map(function(_n,hi){var li=pi(hi,mn),Zn=_n;if(Zn.sorter){var $e=Zn.sortDirections||tn,kt=Zn.showSorterTooltip===void 0?wn:Zn.showSorterTooltip,or=fi(Zn,li),tr=_r.find(function(Dn){var hn=Dn.key;return hn===or}),Or=tr?tr.sortOrder:null,wr=Je($e,Or),Xr=$e.includes(et)&&v.createElement(Fn,{className:l()("".concat(pt,"-column-sorter-up"),{active:Or===et})}),Qr=$e.includes(Le)&&v.createElement(Wr.a,{className:l()("".concat(pt,"-column-sorter-down"),{active:Or===Le})}),cn=Br||{},Ln=cn.cancelSort,Cn=cn.triggerAsc,Bn=cn.triggerDesc,nn=Ln;wr===Le?nn=Bn:wr===et&&(nn=Cn),Zn=Object(g.a)(Object(g.a)({},Zn),{className:l()(Zn.className,Object(A.a)({},"".concat(pt,"-column-sort"),Or)),title:function(hn){var An=v.createElement("div",{className:"".concat(pt,"-column-sorters")},v.createElement("span",null,bi(_n.title,hn)),v.createElement("span",{className:l()("".concat(pt,"-column-sorter"),Object(A.a)({},"".concat(pt,"-column-sorter-full"),Xr&&Qr))},v.createElement("span",{className:"".concat(pt,"-column-sorter-inner")},Xr,Qr)));return kt?v.createElement(Xn.a,{title:nn},v.createElement("div",{className:"".concat(pt,"-column-sorters-with-tooltip")},An)):An},onHeaderCell:function(hn){var An=_n.onHeaderCell&&_n.onHeaderCell(hn)||{},xn=An.onClick;return An.onClick=function(Rn){Dr({column:_n,key:or,sortOrder:wr,multiplePriority:Pe(_n)}),xn&&xn(Rn)},An.className=l()(An.className,"".concat(pt,"-column-has-sorters")),An}})}return"children"in Zn&&(Zn=Object(g.a)(Object(g.a)({},Zn),{children:Ze(pt,Zn.children,_r,Dr,tn,Br,wn,li)})),Zn})}function At(pt){var gr=pt.column,_r=pt.sortOrder;return{column:gr,order:_r,field:gr.dataIndex,columnKey:gr.key}}function dt(pt){var gr=pt.filter(function(_r){var Dr=_r.sortOrder;return Dr}).map(At);return gr.length===0&&pt.length?Object(g.a)(Object(g.a)({},At(pt[pt.length-1])),{column:void 0}):gr.length<=1?gr[0]||{}:gr}function Kt(pt,gr,_r){var Dr=gr.slice().sort(function(wn,mn){return mn.multiplePriority-wn.multiplePriority}),tn=pt.slice(),Br=Dr.filter(function(wn){var mn=wn.column.sorter,_n=wn.sortOrder;return je(mn)&&_n});return Br.length?tn.sort(function(wn,mn){for(var _n=0;_n<Br.length;_n+=1){var hi=Br[_n],li=hi.column.sorter,Zn=hi.sortOrder,$e=je(li);if($e&&Zn){var kt=$e(wn,mn,Zn);if(kt!==0)return Zn===et?kt:-kt}}return 0}).map(function(wn){var mn=wn[_r];return mn?Object(g.a)(Object(g.a)({},wn),Object(A.a)({},_r,Kt(mn,gr,_r))):wn}):tn}function $t(pt){var gr=pt.prefixCls,_r=pt.mergedColumns,Dr=pt.onSorterChange,tn=pt.sortDirections,Br=pt.tableLocale,wn=pt.showSorterTooltip,mn=v.useState(Ve(_r,!0)),_n=Object(b.a)(mn,2),hi=_n[0],li=_n[1],Zn=v.useMemo(function(){var Or=!0,wr=Ve(_r,!1);if(!wr.length)return hi;var Xr=[];function Qr(Ln){Or?Xr.push(Ln):Xr.push(Object(g.a)(Object(g.a)({},Ln),{sortOrder:null}))}var cn=null;return wr.forEach(function(Ln){cn===null?(Qr(Ln),Ln.sortOrder&&(Ln.multiplePriority===!1?Or=!1:cn=!0)):(cn&&Ln.multiplePriority!==!1||(Or=!1),Qr(Ln))}),Xr},[_r,hi]),$e=v.useMemo(function(){var Or=Zn.map(function(wr){var Xr=wr.column,Qr=wr.sortOrder;return{column:Xr,order:Qr}});return{sortColumns:Or,sortColumn:Or[0]&&Or[0].column,sortOrder:Or[0]&&Or[0].order}},[Zn]);function kt(Or){var wr;Or.multiplePriority===!1||!Zn.length||Zn[0].multiplePriority===!1?wr=[Or]:wr=[].concat(Object(e.a)(Zn.filter(function(Xr){var Qr=Xr.key;return Qr!==Or.key})),[Or]),li(wr),Dr(dt(wr),wr)}var or=function(wr){return Ze(gr,wr,Zn,kt,tn,Br,wn)},tr=function(){return dt(Zn)};return[or,Zn,$e,tr]}var er=d("Y+p1"),cr=d.n(er),Ct={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"},Nr=Ct,Zt=function(gr,_r){return v.createElement(gn.a,Object(o.a)(Object(o.a)({},gr),{},{ref:_r,icon:Nr}))};Zt.displayName="FilterFilled";var Ir=v.forwardRef(Zt),xr=d("2/Rp"),ur=d("ECub"),on=function(gr){return v.createElement("div",{className:gr.className,onClick:function(Dr){return Dr.stopPropagation()}},gr.children)},Yn=on,Vn=d("hkKa");function Wn(pt){var gr=v.useRef(pt),_r=Object(Vn.a)();return[function(){return gr.current},function(Dr){gr.current=Dr,_r()}]}var jn=Ot.a.SubMenu,Gn=Ot.a.Item;function Nn(pt){return pt.some(function(gr){var _r=gr.children;return _r})}function mi(pt){var gr=pt.filters,_r=pt.prefixCls,Dr=pt.filteredKeys,tn=pt.filterMultiple,Br=pt.locale;return gr.length===0?v.createElement("div",{style:{margin:"16px 0"}},v.createElement(ur.a,{image:ur.a.PRESENTED_IMAGE_SIMPLE,description:Br.filterEmptyText,imageStyle:{height:24}})):gr.map(function(wn,mn){var _n=String(wn.value);if(wn.children)return v.createElement(jn,{key:_n||mn,title:wn.text,popupClassName:"".concat(_r,"-dropdown-submenu")},mi({filters:wn.children,prefixCls:_r,filteredKeys:Dr,filterMultiple:tn,locale:Br}));var hi=tn?$r.a:Ft.a;return v.createElement(Gn,{key:wn.value!==void 0?_n:mn},v.createElement(hi,{checked:Dr.includes(_n)}),v.createElement("span",null,wn.text))})}function en(pt){var gr,_r=pt.prefixCls,Dr=pt.column,tn=pt.dropdownPrefixCls,Br=pt.columnKey,wn=pt.filterMultiple,mn=pt.filterState,_n=pt.triggerFilter,hi=pt.locale,li=pt.children,Zn=pt.getPopupContainer,$e=Dr.filterDropdownVisible,kt=Dr.onFilterDropdownVisibleChange,or=v.useState(!1),tr=Object(b.a)(or,2),Or=tr[0],wr=tr[1],Xr=!!(mn&&(((gr=mn.filteredKeys)===null||gr===void 0?void 0:gr.length)||mn.forceFiltered)),Qr=function(sa){wr(sa),kt&&kt(sa)},cn=typeof $e=="boolean"?$e:Or,Ln=mn&&mn.filteredKeys,Cn=Wn(Ln||[]),Bn=Object(b.a)(Cn,2),nn=Bn[0],Dn=Bn[1],hn=function(sa){var Fa=sa.selectedKeys;Dn(Fa)};v.useEffect(function(){hn({selectedKeys:Ln||[]})},[Ln]);var An=v.useState([]),xn=Object(b.a)(An,2),Rn=xn[0],ui=xn[1],gi=v.useRef(),Fi=function(sa){gi.current=window.setTimeout(function(){ui(sa)})},di=function(){window.clearTimeout(gi.current)};v.useEffect(function(){return function(){window.clearTimeout(gi.current)}},[]);var ii=function(sa){var Fa=sa&&sa.length?sa:null;if(Fa===null&&(!mn||!mn.filteredKeys))return null;if(cr()(Fa,mn==null?void 0:mn.filteredKeys))return null;_n({column:Dr,key:Br,filteredKeys:Fa})},Yi=function(){Qr(!1),ii(nn())},_i=function(){Dn([]),Qr(!1),ii([])},Mi=function(){var sa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Qr(!sa.closeDropdown),ii(nn())},Bi=function(sa){sa&&Ln!==void 0&&Dn(Ln||[]),Qr(sa),!sa&&!Dr.filterDropdown&&Yi()},Zi=l()(Object(A.a)({},"".concat(tn,"-menu-without-submenu"),!Nn(Dr.filters||[]))),da;if(typeof Dr.filterDropdown=="function")da=Dr.filterDropdown({prefixCls:"".concat(tn,"-custom"),setSelectedKeys:function(sa){return hn({selectedKeys:sa})},selectedKeys:nn(),confirm:Mi,clearFilters:_i,filters:Dr.filters,visible:cn});else if(Dr.filterDropdown)da=Dr.filterDropdown;else{var Ma=nn()||[];da=v.createElement(v.Fragment,null,v.createElement(Ot.a,{multiple:wn,prefixCls:"".concat(tn,"-menu"),className:Zi,onClick:di,onSelect:hn,onDeselect:hn,selectedKeys:Ma,getPopupContainer:Zn,openKeys:Rn,onOpenChange:Fi},mi({filters:Dr.filters||[],prefixCls:_r,filteredKeys:nn(),filterMultiple:wn,locale:hi})),v.createElement("div",{className:"".concat(_r,"-dropdown-btns")},v.createElement(xr.a,{type:"link",size:"small",disabled:Ma.length===0,onClick:_i},hi.filterReset),v.createElement(xr.a,{type:"primary",size:"small",onClick:Yi},hi.filterConfirm)))}var La=v.createElement(Yn,{className:"".concat(_r,"-dropdown")},da),fa;typeof Dr.filterIcon=="function"?fa=Dr.filterIcon(Xr):Dr.filterIcon?fa=Dr.filterIcon:fa=v.createElement(Ir,null);var xa=v.useContext(fn.b),ea=xa.direction;return v.createElement("div",{className:l()("".concat(_r,"-column"))},v.createElement("span",{className:"".concat(_r,"-column-title")},li),v.createElement("span",{className:l()("".concat(_r,"-trigger-container"),Object(A.a)({},"".concat(_r,"-trigger-container-open"),cn)),onClick:function(sa){sa.stopPropagation()}},v.createElement(Qt.a,{overlay:La,trigger:["click"],visible:cn,onVisibleChange:Bi,getPopupContainer:Zn,placement:ea==="rtl"?"bottomLeft":"bottomRight"},v.createElement("span",{role:"button",tabIndex:-1,className:l()("".concat(_r,"-trigger"),{active:Xr})},fa))))}var Kr=en;function dn(pt,gr,_r){var Dr=[];return(pt||[]).forEach(function(tn,Br){var wn,mn=pi(Br,_r);if("children"in tn)Dr=[].concat(Object(e.a)(Dr),Object(e.a)(dn(tn.children,gr,mn)));else if(tn.filters||"filterDropdown"in tn||"onFilter"in tn)if("filteredValue"in tn){var _n=tn.filteredValue;"filterDropdown"in tn||(_n=(wn=_n==null?void 0:_n.map(String))!==null&&wn!==void 0?wn:_n),Dr.push({column:tn,key:fi(tn,mn),filteredKeys:_n,forceFiltered:tn.filtered})}else Dr.push({column:tn,key:fi(tn,mn),filteredKeys:gr&&tn.defaultFilteredValue?tn.defaultFilteredValue:void 0,forceFiltered:tn.filtered})}),Dr}function Vr(pt,gr,_r,Dr,tn,Br,wn,mn){return _r.map(function(_n,hi){var li=pi(hi,mn),Zn=_n.filterMultiple,$e=Zn===void 0?!0:Zn,kt=_n;if(kt.filters||kt.filterDropdown){var or=fi(kt,li),tr=Dr.find(function(Or){var wr=Or.key;return or===wr});kt=Object(g.a)(Object(g.a)({},kt),{title:function(wr){return v.createElement(Kr,{prefixCls:"".concat(pt,"-filter"),dropdownPrefixCls:gr,column:kt,columnKey:or,filterState:tr,filterMultiple:$e,triggerFilter:tn,locale:wn,getPopupContainer:Br},bi(_n.title,wr))}})}return"children"in kt&&(kt=Object(g.a)(Object(g.a)({},kt),{children:Vr(pt,gr,kt.children,Dr,tn,Br,wn,li)})),kt})}function ni(pt){var gr=[];return(pt||[]).forEach(function(_r){var Dr=_r.value,tn=_r.children;gr.push(Dr),tn&&(gr=[].concat(Object(e.a)(gr),Object(e.a)(ni(tn))))}),gr}function Hn(pt){var gr={};return pt.forEach(function(_r){var Dr=_r.key,tn=_r.filteredKeys,Br=_r.column,wn=Br.filters,mn=Br.filterDropdown;if(mn)gr[Dr]=tn||null;else if(Array.isArray(tn)){var _n=ni(wn);gr[Dr]=_n.filter(function(hi){return tn.includes(String(hi))})}else gr[Dr]=null}),gr}function Kn(pt,gr){return gr.reduce(function(_r,Dr){var tn=Dr.column,Br=tn.onFilter,wn=tn.filters,mn=Dr.filteredKeys;return Br&&mn&&mn.length?_r.filter(function(_n){return mn.some(function(hi){var li=ni(wn),Zn=li.findIndex(function(kt){return String(kt)===String(hi)}),$e=Zn!==-1?li[Zn]:hi;return Br($e,_n)})}):_r},pt)}function bn(pt){var gr=pt.prefixCls,_r=pt.dropdownPrefixCls,Dr=pt.mergedColumns,tn=pt.onFilterChange,Br=pt.getPopupContainer,wn=pt.locale,mn=v.useState(dn(Dr,!0)),_n=Object(b.a)(mn,2),hi=_n[0],li=_n[1],Zn=v.useMemo(function(){var tr=dn(Dr,!1);return tr.every(function(Or){var wr=Or.filteredKeys;return wr===void 0})?hi:tr},[Dr,hi]),$e=v.useCallback(function(){return Hn(Zn)},[Zn]),kt=function(Or){var wr=Zn.filter(function(Xr){var Qr=Xr.key;return Qr!==Or.key});wr.push(Or),li(wr),tn(Hn(wr),wr)},or=function(Or){return Vr(gr,_r,Or,Zn,kt,Br,wn)};return[or,Zn,$e]}var wi=bn;function si(pt,gr){return pt.map(function(_r){var Dr=Object(g.a)({},_r);return Dr.title=bi(_r.title,gr),"children"in Dr&&(Dr.children=si(Dr.children,gr)),Dr})}function Oi(pt){var gr=v.useCallback(function(_r){return si(_r,pt)},[pt]);return[gr]}function qr(pt){return function(_r){var Dr,tn=_r.prefixCls,Br=_r.onExpand,wn=_r.record,mn=_r.expanded,_n=_r.expandable,hi="".concat(tn,"-row-expand-icon");return v.createElement("button",{type:"button",onClick:function(Zn){Br(wn,Zn),Zn.stopPropagation()},className:l()(hi,(Dr={},Object(A.a)(Dr,"".concat(hi,"-spaced"),!_n),Object(A.a)(Dr,"".concat(hi,"-expanded"),_n&&mn),Object(A.a)(Dr,"".concat(hi,"-collapsed"),_n&&!mn),Dr)),"aria-label":mn?pt.collapse:pt.expand})}}var Sr=qr,sn=d("zAh6"),yn=d("D7Yy"),On=d("3Nzz");function Pn(pt){return null}var ti=Pn;function ai(pt){return null}var qn=ai,xi=d("5OYt"),Pi=[];function ki(pt){var gr,_r=pt.prefixCls,Dr=pt.className,tn=pt.style,Br=pt.size,wn=pt.bordered,mn=pt.dropdownPrefixCls,_n=pt.dataSource,hi=pt.pagination,li=pt.rowSelection,Zn=pt.rowKey,$e=pt.rowClassName,kt=pt.columns,or=pt.children,tr=pt.childrenColumnName,Or=pt.onChange,wr=pt.getPopupContainer,Xr=pt.loading,Qr=pt.expandIcon,cn=pt.expandable,Ln=pt.expandedRowRender,Cn=pt.expandIconColumnIndex,Bn=pt.indentSize,nn=pt.scroll,Dn=pt.sortDirections,hn=pt.locale,An=pt.showSorterTooltip,xn=An===void 0?!0:An;Object(pr.a)(!(typeof Zn=="function"&&Zn.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var Rn=Object(xi.a)(),ui=v.useMemo(function(){var pa=new Set(Object.keys(Rn).filter(function(ca){return Rn[ca]}));return(kt||we(or)).filter(function(ca){return!ca.responsive||ca.responsive.some(function(Ai){return pa.has(Ai)})})},[or,kt,Rn]),gi=Object(u.a)(pt,["className","style","columns"]),Fi=v.useContext(On.b),di=v.useContext(fn.b),ii=di.locale,Yi=ii===void 0?yn.a:ii,_i=di.renderEmpty,Mi=di.direction,Bi=Br||Fi,Zi=Object(g.a)(Object(g.a)({},Yi.Table),hn),da=_n||Pi,Ma=v.useContext(fn.b),La=Ma.getPrefixCls,fa=La("table",_r),xa=La("dropdown",mn),ea=Object(g.a)({childrenColumnName:tr,expandIconColumnIndex:Cn},cn),ya=ea.childrenColumnName,sa=ya===void 0?"children":ya,Fa=v.useMemo(function(){return da.some(function(pa){var ca;return(ca=pa)===null||ca===void 0?void 0:ca[sa]})?"nest":Ln||cn&&cn.expandedRowRender?"row":null},[da]),uo={body:v.useRef()},za=v.useMemo(function(){return typeof Zn=="function"?Zn:function(pa){var ca;return(ca=pa)===null||ca===void 0?void 0:ca[Zn]}},[Zn]),Ya=Fe(da,sa,za),lo=Object(b.a)(Ya,1),ta=lo[0],Xi={},Gi=function(ca,Ai){var ba=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,$a=Object(g.a)(Object(g.a)({},Xi),ca);ba&&(Xi.resetPagination(),$a.pagination.current&&($a.pagination.current=1),hi&&hi.onChange&&hi.onChange(1,$a.pagination.pageSize)),nn&&nn.scrollToFirstRowOnChange!==!1&&uo.body.current&&Object(sn.a)(0,{getContainer:function(){return uo.body.current}}),Or&&Or($a.pagination,$a.filters,$a.sorter,{currentDataSource:Kn(Kt(da,$a.sorterStates,sa),$a.filterStates),action:Ai})},Ta=function(ca,Ai){Gi({sorter:ca,sorterStates:Ai},"sort",!1)},ka=$t({prefixCls:fa,mergedColumns:ui,onSorterChange:Ta,sortDirections:Dn||["ascend","descend"],tableLocale:Zi,showSorterTooltip:xn}),ha=Object(b.a)(ka,4),Ua=ha[0],ao=ha[1],Ao=ha[2],ho=ha[3],ro=v.useMemo(function(){return Kt(da,ao,sa)},[da,ao]);Xi.sorter=ho(),Xi.sorterStates=ao;var qa=function(ca,Ai){Gi({filters:ca,filterStates:Ai},"filter",!0)},no=wi({prefixCls:fa,locale:Zi,dropdownPrefixCls:xa,mergedColumns:ui,onFilterChange:qa,getPopupContainer:wr}),Wi=Object(b.a)(no,3),Ci=Wi[0],Di=Wi[1],ma=Wi[2],ga=Kn(ro,Di);Xi.filters=ma(),Xi.filterStates=Di;var Aa=v.useMemo(function(){return Object(g.a)({},Ao)},[Ao]),wa=Oi(Aa),la=Object(b.a)(wa,1),Hi=la[0],Ba=function(ca,Ai){Gi({pagination:Object(g.a)(Object(g.a)({},Xi.pagination),{current:ca,pageSize:Ai})},"paginate")},Ia=be(ga.length,hi,Ba),fo=Object(b.a)(Ia,2),Na=fo[0],po=fo[1];Xi.pagination=hi===!1?{}:ut(hi,Na),Xi.resetPagination=po;var vo=v.useMemo(function(){if(hi===!1||!Na.pageSize)return ga;var pa=Na.current,ca=pa===void 0?1:pa,Ai=Na.total,ba=Na.pageSize,$a=ba===void 0?bt:ba;return ga.length<Ai?ga.length>$a?(Object(pr.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."),ga.slice((ca-1)*$a,ca*$a)):ga:ga.slice((ca-1)*$a,ca*$a)},[!!hi,ga,Na&&Na.current,Na&&Na.pageSize,Na&&Na.total]),Ko=Tr(li,{prefixCls:fa,data:ga,pageData:vo,getRowKey:za,getRecordByKey:ta,expandType:Fa,childrenColumnName:sa,locale:Zi,expandIconColumnIndex:ea.expandIconColumnIndex,getPopupContainer:wr}),zo=Object(b.a)(Ko,2),yo=zo[0],ra=zo[1],oo=function(ca,Ai,ba){var $a;return typeof $e=="function"?$a=l()($e(ca,Ai,ba)):$a=l()($e),l()(Object(A.a)({},"".concat(fa,"-row-selected"),ra.has(za(ca,Ai))),$a)};ea.__PARENT_RENDER_ICON__=ea.expandIcon,ea.expandIcon=ea.expandIcon||Qr||Sr(Zi),Fa==="nest"&&ea.expandIconColumnIndex===void 0?ea.expandIconColumnIndex=li?1:0:ea.expandIconColumnIndex>0&&li&&(ea.expandIconColumnIndex-=1),typeof ea.indentSize!="number"&&(ea.indentSize=typeof Bn=="number"?Bn:15);var to=v.useCallback(function(pa){return Hi(yo(Ci(Ua(pa))))},[Ua,Ci,yo]),Za,Lo;if(hi!==!1&&(Na==null?void 0:Na.total)){var io;Na.size?io=Na.size:io=Bi==="small"||Bi==="middle"?"small":void 0;var Da=function(ca){return v.createElement(ei.a,Object(g.a)({className:"".concat(fa,"-pagination ").concat(fa,"-pagination-").concat(ca)},Na,{size:io}))},Co=Mi==="rtl"?"left":"right";if(Na.position!==null&&Array.isArray(Na.position)){var $o=Na.position.find(function(pa){return pa.indexOf("top")!==-1}),ns=Na.position.find(function(pa){return pa.indexOf("bottom")!==-1});!$o&&!ns?Lo=Da(Co):($o&&(Za=Da($o.toLowerCase().replace("top",""))),ns&&(Lo=Da(ns.toLowerCase().replace("bottom",""))))}else Lo=Da(Co)}var es;typeof Xr=="boolean"?es={spinning:Xr}:Object(w.a)(Xr)==="object"&&(es=Object(g.a)({spinning:!0},Xr));var va=l()("".concat(fa,"-wrapper"),Object(A.a)({},"".concat(fa,"-wrapper-rtl"),Mi==="rtl"),Dr);return v.createElement("div",{className:va,style:tn},v.createElement(rn.a,Object(g.a)({spinning:!1},es),Za,v.createElement(zr,Object(g.a)({},gi,{columns:ui,direction:Mi,expandable:ea,prefixCls:fa,className:l()((gr={},Object(A.a)(gr,"".concat(fa,"-middle"),Bi==="middle"),Object(A.a)(gr,"".concat(fa,"-small"),Bi==="small"),Object(A.a)(gr,"".concat(fa,"-bordered"),wn),Object(A.a)(gr,"".concat(fa,"-empty"),da.length===0),gr)),data:vo,rowKey:za,rowClassName:oo,emptyText:hn&&hn.emptyText||_i("Table"),internalHooks:Rt,internalRefs:uo,transformColumns:to})),Lo))}ki.defaultProps={rowKey:"key"},ki.SELECTION_ALL=Rr,ki.SELECTION_INVERT=Pr,ki.SELECTION_NONE=an,ki.Column=ti,ki.ColumnGroup=qn,ki.Summary=Me;var ja=ki,ri=B.a=ja},wDdD:function(k,B,d){var w=d("ProS"),A=d("bYtY");d("98bh"),d("GrNh");var b=d("d4KN"),g=d("mOdp"),v=d("KS52"),f=d("0/Rx");b("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),w.registerVisual(g("pie")),w.registerLayout(A.curry(v,"pie")),w.registerProcessor(f("pie"))},wOnQ:function(k,B,d){/*!
* html2canvas 1.3.2 <https://html2canvas.hertzen.com>
* Copyright (c) 2021 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/(function(w,A){k.exports=A()})(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 w=function(fe,Te){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ke,at){ke.__proto__=at}||function(ke,at){for(var Ht in at)Object.prototype.hasOwnProperty.call(at,Ht)&&(ke[Ht]=at[Ht])},w(fe,Te)};function A(ct,fe){if(typeof fe!="function"&&fe!==null)throw new TypeError("Class extends value "+String(fe)+" is not a constructor or null");w(ct,fe);function Te(){this.constructor=ct}ct.prototype=fe===null?Object.create(fe):(Te.prototype=fe.prototype,new Te)}var b=function(){return b=Object.assign||function(Te){for(var ke,at=1,Ht=arguments.length;at<Ht;at++){ke=arguments[at];for(var dr in ke)Object.prototype.hasOwnProperty.call(ke,dr)&&(Te[dr]=ke[dr])}return Te},b.apply(this,arguments)};function g(ct,fe,Te,ke){function at(Ht){return Ht instanceof Te?Ht:new Te(function(dr){dr(Ht)})}return new(Te||(Te=Promise))(function(Ht,dr){function Er(zn){try{Yr(ke.next(zn))}catch(Mn){dr(Mn)}}function Mr(zn){try{Yr(ke.throw(zn))}catch(Mn){dr(Mn)}}function Yr(zn){zn.done?Ht(zn.value):at(zn.value).then(Er,Mr)}Yr((ke=ke.apply(ct,fe||[])).next())})}function v(ct,fe){var Te={label:0,sent:function(){if(Ht[0]&1)throw Ht[1];return Ht[1]},trys:[],ops:[]},ke,at,Ht,dr;return dr={next:Er(0),throw:Er(1),return:Er(2)},typeof Symbol=="function"&&(dr[Symbol.iterator]=function(){return this}),dr;function Er(Yr){return function(zn){return Mr([Yr,zn])}}function Mr(Yr){if(ke)throw new TypeError("Generator is already executing.");for(;Te;)try{if(ke=1,at&&(Ht=Yr[0]&2?at.return:Yr[0]?at.throw||((Ht=at.return)&&Ht.call(at),0):at.next)&&!(Ht=Ht.call(at,Yr[1])).done)return Ht;(at=0,Ht)&&(Yr=[Yr[0]&2,Ht.value]);switch(Yr[0]){case 0:case 1:Ht=Yr;break;case 4:return Te.label++,{value:Yr[1],done:!1};case 5:Te.label++,at=Yr[1],Yr=[0];continue;case 7:Yr=Te.ops.pop(),Te.trys.pop();continue;default:if(!(Ht=Te.trys,Ht=Ht.length>0&&Ht[Ht.length-1])&&(Yr[0]===6||Yr[0]===2)){Te=0;continue}if(Yr[0]===3&&(!Ht||Yr[1]>Ht[0]&&Yr[1]<Ht[3])){Te.label=Yr[1];break}if(Yr[0]===6&&Te.label<Ht[1]){Te.label=Ht[1],Ht=Yr;break}if(Ht&&Te.label<Ht[2]){Te.label=Ht[2],Te.ops.push(Yr);break}Ht[2]&&Te.ops.pop(),Te.trys.pop();continue}Yr=fe.call(ct,Te)}catch(zn){Yr=[6,zn],at=0}finally{ke=Ht=0}if(Yr[0]&5)throw Yr[1];return{value:Yr[0]?Yr[1]:void 0,done:!0}}}function f(ct,fe,Te){if(Te||arguments.length===2)for(var ke=0,at=fe.length,Ht;ke<at;ke++)(Ht||!(ke in fe))&&(Ht||(Ht=Array.prototype.slice.call(fe,0,ke)),Ht[ke]=fe[ke]);return ct.concat(Ht||fe)}for(var l=function(){function ct(fe,Te,ke,at){this.left=fe,this.top=Te,this.width=ke,this.height=at}return ct.prototype.add=function(fe,Te,ke,at){return new ct(this.left+fe,this.top+Te,this.width+ke,this.height+at)},ct.fromClientRect=function(fe,Te){return new ct(Te.left+fe.windowBounds.left,Te.top+fe.windowBounds.top,Te.width,Te.height)},ct.fromDOMRectList=function(fe,Te){var ke=Te[0];return ke?new ct(ke.x+fe.windowBounds.left,ke.y+fe.windowBounds.top,ke.width,ke.height):ct.EMPTY},ct.EMPTY=new ct(0,0,0,0),ct}(),u=function(fe,Te){return l.fromClientRect(fe,Te.getBoundingClientRect())},o=function(fe){var Te=fe.body,ke=fe.documentElement;if(!Te||!ke)throw new Error("Unable to get document size");var at=Math.max(Math.max(Te.scrollWidth,ke.scrollWidth),Math.max(Te.offsetWidth,ke.offsetWidth),Math.max(Te.clientWidth,ke.clientWidth)),Ht=Math.max(Math.max(Te.scrollHeight,ke.scrollHeight),Math.max(Te.offsetHeight,ke.offsetHeight),Math.max(Te.clientHeight,ke.clientHeight));return new l(0,0,at,Ht)},e=function(fe){for(var Te=[],ke=0,at=fe.length;ke<at;){var Ht=fe.charCodeAt(ke++);if(Ht>=55296&&Ht<=56319&&ke<at){var dr=fe.charCodeAt(ke++);(dr&64512)===56320?Te.push(((Ht&1023)<<10)+(dr&1023)+65536):(Te.push(Ht),ke--)}else Te.push(Ht)}return Te},n=function(){for(var fe=[],Te=0;Te<arguments.length;Te++)fe[Te]=arguments[Te];if(String.fromCodePoint)return String.fromCodePoint.apply(String,fe);var ke=fe.length;if(!ke)return"";for(var at=[],Ht=-1,dr="";++Ht<ke;){var Er=fe[Ht];Er<=65535?at.push(Er):(Er-=65536,at.push((Er>>10)+55296,Er%1024+56320)),(Ht+1===ke||at.length>16384)&&(dr+=String.fromCharCode.apply(String,at),at.length=0)}return dr},i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),s=0;s<i.length;s++)r[i.charCodeAt(s)]=s;var t=function(fe){var Te=fe.length*.75,ke=fe.length,at,Ht=0,dr,Er,Mr,Yr;fe[fe.length-1]==="="&&(Te--,fe[fe.length-2]==="="&&Te--);var zn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Te):new Array(Te),Mn=Array.isArray(zn)?zn:new Uint8Array(zn);for(at=0;at<ke;at+=4)dr=r[fe.charCodeAt(at)],Er=r[fe.charCodeAt(at+1)],Mr=r[fe.charCodeAt(at+2)],Yr=r[fe.charCodeAt(at+3)],Mn[Ht++]=dr<<2|Er>>4,Mn[Ht++]=(Er&15)<<4|Mr>>2,Mn[Ht++]=(Mr&3)<<6|Yr&63;return zn},a=function(fe){for(var Te=fe.length,ke=[],at=0;at<Te;at+=2)ke.push(fe[at+1]<<8|fe[at]);return ke},c=function(fe){for(var Te=fe.length,ke=[],at=0;at<Te;at+=4)ke.push(fe[at+3]<<24|fe[at+2]<<16|fe[at+1]<<8|fe[at]);return ke},h=5,p=6+5,m=2,S=p-h,y=65536>>h,x=1<<h,C=x-1,T=1024>>h,_=y+T,E=_,I=2048>>6,L=E+I,D=65536>>p,F=1<<S,N=F-1,P=function(fe,Te,ke){return fe.slice?fe.slice(Te,ke):new Uint16Array(Array.prototype.slice.call(fe,Te,ke))},W=function(fe,Te,ke){return fe.slice?fe.slice(Te,ke):new Uint32Array(Array.prototype.slice.call(fe,Te,ke))},R=function(fe){var Te=t(fe),ke=Array.isArray(Te)?c(Te):new Uint32Array(Te),at=Array.isArray(Te)?a(Te):new Uint16Array(Te),Ht=24,dr=P(at,Ht/2,ke[4]/2),Er=ke[5]===2?P(at,(Ht+ke[4])/2):W(ke,Math.ceil((Ht+ke[4])/4));return new j(ke[0],ke[1],ke[2],ke[3],dr,Er)},j=function(){function ct(fe,Te,ke,at,Ht,dr){this.initialValue=fe,this.errorValue=Te,this.highStart=ke,this.highValueIndex=at,this.index=Ht,this.data=dr}return ct.prototype.get=function(fe){var Te;if(fe>=0){if(fe<55296||fe>56319&&fe<=65535)return Te=this.index[fe>>h],Te=(Te<<m)+(fe&C),this.data[Te];if(fe<=65535)return Te=this.index[y+(fe-55296>>h)],Te=(Te<<m)+(fe&C),this.data[Te];if(fe<this.highStart)return Te=L-D+(fe>>p),Te=this.index[Te],Te+=fe>>h&N,Te=this.index[Te],Te=(Te<<m)+(fe&C),this.data[Te];if(fe<=1114111)return this.data[this.highValueIndex]}return this.errorValue},ct}(),H="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==",K=50,U=1,G=2,z=3,Y=4,q=5,oe=7,ie=8,se=9,he=10,pe=11,_e=12,De=13,Xe=14,J=15,Ee=16,qe=17,ae=18,V=19,X=20,Z=21,ge=22,le=23,Se=24,me=25,$=26,we=27,xe=28,We=29,st=30,nt=31,Ne=32,St=33,Ye=34,vt=35,It=36,Ut=37,xt=38,Bt=39,Qe=40,te=41,Q=42,Me=43,Ce=[9001,65288],ue="!",ot="\xD7",rt="\xF7",Ue=R(H),Ge=[st,It],tt=[U,G,z,q],Wt=[he,ie],jt=[we,$],Yt=tt.concat(Wt),Tt=[xt,Bt,Qe,Ye,vt],Rt=[J,De],yt=function(fe,Te){Te===void 0&&(Te="strict");var ke=[],at=[],Ht=[];return fe.forEach(function(dr,Er){var Mr=Ue.get(dr);if(Mr>K?(Ht.push(!0),Mr-=K):Ht.push(!1),["normal","auto","loose"].indexOf(Te)!==-1&&[8208,8211,12316,12448].indexOf(dr)!==-1)return at.push(Er),ke.push(Ee);if(Mr===Y||Mr===pe){if(Er===0)return at.push(Er),ke.push(st);var Yr=ke[Er-1];return Yt.indexOf(Yr)===-1?(at.push(at[Er-1]),ke.push(Yr)):(at.push(Er),ke.push(st))}if(at.push(Er),Mr===nt)return ke.push(Te==="strict"?Z:Ut);if(Mr===Q)return ke.push(st);if(Mr===We)return ke.push(st);if(Mr===Me)return dr>=131072&&dr<=196605||dr>=196608&&dr<=262141?ke.push(Ut):ke.push(st);ke.push(Mr)}),[at,ke,Ht]},Jt=function(fe,Te,ke,at){var Ht=at[ke];if(Array.isArray(fe)?fe.indexOf(Ht)!==-1:fe===Ht)for(var dr=ke;dr<=at.length;){dr++;var Er=at[dr];if(Er===Te)return!0;if(Er!==he)break}if(Ht===he)for(var dr=ke;dr>0;){dr--;var Mr=at[dr];if(Array.isArray(fe)?fe.indexOf(Mr)!==-1:fe===Mr)for(var Yr=ke;Yr<=at.length;){Yr++;var Er=at[Yr];if(Er===Te)return!0;if(Er!==he)break}if(Mr!==he)break}return!1},Lr=function(fe,Te){for(var ke=fe;ke>=0;){var at=Te[ke];if(at===he)ke--;else return at}return 0},zr=function(fe,Te,ke,at,Ht){if(ke[at]===0)return ot;var dr=at-1;if(Array.isArray(Ht)&&Ht[dr]===!0)return ot;var Er=dr-1,Mr=dr+1,Yr=Te[dr],zn=Er>=0?Te[Er]:0,Mn=Te[Mr];if(Yr===G&&Mn===z)return ot;if(tt.indexOf(Yr)!==-1)return ue;if(tt.indexOf(Mn)!==-1)return ot;if(Wt.indexOf(Mn)!==-1)return ot;if(Lr(dr,Te)===ie)return rt;if(Ue.get(fe[dr])===pe)return ot;if((Yr===Ne||Yr===St)&&Ue.get(fe[Mr])===pe)return ot;if(Yr===oe||Mn===oe)return ot;if(Yr===se)return ot;if([he,De,J].indexOf(Yr)===-1&&Mn===se)return ot;if([qe,ae,V,Se,xe].indexOf(Mn)!==-1)return ot;if(Lr(dr,Te)===ge)return ot;if(Jt(le,ge,dr,Te))return ot;if(Jt([qe,ae],Z,dr,Te))return ot;if(Jt(_e,_e,dr,Te))return ot;if(Yr===he)return rt;if(Yr===le||Mn===le)return ot;if(Mn===Ee||Yr===Ee)return rt;if([De,J,Z].indexOf(Mn)!==-1||Yr===Xe)return ot;if(zn===It&&Rt.indexOf(Yr)!==-1)return ot;if(Yr===xe&&Mn===It)return ot;if(Mn===X)return ot;if(Ge.indexOf(Mn)!==-1&&Yr===me||Ge.indexOf(Yr)!==-1&&Mn===me)return ot;if(Yr===we&&[Ut,Ne,St].indexOf(Mn)!==-1||[Ut,Ne,St].indexOf(Yr)!==-1&&Mn===$)return ot;if(Ge.indexOf(Yr)!==-1&&jt.indexOf(Mn)!==-1||jt.indexOf(Yr)!==-1&&Ge.indexOf(Mn)!==-1)return ot;if([we,$].indexOf(Yr)!==-1&&(Mn===me||[ge,J].indexOf(Mn)!==-1&&Te[Mr+1]===me)||[ge,J].indexOf(Yr)!==-1&&Mn===me||Yr===me&&[me,xe,Se].indexOf(Mn)!==-1)return ot;if([me,xe,Se,qe,ae].indexOf(Mn)!==-1)for(var Jn=dr;Jn>=0;){var Ki=Te[Jn];if(Ki===me)return ot;if([xe,Se].indexOf(Ki)!==-1)Jn--;else break}if([we,$].indexOf(Mn)!==-1)for(var Jn=[qe,ae].indexOf(Yr)!==-1?Er:dr;Jn>=0;){var Ki=Te[Jn];if(Ki===me)return ot;if([xe,Se].indexOf(Ki)!==-1)Jn--;else break}if(xt===Yr&&[xt,Bt,Ye,vt].indexOf(Mn)!==-1||[Bt,Ye].indexOf(Yr)!==-1&&[Bt,Qe].indexOf(Mn)!==-1||[Qe,vt].indexOf(Yr)!==-1&&Mn===Qe)return ot;if(Tt.indexOf(Yr)!==-1&&[X,$].indexOf(Mn)!==-1||Tt.indexOf(Mn)!==-1&&Yr===we)return ot;if(Ge.indexOf(Yr)!==-1&&Ge.indexOf(Mn)!==-1)return ot;if(Yr===Se&&Ge.indexOf(Mn)!==-1)return ot;if(Ge.concat(me).indexOf(Yr)!==-1&&Mn===ge&&Ce.indexOf(fe[Mr])===-1||Ge.concat(me).indexOf(Mn)!==-1&&Yr===ae)return ot;if(Yr===te&&Mn===te){for(var zi=ke[dr],oa=1;zi>0&&(zi--,Te[zi]===te);)oa++;if(oa%2!==0)return ot}return Yr===Ne&&Mn===St?ot:rt},rn=function(fe,Te){Te||(Te={lineBreak:"normal",wordBreak:"normal"});var ke=yt(fe,Te.lineBreak),at=ke[0],Ht=ke[1],dr=ke[2];(Te.wordBreak==="break-all"||Te.wordBreak==="break-word")&&(Ht=Ht.map(function(Mr){return[me,st,Q].indexOf(Mr)!==-1?Ut:Mr}));var Er=Te.wordBreak==="keep-all"?dr.map(function(Mr,Yr){return Mr&&fe[Yr]>=19968&&fe[Yr]<=40959}):void 0;return[at,Ht,Er]},ei=function(){function ct(fe,Te,ke,at){this.codePoints=fe,this.required=Te===ue,this.start=ke,this.end=at}return ct.prototype.slice=function(){return n.apply(void 0,this.codePoints.slice(this.start,this.end))},ct}(),fn=function(fe,Te){var ke=e(fe),at=rn(ke,Te),Ht=at[0],dr=at[1],Er=at[2],Mr=ke.length,Yr=0,zn=0;return{next:function(){if(zn>=Mr)return{done:!0,value:null};for(var Jn=ot;zn<Mr&&(Jn=zr(ke,dr,Ht,++zn,Er))===ot;);if(Jn!==ot||zn===Mr){var Ki=new ei(ke,Jn,Yr,zn);return Yr=zn,{value:Ki,done:!1}}return{done:!0,value:null}}}},Zr=1<<0,bt=1<<1,ut=1<<2,Oe=1<<3,be=10,Fe=47,it=92,wt=9,nr=32,sr=34,Ar=61,Hr=35,$r=36,Qt=37,Ot=39,Ft=40,pr=41,Rr=95,Pr=45,an=33,Xt=60,hr=62,Tr=64,Wr=91,Gr=93,Tn=61,gn=123,In=63,Fn=125,Xn=124,fi=126,pi=128,bi=65533,et=42,Le=43,Pe=44,je=58,Je=59,Ve=46,Ze=0,At=8,dt=11,Kt=14,$t=31,er=127,cr=-1,Ct=48,Nr=97,Zt=101,Ir=102,xr=117,ur=122,on=65,Yn=69,Vn=70,Wn=85,jn=90,Gn=function(fe){return fe>=Ct&&fe<=57},Nn=function(fe){return fe>=55296&&fe<=57343},mi=function(fe){return Gn(fe)||fe>=on&&fe<=Vn||fe>=Nr&&fe<=Ir},en=function(fe){return fe>=Nr&&fe<=ur},Kr=function(fe){return fe>=on&&fe<=jn},dn=function(fe){return en(fe)||Kr(fe)},Vr=function(fe){return fe>=pi},ni=function(fe){return fe===be||fe===wt||fe===nr},Hn=function(fe){return dn(fe)||Vr(fe)||fe===Rr},Kn=function(fe){return Hn(fe)||Gn(fe)||fe===Pr},bn=function(fe){return fe>=Ze&&fe<=At||fe===dt||fe>=Kt&&fe<=$t||fe===er},wi=function(fe,Te){return fe!==it?!1:Te!==be},si=function(fe,Te,ke){return fe===Pr?Hn(Te)||wi(Te,ke):Hn(fe)?!0:!!(fe===it&&wi(fe,Te))},Oi=function(fe,Te,ke){return fe===Le||fe===Pr?Gn(Te)?!0:Te===Ve&&Gn(ke):fe===Ve?Gn(Te):Gn(fe)},qr=function(fe){var Te=0,ke=1;(fe[Te]===Le||fe[Te]===Pr)&&(fe[Te]===Pr&&(ke=-1),Te++);for(var at=[];Gn(fe[Te]);)at.push(fe[Te++]);var Ht=at.length?parseInt(n.apply(void 0,at),10):0;fe[Te]===Ve&&Te++;for(var dr=[];Gn(fe[Te]);)dr.push(fe[Te++]);var Er=dr.length,Mr=Er?parseInt(n.apply(void 0,dr),10):0;(fe[Te]===Yn||fe[Te]===Zt)&&Te++;var Yr=1;(fe[Te]===Le||fe[Te]===Pr)&&(fe[Te]===Pr&&(Yr=-1),Te++);for(var zn=[];Gn(fe[Te]);)zn.push(fe[Te++]);var Mn=zn.length?parseInt(n.apply(void 0,zn),10):0;return ke*(Ht+Mr*Math.pow(10,-Er))*Math.pow(10,Yr*Mn)},Sr={type:2},sn={type:3},yn={type:4},On={type:13},Pn={type:8},ti={type:21},ai={type:9},qn={type:10},xi={type:11},Pi={type:12},ki={type:14},ja={type:23},ri={type:1},pt={type:25},gr={type:24},_r={type:26},Dr={type:27},tn={type:28},Br={type:29},wn={type:31},mn={type:32},_n=function(){function ct(){this._value=[]}return ct.prototype.write=function(fe){this._value=this._value.concat(e(fe))},ct.prototype.read=function(){for(var fe=[],Te=this.consumeToken();Te!==mn;)fe.push(Te),Te=this.consumeToken();return fe},ct.prototype.consumeToken=function(){var fe=this.consumeCodePoint();switch(fe){case sr:return this.consumeStringToken(sr);case Hr:var Te=this.peekCodePoint(0),ke=this.peekCodePoint(1),at=this.peekCodePoint(2);if(Kn(Te)||wi(ke,at)){var Ht=si(Te,ke,at)?bt:Zr,dr=this.consumeName();return{type:5,value:dr,flags:Ht}}break;case $r:if(this.peekCodePoint(0)===Ar)return this.consumeCodePoint(),On;break;case Ot:return this.consumeStringToken(Ot);case Ft:return Sr;case pr:return sn;case et:if(this.peekCodePoint(0)===Ar)return this.consumeCodePoint(),ki;break;case Le:if(Oi(fe,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(fe),this.consumeNumericToken();break;case Pe:return yn;case Pr:var Er=fe,Mr=this.peekCodePoint(0),Yr=this.peekCodePoint(1);if(Oi(Er,Mr,Yr))return this.reconsumeCodePoint(fe),this.consumeNumericToken();if(si(Er,Mr,Yr))return this.reconsumeCodePoint(fe),this.consumeIdentLikeToken();if(Mr===Pr&&Yr===hr)return this.consumeCodePoint(),this.consumeCodePoint(),gr;break;case Ve:if(Oi(fe,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(fe),this.consumeNumericToken();break;case Fe:if(this.peekCodePoint(0)===et)for(this.consumeCodePoint();;){var zn=this.consumeCodePoint();if(zn===et&&(zn=this.consumeCodePoint(),zn===Fe))return this.consumeToken();if(zn===cr)return this.consumeToken()}break;case je:return _r;case Je:return Dr;case Xt:if(this.peekCodePoint(0)===an&&this.peekCodePoint(1)===Pr&&this.peekCodePoint(2)===Pr)return this.consumeCodePoint(),this.consumeCodePoint(),pt;break;case Tr:var Mn=this.peekCodePoint(0),Jn=this.peekCodePoint(1),Ki=this.peekCodePoint(2);if(si(Mn,Jn,Ki)){var dr=this.consumeName();return{type:7,value:dr}}break;case Wr:return tn;case it:if(wi(fe,this.peekCodePoint(0)))return this.reconsumeCodePoint(fe),this.consumeIdentLikeToken();break;case Gr:return Br;case Tn:if(this.peekCodePoint(0)===Ar)return this.consumeCodePoint(),Pn;break;case gn:return xi;case Fn:return Pi;case xr:case Wn:var zi=this.peekCodePoint(0),oa=this.peekCodePoint(1);return zi===Le&&(mi(oa)||oa===In)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(fe),this.consumeIdentLikeToken();case Xn:if(this.peekCodePoint(0)===Ar)return this.consumeCodePoint(),ai;if(this.peekCodePoint(0)===Xn)return this.consumeCodePoint(),ti;break;case fi:if(this.peekCodePoint(0)===Ar)return this.consumeCodePoint(),qn;break;case cr:return mn}return ni(fe)?(this.consumeWhiteSpace(),wn):Gn(fe)?(this.reconsumeCodePoint(fe),this.consumeNumericToken()):Hn(fe)?(this.reconsumeCodePoint(fe),this.consumeIdentLikeToken()):{type:6,value:n(fe)}},ct.prototype.consumeCodePoint=function(){var fe=this._value.shift();return typeof fe=="undefined"?-1:fe},ct.prototype.reconsumeCodePoint=function(fe){this._value.unshift(fe)},ct.prototype.peekCodePoint=function(fe){return fe>=this._value.length?-1:this._value[fe]},ct.prototype.consumeUnicodeRangeToken=function(){for(var fe=[],Te=this.consumeCodePoint();mi(Te)&&fe.length<6;)fe.push(Te),Te=this.consumeCodePoint();for(var ke=!1;Te===In&&fe.length<6;)fe.push(Te),Te=this.consumeCodePoint(),ke=!0;if(ke){var at=parseInt(n.apply(void 0,fe.map(function(Mr){return Mr===In?Ct:Mr})),16),Ht=parseInt(n.apply(void 0,fe.map(function(Mr){return Mr===In?Vn:Mr})),16);return{type:30,start:at,end:Ht}}var dr=parseInt(n.apply(void 0,fe),16);if(this.peekCodePoint(0)===Pr&&mi(this.peekCodePoint(1))){this.consumeCodePoint(),Te=this.consumeCodePoint();for(var Er=[];mi(Te)&&Er.length<6;)Er.push(Te),Te=this.consumeCodePoint();var Ht=parseInt(n.apply(void 0,Er),16);return{type:30,start:dr,end:Ht}}else return{type:30,start:dr,end:dr}},ct.prototype.consumeIdentLikeToken=function(){var fe=this.consumeName();return fe.toLowerCase()==="url"&&this.peekCodePoint(0)===Ft?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ft?(this.consumeCodePoint(),{type:19,value:fe}):{type:20,value:fe}},ct.prototype.consumeUrlToken=function(){var fe=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===cr)return{type:22,value:""};var Te=this.peekCodePoint(0);if(Te===Ot||Te===sr){var ke=this.consumeStringToken(this.consumeCodePoint());return ke.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===cr||this.peekCodePoint(0)===pr)?(this.consumeCodePoint(),{type:22,value:ke.value}):(this.consumeBadUrlRemnants(),ja)}for(;;){var at=this.consumeCodePoint();if(at===cr||at===pr)return{type:22,value:n.apply(void 0,fe)};if(ni(at))return this.consumeWhiteSpace(),this.peekCodePoint(0)===cr||this.peekCodePoint(0)===pr?(this.consumeCodePoint(),{type:22,value:n.apply(void 0,fe)}):(this.consumeBadUrlRemnants(),ja);if(at===sr||at===Ot||at===Ft||bn(at))return this.consumeBadUrlRemnants(),ja;if(at===it)if(wi(at,this.peekCodePoint(0)))fe.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ja;else fe.push(at)}},ct.prototype.consumeWhiteSpace=function(){for(;ni(this.peekCodePoint(0));)this.consumeCodePoint()},ct.prototype.consumeBadUrlRemnants=function(){for(;;){var fe=this.consumeCodePoint();if(fe===pr||fe===cr)return;wi(fe,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},ct.prototype.consumeStringSlice=function(fe){for(var Te=6e4,ke="";fe>0;){var at=Math.min(Te,fe);ke+=n.apply(void 0,this._value.splice(0,at)),fe-=at}return this._value.shift(),ke},ct.prototype.consumeStringToken=function(fe){var Te="",ke=0;do{var at=this._value[ke];if(at===cr||at===void 0||at===fe)return Te+=this.consumeStringSlice(ke),{type:0,value:Te};if(at===be)return this._value.splice(0,ke),ri;if(at===it){var Ht=this._value[ke+1];Ht!==cr&&Ht!==void 0&&(Ht===be?(Te+=this.consumeStringSlice(ke),ke=-1,this._value.shift()):wi(at,Ht)&&(Te+=this.consumeStringSlice(ke),Te+=n(this.consumeEscapedCodePoint()),ke=-1))}ke++}while(!0)},ct.prototype.consumeNumber=function(){var fe=[],Te=ut,ke=this.peekCodePoint(0);for((ke===Le||ke===Pr)&&fe.push(this.consumeCodePoint());Gn(this.peekCodePoint(0));)fe.push(this.consumeCodePoint());ke=this.peekCodePoint(0);var at=this.peekCodePoint(1);if(ke===Ve&&Gn(at))for(fe.push(this.consumeCodePoint(),this.consumeCodePoint()),Te=Oe;Gn(this.peekCodePoint(0));)fe.push(this.consumeCodePoint());ke=this.peekCodePoint(0),at=this.peekCodePoint(1);var Ht=this.peekCodePoint(2);if((ke===Yn||ke===Zt)&&((at===Le||at===Pr)&&Gn(Ht)||Gn(at)))for(fe.push(this.consumeCodePoint(),this.consumeCodePoint()),Te=Oe;Gn(this.peekCodePoint(0));)fe.push(this.consumeCodePoint());return[qr(fe),Te]},ct.prototype.consumeNumericToken=function(){var fe=this.consumeNumber(),Te=fe[0],ke=fe[1],at=this.peekCodePoint(0),Ht=this.peekCodePoint(1),dr=this.peekCodePoint(2);if(si(at,Ht,dr)){var Er=this.consumeName();return{type:15,number:Te,flags:ke,unit:Er}}return at===Qt?(this.consumeCodePoint(),{type:16,number:Te,flags:ke}):{type:17,number:Te,flags:ke}},ct.prototype.consumeEscapedCodePoint=function(){var fe=this.consumeCodePoint();if(mi(fe)){for(var Te=n(fe);mi(this.peekCodePoint(0))&&Te.length<6;)Te+=n(this.consumeCodePoint());ni(this.peekCodePoint(0))&&this.consumeCodePoint();var ke=parseInt(Te,16);return ke===0||Nn(ke)||ke>1114111?bi:ke}return fe===cr?bi:fe},ct.prototype.consumeName=function(){for(var fe="";;){var Te=this.consumeCodePoint();if(Kn(Te))fe+=n(Te);else if(wi(Te,this.peekCodePoint(0)))fe+=n(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Te),fe}},ct}(),hi=function(){function ct(fe){this._tokens=fe}return ct.create=function(fe){var Te=new _n;return Te.write(fe),new ct(Te.read())},ct.parseValue=function(fe){return ct.create(fe).parseComponentValue()},ct.parseValues=function(fe){return ct.create(fe).parseComponentValues()},ct.prototype.parseComponentValue=function(){for(var fe=this.consumeToken();fe.type===31;)fe=this.consumeToken();if(fe.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(fe);var Te=this.consumeComponentValue();do fe=this.consumeToken();while(fe.type===31);if(fe.type===32)return Te;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},ct.prototype.parseComponentValues=function(){for(var fe=[];;){var Te=this.consumeComponentValue();if(Te.type===32)return fe;fe.push(Te),fe.push()}},ct.prototype.consumeComponentValue=function(){var fe=this.consumeToken();switch(fe.type){case 11:case 28:case 2:return this.consumeSimpleBlock(fe.type);case 19:return this.consumeFunction(fe)}return fe},ct.prototype.consumeSimpleBlock=function(fe){for(var Te={type:fe,values:[]},ke=this.consumeToken();;){if(ke.type===32||Xr(ke,fe))return Te;this.reconsumeToken(ke),Te.values.push(this.consumeComponentValue()),ke=this.consumeToken()}},ct.prototype.consumeFunction=function(fe){for(var Te={name:fe.value,values:[],type:18};;){var ke=this.consumeToken();if(ke.type===32||ke.type===3)return Te;this.reconsumeToken(ke),Te.values.push(this.consumeComponentValue())}},ct.prototype.consumeToken=function(){var fe=this._tokens.shift();return typeof fe=="undefined"?mn:fe},ct.prototype.reconsumeToken=function(fe){this._tokens.unshift(fe)},ct}(),li=function(fe){return fe.type===15},Zn=function(fe){return fe.type===17},$e=function(fe){return fe.type===20},kt=function(fe){return fe.type===0},or=function(fe,Te){return $e(fe)&&fe.value===Te},tr=function(fe){return fe.type!==31},Or=function(fe){return fe.type!==31&&fe.type!==4},wr=function(fe){var Te=[],ke=[];return fe.forEach(function(at){if(at.type===4){if(ke.length===0)throw new Error("Error parsing function args, zero tokens for arg");Te.push(ke),ke=[];return}at.type!==31&&ke.push(at)}),ke.length&&Te.push(ke),Te},Xr=function(fe,Te){return Te===11&&fe.type===12||Te===28&&fe.type===29?!0:Te===2&&fe.type===3},Qr=function(fe){return fe.type===17||fe.type===15},cn=function(fe){return fe.type===16||Qr(fe)},Ln=function(fe){return fe.length>1?[fe[0],fe[1]]:[fe[0]]},Cn={type:17,number:0,flags:ut},Bn={type:16,number:50,flags:ut},nn={type:16,number:100,flags:ut},Dn=function(fe,Te,ke){var at=fe[0],Ht=fe[1];return[hn(at,Te),hn(typeof Ht!="undefined"?Ht:at,ke)]},hn=function(fe,Te){if(fe.type===16)return fe.number/100*Te;if(li(fe))switch(fe.unit){case"rem":case"em":return 16*fe.number;case"px":default:return fe.number}return fe.number},An="deg",xn="grad",Rn="rad",ui="turn",gi={name:"angle",parse:function(fe,Te){if(Te.type===15)switch(Te.unit){case An:return Math.PI*Te.number/180;case xn:return Math.PI/200*Te.number;case Rn:return Te.number;case ui:return Math.PI*2*Te.number}throw new Error("Unsupported angle type")}},Fi=function(fe){return fe.type===15&&(fe.unit===An||fe.unit===xn||fe.unit===Rn||fe.unit===ui)},di=function(fe){var Te=fe.filter($e).map(function(ke){return ke.value}).join(" ");switch(Te){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Cn,Cn];case"to top":case"bottom":return ii(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Cn,nn];case"to right":case"left":return ii(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[nn,nn];case"to bottom":case"top":return ii(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[nn,Cn];case"to left":case"right":return ii(270)}return 0},ii=function(fe){return Math.PI*fe/180},Yi={name:"color",parse:function(fe,Te){if(Te.type===18){var ke=fa[Te.name];if(typeof ke=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Te.name+'"');return ke(fe,Te.values)}if(Te.type===5){if(Te.value.length===3){var at=Te.value.substring(0,1),Ht=Te.value.substring(1,2),dr=Te.value.substring(2,3);return Bi(parseInt(at+at,16),parseInt(Ht+Ht,16),parseInt(dr+dr,16),1)}if(Te.value.length===4){var at=Te.value.substring(0,1),Ht=Te.value.substring(1,2),dr=Te.value.substring(2,3),Er=Te.value.substring(3,4);return Bi(parseInt(at+at,16),parseInt(Ht+Ht,16),parseInt(dr+dr,16),parseInt(Er+Er,16)/255)}if(Te.value.length===6){var at=Te.value.substring(0,2),Ht=Te.value.substring(2,4),dr=Te.value.substring(4,6);return Bi(parseInt(at,16),parseInt(Ht,16),parseInt(dr,16),1)}if(Te.value.length===8){var at=Te.value.substring(0,2),Ht=Te.value.substring(2,4),dr=Te.value.substring(4,6),Er=Te.value.substring(6,8);return Bi(parseInt(at,16),parseInt(Ht,16),parseInt(dr,16),parseInt(Er,16)/255)}}if(Te.type===20){var Mr=ea[Te.value.toUpperCase()];if(typeof Mr!="undefined")return Mr}return ea.TRANSPARENT}},_i=function(fe){return(255&fe)===0},Mi=function(fe){var Te=255&fe,ke=255&fe>>8,at=255&fe>>16,Ht=255&fe>>24;return Te<255?"rgba("+Ht+","+at+","+ke+","+Te/255+")":"rgb("+Ht+","+at+","+ke+")"},Bi=function(fe,Te,ke,at){return(fe<<24|Te<<16|ke<<8|Math.round(at*255)<<0)>>>0},Zi=function(fe,Te){if(fe.type===17)return fe.number;if(fe.type===16){var ke=Te===3?1:255;return Te===3?fe.number/100*ke:Math.round(fe.number/100*ke)}return 0},da=function(fe,Te){var ke=Te.filter(Or);if(ke.length===3){var at=ke.map(Zi),Ht=at[0],dr=at[1],Er=at[2];return Bi(Ht,dr,Er,1)}if(ke.length===4){var Mr=ke.map(Zi),Ht=Mr[0],dr=Mr[1],Er=Mr[2],Yr=Mr[3];return Bi(Ht,dr,Er,Yr)}return 0};function Ma(ct,fe,Te){return Te<0&&(Te+=1),Te>=1&&(Te-=1),Te<1/6?(fe-ct)*Te*6+ct:Te<1/2?fe:Te<2/3?(fe-ct)*6*(2/3-Te)+ct:ct}var La=function(fe,Te){var ke=Te.filter(Or),at=ke[0],Ht=ke[1],dr=ke[2],Er=ke[3],Mr=(at.type===17?ii(at.number):gi.parse(fe,at))/(Math.PI*2),Yr=cn(Ht)?Ht.number/100:0,zn=cn(dr)?dr.number/100:0,Mn=typeof Er!="undefined"&&cn(Er)?hn(Er,1):1;if(Yr===0)return Bi(zn*255,zn*255,zn*255,1);var Jn=zn<=.5?zn*(Yr+1):zn+Yr-zn*Yr,Ki=zn*2-Jn,zi=Ma(Ki,Jn,Mr+1/3),oa=Ma(Ki,Jn,Mr),Ja=Ma(Ki,Jn,Mr-1/3);return Bi(zi*255,oa*255,Ja*255,Mn)},fa={hsl:La,hsla:La,rgb:da,rgba:da},xa=function(fe,Te){return Yi.parse(fe,hi.create(Te).parseComponentValue())},ea={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},ya;(function(ct){ct[ct.BORDER_BOX=0]="BORDER_BOX",ct[ct.PADDING_BOX=1]="PADDING_BOX",ct[ct.CONTENT_BOX=2]="CONTENT_BOX"})(ya||(ya={}));var sa={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(fe,Te){return Te.map(function(ke){if($e(ke))switch(ke.value){case"padding-box":return ya.PADDING_BOX;case"content-box":return ya.CONTENT_BOX}return ya.BORDER_BOX})}},Fa={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},uo=function(fe,Te){var ke=Yi.parse(fe,Te[0]),at=Te[1];return at&&cn(at)?{color:ke,stop:at}:{color:ke,stop:null}},za=function(fe,Te){var ke=fe[0],at=fe[fe.length-1];ke.stop===null&&(ke.stop=Cn),at.stop===null&&(at.stop=nn);for(var Ht=[],dr=0,Er=0;Er<fe.length;Er++){var Mr=fe[Er].stop;if(Mr!==null){var Yr=hn(Mr,Te);Yr>dr?Ht.push(Yr):Ht.push(dr),dr=Yr}else Ht.push(null)}for(var zn=null,Er=0;Er<Ht.length;Er++){var Mn=Ht[Er];if(Mn===null)zn===null&&(zn=Er);else if(zn!==null){for(var Jn=Er-zn,Ki=Ht[zn-1],zi=(Mn-Ki)/(Jn+1),oa=1;oa<=Jn;oa++)Ht[zn+oa-1]=zi*oa;zn=null}}return fe.map(function(Ja,Ra){var Ca=Ja.color;return{color:Ca,stop:Math.max(Math.min(1,Ht[Ra]/Te),0)}})},Ya=function(fe,Te,ke){var at=Te/2,Ht=ke/2,dr=hn(fe[0],Te)-at,Er=Ht-hn(fe[1],ke);return(Math.atan2(Er,dr)+Math.PI*2)%(Math.PI*2)},lo=function(fe,Te,ke){var at=typeof fe=="number"?fe:Ya(fe,Te,ke),Ht=Math.abs(Te*Math.sin(at))+Math.abs(ke*Math.cos(at)),dr=Te/2,Er=ke/2,Mr=Ht/2,Yr=Math.sin(at-Math.PI/2)*Mr,zn=Math.cos(at-Math.PI/2)*Mr;return[Ht,dr-zn,dr+zn,Er-Yr,Er+Yr]},ta=function(fe,Te){return Math.sqrt(fe*fe+Te*Te)},Xi=function(fe,Te,ke,at,Ht){var dr=[[0,0],[0,Te],[fe,0],[fe,Te]];return dr.reduce(function(Er,Mr){var Yr=Mr[0],zn=Mr[1],Mn=ta(ke-Yr,at-zn);return(Ht?Mn<Er.optimumDistance:Mn>Er.optimumDistance)?{optimumCorner:Mr,optimumDistance:Mn}:Er},{optimumDistance:Ht?Infinity:-Infinity,optimumCorner:null}).optimumCorner},Gi=function(fe,Te,ke,at,Ht){var dr=0,Er=0;switch(fe.size){case la.CLOSEST_SIDE:fe.shape===wa.CIRCLE?dr=Er=Math.min(Math.abs(Te),Math.abs(Te-at),Math.abs(ke),Math.abs(ke-Ht)):fe.shape===wa.ELLIPSE&&(dr=Math.min(Math.abs(Te),Math.abs(Te-at)),Er=Math.min(Math.abs(ke),Math.abs(ke-Ht)));break;case la.CLOSEST_CORNER:if(fe.shape===wa.CIRCLE)dr=Er=Math.min(ta(Te,ke),ta(Te,ke-Ht),ta(Te-at,ke),ta(Te-at,ke-Ht));else if(fe.shape===wa.ELLIPSE){var Mr=Math.min(Math.abs(ke),Math.abs(ke-Ht))/Math.min(Math.abs(Te),Math.abs(Te-at)),Yr=Xi(at,Ht,Te,ke,!0),zn=Yr[0],Mn=Yr[1];dr=ta(zn-Te,(Mn-ke)/Mr),Er=Mr*dr}break;case la.FARTHEST_SIDE:fe.shape===wa.CIRCLE?dr=Er=Math.max(Math.abs(Te),Math.abs(Te-at),Math.abs(ke),Math.abs(ke-Ht)):fe.shape===wa.ELLIPSE&&(dr=Math.max(Math.abs(Te),Math.abs(Te-at)),Er=Math.max(Math.abs(ke),Math.abs(ke-Ht)));break;case la.FARTHEST_CORNER:if(fe.shape===wa.CIRCLE)dr=Er=Math.max(ta(Te,ke),ta(Te,ke-Ht),ta(Te-at,ke),ta(Te-at,ke-Ht));else if(fe.shape===wa.ELLIPSE){var Mr=Math.max(Math.abs(ke),Math.abs(ke-Ht))/Math.max(Math.abs(Te),Math.abs(Te-at)),Jn=Xi(at,Ht,Te,ke,!1),zn=Jn[0],Mn=Jn[1];dr=ta(zn-Te,(Mn-ke)/Mr),Er=Mr*dr}break}return Array.isArray(fe.size)&&(dr=hn(fe.size[0],at),Er=fe.size.length===2?hn(fe.size[1],Ht):dr),[dr,Er]},Ta=function(fe,Te){var ke=ii(180),at=[];return wr(Te).forEach(function(Ht,dr){if(dr===0){var Er=Ht[0];if(Er.type===20&&Er.value==="to"){ke=di(Ht);return}else if(Fi(Er)){ke=gi.parse(fe,Er);return}}var Mr=uo(fe,Ht);at.push(Mr)}),{angle:ke,stops:at,type:ma.LINEAR_GRADIENT}},ka=function(fe,Te){var ke=ii(180),at=[];return wr(Te).forEach(function(Ht,dr){if(dr===0){var Er=Ht[0];if(Er.type===20&&["top","left","right","bottom"].indexOf(Er.value)!==-1){ke=di(Ht);return}else if(Fi(Er)){ke=(gi.parse(fe,Er)+ii(270))%ii(360);return}}var Mr=uo(fe,Ht);at.push(Mr)}),{angle:ke,stops:at,type:ma.LINEAR_GRADIENT}},ha=function(fe,Te){var ke=ii(180),at=[],Ht=ma.LINEAR_GRADIENT,dr=wa.CIRCLE,Er=la.FARTHEST_CORNER,Mr=[];return wr(Te).forEach(function(Yr,zn){var Mn=Yr[0];if(zn===0){if($e(Mn)&&Mn.value==="linear"){Ht=ma.LINEAR_GRADIENT;return}else if($e(Mn)&&Mn.value==="radial"){Ht=ma.RADIAL_GRADIENT;return}}if(Mn.type===18){if(Mn.name==="from"){var Jn=Yi.parse(fe,Mn.values[0]);at.push({stop:Cn,color:Jn})}else if(Mn.name==="to"){var Jn=Yi.parse(fe,Mn.values[0]);at.push({stop:nn,color:Jn})}else if(Mn.name==="color-stop"){var Ki=Mn.values.filter(Or);if(Ki.length===2){var Jn=Yi.parse(fe,Ki[1]),zi=Ki[0];Zn(zi)&&at.push({stop:{type:16,number:zi.number*100,flags:zi.flags},color:Jn})}}}}),Ht===ma.LINEAR_GRADIENT?{angle:(ke+ii(180))%ii(360),stops:at,type:Ht}:{size:Er,shape:dr,stops:at,position:Mr,type:Ht}},Ua="closest-side",ao="farthest-side",Ao="closest-corner",ho="farthest-corner",ro="circle",qa="ellipse",no="cover",Wi="contain",Ci=function(fe,Te){var ke=wa.CIRCLE,at=la.FARTHEST_CORNER,Ht=[],dr=[];return wr(Te).forEach(function(Er,Mr){var Yr=!0;if(Mr===0){var zn=!1;Yr=Er.reduce(function(Jn,Ki){if(zn)if($e(Ki))switch(Ki.value){case"center":return dr.push(Bn),Jn;case"top":case"left":return dr.push(Cn),Jn;case"right":case"bottom":return dr.push(nn),Jn}else(cn(Ki)||Qr(Ki))&&dr.push(Ki);else if($e(Ki))switch(Ki.value){case ro:return ke=wa.CIRCLE,!1;case qa:return ke=wa.ELLIPSE,!1;case"at":return zn=!0,!1;case Ua:return at=la.CLOSEST_SIDE,!1;case no:case ao:return at=la.FARTHEST_SIDE,!1;case Wi:case Ao:return at=la.CLOSEST_CORNER,!1;case ho:return at=la.FARTHEST_CORNER,!1}else if(Qr(Ki)||cn(Ki))return Array.isArray(at)||(at=[]),at.push(Ki),!1;return Jn},Yr)}if(Yr){var Mn=uo(fe,Er);Ht.push(Mn)}}),{size:at,shape:ke,stops:Ht,position:dr,type:ma.RADIAL_GRADIENT}},Di=function(fe,Te){var ke=wa.CIRCLE,at=la.FARTHEST_CORNER,Ht=[],dr=[];return wr(Te).forEach(function(Er,Mr){var Yr=!0;if(Mr===0?Yr=Er.reduce(function(Mn,Jn){if($e(Jn))switch(Jn.value){case"center":return dr.push(Bn),!1;case"top":case"left":return dr.push(Cn),!1;case"right":case"bottom":return dr.push(nn),!1}else if(cn(Jn)||Qr(Jn))return dr.push(Jn),!1;return Mn},Yr):Mr===1&&(Yr=Er.reduce(function(Mn,Jn){if($e(Jn))switch(Jn.value){case ro:return ke=wa.CIRCLE,!1;case qa:return ke=wa.ELLIPSE,!1;case Wi:case Ua:return at=la.CLOSEST_SIDE,!1;case ao:return at=la.FARTHEST_SIDE,!1;case Ao:return at=la.CLOSEST_CORNER,!1;case no:case ho:return at=la.FARTHEST_CORNER,!1}else if(Qr(Jn)||cn(Jn))return Array.isArray(at)||(at=[]),at.push(Jn),!1;return Mn},Yr)),Yr){var zn=uo(fe,Er);Ht.push(zn)}}),{size:at,shape:ke,stops:Ht,position:dr,type:ma.RADIAL_GRADIENT}},ma;(function(ct){ct[ct.URL=0]="URL",ct[ct.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",ct[ct.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(ma||(ma={}));var ga=function(fe){return fe.type===ma.LINEAR_GRADIENT},Aa=function(fe){return fe.type===ma.RADIAL_GRADIENT},wa;(function(ct){ct[ct.CIRCLE=0]="CIRCLE",ct[ct.ELLIPSE=1]="ELLIPSE"})(wa||(wa={}));var la;(function(ct){ct[ct.CLOSEST_SIDE=0]="CLOSEST_SIDE",ct[ct.FARTHEST_SIDE=1]="FARTHEST_SIDE",ct[ct.CLOSEST_CORNER=2]="CLOSEST_CORNER",ct[ct.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(la||(la={}));var Hi={name:"image",parse:function(fe,Te){if(Te.type===22){var ke={url:Te.value,type:ma.URL};return fe.cache.addImage(Te.value),ke}if(Te.type===18){var at=Ia[Te.name];if(typeof at=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Te.name+'"');return at(fe,Te.values)}throw new Error("Unsupported image type "+Te.type)}};function Ba(ct){return!(ct.type===20&&ct.value==="none")&&(ct.type!==18||!!Ia[ct.name])}var Ia={"linear-gradient":Ta,"-moz-linear-gradient":ka,"-ms-linear-gradient":ka,"-o-linear-gradient":ka,"-webkit-linear-gradient":ka,"radial-gradient":Ci,"-moz-radial-gradient":Di,"-ms-radial-gradient":Di,"-o-radial-gradient":Di,"-webkit-radial-gradient":Di,"-webkit-gradient":ha},fo={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(fe,Te){if(Te.length===0)return[];var ke=Te[0];return ke.type===20&&ke.value==="none"?[]:Te.filter(function(at){return Or(at)&&Ba(at)}).map(function(at){return Hi.parse(fe,at)})}},Na={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(fe,Te){return Te.map(function(ke){if($e(ke))switch(ke.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},po={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(fe,Te){return wr(Te).map(function(ke){return ke.filter(cn)}).map(Ln)}},vo;(function(ct){ct[ct.REPEAT=0]="REPEAT",ct[ct.NO_REPEAT=1]="NO_REPEAT",ct[ct.REPEAT_X=2]="REPEAT_X",ct[ct.REPEAT_Y=3]="REPEAT_Y"})(vo||(vo={}));var Ko={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(fe,Te){return wr(Te).map(function(ke){return ke.filter($e).map(function(at){return at.value}).join(" ")}).map(zo)}},zo=function(fe){switch(fe){case"no-repeat":return vo.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return vo.REPEAT_X;case"repeat-y":case"no-repeat repeat":return vo.REPEAT_Y;case"repeat":default:return vo.REPEAT}},yo;(function(ct){ct.AUTO="auto",ct.CONTAIN="contain",ct.COVER="cover"})(yo||(yo={}));var ra={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(fe,Te){return wr(Te).map(function(ke){return ke.filter(oo)})}},oo=function(fe){return $e(fe)||cn(fe)},to=function(fe){return{name:"border-"+fe+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Za=to("top"),Lo=to("right"),io=to("bottom"),Da=to("left"),Co=function(fe){return{name:"border-radius-"+fe,initialValue:"0 0",prefix:!1,type:1,parse:function(ke,at){return Ln(at.filter(cn))}}},$o=Co("top-left"),ns=Co("top-right"),es=Co("bottom-right"),va=Co("bottom-left"),pa;(function(ct){ct[ct.NONE=0]="NONE",ct[ct.SOLID=1]="SOLID",ct[ct.DASHED=2]="DASHED",ct[ct.DOTTED=3]="DOTTED",ct[ct.DOUBLE=4]="DOUBLE"})(pa||(pa={}));var ca=function(fe){return{name:"border-"+fe+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(ke,at){switch(at){case"none":return pa.NONE;case"dashed":return pa.DASHED;case"dotted":return pa.DOTTED;case"double":return pa.DOUBLE}return pa.SOLID}}},Ai=ca("top"),ba=ca("right"),$a=ca("bottom"),ms=ca("left"),Wo=function(fe){return{name:"border-"+fe+"-width",initialValue:"0",type:0,prefix:!1,parse:function(ke,at){return li(at)?at.number:0}}},Rs=Wo("top"),Ms=Wo("right"),al=Wo("bottom"),gs=Wo("left"),Vo={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Xo={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"rtl":return 1;case"ltr":default:return 0}}},el={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(fe,Te){return Te.filter($e).reduce(function(ke,at){return ke|js(at.value)},0)}},js=function(fe){switch(fe){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},bo;(function(ct){ct[ct.NONE=0]="NONE",ct[ct.LEFT=1]="LEFT",ct[ct.RIGHT=2]="RIGHT",ct[ct.INLINE_START=3]="INLINE_START",ct[ct.INLINE_END=4]="INLINE_END"})(bo||(bo={}));var wo={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"left":return bo.LEFT;case"right":return bo.RIGHT;case"inline-start":return bo.INLINE_START;case"inline-end":return bo.INLINE_END}return bo.NONE}},Wa={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(fe,Te){return Te.type===20&&Te.value==="normal"?0:Te.type===17||Te.type===15?Te.number:0}},Bo;(function(ct){ct.NORMAL="normal",ct.STRICT="strict"})(Bo||(Bo={}));var No={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"strict":return Bo.STRICT;case"normal":default:return Bo.NORMAL}}},Do={name:"line-height",initialValue:"normal",prefix:!1,type:4},Go=function(fe,Te){return $e(fe)&&fe.value==="normal"?1.2*Te:fe.type===17?Te*fe.number:cn(fe)?hn(fe,Te):Te},Po={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(fe,Te){return Te.type===20&&Te.value==="none"?null:Hi.parse(fe,Te)}},Uo;(function(ct){ct[ct.INSIDE=0]="INSIDE",ct[ct.OUTSIDE=1]="OUTSIDE"})(Uo||(Uo={}));var Cr={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"inside":return Uo.INSIDE;case"outside":default:return Uo.OUTSIDE}}},Qn;(function(ct){ct[ct.NONE=-1]="NONE",ct[ct.DISC=0]="DISC",ct[ct.CIRCLE=1]="CIRCLE",ct[ct.SQUARE=2]="SQUARE",ct[ct.DECIMAL=3]="DECIMAL",ct[ct.CJK_DECIMAL=4]="CJK_DECIMAL",ct[ct.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",ct[ct.LOWER_ROMAN=6]="LOWER_ROMAN",ct[ct.UPPER_ROMAN=7]="UPPER_ROMAN",ct[ct.LOWER_GREEK=8]="LOWER_GREEK",ct[ct.LOWER_ALPHA=9]="LOWER_ALPHA",ct[ct.UPPER_ALPHA=10]="UPPER_ALPHA",ct[ct.ARABIC_INDIC=11]="ARABIC_INDIC",ct[ct.ARMENIAN=12]="ARMENIAN",ct[ct.BENGALI=13]="BENGALI",ct[ct.CAMBODIAN=14]="CAMBODIAN",ct[ct.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",ct[ct.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",ct[ct.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",ct[ct.DEVANAGARI=18]="DEVANAGARI",ct[ct.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",ct[ct.GEORGIAN=20]="GEORGIAN",ct[ct.GUJARATI=21]="GUJARATI",ct[ct.GURMUKHI=22]="GURMUKHI",ct[ct.HEBREW=22]="HEBREW",ct[ct.HIRAGANA=23]="HIRAGANA",ct[ct.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",ct[ct.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",ct[ct.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",ct[ct.KANNADA=27]="KANNADA",ct[ct.KATAKANA=28]="KATAKANA",ct[ct.KATAKANA_IROHA=29]="KATAKANA_IROHA",ct[ct.KHMER=30]="KHMER",ct[ct.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",ct[ct.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",ct[ct.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",ct[ct.LAO=34]="LAO",ct[ct.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",ct[ct.MALAYALAM=36]="MALAYALAM",ct[ct.MONGOLIAN=37]="MONGOLIAN",ct[ct.MYANMAR=38]="MYANMAR",ct[ct.ORIYA=39]="ORIYA",ct[ct.PERSIAN=40]="PERSIAN",ct[ct.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",ct[ct.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",ct[ct.TAMIL=43]="TAMIL",ct[ct.TELUGU=44]="TELUGU",ct[ct.THAI=45]="THAI",ct[ct.TIBETAN=46]="TIBETAN",ct[ct.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",ct[ct.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",ct[ct.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",ct[ct.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",ct[ct.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Qn||(Qn={}));var Ga={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"disc":return Qn.DISC;case"circle":return Qn.CIRCLE;case"square":return Qn.SQUARE;case"decimal":return Qn.DECIMAL;case"cjk-decimal":return Qn.CJK_DECIMAL;case"decimal-leading-zero":return Qn.DECIMAL_LEADING_ZERO;case"lower-roman":return Qn.LOWER_ROMAN;case"upper-roman":return Qn.UPPER_ROMAN;case"lower-greek":return Qn.LOWER_GREEK;case"lower-alpha":return Qn.LOWER_ALPHA;case"upper-alpha":return Qn.UPPER_ALPHA;case"arabic-indic":return Qn.ARABIC_INDIC;case"armenian":return Qn.ARMENIAN;case"bengali":return Qn.BENGALI;case"cambodian":return Qn.CAMBODIAN;case"cjk-earthly-branch":return Qn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Qn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Qn.CJK_IDEOGRAPHIC;case"devanagari":return Qn.DEVANAGARI;case"ethiopic-numeric":return Qn.ETHIOPIC_NUMERIC;case"georgian":return Qn.GEORGIAN;case"gujarati":return Qn.GUJARATI;case"gurmukhi":return Qn.GURMUKHI;case"hebrew":return Qn.HEBREW;case"hiragana":return Qn.HIRAGANA;case"hiragana-iroha":return Qn.HIRAGANA_IROHA;case"japanese-formal":return Qn.JAPANESE_FORMAL;case"japanese-informal":return Qn.JAPANESE_INFORMAL;case"kannada":return Qn.KANNADA;case"katakana":return Qn.KATAKANA;case"katakana-iroha":return Qn.KATAKANA_IROHA;case"khmer":return Qn.KHMER;case"korean-hangul-formal":return Qn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Qn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Qn.KOREAN_HANJA_INFORMAL;case"lao":return Qn.LAO;case"lower-armenian":return Qn.LOWER_ARMENIAN;case"malayalam":return Qn.MALAYALAM;case"mongolian":return Qn.MONGOLIAN;case"myanmar":return Qn.MYANMAR;case"oriya":return Qn.ORIYA;case"persian":return Qn.PERSIAN;case"simp-chinese-formal":return Qn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Qn.SIMP_CHINESE_INFORMAL;case"tamil":return Qn.TAMIL;case"telugu":return Qn.TELUGU;case"thai":return Qn.THAI;case"tibetan":return Qn.TIBETAN;case"trad-chinese-formal":return Qn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Qn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Qn.UPPER_ARMENIAN;case"disclosure-open":return Qn.DISCLOSURE_OPEN;case"disclosure-closed":return Qn.DISCLOSURE_CLOSED;case"none":default:return Qn.NONE}}},Mo=function(fe){return{name:"margin-"+fe,initialValue:"0",prefix:!1,type:4}},Qo=Mo("top"),Vs=Mo("right"),xs=Mo("bottom"),Es=Mo("left"),vs;(function(ct){ct[ct.VISIBLE=0]="VISIBLE",ct[ct.HIDDEN=1]="HIDDEN",ct[ct.SCROLL=2]="SCROLL",ct[ct.CLIP=3]="CLIP",ct[ct.AUTO=4]="AUTO"})(vs||(vs={}));var Hs={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(fe,Te){return Te.filter($e).map(function(ke){switch(ke.value){case"hidden":return vs.HIDDEN;case"scroll":return vs.SCROLL;case"clip":return vs.CLIP;case"auto":return vs.AUTO;case"visible":default:return vs.VISIBLE}})}},_s={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"break-word":return"break-word";case"normal":default:return"normal"}}},Fs=function(fe){return{name:"padding-"+fe,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},wl=Fs("top"),ol=Fs("right"),vl=Fs("bottom"),ks=Fs("left"),us;(function(ct){ct[ct.LEFT=0]="LEFT",ct[ct.CENTER=1]="CENTER",ct[ct.RIGHT=2]="RIGHT"})(us||(us={}));var Et={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"right":return us.RIGHT;case"center":case"justify":return us.CENTER;case"left":default:return us.LEFT}}},Lt;(function(ct){ct[ct.STATIC=0]="STATIC",ct[ct.RELATIVE=1]="RELATIVE",ct[ct.ABSOLUTE=2]="ABSOLUTE",ct[ct.FIXED=3]="FIXED",ct[ct.STICKY=4]="STICKY"})(Lt||(Lt={}));var Ur={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"relative":return Lt.RELATIVE;case"absolute":return Lt.ABSOLUTE;case"fixed":return Lt.FIXED;case"sticky":return Lt.STICKY}return Lt.STATIC}},un={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(fe,Te){return Te.length===1&&or(Te[0],"none")?[]:wr(Te).map(function(ke){for(var at={color:ea.TRANSPARENT,offsetX:Cn,offsetY:Cn,blur:Cn},Ht=0,dr=0;dr<ke.length;dr++){var Er=ke[dr];Qr(Er)?(Ht===0?at.offsetX=Er:Ht===1?at.offsetY=Er:at.blur=Er,Ht++):at.color=Yi.parse(fe,Er)}return at})}},kn;(function(ct){ct[ct.NONE=0]="NONE",ct[ct.LOWERCASE=1]="LOWERCASE",ct[ct.UPPERCASE=2]="UPPERCASE",ct[ct.CAPITALIZE=3]="CAPITALIZE"})(kn||(kn={}));var gt={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"uppercase":return kn.UPPERCASE;case"lowercase":return kn.LOWERCASE;case"capitalize":return kn.CAPITALIZE}return kn.NONE}},ce={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(fe,Te){if(Te.type===20&&Te.value==="none")return null;if(Te.type===18){var ke=Ke[Te.name];if(typeof ke=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+Te.name+'"');return ke(Te.values)}return null}},ve=function(fe){var Te=fe.filter(function(ke){return ke.type===17}).map(function(ke){return ke.number});return Te.length===6?Te:null},Ie=function(fe){var Te=fe.filter(function(Yr){return Yr.type===17}).map(function(Yr){return Yr.number}),ke=Te[0],at=Te[1];Te[2],Te[3];var Ht=Te[4],dr=Te[5];Te[6],Te[7],Te[8],Te[9],Te[10],Te[11];var Er=Te[12],Mr=Te[13];return Te[14],Te[15],Te.length===16?[ke,at,Ht,dr,Er,Mr]:null},Ke={matrix:ve,matrix3d:Ie},mt={type:16,number:50,flags:ut},Pt=[mt,mt],lr={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(fe,Te){var ke=Te.filter(cn);return ke.length!==2?Pt:[ke[0],ke[1]]}},yr;(function(ct){ct[ct.VISIBLE=0]="VISIBLE",ct[ct.HIDDEN=1]="HIDDEN",ct[ct.COLLAPSE=2]="COLLAPSE"})(yr||(yr={}));var kr={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"hidden":return yr.HIDDEN;case"collapse":return yr.COLLAPSE;case"visible":default:return yr.VISIBLE}}},ln;(function(ct){ct.NORMAL="normal",ct.BREAK_ALL="break-all",ct.KEEP_ALL="keep-all"})(ln||(ln={}));var En={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"break-all":return ln.BREAK_ALL;case"keep-all":return ln.KEEP_ALL;case"normal":default:return ln.NORMAL}}},oi={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(fe,Te){if(Te.type===20)return{auto:!0,order:0};if(Zn(Te))return{auto:!1,order:Te.number};throw new Error("Invalid z-index number parsed")}},yi={name:"time",parse:function(fe,Te){if(Te.type===15)switch(Te.unit.toLowerCase()){case"s":return 1e3*Te.number;case"ms":return Te.number}throw new Error("Unsupported time type")}},Ti={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(fe,Te){return Zn(Te)?Te.number:1}},ji={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},na={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(fe,Te){return Te.filter($e).map(function(ke){switch(ke.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(ke){return ke!==0})}},Pa={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(fe,Te){var ke=[],at=[];return Te.forEach(function(Ht){switch(Ht.type){case 20:case 0:ke.push(Ht.value);break;case 17:ke.push(Ht.number.toString());break;case 4:at.push(ke.join(" ")),ke.length=0;break}}),ke.length&&at.push(ke.join(" ")),at.map(function(Ht){return Ht.indexOf(" ")===-1?Ht:"'"+Ht+"'"})}},Va={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Qa={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(fe,Te){if(Zn(Te))return Te.number;if($e(Te))switch(Te.value){case"bold":return 700;case"normal":default:return 400}return 400}},To={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(fe,Te){return Te.filter($e).map(function(ke){return ke.value})}},eo;(function(ct){ct.NORMAL="normal",ct.ITALIC="italic",ct.OBLIQUE="oblique"})(eo||(eo={}));var Io={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(fe,Te){switch(Te){case"oblique":return eo.OBLIQUE;case"italic":return eo.ITALIC;case"normal":default:return eo.NORMAL}}},Ha=function(fe,Te){return(fe&Te)!==0},Oo={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(fe,Te){if(Te.length===0)return[];var ke=Te[0];return ke.type===20&&ke.value==="none"?[]:Te}},is={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(fe,Te){if(Te.length===0)return null;var ke=Te[0];if(ke.type===20&&ke.value==="none")return null;for(var at=[],Ht=Te.filter(tr),dr=0;dr<Ht.length;dr++){var Er=Ht[dr],Mr=Ht[dr+1];if(Er.type===20){var Yr=Mr&&Zn(Mr)?Mr.number:1;at.push({counter:Er.value,increment:Yr})}}return at}},mo={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(fe,Te){if(Te.length===0)return[];for(var ke=[],at=Te.filter(tr),Ht=0;Ht<at.length;Ht++){var dr=at[Ht],Er=at[Ht+1];if($e(dr)&&dr.value!=="none"){var Mr=Er&&Zn(Er)?Er.number:0;ke.push({counter:dr.value,reset:Mr})}}return ke}},go={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(fe,Te){return Te.filter(li).map(function(ke){return yi.parse(fe,ke)})}},ss={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(fe,Te){if(Te.length===0)return null;var ke=Te[0];if(ke.type===20&&ke.value==="none")return null;var at=[],Ht=Te.filter(kt);if(Ht.length%2!==0)return null;for(var dr=0;dr<Ht.length;dr+=2){var Er=Ht[dr].value,Mr=Ht[dr+1].value;at.push({open:Er,close:Mr})}return at}},ys=function(fe,Te,ke){if(!fe)return"";var at=fe[Math.min(Te,fe.length-1)];return at?ke?at.open:at.close:""},Yo={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(fe,Te){return Te.length===1&&or(Te[0],"none")?[]:wr(Te).map(function(ke){for(var at={color:255,offsetX:Cn,offsetY:Cn,blur:Cn,spread:Cn,inset:!1},Ht=0,dr=0;dr<ke.length;dr++){var Er=ke[dr];or(Er,"inset")?at.inset=!0:Qr(Er)?(Ht===0?at.offsetX=Er:Ht===1?at.offsetY=Er:Ht===2?at.blur=Er:at.spread=Er,Ht++):at.color=Yi.parse(fe,Er)}return at})}},So;(function(ct){ct[ct.FILL=0]="FILL",ct[ct.STROKE=1]="STROKE",ct[ct.MARKERS=2]="MARKERS"})(So||(So={}));for(var Ks={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(fe,Te){var ke=[So.FILL,So.STROKE,So.MARKERS],at=[];return Te.filter($e).forEach(function(Ht){switch(Ht.value){case"stroke":at.push(So.STROKE);break;case"fill":at.push(So.FILL);break;case"markers":at.push(So.MARKERS);break}}),ke.forEach(function(Ht){at.indexOf(Ht)===-1&&at.push(Ht)}),at}},ls={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},sl={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(fe,Te){return li(Te)?Te.number:0}},ll=function(){function ct(fe,Te){var ke,at;this.animationDuration=Ui(fe,go,Te.animationDuration),this.backgroundClip=Ui(fe,sa,Te.backgroundClip),this.backgroundColor=Ui(fe,Fa,Te.backgroundColor),this.backgroundImage=Ui(fe,fo,Te.backgroundImage),this.backgroundOrigin=Ui(fe,Na,Te.backgroundOrigin),this.backgroundPosition=Ui(fe,po,Te.backgroundPosition),this.backgroundRepeat=Ui(fe,Ko,Te.backgroundRepeat),this.backgroundSize=Ui(fe,ra,Te.backgroundSize),this.borderTopColor=Ui(fe,Za,Te.borderTopColor),this.borderRightColor=Ui(fe,Lo,Te.borderRightColor),this.borderBottomColor=Ui(fe,io,Te.borderBottomColor),this.borderLeftColor=Ui(fe,Da,Te.borderLeftColor),this.borderTopLeftRadius=Ui(fe,$o,Te.borderTopLeftRadius),this.borderTopRightRadius=Ui(fe,ns,Te.borderTopRightRadius),this.borderBottomRightRadius=Ui(fe,es,Te.borderBottomRightRadius),this.borderBottomLeftRadius=Ui(fe,va,Te.borderBottomLeftRadius),this.borderTopStyle=Ui(fe,Ai,Te.borderTopStyle),this.borderRightStyle=Ui(fe,ba,Te.borderRightStyle),this.borderBottomStyle=Ui(fe,$a,Te.borderBottomStyle),this.borderLeftStyle=Ui(fe,ms,Te.borderLeftStyle),this.borderTopWidth=Ui(fe,Rs,Te.borderTopWidth),this.borderRightWidth=Ui(fe,Ms,Te.borderRightWidth),this.borderBottomWidth=Ui(fe,al,Te.borderBottomWidth),this.borderLeftWidth=Ui(fe,gs,Te.borderLeftWidth),this.boxShadow=Ui(fe,Yo,Te.boxShadow),this.color=Ui(fe,Vo,Te.color),this.direction=Ui(fe,Xo,Te.direction),this.display=Ui(fe,el,Te.display),this.float=Ui(fe,wo,Te.cssFloat),this.fontFamily=Ui(fe,Pa,Te.fontFamily),this.fontSize=Ui(fe,Va,Te.fontSize),this.fontStyle=Ui(fe,Io,Te.fontStyle),this.fontVariant=Ui(fe,To,Te.fontVariant),this.fontWeight=Ui(fe,Qa,Te.fontWeight),this.letterSpacing=Ui(fe,Wa,Te.letterSpacing),this.lineBreak=Ui(fe,No,Te.lineBreak),this.lineHeight=Ui(fe,Do,Te.lineHeight),this.listStyleImage=Ui(fe,Po,Te.listStyleImage),this.listStylePosition=Ui(fe,Cr,Te.listStylePosition),this.listStyleType=Ui(fe,Ga,Te.listStyleType),this.marginTop=Ui(fe,Qo,Te.marginTop),this.marginRight=Ui(fe,Vs,Te.marginRight),this.marginBottom=Ui(fe,xs,Te.marginBottom),this.marginLeft=Ui(fe,Es,Te.marginLeft),this.opacity=Ui(fe,Ti,Te.opacity);var Ht=Ui(fe,Hs,Te.overflow);this.overflowX=Ht[0],this.overflowY=Ht[Ht.length>1?1:0],this.overflowWrap=Ui(fe,_s,Te.overflowWrap),this.paddingTop=Ui(fe,wl,Te.paddingTop),this.paddingRight=Ui(fe,ol,Te.paddingRight),this.paddingBottom=Ui(fe,vl,Te.paddingBottom),this.paddingLeft=Ui(fe,ks,Te.paddingLeft),this.paintOrder=Ui(fe,Ks,Te.paintOrder),this.position=Ui(fe,Ur,Te.position),this.textAlign=Ui(fe,Et,Te.textAlign),this.textDecorationColor=Ui(fe,ji,(ke=Te.textDecorationColor)!==null&&ke!==void 0?ke:Te.color),this.textDecorationLine=Ui(fe,na,(at=Te.textDecorationLine)!==null&&at!==void 0?at:Te.textDecoration),this.textShadow=Ui(fe,un,Te.textShadow),this.textTransform=Ui(fe,gt,Te.textTransform),this.transform=Ui(fe,ce,Te.transform),this.transformOrigin=Ui(fe,lr,Te.transformOrigin),this.visibility=Ui(fe,kr,Te.visibility),this.webkitTextStrokeColor=Ui(fe,ls,Te.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ui(fe,sl,Te.webkitTextStrokeWidth),this.wordBreak=Ui(fe,En,Te.wordBreak),this.zIndex=Ui(fe,oi,Te.zIndex)}return ct.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===yr.VISIBLE},ct.prototype.isTransparent=function(){return _i(this.backgroundColor)},ct.prototype.isTransformed=function(){return this.transform!==null},ct.prototype.isPositioned=function(){return this.position!==Lt.STATIC},ct.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},ct.prototype.isFloating=function(){return this.float!==bo.NONE},ct.prototype.isInlineLevel=function(){return Ha(this.display,4)||Ha(this.display,33554432)||Ha(this.display,268435456)||Ha(this.display,536870912)||Ha(this.display,67108864)||Ha(this.display,134217728)},ct}(),bs=function(){function ct(fe,Te){this.content=Ui(fe,Oo,Te.content),this.quotes=Ui(fe,ss,Te.quotes)}return ct}(),Fo=function(){function ct(fe,Te){this.counterIncrement=Ui(fe,is,Te.counterIncrement),this.counterReset=Ui(fe,mo,Te.counterReset)}return ct}(),Ui=function(fe,Te,ke){var at=new _n,Ht=ke!==null&&typeof ke!="undefined"?ke.toString():Te.initialValue;at.write(Ht);var dr=new hi(at.read());switch(Te.type){case 2:var Er=dr.parseComponentValue();return Te.parse(fe,$e(Er)?Er.value:Te.initialValue);case 0:return Te.parse(fe,dr.parseComponentValue());case 1:return Te.parse(fe,dr.parseComponentValues());case 4:return dr.parseComponentValue();case 3:switch(Te.format){case"angle":return gi.parse(fe,dr.parseComponentValue());case"color":return Yi.parse(fe,dr.parseComponentValue());case"image":return Hi.parse(fe,dr.parseComponentValue());case"length":var Mr=dr.parseComponentValue();return Qr(Mr)?Mr:Cn;case"length-percentage":var Yr=dr.parseComponentValue();return cn(Yr)?Yr:Cn;case"time":return yi.parse(fe,dr.parseComponentValue())}break}},zs="data-html2canvas-debug",tl=function(fe){var Te=fe.getAttribute(zs);switch(Te){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},As=function(fe,Te){var ke=tl(fe);return ke===1||Te===ke},Jo=function(){function ct(fe,Te){if(this.context=fe,this.textNodes=[],this.elements=[],this.flags=0,As(Te,3))debugger;this.styles=new ll(fe,window.getComputedStyle(Te,null)),Re(Te)&&(this.styles.animationDuration.some(function(ke){return ke>0})&&(Te.style.animationDuration="0s"),this.styles.transform!==null&&(Te.style.transform="none")),this.bounds=u(this.context,Te),As(Te,4)&&(this.flags|=16)}return ct}(),fl="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",rl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cs=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Bs=0;Bs<rl.length;Bs++)Cs[rl.charCodeAt(Bs)]=Bs;for(var Ts=function(fe){var Te=fe.length*.75,ke=fe.length,at,Ht=0,dr,Er,Mr,Yr;fe[fe.length-1]==="="&&(Te--,fe[fe.length-2]==="="&&Te--);var zn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Te):new Array(Te),Mn=Array.isArray(zn)?zn:new Uint8Array(zn);for(at=0;at<ke;at+=4)dr=Cs[fe.charCodeAt(at)],Er=Cs[fe.charCodeAt(at+1)],Mr=Cs[fe.charCodeAt(at+2)],Yr=Cs[fe.charCodeAt(at+3)],Mn[Ht++]=dr<<2|Er>>4,Mn[Ht++]=(Er&15)<<4|Mr>>2,Mn[Ht++]=(Mr&3)<<6|Yr&63;return zn},Is=function(fe){for(var Te=fe.length,ke=[],at=0;at<Te;at+=2)ke.push(fe[at+1]<<8|fe[at]);return ke},cl=function(fe){for(var Te=fe.length,ke=[],at=0;at<Te;at+=4)ke.push(fe[at+3]<<24|fe[at+2]<<16|fe[at+1]<<8|fe[at]);return ke},Os=5,Xs=6+5,Gs=2,Qs=Xs-Os,Sa=65536>>Os,Li=1<<Os,Ji=Li-1,Ea=1024>>Os,co=Sa+Ea,Ps=co,ws=2048>>6,Ws=Ps+ws,Ys=65536>>Xs,pl=1<<Qs,Ls=pl-1,hs=function(fe,Te,ke){return fe.slice?fe.slice(Te,ke):new Uint16Array(Array.prototype.slice.call(fe,Te,ke))},Ul=function(fe,Te,ke){return fe.slice?fe.slice(Te,ke):new Uint32Array(Array.prototype.slice.call(fe,Te,ke))},kc=function(fe,Te){var ke=Ts(fe),at=Array.isArray(ke)?cl(ke):new Uint32Array(ke),Ht=Array.isArray(ke)?Is(ke):new Uint16Array(ke),dr=24,Er=hs(Ht,dr/2,at[4]/2),Mr=at[5]===2?hs(Ht,(dr+at[4])/2):Ul(at,Math.ceil((dr+at[4])/4));return new wc(at[0],at[1],at[2],at[3],Er,Mr)},wc=function(){function ct(fe,Te,ke,at,Ht,dr){this.initialValue=fe,this.errorValue=Te,this.highStart=ke,this.highValueIndex=at,this.index=Ht,this.data=dr}return ct.prototype.get=function(fe){var Te;if(fe>=0){if(fe<55296||fe>56319&&fe<=65535)return Te=this.index[fe>>Os],Te=(Te<<Gs)+(fe&Ji),this.data[Te];if(fe<=65535)return Te=this.index[Sa+(fe-55296>>Os)],Te=(Te<<Gs)+(fe&Ji),this.data[Te];if(fe<this.highStart)return Te=Ws-Ys+(fe>>Xs),Te=this.index[Te],Te+=fe>>Os&Ls,Te=this.index[Te],Te=(Te<<Gs)+(fe&Ji),this.data[Te];if(fe<=1114111)return this.data[this.highValueIndex]}return this.errorValue},ct}(),Bc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pc=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Dl=0;Dl<Bc.length;Dl++)Pc[Bc.charCodeAt(Dl)]=Dl;var Zs=1,Js=2,ul=3,Vl=4,ql=5,lc=7,Xl=8,Rl=9,cc=10,$l=11,uc=12,Sl=13,_l=14,Ml=15,ec=function(fe){for(var Te=[],ke=0,at=fe.length;ke<at;){var Ht=fe.charCodeAt(ke++);if(Ht>=55296&&Ht<=56319&&ke<at){var dr=fe.charCodeAt(ke++);(dr&64512)===56320?Te.push(((Ht&1023)<<10)+(dr&1023)+65536):(Te.push(Ht),ke--)}else Te.push(Ht)}return Te},Cl=function(){for(var fe=[],Te=0;Te<arguments.length;Te++)fe[Te]=arguments[Te];if(String.fromCodePoint)return String.fromCodePoint.apply(String,fe);var ke=fe.length;if(!ke)return"";for(var at=[],Ht=-1,dr="";++Ht<ke;){var Er=fe[Ht];Er<=65535?at.push(Er):(Er-=65536,at.push((Er>>10)+55296,Er%1024+56320)),(Ht+1===ke||at.length>16384)&&(dr+=String.fromCharCode.apply(String,at),at.length=0)}return dr},Uc=kc(fl),ml="\xD7",xl="\xF7",tc=function(fe){return Uc.get(fe)},jc=function(fe,Te,ke){var at=ke-2,Ht=Te[at],dr=Te[ke-1],Er=Te[ke];if(dr===Js&&Er===ul)return ml;if(dr===Js||dr===ul||dr===Vl)return xl;if(Er===Js||Er===ul||Er===Vl)return xl;if(dr===Xl&&[Xl,Rl,$l,uc].indexOf(Er)!==-1)return ml;if((dr===$l||dr===Rl)&&(Er===Rl||Er===cc))return ml;if((dr===uc||dr===cc)&&Er===cc)return ml;if(Er===Sl||Er===ql)return ml;if(Er===lc)return ml;if(dr===Zs)return ml;if(dr===Sl&&Er===_l){for(;Ht===ql;)Ht=Te[--at];if(Ht===_l)return ml}if(dr===Ml&&Er===Ml){for(var Mr=0;Ht===Ml;)Mr++,Ht=Te[--at];if(Mr%2===0)return ml}return xl},dc=function(fe){var Te=ec(fe),ke=Te.length,at=0,Ht=0,dr=Te.map(tc);return{next:function(){if(at>=ke)return{done:!0,value:null};for(var Mr=ml;at<ke&&(Mr=jc(Te,dr,++at))===ml;);if(Mr!==ml||at===ke){var Yr=Cl.apply(null,Te.slice(Ht,at));return Ht=at,{value:Yr,done:!1}}return{done:!0,value:null}}}},Fl=function(fe){for(var Te=dc(fe),ke=[],at;!(at=Te.next()).done;)at.value&&ke.push(at.value.slice());return ke},kl=function(fe){var Te=123;if(fe.createRange){var ke=fe.createRange();if(ke.getBoundingClientRect){var at=fe.createElement("boundtest");at.style.height=Te+"px",at.style.display="block",fe.body.appendChild(at),ke.selectNode(at);var Ht=ke.getBoundingClientRect(),dr=Math.round(Ht.height);if(fe.body.removeChild(at),dr===Te)return!0}}return!1},jl=function(fe){var Te=fe.createElement("boundtest");Te.style.width="50px",Te.style.display="block",Te.style.fontSize="12px",Te.style.letterSpacing="0px",Te.style.wordSpacing="0px",fe.body.appendChild(Te);var ke=fe.createRange();Te.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var at=Te.firstChild,Ht=e(at.data).map(function(Yr){return n(Yr)}),dr=0,Er={},Mr=Ht.every(function(Yr,zn){ke.setStart(at,dr),ke.setEnd(at,dr+Yr.length);var Mn=ke.getBoundingClientRect();dr+=Yr.length;var Jn=Mn.x>Er.x||Mn.y>Er.y;return Er=Mn,zn===0?!0:Jn});return fe.body.removeChild(Te),Mr},Sc=function(){return typeof new Image().crossOrigin!="undefined"},xc=function(){return typeof new XMLHttpRequest().responseType=="string"},hc=function(fe){var Te=new Image,ke=fe.createElement("canvas"),at=ke.getContext("2d");if(!at)return!1;Te.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{at.drawImage(Te,0,0),ke.toDataURL()}catch(Ht){return!1}return!0},Hl=function(fe){return fe[0]===0&&fe[1]===255&&fe[2]===0&&fe[3]===255},fc=function(fe){var Te=fe.createElement("canvas"),ke=100;Te.width=ke,Te.height=ke;var at=Te.getContext("2d");if(!at)return Promise.reject(!1);at.fillStyle="rgb(0, 255, 0)",at.fillRect(0,0,ke,ke);var Ht=new Image,dr=Te.toDataURL();Ht.src=dr;var Er=rc(ke,ke,0,0,Ht);return at.fillStyle="red",at.fillRect(0,0,ke,ke),Ec(Er).then(function(Mr){at.drawImage(Mr,0,0);var Yr=at.getImageData(0,0,ke,ke).data;at.fillStyle="red",at.fillRect(0,0,ke,ke);var zn=fe.createElement("div");return zn.style.backgroundImage="url("+dr+")",zn.style.height=ke+"px",Hl(Yr)?Ec(rc(ke,ke,0,0,zn)):Promise.reject(!1)}).then(function(Mr){return at.drawImage(Mr,0,0),Hl(at.getImageData(0,0,ke,ke).data)}).catch(function(){return!1})},rc=function(fe,Te,ke,at,Ht){var dr="http://www.w3.org/2000/svg",Er=document.createElementNS(dr,"svg"),Mr=document.createElementNS(dr,"foreignObject");return Er.setAttributeNS(null,"width",fe.toString()),Er.setAttributeNS(null,"height",Te.toString()),Mr.setAttributeNS(null,"width","100%"),Mr.setAttributeNS(null,"height","100%"),Mr.setAttributeNS(null,"x",ke.toString()),Mr.setAttributeNS(null,"y",at.toString()),Mr.setAttributeNS(null,"externalResourcesRequired","true"),Er.appendChild(Mr),Mr.appendChild(Ht),Er},Ec=function(fe){return new Promise(function(Te,ke){var at=new Image;at.onload=function(){return Te(at)},at.onerror=ke,at.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(fe))})},as={get SUPPORT_RANGE_BOUNDS(){var ct=kl(document);return Object.defineProperty(as,"SUPPORT_RANGE_BOUNDS",{value:ct}),ct},get SUPPORT_WORD_BREAKING(){var ct=as.SUPPORT_RANGE_BOUNDS&&jl(document);return Object.defineProperty(as,"SUPPORT_WORD_BREAKING",{value:ct}),ct},get SUPPORT_SVG_DRAWING(){var ct=hc(document);return Object.defineProperty(as,"SUPPORT_SVG_DRAWING",{value:ct}),ct},get SUPPORT_FOREIGNOBJECT_DRAWING(){var ct=typeof Array.from=="function"&&typeof window.fetch=="function"?fc(document):Promise.resolve(!1);return Object.defineProperty(as,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ct}),ct},get SUPPORT_CORS_IMAGES(){var ct=Sc();return Object.defineProperty(as,"SUPPORT_CORS_IMAGES",{value:ct}),ct},get SUPPORT_RESPONSE_TYPE(){var ct=xc();return Object.defineProperty(as,"SUPPORT_RESPONSE_TYPE",{value:ct}),ct},get SUPPORT_CORS_XHR(){var ct="withCredentials"in new XMLHttpRequest;return Object.defineProperty(as,"SUPPORT_CORS_XHR",{value:ct}),ct}},nl=function(){function ct(fe,Te){this.text=fe,this.bounds=Te}return ct}(),Tl=function(fe,Te,ke,at){var Ht=yl(Te,ke),dr=[],Er=0;return Ht.forEach(function(Mr){if(ke.textDecorationLine.length||Mr.trim().length>0)if(as.SUPPORT_RANGE_BOUNDS)as.SUPPORT_WORD_BREAKING?dr.push(new nl(Mr,Il(fe,at,Er,Mr.length))):dr.push(new nl(Mr,l.fromDOMRectList(fe,ic(at,Er,Mr.length).getClientRects())));else{var Yr=at.splitText(Mr.length);dr.push(new nl(Mr,nc(fe,at))),at=Yr}else as.SUPPORT_RANGE_BOUNDS||(at=at.splitText(Mr.length));Er+=Mr.length}),dr},nc=function(fe,Te){var ke=Te.ownerDocument;if(ke){var at=ke.createElement("html2canvaswrapper");at.appendChild(Te.cloneNode(!0));var Ht=Te.parentNode;if(Ht){Ht.replaceChild(at,Te);var dr=u(fe,at);return at.firstChild&&Ht.replaceChild(at.firstChild,at),dr}}return l.EMPTY},ic=function(fe,Te,ke){var at=fe.ownerDocument;if(!at)throw new Error("Node has no owner document");var Ht=at.createRange();return Ht.setStart(fe,Te),Ht.setEnd(fe,Te+ke),Ht},Il=function(fe,Te,ke,at){return l.fromClientRect(fe,ic(Te,ke,at).getBoundingClientRect())},yl=function(fe,Te){return Te.letterSpacing!==0?Fl(fe):Hc(fe,Te)},_c=[32,160,4961,65792,65793,4153,4241],Hc=function(fe,Te){for(var ke=fn(fe,{lineBreak:Te.lineBreak,wordBreak:Te.overflowWrap==="break-word"?"break-word":Te.wordBreak}),at=[],Ht,dr=function(){if(Ht.value){var Mr=Ht.value.slice(),Yr=e(Mr),zn="";Yr.forEach(function(Mn){_c.indexOf(Mn)===-1?zn+=n(Mn):(zn.length&&at.push(zn),at.push(n(Mn)),zn="")}),zn.length&&at.push(zn)}};!(Ht=ke.next()).done;)dr();return at},Kc=function(){function ct(fe,Te,ke){this.text=Cc(Te.data,ke.textTransform),this.textBounds=Tl(fe,this.text,ke,Te)}return ct}(),Cc=function(fe,Te){switch(Te){case kn.LOWERCASE:return fe.toLowerCase();case kn.CAPITALIZE:return fe.replace(Tc,zc);case kn.UPPERCASE:return fe.toUpperCase();default:return fe}},Tc=/(^|\s|:|-|\(|\))([a-z])/g,zc=function(fe,Te,ke){return fe.length>0?Te+ke.toUpperCase():fe},pc=function(ct){A(fe,ct);function fe(Te,ke){var at=ct.call(this,Te,ke)||this;return at.src=ke.currentSrc||ke.src,at.intrinsicWidth=ke.naturalWidth,at.intrinsicHeight=ke.naturalHeight,at.context.cache.addImage(at.src),at}return fe}(Jo),Ol=function(ct){A(fe,ct);function fe(Te,ke){var at=ct.call(this,Te,ke)||this;return at.canvas=ke,at.intrinsicWidth=ke.width,at.intrinsicHeight=ke.height,at}return fe}(Jo),Ll=function(ct){A(fe,ct);function fe(Te,ke){var at=ct.call(this,Te,ke)||this,Ht=new XMLSerializer,dr=u(Te,ke);return ke.setAttribute("width",dr.width+"px"),ke.setAttribute("height",dr.height+"px"),at.svg="data:image/svg+xml,"+encodeURIComponent(Ht.serializeToString(ke)),at.intrinsicWidth=ke.width.baseVal.value,at.intrinsicHeight=ke.height.baseVal.value,at.context.cache.addImage(at.svg),at}return fe}(Jo),Gl=function(ct){A(fe,ct);function fe(Te,ke){var at=ct.call(this,Te,ke)||this;return at.value=ke.value,at}return fe}(Jo),Kl=function(ct){A(fe,ct);function fe(Te,ke){var at=ct.call(this,Te,ke)||this;return at.start=ke.start,at.reversed=typeof ke.reversed=="boolean"&&ke.reversed===!0,at}return fe}(Jo),Ic=[{type:15,flags:0,unit:"px",number:3}],qc=[{type:16,flags:0,number:50}],Wc=function(fe){return fe.width>fe.height?new l(fe.left+(fe.width-fe.height)/2,fe.top,fe.height,fe.height):fe.width<fe.height?new l(fe.left,fe.top+(fe.height-fe.width)/2,fe.width,fe.width):fe},$c=function(fe){var Te=fe.type===eu?new Array(fe.value.length+1).join("\u2022"):fe.value;return Te.length===0?fe.placeholder||"":Te},Ql="checkbox",mc="radio",eu="password",Oc=707406591,ac=function(ct){A(fe,ct);function fe(Te,ke){var at=ct.call(this,Te,ke)||this;at.type=ke.type.toLowerCase(),at.checked=ke.checked,at.value=$c(ke),(at.type===Ql||at.type===mc)&&(at.styles.backgroundColor=3739148031,at.styles.borderTopColor=at.styles.borderRightColor=at.styles.borderBottomColor=at.styles.borderLeftColor=2779096575,at.styles.borderTopWidth=at.styles.borderRightWidth=at.styles.borderBottomWidth=at.styles.borderLeftWidth=1,at.styles.borderTopStyle=at.styles.borderRightStyle=at.styles.borderBottomStyle=at.styles.borderLeftStyle=pa.SOLID,at.styles.backgroundClip=[ya.BORDER_BOX],at.styles.backgroundOrigin=[0],at.bounds=Wc(at.bounds));switch(at.type){case Ql:at.styles.borderTopRightRadius=at.styles.borderTopLeftRadius=at.styles.borderBottomRightRadius=at.styles.borderBottomLeftRadius=Ic;break;case mc:at.styles.borderTopRightRadius=at.styles.borderTopLeftRadius=at.styles.borderBottomRightRadius=at.styles.borderBottomLeftRadius=qc;break}return at}return fe}(Jo),gc=function(ct){A(fe,ct);function fe(Te,ke){var at=ct.call(this,Te,ke)||this,Ht=ke.options[ke.selectedIndex||0];return at.value=Ht&&Ht.text||"",at}return fe}(Jo),Yl=function(ct){A(fe,ct);function fe(Te,ke){var at=ct.call(this,Te,ke)||this;return at.value=ke.value,at}return fe}(Jo),Lc=function(ct){A(fe,ct);function fe(Te,ke){var at=ct.call(this,Te,ke)||this;at.src=ke.src,at.width=parseInt(ke.width,10)||0,at.height=parseInt(ke.height,10)||0,at.backgroundColor=at.styles.backgroundColor;try{if(ke.contentWindow&&ke.contentWindow.document&&ke.contentWindow.document.documentElement){at.tree=He(Te,ke.contentWindow.document.documentElement);var Ht=ke.contentWindow.document.documentElement?xa(Te,getComputedStyle(ke.contentWindow.document.documentElement).backgroundColor):ea.TRANSPARENT,dr=ke.contentWindow.document.body?xa(Te,getComputedStyle(ke.contentWindow.document.body).backgroundColor):ea.TRANSPARENT;at.backgroundColor=_i(Ht)?_i(dr)?at.styles.backgroundColor:dr:Ht}}catch(Er){}return at}return fe}(Jo),Zl=["OL","UL","MENU"],oc=function ct(fe,Te,ke,at){for(var Ht=Te.firstChild,dr=void 0;Ht;Ht=dr)if(dr=Ht.nextSibling,rr(Ht)&&Ht.data.trim().length>0)ke.textNodes.push(new Kc(fe,Ht,ke.styles));else if(mr(Ht))if(Sn(Ht)&&Ht.assignedNodes)Ht.assignedNodes().forEach(function(Mr){return ct(fe,Mr,ke,at)});else{var Er=Ae(fe,Ht);Er.styles.isVisible()&&(ht(Ht,Er,at)?Er.flags|=4:zt(Er.styles)&&(Er.flags|=2),Zl.indexOf(Ht.tagName)!==-1&&(Er.flags|=8),ke.elements.push(Er),Ht.slot,Ht.shadowRoot?ct(fe,Ht.shadowRoot,Er,at):!br(Ht)&&!Dt(Ht)&&!jr(Ht)&&ct(fe,Ht,Er,at))}},Ae=function(fe,Te){return vr(Te)?new pc(fe,Te):ar(Te)?new Ol(fe,Te):Dt(Te)?new Ll(fe,Te):ye(Te)?new Gl(fe,Te):ze(Te)?new Kl(fe,Te):lt(Te)?new ac(fe,Te):jr(Te)?new gc(fe,Te):br(Te)?new Yl(fe,Te):ir(Te)?new Lc(fe,Te):new Jo(fe,Te)},He=function(fe,Te){var ke=Ae(fe,Te);return ke.flags|=4,oc(fe,Te,ke,ke),ke},ht=function(fe,Te,ke){return Te.styles.isPositionedWithZIndex()||Te.styles.opacity<1||Te.styles.isTransformed()||Mt(fe)&&ke.styles.isTransparent()},zt=function(fe){return fe.isPositioned()||fe.isFloating()},rr=function(fe){return fe.nodeType===Node.TEXT_NODE},mr=function(fe){return fe.nodeType===Node.ELEMENT_NODE},Re=function(fe){return mr(fe)&&typeof fe.style!="undefined"&&!re(fe)},re=function(fe){return typeof fe.className=="object"},ye=function(fe){return fe.tagName==="LI"},ze=function(fe){return fe.tagName==="OL"},lt=function(fe){return fe.tagName==="INPUT"},_t=function(fe){return fe.tagName==="HTML"},Dt=function(fe){return fe.tagName==="svg"},Mt=function(fe){return fe.tagName==="BODY"},ar=function(fe){return fe.tagName==="CANVAS"},vr=function(fe){return fe.tagName==="IMG"},ir=function(fe){return fe.tagName==="IFRAME"},qt=function(fe){return fe.tagName==="STYLE"},fr=function(fe){return fe.tagName==="SCRIPT"},br=function(fe){return fe.tagName==="TEXTAREA"},jr=function(fe){return fe.tagName==="SELECT"},Sn=function(fe){return fe.tagName==="SLOT"},Un=function(){function ct(){this.counters={}}return ct.prototype.getCounterValue=function(fe){var Te=this.counters[fe];return Te&&Te.length?Te[Te.length-1]:1},ct.prototype.getCounterValues=function(fe){var Te=this.counters[fe];return Te||[]},ct.prototype.pop=function(fe){var Te=this;fe.forEach(function(ke){return Te.counters[ke].pop()})},ct.prototype.parse=function(fe){var Te=this,ke=fe.counterIncrement,at=fe.counterReset,Ht=!0;ke!==null&&ke.forEach(function(Er){var Mr=Te.counters[Er.counter];Mr&&Er.increment!==0&&(Ht=!1,Mr.length||Mr.push(1),Mr[Math.max(0,Mr.length-1)]+=Er.increment)});var dr=[];return Ht&&at.forEach(function(Er){var Mr=Te.counters[Er.counter];dr.push(Er.counter),Mr||(Mr=Te.counters[Er.counter]=[]),Mr.push(Er.reset)}),dr},ct}(),vi={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"]},$n={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"]},Qi={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"]},Ei={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"]},ua=function(fe,Te,ke,at,Ht,dr){return fe<Te||fe>ke?Gt(fe,Ht,dr.length>0):at.integers.reduce(function(Er,Mr,Yr){for(;fe>=Mr;)fe-=Mr,Er+=at.values[Yr];return Er},"")+dr},qi=function(fe,Te,ke,at){var Ht="";do ke||fe--,Ht=at(fe)+Ht,fe/=Te;while(fe*Te>=Te);return Ht},aa=function(fe,Te,ke,at,Ht){var dr=ke-Te+1;return(fe<0?"-":"")+(qi(Math.abs(fe),dr,at,function(Er){return n(Math.floor(Er%dr)+Te)})+Ht)},Xa=function(fe,Te,ke){ke===void 0&&(ke=". ");var at=Te.length;return qi(Math.abs(fe),at,!1,function(Ht){return Te[Math.floor(Ht%at)]})+ke},O=1<<0,M=1<<1,ee=1<<2,ne=1<<3,de=function(fe,Te,ke,at,Ht,dr){if(fe<-9999||fe>9999)return Gt(fe,Qn.CJK_DECIMAL,Ht.length>0);var Er=Math.abs(fe),Mr=Ht;if(Er===0)return Te[0]+Mr;for(var Yr=0;Er>0&&Yr<=4;Yr++){var zn=Er%10;zn===0&&Ha(dr,O)&&Mr!==""?Mr=Te[zn]+Mr:zn>1||zn===1&&Yr===0||zn===1&&Yr===1&&Ha(dr,M)||zn===1&&Yr===1&&Ha(dr,ee)&&fe>100||zn===1&&Yr>1&&Ha(dr,ne)?Mr=Te[zn]+(Yr>0?ke[Yr-1]:"")+Mr:zn===1&&Yr>0&&(Mr=ke[Yr-1]+Mr),Er=Math.floor(Er/10)}return(fe<0?at:"")+Mr},Be="\u5341\u767E\u5343\u842C",ft="\u62FE\u4F70\u4EDF\u842C",Nt="\u30DE\u30A4\u30CA\u30B9",Vt="\uB9C8\uC774\uB108\uC2A4",Gt=function(fe,Te,ke){var at=ke?". ":"",Ht=ke?"\u3001":"",dr=ke?", ":"",Er=ke?" ":"";switch(Te){case Qn.DISC:return"\u2022"+Er;case Qn.CIRCLE:return"\u25E6"+Er;case Qn.SQUARE:return"\u25FE"+Er;case Qn.DECIMAL_LEADING_ZERO:var Mr=aa(fe,48,57,!0,at);return Mr.length<4?"0"+Mr:Mr;case Qn.CJK_DECIMAL:return Xa(fe,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ht);case Qn.LOWER_ROMAN:return ua(fe,1,3999,vi,Qn.DECIMAL,at).toLowerCase();case Qn.UPPER_ROMAN:return ua(fe,1,3999,vi,Qn.DECIMAL,at);case Qn.LOWER_GREEK:return aa(fe,945,969,!1,at);case Qn.LOWER_ALPHA:return aa(fe,97,122,!1,at);case Qn.UPPER_ALPHA:return aa(fe,65,90,!1,at);case Qn.ARABIC_INDIC:return aa(fe,1632,1641,!0,at);case Qn.ARMENIAN:case Qn.UPPER_ARMENIAN:return ua(fe,1,9999,$n,Qn.DECIMAL,at);case Qn.LOWER_ARMENIAN:return ua(fe,1,9999,$n,Qn.DECIMAL,at).toLowerCase();case Qn.BENGALI:return aa(fe,2534,2543,!0,at);case Qn.CAMBODIAN:case Qn.KHMER:return aa(fe,6112,6121,!0,at);case Qn.CJK_EARTHLY_BRANCH:return Xa(fe,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Ht);case Qn.CJK_HEAVENLY_STEM:return Xa(fe,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Ht);case Qn.CJK_IDEOGRAPHIC:case Qn.TRAD_CHINESE_INFORMAL:return de(fe,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Be,"\u8CA0",Ht,M|ee|ne);case Qn.TRAD_CHINESE_FORMAL:return de(fe,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ft,"\u8CA0",Ht,O|M|ee|ne);case Qn.SIMP_CHINESE_INFORMAL:return de(fe,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Be,"\u8D1F",Ht,M|ee|ne);case Qn.SIMP_CHINESE_FORMAL:return de(fe,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ft,"\u8D1F",Ht,O|M|ee|ne);case Qn.JAPANESE_INFORMAL:return de(fe,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Nt,Ht,0);case Qn.JAPANESE_FORMAL:return de(fe,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Nt,Ht,O|M|ee);case Qn.KOREAN_HANGUL_FORMAL:return de(fe,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Vt,dr,O|M|ee);case Qn.KOREAN_HANJA_INFORMAL:return de(fe,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Vt,dr,0);case Qn.KOREAN_HANJA_FORMAL:return de(fe,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Vt,dr,O|M|ee);case Qn.DEVANAGARI:return aa(fe,2406,2415,!0,at);case Qn.GEORGIAN:return ua(fe,1,19999,Ei,Qn.DECIMAL,at);case Qn.GUJARATI:return aa(fe,2790,2799,!0,at);case Qn.GURMUKHI:return aa(fe,2662,2671,!0,at);case Qn.HEBREW:return ua(fe,1,10999,Qi,Qn.DECIMAL,at);case Qn.HIRAGANA:return Xa(fe,"\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 Qn.HIRAGANA_IROHA:return Xa(fe,"\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 Qn.KANNADA:return aa(fe,3302,3311,!0,at);case Qn.KATAKANA:return Xa(fe,"\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",Ht);case Qn.KATAKANA_IROHA:return Xa(fe,"\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",Ht);case Qn.LAO:return aa(fe,3792,3801,!0,at);case Qn.MONGOLIAN:return aa(fe,6160,6169,!0,at);case Qn.MYANMAR:return aa(fe,4160,4169,!0,at);case Qn.ORIYA:return aa(fe,2918,2927,!0,at);case Qn.PERSIAN:return aa(fe,1776,1785,!0,at);case Qn.TAMIL:return aa(fe,3046,3055,!0,at);case Qn.TELUGU:return aa(fe,3174,3183,!0,at);case Qn.THAI:return aa(fe,3664,3673,!0,at);case Qn.TIBETAN:return aa(fe,3872,3881,!0,at);case Qn.DECIMAL:default:return aa(fe,48,57,!0,at)}},Fr="data-html2canvas-ignore",Jr=function(){function ct(fe,Te,ke){if(this.context=fe,this.options=ke,this.scrolledElements=[],this.referenceElement=Te,this.counters=new Un,this.quoteDepth=0,!Te.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Te.ownerDocument.documentElement)}return ct.prototype.toIFrame=function(fe,Te){var ke=this,at=vn(fe,Te);if(!at.contentWindow)return Promise.reject("Unable to find iframe window");var Ht=fe.defaultView.pageXOffset,dr=fe.defaultView.pageYOffset,Er=at.contentWindow,Mr=Er.document,Yr=Ri(at).then(function(){return g(ke,void 0,void 0,function(){var zn,Mn;return v(this,function(Jn){switch(Jn.label){case 0:return this.scrolledElements.forEach(Ka),Er&&(Er.scrollTo(Te.left,Te.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Er.scrollY!==Te.top||Er.scrollX!==Te.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Er.scrollX-Te.left,Er.scrollY-Te.top,0,0))),zn=this.options.onclone,Mn=this.clonedReferenceElement,typeof Mn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Mr.fonts&&Mr.fonts.ready?[4,Mr.fonts.ready]:[3,2];case 1:Jn.sent(),Jn.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Si(Mr)]:[3,4];case 3:Jn.sent(),Jn.label=4;case 4:return typeof zn=="function"?[2,Promise.resolve().then(function(){return zn(Mr,Mn)}).then(function(){return at})]:[2,at]}})})});return Mr.open(),Mr.write(Vi(document.doctype)+"<html></html>"),ia(this.referenceElement.ownerDocument,Ht,dr),Mr.replaceChild(Mr.adoptNode(this.documentElement),Mr.documentElement),Mr.close(),Yr},ct.prototype.createElementClone=function(fe){if(As(fe,2))debugger;if(ar(fe))return this.createCanvasClone(fe);if(qt(fe))return this.createStyleClone(fe);var Te=fe.cloneNode(!1);return vr(Te)&&(vr(fe)&&fe.currentSrc&&fe.currentSrc!==fe.src&&(Te.src=fe.currentSrc,Te.srcset=""),Te.loading==="lazy"&&(Te.loading="eager")),Te},ct.prototype.createStyleClone=function(fe){try{var Te=fe.sheet;if(Te&&Te.cssRules){var ke=[].slice.call(Te.cssRules,0).reduce(function(Ht,dr){return dr&&typeof dr.cssText=="string"?Ht+dr.cssText:Ht},""),at=fe.cloneNode(!1);return at.textContent=ke,at}}catch(Ht){if(this.context.logger.error("Unable to access cssRules property",Ht),Ht.name!=="SecurityError")throw Ht}return fe.cloneNode(!1)},ct.prototype.createCanvasClone=function(fe){var Te;if(this.options.inlineImages&&fe.ownerDocument){var ke=fe.ownerDocument.createElement("img");try{return ke.src=fe.toDataURL(),ke}catch(Yr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",fe)}}var at=fe.cloneNode(!1);try{at.width=fe.width,at.height=fe.height;var Ht=fe.getContext("2d"),dr=at.getContext("2d");if(dr)if(!this.options.allowTaint&&Ht)dr.putImageData(Ht.getImageData(0,0,fe.width,fe.height),0,0);else{var Er=(Te=fe.getContext("webgl2"))!==null&&Te!==void 0?Te:fe.getContext("webgl");if(Er){var Mr=Er.getContextAttributes();(Mr==null?void 0:Mr.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",fe)}dr.drawImage(fe,0,0)}return at}catch(Yr){this.context.logger.info("Unable to clone canvas as it is tainted",fe)}return at},ct.prototype.cloneNode=function(fe){if(rr(fe))return document.createTextNode(fe.data);if(!fe.ownerDocument)return fe.cloneNode(!1);var Te=fe.ownerDocument.defaultView;if(Te&&mr(fe)&&(Re(fe)||re(fe))){var ke=this.createElementClone(fe);ke.style.transitionProperty="none";var at=Te.getComputedStyle(fe),Ht=Te.getComputedStyle(fe,":before"),dr=Te.getComputedStyle(fe,":after");this.referenceElement===fe&&Re(ke)&&(this.clonedReferenceElement=ke),Mt(ke)&&Ns(ke);for(var Er=this.counters.parse(new Fo(this.context,at)),Mr=this.resolvePseudoContent(fe,ke,Ht,pn.BEFORE),Yr=fe.firstChild;Yr;Yr=Yr.nextSibling)(!mr(Yr)||!fr(Yr)&&!Yr.hasAttribute(Fr)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Yr)))&&((!this.options.copyStyles||!mr(Yr)||!qt(Yr))&&ke.appendChild(this.cloneNode(Yr)));Mr&&ke.insertBefore(Mr,ke.firstChild);var zn=this.resolvePseudoContent(fe,ke,dr,pn.AFTER);return zn&&ke.appendChild(zn),this.counters.pop(Er),at&&(this.options.copyStyles||re(fe))&&!ir(fe)&&Ii(at,ke),(fe.scrollTop!==0||fe.scrollLeft!==0)&&this.scrolledElements.push([ke,fe.scrollLeft,fe.scrollTop]),(br(fe)||jr(fe))&&(br(ke)||jr(ke))&&(ke.value=fe.value),ke}return fe.cloneNode(!1)},ct.prototype.resolvePseudoContent=function(fe,Te,ke,at){var Ht=this;if(!ke)return;var dr=ke.content,Er=Te.ownerDocument;if(!Er||!dr||dr==="none"||dr==="-moz-alt-content"||ke.display==="none")return;this.counters.parse(new Fo(this.context,ke));var Mr=new bs(this.context,ke),Yr=Er.createElement("html2canvaspseudoelement");Ii(ke,Yr),Mr.content.forEach(function(Mn){if(Mn.type===0)Yr.appendChild(Er.createTextNode(Mn.value));else if(Mn.type===22){var Jn=Er.createElement("img");Jn.src=Mn.value,Jn.style.opacity="1",Yr.appendChild(Jn)}else if(Mn.type===18){if(Mn.name==="attr"){var Ki=Mn.values.filter($e);Ki.length&&Yr.appendChild(Er.createTextNode(fe.getAttribute(Ki[0].value)||""))}else if(Mn.name==="counter"){var zi=Mn.values.filter(Or),oa=zi[0],Ja=zi[1];if(oa&&$e(oa)){var Ra=Ht.counters.getCounterValue(oa.value),Ca=Ja&&$e(Ja)?Ga.parse(Ht.context,Ja.value):Qn.DECIMAL;Yr.appendChild(Er.createTextNode(Gt(Ra,Ca,!1)))}}else if(Mn.name==="counters"){var Ro=Mn.values.filter(Or),oa=Ro[0],Ho=Ro[1],Ja=Ro[2];if(oa&&$e(oa)){var Eo=Ht.counters.getCounterValues(oa.value),_a=Ja&&$e(Ja)?Ga.parse(Ht.context,Ja.value):Qn.DECIMAL,qo=Ho&&Ho.type===0?Ho.value:"",rs=Eo.map(function(Jl){return Gt(Jl,_a,!1)}).join(qo);Yr.appendChild(Er.createTextNode(rs))}}}else if(Mn.type===20)switch(Mn.value){case"open-quote":Yr.appendChild(Er.createTextNode(ys(Mr.quotes,Ht.quoteDepth++,!0)));break;case"close-quote":Yr.appendChild(Er.createTextNode(ys(Mr.quotes,--Ht.quoteDepth,!1)));break;default:Yr.appendChild(Er.createTextNode(Mn.value))}}),Yr.className=xo+" "+Zo;var zn=at===pn.BEFORE?" "+xo:" "+Zo;return re(Te)?Te.className.baseValue+=zn:Te.className+=zn,Yr},ct.destroy=function(fe){return fe.parentNode?(fe.parentNode.removeChild(fe),!0):!1},ct}(),pn;(function(ct){ct[ct.BEFORE=0]="BEFORE",ct[ct.AFTER=1]="AFTER"})(pn||(pn={}));var vn=function(fe,Te){var ke=fe.createElement("iframe");return ke.className="html2canvas-container",ke.style.visibility="hidden",ke.style.position="fixed",ke.style.left="-10000px",ke.style.top="0px",ke.style.border="0",ke.width=Te.width.toString(),ke.height=Te.height.toString(),ke.scrolling="no",ke.setAttribute(Fr,"true"),fe.body.appendChild(ke),ke},ci=function(fe){return new Promise(function(Te){if(fe.complete){Te();return}if(!fe.src){Te();return}fe.onload=Te,fe.onerror=Te})},Si=function(fe){return Promise.all([].slice.call(fe.images,0).map(ci))},Ri=function(fe){return new Promise(function(Te,ke){var at=fe.contentWindow;if(!at)return ke("No window assigned for iframe");var Ht=at.document;at.onload=fe.onload=function(){at.onload=fe.onload=null;var dr=setInterval(function(){Ht.body.childNodes.length>0&&Ht.readyState==="complete"&&(clearInterval(dr),Te(fe))},50)}})},Ni=["all","d","content"],Ii=function(fe,Te){for(var ke=fe.length-1;ke>=0;ke--){var at=fe.item(ke);Ni.indexOf(at)===-1&&Te.style.setProperty(at,fe.getPropertyValue(at))}return Te},Vi=function(fe){var Te="";return fe&&(Te+="<!DOCTYPE ",fe.name&&(Te+=fe.name),fe.internalSubset&&(Te+=fe.internalSubset),fe.publicId&&(Te+='"'+fe.publicId+'"'),fe.systemId&&(Te+='"'+fe.systemId+'"'),Te+=">"),Te},ia=function(fe,Te,ke){fe&&fe.defaultView&&(Te!==fe.defaultView.pageXOffset||ke!==fe.defaultView.pageYOffset)&&fe.defaultView.scrollTo(Te,ke)},Ka=function(fe){var Te=fe[0],ke=fe[1],at=fe[2];Te.scrollLeft=ke,Te.scrollTop=at},Oa=":before",so=":after",xo="___html2canvas___pseudoelement_before",Zo="___html2canvas___pseudoelement_after",jo=`{
content: "" !important;
display: none !important;
}`,Ns=function(fe){dl(fe,"."+xo+Oa+jo+`
.`+Zo+so+jo)},dl=function(fe,Te){var ke=fe.ownerDocument;if(ke){var at=ke.createElement("style");at.textContent=Te,fe.appendChild(at)}},ds=function(){function ct(){}return ct.getOrigin=function(fe){var Te=ct._link;return Te?(Te.href=fe,Te.href=Te.href,Te.protocol+Te.hostname+Te.port):"about:blank"},ct.isSameOrigin=function(fe){return ct.getOrigin(fe)===ct._origin},ct.setContext=function(fe){ct._link=fe.document.createElement("a"),ct._origin=ct.getOrigin(fe.location.href)},ct._origin="about:blank",ct}(),hl=function(){function ct(fe,Te){this.context=fe,this._options=Te,this._cache={}}return ct.prototype.addImage=function(fe){var Te=Promise.resolve();return this.has(fe)||(El(fe)||os(fe))&&(this._cache[fe]=this.loadImage(fe)).catch(function(){}),Te},ct.prototype.match=function(fe){return this._cache[fe]},ct.prototype.loadImage=function(fe){return g(this,void 0,void 0,function(){var Te,ke,at,Ht,dr=this;return v(this,function(Er){switch(Er.label){case 0:return Te=ds.isSameOrigin(fe),ke=!il(fe)&&this._options.useCORS===!0&&as.SUPPORT_CORS_IMAGES&&!Te,at=!il(fe)&&!Te&&!El(fe)&&typeof this._options.proxy=="string"&&as.SUPPORT_CORS_XHR&&!ke,!Te&&this._options.allowTaint===!1&&!il(fe)&&!El(fe)&&!at&&!ke?[2]:(Ht=fe,at?[4,this.proxy(Ht)]:[3,2]);case 1:Ht=Er.sent(),Er.label=2;case 2:return this.context.logger.debug("Added image "+fe.substring(0,256)),[4,new Promise(function(Mr,Yr){var zn=new Image;zn.onload=function(){return Mr(zn)},zn.onerror=Yr,(Ac(Ht)||ke)&&(zn.crossOrigin="anonymous"),zn.src=Ht,zn.complete===!0&&setTimeout(function(){return Mr(zn)},500),dr._options.imageTimeout>0&&setTimeout(function(){return Yr("Timed out ("+dr._options.imageTimeout+"ms) loading image")},dr._options.imageTimeout)})];case 3:return[2,Er.sent()]}})})},ct.prototype.has=function(fe){return typeof this._cache[fe]!="undefined"},ct.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},ct.prototype.proxy=function(fe){var Te=this,ke=this._options.proxy;if(!ke)throw new Error("No proxy defined");var at=fe.substring(0,256);return new Promise(function(Ht,dr){var Er=as.SUPPORT_RESPONSE_TYPE?"blob":"text",Mr=new XMLHttpRequest;Mr.onload=function(){if(Mr.status===200)if(Er==="text")Ht(Mr.response);else{var Mn=new FileReader;Mn.addEventListener("load",function(){return Ht(Mn.result)},!1),Mn.addEventListener("error",function(Jn){return dr(Jn)},!1),Mn.readAsDataURL(Mr.response)}else dr("Failed to proxy resource "+at+" with status code "+Mr.status)},Mr.onerror=dr;var Yr=ke.indexOf("?")>-1?"&":"?";if(Mr.open("GET",""+ke+Yr+"url="+encodeURIComponent(fe)+"&responseType="+Er),Er!=="text"&&Mr instanceof XMLHttpRequest&&(Mr.responseType=Er),Te._options.imageTimeout){var zn=Te._options.imageTimeout;Mr.timeout=zn,Mr.ontimeout=function(){return dr("Timed out ("+zn+"ms) proxying "+at)}}Mr.send()})},ct}(),Ds=/^data:image\/svg\+xml/i,Ss=/^data:image\/.*;base64,/i,fs=/^data:image\/.*/i,os=function(fe){return as.SUPPORT_SVG_DRAWING||!ps(fe)},il=function(fe){return fs.test(fe)},Ac=function(fe){return Ss.test(fe)},El=function(fe){return fe.substr(0,4)==="blob"},ps=function(fe){return fe.substr(-3).toLowerCase()==="svg"||Ds.test(fe)},bl;(function(ct){ct[ct.VECTOR=0]="VECTOR",ct[ct.BEZIER_CURVE=1]="BEZIER_CURVE"})(bl||(bl={}));var Us=function(fe,Te){return fe.length===Te.length?fe.some(function(ke,at){return ke===Te[at]}):!1},tu=function(fe,Te,ke,at,Ht){return fe.map(function(dr,Er){switch(Er){case 0:return dr.add(Te,ke);case 1:return dr.add(Te+at,ke);case 2:return dr.add(Te+at,ke+Ht);case 3:return dr.add(Te,ke+Ht)}return dr})},$i=function(){function ct(fe,Te){this.type=bl.VECTOR,this.x=fe,this.y=Te}return ct.prototype.add=function(fe,Te){return new ct(this.x+fe,this.y+Te)},ct}(),gl=function(fe,Te,ke){return new $i(fe.x+(Te.x-fe.x)*ke,fe.y+(Te.y-fe.y)*ke)},Nl=function(){function ct(fe,Te,ke,at){this.type=bl.BEZIER_CURVE,this.start=fe,this.startControl=Te,this.endControl=ke,this.end=at}return ct.prototype.subdivide=function(fe,Te){var ke=gl(this.start,this.startControl,fe),at=gl(this.startControl,this.endControl,fe),Ht=gl(this.endControl,this.end,fe),dr=gl(ke,at,fe),Er=gl(at,Ht,fe),Mr=gl(dr,Er,fe);return Te?new ct(this.start,ke,dr,Mr):new ct(Mr,Er,Ht,this.end)},ct.prototype.add=function(fe,Te){return new ct(this.start.add(fe,Te),this.startControl.add(fe,Te),this.endControl.add(fe,Te),this.end.add(fe,Te))},ct.prototype.reverse=function(){return new ct(this.end,this.endControl,this.startControl,this.start)},ct}(),ts=function(fe){return fe.type===bl.BEZIER_CURVE},zl=function(){function ct(fe){var Te=fe.styles,ke=fe.bounds,at=Dn(Te.borderTopLeftRadius,ke.width,ke.height),Ht=at[0],dr=at[1],Er=Dn(Te.borderTopRightRadius,ke.width,ke.height),Mr=Er[0],Yr=Er[1],zn=Dn(Te.borderBottomRightRadius,ke.width,ke.height),Mn=zn[0],Jn=zn[1],Ki=Dn(Te.borderBottomLeftRadius,ke.width,ke.height),zi=Ki[0],oa=Ki[1],Ja=[];Ja.push((Ht+Mr)/ke.width),Ja.push((zi+Mn)/ke.width),Ja.push((dr+oa)/ke.height),Ja.push((Yr+Jn)/ke.height);var Ra=Math.max.apply(Math,Ja);Ra>1&&(Ht/=Ra,dr/=Ra,Mr/=Ra,Yr/=Ra,Mn/=Ra,Jn/=Ra,zi/=Ra,oa/=Ra);var Ca=ke.width-Mr,Ro=ke.height-Jn,Ho=ke.width-Mn,Eo=ke.height-oa,_a=Te.borderTopWidth,qo=Te.borderRightWidth,rs=Te.borderBottomWidth,_o=Te.borderLeftWidth,Bl=hn(Te.paddingTop,fe.bounds.width),Jl=hn(Te.paddingRight,fe.bounds.width),Pl=hn(Te.paddingBottom,fe.bounds.width),Al=hn(Te.paddingLeft,fe.bounds.width);this.topLeftBorderDoubleOuterBox=Ht>0||dr>0?cs(ke.left+_o/3,ke.top+_a/3,Ht-_o/3,dr-_a/3,ko.TOP_LEFT):new $i(ke.left+_o/3,ke.top+_a/3),this.topRightBorderDoubleOuterBox=Ht>0||dr>0?cs(ke.left+Ca,ke.top+_a/3,Mr-qo/3,Yr-_a/3,ko.TOP_RIGHT):new $i(ke.left+ke.width-qo/3,ke.top+_a/3),this.bottomRightBorderDoubleOuterBox=Mn>0||Jn>0?cs(ke.left+Ho,ke.top+Ro,Mn-qo/3,Jn-rs/3,ko.BOTTOM_RIGHT):new $i(ke.left+ke.width-qo/3,ke.top+ke.height-rs/3),this.bottomLeftBorderDoubleOuterBox=zi>0||oa>0?cs(ke.left+_o/3,ke.top+Eo,zi-_o/3,oa-rs/3,ko.BOTTOM_LEFT):new $i(ke.left+_o/3,ke.top+ke.height-rs/3),this.topLeftBorderDoubleInnerBox=Ht>0||dr>0?cs(ke.left+_o*2/3,ke.top+_a*2/3,Ht-_o*2/3,dr-_a*2/3,ko.TOP_LEFT):new $i(ke.left+_o*2/3,ke.top+_a*2/3),this.topRightBorderDoubleInnerBox=Ht>0||dr>0?cs(ke.left+Ca,ke.top+_a*2/3,Mr-qo*2/3,Yr-_a*2/3,ko.TOP_RIGHT):new $i(ke.left+ke.width-qo*2/3,ke.top+_a*2/3),this.bottomRightBorderDoubleInnerBox=Mn>0||Jn>0?cs(ke.left+Ho,ke.top+Ro,Mn-qo*2/3,Jn-rs*2/3,ko.BOTTOM_RIGHT):new $i(ke.left+ke.width-qo*2/3,ke.top+ke.height-rs*2/3),this.bottomLeftBorderDoubleInnerBox=zi>0||oa>0?cs(ke.left+_o*2/3,ke.top+Eo,zi-_o*2/3,oa-rs*2/3,ko.BOTTOM_LEFT):new $i(ke.left+_o*2/3,ke.top+ke.height-rs*2/3),this.topLeftBorderStroke=Ht>0||dr>0?cs(ke.left+_o/2,ke.top+_a/2,Ht-_o/2,dr-_a/2,ko.TOP_LEFT):new $i(ke.left+_o/2,ke.top+_a/2),this.topRightBorderStroke=Ht>0||dr>0?cs(ke.left+Ca,ke.top+_a/2,Mr-qo/2,Yr-_a/2,ko.TOP_RIGHT):new $i(ke.left+ke.width-qo/2,ke.top+_a/2),this.bottomRightBorderStroke=Mn>0||Jn>0?cs(ke.left+Ho,ke.top+Ro,Mn-qo/2,Jn-rs/2,ko.BOTTOM_RIGHT):new $i(ke.left+ke.width-qo/2,ke.top+ke.height-rs/2),this.bottomLeftBorderStroke=zi>0||oa>0?cs(ke.left+_o/2,ke.top+Eo,zi-_o/2,oa-rs/2,ko.BOTTOM_LEFT):new $i(ke.left+_o/2,ke.top+ke.height-rs/2),this.topLeftBorderBox=Ht>0||dr>0?cs(ke.left,ke.top,Ht,dr,ko.TOP_LEFT):new $i(ke.left,ke.top),this.topRightBorderBox=Mr>0||Yr>0?cs(ke.left+Ca,ke.top,Mr,Yr,ko.TOP_RIGHT):new $i(ke.left+ke.width,ke.top),this.bottomRightBorderBox=Mn>0||Jn>0?cs(ke.left+Ho,ke.top+Ro,Mn,Jn,ko.BOTTOM_RIGHT):new $i(ke.left+ke.width,ke.top+ke.height),this.bottomLeftBorderBox=zi>0||oa>0?cs(ke.left,ke.top+Eo,zi,oa,ko.BOTTOM_LEFT):new $i(ke.left,ke.top+ke.height),this.topLeftPaddingBox=Ht>0||dr>0?cs(ke.left+_o,ke.top+_a,Math.max(0,Ht-_o),Math.max(0,dr-_a),ko.TOP_LEFT):new $i(ke.left+_o,ke.top+_a),this.topRightPaddingBox=Mr>0||Yr>0?cs(ke.left+Math.min(Ca,ke.width-qo),ke.top+_a,Ca>ke.width+qo?0:Math.max(0,Mr-qo),Math.max(0,Yr-_a),ko.TOP_RIGHT):new $i(ke.left+ke.width-qo,ke.top+_a),this.bottomRightPaddingBox=Mn>0||Jn>0?cs(ke.left+Math.min(Ho,ke.width-_o),ke.top+Math.min(Ro,ke.height-rs),Math.max(0,Mn-qo),Math.max(0,Jn-rs),ko.BOTTOM_RIGHT):new $i(ke.left+ke.width-qo,ke.top+ke.height-rs),this.bottomLeftPaddingBox=zi>0||oa>0?cs(ke.left+_o,ke.top+Math.min(Eo,ke.height-rs),Math.max(0,zi-_o),Math.max(0,oa-rs),ko.BOTTOM_LEFT):new $i(ke.left+_o,ke.top+ke.height-rs),this.topLeftContentBox=Ht>0||dr>0?cs(ke.left+_o+Al,ke.top+_a+Bl,Math.max(0,Ht-(_o+Al)),Math.max(0,dr-(_a+Bl)),ko.TOP_LEFT):new $i(ke.left+_o+Al,ke.top+_a+Bl),this.topRightContentBox=Mr>0||Yr>0?cs(ke.left+Math.min(Ca,ke.width+_o+Al),ke.top+_a+Bl,Ca>ke.width+_o+Al?0:Mr-_o+Al,Yr-(_a+Bl),ko.TOP_RIGHT):new $i(ke.left+ke.width-(qo+Jl),ke.top+_a+Bl),this.bottomRightContentBox=Mn>0||Jn>0?cs(ke.left+Math.min(Ho,ke.width-(_o+Al)),ke.top+Math.min(Ro,ke.height+_a+Bl),Math.max(0,Mn-(qo+Jl)),Jn-(rs+Pl),ko.BOTTOM_RIGHT):new $i(ke.left+ke.width-(qo+Jl),ke.top+ke.height-(rs+Pl)),this.bottomLeftContentBox=zi>0||oa>0?cs(ke.left+_o+Al,ke.top+Eo,Math.max(0,zi-(_o+Al)),oa-(rs+Pl),ko.BOTTOM_LEFT):new $i(ke.left+_o+Al,ke.top+ke.height-(rs+Pl))}return ct}(),ko;(function(ct){ct[ct.TOP_LEFT=0]="TOP_LEFT",ct[ct.TOP_RIGHT=1]="TOP_RIGHT",ct[ct.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",ct[ct.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(ko||(ko={}));var cs=function(fe,Te,ke,at,Ht){var dr=4*((Math.sqrt(2)-1)/3),Er=ke*dr,Mr=at*dr,Yr=fe+ke,zn=Te+at;switch(Ht){case ko.TOP_LEFT:return new Nl(new $i(fe,zn),new $i(fe,zn-Mr),new $i(Yr-Er,Te),new $i(Yr,Te));case ko.TOP_RIGHT:return new Nl(new $i(fe,Te),new $i(fe+Er,Te),new $i(Yr,zn-Mr),new $i(Yr,zn));case ko.BOTTOM_RIGHT:return new Nl(new $i(Yr,Te),new $i(Yr,Te+Mr),new $i(fe+Er,zn),new $i(fe,zn));case ko.BOTTOM_LEFT:default:return new Nl(new $i(Yr,zn),new $i(Yr-Er,zn),new $i(fe,Te+Mr),new $i(fe,Te))}},ru=function(fe){return[fe.topLeftBorderBox,fe.topRightBorderBox,fe.bottomRightBorderBox,fe.bottomLeftBorderBox]},xu=function(fe){return[fe.topLeftContentBox,fe.topRightContentBox,fe.bottomRightContentBox,fe.bottomLeftContentBox]},Nc=function(fe){return[fe.topLeftPaddingBox,fe.topRightPaddingBox,fe.bottomRightPaddingBox,fe.bottomLeftPaddingBox]},wu=function(){function ct(fe,Te,ke){this.offsetX=fe,this.offsetY=Te,this.matrix=ke,this.type=0,this.target=2|4}return ct}(),Vc=function(){function ct(fe,Te){this.path=fe,this.target=Te,this.type=1}return ct}(),vc=function(){function ct(fe){this.opacity=fe,this.type=2,this.target=2|4}return ct}(),Su=function(fe){return fe.type===0},fu=function(fe){return fe.type===1},Eu=function(fe){return fe.type===2},pu=function(){function ct(fe){this.element=fe,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return ct}(),Dc=function(){function ct(fe,Te){if(this.container=fe,this.parent=Te,this.effects=[],this.curves=new zl(this.container),this.container.styles.opacity<1&&this.effects.push(new vc(this.container.styles.opacity)),this.container.styles.transform!==null){var ke=this.container.bounds.left+this.container.styles.transformOrigin[0].number,at=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Ht=this.container.styles.transform;this.effects.push(new wu(ke,at,Ht))}if(this.container.styles.overflowX!==vs.VISIBLE){var dr=ru(this.curves),Er=Nc(this.curves);Us(dr,Er)?this.effects.push(new Vc(dr,2|4)):(this.effects.push(new Vc(dr,2)),this.effects.push(new Vc(Er,4)))}}return ct.prototype.getEffects=function(fe){for(var Te=[Lt.ABSOLUTE,Lt.FIXED].indexOf(this.container.styles.position)===-1,ke=this.parent,at=this.effects.slice(0);ke;){var Ht=ke.effects.filter(function(Mr){return!fu(Mr)});if(Te||ke.container.styles.position!==Lt.STATIC||!ke.parent){if(at.unshift.apply(at,Ht),Te=[Lt.ABSOLUTE,Lt.FIXED].indexOf(ke.container.styles.position)===-1,ke.container.styles.overflowX!==vs.VISIBLE){var dr=ru(ke.curves),Er=Nc(ke.curves);Us(dr,Er)||at.unshift(new Vc(Er,2|4))}}else at.unshift.apply(at,Ht);ke=ke.parent}return at.filter(function(Mr){return Ha(Mr.target,fe)})},ct}(),_u=function ct(fe,Te,ke,at){fe.container.elements.forEach(function(Ht){var dr=Ha(Ht.flags,4),Er=Ha(Ht.flags,2),Mr=new Dc(Ht,fe);Ha(Ht.styles.display,2048)&&at.push(Mr);var Yr=Ha(Ht.flags,8)?[]:at;if(dr||Er){var zn=dr||Ht.styles.isPositioned()?ke:Te,Mn=new pu(Mr);if(Ht.styles.isPositioned()||Ht.styles.opacity<1||Ht.styles.isTransformed()){var Jn=Ht.styles.zIndex.order;if(Jn<0){var Ki=0;zn.negativeZIndex.some(function(oa,Ja){return Jn>oa.element.container.styles.zIndex.order?(Ki=Ja,!1):Ki>0}),zn.negativeZIndex.splice(Ki,0,Mn)}else if(Jn>0){var zi=0;zn.positiveZIndex.some(function(oa,Ja){return Jn>=oa.element.container.styles.zIndex.order?(zi=Ja+1,!1):zi>0}),zn.positiveZIndex.splice(zi,0,Mn)}else zn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Mn)}else Ht.styles.isFloating()?zn.nonPositionedFloats.push(Mn):zn.nonPositionedInlineLevel.push(Mn);ct(Mr,Mn,dr?Mn:ke,Yr)}else Ht.styles.isInlineLevel()?Te.inlineLevel.push(Mr):Te.nonInlineLevel.push(Mr),ct(Mr,Te,ke,Yr);Ha(Ht.flags,8)&&mu(Ht,Yr)})},mu=function(fe,Te){for(var ke=fe instanceof Kl?fe.start:1,at=fe instanceof Kl?fe.reversed:!1,Ht=0;Ht<Te.length;Ht++){var dr=Te[Ht];dr.container instanceof Gl&&typeof dr.container.value=="number"&&dr.container.value!==0&&(ke=dr.container.value),dr.listValue=Gt(ke,dr.container.styles.listStyleType,!0),ke+=at?-1:1}},Cu=function(fe){var Te=new Dc(fe,null),ke=new pu(Te),at=[];return _u(Te,ke,ke,at),mu(Te.container,at),ke},gu=function(fe,Te){switch(Te){case 0:return $s(fe.topLeftBorderBox,fe.topLeftPaddingBox,fe.topRightBorderBox,fe.topRightPaddingBox);case 1:return $s(fe.topRightBorderBox,fe.topRightPaddingBox,fe.bottomRightBorderBox,fe.bottomRightPaddingBox);case 2:return $s(fe.bottomRightBorderBox,fe.bottomRightPaddingBox,fe.bottomLeftBorderBox,fe.bottomLeftPaddingBox);case 3:default:return $s(fe.bottomLeftBorderBox,fe.bottomLeftPaddingBox,fe.topLeftBorderBox,fe.topLeftPaddingBox)}},Tu=function(fe,Te){switch(Te){case 0:return $s(fe.topLeftBorderBox,fe.topLeftBorderDoubleOuterBox,fe.topRightBorderBox,fe.topRightBorderDoubleOuterBox);case 1:return $s(fe.topRightBorderBox,fe.topRightBorderDoubleOuterBox,fe.bottomRightBorderBox,fe.bottomRightBorderDoubleOuterBox);case 2:return $s(fe.bottomRightBorderBox,fe.bottomRightBorderDoubleOuterBox,fe.bottomLeftBorderBox,fe.bottomLeftBorderDoubleOuterBox);case 3:default:return $s(fe.bottomLeftBorderBox,fe.bottomLeftBorderDoubleOuterBox,fe.topLeftBorderBox,fe.topLeftBorderDoubleOuterBox)}},nu=function(fe,Te){switch(Te){case 0:return $s(fe.topLeftBorderDoubleInnerBox,fe.topLeftPaddingBox,fe.topRightBorderDoubleInnerBox,fe.topRightPaddingBox);case 1:return $s(fe.topRightBorderDoubleInnerBox,fe.topRightPaddingBox,fe.bottomRightBorderDoubleInnerBox,fe.bottomRightPaddingBox);case 2:return $s(fe.bottomRightBorderDoubleInnerBox,fe.bottomRightPaddingBox,fe.bottomLeftBorderDoubleInnerBox,fe.bottomLeftPaddingBox);case 3:default:return $s(fe.bottomLeftBorderDoubleInnerBox,fe.bottomLeftPaddingBox,fe.topLeftBorderDoubleInnerBox,fe.topLeftPaddingBox)}},Au=function(fe,Te){switch(Te){case 0:return Rc(fe.topLeftBorderStroke,fe.topRightBorderStroke);case 1:return Rc(fe.topRightBorderStroke,fe.bottomRightBorderStroke);case 2:return Rc(fe.bottomRightBorderStroke,fe.bottomLeftBorderStroke);case 3:default:return Rc(fe.bottomLeftBorderStroke,fe.topLeftBorderStroke)}},Rc=function(fe,Te){var ke=[];return ts(fe)?ke.push(fe.subdivide(.5,!1)):ke.push(fe),ts(Te)?ke.push(Te.subdivide(.5,!0)):ke.push(Te),ke},$s=function(fe,Te,ke,at){var Ht=[];return ts(fe)?Ht.push(fe.subdivide(.5,!1)):Ht.push(fe),ts(ke)?Ht.push(ke.subdivide(.5,!0)):Ht.push(ke),ts(at)?Ht.push(at.subdivide(.5,!0).reverse()):Ht.push(at),ts(Te)?Ht.push(Te.subdivide(.5,!1).reverse()):Ht.push(Te),Ht},sc=function(fe){var Te=fe.bounds,ke=fe.styles;return Te.add(ke.borderLeftWidth,ke.borderTopWidth,-(ke.borderRightWidth+ke.borderLeftWidth),-(ke.borderTopWidth+ke.borderBottomWidth))},Wl=function(fe){var Te=fe.styles,ke=fe.bounds,at=hn(Te.paddingLeft,ke.width),Ht=hn(Te.paddingRight,ke.width),dr=hn(Te.paddingTop,ke.width),Er=hn(Te.paddingBottom,ke.width);return ke.add(at+Te.borderLeftWidth,dr+Te.borderTopWidth,-(Te.borderRightWidth+Te.borderLeftWidth+at+Ht),-(Te.borderTopWidth+Te.borderBottomWidth+dr+Er))},cu=function(fe,Te){return fe===0?Te.bounds:fe===2?Wl(Te):sc(Te)},vu=function(fe,Te){return fe===ya.BORDER_BOX?Te.bounds:fe===ya.CONTENT_BOX?Wl(Te):sc(Te)},uu=function(fe,Te,ke){var at=cu(du(fe.styles.backgroundOrigin,Te),fe),Ht=vu(du(fe.styles.backgroundClip,Te),fe),dr=yu(du(fe.styles.backgroundSize,Te),ke,at),Er=dr[0],Mr=dr[1],Yr=Dn(du(fe.styles.backgroundPosition,Te),at.width-Er,at.height-Mr),zn=Lu(du(fe.styles.backgroundRepeat,Te),Yr,dr,at,Ht),Mn=Math.round(at.left+Yr[0]),Jn=Math.round(at.top+Yr[1]);return[zn,Mn,Jn,Er,Mr]},Xc=function(fe){return $e(fe)&&fe.value===yo.AUTO},Gc=function(fe){return typeof fe=="number"},yu=function(fe,Te,ke){var at=Te[0],Ht=Te[1],dr=Te[2],Er=fe[0],Mr=fe[1];if(!Er)return[0,0];if(cn(Er)&&Mr&&cn(Mr))return[hn(Er,ke.width),hn(Mr,ke.height)];var Yr=Gc(dr);if($e(Er)&&(Er.value===yo.CONTAIN||Er.value===yo.COVER)){if(Gc(dr)){var zn=ke.width/ke.height;return zn<dr!==(Er.value===yo.COVER)?[ke.width,ke.width/dr]:[ke.height*dr,ke.height]}return[ke.width,ke.height]}var Mn=Gc(at),Jn=Gc(Ht),Ki=Mn||Jn;if(Xc(Er)&&(!Mr||Xc(Mr))){if(Mn&&Jn)return[at,Ht];if(!Yr&&!Ki)return[ke.width,ke.height];if(Ki&&Yr){var zi=Mn?at:Ht*dr,oa=Jn?Ht:at/dr;return[zi,oa]}var Ja=Mn?at:ke.width,Ra=Jn?Ht:ke.height;return[Ja,Ra]}if(Yr){var Ca=0,Ro=0;return cn(Er)?Ca=hn(Er,ke.width):cn(Mr)&&(Ro=hn(Mr,ke.height)),Xc(Er)?Ca=Ro*dr:(!Mr||Xc(Mr))&&(Ro=Ca/dr),[Ca,Ro]}var Ho=null,Eo=null;if(cn(Er)?Ho=hn(Er,ke.width):Mr&&cn(Mr)&&(Eo=hn(Mr,ke.height)),Ho!==null&&(!Mr||Xc(Mr))&&(Eo=Mn&&Jn?Ho/at*Ht:ke.height),Eo!==null&&Xc(Er)&&(Ho=Mn&&Jn?Eo/Ht*at:ke.width),Ho!==null&&Eo!==null)return[Ho,Eo];throw new Error("Unable to calculate background-size for element")},du=function(fe,Te){var ke=fe[Te];return typeof ke=="undefined"?fe[0]:ke},Lu=function(fe,Te,ke,at,Ht){var dr=Te[0],Er=Te[1],Mr=ke[0],Yr=ke[1];switch(fe){case vo.REPEAT_X:return[new $i(Math.round(at.left),Math.round(at.top+Er)),new $i(Math.round(at.left+at.width),Math.round(at.top+Er)),new $i(Math.round(at.left+at.width),Math.round(Yr+at.top+Er)),new $i(Math.round(at.left),Math.round(Yr+at.top+Er))];case vo.REPEAT_Y:return[new $i(Math.round(at.left+dr),Math.round(at.top)),new $i(Math.round(at.left+dr+Mr),Math.round(at.top)),new $i(Math.round(at.left+dr+Mr),Math.round(at.height+at.top)),new $i(Math.round(at.left+dr),Math.round(at.height+at.top))];case vo.NO_REPEAT:return[new $i(Math.round(at.left+dr),Math.round(at.top+Er)),new $i(Math.round(at.left+dr+Mr),Math.round(at.top+Er)),new $i(Math.round(at.left+dr+Mr),Math.round(at.top+Er+Yr)),new $i(Math.round(at.left+dr),Math.round(at.top+Er+Yr))];default:return[new $i(Math.round(Ht.left),Math.round(Ht.top)),new $i(Math.round(Ht.left+Ht.width),Math.round(Ht.top)),new $i(Math.round(Ht.left+Ht.width),Math.round(Ht.height+Ht.top)),new $i(Math.round(Ht.left),Math.round(Ht.height+Ht.top))]}},Nu="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Iu="Hidden Text",Du=function(){function ct(fe){this._data={},this._document=fe}return ct.prototype.parseMetrics=function(fe,Te){var ke=this._document.createElement("div"),at=this._document.createElement("img"),Ht=this._document.createElement("span"),dr=this._document.body;ke.style.visibility="hidden",ke.style.fontFamily=fe,ke.style.fontSize=Te,ke.style.margin="0",ke.style.padding="0",dr.appendChild(ke),at.src=Nu,at.width=1,at.height=1,at.style.margin="0",at.style.padding="0",at.style.verticalAlign="baseline",Ht.style.fontFamily=fe,Ht.style.fontSize=Te,Ht.style.margin="0",Ht.style.padding="0",Ht.appendChild(this._document.createTextNode(Iu)),ke.appendChild(Ht),ke.appendChild(at);var Er=at.offsetTop-Ht.offsetTop+2;ke.removeChild(Ht),ke.appendChild(this._document.createTextNode(Iu)),ke.style.lineHeight="normal",at.style.verticalAlign="super";var Mr=at.offsetTop-ke.offsetTop+2;return dr.removeChild(ke),{baseline:Er,middle:Mr}},ct.prototype.getMetrics=function(fe,Te){var ke=fe+" "+Te;return typeof this._data[ke]=="undefined"&&(this._data[ke]=this.parseMetrics(fe,Te)),this._data[ke]},ct}(),Ou=function(){function ct(fe,Te){this.context=fe,this.options=Te}return ct}(),Ru=1e4,Mu=function(ct){A(fe,ct);function fe(Te,ke){var at=ct.call(this,Te,ke)||this;return at._activeEffects=[],at.canvas=ke.canvas?ke.canvas:document.createElement("canvas"),at.ctx=at.canvas.getContext("2d"),ke.canvas||(at.canvas.width=Math.floor(ke.width*ke.scale),at.canvas.height=Math.floor(ke.height*ke.scale),at.canvas.style.width=ke.width+"px",at.canvas.style.height=ke.height+"px"),at.fontMetrics=new Du(document),at.ctx.scale(at.options.scale,at.options.scale),at.ctx.translate(-ke.x,-ke.y),at.ctx.textBaseline="bottom",at._activeEffects=[],at.context.logger.debug("Canvas renderer initialized ("+ke.width+"x"+ke.height+") with scale "+ke.scale),at}return fe.prototype.applyEffects=function(Te){for(var ke=this;this._activeEffects.length;)this.popEffect();Te.forEach(function(at){return ke.applyEffect(at)})},fe.prototype.applyEffect=function(Te){this.ctx.save(),Eu(Te)&&(this.ctx.globalAlpha=Te.opacity),Su(Te)&&(this.ctx.translate(Te.offsetX,Te.offsetY),this.ctx.transform(Te.matrix[0],Te.matrix[1],Te.matrix[2],Te.matrix[3],Te.matrix[4],Te.matrix[5]),this.ctx.translate(-Te.offsetX,-Te.offsetY)),fu(Te)&&(this.path(Te.path),this.ctx.clip()),this._activeEffects.push(Te)},fe.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},fe.prototype.renderStack=function(Te){return g(this,void 0,void 0,function(){var ke;return v(this,function(at){switch(at.label){case 0:return ke=Te.element.container.styles,ke.isVisible()?[4,this.renderStackContent(Te)]:[3,2];case 1:at.sent(),at.label=2;case 2:return[2]}})})},fe.prototype.renderNode=function(Te){return g(this,void 0,void 0,function(){return v(this,function(ke){switch(ke.label){case 0:if(Ha(Te.container.flags,16))debugger;return Te.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(Te)]:[3,3];case 1:return ke.sent(),[4,this.renderNodeContent(Te)];case 2:ke.sent(),ke.label=3;case 3:return[2]}})})},fe.prototype.renderTextWithLetterSpacing=function(Te,ke,at){var Ht=this;if(ke===0)this.ctx.fillText(Te.text,Te.bounds.left,Te.bounds.top+at);else{var dr=Fl(Te.text);dr.reduce(function(Er,Mr){return Ht.ctx.fillText(Mr,Er,Te.bounds.top+at),Er+Ht.ctx.measureText(Mr).width},Te.bounds.left)}},fe.prototype.createFontStyle=function(Te){var ke=Te.fontVariant.filter(function(dr){return dr==="normal"||dr==="small-caps"}).join(""),at=Te.fontFamily.join(", "),Ht=li(Te.fontSize)?""+Te.fontSize.number+Te.fontSize.unit:Te.fontSize.number+"px";return[[Te.fontStyle,ke,Te.fontWeight,Ht,at].join(" "),at,Ht]},fe.prototype.renderTextNode=function(Te,ke){return g(this,void 0,void 0,function(){var at,Ht,dr,Er,Mr,Yr,zn,Mn,Jn=this;return v(this,function(Ki){return at=this.createFontStyle(ke),Ht=at[0],dr=at[1],Er=at[2],this.ctx.font=Ht,this.ctx.direction=ke.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Mr=this.fontMetrics.getMetrics(dr,Er),Yr=Mr.baseline,zn=Mr.middle,Mn=ke.paintOrder,Te.textBounds.forEach(function(zi){Mn.forEach(function(oa){switch(oa){case So.FILL:Jn.ctx.fillStyle=Mi(ke.color),Jn.renderTextWithLetterSpacing(zi,ke.letterSpacing,Yr);var Ja=ke.textShadow;Ja.length&&zi.text.trim().length&&(Ja.slice(0).reverse().forEach(function(Ra){Jn.ctx.shadowColor=Mi(Ra.color),Jn.ctx.shadowOffsetX=Ra.offsetX.number*Jn.options.scale,Jn.ctx.shadowOffsetY=Ra.offsetY.number*Jn.options.scale,Jn.ctx.shadowBlur=Ra.blur.number,Jn.renderTextWithLetterSpacing(zi,ke.letterSpacing,Yr)}),Jn.ctx.shadowColor="",Jn.ctx.shadowOffsetX=0,Jn.ctx.shadowOffsetY=0,Jn.ctx.shadowBlur=0),ke.textDecorationLine.length&&(Jn.ctx.fillStyle=Mi(ke.textDecorationColor||ke.color),ke.textDecorationLine.forEach(function(Ra){switch(Ra){case 1:Jn.ctx.fillRect(zi.bounds.left,Math.round(zi.bounds.top+Yr),zi.bounds.width,1);break;case 2:Jn.ctx.fillRect(zi.bounds.left,Math.round(zi.bounds.top),zi.bounds.width,1);break;case 3:Jn.ctx.fillRect(zi.bounds.left,Math.ceil(zi.bounds.top+zn),zi.bounds.width,1);break}}));break;case So.STROKE:ke.webkitTextStrokeWidth&&zi.text.trim().length&&(Jn.ctx.strokeStyle=Mi(ke.webkitTextStrokeColor),Jn.ctx.lineWidth=ke.webkitTextStrokeWidth,Jn.ctx.lineJoin=window.chrome?"miter":"round",Jn.ctx.strokeText(zi.text,zi.bounds.left,zi.bounds.top+Yr)),Jn.ctx.strokeStyle="",Jn.ctx.lineWidth=0,Jn.ctx.lineJoin="miter";break}})}),[2]})})},fe.prototype.renderReplacedElement=function(Te,ke,at){if(at&&Te.intrinsicWidth>0&&Te.intrinsicHeight>0){var Ht=Wl(Te),dr=Nc(ke);this.path(dr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(at,0,0,Te.intrinsicWidth,Te.intrinsicHeight,Ht.left,Ht.top,Ht.width,Ht.height),this.ctx.restore()}},fe.prototype.renderNodeContent=function(Te){return g(this,void 0,void 0,function(){var ke,at,Ht,dr,Er,Mr,Yr,Yr,zn,Mn,Jn,Ki,zi,oa,Ja,Ra,Ca,Ro,Ho,Yr,Eo,zi,Ra;return v(this,function(_a){switch(_a.label){case 0:this.applyEffects(Te.getEffects(4)),ke=Te.container,at=Te.curves,Ht=ke.styles,dr=0,Er=ke.textNodes,_a.label=1;case 1:return dr<Er.length?(Mr=Er[dr],[4,this.renderTextNode(Mr,Ht)]):[3,4];case 2:_a.sent(),_a.label=3;case 3:return dr++,[3,1];case 4:if(!(ke instanceof pc))return[3,8];_a.label=5;case 5:return _a.trys.push([5,7,,8]),[4,this.context.cache.match(ke.src)];case 6:return Yr=_a.sent(),this.renderReplacedElement(ke,at,Yr),[3,8];case 7:return _a.sent(),this.context.logger.error("Error loading image "+ke.src),[3,8];case 8:if(ke instanceof Ol&&this.renderReplacedElement(ke,at,ke.canvas),!(ke instanceof Ll))return[3,12];_a.label=9;case 9:return _a.trys.push([9,11,,12]),[4,this.context.cache.match(ke.svg)];case 10:return Yr=_a.sent(),this.renderReplacedElement(ke,at,Yr),[3,12];case 11:return _a.sent(),this.context.logger.error("Error loading svg "+ke.svg.substring(0,255)),[3,12];case 12:return ke instanceof Lc&&ke.tree?(zn=new fe(this.context,{scale:this.options.scale,backgroundColor:ke.backgroundColor,x:0,y:0,width:ke.width,height:ke.height}),[4,zn.render(ke.tree)]):[3,14];case 13:Mn=_a.sent(),ke.width&&ke.height&&this.ctx.drawImage(Mn,0,0,ke.width,ke.height,ke.bounds.left,ke.bounds.top,ke.bounds.width,ke.bounds.height),_a.label=14;case 14:if(ke instanceof ac&&(Jn=Math.min(ke.bounds.width,ke.bounds.height),ke.type===Ql?ke.checked&&(this.ctx.save(),this.path([new $i(ke.bounds.left+Jn*.39363,ke.bounds.top+Jn*.79),new $i(ke.bounds.left+Jn*.16,ke.bounds.top+Jn*.5549),new $i(ke.bounds.left+Jn*.27347,ke.bounds.top+Jn*.44071),new $i(ke.bounds.left+Jn*.39694,ke.bounds.top+Jn*.5649),new $i(ke.bounds.left+Jn*.72983,ke.bounds.top+Jn*.23),new $i(ke.bounds.left+Jn*.84,ke.bounds.top+Jn*.34085),new $i(ke.bounds.left+Jn*.39363,ke.bounds.top+Jn*.79)]),this.ctx.fillStyle=Mi(Oc),this.ctx.fill(),this.ctx.restore()):ke.type===mc&&(ke.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(ke.bounds.left+Jn/2,ke.bounds.top+Jn/2,Jn/4,0,Math.PI*2,!0),this.ctx.fillStyle=Mi(Oc),this.ctx.fill(),this.ctx.restore()))),Fu(ke)&&ke.value.length){Ki=this.createFontStyle(Ht),zi=Ki[0],oa=Ki[1],Ja=this.fontMetrics.getMetrics(zi,oa).baseline,this.ctx.font=zi,this.ctx.fillStyle=Mi(Ht.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Bu(ke.styles.textAlign),Ra=Wl(ke),Ca=0;switch(ke.styles.textAlign){case us.CENTER:Ca+=Ra.width/2;break;case us.RIGHT:Ca+=Ra.width;break}Ro=Ra.add(Ca,0,0,-Ra.height/2+1),this.ctx.save(),this.path([new $i(Ra.left,Ra.top),new $i(Ra.left+Ra.width,Ra.top),new $i(Ra.left+Ra.width,Ra.top+Ra.height),new $i(Ra.left,Ra.top+Ra.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new nl(ke.value,Ro),Ht.letterSpacing,Ja),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ha(ke.styles.display,2048))return[3,20];if(!(ke.styles.listStyleImage!==null))return[3,19];if(Ho=ke.styles.listStyleImage,!(Ho.type===ma.URL))return[3,18];Yr=void 0,Eo=Ho.url,_a.label=15;case 15:return _a.trys.push([15,17,,18]),[4,this.context.cache.match(Eo)];case 16:return Yr=_a.sent(),this.ctx.drawImage(Yr,ke.bounds.left-(Yr.width+10),ke.bounds.top),[3,18];case 17:return _a.sent(),this.context.logger.error("Error loading list-style-image "+Eo),[3,18];case 18:return[3,20];case 19:Te.listValue&&ke.styles.listStyleType!==Qn.NONE&&(zi=this.createFontStyle(Ht)[0],this.ctx.font=zi,this.ctx.fillStyle=Mi(Ht.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Ra=new l(ke.bounds.left,ke.bounds.top+hn(ke.styles.paddingTop,ke.bounds.width),ke.bounds.width,Go(Ht.lineHeight,Ht.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new nl(Te.listValue,Ra),Ht.letterSpacing,Go(Ht.lineHeight,Ht.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),_a.label=20;case 20:return[2]}})})},fe.prototype.renderStackContent=function(Te){return g(this,void 0,void 0,function(){var ke,at,Ht,dr,Er,Ht,Mr,Yr,Ht,zn,Mn,Ht,Jn,Ki,Ht,zi,oa,Ht,Ja,Ra,Ht;return v(this,function(Ca){switch(Ca.label){case 0:if(Ha(Te.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(Te.element)];case 1:Ca.sent(),ke=0,at=Te.negativeZIndex,Ca.label=2;case 2:return ke<at.length?(Ht=at[ke],[4,this.renderStack(Ht)]):[3,5];case 3:Ca.sent(),Ca.label=4;case 4:return ke++,[3,2];case 5:return[4,this.renderNodeContent(Te.element)];case 6:Ca.sent(),dr=0,Er=Te.nonInlineLevel,Ca.label=7;case 7:return dr<Er.length?(Ht=Er[dr],[4,this.renderNode(Ht)]):[3,10];case 8:Ca.sent(),Ca.label=9;case 9:return dr++,[3,7];case 10:Mr=0,Yr=Te.nonPositionedFloats,Ca.label=11;case 11:return Mr<Yr.length?(Ht=Yr[Mr],[4,this.renderStack(Ht)]):[3,14];case 12:Ca.sent(),Ca.label=13;case 13:return Mr++,[3,11];case 14:zn=0,Mn=Te.nonPositionedInlineLevel,Ca.label=15;case 15:return zn<Mn.length?(Ht=Mn[zn],[4,this.renderStack(Ht)]):[3,18];case 16:Ca.sent(),Ca.label=17;case 17:return zn++,[3,15];case 18:Jn=0,Ki=Te.inlineLevel,Ca.label=19;case 19:return Jn<Ki.length?(Ht=Ki[Jn],[4,this.renderNode(Ht)]):[3,22];case 20:Ca.sent(),Ca.label=21;case 21:return Jn++,[3,19];case 22:zi=0,oa=Te.zeroOrAutoZIndexOrTransformedOrOpacity,Ca.label=23;case 23:return zi<oa.length?(Ht=oa[zi],[4,this.renderStack(Ht)]):[3,26];case 24:Ca.sent(),Ca.label=25;case 25:return zi++,[3,23];case 26:Ja=0,Ra=Te.positiveZIndex,Ca.label=27;case 27:return Ja<Ra.length?(Ht=Ra[Ja],[4,this.renderStack(Ht)]):[3,30];case 28:Ca.sent(),Ca.label=29;case 29:return Ja++,[3,27];case 30:return[2]}})})},fe.prototype.mask=function(Te){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(Te.slice(0).reverse()),this.ctx.closePath()},fe.prototype.path=function(Te){this.ctx.beginPath(),this.formatPath(Te),this.ctx.closePath()},fe.prototype.formatPath=function(Te){var ke=this;Te.forEach(function(at,Ht){var dr=ts(at)?at.start:at;Ht===0?ke.ctx.moveTo(dr.x,dr.y):ke.ctx.lineTo(dr.x,dr.y),ts(at)&&ke.ctx.bezierCurveTo(at.startControl.x,at.startControl.y,at.endControl.x,at.endControl.y,at.end.x,at.end.y)})},fe.prototype.renderRepeat=function(Te,ke,at,Ht){this.path(Te),this.ctx.fillStyle=ke,this.ctx.translate(at,Ht),this.ctx.fill(),this.ctx.translate(-at,-Ht)},fe.prototype.resizeImage=function(Te,ke,at){var Ht;if(Te.width===ke&&Te.height===at)return Te;var dr=(Ht=this.canvas.ownerDocument)!==null&&Ht!==void 0?Ht:document,Er=dr.createElement("canvas");Er.width=Math.max(1,ke),Er.height=Math.max(1,at);var Mr=Er.getContext("2d");return Mr.drawImage(Te,0,0,Te.width,Te.height,0,0,ke,at),Er},fe.prototype.renderBackgroundImage=function(Te){return g(this,void 0,void 0,function(){var ke,at,Ht,dr,Er,Mr;return v(this,function(Yr){switch(Yr.label){case 0:ke=Te.styles.backgroundImage.length-1,at=function(Mn){var Jn,Ki,zi,oa,Ja,Ra,Ca,Ro,Ho,Eo,oa,Ja,Ra,Ca,Ro,_a,qo,rs,_o,Bl,Jl,Pl,Al,iu,Ho,yc,oa,Qc,Yc,Ca,Ro,Zc,Ja,Ra,au,bc,Jc,ou,su,Mc,lu,Fc;return v(this,function(hu){switch(hu.label){case 0:if(!(Mn.type===ma.URL))return[3,5];Jn=void 0,Ki=Mn.url,hu.label=1;case 1:return hu.trys.push([1,3,,4]),[4,Ht.context.cache.match(Ki)];case 2:return Jn=hu.sent(),[3,4];case 3:return hu.sent(),Ht.context.logger.error("Error loading background-image "+Ki),[3,4];case 4:return Jn&&(zi=uu(Te,ke,[Jn.width,Jn.height,Jn.width/Jn.height]),oa=zi[0],Ja=zi[1],Ra=zi[2],Ca=zi[3],Ro=zi[4],Ho=Ht.ctx.createPattern(Ht.resizeImage(Jn,Ca,Ro),"repeat"),Ht.renderRepeat(oa,Ho,Ja,Ra)),[3,6];case 5:ga(Mn)?(Eo=uu(Te,ke,[null,null,null]),oa=Eo[0],Ja=Eo[1],Ra=Eo[2],Ca=Eo[3],Ro=Eo[4],_a=lo(Mn.angle,Ca,Ro),qo=_a[0],rs=_a[1],_o=_a[2],Bl=_a[3],Jl=_a[4],Pl=document.createElement("canvas"),Pl.width=Ca,Pl.height=Ro,Al=Pl.getContext("2d"),iu=Al.createLinearGradient(rs,Bl,_o,Jl),za(Mn.stops,qo).forEach(function(bu){return iu.addColorStop(bu.stop,Mi(bu.color))}),Al.fillStyle=iu,Al.fillRect(0,0,Ca,Ro),Ca>0&&Ro>0&&(Ho=Ht.ctx.createPattern(Pl,"repeat"),Ht.renderRepeat(oa,Ho,Ja,Ra))):Aa(Mn)&&(yc=uu(Te,ke,[null,null,null]),oa=yc[0],Qc=yc[1],Yc=yc[2],Ca=yc[3],Ro=yc[4],Zc=Mn.position.length===0?[Bn]:Mn.position,Ja=hn(Zc[0],Ca),Ra=hn(Zc[Zc.length-1],Ro),au=Gi(Mn,Ja,Ra,Ca,Ro),bc=au[0],Jc=au[1],bc>0&&Jc>0&&(ou=Ht.ctx.createRadialGradient(Qc+Ja,Yc+Ra,0,Qc+Ja,Yc+Ra,bc),za(Mn.stops,bc*2).forEach(function(bu){return ou.addColorStop(bu.stop,Mi(bu.color))}),Ht.path(oa),Ht.ctx.fillStyle=ou,bc!==Jc?(su=Te.bounds.left+.5*Te.bounds.width,Mc=Te.bounds.top+.5*Te.bounds.height,lu=Jc/bc,Fc=1/lu,Ht.ctx.save(),Ht.ctx.translate(su,Mc),Ht.ctx.transform(1,0,0,lu,0,0),Ht.ctx.translate(-su,-Mc),Ht.ctx.fillRect(Qc,Fc*(Yc-Mc)+Mc,Ca,Ro*Fc),Ht.ctx.restore()):Ht.ctx.fill())),hu.label=6;case 6:return ke--,[2]}})},Ht=this,dr=0,Er=Te.styles.backgroundImage.slice(0).reverse(),Yr.label=1;case 1:return dr<Er.length?(Mr=Er[dr],[5,at(Mr)]):[3,4];case 2:Yr.sent(),Yr.label=3;case 3:return dr++,[3,1];case 4:return[2]}})})},fe.prototype.renderSolidBorder=function(Te,ke,at){return g(this,void 0,void 0,function(){return v(this,function(Ht){return this.path(gu(at,ke)),this.ctx.fillStyle=Mi(Te),this.ctx.fill(),[2]})})},fe.prototype.renderDoubleBorder=function(Te,ke,at,Ht){return g(this,void 0,void 0,function(){var dr,Er;return v(this,function(Mr){switch(Mr.label){case 0:return ke<3?[4,this.renderSolidBorder(Te,at,Ht)]:[3,2];case 1:return Mr.sent(),[2];case 2:return dr=Tu(Ht,at),this.path(dr),this.ctx.fillStyle=Mi(Te),this.ctx.fill(),Er=nu(Ht,at),this.path(Er),this.ctx.fill(),[2]}})})},fe.prototype.renderNodeBackgroundAndBorders=function(Te){return g(this,void 0,void 0,function(){var ke,at,Ht,dr,Er,Mr,Yr,zn,Mn=this;return v(this,function(Jn){switch(Jn.label){case 0:return this.applyEffects(Te.getEffects(2)),ke=Te.container.styles,at=!_i(ke.backgroundColor)||ke.backgroundImage.length,Ht=[{style:ke.borderTopStyle,color:ke.borderTopColor,width:ke.borderTopWidth},{style:ke.borderRightStyle,color:ke.borderRightColor,width:ke.borderRightWidth},{style:ke.borderBottomStyle,color:ke.borderBottomColor,width:ke.borderBottomWidth},{style:ke.borderLeftStyle,color:ke.borderLeftColor,width:ke.borderLeftWidth}],dr=ku(du(ke.backgroundClip,0),Te.curves),at||ke.boxShadow.length?(this.ctx.save(),this.path(dr),this.ctx.clip(),_i(ke.backgroundColor)||(this.ctx.fillStyle=Mi(ke.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(Te.container)]):[3,2];case 1:Jn.sent(),this.ctx.restore(),ke.boxShadow.slice(0).reverse().forEach(function(Ki){Mn.ctx.save();var zi=ru(Te.curves),oa=Ki.inset?0:Ru,Ja=tu(zi,-oa+(Ki.inset?1:-1)*Ki.spread.number,(Ki.inset?1:-1)*Ki.spread.number,Ki.spread.number*(Ki.inset?-2:2),Ki.spread.number*(Ki.inset?-2:2));Ki.inset?(Mn.path(zi),Mn.ctx.clip(),Mn.mask(Ja)):(Mn.mask(zi),Mn.ctx.clip(),Mn.path(Ja)),Mn.ctx.shadowOffsetX=Ki.offsetX.number+oa,Mn.ctx.shadowOffsetY=Ki.offsetY.number,Mn.ctx.shadowColor=Mi(Ki.color),Mn.ctx.shadowBlur=Ki.blur.number,Mn.ctx.fillStyle=Ki.inset?Mi(Ki.color):"rgba(0,0,0,1)",Mn.ctx.fill(),Mn.ctx.restore()}),Jn.label=2;case 2:Er=0,Mr=0,Yr=Ht,Jn.label=3;case 3:return Mr<Yr.length?(zn=Yr[Mr],zn.style!==pa.NONE&&!_i(zn.color)&&zn.width>0?zn.style===pa.DASHED?[4,this.renderDashedDottedBorder(zn.color,zn.width,Er,Te.curves,pa.DASHED)]:[3,5]:[3,11]):[3,13];case 4:return Jn.sent(),[3,11];case 5:return zn.style===pa.DOTTED?[4,this.renderDashedDottedBorder(zn.color,zn.width,Er,Te.curves,pa.DOTTED)]:[3,7];case 6:return Jn.sent(),[3,11];case 7:return zn.style===pa.DOUBLE?[4,this.renderDoubleBorder(zn.color,zn.width,Er,Te.curves)]:[3,9];case 8:return Jn.sent(),[3,11];case 9:return[4,this.renderSolidBorder(zn.color,Er,Te.curves)];case 10:Jn.sent(),Jn.label=11;case 11:Er++,Jn.label=12;case 12:return Mr++,[3,3];case 13:return[2]}})})},fe.prototype.renderDashedDottedBorder=function(Te,ke,at,Ht,dr){return g(this,void 0,void 0,function(){var Er,Mr,Yr,zn,Mn,Jn,Ki,zi,oa,Ja,Ra,Ca,Ro,Ho,Eo,_a,Eo,_a;return v(this,function(qo){return this.ctx.save(),Er=Au(Ht,at),Mr=gu(Ht,at),dr===pa.DASHED&&(this.path(Mr),this.ctx.clip()),ts(Mr[0])?(Yr=Mr[0].start.x,zn=Mr[0].start.y):(Yr=Mr[0].x,zn=Mr[0].y),ts(Mr[1])?(Mn=Mr[1].end.x,Jn=Mr[1].end.y):(Mn=Mr[1].x,Jn=Mr[1].y),at===0||at===2?Ki=Math.abs(Yr-Mn):Ki=Math.abs(zn-Jn),this.ctx.beginPath(),dr===pa.DOTTED?this.formatPath(Er):this.formatPath(Mr.slice(0,2)),zi=ke<3?ke*3:ke*2,oa=ke<3?ke*2:ke,dr===pa.DOTTED&&(zi=ke,oa=ke),Ja=!0,Ki<=zi*2?Ja=!1:Ki<=zi*2+oa?(Ra=Ki/(2*zi+oa),zi*=Ra,oa*=Ra):(Ca=Math.floor((Ki+oa)/(zi+oa)),Ro=(Ki-Ca*zi)/(Ca-1),Ho=(Ki-(Ca+1)*zi)/Ca,oa=Ho<=0||Math.abs(oa-Ro)<Math.abs(oa-Ho)?Ro:Ho),Ja&&(dr===pa.DOTTED?this.ctx.setLineDash([0,zi+oa]):this.ctx.setLineDash([zi,oa])),dr===pa.DOTTED?(this.ctx.lineCap="round",this.ctx.lineWidth=ke):this.ctx.lineWidth=ke*2+1.1,this.ctx.strokeStyle=Mi(Te),this.ctx.stroke(),this.ctx.setLineDash([]),dr===pa.DASHED&&(ts(Mr[0])&&(Eo=Mr[3],_a=Mr[0],this.ctx.beginPath(),this.formatPath([new $i(Eo.end.x,Eo.end.y),new $i(_a.start.x,_a.start.y)]),this.ctx.stroke()),ts(Mr[1])&&(Eo=Mr[1],_a=Mr[2],this.ctx.beginPath(),this.formatPath([new $i(Eo.end.x,Eo.end.y),new $i(_a.start.x,_a.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},fe.prototype.render=function(Te){return g(this,void 0,void 0,function(){var ke;return v(this,function(at){switch(at.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Mi(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),ke=Cu(Te),[4,this.renderStack(ke)];case 1:return at.sent(),this.applyEffects([]),[2,this.canvas]}})})},fe}(Ou),Fu=function(fe){return fe instanceof Yl||fe instanceof gc?!0:fe instanceof ac&&fe.type!==mc&&fe.type!==Ql},ku=function(fe,Te){switch(fe){case ya.BORDER_BOX:return ru(Te);case ya.CONTENT_BOX:return xu(Te);case ya.PADDING_BOX:default:return Nc(Te)}},Bu=function(fe){switch(fe){case us.CENTER:return"center";case us.RIGHT:return"right";case us.LEFT:default:return"left"}},Pu=function(ct){A(fe,ct);function fe(Te,ke){var at=ct.call(this,Te,ke)||this;return at.canvas=ke.canvas?ke.canvas:document.createElement("canvas"),at.ctx=at.canvas.getContext("2d"),at.options=ke,at.canvas.width=Math.floor(ke.width*ke.scale),at.canvas.height=Math.floor(ke.height*ke.scale),at.canvas.style.width=ke.width+"px",at.canvas.style.height=ke.height+"px",at.ctx.scale(at.options.scale,at.options.scale),at.ctx.translate(-ke.x,-ke.y),at.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+ke.width+"x"+ke.height+" at "+ke.x+","+ke.y+") with scale "+ke.scale),at}return fe.prototype.render=function(Te){return g(this,void 0,void 0,function(){var ke,at;return v(this,function(Ht){switch(Ht.label){case 0:return ke=rc(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,Te),[4,Uu(ke)];case 1:return at=Ht.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Mi(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(at,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},fe}(Ou),Uu=function(fe){return new Promise(function(Te,ke){var at=new Image;at.onload=function(){Te(at)},at.onerror=ke,at.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(fe))})},ju=function(){function ct(fe){var Te=fe.id,ke=fe.enabled;this.id=Te,this.enabled=ke,this.start=Date.now()}return ct.prototype.debug=function(){for(var fe=[],Te=0;Te<arguments.length;Te++)fe[Te]=arguments[Te];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,f([this.id,this.getTime()+"ms"],fe)):this.info.apply(this,fe))},ct.prototype.getTime=function(){return Date.now()-this.start},ct.prototype.info=function(){for(var fe=[],Te=0;Te<arguments.length;Te++)fe[Te]=arguments[Te];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,f([this.id,this.getTime()+"ms"],fe)))},ct.prototype.warn=function(){for(var fe=[],Te=0;Te<arguments.length;Te++)fe[Te]=arguments[Te];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,f([this.id,this.getTime()+"ms"],fe)):this.info.apply(this,fe))},ct.prototype.error=function(){for(var fe=[],Te=0;Te<arguments.length;Te++)fe[Te]=arguments[Te];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,f([this.id,this.getTime()+"ms"],fe)):this.info.apply(this,fe))},ct.instances={},ct}(),Hu=function(){function ct(fe,Te){var ke;this.windowBounds=Te,this.instanceName="#"+ct.instanceCount++,this.logger=new ju({id:this.instanceName,enabled:fe.logging}),this.cache=(ke=fe.cache)!==null&&ke!==void 0?ke:new hl(this,fe)}return ct.instanceCount=1,ct}(),Ku=function(fe,Te){return Te===void 0&&(Te={}),zu(fe,Te)};typeof window!="undefined"&&ds.setContext(window);var zu=function(fe,Te){return g(void 0,void 0,void 0,function(){var ke,at,Ht,dr,Er,Mr,Yr,zn,Mn,Jn,Ki,zi,oa,Ja,Ra,Ca,Ro,Ho,Eo,_a,qo,rs,qo,_o,Bl,Jl,Pl,Al,iu,yc,Qc,Yc,Zc,au,bc,Jc,ou,su,Mc,lu;return v(this,function(Fc){switch(Fc.label){case 0:if(!fe||typeof fe!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(ke=fe.ownerDocument,!ke)throw new Error("Element is not attached to a Document");if(at=ke.defaultView,!at)throw new Error("Document is not attached to a Window");return Ht={allowTaint:(_o=Te.allowTaint)!==null&&_o!==void 0?_o:!1,imageTimeout:(Bl=Te.imageTimeout)!==null&&Bl!==void 0?Bl:15e3,proxy:Te.proxy,useCORS:(Jl=Te.useCORS)!==null&&Jl!==void 0?Jl:!1},dr=b({logging:(Pl=Te.logging)!==null&&Pl!==void 0?Pl:!0,cache:Te.cache},Ht),Er={windowWidth:(Al=Te.windowWidth)!==null&&Al!==void 0?Al:at.innerWidth,windowHeight:(iu=Te.windowHeight)!==null&&iu!==void 0?iu:at.innerHeight,scrollX:(yc=Te.scrollX)!==null&&yc!==void 0?yc:at.pageXOffset,scrollY:(Qc=Te.scrollY)!==null&&Qc!==void 0?Qc:at.pageYOffset},Mr=new l(Er.scrollX,Er.scrollY,Er.windowWidth,Er.windowHeight),Yr=new Hu(dr,Mr),zn=(Yc=Te.foreignObjectRendering)!==null&&Yc!==void 0?Yc:!1,Mn={allowTaint:(Zc=Te.allowTaint)!==null&&Zc!==void 0?Zc:!1,onclone:Te.onclone,ignoreElements:Te.ignoreElements,inlineImages:zn,copyStyles:zn},Yr.logger.debug("Starting document clone with size "+Mr.width+"x"+Mr.height+" scrolled to "+-Mr.left+","+-Mr.top),Jn=new Jr(Yr,fe,Mn),Ki=Jn.clonedReferenceElement,Ki?[4,Jn.toIFrame(ke,Mr)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return zi=Fc.sent(),oa=Mt(Ki)||_t(Ki)?o(Ki.ownerDocument):u(Yr,Ki),Ja=oa.width,Ra=oa.height,Ca=oa.left,Ro=oa.top,Ho=Wu(Yr,Ki,Te.backgroundColor),Eo={canvas:Te.canvas,backgroundColor:Ho,scale:(bc=(au=Te.scale)!==null&&au!==void 0?au:at.devicePixelRatio)!==null&&bc!==void 0?bc:1,x:((Jc=Te.x)!==null&&Jc!==void 0?Jc:0)+Ca,y:((ou=Te.y)!==null&&ou!==void 0?ou:0)+Ro,width:(su=Te.width)!==null&&su!==void 0?su:Math.ceil(Ja),height:(Mc=Te.height)!==null&&Mc!==void 0?Mc:Math.ceil(Ra)},zn?(Yr.logger.debug("Document cloned, using foreign object rendering"),qo=new Pu(Yr,Eo),[4,qo.render(Ki)]):[3,3];case 2:return _a=Fc.sent(),[3,5];case 3:return Yr.logger.debug("Document cloned, element located at "+Ca+","+Ro+" with size "+Ja+"x"+Ra+" using computed rendering"),Yr.logger.debug("Starting DOM parsing"),rs=He(Yr,Ki),Ho===rs.styles.backgroundColor&&(rs.styles.backgroundColor=ea.TRANSPARENT),Yr.logger.debug("Starting renderer for element at "+Eo.x+","+Eo.y+" with size "+Eo.width+"x"+Eo.height),qo=new Mu(Yr,Eo),[4,qo.render(rs)];case 4:_a=Fc.sent(),Fc.label=5;case 5:return((lu=Te.removeContainer)!==null&&lu!==void 0?lu:!0)&&(Jr.destroy(zi)||Yr.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),Yr.logger.debug("Finished rendering"),[2,_a]}})})},Wu=function(fe,Te,ke){var at=Te.ownerDocument,Ht=at.documentElement?xa(fe,getComputedStyle(at.documentElement).backgroundColor):ea.TRANSPARENT,dr=at.body?xa(fe,getComputedStyle(at.body).backgroundColor):ea.TRANSPARENT,Er=typeof ke=="string"?xa(fe,ke):ke===null?ea.TRANSPARENT:4294967295;return Te===at.documentElement?_i(Ht)?_i(dr)?Er:dr:Ht:Er};return Ku})},wPlo:function(k,B,d){"use strict";d.d(B,"a",function(){return w});var w="RC_SELECT_INTERNAL_PROPS_MARK"},wYyv:function(k,B,d){"use strict";var w=d("GmyR"),A=d("47nA"),b=function(f,l,u){var o=l<0?f.length+l:l;if(o>=0&&o<f.length){var e=u<0?f.length+u:u,n=f.splice(l,1),i=A(n,1),r=i[0];f.splice(e,0,r)}},g=function(f,l,u){return f=w(f),b(f,l,u),f};k.exports=g,k.exports.mutate=b},whVF:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=d("lNSK"),A=b(d("1q3G"));function b(u){return u&&u.__esModule?u:{default:u}}function g(u,o){if(!(u instanceof o))throw new TypeError("Cannot call a class as a function")}function v(u,o){for(var e=0;e<o.length;e++){var n=o[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,n.key,n)}}function f(u,o,e){return o&&v(u.prototype,o),e&&v(u,e),u}var l=function(){function u(){g(this,u),this.strm=new A.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,w.deflateInit)(this.strm,this.windowBits)}return f(u,[{key:"deflate",value:function(e){this.strm.input=e,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 n=(0,w.deflate)(this.strm,w.Z_FULL_FLUSH),i=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(n<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var r=[i],s=i.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,n=(0,w.deflate)(this.strm,w.Z_FULL_FLUSH),n<0)throw new Error("zlib deflate failed");var t=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);s+=t.length,r.push(t)}while(this.strm.avail_in>0);for(var a=new Uint8Array(s),c=0,h=0;h<r.length;h++)a.set(r[h],c),c+=r[h].length;i=a}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,i}}]),u}();B.default=l},wlus:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="MinusCircleOutlined";var l=B.a=A.forwardRef(f)},wr5s:function(k,B,d){var w=d("IwbS"),A=w.extendShape,b=A({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(g,v){var f=v.cx,l=v.cy,u=Math.max(v.r0||0,0),o=Math.max(v.r,0),e=(o-u)*.5,n=u+e,i=v.startAngle,r=v.endAngle,s=v.clockwise,t=Math.cos(i),a=Math.sin(i),c=Math.cos(r),h=Math.sin(r),p=s?r-i<Math.PI*2:i-r<Math.PI*2;p&&(g.moveTo(t*u+f,a*u+l),g.arc(t*n+f,a*n+l,e,-Math.PI+i,i,!s)),g.arc(f,l,o,i,r,!s),g.moveTo(c*o+f,h*o+l),g.arc(c*n+f,h*n+l,e,r-Math.PI*2,r-Math.PI,!s),u!==0&&(g.arc(f,l,u,r,i,s),g.moveTo(t*u+f,h*u+l)),g.closePath()}});k.exports=b},wt3j:function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("/IIm"),g=d("EMyp"),v=g.layoutCovers,f=w.extendComponentView({type:"brush",init:function(u,o){this.ecModel=u,this.api=o,this.model,(this._brushController=new b(o.getZr())).on("brush",A.bind(this._onBrush,this)).mount()},render:function(u){return this.model=u,l.apply(this,arguments)},updateTransform:function(u,o){return v(o),l.apply(this,arguments)},updateView:l,dispose:function(){this._brushController.dispose()},_onBrush:function(u,o){var e=this.model.id;this.model.brushTargetManager.setOutputRanges(u,this.ecModel),(!o.isEnd||o.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:A.clone(u),$from:e}),o.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:A.clone(u),$from:e})}});function l(u,o,e,n){(!n||n.$from!==u.id)&&this._brushController.setPanels(u.brushTargetManager.makePanelOpts(e)).enableBrush(u.brushOption).updateCovers(u.areas.slice())}k.exports=f},wy8a:function(k,B,d){var w=d("KxBF");function A(b,g,v){var f=b.length;return v=v===void 0?f:v,!g&&v>=f?b:w(b,g,v)}k.exports=A},x3X8:function(k,B,d){var w=d("KxfA"),A=w.retrieveRawValue;function b(g,v){var f=g.mapDimension("defaultedLabel",!0),l=f.length;if(l===1)return A(g,v,f[0]);if(l){for(var u=[],o=0;o<f.length;o++){var e=A(g,v,f[o]);u.push(e)}return u.join(" ")}}B.getDefaultLabel=b},x54q:function(k,B,d){},x6Kt:function(k,B,d){var w=d("y+Vt"),A=d("VpOo"),b=d("nPnh"),g=b.subPixelOptimizeRect,v={},f=w.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(u,o){var e,n,i,r;this.subPixelOptimize?(g(v,o,this.style),e=v.x,n=v.y,i=v.width,r=v.height,v.r=o.r,o=v):(e=o.x,n=o.y,i=o.width,r=o.height),o.r?A.buildPath(u,o):u.rect(e,n,i,r),u.closePath();return}});k.exports=f},xGfz:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="PlusSquareOutlined";var l=B.a=A.forwardRef(f)},xKMd:function(k,B){function d(A,b){this.getAllNames=function(){var g=b();return g.mapArray(g.getName)},this.containName=function(g){var v=b();return v.indexOfName(g)>=0},this.indexOfName=function(g){var v=A();return v.indexOfName(g)},this.getItemVisual=function(g,v){var f=A();return f.getItemVisual(g,v)}}var w=d;k.exports=w},xO64:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=A(d("8K/p"));function A(t){return t&&t.__esModule?t:{default:t}}function b(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(c){return typeof c}:b=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},b(t)}function g(t,a){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}function v(t,a){for(var c=0;c<a.length;c++){var h=a[c];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(t,h.key,h)}}function f(t,a,c){return a&&v(t.prototype,a),c&&v(t,c),t}function l(t,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(a&&a.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),a&&u(t,a)}function u(t,a){return u=Object.setPrototypeOf||function(h,p){return h.__proto__=p,h},u(t,a)}function o(t){var a=i();return function(){var h=r(t),p;if(a){var m=r(this).constructor;p=Reflect.construct(h,arguments,m)}else p=h.apply(this,arguments);return e(this,p)}}function e(t,a){return a&&(b(a)==="object"||typeof a=="function")?a:n(t)}function n(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},r(t)}var s=function(t){l(c,t);var a=o(c);function c(){return g(this,c),a.apply(this,arguments)}return f(c,[{key:"_pngRect",value:function(p,m,S,y,x,C,T){var _=this._readData(x);return _===null?!1:(C.imageRect(p,m,S,y,"image/png",_),!0)}},{key:"_basicRect",value:function(p,m,S,y,x,C,T,_){throw new Error("BasicCompression received in TightPNG rect")}}]),c}(w.default);B.default=s},xOOu:function(k,B,d){(function(w,A){var b,b;/*!
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(g){k.exports=g()}(function(){return function g(v,f,l){function u(n,i){if(!f[n]){if(!v[n]){var r=typeof b=="function"&&b;if(!i&&r)return b(n,!0);if(o)return o(n,!0);var s=new Error("Cannot find module '"+n+"'");throw s.code="MODULE_NOT_FOUND",s}var t=f[n]={exports:{}};v[n][0].call(t.exports,function(a){var c=v[n][1][a];return u(c||a)},t,t.exports,g,v,f,l)}return f[n].exports}for(var o=typeof b=="function"&&b,e=0;e<l.length;e++)u(l[e]);return u}({1:[function(g,v,f){"use strict";var l=g("./utils"),u=g("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";f.encode=function(e){for(var n,i,r,s,t,a,c,h=[],p=0,m=e.length,S=m,y=l.getTypeOf(e)!=="string";p<e.length;)S=m-p,r=y?(n=e[p++],i=p<m?e[p++]:0,p<m?e[p++]:0):(n=e.charCodeAt(p++),i=p<m?e.charCodeAt(p++):0,p<m?e.charCodeAt(p++):0),s=n>>2,t=(3&n)<<4|i>>4,a=1<S?(15&i)<<2|r>>6:64,c=2<S?63&r:64,h.push(o.charAt(s)+o.charAt(t)+o.charAt(a)+o.charAt(c));return h.join("")},f.decode=function(e){var n,i,r,s,t,a,c=0,h=0,p="data:";if(e.substr(0,p.length)===p)throw new Error("Invalid base64 input, it looks like a data url.");var m,S=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&S--,e.charAt(e.length-2)===o.charAt(64)&&S--,S%1!=0)throw new Error("Invalid base64 input, bad content length.");for(m=u.uint8array?new Uint8Array(0|S):new Array(0|S);c<e.length;)n=o.indexOf(e.charAt(c++))<<2|(s=o.indexOf(e.charAt(c++)))>>4,i=(15&s)<<4|(t=o.indexOf(e.charAt(c++)))>>2,r=(3&t)<<6|(a=o.indexOf(e.charAt(c++))),m[h++]=n,t!==64&&(m[h++]=i),a!==64&&(m[h++]=r);return m}},{"./support":30,"./utils":32}],2:[function(g,v,f){"use strict";var l=g("./external"),u=g("./stream/DataWorker"),o=g("./stream/Crc32Probe"),e=g("./stream/DataLengthProbe");function n(i,r,s,t,a){this.compressedSize=i,this.uncompressedSize=r,this.crc32=s,this.compression=t,this.compressedContent=a}n.prototype={getContentWorker:function(){var r=new u(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new e("data_length")),s=this;return r.on("end",function(){if(this.streamInfo.data_length!==s.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),r},getCompressedWorker:function(){return new u(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},n.createWorkerFrom=function(i,r,s){return i.pipe(new o).pipe(new e("uncompressedSize")).pipe(r.compressWorker(s)).pipe(new e("compressedSize")).withStreamInfo("compression",r)},v.exports=n},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(g,v,f){"use strict";var l=g("./stream/GenericWorker");f.STORE={magic:"\0\0",compressWorker:function(o){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},f.DEFLATE=g("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(g,v,f){"use strict";var l=g("./utils"),u=function(){for(var o,e=[],n=0;n<256;n++){o=n;for(var i=0;i<8;i++)o=1&o?3988292384^o>>>1:o>>>1;e[n]=o}return e}();v.exports=function(o,e){return o!==void 0&&o.length?l.getTypeOf(o)!=="string"?function(n,i,r,s){var t=u,a=s+r;n^=-1;for(var c=s;c<a;c++)n=n>>>8^t[255&(n^i[c])];return-1^n}(0|e,o,o.length,0):function(n,i,r,s){var t=u,a=s+r;n^=-1;for(var c=s;c<a;c++)n=n>>>8^t[255&(n^i.charCodeAt(c))];return-1^n}(0|e,o,o.length,0):0}},{"./utils":32}],5:[function(g,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(g,v,f){"use strict";var l=null;l=typeof Promise!="undefined"?Promise:g("lie"),v.exports={Promise:l}},{lie:37}],7:[function(g,v,f){"use strict";var l=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",u=g("pako"),o=g("./utils"),e=g("./stream/GenericWorker"),n=l?"uint8array":"array";function i(r,s){e.call(this,"FlateWorker/"+r),this._pako=null,this._pakoAction=r,this._pakoOptions=s,this.meta={}}f.magic="\b\0",o.inherits(i,e),i.prototype.processChunk=function(r){this.meta=r.meta,this._pako===null&&this._createPako(),this._pako.push(o.transformTo(n,r.data),!1)},i.prototype.flush=function(){e.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},i.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this._pako=null},i.prototype._createPako=function(){this._pako=new u[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var r=this;this._pako.onData=function(s){r.push({data:s,meta:r.meta})}},f.compressWorker=function(r){return new i("Deflate",r)},f.uncompressWorker=function(){return new i("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(g,v,f){"use strict";function l(t,a){var c,h="";for(c=0;c<a;c++)h+=String.fromCharCode(255&t),t>>>=8;return h}function u(t,a,c,h,p,m){var S,y,x=t.file,C=t.compression,T=m!==n.utf8encode,_=o.transformTo("string",m(x.name)),E=o.transformTo("string",n.utf8encode(x.name)),I=x.comment,L=o.transformTo("string",m(I)),D=o.transformTo("string",n.utf8encode(I)),F=E.length!==x.name.length,N=D.length!==I.length,P="",W="",R="",j=x.dir,H=x.date,K={crc32:0,compressedSize:0,uncompressedSize:0};a&&!c||(K.crc32=t.crc32,K.compressedSize=t.compressedSize,K.uncompressedSize=t.uncompressedSize);var U=0;a&&(U|=8),T||!F&&!N||(U|=2048);var G=0,z=0;j&&(G|=16),p==="UNIX"?(z=798,G|=function(q,oe){var ie=q;return q||(ie=oe?16893:33204),(65535&ie)<<16}(x.unixPermissions,j)):(z=20,G|=function(q){return 63&(q||0)}(x.dosPermissions)),S=H.getUTCHours(),S<<=6,S|=H.getUTCMinutes(),S<<=5,S|=H.getUTCSeconds()/2,y=H.getUTCFullYear()-1980,y<<=4,y|=H.getUTCMonth()+1,y<<=5,y|=H.getUTCDate(),F&&(W=l(1,1)+l(i(_),4)+E,P+="up"+l(W.length,2)+W),N&&(R=l(1,1)+l(i(L),4)+D,P+="uc"+l(R.length,2)+R);var Y="";return Y+=`
\0`,Y+=l(U,2),Y+=C.magic,Y+=l(S,2),Y+=l(y,2),Y+=l(K.crc32,4),Y+=l(K.compressedSize,4),Y+=l(K.uncompressedSize,4),Y+=l(_.length,2),Y+=l(P.length,2),{fileRecord:r.LOCAL_FILE_HEADER+Y+_+P,dirRecord:r.CENTRAL_FILE_HEADER+l(z,2)+Y+l(L.length,2)+"\0\0\0\0"+l(G,4)+l(h,4)+_+P+L}}var o=g("../utils"),e=g("../stream/GenericWorker"),n=g("../utf8"),i=g("../crc32"),r=g("../signature");function s(t,a,c,h){e.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=a,this.zipPlatform=c,this.encodeFileName=h,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(s,e),s.prototype.push=function(t){var a=t.meta.percent||0,c=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,e.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:c?(a+100*(c-h-1))/c:100}}))},s.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var a=this.streamFiles&&!t.file.dir;if(a){var c=u(t,a,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:c.fileRecord,meta:{percent:0}})}else this.accumulate=!0},s.prototype.closedSource=function(t){this.accumulate=!1;var a=this.streamFiles&&!t.file.dir,c=u(t,a,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(c.dirRecord),a)this.push({data:function(h){return r.DATA_DESCRIPTOR+l(h.crc32,4)+l(h.compressedSize,4)+l(h.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:c.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},s.prototype.flush=function(){for(var t=this.bytesWritten,a=0;a<this.dirRecords.length;a++)this.push({data:this.dirRecords[a],meta:{percent:100}});var c=this.bytesWritten-t,h=function(p,m,S,y,x){var C=o.transformTo("string",x(y));return r.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(p,2)+l(p,2)+l(m,4)+l(S,4)+l(C.length,2)+C}(this.dirRecords.length,c,t,this.zipComment,this.encodeFileName);this.push({data:h,meta:{percent:100}})},s.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},s.prototype.registerPrevious=function(t){this._sources.push(t);var a=this;return t.on("data",function(c){a.processChunk(c)}),t.on("end",function(){a.closedSource(a.previous.streamInfo),a._sources.length?a.prepareNextSource():a.end()}),t.on("error",function(c){a.error(c)}),this},s.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},s.prototype.error=function(t){var a=this._sources;if(!e.prototype.error.call(this,t))return!1;for(var c=0;c<a.length;c++)try{a[c].error(t)}catch(h){}return!0},s.prototype.lock=function(){e.prototype.lock.call(this);for(var t=this._sources,a=0;a<t.length;a++)t[a].lock()},v.exports=s},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(g,v,f){"use strict";var l=g("../compressions"),u=g("./ZipFileWorker");f.generateWorker=function(o,e,n){var i=new u(e.streamFiles,n,e.platform,e.encodeFileName),r=0;try{o.forEach(function(s,t){r++;var a=function(m,S){var y=m||S,x=l[y];if(!x)throw new Error(y+" is not a valid compression method !");return x}(t.options.compression,e.compression),c=t.options.compressionOptions||e.compressionOptions||{},h=t.dir,p=t.date;t._compressWorker(a,c).withStreamInfo("file",{name:s,dir:h,date:p,comment:t.comment||"",unixPermissions:t.unixPermissions,dosPermissions:t.dosPermissions}).pipe(i)}),i.entriesCount=r}catch(s){i.error(s)}return i}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(g,v,f){"use strict";function l(){if(!(this instanceof l))return new l;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 u=new l;for(var o in this)typeof this[o]!="function"&&(u[o]=this[o]);return u}}(l.prototype=g("./object")).loadAsync=g("./load"),l.support=g("./support"),l.defaults=g("./defaults"),l.version="3.7.1",l.loadAsync=function(u,o){return new l().loadAsync(u,o)},l.external=g("./external"),v.exports=l},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(g,v,f){"use strict";var l=g("./utils"),u=g("./external"),o=g("./utf8"),e=g("./zipEntries"),n=g("./stream/Crc32Probe"),i=g("./nodejsUtils");function r(s){return new u.Promise(function(t,a){var c=s.decompressed.getContentWorker().pipe(new n);c.on("error",function(h){a(h)}).on("end",function(){c.streamInfo.crc32!==s.decompressed.crc32?a(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}v.exports=function(s,t){var a=this;return t=l.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),i.isNode&&i.isStream(s)?u.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):l.prepareContent("the loaded zip file",s,!0,t.optimizedBinaryString,t.base64).then(function(c){var h=new e(t);return h.load(c),h}).then(function(c){var h=[u.Promise.resolve(c)],p=c.files;if(t.checkCRC32)for(var m=0;m<p.length;m++)h.push(r(p[m]));return u.Promise.all(h)}).then(function(c){for(var h=c.shift(),p=h.files,m=0;m<p.length;m++){var S=p[m];a.file(S.fileNameStr,S.decompressed,{binary:!0,optimizedBinaryString:!0,date:S.date,dir:S.dir,comment:S.fileCommentStr.length?S.fileCommentStr:null,unixPermissions:S.unixPermissions,dosPermissions:S.dosPermissions,createFolders:t.createFolders})}return h.zipComment.length&&(a.comment=h.zipComment),a})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(g,v,f){"use strict";var l=g("../utils"),u=g("../stream/GenericWorker");function o(e,n){u.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(n)}l.inherits(o,u),o.prototype._bindStream=function(e){var n=this;(this._stream=e).pause(),e.on("data",function(i){n.push({data:i,meta:{percent:0}})}).on("error",function(i){n.isPaused?this.generatedError=i:n.error(i)}).on("end",function(){n.isPaused?n._upstreamEnded=!0:n.end()})},o.prototype.pause=function(){return!!u.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},v.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(g,v,f){"use strict";var l=g("readable-stream").Readable;function u(o,e,n){l.call(this,e),this._helper=o;var i=this;o.on("data",function(r,s){i.push(r)||i._helper.pause(),n&&n(s)}).on("error",function(r){i.emit("error",r)}).on("end",function(){i.push(null)})}g("../utils").inherits(u,l),u.prototype._read=function(){this._helper.resume()},v.exports=u},{"../utils":32,"readable-stream":16}],14:[function(g,v,f){"use strict";v.exports={isNode:typeof w!="undefined",newBufferFrom:function(u,o){if(w.from&&w.from!==Uint8Array.from)return w.from(u,o);if(typeof u=="number")throw new Error('The "data" argument must not be a number');return new w(u,o)},allocBuffer:function(u){if(w.alloc)return w.alloc(u);var o=new w(u);return o.fill(0),o},isBuffer:function(u){return w.isBuffer(u)},isStream:function(u){return u&&typeof u.on=="function"&&typeof u.pause=="function"&&typeof u.resume=="function"}}},{}],15:[function(g,v,f){"use strict";function l(x,C,T){var _,E=o.getTypeOf(C),I=o.extend(T||{},i);I.date=I.date||new Date,I.compression!==null&&(I.compression=I.compression.toUpperCase()),typeof I.unixPermissions=="string"&&(I.unixPermissions=parseInt(I.unixPermissions,8)),I.unixPermissions&&16384&I.unixPermissions&&(I.dir=!0),I.dosPermissions&&16&I.dosPermissions&&(I.dir=!0),I.dir&&(x=p(x)),I.createFolders&&(_=h(x))&&m.call(this,_,!0);var L=E==="string"&&I.binary===!1&&I.base64===!1;T&&T.binary!==void 0||(I.binary=!L),(C instanceof r&&C.uncompressedSize===0||I.dir||!C||C.length===0)&&(I.base64=!1,I.binary=!0,C="",I.compression="STORE",E="string");var D=null;D=C instanceof r||C instanceof e?C:a.isNode&&a.isStream(C)?new c(x,C):o.prepareContent(x,C,I.binary,I.optimizedBinaryString,I.base64);var F=new s(x,D,I);this.files[x]=F}var u=g("./utf8"),o=g("./utils"),e=g("./stream/GenericWorker"),n=g("./stream/StreamHelper"),i=g("./defaults"),r=g("./compressedObject"),s=g("./zipObject"),t=g("./generate"),a=g("./nodejsUtils"),c=g("./nodejs/NodejsStreamInputAdapter"),h=function(C){C.slice(-1)==="/"&&(C=C.substring(0,C.length-1));var T=C.lastIndexOf("/");return 0<T?C.substring(0,T):""},p=function(C){return C.slice(-1)!=="/"&&(C+="/"),C},m=function(C,T){return T=T!==void 0?T:i.createFolders,C=p(C),this.files[C]||l.call(this,C,null,{dir:!0,createFolders:T}),this.files[C]};function S(x){return Object.prototype.toString.call(x)==="[object RegExp]"}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(C){var T,_,E;for(T in this.files)E=this.files[T],(_=T.slice(this.root.length,T.length))&&T.slice(0,this.root.length)===this.root&&C(_,E)},filter:function(C){var T=[];return this.forEach(function(_,E){C(_,E)&&T.push(E)}),T},file:function(C,T,_){if(arguments.length!==1)return C=this.root+C,l.call(this,C,T,_),this;if(S(C)){var E=C;return this.filter(function(L,D){return!D.dir&&E.test(L)})}var I=this.files[this.root+C];return I&&!I.dir?I:null},folder:function(C){if(!C)return this;if(S(C))return this.filter(function(I,L){return L.dir&&C.test(I)});var T=this.root+C,_=m.call(this,T),E=this.clone();return E.root=_.name,E},remove:function(C){C=this.root+C;var T=this.files[C];if(T||(C.slice(-1)!=="/"&&(C+="/"),T=this.files[C]),T&&!T.dir)delete this.files[C];else for(var _=this.filter(function(I,L){return L.name.slice(0,C.length)===C}),E=0;E<_.length;E++)delete this.files[_[E].name];return this},generate:function(C){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(C){var T,_={};try{if((_=o.extend(C||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:u.utf8encode})).type=_.type.toLowerCase(),_.compression=_.compression.toUpperCase(),_.type==="binarystring"&&(_.type="string"),!_.type)throw new Error("No output type specified.");o.checkSupport(_.type),_.platform!=="darwin"&&_.platform!=="freebsd"&&_.platform!=="linux"&&_.platform!=="sunos"||(_.platform="UNIX"),_.platform==="win32"&&(_.platform="DOS");var E=_.comment||this.comment||"";T=t.generateWorker(this,_,E)}catch(I){(T=new e("error")).error(I)}return new n(T,_.type||"string",_.mimeType)},generateAsync:function(C,T){return this.generateInternalStream(C).accumulate(T)},generateNodeStream:function(C,T){return(C=C||{}).type||(C.type="nodebuffer"),this.generateInternalStream(C).toNodejsStream(T)}};v.exports=y},{"./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(g,v,f){v.exports=g("stream")},{stream:void 0}],17:[function(g,v,f){"use strict";var l=g("./DataReader");function u(o){l.call(this,o);for(var e=0;e<this.data.length;e++)o[e]=255&o[e]}g("../utils").inherits(u,l),u.prototype.byteAt=function(o){return this.data[this.zero+o]},u.prototype.lastIndexOfSignature=function(o){for(var e=o.charCodeAt(0),n=o.charCodeAt(1),i=o.charCodeAt(2),r=o.charCodeAt(3),s=this.length-4;0<=s;--s)if(this.data[s]===e&&this.data[s+1]===n&&this.data[s+2]===i&&this.data[s+3]===r)return s-this.zero;return-1},u.prototype.readAndCheckSignature=function(o){var e=o.charCodeAt(0),n=o.charCodeAt(1),i=o.charCodeAt(2),r=o.charCodeAt(3),s=this.readData(4);return e===s[0]&&n===s[1]&&i===s[2]&&r===s[3]},u.prototype.readData=function(o){if(this.checkOffset(o),o===0)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,e},v.exports=u},{"../utils":32,"./DataReader":18}],18:[function(g,v,f){"use strict";var l=g("../utils");function u(o){this.data=o,this.length=o.length,this.index=0,this.zero=0}u.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var n,i=0;for(this.checkOffset(e),n=this.index+e-1;n>=this.index;n--)i=(i<<8)+this.byteAt(n);return this.index+=e,i},readString:function(e){return l.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},v.exports=u},{"../utils":32}],19:[function(g,v,f){"use strict";var l=g("./Uint8ArrayReader");function u(o){l.call(this,o)}g("../utils").inherits(u,l),u.prototype.readData=function(o){this.checkOffset(o);var e=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,e},v.exports=u},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(g,v,f){"use strict";var l=g("./DataReader");function u(o){l.call(this,o)}g("../utils").inherits(u,l),u.prototype.byteAt=function(o){return this.data.charCodeAt(this.zero+o)},u.prototype.lastIndexOfSignature=function(o){return this.data.lastIndexOf(o)-this.zero},u.prototype.readAndCheckSignature=function(o){return o===this.readData(4)},u.prototype.readData=function(o){this.checkOffset(o);var e=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,e},v.exports=u},{"../utils":32,"./DataReader":18}],21:[function(g,v,f){"use strict";var l=g("./ArrayReader");function u(o){l.call(this,o)}g("../utils").inherits(u,l),u.prototype.readData=function(o){if(this.checkOffset(o),o===0)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+o);return this.index+=o,e},v.exports=u},{"../utils":32,"./ArrayReader":17}],22:[function(g,v,f){"use strict";var l=g("../utils"),u=g("../support"),o=g("./ArrayReader"),e=g("./StringReader"),n=g("./NodeBufferReader"),i=g("./Uint8ArrayReader");v.exports=function(r){var s=l.getTypeOf(r);return l.checkSupport(s),s!=="string"||u.uint8array?s==="nodebuffer"?new n(r):u.uint8array?new i(l.transformTo("uint8array",r)):new o(l.transformTo("array",r)):new e(r)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(g,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(g,v,f){"use strict";var l=g("./GenericWorker"),u=g("../utils");function o(e){l.call(this,"ConvertWorker to "+e),this.destType=e}u.inherits(o,l),o.prototype.processChunk=function(e){this.push({data:u.transformTo(this.destType,e.data),meta:e.meta})},v.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(g,v,f){"use strict";var l=g("./GenericWorker"),u=g("../crc32");function o(){l.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}g("../utils").inherits(o,l),o.prototype.processChunk=function(e){this.streamInfo.crc32=u(e.data,this.streamInfo.crc32||0),this.push(e)},v.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(g,v,f){"use strict";var l=g("../utils"),u=g("./GenericWorker");function o(e){u.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}l.inherits(o,u),o.prototype.processChunk=function(e){if(e){var n=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=n+e.data.length}u.prototype.processChunk.call(this,e)},v.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(g,v,f){"use strict";var l=g("../utils"),u=g("./GenericWorker");function o(e){u.call(this,"DataWorker");var n=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(i){n.dataIsReady=!0,n.data=i,n.max=i&&i.length||0,n.type=l.getTypeOf(i),n.isPaused||n._tickAndRepeat()},function(i){n.error(i)})}l.inherits(o,u),o.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,l.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(l.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,n=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,n);break;case"uint8array":e=this.data.subarray(this.index,n);break;case"array":case"nodebuffer":e=this.data.slice(this.index,n)}return this.index=n,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},v.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(g,v,f){"use strict";function l(u){this.name=u||"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}l.prototype={push:function(o){this.emit("data",o)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(o){this.emit("error",o)}return!0},error:function(o){return!this.isFinished&&(this.isPaused?this.generatedError=o:(this.isFinished=!0,this.emit("error",o),this.previous&&this.previous.error(o),this.cleanUp()),!0)},on:function(o,e){return this._listeners[o].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(o,e){if(this._listeners[o])for(var n=0;n<this._listeners[o].length;n++)this._listeners[o][n].call(this,e)},pipe:function(o){return o.registerPrevious(this)},registerPrevious:function(o){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=o.streamInfo,this.mergeStreamInfo(),this.previous=o;var e=this;return o.on("data",function(n){e.processChunk(n)}),o.on("end",function(){e.end()}),o.on("error",function(n){e.error(n)}),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 o=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),o=!0),this.previous&&this.previous.resume(),!o},flush:function(){},processChunk:function(o){this.push(o)},withStreamInfo:function(o,e){return this.extraStreamInfo[o]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var o in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(o)&&(this.streamInfo[o]=this.extraStreamInfo[o])},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 o="Worker "+this.name;return this.previous?this.previous+" -> "+o:o}},v.exports=l},{}],29:[function(g,v,f){"use strict";var l=g("../utils"),u=g("./ConvertWorker"),o=g("./GenericWorker"),e=g("../base64"),n=g("../support"),i=g("../external"),r=null;if(n.nodestream)try{r=g("../nodejs/NodejsStreamOutputAdapter")}catch(a){}function s(a,c){return new i.Promise(function(h,p){var m=[],S=a._internalType,y=a._outputType,x=a._mimeType;a.on("data",function(C,T){m.push(C),c&&c(T)}).on("error",function(C){m=[],p(C)}).on("end",function(){try{var C=function(T,_,E){switch(T){case"blob":return l.newBlob(l.transformTo("arraybuffer",_),E);case"base64":return e.encode(_);default:return l.transformTo(T,_)}}(y,function(T,_){var E,I=0,L=null,D=0;for(E=0;E<_.length;E++)D+=_[E].length;switch(T){case"string":return _.join("");case"array":return Array.prototype.concat.apply([],_);case"uint8array":for(L=new Uint8Array(D),E=0;E<_.length;E++)L.set(_[E],I),I+=_[E].length;return L;case"nodebuffer":return w.concat(_);default:throw new Error("concat : unsupported type '"+T+"'")}}(S,m),x);h(C)}catch(T){p(T)}m=[]}).resume()})}function t(a,c,h){var p=c;switch(c){case"blob":case"arraybuffer":p="uint8array";break;case"base64":p="string"}try{this._internalType=p,this._outputType=c,this._mimeType=h,l.checkSupport(p),this._worker=a.pipe(new u(p)),a.lock()}catch(m){this._worker=new o("error"),this._worker.error(m)}}t.prototype={accumulate:function(c){return s(this,c)},on:function(c,h){var p=this;return c==="data"?this._worker.on(c,function(m){h.call(p,m.data,m.meta)}):this._worker.on(c,function(){l.delay(h,arguments,p)}),this},resume:function(){return l.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(c){if(l.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new r(this,{objectMode:this._outputType!=="nodebuffer"},c)}},v.exports=t},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(g,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 w!="undefined",f.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")f.blob=!1;else{var l=new ArrayBuffer(0);try{f.blob=new Blob([l],{type:"application/zip"}).size===0}catch(o){try{var u=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);u.append(l),f.blob=u.getBlob("application/zip").size===0}catch(e){f.blob=!1}}}try{f.nodestream=!!g("readable-stream").Readable}catch(o){f.nodestream=!1}},{"readable-stream":16}],31:[function(g,v,f){"use strict";for(var l=g("./utils"),u=g("./support"),o=g("./nodejsUtils"),e=g("./stream/GenericWorker"),n=new Array(256),i=0;i<256;i++)n[i]=252<=i?6:248<=i?5:240<=i?4:224<=i?3:192<=i?2:1;n[254]=n[254]=1;function r(){e.call(this,"utf-8 decode"),this.leftOver=null}function s(){e.call(this,"utf-8 encode")}f.utf8encode=function(t){return u.nodebuffer?o.newBufferFrom(t,"utf-8"):function(a){var c,h,p,m,S,y=a.length,x=0;for(m=0;m<y;m++)(64512&(h=a.charCodeAt(m)))==55296&&m+1<y&&(64512&(p=a.charCodeAt(m+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),m++),x+=h<128?1:h<2048?2:h<65536?3:4;for(c=u.uint8array?new Uint8Array(x):new Array(x),m=S=0;S<x;m++)(64512&(h=a.charCodeAt(m)))==55296&&m+1<y&&(64512&(p=a.charCodeAt(m+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),m++),h<128?c[S++]=h:(h<2048?c[S++]=192|h>>>6:(h<65536?c[S++]=224|h>>>12:(c[S++]=240|h>>>18,c[S++]=128|h>>>12&63),c[S++]=128|h>>>6&63),c[S++]=128|63&h);return c}(t)},f.utf8decode=function(t){return u.nodebuffer?l.transformTo("nodebuffer",t).toString("utf-8"):function(a){var c,h,p,m,S=a.length,y=new Array(2*S);for(c=h=0;c<S;)if((p=a[c++])<128)y[h++]=p;else if(4<(m=n[p]))y[h++]=65533,c+=m-1;else{for(p&=m===2?31:m===3?15:7;1<m&&c<S;)p=p<<6|63&a[c++],m--;1<m?y[h++]=65533:p<65536?y[h++]=p:(p-=65536,y[h++]=55296|p>>10&1023,y[h++]=56320|1023&p)}return y.length!==h&&(y.subarray?y=y.subarray(0,h):y.length=h),l.applyFromCharCode(y)}(t=l.transformTo(u.uint8array?"uint8array":"array",t))},l.inherits(r,e),r.prototype.processChunk=function(t){var a=l.transformTo(u.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(u.uint8array){var c=a;(a=new Uint8Array(c.length+this.leftOver.length)).set(this.leftOver,0),a.set(c,this.leftOver.length)}else a=this.leftOver.concat(a);this.leftOver=null}var h=function(m,S){var y;for((S=S||m.length)>m.length&&(S=m.length),y=S-1;0<=y&&(192&m[y])==128;)y--;return y<0||y===0?S:y+n[m[y]]>S?y:S}(a),p=a;h!==a.length&&(u.uint8array?(p=a.subarray(0,h),this.leftOver=a.subarray(h,a.length)):(p=a.slice(0,h),this.leftOver=a.slice(h,a.length))),this.push({data:f.utf8decode(p),meta:t.meta})},r.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:f.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},f.Utf8DecodeWorker=r,l.inherits(s,e),s.prototype.processChunk=function(t){this.push({data:f.utf8encode(t.data),meta:t.meta})},f.Utf8EncodeWorker=s},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(g,v,f){"use strict";var l=g("./support"),u=g("./base64"),o=g("./nodejsUtils"),e=g("set-immediate-shim"),n=g("./external");function i(h){return h}function r(h,p){for(var m=0;m<h.length;++m)p[m]=255&h.charCodeAt(m);return p}f.newBlob=function(h,p){f.checkSupport("blob");try{return new Blob([h],{type:p})}catch(S){try{var m=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return m.append(h),m.getBlob(p)}catch(y){throw new Error("Bug : can't construct the Blob.")}}};var s={stringifyByChunk:function(p,m,S){var y=[],x=0,C=p.length;if(C<=S)return String.fromCharCode.apply(null,p);for(;x<C;)m==="array"||m==="nodebuffer"?y.push(String.fromCharCode.apply(null,p.slice(x,Math.min(x+S,C)))):y.push(String.fromCharCode.apply(null,p.subarray(x,Math.min(x+S,C)))),x+=S;return y.join("")},stringifyByChar:function(p){for(var m="",S=0;S<p.length;S++)m+=String.fromCharCode(p[S]);return m},applyCanBeUsed:{uint8array:function(){try{return l.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(h){return!1}}(),nodebuffer:function(){try{return l.nodebuffer&&String.fromCharCode.apply(null,o.allocBuffer(1)).length===1}catch(h){return!1}}()}};function t(h){var p=65536,m=f.getTypeOf(h),S=!0;if(m==="uint8array"?S=s.applyCanBeUsed.uint8array:m==="nodebuffer"&&(S=s.applyCanBeUsed.nodebuffer),S)for(;1<p;)try{return s.stringifyByChunk(h,m,p)}catch(y){p=Math.floor(p/2)}return s.stringifyByChar(h)}function a(h,p){for(var m=0;m<h.length;m++)p[m]=h[m];return p}f.applyFromCharCode=t;var c={};c.string={string:i,array:function(p){return r(p,new Array(p.length))},arraybuffer:function(p){return c.string.uint8array(p).buffer},uint8array:function(p){return r(p,new Uint8Array(p.length))},nodebuffer:function(p){return r(p,o.allocBuffer(p.length))}},c.array={string:t,array:i,arraybuffer:function(p){return new Uint8Array(p).buffer},uint8array:function(p){return new Uint8Array(p)},nodebuffer:function(p){return o.newBufferFrom(p)}},c.arraybuffer={string:function(p){return t(new Uint8Array(p))},array:function(p){return a(new Uint8Array(p),new Array(p.byteLength))},arraybuffer:i,uint8array:function(p){return new Uint8Array(p)},nodebuffer:function(p){return o.newBufferFrom(new Uint8Array(p))}},c.uint8array={string:t,array:function(p){return a(p,new Array(p.length))},arraybuffer:function(p){return p.buffer},uint8array:i,nodebuffer:function(p){return o.newBufferFrom(p)}},c.nodebuffer={string:t,array:function(p){return a(p,new Array(p.length))},arraybuffer:function(p){return c.nodebuffer.uint8array(p).buffer},uint8array:function(p){return a(p,new Uint8Array(p.length))},nodebuffer:i},f.transformTo=function(h,p){if(p=p||"",!h)return p;f.checkSupport(h);var m=f.getTypeOf(p);return c[m][h](p)},f.getTypeOf=function(h){return typeof h=="string"?"string":Object.prototype.toString.call(h)==="[object Array]"?"array":l.nodebuffer&&o.isBuffer(h)?"nodebuffer":l.uint8array&&h instanceof Uint8Array?"uint8array":l.arraybuffer&&h instanceof ArrayBuffer?"arraybuffer":void 0},f.checkSupport=function(h){if(!l[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 p,m,S="";for(m=0;m<(h||"").length;m++)S+="\\x"+((p=h.charCodeAt(m))<16?"0":"")+p.toString(16).toUpperCase();return S},f.delay=function(h,p,m){e(function(){h.apply(m||null,p||[])})},f.inherits=function(h,p){function m(){}m.prototype=p.prototype,h.prototype=new m},f.extend=function(){var h,p,m={};for(h=0;h<arguments.length;h++)for(p in arguments[h])arguments[h].hasOwnProperty(p)&&m[p]===void 0&&(m[p]=arguments[h][p]);return m},f.prepareContent=function(h,p,m,S,y){return n.Promise.resolve(p).then(function(x){return l.blob&&(x instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(x))!==-1)&&typeof FileReader!="undefined"?new n.Promise(function(C,T){var _=new FileReader;_.onload=function(E){C(E.target.result)},_.onerror=function(E){T(E.target.error)},_.readAsArrayBuffer(x)}):x}).then(function(x){var C=f.getTypeOf(x);return C?(C==="arraybuffer"?x=f.transformTo("uint8array",x):C==="string"&&(y?x=u.decode(x):m&&S!==!0&&(x=function(T){return r(T,l.uint8array?new Uint8Array(T.length):new Array(T.length))}(x))),x):n.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(g,v,f){"use strict";var l=g("./reader/readerFor"),u=g("./utils"),o=g("./signature"),e=g("./zipEntry"),n=(g("./utf8"),g("./support"));function i(r){this.files=[],this.loadOptions=r}i.prototype={checkSignature:function(s){if(!this.reader.readAndCheckSignature(s)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+u.pretty(t)+", expected "+u.pretty(s)+")")}},isSignature:function(s,t){var a=this.reader.index;this.reader.setIndex(s);var c=this.reader.readString(4)===t;return this.reader.setIndex(a),c},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 s=this.reader.readData(this.zipCommentLength),t=n.uint8array?"uint8array":"array",a=u.transformTo(t,s);this.zipComment=this.loadOptions.decodeFileName(a)},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 s,t,a,c=this.zip64EndOfCentralSize-44;0<c;)s=this.reader.readInt(2),t=this.reader.readInt(4),a=this.reader.readData(t),this.zip64ExtensibleData[s]={id:s,length:t,value:a}},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 s,t;for(s=0;s<this.files.length;s++)t=this.files[s],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var s;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(s=new e({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(s);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 s=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(s<0)throw this.isSignature(0,o.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(s);var t=s;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===u.MAX_VALUE_16BITS||this.diskWithCentralDirStart===u.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===u.MAX_VALUE_16BITS||this.centralDirRecords===u.MAX_VALUE_16BITS||this.centralDirSize===u.MAX_VALUE_32BITS||this.centralDirOffset===u.MAX_VALUE_32BITS){if(this.zip64=!0,(s=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(s),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.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(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var a=this.centralDirOffset+this.centralDirSize;this.zip64&&(a+=20,a+=12+this.zip64EndOfCentralSize);var c=t-a;if(0<c)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=c);else if(c<0)throw new Error("Corrupted zip: missing "+Math.abs(c)+" bytes.")},prepareReader:function(s){this.reader=l(s)},load:function(s){this.prepareReader(s),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},v.exports=i},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(g,v,f){"use strict";var l=g("./reader/readerFor"),u=g("./utils"),o=g("./compressedObject"),e=g("./crc32"),n=g("./utf8"),i=g("./compressions"),r=g("./support");function s(t,a){this.options=t,this.loadOptions=a}s.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(a){var c,h;if(a.skip(22),this.fileNameLength=a.readInt(2),h=a.readInt(2),this.fileName=a.readData(this.fileNameLength),a.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((c=function(p){for(var m in i)if(i.hasOwnProperty(m)&&i[m].magic===p)return i[m];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+u.pretty(this.compressionMethod)+" unknown (inner file : "+u.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,c,a.readData(this.compressedSize))},readCentralPart:function(a){this.versionMadeBy=a.readInt(2),a.skip(2),this.bitFlag=a.readInt(2),this.compressionMethod=a.readString(2),this.date=a.readDate(),this.crc32=a.readInt(4),this.compressedSize=a.readInt(4),this.uncompressedSize=a.readInt(4);var c=a.readInt(2);if(this.extraFieldsLength=a.readInt(2),this.fileCommentLength=a.readInt(2),this.diskNumberStart=a.readInt(2),this.internalFileAttributes=a.readInt(2),this.externalFileAttributes=a.readInt(4),this.localHeaderOffset=a.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");a.skip(c),this.readExtraFields(a),this.parseZIP64ExtraField(a),this.fileComment=a.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var a=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),a==0&&(this.dosPermissions=63&this.externalFileAttributes),a==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(a){if(this.extraFields[1]){var c=l(this.extraFields[1].value);this.uncompressedSize===u.MAX_VALUE_32BITS&&(this.uncompressedSize=c.readInt(8)),this.compressedSize===u.MAX_VALUE_32BITS&&(this.compressedSize=c.readInt(8)),this.localHeaderOffset===u.MAX_VALUE_32BITS&&(this.localHeaderOffset=c.readInt(8)),this.diskNumberStart===u.MAX_VALUE_32BITS&&(this.diskNumberStart=c.readInt(4))}},readExtraFields:function(a){var c,h,p,m=a.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});a.index+4<m;)c=a.readInt(2),h=a.readInt(2),p=a.readData(h),this.extraFields[c]={id:c,length:h,value:p};a.setIndex(m)},handleUTF8:function(){var a=r.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=n.utf8decode(this.fileName),this.fileCommentStr=n.utf8decode(this.fileComment);else{var c=this.findExtraFieldUnicodePath();if(c!==null)this.fileNameStr=c;else{var h=u.transformTo(a,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(h)}var p=this.findExtraFieldUnicodeComment();if(p!==null)this.fileCommentStr=p;else{var m=u.transformTo(a,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(m)}}},findExtraFieldUnicodePath:function(){var a=this.extraFields[28789];if(a){var c=l(a.value);return c.readInt(1)!==1||e(this.fileName)!==c.readInt(4)?null:n.utf8decode(c.readData(a.length-5))}return null},findExtraFieldUnicodeComment:function(){var a=this.extraFields[25461];if(a){var c=l(a.value);return c.readInt(1)!==1||e(this.fileComment)!==c.readInt(4)?null:n.utf8decode(c.readData(a.length-5))}return null}},v.exports=s},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(g,v,f){"use strict";function l(a,c,h){this.name=a,this.dir=h.dir,this.date=h.date,this.comment=h.comment,this.unixPermissions=h.unixPermissions,this.dosPermissions=h.dosPermissions,this._data=c,this._dataBinary=h.binary,this.options={compression:h.compression,compressionOptions:h.compressionOptions}}var u=g("./stream/StreamHelper"),o=g("./stream/DataWorker"),e=g("./utf8"),n=g("./compressedObject"),i=g("./stream/GenericWorker");l.prototype={internalStream:function(c){var h=null,p="string";try{if(!c)throw new Error("No output type specified.");var m=(p=c.toLowerCase())==="string"||p==="text";p!=="binarystring"&&p!=="text"||(p="string"),h=this._decompressWorker();var S=!this._dataBinary;S&&!m&&(h=h.pipe(new e.Utf8EncodeWorker)),!S&&m&&(h=h.pipe(new e.Utf8DecodeWorker))}catch(y){(h=new i("error")).error(y)}return new u(h,p,"")},async:function(c,h){return this.internalStream(c).accumulate(h)},nodeStream:function(c,h){return this.internalStream(c||"nodebuffer").toNodejsStream(h)},_compressWorker:function(c,h){if(this._data instanceof n&&this._data.compression.magic===c.magic)return this._data.getCompressedWorker();var p=this._decompressWorker();return this._dataBinary||(p=p.pipe(new e.Utf8EncodeWorker)),n.createWorkerFrom(p,c,h)},_decompressWorker:function(){return this._data instanceof n?this._data.getContentWorker():this._data instanceof i?this._data:new o(this._data)}};for(var r=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],s=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},t=0;t<r.length;t++)l.prototype[r[t]]=s;v.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(g,v,f){(function(l){"use strict";var u,o,e=l.MutationObserver||l.WebKitMutationObserver;if(e){var n=0,i=new e(a),r=l.document.createTextNode("");i.observe(r,{characterData:!0}),u=function(){r.data=n=++n%2}}else if(l.setImmediate||l.MessageChannel===void 0)u="document"in l&&"onreadystatechange"in l.document.createElement("script")?function(){var c=l.document.createElement("script");c.onreadystatechange=function(){a(),c.onreadystatechange=null,c.parentNode.removeChild(c),c=null},l.document.documentElement.appendChild(c)}:function(){setTimeout(a,0)};else{var s=new l.MessageChannel;s.port1.onmessage=a,u=function(){s.port2.postMessage(0)}}var t=[];function a(){var c,h;o=!0;for(var p=t.length;p;){for(h=t,t=[],c=-1;++c<p;)h[c]();p=t.length}o=!1}v.exports=function(c){t.push(c)!==1||o||u()}}).call(this,typeof A!="undefined"?A:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(g,v,f){"use strict";var l=g("immediate");function u(){}var o={},e=["REJECTED"],n=["FULFILLED"],i=["PENDING"];function r(p){if(typeof p!="function")throw new TypeError("resolver must be a function");this.state=i,this.queue=[],this.outcome=void 0,p!==u&&c(this,p)}function s(p,m,S){this.promise=p,typeof m=="function"&&(this.onFulfilled=m,this.callFulfilled=this.otherCallFulfilled),typeof S=="function"&&(this.onRejected=S,this.callRejected=this.otherCallRejected)}function t(p,m,S){l(function(){var y;try{y=m(S)}catch(x){return o.reject(p,x)}y===p?o.reject(p,new TypeError("Cannot resolve promise with itself")):o.resolve(p,y)})}function a(p){var m=p&&p.then;if(p&&(typeof p=="object"||typeof p=="function")&&typeof m=="function")return function(){m.apply(p,arguments)}}function c(p,m){var S=!1;function y(T){S||(S=!0,o.reject(p,T))}function x(T){S||(S=!0,o.resolve(p,T))}var C=h(function(){m(x,y)});C.status==="error"&&y(C.value)}function h(p,m){var S={};try{S.value=p(m),S.status="success"}catch(y){S.status="error",S.value=y}return S}(v.exports=r).prototype.finally=function(p){if(typeof p!="function")return this;var m=this.constructor;return this.then(function(S){return m.resolve(p()).then(function(){return S})},function(S){return m.resolve(p()).then(function(){throw S})})},r.prototype.catch=function(p){return this.then(null,p)},r.prototype.then=function(p,m){if(typeof p!="function"&&this.state===n||typeof m!="function"&&this.state===e)return this;var S=new this.constructor(u);return this.state!==i?t(S,this.state===n?p:m,this.outcome):this.queue.push(new s(S,p,m)),S},s.prototype.callFulfilled=function(p){o.resolve(this.promise,p)},s.prototype.otherCallFulfilled=function(p){t(this.promise,this.onFulfilled,p)},s.prototype.callRejected=function(p){o.reject(this.promise,p)},s.prototype.otherCallRejected=function(p){t(this.promise,this.onRejected,p)},o.resolve=function(p,m){var S=h(a,m);if(S.status==="error")return o.reject(p,S.value);var y=S.value;if(y)c(p,y);else{p.state=n,p.outcome=m;for(var x=-1,C=p.queue.length;++x<C;)p.queue[x].callFulfilled(m)}return p},o.reject=function(p,m){p.state=e,p.outcome=m;for(var S=-1,y=p.queue.length;++S<y;)p.queue[S].callRejected(m);return p},r.resolve=function(p){return p instanceof this?p:o.resolve(new this(u),p)},r.reject=function(p){var m=new this(u);return o.reject(m,p)},r.all=function(p){var m=this;if(Object.prototype.toString.call(p)!=="[object Array]")return this.reject(new TypeError("must be an array"));var S=p.length,y=!1;if(!S)return this.resolve([]);for(var x=new Array(S),C=0,T=-1,_=new this(u);++T<S;)E(p[T],T);return _;function E(I,L){m.resolve(I).then(function(D){x[L]=D,++C!==S||y||(y=!0,o.resolve(_,x))},function(D){y||(y=!0,o.reject(_,D))})}},r.race=function(p){var m=this;if(Object.prototype.toString.call(p)!=="[object Array]")return this.reject(new TypeError("must be an array"));var S=p.length,y=!1;if(!S)return this.resolve([]);for(var x=-1,C=new this(u);++x<S;)T=p[x],m.resolve(T).then(function(_){y||(y=!0,o.resolve(C,_))},function(_){y||(y=!0,o.reject(C,_))});var T;return C}},{immediate:36}],38:[function(g,v,f){"use strict";var l={};(0,g("./lib/utils/common").assign)(l,g("./lib/deflate"),g("./lib/inflate"),g("./lib/zlib/constants")),v.exports=l},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(g,v,f){"use strict";var l=g("./zlib/deflate"),u=g("./utils/common"),o=g("./utils/strings"),e=g("./zlib/messages"),n=g("./zlib/zstream"),i=Object.prototype.toString,r=0,s=-1,t=0,a=8;function c(p){if(!(this instanceof c))return new c(p);this.options=u.assign({level:s,method:a,chunkSize:16384,windowBits:15,memLevel:8,strategy:t,to:""},p||{});var m=this.options;m.raw&&0<m.windowBits?m.windowBits=-m.windowBits:m.gzip&&0<m.windowBits&&m.windowBits<16&&(m.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new n,this.strm.avail_out=0;var S=l.deflateInit2(this.strm,m.level,m.method,m.windowBits,m.memLevel,m.strategy);if(S!==r)throw new Error(e[S]);if(m.header&&l.deflateSetHeader(this.strm,m.header),m.dictionary){var y;if(y=typeof m.dictionary=="string"?o.string2buf(m.dictionary):i.call(m.dictionary)==="[object ArrayBuffer]"?new Uint8Array(m.dictionary):m.dictionary,(S=l.deflateSetDictionary(this.strm,y))!==r)throw new Error(e[S]);this._dict_set=!0}}function h(p,m){var S=new c(m);if(S.push(p,!0),S.err)throw S.msg||e[S.err];return S.result}c.prototype.push=function(p,m){var S,y,x=this.strm,C=this.options.chunkSize;if(this.ended)return!1;y=m===~~m?m:m===!0?4:0,typeof p=="string"?x.input=o.string2buf(p):i.call(p)==="[object ArrayBuffer]"?x.input=new Uint8Array(p):x.input=p,x.next_in=0,x.avail_in=x.input.length;do{if(x.avail_out===0&&(x.output=new u.Buf8(C),x.next_out=0,x.avail_out=C),(S=l.deflate(x,y))!==1&&S!==r)return this.onEnd(S),!(this.ended=!0);x.avail_out!==0&&(x.avail_in!==0||y!==4&&y!==2)||(this.options.to==="string"?this.onData(o.buf2binstring(u.shrinkBuf(x.output,x.next_out))):this.onData(u.shrinkBuf(x.output,x.next_out)))}while((0<x.avail_in||x.avail_out===0)&&S!==1);return y===4?(S=l.deflateEnd(this.strm),this.onEnd(S),this.ended=!0,S===r):y!==2||(this.onEnd(r),!(x.avail_out=0))},c.prototype.onData=function(p){this.chunks.push(p)},c.prototype.onEnd=function(p){p===r&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=p,this.msg=this.strm.msg},f.Deflate=c,f.deflate=h,f.deflateRaw=function(p,m){return(m=m||{}).raw=!0,h(p,m)},f.gzip=function(p,m){return(m=m||{}).gzip=!0,h(p,m)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(g,v,f){"use strict";var l=g("./zlib/inflate"),u=g("./utils/common"),o=g("./utils/strings"),e=g("./zlib/constants"),n=g("./zlib/messages"),i=g("./zlib/zstream"),r=g("./zlib/gzheader"),s=Object.prototype.toString;function t(c){if(!(this instanceof t))return new t(c);this.options=u.assign({chunkSize:16384,windowBits:0,to:""},c||{});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)||c&&c.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 i,this.strm.avail_out=0;var p=l.inflateInit2(this.strm,h.windowBits);if(p!==e.Z_OK)throw new Error(n[p]);this.header=new r,l.inflateGetHeader(this.strm,this.header)}function a(c,h){var p=new t(h);if(p.push(c,!0),p.err)throw p.msg||n[p.err];return p.result}t.prototype.push=function(c,h){var p,m,S,y,x,C,T=this.strm,_=this.options.chunkSize,E=this.options.dictionary,I=!1;if(this.ended)return!1;m=h===~~h?h:h===!0?e.Z_FINISH:e.Z_NO_FLUSH,typeof c=="string"?T.input=o.binstring2buf(c):s.call(c)==="[object ArrayBuffer]"?T.input=new Uint8Array(c):T.input=c,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new u.Buf8(_),T.next_out=0,T.avail_out=_),(p=l.inflate(T,e.Z_NO_FLUSH))===e.Z_NEED_DICT&&E&&(C=typeof E=="string"?o.string2buf(E):s.call(E)==="[object ArrayBuffer]"?new Uint8Array(E):E,p=l.inflateSetDictionary(this.strm,C)),p===e.Z_BUF_ERROR&&I===!0&&(p=e.Z_OK,I=!1),p!==e.Z_STREAM_END&&p!==e.Z_OK)return this.onEnd(p),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&p!==e.Z_STREAM_END&&(T.avail_in!==0||m!==e.Z_FINISH&&m!==e.Z_SYNC_FLUSH)||(this.options.to==="string"?(S=o.utf8border(T.output,T.next_out),y=T.next_out-S,x=o.buf2string(T.output,S),T.next_out=y,T.avail_out=_-y,y&&u.arraySet(T.output,T.output,S,y,0),this.onData(x)):this.onData(u.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(I=!0)}while((0<T.avail_in||T.avail_out===0)&&p!==e.Z_STREAM_END);return p===e.Z_STREAM_END&&(m=e.Z_FINISH),m===e.Z_FINISH?(p=l.inflateEnd(this.strm),this.onEnd(p),this.ended=!0,p===e.Z_OK):m!==e.Z_SYNC_FLUSH||(this.onEnd(e.Z_OK),!(T.avail_out=0))},t.prototype.onData=function(c){this.chunks.push(c)},t.prototype.onEnd=function(c){c===e.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=c,this.msg=this.strm.msg},f.Inflate=t,f.inflate=a,f.inflateRaw=function(c,h){return(h=h||{}).raw=!0,a(c,h)},f.ungzip=a},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(g,v,f){"use strict";var l=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";f.assign=function(e){for(var n=Array.prototype.slice.call(arguments,1);n.length;){var i=n.shift();if(i){if(typeof i!="object")throw new TypeError(i+"must be non-object");for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}}return e},f.shrinkBuf=function(e,n){return e.length===n?e:e.subarray?e.subarray(0,n):(e.length=n,e)};var u={arraySet:function(n,i,r,s,t){if(i.subarray&&n.subarray)n.set(i.subarray(r,r+s),t);else for(var a=0;a<s;a++)n[t+a]=i[r+a]},flattenChunks:function(n){var i,r,s,t,a,c;for(i=s=0,r=n.length;i<r;i++)s+=n[i].length;for(c=new Uint8Array(s),i=t=0,r=n.length;i<r;i++)a=n[i],c.set(a,t),t+=a.length;return c}},o={arraySet:function(n,i,r,s,t){for(var a=0;a<s;a++)n[t+a]=i[r+a]},flattenChunks:function(n){return[].concat.apply([],n)}};f.setTyped=function(e){e?(f.Buf8=Uint8Array,f.Buf16=Uint16Array,f.Buf32=Int32Array,f.assign(f,u)):(f.Buf8=Array,f.Buf16=Array,f.Buf32=Array,f.assign(f,o))},f.setTyped(l)},{}],42:[function(g,v,f){"use strict";var l=g("./common"),u=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(r){u=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(r){o=!1}for(var e=new l.Buf8(256),n=0;n<256;n++)e[n]=252<=n?6:248<=n?5:240<=n?4:224<=n?3:192<=n?2:1;function i(r,s){if(s<65537&&(r.subarray&&o||!r.subarray&&u))return String.fromCharCode.apply(null,l.shrinkBuf(r,s));for(var t="",a=0;a<s;a++)t+=String.fromCharCode(r[a]);return t}e[254]=e[254]=1,f.string2buf=function(r){var s,t,a,c,h,p=r.length,m=0;for(c=0;c<p;c++)(64512&(t=r.charCodeAt(c)))==55296&&c+1<p&&(64512&(a=r.charCodeAt(c+1)))==56320&&(t=65536+(t-55296<<10)+(a-56320),c++),m+=t<128?1:t<2048?2:t<65536?3:4;for(s=new l.Buf8(m),c=h=0;h<m;c++)(64512&(t=r.charCodeAt(c)))==55296&&c+1<p&&(64512&(a=r.charCodeAt(c+1)))==56320&&(t=65536+(t-55296<<10)+(a-56320),c++),t<128?s[h++]=t:(t<2048?s[h++]=192|t>>>6:(t<65536?s[h++]=224|t>>>12:(s[h++]=240|t>>>18,s[h++]=128|t>>>12&63),s[h++]=128|t>>>6&63),s[h++]=128|63&t);return s},f.buf2binstring=function(r){return i(r,r.length)},f.binstring2buf=function(r){for(var s=new l.Buf8(r.length),t=0,a=s.length;t<a;t++)s[t]=r.charCodeAt(t);return s},f.buf2string=function(r,s){var t,a,c,h,p=s||r.length,m=new Array(2*p);for(t=a=0;t<p;)if((c=r[t++])<128)m[a++]=c;else if(4<(h=e[c]))m[a++]=65533,t+=h-1;else{for(c&=h===2?31:h===3?15:7;1<h&&t<p;)c=c<<6|63&r[t++],h--;1<h?m[a++]=65533:c<65536?m[a++]=c:(c-=65536,m[a++]=55296|c>>10&1023,m[a++]=56320|1023&c)}return i(m,a)},f.utf8border=function(r,s){var t;for((s=s||r.length)>r.length&&(s=r.length),t=s-1;0<=t&&(192&r[t])==128;)t--;return t<0||t===0?s:t+e[r[t]]>s?t:s}},{"./common":41}],43:[function(g,v,f){"use strict";v.exports=function(l,u,o,e){for(var n=65535&l|0,i=l>>>16&65535|0,r=0;o!==0;){for(o-=r=2e3<o?2e3:o;i=i+(n=n+u[e++]|0)|0,--r;);n%=65521,i%=65521}return n|i<<16|0}},{}],44:[function(g,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(g,v,f){"use strict";var l=function(){for(var u,o=[],e=0;e<256;e++){u=e;for(var n=0;n<8;n++)u=1&u?3988292384^u>>>1:u>>>1;o[e]=u}return o}();v.exports=function(u,o,e,n){var i=l,r=n+e;u^=-1;for(var s=n;s<r;s++)u=u>>>8^i[255&(u^o[s])];return-1^u}},{}],46:[function(g,v,f){"use strict";var l,u=g("../utils/common"),o=g("./trees"),e=g("./adler32"),n=g("./crc32"),i=g("./messages"),r=0,s=4,t=0,a=-2,c=-1,h=4,p=2,m=8,S=9,y=286,x=30,C=19,T=2*y+1,_=15,E=3,I=258,L=I+E+1,D=42,F=113,N=1,P=2,W=3,R=4;function j(J,Ee){return J.msg=i[Ee],Ee}function H(J){return(J<<1)-(4<J?9:0)}function K(J){for(var Ee=J.length;0<=--Ee;)J[Ee]=0}function U(J){var Ee=J.state,qe=Ee.pending;qe>J.avail_out&&(qe=J.avail_out),qe!==0&&(u.arraySet(J.output,Ee.pending_buf,Ee.pending_out,qe,J.next_out),J.next_out+=qe,Ee.pending_out+=qe,J.total_out+=qe,J.avail_out-=qe,Ee.pending-=qe,Ee.pending===0&&(Ee.pending_out=0))}function G(J,Ee){o._tr_flush_block(J,0<=J.block_start?J.block_start:-1,J.strstart-J.block_start,Ee),J.block_start=J.strstart,U(J.strm)}function z(J,Ee){J.pending_buf[J.pending++]=Ee}function Y(J,Ee){J.pending_buf[J.pending++]=Ee>>>8&255,J.pending_buf[J.pending++]=255&Ee}function q(J,Ee){var qe,ae,V=J.max_chain_length,X=J.strstart,Z=J.prev_length,ge=J.nice_match,le=J.strstart>J.w_size-L?J.strstart-(J.w_size-L):0,Se=J.window,me=J.w_mask,$=J.prev,we=J.strstart+I,xe=Se[X+Z-1],We=Se[X+Z];J.prev_length>=J.good_match&&(V>>=2),ge>J.lookahead&&(ge=J.lookahead);do if(Se[(qe=Ee)+Z]===We&&Se[qe+Z-1]===xe&&Se[qe]===Se[X]&&Se[++qe]===Se[X+1]){X+=2,qe++;do;while(Se[++X]===Se[++qe]&&Se[++X]===Se[++qe]&&Se[++X]===Se[++qe]&&Se[++X]===Se[++qe]&&Se[++X]===Se[++qe]&&Se[++X]===Se[++qe]&&Se[++X]===Se[++qe]&&Se[++X]===Se[++qe]&&X<we);if(ae=I-(we-X),X=we-I,Z<ae){if(J.match_start=Ee,ge<=(Z=ae))break;xe=Se[X+Z-1],We=Se[X+Z]}}while((Ee=$[Ee&me])>le&&--V!=0);return Z<=J.lookahead?Z:J.lookahead}function oe(J){var Ee,qe,ae,V,X,Z,ge,le,Se,me,$=J.w_size;do{if(V=J.window_size-J.lookahead-J.strstart,J.strstart>=$+($-L)){for(u.arraySet(J.window,J.window,$,$,0),J.match_start-=$,J.strstart-=$,J.block_start-=$,Ee=qe=J.hash_size;ae=J.head[--Ee],J.head[Ee]=$<=ae?ae-$:0,--qe;);for(Ee=qe=$;ae=J.prev[--Ee],J.prev[Ee]=$<=ae?ae-$:0,--qe;);V+=$}if(J.strm.avail_in===0)break;if(Z=J.strm,ge=J.window,le=J.strstart+J.lookahead,Se=V,me=void 0,me=Z.avail_in,Se<me&&(me=Se),qe=me===0?0:(Z.avail_in-=me,u.arraySet(ge,Z.input,Z.next_in,me,le),Z.state.wrap===1?Z.adler=e(Z.adler,ge,me,le):Z.state.wrap===2&&(Z.adler=n(Z.adler,ge,me,le)),Z.next_in+=me,Z.total_in+=me,me),J.lookahead+=qe,J.lookahead+J.insert>=E)for(X=J.strstart-J.insert,J.ins_h=J.window[X],J.ins_h=(J.ins_h<<J.hash_shift^J.window[X+1])&J.hash_mask;J.insert&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[X+E-1])&J.hash_mask,J.prev[X&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=X,X++,J.insert--,!(J.lookahead+J.insert<E)););}while(J.lookahead<L&&J.strm.avail_in!==0)}function ie(J,Ee){for(var qe,ae;;){if(J.lookahead<L){if(oe(J),J.lookahead<L&&Ee===r)return N;if(J.lookahead===0)break}if(qe=0,J.lookahead>=E&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+E-1])&J.hash_mask,qe=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart),qe!==0&&J.strstart-qe<=J.w_size-L&&(J.match_length=q(J,qe)),J.match_length>=E)if(ae=o._tr_tally(J,J.strstart-J.match_start,J.match_length-E),J.lookahead-=J.match_length,J.match_length<=J.max_lazy_match&&J.lookahead>=E){for(J.match_length--;J.strstart++,J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+E-1])&J.hash_mask,qe=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart,--J.match_length!=0;);J.strstart++}else J.strstart+=J.match_length,J.match_length=0,J.ins_h=J.window[J.strstart],J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+1])&J.hash_mask;else ae=o._tr_tally(J,0,J.window[J.strstart]),J.lookahead--,J.strstart++;if(ae&&(G(J,!1),J.strm.avail_out===0))return N}return J.insert=J.strstart<E-1?J.strstart:E-1,Ee===s?(G(J,!0),J.strm.avail_out===0?W:R):J.last_lit&&(G(J,!1),J.strm.avail_out===0)?N:P}function se(J,Ee){for(var qe,ae,V;;){if(J.lookahead<L){if(oe(J),J.lookahead<L&&Ee===r)return N;if(J.lookahead===0)break}if(qe=0,J.lookahead>=E&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+E-1])&J.hash_mask,qe=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart),J.prev_length=J.match_length,J.prev_match=J.match_start,J.match_length=E-1,qe!==0&&J.prev_length<J.max_lazy_match&&J.strstart-qe<=J.w_size-L&&(J.match_length=q(J,qe),J.match_length<=5&&(J.strategy===1||J.match_length===E&&4096<J.strstart-J.match_start)&&(J.match_length=E-1)),J.prev_length>=E&&J.match_length<=J.prev_length){for(V=J.strstart+J.lookahead-E,ae=o._tr_tally(J,J.strstart-1-J.prev_match,J.prev_length-E),J.lookahead-=J.prev_length-1,J.prev_length-=2;++J.strstart<=V&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+E-1])&J.hash_mask,qe=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart),--J.prev_length!=0;);if(J.match_available=0,J.match_length=E-1,J.strstart++,ae&&(G(J,!1),J.strm.avail_out===0))return N}else if(J.match_available){if((ae=o._tr_tally(J,0,J.window[J.strstart-1]))&&G(J,!1),J.strstart++,J.lookahead--,J.strm.avail_out===0)return N}else J.match_available=1,J.strstart++,J.lookahead--}return J.match_available&&(ae=o._tr_tally(J,0,J.window[J.strstart-1]),J.match_available=0),J.insert=J.strstart<E-1?J.strstart:E-1,Ee===s?(G(J,!0),J.strm.avail_out===0?W:R):J.last_lit&&(G(J,!1),J.strm.avail_out===0)?N:P}function he(J,Ee,qe,ae,V){this.good_length=J,this.max_lazy=Ee,this.nice_length=qe,this.max_chain=ae,this.func=V}function pe(){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=m,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 u.Buf16(2*T),this.dyn_dtree=new u.Buf16(2*(2*x+1)),this.bl_tree=new u.Buf16(2*(2*C+1)),K(this.dyn_ltree),K(this.dyn_dtree),K(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new u.Buf16(_+1),this.heap=new u.Buf16(2*y+1),K(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new u.Buf16(2*y+1),K(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 _e(J){var Ee;return J&&J.state?(J.total_in=J.total_out=0,J.data_type=p,(Ee=J.state).pending=0,Ee.pending_out=0,Ee.wrap<0&&(Ee.wrap=-Ee.wrap),Ee.status=Ee.wrap?D:F,J.adler=Ee.wrap===2?0:1,Ee.last_flush=r,o._tr_init(Ee),t):j(J,a)}function De(J){var Ee=_e(J);return Ee===t&&function(qe){qe.window_size=2*qe.w_size,K(qe.head),qe.max_lazy_match=l[qe.level].max_lazy,qe.good_match=l[qe.level].good_length,qe.nice_match=l[qe.level].nice_length,qe.max_chain_length=l[qe.level].max_chain,qe.strstart=0,qe.block_start=0,qe.lookahead=0,qe.insert=0,qe.match_length=qe.prev_length=E-1,qe.match_available=0,qe.ins_h=0}(J.state),Ee}function Xe(J,Ee,qe,ae,V,X){if(!J)return a;var Z=1;if(Ee===c&&(Ee=6),ae<0?(Z=0,ae=-ae):15<ae&&(Z=2,ae-=16),V<1||S<V||qe!==m||ae<8||15<ae||Ee<0||9<Ee||X<0||h<X)return j(J,a);ae===8&&(ae=9);var ge=new pe;return(J.state=ge).strm=J,ge.wrap=Z,ge.gzhead=null,ge.w_bits=ae,ge.w_size=1<<ge.w_bits,ge.w_mask=ge.w_size-1,ge.hash_bits=V+7,ge.hash_size=1<<ge.hash_bits,ge.hash_mask=ge.hash_size-1,ge.hash_shift=~~((ge.hash_bits+E-1)/E),ge.window=new u.Buf8(2*ge.w_size),ge.head=new u.Buf16(ge.hash_size),ge.prev=new u.Buf16(ge.w_size),ge.lit_bufsize=1<<V+6,ge.pending_buf_size=4*ge.lit_bufsize,ge.pending_buf=new u.Buf8(ge.pending_buf_size),ge.d_buf=1*ge.lit_bufsize,ge.l_buf=3*ge.lit_bufsize,ge.level=Ee,ge.strategy=X,ge.method=qe,De(J)}l=[new he(0,0,0,0,function(J,Ee){var qe=65535;for(qe>J.pending_buf_size-5&&(qe=J.pending_buf_size-5);;){if(J.lookahead<=1){if(oe(J),J.lookahead===0&&Ee===r)return N;if(J.lookahead===0)break}J.strstart+=J.lookahead,J.lookahead=0;var ae=J.block_start+qe;if((J.strstart===0||J.strstart>=ae)&&(J.lookahead=J.strstart-ae,J.strstart=ae,G(J,!1),J.strm.avail_out===0))return N;if(J.strstart-J.block_start>=J.w_size-L&&(G(J,!1),J.strm.avail_out===0))return N}return J.insert=0,Ee===s?(G(J,!0),J.strm.avail_out===0?W:R):(J.strstart>J.block_start&&(G(J,!1),J.strm.avail_out),N)}),new he(4,4,8,4,ie),new he(4,5,16,8,ie),new he(4,6,32,32,ie),new he(4,4,16,16,se),new he(8,16,32,32,se),new he(8,16,128,128,se),new he(8,32,128,256,se),new he(32,128,258,1024,se),new he(32,258,258,4096,se)],f.deflateInit=function(J,Ee){return Xe(J,Ee,m,15,8,0)},f.deflateInit2=Xe,f.deflateReset=De,f.deflateResetKeep=_e,f.deflateSetHeader=function(J,Ee){return J&&J.state?J.state.wrap!==2?a:(J.state.gzhead=Ee,t):a},f.deflate=function(J,Ee){var qe,ae,V,X;if(!J||!J.state||5<Ee||Ee<0)return J?j(J,a):a;if(ae=J.state,!J.output||!J.input&&J.avail_in!==0||ae.status===666&&Ee!==s)return j(J,J.avail_out===0?-5:a);if(ae.strm=J,qe=ae.last_flush,ae.last_flush=Ee,ae.status===D)if(ae.wrap===2)J.adler=0,z(ae,31),z(ae,139),z(ae,8),ae.gzhead?(z(ae,(ae.gzhead.text?1:0)+(ae.gzhead.hcrc?2:0)+(ae.gzhead.extra?4:0)+(ae.gzhead.name?8:0)+(ae.gzhead.comment?16:0)),z(ae,255&ae.gzhead.time),z(ae,ae.gzhead.time>>8&255),z(ae,ae.gzhead.time>>16&255),z(ae,ae.gzhead.time>>24&255),z(ae,ae.level===9?2:2<=ae.strategy||ae.level<2?4:0),z(ae,255&ae.gzhead.os),ae.gzhead.extra&&ae.gzhead.extra.length&&(z(ae,255&ae.gzhead.extra.length),z(ae,ae.gzhead.extra.length>>8&255)),ae.gzhead.hcrc&&(J.adler=n(J.adler,ae.pending_buf,ae.pending,0)),ae.gzindex=0,ae.status=69):(z(ae,0),z(ae,0),z(ae,0),z(ae,0),z(ae,0),z(ae,ae.level===9?2:2<=ae.strategy||ae.level<2?4:0),z(ae,3),ae.status=F);else{var Z=m+(ae.w_bits-8<<4)<<8;Z|=(2<=ae.strategy||ae.level<2?0:ae.level<6?1:ae.level===6?2:3)<<6,ae.strstart!==0&&(Z|=32),Z+=31-Z%31,ae.status=F,Y(ae,Z),ae.strstart!==0&&(Y(ae,J.adler>>>16),Y(ae,65535&J.adler)),J.adler=1}if(ae.status===69)if(ae.gzhead.extra){for(V=ae.pending;ae.gzindex<(65535&ae.gzhead.extra.length)&&(ae.pending!==ae.pending_buf_size||(ae.gzhead.hcrc&&ae.pending>V&&(J.adler=n(J.adler,ae.pending_buf,ae.pending-V,V)),U(J),V=ae.pending,ae.pending!==ae.pending_buf_size));)z(ae,255&ae.gzhead.extra[ae.gzindex]),ae.gzindex++;ae.gzhead.hcrc&&ae.pending>V&&(J.adler=n(J.adler,ae.pending_buf,ae.pending-V,V)),ae.gzindex===ae.gzhead.extra.length&&(ae.gzindex=0,ae.status=73)}else ae.status=73;if(ae.status===73)if(ae.gzhead.name){V=ae.pending;do{if(ae.pending===ae.pending_buf_size&&(ae.gzhead.hcrc&&ae.pending>V&&(J.adler=n(J.adler,ae.pending_buf,ae.pending-V,V)),U(J),V=ae.pending,ae.pending===ae.pending_buf_size)){X=1;break}X=ae.gzindex<ae.gzhead.name.length?255&ae.gzhead.name.charCodeAt(ae.gzindex++):0,z(ae,X)}while(X!==0);ae.gzhead.hcrc&&ae.pending>V&&(J.adler=n(J.adler,ae.pending_buf,ae.pending-V,V)),X===0&&(ae.gzindex=0,ae.status=91)}else ae.status=91;if(ae.status===91)if(ae.gzhead.comment){V=ae.pending;do{if(ae.pending===ae.pending_buf_size&&(ae.gzhead.hcrc&&ae.pending>V&&(J.adler=n(J.adler,ae.pending_buf,ae.pending-V,V)),U(J),V=ae.pending,ae.pending===ae.pending_buf_size)){X=1;break}X=ae.gzindex<ae.gzhead.comment.length?255&ae.gzhead.comment.charCodeAt(ae.gzindex++):0,z(ae,X)}while(X!==0);ae.gzhead.hcrc&&ae.pending>V&&(J.adler=n(J.adler,ae.pending_buf,ae.pending-V,V)),X===0&&(ae.status=103)}else ae.status=103;if(ae.status===103&&(ae.gzhead.hcrc?(ae.pending+2>ae.pending_buf_size&&U(J),ae.pending+2<=ae.pending_buf_size&&(z(ae,255&J.adler),z(ae,J.adler>>8&255),J.adler=0,ae.status=F)):ae.status=F),ae.pending!==0){if(U(J),J.avail_out===0)return ae.last_flush=-1,t}else if(J.avail_in===0&&H(Ee)<=H(qe)&&Ee!==s)return j(J,-5);if(ae.status===666&&J.avail_in!==0)return j(J,-5);if(J.avail_in!==0||ae.lookahead!==0||Ee!==r&&ae.status!==666){var ge=ae.strategy===2?function(le,Se){for(var me;;){if(le.lookahead===0&&(oe(le),le.lookahead===0)){if(Se===r)return N;break}if(le.match_length=0,me=o._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++,me&&(G(le,!1),le.strm.avail_out===0))return N}return le.insert=0,Se===s?(G(le,!0),le.strm.avail_out===0?W:R):le.last_lit&&(G(le,!1),le.strm.avail_out===0)?N:P}(ae,Ee):ae.strategy===3?function(le,Se){for(var me,$,we,xe,We=le.window;;){if(le.lookahead<=I){if(oe(le),le.lookahead<=I&&Se===r)return N;if(le.lookahead===0)break}if(le.match_length=0,le.lookahead>=E&&0<le.strstart&&($=We[we=le.strstart-1])===We[++we]&&$===We[++we]&&$===We[++we]){xe=le.strstart+I;do;while($===We[++we]&&$===We[++we]&&$===We[++we]&&$===We[++we]&&$===We[++we]&&$===We[++we]&&$===We[++we]&&$===We[++we]&&we<xe);le.match_length=I-(xe-we),le.match_length>le.lookahead&&(le.match_length=le.lookahead)}if(le.match_length>=E?(me=o._tr_tally(le,1,le.match_length-E),le.lookahead-=le.match_length,le.strstart+=le.match_length,le.match_length=0):(me=o._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++),me&&(G(le,!1),le.strm.avail_out===0))return N}return le.insert=0,Se===s?(G(le,!0),le.strm.avail_out===0?W:R):le.last_lit&&(G(le,!1),le.strm.avail_out===0)?N:P}(ae,Ee):l[ae.level].func(ae,Ee);if(ge!==W&&ge!==R||(ae.status=666),ge===N||ge===W)return J.avail_out===0&&(ae.last_flush=-1),t;if(ge===P&&(Ee===1?o._tr_align(ae):Ee!==5&&(o._tr_stored_block(ae,0,0,!1),Ee===3&&(K(ae.head),ae.lookahead===0&&(ae.strstart=0,ae.block_start=0,ae.insert=0))),U(J),J.avail_out===0))return ae.last_flush=-1,t}return Ee!==s?t:ae.wrap<=0?1:(ae.wrap===2?(z(ae,255&J.adler),z(ae,J.adler>>8&255),z(ae,J.adler>>16&255),z(ae,J.adler>>24&255),z(ae,255&J.total_in),z(ae,J.total_in>>8&255),z(ae,J.total_in>>16&255),z(ae,J.total_in>>24&255)):(Y(ae,J.adler>>>16),Y(ae,65535&J.adler)),U(J),0<ae.wrap&&(ae.wrap=-ae.wrap),ae.pending!==0?t:1)},f.deflateEnd=function(J){var Ee;return J&&J.state?(Ee=J.state.status)!==D&&Ee!==69&&Ee!==73&&Ee!==91&&Ee!==103&&Ee!==F&&Ee!==666?j(J,a):(J.state=null,Ee===F?j(J,-3):t):a},f.deflateSetDictionary=function(J,Ee){var qe,ae,V,X,Z,ge,le,Se,me=Ee.length;if(!J||!J.state)return a;if((X=(qe=J.state).wrap)===2||X===1&&qe.status!==D||qe.lookahead)return a;for(X===1&&(J.adler=e(J.adler,Ee,me,0)),qe.wrap=0,me>=qe.w_size&&(X===0&&(K(qe.head),qe.strstart=0,qe.block_start=0,qe.insert=0),Se=new u.Buf8(qe.w_size),u.arraySet(Se,Ee,me-qe.w_size,qe.w_size,0),Ee=Se,me=qe.w_size),Z=J.avail_in,ge=J.next_in,le=J.input,J.avail_in=me,J.next_in=0,J.input=Ee,oe(qe);qe.lookahead>=E;){for(ae=qe.strstart,V=qe.lookahead-(E-1);qe.ins_h=(qe.ins_h<<qe.hash_shift^qe.window[ae+E-1])&qe.hash_mask,qe.prev[ae&qe.w_mask]=qe.head[qe.ins_h],qe.head[qe.ins_h]=ae,ae++,--V;);qe.strstart=ae,qe.lookahead=E-1,oe(qe)}return qe.strstart+=qe.lookahead,qe.block_start=qe.strstart,qe.insert=qe.lookahead,qe.lookahead=0,qe.match_length=qe.prev_length=E-1,qe.match_available=0,J.next_in=ge,J.input=le,J.avail_in=Z,qe.wrap=X,t},f.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(g,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(g,v,f){"use strict";v.exports=function(l,u){var o,e,n,i,r,s,t,a,c,h,p,m,S,y,x,C,T,_,E,I,L,D,F,N,P;o=l.state,e=l.next_in,N=l.input,n=e+(l.avail_in-5),i=l.next_out,P=l.output,r=i-(u-l.avail_out),s=i+(l.avail_out-257),t=o.dmax,a=o.wsize,c=o.whave,h=o.wnext,p=o.window,m=o.hold,S=o.bits,y=o.lencode,x=o.distcode,C=(1<<o.lenbits)-1,T=(1<<o.distbits)-1;e:do{S<15&&(m+=N[e++]<<S,S+=8,m+=N[e++]<<S,S+=8),_=y[m&C];t:for(;;){if(m>>>=E=_>>>24,S-=E,(E=_>>>16&255)===0)P[i++]=65535&_;else{if(!(16&E)){if((64&E)==0){_=y[(65535&_)+(m&(1<<E)-1)];continue t}if(32&E){o.mode=12;break e}l.msg="invalid literal/length code",o.mode=30;break e}I=65535&_,(E&=15)&&(S<E&&(m+=N[e++]<<S,S+=8),I+=m&(1<<E)-1,m>>>=E,S-=E),S<15&&(m+=N[e++]<<S,S+=8,m+=N[e++]<<S,S+=8),_=x[m&T];r:for(;;){if(m>>>=E=_>>>24,S-=E,!(16&(E=_>>>16&255))){if((64&E)==0){_=x[(65535&_)+(m&(1<<E)-1)];continue r}l.msg="invalid distance code",o.mode=30;break e}if(L=65535&_,S<(E&=15)&&(m+=N[e++]<<S,(S+=8)<E&&(m+=N[e++]<<S,S+=8)),t<(L+=m&(1<<E)-1)){l.msg="invalid distance too far back",o.mode=30;break e}if(m>>>=E,S-=E,(E=i-r)<L){if(c<(E=L-E)&&o.sane){l.msg="invalid distance too far back",o.mode=30;break e}if(F=p,(D=0)===h){if(D+=a-E,E<I){for(I-=E;P[i++]=p[D++],--E;);D=i-L,F=P}}else if(h<E){if(D+=a+h-E,(E-=h)<I){for(I-=E;P[i++]=p[D++],--E;);if(D=0,h<I){for(I-=E=h;P[i++]=p[D++],--E;);D=i-L,F=P}}}else if(D+=h-E,E<I){for(I-=E;P[i++]=p[D++],--E;);D=i-L,F=P}for(;2<I;)P[i++]=F[D++],P[i++]=F[D++],P[i++]=F[D++],I-=3;I&&(P[i++]=F[D++],1<I&&(P[i++]=F[D++]))}else{for(D=i-L;P[i++]=P[D++],P[i++]=P[D++],P[i++]=P[D++],2<(I-=3););I&&(P[i++]=P[D++],1<I&&(P[i++]=P[D++]))}break}}break}}while(e<n&&i<s);e-=I=S>>3,m&=(1<<(S-=I<<3))-1,l.next_in=e,l.next_out=i,l.avail_in=e<n?n-e+5:5-(e-n),l.avail_out=i<s?s-i+257:257-(i-s),o.hold=m,o.bits=S}},{}],49:[function(g,v,f){"use strict";var l=g("../utils/common"),u=g("./adler32"),o=g("./crc32"),e=g("./inffast"),n=g("./inftrees"),i=1,r=2,s=0,t=-2,a=1,c=852,h=592;function p(D){return(D>>>24&255)+(D>>>8&65280)+((65280&D)<<8)+((255&D)<<24)}function m(){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 l.Buf16(320),this.work=new l.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function S(D){var F;return D&&D.state?(F=D.state,D.total_in=D.total_out=F.total=0,D.msg="",F.wrap&&(D.adler=1&F.wrap),F.mode=a,F.last=0,F.havedict=0,F.dmax=32768,F.head=null,F.hold=0,F.bits=0,F.lencode=F.lendyn=new l.Buf32(c),F.distcode=F.distdyn=new l.Buf32(h),F.sane=1,F.back=-1,s):t}function y(D){var F;return D&&D.state?((F=D.state).wsize=0,F.whave=0,F.wnext=0,S(D)):t}function x(D,F){var N,P;return D&&D.state?(P=D.state,F<0?(N=0,F=-F):(N=1+(F>>4),F<48&&(F&=15)),F&&(F<8||15<F)?t:(P.window!==null&&P.wbits!==F&&(P.window=null),P.wrap=N,P.wbits=F,y(D))):t}function C(D,F){var N,P;return D?(P=new m,(D.state=P).window=null,(N=x(D,F))!==s&&(D.state=null),N):t}var T,_,E=!0;function I(D){if(E){var F;for(T=new l.Buf32(512),_=new l.Buf32(32),F=0;F<144;)D.lens[F++]=8;for(;F<256;)D.lens[F++]=9;for(;F<280;)D.lens[F++]=7;for(;F<288;)D.lens[F++]=8;for(n(i,D.lens,0,288,T,0,D.work,{bits:9}),F=0;F<32;)D.lens[F++]=5;n(r,D.lens,0,32,_,0,D.work,{bits:5}),E=!1}D.lencode=T,D.lenbits=9,D.distcode=_,D.distbits=5}function L(D,F,N,P){var W,R=D.state;return R.window===null&&(R.wsize=1<<R.wbits,R.wnext=0,R.whave=0,R.window=new l.Buf8(R.wsize)),P>=R.wsize?(l.arraySet(R.window,F,N-R.wsize,R.wsize,0),R.wnext=0,R.whave=R.wsize):(P<(W=R.wsize-R.wnext)&&(W=P),l.arraySet(R.window,F,N-P,W,R.wnext),(P-=W)?(l.arraySet(R.window,F,N-P,P,0),R.wnext=P,R.whave=R.wsize):(R.wnext+=W,R.wnext===R.wsize&&(R.wnext=0),R.whave<R.wsize&&(R.whave+=W))),0}f.inflateReset=y,f.inflateReset2=x,f.inflateResetKeep=S,f.inflateInit=function(D){return C(D,15)},f.inflateInit2=C,f.inflate=function(D,F){var N,P,W,R,j,H,K,U,G,z,Y,q,oe,ie,se,he,pe,_e,De,Xe,J,Ee,qe,ae,V=0,X=new l.Buf8(4),Z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!D||!D.state||!D.output||!D.input&&D.avail_in!==0)return t;(N=D.state).mode===12&&(N.mode=13),j=D.next_out,W=D.output,K=D.avail_out,R=D.next_in,P=D.input,H=D.avail_in,U=N.hold,G=N.bits,z=H,Y=K,Ee=s;e:for(;;)switch(N.mode){case a:if(N.wrap===0){N.mode=13;break}for(;G<16;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}if(2&N.wrap&&U===35615){X[N.check=0]=255&U,X[1]=U>>>8&255,N.check=o(N.check,X,2,0),G=U=0,N.mode=2;break}if(N.flags=0,N.head&&(N.head.done=!1),!(1&N.wrap)||(((255&U)<<8)+(U>>8))%31){D.msg="incorrect header check",N.mode=30;break}if((15&U)!=8){D.msg="unknown compression method",N.mode=30;break}if(G-=4,J=8+(15&(U>>>=4)),N.wbits===0)N.wbits=J;else if(J>N.wbits){D.msg="invalid window size",N.mode=30;break}N.dmax=1<<J,D.adler=N.check=1,N.mode=512&U?10:12,G=U=0;break;case 2:for(;G<16;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}if(N.flags=U,(255&N.flags)!=8){D.msg="unknown compression method",N.mode=30;break}if(57344&N.flags){D.msg="unknown header flags set",N.mode=30;break}N.head&&(N.head.text=U>>8&1),512&N.flags&&(X[0]=255&U,X[1]=U>>>8&255,N.check=o(N.check,X,2,0)),G=U=0,N.mode=3;case 3:for(;G<32;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}N.head&&(N.head.time=U),512&N.flags&&(X[0]=255&U,X[1]=U>>>8&255,X[2]=U>>>16&255,X[3]=U>>>24&255,N.check=o(N.check,X,4,0)),G=U=0,N.mode=4;case 4:for(;G<16;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}N.head&&(N.head.xflags=255&U,N.head.os=U>>8),512&N.flags&&(X[0]=255&U,X[1]=U>>>8&255,N.check=o(N.check,X,2,0)),G=U=0,N.mode=5;case 5:if(1024&N.flags){for(;G<16;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}N.length=U,N.head&&(N.head.extra_len=U),512&N.flags&&(X[0]=255&U,X[1]=U>>>8&255,N.check=o(N.check,X,2,0)),G=U=0}else N.head&&(N.head.extra=null);N.mode=6;case 6:if(1024&N.flags&&(H<(q=N.length)&&(q=H),q&&(N.head&&(J=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),l.arraySet(N.head.extra,P,R,q,J)),512&N.flags&&(N.check=o(N.check,P,q,R)),H-=q,R+=q,N.length-=q),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&N.flags){if(H===0)break e;for(q=0;J=P[R+q++],N.head&&J&&N.length<65536&&(N.head.name+=String.fromCharCode(J)),J&&q<H;);if(512&N.flags&&(N.check=o(N.check,P,q,R)),H-=q,R+=q,J)break e}else N.head&&(N.head.name=null);N.length=0,N.mode=8;case 8:if(4096&N.flags){if(H===0)break e;for(q=0;J=P[R+q++],N.head&&J&&N.length<65536&&(N.head.comment+=String.fromCharCode(J)),J&&q<H;);if(512&N.flags&&(N.check=o(N.check,P,q,R)),H-=q,R+=q,J)break e}else N.head&&(N.head.comment=null);N.mode=9;case 9:if(512&N.flags){for(;G<16;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}if(U!==(65535&N.check)){D.msg="header crc mismatch",N.mode=30;break}G=U=0}N.head&&(N.head.hcrc=N.flags>>9&1,N.head.done=!0),D.adler=N.check=0,N.mode=12;break;case 10:for(;G<32;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}D.adler=N.check=p(U),G=U=0,N.mode=11;case 11:if(N.havedict===0)return D.next_out=j,D.avail_out=K,D.next_in=R,D.avail_in=H,N.hold=U,N.bits=G,2;D.adler=N.check=1,N.mode=12;case 12:if(F===5||F===6)break e;case 13:if(N.last){U>>>=7&G,G-=7&G,N.mode=27;break}for(;G<3;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}switch(N.last=1&U,G-=1,3&(U>>>=1)){case 0:N.mode=14;break;case 1:if(I(N),N.mode=20,F!==6)break;U>>>=2,G-=2;break e;case 2:N.mode=17;break;case 3:D.msg="invalid block type",N.mode=30}U>>>=2,G-=2;break;case 14:for(U>>>=7&G,G-=7&G;G<32;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}if((65535&U)!=(U>>>16^65535)){D.msg="invalid stored block lengths",N.mode=30;break}if(N.length=65535&U,G=U=0,N.mode=15,F===6)break e;case 15:N.mode=16;case 16:if(q=N.length){if(H<q&&(q=H),K<q&&(q=K),q===0)break e;l.arraySet(W,P,R,q,j),H-=q,R+=q,K-=q,j+=q,N.length-=q;break}N.mode=12;break;case 17:for(;G<14;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}if(N.nlen=257+(31&U),U>>>=5,G-=5,N.ndist=1+(31&U),U>>>=5,G-=5,N.ncode=4+(15&U),U>>>=4,G-=4,286<N.nlen||30<N.ndist){D.msg="too many length or distance symbols",N.mode=30;break}N.have=0,N.mode=18;case 18:for(;N.have<N.ncode;){for(;G<3;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}N.lens[Z[N.have++]]=7&U,U>>>=3,G-=3}for(;N.have<19;)N.lens[Z[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,qe={bits:N.lenbits},Ee=n(0,N.lens,0,19,N.lencode,0,N.work,qe),N.lenbits=qe.bits,Ee){D.msg="invalid code lengths set",N.mode=30;break}N.have=0,N.mode=19;case 19:for(;N.have<N.nlen+N.ndist;){for(;he=(V=N.lencode[U&(1<<N.lenbits)-1])>>>16&255,pe=65535&V,!((se=V>>>24)<=G);){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}if(pe<16)U>>>=se,G-=se,N.lens[N.have++]=pe;else{if(pe===16){for(ae=se+2;G<ae;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}if(U>>>=se,G-=se,N.have===0){D.msg="invalid bit length repeat",N.mode=30;break}J=N.lens[N.have-1],q=3+(3&U),U>>>=2,G-=2}else if(pe===17){for(ae=se+3;G<ae;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}G-=se,J=0,q=3+(7&(U>>>=se)),U>>>=3,G-=3}else{for(ae=se+7;G<ae;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}G-=se,J=0,q=11+(127&(U>>>=se)),U>>>=7,G-=7}if(N.have+q>N.nlen+N.ndist){D.msg="invalid bit length repeat",N.mode=30;break}for(;q--;)N.lens[N.have++]=J}}if(N.mode===30)break;if(N.lens[256]===0){D.msg="invalid code -- missing end-of-block",N.mode=30;break}if(N.lenbits=9,qe={bits:N.lenbits},Ee=n(i,N.lens,0,N.nlen,N.lencode,0,N.work,qe),N.lenbits=qe.bits,Ee){D.msg="invalid literal/lengths set",N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,qe={bits:N.distbits},Ee=n(r,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,qe),N.distbits=qe.bits,Ee){D.msg="invalid distances set",N.mode=30;break}if(N.mode=20,F===6)break e;case 20:N.mode=21;case 21:if(6<=H&&258<=K){D.next_out=j,D.avail_out=K,D.next_in=R,D.avail_in=H,N.hold=U,N.bits=G,e(D,Y),j=D.next_out,W=D.output,K=D.avail_out,R=D.next_in,P=D.input,H=D.avail_in,U=N.hold,G=N.bits,N.mode===12&&(N.back=-1);break}for(N.back=0;he=(V=N.lencode[U&(1<<N.lenbits)-1])>>>16&255,pe=65535&V,!((se=V>>>24)<=G);){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}if(he&&(240&he)==0){for(_e=se,De=he,Xe=pe;he=(V=N.lencode[Xe+((U&(1<<_e+De)-1)>>_e)])>>>16&255,pe=65535&V,!(_e+(se=V>>>24)<=G);){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}U>>>=_e,G-=_e,N.back+=_e}if(U>>>=se,G-=se,N.back+=se,N.length=pe,he===0){N.mode=26;break}if(32&he){N.back=-1,N.mode=12;break}if(64&he){D.msg="invalid literal/length code",N.mode=30;break}N.extra=15&he,N.mode=22;case 22:if(N.extra){for(ae=N.extra;G<ae;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}N.length+=U&(1<<N.extra)-1,U>>>=N.extra,G-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;he=(V=N.distcode[U&(1<<N.distbits)-1])>>>16&255,pe=65535&V,!((se=V>>>24)<=G);){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}if((240&he)==0){for(_e=se,De=he,Xe=pe;he=(V=N.distcode[Xe+((U&(1<<_e+De)-1)>>_e)])>>>16&255,pe=65535&V,!(_e+(se=V>>>24)<=G);){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}U>>>=_e,G-=_e,N.back+=_e}if(U>>>=se,G-=se,N.back+=se,64&he){D.msg="invalid distance code",N.mode=30;break}N.offset=pe,N.extra=15&he,N.mode=24;case 24:if(N.extra){for(ae=N.extra;G<ae;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}N.offset+=U&(1<<N.extra)-1,U>>>=N.extra,G-=N.extra,N.back+=N.extra}if(N.offset>N.dmax){D.msg="invalid distance too far back",N.mode=30;break}N.mode=25;case 25:if(K===0)break e;if(q=Y-K,N.offset>q){if((q=N.offset-q)>N.whave&&N.sane){D.msg="invalid distance too far back",N.mode=30;break}oe=q>N.wnext?(q-=N.wnext,N.wsize-q):N.wnext-q,q>N.length&&(q=N.length),ie=N.window}else ie=W,oe=j-N.offset,q=N.length;for(K<q&&(q=K),K-=q,N.length-=q;W[j++]=ie[oe++],--q;);N.length===0&&(N.mode=21);break;case 26:if(K===0)break e;W[j++]=N.length,K--,N.mode=21;break;case 27:if(N.wrap){for(;G<32;){if(H===0)break e;H--,U|=P[R++]<<G,G+=8}if(Y-=K,D.total_out+=Y,N.total+=Y,Y&&(D.adler=N.check=N.flags?o(N.check,W,Y,j-Y):u(N.check,W,Y,j-Y)),Y=K,(N.flags?U:p(U))!==N.check){D.msg="incorrect data check",N.mode=30;break}G=U=0}N.mode=28;case 28:if(N.wrap&&N.flags){for(;G<32;){if(H===0)break e;H--,U+=P[R++]<<G,G+=8}if(U!==(4294967295&N.total)){D.msg="incorrect length check",N.mode=30;break}G=U=0}N.mode=29;case 29:Ee=1;break e;case 30:Ee=-3;break e;case 31:return-4;case 32:default:return t}return D.next_out=j,D.avail_out=K,D.next_in=R,D.avail_in=H,N.hold=U,N.bits=G,(N.wsize||Y!==D.avail_out&&N.mode<30&&(N.mode<27||F!==4))&&L(D,D.output,D.next_out,Y-D.avail_out)?(N.mode=31,-4):(z-=D.avail_in,Y-=D.avail_out,D.total_in+=z,D.total_out+=Y,N.total+=Y,N.wrap&&Y&&(D.adler=N.check=N.flags?o(N.check,W,Y,D.next_out-Y):u(N.check,W,Y,D.next_out-Y)),D.data_type=N.bits+(N.last?64:0)+(N.mode===12?128:0)+(N.mode===20||N.mode===15?256:0),(z==0&&Y===0||F===4)&&Ee===s&&(Ee=-5),Ee)},f.inflateEnd=function(D){if(!D||!D.state)return t;var F=D.state;return F.window&&(F.window=null),D.state=null,s},f.inflateGetHeader=function(D,F){var N;return D&&D.state?(2&(N=D.state).wrap)==0?t:((N.head=F).done=!1,s):t},f.inflateSetDictionary=function(D,F){var N,P=F.length;return D&&D.state?(N=D.state).wrap!==0&&N.mode!==11?t:N.mode===11&&u(1,F,P,0)!==N.check?-3:L(D,F,P,P)?(N.mode=31,-4):(N.havedict=1,s):t},f.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(g,v,f){"use strict";var l=g("../utils/common"),u=[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],o=[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],e=[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],n=[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(i,r,s,t,a,c,h,p){var m,S,y,x,C,T,_,E,I,L=p.bits,D=0,F=0,N=0,P=0,W=0,R=0,j=0,H=0,K=0,U=0,G=null,z=0,Y=new l.Buf16(16),q=new l.Buf16(16),oe=null,ie=0;for(D=0;D<=15;D++)Y[D]=0;for(F=0;F<t;F++)Y[r[s+F]]++;for(W=L,P=15;1<=P&&Y[P]===0;P--);if(P<W&&(W=P),P===0)return a[c++]=20971520,a[c++]=20971520,p.bits=1,0;for(N=1;N<P&&Y[N]===0;N++);for(W<N&&(W=N),D=H=1;D<=15;D++)if(H<<=1,(H-=Y[D])<0)return-1;if(0<H&&(i===0||P!==1))return-1;for(q[1]=0,D=1;D<15;D++)q[D+1]=q[D]+Y[D];for(F=0;F<t;F++)r[s+F]!==0&&(h[q[r[s+F]]++]=F);if(T=i===0?(G=oe=h,19):i===1?(G=u,z-=257,oe=o,ie-=257,256):(G=e,oe=n,-1),D=N,C=c,j=F=U=0,y=-1,x=(K=1<<(R=W))-1,i===1&&852<K||i===2&&592<K)return 1;for(;;){for(_=D-j,I=h[F]<T?(E=0,h[F]):h[F]>T?(E=oe[ie+h[F]],G[z+h[F]]):(E=96,0),m=1<<D-j,N=S=1<<R;a[C+(U>>j)+(S-=m)]=_<<24|E<<16|I|0,S!==0;);for(m=1<<D-1;U&m;)m>>=1;if(m!==0?(U&=m-1,U+=m):U=0,F++,--Y[D]==0){if(D===P)break;D=r[s+h[F]]}if(W<D&&(U&x)!==y){for(j===0&&(j=W),C+=N,H=1<<(R=D-j);R+j<P&&!((H-=Y[R+j])<=0);)R++,H<<=1;if(K+=1<<R,i===1&&852<K||i===2&&592<K)return 1;a[y=U&x]=W<<24|R<<16|C-c|0}}return U!==0&&(a[C+U]=D-j<<24|64<<16|0),p.bits=W,0}},{"../utils/common":41}],51:[function(g,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(g,v,f){"use strict";var l=g("../utils/common"),u=0,o=1;function e(V){for(var X=V.length;0<=--X;)V[X]=0}var n=0,i=29,r=256,s=r+1+i,t=30,a=19,c=2*s+1,h=15,p=16,m=7,S=256,y=16,x=17,C=18,T=[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,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],E=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],L=new Array(2*(s+2));e(L);var D=new Array(2*t);e(D);var F=new Array(512);e(F);var N=new Array(256);e(N);var P=new Array(i);e(P);var W,R,j,H=new Array(t);function K(V,X,Z,ge,le){this.static_tree=V,this.extra_bits=X,this.extra_base=Z,this.elems=ge,this.max_length=le,this.has_stree=V&&V.length}function U(V,X){this.dyn_tree=V,this.max_code=0,this.stat_desc=X}function G(V){return V<256?F[V]:F[256+(V>>>7)]}function z(V,X){V.pending_buf[V.pending++]=255&X,V.pending_buf[V.pending++]=X>>>8&255}function Y(V,X,Z){V.bi_valid>p-Z?(V.bi_buf|=X<<V.bi_valid&65535,z(V,V.bi_buf),V.bi_buf=X>>p-V.bi_valid,V.bi_valid+=Z-p):(V.bi_buf|=X<<V.bi_valid&65535,V.bi_valid+=Z)}function q(V,X,Z){Y(V,Z[2*X],Z[2*X+1])}function oe(V,X){for(var Z=0;Z|=1&V,V>>>=1,Z<<=1,0<--X;);return Z>>>1}function ie(V,X,Z){var ge,le,Se=new Array(h+1),me=0;for(ge=1;ge<=h;ge++)Se[ge]=me=me+Z[ge-1]<<1;for(le=0;le<=X;le++){var $=V[2*le+1];$!==0&&(V[2*le]=oe(Se[$]++,$))}}function se(V){var X;for(X=0;X<s;X++)V.dyn_ltree[2*X]=0;for(X=0;X<t;X++)V.dyn_dtree[2*X]=0;for(X=0;X<a;X++)V.bl_tree[2*X]=0;V.dyn_ltree[2*S]=1,V.opt_len=V.static_len=0,V.last_lit=V.matches=0}function he(V){8<V.bi_valid?z(V,V.bi_buf):0<V.bi_valid&&(V.pending_buf[V.pending++]=V.bi_buf),V.bi_buf=0,V.bi_valid=0}function pe(V,X,Z,ge){var le=2*X,Se=2*Z;return V[le]<V[Se]||V[le]===V[Se]&&ge[X]<=ge[Z]}function _e(V,X,Z){for(var ge=V.heap[Z],le=Z<<1;le<=V.heap_len&&(le<V.heap_len&&pe(X,V.heap[le+1],V.heap[le],V.depth)&&le++,!pe(X,ge,V.heap[le],V.depth));)V.heap[Z]=V.heap[le],Z=le,le<<=1;V.heap[Z]=ge}function De(V,X,Z){var ge,le,Se,me,$=0;if(V.last_lit!==0)for(;ge=V.pending_buf[V.d_buf+2*$]<<8|V.pending_buf[V.d_buf+2*$+1],le=V.pending_buf[V.l_buf+$],$++,ge===0?q(V,le,X):(q(V,(Se=N[le])+r+1,X),(me=T[Se])!==0&&Y(V,le-=P[Se],me),q(V,Se=G(--ge),Z),(me=_[Se])!==0&&Y(V,ge-=H[Se],me)),$<V.last_lit;);q(V,S,X)}function Xe(V,X){var Z,ge,le,Se=X.dyn_tree,me=X.stat_desc.static_tree,$=X.stat_desc.has_stree,we=X.stat_desc.elems,xe=-1;for(V.heap_len=0,V.heap_max=c,Z=0;Z<we;Z++)Se[2*Z]!==0?(V.heap[++V.heap_len]=xe=Z,V.depth[Z]=0):Se[2*Z+1]=0;for(;V.heap_len<2;)Se[2*(le=V.heap[++V.heap_len]=xe<2?++xe:0)]=1,V.depth[le]=0,V.opt_len--,$&&(V.static_len-=me[2*le+1]);for(X.max_code=xe,Z=V.heap_len>>1;1<=Z;Z--)_e(V,Se,Z);for(le=we;Z=V.heap[1],V.heap[1]=V.heap[V.heap_len--],_e(V,Se,1),ge=V.heap[1],V.heap[--V.heap_max]=Z,V.heap[--V.heap_max]=ge,Se[2*le]=Se[2*Z]+Se[2*ge],V.depth[le]=(V.depth[Z]>=V.depth[ge]?V.depth[Z]:V.depth[ge])+1,Se[2*Z+1]=Se[2*ge+1]=le,V.heap[1]=le++,_e(V,Se,1),2<=V.heap_len;);V.heap[--V.heap_max]=V.heap[1],function(We,st){var nt,Ne,St,Ye,vt,It,Ut=st.dyn_tree,xt=st.max_code,Bt=st.stat_desc.static_tree,Qe=st.stat_desc.has_stree,te=st.stat_desc.extra_bits,Q=st.stat_desc.extra_base,Me=st.stat_desc.max_length,Ce=0;for(Ye=0;Ye<=h;Ye++)We.bl_count[Ye]=0;for(Ut[2*We.heap[We.heap_max]+1]=0,nt=We.heap_max+1;nt<c;nt++)Me<(Ye=Ut[2*Ut[2*(Ne=We.heap[nt])+1]+1]+1)&&(Ye=Me,Ce++),Ut[2*Ne+1]=Ye,xt<Ne||(We.bl_count[Ye]++,vt=0,Q<=Ne&&(vt=te[Ne-Q]),It=Ut[2*Ne],We.opt_len+=It*(Ye+vt),Qe&&(We.static_len+=It*(Bt[2*Ne+1]+vt)));if(Ce!==0){do{for(Ye=Me-1;We.bl_count[Ye]===0;)Ye--;We.bl_count[Ye]--,We.bl_count[Ye+1]+=2,We.bl_count[Me]--,Ce-=2}while(0<Ce);for(Ye=Me;Ye!==0;Ye--)for(Ne=We.bl_count[Ye];Ne!==0;)xt<(St=We.heap[--nt])||(Ut[2*St+1]!==Ye&&(We.opt_len+=(Ye-Ut[2*St+1])*Ut[2*St],Ut[2*St+1]=Ye),Ne--)}}(V,X),ie(Se,xe,V.bl_count)}function J(V,X,Z){var ge,le,Se=-1,me=X[1],$=0,we=7,xe=4;for(me===0&&(we=138,xe=3),X[2*(Z+1)+1]=65535,ge=0;ge<=Z;ge++)le=me,me=X[2*(ge+1)+1],++$<we&&le===me||($<xe?V.bl_tree[2*le]+=$:le!==0?(le!==Se&&V.bl_tree[2*le]++,V.bl_tree[2*y]++):$<=10?V.bl_tree[2*x]++:V.bl_tree[2*C]++,Se=le,xe=($=0)===me?(we=138,3):le===me?(we=6,3):(we=7,4))}function Ee(V,X,Z){var ge,le,Se=-1,me=X[1],$=0,we=7,xe=4;for(me===0&&(we=138,xe=3),ge=0;ge<=Z;ge++)if(le=me,me=X[2*(ge+1)+1],!(++$<we&&le===me)){if($<xe)for(;q(V,le,V.bl_tree),--$!=0;);else le!==0?(le!==Se&&(q(V,le,V.bl_tree),$--),q(V,y,V.bl_tree),Y(V,$-3,2)):$<=10?(q(V,x,V.bl_tree),Y(V,$-3,3)):(q(V,C,V.bl_tree),Y(V,$-11,7));Se=le,xe=($=0)===me?(we=138,3):le===me?(we=6,3):(we=7,4)}}e(H);var qe=!1;function ae(V,X,Z,ge){Y(V,(n<<1)+(ge?1:0),3),function(le,Se,me,$){he(le),$&&(z(le,me),z(le,~me)),l.arraySet(le.pending_buf,le.window,Se,me,le.pending),le.pending+=me}(V,X,Z,!0)}f._tr_init=function(V){qe||(function(){var X,Z,ge,le,Se,me=new Array(h+1);for(le=ge=0;le<i-1;le++)for(P[le]=ge,X=0;X<1<<T[le];X++)N[ge++]=le;for(N[ge-1]=le,le=Se=0;le<16;le++)for(H[le]=Se,X=0;X<1<<_[le];X++)F[Se++]=le;for(Se>>=7;le<t;le++)for(H[le]=Se<<7,X=0;X<1<<_[le]-7;X++)F[256+Se++]=le;for(Z=0;Z<=h;Z++)me[Z]=0;for(X=0;X<=143;)L[2*X+1]=8,X++,me[8]++;for(;X<=255;)L[2*X+1]=9,X++,me[9]++;for(;X<=279;)L[2*X+1]=7,X++,me[7]++;for(;X<=287;)L[2*X+1]=8,X++,me[8]++;for(ie(L,s+1,me),X=0;X<t;X++)D[2*X+1]=5,D[2*X]=oe(X,5);W=new K(L,T,r+1,s,h),R=new K(D,_,0,t,h),j=new K(new Array(0),E,0,a,m)}(),qe=!0),V.l_desc=new U(V.dyn_ltree,W),V.d_desc=new U(V.dyn_dtree,R),V.bl_desc=new U(V.bl_tree,j),V.bi_buf=0,V.bi_valid=0,se(V)},f._tr_stored_block=ae,f._tr_flush_block=function(V,X,Z,ge){var le,Se,me=0;0<V.level?(V.strm.data_type===2&&(V.strm.data_type=function($){var we,xe=4093624447;for(we=0;we<=31;we++,xe>>>=1)if(1&xe&&$.dyn_ltree[2*we]!==0)return u;if($.dyn_ltree[18]!==0||$.dyn_ltree[20]!==0||$.dyn_ltree[26]!==0)return o;for(we=32;we<r;we++)if($.dyn_ltree[2*we]!==0)return o;return u}(V)),Xe(V,V.l_desc),Xe(V,V.d_desc),me=function($){var we;for(J($,$.dyn_ltree,$.l_desc.max_code),J($,$.dyn_dtree,$.d_desc.max_code),Xe($,$.bl_desc),we=a-1;3<=we&&$.bl_tree[2*I[we]+1]===0;we--);return $.opt_len+=3*(we+1)+5+5+4,we}(V),le=V.opt_len+3+7>>>3,(Se=V.static_len+3+7>>>3)<=le&&(le=Se)):le=Se=Z+5,Z+4<=le&&X!==-1?ae(V,X,Z,ge):V.strategy===4||Se===le?(Y(V,2+(ge?1:0),3),De(V,L,D)):(Y(V,4+(ge?1:0),3),function($,we,xe,We){var st;for(Y($,we-257,5),Y($,xe-1,5),Y($,We-4,4),st=0;st<We;st++)Y($,$.bl_tree[2*I[st]+1],3);Ee($,$.dyn_ltree,we-1),Ee($,$.dyn_dtree,xe-1)}(V,V.l_desc.max_code+1,V.d_desc.max_code+1,me+1),De(V,V.dyn_ltree,V.dyn_dtree)),se(V),ge&&he(V)},f._tr_tally=function(V,X,Z){return V.pending_buf[V.d_buf+2*V.last_lit]=X>>>8&255,V.pending_buf[V.d_buf+2*V.last_lit+1]=255&X,V.pending_buf[V.l_buf+V.last_lit]=255&Z,V.last_lit++,X===0?V.dyn_ltree[2*Z]++:(V.matches++,X--,V.dyn_ltree[2*(N[Z]+r+1)]++,V.dyn_dtree[2*G(X)]++),V.last_lit===V.lit_bufsize-1},f._tr_align=function(V){Y(V,2,3),q(V,S,L),function(X){X.bi_valid===16?(z(X,X.bi_buf),X.bi_buf=0,X.bi_valid=0):8<=X.bi_valid&&(X.pending_buf[X.pending++]=255&X.bi_buf,X.bi_buf>>=8,X.bi_valid-=8)}(V)}},{"../utils/common":41}],53:[function(g,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(g,v,f){"use strict";v.exports=typeof setImmediate=="function"?setImmediate:function(){var l=[].slice.apply(arguments);l.splice(1,0,0),setTimeout.apply(null,l)}},{}]},{},[10])(10)})}).call(this,d("HDXh").Buffer,d("IyRk"))},xRUu:function(k,B,d){d("hJvP"),d("hFmY"),d("sAZ8")},xSIq:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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"};B.default=w},xSat:function(k,B){var d={axisPointer:1,tooltip:1,brush:1};function w(A,b,g){var v=b.getComponentByElement(A.topTarget),f=v&&v.coordinateSystem;return v&&v!==g&&!d[v.mainType]&&f&&f.model!==g}B.onIrrelevantElement=w},xTNl:function(k,B){var d=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],w={color:d,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],d]};k.exports=w},xiyX:function(k,B,d){var w=d("bYtY"),A=d("bLfw"),b=d("nkfE"),g=d("ICMv"),v=A.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 l(o,e){return e.type||(e.data?"category":"value")}w.merge(v.prototype,g),b("single",v,l,f);var u=v;k.exports=u},xlC8:function(k,B,d){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=w;function w(A,b,g,v){for(var f=A&65535|0,l=A>>>16&65535|0,u=0;g!==0;){u=g>2e3?2e3:g,g-=u;do f=f+b[v++]|0,l=l+f|0;while(--u);f%=65521,l%=65521}return f|l<<16|0}},xvlK:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="PlusOutlined";var l=B.a=A.forwardRef(f)},xzDV:function(k,B,d){},"y+Vt":function(k,B,d){var w=d("Gev7"),A=d("bYtY"),b=d("IMiH"),g=d("2DNl"),v=d("3C/r"),f=v.prototype.getCanvasPattern,l=Math.abs,u=new b(!0);function o(n){w.call(this,n),this.path=null}o.prototype={constructor:o,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(i,r){var s=this.style,t=this.path||u,a=s.hasStroke(),c=s.hasFill(),h=s.fill,p=s.stroke,m=c&&!!h.colorStops,S=a&&!!p.colorStops,y=c&&!!h.image,x=a&&!!p.image;if(s.bind(i,this,r),this.setTransform(i),this.__dirty){var C;m&&(C=C||this.getBoundingRect(),this._fillGradient=s.getGradient(i,h,C)),S&&(C=C||this.getBoundingRect(),this._strokeGradient=s.getGradient(i,p,C))}m?i.fillStyle=this._fillGradient:y&&(i.fillStyle=f.call(h,i)),S?i.strokeStyle=this._strokeGradient:x&&(i.strokeStyle=f.call(p,i));var T=s.lineDash,_=s.lineDashOffset,E=!!i.setLineDash,I=this.getGlobalScale();if(t.setScale(I[0],I[1],this.segmentIgnoreThreshold),this.__dirtyPath||T&&!E&&a?(t.beginPath(i),T&&!E&&(t.setLineDash(T),t.setLineDashOffset(_)),this.buildPath(t,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(i.beginPath(),this.path.rebuildPath(i)),c)if(s.fillOpacity!=null){var L=i.globalAlpha;i.globalAlpha=s.fillOpacity*s.opacity,t.fill(i),i.globalAlpha=L}else t.fill(i);if(T&&E&&(i.setLineDash(T),i.lineDashOffset=_),a)if(s.strokeOpacity!=null){var L=i.globalAlpha;i.globalAlpha=s.strokeOpacity*s.opacity,t.stroke(i),i.globalAlpha=L}else t.stroke(i);T&&E&&i.setLineDash([]),s.text!=null&&(this.restoreTransform(i),this.drawRectText(i,this.getBoundingRect()))},buildPath:function(i,r,s){},createPathProxy:function(){this.path=new b},getBoundingRect:function(){var i=this._rect,r=this.style,s=!i;if(s){var t=this.path;t||(t=this.path=new b),this.__dirtyPath&&(t.beginPath(),this.buildPath(t,this.shape,!1)),i=t.getBoundingRect()}if(this._rect=i,r.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=i.clone());if(this.__dirty||s){a.copy(i);var c=r.lineWidth,h=r.strokeNoScale?this.getLineScale():1;r.hasFill()||(c=Math.max(c,this.strokeContainThreshold||4)),h>1e-10&&(a.width+=c/h,a.height+=c/h,a.x-=c/h/2,a.y-=c/h/2)}return a}return i},contain:function(i,r){var s=this.transformCoordToLocal(i,r),t=this.getBoundingRect(),a=this.style;if(i=s[0],r=s[1],t.contain(i,r)){var c=this.path.data;if(a.hasStroke()){var h=a.lineWidth,p=a.strokeNoScale?this.getLineScale():1;if(p>1e-10&&(a.hasFill()||(h=Math.max(h,this.strokeContainThreshold)),g.containStroke(c,h/p,i,r)))return!0}if(a.hasFill())return g.contain(c,i,r)}return!1},dirty:function(i){i==null&&(i=!0),i&&(this.__dirtyPath=i,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(i){return this.animate("shape",i)},attrKV:function(i,r){i==="shape"?(this.setShape(r),this.__dirtyPath=!0,this._rect=null):w.prototype.attrKV.call(this,i,r)},setShape:function(i,r){var s=this.shape;if(s){if(A.isObject(i))for(var t in i)i.hasOwnProperty(t)&&(s[t]=i[t]);else s[i]=r;this.dirty(!0)}return this},getLineScale:function(){var i=this.transform;return i&&l(i[0]-1)>1e-10&&l(i[3]-1)>1e-10?Math.sqrt(l(i[0]*i[3]-i[2]*i[1])):1}},o.extend=function(n){var i=function(t){o.call(this,t),n.style&&this.style.extendFrom(n.style,!1);var a=n.shape;if(a){this.shape=this.shape||{};var c=this.shape;for(var h in a)!c.hasOwnProperty(h)&&a.hasOwnProperty(h)&&(c[h]=a[h])}n.init&&n.init.call(this,t)};A.inherits(i,o);for(var r in n)r!=="style"&&r!=="shape"&&(i.prototype[r]=n[r]);return i},A.inherits(o,w);var e=o;k.exports=e},"y+lR":function(k,B,d){var w=d("bYtY"),A=d("mFDi"),b=d("z35g");function g(f){b.call(this,f)}g.prototype={constructor:g,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(f){var l=this.getAxis("x"),u=this.getAxis("y");return l.contain(l.toLocalCoord(f[0]))&&u.contain(u.toLocalCoord(f[1]))},containData:function(f){return this.getAxis("x").containData(f[0])&&this.getAxis("y").containData(f[1])},dataToPoint:function(f,l,u){var o=this.getAxis("x"),e=this.getAxis("y");return u=u||[],u[0]=o.toGlobalCoord(o.dataToCoord(f[0])),u[1]=e.toGlobalCoord(e.dataToCoord(f[1])),u},clampData:function(f,l){var u=this.getAxis("x").scale,o=this.getAxis("y").scale,e=u.getExtent(),n=o.getExtent(),i=u.parse(f[0]),r=o.parse(f[1]);return l=l||[],l[0]=Math.min(Math.max(Math.min(e[0],e[1]),i),Math.max(e[0],e[1])),l[1]=Math.min(Math.max(Math.min(n[0],n[1]),r),Math.max(n[0],n[1])),l},pointToData:function(f,l){var u=this.getAxis("x"),o=this.getAxis("y");return l=l||[],l[0]=u.coordToData(u.toLocalCoord(f[0])),l[1]=o.coordToData(o.toLocalCoord(f[1])),l},getOtherAxis:function(f){return this.getAxis(f.dim==="x"?"y":"x")},getArea:function(){var f=this.getAxis("x").getGlobalExtent(),l=this.getAxis("y").getGlobalExtent(),u=Math.min(f[0],f[1]),o=Math.min(l[0],l[1]),e=Math.max(f[0],f[1])-u,n=Math.max(l[0],l[1])-o,i=new A(u,o,e,n);return i}},w.inherits(g,b);var v=g;k.exports=v},"y0+3":function(k,B,d){"use strict";d.d(B,"a",function(){return n}),d.d(B,"b",function(){return r});var w=/margin|padding|width|height|max|min|offset/,A={left:!0,top:!0},b={cssFloat:1,styleFloat:1,float:1};function g(s){return s.nodeType===1?s.ownerDocument.defaultView.getComputedStyle(s,null):{}}function v(s,t,a){if(t=t.toLowerCase(),a==="auto"){if(t==="height")return s.offsetHeight;if(t==="width")return s.offsetWidth}return t in A||(A[t]=w.test(t)),A[t]?parseFloat(a)||0:a}function f(s,t){var a=arguments.length,c=g(s);return t=b[t]?"cssFloat"in s.style?"cssFloat":"styleFloat":t,a===1?c:v(s,t,c[t]||s.style[t])}function l(s,t,a){var c=arguments.length;if(t=b[t]?"cssFloat"in s.style?"cssFloat":"styleFloat":t,c===3)return typeof a=="number"&&w.test(t)&&(a="".concat(a,"px")),s.style[t]=a,a;for(var h in t)t.hasOwnProperty(h)&&l(s,h,t[h]);return g(s)}function u(s){return s===document.body?document.documentElement.clientWidth:s.offsetWidth}function o(s){return s===document.body?window.innerHeight||document.documentElement.clientHeight:s.offsetHeight}function e(){var s=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:s,height:t}}function n(){var s=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:s,height:t}}function i(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function r(s){var t=s.getBoundingClientRect(),a=document.documentElement;return{left:t.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},"y1t/":function(k,B,d){"use strict";d.d(B,"a",function(){return w});function w(A){if(A==null)throw new TypeError("Cannot destructure undefined")}},y23F:function(k,B){function d(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}d.prototype={constructor:d,_dragStart:function(g){for(var v=g.target;v&&!v.draggable;)v=v.parent;v&&(this._draggingTarget=v,v.dragging=!0,this._x=g.offsetX,this._y=g.offsetY,this.dispatchToElement(w(v,g),"dragstart",g.event))},_drag:function(g){var v=this._draggingTarget;if(v){var f=g.offsetX,l=g.offsetY,u=f-this._x,o=l-this._y;this._x=f,this._y=l,v.drift(u,o,g),this.dispatchToElement(w(v,g),"drag",g.event);var e=this.findHover(f,l,v).target,n=this._dropTarget;this._dropTarget=e,v!==e&&(n&&e!==n&&this.dispatchToElement(w(n,g),"dragleave",g.event),e&&e!==n&&this.dispatchToElement(w(e,g),"dragenter",g.event))}},_dragEnd:function(g){var v=this._draggingTarget;v&&(v.dragging=!1),this.dispatchToElement(w(v,g),"dragend",g.event),this._dropTarget&&this.dispatchToElement(w(this._dropTarget,g),"drop",g.event),this._draggingTarget=null,this._dropTarget=null}};function w(b,g){return{target:b,topTarget:g&&g.topTarget}}var A=d;k.exports=A},y2l5:function(k,B,d){var w=d("MwEJ"),A=d("T4UG"),b=A.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(g,v){return w(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var g=this.option.progressive;return g==null?this.option.large?5e3:this.get("progressive"):g},getProgressiveThreshold:function(){var g=this.option.progressiveThreshold;return g==null?this.option.large?1e4:this.get("progressiveThreshold"):g},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});k.exports=b},y3Kf:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="UpOutlined";var l=B.a=A.forwardRef(f)},y3NT:function(k,B,d){var w=d("OELB"),A=w.parsePercent,b=d("bYtY"),g=Math.PI/180;function v(u,o,e,n){o.eachSeriesByType(u,function(i){var r=i.get("center"),s=i.get("radius");b.isArray(s)||(s=[0,s]),b.isArray(r)||(r=[r,r]);var t=e.getWidth(),a=e.getHeight(),c=Math.min(t,a),h=A(r[0],t),p=A(r[1],a),m=A(s[0],c/2),S=A(s[1],c/2),y=-i.get("startAngle")*g,x=i.get("minAngle")*g,C=i.getData().tree.root,T=i.getViewRoot(),_=T.depth,E=i.get("sort");E!=null&&f(T,E);var I=0;b.each(T.children,function(z){!isNaN(z.getValue())&&I++});var L=T.getValue(),D=Math.PI/(L||I)*2,F=T.depth>0,N=T.height-(F?-1:1),P=(S-m)/(N||1),W=i.get("clockwise"),R=i.get("stillShowZeroSum"),j=W?1:-1,H=function(z,Y){if(!z)return;var q=Y;if(z!==C){var oe=z.getValue(),ie=L===0&&R?D:oe*D;ie<x&&(ie=x),q=Y+j*ie;var se=z.depth-_-(F?-1:1),he=m+P*se,pe=m+P*(se+1),_e=z.getModel();_e.get("r0")!=null&&(he=A(_e.get("r0"),c/2)),_e.get("r")!=null&&(pe=A(_e.get("r"),c/2)),z.setLayout({angle:ie,startAngle:Y,endAngle:q,clockwise:W,cx:h,cy:p,r0:he,r:pe})}if(z.children&&z.children.length){var De=0;b.each(z.children,function(Xe){De+=H(Xe,Y+De)})}return q-Y};if(F){var K=m,U=m+P,G=Math.PI*2;C.setLayout({angle:G,startAngle:y,endAngle:y+G,clockwise:W,cx:h,cy:p,r0:K,r:U})}H(T,y)})}function f(u,o){var e=u.children||[];u.children=l(e,o),e.length&&b.each(u.children,function(n){f(n,o)})}function l(u,o){if(typeof o=="function")return u.sort(o);var e=o==="asc";return u.sort(function(n,i){var r=(n.getValue()-i.getValue())*(e?1:-1);return r===0?(n.dataIndex-i.dataIndex)*(e?-1:1):r})}k.exports=v},"y4/Y":function(k,B,d){var w=d("ProS"),A=d("bYtY"),b=d("zTMp"),g=d("62sa");d("SKx+"),d("1LEl"),d("Sp2Z"),w.registerPreprocessor(function(v){if(v){(!v.axisPointer||v.axisPointer.length===0)&&(v.axisPointer={});var f=v.axisPointer.link;f&&!A.isArray(f)&&(v.axisPointer.link=[f])}}),w.registerProcessor(w.PRIORITY.PROCESSOR.STATISTIC,function(v,f){v.getComponent("axisPointer").coordSysAxesInfo=b.collect(v,f)}),w.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},g)},y7Aq:function(k,B,d){var w=d("bYtY"),A=d("+TT/"),b=A.getLayoutRect;function g(f,l,u){var o=f.option,e=o.align;if(e!=null&&e!=="auto")return e;for(var n={width:l.getWidth(),height:l.getHeight()},i=o.orient==="horizontal"?1:0,r=[["left","right","width"],["top","bottom","height"]],s=r[i],t=[0,null,10],a={},c=0;c<3;c++)a[r[1-i][c]]=t[c],a[s[c]]=c===2?u[0]:o[s[c]];var h=[["x","width",3],["y","height",0]][i],p=b(a,n,o.padding);return s[(p.margin[h[2]]||0)+p[h[0]]+p[h[1]]*.5<n[h[1]]*.5?0:1]}function v(f,l){return w.each(f||[],function(u){u.dataIndex!=null&&(u.dataIndexInside=u.dataIndex,u.dataIndex=null),u.highlightKey="visualMap"+(l?l.componentIndex:"")}),f}B.getItemAlign=g,B.makeHighDownBatch=v},y8nQ:function(k,B,d){"use strict";var w=d("cIOH"),A=d.n(w),b=d("gwTy"),g=d.n(b),v=d("1GLa"),f=d("5Dmo")},yEEn:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="ArrowDownOutlined";var l=B.a=A.forwardRef(f)},yO87:function(k,B,d){var w=d("bYtY"),A=d("oVpE"),b=A.createSymbol,g=d("IwbS"),v=g.Group,f=d("OELB"),l=f.parsePercent,u=d("FBjb"),o=3;function e(t){return w.isArray(t)||(t=[+t,+t]),t}function n(t,a){var c=a.rippleEffectColor||a.color;t.eachChild(function(h){h.attr({z:a.z,zlevel:a.zlevel,style:{stroke:a.brushType==="stroke"?c:null,fill:a.brushType==="fill"?c:null}})})}function i(t,a){v.call(this);var c=new u(t,a),h=new v;this.add(c),this.add(h),h.beforeUpdate=function(){this.attr(c.getScale())},this.updateData(t,a)}var r=i.prototype;r.stopEffectAnimation=function(){this.childAt(1).removeAll()},r.startEffectAnimation=function(t){for(var a=t.symbolType,c=t.color,h=this.childAt(1),p=0;p<o;p++){var m=b(a,-1,-1,2,2,c);m.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var S=-p/o*t.period+t.effectOffset;m.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(S).start(),m.animateStyle(!0).when(t.period,{opacity:0}).delay(S).start(),h.add(m)}n(h,t)},r.updateEffectAnimation=function(t){for(var a=this._effectCfg,c=this.childAt(1),h=["symbolType","period","rippleScale"],p=0;p<h.length;p++){var m=h[p];if(a[m]!==t[m]){this.stopEffectAnimation(),this.startEffectAnimation(t);return}}n(c,t)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateData=function(t,a){var c=t.hostModel;this.childAt(0).updateData(t,a);var h=this.childAt(1),p=t.getItemModel(a),m=t.getItemVisual(a,"symbol"),S=e(t.getItemVisual(a,"symbolSize")),y=t.getItemVisual(a,"color");h.attr("scale",S),h.traverse(function(D){D.attr({fill:y})});var x=p.getShallow("symbolOffset");if(x){var C=h.position;C[0]=l(x[0],S[0]),C[1]=l(x[1],S[1])}var T=t.getItemVisual(a,"symbolRotate");h.rotation=(T||0)*Math.PI/180||0;var _={};if(_.showEffectOn=c.get("showEffectOn"),_.rippleScale=p.get("rippleEffect.scale"),_.brushType=p.get("rippleEffect.brushType"),_.period=p.get("rippleEffect.period")*1e3,_.effectOffset=a/t.count(),_.z=p.getShallow("z")||0,_.zlevel=p.getShallow("zlevel")||0,_.symbolType=m,_.color=y,_.rippleEffectColor=p.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),_.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(_):this.startEffectAnimation(_),this._effectCfg=_;else{this._effectCfg=null,this.stopEffectAnimation();var E=this.childAt(0),I=function(){E.highlight(),_.showEffectOn!=="render"&&this.startEffectAnimation(_)},L=function(){E.downplay(),_.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",I,this).on("mouseout",L,this).on("emphasis",I,this).on("normal",L,this)}this._effectCfg=_},r.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},w.inherits(i,v);var s=i;k.exports=s},yS9w:function(k,B,d){var w=d("MEGo"),A=w.parseSVG,b=w.makeViewBoxTransform,g=d("4fz+"),v=d("x6Kt"),f=d("bYtY"),l=f.assert,u=f.createHashMap,o=d("mFDi"),e=d("4NO4"),n=e.makeInner,i=n(),r={load:function(t,a){var c=i(a).originRoot;if(c)return{root:c,boundingRect:i(a).boundingRect};var h=s(a);return i(a).originRoot=h.root,i(a).boundingRect=h.boundingRect,h},makeGraphic:function(t,a,c){var h=i(a),p=h.rootMap||(h.rootMap=u()),m=p.get(c);if(m)return m;var S=h.originRoot,y=h.boundingRect;return h.originRootHostKey?m=s(a,y).root:(h.originRootHostKey=c,m=S),p.set(c,m)},removeGraphic:function(t,a,c){var h=i(a),p=h.rootMap;p&&p.removeKey(c),c===h.originRootHostKey&&(h.originRootHostKey=null)}};function s(t,a){var c=t.svgXML,h,p;try{h=c&&A(c,{ignoreViewBox:!0,ignoreRootClip:!0})||{},p=h.root,l(p!=null)}catch(T){throw new Error(`Invalid svg format
`+T.message)}var m=h.width,S=h.height,y=h.viewBoxRect;if(a||(a=m==null||S==null?p.getBoundingRect():new o(0,0,0,0),m!=null&&(a.width=m),S!=null&&(a.height=S)),y){var x=b(y,a.width,a.height),C=p;p=new g,p.add(C),C.scale=x.scale,C.position=x.position}return p.setClipPath(new v({shape:a.plain()})),{root:p,boundingRect:a}}k.exports=r},yWXo:function(k,B,d){var w=d("IwbS"),A=d("oVpE"),b=A.createSymbol,g=d("OS9S"),v=4,f=w.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(e,n){var i=n.points,r=n.size,s=this.symbolProxy,t=s.shape,a=e.getContext?e.getContext():e,c=a&&r[0]<v;if(c)return;for(var h=0;h<i.length;){var p=i[h++],m=i[h++];if(isNaN(p)||isNaN(m))continue;if(this.softClipShape&&!this.softClipShape.contain(p,m))continue;t.x=p-r[0]/2,t.y=m-r[1]/2,t.width=r[0],t.height=r[1],s.buildPath(e,t,!0)}},afterBrush:function(e){var n=this.shape,i=n.points,r=n.size,s=r[0]<v;if(!s)return;this.setTransform(e);for(var t=0;t<i.length;){var a=i[t++],c=i[t++];if(isNaN(a)||isNaN(c))continue;if(this.softClipShape&&!this.softClipShape.contain(a,c))continue;e.fillRect(a-r[0]/2,c-r[1]/2,r[0],r[1])}this.restoreTransform(e)},findDataIndex:function(e,n){for(var i=this.shape,r=i.points,s=i.size,t=Math.max(s[0],4),a=Math.max(s[1],4),c=r.length/2-1;c>=0;c--){var h=c*2,p=r[h]-t/2,m=r[h+1]-a/2;if(e>=p&&n>=m&&e<=p+t&&n<=m+a)return c}return-1}});function l(){this.group=new w.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e,n){this.group.removeAll();var i=new f({rectHover:!0,cursor:"default"});i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!1,n),this.group.add(i),this._incremental=null},u.updateLayout=function(e){if(this._incremental)return;var n=e.getLayout("symbolPoints");this.group.eachChild(function(i){if(i.startIndex!=null){var r=(i.endIndex-i.startIndex)*2,s=i.startIndex*4*2;n=new Float32Array(n.buffer,s,r)}i.setShape("points",n)})},u.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new g({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,n,i){var r;this._incremental?(r=new f,this._incremental.addDisplayable(r,!0)):(r=new f({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end}),r.incremental=!0,this.group.add(r)),r.setShape({points:n.getLayout("symbolPoints")}),this._setCommon(r,n,!!this._incremental,i)},u._setCommon=function(e,n,i,r){var s=n.hostModel;r=r||{};var t=n.getVisual("symbolSize");e.setShape("size",t instanceof Array?t:[t,t]),e.softClipShape=r.clipShape||null,e.symbolProxy=b(n.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var a=e.shape.size[0]<v;e.useStyle(s.getModel("itemStyle").getItemStyle(a?["color","shadowBlur","shadowColor"]:["color"]));var c=n.getVisual("color");c&&e.setColor(c),i||(e.seriesIndex=s.seriesIndex,e.on("mousemove",function(h){e.dataIndex=null;var p=e.findDataIndex(h.offsetX,h.offsetY);p>=0&&(e.dataIndex=p+(e.startIndex||0))}))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var o=l;k.exports=o},ycre:function(k,B,d){var w=d("711d"),A=w("length");k.exports=A},yik8:function(k,B,d){var w=d("bZqE"),A=w.eachAfter,b=w.eachBefore,g=d("Itpr"),v=g.init,f=g.firstWalk,l=g.secondWalk,u=g.separation,o=g.radialCoordinate,e=g.getViewRect;function n(r,s){r.eachSeriesByType("tree",function(t){i(t,s)})}function i(r,s){var t=e(r,s);r.layoutInfo=t;var a=r.get("layout"),c=0,h=0,p=null;a==="radial"?(c=2*Math.PI,h=Math.min(t.height,t.width)/2,p=u(function(N,P){return(N.parentNode===P.parentNode?1:2)/N.depth})):(c=t.width,h=t.height,p=u());var m=r.getData().tree.root,S=m.children[0];if(S){v(m),A(S,f,p),m.hierNode.modifier=-S.hierNode.prelim,b(S,l);var y=S,x=S,C=S;b(S,function(N){var P=N.getLayout().x;P<y.getLayout().x&&(y=N),P>x.getLayout().x&&(x=N),N.depth>C.depth&&(C=N)});var T=y===x?1:p(y,x)/2,_=T-y.getLayout().x,E=0,I=0,L=0,D=0;if(a==="radial")E=c/(x.getLayout().x+T+_),I=h/(C.depth-1||1),b(S,function(N){L=(N.getLayout().x+_)*E,D=(N.depth-1)*I;var P=o(L,D);N.setLayout({x:P.x,y:P.y,rawX:L,rawY:D},!0)});else{var F=r.getOrient();F==="RL"||F==="LR"?(I=h/(x.getLayout().x+T+_),E=c/(C.depth-1||1),b(S,function(N){D=(N.getLayout().x+_)*I,L=F==="LR"?(N.depth-1)*E:c-(N.depth-1)*E,N.setLayout({x:L,y:D},!0)})):(F==="TB"||F==="BT")&&(E=c/(x.getLayout().x+T+_),I=h/(C.depth-1||1),b(S,function(N){L=(N.getLayout().x+_)*E,D=F==="TB"?(N.depth-1)*I:h-(N.depth-1)*I,N.setLayout({x:L,y:D},!0)}))}}}k.exports=n},ynwM:function(k,B,d){var w=d("MFOe"),A=w.Global;k.exports={name:"oldFF-globalStorage",read:g,write:v,each:f,remove:l,clearAll:u};var b=A.globalStorage;function g(o){return b[o]}function v(o,e){b[o]=e}function f(o){for(var e=b.length-1;e>=0;e--){var n=b.key(e);o(b[n],n)}}function l(o){return b.removeItem(o)}function u(){f(function(o,e){delete b[o]})}},ypgQ:function(k,B,d){var w=d("bYtY"),A=d("4NO4"),b=d("bLfw"),g=w.each,v=w.clone,f=w.map,l=w.merge,u=/^(min|max)?(.+)$/;function o(a){this._api=a,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}o.prototype={constructor:o,setOption:function(a,c){a&&w.each(A.normalizeToArray(a.series),function(m){m&&m.data&&w.isTypedArray(m.data)&&w.setAsPrimitive(m.data)}),a=v(a);var h=this._optionBackup,p=e.call(this,a,c,!h);this._newBaseOption=p.baseOption,h?(s(h.baseOption,p.baseOption),p.timelineOptions.length&&(h.timelineOptions=p.timelineOptions),p.mediaList.length&&(h.mediaList=p.mediaList),p.mediaDefault&&(h.mediaDefault=p.mediaDefault)):this._optionBackup=p},mountOption:function(a){var c=this._optionBackup;return this._timelineOptions=f(c.timelineOptions,v),this._mediaList=f(c.mediaList,v),this._mediaDefault=v(c.mediaDefault),this._currentMediaIndices=[],v(a?c.baseOption:this._newBaseOption)},getTimelineOption:function(a){var c,h=this._timelineOptions;if(h.length){var p=a.getComponent("timeline");p&&(c=v(h[p.getCurrentIndex()],!0))}return c},getMediaOption:function(a){var c=this._api.getWidth(),h=this._api.getHeight(),p=this._mediaList,m=this._mediaDefault,S=[],y=[];if(!p.length&&!m)return y;for(var x=0,C=p.length;x<C;x++)n(p[x].query,c,h)&&S.push(x);return!S.length&&m&&(S=[-1]),S.length&&!r(S,this._currentMediaIndices)&&(y=f(S,function(T){return v(T===-1?m.option:p[T].option)})),this._currentMediaIndices=S,y}};function e(a,c,h){var p=[],m=[],S,y,x=a.timeline;if(a.baseOption&&(y=a.baseOption),(x||a.options)&&(y=y||{},p=(a.options||[]).slice()),a.media){y=y||{};var C=a.media;g(C,function(T){T&&T.option&&(T.query?m.push(T):S||(S=T))})}return y||(y=a),y.timeline||(y.timeline=x),g([y].concat(p).concat(w.map(m,function(T){return T.option})),function(T){g(c,function(_){_(T,h)})}),{baseOption:y,timelineOptions:p,mediaDefault:S,mediaList:m}}function n(a,c,h){var p={width:c,height:h,aspectratio:c/h},m=!0;return w.each(a,function(S,y){var x=y.match(u);if(!x||!x[1]||!x[2])return;var C=x[1],T=x[2].toLowerCase();i(p[T],S,C)||(m=!1)}),m}function i(a,c,h){return h==="min"?a>=c:h==="max"?a<=c:a===c}function r(a,c){return a.join(",")===c.join(",")}function s(a,c){c=c||{},g(c,function(h,p){if(h==null)return;var m=a[p];if(!b.hasClass(p))a[p]=l(m,h,!0);else{h=A.normalizeToArray(h),m=A.normalizeToArray(m);var S=A.mappingToExists(m,h);a[p]=f(S,function(y){return y.option&&y.exist?l(y.exist,y.option,!0):y.exist||y.option})}})}var t=o;k.exports=t},yxFR:function(k,B,d){var w=d("y+Vt"),A=d("nPnh"),b=A.subPixelOptimizeLine,g={},v=w.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(l,u){var o,e,n,i;this.subPixelOptimize?(b(g,u,this.style),o=g.x1,e=g.y1,n=g.x2,i=g.y2):(o=u.x1,e=u.y1,n=u.x2,i=u.y2);var r=u.percent;if(r===0)return;l.moveTo(o,e),r<1&&(n=o*(1-r)+n*r,i=e*(1-r)+i*r),l.lineTo(n,i)},pointAt:function(l){var u=this.shape;return[u.x1*(1-l)+u.x2*l,u.y1*(1-l)+u.y2*l]}});k.exports=v},z35g:function(k,B,d){var w=d("bYtY");function A(v){return this._axes[v]}var b=function(v){this._axes={},this._dimList=[],this.name=v||""};b.prototype={constructor:b,type:"cartesian",getAxis:function(v){return this._axes[v]},getAxes:function(){return w.map(this._dimList,A,this)},getAxesByScale:function(v){return v=v.toLowerCase(),w.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 l=this._dimList,u=v instanceof Array?[]:{},o=0;o<l.length;o++){var e=l[o],n=this._axes[e];u[e]=n[f](v[e])}return u}};var g=b;k.exports=g},z7Xi:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="UploadOutlined";var l=B.a=A.forwardRef(f)},zAh6:function(k,B,d){"use strict";d.d(B,"a",function(){return g});var w=d("wgJM"),A=d("i6bk");function b(v,f,l,u){var o=l-f;return v/=u/2,v<1?o/2*v*v*v+f:o/2*((v-=2)*v*v+2)+f}function g(v){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=f.getContainer,u=l===void 0?function(){return window}:l,o=f.callback,e=f.duration,n=e===void 0?450:e,i=u(),r=Object(A.a)(i,!0),s=Date.now(),t=function a(){var c=Date.now(),h=c-s,p=b(h>n?n:h,r,v,n);Object(A.b)(i)?i.scrollTo(window.pageXOffset,p):i instanceof HTMLDocument||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=p:i.scrollTop=p,h<n?Object(w.a)(a):typeof o=="function"&&o()};Object(w.a)(t)}},zDms:function(k,B,d){var w=d("bYtY"),A=d("OELB"),b=d("UOVi"),g=d("72pK"),v=w.each,f=A.asc,l=function(r,s,t,a){this._dimName=r,this._axisIndex=s,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=a,this._dataZoomModel=t};l.prototype={constructor:l,hostedBy:function(r){return this._dataZoomModel===r},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var r=[],s=this.ecModel;return s.eachSeries(function(t){if(b.isCoordSupported(t.get("coordinateSystem"))){var a=this._dimName,c=s.queryComponents({mainType:a+"Axis",index:t.get(a+"AxisIndex"),id:t.get(a+"AxisId")})[0];this._axisIndex===(c&&c.componentIndex)&&r.push(t)}},this),r},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var r=this._dimName,s=this.ecModel,t=this.getAxisModel(),a=r==="x"||r==="y",c,h;a?(h="gridIndex",c=r==="x"?"y":"x"):(h="polarIndex",c=r==="angle"?"radius":"angle");var p;return s.eachComponent(c+"Axis",function(m){(m.get(h)||0)===(t.get(h)||0)&&(p=m)}),p},getMinMaxSpan:function(){return w.clone(this._minMaxSpan)},calculateDataWindow:function(r){var s=this._dataExtent,t=this.getAxisModel(),a=t.axis.scale,c=this._dataZoomModel.getRangePropMode(),h=[0,100],p=[],m=[],S;v(["start","end"],function(C,T){var _=r[C],E=r[C+"Value"];c[T]==="percent"?(_==null&&(_=h[T]),E=a.parse(A.linearMap(_,h,s))):(S=!0,E=E==null?s[T]:a.parse(E),_=A.linearMap(E,s,h)),m[T]=E,p[T]=_}),f(m),f(p);var y=this._minMaxSpan;S?x(m,p,s,h,!1):x(p,m,h,s,!0);function x(C,T,_,E,I){var L=I?"Span":"ValueSpan";g(0,C,_,"all",y["min"+L],y["max"+L]);for(var D=0;D<2;D++)T[D]=A.linearMap(C[D],_,E,!0),I&&(T[D]=a.parse(T[D]))}return{valueWindow:m,percentWindow:p}},reset:function(r){if(r!==this._dataZoomModel)return;var s=this.getTargetSeriesModels();this._dataExtent=u(this,this._dimName,s),n(this);var t=this.calculateDataWindow(r.settledOption);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,e(this)},restore:function(r){if(r!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,e(this,!0)},filterData:function(r,s){if(r!==this._dataZoomModel)return;var t=this._dimName,a=this.getTargetSeriesModels(),c=r.get("filterMode"),h=this._valueWindow;if(c==="none")return;v(a,function(m){var S=m.getData(),y=S.mapDimension(t,!0);if(!y.length)return;c==="weakFilter"?S.filterSelf(function(x){for(var C,T,_,E=0;E<y.length;E++){var I=S.get(y[E],x),L=!isNaN(I),D=I<h[0],F=I>h[1];if(L&&!D&&!F)return!0;L&&(_=!0),D&&(C=!0),F&&(T=!0)}return _&&C&&T}):v(y,function(x){if(c==="empty")m.setData(S=S.map(x,function(T){return p(T)?T:NaN}));else{var C={};C[x]=h,S.selectRange(C)}}),v(y,function(x){S.setApproximateExtent(h,x)})});function p(m){return m>=h[0]&&m<=h[1]}}};function u(r,s,t){var a=[Infinity,-Infinity];return v(t,function(c){var h=c.getData();h&&v(h.mapDimension(s,!0),function(p){var m=h.getApproximateExtent(p);m[0]<a[0]&&(a[0]=m[0]),m[1]>a[1]&&(a[1]=m[1])})}),a[1]<a[0]&&(a=[NaN,NaN]),o(r,a),a}function o(r,s){var t=r.getAxisModel(),a=t.getMin(!0),c=t.get("type")==="category",h=c&&t.getCategories().length;a!=null&&a!=="dataMin"&&typeof a!="function"?s[0]=a:c&&(s[0]=h>0?0:NaN);var p=t.getMax(!0);return p!=null&&p!=="dataMax"&&typeof p!="function"?s[1]=p:c&&(s[1]=h>0?h-1:NaN),t.get("scale",!0)||(s[0]>0&&(s[0]=0),s[1]<0&&(s[1]=0)),s}function e(r,s){var t=r.getAxisModel(),a=r._percentWindow,c=r._valueWindow;if(!a)return;var h=A.getPixelPrecision(c,[0,500]);h=Math.min(h,20);var p=s||a[0]===0&&a[1]===100;t.setRange(p?null:+c[0].toFixed(h),p?null:+c[1].toFixed(h))}function n(r){var s=r._minMaxSpan={},t=r._dataZoomModel,a=r._dataExtent;v(["min","max"],function(c){var h=t.get(c+"Span"),p=t.get(c+"ValueSpan");p!=null&&(p=r.getAxisModel().axis.scale.parse(p)),p!=null?h=A.linearMap(a[0]+p,a,[0,100],!0):h!=null&&(p=A.linearMap(h,[0,100],a,!0)-a[0]),s[c+"Span"]=h,s[c+"ValueSpan"]=p})}var i=l;k.exports=i},zM3Q:function(k,B,d){var w=d("4NO4"),A=w.makeInner;function b(){var g=A();return function(v){var f=g(v),l=v.pipelineContext,u=f.large,o=f.progressiveRender,e=f.large=l&&l.large,n=f.progressiveRender=l&&l.progressiveRender;return!!(u^e||o^n)&&"reset"}}k.exports=b},zRKj:function(k,B,d){d("Ae16"),d("Sp2Z"),d("y4/Y")},zTMp:function(k,B,d){var w=d("bYtY"),A=d("Qxkt"),b=w.each,g=w.curry;function v(a,c){var h={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return f(h,a,c),h.seriesInvolved&&u(h,a),h}function f(a,c,h){var p=c.getComponent("tooltip"),m=c.getComponent("axisPointer"),S=m.get("link",!0)||[],y=[];b(h.getCoordinateSystems(),function(x){if(!x.axisPointerEnabled)return;var C=t(x.model),T=a.coordSysAxesInfo[C]={};a.coordSysMap[C]=x;var _=x.model,E=_.getModel("tooltip",p);if(b(x.getAxes(),g(F,!1,null)),x.getTooltipAxes&&p&&E.get("show")){var I=E.get("trigger")==="axis",L=E.get("axisPointer.type")==="cross",D=x.getTooltipAxes(E.get("axisPointer.axis"));(I||L)&&b(D.baseAxes,g(F,L?"cross":!0,I)),L&&b(D.otherAxes,g(F,"cross",!1))}function F(N,P,W){var R=W.model.getModel("axisPointer",m),j=R.get("show");if(!j||j==="auto"&&!N&&!s(R))return;P==null&&(P=R.get("triggerTooltip")),R=N?l(W,E,m,c,N,P):R;var H=R.get("snap"),K=t(W.model),U=P||H||W.type==="category",G=a.axesInfo[K]={key:K,axis:W,coordSys:x,axisPointerModel:R,triggerTooltip:P,involveSeries:U,snap:H,useHandle:s(R),seriesModels:[]};T[K]=G,a.seriesInvolved|=U;var z=o(S,W);if(z!=null){var Y=y[z]||(y[z]={axesInfo:{}});Y.axesInfo[K]=G,Y.mapper=S[z].mapper,G.linkGroup=Y}}})}function l(a,c,h,p,m,S){var y=c.getModel("axisPointer"),x={};b(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(E){x[E]=w.clone(y.get(E))}),x.snap=a.type!=="category"&&!!S,y.get("type")==="cross"&&(x.type="line");var C=x.label||(x.label={});if(C.show==null&&(C.show=!1),m==="cross"){var T=y.get("label.show");if(C.show=T!=null?T:!0,!S){var _=x.lineStyle=y.get("crossStyle");_&&w.defaults(C,_.textStyle)}}return a.model.getModel("axisPointer",new A(x,h,p))}function u(a,c){c.eachSeries(function(h){var p=h.coordinateSystem,m=h.get("tooltip.trigger",!0),S=h.get("tooltip.show",!0);if(!p||m==="none"||m===!1||m==="item"||S===!1||h.get("axisPointer.show",!0)===!1)return;b(a.coordSysAxesInfo[t(p.model)],function(y){var x=y.axis;p.getAxis(x.dim)===x&&(y.seriesModels.push(h),y.seriesDataCount==null&&(y.seriesDataCount=0),y.seriesDataCount+=h.getData().count())})},this)}function o(a,c){for(var h=c.model,p=c.dim,m=0;m<a.length;m++){var S=a[m]||{};if(e(S[p+"AxisId"],h.id)||e(S[p+"AxisIndex"],h.componentIndex)||e(S[p+"AxisName"],h.name))return m}}function e(a,c){return a==="all"||w.isArray(a)&&w.indexOf(a,c)>=0||a===c}function n(a){var c=i(a);if(!c)return;var h=c.axisPointerModel,p=c.axis.scale,m=h.option,S=h.get("status"),y=h.get("value");y!=null&&(y=p.parse(y));var x=s(h);S==null&&(m.status=x?"show":"hide");var C=p.getExtent().slice();C[0]>C[1]&&C.reverse(),(y==null||y>C[1])&&(y=C[1]),y<C[0]&&(y=C[0]),m.value=y,x&&(m.status=c.axis.scale.isBlank()?"hide":"show")}function i(a){var c=(a.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return c&&c.axesInfo[t(a)]}function r(a){var c=i(a);return c&&c.axisPointerModel}function s(a){return!!a.get("handle.show")}function t(a){return a.type+"||"+a.id}B.collect=v,B.fixValue=n,B.getAxisInfo=i,B.getAxisPointerModel=r,B.makeKey=t},zYTA:function(k,B,d){var w=d("bYtY"),A=256;function b(){var v=w.createCanvas();this.canvas=v,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}b.prototype={update:function(v,f,l,u,o,e){var n=this._getBrush(),i=this._getGradient(v,o,"inRange"),r=this._getGradient(v,o,"outOfRange"),s=this.pointSize+this.blurSize,t=this.canvas,a=t.getContext("2d"),c=v.length;t.width=f,t.height=l;for(var h=0;h<c;++h){var p=v[h],m=p[0],S=p[1],y=p[2],x=u(y);a.globalAlpha=x,a.drawImage(n,m-s,S-s)}if(!t.width||!t.height)return t;for(var C=a.getImageData(0,0,t.width,t.height),T=C.data,_=0,E=T.length,I=this.minOpacity,L=this.maxOpacity,D=L-I;_<E;){var x=T[_+3]/256,F=Math.floor(x*(A-1))*4;if(x>0){var N=e(x)?i:r;x>0&&(x=x*D+I),T[_++]=N[F],T[_++]=N[F+1],T[_++]=N[F+2],T[_++]=N[F+3]*x*256}else _+=4}return a.putImageData(C,0,0),t},_getBrush:function(){var v=this._brushCanvas||(this._brushCanvas=w.createCanvas()),f=this.pointSize+this.blurSize,l=f*2;v.width=l,v.height=l;var u=v.getContext("2d");return u.clearRect(0,0,l,l),u.shadowOffsetX=l,u.shadowBlur=this.blurSize,u.shadowColor="#000",u.beginPath(),u.arc(-f,f,this.pointSize,0,Math.PI*2,!0),u.closePath(),u.fill(),v},_getGradient:function(v,f,l){for(var u=this._gradientPixels,o=u[l]||(u[l]=new Uint8ClampedArray(256*4)),e=[0,0,0,0],n=0,i=0;i<256;i++)f[l](i/255,!0,e),o[n++]=e[0],o[n++]=e[1],o[n++]=e[2],o[n++]=e[3];return o}};var g=b;k.exports=g},zarK:function(k,B,d){var w=d("YH21"),A=w.addEventListener,b=w.removeEventListener,g=w.normalizeEvent,v=w.getNativeEvent,f=d("bYtY"),l=d("H6uX"),u=d("ItGF"),o=300,e=u.domSupported,n=function(){var N=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],P=["touchstart","touchend","touchmove"],W={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},R=f.map(N,function(j){var H=j.replace("mouse","pointer");return W.hasOwnProperty(H)?H:j});return{mouse:N,touch:P,pointer:R}}(),i={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function r(N){return N==="mousewheel"&&u.browser.firefox?"DOMMouseScroll":N}function s(N){var P=N.pointerType;return P==="pen"||P==="touch"}function t(N){N.touching=!0,N.touchTimer!=null&&(clearTimeout(N.touchTimer),N.touchTimer=null),N.touchTimer=setTimeout(function(){N.touching=!1,N.touchTimer=null},700)}function a(N){N&&(N.zrByTouch=!0)}function c(N,P){return g(N.dom,new p(N,P),!0)}function h(N,P){for(var W=P,R=!1;W&&W.nodeType!==9&&!(R=W.domBelongToZr||W!==P&&W===N.painterRoot);)W=W.parentNode;return R}function p(N,P){this.type=P.type,this.target=this.currentTarget=N.dom,this.pointerType=P.pointerType,this.clientX=P.clientX,this.clientY=P.clientY}var m=p.prototype;m.stopPropagation=m.stopImmediatePropagation=m.preventDefault=f.noop;var S={mousedown:function(P){P=g(this.dom,P),this._mayPointerCapture=[P.zrX,P.zrY],this.trigger("mousedown",P)},mousemove:function(P){P=g(this.dom,P);var W=this._mayPointerCapture;W&&(P.zrX!==W[0]||P.zrY!==W[1])&&E(this,!0),this.trigger("mousemove",P)},mouseup:function(P){P=g(this.dom,P),E(this,!1),this.trigger("mouseup",P)},mouseout:function(P){P=g(this.dom,P),this._pointerCapturing&&(P.zrEventControl="no_globalout");var W=P.toElement||P.relatedTarget;P.zrIsToLocalDOM=h(this,W),this.trigger("mouseout",P)},touchstart:function(P){P=g(this.dom,P),a(P),this._lastTouchMoment=new Date,this.handler.processGesture(P,"start"),S.mousemove.call(this,P),S.mousedown.call(this,P)},touchmove:function(P){P=g(this.dom,P),a(P),this.handler.processGesture(P,"change"),S.mousemove.call(this,P)},touchend:function(P){P=g(this.dom,P),a(P),this.handler.processGesture(P,"end"),S.mouseup.call(this,P),+new Date-this._lastTouchMoment<o&&S.click.call(this,P)},pointerdown:function(P){S.mousedown.call(this,P)},pointermove:function(P){s(P)||S.mousemove.call(this,P)},pointerup:function(P){S.mouseup.call(this,P)},pointerout:function(P){s(P)||S.mouseout.call(this,P)}};f.each(["click","mousewheel","dblclick","contextmenu"],function(N){S[N]=function(P){P=g(this.dom,P),this.trigger(N,P)}});var y={pointermove:function(P){s(P)||y.mousemove.call(this,P)},pointerup:function(P){y.mouseup.call(this,P)},mousemove:function(P){this.trigger("mousemove",P)},mouseup:function(P){var W=this._pointerCapturing;E(this,!1),this.trigger("mouseup",P),W&&(P.zrEventControl="only_globalout",this.trigger("mouseout",P))}};function x(N,P){var W=P.domHandlers;u.pointerEventsSupported?f.each(n.pointer,function(R){T(P,R,function(j){W[R].call(N,j)})}):(u.touchEventsSupported&&f.each(n.touch,function(R){T(P,R,function(j){W[R].call(N,j),t(P)})}),f.each(n.mouse,function(R){T(P,R,function(j){j=v(j),P.touching||W[R].call(N,j)})}))}function C(N,P){u.pointerEventsSupported?f.each(i.pointer,W):u.touchEventsSupported||f.each(i.mouse,W);function W(R){function j(H){H=v(H),h(N,H.target)||(H=c(N,H),P.domHandlers[R].call(N,H))}T(P,R,j,{capture:!0})}}function T(N,P,W,R){N.mounted[P]=W,N.listenerOpts[P]=R,A(N.domTarget,r(P),W,R)}function _(N){var P=N.mounted;for(var W in P)P.hasOwnProperty(W)&&b(N.domTarget,r(W),P[W],N.listenerOpts[W]);N.mounted={}}function E(N,P){if(N._mayPointerCapture=null,e&&N._pointerCapturing^P){N._pointerCapturing=P;var W=N._globalHandlerScope;P?C(N,W):_(W)}}function I(N,P){this.domTarget=N,this.domHandlers=P,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function L(N,P){l.call(this),this.dom=N,this.painterRoot=P,this._localHandlerScope=new I(N,S),e&&(this._globalHandlerScope=new I(document,y)),this._pointerCapturing=!1,this._mayPointerCapture=null,x(this,this._localHandlerScope)}var D=L.prototype;D.dispose=function(){_(this._localHandlerScope),e&&_(this._globalHandlerScope)},D.setCursor=function(N){this.dom.style&&(this.dom.style.cursor=N||"default")},f.mixin(L,l);var F=L;k.exports=F},zeV3:function(k,B,d){"use strict";d.d(B,"a",function(){return n});var w=d("wx14"),A=d("rePB"),b=d("ODXe"),g=d("q1tI"),v=d("TSYQ"),f=d.n(v),l=d("Zm9Q"),u=d("H84U");function o(a){var c=a.className,h=a.direction,p=a.index,m=a.marginDirection,S=a.children,y=a.split,x=a.wrap,C=g.useContext(n),T=C.horizontalSize,_=C.verticalSize,E=C.latestIndex,I={};return h==="vertical"?p<E&&(I={marginBottom:T/(y?2:1)}):I=Object(w.a)(Object(w.a)({},p<E&&Object(A.a)({},m,T/(y?2:1))),x&&{paddingBottom:_}),S==null?null:g.createElement(g.Fragment,null,g.createElement("div",{className:c,style:I},S),p<E&&y&&g.createElement("span",{className:"".concat(c,"-split"),style:I},y))}var e=function(a,c){var h={};for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&c.indexOf(p)<0&&(h[p]=a[p]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,p=Object.getOwnPropertySymbols(a);m<p.length;m++)c.indexOf(p[m])<0&&Object.prototype.propertyIsEnumerable.call(a,p[m])&&(h[p[m]]=a[p[m]]);return h},n=g.createContext({latestIndex:0,horizontalSize:0,verticalSize:0}),i={small:8,middle:16,large:24};function r(a){return typeof a=="string"?i[a]:a||0}var s=function(c){var h,p=g.useContext(u.b),m=p.getPrefixCls,S=p.space,y=p.direction,x=c.size,C=x===void 0?(S==null?void 0:S.size)||"small":x,T=c.align,_=c.className,E=c.children,I=c.direction,L=I===void 0?"horizontal":I,D=c.prefixCls,F=c.split,N=c.style,P=c.wrap,W=P===void 0?!1:P,R=e(c,["size","align","className","children","direction","prefixCls","split","style","wrap"]),j=g.useMemo(function(){return(Array.isArray(C)?C:[C,C]).map(function(pe){return r(pe)})},[C]),H=Object(b.a)(j,2),K=H[0],U=H[1],G=Object(l.a)(E,{keepEmpty:!0});if(G.length===0)return null;var z=T===void 0&&L==="horizontal"?"center":T,Y=m("space",D),q=f()(Y,"".concat(Y,"-").concat(L),(h={},Object(A.a)(h,"".concat(Y,"-rtl"),y==="rtl"),Object(A.a)(h,"".concat(Y,"-align-").concat(z),z),h),_),oe="".concat(Y,"-item"),ie=y==="rtl"?"marginLeft":"marginRight",se=0,he=G.map(function(pe,_e){return pe!=null&&(se=_e),g.createElement(o,{className:oe,key:"".concat(oe,"-").concat(_e),direction:L,index:_e,marginDirection:ie,split:F,wrap:W},pe)});return g.createElement("div",Object(w.a)({className:q,style:Object(w.a)(Object(w.a)({},W&&{flexWrap:"wrap",marginBottom:-U}),N)},R),g.createElement(n.Provider,{value:{horizontalSize:K,verticalSize:U,latestIndex:se}},he))},t=B.b=s},zoYe:function(k,B,d){var w=d("nmnc"),A=d("eUgh"),b=d("Z0cm"),g=d("/9aa"),v=1/0,f=w?w.prototype:void 0,l=f?f.toString:void 0;function u(o){if(typeof o=="string")return o;if(b(o))return A(o,u)+"";if(g(o))return l?l.call(o):"";var e=o+"";return e=="0"&&1/o==-v?"-0":e}k.exports=u},zs7G:function(k,B,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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"},g=b,v=d("6VBw"),f=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:g}))};f.displayName="DoubleRightOutlined";var l=B.a=A.forwardRef(f)},zuHt:function(k,B,d){var w=d("bYtY");function A(b){var g={};b.eachSeriesByType("map",function(v){var f=v.getMapType();if(v.getHostGeoModel()||g[f])return;var l={};w.each(v.seriesGroup,function(o){var e=o.coordinateSystem,n=o.originalData;o.get("showLegendSymbol")&&b.getComponent("legend")&&n.each(n.mapDimension("value"),function(i,r){var s=n.getName(r),t=e.getRegion(s);if(!t||isNaN(i))return;var a=l[s]||0,c=e.dataToPoint(t.center);l[s]=a+1,n.setItemLayout(r,{point:c,offset:a})})});var u=v.getData();u.each(function(o){var e=u.getName(o),n=u.getItemLayout(o)||{};n.showLabel=!l[e],u.setItemLayout(o,n)}),g[f]=!0})}k.exports=A}}]);