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.
1 line
3.9 MiB
1 line
3.9 MiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[0],{"+6XX":function(e,t,n){var r=n("y1pI");function i(e){return r(this.__data__,e)>-1}e.exports=i},"+BJd":function(e,t,n){"use strict";n("cIOH"),n("6MrE")},"+QRC":function(e,t,n){"use strict";var r=n("E9nw"),i={"text/plain":"Text","text/html":"Url",default:"Text"},o="Copy to clipboard: #{key}, Enter";function a(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function s(e,t){var n,s,l,c,u,d,h=!1;t||(t={}),n=t.debug||!1;try{l=r(),c=document.createRange(),u=document.getSelection(),d=document.createElement("span"),d.textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[t.format]||i["default"];window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(d),c.selectNodeContents(d),u.addRange(c);var f=document.execCommand("copy");if(!f)throw new Error("copy command was unsuccessful");h=!0}catch(p){n&&console.error("unable to copy using execCommand: ",p),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),h=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),s=a("message"in t?t.message:o),window.prompt(s,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(c):u.removeAllRanges()),d&&document.body.removeChild(d),l()}return h}e.exports=s},"+TT/":function(e,t,n){var r=n("bYtY"),i=n("mFDi"),o=n("OELB"),a=o.parsePercent,s=n("7aKB"),l=r.each,c=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function d(e,t,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild((function(l,c){var u,d,h=l.position,f=l.getBoundingRect(),p=t.childAt(c+1),A=p&&p.getBoundingRect();if("horizontal"===e){var g=f.width+(A?-A.x+f.x:0);u=o+g,u>r||l.newline?(o=0,u=g,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var m=f.height+(A?-A.y+f.y:0);d=a+m,d>i||l.newline?(o+=s+n,a=0,d=m,s=f.width):s=Math.max(s,f.width)}l.newline||(h[0]=o,h[1]=a,"horizontal"===e?o=u+n:a=d+n)}))}var h=d,f=r.curry(d,"vertical"),p=r.curry(d,"horizontal");function A(e,t,n){var r=t.width,i=t.height,o=a(e.x,r),l=a(e.y,i),c=a(e.x2,r),u=a(e.y2,i);return(isNaN(o)||isNaN(parseFloat(e.x)))&&(o=0),(isNaN(c)||isNaN(parseFloat(e.x2)))&&(c=r),(isNaN(l)||isNaN(parseFloat(e.y)))&&(l=0),(isNaN(u)||isNaN(parseFloat(e.y2)))&&(u=i),n=s.normalizeCssArray(n||0),{width:Math.max(c-o-n[1]-n[3],0),height:Math.max(u-l-n[0]-n[2],0)}}function g(e,t,n){n=s.normalizeCssArray(n||0);var r=t.width,o=t.height,l=a(e.left,r),c=a(e.top,o),u=a(e.right,r),d=a(e.bottom,o),h=a(e.width,r),f=a(e.height,o),p=n[2]+n[0],A=n[1]+n[3],g=e.aspect;switch(isNaN(h)&&(h=r-u-A-l),isNaN(f)&&(f=o-d-p-c),null!=g&&(isNaN(h)&&isNaN(f)&&(g>r/o?h=.8*r:f=.8*o),isNaN(h)&&(h=g*f),isNaN(f)&&(f=h/g)),isNaN(l)&&(l=r-u-h-A),isNaN(c)&&(c=o-d-f-p),e.left||e.right){case"center":l=r/2-h/2-n[3];break;case"right":l=r-h-A;break}switch(e.top||e.bottom){case"middle":case"center":c=o/2-f/2-n[0];break;case"bottom":c=o-f-p;break}l=l||0,c=c||0,isNaN(h)&&(h=r-A-l-(u||0)),isNaN(f)&&(f=o-p-c-(d||0));var m=new i(l+n[3],c+n[0],h,f);return m.margin=n,m}function m(e,t,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],c=a&&a.boundingMode||"all";if(s||l){var u;if("raw"===c)u="group"===e.type?new i(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(u=e.getBoundingRect(),e.needLocalTransform()){var d=e.getLocalTransform();u=u.clone(),u.applyTransform(d)}t=g(r.defaults({width:u.width,height:u.height},t),n,o);var h=e.position,f=s?t.x-u.x:0,p=l?t.y-u.y:0;e.attr("position","raw"===c?[f,p]:[h[0]+f,h[1]+p])}}function v(e,t){return null!=e[u[t][0]]||null!=e[u[t][1]]&&null!=e[u[t][2]]}function y(e,t,n){!r.isObject(n)&&(n={});var i=n.ignoreSize;!r.isArray(i)&&(i=[i,i]);var o=s(u[0],0),a=s(u[1],1);function s(n,r){var o={},a=0,s={},u=0,h=2;if(l(n,(function(t){s[t]=e[t]})),l(n,(function(e){c(t,e)&&(o[e]=s[e]=t[e]),d(o,e)&&a++,d(s,e)&&u++})),i[r])return d(t,n[1])?s[n[2]]=null:d(t,n[2])&&(s[n[1]]=null),s;if(u!==h&&a){if(a>=h)return o;for(var f=0;f<n.length;f++){var p=n[f];if(!c(o,p)&&c(e,p)){o[p]=e[p];break}}return o}return s}function c(e,t){return e.hasOwnProperty(t)}function d(e,t){return null!=e[t]&&"auto"!==e[t]}function h(e,t,n){l(e,(function(e){t[e]=n[e]}))}h(u[0],e,o),h(u[1],e,a)}function b(e){return _({},e)}function _(e,t){return t&&e&&l(c,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}t.LOCATION_PARAMS=c,t.HV_NAMES=u,t.box=h,t.vbox=f,t.hbox=p,t.getAvailableSize=A,t.getLayoutRect=g,t.positionElement=m,t.sizeCalculable=v,t.mergeLayoutParam=y,t.getLayoutParams=b,t.copyLayoutParams=_},"+Zaj":function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("ugBc")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="CalendarOutlined";var h=a.forwardRef(d);t.default=h},"+d4F":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("y3Yb"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"+eQT":function(e,t,n){"use strict";var r=n("wd/R"),i=n.n(r),o=n("Kwbf"),a={getNow:function(){return i()()},getWeekDay:function(e){var t=e.clone().locale("en_US");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},addYear:function(e,t){var n=e.clone();return n.add(t,"year")},addMonth:function(e,t){var n=e.clone();return n.add(t,"month")},addDate:function(e,t){var n=e.clone();return n.add(t,"day")},setYear:function(e,t){var n=e.clone();return n.year(t)},setMonth:function(e,t){var n=e.clone();return n.month(t)},setDate:function(e,t){var n=e.clone();return n.date(t)},setHour:function(e,t){var n=e.clone();return n.hour(t)},setMinute:function(e,t){var n=e.clone();return n.minute(t)},setSecond:function(e,t){var n=e.clone();return n.second(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){var t=i()().locale(e);return t.localeData().firstDayOfWeek()},getWeek:function(e,t){var n=t.clone(),r=n.locale(e);return r.week()},getShortWeekDays:function(e){var t=i()().locale(e);return t.localeData().weekdaysMin()},getShortMonths:function(e){var t=i()().locale(e);return t.localeData().monthsShort()},format:function(e,t,n){var r=t.clone(),i=r.locale(e);return i.format(n)},parse:function(e,t,n){for(var r=[],a=0;a<n.length;a+=1){var s=n[a],l=t;if(s.includes("wo")||s.includes("Wo")){s=s.replace(/wo/g,"w").replace(/Wo/g,"W");var c=s.match(/[-YyMmDdHhSsWwGg]+/g),u=l.match(/[-\d]+/g);c&&u?(s=c.join(""),l=u.join("")):r.push(s.replace(/o/g,""))}var d=i()(l,s,e,!0);if(d.isValid())return d}for(var h=0;h<r.length;h+=1){var f=i()(t,r[h],e,!1);if(f.isValid())return Object(o["b"])(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),f}return null}}},s=a,l=n("pVnL"),c=n.n(l),u=n("q1tI"),d=n.n(u),h=n("2/Rp");function f(e){return u["createElement"](h["a"],c()({size:"small",type:"primary"},e))}var p=n("mr32");function A(e){return u["createElement"](p["a"],c()({color:"blue"},e))}var g=n("lSNA"),m=n.n(g),v=n("lwsE"),y=n.n(v),b=n("W8MJ"),_=n.n(b),w=n("7W2i"),x=n.n(w),C=n("LQ03"),S=n.n(C),k=n("TSYQ"),E=n.n(k),O=n("r/2G"),B=n.n(O),M=n("XzQk"),T=n.n(M),I=n("kbBi"),L=n.n(I),D=n("1OyB"),P=n("vuIU"),N=n("Ji7U"),j=n("LK+K"),F=n("rePB"),R=n("VTBJ"),U=n("ODXe"),H=n("6cGi"),Q=n("U8pU"),K=n("4IlW"),z=u["createContext"]({}),V=z,W={visibility:"hidden"};function G(e){var t=e.prefixCls,n=e.prevIcon,r=void 0===n?"\u2039":n,i=e.nextIcon,o=void 0===i?"\u203a":i,a=e.superPrevIcon,s=void 0===a?"\xab":a,l=e.superNextIcon,c=void 0===l?"\xbb":l,d=e.onSuperPrev,h=e.onSuperNext,f=e.onPrev,p=e.onNext,A=e.children,g=u["useContext"](V),m=g.hideNextBtn,v=g.hidePrevBtn;return u["createElement"]("div",{className:t},d&&u["createElement"]("button",{type:"button",onClick:d,tabIndex:-1,className:"".concat(t,"-super-prev-btn"),style:v?W:{}},s),f&&u["createElement"]("button",{type:"button",onClick:f,tabIndex:-1,className:"".concat(t,"-prev-btn"),style:v?W:{}},r),u["createElement"]("div",{className:"".concat(t,"-view")},A),p&&u["createElement"]("button",{type:"button",onClick:p,tabIndex:-1,className:"".concat(t,"-next-btn"),style:m?W:{}},o),h&&u["createElement"]("button",{type:"button",onClick:h,tabIndex:-1,className:"".concat(t,"-super-next-btn"),style:m?W:{}},c))}var X=G;function q(e){var t=u["useContext"](V),n=t.hideHeader;if(n)return null;var r=e.prefixCls,i=e.generateConfig,o=e.locale,a=e.value,s=e.format,l="".concat(r,"-header");return u["createElement"](X,{prefixCls:l},a?i.locale.format(o.locale,a,s):"\xa0")}var Y=q,Z=n("YrtM"),J=n("KQm4"),$=new Map;function ee(e,t,n){if($.get(e)&&cancelAnimationFrame($.get(e)),n<=0)$.set(e,requestAnimationFrame((function(){e.scrollTop=t})));else{var r=t-e.scrollTop,i=r/n*10;$.set(e,requestAnimationFrame((function(){e.scrollTop+=i,e.scrollTop!==t&&ee(e,t,n-10)})))}}function te(e,t){var n=t.onLeftRight,r=t.onCtrlLeftRight,i=t.onUpDown,o=t.onPageUpDown,a=t.onEnter,s=e.which,l=e.ctrlKey,c=e.metaKey;switch(s){case K["a"].LEFT:if(l||c){if(r)return r(-1),!0}else if(n)return n(-1),!0;break;case K["a"].RIGHT:if(l||c){if(r)return r(1),!0}else if(n)return n(1),!0;break;case K["a"].UP:if(i)return i(-1),!0;break;case K["a"].DOWN:if(i)return i(1),!0;break;case K["a"].PAGE_UP:if(o)return o(-1),!0;break;case K["a"].PAGE_DOWN:if(o)return o(1),!0;break;case K["a"].ENTER:if(a)return a(),!0;break}return!1}function ne(e,t,n,r){var i=e;if(!i)switch(t){case"time":i=r?"hh:mm:ss a":"HH:mm:ss";break;case"week":i="gggg-wo";break;case"month":i="YYYY-MM";break;case"quarter":i="YYYY-[Q]Q";break;case"year":i="YYYY";break;default:i=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return i}function re(e,t){var n="time"===e?8:10;return Math.max(n,t.length)+2}var ie=null,oe=new Set;function ae(e){return!ie&&"undefined"!==typeof window&&window.addEventListener&&(ie=function(e){Object(J["a"])(oe).forEach((function(t){t(e)}))},window.addEventListener("mousedown",ie)),oe.add(e),function(){oe["delete"](e),0===oe.size&&(window.removeEventListener("mousedown",ie),ie=null)}}var se=function(e){return"month"===e||"date"===e?"year":e},le=function(e){return"date"===e?"month":e},ce=function(e){return"month"===e||"date"===e?"quarter":e},ue=function(e){return"date"===e?"week":e},de={year:se,month:le,quarter:ce,week:ue,time:null,date:null};function he(e,t){return e.some((function(e){return e&&e.contains(t)}))}function fe(e){var t=e.prefixCls,n=e.units,r=e.onSelect,i=e.value,o=e.active,a=e.hideDisabledOptions,s="".concat(t,"-cell"),l=u["useContext"](V),c=l.open,d=u["useRef"](null),h=u["useRef"](new Map);return u["useLayoutEffect"]((function(){var e=h.current.get(i);e&&!1!==c&&ee(d.current,e.offsetTop,120)}),[i]),u["useLayoutEffect"]((function(){if(c){var e=h.current.get(i);e&&ee(d.current,e.offsetTop,0)}}),[c]),u["createElement"]("ul",{className:E()("".concat(t,"-column"),Object(F["a"])({},"".concat(t,"-column-active"),o)),ref:d,style:{position:"relative"}},n.map((function(e){var t;return a&&e.disabled?null:u["createElement"]("li",{key:e.value,ref:function(t){h.current.set(e.value,t)},className:E()(s,(t={},Object(F["a"])(t,"".concat(s,"-disabled"),e.disabled),Object(F["a"])(t,"".concat(s,"-selected"),i===e.value),t)),onClick:function(){e.disabled||r(e.value)}},u["createElement"]("div",{className:"".concat(s,"-inner")},e.label))})))}var pe=fe;function Ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",r=String(e);while(r.length<t)r="".concat(n).concat(e);return r}var ge=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t};function me(e){return null===e||void 0===e?[]:Array.isArray(e)?e:[e]}function ve(e){var t={};return Object.keys(e).forEach((function(n){"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n&&"name"!==n||"data-__"===n.substr(0,7)||(t[n]=e[n])})),t}function ye(e,t){return e?e[t]:null}function be(e,t,n){var r=[ye(e,0),ye(e,1)];return r[n]="function"===typeof t?t(r[n]):t,r[0]||r[1]?r:null}function _e(e,t,n,r,i){var o=e.setHour(t,n);return o=e.setMinute(o,r),o=e.setSecond(o,i),o}function we(e,t,n,r,i,o){var a=Math.floor(e/r)*r;if(a<e)return[a,60-i,60-o];var s=Math.floor(t/i)*i;if(s<t)return[a,s,60-o];var l=Math.floor(n/o)*o;return[a,s,l]}function xe(e,t){if(e.length!==t.length)return!0;for(var n=0;n<e.length;n+=1)if(e[n].disabled!==t[n].disabled)return!0;return!1}function Ce(e,t,n,r){for(var i=[],o=e;o<=t;o+=n)i.push({label:Ae(o,2),value:o,disabled:(r||[]).includes(o)});return i}function Se(e){var t,n=e.generateConfig,r=e.prefixCls,i=e.operationRef,o=e.activeColumnIndex,a=e.value,s=e.showHour,l=e.showMinute,c=e.showSecond,d=e.use12Hours,h=e.hourStep,f=void 0===h?1:h,p=e.minuteStep,A=void 0===p?1:p,g=e.secondStep,m=void 0===g?1:g,v=e.disabledHours,y=e.disabledMinutes,b=e.disabledSeconds,_=e.hideDisabledOptions,w=e.onSelect,x=[],C="".concat(r,"-content"),S="".concat(r,"-time-panel"),k=a?n.getHour(a):-1,E=a?n.getMinute(a):-1,O=a?n.getSecond(a):-1,B=function(e,t,r,i){var o=a||n.getNow(),s=Math.max(0,t),l=Math.max(0,r),c=Math.max(0,i);return o=_e(n,o,d&&e?s+12:s,l,c),o},M=Ce(0,23,f,v&&v()),T=Object(Z["a"])((function(){return M}),M,xe);d&&(t=k>=12,k%=12);var I=u["useMemo"]((function(){if(!d)return[!1,!1];var e=[!0,!0];return T.forEach((function(t){var n=t.disabled,r=t.value;n||(r>=12?e[1]=!1:e[0]=!1)})),e}),[d,T]),L=Object(U["a"])(I,2),D=L[0],P=L[1],N=u["useMemo"]((function(){return d?T.filter(t?function(e){return e.value>=12}:function(e){return e.value<12}).map((function(e){var t=e.value%12,n=0===t?"12":Ae(t,2);return Object(R["a"])(Object(R["a"])({},e),{},{label:n,value:t})})):T}),[d,T]),j=Ce(0,59,A,y&&y(k)),F=Ce(0,59,m,b&&b(k,E));function H(e,t,n,r,i){!1!==e&&x.push({node:u["cloneElement"](t,{prefixCls:S,value:n,active:o===x.length,onSelect:i,units:r,hideDisabledOptions:_}),onSelect:i,value:n,units:r})}i.current={onUpDown:function(e){var t=x[o];if(t)for(var n=t.units.findIndex((function(e){return e.value===t.value})),r=t.units.length,i=1;i<r;i+=1){var a=t.units[(n+e*i+r)%r];if(!0!==a.disabled){t.onSelect(a.value);break}}}},H(s,u["createElement"](pe,{key:"hour"}),k,N,(function(e){w(B(t,e,E,O),"mouse")})),H(l,u["createElement"](pe,{key:"minute"}),E,j,(function(e){w(B(t,k,e,O),"mouse")})),H(c,u["createElement"](pe,{key:"second"}),O,F,(function(e){w(B(t,k,E,e),"mouse")}));var Q=-1;return"boolean"===typeof t&&(Q=t?1:0),H(!0===d,u["createElement"](pe,{key:"12hours"}),Q,[{label:"AM",value:0,disabled:D},{label:"PM",value:1,disabled:P}],(function(e){w(B(!!e,k,E,O),"mouse")})),u["createElement"]("div",{className:C},x.map((function(e){var t=e.node;return t})))}var ke=Se,Ee=function(e){return e.filter((function(e){return!1!==e})).length};function Oe(e){var t=e.generateConfig,n=e.format,r=void 0===n?"HH:mm:ss":n,i=e.prefixCls,o=e.active,a=e.operationRef,s=e.showHour,l=e.showMinute,c=e.showSecond,d=e.use12Hours,h=void 0!==d&&d,f=e.onSelect,p=e.value,A="".concat(i,"-time-panel"),g=u["useRef"](),m=u["useState"](-1),v=Object(U["a"])(m,2),y=v[0],b=v[1],_=Ee([s,l,c,h]);return a.current={onKeyDown:function(e){return te(e,{onLeftRight:function(e){b((y+e+_)%_)},onUpDown:function(e){-1===y?b(0):g.current&&g.current.onUpDown(e)},onEnter:function(){f(p||t.getNow(),"key"),b(-1)}})},onBlur:function(){b(-1)}},u["createElement"]("div",{className:E()(A,Object(F["a"])({},"".concat(A,"-active"),o))},u["createElement"](Y,Object.assign({},e,{format:r,prefixCls:i})),u["createElement"](ke,Object.assign({},e,{prefixCls:i,activeColumnIndex:y,operationRef:g})))}var Be=Oe,Me=7;function Te(e,t){return!e&&!t||!(!e||!t)&&void 0}function Ie(e,t,n){var r=Te(t,n);if("boolean"===typeof r)return r;var i=Math.floor(e.getYear(t)/10),o=Math.floor(e.getYear(n)/10);return i===o}function Le(e,t,n){var r=Te(t,n);return"boolean"===typeof r?r:e.getYear(t)===e.getYear(n)}function De(e,t){var n=Math.floor(e.getMonth(t)/3);return n+1}function Pe(e,t,n){var r=Te(t,n);return"boolean"===typeof r?r:Le(e,t,n)&&De(e,t)===De(e,n)}function Ne(e,t,n){var r=Te(t,n);return"boolean"===typeof r?r:Le(e,t,n)&&e.getMonth(t)===e.getMonth(n)}function je(e,t,n){var r=Te(t,n);return"boolean"===typeof r?r:e.getYear(t)===e.getYear(n)&&e.getMonth(t)===e.getMonth(n)&&e.getDate(t)===e.getDate(n)}function Fe(e,t,n){var r=Te(t,n);return"boolean"===typeof r?r:e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}function Re(e,t,n,r){var i=Te(n,r);return"boolean"===typeof i?i:e.locale.getWeek(t,n)===e.locale.getWeek(t,r)}function Ue(e,t,n){return je(e,t,n)&&Fe(e,t,n)}function He(e,t,n,r){return!!(t&&n&&r)&&(!je(e,t,r)&&!je(e,n,r)&&e.isAfter(r,t)&&e.isAfter(n,r))}function Qe(e,t,n){var r=t.locale.getWeekFirstDay(e),i=t.setDate(n,1),o=t.getWeekDay(i),a=t.addDate(i,r-o);return t.getMonth(a)===t.getMonth(n)&&t.getDate(a)>1&&(a=t.addDate(a,-7)),a}function Ke(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;switch(t){case"year":return n.addYear(e,10*r);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}var ze=u["createContext"]({}),Ve=ze;function We(e){var t=e.cellPrefixCls,n=e.generateConfig,r=e.rangedValue,i=e.hoverRangedValue,o=e.isInView,a=e.isSameCell,s=e.offsetCell,l=e.today,c=e.value;function u(e){var u,d=s(e,-1),h=s(e,1),f=ye(r,0),p=ye(r,1),A=ye(i,0),g=ye(i,1),m=He(n,A,g,e);function v(e){return a(f,e)}function y(e){return a(p,e)}var b=a(A,e),_=a(g,e),w=(m||_)&&(!o(d)||y(d)),x=(m||b)&&(!o(h)||v(h));return u={},Object(F["a"])(u,"".concat(t,"-in-view"),o(e)),Object(F["a"])(u,"".concat(t,"-in-range"),He(n,f,p,e)),Object(F["a"])(u,"".concat(t,"-range-start"),v(e)),Object(F["a"])(u,"".concat(t,"-range-end"),y(e)),Object(F["a"])(u,"".concat(t,"-range-start-single"),v(e)&&!p),Object(F["a"])(u,"".concat(t,"-range-end-single"),y(e)&&!f),Object(F["a"])(u,"".concat(t,"-range-start-near-hover"),v(e)&&(a(d,A)||He(n,A,g,d))),Object(F["a"])(u,"".concat(t,"-range-end-near-hover"),y(e)&&(a(h,g)||He(n,A,g,h))),Object(F["a"])(u,"".concat(t,"-range-hover"),m),Object(F["a"])(u,"".concat(t,"-range-hover-start"),b),Object(F["a"])(u,"".concat(t,"-range-hover-end"),_),Object(F["a"])(u,"".concat(t,"-range-hover-edge-start"),w),Object(F["a"])(u,"".concat(t,"-range-hover-edge-end"),x),Object(F["a"])(u,"".concat(t,"-range-hover-edge-start-near-range"),w&&a(d,p)),Object(F["a"])(u,"".concat(t,"-range-hover-edge-end-near-range"),x&&a(h,f)),Object(F["a"])(u,"".concat(t,"-today"),a(l,e)),Object(F["a"])(u,"".concat(t,"-selected"),a(c,e)),u}return u}function Ge(e){for(var t=e.prefixCls,n=e.disabledDate,r=e.onSelect,i=e.rowNum,o=e.colNum,a=e.prefixColumn,s=e.rowClassName,l=e.baseDate,c=e.getCellClassName,d=e.getCellText,h=e.getCellNode,f=e.getCellDate,p=e.titleCell,A=e.headerCells,g=u["useContext"](V),m=g.onDateMouseEnter,v=g.onDateMouseLeave,y="".concat(t,"-cell"),b=[],_=0;_<i;_+=1){for(var w=[],x=void 0,C=function(e){var t=_*o+e,i=f(l,t),s=n&&n(i);0===e&&(x=i,a&&w.push(a(x))),w.push(u["createElement"]("td",{key:e,title:p&&p(i),className:E()(y,Object(R["a"])(Object(F["a"])({},"".concat(y,"-disabled"),s),c(i))),onClick:function(){s||r(i)},onMouseEnter:function(){!s&&m&&m(i)},onMouseLeave:function(){!s&&v&&v(i)}},h?h(i):u["createElement"]("div",{className:"".concat(y,"-inner")},d(i))))},S=0;S<o;S+=1)C(S);b.push(u["createElement"]("tr",{key:_,className:s&&s(x)},w))}return u["createElement"]("div",{className:"".concat(t,"-body")},u["createElement"]("table",{className:"".concat(t,"-content")},A&&u["createElement"]("thead",null,u["createElement"]("tr",null,A)),u["createElement"]("tbody",null,b)))}function Xe(e){var t=e.prefixCls,n=e.generateConfig,r=e.prefixColumn,i=e.locale,o=e.rowCount,a=e.viewDate,s=e.value,l=e.dateRender,c=u["useContext"](Ve),d=c.rangedValue,h=c.hoverRangedValue,f=Qe(i.locale,n,a),p="".concat(t,"-cell"),A=n.locale.getWeekFirstDay(i.locale),g=n.getNow(),m=[],v=i.shortWeekDays||(n.locale.getShortWeekDays?n.locale.getShortWeekDays(i.locale):[]);r&&m.push(u["createElement"]("th",{key:"empty","aria-label":"empty cell"}));for(var y=0;y<Me;y+=1)m.push(u["createElement"]("th",{key:y},v[(y+A)%Me]));var b=We({cellPrefixCls:p,today:g,value:s,generateConfig:n,rangedValue:r?null:d,hoverRangedValue:r?null:h,isSameCell:function(e,t){return je(n,e,t)},isInView:function(e){return Ne(n,e,a)},offsetCell:function(e,t){return n.addDate(e,t)}}),_=l?function(e){return l(e,g)}:void 0;return u["createElement"](Ge,Object.assign({},e,{rowNum:o,colNum:Me,baseDate:f,getCellNode:_,getCellText:n.getDate,getCellClassName:b,getCellDate:n.addDate,titleCell:function(e){return n.locale.format(i.locale,e,"YYYY-MM-DD")},headerCells:m}))}var qe=Xe;function Ye(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,i=e.viewDate,o=e.onNextMonth,a=e.onPrevMonth,s=e.onNextYear,l=e.onPrevYear,c=e.onYearClick,d=e.onMonthClick,h=u["useContext"](V),f=h.hideHeader;if(f)return null;var p="".concat(t,"-header"),A=r.shortMonths||(n.locale.getShortMonths?n.locale.getShortMonths(r.locale):[]),g=n.getMonth(i),m=u["createElement"]("button",{type:"button",key:"year",onClick:c,tabIndex:-1,className:"".concat(t,"-year-btn")},n.locale.format(r.locale,i,r.yearFormat)),v=u["createElement"]("button",{type:"button",key:"month",onClick:d,tabIndex:-1,className:"".concat(t,"-month-btn")},r.monthFormat?n.locale.format(r.locale,i,r.monthFormat):A[g]),y=r.monthBeforeYear?[v,m]:[m,v];return u["createElement"](X,Object.assign({},e,{prefixCls:p,onSuperPrev:l,onPrev:a,onNext:o,onSuperNext:s}),y)}var Ze=Ye,Je=6;function $e(e){var t=e.prefixCls,n=e.panelName,r=void 0===n?"date":n,i=e.keyboardConfig,o=e.active,a=e.operationRef,s=e.generateConfig,l=e.value,c=e.viewDate,d=e.onViewDateChange,h=e.onPanelChange,f=e.onSelect,p="".concat(t,"-").concat(r,"-panel");a.current={onKeyDown:function(e){return te(e,Object(R["a"])({onLeftRight:function(e){f(s.addDate(l||c,e),"key")},onCtrlLeftRight:function(e){f(s.addYear(l||c,e),"key")},onUpDown:function(e){f(s.addDate(l||c,e*Me),"key")},onPageUpDown:function(e){f(s.addMonth(l||c,e),"key")}},i))}};var A=function(e){var t=s.addYear(c,e);d(t),h(null,t)},g=function(e){var t=s.addMonth(c,e);d(t),h(null,t)};return u["createElement"]("div",{className:E()(p,Object(F["a"])({},"".concat(p,"-active"),o))},u["createElement"](Ze,Object.assign({},e,{prefixCls:t,value:l,viewDate:c,onPrevYear:function(){A(-1)},onNextYear:function(){A(1)},onPrevMonth:function(){g(-1)},onNextMonth:function(){g(1)},onMonthClick:function(){h("month",c)},onYearClick:function(){h("year",c)}})),u["createElement"](qe,Object.assign({},e,{onSelect:function(e){return f(e,"mouse")},prefixCls:t,value:l,viewDate:c,rowCount:Je})))}var et=$e;function tt(e,t,n){if(!n)return t;var r=t;return r=e.setHour(r,e.getHour(n)),r=e.setMinute(r,e.getMinute(n)),r=e.setSecond(r,e.getSecond(n)),r}var nt=ge("date","time");function rt(e){var t=e.prefixCls,n=e.operationRef,r=e.generateConfig,i=e.value,o=e.defaultValue,a=e.disabledTime,s=e.showTime,l=e.onSelect,c="".concat(t,"-datetime-panel"),d=u["useState"](null),h=Object(U["a"])(d,2),f=h[0],p=h[1],A=u["useRef"]({}),g=u["useRef"]({}),m="object"===Object(Q["a"])(s)?Object(R["a"])({},s):{};function v(e){var t=nt.indexOf(f)+e,n=nt[t]||null;return n}var y=function(e){g.current.onBlur&&g.current.onBlur(e),p(null)};n.current={onKeyDown:function(e){if(e.which===K["a"].TAB){var t=v(e.shiftKey?-1:1);return p(t),t&&e.preventDefault(),!0}if(f){var n="date"===f?A:g;return n.current&&n.current.onKeyDown&&n.current.onKeyDown(e),!0}return!![K["a"].LEFT,K["a"].RIGHT,K["a"].UP,K["a"].DOWN].includes(e.which)&&(p("date"),!0)},onBlur:y,onClose:y};var b=function(e,t){var n=e;"date"===t&&!i&&m.defaultValue?(n=r.setHour(n,r.getHour(m.defaultValue)),n=r.setMinute(n,r.getMinute(m.defaultValue)),n=r.setSecond(n,r.getSecond(m.defaultValue))):"time"===t&&!i&&o&&(n=r.setYear(n,r.getYear(o)),n=r.setMonth(n,r.getMonth(o)),n=r.setDate(n,r.getDate(o))),l&&l(n,"mouse")},_=a?a(i||null):{};return u["createElement"]("div",{className:E()(c,Object(F["a"])({},"".concat(c,"-active"),f))},u["createElement"](et,Object.assign({},e,{operationRef:A,active:"date"===f,onSelect:function(e){b(tt(r,e,s&&"object"===Object(Q["a"])(s)?s.defaultValue:null),"date")}})),u["createElement"](Be,Object.assign({},e,{format:void 0},m,_,{defaultValue:void 0,operationRef:g,active:"time"===f,onSelect:function(e){b(e,"time")}})))}var it=rt;function ot(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,i=e.value,o="".concat(t,"-cell"),a=function(e){return u["createElement"]("td",{key:"week",className:E()(o,"".concat(o,"-week"))},n.locale.getWeek(r.locale,e))},s="".concat(t,"-week-panel-row"),l=function(e){return E()(s,Object(F["a"])({},"".concat(s,"-selected"),Re(n,r.locale,i,e)))};return u["createElement"](et,Object.assign({},e,{panelName:"week",prefixColumn:a,rowClassName:l,keyboardConfig:{onLeftRight:null}}))}var at=ot;function st(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,i=e.viewDate,o=e.onNextYear,a=e.onPrevYear,s=e.onYearClick,l=u["useContext"](V),c=l.hideHeader;if(c)return null;var d="".concat(t,"-header");return u["createElement"](X,Object.assign({},e,{prefixCls:d,onSuperPrev:a,onSuperNext:o}),u["createElement"]("button",{type:"button",onClick:s,className:"".concat(t,"-year-btn")},n.locale.format(r.locale,i,r.yearFormat)))}var lt=st,ct=3,ut=4;function dt(e){var t=e.prefixCls,n=e.locale,r=e.value,i=e.viewDate,o=e.generateConfig,a=e.monthCellRender,s=u["useContext"](Ve),l=s.rangedValue,c=s.hoverRangedValue,d="".concat(t,"-cell"),h=We({cellPrefixCls:d,value:r,generateConfig:o,rangedValue:l,hoverRangedValue:c,isSameCell:function(e,t){return Ne(o,e,t)},isInView:function(){return!0},offsetCell:function(e,t){return o.addMonth(e,t)}}),f=n.shortMonths||(o.locale.getShortMonths?o.locale.getShortMonths(n.locale):[]),p=o.setMonth(i,0),A=a?function(e){return a(e,n)}:void 0;return u["createElement"](Ge,Object.assign({},e,{rowNum:ut,colNum:ct,baseDate:p,getCellNode:A,getCellText:function(e){return n.monthFormat?o.locale.format(n.locale,e,n.monthFormat):f[o.getMonth(e)]},getCellClassName:h,getCellDate:o.addMonth,titleCell:function(e){return o.locale.format(n.locale,e,"YYYY-MM")}}))}var ht=dt;function ft(e){var t=e.prefixCls,n=e.operationRef,r=e.onViewDateChange,i=e.generateConfig,o=e.value,a=e.viewDate,s=e.onPanelChange,l=e.onSelect,c="".concat(t,"-month-panel");n.current={onKeyDown:function(e){return te(e,{onLeftRight:function(e){l(i.addMonth(o||a,e),"key")},onCtrlLeftRight:function(e){l(i.addYear(o||a,e),"key")},onUpDown:function(e){l(i.addMonth(o||a,e*ct),"key")},onEnter:function(){s("date",o||a)}})}};var d=function(e){var t=i.addYear(a,e);r(t),s(null,t)};return u["createElement"]("div",{className:c},u["createElement"](lt,Object.assign({},e,{prefixCls:t,onPrevYear:function(){d(-1)},onNextYear:function(){d(1)},onYearClick:function(){s("year",a)}})),u["createElement"](ht,Object.assign({},e,{prefixCls:t,onSelect:function(e){l(e,"mouse"),s("date",e)}})))}var pt=ft;function At(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,i=e.viewDate,o=e.onNextYear,a=e.onPrevYear,s=e.onYearClick,l=u["useContext"](V),c=l.hideHeader;if(c)return null;var d="".concat(t,"-header");return u["createElement"](X,Object.assign({},e,{prefixCls:d,onSuperPrev:a,onSuperNext:o}),u["createElement"]("button",{type:"button",onClick:s,className:"".concat(t,"-year-btn")},n.locale.format(r.locale,i,r.yearFormat)))}var gt=At,mt=4,vt=1;function yt(e){var t=e.prefixCls,n=e.locale,r=e.value,i=e.viewDate,o=e.generateConfig,a=u["useContext"](Ve),s=a.rangedValue,l=a.hoverRangedValue,c="".concat(t,"-cell"),d=We({cellPrefixCls:c,value:r,generateConfig:o,rangedValue:s,hoverRangedValue:l,isSameCell:function(e,t){return Pe(o,e,t)},isInView:function(){return!0},offsetCell:function(e,t){return o.addMonth(e,3*t)}}),h=o.setDate(o.setMonth(i,0),1);return u["createElement"](Ge,Object.assign({},e,{rowNum:vt,colNum:mt,baseDate:h,getCellText:function(e){return o.locale.format(n.locale,e,n.quarterFormat||"[Q]Q")},getCellClassName:d,getCellDate:function(e,t){return o.addMonth(e,3*t)},titleCell:function(e){return o.locale.format(n.locale,e,"YYYY-[Q]Q")}}))}var bt=yt;function _t(e){var t=e.prefixCls,n=e.operationRef,r=e.onViewDateChange,i=e.generateConfig,o=e.value,a=e.viewDate,s=e.onPanelChange,l=e.onSelect,c="".concat(t,"-quarter-panel");n.current={onKeyDown:function(e){return te(e,{onLeftRight:function(e){l(i.addMonth(o||a,3*e),"key")},onCtrlLeftRight:function(e){l(i.addYear(o||a,e),"key")},onUpDown:function(e){l(i.addYear(o||a,e),"key")}})}};var d=function(e){var t=i.addYear(a,e);r(t),s(null,t)};return u["createElement"]("div",{className:c},u["createElement"](gt,Object.assign({},e,{prefixCls:t,onPrevYear:function(){d(-1)},onNextYear:function(){d(1)},onYearClick:function(){s("year",a)}})),u["createElement"](bt,Object.assign({},e,{prefixCls:t,onSelect:function(e){l(e,"mouse")}})))}var wt=_t;function xt(e){var t=e.prefixCls,n=e.generateConfig,r=e.viewDate,i=e.onPrevDecade,o=e.onNextDecade,a=e.onDecadeClick,s=u["useContext"](V),l=s.hideHeader;if(l)return null;var c="".concat(t,"-header"),d=n.getYear(r),h=Math.floor(d/Bt)*Bt,f=h+Bt-1;return u["createElement"](X,Object.assign({},e,{prefixCls:c,onSuperPrev:i,onSuperNext:o}),u["createElement"]("button",{type:"button",onClick:a,className:"".concat(t,"-decade-btn")},h,"-",f))}var Ct=xt,St=3,kt=4;function Et(e){var t=e.prefixCls,n=e.value,r=e.viewDate,i=e.locale,o=e.generateConfig,a=u["useContext"](Ve),s=a.rangedValue,l=a.hoverRangedValue,c="".concat(t,"-cell"),d=o.getYear(r),h=Math.floor(d/Bt)*Bt,f=h+Bt-1,p=o.setYear(r,h-Math.ceil((St*kt-Bt)/2)),A=function(e){var t=o.getYear(e);return h<=t&&t<=f},g=We({cellPrefixCls:c,value:n,generateConfig:o,rangedValue:s,hoverRangedValue:l,isSameCell:function(e,t){return Le(o,e,t)},isInView:A,offsetCell:function(e,t){return o.addYear(e,t)}});return u["createElement"](Ge,Object.assign({},e,{rowNum:kt,colNum:St,baseDate:p,getCellText:o.getYear,getCellClassName:g,getCellDate:o.addYear,titleCell:function(e){return o.locale.format(i.locale,e,"YYYY")}}))}var Ot=Et,Bt=10;function Mt(e){var t=e.prefixCls,n=e.operationRef,r=e.onViewDateChange,i=e.generateConfig,o=e.value,a=e.viewDate,s=e.sourceMode,l=e.onSelect,c=e.onPanelChange,d="".concat(t,"-year-panel");n.current={onKeyDown:function(e){return te(e,{onLeftRight:function(e){l(i.addYear(o||a,e),"key")},onCtrlLeftRight:function(e){l(i.addYear(o||a,e*Bt),"key")},onUpDown:function(e){l(i.addYear(o||a,e*St),"key")},onEnter:function(){c("date"===s?"date":"month",o||a)}})}};var h=function(e){var t=i.addYear(a,10*e);r(t),c(null,t)};return u["createElement"]("div",{className:d},u["createElement"](Ct,Object.assign({},e,{prefixCls:t,onPrevDecade:function(){h(-1)},onNextDecade:function(){h(1)},onDecadeClick:function(){c("decade",a)}})),u["createElement"](Ot,Object.assign({},e,{prefixCls:t,onSelect:function(e){c("date"===s?"date":"month",e),l(e,"mouse")}})))}var Tt=Mt;function It(e){var t=e.prefixCls,n=e.generateConfig,r=e.viewDate,i=e.onPrevDecades,o=e.onNextDecades,a=u["useContext"](V),s=a.hideHeader;if(s)return null;var l="".concat(t,"-header"),c=n.getYear(r),d=Math.floor(c/Rt)*Rt,h=d+Rt-1;return u["createElement"](X,Object.assign({},e,{prefixCls:l,onSuperPrev:i,onSuperNext:o}),d,"-",h)}var Lt=It,Dt=3,Pt=4;function Nt(e){var t=Ft-1,n=e.prefixCls,r=e.viewDate,i=e.generateConfig,o=e.disabledDate,a="".concat(n,"-cell"),s=i.getYear(r),l=Math.floor(s/Ft)*Ft,c=Math.floor(s/Rt)*Rt,d=c+Rt-1,h=i.setYear(r,c-Math.ceil((Dt*Pt*Ft-Rt)/2)),f=function(e){var n,r=o&&o(e),s=i.getYear(e),u=s+t;return n={},Object(F["a"])(n,"".concat(a,"-disabled"),r),Object(F["a"])(n,"".concat(a,"-in-view"),c<=s&&u<=d),Object(F["a"])(n,"".concat(a,"-selected"),s===l),n};return u["createElement"](Ge,Object.assign({},e,{rowNum:Pt,colNum:Dt,baseDate:h,getCellText:function(e){var n=i.getYear(e);return"".concat(n,"-").concat(n+t)},getCellClassName:f,getCellDate:function(e,t){return i.addYear(e,t*Ft)}}))}var jt=Nt,Ft=10,Rt=10*Ft;function Ut(e){var t=e.prefixCls,n=e.onViewDateChange,r=e.generateConfig,i=e.viewDate,o=e.operationRef,a=e.onSelect,s=e.onPanelChange,l="".concat(t,"-decade-panel");o.current={onKeyDown:function(e){return te(e,{onLeftRight:function(e){a(r.addYear(i,e*Ft),"key")},onCtrlLeftRight:function(e){a(r.addYear(i,e*Rt),"key")},onUpDown:function(e){a(r.addYear(i,e*Ft*Dt),"key")},onEnter:function(){s("year",i)}})}};var c=function(e){var t=r.addYear(i,e*Rt);n(t),s(null,t)},d=function(e){a(e,"mouse"),s("year",e)};return u["createElement"]("div",{className:l},u["createElement"](Lt,Object.assign({},e,{prefixCls:t,onPrevDecades:function(){c(-1)},onNextDecades:function(){c(1)}})),u["createElement"](jt,Object.assign({},e,{prefixCls:t,onSelect:d})))}var Ht=Ut;function Qt(e,t,n){return n?u["createElement"]("div",{className:"".concat(e,"-footer-extra")},n(t)):null}function Kt(e){var t,n,r=e.prefixCls,i=e.rangeList,o=void 0===i?[]:i,a=e.components,s=void 0===a?{}:a,l=e.needConfirmButton,c=e.onNow,d=e.onOk,h=e.okDisabled,f=e.showNow,p=e.locale;if(o.length){var A=s.rangeItem||"span";t=u["createElement"](u["Fragment"],null,o.map((function(e){var t=e.label,n=e.onClick,i=e.onMouseEnter,o=e.onMouseLeave;return u["createElement"]("li",{key:t,className:"".concat(r,"-preset")},u["createElement"](A,{onClick:n,onMouseEnter:i,onMouseLeave:o},t))})))}if(l){var g=s.button||"button";c&&!t&&!1!==f&&(t=u["createElement"]("li",{className:"".concat(r,"-now")},u["createElement"]("a",{className:"".concat(r,"-now-btn"),onClick:c},p.now))),n=l&&u["createElement"]("li",{className:"".concat(r,"-ok")},u["createElement"](g,{disabled:h,onClick:d},p.ok))}return t||n?u["createElement"]("ul",{className:"".concat(r,"-ranges")},t,n):null}function zt(e){var t,n=e.prefixCls,r=void 0===n?"rc-picker":n,i=e.className,a=e.style,s=e.locale,l=e.generateConfig,c=e.value,d=e.defaultValue,h=e.pickerValue,f=e.defaultPickerValue,p=e.disabledDate,A=e.mode,g=e.picker,m=void 0===g?"date":g,v=e.tabIndex,y=void 0===v?0:v,b=e.showNow,_=e.showTime,w=e.showToday,x=e.renderExtraFooter,C=e.hideHeader,S=e.onSelect,k=e.onChange,O=e.onPanelChange,B=e.onMouseDown,M=e.onPickerValueChange,T=e.onOk,I=e.components,L=e.direction,D=e.hourStep,P=void 0===D?1:D,N=e.minuteStep,j=void 0===N?1:N,z=e.secondStep,W=void 0===z?1:z,G="date"===m&&!!_||"time"===m,X=24%P===0,q=60%j===0,Y=60%W===0;var Z=u["useContext"](V),J=Z.operationRef,$=Z.panelRef,ee=Z.onSelect,te=Z.hideRanges,ne=Z.defaultOpenValue,re=u["useContext"](Ve),ie=re.inRange,oe=re.panelPosition,ae=re.rangedValue,se=re.hoverRangedValue,le=u["useRef"]({}),ce=u["useRef"](!0),ue=Object(H["a"])(null,{value:c,defaultValue:d,postState:function(e){return!e&&ne&&"time"===m?ne:e}}),he=Object(U["a"])(ue,2),fe=he[0],pe=he[1],Ae=Object(H["a"])(null,{value:h,defaultValue:f||fe,postState:function(e){return e||l.getNow()}}),ge=Object(U["a"])(Ae,2),me=ge[0],ve=ge[1],ye=function(e){ve(e),M&&M(e)},be=function(e){var t=de[m];return t?t(e):e},xe=Object(H["a"])((function(){return"time"===m?"time":be("date")}),{value:A}),Ce=Object(U["a"])(xe,2),Se=Ce[0],ke=Ce[1];u["useEffect"]((function(){ke(m)}),[m]);var Ee,Oe=u["useState"]((function(){return Se})),Me=Object(U["a"])(Oe,2),Te=Me[0],Ie=Me[1],Le=function(e,t){var n=be(e||Se);Ie(Se),ke(n),O&&(Se!==n||Ue(l,me,me))&&O(t,n)},De=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(Se===m||n)&&(pe(e),S&&S(e),ee&&ee(e,t),k&&!Ue(l,e,fe)&&k(e))},Pe=function(e){return le.current&&le.current.onKeyDown?([K["a"].LEFT,K["a"].RIGHT,K["a"].UP,K["a"].DOWN,K["a"].PAGE_UP,K["a"].PAGE_DOWN,K["a"].ENTER].includes(e.which)&&e.preventDefault(),le.current.onKeyDown(e)):(Object(o["a"])(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Ne=function(e){le.current&&le.current.onBlur&&le.current.onBlur(e)};J&&"right"!==oe&&(J.current={onKeyDown:Pe,onClose:function(){le.current&&le.current.onClose&&le.current.onClose()}}),u["useEffect"]((function(){c&&!ce.current&&ve(c)}),[c]),u["useEffect"]((function(){ce.current=!1}),[]);var je,Fe,Re=Object(R["a"])(Object(R["a"])({},e),{},{operationRef:le,prefixCls:r,viewDate:me,value:fe,onViewDateChange:ye,sourceMode:Te,onPanelChange:Le,disabledDate:"decade"!==Se?p:void 0});switch(delete Re.onChange,delete Re.onSelect,Se){case"decade":Ee=u["createElement"](Ht,Object.assign({},Re,{onSelect:function(e,t){ye(e),De(e,t)}}));break;case"year":Ee=u["createElement"](Tt,Object.assign({},Re,{onSelect:function(e,t){ye(e),De(e,t)}}));break;case"month":Ee=u["createElement"](pt,Object.assign({},Re,{onSelect:function(e,t){ye(e),De(e,t)}}));break;case"quarter":Ee=u["createElement"](wt,Object.assign({},Re,{onSelect:function(e,t){ye(e),De(e,t)}}));break;case"week":Ee=u["createElement"](at,Object.assign({},Re,{onSelect:function(e,t){ye(e),De(e,t)}}));break;case"time":delete Re.showTime,Ee=u["createElement"](Be,Object.assign({},Re,"object"===Object(Q["a"])(_)?_:null,{onSelect:function(e,t){ye(e),De(e,t)}}));break;default:Ee=_?u["createElement"](it,Object.assign({},Re,{onSelect:function(e,t){ye(e),De(e,t)}})):u["createElement"](et,Object.assign({},Re,{onSelect:function(e,t){ye(e),De(e,t)}}))}var He,Qe=function(){var e=l.getNow(),t=we(l.getHour(e),l.getMinute(e),l.getSecond(e),X?P:1,q?j:1,Y?W:1),n=_e(l,e,t[0],t[1],t[2]);De(n,"submit")};if(te||(je=Qt(r,Se,x),Fe=Kt({prefixCls:r,components:I,needConfirmButton:G,okDisabled:!fe||p&&p(fe),locale:s,showNow:b,onNow:G&&Qe,onOk:function(){fe&&(De(fe,"submit",!0),T&&T(fe))}})),w&&"date"===Se&&"date"===m&&!_){var Ke=l.getNow(),ze="".concat(r,"-today-btn"),We=p&&p(Ke);He=u["createElement"]("a",{className:E()(ze,We&&"".concat(ze,"-disabled")),"aria-disabled":We,onClick:function(){We||De(Ke,"mouse",!0)}},s.today)}return u["createElement"](V.Provider,{value:Object(R["a"])(Object(R["a"])({},Z),{},{hideHeader:"hideHeader"in e?C:Z.hideHeader,hidePrevBtn:ie&&"right"===oe,hideNextBtn:ie&&"left"===oe})},u["createElement"]("div",{tabIndex:y,className:E()("".concat(r,"-panel"),i,(t={},Object(F["a"])(t,"".concat(r,"-panel-has-range"),ae&&ae[0]&&ae[1]),Object(F["a"])(t,"".concat(r,"-panel-has-range-hover"),se&&se[0]&&se[1]),Object(F["a"])(t,"".concat(r,"-panel-rtl"),"rtl"===L),t)),style:a,onKeyDown:Pe,onBlur:Ne,onMouseDown:B,ref:$},Ee,je||Fe||He?u["createElement"]("div",{className:"".concat(r,"-footer")},je,Fe,He):null))}var Vt=zt,Wt=n("JX7q"),Gt=n("i8i4"),Xt=n.n(Gt),qt=n("l4aY"),Yt=n("m+aA"),Zt=n("c+Xe"),Jt=n("zT1h"),$t=n("QC+M");function en(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function tn(e,t,n){var r=e[t]||{};return Object(R["a"])(Object(R["a"])({},r),n)}function nn(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a];if(en(e[s].points,i,r))return"".concat(t,"-placement-").concat(s)}return""}var rn=n("Ff2n"),on=n("xEkU"),an=n.n(on),sn=n("9mu1"),ln=!("undefined"===typeof window||!window.document||!window.document.createElement);function cn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function un(e,t){var n={animationend:cn("Animation","AnimationEnd"),transitionend:cn("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var dn=un(ln,"undefined"!==typeof window?window:{}),hn={};if(ln){var fn=document.createElement("div");hn=fn.style}var pn={};function An(e){if(pn[e])return pn[e];var t=dn[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i<r;i+=1){var o=n[i];if(Object.prototype.hasOwnProperty.call(t,o)&&o in hn)return pn[e]=t[o],pn[e]}return""}var gn=An("animationend"),mn=An("transitionend"),vn=!(!gn||!mn);function yn(e,t){if(!e)return null;if("object"===Object(Q["a"])(e)){var n=t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}));return e[n]}return"".concat(e,"-").concat(t)}var bn="none",_n="appear",wn="enter",xn="leave";function Cn(e){var t=e,n=!!u["forwardRef"];function r(e){return!(!e.motionName||!t)}"object"===Object(Q["a"])(e)&&(t=e.transitionSupport,n="forwardRef"in e?e.forwardRef:n);var i=function(e){Object(N["a"])(n,e);var t=Object(j["a"])(n);function n(){var e;return Object(D["a"])(this,n),e=t.apply(this,arguments),e.$cacheEle=null,e.node=null,e.raf=null,e.destroyed=!1,e.deadlineId=null,e.state={status:bn,statusActive:!1,newStatus:!1,statusStyle:null},e.onDomUpdate=function(){var t=e.state,n=t.status,i=t.newStatus,o=e.props,a=o.onAppearStart,s=o.onEnterStart,l=o.onLeaveStart,c=o.onAppearActive,u=o.onEnterActive,d=o.onLeaveActive,h=o.motionAppear,f=o.motionEnter,p=o.motionLeave;if(r(e.props)){var A=e.getElement();e.$cacheEle!==A&&(e.removeEventListener(e.$cacheEle),e.addEventListener(A),e.$cacheEle=A),i&&n===_n&&h?e.updateStatus(a,null,null,(function(){e.updateActiveStatus(c,_n)})):i&&n===wn&&f?e.updateStatus(s,null,null,(function(){e.updateActiveStatus(u,wn)})):i&&n===xn&&p&&e.updateStatus(l,null,null,(function(){e.updateActiveStatus(d,xn)}))}},e.onMotionEnd=function(t){if(!t||t.deadline||t.target===e.getElement()){var n=e.state,r=n.status,i=n.statusActive,o=e.props,a=o.onAppearEnd,s=o.onEnterEnd,l=o.onLeaveEnd;r===_n&&i?e.updateStatus(a,{status:bn},t):r===wn&&i?e.updateStatus(s,{status:bn},t):r===xn&&i&&e.updateStatus(l,{status:bn},t)}},e.setNodeRef=function(t){var n=e.props.internalRef;e.node=t,Object(Zt["b"])(n,t)},e.getElement=function(){try{return Object(Yt["a"])(e.node||Object(Wt["a"])(e))}catch(t){return e.$cacheEle}},e.addEventListener=function(t){t&&(t.addEventListener(mn,e.onMotionEnd),t.addEventListener(gn,e.onMotionEnd))},e.removeEventListener=function(t){t&&(t.removeEventListener(mn,e.onMotionEnd),t.removeEventListener(gn,e.onMotionEnd))},e.updateStatus=function(t,n,r,i){var o,a=t?t(e.getElement(),r):null;!1===a||e.destroyed||(i&&(o=function(){e.nextFrame(i)}),e.setState(Object(R["a"])({statusStyle:"object"===Object(Q["a"])(a)?a:null,newStatus:!1},n),o))},e.updateActiveStatus=function(t,n){e.nextFrame((function(){var r=e.state.status;if(r===n){var i=e.props.motionDeadline;e.updateStatus(t,{statusActive:!0}),i>0&&(e.deadlineId=setTimeout((function(){e.onMotionEnd({deadline:!0})}),i))}}))},e.nextFrame=function(t){e.cancelNextFrame(),e.raf=an()(t)},e.cancelNextFrame=function(){e.raf&&(an.a.cancel(e.raf),e.raf=null)},e}return Object(P["a"])(n,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var e,t=this.state,n=t.status,i=t.statusActive,o=t.statusStyle,a=this.props,s=a.children,l=a.motionName,c=a.visible,u=a.removeOnLeave,d=a.leavedClassName,h=a.eventProps;return s?n!==bn&&r(this.props)?s(Object(R["a"])(Object(R["a"])({},h),{},{className:E()(yn(l,n),(e={},Object(F["a"])(e,yn(l,"".concat(n,"-active")),i),Object(F["a"])(e,l,"string"===typeof l),e)),style:o}),this.setNodeRef):c?s(Object(R["a"])({},h),this.setNodeRef):u?null:s(Object(R["a"])(Object(R["a"])({},h),{},{className:d}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,i=t.status;if(!r(e))return{};var o=e.visible,a=e.motionAppear,s=e.motionEnter,l=e.motionLeave,c=e.motionLeaveImmediately,u={prevProps:e};return(i===_n&&!a||i===wn&&!s||i===xn&&!l)&&(u.status=bn,u.statusActive=!1,u.newStatus=!1),!n&&o&&a&&(u.status=_n,u.statusActive=!1,u.newStatus=!0),n&&!n.visible&&o&&s&&(u.status=wn,u.statusActive=!1,u.newStatus=!0),(n&&n.visible&&!o&&l||!n&&c&&!o&&l)&&(u.status=xn,u.statusActive=!1,u.newStatus=!0),u}}]),n}(u["Component"]);return i.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},n?u["forwardRef"]((function(e,t){return u["createElement"](i,Object.assign({internalRef:t},e))})):i}var Sn=Cn(vn),kn="add",En="keep",On="remove",Bn="removed";function Mn(e){var t;return t=e&&"object"===Object(Q["a"])(e)&&"key"in e?e:{key:e},Object(R["a"])(Object(R["a"])({},t),{},{key:String(t.key)})}function Tn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(Mn)}function In(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,o=Tn(e),a=Tn(t);o.forEach((function(e){for(var t=!1,o=r;o<i;o+=1){var s=a[o];if(s.key===e.key){r<o&&(n=n.concat(a.slice(r,o).map((function(e){return Object(R["a"])(Object(R["a"])({},e),{},{status:kn})}))),r=o),n.push(Object(R["a"])(Object(R["a"])({},s),{},{status:En})),r+=1,t=!0;break}}t||n.push(Object(R["a"])(Object(R["a"])({},e),{},{status:On}))})),r<i&&(n=n.concat(a.slice(r).map((function(e){return Object(R["a"])(Object(R["a"])({},e),{},{status:kn})}))));var s={};n.forEach((function(e){var t=e.key;s[t]=(s[t]||0)+1}));var l=Object.keys(s).filter((function(e){return s[e]>1}));return l.forEach((function(e){n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==On})),n.forEach((function(t){t.key===e&&(t.status=En)}))})),n}var Ln=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Dn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Sn,n=function(n){Object(N["a"])(i,n);var r=Object(j["a"])(i);function i(){var e;return Object(D["a"])(this,i),e=r.apply(this,arguments),e.state={keyEntities:[]},e.removeKey=function(t){e.setState((function(e){var n=e.keyEntities;return{keyEntities:n.map((function(e){return e.key!==t?e:Object(R["a"])(Object(R["a"])({},e),{},{status:Bn})}))}}))},e}return Object(P["a"])(i,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r=this.props,i=r.component,o=r.children,a=Object(rn["a"])(r,["component","children"]),s=i||u["Fragment"],l={};return Ln.forEach((function(e){l[e]=a[e],delete a[e]})),delete a.keys,u["createElement"](s,Object.assign({},a),n.map((function(n){var r=n.status,i=Object(rn["a"])(n,["status"]),a=r===kn||r===En;return u["createElement"](t,Object.assign({},l,{key:i.key,visible:a,eventProps:i,onLeaveEnd:function(){l.onLeaveEnd&&l.onLeaveEnd.apply(l,arguments),e.removeKey(i.key)}}),o)})))}}],[{key:"getDerivedStateFromProps",value:function(t,n){var r=t.keys,i=n.keyEntities,o=Tn(r);if(!e)return{keyEntities:o.map((function(e){return Object(R["a"])(Object(R["a"])({},e),{},{status:En})}))};var a=In(i,o),s=i.length;return{keyEntities:a.filter((function(e){for(var t=null,n=0;n<s;n+=1){var r=i[n];if(r.key===e.key){t=r;break}}return!t||t.status!==Bn||e.status!==On}))}}}]),i}(u["Component"]);return n.defaultProps={component:"div"},n}Dn(vn);var Pn=Sn,Nn=function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.children,a=e.onMouseEnter,s=e.onMouseLeave,l=e.onMouseDown,c=e.onTouchStart,d=o;return u["Children"].count(o)>1&&(d=u["createElement"]("div",{className:"".concat(n,"-content")},o)),u["createElement"]("div",{ref:t,className:r,onMouseEnter:a,onMouseLeave:s,onMouseDown:l,onTouchStart:c,style:i},d)},jn=u["forwardRef"](Nn);jn.displayName="PopupInner";var Fn=jn;function Rn(e){var t=e.prefixCls,n=e.motion,r=e.animation,i=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:i?{motionName:i}:null)}function Un(e){return e&&e.motionName}var Hn=function(e){Object(N["a"])(n,e);var t=Object(j["a"])(n);function n(){var e;return Object(D["a"])(this,n),e=t.apply(this,arguments),e.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},e.popupRef=d.a.createRef(),e.alignRef=d.a.createRef(),e.nextFrameState=null,e.nextFrameId=null,e.onAlign=function(t,n){var r=e.state.status,i=e.props,o=i.getClassNameFromAlign,a=i.onAlign,s=o(n);"align"===r?e.setState({alignClassName:s,status:"aligned"},(function(){e.alignRef.current.forceAlign()})):"aligned"===r?(e.setState({alignClassName:s,status:"afterAlign"}),a(t,n)):e.setState({alignClassName:s})},e.onMotionEnd=function(){var t=e.props.visible;e.setState({status:t?"AfterMotion":"stable",inMotion:!1})},e.setStateOnNextFrame=function(t){e.cancelFrameState(),e.nextFrameState=Object(R["a"])(Object(R["a"])({},e.nextFrameState),t),e.nextFrameId=an()((function(){var t=Object(R["a"])({},e.nextFrameState);e.nextFrameState=null,e.setState(t)}))},e.getMotion=function(){return Object(R["a"])({},Rn(e.props))},e.getAlignTarget=function(){var t=e.props,n=t.point,r=t.getRootDomNode;return n||r},e.cancelFrameState=function(){an.a.cancel(e.nextFrameId)},e.renderPopupElement=function(){var t=e.state,n=t.status,r=t.targetHeight,i=t.targetWidth,o=t.alignClassName,a=e.props,s=a.prefixCls,l=a.className,c=a.style,u=a.stretch,h=a.visible,f=a.align,p=a.destroyPopupOnHide,A=a.onMouseEnter,g=a.onMouseLeave,m=a.onMouseDown,v=a.onTouchStart,y=a.children,b=E()(s,l,o),_="".concat(s,"-hidden"),w={};u&&(-1!==u.indexOf("height")?w.height=r:-1!==u.indexOf("minHeight")&&(w.minHeight=r),-1!==u.indexOf("width")?w.width=i:-1!==u.indexOf("minWidth")&&(w.minWidth=i));var x=Object(R["a"])(Object(R["a"])(Object(R["a"])(Object(R["a"])({},w),e.getZIndexStyle()),c),{},{opacity:"stable"!==n&&h?0:void 0,pointerEvents:"stable"!==n&&h?"none":void 0}),C=e.getMotion(),S=h;h&&"beforeMotion"!==n&&"motion"!==n&&"stable"!==n&&(C.motionAppear=!1,C.motionEnter=!1,C.motionLeave=!1),"afterAlign"!==n&&"beforeMotion"!==n||(S=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach((function(t){var n=null===C||void 0===C?void 0:C[t];C[t]=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];null===n||void 0===n||n.apply(void 0,r),e.setState({inMotion:!0})}}));var k=!h||"align"!==n&&"aligned"!==n&&"stable"!==n,O=!0;return"stable"===n&&(O=h),p&&!O?null:d.a.createElement(Pn,Object.assign({visible:S},C,{removeOnLeave:!1,onEnterEnd:e.onMotionEnd,onLeaveEnd:e.onMotionEnd,leavedClassName:_}),(function(t,n){var r=t.style,i=t.className;return d.a.createElement(sn["a"],{target:e.getAlignTarget(),key:"popup",ref:e.alignRef,monitorWindowResize:!0,disabled:k,align:f,onAlign:e.onAlign},d.a.createElement(Fn,{prefixCls:s,className:E()(b,i),ref:Object(Zt["a"])(n,e.popupRef),onMouseEnter:A,onMouseLeave:g,onMouseDown:m,onTouchStart:v,style:Object(R["a"])(Object(R["a"])({},x),r)},y))}))},e.renderMaskElement=function(){var t=e.props,n=t.mask,r=t.maskMotion,i=t.maskTransitionName,o=t.maskAnimation,a=t.prefixCls,s=t.visible;if(!n)return null;var l={};return r&&r.motionName&&(l=Object(R["a"])({motionAppear:!0},Rn({motion:r,prefixCls:a,transitionName:i,animation:o}))),d.a.createElement(Pn,Object.assign({},l,{visible:s,removeOnLeave:!0}),(function(t){var n=t.className;return d.a.createElement("div",{style:e.getZIndexStyle(),key:"mask",className:E()("".concat(a,"-mask"),n)})}))},e}return Object(P["a"])(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e=this.state.status,t=this.props,n=t.getRootDomNode,r=t.visible,i=t.stretch;if(this.cancelFrameState(),r&&"stable"!==e)switch(e){case null:this.setStateOnNextFrame({status:i?"measure":"align"});break;case"afterAlign":this.setStateOnNextFrame({status:Un(this.getMotion())?"beforeMotion":"stable"});break;case"AfterMotion":this.setStateOnNextFrame({status:"stable"});break;default:var o=["measure","align",null,"beforeMotion","motion"],a=o.indexOf(e),s=o[a+1];-1!==a&&s&&this.setStateOnNextFrame({status:s})}if("measure"===e){var l=n();l&&this.setStateOnNextFrame({targetHeight:l.offsetHeight,targetWidth:l.offsetWidth})}}},{key:"componentWillUnmount",value:function(){this.cancelFrameState()}},{key:"getZIndexStyle",value:function(){var e=this.props.zIndex;return{zIndex:e}}},{key:"render",value:function(){return d.a.createElement("div",null,this.renderMaskElement(),this.renderPopupElement())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.visible,r=Object(rn["a"])(e,["visible"]),i=t.prevVisible,o=t.status,a=t.inMotion,s={prevVisible:n,status:o},l=Rn(r);return null===i&&!1===n?(s.status="stable",s.inMotion=!1):n!==i&&(s.inMotion=!1,n||Un(l)&&a?s.status=null:s.status="stable",n&&(s.alignClassName=null)),s}}]),n}(u["Component"]),Qn=Hn,Kn=u["createContext"](null),zn=Kn;function Vn(){}function Wn(){return""}function Gn(){return window.document}var Xn=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function qn(e){var t=function(t){Object(N["a"])(r,t);var n=Object(j["a"])(r);function r(e){var t,i;return Object(D["a"])(this,r),t=n.call(this,e),t.popupRef=d.a.createRef(),t.triggerRef=d.a.createRef(),t.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},t.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},t.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onPopupMouseEnter=function(){t.clearDelayTimer()},t.onPopupMouseLeave=function(e){e.relatedTarget&&!e.relatedTarget.setTimeout&&t.popupRef.current&&t.popupRef.current.popupRef.current&&Object(qt["a"])(t.popupRef.current.popupRef.current,e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},t.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},t.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},t.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},t.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},t.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()},t.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},t.onPopupMouseDown=function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)},t.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),i=t.getPopupDomNode();Object(qt["a"])(r,n)||Object(qt["a"])(i,n)||t.hasPopupMouseDown||t.close()}},t.getRootDomNode=function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=Object(Yt["a"])(t.triggerRef.current);if(n)return n}catch(r){}return Xt.a.findDOMNode(Object(Wt["a"])(t))},t.getPopupClassNameFromAlign=function(e){var n=[],r=t.props,i=r.popupPlacement,o=r.builtinPlacements,a=r.prefixCls,s=r.alignPoint,l=r.getPopupClassNameFromAlign;return i&&o&&n.push(nn(o,a,e,s)),l&&n.push(l(e)),n.join(" ")},t.getComponent=function(){var e=t.props,n=e.prefixCls,r=e.destroyPopupOnHide,i=e.popupClassName,o=e.onPopupAlign,a=e.popupMotion,s=e.popupAnimation,l=e.popupTransitionName,c=e.popupStyle,u=e.mask,h=e.maskAnimation,f=e.maskTransitionName,p=e.maskMotion,A=e.zIndex,g=e.popup,m=e.stretch,v=e.alignPoint,y=t.state,b=y.popupVisible,_=y.point,w=t.getPopupAlign(),x={};return t.isMouseEnterToShow()&&(x.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(x.onMouseLeave=t.onPopupMouseLeave),x.onMouseDown=t.onPopupMouseDown,x.onTouchStart=t.onPopupMouseDown,d.a.createElement(Qn,Object.assign({prefixCls:n,destroyPopupOnHide:r,visible:b,point:v&&_,className:i,align:w,onAlign:o,animation:s,getClassNameFromAlign:t.getPopupClassNameFromAlign},x,{stretch:m,getRootDomNode:t.getRootDomNode,style:c,mask:u,zIndex:A,transitionName:l,maskAnimation:h,maskTransitionName:f,maskMotion:p,ref:t.popupRef,motion:a}),"function"===typeof g?g():g)},t.getContainer=function(){var e=Object(Wt["a"])(t),n=e.props,r=document.createElement("div");r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.width="100%";var i=n.getPopupContainer?n.getPopupContainer(t.getRootDomNode()):n.getDocument().body;return i.appendChild(r),r},t.setPoint=function(e){var n=t.props.alignPoint;n&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})},t.handlePortalUpdate=function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)},i="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:i,popupVisible:i},Xn.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return Object(P["a"])(r,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props,n=this.state;if(n.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(),this.clickOutsideHandler=Object(Jt["a"])(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(),this.touchOutsideHandler=Object(Jt["a"])(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(),this.contextMenuOutsideHandler1=Object(Jt["a"])(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(Jt["a"])(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)}},{key:"getPopupDomNode",value:function(){return this.popupRef.current&&this.popupRef.current.popupRef.current?this.popupRef.current.popupRef.current:null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?tn(r,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,i=1e3*t;if(this.clearDelayTimer(),i){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,o),r.clearDelayTimer()}),i)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){this.state.popupVisible&&this.popupRef.current&&this.popupRef.current.alignRef.current&&this.popupRef.current.alignRef.current.forceAlign()}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,r=n.children,i=n.forceRender,o=n.alignPoint,a=n.className,s=n.autoDestroy,l=d.a.Children.only(r),c={key:"trigger"};this.isContextMenuToShow()?c.onContextMenu=this.onContextMenu:c.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(c.onClick=this.onClick,c.onMouseDown=this.onMouseDown,c.onTouchStart=this.onTouchStart):(c.onClick=this.createTwoChains("onClick"),c.onMouseDown=this.createTwoChains("onMouseDown"),c.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(c.onMouseEnter=this.onMouseEnter,o&&(c.onMouseMove=this.onMouseMove)):c.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?c.onMouseLeave=this.onMouseLeave:c.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(c.onFocus=this.onFocus,c.onBlur=this.onBlur):(c.onFocus=this.createTwoChains("onFocus"),c.onBlur=this.createTwoChains("onBlur"));var u=E()(l&&l.props&&l.props.className,a);u&&(c.className=u);var h=Object(R["a"])({},c);Object(Zt["c"])(l)&&(h.ref=Object(Zt["a"])(this.triggerRef,l.ref));var f,p=d.a.cloneElement(l,h);return(t||this.popupRef.current||i)&&(f=d.a.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&s&&(f=null),d.a.createElement(zn.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},p,f)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),r}(d.a.Component);return t.contextType=zn,t.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Wn,getDocument:Gn,onPopupVisibleChange:Vn,afterPopupVisibleChange:Vn,onPopupAlign:Vn,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},t}var Yn=qn($t["a"]),Zn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Jn(e){var t,n=e.prefixCls,r=e.popupElement,i=e.popupStyle,o=e.visible,a=e.dropdownClassName,s=e.dropdownAlign,l=e.transitionName,c=e.getPopupContainer,d=e.children,h=e.range,f=e.popupPlacement,p=e.direction,A="".concat(n,"-dropdown"),g=function(){return void 0!==f?f:"rtl"===p?"bottomRight":"bottomLeft"};return u["createElement"](Yn,{showAction:[],hideAction:[],popupPlacement:g(),builtinPlacements:Zn,prefixCls:A,popupTransitionName:l,popup:r,popupAlign:s,popupVisible:o,popupClassName:E()(a,(t={},Object(F["a"])(t,"".concat(A,"-range"),h),Object(F["a"])(t,"".concat(A,"-rtl"),"rtl"===p),t)),popupStyle:i,getPopupContainer:c},d)}var $n=Jn;function er(e){var t=e.open,n=e.value,r=e.isClickOutside,i=e.triggerOpen,o=e.forwardKeyDown,a=e.blurToCancel,s=e.onSubmit,l=e.onCancel,c=e.onFocus,d=e.onBlur,h=Object(u["useState"])(!1),f=Object(U["a"])(h,2),p=f[0],A=f[1],g=Object(u["useState"])(!1),m=Object(U["a"])(g,2),v=m[0],y=m[1],b=Object(u["useRef"])(!1),_=Object(u["useRef"])(!1),w={onMouseDown:function(){A(!0),i(!0)},onKeyDown:function(e){switch(e.which){case K["a"].ENTER:return t?!1!==s()&&A(!0):i(!0),void e.preventDefault();case K["a"].TAB:return void(p&&t&&!e.shiftKey?(A(!1),e.preventDefault()):!p&&t&&!o(e)&&e.shiftKey&&(A(!0),e.preventDefault()));case K["a"].ESC:return A(!0),void l()}t||[K["a"].SHIFT].includes(e.which)?p||o(e):i(!0)},onFocus:function(e){A(!0),y(!0),c&&c(e)},onBlur:function(e){!b.current&&r(document.activeElement)?(a?setTimeout((function(){r(document.activeElement)&&l()}),0):t&&(i(!1),_.current&&s()),y(!1),d&&d(e)):b.current=!1}};return Object(u["useEffect"])((function(){_.current=!1}),[t]),Object(u["useEffect"])((function(){_.current=!0}),[n]),Object(u["useEffect"])((function(){return ae((function(e){var n=e.target;t&&(r(n)?v||i(!1):(b.current=!0,requestAnimationFrame((function(){b.current=!1}))))}))})),[w,{focused:v,typing:p}]}function tr(e){var t=e.valueTexts,n=e.onTextChange,r=u["useState"](""),i=Object(U["a"])(r,2),o=i[0],a=i[1],s=u["useRef"]([]);function l(e){a(e),n(e)}function c(){a(s.current[0])}return s.current=t,u["useEffect"]((function(){t.every((function(e){return e!==o}))&&c()}),[t.join("||")]),[o,l,c]}var nr=n("Gytx"),rr=n.n(nr);function ir(e,t){var n=t.formatList,r=t.generateConfig,i=t.locale;return Object(Z["a"])((function(){if(!e)return[[""],""];for(var t="",o=[],a=0;a<n.length;a+=1){var s=n[a],l=r.locale.format(i.locale,e,s);o.push(l),0===a&&(t=l)}return[o,t]}),[e,n],(function(e,t){return e[0]!==t[0]||!rr()(e[1],t[1])}))}function or(e,t){var n=t.formatList,r=t.generateConfig,i=t.locale,o=Object(u["useState"])(null),a=Object(U["a"])(o,2),s=a[0],l=a[1],c=Object(u["useRef"])(null);function d(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];cancelAnimationFrame(c.current),t?l(e):c.current=requestAnimationFrame((function(){l(e)}))}var h=ir(s,{formatList:n,generateConfig:r,locale:i}),f=Object(U["a"])(h,2),p=f[1];function A(e){d(e)}function g(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d(null,e)}return Object(u["useEffect"])((function(){g(!0)}),[e]),Object(u["useEffect"])((function(){return function(){return cancelAnimationFrame(c.current)}}),[]),[p,A,g]}function ar(e){var t,n=e.prefixCls,r=void 0===n?"rc-picker":n,i=e.id,a=e.tabIndex,s=e.style,l=e.className,c=e.dropdownClassName,d=e.dropdownAlign,h=e.popupStyle,f=e.transitionName,p=e.generateConfig,A=e.locale,g=e.inputReadOnly,m=e.allowClear,v=e.autoFocus,y=e.showTime,b=e.picker,_=void 0===b?"date":b,w=e.format,x=e.use12Hours,C=e.value,S=e.defaultValue,k=e.open,O=e.defaultOpen,B=e.defaultOpenValue,M=e.suffixIcon,T=e.clearIcon,I=e.disabled,L=e.disabledDate,D=e.placeholder,P=e.getPopupContainer,N=e.pickerRef,j=e.panelRender,Q=e.onChange,K=e.onOpenChange,z=e.onFocus,W=e.onBlur,G=e.onMouseDown,X=e.onMouseUp,q=e.onMouseEnter,Y=e.onMouseLeave,Z=e.onContextMenu,J=e.onClick,$=e.direction,ee=e.autoComplete,te=void 0===ee?"off":ee,ie=u["useRef"](null),oe="date"===_&&!!y||"time"===_,ae=me(ne(w,_,y,x)),se=u["useRef"](null),le=u["useRef"](null),ce=Object(H["a"])(null,{value:C,defaultValue:S}),ue=Object(U["a"])(ce,2),de=ue[0],fe=ue[1],pe=u["useState"](de),Ae=Object(U["a"])(pe,2),ge=Ae[0],ye=Ae[1],be=u["useRef"](null),_e=Object(H["a"])(!1,{value:k,defaultValue:O,postState:function(e){return!I&&e},onChange:function(e){K&&K(e),!e&&be.current&&be.current.onClose&&be.current.onClose()}}),we=Object(U["a"])(_e,2),xe=we[0],Ce=we[1],Se=ir(ge,{formatList:ae,generateConfig:p,locale:A}),ke=Object(U["a"])(Se,2),Ee=ke[0],Oe=ke[1],Be=tr({valueTexts:Ee,onTextChange:function(e){var t=p.locale.parse(A.locale,e,ae);!t||L&&L(t)||ye(t)}}),Me=Object(U["a"])(Be,3),Te=Me[0],Ie=Me[1],Le=Me[2],De=function(e){ye(e),fe(e),Q&&!Ue(p,de,e)&&Q(e,e?p.locale.format(A.locale,e,ae[0]):"")},Pe=function(e){I&&e||Ce(e)},Ne=function(e){return xe&&be.current&&be.current.onKeyDown?be.current.onKeyDown(e):(Object(o["a"])(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},je=function(){X&&X.apply(void 0,arguments),ie.current&&(ie.current.focus(),Pe(!0))},Fe=er({blurToCancel:oe,open:xe,value:Te,triggerOpen:Pe,forwardKeyDown:Ne,isClickOutside:function(e){return!he([se.current,le.current],e)},onSubmit:function(){return(!L||!L(ge))&&(De(ge),Pe(!1),Le(),!0)},onCancel:function(){Pe(!1),ye(de),Le()},onFocus:z,onBlur:W}),Re=Object(U["a"])(Fe,2),He=Re[0],Qe=Re[1],Ke=Qe.focused,ze=Qe.typing;u["useEffect"]((function(){xe||(ye(de),Ee.length&&""!==Ee[0]?Oe!==Te&&Le():Ie(""))}),[xe,Ee]),u["useEffect"]((function(){xe||Le()}),[_]),u["useEffect"]((function(){ye(de)}),[de]),N&&(N.current={focus:function(){ie.current&&ie.current.focus()},blur:function(){ie.current&&ie.current.blur()}});var Ve=Object(R["a"])(Object(R["a"])({},e),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),We=u["createElement"](Vt,Object.assign({},Ve,{generateConfig:p,className:E()(Object(F["a"])({},"".concat(r,"-panel-focused"),!ze)),value:ge,locale:A,tabIndex:-1,onChange:ye,direction:$}));j&&(We=j(We));var Ge,Xe,qe=u["createElement"]("div",{className:"".concat(r,"-panel-container"),onMouseDown:function(e){e.preventDefault()}},We);M&&(Ge=u["createElement"]("span",{className:"".concat(r,"-suffix")},M)),m&&de&&!I&&(Xe=u["createElement"]("span",{onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function(e){e.preventDefault(),e.stopPropagation(),De(null),Pe(!1)},className:"".concat(r,"-clear")},T||u["createElement"]("span",{className:"".concat(r,"-clear-btn")})));var Ye=function(e,t){("submit"===t||"key"!==t&&!oe)&&(De(e),Pe(!1))},Ze="rtl"===$?"bottomRight":"bottomLeft",Je=or(Te,{formatList:ae,generateConfig:p,locale:A}),$e=Object(U["a"])(Je,3),et=$e[0],tt=$e[1],nt=$e[2];return u["createElement"](V.Provider,{value:{operationRef:be,hideHeader:"time"===_,panelRef:se,onSelect:Ye,open:xe,defaultOpenValue:B,onDateMouseEnter:tt,onDateMouseLeave:nt}},u["createElement"]($n,{visible:xe,popupElement:qe,popupStyle:h,prefixCls:r,dropdownClassName:c,dropdownAlign:d,getPopupContainer:P,transitionName:f,popupPlacement:Ze,direction:$},u["createElement"]("div",{className:E()(r,l,(t={},Object(F["a"])(t,"".concat(r,"-disabled"),I),Object(F["a"])(t,"".concat(r,"-focused"),Ke),Object(F["a"])(t,"".concat(r,"-rtl"),"rtl"===$),t)),style:s,onMouseDown:G,onMouseUp:je,onMouseEnter:q,onMouseLeave:Y,onContextMenu:Z,onClick:J},u["createElement"]("div",{className:E()("".concat(r,"-input"),Object(F["a"])({},"".concat(r,"-input-placeholder"),!!et)),ref:le},u["createElement"]("input",Object.assign({id:i,tabIndex:a,disabled:I,readOnly:g||!ze,value:et||Te,onChange:function(e){Ie(e.target.value)},autoFocus:v,placeholder:D,ref:ie,title:Te},He,{size:re(_,ae[0])},ve(e),{autoComplete:te})),Ge,Xe))))}var sr=function(e){Object(N["a"])(n,e);var t=Object(j["a"])(n);function n(){var e;return Object(D["a"])(this,n),e=t.apply(this,arguments),e.pickerRef=u["createRef"](),e.focus=function(){e.pickerRef.current&&e.pickerRef.current.focus()},e.blur=function(){e.pickerRef.current&&e.pickerRef.current.blur()},e}return Object(P["a"])(n,[{key:"render",value:function(){return u["createElement"](ar,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),n}(u["Component"]),lr=sr;function cr(e,t,n){var r=e.picker,i=e.locale,o=e.selectedValue,a=e.disabledDate,s=e.disabled,l=e.generateConfig,c=ye(o,0),d=ye(o,1);function h(e){var t=l.getYear(e),n=l.locale.getWeek(i.locale,e);return 100*t+n}function f(e){var t=l.getYear(e),n=l.getMonth(e);return 100*t+n}function p(e){var t=l.getYear(e),n=De(l,e);return 10*t+n}var A=u["useCallback"]((function(e){if(a&&a(e))return!0;if(s[1]&&d)return!je(l,e,d)&&l.isAfter(e,d);if(t&&d)switch(r){case"quarter":return p(e)>p(d);case"month":return f(e)>f(d);case"week":return h(e)>h(d);default:return!je(l,e,d)&&l.isAfter(e,d)}return!1}),[a,s[1],d,t]),g=u["useCallback"]((function(e){if(a&&a(e))return!0;if(s[0]&&c)return!je(l,e,d)&&l.isAfter(c,e);if(n&&c)switch(r){case"quarter":return p(e)<p(c);case"month":return f(e)<f(c);case"week":return h(e)<h(c);default:return!je(l,e,c)&&l.isAfter(c,e)}return!1}),[a,s[0],c,n]);return[A,g]}function ur(e,t,n,r){var i=Ke(e,n,r,1);function o(n){return n(e,t)?"same":n(i,t)?"closing":"far"}switch(n){case"year":return o((function(e,t){return Ie(r,e,t)}));case"quarter":case"month":return o((function(e,t){return Le(r,e,t)}));default:return o((function(e,t){return Ne(r,e,t)}))}}function dr(e,t,n,r){var i=ye(e,0),o=ye(e,1);if(0===t)return i;if(i&&o){var a=ur(i,o,n,r);switch(a){case"same":return i;case"closing":return i;default:return Ke(o,n,r,-1)}}return i}function hr(e){var t=e.values,n=e.picker,r=e.defaultDates,i=e.generateConfig,o=u["useState"]((function(){return[ye(r,0),ye(r,1)]})),a=Object(U["a"])(o,2),s=a[0],l=a[1],c=u["useState"](null),d=Object(U["a"])(c,2),h=d[0],f=d[1],p=ye(t,0),A=ye(t,1);function g(e){return s[e]?s[e]:ye(h,e)||dr(t,e,n,i)||p||A||i.getNow()}function m(e,n){if(e){var r=be(h,e,n);l(be(s,null,n)||[null,null]);var i=(n+1)%2;ye(t,i)||(r=be(r,e,i)),f(r)}else(p||A)&&f(null)}return[g,m]}function fr(e,t){return e&&e[0]&&e[1]&&t.isAfter(e[0],e[1])?[e[1],e[0]]:e}function pr(e,t,n,r){return!!e||(!(!r||!r[t])||!!n[(t+1)%2])}function Ar(e){var t,n,r,i=e.prefixCls,a=void 0===i?"rc-picker":i,s=e.id,l=e.style,c=e.className,d=e.popupStyle,h=e.dropdownClassName,f=e.transitionName,p=e.dropdownAlign,A=e.getPopupContainer,g=e.generateConfig,m=e.locale,v=e.placeholder,y=e.autoFocus,b=e.disabled,_=e.format,w=e.picker,x=void 0===w?"date":w,C=e.showTime,S=e.use12Hours,k=e.separator,O=void 0===k?"~":k,B=e.value,M=e.defaultValue,T=e.defaultPickerValue,I=e.open,L=e.defaultOpen,D=e.disabledDate,P=e.disabledTime,N=e.dateRender,j=e.panelRender,K=e.ranges,z=e.allowEmpty,W=e.allowClear,G=e.suffixIcon,X=e.clearIcon,q=e.pickerRef,Y=e.inputReadOnly,Z=e.mode,J=e.renderExtraFooter,$=e.onChange,ee=e.onOpenChange,te=e.onPanelChange,ie=e.onCalendarChange,oe=e.onFocus,ae=e.onBlur,se=e.onOk,le=e.components,ce=e.order,ue=e.direction,de=e.activePickerIndex,fe=e.autoComplete,pe=void 0===fe?"off":fe,Ae="date"===x&&!!C||"time"===x,ge=Object(u["useRef"])({}),_e=Object(u["useRef"])(null),we=Object(u["useRef"])(null),xe=Object(u["useRef"])(null),Ce=Object(u["useRef"])(null),Se=Object(u["useRef"])(null),ke=Object(u["useRef"])(null),Ee=Object(u["useRef"])(null),Oe=me(ne(_,x,C,S)),Be=Object(H["a"])(0,{value:de}),Me=Object(U["a"])(Be,2),Te=Me[0],Ie=Me[1],Le=Object(u["useRef"])(null),De=u["useMemo"]((function(){return Array.isArray(b)?b:[b||!1,b||!1]}),[b]),Ne=Object(H["a"])(null,{value:B,defaultValue:M,postState:function(e){return"time"!==x||ce?fr(e,g):e}}),Fe=Object(U["a"])(Ne,2),He=Fe[0],Qe=Fe[1],ze=hr({values:He,picker:x,defaultDates:T,generateConfig:g}),We=Object(U["a"])(ze,2),Ge=We[0],Xe=We[1],qe=Object(H["a"])(He,{postState:function(e){var t=e;if(De[0]&&De[1])return t;for(var n=0;n<2;n+=1)!De[n]||ye(t,n)||ye(z,n)||(t=be(t,g.getNow(),n));return t}}),Ye=Object(U["a"])(qe,2),Ze=Ye[0],Je=Ye[1],$e=Object(H["a"])([x,x],{value:Z}),et=Object(U["a"])($e,2),tt=et[0],nt=et[1];Object(u["useEffect"])((function(){nt([x,x])}),[x]);var rt=function(e,t){nt(e),te&&te(t,e)},it=cr({picker:x,selectedValue:Ze,locale:m,disabled:De,disabledDate:D,generateConfig:g},ge.current[1],ge.current[0]),ot=Object(U["a"])(it,2),at=ot[0],st=ot[1],lt=Object(H["a"])(!1,{value:I,defaultValue:L,postState:function(e){return!De[Te]&&e},onChange:function(e){ee&&ee(e),!e&&Le.current&&Le.current.onClose&&Le.current.onClose()}}),ct=Object(U["a"])(lt,2),ut=ct[0],dt=ct[1],ht=ut&&0===Te,ft=ut&&1===Te,pt=Object(u["useState"])(0),At=Object(U["a"])(pt,2),gt=At[0],mt=At[1];Object(u["useEffect"])((function(){!ut&&_e.current&&mt(_e.current.offsetWidth)}),[ut]);var vt=u["useRef"]();function yt(e,t){if(e)clearTimeout(vt.current),ge.current[t]=!0,Ie(t),dt(e),ut||Xe(null,t);else if(Te===t){dt(e);var n=ge.current;vt.current=setTimeout((function(){n===ge.current&&(ge.current={})}))}}function bt(e){yt(!0,e),setTimeout((function(){var t=[ke,Ee][e];t.current&&t.current.focus()}),0)}function _t(e,t){var n=e,r=ye(n,0),i=ye(n,1);r&&i&&g.isAfter(r,i)&&("week"===x&&!Re(g,m.locale,r,i)||"quarter"===x&&!Pe(g,r,i)||"week"!==x&&"quarter"!==x&&"time"!==x&&!je(g,r,i)?(0===t?(n=[r,null],i=null):(r=null,n=[null,i]),ge.current=Object(F["a"])({},t,!0)):"time"===x&&!1===ce||(n=fr(n,g))),Je(n);var o=n&&n[0]?g.locale.format(m.locale,n[0],Oe[0]):"",a=n&&n[1]?g.locale.format(m.locale,n[1],Oe[0]):"";if(ie){var s={range:0===t?"start":"end"};ie(n,[o,a],s)}var l=pr(r,0,De,z),c=pr(i,1,De,z),u=null===n||l&&c;u&&(Qe(n),!$||Ue(g,ye(He,0),r)&&Ue(g,ye(He,1),i)||$(n,[o,a]));var d=null;0!==t||De[1]?1!==t||De[0]||(d=0):d=1,null===d||d===Te||ge.current[d]&&ye(n,d)||!ye(n,t)?yt(!1,t):bt(d)}var wt=function(e){return ut&&Le.current&&Le.current.onKeyDown?Le.current.onKeyDown(e):(Object(o["a"])(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},xt={formatList:Oe,generateConfig:g,locale:m},Ct=ir(ye(Ze,0),xt),St=Object(U["a"])(Ct,2),kt=St[0],Et=St[1],Ot=ir(ye(Ze,1),xt),Bt=Object(U["a"])(Ot,2),Mt=Bt[0],Tt=Bt[1],It=function(e,t){var n=g.locale.parse(m.locale,e,Oe),r=0===t?at:st;n&&!r(n)&&(Je(be(Ze,n,t)),Xe(n,t))},Lt=tr({valueTexts:kt,onTextChange:function(e){return It(e,0)}}),Dt=Object(U["a"])(Lt,3),Pt=Dt[0],Nt=Dt[1],jt=Dt[2],Ft=tr({valueTexts:Mt,onTextChange:function(e){return It(e,1)}}),Rt=Object(U["a"])(Ft,3),Ut=Rt[0],Ht=Rt[1],zt=Rt[2],Wt=Object(u["useState"])(null),Gt=Object(U["a"])(Wt,2),Xt=Gt[0],qt=Gt[1],Yt=Object(u["useState"])(null),Zt=Object(U["a"])(Yt,2),Jt=Zt[0],$t=Zt[1],en=or(Pt,{formatList:Oe,generateConfig:g,locale:m}),tn=Object(U["a"])(en,3),nn=tn[0],rn=tn[1],on=tn[2],an=or(Ut,{formatList:Oe,generateConfig:g,locale:m}),sn=Object(U["a"])(an,3),ln=sn[0],cn=sn[1],un=sn[2],dn=function(e){$t(be(Ze,e,Te)),0===Te?rn(e):cn(e)},hn=function(){$t(be(Ze,null,Te)),0===Te?on():un()},fn=function(e,t){return{blurToCancel:Ae,forwardKeyDown:wt,onBlur:ae,isClickOutside:function(e){return!he([we.current,xe.current,Ce.current],e)},onFocus:function(t){Ie(e),oe&&oe(t)},triggerOpen:function(t){yt(t,e)},onSubmit:function(){_t(Ze,e),t()},onCancel:function(){yt(!1,e),Je(He),t()}}},pn=er(Object(R["a"])(Object(R["a"])({},fn(0,jt)),{},{open:ht,value:Pt})),An=Object(U["a"])(pn,2),gn=An[0],mn=An[1],vn=mn.focused,yn=mn.typing,bn=er(Object(R["a"])(Object(R["a"])({},fn(1,zt)),{},{open:ft,value:Ut})),_n=Object(U["a"])(bn,2),wn=_n[0],xn=_n[1],Cn=xn.focused,Sn=xn.typing,kn=function(e){ut||ke.current.contains(e.target)||Ee.current.contains(e.target)||(De[0]?De[1]||bt(1):bt(0))},En=function(e){!ut||!vn&&!Cn||ke.current.contains(e.target)||Ee.current.contains(e.target)||e.preventDefault()},On=He&&He[0]?g.locale.format(m.locale,He[0],"YYYYMMDDHHmmss"):"",Bn=He&&He[1]?g.locale.format(m.locale,He[1],"YYYYMMDDHHmmss"):"";Object(u["useEffect"])((function(){ut||(Je(He),kt.length&&""!==kt[0]?Et!==Pt&&jt():Nt(""),Mt.length&&""!==Mt[0]?Tt!==Ut&&zt():Ht(""))}),[ut,kt,Mt]),Object(u["useEffect"])((function(){Je(He)}),[On,Bn]),q&&(q.current={focus:function(){ke.current&&ke.current.focus()},blur:function(){ke.current&&ke.current.blur(),Ee.current&&Ee.current.blur()}});var Mn=Object.keys(K||{}),Tn=Mn.map((function(e){var t=K[e],n="function"===typeof t?t():t;return{label:e,onClick:function(){_t(n,null),yt(!1,Te)},onMouseEnter:function(){qt(n)},onMouseLeave:function(){qt(null)}}}));function In(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null;ut&&Jt&&Jt[0]&&Jt[1]&&g.isAfter(Jt[1],Jt[0])&&(r=Jt);var i=C;if(C&&"object"===Object(Q["a"])(C)&&C.defaultValue){var o=C.defaultValue;i=Object(R["a"])(Object(R["a"])({},C),{},{defaultValue:ye(o,Te)||void 0})}var s=null;return N&&(s=function(e,t){return N(e,t,{range:Te?"end":"start"})}),u["createElement"](Ve.Provider,{value:{inRange:!0,panelPosition:t,rangedValue:Xt||Ze,hoverRangedValue:r}},u["createElement"](Vt,Object.assign({},e,n,{dateRender:s,showTime:i,mode:tt[Te],generateConfig:g,style:void 0,direction:ue,disabledDate:0===Te?at:st,disabledTime:function(e){return!!P&&P(e,0===Te?"start":"end")},className:E()(Object(F["a"])({},"".concat(a,"-panel-focused"),0===Te?!yn:!Sn)),value:ye(Ze,Te),locale:m,tabIndex:-1,onPanelChange:function(e,n){rt(be(tt,n,Te),be(Ze,e,Te));var r=e;"right"===t&&tt[Te]===n&&(r=Ke(r,n,g,-1)),Xe(r,Te)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Ln=0,Dn=0;Te&&xe.current&&Se.current&&we.current&&(Ln=xe.current.offsetWidth+Se.current.offsetWidth,we.current.offsetWidth&&Ln>we.current.offsetWidth&&(Dn=Ln));var Pn="rtl"===ue?{right:Ln}:{left:Ln};function Nn(){var e,t=Qt(a,tt[Te],J),n=Kt({prefixCls:a,components:le,needConfirmButton:Ae,okDisabled:!ye(Ze,Te)||D&&D(Ze[Te]),locale:m,rangeList:Tn,onOk:function(){ye(Ze,Te)&&(_t(Ze,Te),se&&se(Ze))}});if("time"===x||C)e=In();else{var r=Ge(Te),i=Ke(r,x,g),o=tt[Te],s=o===x,l=In(!!s&&"left",{pickerValue:r,onPickerValueChange:function(e){Xe(e,Te)}}),c=In("right",{pickerValue:i,onPickerValueChange:function(e){Xe(Ke(e,x,g,-1),Te)}});e="rtl"===ue?u["createElement"](u["Fragment"],null,c,s&&l):u["createElement"](u["Fragment"],null,l,s&&c)}var d=u["createElement"](u["Fragment"],null,u["createElement"]("div",{className:"".concat(a,"-panels")},e),(t||n)&&u["createElement"]("div",{className:"".concat(a,"-footer")},t,n));return j&&(d=j(d)),u["createElement"]("div",{className:"".concat(a,"-panel-container"),style:{marginLeft:Dn},ref:we,onMouseDown:function(e){e.preventDefault()}},d)}var jn,Fn,Rn=u["createElement"]("div",{className:E()("".concat(a,"-range-wrapper"),"".concat(a,"-").concat(x,"-range-wrapper")),style:{minWidth:gt}},u["createElement"]("div",{className:"".concat(a,"-range-arrow"),style:Pn}),Nn());G&&(jn=u["createElement"]("span",{className:"".concat(a,"-suffix")},G)),W&&(ye(He,0)&&!De[0]||ye(He,1)&&!De[1])&&(Fn=u["createElement"]("span",{onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function(e){e.preventDefault(),e.stopPropagation();var t=He;De[0]||(t=be(t,null,0)),De[1]||(t=be(t,null,1)),_t(t,null),yt(!1,Te)},className:"".concat(a,"-clear")},X||u["createElement"]("span",{className:"".concat(a,"-clear-btn")})));var Un={size:re(x,Oe[0])},Hn=0,Qn=0;xe.current&&Ce.current&&Se.current&&(0===Te?Qn=xe.current.offsetWidth:(Hn=Ln,Qn=Ce.current.offsetWidth));var Kn="rtl"===ue?{right:Hn}:{left:Hn},zn=function(e,t){var n=be(Ze,e,Te);"submit"===t||"key"!==t&&!Ae?(_t(n,Te),0===Te?on():un()):Je(n)};return u["createElement"](V.Provider,{value:{operationRef:Le,hideHeader:"time"===x,onDateMouseEnter:dn,onDateMouseLeave:hn,hideRanges:!0,onSelect:zn,open:ut}},u["createElement"]($n,{visible:ut,popupElement:Rn,popupStyle:d,prefixCls:a,dropdownClassName:h,dropdownAlign:p,getPopupContainer:A,transitionName:f,range:!0,direction:ue},u["createElement"]("div",Object.assign({ref:_e,className:E()(a,"".concat(a,"-range"),c,(t={},Object(F["a"])(t,"".concat(a,"-disabled"),De[0]&&De[1]),Object(F["a"])(t,"".concat(a,"-focused"),0===Te?vn:Cn),Object(F["a"])(t,"".concat(a,"-rtl"),"rtl"===ue),t)),style:l,onClick:kn,onMouseDown:En},ve(e)),u["createElement"]("div",{className:E()("".concat(a,"-input"),(n={},Object(F["a"])(n,"".concat(a,"-input-active"),0===Te),Object(F["a"])(n,"".concat(a,"-input-placeholder"),!!nn),n)),ref:xe},u["createElement"]("input",Object.assign({id:s,disabled:De[0],readOnly:Y||!yn,value:nn||Pt,onChange:function(e){Nt(e.target.value)},autoFocus:y,placeholder:ye(v,0)||"",ref:ke},gn,Un,{autoComplete:pe}))),u["createElement"]("div",{className:"".concat(a,"-range-separator"),ref:Se},O),u["createElement"]("div",{className:E()("".concat(a,"-input"),(r={},Object(F["a"])(r,"".concat(a,"-input-active"),1===Te),Object(F["a"])(r,"".concat(a,"-input-placeholder"),!!ln),r)),ref:Ce},u["createElement"]("input",Object.assign({disabled:De[1],readOnly:Y||!Sn,value:ln||Ut,onChange:function(e){Ht(e.target.value)},placeholder:ye(v,1)||"",ref:Ee},wn,Un,{autoComplete:pe}))),u["createElement"]("div",{className:"".concat(a,"-active-bar"),style:Object(R["a"])(Object(R["a"])({},Kn),{},{width:Qn,position:"absolute"})}),jn,Fn)))}var gr=function(e){Object(N["a"])(n,e);var t=Object(j["a"])(n);function n(){var e;return Object(D["a"])(this,n),e=t.apply(this,arguments),e.pickerRef=u["createRef"](),e.focus=function(){e.pickerRef.current&&e.pickerRef.current.focus()},e.blur=function(){e.pickerRef.current&&e.pickerRef.current.blur()},e}return Object(P["a"])(n,[{key:"render",value:function(){return u["createElement"](Ar,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),n}(u["Component"]),mr=gr,vr=lr,yr=n("61s2");function br(e,t,n){return void 0!==n?n:"year"===e&&t.lang.yearPlaceholder?t.lang.yearPlaceholder:"quarter"===e&&t.lang.quarterPlaceholder?t.lang.quarterPlaceholder:"month"===e&&t.lang.monthPlaceholder?t.lang.monthPlaceholder:"week"===e&&t.lang.weekPlaceholder?t.lang.weekPlaceholder:"time"===e&&t.timePickerLocale.placeholder?t.timePickerLocale.placeholder:t.lang.placeholder}function _r(e,t,n){return void 0!==n?n:"year"===e&&t.lang.yearPlaceholder?t.lang.rangeYearPlaceholder:"month"===e&&t.lang.monthPlaceholder?t.lang.rangeMonthPlaceholder:"week"===e&&t.lang.weekPlaceholder?t.lang.rangeWeekPlaceholder:"time"===e&&t.timePickerLocale.placeholder?t.timePickerLocale.rangePlaceholder:t.lang.rangePlaceholder}var wr=n("uaoM"),xr=n("H84U"),Cr=n("YMnH"),Sr=n("3Nzz"),kr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function Er(e){function t(t,n){var r=function(r){x()(o,r);var i=S()(o);function o(r){var a;return y()(this,o),a=i.call(this,r),a.pickerRef=u["createRef"](),a.focus=function(){a.pickerRef.current&&a.pickerRef.current.focus()},a.blur=function(){a.pickerRef.current&&a.pickerRef.current.blur()},a.getDefaultLocale=function(){var e=a.props.locale,t=c()(c()({},yr["a"]),e);return t.lang=c()(c()({},t.lang),(e||{}).lang),t},a.renderPicker=function(n){var r=a.context,i=r.getPrefixCls,o=r.direction,s=r.getPopupContainer,l=a.props,d=l.prefixCls,h=l.getPopupContainer,f=l.className,p=l.size,A=l.bordered,g=void 0===A||A,v=l.placeholder,y=kr(l,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),b=a.props,_=b.format,w=b.showTime,x=i("picker",d),C={showToday:!0},S={};t&&(S.picker=t);var k=t||a.props.picker;return S=c()(c()(c()({},S),w?Dr(c()({format:_,picker:k},w)):{}),"time"===k?Dr(c()(c()({format:_},a.props),{picker:k})):{}),u["createElement"](Sr["b"].Consumer,null,(function(t){var r,i=p||t;return u["createElement"](vr,c()({ref:a.pickerRef,placeholder:br(k,n,v),suffixIcon:"time"===k?u["createElement"](T.a,null):u["createElement"](B.a,null),clearIcon:u["createElement"](L.a,null),allowClear:!0,transitionName:"slide-up"},C,y,S,{locale:n.lang,className:E()(f,(r={},m()(r,"".concat(x,"-").concat(i),i),m()(r,"".concat(x,"-borderless"),!g),r)),prefixCls:x,getPopupContainer:h||s,generateConfig:e,prevIcon:u["createElement"]("span",{className:"".concat(x,"-prev-icon")}),nextIcon:u["createElement"]("span",{className:"".concat(x,"-next-icon")}),superPrevIcon:u["createElement"]("span",{className:"".concat(x,"-super-prev-icon")}),superNextIcon:u["createElement"]("span",{className:"".concat(x,"-super-next-icon")}),components:Ir,direction:o}))}))},Object(wr["a"])("quarter"!==t,n,"DatePicker.".concat(n," is legacy usage. Please use DatePicker[picker='").concat(t,"'] directly.")),a}return _()(o,[{key:"render",value:function(){return u["createElement"](Cr["a"],{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),o}(u["Component"]);return r.contextType=xr["b"],n&&(r.displayName=n),r}var n=t(),r=t("week","WeekPicker"),i=t("month","MonthPicker"),o=t("year","YearPicker"),a=t("time","TimePicker"),s=t("quarter","QuarterPicker");return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:a,QuarterPicker:s}}var Or=n("8ISB"),Br=n.n(Or),Mr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function Tr(e){var t=function(t){x()(r,t);var n=S()(r);function r(){var t;return y()(this,r),t=n.apply(this,arguments),t.pickerRef=u["createRef"](),t.focus=function(){t.pickerRef.current&&t.pickerRef.current.focus()},t.blur=function(){t.pickerRef.current&&t.pickerRef.current.blur()},t.getDefaultLocale=function(){var e=t.props.locale,n=c()(c()({},yr["a"]),e);return n.lang=c()(c()({},n.lang),(e||{}).lang),n},t.renderPicker=function(n){var r=t.context,i=r.getPrefixCls,o=r.direction,a=r.getPopupContainer,s=t.props,l=s.prefixCls,d=s.getPopupContainer,h=s.className,f=s.size,p=s.bordered,A=void 0===p||p,g=s.placeholder,v=Mr(s,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),y=t.props,b=y.format,_=y.showTime,w=y.picker,x=i("picker",l),C={};return C=c()(c()(c()({},C),_?Dr(c()({format:b,picker:w},_)):{}),"time"===w?Dr(c()(c()({format:b},t.props),{picker:w})):{}),u["createElement"](Sr["b"].Consumer,null,(function(r){var i,s=f||r;return u["createElement"](mr,c()({separator:u["createElement"]("span",{"aria-label":"to",className:"".concat(x,"-separator")},u["createElement"](Br.a,null)),ref:t.pickerRef,placeholder:_r(w,n,g),suffixIcon:"time"===w?u["createElement"](T.a,null):u["createElement"](B.a,null),clearIcon:u["createElement"](L.a,null),allowClear:!0,transitionName:"slide-up"},v,C,{className:E()(h,(i={},m()(i,"".concat(x,"-").concat(s),s),m()(i,"".concat(x,"-borderless"),!A),i)),locale:n.lang,prefixCls:x,getPopupContainer:d||a,generateConfig:e,prevIcon:u["createElement"]("span",{className:"".concat(x,"-prev-icon")}),nextIcon:u["createElement"]("span",{className:"".concat(x,"-next-icon")}),superPrevIcon:u["createElement"]("span",{className:"".concat(x,"-super-prev-icon")}),superNextIcon:u["createElement"]("span",{className:"".concat(x,"-super-next-icon")}),components:Ir,direction:o}))}))},t}return _()(r,[{key:"render",value:function(){return u["createElement"](Cr["a"],{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),r}(u["Component"]);return t.contextType=xr["b"],t}var Ir={button:f,rangeItem:A};function Lr(e){return e?Array.isArray(e)?e:[e]:[]}function Dr(e){var t=e.format,n=e.picker,r=e.showHour,i=e.showMinute,o=e.showSecond,a=e.use12Hours,s=Lr(t)[0],l=c()({},e);return s&&(s.includes("s")||void 0!==o||(l.showSecond=!1),s.includes("m")||void 0!==i||(l.showMinute=!1),s.includes("H")||s.includes("h")||void 0!==r||(l.showHour=!1),(s.includes("a")||s.includes("A"))&&void 0===a&&(l.use12Hours=!0)),"time"===n?l:{showTime:l}}function Pr(e){var t=Er(e),n=t.DatePicker,r=t.WeekPicker,i=t.MonthPicker,o=t.YearPicker,a=t.TimePicker,s=t.QuarterPicker,l=Tr(e),c=n;return c.WeekPicker=r,c.MonthPicker=i,c.YearPicker=o,c.RangePicker=l,c.TimePicker=a,c.QuarterPicker=s,c}var Nr=Pr,jr=Nr(s);t["a"]=jr},"+lIL":function(e,t,n){var r=n("ProS");n("/ry/"),n("3OrL");var i=n("L5E0"),o=n("7Phj");r.registerVisual(i),r.registerLayout(o)},"+nKL":function(e,t,n){"use strict";var r=n("wx14"),i=n("rePB"),o=n("VTBJ"),a=n("ODXe"),s=n("Ff2n"),l=n("q1tI"),c=n("TSYQ"),u=n.n(c),d=n("t23M"),h=l["forwardRef"]((function(e,t){var n=e.height,a=e.offset,s=e.children,c=e.prefixCls,h=e.onInnerResize,f=e.innerProps,p={},A={display:"flex",flexDirection:"column"};return void 0!==a&&(p={height:n,position:"relative",overflow:"hidden"},A=Object(o["a"])(Object(o["a"])({},A),{},{transform:"translateY(".concat(a,"px)"),position:"absolute",left:0,right:0,top:0})),l["createElement"]("div",{style:p},l["createElement"](d["a"],{onResize:function(e){var t=e.offsetHeight;t&&h&&h()}},l["createElement"]("div",Object(r["a"])({style:A,className:u()(Object(i["a"])({},"".concat(c,"-holder-inner"),c)),ref:t},f),s)))}));h.displayName="Filler";var f=h,p=n("1OyB"),A=n("vuIU"),g=n("Ji7U"),m=n("LK+K"),v=n("wgJM"),y=20;function b(e){return"touches"in e?e.touches[0].pageY:e.pageY}var _=function(e){Object(g["a"])(n,e);var t=Object(m["a"])(n);function n(){var e;Object(p["a"])(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),e.moveRaf=null,e.scrollbarRef=l["createRef"](),e.thumbRef=l["createRef"](),e.visibleTimeout=null,e.state={dragging:!1,pageY:null,startTop:null,visible:!1},e.delayHidden=function(){clearTimeout(e.visibleTimeout),e.setState({visible:!0}),e.visibleTimeout=setTimeout((function(){e.setState({visible:!1})}),2e3)},e.onScrollbarTouchStart=function(e){e.preventDefault()},e.onContainerMouseDown=function(e){e.stopPropagation(),e.preventDefault()},e.patchEvents=function(){window.addEventListener("mousemove",e.onMouseMove),window.addEventListener("mouseup",e.onMouseUp),e.thumbRef.current.addEventListener("touchmove",e.onMouseMove),e.thumbRef.current.addEventListener("touchend",e.onMouseUp)},e.removeEvents=function(){var t;window.removeEventListener("mousemove",e.onMouseMove),window.removeEventListener("mouseup",e.onMouseUp),null===(t=e.scrollbarRef.current)||void 0===t||t.removeEventListener("touchstart",e.onScrollbarTouchStart),e.thumbRef.current&&(e.thumbRef.current.removeEventListener("touchstart",e.onMouseDown),e.thumbRef.current.removeEventListener("touchmove",e.onMouseMove),e.thumbRef.current.removeEventListener("touchend",e.onMouseUp)),v["a"].cancel(e.moveRaf)},e.onMouseDown=function(t){var n=e.props.onStartMove;e.setState({dragging:!0,pageY:b(t),startTop:e.getTop()}),n(),e.patchEvents(),t.stopPropagation(),t.preventDefault()},e.onMouseMove=function(t){var n=e.state,r=n.dragging,i=n.pageY,o=n.startTop,a=e.props.onScroll;if(v["a"].cancel(e.moveRaf),r){var s=b(t)-i,l=o+s,c=e.getEnableScrollRange(),u=e.getEnableHeightRange(),d=u?l/u:0,h=Math.ceil(d*c);e.moveRaf=Object(v["a"])((function(){a(h)}))}},e.onMouseUp=function(){var t=e.props.onStopMove;e.setState({dragging:!1}),t(),e.removeEvents()},e.getSpinHeight=function(){var t=e.props,n=t.height,r=t.count,i=n/r*10;return i=Math.max(i,y),i=Math.min(i,n/2),Math.floor(i)},e.getEnableScrollRange=function(){var t=e.props,n=t.scrollHeight,r=t.height;return n-r||0},e.getEnableHeightRange=function(){var t=e.props.height,n=e.getSpinHeight();return t-n||0},e.getTop=function(){var t=e.props.scrollTop,n=e.getEnableScrollRange(),r=e.getEnableHeightRange();if(0===t||0===n)return 0;var i=t/n;return i*r},e.showScroll=function(){var t=e.props,n=t.height,r=t.scrollHeight;return r>n},e}return Object(A["a"])(n,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var e=this.state,t=e.dragging,n=e.visible,r=this.props.prefixCls,o=this.getSpinHeight(),a=this.getTop(),s=this.showScroll(),c=s&&n;return l["createElement"]("div",{ref:this.scrollbarRef,className:u()("".concat(r,"-scrollbar"),Object(i["a"])({},"".concat(r,"-scrollbar-show"),s)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:c?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},l["createElement"]("div",{ref:this.thumbRef,className:u()("".concat(r,"-scrollbar-thumb"),Object(i["a"])({},"".concat(r,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:o,top:a,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),n}(l["Component"]);function w(e){var t=e.children,n=e.setRef,r=l["useCallback"]((function(e){n(e)}),[]);return l["cloneElement"](t,{ref:r})}function x(e,t,n,r,i,o){var a=o.getKey;return e.slice(t,n+1).map((function(e,n){var o=t+n,s=i(e,o,{}),c=a(e);return l["createElement"](w,{key:c,setRef:function(t){return r(e,t)}},s)}))}var C=n("m+aA"),S=function(){function e(){Object(p["a"])(this,e),this.maps=void 0,this.maps=Object.create(null)}return Object(A["a"])(e,[{key:"set",value:function(e,t){this.maps[e]=t}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),k=S;function E(e,t,n){var r=l["useState"](0),i=Object(a["a"])(r,2),o=i[0],s=i[1],c=Object(l["useRef"])(new Map),u=Object(l["useRef"])(new k),d=Object(l["useRef"])();function h(){v["a"].cancel(d.current)}function f(){h(),d.current=Object(v["a"])((function(){c.current.forEach((function(e,t){if(e&&e.offsetParent){var n=Object(C["a"])(e),r=n.offsetHeight;u.current.get(t)!==r&&u.current.set(t,n.offsetHeight)}})),s((function(e){return e+1}))}))}function p(r,i){var o=e(r),a=c.current.get(o);i?(c.current.set(o,i),f()):c.current["delete"](o),!a!==!i&&(i?null===t||void 0===t||t(r):null===n||void 0===n||n(r))}return Object(l["useEffect"])((function(){return h}),[]),[p,f,u.current,o]}var O=n("U8pU");function B(e,t,n,r,i,o,a,s){var c=l["useRef"]();return function(l){if(null!==l&&void 0!==l){if(v["a"].cancel(c.current),"number"===typeof l)a(l);else if(l&&"object"===Object(O["a"])(l)){var u,d=l.align;u="index"in l?l.index:t.findIndex((function(e){return i(e)===l.key}));var h=l.offset,f=void 0===h?0:h,p=function s(l,h){if(!(l<0)&&e.current){var p=e.current.clientHeight,A=!1,g=h;if(p){for(var m=h||d,y=0,b=0,_=0,w=Math.min(t.length,u),x=0;x<=w;x+=1){var C=i(t[x]);b=y;var S=n.get(C);_=b+(void 0===S?r:S),y=_,x===u&&void 0===S&&(A=!0)}var k=null;switch(m){case"top":k=b-f;break;case"bottom":k=_-p+f;break;default:var E=e.current.scrollTop,O=E+p;b<E?g="top":_>O&&(g="bottom")}null!==k&&k!==e.current.scrollTop&&a(k)}c.current=Object(v["a"])((function(){A&&o(),s(l-1,g)}),2)}};p(3)}}else s()}}function M(e,t,n){var r,i,o=e.length,a=t.length;if(0===o&&0===a)return null;o<a?(r=e,i=t):(r=t,i=e);var s={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?n(e):s}for(var c=null,u=1!==Math.abs(o-a),d=0;d<i.length;d+=1){var h=l(r[d]),f=l(i[d]);if(h!==f){c=d,u=u||h!==l(i[d+1]);break}}return null===c?null:{index:c,multiple:u}}function T(e,t,n){var r=l["useState"](e),i=Object(a["a"])(r,2),o=i[0],s=i[1],c=l["useState"](null),u=Object(a["a"])(c,2),d=u[0],h=u[1];return l["useEffect"]((function(){var r=M(o||[],e||[],t);void 0!==(null===r||void 0===r?void 0:r.index)&&(null===n||void 0===n||n(r.index),h(e[r.index])),s(e)}),[e]),[d]}var I="object"===("undefined"===typeof navigator?"undefined":Object(O["a"])(navigator))&&/Firefox/i.test(navigator.userAgent),L=I,D=function(e,t){var n=Object(l["useRef"])(!1),r=Object(l["useRef"])(null);function i(){clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)}var o=Object(l["useRef"])({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e<0&&o.current.top||e>0&&o.current.bottom;return t&&a?(clearTimeout(r.current),n.current=!1):a&&!n.current||i(),!n.current&&a}};function P(e,t,n,r){var i=Object(l["useRef"])(0),o=Object(l["useRef"])(null),a=Object(l["useRef"])(null),s=Object(l["useRef"])(!1),c=D(t,n);function u(t){if(e){v["a"].cancel(o.current);var n=t.deltaY;i.current+=n,a.current=n,c(n)||(L||t.preventDefault(),o.current=Object(v["a"])((function(){var e=s.current?10:1;r(i.current*e),i.current=0})))}}function d(t){e&&(s.current=t.detail===a.current)}return[u,d]}var N=n("TNol"),j=14/15;function F(e,t,n){var r,i=Object(l["useRef"])(!1),o=Object(l["useRef"])(0),a=Object(l["useRef"])(null),s=Object(l["useRef"])(null),c=function(e){if(i.current){var t=Math.ceil(e.touches[0].pageY),r=o.current-t;o.current=t,n(r)&&e.preventDefault(),clearInterval(s.current),s.current=setInterval((function(){r*=j,(!n(r,!0)||Math.abs(r)<=.1)&&clearInterval(s.current)}),16)}},u=function(){i.current=!1,r()},d=function(e){r(),1!==e.touches.length||i.current||(i.current=!0,o.current=Math.ceil(e.touches[0].pageY),a.current=e.target,a.current.addEventListener("touchmove",c),a.current.addEventListener("touchend",u))};r=function(){a.current&&(a.current.removeEventListener("touchmove",c),a.current.removeEventListener("touchend",u))},Object(N["a"])((function(){return e&&t.current.addEventListener("touchstart",d),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",d),r(),clearInterval(s.current)}}),[e])}var R=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange","innerProps"],U=[],H={overflowY:"auto",overflowAnchor:"none"};function Q(e,t){var n=e.prefixCls,c=void 0===n?"rc-virtual-list":n,d=e.className,h=e.height,p=e.itemHeight,A=e.fullHeight,g=void 0===A||A,m=e.style,v=e.data,y=e.children,b=e.itemKey,w=e.virtual,C=e.component,S=void 0===C?"div":C,k=e.onScroll,O=e.onVisibleChange,M=e.innerProps,I=Object(s["a"])(e,R),L=!(!1===w||!h||!p),j=L&&v&&p*v.length>h,Q=Object(l["useState"])(0),K=Object(a["a"])(Q,2),z=K[0],V=K[1],W=Object(l["useState"])(!1),G=Object(a["a"])(W,2),X=G[0],q=G[1],Y=u()(c,d),Z=v||U,J=Object(l["useRef"])(),$=Object(l["useRef"])(),ee=Object(l["useRef"])(),te=l["useCallback"]((function(e){return"function"===typeof b?b(e):null===e||void 0===e?void 0:e[b]}),[b]),ne={getKey:te};function re(e){V((function(t){var n;n="function"===typeof e?e(t):e;var r=we(n);return J.current.scrollTop=r,r}))}var ie=Object(l["useRef"])({start:0,end:Z.length}),oe=Object(l["useRef"])(),ae=T(Z,te),se=Object(a["a"])(ae,1),le=se[0];oe.current=le;var ce=E(te,null,null),ue=Object(a["a"])(ce,4),de=ue[0],he=ue[1],fe=ue[2],pe=ue[3],Ae=l["useMemo"]((function(){if(!L)return{scrollHeight:void 0,start:0,end:Z.length-1,offset:void 0};var e;if(!j)return{scrollHeight:(null===(e=$.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:Z.length-1,offset:void 0};for(var t,n,r,i=0,o=Z.length,a=0;a<o;a+=1){var s=Z[a],l=te(s),c=fe.get(l),u=i+(void 0===c?p:c);u>=z&&void 0===t&&(t=a,n=i),u>z+h&&void 0===r&&(r=a),i=u}return void 0===t&&(t=0,n=0,r=Math.ceil(h/p)),void 0===r&&(r=Z.length-1),r=Math.min(r+1,Z.length),{scrollHeight:i,start:t,end:r,offset:n}}),[j,L,z,Z,pe,h]),ge=Ae.scrollHeight,me=Ae.start,ve=Ae.end,ye=Ae.offset;ie.current.start=me,ie.current.end=ve;var be=ge-h,_e=Object(l["useRef"])(be);function we(e){var t=e;return Number.isNaN(_e.current)||(t=Math.min(t,_e.current)),t=Math.max(t,0),t}_e.current=be;var xe=z<=0,Ce=z>=be,Se=D(xe,Ce);function ke(e){var t=e;re(t)}function Ee(e){var t=e.currentTarget.scrollTop;t!==z&&re(t),null===k||void 0===k||k(e)}var Oe=P(L,xe,Ce,(function(e){re((function(t){var n=t+e;return n}))})),Be=Object(a["a"])(Oe,2),Me=Be[0],Te=Be[1];F(L,J,(function(e,t){return!Se(e,t)&&(Me({preventDefault:function(){},deltaY:e}),!0)})),Object(N["a"])((function(){function e(e){L&&e.preventDefault()}return J.current.addEventListener("wheel",Me),J.current.addEventListener("DOMMouseScroll",Te),J.current.addEventListener("MozMousePixelScroll",e),function(){J.current&&(J.current.removeEventListener("wheel",Me),J.current.removeEventListener("DOMMouseScroll",Te),J.current.removeEventListener("MozMousePixelScroll",e))}}),[L]);var Ie=B(J,Z,fe,p,te,he,re,(function(){var e;null===(e=ee.current)||void 0===e||e.delayHidden()}));l["useImperativeHandle"](t,(function(){return{scrollTo:Ie}})),Object(N["a"])((function(){if(O){var e=Z.slice(me,ve+1);O(e,Z)}}),[me,ve,Z]);var Le=x(Z,me,ve,de,y,ne),De=null;return h&&(De=Object(o["a"])(Object(i["a"])({},g?"height":"maxHeight",h),H),L&&(De.overflowY="hidden",X&&(De.pointerEvents="none"))),l["createElement"]("div",Object(r["a"])({style:Object(o["a"])(Object(o["a"])({},m),{},{position:"relative"}),className:Y},I),l["createElement"](S,{className:"".concat(c,"-holder"),style:De,ref:J,onScroll:Ee},l["createElement"](f,{prefixCls:c,height:ge,offset:ye,onInnerResize:he,ref:$,innerProps:M},Le)),L&&l["createElement"](_,{ref:ee,prefixCls:c,scrollTop:z,height:h,scrollHeight:ge,count:Z.length,onScroll:ke,onStartMove:function(){q(!0)},onStopMove:function(){q(!1)}}))}var K=l["forwardRef"](Q);K.displayName="List";var z=K;t["a"]=z},"+rIm":function(e,t,n){var r=n("bYtY"),i=r.retrieve,o=r.defaults,a=r.extend,s=r.each,l=n("7aKB"),c=n("IwbS"),u=n("Qxkt"),d=n("OELB"),h=d.isRadianAroundZero,f=d.remRadian,p=n("oVpE"),A=p.createSymbol,g=n("Fofx"),m=n("QBsz"),v=m.applyTransform,y=n("aX7z"),b=y.shouldShowAllLabels,_=Math.PI,w=function(e,t){this.opt=t,this.axisModel=e,o(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var n=new c.Group({position:t.position.slice(),rotation:t.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};w.prototype={constructor:w,hasBuilder:function(e){return!!x[e]},add:function(e){x[e].call(this)},getGroup:function(){return this.group}};var x={axisLine:function(){var e=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),r=this._transform,i=[n[0],0],o=[n[1],0];r&&(v(i,i,r),v(o,o,r));var l=a({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new c.Line({anid:"line",subPixelOptimize:!0,shape:{x1:i[0],y1:i[1],x2:o[0],y2:o[1]},style:l,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1}));var u=t.get("axisLine.symbol"),d=t.get("axisLine.symbolSize"),h=t.get("axisLine.symbolOffset")||0;if("number"===typeof h&&(h=[h,h]),null!=u){"string"===typeof u&&(u=[u,u]),"string"!==typeof d&&"number"!==typeof d||(d=[d,d]);var f=d[0],p=d[1];s([{rotate:e.rotation+Math.PI/2,offset:h[0],r:0},{rotate:e.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((i[0]-o[0])*(i[0]-o[0])+(i[1]-o[1])*(i[1]-o[1]))}],(function(t,n){if("none"!==u[n]&&null!=u[n]){var r=A(u[n],-f/2,-p/2,f,p,l.stroke,!0),o=t.r+t.offset,a=[i[0]+o*Math.cos(e.rotation),i[1]-o*Math.sin(e.rotation)];r.attr({rotation:t.rotate,position:a,silent:!0,z2:11}),this.group.add(r)}}),this)}}},axisTickLabel:function(){var e=this.axisModel,t=this.opt,n=L(this,e,t),r=P(this,e,t);O(e,r,n),D(this,e,t)},axisName:function(){var e=this.opt,t=this.axisModel,n=i(e.axisName,t.get("name"));if(n){var r,o,s=t.get("nameLocation"),u=e.nameDirection,d=t.getModel("nameTextStyle"),h=t.get("nameGap")||0,f=this.axisModel.axis.getExtent(),p=f[0]>f[1]?-1:1,A=["start"===s?f[0]-p*h:"end"===s?f[1]+p*h:(f[0]+f[1])/2,T(s)?e.labelOffset+u*h:0],g=t.get("nameRotate");null!=g&&(g=g*_/180),T(s)?r=S(e.rotation,null!=g?g:e.rotation,u):(r=k(e,s,g||0,f),o=e.axisNameAvailableWidth,null!=o&&(o=Math.abs(o/Math.sin(r.rotation)),!isFinite(o)&&(o=null)));var m=d.getFont(),v=t.get("nameTruncate",!0)||{},y=v.ellipsis,b=i(e.nameTruncateMaxWidth,v.maxWidth,o),w=null!=y&&null!=b?l.truncateText(n,b,m,y,{minChar:2,placeholder:v.placeholder}):n,x=t.get("tooltip",!0),O=t.mainType,B={componentType:O,name:n,$vars:["name"]};B[O+"Index"]=t.componentIndex;var M=new c.Text({anid:"name",__fullText:n,__truncatedText:w,position:A,rotation:r.rotation,silent:E(t),z2:1,tooltip:x&&x.show?a({content:n,formatter:function(){return n},formatterParams:B},x):null});c.setTextStyle(M.style,d,{text:w,textFont:m,textFill:d.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:d.get("align")||r.textAlign,textVerticalAlign:d.get("verticalAlign")||r.textVerticalAlign}),t.get("triggerEvent")&&(M.eventData=C(t),M.eventData.targetType="axisName",M.eventData.name=n),this._dumbGroup.add(M),M.updateTransform(),this.group.add(M),M.decomposeTransform()}}},C=w.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},S=w.innerTextLayout=function(e,t,n){var r,i,o=f(t-e);return h(o)?(i=n>0?"top":"bottom",r="center"):h(o-_)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o<_?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}};function k(e,t,n,r){var i,o,a=f(n-e.rotation),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;return h(a-_/2)?(o=l?"bottom":"top",i="center"):h(a-1.5*_)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*_&&a>_/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}var E=w.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)};function O(e,t,n){if(!b(e.axis)){var r=e.get("axisLabel.showMinLabel"),i=e.get("axisLabel.showMaxLabel");t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],c=n[0],u=n[1],d=n[n.length-1],h=n[n.length-2];!1===r?(B(o),B(c)):M(o,a)&&(r?(B(a),B(u)):(B(o),B(c))),!1===i?(B(s),B(d)):M(l,s)&&(i?(B(l),B(h)):(B(s),B(d)))}}function B(e){e&&(e.ignore=!0)}function M(e,t,n){var r=e&&e.getBoundingRect().clone(),i=t&&t.getBoundingRect().clone();if(r&&i){var o=g.identity([]);return g.rotate(o,o,-e.rotation),r.applyTransform(g.mul([],o,e.getLocalTransform())),i.applyTransform(g.mul([],o,t.getLocalTransform())),r.intersect(i)}}function T(e){return"middle"===e||"center"===e}function I(e,t,n,r,i){for(var o=[],a=[],s=[],l=0;l<e.length;l++){var u=e[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,t&&(v(a,a,t),v(s,s,t));var d=new c.Line({anid:i+"_"+e[l].tickValue,subPixelOptimize:!0,shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:r,z2:2,silent:!0});o.push(d)}return o}function L(e,t,n){var r=t.axis,i=t.getModel("axisTick");if(i.get("show")&&!r.scale.isBlank()){for(var a=i.getModel("lineStyle"),s=n.tickDirection*i.get("length"),l=r.getTicksCoords(),c=I(l,e._transform,s,o(a.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}),"ticks"),u=0;u<c.length;u++)e.group.add(c[u]);return c}}function D(e,t,n){var r=t.axis,i=t.getModel("minorTick");if(i.get("show")&&!r.scale.isBlank()){var a=r.getMinorTicksCoords();if(a.length)for(var s=i.getModel("lineStyle"),l=n.tickDirection*i.get("length"),c=o(s.getLineStyle(),o(t.getModel("axisTick").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})),u=0;u<a.length;u++)for(var d=I(a[u],e._transform,l,c,"minorticks_"+u),h=0;h<d.length;h++)e.group.add(d[h])}}function P(e,t,n){var r=t.axis,o=i(n.axisLabelShow,t.get("axisLabel.show"));if(o&&!r.scale.isBlank()){var a=t.getModel("axisLabel"),l=a.get("margin"),d=r.getViewLabels(),h=(i(n.labelRotate,a.get("rotate"))||0)*_/180,f=S(n.rotation,h,n.labelDirection),p=t.getCategories&&t.getCategories(!0),A=[],g=E(t),m=t.get("triggerEvent");return s(d,(function(i,o){var s=i.tickValue,d=i.formattedLabel,h=i.rawLabel,v=a;p&&p[s]&&p[s].textStyle&&(v=new u(p[s].textStyle,a,t.ecModel));var y=v.getTextColor()||t.get("axisLine.lineStyle.color"),b=r.dataToCoord(s),_=[b,n.labelOffset+n.labelDirection*l],w=new c.Text({anid:"label_"+s,position:_,rotation:f.rotation,silent:g,z2:10});c.setTextStyle(w.style,v,{text:d,textAlign:v.getShallow("align",!0)||f.textAlign,textVerticalAlign:v.getShallow("verticalAlign",!0)||v.getShallow("baseline",!0)||f.textVerticalAlign,textFill:"function"===typeof y?y("category"===r.type?h:"value"===r.type?s+"":s,o):y}),m&&(w.eventData=C(t),w.eventData.targetType="axisLabel",w.eventData.value=h),e._dumbGroup.add(w),w.updateTransform(),A.push(w),e.group.add(w),w.decomposeTransform()})),A}}var N=w;e.exports=N},"+wW9":function(e,t,n){var r=n("bYtY"),i=r.each,o=r.isArray,a=r.isObject,s=n("JuEJ"),l=n("4NO4"),c=l.normalizeToArray;function u(e,t){t=t.split(",");for(var n=e,r=0;r<t.length;r++)if(n=n&&n[t[r]],null==n)break;return n}function d(e,t,n,r){t=t.split(",");for(var i,o=e,a=0;a<t.length-1;a++)i=t[a],null==o[i]&&(o[i]={}),o=o[i];(r||null==o[t[a]])&&(o[t[a]]=n)}function h(e){i(f,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var f=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],p=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function A(e,t){s(e,t),e.series=c(e.series),i(e.series,(function(e){if(a(e)){var t=e.type;if("line"===t)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===t||"gauge"===t)null!=e.clockWise&&(e.clockwise=e.clockWise);else if("gauge"===t){var n=u(e,"pointer.color");null!=n&&d(e,"itemStyle.color",n)}h(e)}})),e.dataRange&&(e.visualMap=e.dataRange),i(p,(function(t){var n=e[t];n&&(o(n)||(n=[n]),i(n,(function(e){h(e)})))}))}e.exports=A},"/IIm":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("H6uX"),a=n("IwbS"),s=n("pP6R"),l=n("gPAo"),c=i.curry,u=i.each,d=i.map,h=Math.min,f=Math.max,p=Math.pow,A=1e4,g=6,m=6,v="globalPan",y={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},b={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},_={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},w=0;function x(e){o.call(this),this._zr=e,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+w++,this._handlers={},u(ie,(function(e,t){this._handlers[t]=i.bind(e,this)}),this)}function C(e,t){var n=e._zr;e._enableGlobalPan||s.take(n,v,e._uid),k(n,e._handlers),e._brushType=t.brushType,e._brushOption=i.merge(i.clone(_),t,!0)}function S(e){var t=e._zr;s.release(t,v,e._uid),E(t,e._handlers),e._brushType=e._brushOption=null}function k(e,t){u(t,(function(t,n){e.on(n,t)}))}function E(e,t){u(t,(function(t,n){e.off(n,t)}))}function O(e,t){var n=se[t.brushType].createCover(e,t);return n.__brushOption=t,T(n,t),e.group.add(n),n}function B(e,t){var n=L(t);return n.endCreating&&(n.endCreating(e,t),T(t,t.__brushOption)),t}function M(e,t){var n=t.__brushOption;L(t).updateCoverShape(e,t,n.range,n)}function T(e,t){var n=t.z;null==n&&(n=A),e.traverse((function(e){e.z=n,e.z2=n}))}function I(e,t){L(t).updateCommon(e,t),M(e,t)}function L(e){return se[e.__brushOption.brushType]}function D(e,t,n){var r,i=e._panels;if(!i)return!0;var o=e._transform;return u(i,(function(e){e.isTargetByCursor(t,n,o)&&(r=e)})),r}function P(e,t){var n=e._panels;if(!n)return!0;var r=t.__brushOption.panelId;return null==r||n[r]}function N(e){var t=e._covers,n=t.length;return u(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function j(e,t){var n=d(e._covers,(function(e){var t=e.__brushOption,n=i.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",n,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function F(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],i=n[0]-r[0],o=n[1]-r[1],a=p(i*i+o*o,.5);return a>g}function R(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function U(e,t,n,r){var i=new a.Group;return i.add(new a.Rect({name:"main",style:z(n),silent:!0,draggable:!0,cursor:"move",drift:c(e,t,i,"nswe"),ondragend:c(j,t,{isEnd:!0})})),u(r,(function(n){i.add(new a.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:c(e,t,i,n),ondragend:c(j,t,{isEnd:!0})}))})),i}function H(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=f(i,m),a=n[0][0],s=n[1][0],l=a-i/2,c=s-i/2,u=n[0][1],d=n[1][1],h=u-o+i/2,p=d-o+i/2,A=u-a,g=d-s,v=A+i,y=g+i;K(e,t,"main",a,s,A,g),r.transformable&&(K(e,t,"w",l,c,o,y),K(e,t,"e",h,c,o,y),K(e,t,"n",l,c,v,o),K(e,t,"s",l,p,v,o),K(e,t,"nw",l,c,o,o),K(e,t,"ne",h,c,o,o),K(e,t,"sw",l,p,o,o),K(e,t,"se",h,p,o,o))}function Q(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(z(n)),i.attr({silent:!r,cursor:r?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],(function(n){var i=t.childOfName(n),o=G(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?b[o]+"-resize":null})}))}function K(e,t,n,r,i,o,a){var s=t.childOfName(n);s&&s.setShape(J(Z(e,t,[[r,i],[r+o,i+a]])))}function z(e){return i.defaults({strokeNoScale:!0},e.brushStyle)}function V(e,t,n,r){var i=[h(e,n),h(t,r)],o=[f(e,n),f(t,r)];return[[i[0],o[0]],[i[1],o[1]]]}function W(e){return a.getTransform(e.group)}function G(e,t){if(t.length>1){t=t.split("");var n=[G(e,t[0]),G(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var r={w:"left",e:"right",n:"top",s:"bottom"},i={left:"w",right:"e",top:"n",bottom:"s"};n=a.transformDirection(r[t],W(e));return i[n]}function X(e,t,n,r,i,o,a,s){var l=r.__brushOption,c=e(l.range),d=Y(n,o,a);u(i.split(""),(function(e){var t=y[e];c[t[0]][t[1]]+=d[t[0]]})),l.range=t(V(c[0][0],c[1][0],c[0][1],c[1][1])),I(n,r),j(n,{isEnd:!1})}function q(e,t,n,r,i){var o=t.__brushOption.range,a=Y(e,n,r);u(o,(function(e){e[0]+=a[0],e[1]+=a[1]})),I(e,t),j(e,{isEnd:!1})}function Y(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function Z(e,t,n){var r=P(e,t);return r&&!0!==r?r.clipPath(n,e._transform):i.clone(n)}function J(e){var t=h(e[0][0],e[1][0]),n=h(e[0][1],e[1][1]),r=f(e[0][0],e[1][0]),i=f(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}function $(e,t,n){if(e._brushType&&!ae(e,t)){var r=e._zr,i=e._covers,o=D(e,t,n);if(!e._dragging)for(var a=0;a<i.length;a++){var s=i[a].__brushOption;if(o&&(!0===o||s.panelId===o.panelId)&&se[s.brushType].contain(i[a],n[0],n[1]))return}o&&r.setCursorStyle("crosshair")}}function ee(e){var t=e.event;t.preventDefault&&t.preventDefault()}function te(e,t,n){return e.childOfName("main").contain(t,n)}function ne(e,t,n,r){var o,a=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),F(e)||a){if(s&&!a){"single"===l.brushMode&&N(e);var c=i.clone(l);c.brushType=re(c.brushType,s),c.panelId=!0===s?null:s.panelId,a=e._creatingCover=O(e,c),e._covers.push(a)}if(a){var u=se[re(e._brushType,s)],d=a.__brushOption;d.range=u.getCreatingRange(Z(e,a,e._track)),r&&(B(e,a),u.updateCommon(e,a)),M(e,a),o={isEnd:r}}}else r&&"single"===l.brushMode&&l.removeOnClick&&D(e,t,n)&&N(e)&&(o={isEnd:r,removeOnClick:!0});return o}function re(e,t){return"auto"===e?t.defaultBrushType:e}x.prototype={constructor:x,enableBrush:function(e){return this._brushType&&S(this),e.brushType&&C(this,e),this},setPanels:function(e){if(e&&e.length){var t=this._panels={};i.each(e,(function(e){t[e.panelId]=i.clone(e)}))}else this._panels=null;return this},mount:function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({position:e.position||[0,0],rotation:e.rotation||0,scale:e.scale||[1,1]}),this._transform=t.getLocalTransform(),this},eachCover:function(e,t){u(this._covers,e,t)},updateCovers:function(e){e=i.map(e,(function(e){return i.merge(i.clone(_),e,!0)}));var t="\0-brush-index-",n=this._covers,r=this._covers=[],o=this,a=this._creatingCover;return new l(n,e,c,s).add(u).update(u).remove(d).execute(),this;function s(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function c(e,t){return s(e.__brushOption,t)}function u(t,i){var s=e[t];if(null!=i&&n[i]===a)r[t]=n[i];else{var l=r[t]=null!=i?(n[i].__brushOption=s,n[i]):B(o,O(o,s));I(o,l)}}function d(e){n[e]!==a&&o.group.remove(n[e])}},unmount:function(){return this.enableBrush(!1),N(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},i.mixin(x,o);var ie={mousedown:function(e){if(this._dragging)oe(this,e);else if(!e.target||!e.target.draggable){ee(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var n=this._creatingPanel=D(this,e,t);n&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if($(this,e,r),this._dragging){ee(e);var i=ne(this,e,r,!1);i&&j(this,i)}},mouseup:function(e){oe(this,e)}};function oe(e,t){if(e._dragging){ee(t);var n=t.offsetX,r=t.offsetY,i=e.group.transformCoordToLocal(n,r),o=ne(e,t,i,!0);e._dragging=!1,e._track=[],e._creatingCover=null,o&&j(e,o)}}function ae(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var se={lineX:le(0),lineY:le(1),rect:{createCover:function(e,t){return U(c(X,(function(e){return e}),(function(e){return e})),e,t,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(e){var t=R(e);return V(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){H(e,t,n,r)},updateCommon:Q,contain:te},polygon:{createCover:function(e,t){var n=new a.Group;return n.add(new a.Polyline({name:"main",style:z(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new a.Polygon({name:"main",draggable:!0,drift:c(q,e,t),ondragend:c(j,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:Z(e,t,n)})},updateCommon:Q,contain:te}};function le(e){return{createCover:function(t,n){return U(c(X,(function(t){var n=[t,[0,100]];return e&&n.reverse(),n}),(function(t){return t[e]})),t,n,[["w","e"],["n","s"]][e])},getCreatingRange:function(t){var n=R(t),r=h(n[0][e],n[1][e]),i=f(n[0][e],n[1][e]);return[r,i]},updateCoverShape:function(t,n,r,i){var o,a=P(t,n);if(!0!==a&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e,t._transform);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,o];e&&l.reverse(),H(t,n,l,i)},updateCommon:Q,contain:te}}var ce=x;e.exports=ce},"/MfK":function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="DeleteOutlined";t["a"]=i["forwardRef"](l)},"/POA":function(e,t,n){!function(t,n){e.exports=n()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=34)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forwardEvent=t.EventEmitter=void 0;var r=function(){function e(){this._listeners=[],this._disposed=!1}return Object.defineProperty(e.prototype,"event",{get:function(){var e=this;return this._event||(this._event=function(t){return e._listeners.push(t),{dispose:function(){if(!e._disposed)for(var n=0;n<e._listeners.length;n++)if(e._listeners[n]===t)return void e._listeners.splice(n,1)}}}),this._event},enumerable:!1,configurable:!0}),e.prototype.fire=function(e,t){for(var n=[],r=0;r<this._listeners.length;r++)n.push(this._listeners[r]);for(r=0;r<n.length;r++)n[r].call(void 0,e,t)},e.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},e}();t.EventEmitter=r,t.forwardEvent=function(e,t){return e((function(e){return t.fire(e)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IUnicodeService=t.IOptionsService=t.ILogService=t.IInstantiationService=t.IDirtyRowService=t.ICharsetService=t.ICoreService=t.ICoreMouseService=t.IBufferService=void 0;var r=n(14);t.IBufferService=r.createDecorator("BufferService"),t.ICoreMouseService=r.createDecorator("CoreMouseService"),t.ICoreService=r.createDecorator("CoreService"),t.ICharsetService=r.createDecorator("CharsetService"),t.IDirtyRowService=r.createDecorator("DirtyRowService"),t.IInstantiationService=r.createDecorator("InstantiationService"),t.ILogService=r.createDecorator("LogService"),t.IOptionsService=r.createDecorator("OptionsService"),t.IUnicodeService=r.createDecorator("UnicodeService")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDisposeArrayDisposable=t.disposeArray=t.Disposable=void 0;var r=function(){function e(){this._disposables=[],this._isDisposed=!1}return e.prototype.dispose=function(){this._isDisposed=!0;for(var e=0,t=this._disposables;e<t.length;e++)t[e].dispose();this._disposables.length=0},e.prototype.register=function(e){return this._disposables.push(e),e},e.prototype.unregister=function(e){var t=this._disposables.indexOf(e);-1!==t&&this._disposables.splice(t,1)},e}();function i(e){for(var t=0,n=e;t<n.length;t++)n[t].dispose();e.length=0}t.Disposable=r,t.disposeArray=i,t.getDisposeArrayDisposable=function(e){return{dispose:function(){return i(e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WHITESPACE_CELL_CODE=t.WHITESPACE_CELL_WIDTH=t.WHITESPACE_CELL_CHAR=t.NULL_CELL_CODE=t.NULL_CELL_WIDTH=t.NULL_CELL_CHAR=t.CHAR_DATA_CODE_INDEX=t.CHAR_DATA_WIDTH_INDEX=t.CHAR_DATA_CHAR_INDEX=t.CHAR_DATA_ATTR_INDEX=t.DEFAULT_ATTR=t.DEFAULT_COLOR=void 0,t.DEFAULT_COLOR=256,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CellData=void 0;var o=n(8),a=n(3),s=n(6),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.content=0,t.fg=0,t.bg=0,t.extended=new s.ExtendedAttrs,t.combinedData="",t}return i(t,e),t.fromCharData=function(e){var n=new t;return n.setFromCharData(e),n},t.prototype.isCombined=function(){return 2097152&this.content},t.prototype.getWidth=function(){return this.content>>22},t.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?o.stringFromCodePoint(2097151&this.content):""},t.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},t.prototype.setFromCharData=function(e){this.fg=e[a.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(e[a.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[a.CHAR_DATA_CHAR_INDEX].length){var n=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=n&&n<=56319){var r=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=r&&r<=57343?this.content=1024*(n-55296)+r-56320+65536|e[a.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[a.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[a.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[a.CHAR_DATA_WIDTH_INDEX]<<22)},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(s.AttributeData);t.CellData=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ISoundService=t.ISelectionService=t.IRenderService=t.IMouseService=t.ICoreBrowserService=t.ICharSizeService=void 0;var r=n(14);t.ICharSizeService=r.createDecorator("CharSizeService"),t.ICoreBrowserService=r.createDecorator("CoreBrowserService"),t.IMouseService=r.createDecorator("MouseService"),t.IRenderService=r.createDecorator("RenderService"),t.ISelectionService=r.createDecorator("SelectionService"),t.ISoundService=r.createDecorator("SoundService")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedAttrs=t.AttributeData=void 0;var r=function(){function e(){this.fg=0,this.bg=0,this.extended=new i}return e.toColorRGB=function(e){return[e>>>16&255,e>>>8&255,255&e]},e.fromColorRGB=function(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},e.prototype.clone=function(){var t=new e;return t.fg=this.fg,t.bg=this.bg,t.extended=this.extended.clone(),t},e.prototype.isInverse=function(){return 67108864&this.fg},e.prototype.isBold=function(){return 134217728&this.fg},e.prototype.isUnderline=function(){return 268435456&this.fg},e.prototype.isBlink=function(){return 536870912&this.fg},e.prototype.isInvisible=function(){return 1073741824&this.fg},e.prototype.isItalic=function(){return 67108864&this.bg},e.prototype.isDim=function(){return 134217728&this.bg},e.prototype.getFgColorMode=function(){return 50331648&this.fg},e.prototype.getBgColorMode=function(){return 50331648&this.bg},e.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},e.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},e.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},e.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},e.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},e.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},e.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},e.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},e.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},e.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},e.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},e.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()},e.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},e.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648==(50331648&this.extended.underlineColor):this.isFgRGB()},e.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?16777216==(50331648&this.extended.underlineColor)||33554432==(50331648&this.extended.underlineColor):this.isFgPalette()},e.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?0==(50331648&this.extended.underlineColor):this.isFgDefault()},e.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},e}();t.AttributeData=r;var i=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=-1),this.underlineStyle=e,this.underlineColor=t}return e.prototype.clone=function(){return new e(this.underlineStyle,this.underlineColor)},e.prototype.isEmpty=function(){return 0===this.underlineStyle},e}();t.ExtendedAttrs=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=void 0,t.addDisposableDomListener=function(e,t,n,r){e.addEventListener(t,n,r);var i=!1;return{dispose:function(){i||(i=!0,e.removeEventListener(t,n,r))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Utf8ToUtf32=t.StringToUtf32=t.utf32ToString=t.stringFromCodePoint=void 0,t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var r="",i=t;i<n;++i){var o=e[i];o>65535?(o-=65536,r+=String.fromCharCode(55296+(o>>10))+String.fromCharCode(o%1024+56320)):r+=String.fromCharCode(o)}return r};var r=function(){function e(){this._interim=0}return e.prototype.clear=function(){this._interim=0},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var r=0,i=0;this._interim&&(56320<=(s=e.charCodeAt(i++))&&s<=57343?t[r++]=1024*(this._interim-55296)+s-56320+65536:(t[r++]=this._interim,t[r++]=s),this._interim=0);for(var o=i;o<n;++o){var a=e.charCodeAt(o);if(55296<=a&&a<=56319){if(++o>=n)return this._interim=a,r;var s;56320<=(s=e.charCodeAt(o))&&s<=57343?t[r++]=1024*(a-55296)+s-56320+65536:(t[r++]=a,t[r++]=s)}else t[r++]=a}return r},e}();t.StringToUtf32=r;var i=function(){function e(){this.interim=new Uint8Array(3)}return e.prototype.clear=function(){this.interim.fill(0)},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var r,i,o,a,s=0,l=0,c=0;if(this.interim[0]){var u=!1,d=this.interim[0];d&=192==(224&d)?31:224==(240&d)?15:7;for(var h=0,f=void 0;(f=63&this.interim[++h])&&h<4;)d<<=6,d|=f;for(var p=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,A=p-h;c<A;){if(c>=n)return 0;if(128!=(192&(f=e[c++]))){c--,u=!0;break}this.interim[h++]=f,d<<=6,d|=63&f}u||(2===p?d<128?c--:t[s++]=d:3===p?d<2048||d>=55296&&d<=57343||(t[s++]=d):d<65536||d>1114111||(t[s++]=d)),this.interim.fill(0)}for(var g=n-4,m=c;m<n;){for(;!(!(m<g)||128&(r=e[m])||128&(i=e[m+1])||128&(o=e[m+2])||128&(a=e[m+3]));)t[s++]=r,t[s++]=i,t[s++]=o,t[s++]=a,m+=4;if((r=e[m++])<128)t[s++]=r;else if(192==(224&r)){if(m>=n)return this.interim[0]=r,s;if(128!=(192&(i=e[m++]))){m--;continue}if((l=(31&r)<<6|63&i)<128){m--;continue}t[s++]=l}else if(224==(240&r)){if(m>=n)return this.interim[0]=r,s;if(128!=(192&(i=e[m++]))){m--;continue}if(m>=n)return this.interim[0]=r,this.interim[1]=i,s;if(128!=(192&(o=e[m++]))){m--;continue}if((l=(15&r)<<12|(63&i)<<6|63&o)<2048||l>=55296&&l<=57343)continue;t[s++]=l}else if(240==(248&r)){if(m>=n)return this.interim[0]=r,s;if(128!=(192&(i=e[m++]))){m--;continue}if(m>=n)return this.interim[0]=r,this.interim[1]=i,s;if(128!=(192&(o=e[m++]))){m--;continue}if(m>=n)return this.interim[0]=r,this.interim[1]=i,this.interim[2]=o,s;if(128!=(192&(a=e[m++]))){m--;continue}if((l=(7&r)<<18|(63&i)<<12|(63&o)<<6|63&a)<65536||l>1114111)continue;t[s++]=l}}return s},e}();t.Utf8ToUtf32=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR_ATLAS_CELL_SPACING=t.DIM_OPACITY=t.INVERTED_DEFAULT_COLOR=void 0,t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.CHAR_ATLAS_CELL_SPACING=1},function(e,t,n){"use strict";var r,i,o,a;function s(e){var t=e.toString(16);return t.length<2?"0"+t:t}function l(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}Object.defineProperty(t,"__esModule",{value:!0}),t.contrastRatio=t.toPaddedHex=t.rgba=t.rgb=t.css=t.color=t.channels=void 0,function(e){e.toCss=function(e,t,n,r){return void 0!==r?"#"+s(e)+s(t)+s(n)+s(r):"#"+s(e)+s(t)+s(n)},e.toRgba=function(e,t,n,r){return void 0===r&&(r=255),(e<<24|t<<16|n<<8|r)>>>0}}(r=t.channels||(t.channels={})),(i=t.color||(t.color={})).blend=function(e,t){var n=(255&t.rgba)/255;if(1===n)return{css:t.css,rgba:t.rgba};var i=t.rgba>>24&255,o=t.rgba>>16&255,a=t.rgba>>8&255,s=e.rgba>>24&255,l=e.rgba>>16&255,c=e.rgba>>8&255,u=s+Math.round((i-s)*n),d=l+Math.round((o-l)*n),h=c+Math.round((a-c)*n);return{css:r.toCss(u,d,h),rgba:r.toRgba(u,d,h)}},i.isOpaque=function(e){return 255==(255&e.rgba)},i.ensureContrastRatio=function(e,t,n){var r=a.ensureContrastRatio(e.rgba,t.rgba,n);if(r)return a.toColor(r>>24&255,r>>16&255,r>>8&255)},i.opaque=function(e){var t=(255|e.rgba)>>>0,n=a.toChannels(t),i=n[0],o=n[1],s=n[2];return{css:r.toCss(i,o,s),rgba:t}},i.opacity=function(e,t){var n=Math.round(255*t),i=a.toChannels(e.rgba),o=i[0],s=i[1],l=i[2];return{css:r.toCss(o,s,l,n),rgba:r.toRgba(o,s,l,n)}},(t.css||(t.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 t(e,t,n){var r=e/255,i=t/255,o=n/255;return.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(o=t.rgb||(t.rgb={})),function(e){function t(e,t,n){for(var r=e>>24&255,i=e>>16&255,a=e>>8&255,s=t>>24&255,c=t>>16&255,u=t>>8&255,d=l(o.relativeLuminance2(s,u,c),o.relativeLuminance2(r,i,a));d<n&&(s>0||c>0||u>0);)s-=Math.max(0,Math.ceil(.1*s)),c-=Math.max(0,Math.ceil(.1*c)),u-=Math.max(0,Math.ceil(.1*u)),d=l(o.relativeLuminance2(s,u,c),o.relativeLuminance2(r,i,a));return(s<<24|c<<16|u<<8|255)>>>0}function n(e,t,n){for(var r=e>>24&255,i=e>>16&255,a=e>>8&255,s=t>>24&255,c=t>>16&255,u=t>>8&255,d=l(o.relativeLuminance2(s,u,c),o.relativeLuminance2(r,i,a));d<n&&(s<255||c<255||u<255);)s=Math.min(255,s+Math.ceil(.1*(255-s))),c=Math.min(255,c+Math.ceil(.1*(255-c))),u=Math.min(255,u+Math.ceil(.1*(255-u))),d=l(o.relativeLuminance2(s,u,c),o.relativeLuminance2(r,i,a));return(s<<24|c<<16|u<<8|255)>>>0}e.ensureContrastRatio=function(e,r,i){var a=o.relativeLuminance(e>>8),s=o.relativeLuminance(r>>8);if(l(a,s)<i)return s<a?t(e,r,i):n(e,r,i)},e.reduceLuminance=t,e.increaseLuminance=n,e.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,n){return{css:r.toCss(e,t,n),rgba:r.toRgba(e,t,n)}}}(a=t.rgba||(t.rgba={})),t.toPaddedHex=s,t.contrastRatio=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLinux=t.isWindows=t.isIphone=t.isIpad=t.isMac=t.isSafari=t.isFirefox=void 0;var r="undefined"==typeof navigator,i=r?"node":navigator.userAgent,o=r?"node":navigator.platform;function a(e,t){return e.indexOf(t)>=0}t.isFirefox=!!~i.indexOf("Firefox"),t.isSafari=/^((?!chrome|android).)*safari/i.test(i),t.isMac=a(["Macintosh","MacIntel","MacPPC","Mac68K"],o),t.isIpad="iPad"===o,t.isIphone="iPhone"===o,t.isWindows=a(["Windows","Win16","Win32","WinCE"],o),t.isLinux=o.indexOf("Linux")>=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.C1=t.C0=void 0,function(e){e.NUL="\0",e.SOH="\x01",e.STX="\x02",e.ETX="\x03",e.EOT="\x04",e.ENQ="\x05",e.ACK="\x06",e.BEL="\x07",e.BS="\b",e.HT="\t",e.LF="\n",e.VT="\v",e.FF="\f",e.CR="\r",e.SO="\x0e",e.SI="\x0f",e.DLE="\x10",e.DC1="\x11",e.DC2="\x12",e.DC3="\x13",e.DC4="\x14",e.NAK="\x15",e.SYN="\x16",e.ETB="\x17",e.CAN="\x18",e.EM="\x19",e.SUB="\x1a",e.ESC="\x1b",e.FS="\x1c",e.GS="\x1d",e.RS="\x1e",e.US="\x1f",e.SP=" ",e.DEL="\x7f"}(t.C0||(t.C0={})),function(e){e.PAD="\x80",e.HOP="\x81",e.BPH="\x82",e.NBH="\x83",e.IND="\x84",e.NEL="\x85",e.SSA="\x86",e.ESA="\x87",e.HTS="\x88",e.HTJ="\x89",e.VTS="\x8a",e.PLD="\x8b",e.PLU="\x8c",e.RI="\x8d",e.SS2="\x8e",e.SS3="\x8f",e.DCS="\x90",e.PU1="\x91",e.PU2="\x92",e.STS="\x93",e.CCH="\x94",e.MW="\x95",e.SPA="\x96",e.EPA="\x97",e.SOS="\x98",e.SGCI="\x99",e.SCI="\x9a",e.CSI="\x9b",e.ST="\x9c",e.OSC="\x9d",e.PM="\x9e",e.APC="\x9f"}(t.C1||(t.C1={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRenderLayer=void 0;var r=n(3),i=n(9),o=n(25),a=n(6),s=n(28),l=n(10),c=n(17),u=function(){function e(e,t,n,r,i,o,a,s){this._container=e,this._alpha=r,this._colors=i,this._rendererId=o,this._bufferService=a,this._optionsService=s,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-"+t+"-layer"),this._canvas.style.zIndex=n.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return e.prototype.dispose=function(){var e;c.removeElementFromParent(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},e.prototype._initCanvas=function(){this._ctx=s.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},e.prototype.onOptionsChanged=function(){},e.prototype.onBlur=function(){},e.prototype.onFocus=function(){},e.prototype.onCursorMove=function(){},e.prototype.onGridChanged=function(e,t){},e.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1)},e.prototype.setColors=function(e){this._refreshCharAtlas(e)},e.prototype._setTransparency=function(e){if(e!==this._alpha){var t=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,t),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},e.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=o.acquireCharAtlas(this._optionsService.options,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},e.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},e.prototype._fillCells=function(e,t,n,r){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,r*this._scaledCellHeight)},e.prototype._fillBottomLineAtCells=function(e,t,n){void 0===n&&(n=1),this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-window.devicePixelRatio-1,n*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillLeftLineAtCell=function(e,t,n){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,window.devicePixelRatio*n,this._scaledCellHeight)},e.prototype._strokeRectAtCell=function(e,t,n,r){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,t*this._scaledCellHeight+window.devicePixelRatio/2,n*this._scaledCellWidth-window.devicePixelRatio,r*this._scaledCellHeight-window.devicePixelRatio)},e.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))},e.prototype._clearCells=function(e,t,n,r){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,r*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,r*this._scaledCellHeight))},e.prototype._fillCharTrueColor=function(e,t,n){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(n),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},e.prototype._drawChars=function(e,t,n){var o,a,s=this._getContrastColor(e);s||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,t,n,s):(e.isInverse()?(o=e.isBgDefault()?i.INVERTED_DEFAULT_COLOR:e.getBgColor(),a=e.isFgDefault()?i.INVERTED_DEFAULT_COLOR:e.getFgColor()):(a=e.isBgDefault()?r.DEFAULT_COLOR:e.getBgColor(),o=e.isFgDefault()?r.DEFAULT_COLOR:e.getFgColor()),o+=this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&o<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||r.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||r.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=o,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(e,t,n))},e.prototype._drawUncachedChars=function(e,t,n,r){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline="middle",e.isInverse())if(r)this._ctx.fillStyle=r.css;else if(e.isBgDefault())this._ctx.fillStyle=l.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var o=e.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&o<8&&(o+=8),this._ctx.fillStyle=this._colors.ansi[o].css}else if(r)this._ctx.fillStyle=r.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var s=e.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&s<8&&(s+=8),this._ctx.fillStyle=this._colors.ansi[s].css}this._clipRow(n),e.isDim()&&(this._ctx.globalAlpha=i.DIM_OPACITY),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},e.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},e.prototype._getFont=function(e,t){return(t?"italic":"")+" "+(e?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},e.prototype._getContrastColor=function(e){if(1!==this._optionsService.options.minimumContrastRatio){var t=this._colors.contrastCache.getColor(e.bg,e.fg);if(void 0!==t)return t||void 0;var n=e.getFgColor(),r=e.getFgColorMode(),i=e.getBgColor(),o=e.getBgColorMode(),a=!!e.isInverse(),s=!!e.isInverse();if(a){var c=n;n=i,i=c;var u=r;r=o,o=u}var d=this._resolveBackgroundRgba(o,i,a),h=this._resolveForegroundRgba(r,n,a,s),f=l.rgba.ensureContrastRatio(d,h,this._optionsService.options.minimumContrastRatio);if(f){var p={css:l.channels.toCss(f>>24&255,f>>16&255,f>>8&255),rgba:f};return this._colors.contrastCache.setColor(e.bg,e.fg,p),p}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},e.prototype._resolveBackgroundRgba=function(e,t,n){switch(e){case 16777216:case 33554432:return this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return n?this._colors.foreground.rgba:this._colors.background.rgba}},e.prototype._resolveForegroundRgba=function(e,t,n,r){switch(e){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&r&&t<8&&(t+=8),this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return n?this._colors.background.rgba:this._colors.foreground.rgba}},e}();t.BaseRenderLayer=u},function(e,t,n){"use strict";function r(e,t,n){t.di$target===t?t.di$dependencies.push({id:e,index:n}):(t.di$dependencies=[{id:e,index:n}],t.di$target=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.createDecorator=t.getServiceDependencies=t.serviceRegistry=void 0,t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e.di$dependencies||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);var n=function e(t,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");r(e,t,i)};return n.toString=function(){return e},t.serviceRegistry.set(e,n),n}},function(e,t,n){"use strict";function r(e,t,n,r){if(void 0===n&&(n=0),void 0===r&&(r=e.length),n>=e.length)return e;n=(e.length+n)%e.length,r=r>=e.length?e.length:(e.length+r)%e.length;for(var i=n;i<r;++i)e[i]=t;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.concat=t.fillFallback=t.fill=void 0,t.fill=function(e,t,n,i){return e.fill?e.fill(t,n,i):r(e,t,n,i)},t.fillFallback=r,t.concat=function(e,t){var n=new e.constructor(e.length+t.length);return n.set(e),n.set(t,e.length),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLine=t.DEFAULT_ATTR_DATA=void 0;var r=n(8),i=n(3),o=n(4),a=n(6);t.DEFAULT_ATTR_DATA=Object.freeze(new a.AttributeData);var s=function(){function e(e,t,n){void 0===n&&(n=!1),this.isWrapped=n,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*e);for(var r=t||o.CellData.fromCharData([0,i.NULL_CELL_CHAR,i.NULL_CELL_WIDTH,i.NULL_CELL_CODE]),a=0;a<e;++a)this.setCell(a,r);this.length=e}return e.prototype.get=function(e){var t=this._data[3*e+0],n=2097151&t;return[this._data[3*e+1],2097152&t?this._combined[e]:n?r.stringFromCodePoint(n):"",t>>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):n]},e.prototype.set=function(e,t){this._data[3*e+1]=t[i.CHAR_DATA_ATTR_INDEX],t[i.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[i.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[i.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[i.CHAR_DATA_WIDTH_INDEX]<<22},e.prototype.getWidth=function(e){return this._data[3*e+0]>>22},e.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},e.prototype.getFg=function(e){return this._data[3*e+1]},e.prototype.getBg=function(e){return this._data[3*e+2]},e.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},e.prototype.getCodePoint=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t},e.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},e.prototype.getString=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?r.stringFromCodePoint(2097151&t):""},e.prototype.loadCell=function(e,t){var n=3*e;return t.content=this._data[n+0],t.fg=this._data[n+1],t.bg=this._data[n+2],2097152&t.content&&(t.combinedData=this._combined[e]),268435456&t.bg&&(t.extended=this._extendedAttrs[e]),t},e.prototype.setCell=function(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),268435456&t.bg&&(this._extendedAttrs[e]=t.extended),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg},e.prototype.setCellFromCodePoint=function(e,t,n,r,i,o){268435456&i&&(this._extendedAttrs[e]=o),this._data[3*e+0]=t|n<<22,this._data[3*e+1]=r,this._data[3*e+2]=i},e.prototype.addCodepointToCell=function(e,t){var n=this._data[3*e+0];2097152&n?this._combined[e]+=r.stringFromCodePoint(t):(2097151&n?(this._combined[e]=r.stringFromCodePoint(2097151&n)+r.stringFromCodePoint(t),n&=-2097152,n|=2097152):n=t|1<<22,this._data[3*e+0]=n)},e.prototype.insertCells=function(e,t,n,r){if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs),t<this.length-e){for(var i=new o.CellData,s=this.length-e-t-1;s>=0;--s)this.setCell(e+t+s,this.loadCell(e+s,i));for(s=0;s<t;++s)this.setCell(e+s,n)}else for(s=e;s<this.length;++s)this.setCell(s,n);2===this.getWidth(this.length-1)&&this.setCellFromCodePoint(this.length-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs)},e.prototype.deleteCells=function(e,t,n,r){if(e%=this.length,t<this.length-e){for(var i=new o.CellData,s=0;s<this.length-e-t;++s)this.setCell(e+s,this.loadCell(e+t+s,i));for(s=this.length-t;s<this.length;++s)this.setCell(s,n)}else for(s=e;s<this.length;++s)this.setCell(s,n);e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs),0!==this.getWidth(e)||this.hasContent(e)||this.setCellFromCodePoint(e,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs)},e.prototype.replaceCells=function(e,t,n,r){for(e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs),t<this.length&&2===this.getWidth(t-1)&&this.setCellFromCodePoint(t,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs);e<t&&e<this.length;)this.setCell(e++,n)},e.prototype.resize=function(e,t){if(e!==this.length){if(e>this.length){var n=new Uint32Array(3*e);this.length&&(3*e<this._data.length?n.set(this._data.subarray(0,3*e)):n.set(this._data)),this._data=n;for(var r=this.length;r<e;++r)this.setCell(r,t)}else if(e){(n=new Uint32Array(3*e)).set(this._data.subarray(0,3*e)),this._data=n;var i=Object.keys(this._combined);for(r=0;r<i.length;r++){var o=parseInt(i[r],10);o>=e&&delete this._combined[o]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},e.prototype.fill=function(e){this._combined={},this._extendedAttrs={};for(var t=0;t<this.length;++t)this.setCell(t,e)},e.prototype.copyFrom=function(e){for(var t 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[t]=e._combined[t];for(var t in this._extendedAttrs={},e._extendedAttrs)this._extendedAttrs[t]=e._extendedAttrs[t];this.isWrapped=e.isWrapped},e.prototype.clone=function(){var t=new e(0);for(var n in t._data=new Uint32Array(this._data),t.length=this.length,this._combined)t._combined[n]=this._combined[n];for(var n in this._extendedAttrs)t._extendedAttrs[n]=this._extendedAttrs[n];return t.isWrapped=this.isWrapped,t},e.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},e.prototype.copyCellsFrom=function(e,t,n,r,i){var o=e._data;if(i)for(var a=r-1;a>=0;a--)for(var s=0;s<3;s++)this._data[3*(n+a)+s]=o[3*(t+a)+s];else for(a=0;a<r;a++)for(s=0;s<3;s++)this._data[3*(n+a)+s]=o[3*(t+a)+s];var l=Object.keys(e._combined);for(s=0;s<l.length;s++){var c=parseInt(l[s],10);c>=t&&(this._combined[c-t+n]=e._combined[c])}},e.prototype.translateToString=function(e,t,n){void 0===e&&(e=!1),void 0===t&&(t=0),void 0===n&&(n=this.length),e&&(n=Math.min(n,this.getTrimmedLength()));for(var o="";t<n;){var a=this._data[3*t+0],s=2097151&a;o+=2097152&a?this._combined[t]:s?r.stringFromCodePoint(s):i.WHITESPACE_CELL_CHAR,t+=a>>22||1}return o},e}();t.BufferLine=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeElementFromParent=void 0,t.removeElementFromParent=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];null===(e=null==o?void 0:o.parentElement)||void 0===e||e.removeChild(o)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tooMuchOutput=t.promptLabel=void 0,t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.InputHandler=t.WindowsOptionsReportType=void 0;var o,a=n(12),s=n(20),l=n(39),c=n(2),u=n(15),d=n(8),h=n(16),f=n(0),p=n(3),A=n(4),g=n(6),m=n(22),v=n(24),y={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function b(e,t){if(e>24)return t.setWinLines||!1;switch(e){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(e){e[e.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",e[e.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(o=t.WindowsOptionsReportType||(t.WindowsOptionsReportType={}));var _=function(){function e(e,t,n,r){this._bufferService=e,this._coreService=t,this._logService=n,this._optionsService=r,this._data=new Uint32Array(0)}return e.prototype.hook=function(e){this._data=new Uint32Array(0)},e.prototype.put=function(e,t,n){this._data=u.concat(this._data,e.subarray(t,n))},e.prototype.unhook=function(e){if(e){var t=d.utf32ToString(this._data);switch(this._data=new Uint32Array(0),t){case'"q':return this._coreService.triggerDataEvent(a.C0.ESC+'P1$r0"q'+a.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(a.C0.ESC+'P1$r61;1"p'+a.C0.ESC+"\\");case"r":var n=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+n+a.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(a.C0.ESC+"P1$r0m"+a.C0.ESC+"\\");case" q":var r={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return r-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+r+" q"+a.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(a.C0.ESC+"P0$r"+a.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},e}(),w=function(e){function t(t,n,r,i,o,c,u,p,g){void 0===g&&(g=new l.EscapeSequenceParser);var v=e.call(this)||this;v._bufferService=t,v._charsetService=n,v._coreService=r,v._dirtyRowService=i,v._logService=o,v._optionsService=c,v._coreMouseService=u,v._unicodeService=p,v._parser=g,v._parseBuffer=new Uint32Array(4096),v._stringDecoder=new d.StringToUtf32,v._utf8Decoder=new d.Utf8ToUtf32,v._workCell=new A.CellData,v._windowTitle="",v._iconName="",v._windowTitleStack=[],v._iconNameStack=[],v._curAttrData=h.DEFAULT_ATTR_DATA.clone(),v._eraseAttrDataInternal=h.DEFAULT_ATTR_DATA.clone(),v._onRequestBell=new f.EventEmitter,v._onRequestRefreshRows=new f.EventEmitter,v._onRequestReset=new f.EventEmitter,v._onRequestScroll=new f.EventEmitter,v._onRequestSyncScrollBar=new f.EventEmitter,v._onRequestWindowsOptionsReport=new f.EventEmitter,v._onA11yChar=new f.EventEmitter,v._onA11yTab=new f.EventEmitter,v._onCursorMove=new f.EventEmitter,v._onLineFeed=new f.EventEmitter,v._onScroll=new f.EventEmitter,v._onTitleChange=new f.EventEmitter,v.register(v._parser),v._parser.setCsiHandlerFallback((function(e,t){v._logService.debug("Unknown CSI code: ",{identifier:v._parser.identToString(e),params:t.toArray()})})),v._parser.setEscHandlerFallback((function(e){v._logService.debug("Unknown ESC code: ",{identifier:v._parser.identToString(e)})})),v._parser.setExecuteHandlerFallback((function(e){v._logService.debug("Unknown EXECUTE code: ",{code:e})})),v._parser.setOscHandlerFallback((function(e,t,n){v._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:n})})),v._parser.setDcsHandlerFallback((function(e,t,n){"HOOK"===t&&(n=n.toArray()),v._logService.debug("Unknown DCS code: ",{identifier:v._parser.identToString(e),action:t,payload:n})})),v._parser.setPrintHandler((function(e,t,n){return v.print(e,t,n)})),v._parser.setCsiHandler({final:"@"},(function(e){return v.insertChars(e)})),v._parser.setCsiHandler({intermediates:" ",final:"@"},(function(e){return v.scrollLeft(e)})),v._parser.setCsiHandler({final:"A"},(function(e){return v.cursorUp(e)})),v._parser.setCsiHandler({intermediates:" ",final:"A"},(function(e){return v.scrollRight(e)})),v._parser.setCsiHandler({final:"B"},(function(e){return v.cursorDown(e)})),v._parser.setCsiHandler({final:"C"},(function(e){return v.cursorForward(e)})),v._parser.setCsiHandler({final:"D"},(function(e){return v.cursorBackward(e)})),v._parser.setCsiHandler({final:"E"},(function(e){return v.cursorNextLine(e)})),v._parser.setCsiHandler({final:"F"},(function(e){return v.cursorPrecedingLine(e)})),v._parser.setCsiHandler({final:"G"},(function(e){return v.cursorCharAbsolute(e)})),v._parser.setCsiHandler({final:"H"},(function(e){return v.cursorPosition(e)})),v._parser.setCsiHandler({final:"I"},(function(e){return v.cursorForwardTab(e)})),v._parser.setCsiHandler({final:"J"},(function(e){return v.eraseInDisplay(e)})),v._parser.setCsiHandler({prefix:"?",final:"J"},(function(e){return v.eraseInDisplay(e)})),v._parser.setCsiHandler({final:"K"},(function(e){return v.eraseInLine(e)})),v._parser.setCsiHandler({prefix:"?",final:"K"},(function(e){return v.eraseInLine(e)})),v._parser.setCsiHandler({final:"L"},(function(e){return v.insertLines(e)})),v._parser.setCsiHandler({final:"M"},(function(e){return v.deleteLines(e)})),v._parser.setCsiHandler({final:"P"},(function(e){return v.deleteChars(e)})),v._parser.setCsiHandler({final:"S"},(function(e){return v.scrollUp(e)})),v._parser.setCsiHandler({final:"T"},(function(e){return v.scrollDown(e)})),v._parser.setCsiHandler({final:"X"},(function(e){return v.eraseChars(e)})),v._parser.setCsiHandler({final:"Z"},(function(e){return v.cursorBackwardTab(e)})),v._parser.setCsiHandler({final:"`"},(function(e){return v.charPosAbsolute(e)})),v._parser.setCsiHandler({final:"a"},(function(e){return v.hPositionRelative(e)})),v._parser.setCsiHandler({final:"b"},(function(e){return v.repeatPrecedingCharacter(e)})),v._parser.setCsiHandler({final:"c"},(function(e){return v.sendDeviceAttributesPrimary(e)})),v._parser.setCsiHandler({prefix:">",final:"c"},(function(e){return v.sendDeviceAttributesSecondary(e)})),v._parser.setCsiHandler({final:"d"},(function(e){return v.linePosAbsolute(e)})),v._parser.setCsiHandler({final:"e"},(function(e){return v.vPositionRelative(e)})),v._parser.setCsiHandler({final:"f"},(function(e){return v.hVPosition(e)})),v._parser.setCsiHandler({final:"g"},(function(e){return v.tabClear(e)})),v._parser.setCsiHandler({final:"h"},(function(e){return v.setMode(e)})),v._parser.setCsiHandler({prefix:"?",final:"h"},(function(e){return v.setModePrivate(e)})),v._parser.setCsiHandler({final:"l"},(function(e){return v.resetMode(e)})),v._parser.setCsiHandler({prefix:"?",final:"l"},(function(e){return v.resetModePrivate(e)})),v._parser.setCsiHandler({final:"m"},(function(e){return v.charAttributes(e)})),v._parser.setCsiHandler({final:"n"},(function(e){return v.deviceStatus(e)})),v._parser.setCsiHandler({prefix:"?",final:"n"},(function(e){return v.deviceStatusPrivate(e)})),v._parser.setCsiHandler({intermediates:"!",final:"p"},(function(e){return v.softReset(e)})),v._parser.setCsiHandler({intermediates:" ",final:"q"},(function(e){return v.setCursorStyle(e)})),v._parser.setCsiHandler({final:"r"},(function(e){return v.setScrollRegion(e)})),v._parser.setCsiHandler({final:"s"},(function(e){return v.saveCursor(e)})),v._parser.setCsiHandler({final:"t"},(function(e){return v.windowOptions(e)})),v._parser.setCsiHandler({final:"u"},(function(e){return v.restoreCursor(e)})),v._parser.setCsiHandler({intermediates:"'",final:"}"},(function(e){return v.insertColumns(e)})),v._parser.setCsiHandler({intermediates:"'",final:"~"},(function(e){return v.deleteColumns(e)})),v._parser.setExecuteHandler(a.C0.BEL,(function(){return v.bell()})),v._parser.setExecuteHandler(a.C0.LF,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(a.C0.VT,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(a.C0.FF,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(a.C0.CR,(function(){return v.carriageReturn()})),v._parser.setExecuteHandler(a.C0.BS,(function(){return v.backspace()})),v._parser.setExecuteHandler(a.C0.HT,(function(){return v.tab()})),v._parser.setExecuteHandler(a.C0.SO,(function(){return v.shiftOut()})),v._parser.setExecuteHandler(a.C0.SI,(function(){return v.shiftIn()})),v._parser.setExecuteHandler(a.C1.IND,(function(){return v.index()})),v._parser.setExecuteHandler(a.C1.NEL,(function(){return v.nextLine()})),v._parser.setExecuteHandler(a.C1.HTS,(function(){return v.tabSet()})),v._parser.setOscHandler(0,new m.OscHandler((function(e){v.setTitle(e),v.setIconName(e)}))),v._parser.setOscHandler(1,new m.OscHandler((function(e){return v.setIconName(e)}))),v._parser.setOscHandler(2,new m.OscHandler((function(e){return v.setTitle(e)}))),v._parser.setEscHandler({final:"7"},(function(){return v.saveCursor()})),v._parser.setEscHandler({final:"8"},(function(){return v.restoreCursor()})),v._parser.setEscHandler({final:"D"},(function(){return v.index()})),v._parser.setEscHandler({final:"E"},(function(){return v.nextLine()})),v._parser.setEscHandler({final:"H"},(function(){return v.tabSet()})),v._parser.setEscHandler({final:"M"},(function(){return v.reverseIndex()})),v._parser.setEscHandler({final:"="},(function(){return v.keypadApplicationMode()})),v._parser.setEscHandler({final:">"},(function(){return v.keypadNumericMode()})),v._parser.setEscHandler({final:"c"},(function(){return v.fullReset()})),v._parser.setEscHandler({final:"n"},(function(){return v.setgLevel(2)})),v._parser.setEscHandler({final:"o"},(function(){return v.setgLevel(3)})),v._parser.setEscHandler({final:"|"},(function(){return v.setgLevel(3)})),v._parser.setEscHandler({final:"}"},(function(){return v.setgLevel(2)})),v._parser.setEscHandler({final:"~"},(function(){return v.setgLevel(1)})),v._parser.setEscHandler({intermediates:"%",final:"@"},(function(){return v.selectDefaultCharset()})),v._parser.setEscHandler({intermediates:"%",final:"G"},(function(){return v.selectDefaultCharset()}));var y=function(e){b._parser.setEscHandler({intermediates:"(",final:e},(function(){return v.selectCharset("("+e)})),b._parser.setEscHandler({intermediates:")",final:e},(function(){return v.selectCharset(")"+e)})),b._parser.setEscHandler({intermediates:"*",final:e},(function(){return v.selectCharset("*"+e)})),b._parser.setEscHandler({intermediates:"+",final:e},(function(){return v.selectCharset("+"+e)})),b._parser.setEscHandler({intermediates:"-",final:e},(function(){return v.selectCharset("-"+e)})),b._parser.setEscHandler({intermediates:".",final:e},(function(){return v.selectCharset("."+e)})),b._parser.setEscHandler({intermediates:"/",final:e},(function(){return v.selectCharset("/"+e)}))},b=this;for(var w in s.CHARSETS)y(w);return v._parser.setEscHandler({intermediates:"#",final:"8"},(function(){return v.screenAlignmentPattern()})),v._parser.setErrorHandler((function(e){return v._logService.error("Parsing error: ",e),e})),v._parser.setDcsHandler({intermediates:"$",final:"q"},new _(v._bufferService,v._coreService,v._logService,v._optionsService)),v}return i(t,e),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(){e.prototype.dispose.call(this)},t.prototype.parse=function(e){var t=this._bufferService.buffer,n=t.x,r=t.y;if(this._logService.debug("parsing data",e),this._parseBuffer.length<e.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(e.length,131072))),this._dirtyRowService.clearRange(),e.length>131072)for(var i=0;i<e.length;i+=131072){var o=i+131072<e.length?i+131072:e.length,a="string"==typeof e?this._stringDecoder.decode(e.substring(i,o),this._parseBuffer):this._utf8Decoder.decode(e.subarray(i,o),this._parseBuffer);this._parser.parse(this._parseBuffer,a)}else a="string"==typeof e?this._stringDecoder.decode(e,this._parseBuffer):this._utf8Decoder.decode(e,this._parseBuffer),this._parser.parse(this._parseBuffer,a);(t=this._bufferService.buffer).x===n&&t.y===r||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},t.prototype.print=function(e,t,n){var r,i,o=this._bufferService.buffer,a=this._charsetService.charset,s=this._optionsService.options.screenReaderMode,l=this._bufferService.cols,c=this._coreService.decPrivateModes.wraparound,u=this._coreService.modes.insertMode,h=this._curAttrData,f=o.lines.get(o.ybase+o.y);this._dirtyRowService.markDirty(o.y),o.x&&n-t>0&&2===f.getWidth(o.x-1)&&f.setCellFromCodePoint(o.x-1,0,1,h.fg,h.bg,h.extended);for(var A=t;A<n;++A){if(r=e[A],i=this._unicodeService.wcwidth(r),r<127&&a){var g=a[String.fromCharCode(r)];g&&(r=g.charCodeAt(0))}if(s&&this._onA11yChar.fire(d.stringFromCodePoint(r)),i||!o.x){if(o.x+i-1>=l)if(c){for(;o.x<l;)f.setCellFromCodePoint(o.x++,0,1,h.fg,h.bg,h.extended);o.x=0,o.y++,o.y===o.scrollBottom+1?(o.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(o.y>=this._bufferService.rows&&(o.y=this._bufferService.rows-1),o.lines.get(o.ybase+o.y).isWrapped=!0),f=o.lines.get(o.ybase+o.y)}else if(o.x=l-1,2===i)continue;if(u&&(f.insertCells(o.x,i,o.getNullCell(h),h),2===f.getWidth(l-1)&&f.setCellFromCodePoint(l-1,p.NULL_CELL_CODE,p.NULL_CELL_WIDTH,h.fg,h.bg,h.extended)),f.setCellFromCodePoint(o.x++,r,i,h.fg,h.bg,h.extended),i>0)for(;--i;)f.setCellFromCodePoint(o.x++,0,0,h.fg,h.bg,h.extended)}else f.getWidth(o.x-1)?f.addCodepointToCell(o.x-1,r):f.addCodepointToCell(o.x-2,r)}n-t>0&&(f.loadCell(o.x-1,this._workCell),2===this._workCell.getWidth()||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),o.x<l&&n-t>0&&0===f.getWidth(o.x)&&!f.hasContent(o.x)&&f.setCellFromCodePoint(o.x,0,1,h.fg,h.bg,h.extended),this._dirtyRowService.markDirty(o.y)},t.prototype.addCsiHandler=function(e,t){var n=this;return"t"!==e["final"]||e.prefix||e.intermediates?this._parser.addCsiHandler(e,t):this._parser.addCsiHandler(e,(function(e){return!b(e.params[0],n._optionsService.options.windowOptions)||t(e)}))},t.prototype.addDcsHandler=function(e,t){return this._parser.addDcsHandler(e,new v.DcsHandler(t))},t.prototype.addEscHandler=function(e,t){return this._parser.addEscHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._parser.addOscHandler(e,new m.OscHandler(t))},t.prototype.bell=function(){this._onRequestBell.fire()},t.prototype.lineFeed=function(){var e=this._bufferService.buffer;this._dirtyRowService.markDirty(e.y),this._optionsService.options.convertEol&&(e.x=0),e.y++,e.y===e.scrollBottom+1?(e.y--,this._onRequestScroll.fire(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),e.x>=this._bufferService.cols&&e.x--,this._dirtyRowService.markDirty(e.y),this._onLineFeed.fire()},t.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},t.prototype.backspace=function(){var e,t=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(t.x>0&&t.x--);if(this._restrictCursor(this._bufferService.cols),t.x>0)t.x--;else if(0===t.x&&t.y>t.scrollTop&&t.y<=t.scrollBottom&&(null===(e=t.lines.get(t.ybase+t.y))||void 0===e?void 0:e.isWrapped)){t.lines.get(t.ybase+t.y).isWrapped=!1,t.y--,t.x=this._bufferService.cols-1;var n=t.lines.get(t.ybase+t.y);n.hasWidth(t.x)&&!n.hasContent(t.x)&&t.x--}this._restrictCursor()},t.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var e=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-e)}},t.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},t.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},t.prototype._restrictCursor=function(e){void 0===e&&(e=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(e,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,t){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=e,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+t):(this._bufferService.buffer.x=e,this._bufferService.buffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype._moveCursor=function(e,t){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+e,this._bufferService.buffer.y+t)},t.prototype.cursorUp=function(e){var t=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;t>=0?this._moveCursor(0,-Math.min(t,e.params[0]||1)):this._moveCursor(0,-(e.params[0]||1))},t.prototype.cursorDown=function(e){var t=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;t>=0?this._moveCursor(0,Math.min(t,e.params[0]||1)):this._moveCursor(0,e.params[0]||1)},t.prototype.cursorForward=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.cursorBackward=function(e){this._moveCursor(-(e.params[0]||1),0)},t.prototype.cursorNextLine=function(e){this.cursorDown(e),this._bufferService.buffer.x=0},t.prototype.cursorPrecedingLine=function(e){this.cursorUp(e),this._bufferService.buffer.x=0},t.prototype.cursorCharAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.cursorPosition=function(e){this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1)},t.prototype.charPosAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.hPositionRelative=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.linePosAbsolute=function(e){this._setCursor(this._bufferService.buffer.x,(e.params[0]||1)-1)},t.prototype.vPositionRelative=function(e){this._moveCursor(0,e.params[0]||1)},t.prototype.hVPosition=function(e){this.cursorPosition(e)},t.prototype.tabClear=function(e){var t=e.params[0];0===t?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:3===t&&(this._bufferService.buffer.tabs={})},t.prototype.cursorForwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1;t--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},t.prototype.cursorBackwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1,n=this._bufferService.buffer;t--;)n.x=n.prevStop()},t.prototype._eraseInBufferLine=function(e,t,n,r){void 0===r&&(r=!1);var i=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);i.replaceCells(t,n,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),r&&(i.isWrapped=!1)},t.prototype._resetBufferLine=function(e){var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);t.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),t.isWrapped=!1},t.prototype.eraseInDisplay=function(e){var t;switch(this._restrictCursor(),e.params[0]){case 0:for(t=this._bufferService.buffer.y,this._dirtyRowService.markDirty(t),this._eraseInBufferLine(t++,this._bufferService.buffer.x,this._bufferService.cols,0===this._bufferService.buffer.x);t<this._bufferService.rows;t++)this._resetBufferLine(t);this._dirtyRowService.markDirty(t);break;case 1:for(t=this._bufferService.buffer.y,this._dirtyRowService.markDirty(t),this._eraseInBufferLine(t,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(t+1).isWrapped=!1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 2:for(t=this._bufferService.rows,this._dirtyRowService.markDirty(t-1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 3:var n=this._bufferService.buffer.lines.length-this._bufferService.rows;n>0&&(this._bufferService.buffer.lines.trimStart(n),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-n,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-n,0),this._onScroll.fire(0))}},t.prototype.eraseInLine=function(e){switch(this._restrictCursor(),e.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(e){this._restrictCursor();var t=e.params[0]||1,n=this._bufferService.buffer;if(!(n.y>n.scrollBottom||n.y<n.scrollTop)){for(var r=n.ybase+n.y,i=this._bufferService.rows-1-n.scrollBottom,o=this._bufferService.rows-1+n.ybase-i+1;t--;)n.lines.splice(o-1,1),n.lines.splice(r,0,n.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(n.y,n.scrollBottom),n.x=0}},t.prototype.deleteLines=function(e){this._restrictCursor();var t=e.params[0]||1,n=this._bufferService.buffer;if(!(n.y>n.scrollBottom||n.y<n.scrollTop)){var r,i=n.ybase+n.y;for(r=this._bufferService.rows-1-n.scrollBottom,r=this._bufferService.rows-1+n.ybase-r;t--;)n.lines.splice(i,1),n.lines.splice(r,0,n.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(n.y,n.scrollBottom),n.x=0}},t.prototype.insertChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);t&&(t.insertCells(this._bufferService.buffer.x,e.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},t.prototype.deleteChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);t&&(t.deleteCells(this._bufferService.buffer.x,e.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},t.prototype.scrollUp=function(e){for(var t=e.params[0]||1,n=this._bufferService.buffer;t--;)n.lines.splice(n.ybase+n.scrollTop,1),n.lines.splice(n.ybase+n.scrollBottom,0,n.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(n.scrollTop,n.scrollBottom)},t.prototype.scrollDown=function(e){for(var t=e.params[0]||1,n=this._bufferService.buffer;t--;)n.lines.splice(n.ybase+n.scrollBottom,1),n.lines.splice(n.ybase+n.scrollTop,0,n.getBlankLine(h.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(n.scrollTop,n.scrollBottom)},t.prototype.scrollLeft=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var n=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var i=t.lines.get(t.ybase+r);i.deleteCells(0,n,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},t.prototype.scrollRight=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var n=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var i=t.lines.get(t.ybase+r);i.insertCells(0,n,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},t.prototype.insertColumns=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var n=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var i=this._bufferService.buffer.lines.get(t.ybase+r);i.insertCells(t.x,n,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},t.prototype.deleteColumns=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var n=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var i=t.lines.get(t.ybase+r);i.deleteCells(t.x,n,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},t.prototype.eraseChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);t&&(t.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(e.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},t.prototype.repeatPrecedingCharacter=function(e){if(this._parser.precedingCodepoint){for(var t=e.params[0]||1,n=new Uint32Array(t),r=0;r<t;++r)n[r]=this._parser.precedingCodepoint;this.print(n,0,n.length)}},t.prototype.sendDeviceAttributesPrimary=function(e){e.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(a.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(a.C0.ESC+"[?6c"))},t.prototype.sendDeviceAttributesSecondary=function(e){e.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(a.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(a.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(a.C0.ESC+"[>83;40003;0c"))},t.prototype._is=function(e){return 0===(this._optionsService.options.termName+"").indexOf(e)},t.prototype.setMode=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){case 4:this._coreService.modes.insertMode=!0}},t.prototype.setModePrivate=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,s.DEFAULT_CHARSET),this._charsetService.setgCharset(1,s.DEFAULT_CHARSET),this._charsetService.setgCharset(2,s.DEFAULT_CHARSET),this._charsetService.setgCharset(3,s.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},t.prototype.resetMode=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){case 4:this._coreService.modes.insertMode=!1}},t.prototype.resetModePrivate=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){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(),1049===e.params[t]&&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,t,n,r,i){return 2===t?(e|=50331648,e&=-16777216,e|=g.AttributeData.fromColorRGB([n,r,i])):5===t&&(e&=-50331904,e|=33554432|255&n),e},t.prototype._extractColor=function(e,t,n){var r=[0,0,-1,0,0,0],i=0,o=0;do{if(r[o+i]=e.params[t+o],e.hasSubParams(t+o)){var a=e.getSubParams(t+o),s=0;do{5===r[1]&&(i=1),r[o+s+1+i]=a[s]}while(++s<a.length&&s+o+1+i<r.length);break}if(5===r[1]&&o+i>=2||2===r[1]&&o+i>=5)break;r[1]&&(i=1)}while(++o+t<e.length&&o+i<r.length);for(s=2;s<r.length;++s)-1===r[s]&&(r[s]=0);switch(r[0]){case 38:n.fg=this._updateAttrColor(n.fg,r[1],r[3],r[4],r[5]);break;case 48:n.bg=this._updateAttrColor(n.bg,r[1],r[3],r[4],r[5]);break;case 58:n.extended=n.extended.clone(),n.extended.underlineColor=this._updateAttrColor(n.extended.underlineColor,r[1],r[3],r[4],r[5])}return o},t.prototype._processUnderline=function(e,t){t.extended=t.extended.clone(),(!~e||e>5)&&(e=1),t.extended.underlineStyle=e,t.fg|=268435456,0===e&&(t.fg&=-268435457),t.updateExtended()},t.prototype.charAttributes=function(e){if(1===e.length&&0===e.params[0])return this._curAttrData.fg=h.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=h.DEFAULT_ATTR_DATA.bg);for(var t,n=e.length,r=this._curAttrData,i=0;i<n;i++)(t=e.params[i])>=30&&t<=37?(r.fg&=-50331904,r.fg|=16777216|t-30):t>=40&&t<=47?(r.bg&=-50331904,r.bg|=16777216|t-40):t>=90&&t<=97?(r.fg&=-50331904,r.fg|=16777224|t-90):t>=100&&t<=107?(r.bg&=-50331904,r.bg|=16777224|t-100):0===t?(r.fg=h.DEFAULT_ATTR_DATA.fg,r.bg=h.DEFAULT_ATTR_DATA.bg):1===t?r.fg|=134217728:3===t?r.bg|=67108864:4===t?(r.fg|=268435456,this._processUnderline(e.hasSubParams(i)?e.getSubParams(i)[0]:1,r)):5===t?r.fg|=536870912:7===t?r.fg|=67108864:8===t?r.fg|=1073741824:2===t?r.bg|=134217728:21===t?this._processUnderline(2,r):22===t?(r.fg&=-134217729,r.bg&=-134217729):23===t?r.bg&=-67108865:24===t?r.fg&=-268435457:25===t?r.fg&=-536870913:27===t?r.fg&=-67108865:28===t?r.fg&=-1073741825:39===t?(r.fg&=-67108864,r.fg|=16777215&h.DEFAULT_ATTR_DATA.fg):49===t?(r.bg&=-67108864,r.bg|=16777215&h.DEFAULT_ATTR_DATA.bg):38===t||48===t||58===t?i+=this._extractColor(e,i,r):59===t?(r.extended=r.extended.clone(),r.extended.underlineColor=-1,r.updateExtended()):100===t?(r.fg&=-67108864,r.fg|=16777215&h.DEFAULT_ATTR_DATA.fg,r.bg&=-67108864,r.bg|=16777215&h.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",t)},t.prototype.deviceStatus=function(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(a.C0.ESC+"[0n");break;case 6:var t=this._bufferService.buffer.y+1,n=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(a.C0.ESC+"["+t+";"+n+"R")}},t.prototype.deviceStatusPrivate=function(e){switch(e.params[0]){case 6:var t=this._bufferService.buffer.y+1,n=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(a.C0.ESC+"[?"+t+";"+n+"R")}},t.prototype.softReset=function(e){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=h.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(e){var t=e.params[0]||1;switch(t){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 n=t%2==1;this._optionsService.options.cursorBlink=n},t.prototype.setScrollRegion=function(e){var t,n=e.params[0]||1;(e.length<2||(t=e.params[1])>this._bufferService.rows||0===t)&&(t=this._bufferService.rows),t>n&&(this._bufferService.buffer.scrollTop=n-1,this._bufferService.buffer.scrollBottom=t-1,this._setCursor(0,0))},t.prototype.windowOptions=function(e){if(b(e.params[0],this._optionsService.options.windowOptions)){var t=e.length>1?e.params[1]:0;switch(e.params[0]){case 14:2!==t&&this._onRequestWindowsOptionsReport.fire(o.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(o.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(a.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},t.prototype.saveCursor=function(e){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(e){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(e){this._windowTitle=e,this._onTitleChange.fire(e)},t.prototype.setIconName=function(e){this._iconName=e},t.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},t.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},t.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},t.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,s.DEFAULT_CHARSET)},t.prototype.selectCharset=function(e){2===e.length?"/"!==e[0]&&this._charsetService.setgCharset(y[e[0]],s.CHARSETS[e[1]]||s.DEFAULT_CHARSET):this.selectDefaultCharset()},t.prototype.index=function(){this._restrictCursor();var e=this._bufferService.buffer;this._bufferService.buffer.y++,e.y===e.scrollBottom+1?(e.y--,this._onRequestScroll.fire(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.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 e=this._bufferService.buffer;if(e.y===e.scrollTop){var t=e.scrollBottom-e.scrollTop;e.lines.shiftElements(e.ybase+e.y,t,1),e.lines.set(e.ybase+e.y,e.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(e.scrollTop,e.scrollBottom)}else e.y--,this._restrictCursor()},t.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},t.prototype.reset=function(){this._curAttrData=h.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=h.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(e){this._charsetService.setgLevel(e)},t.prototype.screenAlignmentPattern=function(){var e=new A.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg;var t=this._bufferService.buffer;this._setCursor(0,0);for(var n=0;n<this._bufferService.rows;++n){var r=t.ybase+t.y+n,i=t.lines.get(r);i&&(i.fill(e),i.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},t}(c.Disposable);t.InputHandler=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CHARSET=t.CHARSETS=void 0,t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.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"},t.CHARSETS.A={"#":"\xa3"},t.CHARSETS.B=void 0,t.CHARSETS[4]={"#":"\xa3","@":"\xbe","[":"ij","\\":"\xbd","]":"|","{":"\xa8","|":"f","}":"\xbc","~":"\xb4"},t.CHARSETS.C=t.CHARSETS[5]={"[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS.R={"#":"\xa3","@":"\xe0","[":"\xb0","\\":"\xe7","]":"\xa7","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xa8"},t.CHARSETS.Q={"@":"\xe0","[":"\xe2","\\":"\xe7","]":"\xea","^":"\xee","`":"\xf4","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xfb"},t.CHARSETS.K={"@":"\xa7","[":"\xc4","\\":"\xd6","]":"\xdc","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xdf"},t.CHARSETS.Y={"#":"\xa3","@":"\xa7","[":"\xb0","\\":"\xe7","]":"\xe9","`":"\xf9","{":"\xe0","|":"\xf2","}":"\xe8","~":"\xec"},t.CHARSETS.E=t.CHARSETS[6]={"@":"\xc4","[":"\xc6","\\":"\xd8","]":"\xc5","^":"\xdc","`":"\xe4","{":"\xe6","|":"\xf8","}":"\xe5","~":"\xfc"},t.CHARSETS.Z={"#":"\xa3","@":"\xa7","[":"\xa1","\\":"\xd1","]":"\xbf","{":"\xb0","|":"\xf1","}":"\xe7"},t.CHARSETS.H=t.CHARSETS[7]={"@":"\xc9","[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS["="]={"#":"\xf9","@":"\xe0","[":"\xe9","\\":"\xe7","]":"\xea","^":"\xee",_:"\xe8","`":"\xf4","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xfb"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Params=void 0;var r=function(){function e(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return e.fromArray=function(t){var n=new e;if(!t.length)return n;for(var r=t[0]instanceof Array?1:0;r<t.length;++r){var i=t[r];if(i instanceof Array)for(var o=0;o<i.length;++o)n.addSubParam(i[o]);else n.addParam(i)}return n},e.prototype.clone=function(){var t=new e(this.maxLength,this.maxSubParamsLength);return t.params.set(this.params),t.length=this.length,t._subParams.set(this._subParams),t._subParamsLength=this._subParamsLength,t._subParamsIdx.set(this._subParamsIdx),t._rejectDigits=this._rejectDigits,t._rejectSubDigits=this._rejectSubDigits,t._digitIsSub=this._digitIsSub,t},e.prototype.toArray=function(){for(var e=[],t=0;t<this.length;++t){e.push(this.params[t]);var n=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];r-n>0&&e.push(Array.prototype.slice.call(this._subParams,n,r))}return e},e.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},e.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>2147483647?2147483647:e}},e.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>2147483647?2147483647:e,this._subParamsIdx[this.length-1]++}},e.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},e.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,n=255&this._subParamsIdx[e];return n-t>0?this._subParams.subarray(t,n):null},e.prototype.getSubParamsAll=function(){for(var e={},t=0;t<this.length;++t){var n=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];r-n>0&&(e[t]=this._subParams.slice(n,r))}return e},e.prototype.addDigit=function(e){var t;if(!(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var n=this._digitIsSub?this._subParams:this.params,r=n[t-1];n[t-1]=~r?Math.min(10*r+e,2147483647):e}},e}();t.Params=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OscHandler=t.OscParser=void 0;var r=n(23),i=n(8),o=function(){function e(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.reset=function(){2===this._state&&this.end(!1),this._id=-1,this._state=0},e.prototype._start=function(){var e=this._handlers[this._id];if(e)for(var t=e.length-1;t>=0;t--)e[t].start();else this._handlerFb(this._id,"START")},e.prototype._put=function(e,t,n){var r=this._handlers[this._id];if(r)for(var o=r.length-1;o>=0;o--)r[o].put(e,t,n);else this._handlerFb(this._id,"PUT",i.utf32ToString(e,t,n))},e.prototype._end=function(e){var t=this._handlers[this._id];if(t){for(var n=t.length-1;n>=0&&!1===t[n].end(e);n--);for(n--;n>=0;n--)t[n].end(!1)}else this._handlerFb(this._id,"END",e)},e.prototype.start=function(){this.reset(),this._id=-1,this._state=1},e.prototype.put=function(e,t,n){if(3!==this._state){if(1===this._state)for(;t<n;){var r=e[t++];if(59===r){this._state=2,this._start();break}if(r<48||57<r)return void(this._state=3);-1===this._id&&(this._id=0),this._id=10*this._id+r-48}2===this._state&&n-t>0&&this._put(e,t,n)}},e.prototype.end=function(e){0!==this._state&&(3!==this._state&&(1===this._state&&this._start(),this._end(e)),this._id=-1,this._state=0)},e}();t.OscParser=o;var a=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.start=function(){this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=i.utf32ToString(e,t,n),this._data.length>r.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.end=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data)),this._data="",this._hitLimit=!1,t},e}();t.OscHandler=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=void 0,t.PAYLOAD_LIMIT=1e7},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DcsHandler=t.DcsParser=void 0;var r=n(8),i=n(21),o=n(23),a=[],s=function(){function e(){this._handlers=Object.create(null),this._active=a,this._ident=0,this._handlerFb=function(){}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=a,this._ident=0},e.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||a,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(t);else this._handlerFb(this._ident,"HOOK",t)},e.prototype.put=function(e,t,n){if(this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].put(e,t,n);else this._handlerFb(this._ident,"PUT",r.utf32ToString(e,t,n))},e.prototype.unhook=function(e){if(this._active.length){for(var t=this._active.length-1;t>=0&&!1===this._active[t].unhook(e);t--);for(t--;t>=0;t--)this._active[t].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",e);this._active=a,this._ident=0},e}();t.DcsParser=s;var l=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.hook=function(e){this._params=e.clone(),this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=r.utf32ToString(e,t,n),this._data.length>o.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data,this._params||new i.Params)),this._params=void 0,this._data="",this._hitLimit=!1,t},e}();t.DcsHandler=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTerminalFromCache=t.acquireCharAtlas=void 0;var r=n(26),i=n(43),o=[];t.acquireCharAtlas=function(e,t,n,a,s){for(var l=r.generateConfig(a,s,e,n),c=0;c<o.length;c++){var u=(d=o[c]).ownedBy.indexOf(t);if(u>=0){if(r.configEquals(d.config,l))return d.atlas;1===d.ownedBy.length?(d.atlas.dispose(),o.splice(c,1)):d.ownedBy.splice(u,1);break}}for(c=0;c<o.length;c++){var d=o[c];if(r.configEquals(d.config,l))return d.ownedBy.push(t),d.atlas}var h={atlas:new i.DynamicCharAtlas(document,l),config:l,ownedBy:[t]};return o.push(h),h.atlas},t.removeTerminalFromCache=function(e){for(var t=0;t<o.length;t++){var n=o[t].ownedBy.indexOf(e);if(-1!==n){1===o[t].ownedBy.length?(o[t].atlas.dispose(),o.splice(t,1)):o[t].ownedBy.splice(n,1);break}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.is256Color=t.configEquals=t.generateConfig=void 0;var r=n(3);t.generateConfig=function(e,t,n,r){var i={foreground:r.foreground,background:r.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:r.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:e,scaledCharHeight:t,fontFamily:n.fontFamily,fontSize:n.fontSize,fontWeight:n.fontWeight,fontWeightBold:n.fontWeightBold,allowTransparency:n.allowTransparency,colors:i}},t.configEquals=function(e,t){for(var n=0;n<e.colors.ansi.length;n++)if(e.colors.ansi[n].rgba!==t.colors.ansi[n].rgba)return!1;return e.devicePixelRatio===t.devicePixelRatio&&e.fontFamily===t.fontFamily&&e.fontSize===t.fontSize&&e.fontWeight===t.fontWeight&&e.fontWeightBold===t.fontWeightBold&&e.allowTransparency===t.allowTransparency&&e.scaledCharWidth===t.scaledCharWidth&&e.scaledCharHeight===t.scaledCharHeight&&e.colors.foreground===t.colors.foreground&&e.colors.background===t.colors.background},t.is256Color=function(e){return e<r.DEFAULT_COLOR}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorManager=t.DEFAULT_ANSI_COLORS=void 0;var r=n(10),i=n(45),o=r.css.toColor("#ffffff"),a=r.css.toColor("#000000"),s=r.css.toColor("#ffffff"),l=r.css.toColor("#000000"),c={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};t.DEFAULT_ANSI_COLORS=function(){for(var e=[r.css.toColor("#2e3436"),r.css.toColor("#cc0000"),r.css.toColor("#4e9a06"),r.css.toColor("#c4a000"),r.css.toColor("#3465a4"),r.css.toColor("#75507b"),r.css.toColor("#06989a"),r.css.toColor("#d3d7cf"),r.css.toColor("#555753"),r.css.toColor("#ef2929"),r.css.toColor("#8ae234"),r.css.toColor("#fce94f"),r.css.toColor("#729fcf"),r.css.toColor("#ad7fa8"),r.css.toColor("#34e2e2"),r.css.toColor("#eeeeec")],t=[0,95,135,175,215,255],n=0;n<216;n++){var i=t[n/36%6|0],o=t[n/6%6|0],a=t[n%6];e.push({css:r.channels.toCss(i,o,a),rgba:r.channels.toRgba(i,o,a)})}for(n=0;n<24;n++){var s=8+10*n;e.push({css:r.channels.toCss(s,s,s),rgba:r.channels.toRgba(s,s,s)})}return e}();var u=function(){function e(e,n){this.allowTransparency=n;var u=e.createElement("canvas");u.width=1,u.height=1;var d=u.getContext("2d");if(!d)throw new Error("Could not get rendering context");this._ctx=d,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new i.ColorContrastCache,this.colors={foreground:o,background:a,cursor:s,cursorAccent:l,selectionTransparent:c,selectionOpaque:r.color.blend(a,c),ansi:t.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return e.prototype.onOptionsChange=function(e){"minimumContrastRatio"===e&&this._contrastCache.clear()},e.prototype.setTheme=function(e){void 0===e&&(e={}),this.colors.foreground=this._parseColor(e.foreground,o),this.colors.background=this._parseColor(e.background,a),this.colors.cursor=this._parseColor(e.cursor,s,!0),this.colors.cursorAccent=this._parseColor(e.cursorAccent,l,!0),this.colors.selectionTransparent=this._parseColor(e.selection,c,!0),this.colors.selectionOpaque=r.color.blend(this.colors.background,this.colors.selectionTransparent),r.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=r.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(e.black,t.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(e.red,t.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(e.green,t.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(e.yellow,t.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(e.blue,t.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(e.magenta,t.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(e.cyan,t.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(e.white,t.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(e.brightBlack,t.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(e.brightRed,t.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(e.brightGreen,t.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(e.brightYellow,t.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(e.brightBlue,t.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(e.brightMagenta,t.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(e.brightCyan,t.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(e.brightWhite,t.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},e.prototype._parseColor=function(e,t,n){if(void 0===n&&(n=this.allowTransparency),void 0===e)return t;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=e,"string"!=typeof this._ctx.fillStyle)return console.warn("Color: "+e+" is invalid using fallback "+t.css),t;this._ctx.fillRect(0,0,1,1);var i=this._ctx.getImageData(0,0,1,1).data;if(255!==i[3]){if(!n)return console.warn("Color: "+e+" is using transparency, but allowTransparency is false. Using fallback "+t.css+"."),t;var o=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map((function(e){return Number(e)})),a=o[0],s=o[1],l=o[2],c=o[3],u=Math.round(255*c);return{rgba:r.channels.toRgba(a,s,l,u),css:e}}return{css:this._ctx.fillStyle,rgba:r.channels.toRgba(i[0],i[1],i[2],i[3])}},e}();t.ColorManager=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfFalsy=void 0,t.throwIfFalsy=function(e){if(!e)throw new Error("value must not be falsy");return e}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CharacterJoinerRegistry=t.JoinedCellData=void 0;var o=n(6),a=n(3),s=n(4),l=function(e){function t(t,n,r){var i=e.call(this)||this;return i.content=0,i.combinedData="",i.fg=t.fg,i.bg=t.bg,i.combinedData=n,i._width=r,i}return i(t,e),t.prototype.isCombined=function(){return 2097152},t.prototype.getWidth=function(){return this._width},t.prototype.getChars=function(){return this.combinedData},t.prototype.getCode=function(){return 2097151},t.prototype.setFromCharData=function(e){throw new Error("not implemented")},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(o.AttributeData);t.JoinedCellData=l;var c=function(){function e(e){this._bufferService=e,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new s.CellData}return e.prototype.registerCharacterJoiner=function(e){var t={id:this._nextCharacterJoinerId++,handler:e};return this._characterJoiners.push(t),t.id},e.prototype.deregisterCharacterJoiner=function(e){for(var t=0;t<this._characterJoiners.length;t++)if(this._characterJoiners[t].id===e)return this._characterJoiners.splice(t,1),!0;return!1},e.prototype.getJoinedCharacters=function(e){if(0===this._characterJoiners.length)return[];var t=this._bufferService.buffer.lines.get(e);if(!t||0===t.length)return[];for(var n=[],r=t.translateToString(!0),i=0,o=0,s=0,l=t.getFg(0),c=t.getBg(0),u=0;u<t.getTrimmedLength();u++)if(t.loadCell(u,this._workCell),0!==this._workCell.getWidth()){if(this._workCell.fg!==l||this._workCell.bg!==c){if(u-i>1)for(var d=this._getJoinedRanges(r,s,o,t,i),h=0;h<d.length;h++)n.push(d[h]);i=u,s=o,l=this._workCell.fg,c=this._workCell.bg}o+=this._workCell.getChars().length||a.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-i>1)for(d=this._getJoinedRanges(r,s,o,t,i),h=0;h<d.length;h++)n.push(d[h]);return n},e.prototype._getJoinedRanges=function(t,n,r,i,o){for(var a=t.substring(n,r),s=this._characterJoiners[0].handler(a),l=1;l<this._characterJoiners.length;l++)for(var c=this._characterJoiners[l].handler(a),u=0;u<c.length;u++)e._mergeRanges(s,c[u]);return this._stringRangesToCellRanges(s,i,o),s},e.prototype._stringRangesToCellRanges=function(e,t,n){var r=0,i=!1,o=0,s=e[r];if(s){for(var l=n;l<this._bufferService.cols;l++){var c=t.getWidth(l),u=t.getString(l).length||a.WHITESPACE_CELL_CHAR.length;if(0!==c){if(!i&&s[0]<=o&&(s[0]=l,i=!0),s[1]<=o){if(s[1]=l,!(s=e[++r]))break;s[0]<=o?(s[0]=l,i=!0):i=!1}o+=u}}s&&(s[1]=this._bufferService.cols)}},e._mergeRanges=function(e,t){for(var n=!1,r=0;r<e.length;r++){var i=e[r];if(n){if(t[1]<=i[0])return e[r-1][1]=t[1],e;if(t[1]<=i[1])return e[r-1][1]=Math.max(t[1],i[1]),e.splice(r,1),e;e.splice(r,1),r--}else{if(t[1]<=i[0])return e.splice(r,0,t),e;if(t[1]<=i[1])return i[0]=Math.min(t[0],i[0]),e;t[0]<i[1]&&(i[0]=Math.min(t[0],i[0]),n=!0)}}return n?e[e.length-1][1]=t[1]:e.push(t),e},e}();t.CharacterJoinerRegistry=c},function(e,t,n){"use strict";function r(e,t){var n=t.getBoundingClientRect();return[e.clientX-n.left,e.clientY-n.top]}Object.defineProperty(t,"__esModule",{value:!0}),t.getRawByteCoords=t.getCoords=t.getCoordsRelativeToElement=void 0,t.getCoordsRelativeToElement=r,t.getCoords=function(e,t,n,i,o,a,s,l){if(o){var c=r(e,t);if(c)return c[0]=Math.ceil((c[0]+(l?a/2:0))/a),c[1]=Math.ceil(c[1]/s),c[0]=Math.min(Math.max(c[0],1),n+(l?1:0)),c[1]=Math.min(Math.max(c[1],1),i),c}},t.getRawByteCoords=function(e){if(e)return{x:e[0]+32,y:e[1]+32}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RenderDebouncer=void 0;var r=function(){function e(e){this._renderCallback=e}return e.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.refresh=function(e,t,n){var r=this;this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){return r._innerRefresh()})))},e.prototype._innerRefresh=function(){if(void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(e,t)}},e}();t.RenderDebouncer=r},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenDprMonitor=void 0;var o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._currentDevicePixelRatio=window.devicePixelRatio,t}return i(t,e),t.prototype.setListener=function(e){var t=this;this._listener&&this.clearListener(),this._listener=e,this._outerListener=function(){t._listener&&(t._listener(window.devicePixelRatio,t._currentDevicePixelRatio),t._updateDpr())},this._updateDpr()},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.clearListener()},t.prototype._updateDpr=function(){var e;this._outerListener&&(null===(e=this._resolutionMediaMatchList)||void 0===e||e.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},t.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)},t}(n(2).Disposable);t.ScreenDprMonitor=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function e(t,n){if(void 0===n&&(n=5),"object"!=typeof t)return t;var r=Array.isArray(t)?[]:{};for(var i in t)r[i]=n<=1?t[i]:t[i]?e(t[i],n-1):t[i];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;var r=n(4),i=n(35),o=n(18),a=n(0),s=n(83),l=function(){function e(e){this._core=new i.Terminal(e),this._addonManager=new s.AddonManager}return e.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(e.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new h(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unicode",{get:function(){return this._checkProposedApi(),new f(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buffer",{get:function(){return this._checkProposedApi(),new u(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),e.prototype.blur=function(){this._core.blur()},e.prototype.focus=function(){this._core.focus()},e.prototype.resize=function(e,t){this._verifyIntegers(e,t),this._core.resize(e,t)},e.prototype.open=function(e){this._core.open(e)},e.prototype.attachCustomKeyEventHandler=function(e){this._core.attachCustomKeyEventHandler(e)},e.prototype.registerLinkMatcher=function(e,t,n){return this._checkProposedApi(),this._core.registerLinkMatcher(e,t,n)},e.prototype.deregisterLinkMatcher=function(e){this._checkProposedApi(),this._core.deregisterLinkMatcher(e)},e.prototype.registerLinkProvider=function(e){return this._checkProposedApi(),this._core.registerLinkProvider(e)},e.prototype.registerCharacterJoiner=function(e){return this._checkProposedApi(),this._core.registerCharacterJoiner(e)},e.prototype.deregisterCharacterJoiner=function(e){this._checkProposedApi(),this._core.deregisterCharacterJoiner(e)},e.prototype.registerMarker=function(e){return this._checkProposedApi(),this._verifyIntegers(e),this._core.addMarker(e)},e.prototype.addMarker=function(e){return this.registerMarker(e)},e.prototype.hasSelection=function(){return this._core.hasSelection()},e.prototype.select=function(e,t,n){this._verifyIntegers(e,t,n),this._core.select(e,t,n)},e.prototype.getSelection=function(){return this._core.getSelection()},e.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},e.prototype.clearSelection=function(){this._core.clearSelection()},e.prototype.selectAll=function(){this._core.selectAll()},e.prototype.selectLines=function(e,t){this._verifyIntegers(e,t),this._core.selectLines(e,t)},e.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},e.prototype.scrollLines=function(e){this._verifyIntegers(e),this._core.scrollLines(e)},e.prototype.scrollPages=function(e){this._verifyIntegers(e),this._core.scrollPages(e)},e.prototype.scrollToTop=function(){this._core.scrollToTop()},e.prototype.scrollToBottom=function(){this._core.scrollToBottom()},e.prototype.scrollToLine=function(e){this._verifyIntegers(e),this._core.scrollToLine(e)},e.prototype.clear=function(){this._core.clear()},e.prototype.write=function(e,t){this._core.write(e,t)},e.prototype.writeUtf8=function(e,t){this._core.write(e,t)},e.prototype.writeln=function(e,t){this._core.write(e),this._core.write("\r\n",t)},e.prototype.paste=function(e){this._core.paste(e)},e.prototype.getOption=function(e){return this._core.optionsService.getOption(e)},e.prototype.setOption=function(e,t){this._core.optionsService.setOption(e,t)},e.prototype.refresh=function(e,t){this._verifyIntegers(e,t),this._core.refresh(e,t)},e.prototype.reset=function(){this._core.reset()},e.prototype.loadAddon=function(e){return this._addonManager.loadAddon(this,e)},Object.defineProperty(e,"strings",{get:function(){return o},enumerable:!1,configurable:!0}),e.prototype._verifyIntegers=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];if(i===1/0||isNaN(i)||i%1!=0)throw new Error("This API only accepts integers")}},e}();t.Terminal=l;var c=function(){function e(e,t){this._buffer=e,this.type=t}return e.prototype.init=function(e){return this._buffer=e,this},Object.defineProperty(e.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),e.prototype.getLine=function(e){var t=this._buffer.lines.get(e);if(t)return new d(t)},e.prototype.getNullCell=function(){return new r.CellData},e}(),u=function(){function e(e){var t=this;this._buffers=e,this._onBufferChange=new a.EventEmitter,this._normal=new c(this._buffers.normal,"normal"),this._alternate=new c(this._buffers.alt,"alternate"),this._buffers.onBufferActivate((function(){return t._onBufferChange.fire(t.active)}))}return Object.defineProperty(e.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),e}(),d=function(){function e(e){this._line=e}return Object.defineProperty(e.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),e.prototype.getCell=function(e,t){if(!(e<0||e>=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new r.CellData)},e.prototype.translateToString=function(e,t,n){return this._line.translateToString(e,t,n)},e}(),h=function(){function e(e){this._core=e}return e.prototype.registerCsiHandler=function(e,t){return this._core.addCsiHandler(e,(function(e){return t(e.toArray())}))},e.prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},e.prototype.registerDcsHandler=function(e,t){return this._core.addDcsHandler(e,(function(e,n){return t(e,n.toArray())}))},e.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},e.prototype.registerEscHandler=function(e,t){return this._core.addEscHandler(e,t)},e.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},e.prototype.registerOscHandler=function(e,t){return this._core.addOscHandler(e,t)},e.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},e}(),f=function(){function e(e){this._core=e}return e.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!1,configurable:!0}),e}()},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;var o=n(36),a=n(37),s=n(38),l=n(12),c=n(19),u=n(40),d=n(50),h=n(51),f=n(11),p=n(7),A=n(18),g=n(54),m=n(55),v=n(56),y=n(57),b=n(59),_=n(0),w=n(16),x=n(27),C=n(60),S=n(5),k=n(61),E=n(62),O=n(63),B=n(64),M=n(65),T="undefined"!=typeof window?window.document:null,I=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.browser=f,n._keyDownHandled=!1,n._onCursorMove=new _.EventEmitter,n._onKey=new _.EventEmitter,n._onRender=new _.EventEmitter,n._onSelectionChange=new _.EventEmitter,n._onTitleChange=new _.EventEmitter,n._onFocus=new _.EventEmitter,n._onBlur=new _.EventEmitter,n._onA11yCharEmitter=new _.EventEmitter,n._onA11yTabEmitter=new _.EventEmitter,n._setup(),n.linkifier=n._instantiationService.createInstance(d.Linkifier),n.linkifier2=n.register(n._instantiationService.createInstance(O.Linkifier2)),n.register(n._inputHandler.onRequestBell((function(){return n.bell()}))),n.register(n._inputHandler.onRequestRefreshRows((function(e,t){return n.refresh(e,t)}))),n.register(n._inputHandler.onRequestReset((function(){return n.reset()}))),n.register(n._inputHandler.onRequestScroll((function(e,t){return n.scroll(e,t||void 0)}))),n.register(n._inputHandler.onRequestWindowsOptionsReport((function(e){return n._reportWindowsOptions(e)}))),n.register(_.forwardEvent(n._inputHandler.onCursorMove,n._onCursorMove)),n.register(_.forwardEvent(n._inputHandler.onTitleChange,n._onTitleChange)),n.register(_.forwardEvent(n._inputHandler.onA11yChar,n._onA11yCharEmitter)),n.register(_.forwardEvent(n._inputHandler.onA11yTab,n._onA11yTabEmitter)),n.register(n._bufferService.onResize((function(e){return n._afterResize(e.cols,e.rows)}))),n}return i(t,e),Object.defineProperty(t.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var t,n,r;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._renderService)||void 0===t||t.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},null===(r=null===(n=this.element)||void 0===n?void 0:n.parentNode)||void 0===r||r.removeChild(this.element))},t.prototype._setup=function(){e.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(t.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},t.prototype._updateOptions=function(t){var n,r,i,o;switch(e.prototype._updateOptions.call(this,t),t){case"fontFamily":case"fontSize":null===(n=this._renderService)||void 0===n||n.clear(),null===(r=this._charSizeService)||void 0===r||r.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":null===(i=this.viewport)||void 0===i||i.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new v.AccessibilityManager(this,this._renderService)):(null===(o=this._accessibilityManager)||void 0===o||o.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},t.prototype._onTextAreaFocus=function(e){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(l.C0.ESC+"[I"),this.updateCursorStyle(e),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},t.prototype.blur=function(){var e;return null===(e=this.textarea)||void 0===e?void 0:e.blur()},t.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(l.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},t.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var e=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),t=this._bufferService.buffer.y*e,n=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=n+"px",this.textarea.style.top=t+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=e+"px",this.textarea.style.lineHeight=e+"px",this.textarea.style.zIndex="-5"}},t.prototype._initGlobal=function(){var e=this;this._bindKeys(),this.register(p.addDisposableDomListener(this.element,"copy",(function(t){e.hasSelection()&&s.copyHandler(t,e._selectionService)})));var t=function(t){return s.handlePasteEvent(t,e.textarea,e._coreService)};this.register(p.addDisposableDomListener(this.textarea,"paste",t)),this.register(p.addDisposableDomListener(this.element,"paste",t)),f.isFirefox?this.register(p.addDisposableDomListener(this.element,"mousedown",(function(t){2===t.button&&s.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)}))):this.register(p.addDisposableDomListener(this.element,"contextmenu",(function(t){s.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)}))),f.isLinux&&this.register(p.addDisposableDomListener(this.element,"auxclick",(function(t){1===t.button&&s.moveTextAreaUnderMouseCursor(t,e.textarea,e.screenElement)})))},t.prototype._bindKeys=function(){var e=this;this.register(p.addDisposableDomListener(this.textarea,"keyup",(function(t){return e._keyUp(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keydown",(function(t){return e._keyDown(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keypress",(function(t){return e._keyPress(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"compositionstart",(function(){return e._compositionHelper.compositionstart()}))),this.register(p.addDisposableDomListener(this.textarea,"compositionupdate",(function(t){return e._compositionHelper.compositionupdate(t)}))),this.register(p.addDisposableDomListener(this.textarea,"compositionend",(function(){return e._compositionHelper.compositionend()}))),this.register(this.onRender((function(){return e._compositionHelper.updateCompositionElements()}))),this.register(this.onRender((function(t){return e._queueLinkification(t.start,t.end)})))},t.prototype.open=function(e){var t=this;if(!e)throw new Error("Terminal requires a parent element.");T.body.contains(e)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=e.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"),e.appendChild(this.element);var n=T.createDocumentFragment();this._viewportElement=T.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),n.appendChild(this._viewportElement),this._viewportScrollArea=T.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=T.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=T.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),n.appendChild(this.screenElement),this.textarea=T.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(p.addDisposableDomListener(this.textarea,"focus",(function(e){return t._onTextAreaFocus(e)}))),this.register(p.addDisposableDomListener(this.textarea,"blur",(function(){return t._onTextAreaBlur()}))),this._helperContainer.appendChild(this.textarea);var r=this._instantiationService.createInstance(B.CoreBrowserService,this.textarea);this._instantiationService.setService(S.ICoreBrowserService,r),this._charSizeService=this._instantiationService.createInstance(k.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(S.ICharSizeService,this._charSizeService),this._compositionView=T.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(o.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(n),this._theme=this.options.theme||this._theme,this._colorManager=new x.ColorManager(T,this.options.allowTransparency),this.register(this.optionsService.onOptionChange((function(e){return t._colorManager.onOptionsChange(e)}))),this._colorManager.setTheme(this._theme);var i=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(C.RenderService,i,this.rows,this.screenElement)),this._instantiationService.setService(S.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange((function(e){return t._onRender.fire(e)}))),this.onResize((function(e){return t._renderService.resize(e.cols,e.rows)})),this._soundService=this._instantiationService.createInstance(g.SoundService),this._instantiationService.setService(S.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(E.MouseService),this._instantiationService.setService(S.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(a.Viewport,(function(e,n){return t.scrollLines(e,n)}),this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar((function(){return t.viewport.syncScrollArea()}))),this.register(this.viewport),this.register(this.onCursorMove((function(){t._renderService.onCursorMove(),t._syncTextArea()}))),this.register(this.onResize((function(){return t._renderService.onResize(t.cols,t.rows)}))),this.register(this.onBlur((function(){return t._renderService.onBlur()}))),this.register(this.onFocus((function(){return t._renderService.onFocus()}))),this.register(this._renderService.onDimensionsChange((function(){return t.viewport.syncScrollArea()}))),this._selectionService=this.register(this._instantiationService.createInstance(h.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(S.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines((function(e){return t.scrollLines(e.amount,e.suppressScrollEvent)}))),this.register(this._selectionService.onSelectionChange((function(){return t._onSelectionChange.fire()}))),this.register(this._selectionService.onRequestRedraw((function(e){return t._renderService.onSelectionChanged(e.start,e.end,e.columnSelectMode)}))),this.register(this._selectionService.onLinuxMouseSelection((function(e){t.textarea.value=e,t.textarea.focus(),t.textarea.select()}))),this.register(this.onScroll((function(){t.viewport.syncScrollArea(),t._selectionService.refresh()}))),this.register(p.addDisposableDomListener(this._viewportElement,"scroll",(function(){return t._selectionService.refresh()}))),this._mouseZoneManager=this._instantiationService.createInstance(m.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll((function(){return t._mouseZoneManager.clearAll()}))),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(p.addDisposableDomListener(this.element,"mousedown",(function(e){return t._selectionService.onMouseDown(e)}))),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new v.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},t.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(u.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(y.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},t.prototype._setTheme=function(e){var t,n,r;this._theme=e,null===(t=this._colorManager)||void 0===t||t.setTheme(e),null===(n=this._renderService)||void 0===n||n.setColors(this._colorManager.colors),null===(r=this.viewport)||void 0===r||r.onThemeChange(this._colorManager.colors)},t.prototype.bindMouse=function(){var e=this,t=this,n=this.element;function r(e){var n,r,i=t._mouseService.getRawByteCoords(e,t.screenElement,t.cols,t.rows);if(!i)return!1;switch(e.overrideType||e.type){case"mousemove":r=32,void 0===e.buttons?(n=3,void 0!==e.button&&(n=e.button<3?e.button:3)):n=1&e.buttons?0:4&e.buttons?1:2&e.buttons?2:3;break;case"mouseup":r=0,n=e.button<3?e.button:3;break;case"mousedown":r=1,n=e.button<3?e.button:3;break;case"wheel":0!==e.deltaY&&(r=e.deltaY<0?0:1),n=4;break;default:return!1}return!(void 0===r||void 0===n||n>4)&&t._coreMouseService.triggerMouseEvent({col:i.x-33,row:i.y-33,button:n,action:r,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})}var i={mouseup:null,wheel:null,mousedrag:null,mousemove:null},o=function(t){return r(t),t.buttons||(e._document.removeEventListener("mouseup",i.mouseup),i.mousedrag&&e._document.removeEventListener("mousemove",i.mousedrag)),e.cancel(t)},a=function(t){return r(t),t.preventDefault(),e.cancel(t)},s=function(e){e.buttons&&r(e)},c=function(e){e.buttons||r(e)};this.register(this._coreMouseService.onProtocolChange((function(t){t?("debug"===e.optionsService.options.logLevel&&e._logService.debug("Binding to mouse events:",e._coreMouseService.explainEvents(t)),e.element.classList.add("enable-mouse-events"),e._selectionService.disable()):(e._logService.debug("Unbinding from mouse events."),e.element.classList.remove("enable-mouse-events"),e._selectionService.enable()),8&t?i.mousemove||(n.addEventListener("mousemove",c),i.mousemove=c):(n.removeEventListener("mousemove",i.mousemove),i.mousemove=null),16&t?i.wheel||(n.addEventListener("wheel",a,{passive:!1}),i.wheel=a):(n.removeEventListener("wheel",i.wheel),i.wheel=null),2&t?i.mouseup||(i.mouseup=o):(e._document.removeEventListener("mouseup",i.mouseup),i.mouseup=null),4&t?i.mousedrag||(i.mousedrag=s):(e._document.removeEventListener("mousemove",i.mousedrag),i.mousedrag=null)}))),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(p.addDisposableDomListener(n,"mousedown",(function(t){if(t.preventDefault(),e.focus(),e._coreMouseService.areMouseEventsActive&&!e._selectionService.shouldForceSelection(t))return r(t),i.mouseup&&e._document.addEventListener("mouseup",i.mouseup),i.mousedrag&&e._document.addEventListener("mousemove",i.mousedrag),e.cancel(t)}))),this.register(p.addDisposableDomListener(n,"wheel",(function(t){if(i.wheel);else if(!e.buffer.hasScrollback){var n=e.viewport.getLinesScrolled(t);if(0===n)return;for(var r=l.C0.ESC+(e._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(t.deltaY<0?"A":"B"),o="",a=0;a<Math.abs(n);a++)o+=r;e._coreService.triggerDataEvent(o,!0)}}),{passive:!0})),this.register(p.addDisposableDomListener(n,"wheel",(function(t){if(!i.wheel)return e.viewport.onWheel(t)?void 0:e.cancel(t)}),{passive:!1})),this.register(p.addDisposableDomListener(n,"touchstart",(function(t){if(!e._coreMouseService.areMouseEventsActive)return e.viewport.onTouchStart(t),e.cancel(t)}),{passive:!0})),this.register(p.addDisposableDomListener(n,"touchmove",(function(t){if(!e._coreMouseService.areMouseEventsActive)return e.viewport.onTouchMove(t)?void 0:e.cancel(t)}),{passive:!1}))},t.prototype.refresh=function(e,t){var n;null===(n=this._renderService)||void 0===n||n.refreshRows(e,t)},t.prototype._queueLinkification=function(e,t){var n;null===(n=this.linkifier)||void 0===n||n.linkifyRows(e,t)},t.prototype.updateCursorStyle=function(e){this._selectionService&&this._selectionService.shouldColumnSelect(e)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},t.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},t.prototype.scrollLines=function(t,n){e.prototype.scrollLines.call(this,t,n),this.refresh(0,this.rows-1)},t.prototype.paste=function(e){s.paste(e,this.textarea,this._coreService)},t.prototype.attachCustomKeyEventHandler=function(e){this._customKeyEventHandler=e},t.prototype.registerLinkMatcher=function(e,t,n){var r=this.linkifier.registerLinkMatcher(e,t,n);return this.refresh(0,this.rows-1),r},t.prototype.deregisterLinkMatcher=function(e){this.linkifier.deregisterLinkMatcher(e)&&this.refresh(0,this.rows-1)},t.prototype.registerLinkProvider=function(e){return this.linkifier2.registerLinkProvider(e)},t.prototype.registerCharacterJoiner=function(e){var t=this._renderService.registerCharacterJoiner(e);return this.refresh(0,this.rows-1),t},t.prototype.deregisterCharacterJoiner=function(e){this._renderService.deregisterCharacterJoiner(e)&&this.refresh(0,this.rows-1)},Object.defineProperty(t.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),t.prototype.addMarker=function(e){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)},t.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},t.prototype.select=function(e,t,n){this._selectionService.setSelection(e,t,n)},t.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},t.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]}},t.prototype.clearSelection=function(){var e;null===(e=this._selectionService)||void 0===e||e.clearSelection()},t.prototype.selectAll=function(){var e;null===(e=this._selectionService)||void 0===e||e.selectAll()},t.prototype.selectLines=function(e,t){var n;null===(n=this._selectionService)||void 0===n||n.selectLines(e,t)},t.prototype._keyDown=function(e){if(this._keyDownHandled=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(!this._compositionHelper.keydown(e))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var t=b.evaluateKeyboardEvent(e,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3===t.type||2===t.type){var n=this.rows-1;return this.scrollLines(2===t.type?-n:n),this.cancel(e,!0)}return 1===t.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,e)||(t.cancel&&this.cancel(e,!0),!t.key||(t.key!==l.C0.ETX&&t.key!==l.C0.CR||(this.textarea.value=""),this._onKey.fire({key:t.key,domEvent:e}),this._showCursor(),this._coreService.triggerDataEvent(t.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(e,!0)))},t.prototype._isThirdLevelShift=function(e,t){var n=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey;return"keypress"===t.type?n:n&&(!t.keyCode||t.keyCode>47)},t.prototype._keyUp=function(e){this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(function(e){return 16===e.keyCode||17===e.keyCode||18===e.keyCode}(e)||this.focus(),this.updateCursorStyle(e))},t.prototype._keyPress=function(e){var t;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null===e.which||void 0===e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e))&&(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this._showCursor(),this._coreService.triggerDataEvent(t,!0),!0)},t.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},t.prototype.resize=function(t,n){t!==this.cols||n!==this.rows?e.prototype.resize.call(this,t,n):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},t.prototype._afterResize=function(e,t){var n,r;null===(n=this._charSizeService)||void 0===n||n.measure(),null===(r=this.viewport)||void 0===r||r.syncScrollArea(!0)},t.prototype.clear=function(){if(0!==this.buffer.ybase||0!==this.buffer.y){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 e=1;e<this.rows;e++)this.buffer.lines.push(this.buffer.getBlankLine(w.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},t.prototype.reset=function(){var t,n;this.options.rows=this.rows,this.options.cols=this.cols;var r=this._customKeyEventHandler;this._setup(),e.prototype.reset.call(this),null===(t=this._selectionService)||void 0===t||t.reset(),this._customKeyEventHandler=r,this.refresh(0,this.rows-1),null===(n=this.viewport)||void 0===n||n.syncScrollArea()},t.prototype._reportWindowsOptions=function(e){if(this._renderService)switch(e){case c.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var t=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),n=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(l.C0.ESC+"[4;"+n+";"+t+"t");break;case c.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var r=this._renderService.dimensions.scaledCellWidth.toFixed(0),i=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(l.C0.ESC+"[6;"+i+";"+r+"t")}},t.prototype.cancel=function(e,t){if(this.options.cancelEvents||t)return e.preventDefault(),e.stopPropagation(),!1},t.prototype._visualBell=function(){return!1},t.prototype._soundBell=function(){return"sound"===this.options.bellStyle},t}(M.CoreTerminal);t.Terminal=I},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionHelper=void 0;var o=n(5),a=n(1),s=function(){function e(e,t,n,r,i,o){this._textarea=e,this._compositionView=t,this._bufferService=n,this._optionsService=r,this._charSizeService=i,this._coreService=o,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(e.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),e.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},e.prototype.compositionupdate=function(e){var t=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout((function(){t._compositionPosition.end=t._textarea.value.length}),0)},e.prototype.compositionend=function(){this._finalizeComposition(!0)},e.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)},e.prototype._finalizeComposition=function(e){var t=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,e){var n={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout((function(){if(t._isSendingComposition){t._isSendingComposition=!1;var e=void 0;e=t._isComposing?t._textarea.value.substring(n.start,n.end):t._textarea.value.substring(n.start),t._coreService.triggerDataEvent(e,!0)}}),0)}else{this._isSendingComposition=!1;var r=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(r,!0)}},e.prototype._handleAnyTextareaChanges=function(){var e=this,t=this._textarea.value;setTimeout((function(){if(!e._isComposing){var n=e._textarea.value.replace(t,"");n.length>0&&e._coreService.triggerDataEvent(n,!0)}}),0)},e.prototype.updateCompositionElements=function(e){var t=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var n=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),r=this._bufferService.buffer.y*n,i=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=i+"px",this._compositionView.style.top=r+"px",this._compositionView.style.height=n+"px",this._compositionView.style.lineHeight=n+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var o=this._compositionView.getBoundingClientRect();this._textarea.style.left=i+"px",this._textarea.style.top=r+"px",this._textarea.style.width=o.width+"px",this._textarea.style.height=o.height+"px",this._textarea.style.lineHeight=o.height+"px"}e||setTimeout((function(){return t.updateCompositionElements(!0)}),0)}},r([i(2,a.IBufferService),i(3,a.IOptionsService),i(4,o.ICharSizeService),i(5,a.ICoreService)],e)}();t.CompositionHelper=s},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Viewport=void 0;var s=n(2),l=n(7),c=n(5),u=n(1),d=function(e){function t(t,n,r,i,o,a,s){var c=e.call(this)||this;return c._scrollLines=t,c._viewportElement=n,c._scrollArea=r,c._bufferService=i,c._optionsService=o,c._charSizeService=a,c._renderService=s,c.scrollBarWidth=0,c._currentRowHeight=0,c._lastRecordedBufferLength=0,c._lastRecordedViewportHeight=0,c._lastRecordedBufferHeight=0,c._lastTouchY=0,c._lastScrollTop=0,c._wheelPartialScroll=0,c._refreshAnimationFrame=null,c._ignoreNextScrollEvent=!1,c.scrollBarWidth=c._viewportElement.offsetWidth-c._scrollArea.offsetWidth||15,c.register(l.addDisposableDomListener(c._viewportElement,"scroll",c._onScroll.bind(c))),setTimeout((function(){return c.syncScrollArea()}),0),c}return i(t,e),t.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},t.prototype._refresh=function(e){var t=this;if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame((function(){return t._innerRefresh()})))},t.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==t&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=t),this._refreshAnimationFrame=null},t.prototype.syncScrollArea=function(e){if(void 0===e&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===t&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)}else this._refresh(e)},t.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(t,!0)}},t.prototype._bubbleScroll=function(e,t){var n=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(t<0&&0!==this._viewportElement.scrollTop||t>0&&n<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)},t.prototype.onWheel=function(e){var t=this._getPixelsScrolled(e);return 0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},t.prototype._getPixelsScrolled=function(e){if(0===e.deltaY)return 0;var t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?t*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._currentRowHeight*this._bufferService.rows),t},t.prototype.getLinesScrolled=function(e){if(0===e.deltaY)return 0;var t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(t/=this._currentRowHeight+0,this._wheelPartialScroll+=t,t=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t},t.prototype._applyScrollModifier=function(e,t){var n=this._optionsService.options.fastScrollModifier;return"alt"===n&&t.altKey||"ctrl"===n&&t.ctrlKey||"shift"===n&&t.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},t.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},t.prototype.onTouchMove=function(e){var t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},o([a(3,u.IBufferService),a(4,u.IOptionsService),a(5,c.ICharSizeService),a(6,c.IRenderService)],t)}(s.Disposable);t.Viewport=d},function(e,t,n){"use strict";function r(e){return e.replace(/\r?\n/g,"\r")}function i(e,t){return t?"\x1b[200~"+e+"\x1b[201~":e}function o(e,t,n){e=i(e=r(e),n.decPrivateModes.bracketedPasteMode),n.triggerDataEvent(e,!0),t.value=""}function a(e,t,n){var r=n.getBoundingClientRect(),i=e.clientX-r.left-10,o=e.clientY-r.top-10;t.style.width="20px",t.style.height="20px",t.style.left=i+"px",t.style.top=o+"px",t.style.zIndex="1000",t.focus()}Object.defineProperty(t,"__esModule",{value:!0}),t.rightClickHandler=t.moveTextAreaUnderMouseCursor=t.paste=t.handlePasteEvent=t.copyHandler=t.bracketTextForPaste=t.prepareTextForTerminal=void 0,t.prepareTextForTerminal=r,t.bracketTextForPaste=i,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,n){e.stopPropagation(),e.clipboardData&&o(e.clipboardData.getData("text/plain"),t,n)},t.paste=o,t.moveTextAreaUnderMouseCursor=a,t.rightClickHandler=function(e,t,n,r,i){a(e,t,n),i&&!r.isClickInSelection(e)&&r.selectWordAtCursor(e),t.value=r.selectionText,t.select()}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeSequenceParser=t.VT500_TRANSITION_TABLE=t.TransitionTable=void 0;var o=n(2),a=n(15),s=n(21),l=n(22),c=n(24),u=function(){function e(e){this.table=new Uint8Array(e)}return e.prototype.setDefault=function(e,t){a.fill(this.table,e<<4|t)},e.prototype.add=function(e,t,n,r){this.table[t<<8|e]=n<<4|r},e.prototype.addMany=function(e,t,n,r){for(var i=0;i<e.length;i++)this.table[t<<8|e[i]]=n<<4|r},e}();t.TransitionTable=u,t.VT500_TRANSITION_TABLE=function(){var e=new u(4095),t=Array.apply(null,Array(256)).map((function(e,t){return t})),n=function(e,n){return t.slice(e,n)},r=n(32,127),i=n(0,24);i.push(25),i.push.apply(i,n(28,32));var o,a=n(0,14);for(o in e.setDefault(1,0),e.addMany(r,0,2,0),a)e.addMany([24,26,153,154],o,3,0),e.addMany(n(128,144),o,3,0),e.addMany(n(144,152),o,3,0),e.add(156,o,0,0),e.add(27,o,11,1),e.add(157,o,4,8),e.addMany([152,158,159],o,0,7),e.add(155,o,11,3),e.add(144,o,11,9);return e.addMany(i,0,3,0),e.addMany(i,1,3,1),e.add(127,1,0,1),e.addMany(i,8,0,8),e.addMany(i,3,3,3),e.add(127,3,0,3),e.addMany(i,4,3,4),e.add(127,4,0,4),e.addMany(i,6,3,6),e.addMany(i,5,3,5),e.add(127,5,0,5),e.addMany(i,2,3,2),e.add(127,2,0,2),e.add(93,1,4,8),e.addMany(r,8,5,8),e.add(127,8,5,8),e.addMany([156,27,24,26,7],8,6,0),e.addMany(n(28,32),8,0,8),e.addMany([88,94,95],1,0,7),e.addMany(r,7,0,7),e.addMany(i,7,0,7),e.add(156,7,0,0),e.add(127,7,0,7),e.add(91,1,11,3),e.addMany(n(64,127),3,7,0),e.addMany(n(48,60),3,8,4),e.addMany([60,61,62,63],3,9,4),e.addMany(n(48,60),4,8,4),e.addMany(n(64,127),4,7,0),e.addMany([60,61,62,63],4,0,6),e.addMany(n(32,64),6,0,6),e.add(127,6,0,6),e.addMany(n(64,127),6,0,0),e.addMany(n(32,48),3,9,5),e.addMany(n(32,48),5,9,5),e.addMany(n(48,64),5,0,6),e.addMany(n(64,127),5,7,0),e.addMany(n(32,48),4,9,5),e.addMany(n(32,48),1,9,2),e.addMany(n(32,48),2,9,2),e.addMany(n(48,127),2,10,0),e.addMany(n(48,80),1,10,0),e.addMany(n(81,88),1,10,0),e.addMany([89,90,92],1,10,0),e.addMany(n(96,127),1,10,0),e.add(80,1,11,9),e.addMany(i,9,0,9),e.add(127,9,0,9),e.addMany(n(28,32),9,0,9),e.addMany(n(32,48),9,9,12),e.addMany(n(48,60),9,8,10),e.addMany([60,61,62,63],9,9,10),e.addMany(i,11,0,11),e.addMany(n(32,128),11,0,11),e.addMany(n(28,32),11,0,11),e.addMany(i,10,0,10),e.add(127,10,0,10),e.addMany(n(28,32),10,0,10),e.addMany(n(48,60),10,8,10),e.addMany([60,61,62,63],10,0,11),e.addMany(n(32,48),10,9,12),e.addMany(i,12,0,12),e.add(127,12,0,12),e.addMany(n(28,32),12,0,12),e.addMany(n(32,48),12,9,12),e.addMany(n(48,64),12,0,11),e.addMany(n(64,127),12,12,13),e.addMany(n(64,127),10,12,13),e.addMany(n(64,127),9,12,13),e.addMany(i,13,13,13),e.addMany(r,13,13,13),e.add(127,13,0,13),e.addMany([27,156,24,26],13,14,0),e.add(160,0,2,0),e.add(160,8,5,8),e.add(160,6,0,6),e.add(160,11,0,11),e.add(160,13,13,13),e}();var d=function(e){function n(n){void 0===n&&(n=t.VT500_TRANSITION_TABLE);var r=e.call(this)||this;return r._transitions=n,r.initialState=0,r.currentState=r.initialState,r._params=new s.Params,r._params.addParam(0),r._collect=0,r.precedingCodepoint=0,r._printHandlerFb=function(e,t,n){},r._executeHandlerFb=function(e){},r._csiHandlerFb=function(e,t){},r._escHandlerFb=function(e){},r._errorHandlerFb=function(e){return e},r._printHandler=r._printHandlerFb,r._executeHandlers=Object.create(null),r._csiHandlers=Object.create(null),r._escHandlers=Object.create(null),r._oscParser=new l.OscParser,r._dcsParser=new c.DcsParser,r._errorHandler=r._errorHandlerFb,r.setEscHandler({final:"\\"},(function(){})),r}return i(n,e),n.prototype._identifier=function(e,t){void 0===t&&(t=[64,126]);var n=0;if(e.prefix){if(e.prefix.length>1)throw new Error("only one byte as prefix supported");if((n=e.prefix.charCodeAt(0))&&60>n||n>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var r=0;r<e.intermediates.length;++r){var i=e.intermediates.charCodeAt(r);if(32>i||i>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");n<<=8,n|=i}}if(1!==e["final"].length)throw new Error("final must be a single byte");var o=e["final"].charCodeAt(0);if(t[0]>o||o>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return n<<=8,n|o},n.prototype.identToString=function(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},n.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},n.prototype.setPrintHandler=function(e){this._printHandler=e},n.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},n.prototype.addEscHandler=function(e,t){var n=this._identifier(e,[48,126]);void 0===this._escHandlers[n]&&(this._escHandlers[n]=[]);var r=this._escHandlers[n];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},n.prototype.setEscHandler=function(e,t){this._escHandlers[this._identifier(e,[48,126])]=[t]},n.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},n.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},n.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},n.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},n.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},n.prototype.addCsiHandler=function(e,t){var n=this._identifier(e);void 0===this._csiHandlers[n]&&(this._csiHandlers[n]=[]);var r=this._csiHandlers[n];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},n.prototype.setCsiHandler=function(e,t){this._csiHandlers[this._identifier(e)]=[t]},n.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},n.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},n.prototype.addDcsHandler=function(e,t){return this._dcsParser.addHandler(this._identifier(e),t)},n.prototype.setDcsHandler=function(e,t){this._dcsParser.setHandler(this._identifier(e),t)},n.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},n.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},n.prototype.addOscHandler=function(e,t){return this._oscParser.addHandler(e,t)},n.prototype.setOscHandler=function(e,t){this._oscParser.setHandler(e,t)},n.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},n.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},n.prototype.setErrorHandler=function(e){this._errorHandler=e},n.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},n.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},n.prototype.parse=function(e,t){for(var n=0,r=0,i=this.currentState,o=this._oscParser,a=this._dcsParser,s=this._collect,l=this._params,c=this._transitions.table,u=0;u<t;++u){switch((r=c[i<<8|((n=e[u])<160?n:160)])>>4){case 2:for(var d=u+1;;++d){if(d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}}break;case 3:this._executeHandlers[n]?this._executeHandlers[n]():this._executeHandlerFb(n),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:u,code:n,currentState:i,collect:s,params:l,abort:!1}).abort)return;break;case 7:for(var h=this._csiHandlers[s<<8|n],f=h?h.length-1:-1;f>=0&&!1===h[f](l);f--);f<0&&this._csiHandlerFb(s<<8|n,l),this.precedingCodepoint=0;break;case 8:do{switch(n){case 59:l.addParam(0);break;case 58:l.addSubParam(-1);break;default:l.addDigit(n-48)}}while(++u<t&&(n=e[u])>47&&n<60);u--;break;case 9:s<<=8,s|=n;break;case 10:for(var p=this._escHandlers[s<<8|n],A=p?p.length-1:-1;A>=0&&!1===p[A]();A--);A<0&&this._escHandlerFb(s<<8|n),this.precedingCodepoint=0;break;case 11:l.reset(),l.addParam(0),s=0;break;case 12:a.hook(s<<8|n,l);break;case 13:for(var g=u+1;;++g)if(g>=t||24===(n=e[g])||26===n||27===n||n>127&&n<160){a.put(e,u,g),u=g-1;break}break;case 14:a.unhook(24!==n&&26!==n),27===n&&(r|=1),l.reset(),l.addParam(0),s=0,this.precedingCodepoint=0;break;case 4:o.start();break;case 5:for(var m=u+1;;m++)if(m>=t||(n=e[m])<32||n>127&&n<=159){o.put(e,u,m),u=m-1;break}break;case 6:o.end(24!==n&&26!==n),27===n&&(r|=1),l.reset(),l.addParam(0),s=0,this.precedingCodepoint=0}i=15&r}this._collect=s,this.currentState=i},n}(o.Disposable);t.EscapeSequenceParser=d},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=void 0;var s=n(41),l=n(47),c=n(48),u=n(49),d=n(29),h=n(2),f=n(5),p=n(1),A=n(25),g=n(0),m=1,v=function(e){function t(t,n,r,i,o,a,h,f,p){var A=e.call(this)||this;A._colors=t,A._screenElement=n,A._bufferService=o,A._charSizeService=a,A._optionsService=h,A._id=m++,A._onRequestRedraw=new g.EventEmitter;var v=A._optionsService.options.allowTransparency;return A._characterJoinerRegistry=new d.CharacterJoinerRegistry(A._bufferService),A._renderLayers=[new s.TextRenderLayer(A._screenElement,0,A._colors,A._characterJoinerRegistry,v,A._id,A._bufferService,h),new l.SelectionRenderLayer(A._screenElement,1,A._colors,A._id,A._bufferService,h),new u.LinkRenderLayer(A._screenElement,2,A._colors,A._id,r,i,A._bufferService,h),new c.CursorRenderLayer(A._screenElement,3,A._colors,A._id,A._onRequestRedraw,A._bufferService,h,f,p)],A.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},A._devicePixelRatio=window.devicePixelRatio,A._updateDimensions(),A.onOptionsChanged(),A}return i(t,e),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){for(var t=0,n=this._renderLayers;t<n.length;t++)n[t].dispose();e.prototype.dispose.call(this),A.removeTerminalFromCache(this._id)},t.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},t.prototype.setColors=function(e){this._colors=e;for(var t=0,n=this._renderLayers;t<n.length;t++){var r=n[t];r.setColors(this._colors),r.reset()}},t.prototype.onResize=function(e,t){this._updateDimensions();for(var n=0,r=this._renderLayers;n<r.length;n++)r[n].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},t.prototype.onBlur=function(){this._runOperation((function(e){return e.onBlur()}))},t.prototype.onFocus=function(){this._runOperation((function(e){return e.onFocus()}))},t.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1),this._runOperation((function(r){return r.onSelectionChanged(e,t,n)}))},t.prototype.onCursorMove=function(){this._runOperation((function(e){return e.onCursorMove()}))},t.prototype.onOptionsChanged=function(){this._runOperation((function(e){return e.onOptionsChanged()}))},t.prototype.clear=function(){this._runOperation((function(e){return e.reset()}))},t.prototype._runOperation=function(e){for(var t=0,n=this._renderLayers;t<n.length;t++)e(n[t])},t.prototype.renderRows=function(e,t){for(var n=0,r=this._renderLayers;n<r.length;n++)r[n].onGridChanged(e,t)},t.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=1===this._optionsService.options.lineHeight?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)},t.prototype.registerCharacterJoiner=function(e){return this._characterJoinerRegistry.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._characterJoinerRegistry.deregisterCharacterJoiner(e)},o([a(4,p.IBufferService),a(5,f.ICharSizeService),a(6,p.IOptionsService),a(7,p.ICoreService),a(8,f.ICoreBrowserService)],t)}(h.Disposable);t.Renderer=v},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.TextRenderLayer=void 0;var o=n(42),a=n(13),s=n(6),l=n(3),c=n(29),u=n(4),d=function(e){function t(t,n,r,i,a,s,l,c){var d=e.call(this,t,"text",n,a,r,s,l,c)||this;return d._characterWidth=0,d._characterFont="",d._characterOverlapCache={},d._workCell=new u.CellData,d._state=new o.GridCache,d._characterJoinerRegistry=i,d}return i(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t);var n=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===n||(this._characterWidth=t.scaledCharWidth,this._characterFont=n,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},t.prototype.reset=function(){this._state.clear(),this._clearAll()},t.prototype._forEachCell=function(e,t,n,r){for(var i=e;i<=t;i++)for(var o=i+this._bufferService.buffer.ydisp,a=this._bufferService.buffer.lines.get(o),s=n?n.getJoinedCharacters(o):[],u=0;u<this._bufferService.cols;u++){a.loadCell(u,this._workCell);var d=this._workCell,h=!1,f=u;if(0!==d.getWidth()){if(s.length>0&&u===s[0][0]){h=!0;var p=s.shift();d=new c.JoinedCellData(this._workCell,a.translateToString(!0,p[0],p[1]),p[1]-p[0]),f=p[1]-1}!h&&this._isOverlapping(d)&&f<a.length-1&&a.getCodePoint(f+1)===l.NULL_CELL_CODE&&(d.content&=-12582913,d.content|=2<<22),r(d,u,i),u=f}}},t.prototype._drawBackground=function(e,t){var n=this,r=this._ctx,i=this._bufferService.cols,o=0,a=0,l=null;r.save(),this._forEachCell(e,t,null,(function(e,t,c){var u=null;e.isInverse()?u=e.isFgDefault()?n._colors.foreground.css:e.isFgRGB()?"rgb("+s.AttributeData.toColorRGB(e.getFgColor()).join(",")+")":n._colors.ansi[e.getFgColor()].css:e.isBgRGB()?u="rgb("+s.AttributeData.toColorRGB(e.getBgColor()).join(",")+")":e.isBgPalette()&&(u=n._colors.ansi[e.getBgColor()].css),null===l&&(o=t,a=c),c!==a?(r.fillStyle=l||"",n._fillCells(o,a,i-o,1),o=t,a=c):l!==u&&(r.fillStyle=l||"",n._fillCells(o,a,t-o,1),o=t,a=c),l=u})),null!==l&&(r.fillStyle=l,this._fillCells(o,a,i-o,1)),r.restore()},t.prototype._drawForeground=function(e,t){var n=this;this._forEachCell(e,t,this._characterJoinerRegistry,(function(e,t,r){if(!e.isInvisible()&&(n._drawChars(e,t,r),e.isUnderline())){if(n._ctx.save(),e.isInverse())if(e.isBgDefault())n._ctx.fillStyle=n._colors.background.css;else if(e.isBgRGB())n._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var i=e.getBgColor();n._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&i<8&&(i+=8),n._ctx.fillStyle=n._colors.ansi[i].css}else if(e.isFgDefault())n._ctx.fillStyle=n._colors.foreground.css;else if(e.isFgRGB())n._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var o=e.getFgColor();n._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&o<8&&(o+=8),n._ctx.fillStyle=n._colors.ansi[o].css}n._fillBottomLineAtCells(t,r,e.getWidth()),n._ctx.restore()}}))},t.prototype.onGridChanged=function(e,t){0!==this._state.cache.length&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,e,this._bufferService.cols,t-e+1),this._drawBackground(e,t),this._drawForeground(e,t))},t.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},t.prototype._isOverlapping=function(e){if(1!==e.getWidth())return!1;if(e.getCode()<256)return!1;var t=e.getChars();if(this._characterOverlapCache.hasOwnProperty(t))return this._characterOverlapCache[t];this._ctx.save(),this._ctx.font=this._characterFont;var n=Math.floor(this._ctx.measureText(t).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[t]=n,n},t}(a.BaseRenderLayer);t.TextRenderLayer=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridCache=void 0;var r=function(){function e(){this.cache=[]}return e.prototype.resize=function(e,t){for(var n=0;n<e;n++){this.cache.length<=n&&this.cache.push([]);for(var r=this.cache[n].length;r<t;r++)this.cache[n].push(void 0);this.cache[n].length=t}this.cache.length=e},e.prototype.clear=function(){for(var e=0;e<this.cache.length;e++)for(var t=0;t<this.cache[e].length;t++)this.cache[e][t]=void 0},e}();t.GridCache=r},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.NoneCharAtlas=t.DynamicCharAtlas=t.getGlyphCacheKey=void 0;var o=n(9),a=n(44),s=n(27),l=n(46),c=n(11),u=n(28),d=n(10),h={css:"rgba(0, 0, 0, 0)",rgba:0};function f(e){return e.code<<21|e.bg<<12|e.fg<<3|(e.bold?0:4)+(e.dim?0:2)+(e.italic?0:1)}t.getGlyphCacheKey=f;var p=function(e){function t(t,n){var r=e.call(this)||this;r._config=n,r._drawToCacheCount=0,r._glyphsWaitingOnBitmap=[],r._bitmapCommitTimeout=null,r._bitmap=null,r._cacheCanvas=t.createElement("canvas"),r._cacheCanvas.width=1024,r._cacheCanvas.height=1024,r._cacheCtx=u.throwIfFalsy(r._cacheCanvas.getContext("2d",{alpha:!0}));var i=t.createElement("canvas");i.width=r._config.scaledCharWidth,i.height=r._config.scaledCharHeight,r._tmpCtx=u.throwIfFalsy(i.getContext("2d",{alpha:r._config.allowTransparency})),r._width=Math.floor(1024/r._config.scaledCharWidth),r._height=Math.floor(1024/r._config.scaledCharHeight);var o=r._width*r._height;return r._cacheMap=new l.LRUMap(o),r._cacheMap.prealloc(o),r}return i(t,e),t.prototype.dispose=function(){null!==this._bitmapCommitTimeout&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},t.prototype.beginFrame=function(){this._drawToCacheCount=0},t.prototype.draw=function(e,t,n,r){if(32===t.code)return!0;if(!this._canCache(t))return!1;var i=f(t),o=this._cacheMap.get(i);if(null!=o)return this._drawFromCache(e,o,n,r),!0;if(this._drawToCacheCount<100){var a=void 0;a=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var s=this._drawToCache(t,a);return this._cacheMap.set(i,s),this._drawFromCache(e,s,n,r),!0}return!1},t.prototype._canCache=function(e){return e.code<256},t.prototype._toCoordinateX=function(e){return e%this._width*this._config.scaledCharWidth},t.prototype._toCoordinateY=function(e){return Math.floor(e/this._width)*this._config.scaledCharHeight},t.prototype._drawFromCache=function(e,t,n,r){if(!t.isEmpty){var i=this._toCoordinateX(t.index),o=this._toCoordinateY(t.index);e.drawImage(t.inBitmap?this._bitmap:this._cacheCanvas,i,o,this._config.scaledCharWidth,this._config.scaledCharHeight,n,r,this._config.scaledCharWidth,this._config.scaledCharHeight)}},t.prototype._getColorFromAnsiIndex=function(e){return e<this._config.colors.ansi.length?this._config.colors.ansi[e]:s.DEFAULT_ANSI_COLORS[e]},t.prototype._getBackgroundColor=function(e){return this._config.allowTransparency?h:e.bg===o.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:e.bg<256?this._getColorFromAnsiIndex(e.bg):this._config.colors.background},t.prototype._getForegroundColor=function(e){return e.fg===o.INVERTED_DEFAULT_COLOR?d.color.opaque(this._config.colors.background):e.fg<256?this._getColorFromAnsiIndex(e.fg):this._config.colors.foreground},t.prototype._drawToCache=function(e,t){this._drawToCacheCount++,this._tmpCtx.save();var n=this._getBackgroundColor(e);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=n.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var r=e.bold?this._config.fontWeightBold:this._config.fontWeight,i=e.italic?"italic":"";this._tmpCtx.font=i+" "+r+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(e).css,e.dim&&(this._tmpCtx.globalAlpha=o.DIM_OPACITY),this._tmpCtx.fillText(e.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var a=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),s=!1;this._config.allowTransparency||(s=function(e,t){for(var n=!0,r=t.rgba>>>24,i=t.rgba>>>16&255,o=t.rgba>>>8&255,a=0;a<e.data.length;a+=4)e.data[a]===r&&e.data[a+1]===i&&e.data[a+2]===o?e.data[a+3]=0:n=!1;return n}(a,n));var l=this._toCoordinateX(t),c=this._toCoordinateY(t);this._cacheCtx.putImageData(a,l,c);var u={index:t,isEmpty:s,inBitmap:!1};return this._addGlyphToBitmap(u),u},t.prototype._addGlyphToBitmap=function(e){var t=this;!("createImageBitmap"in window)||c.isFirefox||c.isSafari||(this._glyphsWaitingOnBitmap.push(e),null===this._bitmapCommitTimeout&&(this._bitmapCommitTimeout=window.setTimeout((function(){return t._generateBitmap()}),100)))},t.prototype._generateBitmap=function(){var e=this,t=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then((function(n){e._bitmap=n;for(var r=0;r<t.length;r++)t[r].inBitmap=!0})),this._bitmapCommitTimeout=null},t}(a.BaseCharAtlas);t.DynamicCharAtlas=p;var A=function(e){function t(t,n){return e.call(this)||this}return i(t,e),t.prototype.draw=function(e,t,n,r){return!1},t}(a.BaseCharAtlas);t.NoneCharAtlas=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseCharAtlas=void 0;var r=function(){function e(){this._didWarmUp=!1}return e.prototype.dispose=function(){},e.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},e.prototype._doWarmUp=function(){},e.prototype.beginFrame=function(){},e}();t.BaseCharAtlas=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastCache=void 0;var r=function(){function e(){this._color={},this._rgba={}}return e.prototype.clear=function(){this._color={},this._rgba={}},e.prototype.setCss=function(e,t,n){this._rgba[e]||(this._rgba[e]={}),this._rgba[e][t]=n},e.prototype.getCss=function(e,t){return this._rgba[e]?this._rgba[e][t]:void 0},e.prototype.setColor=function(e,t,n){this._color[e]||(this._color[e]={}),this._color[e][t]=n},e.prototype.getColor=function(e,t){return this._color[e]?this._color[e][t]:void 0},e}();t.ColorContrastCache=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LRUMap=void 0;var r=function(){function e(e){this.capacity=e,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return e.prototype._unlinkNode=function(e){var t=e.prev,n=e.next;e===this._head&&(this._head=n),e===this._tail&&(this._tail=t),null!==t&&(t.next=n),null!==n&&(n.prev=t)},e.prototype._appendNode=function(e){var t=this._tail;null!==t&&(t.next=e),e.prev=t,e.next=null,this._tail=e,null===this._head&&(this._head=e)},e.prototype.prealloc=function(e){for(var t=this._nodePool,n=0;n<e;n++)t.push({prev:null,next:null,key:null,value:null})},e.prototype.get=function(e){var t=this._map[e];return void 0!==t?(this._unlinkNode(t),this._appendNode(t),t.value):null},e.prototype.peekValue=function(e){var t=this._map[e];return void 0!==t?t.value:null},e.prototype.peek=function(){var e=this._head;return null===e?null:e.value},e.prototype.set=function(e,t){var n=this._map[e];if(void 0!==n)n=this._map[e],this._unlinkNode(n),n.value=t;else if(this.size>=this.capacity)n=this._head,this._unlinkNode(n),delete this._map[n.key],n.key=e,n.value=t,this._map[e]=n;else{var r=this._nodePool;r.length>0?((n=r.pop()).key=e,n.value=t):n={prev:null,next:null,key:e,value:t},this._map[e]=n,this.size++}this._appendNode(n)},e}();t.LRUMap=r},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionRenderLayer=void 0;var o=function(e){function t(t,n,r,i,o,a){var s=e.call(this,t,"selection",n,!0,r,i,o,a)||this;return s._clearState(),s}return i(t,e),t.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._clearState()},t.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},t.prototype.onSelectionChanged=function(e,t,n){if(this._didStateChange(e,t,n,this._bufferService.buffer.ydisp))if(this._clearAll(),e&&t){var r=e[1]-this._bufferService.buffer.ydisp,i=t[1]-this._bufferService.buffer.ydisp,o=Math.max(r,0),a=Math.min(i,this._bufferService.rows-1);if(!(o>=this._bufferService.rows||a<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,n){var s=e[0],l=t[0]-s,c=a-o+1;this._fillCells(s,o,l,c)}else{s=r===o?e[0]:0;var u=o===a?t[0]:this._bufferService.cols;this._fillCells(s,o,u-s,1);var d=Math.max(a-o-1,0);if(this._fillCells(0,o+1,this._bufferService.cols,d),o!==a){var h=i===a?t[0]:this._bufferService.cols;this._fillCells(0,a,h,1)}}this._state.start=[e[0],e[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=n,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},t.prototype._didStateChange=function(e,t,n,r){return!this._areCoordinatesEqual(e,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||n!==this._state.columnSelectMode||r!==this._state.ydisp},t.prototype._areCoordinatesEqual=function(e,t){return!(!e||!t)&&e[0]===t[0]&&e[1]===t[1]},t}(n(13).BaseRenderLayer);t.SelectionRenderLayer=o},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CursorRenderLayer=void 0;var o=n(13),a=n(4),s=function(e){function t(t,n,r,i,o,s,l,c,u){var d=e.call(this,t,"cursor",n,!0,r,i,s,l)||this;return d._onRequestRedraw=o,d._coreService=c,d._coreBrowserService=u,d._cell=new a.CellData,d._state={x:0,y:0,isFocused:!1,style:"",width:0},d._cursorRenderers={bar:d._renderBarCursor.bind(d),block:d._renderBlockCursor.bind(d),underline:d._renderUnderlineCursor.bind(d)},d}return i(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},t.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},t.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onOptionsChanged=function(){var e,t=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new l(this._coreBrowserService.isFocused,(function(){t._render(!0)}))):(null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype.onGridChanged=function(e,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype._render=function(e){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,n=t-this._bufferService.buffer.ydisp;if(n<0||n>=this._bufferService.rows)this._clearCursor();else{var r=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(t).loadCell(r,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var i=this._optionsService.options.cursorStyle;return i&&"block"!==i?this._cursorRenderers[i](r,n,this._cell):this._renderBlurCursor(r,n,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=n,this._state.isFocused=!1,this._state.style=i,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===r&&this._state.y===n&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](r,n,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=n,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},t.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})},t.prototype._renderBarCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(e,t,this._optionsService.options.cursorWidth),this._ctx.restore()},t.prototype._renderBlockCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(e,t,n.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(n,e,t),this._ctx.restore()},t.prototype._renderUnderlineCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(e,t),this._ctx.restore()},t.prototype._renderBlurCursor=function(e,t,n){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(e,t,n.getWidth(),1),this._ctx.restore()},t}(o.BaseRenderLayer);t.CursorRenderLayer=s;var l=function(){function e(e,t){this._renderCallback=t,this.isCursorVisible=!0,e&&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 e=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){e._renderCallback(),e._animationFrame=void 0}))))},e.prototype._restartInterval=function(e){var t=this;void 0===e&&(e=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);if(t._animationTimeRestarted=void 0,e>0)return void t._restartInterval(e)}t.isCursorVisible=!1,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0})),t._blinkInterval=window.setInterval((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);return t._animationTimeRestarted=void 0,void t._restartInterval(e)}t.isCursorVisible=!t.isCursorVisible,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0}))}),600)}),e)},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(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.LinkRenderLayer=void 0;var o=n(13),a=n(9),s=n(26),l=function(e){function t(t,n,r,i,o,a,s,l){var c=e.call(this,t,"link",n,!0,r,i,s,l)||this;return o.onShowLinkUnderline((function(e){return c._onShowLinkUnderline(e)})),o.onHideLinkUnderline((function(e){return c._onHideLinkUnderline(e)})),a.onShowLinkUnderline((function(e){return c._onShowLinkUnderline(e)})),a.onHideLinkUnderline((function(e){return c._onHideLinkUnderline(e)})),c}return i(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state=void 0},t.prototype.reset=function(){this._clearCurrentLink()},t.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var e=this._state.y2-this._state.y1-1;e>0&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},t.prototype._onShowLinkUnderline=function(e){if(e.fg===a.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:e.fg&&s.is256Color(e.fg)?this._ctx.fillStyle=this._colors.ansi[e.fg].css:this._ctx.fillStyle=this._colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(var t=e.y1+1;t<e.y2;t++)this._fillBottomLineAtCells(0,t,e.cols);this._fillBottomLineAtCells(0,e.y2,e.x2)}this._state=e},t.prototype._onHideLinkUnderline=function(e){this._clearCurrentLink()},t}(o.BaseRenderLayer);t.LinkRenderLayer=l},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZone=t.Linkifier=void 0;var o=n(0),a=n(1),s=function(){function e(e,t,n){this._bufferService=e,this._logService=t,this._unicodeService=n,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new o.EventEmitter,this._onHideLinkUnderline=new o.EventEmitter,this._onLinkTooltip=new o.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(e,t){this._element=e,this._mouseZoneManager=t},e.prototype.linkifyRows=function(t,n){var r=this;this._mouseZoneManager&&(void 0===this._rowsToLinkify.start||void 0===this._rowsToLinkify.end?(this._rowsToLinkify.start=t,this._rowsToLinkify.end=n):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,t),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,n)),this._mouseZoneManager.clearAll(t,n),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout((function(){return r._linkifyRows()}),e._timeBeforeLatency))},e.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var e=this._bufferService.buffer;if(void 0!==this._rowsToLinkify.start&&void 0!==this._rowsToLinkify.end){var t=e.ydisp+this._rowsToLinkify.start;if(!(t>=e.lines.length)){for(var n=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,r=Math.ceil(2e3/this._bufferService.cols),i=this._bufferService.buffer.iterator(!1,t,n,r,r);i.hasNext();)for(var o=i.next(),a=0;a<this._linkMatchers.length;a++)this._doLinkifyRow(o.range.first,o.content,this._linkMatchers[a]);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(e,t,n){if(void 0===n&&(n={}),!t)throw new Error("handler must be defined");var r={id:this._nextLinkMatcherId++,regex:e,handler:t,matchIndex:n.matchIndex,validationCallback:n.validationCallback,hoverTooltipCallback:n.tooltipCallback,hoverLeaveCallback:n.leaveCallback,willLinkActivate:n.willLinkActivate,priority:n.priority||0};return this._addLinkMatcherToList(r),r.id},e.prototype._addLinkMatcherToList=function(e){if(0!==this._linkMatchers.length){for(var t=this._linkMatchers.length-1;t>=0;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},e.prototype.deregisterLinkMatcher=function(e){for(var t=0;t<this._linkMatchers.length;t++)if(this._linkMatchers[t].id===e)return this._linkMatchers.splice(t,1),!0;return!1},e.prototype._doLinkifyRow=function(e,t,n){for(var r,i=this,o=new RegExp(n.regex.source,(n.regex.flags||"")+"g"),a=-1,s=function(){var s=r["number"!=typeof n.matchIndex?0:n.matchIndex];if(!s)return l._logService.debug("match found without corresponding matchIndex",r,n),"break";if(a=t.indexOf(s,a+1),o.lastIndex=a+s.length,a<0)return"break";var c=l._bufferService.buffer.stringIndexToBufferIndex(e,a);if(c[0]<0)return"break";var u=l._bufferService.buffer.lines.get(c[0]);if(!u)return"break";var d=u.getFg(c[1]),h=d?d>>9&511:void 0;n.validationCallback?n.validationCallback(s,(function(e){i._rowsTimeoutId||e&&i._addLink(c[1],c[0]-i._bufferService.buffer.ydisp,s,n,h)})):l._addLink(c[1],c[0]-l._bufferService.buffer.ydisp,s,n,h)},l=this;null!==(r=o.exec(t));)if("break"===s())break},e.prototype._addLink=function(e,t,n,r,i){var o=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(n),s=e%this._bufferService.cols,c=t+Math.floor(e/this._bufferService.cols),u=(s+a)%this._bufferService.cols,d=c+Math.floor((s+a)/this._bufferService.cols);0===u&&(u=this._bufferService.cols,d--),this._mouseZoneManager.add(new l(s+1,c+1,u+1,d+1,(function(e){if(r.handler)return r.handler(e,n);var t=window.open();t?(t.opener=null,t.location.href=n):console.warn("Opening link blocked as opener could not be cleared")}),(function(){o._onShowLinkUnderline.fire(o._createLinkHoverEvent(s,c,u,d,i)),o._element.classList.add("xterm-cursor-pointer")}),(function(e){o._onLinkTooltip.fire(o._createLinkHoverEvent(s,c,u,d,i)),r.hoverTooltipCallback&&r.hoverTooltipCallback(e,n,{start:{x:s,y:c},end:{x:u,y:d}})}),(function(){o._onHideLinkUnderline.fire(o._createLinkHoverEvent(s,c,u,d,i)),o._element.classList.remove("xterm-cursor-pointer"),r.hoverLeaveCallback&&r.hoverLeaveCallback()}),(function(e){return!r.willLinkActivate||r.willLinkActivate(e,n)})))}},e.prototype._createLinkHoverEvent=function(e,t,n,r,i){return{x1:e,y1:t,x2:n,y2:r,cols:this._bufferService.cols,fg:i}},e._timeBeforeLatency=200,e=r([i(0,a.IBufferService),i(1,a.ILogService),i(2,a.IUnicodeService)],e)}();t.Linkifier=s;var l=function(e,t,n,r,i,o,a,s,l){this.x1=e,this.y1=t,this.x2=n,this.y2=r,this.clickCallback=i,this.hoverCallback=o,this.tooltipCallback=a,this.leaveCallback=s,this.willLinkActivate=l};t.MouseZone=l},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionService=void 0;var s=n(11),l=n(52),c=n(4),u=n(0),d=n(5),h=n(1),f=n(30),p=n(53),A=n(2),g=String.fromCharCode(160),m=new RegExp(g,"g"),v=function(e){function t(t,n,r,i,o,a,s){var d=e.call(this)||this;return d._element=t,d._screenElement=n,d._bufferService=r,d._coreService=i,d._mouseService=o,d._optionsService=a,d._renderService=s,d._dragScrollAmount=0,d._enabled=!0,d._workCell=new c.CellData,d._mouseDownTimeStamp=0,d._onLinuxMouseSelection=d.register(new u.EventEmitter),d._onRedrawRequest=d.register(new u.EventEmitter),d._onSelectionChange=d.register(new u.EventEmitter),d._onRequestScrollLines=d.register(new u.EventEmitter),d._mouseMoveListener=function(e){return d._onMouseMove(e)},d._mouseUpListener=function(e){return d._onMouseUp(e)},d._coreService.onUserInput((function(){d.hasSelection&&d.clearSelection()})),d._trimListener=d._bufferService.buffer.lines.onTrim((function(e){return d._onTrim(e)})),d.register(d._bufferService.buffers.onBufferActivate((function(e){return d._onBufferActivate(e)}))),d.enable(),d._model=new l.SelectionModel(d._bufferService),d._activeSelectionMode=0,d}return i(t,e),Object.defineProperty(t.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._removeMouseDownListeners()},t.prototype.reset=function(){this.clearSelection()},t.prototype.disable=function(){this.clearSelection(),this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSelection",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t)&&(e[0]!==t[0]||e[1]!==t[1])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionText",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";var n=this._bufferService.buffer,r=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";for(var i=e[1];i<=t[1];i++){var o=n.translateBufferLineToString(i,!0,e[0],t[0]);r.push(o)}}else{var a=e[1]===t[1]?t[0]:void 0;for(r.push(n.translateBufferLineToString(e[1],!0,e[0],a)),i=e[1]+1;i<=t[1]-1;i++){var l=n.lines.get(i);o=n.translateBufferLineToString(i,!0),l&&l.isWrapped?r[r.length-1]+=o:r.push(o)}e[1]!==t[1]&&(l=n.lines.get(t[1]),o=n.translateBufferLineToString(t[1],!0,0,t[0]),l&&l.isWrapped?r[r.length-1]+=o:r.push(o))}return r.map((function(e){return e.replace(m," ")})).join(s.isWindows?"\r\n":"\n")},enumerable:!1,configurable:!0}),t.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},t.prototype.refresh=function(e){var t=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame((function(){return t._refresh()}))),s.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},t.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},t.prototype.isClickInSelection=function(e){var t=this._getMouseBufferCoords(e),n=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!!(n&&r&&t)&&this._areCoordsInSelection(t,n,r)},t.prototype._areCoordsInSelection=function(e,t,n){return e[1]>t[1]&&e[1]<n[1]||t[1]===n[1]&&e[1]===t[1]&&e[0]>=t[0]&&e[0]<n[0]||t[1]<n[1]&&e[1]===n[1]&&e[0]<n[0]||t[1]<n[1]&&e[1]===t[1]&&e[0]>=t[0]},t.prototype.selectWordAtCursor=function(e){var t=this._getMouseBufferCoords(e);t&&(this._selectWordAt(t,!1),this._model.selectionEnd=void 0,this.refresh(!0))},t.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},t.prototype.selectLines=function(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()},t.prototype._onTrim=function(e){this._model.onTrim(e)&&this.refresh()},t.prototype._getMouseBufferCoords=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t},t.prototype._getMouseEventScrollAmount=function(e){var t=f.getCoordsRelativeToElement(e,this._screenElement)[1],n=this._renderService.dimensions.canvasHeight;return t>=0&&t<=n?0:(t>n&&(t-=n),t=Math.min(Math.max(t,-50),50),(t/=50)/Math.abs(t)+Math.round(14*t))},t.prototype.shouldForceSelection=function(e){return s.isMac?e.altKey&&this._optionsService.options.macOptionClickForcesSelection:e.shiftKey},t.prototype.onMouseDown=function(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._onIncrementalClick(e):1===e.detail?this._onSingleClick(e):2===e.detail?this._onDoubleClick(e):3===e.detail&&this._onTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}},t.prototype._addMouseDownListeners=function(){var e=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval((function(){return e._dragScroll()}),50)},t.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},t.prototype._onIncrementalClick=function(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))},t.prototype._onSingleClick=function(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),this._model.selectionStart){this._model.selectionEnd=void 0;var t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},t.prototype._onDoubleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=1,this._selectWordAt(t,!0))},t.prototype._onTripleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))},t.prototype.shouldColumnSelect=function(e){return e.altKey&&!(s.isMac&&this._optionsService.options.macOptionClickForcesSelection)},t.prototype._onMouseMove=function(e){if(e.stopImmediatePropagation(),this._model.selectionStart){var t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:1===this._activeSelectionMode&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(e),3!==this._activeSelectionMode&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var n=this._bufferService.buffer;if(this._model.selectionEnd[1]<n.lines.length){var r=n.lines.get(this._model.selectionEnd[1]);r&&0===r.hasWidth(this._model.selectionEnd[0])&&this._model.selectionEnd[0]++}t&&t[0]===this._model.selectionEnd[0]&&t[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},t.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var e=this._bufferService.buffer;this._dragScrollAmount>0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}},t.prototype._onMouseUp=function(e){var t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500&&e.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var n=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(n&&void 0!==n[0]&&void 0!==n[1]){var r=p.moveToCellSequence(n[0]-1,n[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(r,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},t.prototype._onBufferActivate=function(e){var t=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim((function(e){return t._onTrim(e)}))},t.prototype._convertViewportColToCharacterIndex=function(e,t){for(var n=t[0],r=0;t[0]>=r;r++){var i=e.loadCell(r,this._workCell).getChars().length;0===this._workCell.getWidth()?n--:i>1&&t[0]!==r&&(n+=i-1)}return n},t.prototype.setSelection=function(e,t,n){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=n,this.refresh()},t.prototype._getWordAt=function(e,t,n,r){if(void 0===n&&(n=!0),void 0===r&&(r=!0),!(e[0]>=this._bufferService.cols)){var i=this._bufferService.buffer,o=i.lines.get(e[1]);if(o){var a=i.translateBufferLineToString(e[1],!1),s=this._convertViewportColToCharacterIndex(o,e),l=s,c=e[0]-s,u=0,d=0,h=0,f=0;if(" "===a.charAt(s)){for(;s>0&&" "===a.charAt(s-1);)s--;for(;l<a.length&&" "===a.charAt(l+1);)l++}else{var p=e[0],A=e[0];0===o.getWidth(p)&&(u++,p--),2===o.getWidth(A)&&(d++,A++);var g=o.getString(A).length;for(g>1&&(f+=g-1,l+=g-1);p>0&&s>0&&!this._isCharWordSeparator(o.loadCell(p-1,this._workCell));){o.loadCell(p-1,this._workCell);var m=this._workCell.getChars().length;0===this._workCell.getWidth()?(u++,p--):m>1&&(h+=m-1,s-=m-1),s--,p--}for(;A<o.length&&l+1<a.length&&!this._isCharWordSeparator(o.loadCell(A+1,this._workCell));){o.loadCell(A+1,this._workCell);var v=this._workCell.getChars().length;2===this._workCell.getWidth()?(d++,A++):v>1&&(f+=v-1,l+=v-1),l++,A++}}l++;var y=s+c-u+h,b=Math.min(this._bufferService.cols,l-s+u+d-h-f);if(t||""!==a.slice(s,l).trim()){if(n&&0===y&&32!==o.getCodePoint(0)){var _=i.lines.get(e[1]-1);if(_&&o.isWrapped&&32!==_.getCodePoint(this._bufferService.cols-1)){var w=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(w){var x=this._bufferService.cols-w.start;y-=x,b+=x}}}if(r&&y+b===this._bufferService.cols&&32!==o.getCodePoint(this._bufferService.cols-1)){var C=i.lines.get(e[1]+1);if(C&&C.isWrapped&&32!==C.getCodePoint(0)){var S=this._getWordAt([0,e[1]+1],!1,!1,!0);S&&(b+=S.length)}}return{start:y,length:b}}}}},t.prototype._selectWordAt=function(e,t){var n=this._getWordAt(e,t);if(n){for(;n.start<0;)n.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[n.start,e[1]],this._model.selectionStartLength=n.length}},t.prototype._selectToWordAt=function(e){var t=this._getWordAt(e,!0);if(t){for(var n=e[1];t.start<0;)t.start+=this._bufferService.cols,n--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,n++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,n]}},t.prototype._isCharWordSeparator=function(e){return 0!==e.getWidth()&&this._optionsService.options.wordSeparator.indexOf(e.getChars())>=0},t.prototype._selectLineAt=function(e){var t=this._bufferService.buffer.getWrappedRangeForLine(e);this._model.selectionStart=[0,t.first],this._model.selectionEnd=[this._bufferService.cols,t.last],this._model.selectionStartLength=0},o([a(2,h.IBufferService),a(3,h.ICoreService),a(4,d.IMouseService),a(5,h.IOptionsService),a(6,d.IRenderService)],t)}(A.Disposable);t.SelectionService=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionModel=void 0;var r=function(){function e(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}return e.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(e.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(e.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 e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,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}),e.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])},e.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},e}();t.SelectionModel=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveToCellSequence=void 0;var r=n(12);function i(e,t,n,r){var i=e-o(n,e),s=t-o(n,t);return c(Math.abs(i-s)-function(e,t,n){for(var r=0,i=e-o(n,e),s=t-o(n,t),l=0;l<Math.abs(i-s);l++){var c="A"===a(e,t)?-1:1,u=n.buffer.lines.get(i+c*l);u&&u.isWrapped&&r++}return r}(e,t,n),l(a(e,t),r))}function o(e,t){for(var n=0,r=e.buffer.lines.get(t),i=r&&r.isWrapped;i&&t>=0&&t<e.rows;)n++,i=(r=e.buffer.lines.get(--t))&&r.isWrapped;return n}function a(e,t){return e>t?"A":"B"}function s(e,t,n,r,i,o){for(var a=e,s=t,l="";a!==n||s!==r;)a+=i?1:-1,i&&a>o.cols-1?(l+=o.buffer.translateBufferLineToString(s,!1,e,a),a=0,e=0,s++):!i&&a<0&&(l+=o.buffer.translateBufferLineToString(s,!1,0,e+1),e=a=o.cols-1,s--);return l+o.buffer.translateBufferLineToString(s,!1,e,a)}function l(e,t){var n=t?"O":"[";return r.C0.ESC+n+e}function c(e,t){e=Math.floor(e);for(var n="",r=0;r<e;r++)n+=t;return n}t.moveToCellSequence=function(e,t,n,r){var a,u=n.buffer.x,d=n.buffer.y;if(!n.buffer.hasScrollback)return function(e,t,n,r,a,u){return 0===i(t,r,a,u).length?"":c(s(e,t,e,t-o(a,t),!1,a).length,l("D",u))}(u,d,0,t,n,r)+i(d,t,n,r)+function(e,t,n,r,a,u){var d;d=i(t,r,a,u).length>0?r-o(a,r):t;var h=r,f=function(e,t,n,r,a,s){var l;return l=i(n,r,a,s).length>0?r-o(a,r):t,e<n&&l<=r||e>=n&&l<r?"C":"D"}(e,t,n,r,a,u);return c(s(e,d,n,h,"C"===f,a).length,l(f,u))}(u,d,e,t,n,r);if(d===t)return a=u>e?"D":"C",c(Math.abs(u-e),l(a,r));a=d>t?"D":"C";var h=Math.abs(d-t);return c(function(e,t){return t.cols-e}(d>t?e:u,n)+(h-1)*n.cols+1+((d>t?u:e)-1),l(a,r))}},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SoundService=void 0;var o=n(1),a=function(){function e(e){this._optionsService=e}return Object.defineProperty(e,"audioContext",{get:function(){if(!e._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;e._audioContext=new t}return e._audioContext},enumerable:!1,configurable:!0}),e.prototype.playBellSound=function(){var t=e.audioContext;if(t){var n=t.createBufferSource();t.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),(function(e){n.buffer=e,n.connect(t.destination),n.start(0)}))}},e.prototype._base64ToArrayBuffer=function(e){for(var t=window.atob(e),n=t.length,r=new Uint8Array(n),i=0;i<n;i++)r[i]=t.charCodeAt(i);return r.buffer},e.prototype._removeMimeType=function(e){return e.split(",")[1]},e=r([i(0,o.IOptionsService)],e)}();t.SoundService=a},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZoneManager=void 0;var s=n(2),l=n(7),c=n(5),u=n(1),d=function(e){function t(t,n,r,i,o,a){var s=e.call(this)||this;return s._element=t,s._screenElement=n,s._bufferService=r,s._mouseService=i,s._selectionService=o,s._optionsService=a,s._zones=[],s._areZonesActive=!1,s._lastHoverCoords=[void 0,void 0],s._initialSelectionLength=0,s.register(l.addDisposableDomListener(s._element,"mousedown",(function(e){return s._onMouseDown(e)}))),s._mouseMoveListener=function(e){return s._onMouseMove(e)},s._mouseLeaveListener=function(e){return s._onMouseLeave(e)},s._clickListener=function(e){return s._onClick(e)},s}return i(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},t.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},t.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var n=0;n<this._zones.length;n++){var r=this._zones[n];(r.y1>e&&r.y1<=t+1||r.y2>e&&r.y2<=t+1||r.y1<e&&r.y2>t+1)&&(this._currentZone&&this._currentZone===r&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(n--,1))}0===this._zones.length&&this._deactivate()}},t.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))},t.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))},t.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},t.prototype._onHover=function(e){var t=this,n=this._findZoneEventAt(e);n!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),n&&(this._currentZone=n,n.hoverCallback&&n.hoverCallback(e),this._tooltipTimeout=window.setTimeout((function(){return t._onTooltip(e)}),this._optionsService.options.linkTooltipHoverDuration)))},t.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);t&&t.tooltipCallback&&t.tooltipCallback(e)},t.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var t=this._findZoneEventAt(e);(null==t?void 0:t.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())}},t.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},t.prototype._onClick=function(e){var t=this._findZoneEventAt(e),n=this._getSelectionLength();t&&n===this._initialSelectionLength&&(t.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},t.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var n=t[0],r=t[1],i=0;i<this._zones.length;i++){var o=this._zones[i];if(o.y1===o.y2){if(r===o.y1&&n>=o.x1&&n<o.x2)return o}else if(r===o.y1&&n>=o.x1||r===o.y2&&n<o.x2||r>o.y1&&r<o.y2)return o}},o([a(2,u.IBufferService),a(3,c.IMouseService),a(4,c.ISelectionService),a(5,u.IOptionsService)],t)}(s.Disposable);t.MouseZoneManager=d},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityManager=void 0;var o=n(18),a=n(11),s=n(31),l=n(7),c=n(2),u=n(32),d=n(17),h=function(e){function t(t,n){var r=e.call(this)||this;r._terminal=t,r._renderService=n,r._liveRegionLineCount=0,r._charsToConsume=[],r._charsToAnnounce="",r._accessibilityTreeRoot=document.createElement("div"),r._accessibilityTreeRoot.classList.add("xterm-accessibility"),r._rowContainer=document.createElement("div"),r._rowContainer.classList.add("xterm-accessibility-tree"),r._rowContainer.setAttribute("role","list"),r._rowElements=[];for(var i=0;i<r._terminal.rows;i++)r._rowElements[i]=r._createAccessibilityTreeNode(),r._rowContainer.appendChild(r._rowElements[i]);if(r._topBoundaryFocusListener=function(e){return r._onBoundaryFocus(e,0)},r._bottomBoundaryFocusListener=function(e){return r._onBoundaryFocus(e,1)},r._rowElements[0].addEventListener("focus",r._topBoundaryFocusListener),r._rowElements[r._rowElements.length-1].addEventListener("focus",r._bottomBoundaryFocusListener),r._refreshRowsDimensions(),r._accessibilityTreeRoot.appendChild(r._rowContainer),r._renderRowsDebouncer=new s.RenderDebouncer(r._renderRows.bind(r)),r._refreshRows(),r._liveRegion=document.createElement("div"),r._liveRegion.classList.add("live-region"),r._liveRegion.setAttribute("aria-live","assertive"),r._accessibilityTreeRoot.appendChild(r._liveRegion),!r._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return r._terminal.element.insertAdjacentElement("afterbegin",r._accessibilityTreeRoot),r.register(r._renderRowsDebouncer),r.register(r._terminal.onResize((function(e){return r._onResize(e.rows)}))),r.register(r._terminal.onRender((function(e){return r._refreshRows(e.start,e.end)}))),r.register(r._terminal.onScroll((function(){return r._refreshRows()}))),r.register(r._terminal.onA11yChar((function(e){return r._onChar(e)}))),r.register(r._terminal.onLineFeed((function(){return r._onChar("\n")}))),r.register(r._terminal.onA11yTab((function(e){return r._onTab(e)}))),r.register(r._terminal.onKey((function(e){return r._onKey(e.key)}))),r.register(r._terminal.onBlur((function(){return r._clearLiveRegion()}))),r.register(r._renderService.onDimensionsChange((function(){return r._refreshRowsDimensions()}))),r._screenDprMonitor=new u.ScreenDprMonitor,r.register(r._screenDprMonitor),r._screenDprMonitor.setListener((function(){return r._refreshRowsDimensions()})),r.register(l.addDisposableDomListener(window,"resize",(function(){return r._refreshRowsDimensions()}))),r}return i(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),d.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(e,t){var n=e.target,r=this._rowElements[0===t?1:this._rowElements.length-2];if(n.getAttribute("aria-posinset")!==(0===t?"1":""+this._terminal.buffer.lines.length)&&e.relatedTarget===r){var i,o;if(0===t?(i=n,o=this._rowElements.pop(),this._rowContainer.removeChild(o)):(i=this._rowElements.shift(),o=n,this._rowContainer.removeChild(i)),i.removeEventListener("focus",this._topBoundaryFocusListener),o.removeEventListener("focus",this._bottomBoundaryFocusListener),0===t){var a=this._createAccessibilityTreeNode();this._rowElements.unshift(a),this._rowContainer.insertAdjacentElement("afterbegin",a)}else a=this._createAccessibilityTreeNode(),this._rowElements.push(a),this._rowContainer.appendChild(a);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(0===t?-1:1),this._rowElements[0===t?1:this._rowElements.length-2].focus(),e.preventDefault(),e.stopImmediatePropagation()}},t.prototype._onResize=function(e){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var t=this._rowContainer.children.length;t<this._terminal.rows;t++)this._rowElements[t]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[t]);for(;this._rowElements.length>e;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e},t.prototype._onTab=function(e){for(var t=0;t<e;t++)this._onChar(" ")},t.prototype._onChar=function(e){var t=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=o.tooMuchOutput)),a.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout((function(){t._accessibilityTreeRoot.appendChild(t._liveRegion)}),0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,a.isMac&&d.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(e){this._clearLiveRegion(),this._charsToConsume.push(e)},t.prototype._refreshRows=function(e,t){this._renderRowsDebouncer.refresh(e,t,this._terminal.rows)},t.prototype._renderRows=function(e,t){for(var n=this._terminal.buffer,r=n.lines.length.toString(),i=e;i<=t;i++){var o=n.translateBufferLineToString(n.ydisp+i,!0),a=(n.ydisp+i+1).toString(),s=this._rowElements[i];s&&(0===o.length?s.innerHTML=" ":s.textContent=o,s.setAttribute("aria-posinset",a),s.setAttribute("aria-setsize",r))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var e=0;e<this._terminal.rows;e++)this._refreshRowDimensions(this._rowElements[e])}},t.prototype._refreshRowDimensions=function(e){e.style.height=this._renderService.dimensions.actualCellHeight+"px"},t.prototype._announceCharacters=function(){0!==this._charsToAnnounce.length&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},t}(c.Disposable);t.AccessibilityManager=h},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRenderer=void 0;var s=n(58),l=n(9),c=n(2),u=n(5),d=n(1),h=n(0),f=n(10),p=n(17),A=1,g=function(e){function t(t,n,r,i,o,a,l,c,u){var d=e.call(this)||this;return d._colors=t,d._element=n,d._screenElement=r,d._viewportElement=i,d._linkifier=o,d._linkifier2=a,d._charSizeService=l,d._optionsService=c,d._bufferService=u,d._terminalClass=A++,d._rowElements=[],d._rowContainer=document.createElement("div"),d._rowContainer.classList.add("xterm-rows"),d._rowContainer.style.lineHeight="normal",d._rowContainer.setAttribute("aria-hidden","true"),d._refreshRowElements(d._bufferService.cols,d._bufferService.rows),d._selectionContainer=document.createElement("div"),d._selectionContainer.classList.add("xterm-selection"),d._selectionContainer.setAttribute("aria-hidden","true"),d.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},d._updateDimensions(),d._injectCss(),d._rowFactory=new s.DomRendererRowFactory(document,d._optionsService,d._colors),d._element.classList.add("xterm-dom-renderer-owner-"+d._terminalClass),d._screenElement.appendChild(d._rowContainer),d._screenElement.appendChild(d._selectionContainer),d._linkifier.onShowLinkUnderline((function(e){return d._onLinkHover(e)})),d._linkifier.onHideLinkUnderline((function(e){return d._onLinkLeave(e)})),d._linkifier2.onShowLinkUnderline((function(e){return d._onLinkHover(e)})),d._linkifier2.onHideLinkUnderline((function(e){return d._onLinkLeave(e)})),d}return i(t,e),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return(new h.EventEmitter).event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),p.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),e.prototype.dispose.call(this)},t.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 e=0,t=this._rowElements;e<t.length;e++){var n=t[e];n.style.width=this.dimensions.canvasWidth+"px",n.style.height=this.dimensions.actualCellHeight+"px",n.style.lineHeight=this.dimensions.actualCellHeight+"px",n.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var r=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=r,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.setColors=function(e){this._colors=e,this._injectCss()},t.prototype._injectCss=function(){var e=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var t=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";t+=this._terminalSelector+" span:not(."+s.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+s.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+s.ITALIC_CLASS+" { font-style: italic;}",t+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",t+="@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+"; }}",t+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_BLINK_CLASS+":not(."+s.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_BLINK_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",t+=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(n,r){t+=e._terminalSelector+" .xterm-fg-"+r+" { color: "+n.css+"; }"+e._terminalSelector+" .xterm-bg-"+r+" { background-color: "+n.css+"; }"})),t+=this._terminalSelector+" .xterm-fg-"+l.INVERTED_DEFAULT_COLOR+" { color: "+f.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+l.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=t},t.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},t.prototype._refreshRowElements=function(e,t){for(var n=this._rowElements.length;n<=t;n++){var r=document.createElement("div");this._rowContainer.appendChild(r),this._rowElements.push(r)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())},t.prototype.onResize=function(e,t){this._refreshRowElements(e,t),this._updateDimensions()},t.prototype.onCharSizeChanged=function(){this._updateDimensions()},t.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},t.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},t.prototype.onSelectionChanged=function(e,t,n){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(e&&t){var r=e[1]-this._bufferService.buffer.ydisp,i=t[1]-this._bufferService.buffer.ydisp,o=Math.max(r,0),a=Math.min(i,this._bufferService.rows-1);if(!(o>=this._bufferService.rows||a<0)){var s=document.createDocumentFragment();if(n)s.appendChild(this._createSelectionElement(o,e[0],t[0],a-o+1));else{var l=r===o?e[0]:0,c=o===a?t[0]:this._bufferService.cols;s.appendChild(this._createSelectionElement(o,l,c));var u=a-o-1;if(s.appendChild(this._createSelectionElement(o+1,0,this._bufferService.cols,u)),o!==a){var d=i===a?t[0]:this._bufferService.cols;s.appendChild(this._createSelectionElement(a,0,d))}}this._selectionContainer.appendChild(s)}}},t.prototype._createSelectionElement=function(e,t,n,r){void 0===r&&(r=1);var i=document.createElement("div");return i.style.height=r*this.dimensions.actualCellHeight+"px",i.style.top=e*this.dimensions.actualCellHeight+"px",i.style.left=t*this.dimensions.actualCellWidth+"px",i.style.width=this.dimensions.actualCellWidth*(n-t)+"px",i},t.prototype.onCursorMove=function(){},t.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},t.prototype.clear=function(){for(var e=0,t=this._rowElements;e<t.length;e++)t[e].innerHTML=""},t.prototype.renderRows=function(e,t){for(var n=this._bufferService.buffer.ybase+this._bufferService.buffer.y,r=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),i=this._optionsService.options.cursorBlink,o=e;o<=t;o++){var a=this._rowElements[o];a.innerHTML="";var s=o+this._bufferService.buffer.ydisp,l=this._bufferService.buffer.lines.get(s),c=this._optionsService.options.cursorStyle;a.appendChild(this._rowFactory.createRow(l,s===n,c,r,i,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(t.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),t.prototype.registerCharacterJoiner=function(e){return-1},t.prototype.deregisterCharacterJoiner=function(e){return!1},t.prototype._onLinkHover=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)},t.prototype._onLinkLeave=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)},t.prototype._setCellUnderline=function(e,t,n,r,i,o){for(;e!==t||n!==r;){var a=this._rowElements[n];if(!a)return;var s=a.children[e];s&&(s.style.textDecoration=o?"underline":"none"),++e>=i&&(e=0,n++)}},o([a(6,u.ICharSizeService),a(7,d.IOptionsService),a(8,d.IBufferService)],t)}(c.Disposable);t.DomRenderer=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DomRendererRowFactory=t.CURSOR_STYLE_UNDERLINE_CLASS=t.CURSOR_STYLE_BAR_CLASS=t.CURSOR_STYLE_BLOCK_CLASS=t.CURSOR_BLINK_CLASS=t.CURSOR_CLASS=t.UNDERLINE_CLASS=t.ITALIC_CLASS=t.DIM_CLASS=t.BOLD_CLASS=void 0;var r=n(9),i=n(3),o=n(4),a=n(10);t.BOLD_CLASS="xterm-bold",t.DIM_CLASS="xterm-dim",t.ITALIC_CLASS="xterm-italic",t.UNDERLINE_CLASS="xterm-underline",t.CURSOR_CLASS="xterm-cursor",t.CURSOR_BLINK_CLASS="xterm-cursor-blink",t.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",t.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",t.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var s=function(){function e(e,t,n){this._document=e,this._optionsService=t,this._colors=n,this._workCell=new o.CellData}return e.prototype.setColors=function(e){this._colors=e},e.prototype.createRow=function(e,n,o,s,c,u,d){for(var h=this._document.createDocumentFragment(),f=0,p=Math.min(e.length,d)-1;p>=0;p--)if(e.loadCell(p,this._workCell).getCode()!==i.NULL_CELL_CODE||n&&p===s){f=p+1;break}for(p=0;p<f;p++){e.loadCell(p,this._workCell);var A=this._workCell.getWidth();if(0!==A){var g=this._document.createElement("span");if(A>1&&(g.style.width=u*A+"px"),n&&p===s)switch(g.classList.add(t.CURSOR_CLASS),c&&g.classList.add(t.CURSOR_BLINK_CLASS),o){case"bar":g.classList.add(t.CURSOR_STYLE_BAR_CLASS);break;case"underline":g.classList.add(t.CURSOR_STYLE_UNDERLINE_CLASS);break;default:g.classList.add(t.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&g.classList.add(t.BOLD_CLASS),this._workCell.isItalic()&&g.classList.add(t.ITALIC_CLASS),this._workCell.isDim()&&g.classList.add(t.DIM_CLASS),this._workCell.isUnderline()&&g.classList.add(t.UNDERLINE_CLASS),this._workCell.isInvisible()?g.textContent=i.WHITESPACE_CELL_CHAR:g.textContent=this._workCell.getChars()||i.WHITESPACE_CELL_CHAR;var m=this._workCell.getFgColor(),v=this._workCell.getFgColorMode(),y=this._workCell.getBgColor(),b=this._workCell.getBgColorMode(),_=!!this._workCell.isInverse();if(_){var w=m;m=y,y=w;var x=v;v=b,b=x}switch(v){case 16777216:case 33554432:this._workCell.isBold()&&m<8&&this._optionsService.options.drawBoldTextInBrightColors&&(m+=8),this._applyMinimumContrast(g,this._colors.background,this._colors.ansi[m])||g.classList.add("xterm-fg-"+m);break;case 50331648:var C=a.rgba.toColor(m>>16&255,m>>8&255,255&m);this._applyMinimumContrast(g,this._colors.background,C)||this._addStyle(g,"color:#"+l(m.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(g,this._colors.background,this._colors.foreground)||_&&g.classList.add("xterm-fg-"+r.INVERTED_DEFAULT_COLOR)}switch(b){case 16777216:case 33554432:g.classList.add("xterm-bg-"+y);break;case 50331648:this._addStyle(g,"background-color:#"+l(y.toString(16),"0",6));break;case 0:default:_&&g.classList.add("xterm-bg-"+r.INVERTED_DEFAULT_COLOR)}h.appendChild(g)}}return h},e.prototype._applyMinimumContrast=function(e,t,n){if(1===this._optionsService.options.minimumContrastRatio)return!1;var r=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===r&&(r=a.color.ensureContrastRatio(t,n,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=r?r:null)),!!r&&(this._addStyle(e,"color:"+r.css),!0)},e.prototype._addStyle=function(e,t){e.setAttribute("style",""+(e.getAttribute("style")||"")+t+";")},e}();function l(e,t,n){for(;e.length<n;)e=t+e;return e}t.DomRendererRowFactory=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateKeyboardEvent=void 0;var r=n(12),i={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:["'",'"']};t.evaluateKeyboardEvent=function(e,t,n,o){var a={type:0,cancel:!1,key:void 0},s=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?a.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?a.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?a.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(a.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B");break;case 8:if(e.shiftKey){a.key=r.C0.BS;break}if(e.altKey){a.key=r.C0.ESC+r.C0.DEL;break}a.key=r.C0.DEL;break;case 9:if(e.shiftKey){a.key=r.C0.ESC+"[Z";break}a.key=r.C0.HT,a.cancel=!0;break;case 13:a.key=e.altKey?r.C0.ESC+r.C0.CR:r.C0.CR,a.cancel=!0;break;case 27:a.key=r.C0.ESC,e.altKey&&(a.key=r.C0.ESC+r.C0.ESC),a.cancel=!0;break;case 37:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"D",a.key===r.C0.ESC+"[1;3D"&&(a.key=r.C0.ESC+(n?"b":"[1;5D"))):a.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D";break;case 39:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"C",a.key===r.C0.ESC+"[1;3C"&&(a.key=r.C0.ESC+(n?"f":"[1;5C"))):a.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C";break;case 38:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"A",n||a.key!==r.C0.ESC+"[1;3A"||(a.key=r.C0.ESC+"[1;5A")):a.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A";break;case 40:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"B",n||a.key!==r.C0.ESC+"[1;3B"||(a.key=r.C0.ESC+"[1;5B")):a.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(a.key=r.C0.ESC+"[2~");break;case 46:a.key=s?r.C0.ESC+"[3;"+(s+1)+"~":r.C0.ESC+"[3~";break;case 36:a.key=s?r.C0.ESC+"[1;"+(s+1)+"H":t?r.C0.ESC+"OH":r.C0.ESC+"[H";break;case 35:a.key=s?r.C0.ESC+"[1;"+(s+1)+"F":t?r.C0.ESC+"OF":r.C0.ESC+"[F";break;case 33:e.shiftKey?a.type=2:a.key=r.C0.ESC+"[5~";break;case 34:e.shiftKey?a.type=3:a.key=r.C0.ESC+"[6~";break;case 112:a.key=s?r.C0.ESC+"[1;"+(s+1)+"P":r.C0.ESC+"OP";break;case 113:a.key=s?r.C0.ESC+"[1;"+(s+1)+"Q":r.C0.ESC+"OQ";break;case 114:a.key=s?r.C0.ESC+"[1;"+(s+1)+"R":r.C0.ESC+"OR";break;case 115:a.key=s?r.C0.ESC+"[1;"+(s+1)+"S":r.C0.ESC+"OS";break;case 116:a.key=s?r.C0.ESC+"[15;"+(s+1)+"~":r.C0.ESC+"[15~";break;case 117:a.key=s?r.C0.ESC+"[17;"+(s+1)+"~":r.C0.ESC+"[17~";break;case 118:a.key=s?r.C0.ESC+"[18;"+(s+1)+"~":r.C0.ESC+"[18~";break;case 119:a.key=s?r.C0.ESC+"[19;"+(s+1)+"~":r.C0.ESC+"[19~";break;case 120:a.key=s?r.C0.ESC+"[20;"+(s+1)+"~":r.C0.ESC+"[20~";break;case 121:a.key=s?r.C0.ESC+"[21;"+(s+1)+"~":r.C0.ESC+"[21~";break;case 122:a.key=s?r.C0.ESC+"[23;"+(s+1)+"~":r.C0.ESC+"[23~";break;case 123:a.key=s?r.C0.ESC+"[24;"+(s+1)+"~":r.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(n&&!o||!e.altKey||e.metaKey)n&&!e.altKey&&!e.ctrlKey&&e.metaKey?65===e.keyCode&&(a.type=1):e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?a.key=e.key:e.key&&e.ctrlKey&&"_"===e.key&&(a.key=r.C0.US);else{var l=i[e.keyCode],c=l&&l[e.shiftKey?1:0];if(c)a.key=r.C0.ESC+c;else if(e.keyCode>=65&&e.keyCode<=90){var u=e.ctrlKey?e.keyCode-64:e.keyCode+32;a.key=r.C0.ESC+String.fromCharCode(u)}}else e.keyCode>=65&&e.keyCode<=90?a.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?a.key=r.C0.NUL:e.keyCode>=51&&e.keyCode<=55?a.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?a.key=r.C0.DEL:219===e.keyCode?a.key=r.C0.ESC:220===e.keyCode?a.key=r.C0.FS:221===e.keyCode&&(a.key=r.C0.GS)}return a}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenderService=void 0;var s=n(31),l=n(0),c=n(2),u=n(32),d=n(7),h=n(1),f=n(5),p=function(e){function t(t,n,r,i,o,a){var c=e.call(this)||this;if(c._renderer=t,c._rowCount=n,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 l.EventEmitter,c._onRender=new l.EventEmitter,c._onRefreshRequest=new l.EventEmitter,c.register({dispose:function(){return c._renderer.dispose()}}),c._renderDebouncer=new s.RenderDebouncer((function(e,t){return c._renderRows(e,t)})),c.register(c._renderDebouncer),c._screenDprMonitor=new u.ScreenDprMonitor,c._screenDprMonitor.setListener((function(){return c.onDevicePixelRatioChange()})),c.register(c._screenDprMonitor),c.register(a.onResize((function(e){return c._fullRefresh()}))),c.register(i.onOptionChange((function(){return c._renderer.onOptionsChanged()}))),c.register(o.onCharSizeChange((function(){return c.onCharSizeChanged()}))),c._renderer.onRequestRedraw((function(e){return c.refreshRows(e.start,e.end,!0)})),c.register(d.addDisposableDomListener(window,"resize",(function(){return c.onDevicePixelRatioChange()}))),"IntersectionObserver"in window){var h=new IntersectionObserver((function(e){return c._onIntersectionChange(e[e.length-1])}),{threshold:0});h.observe(r),c.register({dispose:function(){return h.disconnect()}})}return c}return i(t,e),Object.defineProperty(t.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),t.prototype._onIntersectionChange=function(e){this._isPaused=0===e.intersectionRatio,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},t.prototype.refreshRows=function(e,t,n){void 0===n&&(n=!1),this._isPaused?this._needsFullRefresh=!0:(n||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(e,t,this._rowCount))},t.prototype._renderRows=function(e,t){this._renderer.renderRows(e,t),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:e,end:t}),this._isNextRenderRedrawOnly=!0},t.prototype.resize=function(e,t){this._rowCount=t,this._fireOnCanvasResize()},t.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},t.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.setRenderer=function(e){var t=this;this._renderer.dispose(),this._renderer=e,this._renderer.onRequestRedraw((function(e){return t.refreshRows(e.start,e.end,!0)})),this._needsSelectionRefresh=!0,this._fullRefresh()},t.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},t.prototype.setColors=function(e){this._renderer.setColors(e),this._fullRefresh()},t.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},t.prototype.onResize=function(e,t){this._renderer.onResize(e,t),this._fullRefresh()},t.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},t.prototype.onBlur=function(){this._renderer.onBlur()},t.prototype.onFocus=function(){this._renderer.onFocus()},t.prototype.onSelectionChanged=function(e,t,n){this._selectionState.start=e,this._selectionState.end=t,this._selectionState.columnSelectMode=n,this._renderer.onSelectionChanged(e,t,n)},t.prototype.onCursorMove=function(){this._renderer.onCursorMove()},t.prototype.clear=function(){this._renderer.clear()},t.prototype.registerCharacterJoiner=function(e){return this._renderer.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._renderer.deregisterCharacterJoiner(e)},o([a(3,h.IOptionsService),a(4,f.ICharSizeService),a(5,h.IBufferService)],t)}(c.Disposable);t.RenderService=p},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharSizeService=void 0;var o=n(1),a=n(0),s=function(){function e(e,t,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new a.EventEmitter,this._measureStrategy=new l(e,t,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 e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())},r([i(2,o.IOptionsService)],e)}();t.CharSizeService=s;var l=function(){function e(e,t,n){this._document=e,this._parentElement=t,this._optionsService=n,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._measureElement.getBoundingClientRect();return 0!==e.width&&0!==e.height&&(this._result.width=e.width,this._result.height=Math.ceil(e.height)),this._result},e}()},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseService=void 0;var o=n(5),a=n(30),s=function(){function e(e,t){this._renderService=e,this._charSizeService=t}return e.prototype.getCoords=function(e,t,n,r,i){return a.getCoords(e,t,n,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,i)},e.prototype.getRawByteCoords=function(e,t,n,r){var i=this.getCoords(e,t,n,r);return a.getRawByteCoords(i)},r([i(0,o.IRenderService),i(1,o.ICharSizeService)],e)}();t.MouseService=s},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Linkifier2=void 0;var s=n(1),l=n(0),c=n(2),u=n(7),d=function(e){function t(t){var n=e.call(this)||this;return n._bufferService=t,n._linkProviders=[],n._linkCacheDisposables=[],n._isMouseOut=!0,n._activeLine=-1,n._onShowLinkUnderline=n.register(new l.EventEmitter),n._onHideLinkUnderline=n.register(new l.EventEmitter),n.register(c.getDisposeArrayDisposable(n._linkCacheDisposables)),n}return i(t,e),Object.defineProperty(t.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),t.prototype.registerLinkProvider=function(e){var t=this;return this._linkProviders.push(e),{dispose:function(){var n=t._linkProviders.indexOf(e);-1!==n&&t._linkProviders.splice(n,1)}}},t.prototype.attachToDom=function(e,t,n){var r=this;this._element=e,this._mouseService=t,this._renderService=n,this.register(u.addDisposableDomListener(this._element,"mouseleave",(function(){r._isMouseOut=!0,r._clearCurrentLink()}))),this.register(u.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(u.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},t.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var t=this._positionFromMouseEvent(e,this._element,this._mouseService);if(t){this._isMouseOut=!1;for(var n=e.composedPath(),r=0;r<n.length;r++){var i=n[r];if(i.classList.contains("xterm"))break;if(i.classList.contains("xterm-hover"))return}this._lastBufferCell&&t.x===this._lastBufferCell.x&&t.y===this._lastBufferCell.y||(this._onHover(t),this._lastBufferCell=t)}}},t.prototype._onHover=function(e){if(this._activeLine!==e.y)return this._clearCurrentLink(),void this._askForLink(e,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,e)||(this._clearCurrentLink(),this._askForLink(e,!0))},t.prototype._askForLink=function(e,t){var n=this;this._activeProviderReplies&&t||(this._activeProviderReplies=new Map,this._activeLine=e.y);var r=!1;this._linkProviders.forEach((function(i,o){var a;t?(null===(a=n._activeProviderReplies)||void 0===a?void 0:a.get(o))&&(r=n._checkLinkProviderResult(o,e,r)):i.provideLinks(e.y,(function(t){var i,a;if(!n._isMouseOut){var s=null==t?void 0:t.map((function(e){return{link:e}}));null===(i=n._activeProviderReplies)||void 0===i||i.set(o,s),r=n._checkLinkProviderResult(o,e,r),(null===(a=n._activeProviderReplies)||void 0===a?void 0:a.size)===n._linkProviders.length&&n._removeIntersectingLinks(e.y,n._activeProviderReplies)}}))}))},t.prototype._removeIntersectingLinks=function(e,t){for(var n=new Set,r=0;r<t.size;r++){var i=t.get(r);if(i)for(var o=0;o<i.length;o++)for(var a=i[o],s=a.link.range.start.y<e?0:a.link.range.start.x,l=a.link.range.end.y>e?this._bufferService.cols:a.link.range.end.x,c=s;c<=l;c++){if(n.has(c)){i.splice(o--,1);break}n.add(c)}}},t.prototype._checkLinkProviderResult=function(e,t,n){var r,i=this;if(!this._activeProviderReplies)return n;for(var o=this._activeProviderReplies.get(e),a=!1,s=0;s<e;s++)this._activeProviderReplies.has(s)&&!this._activeProviderReplies.get(s)||(a=!0);if(!a&&o){var l=o.find((function(e){return i._linkAtPosition(e.link,t)}));l&&(n=!0,this._handleNewLink(l))}if(this._activeProviderReplies.size===this._linkProviders.length&&!n)for(s=0;s<this._activeProviderReplies.size;s++){var c=null===(r=this._activeProviderReplies.get(s))||void 0===r?void 0:r.find((function(e){return i._linkAtPosition(e.link,t)}));if(c){n=!0,this._handleNewLink(c);break}}return n},t.prototype._onClick=function(e){if(this._element&&this._mouseService&&this._currentLink){var t=this._positionFromMouseEvent(e,this._element,this._mouseService);t&&this._linkAtPosition(this._currentLink.link,t)&&this._currentLink.link.activate(e,this._currentLink.link.text)}},t.prototype._clearCurrentLink=function(e,t){this._element&&this._currentLink&&this._lastMouseEvent&&(!e||!t||this._currentLink.link.range.start.y>=e&&this._currentLink.link.range.end.y<=t)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,c.disposeArray(this._linkCacheDisposables))},t.prototype._handleNewLink=function(e){var t=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var n=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);n&&this._linkAtPosition(e.link,n)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:void 0===e.link.decorations||e.link.decorations.underline,pointerCursor:void 0===e.link.decorations||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:function(){var e,n;return null===(n=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===n?void 0:n.decorations.pointerCursor},set:function(e){var n,r;(null===(n=t._currentLink)||void 0===n?void 0:n.state)&&t._currentLink.state.decorations.pointerCursor!==e&&(t._currentLink.state.decorations.pointerCursor=e,t._currentLink.state.isHovered&&(null===(r=t._element)||void 0===r||r.classList.toggle("xterm-cursor-pointer",e)))}},underline:{get:function(){var e,n;return null===(n=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===n?void 0:n.decorations.underline},set:function(n){var r,i,o;(null===(r=t._currentLink)||void 0===r?void 0:r.state)&&(null===(o=null===(i=t._currentLink)||void 0===i?void 0:i.state)||void 0===o?void 0:o.decorations.underline)!==n&&(t._currentLink.state.decorations.underline=n,t._currentLink.state.isHovered&&t._fireUnderlineEvent(e.link,n))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange((function(e){var n=0===e.start?0:e.start+1+t._bufferService.buffer.ydisp;t._clearCurrentLink(n,e.end+1+t._bufferService.buffer.ydisp)}))))}},t.prototype._linkHover=function(e,t,n){var r;(null===(r=this._currentLink)||void 0===r?void 0:r.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),t.hover&&t.hover(n,t.text)},t.prototype._fireUnderlineEvent=function(e,t){var n=e.range,r=this._bufferService.buffer.ydisp,i=this._createLinkUnderlineEvent(n.start.x-1,n.start.y-r-1,n.end.x,n.end.y-r-1,void 0);(t?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(i)},t.prototype._linkLeave=function(e,t,n){var r;(null===(r=this._currentLink)||void 0===r?void 0:r.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),t.leave&&t.leave(n,t.text)},t.prototype._linkAtPosition=function(e,t){var n=e.range.start.y===e.range.end.y,r=e.range.start.y<t.y,i=e.range.end.y>t.y;return(n&&e.range.start.x<=t.x&&e.range.end.x>=t.x||r&&e.range.end.x>=t.x||i&&e.range.start.x<=t.x||r&&i)&&e.range.start.y<=t.y&&e.range.end.y>=t.y},t.prototype._positionFromMouseEvent=function(e,t,n){var r=n.getCoords(e,t,this._bufferService.cols,this._bufferService.rows);if(r)return{x:r[0],y:r[1]+this._bufferService.buffer.ydisp}},t.prototype._createLinkUnderlineEvent=function(e,t,n,r,i){return{x1:e,y1:t,x2:n,y2:r,cols:this._bufferService.cols,fg:i}},o([a(0,s.IBufferService)],t)}(c.Disposable);t.Linkifier2=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoreBrowserService=void 0;var r=function(){function e(e){this._textarea=e}return Object.defineProperty(e.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),e}();t.CoreBrowserService=r},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CoreTerminal=void 0;var o=n(2),a=n(1),s=n(66),l=n(67),c=n(68),u=n(74),d=n(75),h=n(0),f=n(76),p=n(77),A=n(78),g=n(80),m=n(81),v=n(19),y=n(82),b=function(e){function t(t){var n=e.call(this)||this;return n._onBinary=new h.EventEmitter,n._onData=new h.EventEmitter,n._onLineFeed=new h.EventEmitter,n._onResize=new h.EventEmitter,n._onScroll=new h.EventEmitter,n._instantiationService=new s.InstantiationService,n.optionsService=new u.OptionsService(t),n._instantiationService.setService(a.IOptionsService,n.optionsService),n._bufferService=n.register(n._instantiationService.createInstance(c.BufferService)),n._instantiationService.setService(a.IBufferService,n._bufferService),n._logService=n._instantiationService.createInstance(l.LogService),n._instantiationService.setService(a.ILogService,n._logService),n._coreService=n.register(n._instantiationService.createInstance(d.CoreService,(function(){return n.scrollToBottom()}))),n._instantiationService.setService(a.ICoreService,n._coreService),n._coreMouseService=n._instantiationService.createInstance(f.CoreMouseService),n._instantiationService.setService(a.ICoreMouseService,n._coreMouseService),n._dirtyRowService=n._instantiationService.createInstance(p.DirtyRowService),n._instantiationService.setService(a.IDirtyRowService,n._dirtyRowService),n.unicodeService=n._instantiationService.createInstance(A.UnicodeService),n._instantiationService.setService(a.IUnicodeService,n.unicodeService),n._charsetService=n._instantiationService.createInstance(g.CharsetService),n._instantiationService.setService(a.ICharsetService,n._charsetService),n._inputHandler=new v.InputHandler(n._bufferService,n._charsetService,n._coreService,n._dirtyRowService,n._logService,n.optionsService,n._coreMouseService,n.unicodeService),n.register(h.forwardEvent(n._inputHandler.onLineFeed,n._onLineFeed)),n.register(n._inputHandler),n.register(h.forwardEvent(n._bufferService.onResize,n._onResize)),n.register(h.forwardEvent(n._coreService.onData,n._onData)),n.register(h.forwardEvent(n._coreService.onBinary,n._onBinary)),n.register(n.optionsService.onOptionChange((function(e){return n._updateOptions(e)}))),n._writeBuffer=new y.WriteBuffer((function(e){return n._inputHandler.parse(e)})),n}return i(t,e),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var t;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0)},t.prototype.write=function(e,t){this._writeBuffer.write(e,t)},t.prototype.writeSync=function(e){this._writeBuffer.writeSync(e)},t.prototype.resize=function(e,t){isNaN(e)||isNaN(t)||(e=Math.max(e,c.MINIMUM_COLS),t=Math.max(t,c.MINIMUM_ROWS),this._bufferService.resize(e,t))},t.prototype.scroll=function(e,t){void 0===t&&(t=!1);var n,r=this._bufferService.buffer;(n=this._cachedBlankLine)&&n.length===this.cols&&n.getFg(0)===e.fg&&n.getBg(0)===e.bg||(n=r.getBlankLine(e,t),this._cachedBlankLine=n),n.isWrapped=t;var i=r.ybase+r.scrollTop,o=r.ybase+r.scrollBottom;if(0===r.scrollTop){var a=r.lines.isFull;o===r.lines.length-1?a?r.lines.recycle().copyFrom(n):r.lines.push(n.clone()):r.lines.splice(o+1,0,n.clone()),a?this._bufferService.isUserScrolling&&(r.ydisp=Math.max(r.ydisp-1,0)):(r.ybase++,this._bufferService.isUserScrolling||r.ydisp++)}else{var s=o-i+1;r.lines.shiftElements(i+1,s-1,-1),r.lines.set(o,n.clone())}this._bufferService.isUserScrolling||(r.ydisp=r.ybase),this._dirtyRowService.markRangeDirty(r.scrollTop,r.scrollBottom),this._onScroll.fire(r.ydisp)},t.prototype.scrollLines=function(e,t){var n=this._bufferService.buffer;if(e<0){if(0===n.ydisp)return;this._bufferService.isUserScrolling=!0}else e+n.ydisp>=n.ybase&&(this._bufferService.isUserScrolling=!1);var r=n.ydisp;n.ydisp=Math.max(Math.min(n.ydisp+e,n.ybase),0),r!==n.ydisp&&(t||this._onScroll.fire(n.ydisp))},t.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},t.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},t.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},t.prototype.scrollToLine=function(e){var t=e-this._bufferService.buffer.ydisp;0!==t&&this.scrollLines(t)},t.prototype.addEscHandler=function(e,t){return this._inputHandler.addEscHandler(e,t)},t.prototype.addDcsHandler=function(e,t){return this._inputHandler.addDcsHandler(e,t)},t.prototype.addCsiHandler=function(e,t){return this._inputHandler.addCsiHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._inputHandler.addOscHandler(e,t)},t.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},t.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},t.prototype._updateOptions=function(e){var t;switch(e){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():(null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0)}},t.prototype._enableWindowsMode=function(){var e=this;if(!this._windowsMode){var t=[];t.push(this.onLineFeed(m.updateWindowsModeWrappedState.bind(null,this._bufferService))),t.push(this.addCsiHandler({final:"H"},(function(){return m.updateWindowsModeWrappedState(e._bufferService),!1}))),this._windowsMode={dispose:function(){for(var e=0,n=t;e<n.length;e++)n[e].dispose()}}}},t}(o.Disposable);t.CoreTerminal=b},function(e,t,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};Object.defineProperty(t,"__esModule",{value:!0}),t.InstantiationService=t.ServiceCollection=void 0;var i=n(1),o=n(14),a=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._entries=new Map;for(var n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],a=i[1];this.set(o,a)}}return e.prototype.set=function(e,t){var n=this._entries.get(e);return this._entries.set(e,t),n},e.prototype.forEach=function(e){this._entries.forEach((function(t,n){return e(n,t)}))},e.prototype.has=function(e){return this._entries.has(e)},e.prototype.get=function(e){return this._entries.get(e)},e}();t.ServiceCollection=a;var s=function(){function e(){this._services=new a,this._services.set(i.IInstantiationService,this)}return e.prototype.setService=function(e,t){this._services.set(e,t)},e.prototype.getService=function(e){return this._services.get(e)},e.prototype.createInstance=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=o.getServiceDependencies(e).sort((function(e,t){return e.index-t.index})),a=[],s=0,l=i;s<l.length;s++){var c=l[s],u=this._services.get(c.id);if(!u)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+c.id+".");a.push(u)}var d=i.length>0?i[0].index:t.length;if(t.length!==d)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(d+1)+" conflicts with "+t.length+" static arguments");return new(e.bind.apply(e,r([void 0],r(t,a))))},e}();t.InstantiationService=s},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},o=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};Object.defineProperty(t,"__esModule",{value:!0}),t.LogService=t.LogLevel=void 0;var a,s=n(1);!function(e){e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR",e[e.OFF=4]="OFF"}(a=t.LogLevel||(t.LogLevel={}));var l={debug:a.DEBUG,info:a.INFO,warn:a.WARN,error:a.ERROR,off:a.OFF},c=function(){function e(e){var t=this;this._optionsService=e,this._updateLogLevel(),this._optionsService.onOptionChange((function(e){"logLevel"===e&&t._updateLogLevel()}))}return e.prototype._updateLogLevel=function(){this._logLevel=l[this._optionsService.options.logLevel]},e.prototype._evalLazyOptionalParams=function(e){for(var t=0;t<e.length;t++)"function"==typeof e[t]&&(e[t]=e[t]())},e.prototype._log=function(e,t,n){this._evalLazyOptionalParams(n),e.call.apply(e,o([console,"xterm.js: "+t],n))},e.prototype.debug=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this._logLevel<=a.DEBUG&&this._log(console.log,e,t)},e.prototype.info=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this._logLevel<=a.INFO&&this._log(console.info,e,t)},e.prototype.warn=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this._logLevel<=a.WARN&&this._log(console.warn,e,t)},e.prototype.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this._logLevel<=a.ERROR&&this._log(console.error,e,t)},r([i(0,s.IOptionsService)],e)}();t.LogService=c},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferService=t.MINIMUM_ROWS=t.MINIMUM_COLS=void 0;var s=n(1),l=n(69),c=n(0),u=n(2);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var d=function(e){function n(n){var r=e.call(this)||this;return r._optionsService=n,r.isUserScrolling=!1,r._onResize=new c.EventEmitter,r.cols=Math.max(n.options.cols,t.MINIMUM_COLS),r.rows=Math.max(n.options.rows,t.MINIMUM_ROWS),r.buffers=new l.BufferSet(n,r),r}return i(n,e),Object.defineProperty(n.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){e.prototype.dispose.call(this),this.buffers.dispose()},n.prototype.resize=function(e,t){this.cols=e,this.rows=t,this.buffers.resize(e,t),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:t})},n.prototype.reset=function(){this.buffers.dispose(),this.buffers=new l.BufferSet(this._optionsService,this),this.isUserScrolling=!1},o([a(0,s.IOptionsService)],n)}(u.Disposable);t.BufferService=d},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BufferSet=void 0;var o=n(70),a=n(0),s=function(e){function t(t,n){var r=e.call(this)||this;return r._onBufferActivate=r.register(new a.EventEmitter),r._normal=new o.Buffer(!0,t,n),r._normal.fillViewportRows(),r._alt=new o.Buffer(!1,t,n),r._activeBuffer=r._normal,r.setupTabStops(),r}return i(t,e),Object.defineProperty(t.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),t.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},t.prototype.activateAltBuffer=function(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},t.prototype.resize=function(e,t){this._normal.resize(e,t),this._alt.resize(e,t)},t.prototype.setupTabStops=function(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)},t}(n(2).Disposable);t.BufferSet=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BufferStringIterator=t.Buffer=t.MAX_BUFFER_SIZE=void 0;var r=n(71),i=n(16),o=n(4),a=n(3),s=n(72),l=n(73),c=n(20),u=n(6);t.MAX_BUFFER_SIZE=4294967295;var d=function(){function e(e,t,n){this._hasScrollback=e,this._optionsService=t,this._bufferService=n,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=i.DEFAULT_ATTR_DATA.clone(),this.savedCharset=c.DEFAULT_CHARSET,this.markers=[],this._nullCell=o.CellData.fromCharData([0,a.NULL_CELL_CHAR,a.NULL_CELL_WIDTH,a.NULL_CELL_CODE]),this._whitespaceCell=o.CellData.fromCharData([0,a.WHITESPACE_CELL_CHAR,a.WHITESPACE_CELL_WIDTH,a.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return e.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg,this._nullCell.extended=e.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new u.ExtendedAttrs),this._nullCell},e.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg,this._whitespaceCell.extended=e.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new u.ExtendedAttrs),this._whitespaceCell},e.prototype.getBlankLine=function(e,t){return new i.BufferLine(this._bufferService.cols,this.getNullCell(e),t)},Object.defineProperty(e.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return e>=0&&e<this._rows},enumerable:!1,configurable:!0}),e.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var n=e+this._optionsService.options.scrollback;return n>t.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:n},e.prototype.fillViewportRows=function(e){if(0===this.lines.length){void 0===e&&(e=i.DEFAULT_ATTR_DATA);for(var t=this._rows;t--;)this.lines.push(this.getBlankLine(e))}},e.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},e.prototype.resize=function(e,t){var n=this.getNullCell(i.DEFAULT_ATTR_DATA),r=this._getCorrectBufferLength(t);if(r>this.lines.maxLength&&(this.lines.maxLength=r),this.lines.length>0){if(this._cols<e)for(var o=0;o<this.lines.length;o++)this.lines.get(o).resize(e,n);var a=0;if(this._rows<t)for(var s=this._rows;s<t;s++)this.lines.length<t+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new i.BufferLine(e,n)):this.ybase>0&&this.lines.length<=this.ybase+this.y+a+1?(this.ybase--,a++,this.ydisp>0&&this.ydisp--):this.lines.push(new i.BufferLine(e,n)));else for(s=this._rows;s>t;s--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(r<this.lines.maxLength){var l=this.lines.length-r;l>0&&(this.lines.trimStart(l),this.ybase=Math.max(this.ybase-l,0),this.ydisp=Math.max(this.ydisp-l,0),this.savedY=Math.max(this.savedY-l,0)),this.lines.maxLength=r}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),a&&(this.y+=a),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(o=0;o<this.lines.length;o++)this.lines.get(o).resize(e,n);this._cols=e,this._rows=t},Object.defineProperty(e.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),e.prototype._reflow=function(e,t){this._cols!==e&&(e>this._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))},e.prototype._reflowLarger=function(e,t){var n=s.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(i.DEFAULT_ATTR_DATA));if(n.length>0){var r=s.reflowLargerCreateNewLayout(this.lines,n);s.reflowLargerApplyNewLayout(this.lines,r.layout),this._reflowLargerAdjustViewport(e,t,r.countRemoved)}},e.prototype._reflowLargerAdjustViewport=function(e,t,n){for(var r=this.getNullCell(i.DEFAULT_ATTR_DATA),o=n;o-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length<t&&this.lines.push(new i.BufferLine(e,r))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-n,0)},e.prototype._reflowSmaller=function(e,t){for(var n=this.getNullCell(i.DEFAULT_ATTR_DATA),r=[],o=0,a=this.lines.length-1;a>=0;a--){var l=this.lines.get(a);if(!(!l||!l.isWrapped&&l.getTrimmedLength()<=e)){for(var c=[l];l.isWrapped&&a>0;)l=this.lines.get(--a),c.unshift(l);var u=this.ybase+this.y;if(!(u>=a&&u<a+c.length)){var d=c[c.length-1].getTrimmedLength(),h=s.reflowSmallerGetNewLineLengths(c,this._cols,e),f=h.length-c.length,p=void 0;p=0===this.ybase&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+f):Math.max(0,this.lines.length-this.lines.maxLength+f);for(var A=[],g=0;g<f;g++){var m=this.getBlankLine(i.DEFAULT_ATTR_DATA,!0);A.push(m)}A.length>0&&(r.push({start:a+c.length+o,newLines:A}),o+=A.length),c.push.apply(c,A);var v=h.length-1,y=h[v];0===y&&(y=h[--v]);for(var b=c.length-f-1,_=d;b>=0;){var w=Math.min(_,y);if(c[v].copyCellsFrom(c[b],_-w,y-w,w,!0),0===(y-=w)&&(y=h[--v]),0===(_-=w)){b--;var x=Math.max(b,0);_=s.getWrappedLineTrimmedLength(c,x,this._cols)}}for(g=0;g<c.length;g++)h[g]<e&&c[g].setCell(h[g],n);for(var C=f-p;C-- >0;)0===this.ybase?this.y<t-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+o)-t&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+f,this.ybase+t-1)}}}if(r.length>0){var S=[],k=[];for(g=0;g<this.lines.length;g++)k.push(this.lines.get(g));var E=this.lines.length,O=E-1,B=0,M=r[B];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+o);var T=0;for(g=Math.min(this.lines.maxLength-1,E+o-1);g>=0;g--)if(M&&M.start>O+T){for(var I=M.newLines.length-1;I>=0;I--)this.lines.set(g--,M.newLines[I]);g++,S.push({index:O+1,amount:M.newLines.length}),T+=M.newLines.length,M=r[++B]}else this.lines.set(g,k[O--]);var L=0;for(g=S.length-1;g>=0;g--)S[g].index+=L,this.lines.onInsertEmitter.fire(S[g]),L+=S[g].amount;var D=Math.max(0,E+o-this.lines.maxLength);D>0&&this.lines.onTrimEmitter.fire(D)}},e.prototype.stringIndexToBufferIndex=function(e,t,n){for(void 0===n&&(n=!1);t;){var r=this.lines.get(e);if(!r)return[-1,-1];for(var i=n?r.getTrimmedLength():r.length,o=0;o<i;++o)if(r.get(o)[a.CHAR_DATA_WIDTH_INDEX]&&(t-=r.get(o)[a.CHAR_DATA_CHAR_INDEX].length||1),t<0)return[e,o];e++}return[e,0]},e.prototype.translateBufferLineToString=function(e,t,n,r){void 0===n&&(n=0);var i=this.lines.get(e);return i?i.translateToString(t,n,r):""},e.prototype.getWrappedRangeForLine=function(e){for(var t=e,n=e;t>0&&this.lines.get(t).isWrapped;)t--;for(;n+1<this.lines.length&&this.lines.get(n+1).isWrapped;)n++;return{first:t,last:n}},e.prototype.setupTabStops=function(e){for(null!=e?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.options.tabStopWidth)this.tabs[e]=!0},e.prototype.prevStop=function(e){for(null==e&&(e=this.x);!this.tabs[--e]&&e>0;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.nextStop=function(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e<this._cols;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.addMarker=function(e){var t=this,n=new l.Marker(e);return this.markers.push(n),n.register(this.lines.onTrim((function(e){n.line-=e,n.line<0&&n.dispose()}))),n.register(this.lines.onInsert((function(e){n.line>=e.index&&(n.line+=e.amount)}))),n.register(this.lines.onDelete((function(e){n.line>=e.index&&n.line<e.index+e.amount&&n.dispose(),n.line>e.index&&(n.line-=e.amount)}))),n.register(n.onDispose((function(){return t._removeMarker(n)}))),n},e.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},e.prototype.iterator=function(e,t,n,r,i){return new h(this,e,t,n,r,i)},e}();t.Buffer=d;var h=function(){function e(e,t,n,r,i,o){void 0===n&&(n=0),void 0===r&&(r=e.lines.length),void 0===i&&(i=0),void 0===o&&(o=0),this._buffer=e,this._trimRight=t,this._startIndex=n,this._endIndex=r,this._startOverscan=i,this._endOverscan=o,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return e.prototype.hasNext=function(){return this._current<this._endIndex},e.prototype.next=function(){var e=this._buffer.getWrappedRangeForLine(this._current);e.first<this._startIndex-this._startOverscan&&(e.first=this._startIndex-this._startOverscan),e.last>this._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var t="",n=e.first;n<=e.last;++n)t+=this._buffer.translateBufferLineToString(n,this._trimRight);return this._current=e.last+1,{range:e,content:t}},e}();t.BufferStringIterator=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircularList=void 0;var r=n(0),i=function(){function e(e){this._maxLength=e,this.onDeleteEmitter=new r.EventEmitter,this.onInsertEmitter=new r.EventEmitter,this.onTrimEmitter=new r.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(e.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this._maxLength},set:function(e){if(this._maxLength!==e){for(var t=new Array(e),n=0;n<Math.min(e,this.length);n++)t[n]=this._array[this._getCyclicIndex(n)];this._array=t,this._maxLength=e,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._length},set:function(e){if(e>this._length)for(var t=this._length;t<e;t++)this._array[t]=void 0;this._length=e},enumerable:!1,configurable:!0}),e.prototype.get=function(e){return this._array[this._getCyclicIndex(e)]},e.prototype.set=function(e,t){this._array[this._getCyclicIndex(e)]=t},e.prototype.push=function(e){this._array[this._getCyclicIndex(this._length)]=e,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},e.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(e.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),e.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},e.prototype.splice=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(t){for(var i=e;i<this._length-t;i++)this._array[this._getCyclicIndex(i)]=this._array[this._getCyclicIndex(i+t)];this._length-=t}for(i=this._length-1;i>=e;i--)this._array[this._getCyclicIndex(i+n.length)]=this._array[this._getCyclicIndex(i)];for(i=0;i<n.length;i++)this._array[this._getCyclicIndex(e+i)]=n[i];if(this._length+n.length>this._maxLength){var o=this._length+n.length-this._maxLength;this._startIndex+=o,this._length=this._maxLength,this.onTrimEmitter.fire(o)}else this._length+=n.length},e.prototype.trimStart=function(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)},e.prototype.shiftElements=function(e,t,n){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(var r=t-1;r>=0;r--)this.set(e+r+n,this.get(e+r));var i=e+t+n-this._length;if(i>0)for(this._length+=i;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r<t;r++)this.set(e+r+n,this.get(e+r))}},e.prototype._getCyclicIndex=function(e){return(this._startIndex+e)%this._maxLength},e}();t.CircularList=i},function(e,t,n){"use strict";function r(e,t,n){if(t===e.length-1)return e[t].getTrimmedLength();var r=!e[t].hasContent(n-1)&&1===e[t].getWidth(n-1),i=2===e[t+1].getWidth(0);return r&&i?n-1:n}Object.defineProperty(t,"__esModule",{value:!0}),t.getWrappedLineTrimmedLength=t.reflowSmallerGetNewLineLengths=t.reflowLargerApplyNewLayout=t.reflowLargerCreateNewLayout=t.reflowLargerGetLinesToRemove=void 0,t.reflowLargerGetLinesToRemove=function(e,t,n,i,o){for(var a=[],s=0;s<e.length-1;s++){var l=s,c=e.get(++l);if(c.isWrapped){for(var u=[e.get(s)];l<e.length&&c.isWrapped;)u.push(c),c=e.get(++l);if(i>=s&&i<l)s+=u.length-1;else{for(var d=0,h=r(u,d,t),f=1,p=0;f<u.length;){var A=r(u,f,t),g=A-p,m=n-h,v=Math.min(g,m);u[d].copyCellsFrom(u[f],p,h,v,!1),(h+=v)===n&&(d++,h=0),(p+=v)===A&&(f++,p=0),0===h&&0!==d&&2===u[d-1].getWidth(n-1)&&(u[d].copyCellsFrom(u[d-1],n-1,h++,1,!1),u[d-1].setCell(n-1,o))}u[d].replaceCells(h,n,o);for(var y=0,b=u.length-1;b>0&&(b>d||0===u[b].getTrimmedLength());b--)y++;y>0&&(a.push(s+u.length-y),a.push(y)),s+=u.length-1}}}return a},t.reflowLargerCreateNewLayout=function(e,t){for(var n=[],r=0,i=t[r],o=0,a=0;a<e.length;a++)if(i===a){var s=t[++r];e.onDeleteEmitter.fire({index:a-o,amount:s}),a+=s-1,o+=s,i=t[++r]}else n.push(a);return{layout:n,countRemoved:o}},t.reflowLargerApplyNewLayout=function(e,t){for(var n=[],r=0;r<t.length;r++)n.push(e.get(t[r]));for(r=0;r<n.length;r++)e.set(r,n[r]);e.length=t.length},t.reflowSmallerGetNewLineLengths=function(e,t,n){for(var i=[],o=e.map((function(n,i){return r(e,i,t)})).reduce((function(e,t){return e+t})),a=0,s=0,l=0;l<o;){if(o-l<n){i.push(o-l);break}a+=n;var c=r(e,s,t);a>c&&(a-=c,s++);var u=2===e[s].getWidth(a-1);u&&a--;var d=u?n-1:n;i.push(d),l+=d}return i},t.getWrappedLineTrimmedLength=r},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0;var o=n(0),a=function(e){function t(n){var r=e.call(this)||this;return r.line=n,r._id=t._nextId++,r.isDisposed=!1,r._onDispose=new o.EventEmitter,r}return i(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},t._nextId=1,t}(n(2).Disposable);t.Marker=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionsService=t.DEFAULT_OPTIONS=t.DEFAULT_BELL_SOUND=void 0;var r=n(0),i=n(11),o=n(33);t.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",t.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:t.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:i.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var a=["cols","rows"],s=function(){function e(e){this._onOptionChange=new r.EventEmitter,this.options=o.clone(t.DEFAULT_OPTIONS);for(var n=0,i=Object.keys(e);n<i.length;n++){var a=i[n];if(a in this.options){var s=e[a];this.options[a]=s}}}return Object.defineProperty(e.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),e.prototype.setOption=function(e,n){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');if(-1!==a.indexOf(e))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)))},e.prototype._sanitizeAndValidateOption=function(e,n){switch(e){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":n||(n=t.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},e.prototype.getOption=function(e){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');return this.options[e]},e}();t.OptionsService=s},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreService=void 0;var s=n(1),l=n(0),c=n(33),u=n(2),d=Object.freeze({insertMode:!1}),h=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),f=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o._bufferService=n,o._logService=r,o._optionsService=i,o.isCursorInitialized=!1,o.isCursorHidden=!1,o._onData=o.register(new l.EventEmitter),o._onUserInput=o.register(new l.EventEmitter),o._onBinary=o.register(new l.EventEmitter),o._scrollToBottom=t,o.register({dispose:function(){return o._scrollToBottom=void 0}}),o.modes=c.clone(d),o.decPrivateModes=c.clone(h),o}return i(t,e),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this.modes=c.clone(d),this.decPrivateModes=c.clone(h)},t.prototype.triggerDataEvent=function(e,t){if(void 0===t&&(t=!1),!this._optionsService.options.disableStdin){var n=this._bufferService.buffer;n.ybase!==n.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onData.fire(e)}},t.prototype.triggerBinaryEvent=function(e){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onBinary.fire(e))},o([a(1,s.IBufferService),a(2,s.ILogService),a(3,s.IOptionsService)],t)}(u.Disposable);t.CoreService=f},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreMouseService=void 0;var o=n(1),a=n(0),s={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function l(e,t){var n=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(n|=64,n|=e.action):(n|=3&e.button,4&e.button&&(n|=64),8&e.button&&(n|=128),32===e.action?n|=32:0!==e.action||t||(n|=3)),n}var c=String.fromCharCode,u={DEFAULT:function(e){var t=[l(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"\x1b[M"+c(t[0])+c(t[1])+c(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"\x1b[<"+l(e,!0)+";"+e.col+";"+e.row+t}},d=function(){function e(e,t){this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new a.EventEmitter,this._lastEvent=null;for(var n=0,r=Object.keys(s);n<r.length;n++){var i=r[n];this.addProtocol(i,s[i])}for(var o=0,l=Object.keys(u);o<l.length;o++){var c=l[o];this.addEncoding(c,u[c])}this.reset()}return e.prototype.addProtocol=function(e,t){this._protocols[e]=t},e.prototype.addEncoding=function(e,t){this._encodings[e]=t},Object.defineProperty(e.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"areMouseEventsActive",{get:function(){return 0!==this._protocols[this._activeProtocol].events},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!1,configurable:!0}),e.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(e.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),e.prototype.triggerMouseEvent=function(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},e.prototype.explainEvents=function(e){return{down:!!(1&e),up:!!(2&e),drag:!!(4&e),move:!!(8&e),wheel:!!(16&e)}},e.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},r([i(0,o.IBufferService),i(1,o.ICoreService)],e)}();t.CoreMouseService=d},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DirtyRowService=void 0;var o=n(1),a=function(){function e(e){this._bufferService=e,this.clearRange()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),e.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},e.prototype.markDirty=function(e){e<this._start?this._start=e:e>this._end&&(this._end=e)},e.prototype.markRangeDirty=function(e,t){if(e>t){var n=e;e=t,t=n}e<this._start&&(this._start=e),t>this._end&&(this._end=t)},e.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},r([i(0,o.IBufferService)],e)}();t.DirtyRowService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeService=void 0;var r=n(0),i=n(79),o=function(){function e(){this._providers=Object.create(null),this._active="",this._onChange=new r.EventEmitter;var e=new i.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}return Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._active},set:function(e){if(!this._providers[e])throw new Error('unknown Unicode version "'+e+'"');this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)},enumerable:!1,configurable:!0}),e.prototype.register=function(e){this._providers[e.version]=e},e.prototype.wcwidth=function(e){return this._activeProvider.wcwidth(e)},e.prototype.getStringCellWidth=function(e){for(var t=0,n=e.length,r=0;r<n;++r){var i=e.charCodeAt(r);if(55296<=i&&i<=56319){if(++r>=n)return t+this.wcwidth(i);var o=e.charCodeAt(r);56320<=o&&o<=57343?i=1024*(i-55296)+o-56320+65536:t+=this.wcwidth(o)}t+=this.wcwidth(i)}return t},e}();t.UnicodeService=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeV6=void 0;var r,i=n(15),o=[[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]],a=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],s=function(){function e(){if(this.version="6",!r){r=new Uint8Array(65536),i.fill(r,1),r[0]=0,i.fill(r,0,1,32),i.fill(r,0,127,160),i.fill(r,2,4352,4448),r[9001]=2,r[9002]=2,i.fill(r,2,11904,42192),r[12351]=1,i.fill(r,2,44032,55204),i.fill(r,2,63744,64256),i.fill(r,2,65040,65050),i.fill(r,2,65072,65136),i.fill(r,2,65280,65377),i.fill(r,2,65504,65511);for(var e=0;e<o.length;++e)i.fill(r,0,o[e][0],o[e][1]+1)}}return e.prototype.wcwidth=function(e){return e<32?0:e<127?1:e<65536?r[e]:function(e,t){var n,r=0,i=t.length-1;if(e<t[0][0]||e>t[i][1])return!1;for(;i>=r;)if(e>t[n=r+i>>1][1])r=n+1;else{if(!(e<t[n][0]))return!0;i=n-1}return!1}(e,a)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1},e}();t.UnicodeV6=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CharsetService=void 0;var r=function(){function e(){this.glevel=0,this._charsets=[]}return e.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},e.prototype.setgLevel=function(e){this.glevel=e,this.charset=this._charsets[e]},e.prototype.setgCharset=function(e,t){this._charsets[e]=t,this.glevel===e&&(this.charset=t)},e}();t.CharsetService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateWindowsModeWrappedState=void 0;var r=n(3);t.updateWindowsModeWrappedState=function(e){var t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1),n=null==t?void 0:t.get(e.cols-1),i=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);i&&n&&(i.isWrapped=n[r.CHAR_DATA_CODE_INDEX]!==r.NULL_CELL_CODE&&n[r.CHAR_DATA_CODE_INDEX]!==r.WHITESPACE_CELL_CODE)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WriteBuffer=void 0;var r=function(){function e(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return e.prototype.writeSync=function(e){if(this._writeBuffer.length){for(var t=this._bufferOffset;t<this._writeBuffer.length;++t){var n=this._writeBuffer[t],r=this._callbacks[t];this._action(n),r&&r()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(e)},e.prototype.write=function(e,t){var n=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 n._innerWrite()}))),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},e.prototype._innerWrite=function(){for(var e=this,t=Date.now();this._writeBuffer.length>this._bufferOffset;){var n=this._writeBuffer[this._bufferOffset],r=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(n),this._pendingData-=n.length,r&&r(),Date.now()-t>=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 e._innerWrite()}),0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},e}();t.WriteBuffer=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AddonManager=void 0;var r=function(){function e(){this._addons=[]}return e.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},e.prototype.loadAddon=function(e,t){var n=this,r={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(r),t.dispose=function(){return n._wrappedAddonDispose(r)},t.activate(e)},e.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,n=0;n<this._addons.length;n++)if(this._addons[n]===e){t=n;break}if(-1===t)throw new Error("Could not dispose an addon that has not been loaded");e.isDisposed=!0,e.dispose.apply(e.instance),this._addons.splice(t,1)}},e}();t.AddonManager=r}])}))},"/SeX":function(e,t,n){var r=n("knOB"),i=n("qZFw"),o=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new r,this._angleAxis=new i,this._radiusAxis.polar=this._angleAxis.polar=this};o.prototype={type:"polar",axisPointerEnabled:!0,constructor:o,dimensions:["radius","angle"],model:null,containPoint:function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(e){var t=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===e&&t.push(n),r.scale.type===e&&t.push(r),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoint:function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},pointToData:function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},pointToCoord:function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);r.inverse?o=a-360:a=o+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;var l=Math.atan2(-n,t)/Math.PI*180,c=l<o?1:-1;while(l<o||l>a)l+=360*c;return[s,l]},coordToPoint:function(e){var t=e[0],n=e[1]/180*Math.PI,r=Math.cos(n)*t+this.cx,i=-Math.sin(n)*t+this.cy;return[r,i]},getArea:function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),n=t.getExtent().slice();n[0]>n[1]&&n.reverse();var r=e.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-r[0]*i,endAngle:-r[1]*i,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,r=t-this.cy,i=n*n+r*r,o=this.r,a=this.r0;return i<=o*o&&i>=a*a}}}};var a=o;e.exports=a},"/WM3":function(e,t,n){var r=n("QuXc"),i=n("bYtY"),o=i.isFunction,a={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),i=(e.visualColorAccessPath||"itemStyle.color").split("."),a=e.get(i),s=!o(a)||a instanceof r?null:a;a&&!s||(a=e.getColorFromPalette(e.name,null,t.getSeriesCount())),n.setVisual("color",a);var l=(e.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),c=e.get(l);if(n.setVisual("borderColor",c),!t.isSeriesFiltered(e)){s&&n.each((function(t){n.setItemVisual(t,"color",s(e.getDataParams(t)))}));var u=function(e,t){var n=e.getItemModel(t),r=n.get(i,!0),o=n.get(l,!0);null!=r&&e.setItemVisual(t,"color",r),null!=o&&e.setItemVisual(t,"borderColor",o)};return{dataEach:n.hasItemOption?u:null}}}};e.exports=a},"/d5a":function(e,t){var n={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},r=function(e,t){return Math.round(e.length/2)};function i(e){return{seriesType:e,modifyOutputEnd:!0,reset:function(e,t,i){var o=e.getData(),a=e.get("sampling"),s=e.coordinateSystem;if("cartesian2d"===s.type&&a){var l,c=s.getBaseAxis(),u=s.getOtherAxis(c),d=c.getExtent(),h=d[1]-d[0],f=Math.round(o.count()/h);if(f>1)"string"===typeof a?l=n[a]:"function"===typeof a&&(l=a),l&&e.setData(o.downSample(o.mapDimension(u.dim),1/f,l,r))}}}}e.exports=i},"/ezw":function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("cDf5"),l=n.n(s),c=n("q1tI"),u=n("TSYQ"),d=n.n(u),h=function(e){var t=e.prefixCls,n=e.className,r=e.width,i=e.style;return c["createElement"]("h3",{className:d()(t,n),style:a()({width:r},i)})},f=h,p=n("RIqP"),A=n.n(p),g=function(e){var t=function(t){var n=e.width,r=e.rows,i=void 0===r?2:r;return Array.isArray(n)?n[t]:i-1===t?n:void 0},n=e.prefixCls,r=e.className,i=e.style,o=e.rows,a=A()(Array(o)).map((function(e,n){return c["createElement"]("li",{key:n,style:{width:t(n)}})}));return c["createElement"]("ul",{className:d()(n,r),style:i},a)},m=g,v=n("H84U"),y=function(e){var t,n,r=e.prefixCls,o=e.className,s=e.style,l=e.size,u=e.shape,h=d()((t={},i()(t,"".concat(r,"-lg"),"large"===l),i()(t,"".concat(r,"-sm"),"small"===l),t)),f=d()((n={},i()(n,"".concat(r,"-circle"),"circle"===u),i()(n,"".concat(r,"-square"),"square"===u),i()(n,"".concat(r,"-round"),"round"===u),n)),p="number"===typeof l?{width:l,height:l,lineHeight:"".concat(l,"px")}:{};return c["createElement"]("span",{className:d()(r,o,h,f),style:a()(a()({},p),s)})},b=y,_=n("BGR+"),w=function(e){var t=function(t){var n=t.getPrefixCls,r=e.prefixCls,o=e.className,s=e.active,l=n("skeleton",r),u=Object(_["default"])(e,["prefixCls"]),h=d()(l,o,"".concat(l,"-element"),i()({},"".concat(l,"-active"),s));return c["createElement"]("div",{className:h},c["createElement"](b,a()({prefixCls:"".concat(l,"-avatar")},u)))};return c["createElement"](v["a"],null,t)};w.defaultProps={size:"default",shape:"circle"};var x=w,C=function(e){var t=function(t){var n=t.getPrefixCls,r=e.prefixCls,o=e.className,s=e.active,l=n("skeleton",r),u=Object(_["default"])(e,["prefixCls"]),h=d()(l,o,"".concat(l,"-element"),i()({},"".concat(l,"-active"),s));return c["createElement"]("div",{className:h},c["createElement"](b,a()({prefixCls:"".concat(l,"-button")},u)))};return c["createElement"](v["a"],null,t)};C.defaultProps={size:"default"};var S=C,k=function(e){var t=function(t){var n=t.getPrefixCls,r=e.prefixCls,o=e.className,s=e.active,l=n("skeleton",r),u=Object(_["default"])(e,["prefixCls"]),h=d()(l,o,"".concat(l,"-element"),i()({},"".concat(l,"-active"),s));return c["createElement"]("div",{className:h},c["createElement"](b,a()({prefixCls:"".concat(l,"-input")},u)))};return c["createElement"](v["a"],null,t)};k.defaultProps={size:"default"};var E=k,O="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",B=function(e){var t=function(t){var n=t.getPrefixCls,r=e.prefixCls,i=e.className,o=e.style,a=n("skeleton",r),s=d()(a,i,"".concat(a,"-element"));return c["createElement"]("div",{className:s},c["createElement"]("div",{className:d()("".concat(a,"-image"),i),style:o},c["createElement"]("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(a,"-image-svg")},c["createElement"]("path",{d:O,className:"".concat(a,"-image-path")}))))};return c["createElement"](v["a"],null,t)},M=B;function T(e){return e&&"object"===l()(e)?e:{}}function I(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function L(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function D(e,t){var n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}var P=function(e){var t=function(t){var n=t.getPrefixCls,r=t.direction,o=e.prefixCls,s=e.loading,l=e.className,u=e.children,h=e.avatar,p=e.title,A=e.paragraph,g=e.active,v=e.round,y=n("skeleton",o);if(s||!("loading"in e)){var _,w,x,C=!!h,S=!!p,k=!!A;if(C){var E=a()(a()({prefixCls:"".concat(y,"-avatar")},I(S,k)),T(h));w=c["createElement"]("div",{className:"".concat(y,"-header")},c["createElement"](b,E))}if(S||k){var O,B;if(S){var M=a()(a()({prefixCls:"".concat(y,"-title")},L(C,k)),T(p));O=c["createElement"](f,M)}if(k){var P=a()(a()({prefixCls:"".concat(y,"-paragraph")},D(C,S)),T(A));B=c["createElement"](m,P)}x=c["createElement"]("div",{className:"".concat(y,"-content")},O,B)}var N=d()(y,l,(_={},i()(_,"".concat(y,"-with-avatar"),C),i()(_,"".concat(y,"-active"),g),i()(_,"".concat(y,"-rtl"),"rtl"===r),i()(_,"".concat(y,"-round"),v),_));return c["createElement"]("div",{className:N},w,x)}return u};return c["createElement"](v["a"],null,t)};P.defaultProps={avatar:!1,title:!0,paragraph:!0},P.Button=S,P.Avatar=x,P.Input=E,P.Image=M;var N=P;t["a"]=N},"/iHx":function(e,t,n){var r=n("6GrX"),i=n("IwbS"),o=["textStyle","color"],a={getTextColor:function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(o):null)},getFont:function(){return i.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(e){return r.getBoundingRect(e,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};e.exports=a},"/kpp":function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("cDf5"),l=n.n(s),c=n("q1tI"),u=n("TSYQ"),d=n.n(u),h=n("o/2+"),f=n("H84U"),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function A(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}var g=c["forwardRef"]((function(e,t){var n=function(n){var r,o=n.getPrefixCls,s=n.direction,u=e.prefixCls,f=e.span,g=e.order,m=e.offset,v=e.push,y=e.pull,b=e.className,_=e.children,w=e.flex,x=e.style,C=p(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),S=o("col",u),k={};["xs","sm","md","lg","xl","xxl"].forEach((function(t){var n,r={},o=e[t];"number"===typeof o?r.span=o:"object"===l()(o)&&(r=o||{}),delete C[t],k=a()(a()({},k),(n={},i()(n,"".concat(S,"-").concat(t,"-").concat(r.span),void 0!==r.span),i()(n,"".concat(S,"-").concat(t,"-order-").concat(r.order),r.order||0===r.order),i()(n,"".concat(S,"-").concat(t,"-offset-").concat(r.offset),r.offset||0===r.offset),i()(n,"".concat(S,"-").concat(t,"-push-").concat(r.push),r.push||0===r.push),i()(n,"".concat(S,"-").concat(t,"-pull-").concat(r.pull),r.pull||0===r.pull),i()(n,"".concat(S,"-rtl"),"rtl"===s),n))}));var E=d()(S,(r={},i()(r,"".concat(S,"-").concat(f),void 0!==f),i()(r,"".concat(S,"-order-").concat(g),g),i()(r,"".concat(S,"-offset-").concat(m),m),i()(r,"".concat(S,"-push-").concat(v),v),i()(r,"".concat(S,"-pull-").concat(y),y),r),b,k);return c["createElement"](h["a"].Consumer,null,(function(e){var n=e.gutter,r=a()({},x);return n&&(r=a()(a()(a()({},n[0]>0?{paddingLeft:n[0]/2,paddingRight:n[0]/2}:{}),n[1]>0?{paddingTop:n[1]/2,paddingBottom:n[1]/2}:{}),r)),w&&(r.flex=A(w)),c["createElement"]("div",a()({},C,{style:r,className:E,ref:t}),_)}))};return c["createElement"](f["a"],null,n)}));g.displayName="Col",t["a"]=g},"/ry/":function(e,t,n){var r=n("bYtY"),i=n("T4UG"),o=n("5GhG"),a=o.seriesModelMixin,s=i.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}});r.mixin(s,a,!0);var l=s;e.exports=l},"/stD":function(e,t,n){var r=n("bYtY"),i=n("IUWy"),o=n("Kagy"),a=o.toolbox.brush;function s(e,t,n){this.model=e,this.ecModel=t,this.api=n,this._brushType,this._brushMode}s.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:r.clone(a.title)};var l=s.prototype;l.render=l.updateView=function(e,t,n){var i,o,a;t.eachComponent({mainType:"brush"},(function(e){i=e.brushType,o=e.brushOption.brushMode||"single",a|=e.areas.length})),this._brushType=i,this._brushMode=o,r.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?a:t===i)?"emphasis":"normal")}))},l.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return r.each(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},l.onclick=function(e,t,n){var r=this._brushType,i=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},i.register("brush",s);var c=s;e.exports=c},"/wGt":function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("PJYZ"),h=n.n(d),f=n("7W2i"),p=n.n(f),A=n("LQ03"),g=n.n(A),m=n("q1tI"),v=n("Ff2n"),y=n("1OyB"),b=n("vuIU"),_=n("Ji7U"),w=n("md7G"),x=n("foSv"),C=n("1W/9"),S=n("rePB"),k=n("JX7q"),E=n("TSYQ"),O=n.n(E),B=n("qx4F"),M=n("4IlW");function T(e){return Array.isArray(e)?e:[e]}var I={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},L=Object.keys(I).filter((function(e){if("undefined"===typeof document)return!1;var t=document.getElementsByTagName("html")[0];return e in(t?t.style:{})}))[0],D=I[L];function P(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),n)}function N(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.attachEvent&&e.detachEvent("on".concat(t),n)}function j(e,t){var n="function"===typeof e?e(t):e;return Array.isArray(n)?2===n.length?n:[n[0],n[1]]:[n]}var F=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},R=!("undefined"!==typeof window&&window.document&&window.document.createElement),U=function e(t,n,r,i){if(!n||n===document||n instanceof Document)return!1;if(n===t.parentNode)return!0;var o=Math.max(Math.abs(r),Math.abs(i))===Math.abs(i),a=Math.max(Math.abs(r),Math.abs(i))===Math.abs(r),s=n.scrollHeight-n.clientHeight,l=n.scrollWidth-n.clientWidth,c=document.defaultView.getComputedStyle(n),u="auto"===c.overflowY||"scroll"===c.overflowY,d="auto"===c.overflowX||"scroll"===c.overflowX,h=s&&u,f=l&&d;return!!(o&&(!h||h&&(n.scrollTop>=s&&i<0||n.scrollTop<=0&&i>0))||a&&(!f||f&&(n.scrollLeft>=l&&r<0||n.scrollLeft<=0&&r>0)))&&e(t,n.parentNode,r,i)};function H(e){var t=Q();return function(){var n,r=Object(x["a"])(e);if(t){var i=Object(x["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(w["a"])(this,n)}}function Q(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var K={},z=function(e){Object(_["a"])(n,e);var t=H(n);function n(e){var r;return Object(y["a"])(this,n),r=t.call(this,e),r.domFocus=function(){r.dom&&r.dom.focus()},r.removeStartHandler=function(e){e.touches.length>1||(r.startPos={x:e.touches[0].clientX,y:e.touches[0].clientY})},r.removeMoveHandler=function(e){if(!(e.changedTouches.length>1)){var t=e.currentTarget,n=e.changedTouches[0].clientX-r.startPos.x,i=e.changedTouches[0].clientY-r.startPos.y;(t===r.maskDom||t===r.handlerDom||t===r.contentDom&&U(t,e.target,n,i))&&e.cancelable&&e.preventDefault()}},r.transitionEnd=function(e){var t=e.target;N(t,D,r.transitionEnd),t.style.transition=""},r.onKeyDown=function(e){if(e.keyCode===M["a"].ESC){var t=r.props.onClose;e.stopPropagation(),t&&t(e)}},r.onWrapperTransitionEnd=function(e){var t=r.props,n=t.open,i=t.afterVisibleChange;e.target===r.contentWrapper&&e.propertyName.match(/transform$/)&&(r.dom.style.transition="",!n&&r.getCurrentDrawerSome()&&(document.body.style.overflowX="",r.maskDom&&(r.maskDom.style.left="",r.maskDom.style.width="")),i&&i(!!n))},r.openLevelTransition=function(){var e=r.props,t=e.open,n=e.width,i=e.height,o=r.getHorizontalBoolAndPlacementName(),a=o.isHorizontal,s=o.placementName,l=r.contentDom?r.contentDom.getBoundingClientRect()[a?"width":"height"]:0,c=(a?n:i)||l;r.setLevelAndScrolling(t,s,c)},r.setLevelTransform=function(e,t,n,i){var o=r.props,a=o.placement,s=o.levelMove,l=o.duration,c=o.ease,u=o.showMask;r.levelDom.forEach((function(o){o.style.transition="transform ".concat(l," ").concat(c),P(o,D,r.transitionEnd);var d=e?n:0;if(s){var h=j(s,{target:o,open:e});d=e?h[0]:h[1]||0}var f="number"===typeof d?"".concat(d,"px"):d,p="left"===a||"top"===a?f:"-".concat(f);p=u&&"right"===a&&i?"calc(".concat(p," + ").concat(i,"px)"):p,o.style.transform=d?"".concat(t,"(").concat(p,")"):""}))},r.setLevelAndScrolling=function(e,t,n){var i=r.props.onChange;if(!R){var o=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(B["a"])(!0):0;r.setLevelTransform(e,t,n,o),r.toggleScrollingToDrawerAndBody(o)}i&&i(e)},r.toggleScrollingToDrawerAndBody=function(e){var t=r.props,n=t.getOpenCount,i=t.getContainer,o=t.showMask,a=t.open,s=i&&i(),l=n&&n();if(s&&s.parentNode===document.body&&o){var c=["touchstart"],u=[document.body,r.maskDom,r.handlerDom,r.contentDom];a&&"hidden"!==document.body.style.overflow?(e&&r.addScrollingEffect(e),1===l&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",u.forEach((function(e,t){e&&P(e,c[t]||"touchmove",t?r.removeMoveHandler:r.removeStartHandler,r.passive)}))):r.getCurrentDrawerSome()&&(l||(document.body.style.overflow=""),document.body.style.touchAction="",e&&r.remScrollingEffect(e),u.forEach((function(e,t){e&&N(e,c[t]||"touchmove",t?r.removeMoveHandler:r.removeStartHandler,r.passive)})))}},r.addScrollingEffect=function(e){var t=r.props,n=t.placement,i=t.duration,o=t.ease,a=t.getOpenCount,s=t.switchScrollingEffect,l=a&&a();1===l&&s();var c="width ".concat(i," ").concat(o),u="transform ".concat(i," ").concat(o);switch(r.dom.style.transition="none",n){case"right":r.dom.style.transform="translateX(-".concat(e,"px)");break;case"top":case"bottom":r.dom.style.width="calc(100% - ".concat(e,"px)"),r.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(r.timeout),r.timeout=setTimeout((function(){r.dom&&(r.dom.style.transition="".concat(u,",").concat(c),r.dom.style.width="",r.dom.style.transform="")}))},r.remScrollingEffect=function(e){var t,n=r.props,i=n.placement,o=n.duration,a=n.ease,s=n.getOpenCount,l=n.switchScrollingEffect,c=s&&s();c||l(!0),L&&(document.body.style.overflowX="hidden"),r.dom.style.transition="none";var u="width ".concat(o," ").concat(a),d="transform ".concat(o," ").concat(a);switch(i){case"left":r.dom.style.width="100%",u="width 0s ".concat(a," ").concat(o);break;case"right":r.dom.style.transform="translateX(".concat(e,"px)"),r.dom.style.width="100%",u="width 0s ".concat(a," ").concat(o),r.maskDom&&(r.maskDom.style.left="-".concat(e,"px"),r.maskDom.style.width="calc(100% + ".concat(e,"px)"));break;case"top":case"bottom":r.dom.style.width="calc(100% + ".concat(e,"px)"),r.dom.style.height="100%",r.dom.style.transform="translateZ(0)",t="height 0s ".concat(a," ").concat(o);break;default:break}clearTimeout(r.timeout),r.timeout=setTimeout((function(){r.dom&&(r.dom.style.transition="".concat(d,",").concat(t?"".concat(t,","):"").concat(u),r.dom.style.transform="",r.dom.style.width="",r.dom.style.height="")}))},r.getCurrentDrawerSome=function(){return!Object.keys(K).some((function(e){return K[e]}))},r.getLevelDom=function(e){var t=e.level,n=e.getContainer;if(!R){var i=n&&n(),o=i?i.parentNode:null;if(r.levelDom=[],"all"===t){var a=o?Array.prototype.slice.call(o.children):[];a.forEach((function(e){"SCRIPT"!==e.nodeName&&"STYLE"!==e.nodeName&&"LINK"!==e.nodeName&&e!==i&&r.levelDom.push(e)}))}else t&&T(t).forEach((function(e){document.querySelectorAll(e).forEach((function(e){r.levelDom.push(e)}))}))}},r.getHorizontalBoolAndPlacementName=function(){var e=r.props.placement,t="left"===e||"right"===e,n="translate".concat(t?"X":"Y");return{isHorizontal:t,placementName:n}},r.state={_self:Object(k["a"])(r)},r}return Object(b["a"])(n,[{key:"componentDidMount",value:function(){var e=this;if(!R){var t=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return t=!0,null}}))}catch(a){}this.passive=!!t&&{passive:!1}}var n=this.props,r=n.open,i=n.getContainer,o=i&&i();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(9*Math.random()).toString())).toString(16)),this.getLevelDom(this.props),r&&(o&&o.parentNode===document.body&&(K[this.drawerId]=r),this.openLevelTransition(),this.forceUpdate((function(){e.domFocus()})))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.open,r=t.getContainer,i=r&&r();n!==e.open&&(n&&this.domFocus(),i&&i.parentNode===document.body&&(K[this.drawerId]=!!n),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.getOpenCount,n=e.open,r=e.switchScrollingEffect,i="function"===typeof t&&t();delete K[this.drawerId],n&&(this.setLevelTransform(!1),document.body.style.touchAction=""),i||(document.body.style.overflow="",r(!0))}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.className,i=n.children,o=n.style,a=n.width,s=n.height,l=(n.defaultOpen,n.open),c=n.prefixCls,u=n.placement,d=(n.level,n.levelMove,n.ease,n.duration,n.getContainer,n.handler),h=(n.onChange,n.afterVisibleChange,n.showMask),f=n.maskClosable,p=n.maskStyle,A=n.onClose,g=n.onHandleClick,y=n.keyboard,b=(n.getOpenCount,n.switchScrollingEffect,Object(v["a"])(n,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"])),_=!!this.dom&&l,w=O()(c,(e={},Object(S["a"])(e,"".concat(c,"-").concat(u),!0),Object(S["a"])(e,"".concat(c,"-open"),_),Object(S["a"])(e,r||"",!!r),Object(S["a"])(e,"no-mask",!h),e)),x=this.getHorizontalBoolAndPlacementName(),C=x.placementName,k="left"===u||"top"===u?"-100%":"100%",E=_?"":"".concat(C,"(").concat(k,")"),B=d&&m["cloneElement"](d,{onClick:function(e){d.props.onClick&&d.props.onClick(),g&&g(e)},ref:function(e){t.handlerDom=e}});return m["createElement"]("div",Object.assign({},b,{tabIndex:-1,className:w,style:o,ref:function(e){t.dom=e},onKeyDown:_&&y?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),h&&m["createElement"]("div",{className:"".concat(c,"-mask"),onClick:f?A:void 0,style:p,ref:function(e){t.maskDom=e}}),m["createElement"]("div",{className:"".concat(c,"-content-wrapper"),style:{transform:E,msTransform:E,width:F(a)?"".concat(a,"px"):a,height:F(s)?"".concat(s,"px"):s},ref:function(e){t.contentWrapper=e}},m["createElement"]("div",{className:"".concat(c,"-content"),ref:function(e){t.contentDom=e},onTouchStart:_&&h?this.removeStartHandler:void 0,onTouchMove:_&&h?this.removeMoveHandler:void 0},i),B))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t._self,i={prevProps:e};if(void 0!==n){var o=e.placement,a=e.level;o!==n.placement&&(r.contentDom=null),a!==n.level&&r.getLevelDom(e)}return i}}]),n}(m["Component"]);z.defaultProps={switchScrollingEffect:function(){}};var V=z;function W(e){var t=G();return function(){var n,r=Object(x["a"])(e);if(t){var i=Object(x["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(w["a"])(this,n)}}function G(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var X=function(e){Object(_["a"])(n,e);var t=W(n);function n(e){var r;Object(y["a"])(this,n),r=t.call(this,e),r.onHandleClick=function(e){var t=r.props,n=t.onHandleClick,i=t.open;if(n&&n(e),"undefined"===typeof i){var o=r.state.open;r.setState({open:!o})}},r.onClose=function(e){var t=r.props,n=t.onClose,i=t.open;n&&n(e),"undefined"===typeof i&&r.setState({open:!1})};var i="undefined"!==typeof e.open?e.open:!!e.defaultOpen;return r.state={open:i},"onMaskClick"in e&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),r}return Object(b["a"])(n,[{key:"render",value:function(){var e=this,t=this.props,n=(t.defaultOpen,t.getContainer),r=t.wrapperClassName,i=t.forceRender,o=t.handler,a=Object(v["a"])(t,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),s=this.state.open;if(!n)return m["createElement"]("div",{className:r,ref:function(t){e.dom=t}},m["createElement"](V,Object.assign({},a,{open:s,handler:o,getContainer:function(){return e.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var l=!!o||i;return m["createElement"](C["a"],{visible:s,forceRender:l,getContainer:n,wrapperClassName:r},(function(t){var n=t.visible,r=t.afterClose,i=Object(v["a"])(t,["visible","afterClose"]);return m["createElement"](V,Object.assign({},a,i,{open:void 0!==n?n:s,afterVisibleChange:void 0!==r?r:a.afterVisibleChange,handler:o,onClose:e.onClose,onHandleClick:e.onHandleClick}))}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};return"undefined"!==typeof n&&e.open!==n.open&&(r.open=e.open),r}}]),n}(m["Component"]);X.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:m["createElement"]("div",{className:"drawer-handle"},m["createElement"]("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var q=X,Y=q,Z=n("V/uB"),J=n.n(Z),$=n("BGR+"),ee=n("H84U"),te=n("CWQg"),ne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},re=m["createContext"](null),ie=(Object(te["a"])("top","right","bottom","left"),{distance:180}),oe=function(e){p()(n,e);var t=g()(n);function n(){var e;return l()(this,n),e=t.apply(this,arguments),e.state={push:!1},e.push=function(){e.props.push&&e.setState({push:!0})},e.pull=function(){e.props.push&&e.setState({push:!1})},e.onDestroyTransitionEnd=function(){var t=e.getDestroyOnClose();t&&(e.props.visible||(e.destroyClose=!0,e.forceUpdate()))},e.getDestroyOnClose=function(){return e.props.destroyOnClose&&!e.props.visible},e.getPushDistance=function(){var t,n=e.props.push;return t="boolean"===typeof n?n?ie.distance:0:n.distance,parseFloat(String(t||0))},e.getPushTransform=function(t){var n=e.getPushDistance();return"left"===t||"right"===t?"translateX(".concat("left"===t?n:-n,"px)"):"top"===t||"bottom"===t?"translateY(".concat("top"===t?n:-n,"px)"):void 0},e.getRcDrawerStyle=function(){var t=e.props,n=t.zIndex,r=t.placement,i=t.mask,o=t.style,s=e.state.push,l=i?{}:e.getOffsetStyle();return a()(a()({zIndex:n,transform:s?e.getPushTransform(r):void 0},l),o)},e.renderBody=function(){var t=e.props,n=t.bodyStyle,r=t.drawerStyle,i=t.prefixCls,o=t.visible;if(e.destroyClose&&!o)return null;e.destroyClose=!1;var s={},l=e.getDestroyOnClose();return l&&(s.opacity=0,s.transition="opacity .3s"),m["createElement"]("div",{className:"".concat(i,"-wrapper-body"),style:a()(a()({},s),r),onTransitionEnd:e.onDestroyTransitionEnd},e.renderHeader(),m["createElement"]("div",{className:"".concat(i,"-body"),style:n},e.props.children),e.renderFooter())},e.renderProvider=function(t){return e.parentDrawer=t,m["createElement"](ee["a"],null,(function(t){var n=t.getPopupContainer,r=t.getPrefixCls,o=e.props,s=o.prefixCls,l=o.placement,c=o.className,u=o.mask,d=o.direction,f=o.visible,p=ne(o,["prefixCls","placement","className","mask","direction","visible"]),A=r("select",s),g=O()(c,i()({"no-mask":!u},"".concat(A,"-rtl"),"rtl"===d)),v=u?e.getOffsetStyle():{};return m["createElement"](re.Provider,{value:h()(e)},m["createElement"](Y,a()({handler:!1},Object($["default"])(p,["zIndex","style","closable","closeIcon","destroyOnClose","drawerStyle","headerStyle","bodyStyle","footerStyle","footer","locale","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton","width","height","dropdownMatchSelectWidth","getTargetContainer"]),{getContainer:void 0===p.getContainer&&n?function(){return n(document.body)}:p.getContainer},v,{prefixCls:A,open:f,showMask:u,placement:l,style:e.getRcDrawerStyle(),className:g}),e.renderBody()))}))},e}return u()(n,[{key:"componentDidMount",value:function(){var e=this.props.visible;e&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(e){var t=this.props.visible;e.visible!==t&&this.parentDrawer&&(t?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var e=this.props,t=e.placement,n=e.width,r=e.height,i=e.visible,o=e.mask;if(!i&&!o)return{};var a={};return"left"===t||"right"===t?a.width=n:a.height=r,a}},{key:"renderHeader",value:function(){var e=this.props,t=e.title,n=e.prefixCls,r=e.closable,i=e.headerStyle;if(!t&&!r)return null;var o="".concat(n,t?"-header":"-header-no-title");return m["createElement"]("div",{className:o,style:i},t&&m["createElement"]("div",{className:"".concat(n,"-title")},t),r&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.footerStyle,r=e.prefixCls;if(!t)return null;var i="".concat(r,"-footer");return m["createElement"]("div",{className:i,style:n},t)}},{key:"renderCloseIcon",value:function(){var e=this.props,t=e.closable,n=e.closeIcon,r=void 0===n?m["createElement"](J.a,null):n,i=e.prefixCls,o=e.onClose;return t&&m["createElement"]("button",{onClick:o,"aria-label":"Close",className:"".concat(i,"-close"),style:{"--scroll-bar":"".concat(Object(B["a"])(),"px")}},r)}},{key:"render",value:function(){return m["createElement"](re.Consumer,null,this.renderProvider)}}]),n}(m["Component"]);oe.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:ie};t["a"]=Object(ee["c"])({prefixCls:"drawer"})(oe)},"/y7N":function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("6GrX"),a=n("7aKB"),s=n("Fofx"),l=n("aX7z"),c=n("+rIm");function u(e){var t,n=e.get("type"),r=e.getModel(n+"Style");return"line"===n?(t=r.getLineStyle(),t.fill=null):"shadow"===n&&(t=r.getAreaStyle(),t.stroke=null),t}function d(e,t,n,r,i){var s=n.get("value"),l=f(s,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),c=n.getModel("label"),u=a.normalizeCssArray(c.get("padding")||0),d=c.getFont(),p=o.getBoundingRect(l,d),A=i.position,g=p.width+u[1]+u[3],m=p.height+u[0]+u[2],v=i.align;"right"===v&&(A[0]-=g),"center"===v&&(A[0]-=g/2);var y=i.verticalAlign;"bottom"===y&&(A[1]-=m),"middle"===y&&(A[1]-=m/2),h(A,g,m,r);var b=c.get("backgroundColor");b&&"auto"!==b||(b=t.get("axisLine.lineStyle.color")),e.label={shape:{x:0,y:0,width:g,height:m,r:c.get("borderRadius")},position:A.slice(),style:{text:l,textFont:d,textFill:c.getTextColor(),textPosition:"inside",textPadding:u,fill:b,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 h(e,t,n,r){var i=r.getWidth(),o=r.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function f(e,t,n,i,o){e=t.scale.parse(e);var a=t.scale.getLabel(e,{precision:o.precision}),s=o.formatter;if(s){var c={value:l.getAxisRawValue(t,e),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};r.each(i,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,i=t&&t.getDataParams(r);i&&c.seriesData.push(i)})),r.isString(s)?a=s.replace("{value}",a):r.isFunction(s)&&(a=s(c))}return a}function p(e,t,n){var r=s.create();return s.rotate(r,r,n.rotation),s.translate(r,r,n.position),i.applyTransform([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function A(e,t,n,r,i,o){var a=c.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get("label.margin"),d(t,r,i,o,{position:p(r.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function g(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function m(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function v(e,t,n,r,i,o){return{cx:e,cy:t,r0:n,r:r,startAngle:i,endAngle:o,clockwise:!0}}t.buildElStyle=u,t.buildLabelElOption=d,t.getValueLabel=f,t.getTransformedPosition=p,t.buildCartesianSingleLabelElOption=A,t.makeLineShape=g,t.makeRectShape=m,t.makeSectorShape=v},"/zsF":function(e,t,n){"use strict";n("cIOH"),n("bE4E")},"0/Rx":function(e,t){function n(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var r=e.getData();r.filterSelf((function(e){for(var t=r.getName(e),i=0;i<n.length;i++)if(!n[i].isSelected(t))return!1;return!0}))}}}}e.exports=n},"01d+":function(e,t,n){var r=n("bYtY"),i=r.each,o=n("HF/U"),a=o.simpleLayout,s=o.simpleLayoutEdge;function l(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var r=e.getData(),o=[];i(n.dimensions,(function(e){o=o.concat(r.mapDimension(e,!0))}));for(var l=0;l<r.count();l++){for(var c=[],u=!1,d=0;d<o.length;d++){var h=r.get(o[d],l);isNaN(h)||(u=!0),c.push(h)}u?r.setItemLayout(l,n.dataToPoint(c)):r.setItemLayout(l,[NaN,NaN])}s(r.graph)}else t&&"none"!==t||a(e)}))}e.exports=l},"03A+":function(e,t,n){var r=n("JTzB"),i=n("ExA7"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},"06DH":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("Kagy"),a=n("IUWy"),s=o.toolbox.magicType,l="__ec_magicType_stack__";function c(e){this.model=e}c.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:i.clone(s.title),option:{},seriesIndex:{}};var u=c.prototype;u.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return i.each(e.get("type"),(function(e){t[e]&&(n[e]=t[e])})),n};var d={line:function(e,t,n,r){if("bar"===e)return i.merge({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.line")||{},!0)},bar:function(e,t,n,r){if("line"===e)return i.merge({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.bar")||{},!0)},stack:function(e,t,n,r){var o=n.get("stack")===l;if("line"===e||"bar"===e)return r.setIconStatus("stack",o?"normal":"emphasis"),i.merge({id:t,stack:o?"":l},r.get("option.stack")||{},!0)}},h=[["line","bar"],["stack"]];u.onclick=function(e,t,n){var r=this.model,o=r.get("seriesIndex."+n);if(d[n]){var a,c={series:[]},u=function(t){var o=t.subType,a=t.id,s=d[n](o,a,t,r);s&&(i.defaults(s,t.option),c.series.push(s));var l=t.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===n||"bar"===n)){var u=l.getAxesByScale("ordinal")[0];if(u){var h=u.dim,f=h+"Axis",p=e.queryComponents({mainType:f,index:t.get(name+"Index"),id:t.get(name+"Id")})[0],A=p.componentIndex;c[f]=c[f]||[];for(var g=0;g<=A;g++)c[f][A]=c[f][A]||{};c[f][A].boundaryGap="bar"===n}}};if(i.each(h,(function(e){i.indexOf(e,n)>=0&&i.each(e,(function(e){r.setIconStatus(e,"normal")}))})),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},u),"stack"===n){var f=c.series&&c.series[0]&&c.series[0].stack===l;a=f?i.merge({stack:s.title.tiled},s.title):i.clone(s.title)}t.dispatchAction({type:"changeMagicType",currentType:n,newOption:c,newTitle:a,featureName:"magicType"})}},r.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)})),a.register("magicType",c);var f=c;e.exports=f},"06Qe":function(e,t,n){var r,i=n("ItGF"),o="urn:schemas-microsoft-com:vml",a="undefined"===typeof window?null:window,s=!1,l=a&&a.document;function c(e){return r(e)}if(l&&!i.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",o),r=function(e){return l.createElement("<zrvml:"+e+' class="zrvml">')}}catch(d){r=function(e){return l.createElement("<"+e+' xmlns="'+o+'" class="zrvml">')}}function u(){if(!s&&l){s=!0;var e=l.styleSheets;e.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}}t.doc=l,t.createNode=c,t.initVML=u},"09Wf":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n("CWQg"),i=Object(r["a"])("success","processing","error","default","warning"),o=Object(r["a"])("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(e,t,n){var r=n("T4UG"),i=n("I3/A"),o=n("7aKB"),a=o.encodeHTML,s=n("Qxkt"),l=n("Tghj"),c=(l.__DEV__,r.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(e,t){for(var n=e.edges||e.links,r=e.data||e.nodes,o=e.levels,a=this.levelModels={},l=0;l<o.length;l++)null!=o[l].depth&&o[l].depth>=0&&(a[o[l].depth]=new s(o[l],this,t));if(r&&n){var c=i(r,n,this,!0,u);return c.data}function u(e,t){e.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,r=n.getData().getItemLayout(t).depth,i=n.levelModels[r];return i||this.parentModel})),e})),t.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,r=n.getGraph().getEdgeByIndex(t),i=r.node1.getLayout().depth,o=n.levelModels[i];return o||this.parentModel})),e}))}},setNodePosition:function(e,t){var n=this.option.data[e];n.localX=t[0],n.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,n){if("edge"===n){var r=this.getDataParams(e,n),i=r.data,o=i.source+" -- "+i.target;return r.value&&(o+=" : "+r.value),a(o)}if("node"===n){var s=this.getGraph().getNodeByIndex(e),l=s.getLayout().value,u=this.getDataParams(e,n).data.name;if(l)o=u+" : "+l;return a(o)}return c.superCall(this,"formatTooltip",e,t)},optionUpdated:function(){var e=this.option;!0===e.focusNodeAdjacency&&(e.focusNodeAdjacency="allEdges")},getDataParams:function(e,t){var n=c.superCall(this,"getDataParams",e,t);if(null==n.value&&"node"===t){var r=this.getGraph().getNodeByIndex(e),i=r.getLayout().value;n.value=i}return n},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}})),u=c;e.exports=u},"0Cz8":function(e,t,n){var r=n("Xi7e"),i=n("ebwN"),o=n("e4Nc"),a=200;function s(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}e.exports=s},"0HBW":function(e,t,n){var r=n("ProS"),i=n("bYtY");function o(e,t){t.update="updateView",r.registerAction(t,(function(t,n){var r={};return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name);var o=n.coordinateSystem;i.each(o.regions,(function(e){r[e.name]=n.isSelected(e.name)||!1}))})),{selected:r,name:t.name}}))}n("Hxpc"),n("7uqq"),n("dmGj"),n("SehX"),o("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),o("select",{type:"geoSelect",event:"geoselected"}),o("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(e,t,n){var r=n("bYtY"),i=n("+TT/"),o=n("OELB"),a=n("IDmD"),s=864e5;function l(e,t,n){this._model=e}function c(e,t,n,r){var i=n.calendarModel,o=n.seriesModel,a=i?i.coordinateSystem:o?o.coordinateSystem:null;return a===this?a[e](r):null}l.prototype={constructor:l,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(e){e=o.parseDate(e);var t=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var r=e.getDate();r=r<10?"0"+r:r;var i=e.getDay();return i=Math.abs((i+7-this.getFirstDayOfWeek())%7),{y:t,m:n,d:r,day:i,time:e.getTime(),formatedDate:t+"-"+n+"-"+r,date:e}},getNextNDay:function(e,t){return t=t||0,0===t||(e=new Date(this.getDateInfo(e).time),e.setDate(e.getDate()+t)),this.getDateInfo(e)},update:function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];r.each([0,1],(function(e){d(a,e)&&(s[o[e]]=a[e]*l[e])}));var c={width:t.getWidth(),height:t.getHeight()},u=this._rect=i.getLayoutRect(s,c);function d(e,t){return null!=e[t]&&"auto"!==e[t]}r.each([0,1],(function(e){d(a,e)||(a[e]=u[o[e]]/l[e])})),this._sw=a[0],this._sh=a[1]},dataToPoint:function(e,t){r.isArray(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),i=this._rangeInfo,o=n.formatedDate;if(t&&!(n.time>=i.start.time&&n.time<i.end.time+s))return[NaN,NaN];var a=n.day,l=this._getRangeInfo([i.start.time,o]).nthWeek;return"vertical"===this._orient?[this._rect.x+a*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]:[this._rect.x+l*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]},pointToData:function(e){var t=this.pointToDate(e);return t&&t.time},dataToRect:function(e,t){var n=this.dataToPoint(e,t);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(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,r):this._getDateByWeeksAndDay(t,n-1,r)},convertToPixel:r.curry(c,"dataToPoint"),convertFromPixel:r.curry(c,"pointToData"),_initRangeOption:function(){var e=this._model.get("range"),t=e;if(r.isArray(t)&&1===t.length&&(t=t[0]),/^\d{4}$/.test(t)&&(e=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var n=this.getDateInfo(t),i=n.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);e=[n.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(e=[t,t]);var a=this._getRangeInfo(e);return a.start.time>a.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],e[0].time>e[1].time&&(t=!0,e.reverse());var n=Math.floor(e[1].time/s)-Math.floor(e[0].time/s)+1,r=new Date(e[0].time),i=r.getDate(),o=e[1].date.getDate();r.setDate(i+n-1);var a=r.getDate();if(a!==o){var l=r.getTime()-e[1].time>0?1:-1;while((a=r.getDate())!==o&&(r.getTime()-e[1].time)*l>0)n-=l,r.setDate(a-l)}var c=Math.floor((n+e[0].day+6)/7),u=t?1-c:c-1;return t&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:n,weeks:c,nthWeek:u,fweek:e[0].day,lweek:e[1].day}},_getDateByWeeksAndDay:function(e,t,n){var r=this._getRangeInfo(n);if(e>r.weeks||0===e&&t<r.fweek||e===r.weeks&&t>r.lweek)return!1;var i=7*(e-1)-r.fweek+t,o=new Date(r.start.time);return o.setDate(r.start.d+i),this.getDateInfo(o)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(e,t){var n=[];return e.eachComponent("calendar",(function(r){var i=new l(r,e,t);n.push(i),r.coordinateSystem=i})),e.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("calendarIndex")||0])})),n},a.register("calendar",l);var u=l;e.exports=u},"0JQy":function(e,t){var n="\\ud800-\\udfff",r="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",a=r+i+o,s="\\ufe0e\\ufe0f",l="["+n+"]",c="["+a+"]",u="\\ud83c[\\udffb-\\udfff]",d="(?:"+c+"|"+u+")",h="[^"+n+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",A="\\u200d",g=d+"?",m="["+s+"]?",v="(?:"+A+"(?:"+[h,f,p].join("|")+")"+m+g+")*",y=m+g+v,b="(?:"+[h+c+"?",c,f,p,l].join("|")+")",_=RegExp(u+"(?="+u+")|"+b+y,"g");function w(e){return e.match(_)||[]}e.exports=w},"0NbB":function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="CaretDownOutlined";t["a"]=i["forwardRef"](l)},"0V0F":function(e,t,n){var r=n("bYtY"),i=r.createHashMap,o=r.each;function a(e){var t=i();e.eachSeries((function(e){var n=e.get("stack");if(n){var r=t.get(n)||t.set(n,[]),i=e.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}})),t.each(s)}function s(e){o(e,(function(t,n){var r=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=a.map(o,(function(o,l,c){var u,d,h=a.get(t.stackedDimension,c);if(isNaN(h))return i;s?d=a.getRawIndex(c):u=a.get(t.stackedByDimension,c);for(var f=NaN,p=n-1;p>=0;p--){var A=e[p];if(s||(d=A.data.rawIndexOf(A.stackedByDimension,u)),d>=0){var g=A.data.getByRawIndex(A.stackResultDimension,d);if(h>=0&&g>0||h<=0&&g<0){h+=g,f=g;break}}}return r[0]=h,r[1]=f,r}));a.hostModel.setData(l),t.data=l}))}e.exports=a},"0XgM":function(e,t,n){},"0fbx":function(e,t,n){},"0o9m":function(e,t,n){var r=n("ProS");n("hNWo"),n("RlCK"),n("XpcN");var i=n("kDyi"),o=n("bLfw");r.registerProcessor(r.PRIORITY.PROCESSOR.SERIES_FILTER,i),o.registerSubTypeDefaulter("legend",(function(){return"plain"}))},"0qV/":function(e,t,n){var r=n("ProS");r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},"0r65":function(e,t){var n=arguments[3],r=arguments[4],i=arguments[5],o=JSON.stringify;e.exports=function(e,t){for(var a,s=Object.keys(i),l=0,c=s.length;l<c;l++){var u=s[l],d=i[u].exports;if(d===e||d&&d["default"]===e){a=u;break}}if(!a){a=Math.floor(Math.pow(16,8)*Math.random()).toString(16);var h={};for(l=0,c=s.length;l<c;l++){u=s[l];h[u]=u}r[a]=["function(require,module,exports){"+e+"(self); }",h]}var f=Math.floor(Math.pow(16,8)*Math.random()).toString(16),p={};p[a]=a,r[f]=["function(require,module,exports){var f = require("+o(a)+");(f.default ? f.default : f)(self);}",p];var A={};function g(e){for(var t in A[e]=!0,r[e][1]){var n=r[e][1][t];A[n]||g(n)}}g(f);var m="("+n+")({"+Object.keys(A).map((function(e){return o(e)+":["+r[e][0]+","+o(r[e][1])+"]"})).join(",")+"},{},["+o(f)+"])",v=window.URL||window.webkitURL||window.mozURL||window.msURL,y=new Blob([m],{type:"text/javascript"});if(t&&t.bare)return y;var b=v.createObjectURL(y),_=new Worker(b);return _.objectURL=b,_}},"0s+r":function(e,t,n){var r=n("bYtY"),i=n("QBsz"),o=n("y23F"),a=n("H6uX"),s=n("YH21"),l=n("C0SR"),c="silent";function u(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:d}}function d(){s.stop(this.event)}function h(){}h.prototype.dispose=function(){};var f=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(e,t,n,r){a.call(this),this.storage=e,this.painter=t,this.painterRoot=r,n=n||new h,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,o.call(this),this.setHandlerProxy(n)};function A(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){var r,i=e;while(i){if(i.clipPath&&!i.clipPath.contain(t,n))return!1;i.silent&&(r=!0),i=i.parent}return!r||c}return!1}function g(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(e){this.proxy&&this.proxy.dispose(),e&&(r.each(f,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},mousemove:function(e){var t=e.zrX,n=e.zrY,r=g(this,t,n),i=this._hovered,o=i.target;o&&!o.__zr&&(i=this.findHover(i.x,i.y),o=i.target);var a=this._hovered=r?{x:t,y:n}:this.findHover(t,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",e),this.dispatchToElement(a,"mousemove",e),s&&s!==o&&this.dispatchToElement(a,"mouseover",e)},mouseout:function(e){var t=e.zrEventControl,n=e.zrIsToLocalDOM;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&!n&&this.trigger("globalout",{type:"globalout",event:e})},resize:function(e){this._hovered={}},dispatch:function(e,t){var n=this[e];n&&n.call(this,t)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},dispatchToElement:function(e,t,n){e=e||{};var r=e.target;if(!r||!r.silent){var i="on"+t,o=u(t,e,n);while(r)if(r[i]&&(o.cancelBubble=r[i].call(r,o)),r.trigger(t,o),r=r.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer((function(e){"function"===typeof e[i]&&e[i].call(e,o),e.trigger&&e.trigger(t,o)})))}},findHover:function(e,t,n){for(var r=this.storage.getDisplayList(),i={x:e,y:t},o=r.length-1;o>=0;o--){var a;if(r[o]!==n&&!r[o].ignore&&(a=A(r[o],e,t))&&(!i.topTarget&&(i.topTarget=r[o]),a!==c)){i.target=r[o];break}}return i},processGesture:function(e,t){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===t&&n.clear();var r=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),r){var i=r.type;e.gestureEvent=i,this.dispatchToElement({target:r.target},i,r.event)}}},r.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){p.prototype[e]=function(t){var n,r,o=t.zrX,a=t.zrY,s=g(this,o,a);if("mouseup"===e&&s||(n=this.findHover(o,a),r=n.target),"mousedown"===e)this._downEl=r,this._downPoint=[t.zrX,t.zrY],this._upEl=r;else if("mouseup"===e)this._upEl=r;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||i.dist(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}})),r.mixin(p,a),r.mixin(p,o);var m=p;e.exports=m},"0ycA":function(e,t){function n(){return[]}e.exports=n},"10cm":function(e,t,n){var r=n("ProS"),i=n("2B6p"),o=i.updateCenterAndZoom;n("0qV/");var a={type:"graphRoam",event:"graphRoam",update:"none"};r.registerAction(a,(function(e,t){t.eachComponent({mainType:"series",query:e},(function(t){var n=t.coordinateSystem,r=o(n,e);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)}))}))},"14J3":function(e,t,n){"use strict";n("cIOH"),n("1GLa")},"15/o":function(e,t,n){},"19Vz":function(e,t,n){(function(e){e(n("VrN/"))})((function(e){function t(e){e.state.placeholder&&(e.state.placeholder.parentNode.removeChild(e.state.placeholder),e.state.placeholder=null)}function n(e){t(e);var n=e.state.placeholder=document.createElement("pre");n.style.cssText="height: 0; overflow: visible",n.style.direction=e.getOption("direction"),n.className="CodeMirror-placeholder CodeMirror-line-like";var r=e.getOption("placeholder");"string"==typeof r&&(r=document.createTextNode(r)),n.appendChild(r),e.display.lineSpace.insertBefore(n,e.display.lineSpace.firstChild)}function r(e){setTimeout((function(){var r=!1,i=e.getInputField();"TEXTAREA"==i.nodeName?r=!i.value:1==e.lineCount()&&(r=!/[^\u200b]/.test(i.querySelector(".CodeMirror-line").textContent)),r?n(e):t(e)}),20)}function i(e){a(e)&&n(e)}function o(e){var r=e.getWrapperElement(),i=a(e);r.className=r.className.replace(" CodeMirror-empty","")+(i?" CodeMirror-empty":""),i?n(e):t(e)}function a(e){return 1===e.lineCount()&&""===e.getLine(0)}e.defineOption("placeholder","",(function(n,a,s){var l=s&&s!=e.Init;if(a&&!l)n.on("blur",i),n.on("change",o),n.on("swapDoc",o),e.on(n.getInputField(),"compositionupdate",n.state.placeholderCompose=function(){r(n)}),o(n);else if(!a&&l){n.off("blur",i),n.off("change",o),n.off("swapDoc",o),e.off(n.getInputField(),"compositionupdate",n.state.placeholderCompose),t(n);var c=n.getWrapperElement();c.className=c.className.replace(" CodeMirror-empty","")}a&&!n.hasFocus()&&i(n)}))}))},"1GLa":function(e,t,n){"use strict";n("cIOH"),n("FIfw")},"1Jh7":function(e,t,n){var r=n("y+Vt"),i=n("T6xi"),o=r.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(e,t){i.buildPath(e,t,!1)}});e.exports=o},"1LEl":function(e,t,n){var r=n("ProS"),i=n("F9bG"),o=r.extendComponentView({type:"axisPointer",render:function(e,t,n){var r=t.getComponent("tooltip"),o=e.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";i.register("axisPointer",n,(function(e,t,n){"none"!==o&&("leave"===e||o.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},remove:function(e,t){i.unregister(t.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(e,t){i.unregister("axisPointer",t),o.superApply(this._model,"dispose",arguments)}}),a=o;e.exports=a},"1MYJ":function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var e=this.__dirtyPath,t=this.shape.paths,n=0;n<t.length;n++)e=e||t[n].__dirtyPath;this.__dirtyPath=e,this.__dirty=this.__dirty||e},beforeBrush:function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1],e[n].segmentIgnoreThreshold)},buildPath:function(e,t){for(var n=t.paths||[],r=0;r<n.length;r++)n[r].buildPath(e,n[r].shape,!0)},afterBrush:function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),r.prototype.getBoundingRect.call(this)}});e.exports=i},"1NG9":function(e,t,n){var r=n("y+Vt"),i=n("QBsz"),o=n("iXp4"),a=i.min,s=i.max,l=i.scaleAndAdd,c=i.copy,u=[],d=[],h=[];function f(e){return isNaN(e[0])||isNaN(e[1])}function p(e,t,n,r,i,o,a,s,l,c,u){return"none"!==c&&c?A.apply(this,arguments):g.apply(this,arguments)}function A(e,t,n,r,i,o,a,s,l,u,p){for(var A=0,g=n,m=0;m<r;m++){var v=t[g];if(g>=i||g<0)break;if(f(v)){if(p){g+=o;continue}break}if(g===n)e[o>0?"moveTo":"lineTo"](v[0],v[1]);else if(l>0){var y=t[A],b="y"===u?1:0,_=(v[b]-y[b])*l;c(d,y),d[b]=y[b]+_,c(h,v),h[b]=v[b]-_,e.bezierCurveTo(d[0],d[1],h[0],h[1],v[0],v[1])}else e.lineTo(v[0],v[1]);A=g,g+=o}return m}function g(e,t,n,r,o,p,A,g,m,v,y){for(var b=0,_=n,w=0;w<r;w++){var x=t[_];if(_>=o||_<0)break;if(f(x)){if(y){_+=p;continue}break}if(_===n)e[p>0?"moveTo":"lineTo"](x[0],x[1]),c(d,x);else if(m>0){var C=_+p,S=t[C];if(y)while(S&&f(t[C]))C+=p,S=t[C];var k=.5,E=t[b];S=t[C];if(!S||f(S))c(h,x);else{var O,B;if(f(S)&&!y&&(S=x),i.sub(u,S,E),"x"===v||"y"===v){var M="x"===v?0:1;O=Math.abs(x[M]-E[M]),B=Math.abs(x[M]-S[M])}else O=i.dist(x,E),B=i.dist(x,S);k=B/(B+O),l(h,x,u,-m*(1-k))}a(d,d,g),s(d,d,A),a(h,h,g),s(h,h,A),e.bezierCurveTo(d[0],d[1],h[0],h[1],x[0],x[1]),l(d,x,u,m*k)}else e.lineTo(x[0],x[1]);b=_,_+=p}return w}function m(e,t){var n=[1/0,1/0],r=[-1/0,-1/0];if(t)for(var i=0;i<e.length;i++){var o=e[i];o[0]<n[0]&&(n[0]=o[0]),o[1]<n[1]&&(n[1]=o[1]),o[0]>r[0]&&(r[0]=o[0]),o[1]>r[1]&&(r[1]=o[1])}return{min:t?n:r,max:t?r:n}}var v=r.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:o(r.prototype.brush),buildPath:function(e,t){var n=t.points,r=0,i=n.length,o=m(n,t.smoothConstraint);if(t.connectNulls){for(;i>0;i--)if(!f(n[i-1]))break;for(;r<i;r++)if(!f(n[r]))break}while(r<i)r+=p(e,n,r,i,i,1,o.min,o.max,t.smooth,t.smoothMonotone,t.connectNulls)+1}}),y=r.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:o(r.prototype.brush),buildPath:function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,o=n.length,a=t.smoothMonotone,s=m(n,t.smoothConstraint),l=m(r,t.smoothConstraint);if(t.connectNulls){for(;o>0;o--)if(!f(n[o-1]))break;for(;i<o;i++)if(!f(n[i]))break}while(i<o){var c=p(e,n,i,o,o,1,s.min,s.max,t.smooth,a,t.connectNulls);p(e,r,i+c-1,c,o,-1,l.min,l.max,t.stackedOnSmooth,a,t.connectNulls),i+=c+1,e.closePath()}}});t.Polyline=v,t.Polygon=y},"1RvN":function(e,t){var n=function(){this.head=null,this.tail=null,this._len=0},r=n.prototype;r.insert=function(e){var t=new i(e);return this.insertEntry(t),t},r.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},r.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},r.len=function(){return this._len},r.clear=function(){this.head=this.tail=null,this._len=0};var i=function(e){this.value=e,this.next,this.prev},o=function(e){this._list=new n,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},a=o.prototype;a.put=function(e,t){var n=this._list,r=this._map,o=null;if(null==r[e]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new i(t),s.key=e,n.insertEntry(s),r[e]=s}return o},a.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},a.clear=function(){this._list.clear(),this._map={}};var s=o;e.exports=s},"1YHl":function(e,t,n){"use strict";n("cIOH"),n("15/o")},"1bdT":function(e,t,n){var r=n("3gBT"),i=n("H6uX"),o=n("DN4a"),a=n("vWvF"),s=n("bYtY"),l=function(e){o.call(this,e),i.call(this,e),a.call(this,e),this.id=e.id||r()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(e,t){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(e,t){},attrKV:function(e,t){if("position"===e||"scale"===e||"origin"===e){if(t){var n=this[e];n||(n=this[e]=[]),n[0]=t[0],n[1]=t[1]}}else this[e]=t},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(e,t){if("string"===typeof e)this.attrKV(e,t);else if(s.isObject(e))for(var n in e)e.hasOwnProperty(n)&&this.attrKV(n,e[n]);return this.dirty(!1),this},setClipPath:function(e){var t=this.__zr;t&&e.addSelfToZr(t),this.clipPath&&this.clipPath!==e&&this.removeClipPath(),this.clipPath=e,e.__zr=t,e.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var e=this.clipPath;e&&(e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.addAnimator(t[n]);this.clipPath&&this.clipPath.addSelfToZr(e)},removeSelfFromZr:function(e){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this.clipPath&&this.clipPath.removeSelfFromZr(e)}},s.mixin(l,a),s.mixin(l,o),s.mixin(l,i);var c=l;e.exports=c},"1dTM":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n("GQ8N"),i=B(n("Lo0S")),o=n("VSMT"),a=n("GdRQ"),s=n("SZEN"),l=n("vewr"),c=E(n("YJ9k")),u=E(n("MZdM")),d=E(n("ItS6")),h=E(n("whVF")),f=E(n("Fv0C")),p=E(n("LCi9")),A=E(n("rwxt")),g=E(n("Mmt2")),m=E(n("iUHT")),v=E(n("mHUz")),y=E(n("P2ho")),b=n("NBmB");n("mdZa");var _=E(n("34/K")),w=E(n("hXwI")),x=E(n("SgaC")),C=E(n("3690")),S=E(n("8K/p")),k=E(n("xO64"));function E(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function B(e){if(e&&e.__esModule)return e;if(null===e||"object"!==M(e)&&"function"!==typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n["default"]=e,t&&t.set(e,n),n}function M(e){return M="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M(e)}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function L(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),e}function D(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}function P(e,t){return P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},P(e,t)}function N(e){var t=R();return function(){var n,r=U(e);if(t){var i=U(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){return!t||"object"!==M(t)&&"function"!==typeof t?F(e):t}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},U(e)}var H=3,Q="rgb(40, 40, 40)",K=17,z=50,V=19,W=75,G=50,X=1e3,q=50,Y=1,Z=1<<24,J=1<<25,$=1<<26,ee=1<<27,te=1<<28,ne=function(e){D(n,e);var t=N(n);function n(e,r,o){var a;if(T(this,n),!e)throw new Error("Must specify target");if(!r)throw new Error("Must specify URL");a=t.call(this),a._target=e,a._url=r,o=o||{},a._rfbCredentials=o.credentials||{},a._shared=!("shared"in o)||!!o.shared,a._repeaterID=o.repeaterID||"",a._wsProtocols=o.wsProtocols||[],a._rfbConnectionState="",a._rfbInitState="",a._rfbAuthScheme=-1,a._rfbCleanDisconnect=!0,a._rfbVersion=0,a._rfbMaxVersion=3.8,a._rfbTightVNC=!1,a._rfbVeNCryptState=0,a._rfbXvpVer=0,a._fbWidth=0,a._fbHeight=0,a._fbName="",a._capabilities={power:!1},a._supportsFence=!1,a._supportsContinuousUpdates=!1,a._enabledContinuousUpdates=!1,a._supportsSetDesktopSize=!1,a._screenID=0,a._screenFlags=0,a._qemuExtKeyEventSupported=!1,a._clipboardText=null,a._clipboardServerCapabilitiesActions={},a._clipboardServerCapabilitiesFormats={},a._sock=null,a._display=null,a._flushing=!1,a._keyboard=null,a._gestures=null,a._disconnTimer=null,a._resizeTimeout=null,a._mouseMoveTimer=null,a._decoders={},a._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},a._mousePos={},a._mouseButtonMask=0,a._mouseLastMoveTime=0,a._viewportDragging=!1,a._viewportDragPos={},a._viewportHasMoved=!1,a._accumulatedWheelDeltaX=0,a._accumulatedWheelDeltaY=0,a._gestureLastTapTime=null,a._gestureFirstDoubleTapEv=null,a._gestureLastMagnitudeX=0,a._gestureLastMagnitudeY=0,a._eventHandlers={focusCanvas:a._focusCanvas.bind(F(a)),windowResize:a._windowResize.bind(F(a)),handleMouse:a._handleMouse.bind(F(a)),handleWheel:a._handleWheel.bind(F(a)),handleGesture:a._handleGesture.bind(F(a))},i.Debug(">> RFB.constructor"),a._screen=document.createElement("div"),a._screen.style.display="flex",a._screen.style.width="100%",a._screen.style.height="100%",a._screen.style.overflow="auto",a._screen.style.background=Q,a._canvas=document.createElement("canvas"),a._canvas.style.margin="auto",a._canvas.style.outline="none",a._canvas.style.flexShrink="0",a._canvas.width=0,a._canvas.height=0,a._canvas.tabIndex=-1,a._screen.appendChild(a._canvas),a._cursor=new A["default"],a._cursorImage=n.cursors.none,a._decoders[b.encodings.encodingRaw]=new _["default"],a._decoders[b.encodings.encodingCopyRect]=new w["default"],a._decoders[b.encodings.encodingRRE]=new x["default"],a._decoders[b.encodings.encodingHextile]=new C["default"],a._decoders[b.encodings.encodingTight]=new S["default"],a._decoders[b.encodings.encodingTightPNG]=new k["default"];try{a._display=new u["default"](a._canvas)}catch(s){throw i.Error("Display exception: "+s),s}return a._display.onflush=a._onFlush.bind(F(a)),a._keyboard=new f["default"](a._canvas),a._keyboard.onkeyevent=a._handleKeyEvent.bind(F(a)),a._gestures=new p["default"],a._sock=new g["default"],a._sock.on("message",(function(){a._handleMessage()})),a._sock.on("open",(function(){"connecting"===a._rfbConnectionState&&""===a._rfbInitState?(a._rfbInitState="ProtocolVersion",i.Debug("Starting VNC handshake")):a._fail("Unexpected server connection while "+a._rfbConnectionState)})),a._sock.on("close",(function(e){i.Debug("WebSocket on-close event");var t="";switch(e.code&&(t="(code: "+e.code,e.reason&&(t+=", reason: "+e.reason),t+=")"),a._rfbConnectionState){case"connecting":a._fail("Connection closed "+t);break;case"connected":a._updateConnectionState("disconnecting"),a._updateConnectionState("disconnected");break;case"disconnecting":a._updateConnectionState("disconnected");break;case"disconnected":a._fail("Unexpected server disconnect when already disconnected "+t);break;default:a._fail("Unexpected server disconnect before connecting "+t);break}a._sock.off("close")})),a._sock.on("error",(function(e){return i.Warn("WebSocket on-error event")})),setTimeout(a._updateConnectionState.bind(F(a),"connecting")),i.Debug("<< RFB.constructor"),a.dragViewport=!1,a.focusOnClick=!0,a._viewOnly=!1,a._clipViewport=!1,a._scaleViewport=!1,a._resizeSession=!1,a._showDotCursor=!1,void 0!==o.showDotCursor&&(i.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),a._showDotCursor=o.showDotCursor),a._qualityLevel=6,a._compressionLevel=2,a}return L(n,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(e){this._rfbCredentials=e,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){"connected"!==this._rfbConnectionState||this._viewOnly||(i.Info("Sending Ctrl-Alt-Del"),this.sendKey(v["default"].XK_Control_L,"ControlLeft",!0),this.sendKey(v["default"].XK_Alt_L,"AltLeft",!0),this.sendKey(v["default"].XK_Delete,"Delete",!0),this.sendKey(v["default"].XK_Delete,"Delete",!1),this.sendKey(v["default"].XK_Alt_L,"AltLeft",!1),this.sendKey(v["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(e,t,r){if("connected"===this._rfbConnectionState&&!this._viewOnly){if(void 0===r)return this.sendKey(e,t,!0),void this.sendKey(e,t,!1);var o=y["default"][t];if(this._qemuExtKeyEventSupported&&o)e=e||0,i.Info("Sending key ("+(r?"down":"up")+"): keysym "+e+", scancode "+o),n.messages.QEMUExtendedKeyEvent(this._sock,e,r,o);else{if(!e)return;i.Info("Sending keysym ("+(r?"down":"up")+"): "+e),n.messages.keyEvent(this._sock,e,r?1:0)}}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(e){if("connected"===this._rfbConnectionState&&!this._viewOnly)if(this._clipboardServerCapabilitiesFormats[Y]&&this._clipboardServerCapabilitiesActions[ee])this._clipboardText=e,n.messages.extendedClipboardNotify(this._sock,[Y]);else{for(var t=new Uint8Array(e.length),r=0;r<e.length;r++)t[r]=e.charCodeAt(r);n.messages.clientCutText(this._sock,t)}}},{key:"_connect",value:function(){i.Debug(">> RFB.connect"),i.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(e){"SyntaxError"===e.name?this._fail("Invalid host or port ("+e+")"):this._fail("Error when opening socket ("+e+")")}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),i.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){i.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(e){if("NotFoundError"!==e.name)throw e}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),i.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(e){this.focusOnClick&&this.focus()}},{key:"_setDesktopName",value:function(e){this._fbName=e,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(e){var t=this;window.requestAnimationFrame((function(){t._updateClip(),t._updateScale()})),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var e=this._display.clipViewport,t=this._clipViewport;if(this._scaleViewport&&(t=!1),e!==t&&(this._display.clipViewport=t),t){var n=this._screenSize();this._display.viewportChangeSize(n.w,n.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(this._scaleViewport){var e=this._screenSize();this._display.autoscale(e.w,e.h)}else this._display.scale=1;this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,this._resizeSession&&!this._viewOnly&&this._supportsSetDesktopSize){var e=this._screenSize();n.messages.setDesktopSize(this._sock,Math.floor(e.w),Math.floor(e.h),this._screenID,this._screenFlags),i.Debug("Requested new desktop size: "+e.w+"x"+e.h)}}},{key:"_screenSize",value:function(){var e=this._screen.getBoundingClientRect();return{w:e.width,h:e.height}}},{key:"_fixScrollbars",value:function(){var e=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=e}},{key:"_updateConnectionState",value:function(e){var t=this,n=this._rfbConnectionState;if(e!==n)if("disconnected"!==n){switch(e){case"connected":if("connecting"!==n)return void i.Error("Bad transition to connected state, previous connection state: "+n);break;case"disconnected":if("disconnecting"!==n)return void i.Error("Bad transition to disconnected state, previous connection state: "+n);break;case"connecting":if(""!==n)return void i.Error("Bad transition to connecting state, previous connection state: "+n);break;case"disconnecting":if("connected"!==n&&"connecting"!==n)return void i.Error("Bad transition to disconnecting state, previous connection state: "+n);break;default:return void i.Error("Unknown connection state: "+e)}switch(this._rfbConnectionState=e,i.Debug("New state '"+e+"', was '"+n+"'."),this._disconnTimer&&"disconnecting"!==e&&(i.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close")),e){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout((function(){i.Error("Disconnection timed out."),t._updateConnectionState("disconnected")}),1e3*H);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}else i.Error("Tried changing state of a disconnected RFB object");else i.Debug("Already in state '"+e+"', ignoring")}},{key:"_fail",value:function(e){switch(this._rfbConnectionState){case"disconnecting":i.Error("Failed when disconnecting: "+e);break;case"connected":i.Error("Failed while connected: "+e);break;case"connecting":i.Error("Failed when connecting: "+e);break;default:i.Error("RFB failure: "+e);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(e,t){this._capabilities[e]=t,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(0!==this._sock.rQlen)switch(this._rfbConnectionState){case"disconnected":i.Error("Got data while disconnected");break;case"connected":while(1){if(this._flushing)break;if(!this._normalMsg())break;if(0===this._sock.rQlen)break}break;default:this._initMsg();break}else i.Warn("handleMessage called on an empty receive queue")}},{key:"_handleKeyEvent",value:function(e,t,n){this.sendKey(e,t,n)}},{key:"_handleMouse",value:function(e){if(("click"!==e.type||e.target===this._canvas)&&(e.stopPropagation(),e.preventDefault(),"click"!==e.type&&"contextmenu"!==e.type)){var t=(0,s.clientToElement)(e.clientX,e.clientY,this._canvas);switch(e.type){case"mousedown":(0,l.setCapture)(this._canvas),this._handleMouseButton(t.x,t.y,!0,1<<e.button);break;case"mouseup":this._handleMouseButton(t.x,t.y,!1,1<<e.button);break;case"mousemove":this._handleMouseMove(t.x,t.y);break}}}},{key:"_handleMouseButton",value:function(e,t,n,r){if(this.dragViewport){if(n&&!this._viewportDragging)return this._viewportDragging=!0,this._viewportDragPos={x:e,y:t},void(this._viewportHasMoved=!1);if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(e,t,r)}null!==this._mouseMoveTimer&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(e,t,this._mouseButtonMask)),n?this._mouseButtonMask|=r:this._mouseButtonMask&=~r,this._sendMouse(e,t,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(e,t){var n=this;if(this._viewportDragging){var r=this._viewportDragPos.x-e,i=this._viewportDragPos.y-t;(this._viewportHasMoved||Math.abs(r)>a.dragThreshold||Math.abs(i)>a.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:e,y:t},this._display.viewportChangePos(r,i))}else if(this._mousePos={x:e,y:t},null==this._mouseMoveTimer){var o=Date.now()-this._mouseLastMoveTime;o>K?(this._sendMouse(e,t,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout((function(){n._handleDelayedMouseMove()}),K-o)}}},{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(e,t,r){"connected"===this._rfbConnectionState&&(this._viewOnly||n.messages.pointerEvent(this._sock,this._display.absX(e),this._display.absY(t),r))}},{key:"_handleWheel",value:function(e){if("connected"===this._rfbConnectionState&&!this._viewOnly){e.stopPropagation(),e.preventDefault();var t=(0,s.clientToElement)(e.clientX,e.clientY,this._canvas),n=e.deltaX,r=e.deltaY;0!==e.deltaMode&&(n*=V,r*=V),this._accumulatedWheelDeltaX+=n,this._accumulatedWheelDeltaY+=r,Math.abs(this._accumulatedWheelDeltaX)>=z&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(t.x,t.y,!0,32),this._handleMouseButton(t.x,t.y,!1,32)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(t.x,t.y,!0,64),this._handleMouseButton(t.x,t.y,!1,64)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=z&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(t.x,t.y,!0,8),this._handleMouseButton(t.x,t.y,!1,8)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(t.x,t.y,!0,16),this._handleMouseButton(t.x,t.y,!1,16)),this._accumulatedWheelDeltaY=0)}}},{key:"_fakeMouseMove",value:function(e,t,n){this._handleMouseMove(t,n),this._cursor.move(e.detail.clientX,e.detail.clientY)}},{key:"_handleTapEvent",value:function(e,t){var n=(0,s.clientToElement)(e.detail.clientX,e.detail.clientY,this._canvas);if(null!==this._gestureLastTapTime&&Date.now()-this._gestureLastTapTime<X&&this._gestureFirstDoubleTapEv.detail.type===e.detail.type){var r=this._gestureFirstDoubleTapEv.detail.clientX-e.detail.clientX,i=this._gestureFirstDoubleTapEv.detail.clientY-e.detail.clientY,o=Math.hypot(r,i);o<q?n=(0,s.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=e}else this._gestureFirstDoubleTapEv=e;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,n.x,n.y),this._handleMouseButton(n.x,n.y,!0,t),this._handleMouseButton(n.x,n.y,!1,t)}},{key:"_handleGesture",value:function(e){var t,n=(0,s.clientToElement)(e.detail.clientX,e.detail.clientY,this._canvas);switch(e.type){case"gesturestart":switch(e.detail.type){case"onetap":this._handleTapEvent(e,1);break;case"twotap":this._handleTapEvent(e,4);break;case"threetap":this._handleTapEvent(e,2);break;case"drag":this._fakeMouseMove(e,n.x,n.y),this._handleMouseButton(n.x,n.y,!0,1);break;case"longpress":this._fakeMouseMove(e,n.x,n.y),this._handleMouseButton(n.x,n.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=e.detail.magnitudeX,this._gestureLastMagnitudeY=e.detail.magnitudeY,this._fakeMouseMove(e,n.x,n.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(e.detail.magnitudeX,e.detail.magnitudeY),this._fakeMouseMove(e,n.x,n.y);break}break;case"gesturemove":switch(e.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(e,n.x,n.y);break;case"twodrag":this._fakeMouseMove(e,n.x,n.y);while(e.detail.magnitudeY-this._gestureLastMagnitudeY>G)this._handleMouseButton(n.x,n.y,!0,8),this._handleMouseButton(n.x,n.y,!1,8),this._gestureLastMagnitudeY+=G;while(e.detail.magnitudeY-this._gestureLastMagnitudeY<-G)this._handleMouseButton(n.x,n.y,!0,16),this._handleMouseButton(n.x,n.y,!1,16),this._gestureLastMagnitudeY-=G;while(e.detail.magnitudeX-this._gestureLastMagnitudeX>G)this._handleMouseButton(n.x,n.y,!0,32),this._handleMouseButton(n.x,n.y,!1,32),this._gestureLastMagnitudeX+=G;while(e.detail.magnitudeX-this._gestureLastMagnitudeX<-G)this._handleMouseButton(n.x,n.y,!0,64),this._handleMouseButton(n.x,n.y,!1,64),this._gestureLastMagnitudeX-=G;break;case"pinch":if(this._fakeMouseMove(e,n.x,n.y),t=Math.hypot(e.detail.magnitudeX,e.detail.magnitudeY),Math.abs(t-this._gestureLastMagnitudeX)>W){this._handleKeyEvent(v["default"].XK_Control_L,"ControlLeft",!0);while(t-this._gestureLastMagnitudeX>W)this._handleMouseButton(n.x,n.y,!0,8),this._handleMouseButton(n.x,n.y,!1,8),this._gestureLastMagnitudeX+=W;while(t-this._gestureLastMagnitudeX<-W)this._handleMouseButton(n.x,n.y,!0,16),this._handleMouseButton(n.x,n.y,!1,16),this._gestureLastMagnitudeX-=W}this._handleKeyEvent(v["default"].XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(e.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(e,n.x,n.y),this._handleMouseButton(n.x,n.y,!1,1);break;case"longpress":this._fakeMouseMove(e,n.x,n.y),this._handleMouseButton(n.x,n.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var e=this._sock.rQshiftStr(12).substr(4,7);i.Info("Server ProtocolVersion: "+e);var t=0;switch(e){case"000.000":t=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 "+e)}if(t){var n="ID:"+this._repeaterID;while(n.length<250)n+="\0";return this._sock.sendString(n),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var r="00"+parseInt(this._rfbVersion,10)+".00"+10*this._rfbVersion%10;this._sock.sendString("RFB "+r+"\n"),i.Debug("Sent ProtocolVersion: "+r),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function e(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}if(this._rfbVersion>=3.7){var t=this._sock.rQshift8();if(this._sock.rQwait("security type",t,1))return!1;if(0===t)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var n=this._sock.rQshiftBytes(t);if(i.Debug("Server security types: "+n),e(1,n))this._rfbAuthScheme=1;else if(e(22,n))this._rfbAuthScheme=22;else if(e(16,n))this._rfbAuthScheme=16;else if(e(2,n))this._rfbAuthScheme=2;else{if(!e(19,n))return this._fail("Unsupported security types (types: "+n+")");this._rfbAuthScheme=19}this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),0==this._rfbAuthScheme)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",i.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var e=this._sock.rQshift32(),t="";if(e>0){if(this._sock.rQwait("reason",e,4))return!1;t=this._sock.rQshiftStr(e)}return""!==t?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:t}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+t+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(void 0===this._rfbCredentials.username||void 0===this._rfbCredentials.password||void 0===this._rfbCredentials.target)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var e=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(e),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(0==this._rfbVeNCryptState){if(this._sock.rQwait("vencrypt version",2))return!1;var e=this._sock.rQshift8(),t=this._sock.rQshift8();if(0!=e||2!=t)return this._fail("Unsupported VeNCrypt version "+e+"."+t);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(1==this._rfbVeNCryptState){if(this._sock.rQwait("vencrypt ack",1))return!1;var n=this._sock.rQshift8();if(0!=n)return this._fail("VeNCrypt failure "+n);this._rfbVeNCryptState=2}if(2==this._rfbVeNCryptState){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var r=this._sock.rQshift8();if(r<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=r,this._rfbVeNCryptState=3}if(3==this._rfbVeNCryptState){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var i=[],a=0;a<this._rfbVeNCryptSubtypesLength;a++)i.push(this._sock.rQshift32());if(-1==i.indexOf(256))return this._fail("VeNCrypt Plain subtype not offered by server");this._sock.send([0,0,1,0]),this._rfbVeNCryptState=4}if(4==this._rfbVeNCryptState){if(!this._rfbCredentials.username||!this._rfbCredentials.password)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1;var s=(0,o.encodeUTF8)(this._rfbCredentials.username),l=(0,o.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,s.length]),this._sock.send([0,0,0,l.length]),this._sock.sendString(s),this._sock.sendString(l),this._rfbInitState="SecurityResult",!0}}},{key:"_negotiateStdVNCAuth",value:function(){if(this._sock.rQwait("auth challenge",16))return!1;if(void 0===this._rfbCredentials.password)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["password"]}})),!1;var e=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),t=n.genDES(this._rfbCredentials.password,e);return this._sock.send(t),this._rfbInitState="SecurityResult",!0}},{key:"_negotiateTightUnixAuth",value:function(){return void 0===this._rfbCredentials.username||void 0===this._rfbCredentials.password?(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(e){for(var t={0:{vendor:"TGHT",signature:"NOTUNNEL"}},n={},r=0;r<e;r++){var o=this._sock.rQshift32(),a=this._sock.rQshiftStr(4),s=this._sock.rQshiftStr(8);n[o]={vendor:a,signature:s}}return i.Debug("Server Tight tunnel types: "+n),n[1]&&"SICR"===n[1].vendor&&"SCHANNEL"===n[1].signature&&(i.Debug("Detected Siemens server. Assuming NOTUNNEL support."),n[0]={vendor:"TGHT",signature:"NOTUNNEL"}),n[0]?n[0].vendor!=t[0].vendor||n[0].signature!=t[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(i.Debug("Selected tunnel type: "+t[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 e=this._sock.rQshift32();if(e>0&&this._sock.rQwait("tunnel capabilities",16*e,4))return!1;if(this._rfbTightVNC=!0,e>0)return this._negotiateTightTunnels(e),!1}if(this._sock.rQwait("sub auth count",4))return!1;var t=this._sock.rQshift32();if(0===t)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*t,4))return!1;for(var n={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},r=[],o=0;o<t;o++){this._sock.rQshift32();var a=this._sock.rQshiftStr(12);r.push(a)}for(var s in i.Debug("Server Tight authentication types: "+r),n)if(-1!=r.indexOf(s))switch(this._sock.send([0,0,0,n[s]]),i.Debug("Selected authentication type: "+s),s){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: "+s+")")}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 e=this._sock.rQshift32();return 0===e?(this._rfbInitState="ClientInitialisation",i.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=e,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:e}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var e=this._sock.rQshift16(),t=this._sock.rQshift16(),r=this._sock.rQshift8(),a=this._sock.rQshift8(),s=this._sock.rQshift8(),l=this._sock.rQshift8(),c=this._sock.rQshift16(),u=this._sock.rQshift16(),d=this._sock.rQshift16(),h=this._sock.rQshift8(),f=this._sock.rQshift8(),p=this._sock.rQshift8();this._sock.rQskipBytes(3);var A=this._sock.rQshift32();if(this._sock.rQwait("server init name",A,24))return!1;var g=this._sock.rQshiftStr(A);if(g=(0,o.decodeUTF8)(g,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+A))return!1;var m=this._sock.rQshift16(),v=this._sock.rQshift16(),y=this._sock.rQshift16();this._sock.rQskipBytes(2);var b=16*(m+v+y);if(this._sock.rQwait("TightVNC extended server init header",b,32+A))return!1;this._sock.rQskipBytes(16*m),this._sock.rQskipBytes(16*v),this._sock.rQskipBytes(16*y)}return i.Info("Screen: "+e+"x"+t+", bpp: "+r+", depth: "+a+", bigEndian: "+s+", trueColor: "+l+", redMax: "+c+", greenMax: "+u+", blueMax: "+d+", redShift: "+h+", greenShift: "+f+", blueShift: "+p),this._setDesktopName(g),this._resize(e,t),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,"Intel(r) AMT KVM"===this._fbName&&(i.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),n.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),n.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var e=[];e.push(b.encodings.encodingCopyRect),24==this._fbDepth&&(e.push(b.encodings.encodingTight),e.push(b.encodings.encodingTightPNG),e.push(b.encodings.encodingHextile),e.push(b.encodings.encodingRRE)),e.push(b.encodings.encodingRaw),e.push(b.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),e.push(b.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),e.push(b.encodings.pseudoEncodingDesktopSize),e.push(b.encodings.pseudoEncodingLastRect),e.push(b.encodings.pseudoEncodingQEMUExtendedKeyEvent),e.push(b.encodings.pseudoEncodingExtendedDesktopSize),e.push(b.encodings.pseudoEncodingXvp),e.push(b.encodings.pseudoEncodingFence),e.push(b.encodings.pseudoEncodingContinuousUpdates),e.push(b.encodings.pseudoEncodingDesktopName),e.push(b.encodings.pseudoEncodingExtendedClipboard),24==this._fbDepth&&(e.push(b.encodings.pseudoEncodingVMwareCursor),e.push(b.encodings.pseudoEncodingCursor)),n.messages.clientEncodings(this._sock,e)}},{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 i.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(i.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var e=this._sock.rQshift32();if(e=(0,r.toSigned32bit)(e),this._sock.rQwait("ServerCutText content",Math.abs(e),8))return!1;if(e>=0){var t=this._sock.rQshiftStr(e);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:t}}))}else{e=Math.abs(e);var a=this._sock.rQshift32(),s=65535&a,l=4278190080&a,c=!!(l&Z);if(c){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var u=0;u<=15;u++){var h=1<<u;s&h&&(this._clipboardServerCapabilitiesFormats[h]=!0,this._sock.rQshift32())}for(var f=24;f<=31;f++){var p=1<<f;this._clipboardServerCapabilitiesActions[p]=!!(l&p)}var A=[Z,J,$,ee,te];n.messages.extendedClipboardCaps(this._sock,A,{extendedClipboardFormatText:0})}else if(l===J){if(this._viewOnly)return!0;null!=this._clipboardText&&this._clipboardServerCapabilitiesActions[te]&&s&Y&&n.messages.extendedClipboardProvide(this._sock,[Y],[this._clipboardText])}else if(l===$){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[ee]&&(null!=this._clipboardText?n.messages.extendedClipboardNotify(this._sock,[Y]):n.messages.extendedClipboardNotify(this._sock,[]))}else if(l===ee){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[J]&&s&Y&&n.messages.extendedClipboardRequest(this._sock,[Y])}else{if(l!==te)return this._fail("Unexpected action in extended clipboard message: "+l);if(this._viewOnly)return!0;if(!(s&Y))return!0;this._clipboardText=null;var g=this._sock.rQshiftBytes(e-4),m=new d["default"],v=null;m.setInput(g);for(var y=0;y<=15;y++){var b=1<<y;if(s&b){var _=0,w=m.inflate(4);_|=w[0]<<24,_|=w[1]<<16,_|=w[2]<<8,_|=w[3];var x=m.inflate(_);b===Y&&(v=x)}}if(m.setInput(null),null!==v){for(var C="",S=0;S<v.length;S++)C+=String.fromCharCode(v[S]);v=C,v=(0,o.decodeUTF8)(v),v.length>0&&"\0"===v.charAt(v.length-1)&&(v=v.slice(0,-1)),v=v.replace("\r\n","\n"),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:v}}))}}}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var e=this._sock.rQshift32(),t=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",t,9))return!1;t>64&&(i.Warn("Bad payload length ("+t+") in fence response"),t=64);var r=this._sock.rQshiftStr(t);return this._supportsFence=!0,e&1<<31?(e&=3,n.messages.clientFence(this._sock,e,r),!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 e=this._sock.rQshift8(),t=this._sock.rQshift8();switch(t){case 0:i.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=e,i.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+t+")");break}return!0}},{key:"_normalMsg",value:function(){var e,t,r;switch(e=this._FBU.rects>0?0:this._sock.rQshift8(),e){case 0:return r=this._framebufferUpdate(),r&&!this._enabledContinuousUpdates&&n.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),r;case 1:return this._handleSetColourMapMsg();case 2:return i.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return t=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,t&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),i.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+e+")"),i.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(0===this._FBU.rects){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}while(this._FBU.rects>0){if(null===this._FBU.encoding){if(this._sock.rQwait("rect header",12))return!1;var e=this._sock.rQshiftBytes(12);this._FBU.x=(e[0]<<8)+e[1],this._FBU.y=(e[2]<<8)+e[3],this._FBU.width=(e[4]<<8)+e[5],this._FBU.height=(e[6]<<8)+e[7],this._FBU.encoding=parseInt((e[8]<<24)+(e[9]<<16)+(e[10]<<8)+e[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 b.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case b.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case b.encodings.pseudoEncodingCursor:return this._handleCursor();case b.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var e=document.createEvent("keyboardEvent");void 0!==e.code&&(this._qemuExtKeyEventSupported=!0)}catch(t){}return!0;case b.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case b.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case b.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var e=this._FBU.x,t=this._FBU.y,n=this._FBU.width,r=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var o,a=this._sock.rQshift8();this._sock.rQshift8();var s=4;if(0==a){var l=-256;if(o=new Array(n*r*s),this._sock.rQwait("VMware cursor classic encoding",n*r*s*2,2))return!1;for(var c=new Array(n*r),u=0;u<n*r;u++)c[u]=this._sock.rQshift32();for(var d=new Array(n*r),h=0;h<n*r;h++)d[h]=this._sock.rQshift32();for(var f=0;f<n*r;f++)if(0==c[f]){var p=d[f],A=p>>8&255,g=p>>16&255,m=p>>24&255;o[f*s]=A,o[f*s+1]=g,o[f*s+2]=m,o[f*s+3]=255}else(c[f]&l)==l?0==d[f]?(o[f*s]=0,o[f*s+1]=0,o[f*s+2]=0,o[f*s+3]=0):(d[f],o[f*s]=0,o[f*s+1]=0,o[f*s+2]=0,o[f*s+3]=255):(o[f*s]=0,o[f*s+1]=0,o[f*s+2]=0,o[f*s+3]=255)}else{if(1!=a)return i.Warn("The given cursor type is not supported: "+a+" given."),!1;if(this._sock.rQwait("VMware cursor alpha encoding",n*r*4,2))return!1;o=new Array(n*r*s);for(var v=0;v<n*r;v++){var y=this._sock.rQshift32();o[4*v]=y>>24&255,o[4*v+1]=y>>16&255,o[4*v+2]=y>>8&255,o[4*v+3]=255&y}}return this._updateCursor(o,e,t,n,r),!0}},{key:"_handleCursor",value:function(){var e=this._FBU.x,t=this._FBU.y,n=this._FBU.width,r=this._FBU.height,i=n*r*4,o=Math.ceil(n/8)*r,a=i+o;if(this._sock.rQwait("cursor encoding",a))return!1;for(var s=this._sock.rQshiftBytes(i),l=this._sock.rQshiftBytes(o),c=new Uint8Array(n*r*4),u=0,d=0;d<r;d++)for(var h=0;h<n;h++){var f=d*Math.ceil(n/8)+Math.floor(h/8),p=l[f]<<h%8&128?255:0;c[u]=s[u+2],c[u+1]=s[u+1],c[u+2]=s[u],c[u+3]=p,u+=4}return this._updateCursor(c,e,t,n,r),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var e=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",e,4))return!1;var t=this._sock.rQshiftStr(e);return t=(0,o.decodeUTF8)(t,!0),this._setDesktopName(t),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var e=this._sock.rQpeek8(),t=4+16*e;if(this._sock.rQwait("ExtendedDesktopSize",t))return!1;var n=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,n&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var r=0;r<e;r+=1)0===r?(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(1===this._FBU.x&&0!==this._FBU.y){var o="";switch(this._FBU.y){case 1:o="Resize is administratively prohibited";break;case 2:o="Out of resources";break;case 3:o="Invalid screen layout";break;default:o="Unknown reason";break}i.Warn("Server did not accept the resize request: "+o)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var e=this._decoders[this._FBU.encoding];if(!e)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return e.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(t){return this._fail("Error decoding rect: "+t),!1}}},{key:"_updateContinuousUpdates",value:function(){this._enabledContinuousUpdates&&n.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(e,t){this._fbWidth=e,this._fbHeight=t,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(e,t){this._rfbXvpVer<e||(i.Info("Sending XVP operation "+t+" (version "+e+")"),n.messages.xvpOp(this._sock,e,t))}},{key:"_updateCursor",value:function(e,t,n,r,i){this._cursorImage={rgbaPixels:e,hotx:t,hoty:n,w:r,h:i},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var e=3;e<this._cursorImage.rgbaPixels.length;e+=4)if(this._cursorImage.rgbaPixels[e])return!1;return!0}},{key:"_refreshCursor",value:function(){if("connecting"===this._rfbConnectionState||"connected"===this._rfbConnectionState){var e=this._shouldShowDotCursor()?n.cursors.dot:this._cursorImage;this._cursor.change(e.rgbaPixels,e.hotx,e.hoty,e.w,e.h)}}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(e){this._viewOnly=e,"connecting"!==this._rfbConnectionState&&"connected"!==this._rfbConnectionState||(e?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(e){i.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(e){this._clipViewport=e,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(e){this._scaleViewport=e,e&&this._clipViewport&&this._updateClip(),this._updateScale(),!e&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(e){this._resizeSession=e,e&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(e){this._showDotCursor=e,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(e){this._screen.style.background=e}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(e){!Number.isInteger(e)||e<0||e>9?i.Error("qualityLevel must be an integer between 0 and 9"):this._qualityLevel!==e&&(this._qualityLevel=e,"connected"===this._rfbConnectionState&&this._sendEncodings())}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(e){!Number.isInteger(e)||e<0||e>9?i.Error("compressionLevel must be an integer between 0 and 9"):this._compressionLevel!==e&&(this._compressionLevel=e,"connected"===this._rfbConnectionState&&this._sendEncodings())}}],[{key:"genDES",value:function(e,t){var n=e.split("").map((function(e){return e.charCodeAt(0)}));return new m["default"](n).encrypt(t)}}]),n}(c["default"]);t["default"]=ne,ne.messages={keyEvent:function(e,t,n){var r=e._sQ,i=e._sQlen;r[i]=4,r[i+1]=n,r[i+2]=0,r[i+3]=0,r[i+4]=t>>24,r[i+5]=t>>16,r[i+6]=t>>8,r[i+7]=t,e._sQlen+=8,e.flush()},QEMUExtendedKeyEvent:function(e,t,n,r){function i(e){var t=r>>8,n=255&r;return 224===t&&n<127?128|n:e}var o=e._sQ,a=e._sQlen;o[a]=255,o[a+1]=0,o[a+2]=n>>8,o[a+3]=n,o[a+4]=t>>24,o[a+5]=t>>16,o[a+6]=t>>8,o[a+7]=t;var s=i(r);o[a+8]=s>>24,o[a+9]=s>>16,o[a+10]=s>>8,o[a+11]=s,e._sQlen+=12,e.flush()},pointerEvent:function(e,t,n,r){var i=e._sQ,o=e._sQlen;i[o]=5,i[o+1]=r,i[o+2]=t>>8,i[o+3]=t,i[o+4]=n>>8,i[o+5]=n,e._sQlen+=6,e.flush()},_buildExtendedClipboardFlags:function(e,t){for(var n=new Uint8Array(4),r=0,i=0,o=0;o<e.length;o++)i|=e[o];for(var a=0;a<t.length;a++)r|=t[a];return n[0]=i>>24,n[1]=0,n[2]=0,n[3]=r,n},extendedClipboardProvide:function(e,t,n){for(var r=new h["default"],i=[],a=0;a<t.length;a++){if(t[a]!=Y)throw new Error("Unsupported extended clipboard format for Provide message.");n[a]=n[a].replace(/\r\n|\r|\n/gm,"\r\n");var s=(0,o.encodeUTF8)(n[a]+"\0");i.push(s.length>>24&255,s.length>>16&255,s.length>>8&255,255&s.length);for(var l=0;l<s.length;l++)i.push(s.charCodeAt(l))}var c=r.deflate(new Uint8Array(i)),u=new Uint8Array(4+c.length);u.set(ne.messages._buildExtendedClipboardFlags([te],t)),u.set(c,4),ne.messages.clientCutText(e,u,!0)},extendedClipboardNotify:function(e,t){var n=ne.messages._buildExtendedClipboardFlags([ee],t);ne.messages.clientCutText(e,n,!0)},extendedClipboardRequest:function(e,t){var n=ne.messages._buildExtendedClipboardFlags([J],t);ne.messages.clientCutText(e,n,!0)},extendedClipboardCaps:function(e,t,n){var r=Object.keys(n),i=new Uint8Array(4+4*r.length);r.map((function(e){return parseInt(e)})),r.sort((function(e,t){return e-t})),i.set(ne.messages._buildExtendedClipboardFlags(t,[]));for(var o=4,a=0;a<r.length;a++)i[o]=n[r[a]]>>24,i[o+1]=n[r[a]]>>16,i[o+2]=n[r[a]]>>8,i[o+3]=n[r[a]]>>0,o+=4,i[3]|=1<<r[a];ne.messages.clientCutText(e,i,!0)},clientCutText:function(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e._sQ,a=e._sQlen;o[a]=6,o[a+1]=0,o[a+2]=0,o[a+3]=0,n=i?(0,r.toUnsigned32bit)(-t.length):t.length,o[a+4]=n>>24,o[a+5]=n>>16,o[a+6]=n>>8,o[a+7]=n,e._sQlen+=8;var s=0,l=t.length;while(l>0){for(var c=Math.min(l,e._sQbufferSize-e._sQlen),u=0;u<c;u++)o[e._sQlen+u]=t[s+u];e._sQlen+=c,e.flush(),l-=c,s+=c}},setDesktopSize:function(e,t,n,r,i){var o=e._sQ,a=e._sQlen;o[a]=251,o[a+1]=0,o[a+2]=t>>8,o[a+3]=t,o[a+4]=n>>8,o[a+5]=n,o[a+6]=1,o[a+7]=0,o[a+8]=r>>24,o[a+9]=r>>16,o[a+10]=r>>8,o[a+11]=r,o[a+12]=0,o[a+13]=0,o[a+14]=0,o[a+15]=0,o[a+16]=t>>8,o[a+17]=t,o[a+18]=n>>8,o[a+19]=n,o[a+20]=i>>24,o[a+21]=i>>16,o[a+22]=i>>8,o[a+23]=i,e._sQlen+=24,e.flush()},clientFence:function(e,t,n){var r=e._sQ,i=e._sQlen;r[i]=248,r[i+1]=0,r[i+2]=0,r[i+3]=0,r[i+4]=t>>24,r[i+5]=t>>16,r[i+6]=t>>8,r[i+7]=t;var o=n.length;r[i+8]=o;for(var a=0;a<o;a++)r[i+9+a]=n.charCodeAt(a);e._sQlen+=9+o,e.flush()},enableContinuousUpdates:function(e,t,n,r,i,o){var a=e._sQ,s=e._sQlen;a[s]=150,a[s+1]=t,a[s+2]=n>>8,a[s+3]=n,a[s+4]=r>>8,a[s+5]=r,a[s+6]=i>>8,a[s+7]=i,a[s+8]=o>>8,a[s+9]=o,e._sQlen+=10,e.flush()},pixelFormat:function(e,t,n){var r,i=e._sQ,o=e._sQlen;r=t>16?32:t>8?16:8;var a=Math.floor(t/3);i[o]=0,i[o+1]=0,i[o+2]=0,i[o+3]=0,i[o+4]=r,i[o+5]=t,i[o+6]=0,i[o+7]=n?1:0,i[o+8]=0,i[o+9]=(1<<a)-1,i[o+10]=0,i[o+11]=(1<<a)-1,i[o+12]=0,i[o+13]=(1<<a)-1,i[o+14]=2*a,i[o+15]=1*a,i[o+16]=0*a,i[o+17]=0,i[o+18]=0,i[o+19]=0,e._sQlen+=20,e.flush()},clientEncodings:function(e,t){var n=e._sQ,r=e._sQlen;n[r]=2,n[r+1]=0,n[r+2]=t.length>>8,n[r+3]=t.length;for(var i=r+4,o=0;o<t.length;o++){var a=t[o];n[i]=a>>24,n[i+1]=a>>16,n[i+2]=a>>8,n[i+3]=a,i+=4}e._sQlen+=i-r,e.flush()},fbUpdateRequest:function(e,t,n,r,i,o){var a=e._sQ,s=e._sQlen;"undefined"===typeof n&&(n=0),"undefined"===typeof r&&(r=0),a[s]=3,a[s+1]=t?1:0,a[s+2]=n>>8&255,a[s+3]=255&n,a[s+4]=r>>8&255,a[s+5]=255&r,a[s+6]=i>>8&255,a[s+7]=255&i,a[s+8]=o>>8&255,a[s+9]=255&o,e._sQlen+=10,e.flush()},xvpOp:function(e,t,n){var r=e._sQ,i=e._sQlen;r[i]=250,r[i+1]=0,r[i+2]=t,r[i+3]=n,e._sQlen+=4,e.flush()}},ne.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(e,t,n){(function(e){e(n("VrN/"))})((function(e){"use strict";var t={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},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",(function(r,i){var o,a,s=r.indentUnit,l={},c=i.htmlMode?t:n;for(var u in c)l[u]=c[u];for(var u in i)l[u]=i[u];function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var r,i=e.next();return"<"==i?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(p("atom","]]>")):null:e.match("--")?n(p("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(A(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=p("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=h,"tag bracket"):"&"==i?(r=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),r?"atom":"error"):(e.eatWhile(/[^&<]/),null)}function h(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=d,o=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return o="equals",null;if("<"==n){t.tokenize=d,t.state=y,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=f(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function f(e){var t=function(t,n){while(!t.eol())if(t.next()==e){n.tokenize=h;break}return"string"};return t.isInAttribute=!0,t}function p(e,t){return function(n,r){while(!n.eol()){if(n.match(t)){r.tokenize=d;break}n.next()}return e}}function A(e){return function(t,n){var r;while(null!=(r=t.next())){if("<"==r)return n.tokenize=A(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=d;break}return n.tokenize=A(e-1),n.tokenize(t,n)}}return"meta"}}function g(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function m(e){e.context&&(e.context=e.context.prev)}function v(e,t){var n;while(1){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;m(e)}}function y(e,t,n){return"openTag"==e?(n.tagStart=t.column(),b):"closeTag"==e?_:y}function b(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",C):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",C(e,t,n)):(a="error",b)}function _(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&m(n),n.context&&n.context.tagName==r||!1===l.matchClosing?(a="tag",w):(a="tag error",x)}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",w(e,t,n)):(a="error",x)}function w(e,t,n){return"endTag"!=e?(a="error",w):(m(n),y)}function x(e,t,n){return a="error",w(e,t,n)}function C(e,t,n){if("word"==e)return a="attribute",S;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(r)?v(n,r):(v(n,r),n.context=new g(n,r,i==n.indented)),y}return a="error",C}function S(e,t,n){return"equals"==e?k:(l.allowMissing||(a="error"),C(e,t,n))}function k(e,t,n){return"string"==e?E:"word"==e&&l.allowUnquoted?(a="string",C):(a="error",C(e,t,n))}function E(e,t,n){return"string"==e?E:C(e,t,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:y,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(a=null,t.state=t.state(o||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=h&&t.tokenize!=d)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var o=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(o&&o[1])while(i){if(i.tagName==o[2]){i=i.prev;break}if(!l.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev}else if(o)while(i){var a=l.contextGrabbers[i.tagName];if(!a||!a.hasOwnProperty(o[2]))break;i=i.prev}while(i&&i.prev&&!i.startOfLine)i=i.prev;return i?i.indent+s:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==k&&(e.state=C)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],n=e.context;n;n=n.prev)n.tagName&&t.push(n.tagName);return t.reverse()}}})),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}))},"1hJj":function(e,t,n){var r=n("e4Nc"),i=n("ftKO"),o=n("3A9y");function a(e){var t=-1,n=null==e?0:e.length;this.__data__=new r;while(++t<n)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},"1n7x":function(e,t,n){(function(t,r){(function(t,r){e.exports=r(n("dtIV"),n("wOnQ"))})(self,(function(e,n){return function(){var i={"./src/plugin/hyperlinks.js":function(e,t,n){"use strict";n.r(t);n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),n("./node_modules/core-js/modules/es.string.link.js");var r=n("./src/worker.js"),i=n("./src/utils.js"),o=[],a={toContainer:r["default"].prototype.toContainer,toPdf:r["default"].prototype.toPdf};r["default"].prototype.toContainer=function(){return a.toContainer.call(this).then((function(){if(this.opt.enableLinks){var e=this.prop.container,t=e.querySelectorAll("a"),n=(0,i.unitConvert)(e.getBoundingClientRect(),this.prop.pageSize.k);o=[],Array.prototype.forEach.call(t,(function(e){for(var t=e.getClientRects(),r=0;r<t.length;r++){var a=(0,i.unitConvert)(t[r],this.prop.pageSize.k);a.left-=n.left,a.top-=n.top;var s=Math.floor(a.top/this.prop.pageSize.inner.height)+1,l=this.opt.margin[0]+a.top%this.prop.pageSize.inner.height,c=this.opt.margin[1]+a.left;o.push({page:s,top:l,left:c,clientRect:a,link:e})}}),this)}}))},r["default"].prototype.toPdf=function(){return a.toPdf.call(this).then((function(){if(this.opt.enableLinks){o.forEach((function(e){this.prop.pdf.setPage(e.page),this.prop.pdf.link(e.left,e.top,e.clientRect.width,e.clientRect.height,{url:e.link.href})}),this);var e=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(e)}}))}},"./src/plugin/jspdf-plugin.js":function(e,t,n){"use strict";n.r(t);n("./node_modules/core-js/modules/es.symbol.js"),n("./node_modules/core-js/modules/es.symbol.description.js"),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/es.symbol.iterator.js"),n("./node_modules/core-js/modules/es.array.iterator.js"),n("./node_modules/core-js/modules/es.string.iterator.js"),n("./node_modules/core-js/modules/web.dom-collections.iterator.js");var r=n("jspdf");function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}r.jsPDF.getPageSize=function(e,t,n){if("object"===i(e)){var r=e;e=r.orientation,t=r.unit||t,n=r.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var o=(""+n).toLowerCase(),a={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(t){case"pt":var s=1;break;case"mm":s=72/25.4;break;case"cm":s=72/2.54;break;case"in":s=72;break;case"px":s=.75;break;case"pc":s=12;break;case"em":s=12;break;case"ex":s=6;break;default:throw"Invalid unit: "+t}if(a.hasOwnProperty(o))var l=a[o][1]/s,c=a[o][0]/s;else try{l=n[1],c=n[0]}catch(h){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e){if(e="p",c>l){var u=c;c=l,l=u}}else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;if(e="l",l>c){u=c;c=l,l=u}}var d={width:c,height:l,unit:t,k:s};return d},t["default"]=r.jsPDF},"./src/plugin/pagebreaks.js":function(e,t,n){"use strict";n.r(t);n("./node_modules/core-js/modules/es.array.concat.js"),n("./node_modules/core-js/modules/es.array.slice.js"),n("./node_modules/core-js/modules/es.array.join.js"),n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),n("./node_modules/core-js/modules/es.object.keys.js");var r=n("./src/worker.js"),i=n("./src/utils.js"),o={toContainer:r["default"].prototype.toContainer};r["default"].template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},r["default"].prototype.toContainer=function(){return o.toContainer.call(this).then((function(){var e=this.prop.container,t=this.prop.pageSize.inner.px.height,n=[].concat(this.opt.pagebreak.mode),r={avoidAll:-1!==n.indexOf("avoid-all"),css:-1!==n.indexOf("css"),legacy:-1!==n.indexOf("legacy")},o={},a=this;["before","after","avoid"].forEach((function(t){var n=r.avoidAll&&"avoid"===t;o[t]=n?[]:[].concat(a.opt.pagebreak[t]||[]),o[t].length>0&&(o[t]=Array.prototype.slice.call(e.querySelectorAll(o[t].join(", "))))}));var s=e.querySelectorAll(".html2pdf__page-break");s=Array.prototype.slice.call(s);var l=e.querySelectorAll("*");Array.prototype.forEach.call(l,(function(e){var n={before:!1,after:r.legacy&&-1!==s.indexOf(e),avoid:r.avoidAll};if(r.css){var a=window.getComputedStyle(e),l=["always","page","left","right"],c=["avoid","avoid-page"];n={before:n.before||-1!==l.indexOf(a.breakBefore||a.pageBreakBefore),after:n.after||-1!==l.indexOf(a.breakAfter||a.pageBreakAfter),avoid:n.avoid||-1!==c.indexOf(a.breakInside||a.pageBreakInside)}}Object.keys(n).forEach((function(t){n[t]=n[t]||-1!==o[t].indexOf(e)}));var u=e.getBoundingClientRect();if(n.avoid&&!n.before){var d=Math.floor(u.top/t),h=Math.floor(u.bottom/t),f=Math.abs(u.bottom-u.top)/t;h!==d&&f<=1&&(n.before=!0)}if(n.before){var p=(0,i.createElement)("div",{style:{display:"block",height:t-u.top%t+"px"}});e.parentNode.insertBefore(p,e)}if(n.after){p=(0,i.createElement)("div",{style:{display:"block",height:t-u.bottom%t+"px"}});e.parentNode.insertBefore(p,e.nextSibling)}}))}))}},"./src/utils.js":function(e,t,n){"use strict";n.r(t),n.d(t,{objType:function(){return i},createElement:function(){return o},cloneNode:function(){return a},unitConvert:function(){return s},toPx:function(){return l}});n("./node_modules/core-js/modules/es.number.constructor.js"),n("./node_modules/core-js/modules/es.symbol.js"),n("./node_modules/core-js/modules/es.symbol.description.js"),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/es.symbol.iterator.js"),n("./node_modules/core-js/modules/es.array.iterator.js"),n("./node_modules/core-js/modules/es.string.iterator.js"),n("./node_modules/core-js/modules/web.dom-collections.iterator.js");function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i=function(e){var t=r(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},o=function(e,t){var n=document.createElement(e);if(t.className&&(n.className=t.className),t.innerHTML){n.innerHTML=t.innerHTML;for(var r=n.getElementsByTagName("script"),i=r.length;i-- >0;null)r[i].parentNode.removeChild(r[i])}for(var o in t.style)n.style[o]=t.style[o];return n},a=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),i=t.firstChild;i;i=i.nextSibling)!0!==n&&1===i.nodeType&&"SCRIPT"===i.nodeName||r.appendChild(e(i,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r},s=function(e,t){if("number"===i(e))return 72*e/96/t;var n={};for(var r in e)n[r]=72*e[r]/96/t;return n},l=function(e,t){return Math.floor(e*t/72*96)}},"./src/worker.js":function(e,t,n){"use strict";n.r(t);n("./node_modules/core-js/modules/es.object.assign.js"),n("./node_modules/core-js/modules/es.array.map.js"),n("./node_modules/core-js/modules/es.object.keys.js"),n("./node_modules/core-js/modules/es.array.concat.js"),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/es.regexp.to-string.js"),n("./node_modules/core-js/modules/es.function.name.js"),n("./node_modules/core-js/modules/web.dom-collections.for-each.js");var r=n("jspdf"),i=n("html2canvas"),o=n("./src/utils.js"),a=n("./node_modules/es6-promise/dist/es6-promise.js"),s=n.n(a),l=s().Promise,c=function e(t){var n=Object.assign(e.convert(l.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(l.resolve(),n);return r=r.setProgress(1,e,1,[e]),r=r.set(t),r};c.prototype=Object.create(l.prototype),c.prototype.constructor=c,c.convert=function(e,t){return e.__proto__=t||c.prototype,e},c.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:{}}},c.prototype.from=function(e,t){function n(e){switch((0,o.objType)(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase?"canvas":"element";default:return"unknown"}}return this.then((function(){switch(t=t||n(e),t){case"string":return this.set({src:(0,o.createElement)("div",{innerHTML:e})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},c.prototype.to=function(e){switch(e){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.")}},c.prototype.toContainer=function(){var e=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(e).then((function(){var e={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},t={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};e.opacity=0;var n=(0,o.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,o.createElement)("div",{className:"html2pdf__overlay",style:e}),this.prop.container=(0,o.createElement)("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(n),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)}))},c.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then((function(){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,i(this.prop.container,e)})).then((function(e){var t=this.opt.html2canvas.onrendered||function(){};t(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},c.prototype.toImg=function(){var e=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(e).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},c.prototype.toPdf=function(){var e=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(e).then((function(){var e=this.prop.canvas,t=this.opt,n=e.height,i=Math.floor(e.width*this.prop.pageSize.inner.ratio),o=Math.ceil(n/i),a=this.prop.pageSize.inner.height,s=document.createElement("canvas"),l=s.getContext("2d");s.width=e.width,s.height=i,this.prop.pdf=this.prop.pdf||new r.jsPDF(t.jsPDF);for(var c=0;c<o;c++){c===o-1&&n%i!==0&&(s.height=n%i,a=s.height*this.prop.pageSize.inner.width/s.width);var u=s.width,d=s.height;l.fillStyle="white",l.fillRect(0,0,u,d),l.drawImage(e,0,c*i,u,d,0,0,u,d),c&&this.prop.pdf.addPage();var h=s.toDataURL("image/"+t.image.type,t.image.quality);this.prop.pdf.addImage(h,t.image.type,t.margin[1],t.margin[0],this.prop.pageSize.inner.width,a)}}))},c.prototype.output=function(e,t,n){return n=n||"pdf","img"===n.toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},c.prototype.outputPdf=function(e,t){var n=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(n).then((function(){return this.prop.pdf.output(e,t)}))},c.prototype.outputImg=function(e,t){var n=[function(){return this.prop.img||this.toImg()}];return this.thenList(n).then((function(){switch(e){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 "'+e+'" is not supported.'}}))},c.prototype.save=function(e){var t=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(t).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},c.prototype.set=function(e){if("object"!==(0,o.objType)(e))return this;var t=Object.keys(e||{}).map((function(t){switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return t in c.template.prop?function(){this.prop[t]=e[t]}:function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},c.prototype.get=function(e,t){return this.then((function(){var n=e in c.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},c.prototype.setMargin=function(e){return this.then((function(){switch((0,o.objType)(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},c.prototype.setPageSize=function(e){return this.then((function(){e=e||r.jsPDF.getPageSize(this.opt.jsPDF),e.hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:(0,o.toPx)(e.inner.width,e.k),height:(0,o.toPx)(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},c.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},c.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},c.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),l.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},c.prototype.thenCore=function(e,t,n){n=n||l.prototype.then;var r=this;e&&(e=e.bind(r)),t&&(t=t.bind(r));var i=-1!==l.toString().indexOf("[native code]")&&"Promise"===l.name,o=i?r:c.convert(Object.assign({},r),l.prototype),a=n.call(o,e,t);return c.convert(a,r.__proto__)},c.prototype.thenExternal=function(e,t){return l.prototype.then.call(this,e,t)},c.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},c.prototype["catch"]=function(e){e&&(e=e.bind(this));var t=l.prototype["catch"].call(this,e);return c.convert(t,this)},c.prototype.catchExternal=function(e){return l.prototype["catch"].call(this,e)},c.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},c.prototype.using=c.prototype.set,c.prototype.saveAs=c.prototype.save,c.prototype["export"]=c.prototype.output,c.prototype.run=c.prototype.then,t["default"]=c},"./node_modules/core-js/internals/a-function.js":function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"./node_modules/core-js/internals/a-possible-prototype.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"./node_modules/core-js/internals/add-to-unscopables.js":function(e,t,n){var r=n("./node_modules/core-js/internals/well-known-symbol.js"),i=n("./node_modules/core-js/internals/object-create.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"./node_modules/core-js/internals/an-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"./node_modules/core-js/internals/array-for-each.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/array-iteration.js").forEach,i=n("./node_modules/core-js/internals/array-method-is-strict.js"),o=i("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-indexed-object.js"),i=n("./node_modules/core-js/internals/to-length.js"),o=n("./node_modules/core-js/internals/to-absolute-index.js"),a=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-bind-context.js"),i=n("./node_modules/core-js/internals/indexed-object.js"),o=n("./node_modules/core-js/internals/to-object.js"),a=n("./node_modules/core-js/internals/to-length.js"),s=n("./node_modules/core-js/internals/array-species-create.js"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,h=7==e,f=5==e||d;return function(p,A,g,m){for(var v,y,b=o(p),_=i(b),w=r(A,g,3),x=a(_.length),C=0,S=m||s,k=t?S(p,x):n||h?S(p,0):void 0;x>C;C++)if((f||C in _)&&(v=_[C],y=w(v,C,b),e))if(t)k[C]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return C;case 2:l.call(k,v)}else switch(e){case 4:return!1;case 7:l.call(k,v)}return d?-1:c||u?u:k}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/well-known-symbol.js"),o=n("./node_modules/core-js/internals/engine-v8-version.js"),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"./node_modules/core-js/internals/array-method-is-strict.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/fails.js");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},"./node_modules/core-js/internals/array-species-constructor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js"),i=n("./node_modules/core-js/internals/is-array.js"),o=n("./node_modules/core-js/internals/well-known-symbol.js"),a=o("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)?r(t)&&(t=t[a],null===t&&(t=void 0)):t=void 0),void 0===t?Array:t}},"./node_modules/core-js/internals/array-species-create.js":function(e,t,n){var r=n("./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(e,t){return new(r(e))(0===t?0:t)}},"./node_modules/core-js/internals/classof-raw.js":function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-string-tag-support.js"),i=n("./node_modules/core-js/internals/classof-raw.js"),o=n("./node_modules/core-js/internals/well-known-symbol.js"),a=o("toStringTag"),s="Arguments"==i(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),a))?n:s?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,t,n){var r=n("./node_modules/core-js/internals/has.js"),i=n("./node_modules/core-js/internals/own-keys.js"),o=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=n("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},"./node_modules/core-js/internals/create-html.js":function(e,t,n){var r=n("./node_modules/core-js/internals/require-object-coercible.js"),i=n("./node_modules/core-js/internals/to-string.js"),o=/"/g;e.exports=function(e,t,n,a){var s=i(r(e)),l="<"+t;return""!==n&&(l+=" "+n+'="'+i(a).replace(o,""")+'"'),l+">"+s+"</"+t+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,i=n("./node_modules/core-js/internals/object-create.js"),o=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/set-to-string-tag.js"),s=n("./node_modules/core-js/internals/iterators.js"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,c,!1,!0),s[c]=l,e}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/object-define-property.js"),o=n("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"./node_modules/core-js/internals/create-property.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/to-property-key.js"),i=n("./node_modules/core-js/internals/object-define-property.js"),o=n("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},"./node_modules/core-js/internals/define-iterator.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/create-iterator-constructor.js"),o=n("./node_modules/core-js/internals/object-get-prototype-of.js"),a=n("./node_modules/core-js/internals/object-set-prototype-of.js"),s=n("./node_modules/core-js/internals/set-to-string-tag.js"),l=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=n("./node_modules/core-js/internals/redefine.js"),u=n("./node_modules/core-js/internals/well-known-symbol.js"),d=n("./node_modules/core-js/internals/is-pure.js"),h=n("./node_modules/core-js/internals/iterators.js"),f=n("./node_modules/core-js/internals/iterators-core.js"),p=f.IteratorPrototype,A=f.BUGGY_SAFARI_ITERATORS,g=u("iterator"),m="keys",v="values",y="entries",b=function(){return this};e.exports=function(e,t,n,u,f,_,w){i(n,t,u);var x,C,S,k=function(e){if(e===f&&T)return T;if(!A&&e in B)return B[e];switch(e){case m:return function(){return new n(this,e)};case v:return function(){return new n(this,e)};case y:return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",O=!1,B=e.prototype,M=B[g]||B["@@iterator"]||f&&B[f],T=!A&&M||k(f),I="Array"==t&&B.entries||M;if(I&&(x=o(I.call(new e)),p!==Object.prototype&&x.next&&(d||o(x)===p||(a?a(x,p):"function"!=typeof x[g]&&l(x,g,b)),s(x,E,!0,!0),d&&(h[E]=b))),f==v&&M&&M.name!==v&&(O=!0,T=function(){return M.call(this)}),d&&!w||B[g]===T||l(B,g,T),h[t]=T,f)if(C={values:k(v),keys:_?T:k(m),entries:k(y)},w)for(S in C)(A||O||!(S in B))&&c(B,S,C[S]);else r({target:t,proto:!0,forced:A||O},C);return C}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/path.js"),i=n("./node_modules/core-js/internals/has.js"),o=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),a=n("./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},"./node_modules/core-js/internals/descriptors.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"./node_modules/core-js/internals/document-create-element.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/is-object.js"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},"./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,t,n){var r=n("./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,t,n){var r,i,o=n("./node_modules/core-js/internals/global.js"),a=n("./node_modules/core-js/internals/engine-user-agent.js"),s=o.process,l=o.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u?(r=u.split("."),i=r[0]<4?1:r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},"./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,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,o=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/set-global.js"),l=n("./node_modules/core-js/internals/copy-constructor-properties.js"),c=n("./node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var n,u,d,h,f,p,A=e.target,g=e.global,m=e.stat;if(u=g?r:m?r[A]||s(A,{}):(r[A]||{}).prototype,u)for(d in t){if(f=t[d],e.noTargetGet?(p=i(u,d),h=p&&p.value):h=u[d],n=c(g?d:A+(m?".":"#")+d,e.forced),!n&&void 0!==h){if(typeof f===typeof h)continue;l(f,h)}(e.sham||h&&h.sham)&&o(f,"sham",!0),a(u,d,f,e)}}},"./node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-function.js");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},"./node_modules/core-js/internals/global.js":function(e){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-object.js"),i={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return i.call(r(e),t)}},"./node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"./node_modules/core-js/internals/html.js":function(e,t,n){var r=n("./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,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/document-create-element.js");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"./node_modules/core-js/internals/indexed-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/classof-raw.js"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js"),i=n("./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(e,t,n){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},"./node_modules/core-js/internals/inspect-source.js":function(e,t,n){var r=n("./node_modules/core-js/internals/shared-store.js"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(e,t,n){var r,i,o,a=n("./node_modules/core-js/internals/native-weak-map.js"),s=n("./node_modules/core-js/internals/global.js"),l=n("./node_modules/core-js/internals/is-object.js"),c=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=n("./node_modules/core-js/internals/has.js"),d=n("./node_modules/core-js/internals/shared-store.js"),h=n("./node_modules/core-js/internals/shared-key.js"),f=n("./node_modules/core-js/internals/hidden-keys.js"),p="Object already initialized",A=s.WeakMap,g=function(e){return o(e)?i(e):r(e,{})},m=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a||d.state){var v=d.state||(d.state=new A),y=v.get,b=v.has,_=v.set;r=function(e,t){if(b.call(v,e))throw new TypeError(p);return t.facade=e,_.call(v,e,t),t},i=function(e){return y.call(v,e)||{}},o=function(e){return b.call(v,e)}}else{var w=h("state");f[w]=!0,r=function(e,t){if(u(e,w))throw new TypeError(p);return t.facade=e,c(e,w,t),t},i=function(e){return u(e,w)?e[w]:{}},o=function(e){return u(e,w)}}e.exports={set:r,get:i,has:o,enforce:g,getterFor:m}},"./node_modules/core-js/internals/is-array.js":function(e,t,n){var r=n("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"./node_modules/core-js/internals/is-forced.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},"./node_modules/core-js/internals/is-object.js":function(e){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},"./node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/get-built-in.js"),i=n("./node_modules/core-js/internals/use-symbol-as-uid.js");e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return"function"==typeof t&&Object(e)instanceof t}},"./node_modules/core-js/internals/iterators-core.js":function(e,t,n){"use strict";var r,i,o,a=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/object-get-prototype-of.js"),l=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=n("./node_modules/core-js/internals/has.js"),u=n("./node_modules/core-js/internals/well-known-symbol.js"),d=n("./node_modules/core-js/internals/is-pure.js"),h=u("iterator"),f=!1,p=function(){return this};[].keys&&(o=[].keys(),"next"in o?(i=s(s(o)),i!==Object.prototype&&(r=i)):f=!0);var A=void 0==r||a((function(){var e={};return r[h].call(e)!==e}));A&&(r={}),d&&!A||c(r,h)||l(r,h,p),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},"./node_modules/core-js/internals/iterators.js":function(e){e.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/engine-v8-version.js"),i=n("./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"./node_modules/core-js/internals/native-weak-map.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/inspect-source.js"),o=r.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},"./node_modules/core-js/internals/object-assign.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/object-keys.js"),a=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),s=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),l=n("./node_modules/core-js/internals/to-object.js"),c=n("./node_modules/core-js/internals/indexed-object.js"),u=Object.assign,d=Object.defineProperty;e.exports=!u||i((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||o(u({},t)).join("")!=i}))?function(e,t){var n=l(e),i=arguments.length,u=1,d=a.f,h=s.f;while(i>u){var f,p=c(arguments[u++]),A=d?o(p).concat(d(p)):o(p),g=A.length,m=0;while(g>m)f=A[m++],r&&!h.call(p,f)||(n[f]=p[f])}return n}:u},"./node_modules/core-js/internals/object-create.js":function(e,t,n){var r,i=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/object-define-properties.js"),a=n("./node_modules/core-js/internals/enum-bug-keys.js"),s=n("./node_modules/core-js/internals/hidden-keys.js"),l=n("./node_modules/core-js/internals/html.js"),c=n("./node_modules/core-js/internals/document-create-element.js"),u=n("./node_modules/core-js/internals/shared-key.js"),d=">",h="<",f="prototype",p="script",A=u("IE_PROTO"),g=function(){},m=function(e){return h+p+d+e+h+"/"+p+d},v=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=c("iframe"),n="java"+p+":";if(t.style)return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(m("document.F=Object")),e.close(),e.F},b=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}b=document.domain&&r?v(r):y()||v(r);var e=a.length;while(e--)delete b[f][a[e]];return b()};s[A]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(g[f]=i(e),n=new g,g[f]=null,n[A]=e):n=b(),void 0===t?n:o(n,t)}},"./node_modules/core-js/internals/object-define-properties.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/object-define-property.js"),o=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/object-keys.js");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=a(t),s=r.length,l=0;while(s>l)i.f(e,n=r[l++],t[n]);return e}},"./node_modules/core-js/internals/object-define-property.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/ie8-dom-define.js"),o=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/to-property-key.js"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t),o(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),o=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/to-property-key.js"),l=n("./node_modules/core-js/internals/has.js"),c=n("./node_modules/core-js/internals/ie8-dom-define.js"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t),c)try{return u(e,t)}catch(n){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-indexed-object.js"),i=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-keys-internal.js"),i=n("./node_modules/core-js/internals/enum-bug-keys.js"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/has.js"),i=n("./node_modules/core-js/internals/to-object.js"),o=n("./node_modules/core-js/internals/shared-key.js"),a=n("./node_modules/core-js/internals/correct-prototype-getter.js"),s=o("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(e,t,n){var r=n("./node_modules/core-js/internals/has.js"),i=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/array-includes.js").indexOf,a=n("./node_modules/core-js/internals/hidden-keys.js");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},"./node_modules/core-js/internals/object-keys.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-keys-internal.js"),i=n("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return r(e,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/an-object.js"),i=n("./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/to-string-tag-support.js"),i=n("./node_modules/core-js/internals/classof.js");e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e,t){var n,i;if("string"===t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if("string"!==t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(e,t,n){var r=n("./node_modules/core-js/internals/get-built-in.js"),i=n("./node_modules/core-js/internals/object-get-own-property-names.js"),o=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=n("./node_modules/core-js/internals/an-object.js");e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},"./node_modules/core-js/internals/path.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js");e.exports=r},"./node_modules/core-js/internals/redefine.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),o=n("./node_modules/core-js/internals/has.js"),a=n("./node_modules/core-js/internals/set-global.js"),s=n("./node_modules/core-js/internals/inspect-source.js"),l=n("./node_modules/core-js/internals/internal-state.js"),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l,c=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l=u(n),l.source||(l.source=d.join("string"==typeof t?t:""))),e!==r?(c?!f&&e[t]&&(h=!0):delete e[t],h?e[t]=n:i(e,t,n)):h?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},"./node_modules/core-js/internals/regexp-flags.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/an-object.js");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/require-object-coercible.js":function(e){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/internals/set-global.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js");e.exports=function(e,t){try{Object.defineProperty(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-define-property.js").f,i=n("./node_modules/core-js/internals/has.js"),o=n("./node_modules/core-js/internals/well-known-symbol.js"),a=o("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},"./node_modules/core-js/internals/shared-key.js":function(e,t,n){var r=n("./node_modules/core-js/internals/shared.js"),i=n("./node_modules/core-js/internals/uid.js"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},"./node_modules/core-js/internals/shared-store.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/set-global.js"),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},"./node_modules/core-js/internals/shared.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-pure.js"),i=n("./node_modules/core-js/internals/shared-store.js");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("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,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},"./node_modules/core-js/internals/string-multibyte.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-integer.js"),i=n("./node_modules/core-js/internals/to-string.js"),o=n("./node_modules/core-js/internals/require-object-coercible.js"),a=function(e){return function(t,n){var a,s,l=i(o(t)),c=r(n),u=l.length;return c<0||c>=u?e?"":void 0:(a=l.charCodeAt(c),a<55296||a>56319||c+1===u||(s=l.charCodeAt(c+1))<56320||s>57343?e?l.charAt(c):a:e?l.slice(c,c+2):s-56320+(a-55296<<10)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},"./node_modules/core-js/internals/string-trim.js":function(e,t,n){var r=n("./node_modules/core-js/internals/require-object-coercible.js"),i=n("./node_modules/core-js/internals/to-string.js"),o=n("./node_modules/core-js/internals/whitespaces.js"),a="["+o+"]",s=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),c=function(e){return function(t){var n=i(r(t));return 1&e&&(n=n.replace(s,"")),2&e&&(n=n.replace(l,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-integer.js"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"./node_modules/core-js/internals/to-indexed-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/indexed-object.js"),i=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return r(i(e))}},"./node_modules/core-js/internals/to-integer.js":function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},"./node_modules/core-js/internals/to-length.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-integer.js"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return Object(r(e))}},"./node_modules/core-js/internals/to-primitive.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js"),i=n("./node_modules/core-js/internals/is-symbol.js"),o=n("./node_modules/core-js/internals/ordinary-to-primitive.js"),a=n("./node_modules/core-js/internals/well-known-symbol.js"),s=a("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var n,a=e[s];if(void 0!==a){if(void 0===t&&(t="default"),n=a.call(e,t),!r(n)||i(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}},"./node_modules/core-js/internals/to-property-key.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-primitive.js"),i=n("./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var t=r(e,"string");return i(t)?t:String(t)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(e,t,n){var r=n("./node_modules/core-js/internals/well-known-symbol.js"),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"./node_modules/core-js/internals/to-string.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){if(r(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},"./node_modules/core-js/internals/uid.js":function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(e,t,n){var r=n("./node_modules/core-js/internals/native-symbol.js");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(e,t,n){var r=n("./node_modules/core-js/internals/well-known-symbol.js");t.f=r},"./node_modules/core-js/internals/well-known-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/shared.js"),o=n("./node_modules/core-js/internals/has.js"),a=n("./node_modules/core-js/internals/uid.js"),s=n("./node_modules/core-js/internals/native-symbol.js"),l=n("./node_modules/core-js/internals/use-symbol-as-uid.js"),c=i("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return o(c,e)&&(s||"string"==typeof c[e])||(s&&o(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},"./node_modules/core-js/internals/whitespaces.js":function(e){e.exports="\t\n\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,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/is-array.js"),a=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/to-object.js"),l=n("./node_modules/core-js/internals/to-length.js"),c=n("./node_modules/core-js/internals/create-property.js"),u=n("./node_modules/core-js/internals/array-species-create.js"),d=n("./node_modules/core-js/internals/array-method-has-species-support.js"),h=n("./node_modules/core-js/internals/well-known-symbol.js"),f=n("./node_modules/core-js/internals/engine-v8-version.js"),p=h("isConcatSpreadable"),A=9007199254740991,g="Maximum allowed index exceeded",m=f>=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),v=d("concat"),y=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)},b=!m||!v;r({target:"Array",proto:!0,forced:b},{concat:function(e){var t,n,r,i,o,a=s(this),d=u(a,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(o=-1===t?a:arguments[t],y(o)){if(i=l(o.length),h+i>A)throw TypeError(g);for(n=0;n<i;n++,h++)n in o&&c(d,h,o[n])}else{if(h>=A)throw TypeError(g);c(d,h++,o)}return d.length=h,d}})},"./node_modules/core-js/modules/es.array.iterator.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/to-indexed-object.js"),i=n("./node_modules/core-js/internals/add-to-unscopables.js"),o=n("./node_modules/core-js/internals/iterators.js"),a=n("./node_modules/core-js/internals/internal-state.js"),s=n("./node_modules/core-js/internals/define-iterator.js"),l="Array Iterator",c=a.set,u=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},"./node_modules/core-js/modules/es.array.join.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/indexed-object.js"),o=n("./node_modules/core-js/internals/to-indexed-object.js"),a=n("./node_modules/core-js/internals/array-method-is-strict.js"),s=[].join,l=i!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(o(this),void 0===e?",":e)}})},"./node_modules/core-js/modules/es.array.map.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/array-iteration.js").map,o=n("./node_modules/core-js/internals/array-method-has-species-support.js"),a=o("map");r({target:"Array",proto:!0,forced:!a},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/is-object.js"),o=n("./node_modules/core-js/internals/is-array.js"),a=n("./node_modules/core-js/internals/to-absolute-index.js"),s=n("./node_modules/core-js/internals/to-length.js"),l=n("./node_modules/core-js/internals/to-indexed-object.js"),c=n("./node_modules/core-js/internals/create-property.js"),u=n("./node_modules/core-js/internals/well-known-symbol.js"),d=n("./node_modules/core-js/internals/array-method-has-species-support.js"),h=d("slice"),f=u("species"),p=[].slice,A=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,u,d=l(this),h=s(d.length),g=a(e,h),m=a(void 0===t?h:t,h);if(o(d)&&(n=d.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?i(n)&&(n=n[f],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return p.call(d,g,m);for(r=new(void 0===n?Array:n)(A(m-g,0)),u=0;g<m;g++,u++)g in d&&c(r,u,d[g]);return r.length=u,r}})},"./node_modules/core-js/modules/es.function.name.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/object-define-property.js").f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,l="name";r&&!(l in o)&&i(o,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/is-forced.js"),a=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/has.js"),l=n("./node_modules/core-js/internals/classof-raw.js"),c=n("./node_modules/core-js/internals/inherit-if-required.js"),u=n("./node_modules/core-js/internals/is-symbol.js"),d=n("./node_modules/core-js/internals/to-primitive.js"),h=n("./node_modules/core-js/internals/fails.js"),f=n("./node_modules/core-js/internals/object-create.js"),p=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,A=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,g=n("./node_modules/core-js/internals/object-define-property.js").f,m=n("./node_modules/core-js/internals/string-trim.js").trim,v="Number",y=i[v],b=y.prototype,_=l(f(b))==v,w=function(e){if(u(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,r,i,o,a,s,l,c=d(e,"number");if("string"==typeof c&&c.length>2)if(c=m(c),t=c.charCodeAt(0),43===t||45===t){if(n=c.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(o=c.slice(2),a=o.length,s=0;s<a;s++)if(l=o.charCodeAt(s),l<48||l>i)return NaN;return parseInt(o,r)}return+c};if(o(v,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var x,C=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof C&&(_?h((function(){b.valueOf.call(n)})):l(n)!=v)?c(new y(w(t)),n,C):w(t)},S=r?p(y):"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(","),k=0;S.length>k;k++)s(y,x=S[k])&&!s(C,x)&&g(C,x,A(y,x));C.prototype=b,b.constructor=C,a(i,v,C)}},"./node_modules/core-js/modules/es.object.assign.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/object-assign.js");r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},"./node_modules/core-js/modules/es.object.keys.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/to-object.js"),o=n("./node_modules/core-js/internals/object-keys.js"),a=n("./node_modules/core-js/internals/fails.js"),s=a((function(){o(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(e){return o(i(e))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-string-tag-support.js"),i=n("./node_modules/core-js/internals/redefine.js"),o=n("./node_modules/core-js/internals/object-to-string.js");r||i(Object.prototype,"toString",o,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/redefine.js"),i=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/to-string.js"),a=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/regexp-flags.js"),l="toString",c=RegExp.prototype,u=c[l],d=a((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),h=u.name!=l;(d||h)&&r(RegExp.prototype,l,(function(){var e=i(this),t=o(e.source),n=e.flags,r=o(void 0===n&&e instanceof RegExp&&!("flags"in c)?s.call(e):n);return"/"+t+"/"+r}),{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/string-multibyte.js").charAt,i=n("./node_modules/core-js/internals/to-string.js"),o=n("./node_modules/core-js/internals/internal-state.js"),a=n("./node_modules/core-js/internals/define-iterator.js"),s="String Iterator",l=o.set,c=o.getterFor(s);a(String,"String",(function(e){l(this,{type:s,string:i(e),index:0})}),(function(){var e,t=c(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},"./node_modules/core-js/modules/es.string.link.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/create-html.js"),o=n("./node_modules/core-js/internals/string-html-forced.js");r({target:"String",proto:!0,forced:o("link")},{link:function(e){return i(this,"a","href",e)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/global.js"),a=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/is-object.js"),l=n("./node_modules/core-js/internals/object-define-property.js").f,c=n("./node_modules/core-js/internals/copy-constructor-properties.js"),u=o.Symbol;if(i&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};c(h,u);var f=h.prototype=u.prototype;f.constructor=h;var p=f.toString,A="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(a(d,e))return"";var n=A?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(e,t,n){var r=n("./node_modules/core-js/internals/define-well-known-symbol.js");r("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/internals/export.js"),i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/get-built-in.js"),a=n("./node_modules/core-js/internals/is-pure.js"),s=n("./node_modules/core-js/internals/descriptors.js"),l=n("./node_modules/core-js/internals/native-symbol.js"),c=n("./node_modules/core-js/internals/fails.js"),u=n("./node_modules/core-js/internals/has.js"),d=n("./node_modules/core-js/internals/is-array.js"),h=n("./node_modules/core-js/internals/is-object.js"),f=n("./node_modules/core-js/internals/is-symbol.js"),p=n("./node_modules/core-js/internals/an-object.js"),A=n("./node_modules/core-js/internals/to-object.js"),g=n("./node_modules/core-js/internals/to-indexed-object.js"),m=n("./node_modules/core-js/internals/to-property-key.js"),v=n("./node_modules/core-js/internals/to-string.js"),y=n("./node_modules/core-js/internals/create-property-descriptor.js"),b=n("./node_modules/core-js/internals/object-create.js"),_=n("./node_modules/core-js/internals/object-keys.js"),w=n("./node_modules/core-js/internals/object-get-own-property-names.js"),x=n("./node_modules/core-js/internals/object-get-own-property-names-external.js"),C=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),S=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),k=n("./node_modules/core-js/internals/object-define-property.js"),E=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),O=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),B=n("./node_modules/core-js/internals/redefine.js"),M=n("./node_modules/core-js/internals/shared.js"),T=n("./node_modules/core-js/internals/shared-key.js"),I=n("./node_modules/core-js/internals/hidden-keys.js"),L=n("./node_modules/core-js/internals/uid.js"),D=n("./node_modules/core-js/internals/well-known-symbol.js"),P=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),N=n("./node_modules/core-js/internals/define-well-known-symbol.js"),j=n("./node_modules/core-js/internals/set-to-string-tag.js"),F=n("./node_modules/core-js/internals/internal-state.js"),R=n("./node_modules/core-js/internals/array-iteration.js").forEach,U=T("hidden"),H="Symbol",Q="prototype",K=D("toPrimitive"),z=F.set,V=F.getterFor(H),W=Object[Q],G=i.Symbol,X=o("JSON","stringify"),q=S.f,Y=k.f,Z=x.f,J=E.f,$=M("symbols"),ee=M("op-symbols"),te=M("string-to-symbol-registry"),ne=M("symbol-to-string-registry"),re=M("wks"),ie=i.QObject,oe=!ie||!ie[Q]||!ie[Q].findChild,ae=s&&c((function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=q(W,t);r&&delete W[t],Y(e,t,n),r&&e!==W&&Y(W,t,r)}:Y,se=function(e,t){var n=$[e]=b(G[Q]);return z(n,{type:H,tag:e,description:t}),s||(n.description=t),n},le=function(e,t,n){e===W&&le(ee,t,n),p(e);var r=m(t);return p(n),u($,r)?(n.enumerable?(u(e,U)&&e[U][r]&&(e[U][r]=!1),n=b(n,{enumerable:y(0,!1)})):(u(e,U)||Y(e,U,y(1,{})),e[U][r]=!0),ae(e,r,n)):Y(e,r,n)},ce=function(e,t){p(e);var n=g(t),r=_(n).concat(pe(n));return R(r,(function(t){s&&!de.call(n,t)||le(e,t,n[t])})),e},ue=function(e,t){return void 0===t?b(e):ce(b(e),t)},de=function(e){var t=m(e),n=J.call(this,t);return!(this===W&&u($,t)&&!u(ee,t))&&(!(n||!u(this,t)||!u($,t)||u(this,U)&&this[U][t])||n)},he=function(e,t){var n=g(e),r=m(t);if(n!==W||!u($,r)||u(ee,r)){var i=q(n,r);return!i||!u($,r)||u(n,U)&&n[U][r]||(i.enumerable=!0),i}},fe=function(e){var t=Z(g(e)),n=[];return R(t,(function(e){u($,e)||u(I,e)||n.push(e)})),n},pe=function(e){var t=e===W,n=Z(t?ee:g(e)),r=[];return R(n,(function(e){!u($,e)||t&&!u(W,e)||r.push($[e])})),r};if(l||(G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=L(e),n=function e(n){this===W&&e.call(ee,n),u(this,U)&&u(this[U],t)&&(this[U][t]=!1),ae(this,t,y(1,n))};return s&&oe&&ae(W,t,{configurable:!0,set:n}),se(t,e)},B(G[Q],"toString",(function(){return V(this).tag})),B(G,"withoutSetter",(function(e){return se(L(e),e)})),E.f=de,k.f=le,S.f=he,w.f=x.f=fe,C.f=pe,P.f=function(e){return se(D(e),e)},s&&(Y(G[Q],"description",{configurable:!0,get:function(){return V(this).description}}),a||B(W,"propertyIsEnumerable",de,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:G}),R(_(re),(function(e){N(e)})),r({target:H,stat:!0,forced:!l},{for:function(e){var t=v(e);if(u(te,t))return te[t];var n=G(t);return te[t]=n,ne[n]=t,n},keyFor:function(e){if(!f(e))throw TypeError(e+" is not a symbol");if(u(ne,e))return ne[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:ue,defineProperty:le,defineProperties:ce,getOwnPropertyDescriptor:he}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:fe,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:c((function(){C.f(1)}))},{getOwnPropertySymbols:function(e){return C.f(A(e))}}),X){var Ae=!l||c((function(){var e=G();return"[null]"!=X([e])||"{}"!=X({a:e})||"{}"!=X(Object(e))}));r({target:"JSON",stat:!0,forced:Ae},{stringify:function(e,t,n){var r,i=[e],o=1;while(arguments.length>o)i.push(arguments[o++]);if(r=t,(h(t)||void 0!==e)&&!f(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!f(t))return t}),i[1]=t,X.apply(null,i)}})}G[Q][K]||O(G[Q],K,G[Q].valueOf),j(G,H),I[U]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/dom-iterables.js"),o=n("./node_modules/core-js/internals/array-for-each.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var s in i){var l=r[s],c=l&&l.prototype;if(c&&c.forEach!==o)try{a(c,"forEach",o)}catch(u){c.forEach=o}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/dom-iterables.js"),o=n("./node_modules/core-js/modules/es.array.iterator.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),s=n("./node_modules/core-js/internals/well-known-symbol.js"),l=s("iterator"),c=s("toStringTag"),u=o.values;for(var d in i){var h=r[d],f=h&&h.prototype;if(f){if(f[l]!==u)try{a(f,l,u)}catch(A){f[l]=u}if(f[c]||a(f,c,d),i[d])for(var p in o)if(f[p]!==o[p])try{a(f,p,o[p])}catch(A){f[p]=o[p]}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(e){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function n(e){return"function"===typeof e}var i=void 0;i=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var o=i,a=0,s=void 0,l=void 0,c=function(e,t){w[a]=e,w[a+1]=t,a+=2,2===a&&(l?l(x):S())};function u(e){l=e}function d(e){c=e}var h="undefined"!==typeof window?window:void 0,f=h||{},p=f.MutationObserver||f.WebKitMutationObserver,A="undefined"===typeof self&&"undefined"!==typeof r&&"[object process]"==={}.toString.call(r),g="undefined"!==typeof Uint8ClampedArray&&"undefined"!==typeof importScripts&&"undefined"!==typeof MessageChannel;function m(){return function(){return r.nextTick(x)}}function v(){return"undefined"!==typeof s?function(){s(x)}:_()}function y(){var e=0,t=new p(x),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function b(){var e=new MessageChannel;return e.port1.onmessage=x,function(){return e.port2.postMessage(0)}}function _(){var e=setTimeout;return function(){return e(x,1)}}var w=new Array(1e3);function x(){for(var e=0;e<a;e+=2){var t=w[e],n=w[e+1];t(n),w[e]=void 0,w[e+1]=void 0}a=0}function C(){try{var e=Function("return this")().require("vertx");return s=e.runOnLoop||e.runOnContext,v()}catch(t){return _()}}var S=void 0;function k(e,t){var n=this,r=new this.constructor(B);void 0===r[O]&&q(r);var i=n._state;if(i){var o=arguments[i-1];c((function(){return V(i,r,o,n._result)}))}else K(n,r,e,t);return r}function E(e){var t=this;if(e&&"object"===typeof e&&e.constructor===t)return e;var n=new t(B);return R(n,e),n}S=A?m():p?y():g?b():void 0===h?C():_();var O=Math.random().toString(36).substring(2);function B(){}var M=void 0,T=1,I=2;function L(){return new TypeError("You cannot resolve a promise with itself")}function D(){return new TypeError("A promises callback cannot return that same promise.")}function P(e,t,n,r){try{e.call(t,n,r)}catch(i){return i}}function N(e,t,n){c((function(e){var r=!1,i=P(n,t,(function(n){r||(r=!0,t!==n?R(e,n):H(e,n))}),(function(t){r||(r=!0,Q(e,t))}),"Settle: "+(e._label||" unknown promise"));!r&&i&&(r=!0,Q(e,i))}),e)}function j(e,t){t._state===T?H(e,t._result):t._state===I?Q(e,t._result):K(t,void 0,(function(t){return R(e,t)}),(function(t){return Q(e,t)}))}function F(e,t,r){t.constructor===e.constructor&&r===k&&t.constructor.resolve===E?j(e,t):void 0===r?H(e,t):n(r)?N(e,t,r):H(e,t)}function R(t,n){if(t===n)Q(t,L());else if(e(n)){var r=void 0;try{r=n.then}catch(i){return void Q(t,i)}F(t,n,r)}else H(t,n)}function U(e){e._onerror&&e._onerror(e._result),z(e)}function H(e,t){e._state===M&&(e._result=t,e._state=T,0!==e._subscribers.length&&c(z,e))}function Q(e,t){e._state===M&&(e._state=I,e._result=t,c(U,e))}function K(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+T]=n,i[o+I]=r,0===o&&e._state&&c(z,e)}function z(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,i=void 0,o=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?V(n,r,i,o):i(o);e._subscribers.length=0}}function V(e,t,r,i){var o=n(r),a=void 0,s=void 0,l=!0;if(o){try{a=r(i)}catch(c){l=!1,s=c}if(t===a)return void Q(t,D())}else a=i;t._state!==M||(o&&l?R(t,a):!1===l?Q(t,s):e===T?H(t,a):e===I&&Q(t,a))}function W(e,t){try{t((function(t){R(e,t)}),(function(t){Q(e,t)}))}catch(n){Q(e,n)}}var G=0;function X(){return G++}function q(e){e[O]=G++,e._state=void 0,e._result=void 0,e._subscribers=[]}function Y(){return new Error("Array Methods must be provided an Array")}var Z=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(B),this.promise[O]||q(this.promise),o(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?H(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&H(this.promise,this._result))):Q(this.promise,Y())}return e.prototype._enumerate=function(e){for(var t=0;this._state===M&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===E){var i=void 0,o=void 0,a=!1;try{i=e.then}catch(l){a=!0,o=l}if(i===k&&e._state!==M)this._settledAt(e._state,t,e._result);else if("function"!==typeof i)this._remaining--,this._result[t]=e;else if(n===re){var s=new n(B);a?Q(s,o):F(s,e,i),this._willSettleAt(s,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===M&&(this._remaining--,e===I?Q(r,n):this._result[t]=n),0===this._remaining&&H(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;K(e,void 0,(function(e){return n._settledAt(T,t,e)}),(function(e){return n._settledAt(I,t,e)}))},e}();function J(e){return new Z(this,e).promise}function $(e){var t=this;return o(e)?new t((function(n,r){for(var i=e.length,o=0;o<i;o++)t.resolve(e[o]).then(n,r)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))}function ee(e){var t=this,n=new t(B);return Q(n,e),n}function te(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ne(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var re=function(){function e(t){this[O]=X(),this._result=this._state=void 0,this._subscribers=[],B!==t&&("function"!==typeof t&&te(),this instanceof e?W(this,t):ne())}return e.prototype["catch"]=function(e){return this.then(null,e)},e.prototype["finally"]=function(e){var t=this,r=t.constructor;return n(e)?t.then((function(t){return r.resolve(e()).then((function(){return t}))}),(function(t){return r.resolve(e()).then((function(){throw t}))})):t.then(e,e)},e}();function ie(){var e=void 0;if("undefined"!==typeof t)e=t;else if("undefined"!==typeof self)e=self;else try{e=Function("return this")()}catch(i){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=e.Promise;if(n){var r=null;try{r=Object.prototype.toString.call(n.resolve())}catch(i){}if("[object Promise]"===r&&!n.cast)return}e.Promise=re}return re.prototype.then=k,re.all=J,re.race=$,re.resolve=E,re.reject=ee,re._setScheduler=u,re._setAsap=d,re._asap=c,re.polyfill=ie,re.Promise=re,re}))},html2canvas:function(e){"use strict";e.exports=n},jspdf:function(t){"use strict";t.exports=e}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e].call(n.exports,n,n.exports,a),n.exports}!function(){a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,{a:t}),t}}(),function(){a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}();var s={};return function(){"use strict";a.r(s);var e=a("./src/worker.js"),t=(a("./src/plugin/jspdf-plugin.js"),a("./src/plugin/pagebreaks.js"),a("./src/plugin/hyperlinks.js"),function e(t,n){var r=new e.Worker(n);return t?r.from(t).save():r});t.Worker=e["default"],s["default"]=t}(),s=s["default"],s}()}))}).call(this,n("yLpj"),n("Q2Ig"))},"1q3G":function(e,t,n){"use strict";function r(){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}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=r},"1tlw":function(e,t,n){var r=n("MBQ8"),i=r.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(e){return e.stack=null,i.superApply(this,"getInitialData",arguments)}}),o=i;e.exports=o},"1u/T":function(e,t,n){var r=n("ProS"),i={type:"selectDataRange",event:"dataRangeSelected",update:"update"};r.registerAction(i,(function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))}))},"1vzs":function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n("q1tI"),i=n("HQEm"),o=n.n(i),a=n("gZBC"),s=n.n(a),l=n("NAnI"),c=n.n(l),u=n("V/uB"),d=n.n(u),h=n("kbBi"),f=n.n(h),p=n("w6Tc"),A=n.n(p);function g(e){var t=e.suffixIcon,n=e.clearIcon,i=e.menuItemSelectedIcon,a=e.removeIcon,l=e.loading,u=e.multiple,h=e.prefixCls,p=n;n||(p=r["createElement"](f.a,null));var g=null;if(void 0!==t)g=t;else if(l)g=r["createElement"](s.a,{spin:!0});else{var m="".concat(h,"-suffix");g=function(e){var t=e.open,n=e.showSearch;return t&&n?r["createElement"](A.a,{className:m}):r["createElement"](o.a,{className:m})}}var v=null;v=void 0!==i?i:u?r["createElement"](c.a,null):null;var y=null;return y=void 0!==a?a:r["createElement"](d.a,null),{clearIcon:p,suffixIcon:g,itemIcon:v,removeIcon:y}}},"1xaR":function(e,t,n){var r=n("ProS"),i=n("bYtY");n("qgGe"),n("NA0q"),n("RPvy");var o=n("mOdp"),a=n("y3NT"),s=n("0/Rx");r.registerVisual(i.curry(o,"sunburst")),r.registerLayout(i.curry(a,"sunburst")),r.registerProcessor(i.curry(s,"sunburst"))},"24YM":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SensorTabIndex=t.SensorClassName=t.SizeSensorId=void 0;var r="size-sensor-id";t.SizeSensorId=r;var i="size-sensor-object";t.SensorClassName=i;var o="-1";t.SensorTabIndex=o},2548:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("6GrX"),a=n("IUWy"),s=n("IwbS"),l=n("Qxkt"),c=n("gPAo"),u=n("eRkO"),d=r.extendComponentView({type:"toolbox",render:function(e,t,n,r){var d=this.group;if(d.removeAll(),e.get("show")){var f=+e.get("itemSize"),p=e.get("feature")||{},A=this._features||(this._features={}),g=[];i.each(p,(function(e,t){g.push(t)})),new c(this._featureNames||[],g).add(m).update(m).remove(i.curry(m,null)).execute(),this._featureNames=g,u.layout(d,e,n),d.add(u.makeBackground(d.getBoundingRect(),e)),d.eachChild((function(e){var t=e.__title,r=e.hoverStyle;if(r&&t){var i=o.getBoundingRect(t,o.makeFont(r)),a=e.position[0]+d.position[0],s=e.position[1]+d.position[1]+f,l=!1;s+i.height>n.getHeight()&&(r.textPosition="top",l=!0);var c=l?-5-i.height:f+8;a+i.width/2>n.getWidth()?(r.textPosition=["100%",c],r.textAlign="right"):a-i.width/2<0&&(r.textPosition=[0,c],r.textAlign="left")}}))}function m(i,o){var s,c=g[i],u=g[o],d=p[c],f=new l(d,e,e.ecModel);if(r&&null!=r.newTitle&&r.featureName===c&&(d.title=r.newTitle),c&&!u){if(h(c))s={model:f,onclick:f.option.onclick,featureName:c};else{var m=a.get(c);if(!m)return;s=new m(f,t,n)}A[c]=s}else{if(s=A[u],!s)return;s.model=f,s.ecModel=t,s.api=n}c||!u?f.get("show")&&!s.unusable?(v(f,s,c),f.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&r[e].trigger(t)},s.render&&s.render(f,t,n,r)):s.remove&&s.remove(t,n):s.dispose&&s.dispose(t,n)}function v(r,o,a){var l=r.getModel("iconStyle"),c=r.getModel("emphasis.iconStyle"),u=o.getIcons?o.getIcons():r.get("icon"),h=r.get("title")||{};if("string"===typeof u){var p=u,A=h;u={},h={},u[a]=p,h[a]=A}var g=r.iconPaths={};i.each(u,(function(a,u){var p=s.createIcon(a,{},{x:-f/2,y:-f/2,width:f,height:f});p.setStyle(l.getItemStyle()),p.hoverStyle=c.getItemStyle(),p.setStyle({text:h[u],textAlign:c.get("textAlign"),textBorderRadius:c.get("textBorderRadius"),textPadding:c.get("textPadding"),textFill:null});var A=e.getModel("tooltip");A&&A.get("show")&&p.attr("tooltip",i.extend({content:h[u],formatter:A.get("formatter",!0)||function(){return h[u]},formatterParams:{componentType:"toolbox",name:u,title:h[u],$vars:["name","title"]},position:A.get("position",!0)||"bottom"},A.option)),s.setHoverStyle(p),e.get("showTitle")&&(p.__title=h[u],p.on("mouseover",(function(){var t=c.getItemStyle(),n="vertical"===e.get("orient")?null==e.get("right")?"right":"left":null==e.get("bottom")?"bottom":"top";p.setStyle({textFill:c.get("textFill")||t.fill||t.stroke||"#000",textBackgroundColor:c.get("textBackgroundColor"),textPosition:c.get("textPosition")||n})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(r.get("iconStatus."+u)||"normal"),d.add(p),p.on("click",i.bind(o.onclick,o,t,n,u)),g[u]=p}))}},updateView:function(e,t,n,r){i.each(this._features,(function(e){e.updateView&&e.updateView(e.model,t,n,r)}))},remove:function(e,t){i.each(this._features,(function(n){n.remove&&n.remove(e,t)})),this.group.removeAll()},dispose:function(e,t){i.each(this._features,(function(n){n.dispose&&n.dispose(e,t)}))}});function h(e){return 0===e.indexOf("my")}e.exports=d},"2B6p":function(e,t){function n(e,t,n){var r=e.getZoom(),i=e.getCenter(),o=t.zoom,a=e.dataToPoint(i);if(null!=t.dx&&null!=t.dy){a[0]-=t.dx,a[1]-=t.dy;i=e.pointToData(a);e.setCenter(i)}if(null!=o){if(n){var s=n.min||0,l=n.max||1/0;o=Math.max(Math.min(r*o,l),s)/r}e.scale[0]*=o,e.scale[1]*=o;var c=e.position,u=(t.originX-c[0])*(o-1),d=(t.originY-c[1])*(o-1);c[0]-=u,c[1]-=d,e.updateTransform();i=e.pointToData(a);e.setCenter(i),e.setZoom(o*r)}return{center:e.getCenter(),zoom:e.getZoom()}}t.updateCenterAndZoom=n},"2BaD":function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="CloseCircleOutlined";t["a"]=i["forwardRef"](l)},"2DNl":function(e,t,n){var r=n("IMiH"),i=n("loD1"),o=n("59Ip"),a=n("aKvl"),s=n("n1HI"),l=n("hX1E"),c=l.normalizeRadian,u=n("Sj9i"),d=n("hyiK"),h=r.CMD,f=2*Math.PI,p=1e-4;function A(e,t){return Math.abs(e-t)<p}var g=[-1,-1,-1],m=[-1,-1];function v(){var e=m[0];m[0]=m[1],m[1]=e}function y(e,t,n,r,i,o,a,s,l,c){if(c>t&&c>r&&c>o&&c>s||c<t&&c<r&&c<o&&c<s)return 0;var d=u.cubicRootAt(t,r,o,s,c,g);if(0===d)return 0;for(var h,f,p=0,A=-1,y=0;y<d;y++){var b=g[y],_=0===b||1===b?.5:1,w=u.cubicAt(e,n,i,a,b);w<l||(A<0&&(A=u.cubicExtrema(t,r,o,s,m),m[1]<m[0]&&A>1&&v(),h=u.cubicAt(t,r,o,s,m[0]),A>1&&(f=u.cubicAt(t,r,o,s,m[1]))),2===A?b<m[0]?p+=h<t?_:-_:b<m[1]?p+=f<h?_:-_:p+=s<f?_:-_:b<m[0]?p+=h<t?_:-_:p+=s<h?_:-_)}return p}function b(e,t,n,r,i,o,a,s){if(s>t&&s>r&&s>o||s<t&&s<r&&s<o)return 0;var l=u.quadraticRootAt(t,r,o,s,g);if(0===l)return 0;var c=u.quadraticExtremum(t,r,o);if(c>=0&&c<=1){for(var d=0,h=u.quadraticAt(t,r,o,c),f=0;f<l;f++){var p=0===g[f]||1===g[f]?.5:1,A=u.quadraticAt(e,n,i,g[f]);A<a||(g[f]<c?d+=h<t?p:-p:d+=o<h?p:-p)}return d}p=0===g[0]||1===g[0]?.5:1,A=u.quadraticAt(e,n,i,g[0]);return A<a?0:o<t?p:-p}function _(e,t,n,r,i,o,a,s){if(s-=t,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);g[0]=-l,g[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u%f<1e-4){r=0,i=f;var d=o?1:-1;return a>=g[0]+e&&a<=g[1]+e?d:0}if(o){l=r;r=c(i),i=c(l)}else r=c(r),i=c(i);r>i&&(i+=f);for(var h=0,p=0;p<2;p++){var A=g[p];if(A+e>a){var m=Math.atan2(s,A);d=o?1:-1;m<0&&(m=f+m),(m>=r&&m<=i||m+f>=r&&m+f<=i)&&(m>Math.PI/2&&m<1.5*Math.PI&&(d=-d),h+=d)}}return h}function w(e,t,n,r,l){for(var c=0,u=0,f=0,p=0,g=0,m=0;m<e.length;){var v=e[m++];switch(v===h.M&&m>1&&(n||(c+=d(u,f,p,g,r,l))),1===m&&(u=e[m],f=e[m+1],p=u,g=f),v){case h.M:p=e[m++],g=e[m++],u=p,f=g;break;case h.L:if(n){if(i.containStroke(u,f,e[m],e[m+1],t,r,l))return!0}else c+=d(u,f,e[m],e[m+1],r,l)||0;u=e[m++],f=e[m++];break;case h.C:if(n){if(o.containStroke(u,f,e[m++],e[m++],e[m++],e[m++],e[m],e[m+1],t,r,l))return!0}else c+=y(u,f,e[m++],e[m++],e[m++],e[m++],e[m],e[m+1],r,l)||0;u=e[m++],f=e[m++];break;case h.Q:if(n){if(a.containStroke(u,f,e[m++],e[m++],e[m],e[m+1],t,r,l))return!0}else c+=b(u,f,e[m++],e[m++],e[m],e[m+1],r,l)||0;u=e[m++],f=e[m++];break;case h.A:var w=e[m++],x=e[m++],C=e[m++],S=e[m++],k=e[m++],E=e[m++];m+=1;var O=1-e[m++],B=Math.cos(k)*C+w,M=Math.sin(k)*S+x;m>1?c+=d(u,f,B,M,r,l):(p=B,g=M);var T=(r-w)*S/C+w;if(n){if(s.containStroke(w,x,S,k,k+E,O,t,T,l))return!0}else c+=_(w,x,S,k,k+E,O,T,l);u=Math.cos(k+E)*C+w,f=Math.sin(k+E)*S+x;break;case h.R:p=u=e[m++],g=f=e[m++];var I=e[m++],L=e[m++];B=p+I,M=g+L;if(n){if(i.containStroke(p,g,B,g,t,r,l)||i.containStroke(B,g,B,M,t,r,l)||i.containStroke(B,M,p,M,t,r,l)||i.containStroke(p,M,p,g,t,r,l))return!0}else c+=d(B,g,B,M,r,l),c+=d(p,M,p,g,r,l);break;case h.Z:if(n){if(i.containStroke(u,f,p,g,t,r,l))return!0}else c+=d(u,f,p,g,r,l);u=p,f=g;break}}return n||A(f,g)||(c+=d(u,f,p,g,r,l)||0),0!==c}function x(e,t,n){return w(e,0,!1,t,n)}function C(e,t,n,r){return w(e,t,!0,n,r)}t.contain=x,t.containStroke=C},"2dDv":function(e,t,n){var r=n("bYtY"),i=n("Fofx"),o=n("+TT/"),a=n("aX7z"),s=n("D1WM"),l=n("IwbS"),c=n("OELB"),u=n("72pK"),d=r.each,h=Math.min,f=Math.max,p=Math.floor,A=Math.ceil,g=c.round,m=Math.PI;function v(e,t,n){this._axesMap=r.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,n)}function y(e,t){return h(f(e,t[0]),t[1])}function b(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function _(e,t){var n,r,i=t.layoutLength,o=t.axisExpandWidth,a=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,c=s,u=!1;return e<l[0]?(n=e*s,r=s):e<=l[1]?(n=t.axisExpandWindow0Pos+e*o-t.axisExpandWindow[0],c=o,u=!0):(n=i-(a-1-e)*s,r=s),{position:n,axisNameAvailableWidth:c,axisLabelShow:u,nameTruncateMaxWidth:r}}v.prototype={type:"parallel",constructor:v,_init:function(e,t,n){var r=e.dimensions,i=e.parallelAxisIndex;d(r,(function(e,n){var r=i[n],o=t.getComponent("parallelAxis",r),l=this._axesMap.set(e,new s(e,a.createScaleByModel(o),[0,0],o.get("type"),r)),c="category"===l.type;l.onBand=c&&o.get("boundaryGap"),l.inverse=o.get("inverse"),o.axis=l,l.model=o,l.coordinateSystem=o.coordinateSystem=this}),this)},update:function(e,t){this._updateAxesFromSeries(this._model,e)},containPoint:function(e){var t=this._makeLayoutInfo(),n=t.axisBase,r=t.layoutBase,i=t.pixelDimIndex,o=e[1-i],a=e[i];return o>=n&&o<=n+t.axisLength&&a>=r&&a<=r+t.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var r=n.getData();d(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(r,r.mapDimension(e)),a.niceScaleExtent(t.scale,t.model)}),this)}}),this)},resize:function(e,t){this._rect=o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=t.get("layout"),a="horizontal"===o?0:1,s=n[i[a]],l=[0,s],c=this.dimensions.length,u=y(t.get("axisExpandWidth"),l),d=y(t.get("axisExpandCount")||0,[0,c]),h=t.get("axisExpandable")&&c>3&&c>d&&d>1&&u>0&&s>0,f=t.get("axisExpandWindow");if(f)e=y(f[1]-f[0],l),f[1]=f[0]+e;else{e=y(u*(d-1),l);var m=t.get("axisExpandCenter")||p(c/2);f=[u*m-e/2],f[1]=f[0]+e}var v=(s-e)/(c-d);v<3&&(v=0);var b=[p(g(f[0]/u,1))+1,A(g(f[1]/u,1))-1],_=v/u*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:h,axisExpandWidth:u,axisCollapseWidth:v,axisExpandWindow:f,axisCount:c,winInnerIndices:b,axisExpandWindow0Pos:_}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),o=r.layout;t.each((function(e){var t=[0,r.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),d(n,(function(t,n){var a=(r.axisExpandable?_:b)(n,r),s={horizontal:{x:a.position,y:r.axisLength},vertical:{x:0,y:a.position}},l={horizontal:m/2,vertical:0},c=[s[o].x+e.x,s[o].y+e.y],u=l[o],d=i.create();i.rotate(d,d,u),i.translate(d,d,c),this._axesLayout[t]={position:c,rotation:u,transform:d,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,n,i){null==n&&(n=0),null==i&&(i=e.count());var o=this._axesMap,a=this.dimensions,s=[],l=[];r.each(a,(function(t){s.push(e.mapDimension(t)),l.push(o.get(t).model)}));for(var c=this.hasAxisBrushed(),u=n;u<i;u++){var d;if(c){d="active";for(var h=e.getValues(s,u),f=0,p=a.length;f<p;f++){var A=l[f].getActiveState(h[f]);if("inactive"===A){d="inactive";break}}}else d="normal";t(d,u)}},hasAxisBrushed:function(){for(var e=this.dimensions,t=this._axesMap,n=!1,r=0,i=e.length;r<i;r++)"normal"!==t.get(e[r]).model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(e,t){var n=this._axesLayout[t];return l.applyTransform([e,0],n.transform)},getAxisLayout:function(e){return r.clone(this._axesLayout[e])},getSlidedAxisExpandWindow:function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,r=t.axisExpandWindow.slice(),i=r[1]-r[0],o=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:r};var a,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",c=t.axisCollapseWidth,d=this._model.get("axisExpandSlideTriggerArea"),p=null!=d[0];if(c)p&&c&&s<i*d[0]?(l="jump",a=s-i*d[2]):p&&c&&s>i*(1-d[0])?(l="jump",a=s-i*(1-d[2])):(a=s-i*d[1])>=0&&(a=s-i*(1-d[1]))<=0&&(a=0),a*=t.axisExpandWidth/c,a?u(a,r,o,"all"):l="none";else{i=r[1]-r[0];var A=o[1]*s/i;r=[f(0,A-i/2)],r[1]=h(o[1],r[0]+i),r[0]=r[1]-i}return{axisExpandWindow:r,behavior:l}}};var w=v;e.exports=w},"2fGM":function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("nkfE"),a=n("ICMv"),s=i.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});r.merge(s.prototype,a);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function c(e,t){return t.type||(t.data?"category":"value")}o("angle",s,c,l.angle),o("radius",s,c,l.radius)},"2fM7":function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("7W2i"),h=n.n(d),f=n("LQ03"),p=n.n(f),A=n("q1tI"),g=n("BGR+"),m=n("TSYQ"),v=n.n(m),y=n("1OyB"),b=n("vuIU"),_=n("Ji7U"),w=n("LK+K"),x=n("rePB"),C=n("Ff2n"),S=n("ODXe"),k=n("4IlW"),E=n("bX4T"),O=n("YrtM"),B=n("+nKL"),M=function(e){var t,n=e.className,r=e.customizeIcon,i=e.customizeIconProps,o=e.onMouseDown,a=e.onClick,s=e.children;return t="function"===typeof r?r(i):r,A["createElement"]("span",{className:n,onMouseDown:function(e){e.preventDefault(),o&&o(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a,"aria-hidden":!0},void 0!==t?t:A["createElement"]("span",{className:v()(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},s))},T=M,I=function(e,t){var n=e.prefixCls,r=e.id,i=e.flattenOptions,o=e.childrenAsData,a=e.values,s=e.searchValue,l=e.multiple,c=e.defaultActiveFirstOption,u=e.height,d=e.itemHeight,h=e.notFoundContent,f=e.open,p=e.menuItemSelectedIcon,g=e.virtual,m=e.onSelect,y=e.onToggleOpen,b=e.onActiveValue,_=e.onScroll,w=e.onMouseEnter,M="".concat(n,"-item"),I=Object(O["a"])((function(){return i}),[f,i],(function(e,t){return t[0]&&e[1]!==t[1]})),L=A["useRef"](null),D=function(e){e.preventDefault()},P=function(e){L.current&&L.current.scrollTo({index:e})},N=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=I.length,r=0;r<n;r+=1){var i=(e+r*t+n)%n,o=I[i],a=o.group,s=o.data;if(!a&&!s.disabled)return i}return-1},j=A["useState"]((function(){return N(0)})),F=Object(S["a"])(j,2),R=F[0],U=F[1],H=function(e){U(e);var t=I[e];t?b(t.data.value,e):b(null,-1)};A["useEffect"]((function(){H(!1!==c?N(0):-1)}),[I.length,s]),A["useEffect"]((function(){var e=setTimeout((function(){if(!l&&f&&1===a.size){var e=Array.from(a)[0],t=I.findIndex((function(t){var n=t.data;return n.value===e}));H(t),P(t)}}));return function(){return clearTimeout(e)}}),[f]);var Q=function(e){void 0!==e&&m(e,{selected:!a.has(e)}),l||y(!1)};if(A["useImperativeHandle"](t,(function(){return{onKeyDown:function(e){var t=e.which;switch(t){case k["a"].UP:case k["a"].DOWN:var n=0;if(t===k["a"].UP?n=-1:t===k["a"].DOWN&&(n=1),0!==n){var r=N(R+n,n);P(r),H(r)}break;case k["a"].ENTER:var i=I[R];i&&!i.data.disabled?Q(i.data.value):Q(void 0),f&&e.preventDefault();break;case k["a"].ESC:y(!1)}},onKeyUp:function(){},scrollTo:function(e){P(e)}}})),0===I.length)return A["createElement"]("div",{role:"listbox",id:"".concat(r,"_list"),className:"".concat(M,"-empty"),onMouseDown:D},h);function K(e){var t=I[e];if(!t)return null;var n=t.data||{},i=n.value,s=n.label,l=n.children,c=Object(E["a"])(n,!0),u=o?l:s;return t?A["createElement"]("div",Object.assign({"aria-label":"string"===typeof u?u:null},c,{key:e,role:"option",id:"".concat(r,"_list_").concat(e),"aria-selected":a.has(i)}),i):null}return A["createElement"](A["Fragment"],null,A["createElement"]("div",{role:"listbox",id:"".concat(r,"_list"),style:{height:0,width:0,overflow:"hidden"}},K(R-1),K(R),K(R+1)),A["createElement"](B["a"],{itemKey:"key",ref:L,data:I,height:u,itemHeight:d,fullHeight:!1,onMouseDown:D,onScroll:_,virtual:g,onMouseEnter:w},(function(e,t){var n,r=e.group,i=e.groupOption,s=e.data,l=s.label,c=s.key;if(r)return A["createElement"]("div",{className:v()(M,"".concat(M,"-group"))},void 0!==l?l:c);var u=s.disabled,d=s.value,h=s.title,f=s.children,g=s.style,m=s.className,y=Object(C["a"])(s,["disabled","value","title","children","style","className"]),b=a.has(d),_="".concat(M,"-option"),w=v()(M,_,m,(n={},Object(x["a"])(n,"".concat(_,"-grouped"),i),Object(x["a"])(n,"".concat(_,"-active"),R===t&&!u),Object(x["a"])(n,"".concat(_,"-disabled"),u),Object(x["a"])(n,"".concat(_,"-selected"),b),n)),S=o?f:l,k=!p||"function"===typeof p||b;return A["createElement"]("div",Object.assign({},y,{"aria-selected":b,className:w,title:h,onMouseMove:function(){R===t||u||H(t)},onClick:function(){u||Q(d)},style:g}),A["createElement"]("div",{className:"".concat(_,"-content")},S||d),A["isValidElement"](p)||b,k&&A["createElement"](T,{className:"".concat(M,"-option-state"),customizeIcon:p,customizeIconProps:{isSelected:b}},b?"\u2713":null))})))},L=A["forwardRef"](I);L.displayName="OptionList";var D=L,P=function(){return null};P.isSelectOption=!0;var N=P,j=function(){return null};j.isSelectOptGroup=!0;var F=j,R=n("VTBJ"),U=n("Zm9Q");function H(e){var t=e.key,n=e.props,r=n.children,i=n.value,o=Object(C["a"])(n,["children","value"]);return Object(R["a"])({key:t,value:void 0!==i?i:t,children:r},o)}function Q(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(U["a"])(e).map((function(e,n){if(!A["isValidElement"](e)||!e.type)return null;var r=e.type.isSelectOptGroup,i=e.key,o=e.props,a=o.children,s=Object(C["a"])(o,["children"]);return t||!r?H(e):Object(R["a"])(Object(R["a"])({key:"__RC_SELECT_GRP__".concat(null===i?n:i,"__"),label:i},s),{},{options:Q(a)})})).filter((function(e){return e}))}var K=n("KQm4"),z=n("T5bk"),V=n("U8pU"),W=n("Kwbf");function G(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function X(e,t){var n=t.labelInValue,r=t.combobox;if(void 0===e||""===e&&r)return[];var i=Array.isArray(e)?e:[e];return n?i.map((function(e){var t=e.key,n=e.value;return void 0!==n?n:t})):i}function q(e,t){var n=t.optionLabelProp,r=t.labelInValue,i=t.prevValue,o=t.options,a=t.getLabeledValue,s=e;return r&&(s=s.map((function(e){return a(e,{options:o,prevValue:i,labelInValue:r,optionLabelProp:n})}))),s}function Y(e,t){var n,r=Object(K["a"])(t);for(n=e.length-1;n>=0;n-=1)if(!e[n].disabled)break;var i=null;return-1!==n&&(i=r[n],r.splice(n,1)),{values:r,removedValue:i}}var Z="undefined"!==typeof window&&window.document&&window.document.documentElement,J=Z,$=0;function ee(){var e;return J?(e=$,$+=1):e="TEST_OR_SSR",e}function te(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!==r&&void 0!==r?r:void 0!==n?n:"rc-index-key-".concat(t)}function ne(e){var t=[];function n(e,r){e.forEach((function(e){r||!("options"in e)?t.push({key:te(e,t.length),groupOption:r,data:e}):(t.push({key:te(e,t.length),group:!0,data:e}),n(e.options,!0))}))}return n(e,!1),t}function re(e){var t=Object(R["a"])({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Object(W["a"])(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function ie(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.prevValueOptions,i=void 0===r?[]:r,o=new Map;return t.forEach((function(e){if(!e.group){var t=e.data;o.set(t.value,t)}})),e.map((function(e){var t=o.get(e);return t||(t=Object(R["a"])({},i.find((function(t){return t._INTERNAL_OPTION_VALUE_===e})))),re(t)}))}var oe=function(e,t){var n,r=t.options,i=t.prevValue,o=t.labelInValue,a=t.optionLabelProp,s=ie([e],r)[0],l={value:e},c=G(i);return o&&(n=c.find((function(t){return"object"===Object(V["a"])(t)&&"value"in t?t.value===e:t.key===e}))),n&&"object"===Object(V["a"])(n)&&"label"in n?(l.label=n.label,s&&"string"===typeof n.label&&"string"===typeof s[a]&&n.label.trim()!==s[a].trim()&&Object(W["a"])(!1,"`label` of `value` is not same as `label` in Select options.")):l.label=s&&a in s?s[a]:e,l.key=l.value,l};function ae(e){return G(e).join("")}function se(e){return function(t,n){var r=t.toLowerCase();if("options"in n)return ae(n.label).toLowerCase().includes(r);var i=n[e],o=ae(i).toLowerCase();return o.includes(r)}}function le(e,t,n){var r,i=n.optionFilterProp,o=n.filterOption,a=[];return!1===o?t:(r="function"===typeof o?o:se(i),t.forEach((function(t){if("options"in t){var n=r(e,t);if(n)a.push(t);else{var i=t.options.filter((function(t){return r(e,t)}));i.length&&a.push(Object(R["a"])(Object(R["a"])({},t),{},{options:i}))}}else r(e,re(t))&&a.push(t)})),a)}function ce(e,t){if(!t||!t.length)return null;var n=!1;function r(e,t){var i=Object(z["a"])(t),o=i[0],a=i.slice(1);if(!o)return[e];var s=e.split(o);return n=n||s.length>1,s.reduce((function(e,t){return[].concat(Object(K["a"])(e),Object(K["a"])(r(t,a)))}),[]).filter((function(e){return e}))}var i=r(e,t);return n?i:null}function ue(e,t){var n=ie([e],t)[0];return n.disabled}function de(e,t,n,r){var i=G(t).slice().sort(),o=Object(K["a"])(e),a=new Set;return e.forEach((function(e){e.options?e.options.forEach((function(e){a.add(e.value)})):a.add(e.value)})),i.forEach((function(e){var t,i=r?e.value:e;a.has(i)||o.push(r?(t={},Object(x["a"])(t,n,e.label),Object(x["a"])(t,"value",i),t):{value:i})})),o}var he=n("6cGi"),fe=n("HTfv"),pe=n("c+Xe"),Ae=function(e,t){var n=e.prefixCls,r=e.id,i=e.inputElement,o=e.disabled,a=e.tabIndex,s=e.autoFocus,l=e.autoComplete,c=e.editable,u=e.accessibilityIndex,d=e.value,h=e.onKeyDown,f=e.onMouseDown,p=e.onChange,g=e.onPaste,m=e.onCompositionStart,v=e.onCompositionEnd,y=e.open,b=e.attrs,_=i||A["createElement"]("input",null),w=_,x=w.ref,C=w.props,S=C.onKeyDown,k=C.onChange,E=C.onMouseDown,O=C.onCompositionStart,B=C.onCompositionEnd,M=C.style;return _=A["cloneElement"](_,Object(R["a"])(Object(R["a"])({id:r,ref:Object(pe["a"])(t,x),disabled:o,tabIndex:a,autoComplete:l||"off",autoFocus:s,className:"".concat(n,"-selection-search-input"),style:Object(R["a"])(Object(R["a"])({},M),{},{opacity:c?null:0}),role:"combobox","aria-expanded":y,"aria-haspopup":"listbox","aria-owns":"".concat(r,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(r,"_list"),"aria-activedescendant":"".concat(r,"_list_").concat(u)},b),{},{value:c?d:"",readOnly:!c,unselectable:c?null:"on",onKeyDown:function(e){h(e),S&&S(e)},onMouseDown:function(e){f(e),E&&E(e)},onChange:function(e){p(e),k&&k(e)},onCompositionStart:function(e){m(e),O&&O(e)},onCompositionEnd:function(e){v(e),B&&B(e)},onPaste:g})),_},ge=A["forwardRef"](Ae);ge.displayName="Input";var me=ge;function ve(e,t){J?A["useLayoutEffect"](e,t):A["useEffect"](e,t)}var ye="__RC_SELECT_MAX_REST_COUNT__",be=function(e){var t=e.id,n=e.prefixCls,r=e.values,i=e.open,o=e.searchValue,a=e.inputRef,s=e.placeholder,l=e.disabled,c=e.mode,u=e.showSearch,d=e.autoFocus,h=e.autoComplete,f=e.accessibilityIndex,p=e.tabIndex,g=e.removeIcon,m=e.choiceTransitionName,y=e.maxTagCount,b=e.maxTagTextLength,_=e.maxTagPlaceholder,w=void 0===_?function(e){return"+ ".concat(e.length," ...")}:_,k=e.tagRender,O=e.onSelect,B=e.onInputChange,M=e.onInputPaste,I=e.onInputKeyDown,L=e.onInputMouseDown,D=e.onInputCompositionStart,P=e.onInputCompositionEnd,N=A["useState"](!1),j=Object(S["a"])(N,2),F=j[0],U=j[1],H=A["useRef"](null),Q=A["useState"](0),K=Object(S["a"])(Q,2),z=K[0],V=K[1];A["useEffect"]((function(){U(!0)}),[]);var W=i||"tags"===c?o:"",G="tags"===c||i&&u;ve((function(){V(H.current.scrollWidth)}),[W]);var X,q=r;"number"===typeof y&&(X=r.length-y,q=r.slice(0,y)),"number"===typeof b&&(q=q.map((function(e){var t=e.label,n=Object(C["a"])(e,["label"]),r=t;if("string"===typeof t||"number"===typeof t){var i=String(r);i.length>b&&(r="".concat(i.slice(0,b),"..."))}return Object(R["a"])(Object(R["a"])({},n),{},{label:r})}))),X>0&&q.push({key:ye,label:"function"===typeof w?w(r.slice(y)):w});var Y=A["createElement"](fe["CSSMotionList"],{component:!1,keys:q,motionName:m,motionAppear:F},(function(e){var t=e.key,r=e.label,i=e.value,o=e.disabled,a=e.className,s=e.style,l=t||i,c=t!==ye&&!o,u=function(e){e.preventDefault(),e.stopPropagation()},d=function(e){e&&e.stopPropagation(),O(i,{selected:!1})};return"function"===typeof k?A["createElement"]("span",{key:l,onMouseDown:u,className:a,style:s},k({label:r,value:i,disabled:o,closable:c,onClose:d})):A["createElement"]("span",{key:l,className:v()(a,"".concat(n,"-selection-item"),Object(x["a"])({},"".concat(n,"-selection-item-disabled"),o)),style:s},A["createElement"]("span",{className:"".concat(n,"-selection-item-content")},r),c&&A["createElement"](T,{className:"".concat(n,"-selection-item-remove"),onMouseDown:u,onClick:d,customizeIcon:g},"\xd7"))}));return A["createElement"](A["Fragment"],null,Y,A["createElement"]("span",{className:"".concat(n,"-selection-search"),style:{width:z}},A["createElement"](me,{ref:a,open:i,prefixCls:n,id:t,inputElement:null,disabled:l,autoFocus:d,autoComplete:h,editable:G,accessibilityIndex:f,value:W,onKeyDown:I,onMouseDown:L,onChange:B,onPaste:M,onCompositionStart:D,onCompositionEnd:P,tabIndex:p,attrs:Object(E["a"])(e,!0)}),A["createElement"]("span",{ref:H,className:"".concat(n,"-selection-search-mirror"),"aria-hidden":!0},W,"\xa0")),!r.length&&!W&&A["createElement"]("span",{className:"".concat(n,"-selection-placeholder")},s))},_e=be,we=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,i=e.inputRef,o=e.disabled,a=e.autoFocus,s=e.autoComplete,l=e.accessibilityIndex,c=e.mode,u=e.open,d=e.values,h=e.placeholder,f=e.tabIndex,p=e.showSearch,g=e.searchValue,m=e.activeValue,v=e.onInputKeyDown,y=e.onInputMouseDown,b=e.onInputChange,_=e.onInputPaste,w=e.onInputCompositionStart,x=e.onInputCompositionEnd,C=A["useState"](!1),k=Object(S["a"])(C,2),O=k[0],B=k[1],M="combobox"===c,T=M||p&&u,I=d[0],L=g||"";M&&m&&!O&&(L=m),A["useEffect"]((function(){M&&B(!1)}),[M,m]);var D=!("combobox"!==c&&!u)&&!!L,P=!I||"string"!==typeof I.label&&"number"!==typeof I.label?void 0:I.label.toString();return A["createElement"](A["Fragment"],null,A["createElement"]("span",{className:"".concat(n,"-selection-search")},A["createElement"](me,{ref:i,prefixCls:n,id:r,open:u,inputElement:t,disabled:o,autoFocus:a,autoComplete:s,editable:T,accessibilityIndex:l,value:L,onKeyDown:v,onMouseDown:y,onChange:function(e){B(!0),b(e)},onPaste:_,onCompositionStart:w,onCompositionEnd:x,tabIndex:f,attrs:Object(E["a"])(e,!0)})),!M&&I&&!D&&A["createElement"]("span",{className:"".concat(n,"-selection-item"),title:P},I.label),!I&&!D&&A["createElement"]("span",{className:"".concat(n,"-selection-placeholder")},h))},xe=we;function Ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=A["useRef"](null),n=A["useRef"](null);function r(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return A["useEffect"]((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},r]}var Se=function(e,t){var n=Object(A["useRef"])(null),r=Object(A["useRef"])(!1),i=e.prefixCls,o=e.multiple,a=e.open,s=e.mode,l=e.showSearch,c=e.tokenWithEnter,u=e.onSearch,d=e.onSearchSubmit,h=e.onToggleOpen,f=e.onInputKeyDown,p=e.domRef;A["useImperativeHandle"](t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var g=Ce(0),m=Object(S["a"])(g,2),v=m[0],y=m[1],b=function(e){var t=e.which;t!==k["a"].UP&&t!==k["a"].DOWN||e.preventDefault(),f&&f(e),t!==k["a"].ENTER||"tags"!==s||r.current||a||d(e.target.value),[k["a"].SHIFT,k["a"].TAB,k["a"].BACKSPACE,k["a"].ESC].includes(t)||h(!0)},_=function(){y(!0)},w=Object(A["useRef"])(null),x=function(e){!1!==u(e,!0,r.current)&&h(!0)},C=function(){r.current=!0},E=function(){r.current=!1},O=function(e){var t=e.target.value;if(c&&w.current&&/[\r\n]/.test(w.current)){var n=w.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,w.current)}w.current=null,x(t)},B=function(e){var t=e.clipboardData,n=t.getData("text");w.current=n},M=function(e){var t=v();if(e.target!==n.current){t||e.preventDefault();var r=void 0!==document.body.style.msTouchAction;r?setTimeout((function(){n.current.focus()})):n.current.focus()}("combobox"===s||l&&t)&&a||(a&&u("",!0,!1),h())},T={inputRef:n,onInputKeyDown:b,onInputMouseDown:_,onInputChange:O,onInputPaste:B,onInputCompositionStart:C,onInputCompositionEnd:E},I=o?A["createElement"](_e,Object.assign({},e,T)):A["createElement"](xe,Object.assign({},e,T));return A["createElement"]("div",{ref:p,className:"".concat(i,"-selector"),onMouseDown:M},I)},ke=A["forwardRef"](Se);ke.displayName="Selector";var Ee=ke,Oe=n("Uaa1"),Be=function(e){var t="number"!==typeof e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},Me=function(e,t){var n=e.prefixCls,r=(e.disabled,e.visible),i=e.children,o=e.popupElement,a=e.containerWidth,s=e.animation,l=e.transitionName,c=e.dropdownStyle,u=e.dropdownClassName,d=e.direction,h=void 0===d?"ltr":d,f=e.dropdownMatchSelectWidth,p=void 0===f||f,g=e.dropdownRender,m=e.dropdownAlign,y=e.getPopupContainer,b=e.empty,_=e.getTriggerDOMNode,w=Object(C["a"])(e,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),S="".concat(n,"-dropdown"),k=o;g&&(k=g(o));var E=A["useMemo"]((function(){return Be(p)}),[p]),O=s?"".concat(S,"-").concat(s):l,B=A["useRef"](null);A["useImperativeHandle"](t,(function(){return{getPopupElement:function(){return B.current}}}));var M=Object(R["a"])({minWidth:a},c);return"number"===typeof p?M.width=p:p&&(M.width=a),A["createElement"](Oe["a"],Object.assign({},w,{showAction:[],hideAction:[],popupPlacement:"rtl"===h?"bottomRight":"bottomLeft",builtinPlacements:E,prefixCls:S,popupTransitionName:O,popup:A["createElement"]("div",{ref:B},k),popupAlign:m,popupVisible:r,getPopupContainer:y,popupClassName:v()(u,Object(x["a"])({},"".concat(S,"-empty"),b)),popupStyle:M,getTriggerDOMNode:_}),i)},Te=A["forwardRef"](Me);Te.displayName="SelectTrigger";var Ie=Te,Le="RC_SELECT_INTERNAL_PROPS_MARK";function De(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=A["useState"](!1),n=Object(S["a"])(t,2),r=n[0],i=n[1],o=A["useRef"](null),a=function(){window.clearTimeout(o.current)};A["useEffect"]((function(){return a}),[]);var s=function(t,n){a(),o.current=window.setTimeout((function(){i(t),n&&n()}),e)};return[r,s,a]}function Pe(e,t,n){var r=A["useRef"](null);r.current={elements:e.filter((function(e){return e})),open:t,triggerOpen:n},A["useEffect"]((function(){function e(e){var t=e.target;r.current.open&&r.current.elements.every((function(e){return!e.contains(t)&&e!==t}))&&r.current.triggerOpen(!1)}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}}),[])}function Ne(e){var t=A["useRef"](e),n=A["useMemo"]((function(){var n=new Map;t.current.forEach((function(e){var t=e.value,r=e.label;t!==r&&n.set(t,r)}));var r=e.map((function(e){var t=n.get(e.value);return e.value===e.label&&t?Object(R["a"])(Object(R["a"])({},e),{},{label:t}):e}));return t.current=r,r}),[e]);return n}function je(e,t){var n=A["useRef"](null),r=A["useMemo"]((function(){var e=new Map;return t.forEach((function(t){var n=t.data.value;e.set(n,t)})),e}),[e,t]);n.current=r;var i=function(e){return e.map((function(e){return n.current.get(e)})).filter(Boolean)};return i}var Fe=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function Re(e){var t=e.prefixCls,n=e.components.optionList,r=e.convertChildrenToData,i=e.flattenOptions,o=e.getLabeledValue,a=e.filterOptions,s=e.isValueDisabled,l=e.findValueOption,c=(e.warningProps,e.fillOptionsWithMissingValue),u=e.omitDOMProps;function d(e,d){var h,f=e.prefixCls,p=void 0===f?t:f,g=e.className,m=e.id,y=e.open,b=e.defaultOpen,_=e.options,w=e.children,E=e.mode,O=e.value,B=e.defaultValue,M=e.labelInValue,I=e.showSearch,L=e.inputValue,D=e.searchValue,P=e.filterOption,N=e.optionFilterProp,j=void 0===N?"value":N,F=e.autoClearSearchValue,U=void 0===F||F,H=e.onSearch,Q=e.allowClear,z=e.clearIcon,V=e.showArrow,W=e.inputIcon,G=e.menuItemSelectedIcon,Z=e.disabled,J=e.loading,$=e.defaultActiveFirstOption,te=e.notFoundContent,ne=void 0===te?"Not Found":te,re=e.optionLabelProp,ie=e.backfill,oe=e.getInputElement,ae=e.getPopupContainer,se=e.listHeight,le=void 0===se?200:se,ue=e.listItemHeight,de=void 0===ue?20:ue,fe=e.animation,pe=e.transitionName,Ae=e.virtual,ge=e.dropdownStyle,me=e.dropdownClassName,ye=e.dropdownMatchSelectWidth,be=e.dropdownRender,_e=e.dropdownAlign,we=e.showAction,xe=void 0===we?[]:we,Se=e.direction,ke=e.tokenSeparators,Oe=e.tagRender,Be=e.onPopupScroll,Me=e.onDropdownVisibleChange,Te=e.onFocus,Re=e.onBlur,Ue=e.onKeyUp,He=e.onKeyDown,Qe=e.onMouseDown,Ke=e.onChange,ze=e.onSelect,Ve=e.onDeselect,We=e.onClear,Ge=e.internalProps,Xe=void 0===Ge?{}:Ge,qe=Object(C["a"])(e,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),Ye=Xe.mark===Le,Ze=u?u(qe):qe;Fe.forEach((function(e){delete Ze[e]}));var Je=Object(A["useRef"])(null),$e=Object(A["useRef"])(null),et=Object(A["useRef"])(null),tt=Object(A["useRef"])(null),nt=Object(A["useMemo"])((function(){return(ke||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ke]),rt=De(),it=Object(S["a"])(rt,3),ot=it[0],at=it[1],st=it[2],lt=Object(A["useState"])(),ct=Object(S["a"])(lt,2),ut=ct[0],dt=ct[1];Object(A["useEffect"])((function(){dt("rc_select_".concat(ee()))}),[]);var ht=m||ut,ft=re;void 0===ft&&(ft=_?"label":"children");var pt="combobox"!==E&&M,At="tags"===E||"multiple"===E,gt=void 0!==I?I:At||"combobox"===E,mt=Object(A["useRef"])(null);A["useImperativeHandle"](d,(function(){return{focus:et.current.focus,blur:et.current.blur}}));var vt=Object(he["a"])(B,{value:O}),yt=Object(S["a"])(vt,2),bt=yt[0],_t=yt[1],wt=Object(A["useMemo"])((function(){return X(bt,{labelInValue:pt,combobox:"combobox"===E})}),[bt,pt]),xt=Object(A["useMemo"])((function(){return new Set(wt)}),[wt]),Ct=Object(A["useState"])(null),St=Object(S["a"])(Ct,2),kt=St[0],Et=St[1],Ot=Object(A["useState"])(""),Bt=Object(S["a"])(Ot,2),Mt=Bt[0],Tt=Bt[1],It=Mt;"combobox"===E&&void 0!==bt?It=bt:void 0!==D?It=D:L&&(It=L);var Lt=Object(A["useMemo"])((function(){var e=_;return void 0===e&&(e=r(w)),"tags"===E&&c&&(e=c(e,bt,ft,M)),e||[]}),[_,w,E,bt]),Dt=Object(A["useMemo"])((function(){return i(Lt,e)}),[Lt]),Pt=je(wt,Dt),Nt=Object(A["useMemo"])((function(){if(!It||!gt)return Object(K["a"])(Lt);var e=a(It,Lt,{optionFilterProp:j,filterOption:"combobox"===E&&void 0===P?function(){return!0}:P});return"tags"===E&&e.every((function(e){return e[j]!==It}))&&e.unshift({value:It,label:It,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),e}),[Lt,It,E,gt]),jt=Object(A["useMemo"])((function(){return i(Nt,e)}),[Nt]);Object(A["useEffect"])((function(){tt.current&&tt.current.scrollTo&&tt.current.scrollTo(0)}),[It]);var Ft=Object(A["useMemo"])((function(){var e=wt.map((function(e){var t=Pt([e]),n=o(e,{options:t,prevValue:bt,labelInValue:pt,optionLabelProp:ft});return Object(R["a"])(Object(R["a"])({},n),{},{disabled:s(e,t)})}));return E||1!==e.length||null!==e[0].value||null!==e[0].label?e:[]}),[bt,Lt,E]);Ft=Ne(Ft);var Rt=function(e,t,n){var r=Pt([e]),i=l([e],r)[0];if(!Xe.skipTriggerSelect){var a=pt?o(e,{options:r,prevValue:bt,labelInValue:pt,optionLabelProp:ft}):e;t&&ze?ze(a,i):!t&&Ve&&Ve(a,i)}Ye&&(t&&Xe.onRawSelect?Xe.onRawSelect(e,i,n):!t&&Xe.onRawDeselect&&Xe.onRawDeselect(e,i,n))},Ut=Object(A["useState"])([]),Ht=Object(S["a"])(Ut,2),Qt=Ht[0],Kt=Ht[1],zt=function(e){if(!Ye||!Xe.skipTriggerChange){var t=Pt(e),n=q(Array.from(e),{labelInValue:pt,options:t,getLabeledValue:o,prevValue:bt,optionLabelProp:ft}),r=At?n:n[0];if(Ke&&(0!==wt.length||0!==n.length)){var i=l(e,t,{prevValueOptions:Qt});Kt(i.map((function(t,n){var r=Object(R["a"])({},t);return Object.defineProperty(r,"_INTERNAL_OPTION_VALUE_",{get:function(){return e[n]}}),r}))),Ke(r,At?i:i[0])}_t(r)}},Vt=function(e,t){var n,r=t.selected,i=t.source;Z||(At?(n=new Set(wt),r?n.add(e):n["delete"](e)):(n=new Set,n.add(e)),(At||!At&&Array.from(wt)[0]!==e)&&zt(Array.from(n)),Rt(e,!At||r,i),"combobox"===E?(Tt(String(e)),Et("")):At&&!U||(Tt(""),Et("")))},Wt=function(e,t){Vt(e,Object(R["a"])(Object(R["a"])({},t),{},{source:"option"}))},Gt=function(e,t){Vt(e,Object(R["a"])(Object(R["a"])({},t),{},{source:"selection"}))},Xt="combobox"===E&&oe&&oe()||null,qt=Object(he["a"])(void 0,{defaultValue:b,value:y}),Yt=Object(S["a"])(qt,2),Zt=Yt[0],Jt=Yt[1],$t=Zt,en=!ne&&!Nt.length;(Z||en&&$t&&"combobox"===E)&&($t=!1);var tn=!en&&$t,nn=function(e){var t=void 0!==e?e:!$t;Zt===t||Z||(Jt(t),Me&&Me(t))};Pe([Je.current,$e.current&&$e.current.getPopupElement()],tn,nn);var rn=function(e,t,n){var r=!0,i=e;Et(null);var o=n?null:ce(e,ke),a=o;if("combobox"===E)t&&zt([i]);else if(o){i="","tags"!==E&&(a=o.map((function(e){var t=Dt.find((function(t){var n=t.data;return n[ft]===e}));return t?t.data.value:null})).filter((function(e){return null!==e})));var s=Array.from(new Set([].concat(Object(K["a"])(wt),Object(K["a"])(a))));zt(s),s.forEach((function(e){Rt(e,!0,"input")})),nn(!1),r=!1}return Tt(i),H&&It!==i&&H(i),r},on=function(e){var t=Array.from(new Set([].concat(Object(K["a"])(wt),[e])));zt(t),t.forEach((function(e){Rt(e,!0,"input")})),Tt("")};Object(A["useEffect"])((function(){Zt&&Z&&Jt(!1)}),[Z]),Object(A["useEffect"])((function(){$t||At||"combobox"===E||rn("",!1,!1)}),[$t]);var an=Ce(),sn=Object(S["a"])(an,2),ln=sn[0],cn=sn[1],un=function(e){var t,n=ln(),r=e.which;if($t||r!==k["a"].ENTER||nn(!0),cn(!!It),r===k["a"].BACKSPACE&&!n&&At&&!It&&wt.length){var i=Y(Ft,wt);null!==i.removedValue&&(zt(i.values),Rt(i.removedValue,!1,"input"))}for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];$t&&tt.current&&(t=tt.current).onKeyDown.apply(t,[e].concat(a));He&&He.apply(void 0,[e].concat(a))},dn=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i;$t&&tt.current&&(i=tt.current).onKeyUp.apply(i,[e].concat(n));Ue&&Ue.apply(void 0,[e].concat(n))},hn=Object(A["useRef"])(!1),fn=function(){at(!0),Z||(Te&&!hn.current&&Te.apply(void 0,arguments),xe.includes("focus")&&nn(!0)),hn.current=!0},pn=function(){at(!1,(function(){hn.current=!1,nn(!1)})),Z||(It&&("tags"===E?(rn("",!1,!1),zt(Array.from(new Set([].concat(Object(K["a"])(wt),[It]))))):"multiple"===E&&Tt("")),Re&&Re.apply(void 0,arguments))},An=[];Object(A["useEffect"])((function(){return function(){An.forEach((function(e){return clearTimeout(e)})),An.splice(0,An.length)}}),[]);var gn=function(e){var t=e.target,n=$e.current&&$e.current.getPopupElement();if(n&&n.contains(t)){var r=setTimeout((function(){var e=An.indexOf(r);-1!==e&&An.splice(e,1),st(),n.contains(document.activeElement)||et.current.focus()}));An.push(r)}if(Qe){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];Qe.apply(void 0,[e].concat(o))}},mn=Object(A["useState"])(0),vn=Object(S["a"])(mn,2),yn=vn[0],bn=vn[1],_n=void 0!==$?$:"combobox"!==E,wn=function(e,t){bn(t),ie&&"combobox"===E&&null!==e&&Et(String(e))},xn=Object(A["useState"])(null),Cn=Object(S["a"])(xn,2),Sn=Cn[0],kn=Cn[1],En=Object(A["useState"])({}),On=Object(S["a"])(En,2),Bn=On[1];function Mn(){Bn({})}ve((function(){if(tn){var e=Math.ceil(Je.current.offsetWidth);Sn!==e&&kn(e)}}),[tn]);var Tn,In=A["createElement"](n,{ref:tt,prefixCls:p,id:ht,open:$t,childrenAsData:!_,options:Nt,flattenOptions:jt,multiple:At,values:xt,height:le,itemHeight:de,onSelect:Wt,onToggleOpen:nn,onActiveValue:wn,defaultActiveFirstOption:_n,notFoundContent:ne,onScroll:Be,searchValue:It,menuItemSelectedIcon:G,virtual:!1!==Ae&&!1!==ye,onMouseEnter:Mn}),Ln=function(){Ye&&Xe.onClear&&Xe.onClear(),We&&We(),zt([]),rn("",!1,!1)};!Z&&Q&&(wt.length||It)&&(Tn=A["createElement"](T,{className:"".concat(p,"-clear"),onMouseDown:Ln,customizeIcon:z},"\xd7"));var Dn,Pn=void 0!==V?V:J||!At&&"combobox"!==E;Pn&&(Dn=A["createElement"](T,{className:v()("".concat(p,"-arrow"),Object(x["a"])({},"".concat(p,"-arrow-loading"),J)),customizeIcon:W,customizeIconProps:{loading:J,searchValue:It,open:$t,focused:ot,showSearch:gt}}));var Nn=v()(p,g,(h={},Object(x["a"])(h,"".concat(p,"-focused"),ot),Object(x["a"])(h,"".concat(p,"-multiple"),At),Object(x["a"])(h,"".concat(p,"-single"),!At),Object(x["a"])(h,"".concat(p,"-allow-clear"),Q),Object(x["a"])(h,"".concat(p,"-show-arrow"),Pn),Object(x["a"])(h,"".concat(p,"-disabled"),Z),Object(x["a"])(h,"".concat(p,"-loading"),J),Object(x["a"])(h,"".concat(p,"-open"),$t),Object(x["a"])(h,"".concat(p,"-customize-input"),Xt),Object(x["a"])(h,"".concat(p,"-show-search"),gt),h));return A["createElement"]("div",Object.assign({className:Nn},Ze,{ref:Je,onMouseDown:gn,onKeyDown:un,onKeyUp:dn,onFocus:fn,onBlur:pn}),ot&&!$t&&A["createElement"]("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(wt.join(", "))),A["createElement"](Ie,{ref:$e,disabled:Z,prefixCls:p,visible:tn,popupElement:In,containerWidth:Sn,animation:fe,transitionName:pe,dropdownStyle:ge,dropdownClassName:me,direction:Se,dropdownMatchSelectWidth:ye,dropdownRender:be,dropdownAlign:_e,getPopupContainer:ae,empty:!Lt.length,getTriggerDOMNode:function(){return mt.current}},A["createElement"](Ee,Object.assign({},e,{domRef:mt,prefixCls:p,inputElement:Xt,ref:et,id:ht,showSearch:gt,mode:E,accessibilityIndex:yn,multiple:At,tagRender:Oe,values:Ft,open:$t,onToggleOpen:nn,searchValue:It,activeValue:kt,onSearch:rn,onSearchSubmit:on,onSelect:Gt,tokenWithEnter:nt}))),Dn,Tn)}var h=A["forwardRef"](d);return h}function Ue(e){var t=e.mode,n=e.options,r=e.children,i=e.backfill,o=e.allowClear,a=e.placeholder,s=e.getInputElement,l=e.showSearch,c=e.onSearch,u=e.defaultOpen,d=e.autoFocus,h=e.labelInValue,f=e.value,p=e.inputValue,g=e.optionLabelProp,m="multiple"===t||"tags"===t,v=void 0!==l?l:m||"combobox"===t,y=n||Q(r);if(Object(W["a"])("tags"!==t||y.every((function(e){return!e.disabled})),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),"tags"===t||"combobox"===t){var b=y.some((function(e){return e.options?e.options.some((function(e){return"number"===typeof("value"in e?e.value:e.key)})):"number"===typeof("value"in e?e.value:e.key)}));Object(W["a"])(!b,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(W["a"])("combobox"!==t||!g,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(W["a"])("combobox"===t||!i,"`backfill` only works with `combobox` mode."),Object(W["a"])("combobox"===t||!s,"`getInputElement` only work with `combobox` mode."),Object(W["b"])("combobox"!==t||!s||!o||!a,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),c&&!v&&"combobox"!==t&&"tags"!==t&&Object(W["a"])(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(W["b"])(!u||d,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),void 0!==f&&null!==f){var _=G(f);Object(W["a"])(!h||_.every((function(e){return"object"===Object(V["a"])(e)&&("key"in e||"value"in e)})),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(W["a"])(!m||Array.isArray(f),"`value` should be array when `mode` is `multiple` or `tags`")}if(r){var w=null;Object(U["a"])(r).some((function(e){if(!A["isValidElement"](e)||!e.type)return!1;var t=e.type;if(t.isSelectOption)return!1;if(t.isSelectOptGroup){var n=Object(U["a"])(e.props.children).every((function(t){return!(A["isValidElement"](t)&&e.type&&!t.type.isSelectOption)||(w=t.type,!1)}));return!n}return w=t,!0})),w&&Object(W["a"])(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(w.displayName||w.name||w,"`.")),Object(W["a"])(void 0===p,"`inputValue` is deprecated, please use `searchValue` instead.")}}var He=Ue,Qe=Re({prefixCls:"rc-select",components:{optionList:D},convertChildrenToData:Q,flattenOptions:ne,getLabeledValue:oe,filterOptions:le,isValueDisabled:ue,findValueOption:ie,warningProps:He,fillOptionsWithMissingValue:de}),Ke=function(e){Object(_["a"])(n,e);var t=Object(w["a"])(n);function n(){var e;return Object(y["a"])(this,n),e=t.apply(this,arguments),e.selectRef=A["createRef"](),e.focus=function(){e.selectRef.current.focus()},e.blur=function(){e.selectRef.current.blur()},e}return Object(b["a"])(n,[{key:"render",value:function(){return A["createElement"](Qe,Object.assign({ref:this.selectRef},this.props))}}]),n}(A["Component"]);Ke.Option=N,Ke.OptGroup=F;var ze=Ke,Ve=ze,We=n("H84U"),Ge=n("1vzs"),Xe=n("3Nzz"),qe=function(e){h()(n,e);var t=p()(n);function n(){var e;return l()(this,n),e=t.apply(this,arguments),e.selectRef=A["createRef"](),e.focus=function(){e.selectRef.current&&e.selectRef.current.focus()},e.blur=function(){e.selectRef.current&&e.selectRef.current.blur()},e.getMode=function(){var t=e.props.mode;if("combobox"!==t)return t===n.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":t},e.renderSelect=function(t){var n,r=t.getPopupContainer,o=t.getPrefixCls,s=t.renderEmpty,l=t.direction,c=t.virtual,u=t.dropdownMatchSelectWidth,d=e.props,h=d.prefixCls,f=d.notFoundContent,p=d.className,m=d.size,y=d.listHeight,b=void 0===y?256:y,_=d.listItemHeight,w=void 0===_?24:_,x=d.getPopupContainer,C=d.dropdownClassName,S=d.bordered,k=o("select",h),E=e.getMode(),O="multiple"===E||"tags"===E;n=void 0!==f?f:"combobox"===E?null:s("Select");var B=Object(Ge["a"])(a()(a()({},e.props),{multiple:O,prefixCls:k})),M=B.suffixIcon,T=B.itemIcon,I=B.removeIcon,L=B.clearIcon,D=Object(g["default"])(e.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),P=v()(C,i()({},"".concat(k,"-dropdown-").concat(l),"rtl"===l));return A["createElement"](Xe["b"].Consumer,null,(function(t){var o,s=m||t,d=v()(p,(o={},i()(o,"".concat(k,"-lg"),"large"===s),i()(o,"".concat(k,"-sm"),"small"===s),i()(o,"".concat(k,"-rtl"),"rtl"===l),i()(o,"".concat(k,"-borderless"),!S),o));return A["createElement"](Ve,a()({ref:e.selectRef,virtual:c,dropdownMatchSelectWidth:u},D,{listHeight:b,listItemHeight:w,mode:E,prefixCls:k,direction:l,inputIcon:M,menuItemSelectedIcon:T,removeIcon:I,clearIcon:L,notFoundContent:n,className:d,getPopupContainer:x||r,dropdownClassName:P}))}))},e}return u()(n,[{key:"render",value:function(){return A["createElement"](We["a"],null,this.renderSelect)}}]),n}(A["Component"]);qe.Option=N,qe.OptGroup=F,qe.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",qe.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};t["a"]=qe},"2fw6":function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(e,t,n){n&&e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI,!0)}});e.exports=i},"2gN3":function(e,t,n){var r=n("Kz5y"),i=r["__core-js_shared__"];e.exports=i},"2jpz":function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r=n("cDf5"),i=n.n(r),o=n("q1tI"),a=n("TSYQ"),s=n.n(a),l=n("gZBC"),c=n.n(l),u=n("vk+C"),d=n.n(u),h=n("pG52"),f=n.n(h),p=n("Csr3"),A=n.n(p),g=n("e5VY"),m=n.n(g),v=n("0n0R");function y(e,t,n,r){var a,l=r.isLeaf,u=r.expanded,h=r.loading;if(h)return o["createElement"](c.a,{className:"".concat(e,"-switcher-loading-icon")});if(n&&"object"===i()(n)&&(a=n.showLeafIcon),l)return n?"object"!==i()(n)||a?o["createElement"](d.a,{className:"".concat(e,"-switcher-line-icon")}):o["createElement"]("span",{className:"".concat(e,"-switcher-leaf-line")}):null;var p="".concat(e,"-switcher-icon");return Object(v["b"])(t)?Object(v["a"])(t,{className:s()(t.props.className||"",p)}):t||(n?u?o["createElement"](f.a,{className:"".concat(e,"-switcher-line-icon")}):o["createElement"](A.a,{className:"".concat(e,"-switcher-line-icon")}):o["createElement"](m.a,{className:p}))}},"2oIt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},"2uGb":function(e,t,n){var r=n("ProS");n("ko1b"),n("s2lz"),n("RBEP");var i=n("kMLO"),o=n("nKiI");r.registerVisual(i),r.registerLayout(o)},"2w7y":function(e,t,n){var r=n("ProS");n("qMZE"),n("g0SD"),r.registerPreprocessor((function(e){e.markPoint=e.markPoint||{}}))},"33Ds":function(e,t,n){var r=n("ProS"),i=n("b9oc"),o=n("Kagy"),a=n("IUWy"),s=o.toolbox.restore;function l(e){this.model=e}l.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:s.title};var c=l.prototype;c.onclick=function(e,t,n){i.clear(e),t.dispatchAction({type:"restore",from:this.uid})},a.register("restore",l),r.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var u=l;e.exports=u},"34/K":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=function(){function e(){r(this,e),this._lines=0}return o(e,[{key:"decodeRect",value:function(e,t,n,r,i,o,a){0===this._lines&&(this._lines=r);var s=8==a?1:4,l=n*s;if(i.rQwait("RAW",l))return!1;var c=t+(r-this._lines),u=Math.min(this._lines,Math.floor(i.rQlen/l)),d=i.rQ,h=i.rQi;if(8==a){for(var f=n*u,p=new Uint8Array(4*f),A=0;A<f;A++)p[4*A+0]=255*(d[h+A]>>0&3)/3,p[4*A+1]=255*(d[h+A]>>2&3)/3,p[4*A+2]=255*(d[h+A]>>4&3)/3,p[4*A+4]=0;d=p,h=0}return o.blitImage(e,c,n,u,d,h),i.rQskipBytes(u*l),this._lines-=u,!(this._lines>0)}}]),e}();t["default"]=a},3690:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=a(n("Lo0S"));function o(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n["default"]=e,t&&t.set(e,n),n}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}var u=function(){function e(){s(this,e),this._tiles=0,this._lastsubencoding=0}return c(e,[{key:"decodeRect",value:function(e,t,n,r,o,a,s){0===this._tiles&&(this._tilesX=Math.ceil(n/16),this._tilesY=Math.ceil(r/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);while(this._tiles>0){var l=1;if(o.rQwait("HEXTILE",l))return!1;var c=o.rQ,u=o.rQi,d=c[u];if(d>30)throw new Error("Illegal hextile subencoding (subencoding: "+d+")");var h=this._totalTiles-this._tiles,f=h%this._tilesX,p=Math.floor(h/this._tilesX),A=e+16*f,g=t+16*p,m=Math.min(16,e+n-A),v=Math.min(16,t+r-g);if(1&d)l+=m*v*4;else if(2&d&&(l+=4),4&d&&(l+=4),8&d){if(l++,o.rQwait("HEXTILE",l))return!1;var y=c[u+l-1];l+=16&d?6*y:2*y}if(o.rQwait("HEXTILE",l))return!1;if(u++,0===d)1&this._lastsubencoding?i.Debug(" Ignoring blank after RAW"):a.fillRect(A,g,m,v,this._background);else if(1&d)a.blitImage(A,g,m,v,c,u),u+=l-1;else{if(2&d&&(this._background=[c[u],c[u+1],c[u+2],c[u+3]],u+=4),4&d&&(this._foreground=[c[u],c[u+1],c[u+2],c[u+3]],u+=4),a.startTile(A,g,m,v,this._background),8&d){var b=c[u];u++;for(var _=0;_<b;_++){var w=void 0;16&d?(w=[c[u],c[u+1],c[u+2],c[u+3]],u+=4):w=this._foreground;var x=c[u];u++;var C=x>>4,S=15&x,k=c[u];u++;var E=1+(k>>4),O=1+(15&k);a.subTile(C,S,E,O,w)}}a.finishTile()}o.rQi=u,this._lastsubencoding=d,this._tiles--}return!0}}]),e}();t["default"]=u},"3A9y":function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},"3C/r":function(e,t){var n=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};n.prototype.getCanvasPattern=function(e){return e.createPattern(this.image,this.repeat||"repeat")};var r=n;e.exports=r},"3CBa":function(e,t,n){var r=n("hydK"),i=r.createElement,o=n("bYtY"),a=n("SUKs"),s=n("y+Vt"),l=n("Dagg"),c=n("dqUG"),u=n("DBLp"),d=n("sW+o"),h=n("n6Mw"),f=n("vKoX"),p=n("P47w"),A=p.path,g=p.image,m=p.text;function v(e){return parseInt(e,10)}function y(e){return e instanceof s?A:e instanceof l?g:e instanceof c?m:A}function b(e,t){return t&&e&&t.parentNode!==e}function _(e,t,n){if(b(e,t)&&n){var r=n.nextSibling;r?e.insertBefore(t,r):e.appendChild(t)}}function w(e,t){if(b(e,t)){var n=e.firstChild;n?e.insertBefore(t,n):e.appendChild(t)}}function x(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)}function C(e){return e.__textSvgEl}function S(e){return e.__svgEl}var k=function(e,t,n,r){this.root=e,this.storage=t,this._opts=n=o.extend({},n||{});var a=i("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=i("g");a.appendChild(s);var l=i("g");a.appendChild(l),this.gradientManager=new d(r,l),this.clipPathManager=new h(r,l),this.shadowManager=new f(r,l);var c=document.createElement("div");c.style.cssText="overflow:hidden;position:relative",this._svgDom=a,this._svgRoot=l,this._backgroundRoot=s,this._viewport=c,e.appendChild(c),c.appendChild(a),this.resize(n.width,n.height),this._visibleList=[]};function E(e){return function(){a('In SVG mode painter not support method "'+e+'"')}}k.prototype={constructor:k,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},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);this._paintList(e)},setBackgroundColor:function(e){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var t=i("rect");t.setAttribute("width",this.getWidth()),t.setAttribute("height",this.getHeight()),t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("id",0),t.style.fill=e,this._backgroundRoot.appendChild(t),this._backgroundNode=t},_paintList:function(e){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var t,n=this._svgRoot,r=this._visibleList,i=e.length,o=[];for(t=0;t<i;t++){var a=e[t],s=y(a),l=S(a)||C(a);a.invisible||(a.__dirty&&(s&&s.brush(a),this.clipPathManager.update(a),a.style&&(this.gradientManager.update(a.style.fill),this.gradientManager.update(a.style.stroke),this.shadowManager.update(l,a)),a.__dirty=!1),o.push(a))}var c,d=u(r,o);for(t=0;t<d.length;t++){var h=d[t];if(h.removed)for(var f=0;f<h.count;f++){a=r[h.indices[f]],l=S(a);var p=C(a);x(n,l),x(n,p)}}for(t=0;t<d.length;t++){h=d[t];if(h.added)for(f=0;f<h.count;f++){a=o[h.indices[f]],l=S(a),p=C(a);c?_(n,l,c):w(n,l),l?_(n,p,l):c?_(n,p,c):w(n,p),_(n,p,l),c=p||l||c,this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a)}else if(!h.removed)for(f=0;f<h.count;f++){a=o[h.indices[f]],l=S(a),p=C(a),l=S(a),p=C(a);this.gradientManager.markUsed(a),this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.markUsed(a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a),p&&_(n,p,l),c=l||p||c}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=o},_getDefs:function(e){var t=this._svgDom,n=t.getElementsByTagName("defs");if(0===n.length){if(e){n=t.insertBefore(i("defs"),t.firstChild);return n.contains||(n.contains=function(e){var t=n.children;if(!t)return!1;for(var r=t.length-1;r>=0;--r)if(t[r]===e)return!0;return!1}),n}return null}return n[0]},resize:function(e,t){var n=this._viewport;n.style.display="none";var r=this._opts;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!==e||this._height!==t){this._width=e,this._height=t;var i=n.style;i.width=e+"px",i.height=t+"px";var o=this._svgDom;o.setAttribute("width",e),o.setAttribute("height",t)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",e),this._backgroundNode.setAttribute("height",t))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],r=["clientWidth","clientHeight"][e],i=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[r]||v(s[n])||v(a.style[n]))-(v(s[i])||0)-(v(s[o])||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 e=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,">\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+e}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(e){k.prototype[e]=E(e)}));var O=k;e.exports=O},"3Fdi":function(e,t){var n=Function.prototype,r=n.toString;function i(e){if(null!=e){try{return r.call(e)}catch(t){}try{return e+""}catch(t){}}return""}e.exports=i},"3LNs":function(e,t,n){var r=n("bYtY"),i=n("Yl7c"),o=n("IwbS"),a=n("zTMp"),s=n("YH21"),l=n("iLNv"),c=n("4NO4"),u=c.makeInner,d=u(),h=r.clone,f=r.bind;function p(){}function A(e,t,n,r){g(d(n).lastProp,r)||(d(n).lastProp=r,t?o.updateProps(n,r,e):(n.stopAnimation(),n.attr(r)))}function g(e,t){if(r.isObject(e)&&r.isObject(t)){var n=!0;return r.each(t,(function(t,r){n=n&&g(e[r],t)})),!!n}return e===t}function m(e,t){e[t.get("label.show")?"show":"hide"]()}function v(e){return{position:e.position.slice(),rotation:e.rotation||0}}function y(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=i&&(e.zlevel=i),e.silent=n)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,n,i){var a=t.get("value"),s=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,i||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,c=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(c&&c.hide());l&&l.show(),c&&c.show();var u={};this.makeElOption(u,a,e,t,n);var d=u.graphicKey;d!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=d;var h=this._moveAnimation=this.determineAnimation(e,t);if(l){var f=r.curry(A,t,h);this.updatePointerEl(l,u,f,t),this.updateLabelEl(l,u,f,t)}else l=this._group=new o.Group,this.createPointerEl(l,u,e,t),this.createLabelEl(l,u,e,t),n.getZr().add(l);y(l,t,!0),this._renderHandle(a)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var n=t.get("animation"),r=e.axis,i="category"===r.type,o=t.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(i&&r.getBandWidth()>s)return!0;if(o){var l=a.getAxisInfo(e).seriesDataCount,c=r.getExtent();return Math.abs(c[0]-c[1])/l>s}return!1}return!0===n},makeElOption:function(e,t,n,r,i){},createPointerEl:function(e,t,n,r){var i=t.pointer;if(i){var a=d(e).pointerEl=new o[i.type](h(t.pointer));e.add(a)}},createLabelEl:function(e,t,n,r){if(t.label){var i=d(e).labelEl=new o.Rect(h(t.label));e.add(i),m(i,r)}},updatePointerEl:function(e,t,n){var r=d(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,n,r){var i=d(e).labelEl;i&&(i.setStyle(t.label.style),n(i,{shape:t.label.shape,position:t.label.position}),m(i,r))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,i=this._api.getZr(),a=this._handle,c=n.getModel("handle"),u=n.get("status");if(!c.get("show")||!u||"hide"===u)return a&&i.remove(a),void(this._handle=null);this._handle||(t=!0,a=this._handle=o.createIcon(c.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){s.stop(e.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),i.add(a)),y(a,n,!1);var d=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];a.setStyle(c.getItemStyle(null,d));var h=c.get("size");r.isArray(h)||(h=[h,h]),a.attr("scale",[h[0]/2,h[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",c.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},_moveHandleToValue:function(e,t){A(this._axisPointerModel,!t&&this._moveAnimation,this._handle,v(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(v(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(v(r)),d(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var e=this._handle;if(e){var t=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},_onHandleDragEnd:function(e){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}},p.prototype.constructor=p,i.enableClassExtend(p);var b=p;e.exports=b},"3OrL":function(e,t,n){var r=n("bYtY"),i=n("6Ic6"),o=n("IwbS"),a=n("y+Vt"),s=["itemStyle"],l=["emphasis","itemStyle"],c=i.extend({type:"boxplot",render:function(e,t,n){var r=e.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===e.get("layout")?1:0;r.diff(o).add((function(e){if(r.hasValue(e)){var t=r.getItemLayout(e),n=d(t,r,e,a,!0);r.setItemGraphicEl(e,n),i.add(n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(r.hasValue(e)){var s=r.getItemLayout(e);n?h(s,n,r,e):n=d(s,r,e,a),i.add(n),r.setItemGraphicEl(e,n)}else i.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&i.remove(t)})).execute(),this._data=r},remove:function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:r.noop}),u=a.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var n=t.points,r=0;for(e.moveTo(n[r][0],n[r][1]),r++;r<4;r++)e.lineTo(n[r][0],n[r][1]);for(e.closePath();r<n.length;r++)e.moveTo(n[r][0],n[r][1]),r++,e.lineTo(n[r][0],n[r][1])}});function d(e,t,n,r,i){var o=e.ends,a=new u({shape:{points:i?f(o,r,e):o}});return h(e,a,t,n,i),a}function h(e,t,n,r,i){var a=n.hostModel,c=o[i?"initProps":"updateProps"];c(t,{shape:{points:e.ends}},a,r);var u=n.getItemModel(r),d=u.getModel(s),h=n.getItemVisual(r,"color"),f=d.getItemStyle(["borderColor"]);f.stroke=h,f.strokeNoScale=!0,t.useStyle(f),t.z2=100;var p=u.getModel(l).getItemStyle();o.setHoverStyle(t,p)}function f(e,t,n){return r.map(e,(function(e){return e=e.slice(),e[t]=n.initBaseline,e}))}var p=c;e.exports=p},"3S7+":function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("J4zp"),a=n.n(o),s=n("pVnL"),l=n.n(s),c=n("q1tI"),u=n.n(c),d=n("U8pU"),h=n("VTBJ"),f=n("Ff2n"),p=n("1OyB"),A=n("vuIU"),g=n("JX7q"),m=n("Ji7U"),v=n("LK+K"),y=n("i8i4"),b=n.n(y),_=n("l4aY"),w=n("m+aA"),x=n("c+Xe"),C=n("zT1h"),S=n("QC+M"),k=n("TSYQ"),E=n.n(k);function O(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function B(e,t,n){var r=e[t]||{};return Object(h["a"])(Object(h["a"])({},r),n)}function M(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a];if(O(e[s].points,i,r))return"".concat(t,"-placement-").concat(s)}return""}var T=n("xEkU"),I=n.n(T),L=n("9mu1"),D=n("rePB"),P=!("undefined"===typeof window||!window.document||!window.document.createElement);function N(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function j(e,t){var n={animationend:N("Animation","AnimationEnd"),transitionend:N("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var F=j(P,"undefined"!==typeof window?window:{}),R={};if(P){var U=document.createElement("div");R=U.style}var H={};function Q(e){if(H[e])return H[e];var t=F[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i<r;i+=1){var o=n[i];if(Object.prototype.hasOwnProperty.call(t,o)&&o in R)return H[e]=t[o],H[e]}return""}var K=Q("animationend"),z=Q("transitionend"),V=!(!K||!z);function W(e,t){if(!e)return null;if("object"===Object(d["a"])(e)){var n=t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}));return e[n]}return"".concat(e,"-").concat(t)}var G="none",X="appear",q="enter",Y="leave";function Z(e){var t=e,n=!!c["forwardRef"];function r(e){return!(!e.motionName||!t)}"object"===Object(d["a"])(e)&&(t=e.transitionSupport,n="forwardRef"in e?e.forwardRef:n);var i=function(e){Object(m["a"])(n,e);var t=Object(v["a"])(n);function n(){var e;return Object(p["a"])(this,n),e=t.apply(this,arguments),e.$cacheEle=null,e.node=null,e.raf=null,e.destroyed=!1,e.deadlineId=null,e.state={status:G,statusActive:!1,newStatus:!1,statusStyle:null},e.onDomUpdate=function(){var t=e.state,n=t.status,i=t.newStatus,o=e.props,a=o.onAppearStart,s=o.onEnterStart,l=o.onLeaveStart,c=o.onAppearActive,u=o.onEnterActive,d=o.onLeaveActive,h=o.motionAppear,f=o.motionEnter,p=o.motionLeave;if(r(e.props)){var A=e.getElement();e.$cacheEle!==A&&(e.removeEventListener(e.$cacheEle),e.addEventListener(A),e.$cacheEle=A),i&&n===X&&h?e.updateStatus(a,null,null,(function(){e.updateActiveStatus(c,X)})):i&&n===q&&f?e.updateStatus(s,null,null,(function(){e.updateActiveStatus(u,q)})):i&&n===Y&&p&&e.updateStatus(l,null,null,(function(){e.updateActiveStatus(d,Y)}))}},e.onMotionEnd=function(t){if(!t||t.deadline||t.target===e.getElement()){var n=e.state,r=n.status,i=n.statusActive,o=e.props,a=o.onAppearEnd,s=o.onEnterEnd,l=o.onLeaveEnd;r===X&&i?e.updateStatus(a,{status:G},t):r===q&&i?e.updateStatus(s,{status:G},t):r===Y&&i&&e.updateStatus(l,{status:G},t)}},e.setNodeRef=function(t){var n=e.props.internalRef;e.node=t,Object(x["b"])(n,t)},e.getElement=function(){try{return Object(w["a"])(e.node||Object(g["a"])(e))}catch(t){return e.$cacheEle}},e.addEventListener=function(t){t&&(t.addEventListener(z,e.onMotionEnd),t.addEventListener(K,e.onMotionEnd))},e.removeEventListener=function(t){t&&(t.removeEventListener(z,e.onMotionEnd),t.removeEventListener(K,e.onMotionEnd))},e.updateStatus=function(t,n,r,i){var o,a=t?t(e.getElement(),r):null;!1===a||e.destroyed||(i&&(o=function(){e.nextFrame(i)}),e.setState(Object(h["a"])({statusStyle:"object"===Object(d["a"])(a)?a:null,newStatus:!1},n),o))},e.updateActiveStatus=function(t,n){e.nextFrame((function(){var r=e.state.status;if(r===n){var i=e.props.motionDeadline;e.updateStatus(t,{statusActive:!0}),i>0&&(e.deadlineId=setTimeout((function(){e.onMotionEnd({deadline:!0})}),i))}}))},e.nextFrame=function(t){e.cancelNextFrame(),e.raf=I()(t)},e.cancelNextFrame=function(){e.raf&&(I.a.cancel(e.raf),e.raf=null)},e}return Object(A["a"])(n,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var e,t=this.state,n=t.status,i=t.statusActive,o=t.statusStyle,a=this.props,s=a.children,l=a.motionName,c=a.visible,u=a.removeOnLeave,d=a.leavedClassName,f=a.eventProps;return s?n!==G&&r(this.props)?s(Object(h["a"])(Object(h["a"])({},f),{},{className:E()(W(l,n),(e={},Object(D["a"])(e,W(l,"".concat(n,"-active")),i),Object(D["a"])(e,l,"string"===typeof l),e)),style:o}),this.setNodeRef):c?s(Object(h["a"])({},f),this.setNodeRef):u?null:s(Object(h["a"])(Object(h["a"])({},f),{},{className:d}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,i=t.status;if(!r(e))return{};var o=e.visible,a=e.motionAppear,s=e.motionEnter,l=e.motionLeave,c=e.motionLeaveImmediately,u={prevProps:e};return(i===X&&!a||i===q&&!s||i===Y&&!l)&&(u.status=G,u.statusActive=!1,u.newStatus=!1),!n&&o&&a&&(u.status=X,u.statusActive=!1,u.newStatus=!0),n&&!n.visible&&o&&s&&(u.status=q,u.statusActive=!1,u.newStatus=!0),(n&&n.visible&&!o&&l||!n&&c&&!o&&l)&&(u.status=Y,u.statusActive=!1,u.newStatus=!0),u}}]),n}(c["Component"]);return i.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},n?c["forwardRef"]((function(e,t){return c["createElement"](i,Object.assign({internalRef:t},e))})):i}var J=Z(V),$="add",ee="keep",te="remove",ne="removed";function re(e){var t;return t=e&&"object"===Object(d["a"])(e)&&"key"in e?e:{key:e},Object(h["a"])(Object(h["a"])({},t),{},{key:String(t.key)})}function ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(re)}function oe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,o=ie(e),a=ie(t);o.forEach((function(e){for(var t=!1,o=r;o<i;o+=1){var s=a[o];if(s.key===e.key){r<o&&(n=n.concat(a.slice(r,o).map((function(e){return Object(h["a"])(Object(h["a"])({},e),{},{status:$})}))),r=o),n.push(Object(h["a"])(Object(h["a"])({},s),{},{status:ee})),r+=1,t=!0;break}}t||n.push(Object(h["a"])(Object(h["a"])({},e),{},{status:te}))})),r<i&&(n=n.concat(a.slice(r).map((function(e){return Object(h["a"])(Object(h["a"])({},e),{},{status:$})}))));var s={};n.forEach((function(e){var t=e.key;s[t]=(s[t]||0)+1}));var l=Object.keys(s).filter((function(e){return s[e]>1}));return l.forEach((function(e){n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==te})),n.forEach((function(t){t.key===e&&(t.status=ee)}))})),n}var ae=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function se(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J,n=function(n){Object(m["a"])(i,n);var r=Object(v["a"])(i);function i(){var e;return Object(p["a"])(this,i),e=r.apply(this,arguments),e.state={keyEntities:[]},e.removeKey=function(t){e.setState((function(e){var n=e.keyEntities;return{keyEntities:n.map((function(e){return e.key!==t?e:Object(h["a"])(Object(h["a"])({},e),{},{status:ne})}))}}))},e}return Object(A["a"])(i,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r=this.props,i=r.component,o=r.children,a=Object(f["a"])(r,["component","children"]),s=i||c["Fragment"],l={};return ae.forEach((function(e){l[e]=a[e],delete a[e]})),delete a.keys,c["createElement"](s,Object.assign({},a),n.map((function(n){var r=n.status,i=Object(f["a"])(n,["status"]),a=r===$||r===ee;return c["createElement"](t,Object.assign({},l,{key:i.key,visible:a,eventProps:i,onLeaveEnd:function(){l.onLeaveEnd&&l.onLeaveEnd.apply(l,arguments),e.removeKey(i.key)}}),o)})))}}],[{key:"getDerivedStateFromProps",value:function(t,n){var r=t.keys,i=n.keyEntities,o=ie(r);if(!e)return{keyEntities:o.map((function(e){return Object(h["a"])(Object(h["a"])({},e),{},{status:ee})}))};var a=oe(i,o),s=i.length;return{keyEntities:a.filter((function(e){for(var t=null,n=0;n<s;n+=1){var r=i[n];if(r.key===e.key){t=r;break}}return!t||t.status!==ne||e.status!==te}))}}}]),i}(c["Component"]);return n.defaultProps={component:"div"},n}se(V);var le=J,ce=function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.children,a=e.onMouseEnter,s=e.onMouseLeave,l=e.onMouseDown,u=e.onTouchStart,d=o;return c["Children"].count(o)>1&&(d=c["createElement"]("div",{className:"".concat(n,"-content")},o)),c["createElement"]("div",{ref:t,className:r,onMouseEnter:a,onMouseLeave:s,onMouseDown:l,onTouchStart:u,style:i},d)},ue=c["forwardRef"](ce);ue.displayName="PopupInner";var de=ue;function he(e){var t=e.prefixCls,n=e.motion,r=e.animation,i=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:i?{motionName:i}:null)}function fe(e){return e&&e.motionName}var pe=function(e){Object(m["a"])(n,e);var t=Object(v["a"])(n);function n(){var e;return Object(p["a"])(this,n),e=t.apply(this,arguments),e.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},e.popupRef=u.a.createRef(),e.alignRef=u.a.createRef(),e.nextFrameState=null,e.nextFrameId=null,e.onAlign=function(t,n){var r=e.state.status,i=e.props,o=i.getClassNameFromAlign,a=i.onAlign,s=o(n);"align"===r?e.setState({alignClassName:s,status:"aligned"},(function(){e.alignRef.current.forceAlign()})):"aligned"===r?(e.setState({alignClassName:s,status:"afterAlign"}),a(t,n)):e.setState({alignClassName:s})},e.onMotionEnd=function(){var t=e.props.visible;e.setState({status:t?"AfterMotion":"stable",inMotion:!1})},e.setStateOnNextFrame=function(t){e.cancelFrameState(),e.nextFrameState=Object(h["a"])(Object(h["a"])({},e.nextFrameState),t),e.nextFrameId=I()((function(){var t=Object(h["a"])({},e.nextFrameState);e.nextFrameState=null,e.setState(t)}))},e.getMotion=function(){return Object(h["a"])({},he(e.props))},e.getAlignTarget=function(){var t=e.props,n=t.point,r=t.getRootDomNode;return n||r},e.cancelFrameState=function(){I.a.cancel(e.nextFrameId)},e.renderPopupElement=function(){var t=e.state,n=t.status,r=t.targetHeight,i=t.targetWidth,o=t.alignClassName,a=e.props,s=a.prefixCls,l=a.className,c=a.style,d=a.stretch,f=a.visible,p=a.align,A=a.destroyPopupOnHide,g=a.onMouseEnter,m=a.onMouseLeave,v=a.onMouseDown,y=a.onTouchStart,b=a.children,_=E()(s,l,o),w="".concat(s,"-hidden"),C={};d&&(-1!==d.indexOf("height")?C.height=r:-1!==d.indexOf("minHeight")&&(C.minHeight=r),-1!==d.indexOf("width")?C.width=i:-1!==d.indexOf("minWidth")&&(C.minWidth=i));var S=Object(h["a"])(Object(h["a"])(Object(h["a"])(Object(h["a"])({},C),e.getZIndexStyle()),c),{},{opacity:"stable"!==n&&f?0:void 0,pointerEvents:"stable"!==n&&f?"none":void 0}),k=e.getMotion(),O=f;f&&"beforeMotion"!==n&&"motion"!==n&&"stable"!==n&&(k.motionAppear=!1,k.motionEnter=!1,k.motionLeave=!1),"afterAlign"!==n&&"beforeMotion"!==n||(O=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach((function(t){var n=null===k||void 0===k?void 0:k[t];k[t]=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];null===n||void 0===n||n.apply(void 0,r),e.setState({inMotion:!0})}}));var B=!f||"align"!==n&&"aligned"!==n&&"stable"!==n,M=!0;return"stable"===n&&(M=f),A&&!M?null:u.a.createElement(le,Object.assign({visible:O},k,{removeOnLeave:!1,onEnterEnd:e.onMotionEnd,onLeaveEnd:e.onMotionEnd,leavedClassName:w}),(function(t,n){var r=t.style,i=t.className;return u.a.createElement(L["a"],{target:e.getAlignTarget(),key:"popup",ref:e.alignRef,monitorWindowResize:!0,disabled:B,align:p,onAlign:e.onAlign},u.a.createElement(de,{prefixCls:s,className:E()(_,i),ref:Object(x["a"])(n,e.popupRef),onMouseEnter:g,onMouseLeave:m,onMouseDown:v,onTouchStart:y,style:Object(h["a"])(Object(h["a"])({},S),r)},b))}))},e.renderMaskElement=function(){var t=e.props,n=t.mask,r=t.maskMotion,i=t.maskTransitionName,o=t.maskAnimation,a=t.prefixCls,s=t.visible;if(!n)return null;var l={};return r&&r.motionName&&(l=Object(h["a"])({motionAppear:!0},he({motion:r,prefixCls:a,transitionName:i,animation:o}))),u.a.createElement(le,Object.assign({},l,{visible:s,removeOnLeave:!0}),(function(t){var n=t.className;return u.a.createElement("div",{style:e.getZIndexStyle(),key:"mask",className:E()("".concat(a,"-mask"),n)})}))},e}return Object(A["a"])(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e=this.state.status,t=this.props,n=t.getRootDomNode,r=t.visible,i=t.stretch;if(this.cancelFrameState(),r&&"stable"!==e)switch(e){case null:this.setStateOnNextFrame({status:i?"measure":"align"});break;case"afterAlign":this.setStateOnNextFrame({status:fe(this.getMotion())?"beforeMotion":"stable"});break;case"AfterMotion":this.setStateOnNextFrame({status:"stable"});break;default:var o=["measure","align",null,"beforeMotion","motion"],a=o.indexOf(e),s=o[a+1];-1!==a&&s&&this.setStateOnNextFrame({status:s})}if("measure"===e){var l=n();l&&this.setStateOnNextFrame({targetHeight:l.offsetHeight,targetWidth:l.offsetWidth})}}},{key:"componentWillUnmount",value:function(){this.cancelFrameState()}},{key:"getZIndexStyle",value:function(){var e=this.props.zIndex;return{zIndex:e}}},{key:"render",value:function(){return u.a.createElement("div",null,this.renderMaskElement(),this.renderPopupElement())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.visible,r=Object(f["a"])(e,["visible"]),i=t.prevVisible,o=t.status,a=t.inMotion,s={prevVisible:n,status:o},l=he(r);return null===i&&!1===n?(s.status="stable",s.inMotion=!1):n!==i&&(s.inMotion=!1,n||fe(l)&&a?s.status=null:s.status="stable",n&&(s.alignClassName=null)),s}}]),n}(c["Component"]),Ae=pe,ge=c["createContext"](null),me=ge;function ve(){}function ye(){return""}function be(){return window.document}var _e=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function we(e){var t=function(t){Object(m["a"])(r,t);var n=Object(v["a"])(r);function r(e){var t,i;return Object(p["a"])(this,r),t=n.call(this,e),t.popupRef=u.a.createRef(),t.triggerRef=u.a.createRef(),t.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},t.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},t.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onPopupMouseEnter=function(){t.clearDelayTimer()},t.onPopupMouseLeave=function(e){e.relatedTarget&&!e.relatedTarget.setTimeout&&t.popupRef.current&&t.popupRef.current.popupRef.current&&Object(_["a"])(t.popupRef.current.popupRef.current,e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},t.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},t.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},t.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},t.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},t.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()},t.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},t.onPopupMouseDown=function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)},t.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),i=t.getPopupDomNode();Object(_["a"])(r,n)||Object(_["a"])(i,n)||t.hasPopupMouseDown||t.close()}},t.getRootDomNode=function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=Object(w["a"])(t.triggerRef.current);if(n)return n}catch(r){}return b.a.findDOMNode(Object(g["a"])(t))},t.getPopupClassNameFromAlign=function(e){var n=[],r=t.props,i=r.popupPlacement,o=r.builtinPlacements,a=r.prefixCls,s=r.alignPoint,l=r.getPopupClassNameFromAlign;return i&&o&&n.push(M(o,a,e,s)),l&&n.push(l(e)),n.join(" ")},t.getComponent=function(){var e=t.props,n=e.prefixCls,r=e.destroyPopupOnHide,i=e.popupClassName,o=e.onPopupAlign,a=e.popupMotion,s=e.popupAnimation,l=e.popupTransitionName,c=e.popupStyle,d=e.mask,h=e.maskAnimation,f=e.maskTransitionName,p=e.maskMotion,A=e.zIndex,g=e.popup,m=e.stretch,v=e.alignPoint,y=t.state,b=y.popupVisible,_=y.point,w=t.getPopupAlign(),x={};return t.isMouseEnterToShow()&&(x.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(x.onMouseLeave=t.onPopupMouseLeave),x.onMouseDown=t.onPopupMouseDown,x.onTouchStart=t.onPopupMouseDown,u.a.createElement(Ae,Object.assign({prefixCls:n,destroyPopupOnHide:r,visible:b,point:v&&_,className:i,align:w,onAlign:o,animation:s,getClassNameFromAlign:t.getPopupClassNameFromAlign},x,{stretch:m,getRootDomNode:t.getRootDomNode,style:c,mask:d,zIndex:A,transitionName:l,maskAnimation:h,maskTransitionName:f,maskMotion:p,ref:t.popupRef,motion:a}),"function"===typeof g?g():g)},t.getContainer=function(){var e=Object(g["a"])(t),n=e.props,r=document.createElement("div");r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.width="100%";var i=n.getPopupContainer?n.getPopupContainer(t.getRootDomNode()):n.getDocument().body;return i.appendChild(r),r},t.setPoint=function(e){var n=t.props.alignPoint;n&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})},t.handlePortalUpdate=function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)},i="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:i,popupVisible:i},_e.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return Object(A["a"])(r,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props,n=this.state;if(n.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(),this.clickOutsideHandler=Object(C["a"])(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(),this.touchOutsideHandler=Object(C["a"])(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(),this.contextMenuOutsideHandler1=Object(C["a"])(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(C["a"])(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)}},{key:"getPopupDomNode",value:function(){return this.popupRef.current&&this.popupRef.current.popupRef.current?this.popupRef.current.popupRef.current:null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?B(r,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,i=1e3*t;if(this.clearDelayTimer(),i){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,o),r.clearDelayTimer()}),i)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){this.state.popupVisible&&this.popupRef.current&&this.popupRef.current.alignRef.current&&this.popupRef.current.alignRef.current.forceAlign()}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,r=n.children,i=n.forceRender,o=n.alignPoint,a=n.className,s=n.autoDestroy,l=u.a.Children.only(r),c={key:"trigger"};this.isContextMenuToShow()?c.onContextMenu=this.onContextMenu:c.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(c.onClick=this.onClick,c.onMouseDown=this.onMouseDown,c.onTouchStart=this.onTouchStart):(c.onClick=this.createTwoChains("onClick"),c.onMouseDown=this.createTwoChains("onMouseDown"),c.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(c.onMouseEnter=this.onMouseEnter,o&&(c.onMouseMove=this.onMouseMove)):c.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?c.onMouseLeave=this.onMouseLeave:c.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(c.onFocus=this.onFocus,c.onBlur=this.onBlur):(c.onFocus=this.createTwoChains("onFocus"),c.onBlur=this.createTwoChains("onBlur"));var d=E()(l&&l.props&&l.props.className,a);d&&(c.className=d);var f=Object(h["a"])({},c);Object(x["c"])(l)&&(f.ref=Object(x["a"])(this.triggerRef,l.ref));var p,A=u.a.cloneElement(l,f);return(t||this.popupRef.current||i)&&(p=u.a.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&s&&(p=null),u.a.createElement(me.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},A,p)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),r}(u.a.Component);return t.contextType=me,t.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:ye,getDocument:be,onPopupVisibleChange:ve,afterPopupVisibleChange:ve,onPopupAlign:ve,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},t}var xe=we(S["a"]),Ce={adjustX:1,adjustY:1},Se=[0,0],ke={left:{points:["cr","cl"],overflow:Ce,offset:[-4,0],targetOffset:Se},right:{points:["cl","cr"],overflow:Ce,offset:[4,0],targetOffset:Se},top:{points:["bc","tc"],overflow:Ce,offset:[0,-4],targetOffset:Se},bottom:{points:["tc","bc"],overflow:Ce,offset:[0,4],targetOffset:Se},topLeft:{points:["bl","tl"],overflow:Ce,offset:[0,-4],targetOffset:Se},leftTop:{points:["tr","tl"],overflow:Ce,offset:[-4,0],targetOffset:Se},topRight:{points:["br","tr"],overflow:Ce,offset:[0,-4],targetOffset:Se},rightTop:{points:["tl","tr"],overflow:Ce,offset:[4,0],targetOffset:Se},bottomRight:{points:["tr","br"],overflow:Ce,offset:[0,4],targetOffset:Se},rightBottom:{points:["bl","br"],overflow:Ce,offset:[4,0],targetOffset:Se},bottomLeft:{points:["tl","bl"],overflow:Ce,offset:[0,4],targetOffset:Se},leftBottom:{points:["br","bl"],overflow:Ce,offset:[-4,0],targetOffset:Se}},Ee=function(e){var t=e.overlay,n=e.prefixCls,r=e.id,i=e.overlayInnerStyle;return c["createElement"]("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:i},"function"===typeof t?t():t)},Oe=Ee,Be=function(e,t){var n=e.overlayClassName,r=e.trigger,i=void 0===r?["hover"]:r,o=e.mouseEnterDelay,a=void 0===o?0:o,s=e.mouseLeaveDelay,l=void 0===s?.1:s,u=e.overlayStyle,p=e.prefixCls,A=void 0===p?"rc-tooltip":p,g=e.children,m=e.onVisibleChange,v=e.afterVisibleChange,y=e.transitionName,b=e.animation,_=e.placement,w=void 0===_?"right":_,x=e.align,C=void 0===x?{}:x,S=e.destroyTooltipOnHide,k=void 0!==S&&S,E=e.defaultVisible,O=e.getTooltipContainer,B=e.overlayInnerStyle,M=Object(f["a"])(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),T=Object(c["useRef"])(null);Object(c["useImperativeHandle"])(t,(function(){return T.current}));var I=Object(h["a"])({},M);"visible"in e&&(I.popupVisible=e.visible);var L=function(){var t=e.arrowContent,n=void 0===t?null:t,r=e.overlay,i=e.id;return[c["createElement"]("div",{className:"".concat(A,"-arrow"),key:"arrow"},n),c["createElement"](Oe,{key:"content",prefixCls:A,id:i,overlay:r,overlayInnerStyle:B})]},D=!1,P=!1;if("boolean"===typeof k)D=k;else if(k&&"object"===Object(d["a"])(k)){var N=k.keepParent;D=!0===N,P=!1===N}return c["createElement"](xe,Object.assign({popupClassName:n,prefixCls:A,popup:L,action:i,builtinPlacements:ke,popupPlacement:w,ref:T,popupAlign:C,getPopupContainer:O,onPopupVisibleChange:m,afterPopupVisibleChange:v,popupTransitionName:y,popupAnimation:b,defaultPopupVisible:E,destroyPopupOnHide:D,autoDestroy:P,mouseLeaveDelay:l,popupStyle:u,mouseEnterDelay:a},I),g)},Me=Object(c["forwardRef"])(Be),Te=Me,Ie={adjustX:1,adjustY:1},Le={adjustX:0,adjustY:0},De=[0,0];function Pe(e){return"boolean"===typeof e?e?Ie:Le:l()(l()({},Le),e)}function Ne(e){var t=e.arrowWidth,n=void 0===t?5:t,r=e.horizontalArrowShift,i=void 0===r?16:r,o=e.verticalArrowShift,a=void 0===o?8:o,s=e.autoAdjustOverflow,c={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:[-(i+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(a+n)]},topRight:{points:["br","tc"],offset:[i+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(a+n)]},bottomRight:{points:["tr","bc"],offset:[i+n,4]},rightBottom:{points:["bl","cr"],offset:[4,a+n]},bottomLeft:{points:["tl","bc"],offset:[-(i+n),4]},leftBottom:{points:["br","cl"],offset:[-4,a+n]}};return Object.keys(c).forEach((function(t){c[t]=e.arrowPointAtCenter?l()(l()({},c[t]),{overflow:Pe(s),targetOffset:De}):l()(l()({},ke[t]),{overflow:Pe(s)}),c[t].ignoreShake=!0})),c}var je=n("0n0R"),Fe=n("H84U"),Re=n("09Wf"),Ue=function(e,t){var n={},r=l()({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete r[t])})),{picked:n,omitted:r}},He=new RegExp("^(".concat(Re["a"].join("|"),")(-inverse)?$"));function Qe(e,t){var n=e.type;if((!0===n.__ANT_BUTTON||!0===n.__ANT_SWITCH||!0===n.__ANT_CHECKBOX||"button"===e.type)&&e.props.disabled){var r=Ue(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),i=r.picked,o=r.omitted,a=l()(l()({display:"inline-block"},i),{cursor:"not-allowed",width:e.props.block?"100%":null}),s=l()(l()({},o),{pointerEvents:"none"}),u=Object(je["a"])(e,{style:s,className:null});return c["createElement"]("span",{style:a,className:E()(e.props.className,"".concat(t,"-disabled-compatible-wrapper"))},u)}return e}var Ke=c["forwardRef"]((function(e,t){var n,r=c["useContext"](Fe["b"]),o=r.getPopupContainer,s=r.getPrefixCls,u=r.direction,d=c["useState"](!!e.visible||!!e.defaultVisible),h=a()(d,2),f=h[0],p=h[1];c["useEffect"]((function(){"visible"in e&&p(e.visible)}),[e.visible]);var A=function(){var t=e.title,n=e.overlay;return!t&&!n&&0!==t},g=function(t){"visible"in e||p(!A()&&t),e.onVisibleChange&&!A()&&e.onVisibleChange(t)},m=function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||Ne({arrowPointAtCenter:n,autoAdjustOverflow:r})},v=function(e,t){var n=m(),r=Object.keys(n).filter((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}))[0];if(r){var i=e.getBoundingClientRect(),o={top:"50%",left:"50%"};r.indexOf("top")>=0||r.indexOf("Bottom")>=0?o.top="".concat(i.height-t.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(o.top="".concat(-t.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?o.left="".concat(i.width-t.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(o.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(o.left," ").concat(o.top)}},y=function(){var t=e.title,n=e.overlay;return 0===t?t:n||t||""},b=e.prefixCls,_=e.openClassName,w=e.getPopupContainer,x=e.getTooltipContainer,C=e.overlayClassName,S=e.color,k=e.overlayInnerStyle,O=e.children,B=s("tooltip",b),M=f;!("visible"in e)&&A()&&(M=!1);var T,I,L=Qe(Object(je["b"])(O)?O:c["createElement"]("span",null,O),B),D=L.props,P=E()(D.className,i()({},_||"".concat(B,"-open"),!0)),N=E()(C,(n={},i()(n,"".concat(B,"-rtl"),"rtl"===u),i()(n,"".concat(B,"-").concat(S),S&&He.test(S)),n));return S&&!He.test(S)&&(T=l()(l()({},k),{background:S}),I={background:S}),c["createElement"](Te,l()({},e,{prefixCls:B,overlayClassName:N,getTooltipContainer:w||x||o,ref:t,builtinPlacements:m(),overlay:y(),visible:M,onVisibleChange:g,onPopupAlign:v,overlayInnerStyle:T,arrowContent:c["createElement"]("span",{className:"".concat(B,"-arrow-content"),style:I})}),M?Object(je["a"])(L,{className:P}):L)}));Ke.displayName="Tooltip",Ke.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};t["a"]=Ke},"3TkU":function(e,t,n){n("aTJb"),n("OlYY"),n("fc+c"),n("QUw5"),n("Swgg"),n("LBfv"),n("noeP")},"3X6L":function(e,t,n){var r=n("bYtY"),i=n("7a+S"),o=n("OKJ2"),a=i.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:[]}});r.mixin(a,o);var s=a;e.exports=s},"3e3G":function(e,t,n){var r=n("bYtY"),i=n("QuXc"),o=function(e,t,n,r,o){this.x=null==e?.5:e,this.y=null==t?.5:t,this.r=null==n?.5:n,this.type="radial",this.global=o||!1,i.call(this,r)};o.prototype={constructor:o},r.inherits(o,i);var a=o;e.exports=a},"3gBT":function(e,t){var n=2311;function r(){return n++}e.exports=r},"3hzK":function(e,t){var n={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")}}};e.exports=n},"3m61":function(e,t){function n(e){return e instanceof Array||(e=[e,e]),e}function r(e){e.eachSeriesByType("graph",(function(e){var t=e.getGraph(),r=e.getEdgeData(),i=n(e.get("edgeSymbol")),o=n(e.get("edgeSymbolSize")),a="lineStyle.color".split("."),s="lineStyle.opacity".split(".");r.setVisual("fromSymbol",i&&i[0]),r.setVisual("toSymbol",i&&i[1]),r.setVisual("fromSymbolSize",o&&o[0]),r.setVisual("toSymbolSize",o&&o[1]),r.setVisual("color",e.get(a)),r.setVisual("opacity",e.get(s)),r.each((function(e){var i=r.getItemModel(e),o=t.getEdgeByIndex(e),l=n(i.getShallow("symbol",!0)),c=n(i.getShallow("symbolSize",!0)),u=i.get(a),d=i.get(s);switch(u){case"source":u=o.node1.getVisual("color");break;case"target":u=o.node2.getVisual("color");break}l[0]&&o.setVisual("fromSymbol",l[0]),l[1]&&o.setVisual("toSymbol",l[1]),c[0]&&o.setVisual("fromSymbolSize",c[0]),c[1]&&o.setVisual("toSymbolSize",c[1]),o.setVisual("color",u),o.setVisual("opacity",d)}))}))}e.exports=r},"3ouR":function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="CloseSquareOutlined";t["a"]=i["forwardRef"](l)},"3zoK":function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("KCsZ"),a=n("nkfE"),s=n("OELB"),l=n("ICMv"),c=i.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return o([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var t=this.activeIntervals=r.clone(e);if(t)for(var n=t.length-1;n>=0;n--)s.asc(t[n])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var r=0,i=t.length;r<i;r++)if(t[r][0]<=e&&e<=t[r][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};function d(e,t){return t.type||(t.data?"category":"value")}r.merge(c.prototype,l),a("parallel",c,d,u);var h=c;e.exports=h},"4Feb":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("IwbS"),a=n("x3X8"),s=a.getDefaultLabel,l=n("MwEJ"),c=n("nVfU"),u=c.getLayoutOnAxis,d=n("gPAo"),h=n("T4UG"),f=n("Qxkt"),p=n("6Ic6"),A=n("sK/D"),g=A.createClipPath,m=n("qj72"),v=n("ANjR"),y=n("MHtr"),b=n("6usn"),_=n("Rx6q"),w=o.CACHED_LABEL_STYLE_PROPERTIES,x=["itemStyle"],C=["emphasis","itemStyle"],S=["label"],k=["emphasis","label"],E="e\0\0",O={cartesian2d:m,geo:v,singleAxis:y,polar:b,calendar:_};function B(e){var t,n=e.type;if("path"===n){var r=e.shape,i=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,a=K(r);t=o.makePath(a,null,i,r.layout||"center"),t.__customPathData=a}else if("image"===n)t=new o.Image({}),t.__customImagePath=e.style.image;else if("text"===n)t=new o.Text({}),t.__customText=e.style.text;else if("group"===n)t=new o.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var s=o.getShapeClass(n);t=new s}return t.__customGraphicType=n,t.name=e.name,t}function M(e,t,n,r,a,s,l){var c={},u=n.style||{};if(n.shape&&(c.shape=i.clone(n.shape)),n.position&&(c.position=n.position.slice()),n.scale&&(c.scale=n.scale.slice()),n.origin&&(c.origin=n.origin.slice()),n.rotation&&(c.rotation=n.rotation),"image"===e.type&&n.style){var d=c.style={};i.each(["x","y","width","height"],(function(t){T(t,d,u,e.style,s)}))}if("text"===e.type&&n.style){d=c.style={};i.each(["x","y"],(function(t){T(t,d,u,e.style,s)})),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke)}if("group"!==e.type&&(e.useStyle(u),s)){e.style.opacity=0;var h=u.opacity;null==h&&(h=1),o.initProps(e,{style:{opacity:h}},r,t)}s?e.attr(c):o.updateProps(e,c,r,t),n.hasOwnProperty("z2")&&e.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&e.attr("silent",n.silent),n.hasOwnProperty("invisible")&&e.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&e.attr("ignore",n.ignore),n.hasOwnProperty("info")&&e.attr("info",n.info);var f=n.styleEmphasis;o.setElementHoverStyle(e,f),l&&o.setAsHighDownDispatcher(e,!1!==f)}function T(e,t,n,r,i){null==n[e]||i||(t[e]=n[e],n[e]=r[e])}function I(e,t,n,r){var a=e.get("renderItem"),l=e.coordinateSystem,c={};l&&(c=l.prepareCustoms?l.prepareCustoms():O[l.type](l));var d,h,f,p,A,g=i.defaults({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:b,style:_,styleEmphasis:w,visual:E,barLayout:B,currentSeriesIndices:M,font:T},c.api||{}),m={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:c.coordSys,dataInsideLength:t.count(),encode:L(e.getData())},v=!0;return function(e,n){return d=e,v=!0,a&&a(i.defaults({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},m),g)};function y(e){null==e&&(e=d),v&&(h=t.getItemModel(e),f=h.getModel(S),p=h.getModel(k),A=t.getItemVisual(e,"color"),v=!1)}function b(e,n){return null==n&&(n=d),t.get(t.getDimension(e||0),n)}function _(n,r){null==r&&(r=d),y(r);var a=h.getModel(x).getItemStyle();null!=A&&(a.fill=A);var l=t.getItemVisual(r,"opacity");null!=l&&(a.opacity=l);var c=n?U(n,f):f;return o.setTextStyle(a,c,null,{autoColor:A,isRectText:!0}),a.text=c.getShallow("show")?i.retrieve2(e.getFormattedLabel(r,"normal"),s(t,r)):null,n&&H(a,n),a}function w(n,r){null==r&&(r=d),y(r);var a=h.getModel(C).getItemStyle(),l=n?U(n,p):p;return o.setTextStyle(a,l,null,{isRectText:!0},!0),a.text=l.getShallow("show")?i.retrieve3(e.getFormattedLabel(r,"emphasis"),e.getFormattedLabel(r,"normal"),s(t,r)):null,n&&H(a,n),a}function E(e,n){return null==n&&(n=d),t.getItemVisual(n,e)}function B(e){if(l.getBaseAxis){var t=l.getBaseAxis();return u(i.defaults({axis:t},e),r)}}function M(){return n.getCurrentSeriesIndices()}function T(e){return o.getFont(e,n)}}function L(e){var t={};return i.each(e.dimensions,(function(n,r){var i=e.getDimensionInfo(n);if(!i.isExtraCoord){var o=i.coordDim,a=t[o]=t[o]||[];a[i.coordDimIndex]=r}})),t}function D(e,t,n,r,i,o){return e=P(e,t,n,r,i,o,!0),e&&o.setItemGraphicEl(t,e),e}function P(e,t,n,r,i,o,a){var s=!n;n=n||{};var l=n.type,c=n.shape,u=n.style;if(e&&(s||null!=l&&l!==e.__customGraphicType||"path"===l&&z(c)&&K(c)!==e.__customPathData||"image"===l&&V(u,"image")&&u.image!==e.__customImagePath||"text"===l&&V(c,"text")&&u.text!==e.__customText)&&(i.remove(e),e=null),!s){var d=!e;return!e&&(e=B(n)),M(e,t,n,r,o,d,a),"group"===l&&N(e,t,n,r,o),i.add(e),e}}function N(e,t,n,r,i){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,c=!1===s;if(a||l||c)if(l)j({oldChildren:e.children()||[],newChildren:o||[],dataIndex:t,animatableModel:r,group:e,data:i});else{c&&e.removeAll();for(var u=0;u<a;u++)o[u]&&P(e.childAt(u),t,o[u],r,e,i)}}function j(e){new d(e.oldChildren,e.newChildren,F,F,e).add(R).update(R).remove(Q).execute()}function F(e,t){var n=e&&e.name;return null!=n?n:E+t}function R(e,t){var n=this.context,r=null!=e?n.newChildren[e]:null,i=null!=t?n.oldChildren[t]:null;P(i,n.dataIndex,r,n.animatableModel,n.group,n.data)}function U(e,t){var n=new f({},t);return i.each(w,(function(t,r){e.hasOwnProperty(t)&&(n.option[r]=e[t])})),n}function H(e,t){for(var n in t)!t.hasOwnProperty(n)&&w.hasOwnProperty(n)||(e[n]=t[n])}function Q(e){var t=this.context,n=t.oldChildren[e];n&&t.group.remove(n)}function K(e){return e&&(e.pathData||e.d)}function z(e){return e&&(e.hasOwnProperty("pathData")||e.hasOwnProperty("d"))}function V(e,t){return e&&e.hasOwnProperty(t)}h.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(e,t){return l(this.getSource(),this)},getDataParams:function(e,t,n){var r=h.prototype.getDataParams.apply(this,arguments);return n&&(r.info=n.info),r}}),p.extend({type:"custom",_data:null,render:function(e,t,n,r){var i=this._data,o=e.getData(),a=this.group,s=I(e,o,t,n);o.diff(i).add((function(t){D(null,t,s(t,r),e,a,o)})).update((function(t,n){var l=i.getItemGraphicEl(n);D(l,t,s(t,r),e,a,o)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&a.remove(t)})).execute();var l=e.get("clip",!0)?g(e.coordinateSystem,!1,e):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},incrementalPrepareRender:function(e,t,n){this.group.removeAll(),this._data=null},incrementalRender:function(e,t,n,r,i){var o=t.getData(),a=I(t,o,n,r);function s(e){e.isGroup||(e.incremental=!0,e.useHoverLayer=!0)}for(var l=e.start;l<e.end;l++){var c=D(null,l,a(l,i),t,this.group,o);c.traverse(s)}},dispose:i.noop,filterForExposedEvent:function(e,t,n,r){var i=t.element;if(null==i||n.name===i)return!0;while((n=n.parent)&&n!==this.group)if(n.name===i)return!0;return!1}})},"4HMb":function(e,t,n){var r=n("bYtY"),i=n("6GrX"),o=n("4NO4"),a=o.makeInner,s=n("aX7z"),l=s.makeLabelFormatter,c=s.getOptionCategoryInterval,u=s.shouldShowAllLabels,d=a();function h(e){return"category"===e.type?p(e):m(e)}function f(e,t){return"category"===e.type?g(e,t):{ticks:e.scale.getTicks()}}function p(e){var t=e.getLabelModel(),n=A(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function A(e,t){var n,i,o=v(e,"labels"),a=c(t),s=y(o,a);return s||(r.isFunction(a)?n=S(e,a):(i="auto"===a?_(e):a,n=C(e,i)),b(o,a,{labels:n,labelCategoryInterval:i}))}function g(e,t){var n,i,o=v(e,"ticks"),a=c(t),s=y(o,a);if(s)return s;if(t.get("show")&&!e.scale.isBlank()||(n=[]),r.isFunction(a))n=S(e,a,!0);else if("auto"===a){var l=A(e,e.getLabelModel());i=l.labelCategoryInterval,n=r.map(l.labels,(function(e){return e.tickValue}))}else i=a,n=C(e,i,!0);return b(o,a,{ticks:n,tickCategoryInterval:i})}function m(e){var t=e.scale.getTicks(),n=l(e);return{labels:r.map(t,(function(t,r){return{formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tickValue:t}}))}}function v(e,t){return d(e)[t]||(d(e)[t]=[])}function y(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function b(e,t,n){return e.push({key:t,value:n}),n}function _(e){var t=d(e).autoInterval;return null!=t?t:d(e).autoInterval=e.calculateCategoryInterval()}function w(e){var t=x(e),n=l(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,o=e.scale,a=o.getExtent(),s=o.count();if(a[1]-a[0]<1)return 0;var c=1;s>40&&(c=Math.max(1,Math.floor(s/40)));for(var u=a[0],h=e.dataToCoord(u+1)-e.dataToCoord(u),f=Math.abs(h*Math.cos(r)),p=Math.abs(h*Math.sin(r)),A=0,g=0;u<=a[1];u+=c){var m=0,v=0,y=i.getBoundingRect(n(u),t.font,"center","top");m=1.3*y.width,v=1.3*y.height,A=Math.max(A,m,7),g=Math.max(g,v,7)}var b=A/f,_=g/p;isNaN(b)&&(b=1/0),isNaN(_)&&(_=1/0);var w=Math.max(0,Math.floor(Math.min(b,_))),C=d(e.model),S=e.getExtent(),k=C.lastAutoInterval,E=C.lastTickCount;return null!=k&&null!=E&&Math.abs(k-w)<=1&&Math.abs(E-s)<=1&&k>w&&C.axisExtend0===S[0]&&C.axisExtend1===S[1]?w=k:(C.lastTickCount=s,C.lastAutoInterval=w,C.axisExtend0=S[0],C.axisExtend1=S[1]),w}function x(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function C(e,t,n){var r=l(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],c=Math.max((t||0)+1,1),d=o[0],h=i.count();0!==d&&c>1&&h/c>2&&(d=Math.round(Math.ceil(d/c)*c));var f=u(e),p=a.get("showMinLabel")||f,A=a.get("showMaxLabel")||f;p&&d!==o[0]&&m(o[0]);for(var g=d;g<=o[1];g+=c)m(g);function m(e){s.push(n?e:{formattedLabel:r(e),rawLabel:i.getLabel(e),tickValue:e})}return A&&g-c!==o[1]&&m(o[1]),s}function S(e,t,n){var i=e.scale,o=l(e),a=[];return r.each(i.getTicks(),(function(e){var r=i.getLabel(e);t(e,r)&&a.push(n?e:{formattedLabel:o(e),rawLabel:r,tickValue:e})})),a}t.createAxisLabels=h,t.createAxisTicks=f,t.calculateCategoryInterval=w},"4NO4":function(e,t,n){var r=n("bYtY"),i=n("ItGF"),o=r.each,a=r.isObject,s=r.isArray,l="series\0";function c(e){return e instanceof Array?e:null==e?[]:[e]}function u(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var d=["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 h(e){return!a(e)||s(e)||e instanceof Date?e:e.value}function f(e){return a(e)&&!(e instanceof Array)}function p(e,t){t=(t||[]).slice();var n=r.map(e||[],(function(e,t){return{exist:e}}));return o(t,(function(e,r){if(a(e)){for(var i=0;i<n.length;i++)if(!n[i].option&&null!=e.id&&n[i].exist.id===e.id+"")return n[i].option=e,void(t[r]=null);for(i=0;i<n.length;i++){var o=n[i].exist;if(!n[i].option&&(null==o.id||null==e.id)&&null!=e.name&&!m(e)&&!m(o)&&o.name===e.name+"")return n[i].option=e,void(t[r]=null)}}})),o(t,(function(e,t){if(a(e)){for(var r=0;r<n.length;r++){var i=n[r].exist;if(!n[r].option&&!m(i)&&null==e.id){n[r].option=e;break}}r>=n.length&&n.push({option:e})}})),n}function A(e){var t=r.createHashMap();o(e,(function(e,n){var r=e.exist;r&&t.set(r.id,e)})),o(e,(function(e,n){var i=e.option;r.assert(!i||null==i.id||!t.get(i.id)||t.get(i.id)===e,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&t.set(i.id,e),!e.keyInfo&&(e.keyInfo={})})),o(e,(function(e,n){var r=e.exist,i=e.option,o=e.keyInfo;if(a(i)){if(o.name=null!=i.name?i.name+"":r?r.name:l+n,r)o.id=r.id;else if(null!=i.id)o.id=i.id+"";else{var s=0;do{o.id="\0"+o.name+"\0"+s++}while(t.get(o.id))}t.set(o.id,e)}}))}function g(e){var t=e.name;return!(!t||!t.indexOf(l))}function m(e){return a(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")}function v(e,t){var n={},r={};return i(e||[],n),i(t||[],r,n),[o(n),o(r)];function i(e,t,n){for(var r=0,i=e.length;r<i;r++)for(var o=e[r].seriesId,a=c(e[r].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var d=a[l];s&&s[d]?s[d]=null:(t[o]||(t[o]={}))[d]=1}}function o(e,t){var n=[];for(var r in e)if(e.hasOwnProperty(r)&&null!=e[r])if(t)n.push(+r);else{var i=o(e[r],!0);i.length&&n.push({seriesId:r,dataIndex:i})}return n}}function y(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?r.isArray(t.dataIndex)?r.map(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?r.isArray(t.name)?r.map(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function b(){var e="__\0ec_inner_"+_+++"_"+Math.random().toFixed(5);return function(t){return t[e]||(t[e]={})}}var _=0;function w(e,t,n){if(r.isString(t)){var i={};i[t+"Index"]=0,t=i}var a=n&&n.defaultMainType;!a||x(t,a+"Index")||x(t,a+"Id")||x(t,a+"Name")||(t[a+"Index"]=0);var s={};return o(t,(function(i,o){i=t[o];if("dataIndex"!==o&&"dataIndexInside"!==o){var a=o.match(/^(\w+)(Index|Id|Name)$/)||[],l=a[1],c=(a[2]||"").toLowerCase();if(!(!l||!c||null==i||"index"===c&&"none"===i||n&&n.includeMainTypes&&r.indexOf(n.includeMainTypes,l)<0)){var u={mainType:l};"index"===c&&"all"===i||(u[c]=i);var d=e.queryComponents(u);s[l+"Models"]=d,s[l+"Model"]=d[0]}}else s[o]=i})),s}function x(e,t){return e&&e.hasOwnProperty(t)}function C(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function S(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function k(e){return"auto"===e?i.domSupported?"html":"richText":e||"html"}function E(e,t){var n=r.createHashMap(),i=[];return r.each(e,(function(e){var r=t(e);(n.get(r)||(i.push(r),n.set(r,[]))).push(e)})),{keys:i,buckets:n}}t.normalizeToArray=c,t.defaultEmphasis=u,t.TEXT_STYLE_OPTIONS=d,t.getDataItemValue=h,t.isDataItemOption=f,t.mappingToExists=p,t.makeIdAndName=A,t.isNameSpecified=g,t.isIdInner=m,t.compressBatches=v,t.queryDataIndex=y,t.makeInner=b,t.parseFinder=w,t.setAttribute=C,t.getAttribute=S,t.getTooltipRenderMode=k,t.groupData=E},"4NgU":function(e,t,n){var r=n("Yl7c");function i(e){this._setting=e||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}i.prototype.parse=function(e){return e},i.prototype.getSetting=function(e){return this._setting[e]},i.prototype.contain=function(e){var t=this._extent;return e>=t[0]&&e<=t[1]},i.prototype.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},i.prototype.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},i.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},i.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},i.prototype.getExtent=function(){return this._extent.slice()},i.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},i.prototype.isBlank=function(){return this._isBlank},i.prototype.setBlank=function(e){this._isBlank=e},i.prototype.getLabel=null,r.enableClassExtend(i),r.enableClassManagement(i,{registerWhenExtend:!0});var o=i;e.exports=o},"4fz+":function(e,t,n){var r=n("bYtY"),i=n("1bdT"),o=n("mFDi"),a=function(e){for(var t in e=e||{},i.call(this,e),e)e.hasOwnProperty(t)&&(this[t]=e[t]);this._children=[],this.__storage=null,this.__dirty=!0};a.prototype={constructor:a,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(e){return this._children[e]},childOfName:function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},childCount:function(){return this._children.length},add:function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},addBefore:function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var n=this._children,r=n.indexOf(t);r>=0&&(n.splice(r,0,e),this._doAdd(e))}return this},_doAdd:function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__storage,n=this.__zr;t&&t!==e.__storage&&(t.addToStorage(e),e instanceof a&&e.addChildrenToStorage(t)),n&&n.refresh()},remove:function(e){var t=this.__zr,n=this.__storage,i=this._children,o=r.indexOf(i,e);return o<0||(i.splice(o,1),e.parent=null,n&&(n.delFromStorage(e),e instanceof a&&e.delChildrenFromStorage(n)),t&&t.refresh()),this},removeAll:function(){var e,t,n=this._children,r=this.__storage;for(t=0;t<n.length;t++)e=n[t],r&&(r.delFromStorage(e),e instanceof a&&e.delChildrenFromStorage(r)),e.parent=null;return n.length=0,this},eachChild:function(e,t){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];e.call(t,i,r)}return this},traverse:function(e,t){for(var n=0;n<this._children.length;n++){var r=this._children[n];e.call(t,r),"group"===r.type&&r.traverse(e,t)}return this},addChildrenToStorage:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.addToStorage(n),n instanceof a&&n.addChildrenToStorage(e)}},delChildrenFromStorage:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.delFromStorage(n),n instanceof a&&n.delChildrenFromStorage(e)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(e){for(var t=null,n=new o(0,0,0,0),r=e||this._children,i=[],a=0;a<r.length;a++){var s=r[a];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),c=s.getLocalTransform(i);c?(n.copy(l),n.applyTransform(c),t=t||n.clone(),t.union(n)):(t=t||l.clone(),t.union(l))}}return t||n}},r.inherits(a,i);var s=a;e.exports=s},"4i/N":function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="CloseOutlined";t["a"]=i["forwardRef"](l)},"4kuk":function(e,t,n){var r=n("SfRM"),i=n("Hvzi"),o=n("u8Dt"),a=n("ekgI"),s=n("JSQU");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},"4mN7":function(e,t,n){var r=n("QBsz"),i=n("Sj9i"),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,c=2*Math.PI,u=r.create(),d=r.create(),h=r.create();function f(e,t,n){if(0!==e.length){var r,i=e[0],s=i[0],l=i[0],c=i[1],u=i[1];for(r=1;r<e.length;r++)i=e[r],s=o(s,i[0]),l=a(l,i[0]),c=o(c,i[1]),u=a(u,i[1]);t[0]=s,t[1]=c,n[0]=l,n[1]=u}}function p(e,t,n,r,i,s){i[0]=o(e,n),i[1]=o(t,r),s[0]=a(e,n),s[1]=a(t,r)}var A=[],g=[];function m(e,t,n,r,s,l,c,u,d,h){var f,p=i.cubicExtrema,m=i.cubicAt,v=p(e,n,s,c,A);for(d[0]=1/0,d[1]=1/0,h[0]=-1/0,h[1]=-1/0,f=0;f<v;f++){var y=m(e,n,s,c,A[f]);d[0]=o(y,d[0]),h[0]=a(y,h[0])}for(v=p(t,r,l,u,g),f=0;f<v;f++){var b=m(t,r,l,u,g[f]);d[1]=o(b,d[1]),h[1]=a(b,h[1])}d[0]=o(e,d[0]),h[0]=a(e,h[0]),d[0]=o(c,d[0]),h[0]=a(c,h[0]),d[1]=o(t,d[1]),h[1]=a(t,h[1]),d[1]=o(u,d[1]),h[1]=a(u,h[1])}function v(e,t,n,r,s,l,c,u){var d=i.quadraticExtremum,h=i.quadraticAt,f=a(o(d(e,n,s),1),0),p=a(o(d(t,r,l),1),0),A=h(e,n,s,f),g=h(t,r,l,p);c[0]=o(e,s,A),c[1]=o(t,l,g),u[0]=a(e,s,A),u[1]=a(t,l,g)}function y(e,t,n,i,o,a,f,p,A){var g=r.min,m=r.max,v=Math.abs(o-a);if(v%c<1e-4&&v>1e-4)return p[0]=e-n,p[1]=t-i,A[0]=e+n,void(A[1]=t+i);if(u[0]=l(o)*n+e,u[1]=s(o)*i+t,d[0]=l(a)*n+e,d[1]=s(a)*i+t,g(p,u,d),m(A,u,d),o%=c,o<0&&(o+=c),a%=c,a<0&&(a+=c),o>a&&!f?a+=c:o<a&&f&&(o+=c),f){var y=a;a=o,o=y}for(var b=0;b<a;b+=Math.PI/2)b>o&&(h[0]=l(b)*n+e,h[1]=s(b)*i+t,g(p,h,p),m(A,h,A))}t.fromPoints=f,t.fromLine=p,t.fromCubic=m,t.fromQuadratic=v,t.fromArc=y},"4vCz":function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("X2/X")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="PlusSquareOutlined";var h=a.forwardRef(d);t.default=h},"4xFK":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},"56rv":function(e,t,n){var r=n("IwbS"),i=n("x3X8"),o=i.getDefaultLabel;function a(e,t,n,i,a,l,c){var u=n.getModel("label"),d=n.getModel("emphasis.label");r.setLabelStyle(e,t,u,d,{labelFetcher:a,labelDataIndex:l,defaultText:o(a.getData(),l),isRectText:!0,autoColor:i}),s(e),s(t)}function s(e,t){"outside"===e.textPosition&&(e.textPosition=t)}t.setLabel=a},"59Ip":function(e,t,n){var r=n("Sj9i");function i(e,t,n,i,o,a,s,l,c,u,d){if(0===c)return!1;var h=c;if(d>t+h&&d>i+h&&d>a+h&&d>l+h||d<t-h&&d<i-h&&d<a-h&&d<l-h||u>e+h&&u>n+h&&u>o+h&&u>s+h||u<e-h&&u<n-h&&u<o-h&&u<s-h)return!1;var f=r.cubicProjectPoint(e,t,n,i,o,a,s,l,u,d,null);return f<=h/2}t.containStroke=i},"5Dmo":function(e,t,n){"use strict";n("cIOH"),n("5YgA")},"5GOC":function(e,t,n){"use strict";n("cIOH"),n("b56q"),n("1YHl")},"5GhG":function(e,t,n){var r=n("5GtS"),i=n("bYtY"),o=n("L0Ub"),a=o.getDimensionTypeByAxis,s=n("D5nY"),l=s.makeSeriesEncodeForAxisCoordSys,c={_baseAxisDim:null,getInitialData:function(e,t){var n,o,s=t.getComponent("xAxis",this.get("xAxisIndex")),c=t.getComponent("yAxis",this.get("yAxisIndex")),u=s.get("type"),d=c.get("type");"category"===u?(e.layout="horizontal",n=s.getOrdinalMeta(),o=!0):"category"===d?(e.layout="vertical",n=c.getOrdinalMeta(),o=!0):e.layout=e.layout||"horizontal";var h=["x","y"],f="horizontal"===e.layout?0:1,p=this._baseAxisDim=h[f],A=h[1-f],g=[s,c],m=g[f].get("type"),v=g[1-f].get("type"),y=e.data;if(y&&o){var b=[];i.each(y,(function(e,t){var n;e.value&&i.isArray(e.value)?(n=e.value.slice(),e.value.unshift(t)):i.isArray(e)?(n=e.slice(),e.unshift(t)):n=e,b.push(n)})),e.data=b}var _=this.defaultValueDimensions,w=[{name:p,type:a(m),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:A,type:a(v),dimsDef:_.slice()}];return r(this,{coordDimensions:w,dimensionsCount:_.length+1,encodeDefaulter:i.curry(l,w,this)})},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}};t.seriesModelMixin=c},"5GtS":function(e,t,n){var r=n("sdST"),i=n("YXkt"),o=n("bYtY"),a=o.extend,s=o.isArray;function l(e,t,n){t=s(t)&&{coordDimensions:t}||a({},t);var o=e.getSource(),l=r(o,t),c=new i(l,e);return c.initData(o,n),c}e.exports=l},"5Hur":function(e,t,n){var r=n("4NO4"),i=r.makeInner,o=r.normalizeToArray,a=i();function s(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}var l={clearColorPalette:function(){a(this).colorIdx=0,a(this).colorNameMap={}},getColorFromPalette:function(e,t,n){t=t||this;var r=a(t),i=r.colorIdx||0,l=r.colorNameMap=r.colorNameMap||{};if(l.hasOwnProperty(e))return l[e];var c=o(this.get("color",!0)),u=this.get("colorLayer",!0),d=null!=n&&u?s(u,n):c;if(d=d||c,d&&d.length){var h=d[i];return e&&(l[e]=h),r.colorIdx=(i+1)%d.length,h}}};e.exports=l},"5NDa":function(e,t,n){"use strict";n("cIOH"),n("OnYD"),n("+L6B")},"5NHt":function(e,t,n){n("aTJb"),n("OlYY"),n("fc+c"),n("N5BQ"),n("IyUQ"),n("LBfv"),n("noeP")},"5OYt":function(e,t,n){"use strict";var r=n("J4zp"),i=n.n(r),o=n("q1tI"),a=n("ACnJ");function s(){var e=Object(o["useState"])({}),t=i()(e,2),n=t[0],r=t[1];return Object(o["useEffect"])((function(){var e=a["a"].subscribe((function(e){r(e)}));return function(){return a["a"].unsubscribe(e)}}),[]),n}t["a"]=s},"5RzL":function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("7W2i"),h=n.n(d),f=n("LQ03"),p=n.n(f),A=n("q1tI"),g=n("1OyB"),m=n("vuIU"),v=n("Ji7U"),y=n("LK+K"),b=n("KQm4"),_=n("U8pU"),w=n("ODXe"),x=n("VTBJ"),C=n("rePB"),S=n("Ff2n"),k=n("4IlW"),E=n("TSYQ"),O=n.n(E),B=n("6cGi"),M=n("bX4T"),T=n("8XRh"),I=function(e){var t,n=e.className,r=e.customizeIcon,i=e.customizeIconProps,o=e.onMouseDown,a=e.onClick,s=e.children;return t="function"===typeof r?r(i):r,A["createElement"]("span",{className:n,onMouseDown:function(e){e.preventDefault(),o&&o(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a,"aria-hidden":!0},void 0!==t?t:A["createElement"]("span",{className:O()(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},s))},L=I,D=n("c+Xe"),P=function(e,t){var n=e.prefixCls,r=e.id,i=e.inputElement,o=e.disabled,a=e.tabIndex,s=e.autoFocus,l=e.autoComplete,c=e.editable,u=e.accessibilityIndex,d=e.value,h=e.maxLength,f=e.onKeyDown,p=e.onMouseDown,g=e.onChange,m=e.onPaste,v=e.onCompositionStart,y=e.onCompositionEnd,b=e.open,_=e.attrs,w=i||A["createElement"]("input",null),C=w,S=C.ref,k=C.props,E=k.onKeyDown,O=k.onChange,B=k.onMouseDown,M=k.onCompositionStart,T=k.onCompositionEnd,I=k.style;return w=A["cloneElement"](w,Object(x["a"])(Object(x["a"])({id:r,ref:Object(D["a"])(t,S),disabled:o,tabIndex:a,autoComplete:l||"off",type:"search",autoFocus:s,className:"".concat(n,"-selection-search-input"),style:Object(x["a"])(Object(x["a"])({},I),{},{opacity:c?null:0}),role:"combobox","aria-expanded":b,"aria-haspopup":"listbox","aria-owns":"".concat(r,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(r,"_list"),"aria-activedescendant":"".concat(r,"_list_").concat(u)},_),{},{value:c?d:"",maxLength:h,readOnly:!c,unselectable:c?null:"on",onKeyDown:function(e){f(e),E&&E(e)},onMouseDown:function(e){p(e),B&&B(e)},onChange:function(e){g(e),O&&O(e)},onCompositionStart:function(e){v(e),M&&M(e)},onCompositionEnd:function(e){y(e),T&&T(e)},onPaste:m})),w},N=A["forwardRef"](P);N.displayName="Input";var j=N;function F(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function R(e,t){var n=t.labelInValue,r=t.combobox;if(void 0===e||""===e&&r)return[];var i=Array.isArray(e)?e:[e];return n?i.map((function(e){var t=e.key,n=e.value;return void 0!==n?n:t})):i}function U(e,t){var n=t.optionLabelProp,r=t.labelInValue,i=t.prevValue,o=t.options,a=t.getLabeledValue,s=e;return r&&(s=s.map((function(e){return a(e,{options:o,prevValue:i,labelInValue:r,optionLabelProp:n})}))),s}function H(e,t){var n,r=Object(b["a"])(t);for(n=e.length-1;n>=0;n-=1)if(!e[n].disabled)break;var i=null;return-1!==n&&(i=r[n],r.splice(n,1)),{values:r,removedValue:i}}var Q="undefined"!==typeof window&&window.document&&window.document.documentElement,K=Q,z=0;function V(){var e;return K?(e=z,z+=1):e="TEST_OR_SSR",e}function W(e,t){K?A["useLayoutEffect"](e,t):A["useEffect"](e,t)}var G="__RC_SELECT_MAX_REST_COUNT__",X=function(e){var t=e.id,n=e.prefixCls,r=e.values,i=e.open,o=e.searchValue,a=e.inputRef,s=e.placeholder,l=e.disabled,c=e.mode,u=e.showSearch,d=e.autoFocus,h=e.autoComplete,f=e.accessibilityIndex,p=e.tabIndex,g=e.removeIcon,m=e.choiceTransitionName,v=e.maxTagCount,y=e.maxTagTextLength,b=e.maxTagPlaceholder,_=void 0===b?function(e){return"+ ".concat(e.length," ...")}:b,k=e.tagRender,E=e.onSelect,B=e.onInputChange,I=e.onInputPaste,D=e.onInputKeyDown,P=e.onInputMouseDown,N=e.onInputCompositionStart,F=e.onInputCompositionEnd,R=Object(A["useState"])(!1),U=Object(w["a"])(R,2),H=U[0],Q=U[1],K=A["useRef"](null),z=Object(A["useState"])(0),V=Object(w["a"])(z,2),X=V[0],q=V[1],Y=Object(A["useState"])(!1),Z=Object(w["a"])(Y,2),J=Z[0],$=Z[1];A["useEffect"]((function(){Q(!0)}),[]);var ee=i||"tags"===c?o:"",te="tags"===c||u&&(i||J);W((function(){q(K.current.scrollWidth)}),[ee]);var ne,re=r;"number"===typeof v&&(ne=r.length-v,re=r.slice(0,v)),"number"===typeof y&&(re=re.map((function(e){var t=e.label,n=Object(S["a"])(e,["label"]),r=t;if("string"===typeof t||"number"===typeof t){var i=String(r);i.length>y&&(r="".concat(i.slice(0,y),"..."))}return Object(x["a"])(Object(x["a"])({},n),{},{label:r})}))),ne>0&&re.push({key:G,label:"function"===typeof _?_(r.slice(v)):_});var ie=A["createElement"](T["a"],{component:!1,keys:re,motionName:m,motionAppear:H},(function(e){var t=e.key,r=e.label,i=e.value,o=e.disabled,a=e.className,s=e.style,c=t||i,u=!l&&t!==G&&!o,d=function(e){e.preventDefault(),e.stopPropagation()},h=function(e){e&&e.stopPropagation(),E(i,{selected:!1})};return"function"===typeof k?A["createElement"]("span",{key:c,onMouseDown:d,className:a,style:s},k({label:r,value:i,disabled:o,closable:u,onClose:h})):A["createElement"]("span",{key:c,className:O()(a,"".concat(n,"-selection-item"),Object(C["a"])({},"".concat(n,"-selection-item-disabled"),o)),style:s},A["createElement"]("span",{className:"".concat(n,"-selection-item-content")},r),u&&A["createElement"](L,{className:"".concat(n,"-selection-item-remove"),onMouseDown:d,onClick:h,customizeIcon:g},"\xd7"))}));return A["createElement"](A["Fragment"],null,ie,A["createElement"]("span",{className:"".concat(n,"-selection-search"),style:{width:X},onFocus:function(){$(!0)},onBlur:function(){$(!1)}},A["createElement"](j,{ref:a,open:i,prefixCls:n,id:t,inputElement:null,disabled:l,autoFocus:d,autoComplete:h,editable:te,accessibilityIndex:f,value:ee,onKeyDown:D,onMouseDown:P,onChange:B,onPaste:I,onCompositionStart:N,onCompositionEnd:F,tabIndex:p,attrs:Object(M["a"])(e,!0)}),A["createElement"]("span",{ref:K,className:"".concat(n,"-selection-search-mirror"),"aria-hidden":!0},ee,"\xa0")),!r.length&&!ee&&A["createElement"]("span",{className:"".concat(n,"-selection-placeholder")},s))},q=X,Y=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,i=e.inputRef,o=e.disabled,a=e.autoFocus,s=e.autoComplete,l=e.accessibilityIndex,c=e.mode,u=e.open,d=e.values,h=e.placeholder,f=e.tabIndex,p=e.showSearch,g=e.searchValue,m=e.activeValue,v=e.maxLength,y=e.onInputKeyDown,b=e.onInputMouseDown,_=e.onInputChange,x=e.onInputPaste,C=e.onInputCompositionStart,S=e.onInputCompositionEnd,k=A["useState"](!1),E=Object(w["a"])(k,2),O=E[0],B=E[1],T="combobox"===c,I=T||p,L=d[0],D=g||"";T&&m&&!O&&(D=m),A["useEffect"]((function(){T&&B(!1)}),[T,m]);var P=!("combobox"!==c&&!u)&&!!D,N=!L||"string"!==typeof L.label&&"number"!==typeof L.label?void 0:L.label.toString();return A["createElement"](A["Fragment"],null,A["createElement"]("span",{className:"".concat(n,"-selection-search")},A["createElement"](j,{ref:i,prefixCls:n,id:r,open:u,inputElement:t,disabled:o,autoFocus:a,autoComplete:s,editable:I,accessibilityIndex:l,value:D,onKeyDown:y,onMouseDown:b,onChange:function(e){B(!0),_(e)},onPaste:x,onCompositionStart:C,onCompositionEnd:S,tabIndex:f,attrs:Object(M["a"])(e,!0),maxLength:T?v:void 0})),!T&&L&&!P&&A["createElement"]("span",{className:"".concat(n,"-selection-item"),title:N},L.label),!L&&!P&&A["createElement"]("span",{className:"".concat(n,"-selection-placeholder")},h))},Z=Y;function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=A["useRef"](null),n=A["useRef"](null);function r(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return A["useEffect"]((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},r]}var $=function(e,t){var n=Object(A["useRef"])(null),r=Object(A["useRef"])(!1),i=e.prefixCls,o=e.multiple,a=e.open,s=e.mode,l=e.showSearch,c=e.tokenWithEnter,u=e.onSearch,d=e.onSearchSubmit,h=e.onToggleOpen,f=e.onInputKeyDown,p=e.domRef;A["useImperativeHandle"](t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var g=J(0),m=Object(w["a"])(g,2),v=m[0],y=m[1],b=function(e){var t=e.which;t!==k["a"].UP&&t!==k["a"].DOWN||e.preventDefault(),f&&f(e),t!==k["a"].ENTER||"tags"!==s||r.current||a||d(e.target.value),[k["a"].SHIFT,k["a"].TAB,k["a"].BACKSPACE,k["a"].ESC].includes(t)||h(!0)},_=function(){y(!0)},x=Object(A["useRef"])(null),C=function(e){!1!==u(e,!0,r.current)&&h(!0)},S=function(){r.current=!0},E=function(){r.current=!1},O=function(e){var t=e.target.value;if(c&&x.current&&/[\r\n]/.test(x.current)){var n=x.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,x.current)}x.current=null,C(t)},B=function(e){var t=e.clipboardData,n=t.getData("text");x.current=n},M=function(e){var t=e.target;if(t!==n.current){var r=void 0!==document.body.style.msTouchAction;r?setTimeout((function(){n.current.focus()})):n.current.focus()}},T=function(e){var t=v();e.target===n.current||t||e.preventDefault(),("combobox"===s||l&&t)&&a||(a&&u("",!0,!1),h())},I={inputRef:n,onInputKeyDown:b,onInputMouseDown:_,onInputChange:O,onInputPaste:B,onInputCompositionStart:S,onInputCompositionEnd:E},L=o?A["createElement"](q,Object.assign({},e,I)):A["createElement"](Z,Object.assign({},e,I));return A["createElement"]("div",{ref:p,className:"".concat(i,"-selector"),onClick:M,onMouseDown:T},L)},ee=A["forwardRef"]($);ee.displayName="Selector";var te=ee,ne=n("uciX"),re=function(e){var t="number"!==typeof e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},ie=function(e,t){var n=e.prefixCls,r=(e.disabled,e.visible),i=e.children,o=e.popupElement,a=e.containerWidth,s=e.animation,l=e.transitionName,c=e.dropdownStyle,u=e.dropdownClassName,d=e.direction,h=void 0===d?"ltr":d,f=e.dropdownMatchSelectWidth,p=void 0===f||f,g=e.dropdownRender,m=e.dropdownAlign,v=e.getPopupContainer,y=e.empty,b=e.getTriggerDOMNode,_=Object(S["a"])(e,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),w="".concat(n,"-dropdown"),k=o;g&&(k=g(o));var E=A["useMemo"]((function(){return re(p)}),[p]),B=s?"".concat(w,"-").concat(s):l,M=A["useRef"](null);A["useImperativeHandle"](t,(function(){return{getPopupElement:function(){return M.current}}}));var T=Object(x["a"])({minWidth:a},c);return"number"===typeof p?T.width=p:p&&(T.width=a),A["createElement"](ne["a"],Object.assign({},_,{showAction:[],hideAction:[],popupPlacement:"rtl"===h?"bottomRight":"bottomLeft",builtinPlacements:E,prefixCls:w,popupTransitionName:B,popup:A["createElement"]("div",{ref:M},k),popupAlign:m,popupVisible:r,getPopupContainer:v,popupClassName:O()(u,Object(C["a"])({},"".concat(w,"-empty"),y)),popupStyle:T,getTriggerDOMNode:b}),i)},oe=A["forwardRef"](ie);oe.displayName="SelectTrigger";var ae=oe,se="RC_SELECT_INTERNAL_PROPS_MARK";function le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=A["useState"](!1),n=Object(w["a"])(t,2),r=n[0],i=n[1],o=A["useRef"](null),a=function(){window.clearTimeout(o.current)};A["useEffect"]((function(){return a}),[]);var s=function(t,n){a(),o.current=window.setTimeout((function(){i(t),n&&n()}),e)};return[r,s,a]}var ce=n("T5bk"),ue=n("Kwbf");function de(e){var t=Object(x["a"])({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Object(ue["a"])(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function he(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.prevValueOptions,i=void 0===r?[]:r,o=new Map;return t.forEach((function(e){if(!e.group){var t=e.data;o.set(t.value,t)}})),e.map((function(e){var t=o.get(e);return t||(t=Object(x["a"])({},i.find((function(t){return t._INTERNAL_OPTION_VALUE_===e})))),de(t)}))}var fe=function(e,t){var n,r=t.options,i=t.prevValue,o=t.labelInValue,a=t.optionLabelProp,s=he([e],r)[0],l={value:e},c=F(i);return o&&(n=c.find((function(t){return"object"===Object(_["a"])(t)&&"value"in t?t.value===e:t.key===e}))),n&&"object"===Object(_["a"])(n)&&"label"in n?(l.label=n.label,s&&"string"===typeof n.label&&"string"===typeof s[a]&&n.label.trim()!==s[a].trim()&&Object(ue["a"])(!1,"`label` of `value` is not same as `label` in Select options.")):l.label=s&&a in s?s[a]:e,l.key=l.value,l};function pe(e,t){if(!t||!t.length)return null;var n=!1;function r(e,t){var i=Object(ce["a"])(t),o=i[0],a=i.slice(1);if(!o)return[e];var s=e.split(o);return n=n||s.length>1,s.reduce((function(e,t){return[].concat(Object(b["a"])(e),Object(b["a"])(r(t,a)))}),[]).filter((function(e){return e}))}var i=r(e,t);return n?i:null}function Ae(e,t,n){var r=A["useRef"](null);r.current={elements:e.filter((function(e){return e})),open:t,triggerOpen:n},A["useEffect"]((function(){function e(e){var t=e.target;r.current.open&&r.current.elements.every((function(e){return!e.contains(t)&&e!==t}))&&r.current.triggerOpen(!1)}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}}),[])}function ge(e){var t=A["useRef"](e),n=A["useMemo"]((function(){var n=new Map;t.current.forEach((function(e){var t=e.value,r=e.label;t!==r&&n.set(t,r)}));var r=e.map((function(e){var t=n.get(e.value);return e.value===e.label&&t?Object(x["a"])(Object(x["a"])({},e),{},{label:t}):e}));return t.current=r,r}),[e]);return n}function me(e,t){var n=A["useRef"](null),r=A["useMemo"]((function(){var e=new Map;return t.forEach((function(t){var n=t.data.value;e.set(n,t)})),e}),[e,t]);n.current=r;var i=function(e){return e.map((function(e){return n.current.get(e)})).filter(Boolean)};return i}var ve=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function ye(e){var t=e.prefixCls,n=e.components.optionList,r=e.convertChildrenToData,i=e.flattenOptions,o=e.getLabeledValue,a=e.filterOptions,s=e.isValueDisabled,l=e.findValueOption,c=(e.warningProps,e.fillOptionsWithMissingValue),u=e.omitDOMProps;function d(e,d){var h,f=e.prefixCls,p=void 0===f?t:f,g=e.className,m=e.id,v=e.open,y=e.defaultOpen,_=e.options,E=e.children,M=e.mode,T=e.value,I=e.defaultValue,D=e.labelInValue,P=e.showSearch,N=e.inputValue,j=e.searchValue,F=e.filterOption,Q=e.filterSort,K=e.optionFilterProp,z=void 0===K?"value":K,G=e.autoClearSearchValue,X=void 0===G||G,q=e.onSearch,Y=e.allowClear,Z=e.clearIcon,$=e.showArrow,ee=e.inputIcon,ne=e.menuItemSelectedIcon,re=e.disabled,ie=e.loading,oe=e.defaultActiveFirstOption,ce=e.notFoundContent,ue=void 0===ce?"Not Found":ce,de=e.optionLabelProp,he=e.backfill,fe=e.getInputElement,ye=e.getPopupContainer,be=e.listHeight,_e=void 0===be?200:be,we=e.listItemHeight,xe=void 0===we?20:we,Ce=e.animation,Se=e.transitionName,ke=e.virtual,Ee=e.dropdownStyle,Oe=e.dropdownClassName,Be=e.dropdownMatchSelectWidth,Me=e.dropdownRender,Te=e.dropdownAlign,Ie=e.showAction,Le=void 0===Ie?[]:Ie,De=e.direction,Pe=e.tokenSeparators,Ne=e.tagRender,je=e.onPopupScroll,Fe=e.onDropdownVisibleChange,Re=e.onFocus,Ue=e.onBlur,He=e.onKeyUp,Qe=e.onKeyDown,Ke=e.onMouseDown,ze=e.onChange,Ve=e.onSelect,We=e.onDeselect,Ge=e.onClear,Xe=e.internalProps,qe=void 0===Xe?{}:Xe,Ye=Object(S["a"])(e,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","filterSort","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),Ze=qe.mark===se,Je=u?u(Ye):Ye;ve.forEach((function(e){delete Je[e]}));var $e=Object(A["useRef"])(null),et=Object(A["useRef"])(null),tt=Object(A["useRef"])(null),nt=Object(A["useRef"])(null),rt=Object(A["useMemo"])((function(){return(Pe||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[Pe]),it=le(),ot=Object(w["a"])(it,3),at=ot[0],st=ot[1],lt=ot[2],ct=Object(A["useState"])(),ut=Object(w["a"])(ct,2),dt=ut[0],ht=ut[1];Object(A["useEffect"])((function(){ht("rc_select_".concat(V()))}),[]);var ft=m||dt,pt=de;void 0===pt&&(pt=_?"label":"children");var At="combobox"!==M&&D,gt="tags"===M||"multiple"===M,mt=void 0!==P?P:gt||"combobox"===M,vt=Object(A["useRef"])(null);A["useImperativeHandle"](d,(function(){return{focus:tt.current.focus,blur:tt.current.blur}}));var yt=Object(B["a"])(I,{value:T}),bt=Object(w["a"])(yt,2),_t=bt[0],wt=bt[1],xt=Object(A["useMemo"])((function(){return R(_t,{labelInValue:At,combobox:"combobox"===M})}),[_t,At]),Ct=Object(A["useMemo"])((function(){return new Set(xt)}),[xt]),St=Object(A["useState"])(null),kt=Object(w["a"])(St,2),Et=kt[0],Ot=kt[1],Bt=Object(A["useState"])(""),Mt=Object(w["a"])(Bt,2),Tt=Mt[0],It=Mt[1],Lt=Tt;"combobox"===M&&void 0!==_t?Lt=_t:void 0!==j?Lt=j:N&&(Lt=N);var Dt=Object(A["useMemo"])((function(){var e=_;return void 0===e&&(e=r(E)),"tags"===M&&c&&(e=c(e,_t,pt,D)),e||[]}),[_,E,M,_t]),Pt=Object(A["useMemo"])((function(){return i(Dt,e)}),[Dt]),Nt=me(xt,Pt),jt=Object(A["useMemo"])((function(){if(!Lt||!mt)return Object(b["a"])(Dt);var e=a(Lt,Dt,{optionFilterProp:z,filterOption:"combobox"===M&&void 0===F?function(){return!0}:F});return"tags"===M&&e.every((function(e){return e[z]!==Lt}))&&e.unshift({value:Lt,label:Lt,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Q&&Array.isArray(e)?Object(b["a"])(e).sort(Q):e}),[Dt,Lt,M,mt,Q]),Ft=Object(A["useMemo"])((function(){return i(jt,e)}),[jt]);Object(A["useEffect"])((function(){nt.current&&nt.current.scrollTo&&nt.current.scrollTo(0)}),[Lt]);var Rt=Object(A["useMemo"])((function(){var e=xt.map((function(e){var t=Nt([e]),n=o(e,{options:t,prevValue:_t,labelInValue:At,optionLabelProp:pt});return Object(x["a"])(Object(x["a"])({},n),{},{disabled:s(e,t)})}));return M||1!==e.length||null!==e[0].value||null!==e[0].label?e:[]}),[_t,Dt,M]);Rt=ge(Rt);var Ut=function(e,t,n){var r=Nt([e]),i=l([e],r)[0];if(!qe.skipTriggerSelect){var a=At?o(e,{options:r,prevValue:_t,labelInValue:At,optionLabelProp:pt}):e;t&&Ve?Ve(a,i):!t&&We&&We(a,i)}Ze&&(t&&qe.onRawSelect?qe.onRawSelect(e,i,n):!t&&qe.onRawDeselect&&qe.onRawDeselect(e,i,n))},Ht=Object(A["useState"])([]),Qt=Object(w["a"])(Ht,2),Kt=Qt[0],zt=Qt[1],Vt=function(e){if(!Ze||!qe.skipTriggerChange){var t=Nt(e),n=U(Array.from(e),{labelInValue:At,options:t,getLabeledValue:o,prevValue:_t,optionLabelProp:pt}),r=gt?n:n[0];if(ze&&(0!==xt.length||0!==n.length)){var i=l(e,t,{prevValueOptions:Kt});zt(i.map((function(t,n){var r=Object(x["a"])({},t);return Object.defineProperty(r,"_INTERNAL_OPTION_VALUE_",{get:function(){return e[n]}}),r}))),ze(r,gt?i:i[0])}wt(r)}},Wt=function(e,t){var n,r=t.selected,i=t.source;re||(gt?(n=new Set(xt),r?n.add(e):n["delete"](e)):(n=new Set,n.add(e)),(gt||!gt&&Array.from(xt)[0]!==e)&&Vt(Array.from(n)),Ut(e,!gt||r,i),"combobox"===M?(It(String(e)),Ot("")):gt&&!X||(It(""),Ot("")))},Gt=function(e,t){Wt(e,Object(x["a"])(Object(x["a"])({},t),{},{source:"option"}))},Xt=function(e,t){Wt(e,Object(x["a"])(Object(x["a"])({},t),{},{source:"selection"}))},qt="combobox"===M&&fe&&fe()||null,Yt=Object(B["a"])(void 0,{defaultValue:y,value:v}),Zt=Object(w["a"])(Yt,2),Jt=Zt[0],$t=Zt[1],en=Jt,tn=!ue&&!jt.length;(re||tn&&en&&"combobox"===M)&&(en=!1);var nn=!tn&&en,rn=function(e){var t=void 0!==e?e:!en;Jt===t||re||($t(t),Fe&&Fe(t))};Ae([$e.current,et.current&&et.current.getPopupElement()],nn,rn);var on=function(e,t,n){var r=!0,i=e;Ot(null);var o=n?null:pe(e,Pe),a=o;if("combobox"===M)t&&Vt([i]);else if(o){i="","tags"!==M&&(a=o.map((function(e){var t=Pt.find((function(t){var n=t.data;return n[pt]===e}));return t?t.data.value:null})).filter((function(e){return null!==e})));var s=Array.from(new Set([].concat(Object(b["a"])(xt),Object(b["a"])(a))));Vt(s),s.forEach((function(e){Ut(e,!0,"input")})),rn(!1),r=!1}return It(i),q&&Lt!==i&&q(i),r},an=function(e){var t=Array.from(new Set([].concat(Object(b["a"])(xt),[e])));Vt(t),t.forEach((function(e){Ut(e,!0,"input")})),It("")};Object(A["useEffect"])((function(){Jt&&re&&$t(!1)}),[re]),Object(A["useEffect"])((function(){en||gt||"combobox"===M||on("",!1,!1)}),[en]);var sn=J(),ln=Object(w["a"])(sn,2),cn=ln[0],un=ln[1],dn=function(e){var t,n=cn(),r=e.which;if(en||r!==k["a"].ENTER||rn(!0),un(!!Lt),r===k["a"].BACKSPACE&&!n&>&&!Lt&&xt.length){var i=H(Rt,xt);null!==i.removedValue&&(Vt(i.values),Ut(i.removedValue,!1,"input"))}for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];en&&nt.current&&(t=nt.current).onKeyDown.apply(t,[e].concat(a));Qe&&Qe.apply(void 0,[e].concat(a))},hn=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i;en&&nt.current&&(i=nt.current).onKeyUp.apply(i,[e].concat(n));He&&He.apply(void 0,[e].concat(n))},fn=Object(A["useRef"])(!1),pn=function(){st(!0),re||(Re&&!fn.current&&Re.apply(void 0,arguments),Le.includes("focus")&&rn(!0)),fn.current=!0},An=function(){st(!1,(function(){fn.current=!1,rn(!1)})),re||(Lt&&("tags"===M?(on("",!1,!1),Vt(Array.from(new Set([].concat(Object(b["a"])(xt),[Lt]))))):"multiple"===M&&It("")),Ue&&Ue.apply(void 0,arguments))},gn=[];Object(A["useEffect"])((function(){return function(){gn.forEach((function(e){return clearTimeout(e)})),gn.splice(0,gn.length)}}),[]);var mn=function(e){var t=e.target,n=et.current&&et.current.getPopupElement();if(n&&n.contains(t)){var r=setTimeout((function(){var e=gn.indexOf(r);-1!==e&&gn.splice(e,1),lt(),n.contains(document.activeElement)||tt.current.focus()}));gn.push(r)}if(Ke){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];Ke.apply(void 0,[e].concat(o))}},vn=Object(A["useState"])(0),yn=Object(w["a"])(vn,2),bn=yn[0],_n=yn[1],wn=void 0!==oe?oe:"combobox"!==M,xn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.source,i=void 0===r?"keyboard":r;_n(t),he&&"combobox"===M&&null!==e&&"keyboard"===i&&Ot(String(e))},Cn=Object(A["useState"])(null),Sn=Object(w["a"])(Cn,2),kn=Sn[0],En=Sn[1],On=Object(A["useState"])({}),Bn=Object(w["a"])(On,2),Mn=Bn[1];function Tn(){Mn({})}W((function(){if(nn){var e=Math.ceil($e.current.offsetWidth);kn!==e&&En(e)}}),[nn]);var In,Ln=A["createElement"](n,{ref:nt,prefixCls:p,id:ft,open:en,childrenAsData:!_,options:jt,flattenOptions:Ft,multiple:gt,values:Ct,height:_e,itemHeight:xe,onSelect:Gt,onToggleOpen:rn,onActiveValue:xn,defaultActiveFirstOption:wn,notFoundContent:ue,onScroll:je,searchValue:Lt,menuItemSelectedIcon:ne,virtual:!1!==ke&&!1!==Be,onMouseEnter:Tn}),Dn=function(){Ze&&qe.onClear&&qe.onClear(),Ge&&Ge(),Vt([]),on("",!1,!1)};!re&&Y&&(xt.length||Lt)&&(In=A["createElement"](L,{className:"".concat(p,"-clear"),onMouseDown:Dn,customizeIcon:Z},"\xd7"));var Pn,Nn=void 0!==$?$:ie||!gt&&"combobox"!==M;Nn&&(Pn=A["createElement"](L,{className:O()("".concat(p,"-arrow"),Object(C["a"])({},"".concat(p,"-arrow-loading"),ie)),customizeIcon:ee,customizeIconProps:{loading:ie,searchValue:Lt,open:en,focused:at,showSearch:mt}}));var jn=O()(p,g,(h={},Object(C["a"])(h,"".concat(p,"-focused"),at),Object(C["a"])(h,"".concat(p,"-multiple"),gt),Object(C["a"])(h,"".concat(p,"-single"),!gt),Object(C["a"])(h,"".concat(p,"-allow-clear"),Y),Object(C["a"])(h,"".concat(p,"-show-arrow"),Nn),Object(C["a"])(h,"".concat(p,"-disabled"),re),Object(C["a"])(h,"".concat(p,"-loading"),ie),Object(C["a"])(h,"".concat(p,"-open"),en),Object(C["a"])(h,"".concat(p,"-customize-input"),qt),Object(C["a"])(h,"".concat(p,"-show-search"),mt),h));return A["createElement"]("div",Object.assign({className:jn},Je,{ref:$e,onMouseDown:mn,onKeyDown:dn,onKeyUp:hn,onFocus:pn,onBlur:An}),at&&!en&&A["createElement"]("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(xt.join(", "))),A["createElement"](ae,{ref:et,disabled:re,prefixCls:p,visible:nn,popupElement:Ln,containerWidth:kn,animation:Ce,transitionName:Se,dropdownStyle:Ee,dropdownClassName:Oe,direction:De,dropdownMatchSelectWidth:Be,dropdownRender:Me,dropdownAlign:Te,getPopupContainer:ye,empty:!Dt.length,getTriggerDOMNode:function(){return vt.current}},A["createElement"](te,Object.assign({},e,{domRef:vt,prefixCls:p,inputElement:qt,ref:tt,id:ft,showSearch:mt,mode:M,accessibilityIndex:bn,multiple:gt,tagRender:Ne,values:Rt,open:en,onToggleOpen:rn,searchValue:Lt,activeValue:Et,onSearch:on,onSearchSubmit:an,onSelect:Xt,tokenWithEnter:rt}))),Pn,In)}var h=A["forwardRef"](d);return h}var be=n("Zm9Q"),_e=n("JX7q"),we=A["createContext"](null),xe=function(e){var t=e.prefixCls,n=e.level,r=e.isStart,i=e.isEnd;if(!n)return null;for(var o="".concat(t,"-indent-unit"),a=[],s=0;s<n;s+=1){var l;a.push(A["createElement"]("span",{key:s,className:O()(o,(l={},Object(C["a"])(l,"".concat(o,"-start"),r[s]),Object(C["a"])(l,"".concat(o,"-end"),i[s]),l))}))}return A["createElement"]("span",{"aria-hidden":"true",className:"".concat(t,"-indent")},a)},Ce=xe,Se="open",ke="close",Ee="---",Oe=function(e){Object(v["a"])(n,e);var t=Object(y["a"])(n);function n(){var e;return Object(g["a"])(this,n),e=t.apply(this,arguments),e.state={dragNodeHighlight:!1},e.onSelectorClick=function(t){var n=e.props.context.onNodeClick;n(t,Ye(e.props)),e.isSelectable()?e.onSelect(t):e.onCheck(t)},e.onSelectorDoubleClick=function(t){var n=e.props.context.onNodeDoubleClick;n(t,Ye(e.props))},e.onSelect=function(t){if(!e.isDisabled()){var n=e.props.context.onNodeSelect;t.preventDefault(),n(t,Ye(e.props))}},e.onCheck=function(t){if(!e.isDisabled()){var n=e.props,r=n.disableCheckbox,i=n.checked,o=e.props.context.onNodeCheck;if(e.isCheckable()&&!r){t.preventDefault();var a=!i;o(t,Ye(e.props),a)}}},e.onMouseEnter=function(t){var n=e.props.context.onNodeMouseEnter;n(t,Ye(e.props))},e.onMouseLeave=function(t){var n=e.props.context.onNodeMouseLeave;n(t,Ye(e.props))},e.onContextMenu=function(t){var n=e.props.context.onNodeContextMenu;n(t,Ye(e.props))},e.onDragStart=function(t){var n=e.props.context.onNodeDragStart;t.stopPropagation(),e.setState({dragNodeHighlight:!0}),n(t,Object(_e["a"])(e));try{t.dataTransfer.setData("text/plain","")}catch(r){}},e.onDragEnter=function(t){var n=e.props.context.onNodeDragEnter;t.preventDefault(),t.stopPropagation(),n(t,Object(_e["a"])(e))},e.onDragOver=function(t){var n=e.props.context.onNodeDragOver;t.preventDefault(),t.stopPropagation(),n(t,Object(_e["a"])(e))},e.onDragLeave=function(t){var n=e.props.context.onNodeDragLeave;t.stopPropagation(),n(t,Object(_e["a"])(e))},e.onDragEnd=function(t){var n=e.props.context.onNodeDragEnd;t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,Object(_e["a"])(e))},e.onDrop=function(t){var n=e.props.context.onNodeDrop;t.preventDefault(),t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,Object(_e["a"])(e))},e.onExpand=function(t){var n=e.props.context.onNodeExpand;n(t,Ye(e.props))},e.setSelectHandle=function(t){e.selectHandle=t},e.getNodeState=function(){var t=e.props.expanded;return e.isLeaf()?null:t?Se:ke},e.hasChildren=function(){var t=e.props.eventKey,n=e.props.context.keyEntities,r=n[t]||{},i=r.children;return!!(i||[]).length},e.isLeaf=function(){var t=e.props,n=t.isLeaf,r=t.loaded,i=e.props.context.loadData,o=e.hasChildren();return!1!==n&&(n||!i&&!o||i&&r&&!o)},e.isDisabled=function(){var t=e.props.disabled,n=e.props.context.disabled;return!(!n&&!t)},e.isCheckable=function(){var t=e.props.checkable,n=e.props.context.checkable;return!(!n||!1===t)&&n},e.syncLoadData=function(t){var n=t.expanded,r=t.loading,i=t.loaded,o=e.props.context,a=o.loadData,s=o.onNodeLoad;r||a&&n&&!e.isLeaf()&&(e.hasChildren()||i||s(Ye(e.props)))},e.renderSwitcher=function(){var t=e.props,n=t.expanded,r=t.switcherIcon,i=e.props.context,o=i.prefixCls,a=i.switcherIcon,s=r||a;if(e.isLeaf())return A["createElement"]("span",{className:O()("".concat(o,"-switcher"),"".concat(o,"-switcher-noop"))},"function"===typeof s?s(Object(x["a"])(Object(x["a"])({},e.props),{},{isLeaf:!0})):s);var l=O()("".concat(o,"-switcher"),"".concat(o,"-switcher_").concat(n?Se:ke));return A["createElement"]("span",{onClick:e.onExpand,className:l},"function"===typeof s?s(Object(x["a"])(Object(x["a"])({},e.props),{},{isLeaf:!1})):s)},e.renderCheckbox=function(){var t=e.props,n=t.checked,r=t.halfChecked,i=t.disableCheckbox,o=e.props.context.prefixCls,a=e.isDisabled(),s=e.isCheckable();if(!s)return null;var l="boolean"!==typeof s?s:null;return A["createElement"]("span",{className:O()("".concat(o,"-checkbox"),n&&"".concat(o,"-checkbox-checked"),!n&&r&&"".concat(o,"-checkbox-indeterminate"),(a||i)&&"".concat(o,"-checkbox-disabled")),onClick:e.onCheck},l)},e.renderIcon=function(){var t=e.props.loading,n=e.props.context.prefixCls;return A["createElement"]("span",{className:O()("".concat(n,"-iconEle"),"".concat(n,"-icon__").concat(e.getNodeState()||"docu"),t&&"".concat(n,"-icon_loading"))})},e.renderSelector=function(){var t,n,r=e.state.dragNodeHighlight,i=e.props,o=i.title,a=i.selected,s=i.icon,l=i.loading,c=i.data,u=e.props.context,d=u.prefixCls,h=u.showIcon,f=u.icon,p=u.draggable,g=u.loadData,m=u.titleRender,v=e.isDisabled(),y="".concat(d,"-node-content-wrapper");if(h){var b=s||f;t=b?A["createElement"]("span",{className:O()("".concat(d,"-iconEle"),"".concat(d,"-icon__customize"))},"function"===typeof b?b(e.props):b):e.renderIcon()}else g&&l&&(t=e.renderIcon());n="function"===typeof o?o(c):m?m(c):o;var _=A["createElement"]("span",{className:"".concat(d,"-title")},n);return A["createElement"]("span",{ref:e.setSelectHandle,title:"string"===typeof o?o:"",className:O()("".concat(y),"".concat(y,"-").concat(e.getNodeState()||"normal"),!v&&(a||r)&&"".concat(d,"-node-selected"),!v&&p&&"draggable"),draggable:!v&&p||void 0,"aria-grabbed":!v&&p||void 0,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onContextMenu:e.onContextMenu,onClick:e.onSelectorClick,onDoubleClick:e.onSelectorDoubleClick,onDragStart:p?e.onDragStart:void 0},t,_)},e}return Object(m["a"])(n,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var e=this.props.selectable,t=this.props.context.selectable;return"boolean"===typeof e?e:t}},{key:"render",value:function(){var e,t=this.props,n=t.eventKey,r=t.className,i=t.style,o=t.dragOver,a=t.dragOverGapTop,s=t.dragOverGapBottom,l=t.isLeaf,c=t.isStart,u=t.isEnd,d=t.expanded,h=t.selected,f=t.checked,p=t.halfChecked,g=t.loading,m=t.domRef,v=t.active,y=t.onMouseMove,b=Object(S["a"])(t,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),_=this.props.context,w=_.prefixCls,x=_.filterTreeNode,k=_.draggable,E=_.keyEntities,B=this.isDisabled(),M=Ke(b),T=E[n]||{},I=T.level,L=u[u.length-1];return A["createElement"]("div",Object.assign({ref:m,className:O()(r,"".concat(w,"-treenode"),(e={},Object(C["a"])(e,"".concat(w,"-treenode-disabled"),B),Object(C["a"])(e,"".concat(w,"-treenode-switcher-").concat(d?"open":"close"),!l),Object(C["a"])(e,"".concat(w,"-treenode-checkbox-checked"),f),Object(C["a"])(e,"".concat(w,"-treenode-checkbox-indeterminate"),p),Object(C["a"])(e,"".concat(w,"-treenode-selected"),h),Object(C["a"])(e,"".concat(w,"-treenode-loading"),g),Object(C["a"])(e,"".concat(w,"-treenode-active"),v),Object(C["a"])(e,"".concat(w,"-treenode-leaf-last"),L),Object(C["a"])(e,"drag-over",!B&&o),Object(C["a"])(e,"drag-over-gap-top",!B&&a),Object(C["a"])(e,"drag-over-gap-bottom",!B&&s),Object(C["a"])(e,"filter-node",x&&x(Ye(this.props))),e)),style:i,onDragEnter:k?this.onDragEnter:void 0,onDragOver:k?this.onDragOver:void 0,onDragLeave:k?this.onDragLeave:void 0,onDrop:k?this.onDrop:void 0,onDragEnd:k?this.onDragEnd:void 0,onMouseMove:y},M),A["createElement"](Ce,{prefixCls:w,level:I,isStart:c,isEnd:u}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),n}(A["Component"]),Be=function(e){return A["createElement"](we.Consumer,null,(function(t){return A["createElement"](Oe,Object.assign({},e,{context:t}))}))};Be.displayName="TreeNode",Be.defaultProps={title:Ee},Be.isTreeNode=1;var Me=Be,Te=.25,Ie=2;function Le(e,t){var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function De(e,t){var n=e.slice();return-1===n.indexOf(t)&&n.push(t),n}function Pe(e){return e.split("-")}function Ne(e,t){return"".concat(e,"-").concat(t)}function je(e){return e&&e.type&&e.type.isTreeNode}function Fe(e,t){var n=[e],r=t[e];function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach((function(e){var t=e.key,r=e.children;n.push(t),i(r)}))}return i(r.children),n}function Re(e,t){var n=e.clientY,r=t.selectHandle.getBoundingClientRect(),i=r.top,o=r.bottom,a=r.height,s=Math.max(a*Te,Ie);return n<=i+s?-1:n>=o-s?1:0}function Ue(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function He(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==Object(_["a"])(e))return Object(ue["a"])(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function Qe(e,t){var n=new Set;function r(e){if(!n.has(e)){var i=t[e];if(i){n.add(e);var o=i.parent,a=i.node;a.disabled||o&&r(o.key)}}}return(e||[]).forEach((function(e){r(e)})),Object(b["a"])(n)}function Ke(e){var t={};return Object.keys(e).forEach((function(n){(n.startsWith("data-")||n.startsWith("aria-"))&&(t[n]=e[n])})),t}function ze(e,t){return null!==e&&void 0!==e?e:t}function Ve(e){function t(e){var n=Object(be["a"])(e);return n.map((function(e){if(!je(e))return Object(ue["a"])(!e,"Tree/TreeNode can only accept TreeNode as children."),null;var n=e.key,r=e.props,i=r.children,o=Object(S["a"])(r,["children"]),a=Object(x["a"])({key:n},o),s=t(i);return s.length&&(a.children=s),a})).filter((function(e){return e}))}return t(e)}function We(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=new Set(!0===t?[]:t),r=[];function i(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.map((function(a,s){var l=Ne(o?o.pos:"0",s),c=ze(a.key,l),u=Object(x["a"])(Object(x["a"])({},a),{},{parent:o,pos:l,children:null,data:a,isStart:[].concat(Object(b["a"])(o?o.isStart:[]),[0===s]),isEnd:[].concat(Object(b["a"])(o?o.isEnd:[]),[s===e.length-1])});return r.push(u),!0===t||n.has(c)?u.children=i(a.children||[],u):u.children=[],u}))}return i(e),r}function Ge(e,t,n){var r;function i(n,o,a){var s=n?n.children:e,l=n?Ne(a.pos,o):"0";if(n){var c=r(n,l),u={node:n,index:o,pos:l,key:c,parentPos:a.node?a.pos:null,level:a.level+1};t(u)}s&&s.forEach((function(e,t){i(e,t,{node:n,pos:l,level:a?a.level+1:-1})}))}n?"string"===typeof n?r=function(e){return e[n]}:"function"===typeof n&&(r=function(e){return n(e)}):r=function(e,t){return ze(e.key,t)},i(null)}function Xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,i=t.onProcessFinished,o=arguments.length>2?arguments[2]:void 0,a={},s={},l={posEntities:a,keyEntities:s};return n&&(l=n(l)||l),Ge(e,(function(e){var t=e.node,n=e.index,i=e.pos,o=e.key,c=e.parentPos,u=e.level,d={node:t,index:n,key:o,pos:i,level:u},h=ze(o,i);a[i]=d,s[h]=d,d.parent=a[c],d.parent&&(d.parent.children=d.parent.children||[],d.parent.children.push(d)),r&&r(d,l)}),o),i&&i(l),l}function qe(e,t){var n=t.expandedKeys,r=t.selectedKeys,i=t.loadedKeys,o=t.loadingKeys,a=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,c=t.dropPosition,u=t.keyEntities,d=u[e],h={eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==i.indexOf(e),loading:-1!==o.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==s.indexOf(e),pos:String(d?d.pos:""),dragOver:l===e&&0===c,dragOverGapTop:l===e&&-1===c,dragOverGapBottom:l===e&&1===c};return h}function Ye(e){var t=e.data,n=e.expanded,r=e.selected,i=e.checked,o=e.loaded,a=e.loading,s=e.halfChecked,l=e.dragOver,c=e.dragOverGapTop,u=e.dragOverGapBottom,d=e.pos,h=e.active,f=Object(x["a"])(Object(x["a"])({},t),{},{expanded:n,selected:r,checked:i,loaded:o,loading:a,halfChecked:s,dragOver:l,dragOverGapTop:c,dragOverGapBottom:u,pos:d,active:h});return"props"in f||Object.defineProperty(f,"props",{get:function(){return Object(ue["a"])(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),f}function Ze(e,t){var n=new Set;return e.forEach((function(e){t.has(e)||n.add(e)})),n}function Je(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,i=t.checkable;return!(!n&&!r)||!1===i}function $e(e,t,n,r){for(var i=new Set(e),o=new Set,a=0;a<=n;a+=1){var s=t.get(a)||new Set;s.forEach((function(e){var t=e.key,n=e.node,o=e.children,a=void 0===o?[]:o;i.has(t)&&!r(n)&&a.filter((function(e){return!r(e.node)})).forEach((function(e){i.add(e.key)}))}))}for(var l=new Set,c=n;c>=0;c-=1){var u=t.get(c)||new Set;u.forEach((function(e){var t=e.parent,n=e.node;if(!r(n)&&e.parent&&!l.has(e.parent.key))if(r(e.parent.node))l.add(t.key);else{var a=!0,s=!1;(t.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var t=e.key,n=i.has(t);a&&!n&&(a=!1),s||!n&&!o.has(t)||(s=!0)})),a&&i.add(t.key),s&&o.add(t.key),l.add(t.key)}}))}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(Ze(o,i))}}function et(e,t,n,r,i){for(var o=new Set(e),a=new Set(t),s=0;s<=r;s+=1){var l=n.get(s)||new Set;l.forEach((function(e){var t=e.key,n=e.node,r=e.children,s=void 0===r?[]:r;o.has(t)||a.has(t)||i(n)||s.filter((function(e){return!i(e.node)})).forEach((function(e){o["delete"](e.key)}))}))}a=new Set;for(var c=new Set,u=r;u>=0;u-=1){var d=n.get(u)||new Set;d.forEach((function(e){var t=e.parent,n=e.node;if(!i(n)&&e.parent&&!c.has(e.parent.key))if(i(e.parent.node))c.add(t.key);else{var r=!0,s=!1;(t.children||[]).filter((function(e){return!i(e.node)})).forEach((function(e){var t=e.key,n=o.has(t);r&&!n&&(r=!1),s||!n&&!a.has(t)||(s=!0)})),r||o["delete"](t.key),s&&a.add(t.key),c.add(t.key)}}))}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(Ze(a,o))}}function tt(e,t,n,r){var i,o=[];i=r||Je;var a,s=new Set(e.filter((function(e){var t=!!n[e];return t||o.push(e),t}))),l=new Map,c=0;return Object.keys(n).forEach((function(e){var t=n[e],r=t.level,i=l.get(r);i||(i=new Set,l.set(r,i)),i.add(t),c=Math.max(c,r)})),Object(ue["a"])(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),a=!0===t?$e(s,l,c,i):et(s,t.halfCheckedKeys,l,c,i),a}var nt=n("YrtM"),rt=n("+nKL"),it=function(e,t){var n=e.className,r=e.style,i=e.motion,o=e.motionNodes,a=e.motionType,s=e.onMotionStart,l=e.onMotionEnd,c=e.active,u=e.treeNodeRequiredProps,d=Object(S["a"])(e,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),h=A["useState"](!0),f=Object(w["a"])(h,2),p=f[0],g=f[1],m=A["useContext"](we),v=m.prefixCls,y=A["useRef"](!1),b=function(){y.current||l(),y.current=!0};return Object(A["useEffect"])((function(){o&&"hide"===a&&p&&g(!1)}),[o]),Object(A["useEffect"])((function(){return o&&s(),function(){o&&b()}}),[]),o?A["createElement"](T["b"],Object.assign({ref:t,visible:p},i,{motionAppear:"show"===a,onAppearEnd:b,onLeaveEnd:b}),(function(e,t){var n=e.className,r=e.style;return A["createElement"]("div",{ref:t,className:O()("".concat(v,"-treenode-motion"),n),style:r},o.map((function(e){var t=e.data,n=t.key,r=Object(S["a"])(t,["key"]),i=e.isStart,o=e.isEnd;delete r.children;var a=qe(n,u);return A["createElement"](Me,Object.assign({},r,a,{active:c,data:e.data,key:n,isStart:i,isEnd:o}))})))})):A["createElement"](Me,Object.assign({domRef:t,className:n,style:r},d,{active:c}))};it.displayName="MotionTreeNode";var ot=A["forwardRef"](it),at=ot;function st(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function i(e,t){var n=new Map;e.forEach((function(e){n.set(e,!0)}));var r=t.filter((function(e){return!n.has(e)}));return 1===r.length?r[0]:null}return n<r?{add:!0,key:i(e,t)}:{add:!1,key:i(t,e)}}function lt(e,t,n){var r=e.findIndex((function(e){var t=e.data;return t.key===n})),i=e[r+1],o=t.findIndex((function(e){var t=e.data;return t.key===n}));if(i){var a=t.findIndex((function(e){var t=e.data;return t.key===i.data.key}));return t.slice(o+1,a)}return t.slice(o+1)}var ct={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ut=function(){},dt="RC_TREE_MOTION_".concat(Math.random()),ht={key:dt},ft={key:dt,level:0,index:0,pos:"0",node:ht},pt={parent:null,children:[],pos:ft.pos,data:ht,isStart:[],isEnd:[]};function At(e,t,n,r){return!1!==t&&n?e.slice(0,Math.ceil(n/r)+1):e}function gt(e){var t=e.data.key,n=e.pos;return ze(t,n)}function mt(e){var t=String(e.data.key),n=e;while(n.parent)n=n.parent,t="".concat(n.data.key," > ").concat(t);return t}var vt=function(e,t){var n=e.prefixCls,r=e.data,i=(e.selectable,e.checkable,e.expandedKeys),o=e.selectedKeys,a=e.checkedKeys,s=e.loadedKeys,l=e.loadingKeys,c=e.halfCheckedKeys,u=e.keyEntities,d=e.disabled,h=e.dragging,f=e.dragOverNodeKey,p=e.dropPosition,g=e.motion,m=e.height,v=e.itemHeight,y=e.virtual,b=e.focusable,_=e.activeItem,x=e.focused,C=e.tabIndex,k=e.onKeyDown,E=e.onFocus,O=e.onBlur,B=e.onActiveChange,M=e.onListChangeStart,T=e.onListChangeEnd,I=Object(S["a"])(e,["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"]),L=A["useRef"](null);A["useImperativeHandle"](t,(function(){return{scrollTo:function(e){L.current.scrollTo(e)}}}));var D=A["useState"](i),P=Object(w["a"])(D,2),N=P[0],j=P[1],F=A["useState"](r),R=Object(w["a"])(F,2),U=R[0],H=R[1],Q=A["useState"](r),K=Object(w["a"])(Q,2),z=K[0],V=K[1],W=A["useState"]([]),G=Object(w["a"])(W,2),X=G[0],q=G[1],Y=A["useState"](null),Z=Object(w["a"])(Y,2),J=Z[0],$=Z[1];function ee(){H(r),V(r),q([]),$(null),T()}A["useEffect"]((function(){j(i);var e=st(N,i);if(null!==e.key)if(e.add){var t=U.findIndex((function(t){var n=t.data.key;return n===e.key})),n=At(lt(U,r,e.key),y,m,v),o=U.slice();o.splice(t+1,0,pt),V(o),q(n),$("show")}else{var a=r.findIndex((function(t){var n=t.data.key;return n===e.key})),s=At(lt(r,U,e.key),y,m,v),l=r.slice();l.splice(a+1,0,pt),V(l),q(s),$("hide")}else U!==r&&(H(r),V(r))}),[i,r]),A["useEffect"]((function(){h||ee()}),[h]);var te=g?z:r,ne={expandedKeys:i,selectedKeys:o,loadedKeys:s,loadingKeys:l,checkedKeys:a,halfCheckedKeys:c,dragOverNodeKey:f,dropPosition:p,keyEntities:u};return A["createElement"](A["Fragment"],null,x&&_&&A["createElement"]("span",{style:ct,"aria-live":"assertive"},mt(_)),A["createElement"]("div",{role:"tree"},A["createElement"]("input",{style:ct,disabled:!1===b||d,tabIndex:!1!==b?C:null,onKeyDown:k,onFocus:E,onBlur:O,value:"",onChange:ut})),A["createElement"](rt["a"],Object.assign({},I,{data:te,itemKey:gt,height:m,fullHeight:!1,virtual:y,itemHeight:v,prefixCls:"".concat(n,"-list"),ref:L}),(function(e){var t=e.pos,n=e.data,r=n.key,i=Object(S["a"])(n,["key"]),o=e.isStart,a=e.isEnd,s=ze(r,t);delete i.children;var l=qe(s,ne);return A["createElement"](at,Object.assign({},i,l,{active:_&&r===_.data.key,pos:t,data:e.data,isStart:o,isEnd:a,motion:g,motionNodes:r===dt?X:null,motionType:J,onMotionStart:M,onMotionEnd:ee,treeNodeRequiredProps:ne,onMouseMove:function(){B(null)}}))})))},yt=A["forwardRef"](vt);yt.displayName="NodeList";var bt=yt,_t=function(e){Object(v["a"])(n,e);var t=Object(y["a"])(n);function n(){var e;return Object(g["a"])(this,n),e=t.apply(this,arguments),e.destroyed=!1,e.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},e.listRef=A["createRef"](),e.onNodeDragStart=function(t,n){var r=e.state,i=r.expandedKeys,o=r.keyEntities,a=e.props.onDragStart,s=n.props.eventKey;e.dragNode=n;var l=Le(i,s);e.setState({dragging:!0,dragNodesKeys:Fe(s,o)}),e.setExpandedKeys(l),a&&a({event:t,node:Ye(n.props)})},e.onNodeDragEnter=function(t,n){var r=e.state,i=r.expandedKeys,o=r.keyEntities,a=r.dragNodesKeys,s=e.props.onDragEnter,l=n.props,c=l.pos,u=l.eventKey;if(e.dragNode&&-1===a.indexOf(u)){var d=Re(t,n);e.dragNode.props.eventKey!==u||0!==d?setTimeout((function(){e.setState({dragOverNodeKey:u,dropPosition:d}),e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach((function(t){clearTimeout(e.delayedDragEnterLogic[t])})),e.delayedDragEnterLogic[c]=window.setTimeout((function(){if(e.state.dragging){var r=Object(b["a"])(i),a=o[u];a&&(a.children||[]).length&&(r=De(i,u)),"expandedKeys"in e.props||e.setExpandedKeys(r),s&&s({event:t,node:Ye(n.props),expandedKeys:r})}}),400)}),0):e.setState({dragOverNodeKey:"",dropPosition:null})}},e.onNodeDragOver=function(t,n){var r=e.state.dragNodesKeys,i=e.props.onDragOver,o=n.props.eventKey;if(-1===r.indexOf(o)){if(e.dragNode&&o===e.state.dragOverNodeKey){var a=Re(t,n);if(a===e.state.dropPosition)return;e.setState({dropPosition:a})}i&&i({event:t,node:Ye(n.props)})}},e.onNodeDragLeave=function(t,n){var r=e.props.onDragLeave;e.setState({dragOverNodeKey:""}),r&&r({event:t,node:Ye(n.props)})},e.onNodeDragEnd=function(t,n){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:""}),e.cleanDragState(),r&&r({event:t,node:Ye(n.props)}),e.dragNode=null},e.onNodeDrop=function(t,n){var r=e.state,i=r.dragNodesKeys,o=void 0===i?[]:i,a=r.dropPosition,s=e.props.onDrop,l=n.props,c=l.eventKey,u=l.pos;if(e.setState({dragOverNodeKey:""}),e.cleanDragState(),-1===o.indexOf(c)){var d=Pe(u),h={event:t,node:Ye(n.props),dragNode:e.dragNode?Ye(e.dragNode.props):null,dragNodesKeys:o.slice(),dropPosition:a+Number(d[d.length-1]),dropToGap:!1};0!==a&&(h.dropToGap=!0),s&&s(h),e.dragNode=null}else Object(ue["a"])(!1,"Can not drop to dragNode(include it's children node)")},e.cleanDragState=function(){var t=e.state.dragging;t&&e.setState({dragging:!1})},e.onNodeClick=function(t,n){var r=e.props.onClick;r&&r(t,n)},e.onNodeDoubleClick=function(t,n){var r=e.props.onDoubleClick;r&&r(t,n)},e.onNodeSelect=function(t,n){var r=e.state.selectedKeys,i=e.state.keyEntities,o=e.props,a=o.onSelect,s=o.multiple,l=n.selected,c=n.key,u=!l;r=u?s?De(r,c):[c]:Le(r,c);var d=r.map((function(e){var t=i[e];return t?t.node:null})).filter((function(e){return e}));e.setUncontrolledState({selectedKeys:r}),a&&a(r,{event:"select",selected:u,node:n,selectedNodes:d,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,r){var i,o=e.state,a=o.keyEntities,s=o.checkedKeys,l=o.halfCheckedKeys,c=e.props,u=c.checkStrictly,d=c.onCheck,h=n.key,f={event:"check",node:n,checked:r,nativeEvent:t.nativeEvent};if(u){var p=r?De(s,h):Le(s,h),A=Le(l,h);i={checked:p,halfChecked:A},f.checkedNodes=p.map((function(e){return a[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:p})}else{var g=tt([].concat(Object(b["a"])(s),[h]),!0,a),m=g.checkedKeys,v=g.halfCheckedKeys;if(!r){var y=new Set(m);y["delete"](h);var _=tt(Array.from(y),{checked:!1,halfCheckedKeys:v},a);m=_.checkedKeys,v=_.halfCheckedKeys}i=m,f.checkedNodes=[],f.checkedNodesPositions=[],f.halfCheckedKeys=v,m.forEach((function(e){var t=a[e];if(t){var n=t.node,r=t.pos;f.checkedNodes.push(n),f.checkedNodesPositions.push({node:n,pos:r})}})),e.setUncontrolledState({checkedKeys:m},!1,{halfCheckedKeys:v})}d&&d(i,f)},e.onNodeLoad=function(t){return new Promise((function(n){e.setState((function(r){var i=r.loadedKeys,o=void 0===i?[]:i,a=r.loadingKeys,s=void 0===a?[]:a,l=e.props,c=l.loadData,u=l.onLoad,d=t.key;if(!c||-1!==o.indexOf(d)||-1!==s.indexOf(d))return{};var h=c(t);return h.then((function(){var r=e.state,i=r.loadedKeys,o=r.loadingKeys,a=De(i,d),s=Le(o,d);u&&u(a,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:a}),e.setState({loadingKeys:s}),n()})),{loadingKeys:De(s,d)}}))}))},e.onNodeMouseEnter=function(t,n){var r=e.props.onMouseEnter;r&&r({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var r=e.props.onMouseLeave;r&&r({event:t,node:n})},e.onNodeContextMenu=function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))},e.onFocus=function(){var t=e.props.onFocus;e.setState({focused:!0}),t&&t.apply(void 0,arguments)},e.onBlur=function(){var t=e.props.onBlur;e.setState({focused:!1}),e.onActiveChange(null),t&&t.apply(void 0,arguments)},e.getTreeNodeRequiredProps=function(){var t=e.state,n=t.expandedKeys,r=t.selectedKeys,i=t.loadedKeys,o=t.loadingKeys,a=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,c=t.dropPosition,u=t.keyEntities;return{expandedKeys:n||[],selectedKeys:r||[],loadedKeys:i||[],loadingKeys:o||[],checkedKeys:a||[],halfCheckedKeys:s||[],dragOverNodeKey:l,dropPosition:c,keyEntities:u}},e.setExpandedKeys=function(t){var n=e.state.treeData,r=We(n,t);e.setUncontrolledState({expandedKeys:t,flattenNodes:r},!0)},e.onNodeExpand=function(t,n){var r=e.state.expandedKeys,i=e.state.listChanging,o=e.props,a=o.onExpand,s=o.loadData,l=n.key,c=n.expanded;if(!i){var u=r.indexOf(l),d=!c;if(Object(ue["a"])(c&&-1!==u||!c&&-1===u,"Expand state not sync with index check"),r=d?De(r,l):Le(r,l),e.setExpandedKeys(r),a&&a(r,{node:n,expanded:d,nativeEvent:t.nativeEvent}),d&&s){var h=e.onNodeLoad(n);h&&h.then((function(){var t=We(e.state.treeData,r);e.setUncontrolledState({flattenNodes:t})}))}}},e.onListChangeStart=function(){e.setUncontrolledState({listChanging:!0})},e.onListChangeEnd=function(){setTimeout((function(){e.setUncontrolledState({listChanging:!1})}))},e.onActiveChange=function(t){var n=e.state.activeKey,r=e.props.onActiveChange;n!==t&&(e.setState({activeKey:t}),null!==t&&e.scrollTo({key:t}),r&&r(t))},e.getActiveItem=function(){var t=e.state,n=t.activeKey,r=t.flattenNodes;return null===n?null:r.find((function(e){var t=e.data.key;return t===n}))||null},e.offsetActiveKey=function(t){var n=e.state,r=n.flattenNodes,i=n.activeKey,o=r.findIndex((function(e){var t=e.data.key;return t===i}));-1===o&&t<0&&(o=r.length),o=(o+t+r.length)%r.length;var a=r[o];if(a){var s=a.data.key;e.onActiveChange(s)}else e.onActiveChange(null)},e.onKeyDown=function(t){var n=e.state,r=n.activeKey,i=n.expandedKeys,o=n.checkedKeys,a=e.props,s=a.onKeyDown,l=a.checkable,c=a.selectable;switch(t.which){case k["a"].UP:e.offsetActiveKey(-1),t.preventDefault();break;case k["a"].DOWN:e.offsetActiveKey(1),t.preventDefault();break}var u=e.getActiveItem();if(u&&u.data){var d=e.getTreeNodeRequiredProps(),h=!1===u.data.isLeaf||!!(u.data.children||[]).length,f=Ye(Object(x["a"])(Object(x["a"])({},qe(r,d)),{},{data:u.data,active:!0}));switch(t.which){case k["a"].LEFT:h&&i.includes(r)?e.onNodeExpand({},f):u.parent&&e.onActiveChange(u.parent.data.key),t.preventDefault();break;case k["a"].RIGHT:h&&!i.includes(r)?e.onNodeExpand({},f):u.children&&u.children.length&&e.onActiveChange(u.children[0].data.key),t.preventDefault();break;case k["a"].ENTER:case k["a"].SPACE:!l||f.disabled||!1===f.checkable||f.disableCheckbox?l||!c||f.disabled||!1===f.selectable||e.onNodeSelect({},f):e.onNodeCheck({},f,!o.includes(r));break}}s&&s(t)},e.setUncontrolledState=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var i=!1,o=!0,a={};Object.keys(t).forEach((function(n){n in e.props?o=!1:(i=!0,a[n]=t[n])})),!i||n&&!o||e.setState(Object(x["a"])(Object(x["a"])({},a),r))}},e.scrollTo=function(t){e.listRef.current.scrollTo(t)},e}return Object(m["a"])(n,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var e,t=this.state,n=t.focused,r=t.flattenNodes,i=t.keyEntities,o=t.dragging,a=t.activeKey,s=this.props,l=s.prefixCls,c=s.className,u=s.style,d=s.showLine,h=s.focusable,f=s.tabIndex,p=void 0===f?0:f,g=s.selectable,m=s.showIcon,v=s.icon,y=s.switcherIcon,b=s.draggable,_=s.checkable,w=s.checkStrictly,x=s.disabled,S=s.motion,k=s.loadData,E=s.filterTreeNode,B=s.height,M=s.itemHeight,T=s.virtual,I=s.titleRender,L=s.onContextMenu,D=Ke(this.props);return A["createElement"](we.Provider,{value:{prefixCls:l,selectable:g,showIcon:m,icon:v,switcherIcon:y,draggable:b,checkable:_,checkStrictly:w,disabled:x,keyEntities:i,loadData:k,filterTreeNode:E,titleRender:I,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}},A["createElement"]("div",{className:O()(l,c,(e={},Object(C["a"])(e,"".concat(l,"-show-line"),d),Object(C["a"])(e,"".concat(l,"-focused"),n),Object(C["a"])(e,"".concat(l,"-active-focused"),null!==a),e))},A["createElement"](bt,Object.assign({ref:this.listRef,prefixCls:l,style:u,data:r,disabled:x,selectable:g,checkable:!!_,motion:S,dragging:o,height:B,itemHeight:M,virtual:T,focusable:h,focused:n,tabIndex:p,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:L},this.getTreeNodeRequiredProps(),D))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r=t.prevProps,i={prevProps:e};function o(t){return!r&&t in e||r&&r[t]!==e[t]}if(o("treeData")?n=e.treeData:o("children")&&(Object(ue["a"])(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=Ve(e.children)),n){i.treeData=n;var a=Xe(n);i.keyEntities=Object(x["a"])(Object(C["a"])({},dt,ft),a.keyEntities)}var s,l=i.keyEntities||t.keyEntities;if(o("expandedKeys")||r&&o("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?Qe(e.expandedKeys,l):e.expandedKeys;else if(!r&&e.defaultExpandAll){var c=Object(x["a"])({},l);delete c[dt],i.expandedKeys=Object.keys(c).map((function(e){return c[e].key}))}else!r&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?Qe(e.defaultExpandedKeys,l):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var u=We(n||t.treeData,i.expandedKeys||t.expandedKeys);i.flattenNodes=u}if((e.selectable&&(o("selectedKeys")?i.selectedKeys=Ue(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(i.selectedKeys=Ue(e.defaultSelectedKeys,e))),e.checkable)&&(o("checkedKeys")?s=He(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?s=He(e.defaultCheckedKeys)||{}:n&&(s=He(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),s)){var d=s,h=d.checkedKeys,f=void 0===h?[]:h,p=d.halfCheckedKeys,A=void 0===p?[]:p;if(!e.checkStrictly){var g=tt(f,!0,l);f=g.checkedKeys,A=g.halfCheckedKeys}i.checkedKeys=f,i.halfCheckedKeys=A}return o("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(A["Component"]);_t.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:[]},_t.TreeNode=Me;var wt=_t,xt=wt,Ct=A["createContext"](null);function St(e,t){if(!e)return!0;var n=e.data,r=n.disabled,i=n.disableCheckbox;switch(t){case"select":return r;case"checkbox":return r||i}return!1}function kt(e,t){var n=A["useCallback"]((function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"select",r=arguments.length>2?arguments[2]:void 0,i=e.get(t);return!r&&St(i,n)?null:i}),[e]),r=A["useCallback"]((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"select",r=arguments.length>2?arguments[2]:void 0,i=t.get(e);return!r&&St(i,n)?null:i}),[t]);return[n,r]}function Et(e){return A["useMemo"]((function(){var t=new Map,n=new Map;return e.forEach((function(e){t.set(e.key,e),n.set(e.data.value,e)})),[t,n]}),[e])}var Ot={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Bt=function(e,t){var n=e.prefixCls,r=e.height,i=e.itemHeight,o=e.virtual,a=e.options,s=e.flattenOptions,l=e.multiple,c=e.searchValue,u=e.onSelect,d=e.onToggleOpen,h=e.open,f=e.notFoundContent,p=e.onMouseEnter,g=A["useContext"](Ct),m=g.checkable,v=g.checkedKeys,y=g.halfCheckedKeys,_=g.treeExpandedKeys,x=g.treeDefaultExpandAll,C=g.treeDefaultExpandedKeys,S=g.onTreeExpand,E=g.treeIcon,O=g.showTreeIcon,B=g.switcherIcon,M=g.treeLine,T=g.treeNodeFilterProp,I=g.loadData,L=g.treeLoadedKeys,D=g.treeMotion,P=g.onTreeLoad,N=A["useRef"](),j=Object(nt["a"])((function(){return a}),[h,a],(function(e,t){return t[0]&&e[1]!==t[1]})),F=Et(s),R=Object(w["a"])(F,2),U=R[0],H=R[1],Q=kt(U,H),K=Object(w["a"])(Q,2),z=K[0],V=K[1],W=A["useMemo"]((function(){return v.map((function(e){var t=V(e);return t?t.key:null}))}),[v]),G=A["useMemo"]((function(){return m?{checked:W,halfChecked:y}:null}),[W,y,m]);A["useEffect"]((function(){var e;h&&!l&&W.length&&(null===(e=N.current)||void 0===e||e.scrollTo({key:W[0]}))}),[h]);var X=String(c).toLowerCase(),q=function(e){return!!X&&String(e[T]).toLowerCase().includes(X)},Y=A["useState"](C),Z=Object(w["a"])(Y,2),J=Z[0],$=Z[1],ee=A["useState"](null),te=Object(w["a"])(ee,2),ne=te[0],re=te[1],ie=A["useMemo"]((function(){return _?Object(b["a"])(_):c?ne:J}),[J,ne,X,_]);A["useEffect"]((function(){c&&re(s.map((function(e){return e.key})))}),[c]);var oe=function(e){$(e),re(e),S&&S(e)},ae=function(e){e.preventDefault()},se=function(e,t){var n=t.node.key,r=z(n,m?"checkbox":"select");null!==r&&u(r.data.value,{selected:!v.includes(r.data.value)}),l||d(!1)},le=A["useState"](null),ce=Object(w["a"])(le,2),ue=ce[0],de=ce[1],he=z(ue);if(A["useImperativeHandle"](t,(function(){return{onKeyDown:function(e){var t,n=e.which;switch(n){case k["a"].UP:case k["a"].DOWN:case k["a"].LEFT:case k["a"].RIGHT:null===(t=N.current)||void 0===t||t.onKeyDown(e);break;case k["a"].ENTER:null!==he&&se(null,{node:{key:ue},selected:!v.includes(he.data.value)});break;case k["a"].ESC:d(!1)}},onKeyUp:function(){}}})),0===j.length)return A["createElement"]("div",{role:"listbox",className:"".concat(n,"-empty"),onMouseDown:ae},f);var fe={};return L&&(fe.loadedKeys=L),ie&&(fe.expandedKeys=ie),A["createElement"]("div",{onMouseDown:ae,onMouseEnter:p},he&&h&&A["createElement"]("span",{style:Ot,"aria-live":"assertive"},he.data.value),A["createElement"](xt,Object.assign({ref:N,focusable:!1,prefixCls:"".concat(n,"-tree"),treeData:j,height:r,itemHeight:i,virtual:o,multiple:l,icon:E,showIcon:O,switcherIcon:B,showLine:M,loadData:c?null:I,motion:D,checkable:m,checkStrictly:!0,checkedKeys:G,selectedKeys:m?[]:W,defaultExpandAll:x},fe,{onActiveChange:de,onSelect:se,onCheck:se,onExpand:oe,onLoad:P,filterTreeNode:q})))},Mt=A["forwardRef"](Bt);Mt.displayName="OptionList";var Tt=Mt,It=function(){return null},Lt=It;function Dt(e){return Object(be["a"])(e).map((function(e){if(!A["isValidElement"](e)||!e.type)return null;var t=e.key,n=e.props,r=n.children,i=n.value,o=Object(S["a"])(n,["children","value"]),a=Object(x["a"])({key:t,value:i},o),s=Dt(r);return s.length&&(a.children=s),a})).filter((function(e){return e}))}function Pt(e){if(!e)return e;var t=Object(x["a"])({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Object(ue["a"])(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function Nt(e,t,n,r,i){var o=null,a=null;function s(){function e(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r.map((function(r,l){var c="".concat(i,"-").concat(l),u=n.includes(r.value),d=e(r.children||[],c,u),h=A["createElement"](Lt,Object.assign({},r),d.map((function(e){return e.node})));if(t===r.value&&(o=h),u){var f={pos:c,node:h,children:d};return s||a.push(f),f}return null})).filter((function(e){return e}))}a||(a=[],e(r),a.sort((function(e,t){var r=e.node.props.value,i=t.node.props.value,o=n.indexOf(r),a=n.indexOf(i);return o-a})))}Object.defineProperty(e,"triggerNode",{get:function(){return Object(ue["a"])(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),s(),o}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return Object(ue["a"])(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),s(),i?a:a.map((function(e){var t=e.node;return t}))}})}function jt(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function Ft(e,t){var n=new Map;return t.forEach((function(e){var t=e.data;n.set(t.value,t)})),e.map((function(e){return Pt(n.get(e))}))}function Rt(e,t){var n=Ft([e],t)[0];return!!n&&n.disabled}function Ut(e){return e.disabled||e.disableCheckbox||!1===e.checkable}function Ht(e){var t=e.parent,n=0,r=t;while(r)r=r.parent,n+=1;return n}function Qt(e){function t(e){return(e||[]).map((function(e){var n=e.value,r=e.key,i=e.children,o=Object(x["a"])(Object(x["a"])({},e),{},{key:"key"in e?r:n});return i&&(o.children=t(i)),o}))}var n=We(t(e),!0);return n.map((function(e){return{key:e.data.key,data:e.data,level:Ht(e)}}))}function Kt(e){return function(t,n){var r=n[e];return String(r).toLowerCase().includes(String(t).toLowerCase())}}function zt(e,t,n){var r,i=n.optionFilterProp,o=n.filterOption;if(!1===o)return t;function a(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.map((function(t){var i=t.children,o=n||r(e,Pt(t)),s=a(i||[],o);return o||s.length?Object(x["a"])(Object(x["a"])({},t),{},{children:s}):null})).filter((function(e){return e}))}return r="function"===typeof o?o:Kt(i),a(t)}function Vt(e,t,n,r){var i=new Map;return jt(t).forEach((function(e){e&&"object"===Object(_["a"])(e)&&"value"in e&&i.set(e.value,e)})),e.map((function(e){var t={value:e},o=n(e,"select",!0),a=o?r(o.data):e;if(i.has(e)){var s=i.get(e);t.label="label"in s?s.label:a,"halfChecked"in s&&(t.halfChecked=s.halfChecked)}else t.label=a;return t}))}function Wt(e,t){var n=new Set(e);return n.add(t),Array.from(n)}function Gt(e,t){var n=new Set(e);return n["delete"](t),Array.from(n)}function Xt(e,t){var n=t.id,r=t.pId,i=t.rootPId,o={},a=[],s=e.map((function(e){var t=Object(x["a"])({},e),r=t[n];return o[r]=t,t.key=t.key||r,t}));return s.forEach((function(e){var t=e[r],n=o[t];n&&(n.children=n.children||[],n.children.push(e)),(t===i||!n&&null===i)&&a.push(e)})),a}function qt(e,t){new Set;function n(e){return(e||[]).map((function(e){var r=e.key,i=e.value,o=e.children,a=Object(S["a"])(e,["key","value","children"]),s="value"in e?i:r,l=Object(x["a"])(Object(x["a"])({},a),{},{key:null!==r&&void 0!==r?r:s,value:s,title:t(e)});return"children"in e&&(l.children=n(o)),l}))}return n(e)}function Yt(e,t,n){var r=n.getLabelProp,i=n.simpleMode,o=A["useRef"]({});return e?(o.current.formatTreeData=o.current.treeData===e?o.current.formatTreeData:qt(i?Xt(e,Object(x["a"])({id:"id",pId:"pId",rootPId:null},!0!==i?i:{})):e,r),o.current.treeData=e):o.current.formatTreeData=o.current.children===t?o.current.formatTreeData:qt(Dt(t),r),o.current.formatTreeData}var Zt="SHOW_ALL",Jt="SHOW_PARENT",$t="SHOW_CHILD";function en(e,t,n){var r=new Set(e);return t===$t?e.filter((function(e){var t=n[e];return!(t&&t.children&&t.children.every((function(e){var t=e.node;return Ut(t)||r.has(t.key)})))})):t===Jt?e.filter((function(e){var t=n[e],i=t?t.parent:null;return!(i&&!Ut(i.node)&&r.has(i.node.key))})):e}function tn(e,t){var n=t.value,r=t.getEntityByValue,i=t.getEntityByKey,o=t.treeConduction,a=t.showCheckedStrategy,s=t.conductKeyEntities,l=t.getLabelProp;return A["useMemo"]((function(){var t=e;if(o){var c=en(e.map((function(e){var t=r(e);return t?t.key:e})),a,s);t=c.map((function(e){var t=i(e);return t?t.data.value:e}))}return Vt(t,n,r,l)}),[e,n,o,a,r])}var nn=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],rn=ye({prefixCls:"rc-tree-select",components:{optionList:Tt},convertChildrenToData:function(){return null},flattenOptions:Qt,getLabeledValue:fe,filterOptions:zt,isValueDisabled:Rt,findValueOption:Ft,omitDOMProps:function(e){var t=Object(x["a"])({},e);return nn.forEach((function(e){delete t[e]})),t}});rn.displayName="Select";var on=A["forwardRef"]((function(e,t){var n=e.multiple,r=e.treeCheckable,i=e.treeCheckStrictly,o=e.showCheckedStrategy,a=void 0===o?"SHOW_CHILD":o,s=e.labelInValue,l=e.loadData,c=e.treeLoadedKeys,u=e.treeNodeFilterProp,d=void 0===u?"value":u,h=e.treeNodeLabelProp,f=e.treeDataSimpleMode,p=e.treeData,g=e.treeExpandedKeys,m=e.treeDefaultExpandedKeys,v=e.treeDefaultExpandAll,y=e.children,x=e.treeIcon,C=e.showTreeIcon,S=e.switcherIcon,k=e.treeLine,E=e.treeMotion,O=e.filterTreeNode,M=e.dropdownPopupAlign,T=e.onChange,I=e.onTreeExpand,L=e.onTreeLoad,D=e.onDropdownVisibleChange,P=e.onSelect,N=e.onDeselect,j=r||i,F=n||j,R=r&&!i,U=i||s,H=A["useRef"](null);A["useImperativeHandle"](t,(function(){return{focus:H.current.focus,blur:H.current.blur}}));var Q=function(e){return p&&e.label||e.title},K=function(e){return h?e[h]:Q(e)},z=Yt(p,y,{getLabelProp:Q,simpleMode:f}),V=Object(A["useMemo"])((function(){return Qt(z)}),[z]),W=Et(V),G=Object(w["a"])(W,2),X=G[0],q=G[1],Y=kt(X,q),Z=Object(w["a"])(Y,2),J=Z[0],$=Z[1],ee=Object(A["useMemo"])((function(){return R?Xe(z):{keyEntities:null}}),[z,r,i]),te=ee.keyEntities,ne=Object(B["a"])(e.defaultValue,{value:e.value}),re=Object(w["a"])(ne,2),ie=re[0],oe=re[1],ae=function(e){var t=[],n=[];return e.forEach((function(e){$(e)?n.push(e):t.push(e)})),{missingRawValues:t,existRawValues:n}},le=Object(A["useMemo"])((function(){var e=[],t=[];if(jt(ie).forEach((function(n){if(n&&"object"===Object(_["a"])(n)&&"value"in n)if(n.halfChecked&&i){var r=$(n.value);e.push(r?r.key:n.value)}else t.push(n.value);else t.push(n)})),R){var n=ae(t),r=n.missingRawValues,o=n.existRawValues,a=o.map((function(e){return $(e).key})),s=tt(a,!0,te),l=s.checkedKeys,c=s.halfCheckedKeys;return[[].concat(Object(b["a"])(r),Object(b["a"])(l.map((function(e){return J(e).data.value})))),c]}return[t,e]}),[ie,F,U,r,i]),ce=Object(w["a"])(le,2),de=ce[0],he=ce[1],fe=tn(de,{treeConduction:R,value:ie,showCheckedStrategy:a,conductKeyEntities:te,getEntityByValue:$,getEntityByKey:J,getLabelProp:K}),pe=function(e,t,n){if(oe(F?e:e[0]),T){var r=e;if(R&&"SHOW_ALL"!==a){var o=e.map((function(e){var t=$(e);return t?t.key:e})),s=en(o,a,te);r=s.map((function(e){var t=J(e);return t?t.data.value:e}))}var l=t||{triggerValue:void 0,selected:void 0},c=l.triggerValue,u=l.selected,d=U?Vt(r,ie,$,K):r;if(i){var h=he.map((function(e){var t=J(e);return t?t.data.value:e})).filter((function(e){return!r.includes(e)}));d=[].concat(Object(b["a"])(d),Object(b["a"])(Vt(h,ie,$,K)))}var f={preValue:fe,triggerValue:c},p=!0;(i||"selection"===n&&!u)&&(p=!1),Nt(f,c,e,z,p),j?f.checked=u:f.selected=u,T(F?d:d[0],U?null:r.map((function(e){var t=$(e);return t?K(t.data):null})),f)}},Ae=function(e,t,n){var r=e;if(F){var i=Wt(de,e);if(R){var o=ae(i),a=o.missingRawValues,s=o.existRawValues,l=s.map((function(e){return $(e).key})),c=tt(l,!0,te),u=c.checkedKeys;i=[].concat(Object(b["a"])(a),Object(b["a"])(u.map((function(e){return J(e).data.value}))))}pe(i,{selected:!0,triggerValue:e},n)}else pe([e],{selected:!0,triggerValue:e},n);P&&P(r,t)},ge=function(e,t,n){var r=e,i=Gt(de,e);if(R){var o=ae(i),a=o.missingRawValues,s=o.existRawValues,l=s.map((function(e){return $(e).key})),c=tt(l,{checked:!1,halfCheckedKeys:he},te),u=c.checkedKeys;i=[].concat(Object(b["a"])(a),Object(b["a"])(u.map((function(e){return J(e).data.value}))))}pe(i,{selected:!1,triggerValue:e},n),N&&N(r,t)},me=function(){pe([],null,"clear")},ve=A["useCallback"]((function(e){if(D){var t={};Object.defineProperty(t,"documentClickClose",{get:function(){return Object(ue["a"])(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),D(e,t)}}),[D]);var ye={optionLabelProp:null,optionFilterProp:d,dropdownAlign:M,internalProps:{mark:se,onClear:me,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:Ae,onRawDeselect:ge}};return"filterTreeNode"in e&&(ye.filterOption=O),A["createElement"](Ct.Provider,{value:{checkable:j,loadData:l,treeLoadedKeys:c,onTreeLoad:L,checkedKeys:de,halfCheckedKeys:he,treeDefaultExpandAll:v,treeExpandedKeys:g,treeDefaultExpandedKeys:m,onTreeExpand:I,treeIcon:x,treeMotion:E,showTreeIcon:C,switcherIcon:S,treeLine:k,treeNodeFilterProp:d}},A["createElement"](rn,Object.assign({ref:H,mode:F?"multiple":null},e,ye,{value:fe,labelInValue:!0,options:z,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:ve})))})),an=function(e){Object(v["a"])(n,e);var t=Object(y["a"])(n);function n(){var e;return Object(g["a"])(this,n),e=t.apply(this,arguments),e.selectRef=A["createRef"](),e.focus=function(){e.selectRef.current.focus()},e.blur=function(){e.selectRef.current.blur()},e}return Object(m["a"])(n,[{key:"render",value:function(){return A["createElement"](on,Object.assign({ref:this.selectRef},this.props))}}]),n}(A["Component"]);an.TreeNode=Lt,an.SHOW_ALL=Zt,an.SHOW_PARENT=Jt,an.SHOW_CHILD=$t;var sn=an,ln=sn,cn=n("BGR+"),un=n("H84U"),dn=n("uaoM"),hn=n("1vzs"),fn=n("2jpz"),pn=n("3Nzz"),An=function(e){h()(n,e);var t=p()(n);function n(e){var r;return l()(this,n),r=t.call(this,e),r.selectRef=A["createRef"](),r.renderTreeSelect=function(e){var t,n=e.getPopupContainer,o=e.getPrefixCls,s=e.renderEmpty,l=e.direction,c=e.virtual,u=e.dropdownMatchSelectWidth,d=r.props,h=d.prefixCls,f=d.size,p=d.className,g=d.treeCheckable,m=d.multiple,v=d.listHeight,y=void 0===v?256:v,b=d.listItemHeight,_=void 0===b?26:b,w=d.notFoundContent,x=d.switcherIcon,C=d.treeLine,S=d.getPopupContainer,k=d.dropdownClassName,E=d.bordered,B=d.treeIcon,M=void 0!==B&&B,T=o("select",h),I=o("select-tree",h),L=o("tree-select",h),D=O()(k,"".concat(L,"-dropdown"),a()({},"".concat(L,"-dropdown-rtl"),"rtl"===l)),P=!(!g&&!m),N=Object(hn["a"])(i()(i()({},r.props),{multiple:P,prefixCls:T})),j=N.suffixIcon,F=N.itemIcon,R=N.removeIcon,U=N.clearIcon;t=void 0!==w?w:s("Select");var H=Object(cn["default"])(r.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return A["createElement"](pn["b"].Consumer,null,(function(e){var o,s=f||e,d=O()(!h&&L,(o={},a()(o,"".concat(T,"-lg"),"large"===s),a()(o,"".concat(T,"-sm"),"small"===s),a()(o,"".concat(T,"-rtl"),"rtl"===l),a()(o,"".concat(T,"-borderless"),!E),o),p);return A["createElement"](ln,i()({virtual:c,dropdownMatchSelectWidth:u},H,{ref:r.selectRef,prefixCls:T,className:d,listHeight:y,listItemHeight:_,treeCheckable:g?A["createElement"]("span",{className:"".concat(T,"-tree-checkbox-inner")}):g,inputIcon:j,menuItemSelectedIcon:F,removeIcon:R,clearIcon:U,switcherIcon:function(e){return Object(fn["a"])(I,x,C,e)},showTreeIcon:M,notFoundContent:t,getPopupContainer:S||n,treeMotion:null,dropdownClassName:D}))}))},Object(dn["a"])(!1!==e.multiple||!e.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),r}return u()(n,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return A["createElement"](un["a"],null,this.renderTreeSelect)}}]),n}(A["Component"]);An.TreeNode=Lt,An.SHOW_ALL=Zt,An.SHOW_PARENT=Jt,An.SHOW_CHILD=$t,An.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};t["a"]=An},"5Uyt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("KmBX"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"5YOS":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("xb2K"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"5YgA":function(e,t,n){},"5bA4":function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="LeftOutlined";t["a"]=i["forwardRef"](l)},"5nXd":function(e,t,n){var r=n("MFOe"),i=r.slice,o=r.pluck,a=r.each,s=r.bind,l=r.create,c=r.isList,u=r.isFunction,d=r.isObject;e.exports={createStore:p};var h={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(n,r){e.call(t,t._deserialize(n),(r||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return p.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return p(this.storage,this.plugins,e)}};function f(){var e="undefined"==typeof console?null:console;if(e){var t=e.warn?e.warn:e.log;t.apply(e,arguments)}}function p(e,t,n){n||(n=""),e&&!c(e)&&(e=[e]),t&&!c(t)&&(t=[t]);var r=n?"__storejs_"+n+"_":"",p=n?new RegExp("^"+r):null,A=/^[a-zA-Z0-9_\-]*$/;if(!A.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var g={_namespacePrefix:r,_namespaceRegexp:p,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(r){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=i(arguments,0),r=this;function o(){if(n)return a(arguments,(function(e,n){t[n]=e})),n.apply(r,t)}var s=[o].concat(t);return e.apply(r,s)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(r){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(c(e))a(e,(function(e){t._addPlugin(e)}));else{var n=o(this.plugins,(function(t){return e===t}));if(!n){if(this.plugins.push(e),!u(e))throw new Error("Plugins must be function values that return objects");var r=e.call(this);if(!d(r))throw new Error("Plugins must return an object of function properties");a(r,(function(n,r){if(!u(n))throw new Error("Bad plugin property: "+r+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,r)}))}}},addStorage:function(e){f("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},m=l(g,h,{plugins:[]});return m.raw={},a(m,(function(e,t){u(e)&&(m.raw[t]=s(m,e))})),a(e,(function(e){m._addStorage(e)})),a(t,(function(e){m._addPlugin(e)})),m}},"5rEg":function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lwsE"),a=n.n(o),s=n("W8MJ"),l=n.n(s),c=n("7W2i"),u=n.n(c),d=n("LQ03"),h=n.n(d),f=n("lSNA"),p=n.n(f),A=n("q1tI"),g=n("TSYQ"),m=n.n(g),v=n("BGR+"),y=n("kbBi"),b=n.n(y),_=n("CWQg"),w=n("0n0R"),x=Object(_["a"])("text","input");function C(e){return!!(e.prefix||e.suffix||e.allowClear)}var S=function(e){u()(n,e);var t=h()(n);function n(){var e;return a()(this,n),e=t.apply(this,arguments),e.containerRef=A["createRef"](),e.onInputMouseUp=function(t){var n;if(null===(n=e.containerRef.current)||void 0===n?void 0:n.contains(t.target)){var r=e.props.triggerFocus;r()}},e}return l()(n,[{key:"renderClearIcon",value:function(e){var t=this.props,n=t.allowClear,r=t.value,i=t.disabled,o=t.readOnly,a=t.inputType,s=t.handleReset;if(!n)return null;var l=!i&&!o&&r,c=a===x[0]?"".concat(e,"-textarea-clear-icon"):"".concat(e,"-clear-icon");return A["createElement"](b.a,{onClick:s,className:m()(c,p()({},"".concat(c,"-hidden"),!l)),role:"button"})}},{key:"renderSuffix",value:function(e){var t=this.props,n=t.suffix,r=t.allowClear;return n||r?A["createElement"]("span",{className:"".concat(e,"-suffix")},this.renderClearIcon(e),n):null}},{key:"renderLabeledIcon",value:function(e,t){var n,r=this.props,i=r.focused,o=r.value,a=r.prefix,s=r.className,l=r.size,c=r.suffix,u=r.disabled,d=r.allowClear,h=r.direction,f=r.style,g=r.readOnly,v=r.bordered,y=this.renderSuffix(e);if(!C(this.props))return Object(w["a"])(t,{value:o});var b=a?A["createElement"]("span",{className:"".concat(e,"-prefix")},a):null,_=m()(s,"".concat(e,"-affix-wrapper"),(n={},p()(n,"".concat(e,"-affix-wrapper-focused"),i),p()(n,"".concat(e,"-affix-wrapper-disabled"),u),p()(n,"".concat(e,"-affix-wrapper-sm"),"small"===l),p()(n,"".concat(e,"-affix-wrapper-lg"),"large"===l),p()(n,"".concat(e,"-affix-wrapper-input-with-clear-btn"),c&&d&&o),p()(n,"".concat(e,"-affix-wrapper-rtl"),"rtl"===h),p()(n,"".concat(e,"-affix-wrapper-readonly"),g),p()(n,"".concat(e,"-affix-wrapper-borderless"),!v),n));return A["createElement"]("span",{ref:this.containerRef,className:_,style:f,onMouseUp:this.onInputMouseUp},b,Object(w["a"])(t,{style:null,value:o,className:I(e,v,l,u)}),y)}},{key:"renderInputWithLabel",value:function(e,t){var n,r,i=this.props,o=i.addonBefore,a=i.addonAfter,s=i.style,l=i.size,c=i.className,u=i.direction;if(!o&&!a)return t;var d="".concat(e,"-group"),h="".concat(d,"-addon"),f=o?A["createElement"]("span",{className:h},o):null,g=a?A["createElement"]("span",{className:h},a):null,v=m()("".concat(e,"-wrapper"),(n={},p()(n,d,o||a),p()(n,"".concat(d,"-rtl"),"rtl"===u),n)),y=m()(c,"".concat(e,"-group-wrapper"),(r={},p()(r,"".concat(e,"-group-wrapper-sm"),"small"===l),p()(r,"".concat(e,"-group-wrapper-lg"),"large"===l),p()(r,"".concat(e,"-group-wrapper-rtl"),"rtl"===u),r));return A["createElement"]("span",{className:y,style:s},A["createElement"]("span",{className:v},f,Object(w["a"])(t,{style:null}),g))}},{key:"renderTextAreaWithClearIcon",value:function(e,t){var n,r=this.props,i=r.value,o=r.allowClear,a=r.className,s=r.style,l=r.direction,c=r.bordered;if(!o)return Object(w["a"])(t,{value:i});var u=m()(a,"".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"),(n={},p()(n,"".concat(e,"-affix-wrapper-rtl"),"rtl"===l),p()(n,"".concat(e,"-affix-wrapper-borderless"),!c),n));return A["createElement"]("span",{className:u,style:s},Object(w["a"])(t,{style:null,value:i}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.inputType,r=e.element;return n===x[0]?this.renderTextAreaWithClearIcon(t,r):this.renderInputWithLabel(t,this.renderLabeledIcon(t,r))}}]),n}(A["Component"]),k=S,E=n("H84U"),O=n("3Nzz"),B=n("uaoM");function M(e){return"undefined"===typeof e||null===e?"":e}function T(e,t,n){if(n){var r=t;if("click"===t.type){r=Object.create(t),r.target=e,r.currentTarget=e;var i=e.value;return e.value="",n(r),void(e.value=i)}n(r)}}function I(e,t,n,r,i){var o;return m()(e,(o={},p()(o,"".concat(e,"-sm"),"small"===n),p()(o,"".concat(e,"-lg"),"large"===n),p()(o,"".concat(e,"-disabled"),r),p()(o,"".concat(e,"-rtl"),"rtl"===i),p()(o,"".concat(e,"-borderless"),!t),o))}var L=function(e){u()(n,e);var t=h()(n);function n(e){var r;a()(this,n),r=t.call(this,e),r.direction="ltr",r.focus=function(){r.input.focus()},r.saveClearableInput=function(e){r.clearableInput=e},r.saveInput=function(e){r.input=e},r.onFocus=function(e){var t=r.props.onFocus;r.setState({focused:!0},r.clearPasswordValueAttribute),t&&t(e)},r.onBlur=function(e){var t=r.props.onBlur;r.setState({focused:!1},r.clearPasswordValueAttribute),t&&t(e)},r.handleReset=function(e){r.setValue("",(function(){r.focus()})),T(r.input,e,r.props.onChange)},r.renderInput=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.props,s=a.className,l=a.addonBefore,c=a.addonAfter,u=a.size,d=a.disabled,h=Object(v["default"])(r.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return A["createElement"]("input",i()({autoComplete:o.autoComplete},h,{onChange:r.handleChange,onFocus:r.onFocus,onBlur:r.onBlur,onKeyDown:r.handleKeyDown,className:m()(I(e,n,u||t,d,r.direction),p()({},s,s&&!l&&!c)),ref:r.saveInput}))},r.clearPasswordValueAttribute=function(){r.removePasswordTimeout=setTimeout((function(){r.input&&"password"===r.input.getAttribute("type")&&r.input.hasAttribute("value")&&r.input.removeAttribute("value")}))},r.handleChange=function(e){r.setValue(e.target.value,r.clearPasswordValueAttribute),T(r.input,e,r.props.onChange)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,i=t.onKeyDown;13===e.keyCode&&n&&n(e),i&&i(e)},r.renderComponent=function(e){var t=e.getPrefixCls,n=e.direction,o=e.input,a=r.state,s=a.value,l=a.focused,c=r.props,u=c.prefixCls,d=c.bordered,h=void 0===d||d,f=t("input",u);return r.direction=n,A["createElement"](O["b"].Consumer,null,(function(e){return A["createElement"](k,i()({size:e},r.props,{prefixCls:f,inputType:"input",value:M(s),element:r.renderInput(f,e,h,o),handleReset:r.handleReset,ref:r.saveClearableInput,direction:n,focused:l,triggerFocus:r.focus,bordered:h}))}))};var o="undefined"===typeof e.value?e.defaultValue:e.value;return r.state={value:o,focused:!1,prevValue:e.value},r}return l()(n,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(e){return C(e)!==C(this.props)&&Object(B["a"])(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(e,t){void 0===this.props.value&&this.setState({value:e},t)}},{key:"render",value:function(){return A["createElement"](E["a"],null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevValue,r={prevValue:e.value};return void 0===e.value&&n===e.value||(r.value=e.value),r}}]),n}(A["Component"]);L.defaultProps={type:"text"};var D=L,P=function(e){return A["createElement"](E["a"],null,(function(t){var n,r=t.getPrefixCls,i=t.direction,o=e.prefixCls,a=e.className,s=void 0===a?"":a,l=r("input-group",o),c=m()(l,(n={},p()(n,"".concat(l,"-lg"),"large"===e.size),p()(n,"".concat(l,"-sm"),"small"===e.size),p()(n,"".concat(l,"-compact"),e.compact),p()(n,"".concat(l,"-rtl"),"rtl"===i),n),s);return A["createElement"]("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}))},N=P,j=n("c+Xe"),F=n("w6Tc"),R=n.n(F),U=n("gZBC"),H=n.n(U),Q=n("2/Rp"),K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},z=A["forwardRef"]((function(e,t){var n=A["useRef"](null),r=function(t){var n=e.onChange,r=e.onSearch;t&&t.target&&"click"===t.type&&r&&r(t.target.value,t),n&&n(t)},o=function(e){var t;document.activeElement===(null===(t=n.current)||void 0===t?void 0:t.input)&&e.preventDefault()},a=function(t){var r,i=e.onSearch,o=e.loading,a=e.disabled;o||a||i&&i(null===(r=n.current)||void 0===r?void 0:r.input.value,t)},s=function(t){var n=e.enterButton,r=e.size;return n?A["createElement"](O["b"].Consumer,{key:"enterButton"},(function(e){return A["createElement"](Q["a"],{className:"".concat(t,"-button"),type:"primary",size:r||e},A["createElement"](H.a,null))})):A["createElement"](H.a,{className:"".concat(t,"-icon"),key:"loadingIcon"})},l=function(t){var n=e.suffix,r=e.enterButton,i=e.loading;if(i&&!r)return[n,s(t)];if(r)return n;var o=A["createElement"](R.a,{className:"".concat(t,"-icon"),key:"searchIcon",onClick:a});return n?[Object(w["c"])(n,null,{key:"suffix"}),o]:o},c=function(t,n){var r,l=e.enterButton,c=e.disabled,u=e.addonAfter,d=e.loading,h="".concat(t,"-button");if(d&&l)return[s(t),u];if(!l)return u;var f=l,p=f.type&&!0===f.type.__ANT_BUTTON;return r=p||"button"===f.type?Object(w["a"])(f,i()({onMouseDown:o,onClick:a,key:"enterButton"},p?{className:h,size:n}:{})):A["createElement"](Q["a"],{className:h,type:"primary",size:n,disabled:c,key:"enterButton",onMouseDown:o,onClick:a},!0===l?A["createElement"](R.a,null):l),u?[r,Object(w["c"])(u,null,{key:"addonAfter"})]:r},u=function(o){var s=o.getPrefixCls,u=o.direction,d=e.prefixCls,h=e.inputPrefixCls,f=e.enterButton,g=e.className,v=e.size,y=K(e,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete y.onSearch,delete y.loading;var b=s("input-search",d),_=s("input",h),w=function(e){var t,n;f?t=m()(b,g,(n={},p()(n,"".concat(b,"-rtl"),"rtl"===u),p()(n,"".concat(b,"-enter-button"),!!f),p()(n,"".concat(b,"-").concat(e),!!e),n)):t=m()(b,g,p()({},"".concat(b,"-rtl"),"rtl"===u));return t};return A["createElement"](O["b"].Consumer,null,(function(e){return A["createElement"](D,i()({ref:Object(j["a"])(n,t),onPressEnter:a},y,{size:v||e,prefixCls:_,addonAfter:c(b,v||e),suffix:l(b),onChange:r,className:w(v||e)}))}))};return A["createElement"](E["a"],null,u)}));z.defaultProps={enterButton:!1},z.displayName="Search";var V=z,W=n("Y1PL"),G=function(e){u()(n,e);var t=h()(n);function n(e){var r;a()(this,n),r=t.call(this,e),r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=null===e||void 0===e?void 0:e.resizableTextArea},r.saveClearableInput=function(e){r.clearableInput=e},r.handleChange=function(e){r.setValue(e.target.value),T(r.resizableTextArea.textArea,e,r.props.onChange)},r.handleReset=function(e){r.setValue("",(function(){r.focus()})),T(r.resizableTextArea.textArea,e,r.props.onChange)},r.renderTextArea=function(e,t){return A["createElement"](W["default"],i()({},Object(v["default"])(r.props,["allowClear","bordered"]),{className:m()(r.props.className,p()({},"".concat(e,"-borderless"),!t)),prefixCls:e,onChange:r.handleChange,ref:r.saveTextArea}))},r.renderComponent=function(e){var t=e.getPrefixCls,n=e.direction,o=r.state.value,a=r.props,s=a.prefixCls,l=a.bordered,c=void 0===l||l,u=t("input",s);return A["createElement"](k,i()({},r.props,{prefixCls:u,direction:n,inputType:"text",value:M(o),element:r.renderTextArea(u,c),handleReset:r.handleReset,ref:r.saveClearableInput,triggerFocus:r.focus,bordered:c}))};var o="undefined"===typeof e.value?e.defaultValue:e.value;return r.state={value:o},r}return l()(n,[{key:"setValue",value:function(e,t){void 0===this.props.value&&this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return A["createElement"](E["a"],null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e){return void 0!==e.value?{value:e.value}:null}}]),n}(A["Component"]),X=G,q=n("J4zp"),Y=n.n(q),Z=n("qPY4"),J=n.n(Z),$=n("fUL4"),ee=n.n($),te=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},ne={click:"onClick",hover:"onMouseOver"},re=A["forwardRef"]((function(e,t){var n=Object(A["useState"])(!1),r=Y()(n,2),o=r[0],a=r[1],s=function(){var t=e.disabled;t||a(!o)},l=function(t){var n,r=e.action,i=e.iconRender,a=void 0===i?function(){return null}:i,l=ne[r]||"",c=a(o),u=(n={},p()(n,l,s),p()(n,"className","".concat(t,"-icon")),p()(n,"key","passwordIcon"),p()(n,"onMouseDown",(function(e){e.preventDefault()})),p()(n,"onMouseUp",(function(e){e.preventDefault()})),n);return A["cloneElement"](A["isValidElement"](c)?c:A["createElement"]("span",null,c),u)},c=function(n){var r=n.getPrefixCls,a=e.className,s=e.prefixCls,c=e.inputPrefixCls,u=e.size,d=e.visibilityToggle,h=te(e,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),f=r("input",c),g=r("input-password",s),y=d&&l(g),b=m()(g,a,p()({},"".concat(g,"-").concat(u),!!u)),_=i()(i()({},Object(v["default"])(h,["suffix","iconRender"])),{type:o?"text":"password",className:b,prefixCls:f,suffix:y});return u&&(_.size=u),A["createElement"](D,i()({ref:t},_))};return A["createElement"](E["a"],null,c)}));re.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(e){return e?A["createElement"](J.a,null):A["createElement"](ee.a,null)}},re.displayName="Password";var ie=re;D.Group=N,D.Search=V,D.TextArea=X,D.Password=ie;t["a"]=D},"5s0K":function(e,t,n){var r=n("bYtY");function i(){var e,t=[],n={};return{add:function(e,i,o,a,s){return r.isString(a)&&(s=a,a=0),!n[e.id]&&(n[e.id]=1,t.push({el:e,target:i,time:o,delay:a,easing:s}),!0)},done:function(t){return e=t,this},start:function(){for(var r=t.length,i=0,o=t.length;i<o;i++){var a=t[i];a.el.animateTo(a.target,a.time,a.delay,a.easing,s)}return this;function s(){r--,r||(t.length=0,n={},e&&e())}}}}t.createWrap=i},"5yev":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},"6/nd":function(e,t,n){var r=n("ProS");r.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))},"62sa":function(e,t,n){var r=n("bYtY"),i=n("4NO4"),o=i.makeInner,a=n("zTMp"),s=n("Ez2D"),l=r.each,c=r.curry,u=o();function d(e,t,n){var i=e.currTrigger,o=[e.x,e.y],a=e,u=e.dispatchAction||r.bind(n.dispatchAction,n),d=t.getComponent("axisPointer").coordSysAxesInfo;if(d){_(o)&&(o=s({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var f=_(o),w=a.axesInfo,x=d.axesInfo,C="leave"===i||_(o),S={},k={},E={list:[],map:{}},O={showPointer:c(p,k),showTooltip:c(A,E)};l(d.coordSysMap,(function(e,t){var n=f||e.containPoint(o);l(d.coordSysAxesInfo[t],(function(e,t){var r=e.axis,i=y(w,e);if(!C&&n&&(!w||i)){var a=i&&i.value;null!=a||f||(a=r.pointToData(o)),null!=a&&h(e,a,O,!1,S)}}))}));var B={};return l(x,(function(e,t){var n=e.linkGroup;n&&!k[t]&&l(n.axesInfo,(function(t,r){var i=k[r];if(t!==e&&i){var o=i.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,b(t),b(e)))),B[e.key]=o}}))})),l(B,(function(e,t){h(x[t],e,O,!0,S)})),g(k,x,S),m(E,o,e,u),v(x,u,n),S}}function h(e,t,n,i,o){var a=e.axis;if(!a.scale.isBlank()&&a.containData(t))if(e.involveSeries){var s=f(t,e),l=s.payloadBatch,c=s.snapToValue;l[0]&&null==o.seriesIndex&&r.extend(o,l[0]),!i&&e.snap&&a.containData(c)&&null!=c&&(t=c),n.showPointer(e,t,l,o),n.showTooltip(e,s,c)}else n.showPointer(e,t)}function f(e,t){var n=t.axis,r=n.dim,i=e,o=[],a=Number.MAX_VALUE,s=-1;return l(t.seriesModels,(function(t,c){var u,d,h=t.getData().mapDimension(r,!0);if(t.getAxisTooltipData){var f=t.getAxisTooltipData(h,e,n);d=f.dataIndices,u=f.nestestValue}else{if(d=t.getData().indicesOfNearest(h[0],e,"category"===n.type?.5:null),!d.length)return;u=t.getData().get(h[0],d[0])}if(null!=u&&isFinite(u)){var p=e-u,A=Math.abs(p);A<=a&&((A<a||p>=0&&s<0)&&(a=A,s=p,i=u,o.length=0),l(d,(function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:o,snapToValue:i}}function p(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function A(e,t,n,r){var i=n.payloadBatch,o=t.axis,s=o.model,l=t.axisPointerModel;if(t.triggerTooltip&&i.length){var c=t.coordSys.model,u=a.makeKey(c),d=e.map[u];d||(d=e.map[u]={coordSysId:c.id,coordSysIndex:c.componentIndex,coordSysType:c.type,coordSysMainType:c.mainType,dataByAxis:[]},e.list.push(d)),d.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:r,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:i.slice()})}}function g(e,t,n){var r=n.axesInfo=[];l(t,(function(t,n){var i=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})}))}function m(e,t,n,r){if(!_(t)&&e.list.length){var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}else r({type:"hideTip"})}function v(e,t,n){var i=n.getZr(),o="axisPointerLastHighlights",a=u(i)[o]||{},s=u(i)[o]={};l(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&l(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;s[t]=e}))}));var c=[],d=[];r.each(a,(function(e,t){!s[t]&&d.push(e)})),r.each(s,(function(e,t){!a[t]&&c.push(e)})),d.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:d}),c.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:c})}function y(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function b(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function _(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}e.exports=d},"63Hc":function(e,t){e.exports={indexOf:function(e,t){var n,r;if(Array.prototype.indexOf)return e.indexOf(t);for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},forEach:function(e,t,n){var r,i;if(Array.prototype.forEach)return e.forEach(t,n);for(r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,n=t.exec(e);return n?n.index:-1}}},"6BzB":function(e,t,n){"use strict";function r(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)}function i(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]}function o(e){var t,n,r,i,o,a;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],a.set(o,i),i+=o.length;return a}Object.defineProperty(t,"__esModule",{value:!0}),t.shrinkBuf=r,t.arraySet=i,t.flattenChunks=o,t.Buf32=t.Buf16=t.Buf8=void 0;var a=Uint8Array;t.Buf8=a;var s=Uint16Array;t.Buf16=s;var l=Int32Array;t.Buf32=l},"6D9b":function(e,t,n){},"6GrX":function(e,t,n){var r=n("mFDi"),i=n("Xnb7"),o=n("bYtY"),a=o.getContext,s=o.extend,l=o.retrieve2,c=o.retrieve3,u=o.trim,d={},h=0,f=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,A="12px sans-serif",g={};function m(e,t){g[e]=t}function v(e,t){t=t||A;var n=e+":"+t;if(d[n])return d[n];for(var r=(e+"").split("\n"),i=0,o=0,a=r.length;o<a;o++)i=Math.max(T(r[o],t).width,i);return h>f&&(h=0,d={}),h++,d[n]=i,i}function y(e,t,n,r,i,o,a,s){return a?_(e,t,n,r,i,o,a,s):b(e,t,n,r,i,o,s)}function b(e,t,n,i,o,a,s){var l=I(e,t,o,a,s),c=v(e,t);o&&(c+=o[1]+o[3]);var u=l.outerHeight,d=w(0,c,n),h=x(0,u,i),f=new r(d,h,c,u);return f.lineHeight=l.lineHeight,f}function _(e,t,n,i,o,a,s,l){var c=L(e,{rich:s,truncate:l,font:t,textAlign:n,textPadding:o,textLineHeight:a}),u=c.outerWidth,d=c.outerHeight,h=w(0,u,n),f=x(0,d,i);return new r(h,f,u,d)}function w(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function x(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function C(e,t,n){var r=t.textPosition,i=t.textDistance,o=n.x,a=n.y;i=i||0;var s=n.height,l=n.width,c=s/2,u="left",d="top";switch(r){case"left":o-=i,a+=c,u="right",d="middle";break;case"right":o+=i+l,a+=c,d="middle";break;case"top":o+=l/2,a-=i,u="center",d="bottom";break;case"bottom":o+=l/2,a+=s+i,u="center";break;case"inside":o+=l/2,a+=c,u="center",d="middle";break;case"insideLeft":o+=i,a+=c,d="middle";break;case"insideRight":o+=l-i,a+=c,u="right",d="middle";break;case"insideTop":o+=l/2,a+=i,u="center";break;case"insideBottom":o+=l/2,a+=s-i,u="center",d="bottom";break;case"insideTopLeft":o+=i,a+=i;break;case"insideTopRight":o+=l-i,a+=i,u="right";break;case"insideBottomLeft":o+=i,a+=s-i,d="bottom";break;case"insideBottomRight":o+=l-i,a+=s-i,u="right",d="bottom";break}return e=e||{},e.x=o,e.y=a,e.textAlign=u,e.textVerticalAlign=d,e}function S(e,t,n){var r={textPosition:e,textDistance:n};return C({},r,t)}function k(e,t,n,r,i){if(!t)return"";var o=(e+"").split("\n");i=E(t,n,r,i);for(var a=0,s=o.length;a<s;a++)o[a]=O(o[a],i);return o.join("\n")}function E(e,t,n,r){r=s({},r),r.font=t;n=l(n,"...");r.maxIterations=l(r.maxIterations,2);var i=r.minChar=l(r.minChar,0);r.cnCharWidth=v("\u56fd",t);var o=r.ascCharWidth=v("a",t);r.placeholder=l(r.placeholder,"");for(var a=e=Math.max(0,e-1),c=0;c<i&&a>=o;c++)a-=o;var u=v(n,t);return u>a&&(n="",u=0),a=e-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=a,r.containerWidth=e,r}function O(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var o=v(e,r);if(o<=n)return e;for(var a=0;;a++){if(o<=i||a>=t.maxIterations){e+=t.ellipsis;break}var s=0===a?B(e,i,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*i/o):0;e=e.substr(0,s),o=v(e,r)}return""===e&&(e=t.placeholder),e}function B(e,t,n,r){for(var i=0,o=0,a=e.length;o<a&&i<t;o++){var s=e.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}function M(e){return v("\u56fd",e)}function T(e,t){return g.measureText(e,t)}function I(e,t,n,r,i){null!=e&&(e+="");var o=l(r,M(t)),a=e?e.split("\n"):[],s=a.length*o,c=s,u=!0;if(n&&(c+=n[0]+n[2]),e&&i){u=!1;var d=i.outerHeight,h=i.outerWidth;if(null!=d&&c>d)e="",a=[];else if(null!=h)for(var f=E(h-(n?n[1]+n[3]:0),t,i.ellipsis,{minChar:i.minChar,placeholder:i.placeholder}),p=0,A=a.length;p<A;p++)a[p]=O(a[p],f)}return{lines:a,height:s,outerHeight:c,lineHeight:o,canCacheByTextString:u}}function L(e,t){var n={lines:[],width:0,height:0};if(null!=e&&(e+=""),!e)return n;var r,o=p.lastIndex=0;while(null!=(r=p.exec(e))){var a=r.index;a>o&&D(n,e.substring(o,a)),D(n,r[2],r[1]),o=p.lastIndex}o<e.length&&D(n,e.substring(o,e.length));var s=n.lines,u=0,d=0,h=[],f=t.textPadding,A=t.truncate,g=A&&A.outerWidth,m=A&&A.outerHeight;f&&(null!=g&&(g-=f[1]+f[3]),null!=m&&(m-=f[0]+f[2]));for(var y=0;y<s.length;y++){for(var b=s[y],_=0,w=0,x=0;x<b.tokens.length;x++){var C=b.tokens[x],S=C.styleName&&t.rich[C.styleName]||{},E=C.textPadding=S.textPadding,O=C.font=S.font||t.font,B=C.textHeight=l(S.textHeight,M(O));if(E&&(B+=E[0]+E[2]),C.height=B,C.lineHeight=c(S.textLineHeight,t.textLineHeight,B),C.textAlign=S&&S.textAlign||t.textAlign,C.textVerticalAlign=S&&S.textVerticalAlign||"middle",null!=m&&u+C.lineHeight>m)return{lines:[],width:0,height:0};C.textWidth=v(C.text,O);var T=S.textWidth,I=null==T||"auto"===T;if("string"===typeof T&&"%"===T.charAt(T.length-1))C.percentWidth=T,h.push(C),T=0;else{if(I){T=C.textWidth;var L=S.textBackgroundColor,P=L&&L.image;P&&(P=i.findExistImage(P),i.isImageReady(P)&&(T=Math.max(T,P.width*B/P.height)))}var N=E?E[1]+E[3]:0;T+=N;var j=null!=g?g-w:null;null!=j&&j<T&&(!I||j<N?(C.text="",C.textWidth=T=0):(C.text=k(C.text,j-N,O,A.ellipsis,{minChar:A.minChar}),C.textWidth=v(C.text,O),T=C.textWidth+N))}w+=C.width=T,S&&(_=Math.max(_,C.lineHeight))}b.width=w,b.lineHeight=_,u+=_,d=Math.max(d,w)}n.outerWidth=n.width=l(t.textWidth,d),n.outerHeight=n.height=l(t.textHeight,u),f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]);for(y=0;y<h.length;y++){C=h[y];var F=C.percentWidth;C.width=parseInt(F,10)/100*d}return n}function D(e,t,n){for(var r=""===t,i=t.split("\n"),o=e.lines,a=0;a<i.length;a++){var s=i[a],l={styleName:n,text:s,isLineHolder:!s&&!r};if(a)o.push({tokens:[l]});else{var c=(o[o.length-1]||(o[0]={tokens:[]})).tokens,u=c.length;1===u&&c[0].isLineHolder?c[0]=l:(s||!u||r)&&c.push(l)}}}function P(e){var t=(e.fontSize||e.fontFamily)&&[e.fontStyle,e.fontWeight,(e.fontSize||12)+"px",e.fontFamily||"sans-serif"].join(" ");return t&&u(t)||e.textFont||e.font}g.measureText=function(e,t){var n=a();return n.font=t||A,n.measureText(e)},t.DEFAULT_FONT=A,t.$override=m,t.getWidth=v,t.getBoundingRect=y,t.adjustTextX=w,t.adjustTextY=x,t.calculateTextPosition=C,t.adjustTextPositionOnRect=S,t.truncateText=k,t.getLineHeight=M,t.measureText=T,t.parsePlainText=I,t.parseRichText=L,t.makeFont=P},"6Hfg":function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("FhB9")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="SwapRightOutlined";var h=a.forwardRef(d);t.default=h},"6Ic6":function(e,t,n){var r=n("bYtY"),i=r.each,o=n("4fz+"),a=n("iRjW"),s=n("Yl7c"),l=n("4NO4"),c=n("IwbS"),u=n("9H2F"),d=u.createTask,h=n("zM3Q"),f=l.makeInner(),p=h();function A(){this.group=new o,this.uid=a.getUID("viewChart"),this.renderTask=d({plan:y,reset:b}),this.renderTask.context={view:this}}A.prototype={type:"chart",init:function(e,t){},render:function(e,t,n,r){},highlight:function(e,t,n,r){v(e.getData(),r,"emphasis")},downplay:function(e,t,n,r){v(e.getData(),r,"normal")},remove:function(e,t){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var g=A.prototype;function m(e,t,n){if(e&&(e.trigger(t,n),e.isGroup&&!c.isHighDownDispatcher(e)))for(var r=0,i=e.childCount();r<i;r++)m(e.childAt(r),t,n)}function v(e,t,n){var r=l.queryDataIndex(e,t),o=t&&null!=t.highlightKey?c.getHighlightDigit(t.highlightKey):null;null!=r?i(l.normalizeToArray(r),(function(t){m(e.getItemGraphicEl(t),n,o)})):e.eachItemGraphicEl((function(e){m(e,n,o)}))}function y(e){return p(e.model)}function b(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&f(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,n,r,i),_[l]}g.updateView=g.updateLayout=g.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},s.enableClassExtend(A,["dispose"]),s.enableClassManagement(A,{registerWhenExtend:!0}),A.markUpdateMethod=function(e,t){f(e).updateMethod=t};var _={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},w=A;e.exports=w},"6MrE":function(e,t,n){},"6Qwc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r={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"};t["default"]=r},"6SEX":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("qWUW"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"6UJt":function(e,t,n){"use strict";n("cIOH"),n("v56E"),n("R9oj"),n("5NDa")},"6VBw":function(e,t,n){"use strict";var r=n("VTBJ"),i=n("ODXe"),o=n("rePB"),a=n("Ff2n"),s=n("q1tI"),l=n("TSYQ"),c=n.n(l),u=n("Pw59"),d=n("Qi1f"),h=["icon","className","onClick","style","primaryColor","secondaryColor"],f={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function p(e){var t=e.primaryColor,n=e.secondaryColor;f.primaryColor=t,f.secondaryColor=n||Object(d["b"])(t),f.calculated=!!n}function A(){return Object(r["a"])({},f)}var g=function(e){var t=e.icon,n=e.className,i=e.onClick,o=e.style,s=e.primaryColor,l=e.secondaryColor,c=Object(a["a"])(e,h),u=f;if(s&&(u={primaryColor:s,secondaryColor:l||Object(d["b"])(s)}),Object(d["f"])(),Object(d["g"])(Object(d["c"])(t),"icon should be icon definiton, but got ".concat(t)),!Object(d["c"])(t))return null;var p=t;return p&&"function"===typeof p.icon&&(p=Object(r["a"])(Object(r["a"])({},p),{},{icon:p.icon(u.primaryColor,u.secondaryColor)})),Object(d["a"])(p.icon,"svg-".concat(p.name),Object(r["a"])({className:n,onClick:i,style:o,"data-icon":p.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c))};g.displayName="IconReact",g.getTwoToneColors=A,g.setTwoToneColors=p;var m=g;function v(e){var t=Object(d["d"])(e),n=Object(i["a"])(t,2),r=n[0],o=n[1];return m.setTwoToneColors({primaryColor:r,secondaryColor:o})}function y(){var e=m.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var b=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];v("#1890ff");var _=s["forwardRef"]((function(e,t){var n,l=e.className,h=e.icon,f=e.spin,p=e.rotate,A=e.tabIndex,g=e.onClick,v=e.twoToneColor,y=Object(a["a"])(e,b),_=s["useContext"](u["a"]),w=_.prefixCls,x=void 0===w?"anticon":w,C=_.rootClassName,S=c()(C,x,(n={},Object(o["a"])(n,"".concat(x,"-").concat(h.name),!!h.name),Object(o["a"])(n,"".concat(x,"-spin"),!!f||"loading"===h.name),n),l),k=A;void 0===k&&g&&(k=-1);var E=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,O=Object(d["d"])(v),B=Object(i["a"])(O,2),M=B[0],T=B[1];return s["createElement"]("span",Object(r["a"])(Object(r["a"])({role:"img","aria-label":h.name},y),{},{ref:t,tabIndex:k,onClick:g,className:S}),s["createElement"](m,{icon:h,primaryColor:M,secondaryColor:T,style:E}))}));_.displayName="AntdIcon",_.getTwoToneColor=y,_.setTwoToneColor=v;t["a"]=_},"6cGi":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("ODXe"),i=n("q1tI");function o(e){var t=i["useRef"]();t.current=e;var n=i["useCallback"]((function(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return n}var a=n("TNol"),s=n("dm2S");function l(e){return void 0!==e}function c(e,t){var n=t||{},i=n.defaultValue,c=n.value,u=n.onChange,d=n.postState,h=Object(s["a"])((function(){return l(c)?c:l(i)?"function"===typeof i?i():i:"function"===typeof e?e():e})),f=Object(r["a"])(h,2),p=f[0],A=f[1],g=void 0!==c?c:p,m=d?d(g):g,v=o(u),y=Object(s["a"])([g]),b=Object(r["a"])(y,2),_=b[0],w=b[1];Object(a["b"])((function(){var e=_[0];p!==e&&v(p,e)}),[_]),Object(a["b"])((function(){l(c)||A(c)}),[c]);var x=o((function(e,t){A(e,t),w([g],t)}));return[m,x]}},"6fms":function(e,t,n){var r=n("SUKs"),i=n("06Qe"),o=n("bYtY"),a=o.each;function s(e){return parseInt(e,10)}function l(e,t){i.initVML(),this.root=e,this.storage=t;var n=document.createElement("div"),r=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",r.style.cssText="position:absolute;left:0;top:0;",e.appendChild(n),this._vmlRoot=r,this._vmlViewport=n,this.resize();var o=t.delFromStorage,a=t.addToStorage;t.delFromStorage=function(e){o.call(t,e),e&&e.onRemove&&e.onRemove(r)},t.addToStorage=function(e){e.onAdd&&e.onAdd(r),a.call(t,e)},this._firstPaint=!0}function c(e){return function(){r('In IE8.0 VML mode painter not support method "'+e+'"')}}l.prototype={constructor:l,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 t=this._vmlRoot,n=0;n<e.length;n++){var r=e[n];r.invisible||r.ignore?(r.__alreadyNotVisible||r.onRemove(t),r.__alreadyNotVisible=!0):(r.__alreadyNotVisible&&r.onAdd(t),r.__alreadyNotVisible=!1,r.__dirty&&(r.beforeBrush&&r.beforeBrush(),(r.brushVML||r.brush).call(r,t),r.afterBrush&&r.afterBrush())),r.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(t),this._firstPaint=!1)},resize:function(e,t){e=null==e?this._getWidth():e,t=null==t?this._getHeight():t;if(this._width!==e||this._height!==t){this._width=e,this._height=t;var n=this._vmlViewport.style;n.width=e+"px",n.height=t+"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,t=e.currentStyle;return(e.clientWidth||s(t.width))-s(t.paddingLeft)-s(t.paddingRight)|0},_getHeight:function(){var e=this.root,t=e.currentStyle;return(e.clientHeight||s(t.height))-s(t.paddingTop)-s(t.paddingBottom)|0}},a(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],(function(e){l.prototype[e]=c(e)}));var u=l;e.exports=u},"6r85":function(e,t,n){var r=n("bYtY");function i(e){e&&r.isArray(e.series)&&r.each(e.series,(function(e){r.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}e.exports=i},"6sVZ":function(e,t){var n=Object.prototype;function r(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||n;return e===r}e.exports=r},"6uqw":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("ItGF"),a=n("YOMW"),s=n("XxSj"),l=n("K4ya"),c=n("4NO4"),u=n("OELB"),d=s.mapVisual,h=s.eachVisual,f=i.isArray,p=i.each,A=u.asc,g=u.linearMap,m=i.noop,v=r.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],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(e,t,n){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(e,n)},optionUpdated:function(e,t){var n=this.option;o.canvasSupported||(n.realtime=!1),!t&&l.replaceVisualOption(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(e){var t=this.stateList;e=i.bind(e,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,t,e),this.targetVisuals=l.createVisualMappings(this.option.target,t,e)},getTargetSeriesIndices:function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,n){t.push(n)})):t=c.normalizeToArray(e),t},eachTargetSeries:function(e,t){i.each(this.getTargetSeriesIndices(),(function(n){e.call(t,this.ecModel.getSeriesByIndex(n))}),this)},isTargetSeries:function(e){var t=!1;return this.eachTargetSeries((function(n){n===e&&(t=!0)})),t},formatValueText:function(e,t,n){var r,o,a=this.option,s=a.precision,l=this.dataBound,c=a.formatter;return n=n||["<",">"],i.isArray(e)&&(e=e.slice(),r=!0),o=t?e:r?[u(e[0]),u(e[1])]:u(e),i.isString(c)?c.replace("{value}",r?o[0]:o).replace("{value2}",r?o[1]:o):i.isFunction(c)?r?c(e[0],e[1]):c(e):r?e[0]===l[0]?n[0]+" "+o[1]:e[1]===l[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o;function u(e){return e===l[0]?"min":e===l[1]?"max":(+e).toFixed(Math.min(s,20))}},resetExtent:function(){var e=this.option,t=A([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,n=e.dimensions;if(null!=t||n.length){if(null!=t)return e.getDimension(t);for(var r=e.dimensions,i=r.length-1;i>=0;i--){var o=r[i],a=e.getDimensionInfo(o);if(!a.isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},r=t.target||(t.target={}),o=t.controller||(t.controller={});i.merge(r,n),i.merge(o,n);var l=this.isCategory();function c(n){f(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")},p(this.stateList,(function(e){var t=n[e];if(i.isString(t)){var r=a.get(t,"active",l);r?(n[e]={},n[e][t]=r):delete n[e]}}),this)}function u(e,t,n){var r=e[t],i=e[n];r&&!i&&(i=e[n]={},p(r,(function(e,t){if(s.isValidType(t)){var n=a.get(t,"inactive",l);null!=n&&(i[t]=n,"color"!==t||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}function A(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get("inactiveColor");p(this.stateList,(function(o){var a=this.itemSize,s=e[o];s||(s=e[o]={color:l?r:[r]}),null==s.symbol&&(s.symbol=t&&i.clone(t)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&i.clone(n)||(l?a[0]:[a[0],a[0]])),s.symbol=d(s.symbol,(function(e){return"none"===e||"square"===e?"roundRect":e}));var c=s.symbolSize;if(null!=c){var u=-1/0;h(c,(function(e){e>u&&(u=e)})),s.symbolSize=d(c,(function(e){return g(e,[0,u],[0,a[0]],!0)}))}}),this)}c.call(this,r),c.call(this,o),u.call(this,r,"inRange","outOfRange"),A.call(this,o)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:m,getValueState:m,getVisualMeta:m}),y=v;e.exports=y},"6usn":function(e,t,n){var r=n("bYtY");function i(e,t){return r.map(["Radius","Angle"],(function(n,r){var i=this["get"+n+"Axis"](),o=t[r],a=e[r]/2,s="dataTo"+n,l="category"===i.type?i.getBandWidth():Math.abs(i[s](o-a)-i[s](o+a));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function o(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),o=t.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:o[1],r0:o[0]},api:{coord:r.bind((function(r){var i=t.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=e.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a})),size:r.bind(i,e)}}}e.exports=o},"6xvX":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("V7ic"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"711d":function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},"72pK":function(e,t){function n(e,t,n,o,a,s){e=e||0;var l=n[1]-n[0];if(null!=a&&(a=i(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===o){var c=Math.abs(t[1]-t[0]);c=i(c,[0,l]),a=s=i(c,[a,s]),o=0}t[0]=i(t[0],n),t[1]=i(t[1],n);var u=r(t,o);t[o]+=e;var d=a||0,h=n.slice();u.sign<0?h[0]+=d:h[1]-=d,t[o]=i(t[o],h);var f=r(t,o);null!=a&&(f.sign!==u.sign||f.span<a)&&(t[1-o]=t[o]+u.sign*a);f=r(t,o);return null!=s&&f.span>s&&(t[1-o]=t[o]+f.sign*s),t}function r(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function i(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}e.exports=n},"75ce":function(e,t,n){var r=n("ProS");n("IXuL"),n("8X+K");var i=n("f5Yq"),o=n("h8O9"),a=n("/d5a");n("Ae16"),r.registerVisual(i("line","circle","line")),r.registerLayout(o("line")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,a("line"))},"75ev":function(e,t,n){var r=n("ProS");n("IWNH"),n("bNin"),n("v5uJ");var i=n("f5Yq"),o=n("yik8");r.registerVisual(i("tree","circle")),r.registerLayout(o)},"77Zs":function(e,t,n){var r=n("Xi7e");function i(){this.__data__=new r,this.size=0}e.exports=i},"7AJT":function(e,t,n){var r=n("bYtY"),i=n("hM6l"),o=function(e,t,n,r,o){i.call(this,e,t,n),this.type=r||"value",this.position=o||"bottom"};o.prototype={constructor:o,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},r.inherits(o,i);var a=o;e.exports=a},"7DRL":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=i.createHashMap,a=i.isString,s=i.isArray,l=i.each,c=(i.assert,n("MEGo")),u=c.parseXML,d=o(),h={registerMap:function(e,t,n){var r;return s(t)?r=t:t.svg?r=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(n=t.specialAreas,t=t.geoJson),r=[{type:"geoJSON",source:t,specialAreas:n}]),l(r,(function(e){var t=e.type;"geoJson"===t&&(t=e.type="geoJSON");var n=f[t];n(e)})),d.set(e,r)},retrieveMap:function(e){return d.get(e)}},f={geoJSON:function(e){var t=e.source;e.geoJSON=a(t)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(e){e.svgXML=u(e.source)}};e.exports=h},"7G+c":function(e,t,n){var r=n("bYtY"),i=r.createHashMap,o=r.isTypedArray,a=n("Yl7c"),s=a.enableClassCheck,l=n("k9D9"),c=l.SOURCE_FORMAT_ORIGINAL,u=l.SERIES_LAYOUT_BY_COLUMN,d=l.SOURCE_FORMAT_UNKNOWN,h=l.SOURCE_FORMAT_TYPED_ARRAY,f=l.SOURCE_FORMAT_KEYED_COLUMNS;function p(e){this.fromDataset=e.fromDataset,this.data=e.data||(e.sourceFormat===f?{}:[]),this.sourceFormat=e.sourceFormat||d,this.seriesLayoutBy=e.seriesLayoutBy||u,this.dimensionsDefine=e.dimensionsDefine,this.encodeDefine=e.encodeDefine&&i(e.encodeDefine),this.startIndex=e.startIndex||0,this.dimensionsDetectCount=e.dimensionsDetectCount}p.seriesDataToSource=function(e){return new p({data:e,sourceFormat:o(e)?h:c,fromDataset:!1})},s(p);var A=p;e.exports=A},"7GkX":function(e,t,n){var r=n("b80T"),i=n("A90E"),o=n("MMmD");function a(e){return o(e)?r(e):i(e)}e.exports=a},"7Kak":function(e,t,n){"use strict";n("cIOH"),n("KPFz")},"7Phj":function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=i.parsePercent,a=r.each;function s(e){var t=l(e);a(t,(function(e){var t=e.seriesModels;t.length&&(c(e),a(t,(function(t,n){u(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}function l(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var i=e.getBaseAxis(),o=r.indexOf(n,i);o<0&&(o=n.length,n[o]=i,t[o]={axis:i,seriesModels:[]}),t[o].seriesModels.push(e)})),t}function c(e){var t,n,i=e.axis,s=e.seriesModels,l=s.length,c=e.boxWidthList=[],u=e.boxOffsetList=[],d=[];if("category"===i.type)n=i.getBandWidth();else{var h=0;a(s,(function(e){h=Math.max(h,e.getData().count())})),t=i.getExtent(),Math.abs(t[1]-t[0])}a(s,(function(e){var t=e.get("boxWidth");r.isArray(t)||(t=[t,t]),d.push([o(t[0],n)||0,o(t[1],n)||0])}));var f=.8*n-2,p=f/l*.3,A=(f-p*(l-1))/l,g=A/2-f/2;a(s,(function(e,t){u.push(g),g+=p+A,c.push(Math.min(Math.max(A,d[t][0]),d[t][1]))}))}function u(e,t,n){var r=e.coordinateSystem,i=e.getData(),o=n/2,a="horizontal"===e.get("layout")?0:1,s=1-a,l=["x","y"],c=i.mapDimension(l[a]),u=i.mapDimension(l[s],!0);if(!(null==c||u.length<5))for(var d=0;d<i.count();d++){var h=i.get(c,d),f=y(h,u[2],d),p=y(h,u[0],d),A=y(h,u[1],d),g=y(h,u[3],d),m=y(h,u[4],d),v=[];b(v,A,0),b(v,g,1),v.push(p,A,m,g),_(v,p),_(v,m),_(v,f),i.setItemLayout(d,{initBaseline:f[s],ends:v})}function y(e,n,o){var l,c=i.get(n,o),u=[];return u[a]=e,u[s]=c,isNaN(e)||isNaN(c)?l=[NaN,NaN]:(l=r.dataToPoint(u),l[a]+=t),l}function b(e,t,n){var r=t.slice(),i=t.slice();r[a]+=o,i[a]-=o,n?e.push(r,i):e.push(i,r)}function _(e,t){var n=t.slice(),r=t.slice();n[a]-=o,r[a]+=o,e.push(n,r)}}e.exports=s},"7SHv":function(e,t,n){var r=n("LPTA"),i=r.devicePixelRatio,o=n("bYtY"),a=n("SUKs"),s=n("mFDi"),l=n("BPZU"),c=n("Xmg4"),u=n("mLcG"),d=n("Dagg"),h=n("ItGF"),f=1e5,p=314159,A=.01,g=.001;function m(e){return parseInt(e,10)}function v(e){return!!e&&(!!e.__builtin__||"function"===typeof e.resize&&"function"===typeof e.refresh)}var y=new s(0,0,0,0),b=new s(0,0,0,0);function _(e,t,n){return y.copy(e.getBoundingRect()),e.transform&&y.applyTransform(e.transform),b.width=t,b.height=n,!y.intersect(b)}function w(e,t){if(e===t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}function x(e,t){for(var n=0;n<e.length;n++){var r=e[n];r.setTransform(t),t.beginPath(),r.buildPath(t,r.shape),t.clip(),r.restoreTransform(t)}}function C(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var S=function(e,t,n){this.type="canvas";var r=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=o.extend({},n||{}),this.dpr=n.devicePixelRatio||i,this._singleCanvas=r,this.root=e;var a=e.style;a&&(a["-webkit-tap-highlight-color"]="transparent",a["-webkit-user-select"]=a["user-select"]=a["-webkit-touch-callout"]="none",e.innerHTML=""),this.storage=t;var s=this._zlevelList=[],l=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,r){var u=e.width,d=e.height;null!=n.width&&(u=n.width),null!=n.height&&(d=n.height),this.dpr=n.devicePixelRatio||1,e.width=u*this.dpr,e.height=d*this.dpr,this._width=u,this._height=d;var h=new c(e,this,this.dpr);h.__builtin__=!0,h.initContext(),l[p]=h,h.zlevel=p,s.push(p),this._domRoot=e}else{this._width=this._getSize(0),this._height=this._getSize(1);var f=this._domRoot=C(this._width,this._height);e.appendChild(f)}this._hoverlayer=null,this._hoverElements=[]};S.prototype={constructor:S,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(e){var t=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,e,this._redrawId);for(var r=0;r<n.length;r++){var i=n[r],o=this._layers[i];if(!o.__builtin__&&o.refresh){var a=0===r?this._backgroundColor:null;o.refresh(a)}}return this.refreshHover(),this},addHover:function(e,t){if(!e.__hoverMir){var n=new e.constructor({style:e.style,shape:e.shape,z:e.z,z2:e.z2,silent:e.silent});return n.__from=e,e.__hoverMir=n,t&&n.setStyle(t),this._hoverElements.push(n),n}},removeHover:function(e){var t=e.__hoverMir,n=this._hoverElements,r=o.indexOf(n,t);r>=0&&n.splice(r,1),e.__hoverMir=null},clearHover:function(e){for(var t=this._hoverElements,n=0;n<t.length;n++){var r=t[n].__from;r&&(r.__hoverMir=null)}t.length=0},refreshHover:function(){var e=this._hoverElements,t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){l(e,this.storage.displayableSortFunc),n||(n=this._hoverlayer=this.getLayer(f));var r={};n.ctx.save();for(var i=0;i<t;){var o=e[i],a=o.__from;a&&a.__zr?(i++,a.invisible||(o.transform=a.transform,o.invTransform=a.invTransform,o.__clipPaths=a.__clipPaths,this._doPaintEl(o,n,!0,r))):(e.splice(i,1),a.__hoverMir=null,t--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(f)},_paintList:function(e,t,n){if(this._redrawId===n){t=t||!1,this._updateLayerStatus(e);var r=this._doPaintList(e,t);if(this._needsManuallyCompositing&&this._compositeManually(),!r){var i=this;u((function(){i._paintList(e,t,n)}))}}},_compositeManually:function(){var e=this.getLayer(p).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(r){r.virtual&&e.drawImage(r.dom,0,0,t,n)}))},_doPaintList:function(e,t){for(var n=[],r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r],a=this._layers[i];a.__builtin__&&a!==this._hoverlayer&&(a.__dirty||t)&&n.push(a)}for(var s=!0,l=0;l<n.length;l++){a=n[l];var c=a.ctx,u={};c.save();var d=t?a.__startIndex:a.__drawIndex,f=!t&&a.incremental&&Date.now,p=f&&Date.now(),A=a.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(a.__startIndex===a.__endIndex)a.clear(!1,A);else if(d===a.__startIndex){var g=e[d];g.incremental&&g.notClear&&!t||a.clear(!1,A)}-1===d&&(console.error("For some unknown reason. drawIndex is -1"),d=a.__startIndex);for(var m=d;m<a.__endIndex;m++){var v=e[m];if(this._doPaintEl(v,a,t,u),v.__dirty=v.__dirtyText=!1,f){var y=Date.now()-p;if(y>15)break}}a.__drawIndex=m,a.__drawIndex<a.__endIndex&&(s=!1),u.prevElClipPaths&&c.restore(),c.restore()}return h.wxa&&o.each(this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),s},_doPaintEl:function(e,t,n,r){var i=t.ctx,o=e.transform;if((t.__dirty||n)&&!e.invisible&&0!==e.style.opacity&&(!o||o[0]||o[3])&&(!e.culling||!_(e,this._width,this._height))){var a=e.__clipPaths,s=r.prevElClipPaths;s&&!w(a,s)||(s&&(i.restore(),r.prevElClipPaths=null,r.prevEl=null),a&&(i.save(),x(a,i),r.prevElClipPaths=a)),e.beforeBrush&&e.beforeBrush(i),e.brush(i,r.prevEl||null),r.prevEl=e,e.afterBrush&&e.afterBrush(i)}},getLayer:function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=p);var n=this._layers[e];return n||(n=new c("zr_"+e,this,this.dpr),n.zlevel=e,n.__builtin__=!0,this._layerConfig[e]?o.merge(n,this._layerConfig[e],!0):this._layerConfig[e-A]&&o.merge(n,this._layerConfig[e-A],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},insertLayer:function(e,t){var n=this._layers,r=this._zlevelList,i=r.length,o=null,s=-1,l=this._domRoot;if(n[e])a("ZLevel "+e+" has been used already");else if(v(t)){if(i>0&&e>r[0]){for(s=0;s<i-1;s++)if(r[s]<e&&r[s+1]>e)break;o=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(o){var c=o.dom;c.nextSibling?l.insertBefore(t.dom,c.nextSibling):l.appendChild(t.dom)}else l.firstChild?l.insertBefore(t.dom,l.firstChild):l.appendChild(t.dom)}else a("Layer of zlevel "+e+" is not valid")},eachLayer:function(e,t){var n,r,i=this._zlevelList;for(r=0;r<i.length;r++)n=i[r],e.call(t,this._layers[n],n)},eachBuiltinLayer:function(e,t){var n,r,i,o=this._zlevelList;for(i=0;i<o.length;i++)r=o[i],n=this._layers[r],n.__builtin__&&e.call(t,n,r)},eachOtherLayer:function(e,t){var n,r,i,o=this._zlevelList;for(i=0;i<o.length;i++)r=o[i],n=this._layers[r],n.__builtin__||e.call(t,n,r)},getLayers:function(){return this._layers},_updateLayerStatus:function(e){function t(e){o&&(o.__endIndex!==e&&(o.__dirty=!0),o.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++){var r=e[n];if(r.zlevel!==e[n-1].zlevel||r.incremental){this._needsManuallyCompositing=!0;break}}var i,o=null,s=0;for(n=0;n<e.length;n++){r=e[n];var l,c=r.zlevel;i!==c&&(i=c,s=0),r.incremental?(l=this.getLayer(c+g,this._needsManuallyCompositing),l.incremental=!0,s=1):l=this.getLayer(c+(s>0?A:0),this._needsManuallyCompositing),l.__builtin__||a("ZLevel "+c+" has been used by unkown layer "+l.id),l!==o&&(l.__used=!0,l.__startIndex!==n&&(l.__dirty=!0),l.__startIndex=n,l.incremental?l.__drawIndex=-1:l.__drawIndex=n,t(n),o=l),r.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=n))}t(n),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(e){e.clear()},setBackgroundColor:function(e){this._backgroundColor=e},configLayer:function(e,t){if(t){var n=this._layerConfig;n[e]?o.merge(n[e],t,!0):n[e]=t;for(var r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r];if(i===e||i===e+A){var a=this._layers[i];o.merge(a,n[e],!0)}}}},delLayer:function(e){var t=this._layers,n=this._zlevelList,r=t[e];r&&(r.dom.parentNode.removeChild(r.dom),delete t[e],n.splice(o.indexOf(n,e),1))},resize:function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!==e||t!==this._height){for(var i in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(i)&&this._layers[i].resize(e,t);o.each(this._progressiveLayers,(function(n){n.resize(e,t)})),this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(p).resize(e,t)}return this},clearLayer:function(e){var t=this._layers[e];t&&t.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[p].dom;var t=new c("image",this,e.pixelRatio||this.dpr);if(t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor),e.pixelRatio<=this.dpr){this.refresh();var n=t.dom.width,r=t.dom.height,i=t.ctx;this.eachLayer((function(e){e.__builtin__?i.drawImage(e.dom,0,0,n,r):e.renderToCanvas&&(t.ctx.save(),e.renderToCanvas(t.ctx),t.ctx.restore())}))}else for(var o={},a=this.storage.getDisplayList(!0),s=0;s<a.length;s++){var l=a[s];this._doPaintEl(l,t,!0,o)}return t.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],r=["clientWidth","clientHeight"][e],i=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[r]||m(s[n])||m(a.style[n]))-(m(s[i])||0)-(m(s[o])||0)|0},pathToImage:function(e,t){t=t||this.dpr;var n=document.createElement("canvas"),r=n.getContext("2d"),i=e.getBoundingRect(),o=e.style,a=o.shadowBlur*t,s=o.shadowOffsetX*t,l=o.shadowOffsetY*t,c=o.hasStroke()?o.lineWidth:0,u=Math.max(c/2,-s+a),h=Math.max(c/2,s+a),f=Math.max(c/2,-l+a),p=Math.max(c/2,l+a),A=i.width+u+h,g=i.height+f+p;n.width=A*t,n.height=g*t,r.scale(t,t),r.clearRect(0,0,A,g),r.dpr=t;var m={position:e.position,rotation:e.rotation,scale:e.scale};e.position=[u-i.x,f-i.y],e.rotation=0,e.scale=[1,1],e.updateTransform(),e&&e.brush(r);var v=d,y=new v({style:{x:0,y:0,image:n}});return null!=m.position&&(y.position=e.position=m.position),null!=m.rotation&&(y.rotation=e.rotation=m.rotation),null!=m.scale&&(y.scale=e.scale=m.scale),y}};var k=S;e.exports=k},"7a+S":function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("YXkt"),a=n("4NO4"),s=i.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(e,t,n){this._data,this._names,this.mergeDefaultAndTheme(e,n),this._initData()},mergeOption:function(e){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],n=e.axisType,i=this._names=[];if("category"===n){var s=[];r.each(t,(function(e,t){var n,o=a.getDataItemValue(e);r.isObject(e)?(n=r.clone(e),n.value=t):n=t,s.push(n),r.isString(o)||null!=o&&!isNaN(o)||(o=""),i.push(o+"")})),t=s}var l={category:"ordinal",time:"time"}[n]||"number",c=this._data=new o([{name:"value",type:l}],this);c.initData(t,i)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;e.exports=l},"7aKB":function(e,t,n){var r=n("bYtY"),i=n("6GrX"),o=n("OELB");function a(e){return isNaN(e)?"-":(e=(e+"").split("."),e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:""))}function s(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var l=r.normalizeCssArray,c=/([&<>"'])/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"};function d(e){return null==e?"":(e+"").replace(c,(function(e,t){return u[t]}))}var h=["a","b","c","d","e","f","g"],f=function(e,t){return"{"+e+(null==t?"":t)+"}"};function p(e,t,n){r.isArray(t)||(t=[t]);var i=t.length;if(!i)return"";for(var o=t[0].$vars||[],a=0;a<o.length;a++){var s=h[a];e=e.replace(f(s),f(s,0))}for(var l=0;l<i;l++)for(var c=0;c<o.length;c++){var u=t[l][o[c]];e=e.replace(f(h[c],l),n?d(u):u)}return e}function A(e,t,n){return r.each(t,(function(t,r){e=e.replace("{"+r+"}",n?d(t):t)})),e}function g(e,t){e=r.isString(e)?{color:e,extraCssText:t}:e||{};var n=e.color,i=e.type,o=(t=e.extraCssText,e.renderMode||"html"),a=e.markerId||"X";return n?"html"===o?"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+d(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+d(n)+";"+(t||"")+'"></span>':{renderMode:o,content:"{marker"+a+"|} ",style:{color:n}}:""}function m(e,t){return e+="","0000".substr(0,t-e.length)+e}function v(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var r=o.parseDate(t),i=n?"UTC":"",a=r["get"+i+"FullYear"](),s=r["get"+i+"Month"]()+1,l=r["get"+i+"Date"](),c=r["get"+i+"Hours"](),u=r["get"+i+"Minutes"](),d=r["get"+i+"Seconds"](),h=r["get"+i+"Milliseconds"]();return e=e.replace("MM",m(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",m(l,2)).replace("d",l).replace("hh",m(c,2)).replace("h",c).replace("mm",m(u,2)).replace("m",u).replace("ss",m(d,2)).replace("s",d).replace("SSS",m(h,3)),e}function y(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}var b=i.truncateText;function _(e){return i.getBoundingRect(e.text,e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich,e.truncate)}function w(e,t,n,r,o,a,s,l){return i.getBoundingRect(e,t,n,r,o,l,a,s)}function x(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location=e}else window.open(e,t)}t.addCommas=a,t.toCamelCase=s,t.normalizeCssArray=l,t.encodeHTML=d,t.formatTpl=p,t.formatTplSimple=A,t.getTooltipMarker=g,t.formatTime=v,t.capitalFirst=y,t.truncateText=b,t.getTextBoundingRect=_,t.getTextRect=w,t.windowOpen=x},"7bkD":function(e,t,n){var r=n("bYtY");function i(e,t){t=t||{};var n=e.coordinateSystem,i=e.axis,o={},a=i.position,s=i.orient,l=n.getRect(),c=[l.x,l.x+l.width,l.y,l.y+l.height],u={horizontal:{top:c[2],bottom:c[3]},vertical:{left:c[0],right:c[1]}};o.position=["vertical"===s?u.vertical[a]:c[0],"horizontal"===s?u.horizontal[a]:c[3]];var d={horizontal:0,vertical:1};o.rotation=Math.PI/2*d[s];var h={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=h[a],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),r.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var f=t.rotate;return null==f&&(f=e.get("axisLabel.rotate")),o.labelRotation="top"===a?-f:f,o.z2=1,o}t.layout=i},"7fqy":function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}e.exports=n},"7hqr":function(e,t,n){var r=n("bYtY"),i=r.each,o=r.isString;function a(e,t,n){n=n||{};var r,a,s,l,c=n.byIndex,u=n.stackedCoordDimension,d=!(!e||!e.get("stack"));if(i(t,(function(e,n){o(e)&&(t[n]=e={name:e}),d&&!e.isExtraCoord&&(c||r||!e.ordinalMeta||(r=e),a||"ordinal"===e.type||"time"===e.type||u&&u!==e.coordDim||(a=e))})),!a||c||r||(c=!0),a){s="__\0ecstackresult",l="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var h=a.coordDim,f=a.type,p=0;i(t,(function(e){e.coordDim===h&&p++})),t.push({name:s,coordDim:h,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,t.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:a&&a.name,stackedByDimension:r&&r.name,isStackedByIndex:c,stackedOverDimension:l,stackResultDimension:s}}function s(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function l(e,t){return s(e,t)?e.getCalculationInfo("stackResultDimension"):t}t.enableDataStack=a,t.isDimensionStacked=s,t.getStackedDimension=l},"7mYs":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("7aKB"),s=n("OELB"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"]},c={EN:["S","M","T","W","T","F","S"],CN:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},u=r.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,n){var r=this.group;r.removeAll();var i=e.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient();this._renderDayRect(e,o,r),this._renderLines(e,o,a,r),this._renderYearText(e,o,a,r),this._renderMonthText(e,a,r),this._renderWeekText(e,o,a,r)},_renderDayRect:function(e,t,n){for(var r=e.coordinateSystem,i=e.getModel("itemStyle").getItemStyle(),a=r.getCellWidth(),s=r.getCellHeight(),l=t.start.time;l<=t.end.time;l=r.getNextNDay(l,1).time){var c=r.dataToRect([l],!1).tl,u=new o.Rect({shape:{x:c[0],y:c[1],width:a,height:s},cursor:"default",style:i});n.add(u)}},_renderLines:function(e,t,n,r){var i=this,o=e.coordinateSystem,a=e.getModel("splitLine.lineStyle").getLineStyle(),s=e.get("splitLine.show"),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=t.start,u=0;c.time<=t.end.time;u++){h(c.formatedDate),0===u&&(c=o.getDateInfo(t.start.y+"-"+t.start.m));var d=c.date;d.setMonth(d.getMonth()+1),c=o.getDateInfo(d)}function h(t){i._firstDayOfMonth.push(o.getDateInfo(t)),i._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=i._getLinePointsOfOneWeek(e,t,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,r)}h(o.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),a,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),a,r)},_getEdgesPoints:function(e,t,n){var r=[e[0].slice(),e[e.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-t/2,r[1][i]=r[1][i]+t/2,r},_drawSplitline:function(e,t,n){var r=new o.Polyline({z2:20,shape:{points:e},style:t});n.add(r)},_getLinePointsOfOneWeek:function(e,t,n){var r=e.coordinateSystem;t=r.getDateInfo(t);for(var i=[],o=0;o<7;o++){var a=r.getNextNDay(t.time,o),s=r.dataToRect([a.time],!1);i[2*a.day]=s.tl,i[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return i},_formatterLabel:function(e,t){return"string"===typeof e&&e?a.formatTplSimple(e,t):"function"===typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,n,r,i){t=t.slice();var o=["center","bottom"];"bottom"===r?(t[1]+=i,o=["center","top"]):"left"===r?t[0]-=i:"right"===r?(t[0]+=i,o=["center","top"]):t[1]-=i;var a=0;return"left"!==r&&"right"!==r||(a=Math.PI/2),{rotation:a,position:t,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(e,t,n,r){var i=e.getModel("yearLabel");if(i.get("show")){var a=i.get("margin"),s=i.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(l[0][0]+l[1][0])/2,u=(l[0][1]+l[1][1])/2,d="horizontal"===n?0:1,h={top:[c,l[d][1]],bottom:[c,l[1-d][1]],left:[l[1-d][0],u],right:[l[d][0],u]},f=t.start.y;+t.end.y>+t.start.y&&(f=f+"-"+t.end.y);var p=i.get("formatter"),A={start:t.start.y,end:t.end.y,nameMap:f},g=this._formatterLabel(p,A),m=new o.Text({z2:30});o.setTextStyle(m.style,i,{text:g}),m.attr(this._yearTextPositionControl(m,h[s],n,s,a)),r.add(m)}},_monthTextPositionControl:function(e,t,n,r,i){var o="left",a="top",s=e[0],l=e[1];return"horizontal"===n?(l+=i,t&&(o="center"),"start"===r&&(a="bottom")):(s+=i,t&&(a="middle"),"start"===r&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(e,t,n){var r=e.getModel("monthLabel");if(r.get("show")){var a=r.get("nameMap"),s=r.get("margin"),c=r.get("position"),u=r.get("align"),d=[this._tlpoints,this._blpoints];i.isString(a)&&(a=l[a.toUpperCase()]||[]);var h="start"===c?0:1,f="horizontal"===t?0:1;s="start"===c?-s:s;for(var p="center"===u,A=0;A<d[h].length-1;A++){var g=d[h][A].slice(),m=this._firstDayOfMonth[A];if(p){var v=this._firstDayPoints[A];g[f]=(v[f]+d[0][A+1][f])/2}var y=r.get("formatter"),b=a[+m.m-1],_={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:b},w=this._formatterLabel(y,_),x=new o.Text({z2:30});i.extend(o.setTextStyle(x.style,r,{text:w}),this._monthTextPositionControl(g,p,t,c,s)),n.add(x)}}},_weekTextPositionControl:function(e,t,n,r,i){var o="center",a="middle",s=e[0],l=e[1],c="start"===n;return"horizontal"===t?(s=s+r+(c?1:-1)*i[0]/2,o=c?"right":"left"):(l=l+r+(c?1:-1)*i[1]/2,a=c?"bottom":"top"),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderWeekText:function(e,t,n,r){var a=e.getModel("dayLabel");if(a.get("show")){var l=e.coordinateSystem,u=a.get("position"),d=a.get("nameMap"),h=a.get("margin"),f=l.getFirstDayOfWeek();i.isString(d)&&(d=c[d.toUpperCase()]||[]);var p=l.getNextNDay(t.end.time,7-t.lweek).time,A=[l.getCellWidth(),l.getCellHeight()];h=s.parsePercent(h,A["horizontal"===n?0:1]),"start"===u&&(p=l.getNextNDay(t.start.time,-(7+t.fweek)).time,h=-h);for(var g=0;g<7;g++){var m=l.getNextNDay(p,g),v=l.dataToRect([m.time],!1).center,y=g;y=Math.abs((g+f)%7);var b=new o.Text({z2:30});i.extend(o.setTextStyle(b.style,a,{text:d[y]}),this._weekTextPositionControl(v,n,u,h,A)),r.add(b)}}}});e.exports=u},"7oTu":function(e,t,n){var r=n("IMiH"),i=n("QBsz"),o=i.applyTransform,a=r.CMD,s=[[],[],[]],l=Math.sqrt,c=Math.atan2;function u(e,t){var n,r,i,u,d,h=e.data,f=a.M,p=a.C,A=a.L,g=a.R,m=a.A,v=a.Q;for(i=0,u=0;i<h.length;){switch(n=h[i++],u=i,r=0,n){case f:r=1;break;case A:r=1;break;case p:r=3;break;case v:r=2;break;case m:var y=t[4],b=t[5],_=l(t[0]*t[0]+t[1]*t[1]),w=l(t[2]*t[2]+t[3]*t[3]),x=c(-t[1]/w,t[0]/_);h[i]*=_,h[i++]+=y,h[i]*=w,h[i++]+=b,h[i++]*=_,h[i++]*=w,h[i++]+=x,h[i++]+=x,i+=2,u=i;break;case g:C[0]=h[i++],C[1]=h[i++],o(C,C,t),h[u++]=C[0],h[u++]=C[1],C[0]+=h[i++],C[1]+=h[i++],o(C,C,t),h[u++]=C[0],h[u++]=C[1]}for(d=0;d<r;d++){var C=s[d];C[0]=h[i++],C[1]=h[i++],o(C,C,t),h[u++]=C[0],h[u++]=C[1]}}}e.exports=u},"7pVf":function(e,t,n){var r=n("ProS"),i=n("ZqQs");n("oE7X"),n("OUJF"),n("3X6L"),n("NH9N"),r.registerPreprocessor(i)},"7ph2":function(e,t){function n(e){return e instanceof Array||(e=[e,e]),e}var r="lineStyle.opacity".split("."),i={seriesType:"lines",reset:function(e,t,i){var o=n(e.get("symbol")),a=n(e.get("symbolSize")),s=e.getData();function l(e,t){var i=e.getItemModel(t),o=n(i.getShallow("symbol",!0)),a=n(i.getShallow("symbolSize",!0)),s=i.get(r);o[0]&&e.setItemVisual(t,"fromSymbol",o[0]),o[1]&&e.setItemVisual(t,"toSymbol",o[1]),a[0]&&e.setItemVisual(t,"fromSymbolSize",a[0]),a[1]&&e.setItemVisual(t,"toSymbolSize",a[1]),e.setItemVisual(t,"opacity",s)}return s.setVisual("fromSymbol",o&&o[0]),s.setVisual("toSymbol",o&&o[1]),s.setVisual("fromSymbolSize",a&&a[0]),s.setVisual("toSymbolSize",a&&a[1]),s.setVisual("opacity",e.get(r)),{dataEach:s.hasItemOption?l:null}}};e.exports=i},"7uqq":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("AUH6"),s=n("+TT/"),l=n("OELB"),c=n("W4dC"),u=n("7DRL");function d(e,t){var n=e.get("boundingCoords");if(null!=n){var r=n[0],i=n[1];isNaN(r[0])||isNaN(r[1])||isNaN(i[0])||isNaN(i[1])||this.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1])}var o,a=this.getBoundingRect(),c=e.get("layoutCenter"),u=e.get("layoutSize"),d=t.getWidth(),h=t.getHeight(),f=a.width/a.height*this.aspectScale,p=!1;if(c&&u&&(c=[l.parsePercent(c[0],d),l.parsePercent(c[1],h)],u=l.parsePercent(u,Math.min(d,h)),isNaN(c[0])||isNaN(c[1])||isNaN(u)||(p=!0)),p){var A={};f>1?(A.width=u,A.height=u/f):(A.height=u,A.width=u*f),A.y=c[1]-A.height/2,A.x=c[0]-A.width/2}else o=e.getBoxLayoutParams(),o.aspect=f,A=s.getLayoutRect(o,{width:d,height:h});this.setViewRect(A.x,A.y,A.width,A.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function h(e,t){o.each(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var f={dimensions:a.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("geo",(function(e,r){var i=e.get("map"),o=e.get("aspectScale"),s=!0,l=u.retrieveMap(i);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),s=!1):null==o&&(o=.75);var c=new a(i+r,i,e.get("nameMap"),s);c.aspectScale=o,c.zoomLimit=e.get("scaleLimit"),n.push(c),h(c,e),e.coordinateSystem=c,c.model=e,c.resize=d,c.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var r=e.get("geoIndex")||0;e.coordinateSystem=n[r]}}));var r={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();r[t]=r[t]||[],r[t].push(e)}})),o.each(r,(function(e,r){var i=o.map(e,(function(e){return e.get("nameMap")})),s=new a(r,r,o.mergeAll(i));s.zoomLimit=o.retrieve.apply(null,o.map(e,(function(e){return e.get("scaleLimit")}))),n.push(s),s.resize=d,s.aspectScale=e[0].get("aspectScale"),s.resize(e[0],t),o.each(e,(function(e){e.coordinateSystem=s,h(s,e)}))})),n},getFilledRegions:function(e,t,n){for(var r=(e||[]).slice(),i=o.createHashMap(),a=0;a<r.length;a++)i.set(r[a].name,r[a]);var s=c.load(t,n);return o.each(s.regions,(function(e){var t=e.name;!i.get(t)&&r.push({name:t})})),r}};i.registerCoordinateSystem("geo",f);var p=f;e.exports=p},"7yuC":function(e,t,n){var r=n("QBsz"),i=r.scaleAndAdd;function o(e,t,n){for(var o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],c=null==n.gravity?.1:n.gravity,u=0;u<e.length;u++){var d=e[u];d.p||(d.p=r.create(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),d.pp=r.clone(d.p),d.edges=null}var h=null==n.friction?.6:n.friction,f=h;return{warmUp:function(){f=.8*h},setFixed:function(t){e[t].fixed=!0},setUnfixed:function(t){e[t].fixed=!1},step:function(n){for(var o=[],a=e.length,s=0;s<t.length;s++){var u=t[s];if(!u.ignoreForceLayout){var d=u.n1,h=u.n2;r.sub(o,h.p,d.p);var p=r.len(o)-u.d,A=h.w/(d.w+h.w);isNaN(A)&&(A=0),r.normalize(o,o),!d.fixed&&i(d.p,d.p,o,A*p*f),!h.fixed&&i(h.p,h.p,o,-(1-A)*p*f)}}for(s=0;s<a;s++){var g=e[s];g.fixed||(r.sub(o,l,g.p),i(g.p,g.p,o,c*f))}for(s=0;s<a;s++){d=e[s];for(var m=s+1;m<a;m++){h=e[m];r.sub(o,h.p,d.p);p=r.len(o);0===p&&(r.set(o,Math.random()-.5,Math.random()-.5),p=1);var v=(d.rep+h.rep)/p/p;!d.fixed&&i(d.pp,d.pp,o,v),!h.fixed&&i(h.pp,h.pp,o,-v)}}var y=[];for(s=0;s<a;s++){g=e[s];g.fixed||(r.sub(y,g.p,g.pp),i(g.p,g.p,y,f),r.copy(g.pp,g.p))}f*=.992,n&&n(e,t,f<.01)}}}t.forceLayout=o},"8+yF":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r={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},i={lookup:function(e){if(e>=32&&e<=255)return e;var t=r[e];return void 0!==t?t:16777216|e}};t["default"]=i},"8CQX":function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getKeycode=f,t.getKey=p,t.getKeysym=A;var i=h(n("mHUz")),o=h(n("8+yF")),a=h(n("6Qwc")),s=h(n("gIYZ")),l=h(n("mTgk")),c=d(n("GdRQ"));function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n["default"]=e,t&&t.set(e,n),n}function h(e){return e&&e.__esModule?e:{default:e}}function f(e){if(e.code){switch(e.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return e.code}if("keypress"!==e.type&&e.keyCode in a["default"]){var t=a["default"][e.keyCode];if(c.isMac()&&"ContextMenu"===t&&(t="MetaRight"),2===e.location)switch(t){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(3===e.location)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 p(e){if(void 0!==e.key){switch(e.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 e["char"]}switch(e.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(e.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if("\0"===e.key&&"NumpadDecimal"===e.code)return"Delete";if(!c.isIE()&&!c.isEdge())return e.key;if(1!==e.key.length&&"Unidentified"!==e.key)return e.key}var t=f(e);return t in s["default"]?s["default"][t]:e.charCode?String.fromCharCode(e.charCode):"Unidentified"}function A(e){var t=p(e);if("Unidentified"===t)return null;if(t in l["default"]){var n=e.location;if("Meta"===t&&0===n&&(n=2),"Clear"===t&&3===n){var r=f(e);"NumLock"===r&&(n=0)}if((void 0===n||n>3)&&(n=0),"Meta"===t){var a=f(e);if("AltLeft"===a)return i["default"].XK_Meta_L;if("AltRight"===a)return i["default"].XK_Meta_R}if("Clear"===t){var s=f(e);if("NumLock"===s)return i["default"].XK_Num_Lock}return l["default"][t][n]}if(1!==t.length)return null;var c=t.charCodeAt();return c?o["default"].lookup(c):null}},"8EBN":function(e,t,n){(function(e){e(n("VrN/"))})((function(e){"use strict";e.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 t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.mime==t)return r;if(r.mimes)for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==t)return r}return/\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0},e.findModeByExtension=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.ext)for(var i=0;i<r.ext.length;i++)if(r.ext[i]==t)return r}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.file&&r.file.test(t))return r}var i=t.lastIndexOf("."),o=i>-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.name.toLowerCase()==t)return r;if(r.alias)for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==t)return r}}}))},"8IMR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},"8ISB":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("6Hfg"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"8K/p":function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=l(n("Lo0S")),o=a(n("ItS6"));function a(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n["default"]=e,t&&t.set(e,n),n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}var h=function(){function e(){c(this,e),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var t=0;t<4;t++)this._zlibs[t]=new o["default"]}return d(e,[{key:"decodeRect",value:function(e,t,n,r,o,a,s){if(null===this._ctl){if(o.rQwait("TIGHT compression-control",1))return!1;this._ctl=o.rQshift8();for(var l=0;l<4;l++)this._ctl>>l&1&&(this._zlibs[l].reset(),i.Info("Reset zlib stream "+l));this._ctl=this._ctl>>4}var c;if(8===this._ctl)c=this._fillRect(e,t,n,r,o,a,s);else if(9===this._ctl)c=this._jpegRect(e,t,n,r,o,a,s);else if(10===this._ctl)c=this._pngRect(e,t,n,r,o,a,s);else{if(0!=(128&this._ctl))throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");c=this._basicRect(this._ctl,e,t,n,r,o,a,s)}return c&&(this._ctl=null),c}},{key:"_fillRect",value:function(e,t,n,r,i,o,a){if(i.rQwait("TIGHT",3))return!1;var s=i.rQi,l=i.rQ;return o.fillRect(e,t,n,r,[l[s+2],l[s+1],l[s]],!1),i.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(e,t,n,r,i,o,a){var s=this._readData(i);return null!==s&&(o.imageRect(e,t,n,r,"image/jpeg",s),!0)}},{key:"_pngRect",value:function(e,t,n,r,i,o,a){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(e,t,n,r,i,o,a,s){if(null===this._filter)if(4&e){if(o.rQwait("TIGHT",1))return!1;this._filter=o.rQshift8()}else this._filter=0;var l,c=3&e;switch(this._filter){case 0:l=this._copyFilter(c,t,n,r,i,o,a,s);break;case 1:l=this._paletteFilter(c,t,n,r,i,o,a,s);break;case 2:l=this._gradientFilter(c,t,n,r,i,o,a,s);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return l&&(this._filter=null),l}},{key:"_copyFilter",value:function(e,t,n,r,i,o,a,s){var l,c=r*i*3;if(c<12){if(o.rQwait("TIGHT",c))return!1;l=o.rQshiftBytes(c)}else{if(l=this._readData(o),null===l)return!1;this._zlibs[e].setInput(l),l=this._zlibs[e].inflate(c),this._zlibs[e].setInput(null)}return a.blitRgbImage(t,n,r,i,l,0,!1),!0}},{key:"_paletteFilter",value:function(e,t,n,r,i,o,a,s){if(0===this._numColors){if(o.rQwait("TIGHT palette",1))return!1;var l=o.rQpeek8()+1,c=3*l;if(o.rQwait("TIGHT palette",1+c))return!1;this._numColors=l,o.rQskipBytes(1),o.rQshiftTo(this._palette,c)}var u,d=this._numColors<=2?1:8,h=Math.floor((r*d+7)/8),f=h*i;if(f<12){if(o.rQwait("TIGHT",f))return!1;u=o.rQshiftBytes(f)}else{if(u=this._readData(o),null===u)return!1;this._zlibs[e].setInput(u),u=this._zlibs[e].inflate(f),this._zlibs[e].setInput(null)}return 2==this._numColors?this._monoRect(t,n,r,i,u,this._palette,a):this._paletteRect(t,n,r,i,u,this._palette,a),this._numColors=0,!0}},{key:"_monoRect",value:function(e,t,n,r,i,o,a){for(var s=this._getScratchBuffer(n*r*4),l=Math.floor((n+7)/8),c=Math.floor(n/8),u=0;u<r;u++){var d=void 0,h=void 0,f=void 0;for(f=0;f<c;f++)for(var p=7;p>=0;p--)d=4*(u*n+8*f+7-p),h=3*(i[u*l+f]>>p&1),s[d]=o[h],s[d+1]=o[h+1],s[d+2]=o[h+2],s[d+3]=255;for(var A=7;A>=8-n%8;A--)d=4*(u*n+8*f+7-A),h=3*(i[u*l+f]>>A&1),s[d]=o[h],s[d+1]=o[h+1],s[d+2]=o[h+2],s[d+3]=255}a.blitRgbxImage(e,t,n,r,s,0,!1)}},{key:"_paletteRect",value:function(e,t,n,r,i,o,a){for(var s=this._getScratchBuffer(n*r*4),l=n*r*4,c=0,u=0;c<l;c+=4,u++){var d=3*i[u];s[c]=o[d],s[c+1]=o[d+1],s[c+2]=o[d+2],s[c+3]=255}a.blitRgbxImage(e,t,n,r,s,0,!1)}},{key:"_gradientFilter",value:function(e,t,n,r,i,o,a,s){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(e){if(0===this._len){if(e.rQwait("TIGHT",3))return null;var t;t=e.rQshift8(),this._len=127&t,128&t&&(t=e.rQshift8(),this._len|=(127&t)<<7,128&t&&(t=e.rQshift8(),this._len|=t<<14))}if(e.rQwait("TIGHT",this._len))return null;var n=e.rQshiftBytes(this._len);return this._len=0,n}},{key:"_getScratchBuffer",value:function(e){return(!this._scratchBuffer||this._scratchBuffer.length<e)&&(this._scratchBuffer=new Uint8Array(e)),this._scratchBuffer}}]),e}();t["default"]=h},"8SMY":function(e,t,n){var r=n("n4Lv"),i=r.prepareDataCoordInfo,o=r.getStackedOnPoint;function a(e,t){var n=[];return t.diff(e).add((function(e){n.push({cmd:"+",idx:e})})).update((function(e,t){n.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){n.push({cmd:"-",idx:e})})).execute(),n}function s(e,t,n,r,s,l,c,u){for(var d=a(e,t),h=[],f=[],p=[],A=[],g=[],m=[],v=[],y=i(s,t,c),b=i(l,e,u),_=0;_<d.length;_++){var w=d[_],x=!0;switch(w.cmd){case"=":var C=e.getItemLayout(w.idx),S=t.getItemLayout(w.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=S.slice()),h.push(C),f.push(S),p.push(n[w.idx]),A.push(r[w.idx1]),v.push(t.getRawIndex(w.idx1));break;case"+":var k=w.idx;h.push(s.dataToPoint([t.get(y.dataDimsForPoint[0],k),t.get(y.dataDimsForPoint[1],k)])),f.push(t.getItemLayout(k).slice()),p.push(o(y,s,t,k)),A.push(r[k]),v.push(t.getRawIndex(k));break;case"-":k=w.idx;var E=e.getRawIndex(k);E!==k?(h.push(e.getItemLayout(k)),f.push(l.dataToPoint([e.get(b.dataDimsForPoint[0],k),e.get(b.dataDimsForPoint[1],k)])),p.push(n[k]),A.push(o(b,l,e,k)),v.push(E)):x=!1}x&&(g.push(w),m.push(m.length))}m.sort((function(e,t){return v[e]-v[t]}));var O=[],B=[],M=[],T=[],I=[];for(_=0;_<m.length;_++){k=m[_];O[_]=h[k],B[_]=f[k],M[_]=p[k],T[_]=A[k],I[_]=g[k]}return{current:O,next:B,stackedOnCurrent:M,stackedOnNext:T,status:I}}e.exports=s},"8Skl":function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="DownOutlined";t["a"]=i["forwardRef"](l)},"8Th4":function(e,t,n){var r=n("3LNs"),i=n("/y7N"),o=n("7bkD"),a=n("Znkb"),s=["x","y"],l=["width","height"],c=r.extend({makeElOption:function(e,t,n,r,a){var s=n.axis,l=s.coordinateSystem,c=h(l,1-d(s)),f=l.dataToPoint(t)[0],p=r.get("type");if(p&&"none"!==p){var A=i.buildElStyle(r),g=u[p](s,f,c);g.style=A,e.graphicKey=g.type,e.pointer=g}var m=o.layout(n);i.buildCartesianSingleLabelElOption(t,e,m,n,r,a)},getHandleTransform:function(e,t,n){var r=o.layout(t,{labelInside:!1});return r.labelMargin=n.get("handle.margin"),{position:i.getTransformedPosition(t.axis,e,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,r){var i=n.axis,o=i.coordinateSystem,a=d(i),s=h(o,a),l=e.position;l[a]+=t[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var c=h(o,1-a),u=(c[1]+c[0])/2,f=[u,u];return f[a]=l[a],{position:l,rotation:e.rotation,cursorPoint:f,tooltipOption:{verticalAlign:"middle"}}}}),u={line:function(e,t,n){var r=i.makeLineShape([t,n[0]],[t,n[1]],d(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=e.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:i.makeRectShape([t-r/2,n[0]],[r,o],d(e))}}};function d(e){return e.isHorizontal()?0:1}function h(e,t){var n=e.getRect();return[n[s[t]],n[s[t]]+n[l[t]]]}a.registerAxisPointerClass("SingleAxisPointer",c);var f=c;e.exports=f},"8Uz6":function(e,t,n){var r=n("hNWo"),i=n("+TT/"),o=i.mergeLayoutParam,a=i.getLayoutParams,s=r.extend({type:"legend.scroll",setScrollDataIndex:function(e){this.option.scrollDataIndex=e},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(e,t,n,r){var i=a(e);s.superCall(this,"init",e,t,n,r),l(this,e,i)},mergeOption:function(e,t){s.superCall(this,"mergeOption",e,t),l(this,this.option,e)}});function l(e,t,n){var r=e.getOrient(),i=[1,1];i[r.index]=0,o(t,n,{type:"box",ignoreSize:i})}var c=s;e.exports=c},"8X+K":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("4mN7"),a=o.fromPoints,s=n("9wZj"),l=n("FBjb"),c=n("8SMY"),u=n("IwbS"),d=n("4NO4"),h=n("1NG9"),f=h.Polyline,p=h.Polygon,A=n("6Ic6"),g=n("n4Lv"),m=g.prepareDataCoordInfo,v=g.getStackedOnPoint,y=n("sK/D"),b=y.createGridClipPath,_=y.createPolarClipPath;function w(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++){var r=e[n],i=t[n];if(r[0]!==i[0]||r[1]!==i[1])return}return!0}}function x(e,t){var n=[],r=[],i=[],o=[];return a(e,n,r),a(t,i,o),Math.max(Math.abs(n[0]-i[0]),Math.abs(n[1]-i[1]),Math.abs(r[0]-o[0]),Math.abs(r[1]-o[1]))}function C(e){return"number"===typeof e?e:e?.5:0}function S(e,t,n){if(!n.valueDim)return[];for(var r=[],i=0,o=t.count();i<o;i++)r.push(v(n,e,t,i));return r}function k(e,t,n){for(var r=t.getBaseAxis(),i="x"===r.dim||"radius"===r.dim?0:1,o=[],a=0;a<e.length-1;a++){var s=e[a+1],l=e[a];o.push(l);var c=[];switch(n){case"end":c[i]=s[i],c[1-i]=l[1-i],o.push(c);break;case"middle":var u=(l[i]+s[i])/2,d=[];c[i]=d[i]=u,c[1-i]=l[1-i],d[1-i]=s[1-i],o.push(c),o.push(d);break;default:c[i]=l[i],c[1-i]=s[1-i],o.push(c)}}return e[a]&&o.push(e[a]),o}function E(e,t){var n=e.getVisual("visualMeta");if(n&&n.length&&e.count()&&"cartesian2d"===t.type){for(var r,o,a=n.length-1;a>=0;a--){var s=n[a].dimension,l=e.dimensions[s],c=e.getDimensionInfo(l);if(r=c&&c.coordDim,"x"===r||"y"===r){o=n[a];break}}if(o){var d=t.getAxis(r),h=i.map(o.stops,(function(e){return{coord:d.toGlobalCoord(d.dataToCoord(e.value)),color:e.color}})),f=h.length,p=o.outerColors.slice();f&&h[0].coord>h[f-1].coord&&(h.reverse(),p.reverse());var A=10,g=h[0].coord-A,m=h[f-1].coord+A,v=m-g;if(v<.001)return"transparent";i.each(h,(function(e){e.offset=(e.coord-g)/v})),h.push({offset:f?h[f-1].offset:.5,color:p[1]||"transparent"}),h.unshift({offset:f?h[0].offset:.5,color:p[0]||"transparent"});var y=new u.LinearGradient(0,0,0,0,h,!0);return y[r]=g,y[r+"2"]=m,y}}}function O(e,t,n){var r=e.get("showAllSymbol"),o="auto"===r;if(!r||o){var a=n.getAxesByScale("ordinal")[0];if(a&&(!o||!B(a,t))){var s=t.mapDimension(a.dim),l={};return i.each(a.getViewLabels(),(function(e){l[e.tickValue]=1})),function(e){return!l.hasOwnProperty(t.get(s,e))}}}}function B(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(1.5*l.getSymbolSize(t,a)[e.isHorizontal()?1:0]>r)return!1;return!0}function M(e,t,n){if("cartesian2d"===e.type){var r=e.getBaseAxis().isHorizontal(),i=b(e,t,n);if(!n.get("clip",!0)){var o=i.shape,a=Math.max(o.width,o.height);r?(o.y-=a,o.height+=2*a):(o.x-=a,o.width+=2*a)}return i}return _(e,t,n)}var T=A.extend({type:"line",init:function(){var e=new u.Group,t=new s;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,n){var r=e.coordinateSystem,o=this.group,a=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),c=a.mapArray(a.getItemLayout),u="polar"===r.type,d=this._coordSys,h=this._symbolDraw,f=this._polyline,p=this._polygon,A=this._lineGroup,g=e.get("animation"),v=!l.isEmpty(),y=l.get("origin"),b=m(r,a,y),_=S(r,a,b),x=e.get("showSymbol"),B=x&&!u&&O(e,a,r),T=this._data;T&&T.eachItemGraphicEl((function(e,t){e.__temp&&(o.remove(e),T.setItemGraphicEl(t,null))})),x||h.remove(),o.add(A);var I,L=!u&&e.get("step");r&&r.getArea&&e.get("clip",!0)&&(I=r.getArea(),null!=I.width?(I.x-=.1,I.y-=.1,I.width+=.2,I.height+=.2):I.r0&&(I.r0-=.5,I.r1+=.5)),this._clipShapeForSymbol=I,f&&d.type===r.type&&L===this._step?(v&&!p?p=this._newPolygon(c,_,r,g):p&&!v&&(A.remove(p),p=this._polygon=null),A.setClipPath(M(r,!1,e)),x&&h.updateData(a,{isIgnore:B,clipShape:I}),a.eachItemGraphicEl((function(e){e.stopAnimation(!0)})),w(this._stackedOnPoints,_)&&w(this._points,c)||(g?this._updateAnimation(a,_,r,n,L,y):(L&&(c=k(c,r,L),_=k(_,r,L)),f.setShape({points:c}),p&&p.setShape({points:c,stackedOnPoints:_})))):(x&&h.updateData(a,{isIgnore:B,clipShape:I}),L&&(c=k(c,r,L),_=k(_,r,L)),f=this._newPolyline(c,r,g),v&&(p=this._newPolygon(c,_,r,g)),A.setClipPath(M(r,!0,e)));var D=E(a,r)||a.getVisual("color");f.useStyle(i.defaults(s.getLineStyle(),{fill:"none",stroke:D,lineJoin:"bevel"}));var P=e.get("smooth");if(P=C(e.get("smooth")),f.setShape({smooth:P,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),p){var N=a.getCalculationInfo("stackedOnSeries"),j=0;p.useStyle(i.defaults(l.getAreaStyle(),{fill:D,opacity:.7,lineJoin:"bevel"})),N&&(j=C(N.get("smooth"))),p.setShape({smooth:P,stackedOnSmooth:j,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=a,this._coordSys=r,this._stackedOnPoints=_,this._points=c,this._step=L,this._valueOrigin=y},dispose:function(){},highlight:function(e,t,n,r){var i=e.getData(),o=d.queryDataIndex(i,r);if(!(o instanceof Array)&&null!=o&&o>=0){var a=i.getItemGraphicEl(o);if(!a){var s=i.getItemLayout(o);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;a=new l(i,o),a.position=s,a.setZ(e.get("zlevel"),e.get("z")),a.ignore=isNaN(s[0])||isNaN(s[1]),a.__temp=!0,i.setItemGraphicEl(o,a),a.stopSymbolAnimation(!0),this.group.add(a)}a.highlight()}else A.prototype.highlight.call(this,e,t,n,r)},downplay:function(e,t,n,r){var i=e.getData(),o=d.queryDataIndex(i,r);if(null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else A.prototype.downplay.call(this,e,t,n,r)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new f({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new p({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(e,t,n,r,i,o){var a=this._polyline,s=this._polygon,l=e.hostModel,d=c(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,o),h=d.current,f=d.stackedOnCurrent,p=d.next,A=d.stackedOnNext;if(i&&(h=k(d.current,n,i),f=k(d.stackedOnCurrent,n,i),p=k(d.next,n,i),A=k(d.stackedOnNext,n,i)),x(h,p)>3e3||s&&x(f,A)>3e3)return a.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:A}));a.shape.__points=d.current,a.shape.points=h,u.updateProps(a,{shape:{points:p}},l),s&&(s.setShape({points:h,stackedOnPoints:f}),u.updateProps(s,{shape:{points:p,stackedOnPoints:A}},l));for(var g=[],m=d.status,v=0;v<m.length;v++){var y=m[v].cmd;if("="===y){var b=e.getItemGraphicEl(m[v].idx1);b&&g.push({el:b,ptIdx:v})}}a.animators&&a.animators.length&&a.animators[0].during((function(){for(var e=0;e<g.length;e++){var t=g[e].el;t.attr("position",a.shape.__points[g[e].ptIdx])}}))},remove:function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(e,r){e.__temp&&(t.remove(e),n.setItemGraphicEl(r,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});e.exports=T},"8XDt":function(e,t,n){n("qH13");var r=n("aX58"),i=r.registerPainter,o=n("6fms");i("vml",o)},"8XRh":function(e,t,n){"use strict";n.d(t,"a",(function(){return Ae}));var r=n("rePB"),i=n("VTBJ"),o=n("ODXe"),a=n("U8pU"),s=n("q1tI"),l=n("m+aA"),c=n("c+Xe"),u=n("TSYQ"),d=n.n(u),h=n("MNnm");function f(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function p(e,t){var n={animationend:f("Animation","AnimationEnd"),transitionend:f("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var A=p(Object(h["a"])(),"undefined"!==typeof window?window:{}),g={};if(Object(h["a"])()){var m=document.createElement("div");g=m.style}var v={};function y(e){if(v[e])return v[e];var t=A[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i<r;i+=1){var o=n[i];if(Object.prototype.hasOwnProperty.call(t,o)&&o in g)return v[e]=t[o],v[e]}return""}var b=y("animationend"),_=y("transitionend"),w=!(!b||!_),x=b||"animationend",C=_||"transitionend";function S(e,t){if(!e)return null;if("object"===Object(a["a"])(e)){var n=t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}));return e[n]}return"".concat(e,"-").concat(t)}var k="none",E="appear",O="enter",B="leave",M="none",T="prepare",I="start",L="active",D="end",P=n("dm2S"),N=n("wgJM"),j=function(){var e=s["useRef"](null);function t(){N["a"].cancel(e.current)}function n(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var o=Object(N["a"])((function(){i<=1?r({isCanceled:function(){return o!==e.current}}):n(r,i-1)}));e.current=o}return s["useEffect"]((function(){return function(){t()}}),[]),[n,t]},F=Object(h["a"])()?s["useLayoutEffect"]:s["useEffect"],R=F,U=[T,I,L,D],H=!1,Q=!0;function K(e){return e===L||e===D}var z=function(e,t){var n=Object(P["a"])(M),r=Object(o["a"])(n,2),i=r[0],a=r[1],l=j(),c=Object(o["a"])(l,2),u=c[0],d=c[1];function h(){a(T,!0)}return R((function(){if(i!==M&&i!==D){var e=U.indexOf(i),n=U[e+1],r=t(i);r===H?a(n,!0):u((function(e){function t(){e.isCanceled()||a(n,!0)}!0===r?t():Promise.resolve(r).then(t)}))}}),[e,i]),s["useEffect"]((function(){return function(){d()}}),[]),[h,i]},V=function(e){var t=Object(s["useRef"])(),n=Object(s["useRef"])(e);n.current=e;var r=s["useCallback"]((function(e){n.current(e)}),[]);function i(e){e&&(e.removeEventListener(C,r),e.removeEventListener(x,r))}function o(e){t.current&&t.current!==e&&i(t.current),e&&e!==t.current&&(e.addEventListener(C,r),e.addEventListener(x,r),t.current=e)}return s["useEffect"]((function(){return function(){i(t.current)}}),[]),[o,i]};function W(e,t,n,a){var l=a.motionEnter,c=void 0===l||l,u=a.motionAppear,d=void 0===u||u,h=a.motionLeave,f=void 0===h||h,p=a.motionDeadline,A=a.motionLeaveImmediately,g=a.onAppearPrepare,m=a.onEnterPrepare,v=a.onLeavePrepare,y=a.onAppearStart,b=a.onEnterStart,_=a.onLeaveStart,w=a.onAppearActive,x=a.onEnterActive,C=a.onLeaveActive,S=a.onAppearEnd,M=a.onEnterEnd,D=a.onLeaveEnd,N=a.onVisibleChanged,j=Object(P["a"])(),F=Object(o["a"])(j,2),U=F[0],W=F[1],G=Object(P["a"])(k),X=Object(o["a"])(G,2),q=X[0],Y=X[1],Z=Object(P["a"])(null),J=Object(o["a"])(Z,2),$=J[0],ee=J[1],te=Object(s["useRef"])(!1),ne=Object(s["useRef"])(null);function re(){return n()}var ie=Object(s["useRef"])(!1);function oe(e){var t=re();if(!e||e.deadline||e.target===t){var n,r=ie.current;q===E&&r?n=null===S||void 0===S?void 0:S(t,e):q===O&&r?n=null===M||void 0===M?void 0:M(t,e):q===B&&r&&(n=null===D||void 0===D?void 0:D(t,e)),q!==k&&r&&!1!==n&&(Y(k,!0),ee(null,!0))}}var ae=V(oe),se=Object(o["a"])(ae,1),le=se[0],ce=s["useMemo"]((function(){var e,t,n;switch(q){case E:return e={},Object(r["a"])(e,T,g),Object(r["a"])(e,I,y),Object(r["a"])(e,L,w),e;case O:return t={},Object(r["a"])(t,T,m),Object(r["a"])(t,I,b),Object(r["a"])(t,L,x),t;case B:return n={},Object(r["a"])(n,T,v),Object(r["a"])(n,I,_),Object(r["a"])(n,L,C),n;default:return{}}}),[q]),ue=z(q,(function(e){if(e===T){var t=ce[T];return t?t(re()):H}var n;fe in ce&&ee((null===(n=ce[fe])||void 0===n?void 0:n.call(ce,re(),null))||null);return fe===L&&(le(re()),p>0&&(clearTimeout(ne.current),ne.current=setTimeout((function(){oe({deadline:!0})}),p))),Q})),de=Object(o["a"])(ue,2),he=de[0],fe=de[1],pe=K(fe);ie.current=pe,R((function(){W(t);var n,r=te.current;(te.current=!0,e)&&(!r&&t&&d&&(n=E),r&&t&&c&&(n=O),(r&&!t&&f||!r&&A&&!t&&f)&&(n=B),n&&(Y(n),he()))}),[t]),Object(s["useEffect"])((function(){(q===E&&!d||q===O&&!c||q===B&&!f)&&Y(k)}),[d,c,f]),Object(s["useEffect"])((function(){return function(){te.current=!1,clearTimeout(ne.current)}}),[]);var Ae=s["useRef"](!1);Object(s["useEffect"])((function(){U&&(Ae.current=!0),void 0!==U&&q===k&&((Ae.current||U)&&(null===N||void 0===N||N(U)),Ae.current=!0)}),[U,q]);var ge=$;return ce[T]&&fe===I&&(ge=Object(i["a"])({transition:"none"},ge)),[q,fe,ge,null!==U&&void 0!==U?U:t]}var G=n("1OyB"),X=n("vuIU"),q=n("Ji7U"),Y=n("LK+K"),Z=function(e){Object(q["a"])(n,e);var t=Object(Y["a"])(n);function n(){return Object(G["a"])(this,n),t.apply(this,arguments)}return Object(X["a"])(n,[{key:"render",value:function(){return this.props.children}}]),n}(s["Component"]),J=Z;function $(e){var t=e;function n(e){return!(!e.motionName||!t)}"object"===Object(a["a"])(e)&&(t=e.transitionSupport);var u=s["forwardRef"]((function(e,t){var a=e.visible,u=void 0===a||a,h=e.removeOnLeave,f=void 0===h||h,p=e.forceRender,A=e.children,g=e.motionName,m=e.leavedClassName,v=e.eventProps,y=n(e),b=Object(s["useRef"])(),_=Object(s["useRef"])();function w(){try{return b.current instanceof HTMLElement?b.current:Object(l["a"])(_.current)}catch(e){return null}}var x=W(y,u,w,e),C=Object(o["a"])(x,4),E=C[0],O=C[1],B=C[2],M=C[3],L=s["useRef"](M);M&&(L.current=!0);var D,P=s["useCallback"]((function(e){b.current=e,Object(c["b"])(t,e)}),[t]),N=Object(i["a"])(Object(i["a"])({},v),{},{visible:u});if(A)if(E!==k&&n(e)){var j,F;O===T?F="prepare":K(O)?F="active":O===I&&(F="start"),D=A(Object(i["a"])(Object(i["a"])({},N),{},{className:d()(S(g,E),(j={},Object(r["a"])(j,S(g,"".concat(E,"-").concat(F)),F),Object(r["a"])(j,g,"string"===typeof g),j)),style:B}),P)}else D=M?A(Object(i["a"])({},N),P):!f&&L.current&&m?A(Object(i["a"])(Object(i["a"])({},N),{},{className:m}),P):p||!f&&!m?A(Object(i["a"])(Object(i["a"])({},N),{},{style:{display:"none"}}),P):null;else D=null;if(s["isValidElement"](D)&&Object(c["c"])(D)){var R=D,U=R.ref;U||(D=s["cloneElement"](D,{ref:P}))}return s["createElement"](J,{ref:_},D)}));return u.displayName="CSSMotion",u}var ee=$(w),te=n("wx14"),ne=n("Ff2n"),re=n("JX7q"),ie="add",oe="keep",ae="remove",se="removed";function le(e){var t;return t=e&&"object"===Object(a["a"])(e)&&"key"in e?e:{key:e},Object(i["a"])(Object(i["a"])({},t),{},{key:String(t.key)})}function ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(le)}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,a=ce(e),s=ce(t);a.forEach((function(e){for(var t=!1,a=r;a<o;a+=1){var l=s[a];if(l.key===e.key){r<a&&(n=n.concat(s.slice(r,a).map((function(e){return Object(i["a"])(Object(i["a"])({},e),{},{status:ie})}))),r=a),n.push(Object(i["a"])(Object(i["a"])({},l),{},{status:oe})),r+=1,t=!0;break}}t||n.push(Object(i["a"])(Object(i["a"])({},e),{},{status:ae}))})),r<o&&(n=n.concat(s.slice(r).map((function(e){return Object(i["a"])(Object(i["a"])({},e),{},{status:ie})}))));var l={};n.forEach((function(e){var t=e.key;l[t]=(l[t]||0)+1}));var c=Object.keys(l).filter((function(e){return l[e]>1}));return c.forEach((function(e){n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==ae})),n.forEach((function(t){t.key===e&&(t.status=oe)}))})),n}var de=["component","children","onVisibleChanged","onAllRemoved"],he=["status"],fe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ee,n=function(e){Object(q["a"])(o,e);var n=Object(Y["a"])(o);function o(){var e;Object(G["a"])(this,o);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return e=n.call.apply(n,[this].concat(a)),Object(r["a"])(Object(re["a"])(e),"state",{keyEntities:[]}),Object(r["a"])(Object(re["a"])(e),"removeKey",(function(t){var n=e.state.keyEntities,r=n.map((function(e){return e.key!==t?e:Object(i["a"])(Object(i["a"])({},e),{},{status:se})}));return e.setState({keyEntities:r}),r.filter((function(e){var t=e.status;return t!==se})).length})),e}return Object(X["a"])(o,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r=this.props,i=r.component,o=r.children,a=r.onVisibleChanged,l=r.onAllRemoved,c=Object(ne["a"])(r,de),u=i||s["Fragment"],d={};return fe.forEach((function(e){d[e]=c[e],delete c[e]})),delete c.keys,s["createElement"](u,c,n.map((function(n){var r=n.status,i=Object(ne["a"])(n,he),c=r===ie||r===oe;return s["createElement"](t,Object(te["a"])({},d,{key:i.key,visible:c,eventProps:i,onVisibleChanged:function(t){if(null===a||void 0===a||a(t,{key:i.key}),!t){var n=e.removeKey(i.key);0===n&&l&&l()}}}),o)})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,i=ce(n),o=ue(r,i);return{keyEntities:o.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==se||e.status!==ae}))}}}]),o}(s["Component"]);return Object(r["a"])(n,"defaultProps",{component:"div"}),n}var Ae=pe(w);t["b"]=ee},"8hn6":function(e,t){var n="#eee",r=function(){return{axisLine:{lineStyle:{color:n}},axisTick:{lineStyle:{color:n}},axisLabel:{textStyle:{color:n}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:n}}}},i=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],o={color:i,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:n},crossStyle:{color:n},label:{color:"#000"}}},legend:{textStyle:{color:n}},textStyle:{color:n},title:{textStyle:{color:n}},toolbox:{iconStyle:{normal:{borderColor:n}}},dataZoom:{textStyle:{color:n}},visualMap:{textStyle:{color:n}},timeline:{lineStyle:{color:n},itemStyle:{normal:{color:i[1]}},label:{normal:{textStyle:{color:n}}},controlStyle:{normal:{color:n,borderColor:n}}},timeAxis:r(),logAxis:r(),valueAxis:r(),categoryAxis:r(),line:{symbol:"circle"},graph:{color:i},gauge:{title:{textStyle:{color:n}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};o.categoryAxis.splitLine.show=!1;var a=o;e.exports=a},"8nMs":function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("+rIm"),a=n("Znkb"),s=n("AVZG"),l=n("WN+l"),c=l.rectCoordAxisBuildSplitArea,u=l.rectCoordAxisHandleRemove,d=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine","minorSplitLine"],f=a.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,a){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new i.Group,this.group.add(this._axisGroup),e.get("show")){var c=e.getCoordSysModel(),u=s.layout(c,e),p=new o(e,u);r.each(d,p.add,p),this._axisGroup.add(p.getGroup()),r.each(h,(function(t){e.get(t+".show")&&this["_"+t](e,c)}),this),i.groupTransition(l,this._axisGroup,e),f.superCall(this,"render",e,t,n,a)}},remove:function(){u(this)},_splitLine:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var o=e.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=r.isArray(s)?s:[s];for(var l=t.coordinateSystem.getRect(),c=n.isHorizontal(),u=0,d=n.getTicksCoords({tickModel:o}),h=[],f=[],p=a.getLineStyle(),A=0;A<d.length;A++){var g=n.toGlobalCoord(d[A].coord);c?(h[0]=g,h[1]=l.y,f[0]=g,f[1]=l.y+l.height):(h[0]=l.x,h[1]=g,f[0]=l.x+l.width,f[1]=g);var m=u++%s.length,v=d[A].tickValue;this._axisGroup.add(new i.Line({anid:null!=v?"line_"+d[A].tickValue:null,subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:f[0],y2:f[1]},style:r.defaults({stroke:s[m]},p),silent:!0}))}}},_minorSplitLine:function(e,t){var n=e.axis,r=e.getModel("minorSplitLine"),o=r.getModel("lineStyle"),a=t.coordinateSystem.getRect(),s=n.isHorizontal(),l=n.getMinorTicksCoords();if(l.length)for(var c=[],u=[],d=o.getLineStyle(),h=0;h<l.length;h++)for(var f=0;f<l[h].length;f++){var p=n.toGlobalCoord(l[h][f].coord);s?(c[0]=p,c[1]=a.y,u[0]=p,u[1]=a.y+a.height):(c[0]=a.x,c[1]=p,u[0]=a.x+a.width,u[1]=p),this._axisGroup.add(new i.Line({anid:"minor_line_"+l[h][f].tickValue,subPixelOptimize:!0,shape:{x1:c[0],y1:c[1],x2:u[0],y2:u[1]},style:d,silent:!0}))}},_splitArea:function(e,t){c(this,this._axisGroup,e,t)}});f.extend({type:"xAxis"}),f.extend({type:"yAxis"})},"8nly":function(e,t,n){var r=n("mFDi"),i=n("4mN7"),o=n("QBsz"),a=n("BlVb");function s(e,t,n){if(this.name=e,this.geometries=t,n)n=[n[0],n[1]];else{var r=this.getBoundingRect();n=[r.x+r.width/2,r.y+r.height/2]}this.center=n}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var e=this._rect;if(e)return e;for(var t=Number.MAX_VALUE,n=[t,t],a=[-t,-t],s=[],l=[],c=this.geometries,u=0;u<c.length;u++)if("polygon"===c[u].type){var d=c[u].exterior;i.fromPoints(d,s,l),o.min(n,n,s),o.max(a,a,l)}return 0===u&&(n[0]=n[1]=a[0]=a[1]=0),this._rect=new r(n[0],n[1],a[0]-n[0],a[1]-n[1])},contain:function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var r=0,i=n.length;r<i;r++)if("polygon"===n[r].type){var o=n[r].exterior,s=n[r].interiors;if(a.contain(o,e[0],e[1])){for(var l=0;l<(s?s.length:0);l++)if(a.contain(s[l]))continue e;return!0}}return!1},transformTo:function(e,t,n,i){var a=this.getBoundingRect(),s=a.width/a.height;n?i||(i=n/s):n=s*i;for(var l=new r(e,t,n,i),c=a.calculateTransform(l),u=this.geometries,d=0;d<u.length;d++)if("polygon"===u[d].type){for(var h=u[d].exterior,f=u[d].interiors,p=0;p<h.length;p++)o.applyTransform(h[p],h[p],c);for(var A=0;A<(f?f.length:0);A++)for(p=0;p<f[A].length;p++)o.applyTransform(f[A][p],f[A][p],c)}a=this._rect,a.copy(l),this.center=[a.x+a.width/2,a.y+a.height/2]},cloneShallow:function(e){null==e&&(e=this.name);var t=new s(e,this.geometries,this.center);return t._rect=this._rect,t.transformTo=null,t}};var l=s;e.exports=l},"8waO":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("iLNv"),a=n("ZWlE");n("hJvP"),n("IXyC"),n("xRUu");var s=5;r.extendComponentView({type:"parallel",render:function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},i.each(l,(function(e,t){n.getZr().on(t,this._handlers[t]=i.bind(e,this))}),this)),o.createOrUpdate(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},dispose:function(e,t){i.each(this._handlers,(function(e,n){t.getZr().off(n,e)})),this._handlers=null},_throttledDispatchExpand:function(e){this._dispatchExpand(e)},_dispatchExpand:function(e){e&&this._api.dispatchAction(i.extend({type:"parallelAxisExpand"},e))}});var l={mousedown:function(e){c(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(c(this,"click")&&t){var n=[e.offsetX,e.offsetY],r=Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2);if(r>s)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&c(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r&&null})}}};function c(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}r.registerPreprocessor(a)},"8x+h":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("K4ya"),s=n("Qxkt"),l=["#ddd"],c=i.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var n=this.option;!t&&a.replaceVisualOption(n,e,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:l},r.hasOwnProperty("liftZ")||(r.liftZ=5)},setAreas:function(e){e&&(this.areas=o.map(e,(function(e){return u(this.option,e)}),this))},setBrushOption:function(e){this.brushOption=u(this.option,e),this.brushType=this.brushOption.brushType}});function u(e,t){return o.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new s(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var d=c;e.exports=d},"8z0m":function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("RIqP"),a=n.n(o),s=n("pVnL"),l=n.n(s),c=n("J4zp"),u=n.n(c),d=n("q1tI"),h=n.n(d),f=n("TSYQ"),p=n.n(f);function A(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function g(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function m(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(A(e,t),g(t)):e.onSuccess(g(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach((function(e){null!==r[e]&&t.setRequestHeader(e,r[e])})),t.send(n),{abort:function(){t.abort()}}}var v=+new Date,y=0;function b(){return"rc-upload-"+v+"-"+ ++y}function _(e,t){return-1!==e.indexOf(t,e.length-t.length)}var w=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=e.type||"",o=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?_(r.toLowerCase(),t.toLowerCase()):/\/\*$/.test(t)?o===t.replace(/\/.*$/,""):i===t}))}return!0};function x(e,t){var n=e.createReader(),r=[];function i(){n.readEntries((function(e){var n=Array.prototype.slice.apply(e);r=r.concat(n);var o=!n.length;o?t(r):i()}))}i()}var C=function(e,t,n){var r=function e(r,i){i=i||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&x(r,(function(t){t.forEach((function(t){e(t,""+i+r.name+"/")}))}))};e.forEach((function(e){r(e.webkitGetAsEntry())}))},S=C,k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),O=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function L(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var D=function(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})},P=function(e){function t(){var e,n,r,i;T(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return r=I(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n=r,r.state={uid:b()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(e){var t=r.fileInput;if(t){var n=r.props,i=n.children,o=n.onClick;i&&"button"===i.type&&(t.parentNode.focus(),t.parentNode.querySelector("button").blur()),t.click(),o&&o(e)}},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)S(Array.prototype.slice.call(e.dataTransfer.items),r.uploadFiles,(function(e){return w(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return w(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=b(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},i=n,I(r,i)}return L(t,e),O(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var i=r.beforeUpload(e,t);i&&i.then?i.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)}))["catch"]((function(e){console.log(e)})):!1!==i&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.onStart,i=n.onProgress,o=n.transformFile,a=void 0===o?function(e){return e}:o;new Promise((function(t){var r=n.action;return"function"===typeof r&&(r=r(e)),t(r)})).then((function(o){var s=e.uid,l=n.customRequest||m,c=Promise.resolve(a(e)).then((function(e){var t=n.data;return"function"===typeof t&&(t=t(e)),Promise.all([e,t])}))["catch"]((function(e){console.error(e)}));c.then((function(a){var c=E(a,2),u=c[0],d=c[1],h={action:o,filename:n.name,data:d,file:u,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:i?function(t){i(t,e)}:null,onSuccess:function(r,i){delete t.reqs[s],n.onSuccess(r,e,i)},onError:function(r,i){delete t.reqs[s],n.onError(r,i,e)}};r(e),t.reqs[s]=l(h)}))}))}}},{key:"reset",value:function(){this.setState({uid:b()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,i=t.className,o=t.disabled,a=t.id,s=t.style,l=t.multiple,c=t.accept,u=t.children,d=t.directory,f=t.openFileDialogOnClick,A=t.onMouseEnter,g=t.onMouseLeave,m=M(t,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),v=p()((e={},B(e,r,!0),B(e,r+"-disabled",o),B(e,i,i),e)),y=o?{}:{onClick:f?this.onClick:function(){},onKeyDown:f?this.onKeyDown:function(){},onMouseEnter:A,onMouseLeave:g,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return h.a.createElement(n,k({},y,{className:v,role:"button",style:s}),h.a.createElement("input",k({},D(m),{id:a,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:c,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:l,onChange:this.onChange})),u)}}]),t}(d["Component"]),N=P,j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function H(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function Q(){}var K=function(e){function t(){var e,n,r,i;R(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return r=U(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n=r,r.saveUploader=function(e){r.uploader=e},i=n,U(r,i)}return H(t,e),F(t,[{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){return h.a.createElement(N,j({},this.props,{ref:this.saveUploader}))}}]),t}(d["Component"]);K.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Q,onError:Q,onSuccess:Q,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var z=K,V=z,W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},G=function(e,t){var n=e.style,r=e.height,i=W(e,["style","height"]);return d["createElement"](Pe,l()({ref:t},i,{type:"drag",style:l()(l()({},n),{height:r})}))},X=d["forwardRef"](G);X.displayName="Dragger";var q=X,Y=n("UmKh"),Z=n("gZBC"),J=n.n(Z),$=n("+d4F"),ee=n.n($),te=n("XAae"),ne=n.n(te),re=n("6xvX"),ie=n.n(re),oe=n("qPY4"),ae=n.n(oe),se=n("QB+1"),le=n.n(se),ce=n("Qs3X"),ue=n.n(ce),de=n("0n0R");function he(){return!0}function fe(e){return l()(l()({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function pe(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}function Ae(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}var ge=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},me=function(e){return 0===e.indexOf("image/")},ve=function(e){if(e.type&&!e.thumbUrl)return me(e.type);var t=e.thumbUrl||e.url,n=ge(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n},ye=200;function be(e){return new Promise((function(t){if(e.type&&me(e.type)){var n=document.createElement("canvas");n.width=ye,n.height=ye,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(ye,"px; height: ").concat(ye,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),i=new Image;i.onload=function(){var e=i.width,o=i.height,a=ye,s=ye,l=0,c=0;e<o?(s=o*(ye/e),c=-(s-a)/2):(a=e*(ye/o),l=-(a-s)/2),r.drawImage(i,l,c,a,s);var u=n.toDataURL();document.body.removeChild(n),t(u)},i.src=window.URL.createObjectURL(e)}else t("")}))}var _e=n("3S7+"),we=n("CFYs"),xe=n("H84U"),Ce=n("2/Rp"),Se=n("hkKa"),ke=function(e,t){var n,r=e.listType,o=e.previewFile,a=e.onPreview,s=e.onDownload,c=e.onRemove,u=e.locale,h=e.iconRender,f=e.isImageUrl,A=e.prefixCls,g=e.items,m=void 0===g?[]:g,v=e.showPreviewIcon,y=e.showRemoveIcon,b=e.showDownloadIcon,_=e.removeIcon,w=e.downloadIcon,x=e.progress,C=Object(Se["a"])();d["useEffect"]((function(){"picture"!==r&&"picture-card"!==r||(m||[]).forEach((function(e){"undefined"!==typeof document&&"undefined"!==typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",o&&o(e.originFileObj).then((function(t){e.thumbUrl=t||"",C()})))}))}),[r,m,o]);var S=function(e,t){if(a)return t.preventDefault(),a(e)},k=function(e){"function"===typeof s?s(e):e.url&&window.open(e.url)},E=function(e){c&&c(e)},O=function(e){if(h)return h(e,r);var t="uploading"===e.status,n=f&&f(e)?d["createElement"](ne.a,null):d["createElement"](ie.a,null),i=t?d["createElement"](J.a,null):d["createElement"](ee.a,null);return"picture"===r?i=t?d["createElement"](J.a,null):n:"picture-card"===r&&(i=t?u.uploading:n),i},B=function(e,t,n,r){var i={type:"text",size:"small",title:r,onClick:function(n){t(),Object(de["b"])(e)&&e.props.onClick&&e.props.onClick(n)},className:"".concat(n,"-list-item-card-actions-btn")};if(Object(de["b"])(e)){var o=Object(de["a"])(e,l()(l()({},e.props),{onClick:function(){}}));return d["createElement"](Ce["a"],l()({},i,{icon:o}))}return d["createElement"](Ce["a"],i,d["createElement"]("span",null,e))};d["useImperativeHandle"](t,(function(){return{handlePreview:S,handleDownload:k}}));var M=d["useContext"](xe["b"]),T=M.getPrefixCls,I=M.direction,L=T("upload",A),D=m.map((function(e){var t,n,o,a=O(e),s=d["createElement"]("div",{className:"".concat(L,"-text-icon")},a);if("picture"===r||"picture-card"===r)if("uploading"===e.status||!e.thumbUrl&&!e.url){var c,h=p()((c={},i()(c,"".concat(L,"-list-item-thumbnail"),!0),i()(c,"".concat(L,"-list-item-file"),"uploading"!==e.status),c));s=d["createElement"]("div",{className:h},a)}else{var A,g=f&&f(e)?d["createElement"]("img",{src:e.thumbUrl||e.url,alt:e.name,className:"".concat(L,"-list-item-image")}):a,m=p()((A={},i()(A,"".concat(L,"-list-item-thumbnail"),!0),i()(A,"".concat(L,"-list-item-file"),f&&!f(e)),A));s=d["createElement"]("a",{className:m,onClick:function(t){return S(e,t)},href:e.url||e.thumbUrl,target:"_blank",rel:"noopener noreferrer"},g)}if("uploading"===e.status){var C="percent"in e?d["createElement"](we["a"],l()({},x,{type:"line",percent:e.percent})):null;o=d["createElement"]("div",{className:"".concat(L,"-list-item-progress"),key:"progress"},C)}var M,T=p()((t={},i()(t,"".concat(L,"-list-item"),!0),i()(t,"".concat(L,"-list-item-").concat(e.status),!0),i()(t,"".concat(L,"-list-item-list-type-").concat(r),!0),t)),I="string"===typeof e.linkProps?JSON.parse(e.linkProps):e.linkProps,D=y?B(_||d["createElement"](le.a,null),(function(){return E(e)}),L,u.removeFile):null,P=b&&"done"===e.status?B(w||d["createElement"](ue.a,null),(function(){return k(e)}),L,u.downloadFile):null,N="picture-card"!==r&&d["createElement"]("span",{key:"download-delete",className:"".concat(L,"-list-item-card-actions ").concat("picture"===r?"picture":"")},P,D),j=p()((n={},i()(n,"".concat(L,"-list-item-name"),!0),i()(n,"".concat(L,"-list-item-name-icon-count-").concat([P,D].filter((function(e){return e})).length),!0),n)),F=e.url?[d["createElement"]("a",l()({key:"view",target:"_blank",rel:"noopener noreferrer",className:j,title:e.name},I,{href:e.url,onClick:function(t){return S(e,t)}}),e.name),N]:[d["createElement"]("span",{key:"view",className:j,onClick:function(t){return S(e,t)},title:e.name},e.name),N],R={pointerEvents:"none",opacity:.5},U=v?d["createElement"]("a",{href:e.url||e.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:e.url||e.thumbUrl?void 0:R,onClick:function(t){return S(e,t)},title:u.previewFile},d["createElement"](ae.a,null)):null,H="picture-card"===r&&"uploading"!==e.status&&d["createElement"]("span",{className:"".concat(L,"-list-item-actions")},U,"done"===e.status&&P,D);M=e.response&&"string"===typeof e.response?e.response:e.error&&e.error.statusText||u.uploadError;var Q=d["createElement"]("span",null,s,F),K=d["createElement"]("div",{className:T},d["createElement"]("div",{className:"".concat(L,"-list-item-info")},Q),H,d["createElement"](Y["a"],{transitionName:"fade",component:""},o)),z=p()(i()({},"".concat(L,"-list-picture-card-container"),"picture-card"===r));return d["createElement"]("div",{key:e.uid,className:z},"error"===e.status?d["createElement"](_e["a"],{title:M,getPopupContainer:function(e){return e.parentNode}},K):d["createElement"]("span",null,K))})),P=p()((n={},i()(n,"".concat(L,"-list"),!0),i()(n,"".concat(L,"-list-").concat(r),!0),i()(n,"".concat(L,"-list-rtl"),"rtl"===I),n)),N="picture-card"===r?"animate-inline":"animate";return d["createElement"](Y["a"],{transitionName:"".concat(L,"-").concat(N),component:"div",className:P},D)},Ee=d["forwardRef"](ke);Ee.displayName="UploadList",Ee.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:be,isImageUrl:ve};var Oe=Ee,Be=n("YMnH"),Me=n("ZvpZ"),Te=n("uaoM"),Ie=n("sPtV"),Le=function(e,t){var n,r=e.fileList,o=e.defaultFileList,s=e.onRemove,c=e.showUploadList,h=e.listType,f=e.onPreview,A=e.onDownload,g=e.previewFile,m=e.disabled,v=e.locale,y=e.iconRender,b=e.isImageUrl,_=e.progress,w=e.prefixCls,x=e.className,C=e.type,S=e.children,k=e.style,E=Object(Ie["a"])(r||o||[]),O=u()(E,2),B=O[0],M=O[1],T=d["useState"]("drop"),I=u()(T,2),L=I[0],D=I[1],P=d["useRef"]();d["useEffect"]((function(){M(r||o||[]),Object(Te["a"])("fileList"in e||!("value"in e),"Upload","`value` is not a valid prop, do you mean `fileList`?")}),[]),d["useEffect"]((function(){"fileList"in e&&M(r||[])}),[r]);var N=function(t){"fileList"in e||M(t.fileList);var n=e.onChange;n&&n(l()(l()({},t),{fileList:a()(t.fileList)}))},j=function(e){var t=fe(e);t.status="uploading";var n=B().concat(),r=n.findIndex((function(e){var n=e.uid;return n===t.uid}));-1===r?n.push(t):n[r]=t,N({file:t,fileList:n})},F=function(e,t,n){try{"string"===typeof e&&(e=JSON.parse(e))}catch(i){}var r=pe(t,B());r&&(r.status="done",r.response=e,r.xhr=n,N({file:l()({},r),fileList:B().concat()}))},R=function(e,t){var n=pe(t,B());n&&(n.percent=e.percent,N({event:e,file:l()({},n),fileList:B().concat()}))},U=function(e,t,n){var r=pe(n,B());r&&(r.error=e,r.response=t,r.status="error",N({file:l()({},r),fileList:B().concat()}))},H=function(e){Promise.resolve("function"===typeof s?s(e):s).then((function(t){if(!1!==t){var n=Ae(e,B());n&&(e.status="removed",P.current&&P.current.abort(e),N({file:e,fileList:n}))}}))},Q=function(e){D(e.type)},K=function(t,n){var r=e.beforeUpload;if(!r)return!0;var i=r(t,n);if(!1===i){var o=[];return B().concat(n.map(fe)).forEach((function(e){o.every((function(t){return t.uid!==e.uid}))&&o.push(e)})),N({file:t,fileList:o}),!1}return!i||!i.then||i},z=Object(Se["a"])();d["useImperativeHandle"](t,(function(){return{onStart:j,onSuccess:F,onProgress:R,onError:U,fileList:B(),upload:P.current,forceUpdate:z}}));var W=function(e){var t=c.showRemoveIcon,n=c.showPreviewIcon,r=c.showDownloadIcon,i=c.removeIcon,o=c.downloadIcon;return d["createElement"](Oe,{listType:h,items:B(),previewFile:g,onPreview:f,onDownload:A,onRemove:H,showRemoveIcon:!m&&t,showPreviewIcon:n,showDownloadIcon:r,removeIcon:i,downloadIcon:o,iconRender:y,locale:l()(l()({},e),v),isImageUrl:b,progress:_})},G=d["useContext"](xe["b"]),X=G.getPrefixCls,q=G.direction,Y=X("upload",w),Z=l()(l()({onStart:j,onError:U,onProgress:R,onSuccess:F},e),{prefixCls:Y,beforeUpload:K});delete Z.className,delete Z.style,S&&!m||delete Z.id;var J=c?d["createElement"](Be["a"],{componentName:"Upload",defaultLocale:Me["a"].Upload},W):null;if("drag"===C){var $,ee=p()(Y,($={},i()($,"".concat(Y,"-drag"),!0),i()($,"".concat(Y,"-drag-uploading"),B().some((function(e){return"uploading"===e.status}))),i()($,"".concat(Y,"-drag-hover"),"dragover"===L),i()($,"".concat(Y,"-disabled"),m),i()($,"".concat(Y,"-rtl"),"rtl"===q),$),x);return d["createElement"]("span",null,d["createElement"]("div",{className:ee,onDrop:Q,onDragOver:Q,onDragLeave:Q,style:k},d["createElement"](V,l()({},Z,{ref:P,className:"".concat(Y,"-btn")}),d["createElement"]("div",{className:"".concat(Y,"-drag-container")},S))),J)}var te=p()(Y,(n={},i()(n,"".concat(Y,"-select"),!0),i()(n,"".concat(Y,"-select-").concat(h),!0),i()(n,"".concat(Y,"-disabled"),m),i()(n,"".concat(Y,"-rtl"),"rtl"===q),n)),ne=d["createElement"]("div",{className:te,style:S?void 0:{display:"none"}},d["createElement"](V,l()({},Z,{ref:P})));return"picture-card"===h?d["createElement"]("span",{className:p()(x,"".concat(Y,"-picture-card-wrapper"))},J,ne):d["createElement"]("span",{className:x},ne,J)},De=d["forwardRef"](Le);De.Dragger=q,De.displayName="Upload",De.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:he,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var Pe=De;Pe.Dragger=q;t["a"]=Pe},"98bh":function(e,t,n){var r=n("ProS"),i=n("5GtS"),o=n("bYtY"),a=n("4NO4"),s=n("OELB"),l=s.getPercentWithPrecision,c=n("cCMj"),u=n("KxfA"),d=u.retrieveRawAttr,h=n("D5nY"),f=h.makeSeriesEncodeForNameBased,p=n("xKMd"),A=r.extendSeriesModel({type:"series.pie",init:function(e){A.superApply(this,"init",arguments),this.legendVisualProvider=new p(o.bind(this.getData,this),o.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(e)},mergeOption:function(e){A.superCall(this,"mergeOption",e),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e,t){return i(this,{coordDimensions:["value"],encodeDefaulter:o.curry(f,this)})},_createSelectableList:function(){for(var e=this.getRawData(),t=e.mapDimension("value"),n=[],r=0,i=e.count();r<i;r++)n.push({name:e.getName(r),value:e.get(t,r),selected:d(e,r,"selected")});return n},getDataParams:function(e){var t=this.getData(),n=A.superCall(this,"getDataParams",e),r=[];return t.each(t.mapDimension("value"),(function(e){r.push(e)})),n.percent=l(r,e,t.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},_defaultLabelLine:function(e){a.defaultEmphasis(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});o.mixin(A,c);var g=A;e.exports=g},"9H2F":function(e,t,n){var r=n("bYtY"),i=(r.assert,r.isArray),o=n("Tghj");o.__DEV__;function a(e){return new s(e)}function s(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(e){var t,n=this._upstream,r=e&&e.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(t=this._plan(this.context));var a,s=f(this._modBy),l=this._modDataCount||0,c=f(e&&e.modBy),h=e&&e.modDataCount||0;function f(e){return!(e>=1)&&(e=1),e}s===c&&l===h||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,a=d(this,r)),this._modBy=c,this._modDataCount=h;var p=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var A=this._dueIndex,g=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!r&&(a||A<g)){var m=this._progress;if(i(m))for(var v=0;v<m.length;v++)u(this,m[v],A,g,c,h);else u(this,m,A,g,c,h)}this._dueIndex=g;var y=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=y}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var c=function(){var e,t,n,r,i,o={reset:function(l,c,u,d){t=l,e=c,n=u,r=d,i=Math.ceil(r/n),o.next=n>1&&r>0?s:a}};return o;function a(){return t<e?t++:null}function s(){var o=t%i*n+Math.ceil(t/i),a=t>=e?null:o<r?o:t;return t++,a}}();function u(e,t,n,r,i,o){c.reset(n,r,i,o),e._callingProgress=t,e._callingProgress({start:n,end:r,count:r-n,next:c.next},e.context)}function d(e,t){var n,r;e._dueIndex=e._outputDueEnd=e._dueEnd=0,e._settedOutputEnd=null,!t&&e._reset&&(n=e._reset(e.context),n&&n.progress&&(r=n.forceFirstProgress,n=n.progress),i(n)&&!n.length&&(n=null)),e._progress=n,e._modBy=e._modDataCount=null;var o=e._downstream;return o&&o.dirty(),r}l.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},l.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},l.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},l.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},l.getUpstream=function(){return this._upstream},l.getDownstream=function(){return this._downstream},l.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},t.createTask=a},"9KIM":function(e,t,n){var r=n("mFDi"),i=n("xSat"),o=i.onIrrelevantElement,a=n("IwbS");function s(e){return e=u(e),function(t,n){return a.clipPointsByRect(t,e)}}function l(e,t){return e=u(e),function(n){var r=null!=t?t:n,i=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(i||0)]}}function c(e,t,n){return e=u(e),function(r,i,a){return e.contain(i[0],i[1])&&!o(r,t,n)}}function u(e){return r.create(e)}t.makeRectPanelClipPath=s,t.makeLinearBrushOtherExtent=l,t.makeRectIsTargetByCursor=c},"9ama":function(e,t,n){},"9eas":function(e,t,n){n("HM/N"),n("tBnm")},"9hCq":function(e,t,n){var r=n("IwbS"),i=n("+TT/"),o=n("bYtY"),a=n("VaxA"),s=a.wrapTreePathInfo,l=8,c=8,u=5;function d(e){this.group=new r.Group,e.add(this.group)}function h(e,t,n,r,i,o){var a=[[i?e:e-u,t],[e+n,t],[e+n,t+r],[i?e:e-u,t+r]];return!o&&a.splice(2,0,[e+n+u,t+r/2]),!i&&a.push([e,t+r/2]),a}function f(e,t,n){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&s(n,t)}}d.prototype={constructor:d,render:function(e,t,n,r){var o=e.getModel("breadcrumb"),a=this.group;if(a.removeAll(),o.get("show")&&n){var s=o.getModel("itemStyle"),l=s.getModel("textStyle"),c={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,l),this._renderContent(e,c,s,l,r),i.positionElement(a,c.pos,c.box)}},_prepare:function(e,t,n){for(var r=e;r;r=r.parentNode){var i=r.getModel().get("name"),o=n.getTextRect(i),a=Math.max(o.width+2*l,t.emptyItemWidth);t.totalWidth+=a+c,t.renderList.push({node:r,text:i,width:a})}},_renderContent:function(e,t,n,a,s){for(var l=0,u=t.emptyItemWidth,d=e.get("breadcrumb.height"),p=i.getAvailableSize(t.pos,t.box),A=t.totalWidth,g=t.renderList,m=g.length-1;m>=0;m--){var v=g[m],y=v.node,b=v.width,_=v.text;A>p.width&&(A-=b-u,b=u,_=null);var w=new r.Polygon({shape:{points:h(l,0,b,d,m===g.length-1,0===m)},style:o.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:o.curry(s,y)});this.group.add(w),f(w,e,y),l+=b+c}},remove:function(){this.group.removeAll()}};var p=d;e.exports=p},"9u0u":function(e,t,n){var r=n("bYtY");function i(e,t){var n={};return r.each(e,(function(e){e.each(e.mapDimension("value"),(function(t,r){var i="ec-"+e.getName(r);n[i]=n[i]||[],isNaN(t)||n[i].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(r,i){for(var o,a="ec-"+e[0].getName(i),s=0,l=1/0,c=-1/0,u=n[a].length,d=0;d<u;d++)l=Math.min(l,n[a][d]),c=Math.max(c,n[a][d]),s+=n[a][d];return o="min"===t?l:"max"===t?c:"average"===t?s/u:s,0===u?NaN:o}))}function o(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),r=n?"o"+n.id:"i"+e.getMapType();(t[r]=t[r]||[]).push(e)})),r.each(t,(function(e,t){for(var n=i(r.map(e,(function(e){return e.getData()})),e[0].get("mapValueCalculation")),o=0;o<e.length;o++)e[o].originalData=e[o].getData();for(o=0;o<e.length;o++)e[o].seriesGroup=e,e[o].needsDrawMap=0===o&&!e[o].getHostGeoModel(),e[o].setData(n.cloneShallow()),e[o].mainSeries=e[0]}))}e.exports=o},"9wZj":function(e,t,n){var r=n("IwbS"),i=n("FBjb"),o=n("bYtY"),a=o.isObject;function s(e){this.group=new r.Group,this._symbolCtor=e||i}var l=s.prototype;function c(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function u(e){return null==e||a(e)||(e={isIgnore:e}),e||{}}function d(e){var t=e.hostModel;return{itemStyle:t.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:t.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label"),cursorStyle:t.get("cursor")}}l.updateData=function(e,t){t=u(t);var n=this.group,i=e.hostModel,o=this._data,a=this._symbolCtor,s=d(e);o||n.removeAll(),e.diff(o).add((function(r){var i=e.getItemLayout(r);if(c(e,i,r,t)){var o=new a(e,r,s);o.attr("position",i),e.setItemGraphicEl(r,o),n.add(o)}})).update((function(l,u){var d=o.getItemGraphicEl(u),h=e.getItemLayout(l);c(e,h,l,t)?(d?(d.updateData(e,l,s),r.updateProps(d,{position:h},i)):(d=new a(e,l),d.attr("position",h)),n.add(d),e.setItemGraphicEl(l,d)):n.remove(d)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}))})).execute(),this._data=e},l.isPersistent=function(){return!0},l.updateLayout=function(){var e=this._data;e&&e.eachItemGraphicEl((function(t,n){var r=e.getItemLayout(n);t.attr("position",r)}))},l.incrementalPrepareUpdate=function(e){this._seriesScope=d(e),this._data=null,this.group.removeAll()},l.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=e.useHoverLayer=!0)}n=u(n);for(var i=e.start;i<e.end;i++){var o=t.getItemLayout(i);if(c(t,o,i,n)){var a=new this._symbolCtor(t,i,this._seriesScope);a.traverse(r),a.attr("position",o),this.group.add(a),t.setItemGraphicEl(i,a)}}},l.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl((function(e){e.fadeOut((function(){t.remove(e)}))})):t.removeAll()};var h=s;e.exports=h},"9yH6":function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("q1tI"),l=n("x1Ya"),c=n("TSYQ"),u=n.n(c),d=n("H84U"),h=s["createContext"](null),f=h.Provider,p=h,A=n("cDf5"),g=n.n(A);function m(e,t){"function"===typeof e?e(t):"object"===g()(e)&&e&&"current"in e&&(e.current=t)}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){m(t,e)}))}}var y=n("uaoM"),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},_=function(e,t){var n,r=s["useContext"](p),o=s["useContext"](d["b"]),c=o.getPrefixCls,h=o.direction,f=s["useRef"](),A=v(t,f);s["useEffect"]((function(){Object(y["a"])(!("optionType"in e),"Radio","`optionType` is only support in Radio.Group.")}),[]);var g=function(t){e.onChange&&e.onChange(t),(null===r||void 0===r?void 0:r.onChange)&&r.onChange(t)},m=e.prefixCls,_=e.className,w=e.children,x=e.style,C=b(e,["prefixCls","className","children","style"]),S=c("radio",m),k=a()({},C);r&&(k.name=r.name,k.onChange=g,k.checked=e.value===r.value,k.disabled=e.disabled||r.disabled);var E=u()(_,(n={},i()(n,"".concat(S,"-wrapper"),!0),i()(n,"".concat(S,"-wrapper-checked"),k.checked),i()(n,"".concat(S,"-wrapper-disabled"),k.disabled),i()(n,"".concat(S,"-wrapper-rtl"),"rtl"===h),n));return s["createElement"]("label",{className:E,style:x,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},s["createElement"](l["a"],a()({},k,{prefixCls:S,ref:A})),void 0!==w?s["createElement"]("span",null,w):null)},w=s["forwardRef"](_);w.displayName="Radio",w.defaultProps={type:"radio"};var x=w,C=n("J4zp"),S=n.n(C),k=n("6cGi"),E=n("3Nzz"),O=s["forwardRef"]((function(e,t){var n=s["useContext"](d["b"]),r=n.getPrefixCls,o=n.direction,a=s["useContext"](E["b"]),l=Object(k["a"])(e.defaultValue,{value:e.value}),c=S()(l,2),h=c[0],p=c[1],A=function(t){var n=h,r=t.target.value;"value"in e||p(r);var i=e.onChange;i&&r!==n&&i(t)},g=function(){var n,l=e.prefixCls,c=e.className,d=void 0===c?"":c,f=e.options,p=e.optionType,A=e.buttonStyle,g=e.disabled,m=e.children,v=e.size,y=e.style,b=e.id,_=e.onMouseEnter,w=e.onMouseLeave,C=r("radio",l),S="".concat(C,"-group"),k=m;if(f&&f.length>0){var E="button"===p?"".concat(C,"-button"):C;k=f.map((function(e){return"string"===typeof e?s["createElement"](x,{ref:t,key:e,prefixCls:E,disabled:g,value:e,checked:h===e},e):s["createElement"](x,{ref:t,key:"radio-group-value-options-".concat(e.value),prefixCls:E,disabled:e.disabled||g,value:e.value,checked:h===e.value,style:e.style},e.label)}))}var O=v||a,B=u()(S,"".concat(S,"-").concat(A),(n={},i()(n,"".concat(S,"-").concat(O),O),i()(n,"".concat(S,"-rtl"),"rtl"===o),n),d);return s["createElement"]("div",{className:B,style:y,onMouseEnter:_,onMouseLeave:w,id:b},k)};return s["createElement"](f,{value:{onChange:A,value:h,disabled:e.disabled,name:e.name}},g())}));O.defaultProps={buttonStyle:"outline"};var B=s["memo"](O),M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},T=function(e,t){var n=s["useContext"](p),r=s["useContext"](d["b"]),i=r.getPrefixCls,o=e.prefixCls,l=M(e,["prefixCls"]),c=i("radio-button",o);return n&&(l.checked=e.value===n.value,l.disabled=e.disabled||n.disabled),s["createElement"](x,a()({prefixCls:c},l,{type:"radio",ref:t}))},I=s["forwardRef"](T),L=x;L.Button=I,L.Group=B;t["a"]=L},A1Ka:function(e,t,n){var r=n("bLfw"),i=n("sS/r"),o=n("D5nY"),a=o.detectSourceFormat,s=n("k9D9"),l=s.SERIES_LAYOUT_BY_COLUMN;r.extend({type:"dataset",defaultOption:{seriesLayoutBy:l,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){a(this)}}),i.extend({type:"dataset"})},A90E:function(e,t,n){var r=n("6sVZ"),i=n("V6Ve"),o=Object.prototype,a=o.hasOwnProperty;function s(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}e.exports=s},ABKa:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("Qs9O")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="FolderOutlined";var h=a.forwardRef(d);t.default=h},ACnJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return s}));var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=["xxl","xl","lg","md","sm","xs"],l={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},c=new Map,u=-1,d={},h={matchHandlers:{},dispatch:function(e){return d=e,c.forEach((function(e){return e(d)})),c.size>=1},subscribe:function(e){return c.size||this.register(),u+=1,c.set(u,e),e(d),u},unsubscribe:function(e){c["delete"](e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(l).forEach((function(t){var n=l[t],r=e.matchHandlers[n];null===r||void 0===r||r.mql.removeListener(null===r||void 0===r?void 0:r.listener)})),c.clear()},register:function(){var e=this;Object.keys(l).forEach((function(t){var n=l[t],r=function(n){var r=n.matches;e.dispatch(a()(a()({},d),i()({},t,r)))},o=window.matchMedia(n);o.addListener(r),e.matchHandlers[n]={mql:o,listener:r},r(o)}))}};t["a"]=h},AE9C:function(e,t,n){var r=n("bYtY"),i=n("crZl"),o=n("IwbS"),a=n("oVpE"),s=a.createSymbol,l=n("+TT/"),c=n("y7Aq"),u=i.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),i=t.textStyleModel,a=i.getFont(),s=i.getTextColor(),c=this._getItemAlign(),u=t.itemSize,d=this._getViewData(),h=d.endsText,f=r.retrieve(t.get("showLabel",!0),!h);function p(i){var l=i.piece,d=new o.Group;d.onclick=r.bind(this._onItemClick,this,l),this._enableHoverLink(d,i.indexInModelPieceList);var h=t.getRepresentValue(l);if(this._createItemSymbol(d,h,[0,0,u[0],u[1]]),f){var p=this.visualMapModel.getValueState(h);d.add(new o.Text({style:{x:"right"===c?-n:u[0]+n,y:u[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:c,textFont:a,textFill:s,opacity:"outOfRange"===p?.5:1}}))}e.add(d)}h&&this._renderEndsText(e,h[0],u,f,c),r.each(d.viewPieceList,p,this),h&&this._renderEndsText(e,h[1],u,f,c),l.box(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,t){function n(e){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:e,batch:c.makeHighDownBatch(n.findTargetDataIndices(t),n)})}e.on("mouseover",r.bind(n,this,"highlight")).on("mouseout",r.bind(n,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return c.getItemAlign(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(e,t,n,r,i){if(t){var a=new o.Group,s=this.visualMapModel.textStyleModel;a.add(new o.Text({style:{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:r?i:"center",text:t,textFont:s.getFont(),textFill:s.getTextColor()}})),e.add(a)}},_getViewData:function(){var e=this.visualMapModel,t=r.map(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),i=e.get("orient"),o=e.get("inverse");return("horizontal"===i?o:!o)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},_createItemSymbol:function(e,t,n){e.add(s(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,n=t.option,i=r.clone(n.selected),o=t.getSelectedMapKey(e);"single"===n.selectedMode?(i[o]=!0,r.each(i,(function(e,t){i[t]=t===o}))):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}}),d=u;e.exports=d},AEZ6:function(e,t,n){var r=n("bYtY"),i=r.each,o=r.createHashMap,a=n("T4UG"),s=n("MwEJ"),l=a.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(e,t){var n=this.getSource();return c(n,this),s(n,this)},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,n=this.getData(),r=[];return t.eachActiveState(n,(function(t,i){e===t&&r.push(n.getRawIndex(i))})),r},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function c(e,t){if(!e.encodeDefine){var n=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(n){var r=e.encodeDefine=o();i(n.dimensions,(function(e){var t=u(e);r.set(e,t)}))}}}function u(e){return+e.replace("dim","")}e.exports=l},AH3D:function(e,t,n){var r=n("ProS");n("y4/Y"),n("qWt2"),n("Qvb6"),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},ALo7:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("5GtS"),a=n("4NO4"),s=a.defaultEmphasis,l=n("D5nY"),c=l.makeSeriesEncodeForNameBased,u=n("xKMd"),d=r.extendSeriesModel({type:"series.funnel",init:function(e){d.superApply(this,"init",arguments),this.legendVisualProvider=new u(i.bind(this.getData,this),i.bind(this.getRawData,this)),this._defaultLabelLine(e)},getInitialData:function(e,t){return o(this,{coordDimensions:["value"],encodeDefaulter:i.curry(c,this)})},_defaultLabelLine:function(e){s(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},getDataParams:function(e){var t=this.getData(),n=d.superCall(this,"getDataParams",e),r=t.mapDimension("value"),i=t.getSum(r);return n.percent=i?+(t.get(r,e)/i*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),h=d;e.exports=h},ANhw:function(e,t){(function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],o=0;o<4;o++)8*r+6*o<=8*e.length?n.push(t.charAt(i>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}};e.exports=n})()},ANjR:function(e,t,n){var r=n("bYtY");function i(e,t){return t=t||[0,0],r.map([0,1],(function(n){var r=t[n],i=e[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function o(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:r.bind(i,e)}}}e.exports=o},AOa7:function(e,t,n){},AUH6:function(e,t,n){var r=n("bYtY"),i=n("mFDi"),o=n("bMXI"),a=n("W4dC");function s(e,t,n,r){o.call(this,e),this.map=t;var i=a.load(t,n);this._nameCoordMap=i.nameCoordMap,this._regionsMap=i.regionsMap,this._invertLongitute=null==r||r,this.regions=i.regions,this._rect=i.boundingRect}function l(e,t,n,r){var i=n.geoModel,o=n.seriesModel,a=i?i.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[e](r):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return!0;return!1},transformTo:function(e,t,n,r){var o=this.getBoundingRect(),a=this._invertLongitute;o=o.clone(),a&&(o.y=-o.y-o.height);var s=this._rawTransformable;if(s.transform=o.calculateTransform(new i(e,t,n,r)),s.decomposeTransform(),a){var l=s.scale;l[1]=-l[1]}s.updateTransform(),this._updateTransform()},getRegion:function(e){return this._regionsMap.get(e)},getRegionByCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return t[n]},addGeoCoord:function(e,t){this._nameCoordMap.set(e,t)},getGeoCoord:function(e){return this._nameCoordMap.get(e)},getBoundingRect:function(){return this._rect},dataToPoint:function(e,t,n){if("string"===typeof e&&(e=this.getGeoCoord(e)),e)return o.prototype.dataToPoint.call(this,e,t,n)},convertToPixel:r.curry(l,"dataToPoint"),convertFromPixel:r.curry(l,"pointToData")},r.mixin(s,o);var c=s;e.exports=c},AVZG:function(e,t,n){var r=n("bYtY");function i(e,t,n){n=n||{};var i=e.coordinateSystem,o=t.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,c=s?"onZero":l,u=o.dim,d=i.getRect(),h=[d.x,d.x+d.width,d.y,d.y+d.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,A="x"===u?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(s){var g=s.toGlobalCoord(s.dataToCoord(0));A[f.onZero]=Math.max(Math.min(g,A[1]),A[0])}a.position=["y"===u?A[f[c]]:h[0],"x"===u?A[f[c]]:h[3]],a.rotation=Math.PI/2*("x"===u?0:1);var m={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=m[l],a.labelOffset=s?A[f[l]]-A[f.onZero]:0,t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),r.retrieve(n.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var v=t.get("axisLabel.rotate");return a.labelRotate="top"===c?-v:v,a.z2=1,a}t.layout=i},"Ae+d":function(e,t){function n(e,t,n){var r=e.target,i=r.position;i[0]+=t,i[1]+=n,r.dirty()}function r(e,t,n,r){var i=e.target,o=e.zoomLimit,a=i.position,s=i.scale,l=e.zoom=e.zoom||1;if(l*=t,o){var c=o.min||0,u=o.max||1/0;l=Math.max(Math.min(u,l),c)}var d=l/e.zoom;e.zoom=l,a[0]-=(n-a[0])*(d-1),a[1]-=(r-a[1])*(d-1),s[0]*=d,s[1]*=d,i.dirty()}t.updateViewOnPan=n,t.updateViewOnZoom=r},Ae16:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS");n("Wqna"),n("rySg"),r.extendComponentView({type:"grid",render:function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new o.Rect({shape:e.coordinateSystem.getRect(),style:i.defaults({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))}}),r.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))},Awhp:function(e,t,n){"use strict";n("cIOH"),n("PQMj")},"B+YJ":function(e,t,n){n("TYVI"),n("p1MT")},"B6l+":function(e,t,n){var r=n("Sq3C"),i=n("Z1HP"),o=n("Sxd8"),a=n("dt0z");function s(e,t,n){e=a(e),t=o(t);var s=t?i(e):0;return t&&s<t?e+r(t-s,n):e}e.exports=s},B8du:function(e,t){function n(){return!1}e.exports=n},B9cy:function(e,t,n){"use strict";n("cIOH"),n("0XgM")},B9fm:function(e,t,n){var r=n("bYtY"),i=n("Qe9p"),o=n("YH21"),a=n("Ze12"),s=n("ItGF"),l=n("7aKB"),c=r.each,u=l.toCamelCase,d=["","-webkit-","-moz-","-o-"],h="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function f(e){var t="cubic-bezier(0.23, 1, 0.32, 1)",n="left "+e+"s "+t+",top "+e+"s "+t;return r.map(d,(function(e){return e+"transition:"+n})).join(";")}function p(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();return r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px"),c(["decoration","align"],(function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)})),t.join(";")}function A(e){var t=[],n=e.get("transitionDuration"),r=e.get("backgroundColor"),o=e.getModel("textStyle"),a=e.get("padding");return n&&t.push(f(n)),r&&(s.canvasSupported?t.push("background-Color:"+r):(t.push("background-Color:#"+i.toHex(r)),t.push("filter:alpha(opacity=70)"))),c(["width","color","radius"],(function(n){var r="border-"+n,i=u(r),o=e.get(i);null!=o&&t.push(r+":"+o+("color"===n?"":"px"))})),t.push(p(o)),null!=a&&t.push("padding:"+l.normalizeCssArray(a).join("px ")+"px"),t.join(";")+";"}function g(e,t,n,r,i){var o=t&&t.painter;if(n){var s=o&&o.getViewportRoot();s&&a.transformLocalCoord(e,s,document.body,r,i)}else{e[0]=r,e[1]=i;var l=o&&o.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}}function m(e,t,n){if(s.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=t.getZr(),a=this._appendToBody=n&&n.appendToBody;this._styleCoord=[0,0],g(this._styleCoord,i,a,t.getWidth()/2,t.getHeight()/2),a?document.body.appendChild(r):e.appendChild(r),this._container=e,this._show=!1,this._hideTimeout;var l=this;r.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},r.onmousemove=function(e){if(e=e||window.event,!l._enterable){var t=i.handler,n=i.painter.getViewportRoot();o.normalizeEvent(n,e,!0),t.dispatch("mousemove",e)}},r.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}m.prototype={constructor:m,_enterable:!0,update:function(){var e=this._container,t=e.currentStyle||document.defaultView.getComputedStyle(e),n=e.style;"absolute"!==n.position&&"absolute"!==t.position&&(n.position="relative")},show:function(e){clearTimeout(this._hideTimeout);var t=this.el,n=this._styleCoord;t.style.cssText=h+A(e)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",t.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var n=this._styleCoord;g(n,this._zr,this._appendToBody,e,t);var r=this.el.style;r.left=n[0]+"px",r.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var e=this.el.clientWidth,t=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(e+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),t+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:e,height:t}}};var v=m;e.exports=v},BEtg:function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},BMrR:function(e,t,n){"use strict";var r=n("qrJ5");t["a"]=r["a"]},BPZU:function(e,t){var n=32,r=7;function i(e){var t=0;while(e>=n)t|=1&e,e>>=1;return e+t}function o(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){while(i<n&&r(e[i],e[i-1])<0)i++;a(e,t,i)}else while(i<n&&r(e[i],e[i-1])>=0)i++;return i-t}function a(e,t,n){n--;while(t<n){var r=e[t];e[t++]=e[n],e[n--]=r}}function s(e,t,n,r,i){for(r===t&&r++;r<n;r++){var o,a=e[r],s=t,l=r;while(s<l)o=s+l>>>1,i(a,e[o])<0?l=o:s=o+1;var c=r-s;switch(c){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:while(c>0)e[s+c]=e[s+c-1],c--}e[s]=a}}function l(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])>0){s=r-i;while(l<s&&o(e,t[n+i+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{s=i+1;while(l<s&&o(e,t[n+i-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var c=a;a=i-l,l=i-c}a++;while(a<l){var u=a+(l-a>>>1);o(e,t[n+u])>0?a=u+1:l=u}return l}function c(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])<0){s=i+1;while(l<s&&o(e,t[n+i-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var c=a;a=i-l,l=i-c}else{s=r-i;while(l<s&&o(e,t[n+i+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}a++;while(a<l){var u=a+(l-a>>>1);o(e,t[n+u])<0?l=u:a=u+1}return l}function u(e,t){var n,i,o=r,a=0,s=0;a=e.length;var u=[];function d(e,t){n[s]=e,i[s]=t,s+=1}function h(){while(s>1){var e=s-2;if(e>=1&&i[e-1]<=i[e]+i[e+1]||e>=2&&i[e-2]<=i[e]+i[e-1])i[e-1]<i[e+1]&&e--;else if(i[e]>i[e+1])break;p(e)}}function f(){while(s>1){var e=s-2;e>0&&i[e-1]<i[e+1]&&e--,p(e)}}function p(r){var o=n[r],a=i[r],u=n[r+1],d=i[r+1];i[r]=a+d,r===s-3&&(n[r+1]=n[r+2],i[r+1]=i[r+2]),s--;var h=c(e[u],e,o,a,0,t);o+=h,a-=h,0!==a&&(d=l(e[o+a-1],e,u,d,d-1,t),0!==d&&(a<=d?A(o,a,u,d):g(o,a,u,d)))}function A(n,i,a,s){var d=0;for(d=0;d<i;d++)u[d]=e[n+d];var h=0,f=a,p=n;if(e[p++]=e[f++],0!==--s)if(1!==i){var A,g,m,v=o;while(1){A=0,g=0,m=!1;do{if(t(e[f],u[h])<0){if(e[p++]=e[f++],g++,A=0,0===--s){m=!0;break}}else if(e[p++]=u[h++],A++,g=0,1===--i){m=!0;break}}while((A|g)<v);if(m)break;do{if(A=c(e[f],u,h,i,0,t),0!==A){for(d=0;d<A;d++)e[p+d]=u[h+d];if(p+=A,h+=A,i-=A,i<=1){m=!0;break}}if(e[p++]=e[f++],0===--s){m=!0;break}if(g=l(u[h],e,f,s,0,t),0!==g){for(d=0;d<g;d++)e[p+d]=e[f+d];if(p+=g,f+=g,s-=g,0===s){m=!0;break}}if(e[p++]=u[h++],1===--i){m=!0;break}v--}while(A>=r||g>=r);if(m)break;v<0&&(v=0),v+=2}if(o=v,o<1&&(o=1),1===i){for(d=0;d<s;d++)e[p+d]=e[f+d];e[p+s]=u[h]}else{if(0===i)throw new Error;for(d=0;d<i;d++)e[p+d]=u[h+d]}}else{for(d=0;d<s;d++)e[p+d]=e[f+d];e[p+s]=u[h]}else for(d=0;d<i;d++)e[p+d]=u[h+d]}function g(n,i,a,s){var d=0;for(d=0;d<s;d++)u[d]=e[a+d];var h=n+i-1,f=s-1,p=a+s-1,A=0,g=0;if(e[p--]=e[h--],0!==--i)if(1!==s){var m=o;while(1){var v=0,y=0,b=!1;do{if(t(u[f],e[h])<0){if(e[p--]=e[h--],v++,y=0,0===--i){b=!0;break}}else if(e[p--]=u[f--],y++,v=0,1===--s){b=!0;break}}while((v|y)<m);if(b)break;do{if(v=i-c(u[f],e,n,i,i-1,t),0!==v){for(p-=v,h-=v,i-=v,g=p+1,A=h+1,d=v-1;d>=0;d--)e[g+d]=e[A+d];if(0===i){b=!0;break}}if(e[p--]=u[f--],1===--s){b=!0;break}if(y=s-l(e[h],u,0,s,s-1,t),0!==y){for(p-=y,f-=y,s-=y,g=p+1,A=f+1,d=0;d<y;d++)e[g+d]=u[A+d];if(s<=1){b=!0;break}}if(e[p--]=e[h--],0===--i){b=!0;break}m--}while(v>=r||y>=r);if(b)break;m<0&&(m=0),m+=2}if(o=m,o<1&&(o=1),1===s){for(p-=i,h-=i,g=p+1,A=h+1,d=i-1;d>=0;d--)e[g+d]=e[A+d];e[p]=u[f]}else{if(0===s)throw new Error;for(A=p-(s-1),d=0;d<s;d++)e[A+d]=u[d]}}else{for(p-=i,h-=i,g=p+1,A=h+1,d=i-1;d>=0;d--)e[g+d]=e[A+d];e[p]=u[f]}else for(A=p-(s-1),d=0;d<s;d++)e[A+d]=u[d]}n=[],i=[],this.mergeRuns=h,this.forceMergeRuns=f,this.pushRun=d}function d(e,t,r,a){r||(r=0),a||(a=e.length);var l=a-r;if(!(l<2)){var c=0;if(l<n)return c=o(e,r,a,t),void s(e,r,a,r+c,t);var d=new u(e,t),h=i(l);do{if(c=o(e,r,a,t),c<h){var f=l;f>h&&(f=h),s(e,r,r+f,r+c,t),c=f}d.pushRun(r,c),d.mergeRuns(),l-=c,r+=c}while(0!==l);d.forceMergeRuns()}}e.exports=d},Bd2K:function(e,t,n){(function(e){e(n("VrN/"),n("osHv"))})((function(e){e.defineOption("autoCloseTags",!1,(function(t,n,i){if(i!=e.Init&&i&&t.removeKeyMap("autoCloseTags"),n){var a={name:"autoCloseTags"};"object"==typeof n&&!1===n.whenClosing||(a["'/'"]=function(e){return o(e)}),"object"==typeof n&&!1===n.whenOpening||(a["'>'"]=function(e){return r(e)}),t.addKeyMap(a)}}));var t=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],n=["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 r(r){if(r.getOption("disableInput"))return e.Pass;for(var i=r.listSelections(),o=[],l=r.getOption("autoCloseTags"),c=0;c<i.length;c++){if(!i[c].empty())return e.Pass;var u=i[c].head,d=r.getTokenAt(u),h=e.innerMode(r.getMode(),d.state),f=h.state,p=h.mode.xmlCurrentTag&&h.mode.xmlCurrentTag(f),A=p&&p.name;if(!A)return e.Pass;var g="html"==h.mode.configuration,m="object"==typeof l&&l.dontCloseTags||g&&t,v="object"==typeof l&&l.indentTags||g&&n;d.end>u.ch&&(A=A.slice(0,A.length-d.end+u.ch));var y=A.toLowerCase();if(!A||"string"==d.type&&(d.end!=u.ch||!/[\"\']/.test(d.string.charAt(d.string.length-1))||1==d.string.length)||"tag"==d.type&&p.close||d.string.indexOf("/")==u.ch-d.start-1||m&&a(m,y)>-1||s(r,h.mode.xmlCurrentContext&&h.mode.xmlCurrentContext(f)||[],A,u,!0))return e.Pass;var b="object"==typeof l&&l.emptyTags;if(b&&a(b,A)>-1)o[c]={text:"/>",newPos:e.Pos(u.line,u.ch+2)};else{var _=v&&a(v,y)>-1;o[c]={indent:_,text:">"+(_?"\n\n":"")+"</"+A+">",newPos:_?e.Pos(u.line+1,0):e.Pos(u.line,u.ch+1)}}}var w="object"==typeof l&&l.dontIndentOnAutoClose;for(c=i.length-1;c>=0;c--){var x=o[c];r.replaceRange(x.text,i[c].head,i[c].anchor,"+insert");var C=r.listSelections().slice(0);C[c]={head:x.newPos,anchor:x.newPos},r.setSelections(C),!w&&x.indent&&(r.indentLine(x.newPos.line,null,!0),r.indentLine(x.newPos.line+1,null,!0))}}function i(t,n){for(var r=t.listSelections(),i=[],o=n?"/":"</",a=t.getOption("autoCloseTags"),l="object"==typeof a&&a.dontIndentOnSlash,c=0;c<r.length;c++){if(!r[c].empty())return e.Pass;var u=r[c].head,d=t.getTokenAt(u),h=e.innerMode(t.getMode(),d.state),f=h.state;if(n&&("string"==d.type||"<"!=d.string.charAt(0)||d.start!=u.ch-1))return e.Pass;var p,A="xml"!=h.mode.name&&"htmlmixed"==t.getMode().name;if(A&&"javascript"==h.mode.name)p=o+"script";else if(A&&"css"==h.mode.name)p=o+"style";else{var g=h.mode.xmlCurrentContext&&h.mode.xmlCurrentContext(f);if(!g||g.length&&s(t,g,g[g.length-1],u))return e.Pass;p=o+g[g.length-1]}">"!=t.getLine(u.line).charAt(d.end)&&(p+=">"),i[c]=p}if(t.replaceSelections(i),r=t.listSelections(),!l)for(c=0;c<r.length;c++)(c==r.length-1||r[c].head.line<r[c+1].head.line)&&t.indentLine(r[c].head.line)}function o(t){return t.getOption("disableInput")?e.Pass:i(t,!0)}function a(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;++n)if(e[n]==t)return n;return-1}function s(t,n,r,i,o){if(!e.scanForClosingTag)return!1;var a=Math.min(t.lastLine()+1,i.line+500),s=e.scanForClosingTag(t,i,null,a);if(!s||s.tag!=r)return!1;for(var l=o?1:0,c=n.length-1;c>=0;c--){if(n[c]!=r)break;++l}i=s.to;for(c=1;c<l;c++){var u=e.scanForClosingTag(t,i,null,a);if(!u||u.tag!=r)return!1;i=u.to}return!0}e.commands.closeTag=function(e){return i(e)}}))},BlVb:function(e,t,n){var r=n("hyiK"),i=1e-8;function o(e,t){return Math.abs(e-t)<i}function a(e,t,n){var i=0,a=e[0];if(!a)return!1;for(var s=1;s<e.length;s++){var l=e[s];i+=r(a[0],a[1],l[0],l[1],t,n),a=l}var c=e[0];return o(a[0],c[0])&&o(a[1],c[1])||(i+=r(a[0],a[1],c[0],c[1],t,n)),0!==i}t.contain=a},BoS7:function(e,t,n){"use strict";n("cIOH"),n("czTT")},Bq2U:function(e,t,n){var r=n("RDYZ"),i=n("Qe9p"),o=n("bYtY"),a=o.isArrayLike,s=Array.prototype.slice;function l(e,t){return e[t]}function c(e,t,n){e[t]=n}function u(e,t,n){return(t-e)*n+e}function d(e,t,n){return n>.5?t:e}function h(e,t,n,r,i){var o=e.length;if(1===i)for(var a=0;a<o;a++)r[a]=u(e[a],t[a],n);else{var s=o&&e[0].length;for(a=0;a<o;a++)for(var l=0;l<s;l++)r[a][l]=u(e[a][l],t[a][l],n)}}function f(e,t,n){var r=e.length,i=t.length;if(r!==i){var o=r>i;if(o)e.length=i;else for(var a=r;a<i;a++)e.push(1===n?t[a]:s.call(t[a]))}var l=e[0]&&e[0].length;for(a=0;a<e.length;a++)if(1===n)isNaN(e[a])&&(e[a]=t[a]);else for(var c=0;c<l;c++)isNaN(e[a][c])&&(e[a][c]=t[a][c])}function p(e,t,n){if(e===t)return!0;var r=e.length;if(r!==t.length)return!1;if(1===n){for(var i=0;i<r;i++)if(e[i]!==t[i])return!1}else{var o=e[0].length;for(i=0;i<r;i++)for(var a=0;a<o;a++)if(e[i][a]!==t[i][a])return!1}return!0}function A(e,t,n,r,i,o,a,s,l){var c=e.length;if(1===l)for(var u=0;u<c;u++)s[u]=g(e[u],t[u],n[u],r[u],i,o,a);else{var d=e[0].length;for(u=0;u<c;u++)for(var h=0;h<d;h++)s[u][h]=g(e[u][h],t[u][h],n[u][h],r[u][h],i,o,a)}}function g(e,t,n,r,i,o,a){var s=.5*(n-e),l=.5*(r-t);return(2*(t-n)+s+l)*a+(-3*(t-n)-2*s-l)*o+s*i+t}function m(e){if(a(e)){var t=e.length;if(a(e[0])){for(var n=[],r=0;r<t;r++)n.push(s.call(e[r]));return n}return s.call(e)}return e}function v(e){return e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.floor(e[2]),"rgba("+e.join(",")+")"}function y(e){var t=e[e.length-1].value;return a(t&&t[0])?2:1}function b(e,t,n,o,s,l){var c=e._getter,m=e._setter,b="spline"===t,_=o.length;if(_){var w,x=o[0].value,C=a(x),S=!1,k=!1,E=C?y(o):0;o.sort((function(e,t){return e.time-t.time})),w=o[_-1].time;for(var O=[],B=[],M=o[0].value,T=!0,I=0;I<_;I++){O.push(o[I].time/w);var L=o[I].value;if(C&&p(L,M,E)||!C&&L===M||(T=!1),M=L,"string"===typeof L){var D=i.parse(L);D?(L=D,S=!0):k=!0}B.push(L)}if(l||!T){var P=B[_-1];for(I=0;I<_-1;I++)C?f(B[I],P,E):!isNaN(B[I])||isNaN(P)||k||S||(B[I]=P);C&&f(c(e._target,s),P,E);var N,j,F,R,U,H,Q=0,K=0;if(S)var z=[0,0,0,0];var V=function(e,t){var n;if(t<0)n=0;else if(t<K){for(N=Math.min(Q+1,_-1),n=N;n>=0;n--)if(O[n]<=t)break;n=Math.min(n,_-2)}else{for(n=Q;n<_;n++)if(O[n]>t)break;n=Math.min(n-1,_-2)}Q=n,K=t;var r=O[n+1]-O[n];if(0!==r)if(j=(t-O[n])/r,b)if(R=B[n],F=B[0===n?n:n-1],U=B[n>_-2?_-1:n+1],H=B[n>_-3?_-1:n+2],C)A(F,R,U,H,j,j*j,j*j*j,c(e,s),E);else{if(S)i=A(F,R,U,H,j,j*j,j*j*j,z,1),i=v(z);else{if(k)return d(R,U,j);i=g(F,R,U,H,j,j*j,j*j*j)}m(e,s,i)}else if(C)h(B[n],B[n+1],j,c(e,s),E);else{var i;if(S)h(B[n],B[n+1],j,z,1),i=v(z);else{if(k)return d(B[n],B[n+1],j);i=u(B[n],B[n+1],j)}m(e,s,i)}},W=new r({target:e._target,life:w,loop:e._loop,delay:e._delay,onframe:V,ondestroy:n});return t&&"spline"!==t&&(W.easing=t),W}}}var _=function(e,t,n,r){this._tracks={},this._target=e,this._loop=t||!1,this._getter=n||l,this._setter=r||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};_.prototype={when:function(e,t){var n=this._tracks;for(var r in t)if(t.hasOwnProperty(r)){if(!n[r]){n[r]=[];var i=this._getter(this._target,r);if(null==i)continue;0!==e&&n[r].push({time:0,value:m(i)})}n[r].push({time:e,value:t[r]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;e<this._clipList.length;e++)this._clipList[e].pause();this._paused=!0},resume:function(){for(var e=0;e<this._clipList.length;e++)this._clipList[e].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var e=this._doneList,t=e.length,n=0;n<t;n++)e[n].call(this)},start:function(e,t){var n,r=this,i=0,o=function(){i--,i||r._doneCallback()};for(var a in this._tracks)if(this._tracks.hasOwnProperty(a)){var s=b(this,e,o,this._tracks[a],a,t);s&&(this._clipList.push(s),i++,this.animation&&this.animation.addClip(s),n=s)}if(n){var l=n.onframe;n.onframe=function(e,t){l(e,t);for(var n=0;n<r._onframeList.length;n++)r._onframeList[n](e,t)}}return i||this._doneCallback(),this},stop:function(e){for(var t=this._clipList,n=this.animation,r=0;r<t.length;r++){var i=t[r];e&&i.onframe(this._target,1),n&&n.removeClip(i)}t.length=0},delay:function(e){return this._delay=e,this},done:function(e){return e&&this._doneList.push(e),this},getClips:function(){return this._clipList}};var w=_;e.exports=w},Bqw1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},Bsck:function(e,t,n){var r=n("bYtY"),i=n("Qxkt"),o=n("Mdki"),a=n("YXkt"),s=n("sdST"),l=function(e,t){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=t};function c(e,t){this.root,this.data,this._nodes=[],this.hostModel=e,this.levelModels=r.map(t||[],(function(t){return new i(t,e,e.ecModel)}))}function u(e,t){var n=t.children;e.parentNode!==t&&(n.push(e),e.parentNode=t)}l.prototype={constructor:l,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,t,n){"function"===typeof e&&(n=t,t=e,e=null),e=e||{},r.isString(e)&&(e={order:e});var i,o=e.order||"preorder",a=this[e.attr||"children"];"preorder"===o&&(i=t.call(n,this));for(var s=0;!i&&s<a.length;s++)a[s].eachNode(e,t,n);"postorder"===o&&t.call(n,this)},updateDepthAndHeight:function(e){var t=0;this.depth=e;for(var n=0;n<this.children.length;n++){var r=this.children[n];r.updateDepthAndHeight(e+1),r.height>t&&(t=r.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].getNodeById(e);if(i)return i}},contains:function(e){if(e===this)return!0;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].contains(e);if(i)return i}},getAncestors:function(e){var t=[],n=e?this:this.parentNode;while(n)t.push(n),n=n.parentNode;return t.reverse(),t},getValue:function(e){var t=this.hostTree.data;return t.get(t.getDimension(e||"value"),this.dataIndex)},setLayout:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostTree,n=t.data.getItemModel(this.dataIndex),r=this.getLevelModel();return r?n.getModel(e,r.getModel(e)):n.getModel(e)}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){var t=e.parentNode;while(t){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},c.prototype={constructor:c,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,r=t.length;n<r;n++)t[n].dataIndex=-1;for(n=0,r=e.count();n<r;n++)t[e.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},c.createTree=function(e,t,n,i){var d=new c(t,n&&n.levels),h=[],f=1;function p(e,t){var n=e.value;f=Math.max(f,r.isArray(n)?n.length:1),h.push(e);var i=new l(e.name,d);t?u(i,t):d.root=i,d._nodes.push(i);var o=e.children;if(o)for(var a=0;a<o.length;a++)p(o[a],i)}p(e),d.root.updateDepthAndHeight(0);var A=s(h,{coordDimensions:["value"],dimensionsCount:f}),g=new a(A,t);return g.initData(h),i&&i(g),o({mainData:g,struct:d,structAttr:"tree"}),d.update(),d};var d=c;e.exports=d},BtR2:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="LikeOutlined";t["a"]=i["forwardRef"](l)},BuqR:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("6uqw"),a=n("XxSj"),s=n("YOMW"),l=n("OELB"),c=l.reformIntervals,u=o.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(e,t){u.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();d[this._mode].call(this),this._resetSelected(e,t);var r=this.option.categories;this.resetVisual((function(e,t){"categories"===n?(e.mappingMethod="category",e.categories=i.clone(r)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=i.map(this._pieceList,(function(e){e=i.clone(e);return"inRange"!==t&&(e.visual=null),e})))}))},completeVisualOption:function(){var e=this.option,t={},n=a.listVisualTypes(),r=this.isCategory();function l(e,t,n){return e&&e[t]&&(i.isObject(e[t])?e[t].hasOwnProperty(n):e[t]===n)}i.each(e.pieces,(function(e){i.each(n,(function(n){e.hasOwnProperty(n)&&(t[n]=1)}))})),i.each(t,(function(t,n){var o=0;i.each(this.stateList,(function(t){o|=l(e,t,n)||l(e.target,t,n)}),this),!o&&i.each(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=s.get(n,"inRange"===t?"active":"inactive",r)}))}),this),o.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,t){var n=this.option,r=this._pieceList,o=(t?n:e).selected||{};if(n.selected=o,i.each(r,(function(e,t){var n=this.getSelectedMapKey(e);o.hasOwnProperty(n)||(o[n]=!0)}),this),"single"===n.selectedMode){var a=!1;i.each(r,(function(e,t){var n=this.getSelectedMapKey(e);o[n]&&(a?o[n]=!1:a=!0)}),this)}},getSelectedMapKey:function(e){return"categories"===this._mode?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=i.clone(e)},getValueState:function(e){var t=a.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(t,n){var i=a.findPieceIndex(t,this._pieceList);i===e&&r.push(n)}),this),t.push({seriesId:n.id,dataIndex:r})}),this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],n=[],r=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),a=o[o.length-1].interval[1],a!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return i.each(o,(function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:t,outerColors:n}}function l(i,o){var a=r.getRepresentValue({interval:i});o||(o=r.getValueState(a));var s=e(a,o);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}}}),d={splitNumber:function(){var e=this.option,t=this._pieceList,n=Math.min(e.precision,20),r=this.getExtent(),o=e.splitNumber;o=Math.max(parseInt(o,10),1),e.splitNumber=o;var a=(r[1]-r[0])/o;while(+a.toFixed(n)!==a&&n<5)n++;e.precision=n,a=+a.toFixed(n),e.minOpen&&t.push({interval:[-1/0,r[0]],close:[0,0]});for(var s=0,l=r[0];s<o;l+=a,s++){var u=s===o-1?r[1]:l+a;t.push({interval:[l,u],close:[1,1]})}e.maxOpen&&t.push({interval:[r[1],1/0],close:[0,0]}),c(t),i.each(t,(function(e,t){e.index=t,e.text=this.formatValueText(e.interval)}),this)},categories:function(){var e=this.option;i.each(e.categories,(function(e){this._pieceList.push({text:this.formatValueText(e,!0),value:e})}),this),h(e,this._pieceList)},pieces:function(){var e=this.option,t=this._pieceList;i.each(e.pieces,(function(e,n){i.isObject(e)||(e={value:e});var r={text:"",index:n};if(null!=e.label&&(r.text=e.label),e.hasOwnProperty("value")){var o=r.value=e.value;r.interval=[o,o],r.close=[1,1]}else{for(var s=r.interval=[],l=r.close=[0,0],c=[1,0,1],u=[-1/0,1/0],d=[],h=0;h<2;h++){for(var f=[["gte","gt","min"],["lte","lt","max"]][h],p=0;p<3&&null==s[h];p++)s[h]=e[f[p]],l[h]=c[p],d[h]=2===p;null==s[h]&&(s[h]=u[h])}d[0]&&s[1]===1/0&&(l[0]=0),d[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(r.value=s[0])}r.visual=a.retrieveVisuals(e),t.push(r)}),this),h(e,t),c(t),i.each(t,(function(e){var t=e.close,n=[["<","\u2264"][t[1]],[">","\u2265"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function h(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var f=u;e.exports=f},BvKs:function(e,t,n){"use strict";n.d(t,"a",(function(){return at}));var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("7W2i"),h=n.n(d),f=n("LQ03"),p=n.n(f),A=n("q1tI"),g=n("VTBJ"),m=n("1OyB"),v=n("vuIU"),y=n("JX7q"),b=n("Ji7U"),_=n("LK+K"),w=n("I8Z2"),x=n("BGR+"),C=n("wx14"),S=n("rePB"),k=n("4IlW"),E=n("2GS6"),O=n("Gytx"),B=n.n(O),M=n("TSYQ"),T=n.n(M),I=n("U8pU"),L=n("ODXe"),D=/iPhone/i,P=/iPod/i,N=/iPad/i,j=/\bAndroid(?:.+)Mobile\b/i,F=/Android/i,R=/\bAndroid(?:.+)SD4930UR\b/i,U=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,H=/Windows Phone/i,Q=/\bWindows(?:.+)ARM\b/i,K=/BlackBerry/i,z=/BB10/i,V=/Opera Mini/i,W=/\b(CriOS|Chrome)(?:.+)Mobile/i,G=/Mobile(?:.+)Firefox\b/i;function X(e,t){return e.test(t)}function q(e){var t=e||("undefined"!==typeof navigator?navigator.userAgent:""),n=t.split("[FBAN");if("undefined"!==typeof n[1]){var r=n,i=Object(L["a"])(r,1);t=i[0]}if(n=t.split("Twitter"),"undefined"!==typeof n[1]){var o=n,a=Object(L["a"])(o,1);t=a[0]}var s={apple:{phone:X(D,t)&&!X(H,t),ipod:X(P,t),tablet:!X(D,t)&&X(N,t)&&!X(H,t),device:(X(D,t)||X(P,t)||X(N,t))&&!X(H,t)},amazon:{phone:X(R,t),tablet:!X(R,t)&&X(U,t),device:X(R,t)||X(U,t)},android:{phone:!X(H,t)&&X(R,t)||!X(H,t)&&X(j,t),tablet:!X(H,t)&&!X(R,t)&&!X(j,t)&&(X(U,t)||X(F,t)),device:!X(H,t)&&(X(R,t)||X(U,t)||X(j,t)||X(F,t))||X(/\bokhttp\b/i,t)},windows:{phone:X(H,t),tablet:X(Q,t),device:X(H,t)||X(Q,t)},other:{blackberry:X(K,t),blackberry10:X(z,t),opera:X(V,t),firefox:X(G,t),chrome:X(W,t),device:X(K,t)||X(z,t)||X(V,t)||X(G,t)||X(W,t)},any:null,phone:null,tablet:null};return s.any=s.apple.device||s.android.device||s.windows.device||s.other.device,s.phone=s.apple.phone||s.android.phone||s.windows.phone,s.tablet=s.apple.tablet||s.android.tablet||s.windows.tablet,s}var Y=Object(g["a"])(Object(g["a"])({},q()),{},{isMobile:q}),Z=Y;function J(){}function $(e,t,n){var r=t||"";return e.key||"".concat(r,"item_").concat(n)}function ee(e){return"".concat(e,"-menu-")}function te(e,t){var n=-1;A["Children"].forEach(e,(function(e){n+=1,e&&e.type&&e.type.isMenuItemGroup?A["Children"].forEach(e.props.children,(function(e){n+=1,t(e,n)})):t(e,n)}))}function ne(e,t,n){e&&!n.find&&A["Children"].forEach(e,(function(e){if(e){var r=e.type;if(!r||!(r.isSubMenu||r.isMenuItem||r.isMenuItemGroup))return;-1!==t.indexOf(e.key)?n.find=!0:e.props.children&&ne(e.props.children,t,n)}}))}var re=["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"],ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e&&"function"===typeof e.getBoundingClientRect&&e.getBoundingClientRect().width;if(n){if(t){var r=getComputedStyle(e),i=r.marginLeft,o=r.marginRight;n+=+i.replace("px","")+ +o.replace("px","")}n=+n.toFixed(6)}return n||0},oe=function(e,t,n){e&&"object"===Object(I["a"])(e.style)&&(e.style[t]=n)},ae=function(){return Z.any},se=n("KQm4"),le=n("Ff2n"),ce=n("i8i4"),ue=n("bdgK"),de=n("Uaa1"),he=n("HTfv"),fe={adjustX:1,adjustY:1},pe={topLeft:{points:["bl","tl"],overflow:fe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:fe,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:fe,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:fe,offset:[4,0]}},Ae={topLeft:{points:["bl","tl"],overflow:fe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:fe,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:fe,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:fe,offset:[4,0]}},ge=0,me={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},ve=function(e,t,n){var r=ee(t),i=e.getState();e.setState({defaultActiveFirst:Object(g["a"])(Object(g["a"])({},i.defaultActiveFirst),{},Object(S["a"])({},r,n))})},ye=function(e){Object(b["a"])(n,e);var t=Object(_["a"])(n);function n(e){var r;Object(m["a"])(this,n),r=t.call(this,e),r.onDestroy=function(e){r.props.onDestroy(e)},r.onKeyDown=function(e){var t=e.keyCode,n=r.menuInstance,i=r.props,o=i.isOpen,a=i.store;if(t===k["a"].ENTER)return r.onTitleClick(e),ve(a,r.props.eventKey,!0),!0;if(t===k["a"].RIGHT)return o?n.onKeyDown(e):(r.triggerOpenChange(!0),ve(a,r.props.eventKey,!0)),!0;if(t===k["a"].LEFT){var s;if(!o)return;return s=n.onKeyDown(e),s||(r.triggerOpenChange(!1),s=!0),s}return!o||t!==k["a"].UP&&t!==k["a"].DOWN?void 0:n.onKeyDown(e)},r.onOpenChange=function(e){r.props.onOpenChange(e)},r.onPopupVisibleChange=function(e){r.triggerOpenChange(e,e?"mouseenter":"mouseleave")},r.onMouseEnter=function(e){var t=r.props,n=t.eventKey,i=t.onMouseEnter,o=t.store;ve(o,r.props.eventKey,!1),i({key:n,domEvent:e})},r.onMouseLeave=function(e){var t=r.props,n=t.parentMenu,i=t.eventKey,o=t.onMouseLeave;n.subMenuInstance=Object(y["a"])(r),o({key:i,domEvent:e})},r.onTitleMouseEnter=function(e){var t=r.props,n=t.eventKey,i=t.onItemHover,o=t.onTitleMouseEnter;i({key:n,hover:!0}),o({key:n,domEvent:e})},r.onTitleMouseLeave=function(e){var t=r.props,n=t.parentMenu,i=t.eventKey,o=t.onItemHover,a=t.onTitleMouseLeave;n.subMenuInstance=Object(y["a"])(r),o({key:i,hover:!1}),a({key:i,domEvent:e})},r.onTitleClick=function(e){var t=Object(y["a"])(r),n=t.props;n.onTitleClick({key:n.eventKey,domEvent:e}),"hover"!==n.triggerSubMenuAction&&(r.triggerOpenChange(!n.isOpen,"click"),ve(n.store,r.props.eventKey,!1))},r.onSubMenuClick=function(e){"function"===typeof r.props.onClick&&r.props.onClick(r.addKeyPath(e))},r.onSelect=function(e){r.props.onSelect(e)},r.onDeselect=function(e){r.props.onDeselect(e)},r.getPrefixCls=function(){return"".concat(r.props.rootPrefixCls,"-submenu")},r.getActiveClassName=function(){return"".concat(r.getPrefixCls(),"-active")},r.getDisabledClassName=function(){return"".concat(r.getPrefixCls(),"-disabled")},r.getSelectedClassName=function(){return"".concat(r.getPrefixCls(),"-selected")},r.getOpenClassName=function(){return"".concat(r.props.rootPrefixCls,"-submenu-open")},r.saveMenuInstance=function(e){r.menuInstance=e},r.addKeyPath=function(e){return Object(g["a"])(Object(g["a"])({},e),{},{keyPath:(e.keyPath||[]).concat(r.props.eventKey)})},r.triggerOpenChange=function(e,t){var n=r.props.eventKey,i=function(){r.onOpenChange({key:n,item:Object(y["a"])(r),trigger:t,open:e})};"mouseenter"===t?r.mouseenterTimeout=setTimeout((function(){i()}),0):i()},r.isChildrenSelected=function(){var e={find:!1};return ne(r.props.children,r.props.selectedKeys,e),e.find},r.isOpen=function(){return-1!==r.props.openKeys.indexOf(r.props.eventKey)},r.adjustWidth=function(){if(r.subMenuTitle&&r.menuInstance){var e=ce["findDOMNode"](r.menuInstance);e.offsetWidth>=r.subMenuTitle.offsetWidth||(e.style.minWidth="".concat(r.subMenuTitle.offsetWidth,"px"))}},r.saveSubMenuTitle=function(e){r.subMenuTitle=e},r.getBaseProps=function(){var e=Object(y["a"])(r),t=e.props;return{mode:"horizontal"===t.mode?"vertical":t.mode,visible:r.props.isOpen,level:t.level+1,inlineIndent:t.inlineIndent,focusable:!1,onClick:r.onSubMenuClick,onSelect:r.onSelect,onDeselect:r.onDeselect,onDestroy:r.onDestroy,selectedKeys:t.selectedKeys,eventKey:"".concat(t.eventKey,"-menu-"),openKeys:t.openKeys,motion:t.motion,onOpenChange:r.onOpenChange,subMenuOpenDelay:t.subMenuOpenDelay,parentMenu:Object(y["a"])(r),subMenuCloseDelay:t.subMenuCloseDelay,forceSubMenuRender:t.forceSubMenuRender,triggerSubMenuAction:t.triggerSubMenuAction,builtinPlacements:t.builtinPlacements,defaultActiveFirst:t.store.getState().defaultActiveFirst[ee(t.eventKey)],multiple:t.multiple,prefixCls:t.rootPrefixCls,id:r.internalMenuId,manualRef:r.saveMenuInstance,itemIcon:t.itemIcon,expandIcon:t.expandIcon,direction:t.direction}},r.getMotion=function(e,t){var n=Object(y["a"])(r),i=n.haveRendered,o=r.props,a=o.motion,s=o.rootPrefixCls,l=Object(g["a"])(Object(g["a"])({},a),{},{leavedClassName:"".concat(s,"-hidden"),removeOnLeave:!1,motionAppear:i||!t||"inline"!==e});return l};var i=e.store,o=e.eventKey,a=i.getState(),s=a.defaultActiveFirst;r.isRootMenu=!1;var l=!1;return s&&(l=s[o]),ve(i,o,l),r}return Object(v["a"])(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.mode,r=t.parentMenu,i=t.manualRef;i&&i(this),"horizontal"===n&&r.isRootMenu&&this.props.isOpen&&(this.minWidthTimeout=setTimeout((function(){return e.adjustWidth()}),0))}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.onDestroy,n=e.eventKey;t&&t(n),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(e){var t=this,n=this.getBaseProps(),r=this.getMotion(n.mode,n.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||n.visible||n.forceSubMenuRender,!this.haveOpened)return A["createElement"]("div",null);var i=n.direction;return A["createElement"](he["default"],Object.assign({visible:n.visible},r),(function(r){var o=r.className,a=r.style,s=T()("".concat(n.prefixCls,"-sub"),o,Object(S["a"])({},"".concat(n.prefixCls,"-rtl"),"rtl"===i));return A["createElement"](Le,Object.assign({},n,{id:t.internalMenuId,className:s,style:a}),e)}))}},{key:"render",value:function(){var e,t=Object(g["a"])({},this.props),n=t.isOpen,r=this.getPrefixCls(),i="inline"===t.mode,o=T()(r,"".concat(r,"-").concat(t.mode),(e={},Object(S["a"])(e,t.className,!!t.className),Object(S["a"])(e,this.getOpenClassName(),n),Object(S["a"])(e,this.getActiveClassName(),t.active||n&&!i),Object(S["a"])(e,this.getDisabledClassName(),t.disabled),Object(S["a"])(e,this.getSelectedClassName(),this.isChildrenSelected()),e));this.internalMenuId||(t.eventKey?this.internalMenuId="".concat(t.eventKey,"$Menu"):(ge+=1,this.internalMenuId="$__$".concat(ge,"$Menu")));var a={},s={},l={};t.disabled||(a={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},s={onClick:this.onTitleClick},l={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var c={},u=t.direction;i&&("rtl"===u?c.paddingRight=t.inlineIndent*t.level:c.paddingLeft=t.inlineIndent*t.level);var d={};this.props.isOpen&&(d={"aria-owns":this.internalMenuId});var h=null;"horizontal"!==t.mode&&(h=this.props.expandIcon,"function"===typeof this.props.expandIcon&&(h=A["createElement"](this.props.expandIcon,Object(g["a"])({},this.props))));var f=A["createElement"]("div",Object.assign({ref:this.saveSubMenuTitle,style:c,className:"".concat(r,"-title"),role:"button"},l,s,{"aria-expanded":n},d,{"aria-haspopup":"true",title:"string"===typeof t.title?t.title:void 0}),t.title,h||A["createElement"]("i",{className:"".concat(r,"-arrow")})),p=this.renderChildren(t.children),m=t.parentMenu.isRootMenu?t.parentMenu.props.getPopupContainer:function(e){return e.parentNode},v=me[t.mode],y=t.popupOffset?{offset:t.popupOffset}:{},b="inline"===t.mode?"":t.popupClassName;b+="rtl"===u?" ".concat(r,"-rtl"):"";var _=t.disabled,w=t.triggerSubMenuAction,x=t.subMenuOpenDelay,C=t.forceSubMenuRender,k=t.subMenuCloseDelay,E=t.builtinPlacements;re.forEach((function(e){return delete t[e]})),delete t.onClick;var O="rtl"===u?Object.assign({},Ae,E):Object.assign({},pe,E);return delete t.direction,A["createElement"]("li",Object.assign({},t,a,{className:o,role:"menuitem"}),i&&f,i&&p,!i&&A["createElement"](de["a"],{prefixCls:r,popupClassName:T()("".concat(r,"-popup"),b),getPopupContainer:m,builtinPlacements:O,popupPlacement:v,popupVisible:n,popupAlign:y,popup:p,action:_?[]:[w],mouseEnterDelay:x,mouseLeaveDelay:k,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:C},f))}}]),n}(A["Component"]);ye.defaultProps={onMouseEnter:J,onMouseLeave:J,onTitleMouseEnter:J,onTitleMouseLeave:J,onTitleClick:J,manualRef:J,mode:"vertical",title:""};var be=Object(w["b"])((function(e,t){var n=e.openKeys,r=e.activeKey,i=e.selectedKeys,o=t.eventKey,a=t.subMenuKey;return{isOpen:n.indexOf(o)>-1,active:r[a]===o,selectedKeys:i}}))(ye);be.isSubMenu=!0;var _e=be,we="menuitem-overflowed",xe=.5,Ce=function(e){Object(b["a"])(n,e);var t=Object(_["a"])(n);function n(){var e;return Object(m["a"])(this,n),e=t.apply(this,arguments),e.resizeObserver=null,e.mutationObserver=null,e.originalTotalWidth=0,e.overflowedItems=[],e.menuItemSizes=[],e.cancelFrameId=null,e.state={lastVisibleIndex:void 0},e.getMenuItemNodes=function(){var t=e.props.prefixCls,n=ce["findDOMNode"](Object(y["a"])(e));return n?[].slice.call(n.children).filter((function(e){return e.className.split(" ").indexOf("".concat(t,"-overflowed-submenu"))<0})):[]},e.getOverflowedSubMenuItem=function(t,n,r){var i=e.props,o=i.overflowedIndicator,a=i.level,s=i.mode,l=i.prefixCls,c=i.theme;if(1!==a||"horizontal"!==s)return null;var u=e.props.children[0],d=u.props,h=(d.children,d.title,d.style),f=Object(le["a"])(d,["children","title","style"]),p=Object(g["a"])({},h),m="".concat(t,"-overflowed-indicator"),v="".concat(t,"-overflowed-indicator");0===n.length&&!0!==r?p=Object(g["a"])(Object(g["a"])({},p),{},{display:"none"}):r&&(p=Object(g["a"])(Object(g["a"])({},p),{},{visibility:"hidden",position:"absolute"}),m="".concat(m,"-placeholder"),v="".concat(v,"-placeholder"));var y=c?"".concat(l,"-").concat(c):"",b={};return re.forEach((function(e){void 0!==f[e]&&(b[e]=f[e])})),A["createElement"](_e,Object.assign({title:o,className:"".concat(l,"-overflowed-submenu"),popupClassName:y},b,{key:m,eventKey:v,disabled:!1,style:p}),n)},e.setChildrenWidthAndResize=function(){if("horizontal"===e.props.mode){var t=ce["findDOMNode"](Object(y["a"])(e));if(t){var n=t.children;if(n&&0!==n.length){var r=t.children[n.length-1];oe(r,"display","inline-block");var i=e.getMenuItemNodes(),o=i.filter((function(e){return e.className.split(" ").indexOf(we)>=0}));o.forEach((function(e){oe(e,"display","inline-block")})),e.menuItemSizes=i.map((function(e){return ie(e,!0)})),o.forEach((function(e){oe(e,"display","none")})),e.overflowedIndicatorWidth=ie(t.children[t.children.length-1],!0),e.originalTotalWidth=e.menuItemSizes.reduce((function(e,t){return e+t}),0),e.handleResize(),oe(r,"display","none")}}}},e.handleResize=function(){if("horizontal"===e.props.mode){var t=ce["findDOMNode"](Object(y["a"])(e));if(t){var n=ie(t);e.overflowedItems=[];var r,i=0;e.originalTotalWidth>n+xe&&(r=-1,e.menuItemSizes.forEach((function(t){i+=t,i+e.overflowedIndicatorWidth<=n&&(r+=1)}))),e.setState({lastVisibleIndex:r})}}},e}return Object(v["a"])(n,[{key:"componentDidMount",value:function(){var e=this;if(this.setChildrenWidthAndResize(),1===this.props.level&&"horizontal"===this.props.mode){var t=ce["findDOMNode"](this);if(!t)return;this.resizeObserver=new ue["default"]((function(t){t.forEach((function(){var t=e.cancelFrameId;cancelAnimationFrame(t),e.cancelFrameId=requestAnimationFrame(e.setChildrenWidthAndResize)}))})),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),"undefined"!==typeof MutationObserver&&(this.mutationObserver=new MutationObserver((function(){e.resizeObserver.disconnect(),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),e.setChildrenWidthAndResize()})),this.mutationObserver.observe(t,{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(e){var t=this,n=this.state.lastVisibleIndex;return(e||[]).reduce((function(r,i,o){var a=i;if("horizontal"===t.props.mode){var s=t.getOverflowedSubMenuItem(i.props.eventKey,[]);void 0!==n&&-1!==t.props.className.indexOf("".concat(t.props.prefixCls,"-root"))&&(o>n&&(a=A["cloneElement"](i,{style:{display:"none"},eventKey:"".concat(i.props.eventKey,"-hidden"),className:"".concat(we)})),o===n+1&&(t.overflowedItems=e.slice(n+1).map((function(e){return A["cloneElement"](e,{key:e.props.eventKey,mode:"vertical-left"})})),s=t.getOverflowedSubMenuItem(i.props.eventKey,t.overflowedItems)));var l=[].concat(Object(se["a"])(r),[s,a]);return o===e.length-1&&l.push(t.getOverflowedSubMenuItem(i.props.eventKey,[],!0)),l}return[].concat(Object(se["a"])(r),[a])}),[])}},{key:"render",value:function(){var e=this.props,t=(e.visible,e.prefixCls,e.overflowedIndicator,e.mode,e.level,e.tag),n=e.children,r=(e.theme,Object(le["a"])(e,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"])),i=t;return A["createElement"](i,Object.assign({},r),this.renderChildren(n))}}]),n}(A["Component"]);Ce.defaultProps={tag:"div",className:""};var Se=Ce;function ke(e){return!e.length||e.every((function(e){return!!e.props.disabled}))}function Ee(e,t,n){var r=e.getState();e.setState({activeKey:Object(g["a"])(Object(g["a"])({},r.activeKey),{},Object(S["a"])({},t,n))})}function Oe(e){return e.eventKey||"0-menu-"}function Be(e,t){var n,r=t,i=e.children,o=e.eventKey;if(r&&(te(i,(function(e,t){e&&e.props&&!e.props.disabled&&r===$(e,o,t)&&(n=!0)})),n))return r;return r=null,e.defaultActiveFirst?(te(i,(function(e,t){r||!e||e.props.disabled||(r=$(e,o,t))})),r):r}function Me(e){if(e){var t=this.instanceArray.indexOf(e);-1!==t?this.instanceArray[t]=e:this.instanceArray.push(e)}}var Te=function(e){Object(b["a"])(n,e);var t=Object(_["a"])(n);function n(e){var r;return Object(m["a"])(this,n),r=t.call(this,e),r.onKeyDown=function(e,t){var n,i=e.keyCode;if(r.getFlatInstanceArray().forEach((function(t){t&&t.props.active&&t.onKeyDown&&(n=t.onKeyDown(e))})),n)return 1;var o=null;return i!==k["a"].UP&&i!==k["a"].DOWN||(o=r.step(i===k["a"].UP?-1:1)),o?(e.preventDefault(),Ee(r.props.store,Oe(r.props),o.props.eventKey),"function"===typeof t&&t(o),1):void 0},r.onItemHover=function(e){var t=e.key,n=e.hover;Ee(r.props.store,Oe(r.props),n?t:null)},r.onDeselect=function(e){r.props.onDeselect(e)},r.onSelect=function(e){r.props.onSelect(e)},r.onClick=function(e){r.props.onClick(e)},r.onOpenChange=function(e){r.props.onOpenChange(e)},r.onDestroy=function(e){r.props.onDestroy(e)},r.getFlatInstanceArray=function(){return r.instanceArray},r.step=function(e){var t=r.getFlatInstanceArray(),n=r.props.store.getState().activeKey[Oe(r.props)],i=t.length;if(!i)return null;e<0&&(t=t.concat().reverse());var o=-1;if(t.every((function(e,t){return!e||e.props.eventKey!==n||(o=t,!1)})),r.props.defaultActiveFirst||-1===o||!ke(t.slice(o,i-1))){var a=(o+1)%i,s=a;do{var l=t[s];if(l&&!l.props.disabled)return l;s=(s+1)%i}while(s!==a);return null}},r.renderCommonMenuItem=function(e,t,n){var i=r.props.store.getState(),o=Object(y["a"])(r),a=o.props,s=$(e,a.eventKey,t),l=e.props;if(!l||"string"===typeof e.type)return e;var c=s===i.activeKey,u=Object(g["a"])(Object(g["a"])({mode:l.mode||a.mode,level:a.level,inlineIndent:a.inlineIndent,renderMenuItem:r.renderMenuItem,rootPrefixCls:a.prefixCls,index:t,parentMenu:a.parentMenu,manualRef:l.disabled?void 0:Object(E["a"])(e.ref,Me.bind(Object(y["a"])(r))),eventKey:s,active:!l.disabled&&c,multiple:a.multiple,onClick:function(e){(l.onClick||J)(e),r.onClick(e)},onItemHover:r.onItemHover,motion:a.motion,subMenuOpenDelay:a.subMenuOpenDelay,subMenuCloseDelay:a.subMenuCloseDelay,forceSubMenuRender:a.forceSubMenuRender,onOpenChange:r.onOpenChange,onDeselect:r.onDeselect,onSelect:r.onSelect,builtinPlacements:a.builtinPlacements,itemIcon:l.itemIcon||r.props.itemIcon,expandIcon:l.expandIcon||r.props.expandIcon},n),{},{direction:a.direction});return("inline"===a.mode||ae())&&(u.triggerSubMenuAction="click"),A["cloneElement"](e,u)},r.renderMenuItem=function(e,t,n){if(!e)return null;var i=r.props.store.getState(),o={openKeys:i.openKeys,selectedKeys:i.selectedKeys,triggerSubMenuAction:r.props.triggerSubMenuAction,subMenuKey:n};return r.renderCommonMenuItem(e,t,o)},e.store.setState({activeKey:Object(g["a"])(Object(g["a"])({},e.store.getState().activeKey),{},Object(S["a"])({},e.eventKey,Be(e,e.activeKey)))}),r.instanceArray=[],r}return Object(v["a"])(n,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(e){return this.props.visible||e.visible||this.props.className!==e.className||!B()(this.props.style,e.style)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n="activeKey"in t?t.activeKey:t.store.getState().activeKey[Oe(t)],r=Be(t,n);if(r!==n)Ee(t.store,Oe(t),r);else if("activeKey"in e){var i=Be(e,e.activeKey);r!==i&&Ee(t.store,Oe(t),r)}}},{key:"render",value:function(){var e=this,t=Object(C["a"])({},this.props);this.instanceArray=[];var n=T()(t.prefixCls,t.className,"".concat(t.prefixCls,"-").concat(t.mode)),r={className:n,role:t.role||"menu"};t.id&&(r.id=t.id),t.focusable&&(r.tabIndex=0,r.onKeyDown=this.onKeyDown);var i=t.prefixCls,o=t.eventKey,a=t.visible,s=t.level,l=t.mode,c=t.overflowedIndicator,u=t.theme;return re.forEach((function(e){return delete t[e]})),delete t.onClick,A["createElement"](Se,Object.assign({},t,{prefixCls:i,mode:l,tag:"ul",level:s,theme:u,visible:a,overflowedIndicator:c},r),A["Children"].map(t.children,(function(t,n){return e.renderMenuItem(t,n,o||"0-menu-")})))}}]),n}(A["Component"]);Te.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:J};var Ie=Object(w["b"])()(Te),Le=Ie,De=n("Kwbf");function Pe(e,t,n){var r=e.prefixCls,i=e.motion,o=e.defaultMotions,a=void 0===o?{}:o,s=e.openAnimation,l=e.openTransitionName,c=t.switchingModeFromInline;if(i)return i;if("object"===Object(I["a"])(s)&&s)Object(De["a"])(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if("string"===typeof s)return{motionName:"".concat(r,"-open-").concat(s)};if(l)return{motionName:l};var u=a[n];return u||(c?null:a.other)}var Ne=function(e){Object(b["a"])(n,e);var t=Object(_["a"])(n);function n(e){var r;Object(m["a"])(this,n),r=t.call(this,e),r.inlineOpenKeys=[],r.onSelect=function(e){var t=Object(y["a"])(r),n=t.props;if(n.selectable){var i=r.store.getState(),o=i.selectedKeys,a=e.key;o=n.multiple?o.concat([a]):[a],"selectedKeys"in n||r.store.setState({selectedKeys:o}),n.onSelect(Object(g["a"])(Object(g["a"])({},e),{},{selectedKeys:o}))}},r.onClick=function(e){var t=r.getRealMenuMode(),n=Object(y["a"])(r),i=n.store,o=n.props.onOpenChange;"inline"===t||"openKeys"in r.props||(i.setState({openKeys:[]}),o([])),r.props.onClick(e)},r.onKeyDown=function(e,t){r.innerMenu.getWrappedInstance().onKeyDown(e,t)},r.onOpenChange=function(e){var t=Object(y["a"])(r),n=t.props,i=r.store.getState().openKeys.concat(),o=!1,a=function(e){var t=!1;if(e.open)t=-1===i.indexOf(e.key),t&&i.push(e.key);else{var n=i.indexOf(e.key);t=-1!==n,t&&i.splice(n,1)}o=o||t};Array.isArray(e)?e.forEach(a):a(e),o&&("openKeys"in r.props||r.store.setState({openKeys:i}),n.onOpenChange(i))},r.onDeselect=function(e){var t=Object(y["a"])(r),n=t.props;if(n.selectable){var i=r.store.getState().selectedKeys.concat(),o=e.key,a=i.indexOf(o);-1!==a&&i.splice(a,1),"selectedKeys"in n||r.store.setState({selectedKeys:i}),n.onDeselect(Object(g["a"])(Object(g["a"])({},e),{},{selectedKeys:i}))}},r.onMouseEnter=function(e){r.restoreModeVerticalFromInline();var t=r.props.onMouseEnter;t&&t(e)},r.onTransitionEnd=function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,n=e.target.className,i="[object SVGAnimatedString]"===Object.prototype.toString.call(n)?n.animVal:n,o="font-size"===e.propertyName&&i.indexOf("anticon")>=0;(t||o)&&r.restoreModeVerticalFromInline()},r.setInnerMenu=function(e){r.innerMenu=e},r.isRootMenu=!0;var i=e.defaultSelectedKeys,o=e.defaultOpenKeys;return"selectedKeys"in e&&(i=e.selectedKeys||[]),"openKeys"in e&&(o=e.openKeys||[]),r.store=Object(w["c"])({selectedKeys:i,openKeys:o,activeKey:{"0-menu-":Be(e,e.activeKey)}}),r.state={switchingModeFromInline:!1},r}return Object(v["a"])(n,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(e){this.updateOpentKeysWhenSwitchMode(e),this.updateMiniStore();var t=this.props,n=t.siderCollapsed,r=t.inlineCollapsed,i=t.onOpenChange;(!e.inlineCollapsed&&r||!e.siderCollapsed&&n)&&i([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(e){var t=this.props,n=this.store,r=this.inlineOpenKeys,i=n.getState(),o={};"inline"===e.mode&&"inline"!==t.mode&&this.setState({switchingModeFromInline:!0}),"openKeys"in t||((t.inlineCollapsed&&!e.inlineCollapsed||t.siderCollapsed&&!e.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=i.openKeys.concat(),o.openKeys=[]),(!t.inlineCollapsed&&e.inlineCollapsed||!t.siderCollapsed&&e.siderCollapsed)&&(o.openKeys=r,this.inlineOpenKeys=[])),Object.keys(o).length&&n.setState(o)}},{key:"updateMenuDisplay",value:function(){var e=this.props.collapsedWidth,t=this.store,n=this.prevOpenKeys,r=this.getInlineCollapsed()&&(0===e||"0"===e||"0px"===e);r?(this.prevOpenKeys=t.getState().openKeys.concat(),this.store.setState({openKeys:[]})):n&&(this.store.setState({openKeys:n}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var e=this.props.mode,t=this.state.switchingModeFromInline,n=this.getInlineCollapsed();return t&&n?"inline":n?"vertical":e}},{key:"getInlineCollapsed",value:function(){var e=this.props,t=e.inlineCollapsed,n=e.siderCollapsed;return void 0!==n?n:t}},{key:"restoreModeVerticalFromInline",value:function(){var e=this.state.switchingModeFromInline;e&&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 e=Object(g["a"])({},Object(x["default"])(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),t=this.getRealMenuMode();return e.className+=" ".concat(e.prefixCls,"-root"),"rtl"===e.direction&&(e.className+=" ".concat(e.prefixCls,"-rtl")),e=Object(g["a"])(Object(g["a"])({},e),{},{mode:t,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Pe(this.props,this.state,t)}),delete e.openAnimation,delete e.openTransitionName,A["createElement"](w["a"],{store:this.store},A["createElement"](Le,Object.assign({},e,{ref:this.setInnerMenu}),this.props.children))}}]),n}(A["Component"]);Ne.defaultProps={selectable:!0,onClick:J,onSelect:J,onOpenChange:J,onDeselect:J,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:A["createElement"]("span",null,"\xb7\xb7\xb7")};var je=Ne,Fe=function(e){Object(b["a"])(n,e);var t=Object(_["a"])(n);function n(){var e;return Object(m["a"])(this,n),e=t.apply(this,arguments),e.onKeyDown=function(t){var n=t.keyCode;if(n===k["a"].ENTER)return e.onClick(t),!0},e.onMouseLeave=function(t){var n=e.props,r=n.eventKey,i=n.onItemHover,o=n.onMouseLeave;i({key:r,hover:!1}),o({key:r,domEvent:t})},e.onMouseEnter=function(t){var n=e.props,r=n.eventKey,i=n.onItemHover,o=n.onMouseEnter;i({key:r,hover:!0}),o({key:r,domEvent:t})},e.onClick=function(t){var n=e.props,r=n.eventKey,i=n.multiple,o=n.onClick,a=n.onSelect,s=n.onDeselect,l=n.isSelected,c={key:r,keyPath:[r],item:Object(y["a"])(e),domEvent:t};o(c),i?l?s(c):a(c):l||a(c)},e.saveNode=function(t){e.node=t},e}return Object(v["a"])(n,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var e=this.props;e.onDestroy&&e.onDestroy(e.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 e,t=Object(g["a"])({},this.props),n=T()(this.getPrefixCls(),t.className,(e={},Object(S["a"])(e,this.getActiveClassName(),!t.disabled&&t.active),Object(S["a"])(e,this.getSelectedClassName(),t.isSelected),Object(S["a"])(e,this.getDisabledClassName(),t.disabled),e)),r=Object(g["a"])(Object(g["a"])({},t.attribute),{},{title:"string"===typeof t.title?t.title:void 0,className:n,role:t.role||"menuitem","aria-disabled":t.disabled});"option"===t.role?r=Object(g["a"])(Object(g["a"])({},r),{},{role:"option","aria-selected":t.isSelected}):null!==t.role&&"none"!==t.role||(r.role="none");var i={onClick:t.disabled?null:this.onClick,onMouseLeave:t.disabled?null:this.onMouseLeave,onMouseEnter:t.disabled?null:this.onMouseEnter},o=Object(g["a"])({},t.style);"inline"===t.mode&&("rtl"===t.direction?o.paddingRight=t.inlineIndent*t.level:o.paddingLeft=t.inlineIndent*t.level),re.forEach((function(e){return delete t[e]})),delete t.direction;var a=this.props.itemIcon;return"function"===typeof this.props.itemIcon&&(a=A["createElement"](this.props.itemIcon,this.props)),A["createElement"]("li",Object.assign({},Object(x["default"])(t,["onClick","onMouseEnter","onMouseLeave","onSelect"]),r,i,{style:o,ref:this.saveNode}),t.children,a)}}]),n}(A["Component"]);Fe.isMenuItem=!0,Fe.defaultProps={onSelect:J,onMouseEnter:J,onMouseLeave:J,manualRef:J};var Re=Object(w["b"])((function(e,t){var n=e.activeKey,r=e.selectedKeys,i=t.eventKey,o=t.subMenuKey;return{active:n[o]===i,isSelected:-1!==r.indexOf(i)}}))(Fe),Ue=Re,He=function(e){Object(b["a"])(n,e);var t=Object(_["a"])(n);function n(){var e;return Object(m["a"])(this,n),e=t.apply(this,arguments),e.renderInnerMenuItem=function(t){var n=e.props,r=n.renderMenuItem,i=n.index;return r(t,i,e.props.subMenuKey)},e}return Object(v["a"])(n,[{key:"render",value:function(){var e=Object(C["a"])({},this.props),t=e.className,n=void 0===t?"":t,r=e.rootPrefixCls,i="".concat(r,"-item-group-title"),o="".concat(r,"-item-group-list"),a=e.title,s=e.children;return re.forEach((function(t){return delete e[t]})),delete e.onClick,delete e.direction,A["createElement"]("li",Object.assign({},e,{className:"".concat(n," ").concat(r,"-item-group")}),A["createElement"]("div",{className:i,title:"string"===typeof a?a:void 0},a),A["createElement"]("ul",{className:o},A["Children"].map(s,this.renderInnerMenuItem)))}}]),n}(A["Component"]);He.isMenuItemGroup=!0,He.defaultProps={disabled:!0};var Qe=He,Ke=function(e){var t=e.className,n=e.rootPrefixCls,r=e.style;return A["createElement"]("li",{className:"".concat(t," ").concat(n,"-item-divider"),style:r})};Ke.defaultProps={disabled:!0,className:"",style:{}};var ze=Ke,Ve=je,We=Object(A["createContext"])({inlineCollapsed:!1}),Ge=We,Xe=n("0n0R"),qe=function(e){h()(n,e);var t=p()(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"renderTitle",value:function(e){var t=this.props,n=t.icon,r=t.title,i=t.level,o=t.rootPrefixCls;if(!n)return e&&1===i&&r&&"string"===typeof r?A["createElement"]("div",{className:"".concat(o,"-inline-collapsed-noicon")},r.charAt(0)):r;var a=Object(Xe["b"])(r)&&"span"===r.type;return A["createElement"](A["Fragment"],null,n,a?r:A["createElement"]("span",null,r))}},{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,r=t.popupClassName;return A["createElement"](Ge.Consumer,null,(function(t){var o=t.inlineCollapsed,a=t.antdMenuTheme;return A["createElement"](_e,i()({},Object(x["default"])(e.props,["icon"]),{title:e.renderTitle(o),popupClassName:T()(n,"".concat(n,"-").concat(a),r)}))}))}}]),n}(A["Component"]);qe.contextType=Ge,qe.isSubMenu=1;var Ye=qe,Ze=n("Zm9Q"),Je=n("3S7+"),$e=n("ZX9x"),et=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},tt=function(e){h()(n,e);var t=p()(n);function n(){var e;return l()(this,n),e=t.apply(this,arguments),e.renderItem=function(t){var n=t.siderCollapsed,r=e.props,o=r.level,s=r.className,l=r.children,c=r.rootPrefixCls,u=e.props,d=u.title,h=u.icon,f=u.danger,p=et(u,["title","icon","danger"]);return A["createElement"](Ge.Consumer,null,(function(t){var r,u=t.inlineCollapsed,g=t.direction,m=d;"undefined"===typeof d?m=1===o?l:"":!1===d&&(m="");var v={title:m};n||u||(v.title=null,v.visible=!1);var y=Object(Ze["a"])(l).length;return A["createElement"](Je["a"],i()({},v,{placement:"rtl"===g?"left":"right",overlayClassName:"".concat(c,"-inline-collapsed-tooltip")}),A["createElement"](Ue,i()({},p,{className:T()(s,(r={},a()(r,"".concat(c,"-item-danger"),f),a()(r,"".concat(c,"-item-only-child"),1===(h?y+1:y)),r)),title:d}),h,e.renderItemChildren(u)))}))},e}return u()(n,[{key:"renderItemChildren",value:function(e){var t=this.props,n=t.icon,r=t.children,i=t.level,o=t.rootPrefixCls;return!n||Object(Xe["b"])(r)&&"span"===r.type?r&&e&&1===i&&"string"===typeof r?A["createElement"]("div",{className:"".concat(o,"-inline-collapsed-noicon")},r.charAt(0)):r:A["createElement"]("span",null,r)}},{key:"render",value:function(){return A["createElement"]($e["a"].Consumer,null,this.renderItem)}}]),n}(A["Component"]);tt.isMenuItem=!0;var nt=n("H84U"),rt=n("uaoM"),it=n("EXcs"),ot=function(e){h()(n,e);var t=p()(n);function n(e){var r;return l()(this,n),r=t.call(this,e),r.renderMenu=function(e){var t=e.getPopupContainer,n=e.getPrefixCls,o=e.direction,s=r.props,l=s.prefixCls,c=s.className,u=s.theme,d={horizontal:{motionName:"slide-up"},inline:it["a"],other:{motionName:"zoom-big"}},h=n("menu",l),f=T()(c,"".concat(h,"-").concat(u),a()({},"".concat(h,"-inline-collapsed"),r.getInlineCollapsed()));return A["createElement"](Ge.Provider,{value:{inlineCollapsed:r.getInlineCollapsed()||!1,antdMenuTheme:u,direction:o}},A["createElement"](Ve,i()({getPopupContainer:t},r.props,{className:f,prefixCls:h,direction:o,defaultMotions:d})))},Object(rt["a"])(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(rt["a"])(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),r}return u()(n,[{key:"getInlineCollapsed",value:function(){var e=this.props,t=e.inlineCollapsed,n=e.siderCollapsed;return void 0!==n?n:t}},{key:"render",value:function(){return A["createElement"](nt["a"],null,this.renderMenu)}}]),n}(A["Component"]);ot.defaultProps={className:"",theme:"light",focusable:!1};var at=function(e){h()(n,e);var t=p()(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this;return A["createElement"]($e["a"].Consumer,null,(function(t){return A["createElement"](ot,i()({},e.props,t))}))}}]),n}(A["Component"]);at.Divider=ze,at.Item=tt,at.SubMenu=Ye,at.ItemGroup=Qe},C0SR:function(e,t,n){var r=n("YH21"),i=function(){this._track=[]};function o(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function a(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}i.prototype={constructor:i,recognize:function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},clear:function(){return this._track.length=0,this},_doTrack:function(e,t,n){var i=e.touches;if(i){for(var o={points:[],touches:[],target:t,event:e},a=0,s=i.length;a<s;a++){var l=i[a],c=r.clientToLocal(n,l,{});o.points.push([c.zrX,c.zrY]),o.touches.push(l)}this._track.push(o)}},_recognize:function(e){for(var t in s)if(s.hasOwnProperty(t)){var n=s[t](this._track,e);if(n)return n}}};var s={pinch:function(e,t){var n=e.length;if(n){var r=(e[n-1]||{}).points,i=(e[n-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var s=o(r)/o(i);!isFinite(s)&&(s=1),t.pinchScale=s;var l=a(r);return t.pinchX=l[0],t.pinchY=l[1],{type:"pinch",target:e[0].target,event:t}}}}},l=i;e.exports=l},C0tN:function(e,t,n){n("0o9m"),n("8Uz6"),n("Ducp"),n("6/nd")},CBdT:function(e,t,n){var r=n("ProS");n("8waO"),n("AEZ6"),n("YNf1");var i=n("q3GZ");r.registerVisual(i)},CF2D:function(e,t,n){var r=n("ProS");n("vZI5"),n("GeKi");var i=n("6r85"),o=n("TJmX"),a=n("CbHG");r.registerPreprocessor(i),r.registerVisual(o),r.registerLayout(a)},CFYs:function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("PJYZ"),h=n.n(d),f=n("7W2i"),p=n.n(f),A=n("LQ03"),g=n.n(A),m=n("q1tI"),v=n.n(m),y=n("TSYQ"),b=n.n(y),_=n("BGR+"),w=n("V/uB"),x=n.n(w),C=n("NAnI"),S=n.n(C),k=n("J84W"),E=n.n(k),O=n("kbBi"),B=n.n(O),M=n("H84U"),T=n("CWQg"),I=n("uaoM"),L=n("lMfh"),D=n.n(L),P=2,N=.16,j=.05,F=.05,R=.15,U=5,H=4,Q=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function K(e,t,n){var r;return r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-P*t:Math.round(e.h)+P*t:n?Math.round(e.h)+P*t:Math.round(e.h)-P*t,r<0?r+=360:r>=360&&(r-=360),r}function z(e,t,n){return 0===e.h&&0===e.s?e.s:(r=n?e.s-N*t:t===H?e.s+N:e.s+j*t,r>1&&(r=1),n&&t===U&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function V(e,t,n){var r;return r=n?e.v+F*t:e.v-R*t,r>1&&(r=1),Number(r.toFixed(2))}function W(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=D()(e),i=U;i>0;i-=1){var o=r.toHsv(),a=D()({h:K(o,i,!0),s:z(o,i,!0),v:V(o,i,!0)}).toHexString();n.push(a)}n.push(r.toHexString());for(var s=1;s<=H;s+=1){var l=r.toHsv(),c=D()({h:K(l,s),s:z(l,s),v:V(l,s)}).toHexString();n.push(c)}return"dark"===t.theme?Q.map((function(e){var r=e.index,i=e.opacity,o=D.a.mix(t.backgroundColor||"#141414",n[r],100*i).toHexString();return o})):n}var G={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},X={},q={};Object.keys(G).forEach((function(e){X[e]=W(G[e]),X[e].primary=X[e][5],q[e]=W(G[e],{theme:"dark",backgroundColor:"#141414"}),q[e].primary=q[e][5]}));X.red,X.volcano,X.gold,X.orange,X.yellow,X.lime,X.green,X.cyan,X.blue,X.geekblue,X.purple,X.magenta,X.grey;function Y(e){return!e||e<0?0:e>100?100:e}function Z(e){var t=e.success,n=e.successPercent,r=n;return t&&"progress"in t&&(Object(I["a"])(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),r=t.progress),t&&"percent"in t&&(r=t.percent),r}var J=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},$=function(e){var t=[];return Object.keys(e).forEach((function(n){var r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})})),t=t.sort((function(e,t){return e.key-t.key})),t.map((function(e){var t=e.key,n=e.value;return"".concat(n," ").concat(t,"%")})).join(", ")},ee=function(e){var t=e.from,n=void 0===t?G.blue:t,r=e.to,i=void 0===r?G.blue:r,o=e.direction,a=void 0===o?"to right":o,s=J(e,["from","to","direction"]);if(0!==Object.keys(s).length){var l=$(s);return{backgroundImage:"linear-gradient(".concat(a,", ").concat(l,")")}}return{backgroundImage:"linear-gradient(".concat(a,", ").concat(n,", ").concat(i,")")}},te=function(e){var t=e.prefixCls,n=e.percent,r=e.strokeWidth,i=e.size,o=e.strokeColor,s=e.strokeLinecap,l=e.children,c=e.trailColor,u=e.success,d=o&&"string"!==typeof o?ee(o):{background:o},h=c?{backgroundColor:c}:void 0,f=a()({width:"".concat(Y(n),"%"),height:r||("small"===i?6:8),borderRadius:"square"===s?0:""},d),p=Z(e),A={width:"".concat(Y(p),"%"),height:r||("small"===i?6:8),borderRadius:"square"===s?0:"",backgroundColor:null===u||void 0===u?void 0:u.strokeColor},g=void 0!==p?m["createElement"]("div",{className:"".concat(t,"-success-bg"),style:A}):null;return m["createElement"](m["Fragment"],null,m["createElement"]("div",{className:"".concat(t,"-outer")},m["createElement"]("div",{className:"".concat(t,"-inner"),style:h},m["createElement"]("div",{className:"".concat(t,"-bg"),style:f}),g)),l)},ne=te,re={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ie=function(e){var t=e.map((function(){return Object(m["useRef"])()})),n=Object(m["useRef"])();return Object(m["useEffect"])((function(){var e=Date.now(),r=!1;Object.keys(t).forEach((function(i){var o=t[i].current;if(o){r=!0;var a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",n.current&&e-n.current<100&&(a.transitionDuration="0s, 0s")}})),r&&(n.current=Date.now())})),[t]};function oe(){return oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oe.apply(this,arguments)}function ae(e,t){return de(e)||ue(e,t)||le(e,t)||se()}function se(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function le(e,t){if(e){if("string"===typeof e)return ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ce(e,t):void 0}}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ue(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function de(e){if(Array.isArray(e))return e}function he(e,t){if(null==e)return{};var n,r,i=fe(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function fe(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var pe=function(e){var t=e.className,n=e.percent,r=e.prefixCls,i=e.strokeColor,o=e.strokeLinecap,a=e.strokeWidth,s=e.style,l=e.trailColor,c=e.trailWidth,u=e.transition,d=he(e,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete d.gapPosition;var h=Array.isArray(n)?n:[n],f=Array.isArray(i)?i:[i],p=ie(h),A=ae(p,1),g=A[0],m=a/2,y=100-a/2,_="M ".concat("round"===o?m:0,",").concat(m,"\n L ").concat("round"===o?y:100,",").concat(m),w="0 0 100 ".concat(a),x=0;return v.a.createElement("svg",oe({className:b()("".concat(r,"-line"),t),viewBox:w,preserveAspectRatio:"none",style:s},d),v.a.createElement("path",{className:"".concat(r,"-line-trail"),d:_,strokeLinecap:o,stroke:l,strokeWidth:c||a,fillOpacity:"0"}),h.map((function(e,t){var n={strokeDasharray:"".concat(e,"px, 100px"),strokeDashoffset:"-".concat(x,"px"),transition:u||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},i=f[t]||f[f.length-1];return x+=e,v.a.createElement("path",{key:t,className:"".concat(r,"-line-path"),d:_,strokeLinecap:o,stroke:i,strokeWidth:a,fillOpacity:"0",ref:g[t],style:n})})))};pe.defaultProps=re;function Ae(){return Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ae.apply(this,arguments)}function ge(e,t){return _e(e)||be(e,t)||ve(e,t)||me()}function me(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ve(e,t){if(e){if("string"===typeof e)return ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ye(e,t):void 0}}function ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function be(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function _e(e){if(Array.isArray(e))return e}function we(e,t){if(null==e)return{};var n,r,i=xe(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function xe(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Ce=0;function Se(e){return+e.replace("%","")}function ke(e){return Array.isArray(e)?e:[e]}function Ee(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5?arguments[5]:void 0,a=50-r/2,s=0,l=-a,c=0,u=-2*a;switch(o){case"left":s=-a,l=0,c=2*a,u=0;break;case"right":s=a,l=0,c=-2*a,u=0;break;case"bottom":l=a,u=2*a;break;default:}var d="M 50,50 m ".concat(s,",").concat(l,"\n a ").concat(a,",").concat(a," 0 1 1 ").concat(c,",").concat(-u,"\n a ").concat(a,",").concat(a," 0 1 1 ").concat(-c,",").concat(u),h=2*Math.PI*a,f={stroke:n,strokeDasharray:"".concat(t/100*(h-i),"px ").concat(h,"px"),strokeDashoffset:"-".concat(i/2+e/100*(h-i),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:d,pathStyle:f}}var Oe=function(e){var t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,i=e.gapDegree,o=e.gapPosition,a=e.trailColor,s=e.strokeLinecap,l=e.style,c=e.className,u=e.strokeColor,d=e.percent,h=we(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),f=Object(m["useMemo"])((function(){return Ce+=1,Ce}),[]),p=Ee(0,100,a,n,i,o),A=p.pathString,g=p.pathStyle,y=ke(d),_=ke(u),w=_.find((function(e){return"[object Object]"===Object.prototype.toString.call(e)})),x=ie(y),C=ge(x,1),S=C[0],k=function(){var e=0;return y.map((function(r,a){var l=_[a]||_[_.length-1],c="[object Object]"===Object.prototype.toString.call(l)?"url(#".concat(t,"-gradient-").concat(f,")"):"",u=Ee(e,r,l,n,i,o);return e+=r,v.a.createElement("path",{key:a,className:"".concat(t,"-circle-path"),d:u.pathString,stroke:c,strokeLinecap:s,strokeWidth:n,opacity:0===r?0:1,fillOpacity:"0",style:u.pathStyle,ref:S[a]})}))};return v.a.createElement("svg",Ae({className:b()("".concat(t,"-circle"),c),viewBox:"0 0 100 100",style:l},h),w&&v.a.createElement("defs",null,v.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(f),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(w).sort((function(e,t){return Se(e)-Se(t)})).map((function(e,t){return v.a.createElement("stop",{key:t,offset:e,stopColor:w[e]})})))),v.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:A,stroke:a,strokeLinecap:s,strokeWidth:r||n,fillOpacity:"0",style:g}),k().reverse())};Oe.defaultProps=re;var Be=Oe;function Me(e){var t=e.percent,n=e.success,r=e.successPercent,i=Y(t),o=Z({success:n,successPercent:r});return o?[Y(o),Y(i-Y(o))]:i}function Te(e){var t=e.success,n=e.strokeColor,r=e.successPercent,i=n||null,o=Z({success:t,successPercent:r});return o?[G.green,i]:i}var Ie=function(e){var t=e.prefixCls,n=e.width,r=e.strokeWidth,o=e.trailColor,a=e.strokeLinecap,s=e.gapPosition,l=e.gapDegree,c=e.type,u=e.children,d=n||120,h={width:d,height:d,fontSize:.15*d+6},f=r||6,p=s||"dashboard"===c&&"bottom"||"top",A=function(){return l||0===l?l:"dashboard"===c?75:void 0},g=Te(e),v="[object Object]"===Object.prototype.toString.call(g),y=b()("".concat(t,"-inner"),i()({},"".concat(t,"-circle-gradient"),v));return m["createElement"]("div",{className:y,style:h},m["createElement"](Be,{percent:Me(e),strokeWidth:f,trailWidth:f,strokeColor:g,strokeLinecap:a,trailColor:o,prefixCls:t,gapDegree:A(),gapPosition:p}),u)},Le=Ie,De=function(e){for(var t=e.size,n=e.steps,r=e.percent,o=void 0===r?0:r,a=e.strokeWidth,s=void 0===a?8:a,l=e.strokeColor,c=e.trailColor,u=e.prefixCls,d=e.children,h=Math.floor(n*(o/100)),f="small"===t?2:14,p=[],A=0;A<n;A+=1)p.push(m["createElement"]("div",{key:A,className:b()("".concat(u,"-steps-item"),i()({},"".concat(u,"-steps-item-active"),A<=h-1)),style:{backgroundColor:A<=h-1?l:c,width:f,height:s}}));return m["createElement"]("div",{className:"".concat(u,"-steps-outer")},p,d)},Pe=De,Ne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},je=(Object(T["a"])("line","circle","dashboard"),Object(T["a"])("normal","exception","active","success")),Fe=function(e){p()(n,e);var t=g()(n);function n(){var e;return l()(this,n),e=t.apply(this,arguments),e.renderProgress=function(t){var n,r,o=t.getPrefixCls,s=t.direction,l=h()(e),c=l.props,u=c.prefixCls,d=c.className,f=c.size,p=c.type,A=c.steps,g=c.showInfo,v=c.strokeColor,y=Ne(c,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),w=o("progress",u),x=e.getProgressStatus(),C=e.renderProcessInfo(w,x);Object(I["a"])(!("successPercent"in c),"Progress","`successPercent` is deprecated. Please use `success.percent` instead."),"line"===p?r=A?m["createElement"](Pe,a()({},e.props,{strokeColor:"string"===typeof v?v:void 0,prefixCls:w,steps:A}),C):m["createElement"](ne,a()({},e.props,{prefixCls:w}),C):"circle"!==p&&"dashboard"!==p||(r=m["createElement"](Le,a()({},e.props,{prefixCls:w,progressStatus:x}),C));var S=b()(w,(n={},i()(n,"".concat(w,"-").concat(("dashboard"===p?"circle":A&&"steps")||p),!0),i()(n,"".concat(w,"-status-").concat(x),!0),i()(n,"".concat(w,"-show-info"),g),i()(n,"".concat(w,"-").concat(f),f),i()(n,"".concat(w,"-rtl"),"rtl"===s),n),d);return m["createElement"]("div",a()({},Object(_["default"])(y,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:S}),r)},e}return u()(n,[{key:"getPercentNumber",value:function(){var e=this.props.percent,t=void 0===e?0:e,n=Z(this.props);return parseInt(void 0!==n?n.toString():t.toString(),10)}},{key:"getProgressStatus",value:function(){var e=this.props.status;return je.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,r=this.props,i=r.showInfo,o=r.format,a=r.type,s=r.percent,l=Z(this.props);if(!i)return null;var c=o||function(e){return"".concat(e,"%")},u="line"===a;return o||"exception"!==t&&"success"!==t?n=c(Y(s),Y(l)):"exception"===t?n=u?m["createElement"](B.a,null):m["createElement"](x.a,null):"success"===t&&(n=u?m["createElement"](E.a,null):m["createElement"](S.a,null)),m["createElement"]("span",{className:"".concat(e,"-text"),title:"string"===typeof n?n:void 0},n)}},{key:"render",value:function(){return m["createElement"](M["a"],null,this.renderProgress)}}]),n}(m["Component"]);Fe.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};t["a"]=Fe},CH3K:function(e,t){function n(e,t){var n=-1,r=t.length,i=e.length;while(++n<r)e[i+n]=t[n];return e}e.exports=n},"CMP+":function(e,t,n){var r=n("bYtY"),i=n("hM6l"),o=function(e,t,n,r){i.call(this,e,t,n),this.type=r||"value",this.model=null};o.prototype={constructor:o,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},r.inherits(o,i);var a=o;e.exports=a},CP8R:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},"CWI+":function(e,t,n){},CbHG:function(e,t,n){var r=n("IwbS"),i=r.subPixelOptimize,o=n("zM3Q"),a=n("OELB"),s=a.parsePercent,l=n("bYtY"),c=l.retrieve2,u="undefined"!==typeof Float32Array?Float32Array:Array,d={seriesType:"candlestick",plan:o(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=f(e,n),o=0,a=1,s=["x","y"],l=n.mapDimension(s[o]),c=n.mapDimension(s[a],!0),d=c[0],p=c[1],A=c[2],g=c[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(null==l||c.length<4))return{progress:e.pipelineContext.large?v:m};function m(e,n){var s;while(null!=(s=e.next())){var c=n.get(l,s),u=n.get(d,s),f=n.get(p,s),m=n.get(A,s),v=n.get(g,s),y=Math.min(u,f),b=Math.max(u,f),_=k(y,c),w=k(b,c),x=k(m,c),C=k(v,c),S=[];E(S,w,0),E(S,_,1),S.push(B(C),B(w),B(x),B(_)),n.setItemLayout(s,{sign:h(n,s,u,f,p),initBaseline:u>f?w[a]:_[a],ends:S,brushRect:O(m,v,c)})}function k(e,n){var r=[];return r[o]=n,r[a]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(r)}function E(e,t,n){var a=t.slice(),s=t.slice();a[o]=i(a[o]+r/2,1,!1),s[o]=i(s[o]-r/2,1,!0),n?e.push(a,s):e.push(s,a)}function O(e,t,n){var i=k(e,n),s=k(t,n);return i[o]-=r/2,s[o]-=r/2,{x:i[0],y:i[1],width:a?r:s[0]-i[0],height:a?s[1]-i[1]:r}}function B(e){return e[o]=i(e[o],1),e}}function v(e,n){var r,i,s=new u(4*e.count),c=0,f=[],m=[];while(null!=(i=e.next())){var v=n.get(l,i),y=n.get(d,i),b=n.get(p,i),_=n.get(A,i),w=n.get(g,i);isNaN(v)||isNaN(_)||isNaN(w)?(s[c++]=NaN,c+=3):(s[c++]=h(n,i,y,b,p),f[o]=v,f[a]=_,r=t.dataToPoint(f,null,m),s[c++]=r?r[0]:NaN,s[c++]=r?r[1]:NaN,f[a]=w,r=t.dataToPoint(f,null,m),s[c++]=r?r[1]:NaN)}n.setLayout("largePoints",s)}}};function h(e,t,n,r,i){var o;return o=n>r?-1:n<r?1:t>0?e.get(i,t-1)<=r?1:-1:1,o}function f(e,t){var n,r=e.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),o=s(c(e.get("barMaxWidth"),i),i),a=s(c(e.get("barMinWidth"),1),i),l=e.get("barWidth");return null!=l?s(l,i):Math.max(Math.min(i/2,o),a)}e.exports=d},CiB2:function(e,t,n){"use strict";function r(e){if(null==e)throw new TypeError("Cannot destructure undefined")}n.d(t,"a",(function(){return r}))},Cm0C:function(e,t,n){n("5NHt"),n("f3JH")},CrYA:function(e,t,n){var r=n("MFOe"),i=r.Global;function o(){return i.sessionStorage}function a(e){return o().getItem(e)}function s(e,t){return o().setItem(e,t)}function l(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(a(n),n)}}function c(e){return o().removeItem(e)}function u(){return o().clear()}e.exports={name:"sessionStorage",read:a,write:s,each:l,remove:c,clearAll:u}},Csr3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("4vCz"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},Cwc5:function(e,t,n){var r=n("NKxu"),i=n("Npjl");function o(e,t){var n=i(e,t);return r(n)?n:void 0}e.exports=o},D1WM:function(e,t,n){var r=n("bYtY"),i=n("hM6l"),o=function(e,t,n,r,o){i.call(this,e,t,n),this.type=r||"value",this.axisIndex=o};o.prototype={constructor:o,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},r.inherits(o,i);var a=o;e.exports=a},D5nY:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("4NO4")),o=i.makeInner,a=i.getDataItemValue,s=n("bYtY"),l=s.createHashMap,c=s.each,u=s.map,d=s.isArray,h=s.isString,f=s.isObject,p=s.isTypedArray,A=s.isArrayLike,g=s.extend,m=(s.assert,n("7G+c")),v=n("k9D9"),y=v.SOURCE_FORMAT_ORIGINAL,b=v.SOURCE_FORMAT_ARRAY_ROWS,_=v.SOURCE_FORMAT_OBJECT_ROWS,w=v.SOURCE_FORMAT_KEYED_COLUMNS,x=v.SOURCE_FORMAT_UNKNOWN,C=v.SOURCE_FORMAT_TYPED_ARRAY,S=v.SERIES_LAYOUT_BY_ROW,k={Must:1,Might:2,Not:3},E=o();function O(e){var t=e.option.source,n=x;if(p(t))n=C;else if(d(t)){0===t.length&&(n=b);for(var r=0,i=t.length;r<i;r++){var o=t[r];if(null!=o){if(d(o)){n=b;break}if(f(o)){n=_;break}}}}else if(f(t)){for(var a in t)if(t.hasOwnProperty(a)&&A(t[a])){n=w;break}}else if(null!=t)throw new Error("Invalid data");E(e).sourceFormat=n}function B(e){return E(e).source}function M(e){E(e).datasetMap=l()}function T(e){var t=e.option,n=t.data,r=p(n)?C:y,i=!1,o=t.seriesLayoutBy,a=t.sourceHeader,s=t.dimensions,l=F(e);if(l){var c=l.option;n=c.source,r=E(l).sourceFormat,i=!0,o=o||c.seriesLayoutBy,null==a&&(a=c.sourceHeader),s=s||c.dimensions}var u=I(n,r,o,a,s);E(e).source=new m({data:n,fromDataset:i,seriesLayoutBy:o,sourceFormat:r,dimensionsDefine:u.dimensionsDefine,startIndex:u.startIndex,dimensionsDetectCount:u.dimensionsDetectCount,encodeDefine:t.encode})}function I(e,t,n,r,i){if(!e)return{dimensionsDefine:L(i)};var o,s;if(t===b)"auto"===r||null==r?D((function(e){null!=e&&"-"!==e&&(h(e)?null==s&&(s=1):s=0)}),n,e,10):s=r?1:0,i||1!==s||(i=[],D((function(e,t){i[t]=null!=e?e:""}),n,e)),o=i?i.length:n===S?e.length:e[0]?e[0].length:null;else if(t===_)i||(i=P(e));else if(t===w)i||(i=[],c(e,(function(e,t){i.push(t)})));else if(t===y){var l=a(e[0]);o=d(l)&&l.length||1}return{startIndex:s,dimensionsDefine:L(i),dimensionsDetectCount:o}}function L(e){if(e){var t=l();return u(e,(function(e,n){if(e=g({},f(e)?e:{name:e}),null==e.name)return e;e.name+="",null==e.displayName&&(e.displayName=e.name);var r=t.get(e.name);return r?e.name+="-"+r.count++:t.set(e.name,{count:1}),e}))}}function D(e,t,n,r){if(null==r&&(r=1/0),t===S)for(var i=0;i<n.length&&i<r;i++)e(n[i]?n[i][0]:null,i);else{var o=n[0]||[];for(i=0;i<o.length&&i<r;i++)e(o[i],i)}}function P(e){var t,n=0;while(n<e.length&&!(t=e[n++]));if(t){var r=[];return c(t,(function(e,t){r.push(t)})),r}}function N(e,t,n){var r={},i=F(t);if(!i||!e)return r;var o,a,s=[],l=[],u=t.ecModel,d=E(u).datasetMap,h=i.uid+"_"+n.seriesLayoutBy;e=e.slice(),c(e,(function(t,n){!f(t)&&(e[n]={name:t}),"ordinal"===t.type&&null==o&&(o=n,a=g(e[n])),r[t.name]=[]}));var p=d.get(h)||d.set(h,{categoryWayDim:a,valueWayDim:0});function A(e,t,n){for(var r=0;r<n;r++)e.push(t+r)}function g(e){var t=e.dimsDef;return t?t.length:1}return c(e,(function(e,t){var n=e.name,i=g(e);if(null==o){var a=p.valueWayDim;A(r[n],a,i),A(l,a,i),p.valueWayDim+=i}else if(o===t)A(r[n],0,i),A(s,0,i);else{a=p.categoryWayDim;A(r[n],a,i),A(l,a,i),p.categoryWayDim+=i}})),s.length&&(r.itemName=s),l.length&&(r.seriesName=l),r}function j(e,t,n){var r={},i=F(e);if(!i)return r;var o,a=t.sourceFormat,s=t.dimensionsDefine;a!==_&&a!==w||c(s,(function(e,t){"name"===(f(e)?e.name:e)&&(o=t)}));var l=function(){for(var e={},r={},i=[],l=0,c=Math.min(5,n);l<c;l++){var u=U(t.data,a,t.seriesLayoutBy,s,t.startIndex,l);i.push(u);var d=u===k.Not;if(d&&null==e.v&&l!==o&&(e.v=l),(null==e.n||e.n===e.v||!d&&i[e.n]===k.Not)&&(e.n=l),h(e)&&i[e.n]!==k.Not)return e;d||(u===k.Might&&null==r.v&&l!==o&&(r.v=l),null!=r.n&&r.n!==r.v||(r.n=l))}function h(e){return null!=e.v&&null!=e.n}return h(e)?e:h(r)?r:null}();if(l){r.value=l.v;var u=null!=o?o:l.n;r.itemName=[u],r.seriesName=[u]}return r}function F(e){var t=e.option,n=t.data;if(!n)return e.ecModel.getComponent("dataset",t.datasetIndex||0)}function R(e,t){return U(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function U(e,t,n,r,i,o){var s,l,c,u=5;if(p(e))return k.Not;if(r){var A=r[o];f(A)?(l=A.name,c=A.type):h(A)&&(l=A)}if(null!=c)return"ordinal"===c?k.Must:k.Not;if(t===b)if(n===S){for(var g=e[o],m=0;m<(g||[]).length&&m<u;m++)if(null!=(s=E(g[i+m])))return s}else for(m=0;m<e.length&&m<u;m++){var v=e[i+m];if(v&&null!=(s=E(v[o])))return s}else if(t===_){if(!l)return k.Not;for(m=0;m<e.length&&m<u;m++){var x=e[m];if(x&&null!=(s=E(x[l])))return s}}else if(t===w){if(!l)return k.Not;g=e[l];if(!g||p(g))return k.Not;for(m=0;m<g.length&&m<u;m++)if(null!=(s=E(g[m])))return s}else if(t===y)for(m=0;m<e.length&&m<u;m++){x=e[m];var C=a(x);if(!d(C))return k.Not;if(null!=(s=E(C[o])))return s}function E(e){var t=h(e);return null!=e&&isFinite(e)&&""!==e?t?k.Might:k.Not:t&&"-"!==e?k.Must:void 0}return k.Not}t.BE_ORDINAL=k,t.detectSourceFormat=O,t.getSource=B,t.resetSourceDefaulter=M,t.prepareSource=T,t.makeSeriesEncodeForAxisCoordSys=N,t.makeSeriesEncodeForNameBased=j,t.guessOrdinal=R},D9ME:function(e,t,n){var r=n("IwbS"),i=n("fls0"),o=n("bYtY"),a=n("oVpE"),s=a.createSymbol,l=n("QBsz"),c=n("Sj9i");function u(e,t,n){r.Group.call(this),this.add(this.createLine(e,t,n)),this._updateEffectSymbol(e,t)}var d=u.prototype;d.createLine=function(e,t,n){return new i(e,t,n)},d._updateEffectSymbol=function(e,t){var n=e.getItemModel(t),r=n.getModel("effect"),i=r.get("symbolSize"),a=r.get("symbol");o.isArray(i)||(i=[i,i]);var l=r.get("color")||e.getItemVisual(t,"color"),c=this.childAt(1);this._symbolType!==a&&(this.remove(c),c=s(a,-.5,-.5,1,1,l),c.z2=100,c.culling=!0,this.add(c)),c&&(c.setStyle("shadowColor",l),c.setStyle(r.getItemStyle(["color"])),c.attr("scale",i),c.setColor(l),c.attr("scale",i),this._symbolType=a,this._symbolScale=i,this._updateEffectAnimation(e,r,t))},d._updateEffectAnimation=function(e,t,n){var r=this.childAt(1);if(r){var i=this,a=e.getItemLayout(n),s=1e3*t.get("period"),l=t.get("loop"),c=t.get("constantSpeed"),u=o.retrieve(t.get("delay"),(function(t){return t/e.count()*s/3})),d="function"===typeof u;if(r.ignore=!0,this.updateAnimationPoints(r,a),c>0&&(s=this.getLineLength(r)/c*1e3),s!==this._period||l!==this._loop){r.stopAnimation();var h=u;d&&(h=u(n)),r.__t>0&&(h=-s*r.__t),r.__t=0;var f=r.animate("",l).when(s,{__t:1}).delay(h).during((function(){i.updateSymbolPosition(r)}));l||f.done((function(){i.remove(r)})),f.start()}this._period=s,this._loop=l}},d.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},d.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},d.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},d.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,i=e.__t,o=e.position,a=[o[0],o[1]],s=c.quadraticAt,u=c.quadraticDerivativeAt;o[0]=s(t[0],r[0],n[0],i),o[1]=s(t[1],r[1],n[1],i);var d=u(t[0],r[0],n[0],i),h=u(t[1],r[1],n[1],i);if(e.rotation=-Math.atan2(h,d)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==e.__lastT&&e.__lastT<e.__t){var f=1.05*l.dist(a,o);e.attr("scale",[e.scale[0],f]),1===i&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)}else if(1===e.__lastT){f=2*l.dist(t,o);e.attr("scale",[e.scale[0],f])}else e.attr("scale",this._symbolScale);e.__lastT=e.__t,e.ignore=!1},d.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},o.inherits(u,r.Group);var h=u;e.exports=h},DBLp:function(e,t){function n(){}function r(e,t,n,r){for(var i=0,o=t.length,a=0,s=0;i<o;i++){var l=t[i];if(l.removed){for(c=[],u=s;u<s+l.count;u++)c.push(u);l.indices=c,s+=l.count}else{for(var c=[],u=a;u<a+l.count;u++)c.push(u);l.indices=c,a+=l.count,l.added||(s+=l.count)}}return t}function i(e){return{newPos:e.newPos,components:e.components.slice(0)}}n.prototype={diff:function(e,t,n){n||(n=function(e,t){return e===t}),this.equals=n;var o=this;e=e.slice(),t=t.slice();var a=t.length,s=e.length,l=1,c=a+s,u=[{newPos:-1,components:[]}],d=this.extractCommon(u[0],t,e,0);if(u[0].newPos+1>=a&&d+1>=s){for(var h=[],f=0;f<t.length;f++)h.push(f);return[{indices:h,count:t.length}]}function p(){for(var n=-1*l;n<=l;n+=2){var c,d=u[n-1],h=u[n+1],f=(h?h.newPos:0)-n;d&&(u[n-1]=void 0);var p=d&&d.newPos+1<a,A=h&&0<=f&&f<s;if(p||A){if(!p||A&&d.newPos<h.newPos?(c=i(h),o.pushComponent(c.components,void 0,!0)):(c=d,c.newPos++,o.pushComponent(c.components,!0,void 0)),f=o.extractCommon(c,t,e,n),c.newPos+1>=a&&f+1>=s)return r(o,c.components,t,e);u[n]=c}else u[n]=void 0}l++}while(l<=c){var A=p();if(A)return A}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){var i=t.length,o=n.length,a=e.newPos,s=a-r,l=0;while(a+1<i&&s+1<o&&this.equals(t[a+1],n[s+1]))a++,s++,l++;return l&&e.components.push({count:l}),e.newPos=a,s},tokenize:function(e){return e.slice()},join:function(e){return e.slice()}};var o=new n;function a(e,t,n){return o.diff(e,t,n)}e.exports=a},DEFe:function(e,t,n){var r=n("bYtY"),i=n("SgGq"),o=n("Ae+d"),a=n("xSat"),s=a.onIrrelevantElement,l=n("IwbS"),c=n("W4dC"),u=n("iRjW"),d=u.getUID,h=n("DN4a");function f(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function p(e,t,n,i,o){n.off("click"),n.off("mousedown"),t.get("selectedMode")&&(n.on("mousedown",(function(){e._mouseDownFlag=!0})),n.on("click",(function(a){if(e._mouseDownFlag){e._mouseDownFlag=!1;var s=a.target;while(!s.__regions)s=s.parent;if(s){var l={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:r.map(s.__regions,(function(e){return{name:e.name,from:o.uid}}))};l[t.mainType+"Id"]=t.id,i.dispatchAction(l),A(t,n)}}})))}function A(e,t){t.eachChild((function(t){r.each(t.__regions,(function(n){t.trigger(e.isSelected(n.name)?"emphasis":"normal")}))}))}function g(e,t){var n=new l.Group;this.uid=d("ec_map_draw"),this._controller=new i(e.getZr()),this._controllerHost={target:t?n:null},this.group=n,this._updateGroup=t,this._mouseDownFlag,this._mapName,this._initialized,n.add(this._regionsGroup=new l.Group),n.add(this._backgroundGroup=new l.Group)}g.prototype={constructor:g,draw:function(e,t,n,i,o){var a="geo"===e.mainType,s=e.getData&&e.getData();a&&t.eachComponent({mainType:"series",subType:"map"},(function(t){s||t.getHostGeoModel()!==e||(s=t.getData())}));var c=e.coordinateSystem;this._updateBackground(c);var u,d=this._regionsGroup,g=this.group,m=c.getTransformInfo(),v=!d.childAt(0)||o;if(v)g.transform=m.roamTransform,g.decomposeTransform(),g.dirty();else{var y=new h;y.transform=m.roamTransform,y.decomposeTransform();var b={scale:y.scale,position:y.position};u=y.scale,l.updateProps(g,b,e)}var _=m.rawScale,w=m.rawPosition;d.removeAll();var x=["itemStyle"],C=["emphasis","itemStyle"],S=["label"],k=["emphasis","label"],E=r.createHashMap();r.each(c.regions,(function(t){var n=E.get(t.name)||E.set(t.name,new l.Group),i=new l.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});n.add(i);var o,c=e.getRegionModel(t.name)||e,h=c.getModel(x),p=c.getModel(C),A=f(h),m=f(p),y=c.getModel(S),b=c.getModel(k);if(s){o=s.indexOfName(t.name);var O=s.getItemVisual(o,"color",!0);O&&(A.fill=O)}var B=function(e){return[e[0]*_[0]+w[0],e[1]*_[1]+w[1]]};r.each(t.geometries,(function(e){if("polygon"===e.type){for(var t=[],n=0;n<e.exterior.length;++n)t.push(B(e.exterior[n]));i.shape.paths.push(new l.Polygon({segmentIgnoreThreshold:1,shape:{points:t}}));for(n=0;n<(e.interiors?e.interiors.length:0);++n){for(var r=e.interiors[n],o=(t=[],0);o<r.length;++o)t.push(B(r[o]));i.shape.paths.push(new l.Polygon({segmentIgnoreThreshold:1,shape:{points:t}}))}}})),i.setStyle(A),i.style.strokeNoScale=!0,i.culling=!0;var M=y.get("show"),T=b.get("show"),I=s&&isNaN(s.get(s.mapDimension("value"),o)),L=s&&s.getItemLayout(o);if(a||I&&(M||T)||L&&L.showLabel){var D,P=a?t.name:o;(!s||o>=0)&&(D=e);var N=new l.Text({position:B(t.center.slice()),scale:[1/g.scale[0],1/g.scale[1]],z2:10,silent:!0});if(l.setLabelStyle(N.style,N.hoverStyle={},y,b,{labelFetcher:D,labelDataIndex:P,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!v){var j=[1/u[0],1/u[1]];l.updateProps(N,{scale:j},e)}n.add(N)}if(s)s.setItemGraphicEl(o,n);else{c=e.getRegionModel(t.name);i.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:c&&c.option||{}}}var F=n.__regions||(n.__regions=[]);F.push(t),n.highDownSilentOnTouch=!!e.get("selectedMode"),l.setHoverStyle(n,m),d.add(n)})),this._updateController(e,t,n),p(this,e,d,n,i),A(e,d)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&c.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&r.each(c.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,n){var i=e.coordinateSystem,a=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=i.getZoom(),a.enable(e.get("roam")||!1);var c=e.mainType;function u(){var t={type:"geoRoam",componentType:c};return t[c+"Id"]=e.id,t}a.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,o.updateViewOnPan(l,e.dx,e.dy),n.dispatchAction(r.extend(u(),{dx:e.dx,dy:e.dy}))}),this),a.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,e.scale,e.originX,e.originY),n.dispatchAction(r.extend(u(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse((function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])}))}}),this),a.setPointerChecker((function(t,r,o){return i.getViewRectAfterRoam().contain(r,o)&&!s(t,n,e)}))}};var m=g;e.exports=m},DFOY:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("PJYZ"),h=n.n(d),f=n("7W2i"),p=n.n(f),A=n("LQ03"),g=n.n(A),m=n("q1tI"),v=n.n(m),y=n("VTBJ"),b=n("1OyB"),_=n("vuIU"),w=n("JX7q"),x=n("Ji7U"),C=n("LK+K"),S=n("i8i4"),k=n.n(S),E=n("l4aY"),O=n("m+aA"),B=n("c+Xe"),M=n("zT1h"),T=n("QC+M"),I=n("TSYQ"),L=n.n(I);function D(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function P(e,t,n){var r=e[t]||{};return Object(y["a"])(Object(y["a"])({},r),n)}function N(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a];if(D(e[s].points,i,r))return"".concat(t,"-placement-").concat(s)}return""}var j=n("Ff2n"),F=n("xEkU"),R=n.n(F),U=n("9mu1"),H=n("rePB"),Q=n("U8pU"),K=!("undefined"===typeof window||!window.document||!window.document.createElement);function z(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function V(e,t){var n={animationend:z("Animation","AnimationEnd"),transitionend:z("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var W=V(K,"undefined"!==typeof window?window:{}),G={};if(K){var X=document.createElement("div");G=X.style}var q={};function Y(e){if(q[e])return q[e];var t=W[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i<r;i+=1){var o=n[i];if(Object.prototype.hasOwnProperty.call(t,o)&&o in G)return q[e]=t[o],q[e]}return""}var Z=Y("animationend"),J=Y("transitionend"),$=!(!Z||!J);function ee(e,t){if(!e)return null;if("object"===Object(Q["a"])(e)){var n=t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}));return e[n]}return"".concat(e,"-").concat(t)}var te="none",ne="appear",re="enter",ie="leave";function oe(e){var t=e,n=!!m["forwardRef"];function r(e){return!(!e.motionName||!t)}"object"===Object(Q["a"])(e)&&(t=e.transitionSupport,n="forwardRef"in e?e.forwardRef:n);var i=function(e){Object(x["a"])(n,e);var t=Object(C["a"])(n);function n(){var e;return Object(b["a"])(this,n),e=t.apply(this,arguments),e.$cacheEle=null,e.node=null,e.raf=null,e.destroyed=!1,e.deadlineId=null,e.state={status:te,statusActive:!1,newStatus:!1,statusStyle:null},e.onDomUpdate=function(){var t=e.state,n=t.status,i=t.newStatus,o=e.props,a=o.onAppearStart,s=o.onEnterStart,l=o.onLeaveStart,c=o.onAppearActive,u=o.onEnterActive,d=o.onLeaveActive,h=o.motionAppear,f=o.motionEnter,p=o.motionLeave;if(r(e.props)){var A=e.getElement();e.$cacheEle!==A&&(e.removeEventListener(e.$cacheEle),e.addEventListener(A),e.$cacheEle=A),i&&n===ne&&h?e.updateStatus(a,null,null,(function(){e.updateActiveStatus(c,ne)})):i&&n===re&&f?e.updateStatus(s,null,null,(function(){e.updateActiveStatus(u,re)})):i&&n===ie&&p&&e.updateStatus(l,null,null,(function(){e.updateActiveStatus(d,ie)}))}},e.onMotionEnd=function(t){if(!t||t.deadline||t.target===e.getElement()){var n=e.state,r=n.status,i=n.statusActive,o=e.props,a=o.onAppearEnd,s=o.onEnterEnd,l=o.onLeaveEnd;r===ne&&i?e.updateStatus(a,{status:te},t):r===re&&i?e.updateStatus(s,{status:te},t):r===ie&&i&&e.updateStatus(l,{status:te},t)}},e.setNodeRef=function(t){var n=e.props.internalRef;e.node=t,Object(B["b"])(n,t)},e.getElement=function(){try{return Object(O["a"])(e.node||Object(w["a"])(e))}catch(t){return e.$cacheEle}},e.addEventListener=function(t){t&&(t.addEventListener(J,e.onMotionEnd),t.addEventListener(Z,e.onMotionEnd))},e.removeEventListener=function(t){t&&(t.removeEventListener(J,e.onMotionEnd),t.removeEventListener(Z,e.onMotionEnd))},e.updateStatus=function(t,n,r,i){var o,a=t?t(e.getElement(),r):null;!1===a||e.destroyed||(i&&(o=function(){e.nextFrame(i)}),e.setState(Object(y["a"])({statusStyle:"object"===Object(Q["a"])(a)?a:null,newStatus:!1},n),o))},e.updateActiveStatus=function(t,n){e.nextFrame((function(){var r=e.state.status;if(r===n){var i=e.props.motionDeadline;e.updateStatus(t,{statusActive:!0}),i>0&&(e.deadlineId=setTimeout((function(){e.onMotionEnd({deadline:!0})}),i))}}))},e.nextFrame=function(t){e.cancelNextFrame(),e.raf=R()(t)},e.cancelNextFrame=function(){e.raf&&(R.a.cancel(e.raf),e.raf=null)},e}return Object(_["a"])(n,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var e,t=this.state,n=t.status,i=t.statusActive,o=t.statusStyle,a=this.props,s=a.children,l=a.motionName,c=a.visible,u=a.removeOnLeave,d=a.leavedClassName,h=a.eventProps;return s?n!==te&&r(this.props)?s(Object(y["a"])(Object(y["a"])({},h),{},{className:L()(ee(l,n),(e={},Object(H["a"])(e,ee(l,"".concat(n,"-active")),i),Object(H["a"])(e,l,"string"===typeof l),e)),style:o}),this.setNodeRef):c?s(Object(y["a"])({},h),this.setNodeRef):u?null:s(Object(y["a"])(Object(y["a"])({},h),{},{className:d}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,i=t.status;if(!r(e))return{};var o=e.visible,a=e.motionAppear,s=e.motionEnter,l=e.motionLeave,c=e.motionLeaveImmediately,u={prevProps:e};return(i===ne&&!a||i===re&&!s||i===ie&&!l)&&(u.status=te,u.statusActive=!1,u.newStatus=!1),!n&&o&&a&&(u.status=ne,u.statusActive=!1,u.newStatus=!0),n&&!n.visible&&o&&s&&(u.status=re,u.statusActive=!1,u.newStatus=!0),(n&&n.visible&&!o&&l||!n&&c&&!o&&l)&&(u.status=ie,u.statusActive=!1,u.newStatus=!0),u}}]),n}(m["Component"]);return i.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},n?m["forwardRef"]((function(e,t){return m["createElement"](i,Object.assign({internalRef:t},e))})):i}var ae=oe($),se="add",le="keep",ce="remove",ue="removed";function de(e){var t;return t=e&&"object"===Object(Q["a"])(e)&&"key"in e?e:{key:e},Object(y["a"])(Object(y["a"])({},t),{},{key:String(t.key)})}function he(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(de)}function fe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,o=he(e),a=he(t);o.forEach((function(e){for(var t=!1,o=r;o<i;o+=1){var s=a[o];if(s.key===e.key){r<o&&(n=n.concat(a.slice(r,o).map((function(e){return Object(y["a"])(Object(y["a"])({},e),{},{status:se})}))),r=o),n.push(Object(y["a"])(Object(y["a"])({},s),{},{status:le})),r+=1,t=!0;break}}t||n.push(Object(y["a"])(Object(y["a"])({},e),{},{status:ce}))})),r<i&&(n=n.concat(a.slice(r).map((function(e){return Object(y["a"])(Object(y["a"])({},e),{},{status:se})}))));var s={};n.forEach((function(e){var t=e.key;s[t]=(s[t]||0)+1}));var l=Object.keys(s).filter((function(e){return s[e]>1}));return l.forEach((function(e){n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==ce})),n.forEach((function(t){t.key===e&&(t.status=le)}))})),n}var pe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ae,n=function(n){Object(x["a"])(i,n);var r=Object(C["a"])(i);function i(){var e;return Object(b["a"])(this,i),e=r.apply(this,arguments),e.state={keyEntities:[]},e.removeKey=function(t){e.setState((function(e){var n=e.keyEntities;return{keyEntities:n.map((function(e){return e.key!==t?e:Object(y["a"])(Object(y["a"])({},e),{},{status:ue})}))}}))},e}return Object(_["a"])(i,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r=this.props,i=r.component,o=r.children,a=Object(j["a"])(r,["component","children"]),s=i||m["Fragment"],l={};return pe.forEach((function(e){l[e]=a[e],delete a[e]})),delete a.keys,m["createElement"](s,Object.assign({},a),n.map((function(n){var r=n.status,i=Object(j["a"])(n,["status"]),a=r===se||r===le;return m["createElement"](t,Object.assign({},l,{key:i.key,visible:a,eventProps:i,onLeaveEnd:function(){l.onLeaveEnd&&l.onLeaveEnd.apply(l,arguments),e.removeKey(i.key)}}),o)})))}}],[{key:"getDerivedStateFromProps",value:function(t,n){var r=t.keys,i=n.keyEntities,o=he(r);if(!e)return{keyEntities:o.map((function(e){return Object(y["a"])(Object(y["a"])({},e),{},{status:le})}))};var a=fe(i,o),s=i.length;return{keyEntities:a.filter((function(e){for(var t=null,n=0;n<s;n+=1){var r=i[n];if(r.key===e.key){t=r;break}}return!t||t.status!==ue||e.status!==ce}))}}}]),i}(m["Component"]);return n.defaultProps={component:"div"},n}Ae($);var ge=ae,me=function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.children,a=e.onMouseEnter,s=e.onMouseLeave,l=e.onMouseDown,c=e.onTouchStart,u=o;return m["Children"].count(o)>1&&(u=m["createElement"]("div",{className:"".concat(n,"-content")},o)),m["createElement"]("div",{ref:t,className:r,onMouseEnter:a,onMouseLeave:s,onMouseDown:l,onTouchStart:c,style:i},u)},ve=m["forwardRef"](me);ve.displayName="PopupInner";var ye=ve;function be(e){var t=e.prefixCls,n=e.motion,r=e.animation,i=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:i?{motionName:i}:null)}function _e(e){return e&&e.motionName}var we=function(e){Object(x["a"])(n,e);var t=Object(C["a"])(n);function n(){var e;return Object(b["a"])(this,n),e=t.apply(this,arguments),e.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},e.popupRef=v.a.createRef(),e.alignRef=v.a.createRef(),e.nextFrameState=null,e.nextFrameId=null,e.onAlign=function(t,n){var r=e.state.status,i=e.props,o=i.getClassNameFromAlign,a=i.onAlign,s=o(n);"align"===r?e.setState({alignClassName:s,status:"aligned"},(function(){e.alignRef.current.forceAlign()})):"aligned"===r?(e.setState({alignClassName:s,status:"afterAlign"}),a(t,n)):e.setState({alignClassName:s})},e.onMotionEnd=function(){var t=e.props.visible;e.setState({status:t?"AfterMotion":"stable",inMotion:!1})},e.setStateOnNextFrame=function(t){e.cancelFrameState(),e.nextFrameState=Object(y["a"])(Object(y["a"])({},e.nextFrameState),t),e.nextFrameId=R()((function(){var t=Object(y["a"])({},e.nextFrameState);e.nextFrameState=null,e.setState(t)}))},e.getMotion=function(){return Object(y["a"])({},be(e.props))},e.getAlignTarget=function(){var t=e.props,n=t.point,r=t.getRootDomNode;return n||r},e.cancelFrameState=function(){R.a.cancel(e.nextFrameId)},e.renderPopupElement=function(){var t=e.state,n=t.status,r=t.targetHeight,i=t.targetWidth,o=t.alignClassName,a=e.props,s=a.prefixCls,l=a.className,c=a.style,u=a.stretch,d=a.visible,h=a.align,f=a.destroyPopupOnHide,p=a.onMouseEnter,A=a.onMouseLeave,g=a.onMouseDown,m=a.onTouchStart,b=a.children,_=L()(s,l,o),w="".concat(s,"-hidden"),x={};u&&(-1!==u.indexOf("height")?x.height=r:-1!==u.indexOf("minHeight")&&(x.minHeight=r),-1!==u.indexOf("width")?x.width=i:-1!==u.indexOf("minWidth")&&(x.minWidth=i));var C=Object(y["a"])(Object(y["a"])(Object(y["a"])(Object(y["a"])({},x),e.getZIndexStyle()),c),{},{opacity:"stable"!==n&&d?0:void 0,pointerEvents:"stable"!==n&&d?"none":void 0}),S=e.getMotion(),k=d;d&&"beforeMotion"!==n&&"motion"!==n&&"stable"!==n&&(S.motionAppear=!1,S.motionEnter=!1,S.motionLeave=!1),"afterAlign"!==n&&"beforeMotion"!==n||(k=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach((function(t){var n=null===S||void 0===S?void 0:S[t];S[t]=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];null===n||void 0===n||n.apply(void 0,r),e.setState({inMotion:!0})}}));var E=!d||"align"!==n&&"aligned"!==n&&"stable"!==n,O=!0;return"stable"===n&&(O=d),f&&!O?null:v.a.createElement(ge,Object.assign({visible:k},S,{removeOnLeave:!1,onEnterEnd:e.onMotionEnd,onLeaveEnd:e.onMotionEnd,leavedClassName:w}),(function(t,n){var r=t.style,i=t.className;return v.a.createElement(U["a"],{target:e.getAlignTarget(),key:"popup",ref:e.alignRef,monitorWindowResize:!0,disabled:E,align:h,onAlign:e.onAlign},v.a.createElement(ye,{prefixCls:s,className:L()(_,i),ref:Object(B["a"])(n,e.popupRef),onMouseEnter:p,onMouseLeave:A,onMouseDown:g,onTouchStart:m,style:Object(y["a"])(Object(y["a"])({},C),r)},b))}))},e.renderMaskElement=function(){var t=e.props,n=t.mask,r=t.maskMotion,i=t.maskTransitionName,o=t.maskAnimation,a=t.prefixCls,s=t.visible;if(!n)return null;var l={};return r&&r.motionName&&(l=Object(y["a"])({motionAppear:!0},be({motion:r,prefixCls:a,transitionName:i,animation:o}))),v.a.createElement(ge,Object.assign({},l,{visible:s,removeOnLeave:!0}),(function(t){var n=t.className;return v.a.createElement("div",{style:e.getZIndexStyle(),key:"mask",className:L()("".concat(a,"-mask"),n)})}))},e}return Object(_["a"])(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e=this.state.status,t=this.props,n=t.getRootDomNode,r=t.visible,i=t.stretch;if(this.cancelFrameState(),r&&"stable"!==e)switch(e){case null:this.setStateOnNextFrame({status:i?"measure":"align"});break;case"afterAlign":this.setStateOnNextFrame({status:_e(this.getMotion())?"beforeMotion":"stable"});break;case"AfterMotion":this.setStateOnNextFrame({status:"stable"});break;default:var o=["measure","align",null,"beforeMotion","motion"],a=o.indexOf(e),s=o[a+1];-1!==a&&s&&this.setStateOnNextFrame({status:s})}if("measure"===e){var l=n();l&&this.setStateOnNextFrame({targetHeight:l.offsetHeight,targetWidth:l.offsetWidth})}}},{key:"componentWillUnmount",value:function(){this.cancelFrameState()}},{key:"getZIndexStyle",value:function(){var e=this.props.zIndex;return{zIndex:e}}},{key:"render",value:function(){return v.a.createElement("div",null,this.renderMaskElement(),this.renderPopupElement())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.visible,r=Object(j["a"])(e,["visible"]),i=t.prevVisible,o=t.status,a=t.inMotion,s={prevVisible:n,status:o},l=be(r);return null===i&&!1===n?(s.status="stable",s.inMotion=!1):n!==i&&(s.inMotion=!1,n||_e(l)&&a?s.status=null:s.status="stable",n&&(s.alignClassName=null)),s}}]),n}(m["Component"]),xe=we,Ce=m["createContext"](null),Se=Ce;function ke(){}function Ee(){return""}function Oe(){return window.document}var Be=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Me(e){var t=function(t){Object(x["a"])(r,t);var n=Object(C["a"])(r);function r(e){var t,i;return Object(b["a"])(this,r),t=n.call(this,e),t.popupRef=v.a.createRef(),t.triggerRef=v.a.createRef(),t.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},t.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},t.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onPopupMouseEnter=function(){t.clearDelayTimer()},t.onPopupMouseLeave=function(e){e.relatedTarget&&!e.relatedTarget.setTimeout&&t.popupRef.current&&t.popupRef.current.popupRef.current&&Object(E["a"])(t.popupRef.current.popupRef.current,e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},t.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},t.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},t.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},t.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},t.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()},t.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},t.onPopupMouseDown=function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)},t.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),i=t.getPopupDomNode();Object(E["a"])(r,n)||Object(E["a"])(i,n)||t.hasPopupMouseDown||t.close()}},t.getRootDomNode=function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=Object(O["a"])(t.triggerRef.current);if(n)return n}catch(r){}return k.a.findDOMNode(Object(w["a"])(t))},t.getPopupClassNameFromAlign=function(e){var n=[],r=t.props,i=r.popupPlacement,o=r.builtinPlacements,a=r.prefixCls,s=r.alignPoint,l=r.getPopupClassNameFromAlign;return i&&o&&n.push(N(o,a,e,s)),l&&n.push(l(e)),n.join(" ")},t.getComponent=function(){var e=t.props,n=e.prefixCls,r=e.destroyPopupOnHide,i=e.popupClassName,o=e.onPopupAlign,a=e.popupMotion,s=e.popupAnimation,l=e.popupTransitionName,c=e.popupStyle,u=e.mask,d=e.maskAnimation,h=e.maskTransitionName,f=e.maskMotion,p=e.zIndex,A=e.popup,g=e.stretch,m=e.alignPoint,y=t.state,b=y.popupVisible,_=y.point,w=t.getPopupAlign(),x={};return t.isMouseEnterToShow()&&(x.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(x.onMouseLeave=t.onPopupMouseLeave),x.onMouseDown=t.onPopupMouseDown,x.onTouchStart=t.onPopupMouseDown,v.a.createElement(xe,Object.assign({prefixCls:n,destroyPopupOnHide:r,visible:b,point:m&&_,className:i,align:w,onAlign:o,animation:s,getClassNameFromAlign:t.getPopupClassNameFromAlign},x,{stretch:g,getRootDomNode:t.getRootDomNode,style:c,mask:u,zIndex:p,transitionName:l,maskAnimation:d,maskTransitionName:h,maskMotion:f,ref:t.popupRef,motion:a}),"function"===typeof A?A():A)},t.getContainer=function(){var e=Object(w["a"])(t),n=e.props,r=document.createElement("div");r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.width="100%";var i=n.getPopupContainer?n.getPopupContainer(t.getRootDomNode()):n.getDocument().body;return i.appendChild(r),r},t.setPoint=function(e){var n=t.props.alignPoint;n&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})},t.handlePortalUpdate=function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)},i="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:i,popupVisible:i},Be.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return Object(_["a"])(r,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props,n=this.state;if(n.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(),this.clickOutsideHandler=Object(M["a"])(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(),this.touchOutsideHandler=Object(M["a"])(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(),this.contextMenuOutsideHandler1=Object(M["a"])(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(M["a"])(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)}},{key:"getPopupDomNode",value:function(){return this.popupRef.current&&this.popupRef.current.popupRef.current?this.popupRef.current.popupRef.current:null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?P(r,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,i=1e3*t;if(this.clearDelayTimer(),i){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,o),r.clearDelayTimer()}),i)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){this.state.popupVisible&&this.popupRef.current&&this.popupRef.current.alignRef.current&&this.popupRef.current.alignRef.current.forceAlign()}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,r=n.children,i=n.forceRender,o=n.alignPoint,a=n.className,s=n.autoDestroy,l=v.a.Children.only(r),c={key:"trigger"};this.isContextMenuToShow()?c.onContextMenu=this.onContextMenu:c.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(c.onClick=this.onClick,c.onMouseDown=this.onMouseDown,c.onTouchStart=this.onTouchStart):(c.onClick=this.createTwoChains("onClick"),c.onMouseDown=this.createTwoChains("onMouseDown"),c.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(c.onMouseEnter=this.onMouseEnter,o&&(c.onMouseMove=this.onMouseMove)):c.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?c.onMouseLeave=this.onMouseLeave:c.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(c.onFocus=this.onFocus,c.onBlur=this.onBlur):(c.onFocus=this.createTwoChains("onFocus"),c.onBlur=this.createTwoChains("onBlur"));var u=L()(l&&l.props&&l.props.className,a);u&&(c.className=u);var d=Object(y["a"])({},c);Object(B["c"])(l)&&(d.ref=Object(B["a"])(this.triggerRef,l.ref));var h,f=v.a.cloneElement(l,d);return(t||this.popupRef.current||i)&&(h=v.a.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&s&&(h=null),v.a.createElement(Se.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},f,h)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),r}(v.a.Component);return t.contextType=Se,t.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Ee,getDocument:Oe,onPopupVisibleChange:ke,afterPopupVisibleChange:ke,onPopupAlign:ke,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},t}var Te=Me(T["a"]),Ie=n("2W6z"),Le=n.n(Ie),De=n("4IlW"),Pe=n("uK0f"),Ne=n.n(Pe);function je(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function Fe(e){return Fe="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fe(e)}function Re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function He(e,t,n){return t&&Ue(e.prototype,t),n&&Ue(e,n),e}function Qe(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ke(e,t)}function Ke(e,t){return Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ke(e,t)}function ze(e){var t=Ge();return function(){var n,r=Xe(e);if(t){var i=Xe(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ve(this,n)}}function Ve(e,t){return!t||"object"!==Fe(t)&&"function"!==typeof t?We(e):t}function We(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ge(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xe(e)}var qe=function(){var e=function(e){Qe(n,e);var t=ze(n);function n(){var e;return Re(this,n),e=t.apply(this,arguments),e.menuItems={},e.saveMenuItem=function(t){return function(n){e.menuItems[t]=n}},e}return He(n,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(e){!e.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(e){var t=this.props,n=t.fieldNames,r=t.defaultFieldNames;return n[e]||r[e]}},{key:"getOption",value:function(e,t){var n=this.props,r=n.prefixCls,i=n.expandTrigger,o=n.expandIcon,a=n.loadingIcon,s=this.props.onSelect.bind(this,e,t),l=this.props.onItemDoubleClick.bind(this,e,t),c={onClick:s,onDoubleClick:l},u="".concat(r,"-menu-item"),d=null,h=e[this.getFieldName("children")]&&e[this.getFieldName("children")].length>0;(h||!1===e.isLeaf)&&(u+=" ".concat(r,"-menu-item-expand"),e.loading||(d=m["createElement"]("span",{className:"".concat(r,"-menu-item-expand-icon")},o))),"hover"!==i||!h&&!1!==e.isLeaf||(c={onMouseEnter:this.delayOnSelect.bind(this,s),onMouseLeave:this.delayOnSelect.bind(this),onClick:s}),this.isActiveOption(e,t)&&(u+=" ".concat(r,"-menu-item-active"),c.ref=this.saveMenuItem(t)),e.disabled&&(u+=" ".concat(r,"-menu-item-disabled"));var f=null;e.loading&&(u+=" ".concat(r,"-menu-item-loading"),f=a||null);var p="";return"title"in e?p=e.title:"string"===typeof e[this.getFieldName("label")]&&(p=e[this.getFieldName("label")]),m["createElement"]("li",Object.assign({key:e[this.getFieldName("value")],className:u,title:p},c,{role:"menuitem",onMouseDown:function(e){return e.preventDefault()}}),e[this.getFieldName("label")],d,f)}},{key:"getActiveOptions",value:function(e){var t=this,n=this.props.options,r=e||this.props.activeValue;return Ne()(n,(function(e,n){return e[t.getFieldName("value")]===r[n]}),{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var e=this,t=this.props.options,n=this.getActiveOptions().map((function(t){return t[e.getFieldName("children")]})).filter((function(e){return!!e}));return n.unshift(t),n}},{key:"delayOnSelect",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),"function"===typeof e&&(this.delayTimer=window.setTimeout((function(){e(r),t.delayTimer=null}),150))}},{key:"scrollActiveItemToView",value:function(){for(var e=this.getShowOptions().length,t=0;t<e;t++){var n=this.menuItems[t];n&&n.parentElement&&(n.parentElement.scrollTop=n.offsetTop)}}},{key:"isActiveOption",value:function(e,t){var n=this.props.activeValue,r=void 0===n?[]:n;return r[t]===e[this.getFieldName("value")]}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.dropdownMenuColumnStyle;return m["createElement"]("div",null,this.getShowOptions().map((function(t,i){return m["createElement"]("ul",{className:"".concat(n,"-menu"),key:i,style:r},t.map((function(t){return e.getOption(t,i)})))})))}}]),n}(m["Component"]);return e.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},e}(),Ye=qe,Ze={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}}},Je=Ze;function $e(e){return $e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$e(e)}function et(e,t){if(null==e)return{};var n,r,i=tt(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function tt(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function nt(e){return at(e)||ot(e)||it(e)||rt()}function rt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function it(e,t){if(e){if("string"===typeof e)return st(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?st(e,t):void 0}}function ot(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function at(e){if(Array.isArray(e))return st(e)}function st(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function lt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ut(e,t,n){return t&&ct(e.prototype,t),n&&ct(e,n),e}function dt(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ht(e,t)}function ht(e,t){return ht=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ht(e,t)}function ft(e){var t=gt();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}function pt(e,t){return!t||"object"!==$e(t)&&"function"!==typeof t?At(e):t}function At(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function mt(e){return mt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},mt(e)}var vt=function(){var e=function(e){dt(n,e);var t=ft(n);function n(e){var r;lt(this,n),r=t.call(this,e),r.setPopupVisible=function(e){var t=r.state.value;"popupVisible"in r.props||r.setState({popupVisible:e}),e&&!r.state.popupVisible&&r.setState({activeValue:t}),r.props.onPopupVisibleChange(e)},r.handleChange=function(e,t,n){var i=t.visible;"keydown"===n.type&&n.keyCode!==De["a"].ENTER||(r.props.onChange(e.map((function(e){return e[r.getFieldName("value")]})),e),r.setPopupVisible(i))},r.handlePopupVisibleChange=function(e){r.setPopupVisible(e)},r.handleMenuSelect=function(e,t,n){var i=r.trigger.getRootDomNode();i&&i.focus&&i.focus();var o=r.props,a=o.changeOnSelect,s=o.loadData,l=o.expandTrigger;if(e&&!e.disabled){var c=r.state.activeValue;c=c.slice(0,t+1),c[t]=e[r.getFieldName("value")];var u=r.getActiveOptions(c);if(!1===e.isLeaf&&!e[r.getFieldName("children")]&&s)return a&&r.handleChange(u,{visible:!0},n),r.setState({activeValue:c}),void s(u);var d={};e[r.getFieldName("children")]&&e[r.getFieldName("children")].length?!a||"click"!==n.type&&"keydown"!==n.type||("hover"===l?r.handleChange(u,{visible:!1},n):r.handleChange(u,{visible:!0},n),d.value=c):(r.handleChange(u,{visible:!1},n),d.value=c),d.activeValue=c,("value"in r.props||"keydown"===n.type&&n.keyCode!==De["a"].ENTER)&&delete d.value,r.setState(d)}},r.handleItemDoubleClick=function(){var e=r.props.changeOnSelect;e&&r.setPopupVisible(!1)},r.handleKeyDown=function(e){var t=r.props.children;if(t&&t.props.onKeyDown)t.props.onKeyDown(e);else{var n=nt(r.state.activeValue),i=n.length-1<0?0:n.length-1,o=r.getCurrentLevelOptions(),a=o.map((function(e){return e[r.getFieldName("value")]})).indexOf(n[i]);if(e.keyCode===De["a"].DOWN||e.keyCode===De["a"].UP||e.keyCode===De["a"].LEFT||e.keyCode===De["a"].RIGHT||e.keyCode===De["a"].ENTER||e.keyCode===De["a"].SPACE||e.keyCode===De["a"].BACKSPACE||e.keyCode===De["a"].ESC||e.keyCode===De["a"].TAB)if(r.state.popupVisible||e.keyCode===De["a"].BACKSPACE||e.keyCode===De["a"].LEFT||e.keyCode===De["a"].RIGHT||e.keyCode===De["a"].ESC||e.keyCode===De["a"].TAB){if(e.keyCode===De["a"].DOWN||e.keyCode===De["a"].UP){e.preventDefault();var s=a;-1!==s?e.keyCode===De["a"].DOWN?(s+=1,s=s>=o.length?0:s):(s-=1,s=s<0?o.length-1:s):s=0,n[i]=o[s][r.getFieldName("value")]}else if(e.keyCode===De["a"].LEFT||e.keyCode===De["a"].BACKSPACE)e.preventDefault(),n.splice(n.length-1,1);else if(e.keyCode===De["a"].RIGHT)e.preventDefault(),o[a]&&o[a][r.getFieldName("children")]&&n.push(o[a][r.getFieldName("children")][0][r.getFieldName("value")]);else if(e.keyCode===De["a"].ESC||e.keyCode===De["a"].TAB)return void r.setPopupVisible(!1);n&&0!==n.length||r.setPopupVisible(!1);var l=r.getActiveOptions(n),c=l[l.length-1];r.handleMenuSelect(c,l.length-1,e),r.props.onKeyDown&&r.props.onKeyDown(e)}else r.setPopupVisible(!0)}},r.saveTrigger=function(e){r.trigger=e};var i=[];return"value"in e?i=e.value||[]:"defaultValue"in e&&(i=e.defaultValue||[]),Le()(!("filedNames"in e),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),r.state={popupVisible:e.popupVisible,activeValue:i,value:i,prevProps:e},r.defaultFieldNames={label:"label",value:"value",children:"children"},r}return ut(n,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(e){var t=this.defaultFieldNames,n=this.props,r=n.fieldNames,i=n.filedNames;return"filedNames"in this.props?i[e]||t[e]:r[e]||t[e]}},{key:"getFieldNames",value:function(){var e=this.props,t=e.fieldNames,n=e.filedNames;return"filedNames"in this.props?n:t}},{key:"getCurrentLevelOptions",value:function(){var e=this,t=this.props.options,n=void 0===t?[]:t,r=this.state.activeValue,i=void 0===r?[]:r,o=Ne()(n,(function(t,n){return t[e.getFieldName("value")]===i[n]}),{childrenKeyName:this.getFieldName("children")});return o[o.length-2]?o[o.length-2][this.getFieldName("children")]:nt(n).filter((function(e){return!e.disabled}))}},{key:"getActiveOptions",value:function(e){var t=this;return Ne()(this.props.options||[],(function(n,r){return n[t.getFieldName("value")]===e[r]}),{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.popupClassName,i=e.options,o=void 0===i?[]:i,a=e.disabled,s=e.builtinPlacements,l=e.popupPlacement,c=e.children,u=e.dropdownRender,d=et(e,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),h=m["createElement"]("div",null),f="";o&&o.length>0?h=m["createElement"](Ye,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):f=" ".concat(t,"-menus-empty");var p=h;return u&&(p=u(h)),m["createElement"](Te,Object.assign({ref:this.saveTrigger},d,{popupPlacement:l,builtinPlacements:s,popupTransitionName:n,action:a?[]:["click"],popupVisible:!a&&this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(t,"-menus"),popupClassName:r+f,popup:p}),m["cloneElement"](c,{onKeyDown:this.handleKeyDown,tabIndex:a?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=void 0===n?{}:n,i={prevProps:e};return"value"in e&&!je(r.value,e.value)&&(i.value=e.value||[],"loadData"in e||(i.activeValue=e.value||[])),"popupVisible"in e&&(i.popupVisible=e.popupVisible),i}}]),n}(m["Component"]);return e.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:Je,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},e}(),yt=vt,bt=yt,_t=n("BGR+"),wt=n("kbBi"),xt=n.n(wt),Ct=n("HQEm"),St=n.n(Ct),kt=n("fEPi"),Et=n.n(kt),Ot=n("5YOS"),Bt=n.n(Ot),Mt=n("DFhj"),Tt=n.n(Mt),It=n("5rEg"),Lt=n("H84U"),Dt=n("YMnH"),Pt=n("uaoM"),Nt=n("3Nzz"),jt=n("0n0R"),Ft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},Rt=50;function Ut(e,t,n){return e.split(t).map((function(e,r){return 0===r?e:[m["createElement"]("span",{className:"".concat(n,"-menu-item-keyword"),key:"seperator"},t),e]}))}function Ht(e,t,n){return t.some((function(t){return t[n.label].indexOf(e)>-1}))}function Qt(e,t,n,r){return t.map((function(t,i){var o=t[r.label],a=o.indexOf(e)>-1?Ut(o,e,n):o;return 0===i?a:[" / ",a]}))}function Kt(e,t,n,r){function i(e){return e[r.label].indexOf(n)>-1}return e.findIndex(i)-t.findIndex(i)}function zt(e){var t=e.fieldNames;return t}function Vt(e){var t=zt(e)||{},n={children:t.children||"children",label:t.label||"label",value:t.value||"value"};return n}function Wt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Vt(t),i=[],o=r.children;return e.forEach((function(e){var r=n.concat(e);!t.changeOnSelect&&e[o]&&e[o].length||i.push(r),e[o]&&(i=i.concat(Wt(e[o],t,r)))})),i}var Gt=function(e){return e.join(" / ")};var Xt=function(e){p()(n,e);var t=g()(n);function n(e){var r;return l()(this,n),r=t.call(this,e),r.cachedOptions=[],r.setValue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];"value"in r.props||r.setState({value:e});var n=r.props.onChange;n&&n(e,t)},r.saveInput=function(e){r.input=e},r.handleChange=function(e,t){if(r.setState({inputValue:""}),t[0].__IS_FILTERED_OPTION){var n=e[0],i=t[0].path;r.setValue(n,i)}else r.setValue(e,t)},r.handlePopupVisibleChange=function(e){"popupVisible"in r.props||r.setState((function(t){return{popupVisible:e,inputFocused:e,inputValue:e?t.inputValue:""}}));var t=r.props.onPopupVisibleChange;t&&t(e)},r.handleInputBlur=function(){r.setState({inputFocused:!1})},r.handleInputClick=function(e){var t=r.state,n=t.inputFocused,i=t.popupVisible;(n||i)&&e.stopPropagation()},r.handleKeyDown=function(e){e.keyCode!==De["a"].BACKSPACE&&e.keyCode!==De["a"].SPACE||e.stopPropagation()},r.handleInputChange=function(e){var t=r.state.popupVisible,n=e.target.value;t||r.handlePopupVisibleChange(!0),r.setState({inputValue:n})},r.clearSelection=function(e){var t=r.state.inputValue;e.preventDefault(),e.stopPropagation(),t?r.setState({inputValue:""}):(r.handlePopupVisibleChange(!1),r.clearSelectionTimeout=setTimeout((function(){r.setValue([])}),200))},r.renderCascader=function(e,t){var n=e.getPopupContainer,o=e.getPrefixCls,s=e.renderEmpty,l=e.direction;return m["createElement"](Nt["b"].Consumer,null,(function(e){var c,u,d,f,p,A=h()(r),g=A.props,v=A.state,y=g.prefixCls,b=g.inputPrefixCls,_=g.children,w=g.placeholder,x=void 0===w?t.placeholder||"Please select":w,C=g.size,S=g.disabled,k=g.className,E=g.style,O=g.allowClear,B=g.showSearch,M=void 0!==B&&B,T=g.suffixIcon,I=g.expandIcon,D=g.notFoundContent,P=g.popupClassName,N=g.bordered,j=g.dropdownRender,F=Ft(g,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),R=C||e,U=v.value,H=v.inputFocused,Q="rtl"===l,K=o("cascader",y),z=o("input",b),V=L()((c={},a()(c,"".concat(z,"-lg"),"large"===R),a()(c,"".concat(z,"-sm"),"small"===R),c)),W=O&&!S&&U.length>0||v.inputValue?m["createElement"](xt.a,{className:"".concat(K,"-picker-clear"),onClick:r.clearSelection}):null,G=L()((u={},a()(u,"".concat(K,"-picker-arrow"),!0),a()(u,"".concat(K,"-picker-arrow-expand"),v.popupVisible),u)),X=L()(k,"".concat(K,"-picker"),(d={},a()(d,"".concat(K,"-picker-rtl"),Q),a()(d,"".concat(K,"-picker-with-value"),v.inputValue),a()(d,"".concat(K,"-picker-disabled"),S),a()(d,"".concat(K,"-picker-").concat(R),!!R),a()(d,"".concat(K,"-picker-show-search"),!!M),a()(d,"".concat(K,"-picker-focused"),H),a()(d,"".concat(K,"-picker-borderless"),!N),d)),q=Object(_t["default"])(F,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),Y=g.options,Z=Vt(r.props);Y&&Y.length>0?v.inputValue&&(Y=r.generateFilteredOptions(K,s)):Y=[(p={},a()(p,Z.label,D||s("Cascader")),a()(p,Z.value,"ANT_CASCADER_NOT_FOUND"),p)];v.popupVisible?r.cachedOptions=Y:Y=r.cachedOptions;var J={},$=1===(Y||[]).length&&Y[0].isEmptyNode;$&&(J.height="auto");var ee,te=!1!==M.matchInputWidth;te&&(v.inputValue||$)&&r.input&&(J.width=r.input.input.offsetWidth),ee=T?Object(jt["c"])(T,m["createElement"]("span",{className:"".concat(K,"-picker-arrow")},T),(function(){var e;return{className:L()((e={},a()(e,T.props.className,T.props.className),a()(e,"".concat(K,"-picker-arrow"),!0),e))}})):m["createElement"](St.a,{className:G});var ne,re=_||m["createElement"]("span",{style:E,className:X},m["createElement"]("span",{className:"".concat(K,"-picker-label")},r.getLabel()),m["createElement"](It["a"],i()({},q,{tabIndex:"-1",ref:r.saveInput,prefixCls:z,placeholder:U&&U.length>0?void 0:x,className:"".concat(K,"-input ").concat(V),value:v.inputValue,disabled:S,readOnly:!M,autoComplete:q.autoComplete||"off",onClick:M?r.handleInputClick:void 0,onBlur:M?r.handleInputBlur:void 0,onKeyDown:r.handleKeyDown,onChange:M?r.handleInputChange:void 0})),W,ee);ne=I||(Q?m["createElement"](Tt.a,null):m["createElement"](Et.a,null));var ie=m["createElement"]("span",{className:"".concat(K,"-menu-item-loading-icon")},m["createElement"](Bt.a,{spin:!0})),oe=g.getPopupContainer||n,ae=Object(_t["default"])(g,["inputIcon","expandIcon","loadingIcon","bordered"]),se=L()(P,(f={},a()(f,"".concat(K,"-menu-").concat(l),"rtl"===l),a()(f,"".concat(K,"-menu-empty"),1===Y.length&&"ANT_CASCADER_NOT_FOUND"===Y[0].value),f));return m["createElement"](bt,i()({},ae,{prefixCls:K,getPopupContainer:oe,options:Y,value:U,popupVisible:v.popupVisible,onPopupVisibleChange:r.handlePopupVisibleChange,onChange:r.handleChange,dropdownMenuColumnStyle:J,expandIcon:ne,loadingIcon:ie,popupClassName:se,popupPlacement:r.getPopupPlacement(l),dropdownRender:j}),re)}))},r.state={value:e.value||e.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:e.popupVisible,flattenOptions:e.showSearch?Wt(e.options,e):void 0,prevProps:e},r}return u()(n,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var e=this.props,t=e.options,n=e.displayRender,r=void 0===n?Gt:n,i=Vt(this.props),o=this.state.value,a=Array.isArray(o[0])?o[0]:o,s=Ne()(t,(function(e,t){return e[i.value]===a[t]}),{childrenKeyName:i.children}),l=s.length?s.map((function(e){return e[i.label]})):o;return r(l,s)}},{key:"generateFilteredOptions",value:function(e,t){var n,r,i=this,o=this.props,s=o.showSearch,l=o.notFoundContent,c=Vt(this.props),u=s.filter,d=void 0===u?Ht:u,h=s.render,f=void 0===h?Qt:h,p=s.sort,A=void 0===p?Kt:p,g=s.limit,m=void 0===g?Rt:g,v=this.state,y=v.flattenOptions,b=void 0===y?[]:y,_=v.inputValue;if(m>0){r=[];var w=0;b.some((function(e){var t=d(i.state.inputValue,e,c);return t&&(r.push(e),w+=1),w>=m}))}else Object(Pt["a"])("number"!==typeof m,"Cascader","'limit' of showSearch should be positive number or false."),r=b.filter((function(e){return d(i.state.inputValue,e,c)}));return r=r.sort((function(e,t){return A(e,t,_,c)})),r.length>0?r.map((function(t){var n;return n={__IS_FILTERED_OPTION:!0,path:t},a()(n,c.value,t.map((function(e){return e[c.value]}))),a()(n,c.label,f(_,t,e,c)),a()(n,"disabled",t.some((function(e){return!!e.disabled}))),a()(n,"isEmptyNode",!0),n})):[(n={},a()(n,c.value,"ANT_CASCADER_NOT_FOUND"),a()(n,c.label,l||t("Cascader")),a()(n,"disabled",!0),a()(n,"isEmptyNode",!0),n)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ltr",t=this.props.popupPlacement;return void 0!==t?t:"rtl"===e?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var e=this;return m["createElement"](Lt["a"],null,(function(t){return m["createElement"](Dt["a"],null,(function(n){return e.renderCascader(t,n)}))}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};return"value"in e&&(r.value=e.value||[]),"popupVisible"in e&&(r.popupVisible=e.popupVisible),e.showSearch&&n.options!==e.options&&(r.flattenOptions=Wt(e.options,e)),r}}]),n}(m["Component"]);Xt.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};t["a"]=Xt},DFhj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("GGyF"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},DL4k:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},DN4a:function(e,t,n){var r=n("Fofx"),i=n("QBsz"),o=r.identity,a=5e-5;function s(e){return e>a||e<-a}var l=function(e){e=e||{},e.position||(this.position=[0,0]),null==e.rotation&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=l.prototype;c.transform=null,c.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var u=[];c.updateTransform=function(){var e=this.parent,t=e&&e.transform,n=this.needLocalTransform(),i=this.transform;if(n||t){i=i||r.create(),n?this.getLocalTransform(i):o(i),t&&(n?r.mul(i,e.transform,i):r.copy(i,e.transform)),this.transform=i;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(u);var s=u[0]<0?-1:1,l=u[1]<0?-1:1,c=((u[0]-s)*a+s)/u[0]||0,d=((u[1]-l)*a+l)/u[1]||0;i[0]*=c,i[1]*=c,i[2]*=d,i[3]*=d}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,i)}else i&&o(i)},c.getLocalTransform=function(e){return l.getLocalTransform(this,e)},c.setTransform=function(e){var t=this.transform,n=e.dpr||1;t?e.setTransform(n*t[0],n*t[1],n*t[2],n*t[3],n*t[4],n*t[5]):e.setTransform(n,0,0,n,0,0)},c.restoreTransform=function(e){var t=e.dpr||1;e.setTransform(t,0,0,t,0,0)};var d=[],h=r.create();c.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=this.position,i=this.scale;s(t-1)&&(t=Math.sqrt(t)),s(n-1)&&(n=Math.sqrt(n)),e[0]<0&&(t=-t),e[3]<0&&(n=-n),r[0]=e[4],r[1]=e[5],i[0]=t,i[1]=n,this.rotation=Math.atan2(-e[1]/n,e[0]/t)}},c.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(r.mul(d,e.invTransform,t),t=d);var n=this.origin;n&&(n[0]||n[1])&&(h[4]=n[0],h[5]=n[1],r.mul(d,t,h),d[4]-=n[0],d[5]-=n[1],t=d),this.setLocalTransform(t)}},c.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},c.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},c.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&i.applyTransform(n,n,r),n},l.getLocalTransform=function(e,t){t=t||[],o(t);var n=e.origin,i=e.scale||[1,1],a=e.rotation||0,s=e.position||[0,0];return n&&(t[4]-=n[0],t[5]-=n[1]),r.scale(t,t,i),a&&r.rotate(t,t,a),n&&(t[4]+=n[0],t[5]+=n[1]),t[4]+=s[0],t[5]+=s[1],t};var f=l;e.exports=f},DO2E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),i=n("B8du"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o,l=s?r.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||i;e.exports=u}).call(this,n("YuTi")(e))},DYRE:function(e,t,n){"use strict";n("cIOH"),n("OPEp")},DZo9:function(e,t,n){"use strict";n("cIOH"),n("JGo8"),n("+L6B"),n("MXD1"),n("5Dmo")},Dagg:function(e,t,n){var r=n("Gev7"),i=n("mFDi"),o=n("bYtY"),a=n("Xnb7");function s(e){r.call(this,e)}s.prototype={constructor:s,type:"image",brush:function(e,t){var n=this.style,r=n.image;n.bind(e,this,t);var i=this._image=a.createOrUpdateImage(r,this._image,this,this.onload);if(i&&a.isImageReady(i)){var o=n.x||0,s=n.y||0,l=n.width,c=n.height,u=i.width/i.height;if(null==l&&null!=c?l=c*u:null==c&&null!=l?c=l/u:null==l&&null==c&&(l=i.width,c=i.height),this.setTransform(e),n.sWidth&&n.sHeight){var d=n.sx||0,h=n.sy||0;e.drawImage(i,d,h,n.sWidth,n.sHeight,o,s,l,c)}else if(n.sx&&n.sy){d=n.sx,h=n.sy;var f=l-d,p=c-h;e.drawImage(i,d,h,f,p,o,s,l,c)}else e.drawImage(i,o,s,l,c);null!=n.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))}},getBoundingRect:function(){var e=this.style;return this._rect||(this._rect=new i(e.x||0,e.y||0,e.width||0,e.height||0)),this._rect}},o.inherits(s,r);var l=s;e.exports=l},Dg8C:function(e,t,n){var r=n("XxSj"),i=n("bYtY");function o(e,t){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes;if(n.length){var o=1/0,a=-1/0;i.each(n,(function(e){var t=e.getLayout().value;t<o&&(o=t),t>a&&(a=t)})),i.each(n,(function(t){var n=new r({type:"color",mappingMethod:"linear",dataExtent:[o,a],visual:e.get("color")}),i=n.mapValueToVisual(t.getLayout().value),s=t.getModel().get("itemStyle.color");null!=s?t.setVisual("color",s):t.setVisual("color",i)}))}}))}e.exports=o},DjyN:function(e,t,n){"use strict";n("cIOH"),n("Urep"),n("OaEy")},DlQD:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function n(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=n(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return r=e[Symbol.iterator](),r.next.bind(r)}function o(e,t){return t={exports:{}},e(t,t.exports),t.exports}var a=o((function(e){function t(){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 n(t){e.exports.defaults=t}e.exports={defaults:t(),getDefaults:t,changeDefaults:n}})),s=(a.defaults,a.getDefaults,a.changeDefaults,/[&<>"']/),l=/[&<>"']/g,c=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,d={"&":"&","<":"<",">":">",'"':""","'":"'"},h=function(e){return d[e]};function f(e,t){if(t){if(s.test(e))return e.replace(l,h)}else if(c.test(e))return e.replace(u,h);return e}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function A(e){return e.replace(p,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var g=/(^|[^\[])\^/g;function m(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=r.source||r,r=r.replace(g,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var v=/[^\w:]/g,y=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(e,t,n){if(e){var r;try{r=decodeURIComponent(A(n)).replace(v,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!y.test(n)&&(n=S(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n}var _={},w=/^[^:]+:\/*[^/]*$/,x=/^([^:]+:)[\s\S]*$/,C=/^([^:]+:\/*[^/]*)[\s\S]*$/;function S(e,t){_[" "+e]||(w.test(e)?_[" "+e]=e+"/":_[" "+e]=B(e,"/",!0)),e=_[" "+e];var n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(x,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(C,"$1")+t:e+t}var k={exec:function(){}};function E(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function O(e,t){var n=e.replace(/\|/g,(function(e,t,n){var r=!1,i=t;while(--i>=0&&"\\"===n[i])r=!r;return r?"|":" |"})),r=n.split(/ \|/),i=0;if(r.length>t)r.splice(t);else while(r.length<t)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function B(e,t,n){var r=e.length;if(0===r)return"";var i=0;while(i<r){var o=e.charAt(r-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.substr(0,r-i)}function M(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,i=0;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&(r--,r<0))return i;return-1}function T(e){e&&e.sanitize&&!e.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 I={escape:f,unescape:A,edit:m,cleanUrl:b,resolveUrl:S,noopTest:k,merge:E,splitCells:O,rtrim:B,findClosingBracket:M,checkSanitizeDeprecation:T},L=a.defaults,D=I.rtrim,P=I.splitCells,N=I.escape,j=I.findClosingBracket;function F(e,t,n){var r=t.href,i=t.title?N(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:i,text:o}:{type:"image",raw:n,href:r,title:i,text:N(o)}}function R(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(null===t)return e;var n=t[0];return n.length>=r.length?e.slice(r.length):e})).join("\n")}var U=function(){function e(e){this.options=e||L}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e,t){var n=this.rules.block.code.exec(e);if(n){var r=t[t.length-1];if(r&&"paragraph"===r.type)return{raw:n[0],text:n[0].trimRight()};var i=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?i:D(i,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=R(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:P(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var r,i=n.align.length;for(r=0;r<i;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(i=n.cells.length,r=0;r<i;r++)n.cells[r]=P(n.cells[r],n.header.length);return n}}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){for(var n,r,i,o,a,s,l,c=t[0],u=t[2],d=u.length>1,h=")"===u[u.length-1],f={type:"list",raw:c,ordered:d,start:d?+u.slice(0,-1):"",loose:!1,items:[]},p=t[0].match(this.rules.block.item),A=!1,g=p.length,m=0;m<g;m++)n=p[m],c=n,r=n.length,n=n.replace(/^ *([*+-]|\d+[.)]) */,""),~n.indexOf("\n ")&&(r-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+r+"}","gm"),"")),m!==g-1&&(i=this.rules.block.bullet.exec(p[m+1])[0],(d?1===i.length||!h&&")"===i[i.length-1]:i.length>1||this.options.smartLists&&i!==u)&&(o=p.slice(m+1).join("\n"),f.raw=f.raw.substring(0,f.raw.length-o.length),m=g-1)),a=A||/\n\n(?!\s*$)/.test(n),m!==g-1&&(A="\n"===n.charAt(n.length-1),a||(a=A)),a&&(f.loose=!0),s=/^\[[ xX]\] /.test(n),l=void 0,s&&(l=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,"")),f.items.push({type:"list_item",raw:c,task:s,checked:l,loose:a,text:n});return f}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):N(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));var n=t[1].toLowerCase().replace(/\s+/g," ");return{tag:n,raw:t[0],href:t[2],title:t[3]}}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:P(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,i=n.align.length;for(r=0;r<i;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(i=n.cells.length,r=0;r<i;r++)n.cells[r]=P(n.cells[r].replace(/^ *\| *| *\| *$/g,""),n.header.length);return n}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}},t.text=function(e,t){var n=this.rules.block.text.exec(e);if(n){var r=t[t.length-1];return r&&"text"===r.type?{raw:n[0],text:n[0]}:{type:"text",raw:n[0],text:n[0]}}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:N(t[1])}},t.tag=function(e,t,n){var r=this.rules.inline.tag.exec(e);if(r)return!t&&/^<a /i.test(r[0])?t=!0:t&&/^<\/a>/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):N(r[0]):r[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=j(t[2],"()");if(n>-1){var r=0===t[0].indexOf("!")?5:4,i=r+t[1].length+n;t[2]=t[2].substring(0,n),t[0]=t[0].substring(0,i).trim(),t[3]=""}var o=t[2],a="";if(this.options.pedantic){var s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);s?(o=s[1],a=s[3]):a=""}else a=t[3]?t[3].slice(1,-1):"";o=o.trim().replace(/^<([\s\S]*)>$/,"$1");var l=F(t,{href:o?o.replace(this.rules.inline._escapes,"$1"):o,title:a?a.replace(this.rules.inline._escapes,"$1"):a},t[0]);return l}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(r=t[r.toLowerCase()],!r||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}var o=F(n,r,n[0]);return o}},t.strong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.strong.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,o="**"===r[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;o.lastIndex=0;while(null!=(r=o.exec(t)))if(i=this.rules.inline.strong.middle.exec(t.slice(0,r.index+3)),i)return{type:"strong",raw:e.slice(0,i[0].length),text:e.slice(2,i[0].length-2)}}},t.em=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.em.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,o="*"===r[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;o.lastIndex=0;while(null!=(r=o.exec(t)))if(i=this.rules.inline.em.middle.exec(t.slice(0,r.index+2)),i)return{type:"em",raw:e.slice(0,i[0].length),text:e.slice(1,i[0].length-1)}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=n.startsWith(" ")&&n.endsWith(" ");return r&&i&&(n=n.substring(1,n.length-1)),n=N(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}},t.autolink=function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return"@"===i[2]?(n=N(this.options.mangle?t(i[1]):i[1]),r="mailto:"+n):(n=N(i[1]),r=n),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])r=N(this.options.mangle?t(n[0]):n[0]),i="mailto:"+r;else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=N(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},t.inlineText=function(e,t,n){var r,i=this.rules.inline.text.exec(e);if(i)return r=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):N(i[0]):i[0]:N(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:r}},e}(),H=I.noopTest,Q=I.edit,K=I.merge,z={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:H,table:H,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};z.def=Q(z.def).replace("label",z._label).replace("title",z._title).getRegex(),z.bullet=/(?:[*+-]|\d{1,9}[.)])/,z.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,z.item=Q(z.item,"gm").replace(/bull/g,z.bullet).getRegex(),z.list=Q(z.list).replace(/bull/g,z.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+z.def.source+")").getRegex(),z._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",z._comment=/<!--(?!-?>)[\s\S]*?-->/,z.html=Q(z.html,"i").replace("comment",z._comment).replace("tag",z._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),z.paragraph=Q(z._paragraph).replace("hr",z.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",z._tag).getRegex(),z.blockquote=Q(z.blockquote).replace("paragraph",z.paragraph).getRegex(),z.normal=K({},z),z.gfm=K({},z.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*|$)"}),z.gfm.nptable=Q(z.gfm.nptable).replace("hr",z.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",z._tag).getRegex(),z.gfm.table=Q(z.gfm.table).replace("hr",z.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",z._tag).getRegex(),z.pedantic=K({},z.normal,{html:Q("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",z._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:H,paragraph:Q(z.normal._paragraph).replace("hr",z.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",z.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var V={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:H,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:H,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};V.punctuation=Q(V.punctuation).replace(/punctuation/g,V._punctuation).getRegex(),V._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",V._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",V.em.start=Q(V.em.start).replace(/punctuation/g,V._punctuation).getRegex(),V.em.middle=Q(V.em.middle).replace(/punctuation/g,V._punctuation).replace(/overlapSkip/g,V._overlapSkip).getRegex(),V.em.endAst=Q(V.em.endAst,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.em.endUnd=Q(V.em.endUnd,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.strong.start=Q(V.strong.start).replace(/punctuation/g,V._punctuation).getRegex(),V.strong.middle=Q(V.strong.middle).replace(/punctuation/g,V._punctuation).replace(/blockSkip/g,V._blockSkip).getRegex(),V.strong.endAst=Q(V.strong.endAst,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.strong.endUnd=Q(V.strong.endUnd,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.blockSkip=Q(V._blockSkip,"g").getRegex(),V.overlapSkip=Q(V._overlapSkip,"g").getRegex(),V._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,V._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,V._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])?)+(?![-_])/,V.autolink=Q(V.autolink).replace("scheme",V._scheme).replace("email",V._email).getRegex(),V._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,V.tag=Q(V.tag).replace("comment",z._comment).replace("attribute",V._attribute).getRegex(),V._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,V._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,V._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,V.link=Q(V.link).replace("label",V._label).replace("href",V._href).replace("title",V._title).getRegex(),V.reflink=Q(V.reflink).replace("label",V._label).getRegex(),V.reflinkSearch=Q(V.reflinkSearch,"g").replace("reflink",V.reflink).replace("nolink",V.nolink).getRegex(),V.normal=K({},V),V.pedantic=K({},V.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:Q(/^!?\[(label)\]\((.*?)\)/).replace("label",V._label).getRegex(),reflink:Q(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",V._label).getRegex()}),V.gfm=K({},V.normal,{escape:Q(V.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),V.gfm.url=Q(V.gfm.url,"i").replace("email",V.gfm._extended_email).getRegex(),V.breaks=K({},V.gfm,{br:Q(V.br).replace("{2,}","*").getRegex(),text:Q(V.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var W={block:z,inline:V},G=a.defaults,X=W.block,q=W.inline;function Y(e){return e.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 Z(e){var t,n,r="",i=e.length;for(t=0;t<i;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var J=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||G,this.options.tokenizer=this.options.tokenizer||new U,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:X.normal,inline:q.normal};this.options.pedantic?(t.block=X.pedantic,t.inline=q.pedantic):this.options.gfm&&(t.block=X.gfm,this.options.breaks?t.inline=q.breaks:t.inline=q.gfm),this.tokenizer.rules=t}e.lex=function(t,n){var r=new e(n);return r.lex(t)};var n=e.prototype;return n.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(e,t,n){var r,i,o,a;void 0===t&&(t=[]),void 0===n&&(n=!0),e=e.replace(/^ +$/gm,"");while(e)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e,t))e=e.substring(r.raw.length),r.type?t.push(r):(a=t[t.length-1],a.raw+="\n"+r.raw,a.text+="\n"+r.text);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),o=r.items.length,i=0;i<o;i++)r.items[i].tokens=this.blockTokens(r.items[i].text,[],!1);t.push(r)}else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.def(e)))e=e.substring(r.raw.length),this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.paragraph(e)))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.text(e,t))e=e.substring(r.raw.length),r.type?t.push(r):(a=t[t.length-1],a.raw+="\n"+r.raw,a.text+="\n"+r.text);else if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}return t},n.inline=function(e){var t,n,r,i,o,a,s=e.length;for(t=0;t<s;t++)switch(a=e[t],a.type){case"paragraph":case"text":case"heading":a.tokens=[],this.inlineTokens(a.text,a.tokens);break;case"table":for(a.tokens={header:[],cells:[]},i=a.header.length,n=0;n<i;n++)a.tokens.header[n]=[],this.inlineTokens(a.header[n],a.tokens.header[n]);for(i=a.cells.length,n=0;n<i;n++)for(o=a.cells[n],a.tokens.cells[n]=[],r=0;r<o.length;r++)a.tokens.cells[n][r]=[],this.inlineTokens(o[r],a.tokens.cells[n][r]);break;case"blockquote":this.inline(a.tokens);break;case"list":for(i=a.items.length,n=0;n<i;n++)this.inline(a.items[n].tokens);break}return e},n.inlineTokens=function(e,t,n,r,i){var o;void 0===t&&(t=[]),void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i="");var a,s=e;if(this.tokens.links){var l=Object.keys(this.tokens.links);if(l.length>0)while(null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(s)))l.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(a=this.tokenizer.rules.inline.blockSkip.exec(s)))s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(e)if(o=this.tokenizer.escape(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.tag(e,n,r))e=e.substring(o.raw.length),n=o.inLink,r=o.inRawBlock,t.push(o);else if(o=this.tokenizer.link(e))e=e.substring(o.raw.length),"link"===o.type&&(o.tokens=this.inlineTokens(o.text,[],!0,r)),t.push(o);else if(o=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(o.raw.length),"link"===o.type&&(o.tokens=this.inlineTokens(o.text,[],!0,r)),t.push(o);else if(o=this.tokenizer.strong(e,s,i))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],n,r),t.push(o);else if(o=this.tokenizer.em(e,s,i))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],n,r),t.push(o);else if(o=this.tokenizer.codespan(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.br(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.del(e))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],n,r),t.push(o);else if(o=this.tokenizer.autolink(e,Z))e=e.substring(o.raw.length),t.push(o);else if(n||!(o=this.tokenizer.url(e,Z))){if(o=this.tokenizer.inlineText(e,r,Y))e=e.substring(o.raw.length),i=o.raw.slice(-1),t.push(o);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}else e=e.substring(o.raw.length),t.push(o);return t},t(e,null,[{key:"rules",get:function(){return{block:X,inline:q}}}]),e}(),$=a.defaults,ee=I.cleanUrl,te=I.escape,ne=function(){function e(e){this.options=e||$}var t=e.prototype;return t.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'<pre><code class="'+this.options.langPrefix+te(r,!0)+'">'+(n?e:te(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:te(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,n){var r=t?"ol":"ul",i=t&&1!==n?' start="'+n+'"':"";return"<"+r+i+">\n"+e+"</"+r+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,n){if(e=ee(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<a href="'+te(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r},t.image=function(e,t,n){if(e=ee(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r},t.text=function(e){return e},e}(),re=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),ie=function(){function e(){this.seen={}}var t=e.prototype;return t.slug=function(e){var t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},e}(),oe=a.defaults,ae=I.unescape,se=function(){function e(e){this.options=e||oe,this.options.renderer=this.options.renderer||new ne,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new re,this.slugger=new ie}e.parse=function(t,n){var r=new e(n);return r.parse(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,r,i,o,a,s,l,c,u,d,h,f,p,A,g,m,v,y,b="",_=e.length;for(n=0;n<_;n++)switch(d=e[n],d.type){case"space":continue;case"hr":b+=this.renderer.hr();continue;case"heading":b+=this.renderer.heading(this.parseInline(d.tokens),d.depth,ae(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue;case"code":b+=this.renderer.code(d.text,d.lang,d.escaped);continue;case"table":for(c="",l="",o=d.header.length,r=0;r<o;r++)l+=this.renderer.tablecell(this.parseInline(d.tokens.header[r]),{header:!0,align:d.align[r]});for(c+=this.renderer.tablerow(l),u="",o=d.cells.length,r=0;r<o;r++){for(s=d.tokens.cells[r],l="",a=s.length,i=0;i<a;i++)l+=this.renderer.tablecell(this.parseInline(s[i]),{header:!1,align:d.align[i]});u+=this.renderer.tablerow(l)}b+=this.renderer.table(c,u);continue;case"blockquote":u=this.parse(d.tokens),b+=this.renderer.blockquote(u);continue;case"list":for(h=d.ordered,f=d.start,p=d.loose,o=d.items.length,u="",r=0;r<o;r++)g=d.items[r],m=g.checked,v=g.task,A="",g.task&&(y=this.renderer.checkbox(m),p?g.tokens.length>0&&"text"===g.tokens[0].type?(g.tokens[0].text=y+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=y+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:y}):A+=y),A+=this.parse(g.tokens,p),u+=this.renderer.listitem(A,v,m);b+=this.renderer.list(u,h,f);continue;case"html":b+=this.renderer.html(d.text);continue;case"paragraph":b+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":u=d.tokens?this.parseInline(d.tokens):d.text;while(n+1<_&&"text"===e[n+1].type)d=e[++n],u+="\n"+(d.tokens?this.parseInline(d.tokens):d.text);b+=t?this.renderer.paragraph(u):u;continue;default:var w='Token with "'+d.type+'" type was not found.';if(this.options.silent)return void console.error(w);throw new Error(w)}return b},t.parseInline=function(e,t){t=t||this.renderer;var n,r,i="",o=e.length;for(n=0;n<o;n++)switch(r=e[n],r.type){case"escape":i+=t.text(r.text);break;case"html":i+=t.html(r.text);break;case"link":i+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":i+=t.image(r.href,r.title,r.text);break;case"strong":i+=t.strong(this.parseInline(r.tokens,t));break;case"em":i+=t.em(this.parseInline(r.tokens,t));break;case"codespan":i+=t.codespan(r.text);break;case"br":i+=t.br();break;case"del":i+=t.del(this.parseInline(r.tokens,t));break;case"text":i+=t.text(r.text);break;default:var a='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(a);throw new Error(a)}return i},e}(),le=I.merge,ce=I.checkSanitizeDeprecation,ue=I.escape,de=a.getDefaults,he=a.changeDefaults,fe=a.defaults;function pe(e,t,n){if("undefined"===typeof e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!==typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"===typeof t&&(n=t,t=null),t=le({},pe.defaults,t||{}),ce(t),n){var r,i=t.highlight;try{r=J.lex(e,t)}catch(l){return n(l)}var o=function(e){var o;if(!e)try{o=se.parse(r,t)}catch(l){e=l}return t.highlight=i,e?n(e):n(null,o)};if(!i||i.length<3)return o();if(delete t.highlight,!r.length)return o();var a=0;return pe.walkTokens(r,(function(e){"code"===e.type&&(a++,setTimeout((function(){i(e.text,e.lang,(function(t,n){if(t)return o(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),a--,0===a&&o()}))}),0))})),void(0===a&&o())}try{var s=J.lex(e,t);return t.walkTokens&&pe.walkTokens(s,t.walkTokens),se.parse(s,t)}catch(l){if(l.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+ue(l.message+"",!0)+"</pre>";throw l}}pe.options=pe.setOptions=function(e){return le(pe.defaults,e),he(pe.defaults),pe},pe.getDefaults=de,pe.defaults=fe,pe.use=function(e){var t=le({},e);if(e.renderer&&function(){var n=pe.defaults.renderer||new ne,r=function(t){var r=n[t];n[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=e.renderer[t].apply(n,o);return!1===s&&(s=r.apply(n,o)),s}};for(var i in e.renderer)r(i);t.renderer=n}(),e.tokenizer&&function(){var n=pe.defaults.tokenizer||new U,r=function(t){var r=n[t];n[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=e.tokenizer[t].apply(n,o);return!1===s&&(s=r.apply(n,o)),s}};for(var i in e.tokenizer)r(i);t.tokenizer=n}(),e.walkTokens){var n=pe.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens(t),n&&n(t)}}pe.setOptions(t)},pe.walkTokens=function(e,t){for(var n,r=i(e);!(n=r()).done;){var o=n.value;switch(t(o),o.type){case"table":for(var a,s=i(o.tokens.header);!(a=s()).done;){var l=a.value;pe.walkTokens(l,t)}for(var c,u=i(o.tokens.cells);!(c=u()).done;)for(var d,h=c.value,f=i(h);!(d=f()).done;){var p=d.value;pe.walkTokens(p,t)}break;case"list":pe.walkTokens(o.items,t);break;default:o.tokens&&pe.walkTokens(o.tokens,t)}}},pe.Parser=se,pe.parser=se.parse,pe.Renderer=ne,pe.TextRenderer=re,pe.Lexer=J,pe.lexer=J.lex,pe.Tokenizer=U,pe.Slugger=ie,pe.parse=pe;var Ae=pe;return Ae}))},"DlR+":function(e,t,n){var r=n("MFOe"),i=r.Global,o=r.trim;e.exports={name:"cookieStorage",read:s,write:c,each:l,remove:u,clearAll:d};var a=i.document;function s(e){if(!e||!h(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(t),"$1"))}function l(e){for(var t=a.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(o(t[n])){var r=t[n].split("="),i=unescape(r[0]),s=unescape(r[1]);e(s,i)}}function c(e,t){e&&(a.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function u(e){e&&h(e)&&(a.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function d(){l((function(e,t){u(t)}))}function h(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},Ducp:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("+TT/"),a=n("XpcN"),s=i.Group,l=["width","height"],c=["x","y"],u=a.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){u.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){u.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,n,o,a,s,l){var c=this;u.superCall(this,"renderInner",e,t,n,o,a,s,l);var d=this._controllerGroup,h=t.get("pageIconSize",!0);r.isArray(h)||(h=[h,h]),p("pagePrev",0);var f=t.getModel("pageTextStyle");function p(e,n){var a=e+"DataIndex",s=i.createIcon(t.get("pageIcons",!0)[t.getOrient().name][n],{onclick:r.bind(c._pageGo,c,a,t,o)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});s.name=e,d.add(s)}d.add(new i.Text({name:"pageText",style:{textFill:f.getTextColor(),font:f.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(e,t,n,i,a,s){var u=this.getSelectorGroup(),d=e.getOrient().index,h=l[d],f=c[d],p=l[1-d],A=c[1-d];a&&o.box("horizontal",u,e.get("selectorItemGap",!0));var g=e.get("selectorButtonGap",!0),m=u.getBoundingRect(),v=[-m.x,-m.y],y=r.clone(n);a&&(y[h]=n[h]-m[h]-g);var b=this._layoutContentAndController(e,i,y,d,h,p,A);if(a){if("end"===s)v[d]+=b[h]+g;else{var _=m[h]+g;v[d]-=_,b[f]-=_}b[h]+=m[h]+g,v[1-d]+=b[A]+b[p]/2-m[p]/2,b[p]=Math.max(b[p],m[p]),b[A]=Math.min(b[A],m[A]+v[1-d]),u.attr("position",v)}return b},_layoutContentAndController:function(e,t,n,a,s,l,c){var u=this.getContentGroup(),d=this._containerGroup,h=this._controllerGroup;o.box(e.get("orient"),u,e.get("itemGap"),a?n.width:null,a?null:n.height),o.box("horizontal",h,e.get("pageButtonItemGap",!0));var f=u.getBoundingRect(),p=h.getBoundingRect(),A=this._showController=f[s]>n[s],g=[-f.x,-f.y];t||(g[a]=u.position[a]);var m=[0,0],v=[-p.x,-p.y],y=r.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(A){var b=e.get("pageButtonPosition",!0);"end"===b?v[a]+=n[s]-p[s]:m[a]+=p[s]+y}v[1-a]+=f[l]/2-p[l]/2,u.attr("position",g),d.attr("position",m),h.attr("position",v);var _={x:0,y:0};if(_[s]=A?n[s]:f[s],_[l]=Math.max(f[l],p[l]),_[c]=Math.min(0,p[c]+v[1-a]),d.__rectSize=n[s],A){var w={x:0,y:0};w[s]=Math.max(n[s]-p[s]-y,0),w[l]=_[l],d.setClipPath(new i.Rect({shape:w})),d.__rectSize=w[s]}else h.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(e);return null!=x.pageIndex&&i.updateProps(u,{position:x.contentPosition},!!A&&e),this._updatePageInfoView(e,x),_},_pageGo:function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},_updatePageInfoView:function(e,t){var n=this._controllerGroup;r.each(["pagePrev","pageNext"],(function(r){var i=null!=t[r+"DataIndex"],o=n.childOfName(r);o&&(o.setStyle("fill",i?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=i?"pointer":"default")}));var i=n.childOfName("pageText"),o=e.get("pageFormatter"),a=t.pageIndex,s=null!=a?a+1:0,l=t.pageCount;i&&o&&i.setStyle("text",r.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=e.getOrient().index,o=l[i],a=c[i],s=this._findTargetItemIndex(t),u=n.children(),d=u[s],h=u.length,f=h?1:0,p={contentPosition:n.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return p;var A=b(d);p.contentPosition[i]=-A.s;for(var g=s+1,m=A,v=A,y=null;g<=h;++g)y=b(u[g]),(!y&&v.e>m.s+r||y&&!_(y,m.s))&&(m=v.i>m.i?v:y,m&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=m.i),++p.pageCount)),v=y;for(g=s-1,m=A,v=A,y=null;g>=-1;--g)y=b(u[g]),y&&_(v,y.s)||!(m.i<v.i)||(v=m,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=m.i),++p.pageCount,++p.pageIndex),m=y;return p;function b(e){if(e){var t=e.getBoundingRect(),n=t[a]+e.position[i];return{s:n,e:n+t[o],i:e.__legendDataIndex}}}function _(e,t){return e.e>=t&&e.s<=t+r}},_findTargetItemIndex:function(e){if(!this._showController)return 0;var t,n,r=this.getContentGroup();return r.eachChild((function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===e&&(t=i)})),null!=t?t:n}}),d=u;e.exports=d},"E/ki":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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.default=r},E2g8:function(e,t,n){(function(t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function r(e){return"function"===typeof e}var i=void 0;i=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var o=i,a=0,s=void 0,l=void 0,c=function(e,t){w[a]=e,w[a+1]=t,a+=2,2===a&&(l?l(x):S())};function u(e){l=e}function d(e){c=e}var h="undefined"!==typeof window?window:void 0,f=h||{},p=f.MutationObserver||f.WebKitMutationObserver,A="undefined"===typeof self&&"undefined"!==typeof t&&"[object process]"==={}.toString.call(t),g="undefined"!==typeof Uint8ClampedArray&&"undefined"!==typeof importScripts&&"undefined"!==typeof MessageChannel;function m(){return function(){return t.nextTick(x)}}function v(){return"undefined"!==typeof s?function(){s(x)}:_()}function y(){var e=0,t=new p(x),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function b(){var e=new MessageChannel;return e.port1.onmessage=x,function(){return e.port2.postMessage(0)}}function _(){var e=setTimeout;return function(){return e(x,1)}}var w=new Array(1e3);function x(){for(var e=0;e<a;e+=2){var t=w[e],n=w[e+1];t(n),w[e]=void 0,w[e+1]=void 0}a=0}function C(){try{var e=Function("return this")().require("vertx");return s=e.runOnLoop||e.runOnContext,v()}catch(t){return _()}}var S=void 0;function k(e,t){var n=this,r=new this.constructor(B);void 0===r[O]&&q(r);var i=n._state;if(i){var o=arguments[i-1];c((function(){return V(i,r,o,n._result)}))}else K(n,r,e,t);return r}function E(e){var t=this;if(e&&"object"===typeof e&&e.constructor===t)return e;var n=new t(B);return R(n,e),n}S=A?m():p?y():g?b():void 0===h?C():_();var O=Math.random().toString(36).substring(2);function B(){}var M=void 0,T=1,I=2;function L(){return new TypeError("You cannot resolve a promise with itself")}function D(){return new TypeError("A promises callback cannot return that same promise.")}function P(e,t,n,r){try{e.call(t,n,r)}catch(i){return i}}function N(e,t,n){c((function(e){var r=!1,i=P(n,t,(function(n){r||(r=!0,t!==n?R(e,n):H(e,n))}),(function(t){r||(r=!0,Q(e,t))}),"Settle: "+(e._label||" unknown promise"));!r&&i&&(r=!0,Q(e,i))}),e)}function j(e,t){t._state===T?H(e,t._result):t._state===I?Q(e,t._result):K(t,void 0,(function(t){return R(e,t)}),(function(t){return Q(e,t)}))}function F(e,t,n){t.constructor===e.constructor&&n===k&&t.constructor.resolve===E?j(e,t):void 0===n?H(e,t):r(n)?N(e,t,n):H(e,t)}function R(t,n){if(t===n)Q(t,L());else if(e(n)){var r=void 0;try{r=n.then}catch(i){return void Q(t,i)}F(t,n,r)}else H(t,n)}function U(e){e._onerror&&e._onerror(e._result),z(e)}function H(e,t){e._state===M&&(e._result=t,e._state=T,0!==e._subscribers.length&&c(z,e))}function Q(e,t){e._state===M&&(e._state=I,e._result=t,c(U,e))}function K(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+T]=n,i[o+I]=r,0===o&&e._state&&c(z,e)}function z(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,i=void 0,o=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?V(n,r,i,o):i(o);e._subscribers.length=0}}function V(e,t,n,i){var o=r(n),a=void 0,s=void 0,l=!0;if(o){try{a=n(i)}catch(c){l=!1,s=c}if(t===a)return void Q(t,D())}else a=i;t._state!==M||(o&&l?R(t,a):!1===l?Q(t,s):e===T?H(t,a):e===I&&Q(t,a))}function W(e,t){try{t((function(t){R(e,t)}),(function(t){Q(e,t)}))}catch(n){Q(e,n)}}var G=0;function X(){return G++}function q(e){e[O]=G++,e._state=void 0,e._result=void 0,e._subscribers=[]}function Y(){return new Error("Array Methods must be provided an Array")}var Z=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(B),this.promise[O]||q(this.promise),o(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?H(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&H(this.promise,this._result))):Q(this.promise,Y())}return e.prototype._enumerate=function(e){for(var t=0;this._state===M&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===E){var i=void 0,o=void 0,a=!1;try{i=e.then}catch(l){a=!0,o=l}if(i===k&&e._state!==M)this._settledAt(e._state,t,e._result);else if("function"!==typeof i)this._remaining--,this._result[t]=e;else if(n===re){var s=new n(B);a?Q(s,o):F(s,e,i),this._willSettleAt(s,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===M&&(this._remaining--,e===I?Q(r,n):this._result[t]=n),0===this._remaining&&H(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;K(e,void 0,(function(e){return n._settledAt(T,t,e)}),(function(e){return n._settledAt(I,t,e)}))},e}();function J(e){return new Z(this,e).promise}function $(e){var t=this;return o(e)?new t((function(n,r){for(var i=e.length,o=0;o<i;o++)t.resolve(e[o]).then(n,r)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))}function ee(e){var t=this,n=new t(B);return Q(n,e),n}function te(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ne(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var re=function(){function e(t){this[O]=X(),this._result=this._state=void 0,this._subscribers=[],B!==t&&("function"!==typeof t&&te(),this instanceof e?W(this,t):ne())}return e.prototype["catch"]=function(e){return this.then(null,e)},e.prototype["finally"]=function(e){var t=this,n=t.constructor;return r(e)?t.then((function(t){return n.resolve(e()).then((function(){return t}))}),(function(t){return n.resolve(e()).then((function(){throw t}))})):t.then(e,e)},e}();function ie(){var e=void 0;if("undefined"!==typeof n)e=n;else if("undefined"!==typeof self)e=self;else try{e=Function("return this")()}catch(i){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(i){}if("[object Promise]"===r&&!t.cast)return}e.Promise=re}return re.prototype.then=k,re.all=J,re.race=$,re.resolve=E,re.reject=ee,re._setScheduler=u,re._setAsap=d,re._asap=c,re.polyfill=ie,re.Promise=re,re}))}).call(this,n("Q2Ig"),n("yLpj"))},E2jh:function(e,t,n){var r=n("2gN3"),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function o(e){return!!i&&i in e}e.exports=o},E9nw:function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},ELLl:function(e,t,n){(function(e){e(n("VrN/"))})((function(e){var t={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},n=e.Pos;function r(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,(function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,"pairs")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:l,Enter:c};function o(e){for(var t=0;t<e.length;t++){var n=e.charAt(t),r="'"+n+"'";i[r]||(i[r]=a(n))}}function a(e){return function(t){return d(t,e)}}function s(e){var t=e.state.closeBrackets;if(!t||t.override)return t;var n=e.getModeAt(e.getCursor());return n.closeBrackets||t}function l(t){var i=s(t);if(!i||t.getOption("disableInput"))return e.Pass;for(var o=r(i,"pairs"),a=t.listSelections(),l=0;l<a.length;l++){if(!a[l].empty())return e.Pass;var c=h(t,a[l].head);if(!c||o.indexOf(c)%2!=0)return e.Pass}for(l=a.length-1;l>=0;l--){var u=a[l].head;t.replaceRange("",n(u.line,u.ch-1),n(u.line,u.ch+1),"+delete")}}function c(t){var n=s(t),i=n&&r(n,"explode");if(!i||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),a=0;a<o.length;a++){if(!o[a].empty())return e.Pass;var l=h(t,o[a].head);if(!l||i.indexOf(l)%2!=0)return e.Pass}t.operation((function(){var e=t.lineSeparator()||"\n";t.replaceSelection(e+e,null),t.execCommand("goCharLeft"),o=t.listSelections();for(var n=0;n<o.length;n++){var r=o[n].head.line;t.indentLine(r,null,!0),t.indentLine(r+1,null,!0)}}))}function u(t){var r=e.cmpPos(t.anchor,t.head)>0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function d(t,i){var o=s(t);if(!o||t.getOption("disableInput"))return e.Pass;var a=r(o,"pairs"),l=a.indexOf(i);if(-1==l)return e.Pass;for(var c,d=r(o,"closeBefore"),h=r(o,"triples"),p=a.charAt(l+1)==i,A=t.listSelections(),g=l%2==0,m=0;m<A.length;m++){var v,y=A[m],b=y.head,_=t.getRange(b,n(b.line,b.ch+1));if(g&&!y.empty())v="surround";else if(!p&&g||_!=i)if(p&&b.ch>1&&h.indexOf(i)>=0&&t.getRange(n(b.line,b.ch-2),b)==i+i){if(b.ch>2&&/\bstring/.test(t.getTokenTypeAt(n(b.line,b.ch-2))))return e.Pass;v="addFour"}else if(p){var w=0==b.ch?" ":t.getRange(n(b.line,b.ch-1),b);if(e.isWordChar(_)||w==i||e.isWordChar(w))return e.Pass;v="both"}else{if(!g||!(0===_.length||/\s/.test(_)||d.indexOf(_)>-1))return e.Pass;v="both"}else v=p&&f(t,b)?"both":h.indexOf(i)>=0&&t.getRange(b,n(b.line,b.ch+3))==i+i+i?"skipThree":"skip";if(c){if(c!=v)return e.Pass}else c=v}var x=l%2?a.charAt(l-1):i,C=l%2?i:a.charAt(l+1);t.operation((function(){if("skip"==c)t.execCommand("goCharRight");else if("skipThree"==c)for(var e=0;e<3;e++)t.execCommand("goCharRight");else if("surround"==c){var n=t.getSelections();for(e=0;e<n.length;e++)n[e]=x+n[e]+C;t.replaceSelections(n,"around"),n=t.listSelections().slice();for(e=0;e<n.length;e++)n[e]=u(n[e]);t.setSelections(n)}else"both"==c?(t.replaceSelection(x+C,null),t.triggerElectric(x+C),t.execCommand("goCharLeft")):"addFour"==c&&(t.replaceSelection(x+x+x+x,"before"),t.execCommand("goCharRight"))}))}function h(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function f(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+"`")}))},EMyp:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("mFDi"),a=n("K4ya"),s=n("qJCg"),l=n("iLNv"),c=n("vZ6x"),u=["inBrush","outOfBrush"],d="__ecBrushSelect",h="__ecInBrushSelectEvent",f=r.PRIORITY.VISUAL.BRUSH;function p(e){e.eachComponent({mainType:"brush"},(function(t){var n=t.brushTargetManager=new c(t.option,e);n.setInputRanges(t.areas,e)}))}function A(e,t,n,r,i){if(i){var o=e.getZr();if(!o[h]){o[d]||(o[d]=g);var a=l.createOrUpdate(o,d,n,t);a(e,r)}}}function g(e,t){if(!e.isDisposed()){var n=e.getZr();n[h]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[h]=!1}}function m(e,t,n,r){for(var i=0,o=t.length;i<o;i++){var a=t[i];if(e[a.brushType](r,n,a.selectors,a))return!0}}function v(e){var t=e.brushSelector;if(i.isString(t)){var n=[];return i.each(s,(function(e,r){n[r]=function(n,r,i,o){var a=r.getItemLayout(n);return e[t](a,i,o)}})),n}if(i.isFunction(t)){var r={};return i.each(s,(function(e,n){r[n]=t})),r}return t}function y(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(i.isArray(n)?i.indexOf(n,t)<0:t!==n)}function b(e){var t=e.selectors={};return i.each(s[e.brushType],(function(n,r){t[r]=function(r){return n(r,t,e)}})),e}r.registerLayout(f,(function(e,t,n){e.eachComponent({mainType:"brush"},(function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),p(e)})),r.registerVisual(f,(function(e,t,n){var r,o,s=[];e.eachComponent({mainType:"brush"},(function(t,n){var l={brushId:t.id,brushIndex:n,brushName:t.name,areas:i.clone(t.areas),selected:[]};s.push(l);var c=t.option,d=c.brushLink,h=[],f=[],p=[],A=0;n||(r=c.throttleType,o=c.throttleDelay);var g=i.map(t.areas,(function(e){return b(i.defaults({boundingRect:_[e.brushType](e)},e))})),w=a.createVisualMappings(t.option,u,(function(e){e.mappingMethod="fixed"}));function x(e){return"all"===d||h[e]}function C(e){return!!e.length}function S(e,t){var n=e.coordinateSystem;A|=n.hasAxisBrushed(),x(t)&&n.eachActiveState(e.getData(),(function(e,t){"active"===e&&(f[t]=1)}))}function k(n,r,o){var a=v(n);if(a&&!y(t,r)&&(i.each(g,(function(r){a[r.brushType]&&t.brushTargetManager.controlSeries(r,n,e)&&o.push(r),A|=C(o)})),x(r)&&C(o))){var s=n.getData();s.each((function(e){m(a,o,s,e)&&(f[e]=1)}))}}i.isArray(d)&&i.each(d,(function(e){h[e]=1})),e.eachSeries((function(e,t){var n=p[t]=[];"parallel"===e.subType?S(e,t,n):k(e,t,n)})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};l.selected.push(n);var r=v(e),i=p[t],o=e.getData(),s=x(t)?function(e){return f[e]?(n.dataIndex.push(o.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(e){return m(r,i,o,e)?(n.dataIndex.push(o.getRawIndex(e)),"inBrush"):"outOfBrush"};(x(t)?A:C(i))&&a.applyVisual(u,w,o,s)}))})),A(t,r,o,s,n)}));var _={lineX:i.noop,lineY:i.noop,rect:function(e){return w(e.range)},polygon:function(e){for(var t,n=e.range,r=0,i=n.length;r<i;r++){t=t||[[1/0,-1/0],[1/0,-1/0]];var o=n[r];o[0]<t[0][0]&&(t[0][0]=o[0]),o[0]>t[0][1]&&(t[0][1]=o[0]),o[1]<t[1][0]&&(t[1][0]=o[1]),o[1]>t[1][1]&&(t[1][1]=o[1])}return t&&w(t)}};function w(e){return new o(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}t.layoutCovers=p},ERHi:function(e,t,n){var r=n("ProS");n("Z6js"),n("R4Th");var i=n("f5Yq"),o=n("h8O9");r.registerVisual(i("effectScatter","circle")),r.registerLayout(o("effectScatter"))},EXcs:function(e,t,n){"use strict";var r=function(){return{height:0,opacity:0}},i=function(e){return{height:e.scrollHeight,opacity:1}},o=function(e){return{height:e.offsetHeight}},a=function(e,t){return"height"===t.propertyName},s={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:i,onEnterActive:i,onLeaveStart:o,onLeaveActive:r,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500};t["a"]=s},Em2t:function(e,t,n){var r=n("bahg"),i=n("quyA"),o=n("0JQy");function a(e){return i(e)?o(e):r(e)}e.exports=a},EpBk:function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},Ez2D:function(e,t,n){var r=n("bYtY"),i=n("4NO4");function o(e,t){var n,o=[],a=e.seriesIndex;if(null==a||!(n=t.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=i.queryDataIndex(s,e);if(null==l||l<0||r.isArray(l))return{point:[]};var c=s.getItemGraphicEl(l),u=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(u&&u.dataToPoint)o=u.dataToPoint(s.getValues(r.map(u.dimensions,(function(e){return s.mapDimension(e)})),l,!0))||[];else if(c){var d=c.getBoundingRect().clone();d.applyTransform(c.transform),o=[d.x+d.width/2,d.y+d.height/2]}return{point:o,el:c}}e.exports=o},F0hE:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("ca2m"),a=n("Qxkt"),s=n("ICMv"),l=o.valueAxis;function c(e,t){return i.defaults({show:t},e)}var u=r.extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),o=this.get("axisTick"),l=this.get("axisType"),c=this.get("axisLabel"),u=this.get("name"),d=this.get("name.show"),h=this.get("name.formatter"),f=this.get("nameGap"),p=this.get("triggerEvent"),A=i.map(this.get("indicator")||[],(function(A){null!=A.max&&A.max>0&&!A.min?A.min=0:null!=A.min&&A.min<0&&!A.max&&(A.max=0);var g=u;if(null!=A.color&&(g=i.defaults({color:A.color},u)),A=i.merge(i.clone(A),{boundaryGap:e,splitNumber:t,scale:n,axisLine:r,axisTick:o,axisType:l,axisLabel:c,name:A.text,nameLocation:"end",nameGap:f,nameTextStyle:g,triggerEvent:p},!1),d||(A.name=""),"string"===typeof h){var m=A.name;A.name=h.replace("{value}",null!=m?m:"")}else"function"===typeof h&&(A.name=h(A.name,A));var v=i.extend(new a(A,null,this.ecModel),s);return v.mainType="radar",v.componentIndex=this.componentIndex,v}),this);this.getIndicatorModels=function(){return A}},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:i.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:c(l.axisLabel,!1),axisTick:c(l.axisTick,!1),axisType:"interval",splitLine:c(l.splitLine,!0),splitArea:c(l.splitArea,!0),indicator:[]}}),d=u;e.exports=d},F5Ls:function(e,t){var n={"\u5357\u6d77\u8bf8\u5c9b":[32,80],"\u5e7f\u4e1c":[0,-10],"\u9999\u6e2f":[10,5],"\u6fb3\u95e8":[-10,10],"\u5929\u6d25":[5,5]};function r(e,t){if("china"===e){var r=n[t.name];if(r){var i=t.center;i[0]+=r[0]/10.5,i[1]+=-r[1]/14}}}e.exports=r},F7hV:function(e,t,n){var r=n("MBQ8"),i=r.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});e.exports=i},F9bG:function(e,t,n){var r=n("bYtY"),i=n("ItGF"),o=n("4NO4"),a=o.makeInner,s=a(),l=r.each;function c(e,t,n){if(!i.node){var r=t.getZr();s(r).records||(s(r).records={}),u(r,t);var o=s(r).records[e]||(s(r).records[e]={});o.handler=n}}function u(e,t){function n(n,r){e.on(n,(function(n){var i=p(t);l(s(e).records,(function(e){e&&r(e,n,i.dispatchAction)})),d(i.pendings,t)}))}s(e).initialized||(s(e).initialized=!0,n("click",r.curry(f,"click")),n("mousemove",r.curry(f,"mousemove")),n("globalout",h))}function d(e,t){var n,r=e.showTip.length,i=e.hideTip.length;r?n=e.showTip[r-1]:i&&(n=e.hideTip[i-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function h(e,t,n){e.handler("leave",null,n)}function f(e,t,n,r){t.handler(e,n,r)}function p(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function A(e,t){if(!i.node){var n=t.getZr(),r=(s(n).records||{})[e];r&&(s(n).records[e]=null)}}t.register=c,t.unregister=A},FBjb:function(e,t,n){var r=n("bYtY"),i=n("oVpE"),o=i.createSymbol,a=n("IwbS"),s=n("OELB"),l=s.parsePercent,c=n("x3X8"),u=c.getDefaultLabel;function d(e,t,n){a.Group.call(this),this.updateData(e,t,n)}var h=d.prototype,f=d.getSymbolSize=function(e,t){var n=e.getItemVisual(t,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function p(e){return[e[0]/2,e[1]/2]}function A(e,t){this.parent.drift(e,t)}h._createSymbol=function(e,t,n,r,i){this.removeAll();var a=t.getItemVisual(n,"color"),s=o(e,-1,-1,2,2,a,i);s.attr({z2:100,culling:!0,scale:p(r)}),s.drift=A,this._symbolType=e,this.add(s)},h.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(e)},h.getSymbolPath=function(){return this.childAt(0)},h.getScale=function(){return this.childAt(0).scale},h.highlight=function(){this.childAt(0).trigger("emphasis")},h.downplay=function(){this.childAt(0).trigger("normal")},h.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},h.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":t.cursor},h.updateData=function(e,t,n){this.silent=!1;var r=e.getItemVisual(t,"symbol")||"circle",i=e.hostModel,o=f(e,t),s=r!==this._symbolType;if(s){var l=e.getItemVisual(t,"symbolKeepAspect");this._createSymbol(r,e,t,o,l)}else{var c=this.childAt(0);c.silent=!1,a.updateProps(c,{scale:p(o)},i,t)}if(this._updateCommon(e,t,o,n),s){c=this.childAt(0);var u=n&&n.fadeIn,d={scale:c.scale.slice()};u&&(d.style={opacity:c.style.opacity}),c.scale=[0,0],u&&(c.style.opacity=0),a.initProps(c,d,i,t)}this._seriesModel=i};var g=["itemStyle"],m=["emphasis","itemStyle"],v=["label"],y=["emphasis","label"];function b(e,t){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===t){var n=this.__symbolOriginalScale,r=n[1]/n[0],i={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*r)]};this.animateTo(i,400,"elasticOut")}else"normal"===t&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}h._updateCommon=function(e,t,n,i){var o=this.childAt(0),s=e.hostModel,c=e.getItemVisual(t,"color");"image"!==o.type?o.useStyle({strokeNoScale:!0}):o.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var d=i&&i.itemStyle,h=i&&i.hoverItemStyle,f=i&&i.symbolOffset,A=i&&i.labelModel,_=i&&i.hoverLabelModel,w=i&&i.hoverAnimation,x=i&&i.cursorStyle;if(!i||e.hasItemOption){var C=i&&i.itemModel?i.itemModel:e.getItemModel(t);d=C.getModel(g).getItemStyle(["color"]),h=C.getModel(m).getItemStyle(),f=C.getShallow("symbolOffset"),A=C.getModel(v),_=C.getModel(y),w=C.getShallow("hoverAnimation"),x=C.getShallow("cursor")}else h=r.extend({},h);var S=o.style,k=e.getItemVisual(t,"symbolRotate");o.attr("rotation",(k||0)*Math.PI/180||0),f&&o.attr("position",[l(f[0],n[0]),l(f[1],n[1])]),x&&o.attr("cursor",x),o.setColor(c,i&&i.symbolInnerColor),o.setStyle(d);var E=e.getItemVisual(t,"opacity");null!=E&&(S.opacity=E);var O=e.getItemVisual(t,"liftZ"),B=o.__z2Origin;null!=O?null==B&&(o.__z2Origin=o.z2,o.z2+=O):null!=B&&(o.z2=B,o.__z2Origin=null);var M=i&&i.useNameLabel;function T(t,n){return M?e.getName(t):u(e,t)}a.setLabelStyle(S,h,A,_,{labelFetcher:s,labelDataIndex:t,defaultText:T,isRectText:!0,autoColor:c}),o.__symbolOriginalScale=p(n),o.hoverStyle=h,o.highDownOnUpdate=w&&s.isAnimationEnabled()?b:null,a.setHoverStyle(o)},h.fadeOut=function(e,t){var n=this.childAt(0);this.silent=n.silent=!0,(!t||!t.keepLabel)&&(n.style.text=null),a.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,e)},r.inherits(d,a.Group);var _=d;e.exports=_},FGaS:function(e,t,n){var r=n("ProS"),i=n("IwbS"),o=n("bYtY"),a=n("oVpE");function s(e){return o.isArray(e)||(e=[+e,+e]),e}var l=r.extendChartView({type:"radar",render:function(e,t,n){var r=e.coordinateSystem,l=this.group,c=e.getData(),u=this._data;function d(e,t){var n=e.getItemVisual(t,"symbol")||"circle",r=e.getItemVisual(t,"color");if("none"!==n){var i=s(e.getItemVisual(t,"symbolSize")),o=a.createSymbol(n,-1,-1,2,2,r);return o.attr({style:{strokeNoScale:!0},z2:100,scale:[i[0]/2,i[1]/2]}),o}}function h(t,n,r,o,a,s){r.removeAll();for(var l=0;l<n.length-1;l++){var c=d(o,a);c&&(c.__dimIdx=l,t[l]?(c.attr("position",t[l]),i[s?"initProps":"updateProps"](c,{position:n[l]},e,a)):c.attr("position",n[l]),r.add(c))}}function f(e){return o.map(e,(function(e){return[r.cx,r.cy]}))}c.diff(u).add((function(t){var n=c.getItemLayout(t);if(n){var r=new i.Polygon,o=new i.Polyline,a={shape:{points:n}};r.shape.points=f(n),o.shape.points=f(n),i.initProps(r,a,e,t),i.initProps(o,a,e,t);var s=new i.Group,l=new i.Group;s.add(o),s.add(r),s.add(l),h(o.shape.points,n,l,c,t,!0),c.setItemGraphicEl(t,s)}})).update((function(t,n){var r=u.getItemGraphicEl(n),o=r.childAt(0),a=r.childAt(1),s=r.childAt(2),l={shape:{points:c.getItemLayout(t)}};l.shape.points&&(h(o.shape.points,l.shape.points,s,c,t,!1),i.updateProps(o,l,e),i.updateProps(a,l,e),c.setItemGraphicEl(t,r))})).remove((function(e){l.remove(u.getItemGraphicEl(e))})).execute(),c.eachItemGraphicEl((function(e,t){var n=c.getItemModel(t),r=e.childAt(0),a=e.childAt(1),s=e.childAt(2),u=c.getItemVisual(t,"color");l.add(e),r.useStyle(o.defaults(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),r.hoverStyle=n.getModel("emphasis.lineStyle").getLineStyle();var d=n.getModel("areaStyle"),h=n.getModel("emphasis.areaStyle"),f=d.isEmpty()&&d.parentModel.isEmpty(),p=h.isEmpty()&&h.parentModel.isEmpty();p=p&&f,a.ignore=f,a.useStyle(o.defaults(d.getAreaStyle(),{fill:u,opacity:.7})),a.hoverStyle=h.getAreaStyle();var A=n.getModel("itemStyle").getItemStyle(["color"]),g=n.getModel("emphasis.itemStyle").getItemStyle(),m=n.getModel("label"),v=n.getModel("emphasis.label");s.eachChild((function(e){e.setStyle(A),e.hoverStyle=o.clone(g);var n=c.get(c.dimensions[e.__dimIdx],t);(null==n||isNaN(n))&&(n=""),i.setLabelStyle(e.style,e.hoverStyle,m,v,{labelFetcher:c.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:n,autoColor:u,isRectText:!0})})),e.highDownOnUpdate=function(e,t){a.attr("ignore","emphasis"===t?p:f)},i.setHoverStyle(e)})),this._data=c},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=l},FH2Y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("ZMnZ"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},FIfw:function(e,t,n){},FNN5:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("+rIm"),a=n("Znkb"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea","minorSplitLine"],c=a.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,i=n.polar,a=i.getAngleAxis(),c=n.getTicksCoords(),d=n.getMinorTicksCoords(),h=a.getExtent()[0],f=n.getExtent(),p=u(i,e,h),A=new o(e,p);r.each(s,A.add,A),this.group.add(A.getGroup()),r.each(l,(function(t){e.get(t+".show")&&!n.scale.isBlank()&&this["_"+t](e,i,h,f,c,d)}),this)}},_splitLine:function(e,t,n,o,a){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var d=[],h=0;h<a.length;h++){var f=u++%c.length;d[f]=d[f]||[],d[f].push(new i.Circle({shape:{cx:t.cx,cy:t.cy,r:a[h].coord}}))}for(h=0;h<d.length;h++)this.group.add(i.mergePath(d[h],{style:r.defaults({stroke:c[h%c.length],fill:null},l.getLineStyle()),silent:!0}))},_minorSplitLine:function(e,t,n,o,a,s){if(s.length){for(var l=e.getModel("minorSplitLine"),c=l.getModel("lineStyle"),u=[],d=0;d<s.length;d++)for(var h=0;h<s[d].length;h++)u.push(new i.Circle({shape:{cx:t.cx,cy:t.cy,r:s[d][h].coord}}));this.group.add(i.mergePath(u,{style:r.defaults({fill:null},c.getLineStyle()),silent:!0}))}},_splitArea:function(e,t,n,o,a){if(a.length){var s=e.getModel("splitArea"),l=s.getModel("areaStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var d=[],h=a[0].coord,f=1;f<a.length;f++){var p=u++%c.length;d[p]=d[p]||[],d[p].push(new i.Sector({shape:{cx:t.cx,cy:t.cy,r0:h,r:a[f].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),h=a[f].coord}for(f=0;f<d.length;f++)this.group.add(i.mergePath(d[f],{style:r.defaults({fill:c[f%c.length]},l.getAreaStyle()),silent:!0}))}}});function u(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}e.exports=c},FTAc:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("q1tI"),i=r["createContext"](null)},FUi9:function(e,t,n){var r=n("bYtY"),i=n("MwEJ"),o=n("aX7z"),a=n("ICMv"),s=n("Qxkt"),l=n("+TT/");l.getLayoutRect;t.getLayoutRect=l.getLayoutRect;var c=n("7hqr"),u=c.enableDataStack,d=c.isDimensionStacked,h=c.getStackedDimension,f=n("hi0g");t.completeDimensions=f;var p=n("sdST");t.createDimensions=p;var A=n("oVpE");function g(e){return i(e.getSource(),e)}t.createSymbol=A.createSymbol;var m={isDimensionStacked:d,enableDataStack:u,getStackedDimension:h};function v(e,t){var n=t;s.isInstance(t)||(n=new s(t),r.mixin(n,a));var i=o.createScaleByModel(n);return i.setExtent(e[0],e[1]),o.niceScaleExtent(i,n),i}function y(e){r.mixin(e,a)}t.createList=g,t.dataStack=m,t.createScale=v,t.mixinAxisModelCommonMethods=y},"Fa/5":function(e,t,n){var r=n("ProS");n("y2l5"),n("q/+u");var i=n("f5Yq"),o=n("h8O9");n("Ae16"),r.registerVisual(i("scatter","circle")),r.registerLayout(o("scatter"))},FhB9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},"Fm1+":function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("a7Wl")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="CaretUpOutlined";var h=a.forwardRef(d);t.default=h},Fofx:function(e,t){var n="undefined"===typeof Float32Array?Array:Float32Array;function r(){var e=new n(6);return i(e),e}function i(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function a(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function s(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function l(e,t,n){var r=t[0],i=t[2],o=t[4],a=t[1],s=t[3],l=t[5],c=Math.sin(n),u=Math.cos(n);return e[0]=r*u+a*c,e[1]=-r*c+a*u,e[2]=i*u+s*c,e[3]=-i*c+u*s,e[4]=u*o+c*l,e[5]=u*l-c*o,e}function c(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function u(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*r;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*i)*l,e[5]=(o*i-n*s)*l,e):null}function d(e){var t=r();return o(t,e),t}t.create=r,t.identity=i,t.copy=o,t.mul=a,t.translate=s,t.rotate=l,t.scale=c,t.invert=u,t.clone=d},Fv0C:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=d(n("Lo0S")),o=n("vewr"),a=d(n("8CQX")),s=c(n("mHUz")),l=d(n("GdRQ"));function c(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n["default"]=e,t&&t.set(e,n),n}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}var A=function(){function e(t){h(this,e),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 p(e,[{key:"_sendKeyEvent",value:function(e,t,n){if(n)this._keyDownList[t]=e;else{if(!(t in this._keyDownList))return;delete this._keyDownList[t]}i.Debug("onkeyevent "+(n?"down":"up")+", keysym: "+e,", code: "+t),this.onkeyevent(e,t,n)}},{key:"_getKeyCode",value:function(e){var t=a.getKeycode(e);if("Unidentified"!==t)return t;if(e.keyCode&&"keypress"!==e.type&&229!==e.keyCode)return"Platform"+e.keyCode;if(e.keyIdentifier){if("U+"!==e.keyIdentifier.substr(0,2))return e.keyIdentifier;var n=parseInt(e.keyIdentifier.substr(2),16),r=String.fromCharCode(n).toUpperCase();return"Platform"+r.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(e){var t=this._getKeyCode(e),n=a.getKeysym(e);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),"AltRight"===t&&e.timeStamp-this._altGrCtrlTime<50?n=s["default"].XK_ISO_Level3_Shift:this._sendKeyEvent(s["default"].XK_Control_L,"ControlLeft",!0)),"Unidentified"===t)return n&&(this._sendKeyEvent(n,t,!0),this._sendKeyEvent(n,t,!1)),void(0,o.stopEvent)(e);if(l.isMac()||l.isIOS())switch(n){case s["default"].XK_Super_L:n=s["default"].XK_Alt_L;break;case s["default"].XK_Super_R:n=s["default"].XK_Super_L;break;case s["default"].XK_Alt_L:n=s["default"].XK_Mode_switch;break;case s["default"].XK_Alt_R:n=s["default"].XK_ISO_Level3_Shift;break}return t in this._keyDownList&&(n=this._keyDownList[t]),(l.isMac()||l.isIOS())&&"CapsLock"===t?(this._sendKeyEvent(s["default"].XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(s["default"].XK_Caps_Lock,"CapsLock",!1),void(0,o.stopEvent)(e)):n||e.key&&!l.isIE()&&!l.isEdge()?(this._pendingKey=null,(0,o.stopEvent)(e),"ControlLeft"===t&&l.isWindows()&&!("ControlLeft"in this._keyDownList)?(this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),void(this._altGrCtrlTime=e.timeStamp)):void this._sendKeyEvent(n,t,!0)):(this._pendingKey=t,void setTimeout(this._handleKeyPressTimeout.bind(this),10,e))}},{key:"_handleKeyPress",value:function(e){if((0,o.stopEvent)(e),null!==this._pendingKey){var t=this._getKeyCode(e),n=a.getKeysym(e);"Unidentified"!==t&&t!=this._pendingKey||(t=this._pendingKey,this._pendingKey=null,n?this._sendKeyEvent(n,t,!0):i.Info("keypress with no keysym:",e))}}},{key:"_handleKeyPressTimeout",value:function(e){if(null!==this._pendingKey){var t,n=this._pendingKey;if(this._pendingKey=null,e.keyCode>=48&&e.keyCode<=57)t=e.keyCode;else if(e.keyCode>=65&&e.keyCode<=90){var r=String.fromCharCode(e.keyCode);r=e.shiftKey?r.toUpperCase():r.toLowerCase(),t=r.charCodeAt()}else t=0;this._sendKeyEvent(t,n,!0)}}},{key:"_handleKeyUp",value:function(e){(0,o.stopEvent)(e);var t=this._getKeyCode(e);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(s["default"].XK_Control_L,"ControlLeft",!0)),(l.isMac()||l.isIOS())&&"CapsLock"===t)return this._sendKeyEvent(s["default"].XK_Caps_Lock,"CapsLock",!0),void this._sendKeyEvent(s["default"].XK_Caps_Lock,"CapsLock",!1);this._sendKeyEvent(this._keyDownList[t],t,!1),!l.isWindows()||"ShiftLeft"!==t&&"ShiftRight"!==t||("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(s["default"].XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){for(var e in i.Debug(">> Keyboard.allKeysUp"),this._keyDownList)this._sendKeyEvent(this._keyDownList[e],e,!1);i.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(e){if(!e.skipCheckAlt&&!e.altKey){var t=this._target,n=this._keyDownList;["AltLeft","AltRight"].forEach((function(e){if(e in n){var r=new KeyboardEvent("keyup",{key:n[e],code:e});r.skipCheckAlt=!0,t.dispatchEvent(r)}}))}}},{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),l.isWindows()&&l.isFirefox()){var e=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach((function(t){return document.addEventListener(t,e,{capture:!0,passive:!0})}))}}},{key:"ungrab",value:function(){if(l.isWindows()&&l.isFirefox()){var e=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach((function(t){return document.removeEventListener(t,e)}))}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()}}]),e}();t["default"]=A},FxDU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r=n("QO+J"),i=n("j5sG"),o="undefined"!==typeof ResizeObserver?i.createSensor:r.createSensor;t.createSensor=o},GGyF:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("wgjA")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="LeftOutlined";var h=a.forwardRef(d);t.default=h},GIiI:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="PoweroffOutlined";t["a"]=i["forwardRef"](l)},GMDS:function(e,t,n){var r=n("bYtY"),i=n("4NgU"),o=n("jkPA"),a=i.prototype,s=i.extend({type:"ordinal",init:function(e,t){e&&!r.isArray(e)||(e=new o({categories:e})),this._ordinalMeta=e,this._extent=t||[0,e.categories.length-1]},parse:function(e){return"string"===typeof e?this._ordinalMeta.getOrdinal(e):Math.round(e)},contain:function(e){return e=this.parse(e),a.contain.call(this,e)&&null!=this._ordinalMeta.categories[e]},normalize:function(e){return a.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(a.scale.call(this,e))},getTicks:function(){var e=[],t=this._extent,n=t[0];while(n<=t[1])e.push(n),n++;return e},getLabel:function(e){if(!this.isBlank())return this._ordinalMeta.categories[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:r.noop,niceExtent:r.noop});s.create=function(){return new s};var l=s;e.exports=l},GQ8N:function(e,t,n){"use strict";function r(e){return e>>>0}function i(e){return 0|e}Object.defineProperty(t,"__esModule",{value:!0}),t.toUnsigned32bit=r,t.toSigned32bit=i},GUcZ:function(e,t,n){"use strict";var r=n("fWQN"),i=n("mtLc"),o=function(){function e(){Object(r["a"])(this,e)}return Object(i["a"])(e,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(void 0!==r&&null!==r)for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])}return t},"function"!==typeof self.Promise&&n("E2g8").polyfill()}}]),e}();o.install();var a=o,s=n("+qE3"),l=n.n(s),c=function(){function e(){Object(r["a"])(this,e)}return Object(i["a"])(e,null,[{key:"e",value:function(t,n){t&&!e.FORCE_GLOBAL_TAG||(t=e.GLOBAL_TAG);var r="[".concat(t,"] > ").concat(n);e.ENABLE_CALLBACK&&e.emitter.emit("log","error",r),e.ENABLE_ERROR&&(console.error?console.error(r):console.warn?console.warn(r):console.log(r))}},{key:"i",value:function(t,n){t&&!e.FORCE_GLOBAL_TAG||(t=e.GLOBAL_TAG);var r="[".concat(t,"] > ").concat(n);e.ENABLE_CALLBACK&&e.emitter.emit("log","info",r),e.ENABLE_INFO&&(console.info?console.info(r):console.log(r))}},{key:"w",value:function(t,n){t&&!e.FORCE_GLOBAL_TAG||(t=e.GLOBAL_TAG);var r="[".concat(t,"] > ").concat(n);e.ENABLE_CALLBACK&&e.emitter.emit("log","warn",r),e.ENABLE_WARN&&(console.warn?console.warn(r):console.log(r))}},{key:"d",value:function(t,n){t&&!e.FORCE_GLOBAL_TAG||(t=e.GLOBAL_TAG);var r="[".concat(t,"] > ").concat(n);e.ENABLE_CALLBACK&&e.emitter.emit("log","debug",r),e.ENABLE_DEBUG&&(console.debug?console.debug(r):console.log(r))}},{key:"v",value:function(t,n){t&&!e.FORCE_GLOBAL_TAG||(t=e.GLOBAL_TAG);var r="[".concat(t,"] > ").concat(n);e.ENABLE_CALLBACK&&e.emitter.emit("log","verbose",r),e.ENABLE_VERBOSE&&console.log(r)}}]),e}();c.GLOBAL_TAG="flv.js",c.FORCE_GLOBAL_TAG=!1,c.ENABLE_ERROR=!0,c.ENABLE_INFO=!0,c.ENABLE_WARN=!0,c.ENABLE_DEBUG=!0,c.ENABLE_VERBOSE=!0,c.ENABLE_CALLBACK=!1,c.emitter=new l.a;var u=c,d=function(){function e(){Object(r["a"])(this,e),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(i["a"])(e,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(e){0===this._firstCheckpoint?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var e=(this._now()-this._lastCheckpoint)/1e3;return 0==e&&(e=1),this._intervalBytes/e/1024}},{key:"lastSecondKBps",get:function(){return this.addBytes(0),0!==this._lastSecondBytes?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}},{key:"averageKBps",get:function(){var e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}]),e}(),h=d,f=n("yKVA"),p=n("879j"),A=function(){function e(t){Object(r["a"])(this,e),this._message=t}return Object(i["a"])(e,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),e}(),g=function(e){Object(f["a"])(n,e);var t=Object(p["a"])(n);function n(e){return Object(r["a"])(this,n),t.call(this,e)}return Object(i["a"])(n,[{key:"name",get:function(){return"IllegalStateException"}}]),n}(A),m=function(e){Object(f["a"])(n,e);var t=Object(p["a"])(n);function n(e){return Object(r["a"])(this,n),t.call(this,e)}return Object(i["a"])(n,[{key:"name",get:function(){return"InvalidArgumentException"}}]),n}(A),v=function(e){Object(f["a"])(n,e);var t=Object(p["a"])(n);function n(e){return Object(r["a"])(this,n),t.call(this,e)}return Object(i["a"])(n,[{key:"name",get:function(){return"NotImplementedException"}}]),n}(A),y={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},b={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},_=function(){function e(t){Object(r["a"])(this,e),this._type=t||"undefined",this._status=y.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(i["a"])(e,[{key:"destroy",value:function(){this._status=y.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===y.kConnecting||this._status===y.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(e){this._onContentLengthKnown=e}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(e){this._onURLRedirect=e}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(e){this._onDataArrival=e}},{key:"onError",get:function(){return this._onError},set:function(e){this._onError=e}},{key:"onComplete",get:function(){return this._onComplete},set:function(e){this._onComplete=e}},{key:"open",value:function(e,t){throw new v("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new v("Unimplemented abstract function!")}}]),e}(),w=n("w4Tj"),x=n("oZsa"),C={};function S(){var e=self.navigator.userAgent.toLowerCase(),t=/(edge)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(iemobile)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(e)||[],n=/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(android)/.exec(e)||/(windows)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||[],r={browser:t[5]||t[3]||t[1]||"",version:t[2]||t[4]||"0",majorVersion:t[4]||t[2]||"0",platform:n[0]||""},i={};if(r.browser){i[r.browser]=!0;var o=r.majorVersion.split(".");i.version={major:parseInt(r.majorVersion,10),string:r.version},o.length>1&&(i.version.minor=parseInt(o[1],10)),o.length>2&&(i.version.build=parseInt(o[2],10))}if(r.platform&&(i[r.platform]=!0),(i.chrome||i.opr||i.safari)&&(i.webkit=!0),i.rv||i.iemobile){i.rv&&delete i.rv;var a="msie";r.browser=a,i[a]=!0}if(i.edge){delete i.edge;var s="msedge";r.browser=s,i[s]=!0}if(i.opr){var l="opera";r.browser=l,i[l]=!0}if(i.safari&&i.android){var c="android";r.browser=c,i[c]=!0}for(var u in i.name=r.browser,i.platform=r.platform,C)C.hasOwnProperty(u)&&delete C[u];Object.assign(C,i)}S();var k=C,E=function(e){Object(f["a"])(n,e);var t=Object(p["a"])(n);function n(e,i){var o;return Object(r["a"])(this,n),o=t.call(this,"fetch-stream-loader"),o.TAG="FetchStreamLoader",o._seekHandler=e,o._config=i,o._needStash=!0,o._requestAbort=!1,o._contentLength=null,o._receivedLength=0,o}return Object(i["a"])(n,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(w["a"])(Object(x["a"])(n.prototype),"destroy",this).call(this)}},{key:"open",value:function(e,t){var n=this;this._dataSource=e,this._range=t;var r=e.url;this._config.reuseRedirectedURL&&void 0!=e.redirectedURL&&(r=e.redirectedURL);var i=this._seekHandler.getConfig(r,t),o=new self.Headers;if("object"===typeof i.headers){var a=i.headers;for(var s in a)a.hasOwnProperty(s)&&o.append(s,a[s])}var l={method:"GET",headers:o,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if("object"===typeof this._config.headers)for(var c in this._config.headers)o.append(c,this._config.headers[c]);!1===e.cors&&(l.mode="same-origin"),e.withCredentials&&(l.credentials="include"),e.referrerPolicy&&(l.referrerPolicy=e.referrerPolicy),this._status=y.kConnecting,self.fetch(i.url,l).then((function(e){if(n._requestAbort)return n._requestAbort=!1,void(n._status=y.kIdle);if(e.ok&&e.status>=200&&e.status<=299){if(e.url!==i.url&&n._onURLRedirect){var t=n._seekHandler.removeURLParameters(e.url);n._onURLRedirect(t)}var r=e.headers.get("Content-Length");return null!=r&&(n._contentLength=parseInt(r),0!==n._contentLength&&n._onContentLengthKnown&&n._onContentLengthKnown(n._contentLength)),n._pump.call(n,e.body.getReader())}if(n._status=y.kError,!n._onError)throw new A("FetchStreamLoader: Http code invalid, "+e.status+" "+e.statusText);n._onError(b.HTTP_STATUS_CODE_INVALID,{code:e.status,msg:e.statusText})}))["catch"]((function(e){if(n._status=y.kError,!n._onError)throw e;n._onError(b.EXCEPTION,{code:-1,msg:e.message})}))}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(e){var t=this;return e.read().then((function(n){if(n.done)if(null!==t._contentLength&&t._receivedLength<t._contentLength){t._status=y.kError;var r=b.EARLY_EOF,i={code:-1,msg:"Fetch stream meet Early-EOF"};if(!t._onError)throw new A(i.msg);t._onError(r,i)}else t._status=y.kComplete,t._onComplete&&t._onComplete(t._range.from,t._range.from+t._receivedLength-1);else{if(!0===t._requestAbort)return t._requestAbort=!1,t._status=y.kComplete,e.cancel();t._status=y.kBuffering;var o=n.value.buffer,a=t._range.from+t._receivedLength;t._receivedLength+=o.byteLength,t._onDataArrival&&t._onDataArrival(o,a,t._receivedLength),t._pump(e)}}))["catch"]((function(e){if(11!==e.code||!k.msedge){t._status=y.kError;var n=0,r=null;if(19!==e.code&&"network error"!==e.message||!(null===t._contentLength||null!==t._contentLength&&t._receivedLength<t._contentLength)?(n=b.EXCEPTION,r={code:e.code,msg:e.message}):(n=b.EARLY_EOF,r={code:e.code,msg:"Fetch stream meet Early-EOF"}),!t._onError)throw new A(r.msg);t._onError(n,r)}}))}}],[{key:"isSupported",value:function(){try{var e=k.msedge&&k.version.minor>=15048,t=!k.msedge||e;return self.fetch&&self.ReadableStream&&t}catch(n){return!1}}}]),n}(_),O=E,B=function(e){Object(f["a"])(n,e);var t=Object(p["a"])(n);function n(e,i){var o;return Object(r["a"])(this,n),o=t.call(this,"xhr-moz-chunked-loader"),o.TAG="MozChunkedLoader",o._seekHandler=e,o._config=i,o._needStash=!0,o._xhr=null,o._requestAbort=!1,o._contentLength=null,o._receivedLength=0,o}return Object(i["a"])(n,[{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(w["a"])(Object(x["a"])(n.prototype),"destroy",this).call(this)}},{key:"open",value:function(e,t){this._dataSource=e,this._range=t;var n=e.url;this._config.reuseRedirectedURL&&void 0!=e.redirectedURL&&(n=e.redirectedURL);var r=this._seekHandler.getConfig(n,t);this._requestURL=r.url;var i=this._xhr=new XMLHttpRequest;if(i.open("GET",r.url,!0),i.responseType="moz-chunked-arraybuffer",i.onreadystatechange=this._onReadyStateChange.bind(this),i.onprogress=this._onProgress.bind(this),i.onloadend=this._onLoadEnd.bind(this),i.onerror=this._onXhrError.bind(this),e.withCredentials&&(i.withCredentials=!0),"object"===typeof r.headers){var o=r.headers;for(var a in o)o.hasOwnProperty(a)&&i.setRequestHeader(a,o[a])}if("object"===typeof this._config.headers){var s=this._config.headers;for(var l in s)s.hasOwnProperty(l)&&i.setRequestHeader(l,s[l])}this._status=y.kConnecting,i.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=y.kComplete}},{key:"_onReadyStateChange",value:function(e){var t=e.target;if(2===t.readyState){if(void 0!=t.responseURL&&t.responseURL!==this._requestURL&&this._onURLRedirect){var n=this._seekHandler.removeURLParameters(t.responseURL);this._onURLRedirect(n)}if(0!==t.status&&(t.status<200||t.status>299)){if(this._status=y.kError,!this._onError)throw new A("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);this._onError(b.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText})}else this._status=y.kBuffering}}},{key:"_onProgress",value:function(e){if(this._status!==y.kError){null===this._contentLength&&null!==e.total&&0!==e.total&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));var t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}}},{key:"_onLoadEnd",value:function(e){!0!==this._requestAbort?this._status!==y.kError&&(this._status=y.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)):this._requestAbort=!1}},{key:"_onXhrError",value:function(e){this._status=y.kError;var t=0,n=null;if(this._contentLength&&e.loaded<this._contentLength?(t=b.EARLY_EOF,n={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(t=b.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type}),!this._onError)throw new A(n.msg);this._onError(t,n)}}],[{key:"isSupported",value:function(){try{var e=new XMLHttpRequest;return e.open("GET","https://example.com",!0),e.responseType="moz-chunked-arraybuffer","moz-chunked-arraybuffer"===e.responseType}catch(t){return u.w("MozChunkedLoader",t.message),!1}}}]),n}(_),M=B,T=function(e){Object(f["a"])(n,e);var t=Object(p["a"])(n);function n(e,i){var o;return Object(r["a"])(this,n),o=t.call(this,"xhr-range-loader"),o.TAG="RangeLoader",o._seekHandler=e,o._config=i,o._needStash=!1,o._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],o._currentChunkSizeKB=384,o._currentSpeedNormalized=0,o._zeroSpeedChunkCount=0,o._xhr=null,o._speedSampler=new h,o._requestAbort=!1,o._waitForTotalLength=!1,o._totalLengthReceived=!1,o._currentRequestURL=null,o._currentRedirectedURL=null,o._currentRequestRange=null,o._totalLength=null,o._contentLength=null,o._receivedLength=0,o._lastTimeLoaded=0,o}return Object(i["a"])(n,[{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(w["a"])(Object(x["a"])(n.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(e,t){this._dataSource=e,this._range=t,this._status=y.kConnecting;var n=!1;void 0!=this._dataSource.filesize&&0!==this._dataSource.filesize&&(n=!0,this._totalLength=this._dataSource.filesize),this._totalLengthReceived||n?this._openSubRange():(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1}))}},{key:"_openSubRange",value:function(){var e=1024*this._currentChunkSizeKB,t=this._range.from+this._receivedLength,n=t+e;null!=this._contentLength&&n-this._range.from>=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(e,t){this._lastTimeLoaded=0;var n=e.url;this._config.reuseRedirectedURL&&(void 0!=this._currentRedirectedURL?n=this._currentRedirectedURL:void 0!=e.redirectedURL&&(n=e.redirectedURL));var r=this._seekHandler.getConfig(n,t);this._currentRequestURL=r.url;var i=this._xhr=new XMLHttpRequest;if(i.open("GET",r.url,!0),i.responseType="arraybuffer",i.onreadystatechange=this._onReadyStateChange.bind(this),i.onprogress=this._onProgress.bind(this),i.onload=this._onLoad.bind(this),i.onerror=this._onXhrError.bind(this),e.withCredentials&&(i.withCredentials=!0),"object"===typeof r.headers){var o=r.headers;for(var a in o)o.hasOwnProperty(a)&&i.setRequestHeader(a,o[a])}if("object"===typeof this._config.headers){var s=this._config.headers;for(var l in s)s.hasOwnProperty(l)&&i.setRequestHeader(l,s[l])}i.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=y.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(e){var t=e.target;if(2===t.readyState){if(void 0!=t.responseURL){var n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=y.kBuffering}else{if(this._status=y.kError,!this._onError)throw new A("RangeLoader: Http code invalid, "+t.status+" "+t.statusText);this._onError(b.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText})}}}},{key:"_onProgress",value:function(e){if(this._status!==y.kError){if(null===this._contentLength){var t=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,t=!0;var n=e.total;this._internalAbort(),null!=n&0!==n&&(this._totalLength=n)}if(-1===this._range.to?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,t)return void this._openSubRange();this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var r=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(r)}}},{key:"_normalizeSpeed",value:function(e){var t=this._chunkSizeKBList,n=t.length-1,r=0,i=0,o=n;if(e<t[0])return t[0];while(i<=o){if(r=i+Math.floor((o-i)/2),r===n||e>=t[r]&&e<t[r+1])return t[r];t[r]<e?i=r+1:o=r-1}}},{key:"_onLoad",value:function(e){if(this._status!==y.kError)if(this._waitForTotalLength)this._waitForTotalLength=!1;else{this._lastTimeLoaded=0;var t=this._speedSampler.lastSecondKBps;if(0===t&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(t=this._speedSampler.currentKBps)),0!==t){var n=this._normalizeSpeed(t);this._currentSpeedNormalized!==n&&(this._currentSpeedNormalized=n,this._currentChunkSizeKB=n)}var r=e.target.response,i=this._range.from+this._receivedLength;this._receivedLength+=r.byteLength;var o=!1;null!=this._contentLength&&this._receivedLength<this._contentLength?this._openSubRange():o=!0,this._onDataArrival&&this._onDataArrival(r,i,this._receivedLength),o&&(this._status=y.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}}},{key:"_onXhrError",value:function(e){this._status=y.kError;var t=0,n=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(t=b.EARLY_EOF,n={code:-1,msg:"RangeLoader meet Early-Eof"}):(t=b.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type}),!this._onError)throw new A(n.msg);this._onError(t,n)}}],[{key:"isSupported",value:function(){try{var e=new XMLHttpRequest;return e.open("GET","https://example.com",!0),e.responseType="arraybuffer","arraybuffer"===e.responseType}catch(t){return u.w("RangeLoader",t.message),!1}}}]),n}(_),I=T,L=function(e){Object(f["a"])(n,e);var t=Object(p["a"])(n);function n(){var e;return Object(r["a"])(this,n),e=t.call(this,"websocket-loader"),e.TAG="WebSocketLoader",e._needStash=!0,e._ws=null,e._requestAbort=!1,e._receivedLength=0,e}return Object(i["a"])(n,[{key:"destroy",value:function(){this._ws&&this.abort(),Object(w["a"])(Object(x["a"])(n.prototype),"destroy",this).call(this)}},{key:"open",value:function(e){try{var t=this._ws=new self.WebSocket(e.url);t.binaryType="arraybuffer",t.onopen=this._onWebSocketOpen.bind(this),t.onclose=this._onWebSocketClose.bind(this),t.onmessage=this._onWebSocketMessage.bind(this),t.onerror=this._onWebSocketError.bind(this),this._status=y.kConnecting}catch(r){this._status=y.kError;var n={code:r.code,msg:r.message};if(!this._onError)throw new A(n.msg);this._onError(b.EXCEPTION,n)}}},{key:"abort",value:function(){var e=this._ws;!e||0!==e.readyState&&1!==e.readyState||(this._requestAbort=!0,e.close()),this._ws=null,this._status=y.kComplete}},{key:"_onWebSocketOpen",value:function(e){this._status=y.kBuffering}},{key:"_onWebSocketClose",value:function(e){!0!==this._requestAbort?(this._status=y.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)):this._requestAbort=!1}},{key:"_onWebSocketMessage",value:function(e){var t=this;if(e.data instanceof ArrayBuffer)this._dispatchArrayBuffer(e.data);else if(e.data instanceof Blob){var n=new FileReader;n.onload=function(){t._dispatchArrayBuffer(n.result)},n.readAsArrayBuffer(e.data)}else{this._status=y.kError;var r={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(!this._onError)throw new A(r.msg);this._onError(b.EXCEPTION,r)}}},{key:"_dispatchArrayBuffer",value:function(e){var t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}},{key:"_onWebSocketError",value:function(e){this._status=y.kError;var t={code:e.code,msg:e.message};if(!this._onError)throw new A(t.msg);this._onError(b.EXCEPTION,t)}}],[{key:"isSupported",value:function(){try{return"undefined"!==typeof self.WebSocket}catch(e){return!1}}}]),n}(_),D=L,P=function(){function e(t){Object(r["a"])(this,e),this._zeroStart=t||!1}return Object(i["a"])(e,[{key:"getConfig",value:function(e,t){var n,r={};0!==t.from||-1!==t.to?(n=-1!==t.to?"bytes=".concat(t.from.toString(),"-").concat(t.to.toString()):"bytes=".concat(t.from.toString(),"-"),r["Range"]=n):this._zeroStart&&(r["Range"]="bytes=0-");return{url:e,headers:r}}},{key:"removeURLParameters",value:function(e){return e}}]),e}(),N=P,j=function(){function e(t,n){Object(r["a"])(this,e),this._startName=t,this._endName=n}return Object(i["a"])(e,[{key:"getConfig",value:function(e,t){var n=e;if(0!==t.from||-1!==t.to){var r=!0;-1===n.indexOf("?")&&(n+="?",r=!1),r&&(n+="&"),n+="".concat(this._startName,"=").concat(t.from.toString()),-1!==t.to&&(n+="&".concat(this._endName,"=").concat(t.to.toString()))}return{url:n,headers:{}}}},{key:"removeURLParameters",value:function(e){var t=e.split("?")[0],n=void 0,r=e.indexOf("?");-1!==r&&(n=e.substring(r+1));var i="";if(void 0!=n&&n.length>0)for(var o=n.split("&"),a=0;a<o.length;a++){var s=o[a].split("="),l=a>0;s[0]!==this._startName&&s[0]!==this._endName&&(l&&(i+="&"),i+=o[a])}return 0===i.length?t:t+"?"+i}}]),e}(),F=j,R=function(){function e(t,n,i){Object(r["a"])(this,e),this.TAG="IOController",this._config=n,this._extraData=i,this._stashInitialSize=393216,void 0!=n.stashInitialSize&&n.stashInitialSize>0&&(this._stashInitialSize=n.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=3145728,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,!1===n.enableStashBuffer&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=t,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(t.url),this._refTotalLength=t.filesize?t.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new h,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(i["a"])(e,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(e){this._extraData=e}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(e){this._onDataArrival=e}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(e){this._onSeeked=e}},{key:"onError",get:function(){return this._onError},set:function(e){this._onError=e}},{key:"onComplete",get:function(){return this._onComplete},set:function(e){this._onComplete=e}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(e){this._onRedirect=e}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(e){this._onRecoveredEarlyEof=e}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return null!=this._redirectedURL||void 0!=this._dataSource.redirectedURL}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===I?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var e=this._config;if("range"===e.seekType)this._seekHandler=new N(this._config.rangeLoadZeroStart);else if("param"===e.seekType){var t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new F(t,n)}else{if("custom"!==e.seekType)throw new m("Invalid seekType in config: ".concat(e.seekType));if("function"!==typeof e.customSeekHandler)throw new m("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}}},{key:"_selectLoader",value:function(){if(null!=this._config.customLoader)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=D;else if(O.isSupported())this._loaderClass=O;else if(M.isSupported())this._loaderClass=M;else{if(!I.isSupported())throw new A("Your browser doesn't support xhr with arraybuffer responseType!");this._loaderClass=I}}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),!1===this._loader.needStashBuffer&&(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(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(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(),0!==this._stashUsed?(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 e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}},{key:"seek",value:function(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}},{key:"_internalSeek",value:function(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;var n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(e){if(!e||"string"!==typeof e||0===e.length)throw new m("Url must be a non-empty string!");this._dataSource.url=e}},{key:"_expandBuffer",value:function(e){var t=this._stashSize;while(t+1048576<e)t*=2;if(t+=1048576,t!==this._bufferSize){var n=new ArrayBuffer(t);if(this._stashUsed>0){var r=new Uint8Array(this._stashBuffer,0,this._stashUsed),i=new Uint8Array(n,0,t);i.set(r,0)}this._stashBuffer=n,this._bufferSize=t}}},{key:"_normalizeSpeed",value:function(e){var t=this._speedNormalizeList,n=t.length-1,r=0,i=0,o=n;if(e<t[0])return t[0];while(i<=o){if(r=i+Math.floor((o-i)/2),r===n||e>=t[r]&&e<t[r+1])return t[r];t[r]<e?i=r+1:o=r-1}}},{key:"_adjustStashSize",value:function(e){var t=0;t=this._config.isLive||e<512?e:e>=512&&e<=1024?Math.floor(1.5*e):2*e,t>8192&&(t=8192);var n=1024*t+1048576;this._bufferSize<n&&this._expandBuffer(n),this._stashSize=1024*t}},{key:"_dispatchChunks",value:function(e,t){return this._currentRange.to=t+e.byteLength-1,this._onDataArrival(e,t)}},{key:"_onURLRedirect",value:function(e){this._redirectedURL=e,this._onRedirect&&this._onRedirect(e)}},{key:"_onContentLengthKnown",value:function(e){e&&this._fullRequestFlag&&(this._totalLength=e,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(e,t,n){if(!this._onDataArrival)throw new g("IOController: No existing consumer (onDataArrival) callback!");if(!this._paused){this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(e.byteLength);var r=this._speedSampler.lastSecondKBps;if(0!==r){var i=this._normalizeSpeed(r);this._speedNormalized!==i&&(this._speedNormalized=i,this._adjustStashSize(i))}if(this._enableStash)if(0===this._stashUsed&&0===this._stashByteStart&&(this._stashByteStart=t),this._stashUsed+e.byteLength<=this._stashSize){var o=new Uint8Array(this._stashBuffer,0,this._stashSize);o.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{var a=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var s=this._stashBuffer.slice(0,this._stashUsed),l=this._dispatchChunks(s,this._stashByteStart);if(l<s.byteLength){if(l>0){var c=new Uint8Array(s,l);a.set(c,0),this._stashUsed=c.byteLength,this._stashByteStart+=l}}else this._stashUsed=0,this._stashByteStart+=l;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),a=new Uint8Array(this._stashBuffer,0,this._bufferSize)),a.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{var u=this._dispatchChunks(e,t);if(u<e.byteLength){var d=e.byteLength-u;d>this._bufferSize&&(this._expandBuffer(d),a=new Uint8Array(this._stashBuffer,0,this._bufferSize)),a.set(new Uint8Array(e,u),0),this._stashUsed+=d,this._stashByteStart=t+u}}}else if(0===this._stashUsed){var h=this._dispatchChunks(e,t);if(h<e.byteLength){var f=e.byteLength-h;f>this._bufferSize&&this._expandBuffer(f);var p=new Uint8Array(this._stashBuffer,0,this._bufferSize);p.set(new Uint8Array(e,h),0),this._stashUsed+=f,this._stashByteStart=t+h}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);var A=new Uint8Array(this._stashBuffer,0,this._bufferSize);A.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;var m=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(m<this._stashUsed&&m>0){var v=new Uint8Array(this._stashBuffer,m);A.set(v,0)}this._stashUsed-=m,this._stashByteStart+=m}}}},{key:"_flushStashBuffer",value:function(e){if(this._stashUsed>0){var t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),r=t.byteLength-n;if(n<t.byteLength){if(!e){if(n>0){var i=new Uint8Array(this._stashBuffer,0,this._bufferSize),o=new Uint8Array(t,n);i.set(o,0),this._stashUsed=o.byteLength,this._stashByteStart+=n}return 0}u.w(this.TAG,"".concat(r," bytes unconsumed data remain when flush buffer, dropped"))}return this._stashUsed=0,this._stashByteStart=0,r}return 0}},{key:"_onLoaderComplete",value:function(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(e,t){switch(u.e(this.TAG,"Loader error, code = ".concat(t.code,", msg = ").concat(t.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=b.UNRECOVERABLE_EARLY_EOF),e){case b.EARLY_EOF:if(!this._config.isLive&&this._totalLength){var n=this._currentRange.to+1;return void(n<this._totalLength&&(u.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(n,!1)))}e=b.UNRECOVERABLE_EARLY_EOF;break;case b.UNRECOVERABLE_EARLY_EOF:case b.CONNECTING_TIMEOUT:case b.HTTP_STATUS_CODE_INVALID:case b.EXCEPTION:break}if(!this._onError)throw new A("IOException: "+t.msg);this._onError(e,t)}}]),e}(),U=R,H={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:180,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:180,autoCleanupMinBackwardDuration:120,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 Q(){return Object.assign({},H)}var K=function(){function e(){Object(r["a"])(this,e)}return Object(i["a"])(e,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var e=new U({},Q()),t=e.loaderType;return e.destroy(),"fetch-stream-loader"==t||"xhr-moz-chunked-loader"==t}},{key:"getNetworkLoaderTypeName",value:function(){var e=new U({},Q()),t=e.loaderType;return e.destroy(),t}},{key:"supportNativeMediaPlayback",value:function(t){void 0==e.videoElement&&(e.videoElement=window.document.createElement("video"));var n=e.videoElement.canPlayType(t);return"probably"===n||"maybe"==n}},{key:"getFeatureList",value:function(){var t={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return t.mseFlvPlayback=e.supportMSEH264Playback(),t.networkStreamIO=e.supportNetworkStreamIO(),t.networkLoaderName=e.getNetworkLoaderTypeName(),t.mseLiveFlvPlayback=t.mseFlvPlayback&&t.networkStreamIO,t.nativeMP4H264Playback=e.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),t.nativeWebmVP8Playback=e.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),t.nativeWebmVP9Playback=e.supportNativeMediaPlayback('video/webm; codecs="vp9"'),t}}]),e}(),z=K,V={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"},W=V,G=function(){function e(){Object(r["a"])(this,e)}return Object(i["a"])(e,null,[{key:"forceGlobalTag",get:function(){return u.FORCE_GLOBAL_TAG},set:function(t){u.FORCE_GLOBAL_TAG=t,e._notifyChange()}},{key:"globalTag",get:function(){return u.GLOBAL_TAG},set:function(t){u.GLOBAL_TAG=t,e._notifyChange()}},{key:"enableAll",get:function(){return u.ENABLE_VERBOSE&&u.ENABLE_DEBUG&&u.ENABLE_INFO&&u.ENABLE_WARN&&u.ENABLE_ERROR},set:function(t){u.ENABLE_VERBOSE=t,u.ENABLE_DEBUG=t,u.ENABLE_INFO=t,u.ENABLE_WARN=t,u.ENABLE_ERROR=t,e._notifyChange()}},{key:"enableDebug",get:function(){return u.ENABLE_DEBUG},set:function(t){u.ENABLE_DEBUG=t,e._notifyChange()}},{key:"enableVerbose",get:function(){return u.ENABLE_VERBOSE},set:function(t){u.ENABLE_VERBOSE=t,e._notifyChange()}},{key:"enableInfo",get:function(){return u.ENABLE_INFO},set:function(t){u.ENABLE_INFO=t,e._notifyChange()}},{key:"enableWarn",get:function(){return u.ENABLE_WARN},set:function(t){u.ENABLE_WARN=t,e._notifyChange()}},{key:"enableError",get:function(){return u.ENABLE_ERROR},set:function(t){u.ENABLE_ERROR=t,e._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(e){u.GLOBAL_TAG=e.globalTag,u.FORCE_GLOBAL_TAG=e.forceGlobalTag,u.ENABLE_VERBOSE=e.enableVerbose,u.ENABLE_DEBUG=e.enableDebug,u.ENABLE_INFO=e.enableInfo,u.ENABLE_WARN=e.enableWarn,u.ENABLE_ERROR=e.enableError,u.ENABLE_CALLBACK=e.enableCallback}},{key:"_notifyChange",value:function(){var t=e.emitter;if(t.listenerCount("change")>0){var n=e.getConfig();t.emit("change",n)}}},{key:"registerListener",value:function(t){e.emitter.addListener("change",t)}},{key:"removeListener",value:function(t){e.emitter.removeListener("change",t)}},{key:"addLogListener",value:function(t){u.emitter.addListener("log",t),u.emitter.listenerCount("log")>0&&(u.ENABLE_CALLBACK=!0,e._notifyChange())}},{key:"removeLogListener",value:function(t){u.emitter.removeListener("log",t),0===u.emitter.listenerCount("log")&&(u.ENABLE_CALLBACK=!1,e._notifyChange())}}]),e}();G.emitter=new l.a;var X=G,q=function(){function e(){Object(r["a"])(this,e),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(i["a"])(e,[{key:"isComplete",value:function(){var e=!1===this.hasAudio||!0===this.hasAudio&&null!=this.audioCodec&&null!=this.audioSampleRate&&null!=this.audioChannelCount,t=!1===this.hasVideo||!0===this.hasVideo&&null!=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;return null!=this.mimeType&&null!=this.duration&&null!=this.metadata&&null!=this.hasKeyframesIndex&&e&&t}},{key:"isSeekable",value:function(){return!0===this.hasKeyframesIndex}},{key:"getNearestKeyframe",value:function(e){if(null==this.keyframesIndex)return null;var t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}},{key:"_search",value:function(e,t){var n=0,r=e.length-1,i=0,o=0,a=r;t<e[0]&&(n=0,o=a+1);while(o<=a){if(i=o+Math.floor((a-o)/2),i===r||t>=e[i]&&t<e[i+1]){n=i;break}e[i]<t?o=i+1:a=i-1}return n}}]),e}(),Y=q;function Z(e,t,n){var r=e;if(t+n<r.length){while(n--)if(128!==(192&r[++t]))return!1;return!0}return!1}function J(e){var t=[],n=e,r=0,i=e.length;while(r<i)if(n[r]<128)t.push(String.fromCharCode(n[r])),++r;else{if(n[r]<192);else if(n[r]<224){if(Z(n,r,1)){var o=(31&n[r])<<6|63&n[r+1];if(o>=128){t.push(String.fromCharCode(65535&o)),r+=2;continue}}}else if(n[r]<240){if(Z(n,r,2)){var a=(15&n[r])<<12|(63&n[r+1])<<6|63&n[r+2];if(a>=2048&&55296!==(63488&a)){t.push(String.fromCharCode(65535&a)),r+=3;continue}}}else if(n[r]<248&&Z(n,r,3)){var s=(7&n[r])<<18|(63&n[r+1])<<12|(63&n[r+2])<<6|63&n[r+3];if(s>65536&&s<1114112){s-=65536,t.push(String.fromCharCode(s>>>10|55296)),t.push(String.fromCharCode(1023&s|56320)),r+=4;continue}}t.push(String.fromCharCode(65533)),++r}return t.join("")}var $=J,ee=function(){var e=new ArrayBuffer(2);return new DataView(e).setInt16(0,256,!0),256===new Int16Array(e)[0]}(),te=function(){function e(){Object(r["a"])(this,e)}return Object(i["a"])(e,null,[{key:"parseScriptData",value:function(t,n,r){var i={};try{var o=e.parseValue(t,n,r),a=e.parseValue(t,n+o.size,r-o.size);i[o.data]=a.data}catch(s){u.e("AMF",s.toString())}return i}},{key:"parseObject",value:function(t,n,r){if(r<3)throw new g("Data not enough when parse ScriptDataObject");var i=e.parseString(t,n,r),o=e.parseValue(t,n+i.size,r-i.size),a=o.objectEnd;return{data:{name:i.data,value:o.data},size:i.size+o.size,objectEnd:a}}},{key:"parseVariable",value:function(t,n,r){return e.parseObject(t,n,r)}},{key:"parseString",value:function(e,t,n){if(n<2)throw new g("Data not enough when parse String");var r,i=new DataView(e,t,n),o=i.getUint16(0,!ee);return r=o>0?$(new Uint8Array(e,t+2,o)):"",{data:r,size:2+o}}},{key:"parseLongString",value:function(e,t,n){if(n<4)throw new g("Data not enough when parse LongString");var r,i=new DataView(e,t,n),o=i.getUint32(0,!ee);return r=o>0?$(new Uint8Array(e,t+4,o)):"",{data:r,size:4+o}}},{key:"parseDate",value:function(e,t,n){if(n<10)throw new g("Data size invalid when parse Date");var r=new DataView(e,t,n),i=r.getFloat64(0,!ee),o=r.getInt16(8,!ee);return i+=60*o*1e3,{data:new Date(i),size:10}}},{key:"parseValue",value:function(t,n,r){if(r<1)throw new g("Data not enough when parse Value");var i,o=new DataView(t,n,r),a=1,s=o.getUint8(0),l=!1;try{switch(s){case 0:i=o.getFloat64(1,!ee),a+=8;break;case 1:var c=o.getUint8(1);i=!!c,a+=1;break;case 2:var d=e.parseString(t,n+1,r-1);i=d.data,a+=d.size;break;case 3:i={};var h=0;9===(16777215&o.getUint32(r-4,!ee))&&(h=3);while(a<r-4){var f=e.parseObject(t,n+a,r-a-h);if(f.objectEnd)break;i[f.data.name]=f.data.value,a+=f.size}if(a<=r-3){var p=16777215&o.getUint32(a-1,!ee);9===p&&(a+=3)}break;case 8:i={},a+=4;var A=0;9===(16777215&o.getUint32(r-4,!ee))&&(A=3);while(a<r-8){var m=e.parseVariable(t,n+a,r-a-A);if(m.objectEnd)break;i[m.data.name]=m.data.value,a+=m.size}if(a<=r-3){var v=16777215&o.getUint32(a-1,!ee);9===v&&(a+=3)}break;case 9:i=void 0,a=1,l=!0;break;case 10:i=[];var y=o.getUint32(1,!ee);a+=4;for(var b=0;b<y;b++){var _=e.parseValue(t,n+a,r-a);i.push(_.data),a+=_.size}break;case 11:var w=e.parseDate(t,n+1,r-1);i=w.data,a+=w.size;break;case 12:var x=e.parseString(t,n+1,r-1);i=x.data,a+=x.size;break;default:a=r,u.w("AMF","Unsupported AMF value type "+s)}}catch(C){u.e("AMF",C.toString())}return{data:i,size:a,objectEnd:l}}}]),e}(),ne=te,re=function(){function e(t){Object(r["a"])(this,e),this.TAG="ExpGolomb",this._buffer=t,this._buffer_index=0,this._total_bytes=t.byteLength,this._total_bits=8*t.byteLength,this._current_word=0,this._current_word_bits_left=0}return Object(i["a"])(e,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var e=this._total_bytes-this._buffer_index;if(e<=0)throw new g("ExpGolomb: _fillCurrentWord() but no bytes available");var t=Math.min(4,e),n=new Uint8Array(4);n.set(this._buffer.subarray(this._buffer_index,this._buffer_index+t)),this._current_word=new DataView(n.buffer).getUint32(0,!1),this._buffer_index+=t,this._current_word_bits_left=8*t}},{key:"readBits",value:function(e){if(e>32)throw new m("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){var t=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,t}var n=this._current_word_bits_left?this._current_word:0;n>>>=32-this._current_word_bits_left;var r=e-this._current_word_bits_left;this._fillCurrentWord();var i=Math.min(r,this._current_word_bits_left),o=this._current_word>>>32-i;return this._current_word<<=i,this._current_word_bits_left-=i,n=n<<i|o,n}},{key:"readBool",value:function(){return 1===this.readBits(1)}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var e;for(e=0;e<this._current_word_bits_left;e++)if(0!==(this._current_word&2147483648>>>e))return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}},{key:"readUEG",value:function(){var e=this._skipLeadingZero();return this.readBits(e+1)-1}},{key:"readSEG",value:function(){var e=this.readUEG();return 1&e?e+1>>>1:-1*(e>>>1)}}]),e}(),ie=re,oe=function(){function e(){Object(r["a"])(this,e)}return Object(i["a"])(e,null,[{key:"_ebsp2rbsp",value:function(e){for(var t=e,n=t.byteLength,r=new Uint8Array(n),i=0,o=0;o<n;o++)o>=2&&3===t[o]&&0===t[o-1]&&0===t[o-2]||(r[i]=t[o],i++);return new Uint8Array(r.buffer,0,i)}},{key:"parseSPS",value:function(t){var n=e._ebsp2rbsp(t),r=new ie(n);r.readByte();var i=r.readByte();r.readByte();var o=r.readByte();r.readUEG();var a=e.getProfileString(i),s=e.getLevelString(o),l=1,c=420,u=[0,420,422,444],d=8;if((100===i||110===i||122===i||244===i||44===i||83===i||86===i||118===i||128===i||138===i||144===i)&&(l=r.readUEG(),3===l&&r.readBits(1),l<=3&&(c=u[l]),d=r.readUEG()+8,r.readUEG(),r.readBits(1),r.readBool()))for(var h=3!==l?8:12,f=0;f<h;f++)r.readBool()&&(f<6?e._skipScalingList(r,16):e._skipScalingList(r,64));r.readUEG();var p=r.readUEG();if(0===p)r.readUEG();else if(1===p){r.readBits(1),r.readSEG(),r.readSEG();for(var A=r.readUEG(),g=0;g<A;g++)r.readSEG()}var m=r.readUEG();r.readBits(1);var v=r.readUEG(),y=r.readUEG(),b=r.readBits(1);0===b&&r.readBits(1),r.readBits(1);var _=0,w=0,x=0,C=0,S=r.readBool();S&&(_=r.readUEG(),w=r.readUEG(),x=r.readUEG(),C=r.readUEG());var k=1,E=1,O=0,B=!0,M=0,T=0,I=r.readBool();if(I){if(r.readBool()){var L=r.readByte(),D=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],P=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];L>0&&L<16?(k=D[L-1],E=P[L-1]):255===L&&(k=r.readByte()<<8|r.readByte(),E=r.readByte()<<8|r.readByte())}if(r.readBool()&&r.readBool(),r.readBool()&&(r.readBits(4),r.readBool()&&r.readBits(24)),r.readBool()&&(r.readUEG(),r.readUEG()),r.readBool()){var N=r.readBits(32),j=r.readBits(32);B=r.readBool(),M=j,T=2*N,O=M/T}}var F=1;1===k&&1===E||(F=k/E);var R=0,U=0;if(0===l)R=1,U=2-b;else{var H=3===l?1:2,Q=1===l?2:1;R=H,U=Q*(2-b)}var K=16*(v+1),z=16*(y+1)*(2-b);K-=(_+w)*R,z-=(x+C)*U;var V=Math.ceil(K*F);return r.destroy(),r=null,{profile_string:a,level_string:s,bit_depth:d,ref_frames:m,chroma_format:c,chroma_format_string:e.getChromaFormatString(c),frame_rate:{fixed:B,fps:O,fps_den:T,fps_num:M},sar_ratio:{width:k,height:E},codec_size:{width:K,height:z},present_size:{width:V,height:z}}}},{key:"_skipScalingList",value:function(e,t){for(var n=8,r=8,i=0,o=0;o<t;o++)0!==r&&(i=e.readSEG(),r=(n+i+256)%256),n=0===r?n:r}},{key:"getProfileString",value:function(e){switch(e){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(e){return(e/10).toFixed(1)}},{key:"getChromaFormatString",value:function(e){switch(e){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),e}(),ae=oe,se={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},le=se;function ce(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}var ue=function(){function e(t,n){Object(r["a"])(this,e),this.TAG="FLVDemuxer",this._config=n,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=t.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=t.hasAudioTrack,this._hasVideo=t.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Y,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var e=new ArrayBuffer(2);return new DataView(e).setInt16(0,256,!0),256===new Int16Array(e)[0]}()}return Object(i["a"])(e,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}},{key:"bindDataSource",value:function(e){return e.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(e){this._onTrackMetadata=e}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(e){this._onMediaInfo=e}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(e){this._onMetaDataArrived=e}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(e){this._onScriptDataArrived=e}},{key:"onError",get:function(){return this._onError},set:function(e){this._onError=e}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(e){this._onDataAvailable=e}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(e){this._timestampBase=e}},{key:"overridedDuration",get:function(){return this._duration},set:function(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}},{key:"overridedHasAudio",set:function(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}},{key:"overridedHasVideo",set:function(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new Y}},{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}},{key:"parseChunks",value:function(t,n){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new g("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var r=0,i=this._littleEndian;if(0===n){if(!(t.byteLength>13))return 0;var o=e.probe(t);r=o.dataOffset}if(this._firstParse){this._firstParse=!1,n+r!==this._dataOffset&&u.w(this.TAG,"First time parsing but chunk byteStart invalid!");var a=new DataView(t,r),s=a.getUint32(0,!i);0!==s&&u.w(this.TAG,"PrevTagSize0 !== 0 !!!"),r+=4}while(r<t.byteLength){this._dispatch=!0;var l=new DataView(t,r);if(r+11+4>t.byteLength)break;var c=l.getUint8(0),d=16777215&l.getUint32(0,!i);if(r+11+d+4>t.byteLength)break;if(8===c||9===c||18===c){var h=l.getUint8(4),f=l.getUint8(5),p=l.getUint8(6),A=l.getUint8(7),m=p|f<<8|h<<16|A<<24,v=16777215&l.getUint32(7,!i);0!==v&&u.w(this.TAG,"Meet tag which has StreamID != 0!");var y=r+11;switch(c){case 8:this._parseAudioData(t,y,d,m);break;case 9:this._parseVideoData(t,y,d,m,n+r);break;case 18:this._parseScriptData(t,y,d);break}var b=l.getUint32(11+d,!i);b!==11+d&&u.w(this.TAG,"Invalid PrevTagSize ".concat(b)),r+=11+d+4}else u.w(this.TAG,"Unsupported tag type ".concat(c,", skipped")),r+=11+d+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),r}},{key:"_parseScriptData",value:function(e,t,n){var r=ne.parseScriptData(e,t,n);if(r.hasOwnProperty("onMetaData")){if(null==r.onMetaData||"object"!==typeof r.onMetaData)return void u.w(this.TAG,"Invalid onMetaData structure!");this._metadata&&u.w(this.TAG,"Found another onMetaData tag!"),this._metadata=r;var i=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},i)),"boolean"===typeof i.hasAudio&&!1===this._hasAudioFlagOverrided&&(this._hasAudio=i.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),"boolean"===typeof i.hasVideo&&!1===this._hasVideoFlagOverrided&&(this._hasVideo=i.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),"number"===typeof i.audiodatarate&&(this._mediaInfo.audioDataRate=i.audiodatarate),"number"===typeof i.videodatarate&&(this._mediaInfo.videoDataRate=i.videodatarate),"number"===typeof i.width&&(this._mediaInfo.width=i.width),"number"===typeof i.height&&(this._mediaInfo.height=i.height),"number"===typeof i.duration){if(!this._durationOverrided){var o=Math.floor(i.duration*this._timescale);this._duration=o,this._mediaInfo.duration=o}}else this._mediaInfo.duration=0;if("number"===typeof i.framerate){var a=Math.floor(1e3*i.framerate);if(a>0){var s=a/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=s,this._referenceFrameRate.fps_num=a,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=s}}if("object"===typeof i.keyframes){this._mediaInfo.hasKeyframesIndex=!0;var l=i.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(l),i.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=i,u.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(r).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},r))}},{key:"_parseKeyframesIndex",value:function(e){for(var t=[],n=[],r=1;r<e.times.length;r++){var i=this._timestampBase+Math.floor(1e3*e.times[r]);t.push(i),n.push(e.filepositions[r])}return{times:t,filepositions:n}}},{key:"_parseAudioData",value:function(e,t,n,r){if(n<=1)u.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");else if(!0!==this._hasAudioFlagOverrided||!1!==this._hasAudio){this._littleEndian;var i=new DataView(e,t,n),o=i.getUint8(0),a=o>>>4;if(2===a||10===a){var s=0,l=(12&o)>>>2;if(l>=0&&l<=4){s=this._flvSoundRateTable[l];var c=1&o,d=this._audioMetadata,h=this._audioTrack;if(d||(!1===this._hasAudio&&!1===this._hasAudioFlagOverrided&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),d=this._audioMetadata={},d.type="audio",d.id=h.id,d.timescale=this._timescale,d.duration=this._duration,d.audioSampleRate=s,d.channelCount=0===c?1:2),10===a){var f=this._parseAACAudioData(e,t+1,n-1);if(void 0==f)return;if(0===f.packetType){d.config&&u.w(this.TAG,"Found another AudioSpecificConfig!");var p=f.data;d.audioSampleRate=p.samplingRate,d.channelCount=p.channelCount,d.codec=p.codec,d.originalCodec=p.originalCodec,d.config=p.config,d.refSampleDuration=1024/d.audioSampleRate*d.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",d);var A=this._mediaInfo;A.audioCodec=d.originalCodec,A.audioSampleRate=d.audioSampleRate,A.audioChannelCount=d.channelCount,A.hasVideo?null!=A.videoCodec&&(A.mimeType='video/x-flv; codecs="'+A.videoCodec+","+A.audioCodec+'"'):A.mimeType='video/x-flv; codecs="'+A.audioCodec+'"',A.isComplete()&&this._onMediaInfo(A)}else if(1===f.packetType){var g=this._timestampBase+r,m={unit:f.data,length:f.data.byteLength,dts:g,pts:g};h.samples.push(m),h.length+=f.data.length}else u.e(this.TAG,"Flv: Unsupported AAC data type ".concat(f.packetType))}else if(2===a){if(!d.codec){var v=this._parseMP3AudioData(e,t+1,n-1,!0);if(void 0==v)return;d.audioSampleRate=v.samplingRate,d.channelCount=v.channelCount,d.codec=v.codec,d.originalCodec=v.originalCodec,d.refSampleDuration=1152/d.audioSampleRate*d.timescale,u.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",d);var y=this._mediaInfo;y.audioCodec=d.codec,y.audioSampleRate=d.audioSampleRate,y.audioChannelCount=d.channelCount,y.audioDataRate=v.bitRate,y.hasVideo?null!=y.videoCodec&&(y.mimeType='video/x-flv; codecs="'+y.videoCodec+","+y.audioCodec+'"'):y.mimeType='video/x-flv; codecs="'+y.audioCodec+'"',y.isComplete()&&this._onMediaInfo(y)}var b=this._parseMP3AudioData(e,t+1,n-1,!1);if(void 0==b)return;var _=this._timestampBase+r,w={unit:b,length:b.byteLength,dts:_,pts:_};h.samples.push(w),h.length+=b.length}}else this._onError(le.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+l)}else this._onError(le.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+a)}}},{key:"_parseAACAudioData",value:function(e,t,n){if(!(n<=1)){var r={},i=new Uint8Array(e,t,n);return r.packetType=i[0],0===i[0]?r.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):r.data=i.subarray(1),r}u.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!")}},{key:"_parseAACAudioSpecificConfig",value:function(e,t,n){var r=new Uint8Array(e,t,n),i=null,o=0,a=0,s=0,l=null;if(o=a=r[0]>>>3,s=(7&r[0])<<1|r[1]>>>7,s<0||s>=this._mpegSamplingRates.length)this._onError(le.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");else{var c=this._mpegSamplingRates[s],u=(120&r[1])>>>3;if(!(u<0||u>=8)){5===o&&(l=(7&r[1])<<1|r[2]>>>7,(124&r[2])>>>2);var d=self.navigator.userAgent.toLowerCase();return-1!==d.indexOf("firefox")?s>=6?(o=5,i=new Array(4),l=s-3):(o=2,i=new Array(2),l=s):-1!==d.indexOf("android")?(o=2,i=new Array(2),l=s):(o=5,l=s,i=new Array(4),s>=6?l=s-3:1===u&&(o=2,i=new Array(2),l=s)),i[0]=o<<3,i[0]|=(15&s)>>>1,i[1]=(15&s)<<7,i[1]|=(15&u)<<3,5===o&&(i[1]|=(15&l)>>>1,i[2]=(1&l)<<7,i[2]|=8,i[3]=0),{config:i,samplingRate:c,channelCount:u,codec:"mp4a.40."+o,originalCodec:"mp4a.40."+a}}this._onError(le.FORMAT_ERROR,"Flv: AAC invalid channel configuration")}}},{key:"_parseMP3AudioData",value:function(e,t,n,r){if(!(n<4)){this._littleEndian;var i=new Uint8Array(e,t,n),o=null;if(r){if(255!==i[0])return;var a=i[1]>>>3&3,s=(6&i[1])>>1,l=(240&i[2])>>>4,c=(12&i[2])>>>2,d=i[3]>>>6&3,h=3!==d?2:1,f=0,p=0,A="mp3";switch(a){case 0:f=this._mpegAudioV25SampleRateTable[c];break;case 2:f=this._mpegAudioV20SampleRateTable[c];break;case 3:f=this._mpegAudioV10SampleRateTable[c];break}switch(s){case 1:34,l<this._mpegAudioL3BitRateTable.length&&(p=this._mpegAudioL3BitRateTable[l]);break;case 2:33,l<this._mpegAudioL2BitRateTable.length&&(p=this._mpegAudioL2BitRateTable[l]);break;case 3:32,l<this._mpegAudioL1BitRateTable.length&&(p=this._mpegAudioL1BitRateTable[l]);break}o={bitRate:p,samplingRate:f,channelCount:h,codec:A,originalCodec:A}}else o=i;return o}u.w(this.TAG,"Flv: Invalid MP3 packet, header missing!")}},{key:"_parseVideoData",value:function(e,t,n,r,i){if(n<=1)u.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");else if(!0!==this._hasVideoFlagOverrided||!1!==this._hasVideo){var o=new Uint8Array(e,t,n)[0],a=(240&o)>>>4,s=15&o;7===s?this._parseAVCVideoPacket(e,t+1,n-1,r,i,a):this._onError(le.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(s))}}},{key:"_parseAVCVideoPacket",value:function(e,t,n,r,i,o){if(n<4)u.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");else{var a=this._littleEndian,s=new DataView(e,t,n),l=s.getUint8(0),c=16777215&s.getUint32(0,!a),d=c<<8>>8;if(0===l)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(1===l)this._parseAVCVideoData(e,t+4,n-4,r,i,o,d);else if(2!==l)return void this._onError(le.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(l))}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(e,t,n){if(n<7)u.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");else{var r=this._videoMetadata,i=this._videoTrack,o=this._littleEndian,a=new DataView(e,t,n);r?"undefined"!==typeof r.avcc&&u.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(!1===this._hasVideo&&!1===this._hasVideoFlagOverrided&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),r=this._videoMetadata={},r.type="video",r.id=i.id,r.timescale=this._timescale,r.duration=this._duration);var s=a.getUint8(0),l=a.getUint8(1);a.getUint8(2),a.getUint8(3);if(1===s&&0!==l)if(this._naluLengthSize=1+(3&a.getUint8(4)),3===this._naluLengthSize||4===this._naluLengthSize){var c=31&a.getUint8(5);if(0!==c){c>1&&u.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(c));for(var d=6,h=0;h<c;h++){var f=a.getUint16(d,!o);if(d+=2,0!==f){var p=new Uint8Array(e,t+d,f);d+=f;var A=ae.parseSPS(p);if(0===h){r.codecWidth=A.codec_size.width,r.codecHeight=A.codec_size.height,r.presentWidth=A.present_size.width,r.presentHeight=A.present_size.height,r.profile=A.profile_string,r.level=A.level_string,r.bitDepth=A.bit_depth,r.chromaFormat=A.chroma_format,r.sarRatio=A.sar_ratio,r.frameRate=A.frame_rate,!1!==A.frame_rate.fixed&&0!==A.frame_rate.fps_num&&0!==A.frame_rate.fps_den||(r.frameRate=this._referenceFrameRate);var g=r.frameRate.fps_den,m=r.frameRate.fps_num;r.refSampleDuration=r.timescale*(g/m);for(var v=p.subarray(1,4),y="avc1.",b=0;b<3;b++){var _=v[b].toString(16);_.length<2&&(_="0"+_),y+=_}r.codec=y;var w=this._mediaInfo;w.width=r.codecWidth,w.height=r.codecHeight,w.fps=r.frameRate.fps,w.profile=r.profile,w.level=r.level,w.refFrames=A.ref_frames,w.chromaFormat=A.chroma_format_string,w.sarNum=r.sarRatio.width,w.sarDen=r.sarRatio.height,w.videoCodec=y,w.hasAudio?null!=w.audioCodec&&(w.mimeType='video/x-flv; codecs="'+w.videoCodec+","+w.audioCodec+'"'):w.mimeType='video/x-flv; codecs="'+w.videoCodec+'"',w.isComplete()&&this._onMediaInfo(w)}}}var x=a.getUint8(d);if(0!==x){x>1&&u.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(x)),d++;for(var C=0;C<x;C++){var S=a.getUint16(d,!o);d+=2,0!==S&&(d+=S)}r.avcc=new Uint8Array(n),r.avcc.set(new Uint8Array(e,t,n),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",r)}else this._onError(le.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS")}else this._onError(le.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS")}else this._onError(le.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));else this._onError(le.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord")}}},{key:"_parseAVCVideoData",value:function(e,t,n,r,i,o,a){var s=this._littleEndian,l=new DataView(e,t,n),c=[],d=0,h=0,f=this._naluLengthSize,p=this._timestampBase+r,A=1===o;while(h<n){if(h+4>=n){u.w(this.TAG,"Malformed Nalu near timestamp ".concat(p,", offset = ").concat(h,", dataSize = ").concat(n));break}var g=l.getUint32(h,!s);if(3===f&&(g>>>=8),g>n-f)return void u.w(this.TAG,"Malformed Nalus near timestamp ".concat(p,", NaluSize > DataSize!"));var m=31&l.getUint8(h+f);5===m&&(A=!0);var v=new Uint8Array(e,t+h,f+g),y={type:m,data:v};c.push(y),d+=v.byteLength,h+=f+g}if(c.length){var b=this._videoTrack,_={units:c,length:d,isKeyframe:A,dts:p,cts:a,pts:p+a};A&&(_.fileposition=i),b.samples.push(_),b.length+=d}}}],[{key:"probe",value:function(e){var t=new Uint8Array(e),n={match:!1};if(70!==t[0]||76!==t[1]||86!==t[2]||1!==t[3])return n;var r=(4&t[4])>>>2!==0,i=0!==(1&t[4]),o=ce(t,5);return o<9?n:{match:!0,consumed:o,dataOffset:o,hasAudioTrack:r,hasVideoTrack:i}}}]),e}(),de=ue,he=function(){function e(){Object(r["a"])(this,e)}return Object(i["a"])(e,null,[{key:"init",value:function(){for(var t in e.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]},e.types)e.types.hasOwnProperty(t)&&(e.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);var n=e.constants={};n.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),n.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),n.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),n.STSC=n.STCO=n.STTS,n.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),n.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]),n.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]),n.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),n.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),n.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(e){for(var t=8,n=null,r=Array.prototype.slice.call(arguments,1),i=r.length,o=0;o<i;o++)t+=r[o].byteLength;n=new Uint8Array(t),n[0]=t>>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n.set(e,4);for(var a=8,s=0;s<i;s++)n.set(r[s],a),a+=r[s].byteLength;return n}},{key:"generateInitSegment",value:function(t){var n=e.box(e.types.ftyp,e.constants.FTYP),r=e.moov(t),i=new Uint8Array(n.byteLength+r.byteLength);return i.set(n,0),i.set(r,n.byteLength),i}},{key:"moov",value:function(t){var n=e.mvhd(t.timescale,t.duration),r=e.trak(t),i=e.mvex(t);return e.box(e.types.moov,n,r,i)}},{key:"mvhd",value:function(t,n){return e.box(e.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,255&t,n>>>24&255,n>>>16&255,n>>>8&255,255&n,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(t){return e.box(e.types.trak,e.tkhd(t),e.mdia(t))}},{key:"tkhd",value:function(t){var n=t.id,r=t.duration,i=t.presentWidth,o=t.presentHeight;return e.box(e.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,255&n,0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,255&r,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,i>>>8&255,255&i,0,0,o>>>8&255,255&o,0,0]))}},{key:"mdia",value:function(t){return e.box(e.types.mdia,e.mdhd(t),e.hdlr(t),e.minf(t))}},{key:"mdhd",value:function(t){var n=t.timescale,r=t.duration;return e.box(e.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,255&n,r>>>24&255,r>>>16&255,r>>>8&255,255&r,85,196,0,0]))}},{key:"hdlr",value:function(t){var n=null;return n="audio"===t.type?e.constants.HDLR_AUDIO:e.constants.HDLR_VIDEO,e.box(e.types.hdlr,n)}},{key:"minf",value:function(t){var n=null;return n="audio"===t.type?e.box(e.types.smhd,e.constants.SMHD):e.box(e.types.vmhd,e.constants.VMHD),e.box(e.types.minf,n,e.dinf(),e.stbl(t))}},{key:"dinf",value:function(){var t=e.box(e.types.dinf,e.box(e.types.dref,e.constants.DREF));return t}},{key:"stbl",value:function(t){var n=e.box(e.types.stbl,e.stsd(t),e.box(e.types.stts,e.constants.STTS),e.box(e.types.stsc,e.constants.STSC),e.box(e.types.stsz,e.constants.STSZ),e.box(e.types.stco,e.constants.STCO));return n}},{key:"stsd",value:function(t){return"audio"===t.type?"mp3"===t.codec?e.box(e.types.stsd,e.constants.STSD_PREFIX,e.mp3(t)):e.box(e.types.stsd,e.constants.STSD_PREFIX,e.mp4a(t)):e.box(e.types.stsd,e.constants.STSD_PREFIX,e.avc1(t))}},{key:"mp3",value:function(t){var n=t.channelCount,r=t.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,r>>>8&255,255&r,0,0]);return e.box(e.types[".mp3"],i)}},{key:"mp4a",value:function(t){var n=t.channelCount,r=t.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,r>>>8&255,255&r,0,0]);return e.box(e.types.mp4a,i,e.esds(t))}},{key:"esds",value:function(t){var n=t.config||[],r=n.length,i=new Uint8Array([0,0,0,0,3,23+r,0,1,0,4,15+r,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([r]).concat(n).concat([6,1,2]));return e.box(e.types.esds,i)}},{key:"avc1",value:function(t){var n=t.avcc,r=t.codecWidth,i=t.codecHeight,o=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,r>>>8&255,255&r,i>>>8&255,255&i,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return e.box(e.types.avc1,o,e.box(e.types.avcC,n))}},{key:"mvex",value:function(t){return e.box(e.types.mvex,e.trex(t))}},{key:"trex",value:function(t){var n=t.id,r=new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,255&n,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return e.box(e.types.trex,r)}},{key:"moof",value:function(t,n){return e.box(e.types.moof,e.mfhd(t.sequenceNumber),e.traf(t,n))}},{key:"mfhd",value:function(t){var n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,255&t]);return e.box(e.types.mfhd,n)}},{key:"traf",value:function(t,n){var r=t.id,i=e.box(e.types.tfhd,new Uint8Array([0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,255&r])),o=e.box(e.types.tfdt,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,255&n])),a=e.sdtp(t),s=e.trun(t,a.byteLength+16+16+8+16+8+8);return e.box(e.types.traf,i,o,s,a)}},{key:"sdtp",value:function(t){for(var n=t.samples||[],r=n.length,i=new Uint8Array(4+r),o=0;o<r;o++){var a=n[o].flags;i[o+4]=a.isLeading<<6|a.dependsOn<<4|a.isDependedOn<<2|a.hasRedundancy}return e.box(e.types.sdtp,i)}},{key:"trun",value:function(t,n){var r=t.samples||[],i=r.length,o=12+16*i,a=new Uint8Array(o);n+=8+o,a.set([0,0,15,1,i>>>24&255,i>>>16&255,i>>>8&255,255&i,n>>>24&255,n>>>16&255,n>>>8&255,255&n],0);for(var s=0;s<i;s++){var l=r[s].duration,c=r[s].size,u=r[s].flags,d=r[s].cts;a.set([l>>>24&255,l>>>16&255,l>>>8&255,255&l,c>>>24&255,c>>>16&255,c>>>8&255,255&c,u.isLeading<<2|u.dependsOn,u.isDependedOn<<6|u.hasRedundancy<<4|u.isNonSync,0,0,d>>>24&255,d>>>16&255,d>>>8&255,255&d],12+16*s)}return e.box(e.types.trun,a)}},{key:"mdat",value:function(t){return e.box(e.types.mdat,t)}}]),e}();he.init();var fe=he,pe=function(){function e(){Object(r["a"])(this,e)}return Object(i["a"])(e,null,[{key:"getSilentFrame",value:function(e,t){if("mp4a.40.2"===e){if(1===t)return new Uint8Array([0,200,0,128,35,128]);if(2===t)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===t)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(6===t)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(1===t)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(2===t)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(3===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}]),e}(),Ae=pe,ge=Object(i["a"])((function e(t,n,i,o,a){Object(r["a"])(this,e),this.dts=t,this.pts=n,this.duration=i,this.originalDts=o,this.isSyncPoint=a,this.fileposition=null})),me=function(){function e(){Object(r["a"])(this,e),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(i["a"])(e,[{key:"appendSyncPoint",value:function(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}]),e}(),ve=function(){function e(){Object(r["a"])(this,e),this._list=[]}return Object(i["a"])(e,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(e){var t=this._list;0!==e.length&&(t.length>0&&e[0].originalDts<t[t.length-1].originalDts&&this.clear(),Array.prototype.push.apply(t,e))}},{key:"getLastSyncPointBeforeDts",value:function(e){if(0==this._list.length)return null;var t=this._list,n=0,r=t.length-1,i=0,o=0,a=r;e<t[0].dts&&(n=0,o=a+1);while(o<=a){if(i=o+Math.floor((a-o)/2),i===r||e>=t[i].dts&&e<t[i+1].dts){n=i;break}t[i].dts<e?o=i+1:a=i-1}return this._list[n]}}]),e}(),ye=function(){function e(t){Object(r["a"])(this,e),this._type=t,this._list=[],this._lastAppendLocation=-1}return Object(i["a"])(e,[{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}},{key:"isEmpty",value:function(){return 0===this._list.length}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(e){var t=this._list;if(0===t.length)return-2;var n=t.length-1,r=0,i=0,o=n,a=0;if(e<t[0].originalBeginDts)return a=-1,a;while(i<=o){if(r=i+Math.floor((o-i)/2),r===n||e>t[r].lastSample.originalDts&&e<t[r+1].originalBeginDts){a=r;break}t[r].originalBeginDts<e?i=r+1:o=r-1}return a}},{key:"_searchNearestSegmentAfter",value:function(e){return this._searchNearestSegmentBefore(e)+1}},{key:"append",value:function(e){var t=this._list,n=e,r=this._lastAppendLocation,i=0;-1!==r&&r<t.length&&n.originalBeginDts>=t[r].lastSample.originalDts&&(r===t.length-1||r<t.length-1&&n.originalBeginDts<t[r+1].originalBeginDts)?i=r+1:t.length>0&&(i=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=i,this._list.splice(i,0,n)}},{key:"getLastSegmentBefore",value:function(e){var t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}},{key:"getLastSampleBefore",value:function(e){var t=this.getLastSegmentBefore(e);return null!=t?t.lastSample:null}},{key:"getLastSyncPointBefore",value:function(e){var t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;while(0===n.length&&t>0)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}}]),e}(),be=function(){function e(t){Object(r["a"])(this,e),this.TAG="MP4Remuxer",this._config=t,this._isLive=!0===t.isLive,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new ye("audio"),this._videoSegmentInfoList=new ye("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!(!k.chrome||!(k.version.major<50||50===k.version.major&&k.version.build<2661)),this._fillSilentAfterSeek=k.msedge||k.msie,this._mp3UseMpegAudio=!k.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(i["a"])(e,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(e){this._onInitSegment=e}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(e){this._onMediaSegment=e}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(e,t){if(!this._onMediaSegment)throw new g("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}},{key:"_onTrackMetadataReceived",value:function(e,t){var n=null,r="mp4",i=t.codec;if("audio"===e)this._audioMeta=t,"mp3"===t.codec&&this._mp3UseMpegAudio?(r="mpeg",i="",n=new Uint8Array):n=fe.generateInitSegment(t);else{if("video"!==e)return;this._videoMeta=t,n=fe.generateInitSegment(t)}if(!this._onInitSegment)throw new g("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:i,container:"".concat(e,"/").concat(r),mediaDuration:t.duration})}},{key:"_calculateDtsBase",value:function(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}},{key:"flushStashedSamples",value:function(){var e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};null!=e&&(n.samples.push(e),n.length=e.length);var r={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};null!=t&&(r.samples.push(t),r.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(r,!0)}},{key:"_remuxAudio",value:function(e,t){if(null!=this._audioMeta){var n=e,r=n.samples,i=void 0,o=-1,a=-1,s=this._audioMeta.refSampleDuration,l="mp3"===this._audioMeta.codec&&this._mp3UseMpegAudio,c=this._dtsBaseInited&&void 0===this._audioNextDts,d=!1;if(r&&0!==r.length&&(1!==r.length||t)){var h=0,f=null,p=0;l?(h=0,p=n.length):(h=8,p=8+n.length);var A=null;if(r.length>1&&(A=r.pop(),p-=A.length),null!=this._audioStashedLastSample){var g=this._audioStashedLastSample;this._audioStashedLastSample=null,r.unshift(g),p+=g.length}null!=A&&(this._audioStashedLastSample=A);var m=r[0].dts-this._dtsBase;if(this._audioNextDts)i=m-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())i=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&"mp3"!==this._audioMeta.originalCodec&&(d=!0);else{var v=this._audioSegmentInfoList.getLastSampleBefore(m);if(null!=v){var y=m-(v.originalDts+v.duration);y<=3&&(y=0);var b=v.dts+v.duration+y;i=m-b}else i=0}if(d){var _=m-i,w=this._videoSegmentInfoList.getLastSegmentBefore(m);if(null!=w&&w.beginDts<_){var x=Ae.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(x){var C=w.beginDts,S=_-w.beginDts;u.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(C,", duration: ").concat(S)),r.unshift({unit:x,dts:C,pts:C}),p+=x.byteLength}}else d=!1}for(var E=[],O=0;O<r.length;O++){var B=r[O],M=B.unit,T=B.dts-this._dtsBase,I=T-i;-1===o&&(o=I);var L=0;if(O!==r.length-1){var D=r[O+1].dts-this._dtsBase-i;L=D-I}else if(null!=A){var P=A.dts-this._dtsBase-i;L=P-I}else L=E.length>=1?E[E.length-1].duration:Math.floor(s);var N=!1,j=null;if(L>1.5*s&&"mp3"!==this._audioMeta.codec&&this._fillAudioTimestampGap&&!k.safari){N=!0;var F=Math.abs(L-s),R=Math.ceil(F/s),U=I+s;u.w(this.TAG,"Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.\n"+"dts: ".concat(I+L," ms, expected: ").concat(I+Math.round(s)," ms, ")+"delta: ".concat(Math.round(F)," ms, generate: ").concat(R," frames"));var H=Ae.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);null==H&&(u.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),H=M),j=[];for(var Q=0;Q<R;Q++){var K=Math.round(U);if(j.length>0){var z=j[j.length-1];z.duration=K-z.dts}var V={dts:K,pts:K,cts:0,unit:H,size:H.byteLength,duration:0,originalDts:T,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};j.push(V),p+=V.size,U+=s}var W=j[j.length-1];W.duration=I+L-W.dts,L=Math.round(s)}E.push({dts:I,pts:I,cts:0,unit:B.unit,size:B.unit.byteLength,duration:L,originalDts:T,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),N&&E.push.apply(E,j)}l?f=new Uint8Array(p):(f=new Uint8Array(p),f[0]=p>>>24&255,f[1]=p>>>16&255,f[2]=p>>>8&255,f[3]=255&p,f.set(fe.types.mdat,4));for(var G=0;G<E.length;G++){var X=E[G].unit;f.set(X,h),h+=X.byteLength}var q=E[E.length-1];a=q.dts+q.duration,this._audioNextDts=a;var Y=new me;Y.beginDts=o,Y.endDts=a,Y.beginPts=o,Y.endPts=a,Y.originalBeginDts=E[0].originalDts,Y.originalEndDts=q.originalDts+q.duration,Y.firstSample=new ge(E[0].dts,E[0].pts,E[0].duration,E[0].originalDts,!1),Y.lastSample=new ge(q.dts,q.pts,q.duration,q.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(Y),n.samples=E,n.sequenceNumber++;var Z=null;Z=l?new Uint8Array:fe.moof(n,o),n.samples=[],n.length=0;var J={type:"audio",data:this._mergeBoxes(Z,f).buffer,sampleCount:E.length,info:Y};l&&c&&(J.timestampOffset=o),this._onMediaSegment("audio",J)}}}},{key:"_remuxVideo",value:function(e,t){if(null!=this._videoMeta){var n=e,r=n.samples,i=void 0,o=-1,a=-1,s=-1,l=-1;if(r&&0!==r.length&&(1!==r.length||t)){var c=8,u=null,d=8+e.length,h=null;if(r.length>1&&(h=r.pop(),d-=h.length),null!=this._videoStashedLastSample){var f=this._videoStashedLastSample;this._videoStashedLastSample=null,r.unshift(f),d+=f.length}null!=h&&(this._videoStashedLastSample=h);var p=r[0].dts-this._dtsBase;if(this._videoNextDts)i=p-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())i=0;else{var A=this._videoSegmentInfoList.getLastSampleBefore(p);if(null!=A){var g=p-(A.originalDts+A.duration);g<=3&&(g=0);var m=A.dts+A.duration+g;i=p-m}else i=0}for(var v=new me,y=[],b=0;b<r.length;b++){var _=r[b],w=_.dts-this._dtsBase,x=_.isKeyframe,C=w-i,S=_.cts,k=C+S;-1===o&&(o=C,s=k);var E=0;if(b!==r.length-1){var O=r[b+1].dts-this._dtsBase-i;E=O-C}else if(null!=h){var B=h.dts-this._dtsBase-i;E=B-C}else E=y.length>=1?y[y.length-1].duration:Math.floor(this._videoMeta.refSampleDuration);if(x){var M=new ge(C,k,E,_.dts,!0);M.fileposition=_.fileposition,v.appendSyncPoint(M)}y.push({dts:C,pts:k,cts:S,units:_.units,size:_.length,isKeyframe:x,duration:E,originalDts:w,flags:{isLeading:0,dependsOn:x?2:1,isDependedOn:x?1:0,hasRedundancy:0,isNonSync:x?0:1}})}u=new Uint8Array(d),u[0]=d>>>24&255,u[1]=d>>>16&255,u[2]=d>>>8&255,u[3]=255&d,u.set(fe.types.mdat,4);for(var T=0;T<y.length;T++){var I=y[T].units;while(I.length){var L=I.shift(),D=L.data;u.set(D,c),c+=D.byteLength}}var P=y[y.length-1];if(a=P.dts+P.duration,l=P.pts+P.duration,this._videoNextDts=a,v.beginDts=o,v.endDts=a,v.beginPts=s,v.endPts=l,v.originalBeginDts=y[0].originalDts,v.originalEndDts=P.originalDts+P.duration,v.firstSample=new ge(y[0].dts,y[0].pts,y[0].duration,y[0].originalDts,y[0].isKeyframe),v.lastSample=new ge(P.dts,P.pts,P.duration,P.originalDts,P.isKeyframe),this._isLive||this._videoSegmentInfoList.append(v),n.samples=y,n.sequenceNumber++,this._forceFirstIDR){var N=y[0].flags;N.dependsOn=2,N.isNonSync=0}var j=fe.moof(n,o);n.samples=[],n.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(j,u).buffer,sampleCount:y.length,info:v})}}}},{key:"_mergeBoxes",value:function(e,t){var n=new Uint8Array(e.byteLength+t.byteLength);return n.set(e,0),n.set(t,e.byteLength),n}}]),e}(),_e=be,we={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"},xe=we,Ce=function(){function e(t,n){Object(r["a"])(this,e),this.TAG="TransmuxingController",this._emitter=new l.a,this._config=n,t.segments||(t.segments=[{duration:t.duration,filesize:t.filesize,url:t.url}]),"boolean"!==typeof t.cors&&(t.cors=!0),"boolean"!==typeof t.withCredentials&&(t.withCredentials=!1),this._mediaDataSource=t,this._currentSegmentIndex=0;var i=0;this._mediaDataSource.segments.forEach((function(e){e.timestampBase=i,i+=e.duration,e.cors=t.cors,e.withCredentials=t.withCredentials,n.referrerPolicy&&(e.referrerPolicy=n.referrerPolicy)})),isNaN(i)||this._mediaDataSource.duration===i||(this._mediaDataSource.duration=i),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(i["a"])(e,[{key:"destroy",value:function(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(e,t){this._emitter.addListener(e,t)}},{key:"off",value:function(e,t){this._emitter.removeListener(e,t)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(e,t){this._currentSegmentIndex=e;var n=this._mediaDataSource.segments[e],r=this._ioctl=new U(n,this._config,e);r.onError=this._onIOException.bind(this),r.onSeeked=this._onIOSeeked.bind(this),r.onComplete=this._onIOComplete.bind(this),r.onRedirect=this._onIORedirect.bind(this),r.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),t?this._demuxer.bindDataSource(this._ioctl):r.onDataArrival=this._onInitChunkArrival.bind(this),r.open(t)}},{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(e){if(null!=this._mediaInfo&&this._mediaInfo.isSeekable()){var t=this._searchSegmentIndexContains(e);if(t===this._currentSegmentIndex){var n=this._mediaInfo.segments[t];if(void 0==n)this._pendingSeekTime=e;else{var r=n.getNearestKeyframe(e);this._remuxer.seek(r.milliseconds),this._ioctl.seek(r.fileposition),this._pendingResolveSeekPoint=r.milliseconds}}else{var i=this._mediaInfo.segments[t];if(void 0==i)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(t);else{var o=i.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[t].timestampBase,this._loadSegment(t,o.fileposition),this._pendingResolveSeekPoint=o.milliseconds,this._reportSegmentMediaInfo(t)}}this._enableStatisticsReporter()}}},{key:"_searchSegmentIndexContains",value:function(e){for(var t=this._mediaDataSource.segments,n=t.length-1,r=0;r<t.length;r++)if(e<t[r].timestampBase){n=r-1;break}return n}},{key:"_onInitChunkArrival",value:function(e,t){var n=this,r=null,i=0;if(t>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,i=this._demuxer.parseChunks(e,t);else if((r=de.probe(e)).match){this._demuxer=new de(r,this._config),this._remuxer||(this._remuxer=new _e(this._config));var o=this._mediaDataSource;void 0==o.duration||isNaN(o.duration)||(this._demuxer.overridedDuration=o.duration),"boolean"===typeof o.hasAudio&&(this._demuxer.overridedHasAudio=o.hasAudio),"boolean"===typeof o.hasVideo&&(this._demuxer.overridedHasVideo=o.hasVideo),this._demuxer.timestampBase=o.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),i=this._demuxer.parseChunks(e,t)}else r=null,u.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then((function(){n._internalAbort()})),this._emitter.emit(xe.DEMUX_ERROR,le.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),i=0;return i}},{key:"_onMediaInfo",value:function(e){var t=this;null==this._mediaInfo&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,Y.prototype));var n=Object.assign({},e);Object.setPrototypeOf(n,Y.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=n,this._reportSegmentMediaInfo(this._currentSegmentIndex),null!=this._pendingSeekTime&&Promise.resolve().then((function(){var e=t._pendingSeekTime;t._pendingSeekTime=null,t.seek(e)}))}},{key:"_onMetaDataArrived",value:function(e){this._emitter.emit(xe.METADATA_ARRIVED,e)}},{key:"_onScriptDataArrived",value:function(e){this._emitter.emit(xe.SCRIPTDATA_ARRIVED,e)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(e){var t=e,n=t+1;n<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(n)):(this._remuxer.flushStashedSamples(),this._emitter.emit(xe.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(e){var t=this._ioctl.extraData;this._mediaDataSource.segments[t].redirectedURL=e}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(xe.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(e,t){u.e(this.TAG,"IOException: type = ".concat(e,", code = ").concat(t.code,", msg = ").concat(t.msg)),this._emitter.emit(xe.IO_ERROR,e,t),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(e,t){u.e(this.TAG,"DemuxException: type = ".concat(e,", info = ").concat(t)),this._emitter.emit(xe.DEMUX_ERROR,e,t)}},{key:"_onRemuxerInitSegmentArrival",value:function(e,t){this._emitter.emit(xe.INIT_SEGMENT,e,t)}},{key:"_onRemuxerMediaSegmentArrival",value:function(e,t){if(null==this._pendingSeekTime&&(this._emitter.emit(xe.MEDIA_SEGMENT,e,t),null!=this._pendingResolveSeekPoint&&"video"===e)){var n=t.info.syncPoints,r=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,k.safari&&n.length>0&&n[0].originalDts===r&&(r=n[0].pts),this._emitter.emit(xe.RECOMMEND_SEEKPOINT,r)}}},{key:"_enableStatisticsReporter",value:function(){null==this._statisticsReporter&&(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(e){var t=this._mediaInfo.segments[e],n=Object.assign({},t);n.duration=this._mediaInfo.duration,n.segmentCount=this._mediaInfo.segmentCount,delete n.segments,delete n.keyframesIndex,this._emitter.emit(xe.MEDIA_INFO,n)}},{key:"_reportStatisticsInfo",value:function(){var e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(xe.STATISTICS_INFO,e)}}]),e}(),Se=Ce,ke=function(e){var t=null,n=A.bind(this);function r(t,n){var r={msg:xe.INIT_SEGMENT,data:{type:t,data:n}};e.postMessage(r,[n.data])}function i(t,n){var r={msg:xe.MEDIA_SEGMENT,data:{type:t,data:n}};e.postMessage(r,[n.data])}function o(){var t={msg:xe.LOADING_COMPLETE};e.postMessage(t)}function s(){var t={msg:xe.RECOVERED_EARLY_EOF};e.postMessage(t)}function l(t){var n={msg:xe.MEDIA_INFO,data:t};e.postMessage(n)}function c(t){var n={msg:xe.METADATA_ARRIVED,data:t};e.postMessage(n)}function u(t){var n={msg:xe.SCRIPTDATA_ARRIVED,data:t};e.postMessage(n)}function d(t){var n={msg:xe.STATISTICS_INFO,data:t};e.postMessage(n)}function h(t,n){e.postMessage({msg:xe.IO_ERROR,data:{type:t,info:n}})}function f(t,n){e.postMessage({msg:xe.DEMUX_ERROR,data:{type:t,info:n}})}function p(t){e.postMessage({msg:xe.RECOMMEND_SEEKPOINT,data:t})}function A(t,n){e.postMessage({msg:"logcat_callback",data:{type:t,logcat:n}})}a.install(),e.addEventListener("message",(function(a){switch(a.data.cmd){case"init":t=new Se(a.data.param[0],a.data.param[1]),t.on(xe.IO_ERROR,h.bind(this)),t.on(xe.DEMUX_ERROR,f.bind(this)),t.on(xe.INIT_SEGMENT,r.bind(this)),t.on(xe.MEDIA_SEGMENT,i.bind(this)),t.on(xe.LOADING_COMPLETE,o.bind(this)),t.on(xe.RECOVERED_EARLY_EOF,s.bind(this)),t.on(xe.MEDIA_INFO,l.bind(this)),t.on(xe.METADATA_ARRIVED,c.bind(this)),t.on(xe.SCRIPTDATA_ARRIVED,u.bind(this)),t.on(xe.STATISTICS_INFO,d.bind(this)),t.on(xe.RECOMMEND_SEEKPOINT,p.bind(this));break;case"destroy":t&&(t.destroy(),t=null),e.postMessage({msg:"destroyed"});break;case"start":t.start();break;case"stop":t.stop();break;case"seek":t.seek(a.data.param);break;case"pause":t.pause();break;case"resume":t.resume();break;case"logging_config":var A=a.data.param;X.applyConfig(A),!0===A.enableCallback?X.addLogListener(n):X.removeLogListener(n);break}}))},Ee=ke,Oe=function(){function e(t,i){if(Object(r["a"])(this,e),this.TAG="Transmuxer",this._emitter=new l.a,i.enableWorker&&"undefined"!==typeof Worker)try{var o=n("0r65");this._worker=o(Ee),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[t,i]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},X.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:X.getConfig()})}catch(s){u.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Se(t,i)}else this._controller=new Se(t,i);if(this._controller){var a=this._controller;a.on(xe.IO_ERROR,this._onIOError.bind(this)),a.on(xe.DEMUX_ERROR,this._onDemuxError.bind(this)),a.on(xe.INIT_SEGMENT,this._onInitSegment.bind(this)),a.on(xe.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),a.on(xe.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),a.on(xe.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),a.on(xe.MEDIA_INFO,this._onMediaInfo.bind(this)),a.on(xe.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),a.on(xe.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),a.on(xe.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),a.on(xe.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(i["a"])(e,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),X.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(e,t){this._emitter.addListener(e,t)}},{key:"off",value:function(e,t){this._emitter.removeListener(e,t)}},{key:"hasWorker",value:function(){return null!=this._worker}},{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(e){this._worker?this._worker.postMessage({cmd:"seek",param:e}):this._controller.seek(e)}},{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(e,t){var n=this;Promise.resolve().then((function(){n._emitter.emit(xe.INIT_SEGMENT,e,t)}))}},{key:"_onMediaSegment",value:function(e,t){var n=this;Promise.resolve().then((function(){n._emitter.emit(xe.MEDIA_SEGMENT,e,t)}))}},{key:"_onLoadingComplete",value:function(){var e=this;Promise.resolve().then((function(){e._emitter.emit(xe.LOADING_COMPLETE)}))}},{key:"_onRecoveredEarlyEof",value:function(){var e=this;Promise.resolve().then((function(){e._emitter.emit(xe.RECOVERED_EARLY_EOF)}))}},{key:"_onMediaInfo",value:function(e){var t=this;Promise.resolve().then((function(){t._emitter.emit(xe.MEDIA_INFO,e)}))}},{key:"_onMetaDataArrived",value:function(e){var t=this;Promise.resolve().then((function(){t._emitter.emit(xe.METADATA_ARRIVED,e)}))}},{key:"_onScriptDataArrived",value:function(e){var t=this;Promise.resolve().then((function(){t._emitter.emit(xe.SCRIPTDATA_ARRIVED,e)}))}},{key:"_onStatisticsInfo",value:function(e){var t=this;Promise.resolve().then((function(){t._emitter.emit(xe.STATISTICS_INFO,e)}))}},{key:"_onIOError",value:function(e,t){var n=this;Promise.resolve().then((function(){n._emitter.emit(xe.IO_ERROR,e,t)}))}},{key:"_onDemuxError",value:function(e,t){var n=this;Promise.resolve().then((function(){n._emitter.emit(xe.DEMUX_ERROR,e,t)}))}},{key:"_onRecommendSeekpoint",value:function(e){var t=this;Promise.resolve().then((function(){t._emitter.emit(xe.RECOMMEND_SEEKPOINT,e)}))}},{key:"_onLoggingConfigChanged",value:function(e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:e})}},{key:"_onWorkerMessage",value:function(e){var t=e.data,n=t.data;if("destroyed"===t.msg||this._workerDestroying)return this._workerDestroying=!1,this._worker.terminate(),void(this._worker=null);switch(t.msg){case xe.INIT_SEGMENT:case xe.MEDIA_SEGMENT:this._emitter.emit(t.msg,n.type,n.data);break;case xe.LOADING_COMPLETE:case xe.RECOVERED_EARLY_EOF:this._emitter.emit(t.msg);break;case xe.MEDIA_INFO:Object.setPrototypeOf(n,Y.prototype),this._emitter.emit(t.msg,n);break;case xe.METADATA_ARRIVED:case xe.SCRIPTDATA_ARRIVED:case xe.STATISTICS_INFO:this._emitter.emit(t.msg,n);break;case xe.IO_ERROR:case xe.DEMUX_ERROR:this._emitter.emit(t.msg,n.type,n.info);break;case xe.RECOMMEND_SEEKPOINT:this._emitter.emit(t.msg,n);break;case"logcat_callback":u.emitter.emit("log",n.type,n.logcat);break;default:break}}}]),e}(),Be=Oe,Me={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},Te=Me,Ie=function(){function e(t){Object(r["a"])(this,e),this.TAG="MSEController",this._config=t,this._emitter=new l.a,this._config.isLive&&void 0==this._config.autoCleanupSourceBuffer&&(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 ve}return Object(i["a"])(e,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(e,t){this._emitter.addListener(e,t)}},{key:"off",value:function(e,t){this._emitter.removeListener(e,t)}},{key:"attachMediaElement",value:function(e){if(this._mediaSource)throw new g("MediaSource has been attached to an HTMLMediaElement!");var t=this._mediaSource=new window.MediaSource;t.addEventListener("sourceopen",this.e.onSourceOpen),t.addEventListener("sourceended",this.e.onSourceEnded),t.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),e.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var e=this._mediaSource;for(var t in this._sourceBuffers){var n=this._pendingSegments[t];n.splice(0,n.length),this._pendingSegments[t]=null,this._pendingRemoveRanges[t]=null,this._lastInitSegments[t]=null;var r=this._sourceBuffers[t];if(r){if("closed"!==e.readyState){try{e.removeSourceBuffer(r)}catch(i){u.e(this.TAG,i.message)}r.removeEventListener("error",this.e.onSourceBufferError),r.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[t]=null,this._sourceBuffers[t]=null}}if("open"===e.readyState)try{e.endOfStream()}catch(i){u.e(this.TAG,i.message)}e.removeEventListener("sourceopen",this.e.onSourceOpen),e.removeEventListener("sourceended",this.e.onSourceEnded),e.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(e,t){if(!this._mediaSource||"open"!==this._mediaSource.readyState)return this._pendingSourceBufferInit.push(e),void this._pendingSegments[e.type].push(e);var n=e,r="".concat(n.container);n.codec&&n.codec.length>0&&(r+=";codecs=".concat(n.codec));var i=!1;if(u.v(this.TAG,"Received Initialization Segment, mimeType: "+r),this._lastInitSegments[n.type]=n,r!==this._mimeTypes[n.type]){if(this._mimeTypes[n.type])u.v(this.TAG,"Notice: ".concat(n.type," mimeType changed, origin: ").concat(this._mimeTypes[n.type],", target: ").concat(r));else{i=!0;try{var o=this._sourceBuffers[n.type]=this._mediaSource.addSourceBuffer(r);o.addEventListener("error",this.e.onSourceBufferError),o.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(a){return u.e(this.TAG,a.message),void this._emitter.emit(Te.ERROR,{code:a.code,msg:a.message})}}this._mimeTypes[n.type]=r}t||this._pendingSegments[n.type].push(n),i||this._sourceBuffers[n.type]&&!this._sourceBuffers[n.type].updating&&this._doAppendSegments(),k.safari&&"audio/mpeg"===n.container&&n.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=n.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(e){var t=e;this._pendingSegments[t.type].push(t),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var n=this._sourceBuffers[t.type];!n||n.updating||this._hasPendingRemoveRanges()||this._doAppendSegments()}},{key:"seek",value:function(e){for(var t in this._sourceBuffers)if(this._sourceBuffers[t]){var n=this._sourceBuffers[t];if("open"===this._mediaSource.readyState)try{n.abort()}catch(l){u.e(this.TAG,l.message)}this._idrList.clear();var r=this._pendingSegments[t];if(r.splice(0,r.length),"closed"!==this._mediaSource.readyState){for(var i=0;i<n.buffered.length;i++){var o=n.buffered.start(i),a=n.buffered.end(i);this._pendingRemoveRanges[t].push({start:o,end:a})}if(n.updating||this._doRemoveRanges(),k.safari){var s=this._lastInitSegments[t];s&&(this._pendingSegments[t].push(s),n.updating||this._doAppendSegments())}}}}},{key:"endOfStream",value:function(){var e=this._mediaSource,t=this._sourceBuffers;e&&"open"===e.readyState?t.video&&t.video.updating||t.audio&&t.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,e.endOfStream()):e&&"closed"===e.readyState&&this._hasPendingSegments()&&(this._hasPendingEos=!0)}},{key:"getNearestKeyframe",value:function(e){return this._idrList.getLastSyncPointBeforeDts(e)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var e=this._mediaElement.currentTime;for(var t in this._sourceBuffers){var n=this._sourceBuffers[t];if(n){var r=n.buffered;if(r.length>=1&&e-r.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var e=this._mediaElement.currentTime;for(var t in this._sourceBuffers){var n=this._sourceBuffers[t];if(n){for(var r=n.buffered,i=!1,o=0;o<r.length;o++){var a=r.start(o),s=r.end(o);if(a<=e&&e<s+3){if(e-a>=this._config.autoCleanupMaxBackwardDuration){i=!0;var l=e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[t].push({start:a,end:l})}}else s<e&&(i=!0,this._pendingRemoveRanges[t].push({start:a,end:s}))}i&&!n.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var e=this._sourceBuffers;if(0!==this._mediaElement.readyState&&"open"===this._mediaSource.readyState&&!(e.video&&e.video.updating||e.audio&&e.audio.updating)){var t=this._mediaSource.duration,n=this._pendingMediaDuration;n>0&&(isNaN(t)||n>t)&&(u.v(this.TAG,"Update MediaSource duration from ".concat(t," to ").concat(n)),this._mediaSource.duration=n),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}}},{key:"_doRemoveRanges",value:function(){for(var e in this._pendingRemoveRanges)if(this._sourceBuffers[e]&&!this._sourceBuffers[e].updating){var t=this._sourceBuffers[e],n=this._pendingRemoveRanges[e];while(n.length&&!t.updating){var r=n.shift();t.remove(r.start,r.end)}}}},{key:"_doAppendSegments",value:function(){var e=this._pendingSegments;for(var t in e)if(this._sourceBuffers[t]&&!this._sourceBuffers[t].updating&&e[t].length>0){var n=e[t].shift();if(n.timestampOffset){var r=this._sourceBuffers[t].timestampOffset,i=n.timestampOffset/1e3,o=Math.abs(r-i);o>.1&&(u.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(r," to ").concat(i)),this._sourceBuffers[t].timestampOffset=i),delete n.timestampOffset}if(!n.data||0===n.data.byteLength)continue;try{this._sourceBuffers[t].appendBuffer(n.data),this._isBufferFull=!1,"video"===t&&n.hasOwnProperty("info")&&this._idrList.appendArray(n.info.syncPoints)}catch(a){this._pendingSegments[t].unshift(n),22===a.code?(this._isBufferFull||this._emitter.emit(Te.BUFFER_FULL),this._isBufferFull=!0):(u.e(this.TAG,a.message),this._emitter.emit(Te.ERROR,{code:a.code,msg:a.message}))}}}},{key:"_onSourceOpen",value:function(){if(u.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){var e=this._pendingSourceBufferInit;while(e.length){var t=e.shift();this.appendInitSegment(t,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(Te.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){u.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){u.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&null!=this.e&&(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 e=this._pendingSegments;return e.video.length>0||e.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var e=this._pendingRemoveRanges;return e.video.length>0||e.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(Te.UPDATE_END)}},{key:"_onSourceBufferError",value:function(e){u.e(this.TAG,"SourceBuffer Error: ".concat(e))}}]),e}(),Le=Ie,De={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Pe={NETWORK_EXCEPTION:b.EXCEPTION,NETWORK_STATUS_CODE_INVALID:b.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:b.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:b.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:le.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:le.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:le.CODEC_UNSUPPORTED},Ne=function(){function e(t,n){if(Object(r["a"])(this,e),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new l.a,this._config=Q(),"object"===typeof n&&Object.assign(this._config,n),"flv"!==t.type.toLowerCase())throw new m("FlvPlayer requires an flv MediaDataSource input!");!0===t.isLive&&(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=t,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 i=k.chrome&&(k.version.major<50||50===k.version.major&&k.version.build<2661);this._alwaysSeekKeyframe=!!(i||k.msedge||k.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(i["a"])(e,[{key:"destroy",value:function(){null!=this._progressChecker&&(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(e,t){var n=this;e===W.MEDIA_INFO?null!=this._mediaInfo&&Promise.resolve().then((function(){n._emitter.emit(W.MEDIA_INFO,n.mediaInfo)})):e===W.STATISTICS_INFO&&null!=this._statisticsInfo&&Promise.resolve().then((function(){n._emitter.emit(W.STATISTICS_INFO,n.statisticsInfo)})),this._emitter.addListener(e,t)}},{key:"off",value:function(e,t){this._emitter.removeListener(e,t)}},{key:"attachMediaElement",value:function(e){var t=this;if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),e.addEventListener("seeking",this.e.onvSeeking),e.addEventListener("canplay",this.e.onvCanPlay),e.addEventListener("stalled",this.e.onvStalled),e.addEventListener("progress",this.e.onvProgress),this._msectl=new Le(this._config),this._msectl.on(Te.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(Te.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(Te.SOURCE_OPEN,(function(){t._mseSourceOpened=!0,t._hasPendingLoad&&(t._hasPendingLoad=!1,t.load())})),this._msectl.on(Te.ERROR,(function(e){t._emitter.emit(W.ERROR,De.MEDIA_ERROR,Pe.MEDIA_MSE_ERROR,e)})),this._msectl.attachMediaElement(e),null!=this._pendingSeekTime)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(n){}}},{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 e=this;if(!this._mediaElement)throw new g("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new g("FlvPlayer.load() has been called, please call unload() first!");this._hasPendingLoad||(this._config.deferLoadAfterSourceOpen&&!1===this._mseSourceOpened?this._hasPendingLoad=!0:(this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new Be(this._mediaDataSource,this._config),this._transmuxer.on(xe.INIT_SEGMENT,(function(t,n){e._msectl.appendInitSegment(n)})),this._transmuxer.on(xe.MEDIA_SEGMENT,(function(t,n){if(e._msectl.appendMediaSegment(n),e._config.lazyLoad&&!e._config.isLive){var r=e._mediaElement.currentTime;n.info.endDts>=1e3*(r+e._config.lazyLoadMaxDuration)&&null==e._progressChecker&&(u.v(e.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),e._suspendTransmuxer())}})),this._transmuxer.on(xe.LOADING_COMPLETE,(function(){e._msectl.endOfStream(),e._emitter.emit(W.LOADING_COMPLETE)})),this._transmuxer.on(xe.RECOVERED_EARLY_EOF,(function(){e._emitter.emit(W.RECOVERED_EARLY_EOF)})),this._transmuxer.on(xe.IO_ERROR,(function(t,n){e._emitter.emit(W.ERROR,De.NETWORK_ERROR,t,n)})),this._transmuxer.on(xe.DEMUX_ERROR,(function(t,n){e._emitter.emit(W.ERROR,De.MEDIA_ERROR,t,{code:-1,msg:n})})),this._transmuxer.on(xe.MEDIA_INFO,(function(t){e._mediaInfo=t,e._emitter.emit(W.MEDIA_INFO,Object.assign({},t))})),this._transmuxer.on(xe.METADATA_ARRIVED,(function(t){e._emitter.emit(W.METADATA_ARRIVED,t)})),this._transmuxer.on(xe.SCRIPTDATA_ARRIVED,(function(t){e._emitter.emit(W.SCRIPTDATA_ARRIVED,t)})),this._transmuxer.on(xe.STATISTICS_INFO,(function(t){e._statisticsInfo=e._fillStatisticsInfo(t),e._emitter.emit(W.STATISTICS_INFO,Object.assign({},e._statisticsInfo))})),this._transmuxer.on(xe.RECOMMEND_SEEKPOINT,(function(t){e._mediaElement&&!e._config.accurateSeek&&(e._requestSetTime=!0,e._mediaElement.currentTime=t/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(e){this._mediaElement.volume=e}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(e){this._mediaElement.muted=e}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(e){this._mediaElement?this._internalSeek(e):this._pendingSeekTime=e}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return null==this._statisticsInfo&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}},{key:"_fillStatisticsInfo",value:function(e){if(e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return e;var t=!0,n=0,r=0;if(this._mediaElement.getVideoPlaybackQuality){var i=this._mediaElement.getVideoPlaybackQuality();n=i.totalVideoFrames,r=i.droppedVideoFrames}else void 0!=this._mediaElement.webkitDecodedFrameCount?(n=this._mediaElement.webkitDecodedFrameCount,r=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=r),e}},{key:"_onmseUpdateEnd",value:function(){if(this._config.lazyLoad&&!this._config.isLive){for(var e=this._mediaElement.buffered,t=this._mediaElement.currentTime,n=0,r=0;r<e.length;r++){var i=e.start(r),o=e.end(r);if(i<=t&&t<o){i,n=o;break}}n>=t+this._config.lazyLoadMaxDuration&&null==this._progressChecker&&(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"),null==this._progressChecker&&this._suspendTransmuxer()}},{key:"_suspendTransmuxer",value:function(){this._transmuxer&&(this._transmuxer.pause(),null==this._progressChecker&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}},{key:"_checkProgressAndResume",value:function(){for(var e=this._mediaElement.currentTime,t=this._mediaElement.buffered,n=!1,r=0;r<t.length;r++){var i=t.start(r),o=t.end(r);if(e>=i&&e<o){e>=o-this._config.lazyLoadRecoverDuration&&(n=!0);break}}n&&(window.clearInterval(this._progressChecker),this._progressChecker=null,n&&(u.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(e){for(var t=this._mediaElement.buffered,n=0;n<t.length;n++){var r=t.start(n),i=t.end(n);if(e>=r&&e<i)return!0}return!1}},{key:"_internalSeek",value:function(e){var t=this._isTimepointBuffered(e),n=!1,r=0;if(e<1&&this._mediaElement.buffered.length>0){var i=this._mediaElement.buffered.start(0);(i<1&&e<i||k.safari)&&(n=!0,r=k.safari?.1:i)}if(n)this._requestSetTime=!0,this._mediaElement.currentTime=r;else if(t){if(this._alwaysSeekKeyframe){var o=this._msectl.getNearestKeyframe(Math.floor(1e3*e));this._requestSetTime=!0,this._mediaElement.currentTime=null!=o?o.dts/1e3:e}else this._requestSetTime=!0,this._mediaElement.currentTime=e;null!=this._progressChecker&&this._checkProgressAndResume()}else null!=this._progressChecker&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(e),this._transmuxer.seek(Math.floor(1e3*e)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var e=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(e)||(null!=this._progressChecker&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(e),this._transmuxer.seek(Math.floor(1e3*e)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(e){var t=this._mediaElement;if(e||!this._receivedCanPlay||t.readyState<2){var n=t.buffered;n.length>0&&t.currentTime<n.start(0)&&(u.w(this.TAG,"Playback seems stuck at ".concat(t.currentTime,", seek to ").concat(n.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=n.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(e){null!=this._pendingSeekTime&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(e){var t=this._mediaElement.currentTime,n=this._mediaElement.buffered;if(this._requestSetTime)this._requestSetTime=!1;else{if(t<1&&n.length>0){var r=n.start(0);if(r<1&&t<r||k.safari)return this._requestSetTime=!0,void(this._mediaElement.currentTime=k.safari?.1:r)}if(this._isTimepointBuffered(t)){if(this._alwaysSeekKeyframe){var i=this._msectl.getNearestKeyframe(Math.floor(1e3*t));null!=i&&(this._requestSetTime=!0,this._mediaElement.currentTime=i.dts/1e3)}null!=this._progressChecker&&this._checkProgressAndResume()}else this._seekpointRecord={seekPoint:t,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}}},{key:"_onvCanPlay",value:function(e){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(e){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(e){this._checkAndResumeStuckPlayback()}}]),e}(),je=Ne,Fe=function(){function e(t,n){if(Object(r["a"])(this,e),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new l.a,this._config=Q(),"object"===typeof n&&Object.assign(this._config,n),"flv"===t.type.toLowerCase())throw new m("NativePlayer does't support flv MediaDataSource input!");if(t.hasOwnProperty("segments"))throw new m("NativePlayer(".concat(t.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=t,this._mediaElement=null}return Object(i["a"])(e,[{key:"destroy",value:function(){this._mediaElement&&(this.unload(),this.detachMediaElement()),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(e,t){var n=this;e===W.MEDIA_INFO?null!=this._mediaElement&&0!==this._mediaElement.readyState&&Promise.resolve().then((function(){n._emitter.emit(W.MEDIA_INFO,n.mediaInfo)})):e===W.STATISTICS_INFO&&null!=this._mediaElement&&0!==this._mediaElement.readyState&&Promise.resolve().then((function(){n._emitter.emit(W.STATISTICS_INFO,n.statisticsInfo)})),this._emitter.addListener(e,t)}},{key:"off",value:function(e,t){this._emitter.removeListener(e,t)}},{key:"attachMediaElement",value:function(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),null!=this._pendingSeekTime)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),null!=this._statisticsReporter&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new g("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")),null!=this._statisticsReporter&&(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(e){this._mediaElement.volume=e}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(e){this._mediaElement.muted=e}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(e){this._mediaElement?this._mediaElement.currentTime=e:this._pendingSeekTime=e}},{key:"mediaInfo",get:function(){var e=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",t={mimeType:e+this._mediaDataSource.type};return this._mediaElement&&(t.duration=Math.floor(1e3*this._mediaElement.duration),this._mediaElement instanceof HTMLVideoElement&&(t.width=this._mediaElement.videoWidth,t.height=this._mediaElement.videoHeight)),t}},{key:"statisticsInfo",get:function(){var e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return e;var t=!0,n=0,r=0;if(this._mediaElement.getVideoPlaybackQuality){var i=this._mediaElement.getVideoPlaybackQuality();n=i.totalVideoFrames,r=i.droppedVideoFrames}else void 0!=this._mediaElement.webkitDecodedFrameCount?(n=this._mediaElement.webkitDecodedFrameCount,r=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=r),e}},{key:"_onvLoadedMetadata",value:function(e){null!=this._pendingSeekTime&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(W.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(W.STATISTICS_INFO,this.statisticsInfo)}}]),e}(),Re=Fe;function Ue(e,t){var n=e;if(null==n||"object"!==typeof n)throw new m("MediaDataSource must be an javascript object!");if(!n.hasOwnProperty("type"))throw new m("MediaDataSource must has type field to indicate video file type!");switch(n.type){case"flv":return new je(n,t);default:return new Re(n,t)}}function He(){return z.supportMSEH264Playback()}function Qe(){return z.getFeatureList()}a.install();var Ke={};Ke.createPlayer=Ue,Ke.isSupported=He,Ke.getFeatureList=Qe,Ke.BaseLoader=_,Ke.LoaderStatus=y,Ke.LoaderErrors=b,Ke.Events=W,Ke.ErrorTypes=De,Ke.ErrorDetails=Pe,Ke.FlvPlayer=je,Ke.NativePlayer=Re,Ke.LoggingControl=X,Object.defineProperty(Ke,"version",{enumerable:!0,get:function(){return"__VERSION__"}});t["a"]=Ke},GVMX:function(e,t,n){var r=n("JEkh"),i=r.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"}});e.exports=i},GdRQ:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isMac=y,t.isWindows=b,t.isIOS=_,t.isSafari=w,t.isIE=x,t.isEdge=C,t.isFirefox=S,t.hasScrollbarGutter=t.supportsImageMetadata=t.supportsCursorURIs=t.dragThreshold=t.isTouchDevice=void 0;var i=a(n("Lo0S"));function o(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n["default"]=e,t&&t.set(e,n),n}var s="ontouchstart"in document.documentElement||void 0!==document.ontouchstart||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;t.isTouchDevice=s,window.addEventListener("touchstart",(function e(){t.isTouchDevice=s=!0,window.removeEventListener("touchstart",e,!1)}),!1);var l=10*(window.devicePixelRatio||1);t.dragThreshold=l;var c=!1;try{var u=document.createElement("canvas");u.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',0===u.style.cursor.indexOf("url")?(i.Info("Data URI scheme cursor supported"),c=!0):i.Warn("Data URI scheme cursor not supported")}catch(k){i.Error("Data URI scheme cursor test exception: "+k)}var d=c;t.supportsCursorURIs=d;var h=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),h=!0}catch(E){}var f=h;t.supportsImageMetadata=f;var p=!0;try{var A=document.createElement("div");A.style.visibility="hidden",A.style.overflow="scroll",document.body.appendChild(A);var g=document.createElement("div");A.appendChild(g);var m=A.offsetWidth-g.offsetWidth;A.parentNode.removeChild(A),p=0!=m}catch(k){i.Error("Scrollbar test exception: "+k)}var v=p;function y(){return navigator&&!!/mac/i.exec(navigator.platform)}function b(){return navigator&&!!/win/i.exec(navigator.platform)}function _(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function w(){return navigator&&-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")}function x(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function C(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function S(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}t.hasScrollbarGutter=v},GeKi:function(e,t,n){var r=n("bYtY"),i=n("6Ic6"),o=n("IwbS"),a=n("y+Vt"),s=n("sK/D"),l=s.createClipPath,c=["itemStyle"],u=["emphasis","itemStyle"],d=["color","color0","borderColor","borderColor0"],h=i.extend({type:"candlestick",render:function(e,t,n){this.group.removeClipPath(),this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,r){this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e){var t=e.getData(),n=this._data,r=this.group,i=t.getLayout("isSimpleBox"),a=e.get("clip",!0),s=e.coordinateSystem,l=s.getArea&&s.getArea();this._data||r.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var s,c=t.getItemLayout(n);if(a&&A(l,c))return;s=p(c,n,!0),o.initProps(s,{shape:{points:c.ends}},e,n),g(s,t,n,i),r.add(s),t.setItemGraphicEl(n,s)}})).update((function(s,c){var u=n.getItemGraphicEl(c);if(t.hasValue(s)){var d=t.getItemLayout(s);a&&A(l,d)?r.remove(u):(u?o.updateProps(u,{shape:{points:d.ends}},e,s):u=p(d,s),g(u,t,s,i),r.add(u),t.setItemGraphicEl(s,u))}else r.remove(u)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=t},_renderLarge:function(e){this._clear(),y(e,this.group);var t=e.get("clip",!0)?l(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderNormal:function(e,t){var n,r=t.getData(),i=r.getLayout("isSimpleBox");while(null!=(n=e.next())){var o,a=r.getItemLayout(n);o=p(a,n),g(o,r,n,i),o.incremental=!0,this.group.add(o)}},_incrementalRenderLarge:function(e,t){y(t,this.group,!0)},remove:function(e){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:r.noop}),f=a.extend({type:"normalCandlestickBox",shape:{},buildPath:function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))}});function p(e,t,n){var r=e.ends;return new f({shape:{points:n?m(r,e):r},z2:100})}function A(e,t){for(var n=!0,r=0;r<t.ends.length;r++)if(e.contain(t.ends[r][0],t.ends[r][1])){n=!1;break}return n}function g(e,t,n,r){var i=t.getItemModel(n),a=i.getModel(c),s=t.getItemVisual(n,"color"),l=t.getItemVisual(n,"borderColor")||s,h=a.getItemStyle(d);e.useStyle(h),e.style.strokeNoScale=!0,e.style.fill=s,e.style.stroke=l,e.__simpleBox=r;var f=i.getModel(u).getItemStyle();o.setHoverStyle(e,f)}function m(e,t){return r.map(e,(function(e){return e=e.slice(),e[1]=t.initBaseline,e}))}var v=a.extend({type:"largeCandlestickBox",shape:{},buildPath:function(e,t){for(var n=t.points,r=0;r<n.length;)if(this.__sign===n[r++]){var i=n[r++];e.moveTo(i,n[r++]),e.lineTo(i,n[r++])}else r+=3}});function y(e,t,n){var r=e.getData(),i=r.getLayout("largePoints"),o=new v({shape:{points:i},__sign:1});t.add(o);var a=new v({shape:{points:i},__sign:-1});t.add(a),b(1,o,e,r),b(-1,a,e,r),n&&(o.incremental=!0,a.incremental=!0)}function b(e,t,n,r){var i=e>0?"P":"N",o=r.getVisual("borderColor"+i)||r.getVisual("color"+i),a=n.getModel(c).getItemStyle(d);t.useStyle(a),t.style.fill=null,t.style.stroke=o}var _=h;e.exports=_},Gev7:function(e,t,n){var r=n("bYtY"),i=n("K2GJ"),o=n("1bdT"),a=n("ni6a");function s(e){for(var t in e=e||{},o.call(this,e),e)e.hasOwnProperty(t)&&"style"!==t&&(this[t]=e[t]);this.style=new i(e.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,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(e){},afterBrush:function(e){},brush:function(e,t){},getBoundingRect:function(){},contain:function(e,t){return this.rectContain(e,t)},traverse:function(e,t){e.call(t,this)},rectContain:function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return r.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(e){return this.animate("style",e)},attrKV:function(e,t){"style"!==e?o.prototype.attrKV.call(this,e,t):this.style.set(t)},setStyle:function(e,t){return this.style.set(e,t),this.dirty(!1),this},useStyle:function(e){return this.style=new i(e,this),this.dirty(!1),this},calculateTextPosition:null},r.inherits(s,o),r.mixin(s,a);var l=s;e.exports=l},GrKN:function(e,t,n){var r=n("e8zy"),i=n("vGzR");function o(e,t){var n=new i(t);return n.process(e)}for(var a in t=e.exports=o,t.FilterCSS=i,r)t[a]=r[a];"undefined"!==typeof window&&(window.filterCSS=e.exports)},GrNh:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("6Ic6");function a(e,t,n,r){var i=t.getData(),o=this.dataIndex,a=i.getName(o),l=t.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:e,name:a,seriesId:t.id}),i.each((function(e){s(i.getItemGraphicEl(e),i.getItemLayout(e),t.isSelected(i.getName(e)),l,n)}))}function s(e,t,n,r,i){var o=(t.startAngle+t.endAngle)/2,a=Math.cos(o),s=Math.sin(o),l=n?r:0,c=[a*l,s*l];i?e.animate().when(200,{position:c}).start("bounceOut"):e.attr("position",c)}function l(e,t){i.Group.call(this);var n=new i.Sector({z2:2}),r=new i.Polyline,o=new i.Text;this.add(n),this.add(r),this.add(o),this.updateData(e,t,!0)}var c=l.prototype;c.updateData=function(e,t,n){var o=this.childAt(0),a=this.childAt(1),l=this.childAt(2),c=e.hostModel,u=e.getItemModel(t),d=e.getItemLayout(t),h=r.extend({},d);h.label=null;var f=c.getShallow("animationTypeUpdate");if(n){o.setShape(h);var p=c.getShallow("animationType");"scale"===p?(o.shape.r=d.r0,i.initProps(o,{shape:{r:d.r}},c,t)):(o.shape.endAngle=d.startAngle,i.updateProps(o,{shape:{endAngle:d.endAngle}},c,t))}else"expansion"===f?o.setShape(h):i.updateProps(o,{shape:h},c,t);var A=e.getItemVisual(t,"color");o.useStyle(r.defaults({lineJoin:"bevel",fill:A},u.getModel("itemStyle").getItemStyle())),o.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var g=u.getShallow("cursor");g&&o.attr("cursor",g),s(this,e.getItemLayout(t),c.isSelected(e.getName(t)),c.get("selectedOffset"),c.get("animation"));var m=!n&&"transition"===f;this._updateLabel(e,t,m),this.highDownOnUpdate=c.get("silent")?null:function(e,t){var n=c.isAnimationEnabled()&&u.get("hoverAnimation");"emphasis"===t?(a.ignore=a.hoverIgnore,l.ignore=l.hoverIgnore,n&&(o.stopAnimation(!0),o.animateTo({shape:{r:d.r+c.get("hoverOffset")}},300,"elasticOut"))):(a.ignore=a.normalIgnore,l.ignore=l.normalIgnore,n&&(o.stopAnimation(!0),o.animateTo({shape:{r:d.r}},300,"elasticOut")))},i.setHoverStyle(this)},c._updateLabel=function(e,t,n){var r=this.childAt(1),o=this.childAt(2),a=e.hostModel,s=e.getItemModel(t),l=e.getItemLayout(t),c=l.label,u=e.getItemVisual(t,"color");if(!c||isNaN(c.x)||isNaN(c.y))o.ignore=o.normalIgnore=o.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;else{var d={points:c.linePoints||[[c.x,c.y],[c.x,c.y],[c.x,c.y]]},h={x:c.x,y:c.y};n?(i.updateProps(r,{shape:d},a,t),i.updateProps(o,{style:h},a,t)):(r.attr({shape:d}),o.attr({style:h})),o.attr({rotation:c.rotation,origin:[c.x,c.y],z2:10});var f=s.getModel("label"),p=s.getModel("emphasis.label"),A=s.getModel("labelLine"),g=s.getModel("emphasis.labelLine");u=e.getItemVisual(t,"color");i.setLabelStyle(o.style,o.hoverStyle={},f,p,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:c.text,autoColor:u,useInsideStyle:!!c.inside},{textAlign:c.textAlign,textVerticalAlign:c.verticalAlign,opacity:e.getItemVisual(t,"opacity")}),o.ignore=o.normalIgnore=!f.get("show"),o.hoverIgnore=!p.get("show"),r.ignore=r.normalIgnore=!A.get("show"),r.hoverIgnore=!g.get("show"),r.setStyle({stroke:u,opacity:e.getItemVisual(t,"opacity")}),r.setStyle(A.getModel("lineStyle").getLineStyle()),r.hoverStyle=g.getModel("lineStyle").getLineStyle();var m=A.get("smooth");m&&!0===m&&(m=.4),r.setShape({smooth:m})}},r.inherits(l,i.Group);var u=o.extend({type:"pie",init:function(){var e=new i.Group;this._sectorGroup=e},render:function(e,t,n,i){if(!i||i.from!==this.uid){var o=e.getData(),s=this._data,c=this.group,u=t.get("animation"),d=!s,h=e.get("animationType"),f=e.get("animationTypeUpdate"),p=r.curry(a,this.uid,e,u,n),A=e.get("selectedMode");if(o.diff(s).add((function(e){var t=new l(o,e);d&&"scale"!==h&&t.eachChild((function(e){e.stopAnimation(!0)})),A&&t.on("click",p),o.setItemGraphicEl(e,t),c.add(t)})).update((function(e,t){var n=s.getItemGraphicEl(t);d||"transition"===f||n.eachChild((function(e){e.stopAnimation(!0)})),n.updateData(o,e),n.off("click"),A&&n.on("click",p),c.add(n),o.setItemGraphicEl(e,n)})).remove((function(e){var t=s.getItemGraphicEl(e);c.remove(t)})).execute(),u&&o.count()>0&&(d?"scale"!==h:"transition"!==f)){for(var g=o.getItemLayout(0),m=1;isNaN(g.startAngle)&&m<o.count();++m)g=o.getItemLayout(m);var v=Math.max(n.getWidth(),n.getHeight())/2,y=r.bind(c.removeClipPath,c);c.setClipPath(this._createClipPath(g.cx,g.cy,v,g.startAngle,g.clockwise,y,e,d))}else c.removeClipPath();this._data=o}},dispose:function(){},_createClipPath:function(e,t,n,r,o,a,s,l){var c=new i.Sector({shape:{cx:e,cy:t,r0:0,r:n,startAngle:r,endAngle:r,clockwise:o}}),u=l?i.initProps:i.updateProps;return u(c,{shape:{endAngle:r+(o?1:-1)*Math.PI*2}},s,a),c},containPoint:function(e,t){var n=t.getData(),r=n.getItemLayout(0);if(r){var i=e[0]-r.cx,o=e[1]-r.cy,a=Math.sqrt(i*i+o*o);return a<=r.r&&a>=r.r0}}}),d=u;e.exports=d},Gytx:function(e,t){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var u=e[c],d=t[c];if(i=n?n.call(r,u,d,c):void 0,!1===i||void 0===i&&u!==d)return!1}return!0}},GzdX:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("q1tI"),a=n.n(o),s=n("rePB"),l=n("1OyB"),c=n("vuIU"),u=n("Ji7U"),d=n("md7G"),h=n("foSv"),f=n("m+aA"),p=n("TSYQ"),A=n.n(p),g=n("4IlW");function m(e){var t=e.pageXOffset,n="scrollLeft";if("number"!==typeof t){var r=e.document;t=r.documentElement[n],"number"!==typeof t&&(t=r.body[n])}return t}function v(e){var t,n,r=e.ownerDocument,i=r.body,o=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,t-=o.clientLeft||i.clientLeft||0,n-=o.clientTop||i.clientTop||0,{left:t,top:n}}function y(e){var t=v(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=m(r),t.left}function b(e){var t=_();return function(){var n,r=Object(h["a"])(e);if(t){var i=Object(h["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(d["a"])(this,n)}}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var w=function(e){Object(u["a"])(n,e);var t=b(n);function n(){var e;return Object(l["a"])(this,n),e=t.apply(this,arguments),e.onHover=function(t){var n=e.props,r=n.onHover,i=n.index;r(t,i)},e.onClick=function(t){var n=e.props,r=n.onClick,i=n.index;r(t,i)},e.onKeyDown=function(t){var n=e.props,r=n.onClick,i=n.index;13===t.keyCode&&r(t,i)},e}return Object(c["a"])(n,[{key:"getClassName",value:function(){var e=this.props,t=e.prefixCls,n=e.index,r=e.value,i=e.allowHalf,o=e.focused,a=n+1,s=t;return 0===r&&0===n&&o?s+=" ".concat(t,"-focused"):i&&r+.5>=a&&r<a?(s+=" ".concat(t,"-half ").concat(t,"-active"),o&&(s+=" ".concat(t,"-focused"))):(s+=" ".concat(t,a<=r?"-full":"-zero"),a===r&&o&&(s+=" ".concat(t,"-focused"))),s}},{key:"render",value:function(){var e=this.onHover,t=this.onClick,n=this.onKeyDown,r=this.props,i=r.disabled,o=r.prefixCls,s=r.character,l=r.characterRender,c=r.index,u=r.count,d=r.value,h="function"===typeof s?s(this.props):s,f=a.a.createElement("li",{className:this.getClassName()},a.a.createElement("div",{onClick:i?null:t,onKeyDown:i?null:n,onMouseMove:i?null:e,role:"radio","aria-checked":d>c?"true":"false","aria-posinset":c+1,"aria-setsize":u,tabIndex:i?-1:0},a.a.createElement("div",{className:"".concat(o,"-first")},h),a.a.createElement("div",{className:"".concat(o,"-second")},h)));return l&&(f=l(f,this.props)),f}}]),n}(a.a.Component);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e){var t=k();return function(){var n,r=Object(h["a"])(e);if(t){var i=Object(h["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(d["a"])(this,n)}}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function E(){}var O=function(e){Object(u["a"])(n,e);var t=S(n);function n(e){var r;Object(l["a"])(this,n),r=t.call(this,e),r.onHover=function(e,t){var n=r.props.onHoverChange,i=r.getStarValue(t,e.pageX),o=r.state.cleanedValue;i!==o&&r.setState({hoverValue:i,cleanedValue:null}),n(i)},r.onMouseLeave=function(){var e=r.props.onHoverChange;r.setState({hoverValue:void 0,cleanedValue:null}),e(void 0)},r.onClick=function(e,t){var n=r.props.allowClear,i=r.state.value,o=r.getStarValue(t,e.pageX),a=!1;n&&(a=o===i),r.onMouseLeave(),r.changeValue(a?0:o),r.setState({cleanedValue:a?o:null})},r.onFocus=function(){var e=r.props.onFocus;r.setState({focused:!0}),e&&e()},r.onBlur=function(){var e=r.props.onBlur;r.setState({focused:!1}),e&&e()},r.onKeyDown=function(e){var t=e.keyCode,n=r.props,i=n.count,o=n.allowHalf,a=n.onKeyDown,s=n.direction,l="rtl"===s,c=r.state.value;t===g["a"].RIGHT&&c<i&&!l?(c+=o?.5:1,r.changeValue(c),e.preventDefault()):t===g["a"].LEFT&&c>0&&!l||t===g["a"].RIGHT&&c>0&&l?(c-=o?.5:1,r.changeValue(c),e.preventDefault()):t===g["a"].LEFT&&c<i&&l&&(c+=o?.5:1,r.changeValue(c),e.preventDefault()),a&&a(e)},r.saveRef=function(e){return function(t){r.stars[e]=t}},r.saveRate=function(e){r.rate=e};var i=e.value;return void 0===i&&(i=e.defaultValue),r.stars={},r.state={value:i,focused:!1,cleanedValue:null},r}return Object(c["a"])(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"getStarDOM",value:function(e){return Object(f["a"])(this.stars[e])}},{key:"getStarValue",value:function(e,t){var n=this.props,r=n.allowHalf,i=n.direction,o="rtl"===i,a=e+1;if(r){var s=this.getStarDOM(e),l=y(s),c=s.clientWidth;(o&&t-l>c/2||!o&&t-l<c/2)&&(a-=.5)}return a}},{key:"focus",value:function(){var e=this.props.disabled;e||this.rate.focus()}},{key:"blur",value:function(){var e=this.props.disabled;e||this.rate.blur()}},{key:"changeValue",value:function(e){var t=this.props.onChange;"value"in this.props||this.setState({value:e}),t(e)}},{key:"render",value:function(){for(var e=this.props,t=e.count,n=e.allowHalf,r=e.style,i=e.prefixCls,o=e.disabled,l=e.className,c=e.character,u=e.characterRender,d=e.tabIndex,h=e.direction,f=this.state,p=f.value,g=f.hoverValue,m=f.focused,v=[],y=o?"".concat(i,"-disabled"):"",b=0;b<t;b+=1)v.push(a.a.createElement(w,{ref:this.saveRef(b),index:b,count:t,disabled:o,prefixCls:"".concat(i,"-star"),allowHalf:n,value:void 0===g?p:g,onClick:this.onClick,onHover:this.onHover,key:b,character:c,characterRender:u,focused:m}));var _=A()(i,y,l,Object(s["a"])({},"".concat(i,"-rtl"),"rtl"===h));return a.a.createElement("ul",{className:_,style:r,onMouseLeave:o?null:this.onMouseLeave,tabIndex:o?-1:d,onFocus:o?null:this.onFocus,onBlur:o?null:this.onBlur,onKeyDown:o?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},v)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"value"in e&&void 0!==e.value?C(C({},t),{},{value:e.value}):t}}]),n}(a.a.Component);O.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:E,character:"\u2605",onHoverChange:E,tabIndex:0,direction:"ltr"};var B=O,M=B,T=n("Lerx"),I=n.n(T),L=n("3S7+"),D=n("H84U"),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},N=o["forwardRef"]((function(e,t){var n=e.prefixCls,r=e.tooltips,a=P(e,["prefixCls","tooltips"]),s=function(e,t){var n=t.index;return r?o["createElement"](L["a"],{title:r[n]},e):e},l=o["useContext"](D["b"]),c=l.getPrefixCls,u=l.direction,d=c("rate",n);return o["createElement"](M,i()({ref:t,characterRender:s},a,{prefixCls:d,direction:u}))}));N.displayName="Rate",N.defaultProps={character:o["createElement"](I.a,null)};t["a"]=N},H6uX:function(e,t){var n=Array.prototype.slice,r=function(e){this._$handlers={},this._$eventProcessor=e};function i(e,t){var n=e._$eventProcessor;return null!=t&&n&&n.normalizeQuery&&(t=n.normalizeQuery(t)),t}function o(e,t,n,r,o,a){var s=e._$handlers;if("function"===typeof n&&(o=r,r=n,n=null),!r||!t)return e;n=i(e,n),s[t]||(s[t]=[]);for(var l=0;l<s[t].length;l++)if(s[t][l].h===r)return e;var c={h:r,one:a,query:n,ctx:o||e,callAtLast:r.zrEventfulCallAtLast},u=s[t].length-1,d=s[t][u];return d&&d.callAtLast?s[t].splice(u,0,c):s[t].push(c),e}r.prototype={constructor:r,one:function(e,t,n,r){return o(this,e,t,n,r,!0)},on:function(e,t,n,r){return o(this,e,t,n,r,!1)},isSilent:function(e){var t=this._$handlers;return!t[e]||!t[e].length},off:function(e,t){var n=this._$handlers;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var r=[],i=0,o=n[e].length;i<o;i++)n[e][i].h!==t&&r.push(n[e][i]);n[e]=r}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];return this},trigger:function(e){var t=this._$handlers[e],r=this._$eventProcessor;if(t){var i=arguments,o=i.length;o>3&&(i=n.call(i,1));for(var a=t.length,s=0;s<a;){var l=t[s];if(r&&r.filter&&null!=l.query&&!r.filter(e,l.query))s++;else{switch(o){case 1:l.h.call(l.ctx);break;case 2:l.h.call(l.ctx,i[1]);break;case 3:l.h.call(l.ctx,i[1],i[2]);break;default:l.h.apply(l.ctx,i);break}l.one?(t.splice(s,1),a--):s++}}}return r&&r.afterTrigger&&r.afterTrigger(e),this},triggerWithContext:function(e){var t=this._$handlers[e],r=this._$eventProcessor;if(t){var i=arguments,o=i.length;o>4&&(i=n.call(i,1,i.length-1));for(var a=i[i.length-1],s=t.length,l=0;l<s;){var c=t[l];if(r&&r.filter&&null!=c.query&&!r.filter(e,c.query))l++;else{switch(o){case 1:c.h.call(a);break;case 2:c.h.call(a,i[1]);break;case 3:c.h.call(a,i[1],i[2]);break;default:c.h.apply(a,i);break}c.one?(t.splice(l,1),s--):l++}}}return r&&r.afterTrigger&&r.afterTrigger(e),this}};var a=r;e.exports=a},H8j4:function(e,t,n){var r=n("QkVE");function i(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}e.exports=i},HBhm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},HDyB:function(e,t,n){var r=n("nmnc"),i=n("JHRd"),o=n("ljhN"),a=n("or5M"),s=n("7fqy"),l=n("rEGp"),c=1,u=2,d="[object Boolean]",h="[object Date]",f="[object Error]",p="[object Map]",A="[object Number]",g="[object RegExp]",m="[object Set]",v="[object String]",y="[object Symbol]",b="[object ArrayBuffer]",_="[object DataView]",w=r?r.prototype:void 0,x=w?w.valueOf:void 0;function C(e,t,n,r,w,C,S){switch(n){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case b:return!(e.byteLength!=t.byteLength||!C(new i(e),new i(t)));case d:case h:case A:return o(+e,+t);case f:return e.name==t.name&&e.message==t.message;case g:case v:return e==t+"";case p:var k=s;case m:var E=r&c;if(k||(k=l),e.size!=t.size&&!E)return!1;var O=S.get(e);if(O)return O==t;r|=u,S.set(e,t);var B=a(k(e),k(t),r,w,C,S);return S["delete"](e),B;case y:if(x)return x.call(e)==x.call(t)}return!1}e.exports=C},"HF/U":function(e,t,n){var r=n("QBsz");function i(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),o(n)}}function o(e){e.eachEdge((function(e){var t=e.getModel().get("lineStyle.curveness")||0,n=r.clone(e.node1.getLayout()),i=r.clone(e.node2.getLayout()),o=[n,i];+t&&o.push([(n[0]+i[0])/2-(n[1]-i[1])*t,(n[1]+i[1])/2-(i[0]-n[0])*t]),e.setLayout(o)}))}t.simpleLayout=i,t.simpleLayoutEdge=o},"HM/N":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("/SeX"),a=n("OELB"),s=a.parsePercent,l=n("aX7z"),c=l.createScaleByModel,u=l.niceScaleExtent,d=n("IDmD"),h=n("7hqr"),f=h.getStackedDimension;function p(e,t,n){var r=t.get("center"),o=n.getWidth(),a=n.getHeight();e.cx=s(r[0],o),e.cy=s(r[1],a);var l=e.getRadiusAxis(),c=Math.min(o,a)/2,u=t.get("radius");null==u?u=[0,"100%"]:i.isArray(u)||(u=[0,u]),u=[s(u[0],c),s(u[1],c)],l.inverse?l.setExtent(u[1],u[0]):l.setExtent(u[0],u[1])}function A(e,t){var n=this,r=n.getAngleAxis(),o=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();i.each(t.mapDimension("radius",!0),(function(e){o.scale.unionExtentFromData(t,f(t,e))})),i.each(t.mapDimension("angle",!0),(function(e){r.scale.unionExtentFromData(t,f(t,e))}))}})),u(r.scale,r.model),u(o.scale,o.model),"category"===r.type&&!r.onBand){var a=r.getExtent(),s=360/r.scale.count();r.inverse?a[1]+=s:a[1]-=s,r.setExtent(a[0],a[1])}}function g(e,t){if(e.type=t.get("type"),e.scale=c(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}n("ePAk");var m={dimensions:o.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,r){var i=new o(r);i.update=A;var a=i.getRadiusAxis(),s=i.getAngleAxis(),l=e.findAxisModel("radiusAxis"),c=e.findAxisModel("angleAxis");g(a,l),g(s,c),p(i,e,t),n.push(i),e.coordinateSystem=i,i.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}};d.register("polar",m)},HOxn:function(e,t,n){var r=n("Cwc5"),i=n("Kz5y"),o=r(i,"Promise");e.exports=o},HQEm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("Sj0X"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},HjIi:function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=i.parsePercent,a=n("7hqr"),s=a.isDimensionStacked;function l(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function c(e,t){return t.dim+e.model.componentIndex}function u(e,t,n){var i={},o=d(r.filter(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),a=c(n,r),u=l(e),d=o[a][u],h=d.offset,f=d.width,p=n.getOtherAxis(r),A=e.coordinateSystem.cx,g=e.coordinateSystem.cy,m=e.get("barMinHeight")||0,v=e.get("barMinAngle")||0;i[u]=i[u]||[];for(var y=t.mapDimension(p.dim),b=t.mapDimension(r.dim),_=s(t,y),w="radius"!==r.dim||!e.get("roundCap",!0),x=p.getExtent()[0],C=0,S=t.count();C<S;C++){var k,E,O,B,M=t.get(y,C),T=t.get(b,C),I=M>=0?"p":"n",L=x;if(_&&(i[u][T]||(i[u][T]={p:x,n:x}),L=i[u][T][I]),"radius"===p.dim){var D=p.dataToRadius(M)-x,P=r.dataToAngle(T);Math.abs(D)<m&&(D=(D<0?-1:1)*m),k=L,E=L+D,O=P-h,B=O-f,_&&(i[u][T][I]=E)}else{var N=p.dataToAngle(M,w)-x,j=r.dataToRadius(T);Math.abs(N)<v&&(N=(N<0?-1:1)*v),k=j+h,E=k+f,O=L,B=L+N,_&&(i[u][T][I]=B)}t.setItemLayout(C,{cx:A,cy:g,r0:k,r:E,startAngle:-O*Math.PI/180,endAngle:-B*Math.PI/180})}}}),this)}function d(e,t){var n={};r.each(e,(function(e,t){var r=e.getData(),i=e.coordinateSystem,a=i.getBaseAxis(),s=c(i,a),u=a.getExtent(),d="category"===a.type?a.getBandWidth():Math.abs(u[1]-u[0])/r.count(),h=n[s]||{bandWidth:d,remainedWidth:d,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=h.stacks;n[s]=h;var p=l(e);f[p]||h.autoWidthCount++,f[p]=f[p]||{width:0,maxWidth:0};var A=o(e.get("barWidth"),d),g=o(e.get("barMaxWidth"),d),m=e.get("barGap"),v=e.get("barCategoryGap");A&&!f[p].width&&(A=Math.min(h.remainedWidth,A),f[p].width=A,h.remainedWidth-=A),g&&(f[p].maxWidth=g),null!=m&&(h.gap=m),null!=v&&(h.categoryGap=v)}));var i={};return r.each(n,(function(e,t){i[t]={};var n=e.stacks,a=e.bandWidth,s=o(e.categoryGap,a),l=o(e.gap,1),c=e.remainedWidth,u=e.autoWidthCount,d=(c-s)/(u+(u-1)*l);d=Math.max(d,0),r.each(n,(function(e,t){var n=e.maxWidth;n&&n<d&&(n=Math.min(n,c),e.width&&(n=Math.min(n,e.width)),c-=n,e.width=n,u--)})),d=(c-s)/(u+(u-1)*l),d=Math.max(d,0);var h,f=0;r.each(n,(function(e,t){e.width||(e.width=d),h=e,f+=e.width*(1+l)})),h&&(f-=h.width*l);var p=-f/2;r.each(n,(function(e,n){i[t][n]=i[t][n]||{offset:p,width:e.width},p+=e.width*(1+l)}))})),i}var h=u;e.exports=h},HjOm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r={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"},i=r;t["default"]=i},Hvzi:function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},Hw7h:function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(e,t){var n=Math.cos,r=Math.sin,i=t.r,o=t.width,a=t.angle,s=t.x-n(a)*o*(o>=i/3?1:2),l=t.y-r(a)*o*(o>=i/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(a)*o,t.y+r(a)*o),e.lineTo(t.x+n(t.angle)*i,t.y+r(t.angle)*i),e.lineTo(t.x-n(a)*o,t.y-r(a)*o),e.lineTo(s,l)}});e.exports=i},Hxpc:function(e,t,n){var r=n("bYtY"),i=n("4NO4"),o=n("bLfw"),a=n("Qxkt"),s=n("cCMj"),l=n("7uqq"),c=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){o.prototype.init.apply(this,arguments),i.defaultEmphasis(e,"label",["show"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=r.reduce(e.regions||[],(function(e,n){return n.name&&e.set(n.name,new a(n,t)),e}),r.createHashMap()),this.updateSelectedMap(e.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(e){return this._optionModelMap.get(e)||new a(null,this,this.ecModel)},getFormattedLabel:function(e,t){var n=this.getRegionModel(e),r=n.get("label"+("normal"===t?".":t+".")+"formatter"),i={name:e};return"function"===typeof r?(i.status=t,r(i)):"string"===typeof r?r.replace("{a}",null!=e?e:""):void 0},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});r.mixin(c,s);var u=c;e.exports=u},"I+77":function(e,t,n){var r=n("ProS");n("h54F"),n("lwQL"),n("10cm");var i=n("Z1r0"),o=n("f5Yq"),a=n("KUOm"),s=n("3m61"),l=n("01d+"),c=n("rdor"),u=n("WGYa"),d=n("ewwo");r.registerProcessor(i),r.registerVisual(o("graph","circle",null)),r.registerVisual(a),r.registerVisual(s),r.registerLayout(l),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,c),r.registerLayout(u),r.registerCoordinateSystem("graphView",{create:d})},"I+Bx":function(e,t,n){var r=n("bYtY"),i=n("eIcI"),o=n("ieMj"),a=n("OELB"),s=n("aX7z"),l=s.getScaleExtent,c=s.niceScaleExtent,u=n("IDmD"),d=n("jCoz");function h(e,t,n){this._model=e,this.dimensions=[],this._indicatorAxes=r.map(e.getIndicatorModels(),(function(e,t){var n="indicator_"+t,r=new i(n,"log"===e.get("axisType")?new d:new o);return r.name=e.get("name"),r.model=e,e.axis=r,this.dimensions.push(n),r}),this),this.resize(e,n),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},h.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t],r=n.angle,i=this.cx+e*Math.cos(r),o=this.cy-e*Math.sin(r);return[i,o]},h.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=Math.sqrt(t*t+n*n);t/=r,n/=r;for(var i,o=Math.atan2(-n,t),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var c=this._indicatorAxes[l],u=Math.abs(o-c.angle);u<a&&(i=c,s=l,a=u)}return[s,+(i&&i.coordToData(r))]},h.prototype.resize=function(e,t){var n=e.get("center"),i=t.getWidth(),o=t.getHeight(),s=Math.min(i,o)/2;this.cx=a.parsePercent(n[0],i),this.cy=a.parsePercent(n[1],o),this.startAngle=e.get("startAngle")*Math.PI/180;var l=e.get("radius");"string"!==typeof l&&"number"!==typeof l||(l=[0,l]),this.r0=a.parsePercent(l[0],s),this.r=a.parsePercent(l[1],s),r.each(this._indicatorAxes,(function(e,t){e.setExtent(this.r0,this.r);var n=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),e.angle=n}),this)},h.prototype.update=function(e,t){var n=this._indicatorAxes,i=this._model;r.each(n,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeriesByType("radar",(function(t,o){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===i){var a=t.getData();r.each(n,(function(e){e.scale.unionExtentFromData(a,a.mapDimension(e.dim))}))}}),this);var o=i.get("splitNumber");function s(e){var t=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),n=e/t;return 2===n?n=5:n*=2,n*t}r.each(n,(function(e,t){var n=l(e.scale,e.model).extent;c(e.scale,e.model);var r=e.model,i=e.scale,u=r.getMin(),d=r.getMax(),h=i.getInterval();if(null!=u&&null!=d)i.setExtent(+u,+d),i.setInterval((d-u)/o);else if(null!=u){do{p=u+h*o,i.setExtent(+u,p),i.setInterval(h),h=s(h)}while(p<n[1]&&isFinite(p)&&isFinite(n[1]))}else if(null!=d){do{A=d-h*o,i.setExtent(A,+d),i.setInterval(h),h=s(h)}while(A>n[0]&&isFinite(A)&&isFinite(n[0]))}else{var f=i.getTicks().length-1;f>o&&(h=s(h));var p=Math.ceil(n[1]/h)*h,A=a.round(p-h*o);i.setExtent(A,p),i.setInterval(h)}}))},h.dimensions=[],h.create=function(e,t){var n=[];return e.eachComponent("radar",(function(r){var i=new h(r,e,t);n.push(i),r.coordinateSystem=i})),e.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("radarIndex")||0])})),n},u.register("radar",h);var f=h;e.exports=f},"I3/A":function(e,t,n){var r=n("bYtY"),i=n("YXkt"),o=n("c2i1"),a=n("Mdki"),s=n("sdST"),l=n("IDmD"),c=n("MwEJ");function u(e,t,n,u,d){for(var h=new o(u),f=0;f<e.length;f++)h.addNode(r.retrieve(e[f].id,e[f].name,f),f);var p=[],A=[],g=0;for(f=0;f<t.length;f++){var m=t[f],v=m.source,y=m.target;h.addEdge(v,y,g)&&(A.push(m),p.push(r.retrieve(m.id,v+" > "+y)),g++)}var b,_=n.get("coordinateSystem");if("cartesian2d"===_||"polar"===_)b=c(e,n);else{var w=l.get(_),x=w&&"view"!==w.type&&w.dimensions||[];r.indexOf(x,"value")<0&&x.concat(["value"]);var C=s(e,{coordDimensions:x});b=new i(C,n),b.initData(e)}var S=new i(["value"],n);return S.initData(A,p),d&&d(b,S),a({mainData:b,struct:h,structAttr:"graph",datas:{node:b,edge:S},datasAttr:{node:"data",edge:"edgeData"}}),h.update(),h}e.exports=u},I8Z2:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return A})),n.d(t,"c",(function(){return m}));var r=n("q1tI"),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=r["createContext"](null),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){return r["createElement"](o.Provider,{value:this.props.store},this.props.children)},t}(r["Component"]),s=n("Gytx"),l=n.n(s),c=n("2mql"),u=n.n(c),d=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},h.apply(this,arguments)};function f(e){return e.displayName||e.name||"Component"}var p=function(){return{}};function A(e,t){void 0===t&&(t={});var n=!!e,i=e||p;return function(a){var s=function(t){function s(e,n){var r=t.call(this,e,n)||this;return r.unsubscribe=null,r.handleChange=function(){if(r.unsubscribe){var e=i(r.store.getState(),r.props);r.setState({subscribed:e})}},r.store=r.context,r.state={subscribed:i(r.store.getState(),e),store:r.store,props:e},r}return d(s,t),s.getDerivedStateFromProps=function(t,n){return e&&2===e.length&&t!==n.props?{subscribed:i(n.store.getState(),t),props:t}:{props:t}},s.prototype.componentDidMount=function(){this.trySubscribe()},s.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},s.prototype.shouldComponentUpdate=function(e,t){return!l()(this.props,e)||!l()(this.state.subscribed,t.subscribed)},s.prototype.trySubscribe=function(){n&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},s.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},s.prototype.render=function(){var e=h(h(h({},this.props),this.state.subscribed),{store:this.store});return r["createElement"](a,h({},e,{ref:this.props.miniStoreForwardedRef}))},s.displayName="Connect("+f(a)+")",s.contextType=o,s}(r["Component"]);if(t.forwardRef){var c=r["forwardRef"]((function(e,t){return r["createElement"](s,h({},e,{miniStoreForwardedRef:t}))}));return u()(c,a)}return u()(s,a)}}var g=function(){return g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},g.apply(this,arguments)};function m(e){var t=e,n=[];function r(e){t=g(g({},t),e);for(var r=0;r<n.length;r++)n[r]()}function i(){return t}function o(e){return n.push(e),function(){var t=n.indexOf(e);n.splice(t,1)}}return{setState:r,getState:i,subscribe:o}}},"I9Y+":function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("4xFK")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="DoubleRightOutlined";var h=a.forwardRef(d);t.default=h},ICMv:function(e,t,n){var r=n("bYtY"),i={getMin:function(e){var t=this.option,n=e||null==t.rangeStart?t.min:t.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!==typeof n&&!r.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(e){var t=this.option,n=e||null==t.rangeEnd?t.max:t.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!==typeof n&&!r.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var e=this.option;return null==e.rangeStart&&null==e.rangeEnd&&!e.scale},getCoordSysModel:r.noop,setRange:function(e,t){this.option.rangeStart=e,this.option.rangeEnd=t},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};e.exports=i},IDmD:function(e,t,n){var r=n("bYtY"),i={};function o(){this._coordinateSystems=[]}o.prototype={constructor:o,create:function(e,t){var n=[];r.each(i,(function(r,i){var o=r.create(e,t);n=n.concat(o||[])})),this._coordinateSystems=n},update:function(e,t){r.each(this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},o.register=function(e,t){i[e]=t},o.get=function(e){return i[e]};var a=o;e.exports=a},IMiH:function(e,t,n){var r=n("Sj9i"),i=n("QBsz"),o=n("4mN7"),a=n("mFDi"),s=n("LPTA"),l=s.devicePixelRatio,c={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],d=[],h=[],f=[],p=Math.min,A=Math.max,g=Math.cos,m=Math.sin,v=Math.sqrt,y=Math.abs,b="undefined"!==typeof Float32Array,_=function(e){this._saveData=!e,this._saveData&&(this.data=[]),this._ctx=null};_.prototype={constructor:_,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(e,t,n){n=n||0,this._ux=y(n/l/e)||0,this._uy=y(n/l/t)||0},getContext:function(){return this._ctx},beginPath:function(e){return this._ctx=e,e&&e.beginPath(),e&&(this.dpr=e.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(e,t){return this.addData(c.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},lineTo:function(e,t){var n=y(e-this._xi)>this._ux||y(t-this._yi)>this._uy||this._len<5;return this.addData(c.L,e,t),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),n&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,n,r,i,o){return this.addData(c.C,e,t,n,r,i,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,n,r,i,o):this._ctx.bezierCurveTo(e,t,n,r,i,o)),this._xi=i,this._yi=o,this},quadraticCurveTo:function(e,t,n,r){return this.addData(c.Q,e,t,n,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,n,r):this._ctx.quadraticCurveTo(e,t,n,r)),this._xi=n,this._yi=r,this},arc:function(e,t,n,r,i,o){return this.addData(c.A,e,t,n,n,r,i-r,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,r,i,o),this._xi=g(i)*n+e,this._yi=m(i)*n+t,this},arcTo:function(e,t,n,r,i){return this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},rect:function(e,t,n,r){return this._ctx&&this._ctx.rect(e,t,n,r),this.addData(c.R,e,t,n,r),this},closePath:function(){this.addData(c.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,n),e.closePath()),this._xi=t,this._yi=n,this},fill:function(e){e&&e.fill(),this.toStatic()},stroke:function(e){e&&e.stroke(),this.toStatic()},setLineDash:function(e){if(e instanceof Array){this._lineDash=e,this._dashIdx=0;for(var t=0,n=0;n<e.length;n++)t+=e[n];this._dashSum=t}return this},setLineDashOffset:function(e){return this._dashOffset=e,this},len:function(){return this._len},setData:function(e){var t=e.length;this.data&&this.data.length===t||!b||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},appendPath:function(e){e instanceof Array||(e=[e]);for(var t=e.length,n=0,r=this._len,i=0;i<t;i++)n+=e[i].len();b&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(i=0;i<t;i++)for(var o=e[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},addData:function(e){if(this._saveData){var t=this.data;this._len+arguments.length>t.length&&(this._expandData(),t=this.data);for(var n=0;n<arguments.length;n++)t[this._len++]=arguments[n];this._prevCmd=e}},_expandData:function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(e,t){var n,r,i=this._dashSum,o=this._dashOffset,a=this._lineDash,s=this._ctx,l=this._xi,c=this._yi,u=e-l,d=t-c,h=v(u*u+d*d),f=l,g=c,m=a.length;u/=h,d/=h,o<0&&(o=i+o),o%=i,f-=o*u,g-=o*d;while(u>0&&f<=e||u<0&&f>=e||0===u&&(d>0&&g<=t||d<0&&g>=t))r=this._dashIdx,n=a[r],f+=u*n,g+=d*n,this._dashIdx=(r+1)%m,u>0&&f<l||u<0&&f>l||d>0&&g<c||d<0&&g>c||s[r%2?"moveTo":"lineTo"](u>=0?p(f,e):A(f,e),d>=0?p(g,t):A(g,t));u=f-e,d=g-t,this._dashOffset=-v(u*u+d*d)},_dashedBezierTo:function(e,t,n,i,o,a){var s,l,c,u,d,h=this._dashSum,f=this._dashOffset,p=this._lineDash,A=this._ctx,g=this._xi,m=this._yi,y=r.cubicAt,b=0,_=this._dashIdx,w=p.length,x=0;for(f<0&&(f=h+f),f%=h,s=0;s<1;s+=.1)l=y(g,e,n,o,s+.1)-y(g,e,n,o,s),c=y(m,t,i,a,s+.1)-y(m,t,i,a,s),b+=v(l*l+c*c);for(;_<w;_++)if(x+=p[_],x>f)break;s=(x-f)/b;while(s<=1)u=y(g,e,n,o,s),d=y(m,t,i,a,s),_%2?A.moveTo(u,d):A.lineTo(u,d),s+=p[_]/b,_=(_+1)%w;_%2!==0&&A.lineTo(o,a),l=o-u,c=a-d,this._dashOffset=-v(l*l+c*c)},_dashedQuadraticTo:function(e,t,n,r){var i=n,o=r;n=(n+2*e)/3,r=(r+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,n,r,i,o)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,b&&(this.data=new Float32Array(e)))},getBoundingRect:function(){u[0]=u[1]=h[0]=h[1]=Number.MAX_VALUE,d[0]=d[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var e=this.data,t=0,n=0,r=0,s=0,l=0;l<e.length;){var p=e[l++];switch(1===l&&(t=e[l],n=e[l+1],r=t,s=n),p){case c.M:r=e[l++],s=e[l++],t=r,n=s,h[0]=r,h[1]=s,f[0]=r,f[1]=s;break;case c.L:o.fromLine(t,n,e[l],e[l+1],h,f),t=e[l++],n=e[l++];break;case c.C:o.fromCubic(t,n,e[l++],e[l++],e[l++],e[l++],e[l],e[l+1],h,f),t=e[l++],n=e[l++];break;case c.Q:o.fromQuadratic(t,n,e[l++],e[l++],e[l],e[l+1],h,f),t=e[l++],n=e[l++];break;case c.A:var A=e[l++],v=e[l++],y=e[l++],b=e[l++],_=e[l++],w=e[l++]+_;l+=1;var x=1-e[l++];1===l&&(r=g(_)*y+A,s=m(_)*b+v),o.fromArc(A,v,y,b,_,w,x,h,f),t=g(w)*y+A,n=m(w)*b+v;break;case c.R:r=t=e[l++],s=n=e[l++];var C=e[l++],S=e[l++];o.fromLine(r,s,r+C,s+S,h,f);break;case c.Z:t=r,n=s;break}i.min(u,u,h),i.max(d,d,f)}return 0===l&&(u[0]=u[1]=d[0]=d[1]=0),new a(u[0],u[1],d[0]-u[0],d[1]-u[1])},rebuildPath:function(e){for(var t,n,r,i,o,a,s=this.data,l=this._ux,u=this._uy,d=this._len,h=0;h<d;){var f=s[h++];switch(1===h&&(r=s[h],i=s[h+1],t=r,n=i),f){case c.M:t=r=s[h++],n=i=s[h++],e.moveTo(r,i);break;case c.L:o=s[h++],a=s[h++],(y(o-r)>l||y(a-i)>u||h===d-1)&&(e.lineTo(o,a),r=o,i=a);break;case c.C:e.bezierCurveTo(s[h++],s[h++],s[h++],s[h++],s[h++],s[h++]),r=s[h-2],i=s[h-1];break;case c.Q:e.quadraticCurveTo(s[h++],s[h++],s[h++],s[h++]),r=s[h-2],i=s[h-1];break;case c.A:var p=s[h++],A=s[h++],v=s[h++],b=s[h++],_=s[h++],w=s[h++],x=s[h++],C=s[h++],S=v>b?v:b,k=v>b?1:v/b,E=v>b?b/v:1,O=Math.abs(v-b)>.001,B=_+w;O?(e.translate(p,A),e.rotate(x),e.scale(k,E),e.arc(0,0,S,_,B,1-C),e.scale(1/k,1/E),e.rotate(-x),e.translate(-p,-A)):e.arc(p,A,S,_,B,1-C),1===h&&(t=g(_)*v+p,n=m(_)*b+A),r=g(B)*v+p,i=m(B)*b+A;break;case c.R:t=r=s[h],n=i=s[h+1],e.rect(s[h++],s[h++],s[h++],s[h++]);break;case c.Z:e.closePath(),r=t,i=n}}}},_.CMD=c;var w=_;e.exports=w},IUWy:function(e,t){var n={};function r(e,t){n[e]=t}function i(e){return n[e]}t.register=r,t.get=i},IWNH:function(e,t,n){var r=n("T4UG"),i=n("Bsck"),o=n("7aKB"),a=o.encodeHTML,s=n("Qxkt"),l=r.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},n=e.leaves||{},r=new s(n,this,this.ecModel),o=i.createTree(t,this,{},a);function a(e){e.wrapMethod("getItemModel",(function(e,t){var n=o.getNodeByDataIndex(t);return n.children.length&&n.isExpand||(e.parentModel=r),e}))}var l=0;o.eachNode("preorder",(function(e){e.depth>l&&(l=e.depth)}));var c=e.expandAndCollapse,u=c&&e.initialTreeDepth>=0?e.initialTreeDepth:l;return o.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=u})),o.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){var t=this.getData().tree,n=t.root.children[0],r=t.getNodeByDataIndex(e),i=r.getValue(),o=r.name;while(r&&r!==n)o=r.parentNode.name+"."+o,r=r.parentNode;return a(o+(isNaN(i)||null==i?"":" : "+i))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});e.exports=l},IWp7:function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=n("7aKB"),a=n("lE7J"),s=n("ieMj"),l=s.prototype,c=Math.ceil,u=Math.floor,d=1e3,h=60*d,f=60*h,p=24*f,A=function(e,t,n,r){while(n<r){var i=n+r>>>1;e[i][1]<t?n=i+1:r=i}return n},g=s.extend({type:"time",getLabel:function(e){var t=this._stepLvl,n=new Date(e);return o.formatTime(t[0],n,this.getSetting("useUTC"))},niceExtent:function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=p,t[1]+=p),t[1]===-1/0&&t[0]===1/0){var n=new Date;t[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),t[0]=t[1]-p}this.niceTicks(e.splitNumber,e.minInterval,e.maxInterval);var r=this._interval;e.fixMin||(t[0]=i.round(u(t[0]/r)*r)),e.fixMax||(t[1]=i.round(c(t[1]/r)*r))},niceTicks:function(e,t,n){e=e||10;var r=this._extent,o=r[1]-r[0],s=o/e;null!=t&&s<t&&(s=t),null!=n&&s>n&&(s=n);var l=m.length,d=A(m,s,0,l),h=m[Math.min(d,l-1)],f=h[1];if("year"===h[0]){var p=o/f,g=i.nice(p/e,!0);f*=g}var v=this.getSetting("useUTC")?0:60*new Date(+r[0]||+r[1]).getTimezoneOffset()*1e3,y=[Math.round(c((r[0]-v)/f)*f+v),Math.round(u((r[1]-v)/f)*f+v)];a.fixExtent(y,r),this._stepLvl=h,this._interval=f,this._niceExtent=y},parse:function(e){return+i.parseDate(e)}});r.each(["contain","normalize"],(function(e){g.prototype[e]=function(t){return l[e].call(this,this.parse(t))}}));var m=[["hh:mm:ss",d],["hh:mm:ss",5*d],["hh:mm:ss",10*d],["hh:mm:ss",15*d],["hh:mm:ss",30*d],["hh:mm\nMM-dd",h],["hh:mm\nMM-dd",5*h],["hh:mm\nMM-dd",10*h],["hh:mm\nMM-dd",15*h],["hh:mm\nMM-dd",30*h],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];g.create=function(e){return new g({useUTC:e.ecModel.get("useUTC")})};var v=g;e.exports=v},IXuL:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("MwEJ")),o=n("T4UG"),a=o.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});e.exports=a},IXyC:function(e,t,n){var r=n("bYtY"),i=n("bLfw");n("3zoK");var o=i.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){i.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&r.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},setAxisExpand:function(e){r.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=r.filter(this.dependentModels.parallelAxis,(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);r.each(n,(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))}});e.exports=o},ItGF:function(e,t){var n={};n="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:i(navigator.userAgent);var r=n;function i(e){var t={},n={},r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(e);return r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1]),a&&(n.weChat=!0),{browser:n,os:t,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!==typeof document}}e.exports=r},ItS6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n("eP3c"),i=o(n("1q3G"));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}var c=function(){function e(){a(this,e),this.strm=new i["default"],this.chunkSize=102400,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,r.inflateInit)(this.strm,this.windowBits)}return l(e,[{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 t=(0,r.inflate)(this.strm,0);if(t<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,r.inflateReset)(this.strm)}}]),e}();t["default"]=c},Itpr:function(e,t,n){var r=n("+TT/");function i(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var t,n,r=[e];while(t=r.pop())if(n=t.children,t.isExpand&&n.length)for(var i=n.length,o=i-1;o>=0;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}function o(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){u(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=d(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function a(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function s(e){return arguments.length?e:g}function l(e,t){var n={};return e-=Math.PI/2,n.x=t*Math.cos(e),n.y=t*Math.sin(e),n}function c(e,t){return r.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function u(e){var t=e.children,n=t.length,r=0,i=0;while(--n>=0){var o=t[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}function d(e,t,n,r){if(t){var i=e,o=e,a=o.parentNode.children[0],s=t,l=i.hierNode.modifier,c=o.hierNode.modifier,u=a.hierNode.modifier,d=s.hierNode.modifier;while(s=h(s),o=f(o),s&&o){i=h(i),a=f(a),i.hierNode.ancestor=e;var g=s.hierNode.prelim+d-o.hierNode.prelim-c+r(s,o);g>0&&(A(p(s,e,n),e,g),c+=g,l+=g),d+=s.hierNode.modifier,c+=o.hierNode.modifier,l+=i.hierNode.modifier,u+=a.hierNode.modifier}s&&!h(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=d-l),o&&!f(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=c-u,n=e)}return n}function h(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function f(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function p(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function A(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function g(e,t){return e.parentNode===t.parentNode?1:2}t.init=i,t.firstWalk=o,t.secondWalk=a,t.separation=s,t.radialCoordinate=l,t.getViewRect=c},IwbS:function(e,t,n){var r=n("bYtY"),i=n("NC18"),o=n("Qe9p"),a=n("Fofx"),s=n("QBsz"),l=n("y+Vt"),c=n("DN4a"),u=n("Dagg");t.Image=u;var d=n("4fz+");t.Group=d;var h=n("dqUG");t.Text=h;var f=n("2fw6");t.Circle=f;var p=n("SqI9");t.Sector=p;var A=n("RXMa");t.Ring=A;var g=n("h7HQ");t.Polygon=g;var m=n("1Jh7");t.Polyline=m;var v=n("x6Kt");t.Rect=v;var y=n("yxFR");t.Line=y;var b=n("rA99");t.BezierCurve=b;var _=n("jTL6");t.Arc=_;var w=n("1MYJ");t.CompoundPath=w;var x=n("SKnc");t.LinearGradient=x;var C=n("3e3G");t.RadialGradient=C;var S=n("mFDi");t.BoundingRect=S;var k=n("OS9S");t.IncrementalDisplayable=k;var E=n("nPnh"),O=Math.max,B=Math.min,M={},T=1,I={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},L="emphasis",D="normal",P=1,N={},j={};function F(e){return l.extend(e)}function R(e,t){return i.extendFromString(e,t)}function U(e,t){j[e]=t}function H(e){if(j.hasOwnProperty(e))return j[e]}function Q(e,t,n,r){var o=i.createFromString(e,t);return n&&("center"===r&&(n=z(n,o.getBoundingRect())),W(o,n)),o}function K(e,t,n){var r=new u({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(z(t,i))}}});return r}function z(e,t){var n,r=t.width/t.height,i=e.height*r;i<=e.width?n=e.height:(i=e.width,n=i/r);var o=e.x+e.width/2,a=e.y+e.height/2;return{x:o-i/2,y:a-n/2,width:i,height:n}}var V=i.mergePath;function W(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function G(e){return E.subPixelOptimizeLine(e.shape,e.shape,e.style),e}function X(e){return E.subPixelOptimizeRect(e.shape,e.shape,e.style),e}var q=E.subPixelOptimize;function Y(e){return null!=e&&"none"!==e}var Z=r.createHashMap(),J=0;function $(e){if("string"!==typeof e)return e;var t=Z.get(e);return t||(t=o.lift(e,-.1),J<1e4&&(Z.set(e,t),J++)),t}function ee(e){if(e.__hoverStlDirty){e.__hoverStlDirty=!1;var t=e.__hoverStl;if(t){var n=e.__cachedNormalStl={};e.__cachedNormalZ2=e.z2;var r=e.style;for(var i in t)null!=t[i]&&(n[i]=r[i]);n.fill=r.fill,n.stroke=r.stroke}else e.__cachedNormalStl=e.__cachedNormalZ2=null}}function te(e){var t=e.__hoverStl;if(t&&!e.__highlighted){var n=e.__zr,r=e.useHoverLayer&&n&&"canvas"===n.painter.type;if(e.__highlighted=r?"layer":"plain",!(e.isGroup||!n&&e.useHoverLayer)){var i=e,o=e.style;r&&(i=n.addHover(e),o=i.style),Ce(o),r||ee(i),o.extendFrom(t),ne(o,t,"fill"),ne(o,t,"stroke"),xe(o),r||(e.dirty(!1),e.z2+=T)}}}function ne(e,t,n){!Y(t[n])&&Y(e[n])&&(e[n]=$(e[n]))}function re(e){var t=e.__highlighted;if(t&&(e.__highlighted=!1,!e.isGroup))if("layer"===t)e.__zr&&e.__zr.removeHover(e);else{var n=e.style,r=e.__cachedNormalStl;r&&(Ce(n),e.setStyle(r),xe(n));var i=e.__cachedNormalZ2;null!=i&&e.z2-i===T&&(e.z2=i)}}function ie(e,t,n){var r,i=D,o=D;e.__highlighted&&(i=L,r=!0),t(e,n),e.__highlighted&&(o=L,r=!0),e.isGroup&&e.traverse((function(e){!e.isGroup&&t(e,n)})),r&&e.__highDownOnUpdate&&e.__highDownOnUpdate(i,o)}function oe(e,t){t=e.__hoverStl=!1!==t&&(e.hoverStyle||t||{}),e.__hoverStlDirty=!0,e.__highlighted&&(e.__cachedNormalStl=null,re(e),te(e))}function ae(e){!ue(this,e)&&!this.__highByOuter&&ie(this,te)}function se(e){!ue(this,e)&&!this.__highByOuter&&ie(this,re)}function le(e){this.__highByOuter|=1<<(e||0),ie(this,te)}function ce(e){!(this.__highByOuter&=~(1<<(e||0)))&&ie(this,re)}function ue(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function de(e,t){he(e,!0),ie(e,oe,t)}function he(e,t){var n=!1===t;if(e.__highDownSilentOnTouch=e.highDownSilentOnTouch,e.__highDownOnUpdate=e.highDownOnUpdate,!n||e.__highDownDispatcher){var r=n?"off":"on";e[r]("mouseover",ae)[r]("mouseout",se),e[r]("emphasis",le)[r]("normal",ce),e.__highByOuter=e.__highByOuter||0,e.__highDownDispatcher=!n}}function fe(e){return!(!e||!e.__highDownDispatcher)}function pe(e){var t=N[e];return null==t&&P<=32&&(t=N[e]=P++),t}function Ae(e,t,n,i,o,a,s){o=o||M;var l,c=o.labelFetcher,u=o.labelDataIndex,d=o.labelDimIndex,h=o.labelProp,f=n.getShallow("show"),p=i.getShallow("show");(f||p)&&(c&&(l=c.getFormattedLabel(u,"normal",null,d,h)),null==l&&(l=r.isFunction(o.defaultText)?o.defaultText(u,o):o.defaultText));var A=f?l:null,g=p?r.retrieve2(c?c.getFormattedLabel(u,"emphasis",null,d,h):null,l):null;null==A&&null==g||(me(e,n,a,o),me(t,i,s,o,!0)),e.text=A,t.text=g}function ge(e,t,n){var i=e.style;t&&(Ce(i),e.setStyle(t),xe(i)),i=e.__hoverStl,n&&i&&(Ce(i),r.extend(i,n),xe(i))}function me(e,t,n,i,o){return ye(e,t,i,o),n&&r.extend(e,n),e}function ve(e,t,n){var r,i={isRectText:!0};!1===n?r=!0:i.autoColor=n,ye(e,t,i,r)}function ye(e,t,n,i){if(n=n||M,n.isRectText){var o;n.getTextPosition?o=n.getTextPosition(t,i):(o=t.getShallow("position")||(i?null:"inside"),"outside"===o&&(o="top")),e.textPosition=o,e.textOffset=t.getShallow("offset");var a=t.getShallow("rotate");null!=a&&(a*=Math.PI/180),e.textRotation=a,e.textDistance=r.retrieve2(t.getShallow("distance"),i?null:5)}var s,l=t.ecModel,c=l&&l.option.textStyle,u=be(t);if(u)for(var d in s={},u)if(u.hasOwnProperty(d)){var h=t.getModel(["rich",d]);_e(s[d]={},h,c,n,i)}return e.rich=s,_e(e,t,c,n,i,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),e}function be(e){var t;while(e&&e!==e.ecModel){var n=(e.option||M).rich;if(n)for(var r in t=t||{},n)n.hasOwnProperty(r)&&(t[r]=1);e=e.parentModel}return t}function _e(e,t,n,i,o,a){n=!o&&n||M,e.textFill=we(t.getShallow("color"),i)||n.color,e.textStroke=we(t.getShallow("textBorderColor"),i)||n.textBorderColor,e.textStrokeWidth=r.retrieve2(t.getShallow("textBorderWidth"),n.textBorderWidth),o||(a&&(e.insideRollbackOpt=i,xe(e)),null==e.textFill&&(e.textFill=i.autoColor)),e.fontStyle=t.getShallow("fontStyle")||n.fontStyle,e.fontWeight=t.getShallow("fontWeight")||n.fontWeight,e.fontSize=t.getShallow("fontSize")||n.fontSize,e.fontFamily=t.getShallow("fontFamily")||n.fontFamily,e.textAlign=t.getShallow("align"),e.textVerticalAlign=t.getShallow("verticalAlign")||t.getShallow("baseline"),e.textLineHeight=t.getShallow("lineHeight"),e.textWidth=t.getShallow("width"),e.textHeight=t.getShallow("height"),e.textTag=t.getShallow("tag"),a&&i.disableBox||(e.textBackgroundColor=we(t.getShallow("backgroundColor"),i),e.textPadding=t.getShallow("padding"),e.textBorderColor=we(t.getShallow("borderColor"),i),e.textBorderWidth=t.getShallow("borderWidth"),e.textBorderRadius=t.getShallow("borderRadius"),e.textBoxShadowColor=t.getShallow("shadowColor"),e.textBoxShadowBlur=t.getShallow("shadowBlur"),e.textBoxShadowOffsetX=t.getShallow("shadowOffsetX"),e.textBoxShadowOffsetY=t.getShallow("shadowOffsetY")),e.textShadowColor=t.getShallow("textShadowColor")||n.textShadowColor,e.textShadowBlur=t.getShallow("textShadowBlur")||n.textShadowBlur,e.textShadowOffsetX=t.getShallow("textShadowOffsetX")||n.textShadowOffsetX,e.textShadowOffsetY=t.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function we(e,t){return"auto"!==e?e:t&&t.autoColor?t.autoColor:null}function xe(e){var t,n=e.textPosition,r=e.insideRollbackOpt;if(r&&null==e.textFill){var i=r.autoColor,o=r.isRectText,a=r.useInsideStyle,s=!1!==a&&(!0===a||o&&n&&"string"===typeof n&&n.indexOf("inside")>=0),l=!s&&null!=i;(s||l)&&(t={textFill:e.textFill,textStroke:e.textStroke,textStrokeWidth:e.textStrokeWidth}),s&&(e.textFill="#fff",null==e.textStroke&&(e.textStroke=i,null==e.textStrokeWidth&&(e.textStrokeWidth=2))),l&&(e.textFill=i)}e.insideRollback=t}function Ce(e){var t=e.insideRollback;t&&(e.textFill=t.textFill,e.textStroke=t.textStroke,e.textStrokeWidth=t.textStrokeWidth,e.insideRollback=null)}function Se(e,t){var n=t&&t.getModel("textStyle");return r.trim([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}function ke(e,t,n,r,i,o){"function"===typeof i&&(o=i,i=null);var a=r&&r.isAnimationEnabled();if(a){var s=e?"Update":"",l=r.getShallow("animationDuration"+s),c=r.getShallow("animationEasing"+s),u=r.getShallow("animationDelay"+s);"function"===typeof u&&(u=u(i,r.getAnimationDelayParams?r.getAnimationDelayParams(t,i):null)),"function"===typeof l&&(l=l(i)),l>0?t.animateTo(n,l,u||0,c,o,!!o):(t.stopAnimation(),t.attr(n),o&&o())}else t.stopAnimation(),t.attr(n),o&&o()}function Ee(e,t,n,r,i){ke(!0,e,t,n,r,i)}function Oe(e,t,n,r,i){ke(!1,e,t,n,r,i)}function Be(e,t){var n=a.identity([]);while(e&&e!==t)a.mul(n,e.getLocalTransform(),n),e=e.parent;return n}function Me(e,t,n){return t&&!r.isArrayLike(t)&&(t=c.getLocalTransform(t)),n&&(t=a.invert([],t)),s.applyTransform([],e,t)}function Te(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return o=Me(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Ie(e,t,n,i){if(e&&t){var o=a(e);t.traverse((function(e){if(!e.isGroup&&e.anid){var t=o[e.anid];if(t){var r=l(e);e.attr(l(t)),Ee(e,r,n,e.dataIndex)}}}))}function a(e){var t={};return e.traverse((function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)})),t}function l(e){var t={position:s.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=r.extend({},e.shape)),t}}function Le(e,t){return r.map(e,(function(e){var n=e[0];n=O(n,t.x),n=B(n,t.x+t.width);var r=e[1];return r=O(r,t.y),r=B(r,t.y+t.height),[n,r]}))}function De(e,t){var n=O(e.x,t.x),r=B(e.x+e.width,t.x+t.width),i=O(e.y,t.y),o=B(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function Pe(e,t,n){t=r.extend({rectHover:!0},t);var i=t.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),r.defaults(i,n),new u(t)):Q(e.replace("path://",""),t,n,"center")}function Ne(e,t,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(je(e,t,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function je(e,t,n,r,i,o,a,s){var l=n-e,c=r-t,u=a-i,d=s-o,h=Fe(u,d,l,c);if(Re(h))return!1;var f=e-i,p=t-o,A=Fe(f,p,l,c)/h;if(A<0||A>1)return!1;var g=Fe(f,p,u,d)/h;return!(g<0||g>1)}function Fe(e,t,n,r){return e*r-n*t}function Re(e){return e<=1e-6&&e>=-1e-6}U("circle",f),U("sector",p),U("ring",A),U("polygon",g),U("polyline",m),U("rect",v),U("line",y),U("bezierCurve",b),U("arc",_),t.Z2_EMPHASIS_LIFT=T,t.CACHED_LABEL_STYLE_PROPERTIES=I,t.extendShape=F,t.extendPath=R,t.registerShape=U,t.getShapeClass=H,t.makePath=Q,t.makeImage=K,t.mergePath=V,t.resizePath=W,t.subPixelOptimizeLine=G,t.subPixelOptimizeRect=X,t.subPixelOptimize=q,t.setElementHoverStyle=oe,t.setHoverStyle=de,t.setAsHighDownDispatcher=he,t.isHighDownDispatcher=fe,t.getHighlightDigit=pe,t.setLabelStyle=Ae,t.modifyLabelStyle=ge,t.setTextStyle=me,t.setText=ve,t.getFont=Se,t.updateProps=Ee,t.initProps=Oe,t.getTransform=Be,t.applyTransform=Me,t.transformDirection=Te,t.groupTransition=Ie,t.clipPointsByRect=Le,t.clipRectByRect=De,t.createIcon=Pe,t.linePolygonIntersect=Ne,t.lineLineIntersect=je},IyUQ:function(e,t,n){var r=n("bYtY"),i=n("YH21"),o=n("IwbS"),a=n("iLNv"),s=n("fc+c"),l=n("OELB"),c=n("+TT/"),u=n("72pK"),d=o.Rect,h=l.linearMap,f=l.asc,p=r.bind,A=r.each,g=7,m=1,v=30,y="horizontal",b="vertical",_=5,w=["line","bar","candlestick","scatter"],x=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,n,r){x.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){x.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,n=this._findCoordRect(),i={width:t.getWidth(),height:t.getHeight()},o=this._orient===y?{right:i.width-n.x-n.width,top:i.height-v-g,width:n.width,height:v}:{right:g,top:n.y,width:v,height:n.height},a=c.getLayoutParams(e.option);r.each(["right","top","width","height"],(function(e){"ph"===a[e]&&(a[e]=o[e])}));var s=c.getLayoutRect(a,i,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===b&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==y||i?n===y&&i?{scale:a?[-1,1]:[-1,-1]}:n!==b||i?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]});var s=e.getBoundingRect([o]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.barGroup;n.add(new d({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),n.add(new d({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:r.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,n=e.series,i=n.getRawData(),a=n.getShadowDim?n.getShadowDim():e.otherDim;if(null!=a){var s=i.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var c,u=[0,t[1]],d=[0,t[0]],f=[[t[0],0],[0,0]],p=[],A=d[1]/(i.count()-1),g=0,m=Math.round(i.count()/t[0]);i.each([a],(function(e,t){if(m>0&&t%m)g+=A;else{var n=null==e||isNaN(e)||""===e,r=n?0:h(e,s,u,!0);n&&!c&&t?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&c&&(f.push([g,0]),p.push([g,0])),f.push([g,r]),p.push([g,r]),g+=A,c=n}}));var v=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:f},style:r.defaults({fill:v.get("dataBackgroundColor")},v.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:p},style:v.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,i=this.ecModel;return e.eachTargetAxis((function(o,a){var s=e.getAxisProxy(o.name,a).getTargetSeriesModels();r.each(s,(function(e){if(!n&&!(!0!==t&&r.indexOf(w,e.get("type"))<0)){var s,l=i.getComponent(o.axis,a).axis,c=C(o.name),u=e.coordinateSystem;null!=c&&u.getOtherAxis&&(s=u.getOtherAxis(l).inverse),c=e.getData().mapDimension(c),n={thisAxis:l,series:e,thisDim:o.name,otherDim:c,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],n=e.handleLabels=[],r=this._displayables.barGroup,i=this._size,a=this.dataZoomModel;r.add(e.filler=new d({draggable:!0,cursor:S(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),r.add(new d({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:i[0],height:i[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:m,fill:"rgba(0,0,0,0)"}})),A([0,1],(function(e){var i=o.createIcon(a.get("handleIcon"),{cursor:S(this._orient),draggable:!0,drift:p(this._onDragMove,this,e),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=i.getBoundingRect();this._handleHeight=l.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,i.setStyle(a.getModel("handleStyle").getItemStyle());var c=a.get("handleColor");null!=c&&(i.style.fill=c),r.add(t[e]=i);var u=a.textStyleModel;this.group.add(n[e]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:u.getTextColor(),textFont:u.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[h(e[0],[0,100],t,!0),h(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];u(t,r,i,n.get("zoomLock")?"all":e,null!=o.minSpan?h(o.minSpan,a,i,!0):null,null!=o.maxSpan?h(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=f([h(r[0],i,a,!0),h(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(e){var t=this._displayables,n=this._handleEnds,r=f(n.slice()),i=this._size;A([0,1],(function(e){var r=t.handles[e],o=this._handleHeight;r.attr({scale:[o/2,o/2],position:[n[e],i[1]/2-o/2]})}),this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,a=["",""];if(t.get("showDetail")){var s=t.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,c=this._range,u=e?s.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(u[0],l),this._formatLabel(u[1],l)]}}var d=f(this._handleEnds.slice());function h(e){var t=o.getTransform(n.handles[e].parent,this.group),s=o.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+_,c=o.applyTransform([d[e]+(0===e?-l:l),this._size[1]/2],t);r[e].setStyle({x:c[0],y:c[1],textVerticalAlign:i===y?"middle":s,textAlign:i===y?s:"center",text:a[e]})}h.call(this,0),h.call(this,1)},_formatLabel:function(e,t){var n=this.dataZoomModel,i=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=t.getPixelPrecision());var a=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(o,20));return r.isFunction(i)?i(e,a):r.isString(i)?i.replace("{value}",a):a},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,n,r){this._dragging=!0,i.stop(r.event);var a=this._displayables.barGroup.getLocalTransform(),s=o.applyTransform([t,n],a,!0),l=this._updateInterval(e,s[0]),c=this.dataZoomModel.get("realtime");this._updateView(!c),l&&c&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,n=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(A(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}})),!e){var t=this.api.getWidth(),n=this.api.getHeight();e={x:.2*t,y:.2*n,width:.6*t,height:.6*n}}return e}});function C(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function S(e){return"vertical"===e?"ns-resize":"ew-resize"}var k=x;e.exports=k},IzEo:function(e,t,n){"use strict";n("cIOH"),n("lnY3"),n("Znn+"),n("14J3"),n("jCWc")},J66h:function(e,t,n){(function(n){var r,i;(function(t,n){e.exports=n(t)})("undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n?n:this,(function(n){"use strict";n=n||{};var o,a=n.Base64,s="2.6.4",l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(l),u=String.fromCharCode,d=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?u(192|t>>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},h=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,f=function(e){return e.replace(h,d)},p=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),r=[l.charAt(n>>>18),l.charAt(n>>>12&63),t>=2?"=":l.charAt(n>>>6&63),t>=1?"=":l.charAt(63&n)];return r.join("")},A=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,p)},g=function(e){return A(f(String(e)))},m=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},v=function(e,t){return t?m(g(e)):g(e)},y=function(e){return v(e,!0)};n.Uint8Array&&(o=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],a=e[r+1],s=e[r+2],c=o<<16|a<<8|s;n+=l.charAt(c>>>18)+l.charAt(c>>>12&63)+("undefined"!=typeof a?l.charAt(c>>>6&63):"=")+("undefined"!=typeof s?l.charAt(63&c):"=")}return t?m(n):n});var b,_=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=function(e){switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return u(55296+(n>>>10))+u(56320+(1023&n));case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},x=function(e){return e.replace(_,w)},C=function(e){var t=e.length,n=t%4,r=(t>0?c[e.charAt(0)]<<18:0)|(t>1?c[e.charAt(1)]<<12:0)|(t>2?c[e.charAt(2)]<<6:0)|(t>3?c[e.charAt(3)]:0),i=[u(r>>>16),u(r>>>8&255),u(255&r)];return i.length-=[0,0,2,1][n],i.join("")},S=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,C)},k=function(e){return S(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},E=function(e){return x(S(e))},O=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},B=function(e){return E(O(e))};n.Uint8Array&&(b=function(e){return Uint8Array.from(k(O(e)),(function(e){return e.charCodeAt(0)}))});var M=function(){var e=n.Base64;return n.Base64=a,e};if(n.Base64={VERSION:s,atob:k,btoa:A,fromBase64:B,toBase64:v,utob:f,encode:v,encodeURI:y,btou:x,decode:B,noConflict:M,fromUint8Array:o,toUint8Array:b},"function"===typeof Object.defineProperty){var T=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",T((function(){return B(this)}))),Object.defineProperty(String.prototype,"toBase64",T((function(e){return v(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",T((function(){return v(this,!0)})))}}return n["Meteor"]&&(Base64=n.Base64),e.exports?e.exports.Base64=n.Base64:(r=[],i=function(){return n.Base64}.apply(t,r),void 0===i||(e.exports=i)),{Base64:n.Base64}}))}).call(this,n("yLpj"))},JEkh:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("ItGF"),s=n("4NO4"),l=n("7aKB"),c=n("OKJ2"),u=l.addCommas,d=l.encodeHTML;function h(e){s.defaultEmphasis(e,"label",["show"])}var f=i.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},isAnimationEnabled:function(){if(a.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t){this._mergeOption(e,t,!1,!1)},_mergeOption:function(e,t,n,r){var i=this.constructor,a=this.mainType+"Model";n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),s=e[a];n&&n.data?(s?s._mergeOption(n,t,!0):(r&&h(n),o.each(n.data,(function(e){e instanceof Array?(h(e[0]),h(e[1])):h(e)})),s=new i(n,this,t),o.extend(s,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),s.__hostSeries=e),e[a]=s):e[a]=null}),this)},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),r=o.isArray(n)?o.map(n,u).join(", "):u(n),i=t.getName(e),a=d(this.name);return(null!=n||i)&&(a+="<br />"),i&&(a+=d(i),null!=n&&(a+=" : ")),null!=n&&(a+=d(r)),a},getData:function(){return this._data},setData:function(e){this._data=e}});o.mixin(f,c);var p=f;e.exports=p},JGo8:function(e,t,n){},JHRd:function(e,t,n){var r=n("Kz5y"),i=r.Uint8Array;e.exports=i},JHgL:function(e,t,n){var r=n("QkVE");function i(e){return r(this,e).get(e)}e.exports=i},JLnu:function(e,t,n){var r=n("+TT/"),i=n("OELB"),o=i.parsePercent,a=i.linearMap;function s(e,t){return r.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function l(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,(function(e){return e})),i=[],o="ascending"===t,a=0,s=e.count();a<s;a++)i[a]=a;return"function"===typeof t?i.sort(t):"none"!==t&&i.sort((function(e,t){return o?r[e]-r[t]:r[t]-r[e]})),i}function c(e){e.each((function(t){var n,r,i,o,a=e.getItemModel(t),s=a.getModel("label"),l=s.get("position"),c=a.getModel("labelLine"),u=e.getItemLayout(t),d=u.points,h="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(h)"insideLeft"===l?(r=(d[0][0]+d[3][0])/2+5,i=(d[0][1]+d[3][1])/2,n="left"):"insideRight"===l?(r=(d[1][0]+d[2][0])/2-5,i=(d[1][1]+d[2][1])/2,n="right"):(r=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,i=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,n="center"),o=[[r,i],[r,i]];else{var f,p,A,g=c.get("length");"left"===l?(f=(d[3][0]+d[0][0])/2,p=(d[3][1]+d[0][1])/2,A=f-g,r=A-5,n="right"):"right"===l?(f=(d[1][0]+d[2][0])/2,p=(d[1][1]+d[2][1])/2,A=f+g,r=A+5,n="left"):"rightTop"===l?(f=d[1][0],p=d[1][1],A=f+g,r=A+5,n="top"):"rightBottom"===l?(f=d[2][0],p=d[2][1],A=f+g,r=A+5,n="bottom"):"leftTop"===l?(f=d[0][0],p=d[1][1],A=f-g,r=A-5,n="right"):"leftBottom"===l?(f=d[3][0],p=d[2][1],A=f-g,r=A-5,n="right"):(f=(d[1][0]+d[2][0])/2,p=(d[1][1]+d[2][1])/2,A=f+g,r=A+5,n="left");var m=p;o=[[f,p],[A,m]],i=m}u.label={linePoints:o,x:r,y:i,verticalAlign:"middle",textAlign:n,inside:h}}))}function u(e,t,n){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),r=n.mapDimension("value"),i=e.get("sort"),u=s(e,t),d=l(n,i),h=[o(e.get("minSize"),u.width),o(e.get("maxSize"),u.width)],f=n.getDataExtent(r),p=e.get("min"),A=e.get("max");null==p&&(p=Math.min(f[0],0)),null==A&&(A=f[1]);var g=e.get("funnelAlign"),m=e.get("gap"),v=(u.height-m*(n.count()-1))/n.count(),y=u.y,b=function(e,t){var i,o=n.get(r,e)||0,s=a(o,[p,A],h,!0);switch(g){case"left":i=u.x;break;case"center":i=u.x+(u.width-s)/2;break;case"right":i=u.x+u.width-s;break}return[[i,t],[i+s,t]]};"ascending"===i&&(v=-v,m=-m,y+=u.height,d=d.reverse());for(var _=0;_<d.length;_++){var w=d[_],x=d[_+1],C=n.getItemModel(w),S=C.get("itemStyle.height");null==S?S=v:(S=o(S,u.height),"ascending"===i&&(S=-S));var k=b(w,y),E=b(x,y+S);y+=S+m,n.setItemLayout(w,{points:k.concat(E.slice().reverse())})}c(n)}))}e.exports=u},JSQU:function(e,t,n){var r=n("YESw"),i="__lodash_hash_undefined__";function o(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}e.exports=o},JSwD:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=m;var i=a(n("6BzB"));function o(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n["default"]=e,t&&t.set(e,n),n}var s=15,l=852,c=592,u=0,d=1,h=2,f=[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],p=[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],A=[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],g=[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 m(e,t,n,r,o,a,m,v){var y,b,_,w,x,C,S,k,E,O=v.bits,B=0,M=0,T=0,I=0,L=0,D=0,P=0,N=0,j=0,F=0,R=null,U=0,H=new i.Buf16(s+1),Q=new i.Buf16(s+1),K=null,z=0;for(B=0;B<=s;B++)H[B]=0;for(M=0;M<r;M++)H[t[n+M]]++;for(L=O,I=s;I>=1;I--)if(0!==H[I])break;if(L>I&&(L=I),0===I)return o[a++]=20971520,o[a++]=20971520,v.bits=1,0;for(T=1;T<I;T++)if(0!==H[T])break;for(L<T&&(L=T),N=1,B=1;B<=s;B++)if(N<<=1,N-=H[B],N<0)return-1;if(N>0&&(e===u||1!==I))return-1;for(Q[1]=0,B=1;B<s;B++)Q[B+1]=Q[B]+H[B];for(M=0;M<r;M++)0!==t[n+M]&&(m[Q[t[n+M]]++]=M);if(e===u?(R=K=m,C=19):e===d?(R=f,U-=257,K=p,z-=257,C=256):(R=A,K=g,C=-1),F=0,M=0,B=T,x=a,D=L,P=0,_=-1,j=1<<L,w=j-1,e===d&&j>l||e===h&&j>c)return 1;for(;;){S=B-P,m[M]<C?(k=0,E=m[M]):m[M]>C?(k=K[z+m[M]],E=R[U+m[M]]):(k=96,E=0),y=1<<B-P,b=1<<D,T=b;do{b-=y,o[x+(F>>P)+b]=S<<24|k<<16|E|0}while(0!==b);y=1<<B-1;while(F&y)y>>=1;if(0!==y?(F&=y-1,F+=y):F=0,M++,0===--H[B]){if(B===I)break;B=t[n+m[M]]}if(B>L&&(F&w)!==_){0===P&&(P=L),x+=T,D=B-P,N=1<<D;while(D+P<I){if(N-=H[D+P],N<=0)break;D++,N<<=1}if(j+=1<<D,e===d&&j>l||e===h&&j>c)return 1;_=F&w,o[_]=L<<24|D<<16|x-a|0}}return 0!==F&&(o[x+F]=B-P<<24|64<<16|0),v.bits=L,0}},JTzB:function(e,t,n){var r=n("NykK"),i=n("ExA7"),o="[object Arguments]";function a(e){return i(e)&&r(e)==o}e.exports=a},JVwQ:function(e,t,n){var r=n("ProS"),i=n("1NG9"),o=i.Polygon,a=n("IwbS"),s=n("bYtY"),l=s.bind,c=s.extend,u=n("gPAo"),d=r.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(e,t,n){var r=e.getData(),i=this.group,s=e.getLayerSeries(),d=r.getLayout("layoutInfo"),f=d.rect,p=d.boundaryGap;function A(e){return e.name}i.attr("position",[0,f.y+p[0]]);var g=new u(this._layersSeries||[],s,A,A),m={};function v(t,n,l){var u=this._layers;if("remove"!==t){for(var d,f,p,A=[],g=[],v=s[n].indices,y=0;y<v.length;y++){var b=r.getItemLayout(v[y]),_=b.x,w=b.y0,x=b.y;A.push([_,w]),g.push([_,w+x]),d=r.getItemVisual(v[y],"color")}var C=r.getItemLayout(v[0]),S=r.getItemModel(v[y-1]),k=S.getModel("label"),E=k.get("margin");if("add"===t){var O=m[n]=new a.Group;f=new o({shape:{points:A,stackedOnPoints:g,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),p=new a.Text({style:{x:C.x-E,y:C.y0+C.y/2}}),O.add(f),O.add(p),i.add(O),f.setClipPath(h(f.getBoundingRect(),e,(function(){f.removeClipPath()})))}else{O=u[l];f=O.childAt(0),p=O.childAt(1),i.add(O),m[n]=O,a.updateProps(f,{shape:{points:A,stackedOnPoints:g}},e),a.updateProps(p,{style:{x:C.x-E,y:C.y0+C.y/2}},e)}var B=S.getModel("emphasis.itemStyle"),M=S.getModel("itemStyle");a.setTextStyle(p.style,k,{text:k.get("show")?e.getFormattedLabel(v[y-1],"normal")||r.getName(v[y-1]):null,textVerticalAlign:"middle"}),f.setStyle(c({fill:d},M.getItemStyle(["color"]))),a.setHoverStyle(f,B.getItemStyle())}else i.remove(u[n])}g.add(l(v,this,"add")).update(l(v,this,"update")).remove(l(v,this,"remove")).execute(),this._layersSeries=s,this._layers=m},dispose:function(){}});function h(e,t,n){var r=new a.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return a.initProps(r,{shape:{width:e.width+20,height:e.height+20}},t,n),r}e.exports=d},JgUQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},JsLm:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("PJYZ"),h=n.n(d),f=n("7W2i"),p=n.n(f),A=n("LQ03"),g=n.n(A),m=n("q1tI"),v=n("i8i4"),y=n("TSYQ"),b=n.n(y),_=n("zT1h"),w=n("VNzZ"),x=n("H84U"),C=n("zAh6"),S=n("i6bk"),k=m["createContext"](null),E=k;function O(){return window}function B(e,t){if(!e.getClientRects().length)return 0;var n=e.getBoundingClientRect();return n.width||n.height?t===window?(t=e.ownerDocument.documentElement,n.top-t.clientTop):n.top-t.getBoundingClientRect().top:n.top}var M=/#(\S+)$/,T=function(e){p()(n,e);var t=g()(n);function n(){var e;return l()(this,n),e=t.apply(this,arguments),e.state={activeLink:null},e.links=[],e.registerLink=function(t){e.links.includes(t)||e.links.push(t)},e.unregisterLink=function(t){var n=e.links.indexOf(t);-1!==n&&e.links.splice(n,1)},e.getContainer=function(){var t=e.context.getTargetContainer,n=e.props.getContainer,r=n||t||O;return r()},e.handleScrollTo=function(t){var n=e.props,r=n.offsetTop,i=n.targetOffset;e.setCurrentActiveLink(t);var o=e.getContainer(),a=Object(S["a"])(o,!0),s=M.exec(t);if(s){var l=document.getElementById(s[1]);if(l){var c=B(l,o),u=a+c;u-=void 0!==i?i:r||0,e.animating=!0,Object(C["a"])(u,{callback:function(){e.animating=!1},getContainer:e.getContainer})}}},e.saveInkNode=function(t){e.inkNode=t},e.setCurrentActiveLink=function(t){var n=e.state.activeLink,r=e.props.onChange;n!==t&&(e.setState({activeLink:t}),r&&r(t))},e.handleScroll=function(){if(!e.animating){var t=e.props,n=t.offsetTop,r=t.bounds,i=t.targetOffset,o=e.getCurrentAnchor(void 0!==i?i:n||0,r);e.setCurrentActiveLink(o)}},e.updateInk=function(){var t=h()(e),n=t.prefixCls,r=v["findDOMNode"](h()(e)),i=r.getElementsByClassName("".concat(n,"-link-title-active"))[0];i&&(e.inkNode.style.top="".concat(i.offsetTop+i.clientHeight/2-4.5,"px"))},e.render=function(){var t=e.context,n=t.getPrefixCls,r=t.direction,o=e.props,s=o.prefixCls,l=o.className,c=void 0===l?"":l,u=o.style,d=o.offsetTop,h=o.affix,f=o.showInkInFixed,p=o.children,A=e.state.activeLink,g=n("anchor",s);e.prefixCls=g;var v=b()("".concat(g,"-ink-ball"),{visible:A}),y=b()(c,"".concat(g,"-wrapper"),a()({},"".concat(g,"-rtl"),"rtl"===r)),_=b()(g,{fixed:!h&&!f}),x=i()({maxHeight:d?"calc(100vh - ".concat(d,"px)"):"100vh"},u),C=m["createElement"]("div",{className:y,style:x},m["createElement"]("div",{className:_},m["createElement"]("div",{className:"".concat(g,"-ink")},m["createElement"]("span",{className:v,ref:e.saveInkNode})),p));return m["createElement"](E.Provider,{value:{registerLink:e.registerLink,unregisterLink:e.unregisterLink,activeLink:e.state.activeLink,scrollTo:e.handleScrollTo,onClick:e.props.onClick}},h?m["createElement"](w["a"],{offsetTop:d,target:e.getContainer},C):C)},e}return u()(n,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(_["a"])(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var e=this.getContainer();this.scrollContainer!==e&&(this.scrollContainer=e,this.scrollEvent.remove(),this.scrollEvent=Object(_["a"])(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=this.props.getCurrentAnchor;if("function"===typeof n)return n();var r=[],i=this.getContainer();if(this.links.forEach((function(n){var o=M.exec(n.toString());if(o){var a=document.getElementById(o[1]);if(a){var s=B(a,i);s<e+t&&r.push({link:n,top:s})}}})),r.length){var o=r.reduce((function(e,t){return t.top>e.top?t:e}));return o.link}return""}}]),n}(m["Component"]);T.defaultProps={affix:!0,showInkInFixed:!1},T.contextType=x["b"];var I=function(e){p()(n,e);var t=g()(n);function n(){var e;return l()(this,n),e=t.apply(this,arguments),e.handleClick=function(t){var n=e.context,r=n.scrollTo,i=n.onClick,o=e.props,a=o.href,s=o.title;i&&i(t,{title:s,href:a}),r(a)},e.renderAnchorLink=function(t){var n=t.getPrefixCls,r=e.props,i=r.prefixCls,o=r.href,s=r.title,l=r.children,c=r.className,u=r.target,d=n("anchor",i),h=e.context.activeLink===o,f=b()(c,"".concat(d,"-link"),a()({},"".concat(d,"-link-active"),h)),p=b()("".concat(d,"-link-title"),a()({},"".concat(d,"-link-title-active"),h));return m["createElement"]("div",{className:f},m["createElement"]("a",{className:p,href:o,title:"string"===typeof s?s:"",target:u,onClick:e.handleClick},s),l)},e}return u()(n,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(e){var t=e.href,n=this.props.href;t!==n&&(this.context.unregisterLink(t),this.context.registerLink(n))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return m["createElement"](x["a"],null,this.renderAnchorLink)}}]),n}(m["Component"]);I.defaultProps={href:"#"},I.contextType=E;var L=I;T.Link=L;t["a"]=T},JuEJ:function(e,t,n){var r=n("bYtY"),i=n("4NO4"),o=r.each,a=r.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(e){var t=e&&e.itemStyle;if(t)for(var n=0,i=s.length;n<i;n++){var o=s[n],a=t.normal,l=t.emphasis;a&&a[o]&&(e[o]=e[o]||{},e[o].normal?r.merge(e[o].normal,a[o]):e[o].normal=a[o],a[o]=null),l&&l[o]&&(e[o]=e[o]||{},e[o].emphasis?r.merge(e[o].emphasis,l[o]):e[o].emphasis=l[o],l[o]=null)}}function c(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var i=e[t].normal,o=e[t].emphasis;i&&(n?(e[t].normal=e[t].emphasis=null,r.defaults(e[t],i)):e[t]=i),o&&(e.emphasis=e.emphasis||{},e.emphasis[t]=o)}}function u(e){c(e,"itemStyle"),c(e,"lineStyle"),c(e,"areaStyle"),c(e,"label"),c(e,"labelLine"),c(e,"upperLabel"),c(e,"edgeLabel")}function d(e,t){var n=a(e)&&e[t],r=a(n)&&n.textStyle;if(r)for(var o=0,s=i.TEXT_STYLE_OPTIONS.length;o<s;o++){t=i.TEXT_STYLE_OPTIONS[o];r.hasOwnProperty(t)&&(n[t]=r[t])}}function h(e){e&&(u(e),d(e,"label"),e.emphasis&&d(e.emphasis,"label"))}function f(e){if(a(e)){l(e),u(e),d(e,"label"),d(e,"upperLabel"),d(e,"edgeLabel"),e.emphasis&&(d(e.emphasis,"label"),d(e.emphasis,"upperLabel"),d(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(l(t),h(t));var n=e.markLine;n&&(l(n),h(n));var i=e.markArea;i&&h(i);var o=e.data;if("graph"===e.type){o=o||e.nodes;var s=e.links||e.edges;if(s&&!r.isTypedArray(s))for(var f=0;f<s.length;f++)h(s[f]);r.each(e.categories,(function(e){u(e)}))}if(o&&!r.isTypedArray(o))for(f=0;f<o.length;f++)h(o[f]);t=e.markPoint;if(t&&t.data){var p=t.data;for(f=0;f<p.length;f++)h(p[f])}n=e.markLine;if(n&&n.data){var A=n.data;for(f=0;f<A.length;f++)r.isArray(A[f])?(h(A[f][0]),h(A[f][1])):h(A[f])}"gauge"===e.type?(d(e,"axisLabel"),d(e,"title"),d(e,"detail")):"treemap"===e.type?(c(e.breadcrumb,"itemStyle"),r.each(e.levels,(function(e){u(e)}))):"tree"===e.type&&u(e.leaves)}}function p(e){return r.isArray(e)?e:e?[e]:[]}function A(e){return(r.isArray(e)?e[0]:e)||{}}function g(e,t){o(p(e.series),(function(e){a(e)&&f(e)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),o(n,(function(t){o(p(e[t]),(function(e){e&&(d(e,"axisLabel"),d(e.axisPointer,"label"))}))})),o(p(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;d(t,"axisLabel"),d(t&&t.axisPointer,"label")})),o(p(e.calendar),(function(e){c(e,"itemStyle"),d(e,"dayLabel"),d(e,"monthLabel"),d(e,"yearLabel")})),o(p(e.radar),(function(e){d(e,"name")})),o(p(e.geo),(function(e){a(e)&&(h(e),o(p(e.regions),(function(e){h(e)})))})),o(p(e.timeline),(function(e){h(e),c(e,"label"),c(e,"itemStyle"),c(e,"controlStyle",!0);var t=e.data;r.isArray(t)&&r.each(t,(function(e){r.isObject(e)&&(c(e,"label"),c(e,"itemStyle"))}))})),o(p(e.toolbox),(function(e){c(e,"iconStyle"),o(e.feature,(function(e){c(e,"iconStyle")}))})),d(A(e.axisPointer),"label"),d(A(e.tooltip).axisPointer,"label")}e.exports=g},K2GJ:function(e,t,n){var r=n("fW2E"),i=n("gut8"),o=i.ContextCachedBy,a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],s=function(e){this.extendFrom(e,!1)};function l(e,t,n){var r=null==t.x?0:t.x,i=null==t.x2?1:t.x2,o=null==t.y?0:t.y,a=null==t.y2?0:t.y2;t.global||(r=r*n.width+n.x,i=i*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),r=isNaN(r)?0:r,i=isNaN(i)?1:i,o=isNaN(o)?0:o,a=isNaN(a)?0:a;var s=e.createLinearGradient(r,o,i,a);return s}function c(e,t,n){var r=n.width,i=n.height,o=Math.min(r,i),a=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;t.global||(a=a*r+n.x,s=s*i+n.y,l*=o);var c=e.createRadialGradient(a,s,0,a,s,l);return c}s.prototype={constructor:s,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(e,t,n){var i=this,s=n&&n.style,l=!s||e.__attrCachedBy!==o.STYLE_BIND;e.__attrCachedBy=o.STYLE_BIND;for(var c=0;c<a.length;c++){var u=a[c],d=u[0];(l||i[d]!==s[d])&&(e[d]=r(e,d,i[d]||u[1]))}if((l||i.fill!==s.fill)&&(e.fillStyle=i.fill),(l||i.stroke!==s.stroke)&&(e.strokeStyle=i.stroke),(l||i.opacity!==s.opacity)&&(e.globalAlpha=null==i.opacity?1:i.opacity),(l||i.blend!==s.blend)&&(e.globalCompositeOperation=i.blend||"source-over"),this.hasStroke()){var h=i.lineWidth;e.lineWidth=h/(this.strokeNoScale&&t&&t.getLineScale?t.getLineScale():1)}},hasFill:function(){var e=this.fill;return null!=e&&"none"!==e},hasStroke:function(){var e=this.stroke;return null!=e&&"none"!==e&&this.lineWidth>0},extendFrom:function(e,t){if(e)for(var n in e)!e.hasOwnProperty(n)||!0!==t&&(!1===t?this.hasOwnProperty(n):null==e[n])||(this[n]=e[n])},set:function(e,t){"string"===typeof e?this[e]=t:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,t,n){for(var r="radial"===t.type?c:l,i=r(e,t,n),o=t.colorStops,a=0;a<o.length;a++)i.addColorStop(o[a].offset,o[a].color);return i}};for(var u=s.prototype,d=0;d<a.length;d++){var h=a[d];h[0]in u||(u[h[0]]=h[1])}s.getGradient=u.getGradient;var f=s;e.exports=f},K4ya:function(e,t,n){var r=n("bYtY"),i=n("XxSj"),o=r.each;function a(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function s(e,t,n){var a={};return o(t,(function(t){var l=a[t]=s();o(e[t],(function(e,o){if(i.isValidType(o)){var a={type:o,visual:e};n&&n(a,t),l[o]=new i(a),"opacity"===o&&(a=r.clone(a),a.type="colorAlpha",l.__hidden.__alphaForOpacity=new i(a))}}))})),a;function s(){var e=function(){};e.prototype.__hidden=e.prototype;var t=new e;return t}}function l(e,t,n){var i;r.each(n,(function(e){t.hasOwnProperty(e)&&a(t[e])&&(i=!0)})),i&&r.each(n,(function(n){t.hasOwnProperty(n)&&a(t[n])?e[n]=r.clone(t[n]):delete e[n]}))}function c(e,t,n,o,a,s){var l,c={};function u(e){return n.getItemVisual(l,e)}function d(e,t){n.setItemVisual(l,e,t)}function h(e,r){l=null==s?e:r;var i=n.getRawDataItem(l);if(!i||!1!==i.visualMap)for(var h=o.call(a,e),f=t[h],p=c[h],A=0,g=p.length;A<g;A++){var m=p[A];f[m]&&f[m].applyVisual(e,u,d)}}r.each(e,(function(e){var n=i.prepareVisualTypes(t[e]);c[e]=n})),null==s?n.each(h):n.each([s],h)}function u(e,t,n,o){var a={};function s(e,r){function i(e){return r.getItemVisual(l,e)}function s(e,t){r.setItemVisual(l,e,t)}var l;null!=o&&(o=r.getDimension(o));while(null!=(l=e.next())){var c=r.getRawDataItem(l);if(!c||!1!==c.visualMap)for(var u=null!=o?r.get(o,l,!0):l,d=n(u),h=t[d],f=a[d],p=0,A=f.length;p<A;p++){var g=f[p];h[g]&&h[g].applyVisual(u,i,s)}}}return r.each(e,(function(e){var n=i.prepareVisualTypes(t[e]);a[e]=n})),{progress:s}}t.createVisualMappings=s,t.replaceVisualOption=l,t.applyVisual=c,t.incrementalApplyVisual=u},KCY9:function(e,t,n){},KCsZ:function(e,t,n){var r=n("bYtY");function i(e){for(var t=0;t<e.length;t++)e[t][1]||(e[t][1]=e[t][0]);return function(t,n,i){for(var o={},a=0;a<e.length;a++){var s=e[a][1];if(!(n&&r.indexOf(n,s)>=0||i&&r.indexOf(i,s)<0)){var l=t.getShallow(s);null!=l&&(o[e[a][0]]=l)}}return o}}e.exports=i},KMkd:function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},KPFz:function(e,t,n){},KQeH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},KS52:function(e,t,n){var r=n("OELB"),i=r.parsePercent,o=r.linearMap,a=n("+TT/"),s=n("u3DP"),l=n("bYtY"),c=2*Math.PI,u=Math.PI/180;function d(e,t){return a.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function h(e,t,n,r){t.eachSeriesByType(e,(function(e){var t=e.getData(),r=t.mapDimension("value"),a=d(e,n),h=e.get("center"),f=e.get("radius");l.isArray(f)||(f=[0,f]),l.isArray(h)||(h=[h,h]);var p=i(a.width,n.getWidth()),A=i(a.height,n.getHeight()),g=Math.min(p,A),m=i(h[0],p)+a.x,v=i(h[1],A)+a.y,y=i(f[0],g/2),b=i(f[1],g/2),_=-e.get("startAngle")*u,w=e.get("minAngle")*u,x=0;t.each(r,(function(e){!isNaN(e)&&x++}));var C=t.getSum(r),S=Math.PI/(C||x)*2,k=e.get("clockwise"),E=e.get("roseType"),O=e.get("stillShowZeroSum"),B=t.getDataExtent(r);B[0]=0;var M=c,T=0,I=_,L=k?1:-1;if(t.each(r,(function(e,n){var r;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:k,cx:m,cy:v,r0:y,r:E?NaN:b,viewRect:a});else{r="area"!==E?0===C&&O?S:e*S:c/x,r<w?(r=w,M-=w):T+=e;var i=I+L*r;t.setItemLayout(n,{angle:r,startAngle:I,endAngle:i,clockwise:k,cx:m,cy:v,r0:y,r:E?o(e,B,[y,b]):b,viewRect:a}),I=i}})),M<c&&x)if(M<=.001){var D=c/x;t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n);r.angle=D,r.startAngle=_+L*n*D,r.endAngle=_+L*(n+1)*D}}))}else S=M/T,I=_,t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n),i=r.angle===w?w:e*S;r.startAngle=I,r.endAngle=I+L*i,I+=L*i}}));s(e,b,a.width,a.height,a.x,a.y)}))}e.exports=h},KUOm:function(e,t){function n(e){var t={};e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getData(),i={};n.each((function(r){var o=n.getName(r);i["ec-"+o]=r;var a=n.getItemModel(r),s=a.get("itemStyle.color")||e.getColorFromPalette(o,t);n.setItemVisual(r,"color",s);for(var l=["opacity","symbol","symbolSize","symbolKeepAspect"],c=0;c<l.length;c++){var u=a.getShallow(l[c],!0);null!=u&&n.setItemVisual(r,l[c],u)}})),n.count()&&r.each((function(e){var t=r.getItemModel(e),o=t.getShallow("category");if(null!=o){"string"===typeof o&&(o=i["ec-"+o]);for(var a=["color","opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)null==r.getItemVisual(e,a[s],!0)&&r.setItemVisual(e,a[s],n.getItemVisual(o,a[s]))}}))}))}e.exports=n},Kagy:function(e,t){var n={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:""}}}};e.exports=n},KamJ:function(e,t,n){var r=n("ProS"),i=n("szbU");n("vF/C"),n("qwVE"),n("BuqR"),n("AE9C"),n("1u/T"),r.registerPreprocessor(i)},KmBX:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("CP8R")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="FilterFilled";var h=a.forwardRef(d);t.default=h},"KpQ+":function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("E/ki")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="ClockCircleOutlined";var h=a.forwardRef(d);t.default=h},KrTs:function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("cDf5"),a=n.n(o),s=n("pVnL"),l=n.n(s),c=n("q1tI"),u=n("UmKh"),d=n("TSYQ"),h=n.n(d),f=n("J4zp"),p=n.n(f),A=n("H84U"),g=n("0n0R"),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function v(e){return e?e.toString().split("").reverse().map((function(e){var t=Number(e);return isNaN(t)?e:t})):[]}function y(e,t){for(var n=[],r=0;r<30;r++)n.push(c["createElement"]("p",{key:r.toString(),className:h()(t,{current:e===r})},r%10));return n}var b=function(e){var t=e.prefixCls,n=e.count,r=e.className,i=e.style,o=e.title,a=e.component,s=void 0===a?"sup":a,u=e.displayComponent,d=e.onAnimated,f=void 0===d?function(){}:d,b=m(e,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),_=c["useState"](!0),w=p()(_,2),x=w[0],C=w[1],S=c["useState"](n),k=p()(S,2),E=k[0],O=k[1],B=c["useState"](n),M=p()(B,2),T=M[0],I=M[1],L=c["useState"](n),D=p()(L,2),P=D[0],N=D[1],j=c["useContext"](A["b"]),F=j.getPrefixCls,R=F("scroll-number",t);T!==n&&(C(!0),I(n)),c["useEffect"]((function(){var e;return N(E),x&&(e=setTimeout((function(){C(!1),O(n),f()}))),function(){e&&clearTimeout(e)}}),[x,n,f]);var U=function(e,t){var n=Math.abs(Number(E)),r=Math.abs(Number(P)),i=Math.abs(v(E)[t]),o=Math.abs(v(r)[t]);return x?10+e:n>r?i>=o?10+e:20+e:i<=o?10+e:e},H=function(e,t){if("number"===typeof e){var n=U(e,t),r=x||void 0===v(P)[t];return c["createElement"]("span",{className:"".concat(R,"-only"),style:{transition:r?"none":void 0,msTransform:"translateY(".concat(100*-n,"%)"),WebkitTransform:"translateY(".concat(100*-n,"%)"),transform:"translateY(".concat(100*-n,"%)")},key:t},y(n,"".concat(R,"-only-unit")))}return c["createElement"]("span",{key:"symbol",className:"".concat(R,"-symbol")},e)},Q=function(){return E&&Number(E)%1===0?v(E).map((function(e,t){return H(e,t)})).reverse():E},K=l()(l()({},b),{style:i,className:h()(R,r),title:o});return i&&i.borderColor&&(K.style=l()(l()({},i),{boxShadow:"0 0 0 1px ".concat(i.borderColor," inset")})),u?Object(g["a"])(u,{className:h()("".concat(R,"-custom-component"),u.props&&u.props.className)}):c["createElement"](s,K,Q())},_=b,w=n("09Wf");function x(e){return-1!==w["a"].indexOf(e)}var C=function(e){var t,n=e.className,r=e.prefixCls,o=e.style,a=e.color,s=e.children,u=e.text,d=e.placement,f=void 0===d?"end":d,p=c["useContext"](A["b"]),g=p.getPrefixCls,m=p.direction,v=g("ribbon",r),y=x(a),b=h()(v,n,"".concat(v,"-placement-").concat(f),(t={},i()(t,"".concat(v,"-rtl"),"rtl"===m),i()(t,"".concat(v,"-color-").concat(a),y),t)),_={},w={};return a&&!y&&(_.background=a,w.color=a),c["createElement"]("div",{className:"".concat(v,"-wrapper")},s,c["createElement"]("div",{className:b,style:l()(l()({},_),o)},u,c["createElement"]("div",{className:"".concat(v,"-corner"),style:w})))},S=C,k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},E=function(e){var t,n,r=e.prefixCls,o=e.scrollNumberPrefixCls,s=e.children,d=e.status,f=e.text,p=e.color,m=e.count,v=void 0===m?null:m,y=e.overflowCount,b=void 0===y?99:y,w=e.dot,C=void 0!==w&&w,S=e.size,E=void 0===S?"default":S,O=e.title,B=e.offset,M=e.style,T=e.className,I=e.showZero,L=void 0!==I&&I,D=k(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),P=c["useContext"](A["b"]),N=P.getPrefixCls,j=P.direction,F=N("badge",r),R=function(){var e=v>b?"".concat(b,"+"):v;return e},U=function(){return!!d||!!p},H=function(){var e=R();return"0"===e||0===e},Q=function(){return C&&!H()||U()},K=function(){return Q()?"":R()},z=function(){return O||("string"===typeof v||"number"===typeof v?v:void 0)},V=function(){return"rtl"===j?B?l()({left:parseInt(B[0],10),marginTop:B[1]},M):M:B?l()({right:-parseInt(B[0],10),marginTop:B[1]},M):M},W=function(){var e=K(),t=null===e||void 0===e||""===e;return(t||H()&&!L)&&!Q()},G=function(){var e=W();return e||!f?null:c["createElement"]("span",{className:"".concat(F,"-status-text")},f)},X=function(){var e=v;if(e&&"object"===a()(e))return Object(g["a"])(e,{style:l()(l()({},V()),e.props&&e.props.style)})},q=function(){var e,t=N("scroll-number",o),n=K(),r=Q(),a=W(),s=h()((e={},i()(e,"".concat(F,"-dot"),r),i()(e,"".concat(F,"-count"),!r),i()(e,"".concat(F,"-count-sm"),"small"===E),i()(e,"".concat(F,"-multiple-words"),!r&&v&&v.toString&&v.toString().length>1),i()(e,"".concat(F,"-status-").concat(d),!!d),i()(e,"".concat(F,"-status-").concat(p),x(p)),e)),l=V();return p&&!x(p)&&(l=l||{},l.background=p),a?null:c["createElement"](_,{prefixCls:t,"data-show":!a,className:s,count:n,displayComponent:X(),title:z(),style:l,key:"scrollNumber"})},Y=h()((t={},i()(t,"".concat(F,"-status-dot"),U()),i()(t,"".concat(F,"-status-").concat(d),!!d),i()(t,"".concat(F,"-status-").concat(p),x(p)),t)),Z={};p&&!x(p)&&(Z.background=p);var J=h()(T,F,(n={},i()(n,"".concat(F,"-status"),U()),i()(n,"".concat(F,"-not-a-wrapper"),!s),i()(n,"".concat(F,"-rtl"),"rtl"===j),n));if(!s&&U()){var $=V(),ee=$&&$.color;return c["createElement"]("span",l()({},D,{className:J,style:$}),c["createElement"]("span",{className:Y,style:Z}),c["createElement"]("span",{style:{color:ee},className:"".concat(F,"-status-text")},f))}return c["createElement"]("span",l()({},D,{className:J}),s,c["createElement"](u["a"],{component:"",showProp:"data-show",transitionName:s?"".concat(F,"-zoom"):"",transitionAppear:!0},q()),G())};E.Ribbon=S;t["a"]=E},Kvyg:function(e,t,n){},KxBF:function(e,t){function n(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;var o=Array(i);while(++r<i)o[r]=e[r+t];return o}e.exports=n},KxFI:function(e,t,n){},KxfA:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=(i.isTypedArray,i.extend),a=(i.assert,i.each),s=i.isObject,l=n("4NO4"),c=l.getDataItemValue,u=l.isDataItemOption,d=n("OELB"),h=d.parseDate,f=n("7G+c"),p=n("k9D9"),A=p.SOURCE_FORMAT_TYPED_ARRAY,g=p.SOURCE_FORMAT_ARRAY_ROWS,m=p.SOURCE_FORMAT_ORIGINAL,v=p.SOURCE_FORMAT_OBJECT_ROWS;function y(e,t){f.isInstance(e)||(e=f.seriesDataToSource(e)),this._source=e;var n=this._data=e.data,r=e.sourceFormat;r===A&&(this._offset=0,this._dimSize=t,this._data=n);var i=_[r===g?r+"_"+e.seriesLayoutBy:r];o(this,i)}var b=y.prototype;b.pure=!1,b.persistent=!0,b.getSource=function(){return this._source};var _={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(e){return this._data[e+this._source.startIndex]},appendData:C},arrayRows_row:{pure:!0,count:function(){var e=this._data[0];return e?Math.max(0,e.length-this._source.startIndex):0},getItem:function(e){e+=this._source.startIndex;for(var t=[],n=this._data,r=0;r<n.length;r++){var i=n[r];t.push(i?i[e]:null)}return t},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:w,getItem:x,appendData:C},keyedColumns:{pure:!0,count:function(){var e=this._source.dimensionsDefine[0].name,t=this._data[e];return t?t.length:0},getItem:function(e){for(var t=[],n=this._source.dimensionsDefine,r=0;r<n.length;r++){var i=this._data[n[r].name];t.push(i?i[e]:null)}return t},appendData:function(e){var t=this._data;a(e,(function(e,n){for(var r=t[n]||(t[n]=[]),i=0;i<(e||[]).length;i++)r.push(e[i])}))}},original:{count:w,getItem:x,appendData:C},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(e,t){e-=this._offset,t=t||[];for(var n=this._dimSize*e,r=0;r<this._dimSize;r++)t[r]=this._data[n+r];return t},appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}}};function w(){return this._data.length}function x(e){return this._data[e]}function C(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}var S={arrayRows:k,objectRows:function(e,t,n,r){return null!=n?e[r]:e},keyedColumns:k,original:function(e,t,n,r){var i=c(e);return null!=n&&i instanceof Array?i[n]:i},typedArray:k};function k(e,t,n,r){return null!=n?e[n]:e}var E={arrayRows:O,objectRows:function(e,t,n,r){return B(e[t],this._dimensionInfos[t])},keyedColumns:O,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return!this._rawData.pure&&u(e)&&(this.hasItemOption=!0),B(i instanceof Array?i[r]:i,this._dimensionInfos[t])},typedArray:function(e,t,n,r){return e[r]}};function O(e,t,n,r){return B(e[r],this._dimensionInfos[t])}function B(e,t){var n=t&&t.type;if("ordinal"===n){var r=t&&t.ordinalMeta;return r?r.parseAndCollect(e):e}return"time"===n&&"number"!==typeof e&&null!=e&&"-"!==e&&(e=+h(e)),null==e||""===e?NaN:+e}function M(e,t,n){if(e){var r=e.getRawDataItem(t);if(null!=r){var i,o,a=e.getProvider().getSource().sourceFormat,s=e.getDimensionInfo(n);return s&&(i=s.name,o=s.index),S[a](r,t,o,i)}}}function T(e,t,n){if(e){var r=e.getProvider().getSource().sourceFormat;if(r===m||r===v){var i=e.getRawDataItem(t);return r!==m||s(i)||(i=null),i?i[n]:void 0}}}t.DefaultDataProvider=y,t.defaultDimValueGetters=E,t.retrieveRawValue=M,t.retrieveRawAttr=T},L0Ub:function(e,t,n){var r=n("bYtY"),i=r.each,o=r.createHashMap,a=(r.assert,n("Tghj")),s=(a.__DEV__,o(["tooltip","label","itemName","itemId","seriesName"]));function l(e){var t={},n=t.encode={},r=o(),a=[],l=[],u=t.userOutput={dimensionNames:e.dimensions.slice(),encode:{}};i(e.dimensions,(function(t){var i=e.getDimensionInfo(t),o=i.coordDim;if(o){var h=i.coordDimIndex;c(n,o)[h]=t,i.isExtraCoord||(r.set(o,1),d(i.type)&&(a[0]=t),c(u.encode,o)[h]=i.index),i.defaultTooltip&&l.push(t)}s.each((function(e,t){var r=c(n,t),o=i.otherDims[t];null!=o&&!1!==o&&(r[o]=i.name)}))}));var h=[],f={};r.each((function(e,t){var r=n[t];f[t]=r[0],h=h.concat(r)})),t.dataDimsOnCoord=h,t.encodeFirstDimNotExtra=f;var p=n.label;p&&p.length&&(a=p.slice());var A=n.tooltip;return A&&A.length?l=A.slice():l.length||(l=a.slice()),n.defaultedLabel=a,n.defaultedTooltip=l,t}function c(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function u(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function d(e){return!("ordinal"===e||"time"===e)}t.OTHER_DIMENSIONS=s,t.summarizeDimensions=l,t.getDimensionTypeByAxis=u},L3Oj:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("HjIi");n("HM/N"),n("9eas"),n("eS4l"),n("y4/Y"),n("as94"),r.registerLayout(i.curry(o,"bar")),r.extendComponentView({type:"polar"})},L5E0:function(e,t){var n=["itemStyle","borderColor"];function r(e,t){var r=e.get("color");e.eachRawSeriesByType("boxplot",(function(t){var i=r[t.seriesIndex%r.length],o=t.getData();o.setVisual({legendSymbol:"roundRect",color:t.get(n)||i}),e.isSeriesFiltered(t)||o.each((function(e){var t=o.getItemModel(e);o.setItemVisual(e,{color:t.get(n,!0)})}))}))}e.exports=r},L8xA:function(e,t){function n(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}e.exports=n},LBfv:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=i.createHashMap,a=i.each;r.registerProcessor({getTargetSeries:function(e){var t=o();return e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,r){var i=r.getAxisProxy(e.name,n);a(i.getTargetSeriesModels(),(function(e){t.set(e.uid,e)}))}))})),t},modifyOutputEnd:!0,overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,r){r.getAxisProxy(e.name,n).reset(r,t)})),e.eachTargetAxis((function(e,n,r){r.getAxisProxy(e.name,n).filterData(r,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy(),n=t.getDataPercentWindow(),r=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}))}})},LCi9:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=0,s=1,l=2,c=4,u=8,d=16,h=32,f=64,p=127,A=50,g=90,m=250,v=1e3,y=1e3,b=50,_=function(){function e(){r(this,e),this._target=null,this._state=p,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return o(e,[{key:"attach",value:function(e){this.detach(),this._target=e,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(){this._target&&(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(e){var t;switch(e.stopPropagation(),e.preventDefault(),e.type){case"touchstart":t=this._touchStart;break;case"touchmove":t=this._touchMove;break;case"touchend":case"touchcancel":t=this._touchEnd;break}for(var n=0;n<e.changedTouches.length;n++){var r=e.changedTouches[n];t.call(this,r.identifier,r.clientX,r.clientY)}}},{key:"_touchStart",value:function(e,t,n){if(this._hasDetectedGesture()||this._state===a)this._ignored.push(e);else{if(this._tracked.length>0&&Date.now()-this._tracked[0].started>m)return this._state=a,void this._ignored.push(e);if(this._waitingRelease)return this._state=a,void this._ignored.push(e);switch(this._tracked.push({id:e,started:Date.now(),active:!0,firstX:t,firstY:n,lastX:t,lastY:n,angle:0}),this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(s|u|d),this._stopLongpressTimeout();break;case 3:this._state&=~(l|h|f);break;default:this._state=a}}}},{key:"_touchMove",value:function(e,t,n){var r=this._tracked.find((function(t){return t.id===e}));if(void 0!==r){r.lastX=t,r.lastY=n;var i=t-r.firstX,o=n-r.firstY;if(r.firstX===r.lastX&&r.firstY===r.lastY||(r.angle=180*Math.atan2(o,i)/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(i,o)<A)return;if(this._state&=~(s|l|c|d),this._stopLongpressTimeout(),1!==this._tracked.length&&(this._state&=~u),2!==this._tracked.length&&(this._state&=~(h|f)),2===this._tracked.length){var a=this._tracked.find((function(t){return t.id!==e})),p=Math.hypot(a.firstX-a.lastX,a.firstY-a.lastY);if(p>A){var m=Math.abs(r.angle-a.angle);m=Math.abs((m+180)%360-180),this._state&=m>g?~h:~f,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}}},{key:"_touchEnd",value:function(e,t,n){if(-1!==this._ignored.indexOf(e))return this._ignored.splice(this._ignored.indexOf(e),1),void(0===this._ignored.length&&0===this._tracked.length&&(this._state=p,this._waitingRelease=!1));if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=a),!this._hasDetectedGesture()&&(this._state&=~(u|h|f),this._state&=~d,this._stopLongpressTimeout(),!this._waitingRelease))switch(this._releaseStart=Date.now(),this._waitingRelease=!0,this._tracked.length){case 1:this._state&=~(l|c);break;case 2:this._state&=~(s|c);break}if(this._waitingRelease){Date.now()-this._releaseStart>m&&(this._state=a),this._tracked.some((function(e){return Date.now()-e.started>v}))&&(this._state=a);var r=this._tracked.find((function(t){return t.id===e}));if(r.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==a)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var i=0;i<this._tracked.length;i++)this._tracked[i].active&&this._ignored.push(this._tracked[i].id);this._tracked=[],this._state=a,-1!==this._ignored.indexOf(e)&&this._ignored.splice(this._ignored.indexOf(e),1),0===this._ignored.length&&(this._state=p,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state!==a&&(!(this._state&this._state-1)&&!(this._state&(s|l|c)&&this._tracked.some((function(e){return e.active}))))}},{key:"_startLongpressTimeout",value:function(){var e=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout((function(){return e._longpressTimeout()}),y)}},{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=d,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var e=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout((function(){return e._twoTouchTimeout()}),b)}},{key:"_stopTwoTouchTimeout",value:function(){clearTimeout(this._twoTouchTimeoutId),this._twoTouchTimeoutId=null}},{key:"_isTwoTouchTimeoutRunning",value:function(){return null!==this._twoTouchTimeoutId}},{key:"_twoTouchTimeout",value:function(){if(0===this._tracked.length)throw new Error("A pinch or two drag gesture failed, no tracked touches");var e=this._getAverageMovement(),t=Math.abs(e.x),n=Math.abs(e.y),r=this._getAverageDistance(),i=Math.abs(Math.hypot(r.first.x,r.first.y)-Math.hypot(r.last.x,r.last.y));this._state=n<i&&t<i?f:h,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(e){var t={type:this._stateToGesture(this._state)},n=this._getPosition(),r=n.last;switch("gesturestart"===e&&(r=n.first),this._state){case h:case f:r=n.first;break}if(t["clientX"]=r.x,t["clientY"]=r.y,this._state===f){var i=this._getAverageDistance();"gesturestart"===e?(t["magnitudeX"]=i.first.x,t["magnitudeY"]=i.first.y):(t["magnitudeX"]=i.last.x,t["magnitudeY"]=i.last.y)}else if(this._state===h)if("gesturestart"===e)t["magnitudeX"]=0,t["magnitudeY"]=0;else{var o=this._getAverageMovement();t["magnitudeX"]=o.x,t["magnitudeY"]=o.y}var a=new CustomEvent(e,{detail:t});this._target.dispatchEvent(a)}},{key:"_stateToGesture",value:function(e){switch(e){case s:return"onetap";case l:return"twotap";case c:return"threetap";case u:return"drag";case d:return"longpress";case h:return"twodrag";case f:return"pinch"}throw new Error("Unknown gesture state: "+e)}},{key:"_getPosition",value:function(){if(0===this._tracked.length)throw new Error("Failed to get gesture position, no tracked touches");for(var e=this._tracked.length,t=0,n=0,r=0,i=0,o=0;o<this._tracked.length;o++)t+=this._tracked[o].firstX,n+=this._tracked[o].firstY,r+=this._tracked[o].lastX,i+=this._tracked[o].lastY;return{first:{x:t/e,y:n/e},last:{x:r/e,y:i/e}}}},{key:"_getAverageMovement",value:function(){if(0===this._tracked.length)throw new Error("Failed to get gesture movement, no tracked touches");var e,t;e=t=0;for(var n=this._tracked.length,r=0;r<this._tracked.length;r++)e+=this._tracked[r].lastX-this._tracked[r].firstX,t+=this._tracked[r].lastY-this._tracked[r].firstY;return{x:e/n,y:t/n}}},{key:"_getAverageDistance",value:function(){if(0===this._tracked.length)throw new Error("Failed to get gesture distance, no tracked touches");var e=this._tracked[0],t=this._tracked[this._tracked.length-1],n=Math.abs(t.firstX-e.firstX),r=Math.abs(t.firstY-e.firstY),i=Math.abs(t.lastX-e.lastX),o=Math.abs(t.lastY-e.lastY);return{first:{x:n,y:r},last:{x:i,y:o}}}}]),e}();t["default"]=_},LPTA:function(e,t){var n=1;"undefined"!==typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var r=0,i=n;t.debugMode=r,t.devicePixelRatio=i},LPzL:function(e,t,n){var r=n("ProS");n("QzjZ"),n("vL6D"),n("xiyX"),n("y4/Y"),n("8Th4"),r.extendComponentView({type:"single"})},LSTS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n("q1tI"),o=l(i),a=n("17x9"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(e){u(this,t);var n=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.scrollListener=n.scrollListener.bind(n),n.eventListenerOptions=n.eventListenerOptions.bind(n),n.mousewheelListener=n.mousewheelListener.bind(n),n}return h(t,e),r(t,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var e=this.getParentElement(this.scrollComponent);e.scrollTop=e.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var e=!1,t={get passive(){e=!0}};try{document.addEventListener("test",null,t),document.removeEventListener("test",null,t)}catch(n){}return e}},{key:"eventListenerOptions",value:function(){var e=this.props.useCapture;return this.isPassiveSupported()&&(e={useCapture:this.props.useCapture,passive:!0}),e}},{key:"setDefaultLoader",value:function(e){this.defaultLoader=e}},{key:"detachMousewheelListener",value:function(){var e=window;!1===this.props.useWindow&&(e=this.scrollComponent.parentNode),e.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var e=window;!1===this.props.useWindow&&(e=this.getParentElement(this.scrollComponent)),e.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),e.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(e){var t=this.props.getScrollParent&&this.props.getScrollParent();return null!=t?t:e&&e.parentNode}},{key:"filterProps",value:function(e){return e}},{key:"attachScrollListener",value:function(){var e=this.getParentElement(this.scrollComponent);if(this.props.hasMore&&e){var t=window;!1===this.props.useWindow&&(t=e),t.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),t.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(e){1!==e.deltaY||this.isPassiveSupported()||e.preventDefault()}},{key:"scrollListener",value:function(){var e=this.scrollComponent,t=window,n=this.getParentElement(e),r=void 0;if(this.props.useWindow){var i=document.documentElement||document.body.parentNode||document.body,o=void 0!==t.pageYOffset?t.pageYOffset:i.scrollTop;r=this.props.isReverse?o:this.calculateOffset(e,o)}else r=this.props.isReverse?n.scrollTop:e.scrollHeight-n.scrollTop-n.clientHeight;r<Number(this.props.threshold)&&e&&null!==e.offsetParent&&(this.detachScrollListener(),this.beforeScrollHeight=n.scrollHeight,this.beforeScrollTop=n.scrollTop,"function"===typeof this.props.loadMore&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(e,t){return e?this.calculateTopPosition(e)+(e.offsetHeight-t-window.innerHeight):0}},{key:"calculateTopPosition",value:function(e){return e?e.offsetTop+this.calculateTopPosition(e.offsetParent):0}},{key:"render",value:function(){var e=this,t=this.filterProps(this.props),n=t.children,r=t.element,i=t.hasMore,a=(t.initialLoad,t.isReverse),s=t.loader,l=(t.loadMore,t.pageStart,t.ref),u=(t.threshold,t.useCapture,t.useWindow,t.getScrollParent,c(t,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]));u.ref=function(t){e.scrollComponent=t,l&&l(t)};var d=[n];return i&&(s?a?d.unshift(s):d.push(s):this.defaultLoader&&(a?d.unshift(this.defaultLoader):d.push(this.defaultLoader))),o["default"].createElement(r,u,d)}}]),t}(i.Component);f.propTypes={children:s["default"].node.isRequired,element:s["default"].node,hasMore:s["default"].bool,initialLoad:s["default"].bool,isReverse:s["default"].bool,loader:s["default"].node,loadMore:s["default"].func.isRequired,pageStart:s["default"].number,ref:s["default"].func,getScrollParent:s["default"].func,threshold:s["default"].number,useCapture:s["default"].bool,useWindow:s["default"].bool},f.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},t["default"]=f,e.exports=t["default"]},LXxW:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length,i=0,o=[];while(++n<r){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}e.exports=n},Lerx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("Mds0"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},Llu2:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="DeliveredProcedureOutlined";t["a"]=i["forwardRef"](l)},Lo0S:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initLogging=l,t.getLogging=c,t.Error=t.Warn=t.Info=t.Debug=void 0;var r="warn",i=function(){};t.Debug=i;var o=function(){};t.Info=o;var a=function(){};t.Warn=a;var s=function(){};function l(e){if("undefined"===typeof e?e=r:r=e,t.Debug=i=t.Info=o=t.Warn=a=t.Error=s=function(){},"undefined"!==typeof window.console)switch(e){case"debug":t.Debug=i=console.debug.bind(window.console);case"info":t.Info=o=console.info.bind(window.console);case"warn":t.Warn=a=console.warn.bind(window.console);case"error":t.Error=s=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+e+"'")}}function c(){return r}t.Error=s,l()},LtfV:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="InboxOutlined";t["a"]=i["forwardRef"](l)},Lyp1:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="QuestionCircleOutlined";t["a"]=i["forwardRef"](l)},LzGr:function(e,t,n){var r=n("ProS"),i=n("rnVJ");n("EMyp"),n("8x+h"),n("wt3j"),n("uOyE"),n("/stD"),r.registerPreprocessor(i)},MBQ8:function(e,t,n){var r=n("T4UG"),i=n("MwEJ"),o=r.extend({type:"series.__base_bar__",getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(e){var t=this.coordinateSystem;if(t){var n=t.dataToPoint(t.clampData(e)),r=this.getData(),i=r.getLayout("offset"),o=r.getLayout("size"),a=t.getBaseAxis().isHorizontal()?0:1;return n[a]+=i+o/2,n}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:{}}});e.exports=o},MEGo:function(e,t,n){var r=n("4fz+"),i=n("Dagg"),o=n("dqUG"),a=n("2fw6"),s=n("x6Kt"),l=n("rmlV"),c=n("yxFR"),u=n("y+Vt"),d=n("h7HQ"),h=n("1Jh7"),f=n("SKnc"),p=n("K2GJ"),A=n("Fofx"),g=n("NC18"),m=g.createFromString,v=n("bYtY"),y=v.isString,b=v.extend,_=v.defaults,w=v.trim,x=v.each,C=/[\s,]+/;function S(e){if(y(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}9===e.nodeType&&(e=e.firstChild);while("svg"!==e.nodeName.toLowerCase()||1!==e.nodeType)e=e.nextSibling;return e}function k(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}k.prototype.parse=function(e,t){t=t||{};var n=S(e);if(!n)throw new Error("Illegal svg");var i=new r;this._root=i;var o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||t.width),l=parseFloat(n.getAttribute("height")||t.height);isNaN(a)&&(a=null),isNaN(l)&&(l=null),L(n,i,null,!0);var c,u,d=n.firstChild;while(d)this._parseNode(d,i),d=d.nextSibling;if(o){var h=w(o).split(C);h.length>=4&&(c={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(c&&null!=a&&null!=l&&(u=U(c,a,l),!t.ignoreViewBox)){var f=i;i=new r,i.add(f),f.scale=u.scale.slice(),f.position=u.position.slice()}return t.ignoreRootClip||null==a||null==l||i.setClipPath(new s({shape:{x:0,y:0,width:a,height:l}})),{root:i,width:a,height:l,viewBoxRect:c,viewBoxTransform:u}},k.prototype._parseNode=function(e,t){var n,r=e.nodeName.toLowerCase();if("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine){var i=O[r];if(i){var o=i.call(this,e),a=e.getAttribute("id");a&&(this._defs[a]=o)}}else{i=E[r];i&&(n=i.call(this,e,t),t.add(n))}var s=e.firstChild;while(s)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},k.prototype._parseText=function(e,t){if(1===e.nodeType){var n=e.getAttribute("dx")||0,r=e.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(r)}var i=new o({style:{text:e.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});M(t,i),L(e,i,this._defs);var a=i.style.fontSize;a&&a<9&&(i.style.fontSize=9,i.scale=i.scale||[1,1],i.scale[0]*=a/9,i.scale[1]*=a/9);var s=i.getBoundingRect();return this._textX+=s.width,t.add(i),i};var E={g:function(e,t){var n=new r;return M(t,n),L(e,n,this._defs),n},rect:function(e,t){var n=new s;return M(t,n),L(e,n,this._defs),n.setShape({x:parseFloat(e.getAttribute("x")||0),y:parseFloat(e.getAttribute("y")||0),width:parseFloat(e.getAttribute("width")||0),height:parseFloat(e.getAttribute("height")||0)}),n},circle:function(e,t){var n=new a;return M(t,n),L(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),r:parseFloat(e.getAttribute("r")||0)}),n},line:function(e,t){var n=new c;return M(t,n),L(e,n,this._defs),n.setShape({x1:parseFloat(e.getAttribute("x1")||0),y1:parseFloat(e.getAttribute("y1")||0),x2:parseFloat(e.getAttribute("x2")||0),y2:parseFloat(e.getAttribute("y2")||0)}),n},ellipse:function(e,t){var n=new l;return M(t,n),L(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),rx:parseFloat(e.getAttribute("rx")||0),ry:parseFloat(e.getAttribute("ry")||0)}),n},polygon:function(e,t){var n=e.getAttribute("points");n&&(n=T(n));var r=new d({shape:{points:n||[]}});return M(t,r),L(e,r,this._defs),r},polyline:function(e,t){var n=new u;M(t,n),L(e,n,this._defs);var r=e.getAttribute("points");r&&(r=T(r));var i=new h({shape:{points:r||[]}});return i},image:function(e,t){var n=new i;return M(t,n),L(e,n,this._defs),n.setStyle({image:e.getAttribute("xlink:href"),x:e.getAttribute("x"),y:e.getAttribute("y"),width:e.getAttribute("width"),height:e.getAttribute("height")}),n},text:function(e,t){var n=e.getAttribute("x")||0,i=e.getAttribute("y")||0,o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(i)+parseFloat(a);var s=new r;return M(t,s),L(e,s,this._defs),s},tspan:function(e,t){var n=e.getAttribute("x"),i=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0,s=new r;return M(t,s),L(e,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(e,t){var n=e.getAttribute("d")||"",r=m(n);return M(t,r),L(e,r,this._defs),r}},O={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||0,10),n=parseInt(e.getAttribute("y1")||0,10),r=parseInt(e.getAttribute("x2")||10,10),i=parseInt(e.getAttribute("y2")||0,10),o=new f(t,n,r,i);return B(e,o),o},radialgradient:function(e){}};function B(e,t){var n=e.firstChild;while(n){if(1===n.nodeType){var r=n.getAttribute("offset");r=r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var i=n.getAttribute("stop-color")||"#000000";t.addColorStop(r,i)}n=n.nextSibling}}function M(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),_(t.__inheritedStyle,e.__inheritedStyle))}function T(e){for(var t=w(e).split(C),n=[],r=0;r<t.length;r+=2){var i=parseFloat(t[r]),o=parseFloat(t[r+1]);n.push([i,o])}return n}var I={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 L(e,t,n,r){var i=t.__inheritedStyle||{},o="text"===t.type;if(1===e.nodeType&&(j(e,t),b(i,R(e)),!r))for(var a in I)if(I.hasOwnProperty(a)){var s=e.getAttribute(a);null!=s&&(i[I[a]]=s)}var l=o?"textFill":"fill",c=o?"textStroke":"stroke";t.style=t.style||new p;var u=t.style;null!=i.fill&&u.set(l,P(i.fill,n)),null!=i.stroke&&u.set(c,P(i.stroke,n)),x(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){var t="lineWidth"===e&&o?"textStrokeWidth":e;null!=i[e]&&u.set(t,parseFloat(i[e]))})),i.textBaseline&&"auto"!==i.textBaseline||(i.textBaseline="alphabetic"),"alphabetic"===i.textBaseline&&(i.textBaseline="bottom"),"start"===i.textAlign&&(i.textAlign="left"),"end"===i.textAlign&&(i.textAlign="right"),x(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(e){null!=i[e]&&u.set(e,i[e])})),i.lineDash&&(t.style.lineDash=w(i.lineDash).split(C)),u[c]&&"none"!==u[c]&&(t[c]=!0),t.__inheritedStyle=i}var D=/url\(\s*#(.*?)\)/;function P(e,t){var n=t&&e&&e.match(D);if(n){var r=w(n[1]),i=t[r];return i}return e}var N=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function j(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var r=null,i=[];n.replace(N,(function(e,t,n){i.push(t,n)}));for(var o=i.length-1;o>0;o-=2){var a=i[o],s=i[o-1];switch(r=r||A.create(),s){case"translate":a=w(a).split(C),A.translate(r,r,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=w(a).split(C),A.scale(r,r,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=w(a).split(C),A.rotate(r,r,parseFloat(a[0]));break;case"skew":a=w(a).split(C),console.warn("Skew transform is not supported yet");break;case"matrix":a=w(a).split(C);r[0]=parseFloat(a[0]),r[1]=parseFloat(a[1]),r[2]=parseFloat(a[2]),r[3]=parseFloat(a[3]),r[4]=parseFloat(a[4]),r[5]=parseFloat(a[5]);break}}t.setLocalTransform(r)}}var F=/([^\s:;]+)\s*:\s*([^:;]+)/g;function R(e){var t=e.getAttribute("style"),n={};if(!t)return n;var r,i={};F.lastIndex=0;while(null!=(r=F.exec(t)))i[r[1]]=r[2];for(var o in I)I.hasOwnProperty(o)&&null!=i[o]&&(n[I[o]]=i[o]);return n}function U(e,t,n){var r=t/e.width,i=n/e.height,o=Math.min(r,i),a=[o,o],s=[-(e.x+e.width/2)*o+t/2,-(e.y+e.height/2)*o+n/2];return{scale:a,position:s}}function H(e,t){var n=new k;return n.parse(e,t)}t.parseXML=S,t.makeViewBoxTransform=U,t.parseSVG=H},MFOe:function(e,t,n){(function(t){var n=a(),r=s(),i=l(),o="undefined"!==typeof window?window:t;function a(){return Object.assign?Object.assign:function(e,t,n,r){for(var i=1;i<arguments.length;i++)d(Object(arguments[i]),(function(t,n){e[n]=t}));return e}}function s(){if(Object.create)return function(e,t,r,i){var o=u(arguments,1);return n.apply(this,[Object.create(e)].concat(o))};var e=function(){};return function(t,r,i,o){var a=u(arguments,1);return e.prototype=t,n.apply(this,[new e].concat(a))}}function l(){return String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function c(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}}function u(e,t){return Array.prototype.slice.call(e,t||0)}function d(e,t){f(e,(function(e,n){return t(e,n),!1}))}function h(e,t){var n=p(e)?[]:{};return f(e,(function(e,r){return n[r]=t(e,r),!1})),n}function f(e,t){if(p(e)){for(var n=0;n<e.length;n++)if(t(e[n],n))return e[n]}else for(var r in e)if(e.hasOwnProperty(r)&&t(e[r],r))return e[r]}function p(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}function A(e){return e&&"[object Function]"==={}.toString.call(e)}function g(e){return e&&"[object Object]"==={}.toString.call(e)}e.exports={assign:n,create:r,trim:i,bind:c,slice:u,each:d,map:h,pluck:f,isList:p,isFunction:A,isObject:g,Global:o}}).call(this,n("yLpj"))},MH26:function(e,t,n){var r=n("bYtY"),i=n("YXkt"),o=n("OELB"),a=n("kj2x"),s=n("c8qY"),l=n("iPDy"),c=n("7hqr"),u=c.getStackedDimension,d=function(e,t,n,i){var o=e.getData(),s=i.type;if(!r.isArray(i)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=i.xAxis||null!=i.yAxis)){var l,c;if(null!=i.yAxis||null!=i.xAxis)l=t.getAxis(null!=i.yAxis?"y":"x"),c=r.retrieve(i.yAxis,i.xAxis);else{var d=a.getAxisInfo(i,o,t,e);l=d.valueAxis;var h=u(o,d.valueDataDim);c=a.numCalculate(o,h,s)}var f="x"===l.dim?0:1,p=1-f,A=r.clone(i),g={};A.type=null,A.coord=[],g.coord=[],A.coord[p]=-1/0,g.coord[p]=1/0;var m=n.get("precision");m>=0&&"number"===typeof c&&(c=+c.toFixed(Math.min(m,20))),A.coord[f]=g.coord[f]=c,i=[A,g,{type:s,valueIndex:i.valueIndex,value:c}]}return i=[a.dataTransform(e,i[0]),a.dataTransform(e,i[1]),r.extend({},i[2])],i[2].type=i[2].type||"",r.merge(i[2],i[0]),r.merge(i[2],i[1]),i};function h(e){return!isNaN(e)&&!isFinite(e)}function f(e,t,n,r){var i=1-e,o=r.dimensions[e];return h(t[i])&&h(n[i])&&t[e]===n[e]&&r.getAxis(o).containData(t[e])}function p(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(f(1,n,r,e)||f(0,n,r,e)))return!0}return a.dataFilter(e,t[0])&&a.dataFilter(e,t[1])}function A(e,t,n,r,i){var a,s=r.coordinateSystem,l=e.getItemModel(t),c=o.parsePercent(l.get("x"),i.getWidth()),u=o.parsePercent(l.get("y"),i.getHeight());if(isNaN(c)||isNaN(u)){if(r.getMarkerPosition)a=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var d=s.dimensions,f=e.get(d[0],t),p=e.get(d[1],t);a=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var A=s.getAxis("x"),g=s.getAxis("y");d=s.dimensions;h(e.get(d[0],t))?a[0]=A.toGlobalCoord(A.getExtent()[n?0:1]):h(e.get(d[1],t))&&(a[1]=g.toGlobalCoord(g.getExtent()[n?0:1]))}isNaN(c)||(a[0]=c),isNaN(u)||(a[1]=u)}else a=[c,u];e.setItemLayout(t,a)}var g=l.extend({type:"markLine",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markLineModel;if(t){var r=t.getData(),i=t.__from,o=t.__to;i.each((function(t){A(i,t,!0,e,n),A(o,t,!1,e,n)})),r.each((function(e){r.setItemLayout(e,[i.getItemLayout(e),o.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},renderSeries:function(e,t,n,i){var o=e.coordinateSystem,a=e.id,l=e.getData(),c=this.markerGroupMap,u=c.get(a)||c.set(a,new s);this.group.add(u.group);var d=m(o,e,t),h=d.from,f=d.to,p=d.line;t.__from=h,t.__to=f,t.setData(p);var g=t.get("symbol"),v=t.get("symbolSize");function y(t,n,r){var o=t.getItemModel(n);A(t,n,r,e,i),t.setItemVisual(n,{symbolSize:o.get("symbolSize")||v[r?0:1],symbol:o.get("symbol",!0)||g[r?0:1],color:o.get("itemStyle.color")||l.getVisual("color")})}r.isArray(g)||(g=[g,g]),"number"===typeof v&&(v=[v,v]),d.from.each((function(e){y(h,e,!0),y(f,e,!1)})),p.each((function(e){var t=p.getItemModel(e).get("lineStyle.color");p.setItemVisual(e,{color:t||h.getItemVisual(e,"color")}),p.setItemLayout(e,[h.getItemLayout(e),f.getItemLayout(e)]),p.setItemVisual(e,{fromSymbolSize:h.getItemVisual(e,"symbolSize"),fromSymbol:h.getItemVisual(e,"symbol"),toSymbolSize:f.getItemVisual(e,"symbolSize"),toSymbol:f.getItemVisual(e,"symbol")})})),u.updateData(p),d.line.eachItemGraphicEl((function(e,n){e.traverse((function(e){e.dataModel=t}))})),u.__keep=!0,u.group.silent=t.get("silent")||e.get("silent")}});function m(e,t,n){var o;o=e?r.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return r.defaults({name:e},n)})):[{name:"value",type:"float"}];var s=new i(o,n),l=new i(o,n),c=new i([],n),u=r.map(n.get("data"),r.curry(d,t,e,n));e&&(u=r.filter(u,r.curry(p,e)));var h=e?a.dimValueGetter:function(e){return e.value};return s.initData(r.map(u,(function(e){return e[0]})),null,h),l.initData(r.map(u,(function(e){return e[1]})),null,h),c.initData(r.map(u,(function(e){return e[2]}))),c.hasItemOption=!0,{from:s,to:l,line:c}}e.exports=g},MHoB:function(e,t,n){var r=n("bYtY"),i=n("6uqw"),o=n("OELB"),a=[20,140],s=i.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(e,t){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=a[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=a[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):r.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){i.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=o.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},getValueState:function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)}),this),t.push({seriesId:n.id,dataIndex:r})}),this),t},getVisualMeta:function(e){var t=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),r=[];function i(t,n){r.push({value:t,color:e(t,n)})}for(var o=0,a=0,s=n.length,c=t.length;a<c&&(!n.length||t[a]<=n[0]);a++)t[a]<n[o]&&i(t[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&r.length&&i(n[o],"outOfRange"),i(n[o],"inRange");for(u=1;a<c;a++)(!n.length||n[n.length-1]<t[a])&&(u&&(r.length&&i(r[r.length-1].value,"outOfRange"),u=0),i(t[a],"outOfRange"));var d=r.length;return{stops:r,outerColors:[d?r[0].color:"transparent",d?r[d-1].color:"transparent"]}}});function l(e,t,n){if(n[0]===n[1])return n.slice();for(var r=200,i=(n[1]-n[0])/r,o=n[0],a=[],s=0;s<=r&&o<n[1];s++)a.push(o),o+=i;return a.push(n[1]),a}var c=s;e.exports=c},MHtr:function(e,t,n){var r=n("bYtY");function i(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,i=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function o(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:r.bind(i,e)}}}e.exports=o},MJZm:function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("q1tI"),l=n("rePB"),c=n("VTBJ"),u=n("KQm4"),d=n("1OyB"),h=n("vuIU"),f=n("Ji7U"),p=n("LK+K"),A=n("4IlW"),g=n("Kwbf"),m=n("TSYQ"),v=n.n(m),y=n("FTAc"),b=n("wPhX"),_=n("c3jg"),w=n("ODXe"),x=n("Ff2n"),C=n("+nKL"),S=n("HTfv"),k=n("lr6o"),E=function(e,t){var n=e.className,r=e.style,i=e.motion,o=e.motionNodes,a=e.motionType,l=e.onMotionStart,c=e.onMotionEnd,u=e.active,d=e.treeNodeRequiredProps,h=Object(x["a"])(e,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),f=s["useState"](!0),p=Object(w["a"])(f,2),A=p[0],g=p[1],m=s["useContext"](y["a"]),b=m.prefixCls,C=s["useRef"](!1),E=function(){C.current||c(),C.current=!0};return Object(s["useEffect"])((function(){o&&"hide"===a&&A&&g(!1)}),[o]),Object(s["useEffect"])((function(){return o&&l(),function(){o&&E()}}),[]),o?s["createElement"](S["default"],Object.assign({ref:t,visible:A},i,{motionAppear:"show"===a,onAppearEnd:E,onLeaveEnd:E}),(function(e,t){var n=e.className,r=e.style;return s["createElement"]("div",{ref:t,className:v()("".concat(b,"-treenode-motion"),n),style:r},o.map((function(e){var t=e.data,n=t.key,r=Object(x["a"])(t,["key"]),i=e.isStart,o=e.isEnd;delete r.children;var a=Object(_["f"])(n,d);return s["createElement"](k["a"],Object.assign({},r,a,{active:u,data:e.data,key:n,isStart:i,isEnd:o}))})))})):s["createElement"](k["a"],Object.assign({domRef:t,className:n,style:r},h,{active:u}))};E.displayName="MotionTreeNode";var O=s["forwardRef"](E),B=O;function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function i(e,t){var n=new Map;e.forEach((function(e){n.set(e,!0)}));var r=t.filter((function(e){return!n.has(e)}));return 1===r.length?r[0]:null}return n<r?{add:!0,key:i(e,t)}:{add:!1,key:i(t,e)}}function T(e,t,n){var r=e.findIndex((function(e){var t=e.data;return t.key===n})),i=e[r+1],o=t.findIndex((function(e){var t=e.data;return t.key===n}));if(i){var a=t.findIndex((function(e){var t=e.data;return t.key===i.data.key}));return t.slice(o+1,a)}return t.slice(o+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()),P={key:D},N={key:D,level:0,index:0,pos:"0",node:P},j={parent:null,children:[],pos:N.pos,data:P,isStart:[],isEnd:[]};function F(e,t,n,r){return!1!==t&&n?e.slice(0,Math.ceil(n/r)+1):e}function R(e){var t=e.data.key,n=e.pos;return Object(_["e"])(t,n)}function U(e){var t=String(e.data.key),n=e;while(n.parent)n=n.parent,t="".concat(n.data.key," > ").concat(t);return t}var H=function(e,t){var n=e.prefixCls,r=e.data,i=(e.selectable,e.checkable,e.expandedKeys),o=e.selectedKeys,a=e.checkedKeys,l=e.loadedKeys,c=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,h=e.disabled,f=e.dragging,p=e.dragOverNodeKey,A=e.dropPosition,g=e.motion,m=e.height,v=e.itemHeight,y=e.virtual,b=e.focusable,S=e.activeItem,k=e.focused,E=e.tabIndex,O=e.onKeyDown,P=e.onFocus,N=e.onBlur,H=e.onActiveChange,Q=e.onListChangeStart,K=e.onListChangeEnd,z=Object(x["a"])(e,["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"]),V=s["useRef"](null);s["useImperativeHandle"](t,(function(){return{scrollTo:function(e){V.current.scrollTo(e)}}}));var W=s["useState"](i),G=Object(w["a"])(W,2),X=G[0],q=G[1],Y=s["useState"](r),Z=Object(w["a"])(Y,2),J=Z[0],$=Z[1],ee=s["useState"](r),te=Object(w["a"])(ee,2),ne=te[0],re=te[1],ie=s["useState"]([]),oe=Object(w["a"])(ie,2),ae=oe[0],se=oe[1],le=s["useState"](null),ce=Object(w["a"])(le,2),ue=ce[0],de=ce[1];function he(){$(r),re(r),se([]),de(null),K()}s["useEffect"]((function(){q(i);var e=M(X,i);if(null!==e.key)if(e.add){var t=J.findIndex((function(t){var n=t.data.key;return n===e.key})),n=F(T(J,r,e.key),y,m,v),o=J.slice();o.splice(t+1,0,j),re(o),se(n),de("show")}else{var a=r.findIndex((function(t){var n=t.data.key;return n===e.key})),s=F(T(r,J,e.key),y,m,v),l=r.slice();l.splice(a+1,0,j),re(l),se(s),de("hide")}else J!==r&&($(r),re(r))}),[i,r]),s["useEffect"]((function(){f||he()}),[f]);var fe=g?ne:r,pe={expandedKeys:i,selectedKeys:o,loadedKeys:l,loadingKeys:c,checkedKeys:a,halfCheckedKeys:u,dragOverNodeKey:p,dropPosition:A,keyEntities:d};return s["createElement"](s["Fragment"],null,k&&S&&s["createElement"]("span",{style:I,"aria-live":"assertive"},U(S)),s["createElement"]("div",{role:"tree"},s["createElement"]("input",{style:I,disabled:!1===b||h,tabIndex:!1!==b?E:null,onKeyDown:O,onFocus:P,onBlur:N,value:"",onChange:L})),s["createElement"](C["a"],Object.assign({},z,{data:fe,itemKey:R,height:m,fullHeight:!1,virtual:y,itemHeight:v,prefixCls:"".concat(n,"-list"),ref:V}),(function(e){var t=e.pos,n=e.data,r=n.key,i=Object(x["a"])(n,["key"]),o=e.isStart,a=e.isEnd,l=Object(_["e"])(r,t);delete i.children;var c=Object(_["f"])(l,pe);return s["createElement"](B,Object.assign({},i,c,{active:S&&r===S.data.key,pos:t,data:e.data,isStart:o,isEnd:a,motion:g,motionNodes:r===D?ae:null,motionType:ue,onMotionStart:Q,onMotionEnd:he,treeNodeRequiredProps:pe,onMouseMove:function(){H(null)}}))})))},Q=s["forwardRef"](H);Q.displayName="NodeList";var K=Q,z=n("qOx5"),V=function(e){Object(f["a"])(n,e);var t=Object(p["a"])(n);function n(){var e;return Object(d["a"])(this,n),e=t.apply(this,arguments),e.destroyed=!1,e.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},e.listRef=s["createRef"](),e.onNodeDragStart=function(t,n){var r=e.state,i=r.expandedKeys,o=r.keyEntities,a=e.props.onDragStart,s=n.props.eventKey;e.dragNode=n;var l=Object(b["b"])(i,s);e.setState({dragging:!0,dragNodesKeys:Object(b["g"])(s,o)}),e.setExpandedKeys(l),a&&a({event:t,node:Object(_["b"])(n.props)})},e.onNodeDragEnter=function(t,n){var r=e.state,i=r.expandedKeys,o=r.keyEntities,a=r.dragNodesKeys,s=e.props.onDragEnter,l=n.props,c=l.pos,d=l.eventKey;if(e.dragNode&&-1===a.indexOf(d)){var h=Object(b["c"])(t,n);e.dragNode.props.eventKey!==d||0!==h?setTimeout((function(){e.setState({dragOverNodeKey:d,dropPosition:h}),e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach((function(t){clearTimeout(e.delayedDragEnterLogic[t])})),e.delayedDragEnterLogic[c]=window.setTimeout((function(){if(e.state.dragging){var r=Object(u["a"])(i),a=o[d];a&&(a.children||[]).length&&(r=Object(b["a"])(i,d)),"expandedKeys"in e.props||e.setExpandedKeys(r),s&&s({event:t,node:Object(_["b"])(n.props),expandedKeys:r})}}),400)}),0):e.setState({dragOverNodeKey:"",dropPosition:null})}},e.onNodeDragOver=function(t,n){var r=e.state.dragNodesKeys,i=e.props.onDragOver,o=n.props.eventKey;if(-1===r.indexOf(o)){if(e.dragNode&&o===e.state.dragOverNodeKey){var a=Object(b["c"])(t,n);if(a===e.state.dropPosition)return;e.setState({dropPosition:a})}i&&i({event:t,node:Object(_["b"])(n.props)})}},e.onNodeDragLeave=function(t,n){var r=e.props.onDragLeave;e.setState({dragOverNodeKey:""}),r&&r({event:t,node:Object(_["b"])(n.props)})},e.onNodeDragEnd=function(t,n){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:""}),e.cleanDragState(),r&&r({event:t,node:Object(_["b"])(n.props)}),e.dragNode=null},e.onNodeDrop=function(t,n){var r=e.state,i=r.dragNodesKeys,o=void 0===i?[]:i,a=r.dropPosition,s=e.props.onDrop,l=n.props,c=l.eventKey,u=l.pos;if(e.setState({dragOverNodeKey:""}),e.cleanDragState(),-1===o.indexOf(c)){var d=Object(b["k"])(u),h={event:t,node:Object(_["b"])(n.props),dragNode:e.dragNode?Object(_["b"])(e.dragNode.props):null,dragNodesKeys:o.slice(),dropPosition:a+Number(d[d.length-1]),dropToGap:!1};0!==a&&(h.dropToGap=!0),s&&s(h),e.dragNode=null}else Object(g["a"])(!1,"Can not drop to dragNode(include it's children node)")},e.cleanDragState=function(){var t=e.state.dragging;t&&e.setState({dragging:!1})},e.onNodeClick=function(t,n){var r=e.props.onClick;r&&r(t,n)},e.onNodeDoubleClick=function(t,n){var r=e.props.onDoubleClick;r&&r(t,n)},e.onNodeSelect=function(t,n){var r=e.state.selectedKeys,i=e.state.keyEntities,o=e.props,a=o.onSelect,s=o.multiple,l=n.selected,c=n.key,u=!l;r=u?s?Object(b["a"])(r,c):[c]:Object(b["b"])(r,c);var d=r.map((function(e){var t=i[e];return t?t.node:null})).filter((function(e){return e}));e.setUncontrolledState({selectedKeys:r}),a&&a(r,{event:"select",selected:u,node:n,selectedNodes:d,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,r){var i,o=e.state,a=o.keyEntities,s=o.checkedKeys,l=o.halfCheckedKeys,c=e.props,d=c.checkStrictly,h=c.onCheck,f=n.key,p={event:"check",node:n,checked:r,nativeEvent:t.nativeEvent};if(d){var A=r?Object(b["a"])(s,f):Object(b["b"])(s,f),g=Object(b["b"])(l,f);i={checked:A,halfChecked:g},p.checkedNodes=A.map((function(e){return a[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:A})}else{var m=Object(z["a"])([].concat(Object(u["a"])(s),[f]),!0,a),v=m.checkedKeys,y=m.halfCheckedKeys;if(!r){var _=new Set(v);_["delete"](f);var w=Object(z["a"])(Array.from(_),{checked:!1,halfCheckedKeys:y},a);v=w.checkedKeys,y=w.halfCheckedKeys}i=v,p.checkedNodes=[],p.checkedNodesPositions=[],p.halfCheckedKeys=y,v.forEach((function(e){var t=a[e];if(t){var n=t.node,r=t.pos;p.checkedNodes.push(n),p.checkedNodesPositions.push({node:n,pos:r})}})),e.setUncontrolledState({checkedKeys:v},!1,{halfCheckedKeys:y})}h&&h(i,p)},e.onNodeLoad=function(t){return new Promise((function(n){e.setState((function(r){var i=r.loadedKeys,o=void 0===i?[]:i,a=r.loadingKeys,s=void 0===a?[]:a,l=e.props,c=l.loadData,u=l.onLoad,d=t.key;if(!c||-1!==o.indexOf(d)||-1!==s.indexOf(d))return{};var h=c(t);return h.then((function(){var r=e.state,i=r.loadedKeys,o=r.loadingKeys,a=Object(b["a"])(i,d),s=Object(b["b"])(o,d);u&&u(a,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:a}),e.setState({loadingKeys:s}),n()})),{loadingKeys:Object(b["a"])(s,d)}}))}))},e.onNodeMouseEnter=function(t,n){var r=e.props.onMouseEnter;r&&r({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var r=e.props.onMouseLeave;r&&r({event:t,node:n})},e.onNodeContextMenu=function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))},e.onFocus=function(){var t=e.props.onFocus;e.setState({focused:!0}),t&&t.apply(void 0,arguments)},e.onBlur=function(){var t=e.props.onBlur;e.setState({focused:!1}),e.onActiveChange(null),t&&t.apply(void 0,arguments)},e.getTreeNodeRequiredProps=function(){var t=e.state,n=t.expandedKeys,r=t.selectedKeys,i=t.loadedKeys,o=t.loadingKeys,a=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,c=t.dropPosition,u=t.keyEntities;return{expandedKeys:n||[],selectedKeys:r||[],loadedKeys:i||[],loadingKeys:o||[],checkedKeys:a||[],halfCheckedKeys:s||[],dragOverNodeKey:l,dropPosition:c,keyEntities:u}},e.setExpandedKeys=function(t){var n=e.state.treeData,r=Object(_["d"])(n,t);e.setUncontrolledState({expandedKeys:t,flattenNodes:r},!0)},e.onNodeExpand=function(t,n){var r=e.state.expandedKeys,i=e.state.listChanging,o=e.props,a=o.onExpand,s=o.loadData,l=n.key,c=n.expanded;if(!i){var u=r.indexOf(l),d=!c;if(Object(g["a"])(c&&-1!==u||!c&&-1===u,"Expand state not sync with index check"),r=d?Object(b["a"])(r,l):Object(b["b"])(r,l),e.setExpandedKeys(r),a&&a(r,{node:n,expanded:d,nativeEvent:t.nativeEvent}),d&&s){var h=e.onNodeLoad(n);h&&h.then((function(){var t=Object(_["d"])(e.state.treeData,r);e.setUncontrolledState({flattenNodes:t})}))}}},e.onListChangeStart=function(){e.setUncontrolledState({listChanging:!0})},e.onListChangeEnd=function(){setTimeout((function(){e.setUncontrolledState({listChanging:!1})}))},e.onActiveChange=function(t){var n=e.state.activeKey,r=e.props.onActiveChange;n!==t&&(e.setState({activeKey:t}),null!==t&&e.scrollTo({key:t}),r&&r(t))},e.getActiveItem=function(){var t=e.state,n=t.activeKey,r=t.flattenNodes;return null===n?null:r.find((function(e){var t=e.data.key;return t===n}))||null},e.offsetActiveKey=function(t){var n=e.state,r=n.flattenNodes,i=n.activeKey,o=r.findIndex((function(e){var t=e.data.key;return t===i}));-1===o&&t<0&&(o=r.length),o=(o+t+r.length)%r.length;var a=r[o];if(a){var s=a.data.key;e.onActiveChange(s)}else e.onActiveChange(null)},e.onKeyDown=function(t){var n=e.state,r=n.activeKey,i=n.expandedKeys,o=n.checkedKeys,a=e.props,s=a.onKeyDown,l=a.checkable,u=a.selectable;switch(t.which){case A["a"].UP:e.offsetActiveKey(-1),t.preventDefault();break;case A["a"].DOWN:e.offsetActiveKey(1),t.preventDefault();break}var d=e.getActiveItem();if(d&&d.data){var h=e.getTreeNodeRequiredProps(),f=!1===d.data.isLeaf||!!(d.data.children||[]).length,p=Object(_["b"])(Object(c["a"])(Object(c["a"])({},Object(_["f"])(r,h)),{},{data:d.data,active:!0}));switch(t.which){case A["a"].LEFT:f&&i.includes(r)?e.onNodeExpand({},p):d.parent&&e.onActiveChange(d.parent.data.key),t.preventDefault();break;case A["a"].RIGHT:f&&!i.includes(r)?e.onNodeExpand({},p):d.children&&d.children.length&&e.onActiveChange(d.children[0].data.key),t.preventDefault();break;case A["a"].ENTER:case A["a"].SPACE:!l||p.disabled||!1===p.checkable||p.disableCheckbox?l||!u||p.disabled||!1===p.selectable||e.onNodeSelect({},p):e.onNodeCheck({},p,!o.includes(r));break}}s&&s(t)},e.setUncontrolledState=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var i=!1,o=!0,a={};Object.keys(t).forEach((function(n){n in e.props?o=!1:(i=!0,a[n]=t[n])})),!i||n&&!o||e.setState(Object(c["a"])(Object(c["a"])({},a),r))}},e.scrollTo=function(t){e.listRef.current.scrollTo(t)},e}return Object(h["a"])(n,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var e,t=this.state,n=t.focused,r=t.flattenNodes,i=t.keyEntities,o=t.dragging,a=t.activeKey,c=this.props,u=c.prefixCls,d=c.className,h=c.style,f=c.showLine,p=c.focusable,A=c.tabIndex,g=void 0===A?0:A,m=c.selectable,_=c.showIcon,w=c.icon,x=c.switcherIcon,C=c.draggable,S=c.checkable,k=c.checkStrictly,E=c.disabled,O=c.motion,B=c.loadData,M=c.filterTreeNode,T=c.height,I=c.itemHeight,L=c.virtual,D=c.titleRender,P=c.onContextMenu,N=Object(b["f"])(this.props);return s["createElement"](y["a"].Provider,{value:{prefixCls:u,selectable:m,showIcon:_,icon:w,switcherIcon:x,draggable:C,checkable:S,checkStrictly:k,disabled:E,keyEntities:i,loadData:B,filterTreeNode:M,titleRender:D,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}},s["createElement"]("div",{className:v()(u,d,(e={},Object(l["a"])(e,"".concat(u,"-show-line"),f),Object(l["a"])(e,"".concat(u,"-focused"),n),Object(l["a"])(e,"".concat(u,"-active-focused"),null!==a),e))},s["createElement"](K,Object.assign({ref:this.listRef,prefixCls:u,style:h,data:r,disabled:E,selectable:m,checkable:!!S,motion:O,dragging:o,height:T,itemHeight:I,virtual:L,focusable:p,focused:n,tabIndex:g,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:P},this.getTreeNodeRequiredProps(),N))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r=t.prevProps,i={prevProps:e};function o(t){return!r&&t in e||r&&r[t]!==e[t]}if(o("treeData")?n=e.treeData:o("children")&&(Object(g["a"])(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=Object(_["c"])(e.children)),n){i.treeData=n;var a=Object(_["a"])(n);i.keyEntities=Object(c["a"])(Object(l["a"])({},D,N),a.keyEntities)}var s,u=i.keyEntities||t.keyEntities;if(o("expandedKeys")||r&&o("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?Object(b["e"])(e.expandedKeys,u):e.expandedKeys;else if(!r&&e.defaultExpandAll){var d=Object(c["a"])({},u);delete d[D],i.expandedKeys=Object.keys(d).map((function(e){return d[e].key}))}else!r&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?Object(b["e"])(e.defaultExpandedKeys,u):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var h=Object(_["d"])(n||t.treeData,i.expandedKeys||t.expandedKeys);i.flattenNodes=h}if((e.selectable&&(o("selectedKeys")?i.selectedKeys=Object(b["d"])(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(i.selectedKeys=Object(b["d"])(e.defaultSelectedKeys,e))),e.checkable)&&(o("checkedKeys")?s=Object(b["j"])(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?s=Object(b["j"])(e.defaultCheckedKeys)||{}:n&&(s=Object(b["j"])(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),s)){var f=s,p=f.checkedKeys,A=void 0===p?[]:p,m=f.halfCheckedKeys,v=void 0===m?[]:m;if(!e.checkStrictly){var y=Object(z["a"])(A,!0,u);A=y.checkedKeys,v=y.halfCheckedKeys}i.checkedKeys=A,i.halfCheckedKeys=v}return o("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(s["Component"]);V.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:[]},V.TreeNode=k["a"];var W,G=V,X=G,q=n("RIqP"),Y=n.n(q),Z=n("J4zp"),J=n.n(Z),$=n("sEfC"),ee=n.n($),te=n("vk+C"),ne=n.n(te),re=n("Vy0f"),ie=n.n(re),oe=n("kGiB"),ae=n.n(oe),se=n("H84U");function le(e,t){function n(e){var n=e.key,r=e.children;!1!==t(n,e)&&le(r||[],t)}e.forEach(n)}function ce(e){var t=e.treeData,n=e.expandedKeys,r=e.startKey,i=e.endKey,o=[],a=W.None;if(r&&r===i)return[r];if(!r||!i)return[];function s(e){return e===r||e===i}return le(t,(function(e){if(a===W.End)return!1;if(s(e)){if(o.push(e),a===W.None)a=W.Start;else if(a===W.Start)return a=W.End,!1}else a===W.Start&&o.push(e);return-1!==n.indexOf(e)})),o}function ue(e,t){var n=Y()(t),r=[];return le(e,(function(e,t){var i=n.indexOf(e);return-1!==i&&(r.push(t),n.splice(i,1)),!!n.length})),r}(function(e){e[e["None"]=0]="None",e[e["Start"]=1]="Start",e[e["End"]=2]="End"})(W||(W={}));var de=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function he(e){var t=e.isLeaf,n=e.expanded;return t?s["createElement"](ne.a,null):n?s["createElement"](ie.a,null):s["createElement"](ae.a,null)}function fe(e){var t=e.treeData,n=e.children;return t||Object(_["c"])(n)}var pe=function(e,t){var n=e.defaultExpandAll,r=e.defaultExpandParent,o=e.defaultExpandedKeys,l=de(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),c=s["useRef"](),u=s["useRef"](),d=s["createRef"]();s["useImperativeHandle"](t,(function(){return d.current}));var h=function(){var e,t=Object(_["a"])(fe(l)),i=t.keyEntities;return e=n?Object.keys(i):r?Object(b["e"])(l.expandedKeys||o,i):l.expandedKeys||o,e},f=s["useState"](l.selectedKeys||l.defaultSelectedKeys||[]),p=J()(f,2),A=p[0],g=p[1],m=s["useState"](h()),y=J()(m,2),w=y[0],x=y[1];s["useEffect"]((function(){"selectedKeys"in l&&g(l.selectedKeys)}),[l.selectedKeys]),s["useEffect"]((function(){"expandedKeys"in l&&x(l.expandedKeys)}),[l.expandedKeys]);var C=function(e,t){var n=t.isLeaf;n||e.shiftKey||e.metaKey||e.ctrlKey||d.current.onNodeExpand(e,t)},S=ee()(C,200,{leading:!0}),k=function(e,t){if("expandedKeys"in l||x(e),l.onExpand)return l.onExpand(e,t)},E=function(e,t){var n=l.expandAction;"click"===n&&S(e,t),l.onClick&&l.onClick(e,t)},O=function(e,t){var n=l.expandAction;"doubleClick"===n&&S(e,t),l.onDoubleClick&&l.onDoubleClick(e,t)},B=function(e,t){var n,r=l.multiple,i=t.node,o=t.nativeEvent,s=i.key,d=void 0===s?"":s,h=fe(l),f=a()(a()({},t),{selected:!0}),p=o.ctrlKey||o.metaKey,A=o.shiftKey;r&&p?(n=e,c.current=d,u.current=n,f.selectedNodes=ue(h,n)):r&&A?(n=Array.from(new Set([].concat(Y()(u.current||[]),Y()(ce({treeData:h,expandedKeys:w,startKey:d,endKey:c.current}))))),f.selectedNodes=ue(h,n)):(n=[d],c.current=d,u.current=n,f.selectedNodes=ue(h,n)),l.onSelect&&l.onSelect(n,f),"selectedKeys"in l||g(n)},M=s["useContext"](se["b"]),T=M.getPrefixCls,I=M.direction,L=l.prefixCls,D=l.className,P=de(l,["prefixCls","className"]),N=T("tree",L),j=v()("".concat(N,"-directory"),D,i()({},"".concat(N,"-directory-rtl"),"rtl"===I));return s["createElement"](be,a()({icon:he,ref:d,blockNode:!0},P,{prefixCls:N,className:j,expandedKeys:w,selectedKeys:A,onSelect:B,onClick:E,onDoubleClick:O,onExpand:k}))},Ae=s["forwardRef"](pe);Ae.displayName="DirectoryTree",Ae.defaultProps={showIcon:!0,expandAction:"click"};var ge=Ae,me=n("EXcs"),ve=n("2jpz"),ye=s["forwardRef"]((function(e,t){var n,r=s["useContext"](se["b"]),o=r.getPrefixCls,l=r.direction,c=r.virtual,u=e.prefixCls,d=e.className,h=e.showIcon,f=e.showLine,p=e.switcherIcon,A=e.blockNode,g=e.children,m=e.checkable,y=a()(a()({},e),{showLine:Boolean(f)}),b=o("tree",u);return s["createElement"](X,a()({itemHeight:20,ref:t,virtual:c},y,{prefixCls:b,className:v()(d,(n={},i()(n,"".concat(b,"-icon-hide"),!h),i()(n,"".concat(b,"-block-node"),A),i()(n,"".concat(b,"-rtl"),"rtl"===l),n)),checkable:m?s["createElement"]("span",{className:"".concat(b,"-checkbox-inner")}):m,switcherIcon:function(e){return Object(ve["a"])(b,p,f,e)}}),g)}));ye.TreeNode=k["a"],ye.DirectoryTree=ge,ye.defaultProps={checkable:!1,showIcon:!1,motion:a()(a()({},me["a"]),{motionAppear:!1}),blockNode:!1};var be=ye;t["a"]=be},MKOG:function(e,t,n){var r=n("bYtY"),i=n("YH21"),o=i.Dispatcher,a=n("mLcG"),s=n("Bq2U"),l=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,o.call(this)};l.prototype={constructor:l,addClip:function(e){this._clips.push(e)},addAnimator:function(e){e.animation=this;for(var t=e.getClips(),n=0;n<t.length;n++)this.addClip(t[n])},removeClip:function(e){var t=r.indexOf(this._clips,e);t>=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),n=0;n<t.length;n++)this.removeClip(t[n]);e.animation=null},_update:function(){for(var e=(new Date).getTime()-this._pausedTime,t=e-this._time,n=this._clips,r=n.length,i=[],o=[],a=0;a<r;a++){var s=n[a],l=s.step(e,t);l&&(i.push(l),o.push(s))}for(a=0;a<r;)n[a]._needsRemove?(n[a]=n[r-1],n.pop(),r--):a++;r=i.length;for(a=0;a<r;a++)o[a].fire(i[a]);this._time=e,this.onframe(t),this.trigger("frame",t),this.stage.update&&this.stage.update()},_startLoop:function(){var e=this;function t(){e._running&&(a(t),!e._paused&&e._update())}this._running=!0,a(t)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(e,t){t=t||{};var n=new s(e,t.loop,t.getter,t.setter);return this.addAnimator(n),n}},r.mixin(l,o);var c=l;e.exports=c},MMmD:function(e,t,n){var r=n("lSCD"),i=n("shjB");function o(e){return null!=e&&i(e.length)&&!r(e)}e.exports=o},MRoa:function(e,t,n){var r=n("ProS");n("0Bwj"),n("W2nI"),n("vcCh");var i=n("gawk"),o=n("Dg8C");r.registerLayout(i),r.registerVisual(o)},MT78:function(e,t,n){var r=n("ProS");(function(){for(var e in r){if(null==r||!r.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=r[e]}})();var i=n("txkQ");(function(){for(var e in i){if(null==i||!i.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=i[e]}})(),n("A1Ka"),n("75ce"),n("lLGD"),n("wDdD"),n("Fa/5"),n("jett"),n("Z1wy"),n("75ev"),n("2uGb"),n("I+77"),n("B+YJ"),n("pLH3"),n("CBdT"),n("MRoa"),n("+lIL"),n("CF2D"),n("ERHi"),n("p+If"),n("XOKv"),n("qt/9"),n("bBL8"),n("1xaR"),n("4Feb"),n("zRKj"),n("L3Oj"),n("0HBW"),n("LPzL"),n("8waO"),n("k5C7"),n("f1nB"),n("sRwP"),n("AH3D"),n("y4/Y"),n("LzGr"),n("Ynxi"),n("7pVf"),n("2w7y"),n("laiN"),n("fjKi"),n("C0tN"),n("0o9m"),n("Cm0C"),n("f3JH"),n("5NHt"),n("VFCP"),n("dBmv"),n("KamJ"),n("8XDt"),n("juDX")},MXD1:function(e,t,n){"use strict";n("cIOH"),n("Kvyg")},MZdM:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=u(n("Lo0S")),o=l(n("N/zr")),a=n("GdRQ"),s=n("GQ8N");function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n["default"]=e,t&&t.set(e,n),n}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}var p=function(){function e(t){if(d(this,e),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,i.Debug(">> Display.constructor"),this._target=t,!this._target)throw new Error("Target must be set");if("string"===typeof this._target)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},i.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),i.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return f(e,[{key:"viewportChangePos",value:function(e,t){var n=this._viewportLoc;e=Math.floor(e),t=Math.floor(t),this._clipViewport||(e=-n.w,t=-n.h);var r=n.x+n.w-1,o=n.y+n.h-1;e<0&&n.x+e<0&&(e=-n.x),r+e>=this._fbWidth&&(e-=r+e-this._fbWidth+1),n.y+t<0&&(t=-n.y),o+t>=this._fbHeight&&(t-=o+t-this._fbHeight+1),0===e&&0===t||(i.Debug("viewportChange deltaX: "+e+", deltaY: "+t),n.x+=e,n.y+=t,this._damage(n.x,n.y,n.w,n.h),this.flip())}},{key:"viewportChangeSize",value:function(e,t){this._clipViewport&&"undefined"!==typeof e&&"undefined"!==typeof t||(i.Debug("Setting viewport to full display region"),e=this._fbWidth,t=this._fbHeight),e=Math.floor(e),t=Math.floor(t),e>this._fbWidth&&(e=this._fbWidth),t>this._fbHeight&&(t=this._fbHeight);var n=this._viewportLoc;if(n.w!==e||n.h!==t){n.w=e,n.h=t;var r=this._target;r.width=e,r.height=t,this.viewportChangePos(0,0),this._damage(n.x,n.y,n.w,n.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(e){return 0===this._scale?0:(0,s.toSigned32bit)(e/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(e){return 0===this._scale?0:(0,s.toSigned32bit)(e/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(e,t){this._prevDrawStyle="",this._fbWidth=e,this._fbHeight=t;var n=this._backbuffer;if(n.width!==e||n.height!==t){var r=null;n.width>0&&n.height>0&&(r=this._drawCtx.getImageData(0,0,n.width,n.height)),n.width!==e&&(n.width=e),n.height!==t&&(n.height=t),r&&this._drawCtx.putImageData(r,0,0)}var i=this._viewportLoc;this.viewportChangeSize(i.w,i.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(e,t,n,r){e<this._damageBounds.left&&(this._damageBounds.left=e),t<this._damageBounds.top&&(this._damageBounds.top=t),e+n>this._damageBounds.right&&(this._damageBounds.right=e+n),t+r>this._damageBounds.bottom&&(this._damageBounds.bottom=t+r)}},{key:"flip",value:function(e){if(0===this._renderQ.length||e){var t=this._damageBounds.left,n=this._damageBounds.top,r=this._damageBounds.right-t,i=this._damageBounds.bottom-n,o=t-this._viewportLoc.x,a=n-this._viewportLoc.y;o<0&&(r+=o,t-=o,o=0),a<0&&(i+=a,n-=a,a=0),o+r>this._viewportLoc.w&&(r=this._viewportLoc.w-o),a+i>this._viewportLoc.h&&(i=this._viewportLoc.h-a),r>0&&i>0&&this._targetCtx.drawImage(this._backbuffer,t,n,r,i,o,a,r,i),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}else this._renderQPush({type:"flip"})}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){0===this._renderQ.length?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(e,t,n,r,i,o){0===this._renderQ.length||o?(this._setFillColor(i),this._drawCtx.fillRect(e,t,n,r),this._damage(e,t,n,r)):this._renderQPush({type:"fill",x:e,y:t,width:n,height:r,color:i})}},{key:"copyImage",value:function(e,t,n,r,i,o,a){0===this._renderQ.length||a?(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,e,t,i,o,n,r,i,o),this._damage(n,r,i,o)):this._renderQPush({type:"copy",oldX:e,oldY:t,x:n,y:r,width:i,height:o})}},{key:"imageRect",value:function(e,t,n,r,i,a){if(0!==n&&0!==r){var s=new Image;s.src="data: "+i+";base64,"+o["default"].encode(a),this._renderQPush({type:"img",img:s,x:e,y:t,width:n,height:r})}}},{key:"startTile",value:function(e,t,n,r,i){this._tileX=e,this._tileY=t,this._tile=16===n&&16===r?this._tile16x16:this._drawCtx.createImageData(n,r);for(var o=i[2],a=i[1],s=i[0],l=this._tile.data,c=0;c<n*r*4;c+=4)l[c]=o,l[c+1]=a,l[c+2]=s,l[c+3]=255}},{key:"subTile",value:function(e,t,n,r,i){for(var o=i[2],a=i[1],s=i[0],l=e+n,c=t+r,u=this._tile.data,d=this._tile.width,h=t;h<c;h++)for(var f=e;f<l;f++){var p=4*(f+h*d);u[p]=o,u[p+1]=a,u[p+2]=s,u[p+3]=255}}},{key:"finishTile",value:function(){this._drawCtx.putImageData(this._tile,this._tileX,this._tileY),this._damage(this._tileX,this._tileY,this._tile.width,this._tile.height)}},{key:"blitImage",value:function(e,t,n,r,i,o,a){if(0===this._renderQ.length||a)this._bgrxImageData(e,t,n,r,i,o);else{var s=new Uint8Array(n*r*4);s.set(new Uint8Array(i.buffer,0,s.length)),this._renderQPush({type:"blit",data:s,x:e,y:t,width:n,height:r})}}},{key:"blitRgbImage",value:function(e,t,n,r,i,o,a){if(0===this._renderQ.length||a)this._rgbImageData(e,t,n,r,i,o);else{var s=new Uint8Array(n*r*3);s.set(new Uint8Array(i.buffer,0,s.length)),this._renderQPush({type:"blitRgb",data:s,x:e,y:t,width:n,height:r})}}},{key:"blitRgbxImage",value:function(e,t,n,r,i,o,a){if(0===this._renderQ.length||a)this._rgbxImageData(e,t,n,r,i,o);else{var s=new Uint8Array(n*r*4);s.set(new Uint8Array(i.buffer,0,s.length)),this._renderQPush({type:"blitRgbx",data:s,x:e,y:t,width:n,height:r})}}},{key:"drawImage",value:function(e,t,n){this._drawCtx.drawImage(e,t,n),this._damage(t,n,e.width,e.height)}},{key:"autoscale",value:function(e,t){var n;if(0===e||0===t)n=0;else{var r=this._viewportLoc,i=e/t,o=r.w/r.h;n=o>=i?e/r.w:t/r.h}this._rescale(n)}},{key:"_rescale",value:function(e){this._scale=e;var t=this._viewportLoc,n=e*t.w+"px",r=e*t.h+"px";this._target.style.width===n&&this._target.style.height===r||(this._target.style.width=n,this._target.style.height=r)}},{key:"_setFillColor",value:function(e){var t="rgb("+e[2]+","+e[1]+","+e[0]+")";t!==this._prevDrawStyle&&(this._drawCtx.fillStyle=t,this._prevDrawStyle=t)}},{key:"_rgbImageData",value:function(e,t,n,r,i,o){for(var a=this._drawCtx.createImageData(n,r),s=a.data,l=0,c=o;l<n*r*4;l+=4,c+=3)s[l]=i[c],s[l+1]=i[c+1],s[l+2]=i[c+2],s[l+3]=255;this._drawCtx.putImageData(a,e,t),this._damage(e,t,a.width,a.height)}},{key:"_bgrxImageData",value:function(e,t,n,r,i,o){for(var a=this._drawCtx.createImageData(n,r),s=a.data,l=0,c=o;l<n*r*4;l+=4,c+=4)s[l]=i[c+2],s[l+1]=i[c+1],s[l+2]=i[c],s[l+3]=255;this._drawCtx.putImageData(a,e,t),this._damage(e,t,a.width,a.height)}},{key:"_rgbxImageData",value:function(e,t,n,r,i,o){var s;a.supportsImageMetadata?s=new ImageData(new Uint8ClampedArray(i.buffer,i.byteOffset,n*r*4),n,r):(s=this._drawCtx.createImageData(n,r),s.data.set(new Uint8ClampedArray(i.buffer,i.byteOffset,n*r*4))),this._drawCtx.putImageData(s,e,t),this._damage(e,t,s.width,s.height)}},{key:"_renderQPush",value:function(e){this._renderQ.push(e),1===this._renderQ.length&&this._scanRenderQ()}},{key:"_resumeRenderQ",value:function(){this.removeEventListener("load",this._noVNCDisplay._resumeRenderQ),this._noVNCDisplay._scanRenderQ()}},{key:"_scanRenderQ",value:function(){var e=!0;while(e&&this._renderQ.length>0){var t=this._renderQ[0];switch(t.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(t.oldX,t.oldY,t.x,t.y,t.width,t.height,!0);break;case"fill":this.fillRect(t.x,t.y,t.width,t.height,t.color,!0);break;case"blit":this.blitImage(t.x,t.y,t.width,t.height,t.data,0,!0);break;case"blitRgb":this.blitRgbImage(t.x,t.y,t.width,t.height,t.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(t.x,t.y,t.width,t.height,t.data,0,!0);break;case"img":if(t.img.complete&&0!==t.img.width&&0!==t.img.height){if(t.img.width!==t.width||t.img.height!==t.height)return void i.Error("Decoded image has incorrect dimensions. Got "+t.img.width+"x"+t.img.height+". Expected "+t.width+"x"+t.height+".");this.drawImage(t.img,t.x,t.y)}else t.img._noVNCDisplay=this,t.img.addEventListener("load",this._resumeRenderQ),e=!1;break}e&&this._renderQ.shift()}0===this._renderQ.length&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(e){this._rescale(e)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(e){this._clipViewport=e;var t=this._viewportLoc;this.viewportChangeSize(t.w,t.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),e}();t["default"]=p},Mdki:function(e,t,n){var r=n("bYtY"),i=r.each,o="\0__link_datas",a="\0__link_mainData";function s(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,f(t,n,e),i(n,(function(n){i(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,r.curry(l,e))}))})),t.wrapMethod("cloneShallow",r.curry(u,e)),i(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,r.curry(c,e))})),r.assert(n[t.dataType]===t)}function l(e,t){if(h(this)){var n=r.extend({},this[o]);n[this.dataType]=t,f(t,n,e)}else p(t,this.dataType,this[a],e);return t}function c(e,t){return e.struct&&e.struct.update(this),t}function u(e,t){return i(t[o],(function(n,r){n!==t&&p(n.cloneShallow(),r,t,e)})),t}function d(e){var t=this[a];return null==e||null==t?t:t[o][e]}function h(e){return e[a]===e}function f(e,t,n){e[o]={},i(t,(function(t,r){p(t,r,e,n)}))}function p(e,t,n,r){n[o][t]=e,e[a]=n,e.dataType=t,r.struct&&(e[r.structAttr]=r.struct,r.struct[r.datasAttr[t]]=e),e.getLinkedData=d}var A=s;e.exports=A},Mds0:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("8IMR")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="StarFilled";var h=a.forwardRef(d);t.default=h},Mgri:function(e,t,n){for(var r=n("bYtY"),i=n("8nly"),o=[126,25],a=[[[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]]],s=0;s<a.length;s++)for(var l=0;l<a[s].length;l++)a[s][l][0]/=10.5,a[s][l][1]/=-14,a[s][l][0]+=o[0],a[s][l][1]+=o[1];function c(e,t){"china"===e&&t.push(new i("\u5357\u6d77\u8bf8\u5c9b",r.map(a,(function(e){return{type:"polygon",exterior:e}})),o))}e.exports=c},Mmt2:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=a(n("Lo0S"));function o(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n["default"]=e,t&&t.set(e,n),n}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}var u=!1,d=41943040,h=function(){function e(){s(this,e),this._websocket=null,this._rQi=0,this._rQlen=0,this._rQbufferSize=4194304,this._rQ=null,this._sQbufferSize=10240,this._sQlen=0,this._sQ=null,this._eventHandlers={message:function(){},open:function(){},close:function(){},error:function(){}}}return c(e,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(e){this._rQi+=e}},{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(e){for(var t=0,n=e-1;n>=0;n--)t+=this._rQ[this._rQi++]<<8*n;return t}},{key:"rQshiftStr",value:function(e){"undefined"===typeof e&&(e=this.rQlen);for(var t="",n=0;n<e;n+=4096){var r=this.rQshiftBytes(Math.min(4096,e-n));t+=String.fromCharCode.apply(null,r)}return t}},{key:"rQshiftBytes",value:function(e){return"undefined"===typeof e&&(e=this.rQlen),this._rQi+=e,new Uint8Array(this._rQ.buffer,this._rQi-e,e)}},{key:"rQshiftTo",value:function(e,t){void 0===t&&(t=this.rQlen),e.set(new Uint8Array(this._rQ.buffer,this._rQi,t)),this._rQi+=t}},{key:"rQslice",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+e,t-e)}},{key:"rQwait",value:function(e,t,n){if(this.rQlen<t){if(n){if(this._rQi<n)throw new Error("rQwait cannot backup "+n+" bytes");this._rQi-=n}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(e){this._sQ.set(e,this._sQlen),this._sQlen+=e.length,this.flush()}},{key:"sendString",value:function(e){this.send(e.split("").map((function(e){return e.charCodeAt(0)})))}},{key:"off",value:function(e){this._eventHandlers[e]=function(){}}},{key:"on",value:function(e,t){this._eventHandlers[e]=t}},{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(e,t){var n=this;this.init(),this._websocket=new WebSocket(e,t),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){i.Debug(">> WebSock.onopen"),n._websocket.protocol&&i.Info("Server choose sub-protocol: "+n._websocket.protocol),n._eventHandlers.open(),i.Debug("<< WebSock.onopen")},this._websocket.onclose=function(e){i.Debug(">> WebSock.onclose"),n._eventHandlers.close(e),i.Debug("<< WebSock.onclose")},this._websocket.onerror=function(e){i.Debug(">> WebSock.onerror: "+e),n._eventHandlers.error(e),i.Debug("<< WebSock.onerror: "+e)}}},{key:"close",value:function(){this._websocket&&(this._websocket.readyState!==WebSocket.OPEN&&this._websocket.readyState!==WebSocket.CONNECTING||(i.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(e){var t=8*(this._rQlen-this._rQi+e),n=this._rQbufferSize<t;if(n&&(this._rQbufferSize=Math.max(2*this._rQbufferSize,t)),this._rQbufferSize>d&&(this._rQbufferSize=d,this._rQbufferSize-this.rQlen<e))throw new Error("Receive Queue buffer exceeded "+d+" bytes, and the new message could not fit");if(n){var r=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(r,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(e){var t=new Uint8Array(e);t.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(t.length),this._rQ.set(t,this._rQlen),this._rQlen+=t.length}},{key:"_recvMessage",value:function(e){this._DecodeMessage(e.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):i.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(e){this._rQi=e}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),e}();t["default"]=h},MqEG:function(e,t,n){var r=n("bYtY"),i=n("fc+c"),o=n("72pK"),a=n("VXYp"),s=r.bind,l=i.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,n,i){l.superApply(this,"render",arguments),this._range=e.getPercentRange(),r.each(this.getTargetCoordInfo(),(function(t,i){var o=r.map(t,(function(e){return a.generateCoordId(e.model)}));r.each(t,(function(t){var l=t.model,u={};r.each(["pan","zoom","scrollMove"],(function(e){u[e]=s(c[e],this,t,i)}),this),a.register(n,{coordId:a.generateCoordId(l),allCoordIds:o,containsPoint:function(e,t,n){return l.coordinateSystem.containPoint([t,n])},dataZoomId:e.id,dataZoomModel:e,getRange:u})}),this)}),this)},dispose:function(){a.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),c={zoom:function(e,t,n,r){var i=this._range,a=i.slice(),s=e.axisModels[0];if(s){var l=d[t](null,[r.originX,r.originY],s,n,e),c=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(a[1]-a[0])+a[0],u=Math.max(1/r.scale,0);a[0]=(a[0]-c)*u+c,a[1]=(a[1]-c)*u+c;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,a,[0,100],0,h.minSpan,h.maxSpan),this._range=a,i[0]!==a[0]||i[1]!==a[1]?a:void 0}},pan:u((function(e,t,n,r,i,o){var a=d[r]([o.oldX,o.oldY],[o.newX,o.newY],t,i,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength})),scrollMove:u((function(e,t,n,r,i,o){var a=d[r]([0,0],[o.scrollDelta,o.scrollDelta],t,i,n);return a.signal*(e[1]-e[0])*o.scrollDelta}))};function u(e){return function(t,n,r,i){var a=this._range,s=a.slice(),l=t.axisModels[0];if(l){var c=e(s,l,t,n,r,i);return o(c,s,[0,100],"all"),this._range=s,a[0]!==s[0]||a[1]!==s[1]?s:void 0}}}var d={grid:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=c[1]-c[0],a.pixelStart=c[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},h=l;e.exports=h},MvSz:function(e,t,n){var r=n("LXxW"),i=n("0ycA"),o=Object.prototype,a=o.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(e){return null==e?[]:(e=Object(e),r(s(e),(function(t){return a.call(e,t)})))}:i;e.exports=l},MwEJ:function(e,t,n){var r=n("bYtY"),i=n("YXkt"),o=n("sdST"),a=n("k9D9"),s=a.SOURCE_FORMAT_ORIGINAL,l=n("L0Ub"),c=l.getDimensionTypeByAxis,u=n("4NO4"),d=u.getDataItemValue,h=n("IDmD"),f=n("i38C"),p=f.getCoordSysInfoBySeries,A=n("7G+c"),g=n("7hqr"),m=g.enableDataStack,v=n("D5nY"),y=v.makeSeriesEncodeForAxisCoordSys;function b(e,t,n){n=n||{},A.isInstance(e)||(e=A.seriesDataToSource(e));var a,s=t.get("coordinateSystem"),l=h.get(s),u=p(t);u&&(a=r.map(u.coordSysDims,(function(e){var t={name:e},n=u.axisMap.get(e);if(n){var r=n.get("type");t.type=c(r)}return t}))),a||(a=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var d,f,g=o(e,{coordDimensions:a,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?r.curry(y,a,t):null});u&&r.each(g,(function(e,t){var n=e.coordDim,r=u.categoryAxisMap.get(n);r&&(null==d&&(d=t),e.ordinalMeta=r.getOrdinalMeta()),null!=e.otherDims.itemName&&(f=!0)})),f||null==d||(g[d].otherDims.itemName=0);var v=m(t,g),b=new i(g,t);b.setCalculationInfo(v);var w=null!=d&&_(e)?function(e,t,n,r){return r===d?n:this.defaultDimValueGetter(e,t,n,r)}:null;return b.hasItemOption=!1,b.initData(e,null,w),b}function _(e){if(e.sourceFormat===s){var t=w(e.data||[]);return null!=t&&!r.isArray(d(t))}}function w(e){var t=0;while(t<e.length&&null==e[t])t++;return e[t]}var x=b;e.exports=x},Mylv:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("oVpE"),s=a.createSymbol,l=n("OELB"),c=l.parsePercent,u=l.isNumeric,d=n("56rv"),h=d.setLabel,f=["itemStyle","borderWidth"],p=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],A=new o.Circle,g=r.extendChartView({type:"pictorialBar",render:function(e,t,n){var r=this.group,i=e.getData(),o=this._data,a=e.coordinateSystem,s=a.getBaseAxis(),l=!!s.isHorizontal(),c=a.grid.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c.height]],isHorizontal:l,valueDim:p[+l],categoryDim:p[1-l]};return i.diff(o).add((function(e){if(i.hasValue(e)){var t=O(i,e),n=m(i,e,t,u),o=I(i,u,n);i.setItemGraphicEl(e,o),r.add(o),F(o,u,n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(i.hasValue(e)){var a=O(i,e),s=m(i,e,a,u),l=P(i,s);n&&l!==n.__pictorialShapeStr&&(r.remove(n),i.setItemGraphicEl(e,null),n=null),n?L(n,u,s):n=I(i,u,s,!0),i.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,r.add(n),F(n,u,s)}else r.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&D(o,e,t.__pictorialSymbolMeta.animationModel,t)})).execute(),this._data=i,this.group},dispose:i.noop,remove:function(e,t){var n=this.group,r=this._data;e.get("animation")?r&&r.eachItemGraphicEl((function(t){D(r,t.dataIndex,e,t)})):n.removeAll()}});function m(e,t,n,r){var o=e.getItemLayout(t),a=n.get("symbolRepeat"),s=n.get("symbolClip"),l=n.get("symbolPosition")||"start",u=n.get("symbolRotate"),d=(u||0)*Math.PI/180||0,h=n.get("symbolPatternSize")||2,f=n.isAnimationEnabled(),p={dataIndex:t,layout:o,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:s,symbolRepeat:a,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:h,rotation:d,animationModel:f?n:null,hoverAnimation:f&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};v(n,a,o,r,p),b(e,t,o,a,s,p.boundingLength,p.pxSign,h,r,p),_(n,p.symbolScale,d,r,p);var A=p.symbolSize,g=n.get("symbolOffset");return i.isArray(g)&&(g=[c(g[0],A[0]),c(g[1],A[1])]),w(n,A,o,a,s,g,l,p.valueLineWidth,p.boundingLength,p.repeatCutLength,r,p),p}function v(e,t,n,r,o){var a,s=r.valueDim,l=e.get("symbolBoundingData"),c=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),u=c.toGlobalCoord(c.dataToCoord(0)),d=1-+(n[s.wh]<=0);if(i.isArray(l)){var h=[y(c,l[0])-u,y(c,l[1])-u];h[1]<h[0]&&h.reverse(),a=h[d]}else a=null!=l?y(c,l)-u:t?r.coordSysExtent[s.index][d]-u:n[s.wh];o.boundingLength=a,t&&(o.repeatCutLength=n[s.wh]),o.pxSign=a>0?1:a<0?-1:0}function y(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function b(e,t,n,r,o,a,s,l,u,d){var h=u.valueDim,f=u.categoryDim,p=Math.abs(n[f.wh]),A=e.getItemVisual(t,"symbolSize");i.isArray(A)?A=A.slice():(null==A&&(A="100%"),A=[A,A]),A[f.index]=c(A[f.index],p),A[h.index]=c(A[h.index],r?p:Math.abs(a)),d.symbolSize=A;var g=d.symbolScale=[A[0]/l,A[1]/l];g[h.index]*=(u.isHorizontal?-1:1)*s}function _(e,t,n,r,i){var o=e.get(f)||0;o&&(A.attr({scale:t.slice(),rotation:n}),A.updateTransform(),o/=A.getLineScale(),o*=t[r.valueDim.index]),i.valueLineWidth=o}function w(e,t,n,r,o,a,s,l,d,h,f,p){var A=f.categoryDim,g=f.valueDim,m=p.pxSign,v=Math.max(t[g.index]+l,0),y=v;if(r){var b=Math.abs(d),_=i.retrieve(e.get("symbolMargin"),"15%")+"",w=!1;_.lastIndexOf("!")===_.length-1&&(w=!0,_=_.slice(0,_.length-1)),_=c(_,t[g.index]);var x=Math.max(v+2*_,0),C=w?0:2*_,S=u(r),k=S?r:R((b+C)/x),E=b-k*v;_=E/2/(w?k:k-1),x=v+2*_,C=w?0:2*_,S||"fixed"===r||(k=h?R((Math.abs(h)+C)/x):0),y=k*x-C,p.repeatTimes=k,p.symbolMargin=_}var O=m*(y/2),B=p.pathPosition=[];B[A.index]=n[A.wh]/2,B[g.index]="start"===s?O:"end"===s?d-O:d/2,a&&(B[0]+=a[0],B[1]+=a[1]);var M=p.bundlePosition=[];M[A.index]=n[A.xy],M[g.index]=n[g.xy];var T=p.barRectShape=i.extend({},n);T[g.wh]=m*Math.max(Math.abs(n[g.wh]),Math.abs(B[g.index]+O)),T[A.wh]=n[A.wh];var I=p.clipShape={};I[A.xy]=-n[A.xy],I[A.wh]=f.ecSize[A.wh],I[g.xy]=0,I[g.wh]=n[g.wh]}function x(e){var t=e.symbolPatternSize,n=s(e.symbolType,-t/2,-t/2,t,t,e.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function C(e,t,n,r){var i=e.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,c=n.repeatTimes||0,u=0,d=o[t.valueDim.index]+a+2*n.symbolMargin;for(N(e,(function(e){e.__pictorialAnimationIndex=u,e.__pictorialRepeatTimes=c,u<c?j(e,null,p(u),n,r):j(e,null,{scale:[0,0]},n,r,(function(){i.remove(e)})),T(e,n),u++}));u<c;u++){var h=x(n);h.__pictorialAnimationIndex=u,h.__pictorialRepeatTimes=c,i.add(h);var f=p(u);j(h,{position:f.position,scale:[0,0]},{scale:f.scale,rotation:f.rotation},n,r),h.on("mouseover",A).on("mouseout",g),T(h,n)}function p(e){var t=s.slice(),r=n.pxSign,i=e;return("start"===n.symbolRepeatDirection?r>0:r<0)&&(i=c-1-e),t[l.index]=d*(i-c/2+.5)+s[l.index],{position:t,scale:n.symbolScale.slice(),rotation:n.rotation}}function A(){N(e,(function(e){e.trigger("emphasis")}))}function g(){N(e,(function(e){e.trigger("normal")}))}}function S(e,t,n,r){var i=e.__pictorialBundle,o=e.__pictorialMainPath;function a(){this.trigger("emphasis")}function s(){this.trigger("normal")}o?j(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,r):(o=e.__pictorialMainPath=x(n),i.add(o),j(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,r),o.on("mouseover",a).on("mouseout",s)),T(o,n)}function k(e,t,n){var r=i.extend({},t.barRectShape),a=e.__pictorialBarRect;a?j(a,null,{shape:r},t,n):(a=e.__pictorialBarRect=new o.Rect({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(a))}function E(e,t,n,r){if(n.symbolClip){var a=e.__pictorialClipPath,s=i.extend({},n.clipShape),l=t.valueDim,c=n.animationModel,u=n.dataIndex;if(a)o.updateProps(a,{shape:s},c,u);else{s[l.wh]=0,a=new o.Rect({shape:s}),e.__pictorialBundle.setClipPath(a),e.__pictorialClipPath=a;var d={};d[l.wh]=n.clipShape[l.wh],o[r?"updateProps":"initProps"](a,{shape:d},c,u)}}}function O(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=B,n.isAnimationEnabled=M,n}function B(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function M(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function T(e,t){e.off("emphasis").off("normal");var n=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function I(e,t,n,r){var i=new o.Group,a=new o.Group;return i.add(a),i.__pictorialBundle=a,a.attr("position",n.bundlePosition.slice()),n.symbolRepeat?C(i,t,n):S(i,t,n),k(i,n,r),E(i,t,n,r),i.__pictorialShapeStr=P(e,n),i.__pictorialSymbolMeta=n,i}function L(e,t,n){var r=n.animationModel,i=n.dataIndex,a=e.__pictorialBundle;o.updateProps(a,{position:n.bundlePosition.slice()},r,i),n.symbolRepeat?C(e,t,n,!0):S(e,t,n,!0),k(e,n,!0),E(e,t,n,!0)}function D(e,t,n,r){var a=r.__pictorialBarRect;a&&(a.style.text=null);var s=[];N(r,(function(e){s.push(e)})),r.__pictorialMainPath&&s.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),i.each(s,(function(e){o.updateProps(e,{scale:[0,0]},n,t,(function(){r.parent&&r.parent.remove(r)}))})),e.setItemGraphicEl(t,null)}function P(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function N(e,t,n){i.each(e.__pictorialBundle.children(),(function(r){r!==e.__pictorialBarRect&&t.call(n,r)}))}function j(e,t,n,r,i,a){t&&e.attr(t),r.symbolClip&&!i?n&&e.attr(n):n&&o[i?"updateProps":"initProps"](e,n,r.animationModel,r.dataIndex,a)}function F(e,t,n){var r=n.color,a=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),c=s.getModel("emphasis.itemStyle").getItemStyle(),u=s.getShallow("cursor");N(e,(function(e){e.setColor(r),e.setStyle(i.defaults({fill:r,opacity:n.opacity},l)),o.setHoverStyle(e,c),u&&(e.cursor=u),e.z2=n.z2}));var d={},f=t.valueDim.posDesc[+(n.boundingLength>0)],p=e.__pictorialBarRect;h(p.style,d,s,r,t.seriesModel,a,f),o.setHoverStyle(p,d)}function R(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var U=g;e.exports=U},"N/zr":function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=a(n("Lo0S"));function o(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n["default"]=e,t&&t.set(e,n),n}var s={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(e){for(var t="",n=e.length,r=n%3,i=0;i<n-2;i+=3)t+=this.toBase64Table[e[i]>>2],t+=this.toBase64Table[((3&e[i])<<4)+(e[i+1]>>4)],t+=this.toBase64Table[((15&e[i+1])<<2)+(e[i+2]>>6)],t+=this.toBase64Table[63&e[i+2]];var o=n-r;return 2===r?(t+=this.toBase64Table[e[o]>>2],t+=this.toBase64Table[((3&e[o])<<4)+(e[o+1]>>4)],t+=this.toBase64Table[(15&e[o+1])<<2],t+=this.toBase64Table[64]):1===r&&(t+=this.toBase64Table[e[o]>>2],t+=this.toBase64Table[(3&e[o])<<4],t+=this.toBase64Table[64],t+=this.toBase64Table[64]),t},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(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.indexOf("=")-t;n<0&&(n=e.length-t);for(var r=3*(n>>2)+Math.floor(n%4/1.5),o=new Array(r),a=0,s=0,l=0,c=t;c<e.length;c++){var u=this.toBinaryTable[127&e.charCodeAt(c)],d=e.charAt(c)===this.base64Pad;-1!==u?(s=s<<6|u,a+=6,a>=8&&(a-=8,d||(o[l++]=s>>a&255),s&=(1<<a)-1)):i.Error("Illegal character code "+e.charCodeAt(c)+" at position "+c)}if(a){var h=new Error("Corrupted base64 string");throw h.name="Base64-Error",h}return o}};t["default"]=s},N5BQ:function(e,t,n){var r=n("OlYY"),i=r.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"}}}),o=i;e.exports=o},NA0q:function(e,t,n){var r=n("bYtY"),i=n("6Ic6"),o=n("TkdX"),a=n("gPAo"),s=n("7aKB"),l=s.windowOpen,c="sunburstRootToNode",u=i.extend({type:"sunburst",init:function(){},render:function(e,t,n,i){var s=this;this.seriesModel=e,this.api=n,this.ecModel=t;var l=e.getData(),c=l.tree.root,u=e.getViewRoot(),d=this.group,h=e.get("renderLabelForZeroData"),f=[];u.eachNode((function(e){f.push(e)}));var p=this._oldChildren||[];if(m(f,p),b(c,u),i&&i.highlight&&i.highlight.piece){var A=e.getShallow("highlightPolicy");i.highlight.piece.onEmphasis(A)}else if(i&&i.unhighlight){var g=this.virtualPiece;!g&&c.children.length&&(g=c.children[0].piece),g&&g.onNormal()}function m(e,t){function n(e){return e.getId()}function i(n,r){var i=null==n?null:e[n],o=null==r?null:t[r];v(i,o)}0===e.length&&0===t.length||new a(t,e,n,n).add(i).update(i).remove(r.curry(i,null)).execute()}function v(n,r){if(h||!n||n.getValue()||(n=null),n!==c&&r!==c)if(r&&r.piece)n?(r.piece.updateData(!1,n,"normal",e,t),l.setItemGraphicEl(n.dataIndex,r.piece)):y(r);else if(n){var i=new o(n,e,t);d.add(i),l.setItemGraphicEl(n.dataIndex,i)}}function y(e){e&&e.piece&&(d.remove(e.piece),e.piece=null)}function b(n,r){if(r.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",e,t):(s.virtualPiece=new o(n,e,t),d.add(s.virtualPiece)),r.piece._onclickEvent&&r.piece.off("click",r.piece._onclickEvent);var i=function(e){s._rootToNode(r.parentNode)};r.piece._onclickEvent=i,s.virtualPiece.on("click",i)}else s.virtualPiece&&(d.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var n=!1,r=e.seriesModel.getViewRoot();r.eachNode((function(r){if(!n&&r.piece&&r.piece.childAt(0)===t.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)e._rootToNode(r);else if("link"===i){var o=r.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";l(a,s)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:c,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var n=t.getData(),r=n.getItemLayout(0);if(r){var i=e[0]-r.cx,o=e[1]-r.cy,a=Math.sqrt(i*i+o*o);return a<=r.r&&a>=r.r0}}}),d=u;e.exports=d},NAnI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("wXyp"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},NBmB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodingName=i,t.encodings=void 0;var r={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};function i(e){switch(e){case r.encodingRaw:return"Raw";case r.encodingCopyRect:return"CopyRect";case r.encodingRRE:return"RRE";case r.encodingHextile:return"Hextile";case r.encodingTight:return"Tight";case r.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+e+"]"}}t.encodings=r},NC18:function(e,t,n){var r=n("y+Vt"),i=n("IMiH"),o=n("7oTu"),a=Math.sqrt,s=Math.sin,l=Math.cos,c=Math.PI,u=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},d=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(u(e)*u(t))},h=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(d(e,t))};function f(e,t,n,r,i,o,u,f,p,A,g){var m=p*(c/180),v=l(m)*(e-n)/2+s(m)*(t-r)/2,y=-1*s(m)*(e-n)/2+l(m)*(t-r)/2,b=v*v/(u*u)+y*y/(f*f);b>1&&(u*=a(b),f*=a(b));var _=(i===o?-1:1)*a((u*u*(f*f)-u*u*(y*y)-f*f*(v*v))/(u*u*(y*y)+f*f*(v*v)))||0,w=_*u*y/f,x=_*-f*v/u,C=(e+n)/2+l(m)*w-s(m)*x,S=(t+r)/2+s(m)*w+l(m)*x,k=h([1,0],[(v-w)/u,(y-x)/f]),E=[(v-w)/u,(y-x)/f],O=[(-1*v-w)/u,(-1*y-x)/f],B=h(E,O);d(E,O)<=-1&&(B=c),d(E,O)>=1&&(B=0),0===o&&B>0&&(B-=2*c),1===o&&B<0&&(B+=2*c),g.addData(A,C,S,u,f,k,B,m,o)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,A=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function g(e){if(!e)return new i;for(var t,n=0,r=0,o=n,a=r,s=new i,l=i.CMD,c=e.match(p),u=0;u<c.length;u++){for(var d,h=c[u],g=h.charAt(0),m=h.match(A)||[],v=m.length,y=0;y<v;y++)m[y]=parseFloat(m[y]);var b=0;while(b<v){var _,w,x,C,S,k,E,O=n,B=r;switch(g){case"l":n+=m[b++],r+=m[b++],d=l.L,s.addData(d,n,r);break;case"L":n=m[b++],r=m[b++],d=l.L,s.addData(d,n,r);break;case"m":n+=m[b++],r+=m[b++],d=l.M,s.addData(d,n,r),o=n,a=r,g="l";break;case"M":n=m[b++],r=m[b++],d=l.M,s.addData(d,n,r),o=n,a=r,g="L";break;case"h":n+=m[b++],d=l.L,s.addData(d,n,r);break;case"H":n=m[b++],d=l.L,s.addData(d,n,r);break;case"v":r+=m[b++],d=l.L,s.addData(d,n,r);break;case"V":r=m[b++],d=l.L,s.addData(d,n,r);break;case"C":d=l.C,s.addData(d,m[b++],m[b++],m[b++],m[b++],m[b++],m[b++]),n=m[b-2],r=m[b-1];break;case"c":d=l.C,s.addData(d,m[b++]+n,m[b++]+r,m[b++]+n,m[b++]+r,m[b++]+n,m[b++]+r),n+=m[b-2],r+=m[b-1];break;case"S":_=n,w=r;var M=s.len(),T=s.data;t===l.C&&(_+=n-T[M-4],w+=r-T[M-3]),d=l.C,O=m[b++],B=m[b++],n=m[b++],r=m[b++],s.addData(d,_,w,O,B,n,r);break;case"s":_=n,w=r;M=s.len(),T=s.data;t===l.C&&(_+=n-T[M-4],w+=r-T[M-3]),d=l.C,O=n+m[b++],B=r+m[b++],n+=m[b++],r+=m[b++],s.addData(d,_,w,O,B,n,r);break;case"Q":O=m[b++],B=m[b++],n=m[b++],r=m[b++],d=l.Q,s.addData(d,O,B,n,r);break;case"q":O=m[b++]+n,B=m[b++]+r,n+=m[b++],r+=m[b++],d=l.Q,s.addData(d,O,B,n,r);break;case"T":_=n,w=r;M=s.len(),T=s.data;t===l.Q&&(_+=n-T[M-4],w+=r-T[M-3]),n=m[b++],r=m[b++],d=l.Q,s.addData(d,_,w,n,r);break;case"t":_=n,w=r;M=s.len(),T=s.data;t===l.Q&&(_+=n-T[M-4],w+=r-T[M-3]),n+=m[b++],r+=m[b++],d=l.Q,s.addData(d,_,w,n,r);break;case"A":x=m[b++],C=m[b++],S=m[b++],k=m[b++],E=m[b++],O=n,B=r,n=m[b++],r=m[b++],d=l.A,f(O,B,n,r,k,E,x,C,S,d,s);break;case"a":x=m[b++],C=m[b++],S=m[b++],k=m[b++],E=m[b++],O=n,B=r,n+=m[b++],r+=m[b++],d=l.A,f(O,B,n,r,k,E,x,C,S,d,s);break}}"z"!==g&&"Z"!==g||(d=l.Z,s.addData(d),n=o,r=a),t=d}return s.toStatic(),s}function m(e,t){var n=g(e);return t=t||{},t.buildPath=function(e){if(e.setData){e.setData(n.data);var t=e.getContext();t&&e.rebuildPath(t)}else{t=e;n.rebuildPath(t)}},t.applyTransform=function(e){o(n,e),this.dirty(!0)},t}function v(e,t){return new r(m(e,t))}function y(e,t){return r.extend(m(e,t))}function b(e,t){for(var n=[],i=e.length,o=0;o<i;o++){var a=e[o];a.path||a.createPathProxy(),a.__dirtyPath&&a.buildPath(a.path,a.shape,!0),n.push(a.path)}var s=new r(t);return s.createPathProxy(),s.buildPath=function(e){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t)},s}t.createFromString=v,t.extendFromString=y,t.mergePath=b},NH9N:function(e,t,n){var r=n("bYtY"),i=n("mFDi"),o=n("Fofx"),a=n("IwbS"),s=n("+TT/"),l=n("kzvK"),c=n("CMP+"),u=n("oVpE"),d=u.createSymbol,h=n("aX7z"),f=n("OELB"),p=n("7aKB"),A=p.encodeHTML,g=r.bind,m=r.each,v=Math.PI,y=l.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,n,r){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var i=this._layout(e,n),o=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(i,e);e.formatTooltip=function(e){return A(s.scale.getLabel(e))},m(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](i,o,s,e)}),this),this._renderAxisLabel(i,a,s,e),this._position(i,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var n=e.get("label.position"),r=e.get("orient"),i=b(e,t);null==n||"auto"===n?n="horizontal"===r?i.y+i.height/2<t.getHeight()/2?"-":"+":i.x+i.width/2<t.getWidth()/2?"+":"-":isNaN(n)&&(n={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[r][n]);var o,a,s,l,c={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},u={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:v/2},h="vertical"===r?i.height:i.width,f=e.getModel("controlStyle"),p=f.get("show",!0),A=p?f.get("itemSize"):0,g=p?f.get("itemGap"):0,m=A+g,y=e.get("label.rotate")||0;y=y*v/180;var _=f.get("position",!0),w=p&&f.get("showPlayBtn",!0),x=p&&f.get("showPrevBtn",!0),C=p&&f.get("showNextBtn",!0),S=0,k=h;return"left"===_||"bottom"===_?(w&&(o=[0,0],S+=m),x&&(a=[S,0],S+=m),C&&(s=[k-A,0],k-=m)):(w&&(o=[k-A,0],k-=m),x&&(a=[0,0],S+=m),C&&(s=[k-A,0],k-=m)),l=[S,k],e.get("inverse")&&l.reverse(),{viewRect:i,mainLength:h,orient:r,rotation:d[r],labelRotation:y,labelPosOpt:n,labelAlign:e.get("label.align")||c[r],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||u[r],playPosition:o,prevBtnPosition:a,nextBtnPosition:s,axisExtent:l,controlSize:A,controlGap:g}},_position:function(e,t){var n=this._mainGroup,r=this._labelGroup,i=e.viewRect;if("vertical"===e.orient){var a=o.create(),s=i.x,l=i.y+i.height;o.translate(a,a,[-s,-l]),o.rotate(a,a,-v/2),o.translate(a,a,[s,l]),i=i.clone(),i.applyTransform(a)}var c=m(i),u=m(n.getBoundingRect()),d=m(r.getBoundingRect()),h=n.position,f=r.position;f[0]=h[0]=c[0][0];var p=e.labelPosOpt;if(isNaN(p)){var A="+"===p?0:1;y(h,u,c,1,A),y(f,d,c,1,1-A)}else{A=p>=0?0:1;y(h,u,c,1,A),f[1]=h[1]+p}function g(e){var t=e.position;e.origin=[c[0][0]-t[0],c[1][0]-t[1]]}function m(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function y(e,t,n,r,i){e[r]+=n[r][i]-t[r][i]}n.attr("position",h),r.attr("position",f),n.rotation=r.rotation=e.rotation,g(n),g(r)},_createAxis:function(e,t){var n=t.getData(),r=t.get("axisType"),i=h.createScaleByModel(t,r);i.getTicks=function(){return n.mapArray(["value"],(function(e){return e}))};var o=n.getDataExtent("value");i.setExtent(o[0],o[1]),i.niceTicks();var a=new c("value",i,e.axisExtent,r);return a.model=t,a},_createGroup:function(e){var t=this["_"+e]=new a.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,n,i){var o=n.getExtent();i.get("lineStyle.show")&&t.add(new a.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:r.extend({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,n,r){var i=r.getData(),o=n.scale.getTicks();m(o,(function(e){var o=n.dataToCoord(e),s=i.getItemModel(e),l=s.getModel("itemStyle"),c=s.getModel("emphasis.itemStyle"),u={position:[o,0],onclick:g(this._changeTimeline,this,e)},d=w(s,l,t,u);a.setHoverStyle(d,c.getItemStyle()),s.get("tooltip")?(d.dataIndex=e,d.dataModel=r):d.dataIndex=d.dataModel=null}),this)},_renderAxisLabel:function(e,t,n,r){var i=n.getLabelModel();if(i.get("show")){var o=r.getData(),s=n.getViewLabels();m(s,(function(r){var i=r.tickValue,s=o.getItemModel(i),l=s.getModel("label"),c=s.getModel("emphasis.label"),u=n.dataToCoord(r.tickValue),d=new a.Text({position:[u,0],rotation:e.labelRotation-e.rotation,onclick:g(this._changeTimeline,this,i),silent:!1});a.setTextStyle(d.style,l,{text:r.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(d),a.setHoverStyle(d,a.setTextStyle({},c))}),this)}},_renderControl:function(e,t,n,r){var i=e.controlSize,o=e.rotation,s=r.getModel("controlStyle").getItemStyle(),l=r.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-i/2,i,i],u=r.getPlayState(),d=r.get("inverse",!0);function h(e,n,u,d){if(e){var h={position:e,origin:[i/2,0],rotation:d?-o:0,rectHover:!0,style:s,onclick:u},f=_(r,n,c,h);t.add(f),a.setHoverStyle(f,l)}}h(e.nextBtnPosition,"controlStyle.nextIcon",g(this._changeTimeline,this,d?"-":"+")),h(e.prevBtnPosition,"controlStyle.prevIcon",g(this._changeTimeline,this,d?"+":"-")),h(e.playPosition,"controlStyle."+(u?"stopIcon":"playIcon"),g(this._handlePlayClick,this,!u),!0)},_renderCurrentPointer:function(e,t,n,r){var i=r.getData(),o=r.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=g(s._handlePointerDrag,s),e.ondragend=g(s._handlePointerDragend,s),x(e,o,n,r,!0)},onUpdate:function(e){x(e,o,n,r)}};this._currentPointer=w(a,a,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var n=this._toAxisCoord(e)[0],r=this._axis,i=f.asc(r.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.position[0]=n,this._currentPointer.dirty();var o=this._findNearestTick(n),a=this.model;(t||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},_doPlayStop:function(){function e(){var e=this.model;this._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(g(e,this),this.model.get("playInterval")))},_toAxisCoord:function(e){var t=this._mainGroup.getLocalTransform();return a.applyTransform(e,t,!0)},_findNearestTick:function(e){var t,n=this.model.getData(),r=1/0,i=this._axis;return n.each(["value"],(function(n,o){var a=i.dataToCoord(n),s=Math.abs(a-e);s<r&&(r=s,t=o)})),t},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})}});function b(e,t){return s.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function _(e,t,n,o){var s=a.makePath(e.get(t).replace(/^path:\/\//,""),r.clone(o||{}),new i(n[0],n[1],n[2],n[3]),"center");return s}function w(e,t,n,i,o,a){var s=t.get("color");if(o)o.setColor(s),n.add(o),a&&a.onUpdate(o);else{var l=e.get("symbol");o=d(l,-1,-1,2,2,s),o.setStyle("strokeNoScale",!0),n.add(o),a&&a.onCreate(o)}var c=t.getItemStyle(["color","symbol","symbolSize"]);o.setStyle(c),i=r.merge({rectHover:!0,z2:100},i,!0);var u=e.get("symbolSize");u=u instanceof Array?u.slice():[+u,+u],u[0]/=2,u[1]/=2,i.scale=u;var h=e.get("symbolOffset");if(h){var p=i.position=i.position||[0,0];p[0]+=f.parsePercent(h[0],u[0]),p[1]+=f.parsePercent(h[1],u[1])}var A=e.get("symbolRotate");return i.rotation=(A||0)*Math.PI/180||0,o.attr(i),o.updateTransform(),o}function x(e,t,n,r,i){if(!e.dragging){var o=r.getModel("checkpointStyle"),a=n.dataToCoord(r.getData().get(["value"],t));i||!o.get("animation",!0)?e.attr({position:[a,0]}):(e.stopAnimation(!0),e.animateTo({position:[a,0]},o.get("animationDuration",!0),o.get("animationEasing",!0)))}}e.exports=y},NJEC:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("J4zp"),a=n.n(o),s=n("q1tI"),l=n("TSYQ"),c=n.n(l),u=n("sKbD"),d=n.n(u),h=n("4IlW"),f=n("3S7+"),p=n("2/Rp"),A=n("zvFY"),g=n("YMnH"),m=n("ZvpZ"),v=n("H84U"),y=n("bogI"),b=n("0n0R"),_=void 0,w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},x=s["forwardRef"]((function(e,t){var n=s["useState"](e.visible),r=a()(n,2),o=r[0],l=r[1];s["useEffect"]((function(){"visible"in e&&l(e.visible)}),[e.visible]),s["useEffect"]((function(){"defaultVisible"in e&&l(e.defaultVisible)}),[e.defaultVisible]);var u=function(t,n){"visible"in e||l(t),e.onVisibleChange&&e.onVisibleChange(t,n)},d=function(t){u(!1,t),e.onConfirm&&e.onConfirm.call(_,t)},x=function(t){u(!1,t),e.onCancel&&e.onCancel.call(_,t)},C=function(e){e.keyCode===h["a"].ESC&&o&&u(!1,e)},S=function(t){var n=e.disabled;n||u(t)},k=function(t,n){var r=e.okButtonProps,o=e.cancelButtonProps,a=e.title,l=e.cancelText,c=e.okText,u=e.okType,h=e.icon;return s["createElement"]("div",{className:"".concat(t,"-inner-content")},s["createElement"]("div",{className:"".concat(t,"-message")},h,s["createElement"]("div",{className:"".concat(t,"-message-title")},Object(y["a"])(a))),s["createElement"]("div",{className:"".concat(t,"-buttons")},s["createElement"](p["a"],i()({onClick:x,size:"small"},o),l||n.cancelText),s["createElement"](p["a"],i()({onClick:d},Object(A["a"])(u),{size:"small"},r),c||n.okText)))},E=s["useContext"](v["b"]),O=E.getPrefixCls,B=e.prefixCls,M=e.placement,T=e.children,I=e.overlayClassName,L=w(e,["prefixCls","placement","children","overlayClassName"]),D=O("popover",B),P=O("popconfirm",B),N=c()(P,I),j=s["createElement"](g["a"],{componentName:"Popconfirm",defaultLocale:m["a"].Popconfirm},(function(e){return k(D,e)}));return s["createElement"](f["a"],i()({},L,{prefixCls:D,placement:M,onVisibleChange:S,visible:o,overlay:j,overlayClassName:N,ref:t}),Object(b["a"])(T,{onKeyDown:function(e){var t,n;null===(n=null===T||void 0===T?void 0:(t=T.props).onKeyDown)||void 0===n||n.call(t,e),C(e)}}))}));x.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:s["createElement"](d.a,null),disabled:!1},t["a"]=x},NKxu:function(e,t,n){var r=n("lSCD"),i=n("E2jh"),o=n("GoyQ"),a=n("3Fdi"),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,d=c.toString,h=u.hasOwnProperty,f=RegExp("^"+d.call(h).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(e){if(!o(e)||i(e))return!1;var t=r(e)?f:l;return t.test(a(e))}e.exports=p},NUBc:function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("q1tI"),l=n.n(s),c=n("wx14"),u=n("rePB"),d=n("VTBJ"),h=n("1OyB"),f=n("vuIU"),p=n("Ji7U"),A=n("LK+K"),g=n("TSYQ"),m=n.n(g),v=function(e){var t,n="".concat(e.rootPrefixCls,"-item"),r=m()(n,"".concat(n,"-").concat(e.page),(t={},Object(u["a"])(t,"".concat(n,"-active"),e.active),Object(u["a"])(t,e.className,!!e.className),Object(u["a"])(t,"".concat(n,"-disabled"),!e.page),t)),i=function(){e.onClick(e.page)},o=function(t){e.onKeyPress(t,e.onClick,e.page)};return l.a.createElement("li",{title:e.showTitle?e.page:null,className:r,onClick:i,onKeyPress:o,tabIndex:"0"},e.itemRender(e.page,"page",l.a.createElement("a",{rel:"nofollow"},e.page)))},y=v,b={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},_=function(e){Object(p["a"])(n,e);var t=Object(A["a"])(n);function n(){var e;Object(h["a"])(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),e.state={goInputText:""},e.buildOptionText=function(t){return"".concat(t," ").concat(e.props.locale.items_per_page)},e.changeSize=function(t){e.props.changeSize(Number(t))},e.handleChange=function(t){e.setState({goInputText:t.target.value})},e.handleBlur=function(t){var n=e.props,r=n.goButton,i=n.quickGo,o=n.rootPrefixCls,a=e.state.goInputText;r||""===a||t.relatedTarget&&(t.relatedTarget.className.indexOf("".concat(o,"-prev"))>=0||t.relatedTarget.className.indexOf("".concat(o,"-next"))>=0)||(e.setState({goInputText:""}),i(e.getValidValue()))},e.go=function(t){var n=e.state.goInputText;""!==n&&(t.keyCode!==b.ENTER&&"click"!==t.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return Object(f["a"])(n,[{key:"getValidValue",value:function(){var e=this.state,t=e.goInputText,n=e.current;return!t||isNaN(t)?n:Number(t)}},{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){var n=isNaN(Number(e))?0:Number(e),r=isNaN(Number(t))?0:Number(t);return n-r}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,r=t.locale,i=t.rootPrefixCls,o=t.changeSize,a=t.quickGo,s=t.goButton,c=t.selectComponentClass,u=t.buildOptionText,d=t.selectPrefixCls,h=t.disabled,f=this.state.goInputText,p="".concat(i,"-options"),A=c,g=null,m=null,v=null;if(!o&&!a)return null;var y=this.getPageSizeOptions();if(o&&A){var b=y.map((function(t,n){return l.a.createElement(A.Option,{key:n,value:t.toString()},(u||e.buildOptionText)(t))}));g=l.a.createElement(A,{disabled:h,prefixCls:d,showSearch:!1,className:"".concat(p,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(n||y[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode}},b)}return a&&(s&&(v="boolean"===typeof s?l.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:h,className:"".concat(p,"-quick-jumper-button")},r.jump_to_confirm):l.a.createElement("span",{onClick:this.go,onKeyUp:this.go},s)),m=l.a.createElement("div",{className:"".concat(p,"-quick-jumper")},r.jump_to,l.a.createElement("input",{disabled:h,type:"text",value:f,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),r.page,v)),l.a.createElement("li",{className:"".concat(p)},g,m)}}]),n}(l.a.Component);_.defaultProps={pageSizeOptions:["10","20","50","100"]};var w=_,x=n("N2Kk");function C(){}function S(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e}function k(e,t,n){return n}function E(e,t,n){var r="undefined"===typeof e?t.pageSize:e;return Math.floor((n.total-1)/r)+1}var O=function(e){Object(p["a"])(n,e);var t=Object(A["a"])(n);function n(e){var r;Object(h["a"])(this,n),r=t.call(this,e),r.getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},r.getJumpNextPage=function(){return Math.min(E(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},r.getItemIcon=function(e,t){var n=r.props.prefixCls,i=e||l.a.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"===typeof e&&(i=l.a.createElement(e,Object(d["a"])({},r.props))),i},r.savePaginationNode=function(e){r.paginationNode=e},r.isValid=function(e){return S(e)&&e!==r.state.current},r.shouldDisplayQuickJumper=function(){var e=r.props,t=e.showQuickJumper,n=e.pageSize,i=e.total;return!(i<=n)&&t},r.handleKeyDown=function(e){e.keyCode!==b.ARROW_UP&&e.keyCode!==b.ARROW_DOWN||e.preventDefault()},r.handleKeyUp=function(e){var t=r.getValidValue(e),n=r.state.currentInputValue;t!==n&&r.setState({currentInputValue:t}),e.keyCode===b.ENTER?r.handleChange(t):e.keyCode===b.ARROW_UP?r.handleChange(t-1):e.keyCode===b.ARROW_DOWN&&r.handleChange(t+1)},r.changePageSize=function(e){var t=r.state.current,n=E(e,r.state,r.props);t=t>n?n:t,0===n&&(t=r.state.current),"number"===typeof e&&("pageSize"in r.props||r.setState({pageSize:e}),"current"in r.props||r.setState({current:t,currentInputValue:t})),r.props.onShowSizeChange(t,e),"onChange"in r.props&&r.props.onChange&&r.props.onChange(t,e)},r.handleChange=function(e){var t=r.props.disabled,n=e;if(r.isValid(n)&&!t){var i=E(void 0,r.state,r.props);n>i?n=i:n<1&&(n=1),"current"in r.props||r.setState({current:n,currentInputValue:n});var o=r.state.pageSize;return r.props.onChange(n,o),n}return r.state.current},r.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},r.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},r.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},r.jumpNext=function(){r.handleChange(r.getJumpNextPage())},r.hasPrev=function(){return r.state.current>1},r.hasNext=function(){return r.state.current<E(void 0,r.state,r.props)},r.runIfEnter=function(e,t){if("Enter"===e.key||13===e.charCode){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];t.apply(void 0,r)}},r.runIfEnterPrev=function(e){r.runIfEnter(e,r.prev)},r.runIfEnterNext=function(e){r.runIfEnter(e,r.next)},r.runIfEnterJumpPrev=function(e){r.runIfEnter(e,r.jumpPrev)},r.runIfEnterJumpNext=function(e){r.runIfEnter(e,r.jumpNext)},r.handleGoTO=function(e){e.keyCode!==b.ENTER&&"click"!==e.type||r.handleChange(r.state.currentInputValue)};var i=e.onChange!==C,o="current"in e;o&&!i&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var a=e.defaultCurrent;"current"in e&&(a=e.current);var s=e.defaultPageSize;return"pageSize"in e&&(s=e.pageSize),a=Math.min(a,E(s,void 0,e)),r.state={current:a,currentInputValue:a,pageSize:s},r}return Object(f["a"])(n,[{key:"componentDidUpdate",value:function(e,t){var n=this.props.prefixCls;if(t.current!==this.state.current&&this.paginationNode){var r=this.paginationNode.querySelector(".".concat(n,"-item-").concat(t.current));r&&document.activeElement===r&&r.blur()}}},{key:"getValidValue",value:function(e){var t,n=e.target.value,r=E(void 0,this.state,this.props),i=this.state.currentInputValue;return t=""===n?n:isNaN(Number(n))?i:n>=r?r:Number(n),t}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,r=e.totalBoundaryShowSizeChanger;return"undefined"!==typeof t?t:n>r}},{key:"renderPrev",value:function(e){var t=this.props,n=t.prevIcon,r=t.itemRender,i=r(e,"prev",this.getItemIcon(n,"prev page")),o=!this.hasPrev();return Object(s["isValidElement"])(i)?Object(s["cloneElement"])(i,{disabled:o}):i}},{key:"renderNext",value:function(e){var t=this.props,n=t.nextIcon,r=t.itemRender,i=r(e,"next",this.getItemIcon(n,"next page")),o=!this.hasNext();return Object(s["isValidElement"])(i)?Object(s["cloneElement"])(i,{disabled:o}):i}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.className,i=t.style,o=t.disabled,a=t.hideOnSinglePage,d=t.total,h=t.locale,f=t.showQuickJumper,p=t.showLessItems,A=t.showTitle,g=t.showTotal,v=t.simple,b=t.itemRender,_=t.showPrevNextJumpers,x=t.jumpPrevIcon,C=t.jumpNextIcon,S=t.selectComponentClass,k=t.selectPrefixCls,O=t.pageSizeOptions,B=this.state,M=B.current,T=B.pageSize,I=B.currentInputValue;if(!0===a&&d<=T)return null;var L=E(void 0,this.state,this.props),D=[],P=null,N=null,j=null,F=null,R=null,U=f&&f.goButton,H=p?1:2,Q=M-1>0?M-1:0,K=M+1<L?M+1:L,z=Object.keys(this.props).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e.props[n]),t}),{});if(v)return U&&(R="boolean"===typeof U?l.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},h.jump_to_confirm):l.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},U),R=l.a.createElement("li",{title:A?"".concat(h.jump_to).concat(M,"/").concat(L):null,className:"".concat(n,"-simple-pager")},R)),l.a.createElement("ul",Object(c["a"])({className:m()(n,"".concat(n,"-simple"),Object(u["a"])({},"".concat(n,"-disabled"),o),r),style:i,ref:this.savePaginationNode},z),l.a.createElement("li",{title:A?h.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:m()("".concat(n,"-prev"),Object(u["a"])({},"".concat(n,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(Q)),l.a.createElement("li",{title:A?"".concat(M,"/").concat(L):null,className:"".concat(n,"-simple-pager")},l.a.createElement("input",{type:"text",value:I,disabled:o,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),l.a.createElement("span",{className:"".concat(n,"-slash")},"/"),L),l.a.createElement("li",{title:A?h.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:m()("".concat(n,"-next"),Object(u["a"])({},"".concat(n,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(K)),R);if(L<=3+2*H){var V={locale:h,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:A,itemRender:b};L||D.push(l.a.createElement(y,Object(c["a"])({},V,{key:"noPager",page:L,className:"".concat(n,"-disabled")})));for(var W=1;W<=L;W+=1){var G=M===W;D.push(l.a.createElement(y,Object(c["a"])({},V,{key:W,page:W,active:G})))}}else{var X=p?h.prev_3:h.prev_5,q=p?h.next_3:h.next_5;_&&(P=l.a.createElement("li",{title:A?X:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:m()("".concat(n,"-jump-prev"),Object(u["a"])({},"".concat(n,"-jump-prev-custom-icon"),!!x))},b(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(x,"prev page"))),N=l.a.createElement("li",{title:A?q:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:m()("".concat(n,"-jump-next"),Object(u["a"])({},"".concat(n,"-jump-next-custom-icon"),!!C))},b(this.getJumpNextPage(),"jump-next",this.getItemIcon(C,"next page")))),F=l.a.createElement(y,{locale:h,last:!0,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:L,page:L,active:!1,showTitle:A,itemRender:b}),j=l.a.createElement(y,{locale:h,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:A,itemRender:b});var Y=Math.max(1,M-H),Z=Math.min(M+H,L);M-1<=H&&(Z=1+2*H),L-M<=H&&(Y=L-2*H);for(var J=Y;J<=Z;J+=1){var $=M===J;D.push(l.a.createElement(y,{locale:h,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:J,page:J,active:$,showTitle:A,itemRender:b}))}M-1>=2*H&&3!==M&&(D[0]=Object(s["cloneElement"])(D[0],{className:"".concat(n,"-item-after-jump-prev")}),D.unshift(P)),L-M>=2*H&&M!==L-2&&(D[D.length-1]=Object(s["cloneElement"])(D[D.length-1],{className:"".concat(n,"-item-before-jump-next")}),D.push(N)),1!==Y&&D.unshift(j),Z!==L&&D.push(F)}var ee=null;g&&(ee=l.a.createElement("li",{className:"".concat(n,"-total-text")},g(d,[0===d?0:(M-1)*T+1,M*T>d?d:M*T])));var te=!this.hasPrev()||!L,ne=!this.hasNext()||!L;return l.a.createElement("ul",Object(c["a"])({className:m()(n,r,Object(u["a"])({},"".concat(n,"-disabled"),o)),style:i,unselectable:"unselectable",ref:this.savePaginationNode},z),ee,l.a.createElement("li",{title:A?h.prev_page:null,onClick:this.prev,tabIndex:te?null:0,onKeyPress:this.runIfEnterPrev,className:m()("".concat(n,"-prev"),Object(u["a"])({},"".concat(n,"-disabled"),te)),"aria-disabled":te},this.renderPrev(Q)),D,l.a.createElement("li",{title:A?h.next_page:null,onClick:this.next,tabIndex:ne?null:0,onKeyPress:this.runIfEnterNext,className:m()("".concat(n,"-next"),Object(u["a"])({},"".concat(n,"-disabled"),ne)),"aria-disabled":ne},this.renderNext(K)),l.a.createElement(w,{disabled:o,locale:h,rootPrefixCls:n,selectComponentClass:S,selectPrefixCls:k,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:M,pageSize:T,pageSizeOptions:O,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:U}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var r=t.current,i=E(e.pageSize,t,e);r=r>i?i:r,"current"in e||(n.current=r,n.currentInputValue=r),n.pageSize=e.pageSize}return n}}]),n}(l.a.Component);O.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:C,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:C,locale:x["a"],style:{},itemRender:k,totalBoundaryShowSizeChanger:50};var B=O,M=n("H4fg"),T=n("DFhj"),I=n.n(T),L=n("fEPi"),D=n.n(L),P=n("u9fO"),N=n.n(P),j=n("mO/d"),F=n.n(j),R=n("2fM7"),U=function(e){return s["createElement"](R["a"],a()({size:"small"},e))};U.Option=R["a"].Option;var H=U,Q=n("YMnH"),K=n("H84U"),z=n("5OYt"),V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},W=function(e){var t=e.prefixCls,n=e.selectPrefixCls,r=e.className,o=e.size,l=e.locale,c=V(e,["prefixCls","selectPrefixCls","className","size","locale"]),u=Object(z["a"])(),d=u.xs,h=s["useContext"](K["b"]),f=h.getPrefixCls,p=h.direction,A=f("pagination",t),g=function(){var e=s["createElement"]("span",{className:"".concat(A,"-item-ellipsis")},"\u2022\u2022\u2022"),t=s["createElement"]("button",{className:"".concat(A,"-item-link"),type:"button",tabIndex:-1},s["createElement"](I.a,null)),n=s["createElement"]("button",{className:"".concat(A,"-item-link"),type:"button",tabIndex:-1},s["createElement"](D.a,null)),r=s["createElement"]("a",{className:"".concat(A,"-item-link")},s["createElement"]("div",{className:"".concat(A,"-item-container")},s["createElement"](N.a,{className:"".concat(A,"-item-link-icon")}),e)),i=s["createElement"]("a",{className:"".concat(A,"-item-link")},s["createElement"]("div",{className:"".concat(A,"-item-container")},s["createElement"](F.a,{className:"".concat(A,"-item-link-icon")}),e));if("rtl"===p){var o=[n,t];t=o[0],n=o[1];var a=[i,r];r=a[0],i=a[1]}return{prevIcon:t,nextIcon:n,jumpPrevIcon:r,jumpNextIcon:i}},v=function(e){var t=a()(a()({},e),l),u="small"===o||!(!d||o||!c.responsive),h=f("select",n),v=m()(r,i()({mini:u},"".concat(A,"-rtl"),"rtl"===p));return s["createElement"](B,a()({},c,{prefixCls:A,selectPrefixCls:h},g(),{className:v,selectComponentClass:u?H:R["a"],locale:t}))};return s["createElement"](Q["a"],{componentName:"Pagination",defaultLocale:M["a"]},v)},G=W;t["a"]=G},NohK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}};t["default"]=r},Npjl:function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},Nu4q:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{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:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"};t.default=r},"O/iA":function(e,t,n){},O3gP:function(e,t,n){"use strict";n("cIOH"),n("O/iA"),n("OaEy")},OELB:function(e,t,n){var r=n("bYtY"),i=1e-4;function o(e){return e.replace(/^\s+|\s+$/g,"")}function a(e,t,n,r){var i=t[1]-t[0],o=n[1]-n[0];if(0===i)return 0===o?n[0]:(n[0]+n[1])/2;if(r)if(i>0){if(e<=t[0])return n[0];if(e>=t[1])return n[1]}else{if(e>=t[0])return n[0];if(e<=t[1])return n[1]}else{if(e===t[0])return n[0];if(e===t[1])return n[1]}return(e-t[0])/i*o+n[0]}function s(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return"string"===typeof e?o(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function l(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e}function c(e){return e.sort((function(e,t){return e-t})),e}function u(e){if(e=+e,isNaN(e))return 0;var t=1,n=0;while(Math.round(e*t)/t!==e)t*=10,n++;return n}function d(e){var t=e.toString(),n=t.indexOf("e");if(n>0){var r=+t.slice(n+1);return r<0?-r:0}var i=t.indexOf(".");return i<0?0:t.length-1-i}function h(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function f(e,t,n){if(!e[t])return 0;var i=r.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===i)return 0;var o=Math.pow(10,n),a=r.map(e,(function(e){return(isNaN(e)?0:e)/i*o*100})),s=100*o,l=r.map(a,(function(e){return Math.floor(e)})),c=r.reduce(l,(function(e,t){return e+t}),0),u=r.map(a,(function(e,t){return e-l[t]}));while(c<s){for(var d=Number.NEGATIVE_INFINITY,h=null,f=0,p=u.length;f<p;++f)u[f]>d&&(d=u[f],h=f);++l[h],u[h]=0,++c}return l[t]/o}var p=9007199254740991;function A(e){var t=2*Math.PI;return(e%t+t)%t}function g(e){return e>-i&&e<i}var m=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function v(e){if(e instanceof Date)return e;if("string"===typeof e){var t=m.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,+t[7]||0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,+t[7]||0)}return null==e?new Date(NaN):new Date(Math.round(e))}function y(e){return Math.pow(10,b(e))}function b(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function _(e,t){var n,r=b(e),i=Math.pow(10,r),o=e/i;return n=t?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,e=n*i,r>=-20?+e.toFixed(r<0?-r:0):e}function w(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],o=n-r;return o?i+o*(e[r]-i):i}function x(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,r=0;r<e.length;){for(var i=e[r].interval,o=e[r].close,a=0;a<2;a++)i[a]<=t&&(i[a]=t,o[a]=a?1:1-n),t=i[a],n=o[a];i[0]===i[1]&&o[0]*o[1]!==1?e.splice(r,1):r++}return e;function s(e,t,n){return e.interval[n]<t.interval[n]||e.interval[n]===t.interval[n]&&(e.close[n]-t.close[n]===(n?-1:1)||!n&&s(e,t,1))}}function C(e){return e-parseFloat(e)>=0}t.linearMap=a,t.parsePercent=s,t.round=l,t.asc=c,t.getPrecision=u,t.getPrecisionSafe=d,t.getPixelPrecision=h,t.getPercentWithPrecision=f,t.MAX_SAFE_INTEGER=p,t.remRadian=A,t.isRadianAroundZero=g,t.parseDate=v,t.quantity=y,t.quantityExponent=b,t.nice=_,t.quantile=w,t.reformIntervals=x,t.isNumeric=C},OKJ2:function(e,t,n){var r=n("KxfA"),i=r.retrieveRawValue,o=n("7aKB"),a=o.getTooltipMarker,s=o.formatTpl,l=n("4NO4"),c=l.getTooltipRenderMode,u=/\{@(.+?)\}/g,d={getDataParams:function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),o=n.getName(e),s=n.getRawDataItem(e),l=n.getItemVisual(e,"color"),u=n.getItemVisual(e,"borderColor"),d=this.ecModel.getComponent("tooltip"),h=d&&d.get("renderMode"),f=c(h),p=this.mainType,A="series"===p,g=n.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:A?this.subType:null,seriesIndex:this.seriesIndex,seriesId:A?this.id:null,seriesName:A?this.name:null,name:o,dataIndex:i,data:s,dataType:t,value:r,color:l,borderColor:u,dimensionNames:g?g.dimensionNames:null,encode:g?g.encode:null,marker:a({color:l,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,t,n,r,o){t=t||"normal";var a=this.getData(n),l=a.getItemModel(e),c=this.getDataParams(e,n);null!=r&&c.value instanceof Array&&(c.value=c.value[r]);var d=l.get("normal"===t?[o||"label","formatter"]:[t,o||"label","formatter"]);if("function"===typeof d)return c.status=t,c.dimensionIndex=r,d(c);if("string"===typeof d){var h=s(d,c);return h.replace(u,(function(t,n){var r=n.length;return"["===n.charAt(0)&&"]"===n.charAt(r-1)&&(n=+n.slice(1,r-1)),i(a,e,n)}))}},getRawValue:function(e,t){return i(this.getData(t),e)},formatTooltip:function(){}};e.exports=d},OPEp:function(e,t,n){},OQFs:function(e,t,n){var r=n("KCsZ"),i=r([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getLineStyle:function(e){var t=i(this,e);return t.lineDash=this.getLineDash(t.lineWidth),t},getLineDash:function(e){null==e&&(e=1);var t=this.get("type"),n=Math.max(e,2),r=4*e;return"solid"!==t&&null!=t&&("dashed"===t?[r,r]:[n,n])}};e.exports=o},OS9S:function(e,t,n){var r=n("bYtY"),i=r.inherits,o=n("Gev7"),a=n("mFDi");function s(e){o.call(this,e),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.dirty()},s.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n<e.length;n++)this.addDisplayable(e[n],t)},s.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},s.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var t=this._displayables[e];t.parent=this,t.update(),t.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){t=this._temporaryDisplayables[e];t.parent=this,t.update(),t.parent=null}},s.prototype.brush=function(e,t){for(var n=this._cursor;n<this._displayables.length;n++){var r=this._displayables[n];r.beforeBrush&&r.beforeBrush(e),r.brush(e,n===this._cursor?null:this._displayables[n-1]),r.afterBrush&&r.afterBrush(e)}this._cursor=n;for(n=0;n<this._temporaryDisplayables.length;n++){r=this._temporaryDisplayables[n];r.beforeBrush&&r.beforeBrush(e),r.brush(e,0===n?null:this._temporaryDisplayables[n-1]),r.afterBrush&&r.afterBrush(e)}this._temporaryDisplayables=[],this.notClear=!0};var l=[];s.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new a(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(l)),e.union(r)}this._rect=e}return this._rect},s.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();if(r.contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){var o=this._displayables[i];if(o.contain(e,t))return!0}return!1},i(s,o);var c=s;e.exports=c},OUJF:function(e,t,n){var r=n("ProS"),i=n("bYtY");r.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t){var n=t.getComponent("timeline");return n&&null!=e.currentIndex&&(n.setCurrentIndex(e.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),t.resetOption("timeline"),i.defaults({currentIndex:n.option.currentIndex},e)})),r.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)}))},OXB0:function(e,t,n){var r=n("T4UG"),i=n("MwEJ"),o=n("IDmD"),a=r.extend({type:"series.heatmap",getInitialData:function(e,t){return i(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var e=o.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});e.exports=a},OaEy:function(e,t,n){"use strict";n("cIOH"),n("bKJz"),n("R9oj")},"Of+w":function(e,t,n){var r=n("Cwc5"),i=n("Kz5y"),o=r(i,"WeakMap");e.exports=o},Ol7k:function(e,t,n){"use strict";var r=n("PKem"),i=n("ZX9x");r["b"].Sider=i["b"],t["a"]=r["b"]},OlYY:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("ItGF"),s=n("4NO4"),l=n("UOVi"),c=n("zDms"),u=o.each,d=l.eachAxisDim,h=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var r=f(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this.doInit(r)},mergeOption:function(e){var t=f(e);o.merge(this.option,e,!0),o.merge(this.settledOption,t,!0),this.doInit(t)},doInit:function(e){var t=this.option;a.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),p(this,e);var n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis((function(t,n,r,i){var o=this.dependentModels[t.axis][n],a=o.__dzAxisProxy||(o.__dzAxisProxy=new c(t.name,n,this,i));e[t.name+"_"+n]=a}),this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();d((function(t){var n=t.axisIndex;e[n]=s.normalizeToArray(e[n])}),this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;d((function(n){null!=e[n.axisIndex]&&(t=!0)}),this);var n=e.orient;return null==n&&t?"orient":t?void 0:(null==n&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),n=this.option,r=this.dependentModels;if(e){var i="vertical"===t?"y":"x";r[i+"Axis"].length?(n[i+"AxisIndex"]=[0],e=!1):u(r.singleAxis,(function(r){e&&r.get("orient",!0)===t&&(n.singleAxisIndex=[r.componentIndex],e=!1)}))}e&&d((function(t){if(e){var r=[],i=this.dependentModels[t.axis];if(i.length&&!r.length)for(var o=0,a=i.length;o<a;o++)"category"===i[o].get("type")&&r.push(o);n[t.axisIndex]=r,r.length&&(e=!1)}}),this),e&&this.ecModel.eachSeries((function(e){this._isSeriesHasAllAxesTypeOf(e,"value")&&d((function(t){var r=n[t.axisIndex],i=e.get(t.axisIndex),a=e.get(t.axisId),s=e.ecModel.queryComponents({mainType:t.axis,index:i,id:a})[0];i=s.componentIndex,o.indexOf(r,i)<0&&r.push(i)}))}),this)},_autoSetOrient:function(){var e;this.eachTargetAxis((function(t){!e&&(e=t.name)}),this),this.option.orient="y"===e?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,t){var n=!0;return d((function(r){var i=e.get(r.axisIndex),o=this.dependentModels[r.axis][i];o&&o.get("type")===t||(n=!1)}),this),n},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var e;return d((function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}}),this),e},eachTargetAxis:function(e,t){var n=this.ecModel;d((function(r){u(this.get(r.axisIndex),(function(i){e.call(t,r,i,this,n)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e){var t=this.option,n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])}),this),p(this,e)},setCalculatedRange:function(e){var t=this.option;u(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var n in t)if(t.hasOwnProperty(n)&&t[n].hostedBy(this))return t[n];for(var n in t)if(t.hasOwnProperty(n)&&!t[n].hostedBy(this))return t[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function f(e){var t={};return u(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function p(e,t){var n=e._rangePropMode,r=e.get("rangeMode");u([["start","startValue"],["end","endValue"]],(function(e,i){var o=null!=t[e[0]],a=null!=t[e[1]];o&&!a?n[i]="percent":!o&&a?n[i]="value":r?n[i]=r[i]:o&&(n[i]="percent")}))}var A=h;e.exports=A},OnYD:function(e,t,n){},OxZn:function(e,t,n){var r=n("GrKN").FilterCSS,i=n("vaBj"),o=n("UOFQ"),a=o.parseTag,s=o.parseAttr,l=n("63Hc");function c(e){return void 0===e||null===e}function u(e){var t=l.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};e=l.trim(e.slice(t+1,-1));var n="/"===e[e.length-1];return n&&(e=l.trim(e.slice(0,-1))),{html:e,closing:n}}function d(e){var t={};for(var n in e)t[n]=e[n];return t}function h(e){var t={};for(var n in e)Array.isArray(e[n])?t[n.toLowerCase()]=e[n].map((function(e){return e.toLowerCase()})):t[n.toLowerCase()]=e[n];return t}function f(e){e=d(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=i.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=h(e.whiteList||e.allowList):e.whiteList=i.whiteList,e.onTag=e.onTag||i.onTag,e.onTagAttr=e.onTagAttr||i.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||i.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||i.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||i.safeAttrValue,e.escapeHtml=e.escapeHtml||i.escapeHtml,this.options=e,!1===e.css?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new r(e.css))}f.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,n=t.options,r=n.whiteList,o=n.onTag,d=n.onIgnoreTag,h=n.onTagAttr,f=n.onIgnoreTagAttr,p=n.safeAttrValue,A=n.escapeHtml,g=t.cssFilter;n.stripBlankChar&&(e=i.stripBlankChar(e)),n.allowCommentTag||(e=i.stripCommentTag(e));var m=!1;n.stripIgnoreTagBody&&(m=i.StripTagBody(n.stripIgnoreTagBody,d),d=m.onIgnoreTag);var v=a(e,(function(e,t,n,i,a){var m={sourcePosition:e,position:t,isClosing:a,isWhite:Object.prototype.hasOwnProperty.call(r,n)},v=o(n,i,m);if(!c(v))return v;if(m.isWhite){if(m.isClosing)return"</"+n+">";var y=u(i),b=r[n],_=s(y.html,(function(e,t){var r=-1!==l.indexOf(b,e),i=h(n,e,t,r);return c(i)?r?(t=p(n,e,t,g),t?e+'="'+t+'"':e):(i=f(n,e,t,r),c(i)?void 0:i):i}));return i="<"+n,_&&(i+=" "+_),y.closing&&(i+=" /"),i+=">",i}return v=d(n,i,m),c(v)?A(i):v}),A);return m&&(v=m.remove(v)),v},e.exports=f},"Oy/b":function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(0);var r=function(){function e(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}return e.range=function(t,n){return n?t&&t.loc&&n.loc&&t.loc.lexer===n.loc.lexer?new e(t.loc.lexer,t.loc.start,n.loc.end):null:t&&t.loc},e}(),i=function(){function e(e,t){this.text=void 0,this.loc=void 0,this.text=e,this.loc=t}var t=e.prototype;return t.range=function(t,n){return new e(n,r.range(this,t))},e}(),o=function e(t,n){this.position=void 0;var r,i="KaTeX parse error: "+t,o=n&&n.loc;if(o&&o.start<=o.end){var a=o.lexer.input;r=o.start;var s=o.end;r===a.length?i+=" at end of input: ":i+=" at position "+(r+1)+": ";var l,c,u=a.slice(r,s).replace(/[^]/g,"$&\u0332");l=r>15?"\u2026"+a.slice(r-15,r):a.slice(0,r),c=s+15<a.length?a.slice(s,s+15)+"\u2026":a.slice(s),i+=l+u+c}var d=new Error(i);return d.name="ParseError",d.__proto__=e.prototype,d.position=r,d};o.prototype.__proto__=Error.prototype;var a=o,s=function(e,t){return-1!==e.indexOf(t)},l=function(e,t){return void 0===e?t:e},c=/([A-Z])/g,u=function(e){return e.replace(c,"-$1").toLowerCase()},d={"&":"&",">":">","<":"<",'"':""","'":"'"},h=/[&><"']/g;function f(e){return String(e).replace(h,(function(e){return d[e]}))}var p=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},A=function(e){var t=p(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},g=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},m=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"},v={contains:s,deflt:l,escape:f,hyphenate:u,getBaseElem:p,isCharacterBox:A,protocolFromUrl:m},y=function(){function e(e){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,e=e||{},this.displayMode=v.deflt(e.displayMode,!1),this.output=v.deflt(e.output,"htmlAndMathml"),this.leqno=v.deflt(e.leqno,!1),this.fleqn=v.deflt(e.fleqn,!1),this.throwOnError=v.deflt(e.throwOnError,!0),this.errorColor=v.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,v.deflt(e.minRuleThickness,0)),this.colorIsTextColor=v.deflt(e.colorIsTextColor,!1),this.strict=v.deflt(e.strict,"warn"),this.trust=v.deflt(e.trust,!1),this.maxSize=Math.max(0,v.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,v.deflt(e.maxExpand,1e3))}var t=e.prototype;return t.reportNonstrict=function(e,t,n){var r=this.strict;if("function"===typeof r&&(r=r(e,t,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===r?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,n){var r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(i){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),!1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=v.protocolFromUrl(e.url));var t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),b=function(){function e(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}var t=e.prototype;return t.sup=function(){return B[M[this.id]]},t.sub=function(){return B[T[this.id]]},t.fracNum=function(){return B[I[this.id]]},t.fracDen=function(){return B[L[this.id]]},t.cramp=function(){return B[D[this.id]]},t.text=function(){return B[P[this.id]]},t.isTight=function(){return this.size>=2},e}(),_=0,w=1,x=2,C=3,S=4,k=5,E=6,O=7,B=[new b(_,0,!1),new b(w,0,!0),new b(x,1,!1),new b(C,1,!0),new b(S,2,!1),new b(k,2,!0),new b(E,3,!1),new b(O,3,!0)],M=[S,k,S,k,E,O,E,O],T=[k,k,k,k,O,O,O,O],I=[x,C,S,k,E,O,E,O],L=[C,C,k,k,O,O,O,O],D=[w,w,C,C,k,k,O,O],P=[_,w,x,C,x,C,x,C],N={DISPLAY:B[_],TEXT:B[x],SCRIPT:B[S],SCRIPTSCRIPT:B[E]},j=[{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 F(e){for(var t=0;t<j.length;t++)for(var n=j[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var R=[];function U(e){for(var t=0;t<R.length;t+=2)if(e>=R[t]&&e<=R[t+1])return!0;return!1}j.forEach((function(e){return e.blocks.forEach((function(e){return R.push.apply(R,e)}))}));var H=80,Q=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.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\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},K=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},z=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},V=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-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\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"},W=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-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\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},G=function(e,t,n){var r=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+r+"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\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"},X=function(e,t,n){t*=1e3;var r="";switch(e){case"sqrtMain":r=Q(t,H);break;case"sqrtSize1":r=K(t,H);break;case"sqrtSize2":r=z(t,H);break;case"sqrtSize3":r=V(t,H);break;case"sqrtSize4":r=W(t,H);break;case"sqrtTall":r=G(t,H,n)}return r},q={doubleleftarrow:"M262 157\nl10-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\n 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\n 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\nc2 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\n 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\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-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\n 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\n-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\n-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\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-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\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 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\n-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\nc-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\n 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\n 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\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 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\n 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\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 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\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-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\n-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\n-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\n 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\n-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\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 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\n-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\n 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\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-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\n-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\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.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\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-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\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 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\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.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\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 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\n-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\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.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\n60.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\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 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\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.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\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 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\n-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\n 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\n 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\n-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\n-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\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-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\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.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\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-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\n 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\n 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\n-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\n-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\n 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\n-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\n 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\nm0 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\n 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\n-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\n-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\n 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\n 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\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-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\n 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\n-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\n 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\nM399960 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\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-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\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 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\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 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\nc-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\n 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\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 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\n-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\n 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\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-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\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 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\n 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\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -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\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-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\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-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\n-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\n-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\n-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,\n-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,\n-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,\n-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,\n-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\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-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\ns-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\n121.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\ns2.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\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-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\n13.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\n-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\n-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\n-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\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,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\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-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\nc-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\nM0 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\nc1.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,\n1c0,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,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 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\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-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\nc-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\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},Y=function(){function e(e){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=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return v.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e},t.toMarkup=function(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e},t.toText=function(){var e=function(e){return e.toText()};return this.children.map(e).join("")},e}(),Z=function(e){return e.filter((function(e){return e})).join(" ")},J=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},$=function(e){var t=document.createElement(e);for(var n in t.className=Z(this.classes),this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var i=0;i<this.children.length;i++)t.appendChild(this.children[i].toNode());return t},ee=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+v.escape(Z(this.classes))+'"');var n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=v.hyphenate(r)+":"+this.style[r]+";");for(var i in n&&(t+=' style="'+v.escape(n)+'"'),this.attributes)this.attributes.hasOwnProperty(i)&&(t+=" "+i+'="'+v.escape(this.attributes[i])+'"');t+=">";for(var o=0;o<this.children.length;o++)t+=this.children[o].toMarkup();return t+="</"+e+">",t},te=function(){function e(e,t,n,r){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,J.call(this,e,n,r),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return v.contains(this.classes,e)},t.toNode=function(){return $.call(this,"span")},t.toMarkup=function(){return ee.call(this,"span")},e}(),ne=function(){function e(e,t,n,r){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,J.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return v.contains(this.classes,e)},t.toNode=function(){return $.call(this,"a")},t.toMarkup=function(){return ee.call(this,"a")},e}(),re=function(){function e(e,t,n){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=t,this.src=e,this.classes=["mord"],this.style=n}var t=e.prototype;return t.hasClass=function(e){return v.contains(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e="<img src='"+this.src+" 'alt='"+this.alt+"' ",t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=v.hyphenate(n)+":"+this.style[n]+";");return t&&(e+=' style="'+v.escape(t)+'"'),e+="'/>",e},e}(),ie={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"},oe=function(){function e(e,t,n,r,i,o,a,s){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=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=i||0,this.width=o||0,this.classes=a||[],this.style=s||{},this.maxFontSize=0;var l=F(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=ie[this.text])}var t=e.prototype;return t.hasClass=function(e){return v.contains(this.classes,e)},t.toNode=function(){var e=document.createTextNode(this.text),t=null;for(var n in this.italic>0&&(t=document.createElement("span"),t.style.marginRight=this.italic+"em"),this.classes.length>0&&(t=t||document.createElement("span"),t.className=Z(this.classes)),this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=v.escape(Z(this.classes)),t+='"');var n="";for(var r in this.italic>0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=v.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+v.escape(n)+'"');var i=v.escape(this.text);return e?(t+=">",t+=i,t+="</span>",t):i},e}(),ae=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},t.toMarkup=function(){var e="<svg";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>",e},e}(),se=function(){function e(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",q[this.pathName]),t},t.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+q[this.pathName]+"'/>"},e}(),le=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);return t},t.toMarkup=function(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");return e+="/>",e},e}();function ce(e){if(e instanceof oe)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function ue(e){if(e instanceof te)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var de={"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]}},he={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]},fe={"\xc5":"A","\xc7":"C","\xd0":"D","\xde":"o","\xe5":"a","\xe7":"c","\xf0":"d","\xfe":"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 pe(e,t){de[e]=t}function Ae(e,t,n){if(!de[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),i=de[t][r];if(!i&&e[0]in fe&&(r=fe[e[0]].charCodeAt(0),i=de[t][r]),i||"text"!==n||U(r)&&(i=de[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var ge={};function me(e){var t;if(t=e>=5?0:e>=3?1:2,!ge[t]){var n=ge[t]={cssEmPerMu:he.quad[t]/18};for(var r in he)he.hasOwnProperty(r)&&(n[r]=he[r][t])}return ge[t]}var ve={bin:1,close:1,inner:1,open:1,punct:1,rel:1},ye={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},be={math:{},text:{}},_e=be;function we(e,t,n,r,i,o){be[e][i]={font:t,group:n,replace:r},o&&r&&(be[e][r]=be[e][i])}var xe="math",Ce="text",Se="main",ke="ams",Ee="accent-token",Oe="bin",Be="close",Me="inner",Te="mathord",Ie="op-token",Le="open",De="punct",Pe="rel",Ne="spacing",je="textord";we(xe,Se,Pe,"\u2261","\\equiv",!0),we(xe,Se,Pe,"\u227a","\\prec",!0),we(xe,Se,Pe,"\u227b","\\succ",!0),we(xe,Se,Pe,"\u223c","\\sim",!0),we(xe,Se,Pe,"\u22a5","\\perp"),we(xe,Se,Pe,"\u2aaf","\\preceq",!0),we(xe,Se,Pe,"\u2ab0","\\succeq",!0),we(xe,Se,Pe,"\u2243","\\simeq",!0),we(xe,Se,Pe,"\u2223","\\mid",!0),we(xe,Se,Pe,"\u226a","\\ll",!0),we(xe,Se,Pe,"\u226b","\\gg",!0),we(xe,Se,Pe,"\u224d","\\asymp",!0),we(xe,Se,Pe,"\u2225","\\parallel"),we(xe,Se,Pe,"\u22c8","\\bowtie",!0),we(xe,Se,Pe,"\u2323","\\smile",!0),we(xe,Se,Pe,"\u2291","\\sqsubseteq",!0),we(xe,Se,Pe,"\u2292","\\sqsupseteq",!0),we(xe,Se,Pe,"\u2250","\\doteq",!0),we(xe,Se,Pe,"\u2322","\\frown",!0),we(xe,Se,Pe,"\u220b","\\ni",!0),we(xe,Se,Pe,"\u221d","\\propto",!0),we(xe,Se,Pe,"\u22a2","\\vdash",!0),we(xe,Se,Pe,"\u22a3","\\dashv",!0),we(xe,Se,Pe,"\u220b","\\owns"),we(xe,Se,De,".","\\ldotp"),we(xe,Se,De,"\u22c5","\\cdotp"),we(xe,Se,je,"#","\\#"),we(Ce,Se,je,"#","\\#"),we(xe,Se,je,"&","\\&"),we(Ce,Se,je,"&","\\&"),we(xe,Se,je,"\u2135","\\aleph",!0),we(xe,Se,je,"\u2200","\\forall",!0),we(xe,Se,je,"\u210f","\\hbar",!0),we(xe,Se,je,"\u2203","\\exists",!0),we(xe,Se,je,"\u2207","\\nabla",!0),we(xe,Se,je,"\u266d","\\flat",!0),we(xe,Se,je,"\u2113","\\ell",!0),we(xe,Se,je,"\u266e","\\natural",!0),we(xe,Se,je,"\u2663","\\clubsuit",!0),we(xe,Se,je,"\u2118","\\wp",!0),we(xe,Se,je,"\u266f","\\sharp",!0),we(xe,Se,je,"\u2662","\\diamondsuit",!0),we(xe,Se,je,"\u211c","\\Re",!0),we(xe,Se,je,"\u2661","\\heartsuit",!0),we(xe,Se,je,"\u2111","\\Im",!0),we(xe,Se,je,"\u2660","\\spadesuit",!0),we(Ce,Se,je,"\xa7","\\S",!0),we(Ce,Se,je,"\xb6","\\P",!0),we(xe,Se,je,"\u2020","\\dag"),we(Ce,Se,je,"\u2020","\\dag"),we(Ce,Se,je,"\u2020","\\textdagger"),we(xe,Se,je,"\u2021","\\ddag"),we(Ce,Se,je,"\u2021","\\ddag"),we(Ce,Se,je,"\u2021","\\textdaggerdbl"),we(xe,Se,Be,"\u23b1","\\rmoustache",!0),we(xe,Se,Le,"\u23b0","\\lmoustache",!0),we(xe,Se,Be,"\u27ef","\\rgroup",!0),we(xe,Se,Le,"\u27ee","\\lgroup",!0),we(xe,Se,Oe,"\u2213","\\mp",!0),we(xe,Se,Oe,"\u2296","\\ominus",!0),we(xe,Se,Oe,"\u228e","\\uplus",!0),we(xe,Se,Oe,"\u2293","\\sqcap",!0),we(xe,Se,Oe,"\u2217","\\ast"),we(xe,Se,Oe,"\u2294","\\sqcup",!0),we(xe,Se,Oe,"\u25ef","\\bigcirc"),we(xe,Se,Oe,"\u2219","\\bullet"),we(xe,Se,Oe,"\u2021","\\ddagger"),we(xe,Se,Oe,"\u2240","\\wr",!0),we(xe,Se,Oe,"\u2a3f","\\amalg"),we(xe,Se,Oe,"&","\\And"),we(xe,Se,Pe,"\u27f5","\\longleftarrow",!0),we(xe,Se,Pe,"\u21d0","\\Leftarrow",!0),we(xe,Se,Pe,"\u27f8","\\Longleftarrow",!0),we(xe,Se,Pe,"\u27f6","\\longrightarrow",!0),we(xe,Se,Pe,"\u21d2","\\Rightarrow",!0),we(xe,Se,Pe,"\u27f9","\\Longrightarrow",!0),we(xe,Se,Pe,"\u2194","\\leftrightarrow",!0),we(xe,Se,Pe,"\u27f7","\\longleftrightarrow",!0),we(xe,Se,Pe,"\u21d4","\\Leftrightarrow",!0),we(xe,Se,Pe,"\u27fa","\\Longleftrightarrow",!0),we(xe,Se,Pe,"\u21a6","\\mapsto",!0),we(xe,Se,Pe,"\u27fc","\\longmapsto",!0),we(xe,Se,Pe,"\u2197","\\nearrow",!0),we(xe,Se,Pe,"\u21a9","\\hookleftarrow",!0),we(xe,Se,Pe,"\u21aa","\\hookrightarrow",!0),we(xe,Se,Pe,"\u2198","\\searrow",!0),we(xe,Se,Pe,"\u21bc","\\leftharpoonup",!0),we(xe,Se,Pe,"\u21c0","\\rightharpoonup",!0),we(xe,Se,Pe,"\u2199","\\swarrow",!0),we(xe,Se,Pe,"\u21bd","\\leftharpoondown",!0),we(xe,Se,Pe,"\u21c1","\\rightharpoondown",!0),we(xe,Se,Pe,"\u2196","\\nwarrow",!0),we(xe,Se,Pe,"\u21cc","\\rightleftharpoons",!0),we(xe,ke,Pe,"\u226e","\\nless",!0),we(xe,ke,Pe,"\ue010","\\@nleqslant"),we(xe,ke,Pe,"\ue011","\\@nleqq"),we(xe,ke,Pe,"\u2a87","\\lneq",!0),we(xe,ke,Pe,"\u2268","\\lneqq",!0),we(xe,ke,Pe,"\ue00c","\\@lvertneqq"),we(xe,ke,Pe,"\u22e6","\\lnsim",!0),we(xe,ke,Pe,"\u2a89","\\lnapprox",!0),we(xe,ke,Pe,"\u2280","\\nprec",!0),we(xe,ke,Pe,"\u22e0","\\npreceq",!0),we(xe,ke,Pe,"\u22e8","\\precnsim",!0),we(xe,ke,Pe,"\u2ab9","\\precnapprox",!0),we(xe,ke,Pe,"\u2241","\\nsim",!0),we(xe,ke,Pe,"\ue006","\\@nshortmid"),we(xe,ke,Pe,"\u2224","\\nmid",!0),we(xe,ke,Pe,"\u22ac","\\nvdash",!0),we(xe,ke,Pe,"\u22ad","\\nvDash",!0),we(xe,ke,Pe,"\u22ea","\\ntriangleleft"),we(xe,ke,Pe,"\u22ec","\\ntrianglelefteq",!0),we(xe,ke,Pe,"\u228a","\\subsetneq",!0),we(xe,ke,Pe,"\ue01a","\\@varsubsetneq"),we(xe,ke,Pe,"\u2acb","\\subsetneqq",!0),we(xe,ke,Pe,"\ue017","\\@varsubsetneqq"),we(xe,ke,Pe,"\u226f","\\ngtr",!0),we(xe,ke,Pe,"\ue00f","\\@ngeqslant"),we(xe,ke,Pe,"\ue00e","\\@ngeqq"),we(xe,ke,Pe,"\u2a88","\\gneq",!0),we(xe,ke,Pe,"\u2269","\\gneqq",!0),we(xe,ke,Pe,"\ue00d","\\@gvertneqq"),we(xe,ke,Pe,"\u22e7","\\gnsim",!0),we(xe,ke,Pe,"\u2a8a","\\gnapprox",!0),we(xe,ke,Pe,"\u2281","\\nsucc",!0),we(xe,ke,Pe,"\u22e1","\\nsucceq",!0),we(xe,ke,Pe,"\u22e9","\\succnsim",!0),we(xe,ke,Pe,"\u2aba","\\succnapprox",!0),we(xe,ke,Pe,"\u2246","\\ncong",!0),we(xe,ke,Pe,"\ue007","\\@nshortparallel"),we(xe,ke,Pe,"\u2226","\\nparallel",!0),we(xe,ke,Pe,"\u22af","\\nVDash",!0),we(xe,ke,Pe,"\u22eb","\\ntriangleright"),we(xe,ke,Pe,"\u22ed","\\ntrianglerighteq",!0),we(xe,ke,Pe,"\ue018","\\@nsupseteqq"),we(xe,ke,Pe,"\u228b","\\supsetneq",!0),we(xe,ke,Pe,"\ue01b","\\@varsupsetneq"),we(xe,ke,Pe,"\u2acc","\\supsetneqq",!0),we(xe,ke,Pe,"\ue019","\\@varsupsetneqq"),we(xe,ke,Pe,"\u22ae","\\nVdash",!0),we(xe,ke,Pe,"\u2ab5","\\precneqq",!0),we(xe,ke,Pe,"\u2ab6","\\succneqq",!0),we(xe,ke,Pe,"\ue016","\\@nsubseteqq"),we(xe,ke,Oe,"\u22b4","\\unlhd"),we(xe,ke,Oe,"\u22b5","\\unrhd"),we(xe,ke,Pe,"\u219a","\\nleftarrow",!0),we(xe,ke,Pe,"\u219b","\\nrightarrow",!0),we(xe,ke,Pe,"\u21cd","\\nLeftarrow",!0),we(xe,ke,Pe,"\u21cf","\\nRightarrow",!0),we(xe,ke,Pe,"\u21ae","\\nleftrightarrow",!0),we(xe,ke,Pe,"\u21ce","\\nLeftrightarrow",!0),we(xe,ke,Pe,"\u25b3","\\vartriangle"),we(xe,ke,je,"\u210f","\\hslash"),we(xe,ke,je,"\u25bd","\\triangledown"),we(xe,ke,je,"\u25ca","\\lozenge"),we(xe,ke,je,"\u24c8","\\circledS"),we(xe,ke,je,"\xae","\\circledR"),we(Ce,ke,je,"\xae","\\circledR"),we(xe,ke,je,"\u2221","\\measuredangle",!0),we(xe,ke,je,"\u2204","\\nexists"),we(xe,ke,je,"\u2127","\\mho"),we(xe,ke,je,"\u2132","\\Finv",!0),we(xe,ke,je,"\u2141","\\Game",!0),we(xe,ke,je,"\u2035","\\backprime"),we(xe,ke,je,"\u25b2","\\blacktriangle"),we(xe,ke,je,"\u25bc","\\blacktriangledown"),we(xe,ke,je,"\u25a0","\\blacksquare"),we(xe,ke,je,"\u29eb","\\blacklozenge"),we(xe,ke,je,"\u2605","\\bigstar"),we(xe,ke,je,"\u2222","\\sphericalangle",!0),we(xe,ke,je,"\u2201","\\complement",!0),we(xe,ke,je,"\xf0","\\eth",!0),we(xe,ke,je,"\u2571","\\diagup"),we(xe,ke,je,"\u2572","\\diagdown"),we(xe,ke,je,"\u25a1","\\square"),we(xe,ke,je,"\u25a1","\\Box"),we(xe,ke,je,"\u25ca","\\Diamond"),we(xe,ke,je,"\xa5","\\yen",!0),we(Ce,ke,je,"\xa5","\\yen",!0),we(xe,ke,je,"\u2713","\\checkmark",!0),we(Ce,ke,je,"\u2713","\\checkmark"),we(xe,ke,je,"\u2136","\\beth",!0),we(xe,ke,je,"\u2138","\\daleth",!0),we(xe,ke,je,"\u2137","\\gimel",!0),we(xe,ke,je,"\u03dd","\\digamma",!0),we(xe,ke,je,"\u03f0","\\varkappa"),we(xe,ke,Le,"\u250c","\\ulcorner",!0),we(xe,ke,Be,"\u2510","\\urcorner",!0),we(xe,ke,Le,"\u2514","\\llcorner",!0),we(xe,ke,Be,"\u2518","\\lrcorner",!0),we(xe,ke,Pe,"\u2266","\\leqq",!0),we(xe,ke,Pe,"\u2a7d","\\leqslant",!0),we(xe,ke,Pe,"\u2a95","\\eqslantless",!0),we(xe,ke,Pe,"\u2272","\\lesssim",!0),we(xe,ke,Pe,"\u2a85","\\lessapprox",!0),we(xe,ke,Pe,"\u224a","\\approxeq",!0),we(xe,ke,Oe,"\u22d6","\\lessdot"),we(xe,ke,Pe,"\u22d8","\\lll",!0),we(xe,ke,Pe,"\u2276","\\lessgtr",!0),we(xe,ke,Pe,"\u22da","\\lesseqgtr",!0),we(xe,ke,Pe,"\u2a8b","\\lesseqqgtr",!0),we(xe,ke,Pe,"\u2251","\\doteqdot"),we(xe,ke,Pe,"\u2253","\\risingdotseq",!0),we(xe,ke,Pe,"\u2252","\\fallingdotseq",!0),we(xe,ke,Pe,"\u223d","\\backsim",!0),we(xe,ke,Pe,"\u22cd","\\backsimeq",!0),we(xe,ke,Pe,"\u2ac5","\\subseteqq",!0),we(xe,ke,Pe,"\u22d0","\\Subset",!0),we(xe,ke,Pe,"\u228f","\\sqsubset",!0),we(xe,ke,Pe,"\u227c","\\preccurlyeq",!0),we(xe,ke,Pe,"\u22de","\\curlyeqprec",!0),we(xe,ke,Pe,"\u227e","\\precsim",!0),we(xe,ke,Pe,"\u2ab7","\\precapprox",!0),we(xe,ke,Pe,"\u22b2","\\vartriangleleft"),we(xe,ke,Pe,"\u22b4","\\trianglelefteq"),we(xe,ke,Pe,"\u22a8","\\vDash",!0),we(xe,ke,Pe,"\u22aa","\\Vvdash",!0),we(xe,ke,Pe,"\u2323","\\smallsmile"),we(xe,ke,Pe,"\u2322","\\smallfrown"),we(xe,ke,Pe,"\u224f","\\bumpeq",!0),we(xe,ke,Pe,"\u224e","\\Bumpeq",!0),we(xe,ke,Pe,"\u2267","\\geqq",!0),we(xe,ke,Pe,"\u2a7e","\\geqslant",!0),we(xe,ke,Pe,"\u2a96","\\eqslantgtr",!0),we(xe,ke,Pe,"\u2273","\\gtrsim",!0),we(xe,ke,Pe,"\u2a86","\\gtrapprox",!0),we(xe,ke,Oe,"\u22d7","\\gtrdot"),we(xe,ke,Pe,"\u22d9","\\ggg",!0),we(xe,ke,Pe,"\u2277","\\gtrless",!0),we(xe,ke,Pe,"\u22db","\\gtreqless",!0),we(xe,ke,Pe,"\u2a8c","\\gtreqqless",!0),we(xe,ke,Pe,"\u2256","\\eqcirc",!0),we(xe,ke,Pe,"\u2257","\\circeq",!0),we(xe,ke,Pe,"\u225c","\\triangleq",!0),we(xe,ke,Pe,"\u223c","\\thicksim"),we(xe,ke,Pe,"\u2248","\\thickapprox"),we(xe,ke,Pe,"\u2ac6","\\supseteqq",!0),we(xe,ke,Pe,"\u22d1","\\Supset",!0),we(xe,ke,Pe,"\u2290","\\sqsupset",!0),we(xe,ke,Pe,"\u227d","\\succcurlyeq",!0),we(xe,ke,Pe,"\u22df","\\curlyeqsucc",!0),we(xe,ke,Pe,"\u227f","\\succsim",!0),we(xe,ke,Pe,"\u2ab8","\\succapprox",!0),we(xe,ke,Pe,"\u22b3","\\vartriangleright"),we(xe,ke,Pe,"\u22b5","\\trianglerighteq"),we(xe,ke,Pe,"\u22a9","\\Vdash",!0),we(xe,ke,Pe,"\u2223","\\shortmid"),we(xe,ke,Pe,"\u2225","\\shortparallel"),we(xe,ke,Pe,"\u226c","\\between",!0),we(xe,ke,Pe,"\u22d4","\\pitchfork",!0),we(xe,ke,Pe,"\u221d","\\varpropto"),we(xe,ke,Pe,"\u25c0","\\blacktriangleleft"),we(xe,ke,Pe,"\u2234","\\therefore",!0),we(xe,ke,Pe,"\u220d","\\backepsilon"),we(xe,ke,Pe,"\u25b6","\\blacktriangleright"),we(xe,ke,Pe,"\u2235","\\because",!0),we(xe,ke,Pe,"\u22d8","\\llless"),we(xe,ke,Pe,"\u22d9","\\gggtr"),we(xe,ke,Oe,"\u22b2","\\lhd"),we(xe,ke,Oe,"\u22b3","\\rhd"),we(xe,ke,Pe,"\u2242","\\eqsim",!0),we(xe,Se,Pe,"\u22c8","\\Join"),we(xe,ke,Pe,"\u2251","\\Doteq",!0),we(xe,ke,Oe,"\u2214","\\dotplus",!0),we(xe,ke,Oe,"\u2216","\\smallsetminus"),we(xe,ke,Oe,"\u22d2","\\Cap",!0),we(xe,ke,Oe,"\u22d3","\\Cup",!0),we(xe,ke,Oe,"\u2a5e","\\doublebarwedge",!0),we(xe,ke,Oe,"\u229f","\\boxminus",!0),we(xe,ke,Oe,"\u229e","\\boxplus",!0),we(xe,ke,Oe,"\u22c7","\\divideontimes",!0),we(xe,ke,Oe,"\u22c9","\\ltimes",!0),we(xe,ke,Oe,"\u22ca","\\rtimes",!0),we(xe,ke,Oe,"\u22cb","\\leftthreetimes",!0),we(xe,ke,Oe,"\u22cc","\\rightthreetimes",!0),we(xe,ke,Oe,"\u22cf","\\curlywedge",!0),we(xe,ke,Oe,"\u22ce","\\curlyvee",!0),we(xe,ke,Oe,"\u229d","\\circleddash",!0),we(xe,ke,Oe,"\u229b","\\circledast",!0),we(xe,ke,Oe,"\u22c5","\\centerdot"),we(xe,ke,Oe,"\u22ba","\\intercal",!0),we(xe,ke,Oe,"\u22d2","\\doublecap"),we(xe,ke,Oe,"\u22d3","\\doublecup"),we(xe,ke,Oe,"\u22a0","\\boxtimes",!0),we(xe,ke,Pe,"\u21e2","\\dashrightarrow",!0),we(xe,ke,Pe,"\u21e0","\\dashleftarrow",!0),we(xe,ke,Pe,"\u21c7","\\leftleftarrows",!0),we(xe,ke,Pe,"\u21c6","\\leftrightarrows",!0),we(xe,ke,Pe,"\u21da","\\Lleftarrow",!0),we(xe,ke,Pe,"\u219e","\\twoheadleftarrow",!0),we(xe,ke,Pe,"\u21a2","\\leftarrowtail",!0),we(xe,ke,Pe,"\u21ab","\\looparrowleft",!0),we(xe,ke,Pe,"\u21cb","\\leftrightharpoons",!0),we(xe,ke,Pe,"\u21b6","\\curvearrowleft",!0),we(xe,ke,Pe,"\u21ba","\\circlearrowleft",!0),we(xe,ke,Pe,"\u21b0","\\Lsh",!0),we(xe,ke,Pe,"\u21c8","\\upuparrows",!0),we(xe,ke,Pe,"\u21bf","\\upharpoonleft",!0),we(xe,ke,Pe,"\u21c3","\\downharpoonleft",!0),we(xe,ke,Pe,"\u22b8","\\multimap",!0),we(xe,ke,Pe,"\u21ad","\\leftrightsquigarrow",!0),we(xe,ke,Pe,"\u21c9","\\rightrightarrows",!0),we(xe,ke,Pe,"\u21c4","\\rightleftarrows",!0),we(xe,ke,Pe,"\u21a0","\\twoheadrightarrow",!0),we(xe,ke,Pe,"\u21a3","\\rightarrowtail",!0),we(xe,ke,Pe,"\u21ac","\\looparrowright",!0),we(xe,ke,Pe,"\u21b7","\\curvearrowright",!0),we(xe,ke,Pe,"\u21bb","\\circlearrowright",!0),we(xe,ke,Pe,"\u21b1","\\Rsh",!0),we(xe,ke,Pe,"\u21ca","\\downdownarrows",!0),we(xe,ke,Pe,"\u21be","\\upharpoonright",!0),we(xe,ke,Pe,"\u21c2","\\downharpoonright",!0),we(xe,ke,Pe,"\u21dd","\\rightsquigarrow",!0),we(xe,ke,Pe,"\u21dd","\\leadsto"),we(xe,ke,Pe,"\u21db","\\Rrightarrow",!0),we(xe,ke,Pe,"\u21be","\\restriction"),we(xe,Se,je,"\u2018","`"),we(xe,Se,je,"$","\\$"),we(Ce,Se,je,"$","\\$"),we(Ce,Se,je,"$","\\textdollar"),we(xe,Se,je,"%","\\%"),we(Ce,Se,je,"%","\\%"),we(xe,Se,je,"_","\\_"),we(Ce,Se,je,"_","\\_"),we(Ce,Se,je,"_","\\textunderscore"),we(xe,Se,je,"\u2220","\\angle",!0),we(xe,Se,je,"\u221e","\\infty",!0),we(xe,Se,je,"\u2032","\\prime"),we(xe,Se,je,"\u25b3","\\triangle"),we(xe,Se,je,"\u0393","\\Gamma",!0),we(xe,Se,je,"\u0394","\\Delta",!0),we(xe,Se,je,"\u0398","\\Theta",!0),we(xe,Se,je,"\u039b","\\Lambda",!0),we(xe,Se,je,"\u039e","\\Xi",!0),we(xe,Se,je,"\u03a0","\\Pi",!0),we(xe,Se,je,"\u03a3","\\Sigma",!0),we(xe,Se,je,"\u03a5","\\Upsilon",!0),we(xe,Se,je,"\u03a6","\\Phi",!0),we(xe,Se,je,"\u03a8","\\Psi",!0),we(xe,Se,je,"\u03a9","\\Omega",!0),we(xe,Se,je,"A","\u0391"),we(xe,Se,je,"B","\u0392"),we(xe,Se,je,"E","\u0395"),we(xe,Se,je,"Z","\u0396"),we(xe,Se,je,"H","\u0397"),we(xe,Se,je,"I","\u0399"),we(xe,Se,je,"K","\u039a"),we(xe,Se,je,"M","\u039c"),we(xe,Se,je,"N","\u039d"),we(xe,Se,je,"O","\u039f"),we(xe,Se,je,"P","\u03a1"),we(xe,Se,je,"T","\u03a4"),we(xe,Se,je,"X","\u03a7"),we(xe,Se,je,"\xac","\\neg",!0),we(xe,Se,je,"\xac","\\lnot"),we(xe,Se,je,"\u22a4","\\top"),we(xe,Se,je,"\u22a5","\\bot"),we(xe,Se,je,"\u2205","\\emptyset"),we(xe,ke,je,"\u2205","\\varnothing"),we(xe,Se,Te,"\u03b1","\\alpha",!0),we(xe,Se,Te,"\u03b2","\\beta",!0),we(xe,Se,Te,"\u03b3","\\gamma",!0),we(xe,Se,Te,"\u03b4","\\delta",!0),we(xe,Se,Te,"\u03f5","\\epsilon",!0),we(xe,Se,Te,"\u03b6","\\zeta",!0),we(xe,Se,Te,"\u03b7","\\eta",!0),we(xe,Se,Te,"\u03b8","\\theta",!0),we(xe,Se,Te,"\u03b9","\\iota",!0),we(xe,Se,Te,"\u03ba","\\kappa",!0),we(xe,Se,Te,"\u03bb","\\lambda",!0),we(xe,Se,Te,"\u03bc","\\mu",!0),we(xe,Se,Te,"\u03bd","\\nu",!0),we(xe,Se,Te,"\u03be","\\xi",!0),we(xe,Se,Te,"\u03bf","\\omicron",!0),we(xe,Se,Te,"\u03c0","\\pi",!0),we(xe,Se,Te,"\u03c1","\\rho",!0),we(xe,Se,Te,"\u03c3","\\sigma",!0),we(xe,Se,Te,"\u03c4","\\tau",!0),we(xe,Se,Te,"\u03c5","\\upsilon",!0),we(xe,Se,Te,"\u03d5","\\phi",!0),we(xe,Se,Te,"\u03c7","\\chi",!0),we(xe,Se,Te,"\u03c8","\\psi",!0),we(xe,Se,Te,"\u03c9","\\omega",!0),we(xe,Se,Te,"\u03b5","\\varepsilon",!0),we(xe,Se,Te,"\u03d1","\\vartheta",!0),we(xe,Se,Te,"\u03d6","\\varpi",!0),we(xe,Se,Te,"\u03f1","\\varrho",!0),we(xe,Se,Te,"\u03c2","\\varsigma",!0),we(xe,Se,Te,"\u03c6","\\varphi",!0),we(xe,Se,Oe,"\u2217","*"),we(xe,Se,Oe,"+","+"),we(xe,Se,Oe,"\u2212","-"),we(xe,Se,Oe,"\u22c5","\\cdot",!0),we(xe,Se,Oe,"\u2218","\\circ"),we(xe,Se,Oe,"\xf7","\\div",!0),we(xe,Se,Oe,"\xb1","\\pm",!0),we(xe,Se,Oe,"\xd7","\\times",!0),we(xe,Se,Oe,"\u2229","\\cap",!0),we(xe,Se,Oe,"\u222a","\\cup",!0),we(xe,Se,Oe,"\u2216","\\setminus"),we(xe,Se,Oe,"\u2227","\\land"),we(xe,Se,Oe,"\u2228","\\lor"),we(xe,Se,Oe,"\u2227","\\wedge",!0),we(xe,Se,Oe,"\u2228","\\vee",!0),we(xe,Se,je,"\u221a","\\surd"),we(xe,Se,Le,"(","("),we(xe,Se,Le,"[","["),we(xe,Se,Le,"\u27e8","\\langle",!0),we(xe,Se,Le,"\u2223","\\lvert"),we(xe,Se,Le,"\u2225","\\lVert"),we(xe,Se,Be,")",")"),we(xe,Se,Be,"]","]"),we(xe,Se,Be,"?","?"),we(xe,Se,Be,"!","!"),we(xe,Se,Be,"\u27e9","\\rangle",!0),we(xe,Se,Be,"\u2223","\\rvert"),we(xe,Se,Be,"\u2225","\\rVert"),we(xe,Se,Pe,"=","="),we(xe,Se,Pe,"<","<"),we(xe,Se,Pe,">",">"),we(xe,Se,Pe,":",":"),we(xe,Se,Pe,"\u2248","\\approx",!0),we(xe,Se,Pe,"\u2245","\\cong",!0),we(xe,Se,Pe,"\u2265","\\ge"),we(xe,Se,Pe,"\u2265","\\geq",!0),we(xe,Se,Pe,"\u2190","\\gets"),we(xe,Se,Pe,">","\\gt"),we(xe,Se,Pe,"\u2208","\\in",!0),we(xe,Se,Pe,"\ue020","\\@not"),we(xe,Se,Pe,"\u2282","\\subset",!0),we(xe,Se,Pe,"\u2283","\\supset",!0),we(xe,Se,Pe,"\u2286","\\subseteq",!0),we(xe,Se,Pe,"\u2287","\\supseteq",!0),we(xe,ke,Pe,"\u2288","\\nsubseteq",!0),we(xe,ke,Pe,"\u2289","\\nsupseteq",!0),we(xe,Se,Pe,"\u22a8","\\models"),we(xe,Se,Pe,"\u2190","\\leftarrow",!0),we(xe,Se,Pe,"\u2264","\\le"),we(xe,Se,Pe,"\u2264","\\leq",!0),we(xe,Se,Pe,"<","\\lt"),we(xe,Se,Pe,"\u2192","\\rightarrow",!0),we(xe,Se,Pe,"\u2192","\\to"),we(xe,ke,Pe,"\u2271","\\ngeq",!0),we(xe,ke,Pe,"\u2270","\\nleq",!0),we(xe,Se,Ne,"\xa0","\\ "),we(xe,Se,Ne,"\xa0","~"),we(xe,Se,Ne,"\xa0","\\space"),we(xe,Se,Ne,"\xa0","\\nobreakspace"),we(Ce,Se,Ne,"\xa0","\\ "),we(Ce,Se,Ne,"\xa0","~"),we(Ce,Se,Ne,"\xa0","\\space"),we(Ce,Se,Ne,"\xa0","\\nobreakspace"),we(xe,Se,Ne,null,"\\nobreak"),we(xe,Se,Ne,null,"\\allowbreak"),we(xe,Se,De,",",","),we(xe,Se,De,";",";"),we(xe,ke,Oe,"\u22bc","\\barwedge",!0),we(xe,ke,Oe,"\u22bb","\\veebar",!0),we(xe,Se,Oe,"\u2299","\\odot",!0),we(xe,Se,Oe,"\u2295","\\oplus",!0),we(xe,Se,Oe,"\u2297","\\otimes",!0),we(xe,Se,je,"\u2202","\\partial",!0),we(xe,Se,Oe,"\u2298","\\oslash",!0),we(xe,ke,Oe,"\u229a","\\circledcirc",!0),we(xe,ke,Oe,"\u22a1","\\boxdot",!0),we(xe,Se,Oe,"\u25b3","\\bigtriangleup"),we(xe,Se,Oe,"\u25bd","\\bigtriangledown"),we(xe,Se,Oe,"\u2020","\\dagger"),we(xe,Se,Oe,"\u22c4","\\diamond"),we(xe,Se,Oe,"\u22c6","\\star"),we(xe,Se,Oe,"\u25c3","\\triangleleft"),we(xe,Se,Oe,"\u25b9","\\triangleright"),we(xe,Se,Le,"{","\\{"),we(Ce,Se,je,"{","\\{"),we(Ce,Se,je,"{","\\textbraceleft"),we(xe,Se,Be,"}","\\}"),we(Ce,Se,je,"}","\\}"),we(Ce,Se,je,"}","\\textbraceright"),we(xe,Se,Le,"{","\\lbrace"),we(xe,Se,Be,"}","\\rbrace"),we(xe,Se,Le,"[","\\lbrack"),we(Ce,Se,je,"[","\\lbrack"),we(xe,Se,Be,"]","\\rbrack"),we(Ce,Se,je,"]","\\rbrack"),we(xe,Se,Le,"(","\\lparen"),we(xe,Se,Be,")","\\rparen"),we(Ce,Se,je,"<","\\textless"),we(Ce,Se,je,">","\\textgreater"),we(xe,Se,Le,"\u230a","\\lfloor",!0),we(xe,Se,Be,"\u230b","\\rfloor",!0),we(xe,Se,Le,"\u2308","\\lceil",!0),we(xe,Se,Be,"\u2309","\\rceil",!0),we(xe,Se,je,"\\","\\backslash"),we(xe,Se,je,"\u2223","|"),we(xe,Se,je,"\u2223","\\vert"),we(Ce,Se,je,"|","\\textbar"),we(xe,Se,je,"\u2225","\\|"),we(xe,Se,je,"\u2225","\\Vert"),we(Ce,Se,je,"\u2225","\\textbardbl"),we(Ce,Se,je,"~","\\textasciitilde"),we(Ce,Se,je,"\\","\\textbackslash"),we(Ce,Se,je,"^","\\textasciicircum"),we(xe,Se,Pe,"\u2191","\\uparrow",!0),we(xe,Se,Pe,"\u21d1","\\Uparrow",!0),we(xe,Se,Pe,"\u2193","\\downarrow",!0),we(xe,Se,Pe,"\u21d3","\\Downarrow",!0),we(xe,Se,Pe,"\u2195","\\updownarrow",!0),we(xe,Se,Pe,"\u21d5","\\Updownarrow",!0),we(xe,Se,Ie,"\u2210","\\coprod"),we(xe,Se,Ie,"\u22c1","\\bigvee"),we(xe,Se,Ie,"\u22c0","\\bigwedge"),we(xe,Se,Ie,"\u2a04","\\biguplus"),we(xe,Se,Ie,"\u22c2","\\bigcap"),we(xe,Se,Ie,"\u22c3","\\bigcup"),we(xe,Se,Ie,"\u222b","\\int"),we(xe,Se,Ie,"\u222b","\\intop"),we(xe,Se,Ie,"\u222c","\\iint"),we(xe,Se,Ie,"\u222d","\\iiint"),we(xe,Se,Ie,"\u220f","\\prod"),we(xe,Se,Ie,"\u2211","\\sum"),we(xe,Se,Ie,"\u2a02","\\bigotimes"),we(xe,Se,Ie,"\u2a01","\\bigoplus"),we(xe,Se,Ie,"\u2a00","\\bigodot"),we(xe,Se,Ie,"\u222e","\\oint"),we(xe,Se,Ie,"\u222f","\\oiint"),we(xe,Se,Ie,"\u2230","\\oiiint"),we(xe,Se,Ie,"\u2a06","\\bigsqcup"),we(xe,Se,Ie,"\u222b","\\smallint"),we(Ce,Se,Me,"\u2026","\\textellipsis"),we(xe,Se,Me,"\u2026","\\mathellipsis"),we(Ce,Se,Me,"\u2026","\\ldots",!0),we(xe,Se,Me,"\u2026","\\ldots",!0),we(xe,Se,Me,"\u22ef","\\@cdots",!0),we(xe,Se,Me,"\u22f1","\\ddots",!0),we(xe,Se,je,"\u22ee","\\varvdots"),we(xe,Se,Ee,"\u02ca","\\acute"),we(xe,Se,Ee,"\u02cb","\\grave"),we(xe,Se,Ee,"\xa8","\\ddot"),we(xe,Se,Ee,"~","\\tilde"),we(xe,Se,Ee,"\u02c9","\\bar"),we(xe,Se,Ee,"\u02d8","\\breve"),we(xe,Se,Ee,"\u02c7","\\check"),we(xe,Se,Ee,"^","\\hat"),we(xe,Se,Ee,"\u20d7","\\vec"),we(xe,Se,Ee,"\u02d9","\\dot"),we(xe,Se,Ee,"\u02da","\\mathring"),we(xe,Se,Te,"\u0131","\\imath",!0),we(xe,Se,Te,"\u0237","\\jmath",!0),we(Ce,Se,je,"\u0131","\\i",!0),we(Ce,Se,je,"\u0237","\\j",!0),we(Ce,Se,je,"\xdf","\\ss",!0),we(Ce,Se,je,"\xe6","\\ae",!0),we(Ce,Se,je,"\xe6","\\ae",!0),we(Ce,Se,je,"\u0153","\\oe",!0),we(Ce,Se,je,"\xf8","\\o",!0),we(Ce,Se,je,"\xc6","\\AE",!0),we(Ce,Se,je,"\u0152","\\OE",!0),we(Ce,Se,je,"\xd8","\\O",!0),we(Ce,Se,Ee,"\u02ca","\\'"),we(Ce,Se,Ee,"\u02cb","\\`"),we(Ce,Se,Ee,"\u02c6","\\^"),we(Ce,Se,Ee,"\u02dc","\\~"),we(Ce,Se,Ee,"\u02c9","\\="),we(Ce,Se,Ee,"\u02d8","\\u"),we(Ce,Se,Ee,"\u02d9","\\."),we(Ce,Se,Ee,"\u02da","\\r"),we(Ce,Se,Ee,"\u02c7","\\v"),we(Ce,Se,Ee,"\xa8",'\\"'),we(Ce,Se,Ee,"\u02dd","\\H"),we(Ce,Se,Ee,"\u25ef","\\textcircled");var Fe={"--":!0,"---":!0,"``":!0,"''":!0};we(Ce,Se,je,"\u2013","--"),we(Ce,Se,je,"\u2013","\\textendash"),we(Ce,Se,je,"\u2014","---"),we(Ce,Se,je,"\u2014","\\textemdash"),we(Ce,Se,je,"\u2018","`"),we(Ce,Se,je,"\u2018","\\textquoteleft"),we(Ce,Se,je,"\u2019","'"),we(Ce,Se,je,"\u2019","\\textquoteright"),we(Ce,Se,je,"\u201c","``"),we(Ce,Se,je,"\u201c","\\textquotedblleft"),we(Ce,Se,je,"\u201d","''"),we(Ce,Se,je,"\u201d","\\textquotedblright"),we(xe,Se,je,"\xb0","\\degree",!0),we(Ce,Se,je,"\xb0","\\degree"),we(Ce,Se,je,"\xb0","\\textdegree",!0),we(xe,Se,Te,"\xa3","\\pounds"),we(xe,Se,Te,"\xa3","\\mathsterling",!0),we(Ce,Se,Te,"\xa3","\\pounds"),we(Ce,Se,Te,"\xa3","\\textsterling",!0),we(xe,ke,je,"\u2720","\\maltese"),we(Ce,ke,je,"\u2720","\\maltese"),we(Ce,Se,Ne,"\xa0","\\ "),we(Ce,Se,Ne,"\xa0"," "),we(Ce,Se,Ne,"\xa0","~");for(var Re='0123456789/@."',Ue=0;Ue<Re.length;Ue++){var He=Re.charAt(Ue);we(xe,Se,je,He,He)}for(var Qe='0123456789!@*()-=+[]<>|";:?/.,',Ke=0;Ke<Qe.length;Ke++){var ze=Qe.charAt(Ke);we(Ce,Se,je,ze,ze)}for(var Ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",We=0;We<Ve.length;We++){var Ge=Ve.charAt(We);we(xe,Se,Te,Ge,Ge),we(Ce,Se,je,Ge,Ge)}we(xe,ke,je,"C","\u2102"),we(Ce,ke,je,"C","\u2102"),we(xe,ke,je,"H","\u210d"),we(Ce,ke,je,"H","\u210d"),we(xe,ke,je,"N","\u2115"),we(Ce,ke,je,"N","\u2115"),we(xe,ke,je,"P","\u2119"),we(Ce,ke,je,"P","\u2119"),we(xe,ke,je,"Q","\u211a"),we(Ce,ke,je,"Q","\u211a"),we(xe,ke,je,"R","\u211d"),we(Ce,ke,je,"R","\u211d"),we(xe,ke,je,"Z","\u2124"),we(Ce,ke,je,"Z","\u2124"),we(xe,Se,Te,"h","\u210e"),we(Ce,Se,Te,"h","\u210e");for(var Xe="",qe=0;qe<Ve.length;qe++){var Ye=Ve.charAt(qe);Xe=String.fromCharCode(55349,56320+qe),we(xe,Se,Te,Ye,Xe),we(Ce,Se,je,Ye,Xe),Xe=String.fromCharCode(55349,56372+qe),we(xe,Se,Te,Ye,Xe),we(Ce,Se,je,Ye,Xe),Xe=String.fromCharCode(55349,56424+qe),we(xe,Se,Te,Ye,Xe),we(Ce,Se,je,Ye,Xe),Xe=String.fromCharCode(55349,56580+qe),we(xe,Se,Te,Ye,Xe),we(Ce,Se,je,Ye,Xe),Xe=String.fromCharCode(55349,56736+qe),we(xe,Se,Te,Ye,Xe),we(Ce,Se,je,Ye,Xe),Xe=String.fromCharCode(55349,56788+qe),we(xe,Se,Te,Ye,Xe),we(Ce,Se,je,Ye,Xe),Xe=String.fromCharCode(55349,56840+qe),we(xe,Se,Te,Ye,Xe),we(Ce,Se,je,Ye,Xe),Xe=String.fromCharCode(55349,56944+qe),we(xe,Se,Te,Ye,Xe),we(Ce,Se,je,Ye,Xe),qe<26&&(Xe=String.fromCharCode(55349,56632+qe),we(xe,Se,Te,Ye,Xe),we(Ce,Se,je,Ye,Xe),Xe=String.fromCharCode(55349,56476+qe),we(xe,Se,Te,Ye,Xe),we(Ce,Se,je,Ye,Xe))}Xe=String.fromCharCode(55349,56668),we(xe,Se,Te,"k",Xe),we(Ce,Se,je,"k",Xe);for(var Ze=0;Ze<10;Ze++){var Je=Ze.toString();Xe=String.fromCharCode(55349,57294+Ze),we(xe,Se,Te,Je,Xe),we(Ce,Se,je,Je,Xe),Xe=String.fromCharCode(55349,57314+Ze),we(xe,Se,Te,Je,Xe),we(Ce,Se,je,Je,Xe),Xe=String.fromCharCode(55349,57324+Ze),we(xe,Se,Te,Je,Xe),we(Ce,Se,je,Je,Xe),Xe=String.fromCharCode(55349,57334+Ze),we(xe,Se,Te,Je,Xe),we(Ce,Se,je,Je,Xe)}for(var $e="\xc7\xd0\xde\xe7\xfe",et=0;et<$e.length;et++){var tt=$e.charAt(et);we(xe,Se,Te,tt,tt),we(Ce,Se,je,tt,tt)}we(Ce,Se,je,"\xf0","\xf0"),we(Ce,Se,je,"\u2013","\u2013"),we(Ce,Se,je,"\u2014","\u2014"),we(Ce,Se,je,"\u2018","\u2018"),we(Ce,Se,je,"\u2019","\u2019"),we(Ce,Se,je,"\u201c","\u201c"),we(Ce,Se,je,"\u201d","\u201d");var nt=[["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"]],rt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],it=function(e,t){var n=e.charCodeAt(0),r=e.charCodeAt(1),i=1024*(n-55296)+(r-56320)+65536,o="math"===t?0:1;if(119808<=i&&i<120484){var s=Math.floor((i-119808)/26);return[nt[s][2],nt[s][o]]}if(120782<=i&&i<=120831){var l=Math.floor((i-120782)/10);return[rt[l][2],rt[l][o]]}if(120485===i||120486===i)return[nt[0][2],nt[0][o]];if(120486<i&&i<120782)return["",""];throw new a("Unsupported character: "+e)},ot=[[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]],at=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],st=function(e,t){return t.size<2?e:ot[e-1][t.size-1]},lt=function(){function e(t){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=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=at[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var t=e.prototype;return t.extend=function(t){var n={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 r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new e(n)},t.havingStyle=function(e){return this.style===e?this:this.extend({style:e,size:st(this.textSize,e)})},t.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},t.havingSize=function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:at[e-1]})},t.havingBaseStyle=function(t){t=t||this.style.text();var n=st(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})},t.havingBaseSizing=function(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})},t.withColor=function(e){return this.extend({color:e})},t.withPhantom=function(){return this.extend({phantom:!0})},t.withFont=function(e){return this.extend({font:e})},t.withTextFontFamily=function(e){return this.extend({fontFamily:e,font:""})},t.withTextFontWeight=function(e){return this.extend({fontWeight:e,font:""})},t.withTextFontShape=function(e){return this.extend({fontShape:e,font:""})},t.sizingClasses=function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]},t.baseSizingClasses=function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]},t.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=me(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();lt.BASESIZE=6;var ct=lt,ut={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},dt={ex:!0,em:!0,mu:!0},ht=function(e){return"string"!==typeof e&&(e=e.unit),e in ut||e in dt||"ex"===e},ft=function(e,t){var n;if(e.unit in ut)n=ut[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new a("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},pt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xa3"],At=function(e,t,n){return _e[n][e]&&_e[n][e].replace&&(e=_e[n][e].replace),{value:e,metrics:Ae(e,t,n)}},gt=function(e,t,n,r,i){var o,a=At(e,t,n),s=a.metrics;if(e=a.value,s){var l=s.italic;("text"===n||r&&"mathit"===r.font)&&(l=0),o=new oe(e,s.height,s.depth,l,s.skew,s.width,i)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),o=new oe(e,0,0,0,0,0,i);if(r){o.maxFontSize=r.sizeMultiplier,r.style.isTight()&&o.classes.push("mtight");var c=r.getColor();c&&(o.style.color=c)}return o},mt=function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&At(e,"Main-Bold",t).metrics?gt(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===_e[t][e].font?gt(e,"Main-Regular",t,n,r):gt(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},vt=function(e,t,n,r){return/[0-9]/.test(e.charAt(0))||v.contains(pt,e)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},yt=function(e,t,n,r){return v.contains(pt,e)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(e.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},bt=function(e,t,n,r){return At(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},_t=function(e,t,n){var r=e.mode,i=e.text,o=["mord"],a="math"===r||"text"===r&&t.font,s=a?t.font:t.fontFamily;if(55349===i.charCodeAt(0)){var l=it(i,r),c=l[0],u=l[1];return gt(i,c,r,t,o.concat(u))}if(s){var d,h;if("boldsymbol"===s||"mathnormal"===s){var f="boldsymbol"===s?bt(i,r,t,o):yt(i,r,t,o);d=f.fontName,h=[f.fontClass]}else v.contains(pt,i)?(d="Main-Italic",h=["mathit"]):a?(d=Pt[s].fontName,h=[s]):(d=Dt(s,t.fontWeight,t.fontShape),h=[s,t.fontWeight,t.fontShape]);if(At(i,d,r).metrics)return gt(i,d,r,t,o.concat(h));if(Fe.hasOwnProperty(i)&&"Typewriter"===d.substr(0,10)){for(var p=[],A=0;A<i.length;A++)p.push(gt(i[A],d,r,t,o.concat(h)));return Bt(p)}}if("mathord"===n){var g=vt(i,r,t,o);return gt(i,g.fontName,r,t,o.concat([g.fontClass]))}if("textord"===n){var m=_e[r][i]&&_e[r][i].font;if("ams"===m){var y=Dt("amsrm",t.fontWeight,t.fontShape);return gt(i,y,r,t,o.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==m&&m){var b=Dt(m,t.fontWeight,t.fontShape);return gt(i,b,r,t,o.concat(b,t.fontWeight,t.fontShape))}var _=Dt("textrm",t.fontWeight,t.fontShape);return gt(i,_,r,t,o.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+n+" in makeOrd")},wt=function(e,t){if(Z(e.classes)!==Z(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var r in t.style)if(t.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;return!0},xt=function(e){for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof oe&&r instanceof oe&&wt(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},Ct=function(e){for(var t=0,n=0,r=0,i=0;i<e.children.length;i++){var o=e.children[i];o.height>t&&(t=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>r&&(r=o.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},St=function(e,t,n,r){var i=new te(e,t,n,r);return Ct(i),i},kt=function(e,t,n,r){return new te(e,t,n,r)},Et=function(e,t,n){var r=St([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=r.height+"em",r.maxFontSize=1,r},Ot=function(e,t,n,r){var i=new ne(e,t,n,r);return Ct(i),i},Bt=function(e){var t=new Y(e);return Ct(t),t},Mt=function(e,t){return e instanceof Y?St([],[e],t):e},Tt=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,o=1;o<t.length;o++){var a=-t[o].shift-i-t[o].elem.depth,s=a-(t[o-1].elem.height+t[o-1].elem.depth);i+=a,n.push({type:"kern",size:s}),n.push(t[o])}return{children:n,depth:r}}var l;if("top"===e.positionType){for(var c=e.positionData,u=0;u<e.children.length;u++){var d=e.children[u];c-="kern"===d.type?d.size:d.elem.height+d.elem.depth}l=c}else if("bottom"===e.positionType)l=-e.positionData;else{var h=e.children[0];if("elem"!==h.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-h.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-h.elem.depth}}return{children:e.children,depth:l}},It=function(e,t){for(var n=Tt(e),r=n.children,i=n.depth,o=0,a=0;a<r.length;a++){var s=r[a];if("elem"===s.type){var l=s.elem;o=Math.max(o,l.maxFontSize,l.height)}}o+=2;var c=St(["pstrut"],[]);c.style.height=o+"em";for(var u=[],d=i,h=i,f=i,p=0;p<r.length;p++){var A=r[p];if("kern"===A.type)f+=A.size;else{var g=A.elem,m=A.wrapperClasses||[],v=A.wrapperStyle||{},y=St(m,[c,g],void 0,v);y.style.top=-o-f-g.depth+"em",A.marginLeft&&(y.style.marginLeft=A.marginLeft),A.marginRight&&(y.style.marginRight=A.marginRight),u.push(y),f+=g.height+g.depth}d=Math.min(d,f),h=Math.max(h,f)}var b,_=St(["vlist"],u);if(_.style.height=h+"em",d<0){var w=St([],[]),x=St(["vlist"],[w]);x.style.height=-d+"em";var C=St(["vlist-s"],[new oe("\u200b")]);b=[St(["vlist-r"],[_,C]),St(["vlist-r"],[x])]}else b=[St(["vlist-r"],[_])];var S=St(["vlist-t"],b);return 2===b.length&&S.classes.push("vlist-t2"),S.height=h,S.depth=-d,S},Lt=function(e,t){var n=St(["mspace"],[],t),r=ft(e,t);return n.style.marginRight=r+"em",n},Dt=function(e,t,n){var r,i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return r="textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",i+"-"+r},Pt={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"}},Nt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},jt=function(e,t){var n=Nt[e],r=n[0],i=n[1],o=n[2],a=new se(r),s=new ae([a],{width:i+"em",height:o+"em",style:"width:"+i+"em",viewBox:"0 0 "+1e3*i+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=kt(["overlay"],[s],t);return l.height=o,l.style.height=o+"em",l.style.width=i+"em",l},Ft={fontMap:Pt,makeSymbol:gt,mathsym:mt,makeSpan:St,makeSvgSpan:kt,makeLineSpan:Et,makeAnchor:Ot,makeFragment:Bt,wrapFragment:Mt,makeVList:It,makeOrd:_t,makeGlue:Lt,staticSvg:jt,svgData:Nt,tryCombineChars:xt};function Rt(e,t){var n=Ut(e,t);if(!n)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return n}function Ut(e,t){return e&&e.type===t?e:null}function Ht(e,t){var n=Qt(e,t);if(!n)throw new Error('Expected node of type "atom" and family "'+t+'", but got '+(e?"atom"===e.type?"atom of family "+e.family:"node of type "+e.type:String(e)));return n}function Qt(e,t){return e&&"atom"===e.type&&e.family===t?e:null}function Kt(e){var t=zt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function zt(e){return e&&("atom"===e.type||ye.hasOwnProperty(e.type))?e:null}var Vt={number:3,unit:"mu"},Wt={number:4,unit:"mu"},Gt={number:5,unit:"mu"},Xt={mord:{mop:Vt,mbin:Wt,mrel:Gt,minner:Vt},mop:{mord:Vt,mop:Vt,mrel:Gt,minner:Vt},mbin:{mord:Wt,mop:Wt,mopen:Wt,minner:Wt},mrel:{mord:Gt,mop:Gt,mopen:Gt,minner:Gt},mopen:{},mclose:{mop:Vt,mbin:Wt,mrel:Gt,minner:Vt},mpunct:{mord:Vt,mop:Vt,mrel:Gt,mopen:Vt,mclose:Vt,mpunct:Vt,minner:Vt},minner:{mord:Vt,mop:Vt,mbin:Wt,mrel:Gt,mopen:Vt,mpunct:Vt,minner:Vt}},qt={mord:{mop:Vt},mop:{mord:Vt,mop:Vt},mbin:{},mrel:{},mopen:{},mclose:{mop:Vt},mpunct:{},minner:{mop:Vt}},Yt={},Zt={},Jt={};function $t(e){for(var t=e.type,n=e.names,r=e.props,i=e.handler,o=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,greediness:void 0===r.greediness?1:r.greediness,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,handler:i},l=0;l<n.length;++l)Yt[n[l]]=s;t&&(o&&(Zt[t]=o),a&&(Jt[t]=a))}function en(e){var t=e.type,n=e.htmlBuilder,r=e.mathmlBuilder;$t({type:t,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var tn=function(e){var t=Ut(e,"ordgroup");return t?t.body:[e]},nn=Ft.makeSpan,rn=["leftmost","mbin","mopen","mrel","mop","mpunct"],on=["rightmost","mrel","mclose","mpunct"],an={display:N.DISPLAY,text:N.TEXT,script:N.SCRIPT,scriptscript:N.SCRIPTSCRIPT},sn={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},ln=function(e,t,n,r){void 0===r&&(r=[null,null]);for(var i=[],o=0;o<e.length;o++){var a=pn(e[o],t);if(a instanceof Y){var s=a.children;i.push.apply(i,s)}else i.push(a)}if(!n)return i;var l=t;if(1===e.length){var c=Ut(e[0],"sizing")||Ut(e[0],"styling");c&&("sizing"===c.type?l=t.havingSize(c.size):"styling"===c.type&&(l=t.havingStyle(an[c.style])))}var u=nn([r[0]||"leftmost"],[],t),d=nn([r[1]||"rightmost"],[],t);return cn(i,(function(e,t){var n=t.classes[0],r=e.classes[0];"mbin"===n&&v.contains(on,r)?t.classes[0]="mord":"mbin"===r&&v.contains(rn,n)&&(e.classes[0]="mord")}),{node:u},d),cn(i,(function(e,t){var n=hn(t),r=hn(e),i=n&&r?e.hasClass("mtight")?qt[n][r]:Xt[n][r]:null;if(i)return Ft.makeGlue(i,l)}),{node:u},d),i},cn=function e(t,n,r,i){i&&t.push(i);for(var o=0;o<t.length;o++){var a=t[o],s=un(a);if(s)e(s.children,n,r);else if("mspace"!==a.classes[0]){var l=n(a,r.node);l&&(r.insertAfter?r.insertAfter(l):(t.unshift(l),o++)),r.node=a,r.insertAfter=function(e){return function(n){t.splice(e+1,0,n),o++}}(o)}}i&&t.pop()},un=function(e){return e instanceof Y||e instanceof ne?e:null},dn=function e(t,n){var r=un(t);if(r){var i=r.children;if(i.length){if("right"===n)return e(i[i.length-1],"right");if("left"===n)return e(i[0],"left")}}return t},hn=function(e,t){return e?(t&&(e=dn(e,t)),sn[e.classes[0]]||null):null},fn=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return nn(t.concat(n))},pn=function(e,t,n){if(!e)return nn();if(Zt[e.type]){var r=Zt[e.type](e,t);if(n&&t.size!==n.size){r=nn(t.sizingClasses(n),[r],t);var i=t.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}throw new a("Got group of unknown type: '"+e.type+"'")};function An(e,t){var n=nn(["base"],e,t),r=nn(["strut"]);return r.style.height=n.height+n.depth+"em",r.style.verticalAlign=-n.depth+"em",n.children.unshift(r),n}function gn(e,t){var n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);for(var r,i=ln(e,t,!0),o=[],a=[],s=0;s<i.length;s++)if(a.push(i[s]),i[s].hasClass("mbin")||i[s].hasClass("mrel")||i[s].hasClass("allowbreak")){var l=!1;while(s<i.length-1&&i[s+1].hasClass("mspace")&&!i[s+1].hasClass("newline"))s++,a.push(i[s]),i[s].hasClass("nobreak")&&(l=!0);l||(o.push(An(a,t)),a=[])}else i[s].hasClass("newline")&&(a.pop(),a.length>0&&(o.push(An(a,t)),a=[]),o.push(i[s]));a.length>0&&o.push(An(a,t)),n&&(r=An(ln(n,t,!0)),r.classes=["tag"],o.push(r));var c=nn(["katex-html"],o);if(c.setAttribute("aria-hidden","true"),r){var u=r.children[0];u.style.height=c.height+c.depth+"em",u.style.verticalAlign=-c.depth+"em"}return c}function mn(e){return new Y(e)}var vn=function(){function e(e,t){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=e,this.attributes={},this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e},t.toMarkup=function(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=v.escape(this.attributes[t]),e+='"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">",e},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),yn=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return v.escape(this.toText())},t.toText=function(){return this.text},e}(),bn=function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"\u200a":e>=.1666&&e<=.1667?"\u2009":e>=.2222&&e<=.2223?"\u2005":e>=.2777&&e<=.2778?"\u2005\u200a":e>=-.05556&&e<=-.05555?"\u200a\u2063":e>=-.1667&&e<=-.1666?"\u2009\u2063":e>=-.2223&&e<=-.2222?"\u205f\u2063":e>=-.2778&&e<=-.2777?"\u2005\u2063":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",this.width+"em"),e},t.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},t.toText=function(){return this.character?this.character:" "},e}(),_n={MathNode:vn,TextNode:yn,SpaceNode:bn,newDocumentFragment:mn},wn=function(e,t,n){return!_e[t][e]||!_e[t][e].replace||55349===e.charCodeAt(0)||Fe.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(e=_e[t][e].replace),new _n.TextNode(e)},xn=function(e){return 1===e.length?e[0]:new _n.MathNode("mrow",e)},Cn=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var i=e.text;if(v.contains(["\\imath","\\jmath"],i))return null;_e[r][i]&&_e[r][i].replace&&(i=_e[r][i].replace);var o=Ft.fontMap[n].fontName;return Ae(i,o,r)?Ft.fontMap[n].variant:null},Sn=function(e,t,n){if(1===e.length){var r=En(e[0],t);return n&&r instanceof vn&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var i,o=[],a=0;a<e.length;a++){var s=En(e[a],t);if(s instanceof vn&&i instanceof vn){if("mtext"===s.type&&"mtext"===i.type&&s.getAttribute("mathvariant")===i.getAttribute("mathvariant")){var l;(l=i.children).push.apply(l,s.children);continue}if("mn"===s.type&&"mn"===i.type){var c;(c=i.children).push.apply(c,s.children);continue}if("mi"===s.type&&1===s.children.length&&"mn"===i.type){var u=s.children[0];if(u instanceof yn&&"."===u.text){var d;(d=i.children).push.apply(d,s.children);continue}}else if("mi"===i.type&&1===i.children.length){var h=i.children[0];if(h instanceof yn&&"\u0338"===h.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var f=s.children[0];f instanceof yn&&f.text.length>0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(s),i=s}return o},kn=function(e,t,n){return xn(Sn(e,t,n))},En=function(e,t){if(!e)return new _n.MathNode("mrow");if(Jt[e.type]){var n=Jt[e.type](e,t);return n}throw new a("Got group of unknown type: '"+e.type+"'")};function On(e,t,n,r){var i,o=Sn(e,n);i=1===o.length&&o[0]instanceof vn&&v.contains(["mrow","mtable"],o[0].type)?o[0]:new _n.MathNode("mrow",o);var a=new _n.MathNode("annotation",[new _n.TextNode(t)]);a.setAttribute("encoding","application/x-tex");var s=new _n.MathNode("semantics",[i,a]),l=new _n.MathNode("math",[s]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var c=r?"katex":"katex-mathml";return Ft.makeSpan([c],[l])}var Bn=function(e){return new ct({style:e.displayMode?N.DISPLAY:N.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Mn=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Ft.makeSpan(n,[e])}return e},Tn=function(e,t,n){var r,i=Bn(n);if("mathml"===n.output)return On(e,t,i,!0);if("html"===n.output){var o=gn(e,i);r=Ft.makeSpan(["katex"],[o])}else{var a=On(e,t,i,!1),s=gn(e,i);r=Ft.makeSpan(["katex"],[a,s])}return Mn(r,n)},In=function(e,t,n){var r=Bn(n),i=gn(e,r),o=Ft.makeSpan(["katex"],[i]);return Mn(o,n)},Ln={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"},Dn=function(e){var t=new _n.MathNode("mo",[new _n.TextNode(Ln[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},Pn={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]},Nn=function(e){return"ordgroup"===e.type?e.body.length:1},jn=function(e,t){function n(){var n=4e5,r=e.label.substr(1);if(v.contains(["widehat","widecheck","widetilde","utilde"],r)){var i,o,a,s=e,l=Nn(s.base);if(l>5)"widehat"===r||"widecheck"===r?(i=420,n=2364,a=.42,o=r+"4"):(i=312,n=2340,a=.34,o="tilde4");else{var c=[1,1,2,2,3,3][l];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][c],i=[0,239,300,360,420][c],a=[0,.24,.3,.3,.36,.42][c],o=r+c):(n=[0,600,1033,2339,2340][c],i=[0,260,286,306,312][c],a=[0,.26,.286,.3,.306,.34][c],o="tilde"+c)}var u=new se(o),d=new ae([u],{width:"100%",height:a+"em",viewBox:"0 0 "+n+" "+i,preserveAspectRatio:"none"});return{span:Ft.makeSvgSpan([],[d],t),minWidth:0,height:a}}var h,f,p=[],A=Pn[r],g=A[0],m=A[1],y=A[2],b=y/1e3,_=g.length;if(1===_){var w=A[3];h=["hide-tail"],f=[w]}else if(2===_)h=["halfarrow-left","halfarrow-right"],f=["xMinYMin","xMaxYMin"];else{if(3!==_)throw new Error("Correct katexImagesData or update code here to support\n "+_+" children.");h=["brace-left","brace-center","brace-right"],f=["xMinYMin","xMidYMin","xMaxYMin"]}for(var x=0;x<_;x++){var C=new se(g[x]),S=new ae([C],{width:"400em",height:b+"em",viewBox:"0 0 "+n+" "+y,preserveAspectRatio:f[x]+" slice"}),k=Ft.makeSvgSpan([h[x]],[S],t);if(1===_)return{span:k,minWidth:m,height:b};k.style.height=b+"em",p.push(k)}return{span:Ft.makeSpan(["stretchy"],p,t),minWidth:m,height:b}}var r=n(),i=r.span,o=r.minWidth,a=r.height;return i.height=a,i.style.height=a+"em",o>0&&(i.style.minWidth=o+"em"),i},Fn=function(e,t,n,r){var i,o=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(i=Ft.makeSpan(["stretchy",t],[],r),"fbox"===t){var a=r.color&&r.getColor();a&&(i.style.borderColor=a)}}else{var s=[];/^[bx]cancel$/.test(t)&&s.push(new le({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&s.push(new le({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var l=new ae(s,{width:"100%",height:o+"em"});i=Ft.makeSvgSpan([],[l],r)}return i.height=o,i.style.height=o+"em",i},Rn={encloseSpan:Fn,mathMLnode:Dn,svgSpan:jn},Un=function(e,t){var n,r,i,o=Ut(e,"supsub");o?(r=Rt(o.base,"accent"),n=r.base,o.base=n,i=ue(pn(o,t)),o.base=r):(r=Rt(e,"accent"),n=r.base);var a=pn(n,t.havingCrampedStyle()),s=r.isShifty&&v.isCharacterBox(n),l=0;if(s){var c=v.getBaseElem(n),u=pn(c,t.havingCrampedStyle());l=ce(u).skew}var d,h=Math.min(a.height,t.fontMetrics().xHeight);if(r.isStretchy)d=Rn.svgSpan(r,t),d=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+2*l+"em)",marginLeft:2*l+"em"}:void 0}]},t);else{var f,p;"\\vec"===r.label?(f=Ft.staticSvg("vec",t),p=Ft.svgData.vec[1]):(f=Ft.makeOrd({mode:r.mode,text:r.label},t,"textord"),f=ce(f),f.italic=0,p=f.width),d=Ft.makeSpan(["accent-body"],[f]);var A="\\textcircled"===r.label;A&&(d.classes.push("accent-full"),h=a.height);var g=l;A||(g-=p/2),d.style.left=g+"em","\\textcircled"===r.label&&(d.style.top=".2em"),d=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-h},{type:"elem",elem:d}]},t)}var m=Ft.makeSpan(["mord","accent"],[d],t);return i?(i.children[0]=m,i.height=Math.max(m.height,i.height),i.classes[0]="mord",i):m},Hn=function(e,t){var n=e.isStretchy?Rn.mathMLnode(e.label):new _n.MathNode("mo",[wn(e.label,e.mode)]),r=new _n.MathNode("mover",[En(e.base,t),n]);return r.setAttribute("accent","true"),r},Qn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));$t({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(e,t){var n=t[0],r=!Qn.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Un,mathmlBuilder:Hn}),$t({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=t[0];return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Un,mathmlBuilder:Hn}),$t({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:function(e,t){var n=pn(e.base,t),r=Rn.svgSpan(e,t),i="\\utilde"===e.label?.12:0,o=Ft.makeVList({positionType:"bottom",positionData:r.height+i,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return Ft.makeSpan(["mord","accentunder"],[o],t)},mathmlBuilder:function(e,t){var n=Rn.mathMLnode(e.label),r=new _n.MathNode("munder",[En(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Kn=function(e){var t=new _n.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};$t({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(e,t,n){var r=e.parser,i=e.funcName;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder:function(e,t){var n,r=t.style,i=t.havingStyle(r.sup()),o=Ft.wrapFragment(pn(e.body,i,t),t);o.classes.push("x-arrow-pad"),e.below&&(i=t.havingStyle(r.sub()),n=Ft.wrapFragment(pn(e.below,i,t),t),n.classes.push("x-arrow-pad"));var a,s=Rn.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,c=-t.fontMetrics().axisHeight-.5*s.height-.111;if((o.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=o.depth),n){var u=-t.fontMetrics().axisHeight+n.height+.5*s.height+.111;a=Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:n,shift:u}]},t)}else a=Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:c},{type:"elem",elem:s,shift:l}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),Ft.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder:function(e,t){var n,r=Rn.mathMLnode(e.label);if(e.body){var i=Kn(En(e.body,t));if(e.below){var o=Kn(En(e.below,t));n=new _n.MathNode("munderover",[r,o,i])}else n=new _n.MathNode("mover",[r,i])}else if(e.below){var a=Kn(En(e.below,t));n=new _n.MathNode("munder",[r,a])}else n=Kn(),n=new _n.MathNode("mover",[r,n]);return n}}),$t({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var n=e.parser,r=Rt(t[0],"ordgroup"),i=r.body,o="",s=0;s<i.length;s++){var l=Rt(i[s],"textord");o+=l.text}var c=parseInt(o);if(isNaN(c))throw new a("\\@char has non-numeric argument "+o);return{type:"textord",mode:n.mode,text:String.fromCharCode(c)}}});var zn=function(e,t){var n=ln(e.body,t.withColor(e.color),!1);return Ft.makeFragment(n)},Vn=function(e,t){var n=Sn(e.body,t.withColor(e.color)),r=new _n.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};$t({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(e,t){var n=e.parser,r=Rt(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:tn(i)}},htmlBuilder:zn,mathmlBuilder:Vn}),$t({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(e,t){var n=e.parser,r=e.breakOnTokenText,i=Rt(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:o}},htmlBuilder:zn,mathmlBuilder:Vn}),$t({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=n[0],a="\\cr"===i,s=!1;return a||(s=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")),{type:"cr",mode:r.mode,newLine:s,newRow:a,size:o&&Rt(o,"size").value}},htmlBuilder:function(e,t){if(e.newRow)throw new a("\\cr valid only within a tabular/array environment");var n=Ft.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=ft(e.size,t)+"em")),n},mathmlBuilder:function(e,t){var n=new _n.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",ft(e.size,t)+"em")),n}});var Wn=function(e,t,n){var r=_e.math[e]&&_e.math[e].replace,i=Ae(r||e,t,n);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},Gn=function(e,t,n,r){var i=n.havingBaseStyle(t),o=Ft.makeSpan(r.concat(i.sizingClasses(n)),[e],n),a=i.sizeMultiplier/n.sizeMultiplier;return o.height*=a,o.depth*=a,o.maxFontSize=i.sizeMultiplier,o},Xn=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=i+"em",e.height-=i,e.depth+=i},qn=function(e,t,n,r,i,o){var a=Ft.makeSymbol(e,"Main-Regular",i,r),s=Gn(a,t,r,o);return n&&Xn(s,r,t),s},Yn=function(e,t,n,r){return Ft.makeSymbol(e,"Size"+t+"-Regular",n,r)},Zn=function(e,t,n,r,i,o){var a=Yn(e,t,i,r),s=Gn(Ft.makeSpan(["delimsizing","size"+t],[a],r),N.TEXT,r,o);return n&&Xn(s,r,N.TEXT),s},Jn=function(e,t,n){var r;r="Size1-Regular"===t?"delim-size1":"delim-size4";var i=Ft.makeSpan(["delimsizinginner",r],[Ft.makeSpan([],[Ft.makeSymbol(e,t,n)])]);return{type:"elem",elem:i}},$n={type:"kern",size:-.005},er=function(e,t,n,r,i,o){var a,s,l,c;a=l=c=e,s=null;var u="Size1-Regular";"\\uparrow"===e?l=c="\u23d0":"\\Uparrow"===e?l=c="\u2016":"\\downarrow"===e?a=l="\u23d0":"\\Downarrow"===e?a=l="\u2016":"\\updownarrow"===e?(a="\\uparrow",l="\u23d0",c="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="\u2016",c="\\Downarrow"):"["===e||"\\lbrack"===e?(a="\u23a1",l="\u23a2",c="\u23a3",u="Size4-Regular"):"]"===e||"\\rbrack"===e?(a="\u23a4",l="\u23a5",c="\u23a6",u="Size4-Regular"):"\\lfloor"===e||"\u230a"===e?(l=a="\u23a2",c="\u23a3",u="Size4-Regular"):"\\lceil"===e||"\u2308"===e?(a="\u23a1",l=c="\u23a2",u="Size4-Regular"):"\\rfloor"===e||"\u230b"===e?(l=a="\u23a5",c="\u23a6",u="Size4-Regular"):"\\rceil"===e||"\u2309"===e?(a="\u23a4",l=c="\u23a5",u="Size4-Regular"):"("===e||"\\lparen"===e?(a="\u239b",l="\u239c",c="\u239d",u="Size4-Regular"):")"===e||"\\rparen"===e?(a="\u239e",l="\u239f",c="\u23a0",u="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(a="\u23a7",s="\u23a8",c="\u23a9",l="\u23aa",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="\u23ab",s="\u23ac",c="\u23ad",l="\u23aa",u="Size4-Regular"):"\\lgroup"===e||"\u27ee"===e?(a="\u23a7",c="\u23a9",l="\u23aa",u="Size4-Regular"):"\\rgroup"===e||"\u27ef"===e?(a="\u23ab",c="\u23ad",l="\u23aa",u="Size4-Regular"):"\\lmoustache"===e||"\u23b0"===e?(a="\u23a7",c="\u23ad",l="\u23aa",u="Size4-Regular"):"\\rmoustache"!==e&&"\u23b1"!==e||(a="\u23ab",c="\u23a9",l="\u23aa",u="Size4-Regular");var d=Wn(a,u,i),h=d.height+d.depth,f=Wn(l,u,i),p=f.height+f.depth,A=Wn(c,u,i),g=A.height+A.depth,m=0,v=1;if(null!==s){var y=Wn(s,u,i);m=y.height+y.depth,v=2}var b=h+g+m,_=Math.max(0,Math.ceil((t-b)/(v*p))),w=b+_*v*p,x=r.fontMetrics().axisHeight;n&&(x*=r.sizeMultiplier);var C=w/2-x,S=.005*(_+1)-p,k=[];if(k.push(Jn(c,u,i)),null===s)for(var E=0;E<_;E++)k.push($n),k.push(Jn(l,u,i));else{for(var O=0;O<_;O++)k.push($n),k.push(Jn(l,u,i));k.push({type:"kern",size:S}),k.push(Jn(l,u,i)),k.push($n),k.push(Jn(s,u,i));for(var B=0;B<_;B++)k.push($n),k.push(Jn(l,u,i))}k.push({type:"kern",size:S}),k.push(Jn(l,u,i)),k.push($n),k.push(Jn(a,u,i));var M=r.havingBaseStyle(N.TEXT),T=Ft.makeVList({positionType:"bottom",positionData:C,children:k},M);return Gn(Ft.makeSpan(["delimsizing","mult"],[T],M),N.TEXT,r,o)},tr=80,nr=.08,rr=function(e,t,n,r,i){var o=X(e,r,n),a=new se(e,o),s=new ae([a],{width:"400em",height:t+"em",viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Ft.makeSvgSpan(["hide-tail"],[s],i)},ir=function(e,t){var n,r,i=t.havingBaseSizing(),o=pr("\\surd",e*i.sizeMultiplier,hr,i),a=i.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,c=0,u=0;return"small"===o.type?(u=1e3+1e3*s+tr,e<1?a=1:e<1.4&&(a=.7),l=(1+s+nr)/a,c=(1+s)/a,n=rr("sqrtMain",l,u,s,t),n.style.minWidth="0.853em",r=.833/a):"large"===o.type?(u=(1e3+tr)*lr[o.size],c=(lr[o.size]+s)/a,l=(lr[o.size]+s+nr)/a,n=rr("sqrtSize"+o.size,l,u,s,t),n.style.minWidth="1.02em",r=1/a):(l=e+s+nr,c=e+s,u=Math.floor(1e3*e+s)+tr,n=rr("sqrtTall",l,u,s,t),n.style.minWidth="0.742em",r=1.056),n.height=c,n.style.height=l+"em",{span:n,advanceWidth:r,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},or=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ar=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],sr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],lr=[0,1.2,1.8,2.4,3],cr=function(e,t,n,r,i){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),v.contains(or,e)||v.contains(sr,e))return Zn(e,t,!1,n,r,i);if(v.contains(ar,e))return er(e,lr[t],!1,n,r,i);throw new a("Illegal delimiter: '"+e+"'")},ur=[{type:"small",style:N.SCRIPTSCRIPT},{type:"small",style:N.SCRIPT},{type:"small",style:N.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],dr=[{type:"small",style:N.SCRIPTSCRIPT},{type:"small",style:N.SCRIPT},{type:"small",style:N.TEXT},{type:"stack"}],hr=[{type:"small",style:N.SCRIPTSCRIPT},{type:"small",style:N.SCRIPT},{type:"small",style:N.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],fr=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},pr=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size),o=i;o<n.length;o++){if("stack"===n[o].type)break;var a=Wn(e,fr(n[o]),"math"),s=a.height+a.depth;if("small"===n[o].type){var l=r.havingBaseStyle(n[o].style);s*=l.sizeMultiplier}if(s>t)return n[o]}return n[n.length-1]},Ar=function(e,t,n,r,i,o){var a;"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),a=v.contains(sr,e)?ur:v.contains(or,e)?hr:dr;var s=pr(e,t,a,r);return"small"===s.type?qn(e,s.style,n,r,i,o):"large"===s.type?Zn(e,s.size,n,r,i,o):er(e,t,n,r,i,o)},gr=function(e,t,n,r,i,o){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-a,n+a),u=Math.max(c/500*s,2*c-l);return Ar(e,u,!0,r,i,o)},mr={sqrtImage:ir,sizedDelim:cr,customSizedDelim:Ar,leftRightDelim:gr},vr={"\\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}},yr=["(","\\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 br(e,t){var n=zt(e);if(n&&v.contains(yr,n.text))return n;throw new a("Invalid delimiter: '"+(n?n.text:JSON.stringify(e))+"' after '"+t.funcName+"'",e)}function _r(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}$t({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var n=br(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:vr[e.funcName].size,mclass:vr[e.funcName].mclass,delim:n.text}},htmlBuilder:function(e,t){return"."===e.delim?Ft.makeSpan([e.mclass]):mr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(wn(e.delim,e.mode));var n=new _n.MathNode("mo",t);return"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),$t({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(e,t){var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:br(t[0],e).text,color:n}}}),$t({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(e,t){var n=br(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var o=Rt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:function(e,t){_r(e);for(var n,r,i=ln(e.body,t,!0,["mopen","mclose"]),o=0,a=0,s=!1,l=0;l<i.length;l++)i[l].isMiddle?s=!0:(o=Math.max(i[l].height,o),a=Math.max(i[l].depth,a));if(o*=t.sizeMultiplier,a*=t.sizeMultiplier,n="."===e.left?fn(t,["mopen"]):mr.leftRightDelim(e.left,o,a,t,e.mode,["mopen"]),i.unshift(n),s)for(var c=1;c<i.length;c++){var u=i[c],d=u.isMiddle;d&&(i[c]=mr.leftRightDelim(d.delim,o,a,d.options,e.mode,[]))}if("."===e.right)r=fn(t,["mclose"]);else{var h=e.rightColor?t.withColor(e.rightColor):t;r=mr.leftRightDelim(e.right,o,a,h,e.mode,["mclose"])}return i.push(r),Ft.makeSpan(["minner"],i,t)},mathmlBuilder:function(e,t){_r(e);var n=Sn(e.body,t);if("."!==e.left){var r=new _n.MathNode("mo",[wn(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if("."!==e.right){var i=new _n.MathNode("mo",[wn(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),n.push(i)}return xn(n)}}),$t({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(e,t){var n=br(t[0],e);if(!e.parser.leftrightDepth)throw new a("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:function(e,t){var n;if("."===e.delim)n=fn(t,[]);else{n=mr.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:function(e,t){var n="\\vert"===e.delim||"|"===e.delim?wn("|","text"):wn(e.delim,e.mode),r=new _n.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var wr=function(e,t){var n,r,i=Ft.wrapFragment(pn(e.body,t),t),o=e.label.substr(1),a=t.sizeMultiplier,s=0,l=v.isCharacterBox(e.body);if("sout"===o)n=Ft.makeSpan(["stretchy","sout"]),n.height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else{/cancel/.test(o)?l||i.classes.push("cancel-pad"):i.classes.push("boxpad");var c=0,u=0;/box/.test(o)?(u=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),c=t.fontMetrics().fboxsep+("colorbox"===o?0:u)):c=l?.2:0,n=Rn.encloseSpan(i,o,c,t),/fbox|boxed|fcolorbox/.test(o)&&(n.style.borderStyle="solid",n.style.borderWidth=u+"em"),s=i.depth+c,e.backgroundColor&&(n.style.backgroundColor=e.backgroundColor,e.borderColor&&(n.style.borderColor=e.borderColor))}return r=e.backgroundColor?Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:s},{type:"elem",elem:i,shift:0}]},t):Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:n,shift:s,wrapperClasses:/cancel/.test(o)?["svg-align"]:[]}]},t),/cancel/.test(o)&&(r.height=i.height,r.depth=i.depth),/cancel/.test(o)&&!l?Ft.makeSpan(["mord","cancel-lap"],[r],t):Ft.makeSpan(["mord"],[r],t)},xr=function(e,t){var n=0,r=new _n.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[En(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};$t({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=Rt(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,body:a}},htmlBuilder:wr,mathmlBuilder:xr}),$t({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=Rt(t[0],"color-token").color,a=Rt(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,borderColor:o,body:s}},htmlBuilder:wr,mathmlBuilder:xr}),$t({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),$t({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=t[0];return{type:"enclose",mode:r.mode,label:i,body:o}},htmlBuilder:wr,mathmlBuilder:xr});var Cr={};function Sr(e){for(var t=e.type,n=e.names,r=e.props,i=e.handler,o=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<n.length;++l)Cr[n[l]]=s;o&&(Zt[t]=o),a&&(Jt[t]=a)}function kr(e){var t=[];e.consumeSpaces();var n=e.fetch().text;while("\\hline"===n||"\\hdashline"===n)e.consume(),t.push("\\hdashline"===n),e.consumeSpaces(),n=e.fetch().text;return t}function Er(e,t,n){var r=t.hskipBeforeAndAfter,i=t.addJot,o=t.cols,s=t.arraystretch,l=t.colSeparationType;if(e.gullet.beginGroup(),e.gullet.macros.set("\\\\","\\cr"),!s){var c=e.gullet.expandMacroAsText("\\arraystretch");if(null==c)s=1;else if(s=parseFloat(c),!s||s<0)throw new a("Invalid \\arraystretch: "+c)}e.gullet.beginGroup();var u=[],d=[u],h=[],f=[];f.push(kr(e));while(1){var p=e.parseExpression(!1,"\\cr");e.gullet.endGroup(),e.gullet.beginGroup(),p={type:"ordgroup",mode:e.mode,body:p},n&&(p={type:"styling",mode:e.mode,style:n,body:[p]}),u.push(p);var A=e.fetch().text;if("&"===A)e.consume();else{if("\\end"===A){1===u.length&&"styling"===p.type&&0===p.body[0].body.length&&d.pop(),f.length<d.length+1&&f.push([]);break}if("\\cr"!==A)throw new a("Expected & or \\\\ or \\cr or \\end",e.nextToken);var g=Rt(e.parseFunction(),"cr");h.push(g.size),f.push(kr(e)),u=[],d.push(u)}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:s,body:d,cols:o,rowGaps:h,hskipBeforeAndAfter:r,hLinesBeforeRow:f,colSeparationType:l}}function Or(e){return"d"===e.substr(0,1)?"display":"text"}var Br=function(e,t){var n,r,i=e.body.length,o=e.hLinesBeforeRow,s=0,l=new Array(i),c=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),d=1/t.fontMetrics().ptPerEm,h=5*d;if(e.colSeparationType&&"small"===e.colSeparationType){var f=t.havingStyle(N.SCRIPT).sizeMultiplier;h=f/t.sizeMultiplier*.2778}var p=12*d,A=3*d,g=e.arraystretch*p,m=.7*g,y=.3*g,b=0;function _(e){for(var t=0;t<e.length;++t)t>0&&(b+=.25),c.push({pos:b,isDashed:e[t]})}for(_(o[0]),n=0;n<e.body.length;++n){var w=e.body[n],x=m,C=y;s<w.length&&(s=w.length);var S=new Array(w.length);for(r=0;r<w.length;++r){var k=pn(w[r],t);C<k.depth&&(C=k.depth),x<k.height&&(x=k.height),S[r]=k}var E=e.rowGaps[n],O=0;E&&(O=ft(E,t),O>0&&(O+=y,C<O&&(C=O),O=0)),e.addJot&&(C+=A),S.height=x,S.depth=C,b+=x,S.pos=b,b+=C+O,l[n]=S,_(o[n+1])}var B,M,T=b/2+t.fontMetrics().axisHeight,I=e.cols||[],L=[];for(r=0,M=0;r<s||M<I.length;++r,++M){var D=I[M]||{},P=!0;while("separator"===D.type){if(P||(B=Ft.makeSpan(["arraycolsep"],[]),B.style.width=t.fontMetrics().doubleRuleSep+"em",L.push(B)),"|"!==D.separator&&":"!==D.separator)throw new a("Invalid separator type: "+D.separator);var j="|"===D.separator?"solid":"dashed",F=Ft.makeSpan(["vertical-separator"],[],t);F.style.height=b+"em",F.style.borderRightWidth=u+"em",F.style.borderRightStyle=j,F.style.margin="0 -"+u/2+"em",F.style.verticalAlign=-(b-T)+"em",L.push(F),M++,D=I[M]||{},P=!1}if(!(r>=s)){var R=void 0;(r>0||e.hskipBeforeAndAfter)&&(R=v.deflt(D.pregap,h),0!==R&&(B=Ft.makeSpan(["arraycolsep"],[]),B.style.width=R+"em",L.push(B)));var U=[];for(n=0;n<i;++n){var H=l[n],Q=H[r];if(Q){var K=H.pos-T;Q.depth=H.depth,Q.height=H.height,U.push({type:"elem",elem:Q,shift:K})}}U=Ft.makeVList({positionType:"individualShift",children:U},t),U=Ft.makeSpan(["col-align-"+(D.align||"c")],[U]),L.push(U),(r<s-1||e.hskipBeforeAndAfter)&&(R=v.deflt(D.postgap,h),0!==R&&(B=Ft.makeSpan(["arraycolsep"],[]),B.style.width=R+"em",L.push(B)))}}if(l=Ft.makeSpan(["mtable"],L),c.length>0){var z=Ft.makeLineSpan("hline",t,u),V=Ft.makeLineSpan("hdashline",t,u),W=[{type:"elem",elem:l,shift:0}];while(c.length>0){var G=c.pop(),X=G.pos-T;G.isDashed?W.push({type:"elem",elem:V,shift:X}):W.push({type:"elem",elem:z,shift:X})}l=Ft.makeVList({positionType:"individualShift",children:W},t)}return Ft.makeSpan(["mord"],[l],t)},Mr={c:"center ",l:"left ",r:"right "},Tr=function(e,t){var n=new _n.MathNode("mtable",e.body.map((function(e){return new _n.MathNode("mtr",e.map((function(e){return new _n.MathNode("mtd",[En(e,t)])})))}))),r=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);n.setAttribute("rowspacing",r+"em");var i="",o="";if(e.cols){var a=e.cols,s="",l=!1,c=0,u=a.length;"separator"===a[0].type&&(i+="top ",c=1),"separator"===a[a.length-1].type&&(i+="bottom ",u-=1);for(var d=c;d<u;d++)"align"===a[d].type?(o+=Mr[a[d].align],l&&(s+="none "),l=!0):"separator"===a[d].type&&l&&(s+="|"===a[d].separator?"solid ":"dashed ",l=!1);n.setAttribute("columnalign",o.trim()),/[sd]/.test(s)&&n.setAttribute("columnlines",s.trim())}if("align"===e.colSeparationType){for(var h=e.cols||[],f="",p=1;p<h.length;p++)f+=p%2?"0em ":"1em ";n.setAttribute("columnspacing",f.trim())}else"alignat"===e.colSeparationType?n.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?n.setAttribute("columnspacing","0.2778em"):n.setAttribute("columnspacing","1em");var A="",g=e.hLinesBeforeRow;i+=g[0].length>0?"left ":"",i+=g[g.length-1].length>0?"right ":"";for(var m=1;m<g.length-1;m++)A+=0===g[m].length?"none ":g[m][0]?"dashed ":"solid ";return/[sd]/.test(A)&&n.setAttribute("rowlines",A.trim()),""!==i&&(n=new _n.MathNode("menclose",[n]),n.setAttribute("notation",i.trim())),e.arraystretch&&e.arraystretch<1&&(n=new _n.MathNode("mstyle",[n]),n.setAttribute("scriptlevel","1")),n},Ir=function(e,t){var n,r=[],i=Er(e.parser,{cols:r,addJot:!0},"display"),o=0,s={type:"ordgroup",mode:e.mode,body:[]},l=Ut(t[0],"ordgroup");if(l){for(var c="",u=0;u<l.body.length;u++){var d=Rt(l.body[u],"textord");c+=d.text}n=Number(c),o=2*n}var h=!o;i.body.forEach((function(e){for(var t=1;t<e.length;t+=2){var r=Rt(e[t],"styling"),i=Rt(r.body[0],"ordgroup");i.body.unshift(s)}if(h)o<e.length&&(o=e.length);else{var l=e.length/2;if(n<l)throw new a("Too many math in a row: expected "+n+", but got "+l,e[0])}}));for(var f=0;f<o;++f){var p="r",A=0;f%2===1?p="l":f>0&&h&&(A=1),r[f]={type:"align",align:p,pregap:A,postgap:0}}return i.colSeparationType=h?"align":"alignat",i};Sr({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n=zt(t[0]),r=n?[t[0]]:Rt(t[0],"ordgroup").body,i=r.map((function(e){var t=Kt(e),n=t.text;if(-1!=="lcr".indexOf(n))return{type:"align",align:n};if("|"===n)return{type:"separator",separator:"|"};if(":"===n)return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+n,e)})),o={cols:i,hskipBeforeAndAfter:!0};return Er(e.parser,o,Or(e.envName))},htmlBuilder:Br,mathmlBuilder:Tr}),Sr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n={hskipBeforeAndAfter:!1},r=Er(e.parser,n,Or(e.envName));return t?{type:"leftright",mode:e.mode,body:[r],left:t[0],right:t[1],rightColor:void 0}:r},htmlBuilder:Br,mathmlBuilder:Tr}),Sr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t={arraystretch:.5},n=Er(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Br,mathmlBuilder:Tr}),Sr({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var n=zt(t[0]),r=n?[t[0]]:Rt(t[0],"ordgroup").body,i=r.map((function(e){var t=Kt(e),n=t.text;if(-1!=="lc".indexOf(n))return{type:"align",align:n};throw new a("Unknown column alignment: "+n,e)}));if(i.length>1)throw new a("{subarray} can contain only one column");var o={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Er(e.parser,o,"script"),o.body[0].length>1)throw new a("{subarray} can contain only one column");return o},htmlBuilder:Br,mathmlBuilder:Tr}),Sr({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Er(e.parser,t,Or(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Br,mathmlBuilder:Tr}),Sr({type:"array",names:["aligned"],props:{numArgs:0},handler:Ir,htmlBuilder:Br,mathmlBuilder:Tr}),Sr({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){var t={cols:[{type:"align",align:"c"}],addJot:!0};return Er(e.parser,t,"display")},htmlBuilder:Br,mathmlBuilder:Tr}),Sr({type:"array",names:["alignedat"],props:{numArgs:1},handler:Ir,htmlBuilder:Br,mathmlBuilder:Tr}),$t({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new a(e.funcName+" valid only within array environment")}});var Lr=Cr,Dr=Lr;$t({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];if("ordgroup"!==i.type)throw new a("Invalid environment name",i);for(var o="",s=0;s<i.body.length;++s)o+=Rt(i.body[s],"textord").text;if("\\begin"===r){if(!Dr.hasOwnProperty(o))throw new a("No such environment: "+o,i);var l=Dr[o],c=n.parseArguments("\\begin{"+o+"}",l),u=c.args,d=c.optArgs,h={mode:n.mode,envName:o,parser:n},f=l.handler(h,u,d);n.expect("\\end",!1);var p=n.nextToken,A=Rt(n.parseFunction(),"environment");if(A.name!==o)throw new a("Mismatch: \\begin{"+o+"} matched by \\end{"+A.name+"}",p);return f}return{type:"environment",mode:n.mode,name:o,nameGroup:i}}});var Pr=Ft.makeSpan;function Nr(e,t){var n=ln(e.body,t,!0);return Pr([e.mclass],n,t)}function jr(e,t){var n,r=Sn(e.body,t);return"minner"===e.mclass?_n.newDocumentFragment(r):("mord"===e.mclass?e.isCharacterBox?(n=r[0],n.type="mi"):n=new _n.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new _n.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"!==e.mclass&&"mclose"!==e.mclass||(n.attributes.lspace="0em",n.attributes.rspace="0em")),n)}$t({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.substr(5),body:tn(i),isCharacterBox:v.isCharacterBox(i)}},htmlBuilder:Nr,mathmlBuilder:jr});var Fr=function(e){var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};$t({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(e,t){var n=e.parser;return{type:"mclass",mode:n.mode,mclass:Fr(t[0]),body:[t[1]],isCharacterBox:v.isCharacterBox(t[1])}}}),$t({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,t){var n,r=e.parser,i=e.funcName,o=t[1],a=t[0];n="\\stackrel"!==i?Fr(o):"mrel";var s={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==i,body:tn(o)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===i?null:a,sub:"\\underset"===i?a:null};return{type:"mclass",mode:r.mode,mclass:n,body:[l],isCharacterBox:v.isCharacterBox(l)}},htmlBuilder:Nr,mathmlBuilder:jr});var Rr=function(e,t){var n=e.font,r=t.withFont(n);return pn(e.body,r)},Ur=function(e,t){var n=e.font,r=t.withFont(n);return En(e.body,r)},Hr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};$t({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0],o=r;return o in Hr&&(o=Hr[o]),{type:"font",mode:n.mode,font:o.slice(1),body:i}},htmlBuilder:Rr,mathmlBuilder:Ur}),$t({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=e.parser,r=t[0],i=v.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Fr(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}}),$t({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=e.breakOnTokenText,o=n.mode,a=n.parseExpression(!0,i),s="math"+r.slice(1);return{type:"font",mode:o,font:s,body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:Rr,mathmlBuilder:Ur});var Qr=function(e,t){var n=t;return"display"===e?n=n.id>=N.SCRIPT.id?n.text():N.DISPLAY:"text"===e&&n.size===N.DISPLAY.size?n=N.TEXT:"script"===e?n=N.SCRIPT:"scriptscript"===e&&(n=N.SCRIPTSCRIPT),n},Kr=function(e,t){var n,r=Qr(e.size,t.style),i=r.fracNum(),o=r.fracDen();n=t.havingStyle(i);var a=pn(e.numer,n,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}n=t.havingStyle(o);var c,u,d,h,f,p,A,g,m,v,y=pn(e.denom,n,t);if(e.hasBarLine?(e.barSize?(u=ft(e.barSize,t),c=Ft.makeLineSpan("frac-line",t,u)):c=Ft.makeLineSpan("frac-line",t),u=c.height,d=c.height):(c=null,u=0,d=t.fontMetrics().defaultRuleThickness),r.size===N.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,f=u>0?3*d:7*d,p=t.fontMetrics().denom1):(u>0?(h=t.fontMetrics().num2,f=d):(h=t.fontMetrics().num3,f=3*d),p=t.fontMetrics().denom2),c){var b=t.fontMetrics().axisHeight;h-a.depth-(b+.5*u)<f&&(h+=f-(h-a.depth-(b+.5*u))),b-.5*u-(y.height-p)<f&&(p+=f-(b-.5*u-(y.height-p)));var _=-(b-.5*u);A=Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:p},{type:"elem",elem:c,shift:_},{type:"elem",elem:a,shift:-h}]},t)}else{var w=h-a.depth-(y.height-p);w<f&&(h+=.5*(f-w),p+=.5*(f-w)),A=Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:p},{type:"elem",elem:a,shift:-h}]},t)}return n=t.havingStyle(r),A.height*=n.sizeMultiplier/t.sizeMultiplier,A.depth*=n.sizeMultiplier/t.sizeMultiplier,g=r.size===N.DISPLAY.size?t.fontMetrics().delim1:t.fontMetrics().delim2,m=null==e.leftDelim?fn(t,["mopen"]):mr.customSizedDelim(e.leftDelim,g,!0,t.havingStyle(r),e.mode,["mopen"]),v=e.continued?Ft.makeSpan([]):null==e.rightDelim?fn(t,["mclose"]):mr.customSizedDelim(e.rightDelim,g,!0,t.havingStyle(r),e.mode,["mclose"]),Ft.makeSpan(["mord"].concat(n.sizingClasses(t)),[m,Ft.makeSpan(["mfrac"],[A]),v],t)},zr=function(e,t){var n=new _n.MathNode("mfrac",[En(e.numer,t),En(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var r=ft(e.barSize,t);n.setAttribute("linethickness",r+"em")}}else n.setAttribute("linethickness","0px");var i=Qr(e.size,t.style);if(i.size!==t.style.size){n=new _n.MathNode("mstyle",[n]);var o=i.size===N.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",o),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var s=new _n.MathNode("mo",[new _n.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),null!=e.rightDelim){var l=new _n.MathNode("mo",[new _n.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return xn(a)}return n};$t({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(e,t){var n,r=e.parser,i=e.funcName,o=t[0],a=t[1],s=null,l=null,c="auto";switch(i){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":n=!0;break;case"\\\\atopfrac":n=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":n=!1,s="(",l=")";break;case"\\\\bracefrac":n=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":n=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(i){case"\\cfrac":case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:r.mode,continued:"\\cfrac"===i,numer:o,denom:a,hasBarLine:n,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:Kr,mathmlBuilder:zr}),$t({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(e){var t,n=e.parser,r=e.funcName,i=e.token;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:i}}});var Vr=["display","text","script","scriptscript"],Wr=function(e){var t=null;return e.length>0&&(t=e,t="."===t?null:t),t};$t({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var n=e.parser,r=t[4],i=t[5],o=Ut(t[0],"atom");o&&(o=Ht(t[0],"open"));var a=o?Wr(o.text):null,s=Ut(t[1],"atom");s&&(s=Ht(t[1],"close"));var l,c=s?Wr(s.text):null,u=Rt(t[2],"size"),d=null;u.isBlank?l=!0:(d=u.value,l=d.number>0);var h="auto",f=Ut(t[3],"ordgroup");if(f){if(f.body.length>0){var p=Rt(f.body[0],"textord");h=Vr[Number(p.text)]}}else f=Rt(t[3],"textord"),h=Vr[Number(f.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:l,barSize:d,leftDelim:a,rightDelim:c,size:h}},htmlBuilder:Kr,mathmlBuilder:zr}),$t({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var n=e.parser,r=(e.funcName,e.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Rt(t[0],"size").value,token:r}}}),$t({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var n=e.parser,r=(e.funcName,t[0]),i=g(Rt(t[1],"infix").size),o=t[2],a=i.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:a,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Kr,mathmlBuilder:zr});var Gr=function(e,t){var n,r,i=t.style,o=Ut(e,"supsub");o?(n=o.sup?pn(o.sup,t.havingStyle(i.sup()),t):pn(o.sub,t.havingStyle(i.sub()),t),r=Rt(o.base,"horizBrace")):r=Rt(e,"horizBrace");var a,s=pn(r.base,t.havingBaseStyle(N.DISPLAY)),l=Rn.svgSpan(r,t);if(r.isOver?(a=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:l}]},t),a.children[0].children[0].children[1].classes.push("svg-align")):(a=Ft.makeVList({positionType:"bottom",positionData:s.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:s}]},t),a.children[0].children[0].children[0].classes.push("svg-align")),n){var c=Ft.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t);a=r.isOver?Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Ft.makeVList({positionType:"bottom",positionData:c.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:c}]},t)}return Ft.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t)},Xr=function(e,t){var n=Rn.mathMLnode(e.label);return new _n.MathNode(e.isOver?"mover":"munder",[En(e.base,t),n])};$t({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:Gr,mathmlBuilder:Xr}),$t({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[1],i=Rt(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:tn(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var n=ln(e.body,t,!1);return Ft.makeAnchor(e.href,[],n,t)},mathmlBuilder:function(e,t){var n=kn(e.body,t);return n instanceof vn||(n=new vn("mrow",[n])),n.setAttribute("href",e.href),n}}),$t({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=Rt(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],o=0;o<r.length;o++){var a=r[o];"~"===a&&(a="\\textasciitilde"),i.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:tn(s)}}}),$t({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"htmlmathml",mode:n.mode,html:tn(t[0]),mathml:tn(t[1])}},htmlBuilder:function(e,t){var n=ln(e.html,t,!1);return Ft.makeFragment(n)},mathmlBuilder:function(e,t){return kn(e.mathml,t)}});var qr=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new a("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!ht(n))throw new a("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};$t({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(e,t,n){var r=e.parser,i={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(n[0])for(var c=Rt(n[0],"raw").string,u=c.split(","),d=0;d<u.length;d++){var h=u[d].split("=");if(2===h.length){var f=h[1].trim();switch(h[0].trim()){case"alt":l=f;break;case"width":i=qr(f);break;case"height":o=qr(f);break;case"totalheight":s=qr(f);break;default:throw new a("Invalid key: '"+h[0]+"' in \\includegraphics.")}}}var p=Rt(t[0],"url").url;return""===l&&(l=p,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:r.mode,alt:l,width:i,height:o,totalheight:s,src:p}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(e,t){var n=ft(e.height,t),r=0;e.totalheight.number>0&&(r=ft(e.totalheight,t)-n,r=Number(r.toFixed(2)));var i=0;e.width.number>0&&(i=ft(e.width,t));var o={height:n+r+"em"};i>0&&(o.width=i+"em"),r>0&&(o.verticalAlign=-r+"em");var a=new re(e.src,e.alt,o);return a.height=n,a.depth=r,a},mathmlBuilder:function(e,t){var n=new _n.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=ft(e.height,t),i=0;if(e.totalheight.number>0&&(i=ft(e.totalheight,t)-r,i=i.toFixed(2),n.setAttribute("valign","-"+i+"em")),n.setAttribute("height",r+i+"em"),e.width.number>0){var o=ft(e.width,t);n.setAttribute("width",o+"em")}return n.setAttribute("src",e.src),n}}),$t({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=Rt(t[0],"size");if(n.settings.strict){var o="m"===r[1],a="mu"===i.value.unit;o?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+i.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder:function(e,t){return Ft.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var n=ft(e.dimension,t);return new _n.SpaceNode(n)}}),$t({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:function(e,t){var n;"clap"===e.alignment?(n=Ft.makeSpan([],[pn(e.body,t)]),n=Ft.makeSpan(["inner"],[n],t)):n=Ft.makeSpan(["inner"],[pn(e.body,t)]);var r=Ft.makeSpan(["fix"],[]),i=Ft.makeSpan([e.alignment],[n,r],t),o=Ft.makeSpan(["strut"]);return o.style.height=i.height+i.depth+"em",o.style.verticalAlign=-i.depth+"em",i.children.unshift(o),i=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i}]},t),Ft.makeSpan(["mord"],[i],t)},mathmlBuilder:function(e,t){var n=new _n.MathNode("mpadded",[En(e.body,t)]);if("rlap"!==e.alignment){var r="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),$t({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=e.funcName,r=e.parser,i=r.mode;r.switchMode("math");var o="\\("===n?"\\)":"$",a=r.parseExpression(!1,o);return r.expect(o),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:a}}}),$t({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new a("Mismatched "+e.funcName)}});var Yr=function(e,t){switch(t.style.size){case N.DISPLAY.size:return e.display;case N.TEXT.size:return e.text;case N.SCRIPT.size:return e.script;case N.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};$t({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){var n=e.parser;return{type:"mathchoice",mode:n.mode,display:tn(t[0]),text:tn(t[1]),script:tn(t[2]),scriptscript:tn(t[3])}},htmlBuilder:function(e,t){var n=Yr(e,t),r=ln(n,t,!1);return Ft.makeFragment(r)},mathmlBuilder:function(e,t){var n=Yr(e,t);return kn(n,t)}});var Zr=function(e,t,n,r,i,o,a){var s,l,c;if(e=Ft.makeSpan([],[e]),t){var u=pn(t,r.havingStyle(i.sup()),r);l={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var d=pn(n,r.havingStyle(i.sub()),r);s={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}if(l&&s){var h=r.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;c=Ft.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-o+"em"},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:o+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(s){var f=e.height-a;c=Ft.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-o+"em"},{type:"kern",size:s.kern},{type:"elem",elem:e}]},r)}else{if(!l)return e;var p=e.depth+a;c=Ft.makeVList({positionType:"bottom",positionData:p,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:o+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}return Ft.makeSpan(["mop","op-limits"],[c],r)},Jr=["\\smallint"],$r=function(e,t){var n,r,i,o=!1,a=Ut(e,"supsub");a?(n=a.sup,r=a.sub,i=Rt(a.base,"op"),o=!0):i=Rt(e,"op");var s,l=t.style,c=!1;if(l.size===N.DISPLAY.size&&i.symbol&&!v.contains(Jr,i.name)&&(c=!0),i.symbol){var u=c?"Size2-Regular":"Size1-Regular",d="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(d=i.name.substr(1),i.name="oiint"===d?"\\iint":"\\iiint"),s=Ft.makeSymbol(i.name,u,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),d.length>0){var h=s.italic,f=Ft.staticSvg(d+"Size"+(c?"2":"1"),t);s=Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:f,shift:c?.08:0}]},t),i.name="\\"+d,s.classes.unshift("mop"),s.italic=h}}else if(i.body){var p=ln(i.body,t,!0);1===p.length&&p[0]instanceof oe?(s=p[0],s.classes[0]="mop"):s=Ft.makeSpan(["mop"],Ft.tryCombineChars(p),t)}else{for(var A=[],g=1;g<i.name.length;g++)A.push(Ft.mathsym(i.name[g],i.mode,t));s=Ft.makeSpan(["mop"],A,t)}var m=0,y=0;return(s instanceof oe||"\\oiint"===i.name||"\\oiiint"===i.name)&&!i.suppressBaseShift&&(m=(s.height-s.depth)/2-t.fontMetrics().axisHeight,y=s.italic),o?Zr(s,n,r,t,l,y,m):(m&&(s.style.position="relative",s.style.top=m+"em"),s)},ei=function(e,t){var n;if(e.symbol)n=new vn("mo",[wn(e.name,e.mode)]),v.contains(Jr,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new vn("mo",Sn(e.body,t));else{n=new vn("mi",[new yn(e.name.slice(1))]);var r=new vn("mo",[wn("\u2061","text")]);n=e.parentIsSupSub?new vn("mo",[n,r]):mn([n,r])}return n},ti={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcup","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};$t({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(e,t){var n=e.parser,r=e.funcName,i=r;return 1===i.length&&(i=ti[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:$r,mathmlBuilder:ei}),$t({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tn(r)}},htmlBuilder:$r,mathmlBuilder:ei});var ni={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint","\u222f":"\\oiint","\u2230":"\\oiiint"};$t({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(e){var t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:$r,mathmlBuilder:ei}),$t({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(e){var t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:$r,mathmlBuilder:ei}),$t({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222b","\u222c","\u222d","\u222e","\u222f","\u2230"],props:{numArgs:0},handler:function(e){var t=e.parser,n=e.funcName,r=n;return 1===r.length&&(r=ni[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:$r,mathmlBuilder:ei});var ri=function(e,t){var n,r,i,o,a=!1,s=Ut(e,"supsub");if(s?(n=s.sup,r=s.sub,i=Rt(s.base,"operatorname"),a=!0):i=Rt(e,"operatorname"),i.body.length>0){for(var l=i.body.map((function(e){var t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e})),c=ln(l,t.withFont("mathrm"),!0),u=0;u<c.length;u++){var d=c[u];d instanceof oe&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=Ft.makeSpan(["mop"],c,t)}else o=Ft.makeSpan(["mop"],[],t);return a?Zr(o,n,r,t,t.style,0,0):o},ii=function(e,t){for(var n=Sn(e.body,t.withFont("mathrm")),r=!0,i=0;i<n.length;i++){var o=n[i];if(o instanceof _n.SpaceNode);else if(o instanceof _n.MathNode)switch(o.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var a=o.children[0];1===o.children.length&&a instanceof _n.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break;default:r=!1}else r=!1}if(r){var s=n.map((function(e){return e.toText()})).join("");n=[new _n.TextNode(s)]}var l=new _n.MathNode("mi",n);l.setAttribute("mathvariant","normal");var c=new _n.MathNode("mo",[wn("\u2061","text")]);return e.parentIsSupSub?new _n.MathNode("mo",[l,c]):_n.newDocumentFragment([l,c])};function oi(e,t,n){for(var r=ln(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,o=0;o<r.length;o++){var a=r[o].classes.indexOf("sizing");a<0?Array.prototype.push.apply(r[o].classes,t.sizingClasses(n)):r[o].classes[a+1]==="reset-size"+t.size&&(r[o].classes[a+1]="reset-size"+n.size),r[o].height*=i,r[o].depth*=i}return Ft.makeFragment(r)}$t({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"operatorname",mode:n.mode,body:tn(i),alwaysHandleSupSub:"\\operatorname*"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:ri,mathmlBuilder:ii}),en({type:"ordgroup",htmlBuilder:function(e,t){return e.semisimple?Ft.makeFragment(ln(e.body,t,!1)):Ft.makeSpan(["mord"],ln(e.body,t,!0),t)},mathmlBuilder:function(e,t){return kn(e.body,t,!0)}}),$t({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder:function(e,t){var n=pn(e.body,t.havingCrampedStyle()),r=Ft.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,o=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return Ft.makeSpan(["mord","overline"],[o],t)},mathmlBuilder:function(e,t){var n=new _n.MathNode("mo",[new _n.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new _n.MathNode("mover",[En(e.body,t),n]);return r.setAttribute("accent","true"),r}}),$t({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[0];return{type:"phantom",mode:n.mode,body:tn(r)}},htmlBuilder:function(e,t){var n=ln(e.body,t.withPhantom(),!1);return Ft.makeFragment(n)},mathmlBuilder:function(e,t){var n=Sn(e.body,t);return new _n.MathNode("mphantom",n)}}),$t({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:function(e,t){var n=Ft.makeSpan([],[pn(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),Ft.makeSpan(["mord"],[n],t)},mathmlBuilder:function(e,t){var n=Sn(tn(e.body),t),r=new _n.MathNode("mphantom",n),i=new _n.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),$t({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:function(e,t){var n=Ft.makeSpan(["inner"],[pn(e.body,t.withPhantom())]),r=Ft.makeSpan(["fix"],[]);return Ft.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:function(e,t){var n=Sn(tn(e.body),t),r=new _n.MathNode("mphantom",n),i=new _n.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}}),$t({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=Rt(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder:function(e,t){var n=pn(e.body,t),r=ft(e.dy,t);return Ft.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=new _n.MathNode("mpadded",[En(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),$t({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(e,t,n){var r=e.parser,i=n[0],o=Rt(t[0],"size"),a=Rt(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&Rt(i,"size").value,width:o.value,height:a.value}},htmlBuilder:function(e,t){var n=Ft.makeSpan(["mord","rule"],[],t),r=ft(e.width,t),i=ft(e.height,t),o=e.shift?ft(e.shift,t):0;return n.style.borderRightWidth=r+"em",n.style.borderTopWidth=i+"em",n.style.bottom=o+"em",n.width=r,n.height=i+o,n.depth=-o,n.maxFontSize=1.125*i*t.sizeMultiplier,n},mathmlBuilder:function(e,t){var n=ft(e.width,t),r=ft(e.height,t),i=e.shift?ft(e.shift,t):0,o=t.color&&t.getColor()||"black",a=new _n.MathNode("mspace");a.setAttribute("mathbackground",o),a.setAttribute("width",n+"em"),a.setAttribute("height",r+"em");var s=new _n.MathNode("mpadded",[a]);return i>=0?s.setAttribute("height","+"+i+"em"):(s.setAttribute("height",i+"em"),s.setAttribute("depth","+"+-i+"em")),s.setAttribute("voffset",i+"em"),s}});var ai=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],si=function(e,t){var n=t.havingSize(e.size);return oi(e.body,n,t)};$t({type:"sizing",names:ai,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser,o=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:ai.indexOf(r)+1,body:o}},htmlBuilder:si,mathmlBuilder:function(e,t){var n=t.havingSize(e.size),r=Sn(e.body,n),i=new _n.MathNode("mstyle",r);return i.setAttribute("mathsize",n.sizeMultiplier+"em"),i}}),$t({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=e.parser,i=!1,o=!1,a=n[0]&&Rt(n[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l){var c=a.body[l];if(s=c.text,"t"===s)i=!0;else{if("b"!==s){i=!1,o=!1;break}o=!0}}else i=!0,o=!0;var u=t[0];return{type:"smash",mode:r.mode,body:u,smashHeight:i,smashDepth:o}},htmlBuilder:function(e,t){var n=Ft.makeSpan([],[pn(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var i=0;i<n.children.length;i++)n.children[i].depth=0;var o=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return Ft.makeSpan(["mord"],[o],t)},mathmlBuilder:function(e,t){var n=new _n.MathNode("mpadded",[En(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),$t({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=e.parser,i=n[0],o=t[0];return{type:"sqrt",mode:r.mode,body:o,index:i}},htmlBuilder:function(e,t){var n=pn(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=Ft.wrapFragment(n,t);var r=t.fontMetrics(),i=r.defaultRuleThickness,o=i;t.style.id<N.TEXT.id&&(o=t.fontMetrics().xHeight);var a=i+o/4,s=n.height+n.depth+a+i,l=mr.sqrtImage(s,t),c=l.span,u=l.ruleWidth,d=l.advanceWidth,h=c.height-u;h>n.height+n.depth+a&&(a=(a+h-n.height-n.depth)/2);var f=c.height-n.height-a-u;n.style.paddingLeft=d+"em";var p=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:c},{type:"kern",size:u}]},t);if(e.index){var A=t.havingStyle(N.SCRIPTSCRIPT),g=pn(e.index,A,t),m=.6*(p.height-p.depth),v=Ft.makeVList({positionType:"shift",positionData:-m,children:[{type:"elem",elem:g}]},t),y=Ft.makeSpan(["root"],[v]);return Ft.makeSpan(["mord","sqrt"],[y,p],t)}return Ft.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var n=e.body,r=e.index;return r?new _n.MathNode("mroot",[En(n,t),En(r,t)]):new _n.MathNode("msqrt",[En(n,t)])}});var li={display:N.DISPLAY,text:N.TEXT,script:N.SCRIPT,scriptscript:N.SCRIPTSCRIPT};$t({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser,o=i.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:a,body:o}},htmlBuilder:function(e,t){var n=li[e.style],r=t.havingStyle(n).withFont("");return oi(e.body,r,t)},mathmlBuilder:function(e,t){var n=li[e.style],r=t.havingStyle(n),i=Sn(e.body,r),o=new _n.MathNode("mstyle",i),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[e.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});var ci=function(e,t){var n=e.base;if(n){if("op"===n.type){var r=n.limits&&(t.style.size===N.DISPLAY.size||n.alwaysHandleSupSub);return r?$r:null}if("operatorname"===n.type){var i=n.alwaysHandleSupSub&&(t.style.size===N.DISPLAY.size||n.limits);return i?ri:null}if("accent"===n.type)return v.isCharacterBox(n.base)?Un:null;if("horizBrace"===n.type){var o=!e.sub;return o===n.isOver?Gr:null}return null}return null};en({type:"supsub",htmlBuilder:function(e,t){var n=ci(e,t);if(n)return n(e,t);var r,i,o,a=e.base,s=e.sup,l=e.sub,c=pn(a,t),u=t.fontMetrics(),d=0,h=0,f=a&&v.isCharacterBox(a);if(s){var p=t.havingStyle(t.style.sup());r=pn(s,p,t),f||(d=c.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(l){var A=t.havingStyle(t.style.sub());i=pn(l,A,t),f||(h=c.depth+A.fontMetrics().subDrop*A.sizeMultiplier/t.sizeMultiplier)}o=t.style===N.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var g,m=t.sizeMultiplier,y=.5/u.ptPerEm/m+"em",b=null;if(i){var _=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(c instanceof oe||_)&&(b=-c.italic+"em")}if(r&&i){d=Math.max(d,o,r.depth+.25*u.xHeight),h=Math.max(h,u.sub2);var w=u.defaultRuleThickness,x=4*w;if(d-r.depth-(i.height-h)<x){h=x-(d-r.depth)+i.height;var C=.8*u.xHeight-(d-r.depth);C>0&&(d+=C,h-=C)}var S=[{type:"elem",elem:i,shift:h,marginRight:y,marginLeft:b},{type:"elem",elem:r,shift:-d,marginRight:y}];g=Ft.makeVList({positionType:"individualShift",children:S},t)}else if(i){h=Math.max(h,u.sub1,i.height-.8*u.xHeight);var k=[{type:"elem",elem:i,marginLeft:b,marginRight:y}];g=Ft.makeVList({positionType:"shift",positionData:h,children:k},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");d=Math.max(d,o,r.depth+.25*u.xHeight),g=Ft.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:r,marginRight:y}]},t)}var E=hn(c,"right")||"mord";return Ft.makeSpan([E],[c,Ft.makeSpan(["msupsub"],[g])],t)},mathmlBuilder:function(e,t){var n,r,i=!1,o=Ut(e.base,"horizBrace");o&&(r=!!e.sup,r===o.isOver&&(i=!0,n=o.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var a,s=[En(e.base,t)];if(e.sub&&s.push(En(e.sub,t)),e.sup&&s.push(En(e.sup,t)),i)a=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;a=l&&"op"===l.type&&l.limits&&t.style===N.DISPLAY||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(t.style===N.DISPLAY||l.limits)?"munderover":"msubsup"}else{var c=e.base;a=c&&"op"===c.type&&c.limits&&(t.style===N.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||t.style===N.DISPLAY)?"munder":"msub"}else{var u=e.base;a=u&&"op"===u.type&&u.limits&&(t.style===N.DISPLAY||u.alwaysHandleSupSub)||u&&"operatorname"===u.type&&u.alwaysHandleSupSub&&(u.limits||t.style===N.DISPLAY)?"mover":"msup"}var d=new _n.MathNode(a,s);return d}}),en({type:"atom",htmlBuilder:function(e,t){return Ft.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var n=new _n.MathNode("mo",[wn(e.text,e.mode)]);if("bin"===e.family){var r=Cn(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var ui={mi:"italic",mn:"normal",mtext:"normal"};en({type:"mathord",htmlBuilder:function(e,t){return Ft.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var n=new _n.MathNode("mi",[wn(e.text,e.mode,t)]),r=Cn(e,t)||"italic";return r!==ui[n.type]&&n.setAttribute("mathvariant",r),n}}),en({type:"textord",htmlBuilder:function(e,t){return Ft.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var n,r=wn(e.text,e.mode,t),i=Cn(e,t)||"normal";return n="text"===e.mode?new _n.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new _n.MathNode("mn",[r]):"\\prime"===e.text?new _n.MathNode("mo",[r]):new _n.MathNode("mi",[r]),i!==ui[n.type]&&n.setAttribute("mathvariant",i),n}});var di={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},hi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};en({type:"spacing",htmlBuilder:function(e,t){if(hi.hasOwnProperty(e.text)){var n=hi[e.text].className||"";if("text"===e.mode){var r=Ft.makeOrd(e,t,"textord");return r.classes.push(n),r}return Ft.makeSpan(["mspace",n],[Ft.mathsym(e.text,e.mode,t)],t)}if(di.hasOwnProperty(e.text))return Ft.makeSpan(["mspace",di[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){var n;if(!hi.hasOwnProperty(e.text)){if(di.hasOwnProperty(e.text))return new _n.MathNode("mspace");throw new a('Unknown type of space "'+e.text+'"')}return n=new _n.MathNode("mtext",[new _n.TextNode("\xa0")]),n}});var fi=function(){var e=new _n.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};en({type:"tag",mathmlBuilder:function(e,t){var n=new _n.MathNode("mtable",[new _n.MathNode("mtr",[fi(),new _n.MathNode("mtd",[kn(e.body,t)]),fi(),new _n.MathNode("mtd",[kn(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var pi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ai={"\\textbf":"textbf","\\textmd":"textmd"},gi={"\\textit":"textit","\\textup":"textup"},mi=function(e,t){var n=e.font;return n?pi[n]?t.withTextFontFamily(pi[n]):Ai[n]?t.withTextFontWeight(Ai[n]):t.withTextFontShape(gi[n]):t};$t({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"text",mode:n.mode,body:tn(i),font:r}},htmlBuilder:function(e,t){var n=mi(e,t),r=ln(e.body,n,!0);return Ft.makeSpan(["mord","text"],Ft.tryCombineChars(r),n)},mathmlBuilder:function(e,t){var n=mi(e,t);return kn(e.body,n)}}),$t({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder:function(e,t){var n=pn(e.body,t),r=Ft.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,o=Ft.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return Ft.makeSpan(["mord","underline"],[o],t)},mathmlBuilder:function(e,t){var n=new _n.MathNode("mo",[new _n.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new _n.MathNode("munder",[En(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),$t({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=vi(e),r=[],i=t.havingStyle(t.style.text()),o=0;o<n.length;o++){var a=n[o];"~"===a&&(a="\\textasciitilde"),r.push(Ft.makeSymbol(a,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return Ft.makeSpan(["mord","text"].concat(i.sizingClasses(t)),Ft.tryCombineChars(r),i)},mathmlBuilder:function(e,t){var n=new _n.TextNode(vi(e)),r=new _n.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var vi=function(e){return e.body.replace(/ /g,e.star?"\u2423":"\xa0")},yi=Yt,bi=yi,_i="[ \r\n\t]",wi="\\\\[a-zA-Z@]+",xi="\\\\[^\ud800-\udfff]",Ci=""+wi+_i+"*",Si=new RegExp("^("+wi+")"+_i+"*$"),ki="[\u0300-\u036f]",Ei=new RegExp(ki+"+$"),Oi="("+_i+"+)|([!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff]"+ki+"*|[\ud800-\udbff][\udc00-\udfff]"+ki+"*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*|"+Ci+"|"+xi+")",Bi=function(){function e(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Oi,"g"),this.catcodes={"%":14}}var t=e.prototype;return t.setCatcode=function(e,t){this.catcodes[e]=t},t.lex=function(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new i("EOF",new r(this,t,t));var n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new a("Unexpected character: '"+e[t]+"'",new i(e[t],new r(this,t,t+1)));var o=n[2]||" ";if(14===this.catcodes[o]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=e.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=s+1,this.lex()}var l=o.match(Si);return l&&(o=l[1]),new i(o,new r(this,t,this.tokenRegex.lastIndex))},e}(),Mi=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}var t=e.prototype;return t.beginGroup=function(){this.undefStack.push({})},t.endGroup=function(){if(0===this.undefStack.length)throw new a("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(void 0===e[t]?delete this.current[t]:this.current[t]=e[t])},t.has=function(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)},t.get=function(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]},t.set=function(e,t,n){if(void 0===n&&(n=!1),n){for(var r=0;r<this.undefStack.length;r++)delete this.undefStack[r][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}this.current[e]=t},e}(),Ti={},Ii=Ti;function Li(e,t){Ti[e]=t}Li("\\@firstoftwo",(function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}})),Li("\\@secondoftwo",(function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}})),Li("\\@ifnextchar",(function(e){var t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Li("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Li("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Di={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};Li("\\char",(function(e){var t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new a("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(r=Di[n.text],null==r||r>=t)throw new a("Invalid base-"+t+" digit "+n.text);var i;while(null!=(i=Di[e.future().text])&&i<t)r*=t,r+=i,e.popToken()}return"\\@char{"+r+"}"}));var Pi=function(e,t){var n=e.consumeArgs(1)[0];if(1!==n.length)throw new a("\\gdef's first argument must be a macro name");var r=n[0].text,i=0;n=e.consumeArgs(1)[0];while(1===n.length&&"#"===n[0].text){if(n=e.consumeArgs(1)[0],1!==n.length)throw new a('Invalid argument number length "'+n.length+'"');if(!/^[1-9]$/.test(n[0].text))throw new a('Invalid argument number "'+n[0].text+'"');if(i++,parseInt(n[0].text)!==i)throw new a('Argument number "'+n[0].text+'" out of order');n=e.consumeArgs(1)[0]}return e.macros.set(r,{tokens:n,numArgs:i},t),""};Li("\\gdef",(function(e){return Pi(e,!0)})),Li("\\def",(function(e){return Pi(e,!1)})),Li("\\global",(function(e){var t=e.consumeArgs(1)[0];if(1!==t.length)throw new a("Invalid command after \\global");var n=t[0].text;if("\\def"===n)return Pi(e,!0);throw new a("Invalid command '"+n+"' after \\global")}));var Ni=function(e,t,n){var r=e.consumeArgs(1)[0];if(1!==r.length)throw new a("\\newcommand's first argument must be a macro name");var i=r[0].text,o=e.isDefined(i);if(o&&!t)throw new a("\\newcommand{"+i+"} attempting to redefine "+i+"; use \\renewcommand");if(!o&&!n)throw new a("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(r=e.consumeArgs(1)[0],1===r.length&&"["===r[0].text){var l="",c=e.expandNextToken();while("]"!==c.text&&"EOF"!==c.text)l+=c.text,c=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+l);s=parseInt(l),r=e.consumeArgs(1)[0]}return e.macros.set(i,{tokens:r,numArgs:s}),""};Li("\\newcommand",(function(e){return Ni(e,!1,!0)})),Li("\\renewcommand",(function(e){return Ni(e,!0,!1)})),Li("\\providecommand",(function(e){return Ni(e,!0,!0)})),Li("\\bgroup","{"),Li("\\egroup","}"),Li("\\lq","`"),Li("\\rq","'"),Li("\\aa","\\r a"),Li("\\AA","\\r A"),Li("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),Li("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Li("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),Li("\u212c","\\mathscr{B}"),Li("\u2130","\\mathscr{E}"),Li("\u2131","\\mathscr{F}"),Li("\u210b","\\mathscr{H}"),Li("\u2110","\\mathscr{I}"),Li("\u2112","\\mathscr{L}"),Li("\u2133","\\mathscr{M}"),Li("\u211b","\\mathscr{R}"),Li("\u212d","\\mathfrak{C}"),Li("\u210c","\\mathfrak{H}"),Li("\u2128","\\mathfrak{Z}"),Li("\\Bbbk","\\Bbb{k}"),Li("\xb7","\\cdotp"),Li("\\llap","\\mathllap{\\textrm{#1}}"),Li("\\rlap","\\mathrlap{\\textrm{#1}}"),Li("\\clap","\\mathclap{\\textrm{#1}}"),Li("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Li("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Li("\\ne","\\neq"),Li("\u2260","\\neq"),Li("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Li("\u2209","\\notin"),Li("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Li("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Li("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),Li("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),Li("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),Li("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),Li("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),Li("\u27c2","\\perp"),Li("\u203c","\\mathclose{!\\mkern-0.8mu!}"),Li("\u220c","\\notni"),Li("\u231c","\\ulcorner"),Li("\u231d","\\urcorner"),Li("\u231e","\\llcorner"),Li("\u231f","\\lrcorner"),Li("\xa9","\\copyright"),Li("\xae","\\textregistered"),Li("\ufe0f","\\textregistered"),Li("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Li("\u22ee","\\vdots"),Li("\\varGamma","\\mathit{\\Gamma}"),Li("\\varDelta","\\mathit{\\Delta}"),Li("\\varTheta","\\mathit{\\Theta}"),Li("\\varLambda","\\mathit{\\Lambda}"),Li("\\varXi","\\mathit{\\Xi}"),Li("\\varPi","\\mathit{\\Pi}"),Li("\\varSigma","\\mathit{\\Sigma}"),Li("\\varUpsilon","\\mathit{\\Upsilon}"),Li("\\varPhi","\\mathit{\\Phi}"),Li("\\varPsi","\\mathit{\\Psi}"),Li("\\varOmega","\\mathit{\\Omega}"),Li("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Li("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Li("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Li("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Li("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Li("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ji={",":"\\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"};Li("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in ji?t=ji[n]:("\\not"===n.substr(0,4)||n in _e.math&&v.contains(["bin","rel"],_e.math[n].group))&&(t="\\dotsb"),t}));var Fi={")":!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};Li("\\dotso",(function(e){var t=e.future().text;return t in Fi?"\\ldots\\,":"\\ldots"})),Li("\\dotsc",(function(e){var t=e.future().text;return t in Fi&&","!==t?"\\ldots\\,":"\\ldots"})),Li("\\cdots",(function(e){var t=e.future().text;return t in Fi?"\\@cdots\\,":"\\@cdots"})),Li("\\dotsb","\\cdots"),Li("\\dotsm","\\cdots"),Li("\\dotsi","\\!\\cdots"),Li("\\dotsx","\\ldots\\,"),Li("\\DOTSI","\\relax"),Li("\\DOTSB","\\relax"),Li("\\DOTSX","\\relax"),Li("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Li("\\,","\\tmspace+{3mu}{.1667em}"),Li("\\thinspace","\\,"),Li("\\>","\\mskip{4mu}"),Li("\\:","\\tmspace+{4mu}{.2222em}"),Li("\\medspace","\\:"),Li("\\;","\\tmspace+{5mu}{.2777em}"),Li("\\thickspace","\\;"),Li("\\!","\\tmspace-{3mu}{.1667em}"),Li("\\negthinspace","\\!"),Li("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Li("\\negthickspace","\\tmspace-{5mu}{.277em}"),Li("\\enspace","\\kern.5em "),Li("\\enskip","\\hskip.5em\\relax"),Li("\\quad","\\hskip1em\\relax"),Li("\\qquad","\\hskip2em\\relax"),Li("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Li("\\tag@paren","\\tag@literal{({#1})}"),Li("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Li("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Li("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Li("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Li("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Li("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Li("\\\\","\\newline"),Li("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ri=de["Main-Regular"]["T".charCodeAt(0)][1]-.7*de["Main-Regular"]["A".charCodeAt(0)][1]+"em";Li("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Ri+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Li("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Ri+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Li("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Li("\\@hspace","\\hskip #1\\relax"),Li("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Li("\\ordinarycolon",":"),Li("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Li("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Li("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Li("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Li("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Li("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Li("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Li("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Li("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Li("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Li("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Li("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Li("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Li("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Li("\u2237","\\dblcolon"),Li("\u2239","\\eqcolon"),Li("\u2254","\\coloneqq"),Li("\u2255","\\eqqcolon"),Li("\u2a74","\\Coloneqq"),Li("\\ratio","\\vcentcolon"),Li("\\coloncolon","\\dblcolon"),Li("\\colonequals","\\coloneqq"),Li("\\coloncolonequals","\\Coloneqq"),Li("\\equalscolon","\\eqqcolon"),Li("\\equalscoloncolon","\\Eqqcolon"),Li("\\colonminus","\\coloneq"),Li("\\coloncolonminus","\\Coloneq"),Li("\\minuscolon","\\eqcolon"),Li("\\minuscoloncolon","\\Eqcolon"),Li("\\coloncolonapprox","\\Colonapprox"),Li("\\coloncolonsim","\\Colonsim"),Li("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Li("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Li("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Li("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Li("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),Li("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Li("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Li("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Li("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Li("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Li("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Li("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Li("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Li("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Li("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Li("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Li("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Li("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),Li("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),Li("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),Li("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),Li("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),Li("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),Li("\u27e6","\\llbracket"),Li("\u27e7","\\rrbracket"),Li("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Li("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Li("\u2983","\\lBrace"),Li("\u2984","\\rBrace"),Li("\\darr","\\downarrow"),Li("\\dArr","\\Downarrow"),Li("\\Darr","\\Downarrow"),Li("\\lang","\\langle"),Li("\\rang","\\rangle"),Li("\\uarr","\\uparrow"),Li("\\uArr","\\Uparrow"),Li("\\Uarr","\\Uparrow"),Li("\\N","\\mathbb{N}"),Li("\\R","\\mathbb{R}"),Li("\\Z","\\mathbb{Z}"),Li("\\alef","\\aleph"),Li("\\alefsym","\\aleph"),Li("\\Alpha","\\mathrm{A}"),Li("\\Beta","\\mathrm{B}"),Li("\\bull","\\bullet"),Li("\\Chi","\\mathrm{X}"),Li("\\clubs","\\clubsuit"),Li("\\cnums","\\mathbb{C}"),Li("\\Complex","\\mathbb{C}"),Li("\\Dagger","\\ddagger"),Li("\\diamonds","\\diamondsuit"),Li("\\empty","\\emptyset"),Li("\\Epsilon","\\mathrm{E}"),Li("\\Eta","\\mathrm{H}"),Li("\\exist","\\exists"),Li("\\harr","\\leftrightarrow"),Li("\\hArr","\\Leftrightarrow"),Li("\\Harr","\\Leftrightarrow"),Li("\\hearts","\\heartsuit"),Li("\\image","\\Im"),Li("\\infin","\\infty"),Li("\\Iota","\\mathrm{I}"),Li("\\isin","\\in"),Li("\\Kappa","\\mathrm{K}"),Li("\\larr","\\leftarrow"),Li("\\lArr","\\Leftarrow"),Li("\\Larr","\\Leftarrow"),Li("\\lrarr","\\leftrightarrow"),Li("\\lrArr","\\Leftrightarrow"),Li("\\Lrarr","\\Leftrightarrow"),Li("\\Mu","\\mathrm{M}"),Li("\\natnums","\\mathbb{N}"),Li("\\Nu","\\mathrm{N}"),Li("\\Omicron","\\mathrm{O}"),Li("\\plusmn","\\pm"),Li("\\rarr","\\rightarrow"),Li("\\rArr","\\Rightarrow"),Li("\\Rarr","\\Rightarrow"),Li("\\real","\\Re"),Li("\\reals","\\mathbb{R}"),Li("\\Reals","\\mathbb{R}"),Li("\\Rho","\\mathrm{P}"),Li("\\sdot","\\cdot"),Li("\\sect","\\S"),Li("\\spades","\\spadesuit"),Li("\\sub","\\subset"),Li("\\sube","\\subseteq"),Li("\\supe","\\supseteq"),Li("\\Tau","\\mathrm{T}"),Li("\\thetasym","\\vartheta"),Li("\\weierp","\\wp"),Li("\\Zeta","\\mathrm{Z}"),Li("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Li("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Li("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Li("\\blue","\\textcolor{##6495ed}{#1}"),Li("\\orange","\\textcolor{##ffa500}{#1}"),Li("\\pink","\\textcolor{##ff00af}{#1}"),Li("\\red","\\textcolor{##df0030}{#1}"),Li("\\green","\\textcolor{##28ae7b}{#1}"),Li("\\gray","\\textcolor{gray}{#1}"),Li("\\purple","\\textcolor{##9d38bd}{#1}"),Li("\\blueA","\\textcolor{##ccfaff}{#1}"),Li("\\blueB","\\textcolor{##80f6ff}{#1}"),Li("\\blueC","\\textcolor{##63d9ea}{#1}"),Li("\\blueD","\\textcolor{##11accd}{#1}"),Li("\\blueE","\\textcolor{##0c7f99}{#1}"),Li("\\tealA","\\textcolor{##94fff5}{#1}"),Li("\\tealB","\\textcolor{##26edd5}{#1}"),Li("\\tealC","\\textcolor{##01d1c1}{#1}"),Li("\\tealD","\\textcolor{##01a995}{#1}"),Li("\\tealE","\\textcolor{##208170}{#1}"),Li("\\greenA","\\textcolor{##b6ffb0}{#1}"),Li("\\greenB","\\textcolor{##8af281}{#1}"),Li("\\greenC","\\textcolor{##74cf70}{#1}"),Li("\\greenD","\\textcolor{##1fab54}{#1}"),Li("\\greenE","\\textcolor{##0d923f}{#1}"),Li("\\goldA","\\textcolor{##ffd0a9}{#1}"),Li("\\goldB","\\textcolor{##ffbb71}{#1}"),Li("\\goldC","\\textcolor{##ff9c39}{#1}"),Li("\\goldD","\\textcolor{##e07d10}{#1}"),Li("\\goldE","\\textcolor{##a75a05}{#1}"),Li("\\redA","\\textcolor{##fca9a9}{#1}"),Li("\\redB","\\textcolor{##ff8482}{#1}"),Li("\\redC","\\textcolor{##f9685d}{#1}"),Li("\\redD","\\textcolor{##e84d39}{#1}"),Li("\\redE","\\textcolor{##bc2612}{#1}"),Li("\\maroonA","\\textcolor{##ffbde0}{#1}"),Li("\\maroonB","\\textcolor{##ff92c6}{#1}"),Li("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Li("\\maroonD","\\textcolor{##ca337c}{#1}"),Li("\\maroonE","\\textcolor{##9e034e}{#1}"),Li("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Li("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Li("\\purpleC","\\textcolor{##aa87ff}{#1}"),Li("\\purpleD","\\textcolor{##7854ab}{#1}"),Li("\\purpleE","\\textcolor{##543b78}{#1}"),Li("\\mintA","\\textcolor{##f5f9e8}{#1}"),Li("\\mintB","\\textcolor{##edf2df}{#1}"),Li("\\mintC","\\textcolor{##e0e5cc}{#1}"),Li("\\grayA","\\textcolor{##f6f7f7}{#1}"),Li("\\grayB","\\textcolor{##f0f1f2}{#1}"),Li("\\grayC","\\textcolor{##e3e5e6}{#1}"),Li("\\grayD","\\textcolor{##d6d8da}{#1}"),Li("\\grayE","\\textcolor{##babec2}{#1}"),Li("\\grayF","\\textcolor{##888d93}{#1}"),Li("\\grayG","\\textcolor{##626569}{#1}"),Li("\\grayH","\\textcolor{##3b3e40}{#1}"),Li("\\grayI","\\textcolor{##21242c}{#1}"),Li("\\kaBlue","\\textcolor{##314453}{#1}"),Li("\\kaGreen","\\textcolor{##71B307}{#1}");var Ui={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Hi=function(){function e(e,t,n){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=t,this.expansionCount=0,this.feed(e),this.macros=new Mi(Ii,t.macros),this.mode=n,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new Bi(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.consumeSpaces=function(){for(;;){var e=this.future();if(" "!==e.text)break;this.stack.pop()}},t.consumeArgs=function(e){for(var t=[],n=0;n<e;++n){this.consumeSpaces();var r=this.popToken();if("{"===r.text){var i=[],o=1;while(0!==o){var s=this.popToken();if(i.push(s),"{"===s.text)++o;else if("}"===s.text)--o;else if("EOF"===s.text)throw new a("End of input in macro argument",r)}i.pop(),i.reverse(),t[n]=i}else{if("EOF"===r.text)throw new a("End of input expecting macro argument");t[n]=[r]}}return t},t.expandOnce=function(){var e=this.popToken(),t=e.text,n=this._getExpansion(t);if(null==n)return this.pushToken(e),e;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var r=n.tokens;if(n.numArgs){var i=this.consumeArgs(n.numArgs);r=r.slice();for(var o=r.length-1;o>=0;--o){var s=r[o];if("#"===s.text){if(0===o)throw new a("Incomplete placeholder at end of macro body",s);if(s=r[--o],"#"===s.text)r.splice(o+1,1);else{if(!/^[1-9]$/.test(s.text))throw new a("Not a valid argument number",s);var l;(l=r).splice.apply(l,[o,2].concat(i[+s.text-1]))}}}}return this.pushTokens(r),r},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;){var e=this.expandOnce();if(e instanceof i){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error},t.expandMacro=function(e){if(this.macros.get(e)){var t=[],n=this.stack.length;this.pushToken(new i(e));while(this.stack.length>n){var r=this.expandOnce();r instanceof i&&t.push(this.stack.pop())}return t}},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;var n="function"===typeof t?t(this):t;if("string"===typeof n){var r=0;if(-1!==n.indexOf("#")){var i=n.replace(/##/g,"");while(-1!==i.indexOf("#"+(r+1)))++r}var o=new Bi(n,this.settings),a=[],s=o.lex();while("EOF"!==s.text)a.push(s),s=o.lex();a.reverse();var l={tokens:a,numArgs:r};return l}return n},t.isDefined=function(e){return this.macros.has(e)||bi.hasOwnProperty(e)||_e.math.hasOwnProperty(e)||_e.text.hasOwnProperty(e)||Ui.hasOwnProperty(e)},e}(),Qi={"\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"}},Ki={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"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","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u011b":"e\u030c","\xea":"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","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"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","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"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","\xf4":"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","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"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","\xfb":"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","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"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","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"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","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u011a":"E\u030c","\xca":"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","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"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","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"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","\xd4":"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","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"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","\xdb":"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","\xdd":"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"},zi=function(){function e(e,t){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 Hi(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new a("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),e},t.parseExpression=function(t,n){var r=[];while(1){"math"===this.mode&&this.consumeSpaces();var i=this.fetch();if(-1!==e.endOfExpression.indexOf(i.text))break;if(n&&i.text===n)break;if(t&&bi[i.text]&&bi[i.text].infix)break;var o=this.parseAtom(n);if(!o)break;r.push(o)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)},t.handleInfixNodes=function(e){for(var t,n=-1,r=0;r<e.length;r++){var i=Ut(e[r],"infix");if(i){if(-1!==n)throw new a("only one infix operator per group",i.token);n=r,t=i.replaceWith}}if(-1!==n&&t){var o,s,l,c=e.slice(0,n),u=e.slice(n+1);return o=1===c.length&&"ordgroup"===c[0].type?c[0]:{type:"ordgroup",mode:this.mode,body:c},s=1===u.length&&"ordgroup"===u[0].type?u[0]:{type:"ordgroup",mode:this.mode,body:u},l="\\\\abovefrac"===t?this.callFunction(t,[o,e[n],s],[]):this.callFunction(t,[o,s],[]),[l]}return e},t.handleSupSubscript=function(t){var n=this.fetch(),r=n.text;this.consume();var i=this.parseGroup(t,!1,e.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!i)throw new a("Expected group after '"+r+"'",n);return i},t.formatUnsupportedCmd=function(e){for(var t=[],n=0;n<e.length;n++)t.push({type:"textord",mode:"text",text:e[n]});var r={type:"text",mode:this.mode,body:t},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[r]};return i},t.parseAtom=function(e){var t,n,r=this.parseGroup("atom",!1,null,e);if("text"===this.mode)return r;while(1){this.consumeSpaces();var i=this.fetch();if("\\limits"===i.text||"\\nolimits"===i.text){var o=Ut(r,"op");if(o){var s="\\limits"===i.text;o.limits=s,o.alwaysHandleSupSub=!0}else{if(o=Ut(r,"operatorname"),!o||!o.alwaysHandleSupSub)throw new a("Limit controls must follow a math operator",i);var l="\\limits"===i.text;o.limits=l}this.consume()}else if("^"===i.text){if(t)throw new a("Double superscript",i);t=this.handleSupSubscript("superscript")}else if("_"===i.text){if(n)throw new a("Double subscript",i);n=this.handleSupSubscript("subscript")}else{if("'"!==i.text)break;if(t)throw new a("Double superscript",i);var c={type:"textord",mode:this.mode,text:"\\prime"},u=[c];this.consume();while("'"===this.fetch().text)u.push(c),this.consume();"^"===this.fetch().text&&u.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:u}}}return t||n?{type:"supsub",mode:this.mode,base:r,sup:t,sub:n}:r},t.parseFunction=function(e,t,n){var r=this.fetch(),i=r.text,o=bi[i];if(!o)return null;if(this.consume(),null!=n&&o.greediness<=n)throw new a("Got function '"+i+"' with no arguments"+(t?" as "+t:""),r);if("text"===this.mode&&!o.allowedInText)throw new a("Can't use function '"+i+"' in text mode",r);if("math"===this.mode&&!1===o.allowedInMath)throw new a("Can't use function '"+i+"' in math mode",r);var s=this.parseArguments(i,o),l=s.args,c=s.optArgs;return this.callFunction(i,l,c,r,e)},t.callFunction=function(e,t,n,r,i){var o={funcName:e,parser:this,token:r,breakOnTokenText:i},s=bi[e];if(s&&s.handler)return s.handler(o,t,n);throw new a("No function handler for "+e)},t.parseArguments=function(e,t){var n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};for(var r=t.greediness,i=[],o=[],s=0;s<n;s++){var l=t.argTypes&&t.argTypes[s],c=s<t.numOptionalArgs,u=s>0&&!c||0===s&&!c&&"math"===this.mode,d=this.parseGroupOfType("argument to '"+e+"'",l,c,r,u);if(!d){if(c){o.push(null);continue}throw new a("Expected group after '"+e+"'",this.fetch())}(c?o:i).push(d)}return{args:i,optArgs:o}},t.parseGroupOfType=function(e,t,n,r,i){switch(t){case"color":return i&&this.consumeSpaces(),this.parseColorGroup(n);case"size":return i&&this.consumeSpaces(),this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n,i);case"math":case"text":return this.parseGroup(e,n,r,void 0,t,i);case"hbox":var o=this.parseGroup(e,n,r,void 0,"text",i);if(!o)return o;var s={type:"styling",mode:o.mode,body:[o],style:"text"};return s;case"raw":if(i&&this.consumeSpaces(),n&&"{"===this.fetch().text)return null;var l=this.parseStringGroup("raw",n,!0);if(l)return{type:"raw",mode:"text",string:l.text};throw new a("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(e,n,r,void 0,void 0,i);default:throw new a("Unknown group type as "+e,this.fetch())}},t.consumeSpaces=function(){while(" "===this.fetch().text)this.consume()},t.parseStringGroup=function(e,t,n){var r=t?"[":"{",i=t?"]":"}",o=this.fetch();if(o.text!==r){if(t)return null;if(n&&"EOF"!==o.text&&/[^{}[\]]/.test(o.text))return this.consume(),o}var s=this.mode;this.mode="text",this.expect(r);var l,c="",u=this.fetch(),d=0,h=u;while((l=this.fetch()).text!==i||n&&d>0){switch(l.text){case"EOF":throw new a("Unexpected end of input in "+e,u.range(h,c));case r:d++;break;case i:d--;break}h=l,c+=h.text,this.consume()}return this.expect(i),this.mode=s,u.range(h,c)},t.parseRegexGroup=function(e,t){var n=this.mode;this.mode="text";var r,i=this.fetch(),o=i,s="";while("EOF"!==(r=this.fetch()).text&&e.test(s+r.text))o=r,s+=o.text,this.consume();if(""===s)throw new a("Invalid "+t+": '"+i.text+"'",i);return this.mode=n,i.range(o,s)},t.parseColorGroup=function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new a("Invalid color: '"+t.text+"'",t);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}},t.parseSizeGroup=function(e){var t,n=!1;if(t=e||"{"===this.fetch().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"),!t)return null;e||0!==t.text.length||(t.text="0pt",n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new a("Invalid size: '"+t.text+"'",t);var i={number:+(r[1]+r[2]),unit:r[3]};if(!ht(i))throw new a("Invalid unit: '"+i.unit+"'",t);return{type:"size",mode:this.mode,value:i,isBlank:n}},t.parseUrlGroup=function(e,t){this.gullet.lexer.setCatcode("%",13);var n=this.parseStringGroup("url",e,!0);if(this.gullet.lexer.setCatcode("%",14),!n)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}},t.parseGroup=function(t,n,i,o,s,l){var c=this.mode;s&&this.switchMode(s),l&&this.consumeSpaces();var u,d=this.fetch(),h=d.text;if(n?"["===h:"{"===h||"\\begingroup"===h){this.consume();var f=e.endOfGroup[h];this.gullet.beginGroup();var p=this.parseExpression(!1,f),A=this.fetch();this.expect(f),this.gullet.endGroup(),u={type:"ordgroup",mode:this.mode,loc:r.range(d,A),body:p,semisimple:"\\begingroup"===h||void 0}}else if(n)u=null;else if(u=this.parseFunction(o,t,i)||this.parseSymbol(),null==u&&"\\"===h[0]&&!Ui.hasOwnProperty(h)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+h,d);u=this.formatUnsupportedCmd(h),this.consume()}return s&&this.switchMode(c),u},t.formLigatures=function(e){for(var t=e.length-1,n=0;n<t;++n){var i=e[n],o=i.text;"-"===o&&"-"===e[n+1].text&&(n+1<t&&"-"===e[n+2].text?(e.splice(n,3,{type:"textord",mode:"text",loc:r.range(i,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:r.range(i,e[n+1]),text:"--"}),t-=1)),"'"!==o&&"`"!==o||e[n+1].text!==o||(e.splice(n,2,{type:"textord",mode:"text",loc:r.range(i,e[n+1]),text:o+o}),t-=1)}},t.parseSymbol=function(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),i="*"===n.charAt(0);if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new a("\\verb assertion failed --\n please report what input caused this bug");return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}Ki.hasOwnProperty(t[0])&&!_e[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=Ki[t[0]]+t.substr(1));var o,s=Ei.exec(t);if(s&&(t=t.substring(0,s.index),"i"===t?t="\u0131":"j"===t&&(t="\u0237")),_e[this.mode][t]){this.settings.strict&&"math"===this.mode&&$e.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var l,c=_e[this.mode][t].group,u=r.range(e);if(ve.hasOwnProperty(c)){var d=c;l={type:"atom",mode:this.mode,family:d,loc:u,text:t}}else l={type:c,mode:this.mode,loc:u,text:t};o=l}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(U(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:r.range(e),text:t}}if(this.consume(),s)for(var h=0;h<s[0].length;h++){var f=s[0][h];if(!Qi[f])throw new a("Unknown accent ' "+f+"'",e);var p=Qi[f][this.mode];if(!p)throw new a("Accent "+f+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:r.range(e),label:p,isStretchy:!1,isShifty:!0,base:o}}return o},e}();zi.endOfExpression=["}","\\endgroup","\\end","\\right","&"],zi.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},zi.SUPSUB_GREEDINESS=1;var Vi=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new zi(e,t);delete n.gullet.macros.current["\\df@tag"];var r=n.parse();if(n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new a("\\tag works only in display equations");n.gullet.feed("\\df@tag"),r=[{type:"tag",mode:"text",body:r,tag:n.parse()}]}return r},Wi=Vi,Gi=function(e,t,n){t.textContent="";var r=Zi(e,n).toNode();t.appendChild(r)};"undefined"!==typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!==typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Gi=function(){throw new a("KaTeX doesn't work in quirks mode.")});var Xi=function(e,t){var n=Zi(e,t).toMarkup();return n},qi=function(e,t){var n=new y(t);return Wi(e,n)},Yi=function(e,t,n){if(n.throwOnError||!(e instanceof a))throw e;var r=Ft.makeSpan(["katex-error"],[new oe(t)]);return r.setAttribute("title",e.toString()),r.setAttribute("style","color:"+n.errorColor),r},Zi=function(e,t){var n=new y(t);try{var r=Wi(e,n);return Tn(r,e,n)}catch(i){return Yi(i,e,n)}},Ji=function(e,t){var n=new y(t);try{var r=Wi(e,n);return In(r,e,n)}catch(i){return Yi(i,e,n)}},$i={version:"0.11.1",render:Gi,renderToString:Xi,ParseError:a,__parse:qi,__renderToDomTree:Zi,__renderToHTMLTree:Ji,__setFontMetrics:pe,__defineSymbol:we,__defineMacro:Li,__domTree:{Span:te,Anchor:ne,SymbolNode:oe,SvgNode:ae,PathNode:se,LineNode:le}};t["default"]=$i}])["default"]}))},P2fV:function(e,t,n){"use strict";n("cIOH"),n("Q9mQ"),n("+L6B"),n("sE09")},P2ho:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r={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};t["default"]=r},P47w:function(e,t,n){var r=n("hydK"),i=r.createElement,o=n("IMiH"),a=n("mFDi"),s=n("Fofx"),l=n("6GrX"),c=n("pzxd"),u=n("dqUG"),d=o.CMD,h=Array.prototype.join,f="none",p=Math.round,A=Math.sin,g=Math.cos,m=Math.PI,v=2*Math.PI,y=180/m,b=1e-4;function _(e){return p(1e4*e)/1e4}function w(e){return e<b&&e>-b}function x(e,t){var n=t?e.textFill:e.fill;return null!=n&&n!==f}function C(e,t){var n=t?e.textStroke:e.stroke;return null!=n&&n!==f}function S(e,t){t&&k(e,"transform","matrix("+h.call(t,",")+")")}function k(e,t,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&e.setAttribute(t,n)}function E(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}function O(e,t,n,r){if(x(t,n)){var i=n?t.textFill:t.fill;i="transparent"===i?f:i,k(e,"fill",i),k(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else k(e,"fill",f);if(C(t,n)){var o=n?t.textStroke:t.stroke;o="transparent"===o?f:o,k(e,"stroke",o);var a=n?t.textStrokeWidth:t.lineWidth,s=!n&&t.strokeNoScale?r.getLineScale():1;k(e,"stroke-width",a/s),k(e,"paint-order",n?"stroke":"fill"),k(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity);var l=t.lineDash;l?(k(e,"stroke-dasharray",t.lineDash.join(",")),k(e,"stroke-dashoffset",p(t.lineDashOffset||0))):k(e,"stroke-dasharray",""),t.lineCap&&k(e,"stroke-linecap",t.lineCap),t.lineJoin&&k(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&k(e,"stroke-miterlimit",t.miterLimit)}else k(e,"stroke",f)}function B(e){for(var t=[],n=e.data,r=e.len(),i=0;i<r;){var o=n[i++],a="",s=0;switch(o){case d.M:a="M",s=2;break;case d.L:a="L",s=2;break;case d.Q:a="Q",s=4;break;case d.C:a="C",s=6;break;case d.A:var l=n[i++],c=n[i++],u=n[i++],h=n[i++],f=n[i++],b=n[i++],x=n[i++],C=n[i++],S=Math.abs(b),k=w(S-v)||(C?b>=v:-b>=v),E=b>0?b%v:b%v+v,O=!1;O=!!k||!w(S)&&E>=m===!!C;var B=_(l+u*g(f)),M=_(c+h*A(f));k&&(b=C?v-1e-4:1e-4-v,O=!0,9===i&&t.push("M",B,M));var T=_(l+u*g(f+b)),I=_(c+h*A(f+b));t.push("A",_(u),_(h),p(x*y),+O,+C,T,I);break;case d.Z:a="Z";break;case d.R:T=_(n[i++]),I=_(n[i++]);var L=_(n[i++]),D=_(n[i++]);t.push("M",T,I,"L",T+L,I,"L",T+L,I+D,"L",T,I+D,"L",T,I);break}a&&t.push(a);for(var P=0;P<s;P++)t.push(_(n[i++]))}return t.join(" ")}var M={brush:function(e){var t=e.style,n=e.__svgEl;n||(n=i("path"),e.__svgEl=n),e.path||e.createPathProxy();var r=e.path;if(e.__dirtyPath){r.beginPath(),r.subPixelOptimize=!1,e.buildPath(r,e.shape),e.__dirtyPath=!1;var o=B(r);o.indexOf("NaN")<0&&k(n,"d",o)}O(n,t,!1,e),S(n,e.transform),null!=t.text?j(e,e.getBoundingRect()):H(e)}},T={brush:function(e){var t=e.style,n=t.image;if(n instanceof HTMLImageElement){var r=n.src;n=r}if(n){var o=t.x||0,a=t.y||0,s=t.width,l=t.height,c=e.__svgEl;c||(c=i("image"),e.__svgEl=c),n!==e.__imageSrc&&(E(c,"href",n),e.__imageSrc=n),k(c,"width",s),k(c,"height",l),k(c,"x",o),k(c,"y",a),S(c,e.transform),null!=t.text?j(e,e.getBoundingRect()):H(e)}}},I={},L=new a,D={},P=[],N={left:"start",right:"end",center:"middle",middle:"middle"},j=function(e,t){var n=e.style,r=e.transform,o=e instanceof u||n.transformText;e.__dirty&&c.normalizeTextStyle(n,!0);var a=n.text;if(null!=a&&(a+=""),c.needDrawText(a,n)){null==a&&(a=""),!o&&r&&(L.copy(t),L.applyTransform(r),t=L);var s=e.__textSvgEl;s||(s=i("text"),e.__textSvgEl=s);var d=s.style,h=n.font||l.DEFAULT_FONT,f=s.__computedFont;h!==s.__styleFont&&(d.font=s.__styleFont=h,f=s.__computedFont=d.font);var p=n.textPadding,A=n.textLineHeight,g=e.__textCotentBlock;g&&!e.__dirtyText||(g=e.__textCotentBlock=l.parsePlainText(a,f,p,A,n.truncate));var m=g.outerHeight,v=g.lineHeight;c.getBoxPosition(D,e,n,t);var y=D.baseX,b=D.baseY,_=D.textAlign||"left",w=D.textVerticalAlign;F(s,o,r,n,t,y,b);var x=l.adjustTextY(b,m,w),C=y,S=x;p&&(C=R(y,_,p),S+=p[0]),S+=v/2,O(s,n,!0,e);var k=g.canCacheByTextString,E=e.__tspanList||(e.__tspanList=[]),B=E.length;if(k&&e.__canCacheByTextString&&e.__text===a){if(e.__dirtyText&&B)for(var M=0;M<B;++M)U(E[M],_,C,S+M*v)}else{e.__text=a,e.__canCacheByTextString=k;var T=g.lines,I=T.length;for(M=0;M<I;M++){var P=E[M],N=T[M];P?P.__zrText!==N&&(P.innerHTML="",P.appendChild(document.createTextNode(N))):(P=E[M]=i("tspan"),s.appendChild(P),P.appendChild(document.createTextNode(N))),U(P,_,C,S+M*v)}if(B>I){for(;M<B;M++)s.removeChild(E[M]);E.length=I}}}};function F(e,t,n,r,i,o,a){s.identity(P),t&&n&&s.copy(P,n);var l=r.textRotation;if(i&&l){var c=r.textOrigin;"center"===c?(o=i.width/2+i.x,a=i.height/2+i.y):c&&(o=c[0]+i.x,a=c[1]+i.y),P[4]-=o,P[5]-=a,s.rotate(P,P,l),P[4]+=o,P[5]+=a}S(e,P)}function R(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function U(e,t,n,r){k(e,"dominant-baseline","middle"),k(e,"text-anchor",N[t]),k(e,"x",n),k(e,"y",r)}function H(e){e&&e.__textSvgEl&&(e.__textSvgEl.parentNode&&e.__textSvgEl.parentNode.removeChild(e.__textSvgEl),e.__textSvgEl=null,e.__tspanList=[],e.__text=null)}I.drawRectText=j,I.brush=function(e){var t=e.style;null!=t.text?j(e,!1):H(e)},t.path=M,t.image=T,t.text=I},P4Qj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeSensor=t.getSensor=void 0;var r=a(n("chpo")),i=n("FxDU"),o=n("24YM");function a(e){return e&&e.__esModule?e:{default:e}}var s={},l=function(e){var t=e.getAttribute(o.SizeSensorId);if(t&&s[t])return s[t];var n=(0,r["default"])();e.setAttribute(o.SizeSensorId,n);var a=(0,i.createSensor)(e);return s[n]=a,a};t.getSensor=l;var c=function(e){var t=e.element.getAttribute(o.SizeSensorId);e.element.removeAttribute(o.SizeSensorId),e.destroy(),t&&s[t]&&delete s[t]};t.removeSensor=c},P5Jw:function(e,t,n){"use strict";var r=n("rHrb"),i=r.CopyToClipboard;i.CopyToClipboard=i,e.exports=i},PArb:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("q1tI"),l=n("TSYQ"),c=n.n(l),u=n("H84U"),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},h=function(e){return s["createElement"](u["a"],null,(function(t){var n,r=t.getPrefixCls,o=t.direction,l=e.prefixCls,u=e.type,h=void 0===u?"horizontal":u,f=e.orientation,p=void 0===f?"center":f,A=e.className,g=e.children,m=e.dashed,v=e.plain,y=d(e,["prefixCls","type","orientation","className","children","dashed","plain"]),b=r("divider",l),_=p.length>0?"-".concat(p):p,w=!!g,x=c()(A,b,"".concat(b,"-").concat(h),(n={},a()(n,"".concat(b,"-with-text"),w),a()(n,"".concat(b,"-with-text").concat(_),w),a()(n,"".concat(b,"-dashed"),!!m),a()(n,"".concat(b,"-plain"),!!v),a()(n,"".concat(b,"-rtl"),"rtl"===o),n));return s["createElement"]("div",i()({className:x},y,{role:"separator"}),g&&s["createElement"]("span",{className:"".concat(b,"-inner-text")},g))}))};t["a"]=h},PD8m:function(e,t){e.exports={name:"memoryStorage",read:r,write:i,each:o,remove:a,clearAll:s};var n={};function r(e){return n[e]}function i(e,t){n[e]=t}function o(e){for(var t in n)n.hasOwnProperty(t)&&e(n[t],t)}function a(e){delete n[e]}function s(e){n={}}},PEeC:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var r=n("RIqP"),i=n.n(r),o=n("xEkU"),a=n.n(o);function s(e){var t,n=function(n){return function(){t=null,e.apply(void 0,i()(n))}},r=function(){if(null==t){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];t=a()(n(r))}};return r.cancel=function(){return a.a.cancel(t)},r}function l(){return function(e,t,n){var r=n.value,i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t))return r;var n=s(r.bind(this));return i=!0,Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),i=!1,n}}}}},PKem:function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r=n("RIqP"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("pVnL"),l=n.n(s),c=n("lwsE"),u=n.n(c),d=n("W8MJ"),h=n.n(d),f=n("7W2i"),p=n.n(f),A=n("LQ03"),g=n.n(A),m=n("q1tI"),v=n("TSYQ"),y=n.n(v),b=n("H84U"),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},w=m["createContext"]({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function x(e){var t=e.suffixCls,n=e.tagName,r=e.displayName;return function(e){var i;return i=function(r){p()(o,r);var i=g()(o);function o(){var r;return u()(this,o),r=i.apply(this,arguments),r.renderComponent=function(i){var o=i.getPrefixCls,a=r.props.prefixCls,s=o(t,a);return m["createElement"](e,l()({prefixCls:s,tagName:n},r.props))},r}return h()(o,[{key:"render",value:function(){return m["createElement"](b["a"],null,this.renderComponent)}}]),o}(m["Component"]),i.displayName=r,i}}var C=function(e){var t=e.prefixCls,n=e.className,r=e.children,i=e.tagName,o=_(e,["prefixCls","className","children","tagName"]),a=y()(t,n);return m["createElement"](i,l()({className:a},o),r)},S=function(e){p()(n,e);var t=g()(n);function n(){var e;return u()(this,n),e=t.apply(this,arguments),e.state={siders:[]},e.renderComponent=function(t){var n,r=t.direction,i=e.props,o=i.prefixCls,s=i.className,c=i.children,u=i.hasSider,d=i.tagName,h=_(i,["prefixCls","className","children","hasSider","tagName"]),f=y()(o,(n={},a()(n,"".concat(o,"-has-sider"),"boolean"===typeof u?u:e.state.siders.length>0),a()(n,"".concat(o,"-rtl"),"rtl"===r),n),s);return m["createElement"](w.Provider,{value:{siderHook:e.getSiderHook()}},m["createElement"](d,l()({className:f},h),c))},e}return h()(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(i()(e.siders),[t])}}))},removeSider:function(t){e.setState((function(e){return{siders:e.siders.filter((function(e){return e!==t}))}}))}}}},{key:"render",value:function(){return m["createElement"](b["a"],null,this.renderComponent)}}]),n}(m["Component"]),k=x({suffixCls:"layout",tagName:"section",displayName:"Layout"})(S),E=x({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(C),O=x({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(C),B=x({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(C);k.Header=E,k.Footer=O,k.Content=B,t["b"]=k},PNag:function(e,t,n){var r=n("bYtY"),i=n("SKnc"),o=n("YH21"),a=n("crZl"),s=n("IwbS"),l=n("OELB"),c=n("72pK"),u=n("y7Aq"),d=n("4NO4"),h=l.linearMap,f=r.each,p=Math.min,A=Math.max,g=12,m=6,v=a.extend({type:"visualMap.continuous",init:function(){v.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,n,r){r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,n){if(t){var r=t[1-n];r=null!=r?r+"":"";var i=this.visualMapModel,o=i.get("textGap"),a=i.itemSize,l=this._shapes.barGroup,c=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],l),u=this._applyTransform(0===n?"bottom":"top",l),d=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:c[0],y:c[1],textVerticalAlign:"horizontal"===d?"middle":u,textAlign:"horizontal"===d?u:"center",text:r,textFont:h.getFont(),textFill:h.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,n=this._shapes,i=t.itemSize,o=this._orient,a=this._useHandle,s=u.getItemAlign(t,this.api,i),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=y()),l.add(n.inRange=y(null,a?C(this._orient):null,r.bind(this._dragHandle,this,"all",!1),r.bind(this._dragHandle,this,"all",!0)));var c=t.textStyleModel.getTextRect("\u56fd"),d=A(c.width,c.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,i,d,o,s),this._createHandle(l,1,i,d,o,s)),this._createIndicator(l,i,d,o),e.add(l)},_createHandle:function(e,t,n,i,a){var l=r.bind(this._dragHandle,this,t,!1),c=r.bind(this._dragHandle,this,t,!0),u=y(b(t,i),C(this._orient),l,c);u.position[0]=n[0],e.add(u);var d=this.visualMapModel.textStyleModel,h=new s.Text({draggable:!0,drift:l,onmousemove:function(e){o.stop(e.event)},ondragend:c,style:{x:0,y:0,text:"",textFont:d.getFont(),textFill:d.getTextColor()}});this.group.add(h);var f=["horizontal"===a?i/2:1.5*i,"horizontal"===a?0===t?-1.5*i:1.5*i:0===t?-i/2:i/2],p=this._shapes;p.handleThumbs[t]=u,p.handleLabelPoints[t]=f,p.handleLabels[t]=h},_createIndicator:function(e,t,n,r){var i=y([[0,0]],"move");i.position[0]=t[0],i.attr({invisible:!0,silent:!0}),e.add(i);var o=this.visualMapModel.textStyleModel,a=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o.getFont(),textFill:o.getTextColor()}});this.group.add(a);var l=["horizontal"===r?n/2:m+3,0],c=this._shapes;c.indicator=i,c.indicatorLabel=a,c.indicatorLabelPoint=l},_dragHandle:function(e,t,n,r){if(this._useHandle){if(this._dragging=!t,!t){var i=this._applyTransform([n,r],this._shapes.barGroup,!0);this._updateInterval(e,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():x(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),r=[0,e.itemSize[1]];this._handleEnds=[h(t[0],n,r,!0),h(t[1],n,r,!0)]},_updateInterval:function(e,t){t=t||0;var n=this.visualMapModel,r=this._handleEnds,i=[0,n.itemSize[1]];c(t,r,i,e,0);var o=n.getExtent();this._dataInterval=[h(r[0],i,o,!0),h(r[1],i,o,!0)]},_updateView:function(e){var t=this.visualMapModel,n=t.getExtent(),r=this._shapes,i=[0,t.itemSize[1]],o=e?i:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,i,"outOfRange");r.inRange.setStyle({fill:a.barColor,opacity:a.opacity}).setShape("points",a.barPoints),r.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(o,a)},_createBarVisual:function(e,t,n,r){var o={forceState:r,convertOpacityToAlpha:!0},a=this._makeColorGradient(e,o),s=[this.getControllerVisual(e[0],"symbolSize",o),this.getControllerVisual(e[1],"symbolSize",o)],l=this._createBarPoints(n,s);return{barColor:new i(0,0,0,1,a),barPoints:l,handlesColor:[a[0].color,a[a.length-1].color]}},_makeColorGradient:function(e,t){var n=100,r=[],i=(e[1]-e[0])/n;r.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;o<n;o++){var a=e[0]+i*o;if(a>e[1])break;r.push({color:this.getControllerVisual(a,"color",t),offset:o/n})}return r.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),r},_createBarPoints:function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==t||n?"horizontal"===t&&n?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||n?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,o=n.handleLabels;f([0,1],(function(a){var l=i[a];l.setStyle("fill",t.handlesColor[a]),l.position[1]=e[a];var c=s.applyTransform(n.handleLabelPoints[a],s.getTransform(l,this.group));o[a].setStyle({x:c[0],y:c[1],text:r.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(e,t,n,r){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,l=[0,a[1]],c=h(e,o,l,!0),u=this._shapes,d=u.indicator;if(d){d.position[1]=c,d.attr("invisible",!1),d.setShape("points",_(!!n,r,c,a[1]));var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(e,"color",f);d.setStyle("fill",p);var A=s.applyTransform(u.indicatorLabelPoint,s.getTransform(d,this.group)),g=u.indicatorLabel;g.attr("invisible",!1);var m=this._applyTransform("left",u.barGroup),v=this._orient;g.setStyle({text:(n||"")+i.formatValueText(t),textVerticalAlign:"horizontal"===v?m:"middle",textAlign:"horizontal"===v?"center":m,x:A[0],y:A[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,r=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);r[1]=p(A(0,r[1]),n[1]),e._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var i=[0,r[1]],o=n.getExtent();e=p(A(i[0],e),i[1]);var a=w(n,o,i),s=[e-a,e+a],l=h(e,i,o,!0),c=[h(s[0],i,o,!0),h(s[1],i,o,!0)];s[0]<i[0]&&(c[0]=-1/0),s[1]>i[1]&&(c[1]=1/0),t&&(c[0]===-1/0?this._showIndicator(l,c[1],"< ",a):c[1]===1/0?this._showIndicator(l,c[0],"> ",a):this._showIndicator(l,l,"\u2248 ",a));var f=this._hoverLinkDataIndices,g=[];(t||x(n))&&(g=this._hoverLinkDataIndices=n.findTargetDataIndices(c));var m=d.compressBatches(f,g);this._dispatchHighDown("downplay",u.makeHighDownBatch(m[0],n)),this._dispatchHighDown("highlight",u.makeHighDownBatch(m[1],n))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,n=this.visualMapModel;if(t&&null!=t.dataIndex){var r=this.ecModel.getSeriesByIndex(t.seriesIndex);if(n.isTargetSeries(r)){var i=r.getData(t.dataType),o=i.get(n.getDataDimension(i),t.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",u.makeHighDownBatch(e,this.visualMapModel)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,n,i){var o=s.getTransform(t,i?null:this.group);return s[r.isArray(e)?"applyTransform":"transformDirection"](e,o,n)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function y(e,t,n,r){return new s.Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){o.stop(e.event)},ondragend:r})}function b(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}function _(e,t,n,r){return e?[[0,-p(t,A(n,0))],[m,0],[0,p(t,A(r-n,0))]]:[[0,0],[5,-5],[5,5]]}function w(e,t,n){var r=g/2,i=e.get("hoverLinkDataSize");return i&&(r=h(i,t,n,!0)/2),r}function x(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function C(e){return"vertical"===e?"ns-resize":"ew-resize"}var S=v;e.exports=S},PQMj:function(e,t,n){},PSzr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},ProS:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("aX58")),o=n("bYtY"),a=n("Qe9p"),s=n("ItGF"),l=n("BPZU"),c=n("H6uX"),u=n("fmMI"),d=n("hD7B"),h=n("IDmD"),f=n("ypgQ"),p=n("+wW9"),A=n("0V0F"),g=n("bLfw"),m=n("T4UG"),v=n("sS/r"),y=n("6Ic6"),b=n("IwbS"),_=n("4NO4"),w=n("iLNv"),x=w.throttle,C=n("/WM3"),S=n("uAnK"),k=n("mYwL"),E=n("af/B"),O=n("xTNl"),B=n("8hn6");n("A1Ka");var M=n("7DRL"),T=o.assert,I=o.each,L=o.isFunction,D=o.isObject,P=g.parseClassType,N="4.8.0",j={zrender:"4.3.1"},F=1,R=1e3,U=800,H=900,Q=5e3,K=1e3,z=1100,V=2e3,W=3e3,G=3500,X=4e3,q=5e3,Y={PROCESSOR:{FILTER:R,SERIES_FILTER:U,STATISTIC:Q},VISUAL:{LAYOUT:K,PROGRESSIVE_LAYOUT:z,GLOBAL:V,CHART:W,POST_CHART_LAYOUT:G,COMPONENT:X,BRUSH:q}},Z="__flagInMainProcess",J="__optionUpdated",$=/^[a-zA-Z0-9_]+$/;function ee(e,t){return function(n,r,i){t||!this._disposed?(n=n&&n.toLowerCase(),c.prototype[e].call(this,n,r,i)):be(this.id)}}function te(){c.call(this)}function ne(e,t,n){n=n||{},"string"===typeof t&&(t=Ie[t]),this.id,this.group,this._dom=e;var r="canvas",a=this._zr=i.init(e,{renderer:n.renderer||r,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=x(o.bind(a.flush,a),17);t=o.clone(t);t&&p(t,!0),this._theme=t,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var s=this._api=Ce(this);function u(e,t){return e.__prio-t.__prio}l(Te,u),l(Oe,u),this._scheduler=new E(this,s,Oe,Te),c.call(this,this._ecEventProcessor=new Se),this._messageCenter=new te,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],a.animation.on("frame",this._onframe,this),he(a,this),o.setAsPrimitive(this)}te.prototype.on=ee("on",!0),te.prototype.off=ee("off",!0),te.prototype.one=ee("one",!0),o.mixin(te,c);var re=ne.prototype;function ie(e,t,n){if(this._disposed)be(this.id);else{var r,i=this._model,o=this._coordSysMgr.getCoordinateSystems();t=_.parseFinder(i,t);for(var a=0;a<o.length;a++){var s=o[a];if(s[e]&&null!=(r=s[e](i,t,n)))return r}}}re._onframe=function(){if(!this._disposed){var e=this._scheduler;if(this[J]){var t=this[J].silent;this[Z]=!0,ae(this),oe.update.call(this),this[Z]=!1,this[J]=!1,ue.call(this,t),de.call(this,t)}else if(e.unfinished){var n=F,r=this._model,i=this._api;e.unfinished=!1;do{var o=+new Date;e.performSeriesTasks(r),e.performDataProcessorTasks(r),le(this,r),e.performVisualTasks(r),me(this,this._model,i,"remain"),n-=+new Date-o}while(n>0&&e.unfinished);e.unfinished||this._zr.flush()}}},re.getDom=function(){return this._dom},re.getZr=function(){return this._zr},re.setOption=function(e,t,n){if(this._disposed)be(this.id);else{var r;if(D(t)&&(n=t.lazyUpdate,r=t.silent,t=t.notMerge),this[Z]=!0,!this._model||t){var i=new f(this._api),o=this._theme,a=this._model=new u;a.scheduler=this._scheduler,a.init(null,null,o,i)}this._model.setOption(e,Be),n?(this[J]={silent:r},this[Z]=!1):(ae(this),oe.update.call(this),this._zr.flush(),this[J]=!1,this[Z]=!1,ue.call(this,r),de.call(this,r))}},re.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},re.getModel=function(){return this._model},re.getOption=function(){return this._model&&this._model.getOption()},re.getWidth=function(){return this._zr.getWidth()},re.getHeight=function(){return this._zr.getHeight()},re.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},re.getRenderedCanvas=function(e){if(s.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr;return t.painter.getRenderedCanvas(e)}},re.getSvgDataURL=function(){if(s.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return o.each(t,(function(e){e.stopAnimation(!0)})),e.painter.toDataURL()}},re.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,n=this._model,r=[],i=this;I(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return I(r,(function(e){e.group.ignore=!1})),o}be(this.id)},re.getConnectedDataURL=function(e){if(this._disposed)be(this.id);else if(s.canvasSupported){var t="svg"===e.type,n=this.group,r=Math.min,a=Math.max,l=1/0;if(Pe[n]){var c=l,u=l,d=-l,h=-l,f=[],p=e&&e.pixelRatio||1;o.each(De,(function(i,s){if(i.group===n){var l=t?i.getZr().painter.getSvgDom().innerHTML:i.getRenderedCanvas(o.clone(e)),p=i.getDom().getBoundingClientRect();c=r(p.left,c),u=r(p.top,u),d=a(p.right,d),h=a(p.bottom,h),f.push({dom:l,left:p.left,top:p.top})}})),c*=p,u*=p,d*=p,h*=p;var A=d-c,g=h-u,m=o.createCanvas(),v=i.init(m,{renderer:t?"svg":"canvas"});if(v.resize({width:A,height:g}),t){var y="";return I(f,(function(e){var t=e.left-c,n=e.top-u;y+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"})),v.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&v.painter.setBackgroundColor(e.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return e.connectedBackgroundColor&&v.add(new b.Rect({shape:{x:0,y:0,width:A,height:g},style:{fill:e.connectedBackgroundColor}})),I(f,(function(e){var t=new b.Image({style:{x:e.left*p-c,y:e.top*p-u,image:e.dom}});v.add(t)})),v.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},re.convertToPixel=o.curry(ie,"convertToPixel"),re.convertFromPixel=o.curry(ie,"convertFromPixel"),re.containPixel=function(e,t){if(!this._disposed){var n,r=this._model;return e=_.parseFinder(r,e),o.each(e,(function(e,r){r.indexOf("Models")>=0&&o.each(e,(function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n|=!!i.containPoint(t);else if("seriesModels"===r){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n|=o.containPoint(t,e))}}),this)}),this),!!n}be(this.id)},re.getVisual=function(e,t){var n=this._model;e=_.parseFinder(n,e,{defaultMainType:"series"});var r=e.seriesModel,i=r.getData(),o=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?i.indexOfRawIndex(e.dataIndex):null;return null!=o?i.getItemVisual(o,t):i.getVisual(t)},re.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},re.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var oe={prepareAndUpdate:function(e){ae(this),oe.update.call(this,e)},update:function(e){var t=this._model,n=this._api,r=this._zr,i=this._coordSysMgr,o=this._scheduler;if(t){o.restoreData(t,e),o.performSeriesTasks(t),i.create(t,n),o.performDataProcessorTasks(t,e),le(this,t),i.update(t,n),pe(t),o.performVisualTasks(t,e),Ae(this,t,n,e);var l=t.get("backgroundColor")||"transparent";if(s.canvasSupported)r.setBackgroundColor(l);else{var c=a.parse(l);l=a.stringify(c,"rgb"),0===c[3]&&(l="transparent")}ve(t,n)}},updateTransform:function(e){var t=this._model,n=this,r=this._api;if(t){var i=[];t.eachComponent((function(o,a){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,t,r,e);l&&l.update&&i.push(s)}else i.push(s)}));var a=o.createHashMap();t.eachSeries((function(i){var o=n._chartsMap[i.__viewId];if(o.updateTransform){var s=o.updateTransform(i,t,r,e);s&&s.update&&a.set(i.uid,1)}else a.set(i.uid,1)})),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0,dirtyMap:a}),me(n,t,r,e,a),ve(t,this._api)}},updateView:function(e){var t=this._model;t&&(y.markUpdateMethod(e,"updateView"),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),Ae(this,this._model,this._api,e),ve(t,this._api))},updateVisual:function(e){oe.update.call(this,e)},updateLayout:function(e){oe.update.call(this,e)}};function ae(e){var t=e._model,n=e._scheduler;n.restorePipelines(t),n.prepareStageTasks(),fe(e,"component",t,n),fe(e,"chart",t,n),n.plan()}function se(e,t,n,r,i){var a=e._model;if(r){var s={};s[r+"Id"]=n[r+"Id"],s[r+"Index"]=n[r+"Index"],s[r+"Name"]=n[r+"Name"];var l={mainType:r,query:s};i&&(l.subType=i);var c=n.excludeSeriesId;null!=c&&(c=o.createHashMap(_.normalizeToArray(c))),a&&a.eachComponent(l,(function(t){c&&null!=c.get(t.id)||u(e["series"===r?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else I(e._componentsViews.concat(e._chartsViews),u);function u(r){r&&r.__alive&&r[t]&&r[t](r.__model,a,e._api,n)}}function le(e,t){var n=e._chartsMap,r=e._scheduler;t.eachSeries((function(e){r.updateStreamModes(e,n[e.__viewId])}))}function ce(e,t){var n=e.type,r=e.escapeConnect,i=ke[n],a=i.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&P(s[0]),this[Z]=!0;var c=[e],u=!1;e.batch&&(u=!0,c=o.map(e.batch,(function(t){return t=o.defaults(o.extend({},t),e),t.batch=null,t})));var d,h=[],f="highlight"===n||"downplay"===n;I(c,(function(e){d=i.action(e,this._model,this._api),d=d||o.extend({},e),d.type=a.event||d.type,h.push(d),f?se(this,l,e,"series"):s&&se(this,l,e,s.main,s.sub)}),this),"none"===l||f||s||(this[J]?(ae(this),oe.update.call(this,e),this[J]=!1):oe[l].call(this,e)),d=u?{type:a.event||n,escapeConnect:r,batch:h}:h[0],this[Z]=!1,!t&&this._messageCenter.trigger(d.type,d)}function ue(e){var t=this._pendingActions;while(t.length){var n=t.shift();ce.call(this,n,e)}}function de(e){!e&&this.trigger("updated")}function he(e,t){e.on("rendered",(function(){t.trigger("rendered"),!e.animation.isFinished()||t[J]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))}function fe(e,t,n,r){for(var i="component"===t,o=i?e._componentsViews:e._chartsViews,a=i?e._componentsMap:e._chartsMap,s=e._zr,l=e._api,c=0;c<o.length;c++)o[c].__alive=!1;function u(e){var t="_ec_"+e.id+"_"+e.type,c=a[t];if(!c){var u=P(e.type),d=i?v.getClass(u.main,u.sub):y.getClass(u.sub);c=new d,c.init(n,l),a[t]=c,o.push(c),s.add(c.group)}e.__viewId=c.__id=t,c.__alive=!0,c.__model=e,c.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!i&&r.prepareView(c,e,n,l)}i?n.eachComponent((function(e,t){"series"!==e&&u(t)})):n.eachSeries(u);for(c=0;c<o.length;){var d=o[c];d.__alive?c++:(!i&&d.renderTask.dispose(),s.remove(d.group),d.dispose(n,l),o.splice(c,1),delete a[d.__id],d.__id=d.group.__ecComponentInfo=null)}}function pe(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function Ae(e,t,n,r){ge(e,t,n,r),I(e._chartsViews,(function(e){e.__alive=!1})),me(e,t,n,r),I(e._chartsViews,(function(e){e.__alive||e.remove(t,n)}))}function ge(e,t,n,r,i){I(i||e._componentsViews,(function(e){var i=e.__model;e.render(i,t,n,r),xe(i,e)}))}function me(e,t,n,r,i){var o,a=e._scheduler;t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var s=n.renderTask;a.updatePayload(s,r),i&&i.get(t.uid)&&s.dirty(),o|=s.perform(a.getPerformArgs(s)),n.group.silent=!!t.get("silent"),xe(t,n),we(t,n)})),a.unfinished|=o,_e(e,t),S(e._zr.dom,t)}function ve(e,t){I(Me,(function(n){n(e,t)}))}re.resize=function(e){if(this._disposed)be(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[Z]=!0,n&&ae(this),oe.update.call(this),this[Z]=!1,ue.call(this,r),de.call(this,r)}}},re.showLoading=function(e,t){if(this._disposed)be(this.id);else if(D(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Le[e]){var n=Le[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},re.hideLoading=function(){this._disposed?be(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},re.makeActionFromEvent=function(e){var t=o.extend({},e);return t.type=Ee[e.type],t},re.dispatchAction=function(e,t){this._disposed?be(this.id):(D(t)||(t={silent:!!t}),ke[e.type]&&this._model&&(this[Z]?this._pendingActions.push(e):(ce.call(this,e,t.silent),t.flush?this._zr.flush(!0):!1!==t.flush&&s.browser.weChat&&this._throttledZrFlush(),ue.call(this,t.silent),de.call(this,t.silent))))},re.appendData=function(e){if(this._disposed)be(this.id);else{var t=e.seriesIndex,n=this.getModel(),r=n.getSeriesByIndex(t);r.appendData(e),this._scheduler.unfinished=!0}},re.on=ee("on",!1),re.off=ee("off",!1),re.one=ee("one",!1);var ye=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function be(e){}function _e(e,t){var n=e._zr,r=n.storage,i=0;r.traverse((function(e){i++})),i>t.get("hoverLayerThreshold")&&!s.node&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.group.traverse((function(e){e.useHoverLayer=!0}))}}))}function we(e,t){var n=e.get("blendMode")||null;t.group.traverse((function(e){e.isGroup||e.style.blend!==n&&e.setStyle("blend",n),e.eachPendingDisplayable&&e.eachPendingDisplayable((function(e){e.setStyle("blend",n)}))}))}function xe(e,t){var n=e.get("z"),r=e.get("zlevel");t.group.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=r&&(e.zlevel=r))}))}function Ce(e){var t=e._coordSysMgr;return o.extend(new d(e),{getCoordinateSystems:o.bind(t.getCoordinateSystems,t),getComponentByElement:function(t){while(t){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}}})}function Se(){this.eventInfo}re._initEvents=function(){I(ye,(function(e){var t=function(t){var n,r=this.getModel(),i=t.target,a="globalout"===e;if(a)n={};else if(i&&null!=i.dataIndex){var s=i.dataModel||r.getSeriesByIndex(i.seriesIndex);n=s&&s.getDataParams(i.dataIndex,i.dataType,i)||{}}else i&&i.eventData&&(n=o.extend({},i.eventData));if(n){var l=n.componentType,c=n.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",c=n.seriesIndex);var u=l&&null!=c&&r.getComponent(l,c),d=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];n.event=t,n.type=e,this._ecEventProcessor.eventInfo={targetEl:i,packedEvent:n,model:u,view:d},this.trigger(e,n)}};t.zrEventfulCallAtLast=!0,this._zr.on(e,t,this)}),this),I(Ee,(function(e,t){this._messageCenter.on(t,(function(e){this.trigger(t,e)}),this)}),this)},re.isDisposed=function(){return this._disposed},re.clear=function(){this._disposed?be(this.id):this.setOption({series:[]},!0)},re.dispose=function(){if(this._disposed)be(this.id);else{this._disposed=!0,_.setAttribute(this.getDom(),Fe,"");var e=this._api,t=this._model;I(this._componentsViews,(function(n){n.dispose(t,e)})),I(this._chartsViews,(function(n){n.dispose(t,e)})),this._zr.dispose(),delete De[this.id]}},o.mixin(ne,c),Se.prototype={constructor:Se,normalizeQuery:function(e){var t={},n={},r={};if(o.isString(e)){var i=P(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};o.each(e,(function(e,i){for(var o=!1,l=0;l<a.length;l++){var c=a[l],u=i.lastIndexOf(c);if(u>0&&u===i.length-c.length){var d=i.slice(0,u);"data"!==d&&(t.mainType=d,t[c.toLowerCase()]=e,o=!0)}}s.hasOwnProperty(i)&&(n[i]=e,o=!0),o||(r[i]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:r}},filter:function(e,t,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,o=r.packedEvent,a=r.model,s=r.view;if(!a||!s)return!0;var l=t.cptQuery,c=t.dataQuery;return u(l,a,"mainType")&&u(l,a,"subType")&&u(l,a,"index","componentIndex")&&u(l,a,"name")&&u(l,a,"id")&&u(c,o,"name")&&u(c,o,"dataIndex")&&u(c,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,i,o));function u(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},afterTrigger:function(){this.eventInfo=null}};var ke={},Ee={},Oe=[],Be=[],Me=[],Te=[],Ie={},Le={},De={},Pe={},Ne=new Date-0,je=new Date-0,Fe="_echarts_instance_";function Re(e){var t=0,n=1,r=2,i="__connectUpdateStatus";function o(e,t){for(var n=0;n<e.length;n++){var r=e[n];r[i]=t}}I(Ee,(function(a,s){e._messageCenter.on(s,(function(a){if(Pe[e.group]&&e[i]!==t){if(a&&a.escapeConnect)return;var s=e.makeActionFromEvent(a),l=[];I(De,(function(t){t!==e&&t.group===e.group&&l.push(t)})),o(l,t),I(l,(function(e){e[i]!==n&&e.dispatchAction(s)})),o(l,r)}}))}))}function Ue(e,t,n){var r=Ve(e);if(r)return r;var i=new ne(e,t,n);return i.id="ec_"+Ne++,De[i.id]=i,_.setAttribute(e,Fe,i.id),Re(i),i}function He(e){if(o.isArray(e)){var t=e;e=null,I(t,(function(t){null!=t.group&&(e=t.group)})),e=e||"g_"+je++,I(t,(function(t){t.group=e}))}return Pe[e]=!0,e}function Qe(e){Pe[e]=!1}var Ke=Qe;function ze(e){"string"===typeof e?e=De[e]:e instanceof ne||(e=Ve(e)),e instanceof ne&&!e.isDisposed()&&e.dispose()}function Ve(e){return De[_.getAttribute(e,Fe)]}function We(e){return De[e]}function Ge(e,t){Ie[e]=t}function Xe(e){Be.push(e)}function qe(e,t){nt(Oe,e,t,R)}function Ye(e){Me.push(e)}function Ze(e,t,n){"function"===typeof t&&(n=t,t="");var r=D(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,T($.test(r)&&$.test(t)),ke[r]||(ke[r]={action:n,actionInfo:e}),Ee[t]=r}function Je(e,t){h.register(e,t)}function $e(e){var t=h.get(e);if(t)return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()}function et(e,t){nt(Te,e,t,K,"layout")}function tt(e,t){nt(Te,e,t,W,"visual")}function nt(e,t,n,r,i){(L(t)||D(t))&&(n=t,t=r);var o=E.wrapStageHandler(n,i);return o.__prio=t,o.__raw=n,e.push(o),o}function rt(e,t){Le[e]=t}function it(e){return g.extend(e)}function ot(e){return v.extend(e)}function at(e){return m.extend(e)}function st(e){return y.extend(e)}function lt(e){o.$override("createCanvas",e)}function ct(e,t,n){M.registerMap(e,t,n)}function ut(e){var t=M.retrieveMap(e);return t&&t[0]&&{geoJson:t[0].geoJSON,specialAreas:t[0].specialAreas}}tt(V,C),Xe(p),qe(H,A),rt("default",k),Ze({type:"highlight",event:"highlight",update:"highlight"},o.noop),Ze({type:"downplay",event:"downplay",update:"downplay"},o.noop),Ge("light",O),Ge("dark",B);var dt={};t.version=N,t.dependencies=j,t.PRIORITY=Y,t.init=Ue,t.connect=He,t.disConnect=Qe,t.disconnect=Ke,t.dispose=ze,t.getInstanceByDom=Ve,t.getInstanceById=We,t.registerTheme=Ge,t.registerPreprocessor=Xe,t.registerProcessor=qe,t.registerPostUpdate=Ye,t.registerAction=Ze,t.registerCoordinateSystem=Je,t.getCoordinateSystemDimensions=$e,t.registerLayout=et,t.registerVisual=tt,t.registerLoading=rt,t.extendComponentModel=it,t.extendComponentView=ot,t.extendSeriesModel=at,t.extendChartView=st,t.setCanvasCreator=lt,t.registerMap=ct,t.getMap=ut,t.dataTool=dt;var ht=n("txkQ");(function(){for(var e in ht)ht.hasOwnProperty(e)&&(t[e]=ht[e])})()},"Pv/L":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("+kx5"),i=n("Y9hK"),o=n("Qw5x"),a=n("u6e6");function s(e){return Object(r["a"])(e)||Object(i["a"])(e)||Object(o["a"])(e)||Object(a["a"])()}},Pw59:function(e,t,n){"use strict";var r=n("q1tI"),i=Object(r["createContext"])({});t["a"]=i},Q7if:function(e,t,n){var r=n("JEkh"),i=r.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"}}}});e.exports=i},Q9mQ:function(e,t,n){"use strict";n("cIOH"),n("UADf")},"QB+1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("Ywus"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},QBsz:function(e,t){var n="undefined"===typeof Float32Array?Array:Float32Array;function r(e,t){var r=new n(2);return null==e&&(e=0),null==t&&(t=0),r[0]=e,r[1]=t,r}function i(e,t){return e[0]=t[0],e[1]=t[1],e}function o(e){var t=new n(2);return t[0]=e[0],t[1]=e[1],t}function a(e,t,n){return e[0]=t,e[1]=n,e}function s(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function l(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function c(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function u(e){return Math.sqrt(h(e))}var d=u;function h(e){return e[0]*e[0]+e[1]*e[1]}var f=h;function p(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function A(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function g(e,t){return e[0]*t[0]+e[1]*t[1]}function m(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function v(e,t){var n=u(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function y(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var b=y;function _(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var w=_;function x(e,t){return e[0]=-t[0],e[1]=-t[1],e}function C(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function S(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function k(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function E(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}t.create=r,t.copy=i,t.clone=o,t.set=a,t.add=s,t.scaleAndAdd=l,t.sub=c,t.len=u,t.length=d,t.lenSquare=h,t.lengthSquare=f,t.mul=p,t.div=A,t.dot=g,t.scale=m,t.normalize=v,t.distance=y,t.dist=b,t.distanceSquare=_,t.distSquare=w,t.negate=x,t.lerp=C,t.applyTransform=S,t.min=k,t.max=E},"QO+J":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r=o(n("NohK")),i=n("24YM");function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=void 0,n=[],o=function(){"static"===getComputedStyle(e).position&&(e.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",a),a()},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",i.SensorClassName),t.setAttribute("tabindex",i.SensorTabIndex),t.type="text/html",e.appendChild(t),t.data="about:blank",t},a=(0,r["default"])((function(){n.forEach((function(t){t(e)}))})),s=function(e){t||(t=o()),-1===n.indexOf(e)&&n.push(e)},l=function(){t&&t.parentNode&&(t.contentDocument&&t.contentDocument.defaultView.removeEventListener("resize",a),t.parentNode.removeChild(t),t=void 0,n=[])},c=function(e){var r=n.indexOf(e);-1!==r&&n.splice(r,1),0===n.length&&t&&l()};return{element:e,bind:s,destroy:l,unbind:c}};t.createSensor=a},"QQZ/":function(e,t,n){var r=n("Sq3C"),i=n("Z1HP"),o=n("Sxd8"),a=n("dt0z");function s(e,t,n){e=a(e),t=o(t);var s=t?i(e):0;return t&&s<t?r(t-s,n)+e:e}e.exports=s},QUw5:function(e,t,n){var r=n("OlYY"),i=r.extend({type:"dataZoom.select"});e.exports=i},QV2g:function(e,t,n){"use strict";function r(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=r;r()},QbM5:function(e,t,n){},Qe9p:function(e,t,n){var r=n("1RvN"),i={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 o(e){return e=Math.round(e),e<0?0:e>255?255:e}function a(e){return e=Math.round(e),e<0?0:e>360?360:e}function s(e){return e<0?0:e>1?1:e}function l(e){return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function c(e){return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function u(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function d(e,t,n){return e+(t-e)*n}function h(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function f(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var p=new r(20),A=null;function g(e,t){A&&f(A,t),A=p.put(e,A||t.slice())}function m(e,t){if(e){t=t||[];var n=p.get(e);if(n)return f(t,n);e+="";var r=e.replace(/ /g,"").toLowerCase();if(r in i)return f(t,i[r]),g(e,t),t;if("#"!==r.charAt(0)){var o=r.indexOf("("),a=r.indexOf(")");if(-1!==o&&a+1===r.length){var s=r.substr(0,o),u=r.substr(o+1,a-(o+1)).split(","),d=1;switch(s){case"rgba":if(4!==u.length)return void h(t,0,0,0,1);d=c(u.pop());case"rgb":return 3!==u.length?void h(t,0,0,0,1):(h(t,l(u[0]),l(u[1]),l(u[2]),d),g(e,t),t);case"hsla":return 4!==u.length?void h(t,0,0,0,1):(u[3]=c(u[3]),v(u,t),g(e,t),t);case"hsl":return 3!==u.length?void h(t,0,0,0,1):(v(u,t),g(e,t),t);default:return}}h(t,0,0,0,1)}else{if(4===r.length){var A=parseInt(r.substr(1),16);return A>=0&&A<=4095?(h(t,(3840&A)>>4|(3840&A)>>8,240&A|(240&A)>>4,15&A|(15&A)<<4,1),g(e,t),t):void h(t,0,0,0,1)}if(7===r.length){A=parseInt(r.substr(1),16);return A>=0&&A<=16777215?(h(t,(16711680&A)>>16,(65280&A)>>8,255&A,1),g(e,t),t):void h(t,0,0,0,1)}}}}function v(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=c(e[1]),i=c(e[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return t=t||[],h(t,o(255*u(s,a,n+1/3)),o(255*u(s,a,n)),o(255*u(s,a,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function y(e){if(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,c=(s+a)/2;if(0===l)t=0,n=0;else{n=c<.5?l/(s+a):l/(2-s-a);var u=((s-r)/6+l/2)/l,d=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;r===s?t=h-d:i===s?t=1/3+u-h:o===s&&(t=2/3+d-u),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,n,c];return null!=e[3]&&f.push(e[3]),f}}function b(e,t){var n=m(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:e[r]<0&&(n[r]=0);return O(n,4===n.length?"rgba":"rgb")}}function _(e){var t=m(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function w(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),i=Math.floor(r),a=Math.ceil(r),l=t[i],c=t[a],u=r-i;return n[0]=o(d(l[0],c[0],u)),n[1]=o(d(l[1],c[1],u)),n[2]=o(d(l[2],c[2],u)),n[3]=s(d(l[3],c[3],u)),n}}var x=w;function C(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),i=Math.floor(r),a=Math.ceil(r),l=m(t[i]),c=m(t[a]),u=r-i,h=O([o(d(l[0],c[0],u)),o(d(l[1],c[1],u)),o(d(l[2],c[2],u)),s(d(l[3],c[3],u))],"rgba");return n?{color:h,leftIndex:i,rightIndex:a,value:r}:h}}var S=C;function k(e,t,n,r){if(e=m(e),e)return e=y(e),null!=t&&(e[0]=a(t)),null!=n&&(e[1]=c(n)),null!=r&&(e[2]=c(r)),O(v(e),"rgba")}function E(e,t){if(e=m(e),e&&null!=t)return e[3]=s(t),O(e,"rgba")}function O(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}t.parse=m,t.lift=b,t.toHex=_,t.fastLerp=w,t.fastMapToColor=x,t.lerp=C,t.mapToColor=S,t.modifyHSL=k,t.modifyAlpha=E,t.stringify=O},Qi1f:function(e,t,n){"use strict";n.d(t,"g",(function(){return x})),n.d(t,"c",(function(){return C})),n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return E})),n.d(t,"d",(function(){return O})),n.d(t,"e",(function(){return B})),n.d(t,"f",(function(){return T}));var r=n("VTBJ"),i=n("U8pU"),o=n("AJpP"),a=n("q1tI"),s=n.n(a),l=n("Kwbf"),c=n("MNnm"),u=n("l4aY"),d="data-rc-order",h="rc-util-key",f=new Map;function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):h}function A(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function g(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function m(e){return Array.from((f.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(c["a"])())return null;var n=t.csp,r=t.prepend,i=document.createElement("style");i.setAttribute(d,g(r)),null!==n&&void 0!==n&&n.nonce&&(i.nonce=null===n||void 0===n?void 0:n.nonce),i.innerHTML=e;var o=A(t),a=o.firstChild;if(r){if("queue"===r){var s=m(o).filter((function(e){return["prepend","prependQueue"].includes(e.getAttribute(d))}));if(s.length)return o.insertBefore(i,s[s.length-1].nextSibling),i}o.insertBefore(i,a)}else o.appendChild(i);return i}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=A(t);return m(n).find((function(n){return n.getAttribute(p(t))===e}))}function b(e,t){var n=f.get(e);if(!n||!Object(u["a"])(document,n)){var r=v("",t),i=r.parentNode;f.set(e,i),e.removeChild(r)}}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=A(n);b(r,n);var i=y(t,n);if(i){var o,a,s;if(null!==(o=n.csp)&&void 0!==o&&o.nonce&&i.nonce!==(null===(a=n.csp)||void 0===a?void 0:a.nonce))i.nonce=null===(s=n.csp)||void 0===s?void 0:s.nonce;return i.innerHTML!==e&&(i.innerHTML=e),i}var l=v(e,n);return l.setAttribute(p(n),t),l}var w=n("Pw59");function x(e,t){Object(l["a"])(e,"[@ant-design/icons] ".concat(t))}function C(e){return"object"===Object(i["a"])(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===Object(i["a"])(e.icon)||"function"===typeof e.icon)}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:t[n]=r}return t}),{})}function k(e,t,n){return n?s.a.createElement(e.tag,Object(r["a"])(Object(r["a"])({key:t},S(e.attrs)),n),(e.children||[]).map((function(n,r){return k(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):s.a.createElement(e.tag,Object(r["a"])({key:t},S(e.attrs)),(e.children||[]).map((function(n,r){return k(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function E(e){return Object(o["generate"])(e)[0]}function O(e){return e?Array.isArray(e)?e:[e]:[]}var B={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},M="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M,t=Object(a["useContext"])(w["a"]),n=t.csp;Object(a["useEffect"])((function(){_(e,"@ant-design-icons",{prepend:!0,csp:n})}),[])}},QkVE:function(e,t,n){var r=n("EpBk");function i(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=i},QoRX:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}e.exports=n},QqLw:function(e,t,n){var r=n("tadb"),i=n("ebwN"),o=n("HOxn"),a=n("yGk4"),s=n("Of+w"),l=n("NykK"),c=n("3Fdi"),u="[object Map]",d="[object Object]",h="[object Promise]",f="[object Set]",p="[object WeakMap]",A="[object DataView]",g=c(r),m=c(i),v=c(o),y=c(a),b=c(s),_=l;(r&&_(new r(new ArrayBuffer(1)))!=A||i&&_(new i)!=u||o&&_(o.resolve())!=h||a&&_(new a)!=f||s&&_(new s)!=p)&&(_=function(e){var t=l(e),n=t==d?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case g:return A;case m:return u;case v:return h;case y:return f;case b:return p}return t}),e.exports=_},Qs3X:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("X+im"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},Qs9O:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},QuXc:function(e,t){var n=function(e){this.colorStops=e||[]};n.prototype={constructor:n,addColorStop:function(e,t){this.colorStops.push({offset:e,color:t})}};var r=n;e.exports=r},Qvb6:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("ItGF"),a=n("B9fm"),s=n("gvm7"),l=n("7aKB"),c=n("OELB"),u=n("IwbS"),d=n("Ez2D"),h=n("+TT/"),f=n("Qxkt"),p=n("F9bG"),A=n("aX7z"),g=n("/y7N"),m=n("4NO4"),v=m.getTooltipRenderMode,y=i.bind,b=i.each,_=c.parsePercent,w=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),x=r.extendComponentView({type:"tooltip",init:function(e,t){if(!o.node){var n,r=e.getComponent("tooltip"),i=r.get("renderMode");this._renderMode=v(i),"html"===this._renderMode?(n=new a(t.getDom(),t,{appendToBody:r.get("appendToBody",!0)}),this._newLine="<br/>"):(n=new s(t),this._newLine="\n"),this._tooltipContent=n}},render:function(e,t,n){if(!o.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=e.get("alwaysShowContent");var r=this._tooltipContent;r.update(),r.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");p.register("itemTooltip",this._api,y((function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))}),this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(e,t,n,{x:r._lastX,y:r._lastY})}))}},manuallyShowTip:function(e,t,n,r){if(r.from!==this.uid&&!o.node){var i=S(r,n);this._ticket="";var a=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var s=w;s.position=[r.x,r.y],s.update(),s.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:s},i)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var l=d(r,t),c=l.point[0],u=l.point[1];null!=c&&null!=u&&this._tryShow({offsetX:c,offsetY:u,position:r.position,target:l.el},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},manuallyHideTip:function(e,t,n,r){var i=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,r.from!==this.uid&&this._hide(S(r,n))},_manuallyAxisShowTip:function(e,t,n,r){var i=r.seriesIndex,o=r.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=t.getSeriesByIndex(i);if(s){var l=s.getData();e=C([l.getItemModel(o),s,(s.coordinateSystem||{}).model,e]);if("axis"===e.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}}},_tryShow:function(e,t){var n=e.target,r=this._tooltipModel;if(r){this._lastX=e.offsetX,this._lastY=e.offsetY;var i=e.dataByCoordSys;i&&i.length?this._showAxisTooltip(i,e):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,n,t)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,n,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var n=e.get("showDelay");t=i.bind(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},_showAxisTooltip:function(e,t){var n=this._ecModel,r=this._tooltipModel,o=[t.offsetX,t.offsetY],a=[],s=[],c=C([t.tooltipOption,r]),u=this._renderMode,d=this._newLine,h={};b(e,(function(e){b(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),r=e.value,o=[];if(t&&null!=r){var c=g.getValueLabel(r,t.axis,n,e.seriesDataIndices,e.valueLabelOpt);i.each(e.seriesDataIndices,(function(a){var l=n.getSeriesByIndex(a.seriesIndex),d=a.dataIndexInside,f=l&&l.getDataParams(d);if(f.axisDim=e.axisDim,f.axisIndex=e.axisIndex,f.axisType=e.axisType,f.axisId=e.axisId,f.axisValue=A.getAxisRawValue(t.axis,r),f.axisValueLabel=c,f){s.push(f);var p,g=l.formatTooltip(d,!0,null,u);if(i.isObject(g)){p=g.html;var m=g.markers;i.merge(h,m)}else p=g;o.push(p)}}));var f=c;"html"!==u?a.push(o.join(d)):a.push((f?l.encodeHTML(f)+d:"")+o.join(d))}}))}),this),a.reverse(),a=a.join(this._newLine+this._newLine);var f=t.position;this._showOrMove(c,(function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(c,f,o[0],o[1],this._tooltipContent,s):this._showTooltipContent(c,a,s,Math.random(),o[0],o[1],f,void 0,h)}))},_showSeriesItemTooltip:function(e,t,n){var r=this._ecModel,o=t.seriesIndex,a=r.getSeriesByIndex(o),s=t.dataModel||a,l=t.dataIndex,c=t.dataType,u=s.getData(c),d=C([u.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),h=d.get("trigger");if(null==h||"item"===h){var f,p,A=s.getDataParams(l,c),g=s.formatTooltip(l,!1,c,this._renderMode);i.isObject(g)?(f=g.html,p=g.markers):(f=g,p=null);var m="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,f,A,m,e.offsetX,e.offsetY,e.position,e.target,p)})),n({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(e,t,n){var r=t.tooltip;if("string"===typeof r){var i=r;r={content:i,formatter:i}}var o=new f(r,this._tooltipModel,this._ecModel),a=o.get("content"),s=Math.random();this._showOrMove(o,(function(){this._showTooltipContent(o,a,o.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,n,r,i,o,a,s,c){if(this._ticket="",e.get("showContent")&&e.get("show")){var u=this._tooltipContent,d=e.get("formatter");a=a||e.get("position");var h=t;if(d&&"string"===typeof d)h=l.formatTpl(d,n,!0);else if("function"===typeof d){var f=y((function(t,r){t===this._ticket&&(u.setContent(r,c,e),this._updatePosition(e,a,i,o,u,n,s))}),this);this._ticket=r,h=d(n,r,f)}u.setContent(h,c,e),u.show(e),this._updatePosition(e,a,i,o,u,n,s)}},_updatePosition:function(e,t,n,r,o,a,s){var l=this._api.getWidth(),c=this._api.getHeight();t=t||e.get("position");var u=o.getSize(),d=e.get("align"),f=e.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof t&&(t=t([n,r],a,o.el,p,{viewSize:[l,c],contentSize:u.slice()})),i.isArray(t))n=_(t[0],l),r=_(t[1],c);else if(i.isObject(t)){t.width=u[0],t.height=u[1];var A=h.getLayoutRect(t,{width:l,height:c});n=A.x,r=A.y,d=null,f=null}else if("string"===typeof t&&s){var g=O(t,p,u);n=g[0],r=g[1]}else{g=k(n,r,o,l,c,d?null:20,f?null:20);n=g[0],r=g[1]}if(d&&(n-=B(d)?u[0]/2:"right"===d?u[0]:0),f&&(r-=B(f)?u[1]/2:"bottom"===f?u[1]:0),e.get("confine")){g=E(n,r,o,l,c);n=g[0],r=g[1]}o.moveTo(n,r)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,n=!!t&&t.length===e.length;return n&&b(t,(function(t,r){var i=t.dataByAxis||{},o=e[r]||{},a=o.dataByAxis||[];n&=i.length===a.length,n&&b(i,(function(e,t){var r=a[t]||{},i=e.seriesDataIndices||[],o=r.seriesDataIndices||[];n&=e.value===r.value&&e.axisType===r.axisType&&e.axisId===r.axisId&&i.length===o.length,n&&b(i,(function(e,t){var r=o[t];n&=e.seriesIndex===r.seriesIndex&&e.dataIndex===r.dataIndex}))}))})),this._lastDataByCoordSys=e,!!n},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){o.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",t))}});function C(e){var t=e.pop();while(e.length){var n=e.pop();n&&(f.isInstance(n)&&(n=n.get("tooltip",!0)),"string"===typeof n&&(n={formatter:n}),t=new f(n,t,t.ecModel))}return t}function S(e,t){return e.dispatchAction||i.bind(t.dispatchAction,t)}function k(e,t,n,r,i,o,a){var s=n.getOuterSize(),l=s.width,c=s.height;return null!=o&&(e+l+o>r?e-=l+o:e+=o),null!=a&&(t+c+a>i?t-=c+a:t+=a),[e,t]}function E(e,t,n,r,i){var o=n.getOuterSize(),a=o.width,s=o.height;return e=Math.min(e+a,r)-a,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function O(e,t,n){var r=n[0],i=n[1],o=5,a=0,s=0,l=t.width,c=t.height;switch(e){case"inside":a=t.x+l/2-r/2,s=t.y+c/2-i/2;break;case"top":a=t.x+l/2-r/2,s=t.y-i-o;break;case"bottom":a=t.x+l/2-r/2,s=t.y+c+o;break;case"left":a=t.x-r-o,s=t.y+c/2-i/2;break;case"right":a=t.x+l+o,s=t.y+c/2-i/2}return[a,s]}function B(e){return"center"===e||"middle"===e}e.exports=x},Qxkt:function(e,t,n){var r=n("bYtY"),i=n("ItGF"),o=n("4NO4"),a=o.makeInner,s=n("Yl7c"),l=s.enableClassExtend,c=s.enableClassCheck,u=n("OQFs"),d=n("m9t5"),h=n("/iHx"),f=n("VR9l"),p=r.mixin,A=a();function g(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}function m(e,t,n){for(var r=0;r<t.length;r++)if(t[r]&&(e=e&&"object"===typeof e?e[t[r]]:null,null==e))break;return null==e&&n&&(e=n.get(t)),e}function v(e,t){var n=A(e).getParent;return n?n.call(e,t):e.parentModel}g.prototype={constructor:g,init:null,mergeOption:function(e){r.merge(this.option,e,!0)},get:function(e,t){return null==e?this.option:m(this.option,this.parsePath(e),!t&&v(this,e))},getShallow:function(e,t){var n=this.option,r=null==n?n:n[e],i=!t&&v(this,e);return null==r&&i&&(r=i.getShallow(e)),r},getModel:function(e,t){var n,r=null==e?this.option:m(this.option,e=this.parsePath(e));return t=t||(n=v(this,e))&&n.getModel(e),new g(r,t,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){var e=this.constructor;return new e(r.clone(this.option))},setReadOnly:function(e){},parsePath:function(e){return"string"===typeof e&&(e=e.split(".")),e},customizeGetParent:function(e){A(this).getParent=e},isAnimationEnabled:function(){if(!i.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},l(g),c(g),p(g,u),p(g,d),p(g,h),p(g,f);var y=g;e.exports=y},QyFq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},QzjZ:function(e,t,n){var r=n("S/Yl"),i=n("IDmD");function o(e,t){var n=[];return e.eachComponent("singleAxis",(function(i,o){var a=new r(i,e,t);a.name="single_"+o,a.resize(i,t),i.coordinateSystem=a,n.push(a)})),e.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=n&&n.coordinateSystem}})),n}i.register("single",{create:o,dimensions:r.prototype.dimensions})},R4Th:function(e,t,n){var r=n("ProS"),i=n("9wZj"),o=n("yO87"),a=n("Fofx"),s=n("h8O9"),l=r.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new i(o)},render:function(e,t,n){var r=e.getData(),i=this._symbolDraw;i.updateData(r),this.group.add(i.group)},updateTransform:function(e,t,n){var r=e.getData();this.group.dirty();var i=s().reset(e);i.progress&&i.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_updateGroupTransform:function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=a.clone(t.getRoamTransform()),this.group.decomposeTransform())},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t)},dispose:function(){}});e.exports=l},R9oj:function(e,t,n){"use strict";n("cIOH"),n("pwpV")},RBEP:function(e,t,n){for(var r=n("ProS"),i=n("VaxA"),o=function(){},a=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<a.length;s++)r.registerAction({type:a[s],update:"updateView"},o);r.registerAction({type:"treemapRootToNode",update:"updateView"},(function(e,t){function n(t,n){var r=["treemapZoomToNode","treemapRootToNode"],o=i.retrieveTargetInfo(e,r,t);if(o){var a=t.getViewRoot();a&&(e.direction=i.aboveViewRoot(a,o.node)?"rollUp":"drillDown"),t.resetViewRoot(o.node)}}t.eachComponent({mainType:"series",subType:"treemap",query:e},n)}))},RCxd:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="ExclamationCircleOutlined";t["a"]=i["forwardRef"](l)},RDYZ:function(e,t,n){var r=n("dMvE");function i(e){this._target=e.target,this._life=e.life||1e3,this._delay=e.delay||0,this._initialized=!1,this.loop=null!=e.loop&&e.loop,this.gap=e.gap||0,this.easing=e.easing||"Linear",this.onframe=e.onframe,this.ondestroy=e.ondestroy,this.onrestart=e.onrestart,this._pausedTime=0,this._paused=!1}i.prototype={constructor:i,step:function(e,t){if(this._initialized||(this._startTime=e+this._delay,this._initialized=!0),this._paused)this._pausedTime+=t;else{var n=(e-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var i=this.easing,o="string"===typeof i?r[i]:i,a="function"===typeof o?o(n):n;return this.fire("frame",a),1===n?this.loop?(this.restart(e),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(e){var t=(e-this._startTime-this._pausedTime)%this._life;this._startTime=e-t+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(e,t){e="on"+e,this[e]&&this[e](this._target,t)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var o=i;e.exports=o},RELg:function(e,t,n){var r=n("MFOe"),i=r.Global;e.exports={name:"oldIE-userDataStorage",write:c,read:u,each:d,remove:h,clearAll:f};var o="storejs",a=i.document,s=g(),l=(i.navigator?i.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function c(e,t){if(!l){var n=A(e);s((function(e){e.setAttribute(n,t),e.save(o)}))}}function u(e){if(!l){var t=A(e),n=null;return s((function(e){n=e.getAttribute(t)})),n}}function d(e){s((function(t){for(var n=t.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var i=n[r];e(t.getAttribute(i.name),i.name)}}))}function h(e){var t=A(e);s((function(e){e.removeAttribute(t),e.save(o)}))}function f(){s((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(o);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(o)}))}var p=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function A(e){return e.replace(/^\d/,"___$&").replace(p,"___")}function g(){if(!a||!a.documentElement||!a.documentElement.addBehavior)return null;var e,t,n,r="script";try{t=new ActiveXObject("htmlfile"),t.open(),t.write("<"+r+">document.w=window</"+r+'><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,n=e.createElement("div")}catch(i){n=a.createElement("div"),e=a.body}return function(t){var r=[].slice.call(arguments,0);r.unshift(n),e.appendChild(n),n.addBehavior("#default#userData"),n.load(o),t.apply(this,r),e.removeChild(n)}}},RPvy:function(e,t,n){var r=n("ProS"),i=n("VaxA"),o="sunburstRootToNode";r.registerAction({type:o,update:"updateView"},(function(e,t){function n(t,n){var r=i.retrieveTargetInfo(e,[o],t);if(r){var a=t.getViewRoot();a&&(e.direction=i.aboveViewRoot(a,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}));var a="sunburstHighlight";r.registerAction({type:a,update:"updateView"},(function(e,t){function n(t,n){var r=i.retrieveTargetInfo(e,[a],t);r&&(e.highlight=r.node)}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}));var s="sunburstUnhighlight";r.registerAction({type:s,update:"updateView"},(function(e,t){function n(t,n){e.unhighlight=!0}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}))},RSch:function(e,t,n){var r=n("IwbS"),i=n("bYtY");function o(e,t,n){r.Group.call(this),this._createPolyline(e,t,n)}var a=o.prototype;a._createPolyline=function(e,t,n){var i=e.getItemLayout(t),o=new r.Polyline({shape:{points:i}});this.add(o),this._updateCommonStl(e,t,n)},a.updateData=function(e,t,n){var i=e.hostModel,o=this.childAt(0),a={shape:{points:e.getItemLayout(t)}};r.updateProps(o,a,i,t),this._updateCommonStl(e,t,n)},a._updateCommonStl=function(e,t,n){var o=this.childAt(0),a=e.getItemModel(t),s=e.getItemVisual(t,"color"),l=n&&n.lineStyle,c=n&&n.hoverLineStyle;n&&!e.hasItemOption||(l=a.getModel("lineStyle").getLineStyle(),c=a.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),o.hoverStyle=c,r.setHoverStyle(this)},a.updateLayout=function(e,t){var n=this.childAt(0);n.setShape("points",e.getItemLayout(t))},i.inherits(o,r.Group);var s=o;e.exports=s},RXMa:function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,i,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,i,!0)}});e.exports=i},RZPm:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("JgUQ")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="FileOutlined";var h=a.forwardRef(d);t.default=h},RlCK:function(e,t,n){var r=n("ProS"),i=n("bYtY");function o(e,t,n){var r,o={},a="toggleSelected"===e;return n.eachComponent("legend",(function(n){a&&null!=r?n[r?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?n[e]():(n[e](t.name),r=n.isSelected(t.name));var s=n.getData();i.each(s,(function(e){var t=e.get("name");if("\n"!==t&&""!==t){var r=n.isSelected(t);o.hasOwnProperty(t)?o[t]=o[t]&&r:o[t]=r}}))})),"allSelect"===e||"inverseSelect"===e?{selected:o}:{name:t.name,selected:o}}r.registerAction("legendToggleSelect","legendselectchanged",i.curry(o,"toggleSelected")),r.registerAction("legendAllSelect","legendselectall",i.curry(o,"allSelect")),r.registerAction("legendInverseSelect","legendinverseselect",i.curry(o,"inverseSelect")),r.registerAction("legendSelect","legendselected",i.curry(o,"select")),r.registerAction("legendUnSelect","legendunselected",i.curry(o,"unSelect"))},RotF:function(e,t,n){e.exports=n("LSTS")},Rx6q:function(e,t){function n(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}e.exports=n},"S/Yl":function(e,t,n){var r=n("Zvw2"),i=n("aX7z"),o=n("+TT/"),a=o.getLayoutRect,s=n("bYtY"),l=s.each;function c(e,t,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,n),this.model=e}c.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:c,_init:function(e,t,n){var o=this.dimension,a=new r(o,i.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===a.type;a.onBand=s&&e.get("boundaryGap"),a.inverse=e.get("inverse"),a.orient=e.get("orient"),e.axis=a,a.model=e,a.coordinateSystem=this,this._axis=a},update:function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();l(t.mapDimension(this.dimension,!0),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),i.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(e,t){this._rect=a({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),r=n?[0,e.width]:[0,e.height],i=t.reverse?1:0;t.setExtent(r[i],r[1-i]),this._updateAxisTransform(t,n?e.x:e.y)},_updateAxisTransform:function(e,t){var n=e.getExtent(),r=n[0]+n[1],i=e.isHorizontal();e.toGlobalCoord=i?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=i?function(e){return e-t}:function(e){return r-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),n=this.getAxis(),r=n.orient;return"horizontal"===r?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[i]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r}};var u=c;e.exports=u},"SA+Z":function(e,t,n){var r=n("wTVA"),i=n("EbDI"),o=n("ZhPi"),a=n("wkBT");function s(e){return r(e)||i(e)||o(e)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},"SA4+":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("IwbS"),a=n("zYTA"),s=n("bYtY");function l(e,t,n){var r=e[1]-e[0];t=s.map(t,(function(t){return{interval:[(t.interval[0]-e[0])/r,(t.interval[1]-e[0])/r]}}));var i=t.length,o=0;return function(e){for(var r=o;r<i;r++){var a=t[r].interval;if(a[0]<=e&&e<=a[1]){o=r;break}}if(r===i)for(r=o-1;r>=0;r--){a=t[r].interval;if(a[0]<=e&&e<=a[1]){o=r;break}}return r>=0&&r<i&&n[r]}}function c(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}function u(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var d=i.extendChartView({type:"heatmap",render:function(e,t,n){var r;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(r=t)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var i=e.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):u(i)&&this._renderOnGeo(i,e,r,n)},incrementalPrepareRender:function(e,t,n){this.group.removeAll()},incrementalRender:function(e,t,n,r){var i=t.coordinateSystem;i&&this._renderOnCartesianAndCalendar(t,r,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,n,r,i){var a,l,c=e.coordinateSystem;if("cartesian2d"===c.type){var u=c.getAxis("x"),d=c.getAxis("y");a=u.getBandWidth(),l=d.getBandWidth()}for(var h=this.group,f=e.getData(),p="itemStyle",A="emphasis.itemStyle",g="label",m="emphasis.label",v=e.getModel(p).getItemStyle(["color"]),y=e.getModel(A).getItemStyle(),b=e.getModel(g),_=e.getModel(m),w=c.type,x="cartesian2d"===w?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],C=n;C<r;C++){var S;if("cartesian2d"===w){if(isNaN(f.get(x[2],C)))continue;var k=c.dataToPoint([f.get(x[0],C),f.get(x[1],C)]);S=new o.Rect({shape:{x:Math.floor(Math.round(k[0])-a/2),y:Math.floor(Math.round(k[1])-l/2),width:Math.ceil(a),height:Math.ceil(l)},style:{fill:f.getItemVisual(C,"color"),opacity:f.getItemVisual(C,"opacity")}})}else{if(isNaN(f.get(x[1],C)))continue;S=new o.Rect({z2:1,shape:c.dataToRect([f.get(x[0],C)]).contentShape,style:{fill:f.getItemVisual(C,"color"),opacity:f.getItemVisual(C,"opacity")}})}var E=f.getItemModel(C);f.hasItemOption&&(v=E.getModel(p).getItemStyle(["color"]),y=E.getModel(A).getItemStyle(),b=E.getModel(g),_=E.getModel(m));var O=e.getRawValue(C),B="-";O&&null!=O[2]&&(B=O[2]),o.setLabelStyle(v,y,b,_,{labelFetcher:e,labelDataIndex:C,defaultText:B,isRectText:!0}),S.setStyle(v),o.setHoverStyle(S,f.hasItemOption?y:s.extend({},y)),S.incremental=i,i&&(S.useHoverLayer=!0),h.add(S),f.setItemGraphicEl(C,S)}},_renderOnGeo:function(e,t,n,r){var i=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,u=t.getData(),d=this._hmLayer||this._hmLayer||new a;d.blurSize=t.get("blurSize"),d.pointSize=t.get("pointSize"),d.minOpacity=t.get("minOpacity"),d.maxOpacity=t.get("maxOpacity");var h=e.getViewRect().clone(),f=e.getRoamTransform();h.applyTransform(f);var p=Math.max(h.x,0),A=Math.max(h.y,0),g=Math.min(h.width+h.x,r.getWidth()),m=Math.min(h.height+h.y,r.getHeight()),v=g-p,y=m-A,b=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],_=u.mapArray(b,(function(t,n,r){var i=e.dataToPoint([t,n]);return i[0]-=p,i[1]-=A,i.push(r),i})),w=n.getExtent(),x="visualMap.continuous"===n.type?c(w,n.option.range):l(w,n.getPieceList(),n.option.selected);d.update(_,v,y,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:s.color.getColorMapper()},x);var C=new o.Image({style:{width:v,height:y,x:p,y:A,image:d.canvas},silent:!0});this.group.add(C)},dispose:function(){}});e.exports=d},SA8n:function(e,t,n){var r=n("Sj9i"),i=n("QBsz"),o=n("U/Mo"),a=o.getSymbolSize,s=[],l=[],c=[],u=r.quadraticAt,d=i.distSquare,h=Math.abs;function f(e,t,n){for(var r,i=e[0],o=e[1],a=e[2],f=1/0,p=n*n,A=.1,g=.1;g<=.9;g+=.1){s[0]=u(i[0],o[0],a[0],g),s[1]=u(i[1],o[1],a[1],g);var m=h(d(s,t)-p);m<f&&(f=m,r=g)}for(var v=0;v<32;v++){var y=r+A;l[0]=u(i[0],o[0],a[0],r),l[1]=u(i[1],o[1],a[1],r),c[0]=u(i[0],o[0],a[0],y),c[1]=u(i[1],o[1],a[1],y);m=d(l,t)-p;if(h(m)<.01)break;var b=d(c,t)-p;A/=2,m<0?b>=0?r+=A:r-=A:b>=0?r-=A:r+=A}return r}function p(e,t){var n=[],o=r.quadraticSubdivide,s=[[],[],[]],l=[[],[]],c=[];t/=2,e.eachEdge((function(e,r){var u=e.getLayout(),d=e.getVisual("fromSymbol"),h=e.getVisual("toSymbol");u.__original||(u.__original=[i.clone(u[0]),i.clone(u[1])],u[2]&&u.__original.push(i.clone(u[2])));var p=u.__original;if(null!=u[2]){if(i.copy(s[0],p[0]),i.copy(s[1],p[2]),i.copy(s[2],p[1]),d&&"none"!==d){var A=a(e.node1),g=f(s,p[0],A*t);o(s[0][0],s[1][0],s[2][0],g,n),s[0][0]=n[3],s[1][0]=n[4],o(s[0][1],s[1][1],s[2][1],g,n),s[0][1]=n[3],s[1][1]=n[4]}if(h&&"none"!==h){A=a(e.node2),g=f(s,p[1],A*t);o(s[0][0],s[1][0],s[2][0],g,n),s[1][0]=n[1],s[2][0]=n[2],o(s[0][1],s[1][1],s[2][1],g,n),s[1][1]=n[1],s[2][1]=n[2]}i.copy(u[0],s[0]),i.copy(u[1],s[2]),i.copy(u[2],s[1])}else{if(i.copy(l[0],p[0]),i.copy(l[1],p[1]),i.sub(c,l[1],l[0]),i.normalize(c,c),d&&"none"!==d){A=a(e.node1);i.scaleAndAdd(l[0],l[0],c,A*t)}if(h&&"none"!==h){A=a(e.node2);i.scaleAndAdd(l[1],l[1],c,-A*t)}i.copy(u[0],l[0]),i.copy(u[1],l[1])}}))}e.exports=p},SJMd:function(e,t){var n=!1;window["PR_SHOULD_USE_CONTINUATION"]=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],r=[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],i=[r,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],o=[i,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],a=[i,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],s=[i,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],l="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",c=[i,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],u="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",d=[t,"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"],h=[t,"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"],f=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],p=[o,s,a,c,u,d,h,f],A=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,g="str",m="kwd",v="com",y="typ",b="lit",_="pun",w="pln",x="tag",C="dec",S="src",k="atn",E="atv",O="nocode",B="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function M(e){for(var t=0,n=!1,r=!1,i=0,o=e.length;i<o;++i){var a=e[i];if(a.ignoreCase)r=!0;else if(/[a-z]/i.test(a.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var s={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return t=s[n],t||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function c(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function u(e){var t=e.substring(1,e.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")),n=[],r="^"===t[0],i=["["];r&&i.push("^");for(var o=r?1:0,a=t.length;o<a;++o){var s=t[o];if(/\\[bdsw]/i.test(s))i.push(s);else{var u,d=l(s);o+2<a&&"-"===t[o+1]?(u=l(t[o+2]),o+=2):u=d,n.push([d,u]),u<65||d>122||(u<65||d>90||n.push([32|Math.max(65,d),32|Math.min(u,90)]),u<97||d>122||n.push([-33&Math.max(97,d),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var h=[],f=[];for(o=0;o<n.length;++o){var p=n[o];p[0]<=f[1]+1?f[1]=Math.max(f[1],p[1]):h.push(f=p)}for(o=0;o<h.length;++o){p=h[o];i.push(c(p[0])),p[1]>p[0]&&(p[1]+1>p[0]&&i.push("-"),i.push(c(p[1])))}return i.push("]"),i.join("")}function d(e){for(var r=e.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")),i=r.length,o=[],a=0,s=0;a<i;++a){var l=r[a];if("("===l)++s;else if("\\"===l.charAt(0)){var d=+l.substring(1);d&&(d<=s?o[d]=-1:r[a]=c(d))}}for(a=1;a<o.length;++a)-1===o[a]&&(o[a]=++t);for(a=0,s=0;a<i;++a){l=r[a];if("("===l)++s,o[s]||(r[a]="(?:");else if("\\"===l.charAt(0)){d=+l.substring(1);d&&d<=s&&(r[a]="\\"+o[d])}}for(a=0;a<i;++a)"^"===r[a]&&"^"!==r[a+1]&&(r[a]="");if(e.ignoreCase&&n)for(a=0;a<i;++a){l=r[a];var h=l.charAt(0);l.length>=2&&"["===h?r[a]=u(l):"\\"!==h&&(r[a]=l.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var h=[];for(i=0,o=e.length;i<o;++i){a=e[i];if(a.global||a.multiline)throw new Error(""+a);h.push("(?:"+d(a)+")")}return new RegExp(h.join("|"),r?"gi":"g")}function T(e,t){var n=/(?:^|\s)nocode(?:\s|$)/,r=[],i=0,o=[],a=0;function s(e){var l=e.nodeType;if(1==l){if(n.test(e.className))return;for(var c=e.firstChild;c;c=c.nextSibling)s(c);var u=e.nodeName.toLowerCase();"br"!==u&&"li"!==u||(r[a]="\n",o[a<<1]=i++,o[a++<<1|1]=e)}else if(3==l||4==l){var d=e.nodeValue;d.length&&(d=t?d.replace(/\r\n?/g,"\n"):d.replace(/[ \t\r\n]+/g," "),r[a]=d,o[a<<1]=i,i+=d.length,o[a++<<1|1]=e)}}return s(e),{sourceCode:r.join("").replace(/\n$/,""),spans:o}}function I(e,t,n,r,i){if(n){var o={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(o),i.push.apply(i,o.decorations)}}var L=/\S/;function D(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&L.test(n.nodeValue)?e:t}return t===e?void 0:t}function P(e,t){var n,r={};(function(){for(var i=e.concat(t),o=[],a={},s=0,l=i.length;s<l;++s){var c=i[s],u=c[3];if(u)for(var d=u.length;--d>=0;)r[u.charAt(d)]=c;var h=c[1],f=""+h;a.hasOwnProperty(f)||(o.push(h),a[f]=null)}o.push(/[\0-\uffff]/),n=M(o)})();var i=t.length,o=function e(o){for(var a=o.sourceCode,s=o.basePos,l=o.sourceNode,c=[s,w],u=0,d=a.match(n)||[],h={},f=0,p=d.length;f<p;++f){var A,g=d[f],m=h[g],v=void 0;if("string"===typeof m)A=!1;else{var y=r[g.charAt(0)];if(y)v=g.match(y[1]),m=y[0];else{for(var b=0;b<i;++b)if(y=t[b],v=g.match(y[1]),v){m=y[0];break}v||(m=w)}A=m.length>=5&&"lang-"===m.substring(0,5),!A||v&&"string"===typeof v[1]||(A=!1,m=S),A||(h[g]=m)}var _=u;if(u+=g.length,A){var x=v[1],C=g.indexOf(x),k=C+x.length;v[2]&&(k=g.length-v[2].length,C=k-x.length);var E=m.substring(5);I(l,s+_,g.substring(0,C),e,c),I(l,s+_+C,x,Q(E,x),c),I(l,s+_+k,g.substring(k),e,c)}else c.push(s+_,m)}o.decorations=c};return o}function N(e){var t=[],n=[];e["tripleQuotedStrings"]?t.push([g,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e["multiLineStrings"]?t.push([g,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push([g,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e["verbatimStrings"]&&n.push([g,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e["hashComments"];r&&(e["cStyleComments"]?(r>1?t.push([v,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push([v,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push([g,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push([v,/^#[^\r\n]*/,null,"#"])),e["cStyleComments"]&&(n.push([v,/^\/\/[^\r\n]*/,null]),n.push([v,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var i=e["regexLiterals"];if(i){var o=i>1?"":"\n\r",a=o?".":"[\\S\\s]",s="/(?=[^/*"+o+"])(?:[^/\\x5B\\x5C"+o+"]|\\x5C"+a+"|\\x5B(?:[^\\x5C\\x5D"+o+"]|\\x5C"+a+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^"+B+"("+s+")")])}var l=e["types"];l&&n.push([y,l]);var c=(""+e["keywords"]).replace(/^ | $/g,"");c.length&&n.push([m,new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push([w,/^\s+/,null," \r\n\t\xa0"]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e["regexLiterals"]&&(u+="(?!s*/)"),n.push([b,/^@[a-z_$][a-z_$@0-9]*/i,null],[y,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[w,/^[a-z_$][a-z_$@0-9]*/i,null],[b,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[w,/^\\[\s\S]?/,null],[_,new RegExp(u),null]),P(t,n)}var j=N({keywords:p,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function F(e,t,n){var r=/(?:^|\s)nocode(?:\s|$)/,i=/\r\n?|\n/,o=e.ownerDocument,a=o.createElement("li");while(e.firstChild)a.appendChild(e.firstChild);var s=[a];function l(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var a=e.nodeValue,s=a.match(i);if(s){var u=a.substring(0,s.index);e.nodeValue=u;var d=a.substring(s.index+s[0].length);if(d){var h=e.parentNode;h.insertBefore(o.createTextNode(d),e.nextSibling)}c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var f=e.firstChild;f;f=f.nextSibling)l(f)}function c(e){while(!e.nextSibling)if(e=e.parentNode,!e)return;function t(e,n){var r=n?e.cloneNode(!1):e,i=e.parentNode;if(i){var o=t(i,1),a=e.nextSibling;o.appendChild(r);for(var s=a;s;s=a)a=s.nextSibling,o.appendChild(s)}return r}for(var n,r=t(e.nextSibling,0);(n=r.parentNode)&&1===n.nodeType;)r=n;s.push(r)}for(var u=0;u<s.length;++u)l(s[u]);t===(0|t)&&s[0].setAttribute("value",t);var d=o.createElement("ol");d.className="linenums";for(var h=Math.max(0,t-1|0)||0,f=(u=0,s.length);u<f;++u)a=s[u],a.className="L"+(u+h)%10,a.firstChild||a.appendChild(o.createTextNode("\xa0")),d.appendChild(a);e.appendChild(d)}function R(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,i=/\n/g,o=e.sourceCode,a=o.length,s=0,l=e.spans,c=l.length,u=0,d=e.decorations,h=d.length,f=0;for(d[h]=a,r=n=0;r<h;)d[r]!==d[r+2]?(d[n++]=d[r++],d[n++]=d[r++]):r+=2;for(h=n,r=n=0;r<h;){var p=d[r],A=d[r+1],g=r+2;while(g+2<=h&&d[g+1]===A)g+=2;d[n++]=p,d[n++]=A,r=g}h=d.length=n;var m=e.sourceNode,v="";m&&(v=m.style.display,m.style.display="none");try{while(u<c){l[u];var y,b=l[u+2]||a,_=d[f+2]||a,w=(g=Math.min(b,_),l[u+1]);if(1!==w.nodeType&&(y=o.substring(s,g))){t&&(y=y.replace(i,"\r")),w.nodeValue=y;var x=w.ownerDocument,C=x.createElement("span");C.className=d[f+1];var S=w.parentNode;S.replaceChild(C,w),C.appendChild(w),s<b&&(l[u+1]=w=x.createTextNode(o.substring(g,b)),S.insertBefore(w,C.nextSibling))}s=g,s>=b&&(u+=2),s>=_&&(f+=2)}}finally{m&&(m.style.display=v)}}var U={};function H(t,n){for(var r=n.length;--r>=0;){var i=n[r];U.hasOwnProperty(i)?e["console"]&&console["warn"]("cannot override language handler %s",i):U[i]=t}}function Q(e,t){return e&&U.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),U[e]}function K(t){var n=t.langExtension;try{var r=T(t.sourceNode,t.pre),i=r.sourceCode;t.sourceCode=i,t.spans=r.spans,t.basePos=0,Q(n,i)(t),R(t)}catch(o){e["console"]&&console["log"](o&&o["stack"]||o)}}function z(e,t,n){var r=n||!1,i=t||null,o=document.createElement("div");o.innerHTML="<pre>"+e+"</pre>",o=o.firstChild,r&&F(o,r,!0);var a={langExtension:i,numberLines:r,sourceNode:o,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return K(a),o.innerHTML}function V(t,n){var r=n||document.body,i=r.ownerDocument||document;function o(e){return r.getElementsByTagName(e)}for(var a=[o("pre"),o("code"),o("xmp")],s=[],l=0;l<a.length;++l)for(var c=0,u=a[l].length;c<u;++c)s.push(a[l][c]);a=null;var d=Date;d["now"]||(d={now:function(){return+new Date}});var h=0,f=/\blang(?:uage)?-([\w.]+)(?!\S)/,p=/\bprettyprint\b/,A=/\bprettyprinted\b/,g=/pre|xmp/i,m=/^code$/i,v=/^(?:pre|code|xmp)$/i,y={};function b(){for(var n=e["PR_SHOULD_USE_CONTINUATION"]?d["now"]()+250:1/0;h<s.length&&d["now"]()<n;h++){for(var r=s[h],o=y,a=r;a=a.previousSibling;){var l=a.nodeType,c=(7===l||8===l)&&a.nodeValue;if(c?!/^\??prettify\b/.test(c):3!==l||/\S/.test(a.nodeValue))break;if(c){o={},c.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){o[t]=n}));break}}var u=r.className;if((o!==y||p.test(u))&&!A.test(u)){for(var _=!1,w=r.parentNode;w;w=w.parentNode){var x=w.tagName;if(v.test(x)&&w.className&&p.test(w.className)){_=!0;break}}if(!_){r.className+=" prettyprinted";var C,S,k=o["lang"];if(!k)k=u.match(f),!k&&(C=D(r))&&m.test(C.tagName)&&(k=C.className.match(f)),k&&(k=k[1]);if(g.test(r.tagName))S=1;else{var E=r["currentStyle"],O=i.defaultView,B=E?E["whiteSpace"]:O&&O.getComputedStyle?O.getComputedStyle(r,null).getPropertyValue("white-space"):0;S=B&&"pre"===B.substring(0,3)}var M=o["linenums"];(M="true"===M||+M)||(M=u.match(/\blinenums\b(?::(\d+))?/),M=!!M&&(!M[1]||!M[1].length||+M[1])),M&&F(r,M,S);var T={langExtension:k,sourceNode:r,numberLines:M,pre:S,sourceCode:null,basePos:null,spans:null,decorations:null};K(T)}}}h<s.length?e.setTimeout(b,250):"function"===typeof t&&t()}b()}H(j,["default-code"]),H(P([],[[w,/^[^<?]+/],[C,/^<!\w[^>]*(?:>|$)/],[v,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[_,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),H(P([[w,/^[\s]+/,null," \t\r\n"],[E,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[x,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[k,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[_,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),H(P([],[[E,/^[\s\S]+/]]),["uq.val"]),H(N({keywords:o,hashComments:!0,cStyleComments:!0,types:A}),["c","cc","cpp","cxx","cyc","m"]),H(N({keywords:"null,true,false"}),["json"]),H(N({keywords:s,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:A}),["cs"]),H(N({keywords:a,cStyleComments:!0}),["java"]),H(N({keywords:f,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),H(N({keywords:d,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),H(N({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),H(N({keywords:h,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),H(N({keywords:c,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),H(N({keywords:l,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),H(P([],[[g,/^[\s\S]+/]]),["regex"]);var W=e["PR"]={createSimpleLexer:P,registerLangHandler:H,sourceDecorator:N,PR_ATTRIB_NAME:k,PR_ATTRIB_VALUE:E,PR_COMMENT:v,PR_DECLARATION:C,PR_KEYWORD:m,PR_LITERAL:b,PR_NOCODE:O,PR_PLAIN:w,PR_PUNCTUATION:_,PR_SOURCE:S,PR_STRING:g,PR_TAG:x,PR_TYPE:y,prettyPrintOne:n?e["prettyPrintOne"]=z:z,prettyPrint:n?e["prettyPrint"]=V:V},G=e["define"];"function"===typeof G&&G["amd"]&&G("google-code-prettify",[],(function(){return W}))}()},SKnc:function(e,t,n){var r=n("bYtY"),i=n("QuXc"),o=function(e,t,n,r,o,a){this.x=null==e?0:e,this.y=null==t?0:t,this.x2=null==n?1:n,this.y2=null==r?0:r,this.type="linear",this.global=a||!1,i.call(this,o)};o.prototype={constructor:o},r.inherits(o,i);var a=o;e.exports=a},"SKx+":function(e,t,n){var r=n("ProS"),i=r.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}}}),o=i;e.exports=o},SMc4:function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("nkfE"),a=n("ICMv"),s=i.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(e,t){return t.type||(t.data?"category":"value")}r.merge(s.prototype,a);var c={offset:0};o("x",s,l,c),o("y",s,l,c);var u=s;e.exports=u},SRve:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},SUKs:function(e,t,n){var r=n("LPTA"),i=r.debugMode,o=function(){};1===i&&(o=console.error);var a=o;e.exports=a},SZEN:function(e,t,n){"use strict";function r(e,t,n){var r=n.getBoundingClientRect(),i={x:0,y:0};return e<r.left?i.x=0:e>=r.right?i.x=r.width-1:i.x=e-r.left,t<r.top?i.y=0:t>=r.bottom?i.y=r.height-1:i.y=t-r.top,i}Object.defineProperty(t,"__esModule",{value:!0}),t.clientToElement=r},Sdc0:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("q1tI"),l=n("rePB"),c=n("ODXe"),u=n("Ff2n"),d=n("TSYQ"),h=n.n(d),f=n("6cGi"),p=n("4IlW"),A=s["forwardRef"]((function(e,t){var n,r=e.prefixCls,i=void 0===r?"rc-switch":r,o=e.className,a=e.checked,d=e.defaultChecked,A=e.disabled,g=e.loadingIcon,m=e.checkedChildren,v=e.unCheckedChildren,y=e.onClick,b=e.onChange,_=e.onKeyDown,w=Object(u["a"])(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),x=Object(f["a"])(!1,{value:a,defaultValue:d}),C=Object(c["a"])(x,2),S=C[0],k=C[1];function E(e,t){var n=S;return A||(n=e,k(n),null===b||void 0===b||b(n,t)),n}function O(e){e.which===p["a"].LEFT?E(!1,e):e.which===p["a"].RIGHT&&E(!0,e),null===_||void 0===_||_(e)}function B(e){var t=E(!S,e);null===y||void 0===y||y(t,e)}var M=h()(i,o,(n={},Object(l["a"])(n,"".concat(i,"-checked"),S),Object(l["a"])(n,"".concat(i,"-disabled"),A),n));return s["createElement"]("button",Object.assign({},w,{type:"button",role:"switch","aria-checked":S,disabled:A,className:M,ref:t,onKeyDown:O,onClick:B}),g,s["createElement"]("span",{className:"".concat(i,"-inner")},S?m:v))}));A.displayName="Switch";var g=A,m=n("gZBC"),v=n.n(m),y=n("g0mS"),b=n("H84U"),_=n("3Nzz"),w=n("uaoM"),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},C=s["forwardRef"]((function(e,t){var n,r=e.prefixCls,o=e.size,l=e.loading,c=e.className,u=void 0===c?"":c,d=e.disabled,f=x(e,["prefixCls","size","loading","className","disabled"]);Object(w["a"])("checked"in f||!("value"in f),"Switch","`value` is not a valid prop, do you mean `checked`?");var p=s["useContext"](b["b"]),A=p.getPrefixCls,m=p.direction,C=s["useContext"](_["b"]),S=A("switch",r),k=s["createElement"]("div",{className:"".concat(S,"-handle")},l&&s["createElement"](v.a,{className:"".concat(S,"-loading-icon")})),E=h()(u,(n={},a()(n,"".concat(S,"-small"),"small"===(o||C)),a()(n,"".concat(S,"-loading"),l),a()(n,"".concat(S,"-rtl"),"rtl"===m),n));return s["createElement"](y["a"],{insertExtraNode:!0},s["createElement"](g,i()({},f,{prefixCls:S,className:E,disabled:d||l,ref:t,loadingIcon:k})))}));C.__ANT_SWITCH=!0,C.displayName="Switch";t["a"]=C},SehX:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("2B6p"),a=o.updateCenterAndZoom;r.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){var r=t.coordinateSystem;if("geo"===r.type){var o=a(r,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===n&&i.each(t.seriesGroup,(function(e){e.setCenter(o.center),e.setZoom(o.zoom)}))}}))}))},SfRM:function(e,t,n){var r=n("YESw");function i(){this.__data__=r?r(null):{},this.size=0}e.exports=i},SgGq:function(e,t,n){var r=n("bYtY"),i=n("H6uX"),o=n("YH21"),a=n("pP6R");function s(e){this.pointerChecker,this._zr=e,this._opt={};var t=r.bind,n=t(l,this),o=t(c,this),a=t(u,this),s=t(d,this),f=t(h,this);i.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,i){this.disable(),this._opt=r.defaults(r.clone(i)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",o),e.on("mouseup",a)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",f))},this.disable=function(){e.off("mousedown",n),e.off("mousemove",o),e.off("mouseup",a),e.off("mousewheel",s),e.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(o.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,n=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,n)&&(this._x=t,this._y=n,this._dragging=!0)}}function c(e){if(this._dragging&&A("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!a.isTaken(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,r=this._x,i=this._y,s=t-r,l=n-i;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&o.stop(e.event),p(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:r,oldY:i,newX:t,newY:n})}}function u(e){o.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function d(e){var t=A("zoomOnMouseWheel",e,this._opt),n=A("moveOnMouseWheel",e,this._opt),r=e.wheelDelta,i=Math.abs(r),o=e.offsetX,a=e.offsetY;if(0!==r&&(t||n)){if(t){var s=i>3?1.4:i>1?1.2:1.1,l=r>0?s:1/s;f(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:o,originY:a})}if(n){var c=Math.abs(r),u=(r>0?1:-1)*(c>3?.4:c>1?.15:.05);f(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:u,originX:o,originY:a})}}}function h(e){if(!a.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;f(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY})}}function f(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(o.stop(r.event),p(e,t,n,r,i))}function p(e,t,n,i,o){o.isAvailableBehavior=r.bind(A,null,n,i),e.trigger(t,o)}function A(e,t,n){var i=n[e];return!e||i&&(!r.isString(i)||t.event[i+"Key"])}r.mixin(s,i);var g=s;e.exports=g},SgaC:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=function(){function e(){r(this,e),this._subrects=0}return o(e,[{key:"decodeRect",value:function(e,t,n,r,i,o,a){if(0===this._subrects){if(i.rQwait("RRE",8))return!1;this._subrects=i.rQshift32();var s=i.rQshiftBytes(4);o.fillRect(e,t,n,r,s)}while(this._subrects>0){if(i.rQwait("RRE",12))return!1;var l=i.rQshiftBytes(4),c=i.rQshift16(),u=i.rQshift16(),d=i.rQshift16(),h=i.rQshift16();o.fillRect(e+c,t+u,d,h,l),this._subrects--}return!0}}]),e}();t["default"]=a},Sj0X:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("XuBP")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="DownOutlined";var h=a.forwardRef(d);t.default=h},Sj9i:function(e,t,n){var r=n("QBsz"),i=r.create,o=r.distSquare,a=Math.pow,s=Math.sqrt,l=1e-8,c=1e-4,u=s(3),d=1/3,h=i(),f=i(),p=i();function A(e){return e>-l&&e<l}function g(e){return e>l||e<-l}function m(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function v(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function y(e,t,n,r,i,o){var l=r+3*(t-n)-e,c=3*(n-2*t+e),h=3*(t-e),f=e-i,p=c*c-3*l*h,g=c*h-9*l*f,m=h*h-3*c*f,v=0;if(A(p)&&A(g))if(A(c))o[0]=0;else{var y=-h/c;y>=0&&y<=1&&(o[v++]=y)}else{var b=g*g-4*p*m;if(A(b)){var _=g/p,w=(y=-c/l+_,-_/2);y>=0&&y<=1&&(o[v++]=y),w>=0&&w<=1&&(o[v++]=w)}else if(b>0){var x=s(b),C=p*c+1.5*l*(-g+x),S=p*c+1.5*l*(-g-x);C=C<0?-a(-C,d):a(C,d),S=S<0?-a(-S,d):a(S,d);y=(-c-(C+S))/(3*l);y>=0&&y<=1&&(o[v++]=y)}else{var k=(2*p*c-3*l*g)/(2*s(p*p*p)),E=Math.acos(k)/3,O=s(p),B=Math.cos(E),M=(y=(-c-2*O*B)/(3*l),w=(-c+O*(B+u*Math.sin(E)))/(3*l),(-c+O*(B-u*Math.sin(E)))/(3*l));y>=0&&y<=1&&(o[v++]=y),w>=0&&w<=1&&(o[v++]=w),M>=0&&M<=1&&(o[v++]=M)}}return v}function b(e,t,n,r,i){var o=6*n-12*t+6*e,a=9*t+3*r-3*e-9*n,l=3*t-3*e,c=0;if(A(a)){if(g(o)){var u=-l/o;u>=0&&u<=1&&(i[c++]=u)}}else{var d=o*o-4*a*l;if(A(d))i[0]=-o/(2*a);else if(d>0){var h=s(d),f=(u=(-o+h)/(2*a),(-o-h)/(2*a));u>=0&&u<=1&&(i[c++]=u),f>=0&&f<=1&&(i[c++]=f)}}return c}function _(e,t,n,r,i,o){var a=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,c=(s-a)*i+a,u=(l-s)*i+s,d=(u-c)*i+c;o[0]=e,o[1]=a,o[2]=c,o[3]=d,o[4]=d,o[5]=u,o[6]=l,o[7]=r}function w(e,t,n,r,i,a,l,u,d,A,g){var v,y,b,_,w,x=.005,C=1/0;h[0]=d,h[1]=A;for(var S=0;S<1;S+=.05)f[0]=m(e,n,i,l,S),f[1]=m(t,r,a,u,S),_=o(h,f),_<C&&(v=S,C=_);C=1/0;for(var k=0;k<32;k++){if(x<c)break;y=v-x,b=v+x,f[0]=m(e,n,i,l,y),f[1]=m(t,r,a,u,y),_=o(f,h),y>=0&&_<C?(v=y,C=_):(p[0]=m(e,n,i,l,b),p[1]=m(t,r,a,u,b),w=o(p,h),b<=1&&w<C?(v=b,C=w):x*=.5)}return g&&(g[0]=m(e,n,i,l,v),g[1]=m(t,r,a,u,v)),s(C)}function x(e,t,n,r){var i=1-r;return i*(i*e+2*r*t)+r*r*n}function C(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function S(e,t,n,r,i){var o=e-2*t+n,a=2*(t-e),l=e-r,c=0;if(A(o)){if(g(a)){var u=-l/a;u>=0&&u<=1&&(i[c++]=u)}}else{var d=a*a-4*o*l;if(A(d)){u=-a/(2*o);u>=0&&u<=1&&(i[c++]=u)}else if(d>0){var h=s(d),f=(u=(-a+h)/(2*o),(-a-h)/(2*o));u>=0&&u<=1&&(i[c++]=u),f>=0&&f<=1&&(i[c++]=f)}}return c}function k(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function E(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,s=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function O(e,t,n,r,i,a,l,u,d){var A,g=.005,m=1/0;h[0]=l,h[1]=u;for(var v=0;v<1;v+=.05){f[0]=x(e,n,i,v),f[1]=x(t,r,a,v);var y=o(h,f);y<m&&(A=v,m=y)}m=1/0;for(var b=0;b<32;b++){if(g<c)break;var _=A-g,w=A+g;f[0]=x(e,n,i,_),f[1]=x(t,r,a,_);y=o(f,h);if(_>=0&&y<m)A=_,m=y;else{p[0]=x(e,n,i,w),p[1]=x(t,r,a,w);var C=o(p,h);w<=1&&C<m?(A=w,m=C):g*=.5}}return d&&(d[0]=x(e,n,i,A),d[1]=x(t,r,a,A)),s(m)}t.cubicAt=m,t.cubicDerivativeAt=v,t.cubicRootAt=y,t.cubicExtrema=b,t.cubicSubdivide=_,t.cubicProjectPoint=w,t.quadraticAt=x,t.quadraticDerivativeAt=C,t.quadraticRootAt=S,t.quadraticExtremum=k,t.quadraticSubdivide=E,t.quadraticProjectPoint=O},Sp2Z:function(e,t,n){var r=n("3LNs"),i=n("/y7N"),o=n("AVZG"),a=n("Znkb"),s=r.extend({makeElOption:function(e,t,n,r,a){var s=n.axis,u=s.grid,d=r.get("type"),h=l(u,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(t,!0));if(d&&"none"!==d){var p=i.buildElStyle(r),A=c[d](s,f,h);A.style=p,e.graphicKey=A.type,e.pointer=A}var g=o.layout(u.model,n);i.buildCartesianSingleLabelElOption(t,e,g,n,r,a)},getHandleTransform:function(e,t,n){var r=o.layout(t.axis.grid.model,t,{labelInside:!1});return r.labelMargin=n.get("handle.margin"),{position:i.getTransformedPosition(t.axis,e,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=l(o,i).getOtherAxis(i).getGlobalExtent(),c="x"===i.dim?0:1,u=e.position;u[c]+=t[c],u[c]=Math.min(a[1],u[c]),u[c]=Math.max(a[0],u[c]);var d=(s[1]+s[0])/2,h=[d,d];h[c]=u[c];var f=[{verticalAlign:"middle"},{align:"center"}];return{position:u,rotation:e.rotation,cursorPoint:h,tooltipOption:f[c]}}});function l(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var c={line:function(e,t,n){var r=i.makeLineShape([t,n[0]],[t,n[1]],u(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),o=n[1]-n[0];return{type:"Rect",shape:i.makeRectShape([t-r/2,n[0]],[r,o],u(e))}}};function u(e){return"x"===e.dim?0:1}a.registerAxisPointerClass("CartesianAxisPointer",s);var d=s;e.exports=d},Sq3C:function(e,t,n){var r=n("sKgW"),i=n("zoYe"),o=n("wy8a"),a=n("quyA"),s=n("Z1HP"),l=n("Em2t"),c=Math.ceil;function u(e,t){t=void 0===t?" ":i(t);var n=t.length;if(n<2)return n?r(t,e):t;var u=r(t,c(e/s(t)));return a(t)?o(l(u),0,e).join(""):u.slice(0,e)}e.exports=u},SqI9:function(e,t,n){var r=n("y+Vt"),i=n("iXp4"),o=r.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:i(r.prototype.brush),buildPath:function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=t.startAngle,s=t.endAngle,l=t.clockwise,c=Math.cos(a),u=Math.sin(a);e.moveTo(c*i+n,u*i+r),e.lineTo(c*o+n,u*o+r),e.arc(n,r,o,a,s,!l),e.lineTo(Math.cos(s)*i+n,Math.sin(s)*i+r),0!==i&&e.arc(n,r,i,s,a,l),e.closePath()}});e.exports=o},SrGk:function(e,t,n){var r=n("hydK"),i=r.createElement,o=n("bYtY"),a=n("y+Vt"),s=n("Dagg"),l=n("dqUG"),c=n("P47w"),u=c.path,d=c.image,h=c.text,f="0",p="1";function A(e,t,n,r,i){this._zrId=e,this._svgRoot=t,this._tagNames="string"===typeof n?[n]:n,this._markLabel=r,this._domName=i||"_dom",this.nextId=0}A.prototype.createElement=i,A.prototype.getDefs=function(e){var t=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");return 0===n.length?e?(n=t.insertBefore(this.createElement("defs"),t.firstChild),n.contains||(n.contains=function(e){var t=n.children;if(!t)return!1;for(var r=t.length-1;r>=0;--r)if(t[r]===e)return!0;return!1}),n):null:n[0]},A.prototype.update=function(e,t){if(e){var n=this.getDefs(!1);if(e[this._domName]&&n.contains(e[this._domName]))"function"===typeof t&&t(e);else{var r=this.add(e);r&&(e[this._domName]=r)}}},A.prototype.addDom=function(e){var t=this.getDefs(!0);t.appendChild(e)},A.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},A.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return o.each(this._tagNames,(function(n){var r=e.getElementsByTagName(n);t=t.concat([].slice.call(r))})),t},A.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;o.each(e,(function(e){e[t._markLabel]=f}))},A.prototype.markUsed=function(e){e&&(e[this._markLabel]=p)},A.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),n=this;o.each(t,(function(t){t[n._markLabel]!==p&&e.removeChild(t)}))}},A.prototype.getSvgProxy=function(e){return e instanceof a?u:e instanceof s?d:e instanceof l?h:u},A.prototype.getTextSvgElement=function(e){return e.__textSvgEl},A.prototype.getSvgElement=function(e){return e.__svgEl};var g=A;e.exports=g},Swgg:function(e,t,n){var r=n("fc+c"),i=r.extend({type:"dataZoom.select"});e.exports=i},Sxd8:function(e,t,n){var r=n("ZCgT");function i(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}e.exports=i},T1rO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("zdCA"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},T4UG:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("ItGF"),a=n("7aKB"),s=a.formatTime,l=a.encodeHTML,c=a.addCommas,u=a.getTooltipMarker,d=n("4NO4"),h=n("bLfw"),f=n("5Hur"),p=n("OKJ2"),A=n("+TT/"),g=A.getLayoutParams,m=A.mergeLayoutParam,v=n("9H2F"),y=v.createTask,b=n("D5nY"),_=b.prepareSource,w=b.getSource,x=n("KxfA"),C=x.retrieveRawValue,S=d.makeInner(),k=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(e,t,n,r){this.seriesIndex=this.componentIndex,this.dataTask=y({count:B,reset:M}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),_(this);var i=this.getInitialData(e,n);I(i,this),this.dataTask.context.data=i,S(this).dataBeforeProcessed=i,E(this)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,r=n?g(e):{},o=this.subType;h.hasClass(o)&&(o+="Series"),i.merge(e,t.getTheme().get(this.subType)),i.merge(e,this.getDefaultOption()),d.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&m(e,r,n)},mergeOption:function(e,t){e=i.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=this.layoutMode;n&&m(this.option,e,n),_(this);var r=this.getInitialData(e,t);I(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,S(this).dataBeforeProcessed=r,E(this)},fillDataTextStyle:function(e){if(e&&!i.isTypedArray(e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&d.defaultEmphasis(e[n],"label",t)},getInitialData:function(){},appendData:function(e){var t=this.getRawData();t.appendData(e.data)},getData:function(e){var t=D(this);if(t){var n=t.context.data;return null==e?n:n.getLinkedData(e)}return S(this).data},setData:function(e){var t=D(this);if(t){var n=t.context;n.data!==e&&t.modifyOutputEnd&&t.setOutputEnd(e.count()),n.outputData=e,t!==this.dataTask&&(n.data=e)}S(this).data=e},getSource:function(){return w(this)},getRawData:function(){return S(this).dataBeforeProcessed},getBaseAxis:function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},formatTooltip:function(e,t,n,r){var o=this;r=r||"html";var a="html"===r?"<br/>":"\n",h="richText"===r,f={},p=0;function A(n){var a=i.reduce(n,(function(e,t,n){var r=m.getDimensionInfo(n);return e|(r&&!1!==r.tooltip&&null!=r.displayName)}),0),d=[];function A(e,n){var i=m.getDimensionInfo(n);if(i&&!1!==i.otherDims.tooltip){var A=i.type,g="sub"+o.seriesIndex+"at"+p,v=u({color:w,type:"subItem",renderMode:r,markerId:g}),y="string"===typeof v?v:v.content,b=(a?y+l(i.displayName||"-")+": ":"")+l("ordinal"===A?e+"":"time"===A?t?"":s("yyyy/MM/dd hh:mm:ss",e):c(e));b&&d.push(b),h&&(f[g]=w,++p)}}v.length?i.each(v,(function(t){A(C(m,e,t),t)})):i.each(n,A);var g=a?h?"\n":"<br/>":"",y=g+d.join(g||", ");return{renderMode:r,content:y,style:f}}function g(e){return{renderMode:r,content:l(c(e)),style:f}}var m=this.getData(),v=m.mapDimension("defaultedTooltip",!0),y=v.length,b=this.getRawValue(e),_=i.isArray(b),w=m.getItemVisual(e,"color");i.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var x=y>1||_&&!y?A(b):g(y?C(m,e,v[0]):_?b[0]:b),S=x.content,k=o.seriesIndex+"at"+p,E=u({color:w,type:"item",renderMode:r,markerId:k});f[k]=w,++p;var O=m.getName(e),B=this.name;d.isNameSpecified(this)||(B=""),B=B?l(B)+(t?": ":a):"";var M="string"===typeof E?E:E.content,T=t?M+B+S:B+M+(O?l(O)+": "+S:S);return{html:T,markers:f}},isAnimationEnabled:function(){if(o.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(e,t,n){var r=this.ecModel,i=f.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},coordDimToDataDim:function(e){return this.getRawData().mapDimension(e,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function E(e){var t=e.name;d.isNameSpecified(e)||(e.name=O(e)||t)}function O(e){var t=e.getRawData(),n=t.mapDimension("seriesName",!0),r=[];return i.each(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}function B(e){return e.model.getRawData().count()}function M(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),T}function T(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function I(e,t){i.each(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,i.curry(L,t))}))}function L(e){var t=D(e);t&&t.setOutputEnd(this.count())}function D(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}i.mixin(k,p),i.mixin(k,f);var P=k;e.exports=P},T6xi:function(e,t,n){var r=n("YgsL"),i=n("nCxF");function o(e,t,n){var o=t.points,a=t.smooth;if(o&&o.length>=2){if(a&&"spline"!==a){var s=i(o,a,n,t.smoothConstraint);e.moveTo(o[0][0],o[0][1]);for(var l=o.length,c=0;c<(n?l:l-1);c++){var u=s[2*c],d=s[2*c+1],h=o[(c+1)%l];e.bezierCurveTo(u[0],u[1],d[0],d[1],h[0],h[1])}}else{"spline"===a&&(o=r(o,n)),e.moveTo(o[0][0],o[0][1]);c=1;for(var f=o.length;c<f;c++)e.lineTo(o[c][0],o[c][1])}n&&e.closePath()}}t.buildPath=o},TIY9:function(e,t,n){var r=n("bYtY"),i=r.each,o=n("vafp"),a=n("4NO4"),s=a.makeInner,l=n("Mgri"),c=n("F5Ls"),u=n("a9QJ"),d=n("p/La"),h=s(),f={load:function(e,t,n){var r=h(t).parsed;if(r)return r;var a,s=t.specialAreas||{},f=t.geoJSON;try{a=f?o(f,n):[]}catch(A){throw new Error("Invalid geoJson format\n"+A.message)}return l(e,a),i(a,(function(t){var n=t.name;c(e,t),u(e,t),d(e,t);var r=s[n];r&&t.transformTo(r.left,r.top,r.width,r.height)})),h(t).parsed={regions:a,boundingRect:p(a)}}};function p(e){for(var t,n=0;n<e.length;n++){var r=e[n].getBoundingRect();t=t||r.clone(),t.union(r)}return t}e.exports=f},TJmX:function(e,t,n){var r=n("zM3Q"),i=["itemStyle","borderColor"],o=["itemStyle","borderColor0"],a=["itemStyle","color"],s=["itemStyle","color0"],l={seriesType:"candlestick",plan:r(),performRawSeries:!0,reset:function(e,t){var n=e.getData();if(n.setVisual({legendSymbol:"roundRect",colorP:c(1,e),colorN:c(-1,e),borderColorP:u(1,e),borderColorN:u(-1,e)}),!t.isSeriesFiltered(e)){var r=e.pipelineContext.large;return!r&&{progress:l}}function l(e,t){var n;while(null!=(n=e.next())){var r=t.getItemModel(n),i=t.getItemLayout(n).sign;t.setItemVisual(n,{color:c(i,r),borderColor:u(i,r)})}}function c(e,t){return t.get(e>0?a:s)}function u(e,t){return t.get(e>0?i:o)}}};e.exports=l},TWL2:function(e,t,n){var r=n("IwbS"),i=n("bYtY"),o=n("6Ic6");function a(e,t){r.Group.call(this);var n=new r.Polygon,i=new r.Polyline,o=new r.Text;this.add(n),this.add(i),this.add(o),this.highDownOnUpdate=function(e,t){"emphasis"===t?(i.ignore=i.hoverIgnore,o.ignore=o.hoverIgnore):(i.ignore=i.normalIgnore,o.ignore=o.normalIgnore)},this.updateData(e,t,!0)}var s=a.prototype,l=["itemStyle","opacity"];s.updateData=function(e,t,n){var o=this.childAt(0),a=e.hostModel,s=e.getItemModel(t),c=e.getItemLayout(t),u=e.getItemModel(t).get(l);u=null==u?1:u,o.useStyle({}),n?(o.setShape({points:c.points}),o.setStyle({opacity:0}),r.initProps(o,{style:{opacity:u}},a,t)):r.updateProps(o,{style:{opacity:u},shape:{points:c.points}},a,t);var d=s.getModel("itemStyle"),h=e.getItemVisual(t,"color");o.setStyle(i.defaults({lineJoin:"round",fill:h},d.getItemStyle(["opacity"]))),o.hoverStyle=d.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),r.setHoverStyle(this)},s._updateLabel=function(e,t){var n=this.childAt(1),i=this.childAt(2),o=e.hostModel,a=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,c=e.getItemVisual(t,"color");r.updateProps(n,{shape:{points:l.linePoints||l.linePoints}},o,t),r.updateProps(i,{style:{x:l.x,y:l.y}},o,t),i.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var u=a.getModel("label"),d=a.getModel("emphasis.label"),h=a.getModel("labelLine"),f=a.getModel("emphasis.labelLine");c=e.getItemVisual(t,"color");r.setLabelStyle(i.style,i.hoverStyle={},u,d,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:c,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),i.ignore=i.normalIgnore=!u.get("show"),i.hoverIgnore=!d.get("show"),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!f.get("show"),n.setStyle({stroke:c}),n.setStyle(h.getModel("lineStyle").getLineStyle()),n.hoverStyle=f.getModel("lineStyle").getLineStyle()},i.inherits(a,r.Group);var c=o.extend({type:"funnel",render:function(e,t,n){var r=e.getData(),i=this._data,o=this.group;r.diff(i).add((function(e){var t=new a(r,e);r.setItemGraphicEl(e,t),o.add(t)})).update((function(e,t){var n=i.getItemGraphicEl(t);n.updateData(r,e),o.add(n),r.setItemGraphicEl(e,n)})).remove((function(e){var t=i.getItemGraphicEl(e);o.remove(t)})).execute(),this._data=r},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),u=c;e.exports=u},TYVI:function(e,t,n){var r=n("5GtS"),i=n("T4UG"),o=i.extend({type:"series.gauge",getInitialData:function(e,t){return r(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}}}),a=o;e.exports=a},Tghj:function(e,t,n){(function(e){var n;"undefined"!==typeof window?n=window.__DEV__:"undefined"!==typeof e&&(n=e.__DEV__),"undefined"===typeof n&&(n=!0);var r=n;t.__DEV__=r}).call(this,n("yLpj"))},ThAp:function(e,t,n){var r=n("bYtY"),i=n("5GtS"),o=n("T4UG"),a=n("7aKB"),s=a.encodeHTML,l=a.addCommas,c=n("cCMj"),u=n("KxfA"),d=u.retrieveRawAttr,h=n("W4dC"),f=n("D5nY"),p=f.makeSeriesEncodeForNameBased,A=o.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var t=i(this,{coordDimensions:["value"],encodeDefaulter:r.curry(p,this)}),n=t.mapDimension("value"),o=r.createHashMap(),a=[],s=[],l=0,c=t.count();l<c;l++){var u=t.getName(l);o.set(u,!0),a.push({name:u,value:t.get(n,l),selected:d(t,l,"selected")})}var f=h.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return r.each(f.regions,(function(e){var t=e.name;o.get(t)||(a.push({name:t}),s.push(t))})),this.updateSelectedMap(a),t.appendValues([],s),t},getHostGeoModel:function(){var e=this.option.geoIndex;return null!=e?this.dependentModels.geo[e]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},getRegionModel:function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},formatTooltip:function(e){for(var t=this.getData(),n=l(this.getRawValue(e)),r=t.getName(e),i=this.seriesGroup,o=[],a=0;a<i.length;a++){var c=i[a].originalData.indexOfName(r),u=t.mapDimension("value");isNaN(i[a].originalData.get(u,c))||o.push(s(i[a].name))}return o.join(", ")+"<br />"+s(r+" : "+n)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,r=n.getRegion(t);return r&&n.dataToPoint(r.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});r.mixin(A,c);var g=A;e.exports=g},TkdX:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},a=2,s=4;function l(e,t,n){i.Group.call(this);var r=new i.Sector({z2:a});r.seriesIndex=t.seriesIndex;var o=new i.Text({z2:s,silent:e.getModel("label").get("silent")});function l(){o.ignore=o.hoverIgnore}function c(){o.ignore=o.normalIgnore}this.add(r),this.add(o),this.updateData(!0,e,"normal",t,n),this.on("emphasis",l).on("normal",c).on("mouseover",l).on("mouseout",c)}var c=l.prototype;c.updateData=function(e,t,n,o,a){this.node=t,t.piece=this,o=o||this._seriesModel,a=a||this._ecModel;var s=this.childAt(0);s.dataIndex=t.dataIndex;var l=t.getModel(),c=t.getLayout(),u=r.extend({},c);u.label=null;var h=d(t,o,a);p(t,o,h);var f,A=l.getModel("itemStyle").getItemStyle();if("normal"===n)f=A;else{var g=l.getModel(n+".itemStyle").getItemStyle();f=r.merge(g,A)}f=r.defaults({lineJoin:"bevel",fill:f.fill||h},f),e?(s.setShape(u),s.shape.r=c.r0,i.updateProps(s,{shape:{r:c.r}},o,t.dataIndex),s.useStyle(f)):"object"===typeof f.fill&&f.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(i.updateProps(s,{shape:u},o),s.useStyle(f)):i.updateProps(s,{shape:u,style:f},o),this._updateLabel(o,h,n);var m=l.getShallow("cursor");if(m&&s.attr("cursor",m),e){var v=o.getShallow("highlightPolicy");this._initEvents(s,t,o,v)}this._seriesModel=o||this._seriesModel,this._ecModel=a||this._ecModel,i.setHoverStyle(this)},c.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode((function(n){n.piece&&(t.node===n?n.piece.updateData(!1,n,"emphasis"):f(n,t.node,e)?n.piece.childAt(0).trigger("highlight"):e!==o.NONE&&n.piece.childAt(0).trigger("downplay"))}))},c.onNormal=function(){this.node.hostTree.root.eachNode((function(e){e.piece&&e.piece.updateData(!1,e,"normal")}))},c.onHighlight=function(){this.updateData(!1,this.node,"highlight")},c.onDownplay=function(){this.updateData(!1,this.node,"downplay")},c._updateLabel=function(e,t,n){var o=this.node.getModel(),a=o.getModel("label"),s="normal"===n||"emphasis"===n?a:o.getModel(n+".label"),l=o.getModel("emphasis.label"),c=r.retrieve(e.getFormattedLabel(this.node.dataIndex,n,null,null,"label"),this.node.name);!1===S("show")&&(c="");var u=this.node.getLayout(),d=s.get("minAngle");null==d&&(d=a.get("minAngle")),d=d/180*Math.PI;var h=u.endAngle-u.startAngle;null!=d&&Math.abs(h)<d&&(c="");var f=this.childAt(1);i.setLabelStyle(f.style,f.hoverStyle||{},a,l,{defaultText:s.getShallow("show")?c:null,autoColor:t,useInsideStyle:!0});var p,A=(u.startAngle+u.endAngle)/2,g=Math.cos(A),m=Math.sin(A),v=S("position"),y=S("distance")||0,b=S("align");"outside"===v?(p=u.r+y,b=A>Math.PI/2?"right":"left"):b&&"center"!==b?"left"===b?(p=u.r0+y,A>Math.PI/2&&(b="right")):"right"===b&&(p=u.r-y,A>Math.PI/2&&(b="left")):(p=(u.r+u.r0)/2,b="center"),f.attr("style",{text:c,textAlign:b,textVerticalAlign:S("verticalAlign")||"middle",opacity:S("opacity")});var _=p*g+u.cx,w=p*m+u.cy;f.attr("position",[_,w]);var x=S("rotate"),C=0;function S(e){var t=s.get(e);return null==t?a.get(e):t}"radial"===x?(C=-A,C<-Math.PI/2&&(C+=Math.PI)):"tangential"===x?(C=Math.PI/2-A,C>Math.PI/2?C-=Math.PI:C<-Math.PI/2&&(C+=Math.PI)):"number"===typeof x&&(C=x*Math.PI/180),f.attr("rotation",C)},c._initEvents=function(e,t,n,r){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var i=this,o=function(){i.onEmphasis(r)},a=function(){i.onNormal()},s=function(){i.onDownplay()},l=function(){i.onHighlight()};n.isAnimationEnabled()&&e.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",s).on("highlight",l)},r.inherits(l,i.Group);var u=l;function d(e,t,n){var r=e.getVisual("color"),i=e.getVisual("visualMeta");i&&0!==i.length||(r=null);var o=e.getModel("itemStyle").get("color");if(o)return o;if(r)return r;if(0===e.depth)return n.option.color[0];var a=n.option.color.length;return o=n.option.color[h(e)%a],o}function h(e){var t=e;while(t.depth>1)t=t.parentNode;var n=e.getAncestors()[0];return r.indexOf(n.children,t)}function f(e,t,n){return n!==o.NONE&&(n===o.SELF?e===t:n===o.ANCESTOR?e===t||e.isAncestorOf(t):e===t||e.isDescendantOf(t))}function p(e,t,n){var r=t.getData();r.setItemVisual(e.dataIndex,"color",n)}e.exports=u},Tp9H:function(e,t,n){var r=n("ItGF"),i=n("Kagy"),o=n("IUWy"),a=i.toolbox.saveAsImage;function s(e){this.model=e}s.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:a.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:a.lang.slice()},s.prototype.unusable=!r.canvasSupported;var l=s.prototype;l.onclick=function(e,t){var n=this.model,i=n.get("name")||e.get("title.0.text")||"echarts",o="svg"===t.getZr().painter.getType(),a=o?"svg":n.get("type",!0)||"png",s=t.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!==typeof MouseEvent||r.browser.ie||r.browser.edge)if(window.navigator.msSaveOrOpenBlob){var l=atob(s.split(",")[1]),c=l.length,u=new Uint8Array(c);while(c--)u[c]=l.charCodeAt(c);var d=new Blob([u]);window.navigator.msSaveOrOpenBlob(d,i+"."+a)}else{var h=n.get("lang"),f='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(h&&h[0]||"")+'" /></body>',p=window.open();p.document.write(f)}else{var A=document.createElement("a");A.download=i+"."+a,A.target="_blank",A.href=s;var g=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});A.dispatchEvent(g)}},o.register("saveAsImage",s);var c=s;e.exports=c},"U/Mo":function(e,t){function n(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,r=t.scale,i=r&&r[0]||1,o=t.getZoom(),a=(o-1)*n+1;return a/i}function r(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}t.getNodeGlobalScale=n,t.getSymbolSize=r},UADf:function(e,t,n){},"UNi/":function(e,t){function n(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}e.exports=n},UOFQ:function(e,t,n){var r=n("63Hc");function i(e){var t,n=r.spaceIndex(e);return t=-1===n?e.slice(1,-1):e.slice(1,n+1),t=r.trim(t).toLowerCase(),"/"===t.slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}function o(e){return"</"===e.slice(0,2)}function a(e,t,n){"use strict";var r="",a=0,s=!1,l=!1,c=0,u=e.length,d="",h="";e:for(c=0;c<u;c++){var f=e.charAt(c);if(!1===s){if("<"===f){s=c;continue}}else if(!1===l){if("<"===f){r+=n(e.slice(a,c)),s=c,a=c;continue}if(">"===f||c===u-1){r+=n(e.slice(a,s)),h=e.slice(s,c+1),d=i(h),r+=t(s,r.length,d,h,o(h)),a=c+1,s=!1;continue}if('"'===f||"'"===f){var p=1,A=e.charAt(c-p);while(""===A.trim()||"="===A){if("="===A){l=f;continue e}A=e.charAt(c-++p)}}}else if(f===l){l=!1;continue}}return a<u&&(r+=n(e.substr(a))),r}var s=/[^a-zA-Z0-9\\_:.-]/gim;function l(e,t){"use strict";var n=0,i=0,o=[],a=!1,l=e.length;function h(e,n){if(e=r.trim(e),e=e.replace(s,"").toLowerCase(),!(e.length<1)){var i=t(e,n||"");i&&o.push(i)}}for(var p=0;p<l;p++){var A,g,m=e.charAt(p);if(!1!==a||"="!==m)if(!1===a||p!==i)if(/\s|\n|\t/.test(m)){if(e=e.replace(/\s|\n|\t/g," "),!1===a){if(g=c(e,p),-1===g){A=r.trim(e.slice(n,p)),h(A),a=!1,n=p+1;continue}p=g-1;continue}if(g=d(e,p-1),-1===g){A=r.trim(e.slice(n,p)),A=f(A),h(a,A),a=!1,n=p+1;continue}}else;else{if(g=e.indexOf(m,p+1),-1===g)break;A=r.trim(e.slice(i+1,g)),h(a,A),a=!1,p=g,n=p+1}else a=e.slice(n,p),n=p+1,i='"'===e.charAt(n)||"'"===e.charAt(n)?n:u(e,p+1)}return n<e.length&&(!1===a?h(e.slice(n)):h(a,f(r.trim(e.slice(n))))),r.trim(o.join(" "))}function c(e,t){for(;t<e.length;t++){var n=e[t];if(" "!==n)return"="===n?t:-1}}function u(e,t){for(;t<e.length;t++){var n=e[t];if(" "!==n)return"'"===n||'"'===n?t:-1}}function d(e,t){for(;t>0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}}function h(e){return'"'===e[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1]}function f(e){return h(e)?e.substr(1,e.length-2):e}t.parseTag=a,t.parseAttr=l},UOVi:function(e,t,n){var r=n("bYtY"),i=n("7aKB"),o=["x","y","z","radius","angle","single"],a=["cartesian2d","polar","singleAxis"];function s(e){return r.indexOf(a,e)>=0}function l(e,t){e=e.slice();var n=r.map(e,i.capitalFirst);t=(t||[]).slice();var o=r.map(t,i.capitalFirst);return function(i,a){r.each(e,(function(e,r){for(var s={name:e,capital:n[r]},l=0;l<t.length;l++)s[t[l]]=e+o[l];i.call(a,s)}))}}var c=l(o,["axisIndex","axis","index","id"]);function u(e,t,n){return function(n){var r,s={nodes:[],records:{}};if(t((function(e){s.records[e.name]={}})),!n)return s;a(n,s);do{r=!1,e(l)}while(r);function l(e){!i(e,s)&&o(e,s)&&(a(e,s),r=!0)}return s};function i(e,t){return r.indexOf(t.nodes,e)>=0}function o(e,i){var o=!1;return t((function(t){r.each(n(e,t)||[],(function(e){i.records[t.name][e]&&(o=!0)}))})),o}function a(e,i){i.nodes.push(e),t((function(t){r.each(n(e,t)||[],(function(e){i.records[t.name][e]=!0}))}))}}t.isCoordSupported=s,t.createNameEach=l,t.eachAxisDim=c,t.createLinkedNodesFinder=u},Uc92:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},UnoB:function(e,t,n){var r=n("bYtY"),i=n("OELB");function o(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,r={},o=n.getRect();r.rect=o;var s=e.get("boundaryGap"),l=n.getAxis();if(r.boundaryGap=s,"horizontal"===l.orient){s[0]=i.parsePercent(s[0],o.height),s[1]=i.parsePercent(s[1],o.height);var c=o.height-s[0]-s[1];a(t,e,c)}else{s[0]=i.parsePercent(s[0],o.width),s[1]=i.parsePercent(s[1],o.width);var u=o.width-s[0]-s[1];a(t,e,u)}t.setLayout("layoutInfo",r)}))}function a(e,t,n){if(e.count())for(var i,o=t.coordinateSystem,a=t.getLayerSeries(),l=e.mapDimension("single"),c=e.mapDimension("value"),u=r.map(a,(function(t){return r.map(t.indices,(function(t){var n=o.dataToPoint(e.get(l,t));return n[1]=e.get(c,t),n}))})),d=s(u),h=d.y0,f=n/d.max,p=a.length,A=a[0].indices.length,g=0;g<A;++g){i=h[g]*f,e.setItemLayout(a[0].indices[g],{layerIndex:0,x:u[0][g][0],y0:i,y:u[0][g][1]*f});for(var m=1;m<p;++m)i+=u[m-1][g][1]*f,e.setItemLayout(a[m].indices[g],{layerIndex:m,x:u[m][g][0],y0:i,y:u[m][g][1]*f})}}function s(e){for(var t=e.length,n=e[0].length,r=[],i=[],o=0,a={},s=0;s<n;++s){for(var l=0,c=0;l<t;++l)c+=e[l][s][1];c>o&&(o=c),r.push(c)}for(var u=0;u<n;++u)i[u]=(o-r[u])/2;o=0;for(var d=0;d<n;++d){var h=r[d]+i[d];h>o&&(o=h)}return a.y0=i,a.max=o,a}e.exports=o},Urep:function(e,t,n){},V6Ve:function(e,t,n){var r=n("kekF"),i=r(Object.keys,Object);e.exports=i},V7ic:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("digP")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="FileTwoTone";var h=a.forwardRef(d);t.default=h},VFCP:function(e,t,n){n("dBmv"),n("KamJ")},VNzZ:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("7W2i"),h=n.n(d),f=n("LQ03"),p=n.n(f),A=n("cDf5"),g=n.n(A),m=n("q1tI"),v=n("TSYQ"),y=n.n(v),b=n("BGR+"),_=n("VTBJ"),w=n("1OyB"),x=n("vuIU"),C=n("Ji7U"),S=n("LK+K"),k=n("m+aA"),E=n("Zm9Q"),O=n("Kwbf"),B=n("c+Xe"),M=n("bdgK"),T="rc-observer-key",I=function(e){Object(C["a"])(n,e);var t=Object(S["a"])(n);function n(){var e;return Object(w["a"])(this,n),e=t.apply(this,arguments),e.resizeObserver=null,e.childNode=null,e.currentElement=null,e.state={width:0,height:0,offsetHeight:0,offsetWidth:0},e.onResize=function(t){var n=e.props.onResize,r=t[0].target,i=r.getBoundingClientRect(),o=i.width,a=i.height,s=r.offsetWidth,l=r.offsetHeight,c=Math.floor(o),u=Math.floor(a);if(e.state.width!==c||e.state.height!==u||e.state.offsetWidth!==s||e.state.offsetHeight!==l){var d={width:c,height:u,offsetWidth:s,offsetHeight:l};e.setState(d),n&&Promise.resolve().then((function(){n(Object(_["a"])(Object(_["a"])({},d),{},{offsetWidth:s,offsetHeight:l}))}))}},e.setChildNode=function(t){e.childNode=t},e}return Object(x["a"])(n,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var e=this.props.disabled;if(e)this.destroyObserver();else{var t=Object(k["a"])(this.childNode||this),n=t!==this.currentElement;n&&(this.destroyObserver(),this.currentElement=t),!this.resizeObserver&&t&&(this.resizeObserver=new M["default"](this.onResize),this.resizeObserver.observe(t))}}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var e=this.props.children,t=Object(E["a"])(e);if(t.length>1)Object(O["a"])(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(0===t.length)return Object(O["a"])(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var n=t[0];if(m["isValidElement"](n)&&Object(B["c"])(n)){var r=n.ref;t[0]=m["cloneElement"](n,{ref:Object(B["a"])(r,this.setChildNode)})}return 1===t.length?t[0]:t.map((function(e,t){return!m["isValidElement"](e)||"key"in e&&null!==e.key?e:m["cloneElement"](e,{key:"".concat(T,"-").concat(t)})}))}}]),n}(m["Component"]);I.displayName="ResizeObserver";var L=I,D=n("H84U"),P=n("PEeC"),N=n("zT1h");function j(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function F(e,t,n){if(void 0!==n&&t.top>e.top-n)return n+t.top}function R(e,t,n){if(void 0!==n&&t.bottom<e.bottom+n){var r=window.innerHeight-t.bottom;return n+r}}var U=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],H=[];function Q(e,t){if(e){var n=H.find((function(t){return t.target===e}));n?n.affixList.push(t):(n={target:e,affixList:[t],eventHandlers:{}},H.push(n),U.forEach((function(t){n.eventHandlers[t]=Object(N["a"])(e,t,(function(){n.affixList.forEach((function(e){e.lazyUpdatePosition()}))}))})))}}function K(e){var t=H.find((function(t){var n=t.affixList.some((function(t){return t===e}));return n&&(t.affixList=t.affixList.filter((function(t){return t!==e}))),n}));t&&0===t.affixList.length&&(H=H.filter((function(e){return e!==t})),U.forEach((function(e){var n=t.eventHandlers[e];n&&n.remove&&n.remove()})))}var z,V=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"===typeof Reflect?"undefined":g()(Reflect))&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};function W(){return"undefined"!==typeof window?window:null}(function(e){e[e["None"]=0]="None",e[e["Prepare"]=1]="Prepare"})(z||(z={}));var G=function(e){h()(n,e);var t=p()(n);function n(){var e;return l()(this,n),e=t.apply(this,arguments),e.state={status:z.None,lastAffix:!1,prevTarget:null},e.getOffsetTop=function(){var t=e.props.offsetBottom,n=e.props.offsetTop;return void 0===t&&void 0===n&&(n=0),n},e.getOffsetBottom=function(){return e.props.offsetBottom},e.savePlaceholderNode=function(t){e.placeholderNode=t},e.saveFixedNode=function(t){e.fixedNode=t},e.measure=function(){var t=e.state,n=t.status,r=t.lastAffix,i=e.props.onChange,o=e.getTargetFunc();if(n===z.Prepare&&e.fixedNode&&e.placeholderNode&&o){var a=e.getOffsetTop(),s=e.getOffsetBottom(),l=o();if(l){var c={status:z.None},u=j(l),d=j(e.placeholderNode),h=F(d,u,a),f=R(d,u,s);void 0!==h?(c.affixStyle={position:"fixed",top:h,width:d.width,height:d.height},c.placeholderStyle={width:d.width,height:d.height}):void 0!==f&&(c.affixStyle={position:"fixed",bottom:f,width:d.width,height:d.height},c.placeholderStyle={width:d.width,height:d.height}),c.lastAffix=!!c.affixStyle,i&&r!==c.lastAffix&&i(c.lastAffix),e.setState(c)}}},e.prepareMeasure=function(){e.setState({status:z.Prepare,affixStyle:void 0,placeholderStyle:void 0})},e.render=function(){var t=e.context.getPrefixCls,n=e.state,r=n.affixStyle,o=n.placeholderStyle,s=e.props,l=s.prefixCls,c=s.children,u=y()(a()({},t("affix",l),r)),d=Object(b["default"])(e.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return m["createElement"](L,{onResize:function(){e.updatePosition()}},m["createElement"]("div",i()({},d,{ref:e.savePlaceholderNode}),r&&m["createElement"]("div",{style:o,"aria-hidden":"true"}),m["createElement"]("div",{className:u,ref:e.saveFixedNode,style:r},m["createElement"](L,{onResize:function(){e.updatePosition()}},c))))},e}return u()(n,[{key:"getTargetFunc",value:function(){var e=this.context.getTargetContainer,t=this.props.target;return void 0!==t?t:e||W}},{key:"componentDidMount",value:function(){var e=this,t=this.getTargetFunc();t&&(this.timeout=setTimeout((function(){Q(t(),e),e.updatePosition()})))}},{key:"componentDidUpdate",value:function(e){var t=this.state.prevTarget,n=this.getTargetFunc(),r=null;n&&(r=n()||null),t!==r&&(K(this),r&&(Q(r,this),this.updatePosition()),this.setState({prevTarget:r})),e.offsetTop===this.props.offsetTop&&e.offsetBottom===this.props.offsetBottom||this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),K(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var e=this.getTargetFunc(),t=this.state.affixStyle;if(e&&t){var n=this.getOffsetTop(),r=this.getOffsetBottom(),i=e();if(i&&this.placeholderNode){var o=j(i),a=j(this.placeholderNode),s=F(a,o,n),l=R(a,o,r);if(void 0!==s&&t.top===s||void 0!==l&&t.bottom===l)return}}this.prepareMeasure()}}]),n}(m["Component"]);G.contextType=D["b"],V([Object(P["b"])()],G.prototype,"updatePosition",null),V([Object(P["b"])()],G.prototype,"lazyUpdatePosition",null);t["a"]=G},VPsl:function(e,t){function n(e){e.eachSeriesByType("map",(function(e){var t=e.get("color"),n=e.getModel("itemStyle"),r=n.get("areaColor"),i=n.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:r,color:i})}))}e.exports=n},VR9l:function(e,t,n){var r=n("KCsZ"),i=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),o={getItemStyle:function(e,t){var n=i(this,e,t),r=this.getBorderLineDash();return r&&(n.lineDash=r),n},getBorderLineDash:function(){var e=this.get("borderType");return"solid"===e||null==e?null:"dashed"===e?[5,5]:[1,1]}};e.exports=o},VSLf:function(e,t,n){n("I+Bx"),n("F0hE"),n("bBKM")},VSMT:function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{return decodeURIComponent(escape(e))}catch(n){if(n instanceof URIError&&t)return e;throw n}}function i(e){return unescape(encodeURIComponent(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.decodeUTF8=r,t.encodeUTF8=i},VXYp:function(e,t,n){var r=n("bYtY"),i=n("SgGq"),o=n("iLNv"),a="\0_ec_dataZoom_roams";function s(e,t){var n=u(e),i=t.dataZoomId,a=t.coordId;r.each(n,(function(e,n){var o=e.dataZoomInfos;o[i]&&r.indexOf(t.allCoordIds,a)<0&&(delete o[i],e.count--)})),h(n);var s=n[a];s||(s=n[a]={coordId:a,dataZoomInfos:{},count:0},s.controller=d(e,s),s.dispatchAction=r.curry(f,e)),!s.dataZoomInfos[i]&&s.count++,s.dataZoomInfos[i]=t;var l=p(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(t.containsPoint),o.createOrUpdate(s,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")}function l(e,t){var n=u(e);r.each(n,(function(e){e.controller.dispose();var n=e.dataZoomInfos;n[t]&&(delete n[t],e.count--)})),h(n)}function c(e){return e.type+"\0_"+e.id}function u(e){var t=e.getZr();return t[a]||(t[a]={})}function d(e,t){var n=new i(e.getZr());return r.each(["pan","zoom","scrollMove"],(function(e){n.on(e,(function(n){var i=[];r.each(t.dataZoomInfos,(function(r){if(n.isAvailableBehavior(r.dataZoomModel.option)){var o=(r.getRange||{})[e],a=o&&o(t.controller,n);!r.dataZoomModel.get("disabled",!0)&&a&&i.push({dataZoomId:r.dataZoomId,start:a[0],end:a[1]})}})),i.length&&t.dispatchAction(i)}))})),n}function h(e){r.each(e,(function(t,n){t.count||(t.controller.dispose(),delete e[n])}))}function f(e,t){e.dispatchAction({type:"dataZoom",batch:t})}function p(e){var t,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return r.each(e,(function(e){var r=e.dataZoomModel,a=!r.get("disabled",!0)&&(!r.get("zoomLock",!0)||"move");i[n+a]>i[n+t]&&(t=a),o&=r.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}t.register=s,t.unregister=l,t.generateCoordId=c},VaNO:function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},VaxA:function(e,t,n){var r=n("bYtY");function i(e,t,n){if(e&&r.indexOf(t,e.type)>=0){var i=n.getData().tree.root,o=e.targetNode;if("string"===typeof o&&(o=i.getNodeById(o)),o&&i.contains(o))return{node:o};var a=e.targetNodeId;if(null!=a&&(o=i.getNodeById(a)))return{node:o}}}function o(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function a(e,t){var n=o(e);return r.indexOf(n,t)>=0}function s(e,t){var n=[];while(e){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}t.retrieveTargetInfo=i,t.getPathToRoot=o,t.aboveViewRoot=a,t.wrapTreePathInfo=s},Vi4m:function(e,t,n){var r=n("bYtY");function i(e){null!=e&&r.extend(this,e),this.otherDims={}}var o=i;e.exports=o},Vl3Y:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("J4zp"),a=n.n(o),s=n("lSNA"),l=n.n(s),c=n("q1tI"),u=n("TSYQ"),d=n.n(u),h=n("85Yc"),f=n("H84U"),p=n("BGR+"),A=c["createContext"]({labelAlign:"right",vertical:!1,itemRef:function(){}}),g=c["createContext"]({updateItemErrors:function(){}}),m=function(e){var t=Object(p["default"])(e,["prefixCls"]);return c["createElement"](h["FormProvider"],t)};function v(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function y(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function b(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return y(n.overflowY,t)||y(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function _(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}var w=function(e,t){var n=window,r=t.scrollMode,i=t.block,o=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof a?a:function(e){return e!==a};if(!v(e))throw new TypeError("Invalid target");for(var c,u,d=document.scrollingElement||document.documentElement,h=[],f=e;v(f)&&l(f);){if((f=null==(u=(c=f).parentElement)?c.getRootNode().host||null:u)===d){h.push(f);break}null!=f&&f===document.body&&b(f)&&!b(document.documentElement)||null!=f&&b(f,s)&&h.push(f)}for(var p=n.visualViewport?n.visualViewport.width:innerWidth,A=n.visualViewport?n.visualViewport.height:innerHeight,g=window.scrollX||pageXOffset,m=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),w=y.height,x=y.width,C=y.top,S=y.right,k=y.bottom,E=y.left,O="start"===i||"nearest"===i?C:"end"===i?k:C+w/2,B="center"===o?E+x/2:"end"===o?S:E,M=[],T=0;T<h.length;T++){var I=h[T],L=I.getBoundingClientRect(),D=L.height,P=L.width,N=L.top,j=L.right,F=L.bottom,R=L.left;if("if-needed"===r&&C>=0&&E>=0&&k<=A&&S<=p&&C>=N&&k<=F&&E>=R&&S<=j)return M;var U=getComputedStyle(I),H=parseInt(U.borderLeftWidth,10),Q=parseInt(U.borderTopWidth,10),K=parseInt(U.borderRightWidth,10),z=parseInt(U.borderBottomWidth,10),V=0,W=0,G="offsetWidth"in I?I.offsetWidth-I.clientWidth-H-K:0,X="offsetHeight"in I?I.offsetHeight-I.clientHeight-Q-z:0,q="offsetWidth"in I?0===I.offsetWidth?0:P/I.offsetWidth:0,Y="offsetHeight"in I?0===I.offsetHeight?0:D/I.offsetHeight:0;if(d===I)V="start"===i?O:"end"===i?O-A:"nearest"===i?_(m,m+A,A,Q,z,m+O,m+O+w,w):O-A/2,W="start"===o?B:"center"===o?B-p/2:"end"===o?B-p:_(g,g+p,p,H,K,g+B,g+B+x,x),V=Math.max(0,V+m),W=Math.max(0,W+g);else{V="start"===i?O-N-Q:"end"===i?O-F+z+X:"nearest"===i?_(N,F,D,Q,z+X,O,O+w,w):O-(N+D/2)+X/2,W="start"===o?B-R-H:"center"===o?B-(R+P/2)+G/2:"end"===o?B-j+K+G:_(R,j,P,H,K+G,B,B+x,x);var Z=I.scrollLeft,J=I.scrollTop;O+=J-(V=Math.max(0,Math.min(J+V/Y,I.scrollHeight-D/Y+X))),B+=Z-(W=Math.max(0,Math.min(Z+W/q,I.scrollWidth-P/q+G)))}M.push({el:I,top:V,left:W})}return M};function x(e){return e===Object(e)&&0!==Object.keys(e).length}function C(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,i=e.top,o=e.left;r.scroll&&n?r.scroll({top:i,left:o,behavior:t}):(r.scrollTop=i,r.scrollLeft=o)}))}function S(e){return!1===e?{block:"end",inline:"nearest"}:x(e)?e:{block:"start",inline:"nearest"}}function k(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(x(t)&&"function"===typeof t.behavior)return t.behavior(n?w(e,t):[]);if(n){var r=S(t);return C(w(e,r),r.behavior)}}var E=k;function O(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function B(e,t){if(e.length){var n=e.join("_");return t?"".concat(t,"_").concat(n):n}}function M(e){var t=O(e);return t.join("_")}function T(e){var t=Object(h["useForm"])(),n=a()(t,1),r=n[0],o=Object(c["useRef"])({}),s=Object(c["useMemo"])((function(){return e||i()(i()({},r),{__INTERNAL__:{itemRef:function(e){return function(t){var n=M(e);t?o.current[n]=t:delete o.current[n]}}},scrollToField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e),r=B(n,s.__INTERNAL__.name),o=r?document.getElementById(r):null;o&&E(o,i()({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:function(e){var t=M(e);return o.current[t]}})}),[e,r]);return[s]}var I=n("3Nzz"),L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},D=function(e,t){var n,r=c["useContext"](I["b"]),o=c["useContext"](f["b"]),s=o.getPrefixCls,u=o.direction,p=e.name,g=e.prefixCls,m=e.className,v=void 0===m?"":m,y=e.size,b=void 0===y?r:y,_=e.form,w=e.colon,x=e.labelAlign,C=e.labelCol,S=e.wrapperCol,k=e.hideRequiredMark,E=e.layout,O=void 0===E?"horizontal":E,B=e.scrollToFirstError,M=e.requiredMark,D=e.onFinishFailed,P=L(e,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),N=Object(c["useMemo"])((function(){return void 0!==M?M:!k}),[k,M]),j=s("form",g),F=d()(j,(n={},l()(n,"".concat(j,"-").concat(O),!0),l()(n,"".concat(j,"-hide-required-mark"),!1===N),l()(n,"".concat(j,"-rtl"),"rtl"===u),l()(n,"".concat(j,"-").concat(b),b),n),v),R=T(_),U=a()(R,1),H=U[0],Q=H.__INTERNAL__;Q.name=p;var K=Object(c["useMemo"])((function(){return{name:p,labelAlign:x,labelCol:C,wrapperCol:S,vertical:"vertical"===O,colon:w,requiredMark:N,itemRef:Q.itemRef}}),[p,x,C,S,O,w,N]);c["useImperativeHandle"](t,(function(){return H}));var z=function(e){D&&D(e),B&&e.errorFields.length&&H.scrollToField(e.errorFields[0].name)};return c["createElement"](I["a"],{size:b},c["createElement"](A.Provider,{value:K},c["createElement"](h["default"],i()({id:p},P,{onFinishFailed:z,form:H,className:F}))))},P=c["forwardRef"](D),N=P,j=n("cDf5"),F=n.n(j),R=n("RIqP"),U=n.n(R),H=n("Y+p1"),Q=n.n(H),K=n("KW7l"),z=n("c+Xe"),V=n("qrJ5"),W=n("CWQg"),G=n("uaoM"),X=n("/kpp"),q=n("YMnH"),Y=n("ZvpZ"),Z=function(e){var t=e.prefixCls,n=e.label,r=e.htmlFor,o=e.labelCol,s=e.labelAlign,u=e.colon,h=e.required,f=e.requiredMark,p=Object(q["b"])("Form"),g=a()(p,1),m=g[0];return n?c["createElement"](A.Consumer,{key:"label"},(function(e){var a,p,A=e.vertical,g=e.labelAlign,v=e.labelCol,y=e.colon,b=o||v||{},_=s||g,w="".concat(t,"-item-label"),x=d()(w,"left"===_&&"".concat(w,"-left"),b.className),C=n,S=!0===u||!1!==y&&!1!==u,k=S&&!A;k&&"string"===typeof n&&""!==n.trim()&&(C=n.replace(/[:|\uff1a]\s*$/,"")),"optional"!==f||h||(C=c["createElement"](c["Fragment"],null,C,c["createElement"]("span",{className:"".concat(t,"-item-optional")},(null===m||void 0===m?void 0:m.optional)||(null===(p=Y["a"].Form)||void 0===p?void 0:p.optional))));var E=d()((a={},l()(a,"".concat(t,"-item-required"),h),l()(a,"".concat(t,"-item-required-mark-optional"),"optional"===f),l()(a,"".concat(t,"-item-no-colon"),!S),a));return c["createElement"](X["a"],i()({},b,{className:x}),c["createElement"]("label",{htmlFor:r,className:E,title:"string"===typeof n?n:""},C))})):null},J=Z,$=n("gZBC"),ee=n.n($),te=n("kbBi"),ne=n.n(te),re=n("J84W"),ie=n.n(re),oe=n("sKbD"),ae=n.n(oe),se=n("YrtM"),le=n("HTfv"),ce=n("hkKa");function ue(e,t,n){var r=c["useRef"]({errors:e,visible:!!e.length}),i=Object(ce["a"])(),o=function(){var n=r.current.visible,o=!!e.length,a=r.current.errors;r.current.errors=e,r.current.visible=o,n!==o?t(o):(a.length!==e.length||a.some((function(t,n){return t!==e[n]})))&&i()};return c["useEffect"]((function(){if(!n){var e=setTimeout(o,10);return function(){return clearTimeout(e)}}}),[e]),n&&o(),[r.current.visible,r.current.errors]}var de={success:ie.a,warning:ae.a,error:ne.a,validating:ee.a},he=function(e){var t=e.prefixCls,n=e.wrapperCol,r=e.children,o=e.help,s=e.errors,l=e.onDomErrorVisibleChange,u=e.hasFeedback,h=e.validateStatus,f=e.extra,p=Object(ce["a"])(),g="".concat(t,"-item"),m=c["useContext"](A),v=n||m.wrapperCol||{},y=d()("".concat(g,"-control"),v.className),b=ue(s,(function(e){e&&Promise.resolve().then((function(){l(!0)})),p()}),!!o),_=a()(b,2),w=_[0],x=_[1];c["useEffect"]((function(){return function(){l(!1)}}),[]);var C=Object(se["a"])((function(){return x}),w,(function(e,t){return t})),S=h&&de[h],k=u&&S?c["createElement"]("span",{className:"".concat(g,"-children-icon")},c["createElement"](S,null)):null,E=i()({},m);return delete E.labelCol,delete E.wrapperCol,c["createElement"](A.Provider,{value:E},c["createElement"](X["a"],i()({},v,{className:y}),c["createElement"]("div",{className:"".concat(g,"-control-input")},c["createElement"]("div",{className:"".concat(g,"-control-input-content")},r),k),c["createElement"](le["default"],{motionDeadline:500,visible:w,motionName:"show-help",onLeaveEnd:function(){l(!1)},motionAppear:!0,removeOnLeave:!0},(function(e){var t=e.className;return c["createElement"]("div",{className:d()("".concat(g,"-explain"),t),key:"help"},C.map((function(e,t){return c["createElement"]("div",{key:t,role:"alert"},e)})))})),f&&c["createElement"]("div",{className:"".concat(g,"-extra")},f)))},fe=he,pe=n("0n0R"),Ae=n("xEkU"),ge=n.n(Ae);function me(e){var t=c["useState"](e),n=a()(t,2),r=n[0],i=n[1],o=Object(c["useRef"])(null),s=Object(c["useRef"])([]),l=Object(c["useRef"])(!1);function u(e){l.current||(null===o.current&&(s.current=[],o.current=ge()((function(){o.current=null,i((function(e){var t=e;return s.current.forEach((function(e){t=e(t)})),t}))}))),s.current.push(e))}return c["useEffect"]((function(){return function(){l.current=!0,ge.a.cancel(o.current)}}),[]),[r,u]}function ve(){var e=c["useContext"](A),t=e.itemRef,n=c["useRef"]({});function r(e,r){var i=r&&"object"===F()(r)&&r.ref,o=e.join("_");return n.current.name===o&&n.current.originRef===i||(n.current.name=o,n.current.originRef=i,n.current.ref=Object(z["a"])(t(e),i)),n.current.ref}return r}var ye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},be=(Object(W["a"])("success","warning","error","validating",""),c["memo"]((function(e){var t=e.children;return t}),(function(e,t){return e.value===t.value&&e.update===t.update})));function _e(e){return null===e&&Object(G["a"])(!1,"Form.Item","`null` is passed as `name` property"),!(void 0===e||null===e)}function we(e){var t=e.name,n=e.fieldKey,r=e.noStyle,o=e.dependencies,s=e.prefixCls,u=e.style,m=e.className,v=e.shouldUpdate,y=e.hasFeedback,b=e.help,_=e.rules,w=e.validateStatus,x=e.children,C=e.required,S=e.label,k=e.trigger,E=void 0===k?"onChange":k,M=e.validateTrigger,T=e.hidden,I=ye(e,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),L=c["useRef"](!1),D=c["useContext"](f["b"]),P=D.getPrefixCls,N=c["useContext"](A),j=N.name,R=N.requiredMark,H=c["useContext"](g),W=H.updateItemErrors,X=c["useState"](!!b),q=a()(X,2),Y=q[0],Z=q[1],$=c["useRef"](w),ee=me({}),te=a()(ee,2),ne=te[0],re=te[1],ie=c["useContext"](K["b"]),oe=ie.validateTrigger,ae=void 0!==M?M:oe;function se(e){L.current||Z(e)}var le=_e(t),ce=c["useRef"]([]);c["useEffect"]((function(){return function(){L.current=!0,W(ce.current.join("__SPLIT__"),[])}}),[]);var ue=P("form",s),de=r?W:function(e,t){re((function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Q()(n[e],t)?n:i()(i()({},n),l()({},e,t))}))},he=ve();function Ae(t,n,o,a){var s,h;if(r&&!T)return t;var f,A=[];Object.keys(ne).forEach((function(e){A=[].concat(U()(A),U()(ne[e]||[]))})),void 0!==b&&null!==b?f=O(b):(f=o?o.errors:[],f=[].concat(U()(f),U()(A)));var v="";void 0!==w?v=w:(null===o||void 0===o?void 0:o.validating)?v="validating":(null===(h=null===o||void 0===o?void 0:o.errors)||void 0===h?void 0:h.length)||A.length?v="error":(null===o||void 0===o?void 0:o.touched)&&(v="success"),Y&&b&&($.current=v);var _=(s={},l()(s,"".concat(ue,"-item"),!0),l()(s,"".concat(ue,"-item-with-help"),Y||b),l()(s,"".concat(m),!!m),l()(s,"".concat(ue,"-item-has-feedback"),v&&y),l()(s,"".concat(ue,"-item-has-success"),"success"===v),l()(s,"".concat(ue,"-item-has-warning"),"warning"===v),l()(s,"".concat(ue,"-item-has-error"),"error"===v),l()(s,"".concat(ue,"-item-has-error-leave"),!b&&Y&&"error"===$.current),l()(s,"".concat(ue,"-item-is-validating"),"validating"===v),l()(s,"".concat(ue,"-item-hidden"),T),s);return c["createElement"](V["a"],i()({className:d()(_),style:u,key:"row"},Object(p["default"])(I,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),c["createElement"](J,i()({htmlFor:n,required:a,requiredMark:R},e,{prefixCls:ue})),c["createElement"](fe,i()({},e,o,{errors:f,prefixCls:ue,onDomErrorVisibleChange:se,validateStatus:v}),c["createElement"](g.Provider,{value:{updateItemErrors:de}},t)))}var ge="function"===typeof x,we=c["useRef"](0);if(we.current+=1,!le&&!ge&&!o)return Ae(x);var xe={};return"string"===typeof S&&(xe.label=S),c["createElement"](h["Field"],i()({},e,{messageVariables:xe,trigger:E,validateTrigger:ae,onReset:function(){se(!1)}}),(function(a,s,l){var u=s.errors,d=O(t).length&&s?s.name:[],h=B(d,j);if(r){if(ce.current=U()(d),n){var f=Array.isArray(n)?n:[n];ce.current=[].concat(U()(d.slice(0,-1)),U()(f))}W(ce.current.join("__SPLIT__"),u)}var p=void 0!==C?C:!(!_||!_.some((function(e){if(e&&"object"===F()(e)&&e.required)return!0;if("function"===typeof e){var t=e(l);return t&&t.required}return!1}))),A=i()({},a),g=null;if(Object(G["a"])(!(v&&o),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(x)&&le)Object(G["a"])(!1,"Form.Item","`children` is array of render props cannot have `name`."),g=x;else if(ge&&(!v&&!o||le))Object(G["a"])(!(!v&&!o),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(G["a"])(!le,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(!o||ge||le)if(Object(pe["b"])(x)){Object(G["a"])(void 0===x.props.defaultValue,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var m=i()(i()({},x.props),A);m.id||(m.id=h),Object(z["c"])(x)&&(m.ref=he(d,x));var y=new Set([].concat(U()(O(E)),U()(O(ae))));y.forEach((function(e){m[e]=function(){for(var t,n,r,i,o,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];null===(r=A[e])||void 0===r||(t=r).call.apply(t,[A].concat(s)),null===(o=(i=x.props)[e])||void 0===o||(n=o).call.apply(n,[i].concat(s))}})),g=c["createElement"](be,{value:A[e.valuePropName||"value"],update:we.current},Object(pe["a"])(x,m))}else ge&&(v||o)&&!le?g=x(l):(Object(G["a"])(!d.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),g=x);else Object(G["a"])(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");return Ae(g,h,s,p)}))}var xe=we,Ce=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},Se=function(e){var t=e.children,n=Ce(e,["children"]);return Object(G["a"])(!!n.name,"Form.List","Miss `name` prop."),c["createElement"](h["List"],n,(function(e,n){return t(e.map((function(e){return i()(i()({},e),{fieldKey:e.key})})),n)}))},ke=Se,Ee=N;Ee.Item=xe,Ee.List=ke,Ee.useForm=T,Ee.Provider=m,Ee.create=function(){Object(G["a"])(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};t["a"]=Ee},VpOo:function(e,t){function n(e,t){var n,r,i,o,a,s=t.x,l=t.y,c=t.width,u=t.height,d=t.r;c<0&&(s+=c,c=-c),u<0&&(l+=u,u=-u),"number"===typeof d?n=r=i=o=d:d instanceof Array?1===d.length?n=r=i=o=d[0]:2===d.length?(n=i=d[0],r=o=d[1]):3===d.length?(n=d[0],r=o=d[1],i=d[2]):(n=d[0],r=d[1],i=d[2],o=d[3]):n=r=i=o=0,n+r>c&&(a=n+r,n*=c/a,r*=c/a),i+o>c&&(a=i+o,i*=c/a,o*=c/a),r+i>u&&(a=r+i,r*=u/a,i*=u/a),n+o>u&&(a=n+o,n*=u/a,o*=u/a),e.moveTo(s+n,l),e.lineTo(s+c-r,l),0!==r&&e.arc(s+c-r,l+r,r,-Math.PI/2,0),e.lineTo(s+c,l+u-i),0!==i&&e.arc(s+c-i,l+u-i,i,0,Math.PI/2),e.lineTo(s+o,l+u),0!==o&&e.arc(s+o,l+u-o,o,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}t.buildPath=n},"VrN/":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\//.test(e),d=/Opera\//.test(e),h=/Apple Computer/.test(navigator.vendor),f=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),A=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),g=/Android/.test(e),m=A||g||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),v=A||/Mac/.test(t),y=/\bCrOS\b/.test(e),b=/win/i.test(t),_=d&&e.match(/Version\/(\d*\.\d*)/);_&&(_=Number(_[1])),_&&_>=15&&(d=!1,l=!0);var w=v&&(c||d&&(null==_||_<12.11)),x=n||a&&s>=9;function C(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S,k=function(e,t){var n=e.className,r=C(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function E(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return E(e).appendChild(t)}function B(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function M(e,t,n,r){var i=B(e,t,n,r);return i.setAttribute("role","presentation"),i}function T(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function I(){var e;try{e=document.activeElement}catch(t){e=document.body||null}while(e&&e.shadowRoot&&e.shadowRoot.activeElement)e=e.shadowRoot.activeElement;return e}function L(e,t){var n=e.className;C(t).test(n)||(e.className+=(n?" ":"")+t)}function D(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!C(n[r]).test(t)&&(t+=" "+n[r]);return t}S=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(i){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var P=function(e){e.select()};function N(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function j(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function F(e,t,n,r,i){null==t&&(t=e.search(/[^\s\u00a0]/),-1==t&&(t=e.length));for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}A?P=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(P=function(e){try{e.select()}catch(t){}});var R=function(){this.id=null,this.f=null,this.time=0,this.handler=N(this.onTimeout,this)};function U(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}R.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},R.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var H=50,Q={toString:function(){return"CodeMirror.Pass"}},K={scroll:!1},z={origin:"*mouse"},V={origin:"+move"};function W(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}var G=[""];function X(e){while(G.length<=e)G.push(q(G)+" ");return G[e]}function q(e){return e[e.length-1]}function Y(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function Z(e,t,n){var r=0,i=n(t);while(r<e.length&&n(e[r])<=i)r++;e.splice(r,0,t)}function J(){}function $(e,t){var n;return Object.create?n=Object.create(e):(J.prototype=e,n=new J),t&&j(t,n),n}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function te(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function ne(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function re(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ie=/[\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 oe(e){return e.charCodeAt(0)>=768&&ie.test(e)}function ae(e,t,n){while((n<0?t>0:t<e.length)&&oe(e.charAt(t)))t+=n;return t}function se(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function le(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var ce=null;function ue(e,t,n){var r;ce=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:ce=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:ce=i)}return null!=r?r:ce}var de=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var u=e.length,d=[],h=0;h<u;++h)d.push(n(e.charCodeAt(h)));for(var f=0,p=c;f<u;++f){var A=d[f];"m"==A?d[f]=p:p=A}for(var g=0,m=c;g<u;++g){var v=d[g];"1"==v&&"r"==m?d[g]="n":o.test(v)&&(m=v,"r"==v&&(d[g]="R"))}for(var y=1,b=d[0];y<u-1;++y){var _=d[y];"+"==_&&"1"==b&&"1"==d[y+1]?d[y]="1":","!=_||b!=d[y+1]||"1"!=b&&"n"!=b||(d[y]=b),b=_}for(var w=0;w<u;++w){var x=d[w];if(","==x)d[w]="N";else if("%"==x){var C=void 0;for(C=w+1;C<u&&"%"==d[C];++C);for(var S=w&&"!"==d[w-1]||C<u&&"1"==d[C]?"1":"N",k=w;k<C;++k)d[k]=S;w=C-1}}for(var E=0,O=c;E<u;++E){var B=d[E];"L"==O&&"1"==B?d[E]="L":o.test(B)&&(O=B)}for(var M=0;M<u;++M)if(i.test(d[M])){var T=void 0;for(T=M+1;T<u&&i.test(d[T]);++T);for(var I="L"==(M?d[M-1]:c),L="L"==(T<u?d[T]:c),D=I==L?I?"L":"R":c,P=M;P<T;++P)d[P]=D;M=T-1}for(var N,j=[],F=0;F<u;)if(a.test(d[F])){var R=F;for(++F;F<u&&a.test(d[F]);++F);j.push(new l(0,R,F))}else{var U=F,H=j.length,Q="rtl"==t?1:0;for(++F;F<u&&"L"!=d[F];++F);for(var K=U;K<F;)if(s.test(d[K])){U<K&&(j.splice(H,0,new l(1,U,K)),H+=Q);var z=K;for(++K;K<F&&s.test(d[K]);++K);j.splice(H,0,new l(2,z,K)),H+=Q,U=K}else++K;U<F&&j.splice(H,0,new l(1,U,F))}return"ltr"==t&&(1==j[0].level&&(N=e.match(/^\s+/))&&(j[0].from=N[0].length,j.unshift(new l(0,0,N[0].length))),1==q(j).level&&(N=e.match(/\s+$/))&&(q(j).to-=N[0].length,j.push(new l(0,u-N[0].length,u)))),"rtl"==t?j.reverse():j}}();function he(e,t){var n=e.order;return null==n&&(n=e.order=de(e.text,t)),n}var fe=[],pe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||fe).concat(n)}};function Ae(e,t){return e._handlers&&e._handlers[t]||fe}function ge(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=U(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function me(e,t){var n=Ae(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function ve(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),me(e,n||t.type,e,t),Ce(t)||t.codemirrorIgnore}function ye(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==U(n,t[r])&&n.push(t[r])}function be(e,t){return Ae(e,t).length>0}function _e(e){e.prototype.on=function(e,t){pe(this,e,t)},e.prototype.off=function(e,t){ge(this,e,t)}}function we(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function xe(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ce(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Se(e){we(e),xe(e)}function ke(e){return e.target||e.srcElement}function Ee(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),v&&e.ctrlKey&&1==t&&(t=3),t}var Oe,Be,Me=function(){if(a&&s<9)return!1;var e=B("div");return"draggable"in e||"dragDrop"in e}();function Te(e){if(null==Oe){var t=B("span","\u200b");O(e,B("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Oe=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Oe?B("span","\u200b"):B("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Ie(e){if(null!=Be)return Be;var t=O(e,document.createTextNode("A\u062eA")),n=S(t,0,1).getBoundingClientRect(),r=S(t,1,2).getBoundingClientRect();return E(e),!(!n||n.left==n.right)&&(Be=r.right-n.right<3)}var Le=3!="\n\nb".split(/\n/).length?function(e){var t=0,n=[],r=e.length;while(t<=r){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},De=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Pe=function(){var e=B("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Ne=null;function je(e){if(null!=Ne)return Ne;var t=O(e,B("span","x")),n=t.getBoundingClientRect(),r=S(t,0,1).getBoundingClientRect();return Ne=Math.abs(n.left-r.left)>1}var Fe={},Re={};function Ue(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Fe[e]=t}function He(e,t){Re[e]=t}function Qe(e){if("string"==typeof e&&Re.hasOwnProperty(e))e=Re[e];else if(e&&"string"==typeof e.name&&Re.hasOwnProperty(e.name)){var t=Re[e.name];"string"==typeof t&&(t={name:t}),e=$(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Qe("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Qe("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ke(e,t){t=Qe(t);var n=Fe[t.name];if(!n)return Ke(e,"text/plain");var r=n(e,t);if(ze.hasOwnProperty(t.name)){var i=ze[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var ze={};function Ve(e,t){var n=ze.hasOwnProperty(e)?ze[e]:ze[e]={};j(t,n)}function We(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Ge(e,t){var n;while(e.innerMode){if(n=e.innerMode(t),!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}}function Xe(e,t,n){return!e.startState||e.startState(t,n)}var qe=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Ye(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");var n=e;while(!n.lines)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function Ze(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function Je(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function $e(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function et(e){if(null==e.parent)return null;for(var t=e.parent,n=U(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;;++i){if(r.children[i]==t)break;n+=r.children[i].chunkSize()}return n+t.first}function tt(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a],l=s.height;if(t<l)break;t-=l}return n+a}function nt(e,t){return t>=e.first&&t<e.first+e.size}function rt(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function it(e,t,n){if(void 0===n&&(n=null),!(this instanceof it))return new it(e,t,n);this.line=e,this.ch=t,this.sticky=n}function ot(e,t){return e.line-t.line||e.ch-t.ch}function at(e,t){return e.sticky==t.sticky&&0==ot(e,t)}function st(e){return it(e.line,e.ch)}function lt(e,t){return ot(e,t)<0?t:e}function ct(e,t){return ot(e,t)<0?e:t}function ut(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function dt(e,t){if(t.line<e.first)return it(e.first,0);var n=e.first+e.size-1;return t.line>n?it(n,Ye(e,n).text.length):ht(t,Ye(e,t.line).text.length)}function ht(e,t){var n=e.ch;return null==n||n>t?it(e.line,t):n<0?it(e.line,0):e}function ft(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=dt(e,t[r]);return n}qe.prototype.eol=function(){return this.pos>=this.string.length},qe.prototype.sol=function(){return this.pos==this.lineStart},qe.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},qe.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},qe.prototype.eat=function(e){var t,n=this.string.charAt(this.pos);if(t="string"==typeof e?n==e:n&&(e.test?e.test(n):e(n)),t)return++this.pos,n},qe.prototype.eatWhile=function(e){var t=this.pos;while(this.eat(e));return this.pos>t},qe.prototype.eatSpace=function(){var e=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>e},qe.prototype.skipToEnd=function(){this.pos=this.string.length},qe.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},qe.prototype.backUp=function(e){this.pos-=e},qe.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=F(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},qe.prototype.indentation=function(){return F(this.string,null,this.tabSize)-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},qe.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return!1!==t&&(this.pos+=e.length),!0},qe.prototype.current=function(){return this.string.slice(this.start,this.pos)},qe.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},qe.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},qe.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var pt=function(e,t){this.state=e,this.lookAhead=t},At=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function gt(e,t,n,r){var i=[e.state.modeGen],o={};St(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,St(e,t.text,s.mode,n,(function(e,t){var n=l;while(c<e){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"overlay "+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function mt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=vt(e,et(t)),i=t.text.length>e.options.maxHighlightLength&&We(e.doc.mode,r.state),o=gt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function vt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new At(r,!0,t);var o=kt(e,t,n),a=o>r.first&&Ye(r,o-1).stateAfter,s=a?At.fromSaved(r,a,o):new At(r,Xe(r.mode),o);return r.iter(o,t,(function(n){yt(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function yt(e,t,n,r){var i=e.doc.mode,o=new qe(t,e.options.tabSize,n);o.start=o.pos=r||0,""==t&&bt(i,n.state);while(!o.eol())_t(i,o,n.state),o.start=o.pos}function bt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=Ge(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function _t(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=Ge(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}At.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},At.prototype.baseToken=function(e){if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=e)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},At.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},At.fromSaved=function(e,t,n){return t instanceof pt?new At(e,We(e.mode,t.state),n,t.lookAhead):new At(e,We(e.mode,t),n)},At.prototype.save=function(e){var t=!1!==e?We(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new pt(t,this.maxLookAhead):t};var wt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function xt(e,t,n,r){var i,o=e.doc,a=o.mode;t=dt(o,t);var s,l=Ye(o,t.line),c=vt(e,t.line,n),u=new qe(l.text,e.options.tabSize,c);r&&(s=[]);while((r||u.pos<t.ch)&&!u.eol())u.start=u.pos,i=_t(a,u,c.state),r&&s.push(new wt(u,i,We(o.mode,c.state)));return r?s:new wt(u,i,c.state)}function Ct(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|\\s)"+n[2]+"(?:$|\\s)").test(t[r])||(t[r]+=" "+n[2])}return e}function St(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,d=new qe(t,e.options.tabSize,r),h=e.options.addModeClass&&[null];""==t&&Ct(bt(n,r.state),o);while(!d.eol()){if(d.pos>e.options.maxHighlightLength?(s=!1,a&&yt(e,t,r,d.pos),d.pos=t.length,l=null):l=Ct(_t(n,d,r.state,h),o),h){var f=h[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||u!=l){while(c<d.start)c=Math.min(d.start,c+5e3),i(c,u);u=l}d.start=d.pos}while(c<d.pos){var p=Math.min(d.pos,c+5e3);i(p,u),c=p}}function kt(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Ye(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof pt?c.lookAhead:0)<=o.modeFrontier))return s;var u=F(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function Et(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=Ye(e,r).stateAfter;if(i&&(!(i instanceof pt)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}var Ot=!1,Bt=!1;function Mt(){Ot=!0}function Tt(){Bt=!0}function It(e,t,n){this.marker=e,this.from=t,this.to=n}function Lt(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function Dt(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function Pt(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function Nt(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);if(s||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var l=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new It(a,o.from,l?null:o.to))}}return r}function jt(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new It(a,l?null:o.from-t,null==o.to?null:o.to-t))}}return r}function Ft(e,t){if(t.full)return null;var n=nt(e,t.from.line)&&Ye(e,t.from.line).markedSpans,r=nt(e,t.to.line)&&Ye(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==ot(t.from,t.to),s=Nt(n,i,a),l=jt(r,o,a),c=1==t.text.length,u=q(t.text).length+(c?i:0);if(s)for(var d=0;d<s.length;++d){var h=s[d];if(null==h.to){var f=Lt(l,h.marker);f?c&&(h.to=null==f.to?null:f.to+u):h.to=i}}if(l)for(var p=0;p<l.length;++p){var A=l[p];if(null!=A.to&&(A.to+=u),null==A.from){var g=Lt(s,A.marker);g||(A.from=u,c&&(s||(s=[])).push(A))}else A.from+=u,c&&(s||(s=[])).push(A)}s&&(s=Rt(s)),l&&l!=s&&(l=Rt(l));var m=[s];if(!c){var v,y=t.text.length-2;if(y>0&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(v||(v=[])).push(new It(s[b].marker,null,null));for(var _=0;_<y;++_)m.push(v);m.push(l)}return m}function Rt(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Ut(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=U(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(ot(c.to,s.from)<0||ot(c.from,s.to)>0)){var u=[l,1],d=ot(c.from,s.from),h=ot(c.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(h>0||!a.inclusiveRight&&!h)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function Ht(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Qt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Kt(e){return e.inclusiveLeft?-1:0}function zt(e){return e.inclusiveRight?1:0}function Vt(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=ot(r.from,i.from)||Kt(e)-Kt(t);if(o)return-o;var a=ot(r.to,i.to)||zt(e)-zt(t);return a||t.id-e.id}function Wt(e,t){var n,r=Bt&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)i=r[o],i.marker.collapsed&&null==(t?i.from:i.to)&&(!n||Vt(n,i.marker)<0)&&(n=i.marker);return n}function Gt(e){return Wt(e,!0)}function Xt(e){return Wt(e,!1)}function qt(e,t){var n,r=Bt&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||Vt(n,o.marker)<0)&&(n=o.marker)}return n}function Yt(e,t,n,r,i){var o=Ye(e,t),a=Bt&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=ot(c.from,n)||Kt(l.marker)-Kt(i),d=ot(c.to,r)||zt(l.marker)-zt(i);if(!(u>=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ot(c.to,n)>=0:ot(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ot(c.from,r)<=0:ot(c.from,r)<0)))return!0}}}function Zt(e){var t;while(t=Gt(e))e=t.find(-1,!0).line;return e}function Jt(e){var t;while(t=Xt(e))e=t.find(1,!0).line;return e}function $t(e){var t,n;while(t=Xt(e))e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function en(e,t){var n=Ye(e,t),r=Zt(n);return n==r?t:et(r)}function tn(e,t){if(t>e.lastLine())return t;var n,r=Ye(e,t);if(!nn(e,r))return t;while(n=Xt(r))r=n.find(1,!0).line;return et(r)+1}function nn(e,t){var n=Bt&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if(r=n[i],r.marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&rn(e,t,r))return!0}}function rn(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return rn(e,r.line,Lt(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if(i=t.markedSpans[o],i.marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&rn(e,t,i))return!0}function on(e){e=Zt(e);for(var t=0,n=e.parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;n=o,o=n.parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function an(e){if(0==e.height)return 0;var t,n=e.text.length,r=e;while(t=Gt(r)){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}r=e;while(t=Xt(r)){var o=t.find(0,!0);n-=r.text.length-o.from.ch,r=o.to.line,n+=r.text.length-o.to.ch}return n}function sn(e){var t=e.display,n=e.doc;t.maxLine=Ye(n,n.first),t.maxLineLength=an(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=an(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var ln=function(e,t,n){this.text=e,Qt(this,t),this.height=n?n(this):1};function cn(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Ht(e),Qt(e,n);var i=r?r(e):1;i!=e.height&&$e(e,i)}function un(e){e.parent=null,Ht(e)}ln.prototype.lineNo=function(){return et(this)},_e(ln);var dn={},hn={};function fn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?hn:dn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function pn(e,t){var n=M("span",null,null,l?"padding-right: .1px":null),r={pre:M("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=gn,Ie(e.display.measure)&&(a=he(o,e.doc.direction))&&(r.addToken=vn(r.addToken,a)),r.map=[];var s=t!=e.display.externalMeasured&&et(o);bn(o,r,mt(e,o,s)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=D(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=D(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Te(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return me(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=D(r.pre.className,r.textClass||"")),r}function An(e){var t=B("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function gn(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?mn(t,e.trailingSpace):t,d=e.cm.state.specialChars,h=!1;if(d.test(t)){c=document.createDocumentFragment();var f=0;while(1){d.lastIndex=f;var p=d.exec(t),A=p?p.index-f:t.length-f;if(A){var g=document.createTextNode(u.slice(f,f+A));a&&s<9?c.appendChild(B("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+A,g),e.col+=A,e.pos+=A}if(!p)break;f+=A+1;var m=void 0;if("\t"==p[0]){var v=e.cm.options.tabSize,y=v-e.col%v;m=c.appendChild(B("span",X(y),"cm-tab")),m.setAttribute("role","presentation"),m.setAttribute("cm-text","\t"),e.col+=y}else"\r"==p[0]||"\n"==p[0]?(m=c.appendChild(B("span","\r"==p[0]?"\u240d":"\u2424","cm-invalidchar")),m.setAttribute("cm-text",p[0]),e.col+=1):(m=e.cm.options.specialCharPlaceholder(p[0]),m.setAttribute("cm-text",p[0]),a&&s<9?c.appendChild(B("span",[m])):c.appendChild(m),e.col+=1);e.map.push(e.pos,e.pos+1,m),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(h=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||h||o||l){var b=n||"";r&&(b+=r),i&&(b+=i);var _=B("span",[c],b,o);if(l)for(var w in l)l.hasOwnProperty(w)&&"style"!=w&&"class"!=w&&_.setAttribute(w,l[w]);return e.content.appendChild(_)}e.content.appendChild(c)}}function mn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o="\xa0"),r+=o,n=" "==o}return r}function vn(e,t){return function(n,r,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=n.pos,u=c+r.length;;){for(var d=void 0,h=0;h<t.length;h++)if(d=t[h],d.to>c&&d.from<=c)break;if(d.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,d.to-c),i,o,null,s,l),o=null,r=r.slice(d.to-c),c=d.to}}}function yn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function bn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,d,h,f=i.length,p=0,A=1,g="",m=0;;){if(m==p){l=c=u=s="",h=null,d=null,m=1/0;for(var v=[],y=void 0,b=0;b<r.length;++b){var _=r[b],w=_.marker;if("bookmark"==w.type&&_.from==p&&w.widgetNode)v.push(w);else if(_.from<=p&&(null==_.to||_.to>p||w.collapsed&&_.to==p&&_.from==p)){if(null!=_.to&&_.to!=p&&m>_.to&&(m=_.to,c=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&_.from==p&&(u+=" "+w.startStyle),w.endStyle&&_.to==m&&(y||(y=[])).push(w.endStyle,_.to),w.title&&((h||(h={})).title=w.title),w.attributes)for(var x in w.attributes)(h||(h={}))[x]=w.attributes[x];w.collapsed&&(!d||Vt(d.marker,w)<0)&&(d=_)}else _.from>p&&m>_.from&&(m=_.from)}if(y)for(var C=0;C<y.length;C+=2)y[C+1]==m&&(c+=" "+y[C]);if(!d||d.from==p)for(var S=0;S<v.length;++S)yn(t,0,v[S]);if(d&&(d.from||0)==p){if(yn(t,(null==d.to?f+1:d.to)-p,d.marker,null==d.from),null==d.to)return;d.to==p&&(d=!1)}}if(p>=f)break;var k=Math.min(f,m);while(1){if(g){var E=p+g.length;if(!d){var O=E>k?g.slice(0,k-p):g;t.addToken(t,O,a?a+l:l,u,p+O.length==m?c:"",s,h)}if(E>=k){g=g.slice(k-p),p=k;break}p=E,u=""}g=i.slice(o,o=n[A++]),a=fn(n[A++],t.cm.options)}}else for(var B=1;B<n.length;B+=2)t.addToken(t,i.slice(o,o=n[B]),fn(n[B+1],t.cm.options))}function _n(e,t,n){this.line=t,this.rest=$t(t),this.size=this.rest?et(q(this.rest))-n+1:1,this.node=this.text=null,this.hidden=nn(e,t)}function wn(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new _n(e.doc,Ye(e.doc,o),o);r=o+a.size,i.push(a)}return i}var xn=null;function Cn(e){xn?xn.ops.push(e):e.ownsGroup=xn={ops:[e],delayedCallbacks:[]}}function Sn(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)while(i.cursorActivityCalled<i.cursorActivityHandlers.length)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}function kn(e,t){var n=e.ownsGroup;if(n)try{Sn(n)}finally{xn=null,t(n)}}var En=null;function On(e,t){var n=Ae(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);xn?r=xn.delayedCallbacks:En?r=En:(r=En=[],setTimeout(Bn,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function Bn(){var e=En;En=null;for(var t=0;t<e.length;++t)e[t]()}function Mn(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?Dn(e,t):"gutter"==o?Nn(e,t,n,r):"class"==o?Pn(e,t):"widget"==o&&jn(e,t,r)}t.changes=null}function Tn(e){return e.node==e.text&&(e.node=B("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function In(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=Tn(t);t.background=r.insertBefore(B("div",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}function Ln(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):pn(e,t)}function Dn(e,t){var n=t.text.className,r=Ln(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,Pn(e,t)):n&&(t.text.className=n)}function Pn(e,t){In(e,t),t.line.wrapClass?Tn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function Nn(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=Tn(t);t.gutterBackground=B("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=Tn(t),s=t.gutter=B("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(B("div",rt(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(B("div",[u],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function jn(e,t,n){t.alignable&&(t.alignable=null);for(var r=C("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);Rn(e,t,n)}function Fn(e,t,n,r){var i=Ln(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),Pn(e,t),Nn(e,t,n,r),Rn(e,t,r),t.node}function Rn(e,t,n){if(Un(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)Un(e,t.rest[r],t,n,!1)}function Un(e,t,n,r,i){if(t.widgets)for(var o=Tn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=B("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),Hn(l,c,n,r),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),On(l,"redraw")}}function Hn(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function Qn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!T(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),O(t.display.measure,B("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function Kn(e,t){for(var n=ke(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function zn(e){return e.lineSpace.offsetTop}function Vn(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Wn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=O(e.measure,B("pre","x","CodeMirror-line-like")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function Gn(e){return H-e.display.nativeBarWidth}function Xn(e){return e.display.scroller.clientWidth-Gn(e)-e.display.barWidth}function qn(e){return e.display.scroller.clientHeight-Gn(e)-e.display.barHeight}function Yn(e,t,n){var r=e.options.lineWrapping,i=r&&Xn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Zn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(et(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Jn(e,t){t=Zt(t);var n=et(t),r=e.display.externalMeasured=new _n(e.doc,t,n);r.lineN=n;var i=r.built=pn(e,r);return r.text=i.pre,O(e.display.lineMeasure,i.pre),r}function $n(e,t,n,r){return nr(e,tr(e,t),n,r)}function er(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Pr(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function tr(e,t){var n=et(t),r=er(e,n);r&&!r.text?r=null:r&&r.changes&&(Mn(e,r,n,Mr(e)),e.curOp.forceUpdate=!0),r||(r=Jn(e,t));var i=Zn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function nr(e,t,n,r,i){t.before&&(n=-1);var o,a=n+(r||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Yn(e,t.view,t.rect),t.hasHeights=!0),o=sr(e,t,n,r),o.bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var rr,ir={left:0,right:0,top:0,bottom:0};function or(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?(i=t-s,o=i+1):(c==e.length-3||t==l&&e[c+3]>t)&&(o=l-s,i=o-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)while(c&&e[c-2]==e[c-3]&&e[c-1].insertLeft)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)while(c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft)r=e[(c+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function ar(e,t){var n=ir;if("left"==t){for(var r=0;r<e.length;r++)if((n=e[r]).left!=n.right)break}else for(var i=e.length-1;i>=0;i--)if((n=e[i]).left!=n.right)break;return n}function sr(e,t,n,r){var i,o=or(t.map,n,r),l=o.node,c=o.start,u=o.end,d=o.collapse;if(3==l.nodeType){for(var h=0;h<4;h++){while(c&&oe(t.line.text.charAt(o.coverStart+c)))--c;while(o.coverStart+u<o.coverEnd&&oe(t.line.text.charAt(o.coverStart+u)))++u;if(i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():ar(S(l,c,u).getClientRects(),r),i.left||i.right||0==c)break;u=c,c-=1,d="right"}a&&s<11&&(i=lr(e.display.measure,i))}else{var f;c>0&&(d=r="right"),i=e.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==r?f.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var p=l.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+Br(e.display),top:p.top,bottom:p.bottom}:ir}for(var A=i.top-t.rect.top,g=i.bottom-t.rect.top,m=(A+g)/2,v=t.view.measure.heights,y=0;y<v.length-1;y++)if(m<v[y])break;var b=y?v[y-1]:0,_=v[y],w={left:("right"==d?i.right:i.left)-t.rect.left,right:("left"==d?i.left:i.right)-t.rect.left,top:b,bottom:_};return i.left||i.right||(w.bogus=!0),e.options.singleCursorHeightPerLine||(w.rtop=A,w.rbottom=g),w}function lr(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!je(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}function cr(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function ur(e){e.display.externalMeasure=null,E(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)cr(e.display.view[t])}function dr(e){ur(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function hr(){return u&&g?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function fr(){return u&&g?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function pr(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=Qn(e.widgets[n]));return t}function Ar(e,t,n,r,i){if(!i){var o=pr(t);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=on(t);if("local"==r?a+=zn(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:fr());var l=s.left+("window"==r?0:hr());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function gr(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=hr(),i-=fr();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function mr(e,t,n,r,i){return r||(r=Ye(e.doc,t.line)),Ar(e,r,$n(e,r,t.ch,i),n)}function vr(e,t,n,r,i,o){function a(t,a){var s=nr(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,Ar(e,r,s,n)}r=r||Ye(e.doc,t.line),i||(i=tr(e,r));var s=he(r,e.doc.direction),l=t.ch,c=t.sticky;if(l>=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,n){var r=s[t],i=1==r.level;return a(n?e-1:e,i!=n)}var d=ue(s,l,c),h=ce,f=u(l,d,"before"==c);return null!=h&&(f.other=u(l,h,"before"!=c)),f}function yr(e,t){var n=0;t=dt(e.doc,t),e.options.lineWrapping||(n=Br(e.display)*t.ch);var r=Ye(e.doc,t.line),i=on(r)+zn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function br(e,t,n,r,i){var o=it(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function _r(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,n<0)return br(r.first,0,null,-1,-1);var i=tt(r,n),o=r.first+r.size-1;if(i>o)return br(r.first+r.size-1,Ye(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ye(r,i);;){var s=Sr(e,a,i,t,n),l=qt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Ye(r,i=c.line)}}function wr(e,t,n,r){r-=pr(t);var i=t.text.length,o=se((function(t){return nr(e,n,t-1).bottom<=r}),i,0);return i=se((function(t){return nr(e,n,t).top>r}),o,i),{begin:o,end:i}}function xr(e,t,n,r){n||(n=tr(e,t));var i=Ar(e,t,nr(e,n,r),"line").top;return wr(e,t,n,i)}function Cr(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Sr(e,t,n,r,i){i-=on(t);var o=tr(e,t),a=pr(t),s=0,l=t.text.length,c=!0,u=he(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?Er:kr)(e,t,n,o,u,r,i);c=1!=d.level,s=c?d.from:d.to-1,l=c?d.to:d.from-1}var h,f,p=null,A=null,g=se((function(t){var n=nr(e,o,t);return n.top+=a,n.bottom+=a,!!Cr(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=t,A=n),!0)}),s,l),m=!1;if(A){var v=r-A.left<A.right-r,y=v==c;g=p+(y?0:1),f=y?"after":"before",h=v?A.left:A.right}else{c||g!=l&&g!=s||g++,f=0==g?"after":g==t.text.length?"before":nr(e,o,g-(c?1:0)).bottom+a<=i==c?"after":"before";var b=vr(e,it(n,g,f),"line",t,o);h=b.left,m=i<b.top?-1:i>=b.bottom?1:0}return g=ae(t.text,g,1),br(n,g,f,m,r-h)}function kr(e,t,n,r,i,o,a){var s=se((function(s){var l=i[s],c=1!=l.level;return Cr(vr(e,it(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=vr(e,it(n,c?l.from:l.to,c?"after":"before"),"line",t,r);Cr(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function Er(e,t,n,r,i,o,a){var s=wr(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,h=0;h<i.length;h++){var f=i[h];if(!(f.from>=c||f.to<=l)){var p=1!=f.level,A=nr(e,r,p?Math.min(c,f.to)-1:Math.max(l,f.from)).right,g=A<o?o-A+1e9:A-o;(!u||d>g)&&(u=f,d=g)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function Or(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==rr){rr=B("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)rr.appendChild(document.createTextNode("x")),rr.appendChild(B("br"));rr.appendChild(document.createTextNode("x"))}O(e.measure,rr);var n=rr.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),E(e.measure),n||1}function Br(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=B("span","xxxxxxxxxx"),n=B("pre",[t],"CodeMirror-line-like");O(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Mr(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Tr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Tr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Ir(e){var t=Or(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Br(e.display)-3);return function(i){if(nn(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function Lr(e){var t=e.doc,n=Ir(e);t.iter((function(e){var t=n(e);t!=e.height&&$e(e,t)}))}function Dr(e,t,n,r){var i=e.display;if(!n&&"true"==ke(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(d){return null}var l,c=_r(e,o,a);if(r&&c.xRel>0&&(l=Ye(e.doc,c.line).text).length==c.ch){var u=F(l,l.length,e.options.tabSize)-l.length;c=it(c.line,Math.max(0,Math.round((o-Wn(e.display).left)/Br(e.display))-u))}return c}function Pr(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if(t-=n[r].size,t<0)return r}function Nr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Bt&&en(e.doc,t)<i.viewTo&&Fr(e);else if(n<=i.viewFrom)Bt&&tn(e.doc,n+r)>i.viewFrom?Fr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Fr(e);else if(t<=i.viewFrom){var o=Rr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Fr(e)}else if(n>=i.viewTo){var a=Rr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Fr(e)}else{var s=Rr(e,t,t,-1),l=Rr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(wn(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Fr(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function jr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[Pr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==U(a,n)&&a.push(n)}}}function Fr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Rr(e,t,n,r){var i,o=Pr(e,t),a=e.display.view;if(!Bt||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}while(en(e.doc,n)!=n){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function Ur(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=wn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=wn(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(Pr(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(wn(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,Pr(e,n)))),r.viewTo=n}function Hr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function Qr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Kr(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&zr(e,s.head,i),l||Wr(e,s,o)}}return r}function zr(e,t,n){var r=vr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(B("div","\xa0","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",r.other){var o=n.appendChild(B("div","\xa0","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=r.other.left+"px",o.style.top=r.other.top+"px",o.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Vr(e,t){return e.top-t.top||e.left-t.left}function Wr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Wn(e.display),s=a.left,l=Math.max(r.sizerWidth,Xn(e)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(B("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function d(t,n,r){var o,a,d=Ye(i,t),h=d.text.length;function f(n,r){return mr(e,it(t,n),"div",d,r)}function p(t,n,r){var i=xr(e,d,null,t),o="ltr"==n==("after"==r)?"left":"right",a="after"==r?i.begin:i.end-(/\s/.test(d.text.charAt(i.end-1))?2:1);return f(a,o)[o]}var A=he(d,i.direction);return le(A,n||0,null==r?h:r,(function(e,t,i,d){var g="ltr"==i,m=f(e,g?"left":"right"),v=f(t-1,g?"right":"left"),y=null==n&&0==e,b=null==r&&t==h,_=0==d,w=!A||d==A.length-1;if(v.top-m.top<=3){var x=(c?y:b)&&_,C=(c?b:y)&&w,S=x?s:(g?m:v).left,k=C?l:(g?v:m).right;u(S,m.top,k-S,m.bottom)}else{var E,O,B,M;g?(E=c&&y&&_?s:m.left,O=c?l:p(e,i,"before"),B=c?s:p(t,i,"after"),M=c&&b&&w?l:v.right):(E=c?p(e,i,"before"):s,O=!c&&y&&_?l:m.right,B=!c&&b&&w?s:v.left,M=c?p(t,i,"after"):l),u(E,m.top,O-E,m.bottom),m.bottom<v.top&&u(s,m.bottom,null,v.top),u(B,v.top,M-B,v.bottom)}(!o||Vr(m,o)<0)&&(o=m),Vr(v,o)<0&&(o=v),(!a||Vr(m,a)<0)&&(a=m),Vr(v,a)<0&&(a=v)})),{start:o,end:a}}var h=t.from(),f=t.to();if(h.line==f.line)d(h.line,h.ch,f.ch);else{var p=Ye(i,h.line),A=Ye(i,f.line),g=Zt(p)==Zt(A),m=d(h.line,h.ch,g?p.text.length+1:null).end,v=d(f.line,g?0:null,f.ch).start;g&&(m.top<v.top-2?(u(m.right,m.top,null,m.bottom),u(s,v.top,v.left,v.bottom)):u(m.right,m.top,v.left-m.right,m.bottom)),m.bottom<v.top&&u(s,m.bottom,null,v.top)}n.appendChild(o)}function Gr(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){e.hasFocus()||Zr(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Xr(e){e.state.focused||(e.display.input.focus(),Yr(e))}function qr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Zr(e))}),100)}function Yr(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(me(e,"focus",e,t),e.state.focused=!0,L(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Gr(e))}function Zr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(me(e,"blur",e,t),e.state.focused=!1,k(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Jr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=e.options.lineWrapping,l=void 0,c=0;if(!i.hidden){if(a&&s<8){var u=i.node.offsetTop+i.node.offsetHeight;l=u-n,n=u}else{var d=i.node.getBoundingClientRect();l=d.bottom-d.top,!o&&i.text.firstChild&&(c=i.text.firstChild.getBoundingClientRect().right-d.left-1)}var h=i.line.height-l;if((h>.005||h<-.005)&&($e(i.line,l),$r(i.line),i.rest))for(var f=0;f<i.rest.length;f++)$r(i.rest[f]);if(c>e.display.sizerWidth){var p=Math.ceil(c/Br(e.display));p>e.display.maxLineLength&&(e.display.maxLineLength=p,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function $r(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function ei(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-zn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=tt(t,r),a=tt(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=tt(t,on(Ye(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=tt(t,on(Ye(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ti(e,t){if(!ve(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!p){var o=B("div","\u200b",null,"position: absolute;\n top: "+(t.top-n.viewOffset-zn(e.display))+"px;\n height: "+(t.bottom-t.top+Gn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function ni(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(t=t.ch?it(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?it(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=vr(e,t),l=n&&n!=t?vr(e,n):s;i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var c=ii(e,i),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(di(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(fi(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return i}function ri(e,t){var n=ii(e,t);null!=n.scrollTop&&di(e,n.scrollTop),null!=n.scrollLeft&&fi(e,n.scrollLeft)}function ii(e,t){var n=e.display,r=Or(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=qn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Vn(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var d=e.options.fixedGutter?0:n.gutters.offsetWidth,h=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-d,f=Xn(e)-n.gutters.offsetWidth,p=t.right-t.left>f;return p&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.left<h?a.scrollLeft=Math.max(0,t.left+d-(p?0:10)):t.right>f+h-3&&(a.scrollLeft=t.right+(p?0:10)-f),a}function oi(e,t){null!=t&&(ci(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ai(e){ci(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function si(e,t,n){null==t&&null==n||ci(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function li(e,t){ci(e),e.curOp.scrollToPos=t}function ci(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=yr(e,t.from),r=yr(e,t.to);ui(e,n,r,t.margin)}}function ui(e,t,n,r){var i=ii(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});si(e,i.scrollLeft,i.scrollTop)}function di(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Qi(e,{top:t}),hi(e,t,!0),n&&Qi(e),Di(e,100))}function hi(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function fi(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Wi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function pi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Vn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Gn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Ai=function(e,t,n){this.cm=n;var r=this.vert=B("div",[B("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=B("div",[B("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),pe(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),pe(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ai.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Ai.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ai.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ai.prototype.zeroWidthHack=function(){var e=v&&!f?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new R,this.disableVert=new R},Ai.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect(),o="vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},Ai.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var gi=function(){};function mi(e,t){t||(t=pi(e));var n=e.display.barWidth,r=e.display.barHeight;vi(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Jr(e),vi(e,pi(e)),n=e.display.barWidth,r=e.display.barHeight}function vi(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}gi.prototype.update=function(){return{bottom:0,right:0}},gi.prototype.setScrollLeft=function(){},gi.prototype.setScrollTop=function(){},gi.prototype.clear=function(){};var yi={native:Ai,null:gi};function bi(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&k(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new yi[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),pe(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?fi(e,t):di(e,t)}),e),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)}var _i=0;function wi(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.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:++_i},Cn(e.curOp)}function xi(e){var t=e.curOp;t&&kn(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;Ci(e)}))}function Ci(e){for(var t=e.ops,n=0;n<t.length;n++)Si(t[n]);for(var r=0;r<t.length;r++)ki(t[r]);for(var i=0;i<t.length;i++)Ei(t[i]);for(var o=0;o<t.length;o++)Oi(t[o]);for(var a=0;a<t.length;a++)Bi(t[a])}function Si(e){var t=e.cm,n=t.display;ji(t),e.updateMaxLine&&sn(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ni(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function ki(e){e.updatedDisplay=e.mustUpdate&&Ui(e.cm,e.update)}function Ei(e){var t=e.cm,n=t.display;e.updatedDisplay&&Jr(t),e.barMeasure=pi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=$n(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Gn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Xn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Oi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&fi(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==I();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&mi(t,e.barMeasure),e.updatedDisplay&&Vi(t,e.barMeasure),e.selectionChanged&&Gr(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Xr(e.cm)}function Bi(e){var t=e.cm,n=t.display,r=t.doc;if(e.updatedDisplay&&Hi(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&hi(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&fi(t,e.scrollLeft,!0,!0),e.scrollToPos){var i=ni(t,dt(r,e.scrollToPos.from),dt(r,e.scrollToPos.to),e.scrollToPos.margin);ti(t,i)}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s)o[s].lines.length||me(o[s],"hide");if(a)for(var l=0;l<a.length;++l)a[l].lines.length&&me(a[l],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&me(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Mi(e,t){if(e.curOp)return t();wi(e);try{return t()}finally{xi(e)}}function Ti(e,t){return function(){if(e.curOp)return t.apply(e,arguments);wi(e);try{return t.apply(e,arguments)}finally{xi(e)}}}function Ii(e){return function(){if(this.curOp)return e.apply(this,arguments);wi(this);try{return e.apply(this,arguments)}finally{xi(this)}}}function Li(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);wi(t);try{return e.apply(this,arguments)}finally{xi(t)}}}function Di(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,N(Pi,e))}function Pi(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=vt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?We(t.mode,r.state):null,l=gt(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var d=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),h=0;!d&&h<a.length;++h)d=a[h]!=o.styles[h];d&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&yt(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return Di(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Mi(e,(function(){for(var t=0;t<i.length;t++)jr(e,i[t],"text")}))}}var Ni=function(e,t,n){var r=e.display;this.viewport=t,this.visible=ei(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Xn(e),this.force=n,this.dims=Mr(e),this.events=[]};function ji(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Gn(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Gn(e)+"px",t.scrollbarsClipped=!0)}function Fi(e){if(e.hasFocus())return null;var t=I();if(!t||!T(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&T(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function Ri(e){if(e&&e.activeElt&&e.activeElt!=I()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&T(document.body,e.anchorNode)&&T(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}function Ui(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return Fr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Hr(e))return!1;Gi(e)&&(Fr(e),t.dims=Mr(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Bt&&(o=en(e.doc,o),a=tn(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Ur(e,o,a),n.viewOffset=on(Ye(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=Hr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=Fi(e);return l>4&&(n.lineDiv.style.display="none"),Ki(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Ri(c),E(n.cursorDiv),E(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,Di(e,400)),n.updateLineNumbers=null,!0}function Hi(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Xn(e))r&&(t.visible=ei(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Vn(e.display)-qn(e),n.top)}),t.visible=ei(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!Ui(e,t))break;Jr(e);var i=pi(e);Qr(e),mi(e,i),Vi(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Qi(e,t){var n=new Ni(e,t);if(Ui(e,n)){Jr(e),Hi(e,n);var r=pi(e);Qr(e),mi(e,r),Vi(e,r),n.finish()}}function Ki(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&v&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,d=0;d<c.length;d++){var h=c[d];if(h.hidden);else if(h.node&&h.node.parentNode==o){while(a!=h.node)a=s(a);var f=i&&null!=t&&t<=u&&h.lineNumber;h.changes&&(U(h.changes,"gutter")>-1&&(f=!1),Mn(e,h,u,n)),f&&(E(h.lineNumber),h.lineNumber.appendChild(document.createTextNode(rt(e.options,u)))),a=h.node.nextSibling}else{var p=Fn(e,h,u,n);o.insertBefore(p,a)}u+=h.size}while(a)a=s(a)}function zi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function Vi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Gn(e)+"px"}function Wi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Tr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function Gi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=rt(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(B("div",[B("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",zi(e.display),!0}return!1}function Xi(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function qi(e){var t=e.gutters,n=e.gutterSpecs;E(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(B("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=n.length?"":"none",zi(e)}function Yi(e){qi(e.display),Nr(e),Wi(e)}function Zi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=B("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=B("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=M("div",null,"CodeMirror-code"),o.selectionDiv=B("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=B("div",null,"CodeMirror-cursors"),o.measure=B("div",null,"CodeMirror-measure"),o.lineMeasure=B("div",null,"CodeMirror-measure"),o.lineSpace=M("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var c=M("div",[o.lineSpace],"CodeMirror-lines");o.mover=B("div",[c],null,"position: relative"),o.sizer=B("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=B("div",null,null,"position: absolute; height: "+H+"px; width: 1px;"),o.gutters=B("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=B("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=B("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&m||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=Xi(i.gutters,i.lineNumbers),qi(o),r.init(o)}Ni.prototype.signal=function(e,t){be(e,t)&&this.events.push(arguments)},Ni.prototype.finish=function(){for(var e=0;e<this.events.length;e++)me.apply(null,this.events[e])};var Ji=0,$i=null;function eo(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function to(e){var t=eo(e);return t.x*=$i,t.y*=$i,t}function no(e,t){var r=eo(t),i=r.x,o=r.y,a=e.display,s=a.scroller,c=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&c||o&&u){if(o&&v&&l)e:for(var h=t.target,f=a.view;h!=s;h=h.parentNode)for(var p=0;p<f.length;p++)if(f[p].node==h){e.display.currentWheelTarget=h;break e}if(i&&!n&&!d&&null!=$i)return o&&u&&di(e,Math.max(0,s.scrollTop+o*$i)),fi(e,Math.max(0,s.scrollLeft+i*$i)),(!o||o&&u)&&we(t),void(a.wheelStartX=null);if(o&&null!=$i){var A=o*$i,g=e.doc.scrollTop,m=g+a.wrapper.clientHeight;A<0?g=Math.max(0,g+A-50):m=Math.min(e.doc.height,m+A+50),Qi(e,{top:g,bottom:m})}Ji<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&($i=($i*Ji+n)/(Ji+1),++Ji)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?$i=-.53:n?$i=15:u?$i=-.7:h&&($i=-1/3);var ro=function(e,t){this.ranges=e,this.primIndex=t};ro.prototype.primary=function(){return this.ranges[this.primIndex]},ro.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!at(n.anchor,r.anchor)||!at(n.head,r.head))return!1}return!0},ro.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new io(st(this.ranges[t].anchor),st(this.ranges[t].head));return new ro(e,this.primIndex)},ro.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},ro.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(ot(t,r.from())>=0&&ot(e,r.to())<=0)return n}return-1};var io=function(e,t){this.anchor=e,this.head=t};function oo(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return ot(e.from(),t.from())})),n=U(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=ot(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var c=ct(s.from(),a.from()),u=lt(s.to(),a.to()),d=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new io(d?u:c,d?c:u))}}return new ro(t,n)}function ao(e,t){return new ro([new io(e,t||e)],0)}function so(e){return e.text?it(e.from.line+e.text.length-1,q(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function lo(e,t){if(ot(e,t.from)<0)return e;if(ot(e,t.to)<=0)return so(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=so(t).ch-t.to.ch),it(n,r)}function co(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new io(lo(i.anchor,t),lo(i.head,t)))}return oo(e.cm,n,e.sel.primIndex)}function uo(e,t,n){return e.line==t.line?it(n.line,e.ch-t.ch+n.ch):it(n.line+(e.line-t.line),e.ch)}function ho(e,t,n){for(var r=[],i=it(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=uo(s.from,i,o),c=uo(so(s),i,o);if(i=s.to,o=c,"around"==n){var u=e.sel.ranges[a],d=ot(u.head,u.anchor)<0;r[a]=new io(d?c:l,d?l:c)}else r[a]=new io(l,l)}return new ro(r,e.sel.primIndex)}function fo(e){e.doc.mode=Ke(e.options,e.doc.modeOption),po(e)}function po(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,Di(e,100),e.state.modeGen++,e.curOp&&Nr(e)}function Ao(e,t){return 0==t.from.ch&&0==t.to.ch&&""==q(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function go(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){cn(e,n,i,r),On(e,"change",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new ln(c[o],i(o),r));return n}var s=t.from,l=t.to,c=t.text,u=Ye(e,s.line),d=Ye(e,l.line),h=q(c),f=i(c.length-1),p=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Ao(e,t)){var A=a(0,c.length-1);o(d,d.text,f),p&&e.remove(s.line,p),A.length&&e.insert(s.line,A)}else if(u==d)if(1==c.length)o(u,u.text.slice(0,s.ch)+h+u.text.slice(l.ch),f);else{var g=a(1,c.length-1);g.push(new ln(h+u.text.slice(l.ch),f,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,g)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+d.text.slice(l.ch),i(0)),e.remove(s.line+1,p);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(d,h+d.text.slice(l.ch),f);var m=a(1,c.length-1);p>1&&e.remove(s.line+1,p-1),e.insert(s.line+1,m)}On(e,"change",e,t)}function mo(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a<e.linked.length;++a){var s=e.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),r(s.doc,e,l))}}}r(e,null,!0)}function vo(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Lr(e),fo(e),yo(e),e.options.lineWrapping||sn(e),e.options.mode=t.modeOption,Nr(e)}function yo(e){("rtl"==e.doc.direction?L:k)(e.display.lineDiv,"CodeMirror-rtl")}function bo(e){Mi(e,(function(){yo(e),Nr(e)}))}function _o(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function wo(e,t){var n={from:st(t.from),to:so(t),text:Ze(e,t.from,t.to)};return Bo(e,n,t.from.line,t.to.line+1),mo(e,(function(e){return Bo(e,n,t.from.line,t.to.line+1)}),!0),n}function xo(e){while(e.length){var t=q(e);if(!t.ranges)break;e.pop()}}function Co(e,t){return t?(xo(e.done),q(e.done)):e.done.length&&!q(e.done).ranges?q(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),q(e.done)):void 0}function So(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=Co(i,i.lastOp==r)))a=q(o.changes),0==ot(t.from,t.to)&&0==ot(t.from,a.to)?a.to=so(t):o.changes.push(wo(e,t));else{var l=q(i.done);l&&l.ranges||Oo(e.sel,i.done),o={changes:[wo(e,t)],generation:i.generation},i.done.push(o);while(i.done.length>i.undoDepth)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||me(e,"historyAdded")}function ko(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Eo(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||ko(e,o,q(i.done),t))?i.done[i.done.length-1]=t:Oo(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&xo(i.undone)}function Oo(e,t){var n=q(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Bo(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Mo(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function To(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(Mo(n[i]));return r}function Io(e,t){var n=To(e,t),r=Ft(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function Lo(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?ro.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var d in c)(u=d.match(/^spans_(\d+)$/))&&U(t,Number(u[1]))>-1&&(q(s)[d]=c[d],delete c[d])}}}return r}function Do(e,t,n,r){if(r){var i=e.anchor;if(n){var o=ot(t,i)<0;o!=ot(n,i)<0?(i=t,t=n):o!=ot(t,n)<0&&(t=n)}return new io(i,t)}return new io(n||t,t)}function Po(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Ho(e,new ro([Do(e.sel.primary(),t,n,i)],0),r)}function No(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=Do(e.sel.ranges[o],t[o],null,i);var a=oo(e.cm,r,e.sel.primIndex);Ho(e,a,n)}function jo(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Ho(e,oo(e.cm,i,e.sel.primIndex),r)}function Fo(e,t,n,r){Ho(e,ao(t,n),r)}function Ro(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new io(dt(e,t[n].anchor),dt(e,t[n].head))},origin:n&&n.origin};return me(e,"beforeSelectionChange",e,r),e.cm&&me(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?oo(e.cm,r.ranges,r.ranges.length-1):t}function Uo(e,t,n){var r=e.history.done,i=q(r);i&&i.ranges?(r[r.length-1]=t,Qo(e,t,n)):Ho(e,t,n)}function Ho(e,t,n){Qo(e,t,n),Eo(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function Qo(e,t,n){(be(e,"beforeSelectionChange")||e.cm&&be(e.cm,"beforeSelectionChange"))&&(t=Ro(e,t,n));var r=n&&n.bias||(ot(t.primary().head,e.sel.primary().head)<0?-1:1);Ko(e,Vo(e,t,r,!0)),n&&!1===n.scroll||!e.cm||ai(e.cm)}function Ko(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ye(e.cm)),On(e,"cursorActivity",e))}function zo(e){Ko(e,Vo(e,e.sel,null,!1))}function Vo(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=Go(e,a.anchor,s&&s.anchor,n,r),c=Go(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new io(l,c))}return i?oo(e.cm,i,t.primIndex):t}function Wo(e,t,n,r,i){var o=Ye(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,u="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(me(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var d=l.find(r<0?1:-1),h=void 0;if((r<0?u:c)&&(d=Xo(e,d,-r,d&&d.line==t.line?o:null)),d&&d.line==t.line&&(h=ot(d,n))&&(r<0?h<0:h>0))return Wo(e,d,t,r,i)}var f=l.find(r<0?-1:1);return(r<0?c:u)&&(f=Xo(e,f,r,f.line==t.line?o:null)),f?Wo(e,f,t,r,i):null}}return t}function Go(e,t,n,r,i){var o=r||1,a=Wo(e,t,n,o,i)||!i&&Wo(e,t,n,o,!0)||Wo(e,t,n,-o,i)||!i&&Wo(e,t,n,-o,!0);return a||(e.cantEdit=!0,it(e.first,0))}function Xo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?dt(e,it(t.line-1)):null:n>0&&t.ch==(r||Ye(e,t.line)).text.length?t.line<e.first+e.size-1?it(t.line+1,0):null:new it(t.line,t.ch+n)}function qo(e){e.setSelection(it(e.firstLine(),0),it(e.lastLine()),K)}function Yo(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=dt(e,t)),n&&(r.to=dt(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),me(e,"beforeChange",e,r),e.cm&&me(e.cm,"beforeChange",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Zo(e,t,n){if(e.cm){if(!e.cm.curOp)return Ti(e.cm,Zo)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(be(e,"beforeChange")||e.cm&&be(e.cm,"beforeChange"))||(t=Yo(e,t,!0),t)){var r=Ot&&!n&&Ut(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)Jo(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Jo(e,t)}}function Jo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ot(t.from,t.to)){var n=co(e,t);So(e,t,n,e.cm?e.cm.curOp.id:NaN),ta(e,t,n,Ft(e,t));var r=[];mo(e,(function(e,n){n||-1!=U(r,e.history)||(aa(e.history,t),r.push(e.history)),ta(e,t,null,Ft(e,t))}))}}function $o(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,c=0;c<s.length;c++)if(i=s[c],n?i.ranges&&!i.equals(e.sel):!i.ranges)break;if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(i=s.pop(),!i.ranges){if(r)return void s.push(i);break}if(Oo(i,l),n&&!i.equals(e.sel))return void Ho(e,i,{clearRedo:!1});a=i}var u=[];Oo(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var d=be(e,"beforeChange")||e.cm&&be(e.cm,"beforeChange"),h=function(n){var r=i.changes[n];if(r.origin=t,d&&!Yo(e,r,!1))return s.length=0,{};u.push(wo(e,r));var o=n?co(e,r):q(s);ta(e,r,o,Io(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:so(r)});var a=[];mo(e,(function(e,t){t||-1!=U(a,e.history)||(aa(e.history,r),a.push(e.history)),ta(e,r,null,Io(e,r))}))},f=i.changes.length-1;f>=0;--f){var p=h(f);if(p)return p.v}}}}function ea(e,t){if(0!=t&&(e.first+=t,e.sel=new ro(Y(e.sel.ranges,(function(e){return new io(it(e.anchor.line+t,e.anchor.ch),it(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Nr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)jr(e.cm,r,"gutter")}}function ta(e,t,n,r){if(e.cm&&!e.cm.curOp)return Ti(e.cm,ta)(e,t,n,r);if(t.to.line<e.first)ea(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ea(e,i),t={from:it(e.first,0),to:it(t.to.line+i,t.to.ch),text:[q(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:it(o,Ye(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ze(e,t.from,t.to),n||(n=co(e,t)),e.cm?na(e.cm,t,r):go(e,t,r),Qo(e,n,K),e.cantEdit&&Go(e,it(e.firstLine(),0))&&(e.cantEdit=!1)}}function na(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=et(Zt(Ye(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ye(e),go(r,t,n,Ir(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=an(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Et(r,o.line),Di(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Nr(e):o.line!=a.line||1!=t.text.length||Ao(e.doc,t)?Nr(e,o.line,a.line+1,c):jr(e,o.line,"text");var u=be(e,"changes"),d=be(e,"change");if(d||u){var h={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&On(e,"change",e,h),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(h)}e.display.selForContextMenu=null}function ra(e,t,n,r,i){var o;r||(r=n),ot(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),Zo(e,{from:n,to:r,text:t,origin:i})}function ia(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function oa(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||(o=e[i]=o.deepCopy(),o.copied=!0);for(var s=0;s<o.ranges.length;s++)ia(o.ranges[s].anchor,t,n,r),ia(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=it(c.from.line+r,c.from.ch),c.to=it(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function aa(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;oa(e.done,n,r,i),oa(e.undone,n,r,i)}function sa(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=Ye(e,ut(e,t)):i=et(t),null==i?null:(r(o,i)&&e.cm&&jr(e.cm,i,n),o)}function la(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function ca(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}io.prototype.from=function(){return ct(this.anchor,this.head)},io.prototype.to=function(){return lt(this.anchor,this.head)},io.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},la.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,un(i),On(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},ca.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof la))){var s=[];this.collapse(s),this.children=[new la(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new la(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),n=new ca(t);if(e.parent){e.size-=n.size,e.height-=n.height;var r=U(e.parent.children,e);e.parent.children.splice(r+1,0,n)}else{var i=new ca(e.children);i.parent=e,e.children=[i,n],e=i}n.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ua=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function da(e,t,n){on(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&oi(e,n)}function ha(e,t,n,r){var i=new ua(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),sa(e,t,"widget",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!nn(e,t)){var r=on(t)<e.scrollTop;$e(t,t.height+Qn(i)),r&&oi(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&On(o,"lineWidgetAdded",o,i,"number"==typeof t?t:et(t)),i}ua.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=et(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=Qn(this);$e(n,Math.max(0,n.height-o)),e&&(Mi(e,(function(){da(e,n,-o),jr(e,r,"widget")})),On(e,"lineWidgetCleared",e,this,r))}},ua.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=Qn(this)-t;i&&(nn(this.doc,r)||$e(r,r.height+i),n&&Mi(n,(function(){n.curOp.forceUpdate=!0,da(n,r,i),On(n,"lineWidgetChanged",n,e,et(r))})))},_e(ua);var fa=0,pa=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++fa};function Aa(e,t,n,r,i){if(r&&r.shared)return ma(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return Ti(e.cm,Aa)(e,t,n,r,i);var o=new pa(e,i),a=ot(t,n);if(r&&j(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=M("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Yt(e,t.line,t,n,o)||t.line!=n.line&&Yt(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Tt()}o.addToHistory&&So(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(e){c&&o.collapsed&&!c.options.lineWrapping&&Zt(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&$e(e,0),Pt(e,new It(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){nn(e,t)&&$e(t,0)})),o.clearOnEnter&&pe(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Mt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++fa,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Nr(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)jr(c,u,"text");o.atomic&&zo(c.doc),On(c,"markerAdded",c,o)}return o}pa.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&wi(e),be(this,"clear")){var n=this.find();n&&On(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=Lt(a.markedSpans,this);e&&!this.collapsed?jr(e,et(a),"text"):e&&(null!=s.to&&(i=et(a)),null!=s.from&&(r=et(a))),a.markedSpans=Dt(a.markedSpans,s),null==s.from&&this.collapsed&&!nn(this.doc,a)&&e&&$e(a,Or(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Zt(this.lines[l]),u=an(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Nr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&zo(e.doc)),e&&On(e,"markerCleared",e,this,r,i),t&&xi(e),this.parent&&this.parent.clear()}},pa.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=Lt(o.markedSpans,this);if(null!=a.from&&(n=it(t?o:et(o),a.from),-1==e))return n;if(null!=a.to&&(r=it(t?o:et(o),a.to),1==e))return r}return n&&{from:n,to:r}},pa.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Mi(r,(function(){var i=t.line,o=et(t.line),a=er(r,o);if(a&&(cr(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!nn(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=Qn(n)-s;l&&$e(i,i.height+l)}On(r,"markerChanged",r,e)}))},pa.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=U(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},pa.prototype.detachLine=function(e){if(this.lines.splice(U(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},_e(pa);var ga=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function ma(e,t,n,r,i){r=j(r),r.shared=!1;var o=[Aa(e,t,n,r,i)],a=o[0],s=r.widgetNode;return mo(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(Aa(e,dt(e,t),dt(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=q(o)})),new ga(o,a)}function va(e){return e.findMarks(it(e.first,0),e.clipPos(it(e.lastLine())),(function(e){return e.parent}))}function ya(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(ot(o,a)){var s=Aa(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}function ba(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];mo(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==U(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}ga.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();On(this,"clear")}},ga.prototype.find=function(e,t){return this.primary.find(e,t)},_e(ga);var _a=0,wa=function e(t,n,r,i,o){if(!(this instanceof e))return new e(t,n,r,i,o);null==r&&(r=0),ca.call(this,[new la([new ln("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=r;var a=it(r,0);this.sel=ao(a),this.history=new _o(null),this.id=++_a,this.modeOption=n,this.lineSep=i,this.direction="rtl"==o?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),go(this,{from:a,to:a,text:t}),Ho(this,ao(a),K)};wa.prototype=$(ca.prototype,{constructor:wa,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Je(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Li((function(e){var t=it(this.first,0),n=this.first+this.size-1;Zo(this,{from:t,to:it(n,Ye(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&si(this.cm,0,0),Ho(this,ao(t),K)})),replaceRange:function(e,t,n,r){t=dt(this,t),n=n?dt(this,n):t,ra(this,e,t,n,r)},getRange:function(e,t,n){var r=Ze(this,dt(this,e),dt(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(nt(this,e))return Ye(this,e)},getLineNumber:function(e){return et(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Ye(this,e)),Zt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return dt(this,e)},getCursor:function(e){var t,n=this.sel.primary();return t=null==e||"head"==e?n.head:"anchor"==e?n.anchor:"end"==e||"to"==e||!1===e?n.to():n.from(),t},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Li((function(e,t,n){Fo(this,dt(this,"number"==typeof e?it(e,t||0):e),null,n)})),setSelection:Li((function(e,t,n){Fo(this,dt(this,e),dt(this,t||e),n)})),extendSelection:Li((function(e,t,n){Po(this,dt(this,e),t&&dt(this,t),n)})),extendSelections:Li((function(e,t){No(this,ft(this,e),t)})),extendSelectionsBy:Li((function(e,t){var n=Y(this.sel.ranges,e);No(this,ft(this,n),t)})),setSelections:Li((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new io(dt(this,e[i].anchor),dt(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Ho(this,oo(this.cm,r,t),n)}})),addSelection:Li((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new io(dt(this,e),dt(this,t||e))),Ho(this,oo(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=Ze(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Ze(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:Li((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&"end"!=t&&ho(this,r,t),l=r.length-1;l>=0;l--)Zo(this,r[l]);s?Uo(this,s):this.cm&&ai(this.cm)})),undo:Li((function(){$o(this,"undo")})),redo:Li((function(){$o(this,"redo")})),undoSelection:Li((function(){$o(this,"undo",!0)})),redoSelection:Li((function(){$o(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new _o(this.history.maxGeneration),mo(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Lo(this.history.done),undone:Lo(this.history.undone)}},setHistory:function(e){var t=this.history=new _o(this.history.maxGeneration);t.done=Lo(e.done.slice(0),null,!0),t.undone=Lo(e.undone.slice(0),null,!0)},setGutterMarker:Li((function(e,t,n){return sa(this,e,"gutter",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&re(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:Li((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&sa(t,n,"gutter",(function(){return n.gutterMarkers[e]=null,re(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!nt(this,e))return null;if(t=e,e=Ye(this,e),!e)return null}else if(t=et(e),null==t)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Li((function(e,t,n){return sa(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(C(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0}))})),removeLineClass:Li((function(e,t,n){return sa(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(C(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:Li((function(e,t,n){return ha(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return Aa(this,dt(this,e),dt(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=dt(this,e),Aa(this,e,e,n,"bookmark")},findMarksAt:function(e){e=dt(this,e);var t=[],n=Ye(this,e.line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=dt(this,e),t=dt(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),dt(this,it(n,t))},indexFromPos:function(e){e=dt(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new wa(Je(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new wa(Je(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],ya(r,va(this)),r},unlinkDoc:function(e){if(e instanceof Ns&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var n=this.linked[t];if(n.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),ba(va(this));break}}if(e.history==this.history){var r=[e.id];mo(e,(function(e){return r.push(e.id)}),!0),e.history=new _o(null),e.history.done=Lo(this.history.done,r),e.history.undone=Lo(this.history.undone,r)}},iterLinkedDocs:function(e){mo(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Le(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Li((function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&bo(this.cm))}))}),wa.prototype.eachLine=wa.prototype.iter;var xa=0;function Ca(e){var t=this;if(Ea(t),!ve(t,e)&&!Kn(t.display,e)){we(e),a&&(xa=+new Date);var n=Dr(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(){++s==i&&Ti(t,(function(){n=dt(t.doc,n);var e={from:n,to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"};Zo(t.doc,e),Uo(t.doc,ao(dt(t.doc,n),dt(t.doc,so(e))))}))()},c=function(e,n){if(t.options.allowDropFileTypes&&-1==U(t.options.allowDropFileTypes,e.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var e=r.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[n]=e),l()},r.readAsText(e)}},u=0;u<r.length;u++)c(r[u],u);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var d=e.dataTransfer.getData("Text");if(d){var h;if(t.state.draggingText&&!t.state.draggingText.copy&&(h=t.listSelections()),Qo(t.doc,ao(n,n)),h)for(var f=0;f<h.length;++f)ra(t.doc,"",h[f].anchor,h[f].head,"drag");t.replaceSelection(d,"around","paste"),t.display.input.focus()}}catch(p){}}}}function Sa(e,t){if(a&&(!e.state.draggingText||+new Date-xa<100))Se(t);else if(!ve(e,t)&&!Kn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!h)){var n=B("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),d&&n.parentNode.removeChild(n)}}function ka(e,t){var n=Dr(e,t);if(n){var r=document.createDocumentFragment();zr(e,n,r),e.display.dragCursor||(e.display.dragCursor=B("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),O(e.display.dragCursor,r)}}function Ea(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Oa(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var Ba=!1;function Ma(){Ba||(Ta(),Ba=!0)}function Ta(){var e;pe(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Oa(Ia)}),100))})),pe(window,"blur",(function(){return Oa(Zr)}))}function Ia(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var La={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"},Da=0;Da<10;Da++)La[Da+48]=La[Da+96]=String(Da);for(var Pa=65;Pa<=90;Pa++)La[Pa]=String.fromCharCode(Pa);for(var Na=1;Na<=12;Na++)La[Na+111]=La[Na+63235]="F"+Na;var ja={};function Fa(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function Ra(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=Y(n.split(" "),Fa),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function Ua(e,t,n,r){t=za(t);var i=t.call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Ua(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=Ua(e,t.fallthrough[o],n,r);if(a)return a}}}function Ha(e){var t="string"==typeof e?e:La[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Qa(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(w?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(w?t.ctrlKey:t.metaKey)&&"Mod"!=r&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=r&&(e="Shift-"+e),e}function Ka(e,t){if(d&&34==e.keyCode&&e["char"])return!1;var n=La[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Qa(n,e,t))}function za(e){return"string"==typeof e?ja[e]:e}function Va(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){var o=t(n[i]);while(r.length&&ot(o.from,q(r).to)<=0){var a=r.pop();if(ot(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Mi(e,(function(){for(var t=r.length-1;t>=0;t--)ra(e.doc,"",r[t].from,r[t].to,"+delete");ai(e)}))}function Wa(e,t,n){var r=ae(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Ga(e,t,n){var r=Wa(e,t.ch,n);return null==r?null:new it(t.line,r,n<0?"after":"before")}function Xa(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=he(n,t.doc.direction);if(o){var a,s=i<0?q(o):o[0],l=i<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=tr(t,n);a=i<0?n.text.length-1:0;var d=nr(t,u,a).top;a=se((function(e){return nr(t,u,e).top==d}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=Wa(n,a,1))}else a=i<0?s.to:s.from;return new it(r,a,c)}}return new it(r,i<0?n.text.length:0,i<0?"before":"after")}function qa(e,t,n,r){var i=he(t,e.doc.direction);if(!i)return Ga(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=ue(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Ga(t,n,r);var s,l=function(e,n){return Wa(t,e instanceof it?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||tr(e,t),xr(e,t,s,n)):{begin:0,end:t.text.length}},u=c("before"==n.sticky?l(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var d=1==a.level==r<0,h=l(n,d?1:-1);if(null!=h&&(d?h<=a.to&&h<=u.end:h>=a.from&&h>=u.begin)){var f=d?"before":"after";return new it(n.line,h,f)}}var p=function(e,t,r){for(var o=function(e,t){return t?new it(n.line,l(e,1),"before"):new it(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},A=p(o+r,r,u);if(A)return A;var g=r>0?u.end:l(u.begin,-1);return null==g||r>0&&g==t.text.length||(A=p(r>0?0:i.length-1,r,c(g)),!A)?null:A}ja.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"},ja.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"},ja.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"},ja.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"]},ja["default"]=v?ja.macDefault:ja.pcDefault;var Ya={selectAll:qo,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),K)},killLine:function(e){return Va(e,(function(t){if(t.empty()){var n=Ye(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:it(t.head.line+1,0)}:{from:t.head,to:it(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return Va(e,(function(t){return{from:it(t.from().line,0),to:dt(e.doc,it(t.to().line+1,0))}}))},delLineLeft:function(e){return Va(e,(function(e){return{from:it(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return Va(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return{from:r,to:t.from()}}))},delWrappedLineRight:function(e){return Va(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(it(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(it(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return Za(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return $a(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return Ja(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")}),V)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")}),V)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?$a(e,t.head):r}),V)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=F(e.getLine(o.line),o.ch,r);t.push(X(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Mi(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=Ye(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new it(i.line,i.ch-1)),i.ch>0)i=new it(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),it(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Ye(e.doc,i.line-1).text;a&&(i=new it(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),it(i.line-1,a.length-1),i,"+transpose"))}n.push(new io(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Mi(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);ai(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Za(e,t){var n=Ye(e.doc,t),r=Zt(n);return r!=n&&(t=et(r)),Xa(!0,e,r,t,1)}function Ja(e,t){var n=Ye(e.doc,t),r=Jt(n);return r!=n&&(t=et(r)),Xa(!0,e,n,t,-1)}function $a(e,t){var n=Za(e,t.line),r=Ye(e.doc,n.line),i=he(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return it(n.line,a?0:o,n.sticky)}return n}function es(e,t,n){if("string"==typeof t&&(t=Ya[t],!t))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=Q}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function ts(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=Ua(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&Ua(t,e.options.extraKeys,n,e)||Ua(t,e.options.keyMap,n,e)}var ns=new R;function rs(e,t,n,r){var i=e.state.keySeq;if(i){if(Ha(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:ns.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),is(e,i+" "+t,n,r))return!0}return is(e,t,n,r)}function is(e,t,n,r){var i=ts(e,t,r);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&On(e,"keyHandled",e,t,n),"handled"!=i&&"multi"!=i||(we(n),Gr(e)),!!i}function os(e,t){var n=Ka(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?rs(e,"Shift-"+n,t,(function(t){return es(e,t,!0)}))||rs(e,n,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return es(e,t)})):rs(e,n,t,(function(t){return es(e,t)})))}function as(e,t,n){return rs(e,"'"+n+"'",t,(function(t){return es(e,t,!0)}))}var ss=null;function ls(e){var t=this;if((!e.target||e.target==t.display.input.getField())&&(t.curOp.focus=I(),!ve(t,e))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=os(t,e);d&&(ss=i?r:null,i||88!=r||Pe||!(v?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),n&&!v&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=r||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||cs(t)}}function cs(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(k(t,"CodeMirror-crosshair"),ge(document,"keyup",n),ge(document,"mouseover",n))}L(t,"CodeMirror-crosshair"),pe(document,"keyup",n),pe(document,"mouseover",n)}function us(e){16==e.keyCode&&(this.doc.sel.shift=!1),ve(this,e)}function ds(e){var t=this;if((!e.target||e.target==t.display.input.getField())&&!(Kn(t.display,e)||ve(t,e)||e.ctrlKey&&!e.altKey||v&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(d&&n==ss)return ss=null,void we(e);if(!d||e.which&&!(e.which<10)||!os(t,e)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(as(t,e,i)||t.display.input.onKeyPress(e))}}}var hs,fs,ps=400,As=function(e,t,n){this.time=e,this.pos=t,this.button=n};function gs(e,t){var n=+new Date;return fs&&fs.compare(n,e,t)?(hs=fs=null,"triple"):hs&&hs.compare(n,e,t)?(fs=new As(n,e,t),hs=null,"double"):(hs=new As(n,e,t),fs=null,"single")}function ms(e){var t=this,n=t.display;if(!(ve(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,Kn(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!ks(t,e)){var r=Dr(t,e),i=Ee(e),o=r?gs(r,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&vs(t,i,r,o,e)||(1==i?r?bs(t,r,o,e):ke(e)==n.scroller&&we(e):2==i?(r&&Po(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(x?t.display.input.onContextMenu(e):qr(t)))}}function vs(e,t,n,r,i){var o="Click";return"double"==r?o="Double"+o:"triple"==r&&(o="Triple"+o),o=(1==t?"Left":2==t?"Middle":"Right")+o,rs(e,Qa(o,i),i,(function(t){if("string"==typeof t&&(t=Ya[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=Q}finally{e.state.suppressEdits=!1}return r}))}function ys(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};if(null==i.unit){var o=y?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=v?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(v?n.altKey:n.ctrlKey)),i}function bs(e,t,n,r){a?setTimeout(N(Xr,e),0):e.curOp.focus=I();var i,o=ys(e,n,r),s=e.doc.sel;e.options.dragDrop&&Me&&!e.isReadOnly()&&"single"==n&&(i=s.contains(t))>-1&&(ot((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(ot(i.to(),t)>0||t.xRel<0)?_s(e,r,t,o):xs(e,r,t,o)}function _s(e,t,n,r){var i=e.display,o=!1,c=Ti(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,ge(i.wrapper.ownerDocument,"mouseup",c),ge(i.wrapper.ownerDocument,"mousemove",u),ge(i.scroller,"dragstart",d),ge(i.scroller,"drop",c),o||(we(t),r.addNew||Po(e.doc,n,null,null,r.extend),l&&!h||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),pe(i.wrapper.ownerDocument,"mouseup",c),pe(i.wrapper.ownerDocument,"mousemove",u),pe(i.scroller,"dragstart",d),pe(i.scroller,"drop",c),qr(e),setTimeout((function(){return i.input.focus()}),20)}function ws(e,t,n){if("char"==n)return new io(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new io(it(t.line,0),dt(e.doc,it(t.line+1,0)));var r=n(e,t);return new io(r.from,r.to)}function xs(e,t,n,r){var i=e.display,o=e.doc;we(t);var a,s,l=o.sel,c=l.ranges;if(r.addNew&&!r.extend?(s=o.sel.contains(n),a=s>-1?c[s]:new io(n,n)):(a=o.sel.primary(),s=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(a=new io(n,n)),n=Dr(e,t,!0,!0),s=-1;else{var u=ws(e,n,r.unit);a=r.extend?Do(a,u.anchor,u.head,r.extend):u}r.addNew?-1==s?(s=c.length,Ho(o,oo(e,c.concat([a]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==r.unit&&!r.extend?(Ho(o,oo(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):jo(o,s,a,z):(s=0,Ho(o,new ro([a],0),z),l=o.sel);var d=n;function h(t){if(0!=ot(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],c=e.options.tabSize,u=F(Ye(o,n.line).text,n.ch,c),h=F(Ye(o,t.line).text,t.ch,c),f=Math.min(u,h),p=Math.max(u,h),A=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));A<=g;A++){var m=Ye(o,A).text,v=W(m,f,c);f==p?i.push(new io(it(A,v),it(A,v))):m.length>v&&i.push(new io(it(A,v),it(A,W(m,p,c))))}i.length||i.push(new io(n,n)),Ho(o,oo(e,l.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y,b=a,_=ws(e,t,r.unit),w=b.anchor;ot(_.anchor,w)>0?(y=_.head,w=ct(b.from(),_.anchor)):(y=_.anchor,w=lt(b.to(),_.head));var x=l.ranges.slice(0);x[s]=Cs(e,new io(dt(o,w),y)),Ho(o,oo(e,x,s),z)}}var f=i.wrapper.getBoundingClientRect(),p=0;function A(t){var n=++p,a=Dr(e,t,!0,"rectangle"==r.unit);if(a)if(0!=ot(a,d)){e.curOp.focus=I(),h(a);var s=ei(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(Ti(e,(function(){p==n&&A(t)})),150)}else{var l=t.clientY<f.top?-20:t.clientY>f.bottom?20:0;l&&setTimeout(Ti(e,(function(){p==n&&(i.scroller.scrollTop+=l,A(t))})),50)}}function g(t){e.state.selectingText=!1,p=1/0,t&&(we(t),i.input.focus()),ge(i.wrapper.ownerDocument,"mousemove",m),ge(i.wrapper.ownerDocument,"mouseup",v),o.history.lastSelOrigin=null}var m=Ti(e,(function(e){0!==e.buttons&&Ee(e)?A(e):g(e)})),v=Ti(e,g);e.state.selectingText=v,pe(i.wrapper.ownerDocument,"mousemove",m),pe(i.wrapper.ownerDocument,"mouseup",v)}function Cs(e,t){var n=t.anchor,r=t.head,i=Ye(e.doc,n.line);if(0==ot(n,r)&&n.sticky==r.sticky)return t;var o=he(i);if(!o)return t;var a=ue(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=ue(o,r.ch,r.sticky),d=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?d<0:d>0}var h=o[c+(l?-1:0)],f=l==(1==h.level),p=f?h.from:h.to,A=f?"after":"before";return n.ch==p&&n.sticky==A?t:new io(new it(n.line,p,A),r)}function Ss(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(h){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&we(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!be(e,n))return Ce(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i){var u=tt(e.doc,o),d=e.display.gutterSpecs[l];return me(e,n,e,u,d.className,t),Ce(t)}}}function ks(e,t){return Ss(e,t,"gutterClick",!0)}function Es(e,t){Kn(e.display,t)||Os(e,t)||ve(e,t,"contextmenu")||x||e.display.input.onContextMenu(t)}function Os(e,t){return!!be(e,"gutterContextMenu")&&Ss(e,t,"gutterContextMenu",!1)}function Bs(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),dr(e)}As.prototype.compare=function(e,t,n){return this.time+ps>e&&0==ot(t,this.pos)&&n==this.button};var Ms={toString:function(){return"CodeMirror.Init"}},Ts={},Is={};function Ls(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Ms&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Ms,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,fo(e)}),!0),n("indentUnit",2,fo,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){po(e),dr(e),Nr(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(it(r,o))}r++}));for(var i=n.length-1;i>=0;i--)ra(e.doc,t,n[i],it(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Ms&&e.refresh()})),n("specialCharPlaceholder",An,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",m?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!b),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Bs(e),Yi(e)}),!0),n("keyMap","default",(function(e,t,n){var r=za(t),i=n!=Ms&&za(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Ps,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=Xi(t,e.options.lineNumbers),Yi(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Tr(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return mi(e)}),!0),n("scrollbarStyle","native",(function(e){bi(e),mi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=Xi(e.options.gutters,t),Yi(e)}),!0),n("firstLineNumber",1,Yi,!0),n("lineNumberFormatter",(function(e){return e}),Yi,!0),n("showCursorWhenSelecting",!1,Qr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(Zr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,Ds),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Qr,!0),n("singleCursorHeightPerLine",!0,Qr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,po,!0),n("addModeClass",!1,po,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,po,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function Ds(e,t,n){var r=n&&n!=Ms;if(!t!=!r){var i=e.display.dragFunctions,o=t?pe:ge;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function Ps(e){e.options.lineWrapping?(L(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(k(e.display.wrapper,"CodeMirror-wrap"),sn(e)),Lr(e),Nr(e),dr(e),setTimeout((function(){return mi(e)}),100)}function Ns(e,t){var n=this;if(!(this instanceof Ns))return new Ns(e,t);this.options=t=t?j(t):{},j(Ts,t,!1);var r=t.value;"string"==typeof r?r=new wa(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Ns.inputStyles[t.inputStyle](this),o=this.display=new Zi(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Bs(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),bi(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 R,keySeq:null,specialChars:null},t.autofocus&&!m&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),js(this),Ma(),wi(this),this.curOp.forceUpdate=!0,vo(this,r),t.autofocus&&!m||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Yr(n)}),20):Zr(this),Is)Is.hasOwnProperty(c)&&Is[c](this,t[c],Ms);Gi(this),t.finishInit&&t.finishInit(this);for(var u=0;u<Fs.length;++u)Fs[u](this);xi(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function js(e){var t=e.display;pe(t.scroller,"mousedown",Ti(e,ms)),pe(t.scroller,"dblclick",a&&s<11?Ti(e,(function(t){if(!ve(e,t)){var n=Dr(e,t);if(n&&!ks(e,t)&&!Kn(e.display,t)){we(t);var r=e.findWordAt(n);Po(e.doc,r.anchor,r.head)}}})):function(t){return ve(e,t)||we(t)}),pe(t.scroller,"contextmenu",(function(t){return Es(e,t)})),pe(t.input.getField(),"contextmenu",(function(n){t.scroller.contains(n.target)||Es(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),r=t.activeTouch,r.end=+new Date)}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}pe(t.scroller,"touchstart",(function(i){if(!ve(e,i)&&!o(i)&&!ks(e,i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),pe(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),pe(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Kn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new io(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new io(it(a.line,0),dt(e.doc,it(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),we(n)}i()})),pe(t.scroller,"touchcancel",i),pe(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(di(e,t.scroller.scrollTop),fi(e,t.scroller.scrollLeft,!0),me(e,"scroll",e))})),pe(t.scroller,"mousewheel",(function(t){return no(e,t)})),pe(t.scroller,"DOMMouseScroll",(function(t){return no(e,t)})),pe(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){ve(e,t)||Se(t)},over:function(t){ve(e,t)||(ka(e,t),Se(t))},start:function(t){return Sa(e,t)},drop:Ti(e,Ca),leave:function(t){ve(e,t)||Ea(e)}};var c=t.input.getField();pe(c,"keyup",(function(t){return us.call(e,t)})),pe(c,"keydown",Ti(e,ls)),pe(c,"keypress",Ti(e,ds)),pe(c,"focus",(function(t){return Yr(e,t)})),pe(c,"blur",(function(t){return Zr(e,t)}))}Ns.defaults=Ts,Ns.optionHandlers=Is;var Fs=[];function Rs(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=vt(e,t).state:n="prev");var a=e.options.tabSize,s=Ye(o,t),l=F(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&(c=o.mode.indent(i,s.text.slice(u.length),s.text),c==Q||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?F(Ye(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",h=0;if(e.options.indentWithTabs)for(var f=Math.floor(c/a);f;--f)h+=a,d+="\t";if(h<c&&(d+=X(c-h)),d!=u)return ra(o,d,it(t,0),it(t,u.length),"+input"),s.stateAfter=null,!0;for(var p=0;p<o.sel.ranges.length;p++){var A=o.sel.ranges[p];if(A.head.line==t&&A.head.ch<u.length){var g=it(t,u.length);jo(o,p,new io(g,g));break}}}Ns.defineInitHook=function(e){return Fs.push(e)};var Us=null;function Hs(e){Us=e}function Qs(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,l=Le(t),c=null;if(s&&r.ranges.length>1)if(Us&&Us.text.join("\n")==t){if(r.ranges.length%Us.text.length==0){c=[];for(var u=0;u<Us.text.length;u++)c.push(o.splitLines(Us.text[u]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(c=Y(l,(function(e){return[e]})));for(var d=e.curOp.updateInput,h=r.ranges.length-1;h>=0;h--){var f=r.ranges[h],p=f.from(),A=f.to();f.empty()&&(n&&n>0?p=it(p.line,p.ch-n):e.state.overwrite&&!s?A=it(A.line,Math.min(Ye(o,A.line).text.length,A.ch+q(l).length)):s&&Us&&Us.lineWise&&Us.text.join("\n")==l.join("\n")&&(p=A=it(p.line,0)));var g={from:p,to:A,text:c?c[h%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};Zo(e.doc,g),On(e,"inputRead",e,g)}t&&!s&&zs(e,t),ai(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Ks(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Mi(t,(function(){return Qs(t,n,0,null,"paste")})),!0}function zs(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Rs(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Ye(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Rs(e,i.head.line,"smart"));a&&On(e,"electricInput",e,i.head.line)}}}function Vs(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:it(i,0),head:it(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function Ws(e,t,n,r){e.setAttribute("autocorrect",n?"":"off"),e.setAttribute("autocapitalize",r?"":"off"),e.setAttribute("spellcheck",!!t)}function Gs(){var e=B("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=B("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),A&&(e.style.border="1px solid black"),Ws(e),t}function Xs(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&Ti(this,t[e])(this,n,i),me(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](za(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:Ii((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");Z(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,Nr(this)})),removeOverlay:Ii((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void Nr(this)}})),indentLine:Ii((function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),nt(this.doc,e)&&Rs(this,e,t,n)})),indentSelection:Ii((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Rs(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&ai(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Rs(this,l,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[r].from().ch>0&&jo(this.doc,r,new io(o,c[r].to()),K)}}})),getTokenAt:function(e,t){return xt(this,e,t)},getLineTokens:function(e,t){return xt(this,it(e),t,!0)},getTokenTypeAt:function(e){e=dt(this.doc,e);var t,n=mt(this,Ye(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==U(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(e,t){var n=this.doc;return e=ut(n,null==e?n.first+n.size-1:e),vt(this,e+1,t).state},cursorCoords:function(e,t){var n,r=this.doc.sel.primary();return n=null==e?r.head:"object"==typeof e?dt(this.doc,e):e?r.from():r.to(),vr(this,n,t||"page")},charCoords:function(e,t){return mr(this,dt(this.doc,e),t||"page")},coordsChar:function(e,t){return e=gr(this,e,t||"page"),_r(this,e.left,e.top)},lineAtHeight:function(e,t){return e=gr(this,{top:e,left:0},t||"page").top,tt(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=Ye(this.doc,e)}else r=e;return Ar(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-on(r):0)},defaultTextHeight:function(){return Or(this.display)},defaultCharWidth:function(){return Br(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=vr(this,dt(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&ri(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:Ii(ls),triggerOnKeyPress:Ii(ds),triggerOnKeyUp:us,triggerOnMouseDown:Ii(ms),execCommand:function(e){if(Ya.hasOwnProperty(e))return Ya[e].call(null,this)},triggerElectric:Ii((function(e){zs(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=dt(this.doc,e),a=0;a<t;++a)if(o=qs(this.doc,o,i,n,r),o.hitSide)break;return o},moveH:Ii((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?qs(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),V)})),deleteH:Ii((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):Va(this,(function(n){var i=qs(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=dt(this.doc,e),s=0;s<t;++s){var l=vr(this,a,"div");if(null==o?o=l.left:l.left=o,a=Ys(this,l,i,n),a.hitSide)break}return a},moveV:Ii((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=vr(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Ys(n,s,e,t);return"page"==t&&a==r.sel.primary()&&oi(n,mr(n,l,"div").top-s.top),l}),V),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=this.doc,n=Ye(t,e.line).text,r=e.ch,i=e.ch;if(n){var o=this.getHelper(e,"wordChars");"before"!=e.sticky&&i!=n.length||!r?++i:--r;var a=n.charAt(r),s=ne(a,o)?function(e){return ne(e,o)}:/\s/.test(a)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!ne(e)};while(r>0&&s(n.charAt(r-1)))--r;while(i<n.length&&s(n.charAt(i)))++i}return new io(it(e.line,r),it(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?L(this.display.cursorDiv,"CodeMirror-overwrite"):k(this.display.cursorDiv,"CodeMirror-overwrite"),me(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==I()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Ii((function(e,t){si(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Gn(this)-this.display.barHeight,width:e.scrollWidth-Gn(this)-this.display.barWidth,clientHeight:qn(this),clientWidth:Xn(this)}},scrollIntoView:Ii((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:it(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?li(this,e):ui(this,e.from,e.to,e.margin)})),setSize:Ii((function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&ur(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){jr(n,i,"widget");break}++i})),this.curOp.forceUpdate=!0,me(this,"refresh",this)})),operation:function(e){return Mi(this,e)},startOperation:function(){return wi(this)},endOperation:function(){return xi(this)},refresh:Ii((function(){var e=this.display.cachedTextHeight;Nr(this),this.curOp.forceUpdate=!0,dr(this),si(this,this.doc.scrollLeft,this.doc.scrollTop),zi(this.display),(null==e||Math.abs(e-Or(this.display))>.5||this.options.lineWrapping)&&Lr(this),me(this,"refresh",this)})),swapDoc:Ii((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),vo(this,e),dr(this),this.display.input.reset(),si(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,On(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},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}},_e(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}function qs(e,t,n,r,i){var o=t,a=n,s=Ye(e,t.line),l=i&&"rtl"==e.direction?-n:n;function c(){var n=t.line+l;return!(n<e.first||n>=e.first+e.size)&&(t=new it(n,t.ch,t.sticky),s=Ye(e,n))}function u(o){var a;if("codepoint"==r){var u=s.text.charCodeAt(t.ch+(r>0?0:-1));a=isNaN(u)?null:new it(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(u>=55296&&u<56320?2:1))),-n)}else a=i?qa(e.cm,s,t,n):Ga(s,t,n);if(null==a){if(o||!c())return!1;t=Xa(i,e.cm,s,t.line,l)}else t=a;return!0}if("char"==r||"codepoint"==r)u();else if("column"==r)u(!0);else if("word"==r||"group"==r)for(var d=null,h="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;;p=!1){if(n<0&&!u(!p))break;var A=s.text.charAt(t.ch)||"\n",g=ne(A,f)?"w":h&&"\n"==A?"n":!h||/\s/.test(A)?null:"p";if(!h||p||g||(g="s"),d&&d!=g){n<0&&(n=1,u(),t.sticky="after");break}if(g&&(d=g),n>0&&!u(!p))break}var m=Go(e,t,o,a,!0);return at(o,m)&&(m.hitSide=!0),m}function Ys(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*Or(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;;){if(o=_r(e,s,i),!o.outside)break;if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Zs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new R,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Js(e,t){var n=er(e,t.line);if(!n||n.hidden)return null;var r=Ye(e.doc,t.line),i=Zn(n,r,t.line),o=he(r,e.doc.direction),a="left";if(o){var s=ue(o,t.ch);a=s%2?"right":"left"}var l=or(i.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function $s(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function el(e,t){return t&&(e.bad=!0),e}function tl(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e}}function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function d(e){e&&(u(),o+=e)}function h(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void d(n);var o,f=t.getAttribute("cm-marker");if(f){var p=e.findMarks(it(r,0),it(i+1,0),c(+f));return void(p.length&&(o=p[0].find(0))&&d(Ze(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var A=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;A&&u();for(var g=0;g<t.childNodes.length;g++)h(t.childNodes[g]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),A&&(a=!0)}else 3==t.nodeType&&d(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;;){if(h(t),t==n)break;t=t.nextSibling,l=!1}return o}function nl(e,t,n){var r;if(t==e.display.lineDiv){if(r=e.display.lineDiv.childNodes[n],!r)return el(e.clipPos(it(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return rl(o,t,n)}}function rl(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!T(r,t))return el(it(et(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?q(e.rest):e.line;return el(it(et(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));while(s.parentNode!=r)s=s.parentNode;var l=e.measure,c=l.maps;function u(t,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var u=et(i<0?e.line:e.rest[i]),d=o[a]+r;return(r<0||s!=t)&&(d=o[a+(r?1:0)]),it(u,d)}}}var d=u(a,s,n);if(d)return el(d,i);for(var h=s.nextSibling,f=a?a.nodeValue.length-n:0;h;h=h.nextSibling){if(d=u(h,h.firstChild,0),d)return el(it(d.line,d.ch-f),i);f+=h.textContent.length}for(var p=s.previousSibling,A=n;p;p=p.previousSibling){if(d=u(p,p.firstChild,-1),d)return el(it(d.line,d.ch+A),i);A+=p.textContent.length}}Zs.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!ve(r,e)){if(r.somethingSelected())Hs({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=Vs(r);Hs({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,K),r.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var a=Us.text.join("\n");if(e.clipboardData.setData("Text",a),e.clipboardData.getData("Text")==a)return void e.preventDefault()}var s=Gs(),l=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),l.value=Us.text.join("\n");var c=document.activeElement;P(l),setTimeout((function(){r.display.lineSpace.removeChild(s),c.focus(),c==i&&n.showPrimarySelection()}),50)}}Ws(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),pe(i,"paste",(function(e){!o(e)||ve(r,e)||Ks(e,r)||s<=11&&setTimeout(Ti(r,(function(){return t.updateFromDOM()})),20)})),pe(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),pe(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),pe(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),pe(i,"touchstart",(function(){return n.forceCompositionEnd()})),pe(i,"input",(function(){t.composing||t.readFromDOMSoon()})),pe(i,"copy",a),pe(i,"cut",a)},Zs.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Zs.prototype.prepareSelection=function(){var e=Kr(this.cm,!1);return e.focus=document.activeElement==this.div,e},Zs.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Zs.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Zs.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=nl(t,e.anchorNode,e.anchorOffset),s=nl(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=ot(ct(a,s),i)||0!=ot(lt(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&Js(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&Js(t,o);if(!u){var d=l[l.length-1].measure,h=d.maps?d.maps[d.maps.length-1]:d.map;u={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(c&&u){var f,p=e.rangeCount&&e.getRangeAt(0);try{f=S(c.node,c.offset,u.offset,u.node)}catch(A){}f&&(!n&&t.state.focused?(e.collapse(c.node,c.offset),f.collapsed||(e.removeAllRanges(),e.addRange(f))):(e.removeAllRanges(),e.addRange(f)),p&&null==e.anchorNode?e.addRange(p):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Zs.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Zs.prototype.showMultipleSelections=function(e){O(this.cm.display.cursorDiv,e.cursors),O(this.cm.display.selectionDiv,e.selection)},Zs.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Zs.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return T(this.div,t)},Zs.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Zs.prototype.blur=function(){this.div.blur()},Zs.prototype.getField=function(){return this.div},Zs.prototype.supportsTouch=function(){return!0},Zs.prototype.receivedFocus=function(){var e=this;function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}this.selectionInEditor()?this.pollSelection():Mi(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,t)},Zs.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Zs.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(g&&u&&this.cm.display.gutterSpecs.length&&$s(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=nl(t,e.anchorNode,e.anchorOffset),r=nl(t,e.focusNode,e.focusOffset);n&&r&&Mi(t,(function(){Ho(t.doc,ao(n,r),K),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Zs.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=it(a.line-1,Ye(r.doc,a.line-1).length)),s.ch==Ye(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=it(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=Pr(r,a.line))?(t=et(i.view[0].line),n=i.view[0].node):(t=et(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=Pr(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=et(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;var d=r.doc.splitLines(tl(r,n,c,t,l)),h=Ze(r.doc,it(t,0),it(l,Ye(r.doc,l).text.length));while(d.length>1&&h.length>1)if(q(d)==q(h))d.pop(),h.pop(),l--;else{if(d[0]!=h[0])break;d.shift(),h.shift(),t++}var f=0,p=0,A=d[0],g=h[0],m=Math.min(A.length,g.length);while(f<m&&A.charCodeAt(f)==g.charCodeAt(f))++f;var v=q(d),y=q(h),b=Math.min(v.length-(1==d.length?f:0),y.length-(1==h.length?f:0));while(p<b&&v.charCodeAt(v.length-p-1)==y.charCodeAt(y.length-p-1))++p;if(1==d.length&&1==h.length&&t==a.line)while(f&&f>a.ch&&v.charCodeAt(v.length-p-1)==y.charCodeAt(y.length-p-1))f--,p++;d[d.length-1]=v.slice(0,v.length-p).replace(/^\u200b+/,""),d[0]=d[0].slice(f).replace(/\u200b+$/,"");var _=it(t,f),w=it(l,h.length?q(h).length-p:0);return d.length>1||d[0]||ot(_,w)?(ra(r.doc,d,_,w,"+input"),!0):void 0},Zs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Zs.prototype.reset=function(){this.forceCompositionEnd()},Zs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Zs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Zs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Mi(this.cm,(function(){return Nr(e.cm)}))},Zs.prototype.setUneditable=function(e){e.contentEditable="false"},Zs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Ti(this.cm,Qs)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Zs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Zs.prototype.onContextMenu=function(){},Zs.prototype.resetPosition=function(){},Zs.prototype.needsContentAttribute=!0;var il=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new R,this.hasSelection=!1,this.composing=null};function ol(e,t){if(t=t?j(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=I();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(pe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(ge(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Ns((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function al(e){e.off=ge,e.on=pe,e.wheelEventPixels=to,e.Doc=wa,e.splitLines=Le,e.countColumn=F,e.findColumn=W,e.isWordChar=te,e.Pass=Q,e.signal=me,e.Line=ln,e.changeEnd=so,e.scrollbarModel=yi,e.Pos=it,e.cmpPos=ot,e.modes=Fe,e.mimeModes=Re,e.resolveMode=Qe,e.getMode=Ke,e.modeExtensions=ze,e.extendMode=Ve,e.copyState=We,e.startState=Xe,e.innerMode=Ge,e.commands=Ya,e.keyMap=ja,e.keyName=Ka,e.isModifierKey=Ha,e.lookupKey=Ua,e.normalizeKeyMap=Ra,e.StringStream=qe,e.SharedTextMarker=ga,e.TextMarker=pa,e.LineWidget=ua,e.e_preventDefault=we,e.e_stopPropagation=xe,e.e_stop=Se,e.addClass=L,e.contains=T,e.rmClass=k,e.keyNames=La}il.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ve(r,e)){if(r.somethingSelected())Hs({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Vs(r);Hs({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,K):(n.prevInput="",i.value=t.text.join("\n"),P(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),A&&(i.style.width="0px"),pe(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),pe(i,"paste",(function(e){ve(r,e)||Ks(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),pe(i,"cut",o),pe(i,"copy",o),pe(e.scroller,"paste",(function(t){if(!Kn(e,t)&&!ve(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),pe(e.lineSpace,"selectstart",(function(t){Kn(e,t)||we(t)})),pe(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),pe(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},il.prototype.createField=function(e){this.wrapper=Gs(),this.textarea=this.wrapper.firstChild},il.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},il.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Kr(e);if(e.options.moveInputWithCursor){var i=vr(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},il.prototype.showSelection=function(e){var t=this.cm,n=t.display;O(n.cursorDiv,e.cursors),O(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},il.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&P(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},il.prototype.getField=function(){return this.textarea},il.prototype.supportsTouch=function(){return!1},il.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!m||I()!=this.textarea))try{this.textarea.focus()}catch(e){}},il.prototype.blur=function(){this.textarea.blur()},il.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},il.prototype.receivedFocus=function(){this.slowPoll()},il.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},il.prototype.fastPoll=function(){var e=!1,t=this;function n(){var r=t.poll();r||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},il.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||De(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||v&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}var l=0,c=Math.min(r.length,i.length);while(l<c&&r.charCodeAt(l)==i.charCodeAt(l))++l;return Mi(t,(function(){Qs(t,i.slice(l),r.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},il.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},il.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},il.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=Dr(n,e),c=r.scroller.scrollTop;if(o&&!d){var u=n.options.resetSelectionOnContextMenu;u&&-1==n.doc.sel.contains(o)&&Ti(n,Ho)(n.doc,ao(o),K);var h,f=i.style.cssText,p=t.wrapper.style.cssText,A=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-A.top-5)+"px; left: "+(e.clientX-A.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(h=window.scrollY),r.input.focus(),l&&window.scrollTo(null,h),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=v,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&m(),x){Se(e);var g=function e(){ge(window,"mouseup",e),setTimeout(v,20)};pe(window,"mouseup",g)}else setTimeout(v,50)}function m(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="\u200b"+(e?i.value:"");i.value="\u21da",i.value=o,t.prevInput=e?"":"\u200b",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function v(){if(t.contextMenuPending==v&&(t.contextMenuPending=!1,t.wrapper.style.cssText=p,i.style.cssText=f,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&m();var e=0,o=function o(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"\u200b"==t.prevInput?Ti(n,qo)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},il.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},il.prototype.setUneditable=function(){},il.prototype.needsContentAttribute=!1,Ls(Ns),Xs(Ns);var sl="iter insert remove copy getEditor constructor".split(" ");for(var ll in wa.prototype)wa.prototype.hasOwnProperty(ll)&&U(sl,ll)<0&&(Ns.prototype[ll]=function(e){return function(){return e.apply(this.doc,arguments)}}(wa.prototype[ll]));return _e(wa),Ns.inputStyles={textarea:il,contenteditable:Zs},Ns.defineMode=function(e){Ns.defaults.mode||"null"==e||(Ns.defaults.mode=e),Ue.apply(this,arguments)},Ns.defineMIME=He,Ns.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Ns.defineMIME("text/plain","null"),Ns.defineExtension=function(e,t){Ns.prototype[e]=t},Ns.defineDocExtension=function(e,t){wa.prototype[e]=t},Ns.fromTextArea=ol,al(Ns),Ns.version="5.58.2",Ns}))},Vy0f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("iYpf"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},W2nI:function(e,t,n){var r=n("IwbS"),i=n("ProS"),o=n("bYtY"),a=["itemStyle","opacity"],s=["emphasis","itemStyle","opacity"],l=["lineStyle","opacity"],c=["emphasis","lineStyle","opacity"];function u(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function d(e,t,n){var r=e.getGraphicEl(),i=u(e,t);null!=n&&(null==i&&(i=1),i*=n),r.downplay&&r.downplay(),r.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",i)}))}function h(e,t){var n=u(e,t),r=e.getGraphicEl();r.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",n)})),r.highlight&&r.highlight()}var f=r.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),p=i.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,t,n){var i=this,o=e.getGraph(),a=this.group,s=e.layoutInfo,l=s.width,c=s.height,u=e.getData(),d=e.getData("edge"),h=e.get("orient");this._model=e,a.removeAll(),a.attr("position",[s.x,s.y]),o.eachEdge((function(t){var n=new f;n.dataIndex=t.dataIndex,n.seriesIndex=e.seriesIndex,n.dataType="edge";var i,o,s,u,p,A,g,m,v=t.getModel("lineStyle"),y=v.get("curveness"),b=t.node1.getLayout(),_=t.node1.getModel(),w=_.get("localX"),x=_.get("localY"),C=t.node2.getLayout(),S=t.node2.getModel(),k=S.get("localX"),E=S.get("localY"),O=t.getLayout();switch(n.shape.extent=Math.max(1,O.dy),n.shape.orient=h,"vertical"===h?(i=(null!=w?w*l:b.x)+O.sy,o=(null!=x?x*c:b.y)+b.dy,s=(null!=k?k*l:C.x)+O.ty,u=null!=E?E*c:C.y,p=i,A=o*(1-y)+u*y,g=s,m=o*y+u*(1-y)):(i=(null!=w?w*l:b.x)+b.dx,o=(null!=x?x*c:b.y)+O.sy,s=null!=k?k*l:C.x,u=(null!=E?E*c:C.y)+O.ty,p=i*(1-y)+s*y,A=o,g=i*y+s*(1-y),m=u),n.setShape({x1:i,y1:o,x2:s,y2:u,cpx1:p,cpy1:A,cpx2:g,cpy2:m}),n.setStyle(v.getItemStyle()),n.style.fill){case"source":n.style.fill=t.node1.getVisual("color");break;case"target":n.style.fill=t.node2.getVisual("color");break}r.setHoverStyle(n,t.getModel("emphasis.lineStyle").getItemStyle()),a.add(n),d.setItemGraphicEl(t.dataIndex,n)})),o.eachNode((function(t){var n=t.getLayout(),i=t.getModel(),o=i.get("localX"),s=i.get("localY"),d=i.getModel("label"),h=i.getModel("emphasis.label"),f=new r.Rect({shape:{x:null!=o?o*l:n.x,y:null!=s?s*c:n.y,width:n.dx,height:n.dy},style:i.getModel("itemStyle").getItemStyle()}),p=t.getModel("emphasis.itemStyle").getItemStyle();r.setLabelStyle(f.style,p,d,h,{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),f.setStyle("fill",t.getVisual("color")),r.setHoverStyle(f,p),a.add(f),u.setItemGraphicEl(t.dataIndex,f),f.dataType="node"})),u.eachItemGraphicEl((function(t,r){var o=u.getItemModel(r);o.get("draggable")&&(t.drift=function(t,o){i._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/l,localY:this.shape.y/c})},t.ondragend=function(){i._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){i._focusAdjacencyDisabled||(i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){i._focusAdjacencyDisabled||i._dispatchUnfocus(n)}))})),d.eachItemGraphicEl((function(t,r){var o=d.getItemModel(r);t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){i._focusAdjacencyDisabled||(i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){i._focusAdjacencyDisabled||i._dispatchUnfocus(n)}))})),!this._data&&e.get("animation")&&a.setClipPath(A(a.getBoundingRect(),e,(function(){a.removeClipPath()}))),this._data=e.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(e){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){t._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,n,r){var i=e.getData(),u=i.graph,f=r.dataIndex,p=i.getItemModel(f),A=r.edgeDataIndex;if(null!=f||null!=A){var g=u.getNodeByIndex(f),m=u.getEdgeByIndex(A);if(u.eachNode((function(e){d(e,a,.1)})),u.eachEdge((function(e){d(e,l,.1)})),g){h(g,s);var v=p.get("focusNodeAdjacency");"outEdges"===v?o.each(g.outEdges,(function(e){e.dataIndex<0||(h(e,c),h(e.node2,s))})):"inEdges"===v?o.each(g.inEdges,(function(e){e.dataIndex<0||(h(e,c),h(e.node1,s))})):"allEdges"===v&&o.each(g.edges,(function(e){e.dataIndex<0||(h(e,c),e.node1!==g&&h(e.node1,s),e.node2!==g&&h(e.node2,s))}))}m&&(h(m,c),h(m.node1,s),h(m.node2,s))}},unfocusNodeAdjacency:function(e,t,n,r){var i=e.getGraph();i.eachNode((function(e){d(e,a)})),i.eachEdge((function(e){d(e,l)}))}});function A(e,t,n){var i=new r.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return r.initProps(i,{shape:{width:e.width+20}},t,n),i}e.exports=p},W4dC:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=i.each,a=i.createHashMap,s=n("7DRL"),l=n("TIY9"),c=n("yS9w"),u=n("mFDi"),d={geoJSON:l,svg:c},h={load:function(e,t,n){var r,i=[],s=a(),l=a(),c=p(e);return o(c,(function(a){var c=d[a.type].load(e,a,n);o(c.regions,(function(e){var n=e.name;t&&t.hasOwnProperty(n)&&(e=e.cloneShallow(n=t[n])),i.push(e),s.set(n,e),l.set(n,e.center)}));var u=c.boundingRect;u&&(r?r.union(u):r=u.clone())})),{regions:i,regionsMap:s,nameCoordMap:l,boundingRect:r||new u(0,0,0,0)}},makeGraphic:f("makeGraphic"),removeGraphic:f("removeGraphic")};function f(e){return function(t,n){var r=p(t),i=[];return o(r,(function(r){var o=d[r.type][e];o&&i.push(o(t,r,n))})),i}}function p(e){var t=s.retrieveMap(e)||[];return t}e.exports=h},WGYa:function(e,t,n){var r=n("7yuC"),i=r.forceLayout,o=n("HF/U"),a=o.simpleLayout,s=n("lOQZ"),l=s.circularLayout,c=n("OELB"),u=c.linearMap,d=n("QBsz"),h=n("bYtY");function f(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},r=e.getGraph(),o=r.data,s=r.edgeData,c=e.getModel("force"),f=c.get("initLayout");e.preservedPoints?o.each((function(e){var t=o.getId(e);o.setItemLayout(e,n[t]||[NaN,NaN])})):f&&"none"!==f?"circular"===f&&l(e,"value"):a(e);var p=o.getDataExtent("value"),A=s.getDataExtent("value"),g=c.get("repulsion"),m=c.get("edgeLength");h.isArray(g)||(g=[g,g]),h.isArray(m)||(m=[m,m]),m=[m[1],m[0]];var v=o.mapArray("value",(function(e,t){var n=o.getItemLayout(t),r=u(e,p,g);return isNaN(r)&&(r=(g[0]+g[1])/2),{w:r,rep:r,fixed:o.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),y=s.mapArray("value",(function(e,t){var n=r.getEdgeByIndex(t),i=u(e,A,m);isNaN(i)&&(i=(m[0]+m[1])/2);var o=n.getModel();return{n1:v[n.node1.dataIndex],n2:v[n.node2.dataIndex],d:i,curveness:o.get("lineStyle.curveness")||0,ignoreForceLayout:o.get("ignoreForceLayout")}})),b=(t=e.coordinateSystem,t.getBoundingRect()),_=i(v,y,{rect:b,gravity:c.get("gravity"),friction:c.get("friction")}),w=_.step;_.step=function(e){for(var t=0,i=v.length;t<i;t++)v[t].fixed&&d.copy(v[t].p,r.getNodeByIndex(t).getLayout());w((function(t,i,a){for(var s=0,l=t.length;s<l;s++)t[s].fixed||r.getNodeByIndex(s).setLayout(t[s].p),n[o.getId(s)]=t[s].p;for(s=0,l=i.length;s<l;s++){var c=i[s],u=r.getEdgeByIndex(s),h=c.n1.p,f=c.n2.p,p=u.getLayout();p=p?p.slice():[],p[0]=p[0]||[],p[1]=p[1]||[],d.copy(p[0],h),d.copy(p[1],f),+c.curveness&&(p[2]=[(h[0]+f[0])/2-(h[1]-f[1])*c.curveness,(h[1]+f[1])/2-(f[0]-h[0])*c.curveness]),u.setLayout(p)}e&&e(a)}))},e.forceLayout=_,e.preservedPoints=n,_.step()}else e.forceLayout=null}))}e.exports=f},"WN+l":function(e,t,n){var r=n("bYtY"),i=n("IwbS");function o(e,t,n,o){var a=n.axis;if(!a.scale.isBlank()){var s=n.getModel("splitArea"),l=s.getModel("areaStyle"),c=l.get("color"),u=o.coordinateSystem.getRect(),d=a.getTicksCoords({tickModel:s,clamp:!0});if(d.length){var h=c.length,f=e.__splitAreaColors,p=r.createHashMap(),A=0;if(f)for(var g=0;g<d.length;g++){var m=f.get(d[g].tickValue);if(null!=m){A=(m+(h-1)*g)%h;break}}var v=a.toGlobalCoord(d[0].coord),y=l.getAreaStyle();c=r.isArray(c)?c:[c];for(g=1;g<d.length;g++){var b,_,w,x,C=a.toGlobalCoord(d[g].coord);a.isHorizontal()?(b=v,_=u.y,w=C-b,x=u.height,v=b+w):(b=u.x,_=v,w=u.width,x=C-_,v=_+x);var S=d[g-1].tickValue;null!=S&&p.set(S,A),t.add(new i.Rect({anid:null!=S?"area_"+S:null,shape:{x:b,y:_,width:w,height:x},style:r.defaults({fill:c[A]},y),silent:!0})),A=(A+1)%h}e.__splitAreaColors=p}}}function a(e){e.__splitAreaColors=null}t.rectCoordAxisBuildSplitArea=o,t.rectCoordAxisHandleRemove=a},WXVj:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("Bqw1")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="MinusSquareOutlined";var h=a.forwardRef(d);t.default=h},Wqna:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=i.isObject,a=i.each,s=i.map,l=i.indexOf,c=(i.retrieve,n("+TT/")),u=c.getLayoutRect,d=n("aX7z"),h=d.createScaleByModel,f=d.ifAxisCrossZero,p=d.niceScaleExtent,A=d.estimateLabelUnionRect,g=n("y+lR"),m=n("7AJT"),v=n("IDmD"),y=n("7hqr"),b=y.getStackedDimension;function _(e,t,n){return e.getCoordSysModel()===t}function w(e,t,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(e,t,n),this.model=e}n("jtI2");var x=w.prototype;function C(e,t,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=e[t],a=n.model,s=a.get("axisLine.onZero"),l=a.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)S(o[l])&&(i=o[l]);else for(var c in o)if(o.hasOwnProperty(c)&&S(o[c])&&!r[u(o[c])]){i=o[c];break}i&&(r[u(i)]=!0)}function u(e){return e.dim+"_"+e.index}}function S(e){return e&&"category"!==e.type&&"time"!==e.type&&f(e)}function k(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return r-e+t}}x.type="grid",x.axisPointerEnabled=!0,x.getRect=function(){return this._rect},x.update=function(e,t){var n=this._axesMap;this._updateScale(e,this.model),a(n.x,(function(e){p(e.scale,e.model)})),a(n.y,(function(e){p(e.scale,e.model)}));var r={};a(n.x,(function(e){C(n,"y",e,r)})),a(n.y,(function(e){C(n,"x",e,r)})),this.resize(this.model,t)},x.resize=function(e,t,n){var r=u(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()});this._rect=r;var i=this._axesList;function o(){a(i,(function(e){var t=e.isHorizontal(),n=t?[0,r.width]:[0,r.height],i=e.inverse?1:0;e.setExtent(n[i],n[1-i]),k(e,t?r.x:r.y)}))}o(),!n&&e.get("containLabel")&&(a(i,(function(e){if(!e.model.get("axisLabel.inside")){var t=A(e);if(t){var n=e.isHorizontal()?"height":"width",i=e.model.get("axisLabel.margin");r[n]-=t[n]+i,"top"===e.position?r.y+=t.height+i:"left"===e.position&&(r.x+=t.width+i)}}})),o())},x.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n){if(null==t)for(var r in n)if(n.hasOwnProperty(r))return n[r];return n[t]}},x.getAxes=function(){return this._axesList.slice()},x.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}o(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,i=this._coordsList;r<i.length;r++)if(i[r].getAxis("x").index===e||i[r].getAxis("y").index===t)return i[r]},x.getCartesians=function(){return this._coordsList.slice()},x.convertToPixel=function(e,t,n){var r=this._findConvertTarget(e,t);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},x.convertFromPixel=function(e,t,n){var r=this._findConvertTarget(e,t);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},x._findConvertTarget=function(e,t){var n,r,i=t.seriesModel,o=t.xAxisModel||i&&i.getReferringComponents("xAxis")[0],a=t.yAxisModel||i&&i.getReferringComponents("yAxis")[0],s=t.gridModel,c=this._coordsList;if(i)n=i.coordinateSystem,l(c,n)<0&&(n=null);else if(o&&a)n=this.getCartesian(o.componentIndex,a.componentIndex);else if(o)r=this.getAxis("x",o.componentIndex);else if(a)r=this.getAxis("y",a.componentIndex);else if(s){var u=s.coordinateSystem;u===this&&(n=this._coordsList[0])}return{cartesian:n,axis:r}},x.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},x._initCartesian=function(e,t,n){var r={left:!1,right:!1,top:!1,bottom:!1},i={x:{},y:{}},o={x:0,y:0};if(t.eachComponent("xAxis",s("x"),this),t.eachComponent("yAxis",s("y"),this),!o.x||!o.y)return this._axesMap={},void(this._axesList=[]);function s(n){return function(a,s){if(_(a,e,t)){var l=a.get("position");"x"===n?"top"!==l&&"bottom"!==l&&(l=r.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=r.left?"right":"left"),r[l]=!0;var c=new m(n,h(a),[0,0],a.get("type"),l),u="category"===c.type;c.onBand=u&&a.get("boundaryGap"),c.inverse=a.get("inverse"),a.axis=c,c.model=a,c.grid=this,c.index=s,this._axesList.push(c),i[n][s]=c,o[n]++}}}this._axesMap=i,a(i.x,(function(t,n){a(i.y,(function(r,i){var o="x"+n+"y"+i,a=new g(o);a.grid=this,a.model=e,this._coordsMap[o]=a,this._coordsList.push(a),a.addAxis(t),a.addAxis(r)}),this)}),this)},x._updateScale=function(e,t){function n(e,t,n){a(e.mapDimension(t.dim,!0),(function(n){t.scale.unionExtentFromData(e,b(e,n))}))}a(this._axesList,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeries((function(r){if(B(r)){var i=O(r,e),o=i[0],a=i[1];if(!_(o,t,e)||!_(a,t,e))return;var s=this.getCartesian(o.componentIndex,a.componentIndex),l=r.getData(),c=s.getAxis("x"),u=s.getAxis("y");"list"===l.type&&(n(l,c,r),n(l,u,r))}}),this)},x.getTooltipAxes=function(e){var t=[],n=[];return a(this.getCartesians(),(function(r){var i=null!=e&&"auto"!==e?r.getAxis(e):r.getBaseAxis(),o=r.getOtherAxis(i);l(t,i)<0&&t.push(i),l(n,o)<0&&n.push(o)})),{baseAxes:t,otherAxes:n}};var E=["xAxis","yAxis"];function O(e,t){return s(E,(function(t){var n=e.getReferringComponents(t)[0];return n}))}function B(e){return"cartesian2d"===e.get("coordinateSystem")}w.create=function(e,t){var n=[];return e.eachComponent("grid",(function(r,i){var o=new w(r,e,t);o.name="grid_"+i,o.resize(r,t,!0),r.coordinateSystem=o,n.push(o)})),e.eachSeries((function(t){if(B(t)){var n=O(t,e),r=n[0],i=n[1],o=r.getCoordSysModel(),a=o.coordinateSystem;t.coordinateSystem=a.getCartesian(r.componentIndex,i.componentIndex)}})),n},w.dimensions=w.prototype.dimensions=g.prototype.dimensions,v.register("cartesian2d",w);var M=w;e.exports=M},"X+im":function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("KQeH")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="DownloadOutlined";var h=a.forwardRef(d);t.default=h},"X2/X":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},XAae:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("hwYd"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},XOKv:function(e,t,n){n("OXB0"),n("SA4+")},Xi7e:function(e,t,n){var r=n("KMkd"),i=n("adU4"),o=n("tMB7"),a=n("+6XX"),s=n("Z8oC");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},Xjjk:function(e,t,n){var r=n("vaBj"),i=n("UOFQ"),o=n("OxZn");function a(e,t){var n=new o(t);return n.process(e)}function s(){return"undefined"!==typeof self&&"undefined"!==typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope}t=e.exports=a,t.filterXSS=a,t.FilterXSS=o,function(){for(var e in r)t[e]=r[e];for(var n in i)t[n]=i[n]}(),"undefined"!==typeof window&&(window.filterXSS=e.exports),s()&&(self.filterXSS=e.exports)},Xmg4:function(e,t,n){var r=n("bYtY"),i=n("LPTA"),o=i.devicePixelRatio,a=n("K2GJ"),s=n("3C/r");function l(){return!1}function c(e,t,n){var i=r.createCanvas(),o=t.getWidth(),a=t.getHeight(),s=i.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=o+"px",s.height=a+"px",i.setAttribute("data-zr-dom-id",e)),i.width=o*n,i.height=a*n,i}var u=function(e,t,n){var i;n=n||o,"string"===typeof e?i=c(e,t,n):r.isObject(e)&&(i=e,e=i.id),this.id=e,this.dom=i;var a=i.style;a&&(i.onselectstart=l,a["-webkit-user-select"]="none",a["user-select"]="none",a["-webkit-touch-callout"]="none",a["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",a["padding"]=0,a["margin"]=0,a["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=t,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};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 e=this.dpr;this.domBack=c("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},resize:function(e,t){var n=this.dpr,r=this.dom,i=r.style,o=this.domBack;i&&(i.width=e+"px",i.height=t+"px"),r.width=e*n,r.height=t*n,o&&(o.width=e*n,o.height=t*n,1!==n&&this.ctxBack.scale(n,n))},clear:function(e,t){var n,r=this.dom,i=this.ctx,o=r.width,l=r.height,c=(t=t||this.clearColor,this.motionBlur&&!e),u=this.lastFrameAlpha,d=this.dpr;(c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,o/d,l/d)),i.clearRect(0,0,o,l),t&&"transparent"!==t)&&(t.colorStops?(n=t.__canvasGradient||a.getGradient(i,t,{x:0,y:0,width:o,height:l}),t.__canvasGradient=n):t.image&&(n=s.prototype.getCanvasPattern.call(t,i)),i.save(),i.fillStyle=n||t,i.fillRect(0,0,o,l),i.restore());if(c){var h=this.domBack;i.save(),i.globalAlpha=u,i.drawImage(h,0,0,o,l),i.restore()}}};var d=u;e.exports=d},Xnb7:function(e,t,n){var r=n("1RvN"),i=new r(50);function o(e){if("string"===typeof e){var t=i.get(e);return t&&t.image}return e}function a(e,t,n,r,o){if(e){if("string"===typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var a=i.get(e),c={hostEl:n,cb:r,cbPayload:o};return a?(t=a.image,!l(t)&&a.pending.push(c)):(t=new Image,t.onload=t.onerror=s,i.put(e,t.__cachedImgObj={image:t,pending:[c]}),t.src=t.__zrImageSrc=e),t}return e}return t}function s(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function l(e){return e&&e.width&&e.height}t.findExistImage=o,t.createOrUpdateImage=a,t.isImageReady=l},XpcN:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("oVpE"),s=a.createSymbol,l=n("IwbS"),c=n("eRkO"),u=c.makeBackground,d=n("+TT/"),h=o.curry,f=o.each,p=l.Group,A=i.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new p),this._backgroundEl,this.group.add(this._selectorGroup=new p),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var i=e.get("align"),a=e.get("orient");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===a?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(i,e,t,n,s,a,l);var c=e.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},f=e.get("padding"),p=d.getLayoutRect(c,h,f),A=this.layoutInner(e,i,p,r,s,l),g=d.getLayoutRect(o.defaults({width:A.width,height:A.height},c),h,f);this.group.attr("position",[g.x-A.x,g.y-A.y]),this.group.add(this._backgroundEl=u(A,e))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(e,t,n,r,i,a,s){var l=this.getContentGroup(),c=o.createHashMap(),u=t.get("selectedMode"),d=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&d.push(e.id)})),f(t.getData(),(function(i,o){var a=i.get("name");if(this.newlineDisabled||""!==a&&"\n"!==a){var s=n.getSeriesByName(a)[0];if(!c.get(a))if(s){var f=s.getData(),A=f.getVisual("color"),g=f.getVisual("borderColor");"function"===typeof A&&(A=A(s.getDataParams(0))),"function"===typeof g&&(g=g(s.getDataParams(0)));var b=f.getVisual("legendSymbol")||"roundRect",_=f.getVisual("symbol"),w=this._createItem(a,o,i,t,b,_,e,A,g,u);w.on("click",h(m,a,null,r,d)).on("mouseover",h(v,s.name,null,r,d)).on("mouseout",h(y,s.name,null,r,d)),c.set(a,!0)}else n.eachRawSeries((function(n){if(!c.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var l=s.indexOfName(a),f=s.getItemVisual(l,"color"),p=s.getItemVisual(l,"borderColor"),A="roundRect",g=this._createItem(a,o,i,t,A,null,e,f,p,u);g.on("click",h(m,null,a,r,d)).on("mouseover",h(v,null,a,r,d)).on("mouseout",h(y,null,a,r,d)),c.set(a,!0)}}),this)}else l.add(new p({newline:!0}))}),this),i&&this._createSelector(i,t,r,a,s)},_createSelector:function(e,t,n,r,i){var o=this.getSelectorGroup();function a(e){var r=e.type,i=new l.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i);var a=t.getModel("selectorLabel"),s=t.getModel("emphasis.selectorLabel");l.setLabelStyle(i.style,i.hoverStyle={},a,s,{defaultText:e.title,isRectText:!1}),l.setHoverStyle(i)}f(e,(function(e){a(e)}))},_createItem:function(e,t,n,r,i,a,c,u,d,h){var f=r.get("itemWidth"),A=r.get("itemHeight"),m=r.get("inactiveColor"),v=r.get("inactiveBorderColor"),y=r.get("symbolKeepAspect"),b=r.getModel("itemStyle"),_=r.isSelected(e),w=new p,x=n.getModel("textStyle"),C=n.get("icon"),S=n.getModel("tooltip"),k=S.parentModel;i=C||i;var E=s(i,0,0,f,A,_?u:m,null==y||y);if(w.add(g(E,i,b,d,v,_)),!C&&a&&(a!==i||"none"===a)){var O=.8*A;"none"===a&&(a="circle");var B=s(a,(f-O)/2,(A-O)/2,O,O,_?u:m,null==y||y);w.add(g(B,a,b,d,v,_))}var M="left"===c?f+5:-5,T=c,I=r.get("formatter"),L=e;"string"===typeof I&&I?L=I.replace("{name}",null!=e?e:""):"function"===typeof I&&(L=I(e)),w.add(new l.Text({style:l.setTextStyle({},x,{text:L,x:M,y:A/2,textFill:_?x.getTextColor():m,textAlign:T,textVerticalAlign:"middle"})}));var D=new l.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:S.get("show")?o.extend({content:e,formatter:k.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:r.componentIndex,name:e,$vars:["name"]}},S.option):null});return w.add(D),w.eachChild((function(e){e.silent=!0})),D.silent=!h,this.getContentGroup().add(w),l.setHoverStyle(w),w.__legendDataIndex=t,w},layoutInner:function(e,t,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();d.box(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),c=[-l.x,-l.y];if(i){d.box("horizontal",s,e.get("selectorItemGap",!0));var u=s.getBoundingRect(),h=[-u.x,-u.y],f=e.get("selectorButtonGap",!0),p=e.getOrient().index,A=0===p?"width":"height",g=0===p?"height":"width",m=0===p?"y":"x";"end"===o?h[p]+=l[A]+f:c[p]+=u[A]+f,h[1-p]+=l[g]/2-u[g]/2,s.attr("position",h),a.attr("position",c);var v={x:0,y:0};return v[A]=l[A]+f+u[A],v[g]=Math.max(l[g],u[g]),v[m]=Math.min(0,u[m]+h[1-p]),v}return a.attr("position",c),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function g(e,t,n,r,i,o){var a;return"line"!==t&&t.indexOf("empty")<0?(a=n.getItemStyle(),e.style.stroke=r,o||(a.stroke=i)):a=n.getItemStyle(["borderWidth","borderColor"]),e.setStyle(a)}function m(e,t,n,r){y(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),v(e,t,n,r)}function v(e,t,n,r){var i=n.getZr().storage.getDisplayList()[0];i&&i.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function y(e,t,n,r){var i=n.getZr().storage.getDisplayList()[0];i&&i.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}e.exports=A},XuBP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},XxSj:function(e,t,n){var r=n("bYtY"),i=n("Qe9p"),o=n("OELB"),a=o.linearMap,s=r.each,l=r.isObject,c=-1,u=function(e){var t=e.mappingMethod,n=e.type,i=this.option=r.clone(e);this.type=n,this.mappingMethod=t,this._normalizeData=x[t];var o=d[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._doMap=o._doMap[t],"piecewise"===t?(p(i),h(i)):"category"===t?i.categories?f(i):p(i,!0):(r.assert("linear"!==t||i.dataExtent),p(i))};u.prototype={constructor:u,mapValueToVisual:function(e){var t=this._normalizeData(e);return this._doMap(t,e)},getNormalizer:function(){return r.bind(this._normalizeData,this)}};var d=u.visualHandlers={color:{applyVisual:m("color"),getColorMapper:function(){var e=this.option;return r.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),v.call(this,e)}:function(t,n,r){var o=!!r;return!n&&(t=this._normalizeData(t)),r=i.fastLerp(t,e.parsedVisual,r),o?r:i.stringify(r,"rgba")},this)},_doMap:{linear:function(e){return i.stringify(i.fastLerp(e,this.option.parsedVisual),"rgba")},category:v,piecewise:function(e,t){var n=_.call(this,t);return null==n&&(n=i.stringify(i.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:y}},colorHue:A((function(e,t){return i.modifyHSL(e,t)})),colorSaturation:A((function(e,t){return i.modifyHSL(e,null,t)})),colorLightness:A((function(e,t){return i.modifyHSL(e,null,null,t)})),colorAlpha:A((function(e,t){return i.modifyAlpha(e,t)})),opacity:{applyVisual:m("opacity"),_doMap:b([0,1])},liftZ:{applyVisual:m("liftZ"),_doMap:{linear:y,category:y,piecewise:y,fixed:y}},symbol:{applyVisual:function(e,t,n){var i=this.mapValueToVisual(e);if(r.isString(i))n("symbol",i);else if(l(i))for(var o in i)i.hasOwnProperty(o)&&n(o,i[o])},_doMap:{linear:g,category:v,piecewise:function(e,t){var n=_.call(this,t);return null==n&&(n=g.call(this,e)),n},fixed:y}},symbolSize:{applyVisual:m("symbolSize"),_doMap:b([0,1])}};function h(e){var t=e.pieceList;e.hasSpecialVisual=!1,r.each(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}function f(e){var t=e.categories,n=e.visual,i=e.categoryMap={};if(s(t,(function(e,t){i[e]=t})),!r.isArray(n)){var o=[];r.isObject(n)?s(n,(function(e,t){var n=i[t];o[null!=n?n:c]=e})):o[c]=n,n=w(e,o)}for(var a=t.length-1;a>=0;a--)null==n[a]&&(delete i[t[a]],t.pop())}function p(e,t){var n=e.visual,i=[];r.isObject(n)?s(n,(function(e){i.push(e)})):null!=n&&i.push(n);var o={color:1,symbol:1};t||1!==i.length||o.hasOwnProperty(e.type)||(i[1]=i[0]),w(e,i)}function A(e){return{applyVisual:function(t,n,r){t=this.mapValueToVisual(t),r("color",e(n("color"),t))},_doMap:b([0,1])}}function g(e){var t=this.option.visual;return t[Math.round(a(e,[0,1],[0,t.length-1],!0))]||{}}function m(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function v(e){var t=this.option.visual;return t[this.option.loop&&e!==c?e%t.length:e]}function y(){return this.option.visual[0]}function b(e){return{linear:function(t){return a(t,e,this.option.visual,!0)},category:v,piecewise:function(t,n){var r=_.call(this,n);return null==r&&(r=a(t,e,this.option.visual,!0)),r},fixed:y}}function _(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=u.findPieceIndex(e,n),i=n[r];if(i&&i.visual)return i.visual[this.type]}}function w(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=r.map(t,(function(e){return i.parse(e)}))),t}var x={linear:function(e){return a(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=u.findPieceIndex(e,t,!0);if(null!=n)return a(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?c:t},fixed:r.noop};function C(e,t,n){return e?t<=n:t<n}u.listVisualTypes=function(){var e=[];return r.each(d,(function(t,n){e.push(n)})),e},u.addVisualHandler=function(e,t){d[e]=t},u.isValidType=function(e){return d.hasOwnProperty(e)},u.eachVisual=function(e,t,n){r.isObject(e)?r.each(e,t,n):t.call(n,e)},u.mapVisual=function(e,t,n){var i,o=r.isArray(e)?[]:r.isObject(e)?{}:(i=!0,null);return u.eachVisual(e,(function(e,r){var a=t.call(n,e,r);i?o=a:o[r]=a})),o},u.retrieveVisuals=function(e){var t,n={};return e&&s(d,(function(r,i){e.hasOwnProperty(i)&&(n[i]=e[i],t=!0)})),t?n:null},u.prepareVisualTypes=function(e){if(l(e)){var t=[];s(e,(function(e,n){t.push(n)})),e=t}else{if(!r.isArray(e))return[];e=e.slice()}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},u.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},u.findPieceIndex=function(e,t,n){for(var r,i=1/0,o=0,a=t.length;o<a;o++){var s=t[o].value;if(null!=s){if(s===e||"string"===typeof s&&s===e+"")return o;n&&d(s,o)}}for(o=0,a=t.length;o<a;o++){var l=t[o],c=l.interval,u=l.close;if(c){if(c[0]===-1/0){if(C(u[1],e,c[1]))return o}else if(c[1]===1/0){if(C(u[0],c[0],e))return o}else if(C(u[0],c[0],e)&&C(u[1],e,c[1]))return o;n&&d(c[0],o),n&&d(c[1],o)}}if(n)return e===1/0?t.length-1:e===-1/0?0:r;function d(t,n){var o=Math.abs(t-e);o<i&&(i=o,r=n)}};var S=u;e.exports=S},XzQk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("KpQ+"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"Y+p1":function(e,t,n){var r=n("wF/u");function i(e,t){return r(e,t)}e.exports=i},Y1PL:function(e,t,n){"use strict";n.r(t),n.d(t,"ResizableTextArea",(function(){return S}));var r,i=n("wx14"),o=n("1OyB"),a=n("vuIU"),s=n("Ji7U"),l=n("LK+K"),c=n("q1tI"),u=n("VTBJ"),d=n("rePB"),h=n("t23M"),f=n("bT9E"),p=n("TSYQ"),A=n.n(p),g="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",m=["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"],v={};function y(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&v[n])return v[n];var r=window.getComputedStyle(e),i=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=m.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),l={sizingStyle:s,paddingSize:o,borderSize:a,boxSizing:i};return t&&n&&(v[n]=l),l}function b(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||(r=document.createElement("textarea"),r.setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var o=y(e,t),a=o.paddingSize,s=o.borderSize,l=o.boxSizing,c=o.sizingStyle;r.setAttribute("style","".concat(c,";").concat(g)),r.value=e.value||e.placeholder||"";var u,d=Number.MIN_SAFE_INTEGER,h=Number.MAX_SAFE_INTEGER,f=r.scrollHeight;if("border-box"===l?f+=s:"content-box"===l&&(f-=a),null!==n||null!==i){r.value=" ";var p=r.scrollHeight-a;null!==n&&(d=p*n,"border-box"===l&&(d=d+a+s),f=Math.max(d,f)),null!==i&&(h=p*i,"border-box"===l&&(h=h+a+s),u=f>h?"":"hidden",f=Math.min(h,f))}return{height:f,minHeight:d,maxHeight:h,overflowY:u,resize:"none"}}var _,w=n("Gytx"),x=n.n(w);(function(e){e[e["NONE"]=0]="NONE",e[e["RESIZING"]=1]="RESIZING",e[e["RESIZED"]=2]="RESIZED"})(_||(_={}));var C=function(e){Object(s["a"])(n,e);var t=Object(l["a"])(n);function n(e){var r;return Object(o["a"])(this,n),r=t.call(this,e),r.nextFrameActionId=void 0,r.resizeFrameId=void 0,r.textArea=void 0,r.saveTextArea=function(e){r.textArea=e},r.handleResize=function(e){var t=r.state.resizeStatus,n=r.props,i=n.autoSize,o=n.onResize;t===_.NONE&&("function"===typeof o&&o(e),i&&r.resizeOnNextFrame())},r.resizeOnNextFrame=function(){cancelAnimationFrame(r.nextFrameActionId),r.nextFrameActionId=requestAnimationFrame(r.resizeTextarea)},r.resizeTextarea=function(){var e=r.props.autoSize;if(e&&r.textArea){var t=e.minRows,n=e.maxRows,i=b(r.textArea,!1,t,n);r.setState({textareaStyles:i,resizeStatus:_.RESIZING},(function(){cancelAnimationFrame(r.resizeFrameId),r.resizeFrameId=requestAnimationFrame((function(){r.setState({resizeStatus:_.RESIZED},(function(){r.resizeFrameId=requestAnimationFrame((function(){r.setState({resizeStatus:_.NONE}),r.fixFirefoxAutoScroll()}))}))}))}))}},r.renderTextArea=function(){var e=r.props,t=e.prefixCls,n=void 0===t?"rc-textarea":t,o=e.autoSize,a=e.onResize,s=e.className,l=e.disabled,p=r.state,g=p.textareaStyles,m=p.resizeStatus,v=Object(f["a"])(r.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),y=A()(n,s,Object(d["a"])({},"".concat(n,"-disabled"),l));"value"in v&&(v.value=v.value||"");var b=Object(u["a"])(Object(u["a"])(Object(u["a"])({},r.props.style),g),m===_.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return c["createElement"](h["a"],{onResize:r.handleResize,disabled:!(o||a)},c["createElement"]("textarea",Object(i["a"])({},v,{className:y,style:b,ref:r.saveTextArea})))},r.state={textareaStyles:{},resizeStatus:_.NONE},r}return Object(a["a"])(n,[{key:"componentDidUpdate",value:function(e){e.value===this.props.value&&x()(e.autoSize,this.props.autoSize)||this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var e=this.textArea.selectionStart,t=this.textArea.selectionEnd;this.textArea.setSelectionRange(e,t)}}catch(n){}}},{key:"render",value:function(){return this.renderTextArea()}}]),n}(c["Component"]),S=C,k=function(e){Object(s["a"])(n,e);var t=Object(l["a"])(n);function n(e){var r;Object(o["a"])(this,n),r=t.call(this,e),r.resizableTextArea=void 0,r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=e},r.handleChange=function(e){var t=r.props.onChange;r.setValue(e.target.value,(function(){r.resizableTextArea.resizeTextarea()})),t&&t(e)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,i=t.onKeyDown;13===e.keyCode&&n&&n(e),i&&i(e)};var i="undefined"===typeof e.value||null===e.value?e.defaultValue:e.value;return r.state={value:i},r}return Object(a["a"])(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return c["createElement"](S,Object(i["a"])({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(c["Component"]);t["default"]=k},YESw:function(e,t,n){var r=n("Cwc5"),i=r(Object,"create");e.exports=i},YH21:function(e,t,n){var r=n("H6uX");t.Dispatcher=r;var i=n("ItGF"),o=n("Ze12"),a=o.isCanvasEl,s=o.transformCoordWithViewport,l="undefined"!==typeof window&&!!window.addEventListener,c=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,u=[];function d(e,t,n,r){return n=n||{},r||!i.canvasSupported?h(e,t,n):i.browser.firefox&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):h(e,t,n),n}function h(e,t,n){if(i.domSupported&&e.getBoundingClientRect){var r=t.clientX,o=t.clientY;if(a(e)){var l=e.getBoundingClientRect();return n.zrX=r-l.left,void(n.zrY=o-l.top)}if(s(u,e,r,o))return n.zrX=u[0],void(n.zrY=u[1])}n.zrX=n.zrY=0}function f(e){return e||window.event}function p(e,t,n){if(t=f(t),null!=t.zrX)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var o="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];o&&d(e,o,t,n)}else d(e,t,t,n),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;var a=t.button;return null==t.which&&void 0!==a&&c.test(t.type)&&(t.which=1&a?1:2&a?3:4&a?2:0),t}function A(e,t,n,r){l?e.addEventListener(t,n,r):e.attachEvent("on"+t,n)}function g(e,t,n,r){l?e.removeEventListener(t,n,r):e.detachEvent("on"+t,n)}var m=l?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};function v(e){return 2===e.which||3===e.which}function y(e){return e.which>1}t.clientToLocal=d,t.getNativeEvent=f,t.normalizeEvent=p,t.addEventListener=A,t.removeEventListener=g,t.stop=m,t.isMiddleOrRightButtonOnMouseUpDown=v,t.notLeftMouse=y},YJ9k:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=function(){function e(){r(this,e),this._listeners=new Map}return o(e,[{key:"addEventListener",value:function(e,t){this._listeners.has(e)||this._listeners.set(e,new Set),this._listeners.get(e).add(t)}},{key:"removeEventListener",value:function(e,t){this._listeners.has(e)&&this._listeners.get(e)["delete"](t)}},{key:"dispatchEvent",value:function(e){var t=this;return!this._listeners.has(e.type)||(this._listeners.get(e.type).forEach((function(n){return n.call(t,e)})),!e.defaultPrevented)}}]),e}();t["default"]=a},YJCA:function(e,t,n){"use strict";n.d(t,"a",(function(){return ne})),n.d(t,"b",(function(){return oe}));var r=n("wx14"),i=n("ODXe"),o=n("vpQ4"),a=n("1OyB"),s=n("vuIU"),l=n("md7G"),c=n("foSv"),u=n("Ji7U"),d=n("JX7q"),h=n("rePB"),f=n("q1tI"),p=n("17x9"),A=n.n(p),g=n("i8i4"),m=n("QLaP"),v=n.n(m),y=n("KQm4"),b=function(){function e(){Object(a["a"])(this,e),Object(h["a"])(this,"refs",{})}return Object(s["a"])(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find((function(t){var n=t.node;return n.sortableInfo.index==e.active.index}))}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(_)}}]),e}();function _(e,t){var n=e.node.sortableInfo.index,r=t.node.sortableInfo.index;return n-r}function w(e,t){return Object.keys(e).reduce((function(n,r){return-1===t.indexOf(r)&&(n[r]=e[r]),n}),{})}var x={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},C=function(){if("undefined"===typeof window||"undefined"===typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}();function S(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))}function k(e,t){e.style["".concat(C,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function E(e,t){e.style["".concat(C,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function O(e,t){while(e){if(t(e))return e;e=e.parentNode}return null}function B(e,t,n){return Math.max(e,Math.min(n,t))}function M(e){return"px"===e.substr(-2)?parseFloat(e):0}function T(e){var t=window.getComputedStyle(e);return{bottom:M(t.marginBottom),left:M(t.marginLeft),right:M(t.marginRight),top:M(t.marginTop)}}function I(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function L(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function D(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function P(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var r={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?r:N(e.parentNode,t,r)}}function j(e,t,n){return e<n&&e>t?e-1:e>n&&e<t?e+1:e}function F(e){var t=e.lockOffset,n=e.width,r=e.height,i=t,o=t,a="px";if("string"===typeof t){var s=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);v()(null!==s,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),i=parseFloat(t),o=parseFloat(t),a=s[1]}return v()(isFinite(i)&&isFinite(o),"lockOffset value should be a finite. Given %s",t),"%"===a&&(i=i*n/100,o=o*r/100),{x:i,y:o}}function R(e){var t=e.height,n=e.width,r=e.lockOffset,o=Array.isArray(r)?r:[r,r];v()(2===o.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var a=Object(i["a"])(o,2),s=a[0],l=a[1];return[F({height:t,lockOffset:s,width:n}),F({height:t,lockOffset:l,width:n})]}function U(e){var t=window.getComputedStyle(e),n=/(auto|scroll)/,r=["overflow","overflowX","overflowY"];return r.find((function(e){return n.test(t[e])}))}function H(e){return e instanceof HTMLElement?U(e)?e:H(e.parentNode):null}function Q(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:M(t.gridColumnGap),y:M(t.gridRowGap)}:{x:0,y:0}}var K={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},z={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function V(e){var t="input, textarea, select, canvas, [contenteditable]",n=e.querySelectorAll(t),r=e.cloneNode(!0),i=Object(y["a"])(r.querySelectorAll(t));return i.forEach((function(e,t){if("file"!==e.type&&(e.value=n[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),e.tagName===z.Canvas&&n[t].width>0&&n[t].height>0){var r=e.getContext("2d");r.drawImage(n[t],0,0)}})),r}function W(e){return null!=e.sortableHandle}var G=function(){function e(t,n){Object(a["a"])(this,e),this.container=t,this.onScrollCallback=n}return Object(s["a"])(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,r=e.minTranslate,i=e.maxTranslate,o=e.width,a=e.height,s={x:0,y:0},l={x:1,y:1},c={x:10,y:10},u=this.container,d=u.scrollTop,h=u.scrollLeft,f=u.scrollHeight,p=u.scrollWidth,A=u.clientHeight,g=u.clientWidth,m=0===d,v=f-d-A===0,y=0===h,b=p-h-g===0;n.y>=i.y-a/2&&!v?(s.y=1,l.y=c.y*Math.abs((i.y-a/2-n.y)/a)):n.x>=i.x-o/2&&!b?(s.x=1,l.x=c.x*Math.abs((i.x-o/2-n.x)/o)):n.y<=r.y+a/2&&!m?(s.y=-1,l.y=c.y*Math.abs((n.y-a/2-r.y)/a)):n.x<=r.x+o/2&&!y&&(s.x=-1,l.x=c.x*Math.abs((n.x-o/2-r.x)/o)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===s.x&&0===s.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:l.x*s.x,top:l.y*s.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}();function X(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}}function q(e){var t=[z.Input,z.Textarea,z.Select,z.Option,z.Button];return-1!==t.indexOf(e.target.tagName)||!!O(e.target,(function(e){return"true"===e.contentEditable}))}var Y={axis:A.a.oneOf(["x","y","xy"]),contentWindow:A.a.any,disableAutoscroll:A.a.bool,distance:A.a.number,getContainer:A.a.func,getHelperDimensions:A.a.func,helperClass:A.a.string,helperContainer:A.a.oneOfType([A.a.func,"undefined"===typeof HTMLElement?A.a.any:A.a.instanceOf(HTMLElement)]),hideSortableGhost:A.a.bool,keyboardSortingTransitionDuration:A.a.number,lockAxis:A.a.string,lockOffset:A.a.oneOfType([A.a.number,A.a.string,A.a.arrayOf(A.a.oneOfType([A.a.number,A.a.string]))]),lockToContainerEdges:A.a.bool,onSortEnd:A.a.func,onSortMove:A.a.func,onSortOver:A.a.func,onSortStart:A.a.func,pressDelay:A.a.number,pressThreshold:A.a.number,keyCodes:A.a.shape({lift:A.a.arrayOf(A.a.number),drop:A.a.arrayOf(A.a.number),cancel:A.a.arrayOf(A.a.number),up:A.a.arrayOf(A.a.number),down:A.a.arrayOf(A.a.number)}),shouldCancelStart:A.a.func,transitionDuration:A.a.number,updateBeforeSortStart:A.a.func,useDragHandle:A.a.bool,useWindowAsScrollContainer:A.a.bool},Z={lift:[K.SPACE],drop:[K.SPACE],cancel:[K.ESC],up:[K.UP,K.LEFT],down:[K.DOWN,K.RIGHT]},J={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:X,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Z,shouldCancelStart:q,transitionDuration:300,useWindowAsScrollContainer:!1},$=Object.keys(Y);function ee(e){v()(!(e.distance&&e.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 te(e,t){try{var n=e()}catch(r){return t(!0,r)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}function ne(e){var t,n,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(e){var t;return Object(a["a"])(this,n),t=Object(l["a"])(this,Object(c["a"])(n).call(this,e)),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"state",{}),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"handleStart",(function(e){var n=t.props,r=n.distance,i=n.shouldCancelStart;if(2!==e.button&&!i(e)){t.touched=!0,t.position=D(e);var o=O(e.target,(function(e){return null!=e.sortableInfo}));if(o&&o.sortableInfo&&t.nodeIsChild(o)&&!t.state.sorting){var a=t.props.useDragHandle,s=o.sortableInfo,l=s.index,c=s.collection,u=s.disabled;if(u)return;if(a&&!O(e.target,W))return;t.manager.active={collection:c,index:l},P(e)||e.target.tagName!==z.Anchor||e.preventDefault(),r||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout((function(){return t.handlePress(e)}),t.props.pressDelay))}}})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"nodeIsChild",(function(e){return e.sortableInfo.manager===t.manager})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"handleMove",(function(e){var n=t.props,r=n.distance,i=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var o=D(e),a={x:t.position.x-o.x,y:t.position.y-o.y},s=Math.abs(a.x)+Math.abs(a.y);t.delta=a,r||i&&!(s>=i)?r&&s>=r&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"handleEnd",(function(){t.touched=!1,t.cancel()})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"cancel",(function(){var e=t.props.distance,n=t.state.sorting;n||(e||clearTimeout(t.pressTimer),t.manager.active=null)})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"handlePress",(function(e){try{var n=t.manager.getActive(),r=function(){if(n){var r=function(){var n=f.sortableInfo.index,r=T(f),i=Q(t.container),u=t.scrollContainer.getBoundingClientRect(),g=s({index:n,node:f,collection:p});if(t.node=f,t.margin=r,t.gridGap=i,t.width=g.width,t.height=g.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=f.getBoundingClientRect(),t.containerBoundingRect=u,t.index=n,t.newIndex=n,t.axis={x:a.indexOf("x")>=0,y:a.indexOf("y")>=0},t.offsetEdge=N(f,t.container),t.initialOffset=D(A?Object(o["a"])({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild(V(f)),S(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-r.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-r.top,"px"),width:"".concat(t.width,"px")}),A&&t.helper.focus(),c&&(t.sortableGhost=f,S(f,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},A){var m=h?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,v=m.top,y=m.left,b=m.width,_=m.height,w=v+_,C=y+b;t.axis.x&&(t.minTranslate.x=y-t.boundingClientRect.left,t.maxTranslate.x=C-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=v-t.boundingClientRect.top,t.maxTranslate.y=w-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(h?0:u.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(h?t.contentWindow.innerWidth:u.left+u.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(h?0:u.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(h?t.contentWindow.innerHeight:u.top+u.height)-t.boundingClientRect.top-t.height/2);l&&l.split(" ").forEach((function(e){return t.helper.classList.add(e)})),t.listenerNode=e.touches?f:t.contentWindow,A?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(x.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),x.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}))),t.setState({sorting:!0,sortingIndex:n}),d&&d({node:f,index:n,collection:p,isKeySorting:A,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),A&&t.keyMove(0)},i=t.props,a=i.axis,s=i.getHelperDimensions,l=i.helperClass,c=i.hideSortableGhost,u=i.updateBeforeSortStart,d=i.onSortStart,h=i.useWindowAsScrollContainer,f=n.node,p=n.collection,A=t.manager.isKeySorting,g=function(){if("function"===typeof u){t._awaitingUpdateBeforeSortStart=!0;var n=te((function(){var t=f.sortableInfo.index;return Promise.resolve(u({collection:p,index:t,node:f,isKeySorting:A},e)).then((function(){}))}),(function(e,n){if(t._awaitingUpdateBeforeSortStart=!1,e)throw n;return n}));if(n&&n.then)return n.then((function(){}))}}();return g&&g.then?g.then(r):r(g)}}();return Promise.resolve(r&&r.then?r.then((function(){})):void 0)}catch(i){return Promise.reject(i)}})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"handleSortMove",(function(e){var n=t.props.onSortMove;"function"===typeof e.preventDefault&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"handleSortEnd",(function(e){var n=t.props,r=n.hideSortableGhost,i=n.onSortEnd,o=t.manager,a=o.active.collection,s=o.isKeySorting,l=t.manager.getOrderedRefs();t.listenerNode&&(s?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(x.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),x.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})))),t.helper.parentNode.removeChild(t.helper),r&&t.sortableGhost&&S(t.sortableGhost,{opacity:"",visibility:""});for(var c=0,u=l.length;c<u;c++){var d=l[c],h=d.node;d.edgeOffset=null,d.boundingClientRect=null,k(h,null),E(h,null),d.translate=null}t.autoScroller.clear(),t.manager.active=null,t.manager.isKeySorting=!1,t.setState({sorting:!1,sortingIndex:null}),"function"===typeof i&&i({collection:a,newIndex:t.newIndex,oldIndex:t.index,isKeySorting:s,nodes:l},e),t.touched=!1})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"autoscroll",(function(){var e=t.props.disableAutoscroll,n=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(n){var r=Object(o["a"])({},t.translate),i=0,a=0;return t.axis.x&&(r.x=Math.min(t.maxTranslate.x,Math.max(t.minTranslate.x,t.translate.x)),i=t.translate.x-r.x),t.axis.y&&(r.y=Math.min(t.maxTranslate.y,Math.max(t.minTranslate.y,t.translate.y)),a=t.translate.y-r.y),t.translate=r,k(t.helper,t.translate),t.scrollContainer.scrollLeft+=i,void(t.scrollContainer.scrollTop+=a)}t.autoScroller.update({height:t.height,maxTranslate:t.maxTranslate,minTranslate:t.minTranslate,translate:t.translate,width:t.width})}})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"onAutoScroll",(function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"handleKeyDown",(function(e){var n=e.keyCode,r=t.props,i=r.shouldCancelStart,a=r.keyCodes,s=void 0===a?{}:a,l=Object(o["a"])({},Z,s);t.manager.active&&!t.manager.isKeySorting||!(t.manager.active||l.lift.includes(n)&&!i(e)&&t.isValidSortingTarget(e))||(e.stopPropagation(),e.preventDefault(),l.lift.includes(n)&&!t.manager.active?t.keyLift(e):l.drop.includes(n)&&t.manager.active?t.keyDrop(e):l.cancel.includes(n)?(t.newIndex=t.manager.active.index,t.keyDrop(e)):l.up.includes(n)?t.keyMove(-1):l.down.includes(n)&&t.keyMove(1))})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"keyLift",(function(e){var n=e.target,r=O(n,(function(e){return null!=e.sortableInfo})),i=r.sortableInfo,o=i.index,a=i.collection;t.initialFocusedNode=n,t.manager.isKeySorting=!0,t.manager.active={index:o,collection:a},t.handlePress(e)})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"keyMove",(function(e){var n=t.manager.getOrderedRefs(),r=n[n.length-1].node.sortableInfo.index,i=t.newIndex+e,o=t.newIndex;if(!(i<0||i>r)){t.prevIndex=o,t.newIndex=i;var a=j(t.newIndex,t.prevIndex,t.index),s=n.find((function(e){var t=e.node;return t.sortableInfo.index===a})),l=s.node,c=t.containerScrollDelta,u=s.boundingClientRect||L(l,c),d=s.translate||{x:0,y:0},h={top:u.top+d.y-c.top,left:u.left+d.x-c.left},f=o<i,p={x:f&&t.axis.x?l.offsetWidth-t.width:0,y:f&&t.axis.y?l.offsetHeight-t.height:0};t.handleSortMove({pageX:h.left+p.x,pageY:h.top+p.y,ignoreTransition:0===e})}})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"keyDrop",(function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"handleKeyEnd",(function(e){t.manager.active&&t.keyDrop(e)})),Object(h["a"])(Object(d["a"])(Object(d["a"])(t)),"isValidSortingTarget",(function(e){var n=t.props.useDragHandle,r=e.target,i=O(r,(function(e){return null!=e.sortableInfo}));return i&&i.sortableInfo&&!i.sortableInfo.disabled&&(n?W(r):r.sortableInfo)})),ee(e),t.manager=new b,t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return Object(u["a"])(n,t),Object(s["a"])(n,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,n=this.getContainer();Promise.resolve(n).then((function(n){e.container=n,e.document=e.container.ownerDocument||document;var r=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"===typeof r?r():r,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:H(e.container)||e.container,e.autoScroller=new G(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach((function(t){return x[t].forEach((function(n){return e.container.addEventListener(n,e.events[t],!1)}))})),e.container.addEventListener("keydown",e.handleKeyDown)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach((function(t){return x[t].forEach((function(n){return e.container.removeEventListener(n,e.events[t])}))})),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(e){var t=this.props,n=t.lockAxis,r=t.lockOffset,o=t.lockToContainerEdges,a=t.transitionDuration,s=t.keyboardSortingTransitionDuration,l=void 0===s?a:s,c=this.manager.isKeySorting,u=e.ignoreTransition,d=D(e),h={x:d.x-this.initialOffset.x,y:d.y-this.initialOffset.y};if(h.y-=window.pageYOffset-this.initialWindowScroll.top,h.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=h,o){var f=R({height:this.height,lockOffset:r,width:this.width}),p=Object(i["a"])(f,2),A=p[0],g=p[1],m={x:this.width/2-A.x,y:this.height/2-A.y},v={x:this.width/2-g.x,y:this.height/2-g.y};h.x=B(this.minTranslate.x+m.x,this.maxTranslate.x-v.x,h.x),h.y=B(this.minTranslate.y+m.y,this.maxTranslate.y-v.y,h.y)}"x"===n?h.y=0:"y"===n&&(h.x=0),c&&l&&!u&&E(this.helper,l),k(this.helper,h)}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,r=e.onSortOver,i=this.containerScrollDelta,o=this.windowScrollDelta,a=this.manager.getOrderedRefs(),s={left:this.offsetEdge.left+this.translate.x+i.left,top:this.offsetEdge.top+this.translate.y+i.top},l=this.manager.isKeySorting,c=this.newIndex;this.newIndex=null;for(var u=0,d=a.length;u<d;u++){var h=a[u].node,f=h.sortableInfo.index,p=h.offsetWidth,A=h.offsetHeight,g={height:this.height>A?A/2:this.height/2,width:this.width>p?p/2:this.width/2},m=l&&f>this.index&&f<=c,v=l&&f<this.index&&f>=c,y={x:0,y:0},b=a[u].edgeOffset;b||(b=N(h,this.container),a[u].edgeOffset=b,l&&(a[u].boundingClientRect=L(h,i)));var _=u<a.length-1&&a[u+1],w=u>0&&a[u-1];_&&!_.edgeOffset&&(_.edgeOffset=N(_.node,this.container),l&&(_.boundingClientRect=L(_.node,i))),f!==this.index?(t&&E(h,t),this.axis.x?this.axis.y?v||f<this.index&&(s.left+o.left-g.width<=b.left&&s.top+o.top<=b.top+g.height||s.top+o.top+g.height<=b.top)?(y.x=this.width+this.marginOffset.x,b.left+y.x>this.containerBoundingRect.width-g.width&&_&&(y.x=_.edgeOffset.left-b.left,y.y=_.edgeOffset.top-b.top),null===this.newIndex&&(this.newIndex=f)):(m||f>this.index&&(s.left+o.left+g.width>=b.left&&s.top+o.top+g.height>=b.top||s.top+o.top+g.height>=b.top+A))&&(y.x=-(this.width+this.marginOffset.x),b.left+y.x<this.containerBoundingRect.left+g.width&&w&&(y.x=w.edgeOffset.left-b.left,y.y=w.edgeOffset.top-b.top),this.newIndex=f):m||f>this.index&&s.left+o.left+g.width>=b.left?(y.x=-(this.width+this.marginOffset.x),this.newIndex=f):(v||f<this.index&&s.left+o.left<=b.left+g.width)&&(y.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=f)):this.axis.y&&(m||f>this.index&&s.top+o.top+g.height>=b.top?(y.y=-(this.height+this.marginOffset.y),this.newIndex=f):(v||f<this.index&&s.top+o.top<=b.top+g.height)&&(y.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=f))),k(h,y),a[u].translate=y):n&&(this.sortableGhost=h,S(h,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),l&&(this.newIndex=c);var x=l?this.prevIndex:c;r&&this.newIndex!==x&&r({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:x,isKeySorting:l,nodes:a,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return v()(p.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 e=this.props.getContainer;return"function"!==typeof e?Object(g["findDOMNode"])(this):e(p.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=p.withRef?"wrappedInstance":null;return Object(f["createElement"])(e,Object(r["a"])({ref:t},w(this.props,$)))}},{key:"helperContainer",get:function(){var e=this.props.helperContainer;return"function"===typeof e?e():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var e=this.props.useWindowAsScrollContainer;return e?{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}}}]),n}(f["Component"]),Object(h["a"])(t,"displayName",I("sortableList",e)),Object(h["a"])(t,"defaultProps",J),Object(h["a"])(t,"propTypes",Y),Object(h["a"])(t,"childContextTypes",{manager:A.a.object.isRequired}),n}var re={index:A.a.number.isRequired,collection:A.a.oneOfType([A.a.number,A.a.string]),disabled:A.a.bool},ie=Object.keys(re);function oe(e){var t,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return Object(a["a"])(this,n),Object(l["a"])(this,Object(c["a"])(n).apply(this,arguments))}return Object(u["a"])(n,t),Object(s["a"])(n,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,n=e.disabled,r=e.index,i=Object(g["findDOMNode"])(this);i.sortableInfo={collection:t,disabled:n,index:r,manager:this.context.manager},this.node=i,this.ref={node:i},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return v()(i.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 t=i.withRef?"wrappedInstance":null;return Object(f["createElement"])(e,Object(r["a"])({ref:t},w(this.props,ie)))}}]),n}(f["Component"]),Object(h["a"])(t,"displayName",I("sortableElement",e)),Object(h["a"])(t,"contextTypes",{manager:A.a.object.isRequired}),Object(h["a"])(t,"propTypes",re),Object(h["a"])(t,"defaultProps",{collection:0}),n}},YNAk:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("QyFq")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="CaretDownFilled";var h=a.forwardRef(d);t.default=h},YNf1:function(e,t,n){var r=n("IwbS"),i=n("6Ic6"),o=.3,a=i.extend({type:"parallel",init:function(){this._dataGroup=new r.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,t,n,i){var o=this._dataGroup,a=e.getData(),h=this._data,f=e.coordinateSystem,p=f.dimensions,A=u(e);function g(e){var t=c(a,o,e,p,f);d(t,a,e,A)}function m(t,n){var o=h.getItemGraphicEl(n),s=l(a,t,p,f);a.setItemGraphicEl(t,o);var c=i&&!1===i.animation?null:e;r.updateProps(o,{shape:{points:s}},c,t),d(o,a,t,A)}function v(e){var t=h.getItemGraphicEl(e);o.remove(t)}if(a.diff(h).add(g).update(m).remove(v).execute(),!this._initialized){this._initialized=!0;var y=s(f,e,(function(){setTimeout((function(){o.removeClipPath()}))}));o.setClipPath(y)}this._data=a},incrementalPrepareRender:function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(e,t,n){for(var r=t.getData(),i=t.coordinateSystem,o=i.dimensions,a=u(t),s=e.start;s<e.end;s++){var l=c(r,this._dataGroup,s,o,i);l.incremental=!0,d(l,r,s,a)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function s(e,t,n){var i=e.model,o=e.getRect(),a=new r.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),s="horizontal"===i.get("layout")?"width":"height";return a.setShape(s,0),r.initProps(a,{shape:{width:o.width,height:o.height}},t,n),a}function l(e,t,n,r){for(var i=[],o=0;o<n.length;o++){var a=n[o],s=e.get(e.mapDimension(a),t);h(s,r.getAxis(a).type)||i.push(r.dataToPoint(s,a))}return i}function c(e,t,n,i,o){var a=l(e,n,i,o),s=new r.Polyline({shape:{points:a},silent:!0,z2:10});return t.add(s),e.setItemGraphicEl(n,s),s}function u(e){var t=e.get("smooth",!0);return!0===t&&(t=o),{lineStyle:e.getModel("lineStyle").getLineStyle(),smooth:null!=t?t:o}}function d(e,t,n,r){var i=r.lineStyle;if(t.hasItemOption){var o=t.getItemModel(n).getModel("lineStyle");i=o.getLineStyle()}e.useStyle(i);var a=e.style;a.fill=null,a.stroke=t.getItemVisual(n,"color"),a.opacity=t.getItemVisual(n,"opacity"),r.smooth&&(e.shape.smooth=r.smooth)}function h(e,t){return"category"===t?null==e:null==e||isNaN(e)}var f=a;e.exports=f},YOMW:function(e,t,n){var r=n("bYtY"),i={get:function(e,t,n){var i=r.clone((o[e]||{})[t]);return n&&r.isArray(i)?i[i.length-1]:i}},o={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]}},a=i;e.exports=a},YXkt:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("Qxkt"),a=n("gPAo"),s=n("7G+c"),l=n("KxfA"),c=l.defaultDimValueGetters,u=l.DefaultDataProvider,d=n("L0Ub"),h=d.summarizeDimensions,f=n("Vi4m"),p=i.isObject,A="undefined",g=-1,m="e\0\0",v={float:typeof Float64Array===A?Array:Float64Array,int:typeof Int32Array===A?Array:Int32Array,ordinal:Array,number:Array,time:Array},y=typeof Uint32Array===A?Array:Uint32Array,b=typeof Int32Array===A?Array:Int32Array,_=typeof Uint16Array===A?Array:Uint16Array;function w(e){return e._rawCount>65535?y:_}function x(e){var t=e.constructor;return t===Array?e.slice():new t(e)}var C=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],S=["_extent","_approximateExtent","_rawExtent"];function k(e,t){i.each(C.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,i.each(S,(function(n){e[n]=i.clone(t[n])})),e._calculationInfo=i.extend(t._calculationInfo)}var E=function(e,t){e=e||["x","y"];for(var n={},r=[],o={},a=0;a<e.length;a++){var s=e[a];i.isString(s)?s=new f({name:s}):s instanceof f||(s=new f(s));var l=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0),s.otherDims=s.otherDims||{},r.push(l),n[l]=s,s.index=a,s.createInvertedIndices&&(o[l]=[])}this.dimensions=r,this._dimensionInfos=n,this.hostModel=t,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=h(this),this._invertedIndicesMap=o,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},O=E.prototype;function B(e,t,n,r,i){var o=v[t.type],a=r-1,s=t.name,l=e[s][a];if(l&&l.length<n){for(var c=new o(Math.min(i-a*n,n)),u=0;u<l.length;u++)c[u]=l[u];e[s][a]=c}for(var d=r*n;d<i;d+=n)e[s].push(new o(Math.min(i-d,n)))}function M(e){var t=e._invertedIndicesMap;i.each(t,(function(n,r){var i=e._dimensionInfos[r],o=i.ordinalMeta;if(o){n=t[r]=new b(o.categories.length);for(var a=0;a<n.length;a++)n[a]=g;for(a=0;a<e._count;a++)n[e.get(r,a)]=a}}))}function T(e,t,n){var r;if(null!=t){var i=e._chunkSize,o=Math.floor(n/i),a=n%i,s=e.dimensions[t],l=e._storage[s][o];if(l){r=l[a];var c=e._dimensionInfos[s].ordinalMeta;c&&c.categories.length&&(r=c.categories[r])}}return r}function I(e){return e}function L(e){return e<this._count&&e>=0?this._indices[e]:-1}function D(e,t){var n=e._idList[t];return null==n&&(n=T(e,e._idDimIdx,t)),null==n&&(n=m+t),n}function P(e){return i.isArray(e)||(e=[e]),e}function N(e,t){var n=e.dimensions,r=new E(i.map(n,e.getDimensionInfo,e),e.hostModel);k(r,e);for(var o=r._storage={},a=e._storage,s=0;s<n.length;s++){var l=n[s];a[l]&&(i.indexOf(t,l)>=0?(o[l]=j(a[l]),r._rawExtent[l]=F(),r._extent[l]=null):o[l]=a[l])}return r}function j(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=x(e[n]);return t}function F(){return[1/0,-1/0]}O.type="list",O.hasItemOption=!0,O.getDimension=function(e){return"number"!==typeof e&&(isNaN(e)||this._dimensionInfos.hasOwnProperty(e))||(e=this.dimensions[e]),e},O.getDimensionInfo=function(e){return this._dimensionInfos[this.getDimension(e)]},O.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},O.mapDimension=function(e,t){var n=this._dimensionsSummary;if(null==t)return n.encodeFirstDimNotExtra[e];var r=n.encode[e];return!0===t?(r||[]).slice():r&&r[t]},O.initData=function(e,t,n){var r=s.isInstance(e)||i.isArrayLike(e);r&&(e=new u(e,this.dimensions.length)),this._rawData=e,this._storage={},this._indices=null,this._nameList=t||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=c[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._dimValueGetterArrayRows=c.arrayRows,this._rawExtent={},this._initDataFromProvider(0,e.count()),e.pure&&(this.hasItemOption=!1)},O.getProvider=function(){return this._rawData},O.appendData=function(e){var t=this._rawData,n=this.count();t.appendData(e);var r=t.count();t.persistent||(r+=n),this._initDataFromProvider(n,r)},O.appendValues=function(e,t){for(var n=this._chunkSize,r=this._storage,i=this.dimensions,o=i.length,a=this._rawExtent,s=this.count(),l=s+Math.max(e.length,t?t.length:0),c=this._chunkCount,u=0;u<o;u++){var d=i[u];a[d]||(a[d]=F()),r[d]||(r[d]=[]),B(r,this._dimensionInfos[d],n,c,l),this._chunkCount=r[d].length}for(var h=new Array(o),f=s;f<l;f++){for(var p=f-s,A=Math.floor(f/n),g=f%n,m=0;m<o;m++){d=i[m];var v=this._dimValueGetterArrayRows(e[p]||h,d,p,m);r[d][A][g]=v;var y=a[d];v<y[0]&&(y[0]=v),v>y[1]&&(y[1]=v)}t&&(this._nameList[f]=t[p])}this._rawCount=this._count=l,this._extent={},M(this)},O._initDataFromProvider=function(e,t){if(!(e>=t)){for(var n,r=this._chunkSize,i=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,c=this._nameList,u=this._idList,d=this._rawExtent,h=this._nameRepeatCount={},f=this._chunkCount,p=0;p<s;p++){var A=a[p];d[A]||(d[A]=F());var g=l[A];0===g.otherDims.itemName&&(n=this._nameDimIdx=p),0===g.otherDims.itemId&&(this._idDimIdx=p),o[A]||(o[A]=[]),B(o,g,r,f,t),this._chunkCount=o[A].length}for(var m=new Array(s),v=e;v<t;v++){m=i.getItem(v,m);for(var y=Math.floor(v/r),b=v%r,_=0;_<s;_++){A=a[_];var w=o[A][y],x=this._dimValueGetter(m,A,v,_);w[b]=x;var C=d[A];x<C[0]&&(C[0]=x),x>C[1]&&(C[1]=x)}if(!i.pure){var S=c[v];if(m&&null==S)if(null!=m.name)c[v]=S=m.name;else if(null!=n){var k=a[n],E=o[k][y];if(E){S=E[b];var O=l[k].ordinalMeta;O&&O.categories.length&&(S=O.categories[S])}}var T=null==m?null:m.id;null==T&&null!=S&&(h[S]=h[S]||0,T=S,h[S]>0&&(T+="__ec__"+h[S]),h[S]++),null!=T&&(u[v]=T)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=t,this._extent={},M(this)}},O.count=function(){return this._count},O.getIndices=function(){var e=this._indices;if(e){var t=e.constructor,n=this._count;if(t===Array){i=new t(n);for(var r=0;r<n;r++)i[r]=e[r]}else i=new t(e.buffer,0,n)}else{t=w(this);var i=new t(this.count());for(r=0;r<i.length;r++)i[r]=r}return i},O.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var n=this._storage;if(!n[e])return NaN;t=this.getRawIndex(t);var r=Math.floor(t/this._chunkSize),i=t%this._chunkSize,o=n[e][r],a=o[i];return a},O.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var n=this._storage[e];if(!n)return NaN;var r=Math.floor(t/this._chunkSize),i=t%this._chunkSize,o=n[r];return o[i]},O._getFast=function(e,t){var n=Math.floor(t/this._chunkSize),r=t%this._chunkSize,i=this._storage[e][n];return i[r]},O.getValues=function(e,t){var n=[];i.isArray(e)||(t=e,e=this.dimensions);for(var r=0,o=e.length;r<o;r++)n.push(this.get(e[r],t));return n},O.hasValue=function(e){for(var t=this._dimensionsSummary.dataDimsOnCoord,n=0,r=t.length;n<r;n++)if(isNaN(this.get(t[n],e)))return!1;return!0},O.getDataExtent=function(e){e=this.getDimension(e);var t=this._storage[e],n=F();if(!t)return n;var r,i=this.count(),o=!this._indices;if(o)return this._rawExtent[e].slice();if(r=this._extent[e],r)return r.slice();r=n;for(var a=r[0],s=r[1],l=0;l<i;l++){var c=this._getFast(e,this.getRawIndex(l));c<a&&(a=c),c>s&&(s=c)}return r=[a,s],this._extent[e]=r,r},O.getApproximateExtent=function(e){return e=this.getDimension(e),this._approximateExtent[e]||this.getDataExtent(e)},O.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},O.getCalculationInfo=function(e){return this._calculationInfo[e]},O.setCalculationInfo=function(e,t){p(e)?i.extend(this._calculationInfo,e):this._calculationInfo[e]=t},O.getSum=function(e){var t=this._storage[e],n=0;if(t)for(var r=0,i=this.count();r<i;r++){var o=this.get(e,r);isNaN(o)||(n+=o)}return n},O.getMedian=function(e){var t=[];this.each(e,(function(e,n){isNaN(e)||t.push(e)}));var n=[].concat(t).sort((function(e,t){return e-t})),r=this.count();return 0===r?0:r%2===1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},O.rawIndexOf=function(e,t){var n=e&&this._invertedIndicesMap[e],r=n[t];return null==r||isNaN(r)?g:r},O.indexOfName=function(e){for(var t=0,n=this.count();t<n;t++)if(this.getName(t)===e)return t;return-1},O.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;var r=0,i=this._count-1;while(r<=i){var o=(r+i)/2|0;if(t[o]<e)r=o+1;else{if(!(t[o]>e))return o;i=o-1}}return-1},O.indicesOfNearest=function(e,t,n){var r=this._storage,i=r[e],o=[];if(!i)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,c=0,u=this.count();c<u;c++){var d=t-this.get(e,c),h=Math.abs(d);h<=n&&((h<a||h===a&&d>=0&&s<0)&&(a=h,s=d,l=0),d===s&&(o[l++]=c))}return o.length=l,o},O.getRawIndex=I,O.getRawDataItem=function(e){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(e));for(var t=[],n=0;n<this.dimensions.length;n++){var r=this.dimensions[n];t.push(this.get(r,e))}return t},O.getName=function(e){var t=this.getRawIndex(e);return this._nameList[t]||T(this,this._nameDimIdx,t)||""},O.getId=function(e){return D(this,this.getRawIndex(e))},O.each=function(e,t,n,r){"use strict";if(this._count){"function"===typeof e&&(r=n,n=t,t=e,e=[]),n=n||r||this,e=i.map(P(e),this.getDimension,this);for(var o=e.length,a=0;a<this.count();a++)switch(o){case 0:t.call(n,a);break;case 1:t.call(n,this.get(e[0],a),a);break;case 2:t.call(n,this.get(e[0],a),this.get(e[1],a),a);break;default:for(var s=0,l=[];s<o;s++)l[s]=this.get(e[s],a);l[s]=a,t.apply(n,l)}}},O.filterSelf=function(e,t,n,r){"use strict";if(this._count){"function"===typeof e&&(r=n,n=t,t=e,e=[]),n=n||r||this,e=i.map(P(e),this.getDimension,this);for(var o=this.count(),a=w(this),s=new a(o),l=[],c=e.length,u=0,d=e[0],h=0;h<o;h++){var f,p=this.getRawIndex(h);if(0===c)f=t.call(n,h);else if(1===c){var A=this._getFast(d,p);f=t.call(n,A,h)}else{for(var g=0;g<c;g++)l[g]=this._getFast(d,p);l[g]=h,f=t.apply(n,l)}f&&(s[u++]=p)}return u<o&&(this._indices=s),this._count=u,this._extent={},this.getRawIndex=this._indices?L:I,this}},O.selectRange=function(e){"use strict";if(this._count){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);var r=t.length;if(r){var i=this.count(),o=w(this),a=new o(i),s=0,l=t[0],c=e[l][0],u=e[l][1],d=!1;if(!this._indices){var h=0;if(1===r){for(var f=this._storage[t[0]],p=0;p<this._chunkCount;p++)for(var A=f[p],g=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<g;m++){var v=A[m];(v>=c&&v<=u||isNaN(v))&&(a[s++]=h),h++}d=!0}else if(2===r){f=this._storage[l];var y=this._storage[t[1]],b=e[t[1]][0],_=e[t[1]][1];for(p=0;p<this._chunkCount;p++){A=f[p];var x=y[p];for(g=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<g;m++){v=A[m];var C=x[m];(v>=c&&v<=u||isNaN(v))&&(C>=b&&C<=_||isNaN(C))&&(a[s++]=h),h++}}d=!0}}if(!d)if(1===r)for(m=0;m<i;m++){var S=this.getRawIndex(m);v=this._getFast(l,S);(v>=c&&v<=u||isNaN(v))&&(a[s++]=S)}else for(m=0;m<i;m++){var k=!0;for(S=this.getRawIndex(m),p=0;p<r;p++){var E=t[p];v=this._getFast(n,S);(v<e[E][0]||v>e[E][1])&&(k=!1)}k&&(a[s++]=this.getRawIndex(m))}return s<i&&(this._indices=a),this._count=s,this._extent={},this.getRawIndex=this._indices?L:I,this}}},O.mapArray=function(e,t,n,r){"use strict";"function"===typeof e&&(r=n,n=t,t=e,e=[]),n=n||r||this;var i=[];return this.each(e,(function(){i.push(t&&t.apply(this,arguments))}),n),i},O.map=function(e,t,n,r){"use strict";n=n||r||this,e=i.map(P(e),this.getDimension,this);var o=N(this,e);o._indices=this._indices,o.getRawIndex=o._indices?L:I;for(var a=o._storage,s=[],l=this._chunkSize,c=e.length,u=this.count(),d=[],h=o._rawExtent,f=0;f<u;f++){for(var p=0;p<c;p++)d[p]=this.get(e[p],f);d[c]=f;var A=t&&t.apply(n,d);if(null!=A){"object"!==typeof A&&(s[0]=A,A=s);for(var g=this.getRawIndex(f),m=Math.floor(g/l),v=g%l,y=0;y<A.length;y++){var b=e[y],_=A[y],w=h[b],x=a[b];x&&(x[m][v]=_),_<w[0]&&(w[0]=_),_>w[1]&&(w[1]=_)}}}return o},O.downSample=function(e,t,n,r){for(var i=N(this,[e]),o=i._storage,a=[],s=Math.floor(1/t),l=o[e],c=this.count(),u=this._chunkSize,d=i._rawExtent[e],h=new(w(this))(c),f=0,p=0;p<c;p+=s){s>c-p&&(s=c-p,a.length=s);for(var A=0;A<s;A++){var g=this.getRawIndex(p+A),m=Math.floor(g/u),v=g%u;a[A]=l[m][v]}var y=n(a),b=this.getRawIndex(Math.min(p+r(a,y)||0,c-1)),_=Math.floor(b/u),x=b%u;l[_][x]=y,y<d[0]&&(d[0]=y),y>d[1]&&(d[1]=y),h[f++]=b}return i._count=f,i._indices=h,i.getRawIndex=L,i},O.getItemModel=function(e){var t=this.hostModel;return new o(this.getRawDataItem(e),t,t&&t.ecModel)},O.diff=function(e){var t=this;return new a(e?e.getIndices():[],this.getIndices(),(function(t){return D(e,t)}),(function(e){return D(t,e)}))},O.getVisual=function(e){var t=this._visual;return t&&t[e]},O.setVisual=function(e,t){if(p(e))for(var n in e)e.hasOwnProperty(n)&&this.setVisual(n,e[n]);else this._visual=this._visual||{},this._visual[e]=t},O.setLayout=function(e,t){if(p(e))for(var n in e)e.hasOwnProperty(n)&&this.setLayout(n,e[n]);else this._layout[e]=t},O.getLayout=function(e){return this._layout[e]},O.getItemLayout=function(e){return this._itemLayouts[e]},O.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?i.extend(this._itemLayouts[e]||{},t):t},O.clearItemLayouts=function(){this._itemLayouts.length=0},O.getItemVisual=function(e,t,n){var r=this._itemVisuals[e],i=r&&r[t];return null!=i||n?i:this.getVisual(t)},O.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{},i=this.hasItemVisual;if(this._itemVisuals[e]=r,p(t))for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o],i[o]=!0);else r[t]=n,i[t]=!0},O.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var R=function(e){e.seriesIndex=this.seriesIndex,e.dataIndex=this.dataIndex,e.dataType=this.dataType};O.setItemGraphicEl=function(e,t){var n=this.hostModel;t&&(t.dataIndex=e,t.dataType=this.dataType,t.seriesIndex=n&&n.seriesIndex,"group"===t.type&&t.traverse(R,t)),this._graphicEls[e]=t},O.getItemGraphicEl=function(e){return this._graphicEls[e]},O.eachItemGraphicEl=function(e,t){i.each(this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},O.cloneShallow=function(e){if(!e){var t=i.map(this.dimensions,this.getDimensionInfo,this);e=new E(t,this.hostModel)}if(e._storage=this._storage,k(e,this),this._indices){var n=this._indices.constructor;e._indices=new n(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?L:I,e},O.wrapMethod=function(e,t){var n=this[e];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(i.slice(arguments)))})},O.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],O.CHANGABLE_METHODS=["filterSelf","selectRange"];var U=E;e.exports=U},YgsL:function(e,t,n){var r=n("QBsz"),i=r.distance;function o(e,t,n,r,i,o,a){var s=.5*(n-e),l=.5*(r-t);return(2*(t-n)+s+l)*a+(-3*(t-n)-2*s-l)*o+s*i+t}function a(e,t){for(var n=e.length,r=[],a=0,s=1;s<n;s++)a+=i(e[s-1],e[s]);var l=a/2;l=l<n?n:l;for(s=0;s<l;s++){var c,u,d,h=s/(l-1)*(t?n:n-1),f=Math.floor(h),p=h-f,A=e[f%n];t?(c=e[(f-1+n)%n],u=e[(f+1)%n],d=e[(f+2)%n]):(c=e[0===f?f:f-1],u=e[f>n-2?n-1:f+1],d=e[f>n-3?n-1:f+2]);var g=p*p,m=p*g;r.push([o(c[0],A[0],u[0],d[0],p,g,m),o(c[1],A[1],u[1],d[1],p,g,m)])}return r}e.exports=a},Yl7c:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=".",a="___EC__COMPONENT__CONTAINER___";function s(e){var t={main:"",sub:""};return e&&(e=e.split(o),t.main=e[0]||"",t.sub=e[1]||""),t}function l(e){i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function c(e,t){e.$constructor=e,e.extend=function(e){var t=this,n=function(){e.$constructor?e.$constructor.apply(this,arguments):t.apply(this,arguments)};return i.extend(n.prototype,e),n.extend=this.extend,n.superCall=h,n.superApply=f,i.inherits(n,this),n.superClass=t,n}}var u=0;function d(e){var t=["__\0is_clz",u++,Math.random().toFixed(3)].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function h(e,t){var n=i.slice(arguments,2);return this.superClass.prototype[t].apply(e,n)}function f(e,t,n){return this.superClass.prototype[t].apply(e,n)}function p(e,t){t=t||{};var n={};function r(e){var t=n[e.main];return t&&t[a]||(t=n[e.main]={},t[a]=!0),t}if(e.registerClass=function(e,t){if(t)if(l(t),t=s(t),t.sub){if(t.sub!==a){var i=r(t);i[t.sub]=e}}else n[t.main]=e;return e},e.getClass=function(e,t,r){var i=n[e];if(i&&i[a]&&(i=t?i[t]:null),r&&!i)throw new Error(t?"Component "+e+"."+(t||"")+" not exists. Load it first.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){e=s(e);var t=[],r=n[e.main];return r&&r[a]?i.each(r,(function(e,n){n!==a&&t.push(e)})):t.push(r),t},e.hasClass=function(e){return e=s(e),!!n[e.main]},e.getAllClassMainTypes=function(){var e=[];return i.each(n,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){e=s(e);var t=n[e.main];return t&&t[a]},e.parseClassType=s,t.registerWhenExtend){var o=e.extend;o&&(e.extend=function(t){var n=o.call(this,t);return e.registerClass(n,t.type)})}return e}function A(e,t){}t.parseClassType=s,t.enableClassExtend=c,t.enableClassCheck=d,t.enableClassManagement=p,t.setReadOnly=A},Ynxi:function(e,t,n){var r=n("bYtY"),i=n("ProS"),o=n("IwbS"),a=n("+TT/"),s=a.getLayoutRect,l=n("7aKB"),c=l.windowOpen;i.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"}}}),i.extendComponentView({type:"title",render:function(e,t,n){if(this.group.removeAll(),e.get("show")){var i=this.group,a=e.getModel("textStyle"),l=e.getModel("subtextStyle"),u=e.get("textAlign"),d=r.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),h=new o.Text({style:o.setTextStyle({},a,{text:e.get("text"),textFill:a.getTextColor()},{disableBox:!0}),z2:10}),f=h.getBoundingRect(),p=e.get("subtext"),A=new o.Text({style:o.setTextStyle({},l,{text:p,textFill:l.getTextColor(),y:f.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),g=e.get("link"),m=e.get("sublink"),v=e.get("triggerEvent",!0);h.silent=!g&&!v,A.silent=!m&&!v,g&&h.on("click",(function(){c(g,"_"+e.get("target"))})),m&&A.on("click",(function(){c(g,"_"+e.get("subtarget"))})),h.eventData=A.eventData=v?{componentType:"title",componentIndex:e.componentIndex}:null,i.add(h),p&&i.add(A);var y=i.getBoundingRect(),b=e.getBoxLayoutParams();b.width=y.width,b.height=y.height;var _=s(b,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));u||(u=e.get("left")||e.get("right"),"middle"===u&&(u="center"),"right"===u?_.x+=_.width:"center"===u&&(_.x+=_.width/2)),d||(d=e.get("top")||e.get("bottom"),"center"===d&&(d="middle"),"bottom"===d?_.y+=_.height:"middle"===d&&(_.y+=_.height/2),d=d||"top"),i.attr("position",[_.x,_.y]);var w={textAlign:u,textVerticalAlign:d};h.setStyle(w),A.setStyle(w),y=i.getBoundingRect();var x=_.margin,C=e.getItemStyle(["color","opacity"]);C.fill=e.get("backgroundColor");var S=new o.Rect({shape:{x:y.x-x[3],y:y.y-x[0],width:y.width+x[1]+x[3],height:y.height+x[0]+x[2],r:e.get("borderRadius")},style:C,subPixelOptimize:!0,silent:!0});i.add(S)}}})},Ywus:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("DO2E")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="DeleteOutlined";var h=a.forwardRef(d);t.default=h},Z0Lh:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n("pVnL")),o=r(n("HjOm")),a=r(n("Z6rY")),s={lang:(0,i["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"]},o["default"]),timePickerLocale:(0,i["default"])({},a["default"])};s.lang.ok="\u786e \u5b9a";var l=s;t["default"]=l},Z0cm:function(e,t){var n=Array.isArray;e.exports=n},Z1HP:function(e,t,n){var r=n("ycre"),i=n("quyA"),o=n("q4HE");function a(e){return i(e)?o(e):r(e)}e.exports=a},Z1r0:function(e,t){function n(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getGraph(),i=r.data,o=n.mapArray(n.getName);i.filterSelf((function(e){var n=i.getItemModel(e),r=n.getShallow("category");if(null!=r){"number"===typeof r&&(r=o[r]);for(var a=0;a<t.length;a++)if(!t[a].isSelected(r))return!1}return!0}))}),this)}e.exports=n},Z1wy:function(e,t,n){var r=n("ProS");n("ThAp"),n("pmaE"),n("SehX"),n("7uqq");var i=n("zuHt"),o=n("VPsl"),a=n("9u0u"),s=n("lELe"),l=n("d4KN");r.registerLayout(i),r.registerVisual(o),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,a),r.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(e,t,n){var r=n("MwEJ"),i=n("T4UG"),o=i.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,t){return r(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}});e.exports=o},Z6rY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r={placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},i=r;t["default"]=i},Z8oC:function(e,t,n){var r=n("y1pI");function i(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}e.exports=i},Z8zF:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("IwbS"),s=n("56rv"),l=s.setLabel,c=n("Qxkt"),u=n("tceW"),d=n("y+Vt"),h=n("4fz+"),f=n("iLNv"),p=f.throttle,A=n("sK/D"),g=A.createClipPath,m=n("wr5s"),v=["itemStyle","barBorderWidth"],y=[0,0];function b(e,t){var n=e.getArea&&e.getArea();if("cartesian2d"===e.type){var r=e.getBaseAxis();if("category"!==r.type||!r.onBand){var i=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}o.extend(c.prototype,u);var _=i.extendChartView({type:"bar",render:function(e,t,n){this._updateDrawMode(e);var r=e.get("coordinateSystem");return"cartesian2d"!==r&&"polar"!==r||(this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n)),this.group},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,r){this._incrementalRenderLarge(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e,t,n){var r,i=this.group,o=e.getData(),s=this._data,l=e.coordinateSystem,c=l.getBaseAxis();"cartesian2d"===l.type?r=c.isHorizontal():"polar"===l.type&&(r="angle"===c.dim);var u=e.isAnimationEnabled()?e:null,d=e.get("clip",!0),f=b(l,o);i.removeClipPath();var p=e.get("roundCap",!0),A=e.get("showBackground",!0),g=e.getModel("backgroundStyle"),m=g.get("barBorderRadius")||0,v=[],y=this._backgroundEls||[];o.diff(s).add((function(t){var n=o.getItemModel(t),a=O[l.type](o,t,n);if(A){var s=O[l.type](o,t),c=R(l,r,s);c.useStyle(g.getBarItemStyle()),"cartesian2d"===l.type&&c.setShape("r",m),v[t]=c}if(o.hasValue(t)){if(d){var h=C[l.type](f,a);if(h)return void i.remove(y)}var y=S[l.type](t,a,r,u,!1,p);o.setItemGraphicEl(t,y),i.add(y),M(y,o,t,n,a,e,r,"polar"===l.type)}})).update((function(t,n){var c=o.getItemModel(t),h=O[l.type](o,t,c);if(A){var b=y[n];b.useStyle(g.getBarItemStyle()),"cartesian2d"===l.type&&b.setShape("r",m),v[t]=b;var _=O[l.type](o,t),w=F(r,_,l);a.updateProps(b,{shape:w},u,t)}var x=s.getItemGraphicEl(n);if(o.hasValue(t)){if(d){var k=C[l.type](f,h);if(k)return void i.remove(x)}x?a.updateProps(x,{shape:h},u,t):x=S[l.type](t,h,r,u,!0,p),o.setItemGraphicEl(t,x),i.add(x),M(x,o,t,c,h,e,r,"polar"===l.type)}else i.remove(x)})).remove((function(e){var t=s.getItemGraphicEl(e);"cartesian2d"===l.type?t&&k(e,u,t):t&&E(e,u,t)})).execute();var _=this._backgroundGroup||(this._backgroundGroup=new h);_.removeAll();for(var w=0;w<v.length;++w)_.add(v[w]);i.add(_),this._backgroundEls=v,this._data=o},_renderLarge:function(e,t,n){this._clear(),L(e,this.group);var r=e.get("clip",!0)?g(e.coordinateSystem,!1,e):null;r?this.group.setClipPath(r):this.group.removeClipPath()},_incrementalRenderLarge:function(e,t){this._removeBackground(),L(t,this.group,!0)},dispose:o.noop,remove:function(e){this._clear(e)},_clear:function(e){var t=this.group,n=this._data;e&&e.get("animation")&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(t){"sector"===t.type?E(t.dataIndex,e,t):k(t.dataIndex,e,t)}))):t.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),w=Math.max,x=Math.min,C={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=w(t.x,e.x),o=x(t.x+t.width,e.x+e.width),a=w(t.y,e.y),s=x(t.y+t.height,e.y+e.height);t.x=i,t.y=a,t.width=o-i,t.height=s-a;var l=t.width<0||t.height<0;return n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),l},polar:function(e){return!1}},S={cartesian2d:function(e,t,n,r,i){var s=new a.Rect({shape:o.extend({},t),z2:1});if(s.name="item",r){var l=s.shape,c=n?"height":"width",u={};l[c]=0,u[c]=t[c],a[i?"updateProps":"initProps"](s,{shape:u},r,e)}return s},polar:function(e,t,n,r,i,s){var l=t.startAngle<t.endAngle,c=!n&&s?m:a.Sector,u=new c({shape:o.defaults({clockwise:l},t),z2:1});if(u.name="item",r){var d=u.shape,h=n?"r":"endAngle",f={};d[h]=n?0:t.startAngle,f[h]=t[h],a[i?"updateProps":"initProps"](u,{shape:f},r,e)}return u}};function k(e,t,n){n.style.text=null,a.updateProps(n,{shape:{width:0}},t,e,(function(){n.parent&&n.parent.remove(n)}))}function E(e,t,n){n.style.text=null,a.updateProps(n,{shape:{r:n.shape.r0}},t,e,(function(){n.parent&&n.parent.remove(n)}))}var O={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),i=n?T(n,r):0,o=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle}}};function B(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function M(e,t,n,r,i,s,c,u){var d=t.getItemVisual(n,"color"),h=t.getItemVisual(n,"opacity"),f=t.getVisual("borderColor"),p=r.getModel("itemStyle"),A=r.getModel("emphasis.itemStyle").getBarItemStyle();u||e.setShape("r",p.get("barBorderRadius")||0),e.useStyle(o.defaults({stroke:B(i)?"none":f,fill:B(i)?"none":d,opacity:h},p.getBarItemStyle()));var g=r.getShallow("cursor");g&&e.attr("cursor",g);var m=c?i.height>0?"bottom":"top":i.width>0?"left":"right";u||l(e.style,A,r,d,s,n,m),B(i)&&(A.fill=A.stroke="none"),a.setHoverStyle(e,A)}function T(e,t){var n=e.get(v)||0,r=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),i=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,r,i)}var I=d.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var n=t.points,r=this.__startPoint,i=this.__baseDimIdx,o=0;o<n.length;o+=2)r[i]=n[o+i],e.moveTo(r[0],r[1]),e.lineTo(n[o],n[o+1])}});function L(e,t,n){var r=e.getData(),i=[],o=r.getLayout("valueAxisHorizontal")?1:0;i[1-o]=r.getLayout("valueAxisStart");var a=r.getLayout("largeDataIndices"),s=r.getLayout("barWidth"),l=e.getModel("backgroundStyle"),c=e.get("showBackground",!0);if(c){var u=r.getLayout("largeBackgroundPoints"),d=[];d[1-o]=r.getLayout("backgroundStart");var h=new I({shape:{points:u},incremental:!!n,__startPoint:d,__baseDimIdx:o,__largeDataIndices:a,__barWidth:s,silent:!0,z2:0});j(h,l,r),t.add(h)}var f=new I({shape:{points:r.getLayout("largePoints")},incremental:!!n,__startPoint:i,__baseDimIdx:o,__largeDataIndices:a,__barWidth:s});t.add(f),N(f,e,r),f.seriesIndex=e.seriesIndex,e.get("silent")||(f.on("mousedown",D),f.on("mousemove",D))}var D=p((function(e){var t=this,n=P(t,e.offsetX,e.offsetY);t.dataIndex=n>=0?n:null}),30,!1);function P(e,t,n){var r=e.__baseDimIdx,i=1-r,o=e.shape.points,a=e.__largeDataIndices,s=Math.abs(e.__barWidth/2),l=e.__startPoint[i];y[0]=t,y[1]=n;for(var c=y[r],u=y[1-r],d=c-s,h=c+s,f=0,p=o.length/2;f<p;f++){var A=2*f,g=o[A+r],m=o[A+i];if(g>=d&&g<=h&&(l<=m?u>=l&&u<=m:u>=m&&u<=l))return a[f]}return-1}function N(e,t,n){var r=n.getVisual("borderColor")||n.getVisual("color"),i=t.getModel("itemStyle").getItemStyle(["color","borderColor"]);e.useStyle(i),e.style.fill=null,e.style.stroke=r,e.style.lineWidth=n.getLayout("barWidth")}function j(e,t,n){var r=t.get("borderColor")||t.get("color"),i=t.getItemStyle(["color","borderColor"]);e.useStyle(i),e.style.fill=null,e.style.stroke=r,e.style.lineWidth=n.getLayout("barWidth")}function F(e,t,n){var r,i="polar"===n.type;return r=i?n.getArea():n.grid.getRect(),i?{cx:r.cx,cy:r.cy,r0:e?r.r0:t.r0,r:e?r.r:t.r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}:{x:e?t.x:r.x,y:e?r.y:t.y,width:e?t.width:r.width,height:e?r.height:t.height}}function R(e,t,n){var r="polar"===e.type?a.Sector:a.Rect;return new r({shape:F(t,n,e),silent:!0,z2:0})}e.exports=_},ZCgT:function(e,t,n){var r=n("tLB3"),i=1/0,o=17976931348623157e292;function a(e){if(!e)return 0===e?e:0;if(e=r(e),e===i||e===-i){var t=e<0?-1:1;return t*o}return e===e?e:0}e.exports=a},ZLWo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},ZMnZ:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("2oIt")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="UpOutlined";var h=a.forwardRef(d);t.default=h},ZTPi:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("q1tI"),l=n("rePB"),c=n("ODXe"),u=n("Ff2n"),d=n("VTBJ"),h=n("TSYQ"),f=n.n(h),p=n("Zm9Q"),A=n("6cGi"),g=n("KQm4"),m=n("xEkU"),v=n.n(m),y=n("1OyB"),b=n("vuIU"),_=n("Ji7U"),w=n("LK+K"),x=n("m+aA"),C=n("Kwbf"),S=n("c+Xe"),k=n("bdgK"),E="rc-observer-key",O=function(e){Object(_["a"])(n,e);var t=Object(w["a"])(n);function n(){var e;return Object(y["a"])(this,n),e=t.apply(this,arguments),e.resizeObserver=null,e.childNode=null,e.currentElement=null,e.state={width:0,height:0,offsetHeight:0,offsetWidth:0},e.onResize=function(t){var n=e.props.onResize,r=t[0].target,i=r.getBoundingClientRect(),o=i.width,a=i.height,s=r.offsetWidth,l=r.offsetHeight,c=Math.floor(o),u=Math.floor(a);if(e.state.width!==c||e.state.height!==u||e.state.offsetWidth!==s||e.state.offsetHeight!==l){var h={width:c,height:u,offsetWidth:s,offsetHeight:l};e.setState(h),n&&Promise.resolve().then((function(){n(Object(d["a"])(Object(d["a"])({},h),{},{offsetWidth:s,offsetHeight:l}))}))}},e.setChildNode=function(t){e.childNode=t},e}return Object(b["a"])(n,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var e=this.props.disabled;if(e)this.destroyObserver();else{var t=Object(x["a"])(this.childNode||this),n=t!==this.currentElement;n&&(this.destroyObserver(),this.currentElement=t),!this.resizeObserver&&t&&(this.resizeObserver=new k["default"](this.onResize),this.resizeObserver.observe(t))}}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var e=this.props.children,t=Object(p["a"])(e);if(t.length>1)Object(C["a"])(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(0===t.length)return Object(C["a"])(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var n=t[0];if(s["isValidElement"](n)&&Object(S["c"])(n)){var r=n.ref;t[0]=s["cloneElement"](n,{ref:Object(S["a"])(r,this.setChildNode)})}return 1===t.length?t[0]:t.map((function(e,t){return!s["isValidElement"](e)||"key"in e&&null!==e.key?e:s["cloneElement"](e,{key:"".concat(E,"-").concat(t)})}))}}]),n}(s["Component"]);O.displayName="ResizeObserver";var B=O;function M(e){var t=Object(s["useRef"])(),n=Object(s["useRef"])(!1);function r(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];n.current||(v.a.cancel(t.current),t.current=v()((function(){e.apply(void 0,i)})))}return Object(s["useEffect"])((function(){return function(){n.current=!0,v.a.cancel(t.current)}}),[]),r}function T(e){var t=Object(s["useRef"])([]),n=Object(s["useState"])({}),r=Object(c["a"])(n,2),i=r[1],o=Object(s["useRef"])("function"===typeof e?e():e),a=M((function(){var e=o.current;t.current.forEach((function(t){e=t(e)})),t.current=[],o.current=e,i({})}));function l(e){t.current.push(e),a()}return[o.current,l]}var I=n("4IlW");function L(e,t){var n,r=e.prefixCls,i=e.id,o=e.active,a=e.rtl,c=e.tab,u=c.key,d=c.tab,h=c.disabled,p=c.closeIcon,A=e.tabBarGutter,g=e.tabPosition,m=e.closable,v=e.renderWrapper,y=e.removeAriaLabel,b=e.editable,_=e.onClick,w=e.onRemove,x=e.onFocus,C="".concat(r,"-tab");s["useEffect"]((function(){return w}),[]);var S={};"top"===g||"bottom"===g?S[a?"marginLeft":"marginRight"]=A:S.marginBottom=A;var k=b&&!1!==m&&!h;function E(e){h||_(e)}function O(e){e.preventDefault(),e.stopPropagation(),b.onEdit("remove",{key:u,event:e})}var B=s["createElement"]("div",{key:u,ref:t,className:f()(C,(n={},Object(l["a"])(n,"".concat(C,"-with-remove"),k),Object(l["a"])(n,"".concat(C,"-active"),o),Object(l["a"])(n,"".concat(C,"-disabled"),h),n)),style:S,onClick:E},s["createElement"]("div",{role:"tab","aria-selected":o,id:i&&"".concat(i,"-tab-").concat(u),className:"".concat(C,"-btn"),"aria-controls":i&&"".concat(i,"-panel-").concat(u),"aria-disabled":h,tabIndex:h?null:0,onClick:function(e){e.stopPropagation(),E(e)},onKeyDown:function(e){[I["a"].SPACE,I["a"].ENTER].includes(e.which)&&(e.preventDefault(),E(e))},onFocus:x},d),k&&s["createElement"]("button",{type:"button","aria-label":y||"remove",tabIndex:0,className:"".concat(C,"-remove"),onClick:function(e){e.stopPropagation(),O(e)}},p||b.removeIcon||"\xd7"));return v&&(B=v(B)),B}var D=s["forwardRef"](L),P={width:0,height:0,left:0,top:0};function N(e,t,n){return Object(s["useMemo"])((function(){for(var n,r=new Map,i=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||P,o=i.left+i.width,a=0;a<e.length;a+=1){var s,l=e[a].key,c=t.get(l);if(!c)c=t.get(null===(s=e[a-1])||void 0===s?void 0:s.key)||P;var u=r.get(l)||Object(d["a"])({},c);u.right=o-u.left-u.width,r.set(l,u)}return r}),[e.map((function(e){return e.key})).join("_"),t,n])}var j={width:0,height:0,left:0,top:0,right:0};function F(e,t,n,r,i){var o,a,l,c=i.tabs,u=i.tabPosition,d=i.rtl;["top","bottom"].includes(u)?(o="width",a=d?"right":"left",l=Math.abs(t.left)):(o="height",a="top",l=-t.top);var h=t[o],f=n[o],p=r[o],A=h;return f+p>h&&(A=h-p),Object(s["useMemo"])((function(){if(!c.length)return[0,0];for(var t=c.length,n=t,r=0;r<t;r+=1){var i=e.get(c[r].key)||j;if(i[a]+i[o]>l+A){n=r-1;break}}for(var s=0,u=t-1;u>=0;u-=1){var d=e.get(c[u].key)||j;if(d[a]<l){s=u+1;break}}return[s,n]}),[e,l,A,u,c.map((function(e){return e.key})).join("_"),d])}var R=n("wx14"),U=n("JX7q"),H=n("I8Z2"),Q=n("bT9E"),K=n("2GS6"),z=n("Gytx"),V=n.n(z),W=n("U8pU"),G=/iPhone/i,X=/iPod/i,q=/iPad/i,Y=/\bAndroid(?:.+)Mobile\b/i,Z=/Android/i,J=/\bAndroid(?:.+)SD4930UR\b/i,$=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,ee=/Windows Phone/i,te=/\bWindows(?:.+)ARM\b/i,ne=/BlackBerry/i,re=/BB10/i,ie=/Opera Mini/i,oe=/\b(CriOS|Chrome)(?:.+)Mobile/i,ae=/Mobile(?:.+)Firefox\b/i;function se(e,t){return e.test(t)}function le(e){var t=e||("undefined"!==typeof navigator?navigator.userAgent:""),n=(t||"").split("[FBAN");if("undefined"!==typeof n[1]){var r=n,i=Object(c["a"])(r,1);t=i[0]}if(n=t.split("Twitter"),"undefined"!==typeof n[1]){var o=n,a=Object(c["a"])(o,1);t=a[0]}var s={apple:{phone:se(G,t)&&!se(ee,t),ipod:se(X,t),tablet:!se(G,t)&&se(q,t)&&!se(ee,t),device:(se(G,t)||se(X,t)||se(q,t))&&!se(ee,t)},amazon:{phone:se(J,t),tablet:!se(J,t)&&se($,t),device:se(J,t)||se($,t)},android:{phone:!se(ee,t)&&se(J,t)||!se(ee,t)&&se(Y,t),tablet:!se(ee,t)&&!se(J,t)&&!se(Y,t)&&(se($,t)||se(Z,t)),device:!se(ee,t)&&(se(J,t)||se($,t)||se(Y,t)||se(Z,t))||se(/\bokhttp\b/i,t)},windows:{phone:se(ee,t),tablet:se(te,t),device:se(ee,t)||se(te,t)},other:{blackberry:se(ne,t),blackberry10:se(re,t),opera:se(ie,t),firefox:se(ae,t),chrome:se(oe,t),device:se(ne,t)||se(re,t)||se(ie,t)||se(ae,t)||se(oe,t)},any:null,phone:null,tablet:null};return s.any=s.apple.device||s.android.device||s.windows.device||s.other.device,s.phone=s.apple.phone||s.android.phone||s.windows.phone,s.tablet=s.apple.tablet||s.android.tablet||s.windows.tablet,s}var ce=Object(d["a"])(Object(d["a"])({},le()),{},{isMobile:le}),ue=ce;function de(){}function he(e,t,n){var r=t||"";return e.key||"".concat(r,"item_").concat(n)}function fe(e){return"".concat(e,"-menu-")}function pe(e,t){var n=-1;s["Children"].forEach(e,(function(e){n+=1,e&&e.type&&e.type.isMenuItemGroup?s["Children"].forEach(e.props.children,(function(e){n+=1,t(e,n)})):t(e,n)}))}function Ae(e,t,n){e&&!n.find&&s["Children"].forEach(e,(function(e){if(e){var r=e.type;if(!r||!(r.isSubMenu||r.isMenuItem||r.isMenuItemGroup))return;-1!==t.indexOf(e.key)?n.find=!0:e.props.children&&Ae(e.props.children,t,n)}}))}var ge=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],me=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e&&"function"===typeof e.getBoundingClientRect&&e.getBoundingClientRect().width;if(n){if(t){var r=getComputedStyle(e),i=r.marginLeft,o=r.marginRight;n+=+i.replace("px","")+ +o.replace("px","")}n=+n.toFixed(6)}return n||0},ve=function(e,t,n){e&&"object"===Object(W["a"])(e.style)&&(e.style[t]=n)},ye=function(){return ue.any},be=n("i8i4"),_e=n("uciX"),we=n("wgJM"),xe=n("8XRh"),Ce={adjustX:1,adjustY:1},Se={topLeft:{points:["bl","tl"],overflow:Ce,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ce,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Ce,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Ce,offset:[4,0]}},ke={topLeft:{points:["bl","tl"],overflow:Ce,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ce,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Ce,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Ce,offset:[4,0]}},Ee=0,Oe={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Be=function(e,t,n){var r=fe(t),i=e.getState();e.setState({defaultActiveFirst:Object(d["a"])(Object(d["a"])({},i.defaultActiveFirst),{},Object(l["a"])({},r,n))})},Me=function(e){Object(_["a"])(n,e);var t=Object(w["a"])(n);function n(e){var r;Object(y["a"])(this,n),r=t.call(this,e),r.onDestroy=function(e){r.props.onDestroy(e)},r.onKeyDown=function(e){var t=e.keyCode,n=r.menuInstance,i=r.props.store,o=r.getVisible();if(t===I["a"].ENTER)return r.onTitleClick(e),Be(i,r.props.eventKey,!0),!0;if(t===I["a"].RIGHT)return o?n.onKeyDown(e):(r.triggerOpenChange(!0),Be(i,r.props.eventKey,!0)),!0;if(t===I["a"].LEFT){var a;if(!o)return;return a=n.onKeyDown(e),a||(r.triggerOpenChange(!1),a=!0),a}return!o||t!==I["a"].UP&&t!==I["a"].DOWN?void 0:n.onKeyDown(e)},r.onOpenChange=function(e){r.props.onOpenChange(e)},r.onPopupVisibleChange=function(e){r.triggerOpenChange(e,e?"mouseenter":"mouseleave")},r.onMouseEnter=function(e){var t=r.props,n=t.eventKey,i=t.onMouseEnter,o=t.store;Be(o,r.props.eventKey,!1),i({key:n,domEvent:e})},r.onMouseLeave=function(e){var t=r.props,n=t.parentMenu,i=t.eventKey,o=t.onMouseLeave;n.subMenuInstance=Object(U["a"])(r),o({key:i,domEvent:e})},r.onTitleMouseEnter=function(e){var t=r.props,n=t.eventKey,i=t.onItemHover,o=t.onTitleMouseEnter;i({key:n,hover:!0}),o({key:n,domEvent:e})},r.onTitleMouseLeave=function(e){var t=r.props,n=t.parentMenu,i=t.eventKey,o=t.onItemHover,a=t.onTitleMouseLeave;n.subMenuInstance=Object(U["a"])(r),o({key:i,hover:!1}),a({key:i,domEvent:e})},r.onTitleClick=function(e){var t=Object(U["a"])(r),n=t.props;n.onTitleClick({key:n.eventKey,domEvent:e}),"hover"!==n.triggerSubMenuAction&&(r.triggerOpenChange(!r.getVisible(),"click"),Be(n.store,r.props.eventKey,!1))},r.onSubMenuClick=function(e){"function"===typeof r.props.onClick&&r.props.onClick(r.addKeyPath(e))},r.onSelect=function(e){r.props.onSelect(e)},r.onDeselect=function(e){r.props.onDeselect(e)},r.getPrefixCls=function(){return"".concat(r.props.rootPrefixCls,"-submenu")},r.getActiveClassName=function(){return"".concat(r.getPrefixCls(),"-active")},r.getDisabledClassName=function(){return"".concat(r.getPrefixCls(),"-disabled")},r.getSelectedClassName=function(){return"".concat(r.getPrefixCls(),"-selected")},r.getOpenClassName=function(){return"".concat(r.props.rootPrefixCls,"-submenu-open")},r.getVisible=function(){return r.state.isOpen},r.getMode=function(){return r.state.mode},r.saveMenuInstance=function(e){r.menuInstance=e},r.addKeyPath=function(e){return Object(d["a"])(Object(d["a"])({},e),{},{keyPath:(e.keyPath||[]).concat(r.props.eventKey)})},r.triggerOpenChange=function(e,t){var n=r.props.eventKey,i=function(){r.onOpenChange({key:n,item:Object(U["a"])(r),trigger:t,open:e})};"mouseenter"===t?r.mouseenterTimeout=setTimeout((function(){i()}),0):i()},r.isChildrenSelected=function(){var e={find:!1};return Ae(r.props.children,r.props.selectedKeys,e),e.find},r.isInlineMode=function(){return"inline"===r.getMode()},r.adjustWidth=function(){if(r.subMenuTitle&&r.menuInstance){var e=be["findDOMNode"](r.menuInstance);e.offsetWidth>=r.subMenuTitle.offsetWidth||(e.style.minWidth="".concat(r.subMenuTitle.offsetWidth,"px"))}},r.saveSubMenuTitle=function(e){r.subMenuTitle=e},r.getBaseProps=function(){var e=Object(U["a"])(r),t=e.props,n=r.getMode();return{mode:"horizontal"===n?"vertical":n,visible:r.getVisible(),level:t.level+1,inlineIndent:t.inlineIndent,focusable:!1,onClick:r.onSubMenuClick,onSelect:r.onSelect,onDeselect:r.onDeselect,onDestroy:r.onDestroy,selectedKeys:t.selectedKeys,eventKey:"".concat(t.eventKey,"-menu-"),openKeys:t.openKeys,motion:t.motion,onOpenChange:r.onOpenChange,subMenuOpenDelay:t.subMenuOpenDelay,parentMenu:Object(U["a"])(r),subMenuCloseDelay:t.subMenuCloseDelay,forceSubMenuRender:t.forceSubMenuRender,triggerSubMenuAction:t.triggerSubMenuAction,builtinPlacements:t.builtinPlacements,defaultActiveFirst:t.store.getState().defaultActiveFirst[fe(t.eventKey)],multiple:t.multiple,prefixCls:t.rootPrefixCls,id:r.internalMenuId,manualRef:r.saveMenuInstance,itemIcon:t.itemIcon,expandIcon:t.expandIcon,direction:t.direction}},r.getMotion=function(e,t){var n=Object(U["a"])(r),i=n.haveRendered,o=r.props,a=o.motion,s=o.rootPrefixCls,l=Object(d["a"])(Object(d["a"])({},a),{},{leavedClassName:"".concat(s,"-hidden"),removeOnLeave:!1,motionAppear:i||!t||"inline"!==e});return l};var i=e.store,o=e.eventKey,a=i.getState(),s=a.defaultActiveFirst;r.isRootMenu=!1;var l=!1;return s&&(l=s[o]),Be(i,o,l),r.state={mode:e.mode,isOpen:e.isOpen},r}return Object(b["a"])(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.mode,r=t.parentMenu,i=t.manualRef,o=t.isOpen,a=function(){e.setState({mode:n,isOpen:o})},s=o!==this.state.isOpen,l=n!==this.state.mode;(l||s)&&(we["a"].cancel(this.updateStateRaf),l?this.updateStateRaf=Object(we["a"])(a):a()),i&&i(this),"horizontal"===n&&(null===r||void 0===r?void 0:r.isRootMenu)&&o&&(this.minWidthTimeout=setTimeout((function(){return e.adjustWidth()}),0))}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.onDestroy,n=e.eventKey;t&&t(n),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),we["a"].cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(e,t){var n=this.getBaseProps();return s["createElement"](ze,Object(R["a"])({},n,{id:this.internalMenuId,className:e,style:t}),this.props.children)}},{key:"renderChildren",value:function(){var e=this,t=this.getBaseProps(),n=t.mode,r=t.visible,i=t.forceSubMenuRender,o=t.direction,a=this.getMotion(n,r);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||r||i,!this.haveOpened)return s["createElement"]("div",null);var c=f()("".concat(t.prefixCls,"-sub"),Object(l["a"])({},"".concat(t.prefixCls,"-rtl"),"rtl"===o));return this.isInlineMode()?s["createElement"](xe["b"],Object(R["a"])({visible:t.visible,forceRender:i},a),(function(t){var n=t.className,r=t.style,i=f()(c,n);return e.renderPopupMenu(i,r)})):this.renderPopupMenu(c)}},{key:"render",value:function(){var e,t,n,r=Object(d["a"])({},this.props),i=this.getVisible(),o=this.getPrefixCls(),a=this.isInlineMode(),c=this.getMode(),u=f()(o,"".concat(o,"-").concat(c),(e={},Object(l["a"])(e,r.className,!!r.className),Object(l["a"])(e,this.getOpenClassName(),i),Object(l["a"])(e,this.getActiveClassName(),r.active||i&&!a),Object(l["a"])(e,this.getDisabledClassName(),r.disabled),Object(l["a"])(e,this.getSelectedClassName(),this.isChildrenSelected()),e));this.internalMenuId||(r.eventKey?this.internalMenuId="".concat(r.eventKey,"$Menu"):(Ee+=1,this.internalMenuId="$__$".concat(Ee,"$Menu")));var h={},p={},A={};r.disabled||(h={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},p={onClick:this.onTitleClick},A={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var g={},m=r.direction,v="rtl"===m;a&&(v?g.paddingRight=r.inlineIndent*r.level:g.paddingLeft=r.inlineIndent*r.level);var y={};this.getVisible()&&(y={"aria-owns":this.internalMenuId});var b=null;"horizontal"!==c&&(b=this.props.expandIcon,"function"===typeof this.props.expandIcon&&(b=s["createElement"](this.props.expandIcon,Object(d["a"])({},this.props))));var _=s["createElement"]("div",Object(R["a"])({ref:this.saveSubMenuTitle,style:g,className:"".concat(o,"-title"),role:"button"},A,p,{"aria-expanded":i},y,{"aria-haspopup":"true",title:"string"===typeof r.title?r.title:void 0}),r.title,b||s["createElement"]("i",{className:"".concat(o,"-arrow")})),w=this.renderChildren(),x=(null===(t=r.parentMenu)||void 0===t?void 0:t.isRootMenu)?r.parentMenu.props.getPopupContainer:function(e){return e.parentNode},C=Oe[c],S=r.popupOffset?{offset:r.popupOffset}:{},k=f()((n={},Object(l["a"])(n,r.popupClassName,r.popupClassName&&!a),Object(l["a"])(n,"".concat(o,"-rtl"),v),n)),E=r.disabled,O=r.triggerSubMenuAction,B=r.subMenuOpenDelay,M=r.forceSubMenuRender,T=r.subMenuCloseDelay,I=r.builtinPlacements;ge.forEach((function(e){return delete r[e]})),delete r.onClick;var L=v?Object(d["a"])(Object(d["a"])({},ke),I):Object(d["a"])(Object(d["a"])({},Se),I);delete r.direction;var D=this.getBaseProps(),P=a?null:this.getMotion(D.mode,D.visible);return s["createElement"]("li",Object(R["a"])({},r,h,{className:u,role:"menuitem"}),s["createElement"](_e["a"],{prefixCls:o,popupClassName:f()("".concat(o,"-popup"),k),getPopupContainer:x,builtinPlacements:L,popupPlacement:C,popupVisible:!a&&i,popupAlign:S,popup:a?null:w,action:E||a?[]:[O],mouseEnterDelay:B,mouseLeaveDelay:T,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:M,popupMotion:P},_),a?w:null)}}]),n}(s["Component"]);Me.defaultProps={onMouseEnter:de,onMouseLeave:de,onTitleMouseEnter:de,onTitleMouseLeave:de,onTitleClick:de,manualRef:de,mode:"vertical",title:""};var Te=Object(H["b"])((function(e,t){var n=e.openKeys,r=e.activeKey,i=e.selectedKeys,o=t.eventKey,a=t.subMenuKey;return{isOpen:n.indexOf(o)>-1,active:r[a]===o,selectedKeys:i}}))(Me);Te.isSubMenu=!0;var Ie=Te,Le="menuitem-overflowed",De=.5,Pe=function(e){Object(_["a"])(n,e);var t=Object(w["a"])(n);function n(){var e;return Object(y["a"])(this,n),e=t.apply(this,arguments),e.resizeObserver=null,e.mutationObserver=null,e.originalTotalWidth=0,e.overflowedItems=[],e.menuItemSizes=[],e.cancelFrameId=null,e.state={lastVisibleIndex:void 0},e.childRef=s["createRef"](),e.getMenuItemNodes=function(){var t=e.props.prefixCls,n=e.childRef.current;return n?[].slice.call(n.children).filter((function(e){return e.className.split(" ").indexOf("".concat(t,"-overflowed-submenu"))<0})):[]},e.getOverflowedSubMenuItem=function(t,n,r){var i=e.props,o=i.overflowedIndicator,a=i.level,l=i.mode,c=i.prefixCls,h=i.theme;if(1!==a||"horizontal"!==l)return null;var f=e.props.children[0],p=f.props,A=(p.children,p.title,p.style),g=Object(u["a"])(p,["children","title","style"]),m=Object(d["a"])({},A),v="".concat(t,"-overflowed-indicator"),y="".concat(t,"-overflowed-indicator");0===n.length&&!0!==r?m=Object(d["a"])(Object(d["a"])({},m),{},{display:"none"}):r&&(m=Object(d["a"])(Object(d["a"])({},m),{},{visibility:"hidden",position:"absolute"}),v="".concat(v,"-placeholder"),y="".concat(y,"-placeholder"));var b=h?"".concat(c,"-").concat(h):"",_={};return ge.forEach((function(e){void 0!==g[e]&&(_[e]=g[e])})),s["createElement"](Ie,Object(R["a"])({title:o,className:"".concat(c,"-overflowed-submenu"),popupClassName:b},_,{key:v,eventKey:y,disabled:!1,style:m}),n)},e.setChildrenWidthAndResize=function(){if("horizontal"===e.props.mode){var t=e.childRef.current;if(t){var n=t.children;if(n&&0!==n.length){var r=t.children[n.length-1];ve(r,"display","inline-block");var i=e.getMenuItemNodes(),o=i.filter((function(e){return e.className.split(" ").indexOf(Le)>=0}));o.forEach((function(e){ve(e,"display","inline-block")})),e.menuItemSizes=i.map((function(e){return me(e,!0)})),o.forEach((function(e){ve(e,"display","none")})),e.overflowedIndicatorWidth=me(t.children[t.children.length-1],!0),e.originalTotalWidth=e.menuItemSizes.reduce((function(e,t){return e+t}),0),e.handleResize(),ve(r,"display","none")}}}},e.handleResize=function(){if("horizontal"===e.props.mode){var t=e.childRef.current;if(t){var n=me(t);e.overflowedItems=[];var r,i=0;e.originalTotalWidth>n+De&&(r=-1,e.menuItemSizes.forEach((function(t){i+=t,i+e.overflowedIndicatorWidth<=n&&(r+=1)}))),e.setState({lastVisibleIndex:r})}}},e}return Object(b["a"])(n,[{key:"componentDidMount",value:function(){var e=this;if(this.setChildrenWidthAndResize(),1===this.props.level&&"horizontal"===this.props.mode){var t=this.childRef.current;if(!t)return;this.resizeObserver=new k["default"]((function(t){t.forEach((function(){var t=e.cancelFrameId;cancelAnimationFrame(t),e.cancelFrameId=requestAnimationFrame(e.setChildrenWidthAndResize)}))})),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),"undefined"!==typeof MutationObserver&&(this.mutationObserver=new MutationObserver((function(){e.resizeObserver.disconnect(),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),e.setChildrenWidthAndResize()})),this.mutationObserver.observe(t,{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(e){var t=this,n=this.state.lastVisibleIndex;return(e||[]).reduce((function(r,i,o){var a=i;if("horizontal"===t.props.mode){var l=t.getOverflowedSubMenuItem(i.props.eventKey,[]);void 0!==n&&-1!==t.props.className.indexOf("".concat(t.props.prefixCls,"-root"))&&(o>n&&(a=s["cloneElement"](i,{style:{display:"none"},eventKey:"".concat(i.props.eventKey,"-hidden"),className:"".concat(Le)})),o===n+1&&(t.overflowedItems=e.slice(n+1).map((function(e){return s["cloneElement"](e,{key:e.props.eventKey,mode:"vertical-left"})})),l=t.getOverflowedSubMenuItem(i.props.eventKey,t.overflowedItems)));var c=[].concat(Object(g["a"])(r),[l,a]);return o===e.length-1&&c.push(t.getOverflowedSubMenuItem(i.props.eventKey,[],!0)),c}return[].concat(Object(g["a"])(r),[a])}),[])}},{key:"render",value:function(){var e=this.props,t=(e.visible,e.prefixCls,e.overflowedIndicator,e.mode,e.level,e.tag),n=e.children,r=(e.theme,Object(u["a"])(e,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"])),i=t;return s["createElement"](i,Object(R["a"])({ref:this.childRef},r),this.renderChildren(n))}}]),n}(s["Component"]);Pe.defaultProps={tag:"div",className:""};var Ne=Pe;function je(e){return!e.length||e.every((function(e){return!!e.props.disabled}))}function Fe(e,t,n){var r=e.getState();e.setState({activeKey:Object(d["a"])(Object(d["a"])({},r.activeKey),{},Object(l["a"])({},t,n))})}function Re(e){return e.eventKey||"0-menu-"}function Ue(e,t){var n,r=t,i=e.children,o=e.eventKey;if(r&&(pe(i,(function(e,t){e&&e.props&&!e.props.disabled&&r===he(e,o,t)&&(n=!0)})),n))return r;return r=null,e.defaultActiveFirst?(pe(i,(function(e,t){r||!e||e.props.disabled||(r=he(e,o,t))})),r):r}function He(e){if(e){var t=this.instanceArray.indexOf(e);-1!==t?this.instanceArray[t]=e:this.instanceArray.push(e)}}var Qe=function(e){Object(_["a"])(n,e);var t=Object(w["a"])(n);function n(e){var r;return Object(y["a"])(this,n),r=t.call(this,e),r.onKeyDown=function(e,t){var n,i=e.keyCode;if(r.getFlatInstanceArray().forEach((function(t){t&&t.props.active&&t.onKeyDown&&(n=t.onKeyDown(e))})),n)return 1;var o=null;return i!==I["a"].UP&&i!==I["a"].DOWN||(o=r.step(i===I["a"].UP?-1:1)),o?(e.preventDefault(),Fe(r.props.store,Re(r.props),o.props.eventKey),"function"===typeof t&&t(o),1):void 0},r.onItemHover=function(e){var t=e.key,n=e.hover;Fe(r.props.store,Re(r.props),n?t:null)},r.onDeselect=function(e){r.props.onDeselect(e)},r.onSelect=function(e){r.props.onSelect(e)},r.onClick=function(e){r.props.onClick(e)},r.onOpenChange=function(e){r.props.onOpenChange(e)},r.onDestroy=function(e){r.props.onDestroy(e)},r.getFlatInstanceArray=function(){return r.instanceArray},r.step=function(e){var t=r.getFlatInstanceArray(),n=r.props.store.getState().activeKey[Re(r.props)],i=t.length;if(!i)return null;e<0&&(t=t.concat().reverse());var o=-1;if(t.every((function(e,t){return!e||e.props.eventKey!==n||(o=t,!1)})),r.props.defaultActiveFirst||-1===o||!je(t.slice(o,i-1))){var a=(o+1)%i,s=a;do{var l=t[s];if(l&&!l.props.disabled)return l;s=(s+1)%i}while(s!==a);return null}},r.renderCommonMenuItem=function(e,t,n){var i=r.props.store.getState(),o=Object(U["a"])(r),a=o.props,l=he(e,a.eventKey,t),c=e.props;if(!c||"string"===typeof e.type)return e;var u=l===i.activeKey,h=Object(d["a"])(Object(d["a"])({mode:c.mode||a.mode,level:a.level,inlineIndent:a.inlineIndent,renderMenuItem:r.renderMenuItem,rootPrefixCls:a.prefixCls,index:t,parentMenu:a.parentMenu,manualRef:c.disabled?void 0:Object(K["a"])(e.ref,He.bind(Object(U["a"])(r))),eventKey:l,active:!c.disabled&&u,multiple:a.multiple,onClick:function(e){(c.onClick||de)(e),r.onClick(e)},onItemHover:r.onItemHover,motion:a.motion,subMenuOpenDelay:a.subMenuOpenDelay,subMenuCloseDelay:a.subMenuCloseDelay,forceSubMenuRender:a.forceSubMenuRender,onOpenChange:r.onOpenChange,onDeselect:r.onDeselect,onSelect:r.onSelect,builtinPlacements:a.builtinPlacements,itemIcon:c.itemIcon||r.props.itemIcon,expandIcon:c.expandIcon||r.props.expandIcon},n),{},{direction:a.direction});return("inline"===a.mode||ye())&&(h.triggerSubMenuAction="click"),s["cloneElement"](e,Object(d["a"])(Object(d["a"])({},h),{},{key:l||t}))},r.renderMenuItem=function(e,t,n){if(!e)return null;var i=r.props.store.getState(),o={openKeys:i.openKeys,selectedKeys:i.selectedKeys,triggerSubMenuAction:r.props.triggerSubMenuAction,subMenuKey:n};return r.renderCommonMenuItem(e,t,o)},e.store.setState({activeKey:Object(d["a"])(Object(d["a"])({},e.store.getState().activeKey),{},Object(l["a"])({},e.eventKey,Ue(e,e.activeKey)))}),r.instanceArray=[],r}return Object(b["a"])(n,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(e){return this.props.visible||e.visible||this.props.className!==e.className||!V()(this.props.style,e.style)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n="activeKey"in t?t.activeKey:t.store.getState().activeKey[Re(t)],r=Ue(t,n);if(r!==n)Fe(t.store,Re(t),r);else if("activeKey"in e){var i=Ue(e,e.activeKey);r!==i&&Fe(t.store,Re(t),r)}}},{key:"render",value:function(){var e=this,t=Object(R["a"])({},this.props);this.instanceArray=[];var n=f()(t.prefixCls,t.className,"".concat(t.prefixCls,"-").concat(t.mode)),r={className:n,role:t.role||"menu"};t.id&&(r.id=t.id),t.focusable&&(r.tabIndex=0,r.onKeyDown=this.onKeyDown);var i=t.prefixCls,o=t.eventKey,a=t.visible,l=t.level,c=t.mode,u=t.overflowedIndicator,d=t.theme;return ge.forEach((function(e){return delete t[e]})),delete t.onClick,s["createElement"](Ne,Object(R["a"])({},t,{prefixCls:i,mode:c,tag:"ul",level:l,theme:d,visible:a,overflowedIndicator:u},r),Object(p["a"])(t.children).map((function(t,n){return e.renderMenuItem(t,n,o||"0-menu-")})))}}]),n}(s["Component"]);Qe.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:de};var Ke=Object(H["b"])()(Qe),ze=Ke;function Ve(e,t,n){var r=e.prefixCls,i=e.motion,o=e.defaultMotions,a=void 0===o?{}:o,s=e.openAnimation,l=e.openTransitionName,c=t.switchingModeFromInline;if(i)return i;if("object"===Object(W["a"])(s)&&s)Object(C["a"])(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if("string"===typeof s)return{motionName:"".concat(r,"-open-").concat(s)};if(l)return{motionName:l};var u=a[n];return u||(c?null:a.other)}var We=function(e){Object(_["a"])(n,e);var t=Object(w["a"])(n);function n(e){var r;Object(y["a"])(this,n),r=t.call(this,e),r.onSelect=function(e){var t=Object(U["a"])(r),n=t.props;if(n.selectable){var i=r.store.getState(),o=i.selectedKeys,a=e.key;o=n.multiple?o.concat([a]):[a],"selectedKeys"in n||r.store.setState({selectedKeys:o}),n.onSelect(Object(d["a"])(Object(d["a"])({},e),{},{selectedKeys:o}))}},r.onClick=function(e){var t=r.getRealMenuMode(),n=Object(U["a"])(r),i=n.store,o=n.props.onOpenChange;"inline"===t||"openKeys"in r.props||(i.setState({openKeys:[]}),o([])),r.props.onClick(e)},r.onKeyDown=function(e,t){r.innerMenu.getWrappedInstance().onKeyDown(e,t)},r.onOpenChange=function(e){var t=Object(U["a"])(r),n=t.props,i=r.store.getState().openKeys.concat(),o=!1,a=function(e){var t=!1;if(e.open)t=-1===i.indexOf(e.key),t&&i.push(e.key);else{var n=i.indexOf(e.key);t=-1!==n,t&&i.splice(n,1)}o=o||t};Array.isArray(e)?e.forEach(a):a(e),o&&("openKeys"in r.props||r.store.setState({openKeys:i}),n.onOpenChange(i))},r.onDeselect=function(e){var t=Object(U["a"])(r),n=t.props;if(n.selectable){var i=r.store.getState().selectedKeys.concat(),o=e.key,a=i.indexOf(o);-1!==a&&i.splice(a,1),"selectedKeys"in n||r.store.setState({selectedKeys:i}),n.onDeselect(Object(d["a"])(Object(d["a"])({},e),{},{selectedKeys:i}))}},r.onMouseEnter=function(e){r.restoreModeVerticalFromInline();var t=r.props.onMouseEnter;t&&t(e)},r.onTransitionEnd=function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,n=e.target.className,i="[object SVGAnimatedString]"===Object.prototype.toString.call(n)?n.animVal:n,o="font-size"===e.propertyName&&i.indexOf("anticon")>=0;(t||o)&&r.restoreModeVerticalFromInline()},r.setInnerMenu=function(e){r.innerMenu=e},r.isRootMenu=!0;var i=e.defaultSelectedKeys,o=e.defaultOpenKeys;return"selectedKeys"in e&&(i=e.selectedKeys||[]),"openKeys"in e&&(o=e.openKeys||[]),r.store=Object(H["c"])({selectedKeys:i,openKeys:o,activeKey:{"0-menu-":Ue(e,e.activeKey)}}),r.state={switchingModeFromInline:!1,prevProps:e,inlineOpenKeys:[],store:r.store},r}return Object(b["a"])(n,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.siderCollapsed,r=t.inlineCollapsed,i=t.onOpenChange;(!e.inlineCollapsed&&r||!e.siderCollapsed&&n)&&i([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var e=this.props.collapsedWidth,t=this.store,n=this.prevOpenKeys,r=this.getInlineCollapsed()&&(0===e||"0"===e||"0px"===e);r?(this.prevOpenKeys=t.getState().openKeys.concat(),this.store.setState({openKeys:[]})):n&&(this.store.setState({openKeys:n}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var e=this.props.mode,t=this.state.switchingModeFromInline,n=this.getInlineCollapsed();return t&&n?"inline":n?"vertical":e}},{key:"getInlineCollapsed",value:function(){var e=this.props,t=e.inlineCollapsed,n=e.siderCollapsed;return void 0!==n?n:t}},{key:"restoreModeVerticalFromInline",value:function(){var e=this.state.switchingModeFromInline;e&&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 e=Object(d["a"])({},Object(Q["a"])(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),t=this.getRealMenuMode();return e.className+=" ".concat(e.prefixCls,"-root"),"rtl"===e.direction&&(e.className+=" ".concat(e.prefixCls,"-rtl")),e=Object(d["a"])(Object(d["a"])({},e),{},{mode:t,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Ve(this.props,this.state,t)}),delete e.openAnimation,delete e.openTransitionName,s["createElement"](H["a"],{store:this.store},s["createElement"](ze,Object(R["a"])({},e,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.store,i=r.getState(),o={},a={prevProps:e};return"inline"===n.mode&&"inline"!==e.mode&&(a.switchingModeFromInline=!0),"openKeys"in e?o.openKeys=e.openKeys||[]:((e.inlineCollapsed&&!n.inlineCollapsed||e.siderCollapsed&&!n.siderCollapsed)&&(a.switchingModeFromInline=!0,a.inlineOpenKeys=i.openKeys,o.openKeys=[]),(!e.inlineCollapsed&&n.inlineCollapsed||!e.siderCollapsed&&n.siderCollapsed)&&(o.openKeys=t.inlineOpenKeys,a.inlineOpenKeys=[])),Object.keys(o).length&&r.setState(o),a}}]),n}(s["Component"]);We.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:s["createElement"]("span",null,"\xb7\xb7\xb7")};var Ge=We,Xe=function(e){Object(_["a"])(n,e);var t=Object(w["a"])(n);function n(){var e;return Object(y["a"])(this,n),e=t.apply(this,arguments),e.onKeyDown=function(t){var n=t.keyCode;if(n===I["a"].ENTER)return e.onClick(t),!0},e.onMouseLeave=function(t){var n=e.props,r=n.eventKey,i=n.onItemHover,o=n.onMouseLeave;i({key:r,hover:!1}),o({key:r,domEvent:t})},e.onMouseEnter=function(t){var n=e.props,r=n.eventKey,i=n.onItemHover,o=n.onMouseEnter;i({key:r,hover:!0}),o({key:r,domEvent:t})},e.onClick=function(t){var n=e.props,r=n.eventKey,i=n.multiple,o=n.onClick,a=n.onSelect,s=n.onDeselect,l=n.isSelected,c={key:r,keyPath:[r],item:Object(U["a"])(e),domEvent:t};o(c),i?l?s(c):a(c):l||a(c)},e.saveNode=function(t){e.node=t},e}return Object(b["a"])(n,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var e=this.props;e.onDestroy&&e.onDestroy(e.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 e,t=Object(d["a"])({},this.props),n=f()(this.getPrefixCls(),t.className,(e={},Object(l["a"])(e,this.getActiveClassName(),!t.disabled&&t.active),Object(l["a"])(e,this.getSelectedClassName(),t.isSelected),Object(l["a"])(e,this.getDisabledClassName(),t.disabled),e)),r=Object(d["a"])(Object(d["a"])({},t.attribute),{},{title:"string"===typeof t.title?t.title:void 0,className:n,role:t.role||"menuitem","aria-disabled":t.disabled});"option"===t.role?r=Object(d["a"])(Object(d["a"])({},r),{},{role:"option","aria-selected":t.isSelected}):null!==t.role&&"none"!==t.role||(r.role="none");var i={onClick:t.disabled?null:this.onClick,onMouseLeave:t.disabled?null:this.onMouseLeave,onMouseEnter:t.disabled?null:this.onMouseEnter},o=Object(d["a"])({},t.style);"inline"===t.mode&&("rtl"===t.direction?o.paddingRight=t.inlineIndent*t.level:o.paddingLeft=t.inlineIndent*t.level),ge.forEach((function(e){return delete t[e]})),delete t.direction;var a=this.props.itemIcon;return"function"===typeof this.props.itemIcon&&(a=s["createElement"](this.props.itemIcon,this.props)),s["createElement"]("li",Object(R["a"])({},Object(Q["a"])(t,["onClick","onMouseEnter","onMouseLeave","onSelect"]),r,i,{style:o,ref:this.saveNode}),t.children,a)}}]),n}(s["Component"]);Xe.isMenuItem=!0,Xe.defaultProps={onSelect:de,onMouseEnter:de,onMouseLeave:de,manualRef:de};var qe=Object(H["b"])((function(e,t){var n=e.activeKey,r=e.selectedKeys,i=t.eventKey,o=t.subMenuKey;return{active:n[o]===i,isSelected:Array.isArray(r)?-1!==r.indexOf(i):r===i}}))(Xe),Ye=qe,Ze=function(e){Object(_["a"])(n,e);var t=Object(w["a"])(n);function n(){var e;return Object(y["a"])(this,n),e=t.apply(this,arguments),e.renderInnerMenuItem=function(t){var n=e.props,r=n.renderMenuItem,i=n.index;return r(t,i,e.props.subMenuKey)},e}return Object(b["a"])(n,[{key:"render",value:function(){var e=Object(R["a"])({},this.props),t=e.className,n=void 0===t?"":t,r=e.rootPrefixCls,i="".concat(r,"-item-group-title"),o="".concat(r,"-item-group-list"),a=e.title,l=e.children;return ge.forEach((function(t){return delete e[t]})),delete e.direction,s["createElement"]("li",Object(R["a"])({},e,{onClick:function(e){return e.stopPropagation()},className:"".concat(n," ").concat(r,"-item-group")}),s["createElement"]("div",{className:i,title:"string"===typeof a?a:void 0},a),s["createElement"]("ul",{className:o},s["Children"].map(l,this.renderInnerMenuItem)))}}]),n}(s["Component"]);Ze.isMenuItemGroup=!0,Ze.defaultProps={disabled:!0};var Je=function(e){var t=e.className,n=e.rootPrefixCls,r=e.style;return s["createElement"]("li",{className:"".concat(t," ").concat(n,"-item-divider"),style:r})};Je.defaultProps={disabled:!0,className:"",style:{}};var $e=Ge,et={adjustX:1,adjustY:1},tt=[0,0],nt={topLeft:{points:["bl","tl"],overflow:et,offset:[0,-4],targetOffset:tt},topCenter:{points:["bc","tc"],overflow:et,offset:[0,-4],targetOffset:tt},topRight:{points:["br","tr"],overflow:et,offset:[0,-4],targetOffset:tt},bottomLeft:{points:["tl","bl"],overflow:et,offset:[0,4],targetOffset:tt},bottomCenter:{points:["tc","bc"],overflow:et,offset:[0,4],targetOffset:tt},bottomRight:{points:["tr","br"],overflow:et,offset:[0,4],targetOffset:tt}},rt=nt,it=I["a"].ESC,ot=I["a"].TAB;function at(e){var t=e.visible,n=e.setTriggerVisible,r=e.triggerRef,i=e.menuRef,o=e.onVisibleChange,a=e.autoFocus,l=s["useRef"](!1),c=function(){var e,i,a,s;t&&r.current&&(null===(e=r.current)||void 0===e||null===(i=e.triggerRef)||void 0===i||null===(a=i.current)||void 0===a||null===(s=a.focus)||void 0===s||s.call(a),n(!1),"function"===typeof o&&o(!1))},u=function(){var e,t;null===(e=i.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e),l.current=!0},d=function(e){var t;switch(e.keyCode){case it:c();break;case ot:!l.current&&(null===(t=i.current)||void 0===t?void 0:t.focus)?(e.preventDefault(),u()):c();break}};s["useEffect"]((function(){return t?(window.addEventListener("keydown",d),a&&Object(we["a"])(u,3),function(){window.removeEventListener("keydown",d),l.current=!1}):function(){l.current=!1}}),[t])}var st=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function lt(e,t){var n=e.arrow,r=void 0!==n&&n,i=e.prefixCls,o=void 0===i?"rc-dropdown":i,a=e.transitionName,h=e.animation,p=e.align,A=e.placement,g=void 0===A?"bottomLeft":A,m=e.placements,v=void 0===m?rt:m,y=e.getPopupContainer,b=e.showAction,_=e.hideAction,w=e.overlayClassName,x=e.overlayStyle,C=e.visible,k=e.trigger,E=void 0===k?["hover"]:k,O=e.autoFocus,B=Object(u["a"])(e,st),M=s["useState"](),T=Object(c["a"])(M,2),I=T[0],L=T[1],D="visible"in e?C:I,P=s["useRef"](null);s["useImperativeHandle"](t,(function(){return P.current}));var N=s["useRef"](null),j="".concat(o,"-menu");at({visible:D,setTriggerVisible:L,triggerRef:P,menuRef:N,onVisibleChange:e.onVisibleChange,autoFocus:O});var F=function(){var t,n=e.overlay;return t="function"===typeof n?n():n,t},R=function(t){var n=e.onOverlayClick,r=F().props;L(!1),n&&n(t),r.onClick&&r.onClick(t)},U=function(t){var n=e.onVisibleChange;L(t),"function"===typeof n&&n(t)},H=function(){var e,t=F(),n=Object(S["a"])(N,t.ref),i=(e={prefixCls:j},Object(l["a"])(e,"data-dropdown-inject",!0),Object(l["a"])(e,"onClick",R),Object(l["a"])(e,"ref",Object(S["c"])(t)?n:void 0),e);return"string"===typeof t.type&&(delete i.prefixCls,delete i["data-dropdown-inject"]),s["createElement"](s["Fragment"],null,r&&s["createElement"]("div",{className:"".concat(o,"-arrow")}),s["cloneElement"](t,i))},Q=function(){var t=e.overlay;return"function"===typeof t?H:H()},K=function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n},z=function(){var t=e.openClassName;return void 0!==t?t:"".concat(o,"-open")},V=function(){var t=e.children,n=t.props?t.props:{},r=f()(n.className,z());return D&&t?s["cloneElement"](t,{className:r}):t},W=_;return W||-1===E.indexOf("contextMenu")||(W=["click"]),s["createElement"](_e["a"],Object(d["a"])(Object(d["a"])({builtinPlacements:v},B),{},{prefixCls:o,ref:P,popupClassName:f()(w,Object(l["a"])({},"".concat(o,"-show-arrow"),r)),popupStyle:x,action:E,showAction:b,hideAction:W||[],popupPlacement:g,popupAlign:p,popupTransitionName:a,popupAnimation:h,popupVisible:D,stretch:K()?"minWidth":"",popup:Q(),onPopupVisibleChange:U,getPopupContainer:y}),V())}var ct=s["forwardRef"](lt),ut=ct;function dt(e,t){var n=e.prefixCls,r=e.editable,i=e.locale,o=e.style;return r&&!1!==r.showAdd?s["createElement"]("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(null===i||void 0===i?void 0:i.addAriaLabel)||"Add tab",onClick:function(e){r.onEdit("add",{event:e})}},r.addIcon||"+"):null}var ht=s["forwardRef"](dt);function ft(e,t){var n=e.prefixCls,r=e.id,i=e.tabs,o=e.locale,a=e.mobile,u=e.moreIcon,d=void 0===u?"More":u,h=e.moreTransitionName,p=e.style,A=e.className,g=e.editable,m=e.tabBarGutter,v=e.rtl,y=e.onTabClick,b=Object(s["useState"])(!1),_=Object(c["a"])(b,2),w=_[0],x=_[1],C=Object(s["useState"])(null),S=Object(c["a"])(C,2),k=S[0],E=S[1],O="".concat(r,"-more-popup"),B="".concat(n,"-dropdown"),M=null!==k?"".concat(O,"-").concat(k):null,T=null===o||void 0===o?void 0:o.dropdownAriaLabel,L=s["createElement"]($e,{onClick:function(e){var t=e.key,n=e.domEvent;y(t,n),x(!1)},id:O,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[k],"aria-label":void 0!==T?T:"expanded dropdown"},i.map((function(e){return s["createElement"](Ye,{key:e.key,id:"".concat(O,"-").concat(e.key),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(e.key),disabled:e.disabled},e.tab)})));function D(e){for(var t=i.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===k}))||0,r=t.length,o=0;o<r;o+=1){n=(n+e+r)%r;var a=t[n];if(!a.disabled)return void E(a.key)}}function P(e){var t=e.which;if(w)switch(t){case I["a"].UP:D(-1),e.preventDefault();break;case I["a"].DOWN:D(1),e.preventDefault();break;case I["a"].ESC:x(!1);break;case I["a"].SPACE:case I["a"].ENTER:null!==k&&y(k,e);break}else[I["a"].DOWN,I["a"].SPACE,I["a"].ENTER].includes(t)&&(x(!0),e.preventDefault())}Object(s["useEffect"])((function(){var e=document.getElementById(M);e&&e.scrollIntoView&&e.scrollIntoView(!1)}),[k]),Object(s["useEffect"])((function(){w||E(null)}),[w]);var N=Object(l["a"])({},v?"marginLeft":"marginRight",m);i.length||(N.visibility="hidden",N.order=1);var j=f()(Object(l["a"])({},"".concat(B,"-rtl"),v)),F=a?null:s["createElement"](ut,{prefixCls:B,overlay:L,trigger:["hover"],visible:w,transitionName:h,onVisibleChange:x,overlayClassName:j,mouseEnterDelay:.1,mouseLeaveDelay:.1},s["createElement"]("button",{type:"button",className:"".concat(n,"-nav-more"),style:N,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":O,id:"".concat(r,"-more"),"aria-expanded":w,onKeyDown:P},d));return s["createElement"]("div",{className:f()("".concat(n,"-nav-operations"),A),style:p,ref:t},F,s["createElement"](ht,{prefixCls:n,locale:o,editable:g}))}var pt=s["forwardRef"](ft),At=Object(s["createContext"])(null),gt=.1,mt=.01,vt=20,yt=Math.pow(.995,vt);function bt(){var e=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.substr(0,4)))}function _t(e,t){var n=Object(s["useState"])(),r=Object(c["a"])(n,2),i=r[0],o=r[1],a=Object(s["useState"])(0),l=Object(c["a"])(a,2),u=l[0],d=l[1],h=Object(s["useState"])(0),f=Object(c["a"])(h,2),p=f[0],A=f[1],g=Object(s["useState"])(),m=Object(c["a"])(g,2),v=m[0],y=m[1],b=Object(s["useRef"])();function _(e){var t=e.touches[0],n=t.screenX,r=t.screenY;o({x:n,y:r}),window.clearInterval(b.current)}function w(e){if(i){e.preventDefault();var n=e.touches[0],r=n.screenX,a=n.screenY;o({x:r,y:a});var s=r-i.x,l=a-i.y;t(s,l);var c=Date.now();d(c),A(c-u),y({x:s,y:l})}}function x(){if(i&&(o(null),y(null),v)){var e=v.x/p,n=v.y/p,r=Math.abs(e),a=Math.abs(n);if(Math.max(r,a)<gt)return;var s=e,l=n;b.current=window.setInterval((function(){Math.abs(s)<mt&&Math.abs(l)<mt?window.clearInterval(b.current):(s*=yt,l*=yt,t(s*vt,l*vt))}),vt)}}var C=Object(s["useRef"])(0),S=Object(s["useRef"])(!1),k=Object(s["useRef"])();function E(e){var n=e.deltaX,r=e.deltaY,i=0,o=Math.abs(n),a=Math.abs(r);o===a?i="x"===k.current?n:r:o>a?(i=n,k.current="x"):(i=r,k.current="y");var s=Date.now();s-C.current>100&&(S.current=!1),(t(-i,-i)||S.current)&&(e.preventDefault(),S.current=!0),C.current=s}var O=Object(s["useRef"])(null);O.current={onTouchStart:_,onTouchMove:w,onTouchEnd:x,onWheel:E},s["useEffect"]((function(){function t(e){O.current.onTouchStart(e)}function n(e){O.current.onTouchMove(e)}function r(e){O.current.onTouchEnd(e)}function i(e){O.current.onWheel(e)}return document.addEventListener("touchmove",n,{passive:!1}),document.addEventListener("touchend",r,{passive:!1}),e.current.addEventListener("touchstart",t,{passive:!1}),e.current.addEventListener("wheel",i),function(){document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r)}}),[])}function wt(){var e=Object(s["useRef"])(new Map);function t(t){return e.current.has(t)||e.current.set(t,s["createRef"]()),e.current.get(t)}function n(t){e.current["delete"](t)}return[t,n]}function xt(e,t){var n=s["useRef"](e),r=s["useState"]({}),i=Object(c["a"])(r,2),o=i[1];function a(e){var r="function"===typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,o({})}return[n.current,a]}var Ct=function(e){var t,n=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var o=i;return"right"===n&&(t=o.right||!o.left&&o||null),"left"===n&&(t=o.left||null),t?s["createElement"]("div",{className:"".concat(r,"-extra-content")},t):null};function St(e,t){var n,r=s["useContext"](At),i=r.prefixCls,o=r.tabs,a=e.className,u=e.style,h=e.id,p=e.animated,A=e.activeKey,m=e.rtl,y=e.extra,b=e.editable,_=e.locale,w=e.tabPosition,x=e.tabBarGutter,C=e.children,S=e.onTabClick,k=e.onTabScroll,E=Object(s["useRef"])(),O=Object(s["useRef"])(),I=Object(s["useRef"])(),L=Object(s["useRef"])(),P=wt(),j=Object(c["a"])(P,2),R=j[0],U=j[1],H="top"===w||"bottom"===w,Q=xt(0,(function(e,t){H&&k&&k({direction:e>t?"left":"right"})})),K=Object(c["a"])(Q,2),z=K[0],V=K[1],W=xt(0,(function(e,t){!H&&k&&k({direction:e>t?"top":"bottom"})})),G=Object(c["a"])(W,2),X=G[0],q=G[1],Y=Object(s["useState"])(0),Z=Object(c["a"])(Y,2),J=Z[0],$=Z[1],ee=Object(s["useState"])(0),te=Object(c["a"])(ee,2),ne=te[0],re=te[1],ie=Object(s["useState"])(0),oe=Object(c["a"])(ie,2),ae=oe[0],se=oe[1],le=Object(s["useState"])(0),ce=Object(c["a"])(le,2),ue=ce[0],de=ce[1],he=Object(s["useState"])(null),fe=Object(c["a"])(he,2),pe=fe[0],Ae=fe[1],ge=Object(s["useState"])(null),me=Object(c["a"])(ge,2),ve=me[0],ye=me[1],be=Object(s["useState"])(0),_e=Object(c["a"])(be,2),we=_e[0],xe=_e[1],Ce=Object(s["useState"])(0),Se=Object(c["a"])(Ce,2),ke=Se[0],Ee=Se[1],Oe=T(new Map),Be=Object(c["a"])(Oe,2),Me=Be[0],Te=Be[1],Ie=N(o,Me,J),Le="".concat(i,"-nav-operations-hidden"),De=0,Pe=0;function Ne(e){return e<De?[De,!1]:e>Pe?[Pe,!1]:[e,!0]}H?m?(De=0,Pe=Math.max(0,J-pe)):(De=Math.min(0,pe-J),Pe=0):(De=Math.min(0,ve-ne),Pe=0);var je=Object(s["useRef"])(),Fe=Object(s["useState"])(),Re=Object(c["a"])(Fe,2),Ue=Re[0],He=Re[1];function Qe(){He(Date.now())}function Ke(){window.clearTimeout(je.current)}function ze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A,t=Ie.get(e);if(t)if(H){var n=z;m?t.right<z?n=t.right:t.right+t.width>z+pe&&(n=t.right+t.width-pe):t.left<-z?n=-t.left:t.left+t.width>-z+pe&&(n=-(t.left+t.width-pe)),q(0),V(Ne(n)[0])}else{var r=X;t.top<-X?r=-t.top:t.top+t.height>-X+ve&&(r=-(t.top+t.height-ve)),V(0),q(Ne(r)[0])}}_t(E,(function(e,t){var n=!1;function r(e,t){e((function(e){var r=Ne(e+t),i=Object(c["a"])(r,2),o=i[0],a=i[1];return n=a,o}))}if(H){if(pe>=J)return n;r(V,e)}else{if(ve>=ne)return n;r(q,t)}return Ke(),Qe(),n})),Object(s["useEffect"])((function(){return Ke(),Ue&&(je.current=window.setTimeout((function(){He(0)}),100)),Ke}),[Ue]);var Ve=F(Ie,{width:pe,height:ve,left:z,top:X},{width:ae,height:ue},{width:we,height:ke},Object(d["a"])(Object(d["a"])({},e),{},{tabs:o})),We=Object(c["a"])(Ve,2),Ge=We[0],Xe=We[1],qe=o.map((function(e){var t=e.key;return s["createElement"](D,{id:h,prefixCls:i,key:t,rtl:m,tab:e,closable:e.closable,editable:b,active:t===A,tabPosition:w,tabBarGutter:x,renderWrapper:C,removeAriaLabel:null===_||void 0===_?void 0:_.removeAriaLabel,ref:R(t),onClick:function(e){S(t,e)},onRemove:function(){U(t)},onFocus:function(){ze(t),Qe(),m||(E.current.scrollLeft=0),E.current.scrollTop=0}})})),Ye=M((function(){var e,t,n,r,i,a,s,l,c,u=(null===(e=E.current)||void 0===e?void 0:e.offsetWidth)||0,d=(null===(t=E.current)||void 0===t?void 0:t.offsetHeight)||0,h=(null===(n=L.current)||void 0===n?void 0:n.offsetWidth)||0,f=(null===(r=L.current)||void 0===r?void 0:r.offsetHeight)||0,p=(null===(i=I.current)||void 0===i?void 0:i.offsetWidth)||0,A=(null===(a=I.current)||void 0===a?void 0:a.offsetHeight)||0;Ae(u),ye(d),xe(h),Ee(f);var g=((null===(s=O.current)||void 0===s?void 0:s.offsetWidth)||0)-h,m=((null===(l=O.current)||void 0===l?void 0:l.offsetHeight)||0)-f;$(g),re(m);var v=null===(c=I.current)||void 0===c?void 0:c.className.includes(Le);se(g-(v?0:p)),de(m-(v?0:A)),Te((function(){var e=new Map;return o.forEach((function(t){var n=t.key,r=R(n).current;r&&e.set(n,{width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,top:r.offsetTop})})),e}))})),Ze=o.slice(0,Ge),Je=o.slice(Xe+1),$e=[].concat(Object(g["a"])(Ze),Object(g["a"])(Je)),et=Object(s["useState"])(),tt=Object(c["a"])(et,2),nt=tt[0],rt=tt[1],it=Ie.get(A),ot=Object(s["useRef"])();function at(){v.a.cancel(ot.current)}Object(s["useEffect"])((function(){var e={};return it&&(H?(m?e.right=it.right:e.left=it.left,e.width=it.width):(e.top=it.top,e.height=it.height)),at(),ot.current=v()((function(){rt(e)})),at}),[it,H,m]),Object(s["useEffect"])((function(){ze()}),[A,it,Ie,H]),Object(s["useEffect"])((function(){Ye()}),[m,x,A,o.map((function(e){return e.key})).join("_")]);var st,lt,ct,ut,dt=!!$e.length,ft="".concat(i,"-nav-wrap");return H?m?(lt=z>0,st=z+pe<J):(st=z<0,lt=-z+pe<J):(ct=X<0,ut=-X+ve<ne),s["createElement"]("div",{ref:t,role:"tablist",className:f()("".concat(i,"-nav"),a),style:u,onKeyDown:function(){Qe()}},s["createElement"](Ct,{position:"left",extra:y,prefixCls:i}),s["createElement"](B,{onResize:Ye},s["createElement"]("div",{className:f()(ft,(n={},Object(l["a"])(n,"".concat(ft,"-ping-left"),st),Object(l["a"])(n,"".concat(ft,"-ping-right"),lt),Object(l["a"])(n,"".concat(ft,"-ping-top"),ct),Object(l["a"])(n,"".concat(ft,"-ping-bottom"),ut),n)),ref:E},s["createElement"](B,{onResize:Ye},s["createElement"]("div",{ref:O,className:"".concat(i,"-nav-list"),style:{transform:"translate(".concat(z,"px, ").concat(X,"px)"),transition:Ue?"none":void 0}},qe,s["createElement"](ht,{ref:L,prefixCls:i,locale:_,editable:b,style:{visibility:dt?"hidden":null}}),s["createElement"]("div",{className:f()("".concat(i,"-ink-bar"),Object(l["a"])({},"".concat(i,"-ink-bar-animated"),p.inkBar)),style:nt}))))),s["createElement"](pt,Object.assign({},e,{ref:I,prefixCls:i,tabs:$e,className:!dt&&Le})),s["createElement"](Ct,{position:"right",extra:y,prefixCls:i}))}var kt=s["forwardRef"](St);function Et(e){var t=e.id,n=e.activeKey,r=e.animated,i=e.tabPosition,o=e.rtl,a=e.destroyInactiveTabPane,c=s["useContext"](At),u=c.prefixCls,d=c.tabs,h=r.tabPane,p=d.findIndex((function(e){return e.key===n}));return s["createElement"]("div",{className:f()("".concat(u,"-content-holder"))},s["createElement"]("div",{className:f()("".concat(u,"-content"),"".concat(u,"-content-").concat(i),Object(l["a"])({},"".concat(u,"-content-animated"),h)),style:p&&h?Object(l["a"])({},o?"marginRight":"marginLeft","-".concat(p,"00%")):null},d.map((function(e){return s["cloneElement"](e.node,{key:e.key,prefixCls:u,tabKey:e.key,id:t,animated:h,active:e.key===n,destroyInactiveTabPane:a})}))))}function Ot(e){var t=e.prefixCls,n=e.forceRender,r=e.className,i=e.style,o=e.id,a=e.active,l=e.animated,u=e.destroyInactiveTabPane,h=e.tabKey,p=e.children,A=s["useState"](n),g=Object(c["a"])(A,2),m=g[0],v=g[1];s["useEffect"]((function(){a?v(!0):u&&v(!1)}),[a,u]);var y={};return a||(l?(y.visibility="hidden",y.height=0,y.overflowY="hidden"):y.display="none"),s["createElement"]("div",{id:o&&"".concat(o,"-panel-").concat(h),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(h),"aria-hidden":!a,style:Object(d["a"])(Object(d["a"])({},y),i),className:f()("".concat(t,"-tabpane"),a&&"".concat(t,"-tabpane-active"),r)},(a||m||n)&&p)}var Bt=0;function Mt(e){return Object(p["a"])(e).map((function(e){if(s["isValidElement"](e)){var t=void 0!==e.key?String(e.key):void 0;return Object(d["a"])(Object(d["a"])({key:t},e.props),{},{node:e})}return null})).filter((function(e){return e}))}function Tt(e,t){var n,r,i=e.id,o=e.prefixCls,a=void 0===o?"rc-tabs":o,h=e.className,p=e.children,g=e.direction,m=e.activeKey,v=e.defaultActiveKey,y=e.editable,b=e.animated,_=e.tabPosition,w=void 0===_?"top":_,x=e.tabBarGutter,C=e.tabBarStyle,S=e.tabBarExtraContent,k=e.locale,E=e.moreIcon,O=e.moreTransitionName,B=e.destroyInactiveTabPane,M=e.renderTabBar,T=e.onChange,I=e.onTabClick,L=e.onTabScroll,D=Object(u["a"])(e,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),P=Mt(p),N="rtl"===g;r=!1===b?{inkBar:!1,tabPane:!1}:Object(d["a"])({inkBar:!0,tabPane:!1},!0!==b?b:null);var j=Object(s["useState"])(!1),F=Object(c["a"])(j,2),R=F[0],U=F[1];Object(s["useEffect"])((function(){U(bt())}),[]);var H=Object(A["a"])((function(){var e;return null===(e=P[0])||void 0===e?void 0:e.key}),{value:m,defaultValue:v}),Q=Object(c["a"])(H,2),K=Q[0],z=Q[1],V=Object(s["useState"])((function(){return P.findIndex((function(e){return e.key===K}))})),W=Object(c["a"])(V,2),G=W[0],X=W[1];Object(s["useEffect"])((function(){var e,t=P.findIndex((function(e){return e.key===K}));-1===t&&(t=Math.max(0,Math.min(G,P.length-1)),z(null===(e=P[t])||void 0===e?void 0:e.key));X(t)}),[P.map((function(e){return e.key})).join("_"),K,G]);var q=Object(A["a"])(null,{value:i}),Y=Object(c["a"])(q,2),Z=Y[0],J=Y[1],$=w;function ee(e,t){null===I||void 0===I||I(e,t),z(e),null===T||void 0===T||T(e)}R&&!["left","right"].includes(w)&&($="top"),Object(s["useEffect"])((function(){i||(J("rc-tabs-".concat(Bt)),Bt+=1)}),[]);var te,ne={id:Z,activeKey:K,animated:r,tabPosition:$,rtl:N,mobile:R},re=Object(d["a"])(Object(d["a"])({},ne),{},{editable:y,locale:k,moreIcon:E,moreTransitionName:O,tabBarGutter:x,onTabClick:ee,onTabScroll:L,extra:S,style:C,panes:p});return te=M?M(re,kt):s["createElement"](kt,Object.assign({},re)),s["createElement"](At.Provider,{value:{tabs:P,prefixCls:a}},s["createElement"]("div",Object.assign({ref:t,id:i,className:f()(a,"".concat(a,"-").concat($),(n={},Object(l["a"])(n,"".concat(a,"-mobile"),R),Object(l["a"])(n,"".concat(a,"-editable"),y),Object(l["a"])(n,"".concat(a,"-rtl"),N),n),h)},D),te,s["createElement"](Et,Object.assign({destroyInactiveTabPane:B},ne,{animated:r}))))}var It=s["forwardRef"](Tt);It.TabPane=Ot;var Lt=It,Dt=Lt,Pt=n("cCPh"),Nt=n.n(Pt),jt=n("fNCr"),Ft=n.n(jt),Rt=n("V/uB"),Ut=n.n(Rt),Ht=n("uaoM"),Qt=n("H84U"),Kt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function zt(e){var t,n,r=e.type,o=e.className,l=e.size,c=e.onEdit,u=e.hideAdd,d=e.centered,h=e.addIcon,p=Kt(e,["type","className","size","onEdit","hideAdd","centered","addIcon"]),A=p.prefixCls,g=s["useContext"](Qt["b"]),m=g.getPrefixCls,v=g.direction,y=m("tabs",A);return"editable-card"===r&&(n={onEdit:function(e,t){var n=t.key,r=t.event;null===c||void 0===c||c("add"===e?r:n,e)},removeIcon:s["createElement"](Ut.a,null),addIcon:h||s["createElement"](Ft.a,null),showAdd:!0!==u}),Object(Ht["a"])(!("onPrevClick"in p)&&!("onNextClick"in p),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),s["createElement"](Dt,i()({direction:v},p,{moreTransitionName:"slide-up",className:f()(o,(t={},a()(t,"".concat(y,"-").concat(l),l),a()(t,"".concat(y,"-card"),["card","editable-card"].includes(r)),a()(t,"".concat(y,"-editable-card"),"editable-card"===r),a()(t,"".concat(y,"-centered"),d),t)),editable:n,moreIcon:s["createElement"](Nt.a,null),prefixCls:y}))}zt.TabPane=Ot;t["a"]=zt},ZTW2:function(e,t,n){},ZWlE:function(e,t,n){var r=n("bYtY"),i=n("4NO4");function o(e){a(e),s(e)}function a(e){if(!e.parallel){var t=!1;r.each(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function s(e){var t=i.normalizeToArray(e.parallelAxis);r.each(t,(function(t){if(r.isObject(t)){var n=t.parallelIndex||0,o=i.normalizeToArray(e.parallel)[n];o&&o.parallelAxisDefault&&r.merge(t,o.parallelAxisDefault,!1)}}))}e.exports=o},ZX9x:function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return D}));var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("7W2i"),h=n.n(d),f=n("LQ03"),p=n.n(f),A=n("q1tI"),g=n("TSYQ"),m=n.n(g),v=n("BGR+"),y=n("T1rO"),b=n.n(y),_=n("fEPi"),w=n.n(_),x=n("DFhj"),C=n.n(x),S=n("PKem"),k=n("H84U"),E=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},O=E,B=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},M={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},T=A["createContext"]({}),I=function(){var e=0;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}}(),L=function(e){h()(n,e);var t=p()(n);function n(e){var r,o,s;return l()(this,n),r=t.call(this,e),r.responsiveHandler=function(e){r.setState({below:e.matches});var t=r.props.onBreakpoint,n=r.state.collapsed;t&&t(e.matches),n!==e.matches&&r.setCollapsed(e.matches,"responsive")},r.setCollapsed=function(e,t){"collapsed"in r.props||r.setState({collapsed:e});var n=r.props.onCollapse;n&&n(e,t)},r.toggle=function(){var e=!r.state.collapsed;r.setCollapsed(e,"clickTrigger")},r.renderSider=function(e){var t,n=e.getPrefixCls,o=r.props,s=o.prefixCls,l=o.className,c=o.theme,u=o.collapsible,d=o.reverseArrow,h=o.trigger,f=o.style,p=o.width,g=o.collapsedWidth,y=o.zeroWidthTriggerStyle,_=o.children,x=B(o,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),S=r.state,k=S.collapsed,E=S.below,M=n("layout-sider",s),T=Object(v["default"])(x,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),I=k?g:p,L=O(I)?"".concat(I,"px"):String(I),D=0===parseFloat(String(g||0))?A["createElement"]("span",{onClick:r.toggle,className:m()("".concat(M,"-zero-width-trigger"),"".concat(M,"-zero-width-trigger-").concat(d?"right":"left")),style:y},h||A["createElement"](b.a,null)):null,P={expanded:d?A["createElement"](w.a,null):A["createElement"](C.a,null),collapsed:d?A["createElement"](C.a,null):A["createElement"](w.a,null)},N=k?"collapsed":"expanded",j=P[N],F=null!==h?D||A["createElement"]("div",{className:"".concat(M,"-trigger"),onClick:r.toggle,style:{width:L}},h||j):null,R=a()(a()({},f),{flex:"0 0 ".concat(L),maxWidth:L,minWidth:L,width:L}),U=m()(l,M,"".concat(M,"-").concat(c),(t={},i()(t,"".concat(M,"-collapsed"),!!k),i()(t,"".concat(M,"-has-trigger"),u&&null!==h&&!D),i()(t,"".concat(M,"-below"),!!E),i()(t,"".concat(M,"-zero-width"),0===parseFloat(L)),t));return A["createElement"]("aside",a()({className:U},T,{style:R}),A["createElement"]("div",{className:"".concat(M,"-children")},_),u||E&&D?F:null)},r.uniqueId=I("ant-sider-"),"undefined"!==typeof window&&(o=window.matchMedia),o&&e.breakpoint&&e.breakpoint in M&&(r.mql=o("(max-width: ".concat(M[e.breakpoint],")"))),s="collapsed"in e?e.collapsed:e.defaultCollapsed,r.state={collapsed:s,below:!1},r}return u()(n,[{key:"componentDidMount",value:function(){var e;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),null===(e=this.props)||void 0===e||e.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var e,t;null===(e=null===this||void 0===this?void 0:this.mql)||void 0===e||e.removeListener(this.responsiveHandler),null===(t=this.props)||void 0===t||t.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var e=this.state.collapsed,t=this.props.collapsedWidth;return A["createElement"](T.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},A["createElement"](k["a"],null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(A["Component"]);L.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var D=function(e){h()(n,e);var t=p()(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this;return A["createElement"](S["a"].Consumer,null,(function(t){return A["createElement"](L,a()({},t,e.props))}))}}]),n}(A["Component"])},ZYIC:function(e,t,n){var r=n("zM3Q"),i={seriesType:"lines",plan:r(),reset:function(e){var t=e.coordinateSystem,n=e.get("polyline"),r=e.pipelineContext.large;function i(i,o){var a=[];if(r){var s,l=i.end-i.start;if(n){for(var c=0,u=i.start;u<i.end;u++)c+=e.getLineCoordsCount(u);s=new Float32Array(l+2*c)}else s=new Float32Array(4*l);var d=0,h=[];for(u=i.start;u<i.end;u++){var f=e.getLineCoords(u,a);n&&(s[d++]=f);for(var p=0;p<f;p++)h=t.dataToPoint(a[p],!1,h),s[d++]=h[0],s[d++]=h[1]}o.setLayout("linesPoints",s)}else for(u=i.start;u<i.end;u++){var A=o.getItemModel(u),g=(f=e.getLineCoords(u,a),[]);if(n)for(var m=0;m<f;m++)g.push(t.dataToPoint(a[m]));else{g[0]=t.dataToPoint(a[0]),g[1]=t.dataToPoint(a[1]);var v=A.get("lineStyle.curveness");+v&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*v,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*v])}o.setItemLayout(u,g)}}return{progress:i}}};e.exports=i},Ze12:function(e,t,n){var r=n("ItGF"),i=n("hOwI"),o=i.buildTransformer,a="___zrEVENTSAVED",s=[];function l(e,t,n,r,i){return c(s,t,r,i,!0)&&c(e,n,s[0],s[1])}function c(e,t,n,i,o){if(t.getBoundingClientRect&&r.domSupported&&!h(t)){var s=t[a]||(t[a]={}),l=u(t,s),c=d(l,s,o);if(c)return c(e,n,i),!0}return!1}function u(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,c=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[c]+":0",r[1-l]+":auto",i[1-c]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function d(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],a=t.srcCoords,s=!0,l=[],c=[],u=0;u<4;u++){var d=e[u].getBoundingClientRect(),h=2*u,f=d.left,p=d.top;l.push(f,p),s=s&&a&&f===a[h]&&p===a[h+1],c.push(e[u].offsetLeft,e[u].offsetTop)}return s&&i?i:(t.srcCoords=l,t[r]=n?o(c,l):o(l,c))}function h(e){return"CANVAS"===e.nodeName.toUpperCase()}t.transformLocalCoord=l,t.transformCoordWithViewport=c,t.isCanvasEl=h},Znkb:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("zTMp"),a=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,n,r){this.axisPointerClass&&o.fixValue(e),a.superApply(this,"render",arguments),s(this,e,t,n,r,!0)},updateAxisPointer:function(e,t,n,r,i){s(this,e,t,n,r,!1)},remove:function(e,t){var n=this._axisPointer;n&&n.remove(t),a.superApply(this,"remove",arguments)},dispose:function(e,t){l(this,t),a.superApply(this,"dispose",arguments)}});function s(e,t,n,r,i,s){var c=a.getAxisPointerClass(e.axisPointerClass);if(c){var u=o.getAxisPointerModel(t);u?(e._axisPointer||(e._axisPointer=new c)).render(t,u,r,s):l(e,r)}}function l(e,t,n){var r=e._axisPointer;r&&r.dispose(t,n),e._axisPointer=null}var c=[];a.registerAxisPointerClass=function(e,t){c[e]=t},a.getAxisPointerClass=function(e){return e&&c[e]};var u=a;e.exports=u},"Znn+":function(e,t,n){"use strict";n("cIOH"),n("9ama")},ZqQs:function(e,t,n){var r=n("bYtY");function i(e){var t=e&&e.timeline;r.isArray(t)||(t=t?[t]:[]),r.each(t,(function(e){e&&o(e)}))}function o(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),a(e),s(e,"controlPosition")){var i=e.controlStyle||(e.controlStyle={});s(i,"position")||(i.position=e.controlPosition),"none"!==i.position||s(i,"show")||(i.show=!1,delete i.position),delete e.controlPosition}r.each(e.data||[],(function(e){r.isObject(e)&&!r.isArray(e)&&(!s(e,"value")&&s(e,"name")&&(e.value=e.name),a(e))}))}function a(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),i=e.label||e.label||{},o=i.normal||(i.normal={}),a={normal:1,emphasis:1};r.each(i,(function(e,t){a[t]||s(o,t)||(o[t]=e)})),n.label&&!s(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function s(e,t){return e.hasOwnProperty(t)}e.exports=i},Zvw2:function(e,t,n){var r=n("bYtY"),i=n("hM6l"),o=function(e,t,n,r,o){i.call(this,e,t,n),this.type=r||"value",this.position=o||"bottom",this.orient=null};o.prototype={constructor:o,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},r.inherits(o,i);var a=o;e.exports=a},a7Wl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},a9QJ:function(e,t){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function r(e,t){if("world"===e){var r=n[t.name];if(r){var i=t.center;i[0]=r[0],i[1]=r[1]}}}e.exports=r},aCH8:function(e,t,n){(function(){var t=n("ANhw"),r=n("mmNF").utf8,i=n("BEtg"),o=n("mmNF").bin,a=function e(n,a){n.constructor==String?n=a&&"binary"===a.encoding?o.stringToBytes(n):r.stringToBytes(n):i(n)?n=Array.prototype.slice.call(n,0):Array.isArray(n)||n.constructor===Uint8Array||(n=n.toString());for(var s=t.bytesToWords(n),l=8*n.length,c=1732584193,u=-271733879,d=-1732584194,h=271733878,f=0;f<s.length;f++)s[f]=16711935&(s[f]<<8|s[f]>>>24)|4278255360&(s[f]<<24|s[f]>>>8);s[l>>>5]|=128<<l%32,s[14+(l+64>>>9<<4)]=l;var p=e._ff,A=e._gg,g=e._hh,m=e._ii;for(f=0;f<s.length;f+=16){var v=c,y=u,b=d,_=h;c=p(c,u,d,h,s[f+0],7,-680876936),h=p(h,c,u,d,s[f+1],12,-389564586),d=p(d,h,c,u,s[f+2],17,606105819),u=p(u,d,h,c,s[f+3],22,-1044525330),c=p(c,u,d,h,s[f+4],7,-176418897),h=p(h,c,u,d,s[f+5],12,1200080426),d=p(d,h,c,u,s[f+6],17,-1473231341),u=p(u,d,h,c,s[f+7],22,-45705983),c=p(c,u,d,h,s[f+8],7,1770035416),h=p(h,c,u,d,s[f+9],12,-1958414417),d=p(d,h,c,u,s[f+10],17,-42063),u=p(u,d,h,c,s[f+11],22,-1990404162),c=p(c,u,d,h,s[f+12],7,1804603682),h=p(h,c,u,d,s[f+13],12,-40341101),d=p(d,h,c,u,s[f+14],17,-1502002290),u=p(u,d,h,c,s[f+15],22,1236535329),c=A(c,u,d,h,s[f+1],5,-165796510),h=A(h,c,u,d,s[f+6],9,-1069501632),d=A(d,h,c,u,s[f+11],14,643717713),u=A(u,d,h,c,s[f+0],20,-373897302),c=A(c,u,d,h,s[f+5],5,-701558691),h=A(h,c,u,d,s[f+10],9,38016083),d=A(d,h,c,u,s[f+15],14,-660478335),u=A(u,d,h,c,s[f+4],20,-405537848),c=A(c,u,d,h,s[f+9],5,568446438),h=A(h,c,u,d,s[f+14],9,-1019803690),d=A(d,h,c,u,s[f+3],14,-187363961),u=A(u,d,h,c,s[f+8],20,1163531501),c=A(c,u,d,h,s[f+13],5,-1444681467),h=A(h,c,u,d,s[f+2],9,-51403784),d=A(d,h,c,u,s[f+7],14,1735328473),u=A(u,d,h,c,s[f+12],20,-1926607734),c=g(c,u,d,h,s[f+5],4,-378558),h=g(h,c,u,d,s[f+8],11,-2022574463),d=g(d,h,c,u,s[f+11],16,1839030562),u=g(u,d,h,c,s[f+14],23,-35309556),c=g(c,u,d,h,s[f+1],4,-1530992060),h=g(h,c,u,d,s[f+4],11,1272893353),d=g(d,h,c,u,s[f+7],16,-155497632),u=g(u,d,h,c,s[f+10],23,-1094730640),c=g(c,u,d,h,s[f+13],4,681279174),h=g(h,c,u,d,s[f+0],11,-358537222),d=g(d,h,c,u,s[f+3],16,-722521979),u=g(u,d,h,c,s[f+6],23,76029189),c=g(c,u,d,h,s[f+9],4,-640364487),h=g(h,c,u,d,s[f+12],11,-421815835),d=g(d,h,c,u,s[f+15],16,530742520),u=g(u,d,h,c,s[f+2],23,-995338651),c=m(c,u,d,h,s[f+0],6,-198630844),h=m(h,c,u,d,s[f+7],10,1126891415),d=m(d,h,c,u,s[f+14],15,-1416354905),u=m(u,d,h,c,s[f+5],21,-57434055),c=m(c,u,d,h,s[f+12],6,1700485571),h=m(h,c,u,d,s[f+3],10,-1894986606),d=m(d,h,c,u,s[f+10],15,-1051523),u=m(u,d,h,c,s[f+1],21,-2054922799),c=m(c,u,d,h,s[f+8],6,1873313359),h=m(h,c,u,d,s[f+15],10,-30611744),d=m(d,h,c,u,s[f+6],15,-1560198380),u=m(u,d,h,c,s[f+13],21,1309151649),c=m(c,u,d,h,s[f+4],6,-145523070),h=m(h,c,u,d,s[f+11],10,-1120210379),d=m(d,h,c,u,s[f+2],15,718787259),u=m(u,d,h,c,s[f+9],21,-343485551),c=c+v>>>0,u=u+y>>>0,d=d+b>>>0,h=h+_>>>0}return t.endian([c,u,d,h])};a._ff=function(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._gg=function(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._hh=function(e,t,n,r,i,o,a){var s=e+(t^n^r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._ii=function(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var r=t.wordsToBytes(a(e,n));return n&&n.asBytes?r:n&&n.asString?o.bytesToString(r):t.bytesToHex(r)}})()},aHsQ:function(e,t,n){"use strict";n("cIOH"),n("6D9b")},aKvl:function(e,t,n){var r=n("Sj9i"),i=r.quadraticProjectPoint;function o(e,t,n,r,o,a,s,l,c){if(0===s)return!1;var u=s;if(c>t+u&&c>r+u&&c>a+u||c<t-u&&c<r-u&&c<a-u||l>e+u&&l>n+u&&l>o+u||l<e-u&&l<n-u&&l<o-u)return!1;var d=i(e,t,n,r,o,a,l,c,null);return d<=u/2}t.containStroke=o},aTJb:function(e,t,n){var r=n("bLfw");r.registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},aX58:function(e,t,n){var r=n("3gBT"),i=n("ItGF"),o=n("bYtY"),a=n("0s+r"),s=n("r6Bn"),l=n("7SHv"),c=n("MKOG"),u=n("zarK"),d=!i.canvasSupported,h={canvas:l},f={},p="4.3.1";function A(e,t){var n=new b(r(),e,t);return f[n.id]=n,n}function g(e){if(e)e.dispose();else{for(var t in f)f.hasOwnProperty(t)&&f[t].dispose();f={}}return this}function m(e){return f[e]}function v(e,t){h[e]=t}function y(e){delete f[e]}var b=function(e,t,n){n=n||{},this.dom=t,this.id=e;var r=this,l=new s,f=n.renderer;if(d){if(!h.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&h[f]||(f="canvas");var p=new h[f](t,l,n,e);this.storage=l,this.painter=p;var A=i.node||i.worker?null:new u(p.getViewportRoot(),p.root);this.handler=new a(l,p,A,p.root),this.animation=new c({stage:{update:o.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var g=l.delFromStorage,m=l.addToStorage;l.delFromStorage=function(e){g.call(l,e),e&&e.removeSelfFromZr(r)},l.addToStorage=function(e){m.call(l,e),e.addSelfToZr(r)}};b.prototype={constructor:b,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer&&this.painter.configLayer(e,t),this._needsRefresh=!0},setBackgroundColor:function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),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 e;this._needsRefresh&&(e=!0,this.refreshImmediately()),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately()),e&&this.trigger("rendered")},addHover:function(e,t){if(this.painter.addHover){var n=this.painter.addHover(e,t);return this.refreshHover(),n}},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),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(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},findHover:function(e,t){return this.handler.findHover(e,t)},on:function(e,t,n){this.handler.on(e,t,n)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},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,y(this.id)}},t.version=p,t.init=A,t.dispose=g,t.getInstance=m,t.registerPainter=v},aX7z:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("GMDS"),a=n("ieMj"),s=n("4NgU"),l=n("OELB"),c=n("nVfU"),u=c.prepareLayoutBarSeries,d=c.makeColumnLayout,h=c.retrieveColumnLayout,f=n("mFDi");function p(e,t){var n,r,o,a=e.type,s=t.getMin(),c=t.getMax(),h=e.getExtent();"ordinal"===a?n=t.getCategories().length:(r=t.get("boundaryGap"),i.isArray(r)||(r=[r||0,r||0]),"boolean"===typeof r[0]&&(r=[0,0]),r[0]=l.parsePercent(r[0],1),r[1]=l.parsePercent(r[1],1),o=h[1]-h[0]||Math.abs(h[0])),"dataMin"===s?s=h[0]:"function"===typeof s&&(s=s({min:h[0],max:h[1]})),"dataMax"===c?c=h[1]:"function"===typeof c&&(c=c({min:h[0],max:h[1]}));var f=null!=s,p=null!=c;null==s&&(s="ordinal"===a?n?0:NaN:h[0]-r[0]*o),null==c&&(c="ordinal"===a?n?n-1:NaN:h[1]+r[1]*o),(null==s||!isFinite(s))&&(s=NaN),(null==c||!isFinite(c))&&(c=NaN),e.setBlank(i.eqNaN(s)||i.eqNaN(c)||"ordinal"===a&&!e.getOrdinalMeta().categories.length),t.getNeedCrossZero()&&(s>0&&c>0&&!f&&(s=0),s<0&&c<0&&!p&&(c=0));var g=t.ecModel;if(g&&"time"===a){var m,v=u("bar",g);if(i.each(v,(function(e){m|=e.getBaseAxis()===t.axis})),m){var y=d(v),b=A(s,c,t,y);s=b.min,c=b.max}}return{extent:[s,c],fixMin:f,fixMax:p}}function A(e,t,n,r){var o=n.axis.getExtent(),a=o[1]-o[0],s=h(r,n.axis);if(void 0===s)return{min:e,max:t};var l=1/0;i.each(s,(function(e){l=Math.min(e.offset,l)}));var c=-1/0;i.each(s,(function(e){c=Math.max(e.offset+e.width,c)})),l=Math.abs(l),c=Math.abs(c);var u=l+c,d=t-e,f=1-(l+c)/a,p=d/f-d;return t+=p*(c/u),e-=p*(l/u),{min:e,max:t}}function g(e,t){var n=p(e,t),r=n.extent,i=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase"));var o=e.type;e.setExtent(r[0],r[1]),e.niceExtent({splitNumber:i,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===o||"time"===o?t.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?t.get("maxInterval"):null});var a=t.get("interval");null!=a&&e.setInterval&&e.setInterval(a)}function m(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new o(e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(s.getClass(t)||a).create(e)}}function v(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function y(e){var t=e.getLabelModel().get("formatter"),n="category"===e.type?e.scale.getExtent()[0]:null;return"string"===typeof t?(t=function(t){return function(n){return n=e.scale.getLabel(n),t.replace("{value}",null!=n?n:"")}}(t),t):"function"===typeof t?function(r,i){return null!=n&&(i=r-n),t(b(e,r),i)}:function(t){return e.scale.getLabel(t)}}function b(e,t){return"category"===e.type?e.scale.getLabel(t):t}function _(e){var t=e.model,n=e.scale;if(t.get("axisLabel.show")&&!n.isBlank()){var r,i,o="category"===e.type,a=n.getExtent();o?i=n.count():(r=n.getTicks(),i=r.length);var s,l=e.getLabelModel(),c=y(e),u=1;i>40&&(u=Math.ceil(i/40));for(var d=0;d<i;d+=u){var h=r?r[d]:a[0]+d,f=c(h),p=l.getTextRect(f),A=w(p,l.get("rotate")||0);s?s.union(A):s=A}return s}}function w(e,t){var n=t*Math.PI/180,r=e.plain(),i=r.width,o=r.height,a=i*Math.cos(n)+o*Math.sin(n),s=i*Math.sin(n)+o*Math.cos(n),l=new f(r.x,r.y,a,s);return l}function x(e){var t=e.get("interval");return null==t?"auto":t}function C(e){return"category"===e.type&&0===x(e.getLabelModel())}n("IWp7"),n("jCoz"),t.getScaleExtent=p,t.niceScaleExtent=g,t.createScaleByModel=m,t.ifAxisCrossZero=v,t.makeLabelFormatter=y,t.getAxisRawValue=b,t.estimateLabelUnionRect=_,t.getOptionCategoryInterval=x,t.shouldShowAllLabels=C},adU4:function(e,t,n){var r=n("y1pI"),i=Array.prototype,o=i.splice;function a(e){var t=this.__data__,n=r(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():o.call(t,n,1),--this.size,!0}e.exports=a},"af/B":function(e,t,n){var r=n("bYtY"),i=r.each,o=r.map,a=r.isFunction,s=r.createHashMap,l=r.noop,c=n("9H2F"),u=c.createTask,d=n("iRjW"),h=d.getUID,f=n("fmMI"),p=n("hD7B"),A=n("4NO4"),g=A.normalizeToArray;function m(e,t,n,r){this.ecInstance=e,this.api=t,this.unfinished;n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice();this._allHandlers=n.concat(r),this._stageTaskMap=s()}var v=m.prototype;function y(e,t,n,r,o){var a;function s(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}o=o||{},i(t,(function(t,i){if(!o.visualType||o.visualType===t.visualType){var l=e._stageTaskMap.get(t.uid),c=l.seriesTaskMap,u=l.overallTask;if(u){var d,h=u.agentStubMap;h.each((function(e){s(o,e)&&(e.dirty(),d=!0)})),d&&u.dirty(),b(u,r);var f=e.getPerformArgs(u,o.block);h.each((function(e){e.perform(f)})),a|=u.perform(f)}else c&&c.each((function(i,l){s(o,i)&&i.dirty();var c=e.getPerformArgs(i,o.block);c.skip=!t.performRawSeries&&n.isSeriesFiltered(i.context.model),b(i,r),a|=i.perform(c)}))}})),e.unfinished|=a}v.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},v.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex,o=i?n.step:null,a=r&&r.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},v.getPipeline=function(e){return this._pipelineMap.get(e)},v.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData(),i=r.count(),o=n.progressiveEnabled&&t.incrementalPrepareRender&&i>=n.threshold,a=e.get("large")&&i>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?i:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},v.restorePipelines=function(e){var t=this,n=t._pipelineMap=s();e.eachSeries((function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),I(t,e,e.dataTask)}))},v.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.ecInstance.getModel(),n=this.api;i(this._allHandlers,(function(r){var i=e.get(r.uid)||e.set(r.uid,[]);r.reset&&_(this,r,i,t,n),r.overallReset&&w(this,r,i,t,n)}),this)},v.prepareView=function(e,t,n,r){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=n,o.api=r,i.__block=!e.incrementalPrepareRender,I(this,t,i)},v.performDataProcessorTasks=function(e,t){y(this,this._dataProcessorHandlers,e,t,{block:!0})},v.performVisualTasks=function(e,t,n){y(this,this._visualHandlers,e,t,n)},v.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t|=e.dataTask.perform()})),this.unfinished|=t},v.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))};var b=v.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)};function _(e,t,n,r,i){var o=n.seriesTaskMap||(n.seriesTaskMap=s()),a=t.seriesType,l=t.getTargetSeries;function c(n){var a=n.uid,s=o.get(a)||o.set(a,u({plan:E,reset:O,count:T}));s.context={model:n,ecModel:r,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:e},I(e,n,s)}t.createOnAllSeries?r.eachRawSeries(c):a?r.eachRawSeriesByType(a,c):l&&l(r,i).each(c);var d=e._pipelineMap;o.each((function(e,t){d.get(t)||(e.dispose(),o.removeKey(t))}))}function w(e,t,n,r,o){var a=n.overallTask=n.overallTask||u({reset:x});a.context={ecModel:r,api:o,overallReset:t.overallReset,scheduler:e};var l=a.agentStubMap=a.agentStubMap||s(),c=t.seriesType,d=t.getTargetSeries,h=!0,f=t.modifyOutputEnd;function p(t){var n=t.uid,r=l.get(n);r||(r=l.set(n,u({reset:C,onDirty:k})),a.dirty()),r.context={model:t,overallProgress:h,modifyOutputEnd:f},r.agent=a,r.__block=h,I(e,t,r)}c?r.eachRawSeriesByType(c,p):d?d(r,o).each(p):(h=!1,i(r.getSeries(),p));var A=e._pipelineMap;l.each((function(e,t){A.get(t)||(e.dispose(),a.dirty(),l.removeKey(t))}))}function x(e){e.overallReset(e.ecModel,e.api,e.payload)}function C(e,t){return e.overallProgress&&S}function S(){this.agent.dirty(),this.getDownstream().dirty()}function k(){this.agent&&this.agent.dirty()}function E(e){return e.plan&&e.plan(e.model,e.ecModel,e.api,e.payload)}function O(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=g(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?o(t,(function(e,t){return M(t)})):B}var B=M(0);function M(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(t,r)}}function T(e){return e.data.count()}function I(e,t,n){var r=t.uid,i=e._pipelineMap.get(r);!i.head&&(i.head=n),i.tail&&i.tail.pipe(n),i.tail=n,n.__idxInPipeline=i.count++,n.__pipeline=i}function L(e){D=null;try{e(P,N)}catch(t){}return D}m.wrapStageHandler=function(e,t){return a(e)&&(e={overallReset:e,seriesType:L(e)}),e.uid=h("stageHandler"),t&&(e.visualType=t),e};var D,P={},N={};function j(e,t){for(var n in t.prototype)e[n]=l}j(P,f),j(N,p),P.eachSeriesByType=P.eachRawSeriesByType=function(e){D=e},P.eachComponent=function(e){"series"===e.mainType&&e.subType&&(D=e.subType)};var F=m;e.exports=F},akwb:function(e,t,n){var r=n("RSch"),i=n("bYtY"),o=n("D9ME"),a=n("QBsz");function s(e,t,n){o.call(this,e,t,n),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(e,t,n){return new r(e,t,n)},l.updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],r=0,i=1;i<t.length;i++){var o=t[i-1],s=t[i];r+=a.dist(o,s),n.push(r)}if(0!==r){for(i=0;i<n.length;i++)n[i]/=r;this._offsets=n,this._length=r}},l.getLineLength=function(e){return this._length},l.updateSymbolPosition=function(e){var t=e.__t,n=this._points,r=this._offsets,i=n.length;if(r){var o=this._lastFrame;if(t<this._lastFramePercent){var s=Math.min(o+1,i-1);for(l=s;l>=0;l--)if(r[l]<=t)break;l=Math.min(l,i-2)}else{for(var l=o;l<i;l++)if(r[l]>t)break;l=Math.min(l-1,i-2)}a.lerp(e.position,n[l],n[l+1],(t-r[l])/(r[l+1]-r[l]));var c=n[l+1][0]-n[l][0],u=n[l+1][1]-n[l][1];e.rotation=-Math.atan2(u,c)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=t,e.ignore=!1}},i.inherits(s,o);var c=s;e.exports=c},apAg:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("bsht")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="SearchOutlined";var h=a.forwardRef(d);t.default=h},as94:function(e,t,n){var r=n("7aKB"),i=n("3LNs"),o=n("IwbS"),a=n("/y7N"),s=n("Fofx"),l=n("+rIm"),c=n("Znkb"),u=i.extend({makeElOption:function(e,t,n,i,o){var s=n.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,c=s.polar,u=c.getOtherAxis(s),f=u.getExtent();l=s["dataTo"+r.capitalFirst(s.dim)](t);var p=i.get("type");if(p&&"none"!==p){var A=a.buildElStyle(i),g=h[p](s,c,l,f,A);g.style=A,e.graphicKey=g.type,e.pointer=g}var m=i.get("label.margin"),v=d(t,n,i,c,m);a.buildLabelElOption(e,n,i,o,v)}});function d(e,t,n,r,i){var a=t.axis,c=a.dataToCoord(e),u=r.getAngleAxis().getExtent()[0];u=u/180*Math.PI;var d,h,f,p=r.getRadiusAxis().getExtent();if("radius"===a.dim){var A=s.create();s.rotate(A,A,u),s.translate(A,A,[r.cx,r.cy]),d=o.applyTransform([c,-i],A);var g=t.getModel("axisLabel").get("rotate")||0,m=l.innerTextLayout(u,g*Math.PI/180,-1);h=m.textAlign,f=m.textVerticalAlign}else{var v=p[1];d=r.coordToPoint([v+i,c]);var y=r.cx,b=r.cy;h=Math.abs(d[0]-y)/v<.3?"center":d[0]>y?"left":"right",f=Math.abs(d[1]-b)/v<.3?"middle":d[1]>b?"top":"bottom"}return{position:d,align:h,verticalAlign:f}}var h={line:function(e,t,n,r,i){return"angle"===e.dim?{type:"Line",shape:a.makeLineShape(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r,i){var o=Math.max(1,e.getBandWidth()),s=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:a.makeSectorShape(t.cx,t.cy,r[0],r[1],(-n-o/2)*s,(o/2-n)*s)}:{type:"Sector",shape:a.makeSectorShape(t.cx,t.cy,n-o/2,n+o/2,0,2*Math.PI)}}};c.registerAxisPointerClass("PolarAxisPointer",u);var f=u;e.exports=f},b56q:function(e,t,n){},b80T:function(e,t,n){var r=n("UNi/"),i=n("03A+"),o=n("Z0cm"),a=n("DSRE"),s=n("wJg7"),l=n("c6wG"),c=Object.prototype,u=c.hasOwnProperty;function d(e,t){var n=o(e),c=!n&&i(e),d=!n&&!c&&a(e),h=!n&&!c&&!d&&l(e),f=n||c||d||h,p=f?r(e.length,String):[],A=p.length;for(var g in e)!t&&!u.call(e,g)||f&&("length"==g||d&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,A))||p.push(g);return p}e.exports=d},b80e:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("gKaM")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="DoubleLeftOutlined";var h=a.forwardRef(d);t.default=h},b9oc:function(e,t,n){var r=n("bYtY"),i=r.each,o="\0_ec_hist_store";function a(e,t){var n=u(e);i(t,(function(t,r){for(var i=n.length-1;i>=0;i--){var o=n[i];if(o[r])break}if(i<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var s=a.getPercentRange();n[0][r]={dataZoomId:r,start:s[0],end:s[1]}}}})),n.push(t)}function s(e){var t=u(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return i(n,(function(e,n){for(var i=t.length-1;i>=0;i--){e=t[i][n];if(e){r[n]=e;break}}})),r}function l(e){e[o]=null}function c(e){return u(e).length}function u(e){var t=e[o];return t||(t=e[o]=[{}]),t}t.push=a,t.pop=s,t.clear=l,t.count=c},bBKM:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("+rIm"),s=n("IwbS"),l=["axisLine","axisTickLabel","axisName"],c=i.extendComponentView({type:"radar",render:function(e,t,n){var r=this.group;r.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),r=o.map(n,(function(e){var n=new a(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return n}));o.each(r,(function(e){o.each(l,e.add,e),this.group.add(e.getGroup())}),this)},_buildSplitLineAndArea:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var r=e.get("shape"),i=e.getModel("splitLine"),a=e.getModel("splitArea"),l=i.getModel("lineStyle"),c=a.getModel("areaStyle"),u=i.get("show"),d=a.get("show"),h=l.get("color"),f=c.get("color");h=o.isArray(h)?h:[h],f=o.isArray(f)?f:[f];var p=[],A=[];if("circle"===r)for(var g=n[0].getTicksCoords(),m=t.cx,v=t.cy,y=0;y<g.length;y++){if(u){var b=O(p,h,y);p[b].push(new s.Circle({shape:{cx:m,cy:v,r:g[y].coord}}))}if(d&&y<g.length-1){b=O(A,f,y);A[b].push(new s.Ring({shape:{cx:m,cy:v,r0:g[y].coord,r:g[y+1].coord}}))}}else{var _,w=o.map(n,(function(e,n){var r=e.getTicksCoords();return _=null==_?r.length-1:Math.min(r.length-1,_),o.map(r,(function(e){return t.coordToPoint(e.coord,n)}))})),x=[];for(y=0;y<=_;y++){for(var C=[],S=0;S<n.length;S++)C.push(w[S][y]);if(C[0]&&C.push(C[0].slice()),u){b=O(p,h,y);p[b].push(new s.Polyline({shape:{points:C}}))}if(d&&x){b=O(A,f,y-1);A[b].push(new s.Polygon({shape:{points:C.concat(x)}}))}x=C.slice().reverse()}}var k=l.getLineStyle(),E=c.getAreaStyle();o.each(A,(function(e,t){this.group.add(s.mergePath(e,{style:o.defaults({stroke:"none",fill:f[t%f.length]},E),silent:!0}))}),this),o.each(p,(function(e,t){this.group.add(s.mergePath(e,{style:o.defaults({fill:"none",stroke:h[t%h.length]},k),silent:!0}))}),this)}function O(e,t,n){var r=n%t.length;return e[r]=e[r]||[],r}}});e.exports=c},bBL8:function(e,t,n){var r=n("ProS");n("LPzL"),n("rfSb"),n("JVwQ");var i=n("UnoB"),o=n("cbJ4"),a=n("0/Rx");r.registerLayout(i),r.registerVisual(o),r.registerProcessor(a("themeRiver"))},bE4E:function(e,t,n){},bE4q:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("RIqP"),l=n.n(s),c=n("q1tI"),u=n("TSYQ"),d=n.n(u),h=n("Zm9Q"),f=n("HQEm"),p=n.n(f),A=n("XBQK"),g=n("H84U"),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},v=function(e){var t,n=e.prefixCls,r=e.separator,o=void 0===r?"/":r,a=e.children,s=e.overlay,l=e.dropdownProps,u=m(e,["prefixCls","separator","children","overlay","dropdownProps"]),d=c["useContext"](g["b"]),h=d.getPrefixCls,f=h("breadcrumb",n),v=function(e){return s?c["createElement"](A["a"],i()({overlay:s,placement:"bottomCenter"},l),c["createElement"]("span",{className:"".concat(f,"-overlay-link")},e,c["createElement"](p.a,null))):e};return t="href"in u?c["createElement"]("a",i()({className:"".concat(f,"-link")},u),a):c["createElement"]("span",i()({className:"".concat(f,"-link")},u),a),t=v(t),a?c["createElement"]("span",null,t,o&&""!==o&&c["createElement"]("span",{className:"".concat(f,"-separator")},o)):null};v.__ANT_BREADCRUMB_ITEM=!0;var y=v,b=function(e){var t=e.children,n=c["useContext"](g["b"]),r=n.getPrefixCls,i=r("breadcrumb");return c["createElement"]("span",{className:"".concat(i,"-separator")},t||"/")};b.__ANT_BREADCRUMB_SEPARATOR=!0;var _=b,w=n("BvKs"),x=n("uaoM"),C=n("0n0R"),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function k(e,t){if(!e.breadcrumbName)return null;var n=Object.keys(t).join("|"),r=e.breadcrumbName.replace(new RegExp(":(".concat(n,")"),"g"),(function(e,n){return t[n]||e}));return r}function E(e,t,n,r){var i=n.indexOf(e)===n.length-1,o=k(e,t);return i?c["createElement"]("span",null,o):c["createElement"]("a",{href:"#/".concat(r.join("/"))},o)}var O=function(e,t){return e=(e||"").replace(/^\//,""),Object.keys(t).forEach((function(n){e=e.replace(":".concat(n),t[n])})),e},B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=l()(e),i=O(t,n);return i&&r.push(i),r},M=function(e){var t,n=e.prefixCls,r=e.separator,o=void 0===r?"/":r,s=e.style,l=e.className,u=e.routes,f=e.children,p=e.itemRender,A=void 0===p?E:p,m=e.params,v=void 0===m?{}:m,b=S(e,["prefixCls","separator","style","className","routes","children","itemRender","params"]),_=c["useContext"](g["b"]),k=_.getPrefixCls,M=_.direction,T=k("breadcrumb",n);if(u&&u.length>0){var I=[];t=u.map((function(e){var t,n=O(e.path,v);return n&&I.push(n),e.children&&e.children.length&&(t=c["createElement"](w["a"],null,e.children.map((function(e){return c["createElement"](w["a"].Item,{key:e.path||e.breadcrumbName},A(e,v,u,B(I,e.path,v)))})))),c["createElement"](y,{overlay:t,separator:o,key:n||e.breadcrumbName},A(e,v,u,I))}))}else f&&(t=Object(h["a"])(f).map((function(e,t){return e?(Object(x["a"])(e.type&&(!0===e.type.__ANT_BREADCRUMB_ITEM||!0===e.type.__ANT_BREADCRUMB_SEPARATOR),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(C["a"])(e,{separator:o,key:t})):e})));var L=d()(l,T,a()({},"".concat(T,"-rtl"),"rtl"===M));return c["createElement"]("div",i()({className:L,style:s},b),t)};M.Item=y,M.Separator=_;var T=M;t["a"]=T},bKJz:function(e,t,n){},bLfw:function(e,t,n){var r=n("bYtY"),i=n("Qxkt"),o=n("iRjW"),a=n("Yl7c"),s=a.enableClassManagement,l=a.parseClassType,c=n("4NO4"),u=c.makeInner,d=n("+TT/"),h=n("3hzK"),f=u(),p=i.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,t,n,r){i.call(this,e,t,n,r),this.uid=o.getUID("ec_cpt_model")},init:function(e,t,n,r){this.mergeDefaultAndTheme(e,n)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,i=n?d.getLayoutParams(e):{},o=t.getTheme();r.merge(e,o.get(this.mainType)),r.merge(e,this.getDefaultOption()),n&&d.mergeLayoutParam(e,i,n)},mergeOption:function(e,t){r.merge(this.option,e,!0);var n=this.layoutMode;n&&d.mergeLayoutParam(this.option,e,n)},optionUpdated:function(e,t){},getDefaultOption:function(){var e=f(this);if(!e.defaultOption){var t=[],n=this.constructor;while(n){var i=n.prototype.defaultOption;i&&t.push(i),n=n.superClass}for(var o={},a=t.length-1;a>=0;a--)o=r.merge(o,t[a],!0);e.defaultOption=o}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});function A(e){var t=[];return r.each(p.getClassesByMainType(e),(function(e){t=t.concat(e.prototype.dependencies||[])})),t=r.map(t,(function(e){return l(e).main})),"dataset"!==e&&r.indexOf(t,"dataset")<=0&&t.unshift("dataset"),t}s(p,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(p),o.enableTopologicalTravel(p,A),r.mixin(p,h);var g=p;e.exports=g},bMXI:function(e,t,n){var r=n("bYtY"),i=n("QBsz"),o=n("Fofx"),a=n("mFDi"),s=n("DN4a"),l=i.applyTransform;function c(){s.call(this)}function u(e){this.name=e,this.zoomLimit,s.call(this),this._roamTransformable=new c,this._rawTransformable=new c,this._center,this._zoom}function d(e,t,n,r){var i=n.seriesModel,o=i?i.coordinateSystem:null;return o===this?o[e](r):null}r.mixin(c,s),u.prototype={constructor:u,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,n,r){return this._rect=new a(e,t,n,r),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,n,r){this.transformTo(e,t,n,r),this._viewRect=new a(e,t,n,r)},transformTo:function(e,t,n,r){var i=this.getBoundingRect(),o=this._rawTransformable;o.transform=i.calculateTransform(new a(e,t,n,r)),o.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect(),t=e.x+e.width/2,n=e.y+e.height/2;return[t,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),o=this.getZoom();r=i.applyTransform([],r,e),n=i.applyTransform([],n,e),t.origin=r,t.position=[n[0]-r[0],n[1]-r[1]],t.scale=[o,o],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),o.copy(this.transform||(this.transform=[]),t.transform||o.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],o.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,t=this._rawTransformable;return{roamTransform:e?r.slice(e):o.create(),rawScale:r.slice(t.scale),rawPosition:r.slice(t.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,n){var r=t?this._rawTransform:this.transform;return n=n||[],r?l(n,e,r):i.copy(n,e)},pointToData:function(e){var t=this.invTransform;return t?l([],e,t):[e[0],e[1]]},convertToPixel:r.curry(d,"dataToPoint"),convertFromPixel:r.curry(d,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},r.mixin(u,s);var h=u;e.exports=h},bNin:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("FBjb"),a=n("Itpr"),s=a.radialCoordinate,l=n("ProS"),c=n("4mN7"),u=n("bMXI"),d=n("Ae+d"),h=n("SgGq"),f=n("xSat"),p=f.onIrrelevantElement,A=n("Tghj"),g=(A.__DEV__,n("OELB")),m=g.parsePercent,v=i.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.childPoints,r=n.length,i=t.parentPoint,o=n[0],a=n[r-1];if(1===r)return e.moveTo(i[0],i[1]),void e.lineTo(o[0],o[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,c=1-l,u=m(t.forkPosition,1),d=[];d[l]=i[l],d[c]=i[c]+(a[c]-i[c])*u,e.moveTo(i[0],i[1]),e.lineTo(d[0],d[1]),e.moveTo(o[0],o[1]),d[l]=o[l],e.lineTo(d[0],d[1]),d[l]=a[l],e.lineTo(d[0],d[1]),e.lineTo(a[0],a[1]);for(var h=1;h<r-1;h++){var f=n[h];e.moveTo(f[0],f[1]),d[l]=f[l],e.lineTo(d[0],d[1])}}}),y=l.extendChartView({type:"tree",init:function(e,t){this._oldTree,this._mainGroup=new i.Group,this._controller=new h(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(e,t,n,r){var i=e.getData(),o=e.layoutInfo,a=this._mainGroup,s=e.get("layout");"radial"===s?a.attr("position",[o.x+o.width/2,o.y+o.height/2]):a.attr("position",[o.x,o.y]),this._updateViewCoordSys(e,o,s),this._updateController(e,t,n);var l=this._data,c={expandAndCollapse:e.get("expandAndCollapse"),layout:s,edgeShape:e.get("edgeShape"),edgeForkPosition:e.get("edgeForkPosition"),orient:e.getOrient(),curvature:e.get("lineStyle.curveness"),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};i.diff(l).add((function(t){b(i,t)&&w(i,t,null,a,e,c)})).update((function(t,n){var r=l.getItemGraphicEl(n);b(i,t)?w(i,t,r,a,e,c):r&&C(l,n,r,a,e,c)})).remove((function(t){var n=l.getItemGraphicEl(t);n&&C(l,t,n,a,e,c)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===c.expandAndCollapse&&i.eachItemGraphicEl((function(t,r){t.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:r})}))})),this._data=i},_updateViewCoordSys:function(e){var t=e.getData(),n=[];t.each((function(e){var r=t.getItemLayout(e);!r||isNaN(r.x)||isNaN(r.y)||n.push([+r.x,+r.y])}));var r=[],i=[];c.fromPoints(n,r,i);var o=this._min,a=this._max;i[0]-r[0]===0&&(r[0]=o?o[0]:r[0]-1,i[0]=a?a[0]:i[0]+1),i[1]-r[1]===0&&(r[1]=o?o[1]:r[1]-1,i[1]=a?a[1]:i[1]+1);var s=e.coordinateSystem=new u;s.zoomLimit=e.get("scaleLimit"),s.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1]),s.setCenter(e.get("center")),s.setZoom(e.get("zoom")),this.group.attr({position:s.position,scale:s.scale}),this._viewCoordSys=s,this._min=r,this._max=i},_updateController:function(e,t,n){var r=this._controller,i=this._controllerHost,o=this.group;r.setPointerChecker((function(t,r,i){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(r,i)&&!p(t,n,e)})),r.enable(e.get("roam")),i.zoomLimit=e.get("scaleLimit"),i.zoom=e.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(t){d.updateViewOnPan(i,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})}),this).on("zoom",(function(t){d.updateViewOnZoom(i,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(e)}),this)},_updateNodeAndLinkScale:function(e){var t=e.getData(),n=this._getNodeGlobalScale(e),r=[n,n];t.eachItemGraphicEl((function(e,t){e.attr("scale",r)}))},_getNodeGlobalScale:function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,r=t.scale,i=r&&r[0]||1,o=t.getZoom(),a=(o-1)*n+1;return a/i},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function b(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)&&"none"!==e.getItemVisual(t,"symbol")}function _(e,t,n){return n.itemModel=t,n.itemStyle=t.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=t.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=t.getModel("lineStyle").getLineStyle(),n.labelModel=t.getModel("label"),n.hoverLabelModel=t.getModel("emphasis.label"),!1===e.isExpand&&0!==e.children.length?n.symbolInnerColor=n.itemStyle.fill:n.symbolInnerColor="#fff",n}function w(e,t,n,r,a,s){var l=!n,c=e.tree.getNodeByDataIndex(t),u=c.getModel(),d=(s=_(c,u,s),e.tree.root),h=c.parentNode===d?c:c.parentNode||c,f=e.getItemGraphicEl(h.dataIndex),p=h.getLayout(),A=f?{x:f.position[0],y:f.position[1],rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:p,g=c.getLayout();l?(n=new o(e,t,s),n.attr("position",[A.x,A.y])):n.updateData(e,t,s),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,r.add(n),e.setItemGraphicEl(t,n),i.updateProps(n,{position:[g.x,g.y]},a);var m=n.getSymbolPath();if("radial"===s.layout){var v,y,b=d.children[0],w=b.getLayout(),C=b.children.length;if(g.x===w.x&&!0===c.isExpand){var S={};S.x=(b.children[0].getLayout().x+b.children[C-1].getLayout().x)/2,S.y=(b.children[0].getLayout().y+b.children[C-1].getLayout().y)/2,v=Math.atan2(S.y-w.y,S.x-w.x),v<0&&(v=2*Math.PI+v),y=S.x<w.x,y&&(v-=Math.PI)}else v=Math.atan2(g.y-w.y,g.x-w.x),v<0&&(v=2*Math.PI+v),0===c.children.length||0!==c.children.length&&!1===c.isExpand?(y=g.x<w.x,y&&(v-=Math.PI)):(y=g.x>w.x,y||(v-=Math.PI));var k=y?"left":"right",E=s.labelModel.get("rotate"),O=E*(Math.PI/180);m.setStyle({textPosition:s.labelModel.get("position")||k,textRotation:null==E?-v:O,textOrigin:"center",verticalAlign:"middle"})}x(a,c,d,n,A,p,g,r,s)}function x(e,t,n,o,a,s,l,c,u){var d=u.edgeShape,h=o.__edge;if("curve"===d)t.parentNode&&t.parentNode!==n&&(h||(h=o.__edge=new i.BezierCurve({shape:S(u,a,a),style:r.defaults({opacity:0,strokeNoScale:!0},u.lineStyle)})),i.updateProps(h,{shape:S(u,s,l),style:{opacity:1}},e));else if("polyline"===d&&"orthogonal"===u.layout&&t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var f=t.children,p=[],A=0;A<f.length;A++){var g=f[A].getLayout();p.push([g.x,g.y])}h||(h=o.__edge=new v({shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]],orient:u.orient,forkPosition:u.edgeForkPosition},style:r.defaults({opacity:0,strokeNoScale:!0},u.lineStyle)})),i.updateProps(h,{shape:{parentPoint:[l.x,l.y],childPoints:p},style:{opacity:1}},e)}c.add(h)}function C(e,t,n,r,o,a){var s,l=e.tree.getNodeByDataIndex(t),c=e.tree.root,u=l.getModel(),d=(a=_(l,u,a),l.parentNode===c?l:l.parentNode||l),h=a.edgeShape;while(s=d.getLayout(),null==s)d=d.parentNode===c?d:d.parentNode||d;i.updateProps(n,{position:[s.x+1,s.y+1]},o,(function(){r.remove(n),e.setItemGraphicEl(t,null)})),n.fadeOut(null,{keepLabel:!0});var f=e.getItemGraphicEl(d.dataIndex),p=f.__edge,A=n.__edge||(!1===d.isExpand||1===d.children.length?p:void 0);h=a.edgeShape;A&&("curve"===h?i.updateProps(A,{shape:S(a,s,s),style:{opacity:0}},o,(function(){r.remove(A)})):"polyline"===h&&"orthogonal"===a.layout&&i.updateProps(A,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},o,(function(){r.remove(A)})))}function S(e,t,n){var r,i,o,a,l,c,u,d,h=e.orient;if("radial"===e.layout){l=t.rawX,u=t.rawY,c=n.rawX,d=n.rawY;var f=s(l,u),p=s(l,u+(d-u)*e.curvature),A=s(c,d+(u-d)*e.curvature),g=s(c,d);return{x1:f.x,y1:f.y,x2:g.x,y2:g.y,cpx1:p.x,cpy1:p.y,cpx2:A.x,cpy2:A.y}}return l=t.x,u=t.y,c=n.x,d=n.y,"LR"!==h&&"RL"!==h||(r=l+(c-l)*e.curvature,i=u,o=c+(l-c)*e.curvature,a=d),"TB"!==h&&"BT"!==h||(r=l,i=u+(d-u)*e.curvature,o=c,a=d+(u-d)*e.curvature),{x1:l,y1:u,x2:c,y2:d,cpx1:r,cpy1:i,cpx2:o,cpy2:a}}e.exports=y},bT9E:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("VTBJ");function i(e,t){var n=Object(r["a"])({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},bX4T:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("VTBJ"),i="accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap",o="onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError",a="".concat(i," ").concat(o).split(/[\s\n]+/),s="aria-",l="data-";function c(e,t){return 0===e.indexOf(t)}function u(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:Object(r["a"])({},n);var i={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||c(n,s))||t.data&&c(n,l)||t.attr&&a.includes(n))&&(i[n]=e[n])})),i}},bYtY:function(e,t){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},r={"[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},i=Object.prototype.toString,o=Array.prototype,a=o.forEach,s=o.filter,l=o.slice,c=o.map,u=o.reduce,d={};function h(e,t){"createCanvas"===e&&(v=null),d[e]=t}function f(e){if(null==e||"object"!==typeof e)return e;var t=e,o=i.call(e);if("[object Array]"===o){if(!q(e)){t=[];for(var a=0,s=e.length;a<s;a++)t[a]=f(e[a])}}else if(r[o]){if(!q(e)){var l=e.constructor;if(e.constructor.from)t=l.from(e);else{t=new l(e.length);for(a=0,s=e.length;a<s;a++)t[a]=f(e[a])}}}else if(!n[o]&&!q(e)&&!F(e))for(var c in t={},e)e.hasOwnProperty(c)&&(t[c]=f(e[c]));return t}function p(e,t,n){if(!P(t)||!P(e))return n?f(t):e;for(var r in t)if(t.hasOwnProperty(r)){var i=e[r],o=t[r];!P(o)||!P(i)||I(o)||I(i)||F(o)||F(i)||N(o)||N(i)||q(o)||q(i)?!n&&r in e||(e[r]=f(t[r],!0)):p(i,o,n)}return e}function A(e,t){for(var n=e[0],r=1,i=e.length;r<i;r++)n=p(n,e[r],t);return n}function g(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function m(e,t,n){for(var r in t)t.hasOwnProperty(r)&&(n?null!=t[r]:null==e[r])&&(e[r]=t[r]);return e}var v,y=function(){return d.createCanvas()};function b(){return v||(v=y().getContext("2d")),v}function _(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function w(e,t){var n=e.prototype;function r(){}for(var i in r.prototype=t.prototype,e.prototype=new r,n)n.hasOwnProperty(i)&&(e.prototype[i]=n[i]);e.prototype.constructor=e,e.superClass=t}function x(e,t,n){e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,m(e,t,n)}function C(e){if(e)return"string"!==typeof e&&"number"===typeof e.length}function S(e,t,n){if(e&&t)if(e.forEach&&e.forEach===a)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function k(e,t,n){if(e&&t){if(e.map&&e.map===c)return e.map(t,n);for(var r=[],i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i,e));return r}}function E(e,t,n,r){if(e&&t){if(e.reduce&&e.reduce===u)return e.reduce(t,n,r);for(var i=0,o=e.length;i<o;i++)n=t.call(r,n,e[i],i,e);return n}}function O(e,t,n){if(e&&t){if(e.filter&&e.filter===s)return e.filter(t,n);for(var r=[],i=0,o=e.length;i<o;i++)t.call(n,e[i],i,e)&&r.push(e[i]);return r}}function B(e,t,n){if(e&&t)for(var r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return e[r]}function M(e,t){var n=l.call(arguments,2);return function(){return e.apply(t,n.concat(l.call(arguments)))}}function T(e){var t=l.call(arguments,1);return function(){return e.apply(this,t.concat(l.call(arguments)))}}function I(e){return"[object Array]"===i.call(e)}function L(e){return"function"===typeof e}function D(e){return"[object String]"===i.call(e)}function P(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function N(e){return!!n[i.call(e)]}function j(e){return!!r[i.call(e)]}function F(e){return"object"===typeof e&&"number"===typeof e.nodeType&&"object"===typeof e.ownerDocument}function R(e){return e!==e}function U(e){for(var t=0,n=arguments.length;t<n;t++)if(null!=arguments[t])return arguments[t]}function H(e,t){return null!=e?e:t}function Q(e,t,n){return null!=e?e:null!=t?t:n}function K(){return Function.call.apply(l,arguments)}function z(e){if("number"===typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function V(e,t){if(!e)throw new Error(t)}function W(e){return null==e?null:"function"===typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}d.createCanvas=function(){return document.createElement("canvas")};var G="__ec_primitive__";function X(e){e[G]=!0}function q(e){return e[G]}function Y(e){var t=I(e);this.data={};var n=this;function r(e,r){t?n.set(e,r):n.set(r,e)}e instanceof Y?e.each(r):e&&S(e,r)}function Z(e){return new Y(e)}function J(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];var i=e.length;for(r=0;r<t.length;r++)n[r+i]=t[r];return n}function $(){}Y.prototype={constructor:Y,get:function(e){return this.data.hasOwnProperty(e)?this.data[e]:null},set:function(e,t){return this.data[e]=t},each:function(e,t){for(var n in void 0!==t&&(e=M(e,t)),this.data)this.data.hasOwnProperty(n)&&e(this.data[n],n)},removeKey:function(e){delete this.data[e]}},t.$override=h,t.clone=f,t.merge=p,t.mergeAll=A,t.extend=g,t.defaults=m,t.createCanvas=y,t.getContext=b,t.indexOf=_,t.inherits=w,t.mixin=x,t.isArrayLike=C,t.each=S,t.map=k,t.reduce=E,t.filter=O,t.find=B,t.bind=M,t.curry=T,t.isArray=I,t.isFunction=L,t.isString=D,t.isObject=P,t.isBuiltInObject=N,t.isTypedArray=j,t.isDom=F,t.eqNaN=R,t.retrieve=U,t.retrieve2=H,t.retrieve3=Q,t.slice=K,t.normalizeCssArray=z,t.assert=V,t.trim=W,t.setAsPrimitive=X,t.isPrimitive=q,t.createHashMap=Z,t.concatArray=J,t.noop=$},bZqE:function(e,t){function n(e,t,n){var r,i=[e],o=[];while(r=i.pop())if(o.push(r),r.isExpand){var a=r.children;if(a.length)for(var s=0;s<a.length;s++)i.push(a[s])}while(r=o.pop())t(r,n)}function r(e,t){var n,r=[e];while(n=r.pop())if(t(n),n.isExpand){var i=n.children;if(i.length)for(var o=i.length-1;o>=0;o--)r.push(i[o])}}t.eachAfter=n,t.eachBefore=r},bahg:function(e,t){function n(e){return e.split("")}e.exports=n},bbsP:function(e,t,n){"use strict";n("cIOH"),n("CWI+")},bogI:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){if(!e)return null;var t="function"===typeof e;return t?e():e}},bsht:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},bx4M:function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("q1tI"),l=n("TSYQ"),c=n.n(l),u=n("BGR+"),d=n("H84U"),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},f=function(e){return s["createElement"](d["a"],null,(function(t){var n=t.getPrefixCls,r=e.prefixCls,o=e.className,l=e.hoverable,u=void 0===l||l,d=h(e,["prefixCls","className","hoverable"]),f=n("card",r),p=c()("".concat(f,"-grid"),o,i()({},"".concat(f,"-grid-hoverable"),u));return s["createElement"]("div",a()({},d,{className:p}))}))},p=f,A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},g=function(e){return s["createElement"](d["a"],null,(function(t){var n=t.getPrefixCls,r=e.prefixCls,i=e.className,o=e.avatar,l=e.title,u=e.description,d=A(e,["prefixCls","className","avatar","title","description"]),h=n("card",r),f=c()("".concat(h,"-meta"),i),p=o?s["createElement"]("div",{className:"".concat(h,"-meta-avatar")},o):null,g=l?s["createElement"]("div",{className:"".concat(h,"-meta-title")},l):null,m=u?s["createElement"]("div",{className:"".concat(h,"-meta-description")},u):null,v=g||m?s["createElement"]("div",{className:"".concat(h,"-meta-detail")},g,m):null;return s["createElement"]("div",a()({},d,{className:f}),p,v)}))},m=g,v=n("ZTPi"),y=n("BMrR"),b=n("kPKH"),_=n("3Nzz"),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function x(e){var t=e.map((function(t,n){return s["createElement"]("li",{style:{width:"".concat(100/e.length,"%")},key:"action-".concat(n)},s["createElement"]("span",null,t))}));return t}var C=function(e){var t,n,r,o=s["useContext"](d["b"]),l=o.getPrefixCls,h=o.direction,f=s["useContext"](_["b"]),A=function(t){e.onTabChange&&e.onTabChange(t)},g=function(){var t;return s["Children"].forEach(e.children,(function(e){e&&e.type&&e.type===p&&(t=!0)})),t},m=e.prefixCls,C=e.className,S=e.extra,k=e.headStyle,E=void 0===k?{}:k,O=e.bodyStyle,B=void 0===O?{}:O,M=e.title,T=e.loading,I=e.bordered,L=void 0===I||I,D=e.size,P=e.type,N=e.cover,j=e.actions,F=e.tabList,R=e.children,U=e.activeTabKey,H=e.defaultActiveTabKey,Q=e.tabBarExtraContent,K=e.hoverable,z=e.tabProps,V=void 0===z?{}:z,W=w(e,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),G=l("card",m),X=0===B.padding||"0px"===B.padding?{padding:24}:void 0,q=s["createElement"]("div",{className:"".concat(G,"-loading-block")}),Y=s["createElement"]("div",{className:"".concat(G,"-loading-content"),style:X},s["createElement"](y["a"],{gutter:8},s["createElement"](b["a"],{span:22},q)),s["createElement"](y["a"],{gutter:8},s["createElement"](b["a"],{span:8},q),s["createElement"](b["a"],{span:15},q)),s["createElement"](y["a"],{gutter:8},s["createElement"](b["a"],{span:6},q),s["createElement"](b["a"],{span:18},q)),s["createElement"](y["a"],{gutter:8},s["createElement"](b["a"],{span:13},q),s["createElement"](b["a"],{span:9},q)),s["createElement"](y["a"],{gutter:8},s["createElement"](b["a"],{span:4},q),s["createElement"](b["a"],{span:3},q),s["createElement"](b["a"],{span:16},q))),Z=void 0!==U,J=a()(a()({},V),(t={},i()(t,Z?"activeKey":"defaultActiveKey",Z?U:H),i()(t,"tabBarExtraContent",Q),t)),$=F&&F.length?s["createElement"](v["a"],a()({size:"large"},J,{className:"".concat(G,"-head-tabs"),onChange:A}),F.map((function(e){return s["createElement"](v["a"].TabPane,{tab:e.tab,disabled:e.disabled,key:e.key})}))):null;(M||S||$)&&(r=s["createElement"]("div",{className:"".concat(G,"-head"),style:E},s["createElement"]("div",{className:"".concat(G,"-head-wrapper")},M&&s["createElement"]("div",{className:"".concat(G,"-head-title")},M),S&&s["createElement"]("div",{className:"".concat(G,"-extra")},S)),$));var ee=N?s["createElement"]("div",{className:"".concat(G,"-cover")},N):null,te=s["createElement"]("div",{className:"".concat(G,"-body"),style:B},T?Y:R),ne=j&&j.length?s["createElement"]("ul",{className:"".concat(G,"-actions")},x(j)):null,re=Object(u["default"])(W,["onTabChange"]),ie=D||f,oe=c()(G,C,(n={},i()(n,"".concat(G,"-loading"),T),i()(n,"".concat(G,"-bordered"),L),i()(n,"".concat(G,"-hoverable"),K),i()(n,"".concat(G,"-contain-grid"),g()),i()(n,"".concat(G,"-contain-tabs"),F&&F.length),i()(n,"".concat(G,"-").concat(ie),ie),i()(n,"".concat(G,"-type-").concat(P),!!P),i()(n,"".concat(G,"-rtl"),"rtl"===h),n));return s["createElement"]("div",a()({},re,{className:oe}),r,ee,te,ne)};C.Grid=p,C.Meta=m;t["a"]=C},c2i1:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("Yl7c"),a=o.enableClassCheck;function s(e){return"_EC_"+e}var l=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},c=l.prototype;function u(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function d(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}c.type="graph",c.isDirected=function(){return this._directed},c.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[s(e)]){var r=new u(e,t);return r.hostGraph=this,this.nodes.push(r),n[s(e)]=r,r}},c.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},c.getNodeById=function(e){return this._nodesMap[s(e)]},c.addEdge=function(e,t,n){var r=this._nodesMap,i=this._edgesMap;if("number"===typeof e&&(e=this.nodes[e]),"number"===typeof t&&(t=this.nodes[t]),u.isInstance(e)||(e=r[s(e)]),u.isInstance(t)||(t=r[s(t)]),e&&t){var o=e.id+"-"+t.id;if(!i[o]){var a=new d(e,t,n);return a.hostGraph=this,this._directed&&(e.outEdges.push(a),t.inEdges.push(a)),e.edges.push(a),e!==t&&t.edges.push(a),this.edges.push(a),i[o]=a,a}}},c.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},c.getEdge=function(e,t){u.isInstance(e)&&(e=e.id),u.isInstance(t)&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},c.eachNode=function(e,t){for(var n=this.nodes,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&e.call(t,n[i],i)},c.eachEdge=function(e,t){for(var n=this.edges,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&e.call(t,n[i],i)},c.breadthFirstTraverse=function(e,t,n,r){if(u.isInstance(t)||(t=this._nodesMap[s(t)]),t){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(r,t,null)){var a=[t];while(a.length){var l=a.shift(),c=l[i];for(o=0;o<c.length;o++){var d=c[o],h=d.node1===l?d.node2:d.node1;if(!h.__visited){if(e.call(r,h,l))return;a.push(h),h.__visited=!0}}}}}},c.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,r=this.edges,i=0,o=n.length;i<o;i++)n[i].dataIndex=-1;for(i=0,o=e.count();i<o;i++)n[e.getRawIndex(i)].dataIndex=i;t.filterSelf((function(e){var n=r[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(i=0,o=r.length;i<o;i++)r[i].dataIndex=-1;for(i=0,o=t.count();i<o;i++)r[t.getRawIndex(i)].dataIndex=i},c.clone=function(){for(var e=new l(this._directed),t=this.nodes,n=this.edges,r=0;r<t.length;r++)e.addNode(t[r].id,t[r].dataIndex);for(r=0;r<n.length;r++){var i=n[r];e.addEdge(i.node1.id,i.node2.id,i.dataIndex)}return e},u.prototype={constructor:u,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.data.getItemModel(this.dataIndex);return n.getModel(e)}}},d.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.edgeData.getItemModel(this.dataIndex);return n.getModel(e)}};var h=function(e,t){return{getValue:function(n){var r=this[e][t];return r.get(r.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,r){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n,r){return this[e][t].getItemVisual(this.dataIndex,n,r)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};i.mixin(u,h("hostGraph","data")),i.mixin(d,h("hostGraph","edgeData")),l.Node=u,l.Edge=d,a(u),a(d);var f=l;e.exports=f},c3jg:function(e,t,n){"use strict";n.d(t,"e",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"f",(function(){return p})),n.d(t,"b",(function(){return A}));var r=n("KQm4"),i=n("VTBJ"),o=n("Ff2n"),a=n("Zm9Q"),s=n("Kwbf"),l=n("wPhX");function c(e,t){return null!==e&&void 0!==e?e:t}function u(e){function t(e){var n=Object(a["a"])(e);return n.map((function(e){if(!Object(l["i"])(e))return Object(s["a"])(!e,"Tree/TreeNode can only accept TreeNode as children."),null;var n=e.key,r=e.props,a=r.children,c=Object(o["a"])(r,["children"]),u=Object(i["a"])({key:n},c),d=t(a);return d.length&&(u.children=d),u})).filter((function(e){return e}))}return t(e)}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=new Set(!0===t?[]:t),o=[];function a(e){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.map((function(u,d){var h=Object(l["h"])(s?s.pos:"0",d),f=c(u.key,h),p=Object(i["a"])(Object(i["a"])({},u),{},{parent:s,pos:h,children:null,data:u,isStart:[].concat(Object(r["a"])(s?s.isStart:[]),[0===d]),isEnd:[].concat(Object(r["a"])(s?s.isEnd:[]),[d===e.length-1])});return o.push(p),!0===t||n.has(f)?p.children=a(u.children||[],p):p.children=[],p}))}return a(e),o}function h(e,t,n){var r;function i(n,o,a){var s=n?n.children:e,c=n?Object(l["h"])(a.pos,o):"0";if(n){var u=r(n,c),d={node:n,index:o,pos:c,key:u,parentPos:a.node?a.pos:null,level:a.level+1};t(d)}s&&s.forEach((function(e,t){i(e,t,{node:n,pos:c,level:a?a.level+1:-1})}))}n?"string"===typeof n?r=function(e){return e[n]}:"function"===typeof n&&(r=function(e){return n(e)}):r=function(e,t){return c(e.key,t)},i(null)}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,i=t.onProcessFinished,o=arguments.length>2?arguments[2]:void 0,a={},s={},l={posEntities:a,keyEntities:s};return n&&(l=n(l)||l),h(e,(function(e){var t=e.node,n=e.index,i=e.pos,o=e.key,u=e.parentPos,d=e.level,h={node:t,index:n,key:o,pos:i,level:d},f=c(o,i);a[i]=h,s[f]=h,h.parent=a[u],h.parent&&(h.parent.children=h.parent.children||[],h.parent.children.push(h)),r&&r(h,l)}),o),i&&i(l),l}function p(e,t){var n=t.expandedKeys,r=t.selectedKeys,i=t.loadedKeys,o=t.loadingKeys,a=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,c=t.dropPosition,u=t.keyEntities,d=u[e],h={eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==i.indexOf(e),loading:-1!==o.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==s.indexOf(e),pos:String(d?d.pos:""),dragOver:l===e&&0===c,dragOverGapTop:l===e&&-1===c,dragOverGapBottom:l===e&&1===c};return h}function A(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,a=e.loaded,l=e.loading,c=e.halfChecked,u=e.dragOver,d=e.dragOverGapTop,h=e.dragOverGapBottom,f=e.pos,p=e.active,A=Object(i["a"])(Object(i["a"])({},t),{},{expanded:n,selected:r,checked:o,loaded:a,loading:l,halfChecked:c,dragOver:u,dragOverGapTop:d,dragOverGapBottom:h,pos:f,active:p});return"props"in A||Object.defineProperty(A,"props",{get:function(){return Object(s["a"])(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),A}},c5Ni:function(e,t,n){},c5fP:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t._tr_init=pe,t._tr_stored_block=Ae,t._tr_flush_block=me,t._tr_tally=ve,t._tr_align=ge;var i=a(n("6BzB"));function o(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n["default"]=e,t&&t.set(e,n),n}var s=4,l=0,c=1,u=2;function d(e){var t=e.length;while(--t>=0)e[t]=0}var h=0,f=1,p=2,A=3,g=258,m=29,v=256,y=v+1+m,b=30,_=19,w=2*y+1,x=15,C=16,S=7,k=256,E=16,O=17,B=18,M=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],T=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],L=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],D=512,P=new Array(2*(y+2));d(P);var N=new Array(2*b);d(N);var j=new Array(D);d(j);var F=new Array(g-A+1);d(F);var R=new Array(m);d(R);var U,H,Q,K=new Array(b);function z(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function V(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function W(e){return e<256?j[e]:j[256+(e>>>7)]}function G(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function X(e,t,n){e.bi_valid>C-n?(e.bi_buf|=t<<e.bi_valid&65535,G(e,e.bi_buf),e.bi_buf=t>>C-e.bi_valid,e.bi_valid+=n-C):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function q(e,t,n){X(e,n[2*t],n[2*t+1])}function Y(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function Z(e){16===e.bi_valid?(G(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function J(e,t){var n,r,i,o,a,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,A=0;for(o=0;o<=x;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<w;n++)r=e.heap[n],o=l[2*l[2*r+1]+1]+1,o>p&&(o=p,A++),l[2*r+1]=o,r>c||(e.bl_count[o]++,a=0,r>=f&&(a=h[r-f]),s=l[2*r],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(u[2*r+1]+a)));if(0!==A){do{o=p-1;while(0===e.bl_count[o])o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,A-=2}while(A>0);for(o=p;0!==o;o--){r=e.bl_count[o];while(0!==r)i=e.heap[--n],i>c||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),r--)}}}function $(e,t,n){var r,i,o=new Array(x+1),a=0;for(r=1;r<=x;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=Y(o[s]++,s))}}function ee(){var e,t,n,r,i,o=new Array(x+1);for(n=0,r=0;r<m-1;r++)for(R[r]=n,e=0;e<1<<M[r];e++)F[n++]=r;for(F[n-1]=r,i=0,r=0;r<16;r++)for(K[r]=i,e=0;e<1<<T[r];e++)j[i++]=r;for(i>>=7;r<b;r++)for(K[r]=i<<7,e=0;e<1<<T[r]-7;e++)j[256+i++]=r;for(t=0;t<=x;t++)o[t]=0;e=0;while(e<=143)P[2*e+1]=8,e++,o[8]++;while(e<=255)P[2*e+1]=9,e++,o[9]++;while(e<=279)P[2*e+1]=7,e++,o[7]++;while(e<=287)P[2*e+1]=8,e++,o[8]++;for($(P,y+1,o),e=0;e<b;e++)N[2*e+1]=5,N[2*e]=Y(e,5);U=new z(P,M,v+1,y,x),H=new z(N,T,0,b,x),Q=new z(new Array(0),I,0,_,S)}function te(e){var t;for(t=0;t<y;t++)e.dyn_ltree[2*t]=0;for(t=0;t<b;t++)e.dyn_dtree[2*t]=0;for(t=0;t<_;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*k]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function ne(e){e.bi_valid>8?G(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function re(e,t,n,r){ne(e),r&&(G(e,n),G(e,~n)),i.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function ie(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function oe(e,t,n){var r=e.heap[n],i=n<<1;while(i<=e.heap_len){if(i<e.heap_len&&ie(t,e.heap[i+1],e.heap[i],e.depth)&&i++,ie(t,r,e.heap[i],e.depth))break;e.heap[n]=e.heap[i],n=i,i<<=1}e.heap[n]=r}function ae(e,t,n){var r,i,o,a,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?q(e,i,t):(o=F[i],q(e,o+v+1,t),a=M[o],0!==a&&(i-=R[o],X(e,i,a)),r--,o=W(r),q(e,o,n),a=T[o],0!==a&&(r-=K[o],X(e,r,a)))}while(s<e.last_lit);q(e,k,t)}function se(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=w,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;while(e.heap_len<2)i=e.heap[++e.heap_len]=c<2?++c:0,o[2*i]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)oe(e,o,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],oe(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,oe(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],J(e,t),$(o,c,e.bl_count)}function le(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<l&&i===a||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*E]++):s<=10?e.bl_tree[2*O]++:e.bl_tree[2*B]++,s=0,o=i,0===a?(l=138,c=3):i===a?(l=6,c=3):(l=7,c=4))}function ce(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<l&&i===a)){if(s<c)do{q(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==o&&(q(e,i,e.bl_tree),s--),q(e,E,e.bl_tree),X(e,s-3,2)):s<=10?(q(e,O,e.bl_tree),X(e,s-3,3)):(q(e,B,e.bl_tree),X(e,s-11,7));s=0,o=i,0===a?(l=138,c=3):i===a?(l=6,c=3):(l=7,c=4)}}function ue(e){var t;for(le(e,e.dyn_ltree,e.l_desc.max_code),le(e,e.dyn_dtree,e.d_desc.max_code),se(e,e.bl_desc),t=_-1;t>=3;t--)if(0!==e.bl_tree[2*L[t]+1])break;return e.opt_len+=3*(t+1)+5+5+4,t}function de(e,t,n,r){var i;for(X(e,t-257,5),X(e,n-1,5),X(e,r-4,4),i=0;i<r;i++)X(e,e.bl_tree[2*L[i]+1],3);ce(e,e.dyn_ltree,t-1),ce(e,e.dyn_dtree,n-1)}function he(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return l;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return c;for(t=32;t<v;t++)if(0!==e.dyn_ltree[2*t])return c;return l}d(K);var fe=!1;function pe(e){fe||(ee(),fe=!0),e.l_desc=new V(e.dyn_ltree,U),e.d_desc=new V(e.dyn_dtree,H),e.bl_desc=new V(e.bl_tree,Q),e.bi_buf=0,e.bi_valid=0,te(e)}function Ae(e,t,n,r){X(e,(h<<1)+(r?1:0),3),re(e,t,n,!0)}function ge(e){X(e,f<<1,3),q(e,k,P),Z(e)}function me(e,t,n,r){var i,o,a=0;e.level>0?(e.strm.data_type===u&&(e.strm.data_type=he(e)),se(e,e.l_desc),se(e,e.d_desc),a=ue(e),i=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?Ae(e,t,n,r):e.strategy===s||o===i?(X(e,(f<<1)+(r?1:0),3),ae(e,P,N)):(X(e,(p<<1)+(r?1:0),3),de(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),ae(e,e.dyn_ltree,e.dyn_dtree)),te(e),r&&ne(e)}function ve(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(F[n]+v+1)]++,e.dyn_dtree[2*W(t)]++),e.last_lit===e.lit_bufsize-1}},c6wG:function(e,t,n){var r=n("dD9F"),i=n("sEf8"),o=n("mdPL"),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},c8qY:function(e,t,n){var r=n("IwbS"),i=n("fls0");function o(e){this._ctor=e||i,this.group=new r.Group}var a=o.prototype;function s(e,t,n,r){var i=t.getItemLayout(n);if(h(i)){var o=new e._ctor(t,n,r);t.setItemGraphicEl(n,o),e.group.add(o)}}function l(e,t,n,r,i,o){var a=t.getItemGraphicEl(r);h(n.getItemLayout(i))?(a?a.updateData(n,i,o):a=new e._ctor(n,i,o),n.setItemGraphicEl(i,a),e.group.add(a)):e.group.remove(a)}function c(e){return e.animators&&e.animators.length>0}function u(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function d(e){return isNaN(e[0])||isNaN(e[1])}function h(e){return!d(e[0])&&!d(e[1])}a.isPersistent=function(){return!0},a.updateData=function(e){var t=this,n=t.group,r=t._lineData;t._lineData=e,r||n.removeAll();var i=u(e);e.diff(r).add((function(n){s(t,e,n,i)})).update((function(n,o){l(t,r,e,o,n,i)})).remove((function(e){n.remove(r.getItemGraphicEl(e))})).execute()},a.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},a.incrementalPrepareUpdate=function(e){this._seriesScope=u(e),this._lineData=null,this.group.removeAll()},a.incrementalUpdate=function(e,t){function n(e){e.isGroup||c(e)||(e.incremental=e.useHoverLayer=!0)}for(var r=e.start;r<e.end;r++){var i=t.getItemLayout(r);if(h(i)){var o=new this._ctor(t,r,this._seriesScope);o.traverse(n),this.group.add(o),t.setItemGraphicEl(r,o)}}},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var f=o;e.exports=f},cCMj:function(e,t,n){var r=n("bYtY"),i={updateSelectedMap:function(e){this._targetList=r.isArray(e)?e.slice():[],this._selectTargetMap=r.reduce(e||[],(function(e,t){return e.set(t.name,t),e}),r.createHashMap())},select:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e),r=this.get("selectedMode");"single"===r&&this._selectTargetMap.each((function(e){e.selected=!1})),n&&(n.selected=!0)},unSelect:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);n&&(n.selected=!1)},toggleSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);if(null!=n)return this[n.selected?"unSelect":"select"](e,t),n.selected},isSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);return n&&n.selected}};e.exports=i},cVA7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n("MT78"),i=s(r),o=n("t3Fx"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function u(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(e){l(this,t);var n=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.echartsLib=i["default"],n}return u(t,e),t}(a["default"]);t["default"]=d},cWXX:function(e,t,n){"use strict";n("cIOH"),n("oIFs")},ca2m:function(e,t,n){var r=n("bYtY"),i={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)"]}}},o={};o.categoryAxis=r.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},i),o.valueAxis=r.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},i),o.timeAxis=r.defaults({scale:!0,min:"dataMin",max:"dataMax"},o.valueAxis),o.logAxis=r.defaults({scale:!0,logBase:10},o.valueAxis);var a=o;e.exports=a},cbJ4:function(e,t,n){var r=n("bYtY"),i=r.createHashMap;function o(e){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.getRawData(),r=e.get("color"),o=i();t.each((function(e){o.set(t.getRawIndex(e),e)})),n.each((function(i){var a=n.getName(i),s=r[(e.nameMap.get(a)-1)%r.length];n.setItemVisual(i,"color",s);var l=o.get(i);null!=l&&t.setItemVisual(l,"color",s)}))}))}e.exports=o},chpo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=1,i=function(){return"".concat(r++)};t["default"]=i},cpOr:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("T4UG")),o=n("YXkt"),a=n("bYtY"),s=a.concatArray,l=a.mergeAll,c=a.map,u=n("7aKB"),d=u.encodeHTML,h=(n("IDmD"),"undefined"===typeof Uint32Array?Array:Uint32Array),f="undefined"===typeof Float64Array?Array:Float64Array;function p(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=c(t,(function(e){var t=[e[0].coord,e[1].coord],n={coords:t};return e[0].name&&(n.fromName=e[0].name),e[1].name&&(n.toName=e[1].name),l([n,e[0],e[1]])})))}var A=i.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(e){e.data=e.data||[],p(e);var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),A.superApply(this,"init",arguments)},mergeOption:function(e){if(e.data=e.data||[],p(e),e.data){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count))}A.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,t.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},_getCoordsFromItemModel:function(e){var t=this.getData().getItemModel(e),n=t.option instanceof Array?t.option:t.getShallow("coords");return n},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],r=this._flatCoordsOffset[2*e+1],i=0;i<r;i++)t[i]=t[i]||[],t[i][0]=this._flatCoords[n+2*i],t[i][1]=this._flatCoords[n+2*i+1];return r}var o=this._getCoordsFromItemModel(e);for(i=0;i<o.length;i++)t[i]=t[i]||[],t[i][0]=o[i][0],t[i][1]=o[i][1];return o.length},_processFlatCoordsArray:function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),"number"===typeof e[0]){for(var n=e.length,r=new h(n),i=new f(n),o=0,a=0,s=0,l=0;l<n;){s++;var c=e[l++];r[a++]=o+t,r[a++]=c;for(var u=0;u<c;u++){var d=e[l++],p=e[l++];i[o++]=d,i[o++]=p}}return{flatCoordsOffset:new Uint32Array(r.buffer,0,a),flatCoords:i,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},getInitialData:function(e,t){var n=new o(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,r,i){if(e instanceof Array)return NaN;n.hasItemOption=!0;var o=e.value;return null!=o?o instanceof Array?o[i]:o:void 0})),n},formatTooltip:function(e){var t=this.getData(),n=t.getItemModel(e),r=n.get("name");if(r)return r;var i=n.get("fromName"),o=n.get("toName"),a=[];return null!=i&&a.push(i),null!=o&&a.push(o),d(a.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},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}}}),g=A;e.exports=g},crZl:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("7aKB"),s=n("+TT/"),l=n("XxSj"),c=r.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,r){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,n=a.normalizeCssArray(t.get("padding")||0),r=e.getBoundingRect();e.add(new o.Rect({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){n=n||{};var r=n.forceState,o=this.visualMapModel,a={};if("symbol"===t&&(a.symbol=o.get("itemSymbol")),"color"===t){var s=o.get("contentColor");a.color=s}function c(e){return a[e]}function u(e,t){a[e]=t}var d=o.controllerVisuals[r||o.getValueState(e)],h=l.prepareVisualTypes(d);return i.each(h,(function(r){var i=d[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=d.__alphaForOpacity),l.dependsOn(r,t)&&i&&i.applyVisual(e,c,u)})),a[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;s.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:i.noop});e.exports=c},crp1:function(e,t,n){"use strict";n.d(t,"b",(function(){return X})),n.d(t,"a",(function(){return q}));var r=Uint8Array,i=Uint16Array,o=Uint32Array,a=new r([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]),s=new r([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),l=new r([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(e,t){for(var n=new i(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var a=new o(n[30]);for(r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)a[s]=s-n[r]<<5|r;return[n,a]},u=c(a,2),d=u[0],h=u[1];d[28]=258,h[258]=28;for(var f=c(s,0),p=f[0],A=f[1],g=new i(32768),m=0;m<32768;++m){var v=(43690&m)>>>1|(21845&m)<<1;v=(52428&v)>>>2|(13107&v)<<2,v=(61680&v)>>>4|(3855&v)<<4,g[m]=((65280&v)>>>8|(255&v)<<8)>>>1}var y=function(e,t,n){for(var r=e.length,o=0,a=new i(t);o<r;++o)++a[e[o]-1];var s,l=new i(t);for(o=0;o<t;++o)l[o]=l[o-1]+a[o-1]<<1;if(n){s=new i(1<<t);var c=15-t;for(o=0;o<r;++o)if(e[o])for(var u=o<<4|e[o],d=t-e[o],h=l[e[o]-1]++<<d,f=h|(1<<d)-1;h<=f;++h)s[g[h]>>>c]=u}else for(s=new i(r),o=0;o<r;++o)s[o]=g[l[e[o]-1]++]>>>15-e[o];return s},b=new r(288);for(m=0;m<144;++m)b[m]=8;for(m=144;m<256;++m)b[m]=9;for(m=256;m<280;++m)b[m]=7;for(m=280;m<288;++m)b[m]=8;var _=new r(32);for(m=0;m<32;++m)_[m]=5;var w=y(b,9,0),x=y(b,9,1),C=y(_,5,0),S=y(_,5,1),k=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},E=function(e,t,n){var r=t/8>>0;return(e[r]|e[r+1]<<8)>>>(7&t)&n},O=function(e,t){var n=t/8>>0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>>(7&t)},B=function(e){return(e/8>>0)+(7&e&&1)},M=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var a=new(e instanceof i?i:e instanceof o?o:r)(n-t);return a.set(e.subarray(t,n)),a},T=function(e,t,n){var i=e.length,o=!t||n,c=!n||n.i;n||(n={}),t||(t=new r(3*i));var u=function(e){var n=t.length;if(e>n){var i=new r(Math.max(2*n,e));i.set(t),t=i}},h=n.f||0,f=n.p||0,A=n.b||0,g=n.l,m=n.d,v=n.m,b=n.n,_=8*i;do{if(!g){n.f=h=E(e,f,1);var w=E(e,f+1,3);if(f+=3,!w){var C=B(f)+4,T=e[C-4]|e[C-3]<<8,I=C+T;if(I>i){if(c)throw"unexpected EOF";break}o&&u(A+T),t.set(e.subarray(C,I),A),n.b=A+=T,n.p=f=8*I;continue}if(1==w)g=x,m=S,v=9,b=5;else{if(2!=w)throw"invalid block type";var L=E(e,f,31)+257,D=E(e,f+10,15)+4,P=L+E(e,f+5,31)+1;f+=14;for(var N=new r(P),j=new r(19),F=0;F<D;++F)j[l[F]]=E(e,f+3*F,7);f+=3*D;var R=k(j),U=(1<<R)-1;if(!c&&f+P*(R+7)>_)break;var H=y(j,R,1);for(F=0;F<P;){var Q=H[E(e,f,U)];f+=15&Q;C=Q>>>4;if(C<16)N[F++]=C;else{var K=0,z=0;16==C?(z=3+E(e,f,3),f+=2,K=N[F-1]):17==C?(z=3+E(e,f,7),f+=3):18==C&&(z=11+E(e,f,127),f+=7);while(z--)N[F++]=K}}var V=N.subarray(0,L),W=N.subarray(L);v=k(V),b=k(W),g=y(V,v,1),m=y(W,b,1)}if(f>_)throw"unexpected EOF"}o&&u(A+131072);var G=(1<<v)-1,X=(1<<b)-1,q=v+b+18;while(c||f+q<_){K=g[O(e,f)&G];var Y=K>>>4;if(f+=15&K,f>_)throw"unexpected EOF";if(!K)throw"invalid length/literal";if(Y<256)t[A++]=Y;else{if(256==Y){g=null;break}var Z=Y-254;if(Y>264){F=Y-257;var J=a[F];Z=E(e,f,(1<<J)-1)+d[F],f+=J}var $=m[O(e,f)&X],ee=$>>>4;if(!$)throw"invalid distance";f+=15&$;W=p[ee];if(ee>3){J=s[ee];W+=O(e,f)&(1<<J)-1,f+=J}if(f>_)throw"unexpected EOF";o&&u(A+131072);for(var te=A+Z;A<te;A+=4)t[A]=t[A-W],t[A+1]=t[A+1-W],t[A+2]=t[A+2-W],t[A+3]=t[A+3-W];A=te}}n.l=g,n.p=f,n.b=A,g&&(h=1,n.m=v,n.d=m,n.n=b)}while(!h);return A==t.length?t:M(t,0,A)},I=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},L=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},D=function(e,t){for(var n=[],o=0;o<e.length;++o)e[o]&&n.push({s:o,f:e[o]});var a=n.length,s=n.slice();if(!a)return[new r(0),0];if(1==a){var l=new r(n[0].s+1);return l[n[0].s]=1,[l,1]}n.sort((function(e,t){return e.f-t.f})),n.push({s:-1,f:25001});var c=n[0],u=n[1],d=0,h=1,f=2;n[0]={s:-1,f:c.f+u.f,l:c,r:u};while(h!=a-1)c=n[n[d].f<n[f].f?d++:f++],u=n[d!=h&&n[d].f<n[f].f?d++:f++],n[h++]={s:-1,f:c.f+u.f,l:c,r:u};var p=s[0].s;for(o=1;o<a;++o)s[o].s>p&&(p=s[o].s);var A=new i(p+1),g=P(n[h-1],A,0);if(g>t){o=0;var m=0,v=g-t,y=1<<v;for(s.sort((function(e,t){return A[t.s]-A[e.s]||e.f-t.f}));o<a;++o){var b=s[o].s;if(!(A[b]>t))break;m+=y-(1<<g-A[b]),A[b]=t}m>>>=v;while(m>0){var _=s[o].s;A[_]<t?m-=1<<t-A[_]++-1:++o}for(;o>=0&&m;--o){var w=s[o].s;A[w]==t&&(--A[w],++m)}g=t}return[new r(A),g]},P=function e(t,n,r){return-1==t.s?Math.max(e(t.l,n,r+1),e(t.r,n,r+1)):n[t.s]=r},N=function(e){var t=e.length;while(t&&!e[--t]);for(var n=new i(++t),r=0,o=e[0],a=1,s=function(e){n[r++]=e},l=1;l<=t;++l)if(e[l]==o&&l!=t)++a;else{if(!o&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(o),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}while(a--)s(o);a=1,o=e[l]}return[n.subarray(0,r),t]},j=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},F=function(e,t,n){var r=n.length,i=B(t+2);e[i]=255&r,e[i+1]=r>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var o=0;o<r;++o)e[i+o+4]=n[o];return 8*(i+4+r)},R=function(e,t,n,r,o,c,u,d,h,f,p){I(t,p++,n),++o[256];for(var A=D(o,15),g=A[0],m=A[1],v=D(c,15),x=v[0],S=v[1],k=N(g),E=k[0],O=k[1],B=N(x),M=B[0],T=B[1],P=new i(19),R=0;R<E.length;++R)P[31&E[R]]++;for(R=0;R<M.length;++R)P[31&M[R]]++;for(var U=D(P,7),H=U[0],Q=U[1],K=19;K>4&&!H[l[K-1]];--K);var z,V,W,G,X=f+5<<3,q=j(o,b)+j(c,_)+u,Y=j(o,g)+j(c,x)+u+14+3*K+j(P,H)+(2*P[16]+3*P[17]+7*P[18]);if(X<=q&&X<=Y)return F(t,p,e.subarray(h,h+f));if(I(t,p,1+(Y<q)),p+=2,Y<q){z=y(g,m,0),V=g,W=y(x,S,0),G=x;var Z=y(H,Q,0);I(t,p,O-257),I(t,p+5,T-1),I(t,p+10,K-4),p+=14;for(R=0;R<K;++R)I(t,p+3*R,H[l[R]]);p+=3*K;for(var J=[E,M],$=0;$<2;++$){var ee=J[$];for(R=0;R<ee.length;++R){var te=31&ee[R];I(t,p,Z[te]),p+=H[te],te>15&&(I(t,p,ee[R]>>>5&127),p+=ee[R]>>>12)}}}else z=w,V=b,W=C,G=_;for(R=0;R<d;++R)if(r[R]>255){te=r[R]>>>18&31;L(t,p,z[te+257]),p+=V[te+257],te>7&&(I(t,p,r[R]>>>23&31),p+=a[te]);var ne=31&r[R];L(t,p,W[ne]),p+=G[ne],ne>3&&(L(t,p,r[R]>>>5&8191),p+=s[ne])}else L(t,p,z[r[R]]),p+=V[r[R]];return L(t,p,z[256]),p+V[256]},U=new o([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),H=new r(0),Q=function(e,t,n,l,c,u){var d=e.length,f=new r(l+d+5*(1+Math.floor(d/7e3))+c),p=f.subarray(l,f.length-c),g=0;if(!t||d<8)for(var m=0;m<=d;m+=65535){var v=m+65535;v<d?g=F(p,g,e.subarray(m,v)):(p[m]=u,g=F(p,g,e.subarray(m,d)))}else{for(var y=U[t-1],b=y>>>13,_=8191&y,w=(1<<n)-1,x=new i(32768),C=new i(w+1),S=Math.ceil(n/3),k=2*S,E=function(t){return(e[t]^e[t+1]<<S^e[t+2]<<k)&w},O=new o(25e3),T=new i(288),I=new i(32),L=0,D=0,P=(m=0,0),N=0,j=0;m<d;++m){var Q=E(m),K=32767&m,z=C[Q];if(x[K]=z,C[Q]=K,N<=m){var V=d-m;if((L>7e3||P>24576)&&V>423){g=R(e,p,0,O,T,I,D,P,j,m-j,g),P=L=D=0,j=m;for(var W=0;W<286;++W)T[W]=0;for(W=0;W<30;++W)I[W]=0}var G=2,X=0,q=_,Y=K-z&32767;if(V>2&&Q==E(m-Y)){var Z=Math.min(b,V)-1,J=Math.min(32767,m),$=Math.min(258,V);while(Y<=J&&--q&&K!=z){if(e[m+G]==e[m+G-Y]){for(var ee=0;ee<$&&e[m+ee]==e[m+ee-Y];++ee);if(ee>G){if(G=ee,X=Y,ee>Z)break;var te=Math.min(Y,ee-2),ne=0;for(W=0;W<te;++W){var re=m-Y+W+32768&32767,ie=x[re],oe=re-ie+32768&32767;oe>ne&&(ne=oe,z=re)}}}K=z,z=x[K],Y+=K-z+32768&32767}}if(X){O[P++]=268435456|h[G]<<18|A[X];var ae=31&h[G],se=31&A[X];D+=a[ae]+s[se],++T[257+ae],++I[se],N=m+G,++L}else O[P++]=e[m],++T[e[m]]}}g=R(e,p,u,O,T,I,D,P,j,m-j,g),u||(g=F(p,g,H))}return M(f,0,l+B(g)+c)},K=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,o=n.length,a=0;a!=o;){for(var s=Math.min(a+5552,o);a<s;++a)r+=n[a],i+=r;r%=65521,i%=65521}e=r,t=i},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}},z=function(e,t,n,r,i){return Q(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!i)},V=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},W=function(e,t){var n=t.level,r=0==n?0:n<6?1:9==n?3:2;e[0]=120,e[1]=r<<6|(r?32-2*r:1)},G=function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"};function X(e,t){void 0===t&&(t={});var n=K();n.p(e);var r=z(e,t,2,4);return W(r,t),V(r,r.length-4,n.d()),r}function q(e,t){return T((G(e),e.subarray(2,-4)),t)}},czTT:function(e,t,n){},d4KN:function(e,t,n){var r=n("ProS"),i=n("bYtY");function o(e,t){i.each(t,(function(t){t.update="updateView",r.registerAction(t,(function(n,r){var i={};return r.eachComponent({mainType:"series",subType:e,query:n},(function(e){e[t.method]&&e[t.method](n.name,n.dataIndex);var r=e.getData();r.each((function(t){var n=r.getName(t);i[n]=e.isSelected(n)||!1}))})),{name:n.name,selected:i,seriesId:n.seriesId}}))}))}e.exports=o},dBmv:function(e,t,n){var r=n("ProS"),i=n("szbU");n("vF/C"),n("qwVE"),n("MHoB"),n("PNag"),n("1u/T"),r.registerPreprocessor(i)},dD9F:function(e,t,n){var r=n("NykK"),i=n("shjB"),o=n("ExA7"),a="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",d="[object Function]",h="[object Map]",f="[object Number]",p="[object Object]",A="[object RegExp]",g="[object Set]",m="[object String]",v="[object WeakMap]",y="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",w="[object Float64Array]",x="[object Int8Array]",C="[object Int16Array]",S="[object Int32Array]",k="[object Uint8Array]",E="[object Uint8ClampedArray]",O="[object Uint16Array]",B="[object Uint32Array]",M={};function T(e){return o(e)&&i(e.length)&&!!M[r(e)]}M[_]=M[w]=M[x]=M[C]=M[S]=M[k]=M[E]=M[O]=M[B]=!0,M[a]=M[s]=M[y]=M[l]=M[b]=M[c]=M[u]=M[d]=M[h]=M[f]=M[p]=M[A]=M[g]=M[m]=M[v]=!1,e.exports=T},"dF/Y":function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="DownloadOutlined";t["a"]=i["forwardRef"](l)},dMvE:function(e,t){var n={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r))},elasticOut:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-n.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*n.bounceIn(2*e):.5*n.bounceOut(2*e-1)+.5}},r=n;e.exports=r},diRs:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("q1tI"),a=n("3S7+"),s=n("H84U"),l=n("bogI"),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},u=o["forwardRef"]((function(e,t){var n=e.prefixCls,r=e.title,u=e.content,d=c(e,["prefixCls","title","content"]),h=o["useContext"](s["b"]),f=h.getPrefixCls,p=function(e){return o["createElement"](o["Fragment"],null,r&&o["createElement"]("div",{className:"".concat(e,"-title")},Object(l["a"])(r)),o["createElement"]("div",{className:"".concat(e,"-inner-content")},Object(l["a"])(u)))},A=f("popover",n);return o["createElement"](a["a"],i()({},d,{prefixCls:A,ref:t,overlay:p(A)}))}));u.displayName="Popover",u.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},t["a"]=u},digP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"};t.default=r},dm2S:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("ODXe"),i=n("q1tI");function o(e){var t=i["useRef"](!1),n=i["useState"](e),o=Object(r["a"])(n,2),a=o[0],s=o[1];function l(e,n){n&&t.current||s(e)}return i["useEffect"]((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,l]}},dmGj:function(e,t,n){var r=n("DEFe"),i=n("ProS"),o=i.extendComponentView({type:"geo",init:function(e,t){var n=new r(t,!0);this._mapDraw=n,this.group.add(n.group)},render:function(e,t,n,r){if(!r||"geoToggleSelect"!==r.type||r.from!==this.uid){var i=this._mapDraw;e.get("show")?i.draw(e,t,n,this,r):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});e.exports=o},dnwI:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("YH21"),a=n("Kagy"),s=n("IUWy"),l=a.toolbox.dataView,c=new Array(60).join("-"),u="\t";function d(e){var t={},n=[],r=[];return e.eachRawSeries((function(e){var i=e.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(e);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function h(e){var t=[];return i.each(e,(function(e,n){var r=e.categoryAxis,o=e.valueAxis,a=o.dim,s=[" "].concat(i.map(e.series,(function(e){return e.name}))),l=[r.model.getCategories()];i.each(e.series,(function(e){l.push(e.getRawData().mapArray(a,(function(e){return e})))}));for(var c=[s.join(u)],d=0;d<l[0].length;d++){for(var h=[],f=0;f<l.length;f++)h.push(l[f][d]);c.push(h.join(u))}t.push(c.join("\n"))})),t.join("\n\n"+c+"\n\n")}function f(e){return i.map(e,(function(e){var t=e.getRawData(),n=[e.name],r=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,i=arguments[e-1],o=t.getName(i),a=0;a<e-1;a++)r[a]=arguments[a];n.push((o?o+u:"")+r.join(u))})),n.join("\n")})).join("\n\n"+c+"\n\n")}function p(e){var t=d(e);return{value:i.filter([h(t.seriesGroupByCategoryAxis),f(t.other)],(function(e){return e.replace(/[\n\t\s]/g,"")})).join("\n\n"+c+"\n\n"),meta:t.meta}}function A(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function g(e){var t=e.slice(0,e.indexOf("\n"));if(t.indexOf(u)>=0)return!0}var m=new RegExp("["+u+"]+","g");function v(e){for(var t=e.split(/\n+/g),n=A(t.shift()).split(m),r=[],o=i.map(n,(function(e){return{name:e,data:[]}})),a=0;a<t.length;a++){var s=A(t[a]).split(m);r.push(s.shift());for(var l=0;l<s.length;l++)o[l]&&(o[l].data[a]=s[l])}return{series:o,categories:r}}function y(e){for(var t=e.split(/\n+/g),n=A(t.shift()),r=[],i=0;i<t.length;i++){var o,a=A(t[i]).split(m),s="",l=!1;isNaN(a[0])?(l=!0,s=a[0],a=a.slice(1),r[i]={name:s,value:[]},o=r[i].value):o=r[i]=[];for(var c=0;c<a.length;c++)o.push(+a[c]);1===o.length&&(l?r[i].value=o[0]:r[i]=o[0])}return{name:n,data:r}}function b(e,t){var n=e.split(new RegExp("\n*"+c+"\n*","g")),r={series:[]};return i.each(n,(function(e,n){if(g(e)){var i=v(e),o=t[n],a=o.axisDim+"Axis";o&&(r[a]=r[a]||[],r[a][o.axisIndex]={data:i.categories},r.series=r.series.concat(i.series))}else{i=y(e);r.series.push(i)}})),r}function _(e){this._dom=null,this.model=e}function w(e,t){return i.map(e,(function(e,n){var r=t&&t[n];return i.isObject(r)&&!i.isArray(r)?(i.isObject(e)&&!i.isArray(e)&&(e=e.value),i.defaults({value:e},r)):e}))}_.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:i.clone(l.title),lang:i.clone(l.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},_.prototype.onclick=function(e,t){var n=t.getDom(),r=this.model;this._dom&&n.removeChild(this._dom);var a=document.createElement("div");a.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",a.style.backgroundColor=r.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=r.get("lang")||[];s.innerHTML=l[0]||r.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=r.get("textColor");var c=document.createElement("div"),u=document.createElement("textarea");c.style.cssText="display:block;width:100%;overflow:auto;";var d=r.get("optionToContent"),h=r.get("contentToOption"),f=p(e);if("function"===typeof d){var A=d(t.getOption());"string"===typeof A?c.innerHTML=A:i.isDom(A)&&c.appendChild(A)}else c.appendChild(u),u.readOnly=r.get("readOnly"),u.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",u.style.color=r.get("textColor"),u.style.borderColor=r.get("textareaBorderColor"),u.style.backgroundColor=r.get("textareaColor"),u.value=f.value;var g=f.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:0;left:0;right:0;";var v="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",y=document.createElement("div"),_=document.createElement("div");v+=";background-color:"+r.get("buttonColor"),v+=";color:"+r.get("buttonTextColor");var w=this;function x(){n.removeChild(a),w._dom=null}o.addEventListener(y,"click",x),o.addEventListener(_,"click",(function(){var e;try{e="function"===typeof h?h(c,t.getOption()):b(u.value,g)}catch(n){throw x(),new Error("Data view format error "+n)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),x()})),y.innerHTML=l[1],_.innerHTML=l[2],_.style.cssText=v,y.style.cssText=v,!r.get("readOnly")&&m.appendChild(_),m.appendChild(y),a.appendChild(s),a.appendChild(c),a.appendChild(m),c.style.height=n.clientHeight-80+"px",n.appendChild(a),this._dom=a},_.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},_.prototype.dispose=function(e,t){this.remove(e,t)},s.register("dataView",_),r.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];i.each(e.newOption.series,(function(e){var r=t.getSeriesByName(e.name)[0];if(r){var o=r.get("data");n.push({name:e.name,data:w(e.data,o)})}else n.push(i.extend({type:"scatter"},e))})),t.mergeOption(i.defaults({series:n},e.newOption))}));var x=_;e.exports=x},dqUG:function(e,t,n){var r=n("Gev7"),i=n("bYtY"),o=n("6GrX"),a=n("pzxd"),s=n("gut8"),l=s.ContextCachedBy,c=function(e){r.call(this,e)};c.prototype={constructor:c,type:"text",brush:function(e,t){var n=this.style;this.__dirty&&a.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var r=n.text;null!=r&&(r+=""),a.needDrawText(r,n)?(this.setTransform(e),a.renderText(this,e,r,n,null,t),this.restoreTransform(e)):e.__attrCachedBy=l.NONE},getBoundingRect:function(){var e=this.style;if(this.__dirty&&a.normalizeTextStyle(e,!0),!this._rect){var t=e.text;null!=t?t+="":t="";var n=o.getBoundingRect(e.text+"",e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich);if(n.x+=e.x||0,n.y+=e.y||0,a.getStroke(e.textStroke,e.textStrokeWidth)){var r=e.textStrokeWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect}},i.inherits(c,r);var u=c;e.exports=u},dt0z:function(e,t,n){var r=n("zoYe");function i(e){return null==e?"":r(e)}e.exports=i},dtIV:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"AcroForm",(function(){return Oe})),n.d(t,"AcroFormAppearance",(function(){return ke})),n.d(t,"AcroFormButton",(function(){return ye})),n.d(t,"AcroFormCheckBox",(function(){return xe})),n.d(t,"AcroFormChoiceField",(function(){return Ae})),n.d(t,"AcroFormComboBox",(function(){return me})),n.d(t,"AcroFormEditBox",(function(){return ve})),n.d(t,"AcroFormListBox",(function(){return ge})),n.d(t,"AcroFormPasswordField",(function(){return Se})),n.d(t,"AcroFormPushButton",(function(){return be})),n.d(t,"AcroFormRadioButton",(function(){return _e})),n.d(t,"AcroFormTextField",(function(){return Ce})),n.d(t,"GState",(function(){return P})),n.d(t,"ShadingPattern",(function(){return j})),n.d(t,"TilingPattern",(function(){return F})),n.d(t,"jsPDF",(function(){return R}));var r=n("cDf5"),i=n.n(r),o=n("crp1"),a=function(){return"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:this}();function s(){a.console&&"function"==typeof a.console.log&&a.console.log.apply(a.console,arguments)}var l={log:s,warn:function(e){a.console&&("function"==typeof a.console.warn?a.console.warn.apply(a.console,arguments):s.call(null,arguments))},error:function(e){a.console&&("function"==typeof a.console.error?a.console.error.apply(a.console,arguments):s(e))}};function c(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){p(r.response,t,n)},r.onerror=function(){l.error("could not download file")},r.send()}function u(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function d(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var h,f,p=a.saveAs||("object"!==("undefined"==typeof window?"undefined":i()(window))||window!==a?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=a.URL||a.webkitURL,i=document.createElement("a");t=t||e.name||"download",i.download=t,i.rel="noopener","string"==typeof e?(i.href=e,i.origin!==location.origin?u(i.href)?c(e,t,n):d(i,i.target="_blank"):d(i)):(i.href=r.createObjectURL(e),setTimeout((function(){r.revokeObjectURL(i.href)}),4e4),setTimeout((function(){d(i)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(u(e))c(e,t,n);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout((function(){d(r)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==i()(t)&&(l.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof e)return c(e,t,n);var o="application/octet-stream"===e.type,s=/constructor/i.test(a.HTMLElement)||a.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||o&&s)&&"object"===("undefined"==typeof FileReader?"undefined":i()(FileReader))){var u=new FileReader;u.onloadend=function(){var e=u.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location=e,r=null},u.readAsDataURL(e)}else{var d=a.URL||a.webkitURL,h=d.createObjectURL(e);r?r.location=h:location.href=h,r=null,setTimeout((function(){d.revokeObjectURL(h)}),4e4)}});function A(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={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"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,o=n[r].process,a=i.exec(e);a&&(t=o(a),this.r=t[0],this.g=t[1],this.b=t[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 e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}function g(e,t){var n=e[0],r=e[1],i=e[2],o=e[3];n=v(n,r,i,o,t[0],7,-680876936),o=v(o,n,r,i,t[1],12,-389564586),i=v(i,o,n,r,t[2],17,606105819),r=v(r,i,o,n,t[3],22,-1044525330),n=v(n,r,i,o,t[4],7,-176418897),o=v(o,n,r,i,t[5],12,1200080426),i=v(i,o,n,r,t[6],17,-1473231341),r=v(r,i,o,n,t[7],22,-45705983),n=v(n,r,i,o,t[8],7,1770035416),o=v(o,n,r,i,t[9],12,-1958414417),i=v(i,o,n,r,t[10],17,-42063),r=v(r,i,o,n,t[11],22,-1990404162),n=v(n,r,i,o,t[12],7,1804603682),o=v(o,n,r,i,t[13],12,-40341101),i=v(i,o,n,r,t[14],17,-1502002290),n=y(n,r=v(r,i,o,n,t[15],22,1236535329),i,o,t[1],5,-165796510),o=y(o,n,r,i,t[6],9,-1069501632),i=y(i,o,n,r,t[11],14,643717713),r=y(r,i,o,n,t[0],20,-373897302),n=y(n,r,i,o,t[5],5,-701558691),o=y(o,n,r,i,t[10],9,38016083),i=y(i,o,n,r,t[15],14,-660478335),r=y(r,i,o,n,t[4],20,-405537848),n=y(n,r,i,o,t[9],5,568446438),o=y(o,n,r,i,t[14],9,-1019803690),i=y(i,o,n,r,t[3],14,-187363961),r=y(r,i,o,n,t[8],20,1163531501),n=y(n,r,i,o,t[13],5,-1444681467),o=y(o,n,r,i,t[2],9,-51403784),i=y(i,o,n,r,t[7],14,1735328473),n=b(n,r=y(r,i,o,n,t[12],20,-1926607734),i,o,t[5],4,-378558),o=b(o,n,r,i,t[8],11,-2022574463),i=b(i,o,n,r,t[11],16,1839030562),r=b(r,i,o,n,t[14],23,-35309556),n=b(n,r,i,o,t[1],4,-1530992060),o=b(o,n,r,i,t[4],11,1272893353),i=b(i,o,n,r,t[7],16,-155497632),r=b(r,i,o,n,t[10],23,-1094730640),n=b(n,r,i,o,t[13],4,681279174),o=b(o,n,r,i,t[0],11,-358537222),i=b(i,o,n,r,t[3],16,-722521979),r=b(r,i,o,n,t[6],23,76029189),n=b(n,r,i,o,t[9],4,-640364487),o=b(o,n,r,i,t[12],11,-421815835),i=b(i,o,n,r,t[15],16,530742520),n=_(n,r=b(r,i,o,n,t[2],23,-995338651),i,o,t[0],6,-198630844),o=_(o,n,r,i,t[7],10,1126891415),i=_(i,o,n,r,t[14],15,-1416354905),r=_(r,i,o,n,t[5],21,-57434055),n=_(n,r,i,o,t[12],6,1700485571),o=_(o,n,r,i,t[3],10,-1894986606),i=_(i,o,n,r,t[10],15,-1051523),r=_(r,i,o,n,t[1],21,-2054922799),n=_(n,r,i,o,t[8],6,1873313359),o=_(o,n,r,i,t[15],10,-30611744),i=_(i,o,n,r,t[6],15,-1560198380),r=_(r,i,o,n,t[13],21,1309151649),n=_(n,r,i,o,t[4],6,-145523070),o=_(o,n,r,i,t[11],10,-1120210379),i=_(i,o,n,r,t[2],15,718787259),r=_(r,i,o,n,t[9],21,-343485551),e[0]=B(n,e[0]),e[1]=B(r,e[1]),e[2]=B(i,e[2]),e[3]=B(o,e[3])}function m(e,t,n,r,i,o){return t=B(B(t,e),B(r,o)),B(t<<i|t>>>32-i,n)}function v(e,t,n,r,i,o,a){return m(t&n|~t&r,e,t,i,o,a)}function y(e,t,n,r,i,o,a){return m(t&r|n&~r,e,t,i,o,a)}function b(e,t,n,r,i,o,a){return m(t^n^r,e,t,i,o,a)}function _(e,t,n,r,i,o,a){return m(n^(t|~r),e,t,i,o,a)}function w(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)g(r,x(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(g(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,g(r,i),r}function x(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}h=a.atob.bind(a),f=a.btoa.bind(a);var C="0123456789abcdef".split("");function S(e){for(var t="",n=0;n<4;n++)t+=C[e>>8*n+4&15]+C[e>>8*n&15];return t}function k(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function E(e){return w(e).map(k).join("")}var O="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=S(e[t]);return e.join("")}(w("hello"));function B(e,t){if(O){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}function M(e,t){var n,r,i,o;if(e!==n){for(var a=(i=e,o=1+(256/e.length>>0),new Array(o+1).join(i)),s=[],l=0;l<256;l++)s[l]=l;var c=0;for(l=0;l<256;l++){var u=s[l];c=(c+u+a.charCodeAt(l))%256,s[l]=s[c],s[c]=u}n=e,r=s}else s=r;var d=t.length,h=0,f=0,p="";for(l=0;l<d;l++)f=(f+(u=s[h=(h+1)%256]))%256,s[h]=s[f],s[f]=u,a=s[(s[h]+s[f])%256],p+=String.fromCharCode(t.charCodeAt(l)^a);return p}var T={print:4,modify:8,copy:16,"annot-forms":32};function I(e,t,n,r){this.v=1,this.r=2;var i=192;e.forEach((function(e){if(void 0!==T.perm)throw new Error("Invalid permission: "+e);i+=T[e]})),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var o=(t+this.padding).substr(0,32),a=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,a),this.P=-(1+(255^i)),this.encryptionKey=E(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=M(this.encryptionKey,this.padding)}function L(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,r=0;r<n;r++){var i=e.charCodeAt(r);t+=i<33||35===i||37===i||40===i||41===i||47===i||60===i||62===i||91===i||93===i||123===i||125===i||i>126?"#"+("0"+i.toString(16)).slice(-2):e[r]}return t}function D(e){if("object"!==i()(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var i=Math.random().toString(35);return t[e][i]=[n,!!r],i},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var o in t[n]){var s=t[n][o];try{s[0].apply(e,r)}catch(n){a.console&&l.error("jsPDF PubSub Error",n.message,n)}s[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function P(e){if(!(this instanceof P))return new P(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function N(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function j(e,t,n,r,i){if(!(this instanceof j))return new j(e,t,n,r,i);this.type="axial"===e?2:3,this.coords=t,this.colors=n,N.call(this,r,i)}function F(e,t,n,r,i){if(!(this instanceof F))return new F(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,N.call(this,r,i)}function R(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],o=arguments[2],s=arguments[3],c=[],u=1,d=16,h="S",g=null;"object"===i()(e=e||{})&&(n=e.orientation,r=e.unit||r,o=e.format||o,s=e.compress||e.compressPdf||s,null!==(g=e.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),u="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(d=e.floatPrecision),h=e.defaultPathOperation||"S"),c=e.filters||(!0===s?["FlateEncode"]:c),r=r||"mm",n=(""+(n||"P")).toLowerCase();var m=e.putOnlyUsedFonts||!1,v={},y={internal:{},__private__:{}};y.__private__.PubSub=D;var b="1.3",_=y.__private__.getPdfVersion=function(){return b};y.__private__.setPdfVersion=function(e){b=e};var w={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]};y.__private__.getPageFormats=function(){return w};var x=y.__private__.getPageFormat=function(e){return w[e]};o=o||"a4";var C={COMPAT:"compat",ADVANCED:"advanced"},S=C.COMPAT;function k(){this.saveGraphicsState(),de(new Ve(ke,0,0,-ke,0,Un()*ke).toString()+" cm"),this.setFontSize(this.getFontSize()/ke),h="n",S=C.ADVANCED}function E(){this.restoreGraphicsState(),h="S",S=C.COMPAT}var O=y.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};y.advancedAPI=function(e){var t=S===C.COMPAT;return t&&k.call(this),"function"!=typeof e||(e(this),t&&E.call(this)),this},y.compatAPI=function(e){var t=S===C.ADVANCED;return t&&E.call(this),"function"!=typeof e||(e(this),t&&k.call(this)),this},y.isAdvancedAPI=function(){return S===C.ADVANCED};var B,M=function(e){if(S!==C.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},T=y.roundToPrecision=y.__private__.roundToPrecision=function(e,n){var r=t||n;if(isNaN(e)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};B=y.hpf=y.__private__.hpf="number"==typeof d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return T(e,d)}:"smart"===d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return T(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return T(e,16)};var N=y.f2=y.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return T(e,2)},U=y.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return T(e,3)},H=y.scale=y.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return S===C.COMPAT?e*ke:S===C.ADVANCED?e:void 0},Q=function(e){return S===C.COMPAT?Un()-e:S===C.ADVANCED?e:void 0},K=function(e){return H(Q(e))};y.__private__.setPrecision=y.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var z,V="00000000000000000000000000000000",W=y.__private__.getFileId=function(){return V},G=y.__private__.setFileId=function(e){return V=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():V.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==g&&(Gt=new I(g.userPermissions,g.userPassword,g.ownerPassword,V)),V};y.setFileId=function(e){return G(e),this},y.getFileId=function(){return W()};var X=y.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),i=Math.abs(t%60),o=[n,$(r),"'",$(i),"'"].join("");return["D:",e.getFullYear(),$(e.getMonth()+1),$(e.getDate()),$(e.getHours()),$(e.getMinutes()),$(e.getSeconds()),o].join("")},q=y.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),i=parseInt(e.substr(10,2),10),o=parseInt(e.substr(12,2),10),a=parseInt(e.substr(14,2),10);return new Date(t,n,r,i,o,a,0)},Y=y.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=X(e);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(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return z=t},Z=y.__private__.getCreationDate=function(e){var t=z;return"jsDate"===e&&(t=q(z)),t};y.setCreationDate=function(e){return Y(e),this},y.getCreationDate=function(e){return Z(e)};var J,$=y.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},ee=y.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},te=0,ne=[],re=[],ie=0,oe=[],ae=[],se=!1,le=re,ce=function(){te=0,ie=0,re=[],ne=[],oe=[],$e=Ye(),et=Ye()};y.__private__.setCustomOutputDestination=function(e){se=!0,le=e};var ue=function(e){se||(le=e)};y.__private__.resetCustomOutputDestination=function(){se=!1,le=re};var de=y.__private__.out=function(e){return e=e.toString(),ie+=e.length+1,le.push(e),le},he=y.__private__.write=function(e){return de(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},fe=y.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},pe=[["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]];y.__private__.getStandardFonts=function(){return pe};var Ae=e.fontSize||16;y.__private__.setFontSize=y.setFontSize=function(e){return Ae=S===C.ADVANCED?e/ke:e,this};var ge,me=y.__private__.getFontSize=y.getFontSize=function(){return S===C.COMPAT?Ae:Ae*ke},ve=e.R2L||!1;y.__private__.setR2L=y.setR2L=function(e){return ve=e,this},y.__private__.getR2L=y.getR2L=function(){return ve};var ye,be=y.__private__.setZoomMode=function(e){var t=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))ge=e;else if(isNaN(e)){if(-1===t.indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');ge=e}else ge=parseInt(e,10)};y.__private__.getZoomMode=function(){return ge};var _e,we=y.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ye=e};y.__private__.getPageMode=function(){return ye};var xe=y.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');_e=e};y.__private__.getLayoutMode=function(){return _e},y.__private__.setDisplayMode=y.setDisplayMode=function(e,t,n){return be(e),xe(t),we(n),this};var Ce={title:"",subject:"",author:"",keywords:"",creator:""};y.__private__.getDocumentProperty=function(e){if(-1===Object.keys(Ce).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Ce[e]},y.__private__.getDocumentProperties=function(){return Ce},y.__private__.setDocumentProperties=y.setProperties=y.setDocumentProperties=function(e){for(var t in Ce)Ce.hasOwnProperty(t)&&e[t]&&(Ce[t]=e[t]);return this},y.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(Ce).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Ce[e]=t};var Se,ke,Ee,Oe,Be,Me={},Te={},Ie=[],Le={},De={},Pe={},Ne={},je=null,Fe=0,Re=[],Ue=new D(y),He=e.hotfixes||[],Qe={},Ke={},ze=[],Ve=function e(t,n,r,i,o,a){if(!(this instanceof e))return new e(t,n,r,i,o,a);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(r)&&(r=0),isNaN(i)&&(i=1),isNaN(o)&&(o=0),isNaN(a)&&(a=0),this._matrix=[t,n,r,i,o,a]};Object.defineProperty(Ve.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ve.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ve.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ve.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ve.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ve.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ve.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ve.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ve.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ve.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ve.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ve.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ve.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ve.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ve.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ve.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ve.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(B).join(e)},Ve.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,i=e.shx*this.shy+e.sy*this.sy,o=e.tx*this.sx+e.ty*this.shx+this.tx,a=e.tx*this.shy+e.ty*this.sy+this.ty;return new Ve(t,n,r,i,o,a)},Ve.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,a=Math.sqrt(e*e+t*t),s=(e/=a)*n+(t/=a)*r;n-=e*s,r-=t*s;var l=Math.sqrt(n*n+r*r);return s/=l,e*(r/=l)<t*(n/=l)&&(e=-e,t=-t,s=-s,a=-a),{scale:new Ve(a,0,0,l,0,0),translate:new Ve(1,0,0,1,i,o),rotate:new Ve(e,t,-t,e,0,0),skew:new Ve(1,0,s,1,0,0)}},Ve.prototype.toString=function(e){return this.join(" ")},Ve.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,a=1/(e*r-t*n),s=r*a,l=-t*a,c=-n*a,u=e*a;return new Ve(s,l,c,u,-s*i-c*o,-l*i-u*o)},Ve.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new In(t,n)},Ve.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new In(e.x+e.w,e.y+e.h));return new Ln(t.x,t.y,n.x-t.x,n.y-t.y)},Ve.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty;return new Ve(e,t,n,r,i,o)},y.Matrix=Ve;var We=y.matrixMult=function(e,t){return t.multiply(e)},Ge=new Ve(1,0,0,1,0,0);y.unitMatrix=y.identityMatrix=Ge;var Xe=function(e,t){if(!De[e]){var n=(t instanceof j?"Sh":"P")+(Object.keys(Le).length+1).toString(10);t.id=n,De[e]=n,Le[n]=t,Ue.publish("addPattern",t)}};y.ShadingPattern=j,y.TilingPattern=F,y.addShadingPattern=function(e,t){return M("addShadingPattern()"),Xe(e,t),this},y.beginTilingPattern=function(e){M("beginTilingPattern()"),Pn(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},y.endTilingPattern=function(e,t){M("endTilingPattern()"),t.stream=ae[J].join("\n"),Xe(e,t),Ue.publish("endTilingPattern",t),ze.pop().restore()};var qe=y.__private__.newObject=function(){var e=Ye();return Ze(e,!0),e},Ye=y.__private__.newObjectDeferred=function(){return te++,ne[te]=function(){return ie},te},Ze=function(e,t){return t="boolean"==typeof t&&t,ne[e]=ie,t&&de(e+" 0 obj"),e},Je=y.__private__.newAdditionalObject=function(){var e={objId:Ye(),content:""};return oe.push(e),e},$e=Ye(),et=Ye(),tt=y.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",i=0;i<3;i++)r+=("0"+Math.floor(255*parseFloat(t[i])).toString(16)).slice(-2);return r},nt=y.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var n=e.ch1,r=e.ch2,o=e.ch3,a=e.ch4,s="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var l=new A(n);if(l.ok)n=l.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var c=parseInt(n.substr(1),16);n=c>>16&255,r=c>>8&255,o=255&c}if(void 0===r||void 0===a&&n===r&&r===o)if("string"==typeof n)t=n+" "+s[0];else switch(e.precision){case 2:t=N(n/255)+" "+s[0];break;case 3:default:t=U(n/255)+" "+s[0]}else if(void 0===a||"object"===i()(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof n)t=[n,r,o,s[1]].join(" ");else switch(e.precision){case 2:t=[N(n/255),N(r/255),N(o/255),s[1]].join(" ");break;default:case 3:t=[U(n/255),U(r/255),U(o/255),s[1]].join(" ")}}else if("string"==typeof n)t=[n,r,o,a,s[2]].join(" ");else switch(e.precision){case 2:t=[N(n),N(r),N(o),N(a),s[2]].join(" ");break;case 3:default:t=[U(n),U(r),U(o),U(a),s[2]].join(" ")}return t},rt=y.__private__.getFilters=function(){return c},it=y.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||rt(),r=e.alreadyAppliedFilters||[],i=e.addLength1||!1,o=t.length,a=e.objectId,s=function(e){return e};if(null!==g&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(s=Gt.encryptor(a,0));var l={};!0===n&&(n=["FlateEncode"]);var c=e.additionalKeyValues||[],u=(l=void 0!==R.API.processDataByFilters?R.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==l.data.length&&(c.push({key:"Length",value:l.data.length}),!0===i&&c.push({key:"Length1",value:o})),0!=u.length)if(u.split("/").length-1==1)c.push({key:"Filter",value:u});else{c.push({key:"Filter",value:"["+u+"]"});for(var d=0;d<c.length;d+=1)if("DecodeParms"===c[d].key){for(var h=[],f=0;f<l.reverseChain.split("/").length-1;f+=1)h.push("null");h.push(c[d].value),c[d].value="["+h.join(" ")+"]"}}de("<<");for(var p=0;p<c.length;p++)de("/"+c[p].key+" "+c[p].value);de(">>"),0!==l.data.length&&(de("stream"),de(s(l.data)),de("endstream"))},ot=y.__private__.putPage=function(e){var t=e.number,n=e.data,r=e.objId,i=e.contentsObjId;Ze(r,!0),de("<</Type /Page"),de("/Parent "+e.rootDictionaryObjId+" 0 R"),de("/Resources "+e.resourceDictionaryObjId+" 0 R"),de("/MediaBox ["+parseFloat(B(e.mediaBox.bottomLeftX))+" "+parseFloat(B(e.mediaBox.bottomLeftY))+" "+B(e.mediaBox.topRightX)+" "+B(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&de("/CropBox ["+B(e.cropBox.bottomLeftX)+" "+B(e.cropBox.bottomLeftY)+" "+B(e.cropBox.topRightX)+" "+B(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&de("/BleedBox ["+B(e.bleedBox.bottomLeftX)+" "+B(e.bleedBox.bottomLeftY)+" "+B(e.bleedBox.topRightX)+" "+B(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&de("/TrimBox ["+B(e.trimBox.bottomLeftX)+" "+B(e.trimBox.bottomLeftY)+" "+B(e.trimBox.topRightX)+" "+B(e.trimBox.topRightY)+"]"),null!==e.artBox&&de("/ArtBox ["+B(e.artBox.bottomLeftX)+" "+B(e.artBox.bottomLeftY)+" "+B(e.artBox.topRightX)+" "+B(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&de("/UserUnit "+e.userUnit),Ue.publish("putPage",{objId:r,pageContext:Re[t],pageNumber:t,page:n}),de("/Contents "+i+" 0 R"),de(">>"),de("endobj");var o=n.join("\n");return S===C.ADVANCED&&(o+="\nQ"),Ze(i,!0),it({data:o,filters:rt(),objectId:i}),de("endobj"),r},at=y.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Fe;e++)Re[e].objId=Ye(),Re[e].contentsObjId=Ye();for(e=1;e<=Fe;e++)n.push(ot({number:e,data:ae[e],objId:Re[e].objId,contentsObjId:Re[e].contentsObjId,mediaBox:Re[e].mediaBox,cropBox:Re[e].cropBox,bleedBox:Re[e].bleedBox,trimBox:Re[e].trimBox,artBox:Re[e].artBox,userUnit:Re[e].userUnit,rootDictionaryObjId:$e,resourceDictionaryObjId:et}));Ze($e,!0),de("<</Type /Pages");var r="/Kids [";for(t=0;t<Fe;t++)r+=n[t]+" 0 R ";de(r+"]"),de("/Count "+Fe),de(">>"),de("endobj"),Ue.publish("postPutPages")},st=function(e){Ue.publish("putFont",{font:e,out:de,newObject:qe,putStream:it}),!0!==e.isAlreadyPutted&&(e.objectNumber=qe(),de("<<"),de("/Type /Font"),de("/BaseFont /"+L(e.postScriptName)),de("/Subtype /Type1"),"string"==typeof e.encoding&&de("/Encoding /"+e.encoding),de("/FirstChar 32"),de("/LastChar 255"),de(">>"),de("endobj"))},lt=function(){for(var e in Me)Me.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&st(Me[e])},ct=function(e){e.objectNumber=qe();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[B(e.x),B(e.y),B(e.x+e.width),B(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");it({data:n,additionalKeyValues:t,objectId:e.objectNumber}),de("endobj")},ut=function(){for(var e in Qe)Qe.hasOwnProperty(e)&&ct(Qe[e])},dt=function(e,t){var n,r=[],i=1/(t-1);for(n=0;n<1;n+=i)r.push(n);if(r.push(1),0!=e[0].offset){var o={offset:0,color:e[0].color};e.unshift(o)}if(1!=e[e.length-1].offset){var a={offset:1,color:e[e.length-1].color};e.push(a)}for(var s="",l=0,c=0;c<r.length;c++){for(n=r[c];n>e[l+1].offset;)l++;var u=e[l].offset,d=(n-u)/(e[l+1].offset-u),h=e[l].color,f=e[l+1].color;s+=ee(Math.round((1-d)*h[0]+d*f[0]).toString(16))+ee(Math.round((1-d)*h[1]+d*f[1]).toString(16))+ee(Math.round((1-d)*h[2]+d*f[2]).toString(16))}return s.trim()},ht=function(e,t){t||(t=21);var n=qe(),r=dt(e.colors,t),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+t+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),it({data:r,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),de("endobj"),e.objectNumber=qe(),de("<< /ShadingType "+e.type),de("/ColorSpace /DeviceRGB");var o="/Coords ["+B(parseFloat(e.coords[0]))+" "+B(parseFloat(e.coords[1]))+" ";2===e.type?o+=B(parseFloat(e.coords[2]))+" "+B(parseFloat(e.coords[3])):o+=B(parseFloat(e.coords[2]))+" "+B(parseFloat(e.coords[3]))+" "+B(parseFloat(e.coords[4]))+" "+B(parseFloat(e.coords[5])),de(o+="]"),e.matrix&&de("/Matrix ["+e.matrix.toString()+"]"),de("/Function "+n+" 0 R"),de("/Extend [true true]"),de(">>"),de("endobj")},ft=function(e,t){var n=Ye(),r=qe();t.push({resourcesOid:n,objectOid:r}),e.objectNumber=r;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+e.boundingBox.map(B).join(" ")+"]"}),i.push({key:"XStep",value:B(e.xStep)}),i.push({key:"YStep",value:B(e.yStep)}),i.push({key:"Resources",value:n+" 0 R"}),e.matrix&&i.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),it({data:e.stream,additionalKeyValues:i,objectId:e.objectNumber}),de("endobj")},pt=function(e){var t;for(t in Le)Le.hasOwnProperty(t)&&(Le[t]instanceof j?ht(Le[t]):Le[t]instanceof F&&ft(Le[t],e))},At=function(e){for(var t in e.objectNumber=qe(),de("<<"),e)switch(t){case"opacity":de("/ca "+N(e[t]));break;case"stroke-opacity":de("/CA "+N(e[t]))}de(">>"),de("endobj")},gt=function(){var e;for(e in Pe)Pe.hasOwnProperty(e)&&At(Pe[e])},mt=function(){for(var e in de("/XObject <<"),Qe)Qe.hasOwnProperty(e)&&Qe[e].objectNumber>=0&&de("/"+e+" "+Qe[e].objectNumber+" 0 R");Ue.publish("putXobjectDict"),de(">>")},vt=function(){Gt.oid=qe(),de("<<"),de("/Filter /Standard"),de("/V "+Gt.v),de("/R "+Gt.r),de("/U <"+Gt.toHexString(Gt.U)+">"),de("/O <"+Gt.toHexString(Gt.O)+">"),de("/P "+Gt.P),de(">>"),de("endobj")},yt=function(){for(var e in de("/Font <<"),Me)Me.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&de("/"+e+" "+Me[e].objectNumber+" 0 R");de(">>")},bt=function(){if(Object.keys(Le).length>0){for(var e in de("/Shading <<"),Le)Le.hasOwnProperty(e)&&Le[e]instanceof j&&Le[e].objectNumber>=0&&de("/"+e+" "+Le[e].objectNumber+" 0 R");Ue.publish("putShadingPatternDict"),de(">>")}},_t=function(e){if(Object.keys(Le).length>0){for(var t in de("/Pattern <<"),Le)Le.hasOwnProperty(t)&&Le[t]instanceof y.TilingPattern&&Le[t].objectNumber>=0&&Le[t].objectNumber<e&&de("/"+t+" "+Le[t].objectNumber+" 0 R");Ue.publish("putTilingPatternDict"),de(">>")}},wt=function(){if(Object.keys(Pe).length>0){var e;for(e in de("/ExtGState <<"),Pe)Pe.hasOwnProperty(e)&&Pe[e].objectNumber>=0&&de("/"+e+" "+Pe[e].objectNumber+" 0 R");Ue.publish("putGStateDict"),de(">>")}},xt=function(e){Ze(e.resourcesOid,!0),de("<<"),de("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),yt(),bt(),_t(e.objectOid),wt(),mt(),de(">>"),de("endobj")},Ct=function(){var e=[];lt(),gt(),ut(),pt(e),Ue.publish("putResources"),e.forEach(xt),xt({resourcesOid:et,objectOid:Number.MAX_SAFE_INTEGER}),Ue.publish("postPutResources")},St=function(){Ue.publish("putAdditionalObjects");for(var e=0;e<oe.length;e++){var t=oe[e];Ze(t.objId,!0),de(t.content),de("endobj")}Ue.publish("postPutAdditionalObjects")},kt=function(e){Te[e.fontName]=Te[e.fontName]||{},Te[e.fontName][e.fontStyle]=e.id},Et=function(e,t,n,r,i){var o={id:"F"+(Object.keys(Me).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:i||!1,metadata:{}};return Ue.publish("addFont",{font:o,instance:this}),Me[o.id]=o,kt(o),o.id},Ot=function(e){for(var t=0,n=pe.length;t<n;t++){var r=Et.call(this,e[t][0],e[t][1],e[t][2],pe[t][3],!0);!1===m&&(v[r]=!0);var i=e[t][0].split("-");kt({id:r,fontName:i[0],fontStyle:i[1]||""})}Ue.publish("addFonts",{fonts:Me,dictionary:Te})},Bt=function(e){return e.foo=function(){try{return e.apply(this,arguments)}catch(e){var t=e.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var n="Error in function "+t.split("\n")[0].split("<")[0]+": "+e.message;if(!a.console)throw new Error(n);a.console.error(n,e),a.alert&&alert(n)}},e.foo.bar=e,e.foo},Mt=function(e,t){var n,r,i,o,a,s,l,c,u;if(i=(t=t||{}).sourceEncoding||"Unicode",a=t.outputEncoding,(t.autoencode||a)&&Me[Se].metadata&&Me[Se].metadata[i]&&Me[Se].metadata[i].encoding&&(o=Me[Se].metadata[i].encoding,!a&&Me[Se].encoding&&(a=Me[Se].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){for(l=!1,s=[],n=0,r=e.length;n<r;n++)(c=a[e.charCodeAt(n)])?s.push(String.fromCharCode(c)):s.push(e[n]),s[n].charCodeAt(0)>>8&&(l=!0);e=s.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n<r;n++){if((u=(c=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)},Tt=y.__private__.pdfEscape=y.pdfEscape=function(e,t){return Mt(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},It=y.__private__.beginPage=function(e){ae[++Fe]=[],Re[Fe]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},Pt(Fe),ue(ae[J])},Lt=function(e,t){var r,i,a;switch(n=t||n,"string"==typeof e&&(r=x(e.toLowerCase()),Array.isArray(r)&&(i=r[0],a=r[1])),Array.isArray(e)&&(i=e[0]*ke,a=e[1]*ke),isNaN(i)&&(i=o[0],a=o[1]),(i>14400||a>14400)&&(l.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),a=Math.min(14400,a)),o=[i,a],n.substr(0,1)){case"l":a>i&&(o=[a,i]);break;case"p":i>a&&(o=[a,i])}It(o),An(fn),de(xn),0!==Bn&&de(Bn+" J"),0!==Mn&&de(Mn+" j"),Ue.publish("addPage",{pageNumber:Fe})},Dt=function(e){e>0&&e<=Fe&&(ae.splice(e,1),Re.splice(e,1),Fe--,J>Fe&&(J=Fe),this.setPage(J))},Pt=function(e){e>0&&e<=Fe&&(J=e)},Nt=y.__private__.getNumberOfPages=y.getNumberOfPages=function(){return ae.length-1},jt=function(e,t,n){var r,i=void 0;return n=n||{},e=void 0!==e?e:Me[Se].fontName,t=void 0!==t?t:Me[Se].fontStyle,r=e.toLowerCase(),void 0!==Te[r]&&void 0!==Te[r][t]?i=Te[r][t]:void 0!==Te[e]&&void 0!==Te[e][t]?i=Te[e][t]:!1===n.disableWarning&&l.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),i||n.noFallback||null==(i=Te.times[t])&&(i=Te.times.normal),i},Ft=y.__private__.putInfo=function(){var e=qe(),t=function(e){return e};for(var n in null!==g&&(t=Gt.encryptor(e,0)),de("<<"),de("/Producer ("+Tt(t("jsPDF "+R.version))+")"),Ce)Ce.hasOwnProperty(n)&&Ce[n]&&de("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+Tt(t(Ce[n]))+")");de("/CreationDate ("+Tt(t(z))+")"),de(">>"),de("endobj")},Rt=y.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||$e;switch(qe(),de("<<"),de("/Type /Catalog"),de("/Pages "+t+" 0 R"),ge||(ge="fullwidth"),ge){case"fullwidth":de("/OpenAction [3 0 R /FitH null]");break;case"fullheight":de("/OpenAction [3 0 R /FitV null]");break;case"fullpage":de("/OpenAction [3 0 R /Fit]");break;case"original":de("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+ge;"%"===n.substr(n.length-1)&&(ge=parseInt(ge)/100),"number"==typeof ge&&de("/OpenAction [3 0 R /XYZ null null "+N(ge)+"]")}switch(_e||(_e="continuous"),_e){case"continuous":de("/PageLayout /OneColumn");break;case"single":de("/PageLayout /SinglePage");break;case"two":case"twoleft":de("/PageLayout /TwoColumnLeft");break;case"tworight":de("/PageLayout /TwoColumnRight")}ye&&de("/PageMode /"+ye),Ue.publish("putCatalog"),de(">>"),de("endobj")},Ut=y.__private__.putTrailer=function(){de("trailer"),de("<<"),de("/Size "+(te+1)),de("/Root "+te+" 0 R"),de("/Info "+(te-1)+" 0 R"),null!==g&&de("/Encrypt "+Gt.oid+" 0 R"),de("/ID [ <"+V+"> <"+V+"> ]"),de(">>")},Ht=y.__private__.putHeader=function(){de("%PDF-"+b),de("%\xba\xdf\xac\xe0")},Qt=y.__private__.putXRef=function(){var e="0000000000";de("xref"),de("0 "+(te+1)),de("0000000000 65535 f ");for(var t=1;t<=te;t++)"function"==typeof ne[t]?de((e+ne[t]()).slice(-10)+" 00000 n "):void 0!==ne[t]?de((e+ne[t]).slice(-10)+" 00000 n "):de("0000000000 00000 n ")},Kt=y.__private__.buildDocument=function(){ce(),ue(re),Ue.publish("buildDocument"),Ht(),at(),St(),Ct(),null!==g&&vt(),Ft(),Rt();var e=ie;return Qt(),Ut(),de("startxref"),de(""+e),de("%%EOF"),ue(ae[J]),re.join("\n")},zt=y.__private__.getBlob=function(e){return new Blob([fe(e)],{type:"application/pdf"})},Vt=y.output=y.__private__.output=Bt((function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return Kt();case"save":y.save(t.filename);break;case"arraybuffer":return fe(Kt());case"blob":return zt(Kt());case"bloburi":case"bloburl":if(void 0!==a.URL&&"function"==typeof a.URL.createObjectURL)return a.URL&&a.URL.createObjectURL(zt(Kt()))||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 n="",r=Kt();try{n=f(r)}catch(e){n=f(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(a)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",o=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(i=t.pdfObjectUrl,o="");var s='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+i+'"'+o+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",c=a.open();return null!==c&&c.document.write(s),c}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(a)){var u='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',d=a.open();if(null!==d){d.document.write(u);var h=this;d.document.documentElement.querySelector("#pdfViewer").onload=function(){d.document.title=t.filename,d.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(h.output("bloburl"))}}return d}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(a))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var p='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',A=a.open();if(null!==A&&(A.document.write(p),A.document.title=t.filename),A||"undefined"==typeof safari)return A;break;case"datauri":case"dataurl":return a.document.location.href=this.output("datauristring",t);default:return null}})),Wt=function(e){return!0===Array.isArray(He)&&He.indexOf(e)>-1};switch(r){case"pt":ke=1;break;case"mm":ke=72/25.4;break;case"cm":ke=72/2.54;break;case"in":ke=72;break;case"px":ke=1==Wt("px_scaling")?.75:96/72;break;case"pc":case"em":ke=12;break;case"ex":ke=6;break;default:if("number"!=typeof r)throw new Error("Invalid unit: "+r);ke=r}var Gt=null;Y(),G();var Xt=function(e){return null!==g?Gt.encryptor(e,0):function(e){return e}},qt=y.__private__.getPageInfo=y.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Re[e].objId,pageNumber:e,pageContext:Re[e]}},Yt=y.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Re)if(Re[t].objId===e)break;return qt(t)},Zt=y.__private__.getCurrentPageInfo=y.getCurrentPageInfo=function(){return{objId:Re[J].objId,pageNumber:J,pageContext:Re[J]}};y.addPage=function(){return Lt.apply(this,arguments),this},y.setPage=function(){return Pt.apply(this,arguments),ue.call(this,ae[J]),this},y.insertPage=function(e){return this.addPage(),this.movePage(J,e),this},y.movePage=function(e,t){var n,r;if(e>t){n=ae[e],r=Re[e];for(var i=e;i>t;i--)ae[i]=ae[i-1],Re[i]=Re[i-1];ae[t]=n,Re[t]=r,this.setPage(t)}else if(e<t){n=ae[e],r=Re[e];for(var o=e;o<t;o++)ae[o]=ae[o+1],Re[o]=Re[o+1];ae[t]=n,Re[t]=r,this.setPage(t)}return this},y.deletePage=function(){return Dt.apply(this,arguments),this},y.__private__.text=y.text=function(e,t,n,r,o){var a,s,l,c,u,d,h,f,p,A=(r=r||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var g=n;n=t,t=e,e=g}if(arguments[3]instanceof Ve==0?(l=arguments[4],c=arguments[5],"object"===i()(h=arguments[3])&&null!==h||("string"==typeof l&&(c=l,l=null),"string"==typeof h&&(c=h,h=null),"number"==typeof h&&(l=h,h=null),r={flags:h,angle:l,align:c})):(M("The transform parameter of text() with a Matrix value"),p=o),isNaN(t)||isNaN(n)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return A;var m="",y=!1,b="number"==typeof r.lineHeightFactor?r.lineHeightFactor:hn,_=A.internal.scaleFactor;function w(e){return e=e.split("\t").join(Array(r.TabLen||9).join(" ")),Tt(e,h)}function x(e){for(var t,n=e.concat(),r=[],i=n.length;i--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function k(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,i,o=e.concat(),a=[],s=o.length;s--;)"string"==typeof(r=o.shift())?a.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(i=t(r[0],r[1],r[2]),a.push([i[0],i[1],i[2]]));n=a}return n}var E=!1,O=!0;if("string"==typeof e)E=!0;else if(Array.isArray(e)){var T=e.concat();s=[];for(var I,L=T.length;L--;)("string"!=typeof(I=T.shift())||Array.isArray(I)&&"string"!=typeof I[0])&&(O=!1);E=O}if(!1===E)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var D=Ae/A.internal.scaleFactor,P=D*(b-1);switch(r.baseline){case"bottom":n-=P;break;case"top":n+=D-P;break;case"hanging":n+=D-2*P;break;case"middle":n+=D/2-P}if((d=r.maxWidth||0)>0&&("string"==typeof e?e=A.splitTextToSize(e,d):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(A.splitTextToSize(t,d))}),[]))),a={text:e,x:t,y:n,options:r,mutex:{pdfEscape:Tt,activeFontKey:Se,fonts:Me,activeFontSize:Ae}},Ue.publish("preProcessText",a),e=a.text,l=(r=a.options).angle,p instanceof Ve==0&&l&&"number"==typeof l){l*=Math.PI/180,0===r.rotationDirection&&(l=-l),S===C.ADVANCED&&(l=-l);var N=Math.cos(l),j=Math.sin(l);p=new Ve(N,j,-j,N,0,0)}else l&&l instanceof Ve&&(p=l);S!==C.ADVANCED||p||(p=Ge),void 0!==(u=r.charSpace||En)&&(m+=B(H(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(f=r.horizontalScale)&&(m+=B(100*f)+" Tz\n"),r.lang;var F=-1,R=void 0!==r.renderingMode?r.renderingMode:r.stroke,U=A.internal.getCurrentPageInfo().pageContext;switch(R){case 0:case!1:case"fill":F=0;break;case 1:case!0:case"stroke":F=1;break;case 2:case"fillThenStroke":F=2;break;case 3:case"invisible":F=3;break;case 4:case"fillAndAddForClipping":F=4;break;case 5:case"strokeAndAddPathForClipping":F=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":F=6;break;case 7:case"addToPathForClipping":F=7}var Q=void 0!==U.usedRenderingMode?U.usedRenderingMode:-1;-1!==F?m+=F+" Tr\n":-1!==Q&&(m+="0 Tr\n"),-1!==F&&(U.usedRenderingMode=F),c=r.align||"left";var K,z=Ae*b,V=A.internal.pageSize.getWidth(),W=Me[Se];u=r.charSpace||En,d=r.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},r.flags);var G=[];if("[object Array]"===Object.prototype.toString.call(e)){var X;s=x(e),"left"!==c&&(K=s.map((function(e){return A.getStringUnitWidth(e,{font:W,charSpace:u,fontSize:Ae,doKerning:!1})*Ae/_})));var q,Y=0;if("right"===c){t-=K[0],e=[],L=s.length;for(var Z=0;Z<L;Z++)0===Z?(q=yn(t),X=bn(n)):(q=H(Y-K[Z]),X=-z),e.push([s[Z],q,X]),Y=K[Z]}else if("center"===c){t-=K[0]/2,e=[],L=s.length;for(var J=0;J<L;J++)0===J?(q=yn(t),X=bn(n)):(q=H((Y-K[J])/2),X=-z),e.push([s[J],q,X]),Y=K[J]}else if("left"===c){e=[],L=s.length;for(var $=0;$<L;$++)e.push(s[$])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');e=[],L=s.length,d=0!==d?d:V;for(var ee=0;ee<L;ee++)X=0===ee?bn(n):-z,q=0===ee?yn(t):0,ee<L-1?G.push(B(H((d-K[ee])/(s[ee].split(" ").length-1)))):G.push(0),e.push([s[ee],q,X])}}var te="boolean"==typeof r.R2L?r.R2L:ve;!0===te&&(e=k(e,(function(e,t,n){return[e.split("").reverse().join(""),t,n]}))),a={text:e,x:t,y:n,options:r,mutex:{pdfEscape:Tt,activeFontKey:Se,fonts:Me,activeFontSize:Ae}},Ue.publish("postProcessText",a),e=a.text,y=a.mutex.isHex||!1;var ne=Me[Se].encoding;"WinAnsiEncoding"!==ne&&"StandardEncoding"!==ne||(e=k(e,(function(e,t,n){return[w(e),t,n]}))),s=x(e),e=[];for(var re,ie,oe,ae=0,se=1,le=Array.isArray(s[0])?se:ae,ce="",ue=function(e,t,n){var i="";return n instanceof Ve?(n="number"==typeof r.angle?We(n,new Ve(1,0,0,1,e,t)):We(new Ve(1,0,0,1,e,t),n),S===C.ADVANCED&&(n=We(new Ve(1,0,0,-1,0,0),n)),i=n.join(" ")+" Tm\n"):i=B(e)+" "+B(t)+" Td\n",i},he=0;he<s.length;he++){switch(ce="",le){case se:oe=(y?"<":"(")+s[he][0]+(y?">":")"),re=parseFloat(s[he][1]),ie=parseFloat(s[he][2]);break;case ae:oe=(y?"<":"(")+s[he]+(y?">":")"),re=yn(t),ie=bn(n)}void 0!==G&&void 0!==G[he]&&(ce=G[he]+" Tw\n"),0===he?e.push(ce+ue(re,ie,p)+oe):le===ae?e.push(ce+oe):le===se&&e.push(ce+ue(re,ie,p)+oe)}e=le===ae?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var fe="BT\n/";return fe+=Se+" "+Ae+" Tf\n",fe+=B(Ae*b)+" TL\n",fe+=Sn+"\n",fe+=m,fe+=e,de(fe+="ET"),v[Se]=!0,A};var Jt=y.__private__.clip=y.clip=function(e){return de("evenodd"===e?"W*":"W"),this};y.clipEvenOdd=function(){return Jt("evenodd")},y.__private__.discardPath=y.discardPath=function(){return de("n"),this};var $t=y.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};y.__private__.setDefaultPathOperation=y.setDefaultPathOperation=function(e){return $t(e)&&(h=e),this};var en=y.__private__.getStyle=y.getStyle=function(e){var t=h;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},tn=y.close=function(){return de("h"),this};y.stroke=function(){return de("S"),this},y.fill=function(e){return nn("f",e),this},y.fillEvenOdd=function(e){return nn("f*",e),this},y.fillStroke=function(e){return nn("B",e),this},y.fillStrokeEvenOdd=function(e){return nn("B*",e),this};var nn=function(e,t){"object"===i()(t)?an(t,e):de(e)},rn=function(e){null===e||S===C.ADVANCED&&void 0===e||(e=en(e),de(e))};function on(e,t,n,r,i){var o=new F(t||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,i||this.matrix);o.stream=this.stream;var a=e+"$$"+this.cloneIndex+++"$$";return Xe(a,o),o}var an=function(e,t){var n=De[e.key],r=Le[n];if(r instanceof j)de("q"),de(sn(t)),r.gState&&y.setGState(r.gState),de(e.matrix.toString()+" cm"),de("/"+n+" sh"),de("Q");else if(r instanceof F){var i=new Ve(1,0,0,-1,0,Un());e.matrix&&(i=i.multiply(e.matrix||Ge),n=on.call(r,e.key,e.boundingBox,e.xStep,e.yStep,i).id),de("q"),de("/Pattern cs"),de("/"+n+" scn"),r.gState&&y.setGState(r.gState),de(t),de("Q")}},sn=function(e){switch(e){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"}},ln=y.moveTo=function(e,t){return de(B(H(e))+" "+B(K(t))+" m"),this},cn=y.lineTo=function(e,t){return de(B(H(e))+" "+B(K(t))+" l"),this},un=y.curveTo=function(e,t,n,r,i,o){return de([B(H(e)),B(K(t)),B(H(n)),B(K(r)),B(H(i)),B(K(o)),"c"].join(" ")),this};y.__private__.line=y.line=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!$t(i))throw new Error("Invalid arguments passed to jsPDF.line");return S===C.COMPAT?this.lines([[n-e,r-t]],e,t,[1,1],i||"S"):this.lines([[n-e,r-t]],e,t,[1,1]).stroke()},y.__private__.lines=y.lines=function(e,t,n,r,i,o){var a,s,l,c,u,d,h,f,p,A,g,m;if("number"==typeof e&&(m=n,n=t,t=e,e=m),r=r||[1,1],o=o||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!$t(i)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(ln(t,n),a=r[0],s=r[1],c=e.length,A=t,g=n,l=0;l<c;l++)2===(u=e[l]).length?(A=u[0]*a+A,g=u[1]*s+g,cn(A,g)):(d=u[0]*a+A,h=u[1]*s+g,f=u[2]*a+A,p=u[3]*s+g,A=u[4]*a+A,g=u[5]*s+g,un(d,h,f,p,A,g));return o&&tn(),rn(i),this},y.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.c;switch(n.op){case"m":ln(r[0],r[1]);break;case"l":cn(r[0],r[1]);break;case"c":un.apply(this,r);break;case"h":tn()}}return this},y.__private__.rect=y.rect=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!$t(i))throw new Error("Invalid arguments passed to jsPDF.rect");return S===C.COMPAT&&(r=-r),de([B(H(e)),B(K(t)),B(H(n)),B(H(r)),"re"].join(" ")),rn(i),this},y.__private__.triangle=y.triangle=function(e,t,n,r,i,o,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!$t(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[i-n,o-r],[e-i,t-o]],e,t,[1,1],a,!0),this},y.__private__.roundedRect=y.roundedRect=function(e,t,n,r,i,o,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!$t(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*n),o=Math.min(o,.5*r),this.lines([[n-2*i,0],[i*s,0,i,o-o*s,i,o],[0,r-2*o],[0,o*s,-i*s,o,-i,o],[2*i-n,0],[-i*s,0,-i,-o*s,-i,-o],[0,2*o-r],[0,-o*s,i*s,-o,i,-o]],e+i,t,[1,1],a,!0),this},y.__private__.ellipse=y.ellipse=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!$t(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*n,a=4/3*(Math.SQRT2-1)*r;return ln(e+n,t),un(e+n,t-a,e+o,t-r,e,t-r),un(e-o,t-r,e-n,t-a,e-n,t),un(e-n,t+a,e-o,t+r,e,t+r),un(e+o,t+r,e+n,t+a,e+n,t),rn(i),this},y.__private__.circle=y.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!$t(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},y.setFont=function(e,t,n){return n&&(t=O(t,n)),Se=jt(e,t,{disableWarning:!1}),this};var dn=y.__private__.getFont=y.getFont=function(){return Me[jt.apply(y,arguments)]};y.__private__.getFontList=y.getFontList=function(){var e,t,n={};for(e in Te)if(Te.hasOwnProperty(e))for(t in n[e]=[],Te[e])Te[e].hasOwnProperty(t)&&n[e].push(t);return n},y.addFont=function(e,t,n,r,i){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(n=O(n,r)),i=i||"Identity-H",Et.call(this,e,t,n,i)};var hn,fn=e.lineWidth||.200025,pn=y.__private__.getLineWidth=y.getLineWidth=function(){return fn},An=y.__private__.setLineWidth=y.setLineWidth=function(e){return fn=e,de(B(H(e))+" w"),this};y.__private__.setLineDash=R.API.setLineDash=R.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map((function(e){return B(H(e))})).join(" "),t=B(H(t)),de("["+e+"] "+t+" d"),this};var gn=y.__private__.getLineHeight=y.getLineHeight=function(){return Ae*hn};y.__private__.getLineHeight=y.getLineHeight=function(){return Ae*hn};var mn=y.__private__.setLineHeightFactor=y.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(hn=e),this},vn=y.__private__.getLineHeightFactor=y.getLineHeightFactor=function(){return hn};mn(e.lineHeight);var yn=y.__private__.getHorizontalCoordinate=function(e){return H(e)},bn=y.__private__.getVerticalCoordinate=function(e){return S===C.ADVANCED?e:Re[J].mediaBox.topRightY-Re[J].mediaBox.bottomLeftY-H(e)},_n=y.__private__.getHorizontalCoordinateString=y.getHorizontalCoordinateString=function(e){return B(yn(e))},wn=y.__private__.getVerticalCoordinateString=y.getVerticalCoordinateString=function(e){return B(bn(e))},xn=e.strokeColor||"0 G";y.__private__.getStrokeColor=y.getDrawColor=function(){return tt(xn)},y.__private__.setStrokeColor=y.setDrawColor=function(e,t,n,r){return xn=nt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),de(xn),this};var Cn=e.fillColor||"0 g";y.__private__.getFillColor=y.getFillColor=function(){return tt(Cn)},y.__private__.setFillColor=y.setFillColor=function(e,t,n,r){return Cn=nt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),de(Cn),this};var Sn=e.textColor||"0 g",kn=y.__private__.getTextColor=y.getTextColor=function(){return tt(Sn)};y.__private__.setTextColor=y.setTextColor=function(e,t,n,r){return Sn=nt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var En=e.charSpace,On=y.__private__.getCharSpace=y.getCharSpace=function(){return parseFloat(En||0)};y.__private__.setCharSpace=y.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return En=e,this};var Bn=0;y.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},y.__private__.setLineCap=y.setLineCap=function(e){var t=y.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Bn=t,de(t+" J"),this};var Mn=0;y.__private__.setLineJoin=y.setLineJoin=function(e){var t=y.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Mn=t,de(t+" j"),this},y.__private__.setLineMiterLimit=y.__private__.setMiterLimit=y.setLineMiterLimit=y.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return de(B(H(e))+" M"),this},y.GState=P,y.setGState=function(e){(e="string"==typeof e?Pe[Ne[e]]:Tn(null,e)).equals(je)||(de("/"+e.id+" gs"),je=e)};var Tn=function(e,t){if(!e||!Ne[e]){var n=!1;for(var r in Pe)if(Pe.hasOwnProperty(r)&&Pe[r].equals(t)){n=!0;break}if(n)t=Pe[r];else{var i="GS"+(Object.keys(Pe).length+1).toString(10);Pe[i]=t,t.id=i}return e&&(Ne[e]=t.id),Ue.publish("addGState",t),t}};y.addGState=function(e,t){return Tn(e,t),this},y.saveGraphicsState=function(){return de("q"),Ie.push({key:Se,size:Ae,color:Sn}),this},y.restoreGraphicsState=function(){de("Q");var e=Ie.pop();return Se=e.key,Ae=e.size,Sn=e.color,je=null,this},y.setCurrentTransformationMatrix=function(e){return de(e.toString()+" cm"),this},y.comment=function(e){return de("#"+e),this};var In=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(e){i=e.toString()}}),this},Ln=function(e,t,n,r){In.call(this,e,t),this.type="rect";var i=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}});var o=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o},set:function(e){isNaN(e)||(o=parseFloat(e))}}),this},Dn=function(){this.page=Fe,this.currentPage=J,this.pages=ae.slice(0),this.pagesContext=Re.slice(0),this.x=Ee,this.y=Oe,this.matrix=Be,this.width=Fn(J),this.height=Un(J),this.outputDestination=le,this.id="",this.objectNumber=-1};Dn.prototype.restore=function(){Fe=this.page,J=this.currentPage,Re=this.pagesContext,ae=this.pages,Ee=this.x,Oe=this.y,Be=this.matrix,Rn(J,this.width),Hn(J,this.height),le=this.outputDestination};var Pn=function(e,t,n,r,i){ze.push(new Dn),Fe=J=0,ae=[],Ee=e,Oe=t,Be=i,It([n,r])},Nn=function(e){if(Ke[e])ze.pop().restore();else{var t=new Dn,n="Xo"+(Object.keys(Qe).length+1).toString(10);t.id=n,Ke[e]=n,Qe[n]=t,Ue.publish("addFormObject",t),ze.pop().restore()}};for(var jn in y.beginFormObject=function(e,t,n,r,i){return Pn(e,t,n,r,i),this},y.endFormObject=function(e){return Nn(e),this},y.doFormObject=function(e,t){var n=Qe[Ke[e]];return de("q"),de(t.toString()+" cm"),de("/"+n.id+" Do"),de("Q"),this},y.getFormObject=function(e){var t=Qe[Ke[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},y.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(p(zt(Kt()),e),"function"==typeof p.unload&&a.setTimeout&&setTimeout(p.unload,911),this):new Promise((function(t,n){try{var r=p(zt(Kt()),e);"function"==typeof p.unload&&a.setTimeout&&setTimeout(p.unload,911),t(r)}catch(e){n(e.message)}}))},R.API)R.API.hasOwnProperty(jn)&&("events"===jn&&R.API.events.length?function(e,t){var n,r,i;for(i=t.length-1;-1!==i;i--)n=t[i][0],r=t[i][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(Ue,R.API.events):y[jn]=R.API[jn]);var Fn=y.getPageWidth=function(e){return(Re[e=e||J].mediaBox.topRightX-Re[e].mediaBox.bottomLeftX)/ke},Rn=y.setPageWidth=function(e,t){Re[e].mediaBox.topRightX=t*ke+Re[e].mediaBox.bottomLeftX},Un=y.getPageHeight=function(e){return(Re[e=e||J].mediaBox.topRightY-Re[e].mediaBox.bottomLeftY)/ke},Hn=y.setPageHeight=function(e,t){Re[e].mediaBox.topRightY=t*ke+Re[e].mediaBox.bottomLeftY};return y.internal={pdfEscape:Tt,getStyle:en,getFont:dn,getFontSize:me,getCharSpace:On,getTextColor:kn,getLineHeight:gn,getLineHeightFactor:vn,getLineWidth:pn,write:he,getHorizontalCoordinate:yn,getVerticalCoordinate:bn,getCoordinateString:_n,getVerticalCoordinateString:wn,collections:{},newObject:qe,newAdditionalObject:Je,newObjectDeferred:Ye,newObjectDeferredBegin:Ze,getFilters:rt,putStream:it,events:Ue,scaleFactor:ke,pageSize:{getWidth:function(){return Fn(J)},setWidth:function(e){Rn(J,e)},getHeight:function(){return Un(J)},setHeight:function(e){Hn(J,e)}},encryptionOptions:g,encryption:Gt,getEncryptor:Xt,output:Vt,getNumberOfPages:Nt,pages:ae,out:de,f2:N,f3:U,getPageInfo:qt,getPageInfoByObjId:Yt,getCurrentPageInfo:Zt,getPDFVersion:_,Point:In,Rectangle:Ln,Matrix:Ve,hasHotfix:Wt},Object.defineProperty(y.internal.pageSize,"width",{get:function(){return Fn(J)},set:function(e){Rn(J,e)},enumerable:!0,configurable:!0}),Object.defineProperty(y.internal.pageSize,"height",{get:function(){return Un(J)},set:function(e){Hn(J,e)},enumerable:!0,configurable:!0}),Ot.call(y,pe),Se="F1",Lt(o,n),Ue.publish("initialized"),y}I.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},I.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},I.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},I.prototype.processOwnerPassword=function(e,t){return M(E(t).substr(0,5),e)},I.prototype.encryptor=function(e,t){var n=E(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return M(n,e)}},P.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||i()(e)!==i()(this))return!1;var r=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;r++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&r--;return 0===r},R.API={events:[]},R.version="2.5.1";var U=R.API,H=1,Q=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},K=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},z=function(e){return e.toFixed(2)},V=function(e){return e.toFixed(5)};U.__acroform__={};var W=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},G=function(e){return e*H},X=function(e){var t=new he,n=ke.internal.getHeight(e)||0,r=ke.internal.getWidth(e)||0;return t.BBox=[0,0,Number(z(r)),Number(z(n))],t},q=U.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},Y=U.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},Z=U.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},J=U.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Z(e,t-1)},$=U.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return q(e,t-1)},ee=U.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Y(e,t-1)},te=U.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,i=e[0],o=e[1],a=e[2],s=e[3],l={};return l.lowerLeft_X=n(i)||0,l.lowerLeft_Y=r(o+s)||0,l.upperRight_X=n(i+a)||0,l.upperRight_Y=r(o)||0,[Number(z(l.lowerLeft_X)),Number(z(l.lowerLeft_Y)),Number(z(l.upperRight_X)),Number(z(l.upperRight_Y))]},ne=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=re(e,n),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+i+" "+z(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=X(e);return o.scope=e.scope,o.stream=t.join("\n"),o}},re=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},i=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");i=e.multiline?i.map((function(e){return e.split("\n")})):i.map((function(e){return[e]}));var o=n,a=ke.internal.getHeight(e)||0;a=a<0?-a:a;var s=ke.internal.getWidth(e)||0;s=s<0?-s:s;var l=function(t,n,r){if(t+1<i.length){var o=n+" "+i[t+1][0];return ie(o,e,r).width<=s-4}return!1};o++;e:for(;o>0;){t="",o--;var c,u,d=ie("3",e,o).height,h=e.multiline?a-o:(a-d)/2,f=h+=2,p=0,A=0,g=0;if(o<=0){t="(...) Tj\n",t+="% Width of Text: "+ie(t,e,o=12).width+", FieldWidth:"+s+"\n";break}for(var m="",v=0,y=0;y<i.length;y++)if(i.hasOwnProperty(y)){var b=!1;if(1!==i[y].length&&g!==i[y].length-1){if((d+2)*(v+2)+2>a)continue e;m+=i[y][g],b=!0,A=y,y--}else{m=" "==(m+=i[y][g]+" ").substr(m.length-1)?m.substr(0,m.length-1):m;var _=parseInt(y),w=l(_,m,o),x=y>=i.length-1;if(w&&!x){m+=" ",g=0;continue}if(w||x){if(x)A=_;else if(e.multiline&&(d+2)*(v+2)+2>a)continue e}else{if(!e.multiline)continue e;if((d+2)*(v+2)+2>a)continue e;A=_}}for(var C="",S=p;S<=A;S++){var k=i[S];if(e.multiline){if(S===A){C+=k[g]+" ",g=(g+1)%k.length;continue}if(S===p){C+=k[k.length-1]+" ";continue}}C+=k[0]+" "}switch(C=" "==C.substr(C.length-1)?C.substr(0,C.length-1):C,u=ie(C,e,o).width,e.textAlign){case"right":c=s-u-2;break;case"center":c=(s-u)/2;break;case"left":default:c=2}t+=z(c)+" "+z(f)+" Td\n",t+="("+Q(C)+") Tj\n",t+=-z(c)+" 0 Td\n",f=-(o+2),u=0,p=b?A:A+1,v++,m=""}break}return r.text=t,r.fontSize=o,r},ie=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),i=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},oe={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},ae=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===n.type&&e.object===n.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},se=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=n,o=e[n];t.internal.newObjectDeferredBegin(o.objId,!0),"object"===i()(o)&&"function"==typeof o.putStream&&o.putStream(),delete e[r]}},le=function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(pe.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(oe)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");H=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new fe,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){!function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}(e)})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];r.objId=void 0,r.hasAnnotation&&ae(r,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var n=!e;for(var r in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(r)){var o=e[r],a=[],s=o.Rect;if(o.Rect&&(o.Rect=te(o.Rect,t)),t.internal.newObjectDeferredBegin(o.objId,!0),o.DA=ke.createDefaultAppearanceStream(o),"object"===i()(o)&&"function"==typeof o.getKeyValueListForStream&&(a=o.getKeyValueListForStream()),o.Rect=s,o.hasAppearanceStream&&!o.appearanceStreamContent){var l=ne(o);a.push({key:"AP",value:"<</N "+l+">>"}),t.internal.acroformPlugin.xForms.push(l)}if(o.appearanceStreamContent){var c="";for(var u in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(u)){var d=o.appearanceStreamContent[u];if(c+="/"+u+" ",c+="<<",Object.keys(d).length>=1||Array.isArray(d)){for(var r in d)if(d.hasOwnProperty(r)){var h=d[r];"function"==typeof h&&(h=h.call(t,o)),c+="/"+r+" "+h+" ",t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=d)&&(h=h.call(t,o)),c+="/"+r+" "+h,t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h);c+=">>"}a.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:a,objectId:o.objId}),t.internal.out("endobj")}n&&se(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}},ce=U.__acroform__.arrayToPdfArray=function(e,t,n){var r=function(e){return e};if(Array.isArray(e)){for(var o="[",a=0;a<e.length;a++)switch(0!==a&&(o+=" "),i()(e[a])){case"boolean":case"number":case"object":o+=e[a].toString();break;case"string":"/"!==e[a].substr(0,1)?(void 0!==t&&n&&(r=n.internal.getEncryptor(t)),o+="("+Q(r(e[a].toString()))+")"):o+=e[a].toString()}return o+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ue=function(e,t,n){var r=function(e){return e};return void 0!==t&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+Q(r(e))+")"},de=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};de.prototype.toString=function(){return this.objId+" 0 R"},de.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},de.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var r=t[n],i=this[r];i&&(Array.isArray(i)?e.push({key:r,value:ce(i,this.objId,this.scope)}):i instanceof de?(i.scope=this.scope,e.push({key:r,value:i.objId+" 0 R"})):"function"!=typeof i&&e.push({key:r,value:i}))}return e};var he=function(){de.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 e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};W(he,de);var fe=function(){de.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Q(t(e))+")"}},set:function(t){e=t}})};W(fe,de);var pe=function e(){de.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(t,3))},set:function(e){!0===Boolean(e)?this.F=$(t,3):this.F=ee(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[3]=e}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof we)return;o="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Q(t(o))+")"},set:function(e){o=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(e){o=e}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(e){a=e}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/H:c},set:function(e){c=e}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(e){u=e}});var d="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!d||this instanceof we||this instanceof Ce))return ue(d,this.objId,this.scope)},set:function(e){e=e.toString(),d=e}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof ye==0?ue(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof ye==0?"("===e.substr(0,1)?K(e.substr(1,e.length-2)):K(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ye==1?K(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof ye==1?"/"+e:e}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof ye==0?ue(f,this.objId,this.scope):f},set:function(e){e=e.toString(),f=this instanceof ye==0?"("===e.substr(0,1)?K(e.substr(1,e.length-2)):K(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ye==1?K(f.substr(1,f.length-1)):f},set:function(e){e=e.toString(),f=this instanceof ye==1?"/"+e:e}}),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 p,A=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return A},set:function(e){e=Boolean(e),A=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(p)return p},set:function(e){p=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,1):this.Ff=ee(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,2):this.Ff=ee(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,3):this.Ff=ee(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');g=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(g){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:g=2;break;case"center":case 1:g=1;break;case"left":case 0:default:g=0}}})};W(pe,de);var Ae=function(){pe.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ce(t,this.objId,this.scope)},set:function(e){var n,r;r=[],"string"==typeof(n=e)&&(r=function(e,t,n){n||(n=1);for(var r,i=[];r=t.exec(e);)i.push(r[n]);return i}(n,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,18):this.Ff=ee(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=$(this.Ff,19):this.Ff=ee(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=$(this.Ff,20),t.sort()):this.Ff=ee(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,22):this.Ff=ee(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,23):this.Ff=ee(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,27):this.Ff=ee(this.Ff,27)}}),this.hasAppearanceStream=!1};W(Ae,pe);var ge=function(){Ae.call(this),this.fontName="helvetica",this.combo=!1};W(ge,Ae);var me=function(){ge.call(this),this.combo=!0};W(me,ge);var ve=function(){me.call(this),this.edit=!0};W(ve,me);var ye=function(){pe.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,15):this.Ff=ee(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,16):this.Ff=ee(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,17):this.Ff=ee(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,26):this.Ff=ee(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var n,r=[];for(n in r.push("<<"),t)r.push("/"+n+" ("+Q(e(t[n]))+")");return r.push(">>"),r.join("\n")}},set:function(e){"object"===i()(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};W(ye,pe);var be=function(){ye.call(this),this.pushButton=!0};W(be,ye);var _e=function(){ye.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};W(_e,ye);var we=function(){var e,t;pe.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,n=[];for(t in n.push("<<"),r)n.push("/"+t+" ("+Q(e(r[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"===i()(e)&&(r=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(e){"string"==typeof e&&(r.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ke.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};W(we,pe),_e.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},_e.prototype.createOption=function(e){var t=new we;return t.Parent=this,t.optionName=e,this.Kids.push(t),Ee.call(this.scope,t),t};var xe=function(){ye.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ke.CheckBox.createAppearanceStream()};W(xe,ye);var Ce=function(){pe.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,13):this.Ff=ee(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,21):this.Ff=ee(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,23):this.Ff=ee(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,24):this.Ff=ee(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,25):this.Ff=ee(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,26):this.Ff=ee(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};W(Ce,pe);var Se=function(){Ce.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,14):this.Ff=ee(this.Ff,14)}}),this.password=!0};W(Se,Ce);var ke={CheckBox:{createAppearanceStream:function(){return{N:{On:ke.CheckBox.YesNormal},D:{On:ke.CheckBox.YesPushDown,Off:ke.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=X(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),o=re(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+z(ke.internal.getWidth(e))+" "+z(ke.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+z(o.fontSize)+" Tf "+i),n.push("BT"),n.push(o.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=X(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=[],o=ke.internal.getHeight(e),a=ke.internal.getWidth(e),s=re(e,e.caption);return i.push("1 g"),i.push("0 0 "+z(a)+" "+z(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+z(a-1)+" "+z(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+z(s.fontSize)+" Tf "+r),i.push(s.text),i.push("ET"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=X(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+z(ke.internal.getWidth(e))+" "+z(ke.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:ke.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=ke.RadioButton.Circle.YesNormal,t.D[e]=ke.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=X(e);t.scope=e.scope;var n=[],r=ke.internal.getWidth(e)<=ke.internal.getHeight(e)?ke.internal.getWidth(e)/4:ke.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=ke.internal.Bezier_C,o=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+V(ke.internal.getWidth(e)/2)+" "+V(ke.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=X(e);t.scope=e.scope;var n=[],r=ke.internal.getWidth(e)<=ke.internal.getHeight(e)?ke.internal.getWidth(e)/4:ke.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*ke.internal.Bezier_C).toFixed(5)),a=Number((r*ke.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+V(ke.internal.getWidth(e)/2)+" "+V(ke.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+V(ke.internal.getWidth(e)/2)+" "+V(ke.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),n.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),n.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),n.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=X(e);t.scope=e.scope;var n=[],r=ke.internal.getWidth(e)<=ke.internal.getHeight(e)?ke.internal.getWidth(e)/4:ke.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*ke.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+V(ke.internal.getWidth(e)/2)+" "+V(ke.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:ke.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=ke.RadioButton.Cross.YesNormal,t.D[e]=ke.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=X(e);t.scope=e.scope;var n=[],r=ke.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+z(ke.internal.getWidth(e)-2)+" "+z(ke.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(z(r.x1.x)+" "+z(r.x1.y)+" m"),n.push(z(r.x2.x)+" "+z(r.x2.y)+" l"),n.push(z(r.x4.x)+" "+z(r.x4.y)+" m"),n.push(z(r.x3.x)+" "+z(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=X(e);t.scope=e.scope;var n=ke.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+z(ke.internal.getWidth(e))+" "+z(ke.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+z(ke.internal.getWidth(e)-2)+" "+z(ke.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(z(n.x1.x)+" "+z(n.x1.y)+" m"),r.push(z(n.x2.x)+" "+z(n.x2.y)+" l"),r.push(z(n.x4.x)+" "+z(n.x4.y)+" m"),r.push(z(n.x3.x)+" "+z(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=X(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+z(ke.internal.getWidth(e))+" "+z(ke.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};ke.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=ke.internal.getWidth(e),n=ke.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},ke.internal.getWidth=function(e){var t=0;return"object"===i()(e)&&(t=G(e.Rect[2])),t},ke.internal.getHeight=function(e){var t=0;return"object"===i()(e)&&(t=G(e.Rect[3])),t};var Ee=U.addField=function(e){if(le(this,e),!(e instanceof pe))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};U.AcroFormChoiceField=Ae,U.AcroFormListBox=ge,U.AcroFormComboBox=me,U.AcroFormEditBox=ve,U.AcroFormButton=ye,U.AcroFormPushButton=be,U.AcroFormRadioButton=_e,U.AcroFormCheckBox=xe,U.AcroFormTextField=Ce,U.AcroFormPasswordField=Se,U.AcroFormAppearance=ke,U.AcroForm={ChoiceField:Ae,ListBox:ge,ComboBox:me,EditBox:ve,Button:ye,PushButton:be,RadioButton:_e,CheckBox:xe,TextField:Ce,PasswordField:Se,Appearance:ke},R.AcroForm={ChoiceField:Ae,ListBox:ge,ComboBox:me,EditBox:ve,Button:ye,PushButton:be,RadioButton:_e,CheckBox:xe,TextField:Ce,PasswordField:Se,Appearance:ke};var Oe=R.AcroForm;function Be(e){return e.reduce((function(e,t,n){return e[t]=n,e}),{})}!function(e){e.__addimage__={};var t="UNKNOWN",n={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]]},r=e.__addimage__.getImageFileTypeByImageData=function(e,r){var i,o,a,s,l,c=t;if("RGBA"===(r=r||t)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(C(e))for(l in n)for(a=n[l],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==e[o]){s=!1;break}if(!0===s){c=l;break}}else for(l in n)for(a=n[l],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==e.charCodeAt(o)){s=!1;break}if(!0===s){c=l;break}}return c===t&&r!==t&&(c=r),c},o=function e(t){for(var n=this.internal.write,r=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:t.width}),o.push({key:"Height",value:t.height}),t.colorSpace===v.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===v.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var a="",s=0,l=t.transparency.length;s<l;s++)a+=t.transparency[s]+" "+t.transparency[s]+" ";o.push({key:"Mask",value:"["+a+"]"})}void 0!==t.sMask&&o.push({key:"SMask",value:t.objectId+1+" 0 R"});var c=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:o,alreadyAppliedFilters:c,objectId:t.objectId}),n("endobj"),"sMask"in t&&void 0!==t.sMask){var u="/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,d={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:u,data:t.sMask};"filter"in t&&(d.filter=t.filter),e.call(this,d)}if(t.colorSpace===v.INDEXED){var h=this.internal.newObject();r({data:k(new Uint8Array(t.palette)),objectId:h}),n("endobj")}},a=function(){var e=this.internal.collections.addImage_images;for(var t in e)o.call(this,e[t])},s=function(){var e,t=this.internal.collections.addImage_images,n=this.internal.write;for(var r in t)n("/I"+(e=t[r]).index,e.objectId,"0","R")},l=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s))},c=function(){var e=this.internal.collections.addImage_images;return l.call(this),e},u=function(){return Object.keys(this.internal.collections.addImage_images).length},d=function(t){return"function"==typeof e["process"+t.toUpperCase()]},f=function(e){return"object"===i()(e)&&1===e.nodeType},p=function(t,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return h(unescape(r).split("base64,").pop());var i=e.loadFile(r,!0);if(void 0!==i)return i}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var o;switch(n){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;case"JPEG":case"JPG":default:o="image/jpeg"}return h(t.toDataURL(o,1).split("base64,").pop())}},A=function(e){var t=this.internal.collections.addImage_images;if(t)for(var n in t)if(e===t[n].alias)return t[n]},g=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},m=function(e,t,n,r,i,o){var a=g.call(this,n,r,i),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,u=c.call(this);if(n=a[0],r=a[1],u[i.index]=i,o){o*=Math.PI/180;var d=Math.cos(o),h=Math.sin(o),f=function(e){return e.toFixed(4)},p=[f(d),f(h),f(-1*h),f(d),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,s(e),l(t+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(n),"0","0",s(r),"0","0","cm"].join(" "))):this.internal.write([s(n),"0","0",s(r),s(e),l(t+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+i.index+" Do"),this.internal.write("Q")},v=e.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"};e.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 y=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},b=e.__addimage__.sHashCode=function(e){var t,n,r=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;else if(C(e))for(n=e.byteLength/2,t=0;t<n;t++)r=(r<<5)-r+e[t],r|=0;return r},_=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},w=e.__addimage__.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),n=null;if(2===t.length){var r=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:t[1]})}return n},x=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return x()&&e instanceof ArrayBuffer};var C=e.__addimage__.isArrayBufferView=function(e){return x()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},S=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},k=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",n=C(e)?e:new Uint8Array(e),r=0;r<n.length;r+=8192)t+=String.fromCharCode.apply(null,n.subarray(r,r+8192));return t};e.addImage=function(){var e,n,r,o,a,s,c,u,d;if("number"==typeof arguments[1]?(n=t,r=arguments[1],o=arguments[2],a=arguments[3],s=arguments[4],c=arguments[5],u=arguments[6],d=arguments[7]):(n=arguments[1],r=arguments[2],o=arguments[3],a=arguments[4],s=arguments[5],c=arguments[6],u=arguments[7],d=arguments[8]),"object"===i()(e=arguments[0])&&!f(e)&&"imageData"in e){var h=e;e=h.imageData,n=h.format||n||t,r=h.x||r||0,o=h.y||o||0,a=h.w||h.width||a,s=h.h||h.height||s,c=h.alias||c,u=h.compression||u,d=h.rotation||h.angle||d}var p=this.internal.getFilters();if(void 0===u&&-1!==p.indexOf("FlateEncode")&&(u="SLOW"),isNaN(r)||isNaN(o))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var A=E.call(this,e,n,c,u);return m.call(this,r,o,a,s,A,d),this};var E=function(n,i,o,a){var s,l,c;if("string"==typeof n&&r(n)===t){n=unescape(n);var h=O(n,!1);(""!==h||void 0!==(h=e.loadFile(n,!0)))&&(n=h)}if(f(n)&&(n=p(n,i)),i=r(n,i),!d(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if((null==(c=o)||0===c.length)&&(o=function(e){return"string"==typeof e||C(e)?b(e):C(e.data)?b(e.data):null}(n)),(s=A.call(this,o))||(x()&&(n instanceof Uint8Array||"RGBA"===i||(l=n,n=S(n))),s=this["process"+i.toUpperCase()](n,u.call(this),o,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:y.NONE}(a),l)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},O=e.__addimage__.convertBase64ToBinaryString=function(e,t){var n;t="boolean"!=typeof t||t;var r,i="";if("string"==typeof e){r=null!==(n=w(e))?n.data:e;try{i=h(r)}catch(e){if(t)throw _(r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};e.getImageProperties=function(n){var i,o,a="";if(f(n)&&(n=p(n)),"string"==typeof n&&r(n)===t&&(""===(a=O(n,!1))&&(a=e.loadFile(n)||""),n=a),o=r(n),!d(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(!x()||n instanceof Uint8Array||(n=S(n)),!(i=this["process"+o.toUpperCase()](n)))throw new Error("An unknown error occurred whilst processing the image");return i.fileType=o,i}}(R.API),function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};R.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var n,r,i,o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(e.objId),l=e.pageContext.annotations,c=!1,u=0;u<l.length&&!c;u++)switch((n=l[u]).type){case"link":(t(n.options.url)||t(n.options.pageNumber))&&(c=!0);break;case"reference":case"text":case"freetext":c=!0}if(0!=c){this.internal.write("/Annots [");for(var d=0;d<l.length;d++){n=l[d];var h=this.internal.pdfEscape,f=this.internal.getEncryptor(e.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),A=this.internal.newAdditionalObject(),g=this.internal.getEncryptor(p.objId),m=n.title||"Note";i="<</Type /Annot /Subtype /Text "+(r="/Rect ["+o(n.bounds.x)+" "+a(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y)+"] ")+"/Contents ("+h(g(n.contents))+")",i+=" /Popup "+A.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+h(g(m))+") >>",p.content=i;var v=p.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+o(n.bounds.x+30)+" "+a(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w+30)+" "+a(n.bounds.y)+"] ")+" /Parent "+v,n.open&&(i+=" /Open true"),i+=" >>",A.content=i,this.internal.write(p.objId,"0 R",A.objId,"0 R");break;case"freetext":r="/Rect ["+o(n.bounds.x)+" "+a(n.bounds.y)+" "+o(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y+n.bounds.h)+"] ";var y=n.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+h(f(n.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(n.options.name){var b=this.annotations._nameMap[n.options.name];n.options.pageNumber=b.page,n.options.top=b.y}else n.options.top||(n.options.top=0);if(r="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",i="",n.options.url)i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+h(f(n.options.url))+") >>";else if(n.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,i+=" /FitV "+n.options.left+"]";break;case"XYZ":default:var _=a(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),i+=" /XYZ "+n.options.left+" "+_+" "+n.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,n,r,i){var o=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:a(e),y:s(t),w:a(e+n),h:s(t+r)},options:i,type:"link"})},e.textWithLink=function(e,t,n,r){var i,o,a=this.getTextWidth(e),s=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){o=r.maxWidth;var l=this.splitTextToSize(e,o).length;i=Math.ceil(s*l)}else o=a,i=s;return this.text(e,t,n,r),n+=.2*s,"center"===r.align&&(t-=a/2),"right"===r.align&&(t-=a),this.link(t,n-s,o,i,r),a},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(R.API),function(e){var t={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]},n={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}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var o=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},a=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return a(e)&&i.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length>=1};var c=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length>=3};var u=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return a(e)&&o(e)&&4==t[e.charCodeAt(0)].length},d=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,i="",o=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(o++,"number"==typeof(r=r[e.charCodeAt(t)])&&(i+=String.fromCharCode(r),r=n,o=0),t===e.length-1&&(r=n,i+=e.charAt(t-(o-1)),t-=o-1,o=0)):(r=n,i+=e.charAt(t-o),t-=o,o=0);return i};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]};var h=e.__arabicParser__.getCorrectForm=function(e,t,n){return a(e)?!1===o(e)?-1:!c(e)||!a(t)&&!a(n)||!a(n)&&s(t)||s(e)&&!a(t)||s(e)&&l(t)||s(e)&&s(t)?0:u(e)&&a(t)&&!s(t)&&a(n)&&c(n)?3:s(e)||!a(n)?1:2:-1},f=function(e){var n=0,r=0,i=0,o="",s="",l="",c=(e=e||"").split("\\s+"),u=[];for(n=0;n<c.length;n+=1){for(u.push(""),r=0;r<c[n].length;r+=1)o=c[n][r],s=c[n][r-1],l=c[n][r+1],a(o)?(i=h(o,s,l),u[n]+=-1!==i?String.fromCharCode(t[o.charCodeAt(0)][i]):o):u[n]+=o;u[n]=d(u[n])}return u.join(" ")},p=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var r=0;for(n=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?n.push([f(t[r][0]),t[r][1],t[r][2]]):n.push([f(t[r])]);e=n}else e=f(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",p])}(R.API),R.API.autoPrint=function(e){var t;switch((e=e||{}).variant=e.variant||"non-conform",e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",(function(){t=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 "+t+" 0 R")}))}return this},function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(e){i=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(R.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,r=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(e){o=e}});var a=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return a},set:function(e){a=e}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){r.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),i=t.font||this.getFont(),o=t.scaleFactor||this.internal.scaleFactor,a=0,s=0,l=0,c=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var u=t.maxWidth;u>0?"string"==typeof e?e=this.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(c.splitTextToSize(t,u))}),[])):e=Array.isArray(e)?e:[e];for(var d=0;d<e.length;d++)a<(l=this.getStringUnitWidth(e[d],{font:i})*n)&&(a=l);return 0!==a&&(s=e.length),{w:a/=o,h:Math.max((s*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/o,0)}},e.cellAddPage=function(){r.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new a(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var e;e=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var i=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,l=this.internal.__cell__.tableHeaderRow,c=this.internal.__cell__.printHeaders;return void 0!==i.lineNumber&&(i.lineNumber===e.lineNumber?(e.x=(i.x||0)+(i.width||0),e.y=i.y||0):i.y+i.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,c&&l&&(this.printHeaderRow(e.lineNumber,!0),e.y+=l[0].height)):e.y=i.y+i.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-o,e.y+o,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+o,{align:"center",baseline:"top",maxWidth:e.width-o-o}):this.text(e.text,e.x+o,e.y+o,{align:"left",baseline:"top",maxWidth:e.width-o-o})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,c,u,d){if(r.call(this),!c)throw new Error("No data for PDF table.");var h,f,p,A,g=[],m=[],v=[],y={},b={},_=[],w=[],x=(d=d||{}).autoSize||!1,C=!1!==d.printHeaders,S=d.css&&void 0!==d.css["font-size"]?16*d.css["font-size"]:d.fontSize||12,k=d.margins||Object.assign({width:this.getPageWidth()},t),E="number"==typeof d.padding?d.padding:3,O=d.headerBackgroundColor||"#c8c8c8",B=d.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=C,this.internal.__cell__.margins=k,this.internal.__cell__.table_font_size=S,this.internal.__cell__.padding=E,this.internal.__cell__.headerBackgroundColor=O,this.internal.__cell__.headerTextColor=B,this.setFontSize(S),null==u)m=g=Object.keys(c[0]),v=g.map((function(){return"left"}));else if(Array.isArray(u)&&"object"===i()(u[0]))for(g=u.map((function(e){return e.name})),m=u.map((function(e){return e.prompt||e.name||""})),v=u.map((function(e){return e.align||"left"})),h=0;h<u.length;h+=1)b[u[h].name]=u[h].width*(19.049976/25.4);else Array.isArray(u)&&"string"==typeof u[0]&&(m=g=u,v=g.map((function(){return"left"})));if(x||Array.isArray(u)&&"string"==typeof u[0])for(h=0;h<g.length;h+=1){for(y[A=g[h]]=c.map((function(e){return e[A]})),this.setFont(void 0,"bold"),_.push(this.getTextDimensions(m[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),f=y[A],this.setFont(void 0,"normal"),p=0;p<f.length;p+=1)_.push(this.getTextDimensions(f[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);b[A]=Math.max.apply(null,_)+E+E,_=[]}if(C){var M={};for(h=0;h<g.length;h+=1)M[g[h]]={},M[g[h]].text=m[h],M[g[h]].align=v[h];var T=l.call(this,M,b);w=g.map((function(t){return new a(e,n,b[t],T,M[t].text,void 0,M[t].align)})),this.setTableHeaderRow(w),this.printHeaderRow(1,!1)}var I=u.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(h=0;h<c.length;h+=1){"rowStart"in d&&d.rowStart instanceof Function&&d.rowStart({row:h,data:c[h]},this);var L=l.call(this,c[h],b);for(p=0;p<g.length;p+=1){var D=c[h][g[p]];"cellStart"in d&&d.cellStart instanceof Function&&d.cellStart({row:h,col:p,data:D},this),s.call(this,new a(e,n,b[g[p]],L,D,h+2,I[g[p]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var l=function(e,t){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(e).map((function(r){var i=e[r];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,t[r]-n-n)}),this).map((function(e){return this.getLineHeightFactor()*e.length*r/i+n+n}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){r.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var o=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(o[0],o[1],o[2],o[3],void 0,-1)}this.setFont(void 0,"bold");for(var l=[],c=0;c<this.internal.__cell__.tableHeaderRow.length;c+=1){i=this.internal.__cell__.tableHeaderRow[c].clone(),t&&(i.y=this.internal.__cell__.margins.top||0,l.push(i)),i.lineNumber=e;var u=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,i),this.setTextColor(u)}l.length>0&&this.setTableHeaderRow(l),this.setFont(void 0,"normal"),n=!1}}(R.API);var Me={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Te=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ie=Be(Te),Le=[100,200,300,400,500,600,700,800,900],De=Be(Le);function Pe(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(e){return Me[e=e||"normal"]?e:"normal"}(e.style),r=function(e){if(!e)return 400;if("number"==typeof e)return e>=100&&e<=900&&e%100==0?e:400;if(/^\d00$/.test(e))return parseInt(e);switch(e){case"bold":return 700;case"normal":default:return 400}}(e.weight),i=function(e){return"number"==typeof Ie[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:n,weight:r,stretch:i,src:e.src||[],ref:e.ref||{name:t,style:[i,n,r].join(" ")}}}function Ne(e,t,n,r){var i;for(i=n;i>=0&&i<t.length;i+=r)if(e[t[i]])return e[t[i]];for(i=n;i>=0&&i<t.length;i-=r)if(e[t[i]])return e[t[i]]}var je={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Fe={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Re(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function Ue(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",i=Object.assign({},je,n.genericFontFamilies||{}),o=null,a=null,s=0;s<t.length;++s)if(i[(o=Pe(t[s])).family]&&(o.family=i[o.family]),e.hasOwnProperty(o.family)){a=e[o.family];break}if(!(a=a||e[r]))throw new Error("Could not find a font-family for the rule '"+Re(o)+"' and default family '"+r+"'.");if(a=function(e,t){if(t[e])return t[e];var n=Ie[e],r=n<=Ie.normal?-1:1,i=Ne(t,Te,n,r);if(!i)throw new Error("Could not find a matching font-stretch value for "+e);return i}(o.stretch,a),a=function(e,t){if(t[e])return t[e];for(var n=Me[e],r=0;r<n.length;++r)if(t[n[r]])return t[n[r]];throw new Error("Could not find a matching font-style for "+e)}(o.style,a),!(a=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var n=De[e],r=Ne(t,Le,n,e<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+e);return r}(o.weight,a)))throw new Error("Failed to resolve a font for the rule '"+Re(o)+"'.");return a}function He(e){return e.trimLeft()}function Qe(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function Ke(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var ze,Ve,We,Ge=["times"];!function(e){var t,n,r,o,a,s,c,u,d,h=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new u,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new f(this),t=this.internal.f2,n=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,s=this.internal.Point,c=this.internal.Rectangle,u=this.internal.Matrix,d=new h}]);var f=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(e){isNaN(e)||(o=e)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),d.margin=t}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(e){a=e}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var l=[];Object.defineProperty(this,"pageBreaks",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(e){e instanceof h&&(d=e)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(e){d.path=e}});var c=[];Object.defineProperty(this,"ctxStack",{get:function(){return c},set:function(e){c=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=p(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=p(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var u=null;function f(e,t){if(null===u){var n=function(e){var t=[];return Object.keys(e).forEach((function(n){e[n].forEach((function(e){var r=null;switch(e){case"bold":r={family:n,weight:"bold"};break;case"italic":r={family:n,style:"italic"};break;case"bolditalic":r={family:n,weight:"bold",style:"italic"};break;case"":case"normal":r={family:n}}null!==r&&(r.ref={name:n,style:e},t.push(r))}))})),t}(e.getFontList());u=function(e){for(var t={},n=0;n<e.length;++n){var r=Pe(e[n]),i=r.family,o=r.stretch,a=r.style,s=r.weight;t[i]=t[i]||{},t[i][o]=t[i][o]||{},t[i][o][a]=t[i][o][a]||{},t[i][o][a][s]=r}return t}(n.concat(t))}return u}var A=null;Object.defineProperty(this,"fontFaces",{get:function(){return A},set:function(e){u=null,A=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\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(e))){var n=t[1],r=(t[2],t[3]),i=t[4],o=(t[5],t[6]),a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===a?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===a?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var s=function(e){var t,n,r=[],i=e.trim();if(""===i)return Ge;if(i in Fe)return[Fe[i]];for(;""!==i;){switch(n=null,t=(i=He(i)).charAt(0)){case'"':case"'":n=Qe(i.substring(1),t);break;default:n=Ke(i)}if(null===n)return Ge;if(r.push(n[0]),""!==(i=He(n[1]))&&","!==i.charAt(0))return Ge;i=i.replace(/^,/,"")}return r}(o);if(this.fontFaces){var l=Ue(f(this.pdf,this.fontFaces),s.map((function(e){return{family:e,stretch:"normal",weight:r,style:n}})));this.pdf.setFont(l.ref.name,l.ref.style)}else{var c="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(c="bold"),"italic"===n&&(c+="italic"),0===c.length&&(c="normal");for(var u="",d={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"},h=0;h<s.length;h++){if(void 0!==this.pdf.internal.getFont(s[h],c,{noFallback:!0,disableWarning:!0})){u=s[h];break}if("bolditalic"===c&&void 0!==this.pdf.internal.getFont(s[h],"bold",{noFallback:!0,disableWarning:!0}))u=s[h],c="bold";else if(void 0!==this.pdf.internal.getFont(s[h],"normal",{noFallback:!0,disableWarning:!0})){u=s[h],c="normal";break}}if(""===u)for(var p=0;p<s.length;p++)if(d[s[p]]){u=d[s[p]];break}u=""===u?"Times":u,this.pdf.setFont(u,c)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,U.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,U.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};f.prototype.setLineDash=function(e){this.lineDash=e},f.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},f.prototype.fill=function(){x.call(this,"fill",!1)},f.prototype.stroke=function(){x.call(this,"stroke",!1)},f.prototype.beginPath=function(){this.path=[{type:"begin"}]},f.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw l.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(e,t)},f.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===i()(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},f.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw l.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(n.x,n.y)},f.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),x.call(this,null,!0)},f.prototype.quadraticCurveTo=function(e,t,n,r){if(isNaN(n)||isNaN(r)||isNaN(e)||isNaN(t))throw l.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new s(n,r)),o=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:o.x,y1:o.y,x:i.x,y:i.y}),this.ctx.lastPoint=new s(i.x,i.y)},f.prototype.bezierCurveTo=function(e,t,n,r,i,o){if(isNaN(i)||isNaN(o)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw l.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var a=this.ctx.transform.applyToPoint(new s(i,o)),c=this.ctx.transform.applyToPoint(new s(e,t)),u=this.ctx.transform.applyToPoint(new s(n,r));this.path.push({type:"bct",x1:c.x,y1:c.y,x2:u.x,y2:u.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},f.prototype.arc=function(e,t,n,r,i,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i))throw l.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(o=Boolean(o),!this.ctx.transform.isIdentity){var a=this.ctx.transform.applyToPoint(new s(e,t));e=a.x,t=a.y;var c=this.ctx.transform.applyToPoint(new s(0,n)),u=this.ctx.transform.applyToPoint(new s(0,0));n=Math.sqrt(Math.pow(c.x-u.x,2)+Math.pow(c.y-u.y,2))}Math.abs(i-r)>=2*Math.PI&&(r=0,i=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:i,counterclockwise:o})},f.prototype.arcTo=function(e,t,n,r,i){throw new Error("arcTo not implemented.")},f.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw l.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},f.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw l.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!g.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,r),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},f.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw l.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},f.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))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(e,t,n,r))},f.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},f.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(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)},f.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(e){var t,n,r,i;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,n=0,r=0,i=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==o)t=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=parseFloat(o[4]);else{if(i=1,"string"==typeof e&&"#"!==e.charAt(0)){var a=new A(e);e=a.ok?a.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,a:i,style:e}},g=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},m=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};f.prototype.fillText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw l.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!g.call(this)){var i=j(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;T.call(this,{text:e,x:t,y:n,scale:o,angle:i,align:this.textAlign,maxWidth:r})}},f.prototype.strokeText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw l.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){r=isNaN(r)?void 0:r;var i=j(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;T.call(this,{text:e,x:t,y:n,scale:o,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:r})}},f.prototype.measureText=function(e){if("string"!=typeof e)throw l.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),i=t.getStringUnitWidth(e)*r/t.internal.scaleFactor,o=function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this};return new o({width:i*=Math.round(96*n/72*1e4)/1e4})},f.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw l.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new u(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},f.prototype.rotate=function(e){if(isNaN(e))throw l.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new u(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},f.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw l.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new u(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},f.prototype.transform=function(e,t,n,r,i,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o))throw l.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var a=new u(e,t,n,r,i,o);this.ctx.transform=this.ctx.transform.multiply(a)},f.prototype.setTransform=function(e,t,n,r,i,o){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,i=isNaN(i)?0:i,o=isNaN(o)?0:o,this.ctx.transform=new u(e,t,n,r,i,o)};var v=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};f.prototype.drawImage=function(e,t,n,r,i,o,a,s,l){var d=this.pdf.getImageProperties(e),h=1,f=1,p=1,A=1;void 0!==r&&void 0!==s&&(p=s/r,A=l/i,h=d.width/r*s/r,f=d.height/i*l/i),void 0===o&&(o=t,a=n,t=0,n=0),void 0!==r&&void 0===s&&(s=r,l=i),void 0===r&&void 0===s&&(s=d.width,l=d.height);for(var g,m=this.ctx.transform.decompose(),b=j(m.rotate.shx),x=new u,S=(x=(x=(x=x.multiply(m.translate)).multiply(m.skew)).multiply(m.scale)).applyToRectangle(new c(o-t*p,a-n*A,r*h,i*f)),k=y.call(this,S),E=[],O=0;O<k.length;O+=1)-1===E.indexOf(k[O])&&E.push(k[O]);if(w(E),this.autoPaging)for(var B=E[0],M=E[E.length-1],T=B;T<M+1;T++){this.pdf.setPage(T);var I=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],L=1===T?this.posY+this.margin[0]:this.margin[0],D=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],P=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],N=1===T?0:D+(T-2)*P;if(0!==this.ctx.clip_path.length){var F=this.path;g=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=_(g,this.posX+this.margin[3],-N+L+this.ctx.prevPageLastElemOffset),C.call(this,"fill",!0),this.path=F}var R=JSON.parse(JSON.stringify(S));R=_([R],this.posX+this.margin[3],-N+L+this.ctx.prevPageLastElemOffset)[0];var U=(T>B||T<M)&&v.call(this);U&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],I,P,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",R.x,R.y,R.w,R.h,null,null,b),U&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(e,"JPEG",S.x,S.y,S.w,S.h,null,null,b)};var y=function(e,t,n){var r=[];t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var i=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+i)/n)+1);break;case"arc":r.push(Math.floor((e.y+i-e.radius)/n)+1),r.push(Math.floor((e.y+i+e.radius)/n)+1);break;case"qct":var o=F(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor((o.y+i)/n)+1),r.push(Math.floor((o.y+o.h+i)/n)+1);break;case"bct":var a=R(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor((a.y+i)/n)+1),r.push(Math.floor((a.y+a.h+i)/n)+1);break;case"rect":r.push(Math.floor((e.y+i)/n)+1),r.push(Math.floor((e.y+e.h+i)/n)+1)}for(var s=0;s<r.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<r[s];)b.call(this);return r},b=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,i=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=i,this.lineJoin=o},_=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;case"mt":case"lt":case"arc":default:e[r].x+=t,e[r].y+=n}return e},w=function(e){return e.sort((function(e,t){return e-t}))},x=function(e,t){for(var n,r,i=this.fillStyle,o=this.strokeStyle,a=this.lineCap,s=this.lineWidth,l=Math.abs(s*this.ctx.transform.scaleX),c=this.lineJoin,u=JSON.parse(JSON.stringify(this.path)),d=JSON.parse(JSON.stringify(this.path)),h=[],f=0;f<d.length;f++)if(void 0!==d[f].x)for(var p=y.call(this,d[f]),A=0;A<p.length;A+=1)-1===h.indexOf(p[A])&&h.push(p[A]);for(var g=0;g<h.length;g++)for(;this.pdf.internal.getNumberOfPages()<h[g];)b.call(this);if(w(h),this.autoPaging)for(var m=h[0],x=h[h.length-1],S=m;S<x+1;S++){this.pdf.setPage(S),this.fillStyle=i,this.strokeStyle=o,this.lineCap=a,this.lineWidth=l,this.lineJoin=c;var k=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],E=1===S?this.posY+this.margin[0]:this.margin[0],O=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],B=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],M=1===S?0:O+(S-2)*B;if(0!==this.ctx.clip_path.length){var T=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=_(n,this.posX+this.margin[3],-M+E+this.ctx.prevPageLastElemOffset),C.call(this,e,!0),this.path=T}if(r=JSON.parse(JSON.stringify(u)),this.path=_(r,this.posX+this.margin[3],-M+E+this.ctx.prevPageLastElemOffset),!1===t||0===S){var I=(S>m||S<x)&&v.call(this);I&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],k,B,null).clip().discardPath()),C.call(this,e,t),I&&this.pdf.restoreGraphicsState()}this.lineWidth=s}else this.lineWidth=l,C.call(this,e,t),this.lineWidth=s;this.path=u},C=function(e,t){if(("stroke"!==e||t||!m.call(this))&&("stroke"===e||t||!g.call(this))){for(var n,r,i=[],o=this.path,a=0;a<o.length;a++){var s=o[a];switch(s.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:s,deltas:[],abs:[]});break;case"lt":var l=i.length;if(o[a-1]&&!isNaN(o[a-1].x)&&(n=[s.x-o[a-1].x,s.y-o[a-1].y],l>0))for(;l>=0;l--)if(!0!==i[l-1].close&&!0!==i[l-1].begin){i[l-1].deltas.push(n),i[l-1].abs.push(s);break}break;case"bct":n=[s.x1-o[a-1].x,s.y1-o[a-1].y,s.x2-o[a-1].x,s.y2-o[a-1].y,s.x-o[a-1].x,s.y-o[a-1].y],i[i.length-1].deltas.push(n);break;case"qct":var c=o[a-1].x+2/3*(s.x1-o[a-1].x),u=o[a-1].y+2/3*(s.y1-o[a-1].y),d=s.x+2/3*(s.x1-s.x),h=s.y+2/3*(s.y1-s.y),f=s.x,p=s.y;n=[c-o[a-1].x,u-o[a-1].y,d-o[a-1].x,h-o[a-1].y,f-o[a-1].x,p-o[a-1].y],i[i.length-1].deltas.push(n);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(s)}}r=t?null:"stroke"===e?"stroke":"fill";for(var A=!1,v=0;v<i.length;v++)if(i[v].arc)for(var y=i[v].abs,b=0;b<y.length;b++){var _=y[b];"arc"===_.type?E.call(this,_.x,_.y,_.radius,_.startAngle,_.endAngle,_.counterclockwise,void 0,t,!A):I.call(this,_.x,_.y),A=!0}else if(!0===i[v].close)this.pdf.internal.out("h"),A=!1;else if(!0!==i[v].begin){var w=i[v].start.x,x=i[v].start.y;L.call(this,i[v].deltas,w,x),A=!0}r&&O.call(this,r),t&&B.call(this)}},S=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;case"ideographic":return e;case"alphabetic":default:return e}},k=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};f.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},f.prototype.createPattern=function(){return this.createLinearGradient()},f.prototype.createRadialGradient=function(){return this.createLinearGradient()};var E=function(e,t,n,r,i,o,a,s,l){for(var c=P.call(this,n,r,i,o),u=0;u<c.length;u++){var d=c[u];0===u&&(l?M.call(this,d.x1+e,d.y1+t):I.call(this,d.x1+e,d.y1+t)),D.call(this,e,t,d.x2,d.y2,d.x3,d.y3,d.x4,d.y4)}s?B.call(this):O.call(this,a)},O=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},B=function(){this.pdf.clip(),this.pdf.discardPath()},M=function(e,t){this.pdf.internal.out(n(e)+" "+r(t)+" m")},T=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;case"left":case"start":default:t="left"}var n=this.pdf.getTextDimensions(e.text),r=S.call(this,e.y),i=k.call(this,r)-n.h,o=this.ctx.transform.applyToPoint(new s(e.x,r)),a=this.ctx.transform.decompose(),l=new u;l=(l=(l=l.multiply(a.translate)).multiply(a.skew)).multiply(a.scale);for(var d,h,f,p=this.ctx.transform.applyToRectangle(new c(e.x,r,n.w,n.h)),A=l.applyToRectangle(new c(e.x,i,n.w,n.h)),g=y.call(this,A),m=[],b=0;b<g.length;b+=1)-1===m.indexOf(g[b])&&m.push(g[b]);if(w(m),this.autoPaging)for(var x=m[0],E=m[m.length-1],O=x;O<E+1;O++){this.pdf.setPage(O);var B=1===O?this.posY+this.margin[0]:this.margin[0],M=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],T=this.pdf.internal.pageSize.height-this.margin[2],I=T-this.margin[0],L=this.pdf.internal.pageSize.width-this.margin[1],D=L-this.margin[3],P=1===O?0:M+(O-2)*I;if(0!==this.ctx.clip_path.length){var N=this.path;d=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=_(d,this.posX+this.margin[3],-1*P+B),C.call(this,"fill",!0),this.path=N}var j=_([JSON.parse(JSON.stringify(A))],this.posX+this.margin[3],-P+B+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*e.scale),f=this.lineWidth,this.lineWidth=f*e.scale);var F="text"!==this.autoPaging;if(F||j.y+j.h<=T){if(F||j.y>=B&&j.x<=L){var R=F?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||L-j.x)[0],U=_([JSON.parse(JSON.stringify(p))],this.posX+this.margin[3],-P+B+this.ctx.prevPageLastElemOffset)[0],H=F&&(O>x||O<E)&&v.call(this);H&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],D,I,null).clip().discardPath()),this.pdf.text(R,U.x,U.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),H&&this.pdf.restoreGraphicsState()}}else j.y<T&&(this.ctx.prevPageLastElemOffset+=T-j.y);e.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=f)}else e.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*e.scale),f=this.lineWidth,this.lineWidth=f*e.scale),this.pdf.text(e.text,o.x+this.posX,o.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=f)},I=function(e,t,i,o){i=i||0,o=o||0,this.pdf.internal.out(n(e+i)+" "+r(t+o)+" l")},L=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},D=function(e,n,r,i,s,l,c,u){this.pdf.internal.out([t(o(r+e)),t(a(i+n)),t(o(s+e)),t(a(l+n)),t(o(c+e)),t(a(u+n)),"c"].join(" "))},P=function(e,t,n,r){for(var i=2*Math.PI,o=Math.PI/2;t>n;)t-=i;var a=Math.abs(n-t);a<i&&r&&(a=i-a);for(var s=[],l=r?-1:1,c=t;a>1e-5;){var u=c+l*Math.min(a,o);s.push(N.call(this,e,c,u)),a-=Math.abs(u-c),c=u}return s},N=function(e,t,n){var r=(n-t)/2,i=e*Math.cos(r),o=e*Math.sin(r),a=i,s=-o,l=a*a+s*s,c=l+a*i+s*o,u=4/3*(Math.sqrt(2*l*c)-c)/(a*o-s*i),d=a-u*s,h=s+u*a,f=d,p=-h,A=r+t,g=Math.cos(A),m=Math.sin(A);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:d*g-h*m,y2:d*m+h*g,x3:f*g-p*m,y3:f*m+p*g,x4:e*Math.cos(n),y4:e*Math.sin(n)}},j=function(e){return 180*e/Math.PI},F=function(e,t,n,r,i,o){var a=e+.5*(n-e),s=t+.5*(r-t),l=i+.5*(n-i),u=o+.5*(r-o),d=Math.min(e,i,a,l),h=Math.max(e,i,a,l),f=Math.min(t,o,s,u),p=Math.max(t,o,s,u);return new c(d,f,h-d,p-f)},R=function(e,t,n,r,i,o,a,s){var l,u,d,h,f,p,A,g,m,v,y,b,_,w,x=n-e,C=r-t,S=i-n,k=o-r,E=a-i,O=s-o;for(u=0;u<41;u++)m=(A=(d=e+(l=u/40)*x)+l*((f=n+l*S)-d))+l*(f+l*(i+l*E-f)-A),v=(g=(h=t+l*C)+l*((p=r+l*k)-h))+l*(p+l*(o+l*O-p)-g),0==u?(y=m,b=v,_=m,w=v):(y=Math.min(y,m),b=Math.min(b,v),_=Math.max(_,m),w=Math.max(w,v));return new c(Math.round(y),Math.round(b),Math.round(_-y),Math.round(w-b))},U=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,n=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==n&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=n)}}}(R.API),function(e){var t=function(e){var t,n,r,i,o,a,s,l,c,u;for(/[^\x00-\xFF]/.test(e),n=[],r=0,i=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;i>r;r+=4)0!==(o=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(a=(o=((o=((o=((o=(o-(u=o%85))/85)-(c=o%85))/85)-(l=o%85))/85)-(s=o%85))/85)%85,n.push(a+33,s+33,l+33,c+33,u+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,r,i,o,a=String,s="length",l=255,c="charCodeAt",u="slice",d="replace";for(e[u](-2),e=e[u](0,-2)[d](/\s/g,"")[d]("z","!!!!!"),r=[],i=0,o=(e+=t="uuuuu"[u](e[s]%5||5))[s];o>i;i+=5)n=52200625*(e[c](i)-33)+614125*(e[c](i+1)-33)+7225*(e[c](i+2)-33)+85*(e[c](i+3)-33)+(e[c](i+4)-33),r.push(l&n>>24,l&n>>16,l&n>>8,l&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(r,t[s]),a.fromCharCode.apply(a,r)},r=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},i=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=Object(o["b"])(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,o){var a=0,s=e||"",l=[];for("string"==typeof(o=o||[])&&(o=[o]),a=0;a<o.length;a+=1)switch(o[a]){case"ASCII85Decode":case"/ASCII85Decode":s=n(s),l.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=t(s),l.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=r(s),l.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",l.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=i(s),l.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[a]+'" is not implemented')}return{data:s,reverseChain:l.reverse().join(" ")}}}(R.API),function(e){e.loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var r=void 0;try{r=function(e,t,n){var r=new XMLHttpRequest,i=0,o=function(e){var t=e.length,n=[],r=String.fromCharCode;for(i=0;i<t;i+=1)n.push(r(255&e.charCodeAt(i)));return n.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?n(o(this.responseText)):n(void 0)}),r.send(null),t&&200===r.status)return o(r.responseText)}(e,t,n)}catch(e){}return r}(e,t,n)},e.loadImageFile=e.loadFile}(R.API),function(e){function t(){return(a.html2canvas?Promise.resolve(a.html2canvas):Promise.resolve().then(n.t.bind(null,"wOnQ",7)))["catch"]((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e["default"]?e["default"]:e}))}function r(){return(a.DOMPurify?Promise.resolve(a.DOMPurify):n.e(227).then(n.t.bind(null,"qZ2Q",7)))["catch"]((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e["default"]?e["default"]:e}))}var o=function(e){var t=i()(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},s=function(e,t){var n=document.createElement(e);for(var r in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[r]=t.style[r];return n},l=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(l.prototype=Object.create(Promise.prototype)).constructor=l,l.convert=function(e,t){return e.__proto__=t||l.prototype,e},l.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"}},l.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(o(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(r).then((function(t){return this.set({src:s("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},l.prototype.to=function(e){switch(e){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.")}},l.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 e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||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},t=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),i=t.firstChild;i;i=i.nextSibling)!0!==n&&1===i.nodeType&&"SCRIPT"===i.nodeName||r.appendChild(e(i,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=s("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=s("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(s("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"}))},l.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},l.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=this.opt.jsPDF,n=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,i=Object.assign({async:!0,allowTaint:!0,scale:r,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 i.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=n,n)for(var o=0;o<n.length;++o){var a=n[o],s=a.src.find((function(e){return"truetype"===e.format}));s&&t.addFont(s.url,a.ref.name,a.ref.style)}return i.windowHeight=i.windowHeight||0,i.windowHeight=0==i.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):i.windowHeight,t.context2d.save(!0),e(this.prop.container,i)})).then((function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},l.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},l.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},l.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},l.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},l.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){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 "'+e+'" is not supported.'}}))},l.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},l.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},l.prototype.set=function(e){if("object"!==o(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in l.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},l.prototype.get=function(e,t){return this.then((function(){var n=e in l.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},l.prototype.setMargin=function(e){return this.then((function(){switch(o(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},l.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||R.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},l.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},l.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},l.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},l.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:l.convert(Object.assign({},this),Promise.prototype),i=n.call(r,e,t);return l.convert(i,this.__proto__)},l.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},l.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},l.prototype["catch"]=function(e){e&&(e=e.bind(this));var t=Promise.prototype["catch"].call(this,e);return l.convert(t,this)},l.prototype.catchExternal=function(e){return Promise.prototype["catch"].call(this,e)},l.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},l.prototype.using=l.prototype.set,l.prototype.saveAs=l.prototype.save,l.prototype["export"]=l.prototype.output,l.prototype.run=l.prototype.then,R.getPageSize=function(e,t,n){if("object"===i()(e)){var r=e;e=r.orientation,t=r.unit||t,n=r.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var o,a=(""+n).toLowerCase(),s={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(t){case"pt":o=1;break;case"mm":o=72/25.4;break;case"cm":o=72/2.54;break;case"in":o=72;break;case"px":o=.75;break;case"pc":case"em":o=12;break;case"ex":o=6;break;default:throw"Invalid unit: "+t}var l,c=0,u=0;if(s.hasOwnProperty(a))c=s[a][1]/o,u=s[a][0]/o;else try{c=n[1],u=n[0]}catch(d){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",u>c&&(l=u,u=c,c=l);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",c>u&&(l=u,u=c,c=l)}return{width:u,height:c,unit:t,k:o,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(Pe):null;var n=new l(t);return t.worker?n:n.from(e).doCallback()}}(R.API),R.API.addJS=function(e){return We=e,this.internal.events.subscribe("postPutResources",(function(){ze=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ze+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Ve=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+We+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==ze&&void 0!==Ve&&this.internal.out("/Names <</JavaScript "+ze+" 0 R>>")})),this},function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),i=0;i<r.length;i++){var o=r[i],a=n.exec(o);if(null!=a){var s=a[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(o)}if(this.outline.createNamedDestinations){var l=this.internal.pages.length,c=[];for(i=0;i<l;i++){var u=e.internal.newObject();c.push(u);var d=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+d.objId+" 0 R /XYZ null null null]>> endobj")}var h=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<c.length;i++)e.internal.write("(page_"+(i+1)+")"+c[i]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+h+" 0 R"),e.internal.write(">>","endobj")}}]),e.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 "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var i=t.children[r];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var o=this.count=this.count_r({count:0},i);if(o>0&&this.line("/Count "+o),i.options&&i.options.pageNumber){var a=e.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(R.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,r,i,o,a){var s,l=this.decode.DCT_DECODE,c=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=o||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(s=function(e){for(var n,r=256*e.charCodeAt(4)+e.charCodeAt(5),i=e.length,o={width:0,height:0,numcomponents:1},a=4;a<i;a+=2){if(a+=r,-1!==t.indexOf(e.charCodeAt(a+1))){n=256*e.charCodeAt(a+5)+e.charCodeAt(a+6),o={width:256*e.charCodeAt(a+7)+e.charCodeAt(a+8),height:n,numcomponents:e.charCodeAt(a+9)};break}r=256*e.charCodeAt(a+2)+e.charCodeAt(a+3)}return o}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}c={data:e,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:l,index:n,alias:r}}return c}}(R.API);var Xe,qe,Ye,Ze,Je,$e=function(){var e,t,n;function r(e){var t,n,r,i,o,a,s,l,c,u,d,h,f,p;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},a=null;;){switch(t=this.readUInt32(),c=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.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(t);break;case"fcTL":a&&this.animation.frames.push(a),this.pos+=4,a={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),i=this.readUInt16()||100,a.delay=1e3*o/i,a.disposeOp=this.data[this.pos++],a.blendOp=this.data[this.pos++],a.data=[];break;case"IDAT":case"fdAT":for("fdAT"===c&&(this.pos+=4,t-=4),e=(null!=a?a.data:void 0)||this.imgData,h=0;0<=t?h<t:h>t;0<=t?++h:--h)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if((u=r-this.transparency.indexed.length)>0)for(f=0;0<=u?f<u:f>u;0<=u?++f:--f)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(d=this.read(t)).indexOf(0),l=String.fromCharCode.apply(String,d.slice(0,s)),this.text[l]=String.fromCharCode.apply(String,d.slice(s+1));break;case"IEND":return a&&this.animation.frames.push(a),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,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+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)n.push(this.data[this.pos++]);return n},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*t),r=0,i=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function a(o,a,s,l){var c,u,d,h,f,p,A,g,m,v,y,b,_,w,x,C,S,k,E,O,B,M=Math.ceil((i.width-o)/s),T=Math.ceil((i.height-a)/l),I=i.width==M&&i.height==T;for(w=t*M,b=I?n:new Uint8Array(w*T),p=e.length,_=0,u=0;_<T&&r<p;){switch(e[r++]){case 0:for(h=S=0;S<w;h=S+=1)b[u++]=e[r++];break;case 1:for(h=k=0;k<w;h=k+=1)c=e[r++],f=h<t?0:b[u-t],b[u++]=(c+f)%256;break;case 2:for(h=E=0;E<w;h=E+=1)c=e[r++],d=(h-h%t)/t,x=_&&b[(_-1)*w+d*t+h%t],b[u++]=(x+c)%256;break;case 3:for(h=O=0;O<w;h=O+=1)c=e[r++],d=(h-h%t)/t,f=h<t?0:b[u-t],x=_&&b[(_-1)*w+d*t+h%t],b[u++]=(c+Math.floor((f+x)/2))%256;break;case 4:for(h=B=0;B<w;h=B+=1)c=e[r++],d=(h-h%t)/t,f=h<t?0:b[u-t],0===_?x=C=0:(x=b[(_-1)*w+d*t+h%t],C=d&&b[(_-1)*w+(d-1)*t+h%t]),A=f+x-C,g=Math.abs(A-f),v=Math.abs(A-x),y=Math.abs(A-C),m=g<=v&&g<=y?f:v<=y?x:C,b[u++]=(c+m)%256;break;default:throw new Error("Invalid filter algorithm: "+e[r-1])}if(!I){var L=((a+_*l)*i.width+o)*t,D=_*w;for(h=0;h<M;h+=1){for(var P=0;P<t;P+=1)n[L++]=b[D++];L+=(s-1)*t}}_++}}return e=Object(o["a"])(e),1==i.interlaceMethod?(a(0,0,8,8),a(4,0,8,8),a(0,4,4,8),a(2,0,4,4),a(0,2,2,4),a(1,0,2,2),a(0,1,1,2)):a(0,0,1,1),n},r.prototype.decodePalette=function(){var e,t,n,r,i,o,a,s,l;for(n=this.palette,o=this.transparency.indexed||[],i=new Uint8Array((o.length||0)+n.length),r=0,e=0,t=a=0,s=n.length;a<s;t=a+=3)i[r++]=n[t],i[r++]=n[t+1],i[r++]=n[t+2],i[r++]=null!=(l=o[e++])?l:255;return i},r.prototype.copyToImageData=function(e,t){var n,r,i,o,a,s,l,c,u,d,h;if(r=this.colors,u=null,n=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),r=4,n=!0),c=(i=e.data||e).length,a=u||t,o=s=0,1===r)for(;o<c;)l=u?4*t[o/4]:s,d=a[l++],i[o++]=d,i[o++]=d,i[o++]=d,i[o++]=n?a[l++]:255,s=l;else for(;o<c;)l=u?4*t[o/4]:s,i[o++]=a[l++],i[o++]=a[l++],i[o++]=a[l++],i[o++]=n?a[l++]:255,s=l},r.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};var i=function(){if("[object Window]"===Object.prototype.toString.call(a)){try{t=a.document.createElement("canvas"),n=t.getContext("2d")}catch(e){return!1}return!0}return!1};return i(),e=function(e){var r;if(!0===i())return n.width=e.width,n.height=e.height,n.clearRect(0,0,e.width,e.height),n.putImageData(e,0,0),(r=new Image).src=t.toDataURL(),r;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(t){var n,r,i,o,a,s,l,c;if(this.animation){for(c=[],r=a=0,s=(l=this.animation.frames).length;a<s;r=++a)n=l[r],i=t.createImageData(n.width,n.height),o=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(i,o),n.imageData=i,c.push(n.image=e(i));return c}},r.prototype.renderFrame=function(e,t){var n,r,i;return n=(r=this.animation.frames)[t],i=r[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?e.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&e.putImageData(i.imageData,i.xOffset,i.yOffset),0===n.blendOp&&e.clearRect(n.xOffset,n.yOffset,n.width,n.height),e.drawImage(n.image,n.xOffset,n.yOffset)},r.prototype.animate=function(e){var t,n,r,i,o,a,s=this;return n=0,a=this.animation,i=a.numFrames,r=a.frames,o=a.numPlays,(t=function(){var a,l;if(a=n++%i,l=r[a],s.renderFrame(e,a),i>1&&n/i<o)return s.animation._timeout=setTimeout(t,l.delay)})()},r.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},r.prototype.render=function(e){var t,n;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(n=t.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),t.putImageData(n,0,0))},r}();function et(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,i=e[t++],o=i>>7,a=1<<1+(7&i);e[t++],e[t++];var s=null,l=null;o&&(s=t,l=a,t+=3*a);var c=!0,u=[],d=0,h=null,f=0,p=null;for(this.width=n,this.height=r;c&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,p=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((E=e[t++])>=0))throw Error("Invalid block size");if(0===E)break;t+=E}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var A=e[t++];d=e[t++]|e[t++]<<8,h=e[t++],0==(1&A)&&(h=null),f=A>>2&7,t++;break;case 254:for(;;){if(!((E=e[t++])>=0))throw Error("Invalid block size");if(0===E)break;t+=E}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var g=e[t++]|e[t++]<<8,m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,b=e[t++],_=b>>6&1,w=1<<1+(7&b),x=s,C=l,S=!1;b>>7&&(S=!0,x=t,C=w,t+=3*w);var k=t;for(t++;;){var E;if(!((E=e[t++])>=0))throw Error("Invalid block size");if(0===E)break;t+=E}u.push({x:g,y:m,width:v,height:y,has_local_palette:S,palette_offset:x,palette_size:C,data_offset:k,data_length:t-k,transparent_index:h,interlaced:!!_,delay:d,disposal:f});break;case 59:c=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return p},this.frameInfo=function(e){if(e<0||e>=u.length)throw new Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,r){var i=this.frameInfo(t),o=i.width*i.height,a=new Uint8Array(o);tt(e,i.data_offset,a,o);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var c=i.width,u=n-c,d=c,h=4*(i.y*n+i.x),f=4*((i.y+i.height)*n+i.x),p=h,A=4*u;!0===i.interlaced&&(A+=4*n*7);for(var g=8,m=0,v=a.length;m<v;++m){var y=a[m];if(0===d&&(d=c,(p+=A)>=f&&(A=4*u+4*n*(g-1),p=h+(c+u)*(g<<1),g>>=1)),y===l)p+=4;else{var b=e[s+3*y],_=e[s+3*y+1],w=e[s+3*y+2];r[p++]=w,r[p++]=_,r[p++]=b,r[p++]=255}--d}},this.decodeAndBlitFrameRGBA=function(t,r){var i=this.frameInfo(t),o=i.width*i.height,a=new Uint8Array(o);tt(e,i.data_offset,a,o);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var c=i.width,u=n-c,d=c,h=4*(i.y*n+i.x),f=4*((i.y+i.height)*n+i.x),p=h,A=4*u;!0===i.interlaced&&(A+=4*n*7);for(var g=8,m=0,v=a.length;m<v;++m){var y=a[m];if(0===d&&(d=c,(p+=A)>=f&&(A=4*u+4*n*(g-1),p=h+(c+u)*(g<<1),g>>=1)),y===l)p+=4;else{var b=e[s+3*y],_=e[s+3*y+1],w=e[s+3*y+2];r[p++]=b,r[p++]=_,r[p++]=w,r[p++]=255}--d}}}function tt(e,t,n,r){for(var i=e[t++],o=1<<i,a=o+1,s=a+1,c=i+1,u=(1<<c)-1,d=0,h=0,f=0,p=e[t++],A=new Int32Array(4096),g=null;;){for(;d<16&&0!==p;)h|=e[t++]<<d,d+=8,1===p?p=e[t++]:--p;if(d<c)break;var m=h&u;if(h>>=c,d-=c,m!==o){if(m===a)break;for(var v=m<s?m:g,y=0,b=v;b>o;)b=A[b]>>8,++y;var _=b;if(f+y+(v!==m?1:0)>r)return void l.log("Warning, gif stream longer than expected.");n[f++]=_;var w=f+=y;for(v!==m&&(n[f++]=_),b=v;y--;)b=A[b],n[--w]=255&b,b>>=8;null!==g&&s<4096&&(A[s++]=g<<8|_,s>=u+1&&c<12&&(++c,u=u<<1|1)),g=m}else s=a+1,u=(1<<(c=i+1))-1,g=null}return f!==r&&l.log("Warning, gif stream shorter than expected."),n}function nt(e){var t,n,r,i,o,a=Math.floor,s=new Array(64),l=new Array(64),c=new Array(64),u=new Array(64),d=new Array(65535),h=new Array(65535),f=new Array(64),p=new Array(64),A=[],g=0,m=7,v=new Array(64),y=new Array(64),b=new Array(64),_=new Array(256),w=new Array(2048),x=[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],C=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],S=[0,1,2,3,4,5,6,7,8,9,10,11],k=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],E=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],O=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],B=[0,1,2,3,4,5,6,7,8,9,10,11],M=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],T=[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 I(e,t){for(var n=0,r=0,i=new Array,o=1;o<=16;o++){for(var a=1;a<=e[o];a++)i[t[r]]=[],i[t[r]][0]=n,i[t[r]][1]=o,r++,n++;n*=2}return i}function L(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(g|=1<<m),n--,--m<0&&(255==g?(D(255),D(0)):D(g),m=7,g=0)}function D(e){A.push(e)}function P(e){D(e>>8&255),D(255&e)}function N(e,t,n,r,i){for(var o,a=i[0],s=i[240],l=function(e,t){var n,r,i,o,a,s,l,c,u,d,h=0;for(u=0;u<8;++u){n=e[h],r=e[h+1],i=e[h+2],o=e[h+3],a=e[h+4],s=e[h+5],l=e[h+6];var p=n+(c=e[h+7]),A=n-c,g=r+l,m=r-l,v=i+s,y=i-s,b=o+a,_=o-a,w=p+b,x=p-b,C=g+v,S=g-v;e[h]=w+C,e[h+4]=w-C;var k=.707106781*(S+x);e[h+2]=x+k,e[h+6]=x-k;var E=.382683433*((w=_+y)-(S=m+A)),O=.5411961*w+E,B=1.306562965*S+E,M=.707106781*(C=y+m),T=A+M,I=A-M;e[h+5]=I+O,e[h+3]=I-O,e[h+1]=T+B,e[h+7]=T-B,h+=8}for(h=0,u=0;u<8;++u){n=e[h],r=e[h+8],i=e[h+16],o=e[h+24],a=e[h+32],s=e[h+40],l=e[h+48];var L=n+(c=e[h+56]),D=n-c,P=r+l,N=r-l,j=i+s,F=i-s,R=o+a,U=o-a,H=L+R,Q=L-R,K=P+j,z=P-j;e[h]=H+K,e[h+32]=H-K;var V=.707106781*(z+Q);e[h+16]=Q+V,e[h+48]=Q-V;var W=.382683433*((H=U+F)-(z=N+D)),G=.5411961*H+W,X=1.306562965*z+W,q=.707106781*(K=F+N),Y=D+q,Z=D-q;e[h+40]=Z+G,e[h+24]=Z-G,e[h+8]=Y+X,e[h+56]=Y-X,h++}for(u=0;u<64;++u)d=e[u]*t[u],f[u]=d>0?d+.5|0:d-.5|0;return f}(e,t),c=0;c<64;++c)p[x[c]]=l[c];var u=p[0]-n;n=p[0],0==u?L(r[0]):(L(r[h[o=32767+u]]),L(d[o]));for(var A=63;A>0&&0==p[A];)A--;if(0==A)return L(a),n;for(var g,m=1;m<=A;){for(var v=m;0==p[m]&&m<=A;)++m;var y=m-v;if(y>=16){g=y>>4;for(var b=1;b<=g;++b)L(s);y&=15}o=32767+p[m],L(i[(y<<4)+h[o]]),L(d[o]),m++}return 63!=A&&L(a),n}function j(e){e=Math.min(Math.max(e,1),100),o!=e&&(function(e){for(var t=[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],n=0;n<64;n++){var r=a((t[n]*e+50)/100);r=Math.min(Math.max(r,1),255),s[x[n]]=r}for(var i=[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],o=0;o<64;o++){var d=a((i[o]*e+50)/100);d=Math.min(Math.max(d,1),255),l[x[o]]=d}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],f=0,p=0;p<8;p++)for(var A=0;A<8;A++)c[f]=1/(s[x[f]]*h[p]*h[A]*8),u[f]=1/(l[x[f]]*h[p]*h[A]*8),f++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),o=e)}this.encode=function(e,o){o&&j(o),A=new Array,g=0,m=7,P(65496),P(65504),P(16),D(74),D(70),D(73),D(70),D(0),D(1),D(1),D(0),P(1),P(1),D(0),D(0),function(){P(65499),P(132),D(0);for(var e=0;e<64;e++)D(s[e]);D(1);for(var t=0;t<64;t++)D(l[t])}(),function(e,t){P(65472),P(17),D(8),P(t),P(e),D(3),D(1),D(17),D(0),D(2),D(17),D(1),D(3),D(17),D(1)}(e.width,e.height),function(){P(65476),P(418),D(0);for(var e=0;e<16;e++)D(C[e+1]);for(var t=0;t<=11;t++)D(S[t]);D(16);for(var n=0;n<16;n++)D(k[n+1]);for(var r=0;r<=161;r++)D(E[r]);D(1);for(var i=0;i<16;i++)D(O[i+1]);for(var o=0;o<=11;o++)D(B[o]);D(17);for(var a=0;a<16;a++)D(M[a+1]);for(var s=0;s<=161;s++)D(T[s])}(),P(65498),P(12),D(3),D(1),D(0),D(2),D(17),D(3),D(17),D(0),D(63),D(0);var a=0,d=0,h=0;g=0,m=7,this.encode.displayName="_encode_";for(var f,p,_,x,I,F,R,U,H,Q=e.data,K=e.width,z=e.height,V=4*K,W=0;W<z;){for(f=0;f<V;){for(I=V*W+f,R=-1,U=0,H=0;H<64;H++)F=I+(U=H>>3)*V+(R=4*(7&H)),W+U>=z&&(F-=V*(W+1+U-z)),f+R>=V&&(F-=f+R-V+4),p=Q[F++],_=Q[F++],x=Q[F++],v[H]=(w[p]+w[_+256>>0]+w[x+512>>0]>>16)-128,y[H]=(w[p+768>>0]+w[_+1024>>0]+w[x+1280>>0]>>16)-128,b[H]=(w[p+1280>>0]+w[_+1536>>0]+w[x+1792>>0]>>16)-128;a=N(v,c,a,t,r),d=N(y,u,d,n,i),h=N(b,u,h,n,i),f+=32}W+=8}if(m>=0){var G=[];G[1]=m+1,G[0]=(1<<m+1)-1,L(G)}return P(65497),new Uint8Array(A)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)_[t]=e(t)}(),t=I(C,S),n=I(O,B),r=I(k,E),i=I(M,T),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)h[32767+r]=n,d[32767+r]=[],d[32767+r][1]=n,d[32767+r][0]=r;for(var i=-(t-1);i<=-e;i++)h[32767+i]=n,d[32767+i]=[],d[32767+i][1]=n,d[32767+i][0]=t-1+i;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)w[e]=19595*e,w[e+256>>0]=38470*e,w[e+512>>0]=7471*e+32768,w[e+768>>0]=-11059*e,w[e+1024>>0]=-21709*e,w[e+1280>>0]=32768*e+8421375,w[e+1536>>0]=-27439*e,w[e+1792>>0]=-5329*e}(),j(e)}function rt(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function it(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var r=0;4>r;r++)if(e[t+r]!=n.charCodeAt(r))return!0;return!1}function r(e,t,n,r,i){for(var o=0;o<i;o++)e[t+o]=n[r+o]}function i(e,t,n,r){for(var i=0;i<r;i++)e[t+i]=n}function o(e){return new Int32Array(e)}function a(e,t){for(var n=[],r=0;r<e;r++)n.push(new t);return n}function s(e,t){var n=[];return function e(n,r,i){for(var o=i[r],a=0;a<o&&(n.push(i.length>r+1?[]:new t),!(i.length<r+1));a++)e(n[a],r+1,i)}(n,0,e),n}var l=function(){var e=this;function l(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function c(e,n,r,i,o){t(!(i%r));do{e[n+(i-=r)]=o}while(0<i)}function u(e,n,r,i,a){if(t(2328>=a),512>=a)var s=o(512);else if(null==(s=o(a)))return 0;return function(e,n,r,i,a,s){var u,h,f=n,p=1<<r,A=o(16),g=o(16);for(t(0!=a),t(null!=i),t(null!=e),t(0<r),h=0;h<a;++h){if(15<i[h])return 0;++A[i[h]]}if(A[0]==a)return 0;for(g[1]=0,u=1;15>u;++u){if(A[u]>1<<u)return 0;g[u+1]=g[u]+A[u]}for(h=0;h<a;++h)u=i[h],0<i[h]&&(s[g[u]++]=h);if(1==g[15])return(i=new d).g=0,i.value=s[0],c(e,f,1,p,i),p;var m,v=-1,y=p-1,b=0,_=1,w=1,x=1<<r;for(h=0,u=1,a=2;u<=r;++u,a<<=1){if(_+=w<<=1,0>(w-=A[u]))return 0;for(;0<A[u];--A[u])(i=new d).g=u,i.value=s[h++],c(e,f+b,a,x,i),b=l(b,u)}for(u=r+1,a=2;15>=u;++u,a<<=1){if(_+=w<<=1,0>(w-=A[u]))return 0;for(;0<A[u];--A[u]){if(i=new d,(b&y)!=v){for(f+=x,m=1<<(v=u)-r;15>v&&!(0>=(m-=A[v]));)++v,m<<=1;p+=x=1<<(m=v-r),e[n+(v=b&y)].g=m+r,e[n+v].value=f-n-v}i.g=u-r,i.value=s[h++],c(e,f+(b>>r),a,x,i),b=l(b,u)}}return _!=2*g[15]-1?0:p}(e,n,r,i,a,s)}function d(){this.value=this.g=0}function h(){this.value=this.g=0}function f(){this.G=a(5,d),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(Rn,h)}function p(e,n,r,i){t(null!=e),t(null!=n),t(2147483648>i),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=r,e.Jd=n,e.Yc=r+i,e.Zc=4<=i?r+i-4+1:r,k(e)}function A(e,t){for(var n=0;0<t--;)n|=O(e,128)<<t;return n}function g(e,t){var n=A(e,t);return E(e)?-n:n}function m(e,n,r,i){var o,a=0;for(t(null!=e),t(null!=n),t(4294967288>i),e.Sb=i,e.Ra=0,e.u=0,e.h=0,4<i&&(i=4),o=0;o<i;++o)a+=n[r+o]<<8*o;e.Ra=a,e.bb=i,e.oa=n,e.pa=r}function v(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Qn-8>>>0,++e.bb,e.u-=8;x(e)&&(e.h=1,e.u=0)}function y(e,n){if(t(0<=n),!e.h&&n<=Hn){var r=w(e)&Un[n];return e.u+=n,v(e),r}return e.h=1,e.u=0}function b(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function _(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function w(e){return e.Ra>>>(e.u&Qn-1)>>>0}function x(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Qn}function C(e,t){e.u=t,e.h=x(e)}function S(e){e.u>=Kn&&(t(e.u>=Kn),v(e))}function k(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function E(e){return A(e,1)}function O(e,t){var n=e.Ca;0>e.b&&k(e);var r=e.b,i=n*t>>>8,o=(e.I>>>r>i)+0;for(o?(n-=i,e.I-=i+1<<r>>>0):n=i+1,r=n,i=0;256<=r;)i+=8,r>>=8;return r=7^i+zn[r],e.b-=r,e.Ca=(n<<r)-1,o}function B(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=n>>0&255}function M(e,t){return e[t+0]<<0|e[t+1]<<8}function T(e,t){return M(e,t)|e[t+2]<<16}function I(e,t){return M(e,t)|M(e,t+2)<<16}function L(e,n){var r=1<<n;return t(null!=e),t(0<n),e.X=o(r),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function D(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),r(n.X,0,e.X,0,1<<n.Xa)}function P(){this.X=[],this.Xa=this.Mb=0}function N(e,n,r,i){t(null!=r),t(null!=i);var o=r[0],a=i[0];return 0==o&&(o=(e*a+n/2)/n),0==a&&(a=(n*o+e/2)/e),0>=o||0>=a?0:(r[0]=o,i[0]=a,1)}function j(e,t){return e+(1<<t)-1>>>t}function F(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function R(t,n){e[n]=function(n,r,i,o,a,s,l){var c;for(c=0;c<a;++c){var u=e[t](s[l+c-1],i,o+c);s[l+c]=F(n[r+c],u)}}}function U(){this.ud=this.hd=this.jd=0}function H(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function Q(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function K(e,t){return Q(e+(e-t+.5>>1))}function z(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function V(e,t,n,r,i,o,a){for(r=o[a-1],n=0;n<i;++n)o[a+n]=r=F(e[t+n],r)}function W(e,t,n,r,i){var o;for(o=0;o<n;++o){var a=e[t+o],s=a>>8&255,l=16711935&(l=(l=16711935&a)+((s<<16)+s));r[i+o]=(4278255360&a)+l>>>0}}function G(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function X(e,t,n,r,i,o){var a;for(a=0;a<r;++a){var s=t[n+a],l=s>>>8,c=s,u=255&(u=(u=s>>>16)+((e.jd<<24>>24)*(l<<24>>24)>>>5));c=255&(c=(c+=(e.hd<<24>>24)*(l<<24>>24)>>>5)+((e.ud<<24>>24)*(u<<24>>24)>>>5)),i[o+a]=(4278255360&s)+(u<<16)+c}}function q(t,n,r,i,o){e[n]=function(e,t,n,r,a,s,l,c,u){for(r=l;r<c;++r)for(l=0;l<u;++l)a[s++]=o(n[i(e[t++])])},e[t]=function(t,n,a,s,l,c,u){var d=8>>t.b,h=t.Ea,f=t.K[0],p=t.w;if(8>d)for(t=(1<<t.b)-1,p=(1<<d)-1;n<a;++n){var A,g=0;for(A=0;A<h;++A)A&t||(g=i(s[l++])),c[u++]=o(f[g&p]),g>>=d}else e["VP8LMapColor"+r](s,l,f,p,c,u,n,a,h)}}function Y(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=o>>0&255}}function Z(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=o>>0&255,r[i++]=o>>24&255}}function J(e,t,n,r,i){for(n=t+n;t<n;){var o=(a=e[t++])>>16&240|a>>12&15,a=a>>0&240|a>>28&15;r[i++]=o,r[i++]=a}}function $(e,t,n,r,i){for(n=t+n;t<n;){var o=(a=e[t++])>>16&248|a>>13&7,a=a>>5&224|a>>3&31;r[i++]=o,r[i++]=a}}function ee(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=o>>0&255,r[i++]=o>>8&255,r[i++]=o>>16&255}}function te(e,t,n,i,o,a){if(0==a)for(n=t+n;t<n;)B(i,((a=e[t++])[0]>>24|a[1]>>8&65280|a[2]<<8&16711680|a[3]<<24)>>>0),o+=32;else r(i,o,e,t,n)}function ne(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function re(e){return e==Kr||e==zr||e==Vr||e==Wr}function ie(){this.eb=[],this.size=this.A=this.fb=0}function oe(){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 ae(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ie,this.f.kb=new oe,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function le(){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 ce(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ue(e,t){var n=e.T,i=t.ba.f.RGBA,o=i.eb,a=i.fb+e.ka*i.A,s=mi[t.ba.S],l=e.y,c=e.O,u=e.f,d=e.N,h=e.ea,f=e.W,p=t.cc,A=t.dc,g=t.Mc,m=t.Nc,v=e.ka,y=e.ka+e.T,b=e.U,_=b+1>>1;for(0==v?s(l,c,null,null,u,d,h,f,u,d,h,f,o,a,null,null,b):(s(t.ec,t.fc,l,c,p,A,g,m,u,d,h,f,o,a-i.A,o,a,b),++n);v+2<y;v+=2)p=u,A=d,g=h,m=f,d+=e.Rc,f+=e.Rc,a+=2*i.A,s(l,(c+=2*e.fa)-e.fa,l,c,p,A,g,m,u,d,h,f,o,a-i.A,o,a,b);return c+=e.fa,e.j+y<e.o?(r(t.ec,t.fc,l,c,b),r(t.cc,t.dc,u,d,_),r(t.Mc,t.Nc,h,f,_),n--):1&y||s(l,c,null,null,u,d,h,f,u,d,h,f,o,a+i.A,null,null,b),n}function de(e,n,r){var i=e.F,o=[e.J];if(null!=i){var a=e.U,s=n.ba.S,l=s==Ur||s==Vr;n=n.ba.f.RGBA;var c=[0],u=e.ka;c[0]=e.T,e.Kb&&(0==u?--c[0]:(--u,o[0]-=e.width),e.j+e.ka+e.T==e.o&&(c[0]=e.o-e.j-u));var d=n.eb;u=n.fb+u*n.A,e=Sr(i,o[0],e.width,a,c,d,u+(l?0:3),n.A),t(r==c),e&&re(s)&&xr(d,u,l,a,c,n.A)}return 0}function he(e){var t=e.ma,n=t.ba.S,r=11>n,i=n==jr||n==Rr||n==Ur||n==Hr||12==n||re(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Nn(t.Oa,e,i?11:12))return 0;if(i&&re(n)&&yn(),e.da)alert("todo:use_scaling");else{if(r){if(t.Ib=ce,e.Kb){if(n=e.U+1>>1,t.memory=o(e.U+2*n),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+n,t.Ib=ue,yn()}}else alert("todo:EmitYUV");i&&(t.Jb=de,r&&mn())}if(r&&!Ti){for(e=0;256>e;++e)Ii[e]=89858*(e-128)+ki>>Si,Pi[e]=-22014*(e-128)+ki,Di[e]=-45773*(e-128),Li[e]=113618*(e-128)+ki>>Si;for(e=Ei;e<Oi;++e)t=76283*(e-16)+ki>>Si,Ni[e-Ei]=Ve(t,255),ji[e-Ei]=Ve(t+8>>4,15);Ti=1}return 1}function fe(e){var n=e.ma,r=e.U,i=e.T;return t(!(1&e.ka)),0>=r||0>=i?0:(r=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,r),n.Dc+=r,1)}function pe(e){e.ma.memory=null}function Ae(e,t,n,r){return 47!=y(e,8)?0:(t[0]=y(e,14)+1,n[0]=y(e,14)+1,r[0]=y(e,1),0!=y(e,3)?0:!e.h)}function ge(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+y(t,n)+1}function me(e,t){return 120<t?t-120:1<=(n=((n=Jr[t-1])>>4)*e+(8-(15&n)))?n:1;var n}function ve(e,t,n){var r=w(n),i=e[t+=255&r].g-8;return 0<i&&(C(n,n.u+8),r=w(n),t+=e[t].value,t+=r&(1<<i)-1),C(n,n.u+e[t].g),e[t].value}function ye(e,n,r){return r.g+=e.g,r.value+=e.value<<n>>>0,t(8>=r.g),e.g}function be(e,n,r){var i=e.xc;return t((n=0==i?0:e.vc[e.md*(r>>i)+(n>>i)])<e.Wb),e.Ya[n]}function _e(e,n,i,o){var a=e.ab,s=e.c*n,l=e.C;n=l+n;var c=i,u=o;for(o=e.Ta,i=e.Ua;0<a--;){var d=e.gc[a],h=l,f=n,p=c,A=u,g=(u=o,c=i,d.Ea);switch(t(h<f),t(f<=d.nc),d.hc){case 2:Gn(p,A,(f-h)*g,u,c);break;case 0:var m=h,v=f,y=u,b=c,_=(k=d).Ea;0==m&&(Vn(p,A,null,null,1,y,b),V(p,A+1,0,0,_-1,y,b+1),A+=_,b+=_,++m);for(var w=1<<k.b,x=w-1,C=j(_,k.b),S=k.K,k=k.w+(m>>k.b)*C;m<v;){var E=S,O=k,B=1;for(Wn(p,A,y,b-_,1,y,b);B<_;){var M=(B&~x)+w;M>_&&(M=_),(0,Jn[E[O++]>>8&15])(p,A+ +B,y,b+B-_,M-B,y,b+B),B=M}A+=_,b+=_,++m&x||(k+=C)}f!=d.nc&&r(u,c-g,u,c+(f-h-1)*g,g);break;case 1:for(g=p,v=A,_=(p=d.Ea)-(b=p&~(y=(A=1<<d.b)-1)),m=j(p,d.b),w=d.K,d=d.w+(h>>d.b)*m;h<f;){for(x=w,C=d,S=new U,k=v+b,E=v+p;v<k;)G(x[C++],S),$n(S,g,v,A,u,c),v+=A,c+=A;v<E&&(G(x[C++],S),$n(S,g,v,_,u,c),v+=_,c+=_),++h&y||(d+=m)}break;case 3:if(p==u&&A==c&&0<d.b){for(v=u,p=g=c+(f-h)*g-(b=(f-h)*j(d.Ea,d.b)),A=u,y=c,m=[],b=(_=b)-1;0<=b;--b)m[b]=A[y+b];for(b=_-1;0<=b;--b)v[p+b]=m[b];Xn(d,h,f,u,g,u,c)}else Xn(d,h,f,p,A,u,c)}c=o,u=i}u!=i&&r(o,i,c,u,s)}function we(e,n){var r=e.V,i=e.Ba+e.c*e.C,o=n-e.C;if(t(n<=e.l.o),t(16>=o),0<o){var a=e.l,s=e.Ta,l=e.Ua,c=a.width;if(_e(e,o,r,i),o=l=[l],t((r=e.C)<(i=n)),t(a.v<a.va),i>a.o&&(i=a.o),r<a.j){var u=a.j-r;r=a.j,o[0]+=u*c}if(r>=i?r=0:(o[0]+=4*a.v,a.ka=r-a.j,a.U=a.va-a.v,a.T=i-r,r=1),r){if(l=l[0],11>(r=e.ca).S){var d=r.f.RGBA,h=(i=r.S,o=a.U,a=a.T,u=d.eb,d.A),f=a;for(d=d.fb+e.Ma*d.A;0<f--;){var p=s,A=l,g=o,m=u,v=d;switch(i){case Nr:er(p,A,g,m,v);break;case jr:tr(p,A,g,m,v);break;case Kr:tr(p,A,g,m,v),xr(m,v,0,g,1,0);break;case Fr:ir(p,A,g,m,v);break;case Rr:te(p,A,g,m,v,1);break;case zr:te(p,A,g,m,v,1),xr(m,v,0,g,1,0);break;case Ur:te(p,A,g,m,v,0);break;case Vr:te(p,A,g,m,v,0),xr(m,v,1,g,1,0);break;case Hr:nr(p,A,g,m,v);break;case Wr:nr(p,A,g,m,v),Cr(m,v,g,1,0);break;case Qr:rr(p,A,g,m,v);break;default:t(0)}l+=c,d+=h}e.Ma+=a}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=r.height)}}e.C=n,t(e.C<=e.i)}function xe(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,r=e.Ya[t].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function Ce(e,n,r,i,o,a){if(0!=e.Z){var s=e.qd,l=e.rd;for(t(null!=gi[e.Z]);n<r;++n)gi[e.Z](s,l,i,o,i,o,a),s=i,l=o,o+=a;e.qd=s,e.rd=l}}function Se(e,n){var r=e.l.ma,i=0==r.Z||1==r.Z?e.l.j:e.C;if(i=e.C<i?i:e.C,t(n<=e.l.o),n>i){var o=e.l.width,a=r.ca,s=r.tb+o*i,l=e.V,c=e.Ba+e.c*i,u=e.gc;t(1==e.ab),t(3==u[0].hc),Yn(u[0],i,n,l,c,a,s),Ce(r,i,n,a,s,o)}e.C=e.Ma=n}function ke(e,n,r,i,o,a,s){var l=e.$/i,c=e.$%i,u=e.m,d=e.s,h=r+e.$,f=h;o=r+i*o;var p=r+i*a,A=280+d.ua,g=e.Pb?l:16777216,m=0<d.ua?d.Wa:null,v=d.wc,y=h<p?be(d,c,l):null;t(e.C<a),t(p<=o);var b=!1;e:for(;;){for(;b||h<p;){var _=0;if(l>=g){var k=h-r;t((g=e).Pb),g.wd=g.m,g.xd=k,0<g.s.ua&&D(g.s.Wa,g.s.vb),g=l+ei}if(c&v||(y=be(d,c,l)),t(null!=y),y.Qb&&(n[h]=y.qb,b=!0),!b)if(S(u),y.jc){_=u,k=n;var E=h,O=y.pd[w(_)&Rn-1];t(y.jc),256>O.g?(C(_,_.u+O.g),k[E]=O.value,_=0):(C(_,_.u+O.g-256),t(256<=O.value),_=O.value),0==_&&(b=!0)}else _=ve(y.G[0],y.H[0],u);if(u.h)break;if(b||256>_){if(!b)if(y.nd)n[h]=(y.qb|_<<8)>>>0;else{if(S(u),b=ve(y.G[1],y.H[1],u),S(u),k=ve(y.G[2],y.H[2],u),E=ve(y.G[3],y.H[3],u),u.h)break;n[h]=(E<<24|b<<16|_<<8|k)>>>0}if(b=!1,++h,++c>=i&&(c=0,++l,null!=s&&l<=a&&!(l%16)&&s(e,l),null!=m))for(;f<h;)_=n[f++],m.X[(506832829*_&4294967295)>>>m.Mb]=_}else if(280>_){if(_=ge(_-256,u),k=ve(y.G[4],y.H[4],u),S(u),k=me(i,k=ge(k,u)),u.h)break;if(h-r<k||o-h<_)break e;for(E=0;E<_;++E)n[h+E]=n[h+E-k];for(h+=_,c+=_;c>=i;)c-=i,++l,null!=s&&l<=a&&!(l%16)&&s(e,l);if(t(h<=o),c&v&&(y=be(d,c,l)),null!=m)for(;f<h;)_=n[f++],m.X[(506832829*_&4294967295)>>>m.Mb]=_}else{if(!(_<A))break e;for(b=_-280,t(null!=m);f<h;)_=n[f++],m.X[(506832829*_&4294967295)>>>m.Mb]=_;_=h,t(!(b>>>(k=m).Xa)),n[_]=k.X[b],b=!0}b||t(u.h==x(u))}if(e.Pb&&u.h&&h<o)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&D(e.s.vb,e.s.Wa);else{if(u.h)break e;null!=s&&s(e,l>a?a:l),e.a=0,e.$=h-r}return 1}return e.a=3,0}function Ee(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function Oe(){var t=new sn;return null==t?null:(t.a=0,t.xb=Ai,ne("Predictor","VP8LPredictors"),ne("Predictor","VP8LPredictors_C"),ne("PredictorAdd","VP8LPredictorsAdd"),ne("PredictorAdd","VP8LPredictorsAdd_C"),Gn=W,$n=X,er=Y,tr=Z,nr=J,rr=$,ir=ee,e.VP8LMapColor32b=qn,e.VP8LMapColor8b=Zn,t)}function Be(e,n,r,s,l){var c=1,h=[e],p=[n],A=s.m,g=s.s,m=null,v=0;e:for(;;){if(r)for(;c&&y(A,1);){var b=h,_=p,x=s,k=1,E=x.m,O=x.gc[x.ab],B=y(E,2);if(x.Oc&1<<B)c=0;else{switch(x.Oc|=1<<B,O.hc=B,O.Ea=b[0],O.nc=_[0],O.K=[null],++x.ab,t(4>=x.ab),B){case 0:case 1:O.b=y(E,3)+2,k=Be(j(O.Ea,O.b),j(O.nc,O.b),0,x,O.K),O.K=O.K[0];break;case 3:var M,T=y(E,8)+1,I=16<T?0:4<T?1:2<T?2:3;if(b[0]=j(O.Ea,I),O.b=I,M=k=Be(T,1,0,x,O.K)){var D,P=T,N=O,R=1<<(8>>N.b),U=o(R);if(null==U)M=0;else{var H=N.K[0],Q=N.w;for(U[0]=N.K[0][0],D=1;D<1*P;++D)U[D]=F(H[Q+D],U[D-1]);for(;D<4*R;++D)U[D]=0;N.K[0]=null,N.K[0]=U,M=1}}k=M;break;case 2:break;default:t(0)}c=k}}if(h=h[0],p=p[0],c&&y(A,1)&&!(c=1<=(v=y(A,4))&&11>=v)){s.a=3;break e}var K;if(K=c)t:{var z,V,W,G=s,X=h,q=p,Y=v,Z=r,J=G.m,$=G.s,ee=[null],te=1,ne=0,re=$r[Y];n:for(;;){if(Z&&y(J,1)){var ie=y(J,3)+2,oe=j(X,ie),ae=j(q,ie),se=oe*ae;if(!Be(oe,ae,0,G,ee))break n;for(ee=ee[0],$.xc=ie,z=0;z<se;++z){var le=ee[z]>>8&65535;ee[z]=le,le>=te&&(te=le+1)}}if(J.h)break n;for(V=0;5>V;++V){var ce=qr[V];!V&&0<Y&&(ce+=1<<Y),ne<ce&&(ne=ce)}var ue=a(te*re,d),de=te,he=a(de,f);if(null==he)var fe=null;else t(65536>=de),fe=he;var pe=o(ne);if(null==fe||null==pe||null==ue){G.a=1;break n}var Ae=ue;for(z=W=0;z<te;++z){var ge=fe[z],me=ge.G,ve=ge.H,be=0,_e=1,we=0;for(V=0;5>V;++V){ce=qr[V],me[V]=Ae,ve[V]=W,!V&&0<Y&&(ce+=1<<Y);r:{var xe,Ce=ce,Se=G,Oe=pe,Me=Ae,Te=W,Ie=0,Le=Se.m,De=y(Le,1);if(i(Oe,0,0,Ce),De){var Pe=y(Le,1)+1,Ne=y(Le,1),je=y(Le,0==Ne?1:8);Oe[je]=1,2==Pe&&(Oe[je=y(Le,8)]=1);var Fe=1}else{var Re=o(19),Ue=y(Le,4)+4;if(19<Ue){Se.a=3;var He=0;break r}for(xe=0;xe<Ue;++xe)Re[Zr[xe]]=y(Le,3);var Qe=void 0,Ke=void 0,ze=Se,Ve=Re,We=Ce,Ge=Oe,Xe=0,qe=ze.m,Ye=8,Ze=a(128,d);i:for(;u(Ze,0,7,Ve,19);){if(y(qe,1)){var Je=2+2*y(qe,3);if((Qe=2+y(qe,Je))>We)break i}else Qe=We;for(Ke=0;Ke<We&&Qe--;){S(qe);var $e=Ze[0+(127&w(qe))];C(qe,qe.u+$e.g);var et=$e.value;if(16>et)Ge[Ke++]=et,0!=et&&(Ye=et);else{var tt=16==et,nt=et-16,rt=Xr[nt],it=y(qe,Gr[nt])+rt;if(Ke+it>We)break i;for(var ot=tt?Ye:0;0<it--;)Ge[Ke++]=ot}}Xe=1;break i}Xe||(ze.a=3),Fe=Xe}(Fe=Fe&&!Le.h)&&(Ie=u(Me,Te,8,Oe,Ce)),Fe&&0!=Ie?He=Ie:(Se.a=3,He=0)}if(0==He)break n;if(_e&&1==Yr[V]&&(_e=0==Ae[W].g),be+=Ae[W].g,W+=He,3>=V){var at,st=pe[0];for(at=1;at<ce;++at)pe[at]>st&&(st=pe[at]);we+=st}}if(ge.nd=_e,ge.Qb=0,_e&&(ge.qb=(me[3][ve[3]+0].value<<24|me[1][ve[1]+0].value<<16|me[2][ve[2]+0].value)>>>0,0==be&&256>me[0][ve[0]+0].value&&(ge.Qb=1,ge.qb+=me[0][ve[0]+0].value<<8)),ge.jc=!ge.Qb&&6>we,ge.jc){var lt,ct=ge;for(lt=0;lt<Rn;++lt){var ut=lt,dt=ct.pd[ut],ht=ct.G[0][ct.H[0]+ut];256<=ht.value?(dt.g=ht.g+256,dt.value=ht.value):(dt.g=0,dt.value=0,ut>>=ye(ht,8,dt),ut>>=ye(ct.G[1][ct.H[1]+ut],16,dt),ut>>=ye(ct.G[2][ct.H[2]+ut],0,dt),ye(ct.G[3][ct.H[3]+ut],24,dt))}}}$.vc=ee,$.Wb=te,$.Ya=fe,$.yc=ue,K=1;break t}K=0}if(!(c=K)){s.a=3;break e}if(0<v){if(g.ua=1<<v,!L(g.Wa,v)){s.a=1,c=0;break e}}else g.ua=0;var ft=s,pt=h,At=p,gt=ft.s,mt=gt.xc;if(ft.c=pt,ft.i=At,gt.md=j(pt,mt),gt.wc=0==mt?-1:(1<<mt)-1,r){s.xb=pi;break e}if(null==(m=o(h*p))){s.a=1,c=0;break e}c=(c=ke(s,m,0,h,p,p,null))&&!A.h;break e}return c?(null!=l?l[0]=m:(t(null==m),t(r)),s.$=0,r||Ee(g)):Ee(g),c}function Me(e,n){var r=e.c*e.i,i=r+n+16*n;return t(e.c<=n),e.V=o(i),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+r+n,1)}function Te(e,n){var r=e.C,i=n-r,o=e.V,a=e.Ba+e.c*r;for(t(n<=e.l.o);0<i;){var s=16<i?16:i,l=e.l.ma,c=e.l.width,u=c*s,d=l.ca,h=l.tb+c*r,f=e.Ta,p=e.Ua;_e(e,s,o,a),kr(f,p,d,h,u),Ce(l,r,r+s,d,h,c),i-=s,o+=s*e.c,r+=s}t(r==n),e.C=e.Ma=n}function Ie(){this.ub=this.yd=this.td=this.Rb=0}function Le(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function De(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Pe(){this.Yb=function(){var e=[];return function e(t,n,r){for(var i=r[n],o=0;o<i&&(t.push(r.length>n+1?[]:0),!(r.length<n+1));o++)e(t[o],n+1,r)}(e,0,[3,11]),e}()}function Ne(){this.jb=o(3),this.Wc=s([4,8],Pe),this.Xc=s([4,17],Pe)}function je(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Fe(){this.ld=this.La=this.dd=this.tc=0}function Re(){this.Na=this.la=0}function Ue(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function He(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Qe(){this.uc=this.M=this.Nb=0,this.wa=Array(new Fe),this.Y=0,this.ya=Array(new He),this.aa=0,this.l=new We}function Ke(){this.y=o(16),this.f=o(8),this.ea=o(8)}function ze(){this.cb=this.a=0,this.sc="",this.m=new b,this.Od=new Ie,this.Kc=new Le,this.ed=new je,this.Qa=new De,this.Ic=this.$c=this.Aa=0,this.D=new Qe,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,b),this.ia=0,this.pb=a(4,Ue),this.Pa=new Ne,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ke),this.Hd=0,this.rb=Array(new Re),this.sb=0,this.wa=Array(new Fe),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 He),this.L=this.aa=0,this.gd=s([4,2],Fe),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 Ve(e,t){return 0>e?0:e>t?t:e}function We(){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 Ge(){var e=new ze;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ri||(ri=Ze)),e}function Xe(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}function qe(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Ye(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return Xe(e,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,o=n.w,a=n.ha;if(4>a)return Xe(e,7,"Truncated header.");var s=r[o+0]|r[o+1]<<8|r[o+2]<<16,l=e.Od;if(l.Rb=!(1&s),l.td=s>>1&7,l.yd=s>>4&1,l.ub=s>>5,3<l.td)return Xe(e,3,"Incorrect keyframe parameters.");if(!l.yd)return Xe(e,4,"Frame not displayable.");o+=3,a-=3;var c=e.Kc;if(l.Rb){if(7>a)return Xe(e,7,"cannot parse picture header");if(!qe(r,o,a))return Xe(e,3,"Bad code word");c.c=16383&(r[o+4]<<8|r[o+3]),c.Td=r[o+4]>>6,c.i=16383&(r[o+6]<<8|r[o+5]),c.Ud=r[o+6]>>6,o+=7,a-=7,e.za=c.c+15>>4,e.Ub=c.i+15>>4,n.width=c.c,n.height=c.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,i((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,i(s.Zb,0,0,s.Zb.length),i(s.Lb,0,0,s.Lb)}if(l.ub>a)return Xe(e,7,"bad partition length");p(s=e.m,r,o,l.ub),o+=l.ub,a-=l.ub,l.Rb&&(c.Ld=E(s),c.Kd=E(s)),c=e.Qa;var u,d=e.Pa;if(t(null!=s),t(null!=c),c.Cb=E(s),c.Cb){if(c.Bb=E(s),E(s)){for(c.Fb=E(s),u=0;4>u;++u)c.Zb[u]=E(s)?g(s,7):0;for(u=0;4>u;++u)c.Lb[u]=E(s)?g(s,6):0}if(c.Bb)for(u=0;3>u;++u)d.jb[u]=E(s)?A(s,8):255}else c.Bb=0;if(s.Ka)return Xe(e,3,"cannot parse segment header");if((c=e.ed).zd=E(s),c.Tb=A(s,6),c.wb=A(s,3),c.Pc=E(s),c.Pc&&E(s)){for(d=0;4>d;++d)E(s)&&(c.vd[d]=g(s,6));for(d=0;4>d;++d)E(s)&&(c.od[d]=g(s,6))}if(e.L=0==c.Tb?0:c.zd?1:2,s.Ka)return Xe(e,3,"cannot parse filter header");var h=a;if(a=u=o,o=u+h,c=h,e.Xb=(1<<A(e.m,2))-1,h<3*(d=e.Xb))r=7;else{for(u+=3*d,c-=3*d,h=0;h<d;++h){var f=r[a+0]|r[a+1]<<8|r[a+2]<<16;f>c&&(f=c),p(e.Jc[+h],r,u,f),u+=f,c-=f,a+=3}p(e.Jc[+d],r,u,c),r=u<o?0:5}if(0!=r)return Xe(e,r,"cannot parse partitions");for(r=A(u=e.m,7),a=E(u)?g(u,4):0,o=E(u)?g(u,4):0,c=E(u)?g(u,4):0,d=E(u)?g(u,4):0,u=E(u)?g(u,4):0,h=e.Qa,f=0;4>f;++f){if(h.Cb){var m=h.Zb[f];h.Fb||(m+=r)}else{if(0<f){e.pb[f]=e.pb[0];continue}m=r}var v=e.pb[f];v.Sc[0]=ti[Ve(m+a,127)],v.Sc[1]=ni[Ve(m+0,127)],v.Eb[0]=2*ti[Ve(m+o,127)],v.Eb[1]=101581*ni[Ve(m+c,127)]>>16,8>v.Eb[1]&&(v.Eb[1]=8),v.Qc[0]=ti[Ve(m+d,117)],v.Qc[1]=ni[Ve(m+u,127)],v.lc=m+u}if(!l.Rb)return Xe(e,4,"Not a key frame.");for(E(s),l=e.Pa,r=0;4>r;++r){for(a=0;8>a;++a)for(o=0;3>o;++o)for(c=0;11>c;++c)d=O(s,ci[r][a][o][c])?A(s,8):si[r][a][o][c],l.Wc[r][a].Yb[o][c]=d;for(a=0;17>a;++a)l.Xc[r][a]=l.Wc[r][ui[a]]}return e.kc=E(s),e.kc&&(e.Bd=A(s,8)),e.cb=1}function Ze(e,t,n,r,i,o,a){var s=t[i].Yb[n];for(n=0;16>i;++i){if(!O(e,s[n+0]))return i;for(;!O(e,s[n+1]);)if(s=t[++i].Yb[0],n=0,16==i)return 16;var l=t[i+1].Yb;if(O(e,s[n+2])){var c=e,u=0;if(O(c,(h=s)[(d=n)+3]))if(O(c,h[d+6])){for(s=0,d=2*(u=O(c,h[d+8]))+(h=O(c,h[d+9+u])),u=0,h=ii[d];h[s];++s)u+=u+O(c,h[s]);u+=3+(8<<d)}else O(c,h[d+7])?(u=7+2*O(c,165),u+=O(c,145)):u=5+O(c,159);else u=O(c,h[d+4])?3+O(c,h[d+5]):2;s=l[2]}else u=1,s=l[1];l=a+oi[i],0>(c=e).b&&k(c);var d,h=c.b,f=(d=c.Ca>>1)-(c.I>>h)>>31;--c.b,c.Ca+=f,c.Ca|=1,c.I-=(d+1&f)<<h,o[l]=((u^f)-f)*r[(0<i)+0]}return 16}function Je(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,i(e.zc,0,0,e.zc.length),e.ja=0}function $e(e,n){if(null==e)return 0;if(null==n)return Xe(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Ye(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var s=Ri[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-s>>4,e.zb=n.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+s>>4,e.Hb=n.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var l=e.ed;for(s=0;4>s;++s){var c;if(e.Qa.Cb){var u=e.Qa.Lb[s];e.Qa.Fb||(u+=l.Tb)}else u=l.Tb;for(c=0;1>=c;++c){var d=e.gd[s][c],h=u;if(l.Pc&&(h+=l.vd[0],c&&(h+=l.od[0])),0<(h=0>h?0:63<h?63:h)){var f=h;0<l.wb&&(f=4<l.wb?f>>2:f>>1)>9-l.wb&&(f=9-l.wb),1>f&&(f=1),d.dd=f,d.tc=2*h+f,d.ld=40<=h?2:15<=h?1:0}else d.tc=0;d.La=c}}}s=0}else Xe(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=Hi);e:{s=e.Ic,l=4*(f=e.za);var p=32*f,A=f+1,g=0<e.L?f*(0<e.Aa?2:1):0,m=(2==e.Aa?2:1)*f;if((d=l+832+(c=3*(16*s+Ri[e.L])/2*p)+(u=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=d)s=0;else{if(d>e.Vb){if(e.Vb=0,e.Ec=o(d),e.Fc=0,null==e.Ec){s=Xe(e,1,"no memory during frame initialization.");break e}e.Vb=d}d=e.Ec,h=e.Fc,e.Ac=d,e.Bc=h,h+=l,e.Gd=a(p,Ke),e.Hd=0,e.rb=a(A+1,Re),e.sb=1,e.wa=g?a(g,Fe):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=f),t(!0),e.oc=d,e.pc=h,h+=832,e.ya=a(m,He),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=f),e.R=16*f,e.B=8*f,f=(p=Ri[e.L])*e.R,p=p/2*e.B,e.sa=d,e.ta=h+f,e.qa=e.sa,e.ra=e.ta+16*s*e.R+p,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+p,e.$c=0,h+=c,e.mb=u?d:null,e.nb=u?h:null,t(h+u<=e.Fc+e.Vb),Je(e),i(e.Ac,e.Bc,0,l),s=1}}if(s){if(n.ka=0,n.y=e.sa,n.O=e.ta,n.f=e.qa,n.N=e.ra,n.ea=e.Ha,n.Vd=e.Ia,n.fa=e.R,n.Rc=e.B,n.F=null,n.J=0,!Tr){for(s=-255;255>=s;++s)Er[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)Or[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Br[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)Mr[255+s]=0>s?0:255<s?255:s;Tr=1}or=ct,ar=ot,lr=at,cr=st,ur=lt,sr=it,dr=Xt,hr=qt,fr=Jt,pr=$t,Ar=Yt,gr=Zt,mr=en,vr=tn,yr=Qt,br=Kt,_r=zt,wr=Vt,hi[0]=Ct,hi[1]=dt,hi[2]=wt,hi[3]=xt,hi[4]=St,hi[5]=Et,hi[6]=kt,hi[7]=Ot,hi[8]=Mt,hi[9]=Bt,di[0]=mt,di[1]=ft,di[2]=pt,di[3]=At,di[4]=vt,di[5]=yt,di[6]=bt,fi[0]=Dt,fi[1]=ht,fi[2]=Tt,fi[3]=It,fi[4]=Nt,fi[5]=Pt,fi[6]=jt,s=1}else s=0}s&&(s=function(e,n){for(e.M=0;e.M<e.Va;++e.M){var a,s=e.Jc[e.M&e.Xb],l=e.m,c=e;for(a=0;a<c.za;++a){var u=l,d=c,h=d.Ac,f=d.Bc+4*a,p=d.zc,A=d.ya[d.aa+a];if(d.Qa.Bb?A.$b=O(u,d.Pa.jb[0])?2+O(u,d.Pa.jb[2]):O(u,d.Pa.jb[1]):A.$b=0,d.kc&&(A.Ad=O(u,d.Bd)),A.Za=!O(u,145)+0,A.Za){var g=A.Ob,m=0;for(d=0;4>d;++d){var v,y=p[0+d];for(v=0;4>v;++v){y=li[h[f+v]][y];for(var b=ai[O(u,y[0])];0<b;)b=ai[2*b+O(u,y[b])];y=-b,h[f+v]=y}r(g,m,h,f,4),m+=4,p[0+d]=y}}else y=O(u,156)?O(u,128)?1:3:O(u,163)?2:0,A.Ob[0]=y,i(h,f,y,4),i(p,0,y,4);A.Dd=O(u,142)?O(u,114)?O(u,183)?1:3:2:0}if(c.m.Ka)return Xe(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(c=s,u=(l=e).rb[l.sb-1],h=l.rb[l.sb+l.ja],a=l.ya[l.aa+l.ja],f=l.kc?a.Ad:0)u.la=h.la=0,a.Za||(u.Na=h.Na=0),a.Hc=0,a.Gc=0,a.ia=0;else{var _,w;if(u=h,h=c,f=l.Pa.Xc,p=l.ya[l.aa+l.ja],A=l.pb[p.$b],d=p.ad,g=0,m=l.rb[l.sb-1],y=v=0,i(d,g,0,384),p.Za)var x=0,C=f[3];else{b=o(16);var S=u.Na+m.Na;if(S=ri(h,f[1],S,A.Eb,0,b,0),u.Na=m.Na=(0<S)+0,1<S)or(b,0,d,g);else{var k=b[0]+3>>3;for(b=0;256>b;b+=16)d[g+b]=k}x=1,C=f[0]}var E=15&u.la,B=15&m.la;for(b=0;4>b;++b){var M=1&B;for(k=w=0;4>k;++k)E=E>>1|(M=(S=ri(h,C,S=M+(1&E),A.Sc,x,d,g))>x)<<7,w=w<<2|(3<S?3:1<S?2:0!=d[g+0]),g+=16;E>>=4,B=B>>1|M<<7,v=(v<<8|w)>>>0}for(C=E,x=B>>4,_=0;4>_;_+=2){for(w=0,E=u.la>>4+_,B=m.la>>4+_,b=0;2>b;++b){for(M=1&B,k=0;2>k;++k)S=M+(1&E),E=E>>1|(M=0<(S=ri(h,f[2],S,A.Qc,0,d,g)))<<3,w=w<<2|(3<S?3:1<S?2:0!=d[g+0]),g+=16;E>>=2,B=B>>1|M<<5}y|=w<<4*_,C|=E<<4<<_,x|=(240&B)<<_}u.la=C,m.la=x,p.Hc=v,p.Gc=y,p.ia=43690&y?0:A.ia,f=!(v|y)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[a.$b][a.Za],l.wa[l.Y+l.ja].La|=!f),c.Ka)return Xe(e,7,"Premature end-of-file encountered.")}if(Je(e),l=n,c=1,a=(s=e).D,u=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)e:{if(a.M=s.M,a.uc=u,Dn(s,a),c=1,a=(w=s.D).Nb,u=(y=Ri[s.L])*s.R,h=y/2*s.B,b=16*a*s.R,k=8*a*s.B,f=s.sa,p=s.ta-u+b,A=s.qa,d=s.ra-h+k,g=s.Ha,m=s.Ia-h+k,B=0==(E=w.M),v=E>=s.Va-1,2==s.Aa&&Dn(s,w),w.uc)for(M=(S=s).D.M,t(S.D.uc),w=S.yb;w<S.Hb;++w){x=w,C=M;var T=(I=(H=S).D).Nb;_=H.R;var I=I.wa[I.Y+x],L=H.sa,D=H.ta+16*T*_+16*x,P=I.dd,N=I.tc;if(0!=N)if(t(3<=N),1==H.L)0<x&&br(L,D,_,N+4),I.La&&wr(L,D,_,N),0<C&&yr(L,D,_,N+4),I.La&&_r(L,D,_,N);else{var j=H.B,F=H.qa,R=H.ra+8*T*j+8*x,U=H.Ha,H=H.Ia+8*T*j+8*x;T=I.ld,0<x&&(hr(L,D,_,N+4,P,T),pr(F,R,U,H,j,N+4,P,T)),I.La&&(gr(L,D,_,N,P,T),vr(F,R,U,H,j,N,P,T)),0<C&&(dr(L,D,_,N+4,P,T),fr(F,R,U,H,j,N+4,P,T)),I.La&&(Ar(L,D,_,N,P,T),mr(F,R,U,H,j,N,P,T))}}if(s.ia&&alert("todo:DitherRow"),null!=l.put){if(w=16*E,E=16*(E+1),B?(l.y=s.sa,l.O=s.ta+b,l.f=s.qa,l.N=s.ra+k,l.ea=s.Ha,l.W=s.Ia+k):(w-=y,l.y=f,l.O=p,l.f=A,l.N=d,l.ea=g,l.W=m),v||(E-=y),E>l.o&&(E=l.o),l.F=null,l.J=null,null!=s.Fa&&0<s.Fa.length&&w<E&&(l.J=hn(s,l,w,E-w),l.F=s.mb,null==l.F&&0==l.F.length)){c=Xe(s,3,"Could not decode alpha data.");break e}w<l.j&&(y=l.j-w,w=l.j,t(!(1&y)),l.O+=s.R*y,l.N+=s.B*(y>>1),l.W+=s.B*(y>>1),null!=l.F&&(l.J+=l.width*y)),w<E&&(l.O+=l.v,l.N+=l.v>>1,l.W+=l.v>>1,null!=l.F&&(l.J+=l.v),l.ka=w-l.j,l.U=l.va-l.v,l.T=E-w,c=l.put(l))}a+1!=s.Ic||v||(r(s.sa,s.ta-u,f,p+16*s.R,u),r(s.qa,s.ra-h,A,d+8*s.B,h),r(s.Ha,s.Ia-h,g,m+8*s.B,h))}if(!c)return Xe(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),s&=1}return s?(e.cb=0,s):0}function et(e,t,n,r,i){i=e[t+n+32*r]+(i>>3),e[t+n+32*r]=-256&i?0>i?0:255:i}function tt(e,t,n,r,i,o){et(e,t,0,n,r+i),et(e,t,1,n,r+o),et(e,t,2,n,r-o),et(e,t,3,n,r-i)}function nt(e){return(20091*e>>16)+e}function rt(e,t,n,r){var i,a=0,s=o(16);for(i=0;4>i;++i){var l=e[t+0]+e[t+8],c=e[t+0]-e[t+8],u=(35468*e[t+4]>>16)-nt(e[t+12]),d=nt(e[t+4])+(35468*e[t+12]>>16);s[a+0]=l+d,s[a+1]=c+u,s[a+2]=c-u,s[a+3]=l-d,a+=4,t++}for(i=a=0;4>i;++i)l=(e=s[a+0]+4)+s[a+8],c=e-s[a+8],u=(35468*s[a+4]>>16)-nt(s[a+12]),et(n,r,0,0,l+(d=nt(s[a+4])+(35468*s[a+12]>>16))),et(n,r,1,0,c+u),et(n,r,2,0,c-u),et(n,r,3,0,l-d),a++,r+=32}function it(e,t,n,r){var i=e[t+0]+4,o=35468*e[t+4]>>16,a=nt(e[t+4]),s=35468*e[t+1]>>16;tt(n,r,0,i+a,e=nt(e[t+1]),s),tt(n,r,1,i+o,e,s),tt(n,r,2,i-o,e,s),tt(n,r,3,i-a,e,s)}function ot(e,t,n,r,i){rt(e,t,n,r),i&&rt(e,t+16,n,r+4)}function at(e,t,n,r){ar(e,t+0,n,r,1),ar(e,t+32,n,r+128,1)}function st(e,t,n,r){var i;for(e=e[t+0]+4,i=0;4>i;++i)for(t=0;4>t;++t)et(n,r,t,i,e)}function lt(e,t,n,r){e[t+0]&&cr(e,t+0,n,r),e[t+16]&&cr(e,t+16,n,r+4),e[t+32]&&cr(e,t+32,n,r+128),e[t+48]&&cr(e,t+48,n,r+128+4)}function ct(e,t,n,r){var i,a=o(16);for(i=0;4>i;++i){var s=e[t+0+i]+e[t+12+i],l=e[t+4+i]+e[t+8+i],c=e[t+4+i]-e[t+8+i],u=e[t+0+i]-e[t+12+i];a[0+i]=s+l,a[8+i]=s-l,a[4+i]=u+c,a[12+i]=u-c}for(i=0;4>i;++i)s=(e=a[0+4*i]+3)+a[3+4*i],l=a[1+4*i]+a[2+4*i],c=a[1+4*i]-a[2+4*i],u=e-a[3+4*i],n[r+0]=s+l>>3,n[r+16]=u+c>>3,n[r+32]=s-l>>3,n[r+48]=u-c>>3,r+=64}function ut(e,t,n){var r,i=t-32,o=Dr,a=255-e[i-1];for(r=0;r<n;++r){var s,l=o,c=a+e[t-1];for(s=0;s<n;++s)e[t+s]=l[c+e[i+s]];t+=32}}function dt(e,t){ut(e,t,4)}function ht(e,t){ut(e,t,8)}function ft(e,t){ut(e,t,16)}function pt(e,t){var n;for(n=0;16>n;++n)r(e,t+32*n,e,t-32,16)}function At(e,t){var n;for(n=16;0<n;--n)i(e,t,e[t-1],16),t+=32}function gt(e,t,n){var r;for(r=0;16>r;++r)i(t,n+32*r,e,16)}function mt(e,t){var n,r=16;for(n=0;16>n;++n)r+=e[t-1+32*n]+e[t+n-32];gt(r>>5,e,t)}function vt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t-1+32*n];gt(r>>4,e,t)}function yt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t+n-32];gt(r>>4,e,t)}function bt(e,t){gt(128,e,t)}function _t(e,t,n){return e+2*t+n+2>>2}function wt(e,t){var n,i=t-32;for(i=new Uint8Array([_t(e[i-1],e[i+0],e[i+1]),_t(e[i+0],e[i+1],e[i+2]),_t(e[i+1],e[i+2],e[i+3]),_t(e[i+2],e[i+3],e[i+4])]),n=0;4>n;++n)r(e,t+32*n,i,0,i.length)}function xt(e,t){var n=e[t-1],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96];B(e,t+0,16843009*_t(e[t-1-32],n,r)),B(e,t+32,16843009*_t(n,r,i)),B(e,t+64,16843009*_t(r,i,o)),B(e,t+96,16843009*_t(i,o,o))}function Ct(e,t){var n,r=4;for(n=0;4>n;++n)r+=e[t+n-32]+e[t-1+32*n];for(r>>=3,n=0;4>n;++n)i(e,t+32*n,r,4)}function St(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+96]=_t(r,i,e[t-1+96]),e[t+1+96]=e[t+0+64]=_t(n,r,i),e[t+2+96]=e[t+1+64]=e[t+0+32]=_t(o,n,r),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=_t(a,o,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=_t(s,a,o),e[t+3+32]=e[t+2+0]=_t(l,s,a),e[t+3+0]=_t(c,l,s)}function kt(e,t){var n=e[t+1-32],r=e[t+2-32],i=e[t+3-32],o=e[t+4-32],a=e[t+5-32],s=e[t+6-32],l=e[t+7-32];e[t+0+0]=_t(e[t+0-32],n,r),e[t+1+0]=e[t+0+32]=_t(n,r,i),e[t+2+0]=e[t+1+32]=e[t+0+64]=_t(r,i,o),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=_t(i,o,a),e[t+3+32]=e[t+2+64]=e[t+1+96]=_t(o,a,s),e[t+3+64]=e[t+2+96]=_t(a,s,l),e[t+3+96]=_t(s,l,l)}function Et(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+0]=e[t+1+64]=o+a+1>>1,e[t+1+0]=e[t+2+64]=a+s+1>>1,e[t+2+0]=e[t+3+64]=s+l+1>>1,e[t+3+0]=l+c+1>>1,e[t+0+96]=_t(i,r,n),e[t+0+64]=_t(r,n,o),e[t+0+32]=e[t+1+96]=_t(n,o,a),e[t+1+32]=e[t+2+96]=_t(o,a,s),e[t+2+32]=e[t+3+96]=_t(a,s,l),e[t+3+32]=_t(s,l,c)}function Ot(e,t){var n=e[t+0-32],r=e[t+1-32],i=e[t+2-32],o=e[t+3-32],a=e[t+4-32],s=e[t+5-32],l=e[t+6-32],c=e[t+7-32];e[t+0+0]=n+r+1>>1,e[t+1+0]=e[t+0+64]=r+i+1>>1,e[t+2+0]=e[t+1+64]=i+o+1>>1,e[t+3+0]=e[t+2+64]=o+a+1>>1,e[t+0+32]=_t(n,r,i),e[t+1+32]=e[t+0+96]=_t(r,i,o),e[t+2+32]=e[t+1+96]=_t(i,o,a),e[t+3+32]=e[t+2+96]=_t(o,a,s),e[t+3+64]=_t(a,s,l),e[t+3+96]=_t(s,l,c)}function Bt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96];e[t+0+0]=n+r+1>>1,e[t+2+0]=e[t+0+32]=r+i+1>>1,e[t+2+32]=e[t+0+64]=i+o+1>>1,e[t+1+0]=_t(n,r,i),e[t+3+0]=e[t+1+32]=_t(r,i,o),e[t+3+32]=e[t+1+64]=_t(i,o,o),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=o}function Mt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96],a=e[t-1-32],s=e[t+0-32],l=e[t+1-32],c=e[t+2-32];e[t+0+0]=e[t+2+32]=n+a+1>>1,e[t+0+32]=e[t+2+64]=r+n+1>>1,e[t+0+64]=e[t+2+96]=i+r+1>>1,e[t+0+96]=o+i+1>>1,e[t+3+0]=_t(s,l,c),e[t+2+0]=_t(a,s,l),e[t+1+0]=e[t+3+32]=_t(n,a,s),e[t+1+32]=e[t+3+64]=_t(r,n,a),e[t+1+64]=e[t+3+96]=_t(i,r,n),e[t+1+96]=_t(o,i,r)}function Tt(e,t){var n;for(n=0;8>n;++n)r(e,t+32*n,e,t-32,8)}function It(e,t){var n;for(n=0;8>n;++n)i(e,t,e[t-1],8),t+=32}function Lt(e,t,n){var r;for(r=0;8>r;++r)i(t,n+32*r,e,8)}function Dt(e,t){var n,r=8;for(n=0;8>n;++n)r+=e[t+n-32]+e[t-1+32*n];Lt(r>>4,e,t)}function Pt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t+n-32];Lt(r>>3,e,t)}function Nt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t-1+32*n];Lt(r>>3,e,t)}function jt(e,t){Lt(128,e,t)}function Ft(e,t,n){var r=e[t-n],i=e[t+0],o=3*(i-r)+Ir[1020+e[t-2*n]-e[t+n]],a=Lr[112+(o+4>>3)];e[t-n]=Dr[255+r+Lr[112+(o+3>>3)]],e[t+0]=Dr[255+i-a]}function Rt(e,t,n,r){var i=e[t+0],o=e[t+n];return Pr[255+e[t-2*n]-e[t-n]]>r||Pr[255+o-i]>r}function Ut(e,t,n,r){return 4*Pr[255+e[t-n]-e[t+0]]+Pr[255+e[t-2*n]-e[t+n]]<=r}function Ht(e,t,n,r,i){var o=e[t-3*n],a=e[t-2*n],s=e[t-n],l=e[t+0],c=e[t+n],u=e[t+2*n],d=e[t+3*n];return 4*Pr[255+s-l]+Pr[255+a-c]>r?0:Pr[255+e[t-4*n]-o]<=i&&Pr[255+o-a]<=i&&Pr[255+a-s]<=i&&Pr[255+d-u]<=i&&Pr[255+u-c]<=i&&Pr[255+c-l]<=i}function Qt(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)Ut(e,t+r,n,i)&&Ft(e,t+r,n)}function Kt(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)Ut(e,t+r*n,1,i)&&Ft(e,t+r*n,1)}function zt(e,t,n,r){var i;for(i=3;0<i;--i)Qt(e,t+=4*n,n,r)}function Vt(e,t,n,r){var i;for(i=3;0<i;--i)Kt(e,t+=4,n,r)}function Wt(e,t,n,r,i,o,a,s){for(o=2*o+1;0<i--;){if(Ht(e,t,n,o,a))if(Rt(e,t,n,s))Ft(e,t,n);else{var l=e,c=t,u=n,d=l[c-2*u],h=l[c-u],f=l[c+0],p=l[c+u],A=l[c+2*u],g=27*(v=Ir[1020+3*(f-h)+Ir[1020+d-p]])+63>>7,m=18*v+63>>7,v=9*v+63>>7;l[c-3*u]=Dr[255+l[c-3*u]+v],l[c-2*u]=Dr[255+d+m],l[c-u]=Dr[255+h+g],l[c+0]=Dr[255+f-g],l[c+u]=Dr[255+p-m],l[c+2*u]=Dr[255+A-v]}t+=r}}function Gt(e,t,n,r,i,o,a,s){for(o=2*o+1;0<i--;){if(Ht(e,t,n,o,a))if(Rt(e,t,n,s))Ft(e,t,n);else{var l=e,c=t,u=n,d=l[c-u],h=l[c+0],f=l[c+u],p=Lr[112+(4+(A=3*(h-d))>>3)],A=Lr[112+(A+3>>3)],g=p+1>>1;l[c-2*u]=Dr[255+l[c-2*u]+g],l[c-u]=Dr[255+d+A],l[c+0]=Dr[255+h-p],l[c+u]=Dr[255+f-g]}t+=r}}function Xt(e,t,n,r,i,o){Wt(e,t,n,1,16,r,i,o)}function qt(e,t,n,r,i,o){Wt(e,t,1,n,16,r,i,o)}function Yt(e,t,n,r,i,o){var a;for(a=3;0<a;--a)Gt(e,t+=4*n,n,1,16,r,i,o)}function Zt(e,t,n,r,i,o){var a;for(a=3;0<a;--a)Gt(e,t+=4,1,n,16,r,i,o)}function Jt(e,t,n,r,i,o,a,s){Wt(e,t,i,1,8,o,a,s),Wt(n,r,i,1,8,o,a,s)}function $t(e,t,n,r,i,o,a,s){Wt(e,t,1,i,8,o,a,s),Wt(n,r,1,i,8,o,a,s)}function en(e,t,n,r,i,o,a,s){Gt(e,t+4*i,i,1,8,o,a,s),Gt(n,r+4*i,i,1,8,o,a,s)}function tn(e,t,n,r,i,o,a,s){Gt(e,t+4,1,i,8,o,a,s),Gt(n,r+4,1,i,8,o,a,s)}function nn(){this.ba=new ae,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new le,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function rn(){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 on(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function an(){this.ua=0,this.Wa=new P,this.vb=new P,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new f,this.yc=new d}function sn(){this.xb=this.a=0,this.l=new We,this.ca=new ae,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new _,this.Pb=0,this.wd=new _,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new an,this.ab=0,this.gc=a(4,on),this.Oc=0}function ln(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new We,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function cn(e,t,n,r,i,o,a){for(e=null==e?0:e[t+0],t=0;t<a;++t)i[o+t]=e+n[r+t]&255,e=i[o+t]}function un(e,t,n,r,i,o,a){var s;if(null==e)cn(null,null,n,r,i,o,a);else for(s=0;s<a;++s)i[o+s]=e[t+s]+n[r+s]&255}function dn(e,t,n,r,i,o,a){if(null==e)cn(null,null,n,r,i,o,a);else{var s,l=e[t+0],c=l,u=l;for(s=0;s<a;++s)c=u+(l=e[t+s])-c,u=n[r+s]+(-256&c?0>c?0:255:c)&255,c=l,i[o+s]=u}}function hn(e,n,i,a){var s=n.width,l=n.o;if(t(null!=e&&null!=n),0>i||0>=a||i+a>l)return null;if(!e.Cc){if(null==e.ga){var c;if(e.ga=new ln,(c=null==e.ga)||(c=n.width*n.o,t(0==e.Gb.length),e.Gb=o(c),e.Uc=0,null==e.Gb?c=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,c=1),c=!c),!c){c=e.ga;var u=e.Fa,d=e.P,h=e.qc,f=e.mb,p=e.nb,A=d+1,g=h-1,v=c.l;if(t(null!=u&&null!=f&&null!=n),gi[0]=null,gi[1]=cn,gi[2]=un,gi[3]=dn,c.ca=f,c.tb=p,c.c=n.width,c.i=n.height,t(0<c.c&&0<c.i),1>=h)n=0;else if(c.$a=u[d+0]>>0&3,c.Z=u[d+0]>>2&3,c.Lc=u[d+0]>>4&3,d=u[d+0]>>6&3,0>c.$a||1<c.$a||4<=c.Z||1<c.Lc||d)n=0;else if(v.put=fe,v.ac=he,v.bc=pe,v.ma=c,v.width=n.width,v.height=n.height,v.Da=n.Da,v.v=n.v,v.va=n.va,v.j=n.j,v.o=n.o,c.$a)e:{t(1==c.$a),n=Oe();t:for(;;){if(null==n){n=0;break e}if(t(null!=c),c.mc=n,n.c=c.c,n.i=c.i,n.l=c.l,n.l.ma=c,n.l.width=c.c,n.l.height=c.i,n.a=0,m(n.m,u,A,g),!Be(c.c,c.i,1,n,null))break t;if(1==n.ab&&3==n.gc[0].hc&&xe(n.s)?(c.ic=1,u=n.c*n.i,n.Ta=null,n.Ua=0,n.V=o(u),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(c.ic=0,n=Me(n,c.c)),!n)break t;n=1;break e}c.mc=null,n=0}else n=g>=c.c*c.i;c=!n}if(c)return null;1!=e.ga.Lc?e.Ga=0:a=l-i}t(null!=e.ga),t(i+a<=l);e:{if(n=(u=e.ga).c,l=u.l.o,0==u.$a){if(A=e.rc,g=e.Vc,v=e.Fa,d=e.P+1+i*n,h=e.mb,f=e.nb+i*n,t(d<=e.P+e.qc),0!=u.Z)for(t(null!=gi[u.Z]),c=0;c<a;++c)gi[u.Z](A,g,v,d,h,f,n),A=h,g=f,f+=n,d+=n;else for(c=0;c<a;++c)r(h,f,v,d,n),A=h,g=f,f+=n,d+=n;e.rc=A,e.Vc=g}else{if(t(null!=u.mc),n=i+a,t(null!=(c=u.mc)),t(n<=c.i),c.C>=n)n=1;else if(u.ic||mn(),u.ic){u=c.V,A=c.Ba,g=c.c;var y=c.i,b=(v=1,d=c.$/g,h=c.$%g,f=c.m,p=c.s,c.$),_=g*y,w=g*n,C=p.wc,k=b<w?be(p,h,d):null;t(b<=_),t(n<=y),t(xe(p));t:for(;;){for(;!f.h&&b<w;){if(h&C||(k=be(p,h,d)),t(null!=k),S(f),256>(y=ve(k.G[0],k.H[0],f)))u[A+b]=y,++b,++h>=g&&(h=0,++d<=n&&!(d%16)&&Se(c,d));else{if(!(280>y)){v=0;break t}y=ge(y-256,f);var E,O=ve(k.G[4],k.H[4],f);if(S(f),!(b>=(O=me(g,O=ge(O,f)))&&_-b>=y)){v=0;break t}for(E=0;E<y;++E)u[A+b+E]=u[A+b+E-O];for(b+=y,h+=y;h>=g;)h-=g,++d<=n&&!(d%16)&&Se(c,d);b<w&&h&C&&(k=be(p,h,d))}t(f.h==x(f))}Se(c,d>n?n:d);break t}!v||f.h&&b<_?(v=0,c.a=f.h?5:3):c.$=b,n=v}else n=ke(c,c.V,c.Ba,c.c,c.i,n,Te);if(!n){a=0;break e}}i+a>=l&&(e.Cc=1),a=1}if(!a)return null;if(e.Cc&&(null!=(a=e.ga)&&(a.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+i*s}function fn(e,t,n,r,i,o){for(;0<i--;){var a,s=e,l=t+(n?1:0),c=e,u=t+(n?0:3);for(a=0;a<r;++a){var d=c[u+4*a];255!=d&&(d*=32897,s[l+4*a+0]=s[l+4*a+0]*d>>23,s[l+4*a+1]=s[l+4*a+1]*d>>23,s[l+4*a+2]=s[l+4*a+2]*d>>23)}t+=o}}function pn(e,t,n,r,i){for(;0<r--;){var o;for(o=0;o<n;++o){var a=e[t+2*o+0],s=15&(c=e[t+2*o+1]),l=4369*s,c=(240&c|c>>4)*l>>16;e[t+2*o+0]=(240&a|a>>4)*l>>16&240|(15&a|a<<4)*l>>16>>4&15,e[t+2*o+1]=240&c|s}t+=i}}function An(e,t,n,r,i,o,a,s){var l,c,u=255;for(c=0;c<i;++c){for(l=0;l<r;++l){var d=e[t+l];o[a+4*l]=d,u&=d}t+=n,a+=s}return 255!=u}function gn(e,t,n,r,i){var o;for(o=0;o<i;++o)n[r+o]=e[t+o]>>8}function mn(){xr=fn,Cr=pn,Sr=An,kr=gn}function vn(n,r,i){e[n]=function(e,n,o,a,s,l,c,u,d,h,f,p,A,g,m,v,y){var b,_=y-1>>1,w=s[l+0]|c[u+0]<<16,x=d[h+0]|f[p+0]<<16;t(null!=e);var C=3*w+x+131074>>2;for(r(e[n+0],255&C,C>>16,A,g),null!=o&&(C=3*x+w+131074>>2,r(o[a+0],255&C,C>>16,m,v)),b=1;b<=_;++b){var S=s[l+b]|c[u+b]<<16,k=d[h+b]|f[p+b]<<16,E=w+S+x+k+524296,O=E+2*(S+x)>>3;C=O+w>>1,w=(E=E+2*(w+k)>>3)+S>>1,r(e[n+2*b-1],255&C,C>>16,A,g+(2*b-1)*i),r(e[n+2*b-0],255&w,w>>16,A,g+(2*b-0)*i),null!=o&&(C=E+x>>1,w=O+k>>1,r(o[a+2*b-1],255&C,C>>16,m,v+(2*b-1)*i),r(o[a+2*b+0],255&w,w>>16,m,v+(2*b+0)*i)),w=S,x=k}1&y||(C=3*w+x+131074>>2,r(e[n+y-1],255&C,C>>16,A,g+(y-1)*i),null!=o&&(C=3*x+w+131074>>2,r(o[a+y-1],255&C,C>>16,m,v+(y-1)*i)))}}function yn(){mi[Nr]=vi,mi[jr]=bi,mi[Fr]=yi,mi[Rr]=_i,mi[Ur]=wi,mi[Hr]=xi,mi[Qr]=Ci,mi[Kr]=bi,mi[zr]=_i,mi[Vr]=wi,mi[Wr]=xi}function bn(e){return e&~Mi?0>e?0:255:e>>Bi}function _n(e,t){return bn((19077*e>>8)+(26149*t>>8)-14234)}function wn(e,t,n){return bn((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function xn(e,t){return bn((19077*e>>8)+(33050*t>>8)-17685)}function Cn(e,t,n,r,i){r[i+0]=_n(e,n),r[i+1]=wn(e,t,n),r[i+2]=xn(e,t)}function Sn(e,t,n,r,i){r[i+0]=xn(e,t),r[i+1]=wn(e,t,n),r[i+2]=_n(e,n)}function kn(e,t,n,r,i){var o=wn(e,t,n);t=o<<3&224|xn(e,t)>>3,r[i+0]=248&_n(e,n)|o>>5,r[i+1]=t}function En(e,t,n,r,i){var o=240&xn(e,t)|15;r[i+0]=240&_n(e,n)|wn(e,t,n)>>4,r[i+1]=o}function On(e,t,n,r,i){r[i+0]=255,Cn(e,t,n,r,i+1)}function Bn(e,t,n,r,i){Sn(e,t,n,r,i),r[i+3]=255}function Mn(e,t,n,r,i){Cn(e,t,n,r,i),r[i+3]=255}function Ve(e,t){return 0>e?0:e>t?t:e}function Tn(t,n,r){e[t]=function(e,t,i,o,a,s,l,c,u){for(var d=c+(-2&u)*r;c!=d;)n(e[t+0],i[o+0],a[s+0],l,c),n(e[t+1],i[o+0],a[s+0],l,c+r),t+=2,++o,++s,c+=2*r;1&u&&n(e[t+0],i[o+0],a[s+0],l,c)}}function In(e,t,n){return 0==n?0==e?0==t?6:5:0==t?4:0:n}function Ln(e,t,n,r,i){switch(e>>>30){case 3:ar(t,n,r,i,0);break;case 2:sr(t,n,r,i);break;case 1:cr(t,n,r,i)}}function Dn(e,t){var n,o,a=t.M,s=t.Nb,l=e.oc,c=e.pc+40,u=e.oc,d=e.pc+584,h=e.oc,f=e.pc+600;for(n=0;16>n;++n)l[c+32*n-1]=129;for(n=0;8>n;++n)u[d+32*n-1]=129,h[f+32*n-1]=129;for(0<a?l[c-1-32]=u[d-1-32]=h[f-1-32]=129:(i(l,c-32-1,127,21),i(u,d-32-1,127,9),i(h,f-32-1,127,9)),o=0;o<e.za;++o){var p=t.ya[t.aa+o];if(0<o){for(n=-1;16>n;++n)r(l,c+32*n-4,l,c+32*n+12,4);for(n=-1;8>n;++n)r(u,d+32*n-4,u,d+32*n+4,4),r(h,f+32*n-4,h,f+32*n+4,4)}var A=e.Gd,g=e.Hd+o,m=p.ad,v=p.Hc;if(0<a&&(r(l,c-32,A[g].y,0,16),r(u,d-32,A[g].f,0,8),r(h,f-32,A[g].ea,0,8)),p.Za){var y=l,b=c-32+16;for(0<a&&(o>=e.za-1?i(y,b,A[g].y[15],4):r(y,b,A[g+1].y,0,4)),n=0;4>n;n++)y[b+128+n]=y[b+256+n]=y[b+384+n]=y[b+0+n];for(n=0;16>n;++n,v<<=2)y=l,b=c+Fi[n],hi[p.Ob[n]](y,b),Ln(v,m,16*+n,y,b)}else if(y=In(o,a,p.Ob[0]),di[y](l,c),0!=v)for(n=0;16>n;++n,v<<=2)Ln(v,m,16*+n,l,c+Fi[n]);for(n=p.Gc,y=In(o,a,p.Dd),fi[y](u,d),fi[y](h,f),v=m,y=u,b=d,255&(p=n>>0)&&(170&p?lr(v,256,y,b):ur(v,256,y,b)),p=h,v=f,255&(n>>=8)&&(170&n?lr(m,320,p,v):ur(m,320,p,v)),a<e.Ub-1&&(r(A[g].y,0,l,c+480,16),r(A[g].f,0,u,d+224,8),r(A[g].ea,0,h,f+224,8)),n=8*s*e.B,A=e.sa,g=e.ta+16*o+16*s*e.R,m=e.qa,p=e.ra+8*o+n,v=e.Ha,y=e.Ia+8*o+n,n=0;16>n;++n)r(A,g+n*e.R,l,c+32*n,16);for(n=0;8>n;++n)r(m,p+n*e.B,u,d+32*n,8),r(v,y+n*e.B,h,f+32*n,8)}}function Pn(e,r,i,o,a,s,l,c,u){var d=[0],h=[0],f=0,p=null!=u?u.kd:0,A=null!=u?u:new rn;if(null==e||12>i)return 7;A.data=e,A.w=r,A.ha=i,r=[r],i=[i],A.gb=[A.gb];e:{var g=r,v=i,y=A.gb;if(t(null!=e),t(null!=v),t(null!=y),y[0]=0,12<=v[0]&&!n(e,g[0],"RIFF")){if(n(e,g[0]+8,"WEBP")){y=3;break e}var b=I(e,g[0]+4);if(12>b||4294967286<b){y=3;break e}if(p&&b>v[0]-8){y=7;break e}y[0]=b,g[0]+=12,v[0]-=12}y=0}if(0!=y)return y;for(b=0<A.gb[0],i=i[0];;){e:{var w=e;v=r,y=i;var x=d,C=h,S=g=[0];if((O=f=[f])[0]=0,8>y[0])y=7;else{if(!n(w,v[0],"VP8X")){if(10!=I(w,v[0]+4)){y=3;break e}if(18>y[0]){y=7;break e}var k=I(w,v[0]+8),E=1+T(w,v[0]+12);if(2147483648<=E*(w=1+T(w,v[0]+15))){y=3;break e}null!=S&&(S[0]=k),null!=x&&(x[0]=E),null!=C&&(C[0]=w),v[0]+=18,y[0]-=18,O[0]=1}y=0}}if(f=f[0],g=g[0],0!=y)return y;if(v=!!(2&g),!b&&f)return 3;if(null!=s&&(s[0]=!!(16&g)),null!=l&&(l[0]=v),null!=c&&(c[0]=0),l=d[0],g=h[0],f&&v&&null==u){y=0;break}if(4>i){y=7;break}if(b&&f||!b&&!f&&!n(e,r[0],"ALPH")){i=[i],A.na=[A.na],A.P=[A.P],A.Sa=[A.Sa];e:{k=e,y=r,b=i;var O=A.gb;x=A.na,C=A.P,S=A.Sa,E=22,t(null!=k),t(null!=b),w=y[0];var B=b[0];for(t(null!=x),t(null!=S),x[0]=null,C[0]=null,S[0]=0;;){if(y[0]=w,b[0]=B,8>B){y=7;break e}var M=I(k,w+4);if(4294967286<M){y=3;break e}var L=8+M+1&-2;if(E+=L,0<O&&E>O){y=3;break e}if(!n(k,w,"VP8 ")||!n(k,w,"VP8L")){y=0;break e}if(B[0]<L){y=7;break e}n(k,w,"ALPH")||(x[0]=k,C[0]=w+8,S[0]=M),w+=L,B-=L}}if(i=i[0],A.na=A.na[0],A.P=A.P[0],A.Sa=A.Sa[0],0!=y)break}i=[i],A.Ja=[A.Ja],A.xa=[A.xa];e:if(O=e,y=r,b=i,x=A.gb[0],C=A.Ja,S=A.xa,k=y[0],w=!n(O,k,"VP8 "),E=!n(O,k,"VP8L"),t(null!=O),t(null!=b),t(null!=C),t(null!=S),8>b[0])y=7;else{if(w||E){if(O=I(O,k+4),12<=x&&O>x-12){y=3;break e}if(p&&O>b[0]-8){y=7;break e}C[0]=O,y[0]+=8,b[0]-=8,S[0]=E}else S[0]=5<=b[0]&&47==O[k+0]&&!(O[k+4]>>5),C[0]=b[0];y=0}if(i=i[0],A.Ja=A.Ja[0],A.xa=A.xa[0],r=r[0],0!=y)break;if(4294967286<A.Ja)return 3;if(null==c||v||(c[0]=A.xa?2:1),l=[l],g=[g],A.xa){if(5>i){y=7;break}c=l,p=g,v=s,null==e||5>i?e=0:5<=i&&47==e[r+0]&&!(e[r+4]>>5)?(b=[0],O=[0],x=[0],m(C=new _,e,r,i),Ae(C,b,O,x)?(null!=c&&(c[0]=b[0]),null!=p&&(p[0]=O[0]),null!=v&&(v[0]=x[0]),e=1):e=0):e=0}else{if(10>i){y=7;break}c=g,null==e||10>i||!qe(e,r+3,i-3)?e=0:(p=e[r+0]|e[r+1]<<8|e[r+2]<<16,v=16383&(e[r+7]<<8|e[r+6]),e=16383&(e[r+9]<<8|e[r+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=A.Ja||!v||!e?e=0:(l&&(l[0]=v),c&&(c[0]=e),e=1))}if(!e)return 3;if(l=l[0],g=g[0],f&&(d[0]!=l||h[0]!=g))return 3;null!=u&&(u[0]=A,u.offset=r-u.w,t(4294967286>r-u.w),t(u.offset==u.ha-i));break}return 0==y||7==y&&f&&null==u?(null!=s&&(s[0]|=null!=A.na&&0<A.na.length),null!=o&&(o[0]=l),null!=a&&(a[0]=g),0):y}function Nn(e,t,n){var r=t.width,i=t.height,o=0,a=0,s=r,l=i;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,l=e.bd,o=e.v,a=e.j,11>n||(o&=-2,a&=-2),0>o||0>a||0>=s||0>=l||o+s>r||a+l>i))return 0;if(t.v=o,t.j=a,t.va=o+s,t.o=a+l,t.U=s,t.T=l,t.da=null!=e&&0<e.da,t.da){if(!N(s,l,n=[e.ib],o=[e.hb]))return 0;t.ib=n[0],t.hb=o[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*i/4,t.Kb=0),1}function jn(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function Fn(e,t,n,r){if(null==r||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var i=n.cd,a=n.bd,s=-2&n.v,l=-2&n.j;if(0>s||0>l||0>=i||0>=a||s+i>e||l+a>t)return 2;e=i,t=a}if(n.da){if(!N(e,t,i=[n.ib],a=[n.hb]))return 2;e=i[0],t=a[0]}}r.width=e,r.height=t;e:{var c=r.width,u=r.height;if(e=r.S,0>=c||0>=u||!(e>=Nr&&13>e))e=2;else{if(0>=r.Rd&&null==r.sd){s=a=i=t=0;var d=(l=c*Qi[e])*u;if(11>e||(a=(u+1)/2*(t=(c+1)/2),12==e&&(s=(i=c)*u)),null==(u=o(d+2*a+s))){e=1;break e}r.sd=u,11>e?((c=r.f.RGBA).eb=u,c.fb=0,c.A=l,c.size=d):((c=r.f.kb).y=u,c.O=0,c.fa=l,c.Fd=d,c.f=u,c.N=0+d,c.Ab=t,c.Cd=a,c.ea=u,c.W=0+d+a,c.Db=t,c.Ed=a,12==e&&(c.F=u,c.J=0+d+2*a),c.Tc=s,c.lb=i)}if(t=1,i=r.S,a=r.width,s=r.height,i>=Nr&&13>i)if(11>i)e=r.f.RGBA,t&=(l=Math.abs(e.A))*(s-1)+a<=e.size,t&=l>=a*Qi[i],t&=null!=e.eb;else{e=r.f.kb,l=(a+1)/2,d=(s+1)/2,c=Math.abs(e.fa),u=Math.abs(e.Ab);var h=Math.abs(e.Db),f=Math.abs(e.lb),p=f*(s-1)+a;t&=c*(s-1)+a<=e.Fd,t&=u*(d-1)+l<=e.Cd,t=(t&=h*(d-1)+l<=e.Ed)&c>=a&u>=l&h>=l,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==i&&(t&=f>=a,t&=p<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=n&&n.fd&&(e=jn(r)),e}var Rn=64,Un=[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],Hn=24,Qn=32,Kn=8,zn=[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];R("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return H(H(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return H(e,t[n-1])},e.Predictor7=function(e,t,n){return H(e,t[n+0])},e.Predictor8=function(e,t,n){return H(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return H(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return H(H(e,t[n-1]),H(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var r=t[n+0];return 0>=z(r>>24&255,e>>24&255,(t=t[n-1])>>24&255)+z(r>>16&255,e>>16&255,t>>16&255)+z(r>>8&255,e>>8&255,t>>8&255)+z(255&r,255&e,255&t)?r:e},e.Predictor12=function(e,t,n){var r=t[n+0];return(Q((e>>24&255)+(r>>24&255)-((t=t[n-1])>>24&255))<<24|Q((e>>16&255)+(r>>16&255)-(t>>16&255))<<16|Q((e>>8&255)+(r>>8&255)-(t>>8&255))<<8|Q((255&e)+(255&r)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var r=t[n-1];return(K((e=H(e,t[n+0]))>>24&255,r>>24&255)<<24|K(e>>16&255,r>>16&255)<<16|K(e>>8&255,r>>8&255)<<8|K(e>>0&255,r>>0&255))>>>0};var Vn=e.PredictorAdd0;e.PredictorAdd1=V,R("Predictor2","PredictorAdd2"),R("Predictor3","PredictorAdd3"),R("Predictor4","PredictorAdd4"),R("Predictor5","PredictorAdd5"),R("Predictor6","PredictorAdd6"),R("Predictor7","PredictorAdd7"),R("Predictor8","PredictorAdd8"),R("Predictor9","PredictorAdd9"),R("Predictor10","PredictorAdd10"),R("Predictor11","PredictorAdd11"),R("Predictor12","PredictorAdd12"),R("Predictor13","PredictorAdd13");var Wn=e.PredictorAdd2;q("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),q("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var Gn,Xn=e.ColorIndexInverseTransform,qn=e.MapARGB,Yn=e.VP8LColorIndexInverseTransformAlpha,Zn=e.MapAlpha,Jn=e.VP8LPredictorsAdd=[];Jn.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var $n,er,tr,nr,rr,ir,or,ar,sr,lr,cr,ur,dr,hr,fr,pr,Ar,gr,mr,vr,yr,br,_r,wr,xr,Cr,Sr,kr,Er=o(511),Or=o(2041),Br=o(225),Mr=o(767),Tr=0,Ir=Or,Lr=Br,Dr=Mr,Pr=Er,Nr=0,jr=1,Fr=2,Rr=3,Ur=4,Hr=5,Qr=6,Kr=7,zr=8,Vr=9,Wr=10,Gr=[2,3,7],Xr=[3,3,11],qr=[280,256,256,256,40],Yr=[0,1,1,1,0],Zr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Jr=[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],$r=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ei=8,ti=[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],ni=[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],ri=null,ii=[[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]],oi=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ai=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],si=[[[[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]]]],li=[[[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]]],ci=[[[[255,255,255,255,255,255,255,255,255,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]]]],ui=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],di=[],hi=[],fi=[],pi=1,Ai=2,gi=[],mi=[];vn("UpsampleRgbLinePair",Cn,3),vn("UpsampleBgrLinePair",Sn,3),vn("UpsampleRgbaLinePair",Mn,4),vn("UpsampleBgraLinePair",Bn,4),vn("UpsampleArgbLinePair",On,4),vn("UpsampleRgba4444LinePair",En,2),vn("UpsampleRgb565LinePair",kn,2);var vi=e.UpsampleRgbLinePair,yi=e.UpsampleBgrLinePair,bi=e.UpsampleRgbaLinePair,_i=e.UpsampleBgraLinePair,wi=e.UpsampleArgbLinePair,xi=e.UpsampleRgba4444LinePair,Ci=e.UpsampleRgb565LinePair,Si=16,ki=1<<Si-1,Ei=-227,Oi=482,Bi=6,Mi=(256<<Bi)-1,Ti=0,Ii=o(256),Li=o(256),Di=o(256),Pi=o(256),Ni=o(Oi-Ei),ji=o(Oi-Ei);Tn("YuvToRgbRow",Cn,3),Tn("YuvToBgrRow",Sn,3),Tn("YuvToRgbaRow",Mn,4),Tn("YuvToBgraRow",Bn,4),Tn("YuvToArgbRow",On,4),Tn("YuvToRgba4444Row",En,2),Tn("YuvToRgb565Row",kn,2);var Fi=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ri=[0,2,8],Ui=[8,7,6,4,4,2,2,2,1,1,1,1],Hi=1;this.WebPDecodeRGBA=function(e,n,r,i,o){var a=jr,s=new nn,l=new ae;s.ba=l,l.S=a,l.width=[l.width],l.height=[l.height];var c=l.width,u=l.height,d=new se;if(null==d||null==e)var h=2;else t(null!=d),h=Pn(e,n,r,d.width,d.height,d.Pd,d.Qd,d.format,null);if(0!=h?c=0:(null!=c&&(c[0]=d.width[0]),null!=u&&(u[0]=d.height[0]),c=1),c){l.width=l.width[0],l.height=l.height[0],null!=i&&(i[0]=l.width),null!=o&&(o[0]=l.height);e:{if(i=new We,(o=new rn).data=e,o.w=n,o.ha=r,o.kd=1,n=[0],t(null!=o),(0==(e=Pn(o.data,o.w,o.ha,null,null,null,n,null,o))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=s),i.data=o.data,i.w=o.w+o.offset,i.ha=o.ha-o.offset,i.put=fe,i.ac=he,i.bc=pe,i.ma=s,o.xa){if(null==(e=Oe())){s=1;break e}if(function(e,n){var r=[0],i=[0],o=[0];t:for(;;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,m(e.m,n.data,n.w,n.ha),!Ae(e.m,r,i,o)){e.a=3;break t}if(e.xb=Ai,n.width=r[0],n.height=i[0],!Be(r[0],i[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,i)){if(i=0==(n=Fn(i.width,i.height,s.Oa,s.ba))){t:{i=e;n:for(;;){if(null==i){i=0;break t}if(t(null!=i.s.yc),t(null!=i.s.Ya),t(0<i.s.Wb),t(null!=(r=i.l)),t(null!=(o=r.ma)),0!=i.xb){if(i.ca=o.ba,i.tb=o.tb,t(null!=i.ca),!Nn(o.Oa,r,Rr)){i.a=2;break n}if(!Me(i,r.width))break n;if(r.da)break n;if((r.da||re(i.ca.S))&&mn(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&mn()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!L(i.s.vb,i.s.Wa.Xa)){i.a=1;break n}i.xb=0}if(!ke(i,i.V,i.Ba,i.c,i.i,r.o,we))break n;o.Dc=i.Ma,i=1;break t}t(0!=i.a),i=0}i=!i}i&&(n=e.a)}else n=e.a}else{if(null==(e=new Ge)){s=1;break e}if(e.Fa=o.na,e.P=o.P,e.qc=o.Sa,Ye(e,i)){if(0==(n=Fn(i.width,i.height,s.Oa,s.ba))){if(e.Aa=0,r=s.Oa,t(null!=(o=e)),null!=r){if(0<(c=0>(c=r.Md)?0:100<c?255:255*c/100)){for(u=d=0;4>u;++u)12>(h=o.pb[u]).lc&&(h.ia=c*Ui[0>h.lc?0:h.lc]>>3),d|=h.ia;d&&(alert("todo:VP8InitRandom"),o.ia=1)}o.Ga=r.Id,100<o.Ga?o.Ga=100:0>o.Ga&&(o.Ga=0)}$e(e,i)||(n=e.a)}}else n=e.a}0==n&&null!=s.Oa&&s.Oa.fd&&(n=jn(s.ba))}s=n}a=0!=s?null:11>a?l.f.RGBA.eb:l.f.kb.y}else a=null;return a};var Qi=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function c(e,t){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(e[t++]);return n}function u(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16)>>>0}function d(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new l;var h=[0],f=[0],p=[],A=new l,g=e,m=function(e,t){var n={},r=0,i=!1,o=0,a=0;if(n.frames=[],!function(e,t,n,r){for(var i=0;i<r;i++)if(e[t+i]!=n.charCodeAt(i))return!0;return!1}(e,t,"RIFF",4)){var s,l;for(d(e,t+=4),t+=8;t<e.length;){var h=c(e,t),f=d(e,t+=4);t+=4;var p=f+(1&f);switch(h){case"VP8 ":case"VP8L":void 0===n.frames[r]&&(n.frames[r]={}),(m=n.frames[r]).src_off=i?a:t-8,m.src_size=o+f+8,r++,i&&(i=!1,o=0,a=0);break;case"VP8X":(m=n.header={}).feature_flags=e[t];var A=t+4;m.canvas_width=1+u(e,A),A+=3,m.canvas_height=1+u(e,A),A+=3;break;case"ALPH":i=!0,o=p+8,a=t-8;break;case"ANIM":(m=n.header).bgcolor=d(e,t),A=t+4,m.loop_count=(s=e)[(l=A)+0]<<0|s[l+1]<<8,A+=2;break;case"ANMF":var g,m;(m=n.frames[r]={}).offset_x=2*u(e,t),t+=3,m.offset_y=2*u(e,t),t+=3,m.width=1+u(e,t),t+=3,m.height=1+u(e,t),t+=3,m.duration=u(e,t),t+=3,g=e[t++],m.dispose=1&g,m.blend=g>>1&1}"ANMF"!=h&&(t+=p)}return n}}(g,0);m.response=g,m.rgbaoutput=!0,m.dataurl=!1;var v=m.header?m.header:null,y=m.frames?m.frames:null;if(v){v.loop_counter=v.loop_count,h=[v.canvas_height],f=[v.canvas_width];for(var b=0;b<y.length&&0!=y[b].blend;b++);}var _=y[0],w=A.WebPDecodeRGBA(g,_.src_off,_.src_size,f,h);_.rgba=w,_.imgwidth=f[0],_.imgheight=h[0];for(var x=0;x<f[0]*h[0]*4;x++)p[x]=w[x];return this.width=f,this.height=h,this.data=p,this}!function(e){var t=function(){return"function"==typeof o["b"]},n=function(t,n,i,u){var d=4,h=s;switch(u){case e.image_compression.FAST:d=1,h=a;break;case e.image_compression.MEDIUM:d=6,h=l;break;case e.image_compression.SLOW:d=9,h=c}t=r(t,n,i,h);var f=Object(o["b"])(t,{level:d});return e.__addimage__.arrayBufferToBinaryString(f)},r=function(e,t,n,r){for(var i,o,a,s=e.length/t,l=new Uint8Array(e.length+s),c=d(),u=0;u<s;u+=1){if(a=u*t,i=e.subarray(a,a+t),r)l.set(r(i,n,o),a+u);else{for(var f,p=c.length,A=[];f<p;f+=1)A[f]=c[f](i,n,o);var g=h(A.concat());l.set(A[g],a+u)}o=i}return l},i=function(e){var t=Array.apply([],e);return t.unshift(0),t},a=function(e,t){var n,r=[],i=e.length;r[0]=1;for(var o=0;o<i;o+=1)n=e[o-t]||0,r[o+1]=e[o]-n+256&255;return r},s=function(e,t,n){var r,i=[],o=e.length;i[0]=2;for(var a=0;a<o;a+=1)r=n&&n[a]||0,i[a+1]=e[a]-r+256&255;return i},l=function(e,t,n){var r,i,o=[],a=e.length;o[0]=3;for(var s=0;s<a;s+=1)r=e[s-t]||0,i=n&&n[s]||0,o[s+1]=e[s]+256-(r+i>>>1)&255;return o},c=function(e,t,n){var r,i,o,a,s=[],l=e.length;s[0]=4;for(var c=0;c<l;c+=1)r=e[c-t]||0,i=n&&n[c]||0,o=n&&n[c-t]||0,a=u(r,i,o),s[c+1]=e[c]-a+256&255;return s},u=function(e,t,n){if(e===t&&t===n)return e;var r=Math.abs(t-n),i=Math.abs(e-n),o=Math.abs(e+t-n-n);return r<=i&&r<=o?e:i<=o?t:n},d=function(){return[i,a,s,l,c]},h=function(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(r,i,o,a){var s,l,c,u,d,h,f,p,A,g,m,v,y,b,_,w=this.decode.FLATE_DECODE,x="";if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){if(r=(c=new $e(r)).imgData,l=c.bits,s=c.colorSpace,d=c.colors,-1!==[4,6].indexOf(c.colorType)){if(8===c.bits){A=(p=32==c.pixelBitlength?new Uint32Array(c.decodePixels().buffer):16==c.pixelBitlength?new Uint16Array(c.decodePixels().buffer):new Uint8Array(c.decodePixels().buffer)).length,m=new Uint8Array(A*c.colors),g=new Uint8Array(A);var C,S=c.pixelBitlength-c.bits;for(b=0,_=0;b<A;b++){for(y=p[b],C=0;C<S;)m[_++]=y>>>C&255,C+=c.bits;g[b]=y>>>C&255}}if(16===c.bits){A=(p=new Uint32Array(c.decodePixels().buffer)).length,m=new Uint8Array(A*(32/c.pixelBitlength)*c.colors),g=new Uint8Array(A*(32/c.pixelBitlength)),v=c.colors>1,b=0,_=0;for(var k=0;b<A;)y=p[b++],m[_++]=y>>>0&255,v&&(m[_++]=y>>>16&255,y=p[b++],m[_++]=y>>>0&255),g[k++]=y>>>16&255;l=8}a!==e.image_compression.NONE&&t()?(r=n(m,c.width*c.colors,c.colors,a),f=n(g,c.width,1,a)):(r=m,f=g,w=void 0)}if(3===c.colorType&&(s=this.color_spaces.INDEXED,h=c.palette,c.transparency.indexed)){var E=c.transparency.indexed,O=0;for(b=0,A=E.length;b<A;++b)O+=E[b];if((O/=255)===A-1&&-1!==E.indexOf(0))u=[E.indexOf(0)];else if(O!==A){for(p=c.decodePixels(),g=new Uint8Array(p.length),b=0,A=p.length;b<A;b++)g[b]=E[p[b]];f=n(g,c.width,1)}}var B=function(t){var n;switch(t){case e.image_compression.FAST:n=11;break;case e.image_compression.MEDIUM:n=13;break;case e.image_compression.SLOW:n=14;break;default:n=12}return n}(a);return w===this.decode.FLATE_DECODE&&(x="/Predictor "+B+" "),x+="/Colors "+d+" /BitsPerComponent "+l+" /Columns "+c.width,(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(f&&this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),{alias:o,data:r,index:i,filter:w,decodeParameters:x,transparency:u,palette:h,sMask:f,predictor:B,width:c.width,height:c.height,bitsPerComponent:l,colorSpace:s}}}}(R.API),function(e){e.processGIF89A=function(t,n,r,i){var o=new et(t),a=o.width,s=o.height,l=[];o.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:a,height:s},u=new nt(100).encode(c,100);return e.processJPEG.call(this,u,n,r,i)},e.processGIF87A=e.processGIF89A}(R.API),rt.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,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},rt.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){l.log("bit decode error:"+e)}},rt.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var o=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var l=this.palette[o>>7-s&1];this.data[a+4*s]=l.blue,this.data[a+4*s+1]=l.green,this.data[a+4*s+2]=l.red,this.data[a+4*s+3]=255}0!==n&&(this.pos+=4-n)}},rt.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var o=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+2*i*4,s=o>>4,l=15&o,c=this.palette[s];if(this.data[a]=c.blue,this.data[a+1]=c.green,this.data[a+2]=c.red,this.data[a+3]=255,2*i+1>=this.width)break;c=this.palette[l],this.data[a+4]=c.blue,this.data[a+4+1]=c.green,this.data[a+4+2]=c.red,this.data[a+4+3]=255}0!==t&&(this.pos+=4-t)}},rt.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+4*r;if(i<this.palette.length){var a=this.palette[i];this.data[o]=a.red,this.data[o+1]=a.green,this.data[o+2]=a.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==e&&(this.pos+=4-e)}},rt.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(o&t)/t*255|0,s=(o>>5&t)/t*255|0,l=(o>>10&t)/t*255|0,c=o>>15?255:0,u=r*this.width*4+4*i;this.data[u]=l,this.data[u+1]=s,this.data[u+2]=a,this.data[u+3]=c}this.pos+=e}},rt.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,o=0;o<this.width;o++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&t)/t*255|0,l=(a>>5&n)/n*255|0,c=(a>>11)/t*255|0,u=i*this.width*4+4*o;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},rt.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*n;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=r,this.data[a+3]=255}this.pos+=this.width%4}},rt.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=o,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=a}},rt.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,r,i){var o=new rt(t,!1),a=o.width,s=o.height,l={data:o.getData(),width:a,height:s},c=new nt(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}}(R.API),it.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,r,i){var o=new it(t,!1),a=o.width,s=o.height,l={data:o.getData(),width:a,height:s},c=new nt(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}}(R.API),R.API.processRGBA=function(e,t,n){for(var r=e.data,i=r.length,o=new Uint8Array(i/4*3),a=new Uint8Array(i/4),s=0,l=0,c=0;c<i;c+=4){var u=r[c],d=r[c+1],h=r[c+2],f=r[c+3];o[s++]=u,o[s++]=d,o[s++]=h,a[l++]=f}var p=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:p,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},R.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={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"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},Xe=R.API,qe=Xe.getCharWidthsArray=function(e,t){var n,r,o=(t=t||{}).font||this.internal.getFont(),a=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:o.metadata.Unicode.widths,c=l.fof?l.fof:1,u=t.kerning?t.kerning:o.metadata.Unicode.kerning,d=u.fof?u.fof:1,h=!1!==t.doKerning,f=0,p=e.length,A=0,g=l[0]||c,m=[];for(n=0;n<p;n++)r=e.charCodeAt(n),"function"==typeof o.metadata.widthOfString?m.push((o.metadata.widthOfGlyph(o.metadata.characterToGlyph(r))+s*(1e3/a)||0)/1e3):(f=h&&"object"===i()(u[r])&&!isNaN(parseInt(u[r][A],10))?u[r][A]/d:0,m.push((l[r]||g)/c+f)),A=r;return m},Ye=Xe.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return Xe.processArabic&&(e=Xe.processArabic(e)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,i)/n:qe.apply(this,arguments).reduce((function(e,t){return e+t}),0)},Ze=function(e,t,n,r){for(var i=[],o=0,a=e.length,s=0;o!==a&&s+t[o]<n;)s+=t[o],o++;i.push(e.slice(0,o));var l=o;for(s=0;o!==a;)s+t[o]>r&&(i.push(e.slice(l,o)),s=0,l=o),s+=t[o],o++;return l!==o&&i.push(e.slice(l,o)),i},Je=function(e,t,n){n||(n={});var r,i,o,a,s,l,c,u=[],d=[u],h=n.textIndent||0,f=0,p=0,A=e.split(" "),g=qe.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?A[0].length+2:n.lineIndent||0){var m=Array(l).join(" "),v=[];A.map((function(e){(e=e.split(/\s*\n/)).length>1?v=v.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):v.push(e[0])})),A=v,l=Ye.apply(this,[m,n])}for(o=0,a=A.length;o<a;o++){var y=0;if(r=A[o],l&&"\n"==r[0]&&(r=r.substr(1),y=1),h+f+(p=(i=qe.apply(this,[r,n])).reduce((function(e,t){return e+t}),0))>t||y){if(p>t){for(s=Ze.apply(this,[r,i,t-(h+f),t]),u.push(s.shift()),u=[s.pop()];s.length;)d.push([s.shift()]);p=i.slice(r.length-(u[0]?u[0].length:0)).reduce((function(e,t){return e+t}),0)}else u=[r];d.push(u),h=p+l,f=g}else u.push(r),h+=f+p,f=g}return c=l?function(e,t){return(t?m:"")+e.join(" ")}:function(e){return e.join(" ")},d.map(c)},Xe.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),o=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var a=1*this.internal.scaleFactor*t/i;o.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=r.length;s<l;s++)c=c.concat(Je.apply(this,[r[s],a,o]));return c},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},r={},o=0;o<t.length;o++)n[t[o]]="0123456789abcdef"[o],r["0123456789abcdef"[o]]=t[o];var a=function(e){return"0x"+parseInt(e,10).toString(16)},s=e.__fontmetrics__.compress=function(e){var t,n,o,l,c=["{"];for(var u in e){if(t=e[u],isNaN(parseInt(u,10))?n="'"+u+"'":(u=parseInt(u,10),n=(n=a(u).slice(2)).slice(0,-1)+r[n.slice(-1)]),"number"==typeof t)t<0?(o=a(t).slice(3),l="-"):(o=a(t).slice(2),l=""),o=l+o.slice(0,-1)+r[o.slice(-1)];else{if("object"!==i()(t))throw new Error("Don't know what to do with value type "+i()(t)+".");o=s(t)}c.push(n+o)}return c.push("}"),c.join("")},l=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,r,i,o,a={},s=1,l=a,c=[],u="",d="",h=e.length-1,f=1;f<h;f+=1)"'"==(o=e[f])?t?(i=t.join(""),t=void 0):t=[]:t?t.push(o):"{"==o?(c.push([l,i]),l={},i=void 0):"}"==o?((r=c.pop())[0][r[1]]=l,i=void 0,l=r[0]):"-"==o?s=-1:void 0===i?n.hasOwnProperty(o)?(u+=n[o],i=parseInt(u,16)*s,s=1,u=""):u+=o:n.hasOwnProperty(o)?(d+=n[o],l[i]=parseInt(d,16)*s,s=1,i=void 0,d=""):d+=o;return a},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},d={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'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":l("{'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:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'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:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'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":l("{'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:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'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":l("{'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":l("{'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}}}")}};e.events.push(["addFont",function(e){var t=e.font,n=d.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var r=u.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(R.API),function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,o=n.instance;if(!i.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(r=!1===o.existsFileInVFS(i.postScriptName)?o.loadFile(i.postScriptName):o.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");!function(n,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(h(r)),n.metadata=e.API.TTFFont.open(r),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}(i,r)}}])}(R),function(e){function t(){return(a.canvg?Promise.resolve(a.canvg):Promise.all([n.e(0),n.e(222)]).then(n.bind(null,"DXPr")))["catch"]((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e["default"]?e["default"]:e}))}R.API.addSvgAsImage=function(e,n,r,i,o,a,s,c){if(isNaN(n)||isNaN(r))throw l.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw l.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=i,u.height=o;var d=u.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,u.width,u.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return t().then((function(t){return t.fromString(d,e,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(h)})).then((function(){f.addImage(u.toDataURL("image/jpeg",1),n,r,i,o,s,c)}))}}(),R.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},R.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,o,a,s={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}},l=Object.keys(s),c=[],u=0,d=0,h=0;function f(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var p=l.length;for(h=0;h<p;h+=1)n[l[h]].value=n[l[h]].defaultValue,n[l[h]].explicitSet=!1}if("object"===i()(e))for(o in e)if(a=e[o],f(l,o)&&void 0!==a){if("boolean"===n[o].type&&"boolean"==typeof a)n[o].value=a;else if("name"===n[o].type&&f(n[o].valueSet,a))n[o].value=a;else if("integer"===n[o].type&&Number.isInteger(a))n[o].value=a;else if("array"===n[o].type){for(u=0;u<a.length;u+=1)if(r=!0,1===a[u].length&&"number"==typeof a[u][0])c.push(String(a[u]-1));else if(a[u].length>1){for(d=0;d<a[u].length;d+=1)"number"!=typeof a[u][d]&&(r=!1);!0===r&&c.push([a[u][0]-1,a[u][1]-1].join(" "))}n[o].value="["+c.join(" ")+"]"}else n[o].value=n[o].defaultValue;n[o].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},function(e){var t=function(){var e='<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>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),a=n.length+r.length+i.length+t.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+i+o),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(R.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,i=["","0","00","000","0000"],o=[""],a=0,s=e.length;a<s;++a){if(n=t.metadata.characterToGlyph(e.charCodeAt(a)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(a),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return o.join("");n=n.toString(16),o.push(i[4-n.length],n)}return o.join("")},r=function(e){var t,n,r,i,o,a,s;for(o="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],a=0,s=(n=Object.keys(e).sort((function(e,t){return e-t}))).length;a<s;a++)t=n[a],r.length>=100&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(i=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+i+">"));return r.length&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,o=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var s=n.metadata.Unicode.widths,l=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),c="",u=0;u<l.length;u++)c+=String.fromCharCode(l[u]);var d=o();a({data:c,addLength1:!0,objectId:d}),i("endobj");var h=o();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:h}),i("endobj");var f=o();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+L(n.fontName)),i("/FontFile2 "+d+" 0 R"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/Flags "+n.metadata.flags),i("/StemV "+n.metadata.stemV),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i(">>"),i("endobj");var p=o();i("<<"),i("/Type /Font"),i("/BaseFont /"+L(n.fontName)),i("/FontDescriptor "+f+" 0 R"),i("/W "+e.API.PDFObject.convert(s)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+n.encoding+")"),i(">>"),i(">>"),i("endobj"),n.objectNumber=o(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+h+" 0 R"),i("/BaseFont /"+L(n.fontName)),i("/Encoding /"+n.encoding),i("/DescendantFonts ["+p+" 0 R]"),i(">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,o=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var s=n.metadata.rawData,l="",c=0;c<s.length;c++)l+=String.fromCharCode(s[c]);var u=o();a({data:l,addLength1:!0,objectId:u}),i("endobj");var d=o();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:d}),i("endobj");var h=o();i("<<"),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i("/StemV "+n.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+u+" 0 R"),i("/Flags 96"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/FontName /"+L(n.fontName)),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i(">>"),i("endobj"),n.objectNumber=o();for(var f=0;f<n.metadata.hmtx.widths.length;f++)n.metadata.hmtx.widths[f]=parseInt(n.metadata.hmtx.widths[f]*(1e3/n.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+d+" 0 R/BaseFont/"+L(n.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]);var i=function(e){var t,r=e.text||"",i=e.x,o=e.y,a=e.options||{},s=e.mutex||{},l=s.pdfEscape,c=s.activeFontKey,u=s.fonts,d=c,h="",f=0,p="",A=u[d].encoding;if("Identity-H"!==u[d].encoding)return{text:r,x:i,y:o,options:a,mutex:s};for(p=r,d=c,Array.isArray(r)&&(p=r[0]),f=0;f<p.length;f+=1)u[d].metadata.hasOwnProperty("cmap")&&(t=u[d].metadata.cmap.unicode.codeMap[p[f].charCodeAt(0)]),t||p[f].charCodeAt(0)<256&&u[d].metadata.hasOwnProperty("Unicode")?h+=p[f]:h+="";var g="";return parseInt(d.slice(1))<14||"WinAnsiEncoding"===A?g=l(h,d).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===A&&(g=n(h,u[d])),s.isHex=!0,{text:g,x:i,y:o,options:a,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],r={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var o=0;for(o=0;o<t.length;o+=1)Array.isArray(t[o])&&3===t[o].length?n.push([i(Object.assign({},r,{text:t[o][0]})).text,t[o][1],t[o][2]]):n.push(i(Object.assign({},r,{text:t[o]})).text);e.text=n}else e.text=i(Object.assign({},r,{text:t})).text}])}(R),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(R.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,i,o,a,s,l,c=t,u=[[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]],d=[[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]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},f={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],A=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)$/),g=!1,m=0;this.__bidiEngine__={};var v=function(e){var t=e.charCodeAt(),n=t>>8,r=f[n];return void 0!==r?c[256*r+(255&t)]:252===n||253===n?"AL":A.test(n)?"L":8===n?"R":"N"},y=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=v(e.charAt(n))))return!1;if("R"===t)return!0}return!1},b=function(e,t,a,s){var l,c,u,d,h=t[s];switch(h){case"L":case"R":g=!1;break;case"N":case"AN":break;case"EN":g&&(h="AN");break;case"AL":g=!0,h="R";break;case"WS":h="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(l=a[s-1])&&"AN"!==l||"EN"!==(c=t[s+1])&&"AN"!==c?h="N":g&&(c="AN"),h=c===l?c:"N";break;case"ES":h="EN"===(l=s>0?a[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===a[s-1]){h="EN";break}if(g){h="N";break}for(u=s+1,d=t.length;u<d&&"ET"===t[u];)u++;h=u<d&&"EN"===t[u]?"EN":"N";break;case"NSM":if(i&&!o){for(d=t.length,u=s+1;u<d&&"NSM"===t[u];)u++;if(u<d){var f=e[s],p=f>=1425&&f<=2303||64286===f;if(l=t[u],p&&("R"===l||"AL"===l)){h="R";break}}}h=s<1||"B"===(l=t[s-1])?"N":a[s-1];break;case"B":g=!1,n=!0,h=m;break;case"S":r=!0,h="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":g=!1;break;case"BN":h="N"}return h},_=function(e,t,n){var r=e.split("");return n&&w(r,n,{hiLevel:m}),r.reverse(),t&&t.reverse(),r.join("")},w=function(e,t,i){var o,a,s,l,c,f=-1,p=e.length,A=0,y=[],_=m?d:u,w=[];for(g=!1,n=!1,r=!1,a=0;a<p;a++)w[a]=v(e[a]);for(s=0;s<p;s++){if(c=A,y[s]=b(e,w,y,s),o=240&(A=_[c][h[y[s]]]),A&=15,t[s]=l=_[A][5],o>0)if(16===o){for(a=f;a<s;a++)t[a]=1;f=-1}else f=-1;if(_[A][6])-1===f&&(f=s);else if(f>-1){for(a=f;a<s;a++)t[a]=l;f=-1}"B"===w[s]&&(t[s]=0),i.hiLevel|=l}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=m;for(var i=r-1;i>=0&&"WS"===e[i];i--)t[i]=m}}(w,t,p)},x=function(e,t,r,i,o){if(!(o.hiLevel<e)){if(1===e&&1===m&&!n)return t.reverse(),void(r&&r.reverse());for(var a,s,l,c,u=t.length,d=0;d<u;){if(i[d]>=e){for(l=d+1;l<u&&i[l]>=e;)l++;for(c=d,s=l-1;c<s;c++,s--)a=t[c],t[c]=t[s],t[s]=a,r&&(a=r[c],r[c]=r[s],r[s]=a);d=l}d++}}},C=function(e,t,n){var r=e.split(""),i={hiLevel:m};return n||(n=[]),w(r,n,i),function(e,t,n){if(0!==n.hiLevel&&l)for(var r,i=0;i<e.length;i++)1===t[i]&&(r=p.indexOf(e[i]))>=0&&(e[i]=p[r+1])}(r,n,i),x(2,r,t,n,i),x(1,r,t,n,i),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===o&&(o=y(e)),void 0===s&&(s=y(e))}(e,t),i||!a||s)if(i&&a&&o^s)m=o?1:0,e=_(e,t,n);else if(!i&&a&&s)m=o?1:0,e=C(e,t,n),e=_(e,t);else if(!i||o||a||s){if(i&&!a&&o^s)e=_(e,t),o?(m=0,e=C(e,t,n)):(m=1,e=C(e,t,n),e=_(e,t));else if(i&&o&&!a&&s)m=1,e=C(e,t,n),e=_(e,t);else if(!i&&!a&&o^s){var r=l;o?(m=1,e=C(e,t,n),m=0,l=!1,e=C(e,t,n),l=r):(m=0,e=C(e,t,n),e=_(e,t),m=1,l=!1,e=C(e,t,n),l=r,e=_(e,t))}}else m=0,e=C(e,t,n);else m=o?1:0,e=C(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(i=e.isInputVisual,a=e.isOutputVisual,o=e.isInputRtl,s=e.isOutputRtl,l=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["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"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,r=(e.x,e.y,e.options||{}),i=(e.mutex,r.lang,[]);if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var o=0;for(i=[],o=0;o<t.length;o+=1)"[object Array]"===Object.prototype.toString.call(t[o])?i.push([n.doBidiReorder(t[o][0]),t[o][1],t[o][2]]):i.push([n.doBidiReorder(t[o])]);e.text=i}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(R),R.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new at(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new St(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new st(this.contents),this.head=new ut(this),this.name=new mt(this),this.cmap=new ht(this),this.toUnicode={},this.hhea=new ft(this),this.maxp=new vt(this),this.hmtx=new yt(this),this.post=new At(this),this.os2=new pt(this),this.loca=new Ct(this),this.glyf=new _t(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]},e.prototype.registerTTF=function(){var e,t,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,i;for(i=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],i.push(Math.round(e*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),0!=(32768&(t=r>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):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=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,i,o,a;for(o=0,i=0,a=(e=""+e).length;0<=a?i<a:i>a;i=0<=a?++i:--i)r=e.charCodeAt(i),o+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return o*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var ot,at=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,i,o,a,s;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),o=this.readByte(),a=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^o)+256*(255^a)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*i+65536*o+256*a+s},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.writeByte(t));return i},e}(),st=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,i,o,a,s,l,c,u,d,h,f,p;for(p in h=Object.keys(t).length,s=Math.log(2),u=16*Math.floor(Math.log(h)/s),o=Math.floor(u/s),c=16*h-u,(r=new at).writeInt(this.scalarType),r.writeShort(h),r.writeShort(u),r.writeShort(o),r.writeShort(c),i=16*h,l=r.pos+i,a=null,f=[],t)for(d=t[p],r.writeString(p),r.writeInt(e(d)),r.writeInt(l),r.writeInt(d.length),f=f.concat(d),"head"===p&&(a=l),l+=d.length;l%4;)f.push(0),l++;return r.write(f),n=2981146554-e(r.data),r.pos=a+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,i;for(e=bt.call(e);e.length%4;)e.push(0);for(r=new at(e),n=0,t=0,i=e.length;t<i;t=t+=4)n+=r.readUInt32();return 4294967295&n},t}(),lt={}.hasOwnProperty,ct=function(e,t){for(var n in t)lt.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};ot=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var ut=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return ct(t,ot),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new at).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(),dt=function(){function e(e,t){var n,r,i,o,a,s,l,c,u,d,h,f,p,A,g,m,v;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(h=e.readUInt16(),d=h/2,e.pos+=6,i=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,p=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),l=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),c=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,a=function(){var t,n;for(n=[],s=t=0;0<=r?t<r:t>r;s=0<=r?++t:--t)n.push(e.readUInt16());return n}(),s=g=0,v=i.length;g<v;s=++g)for(A=i[s],n=m=f=p[s];f<=A?m<=A:m>=A;n=f<=A?++m:--m)0===c[s]?o=n+l[s]:0!==(o=a[c[s]/2+(n-f)-(d-s)]||0)&&(o+=l[s]),this.codeMap[n]=65535&o}e.pos=u}return e.encode=function(e,t){var n,r,i,o,a,s,l,c,u,d,h,f,p,A,g,m,v,y,b,_,w,x,C,S,k,E,O,B,M,T,I,L,D,P,N,j,F,R,U,H,Q,K,z,V,W,G;switch(B=new at,o=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(p=0,A=function(){var e=[];for(f=0;f<256;++f)e.push(0);return e}(),m={0:0},i={},M=0,D=o.length;M<D;M++)null==m[z=e[r=o[M]]]&&(m[z]=++p),i[r]={old:e[r],new:m[e[r]]},A[r]=m[e[r]];return B.writeUInt16(1),B.writeUInt16(0),B.writeUInt32(12),B.writeUInt16(0),B.writeUInt16(262),B.writeUInt16(0),B.write(A),{charMap:i,subtable:B.data,maxGlyphID:p+1};case"unicode":for(E=[],u=[],v=0,m={},n={},g=l=null,T=0,P=o.length;T<P;T++)null==m[b=e[r=o[T]]]&&(m[b]=++v),n[r]={old:b,new:m[b]},a=m[b]-r,null!=g&&a===l||(g&&u.push(g),E.push(r),l=a),g=r;for(g&&u.push(g),u.push(65535),E.push(65535),S=2*(C=E.length),x=2*Math.pow(Math.log(C)/Math.LN2,2),d=Math.log(x/2)/Math.LN2,w=2*C-x,s=[],_=[],h=[],f=I=0,N=E.length;I<N;f=++I){if(k=E[f],c=u[f],65535===k){s.push(0),_.push(0);break}if(k-(O=n[k]["new"])>=32768)for(s.push(0),_.push(2*(h.length+C-f)),r=L=k;k<=c?L<=c:L>=c;r=k<=c?++L:--L)h.push(n[r]["new"]);else s.push(O-k),_.push(0)}for(B.writeUInt16(3),B.writeUInt16(1),B.writeUInt32(12),B.writeUInt16(4),B.writeUInt16(16+8*C+2*h.length),B.writeUInt16(0),B.writeUInt16(S),B.writeUInt16(x),B.writeUInt16(d),B.writeUInt16(w),Q=0,j=u.length;Q<j;Q++)r=u[Q],B.writeUInt16(r);for(B.writeUInt16(0),K=0,F=E.length;K<F;K++)r=E[K],B.writeUInt16(r);for(V=0,R=s.length;V<R;V++)a=s[V],B.writeUInt16(a);for(W=0,U=_.length;W<U;W++)y=_[W],B.writeUInt16(y);for(G=0,H=h.length;G<H;G++)p=h[G],B.writeUInt16(p);return{charMap:n,subtable:B.data,maxGlyphID:v+1}}},e}(),ht=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return ct(t,ot),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t=new dt(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var n,r;return null==t&&(t="macroman"),n=dt.encode(e,t),(r=new at).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},t}(),ft=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return ct(t,ot),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),pt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return ct(t,ot),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),At=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return ct(t,ot),t.prototype.tag="post",t.prototype.parse=function(e){var t,n,r;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:break;case 131072:var i;for(n=e.readUInt16(),this.glyphNameIndex=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 196608:break;case 262144:return this.map=function(){var t,n,r;for(r=[],i=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;i=0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},t}(),gt=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},mt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return ct(t,ot),t.prototype.tag="name",t.prototype.parse=function(e){var t,n,r,i,o,a,s,l,c,u,d;for(e.pos=this.offset,e.readShort(),t=e.readShort(),a=e.readShort(),n=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+a+e.readShort()});for(s={},i=c=0,u=n.length;c<u;i=++c)r=n[i],e.pos=r.offset,l=e.readString(r.length),o=new gt(l,r),null==s[d=r.nameID]&&(s[d]=[]),s[r.nameID].push(o);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},t}(),vt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return ct(t,ot),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),yt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return ct(t,ot),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,n,r,i,o,a,s;for(e.pos=this.offset,this.metrics=[],t=0,a=this.file.hhea.numberOfMetrics;0<=a?t<a:t>a;t=0<=a?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,i;for(i=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)i.push(e.readInt16());return i}(),this.widths=function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)i=n[e],r.push(i.advance);return r}.call(this),n=this.widths[this.widths.length-1],s=[],t=o=0;0<=r?o<r:o>r;t=0<=r?++o:--o)s.push(this.widths.push(n));return s},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),bt=[].slice,_t=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return ct(t,ot),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,n,r,i,o,a,s,l,c,u;return e in this.cache?this.cache[e]:(i=this.file.loca,t=this.file.contents,n=i.indexOf(e),0===(r=i.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,o=(a=new at(t.read(r))).readShort(),l=a.readShort(),u=a.readShort(),s=a.readShort(),c=a.readShort(),this.cache[e]=-1===o?new xt(a,l,u,s,c):new wt(a,o,l,u,s,c),this.cache[e]))},t.prototype.encode=function(e,t,n){var r,i,o,a,s;for(o=[],i=[],a=0,s=t.length;a<s;a++)r=e[t[a]],i.push(o.length),r&&(o=o.concat(r.encode(n)));return i.push(o.length),{table:o,offsets:i}},t}(),wt=function(){function e(e,t,n,r,i,o){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=o,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),xt=function(){function e(e,t,n,r,i){var o,a;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;a=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&a;)o.pos+=1&a?4:2,128&a?o.pos+=8:64&a?o.pos+=4:8&a&&(o.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new at(bt.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Ct=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return ct(t,ot),t.prototype.tag="loca",t.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,i=0,o=0;o<n.length;++o)if(n[o]=r,i<t.length&&t[i]==o){++i,n[o]=r;var a=this.offsets[o],s=this.offsets[o+1]-a;s>0&&(r+=s)}for(var l=new Array(4*n.length),c=0;c<n.length;++c)l[4*c+3]=255&n[c],l[4*c+2]=(65280&n[c])>>8,l[4*c+1]=(16711680&n[c])>>16,l[4*c]=(4278190080&n[c])>>24;return l},t}(),St=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,i;for(t in r=this.font.cmap.tables[0].codeMap,e={},i=this.subset)n=i[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,i,o,a,s;for(r={},o=0,a=e.length;o<a;o++)r[i=e[o]]=this.font.glyf.glyphFor(i);for(i in t=[],r)(null!=(n=r[i])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(i in s=this.glyphsFor(t))n=s[i],r[i]=n;return r},e.prototype.encode=function(e,t){var n,r,i,o,a,s,l,c,u,d,h,f,p,A,g;for(r in n=ht.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(e),h={0:0},g=n.charMap)h[(s=g[r]).old]=s["new"];for(f in d=n.maxGlyphID,o)f in h||(h[f]=d++);return c=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(h),u=Object.keys(c).sort((function(e,t){return e-t})),p=function(){var e,t,n;for(n=[],e=0,t=u.length;e<t;e++)a=u[e],n.push(c[a]);return n}(),i=this.font.glyf.encode(o,p,h),l=this.font.loca.encode(i.offsets,p),A={cmap:this.font.cmap.raw(),glyf:i.table,loca:l,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(t)},this.font.os2.exists&&(A["OS/2"]=this.font.os2.raw()),this.font.directory.encode(A)},e}();R.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var r,i,o,a;if(Array.isArray(n))return"["+function(){var e,i,o;for(o=[],e=0,i=n.length;e<i;e++)r=n[e],o.push(t.convert(r));return o}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(i in o=["<<"],n)a=n[i],o.push("/"+i+" "+t.convert(a));return o.push(">>"),o.join("\n")}return""+n},t}(),t["default"]=R}.call(this,n("yLpj"))},e4Nc:function(e,t,n){var r=n("fGT3"),i=n("k+1r"),o=n("JHgL"),a=n("pSRY"),s=n("H8j4");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},e5VY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("YNAk"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},e5cp:function(e,t,n){var r=n("fmRc"),i=n("or5M"),o=n("HDyB"),a=n("seXi"),s=n("QqLw"),l=n("Z0cm"),c=n("DSRE"),u=n("c6wG"),d=1,h="[object Arguments]",f="[object Array]",p="[object Object]",A=Object.prototype,g=A.hasOwnProperty;function m(e,t,n,A,m,v){var y=l(e),b=l(t),_=y?f:s(e),w=b?f:s(t);_=_==h?p:_,w=w==h?p:w;var x=_==p,C=w==p,S=_==w;if(S&&c(e)){if(!c(t))return!1;y=!0,x=!1}if(S&&!x)return v||(v=new r),y||u(e)?i(e,t,n,A,m,v):o(e,t,_,n,A,m,v);if(!(n&d)){var k=x&&g.call(e,"__wrapped__"),E=C&&g.call(t,"__wrapped__");if(k||E){var O=k?e.value():e,B=E?t.value():t;return v||(v=new r),m(O,B,n,A,v)}}return!!S&&(v||(v=new r),a(e,t,n,A,m,v))}e.exports=m},e8zy:function(e,t){function n(){var e={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return e}function r(e,t,n){}function i(e,t,n){}var o=/javascript\s*\:/gim;function a(e,t){return o.test(t)?"":t}t.whiteList=n(),t.getDefaultWhiteList=n,t.onAttr=r,t.onIgnoreAttr=i,t.safeAttrValue=a},eIcI:function(e,t,n){var r=n("bYtY"),i=n("hM6l");function o(e,t,n){i.call(this,e,t,n),this.type="value",this.angle=0,this.name="",this.model}r.inherits(o,i);var a=o;e.exports=a},eJH7:function(e,t,n){var r=n("bYtY");function i(e){var t=e.polar;if(t){r.isArray(t)||(t=[t]);var n=[];r.each(t,(function(t,i){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],r.isArray(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)})),e.polar=n}r.each(e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}e.exports=i},eP3c:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.inflateReset=de,t.inflateReset2=he,t.inflateResetKeep=ue,t.inflateInit=pe,t.inflateInit2=fe,t.inflate=be,t.inflateEnd=_e,t.inflateGetHeader=we,t.inflateSetDictionary=xe,t.inflateInfo=t.Z_DEFLATED=t.Z_BUF_ERROR=t.Z_MEM_ERROR=t.Z_DATA_ERROR=t.Z_STREAM_ERROR=t.Z_NEED_DICT=t.Z_STREAM_END=t.Z_OK=t.Z_TREES=t.Z_BLOCK=t.Z_FINISH=void 0;var i=d(n("6BzB")),o=c(n("xlC8")),a=c(n("QV2g")),s=c(n("sjKO")),l=c(n("JSwD"));function c(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n["default"]=e,t&&t.set(e,n),n}var h=0,f=1,p=2,A=4;t.Z_FINISH=A;var g=5;t.Z_BLOCK=g;var m=6;t.Z_TREES=m;var v=0;t.Z_OK=v;var y=1;t.Z_STREAM_END=y;var b=2;t.Z_NEED_DICT=b;var _=-2;t.Z_STREAM_ERROR=_;var w=-3;t.Z_DATA_ERROR=w;var x=-4;t.Z_MEM_ERROR=x;var C=-5;t.Z_BUF_ERROR=C;var S=8;t.Z_DEFLATED=S;var k=1,E=2,O=3,B=4,M=5,T=6,I=7,L=8,D=9,P=10,N=11,j=12,F=13,R=14,U=15,H=16,Q=17,K=18,z=19,V=20,W=21,G=22,X=23,q=24,Y=25,Z=26,J=27,$=28,ee=29,te=30,ne=31,re=32,ie=852,oe=592,ae=15,se=ae;function le(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ce(){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 i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ue(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=k,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new i.Buf32(ie),t.distcode=t.distdyn=new i.Buf32(oe),t.sane=1,t.back=-1,v):_}function de(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,ue(e)):_}function he(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?_:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,de(e))):_}function fe(e,t){var n,r;return e?(r=new ce,e.state=r,r.window=null,n=he(e,t),n!==v&&(e.state=null),n):_}function pe(e){return fe(e,se)}var Ae,ge,me=!0;function ve(e){if(me){var t;Ae=new i.Buf32(512),ge=new i.Buf32(32),t=0;while(t<144)e.lens[t++]=8;while(t<256)e.lens[t++]=9;while(t<280)e.lens[t++]=7;while(t<288)e.lens[t++]=8;(0,l["default"])(f,e.lens,0,288,Ae,0,e.work,{bits:9}),t=0;while(t<32)e.lens[t++]=5;(0,l["default"])(p,e.lens,0,32,ge,0,e.work,{bits:5}),me=!1}e.lencode=Ae,e.lenbits=9,e.distcode=ge,e.distbits=5}function ye(e,t,n,r){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new i.Buf8(a.wsize)),r>=a.wsize?(i.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(o=a.wsize-a.wnext,o>r&&(o=r),i.arraySet(a.window,t,n-r,o,a.wnext),r-=o,r?(i.arraySet(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}function be(e,t){var n,r,c,u,d,ie,oe,ae,se,ce,ue,de,he,fe,pe,Ae,ge,me,be,_e,we,xe,Ce,Se,ke=0,Ee=new i.Buf8(4),Oe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return _;n=e.state,n.mode===j&&(n.mode=F),d=e.next_out,c=e.output,oe=e.avail_out,u=e.next_in,r=e.input,ie=e.avail_in,ae=n.hold,se=n.bits,ce=ie,ue=oe,xe=v;e:for(;;)switch(n.mode){case k:if(0===n.wrap){n.mode=F;break}while(se<16){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}if(2&n.wrap&&35615===ae){n.check=0,Ee[0]=255&ae,Ee[1]=ae>>>8&255,n.check=(0,a["default"])(n.check,Ee,2,0),ae=0,se=0,n.mode=E;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&ae)<<8)+(ae>>8))%31){e.msg="incorrect header check",n.mode=te;break}if((15&ae)!==S){e.msg="unknown compression method",n.mode=te;break}if(ae>>>=4,se-=4,we=8+(15&ae),0===n.wbits)n.wbits=we;else if(we>n.wbits){e.msg="invalid window size",n.mode=te;break}n.dmax=1<<we,e.adler=n.check=1,n.mode=512&ae?P:j,ae=0,se=0;break;case E:while(se<16){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}if(n.flags=ae,(255&n.flags)!==S){e.msg="unknown compression method",n.mode=te;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=te;break}n.head&&(n.head.text=ae>>8&1),512&n.flags&&(Ee[0]=255&ae,Ee[1]=ae>>>8&255,n.check=(0,a["default"])(n.check,Ee,2,0)),ae=0,se=0,n.mode=O;case O:while(se<32){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}n.head&&(n.head.time=ae),512&n.flags&&(Ee[0]=255&ae,Ee[1]=ae>>>8&255,Ee[2]=ae>>>16&255,Ee[3]=ae>>>24&255,n.check=(0,a["default"])(n.check,Ee,4,0)),ae=0,se=0,n.mode=B;case B:while(se<16){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}n.head&&(n.head.xflags=255&ae,n.head.os=ae>>8),512&n.flags&&(Ee[0]=255&ae,Ee[1]=ae>>>8&255,n.check=(0,a["default"])(n.check,Ee,2,0)),ae=0,se=0,n.mode=M;case M:if(1024&n.flags){while(se<16){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}n.length=ae,n.head&&(n.head.extra_len=ae),512&n.flags&&(Ee[0]=255&ae,Ee[1]=ae>>>8&255,n.check=(0,a["default"])(n.check,Ee,2,0)),ae=0,se=0}else n.head&&(n.head.extra=null);n.mode=T;case T:if(1024&n.flags&&(de=n.length,de>ie&&(de=ie),de&&(n.head&&(we=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),i.arraySet(n.head.extra,r,u,de,we)),512&n.flags&&(n.check=(0,a["default"])(n.check,r,de,u)),ie-=de,u+=de,n.length-=de),n.length))break e;n.length=0,n.mode=I;case I:if(2048&n.flags){if(0===ie)break e;de=0;do{we=r[u+de++],n.head&&we&&n.length<65536&&(n.head.name+=String.fromCharCode(we))}while(we&&de<ie);if(512&n.flags&&(n.check=(0,a["default"])(n.check,r,de,u)),ie-=de,u+=de,we)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=L;case L:if(4096&n.flags){if(0===ie)break e;de=0;do{we=r[u+de++],n.head&&we&&n.length<65536&&(n.head.comment+=String.fromCharCode(we))}while(we&&de<ie);if(512&n.flags&&(n.check=(0,a["default"])(n.check,r,de,u)),ie-=de,u+=de,we)break e}else n.head&&(n.head.comment=null);n.mode=D;case D:if(512&n.flags){while(se<16){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}if(ae!==(65535&n.check)){e.msg="header crc mismatch",n.mode=te;break}ae=0,se=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=j;break;case P:while(se<32){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}e.adler=n.check=le(ae),ae=0,se=0,n.mode=N;case N:if(0===n.havedict)return e.next_out=d,e.avail_out=oe,e.next_in=u,e.avail_in=ie,n.hold=ae,n.bits=se,b;e.adler=n.check=1,n.mode=j;case j:if(t===g||t===m)break e;case F:if(n.last){ae>>>=7&se,se-=7&se,n.mode=J;break}while(se<3){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}switch(n.last=1&ae,ae>>>=1,se-=1,3&ae){case 0:n.mode=R;break;case 1:if(ve(n),n.mode=V,t===m){ae>>>=2,se-=2;break e}break;case 2:n.mode=Q;break;case 3:e.msg="invalid block type",n.mode=te}ae>>>=2,se-=2;break;case R:ae>>>=7&se,se-=7&se;while(se<32){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}if((65535&ae)!==(ae>>>16^65535)){e.msg="invalid stored block lengths",n.mode=te;break}if(n.length=65535&ae,ae=0,se=0,n.mode=U,t===m)break e;case U:n.mode=H;case H:if(de=n.length,de){if(de>ie&&(de=ie),de>oe&&(de=oe),0===de)break e;i.arraySet(c,r,u,de,d),ie-=de,u+=de,oe-=de,d+=de,n.length-=de;break}n.mode=j;break;case Q:while(se<14){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}if(n.nlen=257+(31&ae),ae>>>=5,se-=5,n.ndist=1+(31&ae),ae>>>=5,se-=5,n.ncode=4+(15&ae),ae>>>=4,se-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=te;break}n.have=0,n.mode=K;case K:while(n.have<n.ncode){while(se<3){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}n.lens[Oe[n.have++]]=7&ae,ae>>>=3,se-=3}while(n.have<19)n.lens[Oe[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,Ce={bits:n.lenbits},xe=(0,l["default"])(h,n.lens,0,19,n.lencode,0,n.work,Ce),n.lenbits=Ce.bits,xe){e.msg="invalid code lengths set",n.mode=te;break}n.have=0,n.mode=z;case z:while(n.have<n.nlen+n.ndist){for(;;){if(ke=n.lencode[ae&(1<<n.lenbits)-1],pe=ke>>>24,Ae=ke>>>16&255,ge=65535&ke,pe<=se)break;if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}if(ge<16)ae>>>=pe,se-=pe,n.lens[n.have++]=ge;else{if(16===ge){Se=pe+2;while(se<Se){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}if(ae>>>=pe,se-=pe,0===n.have){e.msg="invalid bit length repeat",n.mode=te;break}we=n.lens[n.have-1],de=3+(3&ae),ae>>>=2,se-=2}else if(17===ge){Se=pe+3;while(se<Se){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}ae>>>=pe,se-=pe,we=0,de=3+(7&ae),ae>>>=3,se-=3}else{Se=pe+7;while(se<Se){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}ae>>>=pe,se-=pe,we=0,de=11+(127&ae),ae>>>=7,se-=7}if(n.have+de>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=te;break}while(de--)n.lens[n.have++]=we}}if(n.mode===te)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=te;break}if(n.lenbits=9,Ce={bits:n.lenbits},xe=(0,l["default"])(f,n.lens,0,n.nlen,n.lencode,0,n.work,Ce),n.lenbits=Ce.bits,xe){e.msg="invalid literal/lengths set",n.mode=te;break}if(n.distbits=6,n.distcode=n.distdyn,Ce={bits:n.distbits},xe=(0,l["default"])(p,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,Ce),n.distbits=Ce.bits,xe){e.msg="invalid distances set",n.mode=te;break}if(n.mode=V,t===m)break e;case V:n.mode=W;case W:if(ie>=6&&oe>=258){e.next_out=d,e.avail_out=oe,e.next_in=u,e.avail_in=ie,n.hold=ae,n.bits=se,(0,s["default"])(e,ue),d=e.next_out,c=e.output,oe=e.avail_out,u=e.next_in,r=e.input,ie=e.avail_in,ae=n.hold,se=n.bits,n.mode===j&&(n.back=-1);break}for(n.back=0;;){if(ke=n.lencode[ae&(1<<n.lenbits)-1],pe=ke>>>24,Ae=ke>>>16&255,ge=65535&ke,pe<=se)break;if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}if(Ae&&0===(240&Ae)){for(me=pe,be=Ae,_e=ge;;){if(ke=n.lencode[_e+((ae&(1<<me+be)-1)>>me)],pe=ke>>>24,Ae=ke>>>16&255,ge=65535&ke,me+pe<=se)break;if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}ae>>>=me,se-=me,n.back+=me}if(ae>>>=pe,se-=pe,n.back+=pe,n.length=ge,0===Ae){n.mode=Z;break}if(32&Ae){n.back=-1,n.mode=j;break}if(64&Ae){e.msg="invalid literal/length code",n.mode=te;break}n.extra=15&Ae,n.mode=G;case G:if(n.extra){Se=n.extra;while(se<Se){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}n.length+=ae&(1<<n.extra)-1,ae>>>=n.extra,se-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=X;case X:for(;;){if(ke=n.distcode[ae&(1<<n.distbits)-1],pe=ke>>>24,Ae=ke>>>16&255,ge=65535&ke,pe<=se)break;if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}if(0===(240&Ae)){for(me=pe,be=Ae,_e=ge;;){if(ke=n.distcode[_e+((ae&(1<<me+be)-1)>>me)],pe=ke>>>24,Ae=ke>>>16&255,ge=65535&ke,me+pe<=se)break;if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}ae>>>=me,se-=me,n.back+=me}if(ae>>>=pe,se-=pe,n.back+=pe,64&Ae){e.msg="invalid distance code",n.mode=te;break}n.offset=ge,n.extra=15&Ae,n.mode=q;case q:if(n.extra){Se=n.extra;while(se<Se){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}n.offset+=ae&(1<<n.extra)-1,ae>>>=n.extra,se-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=te;break}n.mode=Y;case Y:if(0===oe)break e;if(de=ue-oe,n.offset>de){if(de=n.offset-de,de>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=te;break}de>n.wnext?(de-=n.wnext,he=n.wsize-de):he=n.wnext-de,de>n.length&&(de=n.length),fe=n.window}else fe=c,he=d-n.offset,de=n.length;de>oe&&(de=oe),oe-=de,n.length-=de;do{c[d++]=fe[he++]}while(--de);0===n.length&&(n.mode=W);break;case Z:if(0===oe)break e;c[d++]=n.length,oe--,n.mode=W;break;case J:if(n.wrap){while(se<32){if(0===ie)break e;ie--,ae|=r[u++]<<se,se+=8}if(ue-=oe,e.total_out+=ue,n.total+=ue,ue&&(e.adler=n.check=n.flags?(0,a["default"])(n.check,c,ue,d-ue):(0,o["default"])(n.check,c,ue,d-ue)),ue=oe,(n.flags?ae:le(ae))!==n.check){e.msg="incorrect data check",n.mode=te;break}ae=0,se=0}n.mode=$;case $:if(n.wrap&&n.flags){while(se<32){if(0===ie)break e;ie--,ae+=r[u++]<<se,se+=8}if(ae!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=te;break}ae=0,se=0}n.mode=ee;case ee:xe=y;break e;case te:xe=w;break e;case ne:return x;case re:default:return _}return e.next_out=d,e.avail_out=oe,e.next_in=u,e.avail_in=ie,n.hold=ae,n.bits=se,(n.wsize||ue!==e.avail_out&&n.mode<te&&(n.mode<J||t!==A))&&ye(e,e.output,e.next_out,ue-e.avail_out)?(n.mode=ne,x):(ce-=e.avail_in,ue-=e.avail_out,e.total_in+=ce,e.total_out+=ue,n.total+=ue,n.wrap&&ue&&(e.adler=n.check=n.flags?(0,a["default"])(n.check,c,ue,e.next_out-ue):(0,o["default"])(n.check,c,ue,e.next_out-ue)),e.data_type=n.bits+(n.last?64:0)+(n.mode===j?128:0)+(n.mode===V||n.mode===U?256:0),(0===ce&&0===ue||t===A)&&xe===v&&(xe=C),xe)}function _e(e){if(!e||!e.state)return _;var t=e.state;return t.window&&(t.window=null),e.state=null,v}function we(e,t){var n;return e&&e.state?(n=e.state,0===(2&n.wrap)?_:(n.head=t,t.done=!1,v)):_}function xe(e,t){var n,r,i,a=t.length;return e&&e.state?(n=e.state,0!==n.wrap&&n.mode!==N?_:n.mode===N&&(r=1,r=(0,o["default"])(r,t,a,0),r!==n.check)?w:(i=ye(e,t,a,a),i?(n.mode=ne,x):(n.havedict=1,v))):_}var Ce="pako inflate (from Nodeca project)";t.inflateInfo=Ce},ePAk:function(e,t,n){var r=n("ProS");n("2fGM");var i=r.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t,n=this.ecModel;return n.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});e.exports=i},eRkO:function(e,t,n){var r=n("+TT/"),i=r.getLayoutRect,o=r.box,a=r.positionElement,s=n("7aKB"),l=n("IwbS");function c(e,t,n){var r=t.getBoxLayoutParams(),s=t.get("padding"),l={width:n.getWidth(),height:n.getHeight()},c=i(r,l,s);o(t.get("orient"),e,t.get("itemGap"),c.width,c.height),a(e,r,l,s)}function u(e,t){var n=s.normalizeCssArray(t.get("padding")),r=t.getItemStyle(["color","opacity"]);r.fill=t.get("backgroundColor");e=new l.Rect({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1});return e}t.layout=c,t.makeBackground=u},eS4l:function(e,t,n){n("HM/N"),n("FNN5")},eUgh:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length,i=Array(r);while(++n<r)i[n]=t(e[n],n,e);return i}e.exports=n},ebwN:function(e,t,n){var r=n("Cwc5"),i=n("Kz5y"),o=r(i,"Map");e.exports=o},ekgI:function(e,t,n){var r=n("YESw"),i=Object.prototype,o=i.hasOwnProperty;function a(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}e.exports=a},ewwo:function(e,t,n){var r=n("bMXI"),i=n("+TT/"),o=i.getLayoutRect,a=n("4mN7");function s(e,t,n){var r=e.getBoxLayoutParams();return r.aspect=n,o(r,{width:t.getWidth(),height:t.getHeight()})}function l(e,t){var n=[];return e.eachSeriesByType("graph",(function(e){var i=e.get("coordinateSystem");if(!i||"view"===i){var o=e.getData(),l=o.mapArray((function(e){var t=o.getItemModel(e);return[+t.get("x"),+t.get("y")]})),c=[],u=[];a.fromPoints(l,c,u),u[0]-c[0]===0&&(u[0]+=1,c[0]-=1),u[1]-c[1]===0&&(u[1]+=1,c[1]-=1);var d=(u[0]-c[0])/(u[1]-c[1]),h=s(e,t,d);isNaN(d)&&(c=[h.x,h.y],u=[h.x+h.width,h.y+h.height]);var f=u[0]-c[0],p=u[1]-c[1],A=h.width,g=h.height,m=e.coordinateSystem=new r;m.zoomLimit=e.get("scaleLimit"),m.setBoundingRect(c[0],c[1],f,p),m.setViewRect(h.x,h.y,A,g),m.setCenter(e.get("center")),m.setZoom(e.get("zoom")),n.push(m)}})),n}e.exports=l},f1nB:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("4NO4"),s=n("IwbS"),l=n("+TT/"),c=n("OELB"),u=c.parsePercent,d={path:null,compoundPath:null,group:s.Group,image:s.Image,text:s.Text};i.registerPreprocessor((function(e){var t=e.graphic;o.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}));var h=i.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,h.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var n=this.option,r=(t?n:e).elements,i=n.elements=t?[]:n.elements,s=[];this._flatten(r,s);var l=a.mappingToExists(i,s);a.makeIdAndName(l);var c=this._elOptionsToUpdate=[];o.each(l,(function(e,t){var n=e.option;n&&(c.push(n),m(e,n),v(i,t,n),y(i[t],n))}),this);for(var u=i.length-1;u>=0;u--)null==i[u]?i.splice(u,1):delete i[u].$action},_flatten:function(e,t,n){o.each(e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var r=e.children;"group"===e.type&&r&&this._flatten(r,t,e),delete e.children}}),this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function f(e,t,n,r){var i=n.type,o=d.hasOwnProperty(i)?d[i]:s.getShapeClass(i),a=new o(n);t.add(a),r.set(e,a),a.__ecGraphicId=e}function p(e,t){var n=e&&e.parent;n&&("group"===e.type&&e.traverse((function(e){p(e,t)})),t.removeKey(e.__ecGraphicId),n.remove(e))}function A(e){return e=o.extend({},e),o.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(t){delete e[t]})),e}function g(e,t){var n;return o.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}function m(e,t){var n=e.exist;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function v(e,t,n){var r=o.extend({},n),i=e[t],a=n.$action||"merge";"merge"===a?i?(o.merge(i,r,!0),l.mergeLayoutParam(i,r,{ignoreSize:!0}),l.copyLayoutParams(n,i)):e[t]=r:"replace"===a?e[t]=r:"remove"===a&&i&&(e[t]=null)}function y(e,t){e&&(e.hv=t.hv=[g(t,["left","right"]),g(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0)))}function b(e,t,n){var r=e.eventData;e.silent||e.ignore||r||(r=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=e.info)}i.extendComponentView({type:"graphic",init:function(e,t){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,r=this.group;o.each(t,(function(t){var i=t.$action,o=t.id,a=n.get(o),s=t.parentId,l=null!=s?n.get(s):r,c=t.style;"text"===t.type&&c&&(t.hv&&t.hv[1]&&(c.textVerticalAlign=c.textBaseline=null),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke));var u=A(t);i&&"merge"!==i?"replace"===i?(p(a,n),f(o,l,u,n)):"remove"===i&&p(a,n):a?a.attr(u):f(o,l,u,n);var d=n.get(o);d&&(d.__ecGraphicWidthOption=t.width,d.__ecGraphicHeightOption=t.height,b(d,e,t))}))}},_relocate:function(e,t){for(var n=e.option.elements,r=this.group,i=this._elMap,o=t.getWidth(),a=t.getHeight(),s=0;s<n.length;s++){var c=n[s],d=i.get(c.id);if(d&&d.isGroup){var h=d.parent,f=h===r;d.__ecGraphicWidth=u(d.__ecGraphicWidthOption,f?o:h.__ecGraphicWidth)||0,d.__ecGraphicHeight=u(d.__ecGraphicHeightOption,f?a:h.__ecGraphicHeight)||0}}for(s=n.length-1;s>=0;s--){c=n[s],d=i.get(c.id);if(d){h=d.parent;var p=h===r?{width:o,height:a}:{width:h.__ecGraphicWidth,height:h.__ecGraphicHeight};l.positionElement(d,c,p,null,{hv:c.hv,boundingMode:c.bounding})}}},_clear:function(){var e=this._elMap;e.each((function(t){p(t,e)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},f3JH:function(e,t,n){n("aTJb"),n("OlYY"),n("fc+c"),n("oY9F"),n("MqEG"),n("LBfv"),n("noeP")},f5HG:function(e,t,n){var r=n("IwbS"),i=n("QBsz"),o=r.Line.prototype,a=r.BezierCurve.prototype;function s(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var l=r.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(e,t){this[s(t)?"_buildPathLine":"_buildPathCurve"](e,t)},_buildPathLine:o.buildPath,_buildPathCurve:a.buildPath,pointAt:function(e){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](e)},_pointAtLine:o.pointAt,_pointAtCurve:a.pointAt,tangentAt:function(e){var t=this.shape,n=s(t)?[t.x2-t.x1,t.y2-t.y1]:this._tangentAtCurve(e);return i.normalize(n,n)},_tangentAtCurve:a.tangentAt});e.exports=l},f5Yq:function(e,t,n){var r=n("bYtY"),i=r.isFunction;function o(e,t,n){return{seriesType:e,performRawSeries:!0,reset:function(e,r,o){var a=e.getData(),s=e.get("symbol"),l=e.get("symbolSize"),c=e.get("symbolKeepAspect"),u=e.get("symbolRotate"),d=i(s),h=i(l),f=i(u),p=d||h||f,A=!d&&s?s:t,g=h?null:l;if(a.setVisual({legendSymbol:n||A,symbol:A,symbolSize:g,symbolKeepAspect:c,symbolRotate:u}),!r.isSeriesFiltered(e))return{dataEach:a.hasItemOption||p?m:null};function m(t,n){if(p){var r=e.getRawValue(n),i=e.getDataParams(n);d&&t.setItemVisual(n,"symbol",s(r,i)),h&&t.setItemVisual(n,"symbolSize",l(r,i)),f&&t.setItemVisual(n,"symbolRotate",u(r,i))}if(t.hasItemOption){var o=t.getItemModel(n),a=o.getShallow("symbol",!0),c=o.getShallow("symbolSize",!0),A=o.getShallow("symbolRotate",!0),g=o.getShallow("symbolKeepAspect",!0);null!=a&&t.setItemVisual(n,"symbol",a),null!=c&&t.setItemVisual(n,"symbolSize",c),null!=A&&t.setItemVisual(n,"symbolRotate",A),null!=g&&t.setItemVisual(n,"symbolKeepAspect",g)}}}}}e.exports=o},fE02:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("/IIm"),a=n("vZ6x"),s=n("b9oc"),l=n("72pK"),c=n("Kagy"),u=n("IUWy");n("3TkU");var d=c.toolbox.dataZoom,h=i.each,f="\0_ec_\0toolbox-dataZoom_";function p(e,t,n){(this._brushController=new o(n.getZr())).on("brush",i.bind(this._onBrush,this)).mount(),this._isZoomActive}p.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:i.clone(d.title)};var A=p.prototype;A.render=function(e,t,n,r){this.model=e,this.ecModel=t,this.api=n,y(e,t,this,r,n),v(e,t)},A.onclick=function(e,t,n){g[n].call(this)},A.remove=function(e,t){this._brushController.unmount()},A.dispose=function(e,t){this._brushController.dispose()};var g={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function m(e){var t={};return i.each(["xAxisIndex","yAxisIndex"],(function(n){t[n]=e[n],null==t[n]&&(t[n]="all"),(!1===t[n]||"none"===t[n])&&(t[n]=[])})),t}function v(e,t){e.setIconStatus("back",s.count(t)>1?"emphasis":"normal")}function y(e,t,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var s=new a(m(e.option),t,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(i,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!o&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}A._onBrush=function(e,t){if(t.isEnd&&e.length){var n={},r=this.ecModel;this._brushController.updateCovers([]);var i=new a(m(this.model.option),r,{include:["grid"]});i.matchOutputRanges(e,r,(function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[r],n,t)}})),s.push(r,n),this._dispatchZoomAction(n)}function o(e,t,i){var o=t.getAxis(e),a=o.model,s=c(e,a,r),u=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=l(0,i.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:i[0],endValue:i[1]})}function c(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var i=n.getAxisModel(e,t.componentIndex);i&&(r=n)})),r}},A._dispatchZoomAction=function(e){var t=[];h(e,(function(e,n){t.push(i.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},u.register("dataZoom",p),r.registerPreprocessor((function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);i.isArray(t)||(e.dataZoom=t=[t]);var n=e.toolbox;if(n&&(i.isArray(n)&&(n=n[0]),n&&n.feature)){var r=n.feature.dataZoom;o("xAxis",r),o("yAxis",r)}}function o(e,n){if(n){var r=e+"Index",o=n[r];null==o||"all"===o||i.isArray(o)||(o=!1===o||"none"===o?[]:[o]),a(e,(function(a,s){if(null==o||"all"===o||-1!==i.indexOf(o,s)){var l={type:"select",$fromToolbox:!0,filterMode:n.filterMode||"filter",id:f+e+s};l[r]=s,t.push(l)}}))}}function a(t,n){var r=e[t];i.isArray(r)||(r=r?[r]:[]),h(r,n)}}));var b=p;e.exports=b},fGT3:function(e,t,n){var r=n("4kuk"),i=n("Xi7e"),o=n("ebwN");function a(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}e.exports=a},fNCr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("tSko"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"fR/l":function(e,t,n){var r=n("CH3K"),i=n("Z0cm");function o(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}e.exports=o},fUL4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("r+aA"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},fW2E:function(e,t){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function r(e,t,r){return n.hasOwnProperty(t)?r*e.dpr:r}e.exports=r},"fc+c":function(e,t,n){var r=n("sS/r"),i=r.extend({type:"dataZoom",render:function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,n={};function r(e,t,n,r){for(var i,o=0;o<n.length;o++)if(n[o].model===e){i=n[o];break}i||n.push(i={model:e,axisModels:[],coordIndex:r}),i.axisModels.push(t)}return e.eachTargetAxis((function(e,i){var o=t.getComponent(e.axis,i);if(o){var a=o.getCoordSysModel();a&&r(a,o,n[a.mainType]||(n[a.mainType]=[]),a.componentIndex)}}),this),n}});e.exports=i},fjKi:function(e,t,n){var r=n("ProS");n("Q7if"),n("jndi"),r.registerPreprocessor((function(e){e.markArea=e.markArea||{}}))},fls0:function(e,t,n){var r=n("bYtY"),i=n("QBsz"),o=n("oVpE"),a=n("f5HG"),s=n("IwbS"),l=n("OELB"),c=l.round,u=["fromSymbol","toSymbol"];function d(e){return"_"+e+"Type"}function h(e,t,n){var i=t.getItemVisual(n,"color"),a=t.getItemVisual(n,e),s=t.getItemVisual(n,e+"Size");if(a&&"none"!==a){r.isArray(s)||(s=[s,s]);var l=o.createSymbol(a,-s[0]/2,-s[1]/2,s[0],s[1],i);return l.name=e,l}}function f(e){var t=new a({name:"line",subPixelOptimize:!0});return p(t.shape,e),t}function p(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}function A(){var e=this,t=e.childOfName("fromSymbol"),n=e.childOfName("toSymbol"),r=e.childOfName("label");if(t||n||!r.ignore){var o=1,a=this.parent;while(a)a.scale&&(o/=a.scale[0]),a=a.parent;var s=e.childOfName("line");if(this.__dirty||s.__dirty){var l=s.shape.percent,c=s.pointAt(0),u=s.pointAt(l),d=i.sub([],u,c);if(i.normalize(d,d),t){t.attr("position",c);var h=s.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(h[1],h[0])),t.attr("scale",[o*l,o*l])}if(n){n.attr("position",u);h=s.tangentAt(1);n.attr("rotation",-Math.PI/2-Math.atan2(h[1],h[0])),n.attr("scale",[o*l,o*l])}if(!r.ignore){var f,p,A,g;r.attr("position",u);var m=r.__labelDistance,v=m[0]*o,y=m[1]*o,b=l/2,_=(h=s.tangentAt(b),[h[1],-h[0]]),w=s.pointAt(b);_[1]>0&&(_[0]=-_[0],_[1]=-_[1]);var x,C=h[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var S=-Math.atan2(h[1],h[0]);u[0]<c[0]&&(S=Math.PI+S),r.attr("rotation",S)}switch(r.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":x=-y,A="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":x=y,A="top";break;default:x=0,A="middle"}switch(r.__position){case"end":f=[d[0]*v+u[0],d[1]*y+u[1]],p=d[0]>.8?"left":d[0]<-.8?"right":"center",A=d[1]>.8?"top":d[1]<-.8?"bottom":"middle";break;case"start":f=[-d[0]*v+c[0],-d[1]*y+c[1]],p=d[0]>.8?"right":d[0]<-.8?"left":"center",A=d[1]>.8?"bottom":d[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":f=[v*C+c[0],c[1]+x],p=h[0]<0?"right":"left",g=[-v*C,-x];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":f=[w[0],w[1]+x],p="center",g=[0,-x];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":f=[-v*C+u[0],u[1]+x],p=h[0]>=0?"right":"left",g=[v*C,-x];break}r.attr({style:{textVerticalAlign:r.__verticalAlign||A,textAlign:r.__textAlign||p},position:f,scale:[o,o],origin:g})}}}}function g(e,t,n){s.Group.call(this),this._createLine(e,t,n)}var m=g.prototype;m.beforeUpdate=A,m._createLine=function(e,t,n){var i=e.hostModel,o=e.getItemLayout(t),a=f(o);a.shape.percent=0,s.initProps(a,{shape:{percent:1}},i,t),this.add(a);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),r.each(u,(function(n){var r=h(n,e,t);this.add(r),this[d(n)]=e.getItemVisual(t,n)}),this),this._updateCommonStl(e,t,n)},m.updateData=function(e,t,n){var i=e.hostModel,o=this.childOfName("line"),a=e.getItemLayout(t),l={shape:{}};p(l.shape,a),s.updateProps(o,l,i,t),r.each(u,(function(n){var r=e.getItemVisual(t,n),i=d(n);if(this[i]!==r){this.remove(this.childOfName(n));var o=h(n,e,t);this.add(o)}this[i]=r}),this),this._updateCommonStl(e,t,n)},m._updateCommonStl=function(e,t,n){var i=e.hostModel,o=this.childOfName("line"),a=n&&n.lineStyle,l=n&&n.hoverLineStyle,d=n&&n.labelModel,h=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var f=e.getItemModel(t);a=f.getModel("lineStyle").getLineStyle(),l=f.getModel("emphasis.lineStyle").getLineStyle(),d=f.getModel("label"),h=f.getModel("emphasis.label")}var p=e.getItemVisual(t,"color"),A=r.retrieve3(e.getItemVisual(t,"opacity"),a.opacity,1);o.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:A},a)),o.hoverStyle=l,r.each(u,(function(e){var t=this.childOfName(e);t&&(t.setColor(p),t.setStyle({opacity:A}))}),this);var g,m,v=d.getShallow("show"),y=h.getShallow("show"),b=this.childOfName("label");if((v||y)&&(g=p||"#000",m=i.getFormattedLabel(t,"normal",e.dataType),null==m)){var _=i.getRawValue(t);m=null==_?e.getName(t):isFinite(_)?c(_):_}var w=v?m:null,x=y?r.retrieve2(i.getFormattedLabel(t,"emphasis",e.dataType),m):null,C=b.style;if(null!=w||null!=x){s.setTextStyle(b.style,d,{text:w},{autoColor:g}),b.__textAlign=C.textAlign,b.__verticalAlign=C.textVerticalAlign,b.__position=d.get("position")||"middle";var S=d.get("distance");r.isArray(S)||(S=[S,S]),b.__labelDistance=S}b.hoverStyle=null!=x?{text:x,textFill:h.getTextColor(!0),fontStyle:h.getShallow("fontStyle"),fontWeight:h.getShallow("fontWeight"),fontSize:h.getShallow("fontSize"),fontFamily:h.getShallow("fontFamily")}:{text:null},b.ignore=!v&&!y,s.setHoverStyle(this)},m.highlight=function(){this.trigger("emphasis")},m.downplay=function(){this.trigger("normal")},m.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},m.setLinePoints=function(e){var t=this.childOfName("line");p(t.shape,e),t.dirty()},r.inherits(g,s.Group);var v=g;e.exports=v},fmMI:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=i.each,a=i.filter,s=i.map,l=i.isArray,c=i.indexOf,u=i.isObject,d=i.isString,h=i.createHashMap,f=i.assert,p=i.clone,A=i.merge,g=i.extend,m=i.mixin,v=n("4NO4"),y=n("Qxkt"),b=n("bLfw"),_=n("iXHM"),w=n("5Hur"),x=n("D5nY"),C=x.resetSourceDefaulter,S="\0_ec_inner",k=y.extend({init:function(e,t,n,r){n=n||{},this.option=null,this._theme=new y(n),this._optionManager=r},setOption:function(e,t){f(!(S in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,n=this._optionManager;if(!e||"recreate"===e){var r=n.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(r)):B.call(this,r),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var i=n.getTimelineOption(this);i&&(this.mergeOption(i),t=!0)}if(!e||"recreate"===e||"media"===e){var a=n.getMediaOption(this,this._api);a.length&&o(a,(function(e){this.mergeOption(e,t=!0)}),this)}return t},mergeOption:function(e){var t=this.option,n=this._componentsMap,r=[];function i(r,i){var a=v.normalizeToArray(e[r]),s=v.mappingToExists(n.get(r),a);v.makeIdAndName(s),o(s,(function(e,t){var n=e.option;u(n)&&(e.keyInfo.mainType=r,e.keyInfo.subType=T(r,n,e.exist))}));var l=M(n,i);t[r]=[],n.set(r,[]),o(s,(function(e,i){var o=e.exist,a=e.option;if(f(u(a)||o,"Empty component definition"),a){var s=b.getClass(r,e.keyInfo.subType,!0);if(o&&o.constructor===s)o.name=e.keyInfo.name,o.mergeOption(a,this),o.optionUpdated(a,!1);else{var c=g({dependentModels:l,componentIndex:i},e.keyInfo);o=new s(a,this,this,c),g(o,c),o.init(a,this,this,c),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);n.get(r)[i]=o,t[r][i]=o.option}),this),"series"===r&&I(this,n.get("series"))}C(this),o(e,(function(e,n){null!=e&&(b.hasClass(n)?n&&r.push(n):t[n]=null==t[n]?p(e):A(t[n],e,!0))})),b.topologicalTravel(r,b.getAllClassMainTypes(),i,this),this._seriesIndicesMap=h(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=p(this.option);return o(e,(function(t,n){if(b.hasClass(n)){t=v.normalizeToArray(t);for(var r=t.length-1;r>=0;r--)v.isIdInner(t[r])&&t.splice(r,1);e[n]=t}})),delete e[S],e},getTheme:function(){return this._theme},getComponent:function(e,t){var n=this._componentsMap.get(e);if(n)return n[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var n,r=e.index,i=e.id,o=e.name,u=this._componentsMap.get(t);if(!u||!u.length)return[];if(null!=r)l(r)||(r=[r]),n=a(s(r,(function(e){return u[e]})),(function(e){return!!e}));else if(null!=i){var d=l(i);n=a(u,(function(e){return d&&c(i,e.id)>=0||!d&&e.id===i}))}else if(null!=o){var h=l(o);n=a(u,(function(e){return h&&c(o,e.name)>=0||!h&&e.name===o}))}else n=u.slice();return L(n,e)},findComponents:function(e){var t=e.query,n=e.mainType,r=o(t),i=r?this.queryComponents(r):this._componentsMap.get(n);return s(L(i,e));function o(e){var t=n+"Index",r=n+"Id",i=n+"Name";return!e||null==e[t]&&null==e[r]&&null==e[i]?null:{mainType:n,index:e[t],id:e[r],name:e[i]}}function s(t){return e.filter?a(t,e.filter):t}},eachComponent:function(e,t,n){var r=this._componentsMap;if("function"===typeof e)n=t,t=e,r.each((function(e,r){o(e,(function(e,i){t.call(n,r,e,i)}))}));else if(d(e))o(r.get(e),t,n);else if(u(e)){var i=this.findComponents(e);o(i,t,n)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.name===e}))},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.subType===e}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(e,t){D(this),o(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];e.call(t,r,n)}),this)},eachRawSeries:function(e,t){o(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,n){D(this),o(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===e&&t.call(n,i,r)}),this)},eachRawSeriesByType:function(e,t,n){return o(this.getSeriesByType(e),t,n)},isSeriesFiltered:function(e){return D(this),null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){D(this);var n=a(this._componentsMap.get("series"),e,t);I(this,n)},restoreData:function(e){var t=this._componentsMap;I(this,t.get("series"));var n=[];t.each((function(e,t){n.push(t)})),b.topologicalTravel(n,b.getAllClassMainTypes(),(function(n,r){o(t.get(n),(function(t){("series"!==n||!E(t,e))&&t.restoreData()}))}))}});function E(e,t){if(t){var n=t.seiresIndex,r=t.seriesId,i=t.seriesName;return null!=n&&e.componentIndex!==n||null!=r&&e.id!==r||null!=i&&e.name!==i}}function O(e,t){var n=e.color&&!e.colorLayer;o(t,(function(t,r){"colorLayer"===r&&n||b.hasClass(r)||("object"===typeof t?e[r]=e[r]?A(e[r],t,!1):p(t):null==e[r]&&(e[r]=t))}))}function B(e){e=e,this.option={},this.option[S]=1,this._componentsMap=h({series:[]}),this._seriesIndices,this._seriesIndicesMap,O(e,this._theme.option),A(e,_,!1),this.mergeOption(e)}function M(e,t){l(t)||(t=t?[t]:[]);var n={};return o(t,(function(t){n[t]=(e.get(t)||[]).slice()})),n}function T(e,t,n){var r=t.type?t.type:n?n.subType:b.determineSubType(e,t);return r}function I(e,t){e._seriesIndicesMap=h(e._seriesIndices=s(t,(function(e){return e.componentIndex}))||[])}function L(e,t){return t.hasOwnProperty("subType")?a(e,(function(e){return e.subType===t.subType})):e}function D(e){}m(k,w);var P=k;e.exports=P},fmRc:function(e,t,n){var r=n("Xi7e"),i=n("77Zs"),o=n("L8xA"),a=n("gCq4"),s=n("VaNO"),l=n("0Cz8");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype["delete"]=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},ftKO:function(e,t){var n="__lodash_hash_undefined__";function r(e){return this.__data__.set(e,n),this}e.exports=r},fyUT:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("q1tI"),l=n.n(s),c=n("TSYQ"),u=n.n(c),d=n("Ff2n"),h=n("rePB"),f=n("1OyB"),p=n("vuIU"),A=n("Ji7U"),g=n("md7G"),m=n("foSv"),v=n("4IlW");function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){Object(h["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e){var t=w();return function(){var n,r=Object(m["a"])(e);if(t){var i=Object(m["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(g["a"])(this,n)}}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function x(){}function C(e){e.preventDefault()}var S=function(e){return e.replace(/[^\w.-]+/g,"")},k=200,E=600,O=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,B=function(e){return void 0!==e&&null!==e},M=function(e,t){return t===e||"number"===typeof t&&"number"===typeof e&&isNaN(t)&&isNaN(e)},T=function(e){Object(A["a"])(n,e);var t=_(n);function n(e){var r;Object(f["a"])(this,n),r=t.call(this,e),r.onKeyDown=function(e){var t=r.props,n=t.onKeyDown,i=t.onPressEnter;if(e.keyCode===v["a"].UP){var o=r.getRatio(e);r.up(e,o,null),r.stop()}else if(e.keyCode===v["a"].DOWN){var a=r.getRatio(e);r.down(e,a,null),r.stop()}else e.keyCode===v["a"].ENTER&&i&&i(e);if(r.recordCursorPosition(),r.lastKeyCode=e.keyCode,n){for(var s=arguments.length,l=new Array(s>1?s-1:0),c=1;c<s;c++)l[c-1]=arguments[c];n.apply(void 0,[e].concat(l))}},r.onKeyUp=function(e){var t=r.props.onKeyUp;if(r.stop(),r.recordCursorPosition(),t){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t.apply(void 0,[e].concat(i))}},r.onChange=function(e){var t=r.props.onChange;r.state.focused&&(r.inputting=!0),r.rawInput=r.props.parser(r.getValueFromEvent(e)),r.setState({inputValue:r.rawInput}),t(r.toNumber(r.rawInput))},r.onMouseUp=function(){var e=r.props.onMouseUp;r.recordCursorPosition(),e&&e.apply(void 0,arguments)},r.onFocus=function(){var e;r.setState({focused:!0}),(e=r.props).onFocus.apply(e,arguments)},r.onBlur=function(){var e=r.props.onBlur;r.inputting=!1,r.setState({focused:!1});var t=r.getCurrentValidValue(r.state.inputValue),n=r.setValue(t,x);if(e){var i=r.input.value,o=r.getInputDisplayValue({focus:!1,value:n});r.input.value=o?Number(o):o,e.apply(void 0,arguments),r.input.value=i}},r.getRatio=function(e){var t=1;return e.metaKey||e.ctrlKey?t=.1:e.shiftKey&&(t=10),t},r.getFullNum=function(e){return isNaN(e)?e:/e/i.test(String(e))?Number(e).toFixed(18).replace(/\.?0+$/,""):e},r.getPrecision=function(e){if(B(r.props.precision))return r.props.precision;var t=String(e);if(t.indexOf("e-")>=0)return parseInt(t.slice(t.indexOf("e-")+2),10);var n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n},r.getInputDisplayValue=function(e){var t,n=e||r.state,i=n.focused,o=n.inputValue,a=n.value;t=i?o:r.toPrecisionAsStep(a),void 0!==t&&null!==t||(t="");var s=r.formatWrapper(t);return B(r.props.decimalSeparator)&&(s=s.toString().replace(".",r.props.decimalSeparator)),s},r.recordCursorPosition=function(){try{r.cursorStart=r.input.selectionStart,r.cursorEnd=r.input.selectionEnd,r.currentValue=r.input.value,r.cursorBefore=r.input.value.substring(0,r.cursorStart),r.cursorAfter=r.input.value.substring(r.cursorEnd)}catch(e){}},r.restoreByAfter=function(e){if(void 0===e)return!1;var t=r.input.value,n=t.lastIndexOf(e);if(-1===n)return!1;var i=r.cursorBefore.length;return r.lastKeyCode===v["a"].DELETE&&r.cursorBefore.charAt(i-1)===e[0]?(r.fixCaret(i,i),!0):n+e.length===t.length&&(r.fixCaret(n,n),!0)},r.partRestoreByAfter=function(e){return void 0!==e&&Array.prototype.some.call(e,(function(t,n){var i=e.substring(n);return r.restoreByAfter(i)}))},r.isNotCompleteNumber=function(e){return isNaN(e)||""===e||null===e||e&&e.toString().indexOf(".")===e.toString().length-1},r.stop=function(){r.autoStepTimer&&clearTimeout(r.autoStepTimer)},r.down=function(e,t,n){r.pressingUpOrDown=!0,r.step("down",e,t,n)},r.up=function(e,t,n){r.pressingUpOrDown=!0,r.step("up",e,t,n)},r.saveInput=function(e){r.input=e};var i=e.value;void 0===i&&(i=e.defaultValue),r.state={focused:e.autoFocus};var o=r.getValidValue(r.toNumber(i));return r.state=b(b({},r.state),{},{inputValue:r.toPrecisionAsStep(o),value:o}),r}return Object(p["a"])(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,r=t.onChange,i=t.max,o=t.min,a=this.state.focused;if(e){if(!M(e.value,n)||!M(e.max,i)||!M(e.min,o)){var s,l=a?n:this.getValidValue(n);s=this.pressingUpOrDown?l:this.inputting?this.rawInput:this.toPrecisionAsStep(l),this.setState({value:l,inputValue:s})}var c="value"in this.props?n:this.state.value;"max"in this.props&&e.max!==i&&"number"===typeof c&&c>i&&r&&r(i),"min"in this.props&&e.min!==o&&"number"===typeof c&&c<o&&r&&r(o)}try{if(void 0!==this.cursorStart&&this.state.focused)if(this.partRestoreByAfter(this.cursorAfter)||this.state.value===this.props.value){if(this.currentValue===this.input.value)switch(this.lastKeyCode){case v["a"].BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case v["a"].DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}else{var u=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===v["a"].BACKSPACE?u=this.cursorStart-1:this.lastKeyCode===v["a"].DELETE&&(u=this.cursorStart):u=this.input.value.length,this.fixCaret(u,u)}}catch(d){}this.lastKeyCode=null,this.pressingUpOrDown&&this.props.focusOnUpDown&&this.state.focused&&document.activeElement!==this.input&&this.focus()}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(e){var t=e;return t=""===t?"":this.isNotCompleteNumber(parseFloat(t))?this.state.value:this.getValidValue(t),this.toNumber(t)}},{key:"getValueFromEvent",value:function(e){var t=e.target.value.trim().replace(/\u3002/g,".");return B(this.props.decimalSeparator)&&(t=t.replace(this.props.decimalSeparator,".")),t}},{key:"getValidValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.min,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.max,r=parseFloat(e);return isNaN(r)?e:(r<t&&(r=t),r>n&&(r=n),r)}},{key:"setValue",value:function(e,t){var n=this.props.precision,r=this.isNotCompleteNumber(parseFloat(e))?null:parseFloat(e),i=this.state.value,o=void 0===i?null:i,a=this.state.inputValue,s=void 0===a?null:a,l="number"===typeof r?r.toFixed(n):"".concat(r),c=r!==o||l!=="".concat(s);return"value"in this.props?(s=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:s},t)):this.setState({value:r,inputValue:this.toPrecisionAsStep(e)},t),c&&this.props.onChange(r),r}},{key:"getMaxPrecision",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.props,r=n.precision,i=n.step;if(B(r))return r;var o=this.getPrecision(t),a=this.getPrecision(i),s=this.getPrecision(e);return e?Math.max(s,o+a):o+a}},{key:"getPrecisionFactor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.getMaxPrecision(e,t);return Math.pow(10,n)}},{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(e){return this.props.formatter?this.props.formatter(e):e}},{key:"toPrecisionAsStep",value:function(e){if(this.isNotCompleteNumber(e)||""===e)return e;var t=Math.abs(this.getMaxPrecision(e));return isNaN(t)?e.toString():Number(e).toFixed(t)}},{key:"toNumber",value:function(e){var t=this.props.precision,n=this.state.focused,r=e&&e.length>16&&n;return this.isNotCompleteNumber(e)||r?e:B(t)?Math.round(e*Math.pow(10,t))/Math.pow(10,t):Number(e)}},{key:"upStep",value:function(e,t){var n=this.props.step,r=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t)),o=((r*e+r*n*t)/r).toFixed(i);return this.toNumber(o)}},{key:"downStep",value:function(e,t){var n=this.props.step,r=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t)),o=((r*e-r*n*t)/r).toFixed(i);return this.toNumber(o)}},{key:"step",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0;this.stop(),t&&(t.persist(),t.preventDefault());var o=this.props;if(!o.disabled){var a=this.getCurrentValidValue(this.state.inputValue)||0;if(!this.isNotCompleteNumber(a)){var s=this["".concat(e,"Step")](a,r),l=s>o.max||s<o.min;s>o.max?s=o.max:s<o.min&&(s=o.min),this.setValue(s,null),this.setState({focused:!0},(function(){n.pressingUpOrDown=!1})),l||(this.autoStepTimer=setTimeout((function(){n[e](t,r,!0)}),i?k:E))}}}},{key:"fixCaret",value:function(e,t){if(void 0!==e&&void 0!==t&&this.input&&this.input.value)try{var n=this.input.selectionStart,r=this.input.selectionEnd;e===n&&t===r||this.input.setSelectionRange(e,t)}catch(i){}}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.disabled,i=t.readOnly,o=t.useTouch,a=t.autoComplete,s=t.upHandler,c=t.downHandler,f=t.className,p=t.max,A=t.min,g=t.style,m=t.title,v=t.onMouseEnter,y=t.onMouseLeave,b=t.onMouseOver,_=t.onMouseOut,w=t.required,S=t.onClick,k=t.tabIndex,E=t.type,O=t.placeholder,B=t.id,M=t.inputMode,T=t.pattern,I=t.step,L=t.maxLength,D=t.autoFocus,P=t.name,N=t.onPaste,j=t.onInput,F=Object(d["a"])(t,["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"]),R=this.state,U=R.value,H=R.focused,Q=u()(n,(e={},Object(h["a"])(e,f,!!f),Object(h["a"])(e,"".concat(n,"-disabled"),r),Object(h["a"])(e,"".concat(n,"-focused"),H),e)),K={};Object.keys(F).forEach((function(e){"data-"!==e.substr(0,5)&&"aria-"!==e.substr(0,5)&&"role"!==e||(K[e]=F[e])}));var z=!i&&!r,V=this.getInputDisplayValue(null),W=(U||0===U)&&(isNaN(U)||Number(U)>=p),G=(U||0===U)&&(isNaN(U)||Number(U)<=A),X=W||r||i,q=G||r||i,Y=u()("".concat(n,"-handler"),"".concat(n,"-handler-up"),Object(h["a"])({},"".concat(n,"-handler-up-disabled"),X)),Z=u()("".concat(n,"-handler"),"".concat(n,"-handler-down"),Object(h["a"])({},"".concat(n,"-handler-down-disabled"),q)),J=o?{onTouchStart:X?x:this.up,onTouchEnd:this.stop}:{onMouseDown:X?x:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},$=o?{onTouchStart:q?x:this.down,onTouchEnd:this.stop}:{onMouseDown:q?x:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return l.a.createElement("div",{className:Q,style:g,title:m,onMouseEnter:v,onMouseLeave:y,onMouseOver:b,onMouseOut:_,onFocus:function(){return null},onBlur:function(){return null}},l.a.createElement("div",{className:"".concat(n,"-handler-wrap")},l.a.createElement("span",Object.assign({unselectable:"on"},J,{role:"button","aria-label":"Increase Value","aria-disabled":X,className:Y}),s||l.a.createElement("span",{unselectable:"on",className:"".concat(n,"-handler-up-inner"),onClick:C})),l.a.createElement("span",Object.assign({unselectable:"on"},$,{role:"button","aria-label":"Decrease Value","aria-disabled":q,className:Z}),c||l.a.createElement("span",{unselectable:"on",className:"".concat(n,"-handler-down-inner"),onClick:C}))),l.a.createElement("div",{className:"".concat(n,"-input-wrap")},l.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":A,"aria-valuemax":p,"aria-valuenow":U,required:w,type:E,placeholder:O,onPaste:N,onClick:S,onMouseUp:this.onMouseUp,className:"".concat(n,"-input"),tabIndex:k,autoComplete:a,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:z?this.onKeyDown:x,onKeyUp:z?this.onKeyUp:x,autoFocus:D,maxLength:L,readOnly:i,disabled:r,max:p,min:A,step:I,name:P,title:m,id:B,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(V),pattern:T,inputMode:M,onInput:j},K))))}}]),n}(l.a.Component);T.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:O,min:-O,step:1,style:{},onChange:x,onKeyDown:x,onPressEnter:x,onFocus:x,onBlur:x,parser:S,required:!1,autoComplete:"off"};var I=T,L=I,D=n("FH2Y"),P=n.n(D),N=n("HQEm"),j=n.n(N),F=n("H84U"),R=n("3Nzz"),U=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},H=s["forwardRef"]((function(e,t){var n=function(n){var r=n.getPrefixCls,o=n.direction,l=e.className,c=e.size,d=e.prefixCls,h=e.readOnly,f=U(e,["className","size","prefixCls","readOnly"]),p=r("input-number",d),A=s["createElement"](P.a,{className:"".concat(p,"-handler-up-inner")}),g=s["createElement"](j.a,{className:"".concat(p,"-handler-down-inner")});return s["createElement"](R["b"].Consumer,null,(function(e){var n,r=c||e,d=u()((n={},a()(n,"".concat(p,"-lg"),"large"===r),a()(n,"".concat(p,"-sm"),"small"===r),a()(n,"".concat(p,"-rtl"),"rtl"===o),a()(n,"".concat(p,"-readonly"),h),n),l);return s["createElement"](L,i()({ref:t,className:d,upHandler:A,downHandler:g,prefixCls:p,readOnly:h},f))}))};return s["createElement"](F["a"],null,n)}));H.defaultProps={step:1};t["a"]=H},g0SD:function(e,t,n){var r=n("bYtY"),i=n("9wZj"),o=n("OELB"),a=n("YXkt"),s=n("kj2x"),l=n("iPDy");function c(e,t,n){var r=t.coordinateSystem;e.each((function(i){var a,s=e.getItemModel(i),l=o.parsePercent(s.get("x"),n.getWidth()),c=o.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(c)){if(t.getMarkerPosition)a=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(r){var u=e.get(r.dimensions[0],i),d=e.get(r.dimensions[1],i);a=r.dataToPoint([u,d])}}else a=[l,c];isNaN(l)||(a[0]=l),isNaN(c)||(a[1]=c),e.setItemLayout(i,a)}))}var u=l.extend({type:"markPoint",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markPointModel;t&&(c(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout(t))}),this)},renderSeries:function(e,t,n,o){var a=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,h=u.get(s)||u.set(s,new i),f=d(a,e,t);t.setData(f),c(t.getData(),e,o),f.each((function(e){var n=f.getItemModel(e),i=n.getShallow("symbol"),o=n.getShallow("symbolSize"),a=r.isFunction(i),s=r.isFunction(o);if(a||s){var c=t.getRawValue(e),u=t.getDataParams(e);a&&(i=i(c,u)),s&&(o=o(c,u))}f.setItemVisual(e,{symbol:i,symbolSize:o,color:n.get("itemStyle.color")||l.getVisual("color")})})),h.updateData(f),this.group.add(h.group),f.eachItemGraphicEl((function(e){e.traverse((function(e){e.dataModel=t}))})),h.__keep=!0,h.group.silent=t.get("silent")||e.get("silent")}});function d(e,t,n){var i;i=e?r.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return r.defaults({name:e},n)})):[{name:"value",type:"float"}];var o=new a(i,n),l=r.map(n.get("data"),r.curry(s.dataTransform,t));return e&&(l=r.filter(l,r.curry(s.dataFilter,e))),o.initData(l,null,e?s.dimValueGetter:function(e){return e.value}),o}e.exports=u},g7p0:function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("+TT/"),a=o.getLayoutParams,s=o.sizeCalculable,l=o.mergeLayoutParam,c=i.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,t,n,r){var i=a(e);c.superApply(this,"init",arguments),u(e,i)},mergeOption:function(e,t){c.superApply(this,"mergeOption",arguments),u(this.option,e)}});function u(e,t){var n=e.cellSize;r.isArray(n)?1===n.length&&(n[1]=n[0]):n=e.cellSize=[n,n];var i=r.map([0,1],(function(e){return s(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));l(e,t,{type:"box",ignoreSize:i})}var d=c;e.exports=d},g9YV:function(e,t,n){"use strict";n("cIOH"),n("pED+"),n("+L6B"),n("R9oj"),n("7Kak"),n("sRBo"),n("qVdP"),n("T2oS"),n("DjyN"),n("5Dmo")},gCq4:function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},gIYZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r={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"};t["default"]=r},gKaM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},gPAo:function(e,t){function n(e){return e}function r(e,t,r,i,o){this._old=e,this._new=t,this._oldKeyGetter=r||n,this._newKeyGetter=i||n,this.context=o}function i(e,t,n,r,i){for(var o=0;o<e.length;o++){var a="_ec_"+i[r](e[o],o),s=t[a];null==s?(n.push(a),t[a]=o):(s.length||(t[a]=s=[s]),s.push(o))}}r.prototype={constructor:r,add:function(e){return this._add=e,this},update:function(e){return this._update=e,this},remove:function(e){return this._remove=e,this},execute:function(){var e=this._old,t=this._new,n={},r={},o=[],a=[];for(i(e,n,o,"_oldKeyGetter",this),i(t,r,a,"_newKeyGetter",this),u=0;u<e.length;u++){var s=o[u],l=r[s];if(null!=l){var c=l.length;c?(1===c&&(r[s]=null),l=l.shift()):r[s]=null,this._update&&this._update(l,u)}else this._remove&&this._remove(u)}for(var u=0;u<a.length;u++){s=a[u];if(r.hasOwnProperty(s)){l=r[s];if(null==l)continue;if(l.length){var d=0;for(c=l.length;d<c;d++)this._add&&this._add(l[d])}else this._add&&this._add(l)}}}};var o=r;e.exports=o},gRFJ:function(e,t,n){e.exports=[n("rdUC"),n("ynwM"),n("RELg"),n("DlR+"),n("CrYA"),n("PD8m")]},gaXo:function(module,exports){"object"!==typeof JSON&&(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,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,(function(e){var t=meta[e];return"string"===typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,t){var n,r,i,o,a,s=gap,l=t[e];switch(l&&"object"===typeof l&&"function"===typeof l.toJSON&&(l=l.toJSON(e)),"function"===typeof rep&&(l=rep.call(t,e,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(l)){for(o=l.length,n=0;n<o;n+=1)a[n]=str(n,l)||"null";return i=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,i}if(rep&&"object"===typeof rep)for(o=rep.length,n=0;n<o;n+=1)"string"===typeof rep[n]&&(r=rep[n],i=str(r,l),i&&a.push(quote(r)+(gap?": ":":")+i));else for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(i=str(r,l),i&&a.push(quote(r)+(gap?": ":":")+i));return i=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,i}}"function"!==typeof Date.prototype.toJSON&&(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),"function"!==typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"===typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"===typeof n&&(indent=n);if(rep=t,t&&"function"!==typeof t&&("object"!==typeof t||"number"!==typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!==typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var n,r,i=e[t];if(i&&"object"===typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r=walk(i,n),void 0!==r?i[n]=r:delete i[n]);return reviver.call(e,t,i)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"===typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},gawk:function(e,t,n){var r=n("+TT/"),i=n("bYtY"),o=n("4NO4"),a=o.groupData;function s(e,t,n){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),r=e.get("nodeGap"),o=l(e,t);e.layoutInfo=o;var a=o.width,s=o.height,d=e.getGraph(),h=d.nodes,f=d.edges;u(h);var p=i.filter(h,(function(e){return 0===e.getLayout().value})),A=0!==p.length?0:e.get("layoutIterations"),g=e.get("orient"),m=e.get("nodeAlign");c(h,f,n,r,a,s,A,g,m)}))}function l(e,t){return r.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e,t,n,r,i,o,a,s,l){d(e,t,n,i,o,s,l),g(e,t,o,i,r,a,s),B(e,s)}function u(e){i.each(e,(function(e){var t=E(e.outEdges,k),n=E(e.inEdges,k),r=e.getValue()||0,i=Math.max(t,n,r);e.setLayout({value:i},!0)}))}function d(e,t,n,r,i,o,a){for(var s=[],l=[],c=[],u=[],d=0,h=0,p=0;p<t.length;p++)s[p]=1;for(p=0;p<e.length;p++)l[p]=e[p].inEdges.length,0===l[p]&&c.push(e[p]);var g=-1;while(c.length){for(var m=0;m<c.length;m++){var v=c[m],y=v.hostGraph.data.getRawDataItem(v.dataIndex),b=null!=y.depth&&y.depth>=0;b&&y.depth>g&&(g=y.depth),v.setLayout({depth:b?y.depth:d},!0),"vertical"===o?v.setLayout({dy:n},!0):v.setLayout({dx:n},!0);for(var _=0;_<v.outEdges.length;_++){var w=v.outEdges[_],x=t.indexOf(w);s[x]=0;var C=w.node2,S=e.indexOf(C);0===--l[S]&&u.indexOf(C)<0&&u.push(C)}}++d,c=u,u=[]}for(p=0;p<s.length;p++)if(1===s[p])throw new Error("Sankey is a DAG, the original data has cycle!");var k=g>d-1?g:d-1;a&&"left"!==a&&f(e,a,o,k);h="vertical"===o?(i-n)/k:(r-n)/k;A(e,h,o)}function h(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function f(e,t,n,r){if("right"===t){var o=[],a=e,s=0;while(a.length){for(var l=0;l<a.length;l++){var c=a[l];c.setLayout({skNodeHeight:s},!0);for(var u=0;u<c.inEdges.length;u++){var d=c.inEdges[u];o.indexOf(d.node1)<0&&o.push(d.node1)}}a=o,o=[],++s}i.each(e,(function(e){h(e)||e.setLayout({depth:Math.max(0,r-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&p(e,r)}function p(e,t){i.each(e,(function(e){h(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}function A(e,t,n){i.each(e,(function(e){var r=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:r},!0):e.setLayout({x:r},!0)}))}function g(e,t,n,r,i,o,a){var s=m(e,a);v(s,t,n,r,i,a),y(s,i,n,r,a);for(var l=1;o>0;o--)l*=.99,b(s,l,a),y(s,i,n,r,a),O(s,l,a),y(s,i,n,r,a)}function m(e,t){var n=[],r="vertical"===t?"y":"x",o=a(e,(function(e){return e.getLayout()[r]}));return o.keys.sort((function(e,t){return e-t})),i.each(o.keys,(function(e){n.push(o.buckets.get(e))})),n}function v(e,t,n,r,o,a){var s=1/0;i.each(e,(function(e){var t=e.length,l=0;i.each(e,(function(e){l+=e.getLayout().value}));var c="vertical"===a?(r-(t-1)*o)/l:(n-(t-1)*o)/l;c<s&&(s=c)})),i.each(e,(function(e){i.each(e,(function(e,t){var n=e.getLayout().value*s;"vertical"===a?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))}))})),i.each(t,(function(e){var t=+e.getValue()*s;e.setLayout({dy:t},!0)}))}function y(e,t,n,r,o){var a="vertical"===o?"x":"y";i.each(e,(function(e){var i,s,l;e.sort((function(e,t){return e.getLayout()[a]-t.getLayout()[a]}));for(var c=0,u=e.length,d="vertical"===o?"dx":"dy",h=0;h<u;h++)s=e[h],l=c-s.getLayout()[a],l>0&&(i=s.getLayout()[a]+l,"vertical"===o?s.setLayout({x:i},!0):s.setLayout({y:i},!0)),c=s.getLayout()[a]+s.getLayout()[d]+t;var f="vertical"===o?r:n;if(l=c-t-f,l>0)for(i=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:i},!0):s.setLayout({y:i},!0),c=i,h=u-2;h>=0;--h)s=e[h],l=s.getLayout()[a]+s.getLayout()[d]+t-c,l>0&&(i=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:i},!0):s.setLayout({y:i},!0)),c=s.getLayout()[a]}))}function b(e,t,n){i.each(e.slice().reverse(),(function(e){i.each(e,(function(e){if(e.outEdges.length){var r=E(e.outEdges,_,n)/E(e.outEdges,k,n);if(isNaN(r)){var i=e.outEdges.length;r=i?E(e.outEdges,w,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-S(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-S(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function _(e,t){return S(e.node2,t)*e.getValue()}function w(e,t){return S(e.node2,t)}function x(e,t){return S(e.node1,t)*e.getValue()}function C(e,t){return S(e.node1,t)}function S(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function k(e){return e.getValue()}function E(e,t,n){var r=0,i=e.length,o=-1;while(++o<i){var a=+t.call(e,e[o],n);isNaN(a)||(r+=a)}return r}function O(e,t,n){i.each(e,(function(e){i.each(e,(function(e){if(e.inEdges.length){var r=E(e.inEdges,x,n)/E(e.inEdges,k,n);if(isNaN(r)){var i=e.inEdges.length;r=i?E(e.inEdges,C,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-S(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-S(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function B(e,t){var n="vertical"===t?"x":"y";i.each(e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),i.each(e,(function(e){var t=0,n=0;i.each(e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),i.each(e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}e.exports=s},"giR+":function(e,t,n){"use strict";n("cIOH"),n("QbM5")},gut8:function(e,t){var n={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},r=9;t.ContextCachedBy=n,t.WILL_BE_RESTORED=r},gvm7:function(e,t,n){var r=n("bYtY"),i=n("dqUG");function o(e){this._zr=e.getZr(),this._show=!1,this._hideTimeout}o.prototype={constructor:o,_enterable:!0,update:function(){},show:function(e){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(e,t,n){this.el&&this._zr.remove(this.el);var r={},o=e,a="{marker",s="|}",l=o.indexOf(a);while(l>=0){var c=o.indexOf(s),u=o.substr(l+a.length,c-l-a.length);u.indexOf("sub")>-1?r["marker"+u]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[u],textOffset:[3,0]}:r["marker"+u]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[u]},o=o.substr(c+1),l=o.indexOf("{marker")}this.el=new i({style:{rich:r,text:e,textLineHeight:20,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding")},z:n.get("z")}),this._zr.add(this.el);var d=this;this.el.on("mouseover",(function(){d._enterable&&(clearTimeout(d._hideTimeout),d._show=!0),d._inContent=!0})),this.el.on("mouseout",(function(){d._enterable&&d._show&&d.hideLater(d._hideDelay),d._inContent=!1}))},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el.getBoundingRect();return[e.width,e.height]},moveTo:function(e,t){this.el&&this.el.attr("position",[e,t])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var e=this.getSize();return{width:e[0],height:e[1]}}};var a=o;e.exports=a},gwTy:function(e,t,n){},h1NE:function(e,t){e.exports={indexOf:function(e,t){var n,r;if(Array.prototype.indexOf)return e.indexOf(t);for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},forEach:function(e,t,n){var r,i;if(Array.prototype.forEach)return e.forEach(t,n);for(r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}}},h54F:function(e,t,n){var r=n("ProS"),i=n("YXkt"),o=n("bYtY"),a=n("4NO4"),s=a.defaultEmphasis,l=n("Qxkt"),c=n("7aKB"),u=c.encodeHTML,d=n("I3/A"),h=n("xKMd"),f=r.extendSeriesModel({type:"series.graph",init:function(e){f.superApply(this,"init",arguments);var t=this;function n(){return t._categoriesData}this.legendVisualProvider=new h(n,n),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){f.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){f.superApply(this,"mergeDefaultAndTheme",arguments),s(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var n=e.edges||e.links||[],r=e.data||e.nodes||[],i=this;if(r&&n)return d(r,n,this,!0,o).data;function o(e,n){e.wrapMethod("getItemModel",(function(e){var t=i._categoriesModels,n=e.getShallow("category"),r=t[n];return r&&(r.parentModel=e.parentModel,e.parentModel=r),e}));var r=i.getModel("edgeLabel"),o=new l({label:r.option},r.parentModel,t),a=i.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:a.option}},a.parentModel,t);function c(e){return e=this.parsePath(e),e&&"label"===e[0]?o:e&&"emphasis"===e[0]&&"label"===e[1]?s:this.parentModel}n.wrapMethod("getItemModel",(function(e){return e.customizeGetParent(c),e}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(e,n),o=r.graph.getEdgeByIndex(e),a=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),l=u(l.join(" > ")),i.value&&(l+=" : "+u(i.value)),l}return f.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=o.map(this.option.categories||[],(function(e){return null!=e.value?e:o.extend({value:0},e)})),t=new i(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return f.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&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}}}}),p=f;e.exports=p},h7HQ:function(e,t,n){var r=n("y+Vt"),i=n("T6xi"),o=r.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(e,t){i.buildPath(e,t,!0)}});e.exports=o},h8O9:function(e,t,n){var r=n("bYtY"),i=r.map,o=n("zM3Q"),a=n("7hqr"),s=a.isDimensionStacked;function l(e){return{seriesType:e,plan:o(),reset:function(e){var t=e.getData(),n=e.coordinateSystem,r=e.pipelineContext,o=r.large;if(n){var a=i(n.dimensions,(function(e){return t.mapDimension(e)})).slice(0,2),l=a.length,c=t.getCalculationInfo("stackResultDimension");return s(t,a[0])&&(a[0]=c),s(t,a[1])&&(a[1]=c),l&&{progress:u}}function u(e,t){for(var r=e.end-e.start,i=o&&new Float32Array(r*l),s=e.start,c=0,u=[],d=[];s<e.end;s++){var h;if(1===l){var f=t.get(a[0],s);h=!isNaN(f)&&n.dataToPoint(f,null,d)}else{f=u[0]=t.get(a[0],s);var p=u[1]=t.get(a[1],s);h=!isNaN(f)&&!isNaN(p)&&n.dataToPoint(u,null,d)}o?(i[c++]=h?h[0]:NaN,i[c++]=h?h[1]:NaN):t.setItemLayout(s,h&&h.slice()||[NaN,NaN])}o&&t.setLayout("symbolPoints",i)}}}}e.exports=l},hD7B:function(e,t,n){var r=n("bYtY"),i=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function o(e){r.each(i,(function(t){this[t]=r.bind(e[t],e)}),this)}var a=o;e.exports=a},hFmY:function(e,t,n){var r=n("ProS"),i={type:"axisAreaSelect",event:"axisAreaSelected"};r.registerAction(i,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),r.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))},hJvP:function(e,t,n){var r=n("2dDv"),i=n("IDmD");function o(e,t){var n=[];return e.eachComponent("parallel",(function(i,o){var a=new r(i,e,t);a.name="parallel_"+o,a.resize(i,t),i.coordinateSystem=a,a.model=i,n.push(a)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}i.register("parallel",{create:o})},hM6l:function(e,t,n){var r=n("bYtY"),i=r.each,o=r.map,a=n("OELB"),s=a.linearMap,l=a.getPixelPrecision,c=a.round,u=n("4HMb"),d=u.createAxisTicks,h=u.createAxisLabels,f=u.calculateCategoryInterval,p=[0,1],A=function(e,t,n){this.dim=e,this.scale=t,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function g(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function m(e,t,n,r){var o=t.length;if(e.onBand&&!n&&o){var a,s,l=e.getExtent();if(1===o)t[0].coord=l[0],a=t[1]={coord:l[0]};else{var u=t[o-1].tickValue-t[0].tickValue,d=(t[o-1].coord-t[0].coord)/u;i(t,(function(e){e.coord-=d/2}));var h=e.scale.getExtent();s=1+h[1]-t[o-1].tickValue,a={coord:t[o-1].coord+d*s},t.push(a)}var f=l[0]>l[1];p(t[0].coord,l[0])&&(r?t[0].coord=l[0]:t.shift()),r&&p(l[0],t[0].coord)&&t.unshift({coord:l[0]}),p(l[1],a.coord)&&(r?a.coord=l[1]:t.pop()),r&&p(a.coord,l[1])&&t.push({coord:l[1]})}function p(e,t){return e=c(e),t=c(t),f?e>t:e<t}}A.prototype={constructor:A,contain:function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},containData:function(e){return this.scale.contain(e)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return l(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var n=this._extent;n[0]=e,n[1]=t},dataToCoord:function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&(n=n.slice(),g(n,r.count())),s(e,p,n,t)},coordToData:function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),g(n,r.count()));var i=s(e,n,p,t);return this.scale.scale(i)},pointToData:function(e,t){},getTicksCoords:function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=d(this,t),r=n.ticks,i=o(r,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this),a=t.get("alignWithLabel");return m(this,i,a,e.clamp),i},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var n=this.scale.getMinorTicks(t),r=o(n,(function(e){return o(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this);return r},getViewLabels:function(){return h(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var v=A;e.exports=v},hNWo:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("Qxkt"),a=n("4NO4"),s=a.isNameSpecified,l=n("Kagy"),c=l.legend.selector,u={all:{type:"all",title:i.clone(c.all)},inverse:{type:"inverse",title:i.clone(c.inverse)}},d=r.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},mergeOption:function(e){d.superCall(this,"mergeOption",e),this._updateSelector(e)},_updateSelector:function(e){var t=e.selector;!0===t&&(t=e.selector=["all","inverse"]),i.isArray(t)&&i.each(t,(function(e,n){i.isString(e)&&(e={type:e}),t[n]=i.merge(e,u[e.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var r=e[n].get("name");if(this.isSelected(r)){this.select(r),t=!0;break}}!t&&this.select(e[0].get("name"))}},_updateData:function(e){var t=[],n=[];e.eachRawSeries((function(r){var i,o=r.name;if(n.push(o),r.legendVisualProvider){var a=r.legendVisualProvider,l=a.getAllNames();e.isSeriesFiltered(r)||(n=n.concat(l)),l.length?t=t.concat(l):i=!0}else i=!0;i&&s(r)&&t.push(r.name)})),this._availableNames=n;var r=this.get("data")||t,a=i.map(r,(function(e){return"string"!==typeof e&&"number"!==typeof e||(e={name:e}),new o(e,this,this.ecModel)}),this);this._data=a},getData:function(){return this._data},select:function(e){var t=this.option.selected,n=this.get("selectedMode");if("single"===n){var r=this._data;i.each(r,(function(e){t[e.get("name")]=!1}))}t[e]=!0},unSelect:function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},toggleSelected:function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},allSelect:function(){var e=this._data,t=this.option.selected;i.each(e,(function(e){t[e.get("name",!0)]=!0}))},inverseSelect:function(){var e=this._data,t=this.option.selected;i.each(e,(function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]}))},isSelected:function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&i.indexOf(this._availableNames,e)>=0},getOrient:function(){return"vertical"===this.get("orient")?{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}}}),h=d;e.exports=h},hOwI:function(e,t){var n=Math.log(2);function r(e,t,i,o,a,s){var l=o+"-"+a,c=e.length;if(s.hasOwnProperty(l))return s[l];if(1===t){var u=Math.round(Math.log((1<<c)-1&~a)/n);return e[i][u]}var d=o|1<<i,h=i+1;while(o&1<<h)h++;for(var f=0,p=0,A=0;p<c;p++){var g=1<<p;g&a||(f+=(A%2?-1:1)*e[i][p]*r(e,t-1,h,d,a|g,s),A++)}return s[l]=f,f}function i(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],i={},o=r(n,8,0,0,0,i);if(0!==o){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*r(n,7,0===s?1:0,1<<s,1<<l,i)/o*t[s];return function(e,t,n){var r=t*a[6]+n*a[7]+1;e[0]=(t*a[0]+n*a[1]+a[2])/r,e[1]=(t*a[3]+n*a[4]+a[5])/r}}}t.buildTransformer=i},hX1E:function(e,t){var n=2*Math.PI;function r(e){return e%=n,e<0&&(e+=n),e}t.normalizeRadian=r},hXwI:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=function(){function e(){r(this,e)}return o(e,[{key:"decodeRect",value:function(e,t,n,r,i,o,a){if(i.rQwait("COPYRECT",4))return!1;var s=i.rQshift16(),l=i.rQshift16();return o.copyImage(s,l,e,t,n,r),!0}}]),e}();t["default"]=a},hi0g:function(e,t,n){var r=n("bYtY"),i=r.createHashMap,o=r.each,a=r.isString,s=r.defaults,l=r.extend,c=r.isObject,u=r.clone,d=n("4NO4"),h=d.normalizeToArray,f=n("D5nY"),p=f.guessOrdinal,A=f.BE_ORDINAL,g=n("7G+c"),m=n("L0Ub"),v=m.OTHER_DIMENSIONS,y=n("Vi4m");function b(e,t,n){g.isInstance(t)||(t=g.seriesDataToSource(t)),n=n||{},e=(e||[]).slice();for(var r=(n.dimsDef||[]).slice(),d=i(),f=i(),m=[],b=_(t,e,r,n.dimCount),x=0;x<b;x++){var C=r[x]=l({},c(r[x])?r[x]:{name:r[x]}),S=C.name,k=m[x]=new y;null!=S&&null==d.get(S)&&(k.name=k.displayName=S,d.set(S,x)),null!=C.type&&(k.type=C.type),null!=C.displayName&&(k.displayName=C.displayName)}var E=n.encodeDef;!E&&n.encodeDefaulter&&(E=n.encodeDefaulter(t,b)),E=i(E),E.each((function(e,t){if(e=h(e).slice(),1===e.length&&!a(e[0])&&e[0]<0)E.set(t,!1);else{var n=E.set(t,[]);o(e,(function(e,r){a(e)&&(e=d.get(e)),null!=e&&e<b&&(n[r]=e,B(m[e],t,r))}))}}));var O=0;function B(e,t,n){null!=v.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,f.set(t,!0))}o(e,(function(e,t){var n,r,i;if(a(e))n=e,e={};else{n=e.name;var l=e.ordinalMeta;e.ordinalMeta=null,e=u(e),e.ordinalMeta=l,r=e.dimsDef,i=e.otherDims,e.name=e.coordDim=e.coordDimIndex=e.dimsDef=e.otherDims=null}var d=E.get(n);if(!1!==d){d=h(d);if(!d.length)for(var f=0;f<(r&&r.length||1);f++){while(O<m.length&&null!=m[O].coordDim)O++;O<m.length&&d.push(O++)}o(d,(function(t,o){var a=m[t];if(B(s(a,e),n,o),null==a.name&&r){var l=r[o];!c(l)&&(l={name:l}),a.name=a.displayName=l.name,a.defaultTooltip=l.defaultTooltip}i&&s(a.otherDims,i)}))}}));var M=n.generateCoord,T=n.generateCoordCount,I=null!=T;T=M?T||1:0;for(var L=M||"value",D=0;D<b;D++){k=m[D]=m[D]||new y;var P=k.coordDim;null==P&&(k.coordDim=w(L,f,I),k.coordDimIndex=0,(!M||T<=0)&&(k.isExtraCoord=!0),T--),null==k.name&&(k.name=w(k.coordDim,d)),null!=k.type||p(t,D,k.name)!==A.Must&&(!k.isExtraCoord||null==k.otherDims.itemName&&null==k.otherDims.seriesName)||(k.type="ordinal")}return m}function _(e,t,n,r){var i=Math.max(e.dimensionsDetectCount||1,t.length,n.length,r||0);return o(t,(function(e){var t=e.dimsDef;t&&(i=Math.max(i,t.length))})),i}function w(e,t,n){if(n||null!=t.get(e)){var r=0;while(null!=t.get(e+r))r++;e+=r}return t.set(e,!0),e}var x=b;e.exports=x},hkKa:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("J4zp"),i=n.n(r),o=n("q1tI");function a(){var e=o["useReducer"]((function(e){return e+1}),0),t=i()(e,2),n=t[1];return n}},hw6D:function(e,t,n){var r=n("bYtY");function i(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],i=e.coordinateSystem;if(i){var s=i.getIndicatorAxes();r.each(s,(function(e,r){t.each(t.mapDimension(s[r].dim),(function(e,t){n[t]=n[t]||[];var s=i.dataToPoint(e,r);n[t][r]=o(s)?s:a(i)}))})),t.each((function(e){var s=r.find(n[e],(function(e){return o(e)}))||a(i);n[e].push(s.slice()),t.setItemLayout(e,n[e])}))}}))}function o(e){return!isNaN(e[0])&&!isNaN(e[1])}function a(e){return[e.cx,e.cy]}e.exports=i},hwYd:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("Nu4q")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="PictureTwoTone";var h=a.forwardRef(d);t.default=h},hydK:function(e,t){var n="http://www.w3.org/2000/svg";function r(e){return document.createElementNS(n,e)}t.createElement=r},hyiK:function(e,t){function n(e,t,n,r,i,o){if(o>t&&o>r||o<t&&o<r)return 0;if(r===t)return 0;var a=r<t?1:-1,s=(o-t)/(r-t);1!==s&&0!==s||(a=r<t?.5:-.5);var l=s*(n-e)+e;return l===i?1/0:l>i?a:0}e.exports=n},i38C:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=i.createHashMap,a=(i.retrieve,i.each);function s(e){this.coordSysName=e,this.coordSysDims=[],this.axisMap=o(),this.categoryAxisMap=o(),this.firstCategoryDimIndex=null}function l(e){var t=e.get("coordinateSystem"),n=new s(t),r=c[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var c={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis")[0],o=e.getReferringComponents("yAxis")[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),u(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),u(o)&&(r.set("y",o),t.firstCategoryDimIndex,t.firstCategoryDimIndex=1)},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis")[0];t.coordSysDims=["single"],n.set("single",i),u(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar")[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),u(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),u(a)&&(r.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),s=t.coordSysDims=o.dimensions.slice();a(o.parallelAxisIndex,(function(e,o){var a=i.getComponent("parallelAxis",e),l=s[o];n.set(l,a),u(a)&&null==t.firstCategoryDimIndex&&(r.set(l,a),t.firstCategoryDimIndex=o)}))}};function u(e){return"category"===e.get("type")}t.getCoordSysInfoBySeries=l},i6bk:function(e,t,n){"use strict";function r(e){return null!==e&&void 0!==e&&e===e.window}function i(e,t){if("undefined"===typeof window)return 0;var n=t?"scrollTop":"scrollLeft",i=0;return r(e)?i=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?i=e.documentElement[n]:e&&(i=e[n]),e&&!r(e)&&"number"!==typeof i&&(i=(e.ownerDocument||e).documentElement[n]),i}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))},i8CU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("Fm1+"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},iLNv:function(e,t){var n="\0__throttleOriginMethod",r="\0__throttleRate",i="\0__throttleType";function o(e,t,n){var r,i,o,a,s,l=0,c=0,u=null;function d(){c=(new Date).getTime(),u=null,e.apply(o,a||[])}t=t||0;var h=function(){r=(new Date).getTime(),o=this,a=arguments;var e=s||t,h=s||n;s=null,i=r-(h?l:c)-e,clearTimeout(u),h?u=setTimeout(d,e):i>=0?d():u=setTimeout(d,-i),l=r};return h.clear=function(){u&&(clearTimeout(u),u=null)},h.debounceNextCall=function(e){s=e},h}function a(e,t,a,s){var l=e[t];if(l){var c=l[n]||l,u=l[i],d=l[r];if(d!==a||u!==s){if(null==a||!s)return e[t]=c;l=e[t]=o(c,a,"debounce"===s),l[n]=c,l[i]=s,l[r]=a}return l}}function s(e,t){var r=e[t];r&&r[n]&&(e[t]=r[n])}t.throttle=o,t.createOrUpdate=a,t.clear=s},iPDy:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=r.extendComponentView({type:"marker",init:function(){this.markerGroupMap=i.createHashMap()},render:function(e,t,n){var r=this.markerGroupMap;r.each((function(e){e.__keep=!1}));var i=this.type+"Model";t.eachSeries((function(e){var r=e[i];r&&this.renderSeries(e,r,t,n)}),this),r.each((function(e){!e.__keep&&this.group.remove(e.group)}),this)},renderSeries:function(){}});e.exports=o},iQDF:function(e,t,n){"use strict";n("ZTW2"),n("+BJd"),n("+L6B")},iRjW:function(e,t,n){var r=n("bYtY"),i=n("Yl7c"),o=i.parseClassType,a=0;function s(e){return[e||"",a++,Math.random().toFixed(5)].join("_")}function l(e){var t={};return e.registerSubTypeDefaulter=function(e,n){e=o(e),t[e.main]=n},e.determineSubType=function(n,r){var i=r.type;if(!i){var a=o(n).main;e.hasSubTypes(n)&&t[a]&&(i=t[a](r))}return i},e}function c(e,t){function n(e){var n={},a=[];return r.each(e,(function(s){var l=i(n,s),c=l.originalDeps=t(s),u=o(c,e);l.entryCount=u.length,0===l.entryCount&&a.push(s),r.each(u,(function(e){r.indexOf(l.predecessor,e)<0&&l.predecessor.push(e);var t=i(n,e);r.indexOf(t.successor,e)<0&&t.successor.push(s)}))})),{graph:n,noEntryList:a}}function i(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function o(e,t){var n=[];return r.each(e,(function(e){r.indexOf(t,e)>=0&&n.push(e)})),n}e.topologicalTravel=function(e,t,i,o){if(e.length){var a=n(t),s=a.graph,l=a.noEntryList,c={};r.each(e,(function(e){c[e]=!0}));while(l.length){var u=l.pop(),d=s[u],h=!!c[u];h&&(i.call(o,u,d.originalDeps.slice()),delete c[u]),r.each(d.successor,h?p:f)}r.each(c,(function(){throw new Error("Circle dependency may exists")}))}function f(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function p(e){c[e]=!0,f(e)}}}t.getUID=s,t.enableSubTypeDefaulter=l,t.enableTopologicalTravel=c},iUHT:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a,s,l,c,u,d,h=[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],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],p=0;a=65536,s=1<<24,l=a|s,c=4,u=1024,d=c|u;var A=[l|u,p|p,a|p,l|d,l|c,a|d,p|c,a|p,p|u,l|u,l|d,p|u,s|d,l|c,s|p,p|c,p|d,s|u,s|u,a|u,a|u,l|p,l|p,s|d,a|c,s|c,s|c,a|c,p|p,p|d,a|d,s|p,a|p,l|d,p|c,l|p,l|u,s|p,s|p,p|u,l|c,a|p,a|u,s|c,p|u,p|c,s|d,a|d,l|d,a|c,l|p,s|d,s|c,p|d,a|d,l|u,p|d,s|u,s|u,p|p,a|c,a|u,p|p,l|c];a=1<<20,s=1<<31,l=a|s,c=32,u=32768,d=c|u;var g=[l|d,s|u,p|u,a|d,a|p,p|c,l|c,s|d,s|c,l|d,l|u,s|p,s|u,a|p,p|c,l|c,a|u,a|c,s|d,p|p,s|p,p|u,a|d,l|p,a|c,s|c,p|p,a|u,p|d,l|u,l|p,p|d,p|p,a|d,l|c,a|p,s|d,l|p,l|u,p|u,l|p,s|u,p|c,l|d,a|d,p|c,p|u,s|p,p|d,l|u,a|p,s|c,a|c,s|d,s|c,a|c,a|u,p|p,s|u,p|d,s|p,l|c,l|d,a|u];a=1<<17,s=1<<27,l=a|s,c=8,u=512,d=c|u;var m=[p|d,l|u,p|p,l|c,s|u,p|p,a|d,s|u,a|c,s|c,s|c,a|p,l|d,a|c,l|p,p|d,s|p,p|c,l|u,p|u,a|u,l|p,l|c,a|d,s|d,a|u,a|p,s|d,p|c,l|d,p|u,s|p,l|u,s|p,a|c,p|d,a|p,l|u,s|u,p|p,p|u,a|c,l|d,s|u,s|c,p|u,p|p,l|c,s|d,a|p,s|p,l|d,p|c,a|d,a|u,s|c,l|p,s|d,p|d,l|p,a|d,p|c,l|c,a|u];a=8192,s=1<<23,l=a|s,c=1,u=128,d=c|u;var v=[l|c,a|d,a|d,p|u,l|u,s|d,s|c,a|c,p|p,l|p,l|p,l|d,p|d,p|p,s|u,s|c,p|c,a|p,s|p,l|c,p|u,s|p,a|c,a|u,s|d,p|c,a|u,s|u,a|p,l|u,l|d,p|d,s|u,s|c,l|p,l|d,p|d,p|p,p|p,l|p,a|u,s|u,s|d,p|c,l|c,a|d,a|d,p|u,l|d,p|d,p|c,a|p,s|c,a|c,l|u,s|d,a|c,a|u,s|p,l|c,p|u,s|p,a|p,l|u];a=1<<25,s=1<<30,l=a|s,c=256,u=1<<19,d=c|u;var y=[p|c,a|d,a|u,l|c,p|u,p|c,s|p,a|u,s|d,p|u,a|c,s|d,l|c,l|u,p|d,s|p,a|p,s|u,s|u,p|p,s|c,l|d,l|d,a|c,l|u,s|c,p|p,l|p,a|d,a|p,l|p,p|d,p|u,l|c,p|c,a|p,s|p,a|u,l|c,s|d,a|c,s|p,l|u,a|d,s|d,p|c,a|p,l|u,l|d,p|d,l|p,l|d,a|u,p|p,s|u,l|p,p|d,a|c,s|c,p|u,p|p,s|u,a|d,s|c];a=1<<22,s=1<<29,l=a|s,c=16,u=16384,d=c|u;var b=[s|c,l|p,p|u,l|d,l|p,p|c,l|d,a|p,s|u,a|d,a|p,s|c,a|c,s|u,s|p,p|d,p|p,a|c,s|d,p|u,a|u,s|d,p|c,l|c,l|c,p|p,a|d,l|u,p|d,a|u,l|u,s|p,s|u,p|c,l|c,a|u,l|d,a|p,p|d,s|c,a|p,s|u,s|p,p|d,s|c,l|d,a|u,l|p,a|d,l|u,p|p,l|c,p|c,p|u,l|p,a|d,p|u,a|c,s|d,p|p,l|u,s|p,a|c,s|d];a=1<<21,s=1<<26,l=a|s,c=2,u=2048,d=c|u;var _=[a|p,l|c,s|d,p|p,p|u,s|d,a|d,l|u,l|d,a|p,p|p,s|c,p|c,s|p,l|c,p|d,s|u,a|d,a|c,s|u,s|c,l|p,l|u,a|c,l|p,p|u,p|d,l|d,a|u,p|c,s|p,a|u,s|p,a|u,a|p,s|d,s|d,l|c,l|c,p|c,a|c,s|p,s|u,a|p,l|u,p|d,a|d,l|u,p|d,s|c,l|d,l|p,a|u,p|p,p|c,l|d,p|p,a|d,l|p,p|u,s|c,s|u,p|u,a|c];a=1<<18,s=1<<28,l=a|s,c=64,u=4096,d=c|u;var w=[s|d,p|u,a|p,l|d,s|p,s|d,p|c,s|p,a|c,l|p,l|d,a|u,l|u,a|d,p|u,p|c,l|p,s|c,s|u,p|d,a|u,a|c,l|c,l|u,p|d,p|p,p|p,l|c,s|c,s|u,a|d,a|p,a|d,a|p,l|u,p|u,p|c,l|c,p|u,a|d,s|u,p|c,s|c,l|p,l|c,s|p,a|p,s|d,p|p,l|d,a|c,s|c,l|p,s|u,s|d,p|p,l|d,a|u,a|u,p|d,p|d,a|c,s|p,l|u],x=function(){function e(t){r(this,e),this.keys=[];for(var n=[],i=[],o=[],a=0,s=56;a<56;++a,s-=8){s+=s<-5?65:s<-3?31:s<-1?63:27===s?35:0;var l=7&s;n[a]=0!==(t[s>>>3]&1<<l)?1:0}for(var c=0;c<16;++c){var u=c<<1,d=u+1;o[u]=o[d]=0;for(var p=28;p<59;p+=28)for(var A=p-28;A<p;++A){var g=A+f[c];i[A]=g<p?n[g]:n[g-28]}for(var m=0;m<24;++m)0!==i[h[m]]&&(o[u]|=1<<23-m),0!==i[h[m+24]]&&(o[d]|=1<<23-m)}for(var v=0,y=0,b=0;v<16;++v){var _=o[y++],w=o[y++];this.keys[b]=(16515072&_)<<6,this.keys[b]|=(4032&_)<<10,this.keys[b]|=(16515072&w)>>>10,this.keys[b]|=(4032&w)>>>6,++b,this.keys[b]=(258048&_)<<12,this.keys[b]|=(63&_)<<16,this.keys[b]|=(258048&w)>>>4,this.keys[b]|=63&w,++b}}return o(e,[{key:"enc8",value:function(e){var t,n,r,i=e.slice(),o=0;t=i[o++]<<24|i[o++]<<16|i[o++]<<8|i[o++],n=i[o++]<<24|i[o++]<<16|i[o++]<<8|i[o++],r=252645135&(t>>>4^n),n^=r,t^=r<<4,r=65535&(t>>>16^n),n^=r,t^=r<<16,r=858993459&(n>>>2^t),t^=r,n^=r<<2,r=16711935&(n>>>8^t),t^=r,n^=r<<8,n=n<<1|n>>>31&1,r=2863311530&(t^n),t^=r,n^=r,t=t<<1|t>>>31&1;for(var a=0,s=0;a<8;++a){r=n<<28|n>>>4,r^=this.keys[s++];var l=_[63&r];l|=y[r>>>8&63],l|=m[r>>>16&63],l|=A[r>>>24&63],r=n^this.keys[s++],l|=w[63&r],l|=b[r>>>8&63],l|=v[r>>>16&63],l|=g[r>>>24&63],t^=l,r=t<<28|t>>>4,r^=this.keys[s++],l=_[63&r],l|=y[r>>>8&63],l|=m[r>>>16&63],l|=A[r>>>24&63],r=t^this.keys[s++],l|=w[63&r],l|=b[r>>>8&63],l|=v[r>>>16&63],l|=g[r>>>24&63],n^=l}for(n=n<<31|n>>>1,r=2863311530&(t^n),t^=r,n^=r,t=t<<31|t>>>1,r=16711935&(t>>>8^n),n^=r,t^=r<<8,r=858993459&(t>>>2^n),n^=r,t^=r<<2,r=65535&(n>>>16^t),t^=r,n^=r<<16,r=252645135&(n>>>4^t),t^=r,n^=r<<4,r=[n,t],o=0;o<8;o++)i[o]=(r[o>>>2]>>>8*(3-o%4))%256,i[o]<0&&(i[o]+=256);return i}},{key:"encrypt",value:function(e){return this.enc8(e.slice(0,8)).concat(this.enc8(e.slice(8,16)))}}]),e}();t["default"]=x},iXHM:function(e,t){var n="";"undefined"!==typeof navigator&&(n=navigator.platform||"");var r={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.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};e.exports=r},iXp4:function(e,t,n){var r=n("ItGF"),i=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function o(e){return r.browser.ie&&r.browser.version>=11?function(){var t,n=this.__clipPaths,r=this.style;if(n)for(var o=0;o<n.length;o++){var a=n[o],s=a&&a.shape,l=a&&a.type;if(s&&("sector"===l&&s.startAngle===s.endAngle||"rect"===l&&(!s.width||!s.height))){for(var c=0;c<i.length;c++)i[c][2]=r[i[c][0]],r[i[c][0]]=i[c][1];t=!0;break}}if(e.apply(this,arguments),t)for(c=0;c<i.length;c++)r[i[c][0]]=i[c][2]}:e}e.exports=o},iYpf:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("ZLWo")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="FolderOpenOutlined";var h=a.forwardRef(d);t.default=h},ieMj:function(e,t,n){var r=n("OELB"),i=n("7aKB"),o=n("4NgU"),a=n("lE7J"),s=r.round,l=o.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},unionExtent:function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),l.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=a.getIntervalPrecision(e)},getTicks:function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!t)return o;var a=1e4;n[0]<r[0]&&(e?o.push(s(r[0]-t,i)):o.push(n[0]));var l=r[0];while(l<=r[1]){if(o.push(l),l=s(l+t,i),l===o[o.length-1])break;if(o.length>a)return[]}var c=o.length?o[o.length-1]:r[1];return n[1]>c&&(e?o.push(s(c+t,i)):o.push(n[1])),o},getMinorTicks:function(e){for(var t=this.getTicks(!0),n=[],i=this.getExtent(),o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=0,c=[],u=a-s,d=u/e;while(l<e-1){var h=r.round(s+(l+1)*d);h>i[0]&&h<i[1]&&c.push(h),l++}n.push(c)}return n},getLabel:function(e,t){if(null==e)return"";var n=t&&t.precision;return null==n?n=r.getPrecisionSafe(e)||0:"auto"===n&&(n=this._intervalPrecision),e=s(e,n,!0),i.addCommas(e)},niceTicks:function(e,t,n){e=e||5;var r=this._extent,i=r[1]-r[0];if(isFinite(i)){i<0&&(i=-i,r.reverse());var o=a.intervalScaleNiceTicks(r,e,t,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},niceExtent:function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=t[0];e.fixMax||(t[1]+=n/2),t[0]-=n/2}else t[1]=1;var r=t[1]-t[0];isFinite(r)||(t[0]=0,t[1]=1),this.niceTicks(e.splitNumber,e.minInterval,e.maxInterval);var i=this._interval;e.fixMin||(t[0]=s(Math.floor(t[0]/i)*i)),e.fixMax||(t[1]=s(Math.ceil(t[1]/i)*i))}});l.create=function(){return new l};var c=l;e.exports=c},j5sG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r=i(n("NohK"));function i(e){return e&&e.__esModule?e:{default:e}}var o=function(e){var t=void 0,n=[],i=(0,r["default"])((function(){n.forEach((function(t){t(e)}))})),o=function(){var t=new ResizeObserver(i);return t.observe(e),i(),t},a=function(e){t||(t=o()),-1===n.indexOf(e)&&n.push(e)},s=function(){t.disconnect(),n=[],t=void 0},l=function(e){var r=n.indexOf(e);-1!==r&&n.splice(r,1),0===n.length&&t&&s()};return{element:e,bind:a,destroy:s,unbind:l}};t.createSensor=o},jCWc:function(e,t,n){"use strict";n("cIOH"),n("1GLa")},jCoz:function(e,t,n){var r=n("bYtY"),i=n("4NgU"),o=n("OELB"),a=n("ieMj"),s=i.prototype,l=a.prototype,c=o.getPrecisionSafe,u=o.round,d=Math.floor,h=Math.ceil,f=Math.pow,p=Math.log,A=i.extend({type:"log",base:10,$constructor:function(){i.apply(this,arguments),this._originalScale=new a},getTicks:function(e){var t=this._originalScale,n=this._extent,i=t.getExtent();return r.map(l.getTicks.call(this,e),(function(e){var r=o.round(f(this.base,e));return r=e===n[0]&&t.__fixMin?g(r,i[0]):r,r=e===n[1]&&t.__fixMax?g(r,i[1]):r,r}),this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(e){return e=s.scale.call(this,e),f(this.base,e)},setExtent:function(e,t){var n=this.base;e=p(e)/p(n),t=p(t)/p(n),l.setExtent.call(this,e,t)},getExtent:function(){var e=this.base,t=s.getExtent.call(this);t[0]=f(e,t[0]),t[1]=f(e,t[1]);var n=this._originalScale,r=n.getExtent();return n.__fixMin&&(t[0]=g(t[0],r[0])),n.__fixMax&&(t[1]=g(t[1],r[1])),t},unionExtent:function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=p(e[0])/p(t),e[1]=p(e[1])/p(t),s.unionExtent.call(this,e)},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},niceTicks:function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r=o.quantity(n),i=e/n*r;i<=.5&&(r*=10);while(!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0)r*=10;var a=[o.round(h(t[0]/r)*r),o.round(d(t[1]/r)*r)];this._interval=r,this._niceExtent=a}},niceExtent:function(e){l.niceExtent.call(this,e);var t=this._originalScale;t.__fixMin=e.fixMin,t.__fixMax=e.fixMax}});function g(e,t){return u(e,c(t))}r.each(["contain","normalize"],(function(e){A.prototype[e]=function(t){return t=p(t)/p(this.base),s[e].call(this,t)}})),A.create=function(){return new A};var m=A;e.exports=m},jN4g:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="CloseCircleFilled";t["a"]=i["forwardRef"](l)},jO45:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="CheckCircleFilled";t["a"]=i["forwardRef"](l)},jTL6:function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r,0),o=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(o),c=Math.sin(o);e.moveTo(l*i+n,c*i+r),e.arc(n,r,i,o,a,!s)}});e.exports=i},je13:function(e,t,n){var r=n("5nXd"),i=n("gRFJ"),o=[n("uQRt")];e.exports=r.createStore(i,o)},jett:function(e,t,n){var r=n("ProS");n("VSLf"),n("oBaM"),n("FGaS");var i=n("mOdp"),o=n("f5Yq"),a=n("hw6D"),s=n("0/Rx"),l=n("eJH7");r.registerVisual(i("radar")),r.registerVisual(o("radar","circle")),r.registerLayout(a),r.registerProcessor(s("radar")),r.registerPreprocessor(l)},jhfD:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="ArrowLeftOutlined";t["a"]=i["forwardRef"](l)},jkPA:function(e,t,n){var r=n("bYtY"),i=r.createHashMap,o=r.isObject,a=r.map;function s(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this._map}s.createByAxisModel=function(e){var t=e.option,n=t.data,r=n&&a(n,u);return new s({categories:r,needCollect:!r,deduplication:!1!==t.dedplication})};var l=s.prototype;function c(e){return e._map||(e._map=i(e.categories))}function u(e){return o(e)&&null!=e.value?e.value:e+""}l.getOrdinal=function(e){return c(this).get(e)},l.parseAndCollect=function(e){var t,n=this._needCollect;if("string"!==typeof e&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var r=c(this);return t=r.get(e),null==t&&(n?(t=this.categories.length,this.categories[t]=e,r.set(e,t)):t=NaN),t};var d=s;e.exports=d},jndi:function(e,t,n){var r=n("bYtY"),i=n("Qe9p"),o=n("YXkt"),a=n("OELB"),s=n("IwbS"),l=n("kj2x"),c=n("iPDy"),u=function(e,t,n,i){var o=l.dataTransform(e,i[0]),a=l.dataTransform(e,i[1]),s=r.retrieve,c=o.coord,u=a.coord;c[0]=s(c[0],-1/0),c[1]=s(c[1],-1/0),u[0]=s(u[0],1/0),u[1]=s(u[1],1/0);var d=r.mergeAll([{},o,a]);return d.coord=[o.coord,a.coord],d.x0=o.x,d.y0=o.y,d.x1=a.x,d.y1=a.y,d};function d(e){return!isNaN(e)&&!isFinite(e)}function h(e,t,n,r){var i=1-e;return d(t[i])&&d(n[i])}function f(e,t){var n=t.coord[0],r=t.coord[1];return!("cartesian2d"!==e.type||!n||!r||!h(1,n,r,e)&&!h(0,n,r,e))||(l.dataFilter(e,{coord:n,x:t.x0,y:t.y0})||l.dataFilter(e,{coord:r,x:t.x1,y:t.y1}))}function p(e,t,n,r,i){var o,s=r.coordinateSystem,l=e.getItemModel(t),c=a.parsePercent(l.get(n[0]),i.getWidth()),u=a.parsePercent(l.get(n[1]),i.getHeight());if(isNaN(c)||isNaN(u)){if(r.getMarkerPosition)o=r.getMarkerPosition(e.getValues(n,t));else{var h=e.get(n[0],t),f=e.get(n[1],t),p=[h,f];s.clampData&&s.clampData(p,p),o=s.dataToPoint(p,!0)}if("cartesian2d"===s.type){var A=s.getAxis("x"),g=s.getAxis("y");h=e.get(n[0],t),f=e.get(n[1],t);d(h)?o[0]=A.toGlobalCoord(A.getExtent()["x0"===n[0]?0:1]):d(f)&&(o[1]=g.toGlobalCoord(g.getExtent()["y0"===n[1]?0:1]))}isNaN(c)||(o[0]=c),isNaN(u)||(o[1]=u)}else o=[c,u];return o}var A=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function g(e,t,n){var i,a,s=["x0","y0","x1","y1"];e?(i=r.map(e&&e.dimensions,(function(e){var n=t.getData(),i=n.getDimensionInfo(n.mapDimension(e))||{};return r.defaults({name:e},i)})),a=new o(r.map(s,(function(e,t){return{name:e,type:i[t%2].type}})),n)):(i=[{name:"value",type:"float"}],a=new o(i,n));var l=r.map(n.get("data"),r.curry(u,t,e,n));e&&(l=r.filter(l,r.curry(f,e)));var c=e?function(e,t,n,r){return e.coord[Math.floor(r/2)][r%2]}:function(e){return e.value};return a.initData(l,null,c),a.hasItemOption=!0,a}c.extend({type:"markArea",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markAreaModel;if(t){var i=t.getData();i.each((function(t){var o=r.map(A,(function(r){return p(i,t,r,e,n)}));i.setItemLayout(t,o);var a=i.getItemGraphicEl(t);a.setShape("points",o)}))}}),this)},renderSeries:function(e,t,n,o){var a=e.coordinateSystem,l=e.id,c=e.getData(),u=this.markerGroupMap,d=u.get(l)||u.set(l,{group:new s.Group});this.group.add(d.group),d.__keep=!0;var h=g(a,e,t);t.setData(h),h.each((function(t){h.setItemLayout(t,r.map(A,(function(n){return p(h,t,n,e,o)}))),h.setItemVisual(t,{color:c.getVisual("color")})})),h.diff(d.__data).add((function(e){var t=new s.Polygon({shape:{points:h.getItemLayout(e)}});h.setItemGraphicEl(e,t),d.group.add(t)})).update((function(e,n){var r=d.__data.getItemGraphicEl(n);s.updateProps(r,{shape:{points:h.getItemLayout(e)}},t,e),d.group.add(r),h.setItemGraphicEl(e,r)})).remove((function(e){var t=d.__data.getItemGraphicEl(e);d.group.remove(t)})).execute(),h.eachItemGraphicEl((function(e,n){var o=h.getItemModel(n),a=o.getModel("label"),l=o.getModel("emphasis.label"),c=h.getItemVisual(n,"color");e.useStyle(r.defaults(o.getModel("itemStyle").getItemStyle(),{fill:i.modifyAlpha(c,.4),stroke:c})),e.hoverStyle=o.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(e.style,e.hoverStyle,a,l,{labelFetcher:t,labelDataIndex:n,defaultText:h.getName(n)||"",isRectText:!0,autoColor:c}),s.setHoverStyle(e,{}),e.dataModel=t})),d.__data=h,d.group.silent=t.get("silent")||e.get("silent")}})},"jsU+":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IUWy"),a=r.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){a.superApply(this,"optionUpdated",arguments),i.each(this.option.feature,(function(e,t){var n=o.get(t);n&&i.merge(e,n.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}}}),s=a;e.exports=s},jtI2:function(e,t,n){n("SMc4");var r=n("bLfw"),i=r.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"}});e.exports=i},juDX:function(e,t,n){n("P47w");var r=n("aX58"),i=r.registerPainter,o=n("3CBa");i("svg",o)},"k+1r":function(e,t,n){var r=n("QkVE");function i(e){var t=r(this,e)["delete"](e);return this.size-=t?1:0,t}e.exports=i},k5C7:function(e,t,n){n("0JAE"),n("g7p0"),n("7mYs")},k9D9:function(e,t){var n="original",r="arrayRows",i="objectRows",o="keyedColumns",a="unknown",s="typedArray",l="column",c="row";t.SOURCE_FORMAT_ORIGINAL=n,t.SOURCE_FORMAT_ARRAY_ROWS=r,t.SOURCE_FORMAT_OBJECT_ROWS=i,t.SOURCE_FORMAT_KEYED_COLUMNS=o,t.SOURCE_FORMAT_UNKNOWN=a,t.SOURCE_FORMAT_TYPED_ARRAY=s,t.SERIES_LAYOUT_BY_COLUMN=l,t.SERIES_LAYOUT_BY_ROW=c},kDyi:function(e,t){function n(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0}))}e.exports=n},kGiB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("ABKa"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},kMLO:function(e,t,n){var r=n("XxSj"),i=n("Qe9p"),o=n("bYtY"),a=o.isArray,s="itemStyle",l={seriesType:"treemap",reset:function(e,t,n,r){var i=e.getData().tree,a=i.root,l=e.getModel(s);if(!a.isRemoved()){var u=o.map(i.levelModels,(function(e){return e?e.get(s):null}));c(a,{},u,l,e.getViewRoot().getAncestors(),e)}}};function c(e,t,n,r,i,a){var l=e.getModel(),f=e.getLayout();if(f&&!f.invisible&&f.isInView){var A,m=e.getModel(s),v=n[e.depth],y=u(m,t,v,r),b=m.get("borderColor"),_=m.get("borderColorSaturation");null!=_&&(A=d(y,e),b=h(_,A)),e.setVisual("borderColor",b);var w=e.viewChildren;if(w&&w.length){var x=p(e,l,f,m,y,w);o.each(w,(function(e,t){if(e.depth>=i.length||e===i[e.depth]){var o=g(l,y,e,t,x,a);c(e,o,n,r,i,a)}}))}else A=d(y,e),e.setVisual("color",A)}}function u(e,t,n,r){var i=o.extend({},t);return o.each(["color","colorAlpha","colorSaturation"],(function(o){var a=e.get(o,!0);null==a&&n&&(a=n[o]),null==a&&(a=t[o]),null==a&&(a=r.get(o)),null!=a&&(i[o]=a)})),i}function d(e){var t=f(e,"color");if(t){var n=f(e,"colorAlpha"),r=f(e,"colorSaturation");return r&&(t=i.modifyHSL(t,null,null,r)),n&&(t=i.modifyAlpha(t,n)),t}}function h(e,t){return null!=t?i.modifyHSL(t,null,null,e):null}function f(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function p(e,t,n,i,o,a){if(a&&a.length){var s=A(t,"color")||null!=o.color&&"none"!==o.color&&(A(t,"colorAlpha")||A(t,"colorSaturation"));if(s){var l=t.get("visualMin"),c=t.get("visualMax"),u=n.dataExtent.slice();null!=l&&l<u[0]&&(u[0]=l),null!=c&&c>u[1]&&(u[1]=c);var d=t.get("colorMappingBy"),h={type:s.name,dataExtent:u,visual:s.range};"color"!==h.type||"index"!==d&&"id"!==d?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var f=new r(h);return f.__drColorMappingBy=d,f}}}function A(e,t){var n=e.get(t);return a(n)&&n.length?{name:t,range:n}:null}function g(e,t,n,r,i,a){var s=o.extend({},t);if(i){var l=i.type,c="color"===l&&i.__drColorMappingBy,u="index"===c?r:"id"===c?a.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));s[l]=i.mapValueToVisual(u)}return s}e.exports=l},kPKH:function(e,t,n){"use strict";var r=n("/kpp");t["a"]=r["a"]},kaz8:function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("PJYZ"),h=n.n(d),f=n("7W2i"),p=n.n(f),A=n("LQ03"),g=n.n(A),m=n("q1tI"),v=n("TSYQ"),y=n.n(v),b=n("x1Ya"),_=n("RIqP"),w=n.n(_),x=n("BGR+"),C=n("H84U"),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},k=m["createContext"](null),E=function(e){p()(n,e);var t=g()(n);function n(e){var r;return l()(this,n),r=t.call(this,e),r.cancelValue=function(e){r.setState((function(t){var n=t.registeredValues;return{registeredValues:n.filter((function(t){return t!==e}))}}))},r.registerValue=function(e){r.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(w()(n),[e])}}))},r.toggleOption=function(e){var t=r.state.registeredValues,n=r.state.value.indexOf(e.value),i=w()(r.state.value);-1===n?i.push(e.value):i.splice(n,1),"value"in r.props||r.setState({value:i});var o=r.props.onChange;if(o){var a=r.getOptions();o(i.filter((function(e){return-1!==t.indexOf(e)})).sort((function(e,t){var n=a.findIndex((function(t){return t.value===e})),r=a.findIndex((function(e){return e.value===t}));return n-r})))}},r.renderGroup=function(e){var t=e.getPrefixCls,n=e.direction,o=h()(r),s=o.props,l=o.state,c=s.prefixCls,u=s.className,d=s.style,f=s.options,p=S(s,["prefixCls","className","style","options"]),A=t("checkbox",c),g="".concat(A,"-group"),v=Object(x["default"])(p,["children","defaultValue","value","onChange","disabled"]),b=s.children;f&&f.length>0&&(b=r.getOptions().map((function(e){return m["createElement"](I,{prefixCls:A,key:e.value.toString(),disabled:"disabled"in e?e.disabled:s.disabled,value:e.value,checked:-1!==l.value.indexOf(e.value),onChange:e.onChange,className:"".concat(g,"-item"),style:e.style},e.label)})));var _={toggleOption:r.toggleOption,value:r.state.value,disabled:r.props.disabled,name:r.props.name,registerValue:r.registerValue,cancelValue:r.cancelValue},w=y()(g,u,i()({},"".concat(g,"-rtl"),"rtl"===n));return m["createElement"]("div",a()({className:w,style:d},v),m["createElement"](k.Provider,{value:_},b))},r.state={value:e.value||e.defaultValue||[],registeredValues:[]},r}return u()(n,[{key:"getOptions",value:function(){var e=this.props.options;return e.map((function(e){return"string"===typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return m["createElement"](C["a"],null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}]),n}(m["PureComponent"]);E.defaultProps={options:[]};var O=E,B=n("uaoM"),M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},T=function(e){p()(n,e);var t=g()(n);function n(){var e;return l()(this,n),e=t.apply(this,arguments),e.saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,r=t.getPrefixCls,o=t.direction,s=h()(e),l=s.props,c=s.context,u=l.prefixCls,d=l.className,f=l.children,p=l.indeterminate,A=l.style,g=l.onMouseEnter,v=l.onMouseLeave,_=M(l,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=c,x=r("checkbox",u),C=a()({},_);w&&(C.onChange=function(){_.onChange&&_.onChange.apply(_,arguments),w.toggleOption({label:f,value:l.value})},C.name=w.name,C.checked=-1!==w.value.indexOf(l.value),C.disabled=l.disabled||w.disabled);var S=y()(d,(n={},i()(n,"".concat(x,"-wrapper"),!0),i()(n,"".concat(x,"-rtl"),"rtl"===o),i()(n,"".concat(x,"-wrapper-checked"),C.checked),i()(n,"".concat(x,"-wrapper-disabled"),C.disabled),n)),k=y()(i()({},"".concat(x,"-indeterminate"),p));return m["createElement"]("label",{className:S,style:A,onMouseEnter:g,onMouseLeave:v},m["createElement"](b["a"],a()({},C,{prefixCls:x,className:k,ref:e.saveCheckbox})),void 0!==f&&m["createElement"]("span",null,f))},e}return u()(n,[{key:"componentDidMount",value:function(){var e,t=this.props.value;null===(e=this.context)||void 0===e||e.registerValue(t),Object(B["a"])("checked"in this.props||this.context||!("value"in this.props),"Checkbox","`value` is not a valid prop, do you mean `checked`?")}},{key:"componentDidUpdate",value:function(e){var t,n,r=e.value,i=this.props.value;i!==r&&(null===(t=this.context)||void 0===t||t.cancelValue(r),null===(n=this.context)||void 0===n||n.registerValue(i))}},{key:"componentWillUnmount",value:function(){var e,t=this.props.value;null===(e=this.context)||void 0===e||e.cancelValue(t)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return m["createElement"](C["a"],null,this.renderCheckbox)}}]),n}(m["PureComponent"]);T.__ANT_CHECKBOX=!0,T.defaultProps={indeterminate:!1},T.contextType=k;var I=T;I.Group=O;t["a"]=I},kekF:function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},kj2x:function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=n("7hqr"),a=o.isDimensionStacked,s=r.indexOf;function l(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function c(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function u(e,t,n,r,o,s){var l=[],c=a(t,r),u=c?t.getCalculationInfo("stackResultDimension"):r,d=v(t,u,e),h=t.indicesOfNearest(u,d)[0];l[o]=t.get(n,h),l[s]=t.get(u,h);var f=t.get(r,h),p=i.getPrecision(t.get(r,h));return p=Math.min(p,20),p>=0&&(l[s]=+l[s].toFixed(p)),[l,f]}var d=r.curry,h={min:d(u,"min"),max:d(u,"max"),average:d(u,"average")};function f(e,t){var n=e.getData(),i=e.coordinateSystem;if(t&&!c(t)&&!r.isArray(t.coord)&&i){var o=i.dimensions,a=p(t,n,i,e);if(t=r.clone(t),t.type&&h[t.type]&&a.baseAxis&&a.valueAxis){var l=s(o,a.baseAxis.dim),u=s(o,a.valueAxis.dim),d=h[t.type](n,a.baseDataDim,a.valueDataDim,l,u);t.coord=d[0],t.value=d[1]}else{for(var f=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],A=0;A<2;A++)h[f[A]]&&(f[A]=v(n,n.mapDimension(o[A]),f[A]));t.coord=f}}return t}function p(e,t,n,r){var i={};return null!=e.valueIndex||null!=e.valueDim?(i.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(A(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function A(e,t){var n=e.getData(),r=n.dimensions;t=n.getDimension(t);for(var i=0;i<r.length;i++){var o=n.getDimensionInfo(r[i]);if(o.name===t)return o.coordDim}}function g(e,t){return!(e&&e.containData&&t.coord&&!l(t))||e.containData(t.coord)}function m(e,t,n,r){return r<2?e.coord&&e.coord[r]:e.value}function v(e,t,n){if("average"===n){var r=0,i=0;return e.each(t,(function(e,t){isNaN(e)||(r+=e,i++)})),r/i}return"median"===n?e.getMedian(t):e.getDataExtent(t,!0)["max"===n?1:0]}t.dataTransform=f,t.getAxisInfo=p,t.dataFilter=g,t.dimValueGetter=m,t.numCalculate=v},knOB:function(e,t,n){var r=n("bYtY"),i=n("hM6l");function o(e,t){i.call(this,"radius",e,t),this.type="category"}o.prototype={constructor:o,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:i.prototype.dataToCoord,radiusToData:i.prototype.coordToData},r.inherits(o,i);var a=o;e.exports=a},ko1b:function(e,t,n){var r=n("bYtY"),i=n("T4UG"),o=n("Bsck"),a=n("Qxkt"),s=n("7aKB"),l=s.encodeHTML,c=s.addCommas,u=n("VaxA"),d=u.wrapTreePathInfo,h=i.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:.1024,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(e,t){var n={name:e.name,children:e.data};f(n);var i=e.levels||[];i=e.levels=p(i,t);var s=r.map(i||[],(function(e){return new a(e,this,t)}),this),l=o.createTree(n,this,null,c);function c(e){e.wrapMethod("getItemModel",(function(e,t){var n=l.getNodeByDataIndex(t),r=s[n.depth];return r&&(e.parentModel=r),e}))}return l.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),i=r.isArray(n)?c(n[0]):c(n),o=t.getName(e);return l(o+": "+i)},getDataParams:function(e){var t=i.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=d(n,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},r.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=r.createHashMap(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function f(e){var t=0;r.each(e.children,(function(e){f(e);var n=e.value;r.isArray(n)&&(n=n[0]),t+=n}));var n=e.value;r.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),r.isArray(e.value)?e.value[0]=n:e.value=n}function p(e,t){var n=t.get("color");if(n){var i;if(e=e||[],r.each(e,(function(e){var t=new a(e),n=t.get("color");(t.get("itemStyle.color")||n&&"none"!==n)&&(i=!0)})),!i){var o=e[0]||(e[0]={});o.color=n.slice()}return e}}e.exports=h},kzFp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.pick=function(e,t){var n={};return t.forEach((function(t){n[t]=e[t]})),n}},kzvK:function(e,t,n){var r=n("sS/r"),i=r.extend({type:"timeline"});e.exports=i},"l+S1":function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="SearchOutlined";t["a"]=i["forwardRef"](l)},lE7J:function(e,t,n){var r=n("OELB"),i=r.round;function o(e,t,n,o){var s={},c=e[1]-e[0],u=s.interval=r.nice(c/t,!0);null!=n&&u<n&&(u=s.interval=n),null!=o&&u>o&&(u=s.interval=o);var d=s.intervalPrecision=a(u),h=s.niceTickExtent=[i(Math.ceil(e[0]/u)*u,d),i(Math.floor(e[1]/u)*u,d)];return l(h,e),s}function a(e){return r.getPrecisionSafe(e)+2}function s(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function l(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),s(e,0,t),s(e,1,t),e[0]>e[1]&&(e[0]=e[1])}t.intervalScaleNiceTicks=o,t.getIntervalPrecision=a,t.fixExtent=l},lELe:function(e,t,n){var r=n("bYtY");function i(e){var t=[];r.each(e.series,(function(e){e&&"map"===e.type&&(t.push(e),e.map=e.map||e.mapType,r.defaults(e,e.mapLocation))}))}e.exports=i},lLGD:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("nVfU"),a=o.layout,s=o.largeLayout;n("Wqna"),n("F7hV"),n("Z8zF"),n("Ae16"),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,i.curry(a,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),r.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}})},lMfh:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}var t=/^\s+/,n=/\s+$/;function r(e,t){if(e=e||"",t=t||{},e instanceof r)return e;if(!(this instanceof r))return new r(e,t);var n=i(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.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._ok=n.ok}function i(t){var n={r:0,g:0,b:0},r=1,i=null,a=null,l=null,u=!1,d=!1;return"string"==typeof t&&(t=U(t)),"object"==e(t)&&(R(t.r)&&R(t.g)&&R(t.b)?(n=o(t.r,t.g,t.b),u=!0,d="%"===String(t.r).substr(-1)?"prgb":"rgb"):R(t.h)&&R(t.s)&&R(t.v)?(i=P(t.s),a=P(t.v),n=c(t.h,i,a),u=!0,d="hsv"):R(t.h)&&R(t.s)&&R(t.l)&&(i=P(t.s),l=P(t.l),n=s(t.h,i,l),u=!0,d="hsl"),t.hasOwnProperty("a")&&(r=t.a)),r=O(r),{ok:u,format:t.format||d,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:r}}function o(e,t,n){return{r:255*B(e,255),g:255*B(t,255),b:255*B(n,255)}}function a(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,i,o=Math.max(e,t,n),a=Math.min(e,t,n),s=(o+a)/2;if(o==a)r=i=0;else{var l=o-a;switch(i=s>.5?l/(2-o-a):l/(o+a),o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4;break}r/=6}return{h:r,s:i,l:s}}function s(e,t,n){var r,i,o;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=B(e,360),t=B(t,100),n=B(n,100),0===t)r=i=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),i=a(l,s,e),o=a(l,s,e-1/3)}return{r:255*r,g:255*i,b:255*o}}function l(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,i,o=Math.max(e,t,n),a=Math.min(e,t,n),s=o,l=o-a;if(i=0===o?0:l/o,o==a)r=0;else{switch(o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4;break}r/=6}return{h:r,s:i,v:s}}function c(e,t,n){e=6*B(e,360),t=B(t,100),n=B(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),a=n*(1-i*t),s=n*(1-(1-i)*t),l=r%6,c=[n,a,o,o,s,n][l],u=[s,n,n,a,o,o][l],d=[o,o,s,n,n,a][l];return{r:255*c,g:255*u,b:255*d}}function u(e,t,n,r){var i=[D(Math.round(e).toString(16)),D(Math.round(t).toString(16)),D(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function d(e,t,n,r,i){var o=[D(Math.round(e).toString(16)),D(Math.round(t).toString(16)),D(Math.round(n).toString(16)),D(N(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function h(e,t,n,r){var i=[D(N(r)),D(Math.round(e).toString(16)),D(Math.round(t).toString(16)),D(Math.round(n).toString(16))];return i.join("")}function f(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.s-=t/100,n.s=M(n.s),r(n)}function p(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.s+=t/100,n.s=M(n.s),r(n)}function A(e){return r(e).desaturate(100)}function g(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.l+=t/100,n.l=M(n.l),r(n)}function m(e,t){t=0===t?0:t||10;var n=r(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),r(n)}function v(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.l-=t/100,n.l=M(n.l),r(n)}function y(e,t){var n=r(e).toHsl(),i=(n.h+t)%360;return n.h=i<0?360+i:i,r(n)}function b(e){var t=r(e).toHsl();return t.h=(t.h+180)%360,r(t)}function _(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=r(e).toHsl(),i=[r(e)],o=360/t,a=1;a<t;a++)i.push(r({h:(n.h+a*o)%360,s:n.s,l:n.l}));return i}function w(e){var t=r(e).toHsl(),n=t.h;return[r(e),r({h:(n+72)%360,s:t.s,l:t.l}),r({h:(n+216)%360,s:t.s,l:t.l})]}function x(e,t,n){t=t||6,n=n||30;var i=r(e).toHsl(),o=360/n,a=[r(e)];for(i.h=(i.h-(o*t>>1)+720)%360;--t;)i.h=(i.h+o)%360,a.push(r(i));return a}function C(e,t){t=t||6;var n=r(e).toHsv(),i=n.h,o=n.s,a=n.v,s=[],l=1/t;while(t--)s.push(r({h:i,s:o,v:a})),a=(a+l)%1;return s}r.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,i,o,a=this.toRgb();return e=a.r/255,t=a.g/255,n=a.b/255,r=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4),i=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4),o=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4),.2126*r+.7152*i+.0722*o},setAlpha:function(e){return this._a=O(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=l(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=l(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=a(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return u(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return d(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*B(this._r,255))+"%",g:Math.round(100*B(this._g,255))+"%",b:Math.round(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*B(this._r,255))+"%, "+Math.round(100*B(this._g,255))+"%, "+Math.round(100*B(this._b,255))+"%)":"rgba("+Math.round(100*B(this._r,255))+"%, "+Math.round(100*B(this._g,255))+"%, "+Math.round(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(k[u(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),n=t,i=this._gradientType?"GradientType = 1, ":"";if(e){var o=r(e);n="#"+h(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0,i=!t&&r&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e);return i?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return r(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(g,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(p,arguments)},greyscale:function(){return this._applyModification(A,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(x,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(C,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(_,[3])},tetrad:function(){return this._applyCombination(_,[4])}},r.fromRatio=function(t,n){if("object"==e(t)){var i={};for(var o in t)t.hasOwnProperty(o)&&(i[o]="a"===o?t[o]:P(t[o]));t=i}return r(t,n)},r.equals=function(e,t){return!(!e||!t)&&r(e).toRgbString()==r(t).toRgbString()},r.random=function(){return r.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},r.mix=function(e,t,n){n=0===n?0:n||50;var i=r(e).toRgb(),o=r(t).toRgb(),a=n/100,s={r:(o.r-i.r)*a+i.r,g:(o.g-i.g)*a+i.g,b:(o.b-i.b)*a+i.b,a:(o.a-i.a)*a+i.a};return r(s)},r.readability=function(e,t){var n=r(e),i=r(t);return(Math.max(n.getLuminance(),i.getLuminance())+.05)/(Math.min(n.getLuminance(),i.getLuminance())+.05)},r.isReadable=function(e,t,n){var i,o,a=r.readability(e,t);switch(o=!1,i=H(n),i.level+i.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7;break}return o},r.mostReadable=function(e,t,n){var i,o,a,s,l=null,c=0;n=n||{},o=n.includeFallbackColors,a=n.level,s=n.size;for(var u=0;u<t.length;u++)i=r.readability(e,t[u]),i>c&&(c=i,l=r(t[u]));return r.isReadable(e,l,{level:a,size:s})||!o?l:(n.includeFallbackColors=!1,r.mostReadable(e,["#fff","#000"],n))};var S=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},k=r.hexNames=E(S);function E(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function O(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function B(e,t){I(e)&&(e="100%");var n=L(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return Math.min(1,Math.max(0,e))}function T(e){return parseInt(e,16)}function I(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function L(e){return"string"===typeof e&&-1!=e.indexOf("%")}function D(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function N(e){return Math.round(255*parseFloat(e)).toString(16)}function j(e){return T(e)/255}var F=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function R(e){return!!F.CSS_UNIT.exec(e)}function U(e){e=e.replace(t,"").replace(n,"").toLowerCase();var r,i=!1;if(S[e])e=S[e],i=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(r=F.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=F.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=F.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=F.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=F.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=F.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=F.hex8.exec(e))?{r:T(r[1]),g:T(r[2]),b:T(r[3]),a:j(r[4]),format:i?"name":"hex8"}:(r=F.hex6.exec(e))?{r:T(r[1]),g:T(r[2]),b:T(r[3]),format:i?"name":"hex"}:(r=F.hex4.exec(e))?{r:T(r[1]+""+r[1]),g:T(r[2]+""+r[2]),b:T(r[3]+""+r[3]),a:j(r[4]+""+r[4]),format:i?"name":"hex8"}:!!(r=F.hex3.exec(e))&&{r:T(r[1]+""+r[1]),g:T(r[2]+""+r[2]),b:T(r[3]+""+r[3]),format:i?"name":"hex"}}function H(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}return r}))},lNSK:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.deflateInit=Se,t.deflateInit2=Ce,t.deflateReset=we,t.deflateResetKeep=_e,t.deflateSetHeader=xe,t.deflate=ke,t.deflateEnd=Ee,t.deflateSetDictionary=Oe,t.deflateInfo=t.Z_DEFLATED=t.Z_UNKNOWN=t.Z_DEFAULT_STRATEGY=t.Z_FIXED=t.Z_RLE=t.Z_HUFFMAN_ONLY=t.Z_FILTERED=t.Z_DEFAULT_COMPRESSION=t.Z_BUF_ERROR=t.Z_DATA_ERROR=t.Z_STREAM_ERROR=t.Z_STREAM_END=t.Z_OK=t.Z_BLOCK=t.Z_FINISH=t.Z_FULL_FLUSH=t.Z_PARTIAL_FLUSH=t.Z_NO_FLUSH=void 0;var i=d(n("6BzB")),o=d(n("c5fP")),a=c(n("xlC8")),s=c(n("QV2g")),l=c(n("xSIq"));function c(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n["default"]=e,t&&t.set(e,n),n}var h=0;t.Z_NO_FLUSH=h;var f=1;t.Z_PARTIAL_FLUSH=f;var p=3;t.Z_FULL_FLUSH=p;var A=4;t.Z_FINISH=A;var g=5;t.Z_BLOCK=g;var m=0;t.Z_OK=m;var v=1;t.Z_STREAM_END=v;var y=-2;t.Z_STREAM_ERROR=y;var b=-3;t.Z_DATA_ERROR=b;var _=-5;t.Z_BUF_ERROR=_;var w=-1;t.Z_DEFAULT_COMPRESSION=w;var x=1;t.Z_FILTERED=x;var C=2;t.Z_HUFFMAN_ONLY=C;var S=3;t.Z_RLE=S;var k=4;t.Z_FIXED=k;var E=0;t.Z_DEFAULT_STRATEGY=E;var O=2;t.Z_UNKNOWN=O;var B=8;t.Z_DEFLATED=B;var M,T=9,I=15,L=8,D=29,P=256,N=P+1+D,j=30,F=19,R=2*N+1,U=15,H=3,Q=258,K=Q+H+1,z=32,V=42,W=69,G=73,X=91,q=103,Y=113,Z=666,J=1,$=2,ee=3,te=4,ne=3;function re(e,t){return e.msg=l["default"][t],t}function ie(e){return(e<<1)-(e>4?9:0)}function oe(e){var t=e.length;while(--t>=0)e[t]=0}function ae(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function se(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ae(e.strm)}function le(e,t){e.pending_buf[e.pending++]=t}function ce(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function ue(e,t,n,r){var o=e.avail_in;return o>r&&(o=r),0===o?0:(e.avail_in-=o,i.arraySet(t,e.input,e.next_in,o,n),1===e.state.wrap?e.adler=(0,a["default"])(e.adler,t,o,n):2===e.state.wrap&&(e.adler=(0,s["default"])(e.adler,t,o,n)),e.next_in+=o,e.total_in+=o,o)}function de(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-K?e.strstart-(e.w_size-K):0,c=e.window,u=e.w_mask,d=e.prev,h=e.strstart+Q,f=c[o+a-1],p=c[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(n=t,c[n+a]===p&&c[n+a-1]===f&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<h);if(r=Q-(h-o),o=h-Q,r>a){if(e.match_start=t,a=r,r>=s)break;f=c[o+a-1],p=c[o+a]}}}while((t=d[t&u])>l&&0!==--i);return a<=e.lookahead?a:e.lookahead}function he(e){var t,n,r,o,a,s=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=s+(s-K)){i.arraySet(e.window,e.window,s,s,0),e.match_start-=s,e.strstart-=s,e.block_start-=s,n=e.hash_size,t=n;do{r=e.head[--t],e.head[t]=r>=s?r-s:0}while(--n);n=s,t=n;do{r=e.prev[--t],e.prev[t]=r>=s?r-s:0}while(--n);o+=s}if(0===e.strm.avail_in)break;if(n=ue(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=n,e.lookahead+e.insert>=H){a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;while(e.insert)if(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+H-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,e.lookahead+e.insert<H)break}}while(e.lookahead<K&&0!==e.strm.avail_in)}function fe(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(he(e),0===e.lookahead&&t===h)return J;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,se(e,!1),0===e.strm.avail_out))return J;if(e.strstart-e.block_start>=e.w_size-K&&(se(e,!1),0===e.strm.avail_out))return J}return e.insert=0,t===A?(se(e,!0),0===e.strm.avail_out?ee:te):(e.strstart>e.block_start&&(se(e,!1),e.strm.avail_out),J)}function pe(e,t){for(var n,r;;){if(e.lookahead<K){if(he(e),e.lookahead<K&&t===h)return J;if(0===e.lookahead)break}if(n=0,e.lookahead>=H&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+H-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-K&&(e.match_length=de(e,n)),e.match_length>=H)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-H),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=H){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+H-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(se(e,!1),0===e.strm.avail_out))return J}return e.insert=e.strstart<H-1?e.strstart:H-1,t===A?(se(e,!0),0===e.strm.avail_out?ee:te):e.last_lit&&(se(e,!1),0===e.strm.avail_out)?J:$}function Ae(e,t){for(var n,r,i;;){if(e.lookahead<K){if(he(e),e.lookahead<K&&t===h)return J;if(0===e.lookahead)break}if(n=0,e.lookahead>=H&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+H-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=H-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-K&&(e.match_length=de(e,n),e.match_length<=5&&(e.strategy===x||e.match_length===H&&e.strstart-e.match_start>4096)&&(e.match_length=H-1)),e.prev_length>=H&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-H,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-H),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+H-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=H-1,e.strstart++,r&&(se(e,!1),0===e.strm.avail_out))return J}else if(e.match_available){if(r=o._tr_tally(e,0,e.window[e.strstart-1]),r&&se(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return J}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<H-1?e.strstart:H-1,t===A?(se(e,!0),0===e.strm.avail_out?ee:te):e.last_lit&&(se(e,!1),0===e.strm.avail_out)?J:$}function ge(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=Q){if(he(e),e.lookahead<=Q&&t===h)return J;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=H&&e.strstart>0&&(i=e.strstart-1,r=s[i],r===s[++i]&&r===s[++i]&&r===s[++i])){a=e.strstart+Q;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);e.match_length=Q-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=H?(n=o._tr_tally(e,1,e.match_length-H),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(se(e,!1),0===e.strm.avail_out))return J}return e.insert=0,t===A?(se(e,!0),0===e.strm.avail_out?ee:te):e.last_lit&&(se(e,!1),0===e.strm.avail_out)?J:$}function me(e,t){for(var n;;){if(0===e.lookahead&&(he(e),0===e.lookahead)){if(t===h)return J;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(se(e,!1),0===e.strm.avail_out))return J}return e.insert=0,t===A?(se(e,!0),0===e.strm.avail_out?ee:te):e.last_lit&&(se(e,!1),0===e.strm.avail_out)?J:$}function ve(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function ye(e){e.window_size=2*e.w_size,oe(e.head),e.max_lazy_match=M[e.level].max_lazy,e.good_match=M[e.level].good_length,e.nice_match=M[e.level].nice_length,e.max_chain_length=M[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=H-1,e.match_available=0,e.ins_h=0}function be(){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=B,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 i.Buf16(2*R),this.dyn_dtree=new i.Buf16(2*(2*j+1)),this.bl_tree=new i.Buf16(2*(2*F+1)),oe(this.dyn_ltree),oe(this.dyn_dtree),oe(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(U+1),this.heap=new i.Buf16(2*N+1),oe(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*N+1),oe(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(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=O,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?V:Y,e.adler=2===t.wrap?0:1,t.last_flush=h,o._tr_init(t),m):re(e,y)}function we(e){var t=_e(e);return t===m&&ye(e.state),t}function xe(e,t){return e&&e.state?2!==e.state.wrap?y:(e.state.gzhead=t,m):y}function Ce(e,t,n,r,o,a){if(!e)return y;var s=1;if(t===w&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),o<1||o>T||n!==B||r<8||r>15||t<0||t>9||a<0||a>k)return re(e,y);8===r&&(r=9);var l=new be;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+H-1)/H),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=n,we(e)}function Se(e,t){return Ce(e,t,B,I,L,E)}function ke(e,t){var n,r,i,a;if(!e||!e.state||t>g||t<0)return e?re(e,y):y;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===Z&&t!==A)return re(e,0===e.avail_out?_:y);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===V)if(2===r.wrap)e.adler=0,le(r,31),le(r,139),le(r,8),r.gzhead?(le(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),le(r,255&r.gzhead.time),le(r,r.gzhead.time>>8&255),le(r,r.gzhead.time>>16&255),le(r,r.gzhead.time>>24&255),le(r,9===r.level?2:r.strategy>=C||r.level<2?4:0),le(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(le(r,255&r.gzhead.extra.length),le(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=(0,s["default"])(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=W):(le(r,0),le(r,0),le(r,0),le(r,0),le(r,0),le(r,9===r.level?2:r.strategy>=C||r.level<2?4:0),le(r,ne),r.status=Y);else{var l=B+(r.w_bits-8<<4)<<8,c=-1;c=r.strategy>=C||r.level<2?0:r.level<6?1:6===r.level?2:3,l|=c<<6,0!==r.strstart&&(l|=z),l+=31-l%31,r.status=Y,ce(r,l),0!==r.strstart&&(ce(r,e.adler>>>16),ce(r,65535&e.adler)),e.adler=1}if(r.status===W)if(r.gzhead.extra){i=r.pending;while(r.gzindex<(65535&r.gzhead.extra.length)){if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=(0,s["default"])(e.adler,r.pending_buf,r.pending-i,i)),ae(e),i=r.pending,r.pending===r.pending_buf_size))break;le(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++}r.gzhead.hcrc&&r.pending>i&&(e.adler=(0,s["default"])(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=G)}else r.status=G;if(r.status===G)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=(0,s["default"])(e.adler,r.pending_buf,r.pending-i,i)),ae(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,le(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=(0,s["default"])(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.gzindex=0,r.status=X)}else r.status=X;if(r.status===X)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=(0,s["default"])(e.adler,r.pending_buf,r.pending-i,i)),ae(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,le(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=(0,s["default"])(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.status=q)}else r.status=q;if(r.status===q&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&ae(e),r.pending+2<=r.pending_buf_size&&(le(r,255&e.adler),le(r,e.adler>>8&255),e.adler=0,r.status=Y)):r.status=Y),0!==r.pending){if(ae(e),0===e.avail_out)return r.last_flush=-1,m}else if(0===e.avail_in&&ie(t)<=ie(n)&&t!==A)return re(e,_);if(r.status===Z&&0!==e.avail_in)return re(e,_);if(0!==e.avail_in||0!==r.lookahead||t!==h&&r.status!==Z){var u=r.strategy===C?me(r,t):r.strategy===S?ge(r,t):M[r.level].func(r,t);if(u!==ee&&u!==te||(r.status=Z),u===J||u===ee)return 0===e.avail_out&&(r.last_flush=-1),m;if(u===$&&(t===f?o._tr_align(r):t!==g&&(o._tr_stored_block(r,0,0,!1),t===p&&(oe(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),ae(e),0===e.avail_out))return r.last_flush=-1,m}return t!==A?m:r.wrap<=0?v:(2===r.wrap?(le(r,255&e.adler),le(r,e.adler>>8&255),le(r,e.adler>>16&255),le(r,e.adler>>24&255),le(r,255&e.total_in),le(r,e.total_in>>8&255),le(r,e.total_in>>16&255),le(r,e.total_in>>24&255)):(ce(r,e.adler>>>16),ce(r,65535&e.adler)),ae(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?m:v)}function Ee(e){var t;return e&&e.state?(t=e.state.status,t!==V&&t!==W&&t!==G&&t!==X&&t!==q&&t!==Y&&t!==Z?re(e,y):(e.state=null,t===Y?re(e,b):m)):y}function Oe(e,t){var n,r,o,s,l,c,u,d,h=t.length;if(!e||!e.state)return y;if(n=e.state,s=n.wrap,2===s||1===s&&n.status!==V||n.lookahead)return y;1===s&&(e.adler=(0,a["default"])(e.adler,t,h,0)),n.wrap=0,h>=n.w_size&&(0===s&&(oe(n.head),n.strstart=0,n.block_start=0,n.insert=0),d=new i.Buf8(n.w_size),i.arraySet(d,t,h-n.w_size,n.w_size,0),t=d,h=n.w_size),l=e.avail_in,c=e.next_in,u=e.input,e.avail_in=h,e.next_in=0,e.input=t,he(n);while(n.lookahead>=H){r=n.strstart,o=n.lookahead-(H-1);do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+H-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--o);n.strstart=r,n.lookahead=H-1,he(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=H-1,n.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,n.wrap=s,m}M=[new ve(0,0,0,0,fe),new ve(4,4,8,4,pe),new ve(4,5,16,8,pe),new ve(4,6,32,32,pe),new ve(4,4,16,16,Ae),new ve(8,16,32,32,Ae),new ve(8,16,128,128,Ae),new ve(8,32,128,256,Ae),new ve(32,128,258,1024,Ae),new ve(32,258,258,4096,Ae)];var Be="pako deflate (from Nodeca project)";t.deflateInfo=Be},lOQZ:function(e,t,n){var r=n("QBsz"),i=n("U/Mo"),o=i.getSymbolSize,a=i.getNodeGlobalScale,s=Math.PI,l=[];function c(e,t){var n=e.coordinateSystem;if(!n||"view"===n.type){var i=n.getBoundingRect(),o=e.getData(),a=o.graph,s=i.width/2+i.x,l=i.height/2+i.y,c=Math.min(i.width,i.height)/2,d=o.count();o.setLayout({cx:s,cy:l}),d&&(u[t](e,n,a,o,c,s,l,d),a.eachEdge((function(e){var t,n=e.getModel().get("lineStyle.curveness")||0,i=r.clone(e.node1.getLayout()),o=r.clone(e.node2.getLayout()),a=(i[0]+o[0])/2,c=(i[1]+o[1])/2;+n&&(n*=3,t=[s*n+a*(1-n),l*n+c*(1-n)]),e.setLayout([i,o,t])})))}}var u={value:function(e,t,n,r,i,o,a,s){var l=0,c=r.getSum("value"),u=2*Math.PI/(c||s);n.eachNode((function(e){var t=e.getValue("value"),n=u*(c?t:1)/2;l+=n,e.setLayout([i*Math.cos(l)+o,i*Math.sin(l)+a]),l+=n}))},symbolSize:function(e,t,n,r,i,c,u,d){var h=0;l.length=d;var f=a(e);n.eachNode((function(e){var t=o(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=f;var n=Math.asin(t/2/i);isNaN(n)&&(n=s/2),l[e.dataIndex]=n,h+=2*n}));var p=(2*s-h)/d/2,A=0;n.eachNode((function(e){var t=p+l[e.dataIndex];A+=t,e.setLayout([i*Math.cos(A)+c,i*Math.sin(A)+u]),A+=t}))}};t.circularLayout=c},lSCD:function(e,t,n){var r=n("NykK"),i=n("GoyQ"),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function c(e){if(!i(e))return!1;var t=r(e);return t==a||t==s||t==o||t==l}e.exports=c},lUTK:function(e,t,n){"use strict";n("cIOH"),n("x54q"),n("5Dmo")},lZu9:function(e,t,n){(function(e){e(n("VrN/"),n("1eCo"),n("8EBN"))})((function(e){"use strict";e.defineMode("markdown",(function(t,n){var r=e.getMode(t,"text/html"),i="null"==r.name;function o(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=e.getMode(t,n);return"null"==i.name?null:i}void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.fencedCodeBlockDefaultMode&&(n.fencedCodeBlockDefaultMode="text/plain"),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var a={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var s in a)a.hasOwnProperty(s)&&n.tokenTypeOverrides[s]&&(a[s]=n.tokenTypeOverrides[s]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,c=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,u=/^\[(x| )\](?=\s)/i,d=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,h=/^ {0,3}(?:\={1,}|-{2,})\s*$/,f=/^[^#!\[\]*_\\<>` "'(~:]+/,p=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,A=/^\s*\[[^\]]+?\]:.*$/,g=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,m=" ";function v(e,t,n){return t.f=t.inline=n,n(e,t)}function y(e,t,n){return t.f=t.block=n,n(e,t)}function b(e){return!e||!/\S/.test(e.string)}function _(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==x){var n=i;if(!n){var o=e.innerMode(r,t.htmlState);n="xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText}n&&(t.f=E,t.block=w,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function w(t,r){var i=t.column()===r.indentation,s=b(r.prevLine.stream),f=r.indentedCode,g=r.prevLine.hr,m=!1!==r.list,y=(r.listStack[r.listStack.length-1]||0)+3;r.indentedCode=!1;var _=r.indentation;if(null===r.indentationDiff&&(r.indentationDiff=r.indentation,m)){r.list=null;while(_<r.listStack[r.listStack.length-1])r.listStack.pop(),r.listStack.length?r.indentation=r.listStack[r.listStack.length-1]:r.list=!1;!1!==r.list&&(r.indentationDiff=_-r.listStack[r.listStack.length-1])}var w=!s&&!g&&!r.prevLine.header&&(!m||!f)&&!r.prevLine.fencedCodeEnd,x=(!1===r.list||g||s)&&r.indentation<=y&&t.match(l),k=null;if(r.indentationDiff>=4&&(f||r.prevLine.fencedCodeEnd||r.prevLine.header||s))return t.skipToEnd(),r.indentedCode=!0,a.code;if(t.eatSpace())return null;if(i&&r.indentation<=y&&(k=t.match(d))&&k[1].length<=6)return r.quote=0,r.header=k[1].length,r.thisLine.header=!0,n.highlightFormatting&&(r.formatting="header"),r.f=r.inline,S(r);if(r.indentation<=y&&t.eat(">"))return r.quote=i?1:r.quote+1,n.highlightFormatting&&(r.formatting="quote"),t.eatSpace(),S(r);if(!x&&!r.setext&&i&&r.indentation<=y&&(k=t.match(c))){var E=k[1]?"ol":"ul";return r.indentation=_+t.current().length,r.list=!0,r.quote=0,r.listStack.push(r.indentation),r.em=!1,r.strong=!1,r.code=!1,r.strikethrough=!1,n.taskLists&&t.match(u,!1)&&(r.taskList=!0),r.f=r.inline,n.highlightFormatting&&(r.formatting=["list","list-"+E]),S(r)}return i&&r.indentation<=y&&(k=t.match(p,!0))?(r.quote=0,r.fencedEndRE=new RegExp(k[1]+"+ *$"),r.localMode=n.fencedCodeBlockHighlighting&&o(k[2]||n.fencedCodeBlockDefaultMode),r.localMode&&(r.localState=e.startState(r.localMode)),r.f=r.block=C,n.highlightFormatting&&(r.formatting="code-block"),r.code=-1,S(r)):r.setext||!(w&&m||r.quote||!1!==r.list||r.code||x||A.test(t.string))&&(k=t.lookAhead(1))&&(k=k.match(h))?(r.setext?(r.header=r.setext,r.setext=0,t.skipToEnd(),n.highlightFormatting&&(r.formatting="header")):(r.header="="==k[0].charAt(0)?1:2,r.setext=r.header),r.thisLine.header=!0,r.f=r.inline,S(r)):x?(t.skipToEnd(),r.hr=!0,r.thisLine.hr=!0,a.hr):"["===t.peek()?v(t,r,I):v(t,r,r.inline)}function x(t,n){var o=r.token(t,n.htmlState);if(!i){var a=e.innerMode(r,n.htmlState);("xml"==a.mode.name&&null===a.state.tagStart&&!a.state.context&&a.state.tokenize.isInText||n.md_inside&&t.current().indexOf(">")>-1)&&(n.f=E,n.block=w,n.htmlState=null)}return o}function C(e,t){var r,i=t.listStack[t.listStack.length-1]||0,o=t.indentation<i,s=i+3;return t.fencedEndRE&&t.indentation<=s&&(o||e.match(t.fencedEndRE))?(n.highlightFormatting&&(t.formatting="code-block"),o||(r=S(t)),t.localMode=t.localState=null,t.block=w,t.f=E,t.fencedEndRE=null,t.code=0,t.thisLine.fencedCodeEnd=!0,o?y(e,t,t.block):r):t.localMode?t.localMode.token(e,t.localState):(e.skipToEnd(),a.code)}function S(e){var t=[];if(e.formatting){t.push(a.formatting),"string"===typeof e.formatting&&(e.formatting=[e.formatting]);for(var r=0;r<e.formatting.length;r++)t.push(a.formatting+"-"+e.formatting[r]),"header"===e.formatting[r]&&t.push(a.formatting+"-"+e.formatting[r]+"-"+e.header),"quote"===e.formatting[r]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.formatting+"-"+e.formatting[r]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(a.linkHref,"url"):(e.strong&&t.push(a.strong),e.em&&t.push(a.em),e.strikethrough&&t.push(a.strikethrough),e.emoji&&t.push(a.emoji),e.linkText&&t.push(a.linkText),e.code&&t.push(a.code),e.image&&t.push(a.image),e.imageAltText&&t.push(a.imageAltText,"link"),e.imageMarker&&t.push(a.imageMarker)),e.header&&t.push(a.header,a.header+"-"+e.header),e.quote&&(t.push(a.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.quote+"-"+e.quote):t.push(a.quote+"-"+n.maxBlockquoteDepth)),!1!==e.list){var i=(e.listStack.length-1)%3;i?1===i?t.push(a.list2):t.push(a.list3):t.push(a.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function k(e,t){if(e.match(f,!0))return S(t)}function E(t,i){var o=i.text(t,i);if("undefined"!==typeof o)return o;if(i.list)return i.list=null,S(i);if(i.taskList){var s=" "===t.match(u,!0)[1];return s?i.taskOpen=!0:i.taskClosed=!0,n.highlightFormatting&&(i.formatting="task"),i.taskList=!1,S(i)}if(i.taskOpen=!1,i.taskClosed=!1,i.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(i.formatting="header"),S(i);var l=t.next();if(i.linkTitle){i.linkTitle=!1;var c=l;"("===l&&(c=")"),c=(c+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var d="^\\s*(?:[^"+c+"\\\\]+|\\\\\\\\|\\\\.)"+c;if(t.match(new RegExp(d),!0))return a.linkHref}if("`"===l){var h=i.formatting;n.highlightFormatting&&(i.formatting="code"),t.eatWhile("`");var f=t.current().length;if(0!=i.code||i.quote&&1!=f){if(f==i.code){var p=S(i);return i.code=0,p}return i.formatting=h,S(i)}return i.code=f,S(i)}if(i.code)return S(i);if("\\"===l&&(t.next(),n.highlightFormatting)){var A=S(i),m=a.formatting+"-escape";return A?A+" "+m:m}if("!"===l&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,n.highlightFormatting&&(i.formatting="image"),S(i);if("["===l&&i.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,n.highlightFormatting&&(i.formatting="image"),S(i);if("]"===l&&i.imageAltText){n.highlightFormatting&&(i.formatting="image");A=S(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=B,A}if("["===l&&!i.image)return i.linkText&&t.match(/^.*?\]/)||(i.linkText=!0,n.highlightFormatting&&(i.formatting="link")),S(i);if("]"===l&&i.linkText){n.highlightFormatting&&(i.formatting="link");A=S(i);return i.linkText=!1,i.inline=i.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?B:E,A}if("<"===l&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=O,n.highlightFormatting&&(i.formatting="link");A=S(i);return A?A+=" ":A="",A+a.linkInline}if("<"===l&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=O,n.highlightFormatting&&(i.formatting="link");A=S(i);return A?A+=" ":A="",A+a.linkEmail}if(n.xml&&"<"===l&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var v=t.string.indexOf(">",t.pos);if(-1!=v){var b=t.string.substring(t.start,v);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(b)&&(i.md_inside=!0)}return t.backUp(1),i.htmlState=e.startState(r),y(t,i,x)}if(n.xml&&"<"===l&&t.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if("*"===l||"_"===l){var _=1,w=1==t.pos?" ":t.string.charAt(t.pos-2);while(_<3&&t.eat(l))_++;var C=t.peek()||" ",k=!/\s/.test(C)&&(!g.test(C)||/\s/.test(w)||g.test(w)),M=!/\s/.test(w)&&(!g.test(w)||/\s/.test(C)||g.test(C)),T=null,I=null;if(_%2&&(i.em||!k||"*"!==l&&M&&!g.test(w)?i.em!=l||!M||"*"!==l&&k&&!g.test(C)||(T=!1):T=!0),_>1&&(i.strong||!k||"*"!==l&&M&&!g.test(w)?i.strong!=l||!M||"*"!==l&&k&&!g.test(C)||(I=!1):I=!0),null!=I||null!=T){n.highlightFormatting&&(i.formatting=null==T?"strong":null==I?"em":"strong em"),!0===T&&(i.em=l),!0===I&&(i.strong=l);p=S(i);return!1===T&&(i.em=!1),!1===I&&(i.strong=!1),p}}else if(" "===l&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return S(i);t.backUp(1)}if(n.strikethrough)if("~"===l&&t.eatWhile(l)){if(i.strikethrough){n.highlightFormatting&&(i.formatting="strikethrough");p=S(i);return i.strikethrough=!1,p}if(t.match(/^[^\s]/,!1))return i.strikethrough=!0,n.highlightFormatting&&(i.formatting="strikethrough"),S(i)}else if(" "===l&&t.match(/^~~/,!0)){if(" "===t.peek())return S(i);t.backUp(2)}if(n.emoji&&":"===l&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,n.highlightFormatting&&(i.formatting="emoji");var L=S(i);return i.emoji=!1,L}return" "===l&&(t.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),S(i)}function O(e,t){var r=e.next();if(">"===r){t.f=t.inline=E,n.highlightFormatting&&(t.formatting="link");var i=S(t);return i?i+=" ":i="",i+a.linkInline}return e.match(/^[^>]+/,!0),a.linkInline}function B(e,t){if(e.eatSpace())return null;var r=e.next();return"("===r||"["===r?(t.f=t.inline=T("("===r?")":"]"),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,S(t)):"error"}var M={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function T(e){return function(t,r){var i=t.next();if(i===e){r.f=r.inline=E,n.highlightFormatting&&(r.formatting="link-string");var o=S(r);return r.linkHref=!1,o}return t.match(M[e]),r.linkHref=!0,S(r)}}function I(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=L,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,S(t)):v(e,t,E)}function L(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=D,n.highlightFormatting&&(t.formatting="link");var r=S(t);return t.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function D(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=E,a.linkHref+" url")}var P={startState:function(){return{f:w,prevLine:{stream:null},thisLine:{stream:null},block:w,htmlState:null,indentation:0,inline:E,text:k,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(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(r,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return _(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=x)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g,m).length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==x?{state:e.htmlState,mode:r}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:P}},indent:function(t,n,i){return t.block==x&&r.indent?r.indent(t.htmlState,n,i):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,n,i):e.Pass},blankLine:_,getType:S,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return P}),"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")}))},laiN:function(e,t,n){var r=n("ProS");n("GVMX"),n("MH26"),r.registerPreprocessor((function(e){e.markLine=e.markLine||{}}))},ljhN:function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},lnY3:function(e,t,n){},loD1:function(e,t){function n(e,t,n,r,i,o,a){if(0===i)return!1;var s=i,l=0,c=e;if(a>t+s&&a>r+s||a<t-s&&a<r-s||o>e+s&&o>n+s||o<e-s&&o<n-s)return!1;if(e===n)return Math.abs(o-e)<=s/2;l=(t-r)/(e-n),c=(e*r-n*t)/(e-n);var u=l*o-a+c,d=u*u/(l*l+1);return d<=s/2*s/2}t.containStroke=n},lr6o:function(e,t,n){"use strict";var r=n("rePB"),i=n("Ff2n"),o=n("VTBJ"),a=n("1OyB"),s=n("vuIU"),l=n("JX7q"),c=n("Ji7U"),u=n("LK+K"),d=n("q1tI"),h=n("TSYQ"),f=n.n(h),p=n("FTAc"),A=n("wPhX"),g=function(e){var t=e.prefixCls,n=e.level,i=e.isStart,o=e.isEnd;if(!n)return null;for(var a="".concat(t,"-indent-unit"),s=[],l=0;l<n;l+=1){var c;s.push(d["createElement"]("span",{key:l,className:f()(a,(c={},Object(r["a"])(c,"".concat(a,"-start"),i[l+1]),Object(r["a"])(c,"".concat(a,"-end"),o[l+1]),Object(r["a"])(c,"".concat(a,"-end-first-level"),!l&&o[0]),c))}))}return d["createElement"]("span",{"aria-hidden":"true",className:"".concat(t,"-indent")},s)},m=g,v=n("c3jg"),y="open",b="close",_="---",w=function(e){Object(c["a"])(n,e);var t=Object(u["a"])(n);function n(){var e;return Object(a["a"])(this,n),e=t.apply(this,arguments),e.state={dragNodeHighlight:!1},e.onSelectorClick=function(t){var n=e.props.context.onNodeClick;n(t,Object(v["b"])(e.props)),e.isSelectable()?e.onSelect(t):e.onCheck(t)},e.onSelectorDoubleClick=function(t){var n=e.props.context.onNodeDoubleClick;n(t,Object(v["b"])(e.props))},e.onSelect=function(t){if(!e.isDisabled()){var n=e.props.context.onNodeSelect;t.preventDefault(),n(t,Object(v["b"])(e.props))}},e.onCheck=function(t){if(!e.isDisabled()){var n=e.props,r=n.disableCheckbox,i=n.checked,o=e.props.context.onNodeCheck;if(e.isCheckable()&&!r){t.preventDefault();var a=!i;o(t,Object(v["b"])(e.props),a)}}},e.onMouseEnter=function(t){var n=e.props.context.onNodeMouseEnter;n(t,Object(v["b"])(e.props))},e.onMouseLeave=function(t){var n=e.props.context.onNodeMouseLeave;n(t,Object(v["b"])(e.props))},e.onContextMenu=function(t){var n=e.props.context.onNodeContextMenu;n(t,Object(v["b"])(e.props))},e.onDragStart=function(t){var n=e.props.context.onNodeDragStart;t.stopPropagation(),e.setState({dragNodeHighlight:!0}),n(t,Object(l["a"])(e));try{t.dataTransfer.setData("text/plain","")}catch(r){}},e.onDragEnter=function(t){var n=e.props.context.onNodeDragEnter;t.preventDefault(),t.stopPropagation(),n(t,Object(l["a"])(e))},e.onDragOver=function(t){var n=e.props.context.onNodeDragOver;t.preventDefault(),t.stopPropagation(),n(t,Object(l["a"])(e))},e.onDragLeave=function(t){var n=e.props.context.onNodeDragLeave;t.stopPropagation(),n(t,Object(l["a"])(e))},e.onDragEnd=function(t){var n=e.props.context.onNodeDragEnd;t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,Object(l["a"])(e))},e.onDrop=function(t){var n=e.props.context.onNodeDrop;t.preventDefault(),t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,Object(l["a"])(e))},e.onExpand=function(t){var n=e.props.context.onNodeExpand;n(t,Object(v["b"])(e.props))},e.setSelectHandle=function(t){e.selectHandle=t},e.getNodeState=function(){var t=e.props.expanded;return e.isLeaf()?null:t?y:b},e.hasChildren=function(){var t=e.props.eventKey,n=e.props.context.keyEntities,r=n[t]||{},i=r.children;return!!(i||[]).length},e.isLeaf=function(){var t=e.props,n=t.isLeaf,r=t.loaded,i=e.props.context.loadData,o=e.hasChildren();return!1!==n&&(n||!i&&!o||i&&r&&!o)},e.isDisabled=function(){var t=e.props.disabled,n=e.props.context.disabled;return!(!n&&!t)},e.isCheckable=function(){var t=e.props.checkable,n=e.props.context.checkable;return!(!n||!1===t)&&n},e.syncLoadData=function(t){var n=t.expanded,r=t.loading,i=t.loaded,o=e.props.context,a=o.loadData,s=o.onNodeLoad;r||a&&n&&!e.isLeaf()&&(e.hasChildren()||i||s(Object(v["b"])(e.props)))},e.renderSwitcher=function(){var t=e.props,n=t.expanded,r=t.switcherIcon,i=e.props.context,a=i.prefixCls,s=i.switcherIcon,l=r||s;if(e.isLeaf())return d["createElement"]("span",{className:f()("".concat(a,"-switcher"),"".concat(a,"-switcher-noop"))},"function"===typeof l?l(Object(o["a"])(Object(o["a"])({},e.props),{},{isLeaf:!0})):l);var c=f()("".concat(a,"-switcher"),"".concat(a,"-switcher_").concat(n?y:b));return d["createElement"]("span",{onClick:e.onExpand,className:c},"function"===typeof l?l(Object(o["a"])(Object(o["a"])({},e.props),{},{isLeaf:!1})):l)},e.renderCheckbox=function(){var t=e.props,n=t.checked,r=t.halfChecked,i=t.disableCheckbox,o=e.props.context.prefixCls,a=e.isDisabled(),s=e.isCheckable();if(!s)return null;var l="boolean"!==typeof s?s:null;return d["createElement"]("span",{className:f()("".concat(o,"-checkbox"),n&&"".concat(o,"-checkbox-checked"),!n&&r&&"".concat(o,"-checkbox-indeterminate"),(a||i)&&"".concat(o,"-checkbox-disabled")),onClick:e.onCheck},l)},e.renderIcon=function(){var t=e.props.loading,n=e.props.context.prefixCls;return d["createElement"]("span",{className:f()("".concat(n,"-iconEle"),"".concat(n,"-icon__").concat(e.getNodeState()||"docu"),t&&"".concat(n,"-icon_loading"))})},e.renderSelector=function(){var t,n,r=e.state.dragNodeHighlight,i=e.props,o=i.title,a=i.selected,s=i.icon,l=i.loading,c=i.data,u=e.props.context,h=u.prefixCls,p=u.showIcon,A=u.icon,g=u.draggable,m=u.loadData,v=u.titleRender,y=e.isDisabled(),b="".concat(h,"-node-content-wrapper");if(p){var _=s||A;t=_?d["createElement"]("span",{className:f()("".concat(h,"-iconEle"),"".concat(h,"-icon__customize"))},"function"===typeof _?_(e.props):_):e.renderIcon()}else m&&l&&(t=e.renderIcon());n="function"===typeof o?o(c):v?v(c):o;var w=d["createElement"]("span",{className:"".concat(h,"-title")},n);return d["createElement"]("span",{ref:e.setSelectHandle,title:"string"===typeof o?o:"",className:f()("".concat(b),"".concat(b,"-").concat(e.getNodeState()||"normal"),!y&&(a||r)&&"".concat(h,"-node-selected"),!y&&g&&"draggable"),draggable:!y&&g||void 0,"aria-grabbed":!y&&g||void 0,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onContextMenu:e.onContextMenu,onClick:e.onSelectorClick,onDoubleClick:e.onSelectorDoubleClick,onDragStart:g?e.onDragStart:void 0},t,w)},e}return Object(s["a"])(n,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var e=this.props.selectable,t=this.props.context.selectable;return"boolean"===typeof e?e:t}},{key:"render",value:function(){var e,t=this.props,n=t.eventKey,o=t.className,a=t.style,s=t.dragOver,l=t.dragOverGapTop,c=t.dragOverGapBottom,u=t.isLeaf,h=t.isStart,p=t.isEnd,g=t.expanded,y=t.selected,b=t.checked,_=t.halfChecked,w=t.loading,x=t.domRef,C=t.active,S=t.onMouseMove,k=Object(i["a"])(t,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),E=this.props.context,O=E.prefixCls,B=E.filterTreeNode,M=E.draggable,T=E.keyEntities,I=this.isDisabled(),L=Object(A["f"])(k),D=T[n]||{},P=D.level,N=p[p.length-1];return d["createElement"]("div",Object.assign({ref:x,className:f()(o,"".concat(O,"-treenode"),(e={},Object(r["a"])(e,"".concat(O,"-treenode-disabled"),I),Object(r["a"])(e,"".concat(O,"-treenode-switcher-").concat(g?"open":"close"),!u),Object(r["a"])(e,"".concat(O,"-treenode-checkbox-checked"),b),Object(r["a"])(e,"".concat(O,"-treenode-checkbox-indeterminate"),_),Object(r["a"])(e,"".concat(O,"-treenode-selected"),y),Object(r["a"])(e,"".concat(O,"-treenode-loading"),w),Object(r["a"])(e,"".concat(O,"-treenode-active"),C),Object(r["a"])(e,"".concat(O,"-treenode-leaf-last"),N),Object(r["a"])(e,"drag-over",!I&&s),Object(r["a"])(e,"drag-over-gap-top",!I&&l),Object(r["a"])(e,"drag-over-gap-bottom",!I&&c),Object(r["a"])(e,"filter-node",B&&B(Object(v["b"])(this.props))),e)),style:a,onDragEnter:M?this.onDragEnter:void 0,onDragOver:M?this.onDragOver:void 0,onDragLeave:M?this.onDragLeave:void 0,onDrop:M?this.onDrop:void 0,onDragEnd:M?this.onDragEnd:void 0,onMouseMove:S},L),d["createElement"](m,{prefixCls:O,level:P,isStart:h,isEnd:p}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),n}(d["Component"]),x=function(e){return d["createElement"](p["a"].Consumer,null,(function(t){return d["createElement"](w,Object.assign({},e,{context:t}))}))};x.displayName="TreeNode",x.defaultProps={title:_},x.isTreeNode=1;t["a"]=x},lrIw:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("cDf5"),a=n.n(o),s=n("J4zp"),l=n.n(s),c=n("q1tI"),u=n("Zm9Q"),d=n("TSYQ"),h=n.n(d),f=n("BGR+"),p=n("2fM7"),A=n("H84U"),g=n("uaoM"),m=n("0n0R"),v=p["a"].Option,y=p["a"];function b(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}var _=function(e,t){var n,r=e.prefixCls,o=e.className,s=e.children,d=e.dataSource,_=Object(u["a"])(s),w=c["useRef"]();if(c["useImperativeHandle"](t,(function(){return w.current})),1===_.length&&Object(m["b"])(_[0])&&!b(_[0])){var x=l()(_,1);n=x[0]}var C,S=function(){return n};return C=_.length&&b(_[0])?s:d?d.map((function(e){if(Object(m["b"])(e))return e;switch(a()(e)){case"string":return c["createElement"](v,{key:e,value:e},e);case"object":var t=e.value;return c["createElement"](v,{key:t,value:t},e.text);default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}})):[],c["useEffect"]((function(){Object(g["a"])(!("dataSource"in e),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(g["a"])(!n||!("size"in e),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")}),[]),c["createElement"](A["a"],null,(function(t){var n=t.getPrefixCls,a=n("select",r);return c["createElement"](y,i()({ref:w},Object(f["default"])(e,["dataSource"]),{prefixCls:a,className:h()(o,"".concat(a,"-auto-complete")),mode:p["a"].SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:S}),C)}))},w=c["forwardRef"](_);w.Option=v,t["a"]=w},lwQL:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("9wZj"),a=n("c8qY"),s=n("SgGq"),l=n("Ae+d"),c=n("xSat"),u=c.onIrrelevantElement,d=n("IwbS"),h=n("SA8n"),f=n("U/Mo"),p=f.getNodeGlobalScale,A="__focusNodeAdjacency",g="__unfocusNodeAdjacency",m=["itemStyle","opacity"],v=["lineStyle","opacity"];function y(e,t){var n=e.getVisual("opacity");return null!=n?n:e.getModel().get(t)}function b(e,t,n){var r=e.getGraphicEl(),i=y(e,t);null!=n&&(null==i&&(i=1),i*=n),r.downplay&&r.downplay(),r.traverse((function(e){if(!e.isGroup){var t=e.lineLabelOriginalOpacity;null!=t&&null==n||(t=i),e.setStyle("opacity",t)}}))}function _(e,t){var n=y(e,t),r=e.getGraphicEl();r.traverse((function(e){!e.isGroup&&e.setStyle("opacity",n)})),r.highlight&&r.highlight()}var w=r.extendChartView({type:"graph",init:function(e,t){var n=new o,r=new a,i=this.group;this._controller=new s(t.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},render:function(e,t,n){var r=this,i=e.coordinateSystem;this._model=e;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if("view"===i.type){var l={position:i.position,scale:i.scale};this._firstRender?s.attr(l):d.updateProps(s,l,e)}h(e.getGraph(),p(e));var c=e.getData();o.updateData(c);var u=e.getEdgeData();a.updateData(u),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var f=e.forceLayout,m=e.get("force.layoutAnimation");f&&this._startForceLayoutIteration(f,m),c.eachItemGraphicEl((function(t,i){var o=c.getItemModel(i);t.off("drag").off("dragend");var a=o.get("draggable");a&&t.on("drag",(function(){f&&(f.warmUp(),!this._layouting&&this._startForceLayoutIteration(f,m),f.setFixed(i),c.setItemLayout(i,t.position))}),this).on("dragend",(function(){f&&f.setUnfixed(i)}),this),t.setDraggable(a&&f),t[A]&&t.off("mouseover",t[A]),t[g]&&t.off("mouseout",t[g]),o.get("focusNodeAdjacency")&&(t.on("mouseover",t[A]=function(){r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t[g]=function(){r._dispatchUnfocus(n)}))}),this),c.graph.eachEdge((function(t){var i=t.getGraphicEl();i[A]&&i.off("mouseover",i[A]),i[g]&&i.off("mouseout",i[g]),t.getModel().get("focusNodeAdjacency")&&(i.on("mouseover",i[A]=function(){r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),i.on("mouseout",i[g]=function(){r._dispatchUnfocus(n)}))}));var v="circular"===e.get("layout")&&e.get("circular.rotateLabel"),y=c.getLayout("cx"),b=c.getLayout("cy");c.eachItemGraphicEl((function(e,t){var n=c.getItemModel(t),r=n.get("label.rotate")||0,i=e.getSymbolPath();if(v){var o=c.getItemLayout(t),a=Math.atan2(o[1]-b,o[0]-y);a<0&&(a=2*Math.PI+a);var s=o[0]<y;s&&(a-=Math.PI);var l=s?"left":"right";d.modifyLabelStyle(i,{textRotation:-a,textPosition:l,textOrigin:"center"},{textPosition:l})}else d.modifyLabelStyle(i,{textRotation:r*=Math.PI/180})})),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(e,t){var n=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){n._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:n._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,n,r){var o=e.getData(),a=o.graph,s=r.dataIndex,l=r.edgeDataIndex,c=a.getNodeByIndex(s),u=a.getEdgeByIndex(l);(c||u)&&(a.eachNode((function(e){b(e,m,.1)})),a.eachEdge((function(e){b(e,v,.1)})),c&&(_(c,m),i.each(c.edges,(function(e){e.dataIndex<0||(_(e,v),_(e.node1,m),_(e.node2,m))}))),u&&(_(u,v),_(u.node1,m),_(u.node2,m)))},unfocusNodeAdjacency:function(e,t,n,r){var i=e.getData().graph;i.eachNode((function(e){b(e,m)})),i.eachEdge((function(e){b(e,v)}))},_startForceLayoutIteration:function(e,t){var n=this;(function r(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(r,16):r())}))})()},_updateController:function(e,t,n){var r=this._controller,i=this._controllerHost,o=this.group;r.setPointerChecker((function(t,r,i){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(r,i)&&!u(t,n,e)})),"view"===e.coordinateSystem.type?(r.enable(e.get("roam")),i.zoomLimit=e.get("scaleLimit"),i.zoom=e.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(t){l.updateViewOnPan(i,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){l.updateViewOnZoom(i,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(),h(e.getGraph(),p(e)),this._lineDraw.updateLayout()}),this)):r.disable()},_updateNodeAndLinkScale:function(){var e=this._model,t=e.getData(),n=p(e),r=[n,n];t.eachItemGraphicEl((function(e,t){e.attr("scale",r)}))},updateLayout:function(e){h(e.getGraph(),p(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});e.exports=w},m9t5:function(e,t,n){var r=n("KCsZ"),i=r([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),o={getAreaStyle:function(e,t){return i(this,e,t)}};e.exports=o},mFDi:function(e,t,n){var r=n("QBsz"),i=n("Fofx"),o=r.applyTransform,a=Math.min,s=Math.max;function l(e,t,n,r){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),this.x=e,this.y=t,this.width=n,this.height=r}l.prototype={constructor:l,union:function(e){var t=a(e.x,this.x),n=a(e.y,this.y);this.width=s(e.x+e.width,this.x+this.width)-t,this.height=s(e.y+e.height,this.y+this.height)-n,this.x=t,this.y=n},applyTransform:function(){var e=[],t=[],n=[],r=[];return function(i){if(i){e[0]=n[0]=this.x,e[1]=r[1]=this.y,t[0]=r[0]=this.x+this.width,t[1]=n[1]=this.y+this.height,o(e,e,i),o(t,t,i),o(n,n,i),o(r,r,i),this.x=a(e[0],t[0],n[0],r[0]),this.y=a(e[1],t[1],n[1],r[1]);var l=s(e[0],t[0],n[0],r[0]),c=s(e[1],t[1],n[1],r[1]);this.width=l-this.x,this.height=c-this.y}}}(),calculateTransform:function(e){var t=this,n=e.width/t.width,r=e.height/t.height,o=i.create();return i.translate(o,o,[-t.x,-t.y]),i.scale(o,o,[n,r]),i.translate(o,o,[e.x,e.y]),o},intersect:function(e){if(!e)return!1;e instanceof l||(e=l.create(e));var t=this,n=t.x,r=t.x+t.width,i=t.y,o=t.y+t.height,a=e.x,s=e.x+e.width,c=e.y,u=e.y+e.height;return!(r<a||s<n||o<c||u<i)},contain:function(e,t){var n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(e){return new l(e.x,e.y,e.width,e.height)};var c=l;e.exports=c},mHUz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r={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};t["default"]=r},mLcG:function(e,t){var n="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){setTimeout(e,16)};e.exports=n},"mO/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("I9Y+"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},mOdp:function(e,t,n){var r=n("bYtY"),i=r.createHashMap;function o(e){return{getTargetSeries:function(t){var n={},r=i();return t.eachSeriesByType(e,(function(e){e.__paletteScope=n,r.set(e.uid,e)})),r},reset:function(e,t){var n=e.getRawData(),r={},i=e.getData();i.each((function(e){var t=i.getRawIndex(e);r[t]=e})),n.each((function(t){var o,a=r[t],s=null!=a&&i.getItemVisual(a,"color",!0),l=null!=a&&i.getItemVisual(a,"borderColor",!0);if(s&&l||(o=n.getItemModel(t)),!s){var c=o.get("itemStyle.color")||e.getColorFromPalette(n.getName(t)||t+"",e.__paletteScope,n.count());null!=a&&i.setItemVisual(a,"color",c)}if(!l){var u=o.get("itemStyle.borderColor");null!=a&&i.setItemVisual(a,"borderColor",u)}}))}}}e.exports=o},mTgk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=i(n("mHUz"));function i(e){return e&&e.__esModule?e:{default:e}}var o={};function a(e,t){if(void 0===t)throw new Error('Undefined keysym for key "'+e+'"');if(e in o)throw new Error('Duplicate entry for key "'+e+'"');o[e]=[t,t,t,t]}function s(e,t,n){if(void 0===t)throw new Error('Undefined keysym for key "'+e+'"');if(void 0===n)throw new Error('Undefined keysym for key "'+e+'"');if(e in o)throw new Error('Duplicate entry for key "'+e+'"');o[e]=[t,t,n,t]}function l(e,t,n){if(void 0===t)throw new Error('Undefined keysym for key "'+e+'"');if(void 0===n)throw new Error('Undefined keysym for key "'+e+'"');if(e in o)throw new Error('Duplicate entry for key "'+e+'"');o[e]=[t,t,t,n]}s("Alt",r["default"].XK_Alt_L,r["default"].XK_Alt_R),a("AltGraph",r["default"].XK_ISO_Level3_Shift),a("CapsLock",r["default"].XK_Caps_Lock),s("Control",r["default"].XK_Control_L,r["default"].XK_Control_R),s("Meta",r["default"].XK_Super_L,r["default"].XK_Super_R),a("NumLock",r["default"].XK_Num_Lock),a("ScrollLock",r["default"].XK_Scroll_Lock),s("Shift",r["default"].XK_Shift_L,r["default"].XK_Shift_R),l("Enter",r["default"].XK_Return,r["default"].XK_KP_Enter),a("Tab",r["default"].XK_Tab),l(" ",r["default"].XK_space,r["default"].XK_KP_Space),l("ArrowDown",r["default"].XK_Down,r["default"].XK_KP_Down),l("ArrowUp",r["default"].XK_Up,r["default"].XK_KP_Up),l("ArrowLeft",r["default"].XK_Left,r["default"].XK_KP_Left),l("ArrowRight",r["default"].XK_Right,r["default"].XK_KP_Right),l("End",r["default"].XK_End,r["default"].XK_KP_End),l("Home",r["default"].XK_Home,r["default"].XK_KP_Home),l("PageDown",r["default"].XK_Next,r["default"].XK_KP_Next),l("PageUp",r["default"].XK_Prior,r["default"].XK_KP_Prior),a("Backspace",r["default"].XK_BackSpace),l("Clear",r["default"].XK_Clear,r["default"].XK_KP_Begin),a("Copy",r["default"].XF86XK_Copy),a("Cut",r["default"].XF86XK_Cut),l("Delete",r["default"].XK_Delete,r["default"].XK_KP_Delete),l("Insert",r["default"].XK_Insert,r["default"].XK_KP_Insert),a("Paste",r["default"].XF86XK_Paste),a("Redo",r["default"].XK_Redo),a("Undo",r["default"].XK_Undo),a("Cancel",r["default"].XK_Cancel),a("ContextMenu",r["default"].XK_Menu),a("Escape",r["default"].XK_Escape),a("Execute",r["default"].XK_Execute),a("Find",r["default"].XK_Find),a("Help",r["default"].XK_Help),a("Pause",r["default"].XK_Pause),a("Select",r["default"].XK_Select),a("ZoomIn",r["default"].XF86XK_ZoomIn),a("ZoomOut",r["default"].XF86XK_ZoomOut),a("BrightnessDown",r["default"].XF86XK_MonBrightnessDown),a("BrightnessUp",r["default"].XF86XK_MonBrightnessUp),a("Eject",r["default"].XF86XK_Eject),a("LogOff",r["default"].XF86XK_LogOff),a("Power",r["default"].XF86XK_PowerOff),a("PowerOff",r["default"].XF86XK_PowerDown),a("PrintScreen",r["default"].XK_Print),a("Hibernate",r["default"].XF86XK_Hibernate),a("Standby",r["default"].XF86XK_Standby),a("WakeUp",r["default"].XF86XK_WakeUp),a("AllCandidates",r["default"].XK_MultipleCandidate),a("Alphanumeric",r["default"].XK_Eisu_Shift),a("CodeInput",r["default"].XK_Codeinput),a("Compose",r["default"].XK_Multi_key),a("Convert",r["default"].XK_Henkan),a("GroupFirst",r["default"].XK_ISO_First_Group),a("GroupLast",r["default"].XK_ISO_Last_Group),a("GroupNext",r["default"].XK_ISO_Next_Group),a("GroupPrevious",r["default"].XK_ISO_Prev_Group),a("NonConvert",r["default"].XK_Muhenkan),a("PreviousCandidate",r["default"].XK_PreviousCandidate),a("SingleCandidate",r["default"].XK_SingleCandidate),a("HangulMode",r["default"].XK_Hangul),a("HanjaMode",r["default"].XK_Hangul_Hanja),a("JunjuaMode",r["default"].XK_Hangul_Jeonja),a("Eisu",r["default"].XK_Eisu_toggle),a("Hankaku",r["default"].XK_Hankaku),a("Hiragana",r["default"].XK_Hiragana),a("HiraganaKatakana",r["default"].XK_Hiragana_Katakana),a("KanaMode",r["default"].XK_Kana_Shift),a("KanjiMode",r["default"].XK_Kanji),a("Katakana",r["default"].XK_Katakana),a("Romaji",r["default"].XK_Romaji),a("Zenkaku",r["default"].XK_Zenkaku),a("ZenkakuHanaku",r["default"].XK_Zenkaku_Hankaku),a("F1",r["default"].XK_F1),a("F2",r["default"].XK_F2),a("F3",r["default"].XK_F3),a("F4",r["default"].XK_F4),a("F5",r["default"].XK_F5),a("F6",r["default"].XK_F6),a("F7",r["default"].XK_F7),a("F8",r["default"].XK_F8),a("F9",r["default"].XK_F9),a("F10",r["default"].XK_F10),a("F11",r["default"].XK_F11),a("F12",r["default"].XK_F12),a("F13",r["default"].XK_F13),a("F14",r["default"].XK_F14),a("F15",r["default"].XK_F15),a("F16",r["default"].XK_F16),a("F17",r["default"].XK_F17),a("F18",r["default"].XK_F18),a("F19",r["default"].XK_F19),a("F20",r["default"].XK_F20),a("F21",r["default"].XK_F21),a("F22",r["default"].XK_F22),a("F23",r["default"].XK_F23),a("F24",r["default"].XK_F24),a("F25",r["default"].XK_F25),a("F26",r["default"].XK_F26),a("F27",r["default"].XK_F27),a("F28",r["default"].XK_F28),a("F29",r["default"].XK_F29),a("F30",r["default"].XK_F30),a("F31",r["default"].XK_F31),a("F32",r["default"].XK_F32),a("F33",r["default"].XK_F33),a("F34",r["default"].XK_F34),a("F35",r["default"].XK_F35),a("Close",r["default"].XF86XK_Close),a("MailForward",r["default"].XF86XK_MailForward),a("MailReply",r["default"].XF86XK_Reply),a("MailSend",r["default"].XF86XK_Send),a("MediaFastForward",r["default"].XF86XK_AudioForward),a("MediaPause",r["default"].XF86XK_AudioPause),a("MediaPlay",r["default"].XF86XK_AudioPlay),a("MediaRecord",r["default"].XF86XK_AudioRecord),a("MediaRewind",r["default"].XF86XK_AudioRewind),a("MediaStop",r["default"].XF86XK_AudioStop),a("MediaTrackNext",r["default"].XF86XK_AudioNext),a("MediaTrackPrevious",r["default"].XF86XK_AudioPrev),a("New",r["default"].XF86XK_New),a("Open",r["default"].XF86XK_Open),a("Print",r["default"].XK_Print),a("Save",r["default"].XF86XK_Save),a("SpellCheck",r["default"].XF86XK_Spell),a("AudioVolumeDown",r["default"].XF86XK_AudioLowerVolume),a("AudioVolumeUp",r["default"].XF86XK_AudioRaiseVolume),a("AudioVolumeMute",r["default"].XF86XK_AudioMute),a("MicrophoneVolumeMute",r["default"].XF86XK_AudioMicMute),a("LaunchApplication1",r["default"].XF86XK_MyComputer),a("LaunchApplication2",r["default"].XF86XK_Calculator),a("LaunchCalendar",r["default"].XF86XK_Calendar),a("LaunchMail",r["default"].XF86XK_Mail),a("LaunchMediaPlayer",r["default"].XF86XK_AudioMedia),a("LaunchMusicPlayer",r["default"].XF86XK_Music),a("LaunchPhone",r["default"].XF86XK_Phone),a("LaunchScreenSaver",r["default"].XF86XK_ScreenSaver),a("LaunchSpreadsheet",r["default"].XF86XK_Excel),a("LaunchWebBrowser",r["default"].XF86XK_WWW),a("LaunchWebCam",r["default"].XF86XK_WebCam),a("LaunchWordProcessor",r["default"].XF86XK_Word),a("BrowserBack",r["default"].XF86XK_Back),a("BrowserFavorites",r["default"].XF86XK_Favorites),a("BrowserForward",r["default"].XF86XK_Forward),a("BrowserHome",r["default"].XF86XK_HomePage),a("BrowserRefresh",r["default"].XF86XK_Refresh),a("BrowserSearch",r["default"].XF86XK_Search),a("BrowserStop",r["default"].XF86XK_Stop),a("Dimmer",r["default"].XF86XK_BrightnessAdjust),a("MediaAudioTrack",r["default"].XF86XK_AudioCycleTrack),a("RandomToggle",r["default"].XF86XK_AudioRandomPlay),a("SplitScreenToggle",r["default"].XF86XK_SplitScreen),a("Subtitle",r["default"].XF86XK_Subtitle),a("VideoModeNext",r["default"].XF86XK_Next_VMode),l("=",r["default"].XK_equal,r["default"].XK_KP_Equal),l("+",r["default"].XK_plus,r["default"].XK_KP_Add),l("-",r["default"].XK_minus,r["default"].XK_KP_Subtract),l("*",r["default"].XK_asterisk,r["default"].XK_KP_Multiply),l("/",r["default"].XK_slash,r["default"].XK_KP_Divide),l(".",r["default"].XK_period,r["default"].XK_KP_Decimal),l(",",r["default"].XK_comma,r["default"].XK_KP_Separator),l("0",r["default"].XK_0,r["default"].XK_KP_0),l("1",r["default"].XK_1,r["default"].XK_KP_1),l("2",r["default"].XK_2,r["default"].XK_KP_2),l("3",r["default"].XK_3,r["default"].XK_KP_3),l("4",r["default"].XK_4,r["default"].XK_KP_4),l("5",r["default"].XK_5,r["default"].XK_KP_5),l("6",r["default"].XK_6,r["default"].XK_KP_6),l("7",r["default"].XK_7,r["default"].XK_KP_7),l("8",r["default"].XK_8,r["default"].XK_KP_8),l("9",r["default"].XK_9,r["default"].XK_KP_9);var c=o;t["default"]=c},mYwL:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("6GrX"),a=Math.PI;function s(e,t){t=t||{},r.defaults(t,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new i.Group,s=new i.Rect({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(s);var l=t.fontSize+" sans-serif",c=new i.Rect({style:{fill:"none",text:t.text,font:l,textPosition:"right",textDistance:10,textFill:t.textColor},zlevel:t.zlevel,z:10001});if(n.add(c),t.showSpinner){var u=new i.Arc({shape:{startAngle:-a/2,endAngle:-a/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001});u.animateShape(!0).when(1e3,{endAngle:3*a/2}).start("circularInOut"),u.animateShape(!0).when(1e3,{startAngle:3*a/2}).delay(300).start("circularInOut"),n.add(u)}return n.resize=function(){var n=o.getWidth(t.text,l),r=t.showSpinner?t.spinnerRadius:0,i=(e.getWidth()-2*r-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner?0:n/2),a=e.getHeight()/2;t.showSpinner&&u.setShape({cx:i,cy:a}),c.setShape({x:i-r,y:a-r,width:2*r,height:2*r}),s.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}e.exports=s},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a&&r.process,l=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=l}).call(this,n("YuTi")(e))},mdZa:function(e,t,n){"use strict";"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i)for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])}return n},writable:!0,configurable:!0}),function(){function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}e.prototype=window.Event.prototype,"function"!==typeof window.CustomEvent&&(window.CustomEvent=e)}(),Number.isInteger=Number.isInteger||function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e}},mmNF:function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},mr32:function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("J4zp"),l=n.n(s),c=n("q1tI"),u=n("TSYQ"),d=n.n(u),h=n("BGR+"),f=n("V/uB"),p=n.n(f),A=n("H84U"),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},m=function(e){var t,n=c["useContext"](A["b"]),r=n.getPrefixCls,o=function(t){var n=e.checked,r=e.onChange,i=e.onClick;r&&r(!n),i&&i(t)},s=e.prefixCls,l=e.className,u=e.checked,h=g(e,["prefixCls","className","checked"]),f=r("tag",s),p=d()(f,(t={},i()(t,"".concat(f,"-checkable"),!0),i()(t,"".concat(f,"-checkable-checked"),u),t),l);return delete h.onChange,c["createElement"]("span",a()({},h,{className:p,onClick:o}))},v=m,y=n("09Wf"),b=n("g0mS"),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},w=new RegExp("^(".concat(y["a"].join("|"),")(-inverse)?$")),x=new RegExp("^(".concat(y["b"].join("|"),")$")),C=function(e,t){var n,r=e.prefixCls,o=e.className,s=e.style,u=e.children,f=e.icon,g=e.color,m=e.onClose,v=e.closeIcon,y=e.closable,C=void 0!==y&&y,S=_(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),k=c["useContext"](A["b"]),E=k.getPrefixCls,O=k.direction,B=c["useState"](!0),M=l()(B,2),T=M[0],I=M[1];c["useEffect"]((function(){"visible"in S&&I(S.visible)}),[S.visible]);var L=function(){return!!g&&(w.test(g)||x.test(g))},D=a()({backgroundColor:g&&!L()?g:void 0},s),P=L(),N=E("tag",r),j=d()(N,(n={},i()(n,"".concat(N,"-").concat(g),P),i()(n,"".concat(N,"-has-color"),g&&!P),i()(n,"".concat(N,"-hidden"),!T),i()(n,"".concat(N,"-rtl"),"rtl"===O),n),o),F=function(e){e.stopPropagation(),m&&m(e),e.defaultPrevented||"visible"in S||I(!1)},R=function(){return C?v?c["createElement"]("div",{className:"".concat(N,"-close-icon"),onClick:F},v):c["createElement"](p.a,{className:"".concat(N,"-close-icon"),onClick:F}):null},U="onClick"in S||u&&"a"===u.type,H=Object(h["default"])(S,["visible"]),Q=f||null,K=Q?c["createElement"](c["Fragment"],null,Q,c["createElement"]("span",null,u)):u,z=c["createElement"]("span",a()({},H,{ref:t,className:j,style:D}),K,R());return U?c["createElement"](b["a"],null,z):z},S=c["forwardRef"](C);S.displayName="Tag",S.CheckableTag=v;t["a"]=S},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(e){module.exports=e()})((function(){var define,module,exports;return function(){function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return require(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){var n=t[a][1][e];return i(n||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}return e}()({1:[function(e,t,n){"use strict";var r=e("./browser/client");r.Buffer=e("buffer").Buffer,r.urllib=e("../shims/xhr"),r.version=e("./browser/version").version,t.exports=r},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(e,t,n){(function(n,r){"use strict";var i=e("babel-runtime/core-js/promise"),o=u(i),a=e("babel-runtime/regenerator"),s=u(a),l=e("babel-runtime/core-js/object/assign"),c=u(l);function u(e){return e&&e.__esModule?e:{default:e}}var d=e("debug")("ali-oss"),h=e("copy-to"),f=e("xml2js"),p=e("agentkeepalive"),A=e("merge-descriptors"),g=e("url"),m=e("is-type-of"),v=e("platform"),y=e("utility"),b=e("urllib"),_=e("./version"),w=e("bowser"),x=e("../common/signUtils"),C=e("../common/utils/isIP"),S=C.isIP,k=e("../common/client/initOptions"),E=e("../common/utils/createRequest"),O=E.createRequest,B=new p;function M(){var e=v.name,t=v.version;e&&e.toLowerCase&&"ie"===e.toLowerCase()&&t.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function T(){return location&&"https:"===location.protocol}function I(e,t){if(M(),!(this instanceof I))return new I(e,t);e&&e.inited?this.options=e:this.options=I.initOptions(e),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=b,this.agent=this.options.agent||B),this.ctx=t,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}t.exports=I,I.initOptions=function(e){e.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var t=(0,c["default"])({secure:T(),useFetch:!1},e);return k(t)};var L=I.prototype;L.debug=d,A(L,e("./object")),A(L,e("../common/bucket/getBucketWebsite")),A(L,e("../common/bucket/putBucketWebsite")),A(L,e("../common/bucket/deleteBucketWebsite")),A(L,e("../common/bucket/getBucketLifecycle")),A(L,e("../common/bucket/putBucketLifecycle")),A(L,e("../common/bucket/deleteBucketLifecycle")),A(L,e("../common/bucket/putBucketVersioning")),A(L,e("../common/bucket/getBucketVersioning")),A(L,e("./managed-upload")),A(L,e("../common/multipart")),A(L,e("../common/parallel")),L.signature=function(e){return this.debug("authorization stringToSign: %s",e,"info"),x.computeSignature(this.options.accessKeySecret,e)},L.authorization=function(e,t,n,r){var i=x.buildCanonicalString(e.toUpperCase(),t,{headers:r,parameters:n});return x.authorization(this.options.accessKeyId,this.options.accessKeySecret,i)},L.request=function(e){var t,n,r,i,o,a;return s["default"].async((function(l){while(1)switch(l.prev=l.next){case 0:return t=O.call(this,e),this.options.useFetch||(t.params.mode="disable-fetch"),n=void 0,r=void 0,i=!!e.stream,l.prev=5,l.next=8,s["default"].awrap(this.urllib.request(t.url,t.params));case 8:n=l.sent,this.debug("response %s %s, got %s, headers: %j",e.method,t.url,n.status,n.headers,"info"),l.next=15;break;case 12:l.prev=12,l.t0=l["catch"](5),r=l.t0;case 15:if(o=void 0,!n||!e.successStatuses||-1!==e.successStatuses.indexOf(n.status)){l.next=28;break}return l.next=19,s["default"].awrap(this.requestError(n));case 19:if(o=l.sent,"RequestTimeTooSkewed"!==o.code||i){l.next=25;break}return this.options.amendTimeSkewed=+new Date(o.serverTime)-new Date,l.next=24,s["default"].awrap(this.request(e));case 24:return l.abrupt("return",l.sent);case 25:o.params=e,l.next=32;break;case 28:if(!r){l.next=32;break}return l.next=31,s["default"].awrap(this.requestError(r));case 31:o=l.sent;case 32:if(!o){l.next=34;break}throw o;case 34:if(!e.xmlResponse){l.next=39;break}return l.next=37,s["default"].awrap(this.parseXML(n.data));case 37:a=l.sent,n.data=a;case 39:return l.abrupt("return",n);case 40:case"end":return l.stop()}}),null,this,[[5,12]])},L._getResource=function(e){var t="/";return e.bucket&&(t+=e.bucket+"/"),e.object&&(t+=e.object),t},L._isIP=S,L._escape=function(e){return y.encodeURIComponent(e).replace(/%2F/g,"/")},L._getReqUrl=function(e){var t={};h(this.options.endpoint).to(t);var n=this._isIP(t.hostname),r=this.options.cname;!e.bucket||r||n||(t.host=e.bucket+"."+t.host);var i="/";e.bucket&&n&&(i+=e.bucket+"/"),e.object&&(i+=this._escape(e.object).replace(/\+/g,"%2B")),t.pathname=i;var o={};if(e.query&&A(o,e.query),e.subres){var a={};m.string(e.subres)?a[e.subres]="":m.array(e.subres)?e.subres.forEach((function(e){a[e]=""})):a=e.subres,A(o,a)}return t.query=o,g.format(t)},L._getUserAgent=function(){var e=r&&r.browser?"js":"nodejs",t="aliyun-sdk-"+e+"/"+_.version,n=v.description;return!n&&r&&(n="Node.js "+r.version.slice(1)+" on "+r.platform+" "+r.arch),this._checkUserAgent(t+" "+n)},L._checkUserAgent=function(e){var t=e.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return t},L.checkBrowserAndVersion=function(e,t){return w.name===e&&w.version.split(".")[0]===t},L.parseXML=function(e){return new o["default"]((function(t,r){n.isBuffer(e)&&(e=e.toString()),f.parseString(e,{explicitRoot:!1,explicitArray:!1},(function(e,n){e?r(e):t(n)}))}))},L.requestError=function(e){var t,n,r,i;return s["default"].async((function(o){while(1)switch(o.prev=o.next){case 0:if(t=null,e.data&&e.data.length){o.next=5;break}-1===e.status||-2===e.status?(t=new Error(e.message),t.name=e.name,t.status=e.status,t.code=e.name):(404===e.status?(t=new Error("Object not exists"),t.name="NoSuchKeyError",t.status=404,t.code="NoSuchKey"):412===e.status?(t=new Error("Pre condition failed"),t.name="PreconditionFailedError",t.status=412,t.code="PreconditionFailed"):(t=new Error("Unknow error, status: "+e.status),t.name="UnknowError",t.status=e.status),t.requestId=e.headers["x-oss-request-id"],t.host=""),o.next=33;break;case 5:return n=String(e.data),this.debug("request response error data: %s",n,"error"),r=void 0,o.prev=8,o.next=11,s["default"].awrap(this.parseXML(n));case 11:if(o.t0=o.sent,o.t0){o.next=14;break}o.t0={};case 14:r=o.t0,o.next=24;break;case 17:return o.prev=17,o.t1=o["catch"](8),this.debug(n,"error"),o.t1.message+="\nraw xml: "+n,o.t1.status=e.status,o.t1.requestId=e.headers["x-oss-request-id"],o.abrupt("return",o.t1);case 24:i=r.Message||"unknow request error, status: "+e.status,r.Condition&&(i+=" (condition: "+r.Condition+")"),t=new Error(i),t.name=r.Code?r.Code+"Error":"UnknowError",t.status=e.status,t.code=r.Code,t.requestId=r.RequestId,t.hostId=r.HostId,t.serverTime=r.ServerTime;case 33:return this.debug("generate error %j",t,"error"),o.abrupt("return",t);case 35:case"end":return o.stop()}}),null,this,[[8,17]])}}).call(this,{isBuffer:e("../../node_modules/is-buffer/index.js")},e("_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(e,t,n){(function(t){"use strict";var r=e("babel-runtime/core-js/array/from"),i=c(r),o=e("babel-runtime/core-js/promise"),a=c(o),s=e("babel-runtime/regenerator"),l=c(s);function c(e){return e&&e.__esModule?e:{default:e}}var u=e("is-type-of"),d=e("util"),h=e("path"),f=e("mime"),p=e("copy-to"),A=e("../common/utils/isBlob"),g=A.isBlob,m=e("../common/utils/isFile"),v=m.isFile,y=n;y.multipartUpload=function(e,t,n){var r,i,o,a,s,c,u,d,p;return l["default"].async((function(A){while(1)switch(A.prev=A.next){case 0:if(this.resetCancelFlag(),n=n||{},!n.checkpoint||!n.checkpoint.uploadId){A.next=6;break}return A.next=5,l["default"].awrap(this._resumeMultipart(n.checkpoint,n));case 5:return A.abrupt("return",A.sent);case 6:return r=102400,n.mime||(v(t)?n.mime=f.getType(h.extname(t.name)):g(t)?n.mime=t.type:n.mime=f.getType(h.extname(t))),n.headers=n.headers||{},this._convertMetaToHeaders(n.meta,n.headers),A.next=12,l["default"].awrap(this._getFileSize(t));case 12:if(i=A.sent,!(i<r)){A.next=25;break}return o=this._createStream(t,0,i),n.contentLength=i,A.next=18,l["default"].awrap(this.putStream(e,o,n));case 18:if(a=A.sent,!n||!n.progress){A.next=22;break}return A.next=22,l["default"].awrap(n.progress(1));case 22:return s={res:a.res,bucket:this.options.bucket,name:e,etag:a.res.headers.etag},(n.headers&&n.headers["x-oss-callback"]||n.callback)&&(s.data=a.data),A.abrupt("return",s);case 25:if(!n.partSize||parseInt(n.partSize,10)===n.partSize){A.next=27;break}throw new Error("partSize must be int number");case 27:if(!(n.partSize&&n.partSize<r)){A.next=29;break}throw new Error("partSize must not be smaller than "+r);case 29:return A.next=31,l["default"].awrap(this.initMultipartUpload(e,n));case 31:if(c=A.sent,u=c.uploadId,d=this._getPartSize(i,n.partSize),p={file:t,name:e,fileSize:i,partSize:d,uploadId:u,doneParts:[]},!n||!n.progress){A.next=38;break}return A.next=38,l["default"].awrap(n.progress(0,p,c.res));case 38:return A.next=40,l["default"].awrap(this._resumeMultipart(p,n));case 40:return A.abrupt("return",A.sent);case 41:case"end":return A.stop()}}),null,this)},y._resumeMultipart=function(e,t){var n,r,o,s,c,u,d,h,f,A,g,m,v,y,b,_,w,x;return l["default"].async((function(C){while(1)switch(C.prev=C.next){case 0:if(n=this,!this.isCancel()){C.next=3;break}throw this._makeCancelEvent();case 3:return r=e.file,o=e.fileSize,s=e.partSize,c=e.uploadId,u=e.doneParts,d=e.name,h=[],u.length>0&&p(u).to(h),f=this._divideParts(o,s),A=f.length,g=!1,m=function(n,i){var o=this;return new a["default"]((function(a,s){var h,m,v,y;return l["default"].async((function(o){while(1)switch(o.prev=o.next){case 0:if(o.prev=0,n.isCancel()){o.next=18;break}return h=f[i-1],m={stream:n._createStream(r,h.start,h.end),size:h.end-h.start},o.next=6,l["default"].awrap(n._uploadPart(d,c,i,m));case 6:if(v=o.sent,n.isCancel()||g){o.next=15;break}if(e.doneParts.push({number:i,etag:v.res.headers.etag}),!t.progress){o.next=12;break}return o.next=12,l["default"].awrap(t.progress(u.length/A,e,v.res));case 12:a({number:i,etag:v.res.headers.etag}),o.next=16;break;case 15:a();case 16:o.next=19;break;case 18:a();case 19:o.next=30;break;case 21:o.prev=21,o.t0=o["catch"](0),y=new Error,y.name=o.t0.name,y.message=o.t0.message,y.stack=o.t0.stack,y.partNum=i,p(o.t0).to(y),s(y);case 30:case"end":return o.stop()}}),null,o,[[0,21]])}))},v=(0,i["default"])(new Array(A),(function(e,t){return t+1})),y=h.map((function(e){return e.number})),b=v.filter((function(e){return y.indexOf(e)<0})),_=5,w=t.parallel||_,C.next=17,l["default"].awrap(this._parallel(b,w,(function(e){return new a["default"]((function(t,r){m(n,e).then((function(e){e&&h.push(e),t()}))["catch"]((function(e){r(e)}))}))})));case 17:if(x=C.sent,g=!0,!this.isCancel()){C.next=22;break}throw m=null,this._makeCancelEvent();case 22:if(!(x&&x.length>0)){C.next=25;break}throw x[0].message="Failed to upload some parts with error: "+x[0].toString()+" part_num: "+x[0].partNum,x[0];case 25:return C.next=27,l["default"].awrap(this.completeMultipartUpload(d,c,h,t));case 27:return C.abrupt("return",C.sent);case 28:case"end":return C.stop()}}),null,this)},y._getFileSize=function(e){return l["default"].async((function(t){while(1)switch(t.prev=t.next){case 0:if(!u.buffer(e)){t.next=4;break}return t.abrupt("return",e.length);case 4:if(!g(e)&&!v(e)){t.next=6;break}return t.abrupt("return",e.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return t.stop()}}),null,this)};var b=e("stream"),_=b.Readable;function w(e,t){if(!(this instanceof w))return new w(e,t);_.call(this,t),this.file=e,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}d.inherits(w,_),w.prototype.readFileAndPush=function(e){if(this.fileBuffer){var t=!0;while(t&&this.fileBuffer&&this.start<this.fileBuffer.length){var n=this.start,r=n+e;r=r>this.fileBuffer.length?this.fileBuffer.length:r,this.start=r,t=this.push(this.fileBuffer.slice(n,r))}}},w.prototype._read=function(e){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||0===this.start&&!this.file)return this.finish||(this.fileBuffer=null,this.finish=!0),void this.push(null);var n=16384;e=e||n;var r=this;this.reader.onload=function(n){r.fileBuffer=t.from(new Uint8Array(n.target.result)),r.file=null,r.readFileAndPush(e)},0===this.start?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(e)},y._createStream=function(e,t,n){if(g(e)||v(e))return new w(e.slice(t,n));throw new Error("_createStream requires File/Blob.")},y._getPartSize=function(e,t){var n=1e4,r=1048576;return t?Math.max(Math.ceil(e/n),t):r},y._divideParts=function(e,t){for(var n=Math.ceil(e/t),r=[],i=0;i<n;i++){var o=t*i,a=Math.min(o+t,e);r.push({start:o,end:a})}return r}}).call(this,e("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(e,t,n){"use strict";var r=e("babel-runtime/core-js/promise"),i=d(r),o=e("babel-runtime/core-js/object/keys"),a=d(o),s=e("babel-runtime/core-js/object/assign"),l=d(s),c=e("babel-runtime/regenerator"),u=d(c);function d(e){return e&&e.__esModule?e:{default:e}}var h=e("utility"),f=e("fs"),p=e("is-type-of"),A=e("url"),g=e("copy-to"),m=e("path"),v=e("mime"),y=e("../common/callback"),b=e("../common/signUtils"),_=e("merge-descriptors"),w=e("../common/utils/isBlob"),x=w.isBlob,C=e("../common/utils/isFile"),S=C.isFile,k=n;k.append=function(e,t,n){var r;return u["default"].async((function(i){while(1)switch(i.prev=i.next){case 0:return n=n||{},void 0===n.position&&(n.position="0"),n.subres={append:"",position:n.position},n.method="POST",i.next=6,u["default"].awrap(this.put(e,t,n));case 6:return r=i.sent,r.nextAppendPosition=r.res.headers["x-oss-next-append-position"],i.abrupt("return",r);case 9:case"end":return i.stop()}}),null,this)},k.put=function(e,t,n){var r,i,o,a,s,l,c;return u["default"].async((function(d){while(1)switch(d.prev=d.next){case 0:if(r=void 0,n=n||{},e=this._objectName(e),!p.buffer(t)){d.next=7;break}r=t,d.next=33;break;case 7:if(!x(t)&&!S(t)){d.next=32;break}return n.mime||(S(t)?n.mime=v.getType(m.extname(t.name)):n.mime=t.type),i=this._createStream(t,0,t.size),d.next=12,u["default"].awrap(this._getFileSize(t));case 12:return n.contentLength=d.sent,d.prev=13,d.next=16,u["default"].awrap(this.putStream(e,i,n));case 16:return o=d.sent,d.abrupt("return",o);case 20:if(d.prev=20,d.t0=d["catch"](13),"RequestTimeTooSkewed"!==d.t0.code){d.next=29;break}return this.options.amendTimeSkewed=+new Date(d.t0.serverTime)-new Date,d.next=26,u["default"].awrap(this.put(e,t,n));case 26:return d.abrupt("return",d.sent);case 29:throw d.t0;case 30:d.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return n.headers=n.headers||{},this._convertMetaToHeaders(n.meta,n.headers),a=n.method||"PUT",s=this._objectRequestParams(a,e,n),y.encodeCallback(s,n),s.mime=n.mime,s.content=r,s.successStatuses=[200],d.next=43,u["default"].awrap(this.request(s));case 43:return l=d.sent,c={name:e,url:this._objectUrl(e),res:l.res},s.headers&&s.headers["x-oss-callback"]&&(c.data=JSON.parse(l.data.toString())),d.abrupt("return",c);case 47:case"end":return d.stop()}}),null,this,[[13,20]])},k.putStream=function(e,t,n){var r,i,o,a;return u["default"].async((function(s){while(1)switch(s.prev=s.next){case 0:return n=n||{},n.headers=n.headers||{},e=this._objectName(e),n.contentLength?n.headers["Content-Length"]=n.contentLength:n.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(n.meta,n.headers),r=n.method||"PUT",i=this._objectRequestParams(r,e,n),y.encodeCallback(i,n),i.mime=n.mime,i.stream=t,i.successStatuses=[200],s.next=13,u["default"].awrap(this.request(i));case 13:return o=s.sent,a={name:e,url:this._objectUrl(e),res:o.res},i.headers&&i.headers["x-oss-callback"]&&(a.data=JSON.parse(o.data.toString())),s.abrupt("return",a);case 17:case"end":return s.stop()}}),null,this)},_(k,e("../common/object/copyObject")),_(k,e("../common/object/getObjectTagging")),_(k,e("../common/object/putObjectTagging")),_(k,e("../common/object/deleteObjectTagging")),_(k,e("../common/image")),_(k,e("../common/object/getBucketVersions")),_(k,e("../common/object/getACL")),_(k,e("../common/object/putACL")),_(k,e("../common/object/head")),_(k,e("../common/object/delete")),_(k,e("../common/object/get")),_(k,e("../common/object/putSymlink")),_(k,e("../common/object/getSymlink")),_(k,e("../common/object/deleteMulti")),_(k,e("../common/object/getObjectMeta")),k.putMeta=function(e,t,n){var r;return u["default"].async((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,u["default"].awrap(this.copy(e,e,{meta:t||{},timeout:n&&n.timeout,ctx:n&&n.ctx}));case 2:return r=i.sent,i.abrupt("return",r);case 4:case"end":return i.stop()}}),null,this)},k.list=function(e,t){var n,r,i,o,a;return u["default"].async((function(s){while(1)switch(s.prev=s.next){case 0:return n=this._objectRequestParams("GET","",t),n.query=e,n.xmlResponse=!0,n.successStatuses=[200],s.next=6,u["default"].awrap(this.request(n));case 6:return r=s.sent,i=r.data.Contents,o=this,i&&(Array.isArray(i)||(i=[i]),i=i.map((function(e){return{name:e.Key,url:o._objectUrl(e.Key),lastModified:e.LastModified,etag:e.ETag,type:e.Type,size:Number(e.Size),storageClass:e.StorageClass,owner:{id:e.Owner.ID,displayName:e.Owner.DisplayName}}}))),a=r.data.CommonPrefixes||null,a&&(Array.isArray(a)||(a=[a]),a=a.map((function(e){return e.Prefix}))),s.abrupt("return",{res:r.res,objects:i,prefixes:a,nextMarker:r.data.NextMarker||null,isTruncated:"true"===r.data.IsTruncated});case 13:case"end":return s.stop()}}),null,this)},k.restore=function(e,t){var n,r;return u["default"].async((function(i){while(1)switch(i.prev=i.next){case 0:return t=t||{},t.subres=(0,l["default"])({restore:""},t.subres),t.versionId&&(t.subres.versionId=t.versionId),n=this._objectRequestParams("POST",e,t),n.successStatuses=[202],i.next=7,u["default"].awrap(this.request(n));case 7:return r=i.sent,i.abrupt("return",{res:r.res});case 9:case"end":return i.stop()}}),null,this)},k.signatureUrl=function(e,t){t=t||{},e=this._objectName(e),t.method=t.method||"GET";var n=h.timestamp()+(t.expires||1800),r={bucket:this.options.bucket,object:e},i=this._getResource(r);this.options.stsToken&&(t["security-token"]=this.options.stsToken);var o=b._signatureForURL(this.options.accessKeySecret,t,i,n),a=A.parse(this._getReqUrl(r));return a.query={OSSAccessKeyId:this.options.accessKeyId,Expires:n,Signature:o.Signature},g(o.subResource).to(a.query),a.format()},k.getObjectUrl=function(e,t){return t?"/"!==t[t.length-1]&&(t+="/"):t=this.options.endpoint.format(),t+this._escape(this._objectName(e))},k._objectUrl=function(e){return this._getReqUrl({bucket:this.options.bucket,object:e})},k.generateObjectUrl=function(e,t){if(t)"/"!==t[t.length-1]&&(t+="/");else{t=this.options.endpoint.format();var n=A.parse(t),r=this.options.bucket;n.hostname=r+"."+n.hostname,n.host=r+"."+n.host,t=n.format()}return t+this._escape(this._objectName(e))},k._objectRequestParams=function(e,t,n){if(!this.options.bucket)throw new Error("Please create a bucket first");n=n||{},t=this._objectName(t);var r={object:t,bucket:this.options.bucket,method:e,subres:n&&n.subres,timeout:n&&n.timeout,ctx:n&&n.ctx};return n.headers&&(r.headers={},g(n.headers).to(r.headers)),r},k._objectName=function(e){return e.replace(/^\/+/,"")},k._convertMetaToHeaders=function(e,t){e&&(0,a["default"])(e).forEach((function(n){t["x-oss-meta-"+n]=e[n]}))},k._deleteFileSafe=function(e){var t=this;return new i["default"]((function(n){f.exists(e,(function(r){r?f.unlink(e,(function(r){r&&t.debug("unlink %j error: %s",e,r,"error"),n()})):n()}))}))}},{"../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(e,t,n){"use strict";n.version="6.10.0"},{}],6:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("../utils/checkBucketName"),s=a.checkBucketName,l=n;l.deleteBucketLifecycle=function(e,t){var n,r;return i["default"].async((function(o){while(1)switch(o.prev=o.next){case 0:return s(e),n=this._bucketRequestParams("DELETE",e,"lifecycle",t),n.successStatuses=[204],o.next=5,i["default"].awrap(this.request(n));case 5:return r=o.sent,o.abrupt("return",{res:r.res});case 7:case"end":return o.stop()}}),null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("../utils/checkBucketName"),s=a.checkBucketName,l=n;l.deleteBucketWebsite=function(e,t){var n,r;return i["default"].async((function(o){while(1)switch(o.prev=o.next){case 0:return s(e),n=this._bucketRequestParams("DELETE",e,"website",t),n.successStatuses=[204],o.next=5,i["default"].awrap(this.request(n));case 5:return r=o.sent,o.abrupt("return",{res:r.res});case 7:case"end":return o.stop()}}),null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("../utils/checkBucketName"),s=a.checkBucketName,l=e("../utils/isArray"),c=l.isArray,u=e("../utils/formatObjKey"),d=u.formatObjKey,h=n;h.getBucketLifecycle=function(e,t){var n,r,o;return i["default"].async((function(a){while(1)switch(a.prev=a.next){case 0:return s(e),n=this._bucketRequestParams("GET",e,"lifecycle",t),n.successStatuses=[200],n.xmlResponse=!0,a.next=6,i["default"].awrap(this.request(n));case 6:return r=a.sent,o=r.data.Rule||null,o&&(c(o)||(o=[o]),o=o.map((function(e){return e.ID&&(e.id=e.ID,delete e.ID),e.Tag&&!c(e.Tag)&&(e.Tag=[e.Tag]),d(e,"firstLowerCase")}))),a.abrupt("return",{rules:o,res:r.res});case 10:case"end":return a.stop()}}),null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("../utils/checkBucketName"),s=a.checkBucketName,l=n;l.getBucketVersioning=function(e,t){var n,r,o;return i["default"].async((function(a){while(1)switch(a.prev=a.next){case 0:return s(e),n=this._bucketRequestParams("GET",e,"versioning",t),n.xmlResponse=!0,n.successStatuses=[200],a.next=6,i["default"].awrap(this.request(n));case 6:return r=a.sent,o=r.data.Status,a.abrupt("return",{status:r.status,versionStatus:o,res:r.res});case 9:case"end":return a.stop()}}),null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("../utils/checkBucketName"),s=a.checkBucketName,l=e("../utils/isObject"),c=l.isObject,u=n;u.getBucketWebsite=function(e,t){var n,r,o;return i["default"].async((function(a){while(1)switch(a.prev=a.next){case 0:return s(e),n=this._bucketRequestParams("GET",e,"website",t),n.successStatuses=[200],n.xmlResponse=!0,a.next=6,i["default"].awrap(this.request(n));case 6:return r=a.sent,o=[],r.data.RoutingRules&&r.data.RoutingRules.RoutingRule&&(o=c(r.data.RoutingRules.RoutingRule)?[r.data.RoutingRules.RoutingRule]: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:o,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(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("../utils/checkBucketName"),s=a.checkBucketName,l=e("../utils/isArray"),c=l.isArray,u=e("../utils/deepCopy"),d=u.deepCopy,h=e("../utils/isObject"),f=h.isObject,p=e("../utils/obj2xml"),A=p.obj2xml,g=e("../utils/checkObjectTag"),m=g.checkObjectTag,v=e("../utils/getStrBytesCount"),y=v.getStrBytesCount,b=n;function _(e){e.days&&(e.expiration={days:e.days}),e.date&&(e.expiration={createdBeforeDate:e.date})}function w(e,t){var n=e.days,r=e.createdBeforeDate;if(!n&&!r)throw new Error(t+" must includes days or createdBeforeDate");if(n&&!/^[1-9][0-9]*$/.test(n))throw new Error("days must be a positive integer");if(r&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(r))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function x(e){if(!c(e)&&!f(e))throw new Error("tag must be Object or Array");e=f(e)?[e]:e;var t={},n=d(e);n.forEach((function(e){t[e.key]=e.value})),m(t)}function C(e){if(e.id&&y(e.id)>255)throw new Error("ID is composed of 255 bytes at most");if(""===e.prefix||void 0===e.prefix)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(e.status))throw new Error("Status must be Enabled or Disabled");if(e.transition){if(!["IA","Archive"].includes(e.transition.storageClass))throw new Error("StorageClass must be IA or Archive");w(e.transition,"Transition")}if(e.expiration)if(e.expiration.expiredObjectDeleteMarker){if(e.expiration.days||e.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}else w(e.expiration,"Expiration");if(e.abortMultipartUpload&&w(e.abortMultipartUpload,"AbortMultipartUpload"),!e.expiration&&!e.abortMultipartUpload&&!e.transition&&!e.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(e.tag){if(e.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");x(e.tag)}}b.putBucketLifecycle=function(e,t,n){var r,o,a,l,u;return i["default"].async((function(d){while(1)switch(d.prev=d.next){case 0:if(s(e),c(t)){d.next=3;break}throw new Error("rules must be Array");case 3:return r=this._bucketRequestParams("PUT",e,"lifecycle",n),o=[],a={LifecycleConfiguration:{Rule:o}},t.forEach((function(e){_(e),C(e),e.id&&(e.ID=e.id,delete e.id),o.push(e)})),l=A(a,{headers:!0,firstUpperCase:!0}),r.content=l,r.mime="xml",r.successStatuses=[200],d.next=13,i["default"].awrap(this.request(r));case 13:return u=d.sent,d.abrupt("return",{res:u.res});case 15:case"end":return d.stop()}}),null,this)}},{"../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(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("../utils/checkBucketName"),s=a.checkBucketName,l=e("../utils/obj2xml"),c=l.obj2xml,u=n;u.putBucketVersioning=function(e,t){var n,r,o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i["default"].async((function(l){while(1)switch(l.prev=l.next){case 0:if(s(e),["Enabled","Suspended"].includes(t)){l.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return n=this._bucketRequestParams("PUT",e,"versioning",a),r={VersioningConfiguration:{Status:t}},n.mime="xml",n.content=c(r,{headers:!0}),l.next=9,i["default"].awrap(this.request(n));case 9:return o=l.sent,l.abrupt("return",{res:o.res,status:o.status});case 11:case"end":return l.stop()}}),null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("../utils/checkBucketName"),s=a.checkBucketName,l=e("../utils/obj2xml"),c=l.obj2xml,u=e("../utils/isArray"),d=u.isArray,h=n;h.putBucketWebsite=function(e){var t,n,r,o,a,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=arguments[2];return i["default"].async((function(h){while(1)switch(h.prev=h.next){case 0:if(s(e),t=this._bucketRequestParams("PUT",e,"website",u),n={Suffix:l.index||"index.html"},r={IndexDocument:n},o={WebsiteConfiguration:r},l.supportSubDir&&(n.SupportSubDir=l.supportSubDir),l.type&&(n.Type=l.type),l.error&&(r.ErrorDocument={Key:l.error}),void 0===l.routingRules){h.next=12;break}if(d(l.routingRules)){h.next=11;break}throw new Error("RoutingRules must be Array");case 11:r.RoutingRules={RoutingRule:l.routingRules};case 12:return o=c(o),t.content=o,t.mime="xml",t.successStatuses=[200],h.next=18,i["default"].awrap(this.request(t));case 18:return a=h.sent,h.abrupt("return",{res:a.res});case 20:case"end":return h.stop()}}),null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(e,t,n){(function(t){"use strict";var r=e("babel-runtime/core-js/object/keys"),i=s(r),o=e("babel-runtime/core-js/json/stringify"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}n.encodeCallback=function(e,n){if(e.headers=e.headers||{},!Object.prototype.hasOwnProperty.call(e.headers,"x-oss-callback")&&n.callback){var r={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};n.callback.host&&(r.callbackHost=n.callback.host),n.callback.contentType&&(r.callbackBodyType=n.callback.contentType);var o=t.from((0,a["default"])(r)).toString("base64");if(e.headers["x-oss-callback"]=o,n.callback.customValue){var s={};(0,i["default"])(n.callback.customValue).forEach((function(e){s["x:"+e]=n.callback.customValue[e]})),e.headers["x-oss-callback-var"]=t.from((0,a["default"])(s)).toString("base64")}}}}).call(this,e("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/assign"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("humanize-ms"),s=e("url"),l=e("../utils/checkBucketName"),c=l.checkBucketName;function u(e,t){var n=s.parse(e);if(n.protocol||(n=s.parse("http"+(t?"s":"")+"://"+e)),"http:"!==n.protocol&&"https:"!==n.protocol)throw new Error("Endpoint protocol must be http or https.");return n}function d(e,t,n){var r=n?"https://":"http://",i=t?"-internal.aliyuncs.com":".aliyuncs.com",o="vpc100-oss-cn-";return e.substr(0,o.length)===o&&(i=".aliyuncs.com"),s.parse(r+e+i)}t.exports=function(e){if(!e||!e.accessKeyId||!e.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");e.bucket&&c(e.bucket);var t=(0,i["default"])({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},e);if(t.accessKeyId=t.accessKeyId.trim(),t.accessKeySecret=t.accessKeySecret.trim(),t.timeout&&(t.timeout=a(t.timeout)),t.endpoint)t.endpoint=u(t.endpoint,t.secure);else{if(!t.region)throw new Error("require options.endpoint or options.region");t.endpoint=d(t.region,t.internal,t.secure)}return t.inited=!0,t}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(e,t,n){"use strict";var r=e("merge-descriptors"),i=n;r(i,e("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("../utils/checkBucketName"),s=a.checkBucketName,l=e("querystring"),c=e("js-base64"),u=c.Base64.encode,d=n;function h(e,t){if(!e)throw new Error(t+" is required");if("string"!==typeof e)throw new Error(t+" must be String")}d.processObjectSave=function(e,t,n,r){var o,a,c,d;return i["default"].async((function(f){while(1)switch(f.prev=f.next){case 0:return h(e,"sourceObject"),h(t,"targetObject"),h(n,"process"),t=this._objectName(t),r&&s(r),o=this._objectRequestParams("POST",e,{subres:"x-oss-process"}),a=r?",b_"+u(r):"",t=u(t),c={"x-oss-process":n+"|sys/saveas,o_"+t+a},o.content=l.stringify(c),f.next=12,i["default"].awrap(this.request(o));case 12:return d=f.sent,f.abrupt("return",{res:d.res,status:d.res.status});case 14:case"end":return f.stop()}}),null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("copy-to"),s=e("./callback"),l=e("./utils/deepCopy"),c=l.deepCopy,u=n;u.listUploads=function(e,t){var n,r,o,s;return i["default"].async((function(l){while(1)switch(l.prev=l.next){case 0:return t=t||{},n={},a(t).to(n),n.subres="uploads",r=this._objectRequestParams("GET","",n),r.query=e,r.xmlResponse=!0,r.successStatuses=[200],l.next=10,i["default"].awrap(this.request(r));case 10:return o=l.sent,s=o.data.Upload||[],Array.isArray(s)||(s=[s]),s=s.map((function(e){return{name:e.Key,uploadId:e.UploadId,initiated:e.Initiated}})),l.abrupt("return",{res:o.res,uploads:s,bucket:o.data.Bucket,nextKeyMarker:o.data.NextKeyMarker,nextUploadIdMarker:o.data.NextUploadIdMarker,isTruncated:"true"===o.data.IsTruncated});case 15:case"end":return l.stop()}}),null,this)},u.listParts=function(e,t,n,r){var o,s,l;return i["default"].async((function(c){while(1)switch(c.prev=c.next){case 0:return r=r||{},o={},a(r).to(o),o.subres={uploadId:t},s=this._objectRequestParams("GET",e,o),s.query=n,s.xmlResponse=!0,s.successStatuses=[200],c.next=10,i["default"].awrap(this.request(s));case 10:return l=c.sent,c.abrupt("return",{res:l.res,uploadId:l.data.UploadId,bucket:l.data.Bucket,name:l.data.Key,partNumberMarker:l.data.PartNumberMarker,nextPartNumberMarker:l.data.NextPartNumberMarker,maxParts:l.data.MaxParts,isTruncated:l.data.IsTruncated,parts:l.data.Part||[]});case 12:case"end":return c.stop()}}),null,this)},u.abortMultipartUpload=function(e,t,n){var r,o,s;return i["default"].async((function(l){while(1)switch(l.prev=l.next){case 0:return this._stop(),n=n||{},r={},a(n).to(r),r.subres={uploadId:t},o=this._objectRequestParams("DELETE",e,r),o.successStatuses=[204],l.next=9,i["default"].awrap(this.request(o));case 9:return s=l.sent,l.abrupt("return",{res:s.res});case 11:case"end":return l.stop()}}),null,this)},u.initMultipartUpload=function(e,t){var n,r,o;return i["default"].async((function(s){while(1)switch(s.prev=s.next){case 0:return t=t||{},n={},a(t).to(n),n.headers=n.headers||{},this._convertMetaToHeaders(t.meta,n.headers),n.subres="uploads",r=this._objectRequestParams("POST",e,n),r.mime=t.mime,r.xmlResponse=!0,r.successStatuses=[200],s.next=12,i["default"].awrap(this.request(r));case 12:return o=s.sent,s.abrupt("return",{res:o.res,bucket:o.data.Bucket,name:o.data.Key,uploadId:o.data.UploadId});case 14:case"end":return s.stop()}}),null,this)},u.uploadPart=function(e,t,n,r,o,a,s){var l;return i["default"].async((function(c){while(1)switch(c.prev=c.next){case 0:return l={stream:this._createStream(r,o,a),size:a-o},c.next=3,i["default"].awrap(this._uploadPart(e,t,n,l,s));case 3:return c.abrupt("return",c.sent);case 4:case"end":return c.stop()}}),null,this)},u.completeMultipartUpload=function(e,t,n,r){var o,a,l,u,d,h,f,p;return i["default"].async((function(A){while(1)switch(A.prev=A.next){case 0:for(o=n.concat().sort((function(e,t){return e.number-t.number})).filter((function(e,t,n){return!t||e.number!==n[t-1].number})),a='<?xml version="1.0" encoding="UTF-8"?>\n<CompleteMultipartUpload>\n',l=0;l<o.length;l++)u=o[l],a+="<Part>\n",a+="<PartNumber>"+u.number+"</PartNumber>\n",a+="<ETag>"+u.etag+"</ETag>\n",a+="</Part>\n";return a+="</CompleteMultipartUpload>",r=r||{},d={},d=c(r),d.headers&&delete d.headers["x-oss-server-side-encryption"],d.subres={uploadId:t},h=this._objectRequestParams("POST",e,d),s.encodeCallback(h,d),h.mime="xml",h.content=a,h.headers&&h.headers["x-oss-callback"]||(h.xmlResponse=!0),h.successStatuses=[200],A.next=17,i["default"].awrap(this.request(h));case 17:return f=A.sent,p={res:f.res,bucket:h.bucket,name:e,etag:f.res.headers.etag},h.headers&&h.headers["x-oss-callback"]&&(p.data=JSON.parse(f.data.toString())),A.abrupt("return",p);case 21:case"end":return A.stop()}}),null,this)},u._uploadPart=function(e,t,n,r,o){var s,l,c;return i["default"].async((function(u){while(1)switch(u.prev=u.next){case 0:return o=o||{},s={},a(o).to(s),s.headers={"Content-Length":r.size},s.subres={partNumber:n,uploadId:t},l=this._objectRequestParams("PUT",e,s),l.mime=s.mime,l.stream=r.stream,l.successStatuses=[200],u.next=11,i["default"].awrap(this.request(l));case 11:if(c=u.sent,c.res.headers.etag){u.next=14;break}throw new Error("Please set the etag of expose-headers in OSS \n https://help.aliyun.com/document_detail/32069.html");case 14:return r.stream=null,l.stream=null,u.abrupt("return",{name:e,etag:c.res.headers.etag,res:c.res});case 17:case"end":return u.stop()}}),null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=c(r),o=e("babel-runtime/core-js/object/keys"),a=c(o),s=e("babel-runtime/helpers/typeof"),l=c(s);function c(e){return e&&e.__esModule?e:{default:e}}var u=e("../utils/checkBucketName"),d=u.checkBucketName,h=n;h.copy=function(e,t,n,r){var o,s,c;return i["default"].async((function(u){while(1)switch(u.prev=u.next){case 0:return"object"===("undefined"===typeof n?"undefined":(0,l["default"])(n))&&(r=n),r=r||{},r.headers=r.headers||{},(0,a["default"])(r.headers).forEach((function(e){r.headers["x-oss-copy-source-"+e.toLowerCase()]=r.headers[e]})),r.meta&&(r.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(r.meta,r.headers),t=this._getSourceName(t,n),r.versionId&&(t=t+"?versionId="+r.versionId),r.headers["x-oss-copy-source"]=t,o=this._objectRequestParams("PUT",e,r),o.xmlResponse=!0,o.successStatuses=[200,304],u.next=14,i["default"].awrap(this.request(o));case 14:return s=u.sent,c=s.data,c&&(c={etag:c.ETag,lastModified:c.LastModified}),u.abrupt("return",{data:c,res:s.res});case 18:case"end":return u.stop()}}),null,this)},h._getSourceName=function(e,t){return"string"===typeof t?e=this._objectName(e):"/"!==e[0]?t=this.options.bucket:(t=e.replace(/\/(.+?)(\/.*)/,"$1"),e=e.replace(/(\/.+?\/)(.*)/,"$2")),d(t),e=encodeURI(e),e="/"+t+"/"+e,e}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=s(r),o=e("babel-runtime/core-js/object/assign"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=n;l["delete"]=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i["default"].async((function(o){while(1)switch(o.prev=o.next){case 0:return r.subres=(0,a["default"])({},r.subres),r.versionId&&(r.subres.versionId=r.versionId),t=this._objectRequestParams("DELETE",e,r),t.successStatuses=[204],o.next=6,i["default"].awrap(this.request(t));case 6:return n=o.sent,o.abrupt("return",{res:n.res});case 8:case"end":return o.stop()}}),null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=s(r),o=e("babel-runtime/core-js/object/assign"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=e("utility"),c=e("../utils/obj2xml"),u=c.obj2xml,d=n;d.deleteMulti=function(e){var t,n,r,o,s,c,d,h,f,p,A,g,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i["default"].async((function(v){while(1)switch(v.prev=v.next){case 0:if(t=[],e&&e.length){v.next=3;break}throw new Error("names is required");case 3:for(n=0;n<e.length;n++)r={},"string"===typeof e[n]?r.Key=l.escape(this._objectName(e[n])):(o=e[n],s=o.key,c=o.versionId,r.Key=l.escape(this._objectName(s)),r.VersionId=c),t.push(r);return d={Delete:{Quiet:!!m.quiet,Object:t}},h=u(d,{headers:!0}),m.subres=(0,a["default"])({delete:""},m.subres),m.versionId&&(m.subres.versionId=m.versionId),f=this._objectRequestParams("POST","",m),f.mime="xml",f.content=h,f.xmlResponse=!0,f.successStatuses=[200],v.next=15,i["default"].awrap(this.request(f));case 15:return p=v.sent,A=p.data,g=A&&A.Deleted||null,g&&(Array.isArray(g)||(g=[g])),v.abrupt("return",{res:p.res,deleted:g||[]});case 20:case"end":return v.stop()}}),null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=s(r),o=e("babel-runtime/core-js/object/assign"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=n;l.deleteObjectTagging=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i["default"].async((function(o){while(1)switch(o.prev=o.next){case 0:return r.subres=(0,a["default"])({tagging:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),e=this._objectName(e),t=this._objectRequestParams("DELETE",e,r),t.successStatuses=[204],o.next=7,i["default"].awrap(this.request(t));case 7:return n=o.sent,o.abrupt("return",{status:n.status,res:n.res});case 9:case"end":return o.stop()}}),null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=s(r),o=e("babel-runtime/core-js/object/assign"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=e("fs"),c=e("is-type-of"),u=n;u.get=function(e,t){var n,r,o,s,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i["default"].async((function(d){while(1)switch(d.prev=d.next){case 0:return n=null,r=!1,c.writableStream(t)?n=t:c.string(t)?(n=l.createWriteStream(t),r=!0):u=t,u=u||{},u.subres=(0,a["default"])({},u.subres),u.versionId&&(u.subres.versionId=u.versionId),u.process&&(u.subres["x-oss-process"]=u.process),o=void 0,d.prev=8,s=this._objectRequestParams("GET",e,u),s.writeStream=n,s.successStatuses=[200,206,304],d.next=14,i["default"].awrap(this.request(s));case 14:o=d.sent,r&&n.destroy(),d.next=25;break;case 18:if(d.prev=18,d.t0=d["catch"](8),!r){d.next=24;break}return n.destroy(),d.next=24,i["default"].awrap(this._deleteFileSafe(t));case 24:throw d.t0;case 25:return d.abrupt("return",{res:o.res,content:o.data});case 26:case"end":return d.stop()}}),null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=s(r),o=e("babel-runtime/core-js/object/assign"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=n;l.getACL=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i["default"].async((function(o){while(1)switch(o.prev=o.next){case 0:return r.subres=(0,a["default"])({acl:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),e=this._objectName(e),t=this._objectRequestParams("GET",e,r),t.successStatuses=[200],t.xmlResponse=!0,o.next=8,i["default"].awrap(this.request(t));case 8:return n=o.sent,o.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 o.stop()}}),null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/keys"),i=c(r),o=e("babel-runtime/regenerator"),a=c(o),s=e("babel-runtime/core-js/object/assign"),l=c(s);function c(e){return e&&e.__esModule?e:{default:e}}var u=n,d=e("../utils/isObject"),h=d.isObject,f=e("../utils/isArray"),p=f.isArray;function A(){var e,t,n,r,i,o,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a["default"].async((function(u){while(1)switch(u.prev=u.next){case 0:if(!s.versionIdMarker||void 0!==s.keyMarker){u.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return c.subres=(0,l["default"])({versions:""},c.subres),c.versionId&&(c.subres.versionId=c.versionId),e=this._objectRequestParams("GET","",c),e.xmlResponse=!0,e.successStatuses=[200],e.query=m(s),u.next=10,a["default"].awrap(this.request(e));case 10:return t=u.sent,n=t.data.Version||[],r=t.data.DeleteMarker||[],i=this,n&&(Array.isArray(n)||(n=[n]),n=n.map((function(e){return{name:e.Key,url:i._objectUrl(e.Key),lastModified:e.LastModified,isLatest:"true"===e.IsLatest,versionId:e.VersionId,etag:e.ETag,type:e.Type,size:Number(e.Size),storageClass:e.StorageClass,owner:{id:e.Owner.ID,displayName:e.Owner.DisplayName}}}))),r&&(p(r)||(r=[r]),r=r.map((function(e){return{name:e.Key,lastModified:e.LastModified,versionId:e.VersionId,owner:{id:e.Owner.ID,displayName:e.Owner.DisplayName}}}))),o=t.data.CommonPrefixes||null,o&&(p(o)||(o=[o]),o=o.map((function(e){return e.Prefix}))),u.abrupt("return",{res:t.res,objects:n,deleteMarker:r,prefixes:o,nextMarker:t.data.NextMarker||null,NextVersionIdMarker:t.data.NextVersionIdMarker||null,isTruncated:"true"===t.data.IsTruncated});case 19:case"end":return u.stop()}}),null,this)}function g(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};return h(e)&&(0,i["default"])(e).forEach((function(n){t[g(n)]=e[n]})),t}u.getBucketVersions=A,u.listObjectVersions=A},{"../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(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=s(r),o=e("babel-runtime/core-js/object/assign"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=n;l.getObjectMeta=function(e,t){var n,r;return i["default"].async((function(o){while(1)switch(o.prev=o.next){case 0:return t=t||{},e=this._objectName(e),t.subres=(0,a["default"])({objectMeta:""},t.subres),t.versionId&&(t.subres.versionId=t.versionId),n=this._objectRequestParams("HEAD",e,t),n.successStatuses=[200],o.next=8,i["default"].awrap(this.request(n));case 8:return r=o.sent,o.abrupt("return",{status:r.status,res:r.res});case 10:case"end":return o.stop()}}),null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=s(r),o=e("babel-runtime/core-js/object/assign"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=n,c=e("../utils/isObject"),u=c.isObject;l.getObjectTagging=function(e){var t,n,r,o,s,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i["default"].async((function(c){while(1)switch(c.prev=c.next){case 0:return l.subres=(0,a["default"])({tagging:""},l.subres),l.versionId&&(l.subres.versionId=l.versionId),e=this._objectName(e),t=this._objectRequestParams("GET",e,l),t.successStatuses=[200],c.next=7,i["default"].awrap(this.request(t));case 7:return n=c.sent,c.next=10,i["default"].awrap(this.parseXML(n.data));case 10:return r=c.sent,o=r.TagSet.Tag,o=o&&u(o)?[o]:o||[],s={},o.forEach((function(e){s[e.Key]=e.Value})),c.abrupt("return",{status:n.status,res:n.res,tag:s});case 16:case"end":return c.stop()}}),null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=s(r),o=e("babel-runtime/core-js/object/assign"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=n;l.getSymlink=function(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i["default"].async((function(s){while(1)switch(s.prev=s.next){case 0:return o.subres=(0,a["default"])({symlink:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),e=this._objectName(e),t=this._objectRequestParams("GET",e,o),t.successStatuses=[200],s.next=7,i["default"].awrap(this.request(t));case 7:return n=s.sent,r=n.res.headers["x-oss-symlink-target"],s.abrupt("return",{targetName:decodeURIComponent(r),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(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=c(r),o=e("babel-runtime/core-js/object/keys"),a=c(o),s=e("babel-runtime/core-js/object/assign"),l=c(s);function c(e){return e&&e.__esModule?e:{default:e}}var u=n;u.head=function(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i["default"].async((function(s){while(1)switch(s.prev=s.next){case 0:return o.subres=(0,l["default"])({},o.subres),o.versionId&&(o.subres.versionId=o.versionId),t=this._objectRequestParams("HEAD",e,o),t.successStatuses=[200,304],s.next=6,i["default"].awrap(this.request(t));case 6:return n=s.sent,r={meta:null,res:n.res,status:n.status},200===n.status&&(0,a["default"])(n.headers).forEach((function(e){0===e.indexOf("x-oss-meta-")&&(r.meta||(r.meta={}),r.meta[e.substring(11)]=n.headers[e])})),s.abrupt("return",r);case 10:case"end":return s.stop()}}),null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=s(r),o=e("babel-runtime/core-js/object/assign"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=n;l.putACL=function(e,t,n){var r,o;return i["default"].async((function(s){while(1)switch(s.prev=s.next){case 0:return n=n||{},n.subres=(0,a["default"])({acl:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),n.headers=n.headers||{},n.headers["x-oss-object-acl"]=t,e=this._objectName(e),r=this._objectRequestParams("PUT",e,n),r.successStatuses=[200],s.next=10,i["default"].awrap(this.request(r));case 10:return o=s.sent,s.abrupt("return",{res:o.res});case 12:case"end":return s.stop()}}),null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=c(r),o=e("babel-runtime/core-js/object/keys"),a=c(o),s=e("babel-runtime/core-js/object/assign"),l=c(s);function c(e){return e&&e.__esModule?e:{default:e}}var u=e("../utils/obj2xml"),d=u.obj2xml,h=e("../utils/checkObjectTag"),f=h.checkObjectTag,p=n;p.putObjectTagging=function(e,t){var n,r,o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i["default"].async((function(c){while(1)switch(c.prev=c.next){case 0:return f(t),s.subres=(0,l["default"])({tagging:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),e=this._objectName(e),n=this._objectRequestParams("PUT",e,s),n.successStatuses=[200],t=(0,a["default"])(t).map((function(e){return{Key:e,Value:t[e]}})),r={Tagging:{TagSet:{Tag:t}}},n.mime="xml",n.content=d(r),c.next=12,i["default"].awrap(this.request(n));case 12:return o=c.sent,c.abrupt("return",{res:o.res,status:o.status});case 14:case"end":return c.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(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=s(r),o=e("babel-runtime/core-js/object/assign"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=n;l.putSymlink=function(e,t,n){var r,o;return i["default"].async((function(s){while(1)switch(s.prev=s.next){case 0:return n=n||{},n.headers=n.headers||{},t=this._escape(this._objectName(t)),this._convertMetaToHeaders(n.meta,n.headers),n.headers["x-oss-symlink-target"]=t,n.subres=(0,a["default"])({symlink:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),n.storageClass&&(n.headers["x-oss-storage-class"]=n.storageClass),e=this._objectName(e),r=this._objectRequestParams("PUT",e,n),r.successStatuses=[200],s.next=13,i["default"].awrap(this.request(r));case 13:return o=s.sent,s.abrupt("return",{res:o.res});case 15:case"end":return s.stop()}}),null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(e,t,n){"use strict";var r=e("babel-runtime/regenerator"),i=s(r),o=e("babel-runtime/core-js/promise"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=n;l._parallelNode=function(e,t,n,r){var o,s,l,c,u,d,h,f;return i["default"].async((function(p){while(1)switch(p.prev=p.next){case 0:o=this,s=[],l=[],c=e.length/t,u=e.length%t,d=0===u?c:(e.length-u)/t+1,h=1,f=0;case 8:if(!(f<e.length)){p.next=26;break}if(!o.isCancel()){p.next=11;break}return p.abrupt("break",26);case 11:if(r?l.push(n(o,e[f],r)):l.push(n(o,e[f])),l.length!==t&&(h!==d||f!==e.length-1)){p.next=23;break}return p.prev=13,h+=1,p.next=17,i["default"].awrap(a["default"].all(l));case 17:p.next=22;break;case 19:p.prev=19,p.t0=p["catch"](13),s.push(p.t0);case 22:l=[];case 23:f++,p.next=8;break;case 26:return p.abrupt("return",s);case 27:case"end":return p.stop()}}),null,this,[[13,19]])},l._parallel=function(e,t,n){var r=this;return new a["default"]((function(i){var o=[];if(t<=0||!e)i(o);else{var a=d(e),s=!1,l=0,c=!1;p()}function u(e){return function(){if(null===e)throw new Error("Callback was already called.");var t=e;e=null;for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}function d(e){var t=-1,n=e.length;return function(){return++t<n&&!r.isCancel()?{value:e[t],key:t}:null}}function h(e,t){l-=1,e?(s=!0,o.push(e),i(o)):t==={}||s&&l<=0?(s=!0,i(o)):c||(r.isCancel()?i(o):p())}function f(e,t){n(e).then((function(e){t(null,e)}))["catch"]((function(e){t(e)}))}function p(){c=!0;while(l<t&&!s&&!r.isCancel()){var e=a();if(null===e||o.length>0)return s=!0,void(l<=0&&i(o));l+=1,f(e.value,u(h))}c=!1}}))},l.cancel=function(e){this.options.cancelFlag=!0,e&&this.abortMultipartUpload(e.name,e.uploadId,e.options)},l.isCancel=function(){return this.options.cancelFlag},l.resetCancelFlag=function(){this.options.cancelFlag=!1},l._stop=function(){this.options.cancelFlag=!0},l._makeCancelEvent=function(){var e={status:0,name:"cancel"};return e}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(e,t,n){(function(t){"use strict";var r=e("babel-runtime/core-js/json/stringify"),i=s(r),o=e("babel-runtime/core-js/object/keys"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=e("./../../shims/crypto/crypto.js"),c=e("is-type-of");n.buildCanonicalizedResource=function(e,t){var n=""+e,r="?";if(c.string(t)&&""!==t.trim())n+=r+t;else if(c.array(t))t.sort(),n+=r+t.join("&");else if(t){var i=function(e,t){return e[0]>t[0]?1:e[0]<t[0]?-1:0},o=function(e){n+=r+e,t[e]&&(n+="="+t[e]),r="&"};(0,a["default"])(t).sort(i).forEach(o)}return n},n.buildCanonicalString=function(e,t,n,r){n=n||{};var i=n.headers||{},o="x-oss-",s=[],l={},c=[e.toUpperCase(),i["Content-Md5"]||"",i["Content-Type"]||i["Content-Type".toLowerCase()],r||i["x-oss-date"]];return(0,a["default"])(i).forEach((function(e){var t=e.toLowerCase();0===t.indexOf(o)&&(l[t]=String(i[e]).trim())})),(0,a["default"])(l).sort().forEach((function(e){s.push(e+":"+l[e])})),c=c.concat(s),c.push(this.buildCanonicalizedResource(t,n.parameters)),c.join("\n")},n.computeSignature=function(e,n){var r=l.createHmac("sha1",e);return r.update(t.from(n,"utf8")).digest("base64")},n.authorization=function(e,t,n){return"OSS "+e+":"+this.computeSignature(t,n)},n._signatureForURL=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],o=arguments[3],s={},l=n.subResource,c=void 0===l?{}:l;if(n.process){var u="x-oss-process";c[u]=n.process}if(n.trafficLimit){var d="x-oss-traffic-limit";c[d]=n.trafficLimit}if(n.response&&(0,a["default"])(n.response).forEach((function(e){var t="response-"+e.toLowerCase();c[t]=n.response[e]})),(0,a["default"])(n).forEach((function(e){var t=e.toLowerCase(),r=n[e];0===t.indexOf("x-oss-")?s[t]=r:(0===t.indexOf("content-md5")||0===t.indexOf("content-type"))&&(s[e]=r)})),Object.prototype.hasOwnProperty.call(n,"security-token")&&(c["security-token"]=n["security-token"]),Object.prototype.hasOwnProperty.call(n,"callback")){var h={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};if(n.callback.host&&(h.callbackHost=n.callback.host),n.callback.contentType&&(h.callbackBodyType=n.callback.contentType),c.callback=t.from((0,i["default"])(h)).toString("base64"),n.callback.customValue){var f={};(0,a["default"])(n.callback.customValue).forEach((function(e){f["x:"+e]=n.callback.customValue[e]})),c["callback-var"]=t.from((0,i["default"])(f)).toString("base64")}}var p=this.buildCanonicalString(n.method,r,{headers:s,parameters:c},o.toString());return{Signature:this.computeSignature(e,p),subResource:c}}}).call(this,e("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(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.checkBucketName=void 0,n.checkBucketName=function(e,t){var n=t?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!n.test(e))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/entries"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.checkObjectTag=void 0;var a=e("./checkValid"),s=a.checkValid,l=e("./isObject"),c=l.isObject,u=[{validator:function(e){if("string"!==typeof e)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 (/)"}],d={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 h(e){if(!c(e))throw new Error("tag must be Object");var t=(0,i["default"])(e);if(t.length>10)throw new Error("maximum of 10 tags for a object");var n=["key","value"];t.forEach((function(e){e.forEach((function(e,t){s(e,d[n[t]])}))}))}n.checkObjectTag=h},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(e,t,n){"use strict";function r(e,t){t.forEach((function(t){if(t.validator)t.validator(e);else if(t.pattern&&!t.pattern.test(e))throw new Error(t.msg)}))}Object.defineProperty(n,"__esModule",{value:!0}),n.checkValid=void 0,n.checkValid=r},{}],38:[function(e,t,n){(function(t){"use strict";var r=e("babel-runtime/core-js/object/assign"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.createRequest=void 0;var a=e("./../../../shims/crypto/crypto.js"),s=e("debug")("ali-oss"),l=e("mime"),c=e("dateformat"),u=e("copy-to"),d=e("path");function h(e,t){return e[t]||e[t.toLowerCase()]}function f(e,t){delete e[t],delete e[t.toLowerCase()]}function p(e){var n=new Date;this.options.amendTimeSkewed&&(n=+new Date+this.options.amendTimeSkewed);var r={"x-oss-date":c(n,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(r["User-Agent"]=this.userAgent),this.options.isRequestPay&&(0,i["default"])(r,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(r["x-oss-security-token"]=this.options.stsToken),u(e.headers).to(r),h(r,"Content-Type")||(e.mime&&e.mime.indexOf("/")>0?r["Content-Type"]=e.mime:r["Content-Type"]=l.getType(e.mime||d.extname(e.object||""))),h(r,"Content-Type")||f(r,"Content-Type"),e.content&&(r["Content-Md5"]=a.createHash("md5").update(t.from(e.content,"utf8")).digest("base64"),r["Content-Length"]||(r["Content-Length"]=e.content.length));var o=this._getResource(e);r.authorization=this.authorization(e.method,o,e.subres,r);var p=this._getReqUrl(e);s("request %s %s, with headers %j, !!stream: %s",e.method,p,r,!!e.stream);var A=e.timeout||this.options.timeout,g={method:e.method,content:e.content,stream:e.stream,headers:r,timeout:A,writeStream:e.writeStream,customResponse:e.customResponse,ctx:e.ctx||this.ctx};return this.agent&&(g.agent=this.agent),this.httpsAgent&&(g.httpsAgent=this.httpsAgent),{url:p,params:g}}n.createRequest=p}).call(this,e("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(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/keys"),i=s(r),o=e("babel-runtime/helpers/typeof"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.deepCopy=void 0,n.deepCopy=function(e){if(null===e||"object"!==("undefined"===typeof e?"undefined":(0,a["default"])(e)))return e;var t=Array.isArray(e)?[]:{};return(0,i["default"])(e).forEach((function(r){t[r]=n.deepCopy(e[r])})),t}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/keys"),i=s(r),o=e("babel-runtime/helpers/typeof"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(null===e||"object"!==("undefined"===typeof e?"undefined":(0,a["default"])(e)))return e;var n=void 0;if(Array.isArray(e)){n=[];for(var r=0;r<e.length;r++)n.push(l(e[r],t))}else n={},(0,i["default"])(e).forEach((function(r){n[c(r,t)]=l(e[r],t)}));return n}function c(e,t){return"firstUpperCase"===t?e=e.replace(/^./,(function(e){return e.toUpperCase()})):"firstLowerCase"===t&&(e=e.replace(/^./,(function(e){return e.toLowerCase()}))),e}Object.defineProperty(n,"__esModule",{value:!0}),n.formatObjKey=void 0,n.formatObjKey=l},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(e,t,n){"use strict";function r(e){for(var t=0,n=0;n<e.length;n++){var r=e.charAt(n);/^[\u00-\uff]$/.test(r)?t+=1:t+=2}return t}Object.defineProperty(n,"__esModule",{value:!0}),n.getStrBytesCount=void 0,n.getStrBytesCount=r},{}],42:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isArray=void 0,n.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],43:[function(e,t,n){"use strict";function r(e){return"undefined"!==typeof Blob&&e instanceof Blob}Object.defineProperty(n,"__esModule",{value:!0}),n.isBlob=void 0,n.isBlob=r},{}],44:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isFile=void 0,n.isFile=function(e){return"undefined"!==typeof File&&e instanceof File}},{}],45:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isIP=void 0,n.isIP=function(e){var t=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,n=/^\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 t.test(e)||n.test(e)}},{}],46:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isObject=void 0,n.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},{}],47:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/keys"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.obj2xml=void 0;var a=e("./formatObjKey");function s(e){return Object.prototype.toString.call(e).replace(/(.*? |])/g,"").toLowerCase()}function l(e,t){var n="";return t&&t.headers&&(n='<?xml version="1.0" encoding="UTF-8"?>\n'),t&&t.firstUpperCase&&(e=a.formatObjKey(e,"firstUpperCase")),"object"===s(e)?(0,i["default"])(e).forEach((function(t){"string"===s(e[t])||"number"===s(e[t])?n+="<"+t+">"+e[t]+"</"+t+">":"object"===s(e[t])?n+="<"+t+">"+l(e[t])+"</"+t+">":"array"===s(e[t])?n+=e[t].map((function(e){return"<"+t+">"+l(e)+"</"+t+">"})).join(""):n+="<"+t+">"+e[t].toString()+"</"+t+">"})):n+=e.toString(),n}n.obj2xml=l},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(e,t,n){function r(){}t.exports=r,t.exports.HttpsAgent=r},{}],49:[function(e,t,n){t.exports=e("./register")().Promise},{"./register":51}],50:[function(e,t,n){"use strict";var r="@@any-promise/REGISTRATION",i=null;t.exports=function(e,t){return function(n,o){n=n||null,o=o||{};var a=!1!==o.global;if(null===i&&a&&(i=e[r]||null),null!==i&&null!==n&&i.implementation!==n)throw new Error('any-promise already defined as "'+i.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return null===i&&(i=null!==n&&"undefined"!==typeof o.Promise?{Promise:o.Promise,implementation:n}:t(n),a&&(e[r]=i)),i}}},{}],51:[function(e,t,n){"use strict";function r(){if("undefined"===typeof window.Promise)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"}}t.exports=e("./loader")(window,r)},{"./loader":50}],52:[function(e,t,n){t.exports={default:e("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(e,t,n){t.exports={default:e("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(e,t,n){t.exports={default:e("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(e,t,n){t.exports={default:e("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(e,t,n){t.exports={default:e("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(e,t,n){t.exports={default:e("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(e,t,n){t.exports={default:e("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(e,t,n){t.exports={default:e("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(e,t,n){"use strict";n.__esModule=!0;var r=e("../core-js/symbol/iterator"),i=l(r),o=e("../core-js/symbol"),a=l(o),s="function"===typeof a["default"]&&"symbol"===typeof i["default"]?function(e){return typeof e}:function(e){return e&&"function"===typeof a["default"]&&e.constructor===a["default"]&&e!==a["default"].prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}n["default"]="function"===typeof a["default"]&&"symbol"===s(i["default"])?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a["default"]&&e.constructor===a["default"]&&e!==a["default"].prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(e,t,n){t.exports=e("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(e,t,n){"use strict";n.byteLength=u,n.toByteArray=h,n.fromByteArray=A;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function u(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function d(e,t,n){return 3*(t+n)/4-n}function h(e){var t,n,r=c(e),a=r[0],s=r[1],l=new o(d(e,a,s)),u=0,h=s>0?a-4:a;for(n=0;n<h;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[u++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l}function f(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(f(r));return i.join("")}function A(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,l=n-i;s<l;s+=a)o.push(p(e,s,s+a>l?l:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],70:[function(e,t,n){!function(e,n,r){"undefined"!=typeof t&&t.exports?t.exports=r():"function"==typeof define&&define.amd?define(n,r):e[n]=r()}(this,"bowser",(function(){var e=!0;function t(t){function n(e){var n=t.match(e);return n&&n.length>1&&n[1]||""}function r(e){var n=t.match(e);return n&&n.length>1&&n[2]||""}var i,a=n(/(ipod|iphone|ipad)/i).toLowerCase(),s=/like android/i.test(t),l=!s&&/android/i.test(t),c=/nexus\s*[0-6]\s*/i.test(t),u=!c&&/nexus\s*[0-9]+/i.test(t),d=/CrOS/.test(t),h=/silk/i.test(t),f=/sailfish/i.test(t),p=/tizen/i.test(t),A=/(web|hpw)(o|0)s/i.test(t),g=/windows phone/i.test(t),m=(/SamsungBrowser/i.test(t),!g&&/windows/i.test(t)),v=!a&&!h&&/macintosh/i.test(t),y=!l&&!f&&!p&&!A&&/linux/i.test(t),b=r(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),_=n(/version\/(\d+(\.\d+)?)/i),w=/tablet/i.test(t)&&!/tablet pc/i.test(t),x=!w&&/[^-]mobi/i.test(t),C=/xbox/i.test(t);function S(e){switch(e){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}}/opera/i.test(t)?i={name:"Opera",opera:e,version:_||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(t)?i={name:"Opera",opera:e,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||_}:/SamsungBrowser/i.test(t)?i={name:"Samsung Internet for Android",samsungBrowser:e,version:_||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(t)?i={name:"NAVER Whale browser",whale:e,version:n(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(t)?i={name:"MZ Browser",mzbrowser:e,version:n(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(t)?i={name:"Opera Coast",coast:e,version:_||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(t)?i={name:"Focus",focus:e,version:n(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(t)?i={name:"Yandex Browser",yandexbrowser:e,version:_||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?i={name:"UC Browser",ucbrowser:e,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?i={name:"Maxthon",maxthon:e,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?i={name:"Epiphany",epiphany:e,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?i={name:"Puffin",puffin:e,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?i={name:"Sleipnir",sleipnir:e,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?i={name:"K-Meleon",kMeleon:e,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:g?(i={name:"Windows Phone",osname:"Windows Phone",windowsphone:e},b?(i.msedge=e,i.version=b):(i.msie=e,i.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?i={name:"Internet Explorer",msie:e,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:d?i={name:"Chrome",osname:"Chrome OS",chromeos:e,chromeBook:e,chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(t)?i={name:"Microsoft Edge",msedge:e,version:b}:/vivaldi/i.test(t)?i={name:"Vivaldi",vivaldi:e,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||_}:f?i={name:"Sailfish",osname:"Sailfish OS",sailfish:e,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?i={name:"SeaMonkey",seamonkey:e,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(i={name:"Firefox",firefox:e,version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(i.firefoxos=e,i.osname="Firefox OS")):h?i={name:"Amazon Silk",silk:e,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?i={name:"PhantomJS",phantom:e,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?i={name:"SlimerJS",slimer:e,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?i={name:"BlackBerry",osname:"BlackBerry OS",blackberry:e,version:_||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:A?(i={name:"WebOS",osname:"WebOS",webos:e,version:_||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(i.touchpad=e)):/bada/i.test(t)?i={name:"Bada",osname:"Bada",bada:e,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:p?i={name:"Tizen",osname:"Tizen",tizen:e,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||_}:/qupzilla/i.test(t)?i={name:"QupZilla",qupzilla:e,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||_}:/chromium/i.test(t)?i={name:"Chromium",chromium:e,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||_}:/chrome|crios|crmo/i.test(t)?i={name:"Chrome",chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?i={name:"Android",version:_}:/safari|applewebkit/i.test(t)?(i={name:"Safari",safari:e},_&&(i.version=_)):a?(i={name:"iphone"==a?"iPhone":"ipad"==a?"iPad":"iPod"},_&&(i.version=_)):i=/googlebot/i.test(t)?{name:"Googlebot",googlebot:e,version:n(/googlebot\/(\d+(\.\d+))/i)||_}:{name:n(/^(.*)\/(.*) /),version:r(/^(.*)\/(.*) /)},!i.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(i.name=i.name||"Blink",i.blink=e):(i.name=i.name||"Webkit",i.webkit=e),!i.version&&_&&(i.version=_)):!i.opera&&/gecko\//i.test(t)&&(i.name=i.name||"Gecko",i.gecko=e,i.version=i.version||n(/gecko\/(\d+(\.\d+)?)/i)),i.windowsphone||!l&&!i.silk?!i.windowsphone&&a?(i[a]=e,i.ios=e,i.osname="iOS"):v?(i.mac=e,i.osname="macOS"):C?(i.xbox=e,i.osname="Xbox"):m?(i.windows=e,i.osname="Windows"):y&&(i.linux=e,i.osname="Linux"):(i.android=e,i.osname="Android");var k="";i.windows?k=S(n(/Windows ((NT|XP)( \d\d?.\d)?)/i)):i.windowsphone?k=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):i.mac?(k=n(/Mac OS X (\d+([_\.\s]\d+)*)/i),k=k.replace(/[_\s]/g,".")):a?(k=n(/os (\d+([_\s]\d+)*) like mac os x/i),k=k.replace(/[_\s]/g,".")):l?k=n(/android[ \/-](\d+(\.\d+)*)/i):i.webos?k=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):i.blackberry?k=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):i.bada?k=n(/bada\/(\d+(\.\d+)*)/i):i.tizen&&(k=n(/tizen[\/\s](\d+(\.\d+)*)/i)),k&&(i.osversion=k);var E=!i.windows&&k.split(".")[0];return w||u||"ipad"==a||l&&(3==E||E>=4&&!x)||i.silk?i.tablet=e:(x||"iphone"==a||"ipod"==a||l||c||i.blackberry||i.webos||i.bada)&&(i.mobile=e),i.msedge||i.msie&&i.version>=10||i.yandexbrowser&&i.version>=15||i.vivaldi&&i.version>=1||i.chrome&&i.version>=20||i.samsungBrowser&&i.version>=4||i.whale&&1===o([i.version,"1.0"])||i.mzbrowser&&1===o([i.version,"6.0"])||i.focus&&1===o([i.version,"1.0"])||i.firefox&&i.version>=20||i.safari&&i.version>=6||i.opera&&i.version>=10||i.ios&&i.osversion&&i.osversion.split(".")[0]>=6||i.blackberry&&i.version>=10.1||i.chromium&&i.version>=20?i.a=e:i.msie&&i.version<10||i.chrome&&i.version<20||i.firefox&&i.version<20||i.safari&&i.version<6||i.opera&&i.version<10||i.ios&&i.osversion&&i.osversion.split(".")[0]<6||i.chromium&&i.version<20?i.c=e:i.x=e,i}var n=t("undefined"!==typeof navigator&&navigator.userAgent||"");function r(e){return e.split(".").length}function i(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n++)r.push(t(e[n]));return r}function o(e){var t=Math.max(r(e[0]),r(e[1])),n=i(e,(function(e){var n=t-r(e);return e+=new Array(n+1).join(".0"),i(e.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));while(--t>=0){if(n[0][t]>n[1][t])return 1;if(n[0][t]!==n[1][t])return-1;if(0===t)return 0}}function a(e,r,i){var a=n;"string"===typeof r&&(i=r,r=void 0),void 0===r&&(r=!1),i&&(a=t(i));var s=""+a.version;for(var l in e)if(e.hasOwnProperty(l)&&a[l]){if("string"!==typeof e[l])throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(e));return o([s,e[l]])<0}return r}function s(e,t,n){return!a(e,t,n)}return n.test=function(e){for(var t=0;t<e.length;++t){var r=e[t];if("string"===typeof r&&r in n)return!0}return!1},n.isUnsupportedBrowser=a,n.compareVersions=o,n.check=s,n._detect=t,n.detect=t,n}))},{}],71:[function(e,t,n){},{}],72:[function(e,t,n){var r=e("buffer").Buffer,i=r.isEncoding||function(e){switch(e&&e.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 o(e){if(e&&!i(e))throw new Error("Unknown encoding: "+e)}var a=n.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),o(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=l;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=c;break;default:return void(this.write=s)}this.charBuffer=new r(6),this.charReceived=0,this.charLength=0};function s(e){return e.toString(this.encoding)}function l(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function c(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}a.prototype.write=function(e){var t="";while(this.charLength){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";e=e.slice(n,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var r=t.charCodeAt(t.length-1);if(!(r>=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);i=t.length-1,r=t.charCodeAt(i);if(r>=55296&&r<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,i)}return t},a.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},a.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},{buffer:73}],73:[function(e,t,n){(function(t,r){"use strict";var i=e("base64-js"),o=e("ieee754"),a=e("isarray");function s(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function l(){return r.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(l()<t)throw new RangeError("Invalid typed array length");return r.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=r.prototype):(null===e&&(e=new r(t)),e.length=t),e}function r(e,t,n){if(!r.TYPED_ARRAY_SUPPORT&&!(this instanceof r))return new r(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return u(this,e,t,n)}function u(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,n,r):"string"===typeof t?p(e,t,n):m(e,t)}function d(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t,n,r){return d(t),t<=0?c(e,t):void 0!==n?"string"===typeof r?c(e,t).fill(n,r):c(e,t).fill(n):c(e,t)}function f(e,t){if(d(t),e=c(e,t<0?0:0|v(t)),!r.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!r.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|b(t,n);e=c(e,i);var o=e.write(t,n);return o!==i&&(e=e.slice(0,o)),e}function A(e,t){var n=t.length<0?0:0|v(t.length);e=c(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function g(e,t,n,i){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i),r.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=r.prototype):e=A(e,t),e}function m(e,t){if(r.isBuffer(t)){var n=0|v(t.length);return e=c(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?c(e,0):A(e,t);if("Buffer"===t.type&&a(t.data))return A(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function v(e){if(e>=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),r.alloc(+e)}function b(e,t){if(r.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $(e).length;default:if(i)return Y(e).length;t=(""+t).toLowerCase(),i=!0}}function _(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return j(this,t,n);case"utf8":case"utf-8":return I(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return T(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function w(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function x(e,t,n,i,o){if(0===e.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=r.from(t,i)),r.isBuffer(t))return 0===t.length?-1:C(e,t,n,i,o);if("number"===typeof t)return t&=255,r.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):C(e,[t],n,i,o);throw new TypeError("val must be string, number or Buffer")}function C(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(c(e,o+h)!==c(t,h)){d=!1;break}if(d)return o}return-1}function S(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function k(e,t,n,r){return ee(Y(t,e.length-n),e,n,r)}function E(e,t,n,r){return ee(Z(t),e,n,r)}function O(e,t,n,r){return E(e,t,n,r)}function B(e,t,n,r){return ee($(t),e,n,r)}function M(e,t,n,r){return ee(J(t,e.length-n),e,n,r)}function T(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function I(e,t,n){n=Math.min(e.length,n);var r=[],i=t;while(i<n){var o,a,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:o=e[i+1],128===(192&o)&&(l=(31&c)<<6|63&o,l>127&&(u=l));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(u=l));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(u=l))}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return D(r)}n.Buffer=r,n.SlowBuffer=y,n.INSPECT_MAX_BYTES=50,r.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:s(),n.kMaxLength=l(),r.poolSize=8192,r._augment=function(e){return e.__proto__=r.prototype,e},r.from=function(e,t,n){return u(null,e,t,n)},r.TYPED_ARRAY_SUPPORT&&(r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0})),r.alloc=function(e,t,n){return h(null,e,t,n)},r.allocUnsafe=function(e){return f(null,e)},r.allocUnsafeSlow=function(e){return f(null,e)},r.isBuffer=function(e){return!(null==e||!e._isBuffer)},r.compare=function(e,t){if(!r.isBuffer(e)||!r.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0},r.isEncoding=function(e){switch(String(e).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}},r.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return r.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=r.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(!r.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,o),o+=s.length}return i},r.byteLength=b,r.prototype._isBuffer=!0,r.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)w(this,t,t+1);return this},r.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)w(this,t,t+3),w(this,t+1,t+2);return this},r.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},r.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):_.apply(this,arguments)},r.prototype.equals=function(e){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===r.compare(this,e)},r.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},r.prototype.compare=function(e,t,n,i,o){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,s=n-t,l=Math.min(a,s),c=this.slice(i,o),u=e.slice(t,n),d=0;d<l;++d)if(c[d]!==u[d]){a=c[d],s=u[d];break}return a<s?-1:s<a?1:0},r.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},r.prototype.indexOf=function(e,t,n){return x(this,e,t,n,!0)},r.prototype.lastIndexOf=function(e,t,n){return x(this,e,t,n,!1)},r.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return S(this,e,t,n);case"utf8":case"utf-8":return k(this,e,t,n);case"ascii":return E(this,e,t,n);case"latin1":case"binary":return O(this,e,t,n);case"base64":return B(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function D(e){var t=e.length;if(t<=L)return String.fromCharCode.apply(String,e);var n="",r=0;while(r<t)n+=String.fromCharCode.apply(String,e.slice(r,r+=L));return n}function P(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function N(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function j(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=q(e[o]);return i}function F(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function R(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function U(e,t,n,i,o,a){if(!r.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function H(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function Q(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function K(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function z(e,t,n,r,i){return i||K(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function V(e,t,n,r,i){return i||K(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}r.prototype.slice=function(e,t){var n,i=this.length;if(e=~~e,t=void 0===t?i:~~t,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<e&&(t=e),r.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=r.prototype;else{var o=t-e;n=new r(o,void 0);for(var a=0;a<o;++a)n[a]=this[a+e]}return n},r.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return r},r.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);var r=this[e+--t],i=1;while(t>0&&(i*=256))r+=this[e+--t]*i;return r},r.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},r.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},r.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},r.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},r.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},r.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},r.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);var r=t,i=1,o=this[e+--r];while(r>0&&(i*=256))o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},r.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},r.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},r.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},r.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},r.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},r.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),o.read(this,e,!0,23,4)},r.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),o.read(this,e,!1,23,4)},r.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),o.read(this,e,!0,52,8)},r.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),o.read(this,e,!1,52,8)},r.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;U(this,e,t,n,i,0)}var o=1,a=0;this[t]=255&e;while(++a<n&&(o*=256))this[t+a]=e/o&255;return t+n},r.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;U(this,e,t,n,i,0)}var o=n-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+n},r.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,1,255,0),r.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},r.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):H(this,e,t,!0),t+2},r.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):H(this,e,t,!1),t+2},r.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Q(this,e,t,!0),t+4},r.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Q(this,e,t,!1),t+4},r.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);U(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<n&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},r.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);U(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},r.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,1,127,-128),r.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},r.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):H(this,e,t,!0),t+2},r.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):H(this,e,t,!1),t+2},r.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,2147483647,-2147483648),r.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Q(this,e,t,!0),t+4},r.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Q(this,e,t,!1),t+4},r.prototype.writeFloatLE=function(e,t,n){return z(this,e,t,!0,n)},r.prototype.writeFloatBE=function(e,t,n){return z(this,e,t,!1,n)},r.prototype.writeDoubleLE=function(e,t,n){return V(this,e,t,!0,n)},r.prototype.writeDoubleBE=function(e,t,n){return V(this,e,t,!1,n)},r.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o,a=i-n;if(this===e&&n<t&&t<i)for(o=a-1;o>=0;--o)e[o+t]=this[o+n];else if(a<1e3||!r.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},r.prototype.fill=function(e,t,n,i){if("string"===typeof e){if("string"===typeof t?(i=t,t=0,n=this.length):"string"===typeof n&&(i=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==i&&"string"!==typeof i)throw new TypeError("encoding must be a string");if("string"===typeof i&&!r.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(a=t;a<n;++a)this[a]=e;else{var s=r.isBuffer(e)?e:Y(new r(e,i).toString()),l=s.length;for(a=0;a<n-t;++a)this[a+t]=s[a%l]}return this};var W=/[^+\/0-9A-Za-z-_]/g;function G(e){if(e=X(e).replace(W,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function X(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function Y(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Z(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function J(e,t){for(var n,r,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r)}return o}function $(e){return i.toByteArray(G(e))}function ee(e,t,n,r){for(var i=0;i<r;++i){if(i+n>=t.length||i>=e.length)break;t[i+n]=e[i]}return i}function te(e){return e!==e}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},e("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(e,t,n){t.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(e,t,n){t.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(e,t,n){"use strict";var r=Array.prototype.slice;function i(e,t){if(!(this instanceof i))return new i(e,t);this.src=e,this._withAccess=t}function o(e,t){return void 0===e[t]&&void 0===e.__lookupGetter__(t)&&void 0===e.__lookupSetter__(t)}t.exports=i,i.prototype.withAccess=function(e){return this._withAccess=!1!==e,this},i.prototype.pick=function(e){return Array.isArray(e)||(e=r.call(arguments)),e.length&&(this.keys=e),this},i.prototype.to=function(e){if(e=e||{},!this.src)return e;var t=this.keys||Object.keys(this.src);if(!this._withAccess){for(var n=0;n<t.length;n++)r=t[n],void 0===e[r]&&(e[r]=this.src[r]);return e}for(n=0;n<t.length;n++){var r=t[n];if(o(e,r)){var i=this.src.__lookupGetter__(r),a=this.src.__lookupSetter__(r);i&&e.__defineGetter__(r,i),a&&e.__defineSetter__(r,a),i||a||(e[r]=this.src[r])}}return e},i.prototype.toCover=function(e){for(var t=this.keys||Object.keys(this.src),n=0;n<t.length;n++){var r=t[n];delete e[r];var i=this.src.__lookupGetter__(r),o=this.src.__lookupSetter__(r);i&&e.__defineGetter__(r,i),o&&e.__defineSetter__(r,o),i||o||(e[r]=this.src[r])}},i.prototype.override=i.prototype.toCover,i.prototype.and=function(e){var t={};return this.to(t),this.src=e,this.to(t),this.src=t,this}},{}],77:[function(e,t,n){e("../../modules/es6.string.iterator"),e("../../modules/es6.array.from"),t.exports=e("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(e,t,n){var r=e("../../modules/_core"),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(e){return i.stringify.apply(i,arguments)}},{"../../modules/_core":99}],79:[function(e,t,n){e("../../modules/es6.object.assign"),t.exports=e("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(e,t,n){e("../../modules/es6.object.create");var r=e("../../modules/_core").Object;t.exports=function(e,t){return r.create(e,t)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(e,t,n){e("../../modules/es6.object.define-property");var r=e("../../modules/_core").Object;t.exports=function(e,t,n){return r.defineProperty(e,t,n)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(e,t,n){e("../../modules/es7.object.entries"),t.exports=e("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(e,t,n){e("../../modules/es6.object.get-own-property-names");var r=e("../../modules/_core").Object;t.exports=function(e){return r.getOwnPropertyNames(e)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(e,t,n){e("../../modules/es6.object.get-prototype-of"),t.exports=e("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(e,t,n){e("../../modules/es6.object.keys"),t.exports=e("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(e,t,n){e("../modules/es6.object.to-string"),e("../modules/es6.string.iterator"),e("../modules/web.dom.iterable"),e("../modules/es6.promise"),e("../modules/es7.promise.finally"),e("../modules/es7.promise.try"),t.exports=e("../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(e,t,n){e("../modules/web.immediate"),t.exports=e("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(e,t,n){e("../../modules/es6.string.from-code-point"),t.exports=e("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(e,t,n){e("../../modules/es6.function.has-instance"),t.exports=e("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(e,t,n){e("../../modules/es6.symbol"),e("../../modules/es6.object.to-string"),e("../../modules/es7.symbol.async-iterator"),e("../../modules/es7.symbol.observable"),t.exports=e("../../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(e,t,n){e("../../modules/es6.string.iterator"),e("../../modules/web.dom.iterable"),t.exports=e("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(e,t,n){t.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},{}],93:[function(e,t,n){t.exports=function(){}},{}],94:[function(e,t,n){t.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},{}],95:[function(e,t,n){var r=e("./_is-object");t.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},{"./_is-object":119}],96:[function(e,t,n){var r=e("./_to-iobject"),i=e("./_to-length"),o=e("./_to-absolute-index");t.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(e,t,n){var r=e("./_cof"),i=e("./_wks")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(n){}};t.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},{"./_cof":98,"./_wks":166}],98:[function(e,t,n){var r={}.toString;t.exports=function(e){return r.call(e).slice(8,-1)}},{}],99:[function(e,t,n){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},{}],100:[function(e,t,n){"use strict";var r=e("./_object-dp"),i=e("./_property-desc");t.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},{"./_object-dp":132,"./_property-desc":146}],101:[function(e,t,n){var r=e("./_a-function");t.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},{"./_a-function":92}],102:[function(e,t,n){t.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},{}],103:[function(e,t,n){t.exports=!e("./_fails")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},{"./_fails":108}],104:[function(e,t,n){var r=e("./_is-object"),i=e("./_global").document,o=r(i)&&r(i.createElement);t.exports=function(e){return o?i.createElement(e):{}}},{"./_global":110,"./_is-object":119}],105:[function(e,t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(e,t,n){var r=e("./_object-keys"),i=e("./_object-gops"),o=e("./_object-pie");t.exports=function(e){var t=r(e),n=i.f;if(n){var a,s=n(e),l=o.f,c=0;while(s.length>c)l.call(e,a=s[c++])&&t.push(a)}return t}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(e,t,n){var r=e("./_global"),i=e("./_core"),o=e("./_ctx"),a=e("./_hide"),s=e("./_has"),l="prototype",c=function e(t,n,c){var u,d,h,f=t&e.F,p=t&e.G,A=t&e.S,g=t&e.P,m=t&e.B,v=t&e.W,y=p?i:i[n]||(i[n]={}),b=y[l],_=p?r:A?r[n]:(r[n]||{})[l];for(u in p&&(c=n),c)d=!f&&_&&void 0!==_[u],d&&s(y,u)||(h=d?_[u]:c[u],y[u]=p&&"function"!=typeof _[u]?c[u]:m&&d?o(h,r):v&&_[u]==h?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[l]=e[l],t}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((y.virtual||(y.virtual={}))[u]=h,t&e.R&&b&&!b[u]&&a(b,u,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(t){return!0}}},{}],109:[function(e,t,n){var r=e("./_ctx"),i=e("./_iter-call"),o=e("./_is-array-iter"),a=e("./_an-object"),s=e("./_to-length"),l=e("./core.get-iterator-method"),c={},u={};n=t.exports=function(e,t,n,d,h){var f,p,A,g,m=h?function(){return e}:l(e),v=r(n,d,t?2:1),y=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(o(m)){for(f=s(e.length);f>y;y++)if(g=t?v(a(p=e[y])[0],p[1]):v(e[y]),g===c||g===u)return g}else for(A=m.call(e);!(p=A.next()).done;)if(g=i(A,v,p.value,t),g===c||g===u)return g};n.BREAK=c,n.RETURN=u},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(e,t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},{}],111:[function(e,t,n){var r={}.hasOwnProperty;t.exports=function(e,t){return r.call(e,t)}},{}],112:[function(e,t,n){var r=e("./_object-dp"),i=e("./_property-desc");t.exports=e("./_descriptors")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(e,t,n){var r=e("./_global").document;t.exports=r&&r.documentElement},{"./_global":110}],114:[function(e,t,n){t.exports=!e("./_descriptors")&&!e("./_fails")((function(){return 7!=Object.defineProperty(e("./_dom-create")("div"),"a",{get:function(){return 7}}).a}))},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(e,t,n){t.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},{}],116:[function(e,t,n){var r=e("./_cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},{"./_cof":98}],117:[function(e,t,n){var r=e("./_iterators"),i=e("./_wks")("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},{"./_iterators":125,"./_wks":166}],118:[function(e,t,n){var r=e("./_cof");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"./_cof":98}],119:[function(e,t,n){t.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},{}],120:[function(e,t,n){var r=e("./_an-object");t.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){var o=e["return"];throw void 0!==o&&r(o.call(e)),a}}},{"./_an-object":95}],121:[function(e,t,n){"use strict";var r=e("./_object-create"),i=e("./_property-desc"),o=e("./_set-to-string-tag"),a={};e("./_hide")(a,e("./_wks")("iterator"),(function(){return this})),t.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(e,t,n){"use strict";var r=e("./_library"),i=e("./_export"),o=e("./_redefine"),a=e("./_hide"),s=e("./_iterators"),l=e("./_iter-create"),c=e("./_set-to-string-tag"),u=e("./_object-gpo"),d=e("./_wks")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",A="values",g=function(){return this};t.exports=function(e,t,n,m,v,y,b){l(n,t,m);var _,w,x,C=function(e){if(!h&&e in O)return O[e];switch(e){case p:return function(){return new n(this,e)};case A:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",k=v==A,E=!1,O=e.prototype,B=O[d]||O[f]||v&&O[v],M=B||C(v),T=v?k?C("entries"):M:void 0,I="Array"==t&&O.entries||B;if(I&&(x=u(I.call(new e)),x!==Object.prototype&&x.next&&(c(x,S,!0),r||"function"==typeof x[d]||a(x,d,g))),k&&B&&B.name!==A&&(E=!0,M=function(){return B.call(this)}),r&&!b||!h&&!E&&O[d]||a(O,d,M),s[t]=M,s[S]=g,v)if(_={values:k?M:C(A),keys:y?M:C(p),entries:T},b)for(w in _)w in O||o(O,w,_[w]);else i(i.P+i.F*(h||E),t,_);return _}},{"./_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(e,t,n){var r=e("./_wks")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}t.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},e(o)}catch(a){}return n}},{"./_wks":166}],124:[function(e,t,n){t.exports=function(e,t){return{value:t,done:!!e}}},{}],125:[function(e,t,n){t.exports={}},{}],126:[function(e,t,n){t.exports=!0},{}],127:[function(e,t,n){var r=e("./_uid")("meta"),i=e("./_is-object"),o=e("./_has"),a=e("./_object-dp").f,s=0,l=Object.isExtensible||function(){return!0},c=!e("./_fails")((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},h=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},f=function(e){return c&&p.NEED&&l(e)&&!o(e,r)&&u(e),e},p=t.exports={KEY:r,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(e,t,n){var r=e("./_global"),i=e("./_task").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==e("./_cof")(a);t.exports=function(){var e,t,n,c=function(){var r,i;l&&(r=a.domain)&&r.exit();while(e){i=e.fn,e=e.next;try{i()}catch(o){throw e?n():t=void 0,o}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){i.call(r,c)};else{var d=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(e,t,n){"use strict";var r=e("./_a-function");function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}t.exports.f=function(e){return new i(e)}},{"./_a-function":92}],130:[function(e,t,n){"use strict";var r=e("./_descriptors"),i=e("./_object-keys"),o=e("./_object-gops"),a=e("./_object-pie"),s=e("./_to-object"),l=e("./_iobject"),c=Object.assign;t.exports=!c||e("./_fails")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){var n=s(e),c=arguments.length,u=1,d=o.f,h=a.f;while(c>u){var f,p=l(arguments[u++]),A=d?i(p).concat(d(p)):i(p),g=A.length,m=0;while(g>m)f=A[m++],r&&!h.call(p,f)||(n[f]=p[f])}return n}:c},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(e,t,n){var r=e("./_an-object"),i=e("./_object-dps"),o=e("./_enum-bug-keys"),a=e("./_shared-key")("IE_PROTO"),s=function(){},l="prototype",c=function(){var t,n=e("./_dom-create")("iframe"),r=o.length,i="<",a=">";n.style.display="none",e("./_html").appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),c=t.F;while(r--)delete c[l][o[r]];return c()};t.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=c(),void 0===t?n:i(n,t)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(e,t,n){var r=e("./_an-object"),i=e("./_ie8-dom-define"),o=e("./_to-primitive"),a=Object.defineProperty;n.f=e("./_descriptors")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(e,t,n){var r=e("./_object-dp"),i=e("./_an-object"),o=e("./_object-keys");t.exports=e("./_descriptors")?Object.defineProperties:function(e,t){i(e);var n,a=o(t),s=a.length,l=0;while(s>l)r.f(e,n=a[l++],t[n]);return e}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(e,t,n){var r=e("./_object-pie"),i=e("./_property-desc"),o=e("./_to-iobject"),a=e("./_to-primitive"),s=e("./_has"),l=e("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;n.f=e("./_descriptors")?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(e,t,n){var r=e("./_to-iobject"),i=e("./_object-gopn").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};t.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(e,t,n){var r=e("./_object-keys-internal"),i=e("./_enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],138:[function(e,t,n){var r=e("./_has"),i=e("./_to-object"),o=e("./_shared-key")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(e,t,n){var r=e("./_has"),i=e("./_to-iobject"),o=e("./_array-includes")(!1),a=e("./_shared-key")("IE_PROTO");t.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(e,t,n){var r=e("./_object-keys-internal"),i=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(e,t,n){n.f={}.propertyIsEnumerable},{}],142:[function(e,t,n){var r=e("./_export"),i=e("./_core"),o=e("./_fails");t.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(e,t,n){var r=e("./_descriptors"),i=e("./_object-keys"),o=e("./_to-iobject"),a=e("./_object-pie").f;t.exports=function(e){return function(t){var n,s=o(t),l=i(s),c=l.length,u=0,d=[];while(c>u)n=l[u++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(e,t,n){t.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},{}],145:[function(e,t,n){var r=e("./_an-object"),i=e("./_is-object"),o=e("./_new-promise-capability");t.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e),a=n.resolve;return a(t),n.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],147:[function(e,t,n){var r=e("./_hide");t.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},{"./_hide":112}],148:[function(e,t,n){t.exports=e("./_hide")},{"./_hide":112}],149:[function(e,t,n){"use strict";var r=e("./_global"),i=e("./_core"),o=e("./_object-dp"),a=e("./_descriptors"),s=e("./_wks")("species");t.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];a&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(e,t,n){var r=e("./_object-dp").f,i=e("./_has"),o=e("./_wks")("toStringTag");t.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(e,t,n){var r=e("./_shared")("keys"),i=e("./_uid");t.exports=function(e){return r[e]||(r[e]=i(e))}},{"./_shared":152,"./_uid":162}],152:[function(e,t,n){var r=e("./_core"),i=e("./_global"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:e("./_library")?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(e,t,n){var r=e("./_an-object"),i=e("./_a-function"),o=e("./_wks")("species");t.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(e,t,n){var r=e("./_to-integer"),i=e("./_defined");t.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(e,t,n){var r,i,o,a=e("./_ctx"),s=e("./_invoke"),l=e("./_html"),c=e("./_dom-create"),u=e("./_global"),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,A=u.Dispatch,g=0,m={},v="onreadystatechange",y=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},b=function(e){y.call(e.data)};h&&f||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return m[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},f=function(e){delete m[e]},"process"==e("./_cof")(d)?r=function(e){d.nextTick(a(y,e,1))}:A&&A.now?r=function(e){A.now(a(y,e,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=b,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",b,!1)):r=v in c("script")?function(e){l.appendChild(c("script"))[v]=function(){l.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),t.exports={set:h,clear:f}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(e,t,n){var r=e("./_to-integer"),i=Math.max,o=Math.min;t.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},{"./_to-integer":157}],157:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?i:r)(e)}},{}],158:[function(e,t,n){var r=e("./_iobject"),i=e("./_defined");t.exports=function(e){return r(i(e))}},{"./_defined":102,"./_iobject":116}],159:[function(e,t,n){var r=e("./_to-integer"),i=Math.min;t.exports=function(e){return e>0?i(r(e),9007199254740991):0}},{"./_to-integer":157}],160:[function(e,t,n){var r=e("./_defined");t.exports=function(e){return Object(r(e))}},{"./_defined":102}],161:[function(e,t,n){var r=e("./_is-object");t.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(e,t,n){var r=0,i=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+i).toString(36))}},{}],163:[function(e,t,n){var r=e("./_global"),i=r.navigator;t.exports=i&&i.userAgent||""},{"./_global":110}],164:[function(e,t,n){var r=e("./_global"),i=e("./_core"),o=e("./_library"),a=e("./_wks-ext"),s=e("./_object-dp").f;t.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(e,t,n){n.f=e("./_wks")},{"./_wks":166}],166:[function(e,t,n){var r=e("./_shared")("wks"),i=e("./_uid"),o=e("./_global").Symbol,a="function"==typeof o,s=t.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=r},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(e,t,n){var r=e("./_classof"),i=e("./_wks")("iterator"),o=e("./_iterators");t.exports=e("./_core").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(e,t,n){"use strict";var r=e("./_ctx"),i=e("./_export"),o=e("./_to-object"),a=e("./_iter-call"),s=e("./_is-array-iter"),l=e("./_to-length"),c=e("./_create-property"),u=e("./core.get-iterator-method");i(i.S+i.F*!e("./_iter-detect")((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,i,d,h=o(e),f="function"==typeof this?this:Array,p=arguments.length,A=p>1?arguments[1]:void 0,g=void 0!==A,m=0,v=u(h);if(g&&(A=r(A,p>2?arguments[2]:void 0,2)),void 0==v||f==Array&&s(v))for(t=l(h.length),n=new f(t);t>m;m++)c(n,m,g?A(h[m],m):h[m]);else for(d=v.call(h),n=new f;!(i=d.next()).done;m++)c(n,m,g?a(d,A,[i.value,m],!0):i.value);return n.length=m,n}})},{"./_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(e,t,n){"use strict";var r=e("./_add-to-unscopables"),i=e("./_iter-step"),o=e("./_iterators"),a=e("./_to-iobject");t.exports=e("./_iter-define")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(e,t,n){"use strict";var r=e("./_is-object"),i=e("./_object-gpo"),o=e("./_wks")("hasInstance"),a=Function.prototype;o in a||e("./_object-dp").f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;while(e=i(e))if(this.prototype===e)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(e,t,n){var r=e("./_export");r(r.S+r.F,"Object",{assign:e("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(e,t,n){var r=e("./_export");r(r.S,"Object",{create:e("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(e,t,n){var r=e("./_export");r(r.S+r.F*!e("./_descriptors"),"Object",{defineProperty:e("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(e,t,n){e("./_object-sap")("getOwnPropertyNames",(function(){return e("./_object-gopn-ext").f}))},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(e,t,n){var r=e("./_to-object"),i=e("./_object-gpo");e("./_object-sap")("getPrototypeOf",(function(){return function(e){return i(r(e))}}))},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(e,t,n){var r=e("./_to-object"),i=e("./_object-keys");e("./_object-sap")("keys",(function(){return function(e){return i(r(e))}}))},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(e,t,n){arguments[4][71][0].apply(n,arguments)},{dup:71}],178:[function(e,t,n){"use strict";var r,i,o,a,s=e("./_library"),l=e("./_global"),c=e("./_ctx"),u=e("./_classof"),d=e("./_export"),h=e("./_is-object"),f=e("./_a-function"),p=e("./_an-instance"),A=e("./_for-of"),g=e("./_species-constructor"),m=e("./_task").set,v=e("./_microtask")(),y=e("./_new-promise-capability"),b=e("./_perform"),_=e("./_user-agent"),w=e("./_promise-resolve"),x="Promise",C=l.TypeError,S=l.process,k=S&&S.versions,E=k&&k.v8||"",O=l[x],B="process"==u(S),M=function(){},T=i=y.f,I=!!function(){try{var t=O.resolve(1),n=(t.constructor={})[e("./_wks")("species")]=function(e){e(M,M)};return(B||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof n&&0!==E.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(r){}}(),L=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},D=function(e,t){if(!e._n){e._n=!0;var n=e._c;v((function(){var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,s=i?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(i||(2==e._h&&j(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===t.promise?c(C("Promise-chain cycle")):(o=L(n))?o.call(n,l,c):l(n)):c(r)}catch(d){u&&!a&&u.exit(),c(d)}};while(n.length>o)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&P(e)}))}},P=function(e){m.call(l,(function(){var t,n,r,i=e._v,o=N(e);if(o&&(t=b((function(){B?S.emit("unhandledRejection",i,e):(n=l.onunhandledrejection)?n({promise:e,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=B||N(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},N=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){m.call(l,(function(){var t;B?S.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},F=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),D(t,!0))},R=function e(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw C("Promise can't be resolved itself");(n=L(t))?v((function(){var i={_w:r,_d:!1};try{n.call(t,c(e,i,1),c(F,i,1))}catch(o){F.call(i,o)}})):(r._v=t,r._s=1,D(r,!1))}catch(i){F.call({_w:r,_d:!1},i)}}};I||(O=function(e){p(this,O,x,"_h"),f(e),r.call(this);try{e(c(R,this,1),c(F,this,1))}catch(t){F.call(this,t)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e("./_redefine-all")(O.prototype,{then:function(e,t){var n=T(g(this,O));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=B?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=c(R,e,1),this.reject=c(F,e,1)},y.f=T=function(e){return e===O||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!I,{Promise:O}),e("./_set-to-string-tag")(O,x),e("./_set-species")(x),a=e("./_core")[x],d(d.S+d.F*!I,x,{reject:function(e){var t=T(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(s||!I),x,{resolve:function(e){return w(s&&this===a?O:this,e)}}),d(d.S+d.F*!(I&&e("./_iter-detect")((function(e){O.all(e)["catch"](M)}))),x,{all:function(e){var t=this,n=T(t),r=n.resolve,i=n.reject,o=b((function(){var n=[],o=0,a=1;A(e,!1,(function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=T(t),r=n.reject,i=b((function(){A(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.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(e,t,n){var r=e("./_export"),i=e("./_to-absolute-index"),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){var t,n=[],r=arguments.length,a=0;while(r>a){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(e,t,n){"use strict";var r=e("./_string-at")(!0);e("./_iter-define")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},{"./_iter-define":122,"./_string-at":154}],181:[function(e,t,n){"use strict";var r=e("./_global"),i=e("./_has"),o=e("./_descriptors"),a=e("./_export"),s=e("./_redefine"),l=e("./_meta").KEY,c=e("./_fails"),u=e("./_shared"),d=e("./_set-to-string-tag"),h=e("./_uid"),f=e("./_wks"),p=e("./_wks-ext"),A=e("./_wks-define"),g=e("./_enum-keys"),m=e("./_is-array"),v=e("./_an-object"),y=e("./_is-object"),b=e("./_to-object"),_=e("./_to-iobject"),w=e("./_to-primitive"),x=e("./_property-desc"),C=e("./_object-create"),S=e("./_object-gopn-ext"),k=e("./_object-gopd"),E=e("./_object-gops"),O=e("./_object-dp"),B=e("./_object-keys"),M=k.f,T=O.f,I=S.f,L=r.Symbol,D=r.JSON,P=D&&D.stringify,N="prototype",j=f("_hidden"),F=f("toPrimitive"),R={}.propertyIsEnumerable,U=u("symbol-registry"),H=u("symbols"),Q=u("op-symbols"),K=Object[N],z="function"==typeof L&&!!E.f,V=r.QObject,W=!V||!V[N]||!V[N].findChild,G=o&&c((function(){return 7!=C(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=M(K,t);r&&delete K[t],T(e,t,n),r&&e!==K&&T(K,t,r)}:T,X=function(e){var t=H[e]=C(L[N]);return t._k=e,t},q=z&&"symbol"==typeof L.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof L},Y=function(e,t,n){return e===K&&Y(Q,t,n),v(e),t=w(t,!0),v(n),i(H,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=C(n,{enumerable:x(0,!1)})):(i(e,j)||T(e,j,x(1,{})),e[j][t]=!0),G(e,t,n)):T(e,t,n)},Z=function(e,t){v(e);var n,r=g(t=_(t)),i=0,o=r.length;while(o>i)Y(e,n=r[i++],t[n]);return e},J=function(e,t){return void 0===t?C(e):Z(C(e),t)},$=function(e){var t=R.call(this,e=w(e,!0));return!(this===K&&i(H,e)&&!i(Q,e))&&(!(t||!i(this,e)||!i(H,e)||i(this,j)&&this[j][e])||t)},ee=function(e,t){if(e=_(e),t=w(t,!0),e!==K||!i(H,t)||i(Q,t)){var n=M(e,t);return!n||!i(H,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},te=function(e){var t,n=I(_(e)),r=[],o=0;while(n.length>o)i(H,t=n[o++])||t==j||t==l||r.push(t);return r},ne=function(e){var t,n=e===K,r=I(n?Q:_(e)),o=[],a=0;while(r.length>a)!i(H,t=r[a++])||n&&!i(K,t)||o.push(H[t]);return o};z||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function t(n){this===K&&t.call(Q,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),G(this,e,x(1,n))};return o&&W&&G(K,e,{configurable:!0,set:t}),X(e)},s(L[N],"toString",(function(){return this._k})),k.f=ee,O.f=Y,e("./_object-gopn").f=S.f=te,e("./_object-pie").f=$,E.f=ne,o&&!e("./_library")&&s(K,"propertyIsEnumerable",$,!0),p.f=function(e){return X(f(e))}),a(a.G+a.W+a.F*!z,{Symbol:L});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;re.length>ie;)f(re[ie++]);for(var oe=B(f.store),ae=0;oe.length>ae;)A(oe[ae++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return i(U,e+="")?U[e]:U[e]=L(e)},keyFor:function(e){if(!q(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!z,"Object",{create:J,defineProperty:Y,defineProperties:Z,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=c((function(){E.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return E.f(b(e))}}),D&&a(a.S+a.F*(!z||c((function(){var e=L();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))}))),"JSON",{stringify:function(e){var t,n,r=[e],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!q(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!q(t))return t}),r[1]=t,P.apply(D,r)}}),L[N][F]||e("./_hide")(L[N],F,L[N].valueOf),d(L,"Symbol"),d(Math,"Math",!0),d(r.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(e,t,n){var r=e("./_export"),i=e("./_object-to-array")(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},{"./_export":107,"./_object-to-array":143}],183:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_core"),o=e("./_global"),a=e("./_species-constructor"),s=e("./_promise-resolve");r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(e,t,n){"use strict";var r=e("./_export"),i=e("./_new-promise-capability"),o=e("./_perform");r(r.S,"Promise",{try:function(e){var t=i.f(this),n=o(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(e,t,n){e("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(e,t,n){e("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(e,t,n){e("./es6.array.iterator");for(var r=e("./_global"),i=e("./_hide"),o=e("./_iterators"),a=e("./_wks")("toStringTag"),s="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(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&i(d,a,c),o[c]=o.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(e,t,n){var r=e("./_export"),i=e("./_task");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},{"./_export":107,"./_task":155}],189:[function(e,t,n){(function(t){"use strict";var r=e("babel-runtime/helpers/typeof"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return Array.isArray?Array.isArray(e):"[object Array]"===b(e)}function s(e){return"boolean"===typeof e}function l(e){return null===e}function c(e){return null==e}function u(e){return"number"===typeof e}function d(e){return"string"===typeof e}function h(e){return"symbol"===("undefined"===typeof e?"undefined":(0,i["default"])(e))}function f(e){return void 0===e}function p(e){return"[object RegExp]"===b(e)}function A(e){return"object"===("undefined"===typeof e?"undefined":(0,i["default"])(e))&&null!==e}function g(e){return"[object Date]"===b(e)}function m(e){return"[object Error]"===b(e)||e instanceof Error}function v(e){return"function"===typeof e}function y(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===("undefined"===typeof e?"undefined":(0,i["default"])(e))||"undefined"===typeof e}function b(e){return Object.prototype.toString.call(e)}n.isArray=a,n.isBoolean=s,n.isNull=l,n.isNullOrUndefined=c,n.isNumber=u,n.isString=d,n.isSymbol=h,n.isUndefined=f,n.isRegExp=p,n.isObject=A,n.isDate=g,n.isError=m,n.isFunction=v,n.isPrimitive=y,n.isBuffer=t.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/typeof"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}(function(e){var r=function(){var e=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,t=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,n=/[^-+\dA-Z]/g;return function(i,c,u,d){if(1!==arguments.length||"string"!==l(i)||/\d/.test(i)||(c=i,i=void 0),i=i||new Date,i instanceof Date||(i=new Date(i)),isNaN(i))throw TypeError("Invalid date");c=String(r.masks[c]||c||r.masks["default"]);var h=c.slice(0,4);"UTC:"!==h&&"GMT:"!==h||(c=c.slice(4),u=!0,"GMT:"===h&&(d=!0));var f=u?"getUTC":"get",p=i[f+"Date"](),A=i[f+"Day"](),g=i[f+"Month"](),m=i[f+"FullYear"](),v=i[f+"Hours"](),y=i[f+"Minutes"](),b=i[f+"Seconds"](),_=i[f+"Milliseconds"](),w=u?0:i.getTimezoneOffset(),x=a(i),C=s(i),S={d:p,dd:o(p),ddd:r.i18n.dayNames[A],dddd:r.i18n.dayNames[A+7],m:g+1,mm:o(g+1),mmm:r.i18n.monthNames[g],mmmm:r.i18n.monthNames[g+12],yy:String(m).slice(2),yyyy:m,h:v%12||12,hh:o(v%12||12),H:v,HH:o(v),M:y,MM:o(y),s:b,ss:o(b),l:o(_,3),L:o(Math.round(_/10)),t:v<12?"a":"p",tt:v<12?"am":"pm",T:v<12?"A":"P",TT:v<12?"AM":"PM",Z:d?"GMT":u?"UTC":(String(i).match(t)||[""]).pop().replace(n,""),o:(w>0?"-":"+")+o(100*Math.floor(Math.abs(w)/60)+Math.abs(w)%60,4),S:["th","st","nd","rd"][p%10>3?0:(p%100-p%10!=10)*p%10],W:x,N:C};return c.replace(e,(function(e){return e in S?S[e]:e.slice(1,e.length-1)}))}}();function o(e,t){e=String(e),t=t||2;while(e.length<t)e="0"+e;return e}function a(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);var n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-r);var i=(t-n)/6048e5;return 1+Math.floor(i)}function s(e){var t=e.getDay();return 0===t&&(t=7),t}function l(e){return null===e?"null":void 0===e?"undefined":"object"!==("undefined"===typeof e?"undefined":(0,i["default"])(e))?"undefined"===typeof e?"undefined":(0,i["default"])(e):Array.isArray(e)?"array":{}.toString.call(e).slice(8,-1).toLowerCase()}r.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},r.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},"function"===typeof define&&define.amd?define((function(){return r})):"object"===("undefined"===typeof n?"undefined":(0,i["default"])(n))?t.exports=r:e.dateFormat=r})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(e,t,n){"use strict";var r=/["'&<>]/;function i(e){var t,n=""+e,i=r.exec(n);if(!i)return n;var o="",a=0,s=0;for(a=i.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}s!==a&&(o+=n.substring(s,a)),s=a+1,o+=t}return s!==a?o+n.substring(s,a):o}t.exports=i},{}],192:[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"===typeof e}function o(e){return"number"===typeof e}function a(e){return"object"===typeof e&&null!==e}function s(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!o(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,n,r,o,l,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(n=this._events[e],s(n))return!1;if(i(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),n.apply(this,o)}else if(a(n))for(o=Array.prototype.slice.call(arguments,1),c=n.slice(),r=c.length,l=0;l<r;l++)c[l].apply(this,o);return!0},r.prototype.addListener=function(e,t){var n;if(!i(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?a(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,a(this._events[e])&&!this._events[e].warned&&(n=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners,n&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"===typeof console.trace&&console.trace())),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){if(!i(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},r.prototype.removeListener=function(e,t){var n,r,o,s;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],o=n.length,r=-1,n===t||i(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(n)){for(s=o;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){r=s;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],i(n))this.removeListener(e,n);else if(n)while(n.length)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[],t},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],193:[function(e,t,n){var r=e("http"),i=t.exports;for(var o in r)r.hasOwnProperty(o)&&(i[o]=r[o]);i.request=function(e,t){return e||(e={}),e.scheme="https",e.protocol="https:",r.request.call(this,e,t)}},{http:231}],194:[function(e,t,n){"use strict";var r=e("util"),i=e("ms");t.exports=function(e){if("number"===typeof e)return e;var t=i(e);if(void 0===t){var n=new Error(r.format("humanize-ms(%j) result undefined",e));console.warn(n.stack)}return t}},{ms:204,util:243}],195:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,h=n?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=h,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,A=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+d>=1?h/l:h*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+f]=255&a,f+=p,a/=256,c-=8);e[n+f-p]|=128*A}},{}],196:[function(e,t,n){"function"===typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},{}],197:[function(e,t,n){function r(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function i(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&r(e.slice(0,0))}t.exports=function(e){return null!=e&&(r(e)||i(e)||!!e._isBuffer)}},{}],198:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],199:[function(require,module,exports){(function(global){(function(e,t){"object"===typeof exports&&"undefined"!==typeof module?module.exports=t(e):"function"===typeof define&&define.amd?define(t):t(e)})("undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof global?global:this,(function(global){"use strict";global=global||{};var _Base64=global.Base64,version="2.5.2",buffer;if("undefined"!==typeof module&&module.exports)try{buffer=eval("require('buffer').Buffer")}catch(err){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?fromCharCode(192|t>>>6)+fromCharCode(128|63&t):fromCharCode(224|t>>>12&15)+fromCharCode(128|t>>>6&63)+fromCharCode(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return fromCharCode(240|t>>>18&7)+fromCharCode(128|t>>>12&63)+fromCharCode(128|t>>>6&63)+fromCharCode(128|63&t)},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(e){return e.replace(re_utob,cb_utob)},cb_encode=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),r=[b64chars.charAt(n>>>18),b64chars.charAt(n>>>12&63),t>=2?"=":b64chars.charAt(n>>>6&63),t>=1?"=":b64chars.charAt(63&n)];return r.join("")},btoa=global.btoa?function(e){return global.btoa(e)}:function(e){return e.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(e){var t="[object Uint8Array]"===Object.prototype.toString.call(e);return t?e.toString("base64"):btoa(utob(String(e)))},encode=function(e,t){return t?_encode(String(e)).replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,""):_encode(e)},encodeURI=function(e){return encode(e,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(e){switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return fromCharCode(55296+(n>>>10))+fromCharCode(56320+(1023&n));case 3:return fromCharCode((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return fromCharCode((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},btou=function(e){return e.replace(re_btou,cb_btou)},cb_decode=function(e){var t=e.length,n=t%4,r=(t>0?b64tab[e.charAt(0)]<<18:0)|(t>1?b64tab[e.charAt(1)]<<12:0)|(t>2?b64tab[e.charAt(2)]<<6:0)|(t>3?b64tab[e.charAt(3)]:0),i=[fromCharCode(r>>>16),fromCharCode(r>>>8&255),fromCharCode(255&r)];return i.length-=[0,0,2,1][n],i.join("")},_atob=global.atob?function(e){return global.atob(e)}:function(e){return e.replace(/\S{1,4}/g,cb_decode)},atob=function(e){return _atob(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(e){return(e.constructor===buffer.constructor?e:buffer.from(e,"base64")).toString()}:function(e){return(e.constructor===buffer.constructor?e:new buffer(e,"base64")).toString()}:function(e){return btou(_atob(e))},decode=function(e){return _decode(String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var e=global.Base64;return global.Base64=_Base64,e};if(global.Base64={VERSION:version,atob:atob,btoa:btoa,fromBase64:decode,toBase64:encode,utob:utob,encode:encode,encodeURI:encodeURI,btou:btou,decode:decode,noConflict:noConflict,__buffer__:buffer},"function"===typeof Object.defineProperty){var noEnum=function(e){return{value:e,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(e){return encode(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",noEnum((function(){return encode(this,!0)})))}}return global["Meteor"]&&(Base64=global.Base64),"undefined"!==typeof module&&module.exports?module.exports.Base64=global.Base64:"function"===typeof define&&define.amd&&define([],(function(){return global.Base64})),{Base64:global.Base64}}))}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],200:[function(e,t,n){"use strict";t.exports=i;var r=Object.prototype.hasOwnProperty;function i(e,t,n){if(!e)throw new TypeError("argument dest is required");if(!t)throw new TypeError("argument src is required");return void 0===n&&(n=!0),Object.getOwnPropertyNames(t).forEach((function(i){if(n||!r.call(e,i)){var o=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,o)}})),e}},{}],201:[function(e,t,n){"use strict";function r(){this._types=Object.create(null),this._extensions=Object.create(null);for(var e=0;e<arguments.length;e++)this.define(arguments[e]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}r.prototype.define=function(e,t){for(var n in e){var r=e[n].map((function(e){return e.toLowerCase()}));n=n.toLowerCase();for(var i=0;i<r.length;i++){var o=r[i];if("*"!=o[0]){if(!t&&o in this._types)throw new Error('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+n+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+n+'".');this._types[o]=n}}if(t||!this._extensions[n]){o=r[0];this._extensions[n]="*"!=o[0]?o:o.substr(1)}}},r.prototype.getType=function(e){e=String(e);var t=e.replace(/^.*[/\\]/,"").toLowerCase(),n=t.replace(/^.*\./,"").toLowerCase(),r=t.length<e.length,i=n.length<t.length-1;return(i||!r)&&this._types[n]||null},r.prototype.getExtension=function(e){return e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1,e&&this._extensions[e.toLowerCase()]||null},t.exports=r},{}],202:[function(e,t,n){"use strict";var r=e("./Mime");t.exports=new r(e("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(e,t,n){t.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(e,t,n){var r=1e3,i=60*r,o=60*i,a=24*o,s=7*a,l=365.25*a;function c(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),c=(t[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"weeks":case"week":case"w":return n*s;case"days":case"day":case"d":return n*a;case"hours":case"hour":case"hrs":case"hr":case"h":return n*o;case"minutes":case"minute":case"mins":case"min":case"m":return n*i;case"seconds":case"second":case"secs":case"sec":case"s":return n*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function u(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+"d":t>=o?Math.round(e/o)+"h":t>=i?Math.round(e/i)+"m":t>=r?Math.round(e/r)+"s":e+"ms"}function d(e){var t=Math.abs(e);return t>=a?h(e,t,a,"day"):t>=o?h(e,t,o,"hour"):t>=i?h(e,t,i,"minute"):t>=r?h(e,t,r,"second"):e+" ms"}function h(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}t.exports=function(e,t){t=t||{};var n=typeof e;if("string"===n&&e.length>0)return c(e);if("number"===n&&isFinite(e))return t["long"]?d(e):u(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},{}],205:[function(e,t,n){(function(e){function t(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}function i(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}n.resolve=function(){for(var n="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,r="/"===a.charAt(0))}return n=t(i(n.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+n||"."},n.normalize=function(e){var r=n.isAbsolute(e),a="/"===o(e,-1);return e=t(i(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},n.relative=function(e,t){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var i=r(e.split("/")),o=r(t.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}var c=[];for(l=s;l<i.length;l++)c.push("..");return c=c.concat(o.slice(s)),c.join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},n.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,e("_process"))},{_process:208}],206:[function(e,t,n){(function(e){(function(){"use strict";var r={function:!0,object:!0},i=r[typeof window]&&window||this,o=r[typeof n]&&n,a=r[typeof t]&&t&&!t.nodeType&&t,s=o&&a&&"object"==typeof e&&e;!s||s.global!==s&&s.window!==s&&s.self!==s||(i=s);var l=Math.pow(2,53)-1,c=/\bOpera/,u=Object.prototype,d=u.hasOwnProperty,h=u.toString;function f(e){return e=String(e),e.charAt(0).toUpperCase()+e.slice(1)}function p(e,t,n){var r={"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 t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(r=r[/[\d.]+$/.exec(e)])&&(e="Windows "+r),e=String(e),t&&n&&(e=e.replace(RegExp(t,"i"),n)),e=g(e.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]),e}function A(e,t){var n=-1,r=e?e.length:0;if("number"==typeof r&&r>-1&&r<=l)while(++n<r)t(e[n],n,e);else m(e,t)}function g(e){return e=w(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:f(e)}function m(e,t){for(var n in e)d.call(e,n)&&t(e[n],n,e)}function v(e){return null==e?f(e):h.call(e).slice(8,-1)}function y(e,t){var n=null!=e?typeof e[t]:"number";return!/^(?:boolean|number|string|undefined)$/.test(n)&&("object"!=n||!!e[t])}function b(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function _(e,t){var n=null;return A(e,(function(r,i){n=t(n,r,i,e)})),n}function w(e){return String(e).replace(/^ +| +$/g,"")}function x(e){var t=i,n=e&&"object"==typeof e&&"String"!=v(e);n&&(t=e,e=null);var r=t.navigator||{},o=r.userAgent||"";e||(e=o);var a,s,l=n?!!r.likeChrome:/\bChrome\b/.test(e)&&!/internal|\n/i.test(h.toString()),u="Object",d=n?u:"ScriptBridgingProxyObject",f=n?u:"Environment",A=n&&t.java?"JavaPackage":v(t.java),C=n?u:"RuntimeObject",S=/\bJava/.test(A)&&t.java,k=S&&v(t.environment)==f,E=S?"a":"\u03b1",O=S?"b":"\u03b2",B=t.document||{},M=t.operamini||t.opera,T=c.test(T=n&&M?M["[[Class]]"]:v(M))?T:M=null,I=e,L=[],D=null,P=e==o,N=P&&M&&"function"==typeof M.version&&M.version(),j=Q([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),F=z(["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"]),R=W([{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"]),U=K({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}}),H=V(["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 Q(t){return _(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||b(n))+"\\b","i").exec(e)&&(n.label||n)}))}function K(t){return _(t,(function(t,n,r){return t||(n[R]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(R)]||RegExp("\\b"+b(r)+"(?:\\b|\\w*\\d)","i").exec(e))&&r}))}function z(t){return _(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||b(n))+"\\b","i").exec(e)&&(n.label||n)}))}function V(t){return _(t,(function(t,n){var r=n.pattern||b(n);return!t&&(t=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(e))&&(t=p(t,r,n.label||n)),t}))}function W(t){return _(t,(function(t,n){var r=n.pattern||b(n);return!t&&(t=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(e)||RegExp("\\b"+r+" *\\w+-[\\w]*","i").exec(e)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(e))&&((t=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:t).split("/"))[1]&&!/[\d.]+/.test(t[0])&&(t[0]+=" "+t[1]),n=n.label||n,t=g(t[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),t}))}function G(t){return _(t,(function(t,n){return t||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(e)||0)[1]||null}))}function X(){return this.description||""}if(j&&(j=[j]),U&&!R&&(R=W([U])),(a=/\bGoogle TV\b/.exec(R))&&(R=a[0]),/\bSimulator\b/i.test(e)&&(R=(R?R+" ":"")+"Simulator"),"Opera Mini"==F&&/\bOPiOS\b/.test(e)&&L.push("running in Turbo/Uncompressed mode"),"IE"==F&&/\blike iPhone OS\b/.test(e)?(a=x(e.replace(/like iPhone OS/,"")),U=a.manufacturer,R=a.product):/^iP/.test(R)?(F||(F="Safari"),H="iOS"+((a=/ OS ([\d_]+)/i.exec(e))?" "+a[1].replace(/_/g,"."):"")):"Konqueror"!=F||/buntu/i.test(H)?U&&"Google"!=U&&(/Chrome/.test(F)&&!/\bMobile Safari\b/i.test(e)||/\bVita\b/.test(R))||/\bAndroid\b/.test(H)&&/^Chrome/.test(F)&&/\bVersion\//i.test(e)?(F="Android Browser",H=/\bAndroid\b/.test(H)?H:"Android"):"Silk"==F?(/\bMobi/i.test(e)||(H="Android",L.unshift("desktop mode")),/Accelerated *= *true/i.test(e)&&L.unshift("accelerated")):"PaleMoon"==F&&(a=/\bFirefox\/([\d.]+)\b/.exec(e))?L.push("identifying as Firefox "+a[1]):"Firefox"==F&&(a=/\b(Mobile|Tablet|TV)\b/i.exec(e))?(H||(H="Firefox OS"),R||(R=a[1])):!F||(a=!/\bMinefield\b/i.test(e)&&/\b(?:Firefox|Safari)\b/.exec(F))?(F&&!R&&/[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(a+"/")+8))&&(F=null),(a=R||U||H)&&(R||U||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(H))&&(F=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(H)?H:a)+" Browser")):"Electron"==F&&(a=(/\bChrome\/([\d.]+)\b/.exec(e)||0)[1])&&L.push("Chromium "+a):H="Kubuntu",N||(N=G(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",b(F),"(?:Firefox|Minefield|NetFront)"])),(a=("iCab"==j&&parseFloat(N)>3?"WebKit":/\bOpera\b/.test(F)&&(/\bOPR\b/.test(e)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&!/^(?:Trident|EdgeHTML)$/.test(j)&&"WebKit"||!j&&/\bMSIE\b/i.test(e)&&("Mac OS"==H?"Tasman":"Trident")||"WebKit"==j&&/\bPlayStation\b(?! Vita\b)/i.test(F)&&"NetFront")&&(j=[a]),"IE"==F&&(a=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])?(F+=" Mobile",H="Windows Phone "+(/\+$/.test(a)?a:a+".x"),L.unshift("desktop mode")):/\bWPDesktop\b/i.test(e)?(F="IE Mobile",H="Windows Phone 8.x",L.unshift("desktop mode"),N||(N=(/\brv:([\d.]+)/.exec(e)||0)[1])):"IE"!=F&&"Trident"==j&&(a=/\brv:([\d.]+)/.exec(e))&&(F&&L.push("identifying as "+F+(N?" "+N:"")),F="IE",N=a[1]),P){if(y(t,"global"))if(S&&(a=S.lang.System,I=a.getProperty("os.arch"),H=H||a.getProperty("os.name")+" "+a.getProperty("os.version")),k){try{N=t.require("ringo/engine").version.join("."),F="RingoJS"}catch(Y){(a=t.system)&&a.global.system==t.system&&(F="Narwhal",H||(H=a[0].os||null))}F||(F="Rhino")}else"object"==typeof t.process&&!t.process.browser&&(a=t.process)&&("object"==typeof a.versions&&("string"==typeof a.versions.electron?(L.push("Node "+a.versions.node),F="Electron",N=a.versions.electron):"string"==typeof a.versions.nw&&(L.push("Chromium "+N,"Node "+a.versions.node),F="NW.js",N=a.versions.nw)),F||(F="Node.js",I=a.arch,H=a.platform,N=/[\d.]+/.exec(a.version),N=N?N[0]:null));else v(a=t.runtime)==d?(F="Adobe AIR",H=a.flash.system.Capabilities.os):v(a=t.phantom)==C?(F="PhantomJS",N=(a=a.version||null)&&a.major+"."+a.minor+"."+a.patch):"number"==typeof B.documentMode&&(a=/\bTrident\/(\d+)/i.exec(e))?(N=[N,B.documentMode],(a=+a[1]+4)!=N[1]&&(L.push("IE "+N[1]+" mode"),j&&(j[1]=""),N[1]=a),N="IE"==F?String(N[1].toFixed(1)):N[0]):"number"==typeof B.documentMode&&/^(?:Chrome|Firefox)\b/.test(F)&&(L.push("masking as "+F+" "+N),F="IE",N="11.0",j=["Trident"],H="Windows");H=H&&g(H)}if(N&&(a=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(N)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(P&&r.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")&&(D=/b/i.test(a)?"beta":"alpha",N=N.replace(RegExp(a+"\\+?$"),"")+("beta"==D?O:E)+(/\d+\+?/.exec(a)||"")),"Fennec"==F||"Firefox"==F&&/\b(?:Android|Firefox OS)\b/.test(H))F="Firefox Mobile";else if("Maxthon"==F&&N)N=N.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(R))"Xbox 360"==R&&(H=null),"Xbox 360"==R&&/\bIEMobile\b/.test(e)&&L.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(F)&&(!F||R||/Browser|Mobi/.test(F))||"Windows CE"!=H&&!/Mobi/i.test(e))if("IE"==F&&P)try{null===t.external&&L.unshift("platform preview")}catch(Y){L.unshift("embedded")}else(/\bBlackBerry\b/.test(R)||/\bBB10\b/.test(e))&&(a=(RegExp(R.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||N)?(a=[a,/BB10/.test(e)],H=(a[1]?(R=null,U="BlackBerry"):"Device Software")+" "+a[0],N=null):this!=m&&"Wii"!=R&&(P&&M||/Opera/.test(F)&&/\b(?:MSIE|Firefox)\b/i.test(e)||"Firefox"==F&&/\bOS X (?:\d+\.){2,}/.test(H)||"IE"==F&&(H&&!/^Win/.test(H)&&N>5.5||/\bWindows XP\b/.test(H)&&N>8||8==N&&!/\bTrident\b/.test(e)))&&!c.test(a=x.call(m,e.replace(c,"")+";"))&&a.name&&(a="ing as "+a.name+((a=a.version)?" "+a:""),c.test(F)?(/\bIE\b/.test(a)&&"Mac OS"==H&&(H=null),a="identify"+a):(a="mask"+a,F=T?g(T.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(a)&&(H=null),P||(N=null)),j=["Presto"],L.push(a));else F+=" Mobile";(a=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1])&&(a=[parseFloat(a.replace(/\.(\d)$/,".0$1")),a],"Safari"==F&&"+"==a[1].slice(-1)?(F="WebKit Nightly",D="alpha",N=a[1].slice(0,-1)):N!=a[1]&&N!=(a[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])||(N=null),a[1]=(/\bChrome\/([\d.]+)/i.exec(e)||0)[1],537.36==a[0]&&537.36==a[2]&&parseFloat(a[1])>=28&&"WebKit"==j&&(j=["Blink"]),P&&(l||a[1])?(j&&(j[1]="like Chrome"),a=a[1]||(a=a[0],a<530?1:a<532?2:a<532.05?3:a<533?4:a<534.03?5:a<534.07?6:a<534.1?7:a<534.13?8:a<534.16?9:a<534.24?10:a<534.3?11:a<535.01?12:a<535.02?"13+":a<535.07?15:a<535.11?16:a<535.19?17:a<536.05?18:a<536.1?19:a<537.01?20:a<537.11?"21+":a<537.13?23:a<537.18?24:a<537.24?25:a<537.36?26:"Blink"!=j?"27":"28")):(j&&(j[1]="like Safari"),a=a[0],a=a<400?1:a<500?2:a<526?3:a<533?4:a<534?"4+":a<535?5:a<537?6:a<538?7:a<601?8:"8"),j&&(j[1]+=" "+(a+="number"==typeof a?".x":/[.+]/.test(a)?"":"+")),"Safari"==F&&(!N||parseInt(N)>45)&&(N=a)),"Opera"==F&&(a=/\bzbov|zvav$/.exec(H))?(F+=" ",L.unshift("desktop mode"),"zvav"==a?(F+="Mini",N=null):F+="Mobile",H=H.replace(RegExp(" *"+a+"$"),"")):"Safari"==F&&/\bChrome\b/.exec(j&&j[1])&&(L.unshift("desktop mode"),F="Chrome Mobile",N=null,/\bOS X\b/.test(H)?(U="Apple",H="iOS 4.3+"):H=null),N&&0==N.indexOf(a=/[\d.]+$/.exec(H))&&e.indexOf("/"+a+"-")>-1&&(H=w(H.replace(a,""))),j&&!/\b(?:Avant|Nook)\b/.test(F)&&(/Browser|Lunascape|Maxthon/.test(F)||"Safari"!=F&&/^iOS/.test(H)&&/\bSafari\b/.test(j[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(F)&&j[1])&&(a=j[j.length-1])&&L.push(a),L.length&&(L=["("+L.join("; ")+")"]),U&&R&&R.indexOf(U)<0&&L.push("on "+U),R&&L.push((/^on /.test(L[L.length-1])?"":"on ")+R),H&&(a=/ ([\d.+]+)$/.exec(H),s=a&&"/"==H.charAt(H.length-a[0].length-1),H={architecture:32,family:a&&!s?H.replace(a[0],""):H,version:a?a[1]:null,toString:function(){var e=this.version;return this.family+(e&&!s?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(a=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(I))&&!/\bi686\b/i.test(I)?(H&&(H.architecture=64,H.family=H.family.replace(RegExp(" *"+a),"")),F&&(/\bWOW64\b/i.test(e)||P&&/\w(?:86|32)$/.test(r.cpuClass||r.platform)&&!/\bWin64; x64\b/i.test(e))&&L.unshift("32-bit")):H&&/^OS X/.test(H.family)&&"Chrome"==F&&parseFloat(N)>=39&&(H.architecture=64),e||(e=null);var q={};return q.description=e,q.layout=j&&j[0],q.manufacturer=U,q.name=F,q.prerelease=D,q.product=R,q.ua=e,q.version=F&&N,q.os=H||{architecture:null,family:null,version:null,toString:function(){return"null"}},q.parse=x,q.toString=X,q.version&&L.unshift(N),q.name&&L.unshift(F),H&&F&&(H!=String(H).split(" ")[0]||H!=F.split(" ")[0]&&!R)&&L.push(R?"("+H+")":"on "+H),L.length&&(q.description=L.join(" ")),q}var C=x();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(i.platform=C,define((function(){return C}))):o&&a?m(C,(function(e,t){o[t]=e})):i.platform=C}).call(this)}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],207:[function(e,t,n){(function(e){"use strict";function n(t,n,r,i){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,r)}));case 4:return e.nextTick((function(){t.call(null,n,r,i)}));default:o=new Array(s-1),a=0;while(a<o.length)o[a++]=arguments[a];return e.nextTick((function(){t.apply(null,o)}))}}"undefined"===typeof e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:n}:t.exports=e}).call(this,e("_process"))},{_process:208}],208:[function(e,t,n){var r,i,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}function c(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(function(){try{r="function"===typeof setTimeout?setTimeout:a}catch(e){r=a}try{i="function"===typeof clearTimeout?clearTimeout:s}catch(e){i=s}})();var u,d=[],h=!1,f=-1;function p(){h&&u&&(h=!1,u.length?d=u.concat(d):f=-1,d.length&&A())}function A(){if(!h){var e=l(p);h=!0;var t=d.length;while(t){u=d,d=[];while(++f<t)u&&u[f].run();f=-1,t=d.length}u=null,h=!1,c(e)}}function g(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new g(e,t)),1!==d.length||h||l(A)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],209:[function(e,t,n){(function(e){(function(r){var i="object"==typeof n&&n&&!n.nodeType&&n,o="object"==typeof t&&t&&!t.nodeType&&t,a="object"==typeof e&&e;a.global!==a&&a.window!==a&&a.self!==a||(r=a);var s,l,c=2147483647,u=36,d=1,h=26,f=38,p=700,A=72,g=128,m="-",v=/^xn--/,y=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=u-d,x=Math.floor,C=String.fromCharCode;function S(e){throw new RangeError(_[e])}function k(e,t){var n=e.length,r=[];while(n--)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(b,".");var i=e.split("."),o=k(i,t).join(".");return r+o}function O(e){var t,n,r=[],i=0,o=e.length;while(i<o)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<o?(n=e.charCodeAt(i++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--)):r.push(t);return r}function B(e){return k(e,(function(e){var t="";return e>65535&&(e-=65536,t+=C(e>>>10&1023|55296),e=56320|1023&e),t+=C(e),t})).join("")}function M(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:u}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,n){var r=0;for(e=n?x(e/p):e>>1,e+=x(e/t);e>w*h>>1;r+=u)e=x(e/w);return x(r+(w+1)*e/(e+f))}function L(e){var t,n,r,i,o,a,s,l,f,p,v=[],y=e.length,b=0,_=g,w=A;for(n=e.lastIndexOf(m),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&S("not-basic"),v.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<y;){for(o=b,a=1,s=u;;s+=u){if(i>=y&&S("invalid-input"),l=M(e.charCodeAt(i++)),(l>=u||l>x((c-b)/a))&&S("overflow"),b+=l*a,f=s<=w?d:s>=w+h?h:s-w,l<f)break;p=u-f,a>x(c/p)&&S("overflow"),a*=p}t=v.length+1,w=I(b-o,t,0==o),x(b/t)>c-_&&S("overflow"),_+=x(b/t),b%=t,v.splice(b++,0,_)}return B(v)}function D(e){var t,n,r,i,o,a,s,l,f,p,v,y,b,_,w,k=[];for(e=O(e),y=e.length,t=g,n=0,o=A,a=0;a<y;++a)v=e[a],v<128&&k.push(C(v));r=i=k.length,i&&k.push(m);while(r<y){for(s=c,a=0;a<y;++a)v=e[a],v>=t&&v<s&&(s=v);for(b=r+1,s-t>x((c-n)/b)&&S("overflow"),n+=(s-t)*b,t=s,a=0;a<y;++a)if(v=e[a],v<t&&++n>c&&S("overflow"),v==t){for(l=n,f=u;;f+=u){if(p=f<=o?d:f>=o+h?h:f-o,l<p)break;w=l-p,_=u-p,k.push(C(T(p+w%_,0))),l=x(w/_)}k.push(C(T(l,0))),o=I(n,b,r==i),n=0,++r}++n,++t}return k.join("")}function P(e){return E(e,(function(e){return v.test(e)?L(e.slice(4).toLowerCase()):e}))}function N(e){return E(e,(function(e){return y.test(e)?"xn--"+D(e):e}))}if(s={version:"1.4.1",ucs2:{decode:O,encode:B},decode:L,encode:D,toASCII:N,toUnicode:P},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",(function(){return s}));else if(i&&o)if(t.exports==i)o.exports=s;else for(l in s)s.hasOwnProperty(l)&&(i[l]=s[l]);else r.punycode=s})(this)}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],210:[function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,n,o){t=t||"&",n=n||"=";var a={};if("string"!==typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var l=1e3;o&&"number"===typeof o.maxKeys&&(l=o.maxKeys);var c=e.length;l>0&&c>l&&(c=l);for(var u=0;u<c;++u){var d,h,f,p,A=e[u].replace(s,"%20"),g=A.indexOf(n);g>=0?(d=A.substr(0,g),h=A.substr(g+1)):(d=A,h=""),f=decodeURIComponent(d),p=decodeURIComponent(h),r(a,f)?i(a[f])?a[f].push(p):a[f]=[a[f],p]:a[f]=p}return a};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],211:[function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===typeof e?o(a(e),(function(a){var s=encodeURIComponent(r(a))+n;return i(e[a])?o(e[a],(function(e){return s+encodeURIComponent(r(e))})).join(t):s+encodeURIComponent(r(e[a]))})).join(t):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},{}],212:[function(e,t,n){"use strict";n.decode=n.parse=e("./decode"),n.encode=n.stringify=e("./encode")},{"./decode":210,"./encode":211}],213:[function(e,t,n){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=s(r),o=e("babel-runtime/core-js/object/keys"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=e("process-nextick-args"),c=a["default"]||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=g;var u=(0,i["default"])(e("core-util-is"));u.inherits=e("inherits");var d=e("./_stream_readable"),h=e("./_stream_writable");u.inherits(g,d);for(var f=c(h.prototype),p=0;p<f.length;p++){var A=f[p];g.prototype[A]||(g.prototype[A]=h.prototype[A])}function g(e){if(!(this instanceof g))return new g(e);d.call(this,e),h.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",m)}function m(){this.allowHalfOpen||this._writableState.ended||l.nextTick(v,this)}function v(e){e.end()}Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),g.prototype._destroy=function(e,t){this.push(null),this.end(),l.nextTick(t,e)}},{"./_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(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}t.exports=l;var a=e("./_stream_transform"),s=(0,i["default"])(e("core-util-is"));function l(e){if(!(this instanceof l))return new l(e);a.call(this,e)}s.inherits=e("inherits"),s.inherits(l,a),l.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(e,t,n){(function(n,r){"use strict";var i=e("babel-runtime/core-js/object/get-prototype-of"),o=l(i),a=e("babel-runtime/core-js/object/create"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var c=e("process-nextick-args");t.exports=E;var u,d=e("isarray");E.ReadableState=k;e("events").EventEmitter;var h=function(e,t){return e.listeners(t).length},f=e("./internal/streams/stream"),p=e("safe-buffer").Buffer,A=r.Uint8Array||function(){};function g(e){return p.from(e)}function m(e){return p.isBuffer(e)||e instanceof A}var v=(0,s["default"])(e("core-util-is"));v.inherits=e("inherits");var y=e("util"),b=void 0;b=y&&y.debuglog?y.debuglog("stream"):function(){};var _,w=e("./internal/streams/BufferList"),x=e("./internal/streams/destroy");v.inherits(E,f);var C=["error","close","destroy","pause","resume"];function S(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?d(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function k(t,n){u=u||e("./_stream_duplex"),t=t||{};var r=n instanceof u;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,o=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new w,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(_||(_=e("string_decoder/").StringDecoder),this.decoder=new _(t.encoding),this.encoding=t.encoding)}function E(t){if(u=u||e("./_stream_duplex"),!(this instanceof E))return new E(t);this._readableState=new k(t,this),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),f.call(this)}function O(e,t,n,r,i){var a,s=e._readableState;null===t?(s.reading=!1,P(e,s)):(i||(a=M(s,t)),a?e.emit("error",a):s.objectMode||t&&t.length>0?("string"===typeof t||s.objectMode||(0,o["default"])(t)===p.prototype||(t=g(t)),r?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):B(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?B(e,s,t,!1):F(e,s)):B(e,s,t,!1))):r||(s.reading=!1));return T(s)}function B(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&N(e)),F(e,t)}function M(e,t){var n;return m(t)||"string"===typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function T(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}Object.defineProperty(E.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=x.destroy,E.prototype._undestroy=x.undestroy,E.prototype._destroy=function(e,t){this.push(null),t(e)},E.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"===typeof e&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=p.from(e,t),t=""),n=!0),O(this,e,t,!1,n)},E.prototype.unshift=function(e){return O(this,e,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(t){return _||(_=e("string_decoder/").StringDecoder),this._readableState.decoder=new _(t),this._readableState.encoding=t,this};var I=8388608;function L(e){return e>=I?e=I:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function D(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=L(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function P(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,N(e)}}function N(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(b("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?c.nextTick(j,e):j(e))}function j(e){b("emit readable"),e.emit("readable"),z(e)}function F(e,t){t.readingMore||(t.readingMore=!0,c.nextTick(R,e,t))}function R(e,t){var n=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark){if(b("maybeReadMore read 0"),e.read(0),n===t.length)break;n=t.length}t.readingMore=!1}function U(e){return function(){var t=e._readableState;b("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&h(e,"data")&&(t.flowing=!0,z(e))}}function H(e){b("readable nexttick read 0"),e.read(0)}function Q(e,t){t.resumeScheduled||(t.resumeScheduled=!0,c.nextTick(K,e,t))}function K(e,t){t.reading||(b("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),z(e),t.flowing&&!t.reading&&e.read(0)}function z(e){var t=e._readableState;b("flow",t.flowing);while(t.flowing&&null!==e.read());}function V(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=W(e,t.buffer,t.decoder),n);var n}function W(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?G(e,t):X(e,t),r}function G(e,t){var n=t.head,r=1,i=n.data;e-=i.length;while(n=n.next){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),e-=a,0===e){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}function X(e,t){var n=p.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;while(r=r.next){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),e-=a,0===e){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}function q(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,c.nextTick(Y,t,e))}function Y(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Z(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}E.prototype.read=function(e){b("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return b("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?q(this):N(this),null;if(e=D(e,t),0===e&&t.ended)return 0===t.length&&q(this),null;var r,i=t.needReadable;return b("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,b("length less than watermark",i)),t.ended||t.reading?(i=!1,b("reading or ended",i)):i&&(b("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=D(n,t))),r=e>0?V(e,t):null,null===r?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&q(this)),null!==r&&this.emit("data",r),r},E.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},E.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,b("pipe count=%d opts=%j",i.pipesCount,t);var o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr,a=o?l:y;function s(e,t){b("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,f())}function l(){b("onend"),e.end()}i.endEmitted?c.nextTick(a):r.once("end",a),e.on("unpipe",s);var u=U(r);e.on("drain",u);var d=!1;function f(){b("cleanup"),e.removeListener("close",m),e.removeListener("finish",v),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",s),r.removeListener("end",l),r.removeListener("end",y),r.removeListener("data",A),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u()}var p=!1;function A(t){b("ondata"),p=!1;var n=e.write(t);!1!==n||p||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==Z(i.pipes,e))&&!d&&(b("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function g(t){b("onerror",t),y(),e.removeListener("error",g),0===h(e,"error")&&e.emit("error",t)}function m(){e.removeListener("finish",v),y()}function v(){b("onfinish"),e.removeListener("close",m),y()}function y(){b("unpipe"),r.unpipe(e)}return r.on("data",A),S(e,"error",g),e.once("close",m),e.once("finish",v),e.emit("pipe",r),i.flowing||(b("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,n);return this}var a=Z(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},E.prototype.on=function(e,t){var n=f.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&N(this):c.nextTick(H,this))}return n},E.prototype.addListener=E.prototype.on,E.prototype.resume=function(){var e=this._readableState;return e.flowing||(b("resume"),e.flowing=!0,Q(this,e)),this},E.prototype.pause=function(){return b("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(b("pause"),this._readableState.flowing=!1,this.emit("pause")),this},E.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(b("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(b("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=t.push(i);o||(r=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<C.length;o++)e.on(C[o],this.emit.bind(this,C[o]));return this._read=function(t){b("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),E._fromList=V}).call(this,e("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?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(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}t.exports=c;var a=e("./_stream_duplex"),s=(0,i["default"])(e("core-util-is"));function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);a.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",u)}function u(){var e=this;"function"===typeof this._flush?this._flush((function(t,n){d(e,t,n)})):d(this,null,null)}function d(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),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)}s.inherits=e("inherits"),s.inherits(c,a),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},c.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},c.prototype._destroy=function(e,t){var n=this;a.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(e,t,n){(function(n,r){"use strict";var i=e("babel-runtime/core-js/object/define-property"),o=p(i),a=e("babel-runtime/core-js/symbol/has-instance"),s=p(a),l=e("babel-runtime/core-js/symbol"),c=p(l),u=e("babel-runtime/core-js/object/create"),d=p(u),h=e("babel-runtime/core-js/set-immediate"),f=p(h);function p(e){return e&&e.__esModule?e:{default:e}}var A=e("process-nextick-args");function g(e){var t=this;this.next=null,this.entry=null,this.finish=function(){G(t,e)}}t.exports=M;var m,v=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?f["default"]:A.nextTick;M.WritableState=B;var y=(0,d["default"])(e("core-util-is"));y.inherits=e("inherits");var b={deprecate:e("util-deprecate")},_=e("./internal/streams/stream"),w=e("safe-buffer").Buffer,x=r.Uint8Array||function(){};function C(e){return w.from(e)}function S(e){return w.isBuffer(e)||e instanceof x}var k,E=e("./internal/streams/destroy");function O(){}function B(t,n){m=m||e("./_stream_duplex"),t=t||{};var r=n instanceof m;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,o=t.writableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(o||0===o)?o:a,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 s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){F(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new g(this)}function M(t){if(m=m||e("./_stream_duplex"),!k.call(M,this)&&!(this instanceof m))return new M(t);this._writableState=new B(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t["final"]&&(this._final=t["final"])),_.call(this)}function T(e,t){var n=new Error("write after end");e.emit("error",n),A.nextTick(t,n)}function I(e,t,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),A.nextTick(r,o),i=!1),i}function L(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=w.from(t,n)),t}function D(e,t,n,r,i,o){if(!n){var a=L(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else P(e,t,!1,s,r,i,o);return l}function P(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function N(e,t,n,r,i){--t.pendingcb,n?(A.nextTick(i,r),A.nextTick(V,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),V(e,t))}function j(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function F(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(j(n),t)N(e,n,r,t,i);else{var o=Q(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||H(e,n),r?v(R,e,n,o,i):R(e,n,o,i)}}function R(e,t,n,r){n||U(e,t),t.pendingcb--,r(),V(e,t)}function U(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function H(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;var a=0,s=!0;while(n)i[a]=n,n.isBuf||(s=!1),n=n.next,a+=1;i.allBuffers=s,P(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new g(t),t.bufferedRequestCount=0}else{while(n){var l=n.chunk,c=n.encoding,u=n.callback,d=t.objectMode?1:l.length;if(P(e,t,!1,d,l,c,u),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function Q(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function K(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),V(e,t)}))}function z(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,A.nextTick(K,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function V(e,t){var n=Q(t);return n&&(z(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}function W(e,t,n){t.ending=!0,V(e,t),n&&(t.finished?A.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function G(e,t,n){var r=e.entry;e.entry=null;while(r){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}y.inherits(M,_),B.prototype.getBuffer=function(){var e=this.bufferedRequest,t=[];while(e)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(B.prototype,"buffer",{get:b.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof c["default"]&&s["default"]&&"function"===typeof Function.prototype[s["default"]]?(k=Function.prototype[s["default"]],(0,o["default"])(M,s["default"],{value:function(e){return!!k.call(this,e)||this===M&&(e&&e._writableState instanceof B)}})):k=function(e){return e instanceof this},M.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},M.prototype.write=function(e,t,n){var r=this._writableState,i=!1,o=!r.objectMode&&S(e);return o&&!w.isBuffer(e)&&(e=C(e)),"function"===typeof t&&(n=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!==typeof n&&(n=O),r.ended?T(this,n):(o||I(this,r,e,n))&&(r.pendingcb++,i=D(this,r,o,e,t,n)),i},M.prototype.cork=function(){var e=this._writableState;e.corked++},M.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||H(this,e))},M.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(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},Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},M.prototype._writev=null,M.prototype.end=function(e,t,n){var r=this._writableState;"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||W(this,r,n)},Object.defineProperty(M.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),M.prototype.destroy=E.destroy,M.prototype._undestroy=E.undestroy,M.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,e("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?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(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("safe-buffer").Buffer,o=e("util");function a(e,t,n){e.copy(t,n)}t.exports=function(){function e(){r(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;var t=i.allocUnsafe(e>>>0),n=this.head,r=0;while(n)a(n.data,t,r),r+=n.data.length,n=n.next;return t},e}(),o&&o.inspect&&o.inspect.custom&&(t.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":228,util:71}],220:[function(e,t,n){"use strict";var r=e("process-nextick-args");function i(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(a,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r.nextTick(a,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)}function o(){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 a(e,t){e.emit("error",t)}t.exports={destroy:i,undestroy:o}},{"process-nextick-args":207}],221:[function(e,t,n){"use strict";t.exports=e("events").EventEmitter},{events:192}],222:[function(e,t,n){t.exports=e("./readable").PassThrough},{"./readable":223}],223:[function(e,t,n){n=t.exports=e("./lib/_stream_readable.js"),n.Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./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(e,t,n){t.exports=e("./readable").Transform},{"./readable":223}],225:[function(e,t,n){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(e,t,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=e("./runtime"),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(a){r.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(e,t,n){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag",c="object"===typeof t,u=e.regeneratorRuntime;if(u)c&&(t.exports=u);else{u=e.regeneratorRuntime=c?t.exports:{},u.wrap=b;var d="suspendedStart",h="suspendedYield",f="executing",p="completed",A={},g={};g[a]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(I([])));v&&v!==r&&i.call(v,a)&&(g=v);var y=C.prototype=w.prototype=Object.create(g);x.prototype=y.constructor=C,C.constructor=x,C[l]=x.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,C):(e.__proto__=C,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(y),e},u.awrap=function(e){return{__await:e}},S(k.prototype),k.prototype[s]=function(){return this},u.AsyncIterator=k,u.async=function(e,t,n,r){var i=new k(b(e,t,n,r));return u.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},S(y),y[l]="Generator",y[a]=function(){return this},y.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},u.values=I,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(M),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,A):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),A},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;M(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:I(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),A}}}function b(e,t,n,r){var i=t&&t.prototype instanceof w?t:w,o=Object.create(i.prototype),a=new T(r||[]);return o._invoke=E(e,n,a),o}function _(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function w(){}function x(){}function C(){}function S(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function k(e){function t(n,r,o,a){var s=_(e[n],e,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"===typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then((function(e){t("next",e,o,a)}),(function(e){t("throw",e,o,a)})):Promise.resolve(c).then((function(e){l.value=e,o(l)}),a)}a(s.arg)}var n;function r(e,r){function i(){return new Promise((function(n,i){t(e,r,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=r}function E(e,t,n){var r=d;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return L()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var s=O(a,n);if(s){if(s===A)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=_(e,t,n);if("normal"===l.type){if(r=n.done?p:h,l.arg===A)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}function O(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=n,O(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var i=_(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,A;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,A):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function I(e){if(e){var t=e[a];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){while(++r<e.length)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:L}}function L(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},{}],228:[function(e,t,n){var r=e("buffer"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:73}],229:[function(e,t,n){(function(t){"use strict";var r=e("babel-runtime/core-js/string/from-code-point"),i=A(r),o=e("babel-runtime/core-js/json/stringify"),a=A(o),s=e("babel-runtime/helpers/typeof"),l=A(s),c=e("babel-runtime/core-js/object/define-property"),u=A(c),d=e("babel-runtime/core-js/object/keys"),h=A(d),f=e("babel-runtime/core-js/object/create"),p=A(f);function A(e){return e&&e.__esModule?e:{default:e}}(function(n){n.parser=function(e,t){return new s(e,t)},n.SAXParser=s,n.SAXStream=m,n.createStream=g,n.MAX_BUFFER_LENGTH=65536;var r,o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function s(e,t){if(!(this instanceof s))return new s(e,t);var r=this;d(r),r.q=r.c="",r.bufferCheckPosition=n.MAX_BUFFER_LENGTH,r.opt=t||{},r.opt.lowercase=r.opt.lowercase||r.opt.lowercasetags,r.looseCase=r.opt.lowercase?"toLowerCase":"toUpperCase",r.tags=[],r.closed=r.closedRoot=r.sawRoot=!1,r.tag=r.error=null,r.strict=!!e,r.noscript=!(!e&&!r.opt.noscript),r.state=I.BEGIN,r.strictEntities=r.opt.strictEntities,r.ENTITIES=r.strictEntities?(0,p["default"])(n.XML_ENTITIES):(0,p["default"])(n.ENTITIES),r.attribList=[],r.opt.xmlns&&(r.ns=(0,p["default"])(w)),r.trackPosition=!1!==r.opt.position,r.trackPosition&&(r.position=r.line=r.column=0),D(r,"onready")}function c(e){for(var t=Math.max(n.MAX_BUFFER_LENGTH,10),r=0,i=0,a=o.length;i<a;i++){var s=e[o[i]].length;if(s>t)switch(o[i]){case"textNode":N(e);break;case"cdata":P(e,"oncdata",e.cdata),e.cdata="";break;case"script":P(e,"onscript",e.script),e.script="";break;default:F(e,"Max buffer length exceeded: "+o[i])}r=Math.max(r,s)}var l=n.MAX_BUFFER_LENGTH-r;e.bufferCheckPosition=l+e.position}function d(e){for(var t=0,n=o.length;t<n;t++)e[o[t]]=""}function f(e){N(e),""!==e.cdata&&(P(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(P(e,"onscript",e.script),e.script="")}n.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],p["default"]||(Object.create=function(e){function t(){}t.prototype=e;var n=new t;return n}),h["default"]||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),s.prototype={end:function(){R(this)},write:q,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){f(this)}};try{r=e("stream").Stream}catch(Y){r=function(){}}var A=n.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function g(e,t){return new m(e,t)}function m(e,t){if(!(this instanceof m))return new m(e,t);r.apply(this),this._parser=new s(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,A.forEach((function(e){(0,u["default"])(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})}))}m.prototype=(0,p["default"])(r.prototype,{constructor:{value:m}}),m.prototype.write=function(n){if("function"===typeof t&&"function"===typeof t.isBuffer&&t.isBuffer(n)){if(!this._decoder){var r=e("string_decoder").StringDecoder;this._decoder=new r("utf8")}n=this._decoder.write(n)}return this._parser.write(n.toString()),this.emit("data",n),!0},m.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},m.prototype.on=function(e,t){var n=this;return n._parser["on"+e]||-1===A.indexOf(e)||(n._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),r.prototype.on.call(n,e,t)};var v="[CDATA[",y="DOCTYPE",b="http://www.w3.org/XML/1998/namespace",_="http://www.w3.org/2000/xmlns/",w={xml:b,xmlns:_},x=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,C=/[:_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-]/,S=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,k=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function E(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function O(e){return'"'===e||"'"===e}function B(e){return">"===e||E(e)}function M(e,t){return e.test(t)}function T(e,t){return!M(e,t)}var I=0;for(var L in n.STATE={BEGIN:I++,BEGIN_WHITESPACE:I++,TEXT:I++,TEXT_ENTITY:I++,OPEN_WAKA:I++,SGML_DECL:I++,SGML_DECL_QUOTED:I++,DOCTYPE:I++,DOCTYPE_QUOTED:I++,DOCTYPE_DTD:I++,DOCTYPE_DTD_QUOTED:I++,COMMENT_STARTING:I++,COMMENT:I++,COMMENT_ENDING:I++,COMMENT_ENDED:I++,CDATA:I++,CDATA_ENDING:I++,CDATA_ENDING_2:I++,PROC_INST:I++,PROC_INST_BODY:I++,PROC_INST_ENDING:I++,OPEN_TAG:I++,OPEN_TAG_SLASH:I++,ATTRIB:I++,ATTRIB_NAME:I++,ATTRIB_NAME_SAW_WHITE:I++,ATTRIB_VALUE:I++,ATTRIB_VALUE_QUOTED:I++,ATTRIB_VALUE_CLOSED:I++,ATTRIB_VALUE_UNQUOTED:I++,ATTRIB_VALUE_ENTITY_Q:I++,ATTRIB_VALUE_ENTITY_U:I++,CLOSE_TAG:I++,CLOSE_TAG_SAW_WHITE:I++,SCRIPT:I++,SCRIPT_ENDING:I++},n.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},n.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,h["default"])(n.ENTITIES).forEach((function(e){var t=n.ENTITIES[e],r="number"===typeof t?String.fromCharCode(t):t;n.ENTITIES[e]=r})),n.STATE)n.STATE[n.STATE[L]]=L;function D(e,t,n){e[t]&&e[t](n)}function P(e,t,n){e.textNode&&N(e),D(e,t,n)}function N(e){e.textNode=j(e.opt,e.textNode),e.textNode&&D(e,"ontext",e.textNode),e.textNode=""}function j(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function F(e,t){return N(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,D(e,"onerror",t),e}function R(e){return e.sawRoot&&!e.closedRoot&&U(e,"Unclosed root tag"),e.state!==I.BEGIN&&e.state!==I.BEGIN_WHITESPACE&&e.state!==I.TEXT&&F(e,"Unexpected end"),N(e),e.c="",e.closed=!0,D(e,"onend"),s.call(e,e.strict,e.opt),e}function U(e,t){if("object"!==("undefined"===typeof e?"undefined":(0,l["default"])(e))||!(e instanceof s))throw new Error("bad call to strictFail");e.strict&&F(e,t)}function H(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,P(e,"onopentagstart",n)}function Q(e,t){var n=e.indexOf(":"),r=n<0?["",e]:e.split(":"),i=r[0],o=r[1];return t&&"xmlns"===e&&(i="xmlns",o=""),{prefix:i,local:o}}function K(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=Q(e.attribName,!0),n=t.prefix,r=t.local;if("xmlns"===n)if("xml"===r&&e.attribValue!==b)U(e,"xml: prefix must be bound to "+b+"\nActual: "+e.attribValue);else if("xmlns"===r&&e.attribValue!==_)U(e,"xmlns: prefix must be bound to "+_+"\nActual: "+e.attribValue);else{var i=e.tag,o=e.tags[e.tags.length-1]||e;i.ns===o.ns&&(i.ns=(0,p["default"])(o.ns)),i.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,P(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function z(e,t){if(e.opt.xmlns){var n=e.tag,r=Q(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(U(e,"Unbound namespace prefix: "+(0,a["default"])(e.tagName)),n.uri=r.prefix);var i=e.tags[e.tags.length-1]||e;n.ns&&i.ns!==n.ns&&(0,h["default"])(n.ns).forEach((function(t){P(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var o=0,s=e.attribList.length;o<s;o++){var l=e.attribList[o],c=l[0],u=l[1],d=Q(c,!0),f=d.prefix,p=d.local,A=""===f?"":n.ns[f]||"",g={name:c,value:u,prefix:f,local:p,uri:A};f&&"xmlns"!==f&&!A&&(U(e,"Unbound namespace prefix: "+(0,a["default"])(f)),g.uri=f),e.tag.attributes[c]=g,P(e,"onattribute",g)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),P(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=I.TEXT:e.state=I.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function V(e){if(!e.tagName)return U(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=I.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=I.SCRIPT);P(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());var r=n;while(t--){var i=e.tags[t];if(i.name===r)break;U(e,"Unexpected close tag")}if(t<0)return U(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=I.TEXT);e.tagName=n;var o=e.tags.length;while(o-- >t){var a=e.tag=e.tags.pop();e.tagName=e.tag.name,P(e,"onclosetag",e.tagName);var s={};for(var l in a.ns)s[l]=a.ns[l];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&a.ns!==c.ns&&(0,h["default"])(a.ns).forEach((function(t){var n=a.ns[t];P(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=I.TEXT}function W(e){var t,n=e.entity,r=n.toLowerCase(),o="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[r]?e.ENTITIES[r]:(n=r,"#"===n.charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),t=parseInt(n,16),o=t.toString(16)):(n=n.slice(1),t=parseInt(n,10),o=t.toString(10))),n=n.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==n?(U(e,"Invalid character entity"),"&"+e.entity+";"):(0,i["default"])(t))}function G(e,t){"<"===t?(e.state=I.OPEN_WAKA,e.startTagPosition=e.position):E(t)||(U(e,"Non-whitespace before first tag."),e.textNode=t,e.state=I.TEXT)}function X(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}function q(e){var t=this;if(this.error)throw this.error;if(t.closed)return F(t,"Cannot write after close. Assign an onready handler.");if(null===e)return R(t);"object"===("undefined"===typeof e?"undefined":(0,l["default"])(e))&&(e=e.toString());var n=0,r="";while(1){if(r=X(e,n++),t.c=r,!r)break;switch(t.trackPosition&&(t.position++,"\n"===r?(t.line++,t.column=0):t.column++),t.state){case I.BEGIN:if(t.state=I.BEGIN_WHITESPACE,"\ufeff"===r)continue;G(t,r);continue;case I.BEGIN_WHITESPACE:G(t,r);continue;case I.TEXT:if(t.sawRoot&&!t.closedRoot){var i=n-1;while(r&&"<"!==r&&"&"!==r)r=X(e,n++),r&&t.trackPosition&&(t.position++,"\n"===r?(t.line++,t.column=0):t.column++);t.textNode+=e.substring(i,n-1)}"<"!==r||t.sawRoot&&t.closedRoot&&!t.strict?(E(r)||t.sawRoot&&!t.closedRoot||U(t,"Text data outside of root node."),"&"===r?t.state=I.TEXT_ENTITY:t.textNode+=r):(t.state=I.OPEN_WAKA,t.startTagPosition=t.position);continue;case I.SCRIPT:"<"===r?t.state=I.SCRIPT_ENDING:t.script+=r;continue;case I.SCRIPT_ENDING:"/"===r?t.state=I.CLOSE_TAG:(t.script+="<"+r,t.state=I.SCRIPT);continue;case I.OPEN_WAKA:if("!"===r)t.state=I.SGML_DECL,t.sgmlDecl="";else if(E(r));else if(M(x,r))t.state=I.OPEN_TAG,t.tagName=r;else if("/"===r)t.state=I.CLOSE_TAG,t.tagName="";else if("?"===r)t.state=I.PROC_INST,t.procInstName=t.procInstBody="";else{if(U(t,"Unencoded <"),t.startTagPosition+1<t.position){var o=t.position-t.startTagPosition;r=new Array(o).join(" ")+r}t.textNode+="<"+r,t.state=I.TEXT}continue;case I.SGML_DECL:(t.sgmlDecl+r).toUpperCase()===v?(P(t,"onopencdata"),t.state=I.CDATA,t.sgmlDecl="",t.cdata=""):t.sgmlDecl+r==="--"?(t.state=I.COMMENT,t.comment="",t.sgmlDecl=""):(t.sgmlDecl+r).toUpperCase()===y?(t.state=I.DOCTYPE,(t.doctype||t.sawRoot)&&U(t,"Inappropriately located doctype declaration"),t.doctype="",t.sgmlDecl=""):">"===r?(P(t,"onsgmldeclaration",t.sgmlDecl),t.sgmlDecl="",t.state=I.TEXT):O(r)?(t.state=I.SGML_DECL_QUOTED,t.sgmlDecl+=r):t.sgmlDecl+=r;continue;case I.SGML_DECL_QUOTED:r===t.q&&(t.state=I.SGML_DECL,t.q=""),t.sgmlDecl+=r;continue;case I.DOCTYPE:">"===r?(t.state=I.TEXT,P(t,"ondoctype",t.doctype),t.doctype=!0):(t.doctype+=r,"["===r?t.state=I.DOCTYPE_DTD:O(r)&&(t.state=I.DOCTYPE_QUOTED,t.q=r));continue;case I.DOCTYPE_QUOTED:t.doctype+=r,r===t.q&&(t.q="",t.state=I.DOCTYPE);continue;case I.DOCTYPE_DTD:t.doctype+=r,"]"===r?t.state=I.DOCTYPE:O(r)&&(t.state=I.DOCTYPE_DTD_QUOTED,t.q=r);continue;case I.DOCTYPE_DTD_QUOTED:t.doctype+=r,r===t.q&&(t.state=I.DOCTYPE_DTD,t.q="");continue;case I.COMMENT:"-"===r?t.state=I.COMMENT_ENDING:t.comment+=r;continue;case I.COMMENT_ENDING:"-"===r?(t.state=I.COMMENT_ENDED,t.comment=j(t.opt,t.comment),t.comment&&P(t,"oncomment",t.comment),t.comment=""):(t.comment+="-"+r,t.state=I.COMMENT);continue;case I.COMMENT_ENDED:">"!==r?(U(t,"Malformed comment"),t.comment+="--"+r,t.state=I.COMMENT):t.state=I.TEXT;continue;case I.CDATA:"]"===r?t.state=I.CDATA_ENDING:t.cdata+=r;continue;case I.CDATA_ENDING:"]"===r?t.state=I.CDATA_ENDING_2:(t.cdata+="]"+r,t.state=I.CDATA);continue;case I.CDATA_ENDING_2:">"===r?(t.cdata&&P(t,"oncdata",t.cdata),P(t,"onclosecdata"),t.cdata="",t.state=I.TEXT):"]"===r?t.cdata+="]":(t.cdata+="]]"+r,t.state=I.CDATA);continue;case I.PROC_INST:"?"===r?t.state=I.PROC_INST_ENDING:E(r)?t.state=I.PROC_INST_BODY:t.procInstName+=r;continue;case I.PROC_INST_BODY:if(!t.procInstBody&&E(r))continue;"?"===r?t.state=I.PROC_INST_ENDING:t.procInstBody+=r;continue;case I.PROC_INST_ENDING:">"===r?(P(t,"onprocessinginstruction",{name:t.procInstName,body:t.procInstBody}),t.procInstName=t.procInstBody="",t.state=I.TEXT):(t.procInstBody+="?"+r,t.state=I.PROC_INST_BODY);continue;case I.OPEN_TAG:M(C,r)?t.tagName+=r:(H(t),">"===r?z(t):"/"===r?t.state=I.OPEN_TAG_SLASH:(E(r)||U(t,"Invalid character in tag name"),t.state=I.ATTRIB));continue;case I.OPEN_TAG_SLASH:">"===r?(z(t,!0),V(t)):(U(t,"Forward-slash in opening tag not followed by >"),t.state=I.ATTRIB);continue;case I.ATTRIB:if(E(r))continue;">"===r?z(t):"/"===r?t.state=I.OPEN_TAG_SLASH:M(x,r)?(t.attribName=r,t.attribValue="",t.state=I.ATTRIB_NAME):U(t,"Invalid attribute name");continue;case I.ATTRIB_NAME:"="===r?t.state=I.ATTRIB_VALUE:">"===r?(U(t,"Attribute without value"),t.attribValue=t.attribName,K(t),z(t)):E(r)?t.state=I.ATTRIB_NAME_SAW_WHITE:M(C,r)?t.attribName+=r:U(t,"Invalid attribute name");continue;case I.ATTRIB_NAME_SAW_WHITE:if("="===r)t.state=I.ATTRIB_VALUE;else{if(E(r))continue;U(t,"Attribute without value"),t.tag.attributes[t.attribName]="",t.attribValue="",P(t,"onattribute",{name:t.attribName,value:""}),t.attribName="",">"===r?z(t):M(x,r)?(t.attribName=r,t.state=I.ATTRIB_NAME):(U(t,"Invalid attribute name"),t.state=I.ATTRIB)}continue;case I.ATTRIB_VALUE:if(E(r))continue;O(r)?(t.q=r,t.state=I.ATTRIB_VALUE_QUOTED):(U(t,"Unquoted attribute value"),t.state=I.ATTRIB_VALUE_UNQUOTED,t.attribValue=r);continue;case I.ATTRIB_VALUE_QUOTED:if(r!==t.q){"&"===r?t.state=I.ATTRIB_VALUE_ENTITY_Q:t.attribValue+=r;continue}K(t),t.q="",t.state=I.ATTRIB_VALUE_CLOSED;continue;case I.ATTRIB_VALUE_CLOSED:E(r)?t.state=I.ATTRIB:">"===r?z(t):"/"===r?t.state=I.OPEN_TAG_SLASH:M(x,r)?(U(t,"No whitespace between attributes"),t.attribName=r,t.attribValue="",t.state=I.ATTRIB_NAME):U(t,"Invalid attribute name");continue;case I.ATTRIB_VALUE_UNQUOTED:if(!B(r)){"&"===r?t.state=I.ATTRIB_VALUE_ENTITY_U:t.attribValue+=r;continue}K(t),">"===r?z(t):t.state=I.ATTRIB;continue;case I.CLOSE_TAG:if(t.tagName)">"===r?V(t):M(C,r)?t.tagName+=r:t.script?(t.script+="</"+t.tagName,t.tagName="",t.state=I.SCRIPT):(E(r)||U(t,"Invalid tagname in closing tag"),t.state=I.CLOSE_TAG_SAW_WHITE);else{if(E(r))continue;T(x,r)?t.script?(t.script+="</"+r,t.state=I.SCRIPT):U(t,"Invalid tagname in closing tag."):t.tagName=r}continue;case I.CLOSE_TAG_SAW_WHITE:if(E(r))continue;">"===r?V(t):U(t,"Invalid characters in closing tag");continue;case I.TEXT_ENTITY:case I.ATTRIB_VALUE_ENTITY_Q:case I.ATTRIB_VALUE_ENTITY_U:var a,s;switch(t.state){case I.TEXT_ENTITY:a=I.TEXT,s="textNode";break;case I.ATTRIB_VALUE_ENTITY_Q:a=I.ATTRIB_VALUE_QUOTED,s="attribValue";break;case I.ATTRIB_VALUE_ENTITY_U:a=I.ATTRIB_VALUE_UNQUOTED,s="attribValue";break}";"===r?(t[s]+=W(t),t.entity="",t.state=a):M(t.entity.length?k:S,r)?t.entity+=r:(U(t,"Invalid character in entity name"),t[s]+="&"+t.entity+r,t.entity="",t.state=a);continue;default:throw new Error(t,"Unknown state: "+t.state)}}return t.position>=t.bufferCheckPosition&&c(t),t}I=n.STATE,i["default"]||function(){var e=String.fromCharCode,t=Math.floor,n=function(){var n,r,i=16384,o=[],a=-1,s=arguments.length;if(!s)return"";var l="";while(++a<s){var c=Number(arguments[a]);if(!isFinite(c)||c<0||c>1114111||t(c)!==c)throw RangeError("Invalid code point: "+c);c<=65535?o.push(c):(c-=65536,n=55296+(c>>10),r=c%1024+56320,o.push(n,r)),(a+1===s||o.length>i)&&(l+=e.apply(null,o),o.length=0)}return l};u["default"]?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()})("undefined"===typeof n?(void 0).sax={}:n)}).call(this,e("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(e,t,n){t.exports=o;var r=e("events").EventEmitter,i=e("inherits");function o(){r.call(this)}i(o,r),o.Readable=e("readable-stream/readable.js"),o.Writable=e("readable-stream/writable.js"),o.Duplex=e("readable-stream/duplex.js"),o.Transform=e("readable-stream/transform.js"),o.PassThrough=e("readable-stream/passthrough.js"),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"===typeof e.destroy&&e.destroy())}function c(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},{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(e,t,n){(function(t){var r=e("./lib/request"),i=e("./lib/response"),o=e("xtend"),a=e("builtin-status-codes"),s=e("url"),l=n;l.request=function(e,n){e="string"===typeof e?s.parse(e):o(e);var i=-1===t.location.protocol.search(/^https?:$/)?"http:":"",a=e.protocol||i,l=e.hostname||e.host,c=e.port,u=e.path||"/";l&&-1!==l.indexOf(":")&&(l="["+l+"]"),e.url=(l?a+"//"+l:"")+(c?":"+c:"")+u,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var d=new r(e);return n&&d.on("response",n),d},l.get=function(e,t){var n=l.request(e,t);return n.end(),n},l.ClientRequest=r,l.IncomingMessage=i.IncomingMessage,l.Agent=function(){},l.Agent.defaultMaxSockets=4,l.globalAgent=new l.Agent,l.STATUS_CODES=a,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,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./lib/request":233,"./lib/response":234,"builtin-status-codes":74,url:238,xtend:283}],232:[function(e,t,n){(function(e){"use strict";n.fetch=s(e.fetch)&&s(e.ReadableStream),n.writableStream=s(e.WritableStream),n.abortController=s(e.AbortController),n.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),n.blobConstructor=!0}catch(l){}var t;function r(){if(void 0!==t)return t;if(e.XMLHttpRequest){t=new e.XMLHttpRequest;try{t.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(l){t=null}}else t=null;return t}function i(e){var t=r();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(l){}return!1}var o="undefined"!==typeof e.ArrayBuffer,a=o&&s(e.ArrayBuffer.prototype.slice);function s(e){return"function"===typeof e}n.arraybuffer=n.fetch||o&&i("arraybuffer"),n.msstream=!n.fetch&&a&&i("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&o&&i("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||!!r()&&s(r().overrideMimeType),n.vbArray=s(e.VBArray),t=null}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],233:[function(e,t,n){(function(n,r,i){"use strict";var o=e("babel-runtime/core-js/object/keys"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=e("./capability"),c=e("inherits"),u=e("./response"),d=e("readable-stream"),h=e("to-arraybuffer"),f=u.IncomingMessage,p=u.readyStates;function A(e,t){return l.fetch&&t?"fetch":l.mozchunkedarraybuffer?"moz-chunked-arraybuffer":l.msstream?"ms-stream":l.arraybuffer&&e?"arraybuffer":l.vbArray&&e?"text:vbarray":"text"}var g=t.exports=function(e){var t,n=this;d.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new i(e.auth).toString("base64")),(0,a["default"])(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var r=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!l.abortController)r=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!l.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}n._mode=A(t,r),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};function m(e){try{var t=e.status;return null!==t&&0!==t}catch(n){return!1}}c(g,d.Writable),g.prototype.setHeader=function(e,t){var n=this,r=e.toLowerCase();-1===v.indexOf(r)&&(n._headers[r]={name:e,value:t})},g.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},g.prototype.removeHeader=function(e){var t=this;delete t._headers[e.toLowerCase()]},g.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts,o=e._headers,s=null;"GET"!==t.method&&"HEAD"!==t.method&&(s=l.arraybuffer?h(i.concat(e._body)):l.blobConstructor?new r.Blob(e._body.map((function(e){return h(e)})),{type:(o["content-type"]||{}).value||""}):i.concat(e._body).toString());var c=[];if((0,a["default"])(o).forEach((function(e){var t=o[e].name,n=o[e].value;Array.isArray(n)?n.forEach((function(e){c.push([t,e])})):c.push([t,n])})),"fetch"===e._mode){var u=null;if(l.abortController){var d=new AbortController;u=d.signal,e._fetchAbortController=d,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=r.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),t.requestTimeout))}r.fetch(e._opts.url,{method:e._opts.method,headers:c,body:s||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:u}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){r.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var f=e._xhr=new r.XMLHttpRequest;try{f.open(e._opts.method,e._opts.url,!0)}catch(A){return void n.nextTick((function(){e.emit("error",A)}))}"responseType"in f&&(f.responseType=e._mode.split(":")[0]),"withCredentials"in f&&(f.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in f&&f.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(f.timeout=t.requestTimeout,f.ontimeout=function(){e.emit("requestTimeout")}),c.forEach((function(e){f.setRequestHeader(e[0],e[1])})),e._response=null,f.onreadystatechange=function(){switch(f.readyState){case p.LOADING:case p.DONE:e._onXHRProgress();break}},"moz-chunked-arraybuffer"===e._mode&&(f.onprogress=function(){e._onXHRProgress()}),f.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{f.send(s)}catch(A){return void n.nextTick((function(){e.emit("error",A)}))}}}},g.prototype._onXHRProgress=function(){var e=this;m(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},g.prototype._connect=function(){var e=this;e._destroyed||(e._response=new f(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},g.prototype._write=function(e,t,n){var r=this;r._body.push(e),n()},g.prototype.abort=g.prototype.destroy=function(){var e=this;e._destroyed=!0,r.clearTimeout(e._fetchTimer),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort()},g.prototype.end=function(e,t,n){var r=this;"function"===typeof e&&(n=e,e=void 0),d.Writable.prototype.end.call(r,e,t,n)},g.prototype.flushHeaders=function(){},g.prototype.setTimeout=function(){},g.prototype.setNoDelay=function(){},g.prototype.setSocketKeepAlive=function(){};var v=["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,e("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},e("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(e,t,n){(function(t,r,i){"use strict";var o=e("babel-runtime/core-js/promise"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l=e("./capability"),c=e("inherits"),u=e("readable-stream"),d=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},h=n.IncomingMessage=function(e,n,o,s){var c=this;if(u.Readable.call(c),c._mode=o,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){t.nextTick((function(){c.emit("close")}))})),"fetch"===o){var d=function e(){f.read().then((function(t){if(!c._destroyed){if(t.done)return r.clearTimeout(s),void c.push(null);c.push(new i(t.value)),e()}}))["catch"]((function(e){r.clearTimeout(s),c._destroyed||c.emit("error",e)}))};if(c._fetchResponse=n,c.url=n.url,c.statusCode=n.status,c.statusMessage=n.statusText,n.headers.forEach((function(e,t){c.headers[t.toLowerCase()]=e,c.rawHeaders.push(t,e)})),l.writableStream){var h=new WritableStream({write:function(e){return new a["default"]((function(t,n){c._destroyed?n():c.push(new i(e))?t():c._resumeFetch=t}))},close:function(){r.clearTimeout(s),c._destroyed||c.push(null)},abort:function(e){c._destroyed||c.emit("error",e)}});try{return void n.body.pipeTo(h)["catch"]((function(e){r.clearTimeout(s),c._destroyed||c.emit("error",e)}))}catch(m){}}var f=n.body.getReader();d()}else{c._xhr=e,c._pos=0,c.url=e.responseURL,c.statusCode=e.status,c.statusMessage=e.statusText;var p=e.getAllResponseHeaders().split(/\r?\n/);if(p.forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===c.headers[n]&&(c.headers[n]=[]),c.headers[n].push(t[2])):void 0!==c.headers[n]?c.headers[n]+=", "+t[2]:c.headers[n]=t[2],c.rawHeaders.push(t[1],t[2])}})),c._charset="x-user-defined",!l.overrideMimeType){var A=c.rawHeaders["mime-type"];if(A){var g=A.match(/;\s*charset=([^;])(;|$)/);g&&(c._charset=g[1].toLowerCase())}c._charset||(c._charset="utf-8")}}};c(h,u.Readable),h.prototype._read=function(){var e=this,t=e._resumeFetch;t&&(e._resumeFetch=null,t())},h.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==d.DONE)break;try{n=new r.VBArray(t.responseBody).toArray()}catch(c){}if(null!==n){e.push(new i(n));break}case"text":try{n=t.responseText}catch(c){e._mode="text:vbarray";break}if(n.length>e._pos){var o=n.substr(e._pos);if("x-user-defined"===e._charset){for(var a=new i(o.length),s=0;s<o.length;s++)a[s]=255&o.charCodeAt(s);e.push(a)}else e.push(o,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==d.DONE||!t.response)break;n=t.response,e.push(new i(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==d.LOADING||!n)break;e.push(new i(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==d.LOADING)break;var l=new r.MSStreamReader;l.onprogress=function(){l.result.byteLength>e._pos&&(e.push(new i(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){e.push(null)},l.readAsArrayBuffer(n);break}e._xhr.readyState===d.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,e("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},e("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.isEncoding||function(e){switch(e=""+e,e&&e.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 o(e){if(!e)return"utf8";var t;while(1)switch(e){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 e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=o(e);if("string"!==typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=p,this.end=A,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=g,this.end=m,t=3;break;default:return this.write=v,void(this.end=y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function l(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function c(e,t,n){var r=t.length-1;if(r<n)return 0;var i=l(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||-2===i?0:(i=l(t[r]),i>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||-2===i?0:(i=l(t[r]),i>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0))}function u(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}function d(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function h(e,t){var n=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t}function p(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function A(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function g(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function m(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}n.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},s.prototype.end=f,s.prototype.text=h,s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":228}],236:[function(e,t,n){(function(t,r){var i=e("process/browser.js").nextTick,o=Function.prototype.apply,a=Array.prototype.slice,s={},l=0;function c(e,t){this._id=e,this._clearFn=t}n.setTimeout=function(){return new c(o.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new c(o.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n.setImmediate="function"===typeof t?t:function(e){var t=l++,r=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,i((function(){s[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))})),t},n.clearImmediate="function"===typeof r?r:function(e){delete s[e]}}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(e,t,n){var r=e("buffer").Buffer;t.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"===typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(r.isBuffer(e)){for(var t=new Uint8Array(e.length),n=e.length,i=0;i<n;i++)t[i]=e[i];return t.buffer}throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(e,t,n){"use strict";var r=e("punycode"),i=e("./util");function o(){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}n.parse=_,n.resolve=x,n.resolveObject=C,n.format=w,n.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],u=["{","}","|","\\","^","`"].concat(c),d=["'"].concat(u),h=["%","/","?",";","#"].concat(d),f=["/","?","#"],p=255,A=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=e("querystring");function _(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}function w(e){return i.isString(e)&&(e=_(e)),e instanceof o?e.format():o.prototype.format.call(e)}function x(e,t){return _(e,!1,!0).resolve(t)}function C(e,t){return e?_(e,!1,!0).resolveObject(t):t}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(s),u=/\\/g;c[0]=c[0].replace(u,"/"),e=c.join(s);var _=e;if(_=_.trim(),!n&&1===e.split("#").length){var w=l.exec(_);if(w)return this.path=_,this.href=_,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?b.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var x=a.exec(_);if(x){x=x[0];var C=x.toLowerCase();this.protocol=C,_=_.substr(x.length)}if(n||x||_.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===_.substr(0,2);!S||x&&v[x]||(_=_.substr(2),this.slashes=!0)}if(!v[x]&&(S||x&&!y[x])){for(var k,E,O=-1,B=0;B<f.length;B++){var M=_.indexOf(f[B]);-1!==M&&(-1===O||M<O)&&(O=M)}E=-1===O?_.lastIndexOf("@"):_.lastIndexOf("@",O),-1!==E&&(k=_.slice(0,E),_=_.slice(E+1),this.auth=decodeURIComponent(k)),O=-1;for(B=0;B<h.length;B++){M=_.indexOf(h[B]);-1!==M&&(-1===O||M<O)&&(O=M)}-1===O&&(O=_.length),this.host=_.slice(0,O),_=_.slice(O),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var I=this.hostname.split(/\./),L=(B=0,I.length);B<L;B++){var D=I[B];if(D&&!D.match(A)){for(var P="",N=0,j=D.length;N<j;N++)D.charCodeAt(N)>127?P+="x":P+=D[N];if(!P.match(A)){var F=I.slice(0,B),R=I.slice(B+1),U=D.match(g);U&&(F.push(U[1]),R.unshift(U[2])),R.length&&(_="/"+R.join(".")+_),this.hostname=F.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var H=this.port?":"+this.port:"",Q=this.hostname||"";this.host=Q+H,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!m[C])for(B=0,L=d.length;B<L;B++){var K=d[B];if(-1!==_.indexOf(K)){var z=encodeURIComponent(K);z===K&&(z=escape(K)),_=_.split(K).join(z)}}var V=_.indexOf("#");-1!==V&&(this.hash=_.substr(V),_=_.slice(0,V));var W=_.indexOf("?");if(-1!==W?(this.search=_.substr(W),this.query=_.substr(W+1),t&&(this.query=b.parse(this.query)),_=_.slice(0,W)):t&&(this.search="",this.query={}),_&&(this.pathname=_),y[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){H=this.pathname||"";var G=this.search||"";this.path=H+G}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=b.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})),s=s.replace("#","%23"),t+o+n+s+r},o.prototype.resolve=function(e){return this.resolveObject(_(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=e[u])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!y[e.protocol]){for(var d=Object.keys(e),h=0;h<d.length;h++){var f=d[h];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||v[e.protocol])n.pathname=e.pathname;else{var p=(e.pathname||"").split("/");while(p.length&&!(e.host=p.shift()));e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var A=n.pathname||"",g=n.search||"";n.path=A+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var m=n.pathname&&"/"===n.pathname.charAt(0),b=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=b||m||n.host&&e.pathname,w=_,x=n.pathname&&n.pathname.split("/")||[],C=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!y[n.protocol]);if(C&&(n.hostname="",n.port=null,n.host&&(""===x[0]?x[0]=n.host:x.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),_=_&&(""===p[0]||""===x[0])),b)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,x=p;else if(p.length)x||(x=[]),x.pop(),x=x.concat(p),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(C){n.hostname=n.host=x.shift();var S=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");S&&(n.auth=S.shift(),n.host=n.hostname=S.shift())}return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!x.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var k=x.slice(-1)[0],E=(n.host||e.host||x.length>1)&&("."===k||".."===k)||""===k,O=0,B=x.length;B>=0;B--)k=x[B],"."===k?x.splice(B,1):".."===k?(x.splice(B,1),O++):O&&(x.splice(B,1),O--);if(!_&&!w)for(;O--;O)x.unshift("..");!_||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),E&&"/"!==x.join("/").substr(-1)&&x.push("");var M=""===x[0]||x[0]&&"/"===x[0].charAt(0);if(C){n.hostname=n.host=M?"":x.length?x.shift():"";S=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");S&&(n.auth=S.shift(),n.host=n.hostname=S.shift())}return _=_||n.host&&x.length,_&&!M&&x.unshift(""),x.length?n.pathname=x.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":239,punycode:209,querystring:212}],239:[function(e,t,n){"use strict";t.exports={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},{}],240:[function(e,t,n){(function(e){function n(e,t){if(r("noDeprecation"))return e;var n=!1;function i(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}return i}function r(t){try{if(!e.localStorage)return!1}catch(r){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=n}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],241:[function(e,t,n){"function"===typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],242:[function(e,t,n){t.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},{}],243:[function(e,t,n){(function(t,r){var i=/%[sdj%]/g;n.format=function(e){if(!w(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),l=r[n];n<o;l=r[++n])y(l)||!k(l)?a+=" "+l:a+=" "+s(l);return a},n.deprecate=function(e,i){if(C(r.process))return function(){return n.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;function a(){if(!o){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),o=!0}return e.apply(this,arguments)}return a};var o,a={};function s(e,t){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),v(t)?r.showHidden=t:t&&n._extend(r,t),C(r.showHidden)&&(r.showHidden=!1),C(r.depth)&&(r.depth=2),C(r.colors)&&(r.colors=!1),C(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),d(r,e,r.depth)}function l(e,t){var n=s.styles[t];return n?"\x1b["+s.colors[n][0]+"m"+e+"\x1b["+s.colors[n][1]+"m":e}function c(e,t){return e}function u(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}function d(e,t,r){if(e.customInspect&&t&&B(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return w(i)||(i=d(e,i,r)),i}var o=h(e,t);if(o)return o;var a=Object.keys(t),s=u(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),O(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(t);if(0===a.length){if(B(t)){var l=t.name?": "+t.name:"";return e.stylize("[Function"+l+"]","special")}if(S(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(E(t))return e.stylize(Date.prototype.toString.call(t),"date");if(O(t))return f(t)}var c,v="",y=!1,b=["{","}"];if(m(t)&&(y=!0,b=["[","]"]),B(t)){var _=t.name?": "+t.name:"";v=" [Function"+_+"]"}return S(t)&&(v=" "+RegExp.prototype.toString.call(t)),E(t)&&(v=" "+Date.prototype.toUTCString.call(t)),O(t)&&(v=" "+f(t)),0!==a.length||y&&0!=t.length?r<0?S(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=y?p(e,t,r,s,a):a.map((function(n){return A(e,t,r,s,n,y)})),e.seen.pop(),g(c,v,b)):b[0]+v+b[1]}function h(e,t){if(C(t))return e.stylize("undefined","undefined");if(w(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return _(t)?e.stylize(""+t,"number"):v(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)P(t,String(a))?o.push(A(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(A(e,t,n,r,i,!0))})),o}function A(e,t,n,r,i,o){var a,s,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),P(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=y(n)?d(e,l.value,null):d(e,l.value,n-1),s.indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n"))):s=e.stylize("[Circular]","special")),C(a)){if(o&&i.match(/^\d+$/))return s;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function g(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return r>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function m(e){return Array.isArray(e)}function v(e){return"boolean"===typeof e}function y(e){return null===e}function b(e){return null==e}function _(e){return"number"===typeof e}function w(e){return"string"===typeof e}function x(e){return"symbol"===typeof e}function C(e){return void 0===e}function S(e){return k(e)&&"[object RegExp]"===T(e)}function k(e){return"object"===typeof e&&null!==e}function E(e){return k(e)&&"[object Date]"===T(e)}function O(e){return k(e)&&("[object Error]"===T(e)||e instanceof Error)}function B(e){return"function"===typeof e}function M(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function T(e){return Object.prototype.toString.call(e)}function I(e){return e<10?"0"+e.toString(10):e.toString(10)}n.debuglog=function(e){if(C(o)&&(o=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!a[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var r=t.pid;a[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else a[e]=function(){};return a[e]},n.inspect=s,s.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]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=m,n.isBoolean=v,n.isNull=y,n.isNullOrUndefined=b,n.isNumber=_,n.isString=w,n.isSymbol=x,n.isUndefined=C,n.isRegExp=S,n.isObject=k,n.isDate=E,n.isError=O,n.isFunction=B,n.isPrimitive=M,n.isBuffer=e("./support/isBuffer");var L=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function D(){var e=new Date,t=[I(e.getHours()),I(e.getMinutes()),I(e.getSeconds())].join(":");return[e.getDate(),L[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.log=function(){console.log("%s - %s",D(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!k(t))return e;var n=Object.keys(t),r=n.length;while(r--)e[n[r]]=t[n[r]];return e}}).call(this,e("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(e,t,n){"use strict";(function(){n.stripBOM=function(e){return"\ufeff"===e[0]?e.substring(1):e}}).call(void 0)},{}],245:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/typeof"),i=s(r),o=e("babel-runtime/core-js/object/keys"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}(function(){var t,r,o,s,l,c={}.hasOwnProperty;t=e("xmlbuilder"),r=e("./defaults").defaults,s=function(e){return"string"===typeof e&&(e.indexOf("&")>=0||e.indexOf(">")>=0||e.indexOf("<")>=0)},l=function(e){return"<![CDATA["+o(e)+"]]>"},o=function(e){return e.replace("]]>","]]]]><![CDATA[>")},n.Builder=function(){function e(e){var t,n,i;for(t in this.options={},n=r["0.2"],n)c.call(n,t)&&(i=n[t],this.options[t]=i);for(t in e)c.call(e,t)&&(i=e[t],this.options[t]=i)}return e.prototype.buildObject=function(e){var n,o,u,d,h;return n=this.options.attrkey,o=this.options.charkey,1===(0,a["default"])(e).length&&this.options.rootName===r["0.2"].rootName?(h=(0,a["default"])(e)[0],e=e[h]):h=this.options.rootName,u=function(e){return function(t,r){var a,d,h,f,p,A;if("object"!==("undefined"===typeof r?"undefined":(0,i["default"])(r)))e.options.cdata&&s(r)?t.raw(l(r)):t.txt(r);else if(Array.isArray(r)){for(f in r)if(c.call(r,f))for(p in d=r[f],d)h=d[p],t=u(t.ele(p),h).up()}else for(p in r)if(c.call(r,p))if(d=r[p],p===n){if("object"===("undefined"===typeof d?"undefined":(0,i["default"])(d)))for(a in d)A=d[a],t=t.att(a,A)}else if(p===o)t=e.options.cdata&&s(d)?t.raw(l(d)):t.txt(d);else if(Array.isArray(d))for(f in d)c.call(d,f)&&(h=d[f],t="string"===typeof h?e.options.cdata&&s(h)?t.ele(p).raw(l(h)).up():t.ele(p,h).up():u(t.ele(p),h).up());else"object"===("undefined"===typeof d?"undefined":(0,i["default"])(d))?t=u(t.ele(p),d).up():"string"===typeof d&&e.options.cdata&&s(d)?t=t.ele(p).raw(l(d)).up():(null==d&&(d=""),t=t.ele(p,d.toString()).up());return t}}(this),d=t.create(h,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),u(d,e).end(this.options.renderOpts)},e}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(e,t,n){"use strict";(function(){n.defaults={.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:""},.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:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],247:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/promise"),i=d(r),o=e("babel-runtime/core-js/object/get-own-property-names"),a=d(o),s=e("babel-runtime/core-js/object/keys"),l=d(s),c=e("babel-runtime/helpers/typeof"),u=d(c);function d(e){return e&&e.__esModule?e:{default:e}}(function(){var t,r,o,s,c,d,h,f,p=function(e,t){return function(){return e.apply(t,arguments)}},A=function(e,t){for(var n in t)g.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},g={}.hasOwnProperty;h=e("sax"),o=e("events"),t=e("./bom"),d=e("./processors"),f=e("timers").setImmediate,r=e("./defaults").defaults,s=function(e){return"object"===("undefined"===typeof e?"undefined":(0,u["default"])(e))&&null!=e&&0===(0,l["default"])(e).length},c=function(e,t,n){var r,i,o;for(r=0,i=e.length;r<i;r++)o=e[r],t=o(t,n);return t},n.Parser=function(e){function o(e){var t,i,o;if(this.parseStringPromise=p(this.parseStringPromise,this),this.parseString=p(this.parseString,this),this.reset=p(this.reset,this),this.assignOrPush=p(this.assignOrPush,this),this.processAsync=p(this.processAsync,this),!(this instanceof n.Parser))return new n.Parser(e);for(t in this.options={},i=r["0.2"],i)g.call(i,t)&&(o=i[t],this.options[t]=o);for(t in e)g.call(e,t)&&(o=e[t],this.options[t]=o);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(d.normalize)),this.reset()}return A(o,e),o.prototype.processAsync=function(){var e,t;try{return this.remaining.length<=this.options.chunkSize?(e=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(e),this.saxParser.close()):(e=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(e),f(this.processAsync))}catch(n){if(t=n,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(t)}},o.prototype.assignOrPush=function(e,t,n){return t in e?(e[t]instanceof Array||(e[t]=[e[t]]),e[t].push(n)):this.options.explicitArray?e[t]=[n]:e[t]=n},o.prototype.reset=function(){var e,t,n,r;return this.removeAllListeners(),this.saxParser=h.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(e){return function(t){if(e.saxParser.resume(),!e.saxParser.errThrown)return e.saxParser.errThrown=!0,e.emit("error",t)}}(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,r=[],e=this.options.attrkey,t=this.options.charkey,this.saxParser.onopentag=function(n){return function(i){var o,a,s,l,u;if(s={},s[t]="",!n.options.ignoreAttrs)for(o in u=i.attributes,u)g.call(u,o)&&(e in s||n.options.mergeAttrs||(s[e]={}),a=n.options.attrValueProcessors?c(n.options.attrValueProcessors,i.attributes[o],o):i.attributes[o],l=n.options.attrNameProcessors?c(n.options.attrNameProcessors,o):o,n.options.mergeAttrs?n.assignOrPush(s,l,a):s[e][l]=a);return s["#name"]=n.options.tagNameProcessors?c(n.options.tagNameProcessors,i.name):i.name,n.options.xmlns&&(s[n.options.xmlnskey]={uri:i.uri,local:i.local}),r.push(s)}}(this),this.saxParser.onclosetag=function(e){return function(){var n,i,o,d,h,f,p,A,m,v;if(f=r.pop(),h=f["#name"],e.options.explicitChildren&&e.options.preserveChildrenOrder||delete f["#name"],!0===f.cdata&&(n=f.cdata,delete f.cdata),m=r[r.length-1],f[t].match(/^\s*$/)&&!n?(i=f[t],delete f[t]):(e.options.trim&&(f[t]=f[t].trim()),e.options.normalize&&(f[t]=f[t].replace(/\s{2,}/g," ").trim()),f[t]=e.options.valueProcessors?c(e.options.valueProcessors,f[t],h):f[t],1===(0,l["default"])(f).length&&t in f&&!e.EXPLICIT_CHARKEY&&(f=f[t])),s(f)&&(f=""!==e.options.emptyTag?e.options.emptyTag:i),null!=e.options.validator&&(v="/"+function(){var e,t,n;for(n=[],e=0,t=r.length;e<t;e++)d=r[e],n.push(d["#name"]);return n}().concat(h).join("/"),function(){var t;try{f=e.options.validator(v,m&&m[h],f)}catch(n){return t=n,e.emit("error",t)}}()),e.options.explicitChildren&&!e.options.mergeAttrs&&"object"===("undefined"===typeof f?"undefined":(0,u["default"])(f)))if(e.options.preserveChildrenOrder){if(m){for(o in m[e.options.childkey]=m[e.options.childkey]||[],p={},f)g.call(f,o)&&(p[o]=f[o]);m[e.options.childkey].push(p),delete f["#name"],1===(0,l["default"])(f).length&&t in f&&!e.EXPLICIT_CHARKEY&&(f=f[t])}}else d={},e.options.attrkey in f&&(d[e.options.attrkey]=f[e.options.attrkey],delete f[e.options.attrkey]),!e.options.charsAsChildren&&e.options.charkey in f&&(d[e.options.charkey]=f[e.options.charkey],delete f[e.options.charkey]),(0,a["default"])(f).length>0&&(d[e.options.childkey]=f),f=d;return r.length>0?e.assignOrPush(m,h,f):(e.options.explicitRoot&&(A=f,f={},f[h]=A),e.resultObject=f,e.saxParser.ended=!0,e.emit("end",e.resultObject))}}(this),n=function(e){return function(n){var i,o;if(o=r[r.length-1],o)return o[t]+=n,e.options.explicitChildren&&e.options.preserveChildrenOrder&&e.options.charsAsChildren&&(e.options.includeWhiteChars||""!==n.replace(/\\n/g,"").trim())&&(o[e.options.childkey]=o[e.options.childkey]||[],i={"#name":"__text__"},i[t]=n,e.options.normalize&&(i[t]=i[t].replace(/\s{2,}/g," ").trim()),o[e.options.childkey].push(i)),o}}(this),this.saxParser.ontext=n,this.saxParser.oncdata=function(e){return function(e){var t;if(t=n(e),t)return t.cdata=!0}}()},o.prototype.parseString=function(e,n){var r;null!=n&&"function"===typeof n&&(this.on("end",(function(e){return this.reset(),n(null,e)})),this.on("error",(function(e){return this.reset(),n(e)})));try{return e=e.toString(),""===e.trim()?(this.emit("end",null),!0):(e=t.stripBOM(e),this.options.async?(this.remaining=e,f(this.processAsync),this.saxParser):this.saxParser.write(e).close())}catch(i){if(r=i,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",r),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw r}},o.prototype.parseStringPromise=function(e){return new i["default"](function(t){return function(n,r){return t.parseString(e,(function(e,t){return e?r(e):n(t)}))}}(this))},o}(o),n.parseString=function(e,t,r){var i,o,a;return null!=r?("function"===typeof r&&(i=r),"object"===("undefined"===typeof t?"undefined":(0,u["default"])(t))&&(o=t)):("function"===typeof t&&(i=t),o={}),a=new n.Parser(o),a.parseString(e,i)},n.parseStringPromise=function(e,t){var r,i;return"object"===("undefined"===typeof t?"undefined":(0,u["default"])(t))&&(r=t),i=new n.Parser(r),i.parseStringPromise(e)}}).call(void 0)},{"./bom":244,"./defaults":246,"./processors":248,"babel-runtime/core-js/object/get-own-property-names":58,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/helpers/typeof":67,events:192,sax:229,timers:236}],248:[function(e,t,n){"use strict";(function(){var e;e=new RegExp(/(?!xmlns)^.*:/),n.normalize=function(e){return e.toLowerCase()},n.firstCharLowerCase=function(e){return e.charAt(0).toLowerCase()+e.slice(1)},n.stripPrefix=function(t){return t.replace(e,"")},n.parseNumbers=function(e){return isNaN(e)||(e=e%1===0?parseInt(e,10):parseFloat(e)),e},n.parseBooleans=function(e){return/^(?:true|false)$/i.test(e)&&(e="true"===e.toLowerCase()),e}}).call(void 0)},{}],249:[function(e,t,n){"use strict";(function(){var t,r,i,o,a=function(e,t){for(var n in t)s.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},s={}.hasOwnProperty;r=e("./defaults"),t=e("./builder"),i=e("./parser"),o=e("./processors"),n.defaults=r.defaults,n.processors=o,n.ValidationError=function(e){function t(e){this.message=e}return a(t,e),t}(Error),n.Builder=t.Builder,n.Parser=i.Parser,n.parseString=i.parseString,n.parseStringPromise=i.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(e,t,n){"use strict";(function(){t.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(e,t,n){"use strict";(function(){t.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(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/get-prototype-of"),i=c(r),o=e("babel-runtime/helpers/typeof"),a=c(o),s=e("babel-runtime/core-js/object/assign"),l=c(s);function c(e){return e&&e.__esModule?e:{default:e}}(function(){var e,n,r,o,s,c,u,d=[].slice,h={}.hasOwnProperty;e=function(){var e,t,n,r,i,o;if(o=arguments[0],i=2<=arguments.length?d.call(arguments,1):[],s(l["default"]))l["default"].apply(null,arguments);else for(e=0,n=i.length;e<n;e++)if(r=i[e],null!=r)for(t in r)h.call(r,t)&&(o[t]=r[t]);return o},s=function(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)},c=function(e){var t;return!!e&&("function"===(t="undefined"===typeof e?"undefined":(0,a["default"])(e))||"object"===t)},r=function(e){return s(Array.isArray)?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},o=function(e){var t;if(r(e))return!e.length;for(t in e)if(h.call(e,t))return!1;return!0},u=function(e){var t,n;return c(e)&&(n=(0,i["default"])(e))&&(t=n.constructor)&&"function"===typeof t&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},n=function(e){return s(e.valueOf)?e.valueOf():e},t.exports.assign=e,t.exports.isFunction=s,t.exports.isObject=c,t.exports.isArray=r,t.exports.isEmpty=o,t.exports.isPlainObject=u,t.exports.getValue=n}).call(void 0)},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/get-prototype-of":59,"babel-runtime/helpers/typeof":67}],253:[function(e,t,n){"use strict";(function(){t.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}(function(){var n;n=e("./NodeType"),e("./XMLNode"),t.exports=function(){function e(e,t,r){if(this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==t)throw new Error("Missing attribute name. "+this.debugInfo(t));this.name=this.stringify.name(t),this.value=this.stringify.attValue(r),this.type=n.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(e.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(e.prototype,"textContent",{get:function(){return this.value},set:function(e){return this.value=e||""}}),Object.defineProperty(e.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(e.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(e.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"specified",{get:function(){return!0}}),e.prototype.clone=function(){return(0,i["default"])(this)},e.prototype.toString=function(e){return this.options.writer.attribute(this,this.options.writer.filterOptions(e))},e.prototype.debugInfo=function(e){return e=e||this.name,null==e?"parent: <"+this.parent.name+">":"attribute: {"+e+"}, parent: <"+this.parent.name+">"},e.prototype.isEqualNode=function(e){return e.namespaceURI===this.namespaceURI&&(e.prefix===this.prefix&&(e.localName===this.localName&&e.value===this.value))},e}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}(function(){var n,r,o=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=e("./NodeType"),r=e("./XMLCharacterData"),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=n.CData,this.value=this.stringify.cdata(r)}return o(t,e),t.prototype.clone=function(){return(0,i["default"])(this)},t.prototype.toString=function(e){return this.options.writer.cdata(this,this.options.writer.filterOptions(e))},t}(r)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}(function(){var n,r=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;n=e("./XMLNode"),t.exports=function(e){function t(e){t.__super__.constructor.call(this,e),this.value=""}return r(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this.value},set:function(e){return this.value=e||""}}),Object.defineProperty(t.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.value},set:function(e){return this.value=e||""}}),t.prototype.clone=function(){return(0,i["default"])(this)},t.prototype.substringData=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.appendData=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.insertData=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.deleteData=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.replaceData=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isEqualNode=function(e){return!!t.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)&&e.data===this.data},t}(n)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}(function(){var n,r,o=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=e("./NodeType"),r=e("./XMLCharacterData"),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=n.Comment,this.value=this.stringify.comment(r)}return o(t,e),t.prototype.clone=function(){return(0,i["default"])(this)},t.prototype.toString=function(e){return this.options.writer.comment(this,this.options.writer.filterOptions(e))},t}(r)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/keys"),i=s(r),o=e("babel-runtime/core-js/object/create"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}(function(){var n,r;n=e("./XMLDOMErrorHandler"),r=e("./XMLDOMStringList"),t.exports=function(){function e(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new n,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=(0,a["default"])(this.defaultParams)}return Object.defineProperty(e.prototype,"parameterNames",{get:function(){return new r((0,i["default"])(this.defaultParams))}}),e.prototype.getParameter=function(e){return this.params.hasOwnProperty(e)?this.params[e]:null},e.prototype.canSetParameter=function(e,t){return!0},e.prototype.setParameter=function(e,t){return null!=t?this.params[e]=t:delete this.params[e]},e}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(e,t,n){"use strict";(function(){t.exports=function(){function e(){}return e.prototype.handleError=function(e){throw new Error(e)},e}()}).call(void 0)},{}],260:[function(e,t,n){"use strict";(function(){t.exports=function(){function e(){}return e.prototype.hasFeature=function(e,t){return!0},e.prototype.createDocumentType=function(e,t,n){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(e,t,n){throw new Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(e){throw new Error("This DOM method is not implemented.")},e.prototype.getFeature=function(e,t){throw new Error("This DOM method is not implemented.")},e}()}).call(void 0)},{}],261:[function(e,t,n){"use strict";(function(){t.exports=function(){function e(e){this.arr=e||[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(e){return this.arr[e]||null},e.prototype.contains=function(e){return-1!==this.arr.indexOf(e)},e}()}).call(void 0)},{}],262:[function(e,t,n){"use strict";(function(){var n,r,i=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;r=e("./XMLNode"),n=e("./NodeType"),t.exports=function(e){function t(e,r,i,o,a,s){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==i)throw new Error("Missing DTD attribute name. "+this.debugInfo(r));if(!o)throw new Error("Missing DTD attribute type. "+this.debugInfo(r));if(!a)throw new Error("Missing DTD attribute default. "+this.debugInfo(r));if(0!==a.indexOf("#")&&(a="#"+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(r));if(s&&!a.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(r));this.elementName=this.stringify.name(r),this.type=n.AttributeDeclaration,this.attributeName=this.stringify.name(i),this.attributeType=this.stringify.dtdAttType(o),s&&(this.defaultValue=this.stringify.dtdAttDefault(s)),this.defaultValueType=a}return i(t,e),t.prototype.toString=function(e){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(e))},t}(r)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(e,t,n){"use strict";(function(){var n,r,i=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;r=e("./XMLNode"),n=e("./NodeType"),t.exports=function(e){function t(e,r,i){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD element name. "+this.debugInfo());i||(i="(#PCDATA)"),Array.isArray(i)&&(i="("+i.join(",")+")"),this.name=this.stringify.name(r),this.type=n.ElementDeclaration,this.value=this.stringify.dtdElementValue(i)}return i(t,e),t.prototype.toString=function(e){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(e))},t}(r)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(e,t,n){"use strict";(function(){var n,r,i,o=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;i=e("./Utility").isObject,r=e("./XMLNode"),n=e("./NodeType"),t.exports=function(e){function t(e,r,o,a){if(t.__super__.constructor.call(this,e),null==o)throw new Error("Missing DTD entity name. "+this.debugInfo(o));if(null==a)throw new Error("Missing DTD entity value. "+this.debugInfo(o));if(this.pe=!!r,this.name=this.stringify.name(o),this.type=n.EntityDeclaration,i(a)){if(!a.pubID&&!a.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(o));if(a.pubID&&!a.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(o));if(this.internal=!1,null!=a.pubID&&(this.pubID=this.stringify.dtdPubID(a.pubID)),null!=a.sysID&&(this.sysID=this.stringify.dtdSysID(a.sysID)),null!=a.nData&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(o))}else this.value=this.stringify.dtdEntityValue(a),this.internal=!0}return o(t,e),Object.defineProperty(t.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(t.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(t.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(t.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(t.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(t.prototype,"xmlVersion",{get:function(){return null}}),t.prototype.toString=function(e){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(e))},t}(r)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(e,t,n){"use strict";(function(){var n,r,i=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;r=e("./XMLNode"),n=e("./NodeType"),t.exports=function(e){function t(e,r,i){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD notation name. "+this.debugInfo(r));if(!i.pubID&&!i.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(r));this.name=this.stringify.name(r),this.type=n.NotationDeclaration,null!=i.pubID&&(this.pubID=this.stringify.dtdPubID(i.pubID)),null!=i.sysID&&(this.sysID=this.stringify.dtdSysID(i.sysID))}return i(t,e),Object.defineProperty(t.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(t.prototype,"systemId",{get:function(){return this.sysID}}),t.prototype.toString=function(e){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(e))},t}(r)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(e,t,n){"use strict";(function(){var n,r,i,o=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;i=e("./Utility").isObject,r=e("./XMLNode"),n=e("./NodeType"),t.exports=function(e){function t(e,r,o,a){var s;t.__super__.constructor.call(this,e),i(r)&&(s=r,r=s.version,o=s.encoding,a=s.standalone),r||(r="1.0"),this.type=n.Declaration,this.version=this.stringify.xmlVersion(r),null!=o&&(this.encoding=this.stringify.xmlEncoding(o)),null!=a&&(this.standalone=this.stringify.xmlStandalone(a))}return o(t,e),t.prototype.toString=function(e){return this.options.writer.declaration(this,this.options.writer.filterOptions(e))},t}(r)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(e,t,n){"use strict";(function(){var n,r,i,o,a,s,l,c,u=function(e,t){for(var n in t)d.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},d={}.hasOwnProperty;c=e("./Utility").isObject,l=e("./XMLNode"),n=e("./NodeType"),r=e("./XMLDTDAttList"),o=e("./XMLDTDEntity"),i=e("./XMLDTDElement"),a=e("./XMLDTDNotation"),s=e("./XMLNamedNodeMap"),t.exports=function(e){function t(e,r,i){var o,a,s,l,u,d;if(t.__super__.constructor.call(this,e),this.type=n.DocType,e.children)for(l=e.children,a=0,s=l.length;a<s;a++)if(o=l[a],o.type===n.Element){this.name=o.name;break}this.documentObject=e,c(r)&&(u=r,r=u.pubID,i=u.sysID),null==i&&(d=[r,i],i=d[0],r=d[1]),null!=r&&(this.pubID=this.stringify.dtdPubID(r)),null!=i&&(this.sysID=this.stringify.dtdSysID(i))}return u(t,e),Object.defineProperty(t.prototype,"entities",{get:function(){var e,t,r,i,o;for(i={},o=this.children,t=0,r=o.length;t<r;t++)e=o[t],e.type!==n.EntityDeclaration||e.pe||(i[e.name]=e);return new s(i)}}),Object.defineProperty(t.prototype,"notations",{get:function(){var e,t,r,i,o;for(i={},o=this.children,t=0,r=o.length;t<r;t++)e=o[t],e.type===n.NotationDeclaration&&(i[e.name]=e);return new s(i)}}),Object.defineProperty(t.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(t.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(t.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),t.prototype.element=function(e,t){var n;return n=new i(this,e,t),this.children.push(n),this},t.prototype.attList=function(e,t,n,i,o){var a;return a=new r(this,e,t,n,i,o),this.children.push(a),this},t.prototype.entity=function(e,t){var n;return n=new o(this,!1,e,t),this.children.push(n),this},t.prototype.pEntity=function(e,t){var n;return n=new o(this,!0,e,t),this.children.push(n),this},t.prototype.notation=function(e,t){var n;return n=new a(this,e,t),this.children.push(n),this},t.prototype.toString=function(e){return this.options.writer.docType(this,this.options.writer.filterOptions(e))},t.prototype.ele=function(e,t){return this.element(e,t)},t.prototype.att=function(e,t,n,r,i){return this.attList(e,t,n,r,i)},t.prototype.ent=function(e,t){return this.entity(e,t)},t.prototype.pent=function(e,t){return this.pEntity(e,t)},t.prototype.not=function(e,t){return this.notation(e,t)},t.prototype.up=function(){return this.root()||this.documentObject},t.prototype.isEqualNode=function(e){return!!t.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)&&(e.name===this.name&&(e.publicId===this.publicId&&e.systemId===this.systemId))},t}(l)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(e,t,n){"use strict";(function(){var n,r,i,o,a,s,l,c=function(e,t){for(var n in t)u.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},u={}.hasOwnProperty;l=e("./Utility").isPlainObject,i=e("./XMLDOMImplementation"),r=e("./XMLDOMConfiguration"),o=e("./XMLNode"),n=e("./NodeType"),s=e("./XMLStringifier"),a=e("./XMLStringWriter"),t.exports=function(e){function t(e){t.__super__.constructor.call(this,null),this.name="#document",this.type=n.Document,this.documentURI=null,this.domConfig=new r,e||(e={}),e.writer||(e.writer=new a),this.options=e,this.stringify=new s(e)}return c(t,e),Object.defineProperty(t.prototype,"implementation",{value:new i}),Object.defineProperty(t.prototype,"doctype",{get:function(){var e,t,r,i;for(i=this.children,t=0,r=i.length;t<r;t++)if(e=i[t],e.type===n.DocType)return e;return null}}),Object.defineProperty(t.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(t.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(t.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(t.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===n.Declaration?this.children[0].encoding:null}}),Object.defineProperty(t.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===n.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(t.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===n.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(t.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(t.prototype,"origin",{get:function(){return null}}),Object.defineProperty(t.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(t.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(t.prototype,"contentType",{get:function(){return null}}),t.prototype.end=function(e){var t;return t={},e?l(e)&&(t=e,e=this.options.writer):e=this.options.writer,e.document(this,e.filterOptions(t))},t.prototype.toString=function(e){return this.options.writer.document(this,this.options.writer.filterOptions(e))},t.prototype.createElement=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createTextNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createComment=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createCDATASection=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createProcessingInstruction=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createAttribute=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createEntityReference=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getElementsByTagName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.importNode=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createElementNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getElementsByTagNameNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getElementById=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.adoptNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.renameNode=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getElementsByClassName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createEvent=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createNodeIterator=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.createTreeWalker=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},t}(o)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(e,t,n){"use strict";(function(){var n,r,i,o,a,s,l,c,u,d,h,f,p,A,g,m,v,y,b,_,w,x,C,S={}.hasOwnProperty;C=e("./Utility"),w=C.isObject,_=C.isFunction,x=C.isPlainObject,b=C.getValue,n=e("./NodeType"),f=e("./XMLDocument"),p=e("./XMLElement"),o=e("./XMLCData"),a=e("./XMLComment"),g=e("./XMLRaw"),y=e("./XMLText"),A=e("./XMLProcessingInstruction"),d=e("./XMLDeclaration"),h=e("./XMLDocType"),s=e("./XMLDTDAttList"),c=e("./XMLDTDEntity"),l=e("./XMLDTDElement"),u=e("./XMLDTDNotation"),i=e("./XMLAttribute"),v=e("./XMLStringifier"),m=e("./XMLStringWriter"),r=e("./WriterState"),t.exports=function(){function e(e,t,r){var i;this.name="?xml",this.type=n.Document,e||(e={}),i={},e.writer?x(e.writer)&&(i=e.writer,e.writer=new m):e.writer=new m,this.options=e,this.writer=e.writer,this.writerOptions=this.writer.filterOptions(i),this.stringify=new v(e),this.onDataCallback=t||function(){},this.onEndCallback=r||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return e.prototype.createChildNode=function(e){var t,r,i,o,a,s,l,c;switch(e.type){case n.CData:this.cdata(e.value);break;case n.Comment:this.comment(e.value);break;case n.Element:for(r in i={},l=e.attribs,l)S.call(l,r)&&(t=l[r],i[r]=t.value);this.node(e.name,i);break;case n.Dummy:this.dummy();break;case n.Raw:this.raw(e.value);break;case n.Text:this.text(e.value);break;case n.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(c=e.children,a=0,s=c.length;a<s;a++)o=c[a],this.createChildNode(o),o.type===n.Element&&this.up();return this},e.prototype.dummy=function(){return this},e.prototype.node=function(e,t,n){var r;if(null==e)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(e));return this.openCurrent(),e=b(e),null==t&&(t={}),t=b(t),w(t)||(r=[t,n],n=r[0],t=r[1]),this.currentNode=new p(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=n&&this.text(n),this},e.prototype.element=function(e,t,r){var i,o,a,s,l,c;if(this.currentNode&&this.currentNode.type===n.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(e)||w(e)||_(e))for(s=this.options.noValidation,this.options.noValidation=!0,c=new f(this.options).element("TEMP_ROOT"),c.element(e),this.options.noValidation=s,l=c.children,o=0,a=l.length;o<a;o++)i=l[o],this.createChildNode(i),i.type===n.Element&&this.up();else this.node(e,t,r);return this},e.prototype.attribute=function(e,t){var n,r;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(null!=e&&(e=b(e)),w(e))for(n in e)S.call(e,n)&&(r=e[n],this.attribute(n,r));else _(t)&&(t=t.apply()),this.options.keepNullAttributes&&null==t?this.currentNode.attribs[e]=new i(this,e,""):null!=t&&(this.currentNode.attribs[e]=new i(this,e,t));return this},e.prototype.text=function(e){var t;return this.openCurrent(),t=new y(this,e),this.onData(this.writer.text(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.cdata=function(e){var t;return this.openCurrent(),t=new o(this,e),this.onData(this.writer.cdata(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.comment=function(e){var t;return this.openCurrent(),t=new a(this,e),this.onData(this.writer.comment(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.raw=function(e){var t;return this.openCurrent(),t=new g(this,e),this.onData(this.writer.raw(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.instruction=function(e,t){var n,r,i,o,a;if(this.openCurrent(),null!=e&&(e=b(e)),null!=t&&(t=b(t)),Array.isArray(e))for(n=0,o=e.length;n<o;n++)r=e[n],this.instruction(r);else if(w(e))for(r in e)S.call(e,r)&&(i=e[r],this.instruction(r,i));else _(t)&&(t=t.apply()),a=new A(this,e,t),this.onData(this.writer.processingInstruction(a,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},e.prototype.declaration=function(e,t,n){var r;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return r=new d(this,e,t,n),this.onData(this.writer.declaration(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.doctype=function(e,t,n){if(this.openCurrent(),null==e)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new h(this,t,n),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},e.prototype.dtdElement=function(e,t){var n;return this.openCurrent(),n=new l(this,e,t),this.onData(this.writer.dtdElement(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.attList=function(e,t,n,r,i){var o;return this.openCurrent(),o=new s(this,e,t,n,r,i),this.onData(this.writer.dtdAttList(o,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.entity=function(e,t){var n;return this.openCurrent(),n=new c(this,!1,e,t),this.onData(this.writer.dtdEntity(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.pEntity=function(e,t){var n;return this.openCurrent(),n=new c(this,!0,e,t),this.onData(this.writer.dtdEntity(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.notation=function(e,t){var n;return this.openCurrent(),n=new u(this,e,t),this.onData(this.writer.dtdNotation(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.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},e.prototype.end=function(){while(this.currentLevel>=0)this.up();return this.onEnd()},e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},e.prototype.openNode=function(e){var t,i,o,a;if(!e.isOpen){if(this.root||0!==this.currentLevel||e.type!==n.Element||(this.root=e),i="",e.type===n.Element){for(o in this.writerOptions.state=r.OpenTag,i=this.writer.indent(e,this.writerOptions,this.currentLevel)+"<"+e.name,a=e.attribs,a)S.call(a,o)&&(t=a[o],i+=this.writer.attribute(t,this.writerOptions,this.currentLevel));i+=(e.children?">":"/>")+this.writer.endline(e,this.writerOptions,this.currentLevel),this.writerOptions.state=r.InsideTag}else this.writerOptions.state=r.OpenTag,i=this.writer.indent(e,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+e.rootNodeName,e.pubID&&e.sysID?i+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(i+=' SYSTEM "'+e.sysID+'"'),e.children?(i+=" [",this.writerOptions.state=r.InsideTag):(this.writerOptions.state=r.CloseTag,i+=">"),i+=this.writer.endline(e,this.writerOptions,this.currentLevel);return this.onData(i,this.currentLevel),e.isOpen=!0}},e.prototype.closeNode=function(e){var t;if(!e.isClosed)return t="",this.writerOptions.state=r.CloseTag,t=e.type===n.Element?this.writer.indent(e,this.writerOptions,this.currentLevel)+"</"+e.name+">"+this.writer.endline(e,this.writerOptions,this.currentLevel):this.writer.indent(e,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(e,this.writerOptions,this.currentLevel),this.writerOptions.state=r.None,this.onData(t,this.currentLevel),e.isClosed=!0},e.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},e.prototype.debugInfo=function(e){return null==e?"":"node: <"+e+">"},e.prototype.ele=function(){return this.element.apply(this,arguments)},e.prototype.nod=function(e,t,n){return this.node(e,t,n)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},e.prototype.dtd=function(e,t,n){return this.doctype(e,t,n)},e.prototype.e=function(e,t,n){return this.element(e,t,n)},e.prototype.n=function(e,t,n){return this.node(e,t,n)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.att=function(){return this.currentNode&&this.currentNode.type===n.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.a=function(){return this.currentNode&&this.currentNode.type===n.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e}()}).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(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}(function(){var n,r,o=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;r=e("./XMLNode"),n=e("./NodeType"),t.exports=function(e){function t(e){t.__super__.constructor.call(this,e),this.type=n.Dummy}return o(t,e),t.prototype.clone=function(){return(0,i["default"])(this)},t.prototype.toString=function(e){return""},t}(r)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}(function(){var n,r,o,a,s,l,c,u,d=function(e,t){for(var n in t)h.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},h={}.hasOwnProperty;u=e("./Utility"),c=u.isObject,l=u.isFunction,s=u.getValue,a=e("./XMLNode"),n=e("./NodeType"),r=e("./XMLAttribute"),o=e("./XMLNamedNodeMap"),t.exports=function(e){function t(e,r,i){var o,a,s,l;if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(r),this.type=n.Element,this.attribs={},this.schemaTypeInfo=null,null!=i&&this.attribute(i),e.type===n.Document&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this,e.children))for(l=e.children,a=0,s=l.length;a<s;a++)if(o=l[a],o.type===n.DocType){o.name=this.name;break}}return d(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(t.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(t.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(t.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(t.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(t.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(t.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(t.prototype,"attributes",{get:function(){return this.attributeMap&&this.attributeMap.nodes||(this.attributeMap=new o(this.attribs)),this.attributeMap}}),t.prototype.clone=function(){var e,t,n,r;for(t in n=(0,i["default"])(this),n.isRoot&&(n.documentObject=null),n.attribs={},r=this.attribs,r)h.call(r,t)&&(e=r[t],n.attribs[t]=e.clone());return n.children=[],this.children.forEach((function(e){var t;return t=e.clone(),t.parent=n,n.children.push(t)})),n},t.prototype.attribute=function(e,t){var n,i;if(null!=e&&(e=s(e)),c(e))for(n in e)h.call(e,n)&&(i=e[n],this.attribute(n,i));else l(t)&&(t=t.apply()),this.options.keepNullAttributes&&null==t?this.attribs[e]=new r(this,e,""):null!=t&&(this.attribs[e]=new r(this,e,t));return this},t.prototype.removeAttribute=function(e){var t,n,r;if(null==e)throw new Error("Missing attribute name. "+this.debugInfo());if(e=s(e),Array.isArray(e))for(n=0,r=e.length;n<r;n++)t=e[n],delete this.attribs[t];else delete this.attribs[e];return this},t.prototype.toString=function(e){return this.options.writer.element(this,this.options.writer.filterOptions(e))},t.prototype.att=function(e,t){return this.attribute(e,t)},t.prototype.a=function(e,t){return this.attribute(e,t)},t.prototype.getAttribute=function(e){return this.attribs.hasOwnProperty(e)?this.attribs[e].value:null},t.prototype.setAttribute=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getAttributeNode=function(e){return this.attribs.hasOwnProperty(e)?this.attribs[e]:null},t.prototype.setAttributeNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.removeAttributeNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getElementsByTagName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.setAttributeNS=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.removeAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getAttributeNodeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.setAttributeNodeNS=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getElementsByTagNameNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.hasAttribute=function(e){return this.attribs.hasOwnProperty(e)},t.prototype.hasAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.setIdAttribute=function(e,t){return this.attribs.hasOwnProperty(e)?this.attribs[e].isId:t},t.prototype.setIdAttributeNS=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.setIdAttributeNode=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getElementsByTagName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getElementsByTagNameNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getElementsByClassName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isEqualNode=function(e){var n,r,i;if(!t.__super__.isEqualNode.apply(this,arguments).isEqualNode(e))return!1;if(e.namespaceURI!==this.namespaceURI)return!1;if(e.prefix!==this.prefix)return!1;if(e.localName!==this.localName)return!1;if(e.attribs.length!==this.attribs.length)return!1;for(n=r=0,i=this.attribs.length-1;0<=i?r<=i:r>=i;n=0<=i?++r:--r)if(!this.attribs[n].isEqualNode(e.attribs[n]))return!1;return!0},t}(a)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/keys"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}(function(){t.exports=function(){function e(e){this.nodes=e}return Object.defineProperty(e.prototype,"length",{get:function(){return(0,i["default"])(this.nodes).length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.getNamedItem=function(e){return this.nodes[e]},e.prototype.setNamedItem=function(e){var t;return t=this.nodes[e.nodeName],this.nodes[e.nodeName]=e,t||null},e.prototype.removeNamedItem=function(e){var t;return t=this.nodes[e],delete this.nodes[e],t||null},e.prototype.item=function(e){return this.nodes[(0,i["default"])(this.nodes)[e]]||null},e.prototype.getNamedItemNS=function(e,t){throw new Error("This DOM method is not implemented.")},e.prototype.setNamedItemNS=function(e){throw new Error("This DOM method is not implemented.")},e.prototype.removeNamedItemNS=function(e,t){throw new Error("This DOM method is not implemented.")},e}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(e,t,n){"use strict";(function(){var n,r,i,o,a,s,l,c,u,d,h,f,p,A,g,m,v,y={}.hasOwnProperty;v=e("./Utility"),m=v.isObject,g=v.isFunction,A=v.isEmpty,p=v.getValue,c=null,i=null,o=null,a=null,s=null,h=null,f=null,d=null,l=null,r=null,u=null,n=null,t.exports=function(){function t(t){this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,c||(c=e("./XMLElement"),i=e("./XMLCData"),o=e("./XMLComment"),a=e("./XMLDeclaration"),s=e("./XMLDocType"),h=e("./XMLRaw"),f=e("./XMLText"),d=e("./XMLProcessingInstruction"),l=e("./XMLDummy"),r=e("./NodeType"),u=e("./XMLNodeList"),e("./XMLNamedNodeMap"),n=e("./DocumentPosition"))}return Object.defineProperty(t.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new u(this.children)),this.childNodeList}}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e-1]||null}}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e+1]||null}}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(t.prototype,"textContent",{get:function(){var e,t,n,i,o;if(this.nodeType===r.Element||this.nodeType===r.DocumentFragment){for(o="",i=this.children,t=0,n=i.length;t<n;t++)e=i[t],e.textContent&&(o+=e.textContent);return o}return null},set:function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),t.prototype.setParent=function(e){var t,n,r,i,o;for(this.parent=e,e&&(this.options=e.options,this.stringify=e.stringify),i=this.children,o=[],n=0,r=i.length;n<r;n++)t=i[n],o.push(t.setParent(this));return o},t.prototype.element=function(e,t,n){var r,i,o,a,s,l,c,u,d,h,f;if(l=null,null===t&&null==n&&(d=[{},null],t=d[0],n=d[1]),null==t&&(t={}),t=p(t),m(t)||(h=[t,n],n=h[0],t=h[1]),null!=e&&(e=p(e)),Array.isArray(e))for(o=0,c=e.length;o<c;o++)i=e[o],l=this.element(i);else if(g(e))l=this.element(e.apply());else if(m(e)){for(s in e)if(y.call(e,s))if(f=e[s],g(f)&&(f=f.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===s.indexOf(this.stringify.convertAttKey))l=this.attribute(s.substr(this.stringify.convertAttKey.length),f);else if(!this.options.separateArrayItems&&Array.isArray(f)&&A(f))l=this.dummy();else if(m(f)&&A(f))l=this.element(s);else if(this.options.keepNullNodes||null!=f)if(!this.options.separateArrayItems&&Array.isArray(f))for(a=0,u=f.length;a<u;a++)i=f[a],r={},r[s]=i,l=this.element(r);else m(f)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===s.indexOf(this.stringify.convertTextKey)?l=this.element(f):(l=this.element(s),l.element(f)):l=this.element(s,f);else l=this.dummy()}else l=this.options.keepNullNodes||null!==n?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(n):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===e.indexOf(this.stringify.convertPIKey)?this.instruction(e.substr(this.stringify.convertPIKey.length),n):this.node(e,t,n):this.dummy();if(null==l)throw new Error("Could not create any elements with: "+e+". "+this.debugInfo());return l},t.prototype.insertBefore=function(e,t,n){var r,i,o,a,s;if(null!=e?e.type:void 0)return o=e,a=t,o.setParent(this),a?(i=children.indexOf(a),s=children.splice(i),children.push(o),Array.prototype.push.apply(children,s)):children.push(o),o;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return i=this.parent.children.indexOf(this),s=this.parent.children.splice(i),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,s),r},t.prototype.insertAfter=function(e,t,n){var r,i,o;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return i=this.parent.children.indexOf(this),o=this.parent.children.splice(i+1),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,o),r},t.prototype.remove=function(){var e;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat([])),this.parent},t.prototype.node=function(e,t,n){var r,i;return null!=e&&(e=p(e)),t||(t={}),t=p(t),m(t)||(i=[t,n],n=i[0],t=i[1]),r=new c(this,e,t),null!=n&&r.text(n),this.children.push(r),r},t.prototype.text=function(e){var t;return m(e)&&this.element(e),t=new f(this,e),this.children.push(t),this},t.prototype.cdata=function(e){var t;return t=new i(this,e),this.children.push(t),this},t.prototype.comment=function(e){var t;return t=new o(this,e),this.children.push(t),this},t.prototype.commentBefore=function(e){var t,n;return t=this.parent.children.indexOf(this),n=this.parent.children.splice(t),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.commentAfter=function(e){var t,n;return t=this.parent.children.indexOf(this),n=this.parent.children.splice(t+1),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.raw=function(e){var t;return t=new h(this,e),this.children.push(t),this},t.prototype.dummy=function(){var e;return e=new l(this),e},t.prototype.instruction=function(e,t){var n,r,i,o,a;if(null!=e&&(e=p(e)),null!=t&&(t=p(t)),Array.isArray(e))for(o=0,a=e.length;o<a;o++)n=e[o],this.instruction(n);else if(m(e))for(n in e)y.call(e,n)&&(r=e[n],this.instruction(n,r));else g(t)&&(t=t.apply()),i=new d(this,e,t),this.children.push(i);return this},t.prototype.instructionBefore=function(e,t){var n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.instructionAfter=function(e,t){var n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n+1),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.declaration=function(e,t,n){var i,o;return i=this.document(),o=new a(i,e,t,n),0===i.children.length?i.children.unshift(o):i.children[0].type===r.Declaration?i.children[0]=o:i.children.unshift(o),i.root()||i},t.prototype.dtd=function(e,t){var n,i,o,a,l,c,u,d,h,f;for(i=this.document(),o=new s(i,e,t),h=i.children,a=l=0,u=h.length;l<u;a=++l)if(n=h[a],n.type===r.DocType)return i.children[a]=o,o;for(f=i.children,a=c=0,d=f.length;c<d;a=++c)if(n=f[a],n.isRoot)return i.children.splice(a,0,o),o;return i.children.push(o),o},t.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},t.prototype.root=function(){var e;e=this;while(e){if(e.type===r.Document)return e.rootObject;if(e.isRoot)return e;e=e.parent}},t.prototype.document=function(){var e;e=this;while(e){if(e.type===r.Document)return e;e=e.parent}},t.prototype.end=function(e){return this.document().end(e)},t.prototype.prev=function(){var e;if(e=this.parent.children.indexOf(this),e<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[e-1]},t.prototype.next=function(){var e;if(e=this.parent.children.indexOf(this),-1===e||e===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[e+1]},t.prototype.importDocument=function(e){var t;return t=e.root().clone(),t.parent=this,t.isRoot=!1,this.children.push(t),this},t.prototype.debugInfo=function(e){var t,n;return e=e||this.name,null!=e||(null!=(t=this.parent)?t.name:void 0)?null==e?"parent: <"+this.parent.name+">":(null!=(n=this.parent)?n.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},t.prototype.ele=function(e,t,n){return this.element(e,t,n)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.u=function(){return this.up()},t.prototype.importXMLBuilder=function(e){return this.importDocument(e)},t.prototype.replaceChild=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.removeChild=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.appendChild=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.hasChildNodes=function(){return 0!==this.children.length},t.prototype.cloneNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isSupported=function(e,t){return!0},t.prototype.hasAttributes=function(){return 0!==this.attribs.length},t.prototype.compareDocumentPosition=function(e){var t,r;return t=this,t===e?0:this.document()!==e.document()?(r=n.Disconnected|n.ImplementationSpecific,Math.random()<.5?r|=n.Preceding:r|=n.Following,r):t.isAncestor(e)?n.Contains|n.Preceding:t.isDescendant(e)?n.Contains|n.Following:t.isPreceding(e)?n.Preceding:n.Following},t.prototype.isSameNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.lookupPrefix=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isDefaultNamespace=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.lookupNamespaceURI=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isEqualNode=function(e){var t,n,r;if(e.nodeType!==this.nodeType)return!1;if(e.children.length!==this.children.length)return!1;for(t=n=0,r=this.children.length-1;0<=r?n<=r:n>=r;t=0<=r?++n:--n)if(!this.children[t].isEqualNode(e.children[t]))return!1;return!0},t.prototype.getFeature=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.setUserData=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getUserData=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.contains=function(e){return!!e&&(e===this||this.isDescendant(e))},t.prototype.isDescendant=function(e){var t,n,r,i,o;for(o=this.children,r=0,i=o.length;r<i;r++){if(t=o[r],e===t)return!0;if(n=t.isDescendant(e),n)return!0}return!1},t.prototype.isAncestor=function(e){return e.isDescendant(this)},t.prototype.isPreceding=function(e){var t,n;return t=this.treePosition(e),n=this.treePosition(this),-1!==t&&-1!==n&&t<n},t.prototype.isFollowing=function(e){var t,n;return t=this.treePosition(e),n=this.treePosition(this),-1!==t&&-1!==n&&t>n},t.prototype.treePosition=function(e){var t,n;return n=0,t=!1,this.foreachTreeNode(this.document(),(function(r){if(n++,!t&&r===e)return t=!0})),t?n:-1},t.prototype.foreachTreeNode=function(e,t){var n,r,i,o,a;for(e||(e=this.document()),o=e.children,r=0,i=o.length;r<i;r++){if(n=o[r],a=t(n))return a;if(a=this.foreachTreeNode(n,t),a)return a}},t}()}).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(e,t,n){"use strict";(function(){t.exports=function(){function e(e){this.nodes=e}return Object.defineProperty(e.prototype,"length",{get:function(){return this.nodes.length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.item=function(e){return this.nodes[e]||null},e}()}).call(void 0)},{}],275:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}(function(){var n,r,o=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=e("./NodeType"),r=e("./XMLCharacterData"),t.exports=function(e){function t(e,r,i){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing instruction target. "+this.debugInfo());this.type=n.ProcessingInstruction,this.target=this.stringify.insTarget(r),this.name=this.target,i&&(this.value=this.stringify.insValue(i))}return o(t,e),t.prototype.clone=function(){return(0,i["default"])(this)},t.prototype.toString=function(e){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(e))},t.prototype.isEqualNode=function(e){return!!t.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)&&e.target===this.target},t}(r)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}(function(){var n,r,o=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=e("./NodeType"),r=e("./XMLNode"),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing raw text. "+this.debugInfo());this.type=n.Raw,this.value=this.stringify.raw(r)}return o(t,e),t.prototype.clone=function(){return(0,i["default"])(this)},t.prototype.toString=function(e){return this.options.writer.raw(this,this.options.writer.filterOptions(e))},t}(r)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(e,t,n){"use strict";(function(){var n,r,i,o=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=e("./NodeType"),i=e("./XMLWriterBase"),r=e("./WriterState"),t.exports=function(e){function t(e,n){this.stream=e,t.__super__.constructor.call(this,n)}return o(t,e),t.prototype.endline=function(e,n,i){return e.isLastRootNode&&n.state===r.CloseTag?"":t.__super__.endline.call(this,e,n,i)},t.prototype.document=function(e,t){var n,r,i,o,a,s,l,c,u;for(l=e.children,r=i=0,a=l.length;i<a;r=++i)n=l[r],n.isLastRootNode=r===e.children.length-1;for(t=this.filterOptions(t),c=e.children,u=[],o=0,s=c.length;o<s;o++)n=c[o],u.push(this.writeChildNode(n,t,0));return u},t.prototype.attribute=function(e,n,r){return this.stream.write(t.__super__.attribute.call(this,e,n,r))},t.prototype.cdata=function(e,n,r){return this.stream.write(t.__super__.cdata.call(this,e,n,r))},t.prototype.comment=function(e,n,r){return this.stream.write(t.__super__.comment.call(this,e,n,r))},t.prototype.declaration=function(e,n,r){return this.stream.write(t.__super__.declaration.call(this,e,n,r))},t.prototype.docType=function(e,t,n){var i,o,a,s;if(n||(n=0),this.openNode(e,t,n),t.state=r.OpenTag,this.stream.write(this.indent(e,t,n)),this.stream.write("<!DOCTYPE "+e.root().name),e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(e,t,n)),t.state=r.InsideTag,s=e.children,o=0,a=s.length;o<a;o++)i=s[o],this.writeChildNode(i,t,n+1);t.state=r.CloseTag,this.stream.write("]")}return t.state=r.CloseTag,this.stream.write(t.spaceBeforeSlash+">"),this.stream.write(this.endline(e,t,n)),t.state=r.None,this.closeNode(e,t,n)},t.prototype.element=function(e,t,i){var o,s,l,c,u,d,h,f,p;for(h in i||(i=0),this.openNode(e,t,i),t.state=r.OpenTag,this.stream.write(this.indent(e,t,i)+"<"+e.name),f=e.attribs,f)a.call(f,h)&&(o=f[h],this.attribute(o,t,i));if(l=e.children.length,c=0===l?null:e.children[0],0===l||e.children.every((function(e){return(e.type===n.Text||e.type===n.Raw)&&""===e.value})))t.allowEmpty?(this.stream.write(">"),t.state=r.CloseTag,this.stream.write("</"+e.name+">")):(t.state=r.CloseTag,this.stream.write(t.spaceBeforeSlash+"/>"));else if(!t.pretty||1!==l||c.type!==n.Text&&c.type!==n.Raw||null==c.value){for(this.stream.write(">"+this.endline(e,t,i)),t.state=r.InsideTag,p=e.children,u=0,d=p.length;u<d;u++)s=p[u],this.writeChildNode(s,t,i+1);t.state=r.CloseTag,this.stream.write(this.indent(e,t,i)+"</"+e.name+">")}else this.stream.write(">"),t.state=r.InsideTag,t.suppressPrettyCount++,!0,this.writeChildNode(c,t,i+1),t.suppressPrettyCount--,!1,t.state=r.CloseTag,this.stream.write("</"+e.name+">");return this.stream.write(this.endline(e,t,i)),t.state=r.None,this.closeNode(e,t,i)},t.prototype.processingInstruction=function(e,n,r){return this.stream.write(t.__super__.processingInstruction.call(this,e,n,r))},t.prototype.raw=function(e,n,r){return this.stream.write(t.__super__.raw.call(this,e,n,r))},t.prototype.text=function(e,n,r){return this.stream.write(t.__super__.text.call(this,e,n,r))},t.prototype.dtdAttList=function(e,n,r){return this.stream.write(t.__super__.dtdAttList.call(this,e,n,r))},t.prototype.dtdElement=function(e,n,r){return this.stream.write(t.__super__.dtdElement.call(this,e,n,r))},t.prototype.dtdEntity=function(e,n,r){return this.stream.write(t.__super__.dtdEntity.call(this,e,n,r))},t.prototype.dtdNotation=function(e,n,r){return this.stream.write(t.__super__.dtdNotation.call(this,e,n,r))},t}(i)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(e,t,n){"use strict";(function(){var n,r=function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},i={}.hasOwnProperty;n=e("./XMLWriterBase"),t.exports=function(e){function t(e){t.__super__.constructor.call(this,e)}return r(t,e),t.prototype.document=function(e,t){var n,r,i,o,a;for(t=this.filterOptions(t),o="",a=e.children,r=0,i=a.length;r<i;r++)n=a[r],o+=this.writeChildNode(n,t,0);return t.pretty&&o.slice(-t.newline.length)===t.newline&&(o=o.slice(0,-t.newline.length)),o},t}(n)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(e,t,n){"use strict";(function(){var e=function(e,t){return function(){return e.apply(t,arguments)}},n={}.hasOwnProperty;t.exports=function(){function t(t){var r,i,o;for(r in this.assertLegalName=e(this.assertLegalName,this),this.assertLegalChar=e(this.assertLegalChar,this),t||(t={}),this.options=t,this.options.version||(this.options.version="1.0"),i=t.stringify||{},i)n.call(i,r)&&(o=i[r],this[r]=o)}return t.prototype.name=function(e){return this.options.noValidation?e:this.assertLegalName(""+e||"")},t.prototype.text=function(e){return this.options.noValidation?e:this.assertLegalChar(this.textEscape(""+e||""))},t.prototype.cdata=function(e){return this.options.noValidation?e:(e=""+e||"",e=e.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(e))},t.prototype.comment=function(e){if(this.options.noValidation)return e;if(e=""+e||"",e.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},t.prototype.raw=function(e){return this.options.noValidation?e:""+e||""},t.prototype.attValue=function(e){return this.options.noValidation?e:this.assertLegalChar(this.attEscape(e=""+e||""))},t.prototype.insTarget=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},t.prototype.insValue=function(e){if(this.options.noValidation)return e;if(e=""+e||"",e.match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return this.assertLegalChar(e)},t.prototype.xmlVersion=function(e){if(this.options.noValidation)return e;if(e=""+e||"",!e.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},t.prototype.xmlEncoding=function(e){if(this.options.noValidation)return e;if(e=""+e||"",!e.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+e);return this.assertLegalChar(e)},t.prototype.xmlStandalone=function(e){return this.options.noValidation?e:e?"yes":"no"},t.prototype.dtdPubID=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},t.prototype.dtdSysID=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},t.prototype.dtdElementValue=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},t.prototype.dtdAttType=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},t.prototype.dtdAttDefault=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},t.prototype.dtdEntityValue=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},t.prototype.dtdNData=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(e){var t,n;if(this.options.noValidation)return e;if(t="","1.0"===this.options.version){if(t=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,n=e.match(t))throw new Error("Invalid character in string: "+e+" at index "+n.index)}else if("1.1"===this.options.version&&(t=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,n=e.match(t)))throw new Error("Invalid character in string: "+e+" at index "+n.index);return e},t.prototype.assertLegalName=function(e){var t;if(this.options.noValidation)return e;if(this.assertLegalChar(e),t=/^([: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])*$/,!e.match(t))throw new Error("Invalid character in name");return e},t.prototype.textEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},t.prototype.attEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},t}()}).call(void 0)},{}],280:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}(function(){var n,r,o=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=e("./NodeType"),r=e("./XMLCharacterData"),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=n.Text,this.value=this.stringify.text(r)}return o(t,e),Object.defineProperty(t.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(t.prototype,"wholeText",{get:function(){var e,t,n;n="",t=this.previousSibling;while(t)n=t.data+n,t=t.previousSibling;n+=this.data,e=this.nextSibling;while(e)n+=e.data,e=e.nextSibling;return n}}),t.prototype.clone=function(){return(0,i["default"])(this)},t.prototype.toString=function(e){return this.options.writer.text(this,this.options.writer.filterOptions(e))},t.prototype.splitText=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.replaceWholeText=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t}(r)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(e,t,n){"use strict";(function(){var n,r,i,o={}.hasOwnProperty;i=e("./Utility").assign,n=e("./NodeType"),e("./XMLDeclaration"),e("./XMLDocType"),e("./XMLCData"),e("./XMLComment"),e("./XMLElement"),e("./XMLRaw"),e("./XMLText"),e("./XMLProcessingInstruction"),e("./XMLDummy"),e("./XMLDTDAttList"),e("./XMLDTDElement"),e("./XMLDTDEntity"),e("./XMLDTDNotation"),r=e("./WriterState"),t.exports=function(){function e(e){var t,n,r;for(t in e||(e={}),this.options=e,n=e.writer||{},n)o.call(n,t)&&(r=n[t],this["_"+t]=this[t],this[t]=r)}return e.prototype.filterOptions=function(e){var t,n,o,a,s,l,c,u;return e||(e={}),e=i({},this.options,e),t={writer:this},t.pretty=e.pretty||!1,t.allowEmpty=e.allowEmpty||!1,t.indent=null!=(n=e.indent)?n:" ",t.newline=null!=(o=e.newline)?o:"\n",t.offset=null!=(a=e.offset)?a:0,t.dontPrettyTextNodes=null!=(s=null!=(l=e.dontPrettyTextNodes)?l:e.dontprettytextnodes)?s:0,t.spaceBeforeSlash=null!=(c=null!=(u=e.spaceBeforeSlash)?u:e.spacebeforeslash)?c:"",!0===t.spaceBeforeSlash&&(t.spaceBeforeSlash=" "),t.suppressPrettyCount=0,t.user={},t.state=r.None,t},e.prototype.indent=function(e,t,n){var r;return!t.pretty||t.suppressPrettyCount?"":t.pretty&&(r=(n||0)+t.offset+1,r>0)?new Array(r).join(t.indent):""},e.prototype.endline=function(e,t,n){return!t.pretty||t.suppressPrettyCount?"":t.newline},e.prototype.attribute=function(e,t,n){var r;return this.openAttribute(e,t,n),r=" "+e.name+'="'+e.value+'"',this.closeAttribute(e,t,n),r},e.prototype.cdata=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+"<![CDATA[",t.state=r.InsideTag,i+=e.value,t.state=r.CloseTag,i+="]]>"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.comment=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+"\x3c!-- ",t.state=r.InsideTag,i+=e.value,t.state=r.CloseTag,i+=" --\x3e"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.declaration=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+"<?xml",t.state=r.InsideTag,i+=' version="'+e.version+'"',null!=e.encoding&&(i+=' encoding="'+e.encoding+'"'),null!=e.standalone&&(i+=' standalone="'+e.standalone+'"'),t.state=r.CloseTag,i+=t.spaceBeforeSlash+"?>",i+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.docType=function(e,t,n){var i,o,a,s,l;if(n||(n=0),this.openNode(e,t,n),t.state=r.OpenTag,s=this.indent(e,t,n),s+="<!DOCTYPE "+e.root().name,e.pubID&&e.sysID?s+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(s+=' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(s+=" [",s+=this.endline(e,t,n),t.state=r.InsideTag,l=e.children,o=0,a=l.length;o<a;o++)i=l[o],s+=this.writeChildNode(i,t,n+1);t.state=r.CloseTag,s+="]"}return t.state=r.CloseTag,s+=t.spaceBeforeSlash+">",s+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),s},e.prototype.element=function(e,t,i){var a,s,l,c,u,d,h,f,p,A,g,m,v,y;for(p in i||(i=0),A=!1,g="",this.openNode(e,t,i),t.state=r.OpenTag,g+=this.indent(e,t,i)+"<"+e.name,m=e.attribs,m)o.call(m,p)&&(a=m[p],g+=this.attribute(a,t,i));if(l=e.children.length,c=0===l?null:e.children[0],0===l||e.children.every((function(e){return(e.type===n.Text||e.type===n.Raw)&&""===e.value})))t.allowEmpty?(g+=">",t.state=r.CloseTag,g+="</"+e.name+">"+this.endline(e,t,i)):(t.state=r.CloseTag,g+=t.spaceBeforeSlash+"/>"+this.endline(e,t,i));else if(!t.pretty||1!==l||c.type!==n.Text&&c.type!==n.Raw||null==c.value){if(t.dontPrettyTextNodes)for(v=e.children,u=0,h=v.length;u<h;u++)if(s=v[u],(s.type===n.Text||s.type===n.Raw)&&null!=s.value){t.suppressPrettyCount++,A=!0;break}for(g+=">"+this.endline(e,t,i),t.state=r.InsideTag,y=e.children,d=0,f=y.length;d<f;d++)s=y[d],g+=this.writeChildNode(s,t,i+1);t.state=r.CloseTag,g+=this.indent(e,t,i)+"</"+e.name+">",A&&t.suppressPrettyCount--,g+=this.endline(e,t,i),t.state=r.None}else g+=">",t.state=r.InsideTag,t.suppressPrettyCount++,A=!0,g+=this.writeChildNode(c,t,i+1),t.suppressPrettyCount--,A=!1,t.state=r.CloseTag,g+="</"+e.name+">"+this.endline(e,t,i);return this.closeNode(e,t,i),g},e.prototype.writeChildNode=function(e,t,r){switch(e.type){case n.CData:return this.cdata(e,t,r);case n.Comment:return this.comment(e,t,r);case n.Element:return this.element(e,t,r);case n.Raw:return this.raw(e,t,r);case n.Text:return this.text(e,t,r);case n.ProcessingInstruction:return this.processingInstruction(e,t,r);case n.Dummy:return"";case n.Declaration:return this.declaration(e,t,r);case n.DocType:return this.docType(e,t,r);case n.AttributeDeclaration:return this.dtdAttList(e,t,r);case n.ElementDeclaration:return this.dtdElement(e,t,r);case n.EntityDeclaration:return this.dtdEntity(e,t,r);case n.NotationDeclaration:return this.dtdNotation(e,t,r);default:throw new Error("Unknown XML node type: "+e.constructor.name)}},e.prototype.processingInstruction=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+"<?",t.state=r.InsideTag,i+=e.target,e.value&&(i+=" "+e.value),t.state=r.CloseTag,i+=t.spaceBeforeSlash+"?>",i+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.raw=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n),t.state=r.InsideTag,i+=e.value,t.state=r.CloseTag,i+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.text=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n),t.state=r.InsideTag,i+=e.value,t.state=r.CloseTag,i+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.dtdAttList=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+"<!ATTLIST",t.state=r.InsideTag,i+=" "+e.elementName+" "+e.attributeName+" "+e.attributeType,"#DEFAULT"!==e.defaultValueType&&(i+=" "+e.defaultValueType),e.defaultValue&&(i+=' "'+e.defaultValue+'"'),t.state=r.CloseTag,i+=t.spaceBeforeSlash+">"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.dtdElement=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+"<!ELEMENT",t.state=r.InsideTag,i+=" "+e.name+" "+e.value,t.state=r.CloseTag,i+=t.spaceBeforeSlash+">"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.dtdEntity=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+"<!ENTITY",t.state=r.InsideTag,e.pe&&(i+=" %"),i+=" "+e.name,e.value?i+=' "'+e.value+'"':(e.pubID&&e.sysID?i+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(i+=' SYSTEM "'+e.sysID+'"'),e.nData&&(i+=" NDATA "+e.nData)),t.state=r.CloseTag,i+=t.spaceBeforeSlash+">"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.dtdNotation=function(e,t,n){var i;return this.openNode(e,t,n),t.state=r.OpenTag,i=this.indent(e,t,n)+"<!NOTATION",t.state=r.InsideTag,i+=" "+e.name,e.pubID&&e.sysID?i+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.pubID?i+=' PUBLIC "'+e.pubID+'"':e.sysID&&(i+=' SYSTEM "'+e.sysID+'"'),t.state=r.CloseTag,i+=t.spaceBeforeSlash+">"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),i},e.prototype.openNode=function(e,t,n){},e.prototype.closeNode=function(e,t,n){},e.prototype.openAttribute=function(e,t,n){},e.prototype.closeAttribute=function(e,t,n){},e}()}).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(e,t,n){"use strict";(function(){var n,r,i,o,a,s,l,c,u,d;d=e("./Utility"),c=d.assign,u=d.isFunction,i=e("./XMLDOMImplementation"),o=e("./XMLDocument"),a=e("./XMLDocumentCB"),l=e("./XMLStringWriter"),s=e("./XMLStreamWriter"),n=e("./NodeType"),r=e("./WriterState"),t.exports.create=function(e,t,n,r){var i,a;if(null==e)throw new Error("Root element needs a name.");return r=c({},t,n,r),i=new o(r),a=i.element(e),r.headless||(i.declaration(r),null==r.pubID&&null==r.sysID||i.dtd(r)),a},t.exports.begin=function(e,t,n){var r;return u(e)&&(r=[e,t],t=r[0],n=r[1],e={}),t?new a(e,t,n):new o(e)},t.exports.stringWriter=function(e){return new l(e)},t.exports.streamWriter=function(e,t){return new s(e,t)},t.exports.implementation=new i,t.exports.nodeType=n,t.exports.writerState=r}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(e,t,n){t.exports=i;var r=Object.prototype.hasOwnProperty;function i(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var i in n)r.call(n,i)&&(e[i]=n[i])}return e}},{}],284:[function(e,t,n){"use strict";var r=e("buffer").Buffer,i=e("./sha"),o=e("./md5"),a={sha1:i,md5:o},s=64,l=r.alloc(s);function c(e,t,n){r.isBuffer(t)||(t=r.from(t)),r.isBuffer(n)||(n=r.from(n)),t.length>s?t=e(t):t.length<s&&(t=r.concat([t,l],s));for(var i=r.alloc(s),o=r.alloc(s),a=0;a<s;a++)i[a]=54^t[a],o[a]=92^t[a];var c=e(r.concat([i,n]));return e(r.concat([o,c]))}function u(e,t){e=e||"sha1";var n=a[e],i=[];return n||d("algorithm:",e,"is not yet supported"),{update:function(e){return r.isBuffer(e)||(e=r.from(e)),i.push(e),e.length,this},digest:function(e){var o=r.concat(i),a=t?c(n,t,o):n(o);return i=null,e?a.toString(e):a}}}function d(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}l.fill(0),n.createHash=function(e){return u(e)},n.createHmac=function(e,t){return u(e,t)},n.createCredentials=function(){d("sorry,createCredentials is not implemented yet")},n.createCipher=function(){d("sorry,createCipher is not implemented yet")},n.createCipheriv=function(){d("sorry,createCipheriv is not implemented yet")},n.createDecipher=function(){d("sorry,createDecipher is not implemented yet")},n.createDecipheriv=function(){d("sorry,createDecipheriv is not implemented yet")},n.createSign=function(){d("sorry,createSign is not implemented yet")},n.createVerify=function(){d("sorry,createVerify is not implemented yet")},n.createDiffieHellman=function(){d("sorry,createDiffieHellman is not implemented yet")},n.pbkdf2=function(){d("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(e,t,n){"use strict";var r=e("buffer").Buffer,i=4,o=r.alloc(i);o.fill(0);var a=8;function s(e,t){if(e.length%i!==0){var n=e.length+(i-e.length%i);e=r.concat([e,o],n)}for(var a=[],s=t?e.readInt32BE:e.readInt32LE,l=0;l<e.length;l+=i)a.push(s.call(e,l));return a}function l(e,t,n){for(var i=r.alloc(t),o=n?i.writeInt32BE:i.writeInt32LE,a=0;a<e.length;a++)o.call(i,e[a],4*a,!0);return i}function c(e,t,n,i){r.isBuffer(e)||(e=r.from(e));var o=t(s(e,i),e.length*a);return l(o,n,i)}t.exports={hash:c}},{buffer:73}],286:[function(e,t,n){"use strict";var r=e("./helpers");function i(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,d=0;d<e.length;d+=16){var h=n,f=r,p=i,A=o;n=a(n,r,i,o,e[d+0],7,-680876936),o=a(o,n,r,i,e[d+1],12,-389564586),i=a(i,o,n,r,e[d+2],17,606105819),r=a(r,i,o,n,e[d+3],22,-1044525330),n=a(n,r,i,o,e[d+4],7,-176418897),o=a(o,n,r,i,e[d+5],12,1200080426),i=a(i,o,n,r,e[d+6],17,-1473231341),r=a(r,i,o,n,e[d+7],22,-45705983),n=a(n,r,i,o,e[d+8],7,1770035416),o=a(o,n,r,i,e[d+9],12,-1958414417),i=a(i,o,n,r,e[d+10],17,-42063),r=a(r,i,o,n,e[d+11],22,-1990404162),n=a(n,r,i,o,e[d+12],7,1804603682),o=a(o,n,r,i,e[d+13],12,-40341101),i=a(i,o,n,r,e[d+14],17,-1502002290),r=a(r,i,o,n,e[d+15],22,1236535329),n=s(n,r,i,o,e[d+1],5,-165796510),o=s(o,n,r,i,e[d+6],9,-1069501632),i=s(i,o,n,r,e[d+11],14,643717713),r=s(r,i,o,n,e[d+0],20,-373897302),n=s(n,r,i,o,e[d+5],5,-701558691),o=s(o,n,r,i,e[d+10],9,38016083),i=s(i,o,n,r,e[d+15],14,-660478335),r=s(r,i,o,n,e[d+4],20,-405537848),n=s(n,r,i,o,e[d+9],5,568446438),o=s(o,n,r,i,e[d+14],9,-1019803690),i=s(i,o,n,r,e[d+3],14,-187363961),r=s(r,i,o,n,e[d+8],20,1163531501),n=s(n,r,i,o,e[d+13],5,-1444681467),o=s(o,n,r,i,e[d+2],9,-51403784),i=s(i,o,n,r,e[d+7],14,1735328473),r=s(r,i,o,n,e[d+12],20,-1926607734),n=l(n,r,i,o,e[d+5],4,-378558),o=l(o,n,r,i,e[d+8],11,-2022574463),i=l(i,o,n,r,e[d+11],16,1839030562),r=l(r,i,o,n,e[d+14],23,-35309556),n=l(n,r,i,o,e[d+1],4,-1530992060),o=l(o,n,r,i,e[d+4],11,1272893353),i=l(i,o,n,r,e[d+7],16,-155497632),r=l(r,i,o,n,e[d+10],23,-1094730640),n=l(n,r,i,o,e[d+13],4,681279174),o=l(o,n,r,i,e[d+0],11,-358537222),i=l(i,o,n,r,e[d+3],16,-722521979),r=l(r,i,o,n,e[d+6],23,76029189),n=l(n,r,i,o,e[d+9],4,-640364487),o=l(o,n,r,i,e[d+12],11,-421815835),i=l(i,o,n,r,e[d+15],16,530742520),r=l(r,i,o,n,e[d+2],23,-995338651),n=c(n,r,i,o,e[d+0],6,-198630844),o=c(o,n,r,i,e[d+7],10,1126891415),i=c(i,o,n,r,e[d+14],15,-1416354905),r=c(r,i,o,n,e[d+5],21,-57434055),n=c(n,r,i,o,e[d+12],6,1700485571),o=c(o,n,r,i,e[d+3],10,-1894986606),i=c(i,o,n,r,e[d+10],15,-1051523),r=c(r,i,o,n,e[d+1],21,-2054922799),n=c(n,r,i,o,e[d+8],6,1873313359),o=c(o,n,r,i,e[d+15],10,-30611744),i=c(i,o,n,r,e[d+6],15,-1560198380),r=c(r,i,o,n,e[d+13],21,1309151649),n=c(n,r,i,o,e[d+4],6,-145523070),o=c(o,n,r,i,e[d+11],10,-1120210379),i=c(i,o,n,r,e[d+2],15,718787259),r=c(r,i,o,n,e[d+9],21,-343485551),n=u(n,h),r=u(r,f),i=u(i,p),o=u(o,A)}return Array(n,r,i,o)}function o(e,t,n,r,i,o){return u(d(u(u(t,e),u(r,o)),i),n)}function a(e,t,n,r,i,a,s){return o(t&n|~t&r,e,t,i,a,s)}function s(e,t,n,r,i,a,s){return o(t&r|n&~r,e,t,i,a,s)}function l(e,t,n,r,i,a,s){return o(t^n^r,e,t,i,a,s)}function c(e,t,n,r,i,a,s){return o(n^(t|~r),e,t,i,a,s)}function u(e,t){var n=(65535&e)+(65535&t),r=(e>>16)+(t>>16)+(n>>16);return r<<16|65535&n}function d(e,t){return e<<t|e>>>32-t}t.exports=function(e){return r.hash(e,i,16)}},{"./helpers":285}],287:[function(e,t,n){"use strict";var r=e("./helpers");function i(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n=Array(80),r=1732584193,i=-271733879,c=-1732584194,u=271733878,d=-1009589776,h=0;h<e.length;h+=16){for(var f=r,p=i,A=c,g=u,m=d,v=0;v<80;v++){n[v]=v<16?e[h+v]:l(n[v-3]^n[v-8]^n[v-14]^n[v-16],1);var y=s(s(l(r,5),o(v,i,c,u)),s(s(d,n[v]),a(v)));d=u,u=c,c=l(i,30),i=r,r=y}r=s(r,f),i=s(i,p),c=s(c,A),u=s(u,g),d=s(d,m)}return Array(r,i,c,u,d)}function o(e,t,n,r){return e<20?t&n|~t&r:e<40?t^n^r:e<60?t&n|t&r|n&r:t^n^r}function a(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function s(e,t){var n=(65535&e)+(65535&t),r=(e>>16)+(t>>16)+(n>>16);return r<<16|65535&n}function l(e,t){return e<<t|e>>>32-t}t.exports=function(e){return r.hash(e,i,20,!0)}},{"./helpers":285}],288:[function(e,t,n){"use strict";t.exports=function(){return function(){}}},{}],289:[function(e,t,n){(function(n){"use strict";var r=e("babel-runtime/helpers/typeof"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a=e("stream"),s=a.Stream,l=e("../lib/common/utils/isArray"),c=l.isArray;function u(e){return e instanceof s}t.exports.string=function(e){return"string"===typeof e},t.exports.array=c,t.exports.buffer=n.isBuffer,t.exports.writableStream=function(e){return u(e)&&"function"===typeof e._write&&"object"===(0,i["default"])(e._writableState)}}).call(this,{isBuffer:e("../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(e,t,n){"use strict";n.encodeURIComponent=function(e){try{return encodeURIComponent(e)}catch(t){return e}},n.escape=e("escape-html"),n.timestamp=function(e){if(e){var t=e;return"string"===typeof t&&(t=Number(t)),10===String(e).length&&(t*=1e3),new Date(t)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(e,t,n){(function(t,r){"use strict";var i=e("babel-runtime/core-js/json/stringify"),o=l(i),a=e("babel-runtime/helpers/typeof"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var c,u=e("util"),d=e("url"),h=e("http"),f=e("https"),p=e("debug")("urllib"),A=e("humanize-ms"),g=0,m=Math.pow(2,31)-10,v=/^https?:\/\//i;function y(e,t){return void 0===e?t:e}function b(e,t){return function(n,r,i){if(n)return t(n);e({data:r,status:i.statusCode,headers:i.headers,res:i})}}n.TIMEOUTS=[A("300s"),A("300s")];var _=["json","text"];n.request=function(t,r,i){return 2===arguments.length&&"function"===typeof r&&(i=r,r=null),"function"===typeof i?n.requestWithCallback(t,r,i):(c||(c=e("any-promise")),new c((function(e,i){n.requestWithCallback(t,r,b(e,i))})))},n.requestWithCallback=function(i,a,l){if(!i||"string"!==typeof i&&"object"!==("undefined"===typeof i?"undefined":(0,s["default"])(i))){var c=u.format("expect request url to be a string or a http request options, but got %j",i);throw new Error(c)}2===arguments.length&&"function"===typeof a&&(l=a,a=null),a=a||{},g>=m&&(g=0);var b=++g;a.requestUrls=a.requestUrls||[];var w={requestId:b,url:i,args:a,ctx:a.ctx};a.emitter&&a.emitter.emit("request",w),a.timeout=a.timeout||n.TIMEOUTS,a.maxRedirects=a.maxRedirects||10,a.streaming=a.streaming||a.customResponse;var x,C=Date.now();"string"===typeof i?(v.test(i)||(i="http://"+i),x=d.parse(i)):x=i;var S=(a.type||a.method||x.method||"GET").toUpperCase(),k=x.port||80,E=h,O=y(a.agent,n.agent),B=a.fixJSONCtlChars;"https:"===x.protocol&&(E=f,O=y(a.httpsAgent,n.httpsAgent),x.port||(k=443));var M={host:x.hostname||x.host||"localhost",path:x.path||"/",method:S,port:k,agent:O,headers:a.headers||{},lookup:a.lookup};Array.isArray(a.timeout)?M.requestTimeout=a.timeout[a.timeout.length-1]:"undefined"!==typeof a.timeout&&(M.requestTimeout=a.timeout);for(var T=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],I=0;I<T.length;I++){var L=T[I];a.hasOwnProperty(L)&&(M[L]=a[L])}!1!==M.rejectUnauthorized||M.hasOwnProperty("secureOptions")||(M.secureOptions=e("constants").SSL_OP_NO_TLSv1_2);var D=a.auth||x.auth;D&&(M.auth=D);var P=a.content||a.data,N="GET"===S||"HEAD"===S||a.dataAsQueryString;if(!a.content&&P&&"string"!==typeof P&&!r.isBuffer(P))if(N)P=a.nestedQuerystring?qs.stringify(P):querystring.stringify(P);else{var j=M.headers["Content-Type"]||M.headers["content-type"];j||(j="json"===a.contentType?"application/json":"application/x-www-form-urlencoded",M.headers["Content-Type"]=j),P="application/json"===parseContentType(j).type?(0,o["default"])(P):a.nestedQuerystring?qs.stringify(P):querystring.stringify(P)}N&&P&&(M.path+=(x.query?"&":"?")+P,P=null);var F=0;if(P){var R=P.length;r.isBuffer(P)||(R=r.byteLength(P)),F=M.headers["Content-Length"]=R}"json"===a.dataType&&(M.headers.Accept="application/json"),"function"===typeof a.beforeRequest&&a.beforeRequest(M);var U=null,H=null,Q=null,K=!1,z=!1,V=0,W=-1,G=!1,X="",q="",Y=null;function Z(){U&&(clearTimeout(U),U=null)}function J(){H&&(clearTimeout(H),H=null)}function $(e,r,s){if(J(),!l)return console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),b,t.pid,M.method,i),void(e&&console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s: %s\nstack: %s",Date(),b,t.pid,e.name,e.message,e.stack));var c=l;l=null;var u={};if(s&&(W=s.statusCode,u=s.headers),401===W&&u["www-authenticate"]&&(!a.headers||!a.headers.Authorization)&&a.digestAuth){var d=u["www-authenticate"];if(d.indexOf("Digest ")>=0)return p("Request#%d %s: got digest auth header WWW-Authenticate: %s",b,i,d),a.headers=a.headers||{},a.headers.Authorization=digestAuthHeader(M.method,M.path,d,a.digestAuth),p("Request#%d %s: auth with digest header: %s",b,i,a.headers.Authorization),s.headers["set-cookie"]&&(a.headers.Cookie=s.headers["set-cookie"].join(";")),n.requestWithCallback(i,a,c)}var h=Date.now()-C;Y&&(Y.contentDownload=h),p("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",h,V,W,M.method,M.host,M.path,z,Y);var f={status:W,statusCode:W,headers:u,size:V,aborted:G,rt:h,keepAliveSocket:z,data:r,requestUrls:a.requestUrls,timing:Y,remoteAddress:X,remotePort:q};if(e){var A="";O&&"function"===typeof O.getCurrentStatus&&(A=", agent status: "+(0,o["default"])(O.getCurrentStatus())),e.message+=", "+M.method+" "+i+" "+W+" (connected: "+K+", keepalive socket: "+z+A+")\nheaders: "+(0,o["default"])(u),e.data=r,e.path=M.path,e.status=W,e.headers=u,e.res=f}c(e,r,a.streaming?s:f),a.emitter&&(w.url=i,w.socket=ie&&ie.connection,w.options=M,w.size=F,a.emitter.emit("response",{requestId:b,error:e,ctx:a.ctx,req:w,res:f}))}function ee(e){var t=null;if(a.followRedirect&&statuses.redirect[e.statusCode]){a._followRedirectCount=(a._followRedirectCount||0)+1;var r=e.headers.location;if(r){if(!(a._followRedirectCount>a.maxRedirects)){var o=a.formatRedirectUrl?a.formatRedirectUrl(i,r):d.resolve(i,r);p("Request#%d %s: `redirected` from %s to %s",b,M.path,i,o),J(),a.headers&&a.headers.Host&&v.test(r)&&(a.headers.Host=null);var s=l;return l=null,n.requestWithCallback(o,a,s),{redirect:!0,error:null}}t=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+i),t.name="MaxRedirectError"}else t=new Error("Got statusCode "+e.statusCode+" but cannot resolve next location from headers"),t.name="FollowRedirectError"}return{redirect:!1,error:t}}function te(e,t,n){var r=e.headers["content-encoding"];return n(null,t,r)}a.timing&&(Y={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0}),M.headers["User-Agent"]||M.headers["user-agent"]||(M.headers["User-Agent"]=navigator.userAgent),a.gzip&&(M.headers["Accept-Encoding"]||M.headers["accept-encoding"]||(M.headers["Accept-Encoding"]="gzip"));var ne,re,ie,oe=a.writeStream;function ae(e){if(Y&&(Y.waiting=Date.now()-C),p("Request#%d %s `req response` event emit: status %d, headers: %j",b,i,e.statusCode,e.headers),a.streaming){var t=ee(e);return t.redirect?void e.resume():t.error?(e.resume(),$(t.error,null,e)):$(null,null,e)}if(e.on("close",(function(){p("Request#%d %s: `res close` event emit, total size %d",b,i,V)})),e.on("error",(function(){p("Request#%d %s: `res error` event emit, total size %d",b,i,V)})),e.on("aborted",(function(){G=!0,p("Request#%d %s: `res aborted` event emit, total size %d",b,i,V)})),oe){t=ee(e);return t.redirect?void e.resume():t.error?(e.resume(),oe.end(),$(t.error,null,e)):(!1===a.consumeWriteStream?e.on("end",$.bind(null,null,null,e)):isNode010||isNode012?first([[oe,"close"],[e,"aborted"]],(function(t,n,r){p("Request#%d %s: writeStream or res %s event emitted",b,i,r),$(Q||null,null,e)})):oe.on("close",(function(){p("Request#%d %s: writeStream close event emitted",b,i),$(Q||null,null,e)})),e.pipe(oe))}var n=[];e.on("data",(function(e){p("Request#%d %s: `res data` event emit, size %d",b,i,e.length),V+=e.length,n.push(e)})),e.on("end",(function(){var t=r.concat(n,V);if(p("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",b,i,V,e._dumped),Q)return $(Q,t,e);var o=ee(e);if(o.error)return $(o.error,t,e);o.redirect||te(e,t,(function(n,r,o){if(n)return $(n,t,e);if(!o&&_.indexOf(a.dataType)>=0){try{r=decodeBodyByCharset(r,e)}catch(l){return p("decodeBodyByCharset error: %s",l),$(null,r,e)}if("json"===a.dataType)if(0===V)r=null;else{var s=parseJSON(r,B);s.error?n=s.error:r=s.data}}G&&p("Request#%d %s: Remote socket was terminated before `response.end()` was called",b,i),$(n,r,e)}))}))}function se(){p("Connect timer ticking, timeout: %d",ne),U=setTimeout((function(){U=null,-1===W&&(W=-2);var e="Connect timeout for "+ne+"ms",t="ConnectionTimeoutError";ie.socket||(t="SocketAssignTimeoutError",e+=", working sockets is full"),Q=new Error(e),Q.name=t,Q.requestId=b,p("ConnectTimeout: Request#%d %s %s: %s, connected: %s",b,i,Q.name,e,K),ce()}),ne)}function le(){p("Response timer ticking, timeout: %d",re),H=setTimeout((function(){H=null;var e="Response timeout for "+re+"ms",t="ResponseTimeoutError";Q=new Error(e),Q.name=t,Q.requestId=b,p("ResponseTimeout: Request#%d %s %s: %s, connected: %s",b,i,Q.name,e,K),ce()}),re)}p("Request#%d %s %s with headers %j, options.path: %s",b,S,i,M.headers,M.path),a.requestUrls.push(i),Array.isArray(a.timeout)?(ne=A(a.timeout[0]),re=A(a.timeout[1])):ne=re=A(a.timeout),p("ConnectTimeout: %d, ResponseTimeout: %d",ne,re),M.mode=a.mode?a.mode:"";try{ie=E.request(M,ae)}catch(ue){return $(ue)}function ce(){p("Request#%d %s abort, connected: %s",b,i,K),ie.socket||(Q.noSocket=!0,$(Q)),ie.abort()}return"undefined"===typeof window?se():ie.on("requestTimeout",(function(){-1===W&&(W=-2);var e="Connect timeout for "+ne+"ms",t="ConnectionTimeoutError";Q=new Error(e),Q.name=t,Q.requestId=b,ce()})),Y&&ie.on("finish",(function(){Y.requestSent=Date.now()-C})),ie.once("socket",(function(e){Y&&(Y.queuing=Date.now()-C),isNode010&&e.socket&&(e=e.socket);var t=e.readyState;if("opening"===t)return e.once("lookup",(function(e,t,n){p("Request#%d %s lookup: %s, %s, %s",b,i,e,t,n),Y&&(Y.dnslookup=Date.now()-C),t&&(X=t)})),void e.once("connect",(function(){Y&&(Y.connected=Date.now()-C),Z(),le(),p("Request#%d %s new socket connected",b,i),K=!0,X||(X=e.remoteAddress),q=e.remotePort}));p("Request#%d %s reuse socket connected, readyState: %s",b,i,t),K=!0,z=!0,X||(X=e.remoteAddress),q=e.remotePort,Z(),le()})),ie.on("error",(function(e){"Error"!==e.name&&"TypeError"!==e.name||(e.name=K?"ResponseError":"RequestError"),e.message+=' (req "error")',p("Request#%d %s `req error` event emit, %s: %s",b,i,e.name,e.message),$(Q||e)})),oe&&oe.once("error",(function(e){e.message+=' (writeStream "error")',Q=e,p("Request#%d %s `writeStream error` event emit, %s: %s",b,i,e.name,e.message),ce()})),a.stream?(a.stream.pipe(ie),a.stream.once("error",(function(e){e.message+=' (stream "error")',Q=e,p("Request#%d %s `readStream error` event emit, %s: %s",b,i,e.name,e.message),ce()}))):ie.end(P),ie.requestId=b,ie}}).call(this,e("_process"),e("buffer").Buffer)},{_process:208,"any-promise":49,"babel-runtime/core-js/json/stringify":53,"babel-runtime/helpers/typeof":67,buffer:73,constants:75,debug:288,http:231,https:193,"humanize-ms":194,url:238,util:243}]},{},[1])(1)}))}).call(this,__webpack_require__("yLpj"))},n1HI:function(e,t,n){var r=n("hX1E"),i=r.normalizeRadian,o=2*Math.PI;function a(e,t,n,r,a,s,l,c,u){if(0===l)return!1;var d=l;c-=e,u-=t;var h=Math.sqrt(c*c+u*u);if(h-d>n||h+d<n)return!1;if(Math.abs(r-a)%o<1e-4)return!0;if(s){var f=r;r=i(a),a=i(f)}else r=i(r),a=i(a);r>a&&(a+=o);var p=Math.atan2(u,c);return p<0&&(p+=o),p>=r&&p<=a||p+o>=r&&p+o<=a}t.containStroke=a},n4Lv:function(e,t,n){var r=n("7hqr"),i=r.isDimensionStacked,o=n("bYtY"),a=o.map;function s(e,t,n){var r,o=e.getBaseAxis(),s=e.getOtherAxis(o),c=l(s,n),u=o.dim,d=s.dim,h=t.mapDimension(d),f=t.mapDimension(u),p="x"===d||"radius"===d?1:0,A=a(e.dimensions,(function(e){return t.mapDimension(e)})),g=t.getCalculationInfo("stackResultDimension");return(r|=i(t,A[0]))&&(A[0]=g),(r|=i(t,A[1]))&&(A[1]=g),{dataDimsForPoint:A,valueStart:c,valueAxisDim:d,baseAxisDim:u,stacked:!!r,valueDim:h,baseDim:f,baseDataOffset:p,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function l(e,t){var n=0,r=e.scale.getExtent();return"start"===t?n=r[0]:"end"===t?n=r[1]:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}function c(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}t.prepareDataCoordInfo=s,t.getStackedOnPoint=c},n6Mw:function(e,t,n){var r=n("SrGk"),i=n("bYtY"),o=n("Fofx");function a(e,t){r.call(this,e,t,"clipPath","__clippath_in_use__")}i.inherits(a,r),a.prototype.update=function(e){var t=this.getSvgElement(e);t&&this.updateDom(t,e.__clipPaths,!1);var n=this.getTextSvgElement(e);n&&this.updateDom(n,e.__clipPaths,!0),this.markUsed(e)},a.prototype.updateDom=function(e,t,n){if(t&&t.length>0){var r,i,a=this.getDefs(!0),s=t[0],l=n?"_textDom":"_dom";s[l]?(i=s[l].getAttribute("id"),r=s[l],a.contains(r)||a.appendChild(r)):(i="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,r=this.createElement("clipPath"),r.setAttribute("id",i),a.appendChild(r),s[l]=r);var c=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var u=Array.prototype.slice.call(s.transform);o.mul(s.transform,s.parent.invTransform,s.transform),c.brush(s),s.transform=u}else c.brush(s);var d=this.getSvgElement(s);r.innerHTML="",r.appendChild(d.cloneNode()),e.setAttribute("clip-path","url(#"+i+")"),t.length>1&&this.updateDom(r,t.slice(1),n)}else e&&e.setAttribute("clip-path","none")},a.prototype.markUsed=function(e){var t=this;e.__clipPaths&&i.each(e.__clipPaths,(function(e){e._dom&&r.prototype.markUsed.call(t,e._dom),e._textDom&&r.prototype.markUsed.call(t,e._textDom)}))};var s=a;e.exports=s},nCxF:function(e,t,n){var r=n("QBsz"),i=r.min,o=r.max,a=r.scale,s=r.distance,l=r.add,c=r.clone,u=r.sub;function d(e,t,n,r){var d,h,f,p,A=[],g=[],m=[],v=[];if(r){f=[1/0,1/0],p=[-1/0,-1/0];for(var y=0,b=e.length;y<b;y++)i(f,f,e[y]),o(p,p,e[y]);i(f,f,r[0]),o(p,p,r[1])}for(y=0,b=e.length;y<b;y++){var _=e[y];if(n)d=e[y?y-1:b-1],h=e[(y+1)%b];else{if(0===y||y===b-1){A.push(c(e[y]));continue}d=e[y-1],h=e[y+1]}u(g,h,d),a(g,g,t);var w=s(_,d),x=s(_,h),C=w+x;0!==C&&(w/=C,x/=C),a(m,g,-w),a(v,g,x);var S=l([],_,m),k=l([],_,v);r&&(o(S,S,f),i(S,S,p),o(k,k,f),i(k,k,p)),A.push(S),A.push(k)}return n&&A.push(A.shift()),A}e.exports=d},nKiI:function(e,t,n){var r=n("bYtY"),i=n("mFDi"),o=n("OELB"),a=o.parsePercent,s=o.MAX_SAFE_INTEGER,l=n("+TT/"),c=n("VaxA"),u=Math.max,d=Math.min,h=r.retrieve,f=r.each,p=["itemStyle","borderWidth"],A=["itemStyle","gapWidth"],g=["upperLabel","show"],m=["upperLabel","height"],v={seriesType:"treemap",reset:function(e,t,n,o){var s=n.getWidth(),u=n.getHeight(),d=e.option,p=l.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),A=d.size||[],g=a(h(p.width,A[0]),s),m=a(h(p.height,A[1]),u),v=o&&o.type,b=["treemapZoomToNode","treemapRootToNode"],_=c.retrieveTargetInfo(o,b,e),w="treemapRender"===v||"treemapMove"===v?o.rootRect:null,x=e.getViewRoot(),C=c.getPathToRoot(x);if("treemapMove"!==v){var S="treemapZoomToNode"===v?k(e,_,x,g,m):w?[w.width,w.height]:[g,m],B=d.sort;B&&"asc"!==B&&"desc"!==B&&(B="desc");var M={squareRatio:d.squareRatio,sort:B,leafDepth:d.leafDepth};x.hostTree.clearLayouts();var T={x:0,y:0,width:S[0],height:S[1],area:S[0]*S[1]};x.setLayout(T),y(x,M,!1,0);T=x.getLayout();f(C,(function(e,t){var n=(C[t+1]||x).getValue();e.setLayout(r.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},T))}))}var I=e.getData().tree.root;I.setLayout(E(p,w,_),!0),e.setLayoutInfo(p),O(I,new i(-p.x,-p.y,s,u),C,x,0)}};function y(e,t,n,r){var i,o;if(!e.isRemoved()){var a=e.getLayout();i=a.width,o=a.height;var s=e.getModel(),l=s.get(p),c=s.get(A)/2,h=B(s),f=Math.max(l,h),g=l-c,m=f-c;s=e.getModel();e.setLayout({borderWidth:l,upperHeight:f,upperLabelHeight:h},!0),i=u(i-2*g,0),o=u(o-g-m,0);var v=i*o,_=b(e,s,v,t,n,r);if(_.length){var w={x:g,y:m,width:i,height:o},x=d(i,o),k=1/0,E=[];E.area=0;for(var O=0,M=_.length;O<M;){var T=_[O];E.push(T),E.area+=T.getLayout().area;var I=C(E,x,t.squareRatio);I<=k?(O++,k=I):(E.area-=E.pop().getLayout().area,S(E,x,w,c,!1),x=d(w.width,w.height),E.length=E.area=0,k=1/0)}if(E.length&&S(E,x,w,c,!0),!n){var L=s.get("childrenVisibleMin");null!=L&&v<L&&(n=!0)}for(O=0,M=_.length;O<M;O++)y(_[O],t,n,r+1)}}}function b(e,t,n,i,o,a){var s=e.children||[],l=i.sort;"asc"!==l&&"desc"!==l&&(l=null);var c=null!=i.leafDepth&&i.leafDepth<=a;if(o&&!c)return e.viewChildren=[];s=r.filter(s,(function(e){return!e.isRemoved()})),w(s,l);var u=x(t,s,l);if(0===u.sum)return e.viewChildren=[];if(u.sum=_(t,n,u.sum,l,s),0===u.sum)return e.viewChildren=[];for(var d=0,h=s.length;d<h;d++){var f=s[d].getValue()/u.sum*n;s[d].setLayout({area:f})}return c&&(s.length&&e.setLayout({isLeafRoot:!0},!0),s.length=0),e.viewChildren=s,e.setLayout({dataExtent:u.dataExtent},!0),s}function _(e,t,n,r,i){if(!r)return n;for(var o=e.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var c=i["asc"===r?a-l-1:l].getValue();c/n*t<o&&(s=l,n-=c)}return"asc"===r?i.splice(0,a-s):i.splice(s,a-s),n}function w(e,t){return t&&e.sort((function(e,n){var r="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===r?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:r})),e}function x(e,t,n){for(var r=0,i=0,o=t.length;i<o;i++)r+=t[i].getValue();var a=e.get("visualDimension");if(t&&t.length)if("value"===a&&n)s=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&s.reverse();else{var s=[1/0,-1/0];f(t,(function(e){var t=e.getValue(a);t<s[0]&&(s[0]=t),t>s[1]&&(s[1]=t)}))}else s=[NaN,NaN];return{sum:r,dataExtent:s}}function C(e,t,n){for(var r,i=0,o=1/0,a=0,s=e.length;a<s;a++)r=e[a].getLayout().area,r&&(r<o&&(o=r),r>i&&(i=r));var l=e.area*e.area,c=t*t*n;return l?u(c*i/l,l/(c*o)):1/0}function S(e,t,n,r,i){var o=t===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],c=n[s[o]],h=t?e.area/t:0;(i||h>n[l[a]])&&(h=n[l[a]]);for(var f=0,p=e.length;f<p;f++){var A=e[f],g={},m=h?A.getLayout().area/h:0,v=g[l[a]]=u(h-2*r,0),y=n[s[o]]+n[l[o]]-c,b=f===p-1||y<m?y:m,_=g[l[o]]=u(b-2*r,0);g[s[a]]=n[s[a]]+d(r,v/2),g[s[o]]=c+d(r,_/2),c+=b,A.setLayout(g,!0)}n[s[a]]+=h,n[l[a]]-=h}function k(e,t,n,r,i){var o,a=(t||{}).node,l=[r,i];if(!a||a===n)return l;var c=r*i,u=c*e.option.zoomToNodeRatio;while(o=a.parentNode){for(var d=0,h=o.children,f=0,A=h.length;f<A;f++)d+=h[f].getValue();var g=a.getValue();if(0===g)return l;u*=d/g;var m=o.getModel(),v=m.get(p),y=Math.max(v,B(m,v));u+=4*v*v+(3*v+y)*Math.pow(u,.5),u>s&&(u=s),a=o}u<c&&(u=c);var b=Math.pow(u/c,.5);return[r*b,i*b]}function E(e,t,n){if(t)return{x:t.x,y:t.y};var r={x:0,y:0};if(!n)return r;var i=n.node,o=i.getLayout();if(!o)return r;var a=[o.width/2,o.height/2],s=i;while(s){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}function O(e,t,n,r,o){var a=e.getLayout(),s=n[o],l=s&&s===e;if(!(s&&!l||o===n.length&&e!==r)){e.setLayout({isInView:!0,invisible:!l&&!t.intersect(a),isAboveViewRoot:l},!0);var c=new i(t.x-a.x,t.y-a.y,t.width,t.height);f(e.viewChildren||[],(function(e){O(e,c,n,r,o+1)}))}}function B(e){return e.get(g)?e.get(m):0}e.exports=v},nPnh:function(e,t){var n=Math.round;function r(e,t,r){if(t){var i=t.x1,a=t.x2,s=t.y1,l=t.y2;e.x1=i,e.x2=a,e.y1=s,e.y2=l;var c=r&&r.lineWidth;c&&(n(2*i)===n(2*a)&&(e.x1=e.x2=o(i,c,!0)),n(2*s)===n(2*l)&&(e.y1=e.y2=o(s,c,!0)))}}function i(e,t,n){if(t){var r=t.x,i=t.y,a=t.width,s=t.height;e.x=r,e.y=i,e.width=a,e.height=s;var l=n&&n.lineWidth;l&&(e.x=o(r,l,!0),e.y=o(i,l,!0),e.width=Math.max(o(r+a,l,!1)-e.x,0===a?0:1),e.height=Math.max(o(i+s,l,!1)-e.y,0===s?0:1))}}function o(e,t,r){if(!t)return e;var i=n(2*e);return(i+n(t))%2===0?i/2:(i+(r?1:-1))/2}t.subPixelOptimizeLine=r,t.subPixelOptimizeRect=i,t.subPixelOptimize=o},nRaC:function(e,t,n){"use strict";n("cIOH"),n("0fbx"),n("OaEy"),n("R9oj")},nVfU:function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=i.parsePercent,a=n("7hqr"),s=a.isDimensionStacked,l=n("zM3Q"),c="__ec_stack_",u=.5,d="undefined"!==typeof Float32Array?Float32Array:Array;function h(e){return e.get("stack")||c+e.seriesIndex}function f(e){return e.dim+e.index}function p(e){var t=[],n=e.axis,i="axis0";if("category"===n.type){for(var o=n.getBandWidth(),a=0;a<e.count;a++)t.push(r.defaults({bandWidth:o,axisKey:i,stackId:c+a},e));var s=v(t),l=[];for(a=0;a<e.count;a++){var u=s[i][c+a];u.offsetCenter=u.offset+u.width/2,l.push(u)}return l}}function A(e,t){var n=[];return t.eachSeriesByType(e,(function(e){w(e)&&!x(e)&&n.push(e)})),n}function g(e){var t={};r.each(e,(function(e){var n=e.coordinateSystem,r=n.getBaseAxis();if("time"===r.type||"value"===r.type)for(var i=e.getData(),o=r.dim+"_"+r.index,a=i.mapDimension(r.dim),s=0,l=i.count();s<l;++s){var c=i.get(a,s);t[o]?t[o].push(c):t[o]=[c]}}));var n=[];for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];if(o){o.sort((function(e,t){return e-t}));for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[i]=a}}return n}function m(e){var t=g(e),n=[];return r.each(e,(function(e){var r,i=e.coordinateSystem,a=i.getBaseAxis(),s=a.getExtent();if("category"===a.type)r=a.getBandWidth();else if("value"===a.type||"time"===a.type){var l=a.dim+"_"+a.index,c=t[l],u=Math.abs(s[1]-s[0]),d=a.scale.getExtent(),p=Math.abs(d[1]-d[0]);r=c?u/p*c:u}else{var A=e.getData();r=Math.abs(s[1]-s[0])/A.count()}var g=o(e.get("barWidth"),r),m=o(e.get("barMaxWidth"),r),v=o(e.get("barMinWidth")||1,r),y=e.get("barGap"),b=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:g,barMaxWidth:m,barMinWidth:v,barGap:y,barCategoryGap:b,axisKey:f(a),stackId:h(e)})})),v(n)}function v(e){var t={};r.each(e,(function(e,n){var r=e.axisKey,i=e.bandWidth,o=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=o.stacks;t[r]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var c=e.barMaxWidth;c&&(a[s].maxWidth=c);var u=e.barMinWidth;u&&(a[s].minWidth=u);var d=e.barGap;null!=d&&(o.gap=d);var h=e.barCategoryGap;null!=h&&(o.categoryGap=h)}));var n={};return r.each(t,(function(e,t){n[t]={};var i=e.stacks,a=e.bandWidth,s=o(e.categoryGap,a),l=o(e.gap,1),c=e.remainedWidth,u=e.autoWidthCount,d=(c-s)/(u+(u-1)*l);d=Math.max(d,0),r.each(i,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){r=e.width;t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,c-=r+l*r,u--}else{var r=d;t&&t<r&&(r=Math.min(t,c)),n&&n>r&&(r=n),r!==d&&(e.width=r,c-=r+l*r,u--)}})),d=(c-s)/(u+(u-1)*l),d=Math.max(d,0);var h,f=0;r.each(i,(function(e,t){e.width||(e.width=d),h=e,f+=e.width*(1+l)})),h&&(f-=h.width*l);var p=-f/2;r.each(i,(function(e,r){n[t][r]=n[t][r]||{bandWidth:a,offset:p,width:e.width},p+=e.width*(1+l)}))})),n}function y(e,t,n){if(e&&t){var r=e[f(t)];return null!=r&&null!=n&&(r=r[h(n)]),r}}function b(e,t){var n=A(e,t),i=m(n),o={},a={};r.each(n,(function(e){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),l=h(e),c=i[f(r)][l],u=c.offset,d=c.width,p=n.getOtherAxis(r),A=e.get("barMinHeight")||0;o[l]=o[l]||[],a[l]=a[l]||[],t.setLayout({bandWidth:c.bandWidth,offset:u,size:d});for(var g=t.mapDimension(p.dim),m=t.mapDimension(r.dim),v=s(t,g),y=p.isHorizontal(),b=C(r,p,v),_=0,w=t.count();_<w;_++){var x,S,k,E,O=t.get(g,_),B=t.get(m,_),M=O>=0?"p":"n",T=b;if(v&&(o[l][B]||(o[l][B]={p:b,n:b}),T=o[l][B][M]),y){var I=n.dataToPoint([O,B]);x=T,S=I[1]+u,k=I[0]-b,E=d,Math.abs(k)<A&&(k=(k<0?-1:1)*A),isNaN(k)||v&&(o[l][B][M]+=k)}else{I=n.dataToPoint([B,O]);x=I[0]+u,S=T,k=d,E=I[1]-b,Math.abs(E)<A&&(E=(E<=0?-1:1)*A),isNaN(E)||v&&(o[l][B][M]+=E)}t.setItemLayout(_,{x:x,y:S,width:k,height:E})}}),this)}var _={seriesType:"bar",plan:l(),reset:function(e){if(w(e)&&x(e)){var t=e.getData(),n=e.coordinateSystem,r=n.grid.getRect(),i=n.getBaseAxis(),o=n.getOtherAxis(i),a=t.mapDimension(o.dim),s=t.mapDimension(i.dim),l=o.isHorizontal(),c=l?0:1,h=y(m([e]),i,e).width;return h>u||(h=u),{progress:f}}function f(e,t){var u,f=e.count,p=new d(2*f),A=new d(2*f),g=new d(f),m=[],v=[],y=0,b=0;while(null!=(u=e.next()))v[c]=t.get(a,u),v[1-c]=t.get(s,u),m=n.dataToPoint(v,null,m),A[y]=l?r.x+r.width:m[0],p[y++]=m[0],A[y]=l?m[1]:r.y+r.height,p[y++]=m[1],g[b++]=u;t.setLayout({largePoints:p,largeDataIndices:g,largeBackgroundPoints:A,barWidth:h,valueAxisStart:C(i,o,!1),backgroundStart:l?r.x:r.y,valueAxisHorizontal:l})}}};function w(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function x(e){return e.pipelineContext&&e.pipelineContext.large}function C(e,t,n){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}t.getLayoutOnAxis=p,t.prepareLayoutBarSeries=A,t.makeColumnLayout=m,t.retrieveColumnLayout=y,t.layout=b,t.largeLayout=_},ngQI:function(e,t,n){"use strict";n.d(t,"a",(function(){return ma})),n.d(t,"b",(function(){return xs})),n.d(t,"c",(function(){return Ts}));var r=n("q1tI"),i=n.n(r),o=n("dI71"),a=n("wx14"),s=n("ANjH"),l=n("/MKj");function c(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function u(e,t){var n=Object(r["useState"])((function(){return{inputs:t,result:e()}}))[0],i=Object(r["useRef"])(!0),o=Object(r["useRef"])(n),a=i.current||Boolean(t&&o.current.inputs&&c(t,o.current.inputs)),s=a?o.current:{inputs:t,result:e()};return Object(r["useEffect"])((function(){i.current=!1,o.current=s}),[s]),s.result}function d(e,t){return u((function(){return e}),t)}var h=u,f=d,p=n("9R94"),A=function(e){var t=e.top,n=e.right,r=e.bottom,i=e.left,o=n-i,a=r-t,s={top:t,right:n,bottom:r,left:i,width:o,height:a,x:i,y:t,center:{x:(n+i)/2,y:(r+t)/2}};return s},g=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},m=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},v=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},y={top:0,right:0,bottom:0,left:0},b=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?y:n,i=e.border,o=void 0===i?y:i,a=e.padding,s=void 0===a?y:a,l=A(g(t,r)),c=A(m(t,o)),u=A(m(c,s));return{marginBox:l,borderBox:A(t),paddingBox:c,contentBox:u,margin:r,border:o,padding:s}},_=function(e){var t=e.slice(0,-2),n=e.slice(-2);if("px"!==n)return 0;var r=Number(t);return isNaN(r)&&Object(p["a"])(!1),r},w=function(){return{x:window.pageXOffset,y:window.pageYOffset}},x=function(e,t){var n=e.borderBox,r=e.border,i=e.margin,o=e.padding,a=v(n,t);return b({borderBox:a,border:r,margin:i,padding:o})},C=function(e,t){return void 0===t&&(t=w()),x(e,t)},S=function(e,t){var n={top:_(t.marginTop),right:_(t.marginRight),bottom:_(t.marginBottom),left:_(t.marginLeft)},r={top:_(t.paddingTop),right:_(t.paddingRight),bottom:_(t.paddingBottom),left:_(t.paddingLeft)},i={top:_(t.borderTopWidth),right:_(t.borderRightWidth),bottom:_(t.borderBottomWidth),left:_(t.borderLeftWidth)};return b({borderBox:e,margin:n,padding:r,border:i})},k=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return S(t,n)},E=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function O(e,t){return e===t||!(!E(e)||!E(t))}function B(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!O(e[n],t[n]))return!1;return!0}function M(e,t){var n;void 0===t&&(t=B);var r,i=[],o=!1;function a(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&n===this&&t(a,i)||(r=e.apply(this,a),o=!0,n=this,i=a),r}return a}var T=M,I=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];t=i,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r},L=I,D=n("i8i4"),P=n.n(D),N=!0,j=/[ \t]{2,}/g,F=/^[ \t]*/gm,R=function(e){return e.replace(j," ").replace(F,"").trim()},U=function(e){return R("\n %creact-beautiful-dnd\n\n %c"+R(e)+"\n\n %c\ud83d\udc77\u200d This is a development only message. It will be removed in production builds.\n")},H=function(e){return[U(e),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},Q="__react-beautiful-dnd-disable-dev-warnings";function K(e,t){var n;N||"undefined"!==typeof window&&window[Q]||(n=console)[e].apply(n,H(t))}K.bind(null,"warn");var z=K.bind(null,"error");function V(){}function W(e,t){return Object(a["a"])({},e,{},t)}function G(e,t,n){var r=t.map((function(t){var r=W(n,t.options);return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}}));return function(){r.forEach((function(e){e()}))}}var X=!0,q="Invariant failed";function Y(e){this.message=e}function Z(e,t){if(!e)throw new Y(X?q:q+": "+(t||""))}Y.prototype.toString=function(){return this.message};var J=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r))||this,t.callbacks=null,t.unbind=V,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort();var r=e.error;r instanceof Y&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}Object(o["a"])(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=G(window,[{eventName:"error",fn:this.onWindowError}])},n.componentWillUnmount=function(){this.unbind()},n.componentDidCatch=function(e){if(!(e instanceof Y))throw e;this.setState({})},n.render=function(){return this.props.children(this.setCallbacks)},t}(i.a.Component),$="\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",ee=function(e){return e+1},te=function(e){return"\n You have lifted an item in position "+ee(e.source.index)+"\n"},ne=function(e,t){var n=e.droppableId===t.droppableId,r=ee(e.index),i=ee(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+i+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+i+"\n "},re=function(e,t,n){var r=t.droppableId===n.droppableId;return r?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},ie=function(e){var t=e.destination;if(t)return ne(e.source,t);var n=e.combine;return n?re(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},oe=function(e){return"\n The item has returned to its starting position\n of "+ee(e.index)+"\n"},ae=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+oe(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+ne(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+re(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+oe(e.source)+"\n "},se={dragHandleUsageInstructions:$,onDragStart:te,onDragUpdate:ie,onDragEnd:ae},le={x:0,y:0},ce=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},ue=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},de=function(e,t){return e.x===t.x&&e.y===t.y},he=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},fe=function(e,t,n){var r;return void 0===n&&(n=0),r={},r[e]=t,r["x"===e?"y":"x"]=n,r},pe=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Ae=function(e,t){return Math.min.apply(Math,t.map((function(t){return pe(e,t)})))},ge=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},me=function(e,t){var n=A({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n},ve=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},ye=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},be={top:0,right:0,bottom:0,left:0},_e=function(e,t){return t?ve(e,t.scroll.diff.displacement):e},we=function(e,t,n){var r;return n&&n.increasedBy?Object(a["a"])({},e,(r={},r[t.end]=e[t.end]+n.increasedBy[t.line],r)):e},xe=function(e,t){return t&&t.shouldClipSubject?me(t.pageMarginBox,e):A(e)},Ce=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,i=e.frame,o=_e(t.marginBox,i),a=we(o,r,n),s=xe(a,i);return{page:t,withPlaceholder:n,active:s}},Se=function(e,t){e.frame||Z(!1);var n=e.frame,r=ue(t,n.scroll.initial),i=he(r),o=Object(a["a"])({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:i},max:n.scroll.max}}),s=Ce({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o}),l=Object(a["a"])({},e,{frame:o,subject:s});return l};function ke(e){return Number.isInteger?Number.isInteger(e):"number"===typeof e&&isFinite(e)&&Math.floor(e)===e}function Ee(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function Oe(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function Be(e,t){if(e.find)return e.find(t);var n=Oe(e,t);return-1!==n?e[n]:void 0}function Me(e){return Array.prototype.slice.call(e)}var Te=T((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),Ie=T((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),Le=T((function(e){return Ee(e)})),De=T((function(e){return Ee(e)})),Pe=T((function(e,t){var n=De(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}));return n}));function Ne(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function je(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var Fe=T((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),Re=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.insideDestination,o=e.previousImpact;if(!r.isCombineEnabled)return null;var s=Ne(o);if(!s)return null;function l(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return Object(a["a"])({},o,{at:t})}var c=o.displaced.all,u=c.length?c[0]:null;if(t)return u?l(u):null;var d=Fe(n,i);if(!u){if(!d.length)return null;var h=d[d.length-1];return l(h.descriptor.id)}var f=Oe(d,(function(e){return e.descriptor.id===u}));-1===f&&Z(!1);var p=f-1;if(p<0)return null;var A=d[p];return l(A.descriptor.id)},Ue=function(e,t){return e.descriptor.droppableId===t.descriptor.id},He={point:le,value:0},Qe={invisible:{},visible:{},all:[]},Ke={displaced:Qe,displacedBy:He,at:null},ze=function(e,t){return function(n){return e<=n&&n<=t}},Ve=function(e){var t=ze(e.top,e.bottom),n=ze(e.left,e.right);return function(r){var i=t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right);if(i)return!0;var o=t(r.top)||t(r.bottom),a=n(r.left)||n(r.right),s=o&&a;if(s)return!0;var l=r.top<e.top&&r.bottom>e.bottom,c=r.left<e.left&&r.right>e.right,u=l&&c;if(u)return!0;var d=l&&a||c&&o;return d}},We=function(e){var t=ze(e.top,e.bottom),n=ze(e.left,e.right);return function(e){var r=t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right);return r}},Ge={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Xe={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},qe=function(e){return function(t){var n=ze(t.top,t.bottom),r=ze(t.left,t.right);return function(t){return e===Ge?n(t.top)&&n(t.bottom):r(t.left)&&r(t.right)}}},Ye=function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:le;return ve(e,n)},Ze=function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)},Je=function(e,t,n){return n(t)(e)},$e=function(e){var t=e.target,n=e.destination,r=e.viewport,i=e.withDroppableDisplacement,o=e.isVisibleThroughFrameFn,a=i?Ye(t,n):t;return Ze(a,n,o)&&Je(a,r,o)},et=function(e){return $e(Object(a["a"])({},e,{isVisibleThroughFrameFn:Ve}))},tt=function(e){return $e(Object(a["a"])({},e,{isVisibleThroughFrameFn:We}))},nt=function(e){return $e(Object(a["a"])({},e,{isVisibleThroughFrameFn:qe(e.destination.axis)}))},rt=function(e,t,n){if("boolean"===typeof n)return n;if(!t)return!0;var r=t.invisible,i=t.visible;if(r[e])return!1;var o=i[e];return!o||o.shouldAnimate};function it(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return A(g(n,r))}function ot(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var s=it(t,r),l=t.descriptor.id;e.all.push(l);var c=et({target:s,destination:n,viewport:i,withDroppableDisplacement:!0});if(!c)return e.invisible[t.descriptor.id]=!0,e;var u=rt(l,a,o),d={draggableId:l,shouldAnimate:u};return e.visible[l]=d,e}),{all:[],visible:{},invisible:{}})}function at(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}function st(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,i=e.destination,o=at(t,{inHomeList:n});return{displaced:Qe,displacedBy:r,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function lt(e){var t=e.draggable,n=e.insideDestination,r=e.destination,i=e.viewport,o=e.displacedBy,a=e.last,s=e.index,l=e.forceShouldAnimate,c=Ue(t,r);if(null==s)return st({insideDestination:n,inHomeList:c,displacedBy:o,destination:r});var u=Be(n,(function(e){return e.descriptor.index===s}));if(!u)return st({insideDestination:n,inHomeList:c,displacedBy:o,destination:r});var d=Fe(t,n),h=n.indexOf(u),f=d.slice(h),p=ot({afterDragging:f,destination:r,displacedBy:o,last:a,viewport:i.frame,forceShouldAnimate:l});return{displaced:p,displacedBy:o,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:s}}}}function ct(e,t){return Boolean(t.effected[e])}var ut=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,i=e.combine,o=e.afterCritical;if(!n.isCombineEnabled)return null;var a=i.draggableId,s=r[a],l=s.descriptor.index,c=ct(a,o);return c?t?l:l-1:t?l+1:l},dt=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,i=e.location;if(!r.length)return null;var o=i.index,a=t?o+1:o-1,s=r[0].descriptor.index,l=r[r.length-1].descriptor.index,c=n?l:l+1;return a<s||a>c?null:a},ht=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,i=e.draggables,o=e.destination,a=e.insideDestination,s=e.previousImpact,l=e.viewport,c=e.afterCritical,u=s.at;if(u||Z(!1),"REORDER"===u.type){var d=dt({isMovingForward:t,isInHomeList:n,location:u.destination,insideDestination:a});return null==d?null:lt({draggable:r,insideDestination:a,destination:o,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:d})}var h=ut({isMovingForward:t,destination:o,displaced:s.displaced,draggables:i,combine:u.combine,afterCritical:c});return null==h?null:lt({draggable:r,insideDestination:a,destination:o,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:h})},ft=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,i=e.displacedBy,o=Boolean(t.visible[r]||t.invisible[r]);return ct(r,n)?o?le:he(i.point):o?i.point:le},pt=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,i=je(n);i||Z(!1);var o=i.draggableId,a=r[o].page.borderBox.center,s=ft({displaced:n.displaced,afterCritical:t,combineWith:o,displacedBy:n.displacedBy});return ce(a,s)},At=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},gt=function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2},mt=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},vt=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return fe(t.line,n.marginBox[t.end]+At(t,r),mt(t,n.marginBox,r))},yt=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return fe(t.line,n.marginBox[t.start]-gt(t,r),mt(t,n.marginBox,r))},bt=function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return fe(t.line,n.contentBox[t.start]+At(t,r),mt(t,n.contentBox,r))},_t=function(e){var t=e.impact,n=e.draggable,r=e.draggables,i=e.droppable,o=e.afterCritical,a=Pe(i.descriptor.id,r),s=n.page,l=i.axis;if(!a.length)return bt({axis:l,moveInto:i.page,isMoving:s});var c=t.displaced,u=t.displacedBy,d=c.all[0];if(d){var h=r[d];if(ct(d,o))return yt({axis:l,moveRelativeTo:h.page,isMoving:s});var f=x(h.page,u.point);return yt({axis:l,moveRelativeTo:f,isMoving:s})}var p=a[a.length-1];if(p.descriptor.id===n.descriptor.id)return s.borderBox.center;if(ct(p.descriptor.id,o)){var A=x(p.page,he(o.displacedBy.point));return vt({axis:l,moveRelativeTo:A,isMoving:s})}return vt({axis:l,moveRelativeTo:p.page,isMoving:s})},wt=function(e,t){var n=e.frame;return n?ce(t,n.scroll.diff.displacement):t},xt=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,o=e.afterCritical,a=n.page.borderBox.center,s=t.at;return r&&s?"REORDER"===s.type?_t({impact:t,draggable:n,draggables:i,droppable:r,afterCritical:o}):pt({impact:t,draggables:i,afterCritical:o}):a},Ct=function(e){var t=xt(e),n=e.droppable,r=n?wt(n,t):t;return r},St=function(e,t){var n=ue(t,e.scroll.initial),r=he(n),i=A({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),o={frame:i,scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}};return o};function kt(e,t){return e.map((function(e){return t[e]}))}function Et(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}var Ot=function(e){var t=e.impact,n=e.viewport,r=e.destination,i=e.draggables,o=e.maxScrollChange,s=St(n,ce(n.scroll.current,o)),l=r.frame?Se(r,ce(r.frame.scroll.current,o)):r,c=t.displaced,u=ot({afterDragging:kt(c.all,i),destination:r,displacedBy:t.displacedBy,viewport:s.frame,last:c,forceShouldAnimate:!1}),d=ot({afterDragging:kt(c.all,i),destination:l,displacedBy:t.displacedBy,viewport:n.frame,last:c,forceShouldAnimate:!1}),h={},f={},p=[c,u,d];c.all.forEach((function(e){var t=Et(e,p);t?f[e]=t:h[e]=!0}));var A=Object(a["a"])({},t,{displaced:{all:c.all,invisible:h,visible:f}});return A},Bt=function(e,t){return ce(e.scroll.diff.displacement,t)},Mt=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=e.viewport,i=Bt(r,t),o=ue(i,n.page.borderBox.center);return ce(n.client.borderBox.center,o)},Tt=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,a=e.onlyOnMainAxis,s=void 0!==a&&a,l=ue(r,t.page.borderBox.center),c=ve(t.page.borderBox,l),u={target:c,destination:n,withDroppableDisplacement:o,viewport:i};return s?nt(u):tt(u)},It=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.draggables,o=e.previousImpact,a=e.viewport,s=e.previousPageBorderBoxCenter,l=e.previousClientSelection,c=e.afterCritical;if(!r.isEnabled)return null;var u=Pe(r.descriptor.id,i),d=Ue(n,r),h=Re({isMovingForward:t,draggable:n,destination:r,insideDestination:u,previousImpact:o})||ht({isMovingForward:t,isInHomeList:d,draggable:n,draggables:i,destination:r,insideDestination:u,previousImpact:o,viewport:a,afterCritical:c});if(!h)return null;var f=Ct({impact:h,draggable:n,droppable:r,draggables:i,afterCritical:c}),p=Tt({draggable:n,destination:r,newPageBorderBoxCenter:f,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(p){var A=Mt({pageBorderBoxCenter:f,draggable:n,viewport:a});return{clientSelection:A,impact:h,scrollJumpRequest:null}}var g=ue(f,s),m=Ot({impact:h,viewport:a,destination:r,draggables:i,maxScrollChange:g});return{clientSelection:l,impact:m,scrollJumpRequest:g}},Lt=function(e){var t=e.subject.active;return t||Z(!1),t},Dt=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,i=e.droppables,o=e.viewport,a=r.subject.active;if(!a)return null;var s=r.axis,l=ze(a[s.start],a[s.end]),c=Le(i).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return Ve(o.frame)(Lt(e))})).filter((function(e){var n=Lt(e);return t?a[s.crossAxisEnd]<n[s.crossAxisEnd]:n[s.crossAxisStart]<a[s.crossAxisStart]})).filter((function(e){var t=Lt(e),n=ze(t[s.start],t[s.end]);return l(t[s.start])||l(t[s.end])||n(a[s.start])||n(a[s.end])})).sort((function(e,n){var r=Lt(e)[s.crossAxisStart],i=Lt(n)[s.crossAxisStart];return t?r-i:i-r})).filter((function(e,t,n){return Lt(e)[s.crossAxisStart]===Lt(n[0])[s.crossAxisStart]}));if(!c.length)return null;if(1===c.length)return c[0];var u=c.filter((function(e){var t=ze(Lt(e)[s.start],Lt(e)[s.end]);return t(n[s.line])}));return 1===u.length?u[0]:u.length>1?u.sort((function(e,t){return Lt(e)[s.start]-Lt(t)[s.start]}))[0]:c.sort((function(e,t){var r=Ae(n,ye(Lt(e))),i=Ae(n,ye(Lt(t)));return r!==i?r-i:Lt(e)[s.start]-Lt(t)[s.start]}))[0]},Pt=function(e,t){var n=e.page.borderBox.center;return ct(e.descriptor.id,t)?ue(n,t.displacedBy.point):n},Nt=function(e,t){var n=e.page.borderBox;return ct(e.descriptor.id,t)?ve(n,he(t.displacedBy.point)):n},jt=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,i=e.insideDestination,o=e.afterCritical,a=i.filter((function(e){return tt({target:Nt(e,o),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var i=pe(t,wt(r,Pt(e,o))),a=pe(t,wt(r,Pt(n,o)));return i<a?-1:a<i?1:e.descriptor.index-n.descriptor.index}));return a[0]||null},Ft=T((function(e,t){var n=t[e.line];return{value:n,point:fe(e.line,n)}})),Rt=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return fe(r.line,t[r.line]);var i=e.subject.page.contentBox[r.size],o=Pe(e.descriptor.id,n),a=o.reduce((function(e,t){return e+t.client.marginBox[r.size]}),0),s=a+t[r.line],l=s-i;return l<=0?null:fe(r.line,l)},Ut=function(e,t){return Object(a["a"])({},e,{scroll:Object(a["a"])({},e.scroll,{max:t})})},Ht=function(e,t,n){var r=e.frame;Ue(t,e)&&Z(!1),e.subject.withPlaceholder&&Z(!1);var i=Ft(e.axis,t.displaceBy).point,o=Rt(e,i,n),s={placeholderSize:i,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r){var l=Ce({page:e.subject.page,withPlaceholder:s,axis:e.axis,frame:e.frame});return Object(a["a"])({},e,{subject:l})}var c=o?ce(r.scroll.max,o):r.scroll.max,u=Ut(r,c),d=Ce({page:e.subject.page,withPlaceholder:s,axis:e.axis,frame:u});return Object(a["a"])({},e,{subject:d,frame:u})},Qt=function(e){var t=e.subject.withPlaceholder;t||Z(!1);var n=e.frame;if(!n){var r=Ce({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return Object(a["a"])({},e,{subject:r})}var i=t.oldFrameMaxScroll;i||Z(!1);var o=Ut(n,i),s=Ce({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null});return Object(a["a"])({},e,{subject:s,frame:o})},Kt=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,i=e.draggable,o=e.draggables,a=e.destination,s=e.viewport,l=e.afterCritical;if(!n){if(r.length)return null;var c={displaced:Qe,displacedBy:He,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},u=Ct({impact:c,draggable:i,droppable:a,draggables:o,afterCritical:l}),d=Ue(i,a)?a:Ht(a,i,o),h=Tt({draggable:i,destination:d,newPageBorderBoxCenter:u,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return h?c:null}var f=Boolean(t[a.axis.line]<=n.page.borderBox.center[a.axis.line]),p=function(){var e=n.descriptor.index;return n.descriptor.id===i.descriptor.id||f?e:e+1}(),A=Ft(a.axis,i.displaceBy);return lt({draggable:i,insideDestination:r,destination:a,viewport:s,displacedBy:A,last:Qe,index:p})},zt=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,i=e.isOver,o=e.draggables,a=e.droppables,s=e.viewport,l=e.afterCritical,c=Dt({isMovingForward:t,pageBorderBoxCenter:n,source:i,droppables:a,viewport:s});if(!c)return null;var u=Pe(c.descriptor.id,o),d=jt({pageBorderBoxCenter:n,viewport:s,destination:c,insideDestination:u,afterCritical:l}),h=Kt({previousPageBorderBoxCenter:n,destination:c,draggable:r,draggables:o,moveRelativeTo:d,insideDestination:u,viewport:s,afterCritical:l});if(!h)return null;var f=Ct({impact:h,draggable:r,droppable:c,draggables:o,afterCritical:l}),p=Mt({pageBorderBoxCenter:f,draggable:r,viewport:s});return{clientSelection:p,impact:h,scrollJumpRequest:null}},Vt=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Wt=function(e,t){var n=Vt(e);return n?t[n]:null},Gt=function(e){var t=e.state,n=e.type,r=Wt(t.impact,t.dimensions.droppables),i=Boolean(r),o=t.dimensions.droppables[t.critical.droppable.id],a=r||o,s=a.axis.direction,l="vertical"===s&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===s&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!i)return null;var c="MOVE_DOWN"===n||"MOVE_RIGHT"===n,u=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,h=t.dimensions,f=h.draggables,p=h.droppables;return l?It({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,destination:a,draggables:f,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):zt({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,isOver:a,draggables:f,droppables:p,viewport:t.viewport,afterCritical:t.afterCritical})};function Xt(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function qt(e){var t=ze(e.top,e.bottom),n=ze(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function Yt(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}function Zt(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,i=n.page.borderBox.center,o=r.map((function(e){var n=e.axis,r=fe(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:pe(i,r)}})).sort((function(e,t){return t.distance-e.distance}));return o[0]?o[0].id:null}function Jt(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,i=Le(r).filter((function(e){if(!e.isEnabled)return!1;var n=e.subject.active;if(!n)return!1;if(!Yt(t,n))return!1;if(qt(n)(t.center))return!0;var r=e.axis,i=n.center[r.crossAxisLine],o=t[r.crossAxisStart],a=t[r.crossAxisEnd],s=ze(n[r.crossAxisStart],n[r.crossAxisEnd]),l=s(o),c=s(a);return!l&&!c||(l?o<i:a>i)}));return i.length?1===i.length?i[0].descriptor.id:Zt({pageBorderBox:t,draggable:n,candidates:i}):null}var $t=function(e,t){return A(ve(e,t))},en=function(e,t){var n=e.frame;return n?$t(t,n.scroll.diff.value):t};function tn(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}function nn(e){var t=e.draggable,n=e.closest,r=e.inHomeList;return n?r&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}var rn=function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,i=e.insideDestination,o=e.last,a=e.viewport,s=e.afterCritical,l=r.axis,c=Ft(r.axis,n.displaceBy),u=c.value,d=t[l.start],h=t[l.end],f=Fe(n,i),p=Be(f,(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[l.line],r=ct(t,s),i=tn({displaced:o,id:t});return r?i?h<=n:d<n-u:i?h<=n+u:d<n})),A=nn({draggable:n,closest:p,inHomeList:Ue(n,r)});return lt({draggable:n,insideDestination:i,destination:r,viewport:a,last:o,displacedBy:c,index:A})},on=4,an=function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,i=e.destination,o=e.insideDestination,a=e.afterCritical;if(!i.isCombineEnabled)return null;var s=i.axis,l=Ft(i.axis,t.displaceBy),c=l.value,u=n[s.start],d=n[s.end],h=Fe(t,o),f=Be(h,(function(e){var t=e.descriptor.id,n=e.page.borderBox,i=n[s.size],o=i/on,l=ct(t,a),h=tn({displaced:r.displaced,id:t});return l?h?d>n[s.start]+o&&d<n[s.end]-o:u>n[s.start]-c+o&&u<n[s.end]-c-o:h?d>n[s.start]+c+o&&d<n[s.end]+c-o:u>n[s.start]+o&&u<n[s.end]-o}));if(!f)return null;var p={displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:f.descriptor.id,droppableId:i.descriptor.id}}};return p},sn=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,i=e.droppables,o=e.previousImpact,a=e.viewport,s=e.afterCritical,l=$t(n.page.borderBox,t),c=Jt({pageBorderBox:l,draggable:n,droppables:i});if(!c)return Ke;var u=i[c],d=Pe(u.descriptor.id,r),h=en(u,l);return an({pageBorderBoxWithDroppableScroll:h,draggable:n,previousImpact:o,destination:u,insideDestination:d,afterCritical:s})||rn({pageBorderBoxWithDroppableScroll:h,draggable:n,destination:u,insideDestination:d,last:o.displaced,viewport:a,afterCritical:s})},ln=function(e,t){var n;return Object(a["a"])({},e,(n={},n[t.descriptor.id]=t,n))},cn=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,i=Vt(t),o=Vt(n);if(!i)return r;if(i===o)return r;var a=r[i];if(!a.subject.withPlaceholder)return r;var s=Qt(a);return ln(r,s)},un=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,i=e.previousImpact,o=e.impact,a=cn({previousImpact:i,impact:o,droppables:r}),s=Vt(o);if(!s)return a;var l=r[s];if(Ue(t,l))return a;if(l.subject.withPlaceholder)return a;var c=Ht(l,t,n);return ln(a,c)},dn=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,i=e.viewport,o=e.impact,s=e.scrollJumpRequest,l=i||t.viewport,c=r||t.dimensions,u=n||t.current.client.selection,d=ue(u,t.initial.client.selection),h={offset:d,selection:u,borderBoxCenter:ce(t.initial.client.borderBoxCenter,d)},f={selection:ce(h.selection,l.scroll.current),borderBoxCenter:ce(h.borderBoxCenter,l.scroll.current),offset:ce(h.offset,l.scroll.diff.value)},p={client:h,page:f};if("COLLECTING"===t.phase)return Object(a["a"])({phase:"COLLECTING"},t,{dimensions:c,viewport:l,current:p});var A=c.draggables[t.critical.draggable.id],g=o||sn({pageOffset:f.offset,draggable:A,draggables:c.draggables,droppables:c.droppables,previousImpact:t.impact,viewport:l,afterCritical:t.afterCritical}),m=un({draggable:A,impact:g,previousImpact:t.impact,draggables:c.draggables,droppables:c.droppables}),v=Object(a["a"])({},t,{current:p,dimensions:{draggables:c.draggables,droppables:m},impact:g,viewport:l,scrollJumpRequest:s||null,forceShouldAnimate:!s&&null});return v};function hn(e,t){return e.map((function(e){return t[e]}))}var fn=function(e){var t=e.impact,n=e.viewport,r=e.draggables,i=e.destination,o=e.forceShouldAnimate,s=t.displaced,l=hn(s.all,r),c=ot({afterDragging:l,destination:i,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:o,last:s});return Object(a["a"])({},t,{displaced:c})},pn=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,o=e.viewport,a=e.afterCritical,s=Ct({impact:t,draggable:n,draggables:i,droppable:r,afterCritical:a});return Mt({pageBorderBoxCenter:s,draggable:n,viewport:o})},An=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&Z(!1);var i=t.impact,o=r||t.viewport,a=n||t.dimensions,s=a.draggables,l=a.droppables,c=s[t.critical.draggable.id],u=Vt(i);u||Z(!1);var d=l[u],h=fn({impact:i,viewport:o,destination:d,draggables:s}),f=pn({impact:h,draggable:c,droppable:d,draggables:s,viewport:o,afterCritical:t.afterCritical});return dn({impact:h,clientSelection:f,state:t,dimensions:a,viewport:o})},gn=function(e){return{index:e.index,droppableId:e.droppableId}},mn=function(e){var t=e.draggable,n=e.home,r=e.draggables,i=e.viewport,o=Ft(n.axis,t.displaceBy),a=Pe(n.descriptor.id,r),s=a.indexOf(t);-1===s&&Z(!1);var l=a.slice(s+1),c=l.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),u={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:o,effected:c},d=ot({afterDragging:l,destination:n,displacedBy:o,last:null,viewport:i.frame,forceShouldAnimate:!1}),h={displaced:d,displacedBy:o,at:{type:"REORDER",destination:gn(t.descriptor)}};return{impact:h,afterCritical:u}},vn=function(e,t){return{draggables:e.draggables,droppables:ln(e.droppables,t)}},yn=function(e){0},bn=function(e){0},_n=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,i=x(t.client,n),o=C(i,r),s=Object(a["a"])({},t,{placeholder:Object(a["a"])({},t.placeholder,{client:i}),client:i,page:o});return s},wn=function(e){var t=e.frame;return t||Z(!1),t},xn=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,i=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,o=n[t],a=wn(o),s=a.scroll.diff.value,l=ce(i,s),c=_n({draggable:e,offset:l,initialWindowScroll:r.scroll.initial});return c}))},Cn=function(e){var t=e.state,n=e.published;yn();var r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId],r=Se(n,e.scroll);return r})),i=Object(a["a"])({},t.dimensions.droppables,{},Te(r)),o=Ie(xn({additions:n.additions,updatedDroppables:i,viewport:t.viewport})),s=Object(a["a"])({},t.dimensions.draggables,{},o);n.removals.forEach((function(e){delete s[e]}));var l={droppables:i,draggables:s},c=Vt(t.impact),u=c?l.droppables[c]:null,d=l.draggables[t.critical.draggable.id],h=l.droppables[t.critical.droppable.id],f=mn({draggable:d,home:h,draggables:s,viewport:t.viewport}),p=f.impact,A=f.afterCritical,g=u&&u.isCombineEnabled?t.impact:p,m=sn({pageOffset:t.current.page.offset,draggable:l.draggables[t.critical.draggable.id],draggables:l.draggables,droppables:l.droppables,previousImpact:g,viewport:t.viewport,afterCritical:A});bn();var v=Object(a["a"])({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:m,onLiftImpact:p,dimensions:l,afterCritical:A,forceShouldAnimate:!1});if("COLLECTING"===t.phase)return v;var y=Object(a["a"])({phase:"DROP_PENDING"},v,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1});return y},Sn=function(e){return"SNAP"===e.movementMode},kn=function(e,t,n){var r=vn(e.dimensions,t);return!Sn(e)||n?dn({state:e,dimensions:r}):An({state:e,dimensions:r})};function En(e){return e.isDragging&&"SNAP"===e.movementMode?Object(a["a"])({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var On={phase:"IDLE",completed:null,shouldFlush:!1},Bn=function(e,t){if(void 0===e&&(e=On),"FLUSH"===t.type)return Object(a["a"])({},On,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Z(!1);var n=t.payload,r=n.critical,i=n.clientSelection,o=n.viewport,s=n.dimensions,l=n.movementMode,c=s.draggables[r.draggable.id],u=s.droppables[r.droppable.id],d={selection:i,borderBoxCenter:c.client.borderBox.center,offset:le},h={client:d,page:{selection:ce(d.selection,o.scroll.initial),borderBoxCenter:ce(d.selection,o.scroll.initial),offset:ce(d.selection,o.scroll.diff.value)}},f=Le(s.droppables).every((function(e){return!e.isFixedOnPage})),p=mn({draggable:c,home:u,draggables:s.draggables,viewport:o}),A=p.impact,g=p.afterCritical,m={phase:"DRAGGING",isDragging:!0,critical:r,movementMode:l,dimensions:s,initial:h,current:h,isWindowScrollAllowed:f,impact:A,afterCritical:g,onLiftImpact:A,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null};return m}if("COLLECTION_STARTING"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Z(!1);var v=Object(a["a"])({phase:"COLLECTING"},e,{phase:"COLLECTING"});return v}if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Z(!1),Cn({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;Xt(e)||Z(!1);var y=t.payload.client;return de(y,e.current.client.selection)?e:dn({state:e,clientSelection:y,impact:Sn(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return En(e);if("COLLECTING"===e.phase)return En(e);Xt(e)||Z(!1);var b=t.payload,_=b.id,w=b.newScroll,x=e.dimensions.droppables[_];if(!x)return e;var C=Se(x,w);return kn(e,C,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Xt(e)||Z(!1);var S=t.payload,k=S.id,E=S.isEnabled,O=e.dimensions.droppables[k];O||Z(!1),O.isEnabled===E&&Z(!1);var B=Object(a["a"])({},O,{isEnabled:E});return kn(e,B,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Xt(e)||Z(!1);var M=t.payload,T=M.id,I=M.isCombineEnabled,L=e.dimensions.droppables[T];L||Z(!1),L.isCombineEnabled===I&&Z(!1);var D=Object(a["a"])({},L,{isCombineEnabled:I});return kn(e,D,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Xt(e)||Z(!1),e.isWindowScrollAllowed||Z(!1);var P=t.payload.newScroll;if(de(e.viewport.scroll.current,P))return En(e);var N=St(e.viewport,P);return Sn(e)?An({state:e,viewport:N}):dn({state:e,viewport:N})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!Xt(e))return e;var j=t.payload.maxScroll;if(de(j,e.viewport.scroll.max))return e;var F=Object(a["a"])({},e.viewport,{scroll:Object(a["a"])({},e.viewport.scroll,{max:j})});return Object(a["a"])({phase:"DRAGGING"},e,{viewport:F})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Z(!1);var R=Gt({state:e,type:t.type});return R?dn({state:e,impact:R.impact,clientSelection:R.clientSelection,scrollJumpRequest:R.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var U=t.payload.reason;"COLLECTING"!==e.phase&&Z(!1);var H=Object(a["a"])({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:U});return H}if("DROP_ANIMATE"===t.type){var Q=t.payload,K=Q.completed,z=Q.dropDuration,V=Q.newHomeClientOffset;"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Z(!1);var W={phase:"DROP_ANIMATING",completed:K,dropDuration:z,newHomeClientOffset:V,dimensions:e.dimensions};return W}if("DROP_COMPLETE"===t.type){var G=t.payload.completed;return{phase:"IDLE",completed:G,shouldFlush:!1}}return e},Mn=function(e){return{type:"BEFORE_INITIAL_CAPTURE",payload:e}},Tn=function(e){return{type:"LIFT",payload:e}},In=function(e){return{type:"INITIAL_PUBLISH",payload:e}},Ln=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},Dn=function(){return{type:"COLLECTION_STARTING",payload:null}},Pn=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},Nn=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},jn=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Fn=function(e){return{type:"MOVE",payload:e}},Rn=function(e){return{type:"MOVE_BY_WINDOW_SCROLL",payload:e}},Un=function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}},Hn=function(){return{type:"MOVE_UP",payload:null}},Qn=function(){return{type:"MOVE_DOWN",payload:null}},Kn=function(){return{type:"MOVE_RIGHT",payload:null}},zn=function(){return{type:"MOVE_LEFT",payload:null}},Vn=function(){return{type:"FLUSH",payload:null}},Wn=function(e){return{type:"DROP_ANIMATE",payload:e}},Gn=function(e){return{type:"DROP_COMPLETE",payload:e}},Xn=function(e){return{type:"DROP",payload:e}},qn=function(e){return{type:"DROP_PENDING",payload:e}},Yn=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Zn(e,t){}var Jn=function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(i){if("LIFT"===i.type){var o=i.payload,a=o.id,s=o.clientSelection,l=o.movementMode,c=n();"DROP_ANIMATING"===c.phase&&r(Gn({completed:c.completed})),"IDLE"!==n().phase&&Z(!1),r(Vn()),r(Mn({draggableId:a,movementMode:l}));var u={shouldPublishImmediately:"SNAP"===l},d={draggableId:a,scrollOptions:u},h=e.startPublishing(d),f=h.critical,p=h.dimensions,A=h.viewport;Zn(f,p),r(In({critical:f,dimensions:p,clientSelection:s,movementMode:l,viewport:A}))}else t(i)}}}},$n=function(e){return function(){return function(t){return function(n){"INITIAL_PUBLISH"===n.type&&e.dragging(),"DROP_ANIMATE"===n.type&&e.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||e.resting(),t(n)}}}},er={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},tr={opacity:{drop:0,combining:.7},scale:{drop:.75}},nr={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},rr=nr.outOfTheWay+"s "+er.outOfTheWay,ir={fluid:"opacity "+rr,snap:"transform "+rr+", opacity "+rr,drop:function(e){var t=e+"s "+er.drop;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+rr,placeholder:"height "+rr+", width "+rr+", margin "+rr},or=function(e){return de(e,le)?null:"translate("+e.x+"px, "+e.y+"px)"},ar={moveTo:or,drop:function(e,t){var n=or(e);return n?t?n+" scale("+tr.scale.drop+")":n:null}},sr=nr.minDropTime,lr=nr.maxDropTime,cr=lr-sr,ur=1500,dr=.6,hr=function(e){var t=e.current,n=e.destination,r=e.reason,i=pe(t,n);if(i<=0)return sr;if(i>=ur)return lr;var o=i/ur,a=sr+cr*o,s="CANCEL"===r?a*dr:a;return Number(s.toFixed(2))},fr=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,i=e.viewport,o=e.afterCritical,a=r.draggables,s=r.droppables,l=Vt(t),c=l?s[l]:null,u=s[n.descriptor.droppableId],d=pn({impact:t,draggable:n,draggables:a,afterCritical:o,droppable:c||u,viewport:i}),h=ue(d,n.client.borderBox.center);return h},pr=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,i=e.home,o=e.viewport,s=e.onLiftImpact;if(!r.at||"DROP"!==n){var l=fn({draggables:t,impact:s,destination:i,viewport:o,forceShouldAnimate:!0});return{impact:l,didDropInsideDroppable:!1}}if("REORDER"===r.at.type)return{impact:r,didDropInsideDroppable:!0};var c=Object(a["a"])({},r,{displaced:Qe});return{impact:c,didDropInsideDroppable:!0}},Ar=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var i=t(),o=r.payload.reason;if("COLLECTING"!==i.phase){if("IDLE"!==i.phase){var a="DROP_PENDING"===i.phase&&i.isWaiting;a&&Z(!1),"DRAGGING"!==i.phase&&"DROP_PENDING"!==i.phase&&Z(!1);var s=i.critical,l=i.dimensions,c=l.draggables[i.critical.draggable.id],u=pr({reason:o,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),d=u.impact,h=u.didDropInsideDroppable,f=h?Ne(d):null,p=h?je(d):null,A={index:s.draggable.index,droppableId:s.droppable.id},g={draggableId:c.descriptor.id,type:c.descriptor.type,source:A,reason:o,mode:i.movementMode,destination:f,combine:p},m=fr({impact:d,draggable:c,dimensions:l,viewport:i.viewport,afterCritical:i.afterCritical}),v={critical:i.critical,afterCritical:i.afterCritical,result:g,impact:d},y=!de(i.current.client.offset,m)||Boolean(g.combine);if(y){var b=hr({current:i.current.client.offset,destination:m,reason:o}),_={newHomeClientOffset:m,dropDuration:b,completed:v};n(Wn(_))}else n(Gn({completed:v}))}}else n(qn({reason:o}))}else e(r)}}},gr=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function mr(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}function vr(e){var t=e.onWindowScroll;function n(){t(gr())}var r=L(n),i=mr(r),o=V;function a(){return o!==V}function s(){a()&&Z(!1),o=G(window,[i])}function l(){a()||Z(!1),r.cancel(),o(),o=V}return{start:s,stop:l,isActive:a}}var yr=function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type},br=function(e){var t=vr({onWindowScroll:function(t){e.dispatch(Rn({newScroll:t}))}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&yr(n)&&t.stop(),e(n)}}},_r=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),i=function(i){t||n||(t=!0,e(i),clearTimeout(r))};return i.wasCalled=function(){return t},i},wr=function(){var e=[],t=function(t){var n=Oe(e,(function(e){return e.timerId===t}));-1===n&&Z(!1);var r=e.splice(n,1),i=r[0];i.callback()},n=function(n){var r=setTimeout((function(){return t(r)})),i={timerId:r,callback:n};e.push(i)},r=function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}};return{add:n,flush:r}},xr=function(e,t){return null==e&&null==t||null!=e&&null!=t&&(e.droppableId===t.droppableId&&e.index===t.index)},Cr=function(e,t){return null==e&&null==t||null!=e&&null!=t&&(e.draggableId===t.draggableId&&e.droppableId===t.droppableId)},Sr=function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r},kr=function(e,t){yn(),t(),bn()},Er=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},Or=function(e,t,n,r){if(e){var i=_r(n),o={announce:i};e(t,o),i.wasCalled()||n(r(t))}else n(r(t))},Br=function(e,t){var n=wr(),r=null,i=function(t,n){r&&Z(!1),kr("onBeforeCapture",(function(){var r=e().onBeforeCapture;if(r){var i={draggableId:t,mode:n};r(i)}}))},o=function(t,n){r&&Z(!1),kr("onBeforeDragStart",(function(){var r=e().onBeforeDragStart;r&&r(Er(t,n))}))},s=function(i,o){r&&Z(!1);var a=Er(i,o);r={mode:o,lastCritical:i,lastLocation:a.source,lastCombine:null},n.add((function(){kr("onDragStart",(function(){return Or(e().onDragStart,a,t,se.onDragStart)}))}))},l=function(i,o){var s=Ne(o),l=je(o);r||Z(!1);var c=!Sr(i,r.lastCritical);c&&(r.lastCritical=i);var u=!xr(r.lastLocation,s);u&&(r.lastLocation=s);var d=!Cr(r.lastCombine,l);if(d&&(r.lastCombine=l),c||u||d){var h=Object(a["a"])({},Er(i,r.mode),{combine:l,destination:s});n.add((function(){kr("onDragUpdate",(function(){return Or(e().onDragUpdate,h,t,se.onDragUpdate)}))}))}},c=function(){r||Z(!1),n.flush()},u=function(n){r||Z(!1),r=null,kr("onDragEnd",(function(){return Or(e().onDragEnd,n,t,se.onDragEnd)}))},d=function(){if(r){var e=Object(a["a"])({},Er(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});u(e)}};return{beforeCapture:i,beforeStart:o,start:s,update:l,flush:c,drop:u,abort:d}},Mr=function(e,t){var n=Br(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var i=r.payload.critical;return n.beforeStart(i,r.payload.movementMode),t(r),void n.start(i,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var o=r.payload.completed.result;return n.flush(),t(r),void n.drop(o)}if(t(r),"FLUSH"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},Tr=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&Z(!1),e.dispatch(Gn({completed:r.completed}))}else t(n)}}},Ir=function(e){var t=null,n=null;function r(){n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)}return function(i){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||r(),i(o),"DROP_ANIMATE"===o.type){var a={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var t=e.getState();"DROP_ANIMATING"===t.phase&&e.dispatch(Yn())}};n=requestAnimationFrame((function(){n=null,t=G(window,[a])}))}}}},Lr=function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}},Dr=function(e){var t=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;var i=r.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}},Pr=function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type},Nr=function(e){return function(t){return function(n){return function(r){if(Pr(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var i=t.getState();return"DRAGGING"!==i.phase&&Z(!1),void e.start(i)}n(r),e.scroll(t.getState())}}}},jr=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(Xn({reason:r.reason})))}}}},Fr=s["d"],Rr=function(e){var t=e.dimensionMarshal,n=e.focusMarshal,r=e.styleMarshal,i=e.getResponders,o=e.announce,a=e.autoScroller;return Object(s["e"])(Bn,Fr(Object(s["a"])($n(r),Lr(t),Jn(t),Ar,Tr,Ir,jr,Nr(a),br,Dr(n),Mr(i,o))))},Ur=function(){return{additions:{},removals:{},modified:{}}};function Hr(e){var t=e.registry,n=e.callbacks,r=Ur(),i=null,o=function(){i||(n.collectionStarting(),i=requestAnimationFrame((function(){i=null,yn();var e=r,o=e.additions,a=e.removals,s=e.modified,l=Object.keys(o).map((function(e){return t.draggable.getById(e).getDimension(le)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),c=Object.keys(s).map((function(e){var n=t.droppable.getById(e),r=n.callbacks.getScrollWhileDragging();return{droppableId:e,scroll:r}})),u={additions:l,removals:Object.keys(a),modified:c};r=Ur(),bn(),n.publish(u)})))},a=function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],o()},s=function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],o()},l=function(){i&&(cancelAnimationFrame(i),i=null,r=Ur())};return{add:a,remove:s,stop:l}}var Qr=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,i=e.width,o=ue({x:n,y:t},{x:i,y:r}),a={x:Math.max(0,o.x),y:Math.max(0,o.y)};return a},Kr=function(){var e=document.documentElement;return e||Z(!1),e},zr=function(){var e=Kr(),t=Qr({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t},Vr=function(){var e=gr(),t=zr(),n=e.y,r=e.x,i=Kr(),o=i.clientWidth,a=i.clientHeight,s=r+o,l=n+a,c=A({top:n,left:r,right:s,bottom:l}),u={frame:c,scroll:{initial:e,current:e,max:t,diff:{value:le,displacement:le}}};return u},Wr=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry;yn();var i=Vr(),o=i.scroll.current,a=t.droppable,s=r.droppable.getAllByType(a.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(o,n)})),l=r.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(o)})),c={draggables:Ie(l),droppables:Te(s)};bn();var u={dimensions:c,critical:t,viewport:i};return u};function Gr(e,t,n){if(n.descriptor.id===t.id)return!1;if(n.descriptor.type!==t.type)return!1;var r=e.droppable.getById(n.descriptor.droppableId);return"virtual"===r.descriptor.mode}var Xr=function(e,t){var n=null,r=Hr({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(r,i){e.droppable.exists(r)||Z(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:i})},o=function(r,i){n&&(e.droppable.exists(r)||Z(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:i}))},a=function(r,i){n&&(e.droppable.exists(r)||Z(!1),t.updateDroppableScroll({id:r,newScroll:i}))},s=function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},l=function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}},c=function(t){n||Z(!1);var i=n.critical.draggable;"ADDITION"===t.type&&Gr(e,i,t.value)&&r.add(t.value),"REMOVAL"===t.type&&Gr(e,i,t.value)&&r.remove(t.value)},u=function(t){n&&Z(!1);var r=e.draggable.getById(t.draggableId),i=e.droppable.getById(r.descriptor.droppableId),o={draggable:r.descriptor,droppable:i.descriptor},a=e.subscribe(c);return n={critical:o,unsubscribe:a},Wr({critical:o,registry:e,scrollOptions:t.scrollOptions})},d={updateDroppableIsEnabled:i,updateDroppableIsCombineEnabled:o,scrollDroppable:s,updateDroppableScroll:a,startPublishing:u,stopPublishing:l};return d},qr=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},Yr=function(e){window.scrollBy(e.x,e.y)},Zr=T((function(e){return Le(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),Jr=function(e,t){var n=Be(Zr(t),(function(t){return t.frame||Z(!1),qt(t.frame.pageMarginBox)(e)}));return n},$r=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var i=r[n];return i.frame?i:null}var o=Jr(t,r);return o},ei={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(e){return Math.pow(e,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},ti=function(e,t){var n=e[t.size]*ei.startFromPercentage,r=e[t.size]*ei.maxScrollAtPercentage,i={startScrollingFrom:n,maxScrollValueAt:r};return i},ni=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,i=n-t;if(0===i)return 0;var o=r-t,a=o/i;return a},ri=1,ii=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return ei.maxPixelScroll;if(e===t.startScrollingFrom)return ri;var n=ni({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=1-n,i=ei.maxPixelScroll*ei.ease(r);return Math.ceil(i)},oi=ei.durationDampening.accelerateAt,ai=ei.durationDampening.stopDampeningAt,si=function(e,t){var n=t,r=ai,i=Date.now(),o=i-n;if(o>=ai)return e;if(o<oi)return ri;var a=ni({startOfRange:oi,endOfRange:r,current:o}),s=e*ei.ease(a);return Math.ceil(s)},li=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,i=e.shouldUseTimeDampening,o=ii(t,n);return 0===o?0:i?Math.max(si(o,r),ri):o},ci=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,i=e.axis,o=e.shouldUseTimeDampening,a=ti(t,i),s=n[i.end]<n[i.start];return s?li({distanceToEdge:n[i.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:o}):-1*li({distanceToEdge:n[i.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:o})},ui=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,i=n.height>t.height,o=n.width>t.width;return o||i?o&&i?null:{x:o?0:r.x,y:i?0:r.y}:r},di=ge((function(e){return 0===e?0:e})),hi=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,i=e.center,o=e.shouldUseTimeDampening,a={top:i.y-n.top,right:n.right-i.x,bottom:n.bottom-i.y,left:i.x-n.left},s=ci({container:n,distanceToEdges:a,dragStartTime:t,axis:Ge,shouldUseTimeDampening:o}),l=ci({container:n,distanceToEdges:a,dragStartTime:t,axis:Xe,shouldUseTimeDampening:o}),c=di({x:l,y:s});if(de(c,le))return null;var u=ui({container:n,subject:r,proposedScroll:c});return u?de(u,le)?null:u:null},fi=ge((function(e){return 0===e?0:e>0?1:-1})),pi=function(){var e=function(e,t){return e<0?e:e>t?e-t:0};return function(t){var n=t.current,r=t.max,i=t.change,o=ce(n,i),a={x:e(o.x,r.x),y:e(o.y,r.y)};return de(a,le)?null:a}}(),Ai=function(e){var t=e.max,n=e.current,r=e.change,i={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},o=fi(r),a=pi({max:i,current:n,change:o});return!a||(0!==o.x&&0===a.x||0!==o.y&&0===a.y)},gi=function(e,t){return Ai({current:e.scroll.current,max:e.scroll.max,change:t})},mi=function(e,t){if(!gi(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return pi({current:r,max:n,change:t})},vi=function(e,t){var n=e.frame;return!!n&&Ai({current:n.scroll.current,max:n.scroll.max,change:t})},yi=function(e,t){var n=e.frame;return n&&vi(e,t)?pi({current:n.scroll.current,max:n.scroll.max,change:t}):null},bi=function(e){var t=e.viewport,n=e.subject,r=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=hi({dragStartTime:i,container:t.frame,subject:n,center:r,shouldUseTimeDampening:o});return a&&gi(t,a)?a:null},_i=function(e){var t=e.droppable,n=e.subject,r=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var s=hi({dragStartTime:i,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:o});return s&&vi(t,s)?s:null},wi=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,a=t.current.page.borderBoxCenter,s=t.dimensions.draggables[t.critical.draggable.id],l=s.page.marginBox;if(t.isWindowScrollAllowed){var c=t.viewport,u=bi({dragStartTime:n,viewport:c,subject:l,center:a,shouldUseTimeDampening:r});if(u)return void i(u)}var d=$r({center:a,destination:Vt(t.impact),droppables:t.dimensions.droppables});if(d){var h=_i({dragStartTime:n,droppable:d,subject:l,center:a,shouldUseTimeDampening:r});h&&o(d.descriptor.id,h)}},xi=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=L(t),i=L(n),o=null,a=function(e){o||Z(!1);var t=o,n=t.shouldUseTimeDampening,a=t.dragStartTime;wi({state:e,scrollWindow:r,scrollDroppable:i,dragStartTime:a,shouldUseTimeDampening:n})},s=function(e){yn(),o&&Z(!1);var t=Date.now(),n=!1,r=function(){n=!0};wi({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),o={dragStartTime:t,shouldUseTimeDampening:n},bn(),n&&a(e)},l=function(){o&&(r.cancel(),i.cancel(),o=null)};return{start:s,stop:l,scroll:a}},Ci=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,i=function(e,n){var r=ce(e.current.client.selection,n);t({client:r})},o=function(e,t){if(!vi(e,t))return t;var r=yi(e,t);if(!r)return n(e.descriptor.id,t),null;var i=ue(t,r);n(e.descriptor.id,i);var o=ue(t,i);return o},a=function(e,t,n){if(!e)return n;if(!gi(t,n))return n;var i=mi(t,n);if(!i)return r(n),null;var o=ue(n,i);r(o);var a=ue(n,o);return a},s=function(e){var t=e.scrollJumpRequest;if(t){var n=Vt(e.impact);n||Z(!1);var r=o(e.dimensions.droppables[n],t);if(r){var s=e.viewport,l=a(e.isWindowScrollAllowed,s,r);l&&i(e,l)}}};return s},Si=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,i=xi({scrollWindow:n,scrollDroppable:t}),o=Ci({move:r,scrollWindow:n,scrollDroppable:t}),a=function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):i.scroll(e))},s={scroll:a,start:i.start,stop:i.stop};return s},ki="data-rbd",Ei=function(){var e=ki+"-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),Oi=function(){var e=ki+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Bi=function(){var e=ki+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Mi={contextId:ki+"-scroll-container-context-id"},Ti=function(e){return function(t){return"["+t+'="'+e+'"]'}},Ii=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},Li="pointer-events: none;",Di=function(e){var t=Ti(e),n=function(){var e="\n cursor: -webkit-grab;\n cursor: grab;\n ";return{selector:t(Ei.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:e,dragging:Li,dropAnimating:e}}}(),r=function(){var e="\n transition: "+ir.outOfTheWay+";\n ";return{selector:t(Oi.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}}(),i={selector:t(Bi.contextId),styles:{always:"overflow-anchor: none;"}},o={selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}},a=[r,n,i,o];return{always:Ii(a,"always"),resting:Ii(a,"resting"),dragging:Ii(a,"dragging"),dropAnimating:Ii(a,"dropAnimating"),userCancel:Ii(a,"userCancel")}},Pi="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r["useLayoutEffect"]:r["useEffect"],Ni=function(){var e=document.querySelector("head");return e||Z(!1),e},ji=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Fi(e,t){var n=h((function(){return Di(e)}),[e]),i=Object(r["useRef"])(null),o=Object(r["useRef"])(null),a=f(T((function(e){var t=o.current;t||Z(!1),t.textContent=e})),[]),s=f((function(e){var t=i.current;t||Z(!1),t.textContent=e}),[]);Pi((function(){(i.current||o.current)&&Z(!1);var r=ji(t),l=ji(t);return i.current=r,o.current=l,r.setAttribute(ki+"-always",e),l.setAttribute(ki+"-dynamic",e),Ni().appendChild(r),Ni().appendChild(l),s(n.always),a(n.resting),function(){var e=function(e){var t=e.current;t||Z(!1),Ni().removeChild(t),e.current=null};e(i),e(o)}}),[t,s,a,n.always,n.resting,e]);var l=f((function(){return a(n.dragging)}),[a,n.dragging]),c=f((function(e){a("DROP"!==e?n.userCancel:n.dropAnimating)}),[a,n.dropAnimating,n.userCancel]),u=f((function(){o.current&&a(n.resting)}),[a,n.resting]),d=h((function(){return{dragging:l,dropping:c,resting:u}}),[l,c,u]);return d}var Ri=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Ui(e){return e instanceof Ri(e).HTMLElement}function Hi(e,t){var n="["+Ei.contextId+'="'+e+'"]',r=Me(document.querySelectorAll(n));if(!r.length)return null;var i=Be(r,(function(e){return e.getAttribute(Ei.draggableId)===t}));return i&&Ui(i)?i:null}function Qi(e){var t=Object(r["useRef"])({}),n=Object(r["useRef"])(null),i=Object(r["useRef"])(null),o=Object(r["useRef"])(!1),a=f((function(e,n){var r={id:e,focus:n};return t.current[e]=r,function(){var n=t.current,i=n[e];i!==r&&delete n[e]}}),[]),s=f((function(t){var n=Hi(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),l=f((function(e,t){n.current===e&&(n.current=t)}),[]),c=f((function(){i.current||o.current&&(i.current=requestAnimationFrame((function(){i.current=null;var e=n.current;e&&s(e)})))}),[s]),u=f((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(Ei.draggableId)===e&&(n.current=e)}),[]);Pi((function(){return o.current=!0,function(){o.current=!1;var e=i.current;e&&cancelAnimationFrame(e)}}),[]);var d=h((function(){return{register:a,tryRecordFocus:u,tryRestoreFocusRecorded:c,tryShiftRecord:l}}),[a,u,c,l]);return d}function Ki(){var e={draggables:{},droppables:{}},t=[];function n(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}function r(e){t.length&&t.forEach((function(t){return t(e)}))}function i(t){return e.draggables[t]||null}function o(e){var t=i(e);return t||Z(!1),t}var a={register:function(t){e.draggables[t.descriptor.id]=t,r({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var n=t.descriptor.id,o=i(n);o&&t.uniqueId===o.uniqueId&&(delete e.draggables[n],r({type:"REMOVAL",value:t}))},getById:o,findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(t){return Ee(e.draggables).filter((function(e){return e.descriptor.type===t}))}};function s(t){return e.droppables[t]||null}function l(e){var t=s(e);return t||Z(!1),t}var c={register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=s(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:l,findById:s,exists:function(e){return Boolean(s(e))},getAllByType:function(t){return Ee(e.droppables).filter((function(e){return e.descriptor.type===t}))}};function u(){e.draggables={},e.droppables={},t.length=0}return{draggable:a,droppable:c,subscribe:n,clean:u}}function zi(){var e=h(Ki,[]);return Object(r["useEffect"])((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}var Vi=i.a.createContext(null),Wi=function(){var e=document.body;return e||Z(!1),e},Gi={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Xi=function(e){return"rbd-announcement-"+e};function qi(e){var t=h((function(){return Xi(e)}),[e]),n=Object(r["useRef"])(null);Object(r["useEffect"])((function(){var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),Object(a["a"])(e.style,Gi),Wi().appendChild(e),function(){setTimeout((function(){var t=Wi();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]);var i=f((function(e){var t=n.current;t&&(t.textContent=e)}),[]);return i}var Yi=0,Zi={separator:"::"};function Ji(e,t){return void 0===t&&(t=Zi),h((function(){return""+e+t.separator+Yi++}),[t.separator,e])}function $i(e){var t=e.contextId,n=e.uniqueId;return"rbd-hidden-text-"+t+"-"+n}function eo(e){var t=e.contextId,n=e.text,i=Ji("hidden-text",{separator:"-"}),o=h((function(){return $i({contextId:t,uniqueId:i})}),[i,t]);return Object(r["useEffect"])((function(){var e=document.createElement("div");return e.id=o,e.textContent=n,e.style.display="none",Wi().appendChild(e),function(){var t=Wi();t.contains(e)&&t.removeChild(e)}}),[o,n]),o}var to=i.a.createContext(null),no={react:"^16.8.5","react-dom":"^16.8.5"},ro=/(\d+)\.(\d+)\.(\d+)/,io=function(e){var t=ro.exec(e);null==t&&Z(!1);var n=Number(t[1]),r=Number(t[2]),i=Number(t[3]);return{major:n,minor:r,patch:i,raw:e}},oo=function(e,t){return t.major>e.major||!(t.major<e.major)&&(t.minor>e.minor||!(t.minor<e.minor)&&t.patch>=e.patch)},ao=function(e,t){var n=io(e),r=io(t);oo(n,r)},so=function(e){var t=e.doctype;t&&(t.name.toLowerCase(),t.publicId)};function lo(e){0}function co(e,t){lo((function(){Object(r["useEffect"])((function(){try{e()}catch(t){z("\n A setup problem was encountered.\n\n > "+t.message+"\n ")}}),t)}))}function uo(){co((function(){ao(no.react,i.a.version),so(document)}),[])}function ho(e){var t=Object(r["useRef"])(e);return Object(r["useEffect"])((function(){t.current=e})),t}function fo(){var e=null;function t(){return Boolean(e)}function n(t){return t===e}function r(t){e&&Z(!1);var n={abandon:t};return e=n,n}function i(){e||Z(!1),e=null}function o(){e&&(e.abandon(),i())}return{isClaimed:t,isActive:n,claim:r,release:i,tryAbandon:o}}var po,Ao=9,go=13,mo=27,vo=32,yo=33,bo=34,_o=35,wo=36,xo=37,Co=38,So=39,ko=40,Eo=(po={},po[go]=!0,po[Ao]=!0,po),Oo=function(e){Eo[e.keyCode]&&e.preventDefault()},Bo=function(){var e="visibilitychange";if("undefined"===typeof document)return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],n=Be(t,(function(e){return"on"+e in document}));return n||e}(),Mo=0,To=5;function Io(e,t){return Math.abs(t.x-e.x)>=To||Math.abs(t.y-e.y)>=To}var Lo,Do={type:"IDLE"};function Po(e){var t=e.cancel,n=e.completed,r=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,o=e.clientY;if(t===Mo){var a={x:n,y:o},s=r();if("DRAGGING"===s.type)return e.preventDefault(),void s.actions.move(a);"PENDING"!==s.type&&Z(!1);var l=s.point;if(Io(l,a)){e.preventDefault();var c=s.actions.fluidLift(a);i({type:"DRAGGING",actions:c})}}}},{eventName:"mouseup",fn:function(e){var i=r();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){var n=r();if("PENDING"!==n.type)return e.keyCode===mo?(e.preventDefault(),void t()):void Oo(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&Z(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:Bo,fn:t}]}function No(e){var t=Object(r["useRef"])(Do),n=Object(r["useRef"])(V),i=h((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&t.button===Mo&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var i=e.tryGetLock(r,s,{sourceEvent:t});if(i){t.preventDefault();var o={x:t.clientX,y:t.clientY};n.current(),u(i,o)}}}}}}),[e]),o=h((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),a=f((function(){var e={passive:!1,capture:!0};n.current=G(window,[o,i],e)}),[o,i]),s=f((function(){var e=t.current;"IDLE"!==e.type&&(t.current=Do,n.current(),a())}),[a]),l=f((function(){var e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[s]),c=f((function(){var e={capture:!0,passive:!1},r=Po({cancel:l,completed:s,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=G(window,r,e)}),[l,s]),u=f((function(e,n){"IDLE"!==t.current.type&&Z(!1),t.current={type:"PENDING",point:n,actions:e},c()}),[c]);Pi((function(){return a(),function(){n.current()}}),[a])}function jo(){}var Fo=(Lo={},Lo[bo]=!0,Lo[yo]=!0,Lo[wo]=!0,Lo[_o]=!0,Lo);function Ro(e,t){function n(){t(),e.cancel()}function r(){t(),e.drop()}return[{eventName:"keydown",fn:function(t){return t.keyCode===mo?(t.preventDefault(),void n()):t.keyCode===vo?(t.preventDefault(),void r()):t.keyCode===ko?(t.preventDefault(),void e.moveDown()):t.keyCode===Co?(t.preventDefault(),void e.moveUp()):t.keyCode===So?(t.preventDefault(),void e.moveRight()):t.keyCode===xo?(t.preventDefault(),void e.moveLeft()):void(Fo[t.keyCode]?t.preventDefault():Oo(t))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:Bo,fn:n}]}function Uo(e){var t=Object(r["useRef"])(jo),n=h((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&n.keyCode===vo){var r=e.findClosestDraggableId(n);if(r){var o=e.tryGetLock(r,l,{sourceEvent:n});if(o){n.preventDefault();var a=!0,s=o.snapLift();t.current(),t.current=G(window,Ro(s,l),{capture:!0,passive:!1})}}}function l(){a||Z(!1),a=!1,t.current(),i()}}}}),[e]),i=f((function(){var e={passive:!1,capture:!0};t.current=G(window,[n],e)}),[n]);Pi((function(){return i(),function(){t.current()}}),[i])}var Ho={type:"IDLE"},Qo=120,Ko=.15;function zo(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(e.keyCode===mo&&e.preventDefault(),t()):t()}},{eventName:Bo,fn:t}]}function Vo(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var i=e.touches[0],o=i.clientX,a=i.clientY,s={x:o,y:a};e.preventDefault(),n.actions.move(s)}else t()}},{eventName:"touchend",fn:function(e){var i=r();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&Z(!1);var i=e.touches[0];if(i){var o=i.force>=Ko;if(o){var a=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return a?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();a&&t()}}}},{eventName:Bo,fn:t}]}function Wo(e){var t=Object(r["useRef"])(Ho),n=Object(r["useRef"])(V),i=f((function(){return t.current}),[]),o=f((function(e){t.current=e}),[]),a=h((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var i=e.tryGetLock(r,l,{sourceEvent:t});if(i){var o=t.touches[0],a=o.clientX,s=o.clientY,c={x:a,y:s};n.current(),p(i,c)}}}}}}),[e]),s=f((function(){var e={capture:!0,passive:!1};n.current=G(window,[a],e)}),[a]),l=f((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),o(Ho),n.current(),s())}),[s,o]),c=f((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),u=f((function(){var e={capture:!0,passive:!1},t={cancel:c,completed:l,getPhase:i},r=G(window,Vo(t),e),o=G(window,zo(t),e);n.current=function(){r(),o()}}),[c,i,l]),d=f((function(){var e=i();"PENDING"!==e.type&&Z(!1);var t=e.actions.fluidLift(e.point);o({type:"DRAGGING",actions:t,hasMoved:!1})}),[i,o]),p=f((function(e,t){"IDLE"!==i().type&&Z(!1);var n=setTimeout(d,Qo);o({type:"PENDING",point:t,actions:e,longPressTimerId:n}),u()}),[u,i,o,d]);Pi((function(){return s(),function(){n.current();var e=i();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),o(Ho))}}),[i,s,o]),Pi((function(){var e=G(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return e}),[])}function Go(e){lo((function(){var t=ho(e);co((function(){t.current.length!==e.length&&Z(!1)}))}))}var Xo={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function qo(e,t){if(null==t)return!1;var n=Boolean(Xo[t.tagName.toLowerCase()]);if(n)return!0;var r=t.getAttribute("contenteditable");return"true"===r||""===r||t!==e&&qo(e,t.parentElement)}function Yo(e,t){var n=t.target;return!!Ui(n)&&qo(e,n)}var Zo=function(e){return A(e.getBoundingClientRect()).center};function Jo(e){return e instanceof Ri(e).Element}var $o=function(){var e="matches";if("undefined"===typeof document)return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],n=Be(t,(function(e){return e in Element.prototype}));return n||e}();function ea(e,t){return null==e?null:e[$o](t)?e:ea(e.parentElement,t)}function ta(e,t){return e.closest?e.closest(t):ea(e,t)}function na(e){return"["+Ei.contextId+'="'+e+'"]'}function ra(e,t){var n=t.target;if(!Jo(n))return null;var r=na(e),i=ta(n,r);return i&&Ui(i)?i:null}function ia(e,t){var n=ra(e,t);return n?n.getAttribute(Ei.draggableId):null}function oa(e,t){var n="["+Oi.contextId+'="'+e+'"]',r=Me(document.querySelectorAll(n)),i=Be(r,(function(e){return e.getAttribute(Oi.id)===t}));return i&&Ui(i)?i:null}function aa(e){e.preventDefault()}function sa(e){var t=e.expected,n=e.phase,r=e.isLockActive;e.shouldWarn;return!!r()&&t===n}function la(e){var t=e.lockAPI,n=e.store,r=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=r.draggable.findById(i);return!!o&&(!!o.options.isEnabled&&!!qr(n.getState(),i))}function ca(e){var t=e.lockAPI,n=e.contextId,r=e.store,i=e.registry,o=e.draggableId,s=e.forceSensorStop,l=e.sourceEvent,c=la({lockAPI:t,store:r,registry:i,draggableId:o});if(!c)return null;var u=i.draggable.getById(o),d=oa(n,u.descriptor.id);if(!d)return null;if(l&&!u.options.canDragInteractiveElements&&Yo(d,l))return null;var h=t.claim(s||V),f="PRE_DRAG";function p(){return u.options.shouldRespectForcePress}function A(){return t.isActive(h)}function g(e,t){sa({expected:e,phase:f,isLockActive:A,shouldWarn:!0})&&r.dispatch(t())}var m=g.bind(null,"DRAGGING");function v(e){function n(){t.release(),f="COMPLETED"}function i(t,i){if(void 0===i&&(i={shouldBlockNextClick:!1}),e.cleanup(),i.shouldBlockNextClick){var o=G(window,[{eventName:"click",fn:aa,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(o)}n(),r.dispatch(Xn({reason:t}))}return"PRE_DRAG"!==f&&(n(),"PRE_DRAG"!==f&&Z(!1)),r.dispatch(Tn(e.liftActionArgs)),f="DRAGGING",Object(a["a"])({isActive:function(){return sa({expected:"DRAGGING",phase:f,isLockActive:A,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(e){return i("DROP",e)},cancel:function(e){return i("CANCEL",e)}},e.actions)}function y(e){var t=L((function(e){m((function(){return Fn({client:e})}))})),n=v({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}});return Object(a["a"])({},n,{move:t})}function b(){var e={moveUp:function(){return m(Hn)},moveRight:function(){return m(Kn)},moveDown:function(){return m(Qn)},moveLeft:function(){return m(zn)}};return v({liftActionArgs:{id:o,clientSelection:Zo(d),movementMode:"SNAP"},cleanup:V,actions:e})}function _(){var e=sa({expected:"PRE_DRAG",phase:f,isLockActive:A,shouldWarn:!0});e&&t.release()}var w={isActive:function(){return sa({expected:"PRE_DRAG",phase:f,isLockActive:A,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:y,snapLift:b,abort:_};return w}var ua=[No,Uo,Wo];function da(e){var t=e.contextId,n=e.store,i=e.registry,o=e.customSensors,a=e.enableDefaultSensors,s=[].concat(a?ua:[],o||[]),l=Object(r["useState"])((function(){return fo()}))[0],c=f((function(e,t){e.isDragging&&!t.isDragging&&l.tryAbandon()}),[l]);Pi((function(){var e=n.getState(),t=n.subscribe((function(){var t=n.getState();c(e,t),e=t}));return t}),[l,n,c]),Pi((function(){return l.tryAbandon}),[l.tryAbandon]);var u=f((function(e){return la({lockAPI:l,registry:i,store:n,draggableId:e})}),[l,i,n]),d=f((function(e,r,o){return ca({lockAPI:l,registry:i,contextId:t,store:n,draggableId:e,forceSensorStop:r,sourceEvent:o&&o.sourceEvent?o.sourceEvent:null})}),[t,l,i,n]),p=f((function(e){return ia(t,e)}),[t]),A=f((function(e){var t=i.draggable.findById(e);return t?t.options:null}),[i.draggable]),g=f((function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch(Vn()))}),[l,n]),m=f(l.isClaimed,[l]),v=h((function(){return{canGetLock:u,tryGetLock:d,findClosestDraggableId:p,findOptionsForDraggable:A,tryReleaseLock:g,isLockClaimed:m}}),[u,d,p,A,g,m]);Go(s);for(var y=0;y<s.length;y++)s[y](v)}var ha=function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}};function fa(e){return e.current||Z(!1),e.current}function pa(e){var t=e.contextId,n=e.setCallbacks,o=e.sensors,c=e.nonce,u=e.dragHandleUsageInstructions,d=Object(r["useRef"])(null);uo();var p=ho(e),A=f((function(){return ha(p.current)}),[p]),g=qi(t),m=eo({contextId:t,text:u}),v=Fi(t,c),y=f((function(e){fa(d).dispatch(e)}),[]),b=h((function(){return Object(s["b"])({publishWhileDragging:Ln,updateDroppableScroll:Pn,updateDroppableIsEnabled:Nn,updateDroppableIsCombineEnabled:jn,collectionStarting:Dn},y)}),[y]),_=zi(),w=h((function(){return Xr(_,b)}),[_,b]),x=h((function(){return Si(Object(a["a"])({scrollWindow:Yr,scrollDroppable:w.scrollDroppable},Object(s["b"])({move:Fn},y)))}),[w.scrollDroppable,y]),C=Qi(t),S=h((function(){return Rr({announce:g,autoScroller:x,dimensionMarshal:w,focusMarshal:C,getResponders:A,styleMarshal:v})}),[g,x,w,C,A,v]);d.current=S;var k=f((function(){var e=fa(d),t=e.getState();"IDLE"!==t.phase&&e.dispatch(Vn())}),[]),E=f((function(){var e=fa(d).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]),O=h((function(){return{isDragging:E,tryAbort:k}}),[E,k]);n(O);var B=f((function(e){return qr(fa(d).getState(),e)}),[]),M=f((function(){return Xt(fa(d).getState())}),[]),T=h((function(){return{marshal:w,focus:C,contextId:t,canLift:B,isMovementAllowed:M,dragHandleUsageInstructionsId:m,registry:_}}),[t,w,m,C,B,M,_]);return da({contextId:t,store:S,registry:_,customSensors:o,enableDefaultSensors:!1!==e.enableDefaultSensors}),Object(r["useEffect"])((function(){return k}),[k]),i.a.createElement(to.Provider,{value:T},i.a.createElement(l["a"],{context:Vi,store:S},e.children))}var Aa=0;function ga(){return h((function(){return""+Aa++}),[])}function ma(e){var t=ga(),n=e.dragHandleUsageInstructions||se.dragHandleUsageInstructions;return i.a.createElement(J,null,(function(r){return i.a.createElement(pa,{nonce:e.nonce,contextId:t,setCallbacks:r,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var va=function(e){return function(t){return e===t}},ya=va("scroll"),ba=va("auto"),_a=(va("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),wa=function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return _a(n,ya)||_a(n,ba)},xa=function(){return!1},Ca=function e(t){return null==t?null:t===document.body?xa()?t:null:t===document.documentElement?null:wa(t)?t:e(t.parentElement)},Sa=function(e){return{x:e.scrollLeft,y:e.scrollTop}},ka=function e(t){if(!t)return!1;var n=window.getComputedStyle(t);return"fixed"===n.position||e(t.parentElement)},Ea=function(e){var t=Ca(e),n=ka(e);return{closestScrollable:t,isFixedOnPage:n}},Oa=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,i=e.isFixedOnPage,o=e.direction,a=e.client,s=e.page,l=e.closest,c=function(){if(!l)return null;var e=l.scrollSize,t=l.client,n=Qr({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:le,displacement:le}}}}(),u="vertical"===o?Ge:Xe,d=Ce({page:s,withPlaceholder:null,axis:u,frame:c}),h={descriptor:t,isCombineEnabled:r,isFixedOnPage:i,axis:u,isEnabled:n,client:a,page:s,frame:c,subject:d};return h},Ba=function(e,t){var n=k(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,i=n.paddingBox.left-t.scrollLeft,o=r+t.scrollHeight,a=i+t.scrollWidth,s={top:r,right:a,bottom:o,left:i},l=g(s,n.border),c=b({borderBox:l,margin:n.margin,border:n.border,padding:n.padding});return c},Ma=function(e){var t=e.ref,n=e.descriptor,r=e.env,i=e.windowScroll,o=e.direction,a=e.isDropDisabled,s=e.isCombineEnabled,l=e.shouldClipSubject,c=r.closestScrollable,u=Ba(t,c),d=C(u,i),h=function(){if(!c)return null;var e=k(c),t={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:e,page:C(e,i),scroll:Sa(c),scrollSize:t,shouldClipSubject:l}}(),f=Oa({descriptor:n,isEnabled:!a,isCombineEnabled:s,isFixedOnPage:r.isFixedOnPage,direction:o,client:u,page:d,closest:h});return f},Ta={passive:!1},Ia={passive:!0},La=function(e){return e.shouldPublishImmediately?Ta:Ia};function Da(e){var t=Object(r["useContext"])(e);return t||Z(!1),t}var Pa=function(e){return e&&e.env.closestScrollable||null};function Na(e){var t=Object(r["useRef"])(null),n=Da(to),i=Ji("droppable"),o=n.registry,a=n.marshal,s=ho(e),l=h((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),c=Object(r["useRef"])(l),u=h((function(){return T((function(e,n){t.current||Z(!1);var r={x:e,y:n};a.updateDroppableScroll(l.id,r)}))}),[l.id,a]),d=f((function(){var e=t.current;return e&&e.env.closestScrollable?Sa(e.env.closestScrollable):le}),[]),p=f((function(){var e=d();u(e.x,e.y)}),[d,u]),A=h((function(){return L(p)}),[p]),g=f((function(){var e=t.current,n=Pa(e);e&&n||Z(!1);var r=e.scrollOptions;r.shouldPublishImmediately?p():A()}),[A,p]),m=f((function(e,r){t.current&&Z(!1);var i=s.current,o=i.getDroppableRef();o||Z(!1);var a=Ea(o),c={ref:o,descriptor:l,env:a,scrollOptions:r};t.current=c;var u=Ma({ref:o,descriptor:l,env:a,windowScroll:e,direction:i.direction,isDropDisabled:i.isDropDisabled,isCombineEnabled:i.isCombineEnabled,shouldClipSubject:!i.ignoreContainerClipping}),d=a.closestScrollable;return d&&(d.setAttribute(Mi.contextId,n.contextId),d.addEventListener("scroll",g,La(c.scrollOptions))),u}),[n.contextId,l,g,s]),v=f((function(){var e=t.current,n=Pa(e);return e&&n||Z(!1),Sa(n)}),[]),y=f((function(){var e=t.current;e||Z(!1);var n=Pa(e);t.current=null,n&&(A.cancel(),n.removeAttribute(Mi.contextId),n.removeEventListener("scroll",g,La(e.scrollOptions)))}),[g,A]),b=f((function(e){var n=t.current;n||Z(!1);var r=Pa(n);r||Z(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),_=h((function(){return{getDimensionAndWatchScroll:m,getScrollWhileDragging:v,dragStopped:y,scroll:b}}),[y,m,v,b]),w=h((function(){return{uniqueId:i,descriptor:l,callbacks:_}}),[_,l,i]);Pi((function(){return c.current=w.descriptor,o.droppable.register(w),function(){t.current&&y(),o.droppable.unregister(w)}}),[_,l,y,w,a,o.droppable]),Pi((function(){t.current&&a.updateDroppableIsEnabled(c.current.id,!e.isDropDisabled)}),[e.isDropDisabled,a]),Pi((function(){t.current&&a.updateDroppableIsCombineEnabled(c.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,a])}function ja(){}var Fa={width:0,height:0,margin:be},Ra=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate;return t||"close"===r?Fa:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},Ua=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,i=Ra({isAnimatingOpenOnMount:t,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:i.width,height:i.height,marginTop:i.margin.top,marginRight:i.margin.right,marginBottom:i.margin.bottom,marginLeft:i.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?ir.placeholder:null}};function Ha(e){var t=Object(r["useRef"])(null),n=f((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),o=e.animate,a=e.onTransitionEnd,s=e.onClose,l=e.contextId,c=Object(r["useState"])("open"===e.animate),u=c[0],d=c[1];Object(r["useEffect"])((function(){return u?"open"!==o?(n(),d(!1),ja):t.current?ja:(t.current=setTimeout((function(){t.current=null,d(!1)})),n):ja}),[o,u,n]);var h=f((function(e){"height"===e.propertyName&&(a(),"close"===o&&s())}),[o,s,a]),p=Ua({isAnimatingOpenOnMount:u,animate:e.animate,placeholder:e.placeholder});return i.a.createElement(e.placeholder.tagName,{style:p,"data-rbd-placeholder-context-id":l,onTransitionEnd:h,ref:e.innerRef})}var Qa=i.a.memo(Ha),Ka=i.a.createContext(null);function za(e){e&&Ui(e)||Z(!1)}function Va(e){return"boolean"===typeof e}function Wa(e,t){t.forEach((function(t){return t(e)}))}var Ga=[function(e){var t=e.props;t.droppableId||Z(!1),"string"!==typeof t.droppableId&&Z(!1)},function(e){var t=e.props;Va(t.isDropDisabled)||Z(!1),Va(t.isCombineEnabled)||Z(!1),Va(t.ignoreContainerClipping)||Z(!1)},function(e){var t=e.getDroppableRef;za(t())}],Xa=[function(e){var t=e.props,n=e.getPlaceholderRef;if(t.placeholder)n()}],qa=[function(e){var t=e.props;t.renderClone||Z(!1)},function(e){var t=e.getPlaceholderRef;t()&&Z(!1)}];function Ya(e){co((function(){Wa(e,Ga),"standard"===e.props.mode&&Wa(e,Xa),"virtual"===e.props.mode&&Wa(e,qa)}))}var Za=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r))||this,t.state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}Object(o["a"])(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}};var n=t.prototype;return n.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(i.a.PureComponent),Ja={dragging:5e3,dropAnimating:4500},$a=function(e,t){return t?ir.drop(t.duration):e?ir.snap:ir.fluid},es=function(e,t){return e?t?tr.opacity.drop:tr.opacity.combining:null},ts=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode};function ns(e){var t=e.dimension,n=t.client,r=e.offset,i=e.combineWith,o=e.dropping,a=Boolean(i),s=ts(e),l=Boolean(o),c=l?ar.drop(r,a):ar.moveTo(r),u={position:"fixed",top:n.marginBox.top,left:n.marginBox.left,boxSizing:"border-box",width:n.borderBox.width,height:n.borderBox.height,transition:$a(s,o),transform:c,opacity:es(a,l),zIndex:l?Ja.dropAnimating:Ja.dragging,pointerEvents:"none"};return u}function rs(e){return{transform:ar.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function is(e){return"DRAGGING"===e.type?ns(e):rs(e)}function os(e,t,n){void 0===n&&(n=le);var r=window.getComputedStyle(t),i=t.getBoundingClientRect(),o=S(i,r),a=C(o,n),s={client:o,tagName:t.tagName.toLowerCase(),display:r.display},l={x:o.marginBox.width,y:o.marginBox.height},c={descriptor:e,placeholder:s,displaceBy:l,client:o,page:a};return c}function as(e){var t=Ji("draggable"),n=e.descriptor,i=e.registry,o=e.getDraggableRef,a=e.canDragInteractiveElements,s=e.shouldRespectForcePress,l=e.isEnabled,c=h((function(){return{canDragInteractiveElements:a,shouldRespectForcePress:s,isEnabled:l}}),[a,l,s]),u=f((function(e){var t=o();return t||Z(!1),os(n,t,e)}),[n,o]),d=h((function(){return{uniqueId:t,descriptor:n,options:c,getDimension:u}}),[n,u,c,t]),p=Object(r["useRef"])(d),A=Object(r["useRef"])(!0);Pi((function(){return i.draggable.register(p.current),function(){return i.draggable.unregister(p.current)}}),[i.draggable]),Pi((function(){if(A.current)A.current=!1;else{var e=p.current;p.current=d,i.draggable.update(d,e)}}),[d,i.draggable])}function ss(e,t,n){co((function(){var r=e.draggableId;r||Z(!1),"string"!==typeof r&&Z(!1),ke(e.index)||Z(!1),"DRAGGING"!==e.mapped.type&&(za(n()),e.isEnabled&&(Hi(t,r)||Z(!1)))}))}function ls(e){lo((function(){var t=Object(r["useRef"])(e);co((function(){e!==t.current&&Z(!1)}),[e])}))}function cs(e){e.preventDefault()}function us(e){var t=Object(r["useRef"])(null),n=f((function(e){t.current=e}),[]),i=f((function(){return t.current}),[]),o=Da(to),a=o.contextId,s=o.dragHandleUsageInstructionsId,l=o.registry,c=Da(Ka),u=c.type,d=c.droppableId,p=h((function(){return{id:e.draggableId,index:e.index,type:u,droppableId:d}}),[e.draggableId,e.index,u,d]),A=e.children,g=e.draggableId,m=e.isEnabled,v=e.shouldRespectForcePress,y=e.canDragInteractiveElements,b=e.isClone,_=e.mapped,w=e.dropAnimationFinished;if(ss(e,a,i),ls(b),!b){var x=h((function(){return{descriptor:p,registry:l,getDraggableRef:i,canDragInteractiveElements:y,shouldRespectForcePress:v,isEnabled:m}}),[p,l,i,y,v,m]);as(x)}var C=h((function(){return m?{tabIndex:0,role:"button","aria-describedby":s,"data-rbd-drag-handle-draggable-id":g,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:cs}:null}),[a,s,g,m]),S=f((function(e){"DRAGGING"===_.type&&_.dropping&&"transform"===e.propertyName&&w()}),[w,_]),k=h((function(){var e=is(_),t="DRAGGING"===_.type&&_.dropping?S:null,r={innerRef:n,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":g,style:e,onTransitionEnd:t},dragHandleProps:C};return r}),[a,C,g,_,S,n]),E=h((function(){return{draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}}),[p.droppableId,p.id,p.index,p.type]);return A(k,_.snapshot,E)}var ds=function(e,t){return e===t},hs=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null},fs=function(e){return e.combine?e.combine.draggableId:null},ps=function(e){return e.at&&"COMBINE"===e.at.type?e.at.combine.draggableId:null};function As(){var e=T((function(e,t){return{x:e,y:t}})),t=T((function(e,t,n,r,i){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(i),dropAnimation:i,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=T((function(e,n,r,i,o,a,s){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:o,combineWith:a,mode:n,offset:e,dimension:r,forceShouldAnimate:s,snapshot:t(n,i,o,a,null)}}})),r=function(r,i){if(r.isDragging){if(r.critical.draggable.id!==i.draggableId)return null;var o=r.current.client.offset,a=r.dimensions.draggables[i.draggableId],s=Vt(r.impact),l=ps(r.impact),c=r.forceShouldAnimate;return n(e(o.x,o.y),r.movementMode,a,i.isClone,s,l,c)}if("DROP_ANIMATING"===r.phase){var u=r.completed;if(u.result.draggableId!==i.draggableId)return null;var d=i.isClone,h=r.dimensions.draggables[i.draggableId],f=u.result,p=f.mode,A=hs(f),g=fs(f),m=r.dropDuration,v={duration:m,curve:er.drop,moveTo:r.newHomeClientOffset,opacity:g?tr.opacity.drop:null,scale:g?tr.scale.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:h,dropping:v,draggingOver:A,combineWith:g,mode:p,forceShouldAnimate:null,snapshot:t(p,d,A,g,v)}}}return null};return r}function gs(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var ms={mapped:{type:"SECONDARY",offset:le,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:gs(null)}};function vs(){var e=T((function(e,t){return{x:e,y:t}})),t=T(gs),n=T((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),r=function(e){return e?n(le,e,!0):null},i=function(t,i,o,a){var s=o.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),c=je(o),u=c&&c.draggableId===t?i:null;if(!s){if(!l)return r(u);if(o.displaced.invisible[t])return null;var d=he(a.displacedBy.point),h=e(d.x,d.y);return n(h,u,!0)}if(l)return r(u);var f=o.displacedBy.point,p=e(f.x,f.y);return n(p,u,s.shouldAnimate)},o=function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:i(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:i(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null};return o}var ys=function(){var e=As(),t=vs(),n=function(n,r){return e(n,r)||t(n,r)||ms};return n},bs={dropAnimationFinished:Yn},_s=Object(l["c"])(ys,bs,null,{context:Vi,pure:!0,areStatePropsEqual:ds})(us);function ws(e){var t=Da(Ka),n=t.isUsingCloneFor;return n!==e.draggableId||e.isClone?i.a.createElement(_s,e):null}function xs(e){var t="boolean"!==typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),r=Boolean(e.shouldRespectForcePress);return i.a.createElement(ws,Object(a["a"])({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:r}))}function Cs(e){var t=Object(r["useContext"])(to);t||Z(!1);var n=t.contextId,o=t.isMovementAllowed,a=Object(r["useRef"])(null),s=Object(r["useRef"])(null),l=e.children,c=e.droppableId,u=e.type,d=e.mode,p=e.direction,A=e.ignoreContainerClipping,g=e.isDropDisabled,m=e.isCombineEnabled,v=e.snapshot,y=e.useClone,b=e.updateViewportMaxScroll,_=e.getContainerForClone,w=f((function(){return a.current}),[]),x=f((function(e){a.current=e}),[]),C=f((function(){return s.current}),[]),S=f((function(e){s.current=e}),[]);Ya({props:e,getDroppableRef:w,getPlaceholderRef:C});var k=f((function(){o()&&b({maxScroll:zr()})}),[o,b]);Na({droppableId:c,type:u,mode:d,direction:p,isDropDisabled:g,isCombineEnabled:m,ignoreContainerClipping:A,getDroppableRef:w});var E=i.a.createElement(Za,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,r=e.data,o=e.animate;return i.a.createElement(Qa,{placeholder:r,onClose:t,innerRef:S,animate:o,contextId:n,onTransitionEnd:k})})),O=h((function(){return{innerRef:x,placeholder:E,droppableProps:{"data-rbd-droppable-id":c,"data-rbd-droppable-context-id":n}}}),[n,c,E,x]),B=y?y.dragging.draggableId:null,M=h((function(){return{droppableId:c,type:u,isUsingCloneFor:B}}),[c,B,u]);function T(){if(!y)return null;var e=y.dragging,t=y.render,n=i.a.createElement(ws,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(n,r){return t(n,r,e)}));return P.a.createPortal(n,_())}return i.a.createElement(Ka.Provider,{value:M},l(O,v),T())}var Ss=function(e,t){return e===t.droppable.type},ks=function(e,t){return t.draggables[e.draggable.id]},Es=function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=Object(a["a"])({},e,{shouldAnimatePlaceholder:!1}),n=T((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=T((function(r,i,o,a,s,l){var c=s.descriptor.id,u=s.descriptor.droppableId===r;if(u){var d=l?{render:l,dragging:n(s.descriptor)}:null,h={isDraggingOver:o,draggingOverWith:o?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!1,snapshot:h,useClone:d}}if(!i)return t;if(!a)return e;var f={isDraggingOver:o,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!0,snapshot:f,useClone:null}})),i=function(n,i){var o=i.droppableId,a=i.type,s=!i.isDropDisabled,l=i.renderClone;if(n.isDragging){var c=n.critical;if(!Ss(a,c))return t;var u=ks(c,n.dimensions),d=Vt(n.impact)===o;return r(o,s,d,d,u,l)}if("DROP_ANIMATING"===n.phase){var h=n.completed;if(!Ss(a,h.critical))return t;var f=ks(h.critical,n.dimensions);return r(o,s,hs(h.result)===o,Vt(h.impact)===o,f,l)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var p=n.completed;if(!Ss(a,p.critical))return t;var A=Vt(p.impact)===o,g=Boolean(p.impact.at&&"COMBINE"===p.impact.at.type),m=p.critical.droppable.id===o;return A?g?e:t:m?e:t}return t};return i},Os={updateViewportMaxScroll:Un};function Bs(){return document.body||Z(!1),document.body}var Ms={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Bs},Ts=Object(l["c"])(Es,Os,null,{context:Vi,pure:!0,areStatePropsEqual:ds})(Cs);Ts.defaultProps=Ms},ni6a:function(e,t,n){var r=n("pzxd"),i=n("mFDi"),o=n("gut8"),a=o.WILL_BE_RESTORED,s=new i,l=function(){};l.prototype={constructor:l,drawRectText:function(e,t){var n=this.style;t=n.textRect||t,this.__dirty&&r.normalizeTextStyle(n,!0);var i=n.text;if(null!=i&&(i+=""),r.needDrawText(i,n)){e.save();var o=this.transform;n.transformText?this.setTransform(e):o&&(s.copy(t),s.applyTransform(o),t=s),r.renderText(this,e,i,n,t,a),e.restore()}}};var c=l;e.exports=c},nkfE:function(e,t,n){var r=n("bYtY"),i=n("ca2m"),o=n("bLfw"),a=n("+TT/"),s=a.getLayoutParams,l=a.mergeLayoutParam,c=n("jkPA"),u=["value","category","time","log"];function d(e,t,n,a){r.each(u,(function(o){t.extend({type:e+"Axis."+o,mergeDefaultAndTheme:function(t,i){var a=this.layoutMode,c=a?s(t):{},u=i.getTheme();r.merge(t,u.get(o+"Axis")),r.merge(t,this.getDefaultOption()),t.type=n(e,t),a&&l(t,c,a)},optionUpdated:function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=c.createByAxisModel(this))},getCategories:function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:r.mergeAll([{},i[o+"Axis"],a],!0)})})),o.registerSubTypeDefaulter(e+"Axis",r.curry(n,e))}e.exports=d},noeP:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("UOVi");r.registerAction("dataZoom",(function(e,t){var n=o.createLinkedNodesFinder(i.bind(t.eachComponent,t,"dataZoom"),o.eachAxisDim,(function(e,t){return e.get(t.axisIndex)})),r=[];t.eachComponent({mainType:"dataZoom",query:e},(function(e,t){r.push.apply(r,n(e).nodes)})),i.each(r,(function(t,n){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))},"o/2+":function(e,t,n){"use strict";var r=n("q1tI"),i=Object(r["createContext"])({});t["a"]=i},o40c:function(e,t,n){var r=n("IwbS"),i=n("OS9S"),o=n("loD1"),a=n("aKvl"),s=r.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(e,t){var n=t.segs,r=t.curveness;if(t.polyline)for(var i=0;i<n.length;){var o=n[i++];if(o>0){e.moveTo(n[i++],n[i++]);for(var a=1;a<o;a++)e.lineTo(n[i++],n[i++])}}else for(i=0;i<n.length;){var s=n[i++],l=n[i++],c=n[i++],u=n[i++];if(e.moveTo(s,l),r>0){var d=(s+c)/2-(l-u)*r,h=(l+u)/2-(c-s)*r;e.quadraticCurveTo(d,h,c,u)}else e.lineTo(c,u)}},findDataIndex:function(e,t){var n=this.shape,r=n.segs,i=n.curveness;if(n.polyline)for(var s=0,l=0;l<r.length;){var c=r[l++];if(c>0)for(var u=r[l++],d=r[l++],h=1;h<c;h++){var f=r[l++],p=r[l++];if(o.containStroke(u,d,f,p))return s}s++}else for(s=0,l=0;l<r.length;){u=r[l++],d=r[l++],f=r[l++],p=r[l++];if(i>0){var A=(u+f)/2-(d-p)*i,g=(d+p)/2-(f-u)*i;if(a.containStroke(u,d,A,g,f,p))return s}else if(o.containStroke(u,d,f,p))return s;s++}return-1}});function l(){this.group=new r.Group}var c=l.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(e){this.group.removeAll();var t=new s({rectHover:!0,cursor:"default"});t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},c.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>5e5?(this._incremental||(this._incremental=new i({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(e,t){var n=new s;n.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(n,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=e.start,this.group.add(n))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._setCommon=function(e,t,n){var r=t.hostModel;e.setShape({polyline:r.get("polyline"),curveness:r.get("lineStyle.curveness")}),e.useStyle(r.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var i=t.getVisual("color");i&&e.setStyle("stroke",i),e.setStyle("fill"),n||(e.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>0&&(e.dataIndex=n+e.__startIndex)})))},c._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var u=l;e.exports=u},oBaM:function(e,t,n){var r=n("T4UG"),i=n("5GtS"),o=n("bYtY"),a=n("7aKB"),s=a.encodeHTML,l=n("xKMd"),c=r.extend({type:"series.radar",dependencies:["radar"],init:function(e){c.superApply(this,"init",arguments),this.legendVisualProvider=new l(o.bind(this.getData,this),o.bind(this.getRawData,this))},getInitialData:function(e,t){return i(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(e){var t=this.getData(),n=this.coordinateSystem,r=n.getIndicatorAxes(),i=this.getData().getName(e);return s(""===i?this.name:i)+"<br/>"+o.map(r,(function(n,r){var i=t.get(t.mapDimension(n.dim),e);return s(n.name+" : "+i)})).join("<br />")},getTooltipPosition:function(e){if(null!=e)for(var t=this.getData(),n=this.coordinateSystem,r=t.getValues(o.map(n.dimensions,(function(e){return t.mapDimension(e)})),e,!0),i=0,a=r.length;i<a;i++)if(!isNaN(r[i])){var s=n.getIndicatorAxes();return n.coordToPoint(s[i].dataToCoord(r[i]),i)}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),u=c;e.exports=u},oE7X:function(e,t,n){var r=n("bLfw");r.registerSubTypeDefaulter("timeline",(function(){return"slider"}))},oIFs:function(e,t,n){},oVpE:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("mFDi"),a=n("6GrX"),s=a.calculateTextPosition,l=i.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r+o),e.lineTo(n-i,r+o),e.closePath()}}),c=i.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r),e.lineTo(n,r+o),e.lineTo(n-i,r),e.closePath()}}),u=i.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,i=t.width/5*3,o=Math.max(i,t.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,c=Math.asin(s/a),u=Math.cos(c)*a,d=Math.sin(c),h=Math.cos(c),f=.6*a,p=.7*a;e.moveTo(n-u,l+s),e.arc(n,l,a,Math.PI-c,2*Math.PI+c),e.bezierCurveTo(n+u-d*f,l+s+h*f,n,r-p,n,r),e.bezierCurveTo(n,r-p,n-u+d*f,l+s+h*f,n-u,l+s),e.closePath()}}),d=i.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,i=t.x,o=t.y,a=r/3*2;e.moveTo(i,o),e.lineTo(i+a,o+n),e.lineTo(i,o+n/4*3),e.lineTo(i-a,o+n),e.lineTo(i,o),e.closePath()}}),h={line:i.Line,rect:i.Rect,roundRect:i.Rect,square:i.Rect,circle:i.Circle,diamond:c,pin:u,arrow:d,triangle:l},f={line:function(e,t,n,r,i){i.x1=e,i.y1=t+r/2,i.x2=e+n,i.y2=t+r/2},rect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r},roundRect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(e,t,n,r,i){var o=Math.min(n,r);i.x=e,i.y=t,i.width=o,i.height=o},circle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.r=Math.min(n,r)/2},diamond:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r},pin:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},arrow:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},triangle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r}},p={};r.each(h,(function(e,t){p[t]=new e}));var A=i.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=s(e,t,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===t.textPosition&&(r.y=n.y+.4*n.height),r},buildPath:function(e,t,n){var r=t.symbolType;if("none"!==r){var i=p[r];i||(r="rect",i=p[r]),f[r](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,n)}}});function g(e,t){if("image"!==this.type){var n=this.style,r=this.shape;r&&"line"===r.symbolType?n.stroke=e:this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff"):(n.fill&&(n.fill=e),n.stroke&&(n.stroke=e)),this.dirty(!1)}}function m(e,t,n,r,a,s,l){var c,u=0===e.indexOf("empty");return u&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),c=0===e.indexOf("image://")?i.makeImage(e.slice(8),new o(t,n,r,a),l?"center":"cover"):0===e.indexOf("path://")?i.makePath(e.slice(7),{},new o(t,n,r,a),l?"center":"cover"):new A({shape:{symbolType:e,x:t,y:n,width:r,height:a}}),c.__isEmptyBrush=u,c.setColor=g,c.setColor(s),c}t.createSymbol=m},oY9F:function(e,t,n){var r=n("OlYY"),i=r.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});e.exports=i},or5M:function(e,t,n){var r=n("1hJj"),i=n("QoRX"),o=n("xYSL"),a=1,s=2;function l(e,t,n,l,c,u){var d=n&a,h=e.length,f=t.length;if(h!=f&&!(d&&f>h))return!1;var p=u.get(e),A=u.get(t);if(p&&A)return p==t&&A==e;var g=-1,m=!0,v=n&s?new r:void 0;u.set(e,t),u.set(t,e);while(++g<h){var y=e[g],b=t[g];if(l)var _=d?l(b,y,g,t,e,u):l(y,b,g,e,t,u);if(void 0!==_){if(_)continue;m=!1;break}if(v){if(!i(t,(function(e,t){if(!o(v,t)&&(y===e||c(y,e,n,l,u)))return v.push(t)}))){m=!1;break}}else if(y!==b&&!c(y,b,n,l,u)){m=!1;break}}return u["delete"](e),u["delete"](t),m}e.exports=l},osHv:function(e,t,n){(function(e){e(n("VrN/"))})((function(e){"use strict";var t=e.Pos;function n(e,t){return e.line-t.line||e.ch-t.ch}var r="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",i=r+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",o=new RegExp("<(/?)(["+r+"]["+i+"]*)","g");function a(e,t,n,r){this.line=t,this.ch=n,this.cm=e,this.text=e.getLine(t),this.min=r?Math.max(r.from,e.firstLine()):e.firstLine(),this.max=r?Math.min(r.to-1,e.lastLine()):e.lastLine()}function s(e,n){var r=e.cm.getTokenTypeAt(t(e.line,n));return r&&/\btag\b/.test(r)}function l(e){if(!(e.line>=e.max))return e.ch=0,e.text=e.cm.getLine(++e.line),!0}function c(e){if(!(e.line<=e.min))return e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0}function u(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(l(e))continue;return}if(s(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t+1}}function d(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(c(e))continue;return}if(s(e,t+1)){o.lastIndex=t,e.ch=t;var n=o.exec(e.text);if(n&&n.index==t)return n}else e.ch=t}}function h(e){for(;;){o.lastIndex=e.ch;var t=o.exec(e.text);if(!t){if(l(e))continue;return}if(s(e,t.index+1))return e.ch=t.index+t[0].length,t;e.ch=t.index+1}}function f(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(c(e))continue;return}if(s(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t}}function p(e,n){for(var r=[];;){var i,o=h(e),a=e.line,s=e.ch-(o?o[0].length:0);if(!o||!(i=u(e)))return;if("selfClose"!=i)if(o[1]){for(var l=r.length-1;l>=0;--l)if(r[l]==o[2]){r.length=l;break}if(l<0&&(!n||n==o[2]))return{tag:o[2],from:t(a,s),to:t(e.line,e.ch)}}else r.push(o[2])}}function A(e,n){for(var r=[];;){var i=f(e);if(!i)return;if("selfClose"!=i){var o=e.line,a=e.ch,s=d(e);if(!s)return;if(s[1])r.push(s[2]);else{for(var l=r.length-1;l>=0;--l)if(r[l]==s[2]){r.length=l;break}if(l<0&&(!n||n==s[2]))return{tag:s[2],from:t(e.line,e.ch),to:t(o,a)}}}else d(e)}}e.registerHelper("fold","xml",(function(e,r){for(var i=new a(e,r.line,0);;){var o=h(i);if(!o||i.line!=r.line)return;var s=u(i);if(!s)return;if(!o[1]&&"selfClose"!=s){var l=t(i.line,i.ch),c=p(i,o[2]);return c&&n(c.from,l)>0?{from:l,to:c.from}:null}}})),e.findMatchingTag=function(e,r,i){var o=new a(e,r.line,r.ch,i);if(-1!=o.text.indexOf(">")||-1!=o.text.indexOf("<")){var s=u(o),l=s&&t(o.line,o.ch),c=s&&d(o);if(s&&c&&!(n(o,r)>0)){var h={from:t(o.line,o.ch),to:l,tag:c[2]};return"selfClose"==s?{open:h,close:null,at:"open"}:c[1]?{open:A(o,c[2]),close:h,at:"close"}:(o=new a(e,l.line,l.ch,i),{open:h,close:p(o,c[2]),at:"open"})}}},e.findEnclosingTag=function(e,t,n,r){for(var i=new a(e,t.line,t.ch,n);;){var o=A(i,r);if(!o)break;var s=new a(e,t.line,t.ch,n),l=p(s,o.tag);if(l)return{open:o,close:l}}},e.scanForClosingTag=function(e,t,n,r){var i=new a(e,t.line,t.ch,r?{from:0,to:r}:null);return p(i,n)}}))},ozfa:function(e,t,n){"use strict";n("cIOH"),n("KxFI")},"p+If":function(e,t,n){var r=n("ProS");n("cpOr"),n("rkZ5");var i=n("ZYIC"),o=n("7ph2");r.registerLayout(i),r.registerVisual(o)},"p/La":function(e,t){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function r(e,t){"china"===e&&"\u53f0\u6e7e"===t.name&&t.geometries.push({type:"polygon",exterior:n[0]})}e.exports=r},p1MT:function(e,t,n){var r=n("Hw7h"),i=n("IwbS"),o=n("6Ic6"),a=n("OELB"),s=a.parsePercent,l=a.round,c=a.linearMap;function u(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i),a=s(n[0],t.getWidth()),l=s(n[1],t.getHeight()),c=s(e.get("radius"),o/2);return{cx:a,cy:l,r:c}}function d(e,t){return t&&("string"===typeof t?e=t.replace("{value}",null!=e?e:""):"function"===typeof t&&(e=t(e))),e}var h=2*Math.PI,f=o.extend({type:"gauge",render:function(e,t,n){this.group.removeAll();var r=e.get("axisLine.lineStyle.color"),i=u(e,n);this._renderMain(e,t,n,r,i)},dispose:function(){},_renderMain:function(e,t,n,r,o){for(var a=this.group,s=e.getModel("axisLine"),l=s.getModel("lineStyle"),c=e.get("clockwise"),u=-e.get("startAngle")/180*Math.PI,d=-e.get("endAngle")/180*Math.PI,f=(d-u)%h,p=u,A=l.get("width"),g=s.get("show"),m=0;g&&m<r.length;m++){var v=Math.min(Math.max(r[m][0],0),1),y=(d=u+f*v,new i.Sector({shape:{startAngle:p,endAngle:d,cx:o.cx,cy:o.cy,clockwise:c,r0:o.r-A,r:o.r},silent:!0}));y.setStyle({fill:r[m][1]}),y.setStyle(l.getLineStyle(["color","borderWidth","borderColor"])),a.add(y),p=d}var b=function(e){if(e<=0)return r[0][1];for(var t=0;t<r.length;t++)if(r[t][0]>=e&&(0===t?0:r[t-1][0])<e)return r[t][1];return r[t-1][1]};if(!c){var _=u;u=d,d=_}this._renderTicks(e,t,n,b,o,u,d,c),this._renderPointer(e,t,n,b,o,u,d,c),this._renderTitle(e,t,n,b,o),this._renderDetail(e,t,n,b,o)},_renderTicks:function(e,t,n,r,o,a,c,u){for(var h=this.group,f=o.cx,p=o.cy,A=o.r,g=+e.get("min"),m=+e.get("max"),v=e.getModel("splitLine"),y=e.getModel("axisTick"),b=e.getModel("axisLabel"),_=e.get("splitNumber"),w=y.get("splitNumber"),x=s(v.get("length"),A),C=s(y.get("length"),A),S=a,k=(c-a)/_,E=k/w,O=v.getModel("lineStyle").getLineStyle(),B=y.getModel("lineStyle").getLineStyle(),M=0;M<=_;M++){var T=Math.cos(S),I=Math.sin(S);if(v.get("show")){var L=new i.Line({shape:{x1:T*A+f,y1:I*A+p,x2:T*(A-x)+f,y2:I*(A-x)+p},style:O,silent:!0});"auto"===O.stroke&&L.setStyle({stroke:r(M/_)}),h.add(L)}if(b.get("show")){var D=d(l(M/_*(m-g)+g),b.get("formatter")),P=b.get("distance"),N=r(M/_);h.add(new i.Text({style:i.setTextStyle({},b,{text:D,x:T*(A-x-P)+f,y:I*(A-x-P)+p,textVerticalAlign:I<-.4?"top":I>.4?"bottom":"middle",textAlign:T<-.4?"left":T>.4?"right":"center"},{autoColor:N}),silent:!0}))}if(y.get("show")&&M!==_){for(var j=0;j<=w;j++){T=Math.cos(S),I=Math.sin(S);var F=new i.Line({shape:{x1:T*A+f,y1:I*A+p,x2:T*(A-C)+f,y2:I*(A-C)+p},silent:!0,style:B});"auto"===B.stroke&&F.setStyle({stroke:r((M+j/w)/_)}),h.add(F),S+=E}S-=E}else S+=k}},_renderPointer:function(e,t,n,o,a,l,u,d){var h=this.group,f=this._data;if(e.get("pointer.show")){var p=[+e.get("min"),+e.get("max")],A=[l,u],g=e.getData(),m=g.mapDimension("value");g.diff(f).add((function(t){var n=new r({shape:{angle:l}});i.initProps(n,{shape:{angle:c(g.get(m,t),p,A,!0)}},e),h.add(n),g.setItemGraphicEl(t,n)})).update((function(t,n){var r=f.getItemGraphicEl(n);i.updateProps(r,{shape:{angle:c(g.get(m,t),p,A,!0)}},e),h.add(r),g.setItemGraphicEl(t,r)})).remove((function(e){var t=f.getItemGraphicEl(e);h.remove(t)})).execute(),g.eachItemGraphicEl((function(e,t){var n=g.getItemModel(t),r=n.getModel("pointer");e.setShape({x:a.cx,y:a.cy,width:s(r.get("width"),a.r),r:s(r.get("length"),a.r)}),e.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",o(c(g.get(m,t),p,[0,1],!0))),i.setHoverStyle(e,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=g}else f&&f.eachItemGraphicEl((function(e){h.remove(e)}))},_renderTitle:function(e,t,n,r,o){var a=e.getData(),l=a.mapDimension("value"),u=e.getModel("title");if(u.get("show")){var d=u.get("offsetCenter"),h=o.cx+s(d[0],o.r),f=o.cy+s(d[1],o.r),p=+e.get("min"),A=+e.get("max"),g=e.getData().get(l,0),m=r(c(g,[p,A],[0,1],!0));this.group.add(new i.Text({silent:!0,style:i.setTextStyle({},u,{x:h,y:f,text:a.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:m,forceRich:!0})}))}},_renderDetail:function(e,t,n,r,o){var a=e.getModel("detail"),l=+e.get("min"),u=+e.get("max");if(a.get("show")){var h=a.get("offsetCenter"),f=o.cx+s(h[0],o.r),p=o.cy+s(h[1],o.r),A=s(a.get("width"),o.r),g=s(a.get("height"),o.r),m=e.getData(),v=m.get(m.mapDimension("value"),0),y=r(c(v,[l,u],[0,1],!0));this.group.add(new i.Text({silent:!0,style:i.setTextStyle({},a,{x:f,y:p,text:d(v,a.get("formatter")),textWidth:isNaN(A)?null:A,textHeight:isNaN(g)?null:g,textAlign:"center",textVerticalAlign:"middle"},{autoColor:y,forceRich:!0})}))}}}),p=f;e.exports=p},"p77/":function(e,t,n){},pC0b:function(e,t,n){"use strict";n("cIOH"),n("xzDV"),n("5Dmo")},"pED+":function(e,t,n){},pG52:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("WXVj"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},pLH3:function(e,t,n){var r=n("ProS");n("ALo7"),n("TWL2");var i=n("mOdp"),o=n("JLnu"),a=n("0/Rx");r.registerVisual(i("funnel")),r.registerLayout(o),r.registerProcessor(a("funnel"))},pP6R:function(e,t,n){var r=n("ProS"),i="\0_ec_interaction_mutex";function o(e,t,n){var r=l(e);r[t]=n}function a(e,t,n){var r=l(e),i=r[t];i===n&&(r[t]=null)}function s(e,t){return!!l(e)[t]}function l(e){return e[i]||(e[i]={})}r.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=o,t.release=a,t.isTaken=s},pSRY:function(e,t,n){var r=n("QkVE");function i(e){return r(this,e).has(e)}e.exports=i},pmaE:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("DEFe"),s="__seriesMapHighDown",l="__seriesMapCallKey",c=r.extendChartView({type:"map",render:function(e,t,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var i=this.group;if(i.removeAll(),!e.getHostGeoModel()){if(r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===e.id){o=this._mapDraw;o&&i.add(o.group)}else if(e.needsDrawMap){var o=this._mapDraw||new a(n,!0);i.add(o.group),o.draw(e,t,n,this,r),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},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,t,n){var r=e.originalData,a=this.group;r.each(r.mapDimension("value"),(function(t,n){if(!isNaN(t)){var c=r.getItemLayout(n);if(c&&c.point){var h=c.point,f=c.offset,p=new o.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:h[0]+9*f,cy:h[1],r:3},silent:!0,z2:8+(f?0:o.Z2_EMPHASIS_LIFT+1)});if(!f){var A=e.mainSeries.getData(),g=r.getName(n),m=A.indexOfName(g),v=r.getItemModel(n),y=v.getModel("label"),b=v.getModel("emphasis.label"),_=A.getItemGraphicEl(m),w=i.retrieve2(e.getFormattedLabel(m,"normal"),g),x=i.retrieve2(e.getFormattedLabel(m,"emphasis"),w),C=_[s],S=Math.random();if(!C){C=_[s]={};var k=i.curry(u,!0),E=i.curry(u,!1);_.on("mouseover",k).on("mouseout",E).on("emphasis",k).on("normal",E)}_[l]=S,i.extend(C,{recordVersion:S,circle:p,labelModel:y,hoverLabelModel:b,emphasisText:x,normalText:w}),d(C,!1)}a.add(p)}}}))}});function u(e){var t=this[s];t&&t.recordVersion===this[l]&&d(t,e)}function d(e,t){var n=e.circle,r=e.labelModel,i=e.hoverLabelModel,a=e.emphasisText,s=e.normalText;t?(n.style.extendFrom(o.setTextStyle({},i,{text:i.get("show")?a:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=o.Z2_EMPHASIS_LIFT):(o.setTextStyle(n.style,r,{text:r.get("show")?s:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}e.exports=c},pwpV:function(e,t,n){},pzxd:function(e,t,n){var r=n("bYtY"),i=r.retrieve2,o=r.retrieve3,a=r.each,s=r.normalizeCssArray,l=r.isString,c=r.isObject,u=n("6GrX"),d=n("VpOo"),h=n("Xnb7"),f=n("fW2E"),p=n("gut8"),A=p.ContextCachedBy,g=p.WILL_BE_RESTORED,m=u.DEFAULT_FONT,v={left:1,right:1,center:1},y={top:1,bottom:1,middle:1},b=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],_={},w={};function x(e){return C(e),a(e.rich,C),e}function C(e){if(e){e.font=u.makeFont(e);var t=e.textAlign;"middle"===t&&(t="center"),e.textAlign=null==t||v[t]?t:"left";var n=e.textVerticalAlign||e.textBaseline;"center"===n&&(n="middle"),e.textVerticalAlign=null==n||y[n]?n:"top";var r=e.textPadding;r&&(e.textPadding=s(e.textPadding))}}function S(e,t,n,r,i,o){r.rich?E(e,t,n,r,i,o):k(e,t,n,r,i,o)}function k(e,t,n,r,i,o){"use strict";var a,s=T(r),l=!1,c=t.__attrCachedBy===A.PLAIN_TEXT;o!==g?(o&&(a=o.style,l=!s&&c&&a),t.__attrCachedBy=s?A.NONE:A.PLAIN_TEXT):c&&(t.__attrCachedBy=A.NONE);var d=r.font||m;l&&d===(a.font||m)||(t.font=d);var h=e.__computedFont;e.__styleFont!==d&&(e.__styleFont=d,h=e.__computedFont=t.font);var p=r.textPadding,v=r.textLineHeight,y=e.__textCotentBlock;y&&!e.__dirtyText||(y=e.__textCotentBlock=u.parsePlainText(n,h,p,v,r.truncate));var _=y.outerHeight,x=y.lines,C=y.lineHeight,S=D(w,e,r,i),k=S.baseX,E=S.baseY,O=S.textAlign||"left",M=S.textVerticalAlign;B(t,r,i,k,E);var L=u.adjustTextY(E,_,M),P=k,F=L;if(s||p){var U=u.getWidth(n,h),H=U;p&&(H+=p[1]+p[3]);var Q=u.adjustTextX(k,H,O);s&&I(e,t,r,Q,L,H,_),p&&(P=R(k,O,p),F+=p[0])}t.textAlign=O,t.textBaseline="middle",t.globalAlpha=r.opacity||1;for(var K=0;K<b.length;K++){var z=b[K],V=z[0],W=z[1],G=r[V];l&&G===a[V]||(t[W]=f(t,W,G||z[2]))}F+=C/2;var X=r.textStrokeWidth,q=l?a.textStrokeWidth:null,Y=!l||X!==q,Z=!l||Y||r.textStroke!==a.textStroke,J=N(r.textStroke,X),$=j(r.textFill);if(J&&(Y&&(t.lineWidth=X),Z&&(t.strokeStyle=J)),$&&(l&&r.textFill===a.textFill||(t.fillStyle=$)),1===x.length)J&&t.strokeText(x[0],P,F),$&&t.fillText(x[0],P,F);else for(K=0;K<x.length;K++)J&&t.strokeText(x[K],P,F),$&&t.fillText(x[K],P,F),F+=C}function E(e,t,n,r,i,o){o!==g&&(t.__attrCachedBy=A.NONE);var a=e.__textCotentBlock;a&&!e.__dirtyText||(a=e.__textCotentBlock=u.parseRichText(n,r)),O(e,t,a,r,i)}function O(e,t,n,r,i){var o=n.width,a=n.outerWidth,s=n.outerHeight,l=r.textPadding,c=D(w,e,r,i),d=c.baseX,h=c.baseY,f=c.textAlign,p=c.textVerticalAlign;B(t,r,i,d,h);var A=u.adjustTextX(d,a,f),g=u.adjustTextY(h,s,p),m=A,v=g;l&&(m+=l[3],v+=l[0]);var y=m+o;T(r)&&I(e,t,r,A,g,a,s);for(var b=0;b<n.lines.length;b++){var _,x=n.lines[b],C=x.tokens,S=C.length,k=x.lineHeight,E=x.width,O=0,L=m,P=y,N=S-1;while(O<S&&(_=C[O],!_.textAlign||"left"===_.textAlign))M(e,t,_,r,k,v,L,"left"),E-=_.width,L+=_.width,O++;while(N>=0&&(_=C[N],"right"===_.textAlign))M(e,t,_,r,k,v,P,"right"),E-=_.width,P-=_.width,N--;L+=(o-(L-m)-(y-P)-E)/2;while(O<=N)_=C[O],M(e,t,_,r,k,v,L+_.width/2,"center"),L+=_.width,O++;v+=k}}function B(e,t,n,r,i){if(n&&t.textRotation){var o=t.textOrigin;"center"===o?(r=n.width/2+n.x,i=n.height/2+n.y):o&&(r=o[0]+n.x,i=o[1]+n.y),e.translate(r,i),e.rotate(-t.textRotation),e.translate(-r,-i)}}function M(e,t,n,r,a,s,l,c){var u=r.rich[n.styleName]||{};u.text=n.text;var d=n.textVerticalAlign,h=s+a/2;"top"===d?h=s+n.height/2:"bottom"===d&&(h=s+a-n.height/2),!n.isLineHolder&&T(u)&&I(e,t,u,"right"===c?l-n.width:"center"===c?l-n.width/2:l,h-n.height/2,n.width,n.height);var f=n.textPadding;f&&(l=R(l,c,f),h-=n.height/2-f[2]-n.textHeight/2),P(t,"shadowBlur",o(u.textShadowBlur,r.textShadowBlur,0)),P(t,"shadowColor",u.textShadowColor||r.textShadowColor||"transparent"),P(t,"shadowOffsetX",o(u.textShadowOffsetX,r.textShadowOffsetX,0)),P(t,"shadowOffsetY",o(u.textShadowOffsetY,r.textShadowOffsetY,0)),P(t,"textAlign",c),P(t,"textBaseline","middle"),P(t,"font",n.font||m);var p=N(u.textStroke||r.textStroke,g),A=j(u.textFill||r.textFill),g=i(u.textStrokeWidth,r.textStrokeWidth);p&&(P(t,"lineWidth",g),P(t,"strokeStyle",p),t.strokeText(n.text,l,h)),A&&(P(t,"fillStyle",A),t.fillText(n.text,l,h))}function T(e){return!!(e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor)}function I(e,t,n,r,i,o,a){var s=n.textBackgroundColor,u=n.textBorderWidth,f=n.textBorderColor,p=l(s);if(P(t,"shadowBlur",n.textBoxShadowBlur||0),P(t,"shadowColor",n.textBoxShadowColor||"transparent"),P(t,"shadowOffsetX",n.textBoxShadowOffsetX||0),P(t,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||u&&f){t.beginPath();var A=n.textBorderRadius;A?d.buildPath(t,{x:r,y:i,width:o,height:a,r:A}):t.rect(r,i,o,a),t.closePath()}if(p)if(P(t,"fillStyle",s),null!=n.fillOpacity){var g=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,t.fill(),t.globalAlpha=g}else t.fill();else if(c(s)){var m=s.image;m=h.createOrUpdateImage(m,null,e,L,s),m&&h.isImageReady(m)&&t.drawImage(m,r,i,o,a)}if(u&&f)if(P(t,"lineWidth",u),P(t,"strokeStyle",f),null!=n.strokeOpacity){g=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,t.stroke(),t.globalAlpha=g}else t.stroke()}function L(e,t){t.image=e}function D(e,t,n,r){var i=n.x||0,o=n.y||0,a=n.textAlign,s=n.textVerticalAlign;if(r){var l=n.textPosition;if(l instanceof Array)i=r.x+F(l[0],r.width),o=r.y+F(l[1],r.height);else{var c=t&&t.calculateTextPosition?t.calculateTextPosition(_,n,r):u.calculateTextPosition(_,n,r);i=c.x,o=c.y,a=a||c.textAlign,s=s||c.textVerticalAlign}var d=n.textOffset;d&&(i+=d[0],o+=d[1])}return e=e||{},e.baseX=i,e.baseY=o,e.textAlign=a,e.textVerticalAlign=s,e}function P(e,t,n){return e[t]=f(e,t,n),e[t]}function N(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function j(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function F(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function R(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function U(e,t){return null!=e&&(e||t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor||t.textPadding)}t.normalizeTextStyle=x,t.renderText=S,t.getBoxPosition=D,t.getStroke=N,t.getFill=j,t.parsePercent=F,t.needDrawText=U},"q/+u":function(e,t,n){var r=n("ProS"),i=n("9wZj"),o=n("yWXo"),a=n("h8O9");r.extendChartView({type:"scatter",render:function(e,t,n){var r=e.getData(),i=this._updateSymbolDraw(r,e);i.updateData(r,{clipShape:this._getClipShape(e)}),this._finished=!0},incrementalPrepareRender:function(e,t,n){var r=e.getData(),i=this._updateSymbolDraw(r,e);i.incrementalPrepareUpdate(r),this._finished=!1},incrementalRender:function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var r=e.getData();if(this.group.dirty(),!this._finished||r.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=a().reset(e);i.progress&&i.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_getClipShape:function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},_updateSymbolDraw:function(e,t){var n=this._symbolDraw,r=t.pipelineContext,a=r.large;return n&&a===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=a?new o:new i,this._isLargeDraw=a,this.group.removeAll()),this.group.add(n.group),n},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(e,t){var n=["lineStyle","normal","opacity"],r={seriesType:"parallel",reset:function(e,t,r){var i=e.getModel("itemStyle"),o=e.getModel("lineStyle"),a=t.get("color"),s=o.get("color")||i.get("color")||a[e.seriesIndex%a.length],l=e.get("inactiveOpacity"),c=e.get("activeOpacity"),u=e.getModel("lineStyle").getLineStyle(),d=e.coordinateSystem,h=e.getData(),f={normal:u.opacity,active:c,inactive:l};function p(e,t){d.eachActiveState(t,(function(e,r){var i=f[e];if("normal"===e&&t.hasItemOption){var o=t.getItemModel(r).get(n,!0);null!=o&&(i=o)}t.setItemVisual(r,"opacity",i)}),e.start,e.end)}return h.setVisual("color",s),{progress:p}}};e.exports=r},q4HE:function(e,t){var n="\\ud800-\\udfff",r="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",a=r+i+o,s="\\ufe0e\\ufe0f",l="["+n+"]",c="["+a+"]",u="\\ud83c[\\udffb-\\udfff]",d="(?:"+c+"|"+u+")",h="[^"+n+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",A="\\u200d",g=d+"?",m="["+s+"]?",v="(?:"+A+"(?:"+[h,f,p].join("|")+")"+m+g+")*",y=m+g+v,b="(?:"+[h+c+"?",c,f,p,l].join("|")+")",_=RegExp(u+"(?="+u+")|"+b+y,"g");function w(e){var t=_.lastIndex=0;while(_.test(e))++t;return t}e.exports=w},q7KB:function(e,t,n){},qH13:function(e,t,n){var r=n("ItGF"),i=n("QBsz"),o=i.applyTransform,a=n("mFDi"),s=n("Qe9p"),l=n("6GrX"),c=n("pzxd"),u=n("ni6a"),d=n("Gev7"),h=n("Dagg"),f=n("dqUG"),p=n("y+Vt"),A=n("IMiH"),g=n("QuXc"),m=n("06Qe"),v=A.CMD,y=Math.round,b=Math.sqrt,_=Math.abs,w=Math.cos,x=Math.sin,C=Math.max;if(!r.canvasSupported){var S=",",k="progid:DXImageTransform.Microsoft",E=21600,O=E/2,B=1e5,M=1e3,T=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=E+","+E,e.coordorigin="0,0"},I=function(e){return String(e).replace(/&/g,"&").replace(/"/g,""")},L=function(e,t,n){return"rgb("+[e,t,n].join(",")+")"},D=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},P=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},N=function(e,t,n){return(parseFloat(e)||0)*B+(parseFloat(t)||0)*M+n},j=c.parsePercent,F=function(e,t,n){var r=s.parse(t);n=+n,isNaN(n)&&(n=1),r&&(e.color=L(r[0],r[1],r[2]),e.opacity=n*r[3])},R=function(e){var t=s.parse(e);return[L(t[0],t[1],t[2]),t[3]]},U=function(e,t,n){var r=t.fill;if(null!=r)if(r instanceof g){var i,a=0,s=[0,0],l=0,c=1,u=n.getBoundingRect(),d=u.width,h=u.height;if("linear"===r.type){i="gradient";var f=n.transform,p=[r.x*d,r.y*h],A=[r.x2*d,r.y2*h];f&&(o(p,p,f),o(A,A,f));var m=A[0]-p[0],v=A[1]-p[1];a=180*Math.atan2(m,v)/Math.PI,a<0&&(a+=360),a<1e-6&&(a=0)}else{i="gradientradial";p=[r.x*d,r.y*h],f=n.transform;var y=n.scale,b=d,_=h;s=[(p[0]-u.x)/b,(p[1]-u.y)/_],f&&o(p,p,f),b/=y[0]*E,_/=y[1]*E;var w=C(b,_);l=0/w,c=2*r.r/w-l}var x=r.colorStops.slice();x.sort((function(e,t){return e.offset-t.offset}));for(var S=x.length,k=[],O=[],B=0;B<S;B++){var M=x[B],T=R(M.color);O.push(M.offset*c+l+" "+T[0]),0!==B&&B!==S-1||k.push(T)}if(S>=2){var I=k[0][0],L=k[1][0],D=k[0][1]*t.opacity,P=k[1][1]*t.opacity;e.type=i,e.method="none",e.focus="100%",e.angle=a,e.color=I,e.color2=L,e.colors=O.join(","),e.opacity=P,e.opacity2=D}"radial"===i&&(e.focusposition=s.join(","))}else F(e,r,t.opacity)},H=function(e,t){t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof g||F(e,t.stroke,t.opacity)},Q=function(e,t,n,r){var i="fill"===t,o=e.getElementsByTagName(t)[0];null!=n[t]&&"none"!==n[t]&&(i||!i&&n.lineWidth)?(e[i?"filled":"stroked"]="true",n[t]instanceof g&&P(e,o),o||(o=m.createNode(t)),i?U(o,n,r):H(o,n),D(e,o)):(e[i?"filled":"stroked"]="false",P(e,o))},K=[[],[],[]],z=function(e,t){var n,r,i,a,s,l,c=v.M,u=v.C,d=v.L,h=v.A,f=v.Q,p=[],A=e.data,g=e.len();for(a=0;a<g;){switch(i=A[a++],r="",n=0,i){case c:r=" m ",n=1,s=A[a++],l=A[a++],K[0][0]=s,K[0][1]=l;break;case d:r=" l ",n=1,s=A[a++],l=A[a++],K[0][0]=s,K[0][1]=l;break;case f:case u:r=" c ",n=3;var m,_,C=A[a++],k=A[a++],B=A[a++],M=A[a++];i===f?(m=B,_=M,B=(B+2*C)/3,M=(M+2*k)/3,C=(s+2*C)/3,k=(l+2*k)/3):(m=A[a++],_=A[a++]),K[0][0]=C,K[0][1]=k,K[1][0]=B,K[1][1]=M,K[2][0]=m,K[2][1]=_,s=m,l=_;break;case h:var T=0,I=0,L=1,D=1,P=0;t&&(T=t[4],I=t[5],L=b(t[0]*t[0]+t[1]*t[1]),D=b(t[2]*t[2]+t[3]*t[3]),P=Math.atan2(-t[1]/D,t[0]/L));var N=A[a++],j=A[a++],F=A[a++],R=A[a++],U=A[a++]+P,H=A[a++]+U+P;a++;var Q=A[a++],z=N+w(U)*F,V=j+x(U)*R,W=(C=N+w(H)*F,k=j+x(H)*R,Q?" wa ":" at ");Math.abs(z-C)<1e-4&&(Math.abs(H-U)>.01?Q&&(z+=270/E):Math.abs(V-j)<1e-4?Q&&z<N||!Q&&z>N?k-=270/E:k+=270/E:Q&&V<j||!Q&&V>j?C+=270/E:C-=270/E),p.push(W,y(((N-F)*L+T)*E-O),S,y(((j-R)*D+I)*E-O),S,y(((N+F)*L+T)*E-O),S,y(((j+R)*D+I)*E-O),S,y((z*L+T)*E-O),S,y((V*D+I)*E-O),S,y((C*L+T)*E-O),S,y((k*D+I)*E-O)),s=C,l=k;break;case v.R:var G=K[0],X=K[1];G[0]=A[a++],G[1]=A[a++],X[0]=G[0]+A[a++],X[1]=G[1]+A[a++],t&&(o(G,G,t),o(X,X,t)),G[0]=y(G[0]*E-O),X[0]=y(X[0]*E-O),G[1]=y(G[1]*E-O),X[1]=y(X[1]*E-O),p.push(" m ",G[0],S,G[1]," l ",X[0],S,G[1]," l ",X[0],S,X[1]," l ",G[0],S,X[1]);break;case v.Z:p.push(" x ")}if(n>0){p.push(r);for(var q=0;q<n;q++){var Y=K[q];t&&o(Y,Y,t),p.push(y(Y[0]*E-O),S,y(Y[1]*E-O),q<n-1?S:"")}}}return p.join("")};p.prototype.brushVML=function(e){var t=this.style,n=this._vmlEl;n||(n=m.createNode("shape"),T(n),this._vmlEl=n),Q(n,"fill",t,this),Q(n,"stroke",t,this);var r=this.transform,i=null!=r,o=n.getElementsByTagName("stroke")[0];if(o){var a=t.lineWidth;if(i&&!t.strokeNoScale){var s=r[0]*r[3]-r[1]*r[2];a*=b(_(s))}o.weight=a+"px"}var l=this.path||(this.path=new A);this.__dirtyPath&&(l.beginPath(),l.subPixelOptimize=!1,this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),n.path=z(l,this.transform),n.style.zIndex=N(this.zlevel,this.z,this.z2),D(e,n),null!=t.text?this.drawRectText(e,this.getBoundingRect()):this.removeRectText(e)},p.prototype.onRemove=function(e){P(e,this._vmlEl),this.removeRectText(e)},p.prototype.onAdd=function(e){D(e,this._vmlEl),this.appendRectText(e)};var V=function(e){return"object"===typeof e&&e.tagName&&"IMG"===e.tagName.toUpperCase()};h.prototype.brushVML=function(e){var t,n,r=this.style,i=r.image;if(V(i)){var a=i.src;if(a===this._imageSrc)t=this._imageWidth,n=this._imageHeight;else{var s=i.runtimeStyle,l=s.width,c=s.height;s.width="auto",s.height="auto",t=i.width,n=i.height,s.width=l,s.height=c,this._imageSrc=a,this._imageWidth=t,this._imageHeight=n}i=a}else i===this._imageSrc&&(t=this._imageWidth,n=this._imageHeight);if(i){var u=r.x||0,d=r.y||0,h=r.width,f=r.height,p=r.sWidth,A=r.sHeight,g=r.sx||0,v=r.sy||0,_=p&&A,w=this._vmlEl;w||(w=m.doc.createElement("div"),T(w),this._vmlEl=w);var x,E=w.style,O=!1,B=1,M=1;if(this.transform&&(x=this.transform,B=b(x[0]*x[0]+x[1]*x[1]),M=b(x[2]*x[2]+x[3]*x[3]),O=x[1]||x[2]),O){var I=[u,d],L=[u+h,d],P=[u,d+f],j=[u+h,d+f];o(I,I,x),o(L,L,x),o(P,P,x),o(j,j,x);var F=C(I[0],L[0],P[0],j[0]),R=C(I[1],L[1],P[1],j[1]),U=[];U.push("M11=",x[0]/B,S,"M12=",x[2]/M,S,"M21=",x[1]/B,S,"M22=",x[3]/M,S,"Dx=",y(u*B+x[4]),S,"Dy=",y(d*M+x[5])),E.padding="0 "+y(F)+"px "+y(R)+"px 0",E.filter=k+".Matrix("+U.join("")+", SizingMethod=clip)"}else x&&(u=u*B+x[4],d=d*M+x[5]),E.filter="",E.left=y(u)+"px",E.top=y(d)+"px";var H=this._imageEl,Q=this._cropEl;H||(H=m.doc.createElement("div"),this._imageEl=H);var K=H.style;if(_){if(t&&n)K.width=y(B*t*h/p)+"px",K.height=y(M*n*f/A)+"px";else{var z=new Image,W=this;z.onload=function(){z.onload=null,t=z.width,n=z.height,K.width=y(B*t*h/p)+"px",K.height=y(M*n*f/A)+"px",W._imageWidth=t,W._imageHeight=n,W._imageSrc=i},z.src=i}Q||(Q=m.doc.createElement("div"),Q.style.overflow="hidden",this._cropEl=Q);var G=Q.style;G.width=y((h+g*h/p)*B),G.height=y((f+v*f/A)*M),G.filter=k+".Matrix(Dx="+-g*h/p*B+",Dy="+-v*f/A*M+")",Q.parentNode||w.appendChild(Q),H.parentNode!==Q&&Q.appendChild(H)}else K.width=y(B*h)+"px",K.height=y(M*f)+"px",w.appendChild(H),Q&&Q.parentNode&&(w.removeChild(Q),this._cropEl=null);var X="",q=r.opacity;q<1&&(X+=".Alpha(opacity="+y(100*q)+") "),X+=k+".AlphaImageLoader(src="+i+", SizingMethod=scale)",K.filter=X,w.style.zIndex=N(this.zlevel,this.z,this.z2),D(e,w),null!=r.text&&this.drawRectText(e,this.getBoundingRect())}},h.prototype.onRemove=function(e){P(e,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(e)},h.prototype.onAdd=function(e){D(e,this._vmlEl),this.appendRectText(e)};var W,G="normal",X={},q=0,Y=100,Z=document.createElement("div"),J=function(e){var t=X[e];if(!t){q>Y&&(q=0,X={});var n,r=Z.style;try{r.font=e,n=r.fontFamily.split(",")[0]}catch(i){}t={style:r.fontStyle||G,variant:r.fontVariant||G,weight:r.fontWeight||G,size:0|parseFloat(r.fontSize||12),family:n||"Microsoft YaHei"},X[e]=t,q++}return t};l.$override("measureText",(function(e,t){var n=m.doc;W||(W=n.createElement("div"),W.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",m.doc.body.appendChild(W));try{W.style.font=t}catch(r){}return W.innerHTML="",W.appendChild(n.createTextNode(e)),{width:W.offsetWidth}}));for(var $=new a,ee=function(e,t,n,r){var i=this.style;this.__dirty&&c.normalizeTextStyle(i,!0);var a=i.text;if(null!=a&&(a+=""),a){if(i.rich){var s=l.parseRichText(a,i);a=[];for(var u=0;u<s.lines.length;u++){for(var d=s.lines[u].tokens,h=[],f=0;f<d.length;f++)h.push(d[f].text);a.push(h.join(""))}a=a.join("\n")}var p,A,g=i.textAlign,v=i.textVerticalAlign,b=J(i.font),_=b.style+" "+b.variant+" "+b.weight+" "+b.size+'px "'+b.family+'"';n=n||l.getBoundingRect(a,_,g,v,i.textPadding,i.textLineHeight);var w=this.transform;if(w&&!r&&($.copy(t),$.applyTransform(w),t=$),r)p=t.x,A=t.y;else{var x=i.textPosition;if(x instanceof Array)p=t.x+j(x[0],t.width),A=t.y+j(x[1],t.height),g=g||"left";else{var C=this.calculateTextPosition?this.calculateTextPosition({},i,t):l.calculateTextPosition({},i,t);p=C.x,A=C.y,g=g||C.textAlign,v=v||C.textVerticalAlign}}p=l.adjustTextX(p,n.width,g),A=l.adjustTextY(A,n.height,v),A+=n.height/2;var k,E,O,B=m.createNode,M=this._textVmlEl;M?(O=M.firstChild,k=O.nextSibling,E=k.nextSibling):(M=B("line"),k=B("path"),E=B("textpath"),O=B("skew"),E.style["v-text-align"]="left",T(M),k.textpathok=!0,E.on=!0,M.from="0 0",M.to="1000 0.05",D(M,O),D(M,k),D(M,E),this._textVmlEl=M);var L=[p,A],P=M.style;w&&r?(o(L,L,w),O.on=!0,O.matrix=w[0].toFixed(3)+S+w[2].toFixed(3)+S+w[1].toFixed(3)+S+w[3].toFixed(3)+",0,0",O.offset=(y(L[0])||0)+","+(y(L[1])||0),O.origin="0 0",P.left="0px",P.top="0px"):(O.on=!1,P.left=y(p)+"px",P.top=y(A)+"px"),E.string=I(a);try{E.style.font=_}catch(F){}Q(M,"fill",{fill:i.textFill,opacity:i.opacity},this),Q(M,"stroke",{stroke:i.textStroke,opacity:i.opacity,lineDash:i.lineDash||null},this),M.style.zIndex=N(this.zlevel,this.z,this.z2),D(e,M)}},te=function(e){P(e,this._textVmlEl),this._textVmlEl=null},ne=function(e){D(e,this._textVmlEl)},re=[u,d,h,p,f],ie=0;ie<re.length;ie++){var oe=re[ie].prototype;oe.drawRectText=ee,oe.removeRectText=te,oe.appendRectText=ne}f.prototype.brushVML=function(e){var t=this.style;null!=t.text?this.drawRectText(e,{x:t.x||0,y:t.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(e)},f.prototype.onRemove=function(e){this.removeRectText(e)},f.prototype.onAdd=function(e){this.appendRectText(e)}}},qJCg:function(e,t,n){var r=n("BlVb"),i=n("mFDi"),o=n("IwbS"),a=o.linePolygonIntersect,s={lineX:l(0),lineY:l(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&r.contain(n.range,e[0],e[1])},rect:function(e,t,n){var o=n.range;if(!e||o.length<=1)return!1;var s=e.x,l=e.y,c=e.width,u=e.height,d=o[0];return!!(r.contain(o,s,l)||r.contain(o,s+c,l)||r.contain(o,s,l+u)||r.contain(o,s+c,l+u)||i.create(e).contain(d[0],d[1])||a(s,l,s+c,l,o)||a(s,l,s,l+u,o)||a(s+c,l,s+c,l+u,o)||a(s,l+u,s+c,l+u,o))||void 0}}};function l(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,r){if(t){var i=r.range,o=t[e];return c(o,i)}},rect:function(r,i,o){if(r){var a=o.range,s=[r[t[e]],r[t[e]]+r[n[e]]];return s[1]<s[0]&&s.reverse(),c(s[0],a)||c(s[1],a)||c(a[0],s)||c(a[1],s)}}}}function c(e,t){return t[0]<=e&&e<=t[1]}var u=s;e.exports=u},qMZE:function(e,t,n){var r=n("JEkh"),i=r.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}}}});e.exports=i},qOx5:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("Kwbf");function i(e,t){var n=new Set;return e.forEach((function(e){t.has(e)||n.add(e)})),n}function o(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,i=t.checkable;return!(!n&&!r)||!1===i}function a(e,t,n,r){for(var o=new Set(e),a=new Set,s=0;s<=n;s+=1){var l=t.get(s)||new Set;l.forEach((function(e){var t=e.key,n=e.node,i=e.children,a=void 0===i?[]:i;o.has(t)&&!r(n)&&a.filter((function(e){return!r(e.node)})).forEach((function(e){o.add(e.key)}))}))}for(var c=new Set,u=n;u>=0;u-=1){var d=t.get(u)||new Set;d.forEach((function(e){var t=e.parent,n=e.node;if(!r(n)&&e.parent&&!c.has(e.parent.key))if(r(e.parent.node))c.add(t.key);else{var i=!0,s=!1;(t.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var t=e.key,n=o.has(t);i&&!n&&(i=!1),s||!n&&!a.has(t)||(s=!0)})),i&&o.add(t.key),s&&a.add(t.key),c.add(t.key)}}))}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(i(a,o))}}function s(e,t,n,r,o){for(var a=new Set(e),s=new Set(t),l=0;l<=r;l+=1){var c=n.get(l)||new Set;c.forEach((function(e){var t=e.key,n=e.node,r=e.children,i=void 0===r?[]:r;a.has(t)||s.has(t)||o(n)||i.filter((function(e){return!o(e.node)})).forEach((function(e){a["delete"](e.key)}))}))}s=new Set;for(var u=new Set,d=r;d>=0;d-=1){var h=n.get(d)||new Set;h.forEach((function(e){var t=e.parent,n=e.node;if(!o(n)&&e.parent&&!u.has(e.parent.key))if(o(e.parent.node))u.add(t.key);else{var r=!0,i=!1;(t.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var t=e.key,n=a.has(t);r&&!n&&(r=!1),i||!n&&!s.has(t)||(i=!0)})),r||a["delete"](t.key),i&&s.add(t.key),u.add(t.key)}}))}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(i(s,a))}}function l(e,t,n,i){var l,c=[];l=i||o;var u,d=new Set(e.filter((function(e){var t=!!n[e];return t||c.push(e),t}))),h=new Map,f=0;return Object.keys(n).forEach((function(e){var t=n[e],r=t.level,i=h.get(r);i||(i=new Set,h.set(r,i)),i.add(t),f=Math.max(f,r)})),Object(r["a"])(!c.length,"Tree missing follow keys: ".concat(c.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),u=!0===t?a(d,h,f,l):s(d,t.halfCheckedKeys,h,f,l),u}},qPY4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("u4NN"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},qWUW:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("DL4k")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="CaretDownOutlined";var h=a.forwardRef(d);t.default=h},qWt2:function(e,t,n){var r=n("ProS"),i=r.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}}});e.exports=i},qZFw:function(e,t,n){var r=n("bYtY"),i=n("6GrX"),o=n("hM6l"),a=n("4NO4"),s=a.makeInner,l=s();function c(e,t){t=t||[0,360],o.call(this,"angle",e,t),this.type="category"}c.prototype={constructor:c,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToAngle:o.prototype.dataToCoord,angleToData:o.prototype.coordToData,calculateCategoryInterval:function(){var e=this,t=e.getLabelModel(),n=e.scale,r=n.getExtent(),o=n.count();if(r[1]-r[0]<1)return 0;var a=r[0],s=e.dataToCoord(a+1)-e.dataToCoord(a),c=Math.abs(s),u=i.getBoundingRect(a,t.getFont(),"center","top"),d=Math.max(u.height,7),h=d/c;isNaN(h)&&(h=1/0);var f=Math.max(0,Math.floor(h)),p=l(e.model),A=p.lastAutoInterval,g=p.lastTickCount;return null!=A&&null!=g&&Math.abs(A-f)<=1&&Math.abs(g-o)<=1&&A>f?f=A:(p.lastTickCount=o,p.lastAutoInterval=f),f}},r.inherits(c,o);var u=c;e.exports=u},qZTm:function(e,t,n){var r=n("fR/l"),i=n("MvSz"),o=n("7GkX");function a(e){return r(e,o,i)}e.exports=a},qgGe:function(e,t,n){var r=n("bYtY"),i=n("T4UG"),o=n("Bsck"),a=n("VaxA"),s=a.wrapTreePathInfo,l=i.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var n={name:e.name,children:e.data};c(n);var r=e.levels||[],i={};return i.levels=r,o.createTree(n,this,i).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=i.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=s(n,this),t},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(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function c(e){var t=0;r.each(e.children,(function(e){c(e);var n=e.value;r.isArray(n)&&(n=n[0]),t+=n}));var n=e.value;r.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),r.isArray(e.value)?e.value[0]=n:e.value=n}e.exports=l},qj72:function(e,t,n){var r=n("bYtY");function i(e,t){return t=t||[0,0],r.map(["x","y"],(function(n,r){var i=this.getAxis(n),o=t[r],a=e[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))}),this)}function o(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:r.bind(i,e)}}}e.exports=o},qrJ5:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("cDf5"),l=n.n(s),c=n("J4zp"),u=n.n(c),d=n("q1tI"),h=n("TSYQ"),f=n.n(h),p=n("H84U"),A=n("o/2+"),g=n("CWQg"),m=n("ACnJ"),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},y=(Object(g["a"])("top","middle","bottom","stretch"),Object(g["a"])("start","end","center","space-around","space-between"),d["forwardRef"]((function(e,t){var n=d["useState"]({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),r=u()(n,2),o=r[0],s=r[1],c=d["useRef"]();c.current=e.gutter,d["useEffect"]((function(){var e=m["a"].subscribe((function(e){var t=c.current||0;(!Array.isArray(t)&&"object"===l()(t)||Array.isArray(t)&&("object"===l()(t[0])||"object"===l()(t[1])))&&s(e)}));return function(){m["a"].unsubscribe(e)}}),[]);var h=function(){var t=[0,0],n=e.gutter,r=void 0===n?0:n,i=Array.isArray(r)?r:[r,0];return i.forEach((function(e,n){if("object"===l()(e))for(var r=0;r<m["b"].length;r++){var i=m["b"][r];if(o[i]&&void 0!==e[i]){t[n]=e[i];break}}else t[n]=e||0})),t},g=function(n){var r,o=n.getPrefixCls,s=n.direction,l=e.prefixCls,c=e.justify,u=e.align,p=e.className,g=e.style,m=e.children,y=v(e,["prefixCls","justify","align","className","style","children"]),b=o("row",l),_=h(),w=f()(b,(r={},a()(r,"".concat(b,"-").concat(c),c),a()(r,"".concat(b,"-").concat(u),u),a()(r,"".concat(b,"-rtl"),"rtl"===s),r),p),x=i()(i()(i()({},_[0]>0?{marginLeft:_[0]/-2,marginRight:_[0]/-2}:{}),_[1]>0?{marginTop:_[1]/-2,marginBottom:_[1]/2}:{}),g),C=i()({},y);return delete C.gutter,d["createElement"](A["a"].Provider,{value:{gutter:_}},d["createElement"]("div",i()({},C,{className:w,style:x,ref:t}),m))};return d["createElement"](p["a"],null,g)})));y.displayName="Row",t["a"]=y},"qt/9":function(e,t,n){var r=n("ProS"),i=n("bYtY");n("Wqna"),n("1tlw"),n("Mylv");var o=n("nVfU"),a=o.layout,s=n("f5Yq");n("Ae16"),r.registerLayout(i.curry(a,"pictorialBar")),r.registerVisual(s("pictorialBar","roundRect"))},quyA:function(e,t){var n="\\ud800-\\udfff",r="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",a=r+i+o,s="\\ufe0e\\ufe0f",l="\\u200d",c=RegExp("["+l+n+a+s+"]");function u(e){return c.test(e)}e.exports=u},qwVE:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("K4ya"),a=n("XxSj"),s=r.PRIORITY.VISUAL.COMPONENT;function l(e,t,n,r){for(var i=t.targetVisuals[r],o=a.prepareVisualTypes(i),s={color:e.getData().getVisual("color")},l=0,c=o.length;l<c;l++){var u=o[l],d=i["opacity"===u?"__alphaForOpacity":u];d&&d.applyVisual(n,h,f)}return s.color;function h(e){return s[e]}function f(e,t){s[e]=t}}r.registerVisual(s,{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",(function(t){var r=e.pipelineContext;!t.isTargetSeries(e)||r&&r.large||n.push(o.incrementalApplyVisual(t.stateList,t.targetVisuals,i.bind(t.getValueState,t),t.getDataDimension(e.getData())))})),n}}),r.registerVisual(s,{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),r=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var o=t.getVisualMeta(i.bind(l,null,e,t))||{stops:[],outerColors:[]},a=t.getDataDimension(n),s=n.getDimensionInfo(a);null!=s&&(o.dimension=s.index,r.push(o))}})),e.getData().setVisual("visualMeta",r)}})},"r+aA":function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("s2MQ")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="EyeInvisibleOutlined";var h=a.forwardRef(d);t.default=h},"r/2G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("+Zaj"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},r6Bn:function(e,t,n){var r=n("bYtY"),i=n("ItGF"),o=n("4fz+"),a=n("BPZU");function s(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},getDisplayList:function(e,t){return t=t||!1,e&&this.updateDisplayList(t),this._displayList},updateDisplayList:function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,r=0,o=t.length;r<o;r++)this._updateAndAddDisplayable(t[r],null,e);n.length=this._displayListLen,i.canvasSupported&&a(n,s)},_updateAndAddDisplayable:function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.__dirty&&e.update(),e.afterUpdate();var r=e.clipPath;if(r){t=t?t.slice():[];var i=r,o=e;while(i)i.parent=o,i.updateTransform(),t.push(i),o=i,i=i.clipPath}if(e.isGroup){for(var a=e._children,s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,t,n)}e.__dirty=!1}else e.__clipPaths=t,this._displayList[this._displayListLen++]=e}},addRoot:function(e){e.__storage!==this&&(e instanceof o&&e.addChildrenToStorage(this),this.addToStorage(e),this._roots.push(e))},delRoot:function(e){if(null==e){for(var t=0;t<this._roots.length;t++){var n=this._roots[t];n instanceof o&&n.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(e instanceof Array){t=0;for(var i=e.length;t<i;t++)this.delRoot(e[t])}else{var a=r.indexOf(this._roots,e);a>=0&&(this.delFromStorage(e),this._roots.splice(a,1),e instanceof o&&e.delChildrenFromStorage(this))}},addToStorage:function(e){return e&&(e.__storage=this,e.dirty(!1)),this},delFromStorage:function(e){return e&&(e.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var c=l;e.exports=c},rA99:function(e,t,n){var r=n("y+Vt"),i=n("QBsz"),o=n("Sj9i"),a=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,c=o.cubicAt,u=o.quadraticDerivativeAt,d=o.cubicDerivativeAt,h=[];function f(e,t,n){var r=e.cpx2,i=e.cpy2;return null===r||null===i?[(n?d:c)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?d:c)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?u:l)(e.x1,e.cpx1,e.x2,t),(n?u:l)(e.y1,e.cpy1,e.y2,t)]}var p=r.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(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,l=t.cpx1,c=t.cpy1,u=t.cpx2,d=t.cpy2,f=t.percent;0!==f&&(e.moveTo(n,r),null==u||null==d?(f<1&&(a(n,l,i,f,h),l=h[1],i=h[2],a(r,c,o,f,h),c=h[1],o=h[2]),e.quadraticCurveTo(l,c,i,o)):(f<1&&(s(n,l,u,i,f,h),l=h[1],u=h[2],i=h[3],s(r,c,d,o,f,h),c=h[1],d=h[2],o=h[3]),e.bezierCurveTo(l,c,u,d,i,o)))},pointAt:function(e){return f(this.shape,e,!1)},tangentAt:function(e){var t=f(this.shape,e,!0);return i.normalize(t,t)}});e.exports=p},"rAM+":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("Qw5x");function i(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=Object(r["a"])(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(l)throw a}}}}},rEGp:function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}e.exports=n},rHrb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=o(n("q1tI")),i=o(n("+QRC"));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(null==e)return{};var n,r,i=u(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}function p(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?g(e):t}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){function t(){var e,n;d(this,t);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=p(this,(e=A(t)).call.apply(e,[this].concat(a))),y(g(n),"onClick",(function(e){var t=n.props,o=t.text,a=t.onCopy,s=t.children,l=t.options,c=r["default"].Children.only(s),u=(0,i["default"])(o,l);a&&a(o,u),c&&c.props&&"function"===typeof c.props.onClick&&c.props.onClick(e)})),n}return m(t,e),f(t,[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=c(e,["text","onCopy","options","children"]),i=r["default"].Children.only(t);return r["default"].cloneElement(i,l({},n,{onClick:this.onClick}))}}]),t}(r["default"].PureComponent);t.CopyToClipboard=b,y(b,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="ReloadOutlined";t["a"]=i["forwardRef"](l)},rUJ1:function(e,t){var n=/[&<>"']/,r=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,o=/[<>"']|&(?!#?\w+;)/g,a={"&":"&","<":"<",">":">",'"':""","'":"'"},s=function(e){return a[e]};function l(e,t){if(t){if(n.test(e))return e.replace(r,s)}else if(i.test(e))return e.replace(o,s);return e}var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function u(e){return e.replace(c,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var d=/(^|[^\[])\^/g;function h(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=r.source||r,r=r.replace(d,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var f=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function A(e,t,n){if(e){var r;try{r=decodeURIComponent(u(n)).replace(f,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!p.test(n)&&(n=b(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n}var g={},m=/^[^:]+:\/*[^/]*$/,v=/^([^:]+:)[\s\S]*$/,y=/^([^:]+:\/*[^/]*)[\s\S]*$/;function b(e,t){g[" "+e]||(m.test(e)?g[" "+e]=e+"/":g[" "+e]=C(e,"/",!0)),e=g[" "+e];var n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(v,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(y,"$1")+t:e+t}var _={exec:function(){}};function w(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function x(e,t){var n=e.replace(/\|/g,(function(e,t,n){var r=!1,i=t;while(--i>=0&&"\\"===n[i])r=!r;return r?"|":" |"})),r=n.split(/ \|/),i=0;if(r.length>t)r.splice(t);else while(r.length<t)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function C(e,t,n){var r=e.length;if(0===r)return"";var i=0;while(i<r){var o=e.charAt(r-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.substr(0,r-i)}function S(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,i=0;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&(r--,r<0))return i;return-1}function k(e){e&&e.sanitize&&!e.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")}e.exports={escape:l,unescape:u,edit:h,cleanUrl:A,resolveUrl:b,noopTest:_,merge:w,splitCells:x,rtrim:C,findClosingBracket:S,checkSanitizeDeprecation:k}},rdUC:function(e,t,n){var r=n("MFOe"),i=r.Global;function o(){return i.localStorage}function a(e){return o().getItem(e)}function s(e,t){return o().setItem(e,t)}function l(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(a(n),n)}}function c(e){return o().removeItem(e)}function u(){return o().clear()}e.exports={name:"localStorage",read:a,write:s,each:l,remove:c,clearAll:u}},rdor:function(e,t,n){var r=n("lOQZ"),i=r.circularLayout;function o(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&i(e,"symbolSize")}))}e.exports=o},rfSb:function(e,t,n){var r=n("T4UG"),i=n("sdST"),o=n("L0Ub"),a=o.getDimensionTypeByAxis,s=n("YXkt"),l=n("bYtY"),c=n("4NO4"),u=c.groupData,d=n("7aKB"),h=d.encodeHTML,f=n("xKMd"),p=2,A=r.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){A.superApply(this,"init",arguments),this.legendVisualProvider=new f(l.bind(this.getData,this),l.bind(this.getRawData,this))},fixData:function(e){var t=e.length,n=u(e,(function(e){return e[2]})),r=[];n.buckets.each((function(e,t){r.push({name:t,dataList:e})}));for(var i=r.length,o=-1,a=-1,s=0;s<i;++s){var l=r[s].dataList.length;l>o&&(o=l,a=s)}for(var c=0;c<i;++c)if(c!==a)for(var d=r[c].name,h=0;h<o;++h){for(var f=r[a].dataList[h][0],p=r[c].dataList.length,A=-1,g=0;g<p;++g){var m=r[c].dataList[g][0];if(m===f){A=g;break}}-1===A&&(e[t]=[],e[t][0]=f,e[t][1]=0,e[t][2]=d,t++)}return e},getInitialData:function(e,t){for(var n=t.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],r=n.get("type"),o=l.filter(e.data,(function(e){return void 0!==e[2]})),c=this.fixData(o||[]),u=[],d=this.nameMap=l.createHashMap(),h=0,f=0;f<c.length;++f)u.push(c[f][p]),d.get(c[f][p])||(d.set(c[f][p],h),h++);var A=i(c,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:a(r)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),g=new s(A,this);return g.initData(c),g},getLayerSeries:function(){for(var e=this.getData(),t=e.count(),n=[],r=0;r<t;++r)n[r]=r;var i=e.mapDimension("single"),o=u(n,(function(t){return e.get("name",t)})),a=[];return o.buckets.each((function(t,n){t.sort((function(t,n){return e.get(i,t)-e.get(i,n)})),a.push({name:n,indices:t})})),a},getAxisTooltipData:function(e,t,n){l.isArray(e)||(e=e?[e]:[]);for(var r,i=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,c=0;c<s;++c){for(var u=Number.MAX_VALUE,d=-1,h=o[c].indices.length,f=0;f<h;++f){var p=i.get(e[0],o[c].indices[f]),A=Math.abs(p-t);A<=u&&(r=p,u=A,d=o[c].indices[f])}a.push(d)}return{dataIndices:a,nestestValue:r}},formatTooltip:function(e){var t=this.getData(),n=t.getName(e),r=t.get(t.mapDimension("value"),e);return(isNaN(r)||null==r)&&(r="-"),h(n+" : "+r)},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}}}}),g=A;e.exports=g},"rjQ/":function(e,t,n){var r=n("h1NE");function i(e,t){e=r.trimRight(e),";"!==e[e.length-1]&&(e+=";");var n=e.length,i=!1,o=0,a=0,s="";function l(){if(!i){var n=r.trim(e.slice(o,a)),l=n.indexOf(":");if(-1!==l){var c=r.trim(n.slice(0,l)),u=r.trim(n.slice(l+1));if(c){var d=t(o,s.length,c,u,n);d&&(s+=d+"; ")}}}o=a+1}for(;a<n;a++){var c=e[a];if("/"===c&&"*"===e[a+1]){var u=e.indexOf("*/",a+2);if(-1===u)break;a=u+1,o=a+1,i=!1}else"("===c?i=!0:")"===c?i=!1:";"===c?i||l():"\n"===c&&l()}return r.trim(s)}e.exports=i},rkZ5:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("c8qY"),a=n("D9ME"),s=n("fls0"),l=n("RSch"),c=n("akwb"),u=n("o40c"),d=n("ZYIC"),h=n("sK/D"),f=h.createClipPath,p=i.extendChartView({type:"lines",init:function(){},render:function(e,t,n){var r=e.getData(),i=this._updateLineDraw(r,e),o=e.get("zlevel"),a=e.get("effect.trailLength"),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),i.updateData(r);var c=e.get("clip",!0)&&f(e.coordinateSystem,!1,e);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},incrementalPrepareRender:function(e,t,n){var r=e.getData(),i=this._updateLineDraw(r,e);i.incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},incrementalRender:function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var r=e.getData(),i=e.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var o=d.reset(e);o.progress&&o.progress({start:0,end:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(e,t){var n=this._lineDraw,r=this._showEffect(t),i=!!t.get("polyline"),d=t.pipelineContext,h=d.large;return n&&r===this._hasEffet&&i===this._isPolyline&&h===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=h?new u:new o(i?r?c:l:r?a:s),this._hasEffet=r,this._isPolyline=i,this._isLargeDraw=h,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(e){return!!e.get("effect.show")},_clearLayer:function(e){var t=e.getZr(),n="svg"===t.painter.getType();n||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});e.exports=p},rmlV:function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(e,t){var n=.5522848,r=t.cx,i=t.cy,o=t.rx,a=t.ry,s=o*n,l=a*n;e.moveTo(r-o,i),e.bezierCurveTo(r-o,i-l,r-s,i-a,r,i-a),e.bezierCurveTo(r+s,i-a,r+o,i-l,r+o,i),e.bezierCurveTo(r+o,i+l,r+s,i+a,r,i+a),e.bezierCurveTo(r-s,i+a,r-o,i+l,r-o,i),e.closePath()}});e.exports=i},rnVJ:function(e,t,n){var r=n("bYtY"),i=["rect","polygon","keep","clear"];function o(e,t){var n=e&&e.brush;if(r.isArray(n)||(n=n?[n]:[]),n.length){var o=[];r.each(n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(o=o.concat(t))}));var s=e&&e.toolbox;r.isArray(s)&&(s=s[0]),s||(s={feature:{}},e.toolbox=[s]);var l=s.feature||(s.feature={}),c=l.brush||(l.brush={}),u=c.type||(c.type=[]);u.push.apply(u,o),a(u),t&&!u.length&&u.push.apply(u,i)}}function a(e){var t={};r.each(e,(function(e){t[e]=1})),e.length=0,r.each(t,(function(t,n){e.push(n)}))}e.exports=o},rwxt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n("GdRQ");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}var s=!r.supportsCursorURIs||r.isTouchDevice,l=function(){function e(){i(this,e),this._target=null,this._canvas=document.createElement("canvas"),s&&(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 a(e,[{key:"attach",value:function(e){if(this._target&&this.detach(),this._target=e,s){document.body.appendChild(this._canvas);var t={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,t),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,t),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,t),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,t)}this.clear()}},{key:"detach",value:function(){if(this._target){if(s){var e={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,e),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,e),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,e),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,e),document.body.removeChild(this._canvas)}this._target=null}}},{key:"change",value:function(e,t,n,r,i){if(0!==r&&0!==i){this._position.x=this._position.x+this._hotSpot.x-t,this._position.y=this._position.y+this._hotSpot.y-n,this._hotSpot.x=t,this._hotSpot.y=n;var o,a=this._canvas.getContext("2d");this._canvas.width=r,this._canvas.height=i;try{o=new ImageData(new Uint8ClampedArray(e),r,i)}catch(c){o=a.createImageData(r,i),o.data.set(new Uint8ClampedArray(e))}if(a.clearRect(0,0,r,i),a.putImageData(o,0,0),s)this._updatePosition();else{var l=this._canvas.toDataURL();this._target.style.cursor="url("+l+")"+t+" "+n+", default"}}else this.clear()}},{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(e,t){if(s){window.visualViewport?(this._position.x=e+window.visualViewport.offsetLeft,this._position.y=t+window.visualViewport.offsetTop):(this._position.x=e,this._position.y=t),this._updatePosition();var n=document.elementFromPoint(e,t);this._updateVisibility(n)}}},{key:"_handleMouseOver",value:function(e){this._handleMouseMove(e)}},{key:"_handleMouseLeave",value:function(e){this._updateVisibility(e.relatedTarget)}},{key:"_handleMouseMove",value:function(e){this._updateVisibility(e.target),this._position.x=e.clientX-this._hotSpot.x,this._position.y=e.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(e){var t=this,n=document.elementFromPoint(e.clientX,e.clientY);this._updateVisibility(n),this._captureIsActive()&&window.setTimeout((function(){t._target&&(n=document.elementFromPoint(e.clientX,e.clientY),t._updateVisibility(n))}),0)}},{key:"_showCursor",value:function(){"hidden"===this._canvas.style.visibility&&(this._canvas.style.visibility="")}},{key:"_hideCursor",value:function(){"hidden"!==this._canvas.style.visibility&&(this._canvas.style.visibility="hidden")}},{key:"_shouldShowCursor",value:function(e){return!!e&&(e===this._target||!!this._target.contains(e)&&"none"===window.getComputedStyle(e).cursor)}},{key:"_updateVisibility",value:function(e){this._captureIsActive()&&(e=document.captureElement),this._shouldShowCursor(e)?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)}}]),e}();t["default"]=l},rySg:function(e,t,n){n("SMc4"),n("8nMs")},s2MQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},s2lz:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("gPAo"),s=n("VaxA"),l=n("9hCq"),c=n("SgGq"),u=n("mFDi"),d=n("Fofx"),h=n("5s0K"),f=n("KCsZ"),p=n("7aKB"),A=p.windowOpen,g=i.bind,m=o.Group,v=o.Rect,y=i.each,b=3,_=["label"],w=["emphasis","label"],x=["upperLabel"],C=["emphasis","upperLabel"],S=10,k=1,E=2,O=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),B=function(e){var t=O(e);return t.stroke=t.fill=t.lineWidth=null,t},M=r.extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage=T(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(e,t,n,r){var o=t.findComponents({mainType:"series",subType:"treemap",query:r});if(!(i.indexOf(o,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var a=["treemapZoomToNode","treemapRootToNode"],l=s.retrieveTargetInfo(r,a,e),c=r&&r.type,u=e.layoutInfo,d=!this._oldTree,h=this._storage,f="treemapRootToNode"===c&&l&&h?{rootNodeGroup:h.nodeGroup[l.node.getRawIndex()],direction:r.direction}:null,p=this._giveContainerGroup(u),A=this._doRender(p,e,f);d||c&&"treemapZoomToNode"!==c&&"treemapRootToNode"!==c?A.renderFinally():this._doAnimation(p,A,e,f),this._resetController(n),this._renderBreadcrumb(e,n,l)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new m,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,n){var r=t.getData().tree,o=this._oldTree,s=T(),l=T(),c=this._storage,u=[],d=i.curry(I,t,l,c,n,s,u);f(r.root?[r.root]:[],o&&o.root?[o.root]:[],e,r===o||!o,0);var h=p(c);return this._oldTree=r,this._storage=l,{lastsForAnimation:s,willDeleteEls:h,renderFinally:A};function f(e,t,n,r,o){function s(e){return e.getId()}function l(i,a){var s=null!=i?e[i]:null,l=null!=a?t[a]:null,c=d(s,l,n,o);c&&f(s&&s.viewChildren||[],l&&l.viewChildren||[],c,r,o+1)}r?(t=e,y(e,(function(e,t){!e.isRemoved()&&l(t,t)}))):new a(t,e,s,s).add(l).update(l).remove(i.curry(l,null)).execute()}function p(e){var t=T();return e&&y(e,(function(e,n){var r=t[n];y(e,(function(e){e&&(r.push(e),e.__tmWillDelete=1)}))})),t}function A(){y(h,(function(e){y(e,(function(e){e.parent&&e.parent.remove(e)}))})),y(u,(function(e){e.invisible=!0,e.dirty()}))}},_doAnimation:function(e,t,n,r){if(n.get("animation")){var o=n.get("animationDurationUpdate"),a=n.get("animationEasing"),s=h.createWrap();y(t.willDeleteEls,(function(e,t){y(e,(function(e,n){if(!e.invisible){var i,l=e.parent;if(r&&"drillDown"===r.direction)i=l===r.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,u=0;l.__tmWillDelete||(c=l.__tmNodeWidth/2,u=l.__tmNodeHeight/2),i="nodeGroup"===t?{position:[c,u],style:{opacity:0}}:{shape:{x:c,y:u,width:0,height:0},style:{opacity:0}}}i&&s.add(e,i,o,a)}}))})),y(this._storage,(function(e,n){y(e,(function(e,r){var l=t.lastsForAnimation[n][r],c={};l&&("nodeGroup"===n?l.old&&(c.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(c.shape=i.extend({},e.shape),e.setShape(l.old)),l.fadein?(e.setStyle("opacity",0),c.style={opacity:1}):1!==e.style.opacity&&(c.style={opacity:1})),s.add(e,c,o,a))}))}),this),this._state="animating",s.done(g((function(){this._state="ready",t.renderFinally()}),this)).start()}},_resetController:function(e){var t=this._controller;t||(t=this._controller=new c(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",g(this._onPan,this)),t.on("zoom",g(this._onZoom,this)));var n=new u(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,r){return n.contain(t,r)}))},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e){if("animating"!==this._state&&(Math.abs(e.dx)>b||Math.abs(e.dy)>b)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},_onZoom:function(e){var t=e.originX,n=e.originY;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;var o=new u(i.x,i.y,i.width,i.height),a=this.seriesModel.layoutInfo;t-=a.x,n-=a.y;var s=d.create();d.translate(s,s,[-t,-n]),d.scale(s,s,[e.scale,e.scale]),d.translate(s,s,[t,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(e){e.on("click",(function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var n=this.findTarget(e.offsetX,e.offsetY);if(n){var r=n.node;if(r.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===t)this._zoomToNode(n);else if("link"===t){var i=r.hostTree.data.getItemModel(r.dataIndex),o=i.get("link",!0),a=i.get("target",!0)||"blank";o&&A(o,a)}}}}}),this)},_renderBreadcrumb:function(e,t,n){function r(t){"animating"!==this._state&&(s.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),n||(n={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(e,t,n.node,g(r,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=T(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var n,r=this.seriesModel.getViewRoot();return r.eachNode({attr:"viewChildren",order:"preorder"},(function(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(e,t),a=i.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:r,offsetX:o[0],offsetY:o[1]}}}),this),n}});function T(){return{nodeGroup:[],background:[],content:[]}}function I(e,t,n,r,a,s,l,c,u,d){if(l){var h=l.getLayout(),f=e.getData();if(f.setItemGraphicEl(l.dataIndex,null),h&&h.isInView){var p=h.width,A=h.height,g=h.borderWidth,y=h.invisible,b=l.getRawIndex(),S=c&&c.getRawIndex(),M=l.viewChildren,T=h.upperHeight,I=M&&M.length,D=l.getModel("itemStyle"),P=l.getModel("emphasis.itemStyle"),N=V("nodeGroup",m);if(N){if(u.add(N),N.attr("position",[h.x||0,h.y||0]),N.__tmNodeWidth=p,N.__tmNodeHeight=A,h.isAboveViewRoot)return N;var j=l.getModel(),F=V("background",v,d,k);if(F&&U(N,F,I&&h.upperLabelHeight),I)o.isHighDownDispatcher(N)&&o.setAsHighDownDispatcher(N,!1),F&&(o.setAsHighDownDispatcher(F,!0),f.setItemGraphicEl(l.dataIndex,F));else{var R=V("content",v,d,E);R&&H(N,R),F&&o.isHighDownDispatcher(F)&&o.setAsHighDownDispatcher(F,!1),o.setAsHighDownDispatcher(N,!0),f.setItemGraphicEl(l.dataIndex,N)}return N}}}function U(t,n,r){if(n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:p,height:A}),y)Q(n);else{n.invisible=!1;var i=l.getVisual("borderColor",!0),a=P.get("borderColor"),s=B(D);s.fill=i;var c=O(P);if(c.fill=a,r){var u=p-2*g;K(s,c,i,u,T,{x:g,y:0,width:u,height:T})}else s.text=c.text=null;n.setStyle(s),o.setElementHoverStyle(n,c)}t.add(n)}function H(t,n){n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex;var r=Math.max(p-2*g,0),i=Math.max(A-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:r,height:i}),y)Q(n);else{n.invisible=!1;var a=l.getVisual("color",!0),s=B(D);s.fill=a;var c=O(P);K(s,c,a,r,i),n.setStyle(s),o.setElementHoverStyle(n,c)}t.add(n)}function Q(e){!e.invisible&&s.push(e)}function K(t,n,r,a,s,c){var u=j.get("name"),d=j.getModel(c?x:_),f=j.getModel(c?C:w),p=d.getShallow("show");o.setLabelStyle(t,n,d,f,{defaultText:p?u:null,autoColor:r,isRectText:!0,labelFetcher:e,labelDataIndex:l.dataIndex,labelProp:c?"upperLabel":"label"}),z(t,c,h),z(n,c,h),c&&(t.textRect=i.clone(c)),t.truncate=p&&d.get("ellipsis")?{outerWidth:a,outerHeight:s,minChar:2}:null}function z(t,n,r){var i=t.text;if(!n&&r.isLeafRoot&&null!=i){var o=e.get("drillDownIcon",!0);t.text=o?o+" "+i:i}}function V(e,r,i,o){var s=null!=S&&n[e][S],l=a[e];return s?(n[e][S]=null,W(l,s,e)):y||(s=new r({z:L(i,o)}),s.__tmDepth=i,s.__tmStorageName=e,G(l,s,e)),t[e][b]=s}function W(e,t,n){var r=e[b]={};r.old="nodeGroup"===n?t.position.slice():i.extend({},t.shape)}function G(e,t,n){var i=e[b]={},o=l.parentNode;if(o&&(!r||"drillDown"===r.direction)){var s=0,c=0,u=a.background[o.getRawIndex()];!r&&u&&u.old&&(s=u.old.width,c=u.old.height),i.old="nodeGroup"===n?[0,c]:{x:s,y:c,width:0,height:0}}i.fadein="nodeGroup"!==n}}function L(e,t){var n=e*S+t;return(n-1)/n}e.exports=M},sAZ8:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("+rIm"),a=n("/IIm"),s=n("9KIM"),l=n("IwbS"),c=["axisLine","axisTickLabel","axisName"],u=r.extendComponentView({type:"parallelAxis",init:function(e,t){u.superApply(this,"init",arguments),(this._brushController=new a(t.getZr())).on("brush",i.bind(this._onBrush,this))},render:function(e,t,n,r){if(!d(e,t,r)){this.axisModel=e,this.api=n,this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),e.get("show")){var s=f(e,t),u=s.coordinateSystem,h=e.getAreaSelectStyle(),p=h.width,A=e.axis.dim,g=u.getAxisLayout(A),m=i.extend({strokeContainThreshold:p},g),v=new o(e,m);i.each(c,v.add,v),this._axisGroup.add(v.getGroup()),this._refreshBrushController(m,h,e,s,p,n);var y=r&&!1===r.animation?null:e;l.groupTransition(a,this._axisGroup,y)}}},_refreshBrushController:function(e,t,n,r,i,o){var a=n.axis.getExtent(),c=a[1]-a[0],u=Math.min(30,.1*Math.abs(c)),d=l.BoundingRect.create({x:a[0],y:-i/2,width:c,height:i});d.x-=u,d.width+=2*u,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(d),isTargetByCursor:s.makeRectIsTargetByCursor(d,o,r),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(d,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(h(n))},_onBrush:function(e,t){var n=this.axisModel,r=n.axis,o=i.map(e,(function(e){return[r.coordToData(e.range[0],!0),r.coordToData(e.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},dispose:function(){this._brushController.dispose()}});function d(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function h(e){var t=e.axis;return i.map(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}function f(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var p=u;e.exports=p},sE09:function(e,t,n){},sEf8:function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},sGsY:function(e,t,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("pVnL"),a=n.n(o),s=n("q1tI"),l=n("TSYQ"),c=n.n(l),u=n("H84U"),d=n("B6l+"),h=n.n(d),f=function(e){var t,n=e.value,r=e.formatter,i=e.precision,o=e.decimalSeparator,a=e.groupSeparator,l=void 0===a?"":a,c=e.prefixCls;if("function"===typeof r)t=r(n);else{var u=String(n),d=u.match(/^(-?)(\d*)(\.(\d+))?$/);if(d&&"-"!==u){var f=d[1],p=d[2]||"0",A=d[4]||"";p=p.replace(/\B(?=(\d{3})+(?!\d))/g,l),"number"===typeof i&&(A=h()(A,i,"0").slice(0,i)),A&&(A="".concat(o).concat(A)),t=[s["createElement"]("span",{key:"int",className:"".concat(c,"-content-value-int")},f,p),A&&s["createElement"]("span",{key:"decimal",className:"".concat(c,"-content-value-decimal")},A)]}else t=u}return s["createElement"]("span",{className:"".concat(c,"-content-value")},t)},p=f,A=function(e){var t=e.prefixCls,n=e.className,r=e.style,o=e.valueStyle,l=e.value,u=void 0===l?0:l,d=e.title,h=e.valueRender,f=e.prefix,A=e.suffix,g=e.direction,m=e.onMouseEnter,v=e.onMouseLeave,y=s["createElement"](p,a()({},e,{value:u})),b=c()(t,n,i()({},"".concat(t,"-rtl"),"rtl"===g));return s["createElement"]("div",{className:b,style:r,onMouseEnter:m,onMouseLeave:v},d&&s["createElement"]("div",{className:"".concat(t,"-title")},d),s["createElement"]("div",{style:o,className:"".concat(t,"-content")},f&&s["createElement"]("span",{className:"".concat(t,"-content-prefix")},f),h?h(y):y,A&&s["createElement"]("span",{className:"".concat(t,"-content-suffix")},A)))};A.defaultProps={decimalSeparator:".",groupSeparator:","};var g=Object(u["c"])({prefixCls:"statistic"})(A),m=g,v=n("lwsE"),y=n.n(v),b=n("W8MJ"),_=n.n(b),w=n("7W2i"),x=n.n(w),C=n("LQ03"),S=n.n(C),k=n("J4zp"),E=n.n(k),O=n("QQZ/"),B=n.n(O),M=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function T(e,t){var n=e,r=/\[[^\]]*]/g,i=(t.match(r)||[]).map((function(e){return e.slice(1,-1)})),o=t.replace(r,"[]"),a=M.reduce((function(e,t){var r=E()(t,2),i=r[0],o=r[1];if(-1!==e.indexOf(i)){var a=Math.floor(n/o);return n-=a*o,e.replace(new RegExp("".concat(i,"+"),"g"),(function(e){var t=e.length;return B()(a.toString(),t,"0")}))}return e}),o),s=0;return a.replace(r,(function(){var e=i[s];return s+=1,e}))}function I(e,t){var n=t.format,r=void 0===n?"":n,i=new Date(e).getTime(),o=Date.now(),a=Math.max(i-o,0);return T(a,r)}var L=n("0n0R"),D=1e3/30;function P(e){return new Date(e).getTime()}var N=function(e){x()(n,e);var t=S()(n);function n(){var e;return y()(this,n),e=t.apply(this,arguments),e.syncTimer=function(){var t=e.props.value,n=P(t);n>=Date.now()?e.startTimer():e.stopTimer()},e.startTimer=function(){e.countdownId||(e.countdownId=window.setInterval((function(){e.forceUpdate()}),D))},e.stopTimer=function(){var t=e.props,n=t.onFinish,r=t.value;if(e.countdownId){clearInterval(e.countdownId),e.countdownId=void 0;var i=P(r);n&&i<Date.now()&&n()}},e.formatCountdown=function(t,n){var r=e.props.format;return I(t,a()(a()({},n),{format:r}))},e.valueRender=function(e){return Object(L["a"])(e,{title:void 0})},e}return _()(n,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return s["createElement"](m,a()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),n}(s["Component"]);N.defaultProps={format:"HH:mm:ss"};var j=N;m.Countdown=j;t["a"]=m},"sK/D":function(e,t,n){var r=n("IwbS"),i=n("OELB"),o=i.round;function a(e,t,n){var i=e.getArea(),o=e.getBaseAxis().isHorizontal(),a=i.x,s=i.y,l=i.width,c=i.height,u=n.get("lineStyle.width")||2;a-=u/2,s-=u/2,l+=u,c+=u,a=Math.floor(a),l=Math.round(l);var d=new r.Rect({shape:{x:a,y:s,width:l,height:c}});return t&&(d.shape[o?"width":"height"]=0,r.initProps(d,{shape:{width:l,height:c}},n)),d}function s(e,t,n){var i=e.getArea(),a=new r.Sector({shape:{cx:o(e.cx,1),cy:o(e.cy,1),r0:o(i.r0,1),r:o(i.r,1),startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return t&&(a.shape.endAngle=i.startAngle,r.initProps(a,{shape:{endAngle:i.endAngle}},n)),a}function l(e,t,n){return e?"polar"===e.type?s(e,t,n):"cartesian2d"===e.type?a(e,t,n):null:null}t.createGridClipPath=a,t.createPolarClipPath=s,t.createClipPath=l},sKgW:function(e,t){var n=9007199254740991,r=Math.floor;function i(e,t){var i="";if(!e||t<1||t>n)return i;do{t%2&&(i+=e),t=r(t/2),t&&(e+=e)}while(t);return i}e.exports=i},sPJy:function(e,t,n){"use strict";n("cIOH"),n("AOa7"),n("lUTK"),n("qVdP")},sPtV:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("q1tI"),i=n("hkKa");function o(e){var t=r["useRef"](e),n=Object(i["a"])();return[function(){return t.current},function(e){t.current=e,n()}]}},sRBo:function(e,t,n){"use strict";n("cIOH"),n("KCY9")},sRwP:function(e,t,n){n("jsU+"),n("2548"),n("Tp9H"),n("06DH"),n("dnwI"),n("fE02"),n("33Ds")},"sS/r":function(e,t,n){var r=n("4fz+"),i=n("iRjW"),o=n("Yl7c"),a=function(){this.group=new r,this.uid=i.getUID("viewComponent")};a.prototype={constructor:a,init:function(e,t){},render:function(e,t,n,r){},dispose:function(){},filterForExposedEvent:null};var s=a.prototype;s.updateView=s.updateLayout=s.updateVisual=function(e,t,n,r){},o.enableClassExtend(a),o.enableClassManagement(a,{registerWhenExtend:!0});var l=a;e.exports=l},"sW+o":function(e,t,n){var r=n("SrGk"),i=n("bYtY"),o=n("SUKs"),a=n("Qe9p");function s(e,t){r.call(this,e,t,["linearGradient","radialGradient"],"__gradient_in_use__")}i.inherits(s,r),s.prototype.addWithoutUpdate=function(e,t){if(t&&t.style){var n=this;i.each(["fill","stroke"],(function(r){if(t.style[r]&&("linear"===t.style[r].type||"radial"===t.style[r].type)){var i,o=t.style[r],a=n.getDefs(!0);o._dom?(i=o._dom,a.contains(o._dom)||n.addDom(i)):i=n.add(o),n.markUsed(t);var s=i.getAttribute("id");e.setAttribute(r,"url(#"+s+")")}}))}},s.prototype.add=function(e){var t;if("linear"===e.type)t=this.createElement("linearGradient");else{if("radial"!==e.type)return o("Illegal gradient type."),null;t=this.createElement("radialGradient")}return e.id=e.id||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-gradient-"+e.id),this.updateDom(e,t),this.addDom(t),t},s.prototype.update=function(e){var t=this;r.prototype.update.call(this,e,(function(){var n=e.type,r=e._dom.tagName;"linear"===n&&"linearGradient"===r||"radial"===n&&"radialGradient"===r?t.updateDom(e,e._dom):(t.removeDom(e),t.add(e))}))},s.prototype.updateDom=function(e,t){if("linear"===e.type)t.setAttribute("x1",e.x),t.setAttribute("y1",e.y),t.setAttribute("x2",e.x2),t.setAttribute("y2",e.y2);else{if("radial"!==e.type)return void o("Illegal gradient type.");t.setAttribute("cx",e.x),t.setAttribute("cy",e.y),t.setAttribute("r",e.r)}e.global?t.setAttribute("gradientUnits","userSpaceOnUse"):t.setAttribute("gradientUnits","objectBoundingBox"),t.innerHTML="";for(var n=e.colorStops,r=0,i=n.length;r<i;++r){var s=this.createElement("stop");s.setAttribute("offset",100*n[r].offset+"%");var l=n[r].color;if(l.indexOf(!1)){var c=a.parse(l)[3],u=a.toHex(l);s.setAttribute("stop-color","#"+u),s.setAttribute("stop-opacity",c)}else s.setAttribute("stop-color",n[r].color);t.appendChild(s)}e._dom=t},s.prototype.markUsed=function(e){if(e.style){var t=e.style.fill;t&&t._dom&&r.prototype.markUsed.call(this,t._dom),t=e.style.stroke,t&&t._dom&&r.prototype.markUsed.call(this,t._dom)}};var l=s;e.exports=l},sdST:function(e,t,n){var r=n("hi0g");function i(e,t){return t=t||{},r(t.coordDimensions||[],e,{dimsDef:t.dimensionsDefine||e.dimensionsDefine,encodeDef:t.encodeDefine||e.encodeDefine,dimCount:t.dimensionsCount,encodeDefaulter:t.encodeDefaulter,generateCoord:t.generateCoord,generateCoordCount:t.generateCoordCount})}e.exports=i},seXi:function(e,t,n){var r=n("qZTm"),i=1,o=Object.prototype,a=o.hasOwnProperty;function s(e,t,n,o,s,l){var c=n&i,u=r(e),d=u.length,h=r(t),f=h.length;if(d!=f&&!c)return!1;var p=d;while(p--){var A=u[p];if(!(c?A in t:a.call(t,A)))return!1}var g=l.get(e),m=l.get(t);if(g&&m)return g==t&&m==e;var v=!0;l.set(e,t),l.set(t,e);var y=c;while(++p<d){A=u[p];var b=e[A],_=t[A];if(o)var w=c?o(_,b,A,t,e,l):o(b,_,A,e,t,l);if(!(void 0===w?b===_||s(b,_,n,o,l):w)){v=!1;break}y||(y="constructor"==A)}if(v&&!y){var x=e.constructor,C=t.constructor;x==C||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof C&&C instanceof C||(v=!1)}return l["delete"](e),l["delete"](t),v}e.exports=s},shjB:function(e,t){var n=9007199254740991;function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}e.exports=r},sjKO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var r=30,i=12;function o(e,t){var n,o,a,s,l,c,u,d,h,f,p,A,g,m,v,y,b,_,w,x,C,S,k,E,O;n=e.state,o=e.next_in,E=e.input,a=o+(e.avail_in-5),s=e.next_out,O=e.output,l=s-(t-e.avail_out),c=s+(e.avail_out-257),u=n.dmax,d=n.wsize,h=n.whave,f=n.wnext,p=n.window,A=n.hold,g=n.bits,m=n.lencode,v=n.distcode,y=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;e:do{g<15&&(A+=E[o++]<<g,g+=8,A+=E[o++]<<g,g+=8),_=m[A&y];t:for(;;){if(w=_>>>24,A>>>=w,g-=w,w=_>>>16&255,0===w)O[s++]=65535&_;else{if(!(16&w)){if(0===(64&w)){_=m[(65535&_)+(A&(1<<w)-1)];continue t}if(32&w){n.mode=i;break e}e.msg="invalid literal/length code",n.mode=r;break e}x=65535&_,w&=15,w&&(g<w&&(A+=E[o++]<<g,g+=8),x+=A&(1<<w)-1,A>>>=w,g-=w),g<15&&(A+=E[o++]<<g,g+=8,A+=E[o++]<<g,g+=8),_=v[A&b];n:for(;;){if(w=_>>>24,A>>>=w,g-=w,w=_>>>16&255,!(16&w)){if(0===(64&w)){_=v[(65535&_)+(A&(1<<w)-1)];continue n}e.msg="invalid distance code",n.mode=r;break e}if(C=65535&_,w&=15,g<w&&(A+=E[o++]<<g,g+=8,g<w&&(A+=E[o++]<<g,g+=8)),C+=A&(1<<w)-1,C>u){e.msg="invalid distance too far back",n.mode=r;break e}if(A>>>=w,g-=w,w=s-l,C>w){if(w=C-w,w>h&&n.sane){e.msg="invalid distance too far back",n.mode=r;break e}if(S=0,k=p,0===f){if(S+=d-w,w<x){x-=w;do{O[s++]=p[S++]}while(--w);S=s-C,k=O}}else if(f<w){if(S+=d+f-w,w-=f,w<x){x-=w;do{O[s++]=p[S++]}while(--w);if(S=0,f<x){w=f,x-=w;do{O[s++]=p[S++]}while(--w);S=s-C,k=O}}}else if(S+=f-w,w<x){x-=w;do{O[s++]=p[S++]}while(--w);S=s-C,k=O}while(x>2)O[s++]=k[S++],O[s++]=k[S++],O[s++]=k[S++],x-=3;x&&(O[s++]=k[S++],x>1&&(O[s++]=k[S++]))}else{S=s-C;do{O[s++]=O[S++],O[s++]=O[S++],O[s++]=O[S++],x-=3}while(x>2);x&&(O[s++]=O[S++],x>1&&(O[s++]=O[S++]))}break}}break}}while(o<a&&s<c);x=g>>3,o-=x,g-=x<<3,A&=(1<<g)-1,e.next_in=o,e.next_out=s,e.avail_in=o<a?a-o+5:5-(o-a),e.avail_out=s<c?c-s+257:257-(s-c),n.hold=A,n.bits=g}},szbU:function(e,t,n){var r=n("bYtY"),i=r.each;function o(e){var t=e&&e.visualMap;r.isArray(t)||(t=t?[t]:[]),i(t,(function(e){if(e){a(e,"splitList")&&!a(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&r.isArray(t)&&i(t,(function(e){r.isObject(e)&&(a(e,"start")&&!a(e,"min")&&(e.min=e.start),a(e,"end")&&!a(e,"max")&&(e.max=e.end))}))}}))}function a(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}e.exports=o},t23M:function(e,t,n){"use strict";var r=n("wx14"),i=n("q1tI"),o=n("Zm9Q"),a=(n("Kwbf"),n("VTBJ")),s=n("c+Xe"),l=n("m+aA"),c=n("bdgK"),u=new Map;function d(e){e.forEach((function(e){var t,n=e.target;null===(t=u.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}var h=new c["default"](d);function f(e,t){u.has(e)||(u.set(e,new Set),h.observe(e)),u.get(e).add(t)}function p(e,t){u.has(e)&&(u.get(e)["delete"](t),u.get(e).size||(h.unobserve(e),u["delete"](e)))}var A=n("1OyB"),g=n("vuIU"),m=n("Ji7U"),v=n("LK+K"),y=function(e){Object(m["a"])(n,e);var t=Object(v["a"])(n);function n(){return Object(A["a"])(this,n),t.apply(this,arguments)}return Object(g["a"])(n,[{key:"render",value:function(){return this.props.children}}]),n}(i["Component"]),b=i["createContext"](null);function _(e){var t=e.children,n=e.onBatchResize,r=i["useRef"](0),o=i["useRef"]([]),a=i["useContext"](b),s=i["useCallback"]((function(e,t,i){r.current+=1;var s=r.current;o.current.push({size:e,element:t,data:i}),Promise.resolve().then((function(){s===r.current&&(null===n||void 0===n||n(o.current),o.current=[])})),null===a||void 0===a||a(e,t,i)}),[n,a]);return i["createElement"](b.Provider,{value:s},t)}function w(e,t){var n=e.children,r=e.disabled,o=i["useRef"](null),c=i["useRef"](null),u=i["useContext"](b),d="function"===typeof n,h=d?n(o):n,A=i["useRef"]({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),g=!d&&i["isValidElement"](h)&&Object(s["c"])(h),m=g?h.ref:null,v=i["useMemo"]((function(){return Object(s["a"])(m,o)}),[m,o]),_=function(){return Object(l["a"])(o.current)||Object(l["a"])(c.current)};i["useImperativeHandle"](t,(function(){return _()}));var w=i["useRef"](e);w.current=e;var x=i["useCallback"]((function(e){var t=w.current,n=t.onResize,r=t.data,i=e.getBoundingClientRect(),o=i.width,s=i.height,l=e.offsetWidth,c=e.offsetHeight,d=Math.floor(o),h=Math.floor(s);if(A.current.width!==d||A.current.height!==h||A.current.offsetWidth!==l||A.current.offsetHeight!==c){var f={width:d,height:h,offsetWidth:l,offsetHeight:c};A.current=f;var p=l===Math.round(o)?o:l,g=c===Math.round(s)?s:c,m=Object(a["a"])(Object(a["a"])({},f),{},{offsetWidth:p,offsetHeight:g});null===u||void 0===u||u(m,e,r),n&&Promise.resolve().then((function(){n(m,e)}))}}),[]);return i["useEffect"]((function(){var e=_();return e&&!r&&f(e,x),function(){return p(e,x)}}),[o.current,r]),i["createElement"](y,{ref:c},g?i["cloneElement"](h,{ref:v}):h)}var x=i["forwardRef"](w);var C=x,S="rc-observer-key";function k(e,t){var n=e.children,a="function"===typeof n?[n]:Object(o["a"])(n);return a.map((function(n,o){var a=(null===n||void 0===n?void 0:n.key)||"".concat(S,"-").concat(o);return i["createElement"](C,Object(r["a"])({},e,{key:a,ref:0===o?t:void 0}),n)}))}var E=i["forwardRef"](k);E.Collection=_;t["a"]=E},t3Fx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n("q1tI"),a=f(o),s=n("17x9"),l=f(s),c=n("tkwv"),u=f(c),d=n("u3os"),h=n("kzFp");function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=function(e){function t(e){p(this,t);var n=A(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getEchartsInstance=function(){return n.echartsLib.getInstanceByDom(n.echartsElement)||n.echartsLib.init(n.echartsElement,n.props.theme,n.props.opts)},n.dispose=function(){if(n.echartsElement){try{(0,d.clear)(n.echartsElement)}catch(e){console.warn(e)}n.echartsLib.dispose(n.echartsElement)}},n.rerender=function(){var e=n.props,t=e.onEvents,r=e.onChartReady,i=n.renderEchartDom();n.bindEvents(i,t||{}),"function"===typeof r&&n.props.onChartReady(i),n.echartsElement&&(0,d.bind)(n.echartsElement,(function(){try{i.resize()}catch(e){console.warn(e)}}))},n.bindEvents=function(e,t){var n=function(t,n){"string"===typeof t&&"function"===typeof n&&e.on(t,(function(t){n(t,e)}))};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n(r,t[r])},n.renderEchartDom=function(){var e=n.getEchartsInstance();return e.setOption(n.props.option,n.props.notMerge||!1,n.props.lazyUpdate||!1),n.props.showLoading?e.showLoading(n.props.loadingOption||null):e.hideLoading(),e},n.echartsLib=e.echarts,n.echartsElement=null,n}return g(t,e),i(t,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(e){if("function"!==typeof this.props.shouldSetOption||this.props.shouldSetOption(e,this.props)){if(!(0,u["default"])(e.theme,this.props.theme)||!(0,u["default"])(e.opts,this.props.opts)||!(0,u["default"])(e.onEvents,this.props.onEvents))return this.dispose(),void this.rerender();var t=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,u["default"])((0,h.pick)(this.props,t),(0,h.pick)(e,t))){var n=this.renderEchartDom();if(!(0,u["default"])(e.style,this.props.style)||!(0,u["default"])(e.className,this.props.className))try{n.resize()}catch(r){console.warn(r)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var e=this,t=this.props,n=t.style,i=t.className,o=r({height:300},n);return a["default"].createElement("div",{ref:function(t){e.echartsElement=t},style:o,className:"echarts-for-react "+i})}}]),t}(o.Component);t["default"]=m,m.propTypes={option:l["default"].object.isRequired,echarts:l["default"].object,notMerge:l["default"].bool,lazyUpdate:l["default"].bool,style:l["default"].object,className:l["default"].string,theme:l["default"].oneOfType([l["default"].string,l["default"].object]),onChartReady:l["default"].func,showLoading:l["default"].bool,loadingOption:l["default"].object,onEvents:l["default"].object,opts:l["default"].shape({devicePixelRatio:l["default"].number,renderer:l["default"].oneOf(["canvas","svg"]),width:l["default"].oneOfType([l["default"].number,l["default"].oneOf([null,void 0,"auto"])]),height:l["default"].oneOfType([l["default"].number,l["default"].oneOf([null,void 0,"auto"])])}),shouldSetOption:l["default"].func},m.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("Qxkt"),a=n("Znkb"),s=n("+rIm"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function c(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),i=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function u(e){var t=e.getRadiusAxis();return t.inverse?0:1}function d(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var h=a.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,i=n.polar,o=i.getRadiusAxis().getExtent(),a=n.getTicksCoords(),s=n.getMinorTicksCoords(),c=r.map(n.getViewLabels(),(function(e){e=r.clone(e);return e.coord=n.dataToCoord(e.tickValue),e}));d(c),d(a),r.each(l,(function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,i,a,s,o,c)}),this)}},_axisLine:function(e,t,n,r,o){var a,s=e.getModel("axisLine.lineStyle"),l=u(t),c=l?0:1;a=0===o[c]?new i.Circle({shape:{cx:t.cx,cy:t.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new i.Ring({shape:{cx:t.cx,cy:t.cy,r:o[l],r0:o[c]},style:s.getLineStyle(),z2:1,silent:!0}),a.style.fill=null,this.group.add(a)},_axisTick:function(e,t,n,o,a){var s=e.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),d=a[u(t)],h=r.map(n,(function(e){return new i.Line({shape:c(t,[d,d+l],e.coord)})}));this.group.add(i.mergePath(h,{style:r.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_minorTick:function(e,t,n,o,a){if(o.length){for(var s=e.getModel("axisTick"),l=e.getModel("minorTick"),d=(s.get("inside")?-1:1)*l.get("length"),h=a[u(t)],f=[],p=0;p<o.length;p++)for(var A=0;A<o[p].length;A++)f.push(new i.Line({shape:c(t,[h,h+d],o[p][A].coord)}));this.group.add(i.mergePath(f,{style:r.defaults(l.getModel("lineStyle").getLineStyle(),r.defaults(s.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}))}))}},_axisLabel:function(e,t,n,a,l,c){var d=e.getCategories(!0),h=e.getModel("axisLabel"),f=h.get("margin"),p=e.get("triggerEvent");r.each(c,(function(n,r){var a=h,c=n.tickValue,A=l[u(t)],g=t.coordToPoint([A+f,n.coord]),m=t.cx,v=t.cy,y=Math.abs(g[0]-m)/A<.3?"center":g[0]>m?"left":"right",b=Math.abs(g[1]-v)/A<.3?"middle":g[1]>v?"top":"bottom";d&&d[c]&&d[c].textStyle&&(a=new o(d[c].textStyle,h,h.ecModel));var _=new i.Text({silent:s.isLabelSilent(e)});this.group.add(_),i.setTextStyle(_.style,a,{x:g[0],y:g[1],textFill:a.getTextColor()||e.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:y,textVerticalAlign:b}),p&&(_.eventData=s.makeAxisEventDataBase(e),_.eventData.targetType="axisLabel",_.eventData.value=n.rawLabel)}),this)},_splitLine:function(e,t,n,o,a){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),d=0;u=u instanceof Array?u:[u];for(var h=[],f=0;f<n.length;f++){var p=d++%u.length;h[p]=h[p]||[],h[p].push(new i.Line({shape:c(t,a,n[f].coord)}))}for(f=0;f<h.length;f++)this.group.add(i.mergePath(h[f],{style:r.defaults({stroke:u[f%u.length]},l.getLineStyle()),silent:!0,z:e.get("z")}))},_minorSplitLine:function(e,t,n,r,o){if(r.length){for(var a=e.getModel("minorSplitLine"),s=a.getModel("lineStyle"),l=[],u=0;u<r.length;u++)for(var d=0;d<r[u].length;d++)l.push(new i.Line({shape:c(t,o,r[u][d].coord)}));this.group.add(i.mergePath(l,{style:s.getLineStyle(),silent:!0,z:e.get("z")}))}},_splitArea:function(e,t,n,o,a){if(n.length){var s=e.getModel("splitArea"),l=s.getModel("areaStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var d=[],h=Math.PI/180,f=-n[0].coord*h,p=Math.min(a[0],a[1]),A=Math.max(a[0],a[1]),g=e.get("clockwise"),m=1;m<n.length;m++){var v=u++%c.length;d[v]=d[v]||[],d[v].push(new i.Sector({shape:{cx:t.cx,cy:t.cy,r0:p,r:A,startAngle:f,endAngle:-n[m].coord*h,clockwise:g},silent:!0})),f=-n[m].coord*h}for(m=0;m<d.length;m++)this.group.add(i.mergePath(d[m],{style:r.defaults({fill:c[m%c.length]},l.getAreaStyle()),silent:!0}))}}});e.exports=h},tMB7:function(e,t,n){var r=n("y1pI");function i(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=i},tSko:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("SRve")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="PlusOutlined";var h=a.forwardRef(d);t.default=h},tadb:function(e,t,n){var r=n("Cwc5"),i=n("Kz5y"),o=r(i,"DataView");e.exports=o},tceW:function(e,t,n){var r=n("KCsZ"),i=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getBarItemStyle:function(e){var t=i(this,e);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(t.lineDash=n)}return t}};e.exports=o},tkwv:function(e,t,n){"use strict";var r=Array.isArray,i=Object.keys,o=Object.prototype.hasOwnProperty;e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var a,s,l,c=r(t),u=r(n);if(c&&u){if(s=t.length,s!=n.length)return!1;for(a=s;0!==a--;)if(!e(t[a],n[a]))return!1;return!0}if(c!=u)return!1;var d=t instanceof Date,h=n instanceof Date;if(d!=h)return!1;if(d&&h)return t.getTime()==n.getTime();var f=t instanceof RegExp,p=n instanceof RegExp;if(f!=p)return!1;if(f&&p)return t.toString()==n.toString();var A=i(t);if(s=A.length,s!==i(n).length)return!1;for(a=s;0!==a--;)if(!o.call(n,A[a]))return!1;for(a=s;0!==a--;)if(l=A[a],!e(t[l],n[l]))return!1;return!0}return t!==t&&n!==n}},txkQ:function(e,t,n){var r=n("aX58");t.zrender=r;var i=n("Fofx");t.matrix=i;var o=n("QBsz");t.vector=o;var a=n("bYtY"),s=n("Qe9p");t.color=s;var l=n("IwbS"),c=n("OELB");t.number=c;var u=n("7aKB");t.format=u;var d=n("iLNv");d.throttle;t.throttle=d.throttle;var h=n("FUi9");t.helper=h;var f=n("vafp");t.parseGeoJSON=f;var p=n("YXkt");t.List=p;var A=n("Qxkt");t.Model=A;var g=n("hM6l");t.Axis=g;var m=n("ItGF");t.env=m;var v=f,y={};a.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(e){y[e]=a[e]}));var b={};a.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(e){b[e]=l[e]})),t.parseGeoJson=v,t.util=y,t.graphic=b},u3DP:function(e,t,n){var r=n("6GrX"),i=n("OELB"),o=i.parsePercent,a=Math.PI/180;function s(e,t,n,r,i,o,a,s,l,c){function u(t,n,r,i){for(var o=t;o<n;o++){if(e[o].y+r>l+a)break;if(e[o].y+=r,o>t&&o+1<n&&e[o+1].y>e[o].y+e[o].height)return void d(o,r/2)}d(n-1,r/2)}function d(t,n){for(var r=t;r>=0;r--){if(e[r].y-n<l)break;if(e[r].y-=n,r>0&&e[r].y>e[r-1].y+e[r-1].height)break}}function h(e,t,n,r,i,o){for(var a=t?Number.MAX_VALUE:0,s=0,l=e.length;s<l;s++)if("none"===e[s].labelAlignTo){var c=Math.abs(e[s].y-r),u=e[s].len,d=e[s].len2,h=c<i+u?Math.sqrt((i+u+d)*(i+u+d)-c*c):Math.abs(e[s].x-n);t&&h>=a&&(h=a-10),!t&&h<=a&&(h=a+10),e[s].x=n+h*o,a=h}}e.sort((function(e,t){return e.y-t.y}));for(var f,p=0,A=e.length,g=[],m=[],v=0;v<A;v++){if("outer"===e[v].position&&"labelLine"===e[v].labelAlignTo){var y=e[v].x-c;e[v].linePoints[1][0]+=y,e[v].x=c}f=e[v].y-p,f<0&&u(v,A,-f,i),p=e[v].y+e[v].height}a-p<0&&d(A-1,p-a);for(v=0;v<A;v++)e[v].y>=n?m.push(e[v]):g.push(e[v]);h(g,!1,t,n,r,i),h(m,!0,t,n,r,i)}function l(e,t,n,i,o,a,l,u){for(var d=[],h=[],f=Number.MAX_VALUE,p=-Number.MAX_VALUE,A=0;A<e.length;A++)c(e[A])||(e[A].x<t?(f=Math.min(f,e[A].x),d.push(e[A])):(p=Math.max(p,e[A].x),h.push(e[A])));s(h,t,n,i,1,o,a,l,u,p),s(d,t,n,i,-1,o,a,l,u,f);for(A=0;A<e.length;A++){var g=e[A];if(!c(g)){var m=g.linePoints;if(m){var v,y="edge"===g.labelAlignTo,b=g.textRect.width;v=y?g.x<t?m[2][0]-g.labelDistance-l-g.labelMargin:l+o-g.labelMargin-m[2][0]-g.labelDistance:g.x<t?g.x-l-g.bleedMargin:l+o-g.x-g.bleedMargin,v<g.textRect.width&&(g.text=r.truncateText(g.text,v,g.font),"edge"===g.labelAlignTo&&(b=r.getWidth(g.text,g.font)));var _=m[1][0]-m[2][0];y?g.x<t?m[2][0]=l+g.labelMargin+b+g.labelDistance:m[2][0]=l+o-g.labelMargin-b-g.labelDistance:(g.x<t?m[2][0]=g.x+g.labelDistance:m[2][0]=g.x-g.labelDistance,m[1][0]=m[2][0]+_),m[1][1]=m[2][1]=g.y}}}}function c(e){return"center"===e.position}function u(e,t,n,i,s,c){var u,d,h=e.getData(),f=[],p=!1,A=(e.get("minShowLabelAngle")||0)*a;h.each((function(i){var a=h.getItemLayout(i),l=h.getItemModel(i),c=l.getModel("label"),g=c.get("position")||l.get("emphasis.label.position"),m=c.get("distanceToLabelLine"),v=c.get("alignTo"),y=o(c.get("margin"),n),b=c.get("bleedMargin"),_=c.getFont(),w=l.getModel("labelLine"),x=w.get("length");x=o(x,n);var C=w.get("length2");if(C=o(C,n),!(a.angle<A)){var S,k,E,O,B=(a.startAngle+a.endAngle)/2,M=Math.cos(B),T=Math.sin(B);u=a.cx,d=a.cy;var I,L=e.getFormattedLabel(i,"normal")||h.getName(i),D=r.getBoundingRect(L,_,O,"top"),P="inside"===g||"inner"===g;if("center"===g)S=a.cx,k=a.cy,O="center";else{var N=(P?(a.r+a.r0)/2*M:a.r*M)+u,j=(P?(a.r+a.r0)/2*T:a.r*T)+d;if(S=N+3*M,k=j+3*T,!P){var F=N+M*(x+t-a.r),R=j+T*(x+t-a.r),U=F+(M<0?-1:1)*C,H=R;S="edge"===v?M<0?s+y:s+n-y:U+(M<0?-m:m),k=H,E=[[N,j],[F,R],[U,H]]}O=P?"center":"edge"===v?M>0?"right":"left":M>0?"left":"right"}var Q=c.get("rotate");I="number"===typeof Q?Q*(Math.PI/180):Q?M<0?-B+Math.PI:-B:0,p=!!I,a.label={x:S,y:k,position:g,height:D.height,len:x,len2:C,linePoints:E,textAlign:O,verticalAlign:"middle",rotation:I,inside:P,labelDistance:m,labelAlignTo:v,labelMargin:y,bleedMargin:b,textRect:D,text:L,font:_},P||f.push(a.label)}})),!p&&e.get("avoidLabelOverlap")&&l(f,u,d,t,n,i,s,c)}e.exports=u},u3os:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ver=t.clear=t.bind=void 0;var r=n("P4Qj"),i=function(e,t){var n=(0,r.getSensor)(e);return n.bind(t),function(){n.unbind(t)}};t.bind=i;var o=function(e){var t=(0,r.getSensor)(e);(0,r.removeSensor)(t)};t.clear=o;var a="1.0.1";t.ver=a},u4NN:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("Uc92")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="EyeOutlined";var h=a.forwardRef(d);t.default=h},u8Dt:function(e,t,n){var r=n("YESw"),i="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function s(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return a.call(t,e)?t[e]:void 0}e.exports=s},u9fO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("b80e"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},uAnK:function(e,t,n){var r=n("bYtY"),i=n("Kagy"),o=n("KxfA"),a=o.retrieveRawValue;function s(e,t){var n=t.getModel("aria");if(n.get("show"))if(n.get("description"))e.setAttribute("aria-label",n.get("description"));else{var o=0;t.eachSeries((function(e,t){++o}),this);var s,l=n.get("data.maxCount")||10,c=n.get("series.maxCount")||10,u=Math.min(o,c);if(!(o<1)){var d=g();s=d?p(A("general.withTitle"),{title:d}):A("general.withoutTitle");var h=[],f=o>1?"series.multiple.prefix":"series.single.prefix";s+=p(A(f),{seriesCount:o}),t.eachSeries((function(e,t){if(t<u){var n,r=e.get("name"),i="series."+(o>1?"multiple":"single")+".";n=A(r?i+"withName":i+"withoutName"),n=p(n,{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:m(e.subType)});var s=e.getData();window.data=s,s.count()>l?n+=p(A("data.partialData"),{displayCnt:l}):n+=A("data.allData");for(var c=[],d=0;d<s.count();d++)if(d<l){var f=s.getName(d),g=a(s,d);c.push(p(A(f?"data.withName":"data.withoutName"),{name:f,value:g}))}n+=c.join(A("data.separator.middle"))+A("data.separator.end"),h.push(n)}})),s+=h.join(A("series.multiple.separator.middle"))+A("series.multiple.separator.end"),e.setAttribute("aria-label",s)}}function p(e,t){if("string"!==typeof e)return e;var n=e;return r.each(t,(function(e,t){n=n.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)})),n}function A(e){var t=n.get(e);if(null==t){for(var r=e.split("."),o=i.aria,a=0;a<r.length;++a)o=o[r[a]];return o}return t}function g(){var e=t.getModel("title").option;return e&&e.length&&(e=e[0]),e&&e.text}function m(e){return i.series.typeNames[e]||"\u81ea\u5b9a\u4e49\u56fe"}}e.exports=s},uK0f:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e,t,n){n=n||{},n.childrenKeyName=n.childrenKeyName||"children";var r=e||[],i=[],o=0;do{var a=r.filter((function(e){return t(e,o)}))[0];if(!a)break;i.push(a),r=a[n.childrenKeyName]||[],o+=1}while(r.length>0);return i}return e}))},uOyE:function(e,t,n){var r=n("ProS");r.registerAction({type:"brush",event:"brush"},(function(e,t){t.eachComponent({mainType:"brush",query:e},(function(t){t.setAreas(e.areas)}))})),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){}))},uQRt:function(e,t,n){function r(){return n("gaXo"),{}}e.exports=r},uciX:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("wx14"),o=n("1OyB"),a=n("vuIU"),s=n("JX7q"),l=n("Ji7U"),c=n("LK+K"),u=n("rePB"),d=n("q1tI"),h=n("i8i4"),f=n.n(h),p=n("wgJM"),A=n("l4aY"),g=n("m+aA"),m=n("c+Xe"),v=n("zT1h"),y=n("QC+M"),b=n("TSYQ"),_=n.n(b);function w(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function x(e,t,n){var i=e[t]||{};return Object(r["a"])(Object(r["a"])({},i),n)}function C(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a];if(w(e[s].points,i,r))return"".concat(t,"-placement-").concat(s)}return""}var S=n("ODXe"),k=n("Ff2n"),E=function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4))},O=n("8XRh");function B(e){var t=e.prefixCls,n=e.motion,r=e.animation,i=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:i?{motionName:i}:null)}function M(e){var t=e.prefixCls,n=e.visible,o=e.zIndex,a=e.mask,s=e.maskMotion,l=e.maskAnimation,c=e.maskTransitionName;if(!a)return null;var u={};return(s||c||l)&&(u=Object(r["a"])({motionAppear:!0},B({motion:s,prefixCls:t,transitionName:c,animation:l}))),d["createElement"](O["b"],Object(i["a"])({},u,{visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return d["createElement"]("div",{style:{zIndex:o},className:_()("".concat(t,"-mask"),n)})}))}var T=n("9mu1"),I=n("TNol"),L=n("U8pU");function D(){D=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(O){l=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var o=t&&t.prototype instanceof h?t:h,a=Object.create(o.prototype),s=new S(i||[]);return r(a,"_invoke",{value:_(e,n,s)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}e.wrap=c;var d={};function h(){}function f(){}function p(){}var A={};l(A,o,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(k([])));m&&m!==t&&n.call(m,o)&&(A=m);var v=p.prototype=h.prototype=Object.create(A);function y(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function i(r,o,a,s){var l=u(e[r],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==Object(L["a"])(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return i("throw",e,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function _(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator["return"]&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function k(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(v,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),l(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new b(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(v),l(v,s,"Generator"),l(v,o,(function(){return this})),l(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=k,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}var P=n("HaE+"),N=n("dm2S"),j=["measure","alignPre","align",null,"motion"],F=function(e,t){var n=Object(N["a"])(null),r=Object(S["a"])(n,2),i=r[0],o=r[1],a=Object(d["useRef"])();function s(e){o(e,!0)}function l(){p["a"].cancel(a.current)}function c(e){l(),a.current=Object(p["a"])((function(){s((function(e){switch(i){case"align":return"motion";case"motion":return"stable";default:}return e})),null===e||void 0===e||e()}))}return Object(d["useEffect"])((function(){s("measure")}),[e]),Object(d["useEffect"])((function(){switch(i){case"measure":t();break;default:}i&&(a.current=Object(p["a"])(Object(P["a"])(D().mark((function e(){var t,n;return D().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=j.indexOf(i),n=j[t+1],n&&-1!==t&&s(n);case 3:case"end":return e.stop()}}),e)})))))}),[i]),Object(d["useEffect"])((function(){return function(){l()}}),[]),[i,c]},R=function(e){var t=d["useState"]({width:0,height:0}),n=Object(S["a"])(t,2),r=n[0],i=n[1];function o(e){var t=e.offsetWidth,n=e.offsetHeight,r=e.getBoundingClientRect(),o=r.width,a=r.height;Math.abs(t-o)<1&&Math.abs(n-a)<1&&(t=o,n=a),i({width:t,height:n})}var a=d["useMemo"]((function(){var t={};if(e){var n=r.width,i=r.height;-1!==e.indexOf("height")&&i?t.height=i:-1!==e.indexOf("minHeight")&&i&&(t.minHeight=i),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t}),[e,r]);return[a,o]},U=d["forwardRef"]((function(e,t){var n=e.visible,o=e.prefixCls,a=e.className,s=e.style,l=e.children,c=e.zIndex,u=e.stretch,h=e.destroyPopupOnHide,f=e.forceRender,p=e.align,A=e.point,g=e.getRootDomNode,m=e.getClassNameFromAlign,v=e.onAlign,y=e.onMouseEnter,b=e.onMouseLeave,w=e.onMouseDown,x=e.onTouchStart,C=e.onClick,k=Object(d["useRef"])(),E=Object(d["useRef"])(),M=Object(d["useState"])(),L=Object(S["a"])(M,2),D=L[0],P=L[1],N=R(u),j=Object(S["a"])(N,2),U=j[0],H=j[1];function Q(){u&&H(g())}var K=F(n,Q),z=Object(S["a"])(K,2),V=z[0],W=z[1],G=Object(d["useState"])(0),X=Object(S["a"])(G,2),q=X[0],Y=X[1],Z=Object(d["useRef"])();function J(){return A||g}function $(){var e;null===(e=k.current)||void 0===e||e.forceAlign()}function ee(e,t){var n=m(t);D!==n&&P(n),Y((function(e){return e+1})),"align"===V&&(null===v||void 0===v||v(e,t))}Object(I["a"])((function(){"alignPre"===V&&Y(0)}),[V]),Object(I["a"])((function(){"align"===V&&(q<3?$():W((function(){var e;null===(e=Z.current)||void 0===e||e.call(Z)})))}),[q]);var te=Object(r["a"])({},B(e));function ne(){return new Promise((function(e){Z.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=te[e];te[e]=function(e,n){return W(),null===t||void 0===t?void 0:t(e,n)}})),d["useEffect"]((function(){te.motionName||"motion"!==V||W()}),[te.motionName,V]),d["useImperativeHandle"](t,(function(){return{forceAlign:$,getElement:function(){return E.current}}}));var re=Object(r["a"])(Object(r["a"])({},U),{},{zIndex:c,opacity:"motion"!==V&&"stable"!==V&&n?0:void 0,pointerEvents:n||"stable"===V?void 0:"none"},s),ie=!0;null===p||void 0===p||!p.points||"align"!==V&&"stable"!==V||(ie=!1);var oe=l;return d["Children"].count(l)>1&&(oe=d["createElement"]("div",{className:"".concat(o,"-content")},l)),d["createElement"](O["b"],Object(i["a"])({visible:n,ref:E,leavedClassName:"".concat(o,"-hidden")},te,{onAppearPrepare:ne,onEnterPrepare:ne,removeOnLeave:h,forceRender:f}),(function(e,t){var n=e.className,i=e.style,s=_()(o,a,D,n);return d["createElement"](T["a"],{target:J(),key:"popup",ref:k,monitorWindowResize:!0,disabled:ie,align:p,onAlign:ee},d["createElement"]("div",{ref:t,className:s,onMouseEnter:y,onMouseLeave:b,onMouseDownCapture:w,onTouchStartCapture:x,onClick:C,style:Object(r["a"])(Object(r["a"])({},i),re)},oe))}))}));U.displayName="PopupInner";var H=U,Q=d["forwardRef"]((function(e,t){var n=e.prefixCls,o=e.visible,a=e.zIndex,s=e.children,l=e.mobile;l=void 0===l?{}:l;var c=l.popupClassName,u=l.popupStyle,h=l.popupMotion,f=void 0===h?{}:h,p=l.popupRender,A=e.onClick,g=d["useRef"]();d["useImperativeHandle"](t,(function(){return{forceAlign:function(){},getElement:function(){return g.current}}}));var m=Object(r["a"])({zIndex:a},u),v=s;return d["Children"].count(s)>1&&(v=d["createElement"]("div",{className:"".concat(n,"-content")},s)),p&&(v=p(v)),d["createElement"](O["b"],Object(i["a"])({visible:o,ref:g,removeOnLeave:!0},f),(function(e,t){var i=e.className,o=e.style,a=_()(n,c,i);return d["createElement"]("div",{ref:t,className:a,onClick:A,style:Object(r["a"])(Object(r["a"])({},o),m)},v)}))}));Q.displayName="MobilePopupInner";var K=Q,z=["visible","mobile"],V=d["forwardRef"]((function(e,t){var n=e.visible,o=e.mobile,a=Object(k["a"])(e,z),s=Object(d["useState"])(n),l=Object(S["a"])(s,2),c=l[0],u=l[1],h=Object(d["useState"])(!1),f=Object(S["a"])(h,2),p=f[0],A=f[1],g=Object(r["a"])(Object(r["a"])({},a),{},{visible:c});Object(d["useEffect"])((function(){u(n),n&&o&&A(E())}),[n,o]);var m=p?d["createElement"](K,Object(i["a"])({},g,{mobile:o,ref:t})):d["createElement"](H,Object(i["a"])({},g,{ref:t}));return d["createElement"]("div",null,d["createElement"](M,g),m)}));V.displayName="Popup";var W=V,G=d["createContext"](null),X=G;function q(){}function Y(){return""}function Z(e){return e?e.ownerDocument:window.document}var J=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function $(e){var t=function(t){Object(l["a"])(h,t);var n=Object(c["a"])(h);function h(e){var t,r;return Object(o["a"])(this,h),t=n.call(this,e),Object(u["a"])(Object(s["a"])(t),"popupRef",d["createRef"]()),Object(u["a"])(Object(s["a"])(t),"triggerRef",d["createRef"]()),Object(u["a"])(Object(s["a"])(t),"portalContainer",void 0),Object(u["a"])(Object(s["a"])(t),"attachId",void 0),Object(u["a"])(Object(s["a"])(t),"clickOutsideHandler",void 0),Object(u["a"])(Object(s["a"])(t),"touchOutsideHandler",void 0),Object(u["a"])(Object(s["a"])(t),"contextMenuOutsideHandler1",void 0),Object(u["a"])(Object(s["a"])(t),"contextMenuOutsideHandler2",void 0),Object(u["a"])(Object(s["a"])(t),"mouseDownTimeout",void 0),Object(u["a"])(Object(s["a"])(t),"focusTime",void 0),Object(u["a"])(Object(s["a"])(t),"preClickTime",void 0),Object(u["a"])(Object(s["a"])(t),"preTouchTime",void 0),Object(u["a"])(Object(s["a"])(t),"delayTimer",void 0),Object(u["a"])(Object(s["a"])(t),"hasPopupMouseDown",void 0),Object(u["a"])(Object(s["a"])(t),"onMouseEnter",(function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)})),Object(u["a"])(Object(s["a"])(t),"onMouseMove",(function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)})),Object(u["a"])(Object(s["a"])(t),"onMouseLeave",(function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),Object(u["a"])(Object(s["a"])(t),"onPopupMouseEnter",(function(){t.clearDelayTimer()})),Object(u["a"])(Object(s["a"])(t),"onPopupMouseLeave",(function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&Object(A["a"])(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),Object(u["a"])(Object(s["a"])(t),"onFocus",(function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))})),Object(u["a"])(Object(s["a"])(t),"onMouseDown",(function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()})),Object(u["a"])(Object(s["a"])(t),"onTouchStart",(function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()})),Object(u["a"])(Object(s["a"])(t),"onBlur",(function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)})),Object(u["a"])(Object(s["a"])(t),"onContextMenu",(function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)})),Object(u["a"])(Object(s["a"])(t),"onContextMenuClose",(function(){t.isContextMenuToShow()&&t.close()})),Object(u["a"])(Object(s["a"])(t),"onClick",(function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)})),Object(u["a"])(Object(s["a"])(t),"onPopupMouseDown",(function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)})),Object(u["a"])(Object(s["a"])(t),"onDocumentClick",(function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),i=t.getPopupDomNode();Object(A["a"])(r,n)&&!t.isContextMenuOnly()||Object(A["a"])(i,n)||t.hasPopupMouseDown||t.close()}})),Object(u["a"])(Object(s["a"])(t),"getRootDomNode",(function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=Object(g["a"])(t.triggerRef.current);if(n)return n}catch(r){}return f.a.findDOMNode(Object(s["a"])(t))})),Object(u["a"])(Object(s["a"])(t),"getPopupClassNameFromAlign",(function(e){var n=[],r=t.props,i=r.popupPlacement,o=r.builtinPlacements,a=r.prefixCls,s=r.alignPoint,l=r.getPopupClassNameFromAlign;return i&&o&&n.push(C(o,a,e,s)),l&&n.push(l(e)),n.join(" ")})),Object(u["a"])(Object(s["a"])(t),"getComponent",(function(){var e=t.props,n=e.prefixCls,r=e.destroyPopupOnHide,o=e.popupClassName,a=e.onPopupAlign,s=e.popupMotion,l=e.popupAnimation,c=e.popupTransitionName,u=e.popupStyle,h=e.mask,f=e.maskAnimation,p=e.maskTransitionName,A=e.maskMotion,g=e.zIndex,m=e.popup,v=e.stretch,y=e.alignPoint,b=e.mobile,_=e.forceRender,w=e.onPopupClick,x=t.state,C=x.popupVisible,S=x.point,k=t.getPopupAlign(),E={};return t.isMouseEnterToShow()&&(E.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(E.onMouseLeave=t.onPopupMouseLeave),E.onMouseDown=t.onPopupMouseDown,E.onTouchStart=t.onPopupMouseDown,d["createElement"](W,Object(i["a"])({prefixCls:n,destroyPopupOnHide:r,visible:C,point:y&&S,className:o,align:k,onAlign:a,animation:l,getClassNameFromAlign:t.getPopupClassNameFromAlign},E,{stretch:v,getRootDomNode:t.getRootDomNode,style:u,mask:h,zIndex:g,transitionName:c,maskAnimation:f,maskTransitionName:p,maskMotion:A,ref:t.popupRef,motion:s,mobile:b,forceRender:_,onClick:w}),"function"===typeof m?m():m)})),Object(u["a"])(Object(s["a"])(t),"attachParent",(function(e){p["a"].cancel(t.attachId);var n,r=t.props,i=r.getPopupContainer,o=r.getDocument,a=t.getRootDomNode();i?(a||0===i.length)&&(n=i(a)):n=o(t.getRootDomNode()).body,n?n.appendChild(e):t.attachId=Object(p["a"])((function(){t.attachParent(e)}))})),Object(u["a"])(Object(s["a"])(t),"getContainer",(function(){if(!t.portalContainer){var e=t.props.getDocument,n=e(t.getRootDomNode()).createElement("div");n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",t.portalContainer=n}return t.attachParent(t.portalContainer),t.portalContainer})),Object(u["a"])(Object(s["a"])(t),"setPoint",(function(e){var n=t.props.alignPoint;n&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})})),Object(u["a"])(Object(s["a"])(t),"handlePortalUpdate",(function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)})),Object(u["a"])(Object(s["a"])(t),"triggerContextValue",{onPopupMouseDown:t.onPopupMouseDown}),r="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:r,popupVisible:r},J.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return Object(a["a"])(h,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props,n=this.state;if(n.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(v["a"])(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(v["a"])(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(v["a"])(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(v["a"])(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),p["a"].cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?x(r,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,i=1e3*t;if(this.clearDelayTimer(),i){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,o),r.clearDelayTimer()}),i)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var e=this.props.action;return"contextMenu"===e||1===e.length&&"contextMenu"===e[0]}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var e;this.state.popupVisible&&(null===(e=this.popupRef.current)||void 0===e||e.forceAlign())}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,i=n.children,o=n.forceRender,a=n.alignPoint,s=n.className,l=n.autoDestroy,c=d["Children"].only(i),u={key:"trigger"};this.isContextMenuToShow()?u.onContextMenu=this.onContextMenu:u.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(u.onClick=this.onClick,u.onMouseDown=this.onMouseDown,u.onTouchStart=this.onTouchStart):(u.onClick=this.createTwoChains("onClick"),u.onMouseDown=this.createTwoChains("onMouseDown"),u.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(u.onMouseEnter=this.onMouseEnter,a&&(u.onMouseMove=this.onMouseMove)):u.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?u.onMouseLeave=this.onMouseLeave:u.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(u.onFocus=this.onFocus,u.onBlur=this.onBlur):(u.onFocus=this.createTwoChains("onFocus"),u.onBlur=this.createTwoChains("onBlur"));var h=_()(c&&c.props&&c.props.className,s);h&&(u.className=h);var f=Object(r["a"])({},u);Object(m["c"])(c)&&(f.ref=Object(m["a"])(this.triggerRef,c.ref));var p,A=d["cloneElement"](c,f);return(t||this.popupRef.current||o)&&(p=d["createElement"](e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&l&&(p=null),d["createElement"](X.Provider,{value:this.triggerContextValue},A,p)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),h}(d["Component"]);return Object(u["a"])(t,"contextType",X),Object(u["a"])(t,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Y,getDocument:Z,onPopupVisibleChange:q,afterPopupVisibleChange:q,onPopupAlign:q,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),t}t["a"]=$(y["a"])},ugBc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},v56E:function(e,t,n){},v5uJ:function(e,t,n){var r=n("ProS"),i=n("2B6p"),o=i.updateCenterAndZoom;r.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=e.dataIndex,r=t.getData().tree,i=r.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),r.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=t.coordinateSystem,r=o(n,e);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)}))}))},"vF/C":function(e,t,n){var r=n("bLfw");r.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}))},vGzR:function(e,t,n){var r=n("e8zy"),i=n("rjQ/");n("h1NE");function o(e){return void 0===e||null===e}function a(e){var t={};for(var n in e)t[n]=e[n];return t}function s(e){e=a(e||{}),e.whiteList=e.whiteList||r.whiteList,e.onAttr=e.onAttr||r.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||r.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||r.safeAttrValue,this.options=e}s.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,n=t.options,r=n.whiteList,a=n.onAttr,s=n.onIgnoreAttr,l=n.safeAttrValue,c=i(e,(function(e,t,n,i,c){var u=r[n],d=!1;if(!0===u?d=u:"function"===typeof u?d=u(i):u instanceof RegExp&&(d=u.test(i)),!0!==d&&(d=!1),i=l(n,i),i){var h={position:t,sourcePosition:e,source:c,isWhite:d};if(d){var f=a(n,i,h);return o(f)?n+":"+i:f}f=s(n,i,h);return o(f)?void 0:f}}));return c},e.exports=s},vKoX:function(e,t,n){var r=n("SrGk"),i=n("bYtY");function o(e,t){r.call(this,e,t,["filter"],"__filter_in_use__","_shadowDom")}function a(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}i.inherits(o,r),o.prototype.addWithoutUpdate=function(e,t){if(t&&a(t.style)){var n;if(t._shadowDom){n=t._shadowDom;var r=this.getDefs(!0);r.contains(t._shadowDom)||this.addDom(n)}else n=this.add(t);this.markUsed(t);var i=n.getAttribute("id");e.style.filter="url(#"+i+")"}},o.prototype.add=function(e){var t=this.createElement("filter");return e._shadowDomId=e._shadowDomId||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-shadow-"+e._shadowDomId),this.updateDom(e,t),this.addDom(t),t},o.prototype.update=function(e,t){var n=t.style;if(a(n)){var i=this;r.prototype.update.call(this,t,(function(){i.updateDom(t,t._shadowDom)}))}else this.remove(e,t)},o.prototype.remove=function(e,t){null!=t._shadowDomId&&(this.removeDom(e),e.style.filter="")},o.prototype.updateDom=function(e,t){var n=t.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var r,i,o,a,s=e.style,l=e.scale&&e.scale[0]||1,c=e.scale&&e.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)r=s.shadowOffsetX||0,i=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(t,s);r=s.textShadowOffsetX||0,i=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",r/l),n.setAttribute("dy",i/c),n.setAttribute("flood-color",a);var u=o/2/l,d=o/2/c,h=u+" "+d;n.setAttribute("stdDeviation",h),t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width",Math.ceil(o/2*200)+"%"),t.setAttribute("height",Math.ceil(o/2*200)+"%"),t.appendChild(n),e._shadowDom=t},o.prototype.markUsed=function(e){e._shadowDom&&r.prototype.markUsed.call(this,e._shadowDom)};var s=o;e.exports=s},vL6D:function(e,t,n){var r=n("bYtY"),i=n("+rIm"),o=n("IwbS"),a=n("7bkD"),s=n("Znkb"),l=n("WN+l"),c=l.rectCoordAxisBuildSplitArea,u=l.rectCoordAxisHandleRemove,d=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine"],f=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,n,s){var l=this.group;l.removeAll();var c=this._axisGroup;this._axisGroup=new o.Group;var u=a.layout(e),p=new i(e,u);r.each(d,p.add,p),l.add(this._axisGroup),l.add(p.getGroup()),r.each(h,(function(t){e.get(t+".show")&&this["_"+t](e)}),this),o.groupTransition(c,this._axisGroup,e),f.superCall(this,"render",e,t,n,s)},remove:function(){u(this)},_splitLine:function(e){var t=e.axis;if(!t.scale.isBlank()){var n=e.getModel("splitLine"),r=n.getModel("lineStyle"),i=r.get("width"),a=r.get("color");a=a instanceof Array?a:[a];for(var s=e.coordinateSystem.getRect(),l=t.isHorizontal(),c=[],u=0,d=t.getTicksCoords({tickModel:n}),h=[],f=[],p=0;p<d.length;++p){var A=t.toGlobalCoord(d[p].coord);l?(h[0]=A,h[1]=s.y,f[0]=A,f[1]=s.y+s.height):(h[0]=s.x,h[1]=A,f[0]=s.x+s.width,f[1]=A);var g=u++%a.length;c[g]=c[g]||[],c[g].push(new o.Line({subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:f[0],y2:f[1]},style:{lineWidth:i},silent:!0}))}for(p=0;p<c.length;++p)this.group.add(o.mergePath(c[p],{style:{stroke:a[p%a.length],lineDash:r.getLineDash(i),lineWidth:i},silent:!0}))}},_splitArea:function(e){c(this,this._axisGroup,e,e)}}),p=f;e.exports=p},vWvF:function(e,t,n){var r=n("Bq2U"),i=n("SUKs"),o=n("bYtY"),a=o.isString,s=o.isFunction,l=o.isObject,c=o.isArrayLike,u=o.indexOf,d=function(){this.animators=[]};function h(e,t,n,r,i,o,l,c){a(r)?(o=i,i=r,r=0):s(i)?(o=i,i="linear",r=0):s(r)?(o=r,r=0):s(n)?(o=n,n=500):n||(n=500),e.stopAnimation(),f(e,"",e,t,n,r,c);var u=e.animators.slice(),d=u.length;function h(){d--,d||o&&o()}d||o&&o();for(var p=0;p<u.length;p++)u[p].done(h).start(i,l)}function f(e,t,n,r,i,o,a){var s={},u=0;for(var d in r)r.hasOwnProperty(d)&&(null!=n[d]?l(r[d])&&!c(r[d])?f(e,t?t+"."+d:d,n[d],r[d],i,o,a):(a?(s[d]=n[d],p(e,t,d,r[d])):s[d]=r[d],u++):null==r[d]||a||p(e,t,d,r[d]));u>0&&e.animate(t,!1).when(null==i?500:i,s).delay(o||0)}function p(e,t,n,r){if(t){var i={};i[t]={},i[t][n]=r,e.attr(i)}else e.attr(n,r)}d.prototype={constructor:d,animate:function(e,t){var n,o=!1,a=this,s=this.__zr;if(e){var l=e.split("."),c=a;o="shape"===l[0];for(var d=0,h=l.length;d<h;d++)c&&(c=c[l[d]]);c&&(n=c)}else n=a;if(n){var f=a.animators,p=new r(n,t);return p.during((function(e){a.dirty(o)})).done((function(){f.splice(u(f,p),1)})),f.push(p),s&&s.animation.addAnimator(p),p}i('Property "'+e+'" is not existed in element '+a.id)},stopAnimation:function(e){for(var t=this.animators,n=t.length,r=0;r<n;r++)t[r].stop(e);return t.length=0,this},animateTo:function(e,t,n,r,i,o){h(this,e,t,n,r,i,o)},animateFrom:function(e,t,n,r,i,o){h(this,e,t,n,r,i,o,!0)}};var A=d;e.exports=A},vZ6x:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("IwbS"),a=n("4NO4"),s=n("9KIM"),l=i.each,c=i.indexOf,u=i.curry,d=["dataToPoint","pointToData"],h=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function f(e,t,n){var r=this._targetInfoList=[],i={},o=g(t,e);l(m,(function(e,t){(!n||!n.include||c(n.include,t)>=0)&&e(o,r,i)}))}var p=f.prototype;function A(e){return e[0]>e[1]&&e.reverse(),e}function g(e,t){return a.parseFinder(e,t,{includeMainTypes:h})}p.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=b[e.brushType](0,n,t);e.__rangeOffset={offset:w[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}}))},p.matchOutputRanges=function(e,t,n){l(e,(function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&i.each(r.coordSyses,(function(r){var i=b[e.brushType](1,r,e.range);n(e,i.values,r,t)}))}),this)},p.setInputRanges=function(e,t){l(e,(function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var r=b[e.brushType](0,n.coordSys,e.coordRange),i=e.__rangeOffset;e.range=i?w[e.brushType](r.values,i.offset,C(r.xyMinMax,i.xyMinMax)):r.values}}),this)},p.makePanelOpts=function(e,t){return i.map(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t&&t(n),clipPath:s.makeRectPanelClipPath(r),isTargetByCursor:s.makeRectIsTargetByCursor(r,e,n.coordSysModel),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(r)}}))},p.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return!0===r||r&&c(r.coordSyses,t.coordinateSystem)>=0},p.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=g(t,e),i=0;i<n.length;i++){var o=n[i],a=e.panelId;if(a){if(o.panelId===a)return o}else for(i=0;i<v.length;i++)if(v[i](r,o))return o}return!0};var m={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,o=e.gridModels,a=i.createHashMap(),s={},u={};(n||r||o)&&(l(n,(function(e){var t=e.axis.grid.model;a.set(t.id,t),s[t.id]=!0})),l(r,(function(e){var t=e.axis.grid.model;a.set(t.id,t),u[t.id]=!0})),l(o,(function(e){a.set(e.id,e),s[e.id]=!0,u[e.id]=!0})),a.each((function(e){var i=e.coordinateSystem,o=[];l(i.getCartesians(),(function(e,t){(c(n,e.getAxis("x").model)>=0||c(r,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:y.grid,xAxisDeclared:s[e.id],yAxisDeclared:u[e.id]})})))},geo:function(e,t){l(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:y.geo})}))}},v=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(o.getTransform(e)),t}},b={lineX:u(_,0),lineY:u(_,1),rect:function(e,t,n){var r=t[d[e]]([n[0][0],n[1][0]]),i=t[d[e]]([n[0][1],n[1][1]]),o=[A([r[0],i[0]]),A([r[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n){var r=[[1/0,-1/0],[1/0,-1/0]],o=i.map(n,(function(n){var i=t[d[e]](n);return r[0][0]=Math.min(r[0][0],i[0]),r[1][0]=Math.min(r[1][0],i[1]),r[0][1]=Math.max(r[0][1],i[0]),r[1][1]=Math.max(r[1][1],i[1]),i}));return{values:o,xyMinMax:r}}};function _(e,t,n,r){var o=n.getAxis(["x","y"][e]),a=A(i.map([0,1],(function(e){return t?o.coordToData(o.toLocalCoord(r[e])):o.toGlobalCoord(o.dataToCoord(r[e]))}))),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var w={lineX:u(x,0),lineY:u(x,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return i.map(e,(function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]}))}};function x(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function C(e,t){var n=S(e),r=S(t),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function S(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var k=f;e.exports=k},vZI5:function(e,t,n){var r=n("bYtY"),i=n("T4UG"),o=n("5GhG"),a=o.seriesModelMixin,s=i.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(e,t,n){var r=t.getItemLayout(e);return r&&n.rect(r.brushRect)}});r.mixin(s,a,!0);var l=s;e.exports=l},vaBj:function(e,t,n){var r=n("GrKN").FilterCSS,i=n("GrKN").getDefaultWhiteList,o=n("63Hc");function a(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var s=new r;function l(e,t,n){}function c(e,t,n){}function u(e,t,n){}function d(e,t,n){}function h(e){return e.replace(p,"<").replace(A,">")}function f(e,t,n,r){if(n=B(n),"href"===t||"src"===t){if(n=o.trim(n),"#"===n)return"#";if("http://"!==n.substr(0,7)&&"https://"!==n.substr(0,8)&&"mailto:"!==n.substr(0,7)&&"tel:"!==n.substr(0,4)&&"data:image/"!==n.substr(0,11)&&"ftp://"!==n.substr(0,6)&&"./"!==n.substr(0,2)&&"../"!==n.substr(0,3)&&"#"!==n[0]&&"/"!==n[0])return""}else if("background"===t){if(_.lastIndex=0,_.test(n))return""}else if("style"===t){if(w.lastIndex=0,w.test(n))return"";if(x.lastIndex=0,x.test(n)&&(_.lastIndex=0,_.test(n)))return"";!1!==r&&(r=r||s,n=r.process(n))}return n=M(n),n}var p=/</g,A=/>/g,g=/"/g,m=/"/g,v=/&#([a-zA-Z0-9]*);?/gim,y=/:?/gim,b=/&newline;?/gim,_=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,w=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,x=/u\s*r\s*l\s*\(.*/gi;function C(e){return e.replace(g,""")}function S(e){return e.replace(m,'"')}function k(e){return e.replace(v,(function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))}))}function E(e){return e.replace(y,":").replace(b," ")}function O(e){for(var t="",n=0,r=e.length;n<r;n++)t+=e.charCodeAt(n)<32?" ":e.charAt(n);return o.trim(t)}function B(e){return e=S(e),e=k(e),e=E(e),e=O(e),e}function M(e){return e=C(e),e=h(e),e}function T(){return""}function I(e,t){"function"!==typeof t&&(t=function(){});var n=!Array.isArray(e);function r(t){return!!n||-1!==o.indexOf(e,t)}var i=[],a=!1;return{onIgnoreTag:function(e,n,o){if(r(e)){if(o.isClosing){var s="[/removed]",l=o.position+s.length;return i.push([!1!==a?a:o.position,l]),a=!1,s}return a||(a=o.position),"[removed]"}return t(e,n,o)},remove:function(e){var t="",n=0;return o.forEach(i,(function(r){t+=e.slice(n,r[0]),n=r[1]})),t+=e.slice(n),t}}}function L(e){var t="",n=0;while(n<e.length){var r=e.indexOf("\x3c!--",n);if(-1===r){t+=e.slice(n);break}t+=e.slice(n,r);var i=e.indexOf("--\x3e",r);if(-1===i)break;n=i+3}return t}function D(e){var t=e.split("");return t=t.filter((function(e){var t=e.charCodeAt(0);return 127!==t&&(!(t<=31)||(10===t||13===t))})),t.join("")}t.whiteList=a(),t.getDefaultWhiteList=a,t.onTag=l,t.onIgnoreTag=c,t.onTagAttr=u,t.onIgnoreTagAttr=d,t.safeAttrValue=f,t.escapeHtml=h,t.escapeQuote=C,t.unescapeQuote=S,t.escapeHtmlEntities=k,t.escapeDangerHtml5Entities=E,t.clearNonPrintableCharacter=O,t.friendlyAttrValue=B,t.escapeAttrValue=M,t.onIgnoreTagStripAll=T,t.StripTagBody=I,t.stripCommentTag=L,t.stripBlankChar=D,t.cssFilter=s,t.getDefaultCSSWhiteList=i},vafp:function(e,t,n){var r=n("bYtY"),i=n("8nly");function o(e){if(!e.UTF8Encoding)return e;var t=e.UTF8Scale;null==t&&(t=1024);for(var n=e.features,r=0;r<n.length;r++)for(var i=n[r],o=i.geometry,s=o.coordinates,l=o.encodeOffsets,c=0;c<s.length;c++){var u=s[c];if("Polygon"===o.type)s[c]=a(u,l[c],t);else if("MultiPolygon"===o.type)for(var d=0;d<u.length;d++){var h=u[d];u[d]=a(h,l[c][d],t)}}return e.UTF8Encoding=!1,e}function a(e,t,n){for(var r=[],i=t[0],o=t[1],a=0;a<e.length;a+=2){var s=e.charCodeAt(a)-64,l=e.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=i,l+=o,i=s,o=l,r.push([s/n,l/n])}return r}function s(e,t){return o(e),r.map(r.filter(e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var n=e.properties,o=e.geometry,a=o.coordinates,s=[];"Polygon"===o.type&&s.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===o.type&&r.each(a,(function(e){e[0]&&s.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})}));var l=new i(n[t||"name"],s,n.cp);return l.properties=n,l}))}e.exports=s},vcCh:function(e,t,n){var r=n("ProS");n("0qV/"),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))},vewr:function(e,t,n){"use strict";function r(e){return e.changedTouches?e.changedTouches[0]:e.touches?e.touches[0]:e}function i(e){e.stopPropagation(),e.preventDefault()}Object.defineProperty(t,"__esModule",{value:!0}),t.getPointerEvent=r,t.stopEvent=i,t.setCapture=u,t.releaseCapture=d;var o=!1,a=null;function s(e){if(!o){var t=new e.constructor(e.type,e);o=!0,document.captureElement?document.captureElement.dispatchEvent(t):a.dispatchEvent(t),o=!1,e.stopPropagation(),t.defaultPrevented&&e.preventDefault(),"mouseup"===e.type&&d()}}function l(){var e=document.getElementById("noVNC_mouse_capture_elem");e.style.cursor=window.getComputedStyle(document.captureElement).cursor}document.captureElement=null;var c=new MutationObserver(l);function u(e){if(e.setCapture)e.setCapture(),document.captureElement=e,e.addEventListener("mouseup",d);else{d();var t=document.getElementById("noVNC_mouse_capture_elem");null===t&&(t=document.createElement("div"),t.id="noVNC_mouse_capture_elem",t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.width="100%",t.style.height="100%",t.style.zIndex=1e4,t.style.display="none",document.body.appendChild(t),t.addEventListener("contextmenu",s),t.addEventListener("mousemove",s),t.addEventListener("mouseup",s)),document.captureElement=e,c.observe(e,{attributes:!0}),l(),t.style.display="",window.addEventListener("mousemove",s),window.addEventListener("mouseup",s)}}function d(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;a=document.captureElement,document.captureElement=null,c.disconnect();var e=document.getElementById("noVNC_mouse_capture_elem");e.style.display="none",window.removeEventListener("mousemove",s),window.removeEventListener("mouseup",s)}}},vg9a:function(e,t,n){},"vk+C":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("RZPm"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},w4Tj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("oZsa");function i(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=Object(r["a"])(e),null===e)break;return e}function o(e,t,n){return o="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=i(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}},o(e,t,n||e)}},w5pM:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="PlusCircleOutlined";t["a"]=i["forwardRef"](l)},w6Tc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("apAg"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},wCAj:function(e,t,n){"use strict";var r=n("cDf5"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("J4zp"),l=n.n(s),c=n("pVnL"),u=n.n(c),d=n("q1tI"),h=n("TSYQ"),f=n.n(h),p=n("BGR+"),A=n("rePB"),g=n("VTBJ"),m=n("KQm4"),v=n("U8pU"),y=n("ODXe"),b=n("Gytx"),_=n.n(b),w=n("Kwbf"),x=n("1OyB"),C=n("vuIU"),S=n("Ji7U"),k=n("LK+K"),E=n("m+aA"),O=n("Zm9Q"),B=n("c+Xe"),M=n("bdgK"),T="rc-observer-key",I=function(e){Object(S["a"])(n,e);var t=Object(k["a"])(n);function n(){var e;return Object(x["a"])(this,n),e=t.apply(this,arguments),e.resizeObserver=null,e.childNode=null,e.currentElement=null,e.state={width:0,height:0,offsetHeight:0,offsetWidth:0},e.onResize=function(t){var n=e.props.onResize,r=t[0].target,i=r.getBoundingClientRect(),o=i.width,a=i.height,s=r.offsetWidth,l=r.offsetHeight,c=Math.floor(o),u=Math.floor(a);if(e.state.width!==c||e.state.height!==u||e.state.offsetWidth!==s||e.state.offsetHeight!==l){var d={width:c,height:u,offsetWidth:s,offsetHeight:l};e.setState(d),n&&Promise.resolve().then((function(){n(Object(g["a"])(Object(g["a"])({},d),{},{offsetWidth:s,offsetHeight:l}))}))}},e.setChildNode=function(t){e.childNode=t},e}return Object(C["a"])(n,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var e=this.props.disabled;if(e)this.destroyObserver();else{var t=Object(E["a"])(this.childNode||this),n=t!==this.currentElement;n&&(this.destroyObserver(),this.currentElement=t),!this.resizeObserver&&t&&(this.resizeObserver=new M["default"](this.onResize),this.resizeObserver.observe(t))}}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var e=this.props.children,t=Object(O["a"])(e);if(t.length>1)Object(w["a"])(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(0===t.length)return Object(w["a"])(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var n=t[0];if(d["isValidElement"](n)&&Object(B["c"])(n)){var r=n.ref;t[0]=d["cloneElement"](n,{ref:Object(B["a"])(r,this.setChildNode)})}return 1===t.length?t[0]:t.map((function(e,t){return!d["isValidElement"](e)||"key"in e&&null!==e.key?e:d["cloneElement"](e,{key:"".concat(T,"-").concat(t)})}))}}]),n}(d["Component"]);I.displayName="ResizeObserver";var L=I,D=n("qx4F");function P(e){return null}var N=P;function j(e){return null}var F=j,R=n("Ff2n"),U="RC_TABLE_KEY";function H(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}function Q(e,t){if(!t&&"number"!==typeof t)return e;for(var n=H(t),r=e,i=0;i<n.length;i+=1){if(!r)return null;var o=n[i];r=r[o]}return r}function K(e){var t=[],n={};return e.forEach((function(e){var r=e||{},i=r.key,o=r.dataIndex,a=i||H(o).join("-")||U;while(n[a])a="".concat(a,"_next");n[a]=!0,t.push(a)})),t}function z(){var e={};function t(e,n){n&&Object.keys(n).forEach((function(r){var i=n[r];i&&"object"===Object(v["a"])(i)?(e[r]=e[r]||{},t(e[r],i)):e[r]=i}))}for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return r.forEach((function(n){t(e,n)})),e}function V(e){return null!==e&&void 0!==e}function W(e){return e&&"object"===Object(v["a"])(e)&&!Array.isArray(e)&&!d["isValidElement"](e)}function G(e){return"string"===typeof e||Object(B["c"])(e)}function X(e,t){var n,r,i,o=e.prefixCls,a=e.className,s=e.record,l=e.index,c=e.dataIndex,u=e.render,h=e.children,p=e.component,m=void 0===p?"td":p,y=e.colSpan,b=e.rowSpan,_=e.fixLeft,w=e.fixRight,x=e.firstFixLeft,C=e.lastFixLeft,S=e.firstFixRight,k=e.lastFixRight,E=e.appendNode,O=e.additionalProps,B=void 0===O?{}:O,M=e.ellipsis,T=e.align,I=e.rowType,L=e.isSticky,D="".concat(o,"-cell");if(h)i=h;else{var P=Q(s,c);if(i=P,u){var N=u(P,s,l);W(N)?(i=N.children,r=N.props):i=N}}"object"!==Object(v["a"])(i)||Array.isArray(i)||d["isValidElement"](i)||(i=null),M&&(C||S)&&(i=d["createElement"]("span",{className:"".concat(D,"-content")},i));var j=r||{},F=j.colSpan,U=j.rowSpan,H=j.style,K=j.className,z=Object(R["a"])(j,["colSpan","rowSpan","style","className"]),V=void 0!==F?F:y,X=void 0!==U?U:b;if(0===V||0===X)return null;var q={},Y="number"===typeof _,Z="number"===typeof w;Y&&(q.position="sticky",q.left=_),Z&&(q.position="sticky",q.right=w);var J,$={};T&&($.textAlign=T);var ee=!0===M?{showTitle:!0}:M;ee&&(ee.showTitle||"header"===I)&&("string"===typeof i||"number"===typeof i?J=i.toString():d["isValidElement"](i)&&"string"===typeof i.props.children&&(J=i.props.children));var te=Object(g["a"])(Object(g["a"])(Object(g["a"])({title:J},z),B),{},{colSpan:V&&1!==V?V:null,rowSpan:X&&1!==X?X:null,className:f()(D,a,(n={},Object(A["a"])(n,"".concat(D,"-fix-left"),Y),Object(A["a"])(n,"".concat(D,"-fix-left-first"),x),Object(A["a"])(n,"".concat(D,"-fix-left-last"),C),Object(A["a"])(n,"".concat(D,"-fix-right"),Z),Object(A["a"])(n,"".concat(D,"-fix-right-first"),S),Object(A["a"])(n,"".concat(D,"-fix-right-last"),k),Object(A["a"])(n,"".concat(D,"-ellipsis"),M),Object(A["a"])(n,"".concat(D,"-with-append"),E),Object(A["a"])(n,"".concat(D,"-fix-sticky"),(Y||Z)&&L),n),B.className,K),style:Object(g["a"])(Object(g["a"])(Object(g["a"])(Object(g["a"])({},B.style),$),q),H),ref:G(m)?t:null});return d["createElement"](m,Object.assign({},te),E,i)}var q=d["forwardRef"](X);q.displayName="Cell";var Y=d["memo"](q,(function(e,t){return!!t.shouldCellUpdate&&!t.shouldCellUpdate(t.record,e.record)})),Z=Y,J=d["createContext"](null),$=J;function ee(e,t,n,r,i){var o,a,s=n[e]||{},l=n[t]||{};"left"===s.fixed?o=r.left[e]:"right"===l.fixed&&(a=r.right[t]);var c=!1,u=!1,d=!1,h=!1,f=n[t+1],p=n[e-1];if("rtl"===i){if(void 0!==o){var A=p&&"left"===p.fixed;h=!A}else if(void 0!==a){var g=f&&"right"===f.fixed;d=!g}}else if(void 0!==o){var m=f&&"left"===f.fixed;c=!m}else if(void 0!==a){var v=p&&"right"===p.fixed;u=!v}return{fixLeft:o,fixRight:a,lastFixLeft:c,firstFixRight:u,lastFixRight:d,firstFixLeft:h,isSticky:r.isSticky}}function te(e){var t,n=e.cells,r=e.stickyOffsets,i=e.flattenColumns,o=e.rowComponent,a=e.cellComponent,s=e.onHeaderRow,l=e.index,c=d["useContext"]($),u=c.prefixCls,h=c.direction;s&&(t=s(n.map((function(e){return e.column})),l));var f=K(n.map((function(e){return e.column})));return d["createElement"](o,Object.assign({},t),n.map((function(e,t){var n,o=e.column,s=ee(e.colStart,e.colEnd,i,r,h);return o&&o.onHeaderCell&&(n=e.column.onHeaderCell(o)),d["createElement"](Z,Object.assign({},e,{ellipsis:o.ellipsis,align:o.align,component:a,prefixCls:u,key:f[t]},s,{additionalProps:n,rowType:"header"}))})))}te.displayName="HeaderRow";var ne=te;function re(e){var t=[];function n(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[i]=t[i]||[];var o=r,a=e.filter(Boolean).map((function(e){var r={key:e.key,className:e.className||"",children:e.title,column:e,colStart:o},a=1,s=e.children;return s&&s.length>0&&(a=n(s,o,i+1).reduce((function(e,t){return e+t}),0),r.hasSubColumns=!0),"colSpan"in e&&(a=e.colSpan),"rowSpan"in e&&(r.rowSpan=e.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[i].push(r),o+=a,a}));return a}n(e,0);for(var r=t.length,i=function(e){t[e].forEach((function(t){"rowSpan"in t||t.hasSubColumns||(t.rowSpan=r-e)}))},o=0;o<r;o+=1)i(o);return t}function ie(e){var t=e.stickyOffsets,n=e.columns,r=e.flattenColumns,i=e.onHeaderRow,o=d["useContext"]($),a=o.prefixCls,s=o.getComponent,l=d["useMemo"]((function(){return re(n)}),[n]),c=s(["header","wrapper"],"thead"),u=s(["header","row"],"tr"),h=s(["header","cell"],"th");return d["createElement"](c,{className:"".concat(a,"-thead")},l.map((function(e,n){var o=d["createElement"](ne,{key:n,flattenColumns:r,cells:e,stickyOffsets:t,rowComponent:u,cellComponent:h,onHeaderRow:i,index:n});return o})))}var oe=ie,ae="RC_TABLE_INTERNAL_COL_DEFINE";function se(e){var t=e.expandable,n=Object(R["a"])(e,["expandable"]);return"expandable"in e?Object(g["a"])(Object(g["a"])({},n),t):n}function le(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)||(t[n]=e[n]),t}),{})}function ce(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,i=[],o=r||n.length,a=!1,s=o-1;s>=0;s-=1){var l=t[s],c=n&&n[s],u=c&&c[ae];(l||u||a)&&(i.unshift(d["createElement"]("col",Object.assign({key:s,style:{width:l,minWidth:l}},u))),a=!0)}return d["createElement"]("colgroup",null,i)}var ue=ce;function de(e,t){return Object(d["useMemo"])((function(){for(var n=[],r=0;r<t;r+=1){var i=e[r];if(void 0===i)return null;n[r]=i}return n}),[e.join("_"),t])}var he=d["forwardRef"]((function(e,t){var n=e.noData,r=e.columns,i=e.flattenColumns,o=e.colWidths,a=e.columCount,s=e.stickyOffsets,l=e.direction,c=e.fixHeader,u=e.offsetHeader,h=e.stickyClassName,p=e.onScroll,v=Object(R["a"])(e,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),y=d["useContext"]($),b=y.prefixCls,_=y.scrollbarSize,w=y.isSticky,x=w&&!c?0:_,C=d["useRef"](null),S=d["useCallback"]((function(e){Object(B["b"])(t,e),Object(B["b"])(C,e)}),[]);d["useEffect"]((function(){var e;function t(e){var t=e.currentTarget,n=e.deltaX;n&&(p({currentTarget:t,scrollLeft:t.scrollLeft+n}),e.preventDefault())}return null===(e=C.current)||void 0===e||e.addEventListener("wheel",t),function(){var e;null===(e=C.current)||void 0===e||e.removeEventListener("wheel",t)}}),[]);var k=i[i.length-1],E={fixed:k?k.fixed:null,onHeaderCell:function(){return{className:"".concat(b,"-cell-scrollbar")}}},O=Object(d["useMemo"])((function(){return x?[].concat(Object(m["a"])(r),[E]):r}),[x,r]),M=Object(d["useMemo"])((function(){return x?[].concat(Object(m["a"])(i),[E]):i}),[x,i]),T=Object(d["useMemo"])((function(){var e=s.right,t=s.left;return Object(g["a"])(Object(g["a"])({},s),{},{left:"rtl"===l?[].concat(Object(m["a"])(t.map((function(e){return e+x}))),[0]):t,right:"rtl"===l?e:[].concat(Object(m["a"])(e.map((function(e){return e+x}))),[0]),isSticky:w})}),[x,s,w]),I=de(o,a);return d["createElement"]("div",{style:Object(g["a"])({overflow:"hidden"},w?{top:u}:{}),ref:S,className:f()("".concat(b,"-header"),Object(A["a"])({},h,!!h))},d["createElement"]("table",{style:{tableLayout:"fixed",visibility:n||I?null:"hidden"}},d["createElement"](ue,{colWidths:I?[].concat(Object(m["a"])(I),[x]):[],columCount:a+1,columns:M}),d["createElement"](oe,Object.assign({},v,{stickyOffsets:T,columns:O,flattenColumns:M}))))}));he.displayName="FixedHeader";var fe=he,pe=d["createContext"](null),Ae=pe;function ge(e){var t=e.prefixCls,n=e.children,r=e.component,i=e.cellComponent,o=e.fixHeader,a=e.fixColumn,s=e.horizonScroll,l=e.className,c=e.expanded,u=e.componentWidth,h=e.colSpan,f=d["useContext"]($),p=f.scrollbarSize;return d["useMemo"]((function(){var e=n;return a&&(e=d["createElement"]("div",{style:{width:u-(o?p:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(t,"-expanded-row-fixed")},e)),d["createElement"](r,{className:l,style:{display:c?null:"none"}},d["createElement"](Z,{component:i,prefixCls:t,colSpan:h},e))}),[n,r,o,s,l,c,u,h,p])}var me=ge;function ve(e){var t=e.className,n=e.style,r=e.record,i=e.index,o=e.rowKey,a=e.getRowKey,s=e.rowExpandable,l=e.expandedKeys,c=e.onRow,u=e.indent,h=void 0===u?0:u,p=e.rowComponent,A=e.cellComponent,m=e.childrenColumnName,v=d["useContext"]($),b=v.prefixCls,_=v.fixedInfoList,w=d["useContext"](Ae),x=w.fixHeader,C=w.fixColumn,S=w.horizonScroll,k=w.componentWidth,E=w.flattenColumns,O=w.expandableType,B=w.expandRowByClick,M=w.onTriggerExpand,T=w.rowClassName,I=w.expandedRowClassName,L=w.indentSize,D=w.expandIcon,P=w.expandedRowRender,N=w.expandIconColumnIndex,j=d["useState"](!1),F=Object(y["a"])(j,2),R=F[0],U=F[1],H=l&&l.has(e.recordKey);d["useEffect"]((function(){H&&U(!0)}),[H]);var Q,z="row"===O&&(!s||s(r)),V="nest"===O,W=m&&r&&r[m],G=z||V;c&&(Q=c(r,i));var X,q=function(e){if(B&&G&&M(r,e),Q&&Q.onClick){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];(t=Q).onClick.apply(t,[e].concat(i))}};"string"===typeof T?X=T:"function"===typeof T&&(X=T(r,i,h));var Y,J,ee=K(E),te=d["createElement"](p,Object.assign({},Q,{"data-row-key":o,className:f()(t,"".concat(b,"-row"),"".concat(b,"-row-level-").concat(h),X,Q&&Q.className),style:Object(g["a"])(Object(g["a"])({},n),Q?Q.style:null),onClick:q}),E.map((function(e,t){var n,o,a=e.render,s=e.dataIndex,l=e.className,c=ee[t],u=_[t];return t===(N||0)&&V&&(n=d["createElement"](d["Fragment"],null,d["createElement"]("span",{style:{paddingLeft:"".concat(L*h,"px")},className:"".concat(b,"-row-indent indent-level-").concat(h)}),D({prefixCls:b,expanded:H,expandable:W,record:r,onExpand:M}))),e.onCell&&(o=e.onCell(r,i)),d["createElement"](Z,Object.assign({className:l,ellipsis:e.ellipsis,align:e.align,component:A,prefixCls:b,key:c,record:r,index:i,dataIndex:s,render:a,shouldCellUpdate:e.shouldCellUpdate},u,{appendNode:n,additionalProps:o}))})));if(z&&(R||H)){var ne=P(r,i,h+1,H),re=I&&I(r,i,h);Y=d["createElement"](me,{expanded:H,className:f()("".concat(b,"-expanded-row"),"".concat(b,"-expanded-row-level-").concat(h+1),re),prefixCls:b,fixHeader:x,fixColumn:C,horizonScroll:S,component:p,componentWidth:k,cellComponent:A,colSpan:E.length},ne)}return W&&H&&(J=(r[m]||[]).map((function(t,n){var r=a(t,n);return d["createElement"](ve,Object.assign({},e,{key:r,rowKey:r,record:t,recordKey:r,index:n,indent:h+1}))}))),d["createElement"](d["Fragment"],null,te,Y,J)}ve.displayName="BodyRow";var ye=ve,be=d["createContext"](null),_e=be;function we(e){var t=e.columnKey,n=e.onColumnResize,r=d["useRef"]();return d["useEffect"]((function(){r.current&&n(t,r.current.offsetWidth)}),[]),d["createElement"](L,{onResize:function(e){var r=e.offsetWidth;n(t,r)}},d["createElement"]("td",{ref:r,style:{padding:0,border:0,height:0}},d["createElement"]("div",{style:{height:0,overflow:"hidden"}},"\xa0")))}function xe(e){var t=e.data,n=e.getRowKey,r=e.measureColumnWidth,i=e.expandedKeys,o=e.onRow,a=e.rowExpandable,s=e.emptyNode,l=e.childrenColumnName,c=d["useContext"](_e),u=c.onColumnResize,h=d["useContext"]($),f=h.prefixCls,p=h.getComponent,A=d["useContext"](Ae),g=A.fixHeader,m=A.horizonScroll,v=A.flattenColumns,y=A.componentWidth;return d["useMemo"]((function(){var e,c=p(["body","wrapper"],"tbody"),h=p(["body","row"],"tr"),A=p(["body","cell"],"td");e=t.length?t.map((function(e,t){var r=n(e,t);return d["createElement"](ye,{key:r,rowKey:r,record:e,recordKey:r,index:t,rowComponent:h,cellComponent:A,expandedKeys:i,onRow:o,getRowKey:n,rowExpandable:a,childrenColumnName:l})})):d["createElement"](me,{expanded:!0,className:"".concat(f,"-placeholder"),prefixCls:f,fixHeader:g,fixColumn:m,horizonScroll:m,component:h,componentWidth:y,cellComponent:A,colSpan:v.length},s);var b=K(v);return d["createElement"](c,{className:"".concat(f,"-tbody")},r&&d["createElement"]("tr",{"aria-hidden":"true",className:"".concat(f,"-measure-row"),style:{height:0}},b.map((function(e){return d["createElement"](we,{key:e,columnKey:e,onColumnResize:u})}))),e)}),[t,f,o,r,i,n,p,y,s,v])}var Ce=d["memo"](xe);Ce.displayName="Body";var Se=Ce;function ke(e){return Object(O["a"])(e).filter((function(e){return d["isValidElement"](e)})).map((function(e){var t=e.key,n=e.props,r=n.children,i=Object(R["a"])(n,["children"]),o=Object(g["a"])({key:t},i);return r&&(o.children=ke(r)),o}))}function Ee(e){return e.reduce((function(e,t){var n=t.fixed,r=!0===n?"left":n,i=t.children;return i&&i.length>0?[].concat(Object(m["a"])(e),Object(m["a"])(Ee(i).map((function(e){return Object(g["a"])({fixed:r},e)})))):[].concat(Object(m["a"])(e),[Object(g["a"])(Object(g["a"])({},t),{},{fixed:r})])}),[])}function Oe(e){return e.map((function(e){var t=e.fixed,n=Object(R["a"])(e,["fixed"]),r=t;return"left"===t?r="right":"right"===t&&(r="left"),Object(g["a"])({fixed:r},n)}))}function Be(e,t){var n=e.prefixCls,r=e.columns,i=e.children,o=e.expandable,a=e.expandedKeys,s=e.getRowKey,l=e.onTriggerExpand,c=e.expandIcon,u=e.rowExpandable,h=e.expandIconColumnIndex,f=e.direction,p=e.expandRowByClick,g=d["useMemo"]((function(){return r||ke(i)}),[r,i]),m=d["useMemo"]((function(){if(o){var e,t=h||0,r=g[t],i=(e={},Object(A["a"])(e,ae,{className:"".concat(n,"-expand-icon-col")}),Object(A["a"])(e,"title",""),Object(A["a"])(e,"fixed",r?r.fixed:null),Object(A["a"])(e,"className","".concat(n,"-row-expand-icon-cell")),Object(A["a"])(e,"render",(function(e,t,r){var i=s(t,r),o=a.has(i),h=!u||u(t),f=c({prefixCls:n,expanded:o,expandable:h,record:t,onExpand:l});return p?d["createElement"]("span",{onClick:function(e){return e.stopPropagation()}},f):f})),e),f=g.slice();return t>=0&&f.splice(t,0,i),f}return g}),[o,g,s,a,c,f]),v=d["useMemo"]((function(){var e=m;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e}),[t,m,f]),y=d["useMemo"]((function(){return"rtl"===f?Oe(Ee(v)):Ee(v)}),[v,f]);return[v,y]}var Me=Be,Te=n("xEkU"),Ie=n.n(Te);function Le(e){var t=Object(d["useRef"])(e),n=Object(d["useState"])({}),r=Object(y["a"])(n,2),i=r[1],o=Object(d["useRef"])(null),a=Object(d["useRef"])([]);function s(e){null===o.current&&(a.current=[],o.current=Ie()((function(){a.current.forEach((function(e){t.current=e(t.current)})),o.current=null,i({})}))),a.current.push(e)}return Object(d["useEffect"])((function(){return function(){Ie.a.cancel(o.current)}}),[]),[t.current,s]}function De(e){var t=Object(d["useRef"])(e),n=Object(d["useRef"])(null);function r(){window.clearTimeout(n.current)}function i(e){t.current=e,r(),n.current=window.setTimeout((function(){t.current=null,n.current=null}),100)}function o(){return t.current}return Object(d["useEffect"])((function(){return r}),[]),[i,o]}function Pe(e,t,n){var r=Object(d["useMemo"])((function(){for(var r=[],i=[],o=0,a=0,s=0;s<t;s+=1)if("rtl"===n){i[s]=a,a+=e[s]||0;var l=t-s-1;r[l]=o,o+=e[l]||0}else{r[s]=o,o+=e[s]||0;var c=t-s-1;i[c]=a,a+=e[c]||0}return{left:r,right:i}}),[e,t,n]);return r}var Ne=Pe;function je(e){var t=e.className,n=e.children;return d["createElement"]("div",{className:t},n)}var Fe=je;function Re(e){var t=e.className,n=e.index,r=e.children,i=e.colSpan,o=e.rowSpan,a=d["useContext"]($),s=a.prefixCls,l=a.fixedInfoList,c=l[n];return d["createElement"](Z,Object.assign({className:t,index:n,component:"td",prefixCls:s,record:null,dataIndex:null,render:function(){return{children:r,props:{colSpan:i,rowSpan:o}}}},c))}function Ue(e){return d["createElement"]("tr",Object.assign({},e))}function He(e){var t=e.children,n=d["useContext"]($),r=n.prefixCls;return d["createElement"]("tfoot",{className:"".concat(r,"-summary")},t)}var Qe=He,Ke={Cell:Re,Row:Ue};function ze(e){var t,n=e.prefixCls,r=e.record,i=e.onExpand,o=e.expanded,a=e.expandable,s="".concat(n,"-row-expand-icon");if(!a)return d["createElement"]("span",{className:f()(s,"".concat(n,"-row-spaced"))});var l=function(e){i(r,e),e.stopPropagation()};return d["createElement"]("span",{className:f()(s,(t={},Object(A["a"])(t,"".concat(n,"-row-expanded"),o),Object(A["a"])(t,"".concat(n,"-row-collapsed"),!o),t)),onClick:l})}function Ve(e,t,n){var r=[];function i(e){(e||[]).forEach((function(e,o){r.push(t(e,o)),i(e[n])}))}return i(e),r}var We=n("zT1h"),Ge=n("y0+3"),Xe=function(e,t){var n,r,i=e.scrollBodyRef,o=e.onScroll,a=e.offsetScroll,s=d["useContext"]($),l=s.prefixCls,c=(null===(n=i.current)||void 0===n?void 0:n.scrollWidth)||0,u=(null===(r=i.current)||void 0===r?void 0:r.clientWidth)||0,h=c&&u*(u/c),p=d["useRef"](),m=Le({scrollLeft:0,isHiddenScrollBar:!1}),v=Object(y["a"])(m,2),b=v[0],_=v[1],w=d["useRef"]({delta:0,x:0}),x=d["useState"](!1),C=Object(y["a"])(x,2),S=C[0],k=C[1],E=function(){k(!1)},O=function(e){e.persist(),w.current.delta=e.pageX-b.scrollLeft,w.current.x=0,k(!0),e.preventDefault()},B=function(e){var t,n=e||(null===(t=window)||void 0===t?void 0:t.event),r=n.buttons;if(S&&0!==r){var i=w.current.x+e.pageX-w.current.x-w.current.delta;i<=0&&(i=0),i+h>=u&&(i=u-h),o({scrollLeft:i/u*(c+2)}),w.current.x=e.pageX}else S&&k(!1)},M=function(){var e=Object(Ge["b"])(i.current).top,t=e+i.current.offsetHeight,n=document.documentElement.scrollTop+window.innerHeight;t-Object(D["a"])()<=n||e>=n-a?_((function(e){return Object(g["a"])(Object(g["a"])({},e),{},{isHiddenScrollBar:!0})})):_((function(e){return Object(g["a"])(Object(g["a"])({},e),{},{isHiddenScrollBar:!1})}))},T=function(e){_((function(t){return Object(g["a"])(Object(g["a"])({},t),{},{scrollLeft:e/c*u||0})}))};return d["useImperativeHandle"](t,(function(){return{setScrollLeft:T}})),d["useEffect"]((function(){var e=Object(We["a"])(document.body,"mouseup",E,!1),t=Object(We["a"])(document.body,"mousemove",B,!1);return M(),function(){e.remove(),t.remove()}}),[h,S]),d["useEffect"]((function(){var e=Object(We["a"])(window,"scroll",M,!1),t=Object(We["a"])(window,"resize",M,!1);return function(){e.remove(),t.remove()}}),[]),d["useEffect"]((function(){b.isHiddenScrollBar||_((function(e){var t,n;return Object(g["a"])(Object(g["a"])({},e),{},{scrollLeft:i.current.scrollLeft/(null===(t=i.current)||void 0===t?void 0:t.scrollWidth)*(null===(n=i.current)||void 0===n?void 0:n.clientWidth)})}))}),[b.isHiddenScrollBar]),c<=u||!h||b.isHiddenScrollBar?null:d["createElement"]("div",{style:{height:Object(D["a"])(),width:u,bottom:a},className:"".concat(l,"-sticky-scroll")},d["createElement"]("div",{onMouseDown:O,ref:p,className:f()("".concat(l,"-sticky-scroll-bar"),Object(A["a"])({},"".concat(l,"-sticky-scroll-bar-active"),S)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(b.scrollLeft,"px, 0, 0)")}}))},qe=d["forwardRef"](Xe);function Ye(e,t){return d["useMemo"]((function(){var n=!!e;return{isSticky:n,stickyClassName:n?"".concat(t,"-sticky-header"):"",offsetHeader:"object"===Object(v["a"])(e)&&e.offsetHeader||0,offsetScroll:"object"===Object(v["a"])(e)&&e.offsetScroll||0}}),[e,t])}var Ze=[],Je={},$e="rc-table-internal-hook",et=d["memo"]((function(e){var t=e.children;return t}),(function(e,t){return!!_()(e.props,t.props)&&(e.pingLeft!==t.pingLeft||e.pingRight!==t.pingRight)}));function tt(e){var t,n=e.prefixCls,r=e.className,i=e.rowClassName,o=e.style,a=e.data,s=e.rowKey,l=e.scroll,c=e.tableLayout,u=e.direction,h=e.title,p=e.footer,b=e.summary,_=e.id,x=e.showHeader,C=e.components,S=e.emptyText,k=e.onRow,E=e.onHeaderRow,O=e.internalHooks,B=e.transformColumns,M=e.internalRefs,T=e.sticky,I=a||Ze,P=!!I.length,N=d["useState"](0),j=Object(y["a"])(N,2),F=j[0],R=j[1];d["useEffect"]((function(){R(Object(D["a"])())}));var U,H,W,G=d["useMemo"]((function(){return z(C,{})}),[C]),X=d["useCallback"]((function(e,t){return Q(G,e)||t}),[G]),q=d["useMemo"]((function(){return"function"===typeof s?s:function(e){var t=e&&e[s];return t}}),[s]),Y=se(e),Z=Y.expandIcon,J=Y.expandedRowKeys,te=Y.defaultExpandedRowKeys,ne=Y.defaultExpandAllRows,re=Y.expandedRowRender,ie=Y.onExpand,ae=Y.onExpandedRowsChange,ce=Y.expandRowByClick,de=Y.rowExpandable,he=Y.expandIconColumnIndex,pe=Y.expandedRowClassName,ge=Y.childrenColumnName,me=Y.indentSize,ve=Z||ze,ye=ge||"children",be=d["useMemo"]((function(){return re?"row":!!(e.expandable&&O===$e&&e.expandable.__PARENT_RENDER_ICON__||I.some((function(e){return e&&"object"===Object(v["a"])(e)&&e[ye]})))&&"nest"}),[!!re,I]),we=d["useState"]((function(){return te||(ne?Ve(I,q,ye):[])})),xe=Object(y["a"])(we,2),Ce=xe[0],ke=xe[1],Ee=d["useMemo"]((function(){return new Set(J||Ce||[])}),[J,Ce]),Oe=d["useCallback"]((function(e){var t,n=q(e,I.indexOf(e)),r=Ee.has(n);r?(Ee["delete"](n),t=Object(m["a"])(Ee)):t=[].concat(Object(m["a"])(Ee),[n]),ke(t),ie&&ie(!r,e),ae&&ae(t)}),[q,Ee,I,ie,ae]),Be=d["useState"](0),Te=Object(y["a"])(Be,2),Ie=Te[0],Pe=Te[1],je=Me(Object(g["a"])(Object(g["a"])(Object(g["a"])({},e),Y),{},{expandable:!!re,expandedKeys:Ee,getRowKey:q,onTriggerExpand:Oe,expandIcon:ve,expandIconColumnIndex:he,direction:u}),O===$e?B:null),Re=Object(y["a"])(je,2),Ue=Re[0],He=Re[1],Ke=d["useMemo"]((function(){return{columns:Ue,flattenColumns:He}}),[Ue,He]),We=d["useRef"](),Ge=d["useRef"](),Xe=d["useRef"](),tt=d["useState"](!1),nt=Object(y["a"])(tt,2),rt=nt[0],it=nt[1],ot=d["useState"](!1),at=Object(y["a"])(ot,2),st=at[0],lt=at[1],ct=Le(new Map),ut=Object(y["a"])(ct,2),dt=ut[0],ht=ut[1],ft=K(He),pt=ft.map((function(e){return dt.get(e)})),At=d["useMemo"]((function(){return pt}),[pt.join("_")]),gt=Ne(At,He.length,u),mt=l&&V(l.y),vt=l&&V(l.x),yt=vt&&He.some((function(e){var t=e.fixed;return t})),bt=d["useRef"](),_t=Ye(T,n),wt=_t.isSticky,xt=_t.offsetHeader,Ct=_t.offsetScroll,St=_t.stickyClassName;mt&&(H={overflowY:"scroll",maxHeight:l.y}),vt&&(U={overflowX:"auto"},mt||(H={overflowY:"hidden"}),W={width:!0===l.x?"auto":l.x,minWidth:"100%"});var kt=d["useCallback"]((function(e,t){ht((function(n){var r=new Map(n);return r.set(e,t),r}))}),[]),Et=De(null),Ot=Object(y["a"])(Et,2),Bt=Ot[0],Mt=Ot[1];function Tt(e,t){t&&("function"===typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e))}var It=function(e){var t,n=e.currentTarget,r=e.scrollLeft,i="number"===typeof r?r:n.scrollLeft,o=n||Je;Mt()&&Mt()!==o||(Bt(o),Tt(i,Ge.current),Tt(i,Xe.current),Tt(i,null===(t=bt.current)||void 0===t?void 0:t.setScrollLeft));if(n){var a=n.scrollWidth,s=n.clientWidth;it(i>0),lt(i<a-s)}},Lt=function(){Xe.current&&It({currentTarget:Xe.current})},Dt=function(e){var t=e.width;Lt(),Pe(We.current?We.current.offsetWidth:t)};d["useEffect"]((function(){return Lt}),[]),d["useEffect"]((function(){vt&&Lt()}),[vt]),d["useEffect"]((function(){O===$e&&M&&(M.body.current=Xe.current)}));var Pt,Nt,jt=X(["table"],"table"),Ft=d["useMemo"]((function(){return c||(yt?"max-content"===l.x?"auto":"fixed":mt||He.some((function(e){var t=e.ellipsis;return t}))?"fixed":"auto")}),[mt,yt,He,c]),Rt={colWidths:At,columCount:He.length,stickyOffsets:gt,onHeaderRow:E,fixHeader:mt},Ut=d["useMemo"]((function(){return P?null:"function"===typeof S?S():S}),[P,S]),Ht=d["createElement"](Se,{data:I,measureColumnWidth:mt||vt||wt,expandedKeys:Ee,rowExpandable:de,getRowKey:q,onRow:k,emptyNode:Ut,childrenColumnName:ye}),Qt=d["createElement"](ue,{colWidths:He.map((function(e){var t=e.width;return t})),columns:He}),Kt=b&&d["createElement"](Qe,null,b(I)),zt=X(["body"]);mt||wt?("function"===typeof zt?(Nt=zt(I,{scrollbarSize:F,ref:Xe,onScroll:It}),Rt.colWidths=He.map((function(e,t){var n=e.width,r=t===Ue.length-1?n-F:n;return"number"!==typeof r||Number.isNaN(r)?(Object(w["a"])(!1,"When use `components.body` with render props. Each column should have a fixed value."),0):r}))):Nt=d["createElement"]("div",{style:Object(g["a"])(Object(g["a"])({},U),H),onScroll:It,ref:Xe,className:f()("".concat(n,"-body"))},d["createElement"](jt,{style:Object(g["a"])(Object(g["a"])({},W),{},{tableLayout:Ft})},Qt,Ht,Kt),wt&&d["createElement"](qe,{ref:bt,offsetScroll:Ct,scrollBodyRef:Xe,onScroll:It})),Pt=d["createElement"](d["Fragment"],null,!1!==x&&d["createElement"](fe,Object.assign({noData:!I.length},Rt,Ke,{direction:u,offsetHeader:xt,stickyClassName:St,ref:Ge,onScroll:It})),Nt)):Pt=d["createElement"]("div",{style:Object(g["a"])(Object(g["a"])({},U),H),className:f()("".concat(n,"-content")),onScroll:It,ref:Xe},d["createElement"](jt,{style:Object(g["a"])(Object(g["a"])({},W),{},{tableLayout:Ft})},Qt,!1!==x&&d["createElement"](oe,Object.assign({},Rt,Ke)),Ht,Kt));var Vt=le(e),Wt=d["createElement"]("div",Object.assign({className:f()(n,r,(t={},Object(A["a"])(t,"".concat(n,"-rtl"),"rtl"===u),Object(A["a"])(t,"".concat(n,"-ping-left"),rt),Object(A["a"])(t,"".concat(n,"-ping-right"),st),Object(A["a"])(t,"".concat(n,"-layout-fixed"),"fixed"===c),Object(A["a"])(t,"".concat(n,"-fixed-header"),mt),Object(A["a"])(t,"".concat(n,"-fixed-column"),yt),Object(A["a"])(t,"".concat(n,"-scroll-horizontal"),vt),Object(A["a"])(t,"".concat(n,"-has-fix-left"),He[0]&&He[0].fixed),Object(A["a"])(t,"".concat(n,"-has-fix-right"),He[He.length-1]&&"right"===He[He.length-1].fixed),t)),style:o,id:_,ref:We},Vt),d["createElement"](et,{pingLeft:rt,pingRight:st,props:Object(g["a"])(Object(g["a"])({},e),{},{stickyOffsets:gt,mergedExpandedKeys:Ee})},h&&d["createElement"](Fe,{className:"".concat(n,"-title")},h(I)),d["createElement"]("div",{className:"".concat(n,"-container")},Pt),p&&d["createElement"](Fe,{className:"".concat(n,"-footer")},p(I))));vt&&(Wt=d["createElement"](L,{onResize:Dt},Wt));var Gt=d["useMemo"]((function(){return{prefixCls:n,getComponent:X,scrollbarSize:F,direction:u,fixedInfoList:He.map((function(e,t){return ee(t,t,He,gt,u)})),isSticky:wt}}),[n,X,F,u,He,gt,u,wt]),Xt=d["useMemo"]((function(){return Object(g["a"])(Object(g["a"])({},Ke),{},{tableLayout:Ft,rowClassName:i,expandedRowClassName:pe,componentWidth:Ie,fixHeader:mt,fixColumn:yt,horizonScroll:vt,expandIcon:ve,expandableType:be,expandRowByClick:ce,expandedRowRender:re,onTriggerExpand:Oe,expandIconColumnIndex:he,indentSize:me})}),[Ke,Ft,i,pe,Ie,mt,yt,vt,ve,be,ce,re,Oe,he,me]),qt=d["useMemo"]((function(){return{onColumnResize:kt}}),[kt]);return d["createElement"]($.Provider,{value:Gt},d["createElement"](Ae.Provider,{value:Xt},d["createElement"](_e.Provider,{value:qt},Wt)))}tt.Column=F,tt.ColumnGroup=N,tt.Summary=Ke,tt.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var nt=tt,rt=nt,it=n("W9HT"),ot=n("NUBc"),at=n("H84U"),st=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},lt=10;function ct(e,t){var n={current:t.current,pageSize:t.pageSize},r=e&&"object"===i()(e)?e:{};return Object.keys(r).forEach((function(e){var r=t[e];"function"!==typeof r&&(n[e]=r)})),n}function ut(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){t&&Object.keys(t).forEach((function(n){var r=t[n];void 0!==r&&(e[n]=r)}))})),e}function dt(e,t,n){var r=t&&"object"===i()(t)?t:{},o=r.total,a=void 0===o?0:o,s=st(r,["total"]),c=Object(d["useState"])((function(){return{current:"defaultCurrent"in s?s.defaultCurrent:1,pageSize:"defaultPageSize"in s?s.defaultPageSize:lt}})),h=l()(c,2),f=h[0],p=h[1],A=ut(f,s,{total:a>0?a:e});if(!a){var g=Math.ceil(e/A.pageSize);g<A.current&&(A.current=1)}var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0;p(u()(u()({},A),{current:e,pageSize:t||A.pageSize}))},v=function(e,r){var i=null===A||void 0===A?void 0:A.pageSize;r&&r!==i&&(e=1,t&&t.onShowSizeChange&&t.onShowSizeChange(e,r)),t&&t.onChange&&t.onChange(e,r),m(e,r),n(e,r||i)};return!1===t?[{},function(){}]:[u()(u()({},A),{onChange:v}),m]}function ht(e,t,n){var r=d["useRef"]({});function o(o){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){var a=function e(r){r.forEach((function(r,o){var a=n(r,o);s.set(a,r),r&&"object"===i()(r)&&t in r&&e(r[t]||[])}))},s=new Map;a(e),r.current={data:e,childrenColumnName:t,kvMap:s,getRowKey:n}}return r.current.kvMap.get(o)}return[o]}var ft=n("SA+Z"),pt=n.n(ft),At=n("RIqP"),gt=n.n(At),mt=n("HQEm"),vt=n.n(mt),yt=n("c3jg"),bt=n("qOx5"),_t=n("wPhX"),wt=n("6cGi"),xt=n("kaz8"),Ct=n("jsC+"),St=n("BvKs"),kt=n("9yH6"),Et=n("uaoM"),Ot="SELECT_ALL",Bt="SELECT_INVERT";function Mt(e){return e&&e.fixed}function Tt(e,t){var n=[];return(e||[]).forEach((function(e){n.push(e),e&&"object"===i()(e)&&t in e&&(n=[].concat(gt()(n),gt()(Tt(e[t],t))))})),n}function It(e,t){var n=e||{},r=n.preserveSelectedRowKeys,i=n.selectedRowKeys,o=n.getCheckboxProps,s=n.onChange,c=n.onSelect,h=n.onSelectAll,f=n.onSelectInvert,p=n.onSelectMultiple,A=n.columnWidth,g=n.type,m=n.selections,v=n.fixed,y=n.renderCell,b=n.hideSelectAll,_=n.checkStrictly,w=void 0===_||_,x=t.prefixCls,C=t.data,S=t.pageData,k=t.getRecordByKey,E=t.getRowKey,O=t.expandType,B=t.childrenColumnName,M=t.locale,T=t.expandIconColumnIndex,I=t.getPopupContainer,L=d["useRef"](new Map),D=Object(wt["a"])(i||[],{value:i}),P=l()(D,2),N=P[0],j=P[1],F=Object(d["useMemo"])((function(){return w?{keyEntities:null}:Object(yt["a"])(C,void 0,E)}),[C,E,w]),R=F.keyEntities,U=Object(d["useMemo"])((function(){return Tt(S,B)}),[S,B]),H=Object(d["useMemo"])((function(){var e=new Map;return U.forEach((function(t,n){var r=E(t,n),i=(o?o(t):null)||{};e.set(r,i)})),e}),[U,E,o]),Q=Object(d["useCallback"])((function(e){var t;return!!(null===(t=H.get(E(e)))||void 0===t?void 0:t.disabled)}),[H,E]),K=Object(d["useMemo"])((function(){if(w)return[N,[]];var e=Object(bt["a"])(N,!0,R,Q),t=e.checkedKeys,n=e.halfCheckedKeys;return[t,n]}),[N,w,R,Q]),z=l()(K,2),V=z[0],W=z[1],G=Object(d["useMemo"])((function(){var e="radio"===g?V.slice(0,1):V;return new Set(e)}),[V,g]),X=Object(d["useMemo"])((function(){return"radio"===g?new Set:new Set(W)}),[W,g]),q=Object(d["useState"])(null),Y=l()(q,2),Z=Y[0],J=Y[1];d["useEffect"]((function(){e||j([])}),[!!e]);var $=Object(d["useCallback"])((function(e){var t,n;if(r){var i=new Map;t=e,n=e.map((function(e){var t=k(e);return!t&&L.current.has(e)&&(t=L.current.get(e)),i.set(e,t),t})),L.current=i}else t=[],n=[],e.forEach((function(e){var r=k(e);void 0!==r&&(t.push(e),n.push(r))}));j(t),s&&s(t,n)}),[j,k,s,r]),ee=Object(d["useCallback"])((function(e,t,n,r){if(c){var i=n.map((function(e){return k(e)}));c(k(e),t,i,r)}$(n)}),[c,k,$]),te=Object(d["useMemo"])((function(){if(!m||b)return null;var e=!0===m?[Ot,Bt]:m;return e.map((function(e){return e===Ot?{key:"all",text:M.selectionAll,onSelect:function(){$(C.map((function(e,t){return E(e,t)})))}}:e===Bt?{key:"invert",text:M.selectInvert,onSelect:function(){var e=new Set(G);S.forEach((function(t,n){var r=E(t,n);e.has(r)?e["delete"](r):e.add(r)}));var t=Array.from(e);$(t),f&&(Object(Et["a"])(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),f(t))}}:e}))}),[m,G,S,E,f,$]),ne=Object(d["useCallback"])((function(t){if(!e)return t;var n,r,i=new Set(G),o=U.map(E).filter((function(e){return!H.get(e).disabled})),s=o.every((function(e){return i.has(e)})),l=o.some((function(e){return i.has(e)})),c=function(){var e=[];s?o.forEach((function(t){i["delete"](t),e.push(t)})):o.forEach((function(t){i.has(t)||(i.add(t),e.push(t))}));var t=Array.from(i);$(t),h&&h(!s,t.map((function(e){return k(e)})),e.map((function(e){return k(e)})))};if("radio"!==g){var f;if(te){var m=d["createElement"](St["a"],{getPopupContainer:I},te.map((function(e,t){var n=e.key,r=e.text,i=e.onSelect;return d["createElement"](St["a"].Item,{key:n||t,onClick:function(){i&&i(o)}},r)})));f=d["createElement"]("div",{className:"".concat(x,"-selection-extra")},d["createElement"](Ct["a"],{overlay:m,getPopupContainer:I},d["createElement"]("span",null,d["createElement"](vt.a,null))))}var _=U.every((function(e,t){var n=E(e,t),r=H.get(n)||{};return r.disabled}));n=!b&&d["createElement"]("div",{className:"".concat(x,"-selection")},d["createElement"](xt["a"],{checked:!_&&!!U.length&&s,indeterminate:!s&&l,onChange:c,disabled:0===U.length||_}),f)}r="radio"===g?function(e,t,n){var r=E(t,n),o=i.has(r);return{node:d["createElement"](kt["a"],u()({},H.get(r),{checked:o,onClick:function(e){return e.stopPropagation()},onChange:function(e){i.has(r)||ee(r,!0,[r],e.nativeEvent)}})),checked:o}}:function(e,t,n){var r,a,s=E(t,n),l=i.has(s),c=X.has(s),h=H.get(s);return"nest"===O?(a=c,Object(Et["a"])(!("boolean"===typeof(null===h||void 0===h?void 0:h.indeterminate)),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):a=null!==(r=null===h||void 0===h?void 0:h.indeterminate)&&void 0!==r?r:c,{node:d["createElement"](xt["a"],u()({},h,{indeterminate:a,checked:l,onClick:function(e){return e.stopPropagation()},onChange:function(e){var t=e.nativeEvent,n=t.shiftKey,r=-1,a=-1;if(n&&w){var c=new Set([Z,s]);o.some((function(e,t){if(c.has(e)){if(-1!==r)return a=t,!0;r=t}return!1}))}if(-1!==a&&r!==a&&w){var u=o.slice(r,a+1),d=[];l?u.forEach((function(e){i.has(e)&&(d.push(e),i["delete"](e))})):u.forEach((function(e){i.has(e)||(d.push(e),i.add(e))}));var h=Array.from(i);$(h),p&&p(!l,h.map((function(e){return k(e)})),d.map((function(e){return k(e)})))}else{var f=V;if(w){var A=l?Object(_t["b"])(f,s):Object(_t["a"])(f,s);ee(s,!l,A,t)}else{var g=Object(bt["a"])([].concat(gt()(f),[s]),!0,R,Q),m=g.checkedKeys,v=g.halfCheckedKeys,y=m;if(l){var b=new Set(m);b["delete"](s),y=Object(bt["a"])(Array.from(b),{checked:!1,halfCheckedKeys:v},R,Q).checkedKeys}ee(s,!l,y,t)}}J(s)}})),checked:l}};var C=function(e,t,n){var i=r(e,t,n),o=i.node,a=i.checked;return y?y(a,t,n,o):o},S=a()({width:A,className:"".concat(x,"-selection-column"),title:e.columnTitle||n,render:C},ae,{className:"".concat(x,"-selection-col")});if("row"===O&&t.length&&!T){var B=pt()(t),M=B[0],L=B.slice(1),D=v||Mt(L[0]);return D&&(M.fixed=D),[M,u()(u()({},S),{fixed:D})].concat(gt()(L))}return[u()(u()({},S),{fixed:v||Mt(t[0])})].concat(gt()(t))}),[E,U,e,V,G,X,A,te,O,Z,H,p,ee,Q]);return[ne,G]}var Lt=n("6SEX"),Dt=n.n(Lt),Pt=n("i8CU"),Nt=n.n(Pt),jt=n("3S7+");function Ft(e,t){return"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function Rt(e,t){return t?"".concat(t,"-").concat(e):"".concat(e)}function Ut(e,t){return"function"===typeof e?e(t):e}var Ht="ascend",Qt="descend";function Kt(e){return"object"===i()(e.sorter)&&"number"===typeof e.sorter.multiple&&e.sorter.multiple}function zt(e){return"function"===typeof e?e:!(!e||"object"!==i()(e)||!e.compare)&&e.compare}function Vt(e,t){return t?e[e.indexOf(t)+1]:e[0]}function Wt(e,t,n){var r=[];function i(e,t){r.push({column:e,key:Ft(e,t),multiplePriority:Kt(e),sortOrder:e.sortOrder})}return(e||[]).forEach((function(e,o){var a=Rt(o,n);e.children?("sortOrder"in e&&i(e,a),r=[].concat(gt()(r),gt()(Wt(e.children,t,a)))):e.sorter&&("sortOrder"in e?i(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:Ft(e,a),multiplePriority:Kt(e),sortOrder:e.defaultSortOrder}))})),r}function Gt(e,t,n,r,i,o,s,l){return(t||[]).map((function(t,c){var h=Rt(c,l),p=t;if(p.sorter){var A=p.sortDirections||i,g=void 0===p.showSorterTooltip?s:p.showSorterTooltip,m=Ft(p,h),v=n.find((function(e){var t=e.key;return t===m})),y=v?v.sortOrder:null,b=Vt(A,y),_=A.includes(Ht)&&d["createElement"](Nt.a,{className:f()("".concat(e,"-column-sorter-up"),{active:y===Ht})}),w=A.includes(Qt)&&d["createElement"](Dt.a,{className:f()("".concat(e,"-column-sorter-down"),{active:y===Qt})}),x=o||{},C=x.cancelSort,S=x.triggerAsc,k=x.triggerDesc,E=C;b===Qt?E=k:b===Ht&&(E=S),p=u()(u()({},p),{className:f()(p.className,a()({},"".concat(e,"-column-sort"),y)),title:function(n){var r=d["createElement"]("div",{className:"".concat(e,"-column-sorters")},d["createElement"]("span",null,Ut(t.title,n)),d["createElement"]("span",{className:f()("".concat(e,"-column-sorter"),a()({},"".concat(e,"-column-sorter-full"),_&&w))},d["createElement"]("span",{className:"".concat(e,"-column-sorter-inner")},_,w)));return g?d["createElement"](jt["a"],{title:E},d["createElement"]("div",{className:"".concat(e,"-column-sorters-with-tooltip")},r)):r},onHeaderCell:function(n){var i=t.onHeaderCell&&t.onHeaderCell(n)||{},o=i.onClick;return i.onClick=function(e){r({column:t,key:m,sortOrder:b,multiplePriority:Kt(t)}),o&&o(e)},i.className=f()(i.className,"".concat(e,"-column-has-sorters")),i}})}return"children"in p&&(p=u()(u()({},p),{children:Gt(e,p.children,n,r,i,o,s,h)})),p}))}function Xt(e){var t=e.column,n=e.sortOrder;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function qt(e){var t=e.filter((function(e){var t=e.sortOrder;return t})).map(Xt);return 0===t.length&&e.length?u()(u()({},Xt(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function Yt(e,t,n){var r=t.slice().sort((function(e,t){return t.multiplePriority-e.multiplePriority})),i=e.slice(),o=r.filter((function(e){var t=e.column.sorter,n=e.sortOrder;return zt(t)&&n}));return o.length?i.sort((function(e,t){for(var n=0;n<o.length;n+=1){var r=o[n],i=r.column.sorter,a=r.sortOrder,s=zt(i);if(s&&a){var l=s(e,t,a);if(0!==l)return a===Ht?l:-l}}return 0})).map((function(e){var r=e[n];return r?u()(u()({},e),a()({},n,Yt(r,t,n))):e})):i}function Zt(e){var t=e.prefixCls,n=e.mergedColumns,r=e.onSorterChange,i=e.sortDirections,o=e.tableLocale,a=e.showSorterTooltip,s=d["useState"](Wt(n,!0)),c=l()(s,2),h=c[0],f=c[1],p=d["useMemo"]((function(){var e=!0,t=Wt(n,!1);if(!t.length)return h;var r=[];function i(t){e?r.push(t):r.push(u()(u()({},t),{sortOrder:null}))}var o=null;return t.forEach((function(t){null===o?(i(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:o=!0)):(o&&!1!==t.multiplePriority||(e=!1),i(t))})),r}),[n,h]),A=d["useMemo"]((function(){var e=p.map((function(e){var t=e.column,n=e.sortOrder;return{column:t,order:n}}));return{sortColumns:e,sortColumn:e[0]&&e[0].column,sortOrder:e[0]&&e[0].order}}),[p]);function g(e){var t;t=!1!==e.multiplePriority&&p.length&&!1!==p[0].multiplePriority?[].concat(gt()(p.filter((function(t){var n=t.key;return n!==e.key}))),[e]):[e],f(t),r(qt(t),t)}var m=function(e){return Gt(t,e,p,g,i,o,a)},v=function(){return qt(p)};return[m,p,A,v]}var Jt=n("Y+p1"),$t=n.n(Jt),en=n("5Uyt"),tn=n.n(en),nn=n("2/Rp"),rn=n("ECub"),on=function(e){return d["createElement"]("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)},an=on,sn=n("sPtV"),ln=St["a"].SubMenu,cn=St["a"].Item;function un(e){return e.some((function(e){var t=e.children;return t}))}function dn(e){var t=e.filters,n=e.prefixCls,r=e.filteredKeys,i=e.filterMultiple,o=e.locale;return 0===t.length?d["createElement"](d["Fragment"],null,d["createElement"](rn["a"],{image:rn["a"].PRESENTED_IMAGE_SIMPLE,description:o.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):t.map((function(e,t){var a=String(e.value);if(e.children)return d["createElement"](ln,{key:a||t,title:e.text,popupClassName:"".concat(n,"-dropdown-submenu")},dn({filters:e.children,prefixCls:n,filteredKeys:r,filterMultiple:i,locale:o}));var s=i?xt["a"]:kt["a"];return d["createElement"](cn,{key:void 0!==e.value?a:t},d["createElement"](s,{checked:r.includes(a)}),d["createElement"]("span",null,e.text))}))}function hn(e){var t,n=e.prefixCls,r=e.column,i=e.dropdownPrefixCls,o=e.columnKey,s=e.filterMultiple,c=e.filterState,u=e.triggerFilter,h=e.locale,p=e.children,A=e.getPopupContainer,g=r.filterDropdownVisible,m=r.onFilterDropdownVisibleChange,v=d["useState"](!1),y=l()(v,2),b=y[0],_=y[1],w=!(!c||!(null===(t=c.filteredKeys)||void 0===t?void 0:t.length)&&!c.forceFiltered),x=function(e){_(e),m&&m(e)},C="boolean"===typeof g?g:b,S=c&&c.filteredKeys,k=Object(sn["a"])(S||[]),E=l()(k,2),O=E[0],B=E[1],M=function(e){var t=e.selectedKeys;B(t)};d["useEffect"]((function(){M({selectedKeys:S||[]})}),[S]);var T=d["useState"]([]),I=l()(T,2),L=I[0],D=I[1],P=d["useRef"](),N=function(e){P.current=window.setTimeout((function(){D(e)}))},j=function(){window.clearTimeout(P.current)};d["useEffect"]((function(){return function(){window.clearTimeout(P.current)}}),[]);var F,R=function(e){x(!1);var t=e&&e.length?e:null;return null!==t||c&&c.filteredKeys?$t()(t,null===c||void 0===c?void 0:c.filteredKeys)?null:void u({column:r,key:o,filteredKeys:t}):null},U=function(){R(O())},H=function(){B([]),R([])},Q=function(e){e&&void 0!==S&&B(S||[]),x(e),e||r.filterDropdown||U()},K=f()(a()({},"".concat(i,"-menu-without-submenu"),!un(r.filters||[])));if("function"===typeof r.filterDropdown)F=r.filterDropdown({prefixCls:"".concat(i,"-custom"),setSelectedKeys:function(e){return M({selectedKeys:e})},selectedKeys:O(),confirm:U,clearFilters:H,filters:r.filters,visible:C});else if(r.filterDropdown)F=r.filterDropdown;else{var z=O()||[];F=d["createElement"](d["Fragment"],null,d["createElement"](St["a"],{multiple:s,prefixCls:"".concat(i,"-menu"),className:K,onClick:j,onSelect:M,onDeselect:M,selectedKeys:z,getPopupContainer:A,openKeys:L,onOpenChange:N},dn({filters:r.filters||[],prefixCls:n,filteredKeys:O(),filterMultiple:s,locale:h})),d["createElement"]("div",{className:"".concat(n,"-dropdown-btns")},d["createElement"](nn["a"],{type:"link",size:"small",disabled:0===z.length,onClick:H},h.filterReset),d["createElement"](nn["a"],{type:"primary",size:"small",onClick:U},h.filterConfirm)))}var V,W=d["createElement"](an,{className:"".concat(n,"-dropdown")},F);V="function"===typeof r.filterIcon?r.filterIcon(w):r.filterIcon?r.filterIcon:d["createElement"](tn.a,null);var G=d["useContext"](at["b"]),X=G.direction;return d["createElement"]("div",{className:f()("".concat(n,"-column"))},d["createElement"]("span",{className:"".concat(n,"-column-title")},p),d["createElement"]("span",{className:f()("".concat(n,"-trigger-container"),a()({},"".concat(n,"-trigger-container-open"),C)),onClick:function(e){e.stopPropagation()}},d["createElement"](Ct["a"],{overlay:W,trigger:["click"],visible:C,onVisibleChange:Q,getPopupContainer:A,placement:"rtl"===X?"bottomLeft":"bottomRight"},d["createElement"]("span",{role:"button",tabIndex:-1,className:f()("".concat(n,"-trigger"),{active:w})},V))))}var fn=hn;function pn(e,t,n){var r=[];return(e||[]).forEach((function(e,i){var o=Rt(i,n);"children"in e?r=[].concat(gt()(r),gt()(pn(e.children,t,o))):(e.filters||"filterDropdown"in e||"onFilter"in e)&&("filteredValue"in e?r.push({column:e,key:Ft(e,o),filteredKeys:e.filteredValue,forceFiltered:e.filtered}):r.push({column:e,key:Ft(e,o),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered}))})),r}function An(e,t,n,r,i,o,a,s){return n.map((function(n,l){var c=Rt(l,s),h=n.filterMultiple,f=void 0===h||h;if(n.filters||"filterDropdown"in n){var p=Ft(n,c),A=r.find((function(e){var t=e.key;return p===t}));return u()(u()({},n),{title:function(r){return d["createElement"](fn,{prefixCls:"".concat(e,"-filter"),dropdownPrefixCls:t,column:n,columnKey:p,filterState:A,filterMultiple:f,triggerFilter:i,locale:a,getPopupContainer:o},Ut(n.title,r))}})}return"children"in n?u()(u()({},n),{children:An(e,t,n.children,r,i,o,a,c)}):n}))}function gn(e){var t={};return e.forEach((function(e){var n=e.key,r=e.filteredKeys;t[n]=r||null})),t}function mn(e){var t=[];return(e||[]).forEach((function(e){var n=e.value,r=e.children;t.push(n),r&&(t=[].concat(gt()(t),gt()(mn(r))))})),t}function vn(e,t){return t.reduce((function(e,t){var n=t.column,r=n.onFilter,i=n.filters,o=t.filteredKeys;return r&&o&&o.length?e.filter((function(e){return o.some((function(t){var n=mn(i),o=n.findIndex((function(e){return String(e)===String(t)})),a=-1!==o?n[o]:t;return r(a,e)}))})):e}),e)}function yn(e){var t=e.prefixCls,n=e.dropdownPrefixCls,r=e.mergedColumns,i=e.onFilterChange,o=e.getPopupContainer,a=e.locale,s=d["useState"](pn(r,!0)),c=l()(s,2),u=c[0],h=c[1],f=d["useMemo"]((function(){var e=pn(r,!1);return e.every((function(e){var t=e.filteredKeys;return void 0===t}))?u:e}),[r,u]),p=d["useCallback"]((function(){return gn(f)}),[f]),A=function(e){var t=f.filter((function(t){var n=t.key;return n!==e.key}));t.push(e),h(t),i(gn(t),t)},g=function(e){return An(t,n,e,f,A,o,a)};return[g,f,p]}var bn=yn;function _n(e,t){return e.map((function(e){var n=u()({},e);return n.title=Ut(e.title,t),"children"in n&&(n.children=_n(n.children,t)),n}))}function wn(e){var t=d["useCallback"]((function(t){return _n(t,e)}),[e]);return[t]}function xn(e){return function(t){var n,r=t.prefixCls,i=t.onExpand,o=t.record,s=t.expanded,l=t.expandable,c="".concat(r,"-row-expand-icon");return d["createElement"]("button",{type:"button",onClick:function(e){i(o,e),e.stopPropagation()},className:f()(c,(n={},a()(n,"".concat(c,"-spaced"),!l),a()(n,"".concat(c,"-expanded"),l&&s),a()(n,"".concat(c,"-collapsed"),l&&!s),n)),"aria-label":s?e.collapse:e.expand})}}var Cn=xn,Sn=n("zAh6"),kn=n("ZvpZ"),En=kn["a"],On=n("3Nzz");function Bn(e){return null}var Mn=Bn;function Tn(e){return null}var In=Tn,Ln=n("5OYt"),Dn=[];function Pn(e){var t,n=e.prefixCls,r=e.className,o=e.style,s=e.size,c=e.bordered,h=e.dropdownPrefixCls,A=e.dataSource,g=e.pagination,m=e.rowSelection,v=e.rowKey,y=e.rowClassName,b=e.columns,_=e.children,w=e.childrenColumnName,x=e.onChange,C=e.getPopupContainer,S=e.loading,k=e.expandIcon,E=e.expandable,O=e.expandedRowRender,B=e.expandIconColumnIndex,M=e.indentSize,T=e.scroll,I=e.sortDirections,L=e.locale,D=e.showSorterTooltip,P=void 0===D||D;Object(Et["a"])(!("function"===typeof v&&v.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var N=Object(Ln["a"])(),j=d["useMemo"]((function(){var e=new Set(Object.keys(N).filter((function(e){return N[e]})));return(b||ke(_)).filter((function(t){return!t.responsive||t.responsive.some((function(t){return e.has(t)}))}))}),[_,b,N]),F=Object(p["default"])(e,["className","style","columns"]),R=d["useContext"](On["b"]),U=d["useContext"](at["b"]),H=U.locale,Q=void 0===H?En:H,K=U.renderEmpty,z=U.direction,V=s||R,W=u()(u()({},Q.Table),L),G=A||Dn,X=d["useContext"](at["b"]),q=X.getPrefixCls,Y=q("table",n),Z=q("dropdown",h),J=u()({childrenColumnName:w,expandIconColumnIndex:B},E),$=J.childrenColumnName,ee=void 0===$?"children":$,te=d["useMemo"]((function(){return G.some((function(e){var t;return null===(t=e)||void 0===t?void 0:t[ee]}))?"nest":O||E&&E.expandedRowRender?"row":null}),[G]),ne={body:d["useRef"]()},re=d["useMemo"]((function(){return"function"===typeof v?v:function(e){var t;return null===(t=e)||void 0===t?void 0:t[v]}}),[v]),ie=ht(G,ee,re),oe=l()(ie,1),ae=oe[0],se={},le=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=u()(u()({},se),e);n&&(se.resetPagination(),r.pagination.current&&(r.pagination.current=1),g&&g.onChange&&g.onChange(1,r.pagination.pageSize)),T&&!1!==T.scrollToFirstRowOnChange&&ne.body.current&&Object(Sn["a"])(0,{getContainer:function(){return ne.body.current}}),x&&x(r.pagination,r.filters,r.sorter,{currentDataSource:vn(Yt(G,r.sorterStates,ee),r.filterStates),action:t})},ce=function(e,t){le({sorter:e,sorterStates:t},"sort",!1)},ue=Zt({prefixCls:Y,mergedColumns:j,onSorterChange:ce,sortDirections:I||["ascend","descend"],tableLocale:W,showSorterTooltip:P}),de=l()(ue,4),he=de[0],fe=de[1],pe=de[2],Ae=de[3],ge=d["useMemo"]((function(){return Yt(G,fe,ee)}),[G,fe]);se.sorter=Ae(),se.sorterStates=fe;var me=function(e,t){le({filters:e,filterStates:t},"filter",!0)},ve=bn({prefixCls:Y,locale:W,dropdownPrefixCls:Z,mergedColumns:j,onFilterChange:me,getPopupContainer:C}),ye=l()(ve,3),be=ye[0],_e=ye[1],we=ye[2],xe=vn(ge,_e);se.filters=we(),se.filterStates=_e;var Ce=d["useMemo"]((function(){return u()({},pe)}),[pe]),Se=wn(Ce),Ee=l()(Se,1),Oe=Ee[0],Be=function(e,t){le({pagination:u()(u()({},se.pagination),{current:e,pageSize:t})},"paginate")},Me=dt(xe.length,g,Be),Te=l()(Me,2),Ie=Te[0],Le=Te[1];se.pagination=!1===g?{}:ct(g,Ie),se.resetPagination=Le;var De=d["useMemo"]((function(){if(!1===g||!Ie.pageSize)return xe;var e=Ie.current,t=void 0===e?1:e,n=Ie.total,r=Ie.pageSize,i=void 0===r?lt:r;return xe.length<n?xe.length>i?(Object(Et["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."),xe.slice((t-1)*i,t*i)):xe:xe.slice((t-1)*i,t*i)}),[!!g,xe,Ie&&Ie.current,Ie&&Ie.pageSize,Ie&&Ie.total]),Pe=It(m,{prefixCls:Y,data:xe,pageData:De,getRowKey:re,getRecordByKey:ae,expandType:te,childrenColumnName:ee,locale:W,expandIconColumnIndex:J.expandIconColumnIndex,getPopupContainer:C}),Ne=l()(Pe,2),je=Ne[0],Fe=Ne[1],Re=function(e,t,n){var r;return r="function"===typeof y?f()(y(e,t,n)):f()(y),f()(a()({},"".concat(Y,"-row-selected"),Fe.has(re(e,t))),r)};J.__PARENT_RENDER_ICON__=J.expandIcon,J.expandIcon=J.expandIcon||k||Cn(W),"nest"===te&&void 0===J.expandIconColumnIndex?J.expandIconColumnIndex=m?1:0:J.expandIconColumnIndex>0&&m&&(J.expandIconColumnIndex-=1),"number"!==typeof J.indentSize&&(J.indentSize="number"===typeof M?M:15);var Ue,He,Qe,Ke=d["useCallback"]((function(e){return Oe(je(be(he(e))))}),[he,be,je]);if(!1!==g){var ze;ze=Ie.size?Ie.size:"small"===V||"middle"===V?"small":void 0;var Ve=function(e){return d["createElement"](ot["a"],u()({className:"".concat(Y,"-pagination ").concat(Y,"-pagination-").concat(e)},Ie,{size:ze}))},We="rtl"===z?"left":"right";if(null!==Ie.position&&Array.isArray(Ie.position)){var Ge=Ie.position.find((function(e){return-1!==e.indexOf("top")})),Xe=Ie.position.find((function(e){return-1!==e.indexOf("bottom")}));Ge||Xe?(Ge&&(Ue=Ve(Ge.toLowerCase().replace("top",""))),Xe&&(He=Ve(Xe.toLowerCase().replace("bottom","")))):He=Ve(We)}else He=Ve(We)}"boolean"===typeof S?Qe={spinning:S}:"object"===i()(S)&&(Qe=u()({spinning:!0},S));var qe=f()("".concat(Y,"-wrapper"),r,a()({},"".concat(Y,"-wrapper-rtl"),"rtl"===z));return d["createElement"]("div",{className:qe,style:o},d["createElement"](it["a"],u()({spinning:!1},Qe),Ue,d["createElement"](rt,u()({},F,{columns:j,direction:z,expandable:J,prefixCls:Y,className:f()((t={},a()(t,"".concat(Y,"-middle"),"middle"===V),a()(t,"".concat(Y,"-small"),"small"===V),a()(t,"".concat(Y,"-bordered"),c),a()(t,"".concat(Y,"-empty"),0===G.length),t)),data:De,rowKey:re,rowClassName:Re,emptyText:L&&L.emptyText||K("Table"),internalHooks:$e,internalRefs:ne,transformColumns:Ke})),xe&&xe.length>0&&He))}Pn.defaultProps={rowKey:"key"},Pn.SELECTION_ALL=Ot,Pn.SELECTION_INVERT=Bt,Pn.Column=Mn,Pn.ColumnGroup=In,Pn.Summary=Ke;var Nn=Pn;t["a"]=Nn},wDdD:function(e,t,n){var r=n("ProS"),i=n("bYtY");n("98bh"),n("GrNh");var o=n("d4KN"),a=n("mOdp"),s=n("KS52"),l=n("0/Rx");o("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),r.registerVisual(a("pie")),r.registerLayout(i.curry(s,"pie")),r.registerProcessor(l("pie"))},"wF/u":function(e,t,n){var r=n("e5cp"),i=n("ExA7");function o(e,t,n,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:r(e,t,n,a,o,s))}e.exports=o},wJg7:function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(e,t){var i=typeof e;return t=null==t?n:t,!!t&&("number"==i||"symbol"!=i&&r.test(e))&&e>-1&&e%1==0&&e<t}e.exports=i},wOnQ:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};function t(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};function r(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(Vt){o(Vt)}}function s(e){try{l(r["throw"](e))}catch(Vt){o(Vt)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function i(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(Vt){o=[6,Vt],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}function o(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||t)}for(var a=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find((function(e){return 0!==e.width}));return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),s=function(e,t){return a.fromClientRect(e,t.getBoundingClientRect())},l=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new a(0,0,r,i)},c=function(e){var t=[],n=0,r=e.length;while(n<r){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320===(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t},u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";var r=[],i=-1,o="";while(++i<n){var a=e[i];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f<d.length;f++)h[d.charCodeAt(f)]=f;for(var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A="undefined"===typeof Uint8Array?[]:new Uint8Array(256),g=0;g<p.length;g++)A[p.charCodeAt(g)]=g;for(var m=function(e){var t,n,r,i,o,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=A[e.charCodeAt(t)],r=A[e.charCodeAt(t+1)],i=A[e.charCodeAt(t+2)],o=A[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&o;return c},v=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},y=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},b=5,_=11,w=2,x=_-b,C=65536>>b,S=1<<b,k=S-1,E=1024>>b,O=C+E,B=O,M=32,T=B+M,I=65536>>_,L=1<<x,D=L-1,P=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},N=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},j=function(e,t){var n=m(e),r=Array.isArray(n)?y(n):new Uint32Array(n),i=Array.isArray(n)?v(n):new Uint16Array(n),o=24,a=P(i,o/2,r[4]/2),s=2===r[5]?P(i,(o+r[4])/2):N(r,Math.ceil((o+r[4])/4));return new F(r[0],r[1],r[2],r[3],a,s)},F=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>b],t=(t<<w)+(e&k),this.data[t];if(e<=65535)return t=this.index[C+(e-55296>>b)],t=(t<<w)+(e&k),this.data[t];if(e<this.highStart)return t=T-I+(e>>_),t=this.index[t],t+=e>>b&D,t=this.index[t],t=(t<<w)+(e&k),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",U="undefined"===typeof Uint8Array?[]:new Uint8Array(256),H=0;H<R.length;H++)U[R.charCodeAt(H)]=H;var Q="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,z=1,V=2,W=3,G=4,X=5,q=7,Y=8,Z=9,J=10,$=11,ee=12,te=13,ne=14,re=15,ie=16,oe=17,ae=18,se=19,le=20,ce=21,ue=22,de=23,he=24,fe=25,pe=26,Ae=27,ge=28,me=29,ve=30,ye=31,be=32,_e=33,we=34,xe=35,Ce=36,Se=37,ke=38,Ee=39,Oe=40,Be=41,Me=42,Te=43,Ie=[9001,65288],Le="!",De="\xd7",Pe="\xf7",Ne=j(Q),je=[ve,Ce],Fe=[z,V,W,X],Re=[J,Y],Ue=[Ae,pe],He=Fe.concat(Re),Qe=[ke,Ee,Oe,we,xe],Ke=[re,te],ze=function(e,t){void 0===t&&(t="strict");var n=[],r=[],i=[];return e.forEach((function(e,o){var a=Ne.get(e);if(a>K?(i.push(!0),a-=K):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(o),n.push(ie);if(a===G||a===$){if(0===o)return r.push(o),n.push(ve);var s=n[o-1];return-1===He.indexOf(s)?(r.push(r[o-1]),n.push(s)):(r.push(o),n.push(ve))}return r.push(o),a===ye?n.push("strict"===t?ce:Se):a===Me||a===me?n.push(ve):a===Te?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(Se):n.push(ve):void n.push(a)})),[r,n,i]},Ve=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?-1!==e.indexOf(i):e===i){var o=n;while(o<=r.length){o++;var a=r[o];if(a===t)return!0;if(a!==J)break}}if(i===J){o=n;while(o>0){o--;var s=r[o];if(Array.isArray(e)?-1!==e.indexOf(s):e===s){var l=n;while(l<=r.length){l++;a=r[l];if(a===t)return!0;if(a!==J)break}}if(s!==J)break}}return!1},We=function(e,t){var n=e;while(n>=0){var r=t[n];if(r!==J)return r;n--}return 0},Ge=function(e,t,n,r,i){if(0===n[r])return De;var o=r-1;if(Array.isArray(i)&&!0===i[o])return De;var a=o-1,s=o+1,l=t[o],c=a>=0?t[a]:0,u=t[s];if(l===V&&u===W)return De;if(-1!==Fe.indexOf(l))return Le;if(-1!==Fe.indexOf(u))return De;if(-1!==Re.indexOf(u))return De;if(We(o,t)===Y)return Pe;if(Ne.get(e[o])===$)return De;if((l===be||l===_e)&&Ne.get(e[s])===$)return De;if(l===q||u===q)return De;if(l===Z)return De;if(-1===[J,te,re].indexOf(l)&&u===Z)return De;if(-1!==[oe,ae,se,he,ge].indexOf(u))return De;if(We(o,t)===ue)return De;if(Ve(de,ue,o,t))return De;if(Ve([oe,ae],ce,o,t))return De;if(Ve(ee,ee,o,t))return De;if(l===J)return Pe;if(l===de||u===de)return De;if(u===ie||l===ie)return Pe;if(-1!==[te,re,ce].indexOf(u)||l===ne)return De;if(c===Ce&&-1!==Ke.indexOf(l))return De;if(l===ge&&u===Ce)return De;if(u===le)return De;if(-1!==je.indexOf(u)&&l===fe||-1!==je.indexOf(l)&&u===fe)return De;if(l===Ae&&-1!==[Se,be,_e].indexOf(u)||-1!==[Se,be,_e].indexOf(l)&&u===pe)return De;if(-1!==je.indexOf(l)&&-1!==Ue.indexOf(u)||-1!==Ue.indexOf(l)&&-1!==je.indexOf(u))return De;if(-1!==[Ae,pe].indexOf(l)&&(u===fe||-1!==[ue,re].indexOf(u)&&t[s+1]===fe)||-1!==[ue,re].indexOf(l)&&u===fe||l===fe&&-1!==[fe,ge,he].indexOf(u))return De;if(-1!==[fe,ge,he,oe,ae].indexOf(u)){var d=o;while(d>=0){var h=t[d];if(h===fe)return De;if(-1===[ge,he].indexOf(h))break;d--}}if(-1!==[Ae,pe].indexOf(u)){d=-1!==[oe,ae].indexOf(l)?a:o;while(d>=0){h=t[d];if(h===fe)return De;if(-1===[ge,he].indexOf(h))break;d--}}if(ke===l&&-1!==[ke,Ee,we,xe].indexOf(u)||-1!==[Ee,we].indexOf(l)&&-1!==[Ee,Oe].indexOf(u)||-1!==[Oe,xe].indexOf(l)&&u===Oe)return De;if(-1!==Qe.indexOf(l)&&-1!==[le,pe].indexOf(u)||-1!==Qe.indexOf(u)&&l===Ae)return De;if(-1!==je.indexOf(l)&&-1!==je.indexOf(u))return De;if(l===he&&-1!==je.indexOf(u))return De;if(-1!==je.concat(fe).indexOf(l)&&u===ue&&-1===Ie.indexOf(e[s])||-1!==je.concat(fe).indexOf(u)&&l===ae)return De;if(l===Be&&u===Be){var f=n[o],p=1;while(f>0){if(f--,t[f]!==Be)break;p++}if(p%2!==0)return De}return l===be&&u===_e?De:Pe},Xe=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=ze(e,t.lineBreak),r=n[0],i=n[1],o=n[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(i=i.map((function(e){return-1!==[fe,ve,Me].indexOf(e)?Se:e})));var a="keep-all"===t.wordBreak?o.map((function(t,n){return t&&e[n]>=19968&&e[n]<=40959})):void 0;return[r,i,a]},qe=function(){function e(e,t,n,r){this.codePoints=e,this.required=t===Le,this.start=n,this.end=r}return e.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),Ye=function(e,t){var n=c(e),r=Xe(n,t),i=r[0],o=r[1],a=r[2],s=n.length,l=0,u=0;return{next:function(){if(u>=s)return{done:!0,value:null};var e=De;while(u<s&&(e=Ge(n,o,i,++u,a))===De);if(e!==De||u===s){var t=new qe(n,e,l,u);return l=u,{value:t,done:!1}}return{done:!0,value:null}}}},Ze=1,Je=2,$e=4,et=8,tt=10,nt=47,rt=92,it=9,ot=32,at=34,st=61,lt=35,ct=36,ut=37,dt=39,ht=40,ft=41,pt=95,At=45,gt=33,mt=60,vt=62,yt=64,bt=91,_t=93,wt=61,xt=123,Ct=63,St=125,kt=124,Et=126,Ot=128,Bt=65533,Mt=42,Tt=43,It=44,Lt=58,Dt=59,Pt=46,Nt=0,jt=8,Ft=11,Rt=14,Ut=31,Ht=127,Qt=-1,Kt=48,zt=97,Vt=101,Wt=102,Gt=117,Xt=122,qt=65,Yt=69,Zt=70,Jt=85,$t=90,en=function(e){return e>=Kt&&e<=57},tn=function(e){return e>=55296&&e<=57343},nn=function(e){return en(e)||e>=qt&&e<=Zt||e>=zt&&e<=Wt},rn=function(e){return e>=zt&&e<=Xt},on=function(e){return e>=qt&&e<=$t},an=function(e){return rn(e)||on(e)},sn=function(e){return e>=Ot},ln=function(e){return e===tt||e===it||e===ot},cn=function(e){return an(e)||sn(e)||e===pt},un=function(e){return cn(e)||en(e)||e===At},dn=function(e){return e>=Nt&&e<=jt||e===Ft||e>=Rt&&e<=Ut||e===Ht},hn=function(e,t){return e===rt&&t!==tt},fn=function(e,t,n){return e===At?cn(t)||hn(t,n):!!cn(e)||!(e!==rt||!hn(e,t))},pn=function(e,t,n){return e===Tt||e===At?!!en(t)||t===Pt&&en(n):en(e===Pt?t:e)},An=function(e){var t=0,n=1;e[t]!==Tt&&e[t]!==At||(e[t]===At&&(n=-1),t++);var r=[];while(en(e[t]))r.push(e[t++]);var i=r.length?parseInt(u.apply(void 0,r),10):0;e[t]===Pt&&t++;var o=[];while(en(e[t]))o.push(e[t++]);var a=o.length,s=a?parseInt(u.apply(void 0,o),10):0;e[t]!==Yt&&e[t]!==Vt||t++;var l=1;e[t]!==Tt&&e[t]!==At||(e[t]===At&&(l=-1),t++);var c=[];while(en(e[t]))c.push(e[t++]);var d=c.length?parseInt(u.apply(void 0,c),10):0;return n*(i+s*Math.pow(10,-a))*Math.pow(10,l*d)},gn={type:2},mn={type:3},vn={type:4},yn={type:13},bn={type:8},_n={type:21},wn={type:9},xn={type:10},Cn={type:11},Sn={type:12},kn={type:14},En={type:23},On={type:1},Bn={type:25},Mn={type:24},Tn={type:26},In={type:27},Ln={type:28},Dn={type:29},Pn={type:31},Nn={type:32},jn=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(c(e))},e.prototype.read=function(){var e=[],t=this.consumeToken();while(t!==Nn)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case at:return this.consumeStringToken(at);case lt:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(un(t)||hn(n,r)){var i=fn(t,n,r)?Je:Ze,o=this.consumeName();return{type:5,value:o,flags:i}}break;case ct:if(this.peekCodePoint(0)===st)return this.consumeCodePoint(),yn;break;case dt:return this.consumeStringToken(dt);case ht:return gn;case ft:return mn;case Mt:if(this.peekCodePoint(0)===st)return this.consumeCodePoint(),kn;break;case Tt:if(pn(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case It:return vn;case At:var a=e,s=this.peekCodePoint(0),l=this.peekCodePoint(1);if(pn(a,s,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(fn(a,s,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===At&&l===vt)return this.consumeCodePoint(),this.consumeCodePoint(),Mn;break;case Pt:if(pn(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case nt:if(this.peekCodePoint(0)===Mt){this.consumeCodePoint();while(1){var c=this.consumeCodePoint();if(c===Mt&&(c=this.consumeCodePoint(),c===nt))return this.consumeToken();if(c===Qt)return this.consumeToken()}}break;case Lt:return Tn;case Dt:return In;case mt:if(this.peekCodePoint(0)===gt&&this.peekCodePoint(1)===At&&this.peekCodePoint(2)===At)return this.consumeCodePoint(),this.consumeCodePoint(),Bn;break;case yt:var d=this.peekCodePoint(0),h=this.peekCodePoint(1),f=this.peekCodePoint(2);if(fn(d,h,f)){o=this.consumeName();return{type:7,value:o}}break;case bt:return Ln;case rt:if(hn(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case _t:return Dn;case wt:if(this.peekCodePoint(0)===st)return this.consumeCodePoint(),bn;break;case xt:return Cn;case St:return Sn;case Gt:case Jt:var p=this.peekCodePoint(0),A=this.peekCodePoint(1);return p!==Tt||!nn(A)&&A!==Ct||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case kt:if(this.peekCodePoint(0)===st)return this.consumeCodePoint(),wn;if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),_n;break;case Et:if(this.peekCodePoint(0)===st)return this.consumeCodePoint(),xn;break;case Qt:return Nn}return ln(e)?(this.consumeWhiteSpace(),Pn):en(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):cn(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:u(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return"undefined"===typeof e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){var e=[],t=this.consumeCodePoint();while(nn(t)&&e.length<6)e.push(t),t=this.consumeCodePoint();var n=!1;while(t===Ct&&e.length<6)e.push(t),t=this.consumeCodePoint(),n=!0;if(n){var r=parseInt(u.apply(void 0,e.map((function(e){return e===Ct?Kt:e}))),16),i=parseInt(u.apply(void 0,e.map((function(e){return e===Ct?Zt:e}))),16);return{type:30,start:r,end:i}}var o=parseInt(u.apply(void 0,e),16);if(this.peekCodePoint(0)===At&&nn(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var a=[];while(nn(t)&&a.length<6)a.push(t),t=this.consumeCodePoint();i=parseInt(u.apply(void 0,a),16);return{type:30,start:o,end:i}}return{type:30,start:o,end:o}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&this.peekCodePoint(0)===ht?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ht?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Qt)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===dt||t===at){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Qt||this.peekCodePoint(0)===ft)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),En)}while(1){var r=this.consumeCodePoint();if(r===Qt||r===ft)return{type:22,value:u.apply(void 0,e)};if(ln(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Qt||this.peekCodePoint(0)===ft?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,e)}):(this.consumeBadUrlRemnants(),En);if(r===at||r===dt||r===ht||dn(r))return this.consumeBadUrlRemnants(),En;if(r===rt){if(!hn(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),En;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){while(ln(this.peekCodePoint(0)))this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){while(1){var e=this.consumeCodePoint();if(e===ft||e===Qt)return;hn(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){var t=5e4,n="";while(e>0){var r=Math.min(t,e);n+=u.apply(void 0,this._value.splice(0,r)),e-=r}return this._value.shift(),n},e.prototype.consumeStringToken=function(e){var t="",n=0;do{var r=this._value[n];if(r===Qt||void 0===r||r===e)return t+=this.consumeStringSlice(n),{type:0,value:t};if(r===tt)return this._value.splice(0,n),On;if(r===rt){var i=this._value[n+1];i!==Qt&&void 0!==i&&(i===tt?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):hn(r,i)&&(t+=this.consumeStringSlice(n),t+=u(this.consumeEscapedCodePoint()),n=-1))}n++}while(1)},e.prototype.consumeNumber=function(){var e=[],t=$e,n=this.peekCodePoint(0);n!==Tt&&n!==At||e.push(this.consumeCodePoint());while(en(this.peekCodePoint(0)))e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(n===Pt&&en(r)){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=et;while(en(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((n===Yt||n===Vt)&&((r===Tt||r===At)&&en(i)||en(r))){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=et;while(en(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}return[An(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);if(fn(r,i,o)){var a=this.consumeName();return{type:15,number:t,flags:n,unit:a}}return r===ut?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(nn(e)){var t=u(e);while(nn(this.peekCodePoint(0))&&t.length<6)t+=u(this.consumeCodePoint());ln(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||tn(n)||n>1114111?Bt:n}return e===Qt?Bt:e},e.prototype.consumeName=function(){var e="";while(1){var t=this.consumeCodePoint();if(un(t))e+=u(t);else{if(!hn(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=u(this.consumeEscapedCodePoint())}}},e}(),Fn=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new jn;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){var e=this.consumeToken();while(31===e.type)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){var e=[];while(1){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){var t={type:e,values:[]},n=this.consumeToken();while(1){if(32===n.type||Gn(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){var t={name:e.value,values:[],type:18};while(1){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return"undefined"===typeof e?Nn:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Rn=function(e){return 15===e.type},Un=function(e){return 17===e.type},Hn=function(e){return 20===e.type},Qn=function(e){return 0===e.type},Kn=function(e,t){return Hn(e)&&e.value===t},zn=function(e){return 31!==e.type},Vn=function(e){return 31!==e.type&&4!==e.type},Wn=function(e){var t=[],n=[];return e.forEach((function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)})),n.length&&t.push(n),t},Gn=function(e,t){return 11===t&&12===e.type||(28===t&&29===e.type||2===t&&3===e.type)},Xn=function(e){return 17===e.type||15===e.type},qn=function(e){return 16===e.type||Xn(e)},Yn=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Zn={type:17,number:0,flags:$e},Jn={type:16,number:50,flags:$e},$n={type:16,number:100,flags:$e},er=function(e,t,n){var r=e[0],i=e[1];return[tr(r,t),tr("undefined"!==typeof i?i:r,n)]},tr=function(e,t){if(16===e.type)return e.number/100*t;if(Rn(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},nr="deg",rr="grad",ir="rad",or="turn",ar={name:"angle",parse:function(e,t){if(15===t.type)switch(t.unit){case nr:return Math.PI*t.number/180;case rr:return Math.PI/200*t.number;case ir:return t.number;case or:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},sr=function(e){return 15===e.type&&(e.unit===nr||e.unit===rr||e.unit===ir||e.unit===or)},lr=function(e){var t=e.filter(Hn).map((function(e){return e.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Zn,Zn];case"to top":case"bottom":return cr(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Zn,$n];case"to right":case"left":return cr(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[$n,$n];case"to bottom":case"top":return cr(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[$n,Zn];case"to left":case"right":return cr(270)}return 0},cr=function(e){return Math.PI*e/180},ur={name:"color",parse:function(e,t){if(18===t.type){var n=vr[t.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);return fr(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(4===t.value.length){r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);var a=t.value.substring(3,4);return fr(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(a+a,16)/255)}if(6===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6);return fr(parseInt(r,16),parseInt(i,16),parseInt(o,16),1)}if(8===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6),a=t.value.substring(6,8);return fr(parseInt(r,16),parseInt(i,16),parseInt(o,16),parseInt(a,16)/255)}}if(20===t.type){var s=br[t.value.toUpperCase()];if("undefined"!==typeof s)return s}return br.TRANSPARENT}},dr=function(e){return 0===(255&e)},hr=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?"rgba("+i+","+r+","+n+","+t/255+")":"rgb("+i+","+r+","+n+")"},fr=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r)<<0)>>>0},pr=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},Ar=function(e,t){var n=t.filter(Vn);if(3===n.length){var r=n.map(pr),i=r[0],o=r[1],a=r[2];return fr(i,o,a,1)}if(4===n.length){var s=n.map(pr),l=(i=s[0],o=s[1],a=s[2],s[3]);return fr(i,o,a,l)}return 0};function gr(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var mr=function(e,t){var n=t.filter(Vn),r=n[0],i=n[1],o=n[2],a=n[3],s=(17===r.type?cr(r.number):ar.parse(e,r))/(2*Math.PI),l=qn(i)?i.number/100:0,c=qn(o)?o.number/100:0,u="undefined"!==typeof a&&qn(a)?tr(a,1):1;if(0===l)return fr(255*c,255*c,255*c,1);var d=c<=.5?c*(l+1):c+l-c*l,h=2*c-d,f=gr(h,d,s+1/3),p=gr(h,d,s),A=gr(h,d,s-1/3);return fr(255*f,255*p,255*A,u)},vr={hsl:mr,hsla:mr,rgb:Ar,rgba:Ar},yr=function(e,t){return ur.parse(e,Fn.create(t).parseComponentValue())},br={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},_r={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Hn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},wr={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},xr=function(e,t){var n=ur.parse(e,t[0]),r=t[1];return r&&qn(r)?{color:n,stop:r}:{color:n,stop:null}},Cr=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=Zn),null===r.stop&&(r.stop=$n);for(var i=[],o=0,a=0;a<e.length;a++){var s=e[a].stop;if(null!==s){var l=tr(s,t);l>o?i.push(l):i.push(o),o=l}else i.push(null)}var c=null;for(a=0;a<i.length;a++){var u=i[a];if(null===u)null===c&&(c=a);else if(null!==c){for(var d=a-c,h=i[c-1],f=(u-h)/(d+1),p=1;p<=d;p++)i[c+p-1]=f*p;c=null}}return e.map((function(e,n){var r=e.color;return{color:r,stop:Math.max(Math.min(1,i[n]/t),0)}}))},Sr=function(e,t,n){var r=t/2,i=n/2,o=tr(e[0],t)-r,a=i-tr(e[1],n);return(Math.atan2(a,o)+2*Math.PI)%(2*Math.PI)},kr=function(e,t,n){var r="number"===typeof e?e:Sr(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),o=t/2,a=n/2,s=i/2,l=Math.sin(r-Math.PI/2)*s,c=Math.cos(r-Math.PI/2)*s;return[i,o-c,o+c,a-l,a+l]},Er=function(e,t){return Math.sqrt(e*e+t*t)},Or=function(e,t,n,r,i){var o=[[0,0],[0,t],[e,0],[e,t]];return o.reduce((function(e,t){var o=t[0],a=t[1],s=Er(n-o,r-a);return(i?s<e.optimumDistance:s>e.optimumDistance)?{optimumCorner:t,optimumDistance:s}:e}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},Br=function(e,t,n,r,i){var o=0,a=0;switch(e.size){case 0:0===e.shape?o=a=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.min(Math.abs(t),Math.abs(t-r)),a=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(0===e.shape)o=a=Math.min(Er(t,n),Er(t,n-i),Er(t-r,n),Er(t-r,n-i));else if(1===e.shape){var s=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),l=Or(r,i,t,n,!0),c=l[0],u=l[1];o=Er(c-t,(u-n)/s),a=s*o}break;case 1:0===e.shape?o=a=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.max(Math.abs(t),Math.abs(t-r)),a=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(0===e.shape)o=a=Math.max(Er(t,n),Er(t,n-i),Er(t-r,n),Er(t-r,n-i));else if(1===e.shape){s=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r));var d=Or(r,i,t,n,!1);c=d[0],u=d[1];o=Er(c-t,(u-n)/s),a=s*o}break}return Array.isArray(e.size)&&(o=tr(e.size[0],r),a=2===e.size.length?tr(e.size[1],i):o),[o,a]},Mr=function(e,t){var n=cr(180),r=[];return Wn(t).forEach((function(t,i){if(0===i){var o=t[0];if(20===o.type&&"to"===o.value)return void(n=lr(t));if(sr(o))return void(n=ar.parse(e,o))}var a=xr(e,t);r.push(a)})),{angle:n,stops:r,type:1}},Tr=function(e,t){var n=cr(180),r=[];return Wn(t).forEach((function(t,i){if(0===i){var o=t[0];if(20===o.type&&-1!==["top","left","right","bottom"].indexOf(o.value))return void(n=lr(t));if(sr(o))return void(n=(ar.parse(e,o)+cr(270))%cr(360))}var a=xr(e,t);r.push(a)})),{angle:n,stops:r,type:1}},Ir=function(e,t){var n=cr(180),r=[],i=1,o=0,a=3,s=[];return Wn(t).forEach((function(t,n){var o=t[0];if(0===n){if(Hn(o)&&"linear"===o.value)return void(i=1);if(Hn(o)&&"radial"===o.value)return void(i=2)}if(18===o.type)if("from"===o.name){var a=ur.parse(e,o.values[0]);r.push({stop:Zn,color:a})}else if("to"===o.name){a=ur.parse(e,o.values[0]);r.push({stop:$n,color:a})}else if("color-stop"===o.name){var s=o.values.filter(Vn);if(2===s.length){a=ur.parse(e,s[1]);var l=s[0];Un(l)&&r.push({stop:{type:16,number:100*l.number,flags:l.flags},color:a})}}})),1===i?{angle:(n+cr(180))%cr(360),stops:r,type:i}:{size:a,shape:o,stops:r,position:s,type:i}},Lr="closest-side",Dr="farthest-side",Pr="closest-corner",Nr="farthest-corner",jr="circle",Fr="ellipse",Rr="cover",Ur="contain",Hr=function(e,t){var n=0,r=3,i=[],o=[];return Wn(t).forEach((function(t,a){var s=!0;if(0===a){var l=!1;s=t.reduce((function(e,t){if(l)if(Hn(t))switch(t.value){case"center":return o.push(Jn),e;case"top":case"left":return o.push(Zn),e;case"right":case"bottom":return o.push($n),e}else(qn(t)||Xn(t))&&o.push(t);else if(Hn(t))switch(t.value){case jr:return n=0,!1;case Fr:return n=1,!1;case"at":return l=!0,!1;case Lr:return r=0,!1;case Rr:case Dr:return r=1,!1;case Ur:case Pr:return r=2,!1;case Nr:return r=3,!1}else if(Xn(t)||qn(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),s)}if(s){var c=xr(e,t);i.push(c)}})),{size:r,shape:n,stops:i,position:o,type:2}},Qr=function(e,t){var n=0,r=3,i=[],o=[];return Wn(t).forEach((function(t,a){var s=!0;if(0===a?s=t.reduce((function(e,t){if(Hn(t))switch(t.value){case"center":return o.push(Jn),!1;case"top":case"left":return o.push(Zn),!1;case"right":case"bottom":return o.push($n),!1}else if(qn(t)||Xn(t))return o.push(t),!1;return e}),s):1===a&&(s=t.reduce((function(e,t){if(Hn(t))switch(t.value){case jr:return n=0,!1;case Fr:return n=1,!1;case Ur:case Lr:return r=0,!1;case Dr:return r=1,!1;case Pr:return r=2,!1;case Rr:case Nr:return r=3,!1}else if(Xn(t)||qn(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),s)),s){var l=xr(e,t);i.push(l)}})),{size:r,shape:n,stops:i,position:o,type:2}},Kr=function(e){return 1===e.type},zr=function(e){return 2===e.type},Vr={name:"image",parse:function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=Xr[t.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function Wr(e){return!(20===e.type&&"none"===e.value)&&(18!==e.type||!!Xr[e.name])}var Gr,Xr={"linear-gradient":Mr,"-moz-linear-gradient":Tr,"-ms-linear-gradient":Tr,"-o-linear-gradient":Tr,"-webkit-linear-gradient":Tr,"radial-gradient":Hr,"-moz-radial-gradient":Qr,"-ms-radial-gradient":Qr,"-o-radial-gradient":Qr,"-webkit-radial-gradient":Qr,"-webkit-gradient":Ir},qr={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter((function(e){return Vn(e)&&Wr(e)})).map((function(t){return Vr.parse(e,t)}))}},Yr={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Hn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Zr={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Wn(t).map((function(e){return e.filter(qn)})).map(Yn)}},Jr={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Wn(t).map((function(e){return e.filter(Hn).map((function(e){return e.value})).join(" ")})).map($r)}},$r=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};(function(e){e["AUTO"]="auto",e["CONTAIN"]="contain",e["COVER"]="cover"})(Gr||(Gr={}));var ei,ti={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Wn(t).map((function(e){return e.filter(ni)}))}},ni=function(e){return Hn(e)||qn(e)},ri=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},ii=ri("top"),oi=ri("right"),ai=ri("bottom"),si=ri("left"),li=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Yn(t.filter(qn))}}},ci=li("top-left"),ui=li("top-right"),di=li("bottom-right"),hi=li("bottom-left"),fi=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},pi=fi("top"),Ai=fi("right"),gi=fi("bottom"),mi=fi("left"),vi=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Rn(t)?t.number:0}}},yi=vi("top"),bi=vi("right"),_i=vi("bottom"),wi=vi("left"),xi={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ci={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}},Si={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(Hn).reduce((function(e,t){return e|ki(t.value)}),0)}},ki=function(e){switch(e){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},Ei={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Oi={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};(function(e){e["NORMAL"]="normal",e["STRICT"]="strict"})(ei||(ei={}));var Bi,Mi={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"strict":return ei.STRICT;case"normal":default:return ei.NORMAL}}},Ti={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ii=function(e,t){return Hn(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:qn(e)?tr(e,t):t},Li={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Vr.parse(e,t)}},Di={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},Pi={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Ni=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},ji=Ni("top"),Fi=Ni("right"),Ri=Ni("bottom"),Ui=Ni("left"),Hi={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(Hn).map((function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}}))}},Qi={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ki=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},zi=Ki("top"),Vi=Ki("right"),Wi=Ki("bottom"),Gi=Ki("left"),Xi={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},qi={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Yi={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Kn(t[0],"none")?[]:Wn(t).map((function(t){for(var n={color:br.TRANSPARENT,offsetX:Zn,offsetY:Zn,blur:Zn},r=0,i=0;i<t.length;i++){var o=t[i];Xn(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:n.blur=o,r++):n.color=ur.parse(e,o)}return n}))}},Zi={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Ji={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var n=to[t.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},$i=function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number}));return 6===t.length?t:null},eo=function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number})),n=t[0],r=t[1];t[2],t[3];var i=t[4],o=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var a=t[12],s=t[13];return t[14],t[15],16===t.length?[n,r,i,o,a,s]:null},to={matrix:$i,matrix3d:eo},no={type:16,number:50,flags:$e},ro=[no,no],io={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(qn);return 2!==n.length?ro:[n[0],n[1]]}},oo={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}};(function(e){e["NORMAL"]="normal",e["BREAK_ALL"]="break-all",e["KEEP_ALL"]="keep-all"})(Bi||(Bi={}));for(var ao={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return Bi.BREAK_ALL;case"keep-all":return Bi.KEEP_ALL;case"normal":default:return Bi.NORMAL}}},so={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(Un(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},lo={name:"time",parse:function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},co={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return Un(t)?t.number:1}},uo={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ho={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(Hn).map((function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(e){return 0!==e}))}},fo={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach((function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(" ")),n.length=0;break}})),n.length&&r.push(n.join(" ")),r.map((function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"}))}},po={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ao={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){if(Un(t))return t.number;if(Hn(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},go={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(Hn).map((function(e){return e.value}))}},mo={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},vo=function(e,t){return 0!==(e&t)},yo={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t}},bo={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;for(var r=[],i=t.filter(zn),o=0;o<i.length;o++){var a=i[o],s=i[o+1];if(20===a.type){var l=s&&Un(s)?s.number:1;r.push({counter:a.value,increment:l})}}return r}},_o={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(zn),i=0;i<r.length;i++){var o=r[i],a=r[i+1];if(Hn(o)&&"none"!==o.value){var s=a&&Un(a)?a.number:0;n.push({counter:o.value,reset:s})}}return n}},wo={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Rn).map((function(t){return lo.parse(e,t)}))}},xo={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;var r=[],i=t.filter(Qn);if(i.length%2!==0)return null;for(var o=0;o<i.length;o+=2){var a=i[o].value,s=i[o+1].value;r.push({open:a,close:s})}return r}},Co=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},So={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Kn(t[0],"none")?[]:Wn(t).map((function(t){for(var n={color:255,offsetX:Zn,offsetY:Zn,blur:Zn,spread:Zn,inset:!1},r=0,i=0;i<t.length;i++){var o=t[i];Kn(o,"inset")?n.inset=!0:Xn(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:2===r?n.blur=o:n.spread=o,r++):n.color=ur.parse(e,o)}return n}))}},ko={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[0,1,2],r=[];return t.filter(Hn).forEach((function(e){switch(e.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}})),n.forEach((function(e){-1===r.indexOf(e)&&r.push(e)})),r}},Eo={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Oo={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Rn(t)?t.number:0}},Bo=function(){function e(e,t){var n,r;this.animationDuration=Io(e,wo,t.animationDuration),this.backgroundClip=Io(e,_r,t.backgroundClip),this.backgroundColor=Io(e,wr,t.backgroundColor),this.backgroundImage=Io(e,qr,t.backgroundImage),this.backgroundOrigin=Io(e,Yr,t.backgroundOrigin),this.backgroundPosition=Io(e,Zr,t.backgroundPosition),this.backgroundRepeat=Io(e,Jr,t.backgroundRepeat),this.backgroundSize=Io(e,ti,t.backgroundSize),this.borderTopColor=Io(e,ii,t.borderTopColor),this.borderRightColor=Io(e,oi,t.borderRightColor),this.borderBottomColor=Io(e,ai,t.borderBottomColor),this.borderLeftColor=Io(e,si,t.borderLeftColor),this.borderTopLeftRadius=Io(e,ci,t.borderTopLeftRadius),this.borderTopRightRadius=Io(e,ui,t.borderTopRightRadius),this.borderBottomRightRadius=Io(e,di,t.borderBottomRightRadius),this.borderBottomLeftRadius=Io(e,hi,t.borderBottomLeftRadius),this.borderTopStyle=Io(e,pi,t.borderTopStyle),this.borderRightStyle=Io(e,Ai,t.borderRightStyle),this.borderBottomStyle=Io(e,gi,t.borderBottomStyle),this.borderLeftStyle=Io(e,mi,t.borderLeftStyle),this.borderTopWidth=Io(e,yi,t.borderTopWidth),this.borderRightWidth=Io(e,bi,t.borderRightWidth),this.borderBottomWidth=Io(e,_i,t.borderBottomWidth),this.borderLeftWidth=Io(e,wi,t.borderLeftWidth),this.boxShadow=Io(e,So,t.boxShadow),this.color=Io(e,xi,t.color),this.direction=Io(e,Ci,t.direction),this.display=Io(e,Si,t.display),this["float"]=Io(e,Ei,t.cssFloat),this.fontFamily=Io(e,fo,t.fontFamily),this.fontSize=Io(e,po,t.fontSize),this.fontStyle=Io(e,mo,t.fontStyle),this.fontVariant=Io(e,go,t.fontVariant),this.fontWeight=Io(e,Ao,t.fontWeight),this.letterSpacing=Io(e,Oi,t.letterSpacing),this.lineBreak=Io(e,Mi,t.lineBreak),this.lineHeight=Io(e,Ti,t.lineHeight),this.listStyleImage=Io(e,Li,t.listStyleImage),this.listStylePosition=Io(e,Di,t.listStylePosition),this.listStyleType=Io(e,Pi,t.listStyleType),this.marginTop=Io(e,ji,t.marginTop),this.marginRight=Io(e,Fi,t.marginRight),this.marginBottom=Io(e,Ri,t.marginBottom),this.marginLeft=Io(e,Ui,t.marginLeft),this.opacity=Io(e,co,t.opacity);var i=Io(e,Hi,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=Io(e,Qi,t.overflowWrap),this.paddingTop=Io(e,zi,t.paddingTop),this.paddingRight=Io(e,Vi,t.paddingRight),this.paddingBottom=Io(e,Wi,t.paddingBottom),this.paddingLeft=Io(e,Gi,t.paddingLeft),this.paintOrder=Io(e,ko,t.paintOrder),this.position=Io(e,qi,t.position),this.textAlign=Io(e,Xi,t.textAlign),this.textDecorationColor=Io(e,uo,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=Io(e,ho,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=Io(e,Yi,t.textShadow),this.textTransform=Io(e,Zi,t.textTransform),this.transform=Io(e,Ji,t.transform),this.transformOrigin=Io(e,io,t.transformOrigin),this.visibility=Io(e,oo,t.visibility),this.webkitTextStrokeColor=Io(e,Eo,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Io(e,Oo,t.webkitTextStrokeWidth),this.wordBreak=Io(e,ao,t.wordBreak),this.zIndex=Io(e,so,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return dr(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this["float"]},e.prototype.isInlineLevel=function(){return vo(this.display,4)||vo(this.display,33554432)||vo(this.display,268435456)||vo(this.display,536870912)||vo(this.display,67108864)||vo(this.display,134217728)},e}(),Mo=function(){function e(e,t){this.content=Io(e,yo,t.content),this.quotes=Io(e,xo,t.quotes)}return e}(),To=function(){function e(e,t){this.counterIncrement=Io(e,bo,t.counterIncrement),this.counterReset=Io(e,_o,t.counterReset)}return e}(),Io=function(e,t,n){var r=new jn,i=null!==n&&"undefined"!==typeof n?n.toString():t.initialValue;r.write(i);var o=new Fn(r.read());switch(t.type){case 2:var a=o.parseComponentValue();return t.parse(e,Hn(a)?a.value:t.initialValue);case 0:return t.parse(e,o.parseComponentValue());case 1:return t.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case"angle":return ar.parse(e,o.parseComponentValue());case"color":return ur.parse(e,o.parseComponentValue());case"image":return Vr.parse(e,o.parseComponentValue());case"length":var s=o.parseComponentValue();return Xn(s)?s:Zn;case"length-percentage":var l=o.parseComponentValue();return qn(l)?l:Zn;case"time":return lo.parse(e,o.parseComponentValue())}break}},Lo="data-html2canvas-debug",Do=function(e){var t=e.getAttribute(Lo);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Po=function(e,t){var n=Do(e);return 1===n||t===n},No=function(){function e(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Po(t,3),this.styles=new Bo(e,window.getComputedStyle(t,null)),Ms(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=s(this.context,t),Po(t,4)&&(this.flags|=16)}return e}(),jo="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Fo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ro="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Uo=0;Uo<Fo.length;Uo++)Ro[Fo.charCodeAt(Uo)]=Uo;for(var Ho=function(e){var t,n,r,i,o,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=Ro[e.charCodeAt(t)],r=Ro[e.charCodeAt(t+1)],i=Ro[e.charCodeAt(t+2)],o=Ro[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&o;return c},Qo=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},Ko=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},zo=5,Vo=11,Wo=2,Go=Vo-zo,Xo=65536>>zo,qo=1<<zo,Yo=qo-1,Zo=1024>>zo,Jo=Xo+Zo,$o=Jo,ea=32,ta=$o+ea,na=65536>>Vo,ra=1<<Go,ia=ra-1,oa=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},aa=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},sa=function(e,t){var n=Ho(e),r=Array.isArray(n)?Ko(n):new Uint32Array(n),i=Array.isArray(n)?Qo(n):new Uint16Array(n),o=24,a=oa(i,o/2,r[4]/2),s=2===r[5]?oa(i,(o+r[4])/2):aa(r,Math.ceil((o+r[4])/4));return new la(r[0],r[1],r[2],r[3],a,s)},la=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>zo],t=(t<<Wo)+(e&Yo),this.data[t];if(e<=65535)return t=this.index[Xo+(e-55296>>zo)],t=(t<<Wo)+(e&Yo),this.data[t];if(e<this.highStart)return t=ta-na+(e>>Vo),t=this.index[t],t+=e>>zo&ia,t=this.index[t],t=(t<<Wo)+(e&Yo),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),ca="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ua="undefined"===typeof Uint8Array?[]:new Uint8Array(256),da=0;da<ca.length;da++)ua[ca.charCodeAt(da)]=da;var ha,fa=1,pa=2,Aa=3,ga=4,ma=5,va=7,ya=8,ba=9,_a=10,wa=11,xa=12,Ca=13,Sa=14,ka=15,Ea=function(e){var t=[],n=0,r=e.length;while(n<r){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320===(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t},Oa=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";var r=[],i=-1,o="";while(++i<n){var a=e[i];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},Ba=sa(jo),Ma="\xd7",Ta="\xf7",Ia=function(e){return Ba.get(e)},La=function(e,t,n){var r=n-2,i=t[r],o=t[n-1],a=t[n];if(o===pa&&a===Aa)return Ma;if(o===pa||o===Aa||o===ga)return Ta;if(a===pa||a===Aa||a===ga)return Ta;if(o===ya&&-1!==[ya,ba,wa,xa].indexOf(a))return Ma;if((o===wa||o===ba)&&(a===ba||a===_a))return Ma;if((o===xa||o===_a)&&a===_a)return Ma;if(a===Ca||a===ma)return Ma;if(a===va)return Ma;if(o===fa)return Ma;if(o===Ca&&a===Sa){while(i===ma)i=t[--r];if(i===Sa)return Ma}if(o===ka&&a===ka){var s=0;while(i===ka)s++,i=t[--r];if(s%2===0)return Ma}return Ta},Da=function(e){var t=Ea(e),n=t.length,r=0,i=0,o=t.map(Ia);return{next:function(){if(r>=n)return{done:!0,value:null};var e=Ma;while(r<n&&(e=La(t,o,++r))===Ma);if(e!==Ma||r===n){var a=Oa.apply(null,t.slice(i,r));return i=r,{value:a,done:!1}}return{done:!0,value:null}}}},Pa=function(e){var t,n=Da(e),r=[];while(!(t=n.next()).done)t.value&&r.push(t.value.slice());return r},Na=function(e){var t=123;if(e.createRange){var n=e.createRange();if(n.getBoundingClientRect){var r=e.createElement("boundtest");r.style.height=t+"px",r.style.display="block",e.body.appendChild(r),n.selectNode(r);var i=n.getBoundingClientRect(),o=Math.round(i.height);if(e.body.removeChild(r),o===t)return!0}}return!1},ja=function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var n=e.createRange();t.innerHTML="function"===typeof"".repeat?"👨".repeat(10):"";var r=t.firstChild,i=c(r.data).map((function(e){return u(e)})),o=0,a={},s=i.every((function(e,t){n.setStart(r,o),n.setEnd(r,o+e.length);var i=n.getBoundingClientRect();o+=e.length;var s=i.x>a.x||i.y>a.y;return a=i,0===t||s}));return e.body.removeChild(t),s},Fa=function(){return"undefined"!==typeof(new Image).crossOrigin},Ra=function(){return"string"===typeof(new XMLHttpRequest).responseType},Ua=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch(Vt){return!1}return!0},Ha=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},Qa=function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var i=new Image,o=t.toDataURL();i.src=o;var a=Ka(n,n,0,0,i);return r.fillStyle="red",r.fillRect(0,0,n,n),za(a).then((function(t){r.drawImage(t,0,0);var i=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var a=e.createElement("div");return a.style.backgroundImage="url("+o+")",a.style.height=n+"px",Ha(i)?za(Ka(n,n,0,0,a)):Promise.reject(!1)})).then((function(e){return r.drawImage(e,0,0),Ha(r.getImageData(0,0,n,n).data)}))["catch"]((function(){return!1}))},Ka=function(e,t,n,r,i){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(i),a},za=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Va={get SUPPORT_RANGE_BOUNDS(){var e=Na(document);return Object.defineProperty(Va,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Va.SUPPORT_RANGE_BOUNDS&&ja(document);return Object.defineProperty(Va,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=Ua(document);return Object.defineProperty(Va,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"===typeof Array.from&&"function"===typeof window.fetch?Qa(document):Promise.resolve(!1);return Object.defineProperty(Va,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=Fa();return Object.defineProperty(Va,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=Ra();return Object.defineProperty(Va,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Va,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(Va,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Wa=function(){function e(e,t){this.text=e,this.bounds=t}return e}(),Ga=function(e,t,n,r){var i=Ja(t,n),o=[],s=0;return i.forEach((function(t){if(n.textDecorationLine.length||t.trim().length>0)if(Va.SUPPORT_RANGE_BOUNDS){var i=qa(r,s,t.length).getClientRects();if(i.length>1){var l=Ya(t),c=0;l.forEach((function(t){o.push(new Wa(t,a.fromDOMRectList(e,qa(r,c+s,t.length).getClientRects()))),c+=t.length}))}else o.push(new Wa(t,a.fromDOMRectList(e,i)))}else{var u=r.splitText(t.length);o.push(new Wa(t,Xa(e,r))),r=u}else Va.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));s+=t.length})),o},Xa=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var i=t.parentNode;if(i){i.replaceChild(r,t);var o=s(e,r);return r.firstChild&&i.replaceChild(r.firstChild,r),o}}return a.EMPTY},qa=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),i},Ya=function(e){if(Va.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map((function(e){return e.segment}))}return Pa(e)},Za=function(e,t){if(Va.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map((function(e){return e.segment}))}return es(e,t)},Ja=function(e,t){return 0!==t.letterSpacing?Ya(e):Za(e,t)},$a=[32,160,4961,65792,65793,4153,4241],es=function(e,t){var n,r=Ye(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),i=[],o=function(){if(n.value){var e=n.value.slice(),t=c(e),r="";t.forEach((function(e){-1===$a.indexOf(e)?r+=u(e):(r.length&&i.push(r),i.push(u(e)),r="")})),r.length&&i.push(r)}};while(!(n=r.next()).done)o();return i},ts=function(){function e(e,t,n){this.text=ns(t.data,n.textTransform),this.textBounds=Ga(e,this.text,n,t)}return e}(),ns=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(rs,is);case 2:return e.toUpperCase();default:return e}},rs=/(^|\s|:|-|\(|\))([a-z])/g,is=function(e,t,n){return e.length>0?t+n.toUpperCase():e},os=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return t(n,e),n}(No),as=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return t(n,e),n}(No),ss=function(e){function n(t,n){var r=e.call(this,t,n)||this,i=new XMLSerializer,o=s(t,n);return n.setAttribute("width",o.width+"px"),n.setAttribute("height",o.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(n,e),n}(No),ls=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(No),cs=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed="boolean"===typeof n.reversed&&!0===n.reversed,r}return t(n,e),n}(No),us=[{type:15,flags:0,unit:"px",number:3}],ds=[{type:16,flags:0,number:50}],hs=function(e){return e.width>e.height?new a(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new a(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},fs=function(e){var t=e.type===gs?new Array(e.value.length+1).join("\u2022"):e.value;return 0===t.length?e.placeholder||"":t},ps="checkbox",As="radio",gs="password",ms=707406591,vs=function(e){function n(t,n){var r=e.call(this,t,n)||this;switch(r.type=n.type.toLowerCase(),r.checked=n.checked,r.value=fs(n),r.type!==ps&&r.type!==As||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=hs(r.bounds)),r.type){case ps:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=us;break;case As:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=ds;break}return r}return t(n,e),n}(No),ys=function(e){function n(t,n){var r=e.call(this,t,n)||this,i=n.options[n.selectedIndex||0];return r.value=i&&i.text||"",r}return t(n,e),n}(No),bs=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(No),_s=function(e){function n(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=Ss(t,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?yr(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):br.TRANSPARENT,o=n.contentWindow.document.body?yr(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):br.TRANSPARENT;r.backgroundColor=dr(i)?dr(o)?r.styles.backgroundColor:o:i}}catch(Vt){}return r}return t(n,e),n}(No),ws=["OL","UL","MENU"],xs=function e(t,n,r,i){for(var o=n.firstChild,a=void 0;o;o=a)if(a=o.nextSibling,Os(o)&&o.data.trim().length>0)r.textNodes.push(new ts(t,o,r.styles));else if(Bs(o))if(Ws(o)&&o.assignedNodes)o.assignedNodes().forEach((function(n){return e(t,n,r,i)}));else{var s=Cs(t,o);s.styles.isVisible()&&(ks(o,s,i)?s.flags|=4:Es(s.styles)&&(s.flags|=2),-1!==ws.indexOf(o.tagName)&&(s.flags|=8),r.elements.push(s),o.slot,o.shadowRoot?e(t,o.shadowRoot,s,i):zs(o)||Ns(o)||Vs(o)||e(t,o,s,i))}},Cs=function(e,t){return Us(t)?new os(e,t):Fs(t)?new as(e,t):Ns(t)?new ss(e,t):Is(t)?new ls(e,t):Ls(t)?new cs(e,t):Ds(t)?new vs(e,t):Vs(t)?new ys(e,t):zs(t)?new bs(e,t):Hs(t)?new _s(e,t):new No(e,t)},Ss=function(e,t){var n=Cs(e,t);return n.flags|=4,xs(e,t,n,n),n},ks=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||js(e)&&n.styles.isTransparent()},Es=function(e){return e.isPositioned()||e.isFloating()},Os=function(e){return e.nodeType===Node.TEXT_NODE},Bs=function(e){return e.nodeType===Node.ELEMENT_NODE},Ms=function(e){return Bs(e)&&"undefined"!==typeof e.style&&!Ts(e)},Ts=function(e){return"object"===typeof e.className},Is=function(e){return"LI"===e.tagName},Ls=function(e){return"OL"===e.tagName},Ds=function(e){return"INPUT"===e.tagName},Ps=function(e){return"HTML"===e.tagName},Ns=function(e){return"svg"===e.tagName},js=function(e){return"BODY"===e.tagName},Fs=function(e){return"CANVAS"===e.tagName},Rs=function(e){return"VIDEO"===e.tagName},Us=function(e){return"IMG"===e.tagName},Hs=function(e){return"IFRAME"===e.tagName},Qs=function(e){return"STYLE"===e.tagName},Ks=function(e){return"SCRIPT"===e.tagName},zs=function(e){return"TEXTAREA"===e.tagName},Vs=function(e){return"SELECT"===e.tagName},Ws=function(e){return"SLOT"===e.tagName},Gs=function(e){return e.tagName.indexOf("-")>0},Xs=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,i=!0;null!==n&&n.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(i=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)}));var o=[];return i&&r.forEach((function(e){var n=t.counters[e.counter];o.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),o},e}(),qs={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"]},Ys={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"]},Zs={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"]},Js={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"]},$s=function(e,t,n,r,i,o){return e<t||e>n?hl(e,i,o.length>0):r.integers.reduce((function(t,n,i){while(e>=n)e-=n,t+=r.values[i];return t}),"")+o},el=function(e,t,n,r){var i="";do{n||e--,i=r(e)+i,e/=t}while(e*t>=t);return i},tl=function(e,t,n,r,i){var o=n-t+1;return(e<0?"-":"")+(el(Math.abs(e),o,r,(function(e){return u(Math.floor(e%o)+t)}))+i)},nl=function(e,t,n){void 0===n&&(n=". ");var r=t.length;return el(Math.abs(e),r,!1,(function(e){return t[Math.floor(e%r)]}))+n},rl=1,il=2,ol=4,al=8,sl=function(e,t,n,r,i,o){if(e<-9999||e>9999)return hl(e,4,i.length>0);var a=Math.abs(e),s=i;if(0===a)return t[0]+s;for(var l=0;a>0&&l<=4;l++){var c=a%10;0===c&&vo(o,rl)&&""!==s?s=t[c]+s:c>1||1===c&&0===l||1===c&&1===l&&vo(o,il)||1===c&&1===l&&vo(o,ol)&&e>100||1===c&&l>1&&vo(o,al)?s=t[c]+(l>0?n[l-1]:"")+s:1===c&&l>0&&(s=n[l-1]+s),a=Math.floor(a/10)}return(e<0?r:"")+s},ll="\u5341\u767e\u5343\u842c",cl="\u62fe\u4f70\u4edf\u842c",ul="\u30de\u30a4\u30ca\u30b9",dl="\ub9c8\uc774\ub108\uc2a4",hl=function(e,t,n){var r=n?". ":"",i=n?"\u3001":"",o=n?", ":"",a=n?" ":"";switch(t){case 0:return"\u2022"+a;case 1:return"\u25e6"+a;case 2:return"\u25fe"+a;case 5:var s=tl(e,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return nl(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",i);case 6:return $s(e,1,3999,qs,3,r).toLowerCase();case 7:return $s(e,1,3999,qs,3,r);case 8:return tl(e,945,969,!1,r);case 9:return tl(e,97,122,!1,r);case 10:return tl(e,65,90,!1,r);case 11:return tl(e,1632,1641,!0,r);case 12:case 49:return $s(e,1,9999,Ys,3,r);case 35:return $s(e,1,9999,Ys,3,r).toLowerCase();case 13:return tl(e,2534,2543,!0,r);case 14:case 30:return tl(e,6112,6121,!0,r);case 15:return nl(e,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",i);case 16:return nl(e,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",i);case 17:case 48:return sl(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",ll,"\u8ca0",i,il|ol|al);case 47:return sl(e,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396",cl,"\u8ca0",i,rl|il|ol|al);case 42:return sl(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",ll,"\u8d1f",i,il|ol|al);case 41:return sl(e,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396",cl,"\u8d1f",i,rl|il|ol|al);case 26:return sl(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07",ul,i,0);case 25:return sl(e,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07",ul,i,rl|il|ol);case 31:return sl(e,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",dl,o,rl|il|ol);case 33:return sl(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",dl,o,0);case 32:return sl(e,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",dl,o,rl|il|ol);case 18:return tl(e,2406,2415,!0,r);case 20:return $s(e,1,19999,Js,3,r);case 21:return tl(e,2790,2799,!0,r);case 22:return tl(e,2662,2671,!0,r);case 22:return $s(e,1,10999,Zs,3,r);case 23:return nl(e,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case 24:return nl(e,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case 27:return tl(e,3302,3311,!0,r);case 28:return nl(e,"\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",i);case 29:return nl(e,"\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",i);case 34:return tl(e,3792,3801,!0,r);case 37:return tl(e,6160,6169,!0,r);case 38:return tl(e,4160,4169,!0,r);case 39:return tl(e,2918,2927,!0,r);case 40:return tl(e,1776,1785,!0,r);case 43:return tl(e,3046,3055,!0,r);case 44:return tl(e,3174,3183,!0,r);case 45:return tl(e,3664,3673,!0,r);case 46:return tl(e,3872,3881,!0,r);case 3:default:return tl(e,48,57,!0,r)}},fl="data-html2canvas-ignore",pl=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new Xs,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,o=gl(e,t);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,l=o.contentWindow,c=l.document,u=yl(o).then((function(){return r(n,void 0,void 0,(function(){var e,n;return i(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(Cl),l&&(l.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===t.top&&l.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(l.scrollX-t.left,l.scrollY-t.top,0,0))),e=this.options.onclone,n=this.clonedReferenceElement,"undefined"===typeof n?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,vl(c)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"===typeof e?[2,Promise.resolve().then((function(){return e(c,n)})).then((function(){return o}))]:[2,o]}}))}))}));return c.open(),c.write(wl(document.doctype)+"<html></html>"),xl(this.referenceElement.ownerDocument,a,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},e.prototype.createElementClone=function(e){if(Po(e,2),Fs(e))return this.createCanvasClone(e);if(Rs(e))return this.createVideoClone(e);if(Qs(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Us(t)&&(Us(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Gs(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return _l(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"===typeof t.cssText?e+t.cssText:e}),""),r=e.cloneNode(!1);return r.textContent=n,r}}catch(Vt){if(this.context.logger.error("Unable to access cssRules property",Vt),"SecurityError"!==Vt.name)throw Vt}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch(Vt){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var i=e.getContext("2d"),o=r.getContext("2d");if(o)if(!this.options.allowTaint&&i)o.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var a=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(a){var s=a.getContextAttributes();!1===(null===s||void 0===s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}o.drawImage(e,0,0)}return r}catch(Vt){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(Vt){this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){Bs(t)&&(Ks(t)||t.hasAttribute(fl)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&Bs(t)&&Qs(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(Bs(i)&&Ws(i)&&"function"===typeof i.assignedNodes){var o=i.assignedNodes();o.length&&o.forEach((function(e){return r.appendChildNode(t,e,n)}))}else this.appendChildNode(t,i,n)},e.prototype.cloneNode=function(e,t){if(Os(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&Bs(e)&&(Ms(e)||Ts(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var i=n.getComputedStyle(e),o=n.getComputedStyle(e,":before"),a=n.getComputedStyle(e,":after");this.referenceElement===e&&Ms(r)&&(this.clonedReferenceElement=r),js(r)&&Ml(r);var s=this.counters.parse(new To(this.context,i)),l=this.resolvePseudoContent(e,r,o,ha.BEFORE);Gs(e)&&(t=!0),Rs(e)||this.cloneChildNodes(e,r,t),l&&r.insertBefore(l,r.firstChild);var c=this.resolvePseudoContent(e,r,a,ha.AFTER);return c&&r.appendChild(c),this.counters.pop(s),(i&&(this.options.copyStyles||Ts(e))&&!Hs(e)||t)&&_l(i,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(zs(e)||Vs(e))&&(zs(r)||Vs(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var i=this;if(n){var o=n.content,a=t.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==n.display){this.counters.parse(new To(this.context,n));var s=new Mo(this.context,n),l=a.createElement("html2canvaspseudoelement");_l(n,l),s.content.forEach((function(t){if(0===t.type)l.appendChild(a.createTextNode(t.value));else if(22===t.type){var n=a.createElement("img");n.src=t.value,n.style.opacity="1",l.appendChild(n)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(Hn);r.length&&l.appendChild(a.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var o=t.values.filter(Vn),c=o[0],u=o[1];if(c&&Hn(c)){var d=i.counters.getCounterValue(c.value),h=u&&Hn(u)?Pi.parse(i.context,u.value):3;l.appendChild(a.createTextNode(hl(d,h,!1)))}}else if("counters"===t.name){var f=t.values.filter(Vn),p=(c=f[0],f[1]);u=f[2];if(c&&Hn(c)){var A=i.counters.getCounterValues(c.value),g=u&&Hn(u)?Pi.parse(i.context,u.value):3,m=p&&0===p.type?p.value:"",v=A.map((function(e){return hl(e,g,!1)})).join(m);l.appendChild(a.createTextNode(v))}}}else if(20===t.type)switch(t.value){case"open-quote":l.appendChild(a.createTextNode(Co(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(a.createTextNode(Co(s.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(a.createTextNode(t.value))}})),l.className=El+" "+Ol;var c=r===ha.BEFORE?" "+El:" "+Ol;return Ts(t)?t.className.baseValue+=c:t.className+=c,l}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();(function(e){e[e["BEFORE"]=0]="BEFORE",e[e["AFTER"]=1]="AFTER"})(ha||(ha={}));var Al,gl=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(fl,"true"),e.body.appendChild(n),n},ml=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},vl=function(e){return Promise.all([].slice.call(e.images,0).map(ml))},yl=function(e){return new Promise((function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var i=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(n),t(e))}),50)}}))},bl=["all","d","content"],_l=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===bl.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},wl=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},xl=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},Cl=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},Sl=":before",kl=":after",El="___html2canvas___pseudoelement_before",Ol="___html2canvas___pseudoelement_after",Bl='{\n content: "" !important;\n display: none !important;\n}',Ml=function(e){Tl(e,"."+El+Sl+Bl+"\n ."+Ol+kl+Bl)},Tl=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}},Il=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),Ll=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:Ul(e)||jl(e)?((this._cache[e]=this.loadImage(e))["catch"]((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,o,a=this;return i(this,(function(i){switch(i.label){case 0:return t=Il.isSameOrigin(e),n=!Fl(e)&&!0===this._options.useCORS&&Va.SUPPORT_CORS_IMAGES&&!t,r=!Fl(e)&&!t&&!Ul(e)&&"string"===typeof this._options.proxy&&Va.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||Fl(e)||Ul(e)||r||n?(o=e,r?[4,this.proxy(o)]:[3,2]):[2];case 1:o=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(Rl(o)||n)&&(r.crossOrigin="anonymous"),r.src=o,!0===r.complete&&setTimeout((function(){return e(r)}),500),a._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")}),a._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},e.prototype.has=function(e){return"undefined"!==typeof this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise((function(i,o){var a=Va.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===a)i(s.response);else{var e=new FileReader;e.addEventListener("load",(function(){return i(e.result)}),!1),e.addEventListener("error",(function(e){return o(e)}),!1),e.readAsDataURL(s.response)}else o("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=o;var l=n.indexOf("?")>-1?"&":"?";if(s.open("GET",""+n+l+"url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var c=t._options.imageTimeout;s.timeout=c,s.ontimeout=function(){return o("Timed out ("+c+"ms) proxying "+r)}}s.send()}))},e}(),Dl=/^data:image\/svg\+xml/i,Pl=/^data:image\/.*;base64,/i,Nl=/^data:image\/.*/i,jl=function(e){return Va.SUPPORT_SVG_DRAWING||!Hl(e)},Fl=function(e){return Nl.test(e)},Rl=function(e){return Pl.test(e)},Ul=function(e){return"blob"===e.substr(0,4)},Hl=function(e){return"svg"===e.substr(-3).toLowerCase()||Dl.test(e)},Ql=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),Kl=function(e,t,n){return new Ql(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},zl=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=Kl(this.start,this.startControl,t),i=Kl(this.startControl,this.endControl,t),o=Kl(this.endControl,this.end,t),a=Kl(r,i,t),s=Kl(i,o,t),l=Kl(a,s,t);return n?new e(this.start,r,a,l):new e(l,s,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Vl=function(e){return 1===e.type},Wl=function(){function e(e){var t=e.styles,n=e.bounds,r=er(t.borderTopLeftRadius,n.width,n.height),i=r[0],o=r[1],a=er(t.borderTopRightRadius,n.width,n.height),s=a[0],l=a[1],c=er(t.borderBottomRightRadius,n.width,n.height),u=c[0],d=c[1],h=er(t.borderBottomLeftRadius,n.width,n.height),f=h[0],p=h[1],A=[];A.push((i+s)/n.width),A.push((f+u)/n.width),A.push((o+p)/n.height),A.push((l+d)/n.height);var g=Math.max.apply(Math,A);g>1&&(i/=g,o/=g,s/=g,l/=g,u/=g,d/=g,f/=g,p/=g);var m=n.width-s,v=n.height-d,y=n.width-u,b=n.height-p,_=t.borderTopWidth,w=t.borderRightWidth,x=t.borderBottomWidth,C=t.borderLeftWidth,S=tr(t.paddingTop,e.bounds.width),k=tr(t.paddingRight,e.bounds.width),E=tr(t.paddingBottom,e.bounds.width),O=tr(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||o>0?Gl(n.left+C/3,n.top+_/3,i-C/3,o-_/3,Al.TOP_LEFT):new Ql(n.left+C/3,n.top+_/3),this.topRightBorderDoubleOuterBox=i>0||o>0?Gl(n.left+m,n.top+_/3,s-w/3,l-_/3,Al.TOP_RIGHT):new Ql(n.left+n.width-w/3,n.top+_/3),this.bottomRightBorderDoubleOuterBox=u>0||d>0?Gl(n.left+y,n.top+v,u-w/3,d-x/3,Al.BOTTOM_RIGHT):new Ql(n.left+n.width-w/3,n.top+n.height-x/3),this.bottomLeftBorderDoubleOuterBox=f>0||p>0?Gl(n.left+C/3,n.top+b,f-C/3,p-x/3,Al.BOTTOM_LEFT):new Ql(n.left+C/3,n.top+n.height-x/3),this.topLeftBorderDoubleInnerBox=i>0||o>0?Gl(n.left+2*C/3,n.top+2*_/3,i-2*C/3,o-2*_/3,Al.TOP_LEFT):new Ql(n.left+2*C/3,n.top+2*_/3),this.topRightBorderDoubleInnerBox=i>0||o>0?Gl(n.left+m,n.top+2*_/3,s-2*w/3,l-2*_/3,Al.TOP_RIGHT):new Ql(n.left+n.width-2*w/3,n.top+2*_/3),this.bottomRightBorderDoubleInnerBox=u>0||d>0?Gl(n.left+y,n.top+v,u-2*w/3,d-2*x/3,Al.BOTTOM_RIGHT):new Ql(n.left+n.width-2*w/3,n.top+n.height-2*x/3),this.bottomLeftBorderDoubleInnerBox=f>0||p>0?Gl(n.left+2*C/3,n.top+b,f-2*C/3,p-2*x/3,Al.BOTTOM_LEFT):new Ql(n.left+2*C/3,n.top+n.height-2*x/3),this.topLeftBorderStroke=i>0||o>0?Gl(n.left+C/2,n.top+_/2,i-C/2,o-_/2,Al.TOP_LEFT):new Ql(n.left+C/2,n.top+_/2),this.topRightBorderStroke=i>0||o>0?Gl(n.left+m,n.top+_/2,s-w/2,l-_/2,Al.TOP_RIGHT):new Ql(n.left+n.width-w/2,n.top+_/2),this.bottomRightBorderStroke=u>0||d>0?Gl(n.left+y,n.top+v,u-w/2,d-x/2,Al.BOTTOM_RIGHT):new Ql(n.left+n.width-w/2,n.top+n.height-x/2),this.bottomLeftBorderStroke=f>0||p>0?Gl(n.left+C/2,n.top+b,f-C/2,p-x/2,Al.BOTTOM_LEFT):new Ql(n.left+C/2,n.top+n.height-x/2),this.topLeftBorderBox=i>0||o>0?Gl(n.left,n.top,i,o,Al.TOP_LEFT):new Ql(n.left,n.top),this.topRightBorderBox=s>0||l>0?Gl(n.left+m,n.top,s,l,Al.TOP_RIGHT):new Ql(n.left+n.width,n.top),this.bottomRightBorderBox=u>0||d>0?Gl(n.left+y,n.top+v,u,d,Al.BOTTOM_RIGHT):new Ql(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=f>0||p>0?Gl(n.left,n.top+b,f,p,Al.BOTTOM_LEFT):new Ql(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||o>0?Gl(n.left+C,n.top+_,Math.max(0,i-C),Math.max(0,o-_),Al.TOP_LEFT):new Ql(n.left+C,n.top+_),this.topRightPaddingBox=s>0||l>0?Gl(n.left+Math.min(m,n.width-w),n.top+_,m>n.width+w?0:Math.max(0,s-w),Math.max(0,l-_),Al.TOP_RIGHT):new Ql(n.left+n.width-w,n.top+_),this.bottomRightPaddingBox=u>0||d>0?Gl(n.left+Math.min(y,n.width-C),n.top+Math.min(v,n.height-x),Math.max(0,u-w),Math.max(0,d-x),Al.BOTTOM_RIGHT):new Ql(n.left+n.width-w,n.top+n.height-x),this.bottomLeftPaddingBox=f>0||p>0?Gl(n.left+C,n.top+Math.min(b,n.height-x),Math.max(0,f-C),Math.max(0,p-x),Al.BOTTOM_LEFT):new Ql(n.left+C,n.top+n.height-x),this.topLeftContentBox=i>0||o>0?Gl(n.left+C+O,n.top+_+S,Math.max(0,i-(C+O)),Math.max(0,o-(_+S)),Al.TOP_LEFT):new Ql(n.left+C+O,n.top+_+S),this.topRightContentBox=s>0||l>0?Gl(n.left+Math.min(m,n.width+C+O),n.top+_+S,m>n.width+C+O?0:s-C+O,l-(_+S),Al.TOP_RIGHT):new Ql(n.left+n.width-(w+k),n.top+_+S),this.bottomRightContentBox=u>0||d>0?Gl(n.left+Math.min(y,n.width-(C+O)),n.top+Math.min(v,n.height+_+S),Math.max(0,u-(w+k)),d-(x+E),Al.BOTTOM_RIGHT):new Ql(n.left+n.width-(w+k),n.top+n.height-(x+E)),this.bottomLeftContentBox=f>0||p>0?Gl(n.left+C+O,n.top+b,Math.max(0,f-(C+O)),p-(x+E),Al.BOTTOM_LEFT):new Ql(n.left+C+O,n.top+n.height-(x+E))}return e}();(function(e){e[e["TOP_LEFT"]=0]="TOP_LEFT",e[e["TOP_RIGHT"]=1]="TOP_RIGHT",e[e["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",e[e["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(Al||(Al={}));var Gl=function(e,t,n,r,i){var o=(Math.sqrt(2)-1)/3*4,a=n*o,s=r*o,l=e+n,c=t+r;switch(i){case Al.TOP_LEFT:return new zl(new Ql(e,c),new Ql(e,c-s),new Ql(l-a,t),new Ql(l,t));case Al.TOP_RIGHT:return new zl(new Ql(e,t),new Ql(e+a,t),new Ql(l,c-s),new Ql(l,c));case Al.BOTTOM_RIGHT:return new zl(new Ql(l,t),new Ql(l,t+s),new Ql(e+a,c),new Ql(e,c));case Al.BOTTOM_LEFT:default:return new zl(new Ql(l,c),new Ql(l-a,c),new Ql(e,t+s),new Ql(e,t))}},Xl=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},ql=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},Yl=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Zl=function(){function e(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6}return e}(),Jl=function(){function e(e,t){this.path=e,this.target=t,this.type=1}return e}(),$l=function(){function e(e){this.opacity=e,this.type=2,this.target=6}return e}(),ec=function(e){return 0===e.type},tc=function(e){return 1===e.type},nc=function(e){return 2===e.type},rc=function(e,t){return e.length===t.length&&e.some((function(e,n){return e===t[n]}))},ic=function(e,t,n,r,i){return e.map((function(e,o){switch(o){case 0:return e.add(t,n);case 1:return e.add(t+r,n);case 2:return e.add(t+r,n+i);case 3:return e.add(t,n+i)}return e}))},oc=function(){function e(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),ac=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new Wl(this.container),this.container.styles.opacity<1&&this.effects.push(new $l(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new Zl(n,r,i))}if(0!==this.container.styles.overflowX){var o=Xl(this.curves),a=Yl(this.curves);rc(o,a)?this.effects.push(new Jl(o,6)):(this.effects.push(new Jl(o,2)),this.effects.push(new Jl(a,4)))}}return e.prototype.getEffects=function(e){var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);while(n){var i=n.effects.filter((function(e){return!tc(e)}));if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,i),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var o=Xl(n.curves),a=Yl(n.curves);rc(o,a)||r.unshift(new Jl(a,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter((function(t){return vo(t.target,e)}))},e}(),sc=function e(t,n,r,i){t.container.elements.forEach((function(o){var a=vo(o.flags,4),s=vo(o.flags,2),l=new ac(o,t);vo(o.styles.display,2048)&&i.push(l);var c=vo(o.flags,8)?[]:i;if(a||s){var u=a||o.styles.isPositioned()?r:n,d=new oc(l);if(o.styles.isPositioned()||o.styles.opacity<1||o.styles.isTransformed()){var h=o.styles.zIndex.order;if(h<0){var f=0;u.negativeZIndex.some((function(e,t){return h>e.element.container.styles.zIndex.order?(f=t,!1):f>0})),u.negativeZIndex.splice(f,0,d)}else if(h>0){var p=0;u.positiveZIndex.some((function(e,t){return h>=e.element.container.styles.zIndex.order?(p=t+1,!1):p>0})),u.positiveZIndex.splice(p,0,d)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(d)}else o.styles.isFloating()?u.nonPositionedFloats.push(d):u.nonPositionedInlineLevel.push(d);e(l,d,a?d:r,c)}else o.styles.isInlineLevel()?n.inlineLevel.push(l):n.nonInlineLevel.push(l),e(l,n,r,c);vo(o.flags,8)&&lc(o,c)}))},lc=function(e,t){for(var n=e instanceof cs?e.start:1,r=e instanceof cs&&e.reversed,i=0;i<t.length;i++){var o=t[i];o.container instanceof ls&&"number"===typeof o.container.value&&0!==o.container.value&&(n=o.container.value),o.listValue=hl(n,o.container.styles.listStyleType,!0),n+=r?-1:1}},cc=function(e){var t=new ac(e,null),n=new oc(t),r=[];return sc(t,n,n,r),lc(t.container,r),n},uc=function(e,t){switch(t){case 0:return Ac(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Ac(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Ac(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return Ac(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},dc=function(e,t){switch(t){case 0:return Ac(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return Ac(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return Ac(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);case 3:default:return Ac(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},hc=function(e,t){switch(t){case 0:return Ac(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return Ac(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return Ac(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);case 3:default:return Ac(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},fc=function(e,t){switch(t){case 0:return pc(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return pc(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return pc(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return pc(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},pc=function(e,t){var n=[];return Vl(e)?n.push(e.subdivide(.5,!1)):n.push(e),Vl(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},Ac=function(e,t,n,r){var i=[];return Vl(e)?i.push(e.subdivide(.5,!1)):i.push(e),Vl(n)?i.push(n.subdivide(.5,!0)):i.push(n),Vl(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),Vl(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},gc=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},mc=function(e){var t=e.styles,n=e.bounds,r=tr(t.paddingLeft,n.width),i=tr(t.paddingRight,n.width),o=tr(t.paddingTop,n.width),a=tr(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+o+a))},vc=function(e,t){return 0===e?t.bounds:2===e?mc(t):gc(t)},yc=function(e,t){return 0===e?t.bounds:2===e?mc(t):gc(t)},bc=function(e,t,n){var r=vc(Cc(e.styles.backgroundOrigin,t),e),i=yc(Cc(e.styles.backgroundClip,t),e),o=xc(Cc(e.styles.backgroundSize,t),n,r),a=o[0],s=o[1],l=er(Cc(e.styles.backgroundPosition,t),r.width-a,r.height-s),c=Sc(Cc(e.styles.backgroundRepeat,t),l,o,r,i),u=Math.round(r.left+l[0]),d=Math.round(r.top+l[1]);return[c,u,d,a,s]},_c=function(e){return Hn(e)&&e.value===Gr.AUTO},wc=function(e){return"number"===typeof e},xc=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=e[0],s=e[1];if(!a)return[0,0];if(qn(a)&&s&&qn(s))return[tr(a,n.width),tr(s,n.height)];var l=wc(o);if(Hn(a)&&(a.value===Gr.CONTAIN||a.value===Gr.COVER)){if(wc(o)){var c=n.width/n.height;return c<o!==(a.value===Gr.COVER)?[n.width,n.width/o]:[n.height*o,n.height]}return[n.width,n.height]}var u=wc(r),d=wc(i),h=u||d;if(_c(a)&&(!s||_c(s))){if(u&&d)return[r,i];if(!l&&!h)return[n.width,n.height];if(h&&l){var f=u?r:i*o,p=d?i:r/o;return[f,p]}var A=u?r:n.width,g=d?i:n.height;return[A,g]}if(l){var m=0,v=0;return qn(a)?m=tr(a,n.width):qn(s)&&(v=tr(s,n.height)),_c(a)?m=v*o:s&&!_c(s)||(v=m/o),[m,v]}var y=null,b=null;if(qn(a)?y=tr(a,n.width):s&&qn(s)&&(b=tr(s,n.height)),null===y||s&&!_c(s)||(b=u&&d?y/r*i:n.height),null!==b&&_c(a)&&(y=u&&d?b/i*r:n.width),null!==y&&null!==b)return[y,b];throw new Error("Unable to calculate background-size for element")},Cc=function(e,t){var n=e[t];return"undefined"===typeof n?e[0]:n},Sc=function(e,t,n,r,i){var o=t[0],a=t[1],s=n[0],l=n[1];switch(e){case 2:return[new Ql(Math.round(r.left),Math.round(r.top+a)),new Ql(Math.round(r.left+r.width),Math.round(r.top+a)),new Ql(Math.round(r.left+r.width),Math.round(l+r.top+a)),new Ql(Math.round(r.left),Math.round(l+r.top+a))];case 3:return[new Ql(Math.round(r.left+o),Math.round(r.top)),new Ql(Math.round(r.left+o+s),Math.round(r.top)),new Ql(Math.round(r.left+o+s),Math.round(r.height+r.top)),new Ql(Math.round(r.left+o),Math.round(r.height+r.top))];case 1:return[new Ql(Math.round(r.left+o),Math.round(r.top+a)),new Ql(Math.round(r.left+o+s),Math.round(r.top+a)),new Ql(Math.round(r.left+o+s),Math.round(r.top+a+l)),new Ql(Math.round(r.left+o),Math.round(r.top+a+l))];default:return[new Ql(Math.round(i.left),Math.round(i.top)),new Ql(Math.round(i.left+i.width),Math.round(i.top)),new Ql(Math.round(i.left+i.width),Math.round(i.height+i.top)),new Ql(Math.round(i.left),Math.round(i.height+i.top))]}},kc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Ec="Hidden Text",Oc=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),o=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",o.appendChild(n),r.src=kc,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Ec)),n.appendChild(i),n.appendChild(r);var a=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(Ec)),n.style.lineHeight="normal",r.style.verticalAlign="super";var s=r.offsetTop-n.offsetTop+2;return o.removeChild(n),{baseline:a,middle:s}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return"undefined"===typeof this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),Bc=function(){function e(e,t){this.context=e,this.options=t}return e}(),Mc=1e4,Tc=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new Oc(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return t(n,e),n.prototype.applyEffects=function(e){var t=this;while(this._activeEffects.length)this.popEffect();e.forEach((function(e){return t.applyEffect(e)}))},n.prototype.applyEffect=function(e){this.ctx.save(),nc(e)&&(this.ctx.globalAlpha=e.opacity),ec(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),tc(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(e){return r(this,void 0,void 0,(function(){var t;return i(this,(function(n){switch(n.label){case 0:return t=e.element.container.styles,t.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))},n.prototype.renderNode=function(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return vo(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},n.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;if(0===t)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n);else{var i=Ya(e.text);i.reduce((function(t,i){return r.ctx.fillText(i,t,e.bounds.top+n),t+r.ctx.measureText(i).width}),e.bounds.left)}},n.prototype.createFontStyle=function(e){var t=e.fontVariant.filter((function(e){return"normal"===e||"small-caps"===e})).join(""),n=Nc(e.fontFamily).join(", "),r=Rn(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,r,n].join(" "),n,r]},n.prototype.renderTextNode=function(e,t){return r(this,void 0,void 0,(function(){var n,r,o,a,s,l,c,u,d=this;return i(this,(function(i){return n=this.createFontStyle(t),r=n[0],o=n[1],a=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(o,a),l=s.baseline,c=s.middle,u=t.paintOrder,e.textBounds.forEach((function(e){u.forEach((function(n){switch(n){case 0:d.ctx.fillStyle=hr(t.color),d.renderTextWithLetterSpacing(e,t.letterSpacing,l);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach((function(n){d.ctx.shadowColor=hr(n.color),d.ctx.shadowOffsetX=n.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=n.offsetY.number*d.options.scale,d.ctx.shadowBlur=n.blur.number,d.renderTextWithLetterSpacing(e,t.letterSpacing,l)})),d.ctx.shadowColor="",d.ctx.shadowOffsetX=0,d.ctx.shadowOffsetY=0,d.ctx.shadowBlur=0),t.textDecorationLine.length&&(d.ctx.fillStyle=hr(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+l),e.bounds.width,1);break;case 2:d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:d.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+c),e.bounds.width,1);break}})));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(d.ctx.strokeStyle=hr(t.webkitTextStrokeColor),d.ctx.lineWidth=t.webkitTextStrokeWidth,d.ctx.lineJoin=window.chrome?"miter":"round",d.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+l)),d.ctx.strokeStyle="",d.ctx.lineWidth=0,d.ctx.lineJoin="miter";break}}))})),[2]}))}))},n.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=mc(e),i=Yl(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,(function(){var t,r,o,s,l,c,u,d,h,f,p,A,g,m,v,y,b,_,w;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,r=e.curves,o=t.styles,s=0,l=t.textNodes,i.label=1;case 1:return s<l.length?(c=l[s],[4,this.renderTextNode(c,o)]):[3,4];case 2:i.sent(),i.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof os))return[3,8];i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return y=i.sent(),this.renderReplacedElement(t,r,y),[3,8];case 7:return i.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof as&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof ss))return[3,12];i.label=9;case 9:return i.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return y=i.sent(),this.renderReplacedElement(t,r,y),[3,12];case 11:return i.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof _s&&t.tree?(u=new n(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}),[4,u.render(t.tree)]):[3,14];case 13:d=i.sent(),t.width&&t.height&&this.ctx.drawImage(d,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),i.label=14;case 14:if(t instanceof vs&&(h=Math.min(t.bounds.width,t.bounds.height),t.type===ps?t.checked&&(this.ctx.save(),this.path([new Ql(t.bounds.left+.39363*h,t.bounds.top+.79*h),new Ql(t.bounds.left+.16*h,t.bounds.top+.5549*h),new Ql(t.bounds.left+.27347*h,t.bounds.top+.44071*h),new Ql(t.bounds.left+.39694*h,t.bounds.top+.5649*h),new Ql(t.bounds.left+.72983*h,t.bounds.top+.23*h),new Ql(t.bounds.left+.84*h,t.bounds.top+.34085*h),new Ql(t.bounds.left+.39363*h,t.bounds.top+.79*h)]),this.ctx.fillStyle=hr(ms),this.ctx.fill(),this.ctx.restore()):t.type===As&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+h/2,t.bounds.top+h/2,h/4,0,2*Math.PI,!0),this.ctx.fillStyle=hr(ms),this.ctx.fill(),this.ctx.restore())),Ic(t)&&t.value.length){switch(f=this.createFontStyle(o),_=f[0],p=f[1],A=this.fontMetrics.getMetrics(_,p).baseline,this.ctx.font=_,this.ctx.fillStyle=hr(o.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Dc(t.styles.textAlign),w=mc(t),g=0,t.styles.textAlign){case 1:g+=w.width/2;break;case 2:g+=w.width;break}m=w.add(g,0,0,-w.height/2+1),this.ctx.save(),this.path([new Ql(w.left,w.top),new Ql(w.left+w.width,w.top),new Ql(w.left+w.width,w.top+w.height),new Ql(w.left,w.top+w.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Wa(t.value,m),o.letterSpacing,A),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!vo(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(v=t.styles.listStyleImage,0!==v.type)return[3,18];y=void 0,b=v.url,i.label=15;case 15:return i.trys.push([15,17,,18]),[4,this.context.cache.match(b)];case 16:return y=i.sent(),this.ctx.drawImage(y,t.bounds.left-(y.width+10),t.bounds.top),[3,18];case 17:return i.sent(),this.context.logger.error("Error loading list-style-image "+b),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==t.styles.listStyleType&&(_=this.createFontStyle(o)[0],this.ctx.font=_,this.ctx.fillStyle=hr(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",w=new a(t.bounds.left,t.bounds.top+tr(t.styles.paddingTop,t.bounds.width),t.bounds.width,Ii(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Wa(e.listValue,w),o.letterSpacing,Ii(o.lineHeight,o.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),i.label=20;case 20:return[2]}}))}))},n.prototype.renderStackContent=function(e){return r(this,void 0,void 0,(function(){var t,n,r,o,a,s,l,c,u,d,h,f,p,A,g;return i(this,(function(i){switch(i.label){case 0:return vo(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:i.sent(),t=0,n=e.negativeZIndex,i.label=2;case 2:return t<n.length?(g=n[t],[4,this.renderStack(g)]):[3,5];case 3:i.sent(),i.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:i.sent(),r=0,o=e.nonInlineLevel,i.label=7;case 7:return r<o.length?(g=o[r],[4,this.renderNode(g)]):[3,10];case 8:i.sent(),i.label=9;case 9:return r++,[3,7];case 10:a=0,s=e.nonPositionedFloats,i.label=11;case 11:return a<s.length?(g=s[a],[4,this.renderStack(g)]):[3,14];case 12:i.sent(),i.label=13;case 13:return a++,[3,11];case 14:l=0,c=e.nonPositionedInlineLevel,i.label=15;case 15:return l<c.length?(g=c[l],[4,this.renderStack(g)]):[3,18];case 16:i.sent(),i.label=17;case 17:return l++,[3,15];case 18:u=0,d=e.inlineLevel,i.label=19;case 19:return u<d.length?(g=d[u],[4,this.renderNode(g)]):[3,22];case 20:i.sent(),i.label=21;case 21:return u++,[3,19];case 22:h=0,f=e.zeroOrAutoZIndexOrTransformedOrOpacity,i.label=23;case 23:return h<f.length?(g=f[h],[4,this.renderStack(g)]):[3,26];case 24:i.sent(),i.label=25;case 25:return h++,[3,23];case 26:p=0,A=e.positiveZIndex,i.label=27;case 27:return p<A.length?(g=A[p],[4,this.renderStack(g)]):[3,30];case 28:i.sent(),i.label=29;case 29:return p++,[3,27];case 30:return[2]}}))}))},n.prototype.mask=function(e){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(e.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},n.prototype.formatPath=function(e){var t=this;e.forEach((function(e,n){var r=Vl(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),Vl(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)}))},n.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},n.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var i=null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document,o=i.createElement("canvas");o.width=Math.max(1,t),o.height=Math.max(1,n);var a=o.getContext("2d");return a.drawImage(e,0,0,e.width,e.height,0,0,t,n),o},n.prototype.renderBackgroundImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,o,a,s;return i(this,(function(l){switch(l.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var o,a,s,l,c,u,d,h,f,p,A,g,m,v,y,b,_,w,x,C,S,k,E,O,B,M,T,I,L,D,P;return i(this,(function(i){switch(i.label){case 0:if(0!==n.type)return[3,5];o=void 0,a=n.url,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,r.context.cache.match(a)];case 2:return o=i.sent(),[3,4];case 3:return i.sent(),r.context.logger.error("Error loading background-image "+a),[3,4];case 4:return o&&(s=bc(e,t,[o.width,o.height,o.width/o.height]),b=s[0],k=s[1],E=s[2],x=s[3],C=s[4],v=r.ctx.createPattern(r.resizeImage(o,x,C),"repeat"),r.renderRepeat(b,v,k,E)),[3,6];case 5:Kr(n)?(l=bc(e,t,[null,null,null]),b=l[0],k=l[1],E=l[2],x=l[3],C=l[4],c=kr(n.angle,x,C),u=c[0],d=c[1],h=c[2],f=c[3],p=c[4],A=document.createElement("canvas"),A.width=x,A.height=C,g=A.getContext("2d"),m=g.createLinearGradient(d,f,h,p),Cr(n.stops,u).forEach((function(e){return m.addColorStop(e.stop,hr(e.color))})),g.fillStyle=m,g.fillRect(0,0,x,C),x>0&&C>0&&(v=r.ctx.createPattern(A,"repeat"),r.renderRepeat(b,v,k,E))):zr(n)&&(y=bc(e,t,[null,null,null]),b=y[0],_=y[1],w=y[2],x=y[3],C=y[4],S=0===n.position.length?[Jn]:n.position,k=tr(S[0],x),E=tr(S[S.length-1],C),O=Br(n,k,E,x,C),B=O[0],M=O[1],B>0&&M>0&&(T=r.ctx.createRadialGradient(_+k,w+E,0,_+k,w+E,B),Cr(n.stops,2*B).forEach((function(e){return T.addColorStop(e.stop,hr(e.color))})),r.path(b),r.ctx.fillStyle=T,B!==M?(I=e.bounds.left+.5*e.bounds.width,L=e.bounds.top+.5*e.bounds.height,D=M/B,P=1/D,r.ctx.save(),r.ctx.translate(I,L),r.ctx.transform(1,0,0,D,0,0),r.ctx.translate(-I,-L),r.ctx.fillRect(_,P*(w-L)+L,x,C*P),r.ctx.restore()):r.ctx.fill())),i.label=6;case 6:return t--,[2]}}))},r=this,o=0,a=e.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return o<a.length?(s=a[o],[5,n(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return o++,[3,1];case 4:return[2]}}))}))},n.prototype.renderSolidBorder=function(e,t,n){return r(this,void 0,void 0,(function(){return i(this,(function(r){return this.path(uc(n,t)),this.ctx.fillStyle=hr(e),this.ctx.fill(),[2]}))}))},n.prototype.renderDoubleBorder=function(e,t,n,o){return r(this,void 0,void 0,(function(){var r,a;return i(this,(function(i){switch(i.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,o)]:[3,2];case 1:return i.sent(),[2];case 2:return r=dc(o,n),this.path(r),this.ctx.fillStyle=hr(e),this.ctx.fill(),a=hc(o,n),this.path(a),this.ctx.fill(),[2]}}))}))},n.prototype.renderNodeBackgroundAndBorders=function(e){return r(this,void 0,void 0,(function(){var t,n,r,o,a,s,l,c,u=this;return i(this,(function(i){switch(i.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!dr(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],o=Lc(Cc(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(o),this.ctx.clip(),dr(t.backgroundColor)||(this.ctx.fillStyle=hr(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:i.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){u.ctx.save();var n=Xl(e.curves),r=t.inset?0:Mc,i=ic(n,-r+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(u.path(n),u.ctx.clip(),u.mask(i)):(u.mask(n),u.ctx.clip(),u.path(i)),u.ctx.shadowOffsetX=t.offsetX.number+r,u.ctx.shadowOffsetY=t.offsetY.number,u.ctx.shadowColor=hr(t.color),u.ctx.shadowBlur=t.blur.number,u.ctx.fillStyle=t.inset?hr(t.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()})),i.label=2;case 2:a=0,s=0,l=r,i.label=3;case 3:return s<l.length?(c=l[s],0!==c.style&&!dr(c.color)&&c.width>0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,2)]:[3,11]):[3,13];case 4:return i.sent(),[3,11];case 5:return 3!==c.style?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,3)];case 6:return i.sent(),[3,11];case 7:return 4!==c.style?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,a,e.curves)];case 8:return i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,a,e.curves)];case 10:i.sent(),i.label=11;case 11:a++,i.label=12;case 12:return s++,[3,3];case 13:return[2]}}))}))},n.prototype.renderDashedDottedBorder=function(e,t,n,o,a){return r(this,void 0,void 0,(function(){var r,s,l,c,u,d,h,f,p,A,g,m,v,y,b,_;return i(this,(function(i){return this.ctx.save(),r=fc(o,n),s=uc(o,n),2===a&&(this.path(s),this.ctx.clip()),Vl(s[0])?(l=s[0].start.x,c=s[0].start.y):(l=s[0].x,c=s[0].y),Vl(s[1])?(u=s[1].end.x,d=s[1].end.y):(u=s[1].x,d=s[1].y),h=0===n||2===n?Math.abs(l-u):Math.abs(c-d),this.ctx.beginPath(),3===a?this.formatPath(r):this.formatPath(s.slice(0,2)),f=t<3?3*t:2*t,p=t<3?2*t:t,3===a&&(f=t,p=t),A=!0,h<=2*f?A=!1:h<=2*f+p?(g=h/(2*f+p),f*=g,p*=g):(m=Math.floor((h+p)/(f+p)),v=(h-m*f)/(m-1),y=(h-(m+1)*f)/m,p=y<=0||Math.abs(p-v)<Math.abs(p-y)?v:y),A&&(3===a?this.ctx.setLineDash([0,f+p]):this.ctx.setLineDash([f,p])),3===a?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=hr(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===a&&(Vl(s[0])&&(b=s[3],_=s[0],this.ctx.beginPath(),this.formatPath([new Ql(b.end.x,b.end.y),new Ql(_.start.x,_.start.y)]),this.ctx.stroke()),Vl(s[1])&&(b=s[1],_=s[2],this.ctx.beginPath(),this.formatPath([new Ql(b.end.x,b.end.y),new Ql(_.start.x,_.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},n.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t;return i(this,(function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=hr(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=cc(e),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},n}(Bc),Ic=function(e){return e instanceof bs||(e instanceof ys||e instanceof vs&&e.type!==As&&e.type!==ps)},Lc=function(e,t){switch(e){case 0:return Xl(t);case 2:return ql(t);case 1:default:return Yl(t)}},Dc=function(e){switch(e){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Pc=["-apple-system","system-ui"],Nc=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter((function(e){return-1===Pc.indexOf(e)})):e},jc=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return t(n,e),n.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return t=Ka(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,Fc(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=hr(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},n}(Bc),Fc=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Rc=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.debug?console.debug.apply(console,o([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!==typeof window&&window.console&&"function"===typeof console.info&&console.info.apply(console,o([this.id,this.getTime()+"ms"],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.warn?console.warn.apply(console,o([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.error?console.error.apply(console,o([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.instances={},e}(),Uc=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new Rc({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new Ll(this,t)}return e.instanceCount=1,e}(),Hc=function(e,t){return void 0===t&&(t={}),Qc(e,t)};"undefined"!==typeof window&&Il.setContext(window);var Qc=function(e,t){return r(void 0,void 0,void 0,(function(){var r,o,c,u,d,h,f,p,A,g,m,v,y,b,_,w,x,C,S,k,E,O,B,M,T,I,L,D,P,N,j,F,R,U,H,Q,K,z,V;return i(this,(function(i){switch(i.label){case 0:if(!e||"object"!==typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(r=e.ownerDocument,!r)throw new Error("Element is not attached to a Document");if(o=r.defaultView,!o)throw new Error("Document is not attached to a Window");return c={allowTaint:null!==(B=t.allowTaint)&&void 0!==B&&B,imageTimeout:null!==(M=t.imageTimeout)&&void 0!==M?M:15e3,proxy:t.proxy,useCORS:null!==(T=t.useCORS)&&void 0!==T&&T},u=n({logging:null===(I=t.logging)||void 0===I||I,cache:t.cache},c),d={windowWidth:null!==(L=t.windowWidth)&&void 0!==L?L:o.innerWidth,windowHeight:null!==(D=t.windowHeight)&&void 0!==D?D:o.innerHeight,scrollX:null!==(P=t.scrollX)&&void 0!==P?P:o.pageXOffset,scrollY:null!==(N=t.scrollY)&&void 0!==N?N:o.pageYOffset},h=new a(d.scrollX,d.scrollY,d.windowWidth,d.windowHeight),f=new Uc(u,h),p=null!==(j=t.foreignObjectRendering)&&void 0!==j&&j,A={allowTaint:null!==(F=t.allowTaint)&&void 0!==F&&F,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:p,copyStyles:p},f.logger.debug("Starting document clone with size "+h.width+"x"+h.height+" scrolled to "+-h.left+","+-h.top),g=new pl(f,e,A),m=g.clonedReferenceElement,m?[4,g.toIFrame(r,h)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return v=i.sent(),y=js(m)||Ps(m)?l(m.ownerDocument):s(f,m),b=y.width,_=y.height,w=y.left,x=y.top,C=Kc(f,m,t.backgroundColor),S={canvas:t.canvas,backgroundColor:C,scale:null!==(U=null!==(R=t.scale)&&void 0!==R?R:o.devicePixelRatio)&&void 0!==U?U:1,x:(null!==(H=t.x)&&void 0!==H?H:0)+w,y:(null!==(Q=t.y)&&void 0!==Q?Q:0)+x,width:null!==(K=t.width)&&void 0!==K?K:Math.ceil(b),height:null!==(z=t.height)&&void 0!==z?z:Math.ceil(_)},p?(f.logger.debug("Document cloned, using foreign object rendering"),O=new jc(f,S),[4,O.render(m)]):[3,3];case 2:return k=i.sent(),[3,5];case 3:return f.logger.debug("Document cloned, element located at "+w+","+x+" with size "+b+"x"+_+" using computed rendering"),f.logger.debug("Starting DOM parsing"),E=Ss(f,m),C===E.styles.backgroundColor&&(E.styles.backgroundColor=br.TRANSPARENT),f.logger.debug("Starting renderer for element at "+S.x+","+S.y+" with size "+S.width+"x"+S.height),O=new Tc(f,S),[4,O.render(E)];case 4:k=i.sent(),i.label=5;case 5:return(null===(V=t.removeContainer)||void 0===V||V)&&(pl.destroy(v)||f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),f.logger.debug("Finished rendering"),[2,k]}}))}))},Kc=function(e,t,n){var r=t.ownerDocument,i=r.documentElement?yr(e,getComputedStyle(r.documentElement).backgroundColor):br.TRANSPARENT,o=r.body?yr(e,getComputedStyle(r.body).backgroundColor):br.TRANSPARENT,a="string"===typeof n?yr(e,n):null===n?br.TRANSPARENT:4294967295;return t===r.documentElement?dr(i)?dr(o)?a:o:i:a};return Hc}))},wPhX:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"k",(function(){return u})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return h})),n.d(t,"g",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return A})),n.d(t,"j",(function(){return g})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return v}));var r=n("KQm4"),i=n("U8pU"),o=(n("Ff2n"),n("q1tI"),n("Kwbf")),a=(n("lr6o"),.25),s=2;function l(e,t){var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function c(e,t){var n=e.slice();return-1===n.indexOf(t)&&n.push(t),n}function u(e){return e.split("-")}function d(e,t){return"".concat(e,"-").concat(t)}function h(e){return e&&e.type&&e.type.isTreeNode}function f(e,t){var n=[e],r=t[e];function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach((function(e){var t=e.key,r=e.children;n.push(t),i(r)}))}return i(r.children),n}function p(e,t){var n=e.clientY,r=t.selectHandle.getBoundingClientRect(),i=r.top,o=r.bottom,l=r.height,c=Math.max(l*a,s);return n<=i+c?-1:n>=o-c?1:0}function A(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function g(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==Object(i["a"])(e))return Object(o["a"])(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function m(e,t){var n=new Set;function i(e){if(!n.has(e)){var r=t[e];if(r){n.add(e);var o=r.parent,a=r.node;a.disabled||o&&i(o.key)}}}return(e||[]).forEach((function(e){i(e)})),Object(r["a"])(n)}function v(e){var t={};return Object.keys(e).forEach((function(n){(n.startsWith("data-")||n.startsWith("aria-"))&&(t[n]=e[n])})),t}},wXyp:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("ygfH")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="CheckOutlined";var h=a.forwardRef(d);t.default=h},wYyv:function(e,t,n){"use strict";var r=n("R5yR"),i=n("5wUe"),o=function(e,t,n){var r=t<0?e.length+t:t;if(r>=0&&r<e.length){var o=n<0?e.length+n:n,a=e.splice(t,1),s=i(a,1),l=s[0];e.splice(o,0,l)}},a=function(e,t,n){return e=r(e),o(e,t,n),e};e.exports=a,e.exports.mutate=o},wgjA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},whVF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n("lNSK"),i=o(n("1q3G"));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}var c=function(){function e(){a(this,e),this.strm=new i["default"],this.chunkSize=102400,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,r.deflateInit)(this.strm,this.windowBits)}return l(e,[{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 t=(0,r.deflate)(this.strm,r.Z_FULL_FLUSH),n=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(t<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var i=[n],o=n.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,t=(0,r.deflate)(this.strm,r.Z_FULL_FLUSH),t<0)throw new Error("zlib deflate failed");var a=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);o+=a.length,i.push(a)}while(this.strm.avail_in>0);for(var s=new Uint8Array(o),l=0,c=0;c<i.length;c++)s.set(i[c],l),l+=i[c].length;n=s}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,n}}]),e}();t["default"]=c},wlus:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="MinusCircleOutlined";t["a"]=i["forwardRef"](l)},wr5s:function(e,t,n){var r=n("IwbS"),i=r.extendShape,o=i({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-i),s=i+a,l=t.startAngle,c=t.endAngle,u=t.clockwise,d=Math.cos(l),h=Math.sin(l),f=Math.cos(c),p=Math.sin(c),A=u?c-l<2*Math.PI:l-c<2*Math.PI;A&&(e.moveTo(d*i+n,h*i+r),e.arc(d*s+n,h*s+r,a,-Math.PI+l,l,!u)),e.arc(n,r,o,l,c,!u),e.moveTo(f*o+n,p*o+r),e.arc(f*s+n,p*s+r,a,c-2*Math.PI,c-Math.PI,!u),0!==i&&(e.arc(n,r,i,c,l,u),e.moveTo(d*i+n,p*i+r)),e.closePath()}});e.exports=o},wt3j:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("/IIm"),a=n("EMyp"),s=a.layoutCovers,l=r.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new o(t.getZr())).on("brush",i.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,c.apply(this,arguments)},updateTransform:function(e,t){return s(t),c.apply(this,arguments)},updateView:c,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:i.clone(e),$from:n}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:i.clone(e),$from:n})}});function c(e,t,n,r){(!r||r.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}e.exports=l},wy8a:function(e,t,n){var r=n("KxBF");function i(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}e.exports=i},x1Ya:function(e,t,n){"use strict";var r=n("wx14"),i=n("rePB"),o=n("Ff2n"),a=n("VTBJ"),s=n("1OyB"),l=n("vuIU"),c=n("Ji7U"),u=n("LK+K"),d=n("q1tI"),h=n.n(d),f=n("TSYQ"),p=n.n(f),A=function(e){Object(c["a"])(n,e);var t=Object(u["a"])(n);function n(e){var r;Object(s["a"])(this,n),r=t.call(this,e),r.handleChange=function(e){var t=r.props,n=t.disabled,i=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),i&&i({target:Object(a["a"])(Object(a["a"])({},r.props),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var i="checked"in e?e.checked:e.defaultChecked;return r.state={checked:i},r}return Object(l["a"])(n,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,s=t.style,l=t.name,c=t.id,u=t.type,d=t.disabled,f=t.readOnly,A=t.tabIndex,g=t.onClick,m=t.onFocus,v=t.onBlur,y=t.onKeyDown,b=t.onKeyPress,_=t.onKeyUp,w=t.autoFocus,x=t.value,C=t.required,S=Object(o["a"])(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),k=Object.keys(S).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=S[t]),e}),{}),E=this.state.checked,O=p()(n,a,(e={},Object(i["a"])(e,"".concat(n,"-checked"),E),Object(i["a"])(e,"".concat(n,"-disabled"),d),e));return h.a.createElement("span",{className:O,style:s},h.a.createElement("input",Object(r["a"])({name:l,id:c,type:u,required:C,readOnly:f,disabled:d,tabIndex:A,className:"".concat(n,"-input"),checked:!!E,onClick:g,onFocus:m,onBlur:v,onKeyUp:_,onKeyDown:y,onKeyPress:b,onChange:this.handleChange,autoFocus:w,ref:this.saveInput,value:x},k)),h.a.createElement("span",{className:"".concat(n,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"checked"in e?Object(a["a"])(Object(a["a"])({},t),{},{checked:e.checked}):null}}]),n}(d["Component"]);A.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},t["a"]=A},x3X8:function(e,t,n){var r=n("KxfA"),i=r.retrieveRawValue;function o(e,t){var n=e.mapDimension("defaultedLabel",!0),r=n.length;if(1===r)return i(e,t,n[0]);if(r){for(var o=[],a=0;a<n.length;a++){var s=i(e,t,n[a]);o.push(s)}return o.join(" ")}}t.getDefaultLabel=o},x54q:function(e,t,n){},x6Kt:function(e,t,n){var r=n("y+Vt"),i=n("VpOo"),o=n("nPnh"),a=o.subPixelOptimizeRect,s={},l=r.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(e,t){var n,r,o,l;this.subPixelOptimize?(a(s,t,this.style),n=s.x,r=s.y,o=s.width,l=s.height,s.r=t.r,t=s):(n=t.x,r=t.y,o=t.width,l=t.height),t.r?i.buildPath(e,t):e.rect(n,r,o,l),e.closePath()}});e.exports=l},xGfz:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="PlusSquareOutlined";t["a"]=i["forwardRef"](l)},xKMd:function(e,t){function n(e,t){this.getAllNames=function(){var e=t();return e.mapArray(e.getName)},this.containName=function(e){var n=t();return n.indexOfName(e)>=0},this.indexOfName=function(t){var n=e();return n.indexOfName(t)},this.getItemVisual=function(t,n){var r=e();return r.getItemVisual(t,n)}}var r=n;e.exports=r},xO64:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=i(n("8K/p"));function i(e){return e&&e.__esModule?e:{default:e}}function o(e){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=p();return function(){var n,r=A(e);if(t){var i=A(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==o(t)&&"function"!==typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var g=function(e){c(n,e);var t=d(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"_pngRect",value:function(e,t,n,r,i,o,a){var s=this._readData(i);return null!==s&&(o.imageRect(e,t,n,r,"image/png",s),!0)}},{key:"_basicRect",value:function(e,t,n,r,i,o,a,s){throw new Error("BasicCompression received in TightPNG rect")}}]),n}(r["default"]);t["default"]=g},xRUu:function(e,t,n){n("hJvP"),n("hFmY"),n("sAZ8")},xSIq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r={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"};t["default"]=r},xSat:function(e,t){var n={axisPointer:1,tooltip:1,brush:1};function r(e,t,r){var i=t.getComponentByElement(e.topTarget),o=i&&i.coordinateSystem;return i&&i!==r&&!n[i.mainType]&&o&&o.model!==r}t.onIrrelevantElement=r},xTNl:function(e,t){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],r={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]};e.exports=r},xYSL:function(e,t){function n(e,t){return e.has(t)}e.exports=n},xb2K:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("5yev")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="RedoOutlined";var h=a.forwardRef(d);t.default=h},xiyX:function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("nkfE"),a=n("ICMv"),s=i.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function c(e,t){return t.type||(t.data?"category":"value")}r.merge(s.prototype,a),o("single",s,c,l);var u=s;e.exports=u},xlC8:function(e,t,n){"use strict";function r(e,t,n,r){var i=65535&e|0,o=e>>>16&65535|0,a=0;while(0!==n){a=n>2e3?2e3:n,n-=a;do{i=i+t[r++]|0,o=o+i|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=r},xvlK:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="PlusOutlined";t["a"]=i["forwardRef"](l)},xzDV:function(e,t,n){},"y+Vt":function(e,t,n){var r=n("Gev7"),i=n("bYtY"),o=n("IMiH"),a=n("2DNl"),s=n("3C/r"),l=s.prototype.getCanvasPattern,c=Math.abs,u=new o(!0);function d(e){r.call(this,e),this.path=null}d.prototype={constructor:d,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(e,t){var n,r=this.style,i=this.path||u,o=r.hasStroke(),a=r.hasFill(),s=r.fill,c=r.stroke,d=a&&!!s.colorStops,h=o&&!!c.colorStops,f=a&&!!s.image,p=o&&!!c.image;(r.bind(e,this,t),this.setTransform(e),this.__dirty)&&(d&&(n=n||this.getBoundingRect(),this._fillGradient=r.getGradient(e,s,n)),h&&(n=n||this.getBoundingRect(),this._strokeGradient=r.getGradient(e,c,n)));d?e.fillStyle=this._fillGradient:f&&(e.fillStyle=l.call(s,e)),h?e.strokeStyle=this._strokeGradient:p&&(e.strokeStyle=l.call(c,e));var A=r.lineDash,g=r.lineDashOffset,m=!!e.setLineDash,v=this.getGlobalScale();if(i.setScale(v[0],v[1],this.segmentIgnoreThreshold),this.__dirtyPath||A&&!m&&o?(i.beginPath(e),A&&!m&&(i.setLineDash(A),i.setLineDashOffset(g)),this.buildPath(i,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(e.beginPath(),this.path.rebuildPath(e)),a)if(null!=r.fillOpacity){var y=e.globalAlpha;e.globalAlpha=r.fillOpacity*r.opacity,i.fill(e),e.globalAlpha=y}else i.fill(e);if(A&&m&&(e.setLineDash(A),e.lineDashOffset=g),o)if(null!=r.strokeOpacity){y=e.globalAlpha;e.globalAlpha=r.strokeOpacity*r.opacity,i.stroke(e),e.globalAlpha=y}else i.stroke(e);A&&m&&e.setLineDash([]),null!=r.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))},buildPath:function(e,t,n){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var e=this._rect,t=this.style,n=!e;if(n){var r=this.path;r||(r=this.path=new o),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),e=r.getBoundingRect()}if(this._rect=e,t.hasStroke()){var i=this._rectWithStroke||(this._rectWithStroke=e.clone());if(this.__dirty||n){i.copy(e);var a=t.lineWidth,s=t.strokeNoScale?this.getLineScale():1;t.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),s>1e-10&&(i.width+=a/s,i.height+=a/s,i.x-=a/s/2,i.y-=a/s/2)}return i}return e},contain:function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var o=this.path.data;if(i.hasStroke()){var s=i.lineWidth,l=i.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(i.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),a.containStroke(o,s/l,e,t)))return!0}if(i.hasFill())return a.contain(o,e,t)}return!1},dirty:function(e){null==e&&(e=!0),e&&(this.__dirtyPath=e,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(e){return this.animate("shape",e)},attrKV:function(e,t){"shape"===e?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):r.prototype.attrKV.call(this,e,t)},setShape:function(e,t){var n=this.shape;if(n){if(i.isObject(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);else n[e]=t;this.dirty(!0)}return this},getLineScale:function(){var e=this.transform;return e&&c(e[0]-1)>1e-10&&c(e[3]-1)>1e-10?Math.sqrt(c(e[0]*e[3]-e[2]*e[1])):1}},d.extend=function(e){var t=function(t){d.call(this,t),e.style&&this.style.extendFrom(e.style,!1);var n=e.shape;if(n){this.shape=this.shape||{};var r=this.shape;for(var i in n)!r.hasOwnProperty(i)&&n.hasOwnProperty(i)&&(r[i]=n[i])}e.init&&e.init.call(this,t)};for(var n in i.inherits(t,d),e)"style"!==n&&"shape"!==n&&(t.prototype[n]=e[n]);return t},i.inherits(d,r);var h=d;e.exports=h},"y+lR":function(e,t,n){var r=n("bYtY"),i=n("mFDi"),o=n("z35g");function a(e){o.call(this,e)}a.prototype={constructor:a,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoint:function(e,t,n){var r=this.getAxis("x"),i=this.getAxis("y");return n=n||[],n[0]=r.toGlobalCoord(r.dataToCoord(e[0])),n[1]=i.toGlobalCoord(i.dataToCoord(e[1])),n},clampData:function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(e[0]),s=r.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),t},pointToData:function(e,t){var n=this.getAxis("x"),r=this.getAxis("y");return t=t||[],t[0]=n.coordToData(n.toLocalCoord(e[0])),t[1]=r.coordToData(r.toLocalCoord(e[1])),t},getOtherAxis:function(e){return this.getAxis("x"===e.dim?"y":"x")},getArea:function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1]),r=Math.min(t[0],t[1]),o=Math.max(e[0],e[1])-n,a=Math.max(t[0],t[1])-r,s=new i(n,r,o,a);return s}},r.inherits(a,o);var s=a;e.exports=s},"y0+3":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));function r(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function i(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}},y1pI:function(e,t,n){var r=n("ljhN");function i(e,t){var n=e.length;while(n--)if(r(e[n][0],t))return n;return-1}e.exports=i},y23F:function(e,t){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function r(e,t){return{target:e,topTarget:t&&t.topTarget}}n.prototype={constructor:n,_dragStart:function(e){var t=e.target;while(t&&!t.draggable)t=t.parent;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.dispatchToElement(r(t,e),"dragstart",e.event))},_drag:function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,i=e.offsetY,o=n-this._x,a=i-this._y;this._x=n,this._y=i,t.drift(o,a,e),this.dispatchToElement(r(t,e),"drag",e.event);var s=this.findHover(n,i,t).target,l=this._dropTarget;this._dropTarget=s,t!==s&&(l&&s!==l&&this.dispatchToElement(r(l,e),"dragleave",e.event),s&&s!==l&&this.dispatchToElement(r(s,e),"dragenter",e.event))}},_dragEnd:function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.dispatchToElement(r(t,e),"dragend",e.event),this._dropTarget&&this.dispatchToElement(r(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null}};var i=n;e.exports=i},y2l5:function(e,t,n){var r=n("MwEJ"),i=n("T4UG"),o=i.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,t){return r(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});e.exports=o},y3Kf:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="UpOutlined";t["a"]=i["forwardRef"](l)},y3NT:function(e,t,n){var r=n("OELB"),i=r.parsePercent,o=n("bYtY"),a=Math.PI/180;function s(e,t,n,r){t.eachSeriesByType(e,(function(e){var t=e.get("center"),r=e.get("radius");o.isArray(r)||(r=[0,r]),o.isArray(t)||(t=[t,t]);var s=n.getWidth(),c=n.getHeight(),u=Math.min(s,c),d=i(t[0],s),h=i(t[1],c),f=i(r[0],u/2),p=i(r[1],u/2),A=-e.get("startAngle")*a,g=e.get("minAngle")*a,m=e.getData().tree.root,v=e.getViewRoot(),y=v.depth,b=e.get("sort");null!=b&&l(v,b);var _=0;o.each(v.children,(function(e){!isNaN(e.getValue())&&_++}));var w=v.getValue(),x=Math.PI/(w||_)*2,C=v.depth>0,S=v.height-(C?-1:1),k=(p-f)/(S||1),E=e.get("clockwise"),O=e.get("stillShowZeroSum"),B=E?1:-1,M=function(e,t){if(e){var n=t;if(e!==m){var r=e.getValue(),a=0===w&&O?x:r*x;a<g&&(a=g),n=t+B*a;var s=e.depth-y-(C?-1:1),l=f+k*s,c=f+k*(s+1),p=e.getModel();null!=p.get("r0")&&(l=i(p.get("r0"),u/2)),null!=p.get("r")&&(c=i(p.get("r"),u/2)),e.setLayout({angle:a,startAngle:t,endAngle:n,clockwise:E,cx:d,cy:h,r0:l,r:c})}if(e.children&&e.children.length){var A=0;o.each(e.children,(function(e){A+=M(e,t+A)}))}return n-t}};if(C){var T=f,I=f+k,L=2*Math.PI;m.setLayout({angle:L,startAngle:A,endAngle:A+L,clockwise:E,cx:d,cy:h,r0:T,r:I})}M(v,A)}))}function l(e,t){var n=e.children||[];e.children=c(n,t),n.length&&o.each(e.children,(function(e){l(e,t)}))}function c(e,t){if("function"===typeof t)return e.sort(t);var n="asc"===t;return e.sort((function(e,t){var r=(e.getValue()-t.getValue())*(n?1:-1);return 0===r?(e.dataIndex-t.dataIndex)*(n?-1:1):r}))}e.exports=s},y3Yb:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("HBhm")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="PaperClipOutlined";var h=a.forwardRef(d);t.default=h},"y4/Y":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("zTMp"),a=n("62sa");n("SKx+"),n("1LEl"),n("Sp2Z"),r.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!i.isArray(t)&&(e.axisPointer.link=[t])}})),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=o.collect(e,t)})),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},a)},y7Aq:function(e,t,n){var r=n("bYtY"),i=n("+TT/"),o=i.getLayoutRect;function a(e,t,n){var r=e.option,i=r.align;if(null!=i&&"auto"!==i)return i;for(var a={width:t.getWidth(),height:t.getHeight()},s="horizontal"===r.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],c=l[s],u=[0,null,10],d={},h=0;h<3;h++)d[l[1-s][h]]=u[h],d[c[h]]=2===h?n[0]:r[c[h]];var f=[["x","width",3],["y","height",0]][s],p=o(d,a,r.padding);return c[(p.margin[f[2]]||0)+p[f[0]]+.5*p[f[1]]<.5*a[f[1]]?0:1]}function s(e,t){return r.each(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}t.getItemAlign=a,t.makeHighDownBatch=s},y8nQ:function(e,t,n){"use strict";n("cIOH"),n("gwTy"),n("1GLa")},yEEn:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="ArrowDownOutlined";t["a"]=i["forwardRef"](l)},yGk4:function(e,t,n){var r=n("Cwc5"),i=n("Kz5y"),o=r(i,"Set");e.exports=o},yO87:function(e,t,n){var r=n("bYtY"),i=n("oVpE"),o=i.createSymbol,a=n("IwbS"),s=a.Group,l=n("OELB"),c=l.parsePercent,u=n("FBjb"),d=3;function h(e){return r.isArray(e)||(e=[+e,+e]),e}function f(e,t){var n=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?n:null,fill:"fill"===t.brushType?n:null}})}))}function p(e,t){s.call(this);var n=new u(e,t),r=new s;this.add(n),this.add(r),r.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(e,t)}var A=p.prototype;A.stopEffectAnimation=function(){this.childAt(1).removeAll()},A.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,r=this.childAt(1),i=0;i<d;i++){var a=o(t,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-i/d*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(s).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),r.add(a)}f(r,e)},A.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),r=["symbolType","period","rippleScale"],i=0;i<r.length;i++){var o=r[i];if(t[o]!==e[o])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}f(n,e)},A.highlight=function(){this.trigger("emphasis")},A.downplay=function(){this.trigger("normal")},A.updateData=function(e,t){var n=e.hostModel;this.childAt(0).updateData(e,t);var r=this.childAt(1),i=e.getItemModel(t),o=e.getItemVisual(t,"symbol"),a=h(e.getItemVisual(t,"symbolSize")),s=e.getItemVisual(t,"color");r.attr("scale",a),r.traverse((function(e){e.attr({fill:s})}));var l=i.getShallow("symbolOffset");if(l){var u=r.position;u[0]=c(l[0],a[0]),u[1]=c(l[1],a[1])}var d=e.getItemVisual(t,"symbolRotate");r.rotation=(d||0)*Math.PI/180||0;var f={};if(f.showEffectOn=n.get("showEffectOn"),f.rippleScale=i.get("rippleEffect.scale"),f.brushType=i.get("rippleEffect.brushType"),f.period=1e3*i.get("rippleEffect.period"),f.effectOffset=t/e.count(),f.z=i.getShallow("z")||0,f.zlevel=i.getShallow("zlevel")||0,f.symbolType=o,f.color=s,f.rippleEffectColor=i.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===f.showEffectOn)this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f;else{this._effectCfg=null,this.stopEffectAnimation();var p=this.childAt(0),A=function(){p.highlight(),"render"!==f.showEffectOn&&this.startEffectAnimation(f)},g=function(){p.downplay(),"render"!==f.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",A,this).on("mouseout",g,this).on("emphasis",A,this).on("normal",g,this)}this._effectCfg=f},A.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},r.inherits(p,s);var g=p;e.exports=g},yS9w:function(e,t,n){var r=n("MEGo"),i=r.parseSVG,o=r.makeViewBoxTransform,a=n("4fz+"),s=n("x6Kt"),l=n("bYtY"),c=l.assert,u=l.createHashMap,d=n("mFDi"),h=n("4NO4"),f=h.makeInner,p=f(),A={load:function(e,t){var n=p(t).originRoot;if(n)return{root:n,boundingRect:p(t).boundingRect};var r=g(t);return p(t).originRoot=r.root,p(t).boundingRect=r.boundingRect,r},makeGraphic:function(e,t,n){var r=p(t),i=r.rootMap||(r.rootMap=u()),o=i.get(n);if(o)return o;var a=r.originRoot,s=r.boundingRect;return r.originRootHostKey?o=g(t,s).root:(r.originRootHostKey=n,o=a),i.set(n,o)},removeGraphic:function(e,t,n){var r=p(t),i=r.rootMap;i&&i.removeKey(n),n===r.originRootHostKey&&(r.originRootHostKey=null)}};function g(e,t){var n,r,l=e.svgXML;try{n=l&&i(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{},r=n.root,c(null!=r)}catch(g){throw new Error("Invalid svg format\n"+g.message)}var u=n.width,h=n.height,f=n.viewBoxRect;if(t||(t=null==u||null==h?r.getBoundingRect():new d(0,0,0,0),null!=u&&(t.width=u),null!=h&&(t.height=h)),f){var p=o(f,t.width,t.height),A=r;r=new a,r.add(A),A.scale=p.scale,A.position=p.position}return r.setClipPath(new s({shape:t.plain()})),{root:r,boundingRect:t}}e.exports=A},yWXo:function(e,t,n){var r=n("IwbS"),i=n("oVpE"),o=i.createSymbol,a=n("OS9S"),s=4,l=r.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(e,t){var n=t.points,r=t.size,i=this.symbolProxy,o=i.shape,a=e.getContext?e.getContext():e,l=a&&r[0]<s;if(!l)for(var c=0;c<n.length;){var u=n[c++],d=n[c++];isNaN(u)||isNaN(d)||(this.softClipShape&&!this.softClipShape.contain(u,d)||(o.x=u-r[0]/2,o.y=d-r[1]/2,o.width=r[0],o.height=r[1],i.buildPath(e,o,!0)))}},afterBrush:function(e){var t=this.shape,n=t.points,r=t.size,i=r[0]<s;if(i){this.setTransform(e);for(var o=0;o<n.length;){var a=n[o++],l=n[o++];isNaN(a)||isNaN(l)||(this.softClipShape&&!this.softClipShape.contain(a,l)||e.fillRect(a-r[0]/2,l-r[1]/2,r[0],r[1]))}this.restoreTransform(e)}},findDataIndex:function(e,t){for(var n=this.shape,r=n.points,i=n.size,o=Math.max(i[0],4),a=Math.max(i[1],4),s=r.length/2-1;s>=0;s--){var l=2*s,c=r[l]-o/2,u=r[l+1]-a/2;if(e>=c&&t>=u&&e<=c+o&&t<=u+a)return s}return-1}});function c(){this.group=new r.Group}var u=c.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e,t){this.group.removeAll();var n=new l({rectHover:!0,cursor:"default"});n.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(n,e,!1,t),this.group.add(n),this._incremental=null},u.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild((function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),r=4*e.startIndex*2;t=new Float32Array(t.buffer,r,n)}e.setShape("points",t)}))}},u.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,t,n){var r;this._incremental?(r=new l,this._incremental.addDisplayable(r,!0)):(r=new l({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end}),r.incremental=!0,this.group.add(r)),r.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(r,t,!!this._incremental,n)},u._setCommon=function(e,t,n,r){var i=t.hostModel;r=r||{};var a=t.getVisual("symbolSize");e.setShape("size",a instanceof Array?a:[a,a]),e.softClipShape=r.clipShape||null,e.symbolProxy=o(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var l=e.shape.size[0]<s;e.useStyle(i.getModel("itemStyle").getItemStyle(l?["color","shadowBlur","shadowColor"]:["color"]));var c=t.getVisual("color");c&&e.setColor(c),n||(e.seriesIndex=i.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>=0&&(e.dataIndex=n+(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 d=c;e.exports=d},ycre:function(e,t,n){var r=n("711d"),i=r("length");e.exports=i},ye1Q:function(e,t,n){"use strict";var r=n("VTBJ"),i=n("q1tI"),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=o,s=n("6VBw"),l=function(e,t){return i["createElement"](s["a"],Object(r["a"])(Object(r["a"])({},e),{},{ref:t,icon:a}))};l.displayName="LoadingOutlined";t["a"]=i["forwardRef"](l)},ygfH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={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"};t.default=r},yik8:function(e,t,n){var r=n("bZqE"),i=r.eachAfter,o=r.eachBefore,a=n("Itpr"),s=a.init,l=a.firstWalk,c=a.secondWalk,u=a.separation,d=a.radialCoordinate,h=a.getViewRect;function f(e,t){e.eachSeriesByType("tree",(function(e){p(e,t)}))}function p(e,t){var n=h(e,t);e.layoutInfo=n;var r=e.get("layout"),a=0,f=0,p=null;"radial"===r?(a=2*Math.PI,f=Math.min(n.height,n.width)/2,p=u((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(a=n.width,f=n.height,p=u());var A=e.getData().tree.root,g=A.children[0];if(g){s(A),i(g,l,p),A.hierNode.modifier=-g.hierNode.prelim,o(g,c);var m=g,v=g,y=g;o(g,(function(e){var t=e.getLayout().x;t<m.getLayout().x&&(m=e),t>v.getLayout().x&&(v=e),e.depth>y.depth&&(y=e)}));var b=m===v?1:p(m,v)/2,_=b-m.getLayout().x,w=0,x=0,C=0,S=0;if("radial"===r)w=a/(v.getLayout().x+b+_),x=f/(y.depth-1||1),o(g,(function(e){C=(e.getLayout().x+_)*w,S=(e.depth-1)*x;var t=d(C,S);e.setLayout({x:t.x,y:t.y,rawX:C,rawY:S},!0)}));else{var k=e.getOrient();"RL"===k||"LR"===k?(x=f/(v.getLayout().x+b+_),w=a/(y.depth-1||1),o(g,(function(e){S=(e.getLayout().x+_)*x,C="LR"===k?(e.depth-1)*w:a-(e.depth-1)*w,e.setLayout({x:C,y:S},!0)}))):"TB"!==k&&"BT"!==k||(w=a/(v.getLayout().x+b+_),x=f/(y.depth-1||1),o(g,(function(e){C=(e.getLayout().x+_)*w,S="TB"===k?(e.depth-1)*x:f-(e.depth-1)*x,e.setLayout({x:C,y:S},!0)})))}}}e.exports=f},ynwM:function(e,t,n){var r=n("MFOe"),i=r.Global;e.exports={name:"oldFF-globalStorage",read:a,write:s,each:l,remove:c,clearAll:u};var o=i.globalStorage;function a(e){return o[e]}function s(e,t){o[e]=t}function l(e){for(var t=o.length-1;t>=0;t--){var n=o.key(t);e(o[n],n)}}function c(e){return o.removeItem(e)}function u(){l((function(e,t){delete o[e]}))}},ypgQ:function(e,t,n){var r=n("bYtY"),i=n("4NO4"),o=n("bLfw"),a=r.each,s=r.clone,l=r.map,c=r.merge,u=/^(min|max)?(.+)$/;function d(e){this._api=e,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function h(e,t,n){var i,o,s=[],l=[],c=e.timeline;if(e.baseOption&&(o=e.baseOption),(c||e.options)&&(o=o||{},s=(e.options||[]).slice()),e.media){o=o||{};var u=e.media;a(u,(function(e){e&&e.option&&(e.query?l.push(e):i||(i=e))}))}return o||(o=e),o.timeline||(o.timeline=c),a([o].concat(s).concat(r.map(l,(function(e){return e.option}))),(function(e){a(t,(function(t){t(e,n)}))})),{baseOption:o,timelineOptions:s,mediaDefault:i,mediaList:l}}function f(e,t,n){var i={width:t,height:n,aspectratio:t/n},o=!0;return r.each(e,(function(e,t){var n=t.match(u);if(n&&n[1]&&n[2]){var r=n[1],a=n[2].toLowerCase();p(i[a],e,r)||(o=!1)}})),o}function p(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t}function A(e,t){return e.join(",")===t.join(",")}function g(e,t){t=t||{},a(t,(function(t,n){if(null!=t){var r=e[n];if(o.hasClass(n)){t=i.normalizeToArray(t),r=i.normalizeToArray(r);var a=i.mappingToExists(r,t);e[n]=l(a,(function(e){return e.option&&e.exist?c(e.exist,e.option,!0):e.exist||e.option}))}else e[n]=c(r,t,!0)}}))}d.prototype={constructor:d,setOption:function(e,t){e&&r.each(i.normalizeToArray(e.series),(function(e){e&&e.data&&r.isTypedArray(e.data)&&r.setAsPrimitive(e.data)})),e=s(e);var n=this._optionBackup,o=h.call(this,e,t,!n);this._newBaseOption=o.baseOption,n?(g(n.baseOption,o.baseOption),o.timelineOptions.length&&(n.timelineOptions=o.timelineOptions),o.mediaList.length&&(n.mediaList=o.mediaList),o.mediaDefault&&(n.mediaDefault=o.mediaDefault)):this._optionBackup=o},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=l(t.timelineOptions,s),this._mediaList=l(t.mediaList,s),this._mediaDefault=s(t.mediaDefault),this._currentMediaIndices=[],s(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,n=this._timelineOptions;if(n.length){var r=e.getComponent("timeline");r&&(t=s(n[r.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t=this._api.getWidth(),n=this._api.getHeight(),r=this._mediaList,i=this._mediaDefault,o=[],a=[];if(!r.length&&!i)return a;for(var c=0,u=r.length;c<u;c++)f(r[c].query,t,n)&&o.push(c);return!o.length&&i&&(o=[-1]),o.length&&!A(o,this._currentMediaIndices)&&(a=l(o,(function(e){return s(-1===e?i.option:r[e].option)}))),this._currentMediaIndices=o,a}};var m=d;e.exports=m},yxFR:function(e,t,n){var r=n("y+Vt"),i=n("nPnh"),o=i.subPixelOptimizeLine,a={},s=r.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n,r,i,s;this.subPixelOptimize?(o(a,t,this.style),n=a.x1,r=a.y1,i=a.x2,s=a.y2):(n=t.x1,r=t.y1,i=t.x2,s=t.y2);var l=t.percent;0!==l&&(e.moveTo(n,r),l<1&&(i=n*(1-l)+i*l,s=r*(1-l)+s*l),e.lineTo(i,s))},pointAt:function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]}});e.exports=s},z35g:function(e,t,n){var r=n("bYtY");function i(e){return this._axes[e]}var o=function(e){this._axes={},this._dimList=[],this.name=e||""};o.prototype={constructor:o,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return r.map(this._dimList,i,this)},getAxesByScale:function(e){return e=e.toLowerCase(),r.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var n=this._dimList,r=e instanceof Array?[]:{},i=0;i<n.length;i++){var o=n[i],a=this._axes[o];r[o]=a[t](e[o])}return r}};var a=o;e.exports=a},zAh6:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("xEkU"),i=n.n(r),o=n("i6bk");function a(e,t,n,r){var i=n-t;return e/=r/2,e<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,s=t.callback,l=t.duration,c=void 0===l?450:l,u=r(),d=Object(o["a"])(u,!0),h=Date.now(),f=function t(){var n=Date.now(),r=n-h,l=a(r>c?c:r,d,e,c);Object(o["b"])(u)?u.scrollTo(window.pageXOffset,l):u instanceof HTMLDocument||"HTMLDocument"===u.constructor.name?u.documentElement.scrollTop=l:u.scrollTop=l,r<c?i()(t):"function"===typeof s&&s()};i()(f)}},zDms:function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=n("UOVi"),a=n("72pK"),s=r.each,l=i.asc,c=function(e,t,n,r){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=r,this._dataZoomModel=n};function u(e,t,n){var r=[1/0,-1/0];return s(n,(function(e){var n=e.getData();n&&s(n.mapDimension(t,!0),(function(e){var t=n.getApproximateExtent(e);t[0]<r[0]&&(r[0]=t[0]),t[1]>r[1]&&(r[1]=t[1])}))})),r[1]<r[0]&&(r=[NaN,NaN]),d(e,r),r}function d(e,t){var n=e.getAxisModel(),r=n.getMin(!0),i="category"===n.get("type"),o=i&&n.getCategories().length;null!=r&&"dataMin"!==r&&"function"!==typeof r?t[0]=r:i&&(t[0]=o>0?0:NaN);var a=n.getMax(!0);return null!=a&&"dataMax"!==a&&"function"!==typeof a?t[1]=a:i&&(t[1]=o>0?o-1:NaN),n.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function h(e,t){var n=e.getAxisModel(),r=e._percentWindow,o=e._valueWindow;if(r){var a=i.getPixelPrecision(o,[0,500]);a=Math.min(a,20);var s=t||0===r[0]&&100===r[1];n.setRange(s?null:+o[0].toFixed(a),s?null:+o[1].toFixed(a))}}function f(e){var t=e._minMaxSpan={},n=e._dataZoomModel,r=e._dataExtent;s(["min","max"],(function(o){var a=n.get(o+"Span"),s=n.get(o+"ValueSpan");null!=s&&(s=e.getAxisModel().axis.scale.parse(s)),null!=s?a=i.linearMap(r[0]+s,r,[0,100],!0):null!=a&&(s=i.linearMap(a,[0,100],r,!0)-r[0]),t[o+"Span"]=a,t[o+"ValueSpan"]=s}))}c.prototype={constructor:c,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries((function(n){if(o.isCoordSupported(n.get("coordinateSystem"))){var r=this._dimName,i=t.queryComponents({mainType:r+"Axis",index:n.get(r+"AxisIndex"),id:n.get(r+"AxisId")})[0];this._axisIndex===(i&&i.componentIndex)&&e.push(n)}}),this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,n,r=this._dimName,i=this.ecModel,o=this.getAxisModel(),a="x"===r||"y"===r;return a?(t="gridIndex",e="x"===r?"y":"x"):(t="polarIndex",e="angle"===r?"radius":"angle"),i.eachComponent(e+"Axis",(function(e){(e.get(t)||0)===(o.get(t)||0)&&(n=e)})),n},getMinMaxSpan:function(){return r.clone(this._minMaxSpan)},calculateDataWindow:function(e){var t,n=this._dataExtent,r=this.getAxisModel(),o=r.axis.scale,c=this._dataZoomModel.getRangePropMode(),u=[0,100],d=[],h=[];s(["start","end"],(function(r,a){var s=e[r],l=e[r+"Value"];"percent"===c[a]?(null==s&&(s=u[a]),l=o.parse(i.linearMap(s,u,n))):(t=!0,l=null==l?n[a]:o.parse(l),s=i.linearMap(l,n,u)),h[a]=l,d[a]=s})),l(h),l(d);var f=this._minMaxSpan;function p(e,t,n,r,s){var l=s?"Span":"ValueSpan";a(0,e,n,"all",f["min"+l],f["max"+l]);for(var c=0;c<2;c++)t[c]=i.linearMap(e[c],n,r,!0),s&&(t[c]=o.parse(t[c]))}return t?p(h,d,n,u,!1):p(d,h,u,n,!0),{valueWindow:h,percentWindow:d}},reset:function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=u(this,this._dimName,t),f(this);var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,h(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,h(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=e.get("filterMode"),o=this._valueWindow;"none"!==i&&s(r,(function(e){var t=e.getData(),r=t.mapDimension(n,!0);r.length&&("weakFilter"===i?t.filterSelf((function(e){for(var n,i,a,s=0;s<r.length;s++){var l=t.get(r[s],e),c=!isNaN(l),u=l<o[0],d=l>o[1];if(c&&!u&&!d)return!0;c&&(a=!0),u&&(n=!0),d&&(i=!0)}return a&&n&&i})):s(r,(function(n){if("empty"===i)e.setData(t=t.map(n,(function(e){return a(e)?e:NaN})));else{var r={};r[n]=o,t.selectRange(r)}})),s(r,(function(e){t.setApproximateExtent(o,e)})))}))}function a(e){return e>=o[0]&&e<=o[1]}}};var p=c;e.exports=p},zM3Q:function(e,t,n){var r=n("4NO4"),i=r.makeInner;function o(){var e=i();return function(t){var n=e(t),r=t.pipelineContext,i=n.large,o=n.progressiveRender,a=n.large=r&&r.large,s=n.progressiveRender=r&&r.progressiveRender;return!!(i^a||o^s)&&"reset"}}e.exports=o},zRKj:function(e,t,n){n("Ae16"),n("Sp2Z"),n("y4/Y")},zTMp:function(e,t,n){var r=n("bYtY"),i=n("Qxkt"),o=r.each,a=r.curry;function s(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(n,e,t),n.seriesInvolved&&u(n,e),n}function l(e,t,n){var r=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),s=i.get("link",!0)||[],l=[];o(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var u=m(n.model),h=e.coordSysAxesInfo[u]={};e.coordSysMap[u]=n;var f=n.model,p=f.getModel("tooltip",r);if(o(n.getAxes(),a(b,!1,null)),n.getTooltipAxes&&r&&p.get("show")){var A="axis"===p.get("trigger"),v="cross"===p.get("axisPointer.type"),y=n.getTooltipAxes(p.get("axisPointer.axis"));(A||v)&&o(y.baseAxes,a(b,!v||"cross",A)),v&&o(y.otherAxes,a(b,"cross",!1))}}function b(r,o,a){var u=a.model.getModel("axisPointer",i),f=u.get("show");if(f&&("auto"!==f||r||g(u))){null==o&&(o=u.get("triggerTooltip")),u=r?c(a,p,i,t,r,o):u;var A=u.get("snap"),v=m(a.model),y=o||A||"category"===a.type,b=e.axesInfo[v]={key:v,axis:a,coordSys:n,axisPointerModel:u,triggerTooltip:o,involveSeries:y,snap:A,useHandle:g(u),seriesModels:[]};h[v]=b,e.seriesInvolved|=y;var _=d(s,a);if(null!=_){var w=l[_]||(l[_]={axesInfo:{}});w.axesInfo[v]=b,w.mapper=s[_].mapper,b.linkGroup=w}}}}))}function c(e,t,n,a,s,l){var c=t.getModel("axisPointer"),u={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){u[e]=r.clone(c.get(e))})),u.snap="category"!==e.type&&!!l,"cross"===c.get("type")&&(u.type="line");var d=u.label||(u.label={});if(null==d.show&&(d.show=!1),"cross"===s){var h=c.get("label.show");if(d.show=null==h||h,!l){var f=u.lineStyle=c.get("crossStyle");f&&r.defaults(d,f.textStyle)}}return e.model.getModel("axisPointer",new i(u,n,a))}function u(e,t){t.eachSeries((function(t){var n=t.coordinateSystem,r=t.get("tooltip.trigger",!0),i=t.get("tooltip.show",!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==i&&!1!==t.get("axisPointer.show",!0)&&o(e.coordSysAxesInfo[m(n.model)],(function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}),this)}function d(e,t){for(var n=t.model,r=t.dim,i=0;i<e.length;i++){var o=e[i]||{};if(h(o[r+"AxisId"],n.id)||h(o[r+"AxisIndex"],n.componentIndex)||h(o[r+"AxisName"],n.name))return i}}function h(e,t){return"all"===e||r.isArray(e)&&r.indexOf(e,t)>=0||e===t}function f(e){var t=p(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=g(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),i.value=a,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function p(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[m(e)]}function A(e){var t=p(e);return t&&t.axisPointerModel}function g(e){return!!e.get("handle.show")}function m(e){return e.type+"||"+e.id}t.collect=s,t.fixValue=f,t.getAxisInfo=p,t.getAxisPointerModel=A,t.makeKey=m},zYTA:function(e,t,n){var r=n("bYtY"),i=256;function o(){var e=r.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}o.prototype={update:function(e,t,n,r,o,a){var s=this._getBrush(),l=this._getGradient(e,o,"inRange"),c=this._getGradient(e,o,"outOfRange"),u=this.pointSize+this.blurSize,d=this.canvas,h=d.getContext("2d"),f=e.length;d.width=t,d.height=n;for(var p=0;p<f;++p){var A=e[p],g=A[0],m=A[1],v=A[2],y=r(v);h.globalAlpha=y,h.drawImage(s,g-u,m-u)}if(!d.width||!d.height)return d;var b=h.getImageData(0,0,d.width,d.height),_=b.data,w=0,x=_.length,C=this.minOpacity,S=this.maxOpacity,k=S-C;while(w<x){y=_[w+3]/256;var E=4*Math.floor(y*(i-1));if(y>0){var O=a(y)?l:c;y>0&&(y=y*k+C),_[w++]=O[E],_[w++]=O[E+1],_[w++]=O[E+2],_[w++]=O[E+3]*y*256}else w+=4}return h.putImageData(b,0,0),d},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=r.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var i=e.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-t,t,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),e},_getGradient:function(e,t,n){for(var r=this._gradientPixels,i=r[n]||(r[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],a=0,s=0;s<256;s++)t[n](s/255,!0,o),i[a++]=o[0],i[a++]=o[1],i[a++]=o[2],i[a++]=o[3];return i}};var a=o;e.exports=a},zarK:function(e,t,n){var r=n("YH21"),i=r.addEventListener,o=r.removeEventListener,a=r.normalizeEvent,s=r.getNativeEvent,l=n("bYtY"),c=n("H6uX"),u=n("ItGF"),d=300,h=u.domSupported,f=function(){var e=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=l.map(e,(function(e){var t=e.replace("mouse","pointer");return n.hasOwnProperty(t)?t:e}));return{mouse:e,touch:t,pointer:r}}(),p={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function A(e){return"mousewheel"===e&&u.browser.firefox?"DOMMouseScroll":e}function g(e){var t=e.pointerType;return"pen"===t||"touch"===t}function m(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}function v(e){e&&(e.zrByTouch=!0)}function y(e,t){return a(e.dom,new _(e,t),!0)}function b(e,t){var n=t,r=!1;while(n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot))n=n.parentNode;return r}function _(e,t){this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}var w=_.prototype;w.stopPropagation=w.stopImmediatePropagation=w.preventDefault=l.noop;var x={mousedown:function(e){e=a(this.dom,e),this._mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=a(this.dom,e);var t=this._mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||B(this,!0),this.trigger("mousemove",e)},mouseup:function(e){e=a(this.dom,e),B(this,!1),this.trigger("mouseup",e)},mouseout:function(e){e=a(this.dom,e),this._pointerCapturing&&(e.zrEventControl="no_globalout");var t=e.toElement||e.relatedTarget;e.zrIsToLocalDOM=b(this,t),this.trigger("mouseout",e)},touchstart:function(e){e=a(this.dom,e),v(e),this._lastTouchMoment=new Date,this.handler.processGesture(e,"start"),x.mousemove.call(this,e),x.mousedown.call(this,e)},touchmove:function(e){e=a(this.dom,e),v(e),this.handler.processGesture(e,"change"),x.mousemove.call(this,e)},touchend:function(e){e=a(this.dom,e),v(e),this.handler.processGesture(e,"end"),x.mouseup.call(this,e),+new Date-this._lastTouchMoment<d&&x.click.call(this,e)},pointerdown:function(e){x.mousedown.call(this,e)},pointermove:function(e){g(e)||x.mousemove.call(this,e)},pointerup:function(e){x.mouseup.call(this,e)},pointerout:function(e){g(e)||x.mouseout.call(this,e)}};l.each(["click","mousewheel","dblclick","contextmenu"],(function(e){x[e]=function(t){t=a(this.dom,t),this.trigger(e,t)}}));var C={pointermove:function(e){g(e)||C.mousemove.call(this,e)},pointerup:function(e){C.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this._pointerCapturing;B(this,!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function S(e,t){var n=t.domHandlers;u.pointerEventsSupported?l.each(f.pointer,(function(r){E(t,r,(function(t){n[r].call(e,t)}))})):(u.touchEventsSupported&&l.each(f.touch,(function(r){E(t,r,(function(i){n[r].call(e,i),m(t)}))})),l.each(f.mouse,(function(r){E(t,r,(function(i){i=s(i),t.touching||n[r].call(e,i)}))})))}function k(e,t){function n(n){function r(r){r=s(r),b(e,r.target)||(r=y(e,r),t.domHandlers[n].call(e,r))}E(t,n,r,{capture:!0})}u.pointerEventsSupported?l.each(p.pointer,n):u.touchEventsSupported||l.each(p.mouse,n)}function E(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,i(e.domTarget,A(t),n,r)}function O(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&o(e.domTarget,A(n),t[n],e.listenerOpts[n]);e.mounted={}}function B(e,t){if(e._mayPointerCapture=null,h&&e._pointerCapturing^t){e._pointerCapturing=t;var n=e._globalHandlerScope;t?k(e,n):O(n)}}function M(e,t){this.domTarget=e,this.domHandlers=t,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function T(e,t){c.call(this),this.dom=e,this.painterRoot=t,this._localHandlerScope=new M(e,x),h&&(this._globalHandlerScope=new M(document,C)),this._pointerCapturing=!1,this._mayPointerCapture=null,S(this,this._localHandlerScope)}var I=T.prototype;I.dispose=function(){O(this._localHandlerScope),h&&O(this._globalHandlerScope)},I.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},l.mixin(T,c);var L=T;e.exports=L},zdCA:function(e,t,n){"use strict";var r=n("TqRt"),i=n("cDf5");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("3tO9")),a=u(n("q1tI")),s=r(n("PSzr")),l=r(n("KQxl"));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var d=function(e,t){return a.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:s.default}))};d.displayName="BarsOutlined";var h=a.forwardRef(d);t.default=h},zeV3:function(e,t,n){"use strict";var r=n("pVnL"),i=n.n(r),o=n("lSNA"),a=n.n(o),s=n("q1tI"),l=n("TSYQ"),c=n.n(l),u=n("H84U"),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},h={small:8,middle:16,large:24},f=function(e){var t,n=s["useContext"](u["b"]),r=n.getPrefixCls,o=n.space,l=n.direction,f=e.size,p=void 0===f?(null===o||void 0===o?void 0:o.size)||"small":f,A=e.align,g=e.className,m=e.children,v=e.direction,y=void 0===v?"horizontal":v,b=e.prefixCls,_=d(e,["size","align","className","children","direction","prefixCls"]),w=s["Children"].count(m);if(0===w)return null;var x=void 0===A&&"horizontal"===y?"center":A,C=r("space",b),S=c()(C,"".concat(C,"-").concat(y),(t={},a()(t,"".concat(C,"-rtl"),"rtl"===l),a()(t,"".concat(C,"-align-").concat(x),x),t),g),k="".concat(C,"-item"),E="rtl"===l?"marginLeft":"marginRight";return s["createElement"]("div",i()({className:S},_),s["Children"].map(m,(function(e,t){return s["createElement"]("div",{className:k,key:"".concat(k,"-").concat(t),style:t===w-1||null===e||void 0===e?{}:a()({},"vertical"===y?"marginBottom":E,"string"===typeof p?h[p]:p)},e)})))};t["a"]=f},zoYe:function(e,t,n){var r=n("nmnc"),i=n("eUgh"),o=n("Z0cm"),a=n("/9aa"),s=1/0,l=r?r.prototype:void 0,c=l?l.toString:void 0;function u(e){if("string"==typeof e)return e;if(o(e))return i(e,u)+"";if(a(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}e.exports=u},zuHt:function(e,t,n){var r=n("bYtY");function i(e){var t={};e.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!t[i]){var o={};r.each(n.seriesGroup,(function(t){var n=t.coordinateSystem,r=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&r.each(r.mapDimension("value"),(function(e,t){var i=r.getName(t),a=n.getRegion(i);if(a&&!isNaN(e)){var s=o[i]||0,l=n.dataToPoint(a.center);o[i]=s+1,r.setItemLayout(t,{point:l,offset:s})}}))}));var a=n.getData();a.each((function(e){var t=a.getName(e),n=a.getItemLayout(e)||{};n.showLabel=!o[t],a.setItemLayout(e,n)})),t[i]=!0}}))}e.exports=i}}]); |